Commit graph

359 commits

Author SHA1 Message Date
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
Christian Dywan
ec9ea0233e Hide Extensions panel if no extensions are available at all. 2009-10-30 21:43:42 +01:00
Alexander Butenko
90a4acfc6e Check the non-existence of folders before creating them 2009-10-20 18:24:24 +02:00
Christian Dywan
b2c9fb3cfc Manually pack OK button for crash dialogue on Hildon 2.2 2009-10-13 23:26:48 +02:00
Christian Dywan
b9d4266d27 Refactor IDN handling and related unit tests
Most code is shared despite different available libraries now and
can more effeciently be tested.
2009-10-10 11:09:10 +02:00
Christian Dywan
0ac4de8aa5 Properly pass external addresses with libSoup 2.27.90 2009-10-09 14:21:55 +02:00
Christian Dywan
acb2104128 Encode IDN addresses passed externally
Apparently libUnique can't handle international domains and
won't pass them onto the destined instance, so we encode
them beforehand.
2009-10-04 03:12:10 +02:00
Christian Dywan
ce5a959840 Use MIDORI_NLSPATH instead of NLSPATH
A small number of systems uses NLSPATH in a way that breaks
localization in Midori. It is unclear what the correct way is to
use NLSPATH, so we switch to using a prefixed variable.
2009-10-03 02:27:51 +02:00
Christian Dywan
18ab34bdc8 Load extension settings from global config folders
For example, /etc/xdg/midori/extensions/extension_name/config
2009-10-02 23:07:36 +02:00
Christian Dywan
60a96b9d8b Implement 'Open last session' menu item 2009-09-30 23:02:10 +02:00
Christian Dywan
c848b24733 Backup the old session when resetting it in the Crash dialog 2009-09-30 22:30:19 +02:00
Christian Dywan
ba1084d236 Merge userstyles into the userscript panel 2009-09-22 23:50:31 +02:00
Christian Dywan
711750d9de Fix persistent cookie storage 2009-09-10 17:03:17 +02:00
Christian Dywan
39e47ac3b7 Disable extensions that are unavailable on the system
Extensions can be unavailable on a particular platform or a system
lacking a build-time requirement. Let's handle this more cleanly
and reflect it in the Extensions panel.
2009-09-10 02:07:27 +02:00
Christian Dywan
6ee9436db4 Save logins in a text file instead of a keyring
This means GNOME keyring isn't required for saving logins.
2009-09-09 00:33:34 +02:00
Christian Dywan
ccc76f3fc6 libsoup 2.27.91 is good enough for GNOME password manager 2009-09-06 00:58:23 +02:00
Christian Dywan
f74b860d66 Wrap session saving in a 5 second timeout 2009-09-02 23:58:53 +02:00
Christian Dywan
e09ea1ef3a Fix unused get_type_function warning with libsoup < 2.27.92 2009-08-30 15:29:38 +02:00
Christian Dywan
af86796eab Use GNOME proxy resolver and GNOME password manager optionally 2009-08-30 04:22:55 +02:00
Christian Dywan
2bb225e7c0 Load "bookmarks.xbel", "config" and "search" defaults from /etc 2009-08-27 23:59:26 +02:00
Christian Dywan
14b784a2e9 Implement Disable all extensions in the crash dialog 2009-08-24 00:57:44 +02:00
Christian Dywan
e58aa161c6 Preserve state of extensions when using the crash dialog 2009-08-24 00:46:31 +02:00
Christian Dywan
2cc280b643 Remove session when quitting cleanly and it's not loaded at startup 2009-08-23 23:58:13 +02:00
Christian Dywan
c17e8a2a9a Move relative files out of magic URI, IP addresses start with digits 2009-08-14 23:06:55 +02:00
Dale Whittaker
44f58cb5c9 Only clear private data when quitting if this is actually set 2009-08-08 23:26:37 +02:00
Christian Dywan
74757bdc9e Implement "Clear private data when quitting Midori" check button 2009-07-29 00:41:04 +02:00
Christian Dywan
9f4976b168 Remove HAVE_JSCORE so javascripts work again 2009-07-23 23:32:50 +02:00
Christian Dywan
3201370b60 Fix warnings about HAVE_JSCORE not being defined 2009-07-20 23:27:06 +02:00
Christian Dywan
94198ef19a Look for locales in "locale" folder under Win32 2009-07-20 09:51:29 +02:00
Christian Dywan
cd2e5a3cca Special case looking for the default search engines file 2009-07-20 09:30:21 +02:00
Christian Dywan
6bd19cd4d9 Fall back to the first if the last active tab is not there anymore 2009-07-19 18:45:00 +02:00
Christian Dywan
582310203a Set "homepage" of web apps to NULL, to hide the bookmarkbar 2009-07-19 18:31:13 +02:00
Christian Dywan
736e7b854a Use the icon of the view for the window in web app mode 2009-07-16 23:45:45 +02:00
Christian Dywan
82e0a66de7 Use metadata API to store and lookup the current page
This effectively doesn't work yet as loading of metadata isn't
implemented in XBEL.
2009-07-05 00:17:00 +01:00
Christian Dywan
8a5c9eba8b Avoid naming an identifier 'boolean' which is used in Win32 headers 2009-06-17 23:39:50 +02:00
Christian Dywan
abccaf02da Implement -e or --execute to perform various commands
Currently any GtkAction in MidoriBrowser is recognized as a command,
no arguments are supported. Commands affect either a newly run
instance or a currently running one.
2009-06-17 00:46:53 +02:00
Christian Dywan
eddb0b30df Listen for (de)activation of extensions and save the config 2009-06-07 02:15:32 +02:00
Christian Dywan
0f5e13e706 Allow building without JSCore and do so for mingw 2009-06-06 18:51:57 +02:00
Enrico Tröger
429c460e86 Fix shadowed variable 'error' 2009-05-09 15:32:45 +02:00
Christian Dywan
902e75fb77 Conditionalize --snapshot on WebKitGTK+ 1.1.6 2009-05-05 23:02:45 +02:00
Christian Dywan
adec655c01 Implement '--snapshot' or '-s' command line switch
Calling Midori in the form "midori --snapshot URI" makes a
snapshot of the specified address and saves it to PDF. The format,
path or size can currently not be influenced.
Also note that web pages which look different when printed will
apply their print style.
2009-05-04 02:09:46 +02:00
Christian Dywan
a6bea88932 Save activation status of extensions
Finally only extensions which are expressly activated will be
loaded on startup.
2009-04-21 03:46:11 +02:00
Christian Dywan
94c1d3c713 Implement "-a" or "--app" to run web apps
At the moment this takes an URI and opens a standalone window
with a non-editable toolbar and a statusbar.
2009-04-13 04:38:01 +02:00
Christian Dywan
07aed45bd9 Recognize different instances for different config dirs
If Midori is built with support for multiple instances and a
config folder is specified a new instance bound to that
folder is created.

The new "name" property in MidoriApp implements this.
2009-04-09 20:34:27 +02:00
Christian Dywan
ddf2f60e3f Implement "-c" or "--config" to specify a different config folder
If this option is specified the folder is used in place of the
default ~/.config/midori including extension settings.
2009-04-09 19:28:36 +02:00
Faheem Pervez
0ffda1fe27 Initizalize and deinitialize the osso context 2009-04-07 23:23:27 +02:00
Christian Dywan
eed273b35e Fix memory leaks in a number of places 2009-04-05 23:46:15 +02:00
Christian Dywan
03f644ab1d Make sure we always save the main bookmark folder 2009-04-04 01:32:02 +02:00
Enrico Tröger
529aadc648 Always use WebKit's session in KatzeNet
This fixes corruption of expiration dates.
2009-03-31 18:20:31 +02:00
Christian Dywan
dbc4c3f743 Move array loading and saving to midori_array_{from,to}_file
This not only takes the code out of main but in the future
will allow extensions to use and enhance it.
2009-03-31 18:09:04 +02:00
Christian Dywan
7cddd8ade3 Optimize array iterations in main.c 2009-03-31 03:24:29 +02:00
Christian Dywan
31bf9962fa Support proxy server address without a protocol 2009-03-31 01:10:35 +02:00
Christian Dywan
99c3154dd6 Correction misspelling of 'happened' 2009-03-30 00:53:42 +02:00
Christian Dywan
fb1d931e2c Load cookie jar in an idle callback
This improves perceived startup time a lot.
2009-03-28 03:04:27 +01:00
Christian Dywan
15790565e8 Create cookie jar on startup instead of waiting for an HTTP request 2009-03-24 01:10:15 +01:00
Enrico Tröger
5c9e56fdb6 Remove left-over assignement of configuration file 2009-03-22 23:47:07 +01:00
Christian Dywan
1650d09070 Implement Transfers sidepanel 2009-03-22 15:25:57 +01:00
Christian Dywan
d30c2aa62d Drop soup session hijacking 2009-03-16 02:13:35 +01:00
Christian Dywan
1af23afbe8 Implement Last Visited Pages menu and toolbar item
We use the name of history folders now to store dates instead
of the token. This makes it possible to show history in an action.
2009-03-07 14:00:14 +01:00
Christian Dywan
abbfc163a3 Use session function in WebKitGTK+ 1.1.1 and prepare the session 2009-03-06 20:29:40 +01:00
Christian Dywan
1fb5222a3f Fix zooming, and make Zoom Normal work again 2009-03-05 22:45:34 +01:00
Christian Dywan
f64547f723 Load and save extension settings automatically 2009-03-05 22:22:18 +01:00
Christian Dywan
e12716c917 Update copyright year in --version and about dialog 2009-03-01 21:00:06 +01:00
Christian Dywan
ff9085b400 Disable WebKit's authentication dialog if needed
We need to handle WebKit possibly having an authentication
dialog more expressly. Obviously we only ever want to
see one dialog and we choose our own simply because it
is localized.
2009-02-28 23:46:41 +01:00
Christian Dywan
dc357a40aa Use the date format of the user locale to display history dates 2009-02-28 23:03:23 +01:00
Johannes Reinhardt
1d8de6e72d Fix #ifdefs for building without libxml or sqlite 2009-02-22 22:39:08 +01:00
Christian Dywan
3b9c63937c Refactor History panel into a separate class
This brings back the problem of address and title of items
showing up in the history unfortunately.

Now the history items are appended rather than prepended,
we probably want to fix that in the future.
2009-02-21 23:59:02 +01:00
Christian Dywan
5f52e0d21f Move stock item registrations to sokoke so it can be tested 2009-02-21 22:36:03 +01:00
Christian Dywan
1c7a84ec9f Propagate the bookmarks to the callback, fixes editing bookmarks 2009-02-20 22:38:18 +01:00
Christian Dywan
5aaff908cb Only add the Auth feature if WebKit didn't already 2009-02-17 18:34:27 +01:00
Christian Dywan
55614c7eca Print soup log if MIDORI_SOUP_DEBUG is set (levels 1-3) 2009-02-17 14:17:28 +01:00
Christian Dywan
9d754d2d51 Fix config file writability test and search engine error workaround
After the change to recognize read-only configuration files new
files would never be written anymore. Also the default search
engines wouldn't be used if no search engines file existed.
2009-02-16 03:05:25 +01:00
Christian Dywan
fb8dedfaac Cancel looking for default search engines properly 2009-02-14 11:52:09 +01:00
Christian Dywan
79ed3a06c3 Factor persistent cookies into a soup feature 2009-02-14 04:14:01 +01:00
Christian Dywan
e87f5f2455 Factor HTTP authentication into a soup feature 2009-02-14 02:34:56 +01:00
Christian Dywan
0d73df50d2 Add Detect proxy server automatically to Preferences 2009-02-13 00:49:30 +01:00
Christian Dywan
f1f27c9322 Don't do any saving on configuration files which are not writable
If you have a restricted setup where user configuration is not
meant to be saved, Midori will not even monitor changes if the
files are not writable.

This does *not* prevent any changes at runtime, but nothing will
be saved to disk.
2009-02-12 23:52:14 +01:00
Christian Dywan
019075842b Resize the label in the crash dialogue for proper wrapping 2009-02-05 22:43:24 +01:00
Christian Dywan
98b2d61b9d Rephrase "opened for the last time" to "the last time it was opened"
The translations are not changed, the English string is merely replaced.
2009-02-03 22:59:57 +01:00
Christian Dywan
9baa905f1d Monitor changes to search engines and not only adding and removing 2009-01-31 19:31:50 +01:00
Christian Dywan
135b1be01e Provide default search engines 2009-01-31 19:07:27 +01:00
Christian Dywan
5ad8c7eb0b Refactor bookmarks panel into a separate panel widget 2009-01-31 04:09:35 +01:00
Christian Dywan
6b2d8df6af Instead of adding multiple same history items, update the original item 2009-01-26 03:43:59 +01:00
Christian Dywan
78bcb6d3cb Monitor accelerators only after creating the first browser 2009-01-24 15:22:45 +01:00
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
Dale Whittaker
0246eeb124 Implement sorting location items by the number of visits
For the moment, a define in the code decides whether items
are sorted based on when they were added or how often
a page was visited. The 'visits' property and respective
database column is unused (we keep it for compatibility).
It turns out it's enough to store that information in
the tree model.

The visit based sorting is not enabled because it is
simply delaying startup incredibly. It will have to be
decided whether to introduce a preference, or always use
a visited based sorting once the startup delay is fixed.

History items are also deleted from the tree model now
if they are too old, according to the preference.
2008-11-08 02:39:45 +01:00
Christian Dywan
dbcfce4197 Improve strings for the sake of better localization 2008-11-03 00:17:43 +01:00
Christian Dywan
e4540ff586 Use Yes and No for enabling and disabling addons
Incidentally this implicitly corrects the Clear History
dialog which used to display Enable and Disable buttons.
2008-10-31 01:37:31 +01:00
Christian Dywan
0a65f30926 Refactor bookmark context menu, apply it on the bookmarkbar 2008-10-30 02:19:52 +01:00
Christian Dywan
b931e1bf53 Improve OSX adjustments in various places 2008-10-26 00:54:57 +02:00
Christian Dywan
e848d1df6e Require Gtk 2.10 and don't treat GIO specially anymore 2008-10-20 00:41:52 +02:00
Christian Dywan
7f8fc2b31d Implement viewing source with libsoup 2008-10-20 00:13:41 +02:00
Arnaud Renevier
3a9071a761 Skip non-strings when loading or saving search engines 2008-10-18 22:08:51 +02:00
Christian Dywan
49956f6b9b Use gint64 format specifier instead of %ld 2008-10-17 08:21:07 +02:00
Christian Dywan
6cd7e61c61 Speficy -r or --run to run a file as javascript 2008-10-16 20:54:26 +02:00
Dale Whittaker
49a4b00b71 Implement number of days history is saved
Note that this will 'break' any existing history
and all dates will suddenly jump the beginning
of the unix epoch.
2008-10-16 01:31:47 +02:00
Christian Dywan
7597e2026d Undo tabs-in-processes, it didn't work out
We are not literally undoing in the sense of
reverting, this is actually about undoing
the individual parts of the last refactoring
that implemented the socket/ plug logic.

As turned out, the idea was nice but the
implementation was absolutely not, embedding
of processes in a graphical way is not
at all reliable enough for complex use cases.

Naturally this change should solve all sorts
of peculiar issues, including actual
regressions in functionality. Relieving.
2008-10-15 03:07:38 +02:00
Christian Dywan
68cf3388f6 Make sqlite history storage truly optional 2008-10-13 17:50:07 +02:00
Christian Dywan
cee341f407 Add --single-process command line option 2008-10-11 05:53:59 +02:00
Christian Dywan
1bc9238f87 Actually remove old items from the trash again 2008-10-11 03:36:57 +02:00
Dale Whittaker
d445745787 Implement navigation history backed by sqlite
The implementation relies on KatzeArray for the
most part and only does the storage with sqlite
behind the scenes. The change includes a working
History panel. Changes to the database are
committed in realtime.
2008-10-07 02:19:33 +02:00
Christian Dywan
fb320cc0b6 Finally obsolete KatzeXbelItem 2008-10-01 04:00:16 +02:00
Christian Dywan
353533c8a7 Fix running standalone javascripts 2008-09-30 20:17:20 +02:00
Christian Dywan
62838fdf58 Implement tabs in individual processes
The approach is rather plump, Midori can be
run in a plug mode that creates a GtkPlug,
while the normal instance knows how to embed it.

Communication between browser and tabs is
done via named pipes which are portable.

The feature is not complete right now, there
are expected regressions, but it works.

As a bonus, we implement Not found pages.
2008-09-26 23:30:52 +02:00
Christian Dywan
7c4480ca53 Always use Glib error directly if gtk_init failed 2008-09-23 17:16:22 +02:00
Christian Dywan
2c1cdb0573 Running "midori" should open a new window 2008-09-10 19:48:45 +02:00
Christian Dywan
b62869a49b Support multiple URIs on the command line 2008-09-10 19:18:16 +02:00
Christian Dywan
1d047c4ab5 Factor out katze_xbel_folder_from_data_dirs and _to_data 2008-09-04 00:35:15 +02:00
Christian Dywan
131b911ab5 Rename main.h to midori-stock.h 2008-09-03 02:39:25 +02:00
Christian Dywan
c3f50388a1 Make bookmarks a property of browser and app
This means we have removed the last remaining
global variable.
2008-09-03 02:28:54 +02:00
Arnaud Renevier
06d47bf3a9 Implement enabling/ disabling addons
This patch doesn't take care of saving state to disk
and the feature is not currently multi window aware.
2008-08-31 21:33:32 +02:00
Christian Dywan
efab194b63 First move towards superseding KatzeXbelItem by KatzeItem
The idea is, since we have KatzeItem, KatzeList and KatzeArray
now, except for KatzeXbelItem's loading and saving XBEL the
interface is obsolete.

As a bonus, we actually save the trash again.
2008-08-31 20:48:13 +02:00
Christian Dywan
bf28e1097b Rework MidoriWebList into KatzeList and KatzeArray 2008-08-26 01:19:38 +02:00
Christian Dywan
74a587f5e8 Use #if instead of #ifdef consistently 2008-08-23 23:44:55 +02:00
Christian Dywan
af2e90a4b1 Rename MidoriWebItem to KatzeItem 2008-08-23 18:32:53 +02:00
Christian Dywan
c375f862a0 Implement single instance support with Unique 2008-08-22 03:59:07 +02:00
Christian Dywan
f6bf2f568d Update website URL 2008-08-18 23:50:20 +02:00
Christian Dywan
02e3b78341 Capitalize Midori when bailing out on an error 2008-08-18 23:43:15 +02:00
Christian Dywan
85dea9aa44 Use fallbacks for all icons, we don't want "broken" icons 2008-08-17 16:14:15 +02:00
Christian Dywan
8ac30357c0 Move around headers and localization code 2008-08-15 02:03:55 +02:00
Arnaud Renevier
cb0dd889e0 Use mnemonics in panel menu items 2008-08-10 14:17:21 +02:00
Christian Dywan
a41a0e008e Move MidoriWebList and MidoriWebItem to Katze 2008-08-05 05:03:05 +02:00
Christian Dywan
68fe5e05e1 Use icons for Script and Extension 2008-08-01 15:49:47 +02:00
Christian Dywan
947761c32d Capitalize Midori in --version output 2008-08-01 15:43:24 +02:00
Christian Dywan
e9e29e92f6 Restrict addons to files with particular extensions 2008-08-01 15:40:23 +02:00
Christian Dywan
2cb278cdb3 Add Midori and news-feed icons, improve waf scripts
Add small, optimized application icons and an all new
news-feed icon including optimized versions. The build
scripts are updated, and the data folder renamed to icons.
Plus the wscript_build is improved. Of course, Midori
now tests the icon theme for news-feed and uses it.
2008-07-27 07:39:39 +02:00
Christian Dywan
549310a7cd Ensure REMOVE_TAB emission, don't alter session when destroying 2008-07-25 12:45:50 +02:00
Christian Dywan
3301b37803 Save the session whenever it changes, instead of on quit. 2008-07-23 20:17:13 +02:00
Christian Dywan
002035e389 Capitalize Midori in the window title 2008-07-19 16:18:41 +02:00