1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 12:40:49 -08:00
Commit graph

46068 commits

Author SHA1 Message Date
Juanma Barranquero
8cb9dfbfc5 ($(BLD)/xdisp.$(O)): Depend also on atimer.h and systime.h. 2003-03-17 18:56:53 +00:00
Juanma Barranquero
cad6f96acf ($(BLD)/xdisp.$(O)): Add dependency from blockinput.h. 2003-03-17 18:51:19 +00:00
Stefan Monnier
489e070d89 *** empty log message *** 2003-03-17 18:24:27 +00:00
Stefan Monnier
748a336b92 (list-buffers-noselect): Use the display property
to properly align header-line text with the buffer's contents.
2003-03-17 18:12:42 +00:00
Stefan Monnier
f9b3d256db Include blockinput.h for interrupt_input_blocked. 2003-03-17 16:07:30 +00:00
Kenichi Handa
58b8be1cfe (ctext-post-read-conversion): Convert the
search pattern to multibyte by string-to-multibyte.
2003-03-17 05:38:39 +00:00
Francesco Potortì
77fb5d1a88 *** empty log message *** 2003-03-16 22:38:48 +00:00
Francesco Potortì
f4d9f5b809 Check for need for bigtoc support on IBM AIX for
solving a linker table overflow problem.
2003-03-16 22:30:36 +00:00
Jason Rumney
c45bb3b2c8 (jpeg_load, png_load, slurp_file): Read image files
as binary.
2003-03-16 22:13:53 +00:00
Jason Rumney
344630d63c (w32_encode_char): Prevent double-byte chars from crashing Emacs. 2003-03-16 22:11:04 +00:00
Jason Rumney
f9aaed00d3 Use HDC for Display. 2003-03-16 22:10:12 +00:00
Juanma Barranquero
2a6d0874d3 (x_produce_glyphs): Use FRAME_BASELINE_OFFSET. 2003-03-16 22:05:00 +00:00
Kim F. Storm
fad4984414 Fix typo. 2003-03-16 20:50:57 +00:00
Kim F. Storm
9c3f34b368 (FRAME_X_OUTPUT, FRAME_X_WINDOW, FRAME_X_DISPLAY):
(FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE): New macros for
consolidation.
2003-03-16 20:49:50 +00:00
Kim F. Storm
750fc6732f 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.
2003-03-16 20:48:56 +00:00
Kim F. Storm
ec480ce025 (XChar2b): Move typedef here for consolidation.
(STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): New macros.
2003-03-16 20:48:31 +00:00
Kim F. Storm
8e025dd53b (FRAME_X_OUTPUT, FRAME_X_WINDOW, FRAME_X_DISPLAY)
(FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE):
New macros for consolidation.
2003-03-16 20:48:21 +00:00
Kim F. Storm
6b6bd7266c 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.
2003-03-16 20:47:48 +00:00
Kim F. Storm
e83074af10 (Display): Add dummy typedef for consolidation.
(XChar2b): Define alias for wchar_t for consolidation.
(STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): New macros.
2003-03-16 20:47:30 +00:00
Kim F. Storm
fde8984c9f (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.
2003-03-16 20:47:08 +00:00
Kim F. Storm
5da0698e54 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.
2003-03-16 20:46:42 +00:00
Kim F. Storm
133c764e31 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.
2003-03-16 20:45:46 +00:00
Kim F. Storm
d5cc60b8f9 (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.
2003-03-16 20:45:20 +00:00
Kim F. Storm
03eb5fab70 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.
2003-03-16 20:44:55 +00:00
Deepak Goel
1fed17bc70 Notify minor change to calc-forms.el. 2003-03-16 20:29:51 +00:00
Deepak Goel
877d0199ee Alias UTC to GMT. 2003-03-16 20:26:43 +00:00
Juanma Barranquero
a158ff811f (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".
2003-03-16 10:48:34 +00:00
Stefan Monnier
906cbe4568 (cvs-mode!): Remove unused argument. 2003-03-16 01:09:05 +00:00
Stefan Monnier
26647ce218 (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.
2003-03-16 00:39:23 +00:00
Stefan Monnier
d378869e04 (Vmenu_events): New var.
(syms_of_keymap): Initialize it.
(where_is_internal): Check more carefully what is a menu event.
2003-03-16 00:06:59 +00:00
Stefan Monnier
f202a7a25f (indent-for-tab-command): If tab-always-indent is non-nil
and the user hits TAB a second time, just insert a tab.
2003-03-14 23:11:20 +00:00
Richard M. Stallman
225c7a0732 (read1): After #!, exit loop on eof. 2003-03-14 23:05:10 +00:00
John Paul Wallington
194600a8fa * 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.
2003-03-14 22:38:46 +00:00
Stefan Monnier
f412245b47 (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.
2003-03-14 22:29:13 +00:00
Stefan Monnier
8973cfc915 *** empty log message *** 2003-03-14 21:56:25 +00:00
Stefan Monnier
5748357975 (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.
2003-03-14 21:43:53 +00:00
Stefan Monnier
00a88f32d6 *** empty log message *** 2003-03-14 20:49:04 +00:00
Jan Djärv
9ea0e54d65 gtkutil.h: Add declaration for xg_frame_cleared. 2003-03-14 19:14:54 +00:00
Jan Djärv
0cb35f4e5e Clear frame didn't redraw scrollbars, fixed that. 2003-03-14 19:13:17 +00:00
Jan Djärv
cea9be5461 Reduce flicker in GTK scrollbars. 2003-03-14 18:34:18 +00:00
Simon Josefsson
7c928b8f67 *** empty log message *** 2003-03-14 16:22:57 +00:00
Simon Josefsson
60e3dd1459 (fringe-mode): Autoload so that
Options->Show/Hide->Fringe->Customize works.
2003-03-14 16:13:50 +00:00
Dave Love
87f506c3f6 (ucs-tables): Don't require.
(latin1-display-face): New.
(latin1-display-char): Use it.
2003-03-13 23:02:19 +00:00
Stefan Monnier
21a3d3e7c9 (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.
2003-03-13 18:15:07 +00:00
Stefan Monnier
df38096221 (custom-set-minor-mode): New fun. 2003-03-13 18:10:41 +00:00
Kenichi Handa
20b853f3c9 *** empty log message *** 2003-03-13 11:38:35 +00:00
Kenichi Handa
40fd536ccc (Fdetect_coding_region): Fix docstring. 2003-03-13 11:32:18 +00:00
Kenichi Handa
eec1f3c794 (Fdetect_coding_string): Fix docstring. 2003-03-13 11:16:16 +00:00
Kenichi Handa
db4b01921c *** empty log message *** 2003-03-13 08:41:15 +00:00
Kenichi Handa
435c388ec3 (iso-latin-1): Moved from european.el. 2003-03-13 08:35:07 +00:00