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
Paweł Forysiuk
e4601778c2
Fix installing of addons once again
2011-10-30 15:08:24 +01: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
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
Paweł Forysiuk
24604a3db6
Save compiled addon regexpes instead of strings
2011-09-21 23:28:43 +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
Paweł Forysiuk
f748a9b8a4
Drop midori_ from addon function names for consistency
2011-09-14 01:34:08 +02:00
Paweł Forysiuk
3e2e8906fb
Remove leftover version guards for WebKit > 1.1.17
2011-08-15 22:56:38 +02:00
Paweł Forysiuk
dfb7225af5
Double check that we're not adding addons twice
2011-05-26 21:05:07 +02:00
Christian Dywan
fad55dc8a1
Avoid allocating rest_of_line and file extension
2011-05-13 16:29:40 +02:00
Paweł Forysiuk
908081813e
Don't set tooltip twice on user script/style delete button
2011-04-18 01:37:09 +02:00
Christian Dywan
b299608352
Don't consider scripts using GM_ functions as broken
...
There are cases where scripts check for the existence of such
functions and fall back to standard functions.
2011-04-04 01:50:53 +02:00
Paweł Forysiuk
728ed8570f
Remove unused browser variable from addons_install_response
2011-04-04 01:15:05 +02:00
Paweł Forysiuk
61d6da99ed
Fix uri matching for addon infobar on userstyles.org
...
We want to match a style, with a number in the URI, but not when
browsing styles.
2011-04-04 01:12:43 +02:00
Paweł Forysiuk
241a7ffb06
Display scripts using unsupported GM_ API as broken in panel
2011-03-16 21:46:05 +01:00
Paweł Forysiuk
85bdfac81a
Don't show infobar installer on "view source" pages
2011-02-18 02:22:11 +01:00
Paweł Forysiuk
846a7f7088
Handle addon install in view specific callbacks
...
Connect on the view rather than the browser and use
MIDORI_LOAD_COMMITTED which is only emitted once.
2011-02-18 02:05:51 +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
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
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
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
68c12e950e
Slice allocations in addons, net, scrolled, transferbar
2010-10-21 21:09:01 +02:00
Paweł Forysiuk
30f3dc0461
Clean up redundant item lists from addons helpers
2010-10-20 23:47:14 +02:00
Christian Dywan
e74f89f8c2
Remove 'filename' argument from sokoke_spawn_program
2010-10-10 13:27:06 +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