Commit graph

554 commits

Author SHA1 Message Date
Enrico Tröger
6af1840e75 Convert source code for display from the locale encoding 2009-02-14 12:36:18 +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
e5000a48e0 Don't set the session unless we actually have libSoup 2009-02-14 02:32:01 +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
Enrico Tröger
d810faf933 Implement a hack to make Search the Web menu item useful 2009-02-12 23:38:48 +01:00
Enrico Tröger
d1967241fd Fix a memory leak when obtaining the selection from the web view 2009-02-12 22:43:31 +01:00
Enrico Tröger
45b4747868 Let midori_view_get_selected_text work as expected again 2009-02-12 22:37:08 +01:00
Christian Dywan
6f0fc8cf29 Adjust 'Icon' label string in Manage Search Engines dialogue 2009-02-12 00:30:56 +01:00
Christian Dywan
e727e714da Add a Preference Show progress in location entry
Disabling the preference will suppress the progress bar inside
the location entry and also prevent the navigationbar from
showing up during loads if it was otherwise hidden.
2009-02-11 23:41:09 +01:00
Christian Dywan
60e81f734b Tweak magic URI and add a test string 2009-02-09 22:03:04 +01:00
Dale Whittaker
75c83f1224 Differentiate hash table/ frozen and manual/ normal completion
Adding and looking up items based on a hash table is incredibly
fast, so it's vital for startup, however at runtime we want
to prepend which invalidates the contents of the hash table. So
now we use the hash based lookup only for frozen operation,
which is used at startup and has to be fast, but manual string
comparisons are used at runtime.
2009-02-09 21:37:10 +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
b4ba0888bf Flag deactivated extensions as not active 2009-02-05 00:11:36 +01:00
Christian Dywan
aff3affc23 Introduce MidoriExtension setting API, strings only for now 2009-02-05 00:09:44 +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
acaa1741bd Show tokens in Manage Search Engines dialog 2009-02-01 23:13:00 +01:00
Dale Whittaker
18537ec134 Always insert completion addresses with a trailing slash 2009-02-01 19:38:17 +01:00
Christian Dywan
77c04066c1 Fix "%d days ago" to be translated again 2009-02-01 19:08:53 +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
Dale Whittaker
2c9b011048 Check if the pixbuf of the search engine is valid before returning it 2009-01-29 01:06:27 +01:00
Christian Dywan
badc48c1fd Support separators in navigationbar and bookmarkbar 2009-01-29 00:56:07 +01:00
Christian Dywan
7d3ac8fa37 Move {sokoke,katze}_tree_view_get_selected_iter proper 2009-01-28 01:08:51 +01:00
Dale Whittaker
3c75e9eb20 Prevent duplicate entries by looking for trailing slashes 2009-01-27 18:56:21 +01:00
Christian Dywan
181aa10b9d Integrate Midori with Maemo, use a Hildon window and adjust the interface
To make Midori play nicely with Maemo the menubar is now integrated, we
have a service file, a specific toolbar layout, no statusbar and icon styles.

The changes are applied if hildon is available, and can of course be
manually enabled or disabled.
2009-01-27 02:57:40 +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
2323c57d7e Save size and panel position with a delay of 5 seconds 2009-01-26 00:54:12 +01:00
Christian Dywan
cf9ec7755f Properly synchronize the proxy item of the view 2009-01-24 22:28:07 +01:00
Christian Dywan
d6cdac4072 Unmark the matches when hiding the findbar again 2009-01-24 22:15:37 +01:00
Nick Schermer
808a03136d Open or focus Inline Find on activation, close it with Escape 2009-01-24 15:34:31 +01:00
Christian Dywan
78bcb6d3cb Monitor accelerators only after creating the first browser 2009-01-24 15:22:45 +01:00
Nick Schermer
af610d48e4 Fix 32bit build after the history changes 2009-01-24 15:02:06 +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
2083433739 Merge two g_file_test calls into one 2009-01-23 21:43:28 +01:00
Christian Dywan
2b463946a8 Fix local copy of g_strcmp0 2009-01-22 22:59:47 +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
89a205bd59 Remember the last window state, ie. whether Midori was maximized or minimized 2009-01-20 23:27:19 +01:00
Christian Dywan
b89fbb98f2 Implement MidoriApp::browsers and deprecate MidoriApp::browser-count 2009-01-20 22:40:25 +01:00
Christian Dywan
92fd37ad61 Remove panel pages implicitly as viewables are destroyed
For this to work smoothly, from now on the browser destroys the
panel eary, as it does with the tabs, and the panel in turn
destroys its pages early.
2009-01-20 22:17:04 +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
0255edba43 Save toolbar changes via the menu and remove the Toolbar Items entry 2009-01-18 04:38:46 +01:00
Christian Dywan
60fd9b19d1 Items can be added via the new toolbar menu now 2009-01-18 03:58:05 +01:00
Christian Dywan
2f63822b60 Implement a not yet functional menu for adding and removing tool items 2009-01-17 23:56:23 +01:00
Christian Dywan
97c80d0190 Build Midori core as library, for easier use in tests 2009-01-17 23:52:09 +01:00
Christian Dywan
93bb9f6c5b Notify URI even before it is "committed" and add an error check 2009-01-17 19:38:00 +01:00
Christian Dywan
75c54edabd Implement MIDORI_EXTENSION_PATH environment variable 2009-01-16 20:22:01 +01:00
Nick Schermer
ac707d6f43 Correct capitalizations in Help menu and Inline Find 2009-01-16 05:50:01 +01:00
Nick Schermer
f02f9fd118 Make property strings static to save some memory 2009-01-16 05:19:43 +01:00
Christian Dywan
8f2c5befb2 Introduce Zoom Text and Images preference 2009-01-16 05:05:50 +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
0939bab342 Disable and hide Open external pages in if unique is unavailable 2009-01-14 21:38:45 +01:00
Nick Schermer
6448ad3386 Open new tabs by double or middle clicking on the tabbar 2009-01-13 20:50:17 +01:00
Christian Dywan
be224ba5f1 Clarify 'Trash couldn't be saved' in an i18n comment 2009-01-13 01:05:15 +01:00
Nick Schermer
a82dfb3f40 Add 2px space between tool buttons 2009-01-12 21:52:33 +01:00
Nick Schermer
6e11fad865 Correct titled case in Manage Search Engines dialog 2009-01-12 21:27:05 +01:00
Christian Dywan
c2f33d01b6 Add Show a dialog after Midori crashes to Preferences 2009-01-12 03:17:37 +01:00
Christian Dywan
0d24549112 Display a message if a document cannot be displayed 2009-01-12 00:26:45 +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
d55b6ddd00 Only set the proxy icon of the View if we have an item 2009-01-10 20:18:26 +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
626c5c904f Make Xfce headers look like the real thing 2009-01-09 23:59:39 +01:00
Nick Schermer
b6e33e5399 Implement 'full' debug-level and fix according warnings 2009-01-09 23:56:00 +01:00
Christian Dywan
43f48a9b43 Let glib-genmarshal write our marshallers 2009-01-08 02:29:07 +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
a74fa5b3cd Fix incorrect version conditionals for context groups 2009-01-08 01:49:54 +01:00
Christian Dywan
2c1b05913a Propagate mime icons from views to proxy items 2009-01-06 02:09:35 +01:00
Christian Dywan
aebd813c68 Update Waf to 1.5.2 and update build scripts accordingly 2009-01-05 20:23:56 +01:00
Christian Dywan
001945d86b Revisit the failed attempt to correct MidoriView 2009-01-05 18:41:45 +01:00
Christian Dywan
167af26029 Correct handling of settings in MidoriView 2009-01-04 21:50:07 +01:00
Christian Dywan
ee9e8d77e5 Update Waf to 1.5.1 and update build scripts accordingly 2009-01-04 21:38:06 +01:00
Christian Dywan
6bb3fb442e Various string changes and additions 2009-01-04 19:25:48 +01:00
Christian Dywan
ac146cbd78 Append the search term if a search lacks a '%s' 2009-01-02 23:16:38 +01:00
Christian Dywan
813a29de94 Obtain the MIME type from WebKit, for the icon and View Source 2009-01-02 02:28:04 +01:00
Christian Dywan
dcd6714d23 Don't use GJS types here, it isn't actually used 2009-01-01 04:05:26 +01:00
Christian Dywan
5d7dc29842 Allow choosing a folder when adding a bookmark 2009-01-01 03:52:43 +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
be9c907c7e Implement and make use of midori_app_create_browser 2008-12-25 00:39:35 +01:00
Christian Dywan
394eb4b002 Add the Enforce 96 DPI preference to the dialog 2008-12-23 23:15:36 +01:00
Christian Dywan
1b1d2f6e5f Don't install icon signals if GtkEntry has them already 2008-12-23 23:14:20 +01:00
Christian Dywan
995be8e6da Clean up handling of bookmarks like the history before 2008-12-21 20:44:31 +01:00
Christian Dywan
b8c2139d3f Revamp clearing of the history 2008-12-21 19:21:04 +01:00
Christian Dywan
d8ace08277 Miscellaneous improvements and cleanup in MidoriView 2008-12-21 17:52:10 +01:00
Christian Dywan
e633787b19 Remove forgotten debugging output from MidoriViewable 2008-12-20 00:31:16 +01:00
Christian Dywan
f059882742 Show even broken (not linking) extensions in the panel 2008-12-20 00:25:31 +01:00
Arnaud Renevier
993fb52644 Allow relative localhost URIs 2008-12-20 00:24:35 +01:00
Enrico Tröger
b88ba4094f Make the tool item label in the preferences selectable 2008-12-18 21:19:13 +01:00
Christian Dywan
2b188c4743 Don't connect to search buttons twice, and fix a pixbuf leak 2008-12-18 21:15:05 +01:00
Christian Dywan
c6865304ba Simplify the completion and make it work properly again 2008-12-18 05:02:52 +01:00
Enrico Tröger
88c7fbbb98 Allow adding separators to the navigationbar 2008-12-17 22:17:36 +01:00
Christian Dywan
1dc1744f7d Move location action iters completely to hash lookups
The startup of Midori is now about 10 times as fast
as it was without any hash table lookups.
2008-12-15 23:17:12 +01:00
Christian Dywan
0f78896660 Reimplement custom search engine icons 2008-12-15 21:20:39 +01:00
Christian Dywan
2c1f0574a6 Remove a hack which lead to a crash after the last change 2008-12-15 20:43:05 +01:00
Dale Whittaker
0fb55faf37 Actually remove history items with the Delete tool button 2008-12-15 20:12:51 +01:00
Christian Dywan
58b40bce38 Optimize location action, so Midori starts up twice as fast 2008-12-12 21:06:33 +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
c7a544877c Allow a NULL parent with MidoriPreferences 2008-12-12 10:14:17 +01:00
Christian Dywan
6b40913361 Actually emit "quit" even if a function quit the app 2008-12-12 10:12:33 +01:00
Christian Dywan
08af3f6773 Allow xfce_header_new to use a default icon 2008-12-12 10:11:45 +01:00
Christian Dywan
270822a0c4 Perform more fine grained libSoup version checks 2008-12-09 20:04:04 +01:00
Christian Dywan
89ac82d0d6 Assemble a version without git revision for ident strings 2008-12-09 02:22:58 +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
aeb71dd7b4 Add support for javascript: bookmarklets 2008-12-09 00:02:38 +01:00
Christian Dywan
426eb74c91 Support Mouse Back and Forward buttons 2008-12-08 23:45:38 +01:00
Christian Dywan
e20193a0b9 Add entry for Custom character encoding 2008-12-08 23:32:05 +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
e1075f1aae Link to GThread, to fix non-soup Midori with soup-WebKit 2008-12-08 23:15:05 +01:00
Christian Dywan
716fe0e9c5 Implement HTTP authentication with libSoup 2008-12-07 21:38:00 +01:00
Christian Dywan
191a613fc8 Share one session among all KatzeNet instances 2008-12-07 21:36:42 +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
6f4b895dfb Fix view context menu items such as View source 2008-12-06 14:25:42 +01:00
Christian Dywan
dc5ecc5f72 Respect menubar visibility when restoring from fullscreen 2008-12-06 04:53:30 +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
e1ca9028c7 Remove autotooled build system once and for all 2008-12-04 02:03:11 +01:00
Christian Dywan
d5e5821064 Move MidoriAddons to panels folder 2008-12-04 01:53:52 +01:00
Christian Dywan
c8e73b80a3 Move MidoriConsole to panels folder 2008-12-04 01:50:26 +01:00
Christian Dywan
b956a73914 Update panel handling according to latest changes 2008-12-04 01:45:32 +01:00
Christian Dywan
e4f401c7e7 Implement new Extensions panel, in the new folder extensions 2008-12-04 01:44:33 +01:00
Christian Dywan
b5e2146249 Add midori_extension_is_active 2008-12-04 01:42:02 +01:00
Christian Dywan
cfd3a47543 Implement MidoriViewable and "app" in MidoriConsole 2008-12-04 00:31:40 +01:00
Christian Dywan
c78f775142 Implement MidoriViewable in MidoriAddons 2008-12-03 23:57:37 +01:00
Christian Dywan
cc329ec706 Support opening of new windows
The preference determining where to open those windows
is not currently honored, so everything goes in a new tab.

Incidentally compile time checks guarding the web inspector
are replaced with runtime checks here, and the same
approach is used for the create-web-view signal. The
features are used if available.
2008-12-03 04:16:19 +01:00
Christian Dywan
cb5f646cf5 Enable Open pages in and Enable eveloper extras conditionally 2008-12-02 02:00:55 +01:00
Christian Dywan
a4e6720fd7 Localization string improvements 2008-11-30 02:08:28 +01:00
Christian Dywan
5f149946d6 Implement MIDORI_CHECK_VERSION for use in extensions 2008-11-30 01:22:03 +01:00
Christian Dywan
9b24d58553 Rename MidoriPane to MidoriView and add protocol support 2008-11-29 16:45:24 +01:00
Enrico Tröger
417493caa3 Don't use grep in sokoke_get_desktop and fix memory leaks 2008-11-29 00:16:57 +01:00
Christian Dywan
30572a2b73 Add API to extensions for deactivating and configuration 2008-11-28 23:56:30 +01:00
Christian Dywan
2bc42bfd8d Remove the page holder from the core 2008-11-25 23:55:54 +01:00
Christian Dywan
687179a747 Tab labels should adjust to the notebook orientation 2008-11-25 23:51:10 +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
Christian Dywan
5a2f5b9b12 Fix clipboard menu items and do some tidying 2008-11-23 01:44:40 +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
418f4dac12 Remove unused sokoke completion helpers 2008-11-21 02:46:47 +01:00