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