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