Commit graph

555 commits

Author SHA1 Message Date
Christian Dywan 85153f3b49 Rewrite Midori.PanedAction in Vala
Also fix errors in the build.
2012-05-27 15:08:23 +02:00
Paweł Forysiuk b854931cfc Also list non-existant system addon folders 2012-05-23 00:32:40 +02:00
Paweł Forysiuk 7a172fff27 List all addon directories even non-existant
Folders may be created after setting up monitors.
2012-05-21 23:09:01 +02:00
Paweł Forysiuk 5cd78ae297 Create as needed when opening user addon target folder 2012-05-21 23:07:31 +02:00
Christian Dywan db2869f0a2 Typo reodered/ reordered
Fixes: https://bugs.launchpad.net/midori/+bug/993969
2012-05-15 00:04:40 +02:00
André Stösel 66abde2db9 Check "cancel-download" as well as "open-download"
Fixes: https://bugs.launchpad.net/midori/+bug/986839
2012-05-12 03:51:25 +02:00
André Stösel fc7e30f516 Cleanup unused variable in adblock 2012-04-15 19:31:40 +02:00
André Stösel 3f795a62cb Ignore request if the source is a redirect and of the main frame
Fixes: https://bugs.launchpad.net/midori/+bug/979767
2012-04-13 23:40:27 +02:00
André Stösel da5f257314 Fix for "tab registration" in adblock
Fixes: https://bugs.launchpad.net/midori/+bug/977981
2012-04-13 23:34:43 +02:00
André Stösel 8d0d2554ca Ignore request if the source is a navigation request
Fixes: https://bugs.launchpad.net/midori/+bug/979767
2012-04-12 23:43:50 +02:00
André Stösel 08d890e20e adblock_deactivate_tabs had the wrong user data
Fixes: https://bugs.launchpad.net/midori/+bug/977981
2012-04-12 23:43:50 +02:00
André Stösel 7400114eac Fix download manager compilation with Vala >= 0.16
Fixes: https://bugs.launchpad.net/midori/+bug/976139
2012-04-10 22:35:49 +02:00
Christian Dywan 2d921d4416 Don't build external download manager on Win32 2012-04-06 20:19:34 +02:00
André Stösel 2377ee3c94 Display error dialog on external download failure 2012-04-05 23:37:56 +02:00
André Stösel b5d5c17396 Pass cookies to Aria2 2012-04-05 22:43:58 +02:00
André Stösel 8bba8f9aad New extension to download files with Aria2. 2012-04-05 22:43:58 +02:00
Christian Dywan a32cc0908e Ensure adblock config folder when blocking images 2012-04-05 22:43:58 +02:00
André Stösel 1de28a8a7a Minimum Katze.Array vapi including add_item signal 2012-03-27 00:54:48 +02:00
Christian Dywan edc88b7b47 Fix MidoriView.download_requested signal in vapi 2012-03-19 19:08:11 +01:00
André Stösel f92fa1a33f External Download manager extension for Steadyflow
As it is activated, the Save button uses Steadyflow.
2012-03-16 00:09:58 +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 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 7066679bcf Document Adblock syntax and support status 2012-03-11 20:43:24 +01:00
Christian Dywan 0cd1c158d7 Guard formhistory_suggestions_hide_cb for GDOM 2012-03-11 18:50:36 +01:00
Christian Dywan fa22841ec9 Skip empty, invalid and comment lines in adblock_parse_line 2012-03-06 20:14:15 +01:00
Christian Dywan 4f180216a1 Fix declaration and deprecation warnings 2012-03-06 01:12:20 +01:00
Christian Dywan cbe84b6820 Reverse packing of statusbar features bbox
Apparently with GTK+3 this makes a difference.
2012-02-29 00:54:03 +01:00
Christian Dywan 81526df6d6 Use correct callback when activating statusbar features 2012-02-26 00:03:14 +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 599de9cb74 Fix colorful tabs by checking icon, not load status
Otherwise delayed tabs would never be colored.
2012-02-21 21:47:07 +01:00
Christian Dywan 55c6dd38d0 Remove remnant openssl availability checks 2012-02-20 23:14:10 +01:00
Christian Dywan af9ec62b25 Remove password openssl-based encryption support 2012-02-19 23:18:41 +01:00
Christian Dywan 63d7df5a0a Remove bogus widget_destroyed callback in Shortcuts
Fixes: https://bugs.launchpad.net/midori/+bug/933082
2012-02-19 18:45:56 +01:00
Alexander Butenko 69c319d62a Sqlite pragma tuning for formhistory and history 2012-02-19 17:52:12 +01:00
Alexander Butenko 7bf5005617 Fix declaration and signedness warnings in gdom frontend 2012-02-13 01:34:47 +01:00
Christian Dywan 669167eb9e Plug leaks in formhistory_suggestion_remove 2012-02-13 01:31:02 +01:00
Christian Dywan 93bec3142f Keep a reference on the DOM element 2012-02-13 01:27:41 +01:00
Christian Dywan 6c87ccc3b3 Handle CapsLock in form history 2012-02-13 00:46:31 +01:00
Christian Dywan 3aa37f7953 Assert if element is unset in formhistory_editbox_key_pressed_cb 2012-02-13 00:27:01 +01:00
Christian Dywan cad539dfed Store password with g_strdup instead of strcpy 2012-02-13 00:16:21 +01:00
Christian Dywan 62ed57bde3 Free strings in _suggestions_show and fix signature 2012-02-13 00:14:44 +01:00
Alexander Butenko 1e941210db Move form history globals into private struct 2012-02-12 22:48:52 +01:00
Christian Dywan 66484a7e02 Ensure zoom level combo is initially preset 2012-02-12 22:06:33 +01:00
Alexander Butenko 5e052422f5 Password manager 1.0 2012-02-12 22:06:33 +01:00
Christian Dywan 1ef7182e95 Guarding 'autocomplete' with 1.6.1 is enough 2012-01-19 02:31:27 +01:00
Christian Dywan 26485b9be2 Guard 'autocomplete' with WebKitGTK+ 1.7.4 2012-01-19 01:39:38 +01:00
Alexander Butenko c3eb4e4403 More selective key code excludes 2012-01-11 21:04:46 +01:00
Alexander Butenko 164f016924 Implement del handling v.2 2012-01-11 21:04:34 +01:00
Alexander Butenko 74ae33e232 Remove focus grabbing when showing suggestions 2012-01-11 00:36:27 +01:00
Alexander Butenko fd03ff56b4 Avoid race condition storing view in element 2012-01-10 02:19:45 +01:00
Alexander Butenko 3d5d2f4766 Fix keyboard navigation in suggestions 2012-01-10 02:15:41 +01:00
Alexander Butenko 696b377b32 Process all the frames 2012-01-10 02:14:24 +01:00
Alexander Butenko 835f808115 Refactor JS code generation for adblock 2012-01-10 02:12:55 +01:00
Alexander Butenko 729e960cd6 Reorganize code in formhistory-gdom 2012-01-10 02:10:38 +01:00
Alexander Butenko 3d774d2d09 Optimize get_absolute_offset_for_element 2012-01-10 02:06:20 +01:00
Alexander Butenko 9445539c48 Refactor navigation handling 2012-01-10 02:02:24 +01:00
Alexander Butenko 43952508eb JS backend compilation fix + warnings fixes 2012-01-10 01:59:14 +01:00
Christian Dywan bf4ddd3358 Only define formhistory_suggestions_hide_cb with GDOM 2012-01-10 01:50:15 +01:00
Alexander Butenko e61743db9c Formhistory 2.0 with GDOM frontend 2012-01-10 01:01:28 +01:00
Alexander Butenko fe6acc509a Reload all rulesets instead of re-downloading one 2012-01-06 01:58:44 +01:00
Alexander Butenko a87b4cd7d8 Move adblock element hiding logic from JS to C 2011-12-18 02:07:55 +01:00
Christian Dywan 622628b9c3 Use GString to build text in copy tabs extension 2011-12-11 02:53:25 +01:00
Paweł Forysiuk 8bd9045ce7 Don't skip blank pages in addons context ready 2011-12-11 02:52:37 +01:00
Christian Dywan 5d9a8d73f3 Obtain and store priv in cookie manager
Getting the private data is expensive, especially
in the cookie update callbacks.
2011-12-10 19:23:52 +01:00
Alexander Butenko b41367b735 Use gstring to build suggestions script in formhistory 2011-12-09 21:29:16 +01:00
Alexander Butenko 98f2e3b572 Optimize private element hider algorithm 2011-12-07 20:34:54 +01:00
Alexander Butenko 312d321ff9 Skip window_object_cleared in non-http-frames 2011-12-07 20:30:42 +01:00
Alexander Butenko de89a988f0 Do reset sig in adblock_is_matched_by_key 2011-11-29 01:32:31 +01:00
Christian Dywan 5c08872066 Extra byte for NULL in addons_convert_to_simple_regexp 2011-11-28 23:32:28 +01:00
Christian Dywan 760270832a adblock_compile_regexp free data after checking it 2011-11-28 23:31:17 +01:00
Christian Dywan ffd3026baf Clean up allocations in adblock_add_url_pattern 2011-11-28 21:21:29 +01:00
Alexander Butenko 249619a631 Avoid memory allocated sig in adblock_is_matched_by_key 2011-11-28 21:03:37 +01:00
Alexander Butenko f8b6792756 Refactor adblock_is_matched_by_key into adblock_check_rule 2011-11-28 20:48:55 +01:00
Christian Dywan da8983b09f Return in adblock filter entry should Add the filter 2011-11-22 21:57:20 +01:00
Christian Dywan 82323c43a0 Compare addon hostnames null-safely 2011-11-18 23:57:56 +01:00
Christian Dywan 4c2fd067ff Midori.URI.parse_hostname clearer semantics and tests 2011-11-18 01:44:48 +01:00
Christian Dywan 975c244622 Ignore form history database errors in unit test 2011-11-18 00:54:32 +01:00
Christian Dywan 583c5be7ef Add simple regexp unit test to Addons extension 2011-11-18 00:54:32 +01:00
Alexander Butenko 179e33d054 Fix handling of blockss in Adblock 2011-11-09 22:06:10 +01:00
Christian Dywan bcb0fa2569 Undo 'Recognize effectively empty prefixes of a stylesheet'
Styles can apply to at least about: and file:// URLs as well.
2011-11-09 22:06:10 +01:00
Christian Dywan 262e5c3304 Check style domains for other schemes than http(s)
The latest libSoup versions transparently opens file:// URLs
as directory listings and there may be more.
2011-11-09 22:06:10 +01:00
Christian Dywan 5a786354b5 Split -moz-document by both space and comma
Otherwise when only a comma was used only the first domain
value would be picked up.
2011-11-09 22:06:10 +01:00
Alexander Butenko fc2bac2e01 Append needed by Adblock correctly after blockcss 2011-11-08 22:22:01 +01:00
Christian Dywan c5e6b7a020 Show mismatching build version suffix for extensions
MIDORI_VERSION_SUFFIX resolves to a string that needs to be
added to each extension's version at build time. If it is
different than the running Midori's, it is shown in the
extension list.
2011-11-08 01:53:53 +01:00
Christian Dywan 49317da35c Use GIO to determine backup/ hidden files in Addons
So Windows-specific behavior is taken into account.
2011-11-08 00:28:07 +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
Alexander Butenko 34e0c98cb7 Use midori_web_settings_add_style for adblock CSS 2011-10-30 15:19:06 +01:00
Paweł Forysiuk e4601778c2 Fix installing of addons once again 2011-10-30 15:08:24 +01:00
Christian Dywan ff569e8328 Use Midori.URI API in adblock_resource_request_starting_cb 2011-10-29 03:32:16 +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 b8a8272398 Correctly rewrite user style URI 2011-10-29 00:57:44 +02:00
Christian Dywan 4d872505fb Use midori_uri_parse in Addons to handle installation 2011-10-28 23:53:14 +02:00
Christian Dywan 5244bda781 Don't color tabs of blank/ special pages 2011-10-28 23:22:03 +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
Christian Dywan dc103bf017 Generate addon style in addons_activate_cb 2011-10-27 19:44:15 +02:00
Christian Dywan 9f37c58013 Recognize effectively empty prefixes of a stylesheet 2011-10-27 19:32:17 +02:00
Christian Dywan 19b22b9ae2 Don't skip user stylesheets on special pages 2011-10-26 23:10:24 +02:00
Christian Dywan 4854e2e2d7 Use new style API for global user stylesheets 2011-10-26 23:10:24 +02:00
Christian Dywan 4b33fd2c7d Avoid GTK+3 #ifdef and #define GTK_DIALOG_DESTROY_WITH_PARENT 2011-10-26 20:07:11 +02:00
Christian Dywan b29ee13da6 Use GTK_COMBO_BOX_TEXT with Statusbar Features 2011-10-20 23:36:34 +02:00