From 4ac4d3369870d02526a81de8b73c467974d16a94 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Tue, 28 Apr 2009 21:53:57 +0200 Subject: fix for when handler == NULL --- uzbl.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/uzbl.c b/uzbl.c index dc38794..86ffb6c 100644 --- a/uzbl.c +++ b/uzbl.c @@ -147,9 +147,11 @@ static gboolean download_cb (WebKitWebView *web_view, GObject *download, gpointer user_data) { (void) web_view; (void) user_data; - const gchar* uri = webkit_download_get_uri ((WebKitDownload*)download); - printf("Download -> %s\n",uri); - run_command(download_handler, uri); + if (download_handler) { + const gchar* uri = webkit_download_get_uri ((WebKitDownload*)download); + printf("Download -> %s\n",uri); + run_command(download_handler, uri); + } return (FALSE); } -- cgit v1.2.3 From 6b9e0663beeda32953f10048743079e1ca391f42 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Tue, 28 Apr 2009 22:05:15 +0200 Subject: installing/building instructions --- HOWTO | 3 --- INSTALLING | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 3 deletions(-) delete mode 100644 HOWTO create mode 100644 INSTALLING diff --git a/HOWTO b/HOWTO deleted file mode 100644 index 8836674..0000000 --- a/HOWTO +++ /dev/null @@ -1,3 +0,0 @@ -1) get the latest code from master branch -2) make -3) profit ! diff --git a/INSTALLING b/INSTALLING new file mode 100644 index 0000000..0d10d24 --- /dev/null +++ b/INSTALLING @@ -0,0 +1,23 @@ +* Arch Linux: + pkgbuild @ http://aur.archlinux.org/packages.php?ID=25972 + +* From source: + +$ git clone git://github.com/Dieterbe/uzbl.git +[ $ git checkout master/experimental ] # master == fairly stable. experimental is more bleeding edge +$ cd uzbl +$ make +$ sudo make install + +Dependencies: +libwebkit 1.1.4 or higher +gtk 2 something something +pkgconfig (for Make/gcc) + +Optional: +dmenu, zenity, bash for the sample scripts + +You will have the program in /usr/bin and various sample scripts, a sample config, sample bookmarks file and some documentation in /usr/share/uzbl. You +will probably want to change the scripts to behave more like you want, so copy the scripts to your home dir. If you save your config as +$XDG_CONFIG_HOME/uzbl/config (this expands to ~/.config/uzbl/config on most systems) it will be recognized automatically. You can also pass the path to +the config file with the --config parameter. -- cgit v1.2.3 From d674672d201fcc6564241c8efc7abfc984c292cf Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Tue, 28 Apr 2009 22:22:23 +0200 Subject: todo updates --- TODO | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/TODO b/TODO index 3dbcbc7..236a3b9 100644 --- a/TODO +++ b/TODO @@ -1,10 +1,9 @@ ASAP -* do a clean implementation of bindings that need arguments (eg insert_bookmark needs the uri.) - * implement all the ideas from README * get a logo * improve site * Support for binding keyboard shortcuts in config file. +* when launching new instance, don't just try 'uzbl' and then './uzbl', rather launch a new uzbl in the same way the current uzbl instance was started. (same command, same arguments, except --uri) * where to put proxy config? webkit support? * implement XDG basedir spec (config is done, but not cache/data, which I presume we'll need at some point) * check configured commands if they end on .sh so users don't need to prepend /bin/ @@ -14,6 +13,9 @@ ASAP * add a keybind to hand the current url to an external scrips, so you can edit it and/or store it in the primary and secondary clipboards * use http://library.gnome.org/devel/glib/stable/glib-Hash-Tables.html#g-hash-table-insert for tracking bindings and wherever we use structs and ugly loops * fifo -> socket. so you can do question-response. socket is slightly more complicated so we'll need to create a uzblctrl +* select/fork based instead of the pthread stuff -> drops dependency, more lightweight. +* on website, see if we can
the documentation inside the uzbl project itself, so we need to maintain the stuff on only 1 place +* see if we can use the github bugtracker (anonymous posting allowed?) SOMEDAY: check if we can make the settings loading less hard coded. eg( keep a list of all settings, and for each one, try to load it) -- cgit v1.2.3 From 3d7c6eb5cf74830b023e023cb8727a7fa86d4887 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Tue, 28 Apr 2009 22:26:31 +0200 Subject: todo updates --- TODO | 1 + 1 file changed, 1 insertion(+) diff --git a/TODO b/TODO index 236a3b9..c6eeda3 100644 --- a/TODO +++ b/TODO @@ -16,6 +16,7 @@ ASAP * select/fork based instead of the pthread stuff -> drops dependency, more lightweight. * on website, see if we can
the documentation inside the uzbl project itself, so we need to maintain the stuff on only 1 place * see if we can use the github bugtracker (anonymous posting allowed?) +* allow user to change bindings for navigation (up,down,left,right, page up, page down etc) SOMEDAY: check if we can make the settings loading less hard coded. eg( keep a list of all settings, and for each one, try to load it) -- cgit v1.2.3