browser-switch
14 years agoUpdate debian/changelog, bump version number fremantle-package-3.1-2fremantle4
Steven Luo [Tue, 16 Feb 2010 02:58:07 +0000 (18:58 -0800)]
Update debian/changelog, bump version number

14 years agoEnsure that only one browser-switchboard is active at any time
Steven Luo [Mon, 15 Feb 2010 07:26:16 +0000 (23:26 -0800)]
Ensure that only one browser-switchboard is active at any time

When launching MicroB, during the window between the time we let go of
com.nokia.osso_browser and the time MicroB picks it up, it's possible
that some process issues a request for the interface, which causes D-Bus
to attempt to start another copy of browser-switchboard; the results are
confusing at best and (in the Fremantle case) disastrous at worst.
Prevent this by trying to acquire the name
org.maemo.garage.browser-switchboard from D-Bus on startup, in a manner
that succeeds if and only if no one else already owns the name.

This is important because the Fremantle hildon-desktop appears to
sometimes insist on having a process to own com.nokia.osso_browser at
all times; when it decides this is necessary, it picks up our release of
the name and immediately asks D-Bus to launch another
browser-switchboard, which gets in the way of our MicroB launching
procedure.

14 years agoAvoid a race between MicroB startup and establishing D-Bus watch for it
Steven Luo [Mon, 15 Feb 2010 01:58:53 +0000 (17:58 -0800)]
Avoid a race between MicroB startup and establishing D-Bus watch for it

As it stands, the establishment of the D-Bus match and filter for the
acquisition of com.nokia.osso_browser happens in parallel with MicroB
startup; as a result, it's possible that MicroB could acquire the name
before we're ready to look for the event, which results in us waiting
forever for MicroB to start (even though it's already started).  Avoid
this by establishing the watch before we fork a child process.

Possibly fixes a rare failure mode reported by Faheem Pervez (qwerty12).

14 years agoInstall the inotify watch for lockfile creation before forking
Steven Luo [Mon, 15 Feb 2010 01:28:54 +0000 (17:28 -0800)]
Install the inotify watch for lockfile creation before forking

This avoids the silliness of doing this in both the parent and child
process.

14 years agoUpdate debian/changelog, bump version number fremantle-package-3.1-2fremantle3
Steven Luo [Sun, 14 Feb 2010 05:16:11 +0000 (21:16 -0800)]
Update debian/changelog, bump version number

14 years agoTake a different approach to detecting MicroB browser window close
Steven Luo [Sun, 14 Feb 2010 04:55:19 +0000 (20:55 -0800)]
Take a different approach to detecting MicroB browser window close

As it turns out, the Fremantle IM/SMS application also spawns a
browserd; this browserd also attempts to claim the Mozilla.MicroB or
com.nokia.microb-engine D-Bus name, which means that we cannot count on
the MicroB browserd actually having ownership of this name.

Assuming that this D-Bus name is actually needed by anything else, this
is broken by design (since only one connection can own a name on the bus
at any time, and which browserd owns the name appears to be
nondeterministic); of course, I haven't observed any actual use of this
name in my testing either.  Who comes up with this stuff?!?!!?!

In any event, take a different approach to detecting when the MicroB
browserd closes: get the browserd PID from its profile lockfile, then
ptrace() the process to learn when it closes.  There are various
complications which make this more involved than we'd like, but this
should be a foolproof method of detecting the browserd close.

14 years agoUpdate debian/changelog, bump version number fremantle-package-3.1-2fremantle2
Steven Luo [Sat, 6 Feb 2010 11:38:41 +0000 (03:38 -0800)]
Update debian/changelog, bump version number

14 years agoKill MicroB browser UI processes instead of using exit_browser
Steven Luo [Sat, 6 Feb 2010 10:00:38 +0000 (02:00 -0800)]
Kill MicroB browser UI processes instead of using exit_browser

Reports from users suggest that the exit_browser method call currently
being used to close the MicroB browser UI processes may not be working
reliably.  Try a kill() instead, and hope that this doesn't introduce
data loss problems ...

14 years agoMake sure a running browserd is detected correctly on all devices
Steven Luo [Fri, 5 Feb 2010 12:32:01 +0000 (04:32 -0800)]
Make sure a running browserd is detected correctly on all devices

`pidof /usr/sbin/browserd` doesn't work on at least one user's device;
`pidof browserd` works everywhere without exception, so use that
instead.

Reported by Faheem Pervez (qwerty12).

14 years agoUpdate debian/changelog, bump version number fremantle-package-3.1-2fremantle1
Steven Luo [Fri, 5 Feb 2010 08:14:56 +0000 (00:14 -0800)]
Update debian/changelog, bump version number

14 years agoThrow away stdout/stderr for browserds we launch too
Steven Luo [Fri, 5 Feb 2010 07:37:56 +0000 (23:37 -0800)]
Throw away stdout/stderr for browserds we launch too

Commit d8d8d1ed... ("Close stdin/stdout/stderr in child processes before
exec()") didn't prevent browserd from spewing noise, because we invoke
that via system() instead of fork()/exec().  Fix that oversight.

14 years agoClose stdin/stdout/stderr in child processes before exec()
Steven Luo [Fri, 5 Feb 2010 07:06:35 +0000 (23:06 -0800)]
Close stdin/stdout/stderr in child processes before exec()

stdout/stderr output from the browser processes we exec() is noisy,
useless, and getting in the way of our debugging output.  Fix this by
throwing it away.

14 years agoRevert "Drop the Depends on tablet-browser-ui for Diablo, for now"
Steven Luo [Fri, 5 Feb 2010 08:10:09 +0000 (00:10 -0800)]
Revert "Drop the Depends on tablet-browser-ui for Diablo, for now"

This is a Diablo-specific change; the Fremantle package interface
doesn't suffer from this bug.

This reverts commit e294fa1e04cde59acaa7f07f7831cc7bfbd35b02.

14 years agoMerge branch 'diablo-package' into fremantle-package
Steven Luo [Fri, 5 Feb 2010 08:09:33 +0000 (00:09 -0800)]
Merge branch 'diablo-package' into fremantle-package

14 years agoUpdate changelog, bump version number diablo-package-3.1-2
Steven Luo [Fri, 5 Feb 2010 08:06:09 +0000 (00:06 -0800)]
Update changelog, bump version number

14 years agoDrop the Depends on tablet-browser-ui for Diablo, for now
Steven Luo [Fri, 5 Feb 2010 08:00:03 +0000 (00:00 -0800)]
Drop the Depends on tablet-browser-ui for Diablo, for now

tablet-browser-ui is in the Diablo rootfs image, which means that (1)
everyone has it and (2) the maemo.org packages interface doesn't know
that it exists.  Since the packages interface bug now prevents new
versions of browser-switchboard for Diablo from going to extras, work
around this for now by losing the dependency.

See https://bugs.maemo.org/show_bug.cgi?id=8806 for more information.

14 years agoUpdate changelog, bump version number fremantle-package-3.1-1fremantle2
Steven Luo [Tue, 2 Feb 2010 10:52:27 +0000 (02:52 -0800)]
Update changelog, bump version number

14 years agoBuild-Depend on libdbus-1-dev, use pkg-config for dbus-1
Steven Luo [Tue, 2 Feb 2010 10:50:54 +0000 (02:50 -0800)]
Build-Depend on libdbus-1-dev, use pkg-config for dbus-1

We now use the low-level D-Bus API in the Fremantle code, so we need to
depend on libdbus-1-dev and get the pkg-config information for dbus-1
for correctness.

14 years agoZap one more extraneous #include from Fremantle MicroB work
Steven Luo [Tue, 2 Feb 2010 10:41:14 +0000 (02:41 -0800)]
Zap one more extraneous #include from Fremantle MicroB work

14 years agoRemove some unnecessary #includes that crept in
Steven Luo [Tue, 2 Feb 2010 09:32:48 +0000 (01:32 -0800)]
Remove some unnecessary #includes that crept in

14 years agoInitial support for launching MicroB on Fremantle
Steven Luo [Tue, 2 Feb 2010 09:23:23 +0000 (01:23 -0800)]
Initial support for launching MicroB on Fremantle

MicroB in Fremantle has been changed to accommodate keeping the UI in
the background full-time as well as the browser engine (browserd).  As a
result, running "browser" no longer shows a browser window, and the
browser process doesn't relinquish the com.nokia.osso_browser D-Bus name
and quit when the last browser window closes.

Instead, launch the browser by starting the UI process in the
background, waiting for it to acquire the com.nokia.osso_browser name,
then using the D-Bus API to open a window.

Detecting when the last browser window is closed is trickier.  The
method we use is to notice that when the last browser window closes,
the UI process closes and reopens the browserd renderer, causing a
change in the ownership of the Mozilla.MicroB D-Bus name (or
com.nokia.microb-engine in Maemo 5 PR1.1).  We detect this change and
send the UI process an exit_browser D-Bus method call, causing it to
quit and relinquish the com.nokia.osso_browser name back to us.

Unfortunately, this method cannot detect when the bookmarks window is
closed.  This means two unpleasant surprises, both needed to make sure
that the bookmarks window is never the only MicroB window open (in that
situation, if the user closes the bookmarks window without first opening
another normal browser window, we wouldn't be able to detect the window
closing and ensure we get the com.nokia.osso_browser name back):

(1) Our top_application method, which should behave exactly like opening
    MicroB from the menu normally does (bring up the bookmarks window),
    brings up about:blank instead.
(2) We kill off MicroB and reclaim the com.nokia.osso_browser name when
    the last normal browser window closes, regardless of whether the
    bookmarks window is open.

Ideas for better ways to detect when all MicroB windows have closed are
welcome.

Code for monitoring when a D-Bus name changes hands draws on ideas from
the dbus-monitor source (tools/dbus-monitor.c in the D-Bus
distribution).

14 years agoUpdate debian/changelog, bump version number for Fremantle fremantle-package-3.1-1fremantle1
Steven Luo [Fri, 15 Jan 2010 10:53:16 +0000 (02:53 -0800)]
Update debian/changelog, bump version number for Fremantle

14 years agoMerge branch 'diablo-package' into fremantle-package
Steven Luo [Fri, 15 Jan 2010 10:50:18 +0000 (02:50 -0800)]
Merge branch 'diablo-package' into fremantle-package

14 years agoBuild Fremantle-specific code by passing -DFREMANTLE in EXTRA_CPPFLAGS
Steven Luo [Fri, 15 Jan 2010 10:44:51 +0000 (02:44 -0800)]
Build Fremantle-specific code by passing -DFREMANTLE in EXTRA_CPPFLAGS

14 years agoMerge commit 'v3.1' into fremantle-package
Steven Luo [Fri, 15 Jan 2010 10:40:59 +0000 (02:40 -0800)]
Merge commit 'v3.1' into fremantle-package

14 years agoUpdate debian/changelog, bump version number diablo-package-3.1-1
Steven Luo [Fri, 15 Jan 2010 09:56:33 +0000 (01:56 -0800)]
Update debian/changelog, bump version number

14 years agoMerge commit 'v3.1' into diablo-package
Steven Luo [Fri, 15 Jan 2010 09:53:03 +0000 (01:53 -0800)]
Merge commit 'v3.1' into diablo-package

14 years agoRemove webpages for release v3.1
Steven Luo [Fri, 15 Jan 2010 08:26:48 +0000 (00:26 -0800)]
Remove webpages for release

14 years agoBump version number in README/Changelog
Steven Luo [Fri, 15 Jan 2010 08:25:37 +0000 (00:25 -0800)]
Bump version number in README/Changelog

14 years agoSpelling/grammar fixes to comments
Steven Luo [Tue, 5 Jan 2010 07:36:33 +0000 (23:36 -0800)]
Spelling/grammar fixes to comments

14 years agoUpdate Changelog
Steven Luo [Tue, 5 Jan 2010 06:17:52 +0000 (22:17 -0800)]
Update Changelog

14 years agoAdd support for EXTRA_CPPFLAGS/EXTRA_LDFLAGS in Makefiles
Steven Luo [Tue, 5 Jan 2010 06:16:25 +0000 (22:16 -0800)]
Add support for EXTRA_CPPFLAGS/EXTRA_LDFLAGS in Makefiles

14 years agoUpdate copyright notices
Steven Luo [Tue, 5 Jan 2010 06:07:55 +0000 (22:07 -0800)]
Update copyright notices

14 years agoDiablo: disable autocap/predictive text for the other_browser_cmd entry
Steven Luo [Tue, 5 Jan 2010 05:47:50 +0000 (21:47 -0800)]
Diablo: disable autocap/predictive text for the other_browser_cmd entry

The Fremantle UI introduced in commit 18bad5e9... ("Revise GUI for
Fremantle to be more finger-friendly") disables autocapitalization and
predictive text/dictionary features for the other_browser_cmd entry --
those input method features are for natural language text only, and get
in the way here.  Now do the same for the Diablo UI (and make a style
cleanup along the way).

14 years agoRevise GUI for Fremantle to be more finger-friendly
Steven Luo [Tue, 5 Jan 2010 05:19:26 +0000 (21:19 -0800)]
Revise GUI for Fremantle to be more finger-friendly

Make the GUI for Fremantle more finger-friendly by making the widgets
larger and using HildonTouchSelector widgets in place of combo
box/radiobutton widgets.

Based on a patch by Faheem Pervez (qwerty12):
http://slexy.org/view/s2JL7ye01p

14 years agoEnsure reconfig signal doesn't interrupt request dispatch when (!continuous_mode)
Steven Luo [Tue, 5 Jan 2010 02:38:44 +0000 (18:38 -0800)]
Ensure reconfig signal doesn't interrupt request dispatch when (!continuous_mode)

If SIGHUP is sent to a browser-switchboard process with continuous mode
off, the process will quit.  This is the right thing to do in most cases
(the next request will relaunch the process, at which point it'll read
the new config), but if we're in the middle of dispatching a request
when the signal arrives, quitting immediately will cause the request to
be lost.

Since browser-switchboard quits upon completion of a request when
continuous mode is off anyway, fix this by just ignoring SIGHUP while
handling requests when continuous mode is off.

14 years agoUpdate webpage to recommend installation from extras
Steven Luo [Mon, 28 Dec 2009 09:58:22 +0000 (01:58 -0800)]
Update webpage to recommend installation from extras

14 years agoAdd an .install file for installing from extras
Steven Luo [Mon, 28 Dec 2009 09:31:14 +0000 (01:31 -0800)]
Add an .install file for installing from extras

14 years agoUpdate current release section of webpage, link to new forum thread
Steven Luo [Thu, 24 Dec 2009 02:50:02 +0000 (18:50 -0800)]
Update current release section of webpage, link to new forum thread

14 years agoUpdate webpage, add some screenshots
Steven Luo [Thu, 24 Dec 2009 02:43:58 +0000 (18:43 -0800)]
Update webpage, add some screenshots

14 years agoNote Fremantle-specific packaging changes in debian/changelog fremantle-package-3.0-1fremantle1
Steven Luo [Wed, 23 Dec 2009 12:10:31 +0000 (04:10 -0800)]
Note Fremantle-specific packaging changes in debian/changelog

14 years agoUpdate debian/changelog, bump version number for Fremantle build
Steven Luo [Wed, 23 Dec 2009 12:05:33 +0000 (04:05 -0800)]
Update debian/changelog, bump version number for Fremantle build

14 years agoMerge branch 'diablo-package' into fremantle-package
Steven Luo [Wed, 23 Dec 2009 12:05:19 +0000 (04:05 -0800)]
Merge branch 'diablo-package' into fremantle-package

14 years agoUpdate debian/changelog diablo-package-3.0-1
Steven Luo [Wed, 23 Dec 2009 11:56:34 +0000 (03:56 -0800)]
Update debian/changelog

14 years agoRemove debian/dirs, not needed with new Makefile-based build
Steven Luo [Wed, 23 Dec 2009 11:55:12 +0000 (03:55 -0800)]
Remove debian/dirs, not needed with new Makefile-based build

14 years agoUpdate debian/changelog
Steven Luo [Wed, 23 Dec 2009 11:48:46 +0000 (03:48 -0800)]
Update debian/changelog

14 years agoMerge commit 'v3.0' into diablo-package
Steven Luo [Wed, 23 Dec 2009 11:40:22 +0000 (03:40 -0800)]
Merge commit 'v3.0' into diablo-package

14 years agoReadd webpage
Steven Luo [Wed, 23 Dec 2009 11:33:18 +0000 (03:33 -0800)]
Readd webpage

14 years agoUpdate README and Changelog v3.0
Steven Luo [Wed, 23 Dec 2009 11:31:46 +0000 (03:31 -0800)]
Update README and Changelog

14 years agoRemove webpage for release tarball
Steven Luo [Wed, 23 Dec 2009 11:31:33 +0000 (03:31 -0800)]
Remove webpage for release tarball

14 years agoUpdate webpage
Steven Luo [Sat, 19 Dec 2009 06:58:55 +0000 (22:58 -0800)]
Update webpage

14 years agoDisable CPU type optimization for Fremantle
Steven Luo [Sat, 19 Dec 2009 06:30:46 +0000 (22:30 -0800)]
Disable CPU type optimization for Fremantle

The Fremantle toolchain automatically optimizes for N900/OMAP3, so
don't do it in EXTRA_CFLAGS.

14 years agoMerge branch 'diablo-package' into fremantle-package
Steven Luo [Sat, 19 Dec 2009 06:30:13 +0000 (22:30 -0800)]
Merge branch 'diablo-package' into fremantle-package

14 years agoActually use EXTRA_CFLAGS
Steven Luo [Sat, 19 Dec 2009 06:28:08 +0000 (22:28 -0800)]
Actually use EXTRA_CFLAGS

Pass EXTRA_CFLAGS to make.  Also, fix a thinko that caused build to
fail on armel (use -mcpu, not -march).

14 years agoRemove the webpages on this branch
Steven Luo [Sat, 19 Dec 2009 06:16:56 +0000 (22:16 -0800)]
Remove the webpages on this branch

14 years agoOptimize for N8x0 on armel builds, and use Thumb if requested
Steven Luo [Sat, 19 Dec 2009 06:14:54 +0000 (22:14 -0800)]
Optimize for N8x0 on armel builds, and use Thumb if requested

14 years agoMerge branch 'master' into diablo-package
Steven Luo [Sat, 19 Dec 2009 06:09:06 +0000 (22:09 -0800)]
Merge branch 'master' into diablo-package

14 years agoSupport EXTRA_CFLAGS in Makefiles
Steven Luo [Sat, 19 Dec 2009 06:07:27 +0000 (22:07 -0800)]
Support EXTRA_CFLAGS in Makefiles

This makes it possible to specify additional CFLAGS at build time.

14 years agoBump Standards-Version
Steven Luo [Sat, 19 Dec 2009 06:02:01 +0000 (22:02 -0800)]
Bump Standards-Version

14 years agoBump Standards-Version
Steven Luo [Sat, 19 Dec 2009 06:02:01 +0000 (22:02 -0800)]
Bump Standards-Version

14 years agoAdd XSBC-Bugtracker to debian/control for Fremantle
Steven Luo [Sat, 19 Dec 2009 05:58:52 +0000 (21:58 -0800)]
Add XSBC-Bugtracker to debian/control for Fremantle

14 years agoBump version number fremantle-package-3.0rc1-2fremantle1
Steven Luo [Sat, 19 Dec 2009 04:44:22 +0000 (20:44 -0800)]
Bump version number

14 years agoMerge commit 'diablo-package-3.0rc1-2' into fremantle-package
Steven Luo [Sat, 19 Dec 2009 04:42:34 +0000 (20:42 -0800)]
Merge commit 'diablo-package-3.0rc1-2' into fremantle-package

Conflicts:

debian/changelog

14 years agoUse pkg-config libosso instead of pkg-config dbus-1 for the plugin
Steven Luo [Sat, 19 Dec 2009 02:48:35 +0000 (18:48 -0800)]
Use pkg-config libosso instead of pkg-config dbus-1 for the plugin

The hildon-control-panel plugin interface needs libosso to compile;
the use of pkg-config dbus-1 was just covering this up.

14 years agoUpdate changelog, bump version number diablo-package-3.0rc1-2
Steven Luo [Sat, 19 Dec 2009 03:07:46 +0000 (19:07 -0800)]
Update changelog, bump version number

14 years agoDepend on libosso-dev instead of libdbus-1-dev for the plugin
Steven Luo [Sat, 19 Dec 2009 02:48:35 +0000 (18:48 -0800)]
Depend on libosso-dev instead of libdbus-1-dev for the plugin

The hildon-control-panel plugin interface needs libosso-dev to compile;
the dependency on libdbus-1-dev and use of pkg-config dbus-1 was just
covering this up.

14 years agoUpdate webpage
Steven Luo [Fri, 18 Dec 2009 15:08:15 +0000 (07:08 -0800)]
Update webpage

14 years agoActually install the modified .desktop fremantle-package-3.0rc1-1fremantle1
Steven Luo [Fri, 18 Dec 2009 13:30:05 +0000 (05:30 -0800)]
Actually install the modified .desktop

14 years agoBump version for Fremantle build and update debian/changelog
Steven Luo [Fri, 18 Dec 2009 13:24:40 +0000 (05:24 -0800)]
Bump version for Fremantle build and update debian/changelog

14 years agoAdd a Fremantle-specific .desktop file for the control panel UI
Steven Luo [Fri, 18 Dec 2009 13:21:53 +0000 (05:21 -0800)]
Add a Fremantle-specific .desktop file for the control panel UI

Until we get our own custom icon, we're using the stock web icon, which
has a different name on Fremantle.

14 years agoDeal with `pidof browser-switchboard` returning no pids diablo-package-3.0rc1-1
Steven Luo [Fri, 18 Dec 2009 13:07:54 +0000 (05:07 -0800)]
Deal with `pidof browser-switchboard` returning no pids

14 years agoMove ${shlibs:Depends} to the front of the Depends line
Steven Luo [Fri, 18 Dec 2009 13:00:42 +0000 (05:00 -0800)]
Move ${shlibs:Depends} to the front of the Depends line

14 years agoInstall config-ui files to the right place
Steven Luo [Fri, 18 Dec 2009 13:00:12 +0000 (05:00 -0800)]
Install config-ui files to the right place

14 years agoDon't use killall to kill off C browser-switchboards
Steven Luo [Fri, 18 Dec 2009 12:56:23 +0000 (04:56 -0800)]
Don't use killall to kill off C browser-switchboards

killall killed off the postrm, so use kill and pidof instead.

14 years agoRevert "Don't use killall to kill off browser-switchboards in postrm"
Steven Luo [Fri, 18 Dec 2009 12:55:27 +0000 (04:55 -0800)]
Revert "Don't use killall to kill off browser-switchboards in postrm"

This reverts commit 414af7e1dcefb4a5eb39f185c24d24c9115757d3.

This had the nasty effect of killing dpkg on an upgrade.  Will fix
differently.

14 years agoDon't use killall to HUP browser-switchboard
Steven Luo [Fri, 18 Dec 2009 12:50:12 +0000 (04:50 -0800)]
Don't use killall to HUP browser-switchboard

Use kill and pidof instead -- killall might kill a standalone config app.

14 years agoFix dependencies listed in README
Steven Luo [Fri, 18 Dec 2009 12:43:09 +0000 (04:43 -0800)]
Fix dependencies listed in README

14 years agoDon't use killall to kill off browser-switchboards in postrm
Steven Luo [Fri, 18 Dec 2009 12:29:15 +0000 (04:29 -0800)]
Don't use killall to kill off browser-switchboards in postrm

As it turns out, killall will happily kill off the postrm, which causes
the uninstall to fail.

14 years agoFix the clean target in debian/rules
Steven Luo [Fri, 18 Dec 2009 12:01:58 +0000 (04:01 -0800)]
Fix the clean target in debian/rules

14 years agoUse DESTDIR for make install
Steven Luo [Fri, 18 Dec 2009 12:00:33 +0000 (04:00 -0800)]
Use DESTDIR for make install

14 years agoNote cherry-picked commit in debian/changelog
Steven Luo [Fri, 18 Dec 2009 11:57:33 +0000 (03:57 -0800)]
Note cherry-picked commit in debian/changelog

14 years agoUpdate debian/changelog
Steven Luo [Fri, 18 Dec 2009 11:48:38 +0000 (03:48 -0800)]
Update debian/changelog

14 years agoconfig-ui: Teach UI how to HUP C browser-switchboards
Steven Luo [Fri, 18 Dec 2009 11:41:06 +0000 (03:41 -0800)]
config-ui: Teach UI how to HUP C browser-switchboards

14 years agoconfig-ui: Teach UI how to HUP C browser-switchboards
Steven Luo [Fri, 18 Dec 2009 11:41:06 +0000 (03:41 -0800)]
config-ui: Teach UI how to HUP C browser-switchboards

14 years agoUpdate packaging for the C implementation
Steven Luo [Fri, 18 Dec 2009 11:38:24 +0000 (03:38 -0800)]
Update packaging for the C implementation

With the introduction of object code, this is now an Arch: any package;
revise debian/control and debian/rules accordingly.  Also add the
appropriate Build-Depends, and readd the ${shlibs:Depends} in Depends in
debian/control.  Teach debian/postrm how to kill off C
browser-switchboards.

14 years agoMerge commit 'v3.0rc1' into diablo-package
Steven Luo [Fri, 18 Dec 2009 11:28:39 +0000 (03:28 -0800)]
Merge commit 'v3.0rc1' into diablo-package

14 years agoReadd the webpage
Steven Luo [Fri, 18 Dec 2009 11:17:48 +0000 (03:17 -0800)]
Readd the webpage

www got clobbered in the merge.

14 years agoAdd the version number to the README c-implementation v3.0rc1
Steven Luo [Fri, 18 Dec 2009 11:13:08 +0000 (03:13 -0800)]
Add the version number to the README

14 years agoUpdate Changelog and README
Steven Luo [Fri, 18 Dec 2009 11:12:39 +0000 (03:12 -0800)]
Update Changelog and README

14 years agoDefault to launching MicroB if default_browser is unset
Steven Luo [Fri, 18 Dec 2009 10:40:00 +0000 (02:40 -0800)]
Default to launching MicroB if default_browser is unset

The check-for-Tear-and-use-MicroB-otherwise hack was only until we got a
config UI.  Now that we have one, it's easiest just to keep MicroB as
the default until the user configures browser-switchboard.

14 years agoMake the default prefix /usr
Steven Luo [Fri, 18 Dec 2009 10:35:16 +0000 (02:35 -0800)]
Make the default prefix /usr

We're already assuming this in several places, and it's too much work to
make those files autogenerated when no one's going to use that feature.

14 years agoconfig-ui: the strip and install targets only work for the plugin
Steven Luo [Fri, 18 Dec 2009 10:29:09 +0000 (02:29 -0800)]
config-ui: the strip and install targets only work for the plugin

14 years agoEnsure that all objects for the plugin are built with -fPIC
Steven Luo [Fri, 18 Dec 2009 10:27:14 +0000 (02:27 -0800)]
Ensure that all objects for the plugin are built with -fPIC

14 years agomkdir all the directories to which we install files, not just some of them
Steven Luo [Fri, 18 Dec 2009 10:25:26 +0000 (02:25 -0800)]
mkdir all the directories to which we install files, not just some of them

14 years agoMerge branch 'config-ui' into c-implementation
Steven Luo [Fri, 18 Dec 2009 10:23:12 +0000 (02:23 -0800)]
Merge branch 'config-ui' into c-implementation

14 years agoRemove the N8x0-specific CFLAGS
Steven Luo [Fri, 18 Dec 2009 07:21:05 +0000 (23:21 -0800)]
Remove the N8x0-specific CFLAGS

These should move to packaging.

14 years agoRemove the N8x0-specific CFLAGS config-ui
Steven Luo [Fri, 18 Dec 2009 07:20:15 +0000 (23:20 -0800)]
Remove the N8x0-specific CFLAGS

These should move to packaging.

14 years agoHUP running browser-switchboard processes after saving config
Steven Luo [Thu, 17 Dec 2009 14:56:34 +0000 (06:56 -0800)]
HUP running browser-switchboard processes after saving config

Sending SIGHUP to a running browser-switchboard in continuous mode
causes it to reload its config.  If not in continuous mode, it'll die
and the next browser-switchboard will pick up the config changes.

14 years agoUse a stock GTK+ dialog
Steven Luo [Thu, 17 Dec 2009 14:34:40 +0000 (06:34 -0800)]
Use a stock GTK+ dialog

Use the stock OK/Cancel GTK+ dialog instead of making our own.  Also
use the response from gtk_dialog_run() to decide whether to save instead
of using custom callbacks for the buttons.  Should make the dialog more
Maemo 5 friendly.

Also, eliminate some unnecessary crap in the hildon-control-panel plugin
path, and reintroduce do_reconfig() in preparation for adding HUPing of
a running browser-switchboard.

14 years agoDon't execute hildon_program_get_instance() before gtk_init()
Steven Luo [Thu, 17 Dec 2009 14:05:23 +0000 (06:05 -0800)]
Don't execute hildon_program_get_instance() before gtk_init()

Shuts up some runtime assertions in the Hildon app.