Source

wxPython / wx / tools / XRCed / CHANGES.txt

Full commit
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
0.2.1-0
-------

Merged patch by darktjm with fixes and enhansements: 

* equivalent styles for supporting deprecated style flags
* wxCheckListBox content editing
* edit capability in item lists
* support for tooltip/helptext attrs of radiobox items
* break pseudoclass for menus
* wxAnimationCtrl, wxRichTextCtrl (disabled), wxDirPickerCtrl, 
  wxFontPickerCtrl, wxColourPickerCtrl, wxOwnerDrawnComboBox, 
  wxBitmapComboBox (partial), wxCollapsiblePane

0.2.0-9
-------

Fixed ticket 10775 (TreeListCtrl styles).

0.1.8-8
-------

Fixed several issues related to comment nodes. Test view for a "pragma" 
comment node executes it.

0.1.8-7
-------

Restored a feature present in the old XRCed: interpreted comment nodes
(inserted using 'comment' command from the top-level pull-down menu). 
Comments starting with '%' are executed in the context of main module 
(xrced.py) when the file is being loaded. This allows, for example, to
preload external resource files as follows:

%Manager.addExternal('external.xrc')

where external.xrc may contain resources references by the current
resource file (using object_ref tag).

0.1.8-6
-------

Various fixes and improvements to get look-and-feel similar across
different platforms.

0.1.8-5
-------

Preferences for default "sizeritem" parameters for new panels and
controls can be configured ("File">"Preferences...").

Implemented comment object for including simple one-line comments and
comment directives as tree nodes. No validation is performed for a
valid XML string so comments must not contain "-->". Comment directive
is a special comment starting with '%' character, followed by a line
of python code. It is executed using 'exec' when the resource file is
opened. This is useful to import plugin modules containing custom
handlers which are specific to the resource file, hovewer this is of
course a security hole if you use foreign XRC files. A warning is
displayed if the preference option 'ask' is selected (by default).

Added support for custom controls and plugin modules. Refer to this
wxPythonWiki for the details: 
        http://wiki.wxpython.org/index.cgi/XRCed#custom

Tool panel sections can be collapsed/expanded by clicking on the
label of a tool group.

Some undo/redo and other fixes.

0.1.8-4
-------

Fixes for wxMSW (notebook highlighting, control sizes, tree Unselect).

0.1.8-3
-------

Notebook page highlighting fix. Highlight resizes when the window 
is resized. ParamUnit spin button detects event handler re-entry
(wxGTK probably has a bug in wxSpinButton with repeated events).

0.1.8-2
-------

Fix for dealing with empty 'growable' property, using MiniFrame
for properties panel, the panel is restored together with the
main window.

0.1.8-1
-------

Fixed SetItemBold and editing 'growable' properties of 
wxFlexGridSizer.

0.1.8-0
-------

New feature added from a patch submitted on sourceforge by botg:
moving of tree items. 

Bugs fixed:
- ChecklistBox content editing;
- Window styles more in sync with the docs;
- Replacing items;
- Reference property page created correctly (every property is
  optional).

0.1.7-5
-------

Fix for non-ascii characters support when using other encodings 
than utf-8 in 'content' property. Tested under unicode build.

0.1.7-4
-------

Second fix for Copy/Paste (using expat.native_encoding property).
Added cellpos,cellspan properties for Spacer in GridBag sizer.

0.1.7-3
-------

Fix for Copy/Paste objects with international characters.

0.1.7-2
-------

Fixed Cut command, added support for MenuBar inside Frame/Dialog.

0.1.7-1
-------

Important update of Paste command code which was passing too much data
thru clipboard using cPickle. Objects created while unpickling (from
minidom) were clogging memory. Now using toxml() (why didn't I do it 
before - was I drunk or what? :) ).

0.1.7-0
-------

Added new controls (Choicebook, Listbook, StatusBar, DatePicker), and
completed style flags. Test window is opened for an available parent
control if no specific view defined. Better handling of exceptions
(highlighting does not 'stick' anymore). Tested on wxGTK 2.6.1.0.

0.1.6-7
-------

Using system clipboard for Copy/Paste.

0.1.6-6
-------

Improved some dialogs (window styles, growable cols). Changed the
range for wxSpinCtrl min/max to all integers (default 0/100 is not
always good).

0.1.6-5
-------

Fixed testing for any element inside object tree.

0.1.6-4
-------

Fixed replacing op for sizer children and spacer objects. 
UndoReplace is not yet implemented.

0.1.6-3
-------

Fix for crash when opening new file with active tree selection.
Replacing controls bug fixed.

0.1.6-2
-------

wxMSW wxTreeCtrl behaviour is still different from wxGTK for
wxTR_MULTIPLE, some fixes for this.

0.1.6-1
-------

New (experimental ;) ) feature: support for "object_ref" tag, for
creating references to named objects (see tn0014.txt). "reference..." 
menu command creates new object_ref node. Properties of the top-level
object can be overriden, but overriding child controls is not working
as expected (maybe a bug in wx).

0.1.5-3
-------

xxxStdDialogButtonSizer pulldown menu with standard buttons.

Some fixes for selecting tools inside toolbar with test window open
(whole toolbar is selected).

Toolbars can be added inside windows.

0.1.5-2
-------

Using wx.GetDefaultPyEncoding/wx.SetDefaultPyEncoding for changing active encoding.

Fixed pasting siblings (Ctrl key pressed while pasting).

Dealed with ascii build (Python does not recognize 'ascii' as valid encoding).
If encoding is not specified it is not written in XRC. Will add more
customization in the future.

Changed to use SimpleTool instead or Toggle tool (does not work on Win32).

0.1.5-1
-------

Added wxWizard, wxWizardPageSimple (only from pull-down menu). 

Hide command for test window.

Replacing classes works better.

Added Locate tool.

0.1.4-1
-------

Edit->Locate command (Ctrl-L) for quick selection of items.
Works with event-handling controls (buttons, text fields) but
not with labels/sizers.

Some improvements: relative paths for files supplied as command-
line argument work correctly, notebook panels are highlighted 
better.

0.1.2-1
_______

Added support for wxGridBagSizer (supported in wxPython 2.5).

0.1.1-5
-------

Added subclass attribute.

0.1.1-4
-------

Fixed problems with wxStaticBitmap (stock_id attribute, icon type
switching).

Changed some dimensions in properties panel elements.

0.1.1-3
-------

Sizes of some controls were not normal on wxMSW. Fixed.

Some changes to test window code to make it resize better and to 
have focus control with sawfish for all types of windows.

0.1.1-2
-------

Bugs with currentEncoding and frame testing fixed.

Some required parameters are set to default if missing.

Unsupported classes are tolerated, with warning message.

wxScrolledWindow added (to 'control' pulldown menu, not yet to the
tool palette).

Multi-line editing for labels and some values (wxTextCtrl,
wxHtmlWindow).

0.1.1-1
-------

Changed internationalization support. '-i' option removed, default
encoding is used (should be defined in sitecustomize.py, or 'ascii' by
default). When XRC file is opened with encoding specified,
translations are not used.

0.1.1
-----

Replace command added (not quite finished yet).

0.1.0
-----

Finally implemented tools panel for almost all controls (except
wxHtmlWindow, wxCalendarCtrl and wxGenericDirCtrl - they are too
rarely used).

Changed some sizes in panel to better work with different fonts.

Fixed double-refreshing after Ctrl+R.

Maybe something else that I've forgot. It's been a looong day... :)


0.0.9-6
-------

Added dialog unit support.

Dealing with non-specified required values (set to defaults, if exist).

Added 'minsize' parameter of sizeritem.

Added '-i' option to turn off translations and use international characters.

0.0.9-5
-------

Mac platform-specific checks.

0.0.9-4
-------

Implemented standard bitmap selection.

Fixed a bug in FlexGridSizer code.

0.0.9-3
-------

File browsing (for bitmaps/icons, etc.) had a small problem when current 
file was not saved yet.

0.0.9-2
-------

Small bug fix for initial don't panic message.

0.0.9-1
-------

Changed program structure, reduced use of global variables (grouped in
module 'globals', which creates an instanse 'g' of class Globals.

First version of undo/redo working!

Support for toolbars inside panels and frames.

Added 'container' submenu for creating Panel, Notebook and ToolBar objects.

wxMSW-only: added code to switch focus back to main window when test
window is updated.

0.0.8-2
-------

Fixed unicode problem for unicode build.

0.0.8-1
-------

Using WX_2_4_BRANCH.

Added new controls: wxSpinCtrl, wxGenericDirCtrl, unknown (custom
control), improved wxXRC format suppor (menu styles, etc.).

Some I18N support: parsing "encoding" attribute in XML header, later
it can be modified in "properties" panel for "XML tree".

UNIX note: currently XML writing for non-ascii chars works only if
sys.getdefaultencoding() returns good value. To do this, one has to
put following lines to "sitecustomize.py" file:

# Start code segment
import sys
sys.setdefaultencoding('iso-8859-1')	# or whatever
# End code segment

0.0.7
-----

Some command-line arguments.

"Test window" command and toolbar button.

New panel interphace (wxHTMLWindow is not used anymore).

Toggling between embedded and detached panel.

Cache for already used windows.

Current top-level control is bold, if test window shown.

Undo/redo broken.

CheckListBox does not work unless wxXRC source fixed (in both wxPytnon and
wxWin):

contrib/src/xrc/xmlrsall.cpp
45,46c45,46
<     AddHandler(new wxListCtrlXmlHandler);
< #if CHECKLISTBOX
---
>     AddHandler(new wxListCtrlXmlHandler);    
> #if wxUSE_CHECKLISTBOX

This is fixed in CVS.

0.0.6
-----

Toolbar, bitmap, icon support (no display yet).

Changed parameter objects, added support for multiple parameters (like 
`growablecols').

Fixed double-clicking problem with tree control on Windows.

Some performance improovements.


0.0.5
-----

Added notebook with properties page and style page. Fixed some problems
on Windows.


0.0.4
-----

Some fixes suggested by RD


0.0.3
-----

Faster preview window refresh.

Cut/Paste works better.

Some tree icons.

Tree item names.

Bugfixes.


0.0.2
-----

The first release.