Commit graph

2337 commits

Author SHA1 Message Date
Christian Dywan
4c4c849441 Show at most 10 back/ forward history items
Consistent with trash.
2012-03-31 02:50:51 +02:00
André Stösel
a6f9bea939 Typo: Instead of the array each item should be checked 2012-03-31 02:48:01 +02:00
André Stösel
ebf2c2d1d9 Allow more than one extenstion for each module 2012-03-27 00:54:48 +02:00
Christian Dywan
19f6fefe9b Introduce midori_view_get_for_widget
Analogous to midori_browser_get_for_widget.
2012-03-25 19:35:58 +02:00
André Stösel
f7d85602f8 Due to GtkOverlay there's another parent widget 2012-03-25 18:39:32 +02:00
Christian Dywan
5cb1c04481 Allow relative -c/ --config path
Fixes: https://bugs.launchpad.net/midori/+bug/962713
2012-03-25 18:10:26 +02:00
Olivier Duchateau
7789bafc68 Implement low_memory_profile for FreeBSD
Fixes: https://bugs.launchpad.net/midori/+bug/963833
2012-03-25 18:10:26 +02:00
Paweł Forysiuk
76be3b9aea Check stricly for relative path in midori_prepare_uri
Fixes: https://bugs.launchpad.net/midori/+bug/963899
2012-03-25 18:10:26 +02:00
André Stösel
a695a91410 Ctrl + middle click is handled twice
Ctrl middle click set the zoom level to 0 but it is supposed to open
a link (selected text) in a new tab, too
If a link is selected it should open and otherwise set the zoom level to 1.0.
So if you click on a link with Ctrl + middle click
you get a new tab and your zoom isn't changed.
2012-03-22 22:18:47 +01:00
Peter Hatina
357187e264 Context menus on Back and Forward toolbar items
Fixes: https://bugs.launchpad.net/midori/+bug/699991
2012-03-22 22:10:17 +01:00
André Stösel
90eaea3dca Double-check that view->selected_text is set
Sometimes view->selected_text isn't set even if
context has WEBKIT_HIT_TEST_RESULT_CONTEXT_SELECTION
2012-03-22 21:29:52 +01:00
Christian Dywan
532335702a Always show the tabbar by default 2012-03-22 21:27:52 +01:00
Christian Dywan
ae7a09a087 Try to use ubuntu-bug if it exists 2012-03-22 21:26:49 +01:00
Christian Dywan
70a894a9fc Toggle sensitivity of Add Speed Dial/ Bookmark button
Rather than visibility.

Fixes: https://bugs.launchpad.net/midori/+bug/957382
2012-03-19 19:38:15 +01:00
André Stösel
0b16c9c95c Use original event to determine midori tab mod
Cast from GdkEventKey* to GdkEventKey* doesn't always work out
2012-03-19 19:16:30 +01:00
Christian Dywan
d98edca5f2 Fix one more missing check in midori_view_save_source 2012-03-19 19:09:32 +01:00
Christian Dywan
edc88b7b47 Fix MidoriView.download_requested signal in vapi 2012-03-19 19:08:11 +01:00
Christian Dywan
5aa526d106 Show app instance name in about:version 2012-03-18 14:14:09 +01:00
Christian Dywan
e75b814432 Show inline find while typing in an overlay 2012-03-18 14:06:13 +01:00
Christian Dywan
f3af1983ed Don't modify const gchar* in midori_view_get_uri_extension
Fixes: https://bugs.launchpad.net/midori/+bug/957678
2012-03-18 09:32:32 +01:00
Christian Dywan
a3d8a5aa94 midori_view_save_source needs to handle data == NULL
Fixes: https://bugs.launchpad.net/midori/+bug/957674
2012-03-18 09:32:32 +01:00
André Stösel
ee8824b93b Show statusbar text in overlay instead of urlbar
If the statusbar is hidden in GTK+ 3.2 or newer the
text appears in an overlay on the view.
midori_view_set_overlay_text sets the overlay label.
2012-03-18 09:32:32 +01:00
André Stösel
d93c96daf3 added signal "download_requested" to the vapi 2012-03-15 23:40:46 +01:00
André Stösel
f4697742af connect download request handler in the "signal-after" slot 2012-03-15 23:40:30 +01:00
Christian Dywan
2fa5059cc4 Render bookmark dialog as a pop-over on buttons 2012-03-15 19:57:57 +01:00
Lucas Baudin
9f6c4d3e03 Initial Granite.Widgets.DynamicNotebook support
The always-show-tabbar is ineffective if we have Granite
and 'Add Tab' won't appear in the toobar.

Modified patched.
2012-03-14 21:48:37 +01:00
Christian Dywan
09c041f740 Optionally use Granite and show in about:version
See bzr branch lp:granite

See: https://bugs.launchpad.net/midori/+bug/898497
2012-03-14 21:02:16 +01:00
Christian Dywan
48368e9951 Add and use midori_browser_(page_num/n_pages) API
To hide the GtkNotebook as an implementation detail.
2012-03-14 21:02:16 +01:00
Christian Dywan
5aebcd7b30 Ctrl+j to toggle statusbar aka downloads
This is the same as downloads in Firefox.
2012-03-14 00:29:34 +01:00
Christian Dywan
d94da1f69d Show at most 3 search engines in completion
If that's not enough, 'Search With...' appears.
2012-03-14 00:24:42 +01:00
Christian Dywan
2612267e4d Speed Dial shouldn't be bookmarkable
Fixes: https://bugs.launchpad.net/midori/+bug/954298
2012-03-13 22:33:47 +01:00
Paweł Forysiuk
1edfd88d2f Implement low_memory_profile for Win32 2012-03-13 20:04:46 +01:00
Christian Dywan
ecbc8d0772 Recognize open search description links 2012-03-13 20:04:46 +01:00
Christian Dywan
5e2b7fdca7 Always use var in javascript for loops
Otherwise it may re-use global functions.
2012-03-11 22:29:41 +01:00
Christian Dywan
c6bdd62f67 Correctly skip link items if there is no |
Parsing will still ignore items containing a , anywhere.
2012-03-11 21:38:02 +01:00
André Stösel
85c2f4a8e1 Handle download request in frames 2012-03-09 01:28:27 +01:00
Christian Dywan
8c8f985a5c Disable page cache with < 352 MB RAM 2012-03-08 23:33:04 +01:00
Christian Dywan
8b78ae5491 Split clearing of page icons from cache again
We need to re-visit this with an idea to preserve icons
from search engines or otherwise being in use.
2012-03-08 22:20:05 +01:00
Christian Dywan
7940a02ae8 Don't re-add toplevel items in recursive item query 2012-03-08 22:20:04 +01:00
Christian Dywan
323177c429 Realize completion treeview early for the style
Fixes: https://bugs.launchpad.net/midori/+bug/947635
2012-03-08 01:10:54 +01:00
Christian Dywan
f9aa8aed9c Fix browser notebook callback naming 2012-03-08 01:10:54 +01:00
Christian Dywan
6e6faabad9 midori_browser_notify_new_tab_timeout_cb must be boolean 2012-03-08 01:10:54 +01:00
Christian Dywan
6c57f7db42 Guard transferbar packing against GTK+3 2012-03-08 01:10:54 +01:00
Christian Dywan
537d002a6f Unify file handling in midori_prepare_uri and magic_uri 2012-03-08 01:10:54 +01:00
André Stösel
2837494ade Display file name in download dialog 2012-03-06 21:39:29 +01:00
Christian Dywan
1e7ee7db5c Don't change window icon in _midori_browser_set_statusbar_text 2012-03-06 20:07:30 +01:00
Christian Dywan
4f180216a1 Fix declaration and deprecation warnings 2012-03-06 01:12:20 +01:00
Christian Dywan
bf07220bc3 midori_browser_notebook_resize must consider n = 7 2012-03-05 22:34:46 +01:00
Christian Dywan
ba51341786 Reverse packing of transferbar into statusbar 2012-03-05 22:34:46 +01:00
Christian Dywan
4beffc57e9 Avoid string copies in webkit_web_view_load_finished_cb 2012-03-05 22:34:46 +01:00
Christian Dywan
2bc867054a Enable experimental fullscreen API if available
Such as used by YouTube and other sites for HTML5 video.
2012-03-05 22:34:46 +01:00
Christian Dywan
7361a80e24 Tweak is_ip_address and add IPv6 test cases
Stop wrongly mistaking foo::bar for IPv6.
2012-02-29 23:17:02 +01:00
Christian Dywan
7e61fce9ca katze_array_find_token may yield token without keywords
Also adapt the magic uri test.
2012-02-29 22:58:16 +01:00
Christian Dywan
079403a806 Free hostname in midori_web_settings_get_site_data_policy 2012-02-28 23:54:52 +01:00
Christian Dywan
70b85bf600 Skip site data rule policy check on empty rules 2012-02-28 23:51:31 +01:00
Christian Dywan
61af413407 Ensure we have a window in _action_reload_stop_activate 2012-02-26 00:03:15 +01:00
Christian Dywan
7c7be5644d Honor site data policy when requesting HTML5 databases
See: https://bugs.launchpad.net/midori/+bug/767442
2012-02-26 00:03:15 +01:00
Christian Dywan
6fd666aa9f Honor site data policy when clearing web cookies 2012-02-26 00:03:15 +01:00
Christian Dywan
4c142e7688 Implement basic site data policy and unit tests
See: https://bugs.launchpad.net/midori/+bug/836729
2012-02-26 00:03:14 +01:00
Christian Dywan
307c79274d Replace libunique/ hildon line with single instance
Only one can be used at any one time.
2012-02-26 00:03:14 +01:00
Tomasz Szatkowski
127595f527 Close tabs by middle clicking on close button
Fixes: https://bugs.launchpad.net/midori/+bug/936317
2012-02-25 03:03:58 +01:00
Christian Dywan
1488301535 Spacing and use ascii checkmarks for codecs in about: 2012-02-25 02:42:50 +01:00
Christian Dywan
18b6b48ef5 Abstract availability of Netscape plugin support
Disable if MOZ_PLUGIN_PATH is / or MIDORI_UNARMED.
2012-02-25 02:06:46 +01:00
Christian Dywan
9275a6cd24 Handle Flash cookies on Windows and OS X 2012-02-25 00:52:55 +01:00
Christian Dywan
569b8e4779 Merge cookies, other data and caches in Clear Private Data 2012-02-25 00:52:55 +01:00
Christian Dywan
77d095f6ef Versioned prgname to override menuproxy blacklist
Fixes: https://bugs.launchpad.net/midori/+bug/874334
2012-02-23 01:09:59 +01:00
Christian Dywan
bcc6711f27 Use updated, unique arrays for Bookmarks and Tools 2012-02-22 22:00:23 +01:00
Christian Dywan
5c0255f7cb Make the browser aware of native menubars
Most notably a native menubar can't be hidden.
2012-02-21 21:52:30 +01:00
Christian Dywan
ffb86ce7ff Use GDateTime instead of GDate if available
GDate depends on broken msvcrt code.
2012-02-21 21:47:07 +01:00
Christian Dywan
79b29a9362 Avoid string split in midori_location_action_popup_timeout_cb 2012-02-20 21:58:03 +01:00
Christian Dywan
f3a4bd4b6a Show description or URI below search suggestions
In fact, laying out the completion popup is problematic
if we have rows of different heights.
2012-02-20 21:56:06 +01:00
Christian Dywan
a064a5f120 Make sure completion window is not user-resizable
Otherwise window managers may ignore programmatic
resizing entirely.
2012-02-20 21:54:26 +01:00
Christian Dywan
8960da4c2f Revamp completion popup positioning 2012-02-20 21:53:10 +01:00
Christian Dywan
5643728994 Fix warnings in midori_location_action_set_security_hint 2012-02-19 22:58:54 +01:00
Christian Dywan
b20a1e7efd Pick fallback extension based on MIME type 2012-02-19 22:57:45 +01:00
Christian Dywan
f549824b66 Move data source saving into MidoriView 2012-02-19 22:43:38 +01:00
Christian Dywan
bbbfa0d677 Consider focus when toggling clear button
Fixes: https://bugs.launchpad.net/midori/+bug/934083
2012-02-19 21:53:58 +01:00
Christian Dywan
d2fe0791e1 Drop OpenSSL support from socket code 2012-02-19 20:21:37 +01:00
Christian Dywan
d2aa1919aa Move the right window after dragging a tab out
Fixes: https://bugs.launchpad.net/midori/+bug/931294
2012-02-19 17:59:54 +01:00
Vincent Cappe
62f0ef746c When removing bookmarks, folder must not be NULL
If folder is NULL, we end up with "(NULL)" in sqlite.

Modified patch to use katze_str_non_null.

Fixes: https://bugs.launchpad.net/midori/+bug/926914
2012-02-19 17:52:14 +01:00
Alexander Butenko
69c319d62a Sqlite pragma tuning for formhistory and history 2012-02-19 17:52:12 +01:00
Christian Dywan
94236e1a9f Pass URI in _action_private_browsing_activate
We need to, to avoid using GIO-based launching which
would mixup the arguments.
2012-02-14 00:24:22 +01:00
Christian Dywan
cc7cf39150 Unify getting an image for an item 2012-02-14 00:24:22 +01:00
Christian Dywan
8b766ca2a8 Ensure consistent fallback for no MIME type 2012-02-11 04:55:36 +01:00
Christian Dywan
15fd840a9d Split midori_view_unset_icon from _update_icon 2012-02-11 04:27:57 +01:00
Alexander Butenko
01f6279a92 Load icons without indirection and no extra passes 2012-02-11 01:33:46 +01:00
Christian Dywan
5bb1c5025f Avoid allocations in _action_location_submit_uri
Skip whitespace without changing the string.

And take advantage of the fact that _find_token now
can deal with a complete URI.
2012-02-10 23:31:42 +01:00
Christian Dywan
9c323ff149 Only use _action_copy_activate work-around < 1.4.3 2012-02-10 23:31:42 +01:00
Christian Dywan
f0c4b3d538 Return saved boolean from button_press in button_release
It may or may not happen that WebKit reacts on clicks
regardless of the boolean returned in button_press, as
a work-around button_release returns the same value now.

Fixes: https://bugs.launchpad.net/midori/+bug/707024
2012-01-29 19:14:24 +01:00
Christian Dywan
fe1b21a73f Re-order about:private, no title case, no URI 2012-01-27 23:08:42 +01:00
Christian Dywan
ce527689c6 Split about.css from error.html for about:private 2012-01-27 23:06:37 +01:00
Christian Dywan
f1e168b569 Implement informative text for private browsing
Internally about:private is shown when private browsing
is invoked without any URLs.

Fixes: https://bugs.launchpad.net/midori/+bug/768572
2012-01-27 21:42:04 +01:00
Christian Dywan
32eb583cb5 Also reset icon when resetting location 2012-01-27 21:13:45 +01:00
Christian Dywan
3f8784213d Consistently use internal action toggling 2012-01-24 23:57:41 +01:00
Christian Dywan
e4475b4c49 midori_location_action_set_icon_for_uri is unneeded 2012-01-24 23:57:40 +01:00
Christian Dywan
3464afd167 Get rid of the unused accel group in the app 2012-01-24 23:57:40 +01:00
Christian Dywan
ab720a177d Consistently use public API to activate actions 2012-01-24 23:57:40 +01:00
Christian Dywan
fb44d46db0 Handle window icon inside MidoriBrowser
Fixes: https://bugs.launchpad.net/midori/+bug/918567
2012-01-24 23:57:40 +01:00
Christian Dywan
41a0ab4bc7 Add missing > when generating about:widgets 2012-01-19 01:39:38 +01:00
Peter Hatina
c0e0bee467 Implement sokoke_entry_set_clear_button_visible
Fixes: https://bugs.launchpad.net/midori/+bug/699954
2012-01-14 00:34:11 +01:00