Commit graph

4164 commits

Author SHA1 Message Date
Christian Dywan
8e494ba206 Provide action signals as javascript functions
From javscript C functions cannot be called, but signals
are available through the GObject type system. So
we allow javascript to call action signals like functions.

At the same time we modify a few browser functions, so
that they are functions that are available as signals.
2008-06-01 00:21:08 +02:00
Christian Dywan
54ea63f161 Update icon cache on uninstall, catch missing gtk-update-icon-cache 2008-05-31 14:57:07 +02:00
Christian Dywan
f00522ac27 Use 'midori' icon and update icon cache in waf 2008-05-31 14:31:10 +02:00
Christian Dywan
3ea30bfd4e Use 'pproc' in waf in place of subprocess 2008-05-31 13:51:03 +02:00
Christian Dywan
4f0b7bea63 Mark required packages as 'mandatory' in waf 2008-05-31 12:43:37 +02:00
Christian Dywan
2f93031755 Add svg icon and according waf logic 2008-05-31 12:14:15 +02:00
Christian Dywan
95cbba2548 First attempt at a waf build system 2008-05-31 12:04:52 +02:00
Christian Dywan
29e87133ae Updated AUTHORS file. 2008-05-23 02:02:21 +02:00
Enrico Tröger
a6aa345316 Do not set a tooltip on tool items if the text is empty 2008-05-23 01:58:44 +02:00
Christian Dywan
4a488da7b1 Implement MidoriApp singleton and improve multiple window support
The new singleton holds the shared settings and trash. It is
further more used to keep track of all open windows and quits
when the last window was closed. It also watches the focus in
case you need something like a "current" browser.
2008-05-23 00:17:10 +02:00
Christian Dywan
61d26feae8 Apply a few small corrections. 2008-05-22 14:32:54 +02:00
Christian Dywan
6982b226b8 Do not call setlocale, let gtk handle this. 2008-05-22 14:30:52 +02:00
Christian Dywan
6bc5150ea2 Add Show Homepage option, remove Form Fill and Small Toolbar 2008-05-20 03:21:11 +02:00
Enrico Tröger
ebdedf6f31 Remember the last opened folder for File Open
The File Open dialog should remember the last opened folder
or try to obtain it from the currently opened web view.
Besides the dialog ought to be transient.
2008-05-20 03:01:54 +02:00
SZERVÁC Attila
773f5d8d35 Add Hungarian translation. 2008-05-12 01:26:25 +02:00
Christian Dywan
944defafeb Use value-changed instead of changed for spin buttons 2008-05-07 19:25:43 +02:00
Christian Dywan
1a1cb73ca3 Fix the default location-entry-search value 2008-05-07 16:40:53 +02:00
Christian Dywan
7474e41abd Provide a javascript style Gtk.binding and add g_return_if_fail 2008-05-07 03:05:22 +02:00
Christian Dywan
4a829b0ab0 Make javascript gobject bindings independant.
Moving the bindings into a single file makes them independant
of addons and midori, requiring only JavaScriptCore and GObject.

This allows for standalone scripts to run independant from
Midori itself. Also extensions will run independant from a
browser instance.
This change removes the 'midori' object.
2008-05-06 00:51:04 +02:00
Christian Dywan
750d9d5b01 Bump version to 0.0.18 2008-05-04 19:31:44 +02:00
Christian Dywan
aa21bc30f9 Update translations. 2008-05-04 19:15:28 +02:00
Christian Dywan
156aa1fd0a Change 'Cookies' to 'Web Cookies' and fix POTFILES.in. 2008-05-04 19:14:48 +02:00
Christian Dywan
626586a5a1 Update AUTHORS, README and TODO files. 2008-05-04 19:13:02 +02:00
Christian Dywan
5b731c45ba Wrap userscripts in an anonymous function. 2008-05-04 01:34:39 +02:00
Christian Dywan
e45fe65278 Focus the web view when loading bookmarks. 2008-05-03 23:32:05 +02:00
Christian Dywan
7039d48e48 First attempt at an extension interface. 2008-05-02 22:30:26 +02:00
Christian Dywan
b354aed640 Enumerate script object property names. 2008-04-29 00:12:23 +02:00
Christian Dywan
133cd688b9 Initial addon panel feature, only userscripts for now. 2008-04-28 22:38:57 +02:00
Christian Dywan
2e580f0503 Integrate panel toolbars properly outside scrolled areas. 2008-04-26 02:43:32 +02:00
Christian Dywan
a580cf281b Fix focus in location if starting up with a Blank page
At the point of loading the first page the web view
hasn't loaded anything, so we need to manually focus
the Location if the page is blank.

Incidentally midori_browser_activate_action can activate
any action, so it will probably be much more useful
in the future.
2008-04-25 21:31:57 +02:00
Christian Dywan
62cbafe12a Attempt to fix handling of background and foreground tabs. 2008-04-25 00:20:43 +02:00
Arnaud Renevier
a2aa737677 Add string allocations to avoid freeing of constant strings. 2008-04-24 00:42:41 +02:00
Christian Dywan
7a7499d8db Show hidden location/ web search temporarily when needed.
If the location or web search was hidden, and one attempted
to use the menus or shortcuts for Location or Web search,
an appropriate dialog with an entry was shown.

Now we show the according widget temporarily and hide it again
once it loses focus.
2008-04-22 23:36:37 +02:00
Christian Dywan
d9f7abc5c7 Update interface and web featureswith preference changes.
The toolbar style, small toolbar, New Tab, Web Search and
Trash buttons are shown or hidden respectively as
the preference values change.
This is also an attempt at updating the web view's settings
immediately. Although it seems to work, an ugly warning is
emitted to the console on every change.
2008-04-22 22:19:24 +02:00
Christian Dywan
68e0e521f4 Resolve helpers and globals into sokoke. 2008-04-20 21:44:56 +02:00
Enrico Tröger
3811549791 Fix crash on startup caused by invalid settings. 2008-04-20 18:29:14 +02:00
Christian Dywan
1264eb0667 Implement a font combobox and use it for Default Font Family. 2008-04-20 18:13:20 +02:00
Christian Dywan
4d11cf3555 Move UNIMPLEMENTED macro to sokoke. 2008-04-20 06:41:26 +02:00
Christian Dywan
ecae9e1e49 Mention intltool in INSTALL. 2008-04-20 03:31:55 +02:00
Christian Dywan
181734acb3 Update French translation 2008-04-20 03:31:22 +02:00
Christian Dywan
50ab1e8bc7 Turn prefs into MidoriPreferences 2008-04-20 03:30:24 +02:00
Christian Dywan
457b012240 Add French translation, not quite complete yet 2008-04-19 14:21:08 +02:00
Christian Dywan
d1b085f61a Update German localisation plus a tiny string fix. 2008-04-19 14:19:37 +02:00
Christian Dywan
f98b652996 Fix background tabs, strings and new tab focus. 2008-04-18 02:40:53 +02:00
Christian Dywan
fae6058c26 Focus the web view when opening an URL via the location 2008-04-17 01:58:02 +02:00
Christian Dywan
a2aa2e4973 Mention libtool and autogen.sh in INSTALL 2008-04-17 01:40:15 +02:00
Christian Dywan
74b300ef33 Correct the example of a function definition 2008-04-17 01:39:07 +02:00
Christian Dywan
169973f3fe Remove old configuration logic entirely
Almost all uses of the old system were superseded
by the use of MidoriWebSettings now, the
migration is almost finished.
2008-04-17 01:38:22 +02:00
Christian Dywan
cdde1293ab Switch configuration to MidoriWebSettings.
Switch configuration logic from a custom structure to
fully rely on MidoriWebSettings. This includes revamping
the preferences dialog. The old logic is not yet
replaced completely, this will follow soon, thus several
settings will have no effect right now.
2008-04-13 21:51:43 +02:00
Christian Dywan
a9eb81a016 Implement property proxy widget creation.
The functions katze_property_proxy and katze_propery_label
can intelligently create widgets that represent properties
of a particular object. This allows for building up a
configuration interface with few to no code dealing with
specific settings.
2008-04-13 21:21:39 +02:00