zeroinstall/zeroinstall-rsl.git
14 years agoStart development series 0.42.1-postmaster
Thomas Leonard [Fri, 11 Sep 2009 08:48:06 +0000 (11 09:48 +0100)]
Start development series 0.42.1-post

14 years agoRelease 0.42.1
Thomas Leonard [Fri, 11 Sep 2009 08:48:05 +0000 (11 09:48 +0100)]
Release 0.42.1

14 years agoRemoved unused instances of gtk.tooltips
Rene Lopez [Fri, 11 Sep 2009 01:24:09 +0000 (10 20:24 -0500)]
Removed unused instances of gtk.tooltips

Removed unused variable COMPILE

14 years agoFix zero-install.ui duplicate object
Rene Lopez [Fri, 11 Sep 2009 00:55:45 +0000 (10 19:55 -0500)]
Fix zero-install.ui duplicate object

14 years ago0desktop sets the Terminal flag correctly
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.

14 years agoIn the Preferences box, sort the domains in the list of trusted keys
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

14 years agoStart development series 0.42-post
Thomas Leonard [Sun, 6 Sep 2009 10:14:12 +0000 (6 11:14 +0100)]
Start development series 0.42-post

14 years agoRelease 0.42
Thomas Leonard [Sun, 6 Sep 2009 10:14:10 +0000 (6 11:14 +0100)]
Release 0.42

14 years agoFixed typo in log format string
Thomas Leonard [Mon, 31 Aug 2009 16:57:05 +0000 (31 17:57 +0100)]
Fixed typo in log format string

14 years agoAlways run the built-in copy of the GUI
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.

14 years agoThe GUI trust box now displays information from the key information server
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

14 years agoConverted GUI handler to use new key confirmation interface
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.

14 years agoAllow multiple versions of each distribution package
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.

14 years agoFixed .ui files requiring gtk 2.16 instead of 2.12
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

14 years agoUpdated tooltip.
Thomas Leonard [Wed, 5 Aug 2009 19:31:49 +0000 (5 20:31 +0100)]
Updated tooltip.

14 years agoReplaced Glade with GtkBuilder
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.

14 years agoRemoved use gtk.FileSelection in favour of gtk.FileChooserDialog
Rene Lopez [Fri, 31 Jul 2009 14:59:04 +0000 (31 09:59 -0500)]
Removed use gtk.FileSelection in favour of gtk.FileChooserDialog

14 years agoMake changes to some strings to improve the i18n
Rene Lopez [Mon, 27 Jul 2009 14:11:46 +0000 (27 09:11 -0500)]
Make changes to some strings to improve the i18n

14 years agoMark trust messages as translatable
Thomas Leonard [Sun, 19 Jul 2009 15:01:57 +0000 (19 16:01 +0100)]
Mark trust messages as translatable

14 years agoAllow user to skip key lookup
Thomas Leonard [Sun, 19 Jul 2009 13:17:07 +0000 (19 14:17 +0100)]
Allow user to skip key lookup

14 years agoRecord errors looking up keys
Thomas Leonard [Sun, 19 Jul 2009 13:15:22 +0000 (19 14:15 +0100)]
Record errors looking up keys

14 years agoUpdated unit-tests
Thomas Leonard [Sun, 19 Jul 2009 13:01:12 +0000 (19 14:01 +0100)]
Updated unit-tests

14 years agoReport errors before starting new task
Thomas Leonard [Sun, 19 Jul 2009 13:00:58 +0000 (19 14:00 +0100)]
Report errors before starting new task

14 years agoCache key information
Thomas Leonard [Sun, 19 Jul 2009 12:00:50 +0000 (19 13:00 +0100)]
Cache key information

14 years agoQueue key confirmation prompts
Thomas Leonard [Sun, 19 Jul 2009 11:52:47 +0000 (19 12:52 +0100)]
Queue key confirmation prompts

14 years agoConnect to a key-server to lookup trust hints
Thomas Leonard [Sun, 19 Jul 2009 13:28:19 +0000 (19 14:28 +0100)]
Connect to a key-server to lookup trust hints

14 years agoAdded Handler.confirm_keys to replace confirm_trust_keys
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.

14 years agoAllow https downloads
Thomas Leonard [Sun, 19 Jul 2009 12:39:49 +0000 (19 13:39 +0100)]
Allow https downloads

14 years agoEnsure tempfile is None when a download is unmodified
Thomas Leonard [Sun, 19 Jul 2009 11:24:41 +0000 (19 12:24 +0100)]
Ensure tempfile is None when a download is unmodified

14 years agoHandle KeyboardInterrupt exceptions correctly
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.

14 years agoIf unpacking fails, report stderr from unpacker child process
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.

14 years agoFixed rating menu not showing localized strings
Rene Lopez [Tue, 14 Jul 2009 21:48:14 +0000 (14 16:48 -0500)]
Fixed rating menu not showing localized strings

14 years agoFixed license output from the GUI
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.

14 years agoMerge branch 'i18n'
Thomas Leonard [Sun, 12 Jul 2009 14:29:23 +0000 (12 15:29 +0100)]
Merge branch 'i18n'

14 years agoImport _ into each module rather than using a builtin
Thomas Leonard [Sun, 12 Jul 2009 10:39:42 +0000 (12 11:39 +0100)]
Import _ into each module rather than using a builtin

14 years agoDon't install N_() in the builtin namespace
Thomas Leonard [Sun, 12 Jul 2009 10:14:59 +0000 (12 11:14 +0100)]
Don't install N_() in the builtin namespace

14 years agoMoved locale setting out of the library
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."

14 years agoMarked and modifed strings for i18n
Rene Lopez [Fri, 12 Jun 2009 02:29:36 +0000 (11 21:29 -0500)]
Marked and modifed strings for i18n

14 years agoWrong variable used for issue file
Anders F Bjorklund [Sun, 28 Jun 2009 14:33:58 +0000 (28 16:33 +0200)]
Wrong variable used for issue file

14 years agoUpdate swedish translations
Anders F Bjorklund [Tue, 30 Jun 2009 18:59:04 +0000 (30 19:59 +0100)]
Update swedish translations

14 years agoMake more strings translatable
Anders F Bjorklund [Tue, 30 Jun 2009 18:57:27 +0000 (30 19:57 +0100)]
Make more strings translatable

14 years agoUse localized timestamp display
Anders F Bjorklund [Sun, 28 Jun 2009 15:18:20 +0000 (28 17:18 +0200)]
Use localized timestamp display

14 years agoMerge security fixes from 0.41.1
Thomas Leonard [Tue, 30 Jun 2009 18:44:31 +0000 (30 19:44 +0100)]
Merge security fixes from 0.41.1

14 years agoEnsure that $HOME is reset by sudo
Thomas Leonard [Sun, 28 Jun 2009 17:07:58 +0000 (28 18:07 +0100)]
Ensure that $HOME is reset by sudo

14 years agoWhen using "0store copy", make copied directories read-only even by the owner
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

14 years agoSecurity fix: hard-code /var/cache/0install.net/implementations in 0store-secure-add
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

14 years agoTry to update an icon if the user presses "Refresh"
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.

14 years agoSupport specification of a modification date when downloading resources
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.

14 years agoStart development series 0.41-post
Thomas Leonard [Sat, 27 Jun 2009 17:27:23 +0000 (27 18:27 +0100)]
Start development series 0.41-post

14 years agoRelease 0.41
Thomas Leonard [Sat, 27 Jun 2009 17:27:20 +0000 (27 18:27 +0100)]
Release 0.41

14 years agoImproved UI for versions menu
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.

14 years ago"Compile" is now a sub-menu with Automatic and Manual options
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

14 years agoMoved trust_box.py to gtkui
Thomas Leonard [Sun, 21 Jun 2009 19:07:03 +0000 (21 20:07 +0100)]
Moved trust_box.py to gtkui

14 years agoNew key for Ilja Honkonen
Thomas Leonard [Sat, 20 Jun 2009 15:15:45 +0000 (20 16:15 +0100)]
New key for Ilja Honkonen

Previous key has expired.

14 years agoFixed reporting of bad network use config setting
Thomas Leonard [Sat, 20 Jun 2009 10:44:28 +0000 (20 11:44 +0100)]
Fixed reporting of bad network use config setting

14 years agoWhen there are no valid signatures, say which feed in the error message
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

14 years agoRemoved errors in .desktop files in es locale strings
Rene Lopez [Fri, 12 Jun 2009 01:25:33 +0000 (11 20:25 -0500)]
Removed errors in .desktop files in es locale strings

14 years agoEscape < characters in error messages to notifier
Thomas Leonard [Tue, 9 Jun 2009 12:07:01 +0000 (9 13:07 +0100)]
Escape < characters in error messages to notifier

14 years agoInclude full stack trace for unexpected errors during background updates
Thomas Leonard [Tue, 9 Jun 2009 12:00:10 +0000 (9 13:00 +0100)]
Include full stack trace for unexpected errors during background updates

14 years agoFixed error with --main=/
Thomas Leonard [Tue, 9 Jun 2009 11:49:33 +0000 (9 12:49 +0100)]
Fixed error with --main=/

14 years agoAdded spanish translated strings to .desktop and .directory files
Rene Lopez [Thu, 4 Jun 2009 02:09:25 +0000 (3 21:09 -0500)]
Added spanish translated strings to .desktop and .directory files

14 years agoAdded new GPG key for Thomas Leonard
Thomas Leonard [Sun, 31 May 2009 12:51:01 +0000 (31 13:51 +0100)]
Added new GPG key for Thomas Leonard

14 years agoDisplay a warning icon in the trust box for unknown keys
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

14 years agoDon't rely on filesystem's report of symlink length
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).

15 years agoStart development series 0.40-post
Thomas Leonard [Sun, 19 Apr 2009 15:32:15 +0000 (19 16:32 +0100)]
Start development series 0.40-post

15 years agoRelease 0.40
Thomas Leonard [Sun, 19 Apr 2009 15:32:13 +0000 (19 16:32 +0100)]
Release 0.40

15 years agoAdded --with-store option
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.

15 years agoFix download problem on FreeBSD
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.

15 years agoAdded VersionRestriction to force a particular version
Thomas Leonard [Sun, 12 Apr 2009 08:52:06 +0000 (12 09:52 +0100)]
Added VersionRestriction to force a particular version

15 years agoMinor epydoc fixes.
Thomas Leonard [Sat, 11 Apr 2009 11:13:10 +0000 (11 12:13 +0100)]
Minor epydoc fixes.

15 years agoFix Python 2.6 deprecation warning
Rafał Mużyło [Mon, 30 Mar 2009 17:40:05 +0000 (30 18:40 +0100)]
Fix Python 2.6 deprecation warning

15 years agoRemoved used of deprecated os.open2
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.

15 years ago--get-selections with --console didn't work if we needed to download anything
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

15 years agoSend console trust prompt to stderr, not stdout
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.

15 years agoStart development series 0.39-post
Thomas Leonard [Sun, 8 Mar 2009 11:45:01 +0000 (8 11:45 +0000)]
Start development series 0.39-post

15 years agoRelease 0.39
Thomas Leonard [Sun, 8 Mar 2009 11:45:01 +0000 (8 11:45 +0000)]
Release 0.39

15 years agoInclude .mo translation files in releases
Thomas Leonard [Sun, 8 Mar 2009 11:44:34 +0000 (8 11:44 +0000)]
Include .mo translation files in releases

15 years agoWith --systray, just blink the icon if key confirmation is needed
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.

15 years agoIf we need to confirm keys in a background check, use --systray
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.

15 years agoDon't assume D-BUS is missing just because we can't get the SessionBus
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?

15 years agoCreate .mo files during build, not install
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.

15 years agoIf the notification system doesn't support actions, download anyway
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.

15 years agoAdded --systray option to the GUI
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.

15 years agoDon't try the mirror for "localhost" URLs
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.

15 years agoMinimum Python version is now 2.5
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.

15 years agoUpdate year to 2009 in various places
Thomas Leonard [Sun, 22 Feb 2009 10:17:37 +0000 (22 10:17 +0000)]
Update year to 2009 in various places

15 years agoMore detailed bug reports about why no version could be selected
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.

15 years agoDisable root checks when running on Windows
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.

15 years agoUse Socket.recv to fetch downloads
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.

15 years agoGet GPG to send output to stdout
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.

15 years agoDon't corrupt downloads on Windows
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.

15 years agoFixed location of locale directory
Thomas Leonard [Sun, 1 Feb 2009 12:48:11 +0000 (1 12:48 +0000)]
Fixed location of locale directory

15 years agoadd update-po and check-po
Anders F Bjorklund [Wed, 28 Jan 2009 22:08:11 +0000 (28 23:08 +0100)]
add update-po and check-po

15 years agoadd clean make target
Anders F Bjorklund [Wed, 28 Jan 2009 22:01:28 +0000 (28 23:01 +0100)]
add clean make target

15 years agocheck if locale directory exists first
Anders F Bjorklund [Wed, 28 Jan 2009 21:59:45 +0000 (28 22:59 +0100)]
check if locale directory exists first

15 years agoTranslate some more strings
Anders F Bjorklund [Tue, 27 Jan 2009 22:52:06 +0000 (27 23:52 +0100)]
Translate some more strings

15 years agoUpdate swedish translations
Anders F Bjorklund [Tue, 27 Jan 2009 22:42:57 +0000 (27 23:42 +0100)]
Update swedish translations

15 years agoMake more strings translatable
Anders F Bjorklund [Tue, 27 Jan 2009 22:42:42 +0000 (27 23:42 +0100)]
Make more strings translatable

15 years agoUse working gettext _()
Anders F Bjorklund [Tue, 27 Jan 2009 22:09:58 +0000 (27 23:09 +0100)]
Use working gettext _()

15 years agoUpdate translations, with the fixed makefile
Anders F Bjorklund [Tue, 27 Jan 2009 22:00:16 +0000 (27 23:00 +0100)]
Update translations, with the fixed makefile