Anders F Bjorklund [Tue, 27 Jan 2009 21:53:08 +0000 (27 22:53 +0100)]
Make buttons translatable too
Anders F Bjorklund [Mon, 26 Jan 2009 22:42:18 +0000 (26 23:42 +0100)]
Add i18n, gettext translations
Thomas Leonard [Sun, 25 Jan 2009 18:48:17 +0000 (25 18:48 +0000)]
Minor epydoc fix
Thomas Leonard [Sat, 24 Jan 2009 18:28:27 +0000 (24 18:28 +0000)]
Tests for RPMDistribution
Thomas Leonard [Sat, 24 Jan 2009 18:34:41 +0000 (24 18:34 +0000)]
Fixed Debian tests to work on non-Debian distributions
Only Debian's dash shell expands \t to a tab.
Thomas Leonard [Sat, 24 Jan 2009 17:07:44 +0000 (24 17:07 +0000)]
Moved common caching code into new CachedDistribution class
The logic for caching the RPM and Debian database results was
duplicated.
Anders F Björklund [Sat, 24 Jan 2009 16:42:33 +0000 (24 16:42 +0000)]
Use architecture from RPM packages
Similar to the existing support for Debian packages.
Anders F Björklund [Sat, 24 Jan 2009 16:35:38 +0000 (24 16:35 +0000)]
Support Fink version of dpkg
The Fink version doesn't support the -f flag, but only the --showformat flag.
Anders F Björklund [Sat, 24 Jan 2009 16:30:25 +0000 (24 16:30 +0000)]
Minor code cleanup
Thomas Leonard [Tue, 20 Jan 2009 19:06:16 +0000 (20 19:06 +0000)]
List failed paths in "0store audit" output
This makes it easy to bulk delete a large number of corrupted
implementations (or move them elsewhere for examination and
possible recovery with "0store copy").
Thomas Leonard [Sun, 18 Jan 2009 09:57:44 +0000 (18 09:57 +0000)]
Start development series 0.38-post
Thomas Leonard [Sun, 18 Jan 2009 09:57:44 +0000 (18 09:57 +0000)]
Release 0.38
Thomas Leonard [Sat, 17 Jan 2009 18:41:55 +0000 (17 18:41 +0000)]
If we can't load an icon, don't keep trying to re-download it
Thomas Leonard [Sat, 17 Jan 2009 18:41:02 +0000 (17 18:41 +0000)]
Log "Missing <feed-for>" at info level, not warning
It's not really an error to include a feed that doesn't know about your
one.
Thomas Leonard [Sat, 17 Jan 2009 18:27:28 +0000 (17 18:27 +0000)]
Get the LZMA archive decompressor through Zero Install if missing
Thomas Leonard [Sat, 17 Jan 2009 18:05:10 +0000 (17 18:05 +0000)]
Added messages to explain the compile process
Thomas Leonard [Sat, 17 Jan 2009 17:56:32 +0000 (17 17:56 +0000)]
Added --message option to display a hint to the user
This is useful if the user might be confused about why a download box
has suddenly appeared.
frank.richter@gmail.com [Fri, 28 Nov 2008 21:23:00 +0000 (28 22:23 +0100)]
Only cache a "no" icon if the policy returned a fetcher for downloading the icon. This fixes occasional display of the default icon even though a feed has an icon.
Rabbe Fogelholm [Sun, 11 Jan 2009 10:40:28 +0000 (11 10:40 +0000)]
Fixed typo in manpage
Thomas Leonard [Sat, 10 Jan 2009 13:26:38 +0000 (10 13:26 +0000)]
Added 0store audit
Verifies every implementation in each of the given cache directories, or
in all of the default cache directories if no arguments are given. This
will detect any packages which have been tampered with since they were
unpacked.
Thomas Leonard [Sun, 4 Jan 2009 14:00:30 +0000 (4 14:00 +0000)]
Cope better with being run through sudo
If we find ourselves running as root but $HOME is owned by a user, get
root's real home from /etc/passwd and use that for the configuration and
cache files and for gpg's home. Otherwise, we are likely to create
root-owned files in the user's home directory.
Thomas Leonard [Fri, 2 Jan 2009 13:16:25 +0000 (2 13:16 +0000)]
When changing the network preference, call solve_with_downloads
recalculate() is deprecated and doesn't update the display properly
if feeds have to be downloaded.
Thomas Leonard [Fri, 2 Jan 2009 13:05:11 +0000 (2 13:05 +0000)]
Versions list didn't work if the solver hadn't reached it
If the solver doesn't get as far as evaluating a component then we try
to just list all the versions sorted version number, not solver
preference. Due to a type change, this had stopped working.
Thomas Leonard [Fri, 2 Jan 2009 12:42:45 +0000 (2 12:42 +0000)]
Ignore off-line mode setting when the user explicitly clicks Refresh
Thomas Leonard [Wed, 31 Dec 2008 12:12:43 +0000 (31 12:12 +0000)]
Downloading fixed selections failed if the feed was known
Typo in selections.py. Added a test to check it.
Thomas Leonard [Wed, 31 Dec 2008 12:03:49 +0000 (31 12:03 +0000)]
--download-only option was ignored if used with --set-selections
Thomas Leonard [Mon, 29 Dec 2008 10:48:39 +0000 (29 10:48 +0000)]
Fixed bug importing multiple feeds at once
Thomas Leonard [Sun, 28 Dec 2008 14:29:38 +0000 (28 14:29 +0000)]
Use subprocess instead of deprecated popen2 module
Thomas Leonard [Sun, 28 Dec 2008 13:38:34 +0000 (28 13:38 +0000)]
Fixed some deprecation warnings from Python 2.6
Thomas Leonard [Mon, 15 Dec 2008 18:31:57 +0000 (15 18:31 +0000)]
Better check for Debian-style distribution
Check for '/var/lib/dpkg/status', not just '/var/lib/dpkg' (reported by
Markus Rathgeb).
Thomas Leonard [Sun, 7 Dec 2008 13:05:00 +0000 (7 13:05 +0000)]
New key for Eric Wasylishen
Thomas Leonard [Sun, 30 Nov 2008 15:14:10 +0000 (30 15:14 +0000)]
Start development series 0.37-post
Thomas Leonard [Sun, 30 Nov 2008 15:14:09 +0000 (30 15:14 +0000)]
Release 0.37
Thomas Leonard [Sun, 30 Nov 2008 14:39:53 +0000 (30 14:39 +0000)]
Remove version-modifier attribute from model when loading
This attribute is only used for backward-compatibility and should
go away at some point. When getting selections, the version attribute
was set to the combined string, but the version-modifier attribute
was present as well.
frank.richter@gmail.com [Fri, 28 Nov 2008 20:11:46 +0000 (28 21:11 +0100)]
App list box: Get rid of horizontal scrollbar.
Actions are right aligned, and the app description fills all the width
between icon and actions columns.
Thomas Leonard [Sat, 8 Nov 2008 20:14:59 +0000 (8 20:14 +0000)]
Include all attributes in selections XML
Meta-data such as the license and compile command weren't previously
included.
Thomas Leonard [Sat, 8 Nov 2008 09:43:06 +0000 (8 09:43 +0000)]
Ensure over_overrides file is flushed before renaming
Reported on ROX web-site.
Mark Seaborn [Fri, 24 Oct 2008 11:03:05 +0000 (24 12:03 +0100)]
Rename duplicate-named test
Mark Seaborn [Thu, 23 Oct 2008 18:16:49 +0000 (23 19:16 +0100)]
Tidy: remove some dead test code
Mark Seaborn [Thu, 23 Oct 2008 18:11:10 +0000 (23 19:11 +0100)]
Two small simplifications
Mark Seaborn [Thu, 23 Oct 2008 18:03:40 +0000 (23 19:03 +0100)]
Tidy: remove unused imports
Mark Seaborn [Thu, 23 Oct 2008 17:24:49 +0000 (23 18:24 +0100)]
If http_proxy is set it can cause the download tests to fail
Thomas Leonard [Mon, 29 Sep 2008 16:43:00 +0000 (29 17:43 +0100)]
Increase delay before checking for updates
If NetworkManager says we're not connected yet, wait 2 minutes
before trying anyway (not 20 seconds).
Thomas Leonard [Wed, 24 Sep 2008 19:06:39 +0000 (24 20:06 +0100)]
Allow changing the stability rating of implementations in feeds
Before, it tried to save the settings for the interface, not the feed.
Thomas Leonard [Mon, 22 Sep 2008 20:11:43 +0000 (22 21:11 +0100)]
Don't filter out feeds with no machine type when looking for source code
We treated a missing machine type in a <feed> as "any", but that doesn't match
if we're looking for source code.
Thomas Leonard [Mon, 22 Sep 2008 19:38:41 +0000 (22 20:38 +0100)]
Don't treat "src" as an architecture group
After selecting a "src" package, it assumed this was a 32-bit architecture
and tried to find dependencies to match.
frank.richter@gmail.com [Wed, 17 Sep 2008 18:22:04 +0000 (17 20:22 +0200)]
"Manage feeds" dialog: limit size of icons displayed in list
frank.richter@gmail.com [Wed, 17 Sep 2008 18:15:10 +0000 (17 20:15 +0200)]
zeroinstall.injector.gpg.load_keys(): Use the primary UID for the name of a key
Thomas Leonard [Sun, 14 Sep 2008 08:46:55 +0000 (14 09:46 +0100)]
Fixed last-check-attempt time-stamp code
When checking for updates we store a time-stamp so that we don't keep
re-checking the same feed in a short period. If the time-stamp file already
existed, this code failed to update it.
Thomas Leonard [Sat, 6 Sep 2008 10:55:07 +0000 (6 11:55 +0100)]
Start development series 0.36-post
Thomas Leonard [Sat, 6 Sep 2008 10:55:07 +0000 (6 11:55 +0100)]
Release 0.36
Thomas Leonard [Fri, 5 Sep 2008 18:13:08 +0000 (5 19:13 +0100)]
Added Frank Richter's key
Thomas Leonard [Thu, 4 Sep 2008 19:11:37 +0000 (4 20:11 +0100)]
Reintroduce download hack for Windows
Thomas Leonard [Thu, 4 Sep 2008 18:42:07 +0000 (4 19:42 +0100)]
Less CPU-intensive downloads
As a work around for Python bug
1327971 we were copying downloaded data one byte at a time.
Use an ugly-but-fast hack instead to try and fix performance problem reported in Debian
bug #497569.
Thomas Leonard [Thu, 4 Sep 2008 18:21:07 +0000 (4 19:21 +0100)]
Update the display less frequently while downloading
Debian bug #497569 says downloading uses 100% CPU (Simon Wenner). Not sure if
this is the reason, but we're probably updating the display too frequently
anyway.
Thomas Leonard [Thu, 4 Sep 2008 18:14:27 +0000 (4 19:14 +0100)]
Reject URIs without a path component (e.g. host)
Thomas Leonard [Thu, 4 Sep 2008 15:21:09 +0000 (4 16:21 +0100)]
Don't assume an RPM-based distribution just because /var/lib/rpm exists.
Actually check for the /var/lib/rpm/Packages file instead (reported by Demetrio
Girardi).
Thomas Leonard [Mon, 25 Aug 2008 08:05:42 +0000 (25 09:05 +0100)]
Reject obvious attempts to drag archives to 0desktop
People keep trying to drag .exe, .tar.bz2, etc archives to 0desktop.
Reject URLs ending in these strings with a more helpful error message
(rather than downloading them and complaining that it's not XML).
Thomas Leonard [Sat, 23 Aug 2008 11:35:39 +0000 (23 12:35 +0100)]
Record architecture for Debian packages
We used to assume that a native Debian package had an arch type of '*'
(i.e. it would always be compatible with everything). However, on a mixed
32 and 64 bit platform, we can't use a 64-bit native library with a 32-bit
Zero Install package. Therefore, take notice of the deb's architecture too.
Might need a similar change for RPMs too.
Thomas Leonard [Sun, 17 Aug 2008 10:01:00 +0000 (17 11:01 +0100)]
Use subprocess to unpack archives.
Avoid fork() so it can work on Windows.
Thomas Leonard [Sun, 17 Aug 2008 09:38:43 +0000 (17 10:38 +0100)]
Don't use fork() for downloads; Windows doesn't support it
Uses subprocess instead.
Thomas Leonard [Sat, 16 Aug 2008 14:19:46 +0000 (16 15:19 +0100)]
Cache viewer's Close button now works.
Thomas Leonard [Sat, 16 Aug 2008 13:11:11 +0000 (16 14:11 +0100)]
Start development series 0.35-post
Thomas Leonard [Sat, 16 Aug 2008 13:11:11 +0000 (16 14:11 +0100)]
Release 0.35
Thomas Leonard [Sat, 16 Aug 2008 13:09:03 +0000 (16 14:09 +0100)]
Include cache.glade when installing with setup.py.
Thomas Leonard [Wed, 13 Aug 2008 18:22:19 +0000 (13 19:22 +0100)]
Updated epydoc introduction
Thomas Leonard [Sun, 10 Aug 2008 18:46:11 +0000 (10 19:46 +0100)]
Allow file:///path feed URIs.
This is equivalent to just using /path.
Reported by Matt Lawrence.
Thomas Leonard [Thu, 7 Aug 2008 21:04:44 +0000 (7 22:04 +0100)]
Log a useful warning if a user_overrides file gets corrupted.
Don't know what could cause this, though. Reported on the ROX web-site.
Thomas Leonard [Wed, 30 Jul 2008 19:33:28 +0000 (30 20:33 +0100)]
Cope with os.uname not existing.
Some systems don't support it yet.
Thomas Leonard [Wed, 30 Jul 2008 19:09:31 +0000 (30 20:09 +0100)]
Use subprocess instead of fork when running gpg.
Some systems don't yet have support for fork().
Thomas Leonard [Wed, 30 Jul 2008 18:37:13 +0000 (30 19:37 +0100)]
Removed a load of unused imports.
Thanks, pyflakes! Also found a bug.
Note that this is a slight API change, since it was previously possible to get
these symbols from the wrong module without error.
Thomas Leonard [Wed, 30 Jul 2008 18:04:01 +0000 (30 19:04 +0100)]
Fixed some epydoc comments.
Thomas Leonard [Mon, 7 Jul 2008 19:11:57 +0000 (7 20:11 +0100)]
Only try to download each icon once
Before, we would keep trying to download an icon that was missing.
Thomas Leonard [Sun, 6 Jul 2008 19:31:47 +0000 (6 20:31 +0100)]
Added <overlay/> support to model
Thomas Leonard [Sun, 6 Jul 2008 09:09:49 +0000 (6 10:09 +0100)]
Improved multi-arch tests
Check that dependencies are from the same architecture group as the main
binary, even if another version would otherwise be better.
Thomas Leonard [Sat, 5 Jul 2008 19:09:59 +0000 (5 20:09 +0100)]
Don't create .desktop filenames with spaces; xdg-desktop-menu gets confused
xdg-desktop-menu gives a misleading error message ("does not have a proper
vendor prefix") if the name contains a space. Reported by Thomas Formella.
Thomas Leonard [Sat, 5 Jul 2008 18:57:18 +0000 (5 19:57 +0100)]
Added support for multi-arch
We can choose either x86_64 binaries or i[3456]86 binaries, but we can't mix
both in a single process.
Also fixed the sense of the OS and CPU tests so that we now pick the best OS
and CPU match than the worst.
Thomas Leonard [Sat, 5 Jul 2008 18:00:06 +0000 (5 19:00 +0100)]
Fixed epydoc comment in Solver
Thomas Leonard [Sat, 5 Jul 2008 14:01:38 +0000 (5 15:01 +0100)]
Added --cpu and --os arguments to 0launch
This allows you to choose a binary for a different host.
It's also useful on an x86_64 machine to run an x86 binary.
Thomas Leonard [Fri, 20 Jun 2008 15:40:21 +0000 (20 16:40 +0100)]
CacheExplorer now takes the iface_cache as an input
Thomas Leonard [Fri, 20 Jun 2008 15:14:32 +0000 (20 16:14 +0100)]
Added "Show Cache" button to "0desktop --manage" window.
Thomas Leonard [Fri, 20 Jun 2008 15:25:43 +0000 (20 16:25 +0100)]
Added "0store manage" command to show the GTK cache viewer.
The "Show Cache" button has been removed from the "0launch --gui"
dialog box, since it didn't really belong there.
Thomas Leonard [Fri, 20 Jun 2008 15:24:39 +0000 (20 16:24 +0100)]
Moved CacheExplorer to zeroinstall.gtkui.
Doesn't work yet. This is just to make sure GIT tracks the rename.
Thomas Leonard [Fri, 20 Jun 2008 14:18:39 +0000 (20 15:18 +0100)]
Moved help_box to zeroinstall.gtkui.
Thomas Leonard [Fri, 20 Jun 2008 13:58:21 +0000 (20 14:58 +0100)]
Moved some useful GUI code into zeroinstall.gtkui.gtkutils.
Thomas Leonard [Wed, 18 Jun 2008 12:37:06 +0000 (18 13:37 +0100)]
Start development series 0.34-post
Thomas Leonard [Wed, 18 Jun 2008 12:37:06 +0000 (18 13:37 +0100)]
Release 0.34
Thomas Leonard [Wed, 18 Jun 2008 12:19:53 +0000 (18 13:19 +0100)]
Default algorithm for "0store manifest" is now sha1new.
Thomas Leonard [Wed, 18 Jun 2008 12:13:41 +0000 (18 13:13 +0100)]
Removed use of deprecated "sets" module.
Python 2.6 issues a warning.
Thomas Leonard [Wed, 18 Jun 2008 11:01:24 +0000 (18 12:01 +0100)]
Added Selections.download_missing
Starts of download of any implementations that are missing.
Also fetches any required feeds or keys.
Thomas Leonard [Wed, 18 Jun 2008 10:28:31 +0000 (18 11:28 +0100)]
Find help for ROX applications automatically
If doc-dir isn't set try <appdir>/Help. Also, refuse to open documentation
directories that appear to be appdirs, since xdg-open would run them instead.
Thomas Leonard [Wed, 18 Jun 2008 10:18:17 +0000 (18 11:18 +0100)]
Added tooltips for the action buttons in the 0desktop list.
Thomas Leonard [Wed, 18 Jun 2008 10:13:34 +0000 (18 11:13 +0100)]
Documented and cleaned TreeTips API.
Thomas Leonard [Wed, 18 Jun 2008 10:03:02 +0000 (18 11:03 +0100)]
Moved treetips into zeroinstall.gtkui.
This class provides a generic way to display tooltips on a TreeView.
Thomas Leonard [Wed, 18 Jun 2008 09:50:12 +0000 (18 10:50 +0100)]
Split AppList out from AppListBox
This allows the AppListBox to manage other lists of applications, such as the
list of plugins of an application, not just the list of applications on the
menu.
Thomas Leonard [Tue, 17 Jun 2008 12:45:11 +0000 (17 13:45 +0100)]
When running with --set-selections, download any missing implementations
Note that we don't download or update their feeds yet; we assume that the
information about where to get the missing implementations is already cached.
Thomas Leonard [Tue, 17 Jun 2008 11:58:04 +0000 (17 12:58 +0100)]
Changed menu to simply "Manage Programs".
Thomas Leonard [Tue, 17 Jun 2008 11:35:51 +0000 (17 12:35 +0100)]
Changed 0desktop window title to "Add Zero Install Application"
Thomas Leonard [Tue, 17 Jun 2008 11:32:27 +0000 (17 12:32 +0100)]
Use a default icon if the app doesn't have one
Thomas Leonard [Tue, 17 Jun 2008 11:20:32 +0000 (17 12:20 +0100)]
Renamed 0desktop's .desktop file.
Was zero2desktop, but it's now a different program.