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.
46 - renamed wstrappend() to wstrconcat(). wstrconcat(str1, str2) concatenates
47 str1 with str2 and returns that in a newly malloc'ed string.
48 Be sure to rename wstrappend with wstrconcat in your code too, else
49 hazardous things can happen!
50 - implemented a new wstrappend() function. wstrappend(dst, src) will append
51 src to dst modifing dst and returning a pointer to it. No new string is
52 generated, except if dst is NULL, in which case its the same as calling
54 dst can ONLY be NULL or a dynamically allocated string (obtained from a
55 call to malloc, realloc, wmalloc, wrealloc, ...). dst CANNOT be a static
57 - added wmessage() for printing a variable formatted string to stderr, with
58 the program name prepended to it. Similar to wwarning(), except that it
59 doesn't add "warning:" in the output message.
61 - added W_SetViewCursor()
62 - made Extra widgets library
63 - added table widget in Extras library
64 - added WMGetConnectionUnsentData() (WMGetConnectionQueuedData() too as an
66 - added WMSetConnectionCloseOnExec() to specify if the socket associated
67 with a connection survives an exec* call or not. When a new connection is
68 created using the WMCreate... or WMAcceptConnection() calls, it has the
69 close on exec flag set automatically to 'True' by the library. Unless
70 you want to let the socket of some connection to survive across an exec*
71 call, you need not to call this function.
72 - removed all the wsyserror() and wwarning() calls from host.c and
73 connection.c and replaced where appropriate with assertions. If a function
74 returns some invalid result, you can still get the system error message if
75 you need, by calling wsyserrorwithcode() and passing WCErrorCode, if
76 WCErrorCode > 0. If WCErrorCode==0, that is not a system error, and
77 wsyserrorwithcode() should not be called in this case.
78 - added WMNextHashEnumeratorKey() to retrieve all keys in some hash enumerator
80 - fixed a bug with mouse wheels scrolling in scrollers even with the widget
82 - Fixed a memory leak (the destroy function for a view was never called and
83 as a result the shaded windows didn't go away when closed. The non-shaded
84 windows were unmapped on close but not destroyed either so they only
85 apparently went away, but continued to use memory).
89 changes since wmaker 0.62.0:
90 ............................
91 - added WMSetWidgetDefaultFont(), WMSetWidgetDefaultBoldFont()
95 changes since wmaker 0.62.0:
96 ............................
97 - added WM{S,G}etDataFormat()
99 - changed selection code
100 - added clientdata to WMFindInBag
101 - removed SetWindowInitialSize()
102 - added SetWindowAspectRatio()
103 - added initial timeout when establishing a connection.
104 - added WMSetConnectionDefaultTimeout() and WMSetConnectionOpenTimeout();
105 - added WMGetConnectionTimeoutState()
107 changes since wmaker 0.61.1:
108 ............................
110 - WARNING: semantic of bags has changed!
111 An index assigned to an item will always keep that index unless
112 you insert an item before it.
116 WMSetInBag(bag, 10, "bla");
117 That code will put "bla" in index 10, instead of 0, as it used to be.
118 - fixed WMInsertInBag(). It ignored index, and always put the new item at end.
119 - added WMSaveUserDefaults().
120 - rewrote WMPopUpButton to use WMMenuItem
121 - added WMGetPopUpButtonMenuItem(WMPopUpButton *bPtr, int index)
122 - WMSortListItemsWithComparer(WMList *lPtr, (int)(f)(const void*, const void*))
123 - WMSortBrowserColumnWithComparer()
124 - fixed bug with sorting list items.
125 - fixed bug in handling keyboard input associated with selection and
126 notification sending.
127 - filepanel puts dirs on top of list (Wolff <wolff@cybercable.fr>)
128 - added WMReplaceInBag (Wolff <wolff@cybercable.fr>)
129 - added vertical views and multiple views in WMSplitView (Wolff <wolff@cybercable.fr>)
130 - changed values of parameter values of WMSplitViewConstrainProc()
131 - configurable default fontsize patch (Igor P. Roboul <igor@mordor.myip.org>)
132 - fixed a bug that crashed the programm when a popup button was scrolled.
133 - fixed a bug that caused incorrect drawing position of the popup indicator.
134 - fixed a bug that prevented selecting no item (-1) in a popup button.
135 - an assertion will be raised if the program tries to select a popup button
136 item that is beyond the total number of items present in the popup button.
137 - changed names of functions for SplitView to be consistent. Some contained
138 SubView while other Subview. Now all have Subview.
139 - fixed a bug in how input events were posted. Establishing 2 or more input
140 handlers for the same file descriptor, handling different (read/write/except)
141 events, caused wrong handlers to be called.
142 - Reimplemented the input and idle handlers with WMBag to avoid a functional
143 problem with them: inability to remove handlers next to the called one, from
144 the called handler itself. Trying to do this with the old version caused the
146 - changed wrealloc behaviour to be like this: new = wrealloc(old, new_size);
147 1. if old is NULL, return wmalloc(new_size).
148 2. if new_size is 0, call wfree(old), and return NULL.
149 3. if both old is a valid pointer and new_size>0, call realloc.
150 - added wstrerror(int errnum) to return the string associated with errnum.
151 - new wsyserrorwithcode(int error, const char* fmt, ...), similar to
152 wsyserror(), but printing the message for the specified error code.
153 - added 3 new classes: WMData, WMHost and WMConnection
154 - fixed a big memory leak in the color panel code (from Pascal Hofstee).
155 - added scrolling to tabview
157 changes since wmaker 0.61.0:
158 ............................
160 - added WMGetTextFieldFont()
161 - escape key in panels (craig nellist <crn@ozemail.com.au>)
162 - applied patch with fixes and enhancements to textfield
163 (Franck Wolff <wolff@cybercable.fr>)
164 - changed WMList to use WMBag internally, instead of a linked list
165 - replaced WMAddSortedListItem() with WMSortListItems()
166 - replaced WMAddSortedBrowserItem() with WMSortBrowserColumn()
168 changes since wmaker 0.60.0:
169 ............................
171 - added WMScreenWidth() and WMScreenHeight() functions.
172 - fixed some problems when compiling with non gcc compilers.
173 - added WMSetTextFieldFont()
174 - added WMSetButtonImageDefault() (craig nellist <crn@ozemail.com.au>)
175 - added WMBag (array/list)
176 - added libWUtil, a library that is a subset of libWINGs. It contains utils
177 that can be used in writing non-GUI programs. They include: hashes,
178 notifications, input/idle/timer handlers, user defaults database handling,
179 memory handling, application resource handling, etc.
180 All the non-GUI stuff from libWINGs is present.
181 Still linWINGs contain all this stuff so if you use libWINGs, you don't
182 need to link against libWUtil too.
183 One notable aspect of libWUtil is that it has a modified version of the
184 event handling function. It is named WHandleEvents() and will handle all
185 input/idle/timer events the app has.
186 If your app has a permanent input handler (as for example a socket a server
187 is listening on), then the main loop of the app can be:
191 but if there is no permanent input handler, you need to add some delay to
192 avoid a too high cpu load by your program:
197 A permanent input handler is one that is established when the program starts
198 and is present until the program exits.
199 One that is deleted and later reinstalled, is not considered permanent.
200 This difference is because if there is some input handler, the function will
201 block until some event appears, while if there is no input handler the
202 function will return almost immediately (after handling the timer/idle
205 Except the stuff declared in WUtil.h, the following functions declared in
206 WINGs.h are also present in libWUtil (you will need to #include <WINGs.h>
207 if you use one of these):
208 WMInitializeApplication(char *applicationName, int *argc, char **argv);
209 WMSetResourcePath(char *path);
210 WMGetApplicationName();
211 WMPathForResourceOfType(char *resource, char *ext);
212 WMAddTimerHandler(int milliseconds, WMCallback *callback, void *cdata);
213 WMDeleteTimerWithClientData(void *cdata);
214 WMDeleteTimerHandler(WMHandlerID handlerID);
215 WMAddIdleHandler(WMCallback *callback, void *cdata);
216 WMDeleteIdleHandler(WMHandlerID handlerID);
217 WMAddInputHandler(int fd, int condition, WMInputProc *proc,
219 WMDeleteInputHandler(WMHandlerID handlerID);
220 - added progress indicator widget
221 - Changed WMSetWindowUPosition() and WMSetWindowUSize() to
222 WMSetWindowInitialPosition() and WMSetWindowInitialSize() respectively,
223 for better naming conventions.
226 changes since wmaker 0.53.0:
227 ............................
230 - fixed a bug with setting initial path in browsers.
231 - added WMSetButtonImageDimsWhenDisabled()
232 - changed simple callback/notifications to delegate-like stuff. Affected
235 - WMSetBrowserFillProc() was replaced with WMSetBrowserDelegate
236 - WMBrowserDidScrollNotification was replaced with a delegate callback
238 WMTextField (not completed yet)
239 The notifications will still work, but using the delegate is preferable
241 How to convert old code to delegate callbacks:
242 1 - create a variable (static or dynamic) of the type of the
243 delegate for the widget type.
244 2 - Replace the notification observers with the equivalent
246 3 - Put pointers to the callbacks in the delegate variable.
248 Take a look in wfilepanel.c to see how it is used there.
250 - changed W_ViewProcedureTable to delegates
251 This will only affect user created widgets. If you have a custom
252 widget, you will need to update the callbacks and the declaration
253 of the W_ViewProcedureTable variable to be a W_ViewDelegate,
254 which is declared in WINGsP.h To setup the delegate, assign
255 the delegate variable to view->delegate.
258 Removed all the didChange notifications that were sent when the text
259 was changed programmatically. Only changes made by user interaction
260 will be notified now. If you need the old behaviour, send notifications
261 manually when you change the text.
264 - added WMGetColorPanelColor(WMColorPanel *panel)
265 - made WMGetUDStringForKey() to only return a reference to the string, not a
266 wstrdup()'ed copy. DO NOT FREE IT ANYMORE!
267 - added MultiByteText option to userdefaults file to control use of multibyte
268 string drawing functions
269 - renamed WMCreateFont() to WMCreateFontSet()
270 - renamed WMCreateFontInDefaultEncoding() to WMCreateNormalFont()
271 - added WMCreateFont() with different semantics
274 changes since wmaker 0.52.0:
275 ............................
277 - added int WMGetBrowserMaxVisibleColumns(WMBrowser *bPtr);
280 changes since wmaker 0.51.2:
281 ............................
283 - added WMColorWellDidChangeNotification
284 - added wfindfileinarray()
285 - fixed bug in window title setting
286 (MANOME Tomonori <manome@itlb.te.noda.sut.ac.jp>)
288 changes since wmaker 0.51.1:
289 ............................
291 - wusergnusteppath() will return a statically allocated string now.
292 DO NOT FREE IT ANYMORE!!
296 changes since wmaker 0.51.0:
297 ............................
299 - applied c++ compat header patch from Martynas Kunigelis <mkunigelis@alna.lt>
300 - added WMSetTextFieldBeveled()
301 - removed W_GC() : use WMColorGC() instead
302 - added WMCreatePixmap()
303 - changed WMSetTextFieldEnabled() to WMSetTextFieldEditable()
305 changes since wmaker 0.50.1:
306 ............................
309 - added patch from Franck Wolff <frawolff@club-internet.fr>, with
310 many fixes and enhancements
311 - added notification queues, asynchronous notifications etc.
312 - added WMSetBrowserDoubleAction()
313 - fixed list double click action
315 changes since wmaker 0.50.2:
316 ............................
318 - added wsetabort() - look WUtil.h
319 - fixed bug in WMList resize
320 - added notification sending when changing textfield programatically
321 - removed WMHideWindow()
322 - fixed bug in WMCloseWindow()
323 - added textfield selection patch
324 - added color panel code
325 - added auto name completion for the file panel
326 - added function to select text range, and to set cursor position in text
327 fields programatically
329 changes since wmaker 0.20.3:
330 ............................
332 - added WMSetSliderImage(), WMSetSliderKnobThickness()
333 - added WMGetListItemHeight()
334 - added WMListDidScrollNotification
335 - added WSetColorWellBordered()
336 - added hacky color dragging in colorwell
337 - added poll() support in WMNextEvent. WARNING: the stuff needed for
338 WMAddInputHandler() is not yet implemented for the poll stuff
339 - added WMSetFilePanelAccessoryView(), WMGetFilePanelAccessoryView()
340 - added WMSetPopUpButtonEnabled()
341 - added WMGetLabelImage()
342 - autoscroll for popup button menus
343 - added WMDrawPixmap()
344 - WARNING: changed parameter list for WMListDrawProc
346 changes since wmaker 0.20.2:
347 ............................
349 - WMSetBrowserMaxVisibleColumns() - untested
353 changes since wmaker 0.20.0:
354 ............................
356 - added generic object field for WMListItem. This is for hanging generic
360 changes since wmaker 0.20.0:
361 ............................
363 - changed WMGetFilePanelFile() with WMGetFilePanelFileName()
366 changes since wmaker 0.19.3:
367 ............................
369 - added WMCreatePanelForWindow()
370 - added extra parent parameter for filepanel, alertpanel and inputpanel
372 - WMChangePanelOwner()
373 - added WMAddInputHandler()
374 - change range related function arguments (WMTextField) to use WMRange
376 changes since wmaker 0.19.1:
377 ............................
380 - fixed bug when changing selected radio button by hand
382 changes since wmaker 0.18.1:
383 ............................
385 - removed textHeight arg from W_PaintImageAndText
386 - added WMCreateWindowWithStyle()
387 - added WMSetWindowBaseSize() and ResizeIncrements()
388 - added WMSetWindowLeve()
389 - added WMSetWindowDocumentEdited()
390 - added WMSetScrollViewLineScroll(), WMSetScrollViewPageScroll()
391 - added WMSetWindowMiniwindowTitle()
392 - added WMSetWindowMiniwindowImage()
394 changes since wmaker 0.18.0:
395 ............................
397 - added functions to get RGB components and "#rrggbb" string from WMColor.
398 - added function to create color from a name
399 - fixed bug that caused blocking until some new event arrives, even
400 when there already were events in the queue
401 (like having to move the pointer over window to force the window to be
404 changes since wmaker 0.17.5:
405 ............................
407 I don't remember everything, but here it goes:
409 - fixed some bugs in text field
410 - added a incomplete implementation of split view (not yet usable)
412 - changed the filepanel stuff. Each application can have only 1 file panel.
413 The same panel will be reused every time you call for it, unless you free it.
414 - changed semantics of WMCreateFont() so that it returns NULL if the requested
416 - removed WMAddDestroyCallback()
417 - fixed bug in WMRemovePopUpButtonItem()
418 - added function for user specified item height in WMList
419 - added WMSetPopUpButtonText(). It will set the default text in the button
420 when no options are selected
421 - fixed bug in remove/add item in already mapped popupbuttons. Note: it is
422 not good practice to change the contents of a popup button when it's
423 already visible and the user has probably interacted with it.
424 - fixed behaviour of "radio buttons"
425 - WMInitializeApplication() must be the first function to be called in the
427 - removed applicationName, argc and argv arguments from the WMCreateScree...
429 - WMReleaseColor(scr,color) changed to WMReleaseColor(color)
430 - WMPaintColorRectangle() changed to WMPaintColorSwatch()
431 - added various functions in font and color handling
432 - added WMSetButtonFont()
433 - changed WMCreateCommandButton() so that the buttons it creates will change
434 their label when pushed
435 - added WMGetSystemPixmap(WMScreen *scr, int image)
436 - added partial I18N support
437 - added libPropList requirement and some related utility functions
438 - added a interface to prooplist, so that it works as a user defaults db
439 - added WMWidthOfString() (removed WMFontWidthOfString())
440 - added WMDrawString()
441 - added WMSetTextFieldSecure(WMTextField *tPtr, Bool flag)
442 - WMGetListItem() will dup the returned string
443 - removed need for ProgName being defined
444 - rewrote hashtable stuff and made it available for outside use
445 - added notification functions, with view resize notification
446 - added WMSetWindowMinSize() and MaxSize()
447 - text editing notification
448 - added WMSetListPosition() etc.
449 - added WMInsertBrowserItem()
450 - the above 2 functions return WMListItem*, instead of Bool
452 - WMGetListItem() will return WMListItem*
453 - removed WMGetListItems() and WMSetListItems()
454 - fixed focus stuff for multi-window apps
455 - changed all WMList function names that contained index to row