Bugfix: When a menu has more than one toggle item, only one is updated
[rox-lib/lack.git] / Help / Changes
blob56800abdcdf40783b409c3357e6e06c34e71e854
1                         ROX-Lib2
2                         Shared code for ROX applications
3                         by Thomas Leonard
4                         http://rox.sourceforge.net
6 20-Oct-2004
7 ~~~~~~~~~~~
8 Bugfix: When a menu has more than one toggle item, only one is updated
9         correctly (Ken Hayber).
11 07-Oct-2004
12 ~~~~~~~~~~~
13 Replace g.mainloop() and g.mainquit() with g.main() and g.main_quit() as
14 recommended since pygtk 2.0.0 to avoid warnings with pygtk 2.4.0 (Stephen 
15 Watson).
17 03-Oct-2004
18 ~~~~~~~~~~~
19 Added options.ListOption to support multi-valued option widgets, such as
20 lists (Stephen Watson).
22 02-Oct-2004 (Release 1.9.16)
23 ~~~~~~~~~~~
24 Cope better with user cancelling su operation. New interface to replace
25 create_su_proxy (Thomas Leonard).
27 27-Sep-2004
28 ~~~~~~~~~~~
29 The choices module is now deprecated. You can use choices.migrate() to move
30 settings over to the basedir system (Thomas Leonard). Also added
31 basedir.load_first_config(), which works like the old choices.load().
33 26-Sep-2004
34 ~~~~~~~~~~~
35 Several incompatible changes to the experimental proxy API to make it simpler
36 (Thomas Leonard):
38 - Create_su_proxy now returns the MasterObject directly, not the MasterProxy.
39 - You can call finish on the MasterObject (so the MasterProxy isn't needed).
40 - Slave methods no longer take a 'request' argument. Instead, the return
41   value of the function is returned.
42 - Methods can only return one value. dequeue and dequeue_last have been
43   replaced with a 'result' property.
44 - Methods on MasterObject now return a RequestBlocker, not a Queue. This
45   means you just yield the object itself, not object.blocker.
47 Tasks API is no longer experimental, but proxy API is.
49 22-Sep-2004
50 ~~~~~~~~~~~
51 Added a Help button to the exception dialog, which opens the new Help/Errors
52 file (Thomas Leonard).
54 06-Sep-2004
55 ~~~~~~~~~~~
56 Simplified su code and interface.
57 New suchild methods: open, close, read, write, chmod and rename, which work
58 just like their normal Python counterparts (Thomas Leonard).
60 29-Aug-2004
61 ~~~~~~~~~~~
62 Removed code to turn off the separator in the debug dialog. GTK 2.4 doesn't
63 need it, and generates a warning if you use it (Thomas Leonard).
65 27-Aug-2004 (Release 1.9.15)
66 ~~~~~~~~~~~
67 Added spawnvpe and waitpid methods to suchild.
69 08-Aug-2004
70 ~~~~~~~~~~~
71 If the unit field for a <numentry> option is blank, don't try to translate it
72 (reported by Guido Schimmels).
74 30-Jun-2004
75 ~~~~~~~~~~~
76 Added 'su' module for performing operations as root.
78 11-Jun-2004
79 ~~~~~~~~~~~
80 Allow "" as a valid value in a OptionsBox menu (reported by Guido Schimmels).
82 10-Jun-2004
83 ~~~~~~~~~~~
84 Added 'proxy' module. This allows one Python process to invoke methods on
85 another asynchronously.
86 Added rox.UserAbort exception, to be raised when users cancel something
87 manually.
89 07-Jun-2004
90 ~~~~~~~~~~~
91 Fix syntax error I caused when I added a docstring (Stephen Watson).
93 30-May-2004
94 ~~~~~~~~~~~
95 Get update-mime-database command through Zero Install, if possible.
97 24-May-2004
98 ~~~~~~~~~~~
99 mime_handler can now uninstall (Stephen Watson).
101 04-May-2004
102 ~~~~~~~~~~~
103 Translate menu items in options (Guido Schimmels).
105 26-Apr-2004
106 ~~~~~~~~~~~
107 Added <slider> widget to options.
109 25-Apr-2004
110 ~~~~~~~~~~~
111 Added 'size-group' attribute to Options.xml elements. This allows grouping
112 elements so that their labels all appear the same width.
114 20-Apr-2004
115 ~~~~~~~~~~~
116 Bugfix: Colour buttons in the Options boxes didn't work with some themes
117         (Jonatan Liljedahl).
119 17-Apr-2004 (Release 1.9.14)
120 ~~~~~~~~~~~
121 Added ToggleItem (based on a patch from Ken Hayber).
123 15-Apr-2004
124 ~~~~~~~~~~~
125 Better <label> widgets (wrapping and icon). Taken from LookAndFeel.
127 20-Mar-2004
128 ~~~~~~~~~~~
129 Stop themes from overriding the display of the colour-picker buttons in
130 the options box (Rene Ejury).
132 17-Mar-2004
133 ~~~~~~~~~~~
134 Warn about old versions of findrox.py.
135 Bugfix: Bug in new menu API prevented submenus from working.
137 16-Mar-2004 (Release 1.9.13)
138 ~~~~~~~~~~~
139 Bugfix: Icon themes didn't work with python versions older than 2.2.2
140         (reported by Thomas Zajic).
142 15-Mar-2004
143 ~~~~~~~~~~~
144 Bugfix: Use filer module to show ROX-Lib help, rather than using os.system,
145         so that it works with Zero Install (reported by Keith Hopper).
147 14-Mar-2004
148 ~~~~~~~~~~~
149 Added widget_registry to OptionsBox, to provide an easy way to register
150 new option types. Removed build_button in favour of this method.
152 Bugfix: If an error occurred loading the ROX theme at startup it could not
153         be reported, because icon_theme wants debug, debug wants saving, and
154         saving wants icon_theme (reported by Thomas Zajic).
156 12-Mar-2004
157 ~~~~~~~~~~~
158 Cope with pygtk2.2 API change (Stephen Watson, reported by Guido Schimmels).
160 06-Mar-2004
161 ~~~~~~~~~~~
162 Added secretentry and button options to the OptionsBox (Stephen Watson).
164 26-Feb-2004
165 ~~~~~~~~~~~
166 Cope with option values split into multiple DOM text nodes (Rene Ejury).
168 22-Feb-2004
169 ~~~~~~~~~~~
170 Allow a list of values to be stored in each menu Action. These are used as
171 the arguments to the callback function.
172 If a file's details were recorded (in document.save_last_stat) when it was
173 loaded, make sure they haven't changed when saving. Saving also updates this
174 variable (requested by Arnaud Calvo).
176 20-Feb-2004
177 ~~~~~~~~~~~
178 Updated examples in documentation for new findrox (Yuri Bongiorno).
180 10-Feb-2004
181 ~~~~~~~~~~~
182 New API for menus. Instead of passing tuples for menu items, python classes
183 can be used. The old tuple interface is still supported.
185 07-Feb-2004
186 ~~~~~~~~~~~
187 Don't stop DnD working in the savebox just because no icon can be found
188 (reported by Martin Lucina).
190 02-Feb-2004
191 ~~~~~~~~~~~
192 Added French translation (Vincent Lefèvre).
194 30-Jan-2004
195 ~~~~~~~~~~~
196 Also translate <label> elements in the Options box (reported by Arnaud Calvo).
198 28-Jan-2004
199 ~~~~~~~~~~~
200 Also translate section names in the Options box (reported by Arnaud Calvo).
202 22-Jan-2004 (Release 1.9.12)
203 ~~~~~~~~~~~
204 Added 'tasks' module to provide a light-weight alternative to threads.
205 Bugfix: On non-zero-install systems, the sense of the version check in findrox
206         was wrong.
208 02-Jan-2004
209 ~~~~~~~~~~~
210 Added method to MIMEtype to fetch its icon. Install list window for
211 the MIME handler installation uses it (Stephen Watson).
213 13-Dec-2003
214 ~~~~~~~~~~~
215 Translate text in Options box.
217 28-Dec-2003
218 ~~~~~~~~~~~
219 Allow ROXLIB_DISABLE_ZEROINSTALL to override looking for ROX-Lib in Zero
220 Install (useful for ROX-Lib developers). Prefer a locally installed version
221 of ROX-Filer to the Zero Install version; this also allows users to select
222 which Zero Install version they want (eg, stable or developer).
223 Moved MIME handler installation into a separate module (mime_handler) and
224 made a few changes to the XML syntax.
226 24-Dec-2003
227 ~~~~~~~~~~~
228 Added <menu> OptionMenu widget for Options box (Chris Shaffer).
230 27-Nov-2003
231 ~~~~~~~~~~~
232 Fixed bug in findrox when not using Zero Install (Lionel Bringuier).
234 26-Nov-2003
235 ~~~~~~~~~~~
236 Escape and unescape URIs, as required by ROX-Filer 2.1.0 (reported by
237 Peter Geer).
238 Note that the xds_load_uris() method is now called with escaped URIs.
239 Try to run the filer through Zero Install, if possible.
241 11-Nov-2003
242 ~~~~~~~~~~~
243 If we can't get pygtk through Zero Install, try the local copy.
245 05-Nov-2003
246 ~~~~~~~~~~~
247 Added support in mime.py for an application to set MIME-type run
248 actions and thumbnail programs (Stephen Watson).
250 31-Oct-2003
251 ~~~~~~~~~~~
252 Simplified implementation of saving.SaveFilter by using the new
253 processes.PipeThroughCommand class. The child_run() method of SaveFilter
254 is no longer supported.
255 In processes.PipeThroughCommand, a None input stream gets /dev/null instead
256 of inheriting its parent's stream. The class has a new run_child_with_streams
257 to make overriding the behaviour easier.
258 findrox.py script now warns if ROX-Lib2 version is too old (unless requesting
259 a version too old to have a version number).
261 29-Oct-2003
262 ~~~~~~~~~~~
263 Changed 'Dismiss' to 'Close' (Chris Shaffer).
264 Bugfix: Error reporting in mime.py failed to import the _ function (reported
265         by Christopher Haines).
266 New AppInfo.py for parsing AppInfo.xml files (Christopher Arndt), InfoWin
267 converted to use it (Stephen Watson).
269 15-Oct-2003 (Release 1.9.11)
270 ~~~~~~~~~~~
271 Bugfix: Python 2.3's new bool type broke options saving (reported by Lars
272         Hansson).
274 13-Oct-2003
275 ~~~~~~~~~~~
276 Added PipeThroughCommand class (copied from Archive, with some minor
277 changes).
279 09-Oct-2003
280 ~~~~~~~~~~~
281 Allow event to be None for Menu.popup. This allows the menu to be activated
282 from the keyboard, using the 'popup-menu' signal.
284 08-Oct-2003
285 ~~~~~~~~~~~
286 Added French translation in AppInfo.xml (Vincent Lefèvre).
288 03-Oct-2003 (Release 1.9.10)
289 ~~~~~~~~~~~
290 Added support for icon themes (doesn't do inheritance yet).
292 28-Sep-2003
293 ~~~~~~~~~~~
294 Added some version information to the dialog you get when you run ROX-Lib
295 directly.
297 22-Sep-2003
298 ~~~~~~~~~~~
299 New bug() function to quickly bring up a debugging prompt.
301 15-Sep-2003
302 ~~~~~~~~~~~
303 The glob patterns in mime.py are now sorted longest first. Fix for setting 
304 icon in the old way when there was no icon (Stephen Watson).
306 25-Aug-2003
307 ~~~~~~~~~~~
308 Try to cope better with bad hostname setup (reported by Nathan Howell).
310 24-Aug-2003
311 ~~~~~~~~~~~
312 Added InfoWin.py to provide standardized information window (Stephen Watson).
314 24-Aug-2003
315 ~~~~~~~~~~~
316 Fall back to old way of setting default icon for older pygtk's (Stephen 
317 Watson).
319 20-Aug-2003
320 ~~~~~~~~~~~
321 Added Italian translation (Yuri Bongiorno).
323 18-Aug-2003
324 ~~~~~~~~~~~
325 Better way to set the default icon.
327 16-Aug-2003 (Release 1.9.9)
328 ~~~~~~~~~~~
329 Give windows a default icon from .DirIcon (Chris Shaffer).
331 01-Aug-2003
332 ~~~~~~~~~~~
333 Try to get pygtk through ZeroInstall.
335 25-Jul-2003
336 ~~~~~~~~~~~
337 Updated findrox to use ZeroInstall, if possible.
339 22-Jul-2003
340 ~~~~~~~~~~~
341 Work out correct application name even if invoked via a symlink. This stops
342 applications from calling themselves 'text_plain', etc (reported by Joe Hill).
344 19-Jul-2003 (Release 1.9.8)
345 ~~~~~~~~~~~
346 Make default menu positioning function keep the pointer inside the menu.
347 Allow stock icons in menus.
349 18-Jul-2003
350 ~~~~~~~~~~~
351 Added position_fn argument to rox.Menu.popup.
353 17-Jul-2003
354 ~~~~~~~~~~~
355 Cope with % escaped URIs.
357 04-Jul-2003
358 ~~~~~~~~~~~
359 Added italian translation in AppInfo.xml (Yuri Bongiorno)
361 26-Jun-2003
362 ~~~~~~~~~~~
363 When loading data from another application, pass the suggested leafname to
364 xds_load_from_stream().
366 04-Jun-2003
367 ~~~~~~~~~~~
368 Code tidying, thanks to pychecker.
370 26-May-2003
371 ~~~~~~~~~~~
372 Added fileutils module, which provides an interactive makedirs() function
373 (Richard Boulton).
374 Changed savebox module to use it.
376 16-May-2003 (Release 1.9.7)
377 ~~~~~~~~~~~
378 New icon (Geoff Youngs).
379 Added 'basedir' module for freedesktop.org Base Directory specification.
381 06-May-2003
382 ~~~~~~~~~~~
383 Added functions to read MIME database (Stephen Watson).
385 27-Jan-2003 (Release 1.9.6)
386 ~~~~~~~~~~~
387 Make the default window class the name of the application directory, not
388 'AppRun' (suggested by Albert Wagner).
389 Bugfix: With pygtk-1.99.14, only the first error message from a process
390         would be detected; this meant that ROX-Lib wouldn't detect when the
391         process quit (reported by joehill).
392 Bugfix: <hbox> and <vbox> layouts didn't work in the options box (Allen
393         Leonard).
395 22-Jan-2003
396 ~~~~~~~~~~~
397 If python is too old, raise SystemExit instead of quitting.
398 Ensure that True and False are defined.
400 16-Dec-2002
401 ~~~~~~~~~~~
402 Work around bug in some versions of pygtk that stopped the options window
403 from working.
405 12-Dec-2002 (Release 1.9.5)
406 ~~~~~~~~~~~
407 Upgrade Options box to new style.
409 11-Dec-2002
410 ~~~~~~~~~~~
411 Bugfix: If an option had an empty value, an exception was thrown on loading
412         (reported by Stephen Watson).
414 05-Dec-2002
415 ~~~~~~~~~~~
416 Cope with missing input_add_full.
418 25-Oct-2002
419 ~~~~~~~~~~~
420 Pygtk 1.99.12 seems to more-or-less work now (according to Alastair Porter), so
421 remove the warning for that so we can support RedHat 8.0.
423 20-Oct-2002 (Release 1.9.4)
424 ~~~~~~~~~~~
425 More warnings about old pygtk versions.
426 Added Dialog class (does ref-counting, like Window).
428 15-Oct-2002
429 ~~~~~~~~~~~
430 Trying to use ROX-Lib2 with earlier versions of python now gives a sensible
431 error message.
433 10-Oct-2002
434 ~~~~~~~~~~~
435 Make clicking on ROX-Lib itself work again (Christopher Arndt).
437 25-Aug-2002
438 ~~~~~~~~~~~
439 Updated findrox.py to use pygtk 1.99.13 -- update your programs!
441 25-Aug-2002 (Release 1.9.3)
442 ~~~~~~~~~~~
443 Switch to use new pygtk versioning system (requires pygtk 1.99.13).
445 19-Aug-2002
446 ~~~~~~~~~~~
447 Added 'processes' module, based on code in Archive, which makes controlling
448 subprocesses easier.
450 14-Aug-2002
451 ~~~~~~~~~~~
452 Bugfix: Changing the keys lost any builtin shortcuts (Gtk behaviour has
453         changed since 1.2).
455 08-Aug-2002
456 ~~~~~~~~~~~
457 Trap exceptions when activating menu items and report nicely.
459 07-Aug-2002
460 ~~~~~~~~~~~
461 Bugfix: Remember to call drop_finish() after a drag-and-drop operation.
463 05-Aug-2002 (Release 1.9.2)
464 ~~~~~~~~~~~
465 Renamed XDSLoader module to 'loading' (like 'saving').
466 Added 'mime' module for installing extra MIME information.
467 Bugfix: XDSLoader didn't handle the drag-drop signal, and so only worked for
468         widgets with their own implementation!
470 31-Jul-2002
471 ~~~~~~~~~~~
472 Show local variables in report_exception, and allow expressions to be
473 evaluated in the context of any frame.
474 Added StringSaver class.
476 25-Jul-2002
477 ~~~~~~~~~~~
478 Added applet module for creating ROX panel applets.
480 24-Jul-2002
481 ~~~~~~~~~~~
482 Bugfix: saving code didn't cope with missing images (reported by Musus Umbra).
484 21-Jul-2002
485 ~~~~~~~~~~~
486 If 'gtk2' isn't available, see if 'gtk' is actually the 2.0 version.
487 Added save_set_permissions to Saveable interface, allowing the default
488 save_to_file to preserve file permissions.
489 Changes to XDSLoader: xds_load_from_stream(name, type, stream)
490 replaces the old xds_load_data(data).
491 Loading files from remote filers works now.
492 Added much improved exception reporting system.
494 19-Jul-2002 (Release 1.9.1)
495 ~~~~~~~~~~~
496 Added support for translations.
498 18-Jul-2002
499 ~~~~~~~~~~~
500 License change to the LGPL (allows commercial programs to use this library).
501 Added AbortSave exception.
503 14-Jul-2002
504 ~~~~~~~~~~~
505 Saveable.save_to_file() should raise an exception when saving fails, rather
506 than returning 0. The return value is now ignored (note that raising an
507 exception will still work with 1.9.0).
508 toplevel_unref() ignores any arguments, so it is easier to use as a signal
509 handler.
511 12-Jul-2002 (Release 1.9.0)
512 ~~~~~~~~~~~
513 First release for Gtk+-2.0.