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
Christian Dywan
8f421d6cfc
Use find_property for has-separator in History List
...
So we can avoid compile-time warnings.
2011-10-20 23:35:37 +02:00
Christian Dywan
ee85789fc4
Use gtk_combo_box_text_new_with_entry in Statusbar Features
...
Fixes: https://bugs.launchpad.net/midori/+bug/878449
2011-10-20 22:48:51 +02:00
Christian Dywan
3fa294d100
Require GLib 2.22 it's already an implicit dependency
2011-10-17 02:47:56 +02:00
Christian Dywan
85b1b8509a
Install form history always-load only if should_init
2011-10-17 02:47:55 +02:00
André Stösel
b639067520
Resize the history list treeview in GTK3, not the parent
2011-10-13 18:31:51 +02:00
Alexander Butenko
eeb4b7b391
Reduce strlen usage in adblock by using GString
2011-10-10 22:37:57 +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
Paweł Forysiuk
24604a3db6
Save compiled addon regexpes instead of strings
2011-09-21 23:28:43 +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
4cdc347287
Only run user scripts on the main frame
2011-09-14 02:38:22 +02:00
Paweł Forysiuk
602d0e1366
Properly omit user script / styles on special pages
2011-09-14 02:19:30 +02:00
Alexander Butenko
b574501978
No adblock on special pages
2011-09-14 01:59:57 +02:00
Paweł Forysiuk
f748a9b8a4
Drop midori_ from addon function names for consistency
2011-09-14 01:34:08 +02:00
Paweł Forysiuk
b557233290
Don't bother with stock, res and favicons uris in adblock
2011-09-14 01:33:07 +02:00
André Stösel
a568b29c38
Actually display the favicon in history list
2011-09-06 01:24:45 +02:00
André Stösel
597ca48410
Fix spelling error in Switch to last viewed tab
2011-08-18 22:17:54 +02:00
Paweł Forysiuk
3e2e8906fb
Remove leftover version guards for WebKit > 1.1.17
2011-08-15 22:56:38 +02:00
André Stösel
2e532f1895
Allow users to enable form history per tab (Ctrl+Shift+F)
...
Note: you have to reload the page before the state change has any
effect.
2011-08-15 21:30:21 +02:00
Alexander Butenko
ac78646f83
Don't do pattern matching if link was matched by key
2011-07-05 03:55:53 +02:00
Alexander Butenko
3db46d2297
Always check rules options, not only in pattern matching
2011-07-05 03:54:31 +02:00
Alexander Butenko
15a06bbfe1
Integrate Adblock preferences with extension list
2011-06-24 23:55:08 +02:00
Alexander Butenko
4d7424adc4
Fix length calculation and typos in fixup function
2011-06-24 21:48:03 +02:00
Alexander Butenko
60cb44c846
Remove legacy code from adblock
2011-06-24 21:42:32 +02:00
Alexander Butenko
bd10649982
Ignore rules with subdocument property
2011-06-24 21:26:05 +02:00
Alexander Butenko
f093e55f85
Skip empty lines in adblock rules files
2011-06-24 21:20:08 +02:00
André Stösel
ebf892e2de
New shortcut to display the current selected tab in background
2011-06-24 21:04:48 +02:00
André Stösel
b49de2ab26
Add a new option to change behavior when closing a tab
2011-06-08 20:24:25 +02:00