Eli Zaretskii
18a2979dce
Fix spelling and wording of comments.
2008-09-06 09:57:15 +00:00
Eli Zaretskii
dda8632194
(single_menu_item) [!HAVE_BOXES]: Enable emulation of toggle boxes and
...
radio buttons on MS-DOS as well.
2008-09-05 14:42:05 +00:00
Kenichi Handa
90b3fe9125
(autocmp_chars): Check lookback count.
...
(composition_compute_stop_pos): Set cmp_it->lookback.
(composition_reseat_it): Check lookback count.
(struct position_record): New struct.
(FORWARD_CHAR, BACKWARD_CHAR, CHAR_COMPOSABLE_P): New macros.
(find_automatic_composition): New function.
(composition_adjust_point): Use find_automatic_composition.
2008-09-05 00:47:23 +00:00
Kenichi Handa
cbf21103d9
(struct composition_it): New member lookback.
2008-09-05 00:40:53 +00:00
Chong Yidong
d8a7e7fc77
(Fvertical_motion): Don't call move_it_by_lines again if moving by a
...
single line.
2008-09-02 17:28:59 +00:00
Chong Yidong
efa09d5d1f
* indent.c (Fvertical_motion): Don't call move_it_by_lines again
...
if moving by a single line.
2008-09-02 17:28:47 +00:00
Andreas Schwab
afed25840b
(x_delete_display): Fix merge error.
2008-09-02 11:45:08 +00:00
Andreas Schwab
7a3cddefca
(Fexpand_file_name): Remove unused variables.
2008-09-02 08:13:20 +00:00
Miles Bader
9850eff524
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1398
2008-09-02 05:35:54 +00:00
Chong Yidong
a77d5bb2eb
(Finternal_set_alternative_font_family_alist)
...
(Finternal_set_alternative_font_registry_alist): Properly copy entire
alist structure.
2008-09-01 19:46:16 +00:00
Chong Yidong
d7642a183f
* xfaces.c (Finternal_set_alternative_font_family_alist)
...
(Finternal_set_alternative_font_registry_alist): Properly copy
entire alist structure.
2008-09-01 19:45:11 +00:00
Kenichi Handa
fc41e69bef
*** empty log message ***
2008-09-01 05:36:13 +00:00
Kenichi Handa
fdcb19cafd
(LGLYPH_SET_CODE): Add comment.
2008-09-01 05:15:58 +00:00
Kenichi Handa
7c4bd58d24
(ftfont_spec_pattern): Don't create a charset of the
...
representative chars of the script is a vector.
(ftfont_list): Handle the case the representative chars of the
script is a vector.
2008-09-01 02:46:23 +00:00
Kenichi Handa
c3bb7671de
(syms_of_character): Docstring of script-representative-chars fixed.
2008-09-01 02:44:56 +00:00
Eli Zaretskii
e52ab6c932
(BUILD_CHAR_GLYPH): New macro.
...
(IT_menu_display): Use it instead of SET_CHAR_GLYPH to construct the menu.
2008-08-31 19:41:40 +00:00
Juanma Barranquero
87e204a263
Fix typos.
2008-08-31 14:07:35 +00:00
Martin Rudalics
cc12456a64
*** empty log message ***
2008-08-31 10:12:04 +00:00
Martin Rudalics
23dc7615cd
(prepare_menu_bars): Don't call
...
Vwindow_size_change_functions with arg Qt.
2008-08-31 08:27:25 +00:00
Glenn Morris
e313914472
*** empty log message ***
2008-08-31 02:08:24 +00:00
Stefan Monnier
c7c7a80c12
* font.h (font_range):
...
* fileio.c (report_file_error):
* composite.c (composition_update_it): Yet another int/Lisp_Oject mixup.
2008-08-31 00:56:58 +00:00
Glenn Morris
a02a138445
(Fmake_variable_frame_local): Doc fix.
2008-08-30 22:50:35 +00:00
Glenn Morris
ab795c6598
Comment.
2008-08-30 22:36:59 +00:00
Glenn Morris
7f02dd2cf6
(Fmodify_frame_parameters): Doc fix.
2008-08-30 22:34:03 +00:00
Glenn Morris
af3e2be64a
*** empty log message ***
2008-08-30 22:33:20 +00:00
Glenn Morris
cf36572dc6
(Fmodify_frame_parameters): Doc fix.
2008-08-30 22:32:45 +00:00
Eli Zaretskii
32cef06edd
(init_user_info): Allocate buf[] with xmalloc using the size needed by
...
GetTokenInformation.
(w32_system_process_attributes): Check return values of all system APIs.
2008-08-30 16:46:54 +00:00
Eli Zaretskii
7ccd1dafc2
(IT_update_begin, IT_update_end): Add termscript trace.
2008-08-30 13:20:17 +00:00
Eli Zaretskii
b04021eb2a
(IT_display_cursor): Write "CURSOR ON/OFF" to termscript only when
...
the state changes.
2008-08-30 13:06:15 +00:00
Eli Zaretskii
1b912a3b4e
(Fw16_set_clipboard_data): Don't encode text if clipboard is unavailable.
...
Set dst to NULL if it doesn't point to malloc'ed data.
(Fw16_get_clipboard_data): Initialize htext to NULL, to avoid passing random
values to xfree.
2008-08-30 12:32:59 +00:00
Eli Zaretskii
657ceaa03e
(init_display): Set `tty's association in frame's parameters alist to the name
...
of the terminal device, if that is known.
2008-08-30 12:15:06 +00:00
Eli Zaretskii
70d7ae36dd
(stat): Only root directory passed to GetDriveType. Allow RAM disk as well
...
as local fixed disk when w32-get-true-file-attributes is set to `local'.
2008-08-30 10:55:45 +00:00
YAMAMOTO Mitsuharu
4c7f3f6818
[USE_ATSUI] (mac_draw_image_string_atsui) [MAC_OS_X]: Fix last change.
...
[USE_CG_TEXT_DRAWING] (mac_draw_image_string_cg): Likewise.
2008-08-30 08:38:14 +00:00
YAMAMOTO Mitsuharu
b16c969bca
[USE_ATSUI] (mac_draw_image_string_atsui) [MAC_OS_X]: Fix coordinate flipping.
...
[USE_CG_TEXT_DRAWING] (mac_draw_image_string_cg): Likewise.
2008-08-30 08:08:11 +00:00
YAMAMOTO Mitsuharu
c374819b6b
[USE_CG_DRAWING] (mac_draw_cg_image): Fix coordinate flipping.
2008-08-30 04:55:17 +00:00
Jason Rumney
595f18706c
(uniscribe_check_otf): Don't fallback on DFLT script.
2008-08-29 18:13:10 +00:00
Eli Zaretskii
565f0b98c2
(Fexpand_file_name): Copy argument `name' into local storage on all platforms,
...
not just on DOS_NT.
2008-08-29 10:08:26 +00:00
Eli Zaretskii
77fa4db298
(fill_gstring_body): Avoid compiler warnings.
2008-08-29 09:55:32 +00:00
Eli Zaretskii
f62ab7c582
(font_fill_lglyph_metrics): Use EMACS_INT in LGLYPH_SET_CODE to avoid
...
compiler warnings.
2008-08-29 09:54:05 +00:00
Eli Zaretskii
398241376c
(report_file_error): Clarify the case of slash defeating downcasing.
2008-08-29 09:27:26 +00:00
Eli Zaretskii
4bf84f7d73
(uniscribe_shape): Shut up compiler warning in LGLYPH_SET_CODE.
2008-08-29 08:41:52 +00:00
Eli Zaretskii
19ac20343f
(LGLYPH_SET_CODE): Cast `val' to EMACS_INT.
2008-08-29 08:40:01 +00:00
Eli Zaretskii
091a66d2b8
($(BLD)/w32uniscribe.$(O)): Depend on composite.h
2008-08-29 08:39:35 +00:00
YAMAMOTO Mitsuharu
fa79be7e04
(Fmac_resume_apple_event): Distribute cast to pointer
...
over conditional branches.
2008-08-29 08:18:41 +00:00
YAMAMOTO Mitsuharu
82f9c4e86e
[HAVE_DIALOGS] (mac_dialog_show): Cast to pointer-size
...
integer before casting to pointer.
2008-08-29 08:18:22 +00:00
YAMAMOTO Mitsuharu
3576897ae4
(mac_system_script_code): Use EMACS_INT for DEFVAR_INT variable.
...
[MAC_OSX] (mac_try_close_socket, sys_select) [SELECT_USE_CFSOCKET]:
Cast to pointer-size integer before casting to pointer.
2008-08-29 08:18:07 +00:00
Kenichi Handa
d5443ffda0
(report_file_error): Don't downcase the first character
...
of errstring if it is still unibyte.
2008-08-29 08:04:38 +00:00
Kenichi Handa
94baaf4f7c
*** empty log message ***
2008-08-29 08:02:19 +00:00
Kenichi Handa
24553805cb
(x_draw_composite_glyph_string_foreground): Adjusted for
...
the change of struct glyph_string.
(x_draw_glyph_string): Likewise.
2008-08-29 07:58:40 +00:00
Kenichi Handa
4eceb6f3b7
Include font.h.
...
(it_props): Delete the entry for Qauto_composed.
(init_iterator): Initialize it->cmp_it.id to -1.
(compute_stop_pos): Call composition_compute_stop_pos.
(face_before_or_after_it_pos): Adjusted for the change of struct
it.
(handle_auto_composed_prop): Delete it.
(handle_composition_prop): Handle only static composition.
(next_overlay_string): Remove it->method == GET_FROM_COMPOSITION
from xassert. Initialize it->cmp_it.stop_pos.
(push_it): Adjusted for the change of struct it.
(pop_it): Likewise.
(get_next_element): Delete next_element_from_composition.
(CHAR_COMPOSED_P): New macro.
(get_next_display_element): For automatic composition, get a face
from the font in the glyph-string.
(set_iterator_to_next): For GET_FROM_BUFFER and GET_FROM_STRING,
check composition by it->cmp_it.id. Delete GET_FROM_COMPOSITION
case.
(next_element_from_string): Check if the character at the current
position is composed by CHAR_COMPOSED_P.
(next_element_from_buffer): Likewise.
(next_element_from_composition): Adjusted for the change of struct
it. Update it->cmp_it.
(dump_glyph): Adjusted for the change of struct glyph.
(fill_composite_glyph_string): Adjusted for the change of struct
it and struct glyph. Don't handle automatic composition here.
(fill_gstring_glyph_string): New function.
(x_get_glyph_overhangs): Handle automatic composition.
(BUILD_COMPOSITE_GLYPH_STRING): Adjusted for the change of struct
glyph.
(BUILD_GSTRING_GLYPH_STRING): New macro.
(BUILD_GLYPH_STRINGS): Call BUILD_GSTRING_GLYPH_STRING for
automatic composition.
(append_composite_glyph): Adjusted for the change of struct it and
struct glyph.
(x_produce_glyphs): Adjusted for the change of struct it.
2008-08-29 07:58:08 +00:00