1 changes since wmaker 0.62.1:
2 ............................
4 - added WText widget (rtf multiline text widget)
5 Nwanua Elumeze <nwanua@colorado.edu>
6 - added a new AUTO option for the UseMultiByte option
7 - added WMRaiseWidget()/WMLowerWidget()
8 - added missing EscapeTextMovement to textfield delegate/notification
9 - added WMGetLabelText()
10 - added WMReparentWidget()
11 - added WMCreateTabViewItem()
12 - added W_CreateUnmanagedTopView()
13 - added wtokenjoin(), wtokensplit(), wtokenfree(), wtrimspace()
14 - added WMWidgetIsMapped()
15 - added WMSetApplicationIconWindow()
16 - restructured the directory tree. Added Documentation, Examples and Tests
18 - removed WMArrayBag and reorganized WMTreeBag to be WMBag.
19 - added WMArray class.
20 - added WMSetWindowUserPosition().
21 - added WMGetListSelectedItems()
22 - added WMSetListAllowMultipleSelection(), WMListAllowsMultipleSelection().
23 - added WMSetListAllowEmptySelection(), WMListAllowsEmptySelection().
24 - WMListSelectionDidChangeNotification passes NULL as the notification
25 client data (previously passed the selected item row).
26 - WMRemoveListItem() returns an int : 1 success, 0 fail (previously was void).
27 - added WMUnselectListItem(), WMSelectAllListItems(), WMUnselectAllListItems()
30 changes since wmaker 0.62.0:
31 ............................
32 - added WMSetWidgetDefaultFont(), WMSetWidgetDefaultBoldFont()
36 changes since wmaker 0.62.0:
37 ............................
38 - added WM{S,G}etDataFormat()
40 - changed selection code
41 - added clientdata to WMFindInBag
42 - removed SetWindowInitialSize()
43 - added SetWindowAspectRatio()
44 - added initial timeout when establishing a connection.
45 - added WMSetConnectionDefaultTimeout() and WMSetConnectionOpenTimeout();
46 - added WMGetConnectionTimeoutState()
48 changes since wmaker 0.61.1:
49 ............................
51 - WARNING: semantic of bags has changed!
52 An index assigned to an item will always keep that index unless
53 you insert an item before it.
57 WMSetInBag(bag, 10, "bla");
58 That code will put "bla" in index 10, instead of 0, as it used to be.
59 - fixed WMInsertInBag(). It ignored index, and always put the new item at end.
60 - added WMSaveUserDefaults().
61 - rewrote WMPopUpButton to use WMMenuItem
62 - added WMGetPopUpButtonMenuItem(WMPopUpButton *bPtr, int index)
63 - WMSortListItemsWithComparer(WMList *lPtr, (int)(f)(const void*, const void*))
64 - WMSortBrowserColumnWithComparer()
65 - fixed bug with sorting list items.
66 - fixed bug in handling keyboard input associated with selection and
68 - filepanel puts dirs on top of list (Wolff <wolff@cybercable.fr>)
69 - added WMReplaceInBag (Wolff <wolff@cybercable.fr>)
70 - added vertical views and multiple views in WMSplitView (Wolff <wolff@cybercable.fr>)
71 - changed values of parameter values of WMSplitViewConstrainProc()
72 - configurable default fontsize patch (Igor P. Roboul <igor@mordor.myip.org>)
73 - fixed a bug that crashed the programm when a popup button was scrolled.
74 - fixed a bug that caused incorrect drawing position of the popup indicator.
75 - fixed a bug that prevented selecting no item (-1) in a popup button.
76 - an assertion will be raised if the program tries to select a popup button
77 item that is beyond the total number of items present in the popup button.
78 - changed names of functions for SplitView to be consistent. Some contained
79 SubView while other Subview. Now all have Subview.
80 - fixed a bug in how input events were posted. Establishing 2 or more input
81 handlers for the same file descriptor, handling different (read/write/except)
82 events, caused wrong handlers to be called.
83 - Reimplemented the input and idle handlers with WMBag to avoid a functional
84 problem with them: inability to remove handlers next to the called one, from
85 the called handler itself. Trying to do this with the old version caused the
87 - changed wrealloc behaviour to be like this: new = wrealloc(old, new_size);
88 1. if old is NULL, return wmalloc(new_size).
89 2. if new_size is 0, call wfree(old), and return NULL.
90 3. if both old is a valid pointer and new_size>0, call realloc.
91 - added wstrerror(int errnum) to return the string associated with errnum.
92 - new wsyserrorwithcode(int error, const char* fmt, ...), similar to
93 wsyserror(), but printing the message for the specified error code.
94 - added 3 new classes: WMData, WMHost and WMConnection
95 - fixed a big memory leak in the color panel code (from Pascal Hofstee).
96 - added scrolling to tabview
98 changes since wmaker 0.61.0:
99 ............................
101 - added WMGetTextFieldFont()
102 - escape key in panels (craig nellist <crn@ozemail.com.au>)
103 - applied patch with fixes and enhancements to textfield
104 (Franck Wolff <wolff@cybercable.fr>)
105 - changed WMList to use WMBag internally, instead of a linked list
106 - replaced WMAddSortedListItem() with WMSortListItems()
107 - replaced WMAddSortedBrowserItem() with WMSortBrowserColumn()
109 changes since wmaker 0.60.0:
110 ............................
112 - added WMScreenWidth() and WMScreenHeight() functions.
113 - fixed some problems when compiling with non gcc compilers.
114 - added WMSetTextFieldFont()
115 - added WMSetButtonImageDefault() (craig nellist <crn@ozemail.com.au>)
116 - added WMBag (array/list)
117 - added libWUtil, a library that is a subset of libWINGs. It contains utils
118 that can be used in writing non-GUI programs. They include: hashes,
119 notifications, input/idle/timer handlers, user defaults database handling,
120 memory handling, application resource handling, etc.
121 All the non-GUI stuff from libWINGs is present.
122 Still linWINGs contain all this stuff so if you use libWINGs, you don't
123 need to link against libWUtil too.
124 One notable aspect of libWUtil is that it has a modified version of the
125 event handling function. It is named WHandleEvents() and will handle all
126 input/idle/timer events the app has.
127 If your app has a permanent input handler (as for example a socket a server
128 is listening on), then the main loop of the app can be:
132 but if there is no permanent input handler, you need to add some delay to
133 avoid a too high cpu load by your program:
138 A permanent input handler is one that is established when the program starts
139 and is present until the program exits.
140 One that is deleted and later reinstalled, is not considered permanent.
141 This difference is because if there is some input handler, the function will
142 block until some event appears, while if there is no input handler the
143 function will return almost immediately (after handling the timer/idle
146 Except the stuff declared in WUtil.h, the following functions declared in
147 WINGs.h are also present in libWUtil (you will need to #include <WINGs.h>
148 if you use one of these):
149 WMInitializeApplication(char *applicationName, int *argc, char **argv);
150 WMSetResourcePath(char *path);
151 WMGetApplicationName();
152 WMPathForResourceOfType(char *resource, char *ext);
153 WMAddTimerHandler(int milliseconds, WMCallback *callback, void *cdata);
154 WMDeleteTimerWithClientData(void *cdata);
155 WMDeleteTimerHandler(WMHandlerID handlerID);
156 WMAddIdleHandler(WMCallback *callback, void *cdata);
157 WMDeleteIdleHandler(WMHandlerID handlerID);
158 WMAddInputHandler(int fd, int condition, WMInputProc *proc,
160 WMDeleteInputHandler(WMHandlerID handlerID);
161 - added progress indicator widget
162 - Changed WMSetWindowUPosition() and WMSetWindowUSize() to
163 WMSetWindowInitialPosition() and WMSetWindowInitialSize() respectively,
164 for better naming conventions.
167 changes since wmaker 0.53.0:
168 ............................
171 - fixed a bug with setting initial path in browsers.
172 - added WMSetButtonImageDimsWhenDisabled()
173 - changed simple callback/notifications to delegate-like stuff. Affected
176 - WMSetBrowserFillProc() was replaced with WMSetBrowserDelegate
177 - WMBrowserDidScrollNotification was replaced with a delegate callback
179 WMTextField (not completed yet)
180 The notifications will still work, but using the delegate is preferable
182 How to convert old code to delegate callbacks:
183 1 - create a variable (static or dynamic) of the type of the
184 delegate for the widget type.
185 2 - Replace the notification observers with the equivalent
187 3 - Put pointers to the callbacks in the delegate variable.
189 Take a look in wfilepanel.c to see how it is used there.
191 - changed W_ViewProcedureTable to delegates
192 This will only affect user created widgets. If you have a custom
193 widget, you will need to update the callbacks and the declaration
194 of the W_ViewProcedureTable variable to be a W_ViewDelegate,
195 which is declared in WINGsP.h To setup the delegate, assign
196 the delegate variable to view->delegate.
199 Removed all the didChange notifications that were sent when the text
200 was changed programmatically. Only changes made by user interaction
201 will be notified now. If you need the old behaviour, send notifications
202 manually when you change the text.
205 - added WMGetColorPanelColor(WMColorPanel *panel)
206 - made WMGetUDStringForKey() to only return a reference to the string, not a
207 wstrdup()'ed copy. DO NOT FREE IT ANYMORE!
208 - added MultiByteText option to userdefaults file to control use of multibyte
209 string drawing functions
210 - renamed WMCreateFont() to WMCreateFontSet()
211 - renamed WMCreateFontInDefaultEncoding() to WMCreateNormalFont()
212 - added WMCreateFont() with different semantics
215 changes since wmaker 0.52.0:
216 ............................
218 - added int WMGetBrowserMaxVisibleColumns(WMBrowser *bPtr);
221 changes since wmaker 0.51.2:
222 ............................
224 - added WMColorWellDidChangeNotification
225 - added wfindfileinarray()
226 - fixed bug in window title setting
227 (MANOME Tomonori <manome@itlb.te.noda.sut.ac.jp>)
229 changes since wmaker 0.51.1:
230 ............................
232 - wusergnusteppath() will return a statically allocated string now.
233 DO NOT FREE IT ANYMORE!!
237 changes since wmaker 0.51.0:
238 ............................
240 - applied c++ compat header patch from Martynas Kunigelis <mkunigelis@alna.lt>
241 - added WMSetTextFieldBeveled()
242 - removed W_GC() : use WMColorGC() instead
243 - added WMCreatePixmap()
244 - changed WMSetTextFieldEnabled() to WMSetTextFieldEditable()
246 changes since wmaker 0.50.1:
247 ............................
250 - added patch from Franck Wolff <frawolff@club-internet.fr>, with
251 many fixes and enhancements
252 - added notification queues, asynchronous notifications etc.
253 - added WMSetBrowserDoubleAction()
254 - fixed list double click action
256 changes since wmaker 0.50.2:
257 ............................
259 - added wsetabort() - look WUtil.h
260 - fixed bug in WMList resize
261 - added notification sending when changing textfield programatically
262 - removed WMHideWindow()
263 - fixed bug in WMCloseWindow()
264 - added textfield selection patch
265 - added color panel code
266 - added auto name completion for the file panel
267 - added function to select text range, and to set cursor position in text
268 fields programatically
270 changes since wmaker 0.20.3:
271 ............................
273 - added WMSetSliderImage(), WMSetSliderKnobThickness()
274 - added WMGetListItemHeight()
275 - added WMListDidScrollNotification
276 - added WSetColorWellBordered()
277 - added hacky color dragging in colorwell
278 - added poll() support in WMNextEvent. WARNING: the stuff needed for
279 WMAddInputHandler() is not yet implemented for the poll stuff
280 - added WMSetFilePanelAccessoryView(), WMGetFilePanelAccessoryView()
281 - added WMSetPopUpButtonEnabled()
282 - added WMGetLabelImage()
283 - autoscroll for popup button menus
284 - added WMDrawPixmap()
285 - WARNING: changed parameter list for WMListDrawProc
287 changes since wmaker 0.20.2:
288 ............................
290 - WMSetBrowserMaxVisibleColumns() - untested
294 changes since wmaker 0.20.0:
295 ............................
297 - added generic object field for WMListItem. This is for hanging generic
301 changes since wmaker 0.20.0:
302 ............................
304 - changed WMGetFilePanelFile() with WMGetFilePanelFileName()
307 changes since wmaker 0.19.3:
308 ............................
310 - added WMCreatePanelForWindow()
311 - added extra parent parameter for filepanel, alertpanel and inputpanel
313 - WMChangePanelOwner()
314 - added WMAddInputHandler()
315 - change range related function arguments (WMTextField) to use WMRange
317 changes since wmaker 0.19.1:
318 ............................
321 - fixed bug when changing selected radio button by hand
323 changes since wmaker 0.18.1:
324 ............................
326 - removed textHeight arg from W_PaintImageAndText
327 - added WMCreateWindowWithStyle()
328 - added WMSetWindowBaseSize() and ResizeIncrements()
329 - added WMSetWindowLeve()
330 - added WMSetWindowDocumentEdited()
331 - added WMSetScrollViewLineScroll(), WMSetScrollViewPageScroll()
332 - added WMSetWindowMiniwindowTitle()
333 - added WMSetWindowMiniwindowImage()
335 changes since wmaker 0.18.0:
336 ............................
338 - added functions to get RGB components and "#rrggbb" string from WMColor.
339 - added function to create color from a name
340 - fixed bug that caused blocking until some new event arrives, even
341 when there already were events in the queue
342 (like having to move the pointer over window to force the window to be
345 changes since wmaker 0.17.5:
346 ............................
348 I don't remember everything, but here it goes:
350 - fixed some bugs in text field
351 - added a incomplete implementation of split view (not yet usable)
353 - changed the filepanel stuff. Each application can have only 1 file panel.
354 The same panel will be reused every time you call for it, unless you free it.
355 - changed semantics of WMCreateFont() so that it returns NULL if the requested
357 - removed WMAddDestroyCallback()
358 - fixed bug in WMRemovePopUpButtonItem()
359 - added function for user specified item height in WMList
360 - added WMSetPopUpButtonText(). It will set the default text in the button
361 when no options are selected
362 - fixed bug in remove/add item in already mapped popupbuttons. Note: it is
363 not good practice to change the contents of a popup button when it's
364 already visible and the user has probably interacted with it.
365 - fixed behaviour of "radio buttons"
366 - WMInitializeApplication() must be the first function to be called in the
368 - removed applicationName, argc and argv arguments from the WMCreateScree...
370 - WMReleaseColor(scr,color) changed to WMReleaseColor(color)
371 - WMPaintColorRectangle() changed to WMPaintColorSwatch()
372 - added various functions in font and color handling
373 - added WMSetButtonFont()
374 - changed WMCreateCommandButton() so that the buttons it creates will change
375 their label when pushed
376 - added WMGetSystemPixmap(WMScreen *scr, int image)
377 - added partial I18N support
378 - added libPropList requirement and some related utility functions
379 - added a interface to prooplist, so that it works as a user defaults db
380 - added WMWidthOfString() (removed WMFontWidthOfString())
381 - added WMDrawString()
382 - added WMSetTextFieldSecure(WMTextField *tPtr, Bool flag)
383 - WMGetListItem() will dup the returned string
384 - removed need for ProgName being defined
385 - rewrote hashtable stuff and made it available for outside use
386 - added notification functions, with view resize notification
387 - added WMSetWindowMinSize() and MaxSize()
388 - text editing notification
389 - added WMSetListPosition() etc.
390 - added WMInsertBrowserItem()
391 - the above 2 functions return WMListItem*, instead of Bool
393 - WMGetListItem() will return WMListItem*
394 - removed WMGetListItems() and WMSetListItems()
395 - fixed focus stuff for multi-window apps
396 - changed all WMList function names that contained index to row