Source

xemacs-beta / lwlib / ChangeLog

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
2000-07-19  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.35 is released.

2000-07-09  Martin Buchholz  <martin@xemacs.org>

	* xlwcheckbox.c:
	* xlwgauge.h:
	* xlwgaugeP.h:
	* xlwradio.h:
	* xlwradioP.h:
	* xlwgauge.c:
	* config.h.in:
	* xlwradio.c:
	* lwlib-Xaw.c:
	Replace SMART_INCLUDE with a dumber, but more reliable method.

	* xlwmenu.c (parameterize_string): Fix C++ compilation warnings.

2000-06-10  Ben Wing  <ben@xemacs.org>

	* lwlib-Xaw.c (xaw_create_label): add sanity check on arg limit.
	(xaw_update_one_value): fix crash due to incorrect arg count.

2000-05-28  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.34 is released.

2000-05-01  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.33 is released.

2000-04-19  Martin Buchholz  <martin@xemacs.org>

	* lwlib.c (lw_destroy_everything): Always use full ANSI prototypes.
	* lwlib.c (lw_destroy_all_pop_ups): Always use full ANSI prototypes.

2000-04-12  Andy Piper  <andy@xemacs.org>

	* lwlib-Xaw.c (xaw_update_one_widget): no-op for text widgets.
	(xaw_update_one_value): Get strings safely.
	(xaw_create_text_field): add some extra properties.

2000-04-05  Andy Piper  <andy@xemacs.org>

	* lwlib-Xaw.c (lw_xaw_widget_p): include asciiTextWidgetClass as
	an athena widget.

2000-04-05  Andy Piper  <andy@xemacs.org>

	* xlwradio.c (RadioSetValues): resize if position information has
	changed.

	* lwlib-Xm.c (xm_create_text_field): text fields should be enabled
	even if there is no callback.
	* lwlib-Xaw.c (xaw_create_text_field): ditto.

2000-04-03  Andy Piper  <andy@xemacs.org>

	* lwlib.c (merge_widget_value_args): only merge when the two args
	are actually different.

2000-03-21  Didier Verna  <didier@xemacs.org>

	* config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 to
	src/config.h.in.
	* config.h.in (ATHENA_INCLUDE): use the `SMART_INCLUDE' macro.

2000-03-20  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.32 is released.

2000-03-14  Ben Wing  <ben@xemacs.org>

	* xlwmenu.c (massage_resource_name): Handle %_ and %%.

2000-02-20  Gunnar Evermann  <ge204@eng.cam.ac.uk>

	* xlwscrollbar.c (get_gc): Always check for XmUNSPECIFIED_PIXMAP
	even if we are only 'compatible' with the Motif resources.
	(XmUNSPECIFIED_PIXMAP): Define unconditionally.

2000-02-23  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.31 is released.

2000-02-22  Andy Piper  <andy@xemacs.org>

	* lwlib-Xm.c (xm_update_one_widget): set widget args last in case
	anything messes with them in the meantime.
	* lwlib-Xlw.c (xlw_update_one_widget): ditto.
	* lwlib-Xaw.c (xaw_update_one_widget): ditto.

2000-02-21  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.30 is released.

2000-02-21  Andy Piper  <andy@xemacs.org>

	* lwlib.c (merge_widget_value_args): don't delete the args before
	copying, lw_copy_widget_value_args will do this for us if
	necessary.
	(lw_add_widget_value_arg): Allow existing args to be replaced.
	(free_widget_value_args): Set args to 0 rather than 0xdeadbeef,
	reference couting works better that way.
	(lw_copy_widget_value_args): Do the right thing.

	* lwlib-Xm.c (xm_create_progress): Make sensitive as this looks
	much better.
	* lwlib-Xaw.c (xaw_create_progress): ditto.

2000-02-12  Jan Vroonhof  <vroonhof@math.ethz.ch>

	* xlwmenu.h (XmUNSPECIFIED_PIXMAP): Define this if we are using Motif
	compatible resource names.

	* xlwmenu.c (make_shadow_gcs): Always check for XmUNSPECIFIED_PIXMAP
	even if we are only 'compatible' with the Motif resources.

2000-02-15  Andy Piper  <andy@xemacs.org>

	* xlwgauge.c (GaugeExpose): remove shadows.

2000-02-16  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.29 is released.

2000-02-09  Valdis Kletnieks  <Valdis.Kletnieks@vt.edu>

	* config.h.in (ATHENA_INCLUDE): Workaround bugs in both xlc and
	old gccs.

2000-02-07  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.28 is released.

2000-01-25  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c (TabsChangeManaged): Make sure we unmanage the hilight
	widget as well.

2000-01-28  Martin Buchholz  <martin@xemacs.org>

	* xlwgauge.c (GaugeConvert): bcopy ==> memcpy

2000-01-24  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c (XawTabsSetTop): Unhighlight before changing the
	stacking order.
	(XawTabsSetHighlight): Don't unhighlight here.

2000-01-22  Martin Buchholz  <martin@xemacs.org>

	* *.h: Use consistent C-standards-approved guard macro names.

2000-01-18  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.27 is released.

2000-01-15  Andy Piper  <andy@xemacs.org>

	* lwlib-Xlw.c (lw_update_one_widget): make sure global
	properties gets set.

2000-01-07  Martin Buchholz  <martin@xemacs.org>

	* config.h.in (ATHENA_INCLUDE): CPP trickery to make old cpps happy.
	This extends support for gcc 2.6 (e.g. on BSD/OS 2.0)

	* lwlib.c: Fix up memset calls.

	* lwlib-Xm.c (xm_update_text): Warning suppression.
	(xm_update_text_field): Warning suppression.

2000-01-03  Martin Buchholz  <martin@xemacs.org>

	* lwlib-Xaw.c (xaw_update_one_widget): Emergency fix for this crash:
	(yes-or-no-p-dialog-box "Yes or No")

1999-12-31  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.26 is released.

1999-12-29  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c (TabsHighlight): use displayChildren for highlighting
	not num_children.
	(TabsPage): ditto.

1999-12-24  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.25 is released.

1999-12-23  Andy Piper  <andy@xemacs.org>

	* lwlib.c (lw_copy_widget_value_args): don't create empty
	widget_args just because someone might use them later. This makes
	all widgets look like they've changed.

1999-12-22  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c: Fix for X11R5 from Damon Lipparelli
	<lipp@primus.com>.

1999-12-21  Martin Buchholz  <martin@xemacs.org>

	* xlwscrollbar.c (seg_pixel_sizes): ((expr)) ==> (expr)

1999-12-12  Daniel Pittman  <daniel@danann.net>

	* lwlib-Xaw.c:
	* xlwcheckbox.c:
	* xlwgauge.h:
	* xlwgaugeP.h:
	* xlwradio.c:
	* xlwradio.h:
	* xlwradioP.h:
	Clean up Athena widget support:
	- Athena headers now use dynamic include paths.

1999-12-08  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c: sync with Tabs 2.2.
	* xlwtabP.h: ditto.

1999-12-14  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.24 is released.

1999-12-14  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c (TabsResize): reset need_layout so that we don't go
	into infloop death.

1999-12-14  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c (TabsSetValues): re-allocate GCs if font has changed.

1999-12-13  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c (TabsResize): We need to expose the tabs after
	clearing the window they are in.

1999-12-08  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c: sync with Tabs 2.1.

1999-12-07  Andy Piper  <andy@xemacs.org>

	* lwlib-Xlw.c (lw_lucid_widget_p): make sure we pick up the
	clip-window as well.

1999-12-07  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.23 is released.

1999-12-05  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c: back up to previous rev to make syncing easier. Fix
	gcc moans.

	* lwlib-Xaw.c (xaw_update_one_widget): use XtIsSubclass.

1999-11-29  XEmacs Build Bot <builds@cvs.xemacs.org>

	* XEmacs 21.2.22 is released

1999-11-28  Martin Buchholz <martin@xemacs.org>

	* XEmacs 21.2.21 is released.

1999-11-26  Martin Buchholz  <martin@xemacs.org>

	* xlwtabs.c: Remove unused variables.  Fix warnings.

1999-11-10  XEmacs Build Bot <builds@cvs.xemacs.org>

	* XEmacs 21.2.20 is released

1999-09-09  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c: updated tabs widget from Ed Falk.
	* xlwtabs.h: ditto.
	* xlwtabsP.h: ditto.

1999-09-22  Martin Buchholz  <martin@xemacs.org>

	* lwlib-internal.h:
	* lwlib-utils.h:
	Move declaration of destroy_all_children from lwlib-internal.h to
	lwlib-utils.h, where it belongs.

1999-09-21  Andy Piper  <andy@xemacs.org>

	* lwlib-Xm.c (xm_update_label): don't clobber pixmap type labels
 	with text.

1999-09-22  Martin Buchholz  <martin@xemacs.org>

	* xlwtabs.c: Fix C++ compilability.

1999-09-18  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c: Put in tabs sync because clipping should fix useability
 	problems.

1999-09-13  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c: Back out tabs sync because of reported useability
 	problems.

1999-09-09  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c: updated tabs widget from Ed Falk.
	* xlwtabs.h: ditto.
	* xlwtabsP.h: ditto.
	* xlwgcs.c: ditto.
	* xlwgcs.h: ditto.

1999-09-03  Martin Buchholz  <martin@xemacs.org>

	* xlwgauge.c: Ansify.
	Include <stdlib.h> to get prototype for atoi().
	(GaugeSelect): Call GaugeExpose with the right number of args.
	(GaugeLoseSel): Call GaugeExpose with the right number of args.
	(GaugeConvert): This is a XtConvertSelectionProc,
	so 5th parameter must be of type XtPointer, not XPointer.
	(GaugeGetValue): This is a XtTimerCallbackProc,
	so 2nd parameter must be of type XtIntervalId *, not XtIntervalId.


1999-09-01  Martin Buchholz  <martin@xemacs.org>

	* lwlib.c (free_widget_value_contents): Use proper type for cast.

	* xlwradio.c: Use function prototypes everywhere.
	* xlwcheckbox.c:
	* xlwradio.c:
	* xlwradioP.h: Move declarations of non-static functions defined
	in xlwradio.c into xlwradioP.h.

1999-09-02  Andy Piper  <andy@xemacs.org>

	* xlwgcs.c: include xmu.h

1999-09-01  Andy Piper  <andy@xemacs.org>

	* xlwgauge.c: rearrange headers yet again.
	* xlwcheckbox.c: ditto.
	* xlwradio.c: ditto.
	* xlwtabs.c: ditto.

1999-09-01  Andy Piper  <andy@xemacs.org>

	* xlwgauge.c: use xmu.h
	* xlwcheckbox.c: ditto.
	* xlwradio.c: ditto.

1999-08-31  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c:
	* xlwgcs.c:
	* xlwradio.c:
	* xlwcheckbox.c:
	* xlwgauge.c: Fix for losing systems without Xmu.

1999-08-31  Andy Piper  <andy@xemacs.org>

	* lwlib-Xm.c (xm_update_one_widget): fix for AIX compiler lossage.

1999-08-30  Andy Piper  <andy@xemacs.org>

	* lwlib.c (free_widget_value_contents): be more precise about
 	freeing user defined args.

	* lwlib-Xaw.c (xaw_update_one_widget): make sure we use val not
 	its contents for hierarchies one deep.

1999-08-29  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c: temporary fixes pending a new release.
	* xlwtabsP.h: ditto.

	* lwlib-Xm.c (xm_update_one_widget): update user defined args.
	(xm_create_label): set args after creation as well as before.

	* lwlib-Xlw.c (xlw_create_tab_control): orient tabs horizontally.
	(xlw_update_tab_control): actually update the children rather than
 	the parent.

	* lwlib-Xaw.c (xaw_update_one_widget): update user defined args.
	(xaw_create_label): set args after creation as well as before.

1999-08-23  Andy Piper  <andy@xemacs.org>

	* lwlib-Xm.c (xm_update_label): don't concatenate value to itself.

	* lwlib-Xm.c (xm_create_label_field): new function for creating labels.
	(xm_creation_table): use it.

	* lwlib-Xaw.c (xaw_create_label_field): new function for creating labels.
	(xaw_creation_table): use it.

1999-08-16  Andy Piper  <andy@xemacs.org>

	* lwlib.h: declare free_widget_value_tree.

	* lwlib.c (free_widget_value_tree): make non-static.

	* lwlib-Xm.c (xm_update_label): free val_string when updating.

1999-08-04  Andy Piper  <andy@xemacs.org>

	* lwlib-Xm.c (mark_dead_instance_destroyed): change so that its
 	defined for widgets.
	(xm_nosel_callback): ditto.

	* xlwtabsP.h: sync with 1.5.

	* xlwtabs.c: sync with 1.18.

1999-07-28  Andy Piper  <andy@xemacs.org>

	* xlwtabs.c: new lucid tabs widget from Ed Falk.
	* xlwtabs.h: ditto.
	* xlwtabsP.h: ditto.
	* xlwgcs.c: GC manipulation for tab widgets.
	* xlwgcs.h: ditto.

	* xlwgauge.c: new athena gauge widget from Ed Falk.
	* xlwgauge.h: ditto.
	* xlwgaugeP.h: ditto.

	* xlwradio.c: new athena radio widget from Ed Falk.
	* xlwradio.h: ditto.
	* xlwradioP.h: ditto.

	* xlwcheckbox.c: new athena checkbox widget from Ed Falk.
	* xlwcheckbox.h: ditto.
	* xlwcheckboxP.h: ditto.

	* lwlib-utils.c (destroy_all_children): moved from lwlib-Xm.c.

	* lwlib-internal.h: declare destroy_all_children.

	* lwlib-config.c: add widget checks.

	* lwlib-Xm.h: declare xm_create_label;

	* lwlib-Xm.c (destroy_all_children): move to lwlib-utils.c.
	(xm_update_label): enable for widgets.
	(xm_update_one_widget): ditto.
	(xm_create_button): rename in line with lwlib-Xaw.c
	(xm_create_progress): ditto.
	(xm_create_text_field): ditto.
	(xm_create_combo_box): ditto.
	(xm_create_label): new function.
	(xm_creation_table): rename widget creation functions.
	(xm_destroy_instance): enable for widgets.
	(xm_generic_callback): ditto.
	(xm_generic_callback): ditto.

	* lwlib-Xlw.c (xlw_tab_control_callback): new function. a special
 	callback that calls the correct function depending on what tab is
 	selected.
	(xlw_create_tab_control): new function.
	(build_tabs_in_widget): new function. puts tabs in a tab widget,
 	uses Xaw or Xm depending on how XEmacs was compiled.
	(xlw_update_tab_control): update the resources for each
 	tab. optionally rebuild the contents of the tab widget.
	(xlw_creation_table): add tab widget creation function.
	(lw_lucid_widget_p): add tab widget.
	(xlw_update_one_widget): ditto.

	* lwlib-Xaw.h: declare xaw_create_label;

	* lwlib-Xaw.c (lw_xaw_widget_p): add widgets classes.
	(xaw_update_one_widget): ditto.
	(xaw_update_one_value): add code from the Xm version.
	(xaw_generic_callback): add Xm hack for setting command
 	states. beef up lookup of call data.
	(xaw_create_button): new function.
	(xaw_create_label): new function for use by tab widget.
	(xaw_create_progress): new function.
	(xaw_create_text_field): new function.
	(xaw_creation_table): add new widget type creation functions.

	* Makefile.in.in: add dependencies for new lw widgets.

1999-07-30  XEmacs Build Bot <builds@cvs.xemacs.org>

	* XEmacs 21.2.19 is released

1999-07-13  XEmacs Build Bot <builds@cvs.xemacs.org>

	* XEmacs 21.2.18 is released

1999-07-05  Didier Verna  <didier@xemacs.org>

	* lwlib-Xm.c (xm_update_one_widget): add missing #ifdefs around
	call to xm_update_label.

1999-06-28  Andy Piper  <andy@xemacs.org>

	* lwlib-Xm.c: unconditionally enable text field & list code.
	(make_progress): new function. creates a slider.
	(make_text_field): new function. creates an edit field.
	(make_combo_box): new function. creates a combo box.
	(xm_creation_table): add new widget functions.

1999-06-25  Andy Piper  <andy@xemacs.org>

	* lwlib.h (_widget_value): add arglist slots.
	declare new functions.

	* lwlib.c (free_widget_value_contents): handle arglists when
 	freeing.
	(lw_add_value_args_to_args): new function. add arglist entries
 	from a widget_value structure.

	* lwlib-Xm.c (make_button): new function, create a motif button
 	for display in a buffer as a glyph.
	(xm_creation_table): add make_button.

1999-06-22  XEmacs Build Bot <builds@cvs.xemacs.org>

	* XEmacs 21.2.17 is released

1999-06-11  XEmacs Build Bot <builds@cvs.xemacs.org>

	* XEmacs 21.2.16 is released

1999-06-04  XEmacs Build Bot <builds@cvs.xemacs.org>

	* XEmacs 21.2.15 is released

1999-05-17  Jerry James  <jerry@cs.ucsb.edu>

	* xlwmenu.c (make_shadow_gcs): Test bottom_shadow_pixmap before
	using it.

1999-05-14  XEmacs Build Bot <builds@cvs.xemacs.org>

	* XEmacs 21.2.14 is released

1999-03-12  XEmacs Build Bot <builds@cvs.xemacs.org>

	* XEmacs 21.2.13 is released

1999-03-05  XEmacs Build Bot <builds@cvs.xemacs.org>

	* XEmacs 21.2.12 is released

1999-02-18  Martin Buchholz  <martin@xemacs.org>

	* lwlib/xlwmenu.c (massage_resource_name): Fix compiler warning
	- Have to toupper ((int) (unsigned char) x) to be portable.