Commit graph

155 commits

Author SHA1 Message Date
Christian Dywan
9abb753cc4 Remove sqlite header check, it turns out to be wrong 2008-11-08 13:12:54 +01:00
Christian Dywan
3c450ebc97 Introduce descriptive comments meant to help translators
intltool automatically embeds comments in the po template
if they are directly before a translatable string. From
now on we will try to avoid leaving accidental comments
and instead put descriptive comments for translators
before strings, starting with 'i18n'.
2008-11-08 03:05:30 +01:00
Dale Whittaker
0246eeb124 Implement sorting location items by the number of visits
For the moment, a define in the code decides whether items
are sorted based on when they were added or how often
a page was visited. The 'visits' property and respective
database column is unused (we keep it for compatibility).
It turns out it's enough to store that information in
the tree model.

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

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

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

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

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

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

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

As a bonus, we actually save the trash again.
2008-08-31 20:48:13 +02:00
Christian Dywan
bf28e1097b Rework MidoriWebList into KatzeList and KatzeArray 2008-08-26 01:19:38 +02:00
Christian Dywan
74a587f5e8 Use #if instead of #ifdef consistently 2008-08-23 23:44:55 +02:00
Christian Dywan
af2e90a4b1 Rename MidoriWebItem to KatzeItem 2008-08-23 18:32:53 +02:00
Christian Dywan
c375f862a0 Implement single instance support with Unique 2008-08-22 03:59:07 +02:00
Christian Dywan
f6bf2f568d Update website URL 2008-08-18 23:50:20 +02:00
Christian Dywan
02e3b78341 Capitalize Midori when bailing out on an error 2008-08-18 23:43:15 +02:00
Christian Dywan
85dea9aa44 Use fallbacks for all icons, we don't want "broken" icons 2008-08-17 16:14:15 +02:00
Christian Dywan
8ac30357c0 Move around headers and localization code 2008-08-15 02:03:55 +02:00
Arnaud Renevier
cb0dd889e0 Use mnemonics in panel menu items 2008-08-10 14:17:21 +02:00
Christian Dywan
a41a0e008e Move MidoriWebList and MidoriWebItem to Katze 2008-08-05 05:03:05 +02:00
Christian Dywan
68fe5e05e1 Use icons for Script and Extension 2008-08-01 15:49:47 +02:00
Christian Dywan
947761c32d Capitalize Midori in --version output 2008-08-01 15:43:24 +02:00
Christian Dywan
e9e29e92f6 Restrict addons to files with particular extensions 2008-08-01 15:40:23 +02:00
Christian Dywan
2cb278cdb3 Add Midori and news-feed icons, improve waf scripts
Add small, optimized application icons and an all new
news-feed icon including optimized versions. The build
scripts are updated, and the data folder renamed to icons.
Plus the wscript_build is improved. Of course, Midori
now tests the icon theme for news-feed and uses it.
2008-07-27 07:39:39 +02:00
Christian Dywan
549310a7cd Ensure REMOVE_TAB emission, don't alter session when destroying 2008-07-25 12:45:50 +02:00
Christian Dywan
3301b37803 Save the session whenever it changes, instead of on quit. 2008-07-23 20:17:13 +02:00
Christian Dywan
002035e389 Capitalize Midori in the window title 2008-07-19 16:18:41 +02:00
Christian Dywan
24a9f1dd42 Limit trash to contain 10 items 2008-07-06 16:13:42 +02:00
Christian Dywan
04d3ae6506 Make WebList more flexible so it can replace Trash 2008-06-24 21:54:01 +02:00
Christian Dywan
7df5d483f9 Complete move of webSearch, third step of refactoring web search 2008-06-15 04:02:56 +02:00
Christian Dywan
3ac8bdb438 Introduce MidoriWebList, second step of refactoring web search 2008-06-14 02:23:33 +02:00
Christian Dywan
2aeca51fbe Print an error message if midori fails to run 2008-06-10 16:20:02 +02:00
Christian Dywan
13f8171e24 Add Zoom Stepping Value to Preferences 2008-06-08 18:42:39 +02:00
Christian Dywan
6d35511604 Fix segfault on quit, improve app and browser interface 2008-06-08 01:25:57 +02:00
Christian Dywan
674b237f97 Fix last commit, one file was not updated. 2008-06-08 01:16:06 +02:00
Christian Dywan
b511f12b9b Rename folder 'src' to 'midori' 2008-06-01 23:47:27 +02:00
Renamed from src/main.c (Browse further)