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