Commit graph

1784 commits

Author SHA1 Message Date
Alexander Butenko
09d9615964 Refresh bookmark sidebar on new items 2010-06-17 00:02:10 +02:00
Alexander Butenko
954939fdd1 Use extra attributes of a bookmark 2010-06-16 23:30:56 +02:00
Alexander Butenko
5af37f6c92 Fix edit/ delete/ new operations on bookmarks 2010-06-16 23:27:59 +02:00
Alexander Butenko
6f415c4e6e Import bookmarks from bookmarks.xbel on the first start.
The bookmark handling in main is not needed any more.
2010-06-16 23:17:51 +02:00
Alexander Butenko
87ac3ae563 Initial sqlite read support
We go back to GtkTreeStore rather than a custom class.
2010-06-16 20:55:37 +02:00
Christian Dywan
1676fcc217 Confirm before overwriting in Save As dialogue 2010-06-11 22:52:51 +02:00
Christian Dywan
61add83eeb Iterate links and anchors for next/ previous labels 2010-06-11 21:36:18 +02:00
Christian Dywan
61c5514c1c Remove toolbar menu items from the compact menu 2010-06-10 17:54:44 +02:00
Christian Dywan
ff6fec6367 Use g_file_set_contents to save 'config' with a temporary file
If the filesystem runs out of space and Midori tries to save
the 'config' file under that condition, the file is lost. To
avoid that, we use g_file_set_contents which writes a temporary
file first, at the cost of destroying symbolic links.
2010-06-10 17:54:44 +02:00
Christian Dywan
fd2e0b7aed Implement MIDORI_UNARMED variable for 'dry run' 2010-06-07 22:01:41 +02:00
Christian Dywan
4aebdad671 Enable encoding action at compilation time 2010-06-07 22:01:41 +02:00
Christian Dywan
dcf1bb5356 Always add blank pages without delay 2010-06-06 23:52:55 +02:00
Christian Dywan
997d8df49c Ensure the web view of the thumb view is realized 2010-06-05 00:50:06 +02:00
Christian Dywan
57b05a458e Replace {enter_dial_size}, not {enter_dial_width} 2010-06-03 22:21:55 +02:00
Peter de Ridder
4422f640cb Combined speed dial resize and thumbnail sizes 2010-06-02 02:09:43 +02:00
Christian Dywan
fa4de7b723 Connect view *after* mime-policy-decision-requested
In order to allow extensions to override the MIME handling,
we need to be late in the order.
2010-06-01 22:19:11 +02:00
Tsahee Zidenberg
ea7e627e3b Implement loading delayed pages at startup
Each view has a meta value 'delay' which indicates whether it be
loaded or needs to be loaded manually before it shows content.

One way to trigger this is that Midori crashes and if it is
configured to 'Show last open tabs', all tabs will now be
delayed. To allow Midori to safely open without crashing again.

The other way is to change the 'Load on Startup' preference to
'Show last tabs without loading'. This causes all tabs restored
from the session to be delayed.

One interesting aspect is that it is possible to have delayed
tabs, use 'Show last open tabs' and tabs will remain as they are,
so delayed tabs will be delayed over following sessions.
2010-06-01 00:12:30 +02:00
Christian Dywan
c2be3d67cf Recognize more characters as next page and be more tolerant 2010-05-26 22:48:33 +02:00
Christian Dywan
dc047272d7 Always bring the inspector window in the foreground 2010-05-25 22:24:41 +02:00
Christian Dywan
c571a6394f Don't pass around KatzeNet instances anymore
The KatzeNet is always a singleton, no need to pass it around.
2010-05-25 19:03:01 +02:00
Christian Dywan
59926ad492 Verbosely explain how to use news feed URI 2010-05-25 18:32:56 +02:00
Christian Dywan
8cb761239f Show dialog if quitting while files are being downloaded 2010-05-23 01:09:40 +02:00
Christian Dywan
6c4d94942f Render stock:// as pixbufs and pass as data URIs
Stock icons do not match filenames in many icon themes and the
appropriate sizes may not be available. Thus we now always
render the icon through the theme engine and encode it as a
data URI with BASE64/ PNG.

As a side effect, we use stock sizes now instead of pixel sizes,
where 1 means menu size, 4 means button size and 6 dialog size;
the value 16 is translated to 4 to keep existing files working.
2010-05-21 02:23:15 +02:00
Christian Dywan
62cafb87b2 Deprecate midori_viewable_new_from_uri and _register_protocol
These facilities haven't been used and likely won't be.
2010-05-21 01:07:25 +02:00
André Stösel
7753db46e0 Pass the frame to midori_view_load_alternate_string
The frame where an error occurs may not be the main frame, and
coincidentally there is a race condition where the main frame
isn't valid, so this actually reolves a crash.
2010-05-20 23:21:55 +02:00
Peter de Ridder
84d4865e22 Allow custom shortcut and column count in speed dial 2010-05-19 00:58:03 +02:00
Christian Dywan
01548549a8 Rename midori_browser_get/set_current_tab to get/set_tab 2010-05-19 00:18:31 +02:00
Christian Dywan
a69ba674b1 Add 'Add to Speed Dial' button to 'Add bookmark' 2010-05-19 00:18:31 +02:00
Peter de Ridder
486ebfb930 Check user data dir first for resource files 2010-05-16 17:57:41 +02:00
Christian Dywan
be0fe03eee Refactor error display into midori_view_display_error
Further more midori_view_load_alternate_string now abstracts the
different ways to load data in different WebKitGTK+ versions.
2010-05-16 02:02:09 +02:00
Christian Dywan
dfddd7ce0a Leave panel icon styles to the system settings 2010-05-13 16:53:19 +02:00
Christian Dywan
9241afa0db Implement FTP support in External Applications
For the moment 'gftp' is hardcoded for ftp://.
2010-05-13 01:06:58 +02:00
Christian Dywan
969c225c3b Add Midori.View to midori.vala description 2010-05-12 23:52:39 +02:00
Christian Dywan
4027fdfcd4 Use grouped bit fields in MidoriWebSettings
One settings instance needs only about half the memory
when using bit fields with exact sizes.
2010-05-12 23:37:26 +02:00
Christian Dywan
d522efa23c Hide the tab label properly if it's minimized initially 2010-05-09 00:30:24 +02:00
Christian Dywan
3b9a4a5705 Hide the tab label if it's minimized at creation 2010-05-09 00:27:02 +02:00
Christian Dywan
6442b34b89 Use the basename of the suggested download name
Sometimes the suggested name contains a folder name.
2010-05-09 00:25:22 +02:00
Christian Dywan
cd54d23dbe Take care to avoid overwriting files accidentally
When a file needs to be saved in a specific location, ask
whether to overwrite or not. And if a file is saved
implicitly, append a number if the filename exists.
2010-05-08 03:38:07 +02:00
Christian Dywan
743b264a72 Rework rendering of raw XML as source
We need to be stricter with what counts as raw XML, for instance
not SVG images. And we shouldn't break explicit source view.
2010-05-07 20:31:41 +02:00
Christian Dywan
fb72bcfeae Unify content type/ MIME type handling and plug leak 2010-05-07 20:17:53 +02:00
Christian Dywan
affde90e2c Consistently focus the view, which propagates
Rather than trying to determine and focus the web view
from different places, the parent view should simply
propagate focus by default. The child needs to be
constructed implicitly if focus comes in early.
2010-05-06 22:49:47 +02:00
Christian Dywan
4b94b63f70 Base KatzeThrobber on GtkSpinner if available 2010-05-02 16:11:18 +02:00
Christian Dywan
001d9e463a Rely on WebKitWebView::icon-uri for icon discovery 2010-05-02 12:19:37 +02:00
Arno Renevier
7c0e58a835 Refactor userscripts and userstyles as an extension 2010-05-02 11:53:05 +02:00
Christian Dywan
f24bc315e2 Update FAQ link used for Help > Frequent Questions 2010-05-01 03:12:03 +02:00
Christian Dywan
e7f04272cd Check free space before trying to download 2010-04-30 23:52:33 +02:00
Christian Dywan
efa81643c5 Expose midori_view_populate_popup for use in extensions 2010-04-29 02:19:20 +02:00
Christian Dywan
a25e4c5f0a Add gtk_widget_get_window and fix gtk_dialog_get_content_area 2010-04-28 23:57:22 +02:00
Christian Dywan
7a7f4c6a44 Provide midori.vapi for App, Browser, Extension and WebSettings
With this API description extensions can be written in Vala. Mind
it is not complete yet, missing interfaces can be added later.
2010-04-27 23:49:45 +02:00
Christian Dywan
4576360ec3 Implement midori_browser_get_settings in MidoriBrowser 2010-04-27 23:36:14 +02:00