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