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