Commit graph

346 commits

Author SHA1 Message Date
Paweł Forysiuk
5cdbf5e814 Free uri in adblock_is_matched_by_key after printing 2011-02-13 18:35:46 +01:00
Paweł Forysiuk
27bba3c318 Strip leading and trailing whitespace when parsing user scripts/ style 2011-02-12 16:40:57 +01:00
Paweł Forysiuk
28fbf66459 Check for destination folder before downloading userstyle/script 2011-02-09 00:22:51 +01:00
Paweł Forysiuk
dba9bb4780 Fix parsing of userscript headers containing tab chars 2011-02-09 00:16:55 +01:00
Paweł Forysiuk
7939dc1bf1 Try matching URI by extension first in script/ style infobar
Fallback to hostname if that fails
2011-02-09 00:14:27 +01:00
Paweł Forysiuk
6b48f9c639 Escape markup in user script/style tooltip and delete dialog 2011-02-09 00:10:06 +01:00
Paweł Forysiuk
7504edaa11 Fix script name extraction and re-enable installer on userscripts.org "review" pages 2011-02-04 00:33:48 +01:00
Christian Dywan
90e11d3713 Only no adblock if main frame in provisional state 2011-02-01 01:52:39 +01:00
Christian Dywan
2e35f1718b Never filter the main page itself with adblock
Fixes: https://bugs.launchpad.net/midori/+bug/706862
2011-01-30 19:25:50 +01:00
Christian Dywan
57d529d309 Don't support 'review' pages on userstyles.org for now 2011-01-30 18:58:00 +01:00
Paweł Forysiuk
1efabca2b1 Don't use GtkInfoBar api explicitly in user style/script infobar installer 2011-01-30 18:58:00 +01:00
Christian Dywan
650aa8c102 Don't error when saving addons config in test 2011-01-16 14:05:23 +01:00
André Stösel
b4e94b4f19 Be sure to end up at last opened tab after closing 2010-12-14 01:16:20 +01:00
Christian Dywan
54971fd8ae Make sure minimized tabs show up in Tab Panel 2010-12-11 20:31:18 +01:00
André Stösel
aadfd1e289 Switch to newest tabs with Ctrl+1 and Ctrl+2 2010-12-12 00:36:33 +01:00
Christian Dywan
613e78a951 Be more careful about consecuitve spaces in styles 2010-12-12 00:36:32 +01:00
Paweł Forysiuk
7bd0683869 Omit spaces and comments in user stylesheets
This fixes parsing breaking due to comments.

Further more it noticibly reduces the size of stylesheets.
2010-12-07 01:43:27 +01:00
André Stösel
cb5bdb8646 Resize History List based on the requested size 2010-11-23 23:22:47 +01:00
Paweł Forysiuk
b26df3af22 Remove unused kind_name variable in addons_uri_install 2010-11-10 00:34:31 +01:00
Paweł Forysiuk
2feb127e4b Reword userstyle/ script install message in infobar 2010-11-09 23:22:34 +01:00
Paweł Forysiuk
91390db88c Implement infobar for easy userscript/ style install 2010-11-07 23:58:26 +01:00
Paweł Forysiuk
96a276219a Handle multi-line -moz-document blocks 2010-11-05 23:27:57 +01:00
Christian Dywan
34a3c307b5 Properly omit quotes from -moz-document domain 2010-11-04 19:03:49 +01:00
Paweł Forysiuk
53a205be4d Handle single, double and absent quotes in -moz-document 2010-11-03 00:12:05 +01:00
Paweł Forysiuk
eae7ec4ac3 Recognize -moz-document domain in user stylesheets 2010-11-01 19:35:29 +01:00
Christian Dywan
ed6d44df5f Use function to access browser settings an panel 2010-11-01 16:47:32 +01:00
Christian Dywan
560ad66d48 Add 'Identify As' button to Statusbar Features 2010-10-31 21:24:34 +01:00
Christian Dywan
b86b5056f8 Remove External Applications extension 2010-10-24 21:06:28 +02:00
Christian Dywan
c78c982613 Mention Ctrl+Tab in description of History List
Otherwise people don't understand how to use it.
2010-10-22 21:50:20 +02:00
Christian Dywan
68c12e950e Slice allocations in addons, net, scrolled, transferbar 2010-10-21 21:09:01 +02:00
Christian Dywan
936758afdc Add translation comments to 'History' and 'Form History' 2010-10-21 21:09:00 +02:00
Christian Dywan
b25f27cd66 Add static keywords, fix #ifdefs and spurious lines 2010-10-20 23:48:36 +02:00
Paweł Forysiuk
30f3dc0461 Clean up redundant item lists from addons helpers 2010-10-20 23:47:14 +02:00
Christian Dywan
ce64fd3e25 Add item to clear Form History database 2010-10-17 23:11:50 +02:00
Christian Dywan
d73b471ec4 Implement sokoke_register_privacy_item facility
The new function allows registering callbacks which clear data,
with a name and label so they show up in the Clear Private Data
dialogue and the chosen items are saved.

The old enumeration still keeps history, trash and the flag
whether to clear when Midori quits.
2010-10-17 22:48:32 +02:00
Christian Dywan
52d7a43e28 Don't use "path" setting in web cache to create the folder 2010-10-14 22:20:21 +02:00
Christian Dywan
ab414bc251 Remove web cache path and size settings 2010-10-12 00:25:49 +02:00
Christian Dywan
e74f89f8c2 Remove 'filename' argument from sokoke_spawn_program 2010-10-10 13:27:06 +02:00
Christian Dywan
1e49e9f95c Don't use a custom stock icon for Cookie Manager
Due to the change of the stock icon names in GTK+ 2.22 the
stock item trick doesn't work anymore. Using the authentication
icon directly is good enough.
2010-10-05 21:43:34 +02:00
Christian Dywan
2cf3c2f5b0 Fix removal of tabs from Tab Panel treeview 2010-10-05 21:43:34 +02:00
Christian Dywan
5a0fc37d2f Don't use the deprecated GTK_IN_DESTRUCTION flag
As a workaround, the browser now sets its own flag.
2010-10-05 00:04:28 +02:00
Christian Dywan
195c5191ef Showing the (feed) panel needs to be a GtkWidget* 2010-09-12 00:59:24 +02:00
Christian Dywan
40dc38fd21 Implement and use KATZE_ARRAY_FOREACH_ITEM
Iterating an array by a GList is considerably faster than
continuously retrieving items, however it is also a lot
more complicated. So the new macro takes care of that and
uses a new semi-private function to avoid copying the list.

Note that the macro can't be nested, which basically isn't
useful in practise anyway.
2010-09-12 00:59:24 +02:00
Christian Dywan
3b4ae37664 Always free uri of the web view after applying addons 2010-09-01 23:56:03 +02:00
Paweł Forysiuk
f7a6011d1b Provide a context menu for scripts and styles 2010-09-01 22:39:09 +02:00
Paweł Forysiuk
8448eabd26 Add button to open folder of scripts/ styles 2010-09-01 22:28:32 +02:00
Paweł Forysiuk
65338e5ab0 Remove button labels and separator from addon toolbar 2010-09-01 22:08:21 +02:00
Paweł Forysiuk
d7b68b9d94 Add button to open addon in text editor 2010-08-30 00:59:57 +02:00
Paweł Forysiuk
ce56f60ccd Show addon filename and/ or description in tooltip 2010-08-29 23:49:38 +02:00
Paweł Forysiuk
1640aedd44 Make addons delete confirmation dialog more readable 2010-08-29 23:49:38 +02:00