Mercurial > emacs
view oldXMenu/ChangeLog @ 72917:17942cb3949e
(allout-regexp, allout-line-boundary-regexp)
(allout-bob-regexp): Correct grouping and boundaries to fix backwards traversal.
(allout-depth-specific-regexp, allout-depth-one-regexp): New versions that
exploit \\{M\\} regexp syntax, to avoid geometric or worse time in
allout-ascend.
(allout-doublecheck-at-and-shallower): Identify depth threshold below which
topics are checked for and disqualified by containment discontinuities.
(allout-hotspot-key-handler): Correctly handle multiple-key strokes. Remove
some unused variables.
(allout-mode-leaders): Clarify that mode-specific comment-start will be used
(set-allout-regexp): Correctly regexp-quote allout regexps to properly accept
alternative header-leads and primary bullets with regexp-specific characters
(eg, C "/*", mathematica "(*").
Include new regular expressions among those configured.
(allout-infer-header-lead-and-primary-bullet): Rename allout-infer-header-lead.
(allout-recent-depth): Manifest as a variable as well as a function.
(allout-prefix-data): Simplify into an inline instead of a macro, assuming
current match data rather than being explicitly passed it. Establish
allout-recent-depth value as well as allout-recent-prefix-beginning and
allout-recent-prefix-end.
(allout-aberrant-container-p): True when an item's immediate offspring
discontinuously contained. Useful for disqualifying unintended topic prefixes,
likely at low depths.
(allout-goto-prefix-doublechecked): Elaborated version of allout-goto-prefix
which disqualifies aberrant pseudo-items.
(allout-pre-next-prefix): Layer on top of lower-level routines, to get
disqualification of aberrant containers.
(allout-end-of-prefix, allout-end-of-subtree): Disqualify aberrant containers.
(allout-beginning-of-current-entry): Position at start of buffer when in
container (depth 0) entry.
(nullify-allout-prefix-data): Invalidate allout-recent-* prefix data.
(allout-current-bullet): Strip text properties.
(allout-get-prefix-bullet): Use right match groups.
(allout-beginning-of-line, allout-next-heading): Disqualify aberrant containers.
(allout-previous-heading): Disqualify aberrant containers, and change to
regular (rather than inline) function, to allow self-recursion.
(allout-get-invisibility-overlay): Increment so progress is made when the first
overlay is not the sought one.
(allout-end-of-prefix): Disqualify aberrant containers.
(allout-end-of-line): Cycle something like allout-beginning-of-line.
(allout-mode): Make allout-old-style-prefixes (ie, enabling use with outline.el
outlines) functional again. Change the primary bullet along with the
header-lead - level 1 new-style bullets now work.
Engage allout-before-change-handler in mainline emacs, not just xemacs, to do
undo handling.
(allout-before-change-handler): Expose undo changes occurring in hidden
regions. Use allout-get-invisibility-overlay instead of reimplementing it
inline.
(allout-chart-subtree): Use start rather than end of prefix in charts. Use
allout-recent-depth variable.
(allout-chart-siblings): Disqualify aberrant topics.
(allout-beginning-of-current-entry): Position correctly.
(allout-ascend): Use new allout-depth-specific-regexp and
allout-depth-one-regexp for linear instead of O(N^2) or worse behavior.
(allout-ascend-to-depth): Depend on allout-ascend, rather than reimplementing
an algorithm.
(allout-up-current-level): Depend on allout-ascend, rather than reimplementing
an algorithm. Return to start-point if we fail.
(allout-descend-to-depth): Use allout-recent-depth variable instead of function.
(allout-next-sibling): On traversal of numerous intervening topics, resort to
economical allout-next-sibling-leap.
(allout-next-sibling-leap): Specialized version of allout-next-sibling that
uses allout-ascend cleverly, to depend on a regexp search to leap large numbers
of contained topics, rather than arbitrarily many one-by-one traversals.
(allout-next-visible-heading): Disqualify aberrant topics.
(allout-previous-visible-heading): Position consistently when interactive.
(allout-forward-current-level): Base on allout-previous-sibling rather than
(differently) reimplmenting the algorithm. Remove some unused variables.
(allout-solicit-alternate-bullet): Present default choice stripped of text
properties.
(allout-rebullet-heading): Use bullet stripped of text properties.
Register changes using allout-exposure-change-hook. Disregard aberrant topics.
(allout-shift-in): With universal-argument, make topic a peer of it's former
offspring. Simplify the code by separating out allout-shift-out functionality.
(allout-shift-out): With universal-argument, make offspring peers of their
former container, and its siblings. Implement the functionality here, rather
than inappropriately muddling the implementation of allout-shift-in.
(allout-rebullet-topic): Respect additional argument for new parent-child
separation function.
(allout-yank-processing): Use allout-ascend directly.
(allout-show-entry): Disqualify aberrant topics.
(allout-show-children): Handle discontinuous children gracefully, extending the
depth being revealed to expose them and posting a message indicating the
situation.
(allout-show-to-offshoot): Remove obsolete and incorrect comment. Leave cursor
in correct position.
(allout-hide-current-subtree): Use allout-ascend directly. Disqualify aberrant
topics.
(allout-kill-line, allout-kill-topic): Preserve exposure layout in a way that
the yanks can restore it, as used to happen.
(allout-yank-processing): Restore exposure layout as recorded by allout-kill-*,
as used to happen.
(allout-annotate-hidden, allout-hide-by-annotation): New routines for preseving
and restoring exposure layout across kills.
(allout-toggle-subtree-encryption): Run allout-exposure-change-hook.
(allout-encrypt-string): Strip text properties. Rearranged order and
outline-headings for some of the miscellaneous functions.
(allout-resolve-xref): No need to quote the error name in the condition-case
handler section.
(allout-flatten): Classic recursive (and recursively intensive, without
tail-recursion) list-flattener, needed by allout-shift-out when confronted with
discontinuous children.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 16 Sep 2006 10:24:24 +0000 |
parents | e8a3fb527b77 |
children | 594a719b7a7f c5406394f567 |
line wrap: on
line source
2004-12-27 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> * Activate.c (XMenuActivate): Return XM_NO_SELECT if Escape or C-g was pressed. 2004-11-12 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> * XMenu.h (XMenuActivateSetWaitFunction): New function. * Activate.c (XMenuActivateSetWaitFunction): New function. (XMenuActivate): Call wait_func if set, before XNextEvent. 2002-04-22 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> * Activate.c: Add calls to GrabKeyboard to remove strange interactions with window managers that steal keypresses. Call ungrab_all instead of XtUngrabPointer. (XMenuActivate): Add call to XGrabKeyboard (XMenuActivate): Add call to XUngrabKeyboard 2001-10-20 Gerd Moellmann <gerd@gnu.org> * (Version 21.1 released.) 2001-10-05 Gerd Moellmann <gerd@gnu.org> * Branch for 21.1. 2000-07-21 Eli Zaretskii <eliz@is.elta.co.il> * Activate.c (XMenuActivate): Call help callback with two more arguments: the pane number and selection number. 2000-01-27 Gerd Moellmann <gerd@gnu.org> * Activate.c (XMenuActivate): Add parameter HELP_CALLBACK. Call help callback. * Post.c (XMenuPost): Pass null help callback to XMenuActivate. * AddSel.c (XMenuAddSelection): Add parameter HELP. * XMenu.h (XmSelect): Add member `help_string'. 1999-07-12 Richard Stallman <rms@gnu.org> * Version 20.4 released. 1998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu> * Version 20.3 released. 1997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> * Version 20.2 released. 1997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> * Version 20.1 released. 1996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> * Version 19.33 released. 1996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> * Version 19.32 released. 1996-06-12 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> * Internal.c (_XMRefreshSelection): Check for type SEPARATOR. * InsSel.c (XMenuInsertSelection): Use SEPARATOR if nec. * AddSel.c (XMenuAddSelection): Use SEPARATOR if nec. * XMenu.h: New alternative SEPARATOR. 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu> * Version 19.31 released. 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu> * Version 19.30 released. 1995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu> * Makefile.in (ALL_CFLAGS): Add some -I options. * Activate.c, AddPane.c, AddSel.c, Create.c, InsPane.c, InsSel.c: * Internal.c, XCrAssoc.c, XMakeAssoc.c: Include config.h. 1995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu> * Version 19.29 released. 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu> * Makefile.in (maintainer-clean): Renamed from realclean. 1994-10-25 Richard Stallman <rms@mole.gnu.ai.mit.edu> * Makefile.in (ALL_CFLAGS): Reorder the switches more rationally. 1994-10-24 Jim Wilson (wilson@chestnut.cygnus.com) * Makefile.in (ALL_CFLAGS): Add C_SWITCH_X_MACHINE. 1994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu> * Version 19.27 released. 1994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu> * Version 19.26 released. 1994-07-23 Richard Stallman <rms@mole.gnu.ai.mit.edu> * Error.c (XMenuError): Make `message' static. 1994-06-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Create.c (XAllocDisplayColor): New function. Use it throughout in place of XAllocNamedColor. 1994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Version 19.25 released. 1994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Version 19.24 released. 1994-05-17 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) * Create.c (XMenuCreate): Declare `data' as char*. 1994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Version 19.23 released. 1994-04-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Create.c (XMenuCreate): Declare `data' as unsigned char*. 1994-01-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) * XMakeAssoc.c (XMakeAssoc): Use xmalloc. (_XIOErrorFunction): Decl deleted. 1993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Version 19.22 released. 1993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Activate.c (XMenuActivate): Call XSetWindowBackground and _XMRefreshPane. 1993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Version 19.21 released. 1993-11-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Makefile.in (libXMenu11.a): Tell make not to worry if ranlib fails. Tell user too, in case make doesn't pay attention. 1993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Version 19.20 released. 1993-10-25 Brian Fox (bfox@albert.gnu.ai.mit.edu) * Makefile.in (ALL_CFLAGS): Add C_SWITCH_X_SYSTEM. 1993-09-27 Brian Fox (bfox@valhalla) * Makefile.in (CPP, LN_S, C_SWITCH_X_SITE, CC, CFLAGS): Allow `configure' to supply the values for these variables. 1993-09-26 Brian Fox (bfox@ai.mit.edu) * Makefile.in (VPATH, srcdir): Now that `configure' creates the Makefiles, do not append the current directory to the value of `srcdir' or `VPATH'. 1993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Version 19.19 released. 1993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Version 19.18 released. 1993-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Internal.c (_XMWinQueInit): Use explicit loop, not bzero. 1993-07-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Makefile (ALL_CFLAGS): Use all 6 C_SWITCH_... vars. Among them, put the ..._SITE vars last. 1993-07-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) * Version 19.17 released. 1993-07-07 Jim Blandy (jimb@geech.gnu.ai.mit.edu) * Makefile.in: Write out the dependencies for the object files; otherwise, VPATH won't work. * Makefile.in: Re-arrange, to put `all' target at the top. 1993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu) * Version 19.16 released. 1993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) * version 19.15 released. 1993-06-18 Jim Blandy (jimb@geech.gnu.ai.mit.edu) * Makefile.in (ALL_CFLAGS): Always #define EMACS_BITMAP_FILES. This should make it work under any circumstances. * Makefile.in (mostlyclean): Use rm -f. 1993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) * Version 19.14 released. 1993-06-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Makefile.in (ALL_CFLAGS): Include C_SWITCH_MACHINE, and CPPFLAGS. Put CFLAGS last. 1993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) Bring mumbleclean targets into conformance with GNU coding standards. * Makefile.in (mostlyclean, realclean): New targets. 1993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) * Version 19.13 released. 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Version 19.10 released. 1993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Create.c: Handle EMACS_BITMAP_FILES. Use new names of renamed bitmap files. 1993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu) * AddPane.c, AddSel.c, DelPane.c, DelSel.c, InsPane.c, InsSel.c, XDelAssoc.c, XMakeAssoc.c, XMenu.h, insque.c: Changed all uses of insque and remque to emacs_insque and emacs_remque, so we can safely include insque.c in the library on all systems. 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu) * Makefile.in (.c.o): Use $< instead of ${srcdir}/$*.c; the latter only works with GNU Make. 1993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Create.c (XMenuCreate): Use classes PaneFont and SelectionFont. 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu) * Version 19.9 released. 1993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Create.c (XMenuCreate): Use x_get_resource_string, not XGetDefault. 1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) * Version 19.8 released. 1993-05-23 Jim Blandy (jimb@geech.gnu.ai.mit.edu) * Makefile.in (C_SWITCH_X_SITE): New variable, so that the configuration process can correctly implement the --x-includes option. 1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu) * Create.c (XMenuCreate): Initialize the menu's pixmaps to None, not NULL. 1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu) * Version 19.7 released. 1993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu) * Makefile.in: Renamed from Makefile, so that the top-level makefile can edit it. 1993-04-13 Jim Blandy (jimb@totoro.cs.oberlin.edu) * XLookAssoc.c, XMakeAssoc.c: VMS needs <X11/Xresource.h>, not <X11/Xos.h>. * XCrAssoc.c: #include <errno.h>, not "errno.h". (XCreateAssocTable): Doc fix. 1993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu) * Makefile (.c.o): Include C_SWITCH_SITE and C_SWITCH_SYSTEM in the options to the C compiler. * compile.com, descrip.mms: New files for VMS from Richard Levitte. * XCrAssoc.c, XLookAssoc.c, XDestAssoc.c, XDelAssoc.c: Use <angle brackets> around the names of the X Windows #include files; VMS needs this. * XLookAssoc.c, XMakeAssoc.c: #include <X11/Xos.h>. VMS needs this. * Create.c: On VMS, we have to look for the bitmap files in `./src/bitmaps', not <X11/bitmaps>. 1993-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Makefile (.c.o): Don't rm the .o files. 1993-03-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Activate.c (XMenuActivate): If `active' field is negative, don't allow selecting a string. 1993-03-09 Jim Blandy (jimb@totoro.cs.oberlin.edu) * Create.c (XMenuCreate): New variable `root', holding the display's default root window, so we don't have to write out "RootWindow (display, DefaultScreen (display))" a jillion times. * Create.c (XMenuCreate): Don't assume that all the <X11/bitmaps/foo> patterns are 16x16. Instead of building a bitmap and then converting it to a pixmap of the appropriate depth if necessary, build a pixmap of the appropriate depth directly, using XCreatePixmapFromBitmapData. * Imakefile: Include XCrAssoc.c, XDelAssoc.c, XDestAssoc.c, XLookAssoc.c, and XMakeAssoc.c in SRCS. Similarly for OBJS. * XMenuInt.h: #include <stdio.h> before <X11/Xlib.h>, to avoid warnings about redefining NULL. * XMakeAssoc.c, XLookAssoc.c, XDestAssoc.c, XDelAssoc.c, XCrAssoc.c: #include X11/Xlib.h instead of X11/Xlibint.h. * XMakeAssoc.c, XLookAssoc.c, XCrAssoc.c: If NULL isn't defined by any of the `.h' files, define it. * XMakeAssoc.c, XCrAssoc.c: #include <errno.h>. Add an extern declaration for errno. * XMakeAssoc.c: Add an extern declaration for _XIOErrorFunction. (XMakeAssoc): Use malloc instead of Xmalloc to allocate new parts of the assoc table. * XCrAssoc.c (XCreateAssocTable): Same. * XDestAssoc.c (XDestroyAssocTable): Use free instead of Xfree. * XDelAssoc.c (XDeleteAssoc): Same. 1992-10-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) * XMakeAssoc.c (XMakeAssoc): Use malloc, not Xmalloc. * XCrAssoc.c (XCreateAssocTable): Use malloc and calloc directly. * XDelAssoc.c (XDeleteAssoc): Use free, not Xfree. * XDestAssoc.c (XDestroyAssocTable): Likewise. 1992-10-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) * XDelAssoc.c, XLookAssoc.c, XCrAssoc.c, XDestAssoc.c, XMakeAssoc.c: Use Xlib.h, not Xlibint.h. * XLookAssoc.c, XMakeAssoc.c, XCrAssoc.c (NULL): Defined. * XMakeAssoc.c, XCrAssoc.c: Include errno.h. Declare errno. * XMakeAssoc.c (_XIOErrorFunction): Declared. 1992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) * XDelAssoc.c, XLookAssoc.c, XCrAssoc.c, XDestAssoc.c, XMakeAssoc.c: Specify dir X11/ when including Xlibint.h. 1992-09-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) * XDelAssoc.c, XLookAssoc.c, XCrAssoc.c, XDestAssoc.c, XMakeAssoc.c: New files. * Makefile (SRCS, OBJS): Compile those files. 1992-01-31 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Makefile (clean): Delete object files and library. (distclean): New target. 1992-01-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Makefile (libXMenu11.a): Put `-' on ranlib line. 1992-01-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Makefile (EXTRA): New variable. (libXMenu11.a): Use that. * insque.c: New file. 1992-01-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Makefile (CC): Assignment commented out. 1991-11-16 Noah Friedman (friedman@nutrimat) * copyright.h: New file (copied from X11R4 distribution) * All files: Replaced occurrences of #include <X11/copyright.h> with #include "copyright.h" 1991-10-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) * XMenu.h (enum _xmmode): Remove spurious comma. * X10.h: New file. * XMenu.h, XMenuInt.h: Include X10.h from this dir. 1990-11-13 Richard Stallman (rms@mole.ai.mit.edu) * XMenu.h (struct _xmenu): Use unsigned long for colors. 1990-11-12 Richard Stallman (rms@mole.ai.mit.edu) * Internal.c: Declare argument `display' in some functions. ;; Local Variables: ;; coding: iso-2022-7bit-unix ;; End: Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted provided the copyright notice and this notice are preserved. ;;; arch-tag: 8b17c869-6677-40ce-be86-e62cf34061cf