Thomas Leonard [Fri, 11 Sep 2009 08:48:06 +0000 (11 09:48 +0100)]
Start development series 0.42.1-post
Thomas Leonard [Fri, 11 Sep 2009 08:48:05 +0000 (11 09:48 +0100)]
Release 0.42.1
Rene Lopez [Fri, 11 Sep 2009 01:24:09 +0000 (10 20:24 -0500)]
Removed unused instances of gtk.tooltips
Removed unused variable COMPILE
Rene Lopez [Fri, 11 Sep 2009 00:55:45 +0000 (10 19:55 -0500)]
Fix zero-install.ui duplicate object
Thomas Leonard [Sun, 6 Sep 2009 13:13:27 +0000 (6 14:13 +0100)]
0desktop sets the Terminal flag correctly
If a feed declares <needs-terminal/> then put Terminal=true in the
.desktop file we generate.
This got lost somehow when zero2desktop became 0desktop.
Also, running a program from the 0manage window tries to locate a suitable
terminal emulator if one is needed.
Thomas Leonard [Sun, 6 Sep 2009 12:33:40 +0000 (6 13:33 +0100)]
In the Preferences box, sort the domains in the list of trusted keys
Thomas Leonard [Sun, 6 Sep 2009 10:14:12 +0000 (6 11:14 +0100)]
Start development series 0.42-post
Thomas Leonard [Sun, 6 Sep 2009 10:14:10 +0000 (6 11:14 +0100)]
Release 0.42
Thomas Leonard [Mon, 31 Aug 2009 16:57:05 +0000 (31 17:57 +0100)]
Fixed typo in log format string
Thomas Leonard [Mon, 31 Aug 2009 16:10:53 +0000 (31 17:10 +0100)]
Always run the built-in copy of the GUI
Originally, the GUI was a separate program that 0launch downloaded when needed.
Later, a copy of the GUI was bundled to improve the experience for first-time
use, but updates were downloaded. In recent years, the only purpose of this has
been to add new GPG keys to the hints database.
Having the GUI as a separate program added unnecessary complexity, made it
harder to change the API and caused problems with translations.
Now that we contact a key information server to get the hints, there is no
longer any need to update the GUI on its own, so this code has been removed.
"0launch -g" now just opens the preferences dialog box.
Thomas Leonard [Mon, 31 Aug 2009 12:44:19 +0000 (31 13:44 +0100)]
The GUI trust box now displays information from the key information server
Thomas Leonard [Mon, 31 Aug 2009 11:17:46 +0000 (31 12:17 +0100)]
Converted GUI handler to use new key confirmation interface
The handler base class now discards queued requests that are no longer
necessary. This was previously only done in the GUI.
Anders F Bjorklund [Fri, 21 Aug 2009 12:59:28 +0000 (21 14:59 +0200)]
Allow multiple versions of each distribution package
On RPM-based systems, 32-bit and 64-bit versions of a package may have the same
package name, so store a list of (version, arch) pairs for each name.
Rene Lopez [Thu, 6 Aug 2009 14:12:33 +0000 (6 09:12 -0500)]
Fixed .ui files requiring gtk 2.16 instead of 2.12
Thomas Leonard [Wed, 5 Aug 2009 19:31:49 +0000 (5 20:31 +0100)]
Updated tooltip.
Rene Lopez [Tue, 4 Aug 2009 16:57:16 +0000 (4 11:57 -0500)]
Replaced Glade with GtkBuilder
Fixed UI resources stating that some top level widgets were visible.
Fixed the error when selecting a preferred stability it will be switched to the one above the selected one.
Rene Lopez [Fri, 31 Jul 2009 14:59:04 +0000 (31 09:59 -0500)]
Removed use gtk.FileSelection in favour of gtk.FileChooserDialog
Rene Lopez [Mon, 27 Jul 2009 14:11:46 +0000 (27 09:11 -0500)]
Make changes to some strings to improve the i18n
Thomas Leonard [Sun, 19 Jul 2009 15:01:57 +0000 (19 16:01 +0100)]
Mark trust messages as translatable
Thomas Leonard [Sun, 19 Jul 2009 13:17:07 +0000 (19 14:17 +0100)]
Allow user to skip key lookup
Thomas Leonard [Sun, 19 Jul 2009 13:15:22 +0000 (19 14:15 +0100)]
Record errors looking up keys
Thomas Leonard [Sun, 19 Jul 2009 13:01:12 +0000 (19 14:01 +0100)]
Updated unit-tests
Thomas Leonard [Sun, 19 Jul 2009 13:00:58 +0000 (19 14:00 +0100)]
Report errors before starting new task
Thomas Leonard [Sun, 19 Jul 2009 12:00:50 +0000 (19 13:00 +0100)]
Cache key information
Thomas Leonard [Sun, 19 Jul 2009 11:52:47 +0000 (19 12:52 +0100)]
Queue key confirmation prompts
Thomas Leonard [Sun, 19 Jul 2009 13:28:19 +0000 (19 14:28 +0100)]
Connect to a key-server to lookup trust hints
Thomas Leonard [Sun, 19 Jul 2009 08:36:40 +0000 (19 09:36 +0100)]
Added Handler.confirm_keys to replace confirm_trust_keys
This method takes a PendingFeed object rather than separate arguments, allowing
extra information to be provided without changing the API in future. It also takes
a function for fetching extra information about a key.
To support both legacy callers and legacy subclasses, the confirm_keys method
dispatches to confirm_import_feed for new-style classes or to confirm_trust_keys
for old-style ones. If you have a custom handler that overrides confirm_trust_keys,
you should now also override confirm_import_feed. You can continue to override
confirm_trust_keys if you want to support older callers.
Thomas Leonard [Sun, 19 Jul 2009 12:39:49 +0000 (19 13:39 +0100)]
Allow https downloads
Thomas Leonard [Sun, 19 Jul 2009 11:24:41 +0000 (19 12:24 +0100)]
Ensure tempfile is None when a download is unmodified
Thomas Leonard [Sun, 19 Jul 2009 09:38:16 +0000 (19 10:38 +0100)]
Handle KeyboardInterrupt exceptions correctly
These now need to be caught explicitly.
Thomas Leonard [Sat, 18 Jul 2009 10:28:36 +0000 (18 11:28 +0100)]
If unpacking fails, report stderr from unpacker child process
Before, stderr was not redirected, so the cause of the error was only visible
if running from a terminal.
Rene Lopez [Tue, 14 Jul 2009 21:48:14 +0000 (14 16:48 -0500)]
Fixed rating menu not showing localized strings
Thomas Leonard [Sun, 12 Jul 2009 14:31:59 +0000 (12 15:31 +0100)]
Fixed license output from the GUI
License is now LGPL, not GPL.
Thomas Leonard [Sun, 12 Jul 2009 14:29:23 +0000 (12 15:29 +0100)]
Merge branch 'i18n'
Thomas Leonard [Sun, 12 Jul 2009 10:39:42 +0000 (12 11:39 +0100)]
Import _ into each module rather than using a builtin
Thomas Leonard [Sun, 12 Jul 2009 10:14:59 +0000 (12 11:14 +0100)]
Don't install N_() in the builtin namespace
Thomas Leonard [Sun, 12 Jul 2009 10:05:35 +0000 (12 11:05 +0100)]
Moved locale setting out of the library
According the Python's documentation on the locale module:
"It is generally a bad idea to call setlocale() in some library routine, since
as a side effect it affects the entire program."
Rene Lopez [Fri, 12 Jun 2009 02:29:36 +0000 (11 21:29 -0500)]
Marked and modifed strings for i18n
Anders F Bjorklund [Sun, 28 Jun 2009 14:33:58 +0000 (28 16:33 +0200)]
Wrong variable used for issue file
Anders F Bjorklund [Tue, 30 Jun 2009 18:59:04 +0000 (30 19:59 +0100)]
Update swedish translations
Anders F Bjorklund [Tue, 30 Jun 2009 18:57:27 +0000 (30 19:57 +0100)]
Make more strings translatable
Anders F Bjorklund [Sun, 28 Jun 2009 15:18:20 +0000 (28 17:18 +0200)]
Use localized timestamp display
Thomas Leonard [Tue, 30 Jun 2009 18:44:31 +0000 (30 19:44 +0100)]
Merge security fixes from 0.41.1
Thomas Leonard [Sun, 28 Jun 2009 17:07:58 +0000 (28 18:07 +0100)]
Ensure that $HOME is reset by sudo
Thomas Leonard [Sun, 28 Jun 2009 16:31:33 +0000 (28 17:31 +0100)]
When using "0store copy", make copied directories read-only even by the owner
Thomas Leonard [Sun, 28 Jun 2009 16:03:35 +0000 (28 17:03 +0100)]
Security fix: hard-code /var/cache/0install.net/implementations in 0store-secure-add
Thomas Leonard [Sun, 28 Jun 2009 11:34:39 +0000 (28 12:34 +0100)]
Try to update an icon if the user presses "Refresh"
The icon file modification date is passed along to avoid unnecessary downloads - unmodified icons will not be downloaded.
frank.richter@gmail.com [Tue, 13 Jan 2009 15:28:58 +0000 (13 16:28 +0100)]
Support specification of a modification date when downloading resources
A resource will not be downloaded if it isn't newer than the given modification date.
Thomas Leonard [Sat, 27 Jun 2009 17:27:23 +0000 (27 18:27 +0100)]
Start development series 0.41-post
Thomas Leonard [Sat, 27 Jun 2009 17:27:20 +0000 (27 18:27 +0100)]
Release 0.41
Thomas Leonard [Sat, 27 Jun 2009 15:14:00 +0000 (27 16:14 +0100)]
Improved UI for versions menu
There is now a single popup menu, with both the stability ratings and the
function for opening the cached copy, and it can be opened by clicking anywhere
on a row.
Thomas Leonard [Sat, 27 Jun 2009 14:45:36 +0000 (27 15:45 +0100)]
"Compile" is now a sub-menu with Automatic and Manual options
Thomas Leonard [Sun, 21 Jun 2009 19:07:03 +0000 (21 20:07 +0100)]
Moved trust_box.py to gtkui
Thomas Leonard [Sat, 20 Jun 2009 15:15:45 +0000 (20 16:15 +0100)]
New key for Ilja Honkonen
Previous key has expired.
Thomas Leonard [Sat, 20 Jun 2009 10:44:28 +0000 (20 11:44 +0100)]
Fixed reporting of bad network use config setting
Thomas Leonard [Tue, 16 Jun 2009 18:55:14 +0000 (16 19:55 +0100)]
When there are no valid signatures, say which feed in the error message
Rene Lopez [Fri, 12 Jun 2009 01:25:33 +0000 (11 20:25 -0500)]
Removed errors in .desktop files in es locale strings
Thomas Leonard [Tue, 9 Jun 2009 12:07:01 +0000 (9 13:07 +0100)]
Escape < characters in error messages to notifier
Thomas Leonard [Tue, 9 Jun 2009 12:00:10 +0000 (9 13:00 +0100)]
Include full stack trace for unexpected errors during background updates
Thomas Leonard [Tue, 9 Jun 2009 11:49:33 +0000 (9 12:49 +0100)]
Fixed error with --main=/
Rene Lopez [Thu, 4 Jun 2009 02:09:25 +0000 (3 21:09 -0500)]
Added spanish translated strings to .desktop and .directory files
Thomas Leonard [Sun, 31 May 2009 12:51:01 +0000 (31 13:51 +0100)]
Added new GPG key for Thomas Leonard
Thomas Leonard [Mon, 25 May 2009 16:36:45 +0000 (25 17:36 +0100)]
Display a warning icon in the trust box for unknown keys
Thomas Leonard [Sat, 9 May 2009 11:37:40 +0000 (9 12:37 +0100)]
Don't rely on filesystem's report of symlink length
eCryptfs returns zero (reported by Dave Arnold).
Thomas Leonard [Sun, 19 Apr 2009 15:32:15 +0000 (19 16:32 +0100)]
Start development series 0.40-post
Thomas Leonard [Sun, 19 Apr 2009 15:32:13 +0000 (19 16:32 +0100)]
Release 0.40
Thomas Leonard [Sat, 18 Apr 2009 12:27:46 +0000 (18 13:27 +0100)]
Added --with-store option
This allows extra implementation cache directories to be appended to the
search path.
Thomas Leonard [Sun, 12 Apr 2009 14:31:49 +0000 (12 15:31 +0100)]
Fix download problem on FreeBSD
Socket gets wrapped in an "addclosehook" object.
Thomas Leonard [Sun, 12 Apr 2009 08:52:06 +0000 (12 09:52 +0100)]
Added VersionRestriction to force a particular version
Thomas Leonard [Sat, 11 Apr 2009 11:13:10 +0000 (11 12:13 +0100)]
Minor epydoc fixes.
Rafał Mużyło [Mon, 30 Mar 2009 17:40:05 +0000 (30 18:40 +0100)]
Fix Python 2.6 deprecation warning
Thomas Leonard [Sun, 29 Mar 2009 11:49:15 +0000 (29 12:49 +0100)]
Removed used of deprecated os.open2
Better unit-test for gpg.load_keys.
Thomas Leonard [Sat, 21 Mar 2009 17:58:35 +0000 (21 17:58 +0000)]
--get-selections with --console didn't work if we needed to download anything
Thomas Leonard [Sat, 21 Mar 2009 17:44:59 +0000 (21 17:44 +0000)]
Send console trust prompt to stderr, not stdout
Ask using stderr, because we may be writing XML to stdout.
Thomas Leonard [Sun, 8 Mar 2009 11:45:01 +0000 (8 11:45 +0000)]
Start development series 0.39-post
Thomas Leonard [Sun, 8 Mar 2009 11:45:01 +0000 (8 11:45 +0000)]
Release 0.39
Thomas Leonard [Sun, 8 Mar 2009 11:44:34 +0000 (8 11:44 +0000)]
Include .mo translation files in releases
Thomas Leonard [Sun, 8 Mar 2009 11:05:04 +0000 (8 11:05 +0000)]
With --systray, just blink the icon if key confirmation is needed
Before, we used to open the key confirmation immediately, which is
confusing with background updates.
Thomas Leonard [Sun, 8 Mar 2009 10:34:58 +0000 (8 10:34 +0000)]
If we need to confirm keys in a background check, use --systray
Also, run the GUI on the root interface, not just the one where
confirmation was needed.
Thomas Leonard [Sun, 8 Mar 2009 10:07:05 +0000 (8 10:07 +0000)]
Don't assume D-BUS is missing just because we can't get the SessionBus
SystemBus might still be available?
Thomas Leonard [Sun, 1 Mar 2009 13:16:15 +0000 (1 13:16 +0000)]
Create .mo files during build, not install
The .mo files are now updated by "make". This means they only get
regenerated when necessary and the process doesn't fail if the user has
a release (with .mo files) but not msgfmt.
Thomas Leonard [Sun, 1 Mar 2009 12:34:23 +0000 (1 12:34 +0000)]
If the notification system doesn't support actions, download anyway
This is required on Ubuntu/Jaunty, since they have removed support
for the actions part of the specification.
Thomas Leonard [Sun, 1 Mar 2009 11:24:21 +0000 (1 11:24 +0000)]
Added --systray option to the GUI
Instead of opening the usual window, display an icon in the system tray
and start the download automatically. Needed on Ubuntu/Jaunty because
its new notification system doesn't allow asking questions in
notification messages.
Thomas Leonard [Sun, 1 Mar 2009 11:22:26 +0000 (1 11:22 +0000)]
Don't try the mirror for "localhost" URLs
Had to update the tests to use example.com instead of localhost.
Thomas Leonard [Sun, 1 Mar 2009 12:39:53 +0000 (1 12:39 +0000)]
Minimum Python version is now 2.5
Even Debian/stable has it now.
Thomas Leonard [Sun, 22 Feb 2009 10:17:37 +0000 (22 10:17 +0000)]
Update year to 2009 in various places
Thomas Leonard [Sun, 15 Feb 2009 14:42:12 +0000 (15 14:42 +0000)]
More detailed bug reports about why no version could be selected
If we tried to select one, say what the best option was and why it
wasn't suitable. Otherwise, indicate how many possible implementations
were available.
Thomas Leonard [Tue, 3 Feb 2009 18:29:32 +0000 (3 18:29 +0000)]
Disable root checks when running on Windows
Zero Install makes a few changes to avoid putting root-owned files
in the user's home directory. Don't do this check on Windows, since
os.geteuid doesn't exist.
Thomas Leonard [Tue, 3 Feb 2009 18:28:35 +0000 (3 18:28 +0000)]
Use Socket.recv to fetch downloads
os.read() doesn't work with sockets on Windows.
Thomas Leonard [Tue, 3 Feb 2009 18:34:02 +0000 (3 18:34 +0000)]
Get GPG to send output to stdout
Windows version can't cope with sending output to other file
descriptors.
Thomas Leonard [Tue, 3 Feb 2009 18:24:06 +0000 (3 18:24 +0000)]
Don't corrupt downloads on Windows
Need to run Python with "-u" or stdout gets mangled.
Thomas Leonard [Sun, 1 Feb 2009 12:48:11 +0000 (1 12:48 +0000)]
Fixed location of locale directory
Anders F Bjorklund [Wed, 28 Jan 2009 22:08:11 +0000 (28 23:08 +0100)]
add update-po and check-po
Anders F Bjorklund [Wed, 28 Jan 2009 22:01:28 +0000 (28 23:01 +0100)]
add clean make target
Anders F Bjorklund [Wed, 28 Jan 2009 21:59:45 +0000 (28 22:59 +0100)]
check if locale directory exists first
Anders F Bjorklund [Tue, 27 Jan 2009 22:52:06 +0000 (27 23:52 +0100)]
Translate some more strings
Anders F Bjorklund [Tue, 27 Jan 2009 22:42:57 +0000 (27 23:42 +0100)]
Update swedish translations
Anders F Bjorklund [Tue, 27 Jan 2009 22:42:42 +0000 (27 23:42 +0100)]
Make more strings translatable
Anders F Bjorklund [Tue, 27 Jan 2009 22:09:58 +0000 (27 23:09 +0100)]
Use working gettext _()
Anders F Bjorklund [Tue, 27 Jan 2009 22:00:16 +0000 (27 23:00 +0100)]
Update translations, with the fixed makefile