1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-26 07:00:35 -08:00
Commit graph

25932 commits

Author SHA1 Message Date
Jason Rumney
0ce24b2d12 (uniscribe_shape): Increase items buffer size.
Give up if glyph indices not supported.  Use uniscribe obtained
ABC widths for individual metrics.  Map glyph clusters back to
characters using fClusterStart flag.  Return number of glyphs
produced, not chars processed.
2008-04-06 01:08:19 +00:00
Miles Bader
5bc6ddff00 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1107
2008-04-05 23:01:26 +00:00
Chong Yidong
37128b5497 (compile_pattern_1): Treat non-nil and non-string of
search-spaces-regexp as nil.
2008-04-05 21:42:59 +00:00
Chong Yidong
6ffb36c380 * search.c (compile_pattern_1): Treat non-nil and non-string of
search-spaces-regexp as nil.
2008-04-05 21:42:01 +00:00
Chong Yidong
d8c852509f (compile_pattern_1): Treat non-nil and non-string of
search-spaces-regexp as nil.
2008-04-05 21:40:16 +00:00
Chong Yidong
9605d5675e * search.c (compile_pattern_1): Treat non-nil and non-string of
search-spaces-regexp as nil.
2008-04-05 21:40:04 +00:00
Juanma Barranquero
c5ad7a3d92 *** empty log message *** 2008-04-05 21:08:50 +00:00
Chong Yidong
c6a82c1866 (Fassoc_string): Tweak docstring. 2008-04-05 21:03:47 +00:00
Chong Yidong
c36e15db97 * minibuf.c (Fassoc_string): Tweak docstring. 2008-04-05 21:03:40 +00:00
Miles Bader
80d0c8d97f Add arch tagline 2008-04-05 20:18:32 +00:00
Eli Zaretskii
f3a3640be8 (Ffile_attributes) [WINDOWSNT]: Force inode be positive. 2008-04-05 19:10:08 +00:00
Eli Zaretskii
aa08d1ff92 (init_user_info): Don't restrict UID and GID to 0-60000 range. 2008-04-05 15:26:10 +00:00
Eli Zaretskii
40beb14781 New file. 2008-04-05 14:34:28 +00:00
Eli Zaretskii
e3b88685f9 (sys_chown, stat, fstat): Use S_* constants instead of _S_* ones, since we
now use our own sys/stat.h.
(stat, fstat): Don't mangle the inode number.
2008-04-05 14:32:28 +00:00
Eli Zaretskii
e058f331f5 (Ffile_attributes): Support inode numbers wider than 32 bits.
Remove ugly WINDOWSNT-specific kludge introduced on 2008-03-14 to force
inode be positive.
2008-04-05 14:31:42 +00:00
Jason Rumney
388c38f9b3 (w32font_text_extents): Use font's ascent and descent.
(recompute_cached_metrics): Don't set ascent and descent per char.
2008-04-04 23:05:43 +00:00
Stefan Monnier
d4417eb006 (struct frame): Give one more bit to `visible' since we use
values larger than 1 to indicate obscured frames on ttys.
2008-04-04 17:56:23 +00:00
Stefan Monnier
00f7c5edc6 * subr.el (keymap-canonicalize): New function.
* mouse.el (mouse-menu-non-singleton): Use it.
(mouse-major-mode-menu): Remove hack made unnecessary.
* keymap.c (Qkeymap_canonicalize): New var.
(Fmap_keymap_internal): New fun.
(describe_map): Use keymap-canonicalize.
2008-04-04 17:31:20 +00:00
Stefan Monnier
4591d6cbef (last_boundary_buffer, last_boundary_position): New vars.
(Fundo_boundary): Set them.
(syms_of_undo): Initialize them.
(record_point): Use them instead of last_point_position*.
(last_undo_buffer): Change type.
2008-04-04 16:59:52 +00:00
Jason Rumney
d0bfec76e4 (uniscribe_check_otf): Rearrange loop for counting features. 2008-04-04 12:08:14 +00:00
Jason Rumney
e38ac6e203 (uniscribe_check_otf): Add GC protection before consing.
Use CAR_SAFE to increment loop.
2008-04-04 11:59:09 +00:00
Jason Rumney
3187540eff (uniscribe_check_otf): Fix last change. 2008-04-04 07:59:20 +00:00
Stefan Monnier
f1a6b2163c (insert_from_buffer_1): Don't compare bytes in destination
buffer with byte-size of source buffer.
2008-04-03 20:01:31 +00:00
Chong Yidong
e5a31bbbcb (Fcall_interactively): Handle temporary region even when
shift-select-mode is off.
2008-04-03 16:36:47 +00:00
Chong Yidong
1d8dcf63aa * callint.c (Fcall_interactively): Handle temporary region even
when shift-select-mode is off.
2008-04-03 16:36:29 +00:00
Jason Rumney
6b8aa22a8a (uniscribe_check_otf): Sanity check otf_spec. 2008-04-03 15:38:29 +00:00
Jason Rumney
0c1b4ae237 (CONFIG_H): New variable. Use it to clean up
dependencies.
(w32uniscribe.$(O)): New file to build.
(FONT_OBJ): Include w32uniscribe.$(O).
(LIBS): Add uniscribe libraries.
2008-04-03 13:16:13 +00:00
Jason Rumney
cbfedb1c52 (uniscribe_font_driver) [WINDOWSNT]: Declare for w32fns.c. 2008-04-03 13:11:29 +00:00
Jason Rumney
56df6710a9 (Qbalinese, Qbuginese, Qbuhid, Qcuneiform, Qcypriot)
(Qdeseret, Qglagolitic, Qgothic, Qhanunoo, Qkharoshthi)
(Qlimbu, Qlinear_b, Qold_italic, Qold_persian, Qosmanya)
(Qphags_pa, Qphoenician, Qshavian, Qsyloti_nagri)
(Qtagalog, Qtagbanwa, Qtai_le, Qtifinagh, Qugaritic)
(Qphonetic): New symbols.
(syms_of_w32font): Initialize them.
(font_supported_scripts): Use them.
(w32font_list_family): List all charsets.
(w32font_text_extents, recompute_cached_metrics): Fix metric
calculations.
(w32_enumfont_pattern_entity): Make full_type a DWORD.
Give opentype fonts their own format.
(font_matches_spec): New arguments backend and logfont.
Handle :otf spec for uniscribe backend.
(add_font_entity_to_list): Match truetype fonts in uniscribe backend.
(fill_in_logfont): Use DEFAULT_CHARSET when charset not supplied.
2008-04-03 13:10:57 +00:00
Jason Rumney
97724679a1 (uniscribe_font_driver) [WINDOWSNT]: Declare for w32fns.c. 2008-04-03 12:37:44 +00:00
Kenichi Handa
2f3cbb326b (CATEGORY_MASK_ANY): Add CATEGORY_MASK_UTF_16_AUTO.
(CATEGORY_MASK_UTF_16): Likewise.
(detect_coding_utf_16): Add heuristics to reject utf-16 for a
binary file.
(detect_coding): Add null-byte detection for a binary file.
(detect_coding_system): Likewise.
2008-04-03 12:31:27 +00:00
Jason Rumney
164ce7fab3 (uniscribe_check_otf): Declare. 2008-04-03 12:28:57 +00:00
Jason Rumney
e14dc92d86 Font backend implementation for Uniscribe on Windows 2000 and later. 2008-04-03 11:56:40 +00:00
Jason Rumney
43f4f91cef (ftfont_get_open_type_spec): Check spec->script, not val. 2008-04-03 08:17:15 +00:00
Chong Yidong
12679e05b0 Restore support for the values identity' and only' for transient
mark mode, since it can't hurt.  Update comments.
2008-04-02 20:22:37 +00:00
Chong Yidong
d6b4106c61 Undo previous change:
* keyboard.c (command_loop_1): Don't change the value of
transient-mark-mode; this is now handled by handle-shift-selection.
2008-04-02 20:21:45 +00:00
Chong Yidong
e09655973f (Fscroll_up, Fscroll_down, Fscroll_left)
(Fscroll_right): Add ^ interactive spec.
2008-04-02 20:15:43 +00:00
Chong Yidong
1e9dbb5f64 (Fforward_word): Add ^ interactive spec. 2008-04-02 20:15:32 +00:00
Chong Yidong
9ae750f084 (Fforward_char, Fbackward_char, Fforward_line)
(Fbeginning_of_line, Fend_of_line): Add ^ interactive spec.
2008-04-02 20:15:21 +00:00
Chong Yidong
526c9df942 (Vtransient_mark_mode): Move docstring to simple.el to
avoid clobbering by define-minor-mode.
2008-04-02 20:15:11 +00:00
Chong Yidong
025ae9533d (Vthis_command_keys_shift_translated): New var.
(command_loop_1): Avoid running the direct display versions of
forward-char and backward-char if shift-selection may occur.
Don't change the value of transient-mark-mode; this is now handled
by handle-shift-selection.
(read_key_sequence): Set Vthis_command_keys_shift_translated if
shift-translation takes place.
2008-04-02 20:14:57 +00:00
Chong Yidong
9bdb1538a5 (Vshift_select_mode): New var.
(Finteractive): Document new ^ spec.
(Fcall_interactively): Call handle-shift-selection if the ^ spec
is present.
2008-04-02 20:14:40 +00:00
Chong Yidong
75043a7d35 * callint.c (Vshift_select_mode): New var.
(Finteractive): Document new ^ spec.
(Fcall_interactively): Call handle-shift-selection if the ^ spec
is present.

* keyboard.c (Vthis_command_keys_shift_translated): New var.
(command_loop_1): Avoid running the direct display versions of
forward-char and backward-char if shift-selection may occur.
Don't change the value of transient-mark-mode; this is now handled
by handle-shift-selection.
(read_key_sequence): Set Vthis_command_keys_shift_translated if
shift-translation takes place.

* buffer.c (Vtransient_mark_mode): Move docstring to simple.el to
avoid clobbering by define-minor-mode.

* cmds.c (Fforward_char, Fbackward_char, Fforward_line)
(Fbeginning_of_line, Fend_of_line): Add ^ interactive spec.

* syntax.c (Fforward_word): Add ^ interactive spec.

* window.c (Fscroll_up, Fscroll_down, Fscroll_left)
(Fscroll_right): Add ^ interactive spec.
2008-04-02 20:14:17 +00:00
Stefan Monnier
a432c0a64b (try_window_id): Don't forget to reset delta_bytes. 2008-04-01 21:27:07 +00:00
Stefan Monnier
994b75e0f4 (casify_object): Fix up int/EMACS_INT mixup. 2008-04-01 06:02:20 +00:00
Glenn Morris
bf380f53ba More fixing of what multi-tty called a ChangeLog. 2008-04-01 02:56:18 +00:00
Stefan Monnier
b2b7f29e5e (Funibyte_charset, Fset_unibyte_charset): Remove. 2008-04-01 00:54:03 +00:00
Chong Yidong
3977f0437f (next_overlay_string): Don't set overlay_strings_at_end_processed_p if
we're currently reading from a display string.
2008-03-31 22:37:54 +00:00
Chong Yidong
66cfe827e1 * xdisp.c (next_overlay_string): Don't set
overlay_strings_at_end_processed_p if we're currently reading from a
display string.
2008-03-31 22:37:21 +00:00
Chong Yidong
31e31a1541 (auto_save_error_occurred): New var.
(auto_save_error): Set it.
(Fdo_auto_save): Don't overwrite the error message if an auto-save
error occurred.
2008-03-31 22:07:40 +00:00