comparison lwlib/ChangeLog @ 45043:76dd94abc805

*** empty log message ***
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 30 Apr 2002 19:21:33 +0000
parents cb432afd3ca3
children af3fa518b224
comparison
equal deleted inserted replaced
45042:349d9e50e3c5 45043:76dd94abc805
15 Remove unused defines. 15 Remove unused defines.
16 16
17 * xrdb.c, xrdb-cpp.c, Imakefile, dispatch.c, dispatch.h: 17 * xrdb.c, xrdb-cpp.c, Imakefile, dispatch.c, dispatch.h:
18 Remove unused file. 18 Remove unused file.
19 19
20 * lwlib.c (instantiate_widget_instance): Remove duplicated 20 * lwlib.c (instantiate_widget_instance): Remove duplicated prototype.
21 prototype.
22 21
23 2002-04-25 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 22 2002-04-25 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
24 23
25 * lwlib-Xol.c, lwlib-Xol.h, lwlib-Xolmb.c, lwlib-Xolmb.h 24 * lwlib-Xol.c, lwlib-Xol.h, lwlib-Xolmb.c, lwlib-Xolmb.h
26 * lwlib-XolmbP.h: Remove file. 25 * lwlib-XolmbP.h: Remove file.
43 is enabled in the menu. 42 is enabled in the menu.
44 43
45 2002-04-19 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 44 2002-04-19 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
46 45
47 These changes allow moving in menu via keyboard. 46 These changes allow moving in menu via keyboard.
48 47
49 * xlwmenu.c (xlwMenuTranslations, xlwMenuActionsList): Add 48 * xlwmenu.c (xlwMenuTranslations, xlwMenuActionsList):
50 translations for cursor keys and RET. 49 Add translations for cursor keys and RET.
51 (find_next_selectable, find_prev_selectable): New functions used 50 (find_next_selectable, find_prev_selectable): New functions used
52 for finding menu-items. 51 for finding menu-items.
53 (Down, Up, Left, Right): New functions. 52 (Down, Up, Left, Right): New functions.
54 53
55 2002-04-19 Eli Zaretskii <eliz@is.elta.co.il> 54 2002-04-19 Eli Zaretskii <eliz@is.elta.co.il>
75 * lwlib-Xaw.c (xaw_create_dialog): Initialize icon_name to 74 * lwlib-Xaw.c (xaw_create_dialog): Initialize icon_name to
76 suppress compiler warnings. 75 suppress compiler warnings.
77 76
78 2001-12-18 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 77 2001-12-18 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
79 78
80 * lwlib.c (separator_names): Add missing braces around 79 * lwlib.c (separator_names): Add missing braces around initializers.
81 initializers.
82 80
83 2001-12-08 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 81 2001-12-08 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
84 82
85 * COPYING: New file. 83 * COPYING: New file.
86 84
148 * lwlib-Xaw.c (xaw_update_one_widget): Use XtSetSensitive instead 146 * lwlib-Xaw.c (xaw_update_one_widget): Use XtSetSensitive instead
149 of setting the value of XtNsensitive. 147 of setting the value of XtNsensitive.
150 148
151 * lwlib-Xm.c (xm_update_radiobox, update_one_menu_entry) 149 * lwlib-Xm.c (xm_update_radiobox, update_one_menu_entry)
152 (xm_update_one_widget): Use XtSetSensitive instead of setting the 150 (xm_update_one_widget): Use XtSetSensitive instead of setting the
153 value of XmNsensitive. From Rick Scott 151 value of XmNsensitive. From Rick Scott <rwscott@alumni.uwaterloo.ca>.
154 <rwscott@alumni.uwaterloo.ca>.
155 152
156 2000-12-14 Dave Love <fx@gnu.org> 153 2000-12-14 Dave Love <fx@gnu.org>
157 154
158 * xlwmenu.c (gray_bitmap_bits): Remove `unsigned' from 155 * xlwmenu.c (gray_bitmap_bits): Remove `unsigned' from declaration.
159 declaration.
160 156
161 2000-12-11 Dave Love <fx@gnu.org> 157 2000-12-11 Dave Love <fx@gnu.org>
162 158
163 * xlwmenu.c (draw_separator) <SEPARATOR_SHADOW_ETCHED_IN_DASH>: 159 * xlwmenu.c (draw_separator) <SEPARATOR_SHADOW_ETCHED_IN_DASH>:
164 <SEPARATOR_SHADOW_ETCHED_OUT_DASH>: Fix call of draw_separator. 160 <SEPARATOR_SHADOW_ETCHED_OUT_DASH>: Fix call of draw_separator.
251 2000-06-06 Dave Love <fx@gnu.org> 247 2000-06-06 Dave Love <fx@gnu.org>
252 248
253 * xlwmenu.c (x_alloc_nearest_color_for_widget, x_catch_errors) 249 * xlwmenu.c (x_alloc_nearest_color_for_widget, x_catch_errors)
254 (x_uncatch_errors, x_had_errors_p, x_clear_errors): Add prototypes 250 (x_uncatch_errors, x_had_errors_p, x_clear_errors): Add prototypes
255 -- should be moved into separate header. 251 -- should be moved into separate header.
256 (make_shadow_gcs) <x_alloc_nearest_color_for_widget>: Cast first 252 (make_shadow_gcs) <x_alloc_nearest_color_for_widget>: Cast first arg.
257 arg.
258 (Start) <pop_up_menu>: Cast second arg. 253 (Start) <pop_up_menu>: Cast second arg.
259 254
260 * lwlib.c (P_): Use PROTOTYPES. 255 * lwlib.c (P_): Use PROTOTYPES.
261 (safe_strdup): Declare arg const. 256 (safe_strdup): Declare arg const.
262 (lw_modify_all_widgets) <!info>: Return 0. 257 (lw_modify_all_widgets) <!info>: Return 0.
329 callback XtNhighlightCallback. 324 callback XtNhighlightCallback.
330 325
331 * lwlib.c (copy_widget_value_tree): Copy help string. 326 * lwlib.c (copy_widget_value_tree): Copy help string.
332 (free_widget_value_tree): Free help string. 327 (free_widget_value_tree): Free help string.
333 (merge_widget_value): Handle help string. 328 (merge_widget_value): Handle help string.
334 (allocate_widget_info, lw_register_widget, lw_create_widget): Add 329 (allocate_widget_info, lw_register_widget, lw_create_widget):
335 parameter HIGHLIGHT_CB. 330 Add parameter HIGHLIGHT_CB.
336 (lw_get_widget_instance): New function. 331 (lw_get_widget_instance): New function.
337 332
338 * lwlib-int.h: Add prototype for lw_get_widget_instance. 333 * lwlib-int.h: Add prototype for lw_get_widget_instance.
339 334
340 * lwlib.h (_widget_value): Add help string. 335 * lwlib.h (_widget_value): Add help string.
357 * lwlib-Xm.c, lwlib.c: 352 * lwlib-Xm.c, lwlib.c:
358 Do not include <stdlib.h> or <string.h>, as <config.h> does this. 353 Do not include <stdlib.h> or <string.h>, as <config.h> does this.
359 354
360 1999-10-07 Gerd Moellmann <gerd@gnu.org> 355 1999-10-07 Gerd Moellmann <gerd@gnu.org>
361 356
362 * lwlib-Xm.c (make_menu_in_widget, update_one_menu_entry): Use 357 * lwlib-Xm.c (make_menu_in_widget, update_one_menu_entry):
363 widgets instead of gadgets to be able to set colors. 358 Use widgets instead of gadgets to be able to set colors.
364 359
365 1999-09-17 Richard Stallman <rms@gnu.org> 360 1999-09-17 Richard Stallman <rms@gnu.org>
366 361
367 * lwlib-Xaw.c (wm_delete_window): Check all the shell's children, 362 * lwlib-Xaw.c (wm_delete_window): Check all the shell's children,
368 not just the first, to find the dialog box. 363 not just the first, to find the dialog box.
369 364
370 1999-09-14 Gerd Moellmann <gerd@gnu.org> 365 1999-09-14 Gerd Moellmann <gerd@gnu.org>
371 366
372 * lwlib.c (lw_separator_p): Check for new-style separators 367 * lwlib.c (lw_separator_p): Check for new-style separators differently.
373 differently.
374 368
375 1999-09-10 Gerd Moellmann <gerd@gnu.org> 369 1999-09-10 Gerd Moellmann <gerd@gnu.org>
376 370
377 * lwlib.c (lw_separator_p): Add `--:space' with the same 371 * lwlib.c (lw_separator_p): Add `--:space' with the same
378 meaning as `--:noLine'. 372 meaning as `--:noLine'.
381 375
382 * lwlib.c (lw_separator_p): Add alternative separator type names. 376 * lwlib.c (lw_separator_p): Add alternative separator type names.
383 377
384 1999-09-03 Gerd Moellmann <gerd@gnu.org> 378 1999-09-03 Gerd Moellmann <gerd@gnu.org>
385 379
386 * xlwmenu.c (make_shadow_gcs): Call 380 * xlwmenu.c (make_shadow_gcs): Call x_alloc_nearest_color_for_widget.
387 x_alloc_nearest_color_for_widget.
388 381
389 1999-07-12 Gerd Moellmann <gerd@gnu.org> 382 1999-07-12 Gerd Moellmann <gerd@gnu.org>
390 383
391 * lwlib-Xm.c: Add function prototypes. 384 * lwlib-Xm.c: Add function prototypes.
392 385
404 (display_menu_item): Call it. 397 (display_menu_item): Call it.
405 (separator_height): New. 398 (separator_height): New.
406 (size_menu_item): Call it. 399 (size_menu_item): Call it.
407 400
408 * lwlib-Xm.c (all_dashes_p): Removed. 401 * lwlib-Xm.c (all_dashes_p): Removed.
409 (make_menu_in_widget): Use lw_separator_p. Set Motif separator 402 (make_menu_in_widget): Use lw_separator_p. Set Motif separator type.
410 type.
411 403
412 * lwlib.c (lw_separator_p): New. 404 * lwlib.c (lw_separator_p): New.
413 405
414 * lwlib.h (enum menu_separator): New. 406 * lwlib.h (enum menu_separator): New.
415 407
753 * lwlib-Xm.c (remove_grabs): Use type Widget for `menu'. 745 * lwlib-Xm.c (remove_grabs): Use type Widget for `menu'.
754 746
755 1995-02-15 Paul Reilly <pmr@geech.gnu.ai.mit.edu> 747 1995-02-15 Paul Reilly <pmr@geech.gnu.ai.mit.edu>
756 748
757 * Makefile.in (ALL_CFLAGS): Allow include files to be found in 749 * Makefile.in (ALL_CFLAGS): Allow include files to be found in
758 `srcdir'. 750 `srcdir'.
759 751
760 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu> 752 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
761 753
762 * Makefile.in (maintainer-clean): Renamed from realclean. 754 * Makefile.in (maintainer-clean): Renamed from realclean.
763 755
805 * xlwmenu.c (fit_to_screen): Don't put the menu off the left or top. 797 * xlwmenu.c (fit_to_screen): Don't put the menu off the left or top.
806 798
807 1994-10-02 Paul Reilly <pmr@geech.gnu.ai.mit.edu> 799 1994-10-02 Paul Reilly <pmr@geech.gnu.ai.mit.edu>
808 800
809 * xlwmenu.c (display_menu_item): Add support for displaying the 801 * xlwmenu.c (display_menu_item): Add support for displaying the
810 title in pop up menus. 802 title in pop up menus.
811 803
812 * lwlib.c (lw_set_main_areas): Use xm_set_main_areas(). 804 * lwlib.c (lw_set_main_areas): Use xm_set_main_areas().
813 (lw_manage_resizing): Use xm_manage_resizing() for Emacs/Motif. 805 (lw_manage_resizing): Use xm_manage_resizing() for Emacs/Motif.
814 806
815 1994-09-25 Paul Reilly <pmr@geech.gnu.ai.mit.edu> 807 1994-09-25 Paul Reilly <pmr@geech.gnu.ai.mit.edu>
816 808
817 * lwlib-Xaw.c (xaw_create_main): New function to support the 809 * lwlib-Xaw.c (xaw_create_main): New function to support the
818 toolkit independent creation of the main Emacs widget. * 810 toolkit independent creation of the main Emacs widget. *
819 lwlib-Xlw.c (xlw_create_menubar): When compiling under Emacs, set 811 lwlib-Xlw.c (xlw_create_menubar): When compiling under Emacs, set
820 resizing resources to disable showGrip and to enable both 812 resizing resources to disable showGrip and to enable both
821 resizeToPreferred and allowShellResize. 813 resizeToPreferred and allowShellResize.
822 814
823 * lwlib-Xm.h: Declare xm_set_main_areas, xm_manage_resizing. 815 * lwlib-Xm.h: Declare xm_set_main_areas, xm_manage_resizing.
824 816
825 * lwlib-Xm.c: (make_menu_in_widget): Add support for displaying a 817 * lwlib-Xm.c: (make_menu_in_widget): Add support for displaying a
826 title in pop up menus. 818 title in pop up menus.
836 margin of 10 pixels. 828 margin of 10 pixels.
837 829
838 1994-09-16 Paul Reilly <pmr@geech.gnu.ai.mit.edu> 830 1994-09-16 Paul Reilly <pmr@geech.gnu.ai.mit.edu>
839 831
840 * lwlib-Xm.c (make_main): New function to support toolkit 832 * lwlib-Xm.c (make_main): New function to support toolkit
841 independent creation of the main Emacs widget. 833 independent creation of the main Emacs widget.
842 (make_destroyed_instance): Use safe_strdup() instead of strdup(). 834 (make_destroyed_instance): Use safe_strdup() instead of strdup().
843 835
844 * lwlib-int.h: Declare safe_strdup. 836 * lwlib-int.h: Declare safe_strdup.
845 837
846 * lwlib.c (lw_refigure_widget): New function. Handle geometry 838 * lwlib.c (lw_refigure_widget): New function. Handle geometry
847 management inside lwlib instead of in Emacs. 839 management inside lwlib instead of in Emacs.
848 (lw_window_is_in_menubar): New function. Determine if the pointer 840 (lw_window_is_in_menubar): New function. Determine if the pointer
849 is in a menubar. 841 is in a menubar.
850 (lw_set_main_areas): New function. Set the main window widgets for 842 (lw_set_main_areas): New function. Set the main window widgets for
851 Motif. 843 Motif.
852 844
855 847
856 * xlwmenu.h: Define Xt{Ns,CS}howGrip, Xt{Nr,CR}esizeToPreferred, and 848 * xlwmenu.h: Define Xt{Ns,CS}howGrip, Xt{Nr,CR}esizeToPreferred, and
857 Xt{Na,CA}llowResize. 849 Xt{Na,CA}llowResize.
858 850
859 * xlwmenu.c (Start): Use pop_up_menu() to post the submenus. 851 * xlwmenu.c (Start): Use pop_up_menu() to post the submenus.
860 (Select): Remove the pointer grab when popping down a menubar 852 (Select): Remove the pointer grab when popping down a menubar submenu.
861 submenu.
862 (pop_up_menu): Handle popping up submenus from a menubar, i.e. when 853 (pop_up_menu): Handle popping up submenus from a menubar, i.e. when
863 the menu widget parent is not a shell widget. 854 the menu widget parent is not a shell widget.
864 855
865 1994-08-25 Richard Stallman <rms@mole.gnu.ai.mit.edu> 856 1994-08-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
866 857
1098 1994-01-22 Roland McGrath (roland@churchy.gnu.ai.mit.edu) 1089 1994-01-22 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
1099 1090
1100 * Makefile (xrdb-cpp.o, lwlib.o): Use $(srcdir) and file name 1091 * Makefile (xrdb-cpp.o, lwlib.o): Use $(srcdir) and file name
1101 instead of $*. 1092 instead of $*.
1102 (dispatch.o, xrdb.o, lwlib-Xm.o): Rules removed; they were 1093 (dispatch.o, xrdb.o, lwlib-Xm.o): Rules removed; they were
1103 superfluous and didn't work when configured outside srcdir. The 1094 superfluous and didn't work when configured outside srcdir.
1104 implicit .c.o rule works fine. 1095 The implicit .c.o rule works fine.
1105 1096
1106 1994-01-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) 1097 1994-01-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1107 1098
1108 * xlwmenu.c (resource_widget_value): Avoid using strdup. 1099 * xlwmenu.c (resource_widget_value): Avoid using strdup.
1109 1100
1122 ;; Local Variables: 1113 ;; Local Variables:
1123 ;; coding: iso-2022-7bit-unix 1114 ;; coding: iso-2022-7bit-unix
1124 ;; End: 1115 ;; End:
1125 1116
1126 Copyright (C) 1995, 1996, 1997, 1998, 1999, 2001, 2002 1117 Copyright (C) 1995, 1996, 1997, 1998, 1999, 2001, 2002
1127 Free Software Foundation, Inc. 1118 Free Software Foundation, Inc.
1128 Copying and distribution of this file, with or without modification, 1119 Copying and distribution of this file, with or without modification,
1129 are permitted provided the copyright notice and this notice are preserved. 1120 are permitted provided the copyright notice and this notice are preserved.