1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-25 05:52:42 -08:00
Commit graph

49502 commits

Author SHA1 Message Date
Juanma Barranquero
28eba01f65 Fix typos and formatting. 2004-02-28 02:22:38 +00:00
Miles Bader
a874691c6c Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-119
src/keyboard.c (adjust_point_for_property): #ifdef-out dodgy xassert
2004-02-28 01:53:35 +00:00
Kim F. Storm
ec03e8b30a Put gdb breakpoint icons in fringe when available. 2004-02-28 01:32:35 +00:00
Kim F. Storm
c0550a50ac (breakpoint-enabled-icon, breakpoint-disabled-icon):
Initialize margin area images to nil.
(breakpoint-bitmap): New defvar for breakpoint fringe bitmaps.
(breakpoint-enabled-bitmap-face)
(breakpoint-disabled-bitmap-face): New faces for bpt in fringe.
(gdb-info-breakpoints-custom): Use gdb-remove-breakpoint-icons.
(gdb-info-breakpoints-custom): Use gdb-put-breakpoint-icon.
(gdb-mouse-toggle-breakpoint): Handle bpt in fringe.
(gdb-reset): Use gdb-remove-breakpoint-icons.
(gdb-put-string): Add dprop arg to specify alternative display
property (for setting fringe bitmap).
(gdb-remove-strings): Doc fix.
(gdb-put-breakpoint-icon): New defun which displays a breakpoint
icon in fringe (if available), or else as icon or text in display
margin.  Creates necessary icons in breakpoint-bitmap,
breakpoint-enabled-icon, and/or breakpoint-disabled-icon.  Also
make left window margin if required.
(gdb-remove-breakpoint-icons): New defun to remove breakpoint
icons inserted by gdb-put-breakpoint-icon.  Remove left margin if
no longer needed.
(gdb-assembler-custom): Use gdb-remove-breakpoint-icons and
gdb-put-breakpoint-icon.
(gdb-assembler-mode): Don't set left-margin-width here.
2004-02-28 01:32:01 +00:00
Kim F. Storm
40c6ee742c (window_loop, Fforce_window_update): Force mode line
updates by setting prevent_redisplay_optimizations_p and
update_mode_lines.
2004-02-28 01:02:51 +00:00
Kim F. Storm
a4d0dc1b24 (mark_window_display_accurate): Remove prototype. 2004-02-28 01:02:35 +00:00
Kim F. Storm
52d2d88abf (update_window): Update header line also if there are
no other changes in window (move code after set_cursor label).
2004-02-28 01:02:16 +00:00
Kim F. Storm
3e0c648282 *** empty log message *** 2004-02-27 23:55:32 +00:00
Kim F. Storm
b5f2e4cd98 (x_session_check_input): Fix prototype. 2004-02-27 23:50:00 +00:00
Kim F. Storm
89079179f3 (x_focus_changed, x_detect_focus_change): Remove
numchars arg.  Always store event into bufp arg.  Return nothing.
Callers changed accordingly.
(glyph_rect): Simplify.
(STORE_KEYSYM_FOR_DEBUG): New macro.
(SET_SAVED_MENU_EVENT): Use inev instead of bufp, etc.
(current_bufp, current_numcharsp) [USE_GTK]: Remove.
(current_hold_quit) [USE_GTK]: Add.
(event_handler_gdk): Adapt to new handle_one_xevent.
(handle_one_xevent): Remove bufp_r and numcharsp args.
Add hold_quit arg. Rework to use just one, local, inev
input_event. Store inev directly in fifo using
kbd_buffer_store_event_hold.  Update count in one place.
Postpone call to gen_help_event until inev is stored; use new
local do_help for this.
Simplify handling of keysyms (consolidate common code).  Fix bug
where count was updated with nchars instead of nbytes.
Remove local emacs_event in handing of ButtonPress event; just use
inev instead (so no reason to copy it later).
Remove `out' label.  Rename label `ret' to `done'; add various
`goto done' to clarify code flow in deeply nested blocks.
(x_dispatch_event): Simplify as handle_one_xevent now calls
kbd_buffer_store_event itself.
(XTread_socket): Remove bufp_r and numcharsp args. Add hold_quit
arg.  Call handle_one_xevent with new arglist.  Store event from
x_session_check_input in fifo.
[USE_GTK]: Setup current_hold_quit.
Decrement handling_signal before unblocking input.
(x_initialize) [USE_GTK]: Initialize current_count.
2004-02-27 23:49:48 +00:00
Kim F. Storm
a6950dfa24 (x_session_check_input): Remove numchars arg. 2004-02-27 23:49:32 +00:00
Kim F. Storm
004b1d3853 (w32_read_socket): Remove bufp_r and numcharsp args.
Add hold_quit arg. Rework to use just one, local, inev
input_event. Store inev directly in fifo using
kbd_buffer_store_event_hold.  Update count in one place.
Postpone call to gen_help_event until inev is stored; use new
local do_help for this.
Remove local emacs_event in handing of ButtonPress event; just use
inev instead (so no reason to copy it later).
2004-02-27 23:49:20 +00:00
Kim F. Storm
1563958662 (w32_console_mouse_position): Fix prototype. 2004-02-27 23:49:09 +00:00
Kim F. Storm
9cd31aafd4 (w32_console_read_socket): Remove bufp_r and
numcharsp args.  Add hold_quit arg.
Rework to use just one, local, inev input_event. Store inev
directly in fifo using kbd_buffer_store_event_hold.
2004-02-27 23:48:59 +00:00
Kim F. Storm
9c46d57b20 (read_socket_hook): Fix prototype. 2004-02-27 23:48:49 +00:00
Kim F. Storm
a4ab7d751c (read_socket_hook): Fix arg list. 2004-02-27 23:48:32 +00:00
Kim F. Storm
9f893fc68f (BUFFER_SIZE_FACTOR): Remove.
(read_input_waiting): Adapt to new read_socket_hook interface.
Remove allocation and initialization of local input_event buffer,
as read_socket_hook stores events directly in fifo.  Allocate and
initialize local hold_quit event to handle postponed quit event
(and store it if set by kbd_buffer_store_event_hold).
2004-02-27 23:47:48 +00:00
Kim F. Storm
ff158530cb (XTread_socket): Remove bufp_r and numcharsp args. Add hold_quit arg.
Rework to use just one, local, inev input_event. Store inev
directly in fifo using kbd_buffer_store_event_hold.
2004-02-27 23:47:13 +00:00
Kim F. Storm
e0de7f88fe (kbd_buffer_store_event_hold): Add prototype.
(gen_help_event): Fix prototype.
2004-02-27 23:46:47 +00:00
Kim F. Storm
0fc0bac9c4 (kbd_buffer_store_event_hold): New function to store
an event into kbd fifo, but with special handling of quit event;
a quit event is saved for later, and further events are discarded
until the saved quit event has been processed.
(kbd_buffer_store_event): Use kbd_buffer_store_event_hold.
(gen_help_event): Store help event in kbd fifo.
(NREAD_INPUT_EVENTS): Remove.
(read_avail_input): Adapt to new read_socket_hook interface.
Remove allocation and initialization of local input_event buffer,
as read_socket_hook stores events directly in fifo.  Allocate and
initialize local hold_quit event to handle postponed quit event
(and store it if set by kbd_buffer_store_event_hold).
2004-02-27 23:46:31 +00:00
Eli Zaretskii
9022d4219b *** empty log message *** 2004-02-27 17:32:57 +00:00
Eli Zaretskii
97cc3d15d4 Fix copyright years. 2004-02-27 17:30:23 +00:00
Eli Zaretskii
08d87b2d0d In scheme-mode symbol regexp, disallow backquote and
comma, so that it DTRT in macros.
2004-02-27 17:27:25 +00:00
Eli Zaretskii
5d18b95355 (sh-shell-arg, sh-require-final-newline, sh-assignment-regexp, sh-builtins)
(sh-leading-keywords, sh-other-keywords): Fix custom type.
2004-02-27 17:22:27 +00:00
Eli Zaretskii
11a365f9f2 Document the new min-colors face attribute. 2004-02-27 17:14:05 +00:00
Eli Zaretskii
9fe84db655 (Defining Faces): Add description for min-colors. Update example. 2004-02-27 17:07:15 +00:00
Eli Zaretskii
328419c117 (isearch, isearch-lazy-highlight-face): Use `min-colors'. 2004-02-27 17:05:29 +00:00
Eli Zaretskii
a12d182ade (font-lock-comment-face, font-lock-string-face,
font-lock-keyword-face, font-lock-function-name-face,
font-lock-variable-name-face, font-lock-constant-face): Use
`min-colors`.
2004-02-27 17:01:55 +00:00
Eli Zaretskii
6e16699005 (defface): Add documentation for `min-colors'. 2004-02-27 17:00:58 +00:00
Eli Zaretskii
03dd94f22d (face-spec-set-match-display): Add a new attribute, `min-colors'.
(region, highlight, secondary-selection): Use `min-colors`.
2004-02-27 16:59:56 +00:00
Steven Tamm
e35644615b Inserting Yamomotosan's changes for MacOSX image support, better support
of Asian fonts, and some long awaited header cleanup and centralization.
2004-02-26 17:46:48 +00:00
Kim F. Storm
af617d0feb *** empty log message *** 2004-02-26 11:14:34 +00:00
Francesco Potortì
383c1c75ac Correct original attribution 2004-02-26 09:34:52 +00:00
Kim F. Storm
7bc8e4816f Temporary fix; increase NREAD_INPUT_EVENTS to 512. 2004-02-26 08:50:02 +00:00
Vinicius Jose Latorre
449cba4499 A lot of doc fix. 2004-02-26 04:03:40 +00:00
Vinicius Jose Latorre
ea946fccfb For compatibility with Emacs 20, define assq-delete-all if it's not defined. 2004-02-26 00:44:29 +00:00
Kim F. Storm
dd341dd9c2 (handle_single_display_prop): Handle left-fringe and
right-fringe similar to a display margin image.  Specifically,
the characters having the fringe prop are no longer shown, and
we use IT_IMAGE/next_element_from_image with image_id = -1 to
do this.  Set fringe bitmap face_id in it->face_id.
(produce_image_glyph): Handle image_id < 0 as "no image" case, but
still realize it->face (i.e. the fringe bitmap face).
2004-02-25 22:39:54 +00:00
Kim F. Storm
446f5f3d09 *** empty log message *** 2004-02-25 22:38:34 +00:00
Miles Bader
7d8a0b5551 Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-114
Merge some minor redisplay bug-fixes from emacs--tiling--0

Patches applied:

 * miles@gnu.org--gnu-2004/emacs--tiling--0--patch-9
   Remove bogus xassert

 * miles@gnu.org--gnu-2004/emacs--tiling--0--patch-10
   Avoid negative descents for images with ascent > height

 * miles@gnu.org--gnu-2004/emacs--tiling--0--patch-13
   Fix iterator-inconsistency bug in redisplay
2004-02-25 12:54:16 +00:00
Miles Bader
b9db45677a Resolve CVS conflicts 2004-02-25 01:19:08 +00:00
Vinicius Jose Latorre
ac4780a12c ABNF parser. Fix bug on productions like test = {"test"}* | ("tt" ["test"]). Reported by Markus Dreyer. 2004-02-25 00:07:33 +00:00
Vinicius Jose Latorre
da8f925e2d ABNF parser (ebnf2ps) 2004-02-24 22:58:07 +00:00
Jason Rumney
ce35edd1b7 *** empty log message *** 2004-02-24 21:36:21 +00:00
Jason Rumney
2f30610505 (slurp_file, xbm_scan, xbm_load_image)
(xbm_read_bitmap_data): Use unsigned char for image data.
2004-02-24 09:00:24 +00:00
Luc Teirlinck
92f5fba2d6 *** empty log message *** 2004-02-24 03:35:21 +00:00
Luc Teirlinck
7f144ff587 (Finsert_abbrev_table_description): Doc fix. 2004-02-24 03:32:29 +00:00
Luc Teirlinck
68063965ae (write-abbrev-file): Make argument optional. Doc fix.
(abbrev-prefix-mark): Doc fix.
2004-02-24 03:25:33 +00:00
Luc Teirlinck
6763a40546 Various corrections and clarifications in addition to the following:
(Abbrev Tables): Delete add-abbrev (as suggested by RMS).
2004-02-24 03:18:45 +00:00
Nick Roberts
fb2c91be8e (gud-watch): Load tooltip, if necessary.
(gdb-var-create-handler): Force speedbar-update-flag to be non-nil.
(gdb-var-delete): Make interactive (really).
(gdb-edit-value): Make non-interactive.
2004-02-23 00:44:04 +00:00
Nick Roberts
a1a3a37ad3 (Watch Expressions): Update. 2004-02-23 00:43:09 +00:00