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