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