Merge from emacs--devo--0
[bpt/emacs.git] / oldXMenu / ChangeLog
1 2007-05-30 Ulrich Mueller <ulm@gentoo.org> (tiny change)
2
3 * XMakeAssoc.c (XMakeAssoc): Use malloc rather than xmalloc.
4
5 2007-02-27 Glenn Morris <rgm@gnu.org>
6
7 * Imakefile: Remove unused file with no explicit legal info.
8 * Makefile.in (distclean): Remove Makefile.
9
10 2007-02-25 Glenn Morris <rgm@gnu.org>
11
12 * XCrAssoc.c, XDelAssoc.c, XDestAssoc.c, XLookAssoc.c:
13 * XMakeAssoc.c: Remove license text in favour of including
14 copyright.h, as was done in original X11 source.
15
16 2004-12-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
17
18 * Activate.c (XMenuActivate): Return XM_NO_SELECT if Escape or C-g
19 was pressed.
20
21 2004-11-12 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
22
23 * XMenu.h (XMenuActivateSetWaitFunction): New function.
24
25 * Activate.c (XMenuActivateSetWaitFunction): New function.
26 (XMenuActivate): Call wait_func if set, before XNextEvent.
27
28 2002-04-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
29
30 * Activate.c: Add calls to GrabKeyboard to remove strange
31 interactions with window managers that steal keypresses.
32 Call ungrab_all instead of XtUngrabPointer.
33 (XMenuActivate): Add call to XGrabKeyboard
34 (XMenuActivate): Add call to XUngrabKeyboard
35
36 2001-10-20 Gerd Moellmann <gerd@gnu.org>
37
38 * (Version 21.1 released.)
39
40 2001-10-05 Gerd Moellmann <gerd@gnu.org>
41
42 * Branch for 21.1.
43
44 2000-07-21 Eli Zaretskii <eliz@is.elta.co.il>
45
46 * Activate.c (XMenuActivate): Call help callback with two more
47 arguments: the pane number and selection number.
48
49 2000-01-27 Gerd Moellmann <gerd@gnu.org>
50
51 * Activate.c (XMenuActivate): Add parameter HELP_CALLBACK.
52 Call help callback.
53
54 * Post.c (XMenuPost): Pass null help callback to XMenuActivate.
55
56 * AddSel.c (XMenuAddSelection): Add parameter HELP.
57
58 * XMenu.h (XmSelect): Add member `help_string'.
59
60 1999-07-12 Richard Stallman <rms@gnu.org>
61
62 * Version 20.4 released.
63
64 1998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
65
66 * Version 20.3 released.
67
68 1997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
69
70 * Version 20.2 released.
71
72 1997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
73
74 * Version 20.1 released.
75
76 1996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
77
78 * Version 19.33 released.
79
80 1996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
81
82 * Version 19.32 released.
83
84 1996-06-12 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
85
86 * Internal.c (_XMRefreshSelection): Check for type SEPARATOR.
87 * InsSel.c (XMenuInsertSelection): Use SEPARATOR if nec.
88 * AddSel.c (XMenuAddSelection): Use SEPARATOR if nec.
89
90 * XMenu.h: New alternative SEPARATOR.
91
92 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
93
94 * Version 19.31 released.
95
96 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
97
98 * Version 19.30 released.
99
100 1995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
101
102 * Makefile.in (ALL_CFLAGS): Add some -I options.
103
104 * Activate.c, AddPane.c, AddSel.c, Create.c, InsPane.c, InsSel.c:
105 * Internal.c, XCrAssoc.c, XMakeAssoc.c: Include config.h.
106
107 1995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
108
109 * Version 19.29 released.
110
111 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
112
113 * Makefile.in (maintainer-clean): Renamed from realclean.
114
115 1994-10-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
116
117 * Makefile.in (ALL_CFLAGS): Reorder the switches more rationally.
118
119 1994-10-24 Jim Wilson (wilson@chestnut.cygnus.com)
120
121 * Makefile.in (ALL_CFLAGS): Add C_SWITCH_X_MACHINE.
122
123 1994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
124
125 * Version 19.27 released.
126
127 1994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
128
129 * Version 19.26 released.
130
131 1994-07-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
132
133 * Error.c (XMenuError): Make `message' static.
134
135 1994-06-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
136
137 * Create.c (XAllocDisplayColor): New function.
138 Use it throughout in place of XAllocNamedColor.
139
140 1994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
141
142 * Version 19.25 released.
143
144 1994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
145
146 * Version 19.24 released.
147
148 1994-05-17 Karl Heuer (kwzh@hal.gnu.ai.mit.edu)
149
150 * Create.c (XMenuCreate): Declare `data' as char*.
151
152 1994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
153
154 * Version 19.23 released.
155
156 1994-04-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
157
158 * Create.c (XMenuCreate): Declare `data' as unsigned char*.
159
160 1994-01-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
161
162 * XMakeAssoc.c (XMakeAssoc): Use xmalloc.
163 (_XIOErrorFunction): Decl deleted.
164
165 1993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
166
167 * Version 19.22 released.
168
169 1993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
170
171 * Activate.c (XMenuActivate):
172 Call XSetWindowBackground and _XMRefreshPane.
173
174 1993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
175
176 * Version 19.21 released.
177
178 1993-11-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
179
180 * Makefile.in (libXMenu11.a): Tell make not to worry if ranlib fails.
181 Tell user too, in case make doesn't pay attention.
182
183 1993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
184
185 * Version 19.20 released.
186
187 1993-10-25 Brian Fox (bfox@albert.gnu.ai.mit.edu)
188
189 * Makefile.in (ALL_CFLAGS): Add C_SWITCH_X_SYSTEM.
190
191 1993-09-27 Brian Fox (bfox@valhalla)
192
193 * Makefile.in (CPP, LN_S, C_SWITCH_X_SITE, CC, CFLAGS): Allow
194 `configure' to supply the values for these variables.
195
196 1993-09-26 Brian Fox (bfox@ai.mit.edu)
197
198 * Makefile.in (VPATH, srcdir): Now that `configure' creates the
199 Makefiles, do not append the current directory to the value of
200 `srcdir' or `VPATH'.
201
202 1993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
203
204 * Version 19.19 released.
205
206 1993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
207
208 * Version 19.18 released.
209
210 1993-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
211
212 * Internal.c (_XMWinQueInit): Use explicit loop, not bzero.
213
214 1993-07-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
215
216 * Makefile (ALL_CFLAGS): Use all 6 C_SWITCH_... vars.
217
218 Among them, put the ..._SITE vars last.
219
220 1993-07-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
221
222 * Version 19.17 released.
223
224 1993-07-07 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
225
226 * Makefile.in: Write out the dependencies for the object files;
227 otherwise, VPATH won't work.
228
229 * Makefile.in: Re-arrange, to put `all' target at the top.
230
231 1993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
232
233 * Version 19.16 released.
234
235 1993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
236
237 * version 19.15 released.
238
239 1993-06-18 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
240
241 * Makefile.in (ALL_CFLAGS): Always #define EMACS_BITMAP_FILES.
242 This should make it work under any circumstances.
243
244 * Makefile.in (mostlyclean): Use rm -f.
245
246 1993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
247
248 * Version 19.14 released.
249
250 1993-06-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
251
252 * Makefile.in (ALL_CFLAGS): Include C_SWITCH_MACHINE, and CPPFLAGS.
253 Put CFLAGS last.
254
255 1993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
256
257 Bring mumbleclean targets into conformance with GNU coding standards.
258 * Makefile.in (mostlyclean, realclean): New targets.
259
260 1993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
261
262 * Version 19.13 released.
263
264 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
265
266 * Version 19.10 released.
267
268 1993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
269
270 * Create.c: Handle EMACS_BITMAP_FILES.
271 Use new names of renamed bitmap files.
272
273 1993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
274
275 * AddPane.c, AddSel.c, DelPane.c, DelSel.c, InsPane.c, InsSel.c,
276 XDelAssoc.c, XMakeAssoc.c, XMenu.h, insque.c: Changed all uses of
277 insque and remque to emacs_insque and emacs_remque, so we can
278 safely include insque.c in the library on all systems.
279
280 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
281
282 * Makefile.in (.c.o): Use $< instead of ${srcdir}/$*.c; the latter
283 only works with GNU Make.
284
285 1993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
286
287 * Create.c (XMenuCreate): Use classes PaneFont and SelectionFont.
288
289 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
290
291 * Version 19.9 released.
292
293 1993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
294
295 * Create.c (XMenuCreate): Use x_get_resource_string, not XGetDefault.
296
297 1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
298
299 * Version 19.8 released.
300
301 1993-05-23 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
302
303 * Makefile.in (C_SWITCH_X_SITE): New variable, so that the
304 configuration process can correctly implement the --x-includes
305 option.
306
307 1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
308
309 * Create.c (XMenuCreate): Initialize the menu's pixmaps to None,
310 not NULL.
311
312 1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
313
314 * Version 19.7 released.
315
316 1993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
317
318 * Makefile.in: Renamed from Makefile, so that the top-level
319 makefile can edit it.
320
321 1993-04-13 Jim Blandy (jimb@totoro.cs.oberlin.edu)
322
323 * XLookAssoc.c, XMakeAssoc.c: VMS needs <X11/Xresource.h>, not
324 <X11/Xos.h>.
325
326 * XCrAssoc.c: #include <errno.h>, not "errno.h".
327 (XCreateAssocTable): Doc fix.
328
329 1993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
330
331 * Makefile (.c.o): Include C_SWITCH_SITE and C_SWITCH_SYSTEM in
332 the options to the C compiler.
333
334 * compile.com, descrip.mms: New files for VMS from Richard
335 Levitte.
336 * XCrAssoc.c, XLookAssoc.c, XDestAssoc.c, XDelAssoc.c: Use <angle
337 brackets> around the names of the X Windows #include files; VMS
338 needs this.
339 * XLookAssoc.c, XMakeAssoc.c: #include <X11/Xos.h>. VMS needs
340 this.
341 * Create.c: On VMS, we have to look for the bitmap files in
342 `./src/bitmaps', not <X11/bitmaps>.
343
344 1993-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
345
346 * Makefile (.c.o): Don't rm the .o files.
347
348 1993-03-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
349
350 * Activate.c (XMenuActivate): If `active' field is negative,
351 don't allow selecting a string.
352
353 1993-03-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
354
355 * Create.c (XMenuCreate): New variable `root', holding the
356 display's default root window, so we don't have to write out
357 "RootWindow (display, DefaultScreen (display))" a jillion times.
358
359 * Create.c (XMenuCreate): Don't assume that all the
360 <X11/bitmaps/foo> patterns are 16x16. Instead of building a
361 bitmap and then converting it to a pixmap of the appropriate
362 depth if necessary, build a pixmap of the appropriate depth
363 directly, using XCreatePixmapFromBitmapData.
364
365 * Imakefile: Include XCrAssoc.c, XDelAssoc.c, XDestAssoc.c,
366 XLookAssoc.c, and XMakeAssoc.c in SRCS. Similarly for OBJS.
367
368 * XMenuInt.h: #include <stdio.h> before <X11/Xlib.h>, to avoid
369 warnings about redefining NULL.
370
371 * XMakeAssoc.c, XLookAssoc.c, XDestAssoc.c, XDelAssoc.c,
372 XCrAssoc.c: #include X11/Xlib.h instead of X11/Xlibint.h.
373
374 * XMakeAssoc.c, XLookAssoc.c, XCrAssoc.c: If NULL isn't defined by
375 any of the `.h' files, define it.
376
377 * XMakeAssoc.c, XCrAssoc.c: #include <errno.h>.
378 Add an extern declaration for errno.
379
380 * XMakeAssoc.c: Add an extern declaration for _XIOErrorFunction.
381 (XMakeAssoc): Use malloc instead of Xmalloc to allocate new
382 parts of the assoc table.
383 * XCrAssoc.c (XCreateAssocTable): Same.
384
385 * XDestAssoc.c (XDestroyAssocTable): Use free instead of Xfree.
386 * XDelAssoc.c (XDeleteAssoc): Same.
387
388 1992-10-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
389
390 * XMakeAssoc.c (XMakeAssoc): Use malloc, not Xmalloc.
391 * XCrAssoc.c (XCreateAssocTable): Use malloc and calloc directly.
392 * XDelAssoc.c (XDeleteAssoc): Use free, not Xfree.
393 * XDestAssoc.c (XDestroyAssocTable): Likewise.
394
395 1992-10-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
396
397 * XDelAssoc.c, XLookAssoc.c, XCrAssoc.c, XDestAssoc.c, XMakeAssoc.c:
398 Use Xlib.h, not Xlibint.h.
399 * XLookAssoc.c, XMakeAssoc.c, XCrAssoc.c (NULL): Defined.
400 * XMakeAssoc.c, XCrAssoc.c: Include errno.h. Declare errno.
401 * XMakeAssoc.c (_XIOErrorFunction): Declared.
402
403 1992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
404
405 * XDelAssoc.c, XLookAssoc.c, XCrAssoc.c, XDestAssoc.c, XMakeAssoc.c:
406 Specify dir X11/ when including Xlibint.h.
407
408 1992-09-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
409
410 * XDelAssoc.c, XLookAssoc.c, XCrAssoc.c, XDestAssoc.c, XMakeAssoc.c:
411 New files.
412
413 * Makefile (SRCS, OBJS): Compile those files.
414
415 1992-01-31 Richard Stallman (rms@mole.gnu.ai.mit.edu)
416
417 * Makefile (clean): Delete object files and library.
418 (distclean): New target.
419
420 1992-01-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
421
422 * Makefile (libXMenu11.a): Put `-' on ranlib line.
423
424 1992-01-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
425
426 * Makefile (EXTRA): New variable.
427 (libXMenu11.a): Use that.
428
429 * insque.c: New file.
430
431 1992-01-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
432
433 * Makefile (CC): Assignment commented out.
434
435 1991-11-16 Noah Friedman (friedman@nutrimat)
436
437 * copyright.h: New file (copied from X11R4 distribution)
438 * All files: Replaced occurrences of #include <X11/copyright.h>
439 with #include "copyright.h"
440
441 1991-10-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
442
443 * XMenu.h (enum _xmmode): Remove spurious comma.
444
445 * X10.h: New file.
446 * XMenu.h, XMenuInt.h: Include X10.h from this dir.
447
448 1990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
449
450 * XMenu.h (struct _xmenu): Use unsigned long for colors.
451
452 1990-11-12 Richard Stallman (rms@mole.ai.mit.edu)
453
454 * Internal.c: Declare argument `display' in some functions.
455
456
457 ;; Local Variables:
458 ;; coding: iso-2022-7bit
459 ;; add-log-time-zone-rule: t
460 ;; End:
461
462 Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001,
463 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
464
465 This file is part of GNU Emacs.
466
467 GNU Emacs is free software; you can redistribute it and/or modify
468 it under the terms of the GNU General Public License as published by
469 the Free Software Foundation; either version 2, or (at your option)
470 any later version.
471
472 GNU Emacs is distributed in the hope that it will be useful,
473 but WITHOUT ANY WARRANTY; without even the implied warranty of
474 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
475 GNU General Public License for more details.
476
477 You should have received a copy of the GNU General Public License
478 along with GNU Emacs; see the file COPYING. If not, write to the
479 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
480 Boston, MA 02110-1301, USA.
481
482 ;;; arch-tag: 8b17c869-6677-40ce-be86-e62cf34061cf