Kenichi Handa [Wed, 7 Jun 2006 06:37:23 +0000 (06:37 +0000)]
(xftfont_default_fid): Set fid_known to 1.
(struct xftdraw_list, xftdraw_list): Delete them.
(register_xftdraw, check_xftdraw): Delete them.
(xftfont_prepare_face): Don't call register_xftdraw.
(xftfont_done_face): Don't call check_xftdraw.
(xftfont_draw): Get backroudn color only when with_background is
nonzero.
Nick Roberts [Tue, 6 Jun 2006 23:16:32 +0000 (23:16 +0000)]
(Watch Expressions): Move node to end.
(GDB Graphical Interface): Move description of clicks in fringe...
(GDB commands in the Fringe): ...to here. New node.
Chong Yidong [Tue, 6 Jun 2006 14:06:13 +0000 (14:06 +0000)]
* diff-mode.el (diff-mode): Set buffer-read-only to t when
diff-default-read-only is non-nill.
* diff.el (diff-sentinel, diff): Set inhibit-read-only to t when
modifying the *Diff* buffer.
(diff-process-filter): New filter function for diff process that
sets inhibit-read-only to t when modifying the *Diff* buffer.
Carsten Dominik [Tue, 6 Jun 2006 08:26:10 +0000 (08:26 +0000)]
(org-archive-subtree): Use end-of-subtree as insertion
point and control the number of empty lines.
(org-paste-subtree): Limit the number of empty lines at the end of
the inserted tree.
(org-agenda): Use buffer name of current file for narrowing.
(org-export-as-xml): Command removed.
(org-export-xml-type): Option removed.
(org-mode-map): Call `org-export-as-xoxo' directly.
(org-get-indentation): New optional argument LINE.
(org-fix-indentation, org-remove-tabs): New functions.
(org-export-as-ascii, org-ascii-level-start): Determine and apply
correct indentation for headlines that are converted it items.
(org-skip-comments): Remove table lines that contain narrowing
cookies but no other non-empty fields.
(org-set-tags): Allow groups of mutually exclusive tags.
(org-cmp-time): Sort 24:21 before items without time.
(org-get-time-of-day): Fixed the interpretation of 12pm and 12am.
(org-open-at-point): Require double colon also for numbers.
Kenichi Handa [Tue, 6 Jun 2006 03:56:46 +0000 (03:56 +0000)]
Include "font.h".
(x_default_font_parameter) [USE_FONT_BACKEND]: New function.
(Fx_create_frame) [USE_FONT_BACKEND]: If enable_font_backend is
nonzero, register all available font drivers. Call
x_default_font_parameter for deciding a font.
(x_create_tip_frame) [USE_FONT_BACKEND]: Likewise.
Kenichi Handa [Tue, 6 Jun 2006 03:52:51 +0000 (03:52 +0000)]
Include "font.h".
(x_set_mouse_face_gc, x_set_glyph_string_clipping)
(x_set_glyph_string_clipping_exactly)
(x_compute_glyph_string_overhangs)
(x_draw_glyph_string_foreground)
(x_draw_composite_glyph_string_foreground, x_draw_glyph_string)
(x_free_frame_resources) [USE_FONT_BACKEND]: If
enable_font_backend is nonzero, use font-backend mechanism.
(x_new_fontset2) [USE_FONT_BACKEND]: New function.
Kenichi Handa [Tue, 6 Jun 2006 03:52:26 +0000 (03:52 +0000)]
If USE_FONT_BACKEND is defined, include "font.h".
Through out the file, use FONT_INFO_FROM_FACE instead of
FONT_INFO_FROM_ID, use get_per_char_metric instead of
rif->per_char_metric.
(handle_composition_prop) [USE_FONT_BACKEND]: If the composition
method is COMPOSITION_WITH_GLYPH_STRING, just set it->c to ' '.
(get_glyph_face_and_encoding, fill_composite_glyph_string)
(get_char_face_and_encoding, BUILD_COMPOSITE_GLYPH_STRING)
(x_produce_glyphs) [USE_FONT_BACKEND]: If enable_font_backend is
nonzero, use font-backend mechanism.
(get_per_char_metric): New function.
Kenichi Handa [Tue, 6 Jun 2006 03:51:57 +0000 (03:51 +0000)]
(struct frame): New members resx and resy.
(struct frame) [USE_FONT_BACKEND]: New member font_driver_list.
(x_new_fontset2) [USE_FONT_BACKEND]: Extern it.
Kenichi Handa [Tue, 6 Jun 2006 03:51:41 +0000 (03:51 +0000)]
Include "font.h".
(fontset_font, fontset_ascii, face_for_char)
(make_fontset_for_ascii_face, Ffont_info)
(Finternal_char_font) [USE_FONT_BACKEND]: If enable_font_backend
is nonzero, use font-backend mechanism.
(find_font_encoding): Make it non-static.
(new_fontset_from_font, fontset_ascii_font) [USE_FONT_BACKEND]:
New functions.
Kenichi Handa [Tue, 6 Jun 2006 03:50:45 +0000 (03:50 +0000)]
(struct glyph_string) [USE_FONT_BACKEND]: New
members clip_x, clip_y, clip_width, and clip_height.
(struct face) [USE_FONT_BACKEND]: New members font_info and extra.
Kenichi Handa [Tue, 6 Jun 2006 03:47:33 +0000 (03:47 +0000)]
(ALL_CFLAGS): Add @FREETYPE_CFLAGS@,
@FONTCONFIG_CFLAGS@, and @LIBOTF_CFLAGS@.
(LIB_X11_LIB): If HAVE_XFT is defined, set to @XFT_LIBS@.
(FONTSRC, FONTOBJ): New variables.
(obj): Add $(FONTOBJ).
(SOME_MACHINE_OBJECTS): Lib_X11_Lib.
(LIBES): Add @FREETYPE_LIBS@, @FONTCONFIG_LIBS@, and
@LIBOTF_LIBS@.
(font.o, ftfont.o, xfont.o, xftfont.o, ftxfont.o): New targets.
(fontset.o, xdisp.o, xfaces.o, xfns.o, xterm.o): Depends on
$(FONTSRC).
Thien-Thi Nguyen [Mon, 5 Jun 2006 15:46:00 +0000 (15:46 +0000)]
(vc-process-filter): Inhibit undo
info collection around call to insert.
(vc-setup-buffer): Likewise for call to erase-buffer.
(vc-do-command): Likewise for call to process-file.
Kim F. Storm [Sun, 4 Jun 2006 01:14:15 +0000 (01:14 +0000)]
(view-emacs-news): Rewrite to support new NEWS,
NEWS.major, and NEWS.1-17 file naming. Add more intelligense,
e.g. version 10 matches 1.10, and don't be confused by version 1.1
begin a prefix of 1.12 (etc). A numeric prefix arg also works.
Kim F. Storm [Sun, 4 Jun 2006 01:11:51 +0000 (01:11 +0000)]
Reorganize NEWS and ONEWS files into NEWS for current major version
and NEWS.21, NEWS.20, NEWS.19, NEWS.18, and NEWS.1-17 for older version.
Update copyright notices.
Kim F. Storm [Sun, 4 Jun 2006 01:01:51 +0000 (01:01 +0000)]
Reorganize NEWS and ONEWS.* files into NEWS for current major version
and NEWS.21, NEWS.20, NEWS.19, NEWS.18, and NEWS.1-17 for older version.
Update copyright notices.
Eli Zaretskii [Sat, 3 Jun 2006 14:51:25 +0000 (14:51 +0000)]
[DOS_NT] <top level>: Include fcntl.h and io.h.
[WINDOWSNT] <top level>: Don't redeclare malloc.
(main) [DOS_NT]: Switch stdin to binary mode, if it is not a terminal device.
Eli Zaretskii [Sat, 3 Jun 2006 08:38:43 +0000 (08:38 +0000)]
(sh-quoted-exec): New face for quoted exec constructs like `foo bar`.
(sh-quoted-subshell): New helper function to search for a possibly nested
subshell (like `` or $()) within a "" quoted string.
(sh-font-lock-keywords-var): Add sh-quoted-exec for Bash.
(sh-apply-quoted-subshell): Flag quote characters inside a subshell, which is
itself already in a quoted region, as punctuation, since this is the closest
to what they actually are.
(sh-font-lock-syntactic-keywords): Add sh-quoted-subshell and
sh-apply-quoted-subshell.
(sh-font-lock-syntactic-face-function): Apply the new face for text inside ``
instead of the old font-lock-string-face.