1 changes since wmaker 0.60.0:
2 ............................
4 - added WMScreenWidth() and WMScreenHeight() functions.
5 - fixed some problems when compiling with non gcc compilers.
6 - added WMSetButtonImageDefault() (craig nellist <crn@ozemail.com.au>)
7 - added WMBag (array/list)
8 - added libWUtil, a library that is a subset of libWINGs. It contains utils
9 that can be used in writing non-GUI programs. They include: hashes,
10 notifications, input/idle/timer handlers, user defaults database handling,
11 memory handling, application resource handling, etc.
12 All the non-GUI stuff from libWINGs is present.
13 Still linWINGs contain all this stuff so if you use libWINGs, you don't
14 need to link against libWUtil too.
15 One notable aspect of libWUtil is that it has a modified version of the
16 event handling function. It is named WHandleEvents() and will handle all
17 input/idle/timer events the app has.
18 If your app has a permanent input handler (as for example a socket a server
19 is listening on), then the main loop of the app can be:
23 but if there is no permanent input handler, you need to add some delay to
24 avoid a too high cpu load by your program:
29 A permanent input handler is one that is established when the program starts
30 and is present until the program exits.
31 One that is deleted and later reinstalled, is not considered permanent.
32 This difference is because if there is some input handler, the function will
33 block until some event appears, while if there is no input handler the
34 function will return almost immediately (after handling the timer/idle
37 Except the stuff declared in WUtil.h, the following functions declared in
38 WINGs.h are also present in libWUtil (you will need to #include <WINGs.h>
39 if you use one of these):
40 WMInitializeApplication(char *applicationName, int *argc, char **argv);
41 WMSetResourcePath(char *path);
42 WMGetApplicationName();
43 WMPathForResourceOfType(char *resource, char *ext);
44 WMAddTimerHandler(int milliseconds, WMCallback *callback, void *cdata);
45 WMDeleteTimerWithClientData(void *cdata);
46 WMDeleteTimerHandler(WMHandlerID handlerID);
47 WMAddIdleHandler(WMCallback *callback, void *cdata);
48 WMDeleteIdleHandler(WMHandlerID handlerID);
49 WMAddInputHandler(int fd, int condition, WMInputProc *proc,
51 WMDeleteInputHandler(WMHandlerID handlerID);
52 - added progress indicator widget
55 changes since wmaker 0.53.0:
56 ............................
59 - fixed a bug with setting initial path in browsers.
60 - added WMSetButtonImageDimsWhenDisabled()
61 - changed simple callback/notifications to delegate-like stuff. Affected
64 - WMSetBrowserFillProc() was replaced with WMSetBrowserDelegate
65 - WMBrowserDidScrollNotification was replaced with a delegate callback
67 WMTextField (not completed yet)
68 The notifications will still work, but using the delegate is preferable
70 How to convert old code to delegate callbacks:
71 1 - create a variable (static or dynamic) of the type of the
72 delegate for the widget type.
73 2 - Replace the notification observers with the equivalent
75 3 - Put pointers to the callbacks in the delegate variable.
77 Take a look in wfilepanel.c to see how it is used there.
79 - changed W_ViewProcedureTable to delegates
80 This will only affect user created widgets. If you have a custom
81 widget, you will need to update the callbacks and the declaration
82 of the W_ViewProcedureTable variable to be a W_ViewDelegate,
83 which is declared in WINGsP.h To setup the delegate, assign
84 the delegate variable to view->delegate.
87 Removed all the didChange notifications that were sent when the text
88 was changed programmatically. Only changes made by user interaction
89 will be notified now. If you need the old behaviour, send notifications
90 manually when you change the text.
93 - added WMGetColorPanelColor(WMColorPanel *panel)
94 - made WMGetUDStringForKey() to only return a reference to the string, not a
95 wstrdup()'ed copy. DO NOT FREE IT ANYMORE!
96 - added MultiByteText option to userdefaults file to control use of multibyte
97 string drawing functions
98 - renamed WMCreateFont() to WMCreateFontSet()
99 - renamed WMCreateFontInDefaultEncoding() to WMCreateNormalFont()
100 - added WMCreateFont() with different semantics
103 changes since wmaker 0.52.0:
104 ............................
106 - added int WMGetBrowserMaxVisibleColumns(WMBrowser *bPtr);
109 changes since wmaker 0.51.2:
110 ............................
112 - added WMColorWellDidChangeNotification
113 - added wfindfileinarray()
114 - fixed bug in window title setting
115 (MANOME Tomonori <manome@itlb.te.noda.sut.ac.jp>)
117 changes since wmaker 0.51.1:
118 ............................
120 - wusergnusteppath() will return a statically allocated string now.
121 DO NOT FREE IT ANYMORE!!
125 changes since wmaker 0.51.0:
126 ............................
128 - applied c++ compat header patch from Martynas Kunigelis <mkunigelis@alna.lt>
129 - added WMSetTextFieldBeveled()
130 - removed W_GC() : use WMColorGC() instead
131 - added WMCreatePixmap()
132 - changed WMSetTextFieldEnabled() to WMSetTextFieldEditable()
134 changes since wmaker 0.50.1:
135 ............................
138 - added patch from Franck Wolff <frawolff@club-internet.fr>, with
139 many fixes and enhancements
140 - added notification queues, asynchronous notifications etc.
141 - added WMSetBrowserDoubleAction()
142 - fixed list double click action
144 changes since wmaker 0.50.2:
145 ............................
147 - added wsetabort() - look WUtil.h
148 - fixed bug in WMList resize
149 - added notification sending when changing textfield programatically
150 - removed WMHideWindow()
151 - fixed bug in WMCloseWindow()
152 - added textfield selection patch
153 - added color panel code
154 - added auto name completion for the file panel
155 - added function to select text range, and to set cursor position in text
156 fields programatically
158 changes since wmaker 0.20.3:
159 ............................
161 - added WMSetSliderImage(), WMSetSliderKnobThickness()
162 - added WMGetListItemHeight()
163 - added WMListDidScrollNotification
164 - added WSetColorWellBordered()
165 - added hacky color dragging in colorwell
166 - added poll() support in WMNextEvent. WARNING: the stuff needed for
167 WMAddInputHandler() is not yet implemented for the poll stuff
168 - added WMSetFilePanelAccessoryView(), WMGetFilePanelAccessoryView()
169 - added WMSetPopUpButtonEnabled()
170 - added WMGetLabelImage()
171 - autoscroll for popup button menus
172 - added WMDrawPixmap()
173 - WARNING: changed parameter list for WMListDrawProc
175 changes since wmaker 0.20.2:
176 ............................
178 - WMSetBrowserMaxVisibleColumns() - untested
182 changes since wmaker 0.20.0:
183 ............................
185 - added generic object field for WMListItem. This is for hanging generic
189 changes since wmaker 0.20.0:
190 ............................
192 - changed WMGetFilePanelFile() with WMGetFilePanelFileName()
195 changes since wmaker 0.19.3:
196 ............................
198 - added WMCreatePanelForWindow()
199 - added extra parent parameter for filepanel, alertpanel and inputpanel
201 - WMChangePanelOwner()
202 - added WMAddInputHandler()
203 - change range related function arguments (WMTextField) to use WMRange
205 changes since wmaker 0.19.1:
206 ............................
209 - fixed bug when changing selected radio button by hand
211 changes since wmaker 0.18.1:
212 ............................
214 - removed textHeight arg from W_PaintImageAndText
215 - added WMCreateWindowWithStyle()
216 - added WMSetWindowBaseSize() and ResizeIncrements()
217 - added WMSetWindowLeve()
218 - added WMSetWindowDocumentEdited()
219 - added WMSetScrollViewLineScroll(), WMSetScrollViewPageScroll()
220 - added WMSetWindowMiniwindowTitle()
221 - added WMSetWindowMiniwindowImage()
223 changes since wmaker 0.18.0:
224 ............................
226 - added functions to get RGB components and "#rrggbb" string from WMColor.
227 - added function to create color from a name
228 - fixed bug that caused blocking until some new event arrives, even
229 when there already were events in the queue
230 (like having to move the pointer over window to force the window to be
233 changes since wmaker 0.17.5:
234 ............................
236 I don't remember everything, but here it goes:
238 - fixed some bugs in text field
239 - added a incomplete implementation of split view (not yet usable)
241 - changed the filepanel stuff. Each application can have only 1 file panel.
242 The same panel will be reused every time you call for it, unless you free it.
243 - changed semantics of WMCreateFont() so that it returns NULL if the requested
245 - removed WMAddDestroyCallback()
246 - fixed bug in WMRemovePopUpButtonItem()
247 - added function for user specified item height in WMList
248 - added WMSetPopUpButtonText(). It will set the default text in the button
249 when no options are selected
250 - fixed bug in remove/add item in already mapped popupbuttons. Note: it is
251 not good practice to change the contents of a popup button when it's
252 already visible and the user has probably interacted with it.
253 - fixed behaviour of "radio buttons"
254 - WMInitializeApplication() must be the first function to be called in the
256 - removed applicationName, argc and argv arguments from the WMCreateScree...
258 - WMReleaseColor(scr,color) changed to WMReleaseColor(color)
259 - WMPaintColorRectangle() changed to WMPaintColorSwatch()
260 - added various functions in font and color handling
261 - added WMSetButtonFont()
262 - changed WMCreateCommandButton() so that the buttons it creates will change
263 their label when pushed
264 - added WMGetSystemPixmap(WMScreen *scr, int image)
265 - added partial I18N support
266 - added libPropList requirement and some related utility functions
267 - added a interface to prooplist, so that it works as a user defaults db
268 - added WMWidthOfString() (removed WMFontWidthOfString())
269 - added WMDrawString()
270 - added WMSetTextFieldSecure(WMTextField *tPtr, Bool flag)
271 - WMGetListItem() will dup the returned string
272 - removed need for ProgName being defined
273 - rewrote hashtable stuff and made it available for outside use
274 - added notification functions, with view resize notification
275 - added WMSetWindowMinSize() and MaxSize()
276 - text editing notification
277 - added WMSetListPosition() etc.
278 - added WMInsertBrowserItem()
279 - the above 2 functions return WMListItem*, instead of Bool
281 - WMGetListItem() will return WMListItem*
282 - removed WMGetListItems() and WMSetListItems()
283 - fixed focus stuff for multi-window apps
284 - changed all WMList function names that contained index to row