~profzoom/ubuntu/quantal/wmaker/bug-1079925

« back to all changes in this revision

Viewing changes to WINGs/ChangeLog

  • Committer: Bazaar Package Importer
  • Author(s): Marcelo E. Magallon
  • Date: 2004-11-10 14:05:30 UTC
  • Revision ID: james.westby@ubuntu.com-20041110140530-qpd66b5lm38x7apk
Tags: upstream-0.91.0
ImportĀ upstreamĀ versionĀ 0.91.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Changes since wmaker 0.80.1:
 
2
............................
 
3
 
 
4
- Added WMSetConnectionShutdownOnClose()
 
5
- Added an extra member to the ConnectionDelegate: canResumeSending
 
6
  see NEWS for details.
 
7
- WMDrawString() and WMDrawImageString() now take WMColor instead of GC as
 
8
  arguments. WMDrawImageString() receives 2 colors (text & background).
 
9
  This is to allow easy extension for Xft/Xrender and hide X low level details
 
10
  Read NEWS for details since this will break backward compatibility.
 
11
- Added alpha channel to WMColor. 2 new functions also:
 
12
  WMCreateRGBAColor() and WMSetColorAlpha()
 
13
- Miscelaneous code cleanups in wtext.c
 
14
- Added Xft2 support in WINGs (for drawing antialiased fonts with transparency).
 
15
- New options in WMGLOBAL: AntialiasedText. Check NEWS for details.
 
16
- Fixed some improper calls to snprintf in wfont.c
 
17
- Added double buffering when drawing a WMFrame title with an antialiased font
 
18
  to avoid flickering.
 
19
- Added double buffering when drawing WMList items to avoid flickering.
 
20
  Double buffering for list also works for user drawn lists. Read NEWS for
 
21
  details and incompatibilities introduced by this change.
 
22
- Added WMGetColorAlpha(WMColor *color)
 
23
- Better outline when drawing balloons.
 
24
- Added WMCreateFontWithAttributes()
 
25
- You can now pass "SystemFont", "BoldSystemFont", "SystemFont-##" or
 
26
  "BoldSystemFont-##", with ## being the font size to any font creating
 
27
  function to create a font with the (bold) system font font specification.
 
28
- Added WMCopyFontWithChanges(). This is a more generic and powerful function
 
29
  meant to replaces the obsoleted WMEmphasizeFont(), WMNormalizeFont(),
 
30
  WMStrenghtenFont() and the other similar functions. To get the same effect
 
31
  you pass some predefined structs to it: WFANormal, WFABold, WFAEmphasized,
 
32
  etc which are declared in WINGs.h).
 
33
- Fixed a bug with empty frame titles (Alexey Voinov <voins@voins.program.ru>)
 
34
- Added WMGetWidgetBackgroundColor()
 
35
- Code cleanup in wtext.c
 
36
- Fixed a memory leak in wfontpanel.c
 
37
- Fixed WMGetTextDefaultColor() not to retain the returned color. It returns
 
38
  only a reference to the internal color, which you shouldn't release
 
39
- Added wstrndup()
 
40
- Added WMGetFontName()
 
41
- Added fontpanel callback
 
42
- Added WMSetTableViewHasHorizontalScroller()
 
43
- Fixed bug that could cause SIGSEGV by accessing beyond the end of text in
 
44
  a WINGs textfield widget.
 
45
- Fixed small memory leak in the font panel code.
 
46
- Fixed call to qsort in WMSortArray.
 
47
- Fixed a memleak in the file panel.
 
48
- Double/triple-click selection in text widgets 
 
49
  (Vitaly Ovtchinnikov <ov@rbcmail.ru>)
 
50
- Fixed bug in tableview (clicked row callback got incorrect row)
 
51
  (Carlos Torres <vlaadbrain@operamail.com>)
 
52
- Fixed bug in resizing a scrollview
 
53
- Fixed bug with wrong text wrapping (Alexey Voinov <voins@voins.program.ru>)
 
54
- Added wmkrect()
 
55
- Added xdnd v3 support (Sylvain Reynal <sreynal@nerim.net>)
 
56
- Fixed and enhanced text wrapping.
 
57
 
 
58
 
 
59
Changes since wmaker 0.80.0:
 
60
............................
 
61
 
 
62
- fixed a bug in wfindfile() (rewrote wfindfile() with better logic).
 
63
- separated the font caches for normal fonts and fontsets in WINGs (they can
 
64
  have the same names and collide in the cache giving unwanted results)
 
65
- fixed labels not to display '\n' as a character if multiple '\n' are passed
 
66
  but just skip to the next line.
 
67
- better warning when importing non-digit characters in PropList Data.
 
68
- rewrote WMBox to use a WMArray for subviews. with this change fixed a bug
 
69
  about arranging subviews after removing one and a memleak occuring in the
 
70
  same case.
 
71
- Fixed WMGetViewScreenPosition() to consider the window decorations.
 
72
- Added ability to enable/disable individual WMTableViewItems.
 
73
- Fixed textfields regarding interpretation of special keys with modifiers.
 
74
- Fixed some functions that accept a boolean flag as a paramater, to set only
 
75
  1 or 0 for the flag value, not the flag passed by the user.
 
76
- Added 2 functions to retrieve the default system fonts:
 
77
  WMDefaultSystemFont(WMScreen *scr) and WMDefaultBoldSystemFont(WMScreen *scr)
 
78
- Added WMSetButtonImageDimsWhenDisabled() and WMGetButtonEnabled()
 
79
- Cleaned-up the header files of functions/vars declared but not implemented
 
80
- Added WMGetTextFieldDelegate()
 
81
 
 
82
 
 
83
Changes since wmaker 0.70.0:
 
84
............................
 
85
 
 
86
- added an internal strcasecmp() (only on systems where is not present)
 
87
- removed some redundant includes of ../src/config.h when wconfig.h is 
 
88
  included too
 
89
- removed a wsyserror() message when reading a property list from file
 
90
  (the programmer should decide if to give that message or just ignore).
 
91
- added a 'Bool recursive' flag to WMMergePLDictionaries()
 
92
- added WMSubtractPLDictionaries()
 
93
 
 
94
 
 
95
Changes since wmaker 0.65.0:
 
96
............................
 
97
 
 
98
- fixed problem with WINGs based apps exiting with a "X_RotateProperties"
 
99
  related error when text was selected in a textfiled.
 
100
- moved wstrdup(), wstrconcat() and wstrappend() from memory.c to string.c
 
101
- added property list handling code making libPropList unnecessary and
 
102
  obsolete. Backward compatibility is provided through the 
 
103
  WINGs/proplist-compat.h header file which has #defines from old libPropList
 
104
  function names to new function names with minimal changes. Read this
 
105
  header file and the NEWS file for more details about this subject.
 
106
- Renamed WMGetUDAllKeys() to WMGetUDKeys()
 
107
 
 
108
 
 
109
Changes since wmaker 0.64.0:
 
110
............................
 
111
 
 
112
- made programmatic scroller changes send notifications
 
113
- replaced WMSetBoxExpandsToParent with WMSetViewExpands...
 
114
- added WMGetLabelFont()
 
115
- added WMAddPersistentTimerHandler()
 
116
- Moved all internal handlers (timer, idle and input) to handlers.c
 
117
- simplified wevent.c and wutil.c.
 
118
- fixed handling of input with poll (was broken)
 
119
- fixed mem leak that occured when input handling was done with poll
 
120
- simpler and more straightforward event handling for timer, idle, input
 
121
  and X events (also fixed some problems the old handling logic had)
 
122
- moved timer, idle and input handler definitions and prototypes from
 
123
  WINGs.h to WUtil.h because they're not GUI related.
 
124
- better and more robust handling of events (timer, idle, input, X) in
 
125
  WMMaskEvent(). Also fixed a bug where input and timer events were not
 
126
  treated for undefined periods of time under some circumstances.
 
127
- fixed secure textfields not to allow text selection, to avoid compromising
 
128
  sensitive information by pasting it to a terminal.
 
129
- replaced wmkrange(), wmkpoint() and wmksize() functions with macros.
 
130
- added WMRemoveFromArrayMatching(array, match, cdata), which will remove the
 
131
  first element in the array that is matched by match(item, cdata)==True.
 
132
- added WMArrayFirst(), WMArrayLast(), WMArrayNext() and WMArrayPrevious()
 
133
  functions and also WM_ITERATE_ARRAY() and WM_ETARETI_ARRAY() macros, to make
 
134
  interfaces to WMBag and WMArray similar and to make life a little simpler
 
135
  when iterating through all elements of an array.
 
136
- replaced bags with arrays wherever appropriate. This will improve
 
137
  performance a bit.
 
138
- replaced some recursive code with iterative code in selection.c
 
139
- added WMCreateBlendedPixmapFromRImage()
 
140
- small API change:
 
141
  1. Renamed WMSetApplicationIconImage(), WMGetApplicationIconImage() and
 
142
     WMSetWindowMiniwindowImage() to respectively WMSetApplicationIconPixmap(),
 
143
     WMGetApplicationIconPixmap() and WMSetWindowMiniwindowPixmap()
 
144
     They operate on a WMPixmap which is practically an X Pixmap with no alpha
 
145
     channel information and the new name is more suggestive and also leaves
 
146
     room for the new functions added for operating on images with alpha info.
 
147
  2. Added WMSetApplicationIconImage() and WMGetApplicationIconImage() which
 
148
     operate on an RImage and store alpha information too.
 
149
  3. Added WMCreateApplicationIconBlendedPixmap() which will take the image
 
150
     set by WMSetApplicationIconImage() and will combine it with a color.
 
151
     If color is NULL it will blend using the default panel color (#aeaaae)
 
152
  All these changes will allow WINGs to handle images with alpha blending
 
153
  correctly in panels and wherever else needed. More about in NEWS.
 
154
- updated panels to use the newly available RImages if present and fallback
 
155
  to old WMPixmaps if not, to properly show alpha blended images.
 
156
- replaced some still left malloc's with wmalloc's.
 
157
- fixed a bug in WMReparentWidget()
 
158
- added WMReparentWidget() to WINGs.h
 
159
- fixed a bug that made the scroller knob jump backwards when dragged (this
 
160
  bug had no relation with the behavior that #define STRICT_NEXT_BEHAVIOUR
 
161
  attempts to accomplish).
 
162
- fixed scrolling direction with mouse wheel for horizontal scroller.
 
163
 
 
164
 
 
165
changes since wmaker 0.63.1:
 
166
............................
 
167
- added WMRunModalLoop() and WMBreakModalLoop()
 
168
- added WMSetBoxExpandsToParent()
 
169
- added WMRemoveBoxSubview()
 
170
- moved WINGs headers in a WINGs subdirectory when installed.
 
171
  use #include <WINGs/header_file_name> in your application from now on.
 
172
  Also updated get-{wings|wutil}-flags.
 
173
- Fixed a mem leak in WMList.
 
174
- Fixed a bug that caused sigsegv for a WMList with more than 32767 items.
 
175
- Added an example of how to create a server type program with WMConnection.
 
176
- added WMOpenScreen()
 
177
 
 
178
 
 
179
changes since wmaker 0.62.1:
 
180
............................
 
181
- added WRuler widget
 
182
- added WText widget (rtf multiline text widget) 
 
183
        Nwanua Elumeze <nwanua@colorado.edu>
 
184
- added a new AUTO option for the UseMultiByte option
 
185
- added WMRaiseWidget()/WMLowerWidget()
 
186
- added missing EscapeTextMovement to textfield delegate/notification
 
187
- added WMGetLabelText()
 
188
- added WMReparentWidget()
 
189
- added WMCreateTabViewItem()
 
190
- added W_CreateUnmanagedTopView()
 
191
- added wtokenjoin(), wtokensplit(), wtokenfree(), wtrimspace()
 
192
- added WMWidgetIsMapped()
 
193
- added WMSetApplicationIconWindow()
 
194
- restructured the directory tree. Added Documentation, Examples and Tests
 
195
  subdirectories
 
196
- removed WMArrayBag and reorganized WMTreeBag to be WMBag.
 
197
- added WMArray class.
 
198
- added WMSetWindowUserPosition()
 
199
- added WMGetListSelectedItems()
 
200
- added WMSetListAllowMultipleSelection(), WMListAllowsMultipleSelection().
 
201
- added WMSetListAllowEmptySelection(), WMListAllowsEmptySelection().
 
202
- WMListSelectionDidChangeNotification passes NULL as the notification 
 
203
  client data (previously passed the selected item row).
 
204
- added WMUnselectListItem(), WMSelectAllListItems(), WMUnselectAllListItems()
 
205
- better behavior of wheel mices in WMList. Simple mouse wheel events
 
206
  will scroll by 1/3 of the WMList height. Using Shift as a modifier will
 
207
  scroll line by line, while using Control as a modifier will scroll page
 
208
  by page.
 
209
- better behavior of WMScroller regarding mouse wheel events. 'Shift' modifier
 
210
  will scroll line by line, while 'Control' modifier will scroll page by page.
 
211
- fixed some buffer overflow allowing bugs.
 
212
- added WSDecrementWheel and WSIncrementWheel for handling mouse wheel in
 
213
  scrollers and scrolled widgets. This should be treated like the WSxxxPage
 
214
  counterparts, except it should scroll by page_size/3 instead of one full page
 
215
- added WMSetBrowserAllowMultipleSelection(), WMSetBrowserAllowEmptySelection()
 
216
  WMBrowserAllowsMultipleSelection() and WMBrowserAllowsEmptySelection()
 
217
- WMBrowser now allows multiple selections.
 
218
- Added WMGetBrowserPaths() to retrieve the paths for browsers that allow
 
219
  multiple selections.
 
220
- WMDestroyWidget() now calls WMUnmapWidget() first
 
221
- added WMScrollerDidScrollNotification to scroller
 
222
- added WMGetScrollViewVisibleRect()
 
223
- fixed a mem leak in the browser code.
 
224
- renamed wstrappend() to wstrconcat(). wstrconcat(str1, str2) concatenates
 
225
  str1 with str2 and returns that in a newly malloc'ed string.
 
226
  Be sure to rename wstrappend with wstrconcat in your code too, else
 
227
  hazardous things can happen!
 
228
- implemented a new wstrappend() function. wstrappend(dst, src) will append 
 
229
  src to dst modifing dst and returning a pointer to it. No new string is 
 
230
  generated, except if dst is NULL, in which case its the same as calling
 
231
  wstrdup(src).
 
232
  dst can ONLY be NULL or a dynamically allocated string (obtained from a
 
233
  call to malloc, realloc, wmalloc, wrealloc, ...). dst CANNOT be a static
 
234
  or a constant string!
 
235
- added wmessage() for printing a variable formatted string to stderr, with
 
236
  the program name prepended to it. Similar to wwarning(), except that it
 
237
  doesn't add "warning:" in the output message.
 
238
- added WMBox widget
 
239
- added WMAddTabViewItemWithView()
 
240
- added W_SetViewCursor()
 
241
- made Extra widgets library
 
242
- added table widget in Extras library
 
243
- added WMGetConnectionUnsentData() (WMGetConnectionQueuedData() too as an
 
244
  alias).
 
245
- added WMSetConnectionCloseOnExec() to specify if the socket associated
 
246
  with a connection survives an exec* call or not. When a new connection is
 
247
  created using the WMCreate... or WMAcceptConnection() calls, it has the
 
248
  close on exec flag set automatically to 'True' by the library. Unless
 
249
  you want to let the socket of some connection to survive across an exec*
 
250
  call, you need not to call this function.
 
251
- removed all the wsyserror() and wwarning() calls from host.c and
 
252
  connection.c and replaced where appropriate with assertions. If a function
 
253
  returns some invalid result, you can still get the system error message if
 
254
  you need, by calling wsyserrorwithcode() and passing WCErrorCode, if
 
255
  WCErrorCode > 0. If WCErrorCode==0, that is not a system error, and
 
256
  wsyserrorwithcode() should not be called in this case.
 
257
- added WMNextHashEnumeratorKey() to retrieve all keys in some hash enumerator
 
258
  one by one.
 
259
- fixed a bug with mouse wheels scrolling in scrollers even with the widget
 
260
  fully visible.
 
261
- Fixed a memory leak (the destroy function for a view was never called and
 
262
  as a result the shaded windows didn't go away when closed. The non-shaded
 
263
  windows were unmapped on close but not destroyed either so they only
 
264
  apparently went away, but continued to use memory).
 
265
- Fixed a bug in the hashtable code which free'd the whole item instead of
 
266
  just the item key in WMResetHashTable() (possible source of SIGSEGVs)
 
267
 
 
268
 
 
269
changes since wmaker 0.62.0:
 
270
............................
 
271
- added WMSetWidgetDefaultFont(), WMSetWidgetDefaultBoldFont()
 
272
 
 
273
 
 
274
 
 
275
changes since wmaker 0.62.0:
 
276
............................
 
277
- added WM{S,G}etDataFormat()
 
278
- added drag and drop
 
279
- changed selection code
 
280
- added clientdata to WMFindInBag
 
281
- removed SetWindowInitialSize()
 
282
- added SetWindowAspectRatio()
 
283
- added initial timeout when establishing a connection.
 
284
- added WMSetConnectionDefaultTimeout() and WMSetConnectionOpenTimeout();
 
285
- added WMGetConnectionTimeoutState()
 
286
 
 
287
changes since wmaker 0.61.1:
 
288
............................
 
289
 
 
290
- WARNING: semantic of bags has changed!
 
291
        An index assigned to an item will always keep that index unless
 
292
        you insert an item before it.
 
293
 
 
294
        For example:
 
295
                bag = WMCreateBag();
 
296
                WMSetInBag(bag, 10, "bla");
 
297
        That code will put "bla" in index 10, instead of 0, as it used to be.
 
298
- fixed WMInsertInBag(). It ignored index, and always put the new item at end.
 
299
- added WMSaveUserDefaults().
 
300
- rewrote WMPopUpButton to use WMMenuItem
 
301
- added WMGetPopUpButtonMenuItem(WMPopUpButton *bPtr, int index)
 
302
- WMSortListItemsWithComparer(WMList *lPtr, (int)(f)(const void*, const void*))
 
303
- WMSortBrowserColumnWithComparer()
 
304
- fixed bug with sorting list items.
 
305
- fixed bug in handling keyboard input associated with selection and
 
306
  notification sending.
 
307
- filepanel puts dirs on top of list (Wolff <wolff@cybercable.fr>)
 
308
- added WMReplaceInBag (Wolff <wolff@cybercable.fr>)
 
309
- added vertical views and multiple views in WMSplitView (Wolff <wolff@cybercable.fr>)
 
310
- changed values of parameter values of WMSplitViewConstrainProc()
 
311
- configurable default fontsize patch (Igor P. Roboul <igor@mordor.myip.org>)
 
312
- fixed a bug that crashed the programm when a popup button was scrolled.
 
313
- fixed a bug that caused incorrect drawing position of the popup indicator.
 
314
- fixed a bug that prevented selecting no item (-1) in a popup button.
 
315
- an assertion will be raised if the program tries to select a popup button
 
316
  item that is beyond the total number of items present in the popup button.
 
317
- changed names of functions for SplitView to be consistent. Some contained
 
318
  SubView while other Subview. Now all have Subview.
 
319
- fixed a bug in how input events were posted. Establishing 2 or more input 
 
320
  handlers for the same file descriptor, handling different (read/write/except)
 
321
  events, caused wrong handlers to be called.
 
322
- Reimplemented the input and idle handlers with WMBag to avoid a functional
 
323
  problem with them: inability to remove handlers next to the called one, from
 
324
  the called handler itself. Trying to do this with the old version caused the
 
325
  program to crash.
 
326
- changed wrealloc behaviour to be like this: new = wrealloc(old, new_size);
 
327
    1. if old is NULL, return wmalloc(new_size).
 
328
    2. if new_size is 0, call wfree(old), and return NULL.
 
329
    3. if both old is a valid pointer and new_size>0, call realloc.
 
330
- added wstrerror(int errnum) to return the string associated with errnum.
 
331
- new wsyserrorwithcode(int error, const char* fmt, ...), similar to 
 
332
  wsyserror(), but printing the message for the specified error code.
 
333
- added 3 new classes: WMData, WMHost and WMConnection
 
334
- fixed a big memory leak in the color panel code (from Pascal Hofstee).
 
335
- added scrolling to tabview
 
336
 
 
337
changes since wmaker 0.61.0:
 
338
............................
 
339
 
 
340
- added WMGetTextFieldFont()
 
341
- escape key in panels (craig nellist <crn@ozemail.com.au>)
 
342
- applied patch with fixes and enhancements to textfield 
 
343
        (Franck Wolff <wolff@cybercable.fr>)
 
344
- changed WMList to use WMBag internally, instead of a linked list
 
345
- replaced WMAddSortedListItem() with WMSortListItems()
 
346
- replaced WMAddSortedBrowserItem() with WMSortBrowserColumn()
 
347
 
 
348
changes since wmaker 0.60.0:
 
349
............................
 
350
 
 
351
- added WMScreenWidth() and WMScreenHeight() functions.
 
352
- fixed some problems when compiling with non gcc compilers.
 
353
- added WMSetTextFieldFont()
 
354
- added WMSetButtonImageDefault() (craig nellist <crn@ozemail.com.au>)
 
355
- added WMBag (array/list)
 
356
- added libWUtil, a library that is a subset of libWINGs. It contains utils
 
357
  that can be used in writing non-GUI programs. They include: hashes,
 
358
  notifications, input/idle/timer handlers, user defaults database handling,
 
359
  memory handling, application resource handling, etc.
 
360
  All the non-GUI stuff from libWINGs is present.
 
361
  Still linWINGs contain all this stuff so if you use libWINGs, you don't
 
362
  need to link against libWUtil too.
 
363
  One notable aspect of libWUtil is that it has a modified version of the
 
364
  event handling function. It is named WHandleEvents() and will handle all
 
365
  input/idle/timer events the app has.
 
366
  If your app has a permanent input handler (as for example a socket a server
 
367
  is listening on), then the main loop of the app can be:
 
368
        while(1) {
 
369
            WHandleEvents();
 
370
        }
 
371
  but if there is no permanent input handler, you need to add some delay to
 
372
  avoid a too high cpu load by your program:
 
373
        while(1) {
 
374
            WHandleEvents();
 
375
            wusleep(5000);
 
376
        }
 
377
  A permanent input handler is one that is established when the program starts
 
378
  and is present until the program exits.
 
379
  One that is deleted and later reinstalled, is not considered permanent.
 
380
  This difference is because if there is some input handler, the function will
 
381
  block until some event appears, while if there is no input handler the
 
382
  function will return almost immediately (after handling the timer/idle
 
383
  stuff).
 
384
 
 
385
  Except the stuff declared in WUtil.h, the following functions declared in
 
386
  WINGs.h are also present in libWUtil (you will need to #include <WINGs.h>
 
387
  if you use one of these):
 
388
        WMInitializeApplication(char *applicationName, int *argc, char **argv);
 
389
        WMSetResourcePath(char *path);
 
390
        WMGetApplicationName();
 
391
        WMPathForResourceOfType(char *resource, char *ext);
 
392
        WMAddTimerHandler(int milliseconds, WMCallback *callback, void *cdata);
 
393
        WMDeleteTimerWithClientData(void *cdata);
 
394
        WMDeleteTimerHandler(WMHandlerID handlerID);
 
395
        WMAddIdleHandler(WMCallback *callback, void *cdata);
 
396
        WMDeleteIdleHandler(WMHandlerID handlerID);
 
397
        WMAddInputHandler(int fd, int condition, WMInputProc *proc,
 
398
                          void *clientData);
 
399
        WMDeleteInputHandler(WMHandlerID handlerID);
 
400
- added progress indicator widget
 
401
- Changed WMSetWindowUPosition() and WMSetWindowUSize() to
 
402
  WMSetWindowInitialPosition() and WMSetWindowInitialSize() respectively,
 
403
  for better naming conventions.
 
404
 
 
405
 
 
406
changes since wmaker 0.53.0:
 
407
............................
 
408
 
 
409
- added balloon help
 
410
- fixed a bug with setting initial path in browsers.
 
411
- added WMSetButtonImageDimsWhenDisabled()
 
412
- changed simple callback/notifications to delegate-like stuff. Affected
 
413
  widgets are:
 
414
        WMBrowser
 
415
        - WMSetBrowserFillProc() was replaced with WMSetBrowserDelegate
 
416
        - WMBrowserDidScrollNotification was replaced with a delegate callback
 
417
 
 
418
        WMTextField (not completed yet)
 
419
        The notifications will still work, but using the delegate is preferable
 
420
 
 
421
  How to convert old code to delegate callbacks:
 
422
        1 - create a variable (static or dynamic) of the type of the 
 
423
            delegate for the widget type.
 
424
        2 - Replace the notification observers with the equivalent 
 
425
            delegate callbacks. 
 
426
        3 - Put pointers to the callbacks in the delegate variable.
 
427
 
 
428
        Take a look in wfilepanel.c to see how it is used there.
 
429
 
 
430
- changed W_ViewProcedureTable to delegates
 
431
        This will only affect user created widgets. If you have a custom
 
432
        widget, you will need to update the callbacks and the declaration
 
433
        of the W_ViewProcedureTable variable to be a W_ViewDelegate,
 
434
        which is declared in WINGsP.h  To setup the delegate, assign
 
435
        the delegate variable to view->delegate.
 
436
 
 
437
- WMTextField
 
438
        Removed all the didChange notifications that were sent when the text
 
439
        was changed programmatically. Only changes made by user interaction
 
440
        will be notified now. If you need the old behaviour, send notifications
 
441
        manually when you change the text.
 
442
 
 
443
- added WMTabView
 
444
- added WMGetColorPanelColor(WMColorPanel *panel)
 
445
- made WMGetUDStringForKey() to only return a reference to the string, not a
 
446
  wstrdup()'ed copy. DO NOT FREE IT ANYMORE!
 
447
- added MultiByteText option to userdefaults file to control use of multibyte
 
448
  string drawing functions
 
449
- renamed WMCreateFont() to WMCreateFontSet()
 
450
- renamed WMCreateFontInDefaultEncoding() to WMCreateNormalFont()
 
451
- added WMCreateFont() with different semantics
 
452
 
 
453
 
 
454
changes since wmaker 0.52.0:
 
455
............................
 
456
 
 
457
- added int WMGetBrowserMaxVisibleColumns(WMBrowser *bPtr);
 
458
 
 
459
 
 
460
changes since wmaker 0.51.2:
 
461
............................
 
462
 
 
463
- added WMColorWellDidChangeNotification
 
464
- added wfindfileinarray()
 
465
- fixed bug in window title setting 
 
466
        (MANOME Tomonori <manome@itlb.te.noda.sut.ac.jp>)
 
467
 
 
468
changes since wmaker 0.51.1:
 
469
............................
 
470
 
 
471
- wusergnusteppath() will return a statically allocated string now.
 
472
 DO NOT FREE IT ANYMORE!!
 
473
 
 
474
 
 
475
 
 
476
changes since wmaker 0.51.0:
 
477
............................
 
478
 
 
479
- applied c++ compat header patch from Martynas Kunigelis <mkunigelis@alna.lt>
 
480
- added WMSetTextFieldBeveled()
 
481
- removed W_GC() : use WMColorGC() instead
 
482
- added WMCreatePixmap()
 
483
- changed WMSetTextFieldEnabled() to WMSetTextFieldEditable()
 
484
 
 
485
changes since wmaker 0.50.1:
 
486
............................
 
487
 
 
488
- fixed various bugs
 
489
- added patch from Franck Wolff <frawolff@club-internet.fr>, with
 
490
  many fixes and enhancements
 
491
- added notification queues, asynchronous notifications etc.
 
492
- added WMSetBrowserDoubleAction()
 
493
- fixed list double click action
 
494
 
 
495
changes since wmaker 0.50.2:
 
496
............................
 
497
 
 
498
- added wsetabort() - look WUtil.h
 
499
- fixed bug in WMList resize
 
500
- added notification sending when changing textfield programatically
 
501
- removed WMHideWindow()
 
502
- fixed bug in WMCloseWindow()
 
503
- added textfield selection patch
 
504
- added color panel code
 
505
- added auto name completion for the file panel
 
506
- added function to select text range, and to set cursor position in text
 
507
  fields programatically
 
508
 
 
509
changes since wmaker 0.20.3:
 
510
............................
 
511
 
 
512
- added WMSetSliderImage(), WMSetSliderKnobThickness()
 
513
- added WMGetListItemHeight()
 
514
- added WMListDidScrollNotification
 
515
- added WSetColorWellBordered()
 
516
- added hacky color dragging in colorwell
 
517
- added poll() support in WMNextEvent. WARNING: the stuff needed for
 
518
  WMAddInputHandler() is not yet implemented for the poll stuff
 
519
- added WMSetFilePanelAccessoryView(), WMGetFilePanelAccessoryView()
 
520
- added WMSetPopUpButtonEnabled()
 
521
- added WMGetLabelImage()
 
522
- autoscroll for popup button menus
 
523
- added WMDrawPixmap()
 
524
- WARNING: changed parameter list for WMListDrawProc
 
525
 
 
526
changes since wmaker 0.20.2:
 
527
............................
 
528
 
 
529
- WMSetBrowserMaxVisibleColumns() - untested
 
530
 
 
531
 
 
532
 
 
533
changes since wmaker 0.20.0:
 
534
............................
 
535
 
 
536
- added generic object field for WMListItem. This is for hanging generic
 
537
  clientdata
 
538
 
 
539
 
 
540
changes since wmaker 0.20.0:
 
541
............................
 
542
 
 
543
- changed WMGetFilePanelFile() with WMGetFilePanelFileName()
 
544
- made SavePanel
 
545
 
 
546
changes since wmaker 0.19.3:
 
547
............................
 
548
 
 
549
- added WMCreatePanelForWindow()
 
550
- added extra parent parameter for filepanel, alertpanel and inputpanel
 
551
- WMCloseWindow()
 
552
- WMChangePanelOwner()
 
553
- added WMAddInputHandler()
 
554
- change range related function arguments (WMTextField) to use WMRange
 
555
 
 
556
changes since wmaker 0.19.1:
 
557
............................
 
558
 
 
559
- added wstrappend()
 
560
- fixed bug when changing selected radio button by hand
 
561
 
 
562
changes since wmaker 0.18.1:
 
563
............................
 
564
 
 
565
- removed textHeight arg from W_PaintImageAndText
 
566
- added WMCreateWindowWithStyle()
 
567
- added WMSetWindowBaseSize() and ResizeIncrements()
 
568
- added WMSetWindowLeve()
 
569
- added WMSetWindowDocumentEdited()
 
570
- added WMSetScrollViewLineScroll(), WMSetScrollViewPageScroll()
 
571
- added WMSetWindowMiniwindowTitle()
 
572
- added WMSetWindowMiniwindowImage()
 
573
 
 
574
changes since wmaker 0.18.0:
 
575
............................
 
576
 
 
577
- added functions to get RGB components and "#rrggbb" string from WMColor.
 
578
- added function to create color from a name
 
579
- fixed bug that caused blocking until some new event arrives, even
 
580
  when there already were events in the queue
 
581
  (like having to move the pointer over window to force the window to be
 
582
  painted)
 
583
 
 
584
changes since wmaker 0.17.5:
 
585
............................
 
586
 
 
587
I don't remember everything, but here it goes:
 
588
 
 
589
- fixed some bugs in text field
 
590
- added a incomplete implementation of split view (not yet usable)
 
591
- added a slider
 
592
- changed the filepanel stuff. Each application can have only 1 file panel.
 
593
The same panel will be reused every time you call for it, unless you free it.
 
594
- changed semantics of WMCreateFont() so that it returns NULL if the requested
 
595
  font can't be loaded
 
596
- removed WMAddDestroyCallback() 
 
597
- fixed bug in WMRemovePopUpButtonItem()
 
598
- added function for user specified item height in WMList
 
599
- added WMSetPopUpButtonText(). It will set the default text in the button
 
600
  when no options are selected
 
601
- fixed bug in remove/add item in already mapped popupbuttons. Note: it is
 
602
  not good practice to change the contents of a popup button when it's
 
603
  already visible and the user has probably interacted with it.
 
604
- fixed behaviour of "radio buttons"
 
605
- WMInitializeApplication() must be the first function to be called in the
 
606
  program
 
607
- removed applicationName, argc and argv arguments from the WMCreateScree...
 
608
  functions
 
609
- WMReleaseColor(scr,color) changed to WMReleaseColor(color)
 
610
- WMPaintColorRectangle() changed to WMPaintColorSwatch()
 
611
- added various functions in font and color handling
 
612
- added WMSetButtonFont()
 
613
- changed WMCreateCommandButton() so that the buttons it creates will change
 
614
        their label when pushed
 
615
- added WMGetSystemPixmap(WMScreen *scr, int image)
 
616
- added partial I18N support
 
617
- added libPropList requirement and some related utility functions
 
618
- added a interface to prooplist, so that it works as a user defaults db
 
619
- added WMWidthOfString() (removed WMFontWidthOfString())
 
620
- added WMDrawString()
 
621
- added WMSetTextFieldSecure(WMTextField *tPtr, Bool flag)
 
622
- WMGetListItem() will dup the returned string
 
623
- removed need for ProgName being defined
 
624
- rewrote hashtable stuff and made it available for outside use
 
625
- added notification functions, with view resize notification
 
626
- added WMSetWindowMinSize() and MaxSize()
 
627
- text editing notification
 
628
- added WMSetListPosition() etc.
 
629
- added WMInsertBrowserItem()
 
630
- the above 2 functions return WMListItem*, instead of Bool
 
631
- rewrote browser
 
632
- WMGetListItem() will return WMListItem*
 
633
- removed WMGetListItems() and WMSetListItems()
 
634
- fixed focus stuff for multi-window apps
 
635
- changed all WMList function names that contained index to row