Commit graph

98 commits

Author SHA1 Message Date
Christian Dywan
3201370b60 Fix warnings about HAVE_JSCORE not being defined 2009-07-20 23:27:06 +02:00
Christian Dywan
7a3535afac Load data files from system data dirs
A new helper function in sokoke is added to keep the code simple.
2009-07-20 09:10:53 +02:00
Christian Dywan
e8ffec6b28 Don't use bold, borderless frames on Win32 2009-07-20 08:12:41 +02:00
Christian Dywan
ba11ec8acd Open the search engine even if only the token is typed
So "g" opens Google while "g cat" uses Google to search for cats.
2009-07-14 23:41:25 +02:00
Christian Dywan
397dd423bd Draw radio action popup menu items as radio items 2009-06-22 23:03:59 +02:00
Christian Dywan
d23ea3a098 Add STOCK_WEB_BROWSER to the stock items 2009-06-22 21:31:42 +02:00
Christian Dywan
f96695632b Always create array actions for popup menu items the normal way 2009-06-22 21:30:28 +02:00
Christian Dywan
491b89bcb3 Adjust mnemonics to not conflict when used in the same context 2009-06-11 23:57:42 +02:00
Christian Dywan
0f5e13e706 Allow building without JSCore and do so for mingw 2009-06-06 18:51:57 +02:00
Christian Dywan
fb316e7873 Use MDATA instead of DATA to avoid naming conflict
The header file objidl.h on Windows uses DATA in a different way,
so we need to avoid that name.
2009-06-06 06:22:35 +02:00
Christian Dywan
0c6d0420b3 Remove superuser warning completely 2009-05-17 02:53:57 +02:00
Christian Dywan
4c2a3f5bb7 Support custom sizes of icons in res_server 2009-05-15 23:08:52 +02:00
Enrico Tröger
90e9ee4af7 Fix crash for URIs with an invalid hostname and without a path 2009-05-15 18:58:57 +02:00
Christian Dywan
465ff4d0ff Include compat.h in sokoke 2009-05-12 01:41:15 +02:00
Christian Dywan
b5a534b363 Replace variables in templates literally 2009-05-10 16:20:50 +02:00
Christian Dywan
b1815fb63c Implement /stock path in res_server 2009-05-08 13:13:08 +02:00
Alexander Butenko
fc14fb7a0b Restrict res_server to listen only to localhost 2009-05-05 23:32:38 +02:00
Christian Dywan
c5eba36cf4 Reject non-local requests to the res_server
This sever is solely meant to provide internal resources and
should not be accessible from outside, so anything non-local
is blocked with a No Content error.
2009-05-04 01:09:52 +02:00
Christian Dywan
b6dde64875 Return the correct content type in res_server responses 2009-05-04 00:51:14 +02:00
Christian Dywan
7d0d2d60bc Add sokoke_replace_variables 2009-05-02 21:38:43 +02:00
Christian Dywan
d6721f09b0 Add sokoke_get_res_server 2009-05-02 21:36:09 +02:00
Christian Dywan
10426983b0 Fail silently on xprop errors when determining the environment 2009-04-27 17:46:04 +02:00
Christian Dywan
d328d2afab Implement transfer completion notification via libnotify 2009-04-27 00:22:16 +02:00
Christian Dywan
90d9e85167 Refer to 'Netscape plugins' instead of 'plugins'
A remarkable amount of people have problems telling 'plugins'
and 'extensions' apart, due to their different meaning in
different applications. So make it clearer.
2009-04-25 16:13:23 +02:00
Dale Whittaker
b7f684b345 Implement sokoke_key_file_get_string_list_default 2009-04-25 16:00:51 +02:00
Christian Dywan
c31d9936d9 Fix a crash when failing to open a downloaded file 2009-04-24 20:13:57 +02:00
Christian Dywan
ca8d181329 Unify opening URIs externally with good fallbacks 2009-04-20 19:10:13 +02:00
Christian Dywan
192084d48e Unify how search URI and keywords are combined
This handles the presence of a %1 and encoding the keywords.
2009-04-20 00:39:36 +02:00
Christian Dywan
d7d6edbff3 Percent encode search terms, so '+' actually ends up as a '+' 2009-04-19 00:47:02 +02:00
Christian Dywan
ad82a73ab8 Show only image buttons in Statusbar Features in statusbar 2009-04-17 03:16:37 +02:00
Christian Dywan
c27642e912 Display the news feed icon again
The code for looking up news feeds on websites was disabled
and is now back in simplified form. 'liferea-add-feed' is
hardcoded for the moment.
2009-04-13 22:40:57 +02:00
Christian Dywan
89698772bb Try to decide what an @ in a location refers to
We assume the usual case is that you intend to search for an
email address, a host with a login isn't recognized.
2009-04-12 14:00:32 +02:00
Jordan Callicoat
52ab540db5 Teach magic_uri that hostnames don't contain spaces
New test cases included. Two of them are commented out since
they are not supported but should logcially be.
2009-04-11 12:24:43 +02:00
Christian Dywan
a9ea07389a Implement Clear Private Data dialogue 2009-04-11 05:14:53 +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
Enrico Tröger
ad8558ab4c Implement stock items for Tab Panel and plugin panel 2009-04-05 00:13:09 +02:00
Christian Dywan
406942594a Allow opening data URIs from the location entry 2009-04-02 22:48:07 +02:00
Christian Dywan
3ecfecb555 Optimize sokoke_magic_uri for better performance 2009-03-31 03:28:01 +02:00
Christian Dywan
73b26c53f9 Support mailto: by passing it to gtk_show_uri or Exo 2009-03-26 23:46:36 +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
d9bdaf0f8c Restrict IDN conversion to hostname 2009-02-23 23:44:30 +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
bbe809cacf Support IDN by decoding domain names in magic_uri 2009-02-17 00:16:14 +01:00
Christian Dywan
60e81f734b Tweak magic URI and add a test string 2009-02-09 22:03:04 +01:00
Christian Dywan
7d3ac8fa37 Move {sokoke,katze}_tree_view_get_selected_iter proper 2009-01-28 01:08:51 +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
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
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