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.
39 - added 3 new classes: WMData, WMHost and WMConnection
41 changes since wmaker 0.61.0:
42 ............................
44 - added WMGetTextFieldFont()
45 - escape key in panels (craig nellist <crn@ozemail.com.au>)
46 - applied patch with fixes and enhancements to textfield
47 (Franck Wolff <wolff@cybercable.fr>)
48 - changed WMList to use WMBag internally, instead of a linked list
49 - replaced WMAddSortedListItem() with WMSortListItems()
50 - replaced WMAddSortedBrowserItem() with WMSortBrowserColumn()
52 changes since wmaker 0.60.0:
53 ............................
55 - added WMScreenWidth() and WMScreenHeight() functions.
56 - fixed some problems when compiling with non gcc compilers.
57 - added WMSetTextFieldFont()
58 - added WMSetButtonImageDefault() (craig nellist <crn@ozemail.com.au>)
59 - added WMBag (array/list)
60 - added libWUtil, a library that is a subset of libWINGs. It contains utils
61 that can be used in writing non-GUI programs. They include: hashes,
62 notifications, input/idle/timer handlers, user defaults database handling,
63 memory handling, application resource handling, etc.
64 All the non-GUI stuff from libWINGs is present.
65 Still linWINGs contain all this stuff so if you use libWINGs, you don't
66 need to link against libWUtil too.
67 One notable aspect of libWUtil is that it has a modified version of the
68 event handling function. It is named WHandleEvents() and will handle all
69 input/idle/timer events the app has.
70 If your app has a permanent input handler (as for example a socket a server
71 is listening on), then the main loop of the app can be:
75 but if there is no permanent input handler, you need to add some delay to
76 avoid a too high cpu load by your program:
81 A permanent input handler is one that is established when the program starts
82 and is present until the program exits.
83 One that is deleted and later reinstalled, is not considered permanent.
84 This difference is because if there is some input handler, the function will
85 block until some event appears, while if there is no input handler the
86 function will return almost immediately (after handling the timer/idle
89 Except the stuff declared in WUtil.h, the following functions declared in
90 WINGs.h are also present in libWUtil (you will need to #include <WINGs.h>
91 if you use one of these):
92 WMInitializeApplication(char *applicationName, int *argc, char **argv);
93 WMSetResourcePath(char *path);
94 WMGetApplicationName();
95 WMPathForResourceOfType(char *resource, char *ext);
96 WMAddTimerHandler(int milliseconds, WMCallback *callback, void *cdata);
97 WMDeleteTimerWithClientData(void *cdata);
98 WMDeleteTimerHandler(WMHandlerID handlerID);
99 WMAddIdleHandler(WMCallback *callback, void *cdata);
100 WMDeleteIdleHandler(WMHandlerID handlerID);
101 WMAddInputHandler(int fd, int condition, WMInputProc *proc,
103 WMDeleteInputHandler(WMHandlerID handlerID);
104 - added progress indicator widget
105 - Changed WMSetWindowUPosition() and WMSetWindowUSize() to
106 WMSetWindowInitialPosition() and WMSetWindowInitialSize() respectively,
107 for better naming conventions.
110 changes since wmaker 0.53.0:
111 ............................
114 - fixed a bug with setting initial path in browsers.
115 - added WMSetButtonImageDimsWhenDisabled()
116 - changed simple callback/notifications to delegate-like stuff. Affected
119 - WMSetBrowserFillProc() was replaced with WMSetBrowserDelegate
120 - WMBrowserDidScrollNotification was replaced with a delegate callback
122 WMTextField (not completed yet)
123 The notifications will still work, but using the delegate is preferable
125 How to convert old code to delegate callbacks:
126 1 - create a variable (static or dynamic) of the type of the
127 delegate for the widget type.
128 2 - Replace the notification observers with the equivalent
130 3 - Put pointers to the callbacks in the delegate variable.
132 Take a look in wfilepanel.c to see how it is used there.
134 - changed W_ViewProcedureTable to delegates
135 This will only affect user created widgets. If you have a custom
136 widget, you will need to update the callbacks and the declaration
137 of the W_ViewProcedureTable variable to be a W_ViewDelegate,
138 which is declared in WINGsP.h To setup the delegate, assign
139 the delegate variable to view->delegate.
142 Removed all the didChange notifications that were sent when the text
143 was changed programmatically. Only changes made by user interaction
144 will be notified now. If you need the old behaviour, send notifications
145 manually when you change the text.
148 - added WMGetColorPanelColor(WMColorPanel *panel)
149 - made WMGetUDStringForKey() to only return a reference to the string, not a
150 wstrdup()'ed copy. DO NOT FREE IT ANYMORE!
151 - added MultiByteText option to userdefaults file to control use of multibyte
152 string drawing functions
153 - renamed WMCreateFont() to WMCreateFontSet()
154 - renamed WMCreateFontInDefaultEncoding() to WMCreateNormalFont()
155 - added WMCreateFont() with different semantics
158 changes since wmaker 0.52.0:
159 ............................
161 - added int WMGetBrowserMaxVisibleColumns(WMBrowser *bPtr);
164 changes since wmaker 0.51.2:
165 ............................
167 - added WMColorWellDidChangeNotification
168 - added wfindfileinarray()
169 - fixed bug in window title setting
170 (MANOME Tomonori <manome@itlb.te.noda.sut.ac.jp>)
172 changes since wmaker 0.51.1:
173 ............................
175 - wusergnusteppath() will return a statically allocated string now.
176 DO NOT FREE IT ANYMORE!!
180 changes since wmaker 0.51.0:
181 ............................
183 - applied c++ compat header patch from Martynas Kunigelis <mkunigelis@alna.lt>
184 - added WMSetTextFieldBeveled()
185 - removed W_GC() : use WMColorGC() instead
186 - added WMCreatePixmap()
187 - changed WMSetTextFieldEnabled() to WMSetTextFieldEditable()
189 changes since wmaker 0.50.1:
190 ............................
193 - added patch from Franck Wolff <frawolff@club-internet.fr>, with
194 many fixes and enhancements
195 - added notification queues, asynchronous notifications etc.
196 - added WMSetBrowserDoubleAction()
197 - fixed list double click action
199 changes since wmaker 0.50.2:
200 ............................
202 - added wsetabort() - look WUtil.h
203 - fixed bug in WMList resize
204 - added notification sending when changing textfield programatically
205 - removed WMHideWindow()
206 - fixed bug in WMCloseWindow()
207 - added textfield selection patch
208 - added color panel code
209 - added auto name completion for the file panel
210 - added function to select text range, and to set cursor position in text
211 fields programatically
213 changes since wmaker 0.20.3:
214 ............................
216 - added WMSetSliderImage(), WMSetSliderKnobThickness()
217 - added WMGetListItemHeight()
218 - added WMListDidScrollNotification
219 - added WSetColorWellBordered()
220 - added hacky color dragging in colorwell
221 - added poll() support in WMNextEvent. WARNING: the stuff needed for
222 WMAddInputHandler() is not yet implemented for the poll stuff
223 - added WMSetFilePanelAccessoryView(), WMGetFilePanelAccessoryView()
224 - added WMSetPopUpButtonEnabled()
225 - added WMGetLabelImage()
226 - autoscroll for popup button menus
227 - added WMDrawPixmap()
228 - WARNING: changed parameter list for WMListDrawProc
230 changes since wmaker 0.20.2:
231 ............................
233 - WMSetBrowserMaxVisibleColumns() - untested
237 changes since wmaker 0.20.0:
238 ............................
240 - added generic object field for WMListItem. This is for hanging generic
244 changes since wmaker 0.20.0:
245 ............................
247 - changed WMGetFilePanelFile() with WMGetFilePanelFileName()
250 changes since wmaker 0.19.3:
251 ............................
253 - added WMCreatePanelForWindow()
254 - added extra parent parameter for filepanel, alertpanel and inputpanel
256 - WMChangePanelOwner()
257 - added WMAddInputHandler()
258 - change range related function arguments (WMTextField) to use WMRange
260 changes since wmaker 0.19.1:
261 ............................
264 - fixed bug when changing selected radio button by hand
266 changes since wmaker 0.18.1:
267 ............................
269 - removed textHeight arg from W_PaintImageAndText
270 - added WMCreateWindowWithStyle()
271 - added WMSetWindowBaseSize() and ResizeIncrements()
272 - added WMSetWindowLeve()
273 - added WMSetWindowDocumentEdited()
274 - added WMSetScrollViewLineScroll(), WMSetScrollViewPageScroll()
275 - added WMSetWindowMiniwindowTitle()
276 - added WMSetWindowMiniwindowImage()
278 changes since wmaker 0.18.0:
279 ............................
281 - added functions to get RGB components and "#rrggbb" string from WMColor.
282 - added function to create color from a name
283 - fixed bug that caused blocking until some new event arrives, even
284 when there already were events in the queue
285 (like having to move the pointer over window to force the window to be
288 changes since wmaker 0.17.5:
289 ............................
291 I don't remember everything, but here it goes:
293 - fixed some bugs in text field
294 - added a incomplete implementation of split view (not yet usable)
296 - changed the filepanel stuff. Each application can have only 1 file panel.
297 The same panel will be reused every time you call for it, unless you free it.
298 - changed semantics of WMCreateFont() so that it returns NULL if the requested
300 - removed WMAddDestroyCallback()
301 - fixed bug in WMRemovePopUpButtonItem()
302 - added function for user specified item height in WMList
303 - added WMSetPopUpButtonText(). It will set the default text in the button
304 when no options are selected
305 - fixed bug in remove/add item in already mapped popupbuttons. Note: it is
306 not good practice to change the contents of a popup button when it's
307 already visible and the user has probably interacted with it.
308 - fixed behaviour of "radio buttons"
309 - WMInitializeApplication() must be the first function to be called in the
311 - removed applicationName, argc and argv arguments from the WMCreateScree...
313 - WMReleaseColor(scr,color) changed to WMReleaseColor(color)
314 - WMPaintColorRectangle() changed to WMPaintColorSwatch()
315 - added various functions in font and color handling
316 - added WMSetButtonFont()
317 - changed WMCreateCommandButton() so that the buttons it creates will change
318 their label when pushed
319 - added WMGetSystemPixmap(WMScreen *scr, int image)
320 - added partial I18N support
321 - added libPropList requirement and some related utility functions
322 - added a interface to prooplist, so that it works as a user defaults db
323 - added WMWidthOfString() (removed WMFontWidthOfString())
324 - added WMDrawString()
325 - added WMSetTextFieldSecure(WMTextField *tPtr, Bool flag)
326 - WMGetListItem() will dup the returned string
327 - removed need for ProgName being defined
328 - rewrote hashtable stuff and made it available for outside use
329 - added notification functions, with view resize notification
330 - added WMSetWindowMinSize() and MaxSize()
331 - text editing notification
332 - added WMSetListPosition() etc.
333 - added WMInsertBrowserItem()
334 - the above 2 functions return WMListItem*, instead of Bool
336 - WMGetListItem() will return WMListItem*
337 - removed WMGetListItems() and WMSetListItems()
338 - fixed focus stuff for multi-window apps
339 - changed all WMList function names that contained index to row