1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-02 13:41:30 -08:00
Commit graph

25680 commits

Author SHA1 Message Date
Juanma Barranquero
978bef9a86 *** empty log message *** 2008-02-24 02:48:47 +00:00
Juanma Barranquero
608c3307ff *** empty log message *** 2008-02-24 02:37:13 +00:00
Chong Yidong
f93a616bee (x_set_offset): Don't change the gravity if CHANGE_GRAVITY is -1. 2008-02-24 01:05:27 +00:00
Chong Yidong
d59581635f * xterm.c (x_set_offset): Don't change the gravity if
CHANGE_GRAVITY is -1.
2008-02-24 01:05:20 +00:00
Chong Yidong
ca730bf009 (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-02-23 23:12:52 +00:00
Chong Yidong
9997701e25 * fileio.c (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-02-23 23:12:42 +00:00
Eli Zaretskii
9d95a29182 (globals_of_w32): Add initializations for g_b_init_get_sid_sub_authority and
g_b_init_get_sid_sub_authority_count.
2008-02-23 13:38:12 +00:00
Stefan Monnier
77100b2aca *** empty log message *** 2008-02-22 19:04:20 +00:00
Stefan Monnier
43a1d19b39 (font_match_xlfd, font_check_xlfd_parse): New funs.
(font_parse_xlfd): Use them for sanity check.
(Finternal_set_font_style_table): Make sure the table is bijiective.
2008-02-22 19:04:03 +00:00
Stefan Monnier
6087292e62 Include termhooks.h to find the image_cache slot in terminal objects. 2008-02-22 17:45:11 +00:00
Stefan Monnier
354884c46e Consolidate the image_cache to the terminal struct.
* termhooks.h (P_): Remove redundant def.
(struct terminal): New field `image_cache'.
* frame.h (FRAME_IMAGE_CACHE): New macro.  Use it everywhere in place
of FRAME_X_IMAGE_CACHE.
* xterm.h (struct x_display_info): Remove image_cache field.
(FRAME_X_IMAGE_CACHE): Remove.  Use FRAME_IMAGE_CACHE instead.
* w32term.h (struct w32_display_info): Remove image_cache field.
(FRAME_X_IMAGE_CACHE): Remove.  Use FRAME_IMAGE_CACHE instead.
* macterm.h (struct mac_display_info): Remove image_cache field.
(FRAME_X_IMAGE_CACHE): Remove.  Use FRAME_IMAGE_CACHE instead.
* xterm.c (x_term_init):
* w32term.c (w32_term_init):
* macterm.c (mac_term_init): Set the image_cache in the terminal.
* dispextern.h (clear_image_cache, forall_images_in_image_cache):
Remove declarations.
(clear_image_caches, mark_image_cache): New declarations.
* xfaces.c (clear_face_cache):
* xdisp.c (redisplay_internal): Use clear_image_caches.
* image.c (clear_image_cache): Don't check that a frame is on
a window-system before checking if it shares the same cache.
(clear_image_caches): New function.
(Fclear_image_cache): Use it.
(mark_image): Move from allo.c.
(mark_image_cache): Move from alloc.c and forall_images_in_image_cache.
* alloc.c (mark_image, mark_image_cache): Move to image.c.
(mark_object): Don't call mark_image_cache for frames.
(mark_terminals): Call mark_image_cache.
2008-02-22 17:42:09 +00:00
Stefan Monnier
c2e426903c (Fdelete_terminal): Declare. 2008-02-22 17:27:17 +00:00
Stefan Monnier
43d1af2331 (CHECK_CHARSET, CHECK_CHARSET_GET_ID, CHECK_CHARSET_GET_ATTR):
Don't use the inexistent return value of wrong_type_argument.
2008-02-22 17:24:05 +00:00
Juanma Barranquero
4a4bdfc7a6 *** empty log message *** 2008-02-22 02:56:58 +00:00
Kenichi Handa
cc8d131137 (lisp): Remove devanagari.el, kannada.el,
malayalam.el, and tamil.el.   Add sinhala.el.
2008-02-22 01:41:58 +00:00
Stefan Monnier
6bd9264021 (x_connection_closed): Consolidate identical tests.
(x_delete_terminal): Don't crash if called via x_connection_closed.
2008-02-21 16:51:07 +00:00
Glenn Morris
424c157fc5 Fix typos. 2008-02-21 07:57:06 +00:00
Glenn Morris
b3af4b2893 Fix comment typo. 2008-02-21 07:56:06 +00:00
Glenn Morris
51bb97e85e Fix typos. 2008-02-21 07:55:42 +00:00
Glenn Morris
ca101cff6c Fix comment typo. 2008-02-21 07:55:04 +00:00
Kenichi Handa
c67174d397 (display_mode_element): Fix previous change. 2008-02-21 07:42:52 +00:00
Kenichi Handa
a73b562753 (decode_mode_spec): New arg string.
(display_mode_element): Adjusted for the above change.
2008-02-21 07:06:33 +00:00
Stefan Monnier
1b51154227 (Fcall_interactively): Use AREF. 2008-02-19 04:03:01 +00:00
Stefan Monnier
81aefea466 (font_unparse_xlfd): Don't ignore integer pixel size specs. 2008-02-18 18:38:49 +00:00
Jan Djärv
2d7117fe05 (Fx_show_tip): Set string to " " if empty. 2008-02-18 08:08:32 +00:00
Juanma Barranquero
5b09339783 *** empty log message *** 2008-02-17 21:56:39 +00:00
Dan Nicolaescu
a2b84f35b3 * simple.el (transient-mark-mode): Add an :init-value.
* startup.el (command-line): Use custom-reevaluate-setting for
transient-mark-mode.

* callint.c (syms_of_callint): Initialize Vmark_even_if_inactive
with Qt.
2008-02-17 16:57:44 +00:00
Kenichi Handa
43c0454d44 Include xterm.h.
[HAVE_NTGUI]: Include w32term.h.
[MAC_OS]: Include macterm.ch.
(font_otf_ValueRecord): Use make_number.
(font_finish_cache): Fix handling of reference count.
(font_clear_cache): Update num_fonts.
(font_open_entity): Update smallest_char_width and
smallest_font_height of the frame.
(font_close_object): Update num_fonts.
(Fclear_font_cache): Fix finding the target cache data.
2008-02-17 02:05:08 +00:00
Kenichi Handa
9459b1e901 (FONTSET_OBJLIST): New macro.
(fontset_find_font): Update font-object list of the fontset.
(free_realized_fontset): New function.
(free_face_fontset): Call free_realized_fontset.
(Ffont_info): Call font_close_object only when enable_font_backend
is set.
2008-02-17 02:03:44 +00:00
Kenichi Handa
3370d9f5b3 (xftfont_default_fid): Delete it.
(xftfont_open): Set xfont->fid to 0.
2008-02-17 02:03:32 +00:00
Kenichi Handa
559474f12d (ftxfont_default_fid): Delete it.
(ftxfont_open): Set xfont->fid to 0.
(ftxfont_end_for_frame): Clear data specifi to the frame and the
font-driver.
2008-02-17 02:03:19 +00:00
Kenichi Handa
d45fefc73c (xfont_draw): Use BLOCK_INPUT and UNBLOCK_INPUT. 2008-02-17 02:03:07 +00:00
Kenichi Handa
1c5c216ba9 (x_set_cursor_gc): Use display_info->font->fid for GCs.
(x_set_mouse_face_gc, x_new_font): Likewise.
(x_term_init): Setup display_info->font.
(x_delete_terminal): Free display_info->font.
2008-02-17 02:02:54 +00:00
Kenichi Handa
08c447f96e * xterm.h (struct x_display_info): New member font. 2008-02-17 02:02:33 +00:00
Kenichi Handa
74170e3879 (x_make_gc): Use the default font id of the frame for
GCs.
2008-02-17 02:01:59 +00:00
Kenichi Handa
9c9f2e85eb (handle_composition_prop): Set it->c to the fist
characte of the composed region.
(fill_composite_glyph_string): Set base_face->font_info to
s->font_info.  Get a face for ascii from base_face->ascii_face.
(BUILD_COMPOSITE_GLYPH_STRING): Call fill_composite_glyph_string
with a face already decided.
(x_produce_glyphs): Be sure to set it->ascent and it->descent to
non-negative.
(x_produce_glyphs): If the composition method is
..._WITH_GLYPH_STRING, call font_prepare_composition
unconditionally.
2008-02-17 02:01:43 +00:00
Kenichi Handa
19d4ac9360 (prepare_face_for_display): Use display_info->font->fid
for GCs.
(Finternal_set_font_selection_order): Call font_update_sort_order
only when enable_font_backend is set.
(realize_x_face): Set face->font_info to that of default face only
when enable_font_backend is set.
2008-02-17 02:01:26 +00:00
Glenn Morris
be61736756 (Finternal_char_font): Fix compilation warning. 2008-02-16 22:33:01 +00:00
Eli Zaretskii
634d3003f7 (init_user_info): Use TOKEN_USER and TOKEN_PRIMARY_GROUP instead of
char arrays.  Enlarge the size of array passed to get_token_information.
2008-02-16 17:05:24 +00:00
Eli Zaretskii
2930d11791 (Ffont_fill_gstring, Fget_font_glyphs): Fix compilation warnings. 2008-02-16 14:51:05 +00:00
Kenichi Handa
4cc1c8060a (ftfont_shape): Return Lispy number. 2008-02-16 12:40:42 +00:00
Dan Nicolaescu
792140469d Don't set `args', it breaks gdb --args. 2008-02-15 22:42:02 +00:00
Stefan Monnier
7f5d2c7241 (Finsert_file_contents): Adjust offsets when replacing
within a narrowed buffer.
2008-02-14 19:41:43 +00:00
Juanma Barranquero
b270d6afc0 *** empty log message *** 2008-02-14 12:35:01 +00:00
Kenichi Handa
b3bfad50d9 (decode_coding_object, encode_coding_object): Preserve
Vdeactivate_mark.  Delete unnecessary call of Fcurrnet_buffer.
2008-02-14 12:24:15 +00:00
Kenichi Handa
6edacc4375 *** empty log message *** 2008-02-14 12:21:58 +00:00
Juanma Barranquero
04e05596eb Use AREF, not ASLOT. 2008-02-14 01:05:46 +00:00
Stefan Monnier
915b2a6aa8 Undo last mistakenly commited change. 2008-02-13 22:39:30 +00:00
Stefan Monnier
02dfeba8a4 (smerge-auto-combine-max-separation): New var.
(smerge-auto-combine): New fun.
2008-02-13 15:10:57 +00:00
Stefan Monnier
13818c3078 * coding.c (coding_set_destination): Use BEG_BYTE rather than hardcoding 1.
(detect_coding_system):
* lisp.h (detect_coding_system, chars_in_text, multibyte_chars_in_text)
(string_char_to_byte, string_byte_to_char, insert_from_gap):
* insdel.c (insert_from_gap):
* fns.c (string_char_byte_cache_charpos, string_char_byte_cache_bytepos)
(string_char_to_byte, string_byte_to_char, string_make_multibyte)
(string_to_multibyte):
* character.c (chars_in_text, multibyte_chars_in_text):
* fileio.c (Finsert_file_contents): Use EMACS_INT for buffer positions.
2008-02-12 21:35:15 +00:00