Steven Luo [Fri, 11 Dec 2009 10:21:42 +0000 (02:21 -0800)]
Remove a stray debugging printf()
Steven Luo [Fri, 11 Dec 2009 10:18:05 +0000 (02:18 -0800)]
Clean up string handling
Revise the handling of strings in several places to be less confusing
and safer. Fix at least two definite bugs in launcher.c concerning
integer overflows and realloc() possibly moving memory.
Also a few indentation changes.
Steven Luo [Fri, 11 Dec 2009 05:28:12 +0000 (21:28 -0800)]
Style changes
Steven Luo [Fri, 11 Dec 2009 05:15:39 +0000 (21:15 -0800)]
Make config file parsing (mostly) compatible with the Python implementation
Redo the config file parsing using POSIX regular expressions, so that
it's mostly compatible with the Python implementation. Full
compatibility isn't happening, of course, since the Python
implementation's config file is being sourced by the interpreter.
Steven Luo [Fri, 11 Dec 2009 04:53:26 +0000 (20:53 -0800)]
Remove a redundant -Wall from CPPFLAGS
Steven Luo [Fri, 11 Dec 2009 04:08:23 +0000 (20:08 -0800)]
Commit a plain C reimplementation of browser-switchboard
The C implementation has a ~2 second startup time advantage over the
Python version, very noticeable when continuous_mode is disabled.
For now, the config file format is incompatible with the Python
implementation.
Steven Luo [Fri, 11 Dec 2009 02:19:03 +0000 (18:19 -0800)]
Drop hard dependency on tear
Commit
f2739d4b ("Make browser-switchboard launch MicroB if unconfigured
and Tear is not installed") means that installing the script no longer
breaks opening URLs if there's no configuration and Tear isn't
installed. As such, depend on tablet-browser-ui instead, and recommend
tear | fennec | midori, to be friendlier to users of other browsers.
Steven Luo [Fri, 11 Dec 2009 02:18:54 +0000 (18:18 -0800)]
Merge branch 'master' into diablo-package
Steven Luo [Fri, 11 Dec 2009 02:09:23 +0000 (18:09 -0800)]
Make browser-switchboard launch MicroB if unconfigured and Tear is not installed
Make browser-switchboard launch MicroB if there is no config file and
Tear is not installed. Do this by handling default_browser == ""
specially, and by setting default_browser to the empty string by
default.
This allows us to drop the Depends: on tear in the packaging.
Steven Luo [Fri, 11 Dec 2009 00:52:21 +0000 (16:52 -0800)]
Merge branch 'master' into diablo-package
Steven Luo [Fri, 11 Dec 2009 00:47:48 +0000 (16:47 -0800)]
Finish changing the name from browser-proxy to browser-switchboard
Rename the script to browser-switchboard, and change the D-Bus .service
file and the docs accordingly. Change the config file location from
$HOME/.config/browser-proxy to $HOME/.config/browser-switchboard.
Also, get rid of the # in front of every line of the README.
Steven Luo [Fri, 11 Dec 2009 00:33:31 +0000 (16:33 -0800)]
Initial commit of the Debian packaging for Diablo.
Steven Luo [Fri, 11 Dec 2009 00:27:35 +0000 (16:27 -0800)]
Zap the welcome file
Steven Luo [Fri, 11 Dec 2009 00:20:53 +0000 (16:20 -0800)]
Merge branch 'master' of https://git.maemo.org/projects/browser-switch
Steven Luo [Fri, 11 Dec 2009 00:18:38 +0000 (16:18 -0800)]
Initial commit.
www-data [Thu, 10 Dec 2009 12:40:32 +0000 (14:40 +0200)]
welcome