Kenichi Handa [Wed, 28 Jun 2006 05:57:27 +0000 (05:57 +0000)]
(QCscalable, Qc, Qm, Qp, Qd): New variables.
(syms_of_font): Initialize them.
(font_pixel_size): Allow float value in dpi.
(font_prop_validate_type): Deleted.
(font_prop_validate_symbol, font_prop_validate_style): Argument
changed. Caller changed.
(font_prop_validate_non_neg): Renamed from
font_prop_validate_size.
(font_prop_validate_extra): Deleted.
(font_prop_validate_spacing): New function.
(font_property_table): Add elements for all known properties.
(get_font_prop_index): Renamed from check_font_prop_name. New
argument FROM. Caller changed.
(font_prop_validate): Validate all known properties.
(font_put_extra): Argument force deleted. Caller changed.
(font_expand_wildcards): Make it static. Fix the way of shrinking
the possible range.
(font_parse_xlfd): Arguemnt merge deleted. Fix handling of RESX,
RESY, SPACING, and AVGWIDTH. Don't validate property values here.
Caller changed.
(font_unparse_xlfd): Handle dpi, spacing, and scalable properties.
(font_parse_fcname): Arguemnt merge deleted. Fix parsing of point
size. Don't validate properties values here. Caller changed.
(font_unparse_fcname): Handle dpi, spacing, and scalable
properties.
(font_open_by_name): Delete unused variable.
(Ffont_spec): Likewise. Validate property values.
(Ffont_match_p): New function.
Kenichi Handa [Wed, 21 Jun 2006 01:24:36 +0000 (01:24 +0000)]
(font_parse_xlfd): Fix generating of CHARSET_REGISTRY field.
(font_has_char): Accept font-object too.
(font_find_for_lface): Try at first with a size specified in face.
(size_window): New arg FIRST_ONLY. All callers changed.
(adjust_window_trailing_edge): Specially compute FIRST_PARALLEL
for the case of a top-level window and the following minibuffer.
Don't exit because of no `next' when there is a parent.
Use the FIRST_ONLY feature when resizing following windows.
Kenichi Handa [Mon, 19 Jun 2006 12:43:59 +0000 (12:43 +0000)]
(POINT_TO_PIXEL): Don't divice POINT by 10.
(QCspacing, QCdpi): New variables.
(syms_of_font): Initialize them.
(font_pixel_size): New function.
(font_put_extra): New function.
(font_parse_xlfd): Fix handling of font size. Add QCdpi property
in FONT_EXTRA.
(font_parse_fcname): Handle enumenrated values (e.g. bold). Fix
handling font size. Add QCname property that contains only
unknown properties.
(font_score): Change argument. Caller changed. Pay attention to
FONT_PIXEL_SIZE_QUANTUM.
(font_sort_entites): Fix handling of font size.
(font_list_entities): Likewise.
(font_find_for_lface): Likewise.
(font_open_for_lface): Likewise.
(font_open_by_name): Likewise.
(Ffont_spec): Add QCname property that contains only unknown
properties.
Kenichi Handa [Mon, 19 Jun 2006 12:36:58 +0000 (12:36 +0000)]
(ftfont_list): Use assq_no_quit, not Fassq. Don't
include weight in listing pattern, instead check weight of each
listed font. Don't include scalable in pattern. Pay attention to
FONT_PIXEL_SIZE_QUANTUM.
Carsten Dominik [Mon, 19 Jun 2006 06:54:43 +0000 (06:54 +0000)]
(Publishing links): Document the
`:link-validation-function' property.
(Extensions and Hacking): New chapter, includes some sections
of
the "Miscellaneous" chapter.
Carsten Dominik [Mon, 19 Jun 2006 06:54:22 +0000 (06:54 +0000)]
Require noutline, also on XEmacs.
(org-end-of-subtree): Return point.
(org-dblock-start-re, org-dblock-end-re): New constants.
(org-create-dblock, org-prepare-dblock, org-map-dblocks)
(org-dblock-update, org-update-dblock,
org-beginning-of-dblock)
(org-update-all-dblocks, org-find-dblock): New functions.
(org-collect-clock-time-entries): New function.
(org-html-handle-time-stamps): Never export CLOCK timeranges.
(org-fixup-indentation): Modified to deadl correctly with
lines
starting with TAB. Only one argument DIFF now.
(org-demote, org-promote): Call `org-fixup-indentation' with
just
one argument, DIFF.
(org-mode): Don't mark buffer as modified when aligning
tables.
(org-clock-sum): Don't makr buffer modified when adding time
sum
properties.
(org-export-as-html): Added support for a link validation
function.
(org-archive-all-done): New function.
(org-archive-subtree): New prefix argument. When set, archive
all
done subtrees in this buffer.
(org-remove-clock-overlays)
(org-remove-occur-highlights): Use
`org-inhibit-highlight-removal'.
(org-inhibit-highlight-removal): New variable, for dyn amic
scoping.
(org-put-clock-overlay): Don't swallow last headline character
when displaying overlay.
(org-store-link): Link to `image-mode' with just the file
name.
Kenichi Handa [Mon, 19 Jun 2006 01:38:26 +0000 (01:38 +0000)]
(font_parse_fcname): Fix parsing of point-size.
(font_unparse_fcname): Produce symbolic names for style
properties.
(font_list_entities): Handle float size correctly.
(font_open_by_name): Prefer `normal' property values if the name
doesn't specify them.
Kenichi Handa [Mon, 19 Jun 2006 01:34:55 +0000 (01:34 +0000)]
(ftfont_pattern_entity): Use the numeric value 100 for
FC_WEIGHT_REGULAR. Exclude FC_SIZE and FC_PIXEL_SIZE from listing
pattern. Don't force scalable.
Michael Kifer [Sun, 18 Jun 2006 17:08:24 +0000 (17:08 +0000)]
2006-06-18 Michael Kifer <kifer@cs.stonybrook.edu>
* viper-cmd.el (viper-special-read-and-insert-char): use
read-key-sequence.
(viper-after-change-undo-hook): enhancements.
(viper-after-change-undo-hook): new hook.
(viper-undo): use viper-after-change-undo-hook.
(viper-add-newline-at-eob-if-necessary): widen before making changes.
(viper-next-line-at-bol): If point is on a widget or a button, simulate
clicking on that widget/button.
* viper.el (viper-mode): allow for a separate cursor color in Emacs
state.
* ediff-diff (ediff-test-patch-utility): catch errors.
(ediff-actual-diff-options, ediff-actual-diff3-options): new variables.
(ediff-set-actual-diff-options): new function.
(ediff-reset-diff-options, ediff-toggle-ignore-case):
use ediff-set-actual-diff-options.
(ediff-extract-diffs): catch errors.
(ediff-whitespace): add nonbreakable space.
(ediff-same-file-contents): catch errors.
* ediff-mult.el (ediff-collect-custom-diffs): save
coding-system-for-read.
* ediff-vers.el (ediff-keep-tmp-versions): new var.
(ediff-vc-internal, ediff-vc-merge-internal): use
ediff-delete-version-file.
(ediff-delete-version-file): new function.
* ediff-wind.el (ediff-control-frame-parameters): set frame fringes.
Kenichi Handa [Fri, 16 Jun 2006 12:34:49 +0000 (12:34 +0000)]
(XLFD_SMALLNUM_MASK): Delete this macro.
(XLFD_LARGENUM_MASK): Delete XLFD_ENCODING_MASK from it.
(font_expand_wildcards): Fix handling ENCODING field. Avoid
unnecessary checks for weight, slant, and swidth.
(font_parse_fcname): New function.
(font_unparse_fcname): New function.
(font_parse_name): New function.
(font_match_p): New function.
(font_get_name): Return value changed to Lisp string.
(font_get_spec): New function.
(Qunspecified, Qignore_defface): Don't extern them.
(font_find_for_lface): Assume that LFACE is fully specified.
(font_load_for_face): If lface[LFACE_FONT_INDEX] is an font
object, use it for FACE.
(font_open_by_name): Call Ffont_spec with QCname prop. Don't call
driver->parse_name.
(Ffont_spec): Call font_parse_name, not font_parse_xlfd.
Kenichi Handa [Fri, 16 Jun 2006 12:24:58 +0000 (12:24 +0000)]
(Qmonospace, Qsans_serif, Qserif, Qmono, Qsans)
(Qsans__serif): New variables.
(ftfont_generic_family_list): New variable.
(syms_of_ftfont): Initialize the above variables.
(ftfont_pattern_entity): Argument NAME deleted.
(ftfont_list_generic_family): New function.
(ftfont_parse_name): Delete this function.
(ftfont_list): Try generic family only when FcFontList found no
font.
(ftfont_list_family): Fix args to FcObjectSetBuild.
Kenichi Handa [Fri, 16 Jun 2006 12:19:38 +0000 (12:19 +0000)]
(check_lface_attrs) [USE_FONT_BACKEND]: Accept font
object in attrs[LFACE_FONT_INDEX].
(set_lface_from_font_name): Cancel all changes for font-backend.
(set_lface_from_font_and_fontset) [USE_FONT_BACKEND]: New
function.
(Finternal_set_lisp_face_attribute): Accept a font object in
QCfont attribute.
(set_font_frame_param): Likewise.
(realize_default_face): Call set_lface_from_font_and_fontset.
Jan Djärv [Fri, 16 Jun 2006 12:12:27 +0000 (12:12 +0000)]
2006-06-16 Francis Litterio <flitterio@gmail.com>
* xterm.c (x_check_expected_move, handle_one_xevent)
(x_set_offset, x_check_fullscreen): Extensive changes to make
frame positioning deterministic under X.
* xterm.h (x_output): Added members left_before_move and
top_before_move. Removed members expected_left and expected_top.
Kim F. Storm [Fri, 16 Jun 2006 11:53:12 +0000 (11:53 +0000)]
(next_overlay_string): Fix assert.
(push_it, pop_it): Handle composition and stretch specific values.
Only handle it->slice in image (for now).
(back_to_previous_visible_line_start): Continue search if newline is
part of a compisition. Simplify.
(reseat_1): Set it->object to buffer.
(set_iterator_to_next): Set it->object to string or buffer, when
setting it->method to GET_FROM_STRING or GET_FROM_BUFFER.
(next_element_from_composition): Set it->object to buffer if not
from string.
(set_cursor_from_row): Only save start of string if not already
done to handle multiple strings in a row.
Kim F. Storm [Fri, 16 Jun 2006 11:43:04 +0000 (11:43 +0000)]
(pitx): Show composition parameters.
(pgx, pg): New commands to print a glyph structure.
(pgi, pgn): New commands to print specific/next glyph.
(pgrowx, pgrow): New commands to print all glyphs in a row.
(do_app_resume, do_app_suspend): Remove functions.
(mac_tsm_resume, mac_tsm_suspend) [USE_MAC_TSM]: New functions.
(mac_handle_window_event, XTread_socket) [USE_MAC_TSM]: Use them.
(Vmac_ts_script_language_on_focus) [USE_MAC_TSM]: New variable.
(syms_of_macterm) [USE_MAC_TSM]: Defvar it.
(saved_ts_language, saved_ts_component) [USE_MAC_TSM]: New variables.
(mac_initialize_display_info) [MAC_OSX]: Use Quartz Display
Services functions to get size of main display in pixels.