Commit graph

103 commits

Author SHA1 Message Date
Dale Whittaker
fb2a962ad4 Store the 'day' of history items to reduce even more calls to localtime
By storing the timestamp of the day in the database we can significantly
reduce the calls to localtime, which should result in a noticible
speedup.

We are changing the database format. For the convenience of the user
the code automatically converts from the old format.
2009-01-23 22:38:39 +01:00
Christian Dywan
1a69bc9d2d Include locale.h, it may not be pulled in automatically 2009-01-22 13:12:05 +01:00
Christian Dywan
a63942cd79 Respect NLSPATH in Midori and use it for ./waf build --run 2009-01-22 01:59:23 +01:00
Christian Dywan
9f61741503 Update translation template 2009-01-19 22:30:42 +01:00
Christian Dywan
0fbc478a8a Implement Plugins panel, not quite finished but already useful 2009-01-18 20:34:50 +01:00
Christian Dywan
75c54edabd Implement MIDORI_EXTENSION_PATH environment variable 2009-01-16 20:22:01 +01:00
Christian Dywan
e247529b6b Do monitor changes of bookmarks and save on any change 2009-01-16 05:04:42 +01:00
Christian Dywan
1b0e649968 Use a proper SoupCookieJarText if we have "session" 2009-01-15 03:39:32 +01:00
Christian Dywan
03678a16b1 Use WebKitWebView:session property if it exists 2009-01-15 03:29:47 +01:00
Christian Dywan
be224ba5f1 Clarify 'Trash couldn't be saved' in an i18n comment 2009-01-13 01:05:15 +01:00
Christian Dywan
c2f33d01b6 Add Show a dialog after Midori crashes to Preferences 2009-01-12 03:17:37 +01:00
Christian Dywan
e23ed6234e Show a dialog if Midori is running but not responding 2009-01-11 21:16:02 +01:00
Christian Dywan
88474b45fb Destroy and set parent of Preferences from Diagnostic dialog 2009-01-11 20:51:18 +01:00
Dale Whittaker
6753a9ade3 Store history dates in 'token' to avoid locatime() and revamp deleting
Loading history items used to involve frequent calls to
localtime() and g_memdup(). We avoid this by storing the
date strings in parent items now, which can even be used to
display items in the treeview.
Deleting of treeview items was also reworked so it should
work from menu items and the panel.
2009-01-11 19:30:43 +01:00
Christian Dywan
4ad55618f6 Correct conditionals for OS X and JavaScriptCore 2009-01-10 20:13:08 +01:00
Nick Schermer
89fbbaca46 Fix extension folder handling in the failing case 2009-01-10 00:16:07 +01:00
Nick Schermer
b6e33e5399 Implement 'full' debug-level and fix according warnings 2009-01-09 23:56:00 +01:00
Christian Dywan
4e84376e28 Require libSoup 2.23.1 instead of 2.23.0 2009-01-08 01:54:08 +01:00
Christian Dywan
6bb3fb442e Various string changes and additions 2009-01-04 19:25:48 +01:00
Christian Dywan
d3d6f8dab7 Monitor bookmark subfolders for saving 2008-12-30 04:16:10 +01:00
Christian Dywan
4e1deaee05 Optimizations in main and MidoriApp 2008-12-30 03:00:08 +01:00
Christian Dywan
0b066778a5 Refactor main.c and move _eval_script to sokoke
The diagnostic dialog actually performs better now
because we do the extension loading and session setup
in idle callbacks, aside from the code being more
easily readable in smaller units.
2008-12-25 00:41:11 +01:00
Christian Dywan
f059882742 Show even broken (not linking) extensions in the panel 2008-12-20 00:25:31 +01:00
Christian Dywan
1b4a0160f1 Save config files dynamically and show a Diagnostic dialog after crashes 2008-12-12 10:20:19 +01:00
Christian Dywan
270822a0c4 Perform more fine grained libSoup version checks 2008-12-09 20:04:04 +01:00
Christian Dywan
fd6574c91f Update proxy and identification string immediately 2008-12-09 00:53:30 +01:00
Christian Dywan
108954273a Don't pass NULL to soup_uri_new and free the proxy string properly 2008-12-09 00:25:59 +01:00
Christian Dywan
219c6bdf4c Provide identification string and proxy server preferences
This works with libSoup stable, if WebKit uses libSoup.
2008-12-08 23:18:14 +01:00
Christian Dywan
716fe0e9c5 Implement HTTP authentication with libSoup 2008-12-07 21:38:00 +01:00
Christian Dywan
86dcb8b284 Implement Accept Cookies and Maximum Cookie Age preferences 2008-12-07 15:12:42 +01:00
Christian Dywan
3cbe78e5ee Escape page uri and title when inserting into database 2008-12-06 14:35:54 +01:00
Christian Dywan
604c0e6e59 Hack to store cookies on disk with libSoup 2.25.2
Note that if the WebKit build doesn't use libSoup
cookies will never be loaded or saved just like before.
2008-12-06 04:46:20 +01:00
Christian Dywan
b956a73914 Update panel handling according to latest changes 2008-12-04 01:45:32 +01:00
Christian Dywan
a4e6720fd7 Localization string improvements 2008-11-30 02:08:28 +01:00
Christian Dywan
2bc42bfd8d Remove the page holder from the core 2008-11-25 23:55:54 +01:00
Christian Dywan
d00ff95058 Provide MidoriPane interface for use with MidoriPanel 2008-11-24 01:41:45 +01:00
Christian Dywan
4b06ec3c1f Replace window-object-cleared with context-ready
Introduce MidoriBrowser::load-status and also
midori_view_execute_script while we are at it.
2008-11-23 05:22:58 +01:00
Enrico Tröger
9c8bab302c Use -V instead of -v for --version 2008-11-22 01:45:47 +01:00
Christian Dywan
e1c5e81cc9 Cleanup MidoriAddons a bit and remove Extensions from it 2008-11-22 01:17:23 +01:00
Christian Dywan
fdb12aa537 Move transfers, console and addons out of the browser 2008-11-20 03:49:57 +01:00
Christian Dywan
72f39b0f82 Change extension API to split initialization and activation
We want to be able to keep extensions in a state where
they don't actually do anything but merely provide
context information. Therefore don't pass the MidoriApp.

As soon as we want to use extensions, we activate them.

Extensions are now saved in an array in MidoriApp.
2008-11-20 01:22:25 +01:00
Christian Dywan
79cbcd0886 Make libxml technically optional, while it remains mandatory 2008-11-18 22:26:06 +01:00
Christian Dywan
c72977974d Always initialize threads, libSoup requires that 2008-11-18 02:46:59 +01:00
Christian Dywan
3cd50f419b Introduce a C extension interface 2008-11-18 02:07:53 +01:00
Enrico Tröger
c49ed67ab0 Correct usage of datatypes in a number of places 2008-11-16 01:04:12 +01:00
Enrico Tröger
744f9ce56f Save files with permissions of 0700 instead of 0755 2008-11-16 00:21:22 +01:00
Brian Vuyk
0b16997f1a Fix some compiler warnings 2008-11-12 02:15:52 +01:00
Christian Dywan
0bfb12f0b1 Faciliate translation workflow, look at TRANSLATE for details
Also three strings are marked untranslatable since they never
appear in the user interface and 'Unhandled settings value'
is reworded to 'Invalid configuration value'.
2008-11-10 01:08:38 +01:00
Christian Dywan
9abb753cc4 Remove sqlite header check, it turns out to be wrong 2008-11-08 13:12:54 +01:00
Christian Dywan
3c450ebc97 Introduce descriptive comments meant to help translators
intltool automatically embeds comments in the po template
if they are directly before a translatable string. From
now on we will try to avoid leaving accidental comments
and instead put descriptive comments for translators
before strings, starting with 'i18n'.
2008-11-08 03:05:30 +01:00