Commit graph

523 commits

Author SHA1 Message Date
Christian Dywan
1515b1e8d9 Only show one empty speed dial shortcut at the end
And discard invalid groups automatically.
2011-11-18 22:34:56 +01:00
Christian Dywan
e0168e5a94 Undo "Don't show empty speed dial shortcuts in-between"
This needs more work. The way it is, dial count is broken.
2011-11-18 21:21:50 +01:00
Christian Dywan
4c2fd067ff Midori.URI.parse_hostname clearer semantics and tests 2011-11-18 01:44:48 +01:00
Christian Dywan
524a4bb0a7 Fix compilation broken by wrong speed dial change 2011-11-15 22:42:03 +01:00
Christian Dywan
8ecfdd701e Don't show empty speed dial shortcuts in-between
It is confusing a lot of users.
2011-11-15 21:13:49 +01:00
Christian Dywan
52ae8c90e8 Define navigator.javaEnabled and .mimeTypes
In private browsing 'navigator' is overridden.
2011-11-15 18:34:19 +01:00
Peter Hatina
9572ff99cc Hide all bars in fullscreen and a menu to Unfullscreen
Fixes: https://bugs.launchpad.net/midori/+bug/783675
2011-11-11 01:22:15 +01:00
Christian Dywan
a762ba5a16 Only look for missing speed dial thumbs in the first pass
Otherwise updating after loading a thumb may trigger an
infinite loop by looking for the very same thumb again.
2011-11-10 23:17:18 +01:00
Paweł Forysiuk
db51b7d575 Center speed dial via percentual margin 2011-11-10 22:24:21 +01:00
Christian Dywan
6f6a57a623 Undo "Don't queue thumbs already waiting, 5 seconds timeout"
For now the behavior isn't reliable enough and should
be investigated more.
2011-11-10 19:45:23 +01:00
Christian Dywan
eed822dc8b Add gtk_image_menu_item_set_always_show_image to gtk3-compat.h 2011-11-08 22:42:02 +01:00
Christian Dywan
0c611f8d6a Move link fingers to Midori.URI and add tests 2011-11-08 00:28:07 +01:00
Christian Dywan
90410efa5d Render home in command line as ~ in about:version 2011-11-01 00:29:31 +01:00
Christian Dywan
686fee50b7 Colons after each video format in about:version 2011-11-01 00:28:41 +01:00
Christian Dywan
8fff7d8fd3 sokoke, gtk3-compat, gtkiconentry, stock join midori-platform.h
Also introduce #define MIDORI_MODULE_PREFIX.

Fixes: https://bugs.launchpad.net/midori/+bug/884395
2011-10-31 22:18:06 +01:00
Christian Dywan
42c1b70c7d unique, notify, and system details in about:version
Introduce midori_web_settings_get_system_name helper.

Add version numbers for libunique and libnotify if available.

Show platform and architecture if possible.

Merge debug string into the full version number.

Render video formats as a one-liner.
2011-10-31 04:01:41 +01:00
Christian Dywan
55227d2a3b Don't queue thumbs already waiting, 5 seconds timeout 2011-10-31 04:01:41 +01:00
Christian Dywan
0c69e6ff64 Define MidoriLoadStatus as alias to WebKitLoadStatus 2011-10-30 14:29:04 +01:00
Christian Dywan
6bb66ed111 Queue thumbnails for speed dial, and load if missing 2011-10-29 03:33:43 +02:00
Christian Dywan
a25c34e280 Support res directly in sokoke_find_data_filename
One allocation less each time, less fragmentation.
2011-10-29 01:16:08 +02:00
Christian Dywan
cd8cb11ea2 Check that selection range count is not 0
Fixes: https://bugs.launchpad.net/midori/+bug/883157
2011-10-28 23:14:25 +02:00
Christian Dywan
be04be8303 Introduce and use Midori.URI.is_http
Also make further uses of Midori.URI.parse.
2011-10-28 22:49:10 +02:00
Paweł Forysiuk
948301f086 NULL-check new speed dial titles to avoid "(null)" 2011-10-27 23:20:10 +02:00
Paweł Forysiuk
6f41311242 No need to handle thumb size when saving speed dial 2011-10-27 20:12:45 +02:00
Paweł Forysiuk
3c116eab7e Use versioned speed dial template filename 2011-10-25 01:22:30 +02:00
Christian Dywan
990b6b77bd Look for localized "next page" link and unify code 2011-10-25 01:22:29 +02:00
Christian Dywan
b360541552 Use CSS style fixup to tweak tab size with GTK+ 3
For consistency, an analogous GtkRc snippet is used with GTK+ 2.

Based on a patch by Lucas Baudin.

Fixes: https://bugs.launchpad.net/midori/+bug/871085
2011-10-21 02:44:01 +02:00
Christian Dywan
77428fe44c Introduce Midori.URI to unitfy all URI logic
sokoke_hostname_from_uri, sokoke_search_uri,
sokoke_hostname_to_ascii and sokoke_unescape_uri_string
are merged into Midori.URI.
midori-core.h is the official API header for Vala now.
2011-10-21 01:00:13 +02:00
Paweł Forysiuk
a12a8e26d6 Re-add enter_shortcut_name placeholder in speeddial-head.html
It is used in renaming dialog
2011-10-20 19:14:27 +02:00
Christian Dywan
30f4225cd9 Work-around libSoup not setting a proper directory title
Fixes: https://bugs.launchpad.net/midori/+bug/872123
2011-10-19 09:26:58 +02:00
Christian Dywan
2bb7fe3c2d Rework --run feature based on a hidden browser
Scripts can use console.info to print and create new
windows to have a UI or open websites.

Internal "pass-through-console" is introduced to print
all messages to the console.

Fixes: https://bugs.launchpad.net/midori/+bug/875318
2011-10-19 09:15:47 +02:00
Paweł Forysiuk
7b4f2254ff No need to check for rows and columns in speed dial now 2011-10-17 02:47:56 +02:00
Christian Dywan
756830f6e4 Require libSoup 2.27.90 and drop libidn 2011-10-17 02:47:55 +02:00
Christian Dywan
edb01a11f6 Speed dial should honor close-buttons-left value 2011-10-13 18:31:50 +02:00
Christian Dywan
2f40eee0a5 Only show close in speed dial if it can be saved
And un-negate return value of sokoke_is_app_or_private().
2011-10-11 02:48:47 +02:00
Christian Dywan
7bd92bc67c Set speed dial shortcut title without asking 2011-10-11 01:53:12 +02:00
Paweł Forysiuk
a5ea7607d4 Properly position speed dial close and show on hover 2011-10-11 01:52:39 +02:00
Christian Dywan
be6d6932f8 Avoid allocating empty mime_type and news_feeds 2011-10-10 21:58:19 +02:00
Christian Dywan
d013cc85a9 Use goto to not leak parts in midori_view_update_icon 2011-10-10 21:55:12 +02:00
Paweł Forysiuk
5eb5663cf6 Implement embossed speed dial with custom close buttons
The close button position is wrong.
2011-10-10 01:38:39 +02:00
Christian Dywan
73354dbbab Use GtkOffscreenWindow for speed dial thumbnails
Fixes: https://bugs.launchpad.net/midori/+bug/736427
2011-10-09 14:31:27 +02:00
Paweł Forysiuk
76a9bc38ff Introduce and use midori_view_save_speed_dial_config 2011-10-07 21:07:21 +02:00
Lucas Baudin
b5aad2d176 Allow building with GTK+3
Fixes: https://bugs.launchpad.net/midori/+bug/861351
2011-10-07 20:24:02 +02:00
Lucas Baudin
b46db9b170 Use DOM API to get selected text in WebKitGTK+ 1.4.3
Related to https://bugs.launchpad.net/midori/+bug/799603
2011-10-05 20:51:18 +02:00
Christian Dywan
76a8f160f2 Close inspector with Ctrl+W just like a tab
Fixes: https://bugs.launchpad.net/midori/+bug/797865
2011-09-28 18:01:51 +02:00
Christian Dywan
b8c707f1cb Fix bogus semicolon in midori_view_set_uri 2011-09-22 00:27:55 +02:00
Christian Dywan
648d869e4f Use DOM API to get selected text in WebKitGTK+ 1.5.1
Fixes: https://bugs.launchpad.net/midori/+bug/799603
2011-09-21 23:50:51 +02:00
Christian Dywan
bac3dc1842 Introduce MIDORI_EVENT_CONTEXT_MENU in midori-platform.h
The new header contains all state and event handling.
2011-09-21 23:04:20 +02:00
Paweł Forysiuk
c1321b0072 Remove spurious slot_id variable fom prepare_speed_dial_html 2011-09-14 01:39:14 +02:00
Christian Dywan
a51f70e33a Repack the alignment of the tab close button
Fixes: https://bugs.launchpad.net/midori/+bug/827089
2011-08-18 18:08:24 +02:00