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