]> code.delx.au - gnu-emacs/log
gnu-emacs
21 years ago(No_Cursor): Declare as None for X.
Kim F. Storm [Fri, 21 Mar 2003 13:52:57 +0000 (13:52 +0000)]
(No_Cursor): Declare as None for X.
(struct mac_output): Replace member cross_cursor by hand_cursor.

21 years ago* xterm.c: Remove consolidated defines and code.
Kim F. Storm [Fri, 21 Mar 2003 13:52:48 +0000 (13:52 +0000)]
* xterm.c: Remove consolidated defines and code.
(BETWEEN): Remove unused macro.
(x_draw_vertical_window_border, x_shift_glyphs_for_insert)
(x_define_frame_cursor, x_clear_frame_area)
(x_draw_window_cursor): New X-specific functions for RIF.
(x_redisplay_interface): Add new members.

21 years agoSetup and use hand_cursor instead of cross_cursor.
Kim F. Storm [Fri, 21 Mar 2003 13:52:37 +0000 (13:52 +0000)]
Setup and use hand_cursor instead of cross_cursor.

21 years agoThe following changes consolidate code related to writing and
Kim F. Storm [Fri, 21 Mar 2003 13:52:28 +0000 (13:52 +0000)]
The following changes consolidate code related to writing and
inserting glyphs, exposing frame, the tool bar, the mouse face,
the output cursor, and help echo from xterm.c, w32term.c and
macterm.c into xdisp.c.  It also generalizes the use of the
window_part enum instead of using numeric values throughout.

* xdisp.c: Consolidate gui-independent code here.
Include keymap.h.
(Qhelp_echo): Import.
(mouse_autoselect_window, x_stretch_cursor_p): Declare here.
(help_echo_string, help_echo_window, help_echo_object)
(previous_help_echo_string, help_echo_pos): Declare here.
(output_cursor, last_mouse_frame, last_tool_bar_item): Declare here.
(estimate_mode_line_height): Define here.  Handle windowing
systems directly (without using estimate_mode_line_height_hook).
(x_y_to_hpos_vpos, get_tool_bar_item, note_tool_bar_highlight):
(update_window_cursor, update_cursor_in_window_tree)
(fast_find_position, fast_find_string_pos)
(note_mode_line_highlight, note_mode_line_or_margin_highlight)
(expose_area, expose_line, expose_overlaps, expose_window)
(expose_window_tree, phys_cursor_in_rect_p): New generic versions;
declared static as they are only used locally in xdisp.c.
(draw_glyphs): Rename from x_draw_glyphs and make static.
(tool_bar_item_info, notice_overwritten_cursor): Make static.
(frame_to_window_pixel_xy, get_glyph_string_clip_rect)
(set_output_cursor, x_cursor_to, handle_tool_bar_click)
(x_write_glyphs, x_insert_glyphs, x_clear_end_of_line):
(x_fix_overlapping_area, draw_phys_cursor_glyph, erase_phys_cursor)
(display_and_set_cursor, x_update_cursor, x_clear_cursor)
(show_mouse_face, clear_mouse_face, cursor_in_mouse_face_p)
(note_mouse_highlight, x_clear_window_mouse_face)
(cancel_mouse_face, x_draw_vertical_border, expose_frame)
(x_intersect_rectangles): New generic functions for use by xdisp.c
and GUI front-ends.
(syms_of_xdisp): Initialize and staticpro help_echo* variables.
Defvar_bool "x-streach-cursor" and "mouse-autoselect-window" here.

21 years ago(window_from_coordinates): Fix prototype.
Kim F. Storm [Fri, 21 Mar 2003 13:52:14 +0000 (13:52 +0000)]
(window_from_coordinates): Fix prototype.

21 years ago* window.c (enum window_part): Move to dispextern.h.
Kim F. Storm [Fri, 21 Mar 2003 13:52:06 +0000 (13:52 +0000)]
* window.c (enum window_part): Move to dispextern.h.
(coordinates_in_window): Use enum window_part member names
instead of numbers to describe return value.
(struct check_window_data): Change part member to window_part.
(check_window_containing): Return window_part unaltered.
(window_from_coordinates): Change part arg from int to enum
window_part.  Allow part arg to be null.  All users changed.

21 years ago(struct w32_output): Remove cross_cursor member.
Kim F. Storm [Fri, 21 Mar 2003 13:51:52 +0000 (13:51 +0000)]
(struct w32_output): Remove cross_cursor member.

21 years ago* w32term.c: Remove consolidated defines and code.
Kim F. Storm [Fri, 21 Mar 2003 13:51:43 +0000 (13:51 +0000)]
* w32term.c: Remove consolidated defines and code.
(BETWEEN): Remove unused macro.
(w32_draw_vertical_window_border, w32_shift_glyphs_for_insert)
(w32_define_frame_cursor, w32_clear_frame_area)
(w32_draw_window_cursor): New W32-specific functions for RIF.
(w32_redisplay_interface): Add new members.

21 years ago(No_Cursor): Define as 0 for W32.
Kim F. Storm [Fri, 21 Mar 2003 13:51:33 +0000 (13:51 +0000)]
(No_Cursor):  Define as 0 for W32.
(XRectangle): Add X compatible rectangle type.
(NativeRectangle): Declare as RECT for W32.
(CONVERT_TO_XRECT, CONVERT_FROM_XRECT, STORE_NATIVE_RECT): New macros.

21 years agoRemove setup of cross_cursor (already has hand_cursor).
Kim F. Storm [Fri, 21 Mar 2003 13:51:25 +0000 (13:51 +0000)]
Remove setup of cross_cursor (already has hand_cursor).

21 years agoRemove consolidated defines and code.
Kim F. Storm [Fri, 21 Mar 2003 13:51:17 +0000 (13:51 +0000)]
Remove consolidated defines and code.

21 years ago(estimate_mode_line_height): Move to xdisp.c.
Kim F. Storm [Fri, 21 Mar 2003 13:51:06 +0000 (13:51 +0000)]
(estimate_mode_line_height): Move to xdisp.c.

21 years ago(Display_Info): Add generic typedef.
Kim F. Storm [Fri, 21 Mar 2003 13:50:50 +0000 (13:50 +0000)]
(Display_Info): Add generic typedef.

21 years agoRemove consolidated defines and code.
Kim F. Storm [Fri, 21 Mar 2003 13:50:39 +0000 (13:50 +0000)]
Remove consolidated defines and code.
(IT_note_mouse_highlight, dos_rawgetc): Use enum window_part.

21 years ago(xdisp.o): Add dependency on keymap.h.
Kim F. Storm [Fri, 21 Mar 2003 13:50:27 +0000 (13:50 +0000)]
(xdisp.o): Add dependency on keymap.h.

21 years ago(struct mac_output): Replace member cross_cursor by
Kim F. Storm [Fri, 21 Mar 2003 13:50:20 +0000 (13:50 +0000)]
(struct mac_output): Replace member cross_cursor by
hand_cursor.
(activate_scroll_bars, deactivate_scroll_bars): Add prototypes.

21 years ago* macterm.c: Remove consolidated defines and code.
Kim F. Storm [Fri, 21 Mar 2003 13:50:10 +0000 (13:50 +0000)]
* macterm.c: Remove consolidated defines and code.
(BETWEEN): Remove unused macro.
(mac_draw_vertical_window_border, mac_shift_glyphs_for_insert)
(mac_define_frame_cursor, mac_clear_frame_area)
(mac_draw_window_cursor): New Mac-specific functions for RIF.
(x_redisplay_interface): Add new members.

21 years ago(No_Cursor): Define as 0 for Mac.
Kim F. Storm [Fri, 21 Mar 2003 13:49:57 +0000 (13:49 +0000)]
(No_Cursor): Define as 0 for Mac.
(XRectangle): Add X compatible rectangle type.
(NativeRectangle): Declare as Rect for Mac.
(CONVERT_TO_XRECT, CONVERT_FROM_XRECT, STORE_NATIVE_RECT): New macros.

21 years ago(x_set_mouse_color): Setup hand_cursor instead of cross_cursor.
Kim F. Storm [Fri, 21 Mar 2003 13:49:48 +0000 (13:49 +0000)]
(x_set_mouse_color): Setup hand_cursor instead of cross_cursor.
(x_set_cursor_color): Use x_display_and_set_cursor instead of x_display_cursor.

21 years ago(make_lispy_event): Use enum window_part.
Kim F. Storm [Fri, 21 Mar 2003 13:49:39 +0000 (13:49 +0000)]
(make_lispy_event): Use enum window_part.

21 years ago(mode_line_string, marginal_area_string): Use enum
Kim F. Storm [Fri, 21 Mar 2003 13:49:31 +0000 (13:49 +0000)]
(mode_line_string, marginal_area_string): Use enum
window_part instead of int in arg list.  Users changed.

21 years ago* dispextern.h (Display_Info): Generic typedef for *_display_info.
Kim F. Storm [Fri, 21 Mar 2003 13:49:19 +0000 (13:49 +0000)]
* dispextern.h (Display_Info): Generic typedef for *_display_info.
(NativeRectangle): Generic typedef for rectangle type.
(enum window_part): Move here from window.c.
(struct redisplay_interface): New members flush_display_optional,
define_frame_cursor, clear_frame_area, draw_window_cursor,
draw_vertical_window_border, shift_glyphs_for_insert.
Rename member clear_mouse_face to clear_window_mouse_face.
(estimate_mode_line_height_hook): Remove hook.
(auto_raise_tool_bar_buttons_p): Don't declare extern.
(tool_bar_item_info): Remove prototype.
(help_echo_string, help_echo_window, help_echo_object)
(previous_help_echo_string, help_echo_pos)
(last_mouse_frame, last_tool_bar_item, mouse_autoselect_window):
(x_stretch_cursor_p, output_cursor): Declare extern.
(x_draw_glyphs, notice_overwritten_cursor): Remove prototypes.
(x_write_glyphs), x_insert_glyphs, x_clear_end_of_line)
(x_fix_overlapping_area, draw_phys_cursor_glyph, erase_phys_cursor)
(display_and_set_cursor, set_output_cursor, x_cursor_to)
(x_update_cursor, x_clear_cursor, x_draw_vertical_border)
(frame_to_window_pixel_xy, get_glyph_string_clip_rect)
(note_mouse_highlight, x_clear_window_mouse_face, cancel_mouse_face)
(handle_tool_bar_click, clear_mouse_face, show_mouse_face)
(cursor_in_mouse_face_p, expose_frame, x_intersect_rectangles):
Add prototypes.
(mode_line_string, marginal_area_string): Fix prototypes.

21 years ago(xdisp.o): Add dependency on blockinput.h and files
Kim F. Storm [Fri, 21 Mar 2003 13:48:50 +0000 (13:48 +0000)]
(xdisp.o):  Add dependency on blockinput.h and files
included from it.  Add dependency on keymap.h.

21 years ago*** empty log message ***
Kenichi Handa [Fri, 21 Mar 2003 05:55:03 +0000 (05:55 +0000)]
*** empty log message ***

21 years ago(Fexpand_file_name): Fix previous change.
Kenichi Handa [Fri, 21 Mar 2003 05:45:23 +0000 (05:45 +0000)]
(Fexpand_file_name): Fix previous change.

21 years ago(xml-parse-attlist): typo in attribute parsing.
Juanma Barranquero [Thu, 20 Mar 2003 18:01:58 +0000 (18:01 +0000)]
(xml-parse-attlist): typo in attribute parsing.

21 years ago(ccl-decode-mule-utf-8): Fix a bug of
Kenichi Handa [Wed, 19 Mar 2003 23:36:15 +0000 (23:36 +0000)]
(ccl-decode-mule-utf-8): Fix a bug of
invalid 5 to 6 bytes sequence.

21 years ago(makefile-font-lock-syntactic-keywords): New variable.
Juanma Barranquero [Wed, 19 Mar 2003 22:25:11 +0000 (22:25 +0000)]
(makefile-font-lock-syntactic-keywords): New variable.
(makefile-mode): Use it for value of font-lock-syntactic-keywords.

21 years ago(custom-theme-create): Add autoload cookie.
John Paul Wallington [Wed, 19 Mar 2003 17:17:58 +0000 (17:17 +0000)]
(custom-theme-create): Add autoload cookie.

21 years ago(cvs-mode-tag): Docstring improvement.
Stefan Monnier [Wed, 19 Mar 2003 14:34:24 +0000 (14:34 +0000)]
(cvs-mode-tag): Docstring improvement.

21 years agoRelease instructions added.
Francesco Potortì [Wed, 19 Mar 2003 13:02:12 +0000 (13:02 +0000)]
Release instructions added.

21 years ago(make_specified_string): Fix previous change.
Kenichi Handa [Wed, 19 Mar 2003 12:24:43 +0000 (12:24 +0000)]
(make_specified_string): Fix previous change.

21 years ago(Fread_file_name): Fix previous change.
Kenichi Handa [Wed, 19 Mar 2003 12:09:37 +0000 (12:09 +0000)]
(Fread_file_name): Fix previous change.

21 years ago*** empty log message ***
Kenichi Handa [Wed, 19 Mar 2003 11:58:43 +0000 (11:58 +0000)]
*** empty log message ***

21 years ago* dired.el (dired-get-filename): Pay attention to the case that
Kenichi Handa [Wed, 19 Mar 2003 11:58:25 +0000 (11:58 +0000)]
* dired.el (dired-get-filename): Pay attention to the case that
`read' returns a unibyte string.  Don't encode the file name by
buffer-file-coding-system.

21 years ago(Ffile_name_directory): Reconstruct file name by
Kenichi Handa [Wed, 19 Mar 2003 11:54:57 +0000 (11:54 +0000)]
(Ffile_name_directory): Reconstruct file name by
make_specified_string.
(Ffile_name_nondirectory, Ffile_name_as_directory)
(Fdirectory_file_name, Fexpand_file_name)
(Fsubstitute_in_file_name): Likewise.
(Fread_file_name): Compare decoded homedir with DIR and
DEFAULT_FILENAME.

21 years ago*** empty log message ***
Kenichi Handa [Wed, 19 Mar 2003 11:37:35 +0000 (11:37 +0000)]
*** empty log message ***

21 years ago("Latin-6"): Fix input-method.
Kenichi Handa [Wed, 19 Mar 2003 11:11:50 +0000 (11:11 +0000)]
("Latin-6"): Fix input-method.
("Latin-7"): Fix input-method.

21 years agoFix compilation with --with-x=no.
Kim F. Storm [Tue, 18 Mar 2003 23:46:21 +0000 (23:46 +0000)]
Fix compilation with --with-x=no.

21 years ago* gtkutil.c (xg_frame_cleared): Call gtk_widget_queue_draw for
Jan Djärv [Tue, 18 Mar 2003 22:09:06 +0000 (22:09 +0000)]
* gtkutil.c (xg_frame_cleared): Call gtk_widget_queue_draw for
    all widgets.

21 years ago*** empty log message ***
Juanma Barranquero [Tue, 18 Mar 2003 21:20:51 +0000 (21:20 +0000)]
*** empty log message ***

21 years ago(Faccessible_keymaps): Remove unused var.
Stefan Monnier [Tue, 18 Mar 2003 19:35:23 +0000 (19:35 +0000)]
(Faccessible_keymaps): Remove unused var.

21 years ago(accessible_keymaps_1): Break cycles but without preventing
Stefan Monnier [Tue, 18 Mar 2003 19:34:31 +0000 (19:34 +0000)]
(accessible_keymaps_1): Break cycles but without preventing
multiple occurrences of the same keymap under different prefixes.
(Faccessible_keymaps): Remove code redundant since 1994-08-03T07:39:00Z!rms@gnu.org.

21 years agogtkutil.h: Removed xg_ignore_next_thumb.
Jan Djärv [Tue, 18 Mar 2003 17:48:45 +0000 (17:48 +0000)]
gtkutil.h: Removed xg_ignore_next_thumb.

21 years ago(command-line-1): Use command-execute for any command.
Stefan Monnier [Tue, 18 Mar 2003 09:41:39 +0000 (09:41 +0000)]
(command-line-1): Use command-execute for any command.

21 years ago*** empty log message ***
Kenichi Handa [Tue, 18 Mar 2003 04:27:53 +0000 (04:27 +0000)]
*** empty log message ***

21 years ago(Vchar_coding_system_table): Remove this variable.
Kenichi Handa [Tue, 18 Mar 2003 04:26:15 +0000 (04:26 +0000)]
(Vchar_coding_system_table): Remove this variable.
(Vcoding_system_safe_chars): New variable.
(intersection): Remove this function.
(find_safe_codings): Don't use Vchar_coding_system_table, but try
all codings in SAFE_CODINGS.
(Ffind_coding_systems_region_internal): Adjusted for the change of
find_safe_codings.  Get generic coding systems from
Vcoding_system_safe_chars.
(Fdefine_coding_system_internal): New function.
(syms_of_coding): Defsubr Sdefine_coding_system_internal.
Initialize and staticpro Vcoding_system_safe_chars.

21 years ago(cp-fix-safe-chars): Make it obsolete.
Kenichi Handa [Tue, 18 Mar 2003 04:25:02 +0000 (04:25 +0000)]
(cp-fix-safe-chars): Make it obsolete.
(cp-make-coding-system): Don't call cp-fix-safe-chars.

21 years ago(find-coding-systems-for-charsets):
Kenichi Handa [Tue, 18 Mar 2003 04:23:50 +0000 (04:23 +0000)]
(find-coding-systems-for-charsets):
Use find-coding-systems-string instead of looking up
char-coding-system-table.

21 years ago(no-conversion): Call
Kenichi Handa [Tue, 18 Mar 2003 04:23:12 +0000 (04:23 +0000)]
(no-conversion): Call
define-coding-system-internal on this coding system instead of
calling register-char-codings.

21 years ago* international/mule.el (optimize-char-coding-system-table):
Kenichi Handa [Tue, 18 Mar 2003 04:11:32 +0000 (04:11 +0000)]
* international/mule.el (optimize-char-coding-system-table):
Remove this function.
(register-char-codings): Make it obsolete.
(char-coding-system-table): Defconst it here.
(make-coding-system): Don't call register-char-codings, call
define-coding-system-internal.

21 years ago(ucs-unify-8859): Don't call
Kenichi Handa [Tue, 18 Mar 2003 04:08:39 +0000 (04:08 +0000)]
(ucs-unify-8859): Don't call
register-char-codings.
(ucs-unify-8859): Don't call optimize-char-coding-system-table.
(ucs-fragment-8859): Don't update char-coding-system-table.  Don't
call register-char-codings nor optimize-char-coding-system-table.

21 years ago(utf-fragment-on-decoding): Don't call
Kenichi Handa [Tue, 18 Mar 2003 04:06:48 +0000 (04:06 +0000)]
(utf-fragment-on-decoding): Don't call
register-char-codings.
(utf-fragment-on-decoding): Don't update char-coding-system-table.
(utf-translate-cjk): Don't call register-char-codings nor
optimize-char-coding-system-table.  Don't update
char-coding-system-table.

21 years ago* gtkutil.c (xg_set_toolkit_scroll_bar_thumb): Check if new values
Jan Djärv [Mon, 17 Mar 2003 23:17:32 +0000 (23:17 +0000)]
* gtkutil.c (xg_set_toolkit_scroll_bar_thumb): Check if new values
  equal old values before updating.

21 years agoNew approach to scrolling and scroll bars for better redraw and smoother
Jan Djärv [Mon, 17 Mar 2003 23:03:53 +0000 (23:03 +0000)]
New approach to scrolling and scroll bars for better redraw and smoother
scroll bar behaviour.

21 years ago($(BLD)/xdisp.$(O)): Depend also on atimer.h and systime.h.
Juanma Barranquero [Mon, 17 Mar 2003 18:56:53 +0000 (18:56 +0000)]
($(BLD)/xdisp.$(O)): Depend also on atimer.h and systime.h.

21 years ago($(BLD)/xdisp.$(O)): Add dependency from blockinput.h.
Juanma Barranquero [Mon, 17 Mar 2003 18:51:19 +0000 (18:51 +0000)]
($(BLD)/xdisp.$(O)): Add dependency from blockinput.h.

21 years ago*** empty log message ***
Stefan Monnier [Mon, 17 Mar 2003 18:24:27 +0000 (18:24 +0000)]
*** empty log message ***

21 years ago(list-buffers-noselect): Use the display property
Stefan Monnier [Mon, 17 Mar 2003 18:12:42 +0000 (18:12 +0000)]
(list-buffers-noselect): Use the display property
to properly align header-line text with the buffer's contents.

21 years agoInclude blockinput.h for interrupt_input_blocked.
Stefan Monnier [Mon, 17 Mar 2003 16:07:30 +0000 (16:07 +0000)]
Include blockinput.h for interrupt_input_blocked.

21 years ago(ctext-post-read-conversion): Convert the
Kenichi Handa [Mon, 17 Mar 2003 05:38:39 +0000 (05:38 +0000)]
(ctext-post-read-conversion): Convert the
search pattern to multibyte by string-to-multibyte.

21 years ago*** empty log message ***
Francesco Potortì [Sun, 16 Mar 2003 22:38:48 +0000 (22:38 +0000)]
*** empty log message ***

21 years agoCheck for need for bigtoc support on IBM AIX for
Francesco Potortì [Sun, 16 Mar 2003 22:30:36 +0000 (22:30 +0000)]
Check for need for bigtoc support on IBM AIX for
solving a linker table overflow problem.

21 years ago(jpeg_load, png_load, slurp_file): Read image files
Jason Rumney [Sun, 16 Mar 2003 22:13:53 +0000 (22:13 +0000)]
(jpeg_load, png_load, slurp_file): Read image files
as binary.

21 years ago(w32_encode_char): Prevent double-byte chars from crashing Emacs.
Jason Rumney [Sun, 16 Mar 2003 22:11:04 +0000 (22:11 +0000)]
(w32_encode_char): Prevent double-byte chars from crashing Emacs.

21 years agoUse HDC for Display.
Jason Rumney [Sun, 16 Mar 2003 22:10:12 +0000 (22:10 +0000)]
Use HDC for Display.

21 years ago(x_produce_glyphs): Use FRAME_BASELINE_OFFSET.
Juanma Barranquero [Sun, 16 Mar 2003 22:05:00 +0000 (22:05 +0000)]
(x_produce_glyphs): Use FRAME_BASELINE_OFFSET.

21 years agoFix typo.
Kim F. Storm [Sun, 16 Mar 2003 20:50:57 +0000 (20:50 +0000)]
Fix typo.

21 years ago(FRAME_X_OUTPUT, FRAME_X_WINDOW, FRAME_X_DISPLAY):
Kim F. Storm [Sun, 16 Mar 2003 20:49:50 +0000 (20:49 +0000)]
(FRAME_X_OUTPUT, FRAME_X_WINDOW, FRAME_X_DISPLAY):
(FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE): New macros for
consolidation.

21 years agoThe following changes consolidate some of the gui-independent
Kim F. Storm [Sun, 16 Mar 2003 20:48:56 +0000 (20:48 +0000)]
The following changes consolidate some of the gui-independent
parts of the processing and drawing of "glyph strings" from
xterm.c, w32term.c, and macterm.c into xdisp.c.

* macterm.c: Remove consolidated defines and code.
(mac_per_char_metric): New function for RIF.
(mac_encode_char): Adapted to new RIF requirements.
(mac_compute_glyph_string_overhangs): Adapt for RIF.
(x_redisplay_interface): Add new members.

21 years ago(XChar2b): Move typedef here for consolidation.
Kim F. Storm [Sun, 16 Mar 2003 20:48:31 +0000 (20:48 +0000)]
(XChar2b): Move typedef here for consolidation.
(STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): New macros.

21 years ago(FRAME_X_OUTPUT, FRAME_X_WINDOW, FRAME_X_DISPLAY)
Kim F. Storm [Sun, 16 Mar 2003 20:48:21 +0000 (20:48 +0000)]
(FRAME_X_OUTPUT, FRAME_X_WINDOW, FRAME_X_DISPLAY)
(FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE):
New macros for consolidation.

21 years agoRemove consolidated defines and code.
Kim F. Storm [Sun, 16 Mar 2003 20:47:48 +0000 (20:47 +0000)]
Remove consolidated defines and code.
(BUILD_WCHAR_T, BYTE1, BYTE2): Macros removed; callers changed
to use STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2 instead.
(w32_per_char_metric): Change font_type arg to int for RIF.
(w32_encode_char): Return int according to RIF requirements.
(w32_compute_glyph_string_overhangs): Adapt to RIF.
(w32_get_glyph_overhangs): New function for RIF.  Uses generic
x_get_glyph_overhangs.
(w32_redisplay_interface): Add new members.

21 years ago(Display): Add dummy typedef for consolidation.
Kim F. Storm [Sun, 16 Mar 2003 20:47:30 +0000 (20:47 +0000)]
(Display): Add dummy typedef for consolidation.
(XChar2b): Define alias for wchar_t for consolidation.
(STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): New macros.

21 years ago(FONT_DESCENT, FRAME_X_OUTPUT, FRAME_BASELINE_OFFSET)
Kim F. Storm [Sun, 16 Mar 2003 20:47:08 +0000 (20:47 +0000)]
(FONT_DESCENT, FRAME_X_OUTPUT, FRAME_BASELINE_OFFSET)
(FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE)
(STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2):
New macros for consolidated code.

21 years agoRemove consolidated defines and code.
Kim F. Storm [Sun, 16 Mar 2003 20:46:42 +0000 (20:46 +0000)]
Remove consolidated defines and code.
(x_per_char_metric, x_encode_char)
(x_compute_glyph_string_overhangs): Adapt to RIF requirements.
(x_redisplay_interface): Add new members.

21 years agoConsolidate gui-independent "glyph string" code here.
Kim F. Storm [Sun, 16 Mar 2003 20:45:46 +0000 (20:45 +0000)]
Consolidate gui-independent "glyph string" code here.
(dump_glyph_string): Moved here.
(init_glyph_string, append_glyph_string_lists, append_glyph_string)
(prepend_glyph_string_lists, get_glyph_face_and_encoding)
(fill_composite_glyph_string, fill_glyph_string)
(fill_image_glyph_string, fill_stretch_glyph_string)
(left_overwritten, left_overwriting, right_overwritten)
(right_overwriting, get_char_face_and_encoding)
(set_glyph_string_background_width, compute_overhangs_and_x)
(append_glyph, append_composite_glyph, produce_image_glyph)
(take_vertical_position_into_account, append_stretch_glyph)
(produce_stretch_glyph): New generic functions (based on X version).
Call platform specific functions through rif.
(INIT_GLYPH_STRING): New macro, hides W32 details.
(BUILD_STRETCH_GLYPH_STRING, BUILD_IMAGE_GLYPH_STRING)
(BUILD_CHAR_GLYPH_STRINGS, BUILD_COMPOSITE_GLYPH_STRING)
(BUILD_GLYPH_STRINGS): Generic macros (based on X version).
(x_draw_glyphs, x_get_glyph_overhangs, x_produce_glyphs)
(notice_overwritten_cursor):
Generic functions exported to platform modules.  Users changed.

21 years ago(struct glyph): Reduce face_id member from 22 to
Kim F. Storm [Sun, 16 Mar 2003 20:45:20 +0000 (20:45 +0000)]
(struct glyph): Reduce face_id member from 22 to
21 bits (this reduces number of faces from 4M to 2M).
Replace W32 specific w32_font_type member (2 bits) by generic
font_type member (3 bits) for portability.
(FONT_TYPE_UNKNOWN): New define, default for font_type member.
(enum draw_glyphs_face): Define here.
(struct glyph_string): Define here.  Merge W32 and X versions.
(struct redisplay_interface): New members per_char_metric,
encode_char, compute_glyph_string_overhangs, draw_glyph_string.
(VCENTER_BASELINE_OFFSET): Define here.
(dump_glyph_string, x_get_glyph_overhangs, x_produce_glyphs)
(x_draw_glyphs, notice_overwritten_cursor): Declare prototypes here.

21 years agoThe following changes consolidate some of the gui-independent
Kim F. Storm [Sun, 16 Mar 2003 20:44:55 +0000 (20:44 +0000)]
The following changes consolidate some of the gui-independent
parts of the processing and drawing of "glyph strings" from
xterm.c, w32term.c, and macterm.c into xdisp.c.

21 years agoNotify minor change to calc-forms.el.
Deepak Goel [Sun, 16 Mar 2003 20:29:51 +0000 (20:29 +0000)]
Notify minor change to calc-forms.el.

21 years agoAlias UTC to GMT.
Deepak Goel [Sun, 16 Mar 2003 20:26:43 +0000 (20:26 +0000)]
Alias UTC to GMT.

21 years ago(xml-ucs-to-string): New function to convert Unicode codepoints to strings.
Juanma Barranquero [Sun, 16 Mar 2003 10:48:34 +0000 (10:48 +0000)]
(xml-ucs-to-string): New function to convert Unicode codepoints to strings.
Uses decode-char (mule.el) if available.
(xml-parse-tag, xml-parse-attlist, xml-skip-dtd, xml-parse-dtd,
xml-parse-elem-type): Use ' \t\n\r' instead of '[:space:]'.
(xml-parse-attlist): Added attribute normalization.
(xml-parse-tag): Replace "\r\n" and "\r" with "\n".

21 years ago(cvs-mode!): Remove unused argument.
Stefan Monnier [Sun, 16 Mar 2003 01:09:05 +0000 (01:09 +0000)]
(cvs-mode!): Remove unused argument.

21 years ago(easy-menu-name-match): Catch any error that member-ignore-case might signal.
Stefan Monnier [Sun, 16 Mar 2003 00:39:23 +0000 (00:39 +0000)]
(easy-menu-name-match): Catch any error that member-ignore-case might signal.
(easy-menu-add-item): Default to the global map, as documented.
(easy-menu-convert-item-1): Use match-string.

21 years ago(Vmenu_events): New var.
Stefan Monnier [Sun, 16 Mar 2003 00:06:59 +0000 (00:06 +0000)]
(Vmenu_events): New var.
(syms_of_keymap): Initialize it.
(where_is_internal): Check more carefully what is a menu event.

21 years ago(indent-for-tab-command): If tab-always-indent is non-nil
Stefan Monnier [Fri, 14 Mar 2003 23:11:20 +0000 (23:11 +0000)]
(indent-for-tab-command): If tab-always-indent is non-nil
and the user hits TAB a second time, just insert a tab.

21 years ago(read1): After #!, exit loop on eof.
Richard M. Stallman [Fri, 14 Mar 2003 23:05:10 +0000 (23:05 +0000)]
(read1): After #!, exit loop on eof.

21 years ago* files.el (recover-session): Error if there are no previous
John Paul Wallington [Fri, 14 Mar 2003 22:38:46 +0000 (22:38 +0000)]
* files.el (recover-session): Error if there are no previous
sessions to recover.

* subr.el (posn-col-row): Simplify.

* arc-mode.el (archive-subtype, archive-file-list-start)
(archive-file-list-end, archive-proper-file-start)
(archive-read-only, archive-local-name, archive-mode-map)
(archive-file-name-indent, archive-remote)
(archive-alternate-display, archive-superior-buffer)
(archive-subfile-mode): Doc fixes.

21 years ago(texinfo-outline-level): Remove.
Stefan Monnier [Fri, 14 Mar 2003 22:29:13 +0000 (22:29 +0000)]
(texinfo-outline-level): Remove.
(texinfo-mode): Set outline-heading-alist instead.
(texinfo-section-list): Reorder for the needs of outline-heading-alist.
(texinfo-insert-block): Don't cons needlessly.
(texinfo-enable-quote-macros, texinfo-enable-quote-envs): New vars.
(texinfo-insert-quote): Use them.

21 years ago*** empty log message ***
Stefan Monnier [Fri, 14 Mar 2003 21:56:25 +0000 (21:56 +0000)]
*** empty log message ***

21 years ago(outline-level): Demote it to defvar.
Stefan Monnier [Fri, 14 Mar 2003 21:43:53 +0000 (21:43 +0000)]
(outline-level): Demote it to defvar.
(outline-heading-alist): Document extended semantics.
(outline-head-from-level): New fun.
(outline-promote, outline-demote): Use it.
(outline-show-heading): New fun.
(hide-sublevels, show-children): Use it together with outline-map-region.
(outline-get-next-sibling): Don't call outline-level at eob.

21 years ago*** empty log message ***
Stefan Monnier [Fri, 14 Mar 2003 20:49:04 +0000 (20:49 +0000)]
*** empty log message ***

21 years agogtkutil.h: Add declaration for xg_frame_cleared.
Jan Djärv [Fri, 14 Mar 2003 19:14:54 +0000 (19:14 +0000)]
gtkutil.h: Add declaration for xg_frame_cleared.

21 years agoClear frame didn't redraw scrollbars, fixed that.
Jan Djärv [Fri, 14 Mar 2003 19:13:17 +0000 (19:13 +0000)]
Clear frame didn't redraw scrollbars, fixed that.

21 years agoReduce flicker in GTK scrollbars.
Jan Djärv [Fri, 14 Mar 2003 18:34:18 +0000 (18:34 +0000)]
Reduce flicker in GTK scrollbars.

21 years ago*** empty log message ***
Simon Josefsson [Fri, 14 Mar 2003 16:22:57 +0000 (16:22 +0000)]
*** empty log message ***

21 years ago(fringe-mode): Autoload so that
Simon Josefsson [Fri, 14 Mar 2003 16:13:50 +0000 (16:13 +0000)]
(fringe-mode): Autoload so that
Options->Show/Hide->Fringe->Customize works.

21 years ago(ucs-tables): Don't require.
Dave Love [Thu, 13 Mar 2003 23:02:19 +0000 (23:02 +0000)]
(ucs-tables): Don't require.
(latin1-display-face): New.
(latin1-display-char): Use it.

21 years ago(outline-mode-menu-bar-map): Add entries.
Stefan Monnier [Thu, 13 Mar 2003 18:15:07 +0000 (18:15 +0000)]
(outline-mode-menu-bar-map): Add entries.
(outline-mode-prefix-map): Match new bindings to those of allout.
(outline-map-region): New fun.
(outline-map-tree): Remove.
(outline-promote, outline-demote): Apply to region if active.
Change the default to apply to the subtree.
(outline-move-subtree-up, outline-move-subtree-down): New funs.
(outline-invisible-p): Add optional `pos' argument.
(outline-next-visible-heading, outline-toggle-children): Use it.
(outline-get-next-sibling): Don't call outline-level at eob.

21 years ago(custom-set-minor-mode): New fun.
Stefan Monnier [Thu, 13 Mar 2003 18:10:41 +0000 (18:10 +0000)]
(custom-set-minor-mode): New fun.