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