1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 23:10:47 -08:00
Commit graph

27351 commits

Author SHA1 Message Date
Kenichi Handa
8cc53f96e5 (CHAR_CHARSET_P): Check if the encoder is loaded or
not before accessing it.
2008-11-29 13:47:31 +00:00
Kenichi Handa
b8ebe9dd7f (Fdefine_charset_internal): After calculating
min_char, max_char, and fastmap, copy the charset structure again.
(encode_char): Fix the previous change.
2008-11-29 01:46:07 +00:00
Seiji Zenitani
59bc82c0b9 * frame.c (x_set_alpha) [NS_IMPL_COCOA]: Call x_set_frame_alpha.
* nsfns.m (ns_frame_parm_handlers): Set alpha handler.
* nsterm.m (x_set_frame_alpha): New function.
2008-11-28 05:40:36 +00:00
Eli Zaretskii
32247e3db3 (Fx_font_family_list, syms_of_xfaces): Fix last change. 2008-11-27 20:18:34 +00:00
Juanma Barranquero
b003e5ff45 * w32font.c (add_font_entity_to_list): Pass the right LOGFONT
pointer to check_face_name.
2008-11-27 15:19:40 +00:00
Kenichi Handa
f10fdbfd42 (print_object): For bool-vector, delete unnecessary
check of ASCII_BYTE_P.
2008-11-27 08:02:15 +00:00
Kenichi Handa
bed6185fec (describe_vector): Adjusted for the change of
char_table_ref_and_range.  For char-table, put boundary between
non-ASCII and 8-bit characters.
2008-11-27 08:02:02 +00:00
Kenichi Handa
5b30be1a9d (fontset_add): Adjusted for the change of
char_table_ref_and_range.
(fontset_get_font_group): Likewise.
(Ffontset_info): Likewise.
2008-11-27 08:01:45 +00:00
Kenichi Handa
7ef1f5d11c (sub_char_table_ref_and_range): Adjusted for the
change of char_table_ref_and_range.
(char_table_ref_and_range): Change the meaning of argument FROM
and TO.  Now the caller must provide initial values for *FROM
and *TO.
2008-11-27 08:01:29 +00:00
Kenichi Handa
2bc20f0b55 (enum charset_method): Delete
CHARSET_METHOD_MAP_DEFERRED.
(DECODE_CHAR): Check if the decoder vector is ready.
(ENCODE_CHAR): Check if the encoder char-table is ready.
(maybe_unify_char): Extern it.
2008-11-27 08:00:43 +00:00
Kenichi Handa
ecca2aad92 (Vchar_unified_charset_table): Delete it.
(inhibit_load_charset_map): New variable.
(temp_charset_work): New variable.
(SET_TEMP_CHARSET_WORK_ENCODER, GET_TEMP_CHARSET_WORK_ENCODER)
(SET_TEMP_CHARSET_WORK_DECODER, GET_TEMP_CHARSET_WORK_DECODER):
New macros.
(load_charset_map): Meaning of control_flag changed.  If
inhibit_load_charset_map is nonzero, setup a table in
temp_charset_work.
(load_charset): New argument control_flag.
(map_charset_for_dump): New function.
(map_charset_chars): If inhibit_load_charset_map is nonzero, use
map_charset_for_dump.
(Fdefine_charset_internal): If the charset method is MAP, load
mapping tables by calling load_charset.
(Funify_charset): Don't load a mapping table but directly set
Vchar_unify_table.
(maybe_unify_char): New function.
(decode_char): Don't handle the deleted method MAP_DEFERRED.
Handle the case of inhibit_load_charset_map being nonzero.
(encode_char): Don't handle the deleted method MAP_DEFERRED.
Handle the case of inhibit_load_charset_map being nonzero.
(Fclear_charset_maps): Just free temp_charset_work.
(syms_of_charset): Make `inhibit-load-charset-map' a Lisp
variable.
2008-11-27 08:00:16 +00:00
Kenichi Handa
55870ffc30 (MAYBE_UNIFY_CHAR): Call maybe_unify_char instead of
Funify_charset.
2008-11-27 07:59:35 +00:00
Kenichi Handa
cd48687577 (hash_get_category_set): New function.
(Fmodify_category_entry): Adjusted for the change of
char_table_ref_and_range.  Call hash_get_category_set to get a
category set to store in the table.
2008-11-27 07:59:21 +00:00
Kenichi Handa
1a182119e3 (SET_CATEGORY_SET): Call set_category_set.
(set_category_set): Extern it.
2008-11-27 07:59:11 +00:00
Kenichi Handa
708550f509 *** empty log message *** 2008-11-27 07:58:57 +00:00
Jason Rumney
9196133b4b (w32font_open_internal): Don't include external leading in font height. 2008-11-26 13:37:17 +00:00
Adrian Robert
90d19aff37 committing logs wrote but forgot to commit last night 2008-11-26 05:32:22 +00:00
Glenn Morris
9f688acf32 (Fx_font_family_list): Replace lisp/term/pc-win.el redefinition with
ifdef.  (Bug#1383)
2008-11-26 03:00:53 +00:00
Adrian Robert
f272d02fff * nsterm.m (ns_get_color): Handle long hex strings (fixes bug #1044). 2008-11-25 04:39:29 +00:00
Adrian Robert
19454c0a2a * nsterm.m (-otherMouseDown:, -otherMouseUp:, -otherMouseDragged): New EmacsView methods. (EV_UDMODIFIERS, EV_BUTTON): Add OtherMouse constants. Fixes bug #1048,1357,1414. 2008-11-25 04:09:49 +00:00
Adrian Robert
5a06864fb6 Fix bug #1362. * image.c (x_clear_image_1): Do not free background under HAVE_NS, it is not an indexed color. * nsterm.m (free_indexed_color): Add argument checking. * nsfns.m: Move config.h to before system includes (advised by Dan N.). 2008-11-25 02:45:39 +00:00
Chong Yidong
b47d0e56c4 (Fcompleting_read, Vminibuffer_completion_confirm): Document
confirm-after-completion value for minibuffer-completion-confirm.
2008-11-24 19:13:29 +00:00
Chong Yidong
e7d5ecb378 * minibuf.c (Fcompleting_read, Vminibuffer_completion_confirm):
Document confirm-after-completion value for
minibuffer-completion-confirm.
2008-11-24 19:12:36 +00:00
Jason Rumney
c285743c06 (check_face_name): Use xstrcasecmp. Avoid compiler warning. 2008-11-24 13:15:48 +00:00
Jason Rumney
b0857706e4 (check_face_name): New function.
(add_font_entity_to_list): Use it to filter out common substituted fonts.
2008-11-23 15:08:52 +00:00
Jason Rumney
a608bcbf77 (uniscribe_encode_char): Ensure context is restored before returning. 2008-11-23 15:06:44 +00:00
Martin Rudalics
ee50ff07eb (Fswitch_to_buffer): Reword and mention new option
confirm-nonexistent-file-or-buffer in doc-string.
2008-11-22 11:35:45 +00:00
Juanma Barranquero
f96f2c5bbf Fix typos in comments. 2008-11-21 12:14:07 +00:00
Stefan Monnier
b8ff72fad8 (Fbuffer_swap_text): Remove redundant marker manipulation.
Fix copy/paste typo.  Add checks.
2008-11-21 05:33:29 +00:00
Kenichi Handa
cee53ed4b8 (detect_coding_iso_2022): Reject invalid composition
sequence.
(DECODE_COMPOSITION_START): If the current source is the last
block, and the current composition doesn't end, regard this
sequence as invalid.
(decode_coding_iso_2022): Handle invalid composition sequence.
2008-11-21 02:24:40 +00:00
Martin Rudalics
f6ef1e6545 (coordinates_in_window): Don't return
ON_VERTICAL_BORDER for the rightmost position of a mode/header
line when the window is not the rightmost one.  (Bug#1372)
2008-11-20 10:13:40 +00:00
Martin Rudalics
e08b170568 (syms_of_buffer): Fix doc-string of cursor-type. 2008-11-16 18:54:50 +00:00
Eli Zaretskii
ad98e89f4f (run_msdos_command): Don't call dos_ttcooked, dos_ttraw, and bright_bg
if noninteractive is non-zero.
2008-11-15 16:20:09 +00:00
Chong Yidong
85bdc6d29e (x_draw_glyph_string): For stretch glyphs, don't call
x_draw_glyph_string_background.
2008-11-15 05:33:17 +00:00
Chong Yidong
fb098a4b61 * xterm.c (x_draw_glyph_string): For stretch glyphs, don't call
x_draw_glyph_string_background.

* w32term.c (x_draw_glyph_string): Likewise.
2008-11-15 05:32:55 +00:00
Chong Yidong
8afbb9372d (x_draw_glyph_string): Stop drawing the background of the next glyph
string once past the overhang width.
2008-11-15 05:21:20 +00:00
Chong Yidong
06e23d40a6 (ns_draw_glyph_string): Stop drawing the background of the next glyph
string once past the overhang width.
2008-11-15 05:20:49 +00:00
Chong Yidong
e3f81cd557 (x_draw_glyph_string): Stop drawing the background of the next glyph
string once past the overhang width.
2008-11-15 05:20:33 +00:00
Chong Yidong
ce952b6ebb * xterm.c (x_draw_glyph_string): Stop drawing the background of
the next glyph string once past the overhang width.

* nsterm.m (ns_draw_glyph_string): Likewise.

* w32term.c (x_draw_glyph_string): Likewise.
2008-11-15 05:20:12 +00:00
Chong Yidong
db65a627b0 (Finsert_file_contents): Decrement specpdl_ptr to avoid double file
close.
2008-11-14 21:11:15 +00:00
Chong Yidong
26ea70797a * fileio.c (Finsert_file_contents): Decrement specpdl_ptr to avoid
double file close.
2008-11-14 21:10:43 +00:00
Martin Rudalics
1c33c906e0 (window_loop): In DELETE_BUFFER_WINDOWS case, reset
dedicated status of window before attempting to display another
buffer in it.
2008-11-14 13:53:21 +00:00
Juanma Barranquero
8fc29035f3 * w32-fns.el (w32-shell-dos-semantics):
* calendar/diary-lib.el (diary-face-attrs):
* international/mule-cmds.el (set-default-coding-systems)
  (prefer-coding-system):
* net/tramp.el (tramp-set-completion-function):
* progmodes/vhdl-mode.el (vhdl-file-header):
* term/pc-win.el (msdos-show-help): Fix typos in docstrings.

* emacs-lisp/authors.el (authors-fixed-entries): Fix typo in value.

* files.el (enable-local-eval, not-modified, kill-buffer-ask)
  (kill-matching-buffers, save-buffers-kill-emacs)
  (save-buffers-kill-terminal): Fix typos in docstrings.
  (switch-to-buffer-other-window): Reflow docstring.
  (revert-buffer): Doc fix.
  (define-project-bindings): Rename arg LIST to SETTINGS.
  (project-find-settings-file): Use `let', not `let*'.  Use `when'.
2008-11-14 13:05:18 +00:00
Eli Zaretskii
55fb428628 (OBJ1, WIN32OBJ): Fix whitespace. 2008-11-14 12:17:38 +00:00
Katsumi Yamaoka
3fda03158c (BASE_PURESIZE): Increase to 1260000. 2008-11-14 00:17:11 +00:00
Juanma Barranquero
22e33406d4 Fix typo in comment. 2008-11-12 15:59:06 +00:00
Chong Yidong
62e62ea866 (x_set_alpha): Set alpha to -1 if nil given. 2008-11-12 15:52:12 +00:00
Chong Yidong
f2d5c00fe8 Negative alpha means "don't touch". 2008-11-12 15:51:35 +00:00
Chong Yidong
2f8e69ccca (x_set_frame_alpha): Do nothing if alpha is negative. 2008-11-12 15:51:11 +00:00
Chong Yidong
7e849c1743 * frame.c (x_set_alpha): Set alpha to -1 if nil given.
* frame.h: Negative alpha means "don't touch".

* w32term.c (x_set_frame_alpha): Do nothing if alpha is negative.

* xterm.c (x_set_frame_alpha): Do nothing if alpha is negative.
2008-11-12 15:49:45 +00:00