1 |
2009-09-16 Jens Thoms Toerring <jt@toerring.de> |
2 |
|
3 |
* lib/include/Basic.h: Removed a nonexistent color |
4 |
that had made it into the list of colors as Werner |
5 |
Heisch pointed out. |
6 |
|
7 |
2009-09-15 Jens Thoms Toerring <jt@toerring.de> |
8 |
|
9 |
* lib/events.c: general callbacks for events for user |
10 |
generated windows weren't called anymore, repaired. |
11 |
* lib/include/xpopup.h: Broken define Rouben Rostamian |
12 |
found for the fl_setpup_default_checkcolor() repaired. |
13 |
|
14 |
2009-09-14 Jens Thoms Toerring <jt@toerring.de> |
15 |
|
16 |
* lib/thumwheel.c, lib/validator.c: Fixed return |
17 |
behaviour of thumbwheel. |
18 |
|
19 |
2009-09-13 Jens Thoms Toerring <jt@toerring.de> |
20 |
|
21 |
* lib/input.c: Further problems with beep and |
22 |
input objects removed. |
23 |
|
24 |
2009-09-12 Jens Thoms Toerring <jt@toerring.de> |
25 |
|
26 |
* fdesign/sp_spinner.c: Added forgotten output to |
27 |
C file for setting colors and text size and style. |
28 |
|
29 |
* lib/input.c: Removed beep on valid input into |
30 |
FL_INT_INPUT and FL_FLOAT_INPUT objects. |
31 |
|
32 |
2009-09-11 Jens Thoms Toerring <jt@toerring.de> |
33 |
|
34 |
* lib/flcolor.c, lib/include/Basic.h: New pre-defined |
35 |
colors added as proposed and assembled by Rob Carpenter. |
36 |
|
37 |
* lib/spinner.c: Corrections to return behaviour of |
38 |
spinner objects as pointed out by Werner Heisch. |
39 |
|
40 |
2009-09-08 Jens Thoms Toerring <jt@toerring.de> |
41 |
|
42 |
* lib/input.c: Bug in copy-and-paste and found by Werner |
43 |
Heisch repaired. |
44 |
|
45 |
* lib/include/zzz.h: defines of 'TRUE' and 'FALSE' |
46 |
relaced by 'FL_TRUE' and 'FL_FALSE' to avoid problems |
47 |
for other programs that may define them on their own |
48 |
(thanks to Serge Bromow for pointing out that this |
49 |
can be a real problem). |
50 |
|
51 |
2009-09-06 Jens Thoms Toerring <jt@toerring.de> |
52 |
|
53 |
Some more bugs in fdesign, found by Werner Heisch, |
54 |
removed. Most important: bitmaps weren't drawn |
55 |
correctly. |
56 |
* lib/bitmap.c: fl_set_bitmapbutton_file() removed, |
57 |
is now an alias for fl_set_bitmap_file() |
58 |
* lib/sysdep.c: fl_now() doesn't add a trailing '\n' |
59 |
anymore |
60 |
|
61 |
2009-09-05 Jens Thoms Toerring <jt@toerring.de> |
62 |
|
63 |
Several bugs reported by Werner Heisch in fdesign fixed. |
64 |
Input of form and group names is now checked for being |
65 |
a valid C identifier. |
66 |
|
67 |
2009-09-03 Jens Thoms Toerring <jt@toerring.de> |
68 |
|
69 |
* lib/util.c: Removed function fli_get_string() |
70 |
which was just a duplication of fli_print_to_string() |
71 |
|
72 |
2009-09-01 Jens Thoms Toerring <jt@toerring.de> |
73 |
|
74 |
Tabs replaced by spaces. |
75 |
|
76 |
Repairs to fd2ps that had stopped working (output |
77 |
doesn't look too nice yet, changing that will probably |
78 |
take quite a bit of work...) |
79 |
|
80 |
2009-08-30 Jens Thoms Toerring <jt@toerring.de> |
81 |
|
82 |
Support for spinner objects built into fdesign. |
83 |
|
84 |
2009-08-28 Jens Thoms Toerring <jt@toerring.de> |
85 |
|
86 |
Dependence of form size on snap grid setting in fdesign |
87 |
removed since it led to unpleasant effects under KDE, form |
88 |
size can now be set directly via a popup window. |
89 |
|
90 |
Some more bugs with new way of reading .fd files removed. |
91 |
|
92 |
* lib/browser.c: Missing redraw of scrollbar added in |
93 |
fl_show_browser_line() (thanks to Werner Heisch for |
94 |
noticing and telling me about it), |
95 |
|
96 |
2009-08-26 Jens Thoms Toerring <jt@toerring.de> |
97 |
|
98 |
* README: updated to reflect new mailing list location |
99 |
and homepage |
100 |
|
101 |
2009-08-25 Jens Thoms Toerring <jt@toerring.de> |
102 |
|
103 |
A number of bugs in the new code for reading in .fd-Files |
104 |
pointed out by Werder Heisch have been removed. |
105 |
|
106 |
2009-08-22 Jens Thoms Toerring <jt@toerring.de> |
107 |
|
108 |
Thanks to lots of input (patches and discussions) by Werner |
109 |
Heisch the way .fd files get read in and analyzed has been |
110 |
changed to be a lot more liberal of what is accepted as well |
111 |
as spitting out reasonable error messages and warnings if |
112 |
things go awry. New files added are fdesign/fd_file_fun.c |
113 |
and fdesign/sp_util.c and lots of others have been changed. |
114 |
|
115 |
2009-08-13 Jens Thoms Toerring <jt@toerring.de> |
116 |
|
117 |
* fdesign/fd_printC.c: Some corrections/bug fixes |
118 |
* Bit of clean-up all over the place;-) |
119 |
|
120 |
2009-08-06 Jens Thoms Toerring <jt@toerring.de> |
121 |
|
122 |
* lib/Makefile.am, gl/Makefile.am, image/Makefile.am: |
123 |
Applied patch send by Rex Dieter that changes the way the |
124 |
dynamic libraries get created so that linking explicitely |
125 |
against libX11.so and ibXpm.so (and possibly others) isn't |
126 |
necessary anymore when linking against libforms.so. |
127 |
|
128 |
2009-07-12 Jens Thoms Toerring <jt@toerring.de> |
129 |
|
130 |
* lib/objects.c: Bug in convertion of string to |
131 |
shortcut characters removed |
132 |
|
133 |
2009-07-11 Jens Thoms Toerring <jt@toerring.de> |
134 |
|
135 |
* Bit of cleanup of error handling |
136 |
|
137 |
2009-07-10 Jens Thoms Toerring <jt@toerring.de> |
138 |
|
139 |
* lib/forms.c: Forms.c split into two, forms.c and |
140 |
handling.c |
141 |
|
142 |
2009-07-09 Jens Thoms Toerring <jt@toerring.de> |
143 |
|
144 |
* lib/events.c: Bug found by Werner Heisch when using |
145 |
fdesign under KDE/Gnome removed |
146 |
|
147 |
2009-07-05 Jens Thoms Toerring <jt@toerring.de> |
148 |
|
149 |
* lib/forms.c: Hack added to correct drawing of formbrowser |
150 |
objects |
151 |
* lib/input.c: Cursor was sometimes not drawn at the correct |
152 |
position |
153 |
|
154 |
2009-07-05 Jens Thoms Toerring <jt@toerring.de> |
155 |
|
156 |
* lib/tbox.c: Some adjustments to redraw of textbox |
157 |
|
158 |
2009-07-04 Jens Thoms Toerring <jt@toerring.de> |
159 |
|
160 |
* Bugs found by Werner Heisch in fdesign fixed. |
161 |
|
162 |
2009-07-03 Jens Thoms Toerring <jt@toerring.de> |
163 |
|
164 |
* Some bugs in code for drawing of folder and |
165 |
formbrowser objects repaired. |
166 |
|
167 |
* Mistakes in documentation removed. |
168 |
|
169 |
2009-07-01 Jens Thoms Toerring <jt@toerring.de> |
170 |
|
171 |
* Several bugs in fdesign removed |
172 |
|
173 |
* lib/tbox.c: Realculation of horizontal offset after |
174 |
removal of longest line fixed |
175 |
|
176 |
2009-06-29 Jens Thoms Toerring <jt@toerring.de> |
177 |
|
178 |
* Some bugs found by Werner Heisch in the new browser |
179 |
implementation corrected. |
180 |
|
181 |
* Some issues with fdesign and browsers removed. |
182 |
|
183 |
* lib/scrolbar.c: Cleanup due to compiler warning |
184 |
|
185 |
2009-06-12 Jens Thoms Toerring <jt@toerring.de> |
186 |
|
187 |
* lib/tbox.c: Some corner cases for browsers |
188 |
corrected. |
189 |
|
190 |
2009-06-10 Jens Thoms Toerring <jt@toerring.de> |
191 |
|
192 |
* lib/tbox.c: Bug in handling of new lines and |
193 |
appending to existing lines fixed to make it |
194 |
work like earlier versions. |
195 |
|
196 |
2009-06-09 Jens Thoms Toerring <jt@toerring.de> |
197 |
|
198 |
Several bug-fixes and changes all over the place to |
199 |
get everything working again. |
200 |
|
201 |
Flag '--enable-bwc-bs-hack' added to 'configure' to |
202 |
allow compliation for programs that rely on the tradi- |
203 |
tional behaviour of browsers and scrollbars, i.e. that |
204 |
they don't report changes via e.g. fl_do_forms() but |
205 |
do invoke a callback if installed. |
206 |
|
207 |
2009-06-04 Jens Thoms Toerring <jt@toerring.de> |
208 |
|
209 |
lib/tbox.c: Replacement for lib/textbox.c used in all |
210 |
browsers. |
211 |
|
212 |
2009-05-21 Jens Thoms Toerring <jt@toerring.de> |
213 |
|
214 |
Lots of changes to the event handling system. The handler |
215 |
routines for objects now are supposed to return information |
216 |
about what happend (changes, end of interaction) instead |
217 |
of just 1 or 0 (which indicated if the user application |
218 |
was to be notified or not. Using the new system makes it |
219 |
easier to use objects that consist of child objects e.g. |
220 |
when dealing with callbacks for these kinds of objects. |
221 |
|
222 |
2009-05-17 Jens Thoms Toerring <jt@toerring.de> |
223 |
|
224 |
* lib/events.c: Bug fixed that resulted in crashes when |
225 |
in the callback for an object the object itself got deleted. |
226 |
|
227 |
* lib/input.c: fl_validate_input() function added. |
228 |
|
229 |
* configure.ac, config/common.am, config/texinfo.tex, |
230 |
doc/Makefile.am: Documentation added to built system |
231 |
|
232 |
2009-05-16 Jens Thoms Toerring <jt@toerring.de> |
233 |
|
234 |
* lib/events.c: Objects consisting just of child objects |
235 |
weren't handled correctly in that they never got returned |
236 |
by fl_do_forms(). |
237 |
|
238 |
* lib/browser.c, lib/formbrowser.c, lib/scrollbar.c, |
239 |
lib/tabfolder.c: these objects now get created with a |
240 |
default callback that does nothing to keep them reported |
241 |
by fl_do_forms() (for backward compatibility reasons). |
242 |
Also quite a bit of cleanup in lib/browser.c |
243 |
|
244 |
* lib/spinner.c, lib/include/spinner.h, lib/private/pspinner.h: |
245 |
new widget added, very similar to counter object (but realized |
246 |
just using already existing objects). |
247 |
|
248 |
* lib/child.c, lib/include/Basic.h: fl_add_child() is |
249 |
am exported function now (again) since it might be |
250 |
rather useful for creating new, composite widgets. |
251 |
|
252 |
2009-05-13 Jens Thoms Toerring <jt@toerring.de> |
253 |
|
254 |
* fdesign/Makefile: Added a few include directories |
255 |
in order to allow fdesign's fd files when newly |
256 |
converted with fdesign to be compiled without |
257 |
manual changes. |
258 |
|
259 |
2009-05-08 Jens Thoms Toerring <jt@toerring.de> |
260 |
|
261 |
* lib/forms.c, lib/objects.c, lib/flinternals.h: |
262 |
Using the return key to activate a FL_RETURN_BUTTON |
263 |
object in a form with a single input object works |
264 |
again. |
265 |
|
266 |
2009-05-08 Jens Thoms Toerring <jt@toerring.de> |
267 |
|
268 |
* configure.ac: check for nanosleep too |
269 |
* lib/sysdep.c (fl_msleep): use HAVE_NONOSLEEP |
270 |
|
271 |
2009-05-06 Jens Thoms Toerring <jt@toerring.de> |
272 |
|
273 |
* lib/form.c: Changed return type of the functions |
274 |
fl_show_form(), fl_prepare_form_window() and |
275 |
fl_show_form_window() to 'Window' to reflect what |
276 |
was (mostly) said in the documentation. That also |
277 |
required including X11 header files already in |
278 |
lib/include/Basic.h instead of lib/include/XBasic.h. |
279 |
fl_prepare_form_window() now returns 'None' on |
280 |
failure instead of -1. Also the type of the 'window' |
281 |
member of the FL_FORM structure is now 'Window' |
282 |
instead of 'unsigned long' and that of 'icon_pixmap' |
283 |
and 'icon_mask' is 'Pixmap'. |
284 |
|
285 |
FL_TRIANGLE_* macros renamed to FLI_TRIANGLE_* and |
286 |
moved to lib/flinternal.h. |
287 |
|
288 |
2009-05-06 Jens Thoms Toerring <jt@toerring.de> |
289 |
|
290 |
* Just a bit of code cleanup in fdesign and |
291 |
minor changes of the documentation. |
292 |
|
293 |
2009-05-04 Jens Thoms Toerring <jt@toerring.de> |
294 |
|
295 |
* lib/signal.c: in handle_signal() a caught signal |
296 |
could lead to an infinite loop when the handling |
297 |
function did something that put it back into the |
298 |
main loop. |
299 |
|
300 |
* Some improvements of teh documentation |
301 |
|
302 |
2009-05-03 Jens Thoms Toerring <jt@toerring.de> |
303 |
|
304 |
* fdesign/fd_attribs.c: Bug that kept composite |
305 |
objects from being selected after type change in |
306 |
fdesign removed. Length of labels is now unlimited. |
307 |
|
308 |
2009-05-02 Jens Thoms Toerring <jt@toerring.de> |
309 |
|
310 |
* Some missing figures added to documentation. |
311 |
|
312 |
2009-04-16 Jens Thoms Toerring <jt@toerring.de> |
313 |
|
314 |
Git repository added. |
315 |
|
316 |
2009-03-27 Jens Thoms Toerring <jt@toerring.de> |
317 |
|
318 |
* fdesign/fd_main.c, fdesign/fd_printC.c: As Rob |
319 |
Carpenter noticed <glcanvas.h> doesn't get inclued |
320 |
in the files generated by fdesign when a glcanvas |
321 |
object exists. Changed that so that both <forms.h> |
322 |
and <glcanvas.h> (but only if required) get included |
323 |
in the header file created by fdesign. |
324 |
|
325 |
2009-01-26 Jens Thoms Toerring <jt@toerring.de> |
326 |
|
327 |
* lib/include/AAA.h.in: Contact address etc. corrected. |
328 |
|
329 |
2009-01-25 Jens Thoms Toerring <jt@toerring.de> |
330 |
|
331 |
* doc/images/: Some new figures added. |
332 |
|
333 |
2009-01-21 Jens Thoms Toerring <jt@toerring.de> |
334 |
|
335 |
* fdesign/fd_spec.c, fdesign/fd_super.c: Removed lots of |
336 |
potential buffer overruns and restriction on number of |
337 |
lines/entries that could be used for browser, menu and |
338 |
choice objects. |
339 |
|
340 |
* lib/utils: Added function for reading in lines of |
341 |
arbitrary length from a file and a function with similar |
342 |
functionality as GNUs asprintf(). |
343 |
|
344 |
2009-01-16 Jens Thoms Toerring <jt@toerring.de> |
345 |
|
346 |
* image/image_disp.c: Tried to correct display of images |
347 |
on machines where the COMPOSITE extension is supported. |
348 |
As Luis Balona noticed on these systems images dispayed |
349 |
with the itest demo program appear half-transparent. |
350 |
Probably not solved but looks a bit better now... |
351 |
|
352 |
* image/image_jpeg.c: Bug in identification of JPEG images |
353 |
corrected. |
354 |
|
355 |
2009-01-11 Jens Thoms Toerring <jt@toerring.de> |
356 |
|
357 |
* lib/nmenu.c, lib/include/nmenu.h, lib/private/pnmenu.h: |
358 |
New type of menus based on the new popup code. |
359 |
|
360 |
* lib/private/pselect.h: Small correction to get the knob |
361 |
of browser sliders drawn correctly. |
362 |
|
363 |
2009-01-03 Jens Thoms Toerring <jt@toerring.de> |
364 |
|
365 |
* lib/select.c: Corrections and additions of new functions |
366 |
for select objects. |
367 |
|
368 |
* demos: Changes to a number of demo programs to use select |
369 |
instead of choice objects. |
370 |
|
371 |
* doc: Updates of some of the files of the documentation. |
372 |
|
373 |
2009-01-02 Jens Thoms Toerring <jt@toerring.de> |
374 |
|
375 |
* lib/select.c, lib/include/select.h, lib/private/pselect.h: |
376 |
Files for the new select object added that is supposed to |
377 |
replace the old choice object and is based on the new popup |
378 |
code recently added. |
379 |
|
380 |
* doc/part3_choice_objects.texi, doc/part3_deprecated_objects.texi: |
381 |
Documentation of choice objects moved from that for choice |
382 |
objects to that for deprecated objects and documenttation for |
383 |
the new select object was added to that for choice objects. |
384 |
|
385 |
2008-12-28 Jens Thoms Toerring <jt@toerring.de> |
386 |
|
387 |
* fdesign/fd_printC.c: Applied a patch Werner Heisch send |
388 |
in for a bug that resulted in the label alignment getting |
389 |
set incorrectly (always ended up as FL_ALIGN_CENTER). |
390 |
|
391 |
2008-12-27 Jens Thoms Toerring <jt@toerring.de> |
392 |
|
393 |
* doc: Reassembly of documentation in texinfo format more |
394 |
or less complete. Still missing are most of the figures. |
395 |
|
396 |
* lib/include/popup.h: File has been renamed xpopup.h. |
397 |
|
398 |
* lib/popup.c, lib/include/popup.h, demo/new_popup.c: New |
399 |
implementation of popups, supposed to replace old Xpopups. |
400 |
Still missing: reimplementation of menu and choice objects |
401 |
based on the new Popup class. |
402 |
|
403 |
* lib/forms.c: fl_end_group() now returns void instead of |
404 |
a pseudo-object that never should be used by the user. |
405 |
|
406 |
2008-12-10 Jens Thoms Toerring <jt@toerring.de> |
407 |
|
408 |
* lib/xpopup.c: Found that FL_PUP_GREY and FL_PUP_INACTIVE |
409 |
are actually the same, so removed all uses of FL_PUP_INACTIVE. |
410 |
|
411 |
2008-12-01 Jens Thoms Toerring <jt@toerring.de> |
412 |
|
413 |
* doc: New directory with first parts of rewrite of docu- |
414 |
mentation in texi format. |
415 |
|
416 |
* lib/counter.c: Rob Carpenter noticed that it sometimes |
417 |
can be difficult to use a counter to just change it by a |
418 |
single step. Thus, according to his suggstions, the first |
419 |
step now takes longer and the time between following |
420 |
steps gets smaller and smaller until a final minimum |
421 |
timeout is reached (initial timeout is 600 ms and final |
422 |
is 50 ms per default). The fl_get_counter_repeat() and |
423 |
fl_set_counter_repeat() are now for the initial timeout |
424 |
and the final timeout can be controlled vianew functions |
425 |
fl_set_counter_min_repeat()/fl_get_counter_min_repeat(). |
426 |
To switch back to the old behaviour use the functions |
427 |
fl_set_counter_speedup()/fl_get_counter_speedup() and |
428 |
set the initial and final rate to the same value. If |
429 |
speed-up is switched off but initial and final timeouts |
430 |
differ the initial timeout is used for the first step and |
431 |
the final timeout for all following steps. |
432 |
|
433 |
* lib/choice.c: Choices didn't react immediately to a click |
434 |
with the middle or left mouse button. Now the selected entry |
435 |
will change immediately and continue to change slowly when |
436 |
the mouse button is kept pressed down. |
437 |
|
438 |
* fdesign/fd_forms.c: Rob Carpenter and Werner Heisch found |
439 |
that while loading .fd file a spurious "Failure to read file" |
440 |
warning gets emitted. |
441 |
|
442 |
2008-11-22 Jens Thoms Toerring <jt@toerring.de> |
443 |
|
444 |
* lib/appwin.c, lib/events.c: Small changes to clean |
445 |
up a few things that did look a bit confusing. |
446 |
|
447 |
2008-11-11 Jens Thoms Toerring <jt@toerring.de> |
448 |
|
449 |
Cosmetic changes to a number of files to pacify the |
450 |
newest gcc/libc combination about issues with disre- |
451 |
garded return values of standard input/output func- |
452 |
tions (fgets(), fread(), fwrite(), sscanf() etc.) |
453 |
|
454 |
2008-11-10 Jens Thoms Toerring <jt@toerring.de> |
455 |
|
456 |
* lib/textbox.c: Another bug Rob Carpenter found: when |
457 |
trying to scroll in an empty browser the program crashed |
458 |
with a segmentation fault due to miscalculation of the |
459 |
number of the topmost line of text. |
460 |
|
461 |
2008-11-04 Jens Thoms Toerring <jt@toerring.de> |
462 |
|
463 |
* lib/objects.c: Rob Carpenter pointed out another bug |
464 |
that resulted in extremely slow redraws of objects and |
465 |
was due to a off-by-one error in the calculation of the |
466 |
bounding box of objects (which in turn made non-overlap- |
467 |
ping objects appear to overlap. |
468 |
|
469 |
2008-10-27 Jens Thoms Toerring <jt@toerring.de> |
470 |
|
471 |
* lib/button.c: Bug in function for selecting which |
472 |
mouse buttons a button reacts to fixed. |
473 |
|
474 |
2008-10-20 Jens Thoms Toerring <jt@toerring.de> |
475 |
|
476 |
* lib/forms.c: Added function fl_form_is_iconified() |
477 |
that returns if a forms window is in iconfied state. |
478 |
Thanks to Serge Bromow for propose a function like |
479 |
that. |
480 |
|
481 |
2008-10-18 Jens Thoms Toerring <jt@toerring.de> |
482 |
|
483 |
* lib/forms.c, lib/tooltip.c: Bug removed that |
484 |
led to multiple deletes of tooltip form in the |
485 |
fl_finish() function. |
486 |
|
487 |
2008-09-24 Jens Thoms Toerring <jt@toerring.de> |
488 |
|
489 |
* lib/clock.c: FL_POINT array in draw_hand() was |
490 |
one element too short. |
491 |
|
492 |
2008-09-22 Jens Thoms Toerring <jt@toerring.de> |
493 |
|
494 |
* Further code cleanup |
495 |
* Update of man page |
496 |
|
497 |
2008-09-21 Jens Thoms Toerring <jt@toerring.de> |
498 |
|
499 |
* Bits of code clean-up in several places. |
500 |
|
501 |
2008-09-17 Jens Thoms Toerring <jt@toerring.de> |
502 |
|
503 |
* lib/objects.c: Added removal of tooltip when |
504 |
object gets deleted. |
505 |
|
506 |
2008-09-16 Jens Thoms Toerring <jt@toerring.de> |
507 |
|
508 |
* lib/win.c, lib/forms.c: Code for showing a form |
509 |
was changed. The previous code made the assumption |
510 |
that all window managers would reparent the form |
511 |
window withing a window with the decorations, but |
512 |
this is not necessary the case (e.g. metacity, the |
513 |
default window manager of Gnome). This led to |
514 |
inconsistencies in the positioning of forms with |
515 |
different window managers. Also positioning forms |
516 |
with negative values for x and y (to position a |
517 |
window with its right or bottom border relative |
518 |
to the right or bottom of the screen didn't work |
519 |
correctly. |
520 |
|
521 |
2008-08-04 Jens Thoms Toerring <jt@toerring.de> |
522 |
|
523 |
* lib/goodie_choice.c: Bug in setting the buttons |
524 |
texts removed. |
525 |
|
526 |
2008-08-03 Jens Thoms Toerring <jt@toerring.de> |
527 |
|
528 |
* lib/forms.c, lib/objects.c: Removed bug pointed out |
529 |
by J. P. Mellor that allowed selecting and editing |
530 |
input objects even when the were deactivated. |
531 |
|
532 |
* fdesign/fd_attribs.c: Removed a bug pointed out |
533 |
by Werner Heisch that crashed fdesign if the type |
534 |
of an object was changed. |
535 |
|
536 |
* fdesign/fd_attribs.c: Bug in fdesign fixed that |
537 |
led to crash when the type of a composite object |
538 |
was changed and then Restore or Cancel was clicked. |
539 |
|
540 |
2008-07-05 Jens Thoms Toerring <jt@toerring.de> |
541 |
|
542 |
* lib/menu.c: Thanks to a lot of input from Jason |
543 |
Cipriani several changes were made concerning the |
544 |
ability to set menu item IDs and callback functions |
545 |
for menu items. This includes slight changes to the |
546 |
prototype of the three functions fl_set_menu(), |
547 |
fl_addto_menu() and fl_replace_menu_item(). All of |
548 |
them now accept in addition to their traditional |
549 |
arguments an unspecified number of extra arguments. |
550 |
Also tow new functions were added: |
551 |
|
552 |
fl_set_menu_item_callback( ) |
553 |
fl_set_menu_item_id( ) |
554 |
|
555 |
Please see the file 'New_Features.txt' for a more |
556 |
complete description. |
557 |
|
558 |
* fdesign: Support for setting menu item IDs and |
559 |
menu item callbacks has been added. |
560 |
|
561 |
2008-07-03 Jens Thoms Toerring <jt@toerring.de> |
562 |
|
563 |
* lib/forms.c: for radio buttons an associated |
564 |
callback function wasn't called on a click on an |
565 |
already pressed radio button as Luis Balona found |
566 |
out. Since this isn't the bahaviour of older |
567 |
XForms version this could lead to problems for |
568 |
applictaions that expect the old behaviour, so |
569 |
the behaviour was switched back to the old one. |
570 |
|
571 |
* config/: on "make maintainer-mode the scripts |
572 |
install-sh, missing and mkinstalldirs got deleted. |
573 |
While the first two were generated automatically |
574 |
during the autoconf process the last wasn't which |
575 |
led to a warning when running configure. Thus the |
576 |
'mkinstalldirs' (from automake 1.10) was added. |
577 |
|
578 |
2008-07-02 Jens Thoms Toerring <jt@toerring.de> |
579 |
|
580 |
* lib/xpopup.c, lib/menu.c: Tried to fix a bug |
581 |
resulting in artefacts with menus on some machines |
582 |
as Luis Balona pointed out. |
583 |
|
584 |
2008-06-30 Jens Thoms Toerring <jt@toerring.de> |
585 |
|
586 |
* lib/objects.c: Removed a bug in the calculation |
587 |
of size of the bounding of an object. Thanks to |
588 |
Rob Carpenter for sending me example code that |
589 |
did show the problem nicely. |
590 |
|
591 |
* lib/forms.c, lib/objects.c: Added some code to |
592 |
speed up freeing of forms (overlap of objects does |
593 |
not get recalculated anymore, which could take a |
594 |
considerable time for forms with many objects). |
595 |
|
596 |
2008-06-29 Jens Thoms Toerring <jt@toerring.de> |
597 |
|
598 |
* lib/object.c, lib/button.c, lib/xpopup.c: Fixed |
599 |
two bugs found by Luis Balona that under certain |
600 |
circumstances led to a segmentation fault. |
601 |
|
602 |
* config/ltmain.sh, config/libtool.m4, |
603 |
config/config.guess, config/config.sub: |
604 |
Updated libtool files from version 1.4.3 to 1.5.26 |
605 |
since Raphael Straub, the maintainer of the MacPorts |
606 |
port of XForms, pointed out that compilation of |
607 |
fdesign on Mac OSX failed due to a problem with the |
608 |
old libtool version. |
609 |
|
610 |
2008-06-22 Jens Thoms Toerring <jt@toerring.de> |
611 |
|
612 |
* lib/xsupport.c: Code cleanup. |
613 |
|
614 |
* lib/pixmap.c: Changed code for drawing a pixmap |
615 |
to take the current clipping setting unto account. |
616 |
Many thanks To Werner Heisch for explaining the |
617 |
problem with a lot of screentshots and several |
618 |
example programs that did show what went wrong! |
619 |
|
620 |
* lib/bitmap.c: Made bitmap buttons behave like |
621 |
normal buttons, just with a bitmap drawn on top |
622 |
of it. The foreground color of the bitmap is |
623 |
the same as the label color (and never changes). |
624 |
Also changed the code for drawing a bitmap to |
625 |
take account fo the current clipping setting. |
626 |
|
627 |
2008-06-17 Jens Thoms Toerring <jt@toerring.de> |
628 |
|
629 |
* lib/pixmap.c: Made pixmap buttons behave like |
630 |
normal buttons, just with a pixmap drawn on top |
631 |
of it (which may get changed when the button |
632 |
receives or loses the focus). |
633 |
|
634 |
* lib/objects.c: Made some changes to the redraw |
635 |
of objects when a "lower" object gets redrawn |
636 |
and thus an object on top of it also needs to be |
637 |
redrawn. |
638 |
|
639 |
2008-05-31 Jens Thoms Toerring <jt@toerring.de> |
640 |
|
641 |
* lib/pixmap.c: As Werner Heinsch pointed out |
642 |
the display of partially transparent pixmaps |
643 |
was broken due to a bug I had introduced when |
644 |
cleaning up the code for redraw. Moreover, |
645 |
already in 1.0.90 the pixmap of a pixmap button |
646 |
was exchanged for the focus pixmap when the |
647 |
button was pressed, which wasn't what the |
648 |
documentation said. Code changed to avoid that. |
649 |
|
650 |
* lib/objects.c: The code for determining if |
651 |
two objects intersect was broken and reported |
652 |
all objects to intersect, which then resulted |
653 |
in a lot of useless redraws. Hopefully fixed. |
654 |
|
655 |
2008-05-24 Jens Thoms Toerring <jt@toerring.de> |
656 |
|
657 |
* Got rid of some compiler warnings removed. |
658 |
|
659 |
* lib/fldraw.c: As Andrea Scopece pointed out |
660 |
colors of box borders weren't correct and the |
661 |
shadow wasn't drawn for for shadow boxes with |
662 |
a border width of 1 or -1. Added his proposed |
663 |
patches. |
664 |
|
665 |
2008-05-17 Jens Thoms Toerring <jt@toerring.de> |
666 |
|
667 |
* lib/goodies.c, lib/goodie_*.c: Some code cleanup |
668 |
and made sure that memory allocated gets released. |
669 |
|
670 |
2008-05-16 Jens Thoms Toerring <jt@toerring.de> |
671 |
|
672 |
* lib/objects.c: Removed a bug that has been |
673 |
pointed out by Werner Heisch with a small demo |
674 |
program: if an object is partially or even fully |
675 |
hidden by another object and gets redrawn it got |
676 |
drawn above the object it was supposed to be |
677 |
(more or less) hidden by, thus obscuring the |
678 |
"upper" object. |
679 |
|
680 |
* lib/pixmap.c: It could happen that parts of a |
681 |
pixmap got drawn outside of the object that it |
682 |
belongs to. That in turn could mess up redrawing |
683 |
(e.g. if the pixmap object got hidden). Thus now |
684 |
only that part of a pixmap that fits inside the |
685 |
object gets drawn. |
686 |
|
687 |
2008-05-15 Jens Thoms Toerring <jt@toerring.de> |
688 |
|
689 |
* lib/textbox.c: The functions fl_addto_browser() |
690 |
and fl_addto_browser_chars() didn't worlk correctly |
691 |
anymore. When lines where appended the browser |
692 |
wasn't shifted to display the new line. Thanks to |
693 |
Werner Heisch for pointing out the problem. |
694 |
|
695 |
2008-05-12 Jens Thoms Toerring <jt@toerring.de> |
696 |
|
697 |
* lib/goodie_alert.c: Removed restriction on the |
698 |
maximum length of the alert message. |
699 |
|
700 |
Added new function |
701 |
|
702 |
void |
703 |
fl_show_alert2( int c, |
704 |
const char * fmt, |
705 |
... ) |
706 |
|
707 |
The first argument is the same as the last of |
708 |
fl_show_alert(), indicating if the alert box is to be |
709 |
centered on the screen. The second one is a printf()- |
710 |
like format string, followed by as many further |
711 |
arguments as there are format specifiers in the 'fmt' |
712 |
argument. The title and the alert message are taken |
713 |
from the resulting string, where the first form-feed |
714 |
character ('\f') embedded in the string is used as the |
715 |
separator between the title and the message. |
716 |
|
717 |
2008-05-10 Jens Thoms Toerring <jt@toerring.de> |
718 |
|
719 |
* lib/menu.c: Changed the default font style of |
720 |
menus from FL_BOLD_STYLE to FL_NORMAL_STYLE and |
721 |
menu entries from FL_BOLDITALIC_STYLE also to |
722 |
FL_NORMAL_STYLE. |
723 |
|
724 |
* lib/xpopup.c: Changed the default font style |
725 |
of both popup entries as well as the title from |
726 |
FL_BOLDITALIC_STYLE to FL_NORMAL_STYLE. |
727 |
|
728 |
* lib/flcolor.c: Made the default background |
729 |
color a bit lighter. |
730 |
|
731 |
2008-05-09 Jens Thoms Toerring <jt@toerring.de> |
732 |
|
733 |
* lib/objects.c: Removed bug that kept canvases |
734 |
from being hidden and tabfolders from being |
735 |
re-shown correctly. This was especially annoying |
736 |
with fdesign as Rob Carpenter pointed out. |
737 |
|
738 |
* lib/forms.c: Added a new function |
739 |
|
740 |
int |
741 |
fl_get_decoration_sizes( FL_FORM * form, |
742 |
int * top, |
743 |
int * right, |
744 |
int * bottom, |
745 |
int * left ); |
746 |
|
747 |
which returns the widths of the additional |
748 |
decorations the window manager puts around |
749 |
a forms window. This function can be useful |
750 |
if e.g. one wants to store the position of a |
751 |
window in a file and use the position the |
752 |
next time the program is started. If one |
753 |
stores the forms position and uses that to |
754 |
place the window it will appear to be shifted |
755 |
by the size of the top and left decoration. |
756 |
So instead storing the forms position one has |
757 |
to correct it for the decoration sizes. |
758 |
|
759 |
* everywhere: further clean up (getting internal |
760 |
stuff separated from stuff that belongs to API) |
761 |
|
762 |
2008-05-08 Jens Thoms Toerring <jt@toerring.de> |
763 |
|
764 |
* lib.objects.c, lib/childs.c: Rewrite of the |
765 |
functions for hidding an object. Some adjustments |
766 |
to the code for freeing objects to set the focus |
767 |
correctly. |
768 |
|
769 |
* lib/flresource.c: Changed the name of the option |
770 |
to set the debug level from 'debug' to 'fldebug' |
771 |
since it's too likely that a program using XForms |
772 |
also has a 'debug' option which would get over- |
773 |
written by XForms option. |
774 |
|
775 |
Also added a 'flhelp' option that outputs the options |
776 |
that XForms accepts and then calls exit(1). Thanks to |
777 |
Andrea Scopece for contributing this. |
778 |
|
779 |
2008-05-07 Jens Thoms Toerring <jt@toerring.de> |
780 |
|
781 |
* lib/objects.c, lib/child.c: Handling of child |
782 |
objects corrected - valgrind was reporting an |
783 |
error with the old code (access to already re- |
784 |
leased memory) and the code was rather buggy |
785 |
and inconsistent anyway. |
786 |
|
787 |
* lib/xpopup.c: Changed a XFhlush() to XSync() |
788 |
after a popup was opened - without it an Map- |
789 |
Notify was sometimes passed back to the user |
790 |
program (happened due to a fix to a different |
791 |
bug in lib/events.c). |
792 |
|
793 |
* fdesign: Tried to make the fdesign GUI look a |
794 |
bit nicer (thinner borders etc.). Some changes to |
795 |
generated output files (format, call of fl_free() |
796 |
on the different fdui's at the end of the main() |
797 |
function etc.). |
798 |
|
799 |
2008-05-05 Jens Thoms Toerring <jt@toerring.de> |
800 |
|
801 |
* further clean-up of header files and renaming |
802 |
of functions and macros usied only internally. |
803 |
|
804 |
2008-05-04 Jens Thoms Toerring <jt@toerring.de> |
805 |
|
806 |
* fdesign/fd_forms.c: Removed limit on number of |
807 |
forms that can be created or read from a file. Few |
808 |
changes to error handling. |
809 |
|
810 |
* fdesign/fd_control.c: Removed limit on number of |
811 |
objects in a form that can be dealt with. |
812 |
|
813 |
* fdesign/fd_groups.c: Removed limit on number of |
814 |
groups that can be dealt with. |
815 |
|
816 |
* fdesign/fd/ui_theforms.fd: Changed browser for |
817 |
groups to be a multi instead of hold browser. |
818 |
|
819 |
* lib/events.c: Bug I had ontroduced in function |
820 |
fl_handle_event_callbacks() repaired. Thanks to |
821 |
Andrea Scopece for pointing out the problem. |
822 |
|
823 |
* everywhere: started attempt to distinguish clearly |
824 |
between functions, variables, and macros belonging to |
825 |
the API and those only used internally to the library |
826 |
by having API names start with 'fl_' (or 'FL_') while |
827 |
internal names start with 'fli_' (or FLI_'). Also |
828 |
removed doubly declared or non-existent functions |
829 |
in lib/flinternal.h. |
830 |
|
831 |
2008-05-01 Jens Thoms Toerring <jt@toerring.de> |
832 |
|
833 |
* lib/goodies_msg.c: New function fl_show_msg() |
834 |
now works. |
835 |
|
836 |
2008-04-30 Jens Thoms Toerring <jt@toerring.de> |
837 |
|
838 |
* lib/goodie_msg.c: Added function |
839 |
|
840 |
void fl_show_msg( const char * fmt, ... ) |
841 |
|
842 |
The first argument is a printf-like format string, |
843 |
followed by as many arguments as required by the |
844 |
format specifiers in the format string. This simplfies |
845 |
outputting freely formatted messages. |
846 |
|
847 |
Changed fl_show_message() to avoid an upper limit |
848 |
of 2048 characters on the total length of the three |
849 |
strings passed to it. |
850 |
|
851 |
Added #defines for fl_hide_messages and fl_hide_msg - |
852 |
they are just alternative names for fl_hide_message(). |
853 |
|
854 |
2008-04-29 Jens Thoms Toerring <jt@toerring.de> |
855 |
|
856 |
* lib/fselect.c: If a callback for a file selector is |
857 |
installed the prompt line and the input field aren't |
858 |
shown anymore. As Andrea Scopece pointed out the input |
859 |
field can't be used at all for file selectors with a |
860 |
callback (only a double click in the browser works) |
861 |
so it doesn't make sense to show it. |
862 |
|
863 |
* lib/n2a.c: This file isn't needed anymore - the only |
864 |
of its functions used at all, fl_itoa(), was used in only |
865 |
a single place (lib/errmsg.c) and got replaced by sprintf(). |
866 |
|
867 |
* image/image_proc.c: Bug fixed in flimage_tint() that led |
868 |
to writes past the end of an array. |
869 |
|
870 |
2008-04-28 Jens Thoms Toerring <jt@toerring.de> |
871 |
|
872 |
* lib/forms.c: Jumping backwards with Shift-<TAB> |
873 |
through a set of input objects now works even if |
874 |
there are non-input objects in between. |
875 |
|
876 |
* demos/browserop.c: Bug removed that only surfaced |
877 |
now since clicking onto a button makes an input |
878 |
object lose the focus. |
879 |
|
880 |
* lib/canvas.c, lib/forms.c: On hiding a form it was |
881 |
forgotten to unmap the windows of canvases belonging |
882 |
to that form and to reset the ID of these windows. |
883 |
Resulted in an XError on unhiding the form. Thanks |
884 |
to Andrea Scopece for finding this bug. |
885 |
|
886 |
2008-04-27 Jens Thoms Toerring <jt@toerring.de> |
887 |
|
888 |
* lib/input.c: Correct leap year handling in date input |
889 |
validator. Multi-line input field don't receive a <TAB> |
890 |
anymore (which never did work anyway). |
891 |
|
892 |
* lib/forms.c: <TAB> can now also be used to move the |
893 |
focus out of a multi-line input field and into the next |
894 |
input field. |
895 |
|
896 |
* lib/version.c: The version output now contains the |
897 |
full copyright information, not just the first three |
898 |
lines. |
899 |
|
900 |
2008-04-26 Jens Thoms Toerring <jt@toerring.de> |
901 |
|
902 |
* lib/flresource.c: Library version information wasn't |
903 |
output when the '-flversion' option was given. Repaired |
904 |
by a patch Andrea Scopece send. |
905 |
|
906 |
* lib/forms.c: Scrollbars had been extempt from resizing |
907 |
due to the wrong assumption that they always would be |
908 |
childs of a composite object, which isn't the case. |
909 |
Thanks to Andrea Scopece for finding this problem. |
910 |
|
911 |
* lib/scrollbar.c: Horizontal scrollbars now only get |
912 |
resized in x-direction per default, verticall ones in |
913 |
y-direction only. |
914 |
|
915 |
2008-04-22 Jens Thoms Toerring <jt@toerring.de> |
916 |
|
917 |
* lib/async_io.c: Removed a bug pointed out by Andrea |
918 |
Scopece that resulted in a segmentation fault in the |
919 |
'demo' program. This also needed some changes in the |
920 |
files lib/flresource.c and lib/flinternal.h (where |
921 |
also all remains from be.c were removed). |
922 |
|
923 |
2008-04-20 Jens Thoms Toerring <jt@toerring.de> |
924 |
|
925 |
* lib/flresource.c: Removed setting of the machines |
926 |
locale setting as default for the program. This |
927 |
change had already been discussed by Jean-Marc and |
928 |
Angus back in 2004 but never actually done. |
929 |
|
930 |
* lib/fselect.c: Programs doesn't crash anymore when |
931 |
fl_set_directory() gets passed a NULL pointer. |
932 |
|
933 |
* lib/buttons.c: Bug repaired that kept buttons from |
934 |
becoming highlighted when the mouse was moved nto them |
935 |
(and vice versa). |
936 |
|
937 |
* lib/formbrowser.c: Changed the handling of the scroll- |
938 |
bars to hopefully make it work correctly even when the |
939 |
form gets resized. |
940 |
|
941 |
2008-04-13 Jens Thoms Toerring <jt@toerring.de> |
942 |
|
943 |
* fdesign/fd/*.c, fdesign/spec/*.c: Replaced |
944 |
'#include "forms.h"' with '#include "include/forms.h" |
945 |
to avoid compilation problems Peter Galbraith pointed |
946 |
out. |
947 |
|
948 |
* fdesign/fd_printC.c: In created C files we now have |
949 |
'#include <forms.h>' instead of '#include "forms.h"'. |
950 |
|
951 |
2008-04-10 Jens Thoms Toerring <jt@toerring.de> |
952 |
|
953 |
* lib/buttons.c: Removed code that enforced on of a |
954 |
set of radio buttons to be set - thus led to problems |
955 |
for some older applications. |
956 |
|
957 |
Also emoved restriction that buttons only react to |
958 |
a click with the left mouse button per default. |
959 |
Instead added two new public functions |
960 |
fl_set_button_mouse_buttons() |
961 |
fl_get_button_mouse_buttons() |
962 |
that allow to set and query the mouse buttons a |
963 |
button will react to. dfault is to react to all |
964 |
mouse buttons. |
965 |
|
966 |
* fdesign/sp_buttons.c, fdesign/fd_spec.c: Added |
967 |
support for setting the mouse buttons a button |
968 |
reacts to via fdesign (click the "Spec" tab rider |
969 |
in the attributes window). |
970 |
|
971 |
* fdesign/fd_main.c: Added option '-xforms-version' |
972 |
to print out the version of the library being used. |
973 |
|
974 |
* lib/tabfolder.c: All memory now gets released on |
975 |
call of fl_finish(). |
976 |
|
977 |
* lib/symbols.c: Unlimited number of symbols can be |
978 |
created without restrictions on the name length. |
979 |
Memory allocated for symbols gets deallocated in |
980 |
fl_finish(). |
981 |
|
982 |
* lib/flresource.c: Array allocated for copy of |
983 |
command line arguments was one element too short |
984 |
which led to crashes when using lots of command |
985 |
line arguments. Added function to free this memory |
986 |
in fl_finish(). |
987 |
|
988 |
* fdesign/fd_printC.c: Output wasn't correct ANSI-C89 |
989 |
when the pre_form_output() function was called. |
990 |
|
991 |
* fdesign/fd/*.[ch], fdesign/spec/*.[ch]: Newly |
992 |
generated using the newest fdesign version. |
993 |
|
994 |
2008-03-27 Jens Thoms Toerring <jt@toerring.de> |
995 |
|
996 |
* lib/button.c: Most buttons now again react only |
997 |
to the release of the left mouse button, I had |
998 |
introduced a bug that broke this behaviour. |
999 |
|
1000 |
* fdesign/sp_*.c: Some cosmetic correction to the |
1001 |
output format of the files generated by fdesign. |
1002 |
|
1003 |
2008-03-26 Jens Thoms Toerring <jt@toerring.de> |
1004 |
|
1005 |
* lib/forms.c: Clicking on a "pushable" object now |
1006 |
leads to an input object currently having the focus |
1007 |
lose the focus, thus enforcing it to report changes. |
1008 |
Until now this only happened if the object that was |
1009 |
clicked on was another input object. |
1010 |
|
1011 |
A FocusOut event now takes away keyboard input from |
1012 |
input objects on the form in the window that lost |
1013 |
the focus, a FocusIn event restores it. |
1014 |
|
1015 |
2008-03-25 Jens Thoms Toerring <jt@toerring.de> |
1016 |
|
1017 |
* lib/forms.c: Further restructuring of event handling. |
1018 |
All memory for objects of a form now (hopefully) gets |
1019 |
deallocated on a call of fl_free_form() and a call of |
1020 |
fl_finish() deallocates all memory used for forms and |
1021 |
their objects, removes signal callbacks and deletes |
1022 |
timers. The only exception is memory for tabfolder, |
1023 |
I haven't yet understood the code for that... |
1024 |
|
1025 |
* lib/objects.c: Object pre- and posthandlers aren't |
1026 |
called anymore on FL_FREEMEM events (the object or |
1027 |
some of its childs probably doesn't exist anymore |
1028 |
in that kind of situation). |
1029 |
|
1030 |
* lib/timeout.c: Changed the code a bit and, in combi- |
1031 |
nation with changes in lib/forms.c, got the precision |
1032 |
of timeouts to be a bit higher (haven't seen it being |
1033 |
off more than 5 ms on my machine under light load) and |
1034 |
made sure they never expire too early (as promised in |
1035 |
the manual). Added a function to remove all timeouts, |
1036 |
to be be called from fl_finish(). |
1037 |
|
1038 |
* lib/be.c: File isn't used anymore, the list of memory |
1039 |
to be allocated never was used anyway if no idle handler |
1040 |
was installed and it also didn't do the right thing. No |
1041 |
calls to fl_addto_freelist() and fl_free_freelist() are |
1042 |
left in XForms. |
1043 |
|
1044 |
* lib/include/Basic.h: FL_MOTION has come back, what |
1045 |
I should have thrown out was FL_MOUSE. FL_MOUSE is |
1046 |
still available for backward compatibility but isn't |
1047 |
used in the code anymore - FL_UPDATE is the new name |
1048 |
(in the object structure the 'want_update' member must |
1049 |
be set to request this type of event - can be switched |
1050 |
on and off at any time). |
1051 |
|
1052 |
* lib/slider.c: Changed the code for sliders (and |
1053 |
thereby scrollbars) quite a bit - it was much too |
1054 |
complicated (unfortunately still is:-( and didn't |
1055 |
always work correctly. Scrollbars now react to |
1056 |
scroll wheel mouse the same way a textbrowser does. |
1057 |
|
1058 |
* lib/signal: On system that support it sigaction() |
1059 |
instead of signal() is used now. Added a function |
1060 |
to remove all signal handlers, to be used from |
1061 |
fl_finish(). |
1062 |
|
1063 |
* fdesign/ps_printC.c: Replaced the use of fl_calloc() |
1064 |
by fl_malloc() when writing out C files - there's no |
1065 |
good reason to spend time on zeroing out the memory. |
1066 |
|
1067 |
2008-03-20 Jens Thoms Toerring <jt@toerring.de> |
1068 |
|
1069 |
* textbox.c: Textboxes didn't get regular update |
1070 |
events that are needed for scrolling with the |
1071 |
mouse pressed down just below or above the box. |
1072 |
They also did only react to left mouse buttons |
1073 |
(and scroll wheel) and now again also to the |
1074 |
middle and right button. |
1075 |
|
1076 |
* lib/counter.c, fdesign/fd_object.c: Removed some |
1077 |
debugging output accidentally left in. |
1078 |
|
1079 |
* lib/dial.c: Corrected return behaviour on mouse |
1080 |
button release. |
1081 |
|
1082 |
2008-03-19 Jens Thoms Toerring <jt@toerring.de> |
1083 |
|
1084 |
* lib/forms.c: Further cleanup and removal of cruft that |
1085 |
was hard to understand but actually was unnecessary or |
1086 |
counter-productive. Added check that makes sure that |
1087 |
one of the radio buttons of a form is always set. |
1088 |
|
1089 |
* lib/include/Basic.h: FL_MOTION got removed, instead |
1090 |
FL_UPDATE was introduced for events of the artificial |
1091 |
timer (the one that kicks in when there are no events). |
1092 |
The FL_OBJECT structure got two new elements, 'want_motion' |
1093 |
and 'want_update'. If the first is set an object which is |
1094 |
not an object that can be "pushed" will receive mouse |
1095 |
movement events (e.g. in case the object has some inner |
1096 |
structure that depends on the mouse position like counter |
1097 |
objects) and the second is to be set by objects that want |
1098 |
to receive FL_UPDATE events (but they still need to be |
1099 |
objects that can be "pushed") - at the moment these are |
1100 |
touch buttons, counters and choice objects. |
1101 |
|
1102 |
* lib/choice.c: FL_DROPLIST_CHOICE didn't work correctly |
1103 |
anymore, fixed. Scroll wheel can now also be used to |
1104 |
walk through the entry up or down in the popup. Added a |
1105 |
new function fl_get_choice_item_mode() to the public |
1106 |
interface. |
1107 |
|
1108 |
* lib/menu.c: Menus become highlighted when the mouse |
1109 |
is moved onto it. Code cleaned up a bit. |
1110 |
Added a function fl_set_menu_notitle() (analogous to |
1111 |
the fl_set_choice_notitle() function) to allow removal |
1112 |
of the sometimes ugly menu popup titles. This leads to |
1113 |
an important change in the behaviour of FL_PUSH_MENU |
1114 |
objects: if the title is switched off they only get |
1115 |
opened on button release and stay directly below the |
1116 |
menu button (like FL_PULLDOWN_MENU objects). |
1117 |
|
1118 |
There's a lot of code identical to that in choice.c, |
1119 |
it might be reasonable to remove the duplication (what |
1120 |
actually is the big difference between the menu and |
1121 |
choice objects, anyway?) |
1122 |
|
1123 |
* lib/button: Changes to fit the new event handling |
1124 |
code. Buttons now only react to clicks with the left |
1125 |
mouse. button. Handling of radio buttons corrected. |
1126 |
|
1127 |
* lib/choice, lib/counter: Changes to fit the new event |
1128 |
handling code. |
1129 |
|
1130 |
* lib/slider.c, lib/thumbwheel.c, lib/textbox.c, |
1131 |
lib/positioner.c, lib/dial.c: Now react to left mouse |
1132 |
button only (and mouse wheel as far as reasonable). |
1133 |
|
1134 |
* lib/fldraw.c: Issues with memory handling checked |
1135 |
and corrected. |
1136 |
|
1137 |
2008-03-12 Jens Thoms Toerring <jt@toerring.de> |
1138 |
|
1139 |
* lib/forms.c: Removed code injecting fake FL_RELEASE |
1140 |
events that led to problems with double click selections |
1141 |
e.g. in the file selector (this in turn required changes |
1142 |
to lib/xpopup.c). |
1143 |
|
1144 |
* lib/xpopup.c: Extensive code cleanup, bug fixes and |
1145 |
rewrite of event handling. Popup's, menus etc. now work |
1146 |
more like one is it used from other toolkits. Shadows |
1147 |
around popups got removed since they don't (and never |
1148 |
did) work correctly. |
1149 |
|
1150 |
* Further code cleanup all over the place, removing |
1151 |
bugs that may lead to segmentation faults or memory |
1152 |
or X resources leaks. |
1153 |
|
1154 |
2008-02-04 Jens Thoms Toerring <jt@toerring.de> |
1155 |
|
1156 |
* Resizing code again changed since I hadn't understood all |
1157 |
the interdepencies between gravity and resize settings. |
1158 |
Hopefully works correctly now. |
1159 |
|
1160 |
The special treatment of the case for objects that have no |
1161 |
gravity set and all resizing switched off (in which case |
1162 |
the center of gravity is moved when the enclosing form is |
1163 |
resized) seems to be a bit strange. Why is not the same |
1164 |
behaviour used for e.g. the x-direction if an object |
1165 |
isn't fixed in x-direction by its gravity setting and it |
1166 |
isn't to be resized in horizontal direction (same for y)? |
1167 |
|
1168 |
* lib/events.c: Changed the Expose event compression code that |
1169 |
did lead to missed redraws under e.g. KDE or Gnome if they are |
1170 |
set up to update a window also during resizing and the mouse is |
1171 |
moved around a lot in the process. |
1172 |
|
1173 |
* lib/textbox.c: Hopefully fixed a bug (perhaps it's the one |
1174 |
that Michal Szymanski reported on 2005/3/11 in the XForms |
1175 |
mailing list) that resulted under certain circumstances in e.g. |
1176 |
fl_do_forms() returning the object for a normal textbrowser |
1177 |
unexpectedly when the mouse wheel was used, which in turn could |
1178 |
make programs exit that did not expect such a return value (the |
1179 |
fbrowse.c demo program did show the problem). |
1180 |
|
1181 |
* lib/textbox.c: Hopefully fixed another bug that kept the |
1182 |
text area of a browser from being redrawn correctly following |
1183 |
the resizing of its window when sliders were on and not in |
1184 |
the left- or top-most position. |
1185 |
|
1186 |
* lib/objects.c: Added three functions fl_get_object_bw(), |
1187 |
fl_get_object_gravity() and fl_get_object_resize() (to be |
1188 |
added to the public interface). |
1189 |
|
1190 |
* lib/flinternal.h: Added several macros that test if the |
1191 |
upper left hand and the lower right hand corner of an |
1192 |
object are locked due to gravity settings and macros that |
1193 |
test if the width or height is "fixed", i.e. determined |
1194 |
by the gravity settings (so they are not influenced by |
1195 |
the corresponding resizing settings). |
1196 |
|
1197 |
* demos/grav.c: Created a small demo program that shows the |
1198 |
effects of the different gravity and resizing settings. The |
1199 |
results can sometimes be a bit surprising at a first glance |
1200 |
but I hope to have gotten it right;-) |
1201 |
|
1202 |
2008-01-28 Jens Thoms Toerring <jt@toerring.de> |
1203 |
|
1204 |
* Resizing behaviour got rewritten to get it to work correctly |
1205 |
even if a window gets resized to a very small size and then |
1206 |
back to a large one (see e.g. the xyplotall demo program for |
1207 |
the behaviour). This required to add elements to the FL_FORM |
1208 |
and FL_OBJECT structures, but since they shouldn't be used |
1209 |
directly from user programs and also user defined object should |
1210 |
always be created via a call of fl_make_object(), where the |
1211 |
geometry of the object gets set, this shouldn't lead to any |
1212 |
trouble. One aspect of the changes is that an objects gravity |
1213 |
setting now always takes precedence over the 'resize' setting |
1214 |
and the 'resize' setting gets automatically corrected whenever |
1215 |
necessary. |
1216 |
|
1217 |
* lib/events.c: changed queueing system so that queue overflows |
1218 |
and thus loss of calls of callback functions or Xevents shouldn't |
1219 |
be possible anymore. The queues are now implemented using linked |
1220 |
lists that get extendend if necessary, deallocation is done from |
1221 |
fl_finish(). |
1222 |
|
1223 |
* Got rid of a redraw bug that led to a form not being redrawn |
1224 |
correctly after its window was made smaller (e.g. under fvwm2) |
1225 |
|
1226 |
* Several bugs where fixed that sometimes crashed the program |
1227 |
with XErrors after resizing a window, especially when the |
1228 |
window was made very small (exhibited by e.g. the formbrowser |
1229 |
demo program). |
1230 |
|
1231 |
* Number of forms that can be created is now unlimited (or |
1232 |
only limited by the available memory) instead of having an |
1233 |
arbitrary maximum of 64 |
1234 |
|
1235 |
* Changes to autogen.sh to allow built with newer versions of |
1236 |
autoconf and small changes on config/xformsinclude.m4 to avoid |
1237 |
warnings. Added '-W' compiler flag (which in turn required to |
1238 |
mark unused arguments of a lot of functions as such to avoid |
1239 |
compiler warnings, see the new macro FL_UNUSED_ARG in |
1240 |
lib/include/Basic.h that exists for just that purpose). |
1241 |
|
1242 |
* Handling of the number of colors was corrected for displays |
1243 |
with more colors than can be stored in an unsigned long (e.g. |
1244 |
32-bit depth display with 32-bit wide unsigned longs). |
1245 |
|
1246 |
* Correction of the sizes of the scrollbars of FL_NORMAL_FORMBROWSER |
1247 |
type of objects. |
1248 |
|
1249 |
* lib/dial.c: mouse-wheel handling for dials added |
1250 |
|
1251 |
* lib/tabfolder.c: bugs in memory handling corrected |
1252 |
|
1253 |
* Replaced float by double in many places (not yet finished!). |
1254 |
|
1255 |
* Code cleanup (concerns several dozens of files) |
1256 |
|
1257 |
2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org> |
1258 |
|
1259 |
* image/image_jpeg.c: fix compilation with IBM's xlc. |
1260 |
|
1261 |
* Makefile.am: remove useless GNUish construct. |
1262 |
|
1263 |
* lib/listdir.c: add a better definition of S_ISSOCK, that works |
1264 |
with SCO OpenServer (thanks to Paul McNary). |
1265 |
|
1266 |
2004-10-05 Angus Leeming <angus.leeming@btopenworld.com> |
1267 |
|
1268 |
* xforms.spec.in: Updating SO_VERSION revealed a flaw in the logic |
1269 |
that tries to use this variable to define some missing |
1270 |
symbolic links. The 'post' and 'postun' scripts have been rewritten |
1271 |
to work once more. |
1272 |
|
1273 |
* lib/flinternal.h: move FL_NoColor... |
1274 |
* lib/include/Basic.h: here. |
1275 |
|
1276 |
* lib/forms.c (do_interaction_step): prevent potential crash |
1277 |
caused by invoking fl_get_winsize with a width as the first |
1278 |
argument rather than a window ID. |
1279 |
|
1280 |
* NEWS: add some highlights post 1.0.90. |
1281 |
|
1282 |
2004-10-05 Angus Leeming <angus.leeming@btopenworld.com> |
1283 |
|
1284 |
* configure.ac (SO_VERSION): updated to "2:0:1" in preparation |
1285 |
for the xforms 1.1 release. |
1286 |
|
1287 |
2004-10-06 Angus Leeming <angus.leeming@btopenworld.com> |
1288 |
|
1289 |
* lib/textbox.c (fl_set_textbox_xoffset): don't ignore a |
1290 |
request to reset the offset if the manipulated value is less |
1291 |
than zero. Instead, reset it to zero and proceed. |
1292 |
|
1293 |
* lib/browser.c (get_geometry): reset the horizontal offset to |
1294 |
zero if the horizontal scrollbar is turned off. (Bug #3205.) |
1295 |
|
1296 |
2004-07-28 Angus Leeming <angus.leeming@btopenworld.com> |
1297 |
|
1298 |
* lib/forms.c (fl_prepare_form_window): correct typo in |
1299 |
error message. |
1300 |
|
1301 |
2004-06-04 Angus Leeming <angus.leeming@btopenworld.com> |
1302 |
|
1303 |
* lib/fonts.c (fl_try_get_font_struct): change an error message to |
1304 |
an informational one as the function is often used to test |
1305 |
whether a font is loadable or not. |
1306 |
|
1307 |
2004-06-03 Angus Leeming <angus.leeming@btopenworld.com> |
1308 |
|
1309 |
* lib/Makefile.am (EXTRA_DIST): distribute dirent_vms.h and |
1310 |
vms_readdir.c. |
1311 |
|
1312 |
2004-06-01 Duncan Simpson <dps@simpson.demon.co.uk> |
1313 |
|
1314 |
* fdesign/fd_printC.c (build_fname): re-write using fl_snprintf |
1315 |
as a simpler and safer replacement for strncat and strncpy. |
1316 |
|
1317 |
2004-05-27 Angus Leeming <angus.leeming@btopenworld.com> |
1318 |
|
1319 |
* fdesign/fd_printC.c (build_fname): if no output_dir is specified, |
1320 |
then output files in the current directory. |
1321 |
|
1322 |
2004-05-27 Angus Leeming <angus.leeming@btopenworld.com> |
1323 |
|
1324 |
* fdesign/fd_main.c: improve diagnostics when failing to convert |
1325 |
the .fd file to a .[ch] pair. |
1326 |
Also remove some redundant cruft. |
1327 |
|
1328 |
2004-05-18 Angus Leeming <angus.leeming@btopenworld.com> |
1329 |
|
1330 |
* lib/include/Basic.h (fl_set_err_logfp): function was known as |
1331 |
'fl_set_error_logfp' in XForms 0.89. Define a typedef to map |
1332 |
from the old to the new. |
1333 |
|
1334 |
2004-05-18 Angus Leeming <angus.leeming@btopenworld.com> |
1335 |
|
1336 |
* demos/demo27.c: |
1337 |
* demos/iconify.c: |
1338 |
* demos/pup.c: |
1339 |
* fdesign/fd_attribs.c: |
1340 |
* fdesign/fd_main.c: |
1341 |
* fdesign/fd_main.h: |
1342 |
* fdesign/fd_rubber.c: |
1343 |
* gl/glcanvas.c: |
1344 |
* image/flimage.h: |
1345 |
* image/flimage_int.h: |
1346 |
* image/image.c: |
1347 |
* image/image_disp.c: |
1348 |
* image/image_fits.c: |
1349 |
* image/image_gif.c: |
1350 |
* image/image_jquant.c: |
1351 |
* image/image_marker.c: |
1352 |
* image/image_proc.c: |
1353 |
* image/image_xwd.c: |
1354 |
* image/matrix.c: |
1355 |
* lib/asyn_io.c: |
1356 |
* lib/canvas.c: |
1357 |
* lib/child.c: |
1358 |
* lib/choice.c: |
1359 |
* lib/flcolor.c: |
1360 |
* lib/flinternal.h: |
1361 |
* lib/flresource.c: |
1362 |
* lib/forms.c: |
1363 |
* lib/fselect.c: |
1364 |
* lib/input.c: |
1365 |
* lib/listdir.c: |
1366 |
* lib/menu.c: |
1367 |
* lib/objects.c: |
1368 |
* lib/pixmap.c: |
1369 |
* lib/win.c: |
1370 |
* lib/xdraw.c: |
1371 |
* lib/xpopup.c: |
1372 |
* lib/xsupport.c: |
1373 |
* lib/include/Basic.h: |
1374 |
* lib/include/XBasic.h: |
1375 |
* lib/include/bitmap.h: |
1376 |
* lib/include/button.h: |
1377 |
* lib/include/canvas.h: |
1378 |
* lib/include/choice.h: |
1379 |
* lib/include/menu.h: |
1380 |
* lib/include/popup.h: |
1381 |
* lib/private/pcanvas.h: |
1382 |
* lib/private/ptextbox.h: s/unsigned/unsigned int/ |
1383 |
|
1384 |
2004-05-17 Angus Leeming <angus.leeming@btopenworld.com> |
1385 |
|
1386 |
Revert some functions to the same API as was used in XForms |
1387 |
version 0.89, patch level 5. In all cases, this is just a case of using |
1388 |
the typedef rather than the raw type. |
1389 |
|
1390 |
* lib/browser.c (fl_create_browser, fl_add_browser): |
1391 |
* lib/include/browser.h (fl_create_browser, fl_add_browser): use FL_Coord. |
1392 |
|
1393 |
* lib/flcolor.c (fl_bk_color, fl_bk_textcolor): |
1394 |
* lib/include/Basic.h (fl_bk_color, fl_bk_textcolor): use FL_COLOR. |
1395 |
|
1396 |
* lib/flresource.c (fl_initialize): |
1397 |
* lib/include/XBasic.h (fl_initialize): use FL_CMD_OPT *. |
1398 |
|
1399 |
* lib/formbrowser.c (fl_add_formbrowser): |
1400 |
* lib/include/formbrowser.h (fl_add_formbrowser): use FL_Coord. |
1401 |
|
1402 |
* lib/oneliner.c (fl_show_oneliner): |
1403 |
* lib/include/goodies.h (fl_show_oneliner): use FL_Coord. |
1404 |
|
1405 |
* lib/scrollbar.c (fl_create_scrollbar, fl_add_scrollbar(): |
1406 |
* lib/include/scrollbar.h (fl_create_scrollbar, fl_add_scrollbar(): |
1407 |
use FL_Coord. |
1408 |
|
1409 |
* lib/signal.c (fl_add_signal_callback): |
1410 |
* lib/include/Basic.h (fl_add_signal_callback): use FL_SIGNAL_HANDLER. |
1411 |
|
1412 |
* lib/tabfolder.c (fl_add_tabfolder, fl_get_folder_area): |
1413 |
* lib/include/tabfolder.h (fl_add_tabfolder, fl_get_folder_area): |
1414 |
use FL_Coord. |
1415 |
|
1416 |
* lib/win.c (fl_winmove, fl_winreshape): |
1417 |
* lib/include/XBasic.h (fl_winmove, fl_winreshape): use FL_Coord. |
1418 |
|
1419 |
* lib/xdraw.c (fl_polygon): |
1420 |
* lib/include/XBasic.h (fl_polygon): use FL_COLOR. |
1421 |
|
1422 |
* lib/xtext.c (fl_drw_text_beside): |
1423 |
* lib/include/Basic.h (fl_drw_text_beside): use FL_COLOR. |
1424 |
|
1425 |
* lib/include/goodies.h (fl_exe_command, fl_end_command, fl_check_command): |
1426 |
use FL_PID_T. |
1427 |
|
1428 |
2004-05-17 Angus Leeming <angus.leeming@btopenworld.com> |
1429 |
|
1430 |
* lib/include/canvas.h: change the change to AUTOINCLUDE_GLCANVAS_H. |
1431 |
* gl/glcanvas.h: #include <GL/glx.h>. Add C++ guards. |
1432 |
|
1433 |
2004-05-14 Angus Leeming <angus.leeming@btopenworld.com> |
1434 |
|
1435 |
* lib/include/canvas.h: add a preprocessor-qualified #include |
1436 |
of glcanvas.h. The user must inititalise the GLCANVAS_H_LOCATION |
1437 |
appropriately. |
1438 |
|
1439 |
This is a means to maintain some sort of backwards compatibility |
1440 |
without the old, hacky code. |
1441 |
|
1442 |
2004-05-13 Angus Leeming <angus.leeming@btopenworld.com> |
1443 |
|
1444 |
* image/Makefile.am (libflimage_la_LDFLAGS): |
1445 |
* gl/Makefile.am (libformsGL_la_LDFLAGS): change the -version-info |
1446 |
data to '@SO_VERSION@' so that all get updated automatically. |
1447 |
|
1448 |
2004-05-13 Reed Riddle <drriddle@mac.com> |
1449 |
|
1450 |
* lib/xyplot.c: |
1451 |
* lib/include/xyplot.h (fl_replace_xyplot_point_in_overlay): |
1452 |
new function, generalizing the existing fl_replace_xyplot_point |
1453 |
which acts only on the first dataset. |
1454 |
|
1455 |
2004-05-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org> |
1456 |
|
1457 |
* gl/Makefile.am (INCLUDES): |
1458 |
* demos/Makefile.am (INCLUDES): |
1459 |
* fd2ps/Makefile.am (INCLUDES): |
1460 |
* fdesign/Makefile.am (INCLUDES): add X_CFLAGS |
1461 |
|
1462 |
2004-05-07 Angus Leeming <angus.leeming@btopenworld.com> |
1463 |
|
1464 |
* (xforms.spec.in): add code to the 'post' script to modify |
1465 |
libforms.la et al. to prevent libtool from complaining that |
1466 |
the files have been moved. |
1467 |
|
1468 |
2004-05-07 Angus Leeming <angus.leeming@btopenworld.com> |
1469 |
|
1470 |
* lib/private/pvaluator.h (repeat_ms, timeout_id, mouse_pos): |
1471 |
new variables. |
1472 |
* lib/include/slider.[ch] (fl_[sg]et_slider_repeat): |
1473 |
* lib/include/counter.[ch] (fl_[sg]et_counter_repeat): |
1474 |
new accessor functions, enabling the user to query and modify the |
1475 |
timeout used to control the behaviour of these widgets when the |
1476 |
mouse is kept pressed down. |
1477 |
|
1478 |
* lib/include/slider.[ch] (handle_mouse): |
1479 |
* lib/include/counter.[ch] (handle_mouse): use a timeout to |
1480 |
control the rate at which the slider/counter is incremented. |
1481 |
Replaces the current strategy which used a simple counter loop and |
1482 |
which has become unusable with today's fast processors. |
1483 |
|
1484 |
2004-05-06 Angus Leeming <angus.leeming@btopenworld.com> |
1485 |
|
1486 |
* configure.ac (SO_VERSION): new variable defining the libtool |
1487 |
version info. Substituted in lib/Makefile.am and xforms.spec.in. |
1488 |
|
1489 |
* lib/Makefile.am (libforms_la_LDFLAGS): use the configure-time |
1490 |
variable @SO_VERSION@ rather than the hard-coded 1:0:0. |
1491 |
|
1492 |
* xforms.spec.in: fix 'Release' and 'Source0' info. |
1493 |
add 'post' and 'postun' scripts to create and remove symbolic links, |
1494 |
respectively. |
1495 |
|
1496 |
2004-05-06 Angus Leeming <angus.leeming@btopenworld.com> |
1497 |
|
1498 |
* fdesign/fd_spec.c: revert the change made earlier today. |
1499 |
Turned out to be used in the demos code... |
1500 |
|
1501 |
2004-05-06 Angus Leeming <angus.leeming@btopenworld.com> |
1502 |
|
1503 |
* xforms.spec.in: modify so that devfiles and binfiles are not |
1504 |
placed in ${RPM_BUILD_ROOT}. Prevents rpm from bombing out with a |
1505 |
"Checking for unpackaged files" error. |
1506 |
|
1507 |
2004-05-05 Angus Leeming <angus.leeming@btopenworld.com> |
1508 |
|
1509 |
* lib/xtext.c (fl_drw_string): enable the drawing of characters |
1510 |
in a font larger than the input widget. |
1511 |
|
1512 |
2004-05-06 Angus Leeming <angus.leeming@btopenworld.com> |
1513 |
|
1514 |
* fdesign/fd_spec.c: initialization of the FL_CHOICE component of |
1515 |
the objspec struct used 'emit_menu_header' and 'emit_menu_global', |
1516 |
a cut-n-paste typo from the following FL_MENU component. |
1517 |
They have both been reset to '0'. |
1518 |
|
1519 |
2004-05-04 Angus Leeming <angus.leeming@btopenworld.com> |
1520 |
|
1521 |
* NT/libxforms.dsp, NT/xformsAll.dsw: removed these Visual C++ |
1522 |
project files. They're way out of date and can be re-added |
1523 |
if needed. |
1524 |
|
1525 |
2004-05-05 Mike Heffner <mheffner@vt.edu> |
1526 |
|
1527 |
* lib/fselect.c (select_cb): clean-up and simplify this callback |
1528 |
function by use of the existing fl_set_browser_dblclick_callback. |
1529 |
|
1530 |
2004-05-04 Angus Leeming <angus.leeming@btopenworld.com> |
1531 |
|
1532 |
The original patch, posted to the xforms list on June 21, 2002, |
1533 |
appears to have got lost. Archived here: |
1534 |
http://bob.usuhs.mil/mailserv/list-archives/xforms-archive/0285.html |
1535 |
|
1536 |
Pass the associated (XEvent * xev) to fl_handle_object on an FL_DRAW |
1537 |
event. This XEvent * is not used at all by any of xforms' "native" |
1538 |
widgets, but an FL_FREE object is able to make use of this info to |
1539 |
redraw only the part of the window that has changed. |
1540 |
|
1541 |
* forms.c (fl_handle_form): pass the XEvent on an FL_DRAW event. |
1542 |
|
1543 |
* objects.c (redraw_marked): pass the XEvent to fl_handle_object. |
1544 |
(mark_for_redraw): new, static function containing all but the |
1545 |
'redraw_marked' call of the original fl_redraw_form. |
1546 |
(fl_redraw_form): refactored code. Functionality unchanged. |
1547 |
(fl_redraw_form_using_xevent): identical to fl_redraw_form, except |
1548 |
that it passes the XEvent on to redraw_marked. |
1549 |
|
1550 |
2004-05-02 Angus Leeming <angus.leeming@btopenworld.com> |
1551 |
|
1552 |
* lib/flresource.c (get_command_name): squash valgrind warning |
1553 |
about a possible memory leak. |
1554 |
|
1555 |
2004-04-30 Angus Leeming <angus.leeming@btopenworld.com> |
1556 |
|
1557 |
* lib/Makefile.am, fdesign/Makefile.am: silence automake |
1558 |
warning about trailing backslash on last line of file. |
1559 |
|
1560 |
2004-04-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org> |
1561 |
|
1562 |
* lib/xpopup.c (fl_freepup): do not free unallocated entries |
1563 |
(fl_setpup_maxpup): do not forget to reset parent and window in |
1564 |
newly created menu_rec entries |
1565 |
|
1566 |
2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org> |
1567 |
|
1568 |
* demos/Makefile.am (glwin_LDADD, gl_LDADD): fix ordering of |
1569 |
libraries |
1570 |
(LDFLAGS): rename from AM_LDFLAGS (automake 1.5 did not like that) |
1571 |
|
1572 |
* config/xformsinclude.m4 (XFORMS_PROG_CC): fix description of |
1573 |
--enable-debug |
1574 |
|
1575 |
2004-04-05 Angus Leeming <angus.leeming@btopenworld.com> |
1576 |
|
1577 |
* Dummy commit to check all is well with my account. |
1578 |
|
1579 |
2004-04-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org> |
1580 |
|
1581 |
* lib/flresource.c (fl_get_resource): when a resource is a |
1582 |
FL_STRING, avoid doing a strncpy of a string over itself (triggers |
1583 |
a valgrind report) |
1584 |
|
1585 |
2004-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org> |
1586 |
|
1587 |
* README: mention the --enable-demos and --disable-gl flags, which |
1588 |
got forgotten |
1589 |
|
1590 |
2004-03-30 Hans J. Johnson <hjohnson@mail.psychiatry.uiowa.edu> |
1591 |
|
1592 |
* lib/pixmap.c (cleanup_xpma_struct): use a better check for |
1593 |
libXpm version |
1594 |
|
1595 |
2004-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org> |
1596 |
|
1597 |
* XForms 1.0.90 released |
1598 |
|
1599 |
* NEWS: |
1600 |
* README: update for 1.0.90 |
1601 |
|
1602 |
* configure.ac: set version to 1.0.90. Use XFORMS_CHECK_VERSION |
1603 |
|
1604 |
* config/xformsinclude.m4 (XFORMS_CHECK_VERSION): merge |
1605 |
XFORMS_SET_VERSION and XFORMS_CHECK_VERSION. Set PACKAGE here and |
1606 |
read version from PACKAGE_VERSION (set by AC_INIT). Remove |
1607 |
detection of prereleases. Development versions are now versions |
1608 |
with minor version number >= 50. |
1609 |
|
1610 |
* README: small update |
1611 |
|
1612 |
* configure.ac: add new define RETSIGTYPE_IS_VOID |
1613 |
|
1614 |
* lib/signal.c: fix handling of RETSIGTYPE |
1615 |
|
1616 |
2003-12-02 Angus Leeming <angus.leeming@btopenworld.com> |
1617 |
|
1618 |
* demos/Makefile.am: enable 'make -j2' to work on a |
1619 |
multi-processor machine. |
1620 |
|
1621 |
* demos/Makefile.am: handle the .fd -> .c conversion in |
1622 |
automake-standard fashion. |
1623 |
|
1624 |
* lib/include/Makefile.am: pass sed the names of the files to |
1625 |
be manipulated as '${srcdir}/`basename $$i`' rather than as |
1626 |
'${srcdir}/$$i' or things go awol on the Dec. (Running ksh, fwiw.) |
1627 |
|
1628 |
2003-11-28 Angus Leeming <angus.leeming@btopenworld.com> |
1629 |
|
1630 |
* Makefile.am: re-add xforms.spec to EXTRA_DIST. It is needed as well |
1631 |
as xforms.spec.in or else 'make rpmdist' will fail. |
1632 |
|
1633 |
2003-11-28 Angus Leeming <angus.leeming@btopenworld.com> |
1634 |
|
1635 |
* fdesign/fd_attribs.c: |
1636 |
* image/image_jpeg.c: |
1637 |
* image/image_xwd.c: |
1638 |
* lib/flcolor.c: warning free compilation of the entire xforms source. |
1639 |
|
1640 |
2003-11-28 Angus Leeming <angus.leeming@btopenworld.com> |
1641 |
|
1642 |
* demos/demotest.c: |
1643 |
* demos/folder.c: |
1644 |
* demos/free1.c: |
1645 |
* demos/group.c: |
1646 |
* demos/popup.c: |
1647 |
* demos/wwwl.c: |
1648 |
* demos/xyplotall.c: |
1649 |
* demos/fd/scrollbar_gui.fd: squash all remaining warnings when |
1650 |
compiling the demos directory '-W -Wall -Wno-unused-parameter'. |
1651 |
|
1652 |
2003-11-28 Angus Leeming <angus.leeming@btopenworld.com> |
1653 |
|
1654 |
* Makefile.am: |
1655 |
* configure.ac: compile fd2ps after fdesign. Will allow me to get rid |
1656 |
of the files generated from the .fd files. |
1657 |
|
1658 |
2003-11-27 Angus Leeming <angus.leeming@btopenworld.com> |
1659 |
|
1660 |
* demos/fd/Makefile.am: remove all the .[ch] files generated from their |
1661 |
.fd parents. |
1662 |
|
1663 |
* demos/Makefile.am: generate the fd/*.[ch] files on-the-fly. |
1664 |
|
1665 |
* demos/buttonall.c: no longer #include fd/buttons_gui.c. |
1666 |
* demos/butttypes.c: |
1667 |
* demos/demotest.c: |
1668 |
* demos/dirlist.c: |
1669 |
* demos/folder.c: |
1670 |
* demos/formbrowser.c: |
1671 |
* demos/inputall.c: |
1672 |
* demos/pmbrowse.c: |
1673 |
* demos/scrollbar.c: |
1674 |
* demos/thumbwheel.c: ditto for their own fd-generated files. |
1675 |
|
1676 |
* demos/pmbrowse.h: removed: cruft. |
1677 |
|
1678 |
* demos/fd/buttons_gui.[ch]: |
1679 |
* demos/fd/butttypes_gui.[ch]: |
1680 |
* demos/fd/fbtest_gui.[ch]: |
1681 |
* demos/fd/folder_gui.[ch]: |
1682 |
* demos/fd/formbrowser_gui.[ch]: |
1683 |
* demos/fd/ibrowser_gui.[ch]: |
1684 |
* demos/fd/inputall_gui.[ch]: |
1685 |
* demos/fd/is_gui.[ch]: |
1686 |
* demos/fd/is_gui_main.c: |
1687 |
* demos/fd/pmbrowse_gui.[ch]: |
1688 |
* demos/fd/scrollbar_gui.[ch]: |
1689 |
* demos/fd/twheel_gui.[ch]: removed. |
1690 |
|
1691 |
2003-11-27 Angus Leeming <angus.leeming@btopenworld.com> |
1692 |
|
1693 |
* fdesign/fd_printC.c (filename_only): use strrchr. |
1694 |
|
1695 |
* fdesign/fdesign.man: document the -dir <destdir> option. |
1696 |
|
1697 |
2003-11-27 Angus Leeming <angus.leeming@btopenworld.com> |
1698 |
|
1699 |
* NEWS: updated to reflect what has been going on in the 1.1 cycle. |
1700 |
|
1701 |
2003-11-26 Angus Leeming <angus.leeming@btopenworld.com> |
1702 |
|
1703 |
* fdesign/fd_main.h: add a 'char * output_dir' var to the FD_Opt struct. |
1704 |
|
1705 |
* fdesign/fd_main.c: add code to initialize FD_Opt::output_dir. |
1706 |
|
1707 |
* fdesign/fd_forms.c (save_forms): pass fdopt.output_dir var to the |
1708 |
external converter if non-zero. |
1709 |
|
1710 |
* fdesign/fd_printC.c (filename_only, build_fname): new helper functions |
1711 |
that use FD_Opt::output_dir if it is set. |
1712 |
(C_output): invoke build_fname rather than building the file name |
1713 |
itself. |
1714 |
|
1715 |
2003-11-27 Angus Leeming <angus.leeming@btopenworld.com> |
1716 |
|
1717 |
* demos/demotest_fd.[ch]: |
1718 |
* demos/demotest_fd.fd: removed. The routines were not invoked by |
1719 |
demotest (witness that it still links fine). |
1720 |
|
1721 |
* demos/pmbrowse.c: split out the fdesign generated code. |
1722 |
Ensuing changes to use the fdesign generated code unchanged. |
1723 |
|
1724 |
* demos/pmbrowse.fd: moved... |
1725 |
* demos/fd/pmbrowse_gui.[ch]: |
1726 |
* demos/fd/pmbrowse_gui.fd: to here. |
1727 |
|
1728 |
* demos/Makefile.am: |
1729 |
* demos/fd/Makefile.am: ensuing changes. |
1730 |
|
1731 |
2003-11-27 Angus Leeming <angus.leeming@btopenworld.com> |
1732 |
|
1733 |
* image/image_gif.c (flush_buffer): do not pass 'incode'. Instead use |
1734 |
a local variable. |
1735 |
|
1736 |
2003-11-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org> |
1737 |
|
1738 |
* fdesign/fd_forms.c (save_forms): do not try to remove twice ".fd" |
1739 |
from file name (avoids problem with path names containing a '.'). |
1740 |
|
1741 |
2003-11-25 Clive A Stubbings <xforms2@vjet.demon.co.uk> |
1742 |
|
1743 |
* image/image_gif.c (flush_buffer): new static function, containing |
1744 |
code factored out of process_lzw_code. |
1745 |
(process_lzw_code): invoke flush_buffer where old code was in |
1746 |
process_lzw_code itself. In addition, also invoke flush_buffer |
1747 |
when cleaning up after an old-style gif image. |
1748 |
|
1749 |
* image/image_jpeg.c (JPEG_identify): handle 'raw' JPEG images |
1750 |
without the JFIF header. |
1751 |
|
1752 |
2003-11-26 Angus Leeming <angus.leeming@btopenworld.com> |
1753 |
|
1754 |
* demos/boxtype.c: squash warning about uninitialized data. |
1755 |
|
1756 |
2003-11-24 Angus Leeming <angus.leeming@btopenworld.com> |
1757 |
|
1758 |
* fdesign/sp_menu.c (emit_menu_header): output properly initialized |
1759 |
C-code. |
1760 |
|
1761 |
2003-11-20 Angus Leeming <angus.leeming@btopenworld.com> |
1762 |
|
1763 |
* demos/Makefile.am: enable the conditional building of the demo |
1764 |
GL codes. |
1765 |
|
1766 |
* demos/gl.c: |
1767 |
* demos/glwin.c: #include gl/glcanvas.h and so prevent warnings |
1768 |
about implicit function declarations. |
1769 |
|
1770 |
2003-11-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org> |
1771 |
|
1772 |
* lib/local.h: do not define HAVE_KP_DEFINE |
1773 |
|
1774 |
* lib/flinternal.h: test directly for X11 version here |
1775 |
|
1776 |
* lib/forms.c (fl_keyboard): |
1777 |
* lib/flcolor.c (fl_mapcolor, fl_dump_state_info): |
1778 |
* lib/xpopup.c (fl_addtopup): |
1779 |
* lib/clock.c (draw_clock): use proper ML_xxx macros instead of |
1780 |
bogus names |
1781 |
|
1782 |
2003-11-20 Angus Leeming <angus.leeming@btopenworld.com> |
1783 |
|
1784 |
* lib/events.c: |
1785 |
* lib/fldraw.c: |
1786 |
* lib/forms.c: |
1787 |
* lib/xpopup.c: |
1788 |
* lib/xsupport.c: |
1789 |
|
1790 |
* image/image_fits.c: |
1791 |
* image/image_gif.c: |
1792 |
* image/image_jpeg.c: |
1793 |
* image/image_replace.c: |
1794 |
* image/image_tiff.c: |
1795 |
* image/ps_core.c: |
1796 |
* image/ps_draw.c: |
1797 |
|
1798 |
* image/image_fits.c: |
1799 |
* image/image_gif.c: |
1800 |
* image/image_jpeg.c: |
1801 |
* image/image_replace.c: |
1802 |
* image/image_tiff.c: |
1803 |
* image/image_xwd.c: |
1804 |
* image/ps_core.c: |
1805 |
* image/ps_draw.c: |
1806 |
|
1807 |
* fdesign/fd_main.c: squash warnings about comparison of |
1808 |
signed and unsigned variables. Only 'safe' warnings have been squashed. |
1809 |
|
1810 |
2003-11-20 Angus Leeming <angus.leeming@btopenworld.com> |
1811 |
|
1812 |
* lib/flsnprintf.c: remove unused variable 'credits'. |
1813 |
|
1814 |
* lib/flresource.c: remove line 'fl_context->xim;' as it is a |
1815 |
statement with no effect. |
1816 |
|
1817 |
* lib/version.c: remove unused variable 'c'. |
1818 |
|
1819 |
2003-11-20 Angus Leeming <angus.leeming@btopenworld.com> |
1820 |
|
1821 |
* lib/flinternal.h: add declaration of fl_handle_form. |
1822 |
Squash warnings about implicit declaration of the function when |
1823 |
compiling lib/tabfolder.c. |
1824 |
|
1825 |
* gl/glcanvas.h: remove #ifdef HAVE_GL_GLX_H guard. |
1826 |
Cruft from pre-autoconf days. |
1827 |
Squash warnings about implicit declaration of the function when |
1828 |
compiling gl/glcanvas.c |
1829 |
|
1830 |
2003-11-20 Angus Leeming <angus.leeming@btopenworld.com> |
1831 |
|
1832 |
* fd2ps/papers.c: |
1833 |
* fd2ps/pscol.c: |
1834 |
* fd2ps/psdraw.c: |
1835 |
* fdesign/fd_control.c: |
1836 |
* fdesign/fd_main.c: |
1837 |
* fdesign/fd_printC.c: |
1838 |
* fdesign/fd_spec.c: |
1839 |
* fdesign/sp_dial.c: |
1840 |
* image/image_marker.c: |
1841 |
* image/image_tiff.c: |
1842 |
* image/ps_core.c: |
1843 |
* lib/cursor.c: |
1844 |
* lib/flcolor.c: squash warnings about 'var may be uninitialized' when |
1845 |
compiling with gcc -W -Wall by explicitly initializing all parts of the |
1846 |
arrays in the above files. |
1847 |
|
1848 |
2003-11-19 Angus Leeming <angus.leeming@btopenworld.com> |
1849 |
|
1850 |
* autogen.sh: enable the use of autoconf 2.58. |
1851 |
|
1852 |
2003-11-19 Angus Leeming <angus.leeming@btopenworld.com> |
1853 |
|
1854 |
* lib/OS2 and all files therein: removed. |
1855 |
|
1856 |
* lib/Makefile.am: remove mention of OS2. |
1857 |
|
1858 |
* lib/Readme: removed. |
1859 |
* os2move.cmd: removed. |
1860 |
* gl/canvas.h: removed. |
1861 |
|
1862 |
* gl/Makefile.am: remove canvas.h. |
1863 |
|
1864 |
2003-11-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org> |
1865 |
|
1866 |
* lib/flinternal.h: remove obsolete comment |
1867 |
|
1868 |
* config/xformsinclude.m4 (XFORMS_PATH_XPM): honor X_CFLAGS to |
1869 |
find xpm.h (should fix problem reported by Reed Riddle) |
1870 |
|
1871 |
* README: update. In particular, the acknowledgement of copyright |
1872 |
has been removed since the code is not here anymore (and the |
1873 |
advertising clause is not needed anymore). Try to point to the new |
1874 |
nongnu.org site. |
1875 |
|
1876 |
* Makefile.am (dist-hook): remove old leftover from LyX |
1877 |
(EXTRA_DIST): do not distribute xforms.spec, which |
1878 |
is generated at configure time |
1879 |
|
1880 |
* lib/signal.c (default_signal_handler): fix typo |
1881 |
|
1882 |
2003-11-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org> |
1883 |
|
1884 |
* config/config.guess: |
1885 |
* config/config.sub: |
1886 |
* config/libtool.m4: |
1887 |
* config/ltmain.sh: updated from libtool 1.4.3 (as distributed |
1888 |
with rh9) |
1889 |
|
1890 |
* config/depcomp: updated from automake 1.4 (as distributed |
1891 |
with rh9) |
1892 |
|
1893 |
2003-11-18 Angus Leeming <angus.leeming@btopenworld.com> |
1894 |
|
1895 |
* xforms.spec.in: update the %doc list to reflect actuality. |
1896 |
|
1897 |
2003-11-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org> |
1898 |
|
1899 |
* INSTALL: generic instructions from autoconf. |
1900 |
|
1901 |
2003-10-03 Angus Leeming <angus.leeming@btopenworld.com> |
1902 |
|
1903 |
Patch from Matthew Yaconis by way of |
1904 |
David Dembrow <ddembrow@nlxcorp.com>. |
1905 |
|
1906 |
* lib/fselect.c: remove the arbitrary restriction on the display of |
1907 |
borderless forms. |
1908 |
|
1909 |
* lib/tabfolder.c: display the tab forms correctly when using |
1910 |
bottom tab folders. |
1911 |
|
1912 |
2003-11-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org> |
1913 |
|
1914 |
* config/common.am: do not set LIBS to an empty value |
1915 |
|
1916 |
* image/Makefile.am (INCLUDES): |
1917 |
* lib/Makefile.am (INCLUDES): honor X_CFLAGS |
1918 |
|
1919 |
* demos/Makefile.am: |
1920 |
* fdesign/Makefile.am: |
1921 |
* fd2ps/Makefile.am: use $(foo) form instead of @foo@ for |
1922 |
variables references. Honor X_LIBS, X_PRE_LIBS and X_EXTRA_LIBS. |
1923 |
|
1924 |
2003-09-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org> |
1925 |
|
1926 |
* Makefile.am: only build the gl/ directory if required |
1927 |
|
1928 |
* configure.ac: simplify handling of --enable-demos. Add support |
1929 |
for --disable-gl option; gl support is only compiled in if |
1930 |
GL/glx.h is found |
1931 |
|
1932 |
2003-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org> |
1933 |
|
1934 |
* config/xformsinclude.m4 (XFORMS_CHECK_LIB_JPEG): no need to link |
1935 |
against the X11 libs... |
1936 |
|
1937 |
* configure.ac: remove lots of checks for headers and functions. |
1938 |
We only keep the ones that were already tested for in the old |
1939 |
source (although we do not know whether they are still useful). |
1940 |
|
1941 |
* lib/asyn_io.c: use HAVE_SYS_SELECT_H |
1942 |
|
1943 |
2003-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org> |
1944 |
|
1945 |
* Makefile.am: only build demos/ directory if required |
1946 |
|
1947 |
* configure.ac: add --enable-demos option |
1948 |
|
1949 |
2003-09-09 Angus Leeming <angus.leeming@btopenworld.com> |
1950 |
|
1951 |
* lib/forms.c (fl_keyboard): pass it the event to allow it to |
1952 |
distinguish between KeyPress and KeyRelease events. |
1953 |
(dispatch_key): new function, factored out of do_keyboard. |
1954 |
(do_keyboard): Handles KeyRelease events correctly. The KeyPress keysym |
1955 |
is stored and then dispatched on KeyRelease also, since |
1956 |
XmbLookupString is undefined on a KeyRelease event. |
1957 |
|
1958 |
2003-09-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org> |
1959 |
|
1960 |
* lib/version.c (fl_print_version): remove workaround for XENIX |
1961 |
|
1962 |
* lib/local.h: remove NO_SOCK (who wants to support old SCO anyway?) |
1963 |
|
1964 |
2003-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org> |
1965 |
|
1966 |
* lib/local.h (FL_SIGRET): |
1967 |
|
1968 |
* lib/signal.c (default_signal_handler): use RETSIGTYPE instead of |
1969 |
FL_SIG_RET |
1970 |
|
1971 |
* lib/errmsg.c (fl_get_syserror_msg): use HAVE_STRERROR |
1972 |
|
1973 |
* lib/sysdep.c (fl_msleep): use HAVE_USLEEP |
1974 |
|
1975 |
* lib/local.h: remove variables DONT_HAVE_USLEEP, |
1976 |
DONT_HAVE_STRERROR, NO_CONST (handled by AC_C_CONST), |
1977 |
FL_SIGRET_IS_VOID, FL_SIGRET |
1978 |
|
1979 |
* configure.ac: check for usleep too |
1980 |
|
1981 |
2003-05-23 Angus Leeming <angus.leeming@btopenworld.com> |
1982 |
|
1983 |
* image/rgb_db.c: follow Rouben Rostamian's advice and remove all the |
1984 |
helper functions that were used to ascertain the name of the RGB color |
1985 |
before he rewrote fl_lookup_RGBcolor. |
1986 |
|
1987 |
* flimage.h: add a comment to the declaration of fl_init_RGBdatabase |
1988 |
that is does nothing and is retained for compatibility only. |
1989 |
|
1990 |
2003-05-23 Angus Leeming <angus.leeming@btopenworld.com> |
1991 |
|
1992 |
* lib/include/Basic.h: remove declarations of functions |
1993 |
fl_init_RGBdatabase and fl_lookup_RGBcolor as they are part of |
1994 |
libflimage, not libforms. |
1995 |
|
1996 |
2003-05-30 Angus Leeming <angus.leeming@btopenworld.com> |
1997 |
|
1998 |
* Changes: renamed as NEWS. |
1999 |
* COPYING: renamed as COPYING.LIB. |
2000 |
* 00README: renamed as README. |
2001 |
|
2002 |
2003-05-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org> |
2003 |
|
2004 |
* lib/include/Makefile.am: make sure that forms.h is not distributed |
2005 |
|
2006 |
2003-05-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org> |
2007 |
|
2008 |
* configure.ac: do not set VERSION explicitely, this is done in |
2009 |
XFORMS_SET_VERSION. |
2010 |
|
2011 |
* config/xformsinclude.m4 (XFORMS_SET_VERSION): simplify a tiny bit |
2012 |
|
2013 |
2003-05-22 Rouben Rostamian <rostamian@umbc.edu> |
2014 |
|
2015 |
* image/rgb_db.c (fl_lookup_RGBcolor): this function fell off the |
2016 |
dist at 1.0pre3. Now it is back again with a shiny new, more efficient |
2017 |
implementation. |
2018 |
|
2019 |
2003-05-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org> |
2020 |
|
2021 |
* lib/include/Makefile.am (forms.h): create forms.h using the |
2022 |
target stamp-forms, so that it remains untouched when AAA.h is |
2023 |
regenerated but did not change. |
2024 |
|
2025 |
* lib/include/AAA.h.in: new file. This is the template from which |
2026 |
AAA.h is generated |
2027 |
|
2028 |
* lib/include/.cvsignore: add AAA.h |
2029 |
|
2030 |
* configure.ac: call XFORMS_SET_VERSION; generate AAA.h from AAA.h.in |
2031 |
|
2032 |
* config/xformsinclude.m4 (XFORMS_SET_VERSION): new macro, which |
2033 |
sets the VERSION string for xforms |
2034 |
(XFORMS_CHECK_VERSION): simplify a bit |
2035 |
|
2036 |
2003-04-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org> |
2037 |
|
2038 |
* image/image_fits.c (Bad_bpp): use abs() and not fabs(), since |
2039 |
bpp is an int |
2040 |
|
2041 |
2003-04-24 Angus Leeming <angus.leeming@btopenworld.com> |
2042 |
|
2043 |
Migrate from imake to autoconf/automake. |
2044 |
|
2045 |
* Imakefile: |
2046 |
* Imakefile.os2: |
2047 |
* demos/Imakefile: |
2048 |
* demos/Imakefile.os2: |
2049 |
* fd2ps/Imakefile: |
2050 |
* fd2ps/Imakefile.os2: |
2051 |
* fdesign/Imakefile: |
2052 |
* fdesign/Imakefile.os2: |
2053 |
* fdesign/Imakefile.xxx: |
2054 |
* gl/Imakefile: |
2055 |
* image/Imakefile: |
2056 |
* lib/Imakefile: |
2057 |
* lib/Imakefile.os2: |
2058 |
* lib/OS2/Imakefile.os2: |
2059 |
* lib/include/Imakefile: removed. |
2060 |
|
2061 |
* autogen.sh: |
2062 |
* configure.ac: |
2063 |
* config/.cvsignore: |
2064 |
* config/common.am: |
2065 |
* config/config.guess: |
2066 |
* config/config.sub: |
2067 |
* config/cygwin.m4: |
2068 |
* config/depcomp: |
2069 |
* config/libtool.m4: |
2070 |
* config/ltmain.sh: |
2071 |
* config/xformsinclude.m4: Here be magic ;-) |
2072 |
|
2073 |
* Makefile.am: |
2074 |
* config/Makefile.am: |
2075 |
* demos/Makefile.am: |
2076 |
* demos/fd/Makefile.am: |
2077 |
* fd2ps/Makefile.am: |
2078 |
* fd2ps/test/Makefile.am: |
2079 |
* fdesign/Makefile.am: |
2080 |
* fdesign/fd/Makefile.am: |
2081 |
* fdesign/fd4test/Makefile.am: |
2082 |
* fdesign/notes/Makefile.am: |
2083 |
* fdesign/spec/Makefile.am: |
2084 |
* fdesign/xpm/Makefile.am: |
2085 |
* gl/Makefile.am: |
2086 |
* image/Makefile.am: |
2087 |
* lib/Makefile.am: |
2088 |
* lib/OS2/Makefile.am: |
2089 |
* lib/bitmaps/Makefile.am: |
2090 |
* lib/fd/Makefile.am: |
2091 |
* lib/include/Makefile.am: |
2092 |
* lib/private/Makefile.am: added. |
2093 |
|
2094 |
* xforms.spec.in: the RPM spec file. |
2095 |
|
2096 |
* lib/local.h: make use of the HAVE_STRCASECMP preprocessor variable. |
2097 |
|
2098 |
* lib/pixmap.c: use XPM_H_LOCATION instead of pre-processor stuff. |
2099 |
|
2100 |
* demos/demotest.c: define the callback. |
2101 |
|
2102 |
* fd2ps/sys.c: use preprocessor variable HAVE_STRCASECMP rather than |
2103 |
NO_STRCASECMP. |
2104 |
|
2105 |
* fd2ps/sys.h: now redundant, so remove it. |
2106 |
|
2107 |
* fd2ps/fd2ps.h: |
2108 |
* fd2ps/sys.c: remove #include "sys.h" |
2109 |
|
2110 |
* gl/canvas.h: |
2111 |
* gl/glcanvas.h: make use of HAVE_GL_GLX_H preprocessor variable. |
2112 |
|
2113 |
2003-04-24 Angus Leeming <angus.leeming@btopenworld.com> |
2114 |
|
2115 |
* lib/tabfolder.c (handle): ensure that we have an active folder |
2116 |
before trying to manipulate its contents. |
2117 |
|
2118 |
2003-04-24 Angus Leeming <angus.leeming@btopenworld.com> |
2119 |
|
2120 |
* lib/include/Imakefile: do not copy the generated forms.h to ../. |
2121 |
* lib/Imakefile: remove the targets to install forms.h. |
2122 |
|
2123 |
* pretty well all .c files: change #include "forms.h" to |
2124 |
#include "include/forms.h". |
2125 |
|
2126 |
2003-04-22 Angus Leeming <angus.leeming@btopenworld.com> |
2127 |
|
2128 |
* fd2ps/sys.h: remove #define NO_STRDUP and FL_SIGRET as they aren't |
2129 |
used. |
2130 |
|
2131 |
2003-04-22 Angus Leeming <angus.leeming@btopenworld.com> |
2132 |
|
2133 |
* */*.c: ensure that config.h is #included if the HAVE_CONFIG_H |
2134 |
preprocessor variable is set. |
2135 |
|
2136 |
2003-04-22 Angus Leeming <angus.leeming@btopenworld.com> |
2137 |
|
2138 |
* lib/include/zzz.h: remove the #include "flinternal.h" line whose |
2139 |
inclusion depends on the MAKING_FORMS preprocessor variable. |
2140 |
|
2141 |
* lib/forms.h: |
2142 |
* lib/include/forms.h: regenerated. |
2143 |
|
2144 |
2003-04-20 Angus Leeming <angus.leeming@btopenworld.com> |
2145 |
|
2146 |
* demos/wwwl.c: #include "private/flsnprintf.h". |
2147 |
|
2148 |
2003-04-20 Angus Leeming <angus.leeming@btopenworld.com> |
2149 |
|
2150 |
* lib/private/flsnprintf.h: use #defines to prevent needless |
2151 |
fl_snprintf bloat. |
2152 |
* lib/flsnprintf.c: prepend portable_v?snprintf with "fl_" to prevent |
2153 |
name clashes with other software. Make these functions globally |
2154 |
accessible. |
2155 |
Importantly, #if 0...#endif a block that prevents the code from |
2156 |
linking correctly on the DEC. |
2157 |
|
2158 |
2003-04-20 Angus Leeming <angus.leeming@btopenworld.com> |
2159 |
|
2160 |
* image/image.c: |
2161 |
* lib/errmsg.c: no need to check for fl_vsnprintf anymore. |
2162 |
|
2163 |
2003-04-20 Angus Leeming <angus.leeming@btopenworld.com> |
2164 |
|
2165 |
* demos/Imakefile: |
2166 |
* fd2ps/Imakefile: |
2167 |
* fdesign/Imakefile: |
2168 |
* gl/Imakefile: |
2169 |
* image/Imakefile: |
2170 |
* lib/Imakefile: pass the expected -DHAVE_SNPRINTF options to the |
2171 |
compiler. |
2172 |
|
2173 |
2003-04-17 Angus Leeming <angus.leeming@btopenworld.com> |
2174 |
|
2175 |
Make fl_snprintf private. |
2176 |
|
2177 |
* lib/include/flsnprintf.h: moved to lib/private/flsnprintf.h. |
2178 |
* lib/include/Imakefile: remove flsnprintf.h. |
2179 |
|
2180 |
* lib/forms.h: |
2181 |
* lib/include/forms.h: regenerated. |
2182 |
|
2183 |
* fdesign/fd_attribs.c: |
2184 |
* image/image.c: |
2185 |
* image/image_io_filter.c: |
2186 |
* image/image_postscript.c: |
2187 |
* lib/choice.c: |
2188 |
* lib/cmd_br.c: |
2189 |
* lib/events.c: |
2190 |
* lib/flresource.c: |
2191 |
* lib/fselect.c: |
2192 |
* lib/goodie_alert.c: |
2193 |
* lib/goodie_choice.c: |
2194 |
* lib/goodie_msg.c: |
2195 |
* lib/goodie_salert.c: |
2196 |
* lib/version.c: |
2197 |
* lib/xpopup.c: add #include "private/flsnprintf.h". |
2198 |
|
2199 |
2003-04-17 Jean-Marc Lasgouttes <lasgouttes@lyx.org> |
2200 |
|
2201 |
* lib/Imakefile (EXTRA_INCLUDES): add $(XPMINC) |
2202 |
|
2203 |
2003-04-17 Angus Leeming <angus.leeming@btopenworld.com> |
2204 |
|
2205 |
* demos/Imakefile: |
2206 |
* fd2ps/Imakefile: |
2207 |
* fdesign/Imakefile: |
2208 |
* gl/Imakefile: |
2209 |
* image/Imakefile: |
2210 |
* lib/Imakefile: don't pass -Iprivate to the complier. |
2211 |
|
2212 |
* fdesign/fd_super.c: |
2213 |
* fdesign/sp_browser.c: |
2214 |
* fdesign/sp_choice.c: |
2215 |
* fdesign/sp_counter.c: |
2216 |
* fdesign/sp_dial.c: |
2217 |
* fdesign/sp_menu.c: |
2218 |
* fdesign/sp_positioner.c: |
2219 |
* fdesign/sp_xyplot.c: |
2220 |
* image/image_postscript.c: |
2221 |
* image/postscript.c: |
2222 |
* image/ps_core.c: |
2223 |
* image/ps_draw.c: |
2224 |
* image/ps_text.c: |
2225 |
* lib/browser.c: |
2226 |
* lib/canvas.c: |
2227 |
* lib/choice.c: |
2228 |
* lib/counter.c: |
2229 |
* lib/dial.c: |
2230 |
* lib/flinternal.h: |
2231 |
* lib/formbrowser.c: |
2232 |
* lib/menu.c: |
2233 |
* lib/objects.c: |
2234 |
* lib/positioner.c: |
2235 |
* lib/scrollbar.c: |
2236 |
* lib/sldraw.c: |
2237 |
* lib/slider.c: |
2238 |
* lib/textbox.c: |
2239 |
* lib/thumbwheel.c: |
2240 |
* lib/valuator.c: |
2241 |
* lib/xyplot.c: associated changes to the #include directives. |
2242 |
|
2243 |
2003-04-17 Angus Leeming <angus.leeming@btopenworld.com> |
2244 |
|
2245 |
* lib/xforms.5: renamed as xforms.man. This probably breaks the |
2246 |
installation, but that is all slated for change anyway. |
2247 |
|
2248 |
2003-04-17 Angus Leeming <angus.leeming@btopenworld.com> |
2249 |
|
2250 |
* demos/Imakefile: do not -Ifd when compiling. |
2251 |
|
2252 |
* demos/Imakefile: |
2253 |
* demos/buttonall.c: |
2254 |
* demos/demotest.c: |
2255 |
* demos/dirlist.c: |
2256 |
* demos/folder.c: |
2257 |
* demos/formbrowser.c: |
2258 |
* demos/ibrowser.c: |
2259 |
* demos/inputall.c: |
2260 |
* demos/itest.c: |
2261 |
* demos/scrollbar.c: |
2262 |
* demos/thumbwheel.c: associated changes. |
2263 |
|
2264 |
* demos/.cvsignore: add all the generated executables. |
2265 |
|
2266 |
2003-04-17 Angus Leeming <angus.leeming@btopenworld.com> |
2267 |
|
2268 |
* lib/include/canvas.h: cruft removal. Don't mention glcanvas.h |
2269 |
here in case the user does not want GL support. |
2270 |
|
2271 |
* lib/include/forms.h |
2272 |
* lib/forms.h: regenerated. |
2273 |
|
2274 |
* gl/glcanvas.c: include glcanvas.h as this is no longer in forms.h |
2275 |
|
2276 |
2003-04-16 Angus Leeming <angus.leeming@btopenworld.com> |
2277 |
|
2278 |
Remove the SNP directory and replace it with a single file, |
2279 |
flsnprintf.c. Invoke snprintf through a wrapper fl_snprintf. |
2280 |
|
2281 |
* Imakefile: remove SUBDIR snp. |
2282 |
|
2283 |
* lib/flsnprintf.c, lib/include/flsnprintf.h: new files. |
2284 |
|
2285 |
* lib/include/Imakefile: add flsnprintf.h to the files used to |
2286 |
generated forms.h. |
2287 |
|
2288 |
* lib/forms.h |
2289 |
* lib/include/forms.h: regenerated. |
2290 |
|
2291 |
* lib/Imakefile: add flsnprintf.c. |
2292 |
Pass -DHAVE_SNPRINTF as a compiler option. |
2293 |
|
2294 |
* lib/local.h: remove HAVE_SNPRINTF stuff. |
2295 |
|
2296 |
* demos/Imakefile: |
2297 |
* fd2ps/Imakefile: |
2298 |
* fdesign/Imakefile: |
2299 |
* gl/Imakefile: |
2300 |
* image/Imakefile: |
2301 |
pass -DHAVE_SNPRINTF as a compiler option. Remove other SNP stuff. |
2302 |
|
2303 |
* demos/wwwl.c: |
2304 |
* fdesign/fd_attribs.c: |
2305 |
* image/image.c: |
2306 |
* image/image_io_filter.c: |
2307 |
* image/image_postscript.c: |
2308 |
* lib/choice.c: |
2309 |
* lib/cmd_br.c: |
2310 |
* lib/errmsg.c: |
2311 |
* lib/events.c: |
2312 |
* lib/flresource.c: |
2313 |
* lib/fselect.c: |
2314 |
* lib/goodie_alert.c: |
2315 |
* lib/goodie_choice.c: |
2316 |
* lib/goodie_msg.c: |
2317 |
* lib/goodie_salert.c: |
2318 |
* lib/version.c: |
2319 |
* lib/xpopup.c: |
2320 |
s/\(v*snprintf\)/fl_\1/ |
2321 |
|
2322 |
* snp/*: all files removed. |
2323 |
|
2324 |
2003-04-15 Angus Leeming <angus.leeming@btopenworld.com> |
2325 |
|
2326 |
* lots of files: reduce the amount of magic includes of header files |
2327 |
and therefore include flinternal.h explicitly much more. |
2328 |
|
2329 |
2003-04-15 Angus Leeming <angus.leeming@btopenworld.com> |
2330 |
|
2331 |
* .cvsignore: |
2332 |
* demos/.cvsignore: |
2333 |
* fd2ps/.cvsignore: |
2334 |
* fdesign/.cvsignore: |
2335 |
* gl/.cvsignore: |
2336 |
* image/.cvsignore: |
2337 |
* libs/.cvsignore: |
2338 |
* libs/include/.cvsignore: prepare the way for autoconf/automake. |
2339 |
|
2340 |
2003-04-10 Angus Leeming <angus.leeming@btopenworld.com> |
2341 |
|
2342 |
* lib/include/Basic.h: add FL_RESIZED to the FL_EVENTS enum. |
2343 |
* lib/include/AAA.h: up FL_FIXLEVEL to 2 to reflect this. |
2344 |
|
2345 |
* lib/forms.h: |
2346 |
* lib/include/forms.h: regenerated. |
2347 |
|
2348 |
* lib/forms.c (scale_form): pass event FL_RESIZED to the object handler |
2349 |
if the object size is changed. |
2350 |
|
2351 |
* lib/tabfolder.c (handle): handle the FL_RESIZED event to ensure |
2352 |
that the currently active folder is resized. |
2353 |
|
2354 |
2003-04-10 Angus Leeming <angus.leeming@btopenworld.com> |
2355 |
|
2356 |
* lib/version.c (fl_print_version, fl_library_version): use |
2357 |
FL_VERSION, FL_REVISION rather than RCS stuff. |
2358 |
|
2359 |
2003-04-10 Angus Leeming <angus.leeming@btopenworld.com> |
2360 |
|
2361 |
* most files: Remove all the RCS strings from the header files |
2362 |
and about half of 'em from the .c files. |
2363 |
|
2364 |
2003-04-10 John Levon <moz@compsoc.man.ac.uk> |
2365 |
|
2366 |
* lib/pixmap.c (init_xpm_attributes): "fix" XPixmaps containing |
2367 |
colour "opaque". |
2368 |
|
2369 |
2003-04-09 Angus Leeming <angus.leeming@btopenworld.com> |
2370 |
|
2371 |
* demos/.cvsignore: |
2372 |
* snp/.cvsignore: Ignore Makefile* |
2373 |
|
2374 |
2003-04-09 Angus Leeming <angus.leeming@btopenworld.com> |
2375 |
|
2376 |
Move tabfolder-specific code out of forms.c and allow individual |
2377 |
FL_OBJECTs to respond to such events. Means that the library |
2378 |
becomes extensible to new, user-defined widgets once again. |
2379 |
|
2380 |
* lib/include/Basic.h: add FL_MOVEORIGIN to the FL_EVENTS enum. |
2381 |
|
2382 |
* lib/forms.h: |
2383 |
* lib/include/forms.h: regenerated automatically. |
2384 |
|
2385 |
* lib/forms.c (fl_handle_form): no longer a static function. |
2386 |
Dispatch FL_MOVEORIGIN events to the form's constituent objects. |
2387 |
(fl_get_tabfolder_origin): removed. Functionality moved into |
2388 |
tabfolder.c. |
2389 |
(do_interaction_step): no longer call fl_get_tabfolder_origin. Instead, |
2390 |
dispatch a call to fl_handle_form(form, FL_MOVEORIGIN, ...). |
2391 |
|
2392 |
* lib/tabfolder.c (handle): add FL_MOVEORIGIN to the event switch. |
2393 |
Update the x,y absolute coords of the active_folder and dispatch |
2394 |
a call to fl_handle_form(active_folder, FL_MOVEORIGIN, ...) to |
2395 |
ensure that the x,y absolute coords of nested tabfolders are also |
2396 |
updated. |
2397 |
|
2398 |
2003-04-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org> |
2399 |
|
2400 |
* image/Imakefile (EXTRA_INCLUDES): change the order of includes, |
2401 |
to avoid that an older installed forms.h is used instead of the |
2402 |
fresh one |
2403 |
|
2404 |
2003-04-09 Angus Leeming <angus.leeming@btopenworld.com> |
2405 |
|
2406 |
* lib/objects.c (hide_tooltip): renamed as checked_hide_tooltip. |
2407 |
(unconditional_hide_tooltip): new static helper function, |
2408 |
invoked within fl_handle_it on FL_KEYPRESS and FL_PUSH events. |
2409 |
|
2410 |
* lib/include/AAA.h: up-ed FL_FIXLEVEL to 1 to reflect the changes |
2411 |
made above. |
2412 |
* lib/forms.h: regenerated to reflect changed FL_FIXLEVEL. |
2413 |
|
2414 |
* version.c (version): update to reflect this also. |
2415 |
|
2416 |
2003-04-08 Angus Leeming <angus.leeming@btopenworld.com> |
2417 |
|
2418 |
Enable tooltips to be shown correctly in "composite" widgets |
2419 |
such as the browser. |
2420 |
|
2421 |
* lib/objects.c (get_parent): new static helper function. Given an |
2422 |
FL_OBJECT*, returns its parent FL_OBJECT. |
2423 |
(tooltip_handler): rewritten to show the tooltip that is stored |
2424 |
by the parent FL_OBJECT. |
2425 |
(hide_tooltip): new static helper function: on leaving an FL_OBJECT, |
2426 |
only hide the tooltip if we have also left the bounds of the parent |
2427 |
FL_OBJECT. |
2428 |
(fl_handle_it): make use of these new functions to show and hide |
2429 |
tooltips. |
2430 |
|
2431 |
2003-04-08 Angus Leeming <angus.leeming@btopenworld.com> |
2432 |
|
2433 |
* image/image_rotate.c (flimage_rotate): enable the rotation of |
2434 |
grayscale images by 90 degree multiples and more generally prevent |
2435 |
other unsupported image types from crashing xforms. |
2436 |
|
2437 |
* lib/flresource.c (fl_initialize): clean-up properly if we fail to |
2438 |
create input contexts or methods. |
2439 |
|
2440 |
* lib/textbox.c (handle_textbox): |
2441 |
* lib/thumbwheel.c (handle): |
2442 |
* lib/util.c (flevent): FL_KEYBOARD has been replaced by FL_KEYPRESS. |
2443 |
The former is retained for compatability, but the latter should be |
2444 |
used internally. |