Commit graph

236 commits

Author SHA1 Message Date
Christian Dywan
3f886f7153 Include previous searches in History panel items 2010-03-01 00:24:46 +01:00
Christian Dywan
de89bcd2dc Store searches and completion search in the location 2010-02-25 00:44:25 +01:00
Christian Dywan
f3f9dd2b3f Be sure to save outstanding changes to the config on quit
We intentionally set a timeout before saving changes to avoid
continuous disc access and also in case opening or closing a tab
results in an immediate crash or freezing.
But closing Midori normally should save outstanding changes.
2010-02-17 23:19:16 +01:00
Peter de Ridder
c90344ac44 Look for extensions relative to program folder on win32 2010-02-16 00:59:42 +01:00
Christian Dywan
f494ec090b Handle external, magic URIs from command line consistently 2010-02-11 00:28:49 +01:00
Christian Dywan
713091134f Handle search engines in MidoriBrowser and simplify sokoke_magic_uri 2010-02-10 19:52:12 +01:00
Christian Dywan
13b1c9462b Connect config change notifications after creating the first browser 2010-02-10 19:52:10 +01:00
Christian Dywan
2e5c5026bc Only set config properties which are present in the config file 2010-02-07 17:19:00 +01:00
Christian Dywan
14f0a091f6 Do startup timing if MIDORI_STARTTIME environment variable is set 2010-02-07 17:19:00 +01:00
Alexander Butenko
d7f42c5d72 Fix check whether we have the latest database structure 2010-02-04 22:16:01 +01:00
Alexander Butenko
57ce6cbe21 Do not populate the history array from sqlite at startup 2010-02-02 21:02:45 +01:00
Christian Dywan
c9c9351ffb Always enable developer extras regardless of the saved value 2010-02-01 23:55:51 +01:00
Christian Dywan
24759ec86f Do not add duplicate Netscape plugins to the extensions 2010-01-31 23:02:31 +01:00
Christian Dywan
4f9d726c55 Merge ident-string setting into user-agent for old and new WebKit
Since the existence of two properties causes confusion among users
we merge the two, and actually remove ident-string.
2010-01-31 22:10:24 +01:00
Christian Dywan
c43d887747 Use first search engine if the default is not set 2010-01-30 16:54:38 +01:00
Christian Dywan
218a05049c Create and release script context for --run/ -r only when needed 2010-01-29 21:12:14 +01:00
Christian Dywan
c99921022f Implement completion with live sqlite queries
If sqlite is available, we can directly query results from the
database and populate our model on the fly.
2010-01-17 18:14:49 +01:00
Christian Dywan
27634e4f1e Use prepared statement to read history array instead of exec 2010-01-17 18:14:49 +01:00
Christian Dywan
86d060f250 Change db_ helpers in main.c into direct sqlite3_ calls
This means 1 function call instead of 2 or 3 calls for each
query and should reduce some overhead.
2010-01-15 07:07:00 +01:00
Christian Dywan
789485a086 Do no extra type checking when querying the history database 2010-01-13 00:10:32 +01:00
Christian Dywan
dab3505e0c Store argument vector and display it in about:version 2010-01-12 23:34:10 +01:00
Christian Dywan
cbebda0db4 Remove Plugins panel, instead add Netscape plugins to Extensions
Netscape Plugins cannot actually be activated or deactivated
at the moment.
2010-01-08 00:16:56 +01:00
André Stösel
5c89cc8bd2 Spell accept language header as 'Accept-Language' 2010-01-08 00:16:55 +01:00
André Stösel
b5b32495f9 Implement 'Preferred languages' preference, ACCEPT_LANGUAGE header 2010-01-07 01:35:51 +01:00
Christian Dywan
996f1a86d3 Omit an unused config variable when loading extensions 2010-01-06 23:40:45 +01:00
Christian Dywan
97d6137ea8 Disable developer extras in web app mode 2010-01-03 23:00:27 +01:00
Christian Dywan
578f74a308 Merge compat.h into sokoke and remove gtk_show_uri implementation 2010-01-01 23:24:03 +01:00
Christian Dywan
311a5a8a1b Store searches with tokens in the completion as a distinct item
Currently searches won't be stored persistently in the database.
2010-01-01 22:47:24 +01:00
Peter de Ridder
10d3733f2d Reword history error messages to be more accurate 2009-12-27 17:20:42 +01:00
Christian Dywan
cec6b31044 Initialize diagnostic_dialog to FALSE by default 2009-12-22 01:07:01 +01:00
Christian Dywan
8f0d632ef5 Add -d, --diagnostic-dialog command line switch 2009-12-21 18:26:49 +01:00
Alexander Butenko
045cc81b45 Use g_access instead of g_file_test consistently 2009-12-19 11:28:46 +01:00
Christian Dywan
79101c3350 Revise saving bookmarks to file, recursively 2009-12-11 23:59:08 +01:00
Christian Dywan
0542a0fcf2 Only write settings with values that differ from the defaults 2009-12-09 20:58:15 +01:00
Christian Dywan
47514c180e Set an invalid config dir in app mode to prevent accidental pickup
We don't want web apps to accidentally use configuration files from
the default folder, eg. for speed dial.
2009-12-07 20:58:07 +01:00
Christian Dywan
9adf9458b0 Support executing multiple passed commands one after another 2009-12-07 20:52:32 +01:00
Christian Dywan
23a2d8e491 Handle -e/ --execute in Midori web application mode 2009-12-07 20:44:29 +01:00
Christian Dywan
38205dd351 Implement Quit in Midori in web application mode 2009-12-07 20:41:13 +01:00
Christian Dywan
fadd0f31c2 Allow Ctrl+C to break normally while still handling it well 2009-12-07 20:38:02 +01:00
Christian Dywan
a35b548589 Add 'Web Cache' to Delete private data dialogue 2009-12-02 19:02:59 +01:00
Christian Dywan
a1cdf0bf4e Load default accels file from /etc/xdg/midori if no accels present 2009-11-30 19:36:16 +01:00
Christian Dywan
56b0a55a2d Improve XBEL format compatibility and support bookmark sharing
Loading of XBEL needs to handle title and desc children of the root
element. This is equal to using the according properties.

MicroB uses metadata without an owner and uses children rather than
properties. This is against the spec but we want to handle that.

A key value leak was plugged.

If the bookmark file is absolute, we assume it is a foreign file
and we shouldn't overwrite it.
2009-11-30 19:36:15 +01:00
Peter de Ridder
5580b62e00 Use %%llu with sqlite3_mprintf since it expects that even on Windows
Apparently the formats sqlite3 supports are not the same as the
runtime library printf supports.
2009-11-19 23:52:01 +01:00
Christian Dywan
6faa15412d Omit frequent mkdir and writable checks at startup
This means that using file attributes to control permissions
is not supported anymore.
2009-11-18 19:13:07 +01:00
Peter de Ridder
ba70a6fd5a Use only signals which are defined, since not all are portable
For instance Windows has support for unix signals but only for
some of the signals.
2009-11-17 19:18:14 +01:00
Christian Dywan
21e42ac8c7 Disable -c --config command line switch on Hildon 2009-11-11 23:30:56 +01:00
Christian Dywan
0f156fa932 Implement MidoriApp based on libOsso application interface 2009-11-10 22:01:54 +01:00
Christian Dywan
2d790a47a3 Don't prepend the current folder to absolute filenames 2009-11-02 22:33:37 +01:00
Christian Dywan
d550d2c520 Hide permanently unavailable actions instead of disabling them 2009-10-31 22:43:58 +01:00
Avan Anishchuk
1133bc4449 Catch SIGHUP, SIGINT, SIGTERM and SIGQUIT and quit peacefully 2009-10-31 04:49:57 +01:00