David Reitter
5404d04f81
convert_ns_to_X_keysym: define function keys f16 through f24.
2009-04-30 16:52:19 +00:00
David Reitter
4491c9d27b
*** empty log message ***
2009-04-30 16:51:50 +00:00
Kenichi Handa
7d72bb827d
(fontset_find_font): Check if rfont_def is Qnil or not.
2009-04-30 07:01:33 +00:00
Chong Yidong
6970f632f1
* xfaces.c (face_at_buffer_position): New arg base_face_id.
...
* xdisp.c (handle_face_prop): Pass base_face_id of iterator to
face_at_buffer_position.
(face_before_or_after_it_pos, get_next_display_element)
(note_mouse_highlight): Update face_at_buffer_position call.
* term.c (term_mouse_highlight):
* msdos.c (IT_note_mouse_highlight):
* fontset.c (Finternal_char_font):
* font.c (font_at, font_range): Update face_at_buffer_position
call.
* dispextern.h (face_at_buffer_position): Update prototype.
2009-04-30 05:01:57 +00:00
Kenichi Handa
0c616f6342
*** empty log message ***
2009-04-30 04:53:57 +00:00
Kenichi Handa
0ff75233c7
(fontset_find_font): Check if rfont_def is Qnil or not.
2009-04-30 04:41:39 +00:00
Andreas Schwab
ad3aaf330a
(Fcall_process): Fix GC protection. Make sure
...
current buffer is always restored.
2009-04-29 19:55:49 +00:00
Kenichi Handa
9c358bdab1
*** empty log message ***
2009-04-29 08:52:37 +00:00
YAMAMOTO Mitsuharu
7e3386cbfd
(create_process): Clean up merger residues of 2008-07-17 change.
2009-04-29 05:15:47 +00:00
YAMAMOTO Mitsuharu
c3c963a026
(init_keyboard) [POLL_FOR_INPUT]: Reset poll_timer.
2009-04-29 03:48:58 +00:00
YAMAMOTO Mitsuharu
bcdf96ba42
(init_atimer): Also clear stopped_atimers.
2009-04-29 03:48:38 +00:00
Chong Yidong
91f68422d6
* files.el (hack-local-variables-prop-line)
...
(hack-local-variables, dir-locals-read-from-file): Bind
read-circle to nil before reading.
* lread.c (Vread_circle): New variable.
(read1): Disable recursive read if Vread_circle is nil.
2009-04-29 03:02:54 +00:00
Kenichi Handa
ee87c54998
(set_default_ascii_font): Delete extern.
2009-04-29 01:42:51 +00:00
Kenichi Handa
24b345504c
(set_default_ascii_font): Delete this unused function.
2009-04-29 01:42:13 +00:00
Kenichi Handa
518c488187
(x_set_font): When ARG is a font-object, check if the
...
font-object matches with the ASCII font-spec of the frame's
fontset. If not, create a new fontset for the frame.
2009-04-29 01:40:57 +00:00
Andreas Schwab
77bf07e14e
* fns.c (Flocale_info): Protect vector from GC during decoding.
...
* process.c (Fstart_process): Protect argv strings from GC during
encoding.
2009-04-28 19:02:26 +00:00
Andreas Schwab
2c55aacfb6
* sysdep.c: Include <ctype.h>.
2009-04-27 22:27:55 +00:00
David Reitter
7fa87f63b4
nsfont.m (nsfont_open): remove unused variable shrink. Remove commented-out code.
2009-04-27 21:21:31 +00:00
David Reitter
b892d3c9b2
*** empty log message ***
2009-04-27 21:20:55 +00:00
Johan Bockgård
9d0644c40f
(syms_of_keyboard) <input-decode-map>: Doc fix.
2009-04-26 20:55:30 +00:00
Jason Rumney
b7053016e4
(clear_cached_metrics): Remove, unused since 2008-08-02.
2009-04-25 06:11:46 +00:00
YAMAMOTO Mitsuharu
4e8231f3a1
(init_fringe_bitmap) [HAVE_X_WINDOWS && WORDS_BIG_ENDIAN]:
...
Swap bytes in short integer if fringe bitmap width > 8.
2009-04-25 00:26:34 +00:00
Juanma Barranquero
b71ac3dd2a
Fix typos.
2009-04-24 00:57:34 +00:00
Kenichi Handa
493dcf2c9b
(Fx_list_fonts): If a font size is specified in PATTERN, set it in
...
returned scalable fonts.
2009-04-23 01:34:15 +00:00
Chong Yidong
708e05dc7a
* keyboard.c (Fset_input_meta_mode): Doc fix.
...
* dispnew.c (Fsend_string_to_terminal): Doc fix.
* data.c (Fterminal_local_value, Fset_terminal_local_value): Doc
fixes.
* coding.c (Fterminal_coding_system): Doc fix.
* xfns.c (Fx_display_grayscale_p, Fx_display_pixel_width)
(Fx_display_pixel_height, Fx_display_planes)
(Fx_display_color_cells, Fx_server_max_request_size)
(Fx_server_vendor, Fx_server_version, Fx_display_screens)
(Fx_display_mm_height, Fx_display_mm_width)
(Fx_display_backing_store, Fx_display_visual_class)
(Fx_display_save_under, Fx_close_connection, Fx_synchronize): Doc
fixes, replacing "terminal id" with "terminal object".
(check_x_display_info): Handle terminal objects instead of
terminal ids.
2009-04-22 04:32:21 +00:00
Chong Yidong
fdc496e7d1
* term.c (Vsuspend_tty_functions, Vresume_tty_functions): Doc fixes,
...
replacing "terminal id" with "terminal object".
2009-04-22 03:51:25 +00:00
Chong Yidong
401e9e5757
* term.c (Ftty_display_color_p, Ftty_display_color_cells)
...
(Ftty_type, Fcontrolling_tty_p, Ftty_no_underline, Fsuspend_tty)
(Fresume_tty): Doc fixes, replacing "terminal id" with "terminal
object".
2009-04-22 03:43:06 +00:00
Chong Yidong
e0c3684aca
Minor comment fix.
2009-04-22 03:37:30 +00:00
Juanma Barranquero
5a8f12af67
Add bug reference.
2009-04-21 12:03:46 +00:00
Kenichi Handa
c0a6070d60
(font_score): Check AVGWIDTH too.
2009-04-21 07:30:00 +00:00
Kenichi Handa
908567efed
(font_load_for_lface): Cancel previous change.
2009-04-21 06:46:39 +00:00
Kenichi Handa
df80c7f014
(decode_coding_utf_16): Reduce charbuf_end for the
...
worst case.
(decode_coding_emacs_mule, decode_coding_iso_2022)
(decode_coding_sjis, decode_coding_big5, decode_coding_charset):
Likewise.
2009-04-21 06:36:21 +00:00
Jason Rumney
705af33f7e
The following changes fix Bug#3005 for wide glyphs on each platform,
...
without reintroducing Bug#1258 for stretch glyphs.
* xterm.c (x_draw_bar_cursor): Limit cursor width differently for
BAR_CURSOR and HBAR_CURSOR. Calculate width of HBAR_CURSOR using
get_phys_cursor_geometry.
* w32term.c (x_draw_bar_cursor): Limit cursor width differently
for BAR_CURSOR and HBAR_CURSOR. Calculate width of HBAR_CURSOR
using get_phys_cursor_geometry.
* nsterm.m (ns_draw_window_cursor): HBAR_CURSOR width already
correctly calculated.
2009-04-19 15:09:25 +00:00
Jan Djärv
dc2933ebde
Make Emacs compile when Gtk+ and -DGTK_DISABLE_DEPRECATED is used.
...
* gtkutil.c (xg_tool_bar_menu_proxy, update_frame_tool_bar): Use
G_CALLBACK instead of GTK_SIGNAL_FUNC which is deprecated.
(xg_initialize): Use g_type_class_ref instead of gtk_type_class which
is deprecated.
* configure.in (HAVE_GTK_FILE_SELECTION, HAVE_GTK_FILE_CHOOSER): Check
if it is declared in gtk.h.
2009-04-19 10:53:15 +00:00
Andreas Schwab
973e784949
(font_put_frame_data): Use xfree instead of free.
2009-04-18 13:29:59 +00:00
Juanma Barranquero
314d66f446
* w32font.c (Qja, Qko): Remove declarations.
...
(syms_of_w32font): Don't DEFSYM them.
2009-04-17 19:04:49 +00:00
Chong Yidong
cf70255861
* font.c (Qja, Qko): Move definitions here from ftfont.c.
...
* font.h (Qja, Qko): Extern them.
* ftfont.c (Qja, Qko): Remove declarations.
* xfont.c (Qja, Qko): Remove declarations.
2009-04-17 18:38:00 +00:00
Kenichi Handa
bde257485d
(Ftranslate_region_internal): Use Fconcat to make a
...
string from a vector to handle Latin-1 characters correctly.
2009-04-17 02:15:17 +00:00
Kenichi Handa
b50504f535
(ftfont_pattern_entity): Return a newly allocated
...
entity even if the cache hits.
2009-04-17 00:56:39 +00:00
Andreas Schwab
e7deaab0bc
* search.c: Use EMACS_INT for buffer positions. Add prototypes.
...
* lisp.h: Adjust prototypes.
2009-04-16 16:01:14 +00:00
Andreas Schwab
6340c70eb3
Add bug reference.
2009-04-16 09:32:26 +00:00
Andreas Schwab
f4646fffc2
(boyer_moore): Use zero as marker value for a possible
...
match instead of depending on overflow behavior.
2009-04-16 09:30:45 +00:00
Chong Yidong
0a0e7d4973
* keyboard.c (adjust_point_for_property): Disable 2009-02-12
...
change (Bug#3003).
2009-04-16 03:58:44 +00:00
Kenichi Handa
bd0af90dca
(xfont_has_char): Special handling of ja' and ko' adstyle.
2009-04-16 01:39:36 +00:00
Kenichi Handa
b840b299b9
(xftfont_has_char): Special handling of ja' and ko' adstyle.
2009-04-16 01:38:35 +00:00
Kenichi Handa
d778210526
(Qja, Qko): Don't make them static.
...
(enum ftfont_cache_for): New enum.
(fc_charset_table): Undo the previous change.
(ftfont_get_latin1_charset): Delete it.
(ftfont_pattern_entity): Check cache by ftfont_lookup_cache. Set
FONT_SIZE_INDEX of the entity to 0 for a scalable font. For a
non-scarable font, try to get AVERAGE_WIDTH.
(ftfont_lookup_cache): Argument FOR-FACE is changed to CACHE_FOR.
Change ft_face_cache from a list of a hash-table. Don't check
`ja' and `ko' adstyle here.
(ftfont_get_fc_charset): Call ftfont_lookup_cache with
FTFONT_CACHE_FOR_CHARET.
(ftfont_get_charset): Undo the previous change.
(ftfont_open): Call ftfont_lookup_cache with
FTFONT_CACHE_FOR_FACE.
(ftfont_close): Likewise.
(ftfont_has_char): Special handling of `ja' and `ko' adstyle.
2009-04-16 01:38:07 +00:00
Kenichi Handa
c9477f014b
(font_sort_entites): Change the meaning of the arg
...
BEST-ONLY. Don't optimize for VEC of lenght 1.
(font_select_entity): Just return the value of font_sort_entites.
2009-04-16 01:32:44 +00:00
Kenichi Handa
89dc9a8ed9
(merge_face_vectors): Reflect font properties in
...
to[LFACE_FONT_INDEX] to the other face attributes. Don't call
font_clear_prop if a face attribute doesn't change.
2009-04-16 01:08:24 +00:00
Kenichi Handa
3c908a5774
(charset_ksc5601): Extern it.
2009-04-16 01:05:10 +00:00
Kenichi Handa
d32320c43d
(charset_ksc5601): New variable.
...
(Fdefine_charset_internal): Set charset_ksc5601.
(init_charset_once): Initialize charset_ksc5601 to -1.
2009-04-16 01:04:27 +00:00