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