Commit graph

46 commits

Author SHA1 Message Date
Enrico Tröger
8baee5780d Allocate uris correctly as gchar*, not gchar 2009-07-10 16:20:56 +01:00
Christian Dywan
abccaf02da Implement -e or --execute to perform various commands
Currently any GtkAction in MidoriBrowser is recognized as a command,
no arguments are supported. Commands affect either a newly run
instance or a currently running one.
2009-06-17 00:46:53 +02:00
Christian Dywan
3bcd8b6615 Copy libsylph socket.c as fallback for single instance libunique
This socket code makes single instance a mandatory feature assuming
if libunique is not available we can use sockets.
A bit of refactoring of MidoriApp is involved to make the command
logic independant of the nature of the instance handling.
2009-06-16 01:46:22 +02:00
Christian Dywan
35cdff552d Adjust HAVE_UNIQUE define to resolve a compiler warning 2009-06-06 18:52:29 +02:00
Christian Dywan
907f7a72ce Implement Open new pages in: New window preference 2009-05-17 20:29:31 +02:00
Christian Dywan
ff2abf1fd4 Use katze_assign, not katze_object_assign for program_notify_send 2009-05-12 01:50:07 +02:00
Enrico Tröger
70a9d29ea6 Add midori_app_send_notification() to easily send notifications
Sending such messages is either done by using libnotify if
available. Otherwise the program "notify-send" is used.
2009-05-09 15:55:10 +02:00
Christian Dywan
b058e8ec5d Add a remove-browser signal to MidoriApp 2009-04-22 21:58:00 +02:00
Ernst Persson
22ded9a981 Apply URI magic to externally opened addresses 2009-04-12 23:37:15 +02:00
Christian Dywan
85f2386279 Revert "Apply URI magic to externally opened addresses"
The commit had the wrong author name.
2009-04-12 23:31:42 +02:00
Thorsten Mühlfelder
1b8de1588f Apply URI magic to externally opened addresses 2009-04-12 22:44:11 +02:00
Christian Dywan
07aed45bd9 Recognize different instances for different config dirs
If Midori is built with support for multiple instances and a
config folder is specified a new instance bound to that
folder is created.

The new "name" property in MidoriApp implements this.
2009-04-09 20:34:27 +02:00
Christian Dywan
19ee2c16bf Handle running MidoriApp with no display 2009-02-19 02:34:05 +01:00
Christian Dywan
b89fbb98f2 Implement MidoriApp::browsers and deprecate MidoriApp::browser-count 2009-01-20 22:40:25 +01:00
Nick Schermer
f02f9fd118 Make property strings static to save some memory 2009-01-16 05:19:43 +01:00
Nick Schermer
b6e33e5399 Implement 'full' debug-level and fix according warnings 2009-01-09 23:56:00 +01:00
Christian Dywan
4e1deaee05 Optimizations in main and MidoriApp 2008-12-30 03:00:08 +01:00
Christian Dywan
be9c907c7e Implement and make use of midori_app_create_browser 2008-12-25 00:39:35 +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
d00ff95058 Provide MidoriPane interface for use with MidoriPanel 2008-11-24 01:41:45 +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
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
Christian Dywan
5a1b766a43 Fix MidoriApp so that add-browser is actually usable 2008-11-18 02:01:30 +01:00
Christian Dywan
80128d9315 Apply some cleanup with regard to referencing and more 2008-10-30 02:21:19 +01:00
Enrico Tröger
839d692ec4 Focus the location when remotely opening a new window 2008-10-21 22:59:57 +02:00
Christian Dywan
2fccaa1bea Add an Open external pages in Preference 2008-10-20 08:50:16 +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
9f2418d455 Focus tabs remotely opend in the running instance 2008-10-11 04:02: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
c36784229c Make sure to present the window when opening a tab 2008-10-03 05:45:10 +02:00
Christian Dywan
fb320cc0b6 Finally obsolete KatzeXbelItem 2008-10-01 04:00:16 +02:00
Christian Dywan
2c1cdb0573 Running "midori" should open a new window 2008-09-10 19:48:45 +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
Christian Dywan
a10dd2e205 Pass search engines to new browser windows 2008-08-31 17:05:40 +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
c375f862a0 Implement single instance support with Unique 2008-08-22 03:59:07 +02:00
Christian Dywan
a41a0e008e Move MidoriWebList and MidoriWebItem to Katze 2008-08-05 05:03:05 +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
1ffbfaded9 Merge MidoriAppPrivate with MidoriApp and hide it 2008-06-12 23:46:08 +02:00
Christian Dywan
65c0195501 Introduce compat.h which provides new api for old libraries 2008-06-08 17:46:24 +02:00
Christian Dywan
6d35511604 Fix segfault on quit, improve app and browser interface 2008-06-08 01:25:57 +02:00
Christian Dywan
a97264a090 Fix 'missing cursor' in entries 2008-06-01 23:58:00 +02:00
Christian Dywan
b511f12b9b Rename folder 'src' to 'midori' 2008-06-01 23:47:27 +02:00
Renamed from src/midori-app.c (Browse further)