| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
make callers correct.
* xfaces.c (compute_char_face): Notice the next property change
location correctly.
* xfaces.c (face_name_id_number): Return 0 (the default face) if
the name is undefined.
* xfaces.c (Fset_face_attribute_internal): Do nothing unless FRAME
is an X frame.
|
|
|
|
|
|
|
|
|
| |
(display_text_line): Initialize current_face to zero. Apply it
to characters as we write them to the display matrix.
(display_string): Pass the new argument to copy_rope.
* xdisp.c (display_text_line): Handle the locations of face
changes properly.
|
|
|
|
|
| |
Fprevious_single_property_change): Pass arguments to textget in
the right order.
|
| |
|
| |
|
| |
|
|
|
|
| |
can be used in place of actual maps.
|
|
|
|
|
|
| |
Duplicate the short MAKE_GLYPH loop after the main loop.
If no display table, do obey selective_display_ellipses.
(copy_part_of_rope): Arg FROM is now Lisp_Object *.
|
|
|
|
|
| |
(Fwhere_is_internal): Likewise.
(describe_vector): Likewise.
|
|
|
|
|
|
| |
(keymap_panes): Allocate that vector.
(single_keymap_panes): Fill in that vector.
(xmenu_show): Return a list of events, not just one event.
|
| |
|
|
|
|
|
|
|
| |
macro here; that's x-specific. Just don't pass the second
argument.
* xfaces.c (compute_glyph_face): Remove the BASIC_FACE argument;
use F's default face.
|
|
|
|
|
|
|
|
|
|
|
| |
on HAVE_X_WINDOWS macro. Perhaps this isn't the best approach,
but it'll do for now.
* xdisp.c (display_text_line): We can't use the FRAME_DEFAULT_FACE
macro here; that's x-specific. Just don't pass the second
argument.
* xfaces.c (compute_glyph_face): Remove the BASIC_FACE argument;
use F's default face.
|
|
|
|
|
|
| |
filesystem being ro, since Solaris 2.1 doesn't.
(file-writable-p): Call ro_fsys.
* s/sol2.h (SOLARIS_BROKEN_ACCESS): Define this.
|
|
|
|
| |
combination of <time.h> and <sys/time.h>.
|
|
|
|
| |
instead of "9x15" or whatever it was.
|
|
|
|
| |
INTERRUPT_INPUT macros.
|
|
|
|
|
|
|
|
|
| |
used by any configuration right now, but he's trying to make it
work.
#include "sunos4-1.h" instead of "bsd4-2.h".
(O_NDELAY): Don't define this.
(SYSTEM_MALLOC): Don't define this, either.
(LD_SWITCH_SYSTEM): Remove the definition for this.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
according to overlays and text properties; use
compute_char_face and compute_glyph_face to figure out what
face to use, and where a new face starts.
* xterm.c (dumpglyphs): Use the upper bits of the glyphs to decide
which frame face to use. Call GLYPH_FOLLOW_ALIASES to make sure
we're implementing the glyph table properly. If we're not using
the default or mode line face, call intern_face to find a display
face for the frame face selected by the glyph code. Implement
underlining. Remove the `font' argument; we have to derive this
from the frame and face anyway. Change all callers.
* disptab.h (GLYPH_FOLLOW_ALIASES): New macro.
* xterm.c (x_destroy_window): Call free_frame_faces.
|
|
|
|
|
|
|
|
| |
init_frame_faces to set up the first two faces.
* xfaces.c (init_frame_faces): Don't just try to copy the default
and mode line faces from some other random frame; instead, consult
the normal_gc and reverse_gc members of the frame, and build the
faces based on their parameters.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* dispextern.h (struct face): Add cached_index member.
* xfaces.c (get_cached_face): Use it to avoid unnecessary
searches of face_vector.
* xfaces.c (intern_face): Renamed from get_display_face.
* xfns.c (x_make_gc): After building the GC's for the frame, call
init_frame_faces to set up the first two faces.
* xfaces.c (init_frame_faces): Don't just try to copy the default
and mode line faces from some other random frame; instead, consult
the normal_gc and reverse_gc members of the frame, and build the
faces based on their parameters.
Adjust the face computation functions to return frame face ID's,
not pointers to display faces; since we call these functions
during display construction, we don't want the display faces yet.
* xfaces.c (intern_frame_face): New function.
(compute_char_face, compute_glyph_face): Apply intern_frame_face
to the computed face, and return the frame face's ID, instead of
calling intern_face and returning a pointer to a display frame.
* xfaces.c: Describe the facial data structures. It took me a
while to figure them out; perhaps this will save someone else the
trouble.
* xfaces.c (get_display_face): Use face_eql instead of writing it out.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* xdisp.c (redisplay_region): New function.
* buffer.c (Fmove_overlay): Call redisplay_region on the areas the
overlay has enclosed or left.
(Fdelete_overlay): Call redisplay_region on the area the overlay
used to occupy.
(Foverlay_put): Call redisplay_region on the area the overlay now
occupies; we may have put a face property on it.
* xdisp.c (redisplay): If we're doing a thorough redisplay (all
windows on all frames involved), go ahead and flush the GC cache -
call clear_face_vector.
* xdisp.c (display_text_line): Apply faces to characters
according to overlays and text properties; use
compute_char_face and compute_glyph_face to figure out what
face to use, and where a new face starts.
* xterm.c (dumpglyphs): Use the upper bits of the glyphs to decide
which frame face to use. Call GLYPH_FOLLOW_ALIASES to make sure
we're implementing the glyph table properly. If we're not using
the default or mode line face, call intern_face to find a display
face for the frame face selected by the glyph code. Implement
underlining. Remove the `font' argument; we have to derive this
from the frame and face anyway. Change all callers.
* disptab.h (GLYPH_FOLLOW_ALIASES): New macro.
|
|
|
|
|
| |
a user option.
* lisp.h (GLYPH, MAKE_GLYPH, GLYPH_CHAR, GLYPH_FACE): New macros.
|
|
|
|
|
| |
returning a non-ascii key sequence unless FIRSTONLY is the symbol
`non-ascii'.
|
|
|
|
|
|
|
|
|
|
|
| |
defined everywhere this file is #included; merge the two
definitions for defined (SIGIO) and ! defined (SIGIO) into one,
which calls reinvoke_input_signal if interrupt_input_pending is
set.
* keyboard.c (reinvoke_input_signal): New function.
* keyboard.c (syms_of_keyboard): Doc fix for
extra-keyboard-modifiers.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to overlays and text properties; use compute_char_face to figure out
what face to use, and where a new face starts.
* xterm.c (dumpglyphs): Use the upper bits of the glyphs to decide
which frame face to use. Call GLYPH_FOLLOW_ALIASES to make sure
we're implementing the glyph table properly. If we're not using
the default or mode line face, call intern_face to find a display
face for the frame face selected by the glyph code. Implement
underlining. Remove the `font' argument; we have to derive this
from the frame and face anyway. Change all callers.
* disptab.h (GLYPH_FOLLOW_ALIASES): New macro.
|
|
|
|
|
| |
* xfaces.c (get_cached_face): Use it to avoid unnecessary
searches of face_vector.
|
|
|
|
|
|
|
|
| |
instead of AC_OUTPUT.
* config.h.in: Remove mention of GLYPH datatype; that shouldn't be
a user option.
* lisp.h (GLYPH, MAKE_GLYPH, GLYPH_CHAR, GLYPH_FACE): New macros.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* xdisp.c (redisplay_region): New function.
* buffer.c (Fmove_overlay): Call redisplay_region on the areas the
overlay has enclosed or left.
(Fdelete_overlay): Call redisplay_region on the area the overlay
used to occupy.
(Foverlay_put): Call redisplay_region on the area the overlay now
occupies; we may have put a face property on it.
* buffer.c (Fmove_overlay): Doc fix.
|
|
|
|
|
|
|
|
| |
defined everywhere this file is #included; merge the two
definitions for defined (SIGIO) and ! defined (SIGIO) into one,
which calls reinvoke_input_signal if interrupt_input_pending is
set.
* keyboard.c (reinvoke_input_signal): New function.
|
|
|
|
|
|
|
|
|
|
|
|
| |
config.h file directly, instead of having lots of -D flags.
* Makefile.in (CFLAGS): Don't make this carry DEFS from the
configure script; the coding standards say that CFLAGS should be
left for the user to tweak.
* Makefile.in (LN_S): New variable, edited by top Makefile.
(SUBMAKEFILE): New variable, containing all flags to pass to
recursive makes.
|
|
|
|
|
|
|
| |
* keyboard.c (do_mouse_tracking): Now static.
* keyboard.c (read_char_menu_prompt): Expect Fx_popup_menu
to return a list of events. Don't lose any of them.
|
| |
|
| |
|
|
|
|
| |
(syms_of_window): Don't make it Lisp var.
|
|
|
|
| |
(Fset_input_mode): Set meta_key to 2 if META arg isn't t or nil.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
CHAR_META): Shift these all up one bit, back to where they were.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* keyboard.c (syms_of_keyboard): Doc fix for
extra-keyboard-modifiers; use the same modifier bits as we do for
characters.
(read_char): Apply all the modifiers in extra_keyboard_modifiers
to the input characters, so you can get hyper, super, and the rest
of the gang.
* xterm.c (x_emacs_to_x_modifiers): New function.
(x_convert_modifiers): Renamed to x_x_to_emacs_modifiers, for
consistency. Callers changed.
(XTread_socket): Apply x_emacs_to_x_modifiers to
extra_keyboard_modifiers before setting the state member of the
event; this will get all the modifiers on ASCII characters.
* xterm.c (x_text_icon): Don't call XSetIconName; it should be
unnecessary, and perhaps it's killing the icon pixmap.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* s/mach2.h: copied from the Emacs 18.59 distribution.
Don't define NO_REMAP, define START_FILES as
`pre-crt0.o' instead. Define LIB_MATH as `-lm', to override the
default `-lm -lc' (there is no libc on the NeXT).
* ymakefile (STARTFILES): Allow config.h to set this value even if
ORDINARY_LINK is defined.
* unexnext.c: Fix subdirectories for the machine dependent include
files for NeXTStep 3.0; #include <mach/mach.h> and
<mach-o/loader.h> instead of <mach.h> and <sys/loader.h>.
(getsectbyname): Remove prototype for this; the system #include
files take care of that.
(malloc_cookie): New variable.
(unexec_doit): Set malloc_cookie to the result returned by
malloc_freezedry.
* emacs.c (main): Declare malloc_cookie to be extern, so that we can
get the value set when we dumped and pass it to malloc_jumpstart.
* systime.h: The NeXT has a timezone function.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
case we need them.
* termhooks.h (alt_modifier, super_modifier, hyper_modifier,
shift_modifier, ctrl_modifier, meta_modifier): Define these in
terms of the CHAR_mumble macros, to avoid having the same thing
defined in two places.
Make the modifier manipulation functions more robust. The old way
caused a bug once, and probably would again.
* termhooks.h (alt_modifier, super_modifier, hyper_modifier,
shift_modifier, ctrl_modifier, meta_modifier): Shift these all
down one bit in value, to avoid sign extension problems.
* lisp.h (CHAR_META, CHAR_CTL, CHAR_SHIFT): Fix these definitions too.
* keyboard.c (lispy_modifier_list): Ignore modifier bits beyond
what our table of modifier names can handle.
(apply_modifiers): Don't abort if you see extra modifier bits,
just remove them.
|
|
|
|
|
| |
functions in sysdep.c.
* sysdep.c (emacs_get_tty, emacs_set_tty): Here they are.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(EMACS_SET_USECS): Remember that a `usec' is a microsecond, not a
millisecond. What's three orders of magnitude between friends?
* dispnew.c (Fsit_for, Fsleep_for): Remember to multiply the
`milliseconds' argument by 1000 to get microseconds.
Changes for Emacs 19 from Thorsten Ohl <[email protected]>:
* s/mach2.h: copied from the Emacs 18.59 distribution.
Don't define NO_REMAP, define START_FILES as
`pre-crt0.o' instead. Define LIB_MATH as `-lm', to override the
default `-lm -lc' (there is no libc on the NeXT).
* ymakefile (STARTFILES): Allow config.h to set this value even if
ORDINARY_LINK is defined.
* unexnext.c: Fix subdirectories for the machine dependent include
files for NeXTStep 3.0; #include <mach/mach.h> and
<mach-o/loader.h> instead of <mach.h> and <sys/loader.h>.
(getsectbyname): Remove prototype for this; the system #include
files take care of that.
(malloc_cookie): New variable.
(unexec_doit): Set malloc_cookie to the result returned by
malloc_freezedry.
* emacs.c (main): Declare malloc_cookie to be extern, so that we can
get the value set when we dumped and pass it to malloc_jumpstart.
* systime.h: The NeXT has a timezone function.
|
|
|
|
|
|
|
|
| |
functions in sysdep.c.
* sysdep.c (emacs_get_tty, emacs_set_tty): Here they are.
* sysdep.c (emacs_set_tty): Call tcsetattr over and over again
until it does all of what we ask it to, or returns an error.
|
|
|
|
|
| |
beginning or end of the original text to float to the
corresponding position in the replacement text.
|