2 Shared code for ROX applications
4 http://rox.sourceforge.net
8 mime_handler can now uninstall (Stephen Watson).
12 Translate menu items in options (Guido Schimmels).
16 Added <slider> widget to options.
20 Added 'size-group' attribute to Options.xml elements. This allows grouping
21 elements so that their labels all appear the same width.
25 Bugfix: Colour buttons in the Options boxes didn't work with some themes
28 17-Apr-2004 (Release 1.9.14)
30 Added ToggleItem (based on a patch from Ken Hayber).
34 Better <label> widgets (wrapping and icon). Taken from LookAndFeel.
38 Stop themes from overriding the display of the colour-picker buttons in
39 the options box (Rene Ejury).
43 Warn about old versions of findrox.py.
44 Bugfix: Bug in new menu API prevented submenus from working.
46 16-Mar-2004 (Release 1.9.13)
48 Bugfix: Icon themes didn't work with python versions older than 2.2.2
49 (reported by Thomas Zajic).
53 Bugfix: Use filer module to show ROX-Lib help, rather than using os.system,
54 so that it works with Zero Install (reported by Keith Hopper).
58 Added widget_registry to OptionsBox, to provide an easy way to register
59 new option types. Removed build_button in favour of this method.
61 Bugfix: If an error occurred loading the ROX theme at startup it could not
62 be reported, because icon_theme wants debug, debug wants saving, and
63 saving wants icon_theme (reported by Thomas Zajic).
67 Cope with pygtk2.2 API change (Stephen Watson, reported by Guido Schimmels).
71 Added secretentry and button options to the OptionsBox (Stephen Watson).
75 Cope with option values split into multiple DOM text nodes (Rene Ejury).
79 Allow a list of values to be stored in each menu Action. These are used as
80 the arguments to the callback function.
81 If a file's details were recorded (in document.save_last_stat) when it was
82 loaded, make sure they haven't changed when saving. Saving also updates this
83 variable (requested by Arnaud Calvo).
87 Updated examples in documentation for new findrox (Yuri Bongiorno).
91 New API for menus. Instead of passing tuples for menu items, python classes
92 can be used. The old tuple interface is still supported.
96 Don't stop DnD working in the savebox just because no icon can be found
97 (reported by Martin Lucina).
101 Added French translation (Vincent Lefèvre).
105 Also translate <label> elements in the Options box (reported by Arnaud Calvo).
109 Also translate section names in the Options box (reported by Arnaud Calvo).
111 22-Jan-2004 (Release 1.9.12)
113 Added 'tasks' module to provide a light-weight alternative to threads.
114 Bugfix: On non-zero-install systems, the sense of the version check in findrox
119 Added method to MIMEtype to fetch its icon. Install list window for
120 the MIME handler installation uses it (Stephen Watson).
124 Translate text in Options box.
128 Allow ROXLIB_DISABLE_ZEROINSTALL to override looking for ROX-Lib in Zero
129 Install (useful for ROX-Lib developers). Prefer a locally installed version
130 of ROX-Filer to the Zero Install version; this also allows users to select
131 which Zero Install version they want (eg, stable or developer).
132 Moved MIME handler installation into a separate module (mime_handler) and
133 made a few changes to the XML syntax.
137 Added <menu> OptionMenu widget for Options box (Chris Shaffer).
141 Fixed bug in findrox when not using Zero Install (Lionel Bringuier).
145 Escape and unescape URIs, as required by ROX-Filer 2.1.0 (reported by
147 Note that the xds_load_uris() method is now called with escaped URIs.
148 Try to run the filer through Zero Install, if possible.
152 If we can't get pygtk through Zero Install, try the local copy.
156 Added support in mime.py for an application to set MIME-type run
157 actions and thumbnail programs (Stephen Watson).
161 Simplified implementation of saving.SaveFilter by using the new
162 processes.PipeThroughCommand class. The child_run() method of SaveFilter
163 is no longer supported.
164 In processes.PipeThroughCommand, a None input stream gets /dev/null instead
165 of inheriting its parent's stream. The class has a new run_child_with_streams
166 to make overriding the behaviour easier.
167 findrox.py script now warns if ROX-Lib2 version is too old (unless requesting
168 a version too old to have a version number).
172 Changed 'Dismiss' to 'Close' (Chris Shaffer).
173 Bugfix: Error reporting in mime.py failed to import the _ function (reported
174 by Christopher Haines).
175 New AppInfo.py for parsing AppInfo.xml files (Christopher Arndt), InfoWin
176 converted to use it (Stephen Watson).
178 15-Oct-2003 (Release 1.9.11)
180 Bugfix: Python 2.3's new bool type broke options saving (reported by Lars
185 Added PipeThroughCommand class (copied from Archive, with some minor
190 Allow event to be None for Menu.popup. This allows the menu to be activated
191 from the keyboard, using the 'popup-menu' signal.
195 Added French translation in AppInfo.xml (Vincent Lefèvre).
197 03-Oct-2003 (Release 1.9.10)
199 Added support for icon themes (doesn't do inheritance yet).
203 Added some version information to the dialog you get when you run ROX-Lib
208 New bug() function to quickly bring up a debugging prompt.
212 The glob patterns in mime.py are now sorted longest first. Fix for setting
213 icon in the old way when there was no icon (Stephen Watson).
217 Try to cope better with bad hostname setup (reported by Nathan Howell).
221 Added InfoWin.py to provide standardized information window (Stephen Watson).
225 Fall back to old way of setting default icon for older pygtk's (Stephen
230 Added Italian translation (Yuri Bongiorno).
234 Better way to set the default icon.
236 16-Aug-2003 (Release 1.9.9)
238 Give windows a default icon from .DirIcon (Chris Shaffer).
242 Try to get pygtk through ZeroInstall.
246 Updated findrox to use ZeroInstall, if possible.
250 Work out correct application name even if invoked via a symlink. This stops
251 applications from calling themselves 'text_plain', etc (reported by Joe Hill).
253 19-Jul-2003 (Release 1.9.8)
255 Make default menu positioning function keep the pointer inside the menu.
256 Allow stock icons in menus.
260 Added position_fn argument to rox.Menu.popup.
264 Cope with % escaped URIs.
268 Added italian translation in AppInfo.xml (Yuri Bongiorno)
272 When loading data from another application, pass the suggested leafname to
273 xds_load_from_stream().
277 Code tidying, thanks to pychecker.
281 Added fileutils module, which provides an interactive makedirs() function
283 Changed savebox module to use it.
285 16-May-2003 (Release 1.9.7)
287 New icon (Geoff Youngs).
288 Added 'basedir' module for freedesktop.org Base Directory specification.
292 Added functions to read MIME database (Stephen Watson).
294 27-Jan-2003 (Release 1.9.6)
296 Make the default window class the name of the application directory, not
297 'AppRun' (suggested by Albert Wagner).
298 Bugfix: With pygtk-1.99.14, only the first error message from a process
299 would be detected; this meant that ROX-Lib wouldn't detect when the
300 process quit (reported by joehill).
301 Bugfix: <hbox> and <vbox> layouts didn't work in the options box (Allen
306 If python is too old, raise SystemExit instead of quitting.
307 Ensure that True and False are defined.
311 Work around bug in some versions of pygtk that stopped the options window
314 12-Dec-2002 (Release 1.9.5)
316 Upgrade Options box to new style.
320 Bugfix: If an option had an empty value, an exception was thrown on loading
321 (reported by Stephen Watson).
325 Cope with missing input_add_full.
329 Pygtk 1.99.12 seems to more-or-less work now (according to Alastair Porter), so
330 remove the warning for that so we can support RedHat 8.0.
332 20-Oct-2002 (Release 1.9.4)
334 More warnings about old pygtk versions.
335 Added Dialog class (does ref-counting, like Window).
339 Trying to use ROX-Lib2 with earlier versions of python now gives a sensible
344 Make clicking on ROX-Lib itself work again (Christopher Arndt).
348 Updated findrox.py to use pygtk 1.99.13 -- update your programs!
350 25-Aug-2002 (Release 1.9.3)
352 Switch to use new pygtk versioning system (requires pygtk 1.99.13).
356 Added 'processes' module, based on code in Archive, which makes controlling
361 Bugfix: Changing the keys lost any builtin shortcuts (Gtk behaviour has
366 Trap exceptions when activating menu items and report nicely.
370 Bugfix: Remember to call drop_finish() after a drag-and-drop operation.
372 05-Aug-2002 (Release 1.9.2)
374 Renamed XDSLoader module to 'loading' (like 'saving').
375 Added 'mime' module for installing extra MIME information.
376 Bugfix: XDSLoader didn't handle the drag-drop signal, and so only worked for
377 widgets with their own implementation!
381 Show local variables in report_exception, and allow expressions to be
382 evaluated in the context of any frame.
383 Added StringSaver class.
387 Added applet module for creating ROX panel applets.
391 Bugfix: saving code didn't cope with missing images (reported by Musus Umbra).
395 If 'gtk2' isn't available, see if 'gtk' is actually the 2.0 version.
396 Added save_set_permissions to Saveable interface, allowing the default
397 save_to_file to preserve file permissions.
398 Changes to XDSLoader: xds_load_from_stream(name, type, stream)
399 replaces the old xds_load_data(data).
400 Loading files from remote filers works now.
401 Added much improved exception reporting system.
403 19-Jul-2002 (Release 1.9.1)
405 Added support for translations.
409 License change to the LGPL (allows commercial programs to use this library).
410 Added AbortSave exception.
414 Saveable.save_to_file() should raise an exception when saving fails, rather
415 than returning 0. The return value is now ignored (note that raising an
416 exception will still work with 1.9.0).
417 toplevel_unref() ignores any arguments, so it is easier to use as a signal
420 12-Jul-2002 (Release 1.9.0)
422 First release for Gtk+-2.0.