branches with status:
Name Status Last Modified Last Commit
lp:~james-w/+junk/archive-publisher Development 2010-06-21 22:25:53 UTC 2010-06-21
54. Log the number of changed files in a ...

Author: James Westby
Revision Date: 2010-06-21 22:25:53 UTC

Log the number of changed files in a suite properly.

lp:~james-w/vostok/add-sourcepackagerelease-model (Has a merge proposal) Development 2010-06-04 22:59:02 UTC 2010-06-04
31. Add __unicode__ to SourcePackageRelea...

Author: James Westby
Revision Date: 2010-06-04 22:59:02 UTC

Add __unicode__ to SourcePackageRelease.

lp:~james-w/vostok/add-series-model (Has a merge proposal) Development 2010-06-04 22:55:41 UTC 2010-06-04
28. Have the factory save Series as they ...

Author: James Westby
Revision Date: 2010-06-04 22:55:41 UTC

Have the factory save Series as they are created.

lp:~james-w/vostok/add-distribution-model (Has a merge proposal) Development 2010-06-04 22:15:32 UTC 2010-06-04
21. Add __unicode__ to Distribution.

Author: James Westby
Revision Date: 2010-06-04 22:15:32 UTC

Add __unicode__ to Distribution.

lp:~james-w/gwibber/fix-threading Development 2010-04-07 21:46:15 UTC 2010-04-07
708. Use Processes rather than Threads to ...

Author: James Westby
Revision Date: 2010-04-07 21:36:38 UTC

Use Processes rather than Threads to avoid gobject.threads_init().

Calling gobject.threads_init() if you have multiple threads is absolutely
the right thing to do.

However, it creates a pipe(2) and sets up watches on this so that one thread
can wake another.

Python's multiprocessing spawns processes, but it only uses fork(2) to do this,
meaning that the children will inherit the parent's file descriptors.

Therefore if you combine threads, gobject and multiprocessing in one app
the children will be able to interfere with the parent using these fds.

When using some glib functions in the child (such as calling gnome-keyring)
it will write things to the pipe to wake other threads, but as the pipe is
shared it can wake the wrong one.

In addition when the child closes it can leave the parent in a confused state,
where it continually polls the pipe, taking up all the CPU.

There are several things you can do about this:

  * Not do any glib stuff involving watches or timeouts etc. in the child.
  * Not use threads in the parent and so not call gobject.threads_init()
  * Not use multiprocessing and do everything in threads.

The other alternative would be to properly isolate the children. glib
goes some way towards this by allowing you to change the GMainContext
for a thread, and you could use that in the child processes, except:

  * You can't do this from python currently.
  * Not all library code may use this properly and so cause issues anyway.

Here we took the approach to not use any threads. Anything that didn't
need to be a thread was made not to be one (Dispatcher), and anything
that needed to run in parallel was changed to use multiprocessing (MapAsync,
couchdb Monitor). This means we can delete the gobject.threads_init()
call and so avoid the pipe that was inherited and the bad behaviour.
There may be any number of other issues with the children sharing too
much global state of the parent though.

Or, in other words, global state bad.

lp:~james-w/lazr.restful/object-unmarshal (Has a merge proposal) Development 2010-03-26 15:40:12 UTC 2010-03-26
127. Fix long line in the doctest. Thanks ...

Author: James Westby
Revision Date: 2010-03-26 15:40:12 UTC

Fix long line in the doctest. Thanks Gary.

lp:~james-w/aptdaemon/fix-455861 bug(Has a merge proposal) Development 2010-03-15 02:11:06 UTC 2010-03-15
340. Don't race between closing the debcon...

Author: James Westby
Revision Date: 2010-03-15 02:05:34 UTC

Don't race between closing the debconf socket and accessing it.

As the gobject io watch events arrive asynchronously they can race with
the closing of the socket. Use a lock to ensure that they don't access the
socket at the same time, and a variable so that the callback will exit
queitly if it loses the race and waits on the lock.

lp:~james-w/udd/hottest100-updates (Has a merge proposal) Development 2010-02-23 15:18:36 UTC 2010-02-23
124. Remove bugs for package branches that...

Author: James Westby
Revision Date: 2010-02-23 15:17:45 UTC

Remove bugs for package branches that have been fixed.

lp:~james-w/bzr-builddeb/import-scripts Development 2010-02-13 14:30:45 UTC 2010-02-13
310. Adjust the sleeps in the thread waiti...

Author: James Westby
Revision Date: 2010-02-13 14:30:45 UTC

Adjust the sleeps in the thread waiting loop.

lp:~james-w/gtg/better-hamster (Has a merge proposal) Development 2010-02-10 12:08:38 UTC 2010-02-10
583. Fix the use of sets.

Author: James Westby
Revision Date: 2010-02-10 12:08:38 UTC

Fix the use of sets.

lp:ubuild Development 2010-01-31 23:58:13 UTC 2010-01-31
58. Add a script to install the only bits...

Author: James Westby
Revision Date: 2010-01-31 23:58:13 UTC

Add a script to install the only bits we can't run from source.

lp:~james-w/+junk/regex-test Development 2010-01-13 23:52:09 UTC 2010-01-13
2. Bar

Author: James Westby
Revision Date: 2010-01-13 23:52:09 UTC

Bar

lp:~james-w/lazr.restfulclient/reject-non-json-responses bug(Has a merge proposal) Development 2010-01-07 11:48:14 UTC 2010-01-07
87. Give a more specific error that will ...

Author: James Westby
Revision Date: 2010-01-07 11:45:22 UTC

Give a more specific error that will help with debugging.

lp:~james-w/lazr.restfulclient/improve-collection-fetch-optimisation (Has a merge proposal) Development 2010-01-05 11:28:11 UTC 2010-01-05
87. Account for the case where there isn'...

Author: James Westby
Revision Date: 2010-01-05 11:28:11 UTC

Account for the case where there isn't a first page properly.

lp:~james-w/ubuntu/karmic/kerneloops/disable-stable bug Development 2009-11-02 17:19:42 UTC 2009-11-02
14. Don't start kerneloops on boot in sta...

Author: James Westby
Revision Date: 2009-11-02 17:18:09 UTC

Don't start kerneloops on boot in stable releases.

lp:~james-w/ubuntu/feisty/nautilus/feisty bug Development 2009-09-30 18:27:40 UTC 2009-09-30
52. * debian/patches/90_from_svn_fix_colu...

Author: Sebastien Bacher
Revision Date: 2007-04-02 23:52:08 UTC

* debian/patches/90_from_svn_fix_column_width.patch:
  - patch from SVN, makes default name column use 32 chars rather than 16
    (Ubuntu: #93381)

lp:~james-w/desktopcouch/0.4.1 Development 2009-09-24 11:48:43 UTC 2009-09-24
10. Upload to karmic.

Author: James Westby
Revision Date: 2009-09-24 11:37:11 UTC

Upload to karmic.

lp:~james-w/ubuntu-seeds/ubuntu.karmic-kerneloops (Has a merge proposal) Development 2009-08-26 19:23:24 UTC 2009-08-26
1534. Add kerneloops-daemon to desktop and ...

Author: James Westby
Revision Date: 2009-08-26 19:22:00 UTC

Add kerneloops-daemon to desktop and server-ship.

Recommends in desktop as someone may want to remove it, Depends in server-ship
as that doesn't have any bearing on whether it can be removed.

lp:~james-w/ubuntu/karmic/devicekit-disks/fix-403192 bug(Has a merge proposal) Development 2009-08-25 17:47:06 UTC 2009-08-25
14. Allow Properties and Introspectable o...

Author: James Westby
Revision Date: 2009-08-25 17:42:36 UTC

Allow Properties and Introspectable over DBus. Properties is required for g-d-u.

lp:~james-w/update-notifier/bug-403192 (Has a merge proposal) Development 2009-08-13 13:12:02 UTC 2009-08-13
495. Handle NULL form gdu_pool_new.

Author: James Westby
Revision Date: 2009-08-13 13:10:38 UTC

Handle NULL form gdu_pool_new.

lp:~james-w/ubuntu/karmic/hotssh/fix-406544 bug(Has a merge proposal) Development 2009-08-06 09:00:21 UTC 2009-08-06
5. Depend on hotwire as it is used for h...

Author: James Westby
Revision Date: 2009-08-06 08:58:53 UTC

Depend on hotwire as it is used for hotssh.externals. (LP: #406544)

lp:~james-w/ubuntu/karmic/python-oauth/karmic Development 2009-07-09 14:57:10 UTC 2009-07-09
55. Allow backporting to hardy By taking...

Author: James Westby
Revision Date: 2009-07-09 14:57:10 UTC

Allow backporting to hardy

By taking --install-layout=deb from /usr/share/python/python.mk.

lp:~james-w/+junk/favourites-package Development 2009-07-09 11:51:31 UTC 2009-07-09
2. Add interpreter to debian/rules, than...

Author: James Westby
Revision Date: 2009-07-09 11:51:31 UTC

Add interpreter to debian/rules, thanks vila.

lp:~james-w/+junk/test_watcher Development 2009-05-29 13:12:44 UTC 2009-05-29
1. Prototype implementation

Author: James Westby
Revision Date: 2009-05-29 13:12:13 UTC

Prototype implementation

lp:~james-w/unattended-upgrades/karmic bug(Has a merge proposal) Development 2009-05-03 14:10:16 UTC 2009-05-03
86. Update for karmic. * Override mistak...

Author: James Westby
Revision Date: 2009-05-03 14:04:45 UTC

Update for karmic.

* Override mistaken sync from Debian. (LP: #371222)
* Do the work under binary-indep in debian/rules as the package is
  not architecture specific. Thanks Lintian.

lp:~james-w/bzr/bzr.dev.hooks Development 2009-04-06 22:35:26 UTC 2009-04-06 This branch has not been pushed to yet.
lp:~james-w/bzr/bzr.dev.revert Development 2009-03-13 05:05:06 UTC 2009-03-13
4127. Revert should revert pending merges e...

Author: James Westby
Revision Date: 2009-03-13 04:57:59 UTC

Revert should revert pending merges even if --forget-merges isn't given.

lp:~james-w/dulwich/avoid-slices Development 2009-02-22 17:00:50 UTC 2009-02-22
155. FIx off-by-one error, and thinko.

Author: James Westby
Revision Date: 2009-02-22 17:00:50 UTC

FIx off-by-one error, and thinko.

lp:~james-w/bzr-builddeb/profiles Development 2009-02-17 17:47:19 UTC 2009-02-17
318. Merge profile support. Still needs t...

Author: James Westby
Revision Date: 2009-02-17 17:44:56 UTC

Merge profile support.

Still needs the help topic added.

lp:~james-w/wadllib/fix-doctests (Has a merge proposal) Development 2009-02-16 15:38:53 UTC 2009-02-16
8. Turn on the needed doctests extension...

Author: James Westby
Revision Date: 2009-02-16 15:36:42 UTC

Turn on the needed doctests extensions for the tests.

lp:~james-w/gnome-utils/ubuntu.james-w Development 2009-01-21 17:51:04 UTC 2009-01-21 This branch has not been pushed to yet.
lp:~james-w/5-a-day-data/main Development 2009-01-12 00:12:03 UTC 2009-01-12
58. updated log for james-w

Author: James Westby
Revision Date: 2009-01-12 00:12:03 UTC

updated log for james-w

lp:~james-w/bash-completion/ubuntu Development 2009-01-08 11:05:44 UTC 2009-01-08
1079. * Merge from Debian, remaining change...

Author: James Westby
Revision Date: 2009-01-08 11:05:44 UTC

* Merge from Debian, remaining changes: (LP: #314806)
  * Add qdbus completion. (LP: #257903)
  * Fix IFS issue in _umount and correct _get_cword in _postfix
    (LP: #249337)
  * Both changes in upstream bzr.
* Added more completions to imagemagick (thanks to Nelson A. de
  Oliveira) (Closes: #487786)
* Added xrandr completion (thanks to Anton Khirnov) (Closes: #487825)
* Improving _gdb completion:
  - $filenames to $default (Closes: #463969)
  - also show directory names (i.e. compgen -d) in COMPREPLY.
  - added . to $PATH, to allow debugging "local" executables.
  - do not complete Bash's builtins (thanks to Morita Sho)
* Remove use of ucf for /etc/bash-completion (Closes: #488171).
* Revert way of setting environment variables (Closes: #487774).
* Add equals sign to _get_cword for mutt_aliases (Closes: #482635).
* Enhance mlayer completion (Closes: #487826, #487838).
* Merged Ubuntu changes:
  - added quote(), quote_readline(), dequote() helper functions.
  - added _remove_word()
  - fixed _get_cword()
  - refactored _filedir using quote_readline()
  - refactored _filedir_xspec using quote_readline()
  - fixed COMPREPLY's in _iwconfig
  - fixed _cvs()
  - _known_hosts(): use files from UserKnownHostsFile options in
                    addition to standard ones.
  - fixed _command() to correctly prune the command line
  - disabled completion of PostgreSQL users and databases
  - fixed _java_packages()
  - fixed _muttquery()
  - added flv/FLV completion to mplayer
  - added --installed to apt-cache
  - only complete on filenames for aspell
  - fixed code for exclusions compspecs
  - added code to gracefully handle debug options (set +/-v)
* Fixed IFS for filedir_xspec - Thanks to Stefan Lippers-Hollmann
  (Closes: #487571)
* Install dh-bash-completion to ease installation of completions.
* New upstream release
  - provide a manpage for extra/dh_bash-completion
  - fix semi-serious problem with _filedir() (Closes: #487449)
* debian/rules:
  - added rule to generate dh_bash-completion's manpage
* debian/install, debian/dirs:
  - installing dh_bash-completion into /usr/bin
* debian/control:
  - new package dh-bash-completion
* Comment new package to make sure current fix gets in the archive first.
* Add compression completion for vi(m).
* Urgency set to medium because the package is currently unusable.
* New upstream sub-release
  - fixed some typos here and there which prevented bash completions
    at all (Closes: #487441).
  - really closing Debian bug #455510.
* New upstream release
  - add more completions to aptitude (Closes: #432289)
  - fixed UTF-8 problem with _get_cword(), thanks to
    Andrei Paskevich (Closes: #472132)
  - fixed autoremove completion, thanks to Flavio Visentin
    (Closes: #474974)
  - cmf and CMF added to playmidi completion (Closes: #365658)
  - added rrdtool completion, thanks to Justin Pryzby (Closes: #428641)
  - added OpenDocument completion for unzip/zipinfo (.od{f,g,p,s,t})
    (Closes: #472940)
  - fixed escaping problems with job control (i.e. disown, jobs, bg,
    fg): the argument is now surrounded by "" (Closes: #347316)
  - make mkdir complete also on filenames (Closes: #376433)
  - {bz,z}{cat,cmp,diff,egrep,fgrep,grep,less,more} now should complete
    on all filenames, not just compressed archives (just commented out)
    (Closes: #455510)
  - fixes Perl completion (Closes: #470742)
  - fixes get_cword -> _get_cword typo (Closes: #478596)
  - fixes _get_cword() function to properly handle filenames with
    whitespaces (Closes: #394636, #468254, #474094)
  - added .pdf.bz2 completion to evince (Closes: #424736)
  - added .svg completion to display (Closes: #441017)
  - added .m2ts completion to mplayer (Closes: #480879)
  - added extra/dh_bash-completion to ease future rewrite of bc.
* debian/copyright - now in a fancier machine-parsable format.
* debian/control:
  - added myself to Uploaders
  - debhelper Build-Depends updated to >= 6.
* debian/watch:
  - improved current watch line regex
  - added (commented out) probable future watch line
* debian/compat bumped to 6
* debian/dirs, debian/install and debian/links added
* debian/rules:
  - refactored to make use of debian/{dirs,install,links}
* Applied patch to fix completion of umount command.
  (Closes: #470539)
* Fixed the completion of Perl manpages.
  (Closes: #404976)
* Added 'aif' to the filenames offed for completion for mplayer.
  (Closes: #474517)
* Allow tsocks completion.
  (Closes: #409423)
* Update mutt completion to handle local usernames.
  (Closes: #416655)
* Update apt-get completion to include the flag "--no-install-recommends"
  (Closes: #475242)

lp:~james-w/bzr-builddeb/test2 Development 2008-11-11 16:48:21 UTC 2008-11-11 This branch has not been pushed to yet.
lp:~james-w/bzr-builddeb/test Development 2008-11-11 16:40:25 UTC 2008-11-11 This branch has not been pushed to yet.
lp:~james-w/netbook-remix/maximus.handle-null-crash bug Development 2008-10-18 14:52:18 UTC 2008-10-18
29. Don't crash when class_name or res_na...

Author: James Westby
Revision Date: 2008-10-18 14:49:53 UTC

Don't crash when class_name or res_name are NULL.

Some apps will create windows with NULL class_name or res_name, and
the code should handle this. This change just prevents the crash,
it may be more appropriate to exclude these windows.

lp:~james-w/wadllib/ubuntu Development 2008-10-16 11:26:13 UTC 2008-10-16
29. Add "python-celementtree | python-ele...

Author: James Westby
Revision Date: 2008-10-16 11:16:09 UTC

Add "python-celementtree | python-elementtree" to Depends and
Build-Depends-Indep, for python2.4. The code will optimistically import
the former, but fall back to the latter. They aren't needed on python2.5,
as it first tries to import the module built in to that version, so these
can be dropped again when python2.4 is removed from the archive. Thanks
to Colin Watson.

lp:~james-w/screen-resolution-extra/intrepid bug Development 2008-09-13 11:41:31 UTC 2008-09-13
6. Don't try and use XKit, as it hasn't ...

Author: James Westby
Revision Date: 2008-09-13 11:39:27 UTC

Don't try and use XKit, as it hasn't been imported. Instead import
xorgparser from it and use that instead. (LP: #269757)

lp:~james-w/gnome-control-center/fix-269595 bug(Has a merge proposal) Development 2008-09-12 23:25:14 UTC 2008-09-12
17. * debian/patches/107_rr_NULL_output_n...

Author: James Westby
Revision Date: 2008-09-12 23:11:37 UTC

* debian/patches/107_rr_NULL_output_name.patch
  - handle output->name being NULL in on_screen_changed
    in the xrandr capplet. (LP: #269595)

lp:~james-w/+junk/hello-debhelper-proposed Development 2008-09-03 16:24:20 UTC 2008-09-03
4. Change the greeting.

Author: James Westby
Revision Date: 2008-09-03 16:22:33 UTC

Change the greeting.

lp:~james-w/+junk/hello-debhelper Development 2008-09-03 16:15:32 UTC 2008-09-03
3. Improve the short description.

Author: James Westby
Revision Date: 2008-09-03 14:58:43 UTC

Improve the short description.

lp:~james-w/packagekit/debian-packagekit-0.2.x.jamesw Development 2008-06-19 15:34:16 UTC 2008-06-19
29. * New upstream release. * Drop debian...

Author: James Westby
Revision Date: 2008-06-19 15:04:09 UTC

* New upstream release.
* Drop debian/patches/01_do_not_require_xapian.patch as it is upstream
  now.
* Add debian/patches/01_emit_package_on_install_remove.patch to emit
  Package() signals when installing and removing so that frontends work.
* Don't use a polkit user, as it doesn't work yet.
* Don't ship .a files in the -dev package.

lp:~james-w/+junk/fuse-debian Development 2008-05-16 14:45:47 UTC 2008-05-16
18. * Fix device node group after firs...

Author: Adam Cecile (Le_Vert)
Revision Date: 2008-05-16 12:59:30 UTC

  * Fix device node group after first-time-install (Closes: #473545).

lp:~james-w/+junk/fuse-ubuntu-upstream Development 2008-05-16 14:43:55 UTC 2008-05-16
14. Import upstream from fuse_2.7.3.orig....

Author: James Westby
Revision Date: 2008-05-16 12:59:25 UTC

Import upstream from fuse_2.7.3.orig.tar.gz

lp:~james-w/+junk/fuse-debian-upstream Development 2008-05-16 14:43:54 UTC 2008-05-16
14. Import upstream from fuse_2.7.3.orig....

Author: James Westby
Revision Date: 2008-05-16 12:59:25 UTC

Import upstream from fuse_2.7.3.orig.tar.gz

lp:~james-w/+junk/fuse-ubuntu Development 2008-05-16 14:40:31 UTC 2008-05-16
19. * Merge from debian unstable, rema...

Author: Oliver Grawert
Revision Date: 2008-05-16 12:59:32 UTC

  * Merge from debian unstable, remaining changes:
    - Don't install the init script; install the udev rule and the module
      configuration file instead.
    - debian/45-fuse.rules: set /dev/fuse group to fuse.
    - debian/fuse-utils.modprobe: module configuration file that mounts the
      control filesystem when fuse is loaded and unmounts it when fuse is
      unloaded, along with checking that the control FS is mounting before
      unmounting it.
    - debian/fuse-utils.install: add the udev rule, the module configuration
      file, and ulockmgr_server.
    - Load fuse on install, and set it so it gets loaded on reboot.
    - Move fusermount and ulockmgr_server to /bin and associated libraries
      to /lib.
    - Create libfuse2-udeb and fuse-utils-udeb.
    - Copy /sbin/mount.fuse and the fuse kernel module into the initramfs.

lp:~james-w/+junk/ssss Development 2008-04-28 20:27:35 UTC 2008-04-28
4. * New maintainer. Thanks David. (C...

Author: James Westby
Revision Date: 2008-04-28 20:23:48 UTC

  * New maintainer. Thanks David. (Closes: #387234)
  * Switch to quilt for patch management.
  * debian/compat:
    - Switch to level 5.
  * debian/copyright:
    - Add proper copyright statement and license header.
    - Add a statement about the copyright on the Debian packaging.
  * debian/rules:
    - Remove unneeded configure targets.
    - Remove unused dh_ calls.
    - Actually use the CFLAGS in the build.
    - Comment out DH_VERBOSE = 1.
  * debian/control:
    - Change the maintainer to myself.
    - Update Standards-Version to 3.7.2 (no changes required).
    - Add ${misc:Depends}.
    - Improve description.
    - Add Homepage: field.
    - Bump dependency on debhelper to >= 5.0.
  * debian/patches:
    - 01-Makefile-install: The patch from the last version to add an install
      target.
    - 05-man-hyphen: Escape all hyphens in the manpage source so they come
      out as the correct groff characters.
  * debian/watch:
    - Add.

lp:~james-w/+junk/specto-jeff-new Development 2008-03-15 17:19:09 UTC 2008-03-15
85. set_from_pixbuf() -> set_from_icon_na...

Author: chalserogers
Revision Date: 2008-01-25 09:30:36 UTC

set_from_pixbuf() -> set_from_icon_name()
Partial fix for issue 97. A full fix requires some more exception-catching around
icon_theme.load_icon(), which can't be replaced in this way due to the transparency
code

101148 of 148 results