Mercurial > emacs
annotate lwlib/ChangeLog @ 28018:dade22d104f2
Modify comment about coding system
property `coding-category'.
(make-coding-system): New argument EOL-TYPE. Pay attention to
coding-category property of PROPERTIES.
| author | Kenichi Handa <handa@m17n.org> |
|---|---|
| date | Tue, 07 Mar 2000 06:15:36 +0000 |
| parents | 668aa57aa4bc |
| children | ee660e36891c |
| rev | line source |
|---|---|
| 28016 | 1 2000-03-06 Gerd Moellmann <gerd@gnu.org> |
| 2 | |
| 3 * lwlib-Xm.c (make_menubar): Set XmNresizeHeight and | |
| 4 XmNresizeWidth resources only if LESSTIF_VERSION is defined. | |
| 5 | |
| 27999 | 6 2000-03-05 Gerd Moellmann <gerd@gnu.org> |
| 7 | |
| 8 * lwlib-Xm.c (xm_manage_resizing): Rewritten. | |
| 9 | |
| 10 * lwlib.c (lw_modify_all_widgets): Return non-zero if widget | |
| 11 tree was changed. | |
| 12 (merge_widget_value): Add parameter CHANGE_P. Set *CHANGE_P | |
| 13 to 1 if a change occurs. | |
| 14 | |
| 15 * lwlib.h (lw_modify_all_widgets): Change prototype. | |
| 16 | |
| 27989 | 17 2000-03-04 Gerd Moellmann <gerd@gnu.org> |
| 18 | |
| 19 * xlwmenu.c (make_shadow_gcs): Use the widget's colormap instead | |
| 20 of the screen's default colormap. | |
| 21 | |
| 27757 | 22 2000-02-18 Gerd Moellmann <gerd@gnu.org> |
| 23 | |
| 24 * lwlib.c (merge_widget_value): Fix incorrect assignment of | |
| 25 safe_strdup'd help string. | |
| 26 | |
| 27433 | 27 2000-01-25 Gerd Moellmann <gerd@gnu.org> |
| 28 | |
| 29 * lwlib-Xm.c (make_menu_in_widget): Don't add XmNpopdownCallback, | |
| 30 add XmNunmapCallback. | |
| 31 (xm_unmap_callback): New function. | |
| 32 (xm_pull_down_callback): Call pre-activate callback only if | |
| 33 parent is the menu bar. | |
| 34 | |
| 27344 | 35 2000-01-17 Gerd Moellmann <gerd@gnu.org> |
| 36 | |
| 37 * lwlib-Xm.c (xm_arm_callback): New function. | |
| 38 (make_menu_in_widget): Set xm_arm_callback as XmNarmCallback and | |
| 39 XmNdisarmCallback for buttons (not supported for other widgets). | |
| 27347 | 40 (make_menubar): Set XmNresizeHeight and XmNresizeWidth to False. |
| 27344 | 41 |
| 42 * lwlib-Xlw.c (highlight_hook): New function. | |
| 43 (xlw_create_menubar, xlw_create_popup_menu): Add highlight_hook as | |
| 44 callback XtNhighlightCallback. | |
| 45 | |
| 46 * lwlib.c (copy_widget_value_tree): Copy help string. | |
| 47 (free_widget_value_tree): Free help string. | |
| 48 (merge_widget_value): Handle help string. | |
| 49 (allocate_widget_info, lw_register_widget, lw_create_widget): Add | |
| 50 parameter HIGHLIGHT_CB. | |
| 51 (lw_get_widget_instance): New function. | |
| 52 | |
| 53 * lwlib-int.h: Add prototype for lw_get_widget_instance. | |
| 54 | |
| 55 * lwlib.h (_widget_value): Add help string. | |
| 56 | |
| 57 * xlwmenu.c (xlwMenuResources): All XtNhighlightCallback. | |
| 58 (remap_menubar): Call highlight callback. | |
| 59 | |
| 60 * xlwmenu.h (XtNhighlightCallback): New define. | |
| 61 | |
| 62 * xlwmenuP.h (_XlwMenu_part): Add `highlight' callback list. | |
| 63 | |
|
26087
e0d966fb548f
Add support for large files, plus some locale improvements.
Paul Eggert <eggert@twinsun.com>
parents:
25886
diff
changeset
|
64 1999-10-19 Paul Eggert <eggert@twinsun.com> |
|
e0d966fb548f
Add support for large files, plus some locale improvements.
Paul Eggert <eggert@twinsun.com>
parents:
25886
diff
changeset
|
65 |
|
e0d966fb548f
Add support for large files, plus some locale improvements.
Paul Eggert <eggert@twinsun.com>
parents:
25886
diff
changeset
|
66 Add support for large files, plus some locale improvements. |
|
e0d966fb548f
Add support for large files, plus some locale improvements.
Paul Eggert <eggert@twinsun.com>
parents:
25886
diff
changeset
|
67 |
|
e0d966fb548f
Add support for large files, plus some locale improvements.
Paul Eggert <eggert@twinsun.com>
parents:
25886
diff
changeset
|
68 * dispatch.c, lwlib-Xaw.c, lwlib-Xlw.c, lwlib-Xm.c, lwlib.c, xlwmenu.c, |
|
e0d966fb548f
Add support for large files, plus some locale improvements.
Paul Eggert <eggert@twinsun.com>
parents:
25886
diff
changeset
|
69 xrdb-cpp.c, xrdb.c: |
|
e0d966fb548f
Add support for large files, plus some locale improvements.
Paul Eggert <eggert@twinsun.com>
parents:
25886
diff
changeset
|
70 Include <config.h> before any system include files. |
|
e0d966fb548f
Add support for large files, plus some locale improvements.
Paul Eggert <eggert@twinsun.com>
parents:
25886
diff
changeset
|
71 |
|
e0d966fb548f
Add support for large files, plus some locale improvements.
Paul Eggert <eggert@twinsun.com>
parents:
25886
diff
changeset
|
72 * lwlib-Xm.c, lwlib.c: |
|
e0d966fb548f
Add support for large files, plus some locale improvements.
Paul Eggert <eggert@twinsun.com>
parents:
25886
diff
changeset
|
73 Do not include <stdlib.h> or <string.h>, as <config.h> does this. |
|
e0d966fb548f
Add support for large files, plus some locale improvements.
Paul Eggert <eggert@twinsun.com>
parents:
25886
diff
changeset
|
74 |
| 25886 | 75 1999-10-07 Gerd Moellmann <gerd@gnu.org> |
| 76 | |
| 77 * lwlib-Xm.c (make_menu_in_widget, update_one_menu_entry): Use | |
| 78 widgets instead of gadgets to be able to set colors. | |
| 79 | |
| 25861 | 80 1999-09-17 Richard Stallman <rms@gnu.org> |
| 81 | |
| 82 * lwlib-Xaw.c (wm_delete_window): Check all the shell's children, | |
| 83 not just the first, to find the dialog box. | |
| 84 | |
| 85 1999-09-14 Gerd Moellmann <gerd@gnu.org> | |
| 86 | |
| 87 * lwlib.c (lw_separator_p): Check for new-style separators | |
| 88 differently. | |
| 89 | |
| 90 1999-09-10 Gerd Moellmann <gerd@gnu.org> | |
| 91 | |
| 92 * lwlib.c (lw_separator_p): Add `--:space' with the same | |
| 93 meaning as `--:noLine'. | |
| 94 | |
| 95 1999-09-06 Gerd Moellmann <gerd@gnu.org> | |
| 96 | |
| 97 * lwlib.c (lw_separator_p): Add alternative separator type names. | |
| 98 | |
| 99 1999-09-03 Gerd Moellmann <gerd@gnu.org> | |
| 100 | |
| 101 * xlwmenu.c (make_shadow_gcs): Call | |
| 102 x_alloc_nearest_color_for_widget. | |
| 103 | |
| 27349 | 104 1999-07-12 Gerd Moellmann <gerd@gnu.org> |
| 105 | |
| 106 * lwlib-Xm.c: Add function prototypes. | |
| 107 | |
| 108 * lwlib-Xm.c (xm_update_label): Use val->name to look up | |
| 109 a label string from resources. | |
| 110 (xm_update_label): Add some comments. | |
| 111 | |
| 112 1999-07-12 Gerd Moellmann <gerd@gnu.org> | |
| 113 | |
| 114 * xlwmenu.c (all_dashes_p): Removed. | |
| 115 (size_menu_item): Call lw_separator_p. | |
| 116 (display_menu_item): Ditto. | |
| 117 (display_menu): Ditto. | |
| 118 (draw_separator): New. | |
| 119 (display_menu_item): Call it. | |
| 120 (separator_height): New. | |
| 121 (size_menu_item): Call it. | |
| 122 | |
| 123 * lwlib-Xm.c (all_dashes_p): Removed. | |
| 124 (make_menu_in_widget): Use lw_separator_p. Set Motif separator | |
| 125 type. | |
| 126 | |
| 127 * lwlib.c (lw_separator_p): New. | |
| 128 | |
| 129 * lwlib.h (enum menu_separator): New. | |
| 130 | |
| 131 1999-07-12 Gerd Moellmann <gerd@gnu.org> | |
| 132 | |
| 133 * lwlib-Xm.c (make_menu_in_widget): Set alignment of menu | |
| 134 title after all widgets have been created. | |
| 135 | |
| 136 1999-07-12 Gerd Moellmann <gerd@gnu.org> | |
| 137 | |
| 138 * xlwmenu.c (toggle_button_width): Renamed from | |
| 139 toggle_or_radio_button_width. | |
| 140 (radio_button_width): New. | |
| 141 (size_menu_item): Use new functions. | |
| 142 (draw_shadow_rhombus): New. | |
| 143 (draw_radio): Use radio_button_width and draw_shadow_rhombus. | |
| 144 (draw_toggle): Use toggle_button_width. | |
| 145 | |
| 146 1999-07-12 Gerd Moellmann <gerd@gnu.org> | |
| 147 | |
| 148 * lwlib-Xm.c (xm_update_toggle): Add callback xm_generic_callback | |
| 149 instead of xm_internal_update_other_instances. | |
| 150 | |
| 151 * lwlib-Xm.c (make_menu_in_widget): Do help button before managing | |
| 152 children to get it to the right place. | |
| 153 (make_menu_in_widget): Create toggle buttons. | |
| 154 (update_one_menu_entry): Update toggle buttons. | |
| 155 | |
| 156 * xlwmenu.c (size_menu_item): Add parameter button_width. | |
| 157 (size_menu): Compute button_width. | |
| 158 (toggle_or_radio_button_width): New. | |
| 159 (draw_toggle): New. | |
| 160 (draw_radio): New. | |
| 161 (draw_shadow_rectangle): Add parameter `down_p'. | |
| 162 | |
| 163 * xlwmenuP.h (_window_state): Add button_width. | |
| 164 | |
| 165 1999-07-12 Gerd Moellmann <gerd@gnu.org> | |
| 166 | |
| 167 * xlwmenu.c (make_shadow_gcs) ]emacs]: Use x_alloc_nearest_color. | |
| 168 | |
| 169 * lwlib.c (merge_widget_value): Handle button_type. | |
| 170 (copy_widget_value_tree): Copy button_type. | |
| 171 | |
| 172 * lwlib.h (enum button_type): New. | |
| 173 (_widget_value): New member button_type. | |
| 174 | |
| 175 1999-07-12 Gerd Moellmann <gerd@gnu.org> | |
| 176 | |
| 177 * lwlib-Xm.c (make_menu_in_widget): Test for menubar widgets | |
| 178 using XmNrowColumnType. | |
| 179 | |
| 180 1999-07-12 Gerd Moellmann <gerd@gnu.org> | |
| 181 | |
| 182 * xlwmenu.c (abort_gracefully): New. | |
| 183 (display_menu): Use it instead of abort. | |
| 184 (size_menu): Ditto. | |
| 185 | |
| 186 1999-07-12 Gerd Moellmann <gerd@gnu.org> | |
| 187 | |
| 188 * xlwmenu.c (xlwMenuResources): Change previously unused | |
| 189 XtNmargin to 4. | |
| 190 (size_menu): Take margin into account. | |
| 191 (display_menu_item): Ditto. | |
| 192 (remap_menubar): Ditto. | |
| 193 (draw_arrow): Draw it 3D. | |
| 194 | |
| 25842 | 195 1999-07-12 Richard Stallman <rms@gnu.org> |
| 196 | |
| 197 * Version 20.4 released. | |
| 198 | |
| 199 1998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu> | |
| 200 | |
| 201 * Version 20.3 released. | |
| 202 | |
| 203 1998-07-30 Paul Eggert <eggert@twinsun.com> | |
| 204 | |
| 205 * lwlib/Makefile.in (lwlib-utils.o, lwlib.o, lwlib-Xlw.o) | |
| 206 (lwlib-Xaw.o, lwlib-Xm.o, lwlib-Xol.o, lwlib-Xolmb.o): | |
| 207 Add dependencies to corresponding .c files. for Solaris 2.x VPATH make. | |
| 208 | |
| 209 1998-04-06 Andreas Schwab <schwab@gnu.org> | |
| 210 | |
| 211 * lwlib.c: Always declare xmalloc. | |
| 212 [USE_XAW]: Include <X11/Xaw/Paned.h>. | |
| 213 (lwlib_memset, lwlib_bcopy): Explicitly declare return type. | |
| 214 | |
| 215 1997-12-20 Richard Stallman <rms@delysid.gnu.org> | |
| 216 | |
| 217 * lwlib-Xm.c (update_one_menu_entry): | |
| 218 Add conditional in case XmNpositionIndex is missing. | |
| 219 | |
| 220 1997-12-20 Richard Stallman <rms@psilocin.gnu.org> | |
| 221 | |
| 222 * lwlib-Xm.c (update_one_menu_entry): | |
| 223 Add conditional in case XmNpositionIndex is missing. | |
| 224 | |
| 225 1997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
| 226 | |
| 227 * Version 20.2 released. | |
| 228 | |
| 229 * xlwmenu.c (motion_event_is_in_menu): Extend the left and | |
| 230 top windows by the shadow width. | |
| 231 | |
| 232 1997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
| 233 | |
| 234 * Version 20.1 released. | |
| 235 | |
| 236 1997-07-23 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
| 237 | |
| 238 * xlwmenu.c (display_menu): If an item is disabled, | |
| 239 don't display its submenu (if any). | |
| 240 | |
| 241 1997-05-01 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
| 242 | |
| 243 * xlwmenu.c (pop_up_menu): Update the call to x_catch_errors. | |
| 244 | |
| 245 1997-01-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
| 246 | |
| 247 * xlwmenu.c (fit_to_screen): If new menu would overlap the previous | |
| 248 one from the side, try moving it up or down. | |
| 249 | |
| 250 1996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
| 251 | |
| 252 * Version 19.33 released. | |
| 253 | |
| 254 * lwlib-Xm.c (update_one_menu_entry): Fix previous change: | |
| 255 When XmIsCascadeButton, don't call XmCreateCascadeButtonGadget, | |
| 256 just modify the existing one. | |
| 257 | |
| 258 1996-08-09 Marcus Daniels <marcus@sayre.sysc.pdx.edu> | |
| 259 | |
| 260 * lwlib.c (merge_widget_value): Undo previous change. | |
| 261 | |
| 262 * lwlib-Xm.c (update_one_menu_entry): When creating a pulldown | |
| 263 in an existing but empty menu item, in order to get a new functional | |
| 264 pulldown, the menu item must be switched from an XmPushButtonGadget | |
| 265 into a XmCascadeButtonGadget. | |
| 266 | |
| 267 1996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
| 268 | |
| 269 * Version 19.32 released. | |
| 270 | |
| 271 1996-07-31 Marcus Daniels <marcus@sayre.sysc.pdx.edu> | |
| 272 | |
| 273 * lwlib-Xm.c (make_menubar): Turn off menu accelerator. | |
| 274 | |
| 275 1996-07-24 Marcus Daniels <marcus@sayre.sysc.pdx.edu> | |
| 276 | |
| 277 * lwlib.c (merge_widget_value) [USE_MOTIF]: Pass along the change | |
| 278 flag from merged_contents. | |
| 279 | |
| 280 1996-07-13 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
| 281 | |
| 282 * lwlib-Xm.c (xm_update_menu): Fix loop termination test. | |
| 283 | |
| 284 1996-07-07 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
| 285 | |
| 286 * lwlib-Xm.h, lwlib-Xm.c, lwlib.h, lwlib.c: Undo previous change. | |
| 287 | |
| 288 1996-07-03 Marcus Daniels <marcus@sayre.sysc.pdx.edu> | |
| 289 | |
| 290 * lwlib-Xm.h: Declare lw_motif_menu_related_event_p. | |
| 291 | |
| 292 * lwlib-Xm.c (lw_motif_menu_related_event_p): A predicate to | |
| 293 identify keyboard events intended only for menus. | |
| 294 | |
| 295 * lwlib.h: Declare lw_toolkit_related_event_p. | |
| 296 | |
| 297 * lwlib.c (lw_toolkit_related_event_p): A predicate to identify | |
| 298 toolkit-specific events. | |
| 299 | |
| 300 1996-06-07 Marcus Daniels <marcus@sayre.sysc.pdx.edu> | |
| 301 | |
| 302 * lwlib-Xm.c (make_menu_in_widget): Set mapping delay | |
| 303 for cascade buttons to zero. | |
| 304 | |
| 305 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
| 306 | |
| 307 * Version 19.31 released. | |
| 308 | |
| 309 1996-03-31 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
| 310 | |
| 311 * lwlib-Xm.c (destroy_all_children): When freeing a cascade button, | |
| 312 free its submenu too. | |
| 313 (make_menu_in_widget): Use a cascade button gadget, not a widget. | |
| 314 Include Xm/CascadeBG.h. | |
| 315 | |
| 316 1996-03-29 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
| 317 | |
| 318 * Makefile.in (tags): New target. | |
| 319 | |
| 320 1996-03-28 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
| 321 | |
| 322 * Makefile.in (TAGS): Renamed from `tags' and fixed to work. | |
| 323 | |
| 324 1996-03-26 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
| 325 | |
| 326 * Makefile.in (xlwmenu.o): New explicit target. | |
| 327 | |
| 328 1996-03-24 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
| 329 | |
| 330 * lwlib.h (struct widget_value): New field this_one_change. | |
| 331 * lwlib.c (merge_widget_value): Set the this_one_change field. | |
| 332 * lwlib-Xm.c (destroy_all_children): New arg first_child_to_destroy. | |
| 333 (make_menu_in_widget): New arg keep_first_children. | |
| 334 (xm_update_menu): Preserve the first children even if later ones | |
| 335 have a structural change. | |
| 336 (update_one_menu_entry): Use this_one_change field. | |
| 337 | |
| 338 1996-03-01 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
| 339 | |
| 340 * xlwmenu.c (motion_event_is_in_menu): Make x and y signed. | |
| 341 | |
| 342 1996-02-25 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
| 343 | |
| 344 * lwlib.c (lw_window_is_in_menubar) [USE_MOTIF]: | |
| 345 With Motif, the window WIN can be the menu bar widget itself. | |
| 346 | |
| 347 1996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> | |
| 348 | |
| 349 * lwlib.c (free_widget_value_tree, merge_widget_value): | |
| 350 Use XtFree for the toolkit_data. | |
| 351 | |
| 352 1996-02-19 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
| 353 | |
| 354 * lwlib.c (lw_internal_update_other_instances): Move static var | |
| 355 outside the function, and rename it to lwlib_updating. | |
| 356 | |
| 357 1996-01-04 Paul Eggert <eggert@twinsun.com> | |
| 358 | |
| 359 * lwlib.c (instantiate_widget_instance): Renamed from | |
| 360 instanciate_widget_instance (spelling correction). | |
| 361 All callers changed. | |
| 362 | |
| 363 1995-12-31 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
| 364 | |
| 365 * xlwmenu.c (xlwMenuActionsList): Add "key" and "nothing". | |
| 366 (xlwMenuTranslations): Add translations for Key, KeyUp, | |
| 367 and for the modifier keysyms. | |
| 368 (Nothing, Key): New functions. | |
| 369 | |
| 370 1995-12-24 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
| 371 | |
| 372 * xlwmenu.c (XlwMenuSetValues): Do redisplay if non-null contents | |
| 373 get replaced by empty contents. | |
| 374 | |
| 375 * lwlib.c (merge_widget_value): Treat disappearance of entire contents | |
| 376 as a STRUCTURAL_CHANGE. | |
| 377 | |
| 378 1995-12-20 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> | |
| 379 | |
| 380 * lwlib-utils.c: Add #undef for index and rindex. | |
| 381 | |
| 382 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
| 383 | |
| 384 * Version 19.30 released. | |
| 385 | |
| 386 1995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
| 387 | |
| 388 * xlwmenu.c (display_menu_item): Fix previous change. | |
| 389 | |
| 390 1995-11-04 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> | |
| 391 | |
| 392 * xlwmenu.c (display_menu_item): Don't treat buttons specially. | |
| 393 | |
| 394 1995-08-14 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
| 395 | |
| 396 * Makefile.in (RANLIB): Get this var from configure. | |
| 397 | |
| 398 1995-08-02 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
| 399 | |
| 400 * lwlib.c (lw_popup_menu): New arg `event', passed along. | |
| 401 * lwlib-Xlw.c (xlw_popup_menu): New arg `event'. | |
| 402 * lwlib-Xm.c (xm_popup_menu): New arg `event'. | |
| 403 | |
| 404 1995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
| 405 | |
| 406 * Version 19.29 released. | |
| 407 | |
| 408 1995-06-11 Richard Stallman <rms@gnu.ai.mit.edu> | |
| 409 | |
| 410 * lwlib.c (lwlib_toolkit_type): New variable. | |
| 411 | |
| 412 1995-05-26 Richard Stallman <rms@gnu.ai.mit.edu> | |
| 413 | |
| 414 * xlwmenu.c (Drag): Do nothing unless menu.popped_up field is set. | |
| 415 | |
| 416 1995-05-22 Karl Heuer <kwzh@hal.gnu.ai.mit.edu> | |
| 417 | |
| 418 * xlwmenu.c (XlwMenuInitialize): Cast XCreatePixmapFromBitmapData args. | |
| 419 | |
| 420 1995-05-20 Karl Heuer <kwzh@nutrimat.gnu.ai.mit.edu> | |
| 421 | |
| 422 * lwlib.c: Don't use prototype. | |
| 423 * lwlib-Xm.c (activate_button, xm_update_cascadebutton): Likewise. | |
| 424 | |
| 425 1995-05-05 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
| 426 | |
| 427 * lwlib.c (lw_refigure_widget) [USE_MOTIF]: Fix backward if. | |
| 428 | |
| 429 1995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
| 430 | |
| 431 * Makefile.in (ALL_CFLAGS): Add -I../src. | |
| 432 | |
| 433 1995-05-03 Morten Welinder <terra+@cs.cmu.edu> | |
| 434 | |
| 435 * lwlib.c [__osf__]: Include string.h and stdlib.h. | |
| 436 [__osf__] (xmalloc): Declared. | |
| 437 | |
| 438 1995-04-13 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
| 439 | |
| 440 * lwlib-Xm.c (update_one_menu_entry, make_menu_in_widget): | |
| 441 Specify more useful names in XmCreatePulldownMenu calls. | |
| 442 | |
| 443 * lwlib-Xaw.c (xaw_pop_instance): Make x, y, w, h unsigned. | |
| 444 | |
| 445 * xlwmenu.c (size_menu): Make height and label_width unsigned. | |
| 446 (fit_to_screen): Make screen_width and screen_height unsigned. | |
| 447 (motion_event_is_in_menu): Make x, y unsigned. | |
| 448 | |
| 449 1995-04-09 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
| 450 | |
| 451 * lwlib-utils.c: If HAVE_CONFIG_H, include config.h. | |
| 452 | |
| 453 * Makefile.in (ALL_CFLAGS): Define HAVE_CONFIG_H. | |
| 454 Add -I${srcdir}/../src. | |
| 455 | |
| 456 1995-04-08 Paul Reilly <pmr@geech.gnu.ai.mit.edu> | |
| 457 | |
| 458 * lwlib-Xm.c: Remove function prototypes. | |
| 459 (xm_pop_down_callback): Call the deactivation callback only when | |
| 460 popping down the top level submenu. | |
| 461 | |
| 462 1995-04-07 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
| 463 | |
| 464 * Makefile.in (lwlib.o): Depend on Makefile. | |
| 465 | |
| 466 * lwlib-Xm.h: Remove function prototypes. | |
| 467 | |
| 468 * lwlib-Xm.c (remove_grabs): Use type Widget for `menu'. | |
| 469 | |
| 470 1995-02-15 Paul Reilly <pmr@geech.gnu.ai.mit.edu> | |
| 471 | |
| 472 * Makefile.in (ALL_CFLAGS): Allow include files to be found in | |
| 473 `srcdir'. | |
| 474 | |
| 475 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu> | |
| 476 | |
| 477 * Makefile.in (maintainer-clean): Renamed from realclean. | |
| 478 | |
| 479 1994-11-28 Richard Stallman <rms@bethel> | |
| 480 | |
| 481 * lwlib-int.h (safe_strdup): Don't use ANSI argument prototype. | |
| 482 | |
| 483 1994-11-15 Paul Reilly <pmr@duality.gnu.ai.mit.edu> | |
| 484 | |
| 485 * lwlib.c (lw_refigure_widget): Use the macro USE_XAW rather than XAW. | |
| 486 | |
| 487 1994-11-08 Paul Reilly <pmr@duality.gnu.ai.mit.edu> | |
| 488 | |
| 489 * lwlib-Xm.c (make_menu_in_widget): Differentiate a separator | |
| 490 entry ("--") from a title. | |
| 491 (xm_pop_down_callback): Filter all but the last pop down callbacks. | |
| 492 | |
| 493 1994-11-07 Paul Reilly <pmr@duality.gnu.ai.mit.edu> | |
| 494 | |
| 495 * lwlib-Xm.c (update_one_menu_entry): Use the parent of the | |
| 496 cascade button as the parent of the pulldown, rather than the | |
| 497 cascade button itself. This works around a Motif SIGSEGV in the | |
| 498 function `InSharedMenuHierarchy'. | |
| 499 | |
| 500 1994-10-29 Richard Stallman <rms@duality.gnu.ai.mit.edu> | |
| 501 | |
| 502 * xlwmenu.c (xlwmenu_default_font): New global variable. | |
| 503 (XlwMenuInitialize): Use xlwmenu_default_font to default | |
| 504 the font if necessary. Make mw, itself, an argument. | |
| 505 | |
| 506 1994-10-26 Richard Stallman <rms@duality.gnu.ai.mit.edu> | |
| 507 | |
| 508 * xlwmenu.c (pop_up_menu): Pass a Display * to x_catch_errors, etc. | |
| 509 | |
| 510 1994-10-26 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
| 511 | |
| 512 * xlwmenu.c (xlwmenu_default_font): New global variable. | |
| 513 (XlwMenuInitialize): Use xlwmenu_default_font to default | |
| 514 the font if necessary. Make mw, itself, an argument. | |
| 515 | |
| 516 * xlwmenu.c (pop_up_menu): Pass a Display * to x_catch_errors, etc. | |
| 517 | |
| 518 1994-10-08 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
| 519 | |
| 520 * xlwmenu.c (fit_to_screen): Don't put the menu off the left or top. | |
| 521 | |
| 522 1994-10-02 Paul Reilly <pmr@geech.gnu.ai.mit.edu> | |
| 523 | |
| 524 * xlwmenu.c (display_menu_item): Add support for displaying the | |
| 525 title in pop up menus. | |
| 526 | |
| 527 * lwlib.c (lw_set_main_areas): Use xm_set_main_areas(). | |
| 528 (lw_manage_resizing): Use xm_manage_resizing() for Emacs/Motif. | |
| 529 | |
| 530 1994-09-25 Paul Reilly <pmr@geech.gnu.ai.mit.edu> | |
| 531 | |
| 532 * lwlib-Xaw.c (xaw_create_main): New function to support the | |
| 533 toolkit independent creation of the main Emacs widget. * | |
| 534 lwlib-Xlw.c (xlw_create_menubar): When compiling under Emacs, set | |
| 535 resizing resources to disable showGrip and to enable both | |
| 536 resizeToPreferred and allowShellResize. | |
| 537 | |
| 538 * lwlib-Xm.h: Declare xm_set_main_areas, xm_manage_resizing. | |
| 539 | |
| 540 * lwlib-Xm.c: (make_menu_in_widget): Add support for displaying a | |
| 541 title in pop up menus. | |
| 542 (make_main, xm_set_main_areas, xm_manage_resizing): New functions to | |
| 543 create and manage a Motif Main Window widget. | |
| 544 | |
| 545 * xlwmenu.c: Add #include <X11/ObjectP.h> for X11R4. | |
| 546 | |
| 547 1994-09-18 Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr> | |
| 548 | |
| 549 * lwlib-Xm.c (make_dialog): When there is more than two pushbuttons, | |
| 550 set XmPACK_TIGHT and XmHORIZONTAL to the rowcolumn. Also add a | |
| 551 margin of 10 pixels. | |
| 552 | |
| 553 1994-09-16 Paul Reilly <pmr@geech.gnu.ai.mit.edu> | |
| 554 | |
| 555 * lwlib-Xm.c (make_main): New function to support toolkit | |
| 556 independent creation of the main Emacs widget. | |
| 557 (make_destroyed_instance): Use safe_strdup() instead of strdup(). | |
| 558 | |
| 559 * lwlib-int.h: Declare safe_strdup. | |
| 560 | |
| 561 * lwlib.c (lw_refigure_widget): New function. Handle geometry | |
| 562 management inside lwlib instead of in Emacs. | |
| 563 (lw_window_is_in_menubar): New function. Determine if the pointer | |
| 564 is in a menubar. | |
| 565 (lw_set_main_areas): New function. Set the main window widgets for | |
| 566 Motif. | |
| 567 | |
| 568 * lwlib.h: Declare lw_refigure_widget(), lw_window_is_in_menubar(), | |
| 569 lw_set_main_areas(). | |
| 570 | |
| 571 * xlwmenu.h: Define Xt{Ns,CS}howGrip, Xt{Nr,CR}esizeToPreferred, and | |
| 572 Xt{Na,CA}llowResize. | |
| 573 | |
| 574 * xlwmenu.c (Start): Use pop_up_menu() to post the submenus. | |
| 575 (Select): Remove the pointer grab when popping down a menubar | |
| 576 submenu. | |
| 577 (pop_up_menu): Handle popping up submenus from a menubar, i.e. when | |
| 578 the menu widget parent is not a shell widget. | |
| 579 | |
| 580 1994-08-25 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
| 581 | |
| 582 * xlwmenu.c (pop_up_menu): Clear next_release_must_exit. | |
| 583 (Start): Clear next_release_must_exit when popping up the menu. | |
| 584 | |
| 585 1994-08-24 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
| 586 | |
| 587 * xlwmenu.c (Start): Set menu_post_event or next_release_must_exit. | |
| 588 (Select): Do nothing if the menu should be left posted. | |
| 589 | |
| 590 1994-07-28 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
| 591 | |
| 592 * xlwmenu.c (make_windows_if_needed, pop_up_menu): | |
| 593 Enable mouse motion events even when no button down. | |
| 594 | |
| 595 1994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
| 596 | |
| 597 * xlwmenu.c (pointer_grabbed): New variable. | |
| 598 (pop_up_menu): Set the variable. | |
| 599 (XlwMenuDestroy): Maybe call XtUngrabPointer. | |
| 600 | |
| 601 1994-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
| 602 | |
| 603 * lwlib.c (max): Function deleted. Define as macro instead, | |
| 604 but only if not already defined. | |
| 605 | |
| 606 1994-05-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
| 607 | |
| 608 * xlwmenu.c (xlwMenuResources): Use XtRDimension for shadow thickness. | |
| 609 | |
| 610 1994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
| 611 | |
| 612 * lwlib-Xaw.c (xaw_pop_instance): Use XtSetValues, not XtMoveWidget. | |
| 613 | |
| 614 1994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
| 615 | |
| 616 * lwlib.c (lwlib_memset: New function, used instead of memset. | |
| 617 All callers changed. | |
| 618 * lwlib.c (lwlib_bcopy): New function. | |
| 619 * lwlib-utils.c (XtApplyToWidgets): Use lwlib_bcopy. | |
| 620 | |
| 621 * lwlib.c: Delete definitions for use of alloca. | |
| 622 (name_to_widget): Use xmalloc, not alloca. | |
| 623 | |
| 624 1994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
| 625 | |
| 626 * xlwmenu.c (XlwMenuDestroy): Set new var submenu_destroyed. | |
| 627 (XlwMenuRedisplay): If it's set, truncate the old_depth to 1. | |
| 628 | |
| 629 1994-05-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
| 630 | |
| 631 * xrdb-cpp.c: Don't include string.h, unistd.h, stdlib.h. | |
| 632 * lwlib-Xaw.c: Don't include string.h, unistd.h, stdlib.h. | |
| 633 * lwlib-utils.c (XtApplyToWidgets): Use bcopy, not memcpy. | |
| 634 * lwlib-utils.c: Don't include string.h, unistd.h, stdlib.h, memory.h. | |
| 635 * xlwmenu.c: Don't include string.h, unistd.h, stdlib.h. | |
| 636 * lwlib.c: Don't include string.h, unistd.h, stdlib.h. | |
| 637 (safe_strdup): No longer static. | |
| 638 * lwlib-Xm.c: Use safe_strdup, not strdup. | |
| 639 | |
| 640 * xlwmenu.c (string_width): No longer static. | |
| 641 | |
| 642 1994-05-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
| 643 | |
| 644 * xlwmenuP.h (struct _XlwMenu_part): Use Pixel and Cursor | |
| 645 for foreground and cursor_shape fields. | |
| 646 | |
| 647 * xlwmenu.c (XlwMenuSetValues): Check for change of font. | |
| 648 | |
| 649 1994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
| 650 | |
| 651 * Makefile.in: Delete all SRCS variables (unused). | |
| 652 (lwlib.o, xrdb-cpp.o): Mention srcdir in dep. | |
| 653 | |
| 654 1994-04-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
| 655 | |
| 656 * Makefile.in (ALL_CFLAGS): Don't define THIS_IS_X11R4. | |
| 657 | |
| 658 * xrdb.c: Define HAVE_X11R5 as in xterm.h. | |
| 659 Include X11/Xlib.h, X11/cursorfont.h and X11/Xutil.h. | |
| 660 (_XtDisplayInitialize): Test HAVE_X11R5. | |
| 661 | |
| 662 * dispatch.c: Define HAVE_X11R5 as in xterm.h. | |
| 663 Include X11/Xlib.h, X11/cursorfont.h and X11/Xutil.h. | |
| 664 (_XtConvertTypeToMask): Conditionalize on HAVE_X11R5. | |
| 665 (WouldDispatchEvent): Likewise. | |
| 666 | |
| 667 1994-04-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
| 668 | |
| 669 * lwlib-Xaw.c (xaw_generic_callback): Declare without arg names. | |
| 670 | |
| 671 1994-04-01 Frederic Pierresteguy (fp@hal.gnu.ai.mit.edu) | |
| 672 | |
| 673 * lwlib-Xaw.c (make_dialog): Don't allow any geometry request from the | |
| 674 user. | |
| 675 | |
| 676 1994-03-22 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) | |
| 677 | |
| 678 * xlwmenu.c (XlwMenuResize): Don't allow the popup menu to resize | |
| 679 itself. Therefore reset the size to its initial value. | |
| 680 | |
| 681 1994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
| 682 | |
| 683 * lwlib-Xaw.c (xaw_update_one_widget): Finish replacing XtVaSetValues. | |
| 684 Don't test for scrollbar widget. | |
| 685 | |
| 686 1994-03-14 Frederic Pierresteguy (fp@gnu.ai.mit.edu) | |
| 687 | |
| 688 * lwlib-int.h: Declare lw_get_widget_info. | |
| 689 | |
| 690 * lwlib.c (lw_get_widget_info): Comment out arg in function decl. | |
| 691 | |
| 692 * lwlib-Xaw.h: Comment out args in function decls. | |
| 693 * lwlib-Xaw.c: Convert all function definitions to non-prototype K&R. | |
| 694 (xaw_update_one_widget - case dialogWidgetClass): Call XtSetValues, | |
| 695 not XtVaSetValues. | |
| 696 | |
| 697 1994-03-11 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) | |
| 698 | |
| 699 * xlwmenu.c (display_menu_item): Modify parameters to draw_arrow to | |
| 700 right justify the arrow in the pane. | |
| 701 | |
| 702 * lwlib.c: If not defined USE_MOTIF and defined USE_LUCID then | |
| 703 define USE_XAW. | |
| 704 | |
| 705 * Makefile.in (LUCID_SRCS, LUCID_OBJS): Add the target lwlib-Xaw.[oc]. | |
| 706 | |
| 707 * lwlib.c, lwlib-int.h: Merged from Lucid 19.9 release. | |
| 708 * lwlib.c (_AIX): Replace the AIXV3 directive. | |
| 709 (USE_XAW): New macro to conditionalize the use of the athena toolkit. | |
| 710 (lw_get_widget_info): New function. | |
| 711 (set_one_value): Handle USE_XAW. | |
| 712 (instanciate_widget_instance): Likewise. | |
| 713 (destroy_one_instance): Likewise. | |
| 714 (lw_pop_all_widgets): Likewise. | |
| 715 (lw_pop_down_all_widgets): Likewise. | |
| 716 (get_one_value): Likewise. | |
| 717 | |
| 718 * lwlib-Xaw.c, lwlib-Xaw.h: New files. | |
| 719 | |
| 720 1994-02-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
| 721 | |
| 722 * xlwmenu.c (XlwMenuInitialize, XlwMenuDestroy): Undo previous changes. | |
| 723 | |
| 724 * lwlib-Xlw.c (xlw_create_menubar, xlw_create_popup_menu): | |
| 725 Use XtCreate..., not XtVaCreate... | |
| 726 No need to copy instance->info->val any more. | |
| 727 (xlw_update_one_widget): Use XtSetValues, not XtVaSetValues. | |
| 728 | |
| 729 1994-02-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
| 730 | |
| 731 * xlwmenu.c (pop_up_menu): Call XtUngrabPointer if XtGrabPointer fails. | |
| 732 | |
| 733 1994-02-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
| 734 | |
| 735 * Makefile.in (xrdb-cpp.o, lwlib.o): Put ALL_CFLAGS after other flags. | |
| 736 | |
| 737 * lwlib-Xlw.c (xlw_create_menubar): Don't call free_widget_value. | |
| 738 Use malloc for allocation. | |
| 739 (xlw_create_popup_menu): Likewise. | |
| 740 | |
| 741 1994-02-18 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) | |
| 742 | |
| 743 * lwlib.c (malloc_cpt): New static variable. | |
| 744 (malloc_widget_value): Increment malloc_cpt when allocating a cell. | |
| 745 (free_widget_value): Really free the cells when the number of | |
| 746 allocated ones is bigger than 25. | |
| 747 | |
| 748 * lwlib-Xlw.c (xlw_create_menubar): Call malloc_widget_value and | |
| 749 free_widget_value instead of XtMalloc and XtFree. | |
| 750 (xlw_create_popup_menu): Likewise. | |
| 751 | |
| 752 1994-02-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
| 753 | |
| 754 * Makefile.in (ALL_CFLAGS): Specify -Demacs. | |
| 755 | |
| 756 * xlwmenu.c (pop_up_menu) [emacs]: Catch and ignore X protocol errors | |
| 757 in XtGrabPointer. | |
| 758 | |
| 759 1994-02-17 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) | |
| 760 | |
| 761 * lwlib-Xlw.c (xlw_create_popup_menu): Pass tem to | |
| 762 XtVaCreateManagedWidget, not instance->info->val. | |
| 763 (xlw_create_menubar): Likewise. | |
| 764 | |
| 765 1994-02-15 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) | |
| 766 | |
| 767 * lwlib-Xlw.c (xlw_create_popup_menu): Copy instance->info->val | |
| 768 before calling XtVaCreateManagedWidget and then free the copy. | |
| 769 (xlw_create_menubar): Likewise. | |
| 770 | |
| 771 1994-02-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
| 772 | |
| 773 * xlwmenu.c (XlwMenuInitialize): Copy mw->menu.contents. | |
| 774 (XlwMenuDestroy): Free mw->menu.contents. | |
| 775 | |
| 776 1994-02-09 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) | |
| 777 | |
| 778 * xlwmenu.c (display_menu_item): Call draw_shadow_rectangle to make | |
| 779 visible/invisible the selection of the menubar items. | |
| 780 | |
| 781 1994-02-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu) | |
| 782 | |
| 783 * lwlib.c (strcasecmp): Renamed to my_strcasecmp. | |
| 784 (find_in_table): Changed only caller. | |
| 785 | |
| 786 1994-02-04 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) | |
| 787 | |
| 788 * xlwmenu.c (display_menu_item): When dealing with the menubar, | |
| 789 always call XDrawRectangle to clear the selection after popping down | |
| 790 the pulldown menu. | |
| 791 | |
| 792 1994-02-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
| 793 | |
| 794 * lwlib.c: Include ctype.h. | |
| 795 | |
| 796 1994-01-31 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
| 797 | |
| 798 * lwlib.c (strcasecmp): New function. | |
| 799 | |
| 800 1994-01-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
| 801 | |
| 802 * xlwmenu.c, lwlib.c, lwlib-Xlw.c, lwlib-utils.c: | |
| 803 Convert all function definitions to non-prototype K&R. | |
| 804 | |
| 805 * lwlib-Xlw.h: Comment out args in function decls. | |
| 806 * lwlib.h: Comment out args in function decls. | |
| 807 * lwlib-utils.h: Comment out args in function decls. | |
| 808 | |
| 809 1994-01-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
| 810 | |
| 811 * lwlib.c: Include StringDefs.h after lwlib.h. | |
| 812 | |
| 813 1994-01-22 Roland McGrath (roland@churchy.gnu.ai.mit.edu) | |
| 814 | |
| 815 * Makefile (xrdb-cpp.o, lwlib.o): Use $(srcdir) and file name | |
| 816 instead of $*. | |
| 817 (dispatch.o, xrdb.o, lwlib-Xm.o): Rules removed; they were | |
| 818 superfluous and didn't work when configured outside srcdir. The | |
| 819 implicit .c.o rule works fine. | |
| 820 | |
| 821 1994-01-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
| 822 | |
| 823 * xlwmenu.c (resource_widget_value): Avoid using strdup. | |
| 824 | |
| 825 1994-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
| 826 | |
| 827 * Makefile.in: New file. | |
| 828 | |
| 829 * lwlib-Xolmb.c: Renamed from lwlib-Xol-mb.c. | |
| 830 * lwlib-Xolmb.h: Renamed from lwlib-Xol-mb.h. | |
| 831 * lwlib-XolmbP.h: Renamed from lwlib-Xol-mbP.h. | |
| 832 | |
| 833 * lwlib-int.h: Renamed from lwlib-internal.h. | |
| 834 | |
| 835 | |
| 836 |
