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