Kenichi Handa
550826426f
(ftfont_match): Explicitly set pixelsize in pattern.
2008-02-28 12:54:46 +00:00
Kenichi Handa
ee548a94a0
(handle_auto_composed_prop): Don't make composition if it->string
...
is a string.
2008-02-28 05:46:27 +00:00
Kenichi Handa
ec1c43540c
(display_mode_element): Cancel the previous change.
...
(decode_mode_spec): Likewise.
2008-02-28 02:57:50 +00:00
Kim F. Storm
a6fa701eb1
(get_next_display_element, next_element_from_display_vector):
...
Adapt to new glyph type and new glyph code encoding.
2008-02-27 22:52:56 +00:00
Kim F. Storm
f4d953fcbc
(encode_terminal_code, produce_special_glyphs): Likewise.
2008-02-27 22:49:29 +00:00
Kim F. Storm
a08b9f3d71
(IT_write_glyphs): Adapt to new glyph type.
2008-02-27 22:49:21 +00:00
Kim F. Storm
ec9ed378f4
(GLYPH): Change type from int to struct with separate char
...
and face_id members.
(GLYPH_MASK_FACE, GLYPH_MASK_CHAR): Delete macros.
(GLYPH_CHAR, GLYPH_FACE): Remove slow versions with frame arg.
(FAST_GLYPH_CHAR, FAST_GLYPH_FACE): Rename macros to ...
(GLYPH_CHAR, GLYPH_FACE): ... these. Change users.
(FAST_MAKE_GLYPH, MAKE_GLYPH): Remove. Rewrite users to use ...
(SET_GLYPH, SET_GLYPH_CHAR, SET_GLYPH_FACE): ... these macros instead.
(GLYPH_CODE_CHAR, GLYPH_CODE_FACE, GLYPH_CODE_P)
(GLYPH_CODE_CHAR_VALID_P, SET_GLYPH_FROM_GLYPH_CODE): New macros to
handle new Lisp glyph code encoding, either an integer or a cons.
2008-02-27 22:49:15 +00:00
Kim F. Storm
f59836fede
(current_column, current_column_1, Fmove_to_column)
...
(compute_motion): Adapt to new glyph code encoding.
2008-02-27 22:49:07 +00:00
Kim F. Storm
ea92fc1a43
(GLYPH_SIMPLE_P): Rewrite.
...
(GLYPH_ALIAS): Delete.
(GLYPH_ALIAS_P, GLYPH_FOLLOW_ALIASES): Rewrite.
(GLYPH_LENGTH, GLYPH_STRING): Use GLYPH_CHAR.
(GLYPH_FROM_CHAR): Replace macro by ...
(SET_GLYPH_FROM_CHAR): ... this macro. Change users.
2008-02-27 22:48:58 +00:00
Kim F. Storm
3fc809e2a2
(line_draw_cost): Adapt to new glyph type.
...
(build_frame_matrix_from_leaf_window): Adapt to new glyph type and
new glyph code encoding.
(spec_glyph_lookup_face): No return value; update passed glyph instead.
(init_display): Use SET_CHAR_GLYPH to initialize space_glyph.
2008-02-27 22:48:52 +00:00
Kim F. Storm
652df850a1
(CHAR_GLYPH_SPACE_P): Simplify.
...
(GLYPH_FROM_CHAR_GLYPH): Replace macro by ...
(SET_GLYPH_FROM_CHAR_GLYPH): ... this macro. Change users.
(GLYPH_INVALID_P): New macro.
(spec_glyph_lookup_face): Update prototype.
2008-02-27 22:48:44 +00:00
Kim F. Storm
b6d898a205
*** empty log message ***
2008-02-27 22:47:49 +00:00
Chong Yidong
70bb1e5f2a
(wait_reading_process_output): Check for window changes caused by timers.
...
Suggested by Johan Bockgård.
2008-02-27 15:09:04 +00:00
Chong Yidong
af2080a243
* process.c (wait_reading_process_output): Check for window
...
changes caused by timers.
Suggested by Johan Bockgård.
2008-02-27 15:08:55 +00:00
Glenn Morris
253ed25e06
(USAGE1): Add `--disable-font-backend'.
2008-02-27 04:59:01 +00:00
Stefan Monnier
18a9f8d9bc
(Finsert_file_contents): Don't reset undo_list if no change
...
is made to the buffer.
2008-02-27 04:10:15 +00:00
Stefan Monnier
0f8b27ea24
* dispextern.h (face_at_buffer_position, face_for_overlay_string)
...
(face_at_string_position):
* xfaces.c (face_at_buffer_position, face_for_overlay_string)
(face_at_string_position):
* xdisp.c (display_string, next_overlay_change):
* buffer.h (overlays_at):
* buffer.c (overlays_at): Use EMACS_INT for buffer positions.
Update callers.
2008-02-26 18:18:05 +00:00
Chong Yidong
575b782f82
(Fformat): Doc fix.
2008-02-26 16:36:52 +00:00
Chong Yidong
4e7c53cad8
* editfns.c (Fformat): Doc fix.
2008-02-26 16:36:46 +00:00
Juanma Barranquero
51c0110044
(Ffont_spec, Ffont_at): Fix typos in docstrings.
...
(Ffont_put, Flist_families, Ffont_fill_gstring, Ffont_drive_otf,
Ffont_otf_alternates, Fquery_font): Doc fixes.
2008-02-26 16:25:25 +00:00
Stefan Monnier
060451300d
*** empty log message ***
2008-02-26 01:43:54 +00:00
Stefan Monnier
13cda5f9e5
(Fbuffer_swap_text): New function.
...
(syms_of_buffer): Defsubr it.
2008-02-25 19:09:22 +00:00
Chong Yidong
6a8128efce
(command_loop_1): Revert 2006-10-09 change.
2008-02-25 16:06:08 +00:00
Chong Yidong
8018d4304b
* keyboard.c (command_loop_1): Revert 2006-10-09 change.
2008-02-25 16:06:01 +00:00
Kenichi Handa
58bdf35535
(x_produce_glyphs): For a visible glyph, assure at least
...
1-pixel width.
2008-02-25 10:41:51 +00:00
Jason Rumney
9bde1a21ac
*** empty log message ***
2008-02-25 09:08:52 +00:00
Jason Rumney
8501c48b40
(w32font_draw): Draw one character at a time when padding.
2008-02-25 08:35:40 +00:00
Stefan Monnier
eeca6f6f4e
(Fdelete_window, Fadjust_window_trailing_edge):
...
Handle a nil arg. Use run_window_configuration_change_hook.
(delete_window, adjust_window_trailing_edge): Don't handle nil any more.
(Fenlarge_window, Fshrink_window, Fset_window_configuration):
Use run_window_configuration_change_hook.
2008-02-25 02:27:32 +00:00
Kenichi Handa
ae18545207
(struct glyph_string): New member padding_p.
2008-02-25 01:52:35 +00:00
Kenichi Handa
de63f07f81
(w32font_draw): Pay attention to s->padding_p.
2008-02-25 01:46:30 +00:00
Kenichi Handa
b9c2785e9f
(ftxfont_draw): Pay attention to s->padding_p.
2008-02-25 01:45:47 +00:00
Kenichi Handa
298fd5b188
(xfont_draw): Pay attention to s->padding_p.
2008-02-25 01:44:26 +00:00
Kenichi Handa
785543daa7
(xftfont_draw): Pay attention to s->padding_p.
2008-02-25 01:43:55 +00:00
Kenichi Handa
b876ea9155
If the font driver doesn't have `shape' function, return Qnil.
2008-02-25 01:43:02 +00:00
Miles Bader
ffe832ea68
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1081
2008-02-25 00:21:57 +00:00
Jason Rumney
59c6b61cda
(enum_font_cb2): Don't use raster fonts for Unicode.
2008-02-24 22:04:07 +00:00
Dan Nicolaescu
9d2818d676
* configure.in: Remove references to obsolete variables and
...
systems.
* configure: Regenerate.
* Makefile.in (NO_SHORTNAMES):
* emacsclient.c (NO_SHORTNAMES):
* fakemail.c (NO_SHORTNAMES):
* make-docfile.c (NO_SHORTNAMES):
* movemail.c (NO_SHORTNAMES):
* pop.c (NO_SHORTNAMES): Remove references to obsolete variable.
* config.nt (SHORTNAMES): Remove reference to obsolete variable.
* s/vms4-0.h:
* s/vms4-2.h:
* s/vms4-4.h:
* s/vms5-5.h: Remove, unused.
* s/irix5-2.h:
* s/irix6-0.h:
* s/riscos5.h:
* s/mach-bsd4-3.h:
* m/mips4.h: Remove files for obsolete systems
* Makefile.in:
* filelock.c:
* unexmips.c:
* m/hp9000s300.h:
* m/iris4d.h:
* s/aix3-1.h:
* s/hpux.h:
* s/msdos.h:
* s/usg5-0.h:
* s/usg5-2-2.h:
* s/usg5-2.h:
* s/usg5-3.h: Remove references to obsolete variables.
* s/irix5-0.h: Remove, move all the contents ...
* s/irix6-5.h: ... here. Simplify.
* config.in: Regenerate.
2008-02-24 18:53:07 +00:00
Jason Rumney
2face66975
(x_draw_glyph_string_background): Clear the background
...
manually when cleartype is in use.
(x_draw_glyph_string_foreground): Draw text transparently when
cleartype is in use.
2008-02-24 15:45:28 +00:00
Jason Rumney
2a36efcfc2
(w32font_text_extents): Avoid getting HDC and selecting
...
a font into it unless we have to.
2008-02-24 15:08:06 +00:00
Stefan Monnier
a2bc5bdd7d
Allow fine-grained image-cache flushing.
...
* dispextern.h (struct image): Add `dependencies' field.
(clear_image_caches): Change arg to Lisp_Object.
* image.c (make_image): Initialize `dependencies' field.
(clear_image_cache): Change arg to allow fine-grained flushing.
Perform the flush even if image-cache-eviction-delay is nil.
(clear_image_caches): Change arg to Lisp_Object.
(Fclear_image_cache): Expand meaning of the argument.
(mark_image): Mark `dependencies' field.
* xfaces.c (clear_face_cache): Adapt arg to call to clear_image_caches.
(lface_hash): Use XHASH rather than XFASTINT.
(face_at_buffer_position): Fix int -> EMACS_INT position.
* xdisp.c (next_overlay_change): Fix int -> EMACS_INT position.
(select_frame_for_redisplay): Remove code duplication.
(redisplay_internal): Adapt arg to call to clear_image_caches.
2008-02-24 13:36:39 +00:00
Miles Bader
b03f96dc5a
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1074
2008-02-24 10:09:07 +00:00
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
57b8e96ad5
(x_set_offset): Don't change the gravity if CHANGE_GRAVITY is -1.
2008-02-24 01:04:51 +00:00
Chong Yidong
41cac0d7e8
* xterm.c (x_set_offset): Don't change the gravity if
...
CHANGE_GRAVITY is -1.
2008-02-24 01:04:34 +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