]> git.eshelyaron.com Git - emacs.git/log
emacs.git
16 years ago*** empty log message ***
Dan Nicolaescu [Sat, 17 May 2008 17:13:38 +0000 (17:13 +0000)]
*** empty log message ***

16 years ago(vc-annotate-show-diff-revision-at-line): Change
Dan Nicolaescu [Sat, 17 May 2008 17:07:46 +0000 (17:07 +0000)]
(vc-annotate-show-diff-revision-at-line): Change
vc-diff-internal arg to match what vc-deduce-fileseset returns now.

16 years agomenu-bar-select-buffer: Reinsert it as msb.el use it.
Vinicius Jose Latorre [Sat, 17 May 2008 14:33:48 +0000 (14:33 +0000)]
menu-bar-select-buffer: Reinsert it as msb.el use it.

16 years agoUpdate ChangeLog
Michael Olson [Sat, 17 May 2008 06:24:48 +0000 (06:24 +0000)]
Update ChangeLog

16 years agoedo: do not emit trailing newline
Michael Olson [Sat, 17 May 2008 06:22:22 +0000 (06:22 +0000)]
edo: do not emit trailing newline

16 years ago(top-level): Revert previous change: require cl when compiling.
John Paul Wallington [Sat, 17 May 2008 00:04:07 +0000 (00:04 +0000)]
(top-level): Revert previous change: require cl when compiling.

16 years agoUse state prettyprinter in vc-dir buffers.
Eric S. Raymond [Fri, 16 May 2008 22:42:36 +0000 (22:42 +0000)]
Use state prettyprinter in vc-dir buffers.

16 years ago(top-level): Don't require cl when compiling.
John Paul Wallington [Fri, 16 May 2008 22:39:45 +0000 (22:39 +0000)]
(top-level): Don't require cl when compiling.
(vc-dir-mode-map): Fix backquote.
(vc-at-event): Doc fix.  Use `make-symbol' instead of `gensym'.

16 years ago* net/tramp.el (tramp-handle-write-region): Fix check for short
Michael Albinus [Fri, 16 May 2008 20:20:36 +0000 (20:20 +0000)]
* net/tramp.el (tramp-handle-write-region): Fix check for short
track.  Reported by Glenn Morris <rgm@gnu.org>.

16 years agoImproved extra-headers method for CVS.
Eric S. Raymond [Fri, 16 May 2008 19:15:26 +0000 (19:15 +0000)]
Improved extra-headers method for CVS.

16 years agoAdd extra-headers method for SVN.
Eric S. Raymond [Fri, 16 May 2008 18:15:26 +0000 (18:15 +0000)]
Add extra-headers method for SVN.

16 years ago(Ffile_attributes): Shut up GCC warnings about st_uid
Eli Zaretskii [Fri, 16 May 2008 11:12:48 +0000 (11:12 +0000)]
(Ffile_attributes): Shut up GCC warnings about st_uid

16 years agoframe.c (Fdelete_frame): Don't call font_update_drviers if
Eli Zaretskii [Fri, 16 May 2008 11:10:16 +0000 (11:10 +0000)]
frame.c (Fdelete_frame): Don't call font_update_drviers if
HAVE_WINDOW_SYSTEM is not defined.
xfaces.c (merge_face_ref, merge_face_vectors)
(Finternal_set_lisp_face_attribute): Use FONT_*_INDEX only when
HAVE_WINDOW_SYSTEM is defined.
(Fface_font): Fix non-HAVE_WINDOW_SYSTEM case.

16 years agoClean up after granbbing CVS/Root info.
Eric S. Raymond [Fri, 16 May 2008 09:30:17 +0000 (09:30 +0000)]
Clean up after granbbing CVS/Root info.

16 years agoExtract and display the CVS repository.
Eric S. Raymond [Fri, 16 May 2008 09:23:22 +0000 (09:23 +0000)]
Extract and display the CVS repository.

16 years agoRemove a very old comment.
Eric S. Raymond [Fri, 16 May 2008 08:53:51 +0000 (08:53 +0000)]
Remove a very old comment.

16 years ago(vc-sccs-create-tag): Fix typo in error message and pass backend arg.
Juanma Barranquero [Fri, 16 May 2008 08:36:17 +0000 (08:36 +0000)]
(vc-sccs-create-tag): Fix typo in error message and pass backend arg.

16 years ago(vc-rcs-create-tag): Fix typo in error message and pass backend arg.
Juanma Barranquero [Fri, 16 May 2008 08:32:57 +0000 (08:32 +0000)]
(vc-rcs-create-tag): Fix typo in error message and pass backend arg.

16 years ago*** empty log message ***
Juanma Barranquero [Fri, 16 May 2008 08:25:00 +0000 (08:25 +0000)]
*** empty log message ***

16 years agoSwitch to recommended form of GPLv3 permissions notice.
Glenn Morris [Fri, 16 May 2008 06:02:53 +0000 (06:02 +0000)]
Switch to recommended form of GPLv3 permissions notice.

16 years agoSwitch to recommended form of GPLv3 permissions notice.
Glenn Morris [Fri, 16 May 2008 05:49:14 +0000 (05:49 +0000)]
Switch to recommended form of GPLv3 permissions notice.

16 years agoSwitch to recommended form of GPLv3 permissions notice.
Glenn Morris [Fri, 16 May 2008 05:22:47 +0000 (05:22 +0000)]
Switch to recommended form of GPLv3 permissions notice.

16 years ago(parse_menu_item): Fix last change.
Stefan Monnier [Fri, 16 May 2008 04:55:56 +0000 (04:55 +0000)]
(parse_menu_item): Fix last change.

16 years ago(parse_menu_item): Do not cache key shortcut any more.
Stefan Monnier [Fri, 16 May 2008 04:28:27 +0000 (04:28 +0000)]
(parse_menu_item): Do not cache key shortcut any more.

16 years agoMerge from emacs--rel--22
Miles Bader [Fri, 16 May 2008 02:05:57 +0000 (02:05 +0000)]
Merge from emacs--rel--22

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1166

16 years agoMerge from gnus--devo--0
Miles Bader [Fri, 16 May 2008 02:05:17 +0000 (02:05 +0000)]
Merge from gnus--devo--0

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1165

16 years ago*** empty log message ***
Kenichi Handa [Fri, 16 May 2008 01:29:55 +0000 (01:29 +0000)]
*** empty log message ***

16 years ago* net/tramp.el: Load auth-source library.
Michael Albinus [Thu, 15 May 2008 21:06:59 +0000 (21:06 +0000)]
* net/tramp.el: Load auth-source library.
(tramp-read-passwd): Use it for password, not login.
(tramp-file-name-for-operation): Add `make-temp-name'.

16 years agoAdd Shigeru Fukaya to SES authors list.
Jonathan Yavner [Thu, 15 May 2008 19:29:38 +0000 (19:29 +0000)]
Add Shigeru Fukaya to SES authors list.

16 years ago* ses.el (ses-goto-print): Use move-to-column rather than
Jonathan Yavner [Thu, 15 May 2008 19:24:57 +0000 (19:24 +0000)]
* ses.el (ses-goto-print): Use move-to-column rather than
forward-char.
(ses-print-cell): Use string-width, truncate-string-to-width,
delete-region rather than length, substring, delete-char.
(ses-setup): Set inhibit-point-motion-hooks to t.  Calculate
position by actually moving point rather than just using unibyte
character length.
(ses-mode): Set indent-tabs-mode to nil.
(ses-center): Use string-width rather than length.

16 years agoSnapshot primitives globally renamed to refer to tags, documentation updated.
Eric S. Raymond [Thu, 15 May 2008 17:38:50 +0000 (17:38 +0000)]
Snapshot primitives globally renamed to refer to tags, documentation updated.

16 years agoComment fix.
Eric S. Raymond [Thu, 15 May 2008 15:02:57 +0000 (15:02 +0000)]
Comment fix.

16 years agoMore elimination of buffer name dependencies.
Eric S. Raymond [Thu, 15 May 2008 15:01:29 +0000 (15:01 +0000)]
More elimination of buffer name dependencies.

16 years agoRemove assumptions about buffer names.
Eric S. Raymond [Thu, 15 May 2008 14:32:49 +0000 (14:32 +0000)]
Remove assumptions about buffer names.

16 years agoMove vc-dir menu hook back to vc-dispatcher.
Eric S. Raymond [Thu, 15 May 2008 13:50:55 +0000 (13:50 +0000)]
Move vc-dir menu hook back to vc-dispatcher.

16 years agoFix an incorrect buffer name and remove an unneeded defalias.
Eric S. Raymond [Thu, 15 May 2008 12:36:31 +0000 (12:36 +0000)]
Fix an incorrect buffer name and remove an unneeded defalias.

16 years ago(font_find_for_lface): Reflect LFACE_FONT in the font
Kenichi Handa [Thu, 15 May 2008 10:29:39 +0000 (10:29 +0000)]
(font_find_for_lface): Reflect LFACE_FONT in the font
preference.

16 years ago(x_draw_relief_rect): Remove unused variable `dpy'.
YAMAMOTO Mitsuharu [Thu, 15 May 2008 09:35:50 +0000 (09:35 +0000)]
(x_draw_relief_rect): Remove unused variable `dpy'.

16 years ago(mac_store_event_ref_as_apple_event)
YAMAMOTO Mitsuharu [Thu, 15 May 2008 09:05:53 +0000 (09:05 +0000)]
(mac_store_event_ref_as_apple_event)
[TARGET_API_MAC_CARBON]: Fix last change.

16 years ago*** empty log message ***
Kenichi Handa [Thu, 15 May 2008 08:13:55 +0000 (08:13 +0000)]
*** empty log message ***

16 years agoFix typo in previous change.
Juanma Barranquero [Thu, 15 May 2008 08:02:07 +0000 (08:02 +0000)]
Fix typo in previous change.

16 years agoSwitch to recommended form of GPLv3 permissions notice.
Glenn Morris [Thu, 15 May 2008 07:47:22 +0000 (07:47 +0000)]
Switch to recommended form of GPLv3 permissions notice.

16 years agoFix previous.
Glenn Morris [Thu, 15 May 2008 07:45:48 +0000 (07:45 +0000)]
Fix previous.

16 years agoSwitch to recommended form of GPLv3 permissions notice.
Glenn Morris [Thu, 15 May 2008 07:45:18 +0000 (07:45 +0000)]
Switch to recommended form of GPLv3 permissions notice.
Remove Creator metadata.

16 years agoSwitch to recommended form of GPLv3 permissions notice.
Glenn Morris [Thu, 15 May 2008 07:32:14 +0000 (07:32 +0000)]
Switch to recommended form of GPLv3 permissions notice.

16 years agoFix previous.
Glenn Morris [Thu, 15 May 2008 06:52:20 +0000 (06:52 +0000)]
Fix previous.

16 years ago(ftfont_list): Downcase family name to check generic families.
Kenichi Handa [Thu, 15 May 2008 06:44:06 +0000 (06:44 +0000)]
(ftfont_list): Downcase family name to check generic families.

16 years ago(vc-directory-resynch-file): Fix declaration.
Glenn Morris [Thu, 15 May 2008 03:32:23 +0000 (03:32 +0000)]
(vc-directory-resynch-file): Fix declaration.

16 years ago(org-infojs-options-inbuffer-template): Fix declaration.
Glenn Morris [Thu, 15 May 2008 03:31:34 +0000 (03:31 +0000)]
(org-infojs-options-inbuffer-template): Fix declaration.

16 years ago(declare-function): Add compat definition.
Glenn Morris [Thu, 15 May 2008 03:30:40 +0000 (03:30 +0000)]
(declare-function): Add compat definition.
(awk-mode-syntax-table, c-awk-unstick-NL-prop): Declare for compiler.

16 years ago(USAGE1, standard_args): Remove -disable-font-backend.
Glenn Morris [Thu, 15 May 2008 03:29:30 +0000 (03:29 +0000)]
(USAGE1, standard_args): Remove -disable-font-backend.

16 years agoSwitch to recommended form of GPLv3 permissions notice.
Glenn Morris [Thu, 15 May 2008 03:28:14 +0000 (03:28 +0000)]
Switch to recommended form of GPLv3 permissions notice.

16 years ago(init_alloc_once): Call init_weak_hash_tables.
Chong Yidong [Thu, 15 May 2008 02:46:04 +0000 (02:46 +0000)]
(init_alloc_once): Call init_weak_hash_tables.

16 years ago(init_fns): Don't initialize weak_hash_tables here.
Chong Yidong [Thu, 15 May 2008 02:45:44 +0000 (02:45 +0000)]
(init_fns): Don't initialize weak_hash_tables here.
(init_weak_hash_tables): New fun.  Initialize weak_hash_tables.

16 years ago* fns.c (init_fns): Don't initialize weak_hash_tables here.
Chong Yidong [Thu, 15 May 2008 02:45:21 +0000 (02:45 +0000)]
* fns.c (init_fns): Don't initialize weak_hash_tables here.
(init_weak_hash_tables): New fun.  Initialize weak_hash_tables.

* alloc.c (init_alloc_once): Call init_weak_hash_tables.

16 years ago(top-level): Don't require cl when compiling.
John Paul Wallington [Thu, 15 May 2008 02:01:46 +0000 (02:01 +0000)]
(top-level): Don't require cl when compiling.

16 years ago(diff-current-defun): Use `buffer-local-value'.
John Paul Wallington [Thu, 15 May 2008 01:22:40 +0000 (01:22 +0000)]
(diff-current-defun): Use `buffer-local-value'.

16 years ago(archive-add-new-member): Use `derived-mode-p'.
John Paul Wallington [Thu, 15 May 2008 01:16:52 +0000 (01:16 +0000)]
(archive-add-new-member): Use `derived-mode-p'.
(archive-*-extract): Use `zerop'
(archive-*-write-file-member): Use `or', use `zerop'.

16 years ago(ibuffer-interactive-filter-by-mode)
John Paul Wallington [Thu, 15 May 2008 01:14:41 +0000 (01:14 +0000)]
(ibuffer-interactive-filter-by-mode)
(ibuffer-set-filter-groups-by-mode, ibuffer-list-buffer-modes)
(define-ibuffer-filter mode, define-ibuffer-filter used-mode)
(define-ibuffer-sorter major-mode, ibuffer-mark-unsaved-buffers)
(ibuffer-mark-read-only-buffers)
(ibuffer-mark-dired-buffers): Use `buffer-local-value'.

16 years agoEliminate exoensive (vc-expand-dirs) calls.
Eric S. Raymond [Thu, 15 May 2008 01:11:23 +0000 (01:11 +0000)]
Eliminate exoensive (vc-expand-dirs) calls.

16 years ago(Finternal_set_lisp_face_attribute): Be sure to make a
Kenichi Handa [Thu, 15 May 2008 01:01:05 +0000 (01:01 +0000)]
(Finternal_set_lisp_face_attribute): Be sure to make a
font-spec for QCfont value.

16 years ago(Fnew_fontset): Call font_unparse_xlfd with 256-byte
Kenichi Handa [Thu, 15 May 2008 00:42:32 +0000 (00:42 +0000)]
(Fnew_fontset): Call font_unparse_xlfd with 256-byte
buffer.  Check the return value of it.

16 years agoMerge from gnus--devo--0
Miles Bader [Thu, 15 May 2008 00:26:27 +0000 (00:26 +0000)]
Merge from gnus--devo--0

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1161

16 years ago(ibuffer-aif, ibuffer-awhen, ibuffer-save-marks)
John Paul Wallington [Thu, 15 May 2008 00:12:08 +0000 (00:12 +0000)]
(ibuffer-aif, ibuffer-awhen, ibuffer-save-marks)
(define-ibuffer-column, define-ibuffer-sorter)
(define-ibuffer-op, define-ibuffer-filter): Add declarations
containing indentation specs, replacing equivalent top-level
forms that set `lisp-indent-function' properties.
(define-ibuffer-op): Use `derived-mode-p'.
(define-ibuffer-filter): Remove redundant `concat' call.

16 years ago(ibuffer-assert-ibuffer-mode): New defsubst.
John Paul Wallington [Thu, 15 May 2008 00:05:40 +0000 (00:05 +0000)]
(ibuffer-assert-ibuffer-mode): New defsubst.
(ibuffer-mark-interactive, ibuffer-set-mark)
(ibuffer-insert-buffer-line, ibuffer-redisplay-current)
(ibuffer-map-lines, ibuffer-switch-format)
(ibuffer-update-title-and-summary)
(ibuffer-redisplay-engine): Use it.

16 years ago* net/tramp.el (tramp-echo-mark): Update docstring.
Michael Albinus [Wed, 14 May 2008 19:55:11 +0000 (19:55 +0000)]
* net/tramp.el (tramp-echo-mark): Update docstring.
(tramp-echo-mark-marker): New defconst.
(tramp-check-for-regexp): Use it.

16 years agoMake vc-deduce-fileset do the right thing in derived buffers.
Eric S. Raymond [Wed, 14 May 2008 17:12:38 +0000 (17:12 +0000)]
Make vc-deduce-fileset do the right thing in derived buffers.

16 years agoRemove code dealing with --disable-font-backend.
Jason Rumney [Wed, 14 May 2008 15:24:21 +0000 (15:24 +0000)]
Remove code dealing with --disable-font-backend.

16 years ago(w32_get_glyph_overhangs): Remove.
Jason Rumney [Wed, 14 May 2008 14:40:57 +0000 (14:40 +0000)]
(w32_get_glyph_overhangs): Remove.
(w32_redisplay_interface): Use x_get_glyph_overhangs instead.

16 years ago(font_clear_cache): Check if the cached vector of entities is nil
Kenichi Handa [Wed, 14 May 2008 12:28:17 +0000 (12:28 +0000)]
(font_clear_cache): Check if the cached vector of entities is nil
or not.

16 years ago(convert-define-charset-argument): Remove period from end of error message.
John Paul Wallington [Wed, 14 May 2008 11:46:24 +0000 (11:46 +0000)]
(convert-define-charset-argument): Remove period from end of error message.
(coding-system-mnemonic): Doc fix.
(ctext-pre-write-conversion): Doc fix.

16 years ago(font_prop_validate): Make nil a valid value.
Kenichi Handa [Wed, 14 May 2008 10:38:43 +0000 (10:38 +0000)]
(font_prop_validate): Make nil a valid value.

16 years agoSwitch to recommended form of GPLv3 permissions notice.
Glenn Morris [Wed, 14 May 2008 07:50:26 +0000 (07:50 +0000)]
Switch to recommended form of GPLv3 permissions notice.

16 years agoUpdate for font-backend changes.
Glenn Morris [Wed, 14 May 2008 07:40:46 +0000 (07:40 +0000)]
Update for font-backend changes.

16 years agoRegenerate.
Glenn Morris [Wed, 14 May 2008 07:40:12 +0000 (07:40 +0000)]
Regenerate.

16 years agoMark as part of the GNU C Library rather than of Emacs.
Glenn Morris [Wed, 14 May 2008 07:39:01 +0000 (07:39 +0000)]
Mark as part of the GNU C Library rather than of Emacs.
Re-fill permissions.

16 years agoMerge from emacs--rel--22
Miles Bader [Wed, 14 May 2008 04:28:51 +0000 (04:28 +0000)]
Merge from emacs--rel--22

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1159

16 years ago(custom-face-attributes): Add "thin" for :weight.
Kenichi Handa [Wed, 14 May 2008 01:58:43 +0000 (01:58 +0000)]
(custom-face-attributes): Add "thin" for :weight.

16 years ago(font-weight-table, font-slant-table)
Kenichi Handa [Wed, 14 May 2008 01:56:27 +0000 (01:56 +0000)]
(font-weight-table, font-slant-table)
(font-swidth-table): Declare them by defconst.  Change the format
of elements.  Call internal-set-font-style-table after their
declaration.
(face-valid-attribute-values): Call font-family-list.  Get values
for width, weight, and slant from font-xxx-table.

16 years ago(compose-chars-after): Assume that WINDOW is always non-nil.
Kenichi Handa [Wed, 14 May 2008 01:56:07 +0000 (01:56 +0000)]
(compose-chars-after): Assume that WINDOW is always non-nil.

16 years ago(setup-default-fontset): For kana, han,
Kenichi Handa [Wed, 14 May 2008 01:55:46 +0000 (01:55 +0000)]
(setup-default-fontset): For kana, han,
hangul, and cjk-misc, move an entry with font-spec at the end.
(generate-fontset-menu): Exclue fontset-auto* from the list.

16 years ago(set-language-environment): Set current-iso639-language
Kenichi Handa [Wed, 14 May 2008 01:55:06 +0000 (01:55 +0000)]
(set-language-environment): Set current-iso639-language

16 years ago("Chinese-GB", "Chinese-BIG5")
Kenichi Handa [Wed, 14 May 2008 01:54:39 +0000 (01:54 +0000)]
("Chinese-GB", "Chinese-BIG5")
("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK")
("Chinese-GB18030"): Set `iso639-language' property to `zh'.

16 years ago("Japanese"): Set `iso639-language' property to `ja'.
Kenichi Handa [Wed, 14 May 2008 01:54:09 +0000 (01:54 +0000)]
("Japanese"): Set `iso639-language' property to `ja'.

16 years ago("Korean"): Set `iso639-language' property to `ko'.
Kenichi Handa [Wed, 14 May 2008 01:53:38 +0000 (01:53 +0000)]
("Korean"): Set `iso639-language' property to `ko'.

16 years agoRegenerate.
Kenichi Handa [Wed, 14 May 2008 01:52:47 +0000 (01:52 +0000)]
Regenerate.

16 years agoDon't handle --disable-font-backend. Don't print
Kenichi Handa [Wed, 14 May 2008 01:49:04 +0000 (01:49 +0000)]
Don't handle --disable-font-backend.  Don't print
a message about a font backend.

16 years ago(fonts_changed_p): Comment improved.
Kenichi Handa [Wed, 14 May 2008 01:47:59 +0000 (01:47 +0000)]
(fonts_changed_p): Comment improved.

16 years ago(detect_coding_iso_2022): Ignore a coding category that
Kenichi Handa [Wed, 14 May 2008 01:46:15 +0000 (01:46 +0000)]
(detect_coding_iso_2022): Ignore a coding category that
has no corresponding coding system.

16 years agoThroughout the file, delete all USE_FONT_BACKEND
Kenichi Handa [Wed, 14 May 2008 01:44:51 +0000 (01:44 +0000)]
Throughout the file, delete all USE_FONT_BACKEND
conditionals.  Don't check enable_font_backend.  Delete all codes
used only when USE_FONT_BACKEND is not defined.  Don't include
ccl.h.
(x_per_char_metric, x_encode_char): Deleted.
(x_set_cursor_gc, x_set_mouse_face_gc): Don't set GCFont.
(x_compute_glyph_string_overhangs): Adjusted for the change of
`struct face'
(x_draw_glyph_string_foreground)
(x_draw_composite_glyph_string_foreground): Likewise.
(x_draw_glyph_string): Likewise.  Use font->underline_position and
font->underline_thickness.
(x_new_font): Renamed from x_new_fontset2.
(x_new_fontset, x_get_font_info, x_list_fonts): Deleted.
(x_check_font): Call `check' method of a font driver.
(x_font_min_bounds, x_compute_min_glyph_bounds, x_load_font)
(x_query_font, x_get_font_repertory): Deleted.
(x_find_ccl_program): Renamed and moved to xfont.c.
(x_redisplay_interface): Adjusted for the change of `struct
redisplay_interface'.

16 years ago(x_load_resources): Don't setup a fontset resource.
Kenichi Handa [Wed, 14 May 2008 01:43:24 +0000 (01:43 +0000)]
(x_load_resources): Don't setup a fontset resource.

16 years ago(xftfont_list): Adjusted for the change of `list'
Kenichi Handa [Wed, 14 May 2008 01:43:03 +0000 (01:43 +0000)]
(xftfont_list): Adjusted for the change of `list'
callback function.
(xftfont_match): Adjusted for the fontmat change of font-entity.
(xftfont_open): Adjusted for the format change of font-entity and
font-object.  Adjusted for the change of struct font.  Return a
font-object.  Don't update dpyinfo->smallest_font_height and
dpyinfo->smallest_char_width.
(xftfont_close): Block input while calling XftFontClose.
(xftfont_prepare_face): Don't block input while calling
xftfont_get_colors.  Adjusted for the change of struct font.
(xftfont_shape): Return value of error case fixed.

16 years agoInclude <stdlib.h> and "ccl.h".
Kenichi Handa [Wed, 14 May 2008 01:42:33 +0000 (01:42 +0000)]
Include <stdlib.h> and "ccl.h".
(struct xfont_info): New structure.
(xfont_query_font): Deleted.
(xfont_find_ccl_program): Renamed from x_find_ccl_program and
moved from xterm.c.
(xfont_driver): Adjusted for the change of struct font_driver.
(compare_font_names): New function.
(xfont_list_pattern): Sort font names case insensitively.  Make
font_entity by calling font_make_entity.  Avoid auto-scaled fonts.
(xfont_list): Return a list, not vector.
(xfont_match): If the font doesn't have QCname property, generate
a name from the other font properties.
(xfont_open): Return a font-ojbect.  Adjusted for the change of
struct font.  Get underline_thickness and underline_position from
font property.  Don't update dpyinfo->smallest_font_height and
dpyinfo->smallest_char_width.
(xfont_close): Don't free struct font.
(xfont_prepare_face): Adjusted for the change of struct font.
(xfont_done_face): Deleted.
(xfont_has_char): Adjusted for the change of struct font.
(xfont_encode_char, xfont_draw): Likewise.
(xfont_check): New function.

16 years agoThroughout the file, delete all USE_FONT_BACKEND
Kenichi Handa [Wed, 14 May 2008 01:42:09 +0000 (01:42 +0000)]
Throughout the file, delete all USE_FONT_BACKEND
conditionals.  Don't check enable_font_backend.  Delete all codes
used only when USE_FONT_BACKEND is not defined.
(xic_create_xfontset): Original code deleted and renamed from
xic_create_xfontset2.  Use FRAME_FONT, not FRAME_FONT_OBJECT.
(x_make_gc): Don't set GCFont in GCs.
(Fx_create_frame) [USE_LUCID]: Set xlwmenu_default_font to a font
opened by "fixed".
(syms_of_xfns): Don't set get_font_info_func, load_font_func,
find_ccl_program_func, query_font_func, set_frame_fontset_func,
get_font_repertory_func.

16 years agoThroughout the file, delete all USE_FONT_BACKEND
Kenichi Handa [Wed, 14 May 2008 01:41:52 +0000 (01:41 +0000)]
Throughout the file, delete all USE_FONT_BACKEND
conditionals.  Don't check enable_font_backend.  Delete all codes
used only when USE_FONT_BACKEND is not defined.  Use
FONT_XXX_NAME_NUMERIC instead of face_numeric_xxx.
(QCfoundry, QCadstyle, QCregistry, QCspacing, QCsize, QCavgwidth)
(Qp): Extern them.
(clear_font_table, load_face_font, xlfd_lookup_field_contents):
Deleted.
(struct font_name): Deleted.
(xlfd_numeric_value, xlfd_symbolic_value): Deleted.
(compare_fonts_by_sort_order): New function.
(xlfd_numeric_slant, xlfd_symbolic_slant, xlfd_numeric_weight)
(xlfd_symbolic_weight, xlfd_numeric_swidth, xlfd_symbolic_swidth):
Deleted.
(Fx_family_fonts): Use font_list_entities, and sort fonts by
compare_fonts_by_sort_order.
(Fx_font_family_list): Call Ffont_family_list.
(face_numeric_value, face_numeric_weight, face_numeric_slant)
(face_numeric_swidth, face_symbolic_value, face_symbolic_weight)
(face_symbolic_slant, face_symbolic_swidth)
(split_font_name_into_vector, build_font_name_from_vector)
(xlfd_fixed_p, xlfd_point_size, pixel_point_size)
(font_rescale_ratio, split_font_name, build_font_name)
(free_font_names, sort_fonts, x_face_list_fonts)
(face_font_available_p, sorted_font_list, cmp_font_names)
(font_list_1, concat_font_list, font_list, remove_duplicates):
Deleted.
(Fx_list_fonts): Use Ffont_list.
(LFACE_AVGWIDTH): Deleted.
(check_lface_attrs): Don't check LFACE_AVGWIDTH.  Check LFACE_FONT
by FONTP.
(lface_fully_specified_p): Don't check LFACE_AVGWIDTH.
(set_lface_from_font_name): Delete it.
(set_lface_from_font): Renamed from
set_lface_from_font_and_fontset.  Caller changed.  Don't set
LFACE_AVGWIDTH.  Use FONT_XXX_FOR_FACE to get a symbol suitable
for face.
(merge_face_vectors): Copy font-spec if necessary.  Clear
properties of the font-spec if necessary.
(merge_face_ref): Clear properties of the font-spec if necessary.
(Finternal_set_lisp_face_attribute): Likewise.
(set_font_frame_param): Use font_load_for_lface to load a
font-object, and call Fmodify_frame_parameters with it.
(x_update_menu_appearance): Don't check LFACE_AVGWIDTH.  Get XLFD
font name by Ffont_xlfd_name.
(Finternal_lisp_face_attribute_values): Don't check QCweight,
QCslant, and QCwidth.
(Fface_font): Get a font name from font->props[FONT_NAME_INDEX].
(lface_same_font_attributes_p): Don't check LFACE_AVGWIDTH.
Compare fonts by EQ.
(lookup_non_ascii_face): Deleted.
(face_for_font): The 2nd argument changed.
(x_supports_face_attributes_p): Don't check LFACE_AVGWIDTH.  Check
atomic font properties by case insensitive.
(realize_non_ascii_face): Set face->overstrike correctly.
(realize_x_face): Likewise.  Check if LFACE_FONT is a font_object.
(dump_realized_face): Get font name from
font->props[FONT_NAME_INDEX].  Don't print font_info_id.

16 years agoThroughout the file, delete all USE_FONT_BACKEND
Kenichi Handa [Wed, 14 May 2008 01:40:23 +0000 (01:40 +0000)]
Throughout the file, delete all USE_FONT_BACKEND
conditionals.  Don't check enable_font_backend.  Delete all codes
used only when USE_FONT_BACKEND is not defined.
(handle_auto_composed_prop): Do nothing if it->f is not on a
window system.  Check how many following characters can be
displayed by the same font.
(calc_pixel_width_or_height): Type of the 4th arg is changed to
'struct font *'.
(get_char_face_and_encoding): Assign the whole encoding task to
the `encode-char' method of a font driver.
(fill_composite_glyph_string): Adjusted for the change of `struct
face' and `struct glyph_string'.
(fill_glyph_string): Likewise.
(get_per_char_metric): Arguments changed.
(x_get_glyph_overhangs): Adjusted for the change of `struct face'
and `struct glyph_string'.
(produce_stretch_glyph, calc_line_height_property)
(x_produce_glyphs): Likewise.

16 years agoInclude font.h.
Kenichi Handa [Wed, 14 May 2008 01:39:58 +0000 (01:39 +0000)]
Include font.h.
(print_object): Handle font-related objects.

16 years ago(enum pvec_type): New member PREV_FONT.
Kenichi Handa [Wed, 14 May 2008 01:39:27 +0000 (01:39 +0000)]
(enum pvec_type): New member PREV_FONT.
(Fassoc_string): EXFUN it.

16 years ago(image_ascent): Don't include "charset.h". Include
Kenichi Handa [Wed, 14 May 2008 01:39:03 +0000 (01:39 +0000)]
(image_ascent): Don't include "charset.h".  Include
"character.h" and "font.h".

16 years agoThroughout the file, delete all USE_FONT_BACKEND
Kenichi Handa [Wed, 14 May 2008 01:34:57 +0000 (01:34 +0000)]
Throughout the file, delete all USE_FONT_BACKEND
conditionals.  Don't check enable_font_backend.  Delete all codes
used only when USE_FONT_BACKEND is not defined.
(x_set_font): Call x_new_font, not x_new_fontset2.
(x_set_font_backend): Use FRAME_FONT macro to check if a font is
already set for the frame.