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