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