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