Commit graph

82 commits

Author SHA1 Message Date
Christian Dywan
0da919f4d9 Pack addon text column with expand TRUE 2012-09-17 19:26:55 +02:00
Christian Dywan
dd90c2b65b Expand text column of the addons panel 2012-09-09 22:34:33 +02:00
Christian Dywan
f5d0c3ad5d Ellipsize text column in Addons panel 2012-08-30 00:43:20 +02:00
Christian Dywan
3fb42ef2d7 Stop using magic test folder name 2012-08-29 01:09:24 +02:00
Christian Dywan
7f37162fe0 Introduce Midori.Paths and Midori.RuntimeMode
Also introduce initial "portable" mode on Win32.
2012-08-27 21:52:24 +02:00
Christian Dywan
2cf8d9323e Require GTK+ 2.16 or later 2012-07-20 01:22:38 +02:00
Christian Dywan
a0b2020550 Don't quote commands containing tokens 2012-07-08 21:02:06 +02:00
Christian Dywan
0c201ca2b8 Handle more tokens in sokoke_spawn_program 2012-07-08 20:12:38 +02:00
Christian Dywan
aa1ffbf1d0 Rework sokoke_spawn_command internals
Caller decides if the command and the argument are quoted,
otherwise quoting only affects %s. The actual quoting is
split to allow use in test cases.

The Hildon version was dropped.
The GAppInfo version was dropped.
A test case with a cuple examples was added.
2012-07-01 21:26:06 +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
Paweł Forysiuk
8bd9045ce7 Don't skip blank pages in addons context ready 2011-12-11 02:52:37 +01:00
Alexander Butenko
312d321ff9 Skip window_object_cleared in non-http-frames 2011-12-07 20:30:42 +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
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
583c5be7ef Add simple regexp unit test to Addons extension 2011-11-18 00:54:32 +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
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
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