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
e9c9886265
Remove GJS, it's not used anymore
2009-03-31 18:04:17 +02:00
Christian Dywan
3ecfecb555
Optimize sokoke_magic_uri for better performance
2009-03-31 03:28:01 +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
ed2a35d70b
Don't expressly use libkatze in extensions to avoid -fPIC problem
2009-03-30 00:14:43 +02:00
Christian Dywan
5df04ae2c9
Do not use long texts in the preferences but in tooltips
2009-03-28 23:12:08 +01:00
Christian Dywan
3a36d27d6f
Add BookmarkAdd to dummy menu items
...
This fixes a warning about an accelerator and in some cases
even a crash when opening the bookmarks menu.
2009-03-28 21:00:11 +01:00
Enrico Tröger
f34223e55d
Only append separator to bookmarks if the array isn't empty
2009-03-28 20:57:42 +01: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
1e68d8fa40
Use the file icon in the download dialog if possible
2009-03-27 00:40:28 +01:00
Christian Dywan
73b26c53f9
Support mailto: by passing it to gtk_show_uri or Exo
2009-03-26 23:46:36 +01:00
Christian Dywan
e6ea06afd3
Display only the MIME type if there is no description
2009-03-26 22:37:33 +01:00
Christian Dywan
164bd5b265
Add midori_extension_get_app and enforce a valid app
...
We change the deactivation so that an extension is regarded as
active until the 'deactivate' signal was processed. And we
define that 'activate' must be called with a valid app.
2009-03-25 02:07:27 +01:00
Christian Dywan
d0a947528c
Always lookup an item to find a radio group
...
Storing a group isn't good enough because as soon as an item is
removed that group is invalid and can't be reused anymore.
2009-03-25 02:04:41 +01:00
Christian Dywan
fce6761870
Save tab reordering to the session
2009-03-24 23:54:37 +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
Christian Dywan
1aa158d78f
Add a missing variable declaration
2009-03-23 21:09:29 +01:00
Enrico Tröger
ded346905c
Properly initialize tooltips instance to NULL
2009-03-23 00:58:33 +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
50690c89e6
Add add-download signal to MidoriBrowser
2009-03-22 15:24:40 +01:00
Christian Dywan
d9f2cf492b
Reduce the width of individual download items
2009-03-21 20:17:23 +01:00
Christian Dywan
e5d1f36561
Provide a Clear button for cancelled downloads
2009-03-21 20:08:37 +01:00
Christian Dywan
863f2db611
Always reset the flag to open the downloaded file
2009-03-21 20:07:38 +01:00
Christian Dywan
9e76f7e072
Move download dialog to the view and don't show an error page
...
We have to handle the dialog when the MIME type is requested,
otherwise we don't know the type. Plus we stop the loading now
to avoid seeing an error page.
2009-03-21 15:06:57 +01:00
Christian Dywan
9be395fe9e
Implement the 'open' button in the download dialog
2009-03-21 10:46:25 +01:00
Christian Dywan
42027c256b
Show a dialog before downloading asking what to do
2009-03-21 00:40:03 +01:00
Christian Dywan
81717cc965
Remove items from the transferbar when they are opened
2009-03-21 00:11:29 +01:00
Christian Dywan
feed868ec2
Implement opening of downloaded files
2009-03-21 00:08:22 +01:00
Christian Dywan
99fc5f2e4a
Allow showing/ hiding the transferbar
2009-03-20 23:55:38 +01:00
Christian Dywan
2421a3163f
Strip selection from spaces when middle click opening
...
It happens every so often that you quickly select an address
and there's leading or trailing space you accidentally hit.
So we strip the selection, otherwise such addresses don't work.
2009-03-19 23:40:31 +01:00
Christian Dywan
7af8baee8b
Initial support for WebKitDownload
...
At this point all downloads run automatically and appear in the
statusbar. The destination folder can be chosen in the preferences.
Download can be cancelled. The context menu works as well.
2009-03-19 18:28:50 +01:00
Christian Dywan
bbaa0fb9e6
Implement source view with GIO and drop internal source view
...
We use GIO to choose a text editor unless a text editor was
specified in the Preferences. We drop our internal source view
now which used to serve as a fallback.
2009-03-17 21:35:05 +01:00
Christian Dywan
dba291d3ba
Drop WebKit/ libSoup related conditonals from preferences
2009-03-16 23:55:25 +01:00
Christian Dywan
d30c2aa62d
Drop soup session hijacking
2009-03-16 02:13:35 +01:00
Christian Dywan
424cca0b66
Drop WebKit and libSoup version conditionals in WebSettings
2009-03-16 02:05:45 +01:00
Christian Dywan
b40c7b0f87
Drop compile time and runtime conditionals for libSoup and WebKit
2009-03-16 01:54:22 +01:00
Christian Dywan
8e7c445482
Drop Glib < 2.16 and WebKitGTK+ < 1.1.1 compat functions
2009-03-16 01:26:52 +01:00
Christian Dywan
13dc1502c8
Use gtk_show_uri, GIO or Exo to open email adresses
2009-03-16 01:21:59 +01:00
Christian Dywan
cea8294a18
Enclose MIME type in single quotes in the error message
2009-03-15 18:44:16 +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
60d5452b5e
Implement a button to use the current page as homepage
2009-03-05 23:36:13 +01:00
Christian Dywan
7c10d2078a
Make sure there actually is a web view when returning the level
2009-03-05 23:09:22 +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
7708e90214
Implement bypassing cache when reloading with Shift
2009-03-04 23:23:23 +01:00
Enrico Tröger
40f36328c2
Add WebKit version check to compat.h and use it in Preferences
2009-03-04 23:07:29 +01:00
Christian Dywan
abf30976af
Always show Network and Cookie prefs if we have WebKitGTK+ 1.1.1
2009-03-04 02:04:37 +01:00
Christian Dywan
d9f90f13e6
Avoid having no main frame, this fixes a g_signal_connect warning
2009-03-04 02:03:38 +01:00
Christian Dywan
5e458d2a5a
Disable Find inline while typing by default
...
Some web pages make heavy use of hotkeys with a single letter.
2009-03-03 01:02:28 +01:00
Christian Dywan
e12716c917
Update copyright year in --version and about dialog
2009-03-01 21:00:06 +01:00
Christian Dywan
2433019856
Mention the MIME type of a document that cannot be displayed.
2009-03-01 20:21:35 +01:00
Christian Dywan
73feaf9ae1
Add a Preference to disable automatic inline find while typing
2009-03-01 19:21:27 +01:00
Christian Dywan
0380d8bd2e
Use libSoup to percent decode scripts, ie. bookmarklets
2009-03-01 00:29:44 +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
Christian Dywan
f799af8c0c
Report to the web view we didn't handle if the MIME type is fine
...
This caused blank pages to erroneously look as thought they were
loading infinitely. In fact it is due to a bug in WebKit that
this ever worked at all.
2009-02-28 22:33:37 +01:00
Christian Dywan
8ec0e53441
Check for settings and views more properly
...
These improvements were assisted by a test case that is
going to follow soon.
2009-02-28 14:05:01 +01:00
Christian Dywan
5b2380433b
Only apply settings on the web view if we actually have any
2009-02-28 14:03:23 +01:00
Christian Dywan
c02e181750
Only disconnect signals when we actually have search engines
2009-02-28 14:02:36 +01:00
Christian Dywan
68f00fb31c
Add function to obtain the action group of the browser
2009-02-28 04:15:16 +01:00
Matthias Kruk
7ff1a016f4
Implement activating and deactivating extensions in the panel
2009-02-28 01:59:06 +01:00
Christian Dywan
9c4d3ea62a
Implement Encoding menu
2009-02-27 23:09:36 +01:00
Christian Dywan
0ddf1bd1b2
Implement 'Open all in Tabs' for bookmark folders and history
2009-02-27 21:52:51 +01:00
Enrico Tröger
498232b805
Fix memory leaks in IDN handling and exclude file:// URIs
2009-02-27 20:59:23 +01:00
Christian Dywan
edce7d348b
Reflect completion selection directly in the entry
2009-02-24 23:56:28 +01:00
Matthias Kruk
1f00d2ed14
Remove any left timeouts if the browser is destroyed
2009-02-24 22:59:18 +01:00
Christian Dywan
69aa3bfdd9
Enable changing the containing folder of bookmarks
2009-02-24 00:17:21 +01:00
Christian Dywan
d9bdaf0f8c
Restrict IDN conversion to hostname
2009-02-23 23:44:30 +01:00
Johannes Reinhardt
1d8de6e72d
Fix #ifdefs for building without libxml or sqlite
2009-02-22 22:39:08 +01:00
Christian Dywan
254c4dd846
Correct default values of some preferences
2009-02-22 19:29:08 +01:00
Christian Dywan
6e2b0872a0
Wrap lines in source views
2009-02-22 19:24:52 +01:00
Christian Dywan
94532ab9f8
Add a button to change the alignment to the panel
2009-02-22 19:23:45 +01:00
Christian Dywan
e354f8e17b
Fix highlighted matches in 'typing' mode
2009-02-22 16:17:32 +01:00
Christian Dywan
9662e99354
Do not actually search less than 3 characters in 'typing' search
2009-02-22 16:12:58 +01:00
Christian Dywan
30729676db
Flip the toolbar of the panel as well when aligning it to the right
2009-02-22 16:03:08 +01:00
Christian Dywan
2347045245
Cancel 'typing' search when the entry loses its focus
2009-02-22 15:36:41 +01:00
Dale Whittaker
0d1a1edaaa
Save the normal window size, not the maximized size
2009-02-22 14:42:27 +01:00
Christian Dywan
ba9d7d48e5
Fix browser properties along with enabling the property test
2009-02-22 14:38:28 +01:00
Christian Dywan
ca8d22b9b4
Implement "right-align-sidepanel" to align the panel on the right
2009-02-22 03:51:10 +01:00
Christian Dywan
cbe3e75e80
Add a "New folder" button to the bookmark panel
2009-02-22 03:11:40 +01:00
Christian Dywan
f022a72a42
Focus the web view after cancelling an inline find
2009-02-22 02:47:30 +01:00
Christian Dywan
440e3cf72b
Hide find options and close button in 'typing' search
2009-02-22 02:34:21 +01:00
Christian Dywan
d2c5d89def
Make sure we exclude control characters from search
2009-02-22 02:20:04 +01:00
Christian Dywan
fb48e0c647
Actually search after every character in 'typing' search
2009-02-22 02:17:58 +01:00
Christian Dywan
51c6fb1cdf
Implement a primitive find-as-you-type
2009-02-22 01:45:22 +01:00
Christian Dywan
3baab132b9
Don't try to setup search engines when unsetting
2009-02-22 00:13:00 +01:00
Christian Dywan
758d5e1a1b
Add a missing check whether 'settings' are set
2009-02-22 00:12:18 +01:00
Christian Dywan
3d42b7453a
Load documentation as a proper file:// URI
2009-02-22 00:04:28 +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
a177ac67b9
Emit a warning when trying to get or set a non-existing setting
2009-02-21 23:16:44 +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
f5e6006954
Remove destroy callback from web view
2009-02-21 22:12:34 +01:00
Christian Dywan
1c7a84ec9f
Propagate the bookmarks to the callback, fixes editing bookmarks
2009-02-20 22:38:18 +01:00
Christian Dywan
2cd86150e4
Add boolean and integer settings to MidoriExtension, with tests
2009-02-20 20:24:13 +01:00
Christian Dywan
514c6965c7
Check if 'search engines' are actually set
2009-02-19 23:40:00 +01:00
Christian Dywan
4ab9bd74e7
Check if there really is a SearchAction proxy
2009-02-19 23:36:04 +01:00
Christian Dywan
b40b906e2e
Allow setting the SearchAction text to be set to NULL
2009-02-19 23:34:16 +01:00
Christian Dywan
627e585db5
Export midori_dummy_viewable_new for use in tests
2009-02-19 23:30:08 +01:00
Christian Dywan
aebd111453
Fix mime-type and icon property lookup
2009-02-19 23:04:47 +01:00
Christian Dywan
ad13d2e8a2
Make Preferences property readable
2009-02-19 22:57:51 +01:00
Christian Dywan
33e5bb7134
Make LocationAction properties readable
2009-02-19 22:27:19 +01:00
Christian Dywan
19ee2c16bf
Handle running MidoriApp with no display
2009-02-19 02:34:05 +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
3763990c3a
Correct MidoriWindowState definition, this fixes window state saving
2009-02-17 17:55:18 +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
bbe809cacf
Support IDN by decoding domain names in magic_uri
2009-02-17 00:16:14 +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
1c029e8948
Build 'panels' as a static library to enable their use in tests
2009-02-15 22:09:32 +01:00
Christian Dywan
3535c6e767
Localize menu items provided by WebKit
2009-02-14 13:30:10 +01:00
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
Christian Dywan
600423de4e
Take special care of spaces in search strings
2008-11-21 02:44:03 +01:00
Christian Dywan
fdb12aa537
Move transfers, console and addons out of the browser
2008-11-20 03:49:57 +01:00
Christian Dywan
ab747a427f
Let MidoriApp be a normal instance
...
There is hardly a practical need for the application
to be a singleton, it's cleaner and it prevents
extensions from reaching out for it before activation.
2008-11-20 01:49:04 +01:00
Christian Dywan
03ffd05e0a
Do not load icons other than in tabs
2008-11-20 01:41:58 +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
Brian Vuyk
dc59d66eb9
Print file saving errors to the standard output
2008-11-18 23:18:53 +01:00
Christian Dywan
58cb93d900
Use katze_object_get_foo instead of sokoke_object_get_foo
2008-11-18 23:10:21 +01:00
Christian Dywan
79cbcd0886
Make libxml technically optional, while it remains mandatory
2008-11-18 22:26:06 +01:00
Christian Dywan
166a7e48e0
Malloc in bytes, not characters, and don't copy freed memory
...
This was teamwork of Brian, Enrico and me.
2008-11-18 22:00:38 +01:00
Christian Dywan
56d26b02e5
Allow "g cache:127.0.0.1" to search from the location
2008-11-18 06:37:11 +01:00
Dale Whittaker
e505942314
Highlight completion matches while preserving the case
2008-11-18 03:01:33 +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
Christian Dywan
33804965a1
Expose browser notebook and panel as properties
2008-11-18 02:02:59 +01:00
Christian Dywan
5a1b766a43
Fix MidoriApp so that add-browser is actually usable
2008-11-18 02:01:30 +01:00
Christian Dywan
24ca48cc1e
Move variable declarations to the beginnings of blocks
2008-11-16 02:00:17 +01:00
Enrico Tröger
c49ed67ab0
Correct usage of datatypes in a number of places
2008-11-16 01:04:12 +01:00
Christian Dywan
b9a183c316
Allow ":" as in "foo:bar" to search from the location
2008-11-16 00:36:32 +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
e019c677bb
Arrange file saving for error handling to fix warnings
2008-11-16 00:10:39 +01:00
Christian Dywan
7863d0f7fd
Introduce unit tests for automated testing
...
The first one is a test for sokoke_magic_uri and
it already helped improving the function.
2008-11-14 02:46:23 +01:00
Brian Vuyk
0b16997f1a
Fix some compiler warnings
2008-11-12 02:15:52 +01:00
Enrico Tröger
bd65ef323b
Make mouse click handling more consistent
2008-11-12 00:47:09 +01:00
Enrico Tröger
30086f10ed
Use custom key modifier mask
2008-11-12 00:16:03 +01:00
Enrico Tröger
c634ff7395
Use event->state instead of manually retrieving the state
2008-11-11 23:42:22 +01:00
Alexander Hesse
819dfd8d77
Open links in new tabs using Control and Left mouse button
2008-11-11 22:12:26 +01:00
Christian Dywan
9e997e4c90
Update location icon even if it's not in the history
2008-11-11 00:51:28 +01:00
Christian Dywan
91e2cb4129
Unset the tab icon if it is destroyed
2008-11-10 22:02:43 +01:00
Christian Dywan
aafd8df413
Expressly say Print background *images*
2008-11-10 03:04:35 +01:00
Christian Dywan
1b148cca67
Repair completion popup to actually open the selection
2008-11-10 03:03:36 +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
38c6ad5dad
Implement Save As for arbitrary links
2008-11-09 22:07:42 +01:00
Christian Dywan
7c63a0b480
Make Open selected URL in New Tab work again
2008-11-09 19:51:12 +01:00
Christian Dywan
9e79f6ba14
Move around history loading in MidoriBrowser
2008-11-09 19:26:48 +01:00
Christian Dywan
87092babef
Move completion logic from LocationEntry to LocationAction
...
This resolves various indirections, and since we are always
using the action anyway, we finally move all logic to one
place. There should be room for optimizations now.
Incidentally this also keeps the completion intact if
the entry needs to be recreated.
2008-11-09 19:09:35 +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
7ac9c7787b
Conditionally silence JavaScriptCore deprecation warning
2008-11-06 01:51:46 +01:00
Christian Dywan
4670a9ca2e
Bolden completion matches and gray URIs instead of small font
2008-11-06 01:40:06 +01:00
Christian Dywan
dad59bf505
Remove unused gdk_pixbuf_new_from_stream and sokoke_web_icon
2008-11-06 01:36:57 +01:00
Christian Dywan
9e9365a221
Small adjustments to the History panel
...
Based on suggestions by Dale
2008-11-06 01:32:42 +01:00
Christian Dywan
6159e49018
Show title in location combo and the URI below in small font
2008-11-04 02:50:25 +01:00
Dale Whittaker
50e078e728
Implement history based auto completion in the location
2008-11-04 02:10:51 +01:00
Christian Dywan
dbcfce4197
Improve strings for the sake of better localization
2008-11-03 00:17:43 +01:00
Christian Dywan
02751ee575
Simplify Download menu item and hide WebKit's item
2008-11-01 19:25:13 +01:00
Christian Dywan
017c4d5d6f
Correct erroneous strings
2008-11-01 19:19:28 +01:00
Christian Dywan
96ddc8ae0a
Initial support for the Web Inspector
2008-11-01 19:15:58 +01:00
Christian Dywan
d8edb2f05d
Marge some more of history and bookmark handling
2008-10-31 01:38:18 +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
d1b64e6d48
Fix tab icon alignment and hiding throbber fallback when needed
2008-10-30 22:17:19 +01:00
Christian Dywan
80128d9315
Apply some cleanup with regard to referencing and more
2008-10-30 02:21:19 +01:00
Christian Dywan
0a65f30926
Refactor bookmark context menu, apply it on the bookmarkbar
2008-10-30 02:19:52 +01:00
Dale Whittaker
973b149c5e
Allow adding bookmarks from history items
2008-10-29 03:43:08 +01:00
Dale Whittaker
f7c1edacbe
Limit the number of items in the location popup
2008-10-27 22:44:19 +01:00
Christian Dywan
4a3501a279
Share net between browser and views
2008-10-27 04:23:41 +01:00
Christian Dywan
f5f1946c89
Preserve location entry model beyond widget lifetime
2008-10-27 03:35:37 +01:00
Dale Whittaker
70516f1f5b
First stab at integration history with the location
...
For starters, the location contains items from the
history and not only from the current session.
2008-10-27 03:12:09 +01:00
Christian Dywan
23e784922e
Revamp bookmarkbar items based on KatzeArrayAction
...
Some refactoring in KatzeArrayAction and the addition
of a function to create arbitrary bookmark tool items
allows us to easily revamp the bookmarkbar so that
it finally reflectls changes to the bookmarks,
including adding and removing items.
2008-10-26 22:22:26 +01:00
Enrico Tröger
7a7353e6fd
Implement middle click on bookmarkbar items
2008-10-26 18:39:06 +01:00
Christian Dywan
e83f93742d
Change tab components again, correct close button placement
2008-10-26 17:08:26 +01:00
Christian Dywan
819bcd6444
Implement Save As functionality
2008-10-26 17:07:59 +01:00
Christian Dywan
7a623745cd
Use our own labels for WebKit Settings properties
2008-10-26 01:48:21 +02:00
Christian Dywan
c82624f16a
Change tab close buttons so they are less missaligned
2008-10-26 01:36:15 +02:00
Christian Dywan
b931e1bf53
Improve OSX adjustments in various places
2008-10-26 00:54:57 +02:00
Christian Dywan
1f915eb58a
Show icons of programs in complex commands as well
2008-10-25 16:21:07 +02:00
Christian Dywan
e1dd0194b1
Set a default Find icon in Search if engines are empty
2008-10-24 19:29:57 +02:00
Dale Whittaker
307050c42a
Display relative dates in History panel
2008-10-24 01:35:34 +02:00
Enrico Tröger
5e8887a699
Preserve extensions for viewing source files
2008-10-24 01:15:43 +02:00
Enrico Tröger
cb1fde09fe
Don't needlessly create text buffers
2008-10-24 00:54:28 +02:00
Christian Dywan
dd45aed139
Blank tabs should be titled "Blank page".
2008-10-24 00:25:17 +02:00
Christian Dywan
f14c2ff70f
Set tooltips on the sidepanel toolbar
2008-10-24 00:21:04 +02:00
Christian Dywan
d26c50f2d4
Explicitly build with GIO again, Gtk < 2.14 needs that
2008-10-24 00:19:04 +02:00
Christian Dywan
5c69e0269d
Implement KatzeNet as a generic URI loader
...
KatzeNet can from now on be used where
URIs are handled and one would have used
libSoup and/ or local file handling as
appropriate, whereas KatzeNet does both.
Since we are displaying icons in several
places KatzeNet also provides an icon
loader that saves us from doublicating
even more code.
All bookmarks and also history items have
icons now, since KatzeNet makes that
incredibly easy.
Search engines are also using favicons
now, and right now custom icons don't
work, we still need to fix that.
Note that only icons are cached, nothing
else and the code is known to have a
hidden, hard to reproduce crasher which
may appear when an icon is newly loaded.
2008-10-24 00:09:12 +02:00
Christian Dywan
bd111d485c
Show all of Toolsbars in the toolbar context menu
2008-10-22 00:28:49 +02:00
Christian Dywan
9ba3f59ff7
Show progress in location independant of statusbar visibility
2008-10-22 00:26:20 +02:00
Christian Dywan
2c90d97a7b
Use Yes and No without labels in Addon toolbars
2008-10-22 00:05:04 +02:00
Christian Dywan
62d7a7d0b4
Add Compact sidepanel Preference
2008-10-22 00:01:01 +02:00
Enrico Tröger
839d692ec4
Focus the location when remotely opening a new window
2008-10-21 22:59:57 +02:00
Christian Dywan
01fc5594bd
Don't use the icon "page-holder", it doesn't exist
2008-10-21 22:52:30 +02:00
Christian Dywan
74a34277e0
Add source view icons to the location
2008-10-20 22:25:51 +02:00
Christian Dywan
df12b9acb9
Implement View source with external Text editor
2008-10-20 21:32:25 +02:00
Christian Dywan
2fccaa1bea
Add an Open external pages in Preference
2008-10-20 08:50:16 +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
Christian Dywan
cf854d9617
Remove support for GtkSourceView
2008-10-19 22:53:51 +02:00
Christian Dywan
a6e4d7b84b
Load and cache favicons with libsoup instead of GIO
...
The previous code relied on GIO implementing HTTP
with libsoup, so this is effectively not a new
dependency. And since many people don't have GVfs
and even if they do, somehow GIO doesn't work as
good as one should expect, direct use of libsoup
is actually an improvement. Plus the new code
caches icons on disk which we didn't do before.
2008-10-19 22:18:07 +02:00
Christian Dywan
a08b760d4e
Add g_strcmp0 to compat, it's Glib 2.16
2008-10-19 01:52:21 +02:00
Enrico Tröger
3f78fc132e
Compare strings with strcmp, this fixes icons in the location
2008-10-19 01:32:38 +02:00
Christian Dywan
567e402eaa
Make the pageholder work again
2008-10-19 00:15:02 +02:00
Christian Dywan
952729e4ae
Show URL in New Tab menu item only over selections
2008-10-18 23:21:06 +02:00
Enrico Tröger
51d111d85c
Optimize view popup population
2008-10-18 22:50:58 +02:00
Arnaud Renevier
3a9071a761
Skip non-strings when loading or saving search engines
2008-10-18 22:08:51 +02:00
Christian Dywan
8ad5649422
Assign Settings to source views
2008-10-18 21:56:53 +02:00
Christian Dywan
26ac7a379d
List some tool items in Preferences
2008-10-18 21:48:41 +02:00
Christian Dywan
fa9becaf83
Properly reset Manage Search Engines dialog pointer
2008-10-18 00:06:47 +02:00
Christian Dywan
5ec06f6d2e
Add UndoTabClose to the Dummy menu
2008-10-17 23:53:20 +02:00
Christian Dywan
d53ef7c92f
Show toolbar menu when right-clicking the menubar
2008-10-17 23:30:31 +02:00
Christian Dywan
741c5b953a
Properly create unfullscreen button with the toolbar
2008-10-17 23:18:56 +02:00
Christian Dywan
7b82ccc139
Open all bookmarks in the current tab
2008-10-17 23:15:37 +02:00
Christian Dywan
3f5ac14b45
Disconnect view settings notification in finalize
2008-10-17 21:12:16 +02:00
Christian Dywan
171030a3a8
Initialize a variable to avoid a warning
2008-10-17 20:56:56 +02:00
Enrico Tröger
6eefea515e
Correct build dependencies in midori/wscript_build
2008-10-17 20:52:39 +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
Brandon Mercer
43b1959762
Don't search if there's a colon (:) in a domain
2008-10-16 20:29:58 +02:00
Christian Dywan
7849f28e08
Display a shaded logo in error pages
2008-10-16 03:51:39 +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
ae14651145
Implement OSX Preferences style on OSX
2008-10-16 00:58:22 +02:00
Christian Dywan
58255d19aa
Do not localize object properties, except WebSettings
...
Property name localization is only useful if the
strings are meant to be used in a user interface,
such as is the case with WebSettings, or for
graphical interface builders, which are not of
our concern, since we don't use Glade and friends
and nobody else is going to use our widgets.
In short, make translation work much easier.
2008-10-15 03:32:11 +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
d72579711c
Implement the Remeber last visited pages preference
2008-10-13 18:29:46 +02:00
Christian Dywan
68cf3388f6
Make sqlite history storage truly optional
2008-10-13 17:50:07 +02:00
Christian Dywan
36a99b9d22
Allow hiding the menubar and showing it again
2008-10-12 22:09:49 +02:00
Christian Dywan
552854c11f
Keep otherwise unused actions in a Dummy
...
This is needed for accelerators to work even
if the according actions are not part of the
permanent UI description.
2008-10-12 21:44:00 +02:00
Christian Dywan
91ea115171
Create navigationbar from a string of actions
2008-10-12 18:25:26 +02:00
Christian Dywan
b7bc4af7ce
Make titles show URIs again instead of only about:blank
2008-10-12 15:33:28 +02:00
Christian Dywan
c1aff9030f
Add license note to lots of files and add EXPAT file.
2008-10-11 07:27:52 +02:00
Christian Dywan
cee341f407
Add --single-process command line option
2008-10-11 05:53:59 +02:00
Christian Dywan
9f2418d455
Focus tabs remotely opend in the running instance
2008-10-11 04:02:34 +02:00
Christian Dywan
1bc9238f87
Actually remove old items from the trash again
2008-10-11 03:36:57 +02:00
Dale Whittaker
77a813dba2
Show a dialog before clearing the history
...
Plus you can now remove history items with Del.
2008-10-10 23:19:37 +02:00
Christian Dywan
52c9eca92a
Notify when the current item changes
...
This fixes the browser not using the chosen
search engine at all.
2008-10-10 23:00:33 +02:00
Christian Dywan
06aa03c6a6
Prevent blank pages from landing in the trash
...
This actually used to work but meanwhile the
definition of a blank view changed.
2008-10-10 22:50:56 +02:00
Christian Dywan
e1b828edf2
Finish refactoring the toolbar to use only actions
...
Finally the trash, which was the last item that
needed to be implemented as an action, is an
action, a KatzeArrayAction to be exact.
This simplifies more code and also makes Window
and RecentlyVisited generically implementable.
Incidentally this change also fixes a bug where
the browser tried to add a new tab when the last
one was closed, even while destroying itself.
Furthermore sokoke_image_menu_item_ellipsized
and sokoke_widget_popup were promoted to Katze.
We're still keeping the old functions for now.
2008-10-10 22:31:37 +02:00
Brandon Mercer
16e47a6a1f
Don't use 'stdin' or 'stdout' as variable names
2008-10-08 15:45:34 +02:00
Christian Dywan
9abfe87be9
The URI of blank tabs is "", the title is "about:blank".
...
Something in the stack seems to magically turn
empty strings into about:blank, which is a problem
if we want to be able to start typing right away
when opening blank tabs.
We simply enforce the desired behaviour now.
2008-10-07 22:30:09 +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
a13f8b64b3
Remove the proxy hack, it's not reliable at all
2008-10-06 00:27:25 +02:00
Christian Dywan
ba6386850e
Implement the search widget as an action
...
The most part of the search entry code is merely
moved to the new action. We remove the original
entry now, the action is all we need.
2008-10-05 23:25:02 +02:00
Christian Dywan
aa5602ec9e
Add Always Show Tabbar preference
2008-10-04 01:45:17 +02:00
Christian Dywan
f7436303f6
Move Find items to Edit again
2008-10-04 01:00:34 +02:00
Christian Dywan
ba681359f5
Undo the Primary Clipboard hack, WebKit has it now
2008-10-04 00:56:05 +02:00
Christian Dywan
5eb74b6bf3
Connect Help in Preferences to HelpContents
2008-10-04 00:46:54 +02:00
Christian Dywan
8953a9b26b
Integrate documentation, bug tracker and website
2008-10-03 22:23:00 +02:00
Christian Dywan
c36784229c
Make sure to present the window when opening a tab
2008-10-03 05:45:10 +02:00
Christian Dywan
1801298731
Remove User stylesheet entirely, don't support it
2008-10-03 03:44:16 +02:00