diff options
| author | Eli Zaretskii | 2008-10-18 18:07:37 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2008-10-18 18:07:37 +0000 |
| commit | e1fd62893b27f4a9a39853876a82de380982ee4a (patch) | |
| tree | 84fd62119d40420b992daa8ab899bf772a23dd54 /src | |
| parent | 250959e028deae837e25163cbf0854e119f55504 (diff) | |
| download | emacs-e1fd62893b27f4a9a39853876a82de380982ee4a.tar.gz emacs-e1fd62893b27f4a9a39853876a82de380982ee4a.zip | |
*** empty log message ***
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 31640 |
1 files changed, 15822 insertions, 15818 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 55e83089cd3..ebabb5cd152 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,15818 +1,15822 @@ | |||
| 1 | 2008-10-18 Martin Rudalics <rudalics@gmx.at> | 1 | 2008-10-18 Eli Zaretskii <eliz@gnu.org> |
| 2 | 2 | ||
| 3 | * window.c (Fwindow_width, Fset_window_start) | 3 | * fileio.c (Fset_file_modes): Doc fix. |
| 4 | (Fwindow_parameters, Fwindow_parameter, Fset_window_parameter) | 4 | |
| 5 | (Fdelete_windows_on, Freplace_buffer_in_windows): Make | 5 | 2008-10-18 Martin Rudalics <rudalics@gmx.at> |
| 6 | doc-strings follow code and Elisp manual more closely. | 6 | |
| 7 | (Fwindow_dedicated_p): Make window argument optional. | 7 | * window.c (Fwindow_width, Fset_window_start) |
| 8 | (Fset_window_dedicated_p): Rename argument "arg" to "flag". | 8 | (Fwindow_parameters, Fwindow_parameter, Fset_window_parameter) |
| 9 | (Fset_window_buffer): Respect any non-nil dedicated value for | 9 | (Fdelete_windows_on, Freplace_buffer_in_windows): Make |
| 10 | window. Rename "buffer" argument to "buffer_or_name". | 10 | doc-strings follow code and Elisp manual more closely. |
| 11 | 11 | (Fwindow_dedicated_p): Make window argument optional. | |
| 12 | 2008-10-18 Ulrich Mueller <ulm@gentoo.org> | 12 | (Fset_window_dedicated_p): Rename argument "arg" to "flag". |
| 13 | 13 | (Fset_window_buffer): Respect any non-nil dedicated value for | |
| 14 | * m/sh3.h: New file, machine description for SuperH. | 14 | window. Rename "buffer" argument to "buffer_or_name". |
| 15 | 15 | ||
| 16 | 2008-10-17 Martin Rudalics <rudalics@gmx.at> | 16 | 2008-10-18 Ulrich Mueller <ulm@gentoo.org> |
| 17 | 17 | ||
| 18 | * window.c (Fsplit_window): Rename arg horflag to horizontal. | 18 | * m/sh3.h: New file, machine description for SuperH. |
| 19 | 19 | ||
| 20 | 2008-10-17 Kenichi Handa <handa@m17n.org> | 20 | 2008-10-17 Martin Rudalics <rudalics@gmx.at> |
| 21 | 21 | ||
| 22 | * ftfont.c (ftfont_otf_features): Fix indexing | 22 | * window.c (Fsplit_window): Rename arg horflag to horizontal. |
| 23 | gsub_gpos->FeatureList.Feature. Check the validity of indices. | 23 | |
| 24 | 24 | 2008-10-17 Kenichi Handa <handa@m17n.org> | |
| 25 | 2008-10-16 Magnus Henoch <mange@freemail.hu> | 25 | |
| 26 | 26 | * ftfont.c (ftfont_otf_features): Fix indexing | |
| 27 | * dbusbind.c (Fdbus_call_method): Unbreak usage line. | 27 | gsub_gpos->FeatureList.Feature. Check the validity of indices. |
| 28 | (Fdbus_call_method_asynchronously): Ditto. | 28 | |
| 29 | This change makes C-h f display the argument list. | 29 | 2008-10-16 Magnus Henoch <mange@freemail.hu> |
| 30 | 30 | ||
| 31 | 2008-10-16 Chong Yidong <cyd@stupidchicken.com> | 31 | * dbusbind.c (Fdbus_call_method): Unbreak usage line. |
| 32 | 32 | (Fdbus_call_method_asynchronously): Ditto. | |
| 33 | * fileio.c (Fexpand_file_name): Doc fix. | 33 | This change makes C-h f display the argument list. |
| 34 | 34 | ||
| 35 | * xfaces.c (Finternal_set_lisp_face_attribute): Make null values | 35 | 2008-10-16 Chong Yidong <cyd@stupidchicken.com> |
| 36 | of :foreground and :background equivalent to unspecified (20.x | 36 | |
| 37 | compatibility). | 37 | * fileio.c (Fexpand_file_name): Doc fix. |
| 38 | 38 | ||
| 39 | 2008-10-15 Eli Zaretskii <eliz@gnu.org> | 39 | * xfaces.c (Finternal_set_lisp_face_attribute): Make null values |
| 40 | 40 | of :foreground and :background equivalent to unspecified (20.x | |
| 41 | * buffer.c (syms_of_buffer): Doc fix. | 41 | compatibility). |
| 42 | 42 | ||
| 43 | 2008-10-14 Kenichi Handa <handa@m17n.org> | 43 | 2008-10-15 Eli Zaretskii <eliz@gnu.org> |
| 44 | 44 | ||
| 45 | * font.c (font_clear_prop): When clearing font width, clear the | 45 | * buffer.c (syms_of_buffer): Doc fix. |
| 46 | average width field too. | 46 | |
| 47 | 47 | 2008-10-14 Kenichi Handa <handa@m17n.org> | |
| 48 | 2008-10-12 Andreas Schwab <schwab@suse.de> | 48 | |
| 49 | 49 | * font.c (font_clear_prop): When clearing font width, clear the | |
| 50 | * ftfont.c (ftfont_shape_by_flt): Make static. | 50 | average width field too. |
| 51 | * ftfont.h (ftfont_shape_by_flt): Don't declare. | 51 | |
| 52 | 52 | 2008-10-12 Andreas Schwab <schwab@suse.de> | |
| 53 | * font.c: Don't include <m17n-flt.h>. | 53 | |
| 54 | 54 | * ftfont.c (ftfont_shape_by_flt): Make static. | |
| 55 | 2008-10-10 Eli Zaretskii <eliz@gnu.org> | 55 | * ftfont.h (ftfont_shape_by_flt): Don't declare. |
| 56 | 56 | ||
| 57 | * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Decrease to 10000. | 57 | * font.c: Don't include <m17n-flt.h>. |
| 58 | 58 | ||
| 59 | 2008-10-09 Eli Zaretskii <eliz@gnu.org> | 59 | 2008-10-10 Eli Zaretskii <eliz@gnu.org> |
| 60 | 60 | ||
| 61 | * frame.c (make_terminal_frame) [MSDOS]: Remove unused #ifdef'ed | 61 | * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Decrease to 10000. |
| 62 | away code. | 62 | |
| 63 | 63 | 2008-10-09 Eli Zaretskii <eliz@gnu.org> | |
| 64 | 2008-10-09 Chong Yidong <cyd@stupidchicken.com> | 64 | |
| 65 | 65 | * frame.c (make_terminal_frame) [MSDOS]: Remove unused #ifdef'ed | |
| 66 | * dispnew.c (update_text_area): Avoid looping due to large glyph | 66 | away code. |
| 67 | overhangs (bug#1070). | 67 | |
| 68 | 68 | 2008-10-09 Chong Yidong <cyd@stupidchicken.com> | |
| 69 | 2008-10-09 Kenichi Handa <handa@m17n.org> | 69 | |
| 70 | 70 | * dispnew.c (update_text_area): Avoid looping due to large glyph | |
| 71 | * fontset.c (face_for_char): If face->fontset is negative, just | 71 | overhangs (bug#1070). |
| 72 | return ascii_face. | 72 | |
| 73 | 73 | 2008-10-09 Kenichi Handa <handa@m17n.org> | |
| 74 | * font.c (font_delete_unmatched): Fix previous change. Don't | 74 | |
| 75 | reject an entity if DPI and AVGWIDTH of an entity are 0. | 75 | * fontset.c (face_for_char): If face->fontset is negative, just |
| 76 | 76 | return ascii_face. | |
| 77 | 2008-10-09 Martin Rudalics <rudalics@gmx.at> | 77 | |
| 78 | 78 | * font.c (font_delete_unmatched): Fix previous change. Don't | |
| 79 | * frame.c (Fraise_frame): On text-only terminals select frame in | 79 | reject an entity if DPI and AVGWIDTH of an entity are 0. |
| 80 | order to make it visible. (Bug#1061) | 80 | |
| 81 | 81 | 2008-10-09 Martin Rudalics <rudalics@gmx.at> | |
| 82 | 2008-10-08 Chong Yidong <cyd@stupidchicken.com> | 82 | |
| 83 | 83 | * frame.c (Fraise_frame): On text-only terminals select frame in | |
| 84 | * fontset.c (fontset_find_font): Check frame validity. | 84 | order to make it visible. (Bug#1061) |
| 85 | 85 | ||
| 86 | 2008-10-07 Chong Yidong <cyd@stupidchicken.com> | 86 | 2008-10-08 Chong Yidong <cyd@stupidchicken.com> |
| 87 | 87 | ||
| 88 | * gtkutil.c (xg_display_open): Reset default display if none | 88 | * fontset.c (fontset_find_font): Check frame validity. |
| 89 | exists. | 89 | |
| 90 | (xg_display_close): Allow Emacs to close all displays (bug#985). | 90 | 2008-10-07 Chong Yidong <cyd@stupidchicken.com> |
| 91 | 91 | ||
| 92 | 2008-10-06 Andreas Schwab <schwab@suse.de> | 92 | * gtkutil.c (xg_display_open): Reset default display if none |
| 93 | 93 | exists. | |
| 94 | * sysdep.c (sys_signal): Always set SA_RESTART when | 94 | (xg_display_close): Allow Emacs to close all displays (bug#985). |
| 95 | noninteractively. | 95 | |
| 96 | 96 | 2008-10-06 Andreas Schwab <schwab@suse.de> | |
| 97 | 2008-10-06 Chong Yidong <cyd@stupidchicken.com> | 97 | |
| 98 | 98 | * sysdep.c (sys_signal): Always set SA_RESTART when | |
| 99 | * emacs.c (Vbefore_init_time, Vafter_init_time): Moved from | 99 | noninteractively. |
| 100 | startup.el. | 100 | |
| 101 | 101 | 2008-10-06 Chong Yidong <cyd@stupidchicken.com> | |
| 102 | * lisp.h: (Vbefore_init_time, Vafter_init_time): Declare. | 102 | |
| 103 | 103 | * emacs.c (Vbefore_init_time, Vafter_init_time): Moved from | |
| 104 | * gtkutil.c (x_wm_set_size_hint): Return immediately if called | 104 | startup.el. |
| 105 | during initialization. | 105 | |
| 106 | 106 | * lisp.h: (Vbefore_init_time, Vafter_init_time): Declare. | |
| 107 | 2008-10-04 Eli Zaretskii <eliz@gnu.org> | 107 | |
| 108 | 108 | * gtkutil.c (x_wm_set_size_hint): Return immediately if called | |
| 109 | * xdisp.c (redisplay_internal): If frame switched, redisplay the | 109 | during initialization. |
| 110 | whole thing on MSDOS frames as well as on a TTY. | 110 | |
| 111 | 111 | 2008-10-04 Eli Zaretskii <eliz@gnu.org> | |
| 112 | * dispnew.c (update_frame): Flush termscript for MSDOS frames as | 112 | |
| 113 | well as for TTY. | 113 | * xdisp.c (redisplay_internal): If frame switched, redisplay the |
| 114 | (Fopen_termscript): Allow opening a termscript on MSDOS frames as | 114 | whole thing on MSDOS frames as well as on a TTY. |
| 115 | well as on a TTY. | 115 | |
| 116 | 116 | * dispnew.c (update_frame): Flush termscript for MSDOS frames as | |
| 117 | * sysdep.c (init_sys_modes): Set FRAME_GARBAGED_P for MSDOS frames | 117 | well as for TTY. |
| 118 | as well as for TTY. | 118 | (Fopen_termscript): Allow opening a termscript on MSDOS frames as |
| 119 | 119 | well as on a TTY. | |
| 120 | * systime.h (EMACS_TIME_CMP): Cast EMACS_SECS values to `long'. | 120 | |
| 121 | 121 | * sysdep.c (init_sys_modes): Set FRAME_GARBAGED_P for MSDOS frames | |
| 122 | * dispnew.c (change_frame_size_1): Set FrameRows and FrameCols for | 122 | as well as for TTY. |
| 123 | MSDOS frames as well. | 123 | |
| 124 | 124 | * systime.h (EMACS_TIME_CMP): Cast EMACS_SECS values to `long'. | |
| 125 | 2008-10-02 Adrian Robert <Adrian.B.Robert@gmail.com> | 125 | |
| 126 | 126 | * dispnew.c (change_frame_size_1): Set FrameRows and FrameCols for | |
| 127 | * image.c (x_clear_image_1): Under NS, call ns_free_indexed_color with | 127 | MSDOS frames as well. |
| 128 | correct arguments. | 128 | |
| 129 | * menu.c (find_and_return_menu_selection) Add cast. | 129 | 2008-10-02 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 130 | 130 | ||
| 131 | 2008-10-03 Glenn Morris <rgm@gnu.org> | 131 | * image.c (x_clear_image_1): Under NS, call ns_free_indexed_color with |
| 132 | 132 | correct arguments. | |
| 133 | * emacs.c (USAGE1): Add --daemon. | 133 | * menu.c (find_and_return_menu_selection) Add cast. |
| 134 | 134 | ||
| 135 | 2008-10-02 Eli Zaretskii <eliz@gnu.org> | 135 | 2008-10-03 Glenn Morris <rgm@gnu.org> |
| 136 | 136 | ||
| 137 | * process.c (procfs_system_process_attributes): Multiply `pcpu' by | 137 | * emacs.c (USAGE1): Add --daemon. |
| 138 | 100, so it's in percents as advertised. | 138 | |
| 139 | 139 | 2008-10-02 Eli Zaretskii <eliz@gnu.org> | |
| 140 | 2008-10-02 Adrian Robert <Adrian.B.Robert@gmail.com> | 140 | |
| 141 | 141 | * process.c (procfs_system_process_attributes): Multiply `pcpu' by | |
| 142 | * nsterm.h (ns_cursor_types, ns_output.desired_cursor_color) | 142 | 100, so it's in percents as advertised. |
| 143 | (ns_output.current_cursor, ns_output.desired_cursor) | 143 | |
| 144 | (ns_output.last_inactive, FRAME_CURSOR, FRAME_NEW_CURSOR) | 144 | 2008-10-02 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 145 | (FRAME_NEW_CURSOR_COLOR): Remove. | 145 | |
| 146 | 146 | * nsterm.h (ns_cursor_types, ns_output.desired_cursor_color) | |
| 147 | * nsfns.m (ns_set_cursor_color): Use FRAME_CURSOR_COLOR. | 147 | (ns_output.current_cursor, ns_output.desired_cursor) |
| 148 | (ns_lisp_to_cursor_type, ns_cursor_type_to_lisp): Use core emacs | 148 | (ns_output.last_inactive, FRAME_CURSOR, FRAME_NEW_CURSOR) |
| 149 | enumeration (HOLLOW_BOX_CURSOR, etc.). | 149 | (FRAME_NEW_CURSOR_COLOR): Remove. |
| 150 | 150 | ||
| 151 | * nsterm.m (ns_frame_rehighlight): Remove commented code. | 151 | * nsfns.m (ns_set_cursor_color): Use FRAME_CURSOR_COLOR. |
| 152 | (draw_window_cursor): Simplify code. | 152 | (ns_lisp_to_cursor_type, ns_cursor_type_to_lisp): Use core emacs |
| 153 | (EmacsView-windowDidBecomeKey:,-windowDidResignKey:): Don't | 153 | enumeration (HOLLOW_BOX_CURSOR, etc.). |
| 154 | change cursor type. In latter, call rehighlight instead of doing | 154 | |
| 155 | updates manually. | 155 | * nsterm.m (ns_frame_rehighlight): Remove commented code. |
| 156 | (EmacsPrefsController-setPanelFromValues,-setValuesFromPanel): Use | 156 | (draw_window_cursor): Simplify code. |
| 157 | core emacs cursor types. | 157 | (EmacsView-windowDidBecomeKey:,-windowDidResignKey:): Don't |
| 158 | 158 | change cursor type. In latter, call rehighlight instead of doing | |
| 159 | * xdisp.c (draw_glyphs): Don't call notice_overwritten_cursor() under | 159 | updates manually. |
| 160 | NS. | 160 | (EmacsPrefsController-setPanelFromValues,-setValuesFromPanel): Use |
| 161 | 161 | core emacs cursor types. | |
| 162 | 2008-10-02 Martin Rudalics <rudalics@gmx.at> | 162 | |
| 163 | 163 | * xdisp.c (draw_glyphs): Don't call notice_overwritten_cursor() under | |
| 164 | * process.c (Faccept_process_output): Fix doc-string. | 164 | NS. |
| 165 | 165 | ||
| 166 | 2008-10-02 Dan Nicolaescu <dann@ics.uci.edu> | 166 | 2008-10-02 Martin Rudalics <rudalics@gmx.at> |
| 167 | 167 | ||
| 168 | * gmalloc.c (__sbrk): Also define for uClibc. | 168 | * process.c (Faccept_process_output): Fix doc-string. |
| 169 | 169 | ||
| 170 | * s/gnu-linux.h (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Add definition | 170 | 2008-10-02 Dan Nicolaescu <dann@ics.uci.edu> |
| 171 | for uClibc. | 171 | |
| 172 | 172 | * gmalloc.c (__sbrk): Also define for uClibc. | |
| 173 | 2008-10-01 Adrian Robert <Adrian.B.Robert@gmail.com> | 173 | |
| 174 | 174 | * s/gnu-linux.h (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Add definition | |
| 175 | * nsfont.m (nsfont_spec_to_traits): Use UnXX masks only for non-normal | 175 | for uClibc. |
| 176 | styles. | 176 | |
| 177 | (nsfont_open): Reenable the cache. | 177 | 2008-10-01 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 178 | 178 | ||
| 179 | 2008-10-01 Adrian Robert <Adrian.B.Robert@gmail.com> | 179 | * nsfont.m (nsfont_spec_to_traits): Use UnXX masks only for non-normal |
| 180 | 180 | styles. | |
| 181 | * font.c (font_matching_entity): Reflect ATTRS in font selection. | 181 | (nsfont_open): Reenable the cache. |
| 182 | (font_find_for_lface) [HAVE_NS]: Don't ignore case. | 182 | |
| 183 | 183 | 2008-10-01 Adrian Robert <Adrian.B.Robert@gmail.com> | |
| 184 | 2008-09-30 Stefan Monnier <monnier@iro.umontreal.ca> | 184 | |
| 185 | 185 | * font.c (font_matching_entity): Reflect ATTRS in font selection. | |
| 186 | * dispnew.c (Fsend_string_to_terminal): Don't try to send a string to | 186 | (font_find_for_lface) [HAVE_NS]: Don't ignore case. |
| 187 | a suspended terminal. | 187 | |
| 188 | 188 | 2008-09-30 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 189 | 2008-09-30 Michael Albinus <michael.albinus@gmx.de> | 189 | |
| 190 | 190 | * dispnew.c (Fsend_string_to_terminal): Don't try to send a string to | |
| 191 | * dbusbind.c (xd_signature): Use strcat instead of sprintf. | 191 | a suspended terminal. |
| 192 | 192 | ||
| 193 | 2008-09-30 Eli Zaretskii <eliz@gnu.org> | 193 | 2008-09-30 Michael Albinus <michael.albinus@gmx.de> |
| 194 | 194 | ||
| 195 | * Makefile.in (MSDOS_SUPPORT): Remove ccl.elc and codepage.elc. | 195 | * dbusbind.c (xd_signature): Use strcat instead of sprintf. |
| 196 | 196 | ||
| 197 | 2008-09-30 Chong Yidong <cyd@stupidchicken.com> | 197 | 2008-09-30 Eli Zaretskii <eliz@gnu.org> |
| 198 | 198 | ||
| 199 | * xdisp.c (move_it_to): Don't advance the iterator if the last tab | 199 | * Makefile.in (MSDOS_SUPPORT): Remove ccl.elc and codepage.elc. |
| 200 | in a continued line coincides with a line beginning. | 200 | |
| 201 | 201 | 2008-09-30 Chong Yidong <cyd@stupidchicken.com> | |
| 202 | 2008-09-29 Adrian Robert <Adrian.B.Robert@gmail.com> | 202 | |
| 203 | 203 | * xdisp.c (move_it_to): Don't advance the iterator if the last tab | |
| 204 | * nsfont.m (nsfont_trait_distance): Fix bug. | 204 | in a continued line coincides with a line beginning. |
| 205 | (nsfont_list): Return a list rather than a vector (syncs with Handa | 205 | |
| 206 | changes of 2008-05-14). | 206 | 2008-09-29 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 207 | (nsfont_open): Improve logging. | 207 | |
| 208 | 208 | * nsfont.m (nsfont_trait_distance): Fix bug. | |
| 209 | 2008-09-29 Andreas Schwab <schwab@suse.de> | 209 | (nsfont_list): Return a list rather than a vector (syncs with Handa |
| 210 | 210 | changes of 2008-05-14). | |
| 211 | * keyboard.c (syms_of_keyboard) <input-decode-map>: Doc fix. | 211 | (nsfont_open): Improve logging. |
| 212 | 212 | ||
| 213 | 2008-09-28 Martin Rudalics <rudalics@gmx.at> | 213 | 2008-09-29 Andreas Schwab <schwab@suse.de> |
| 214 | 214 | ||
| 215 | * character.c (Fchar_resolve_modifiers): Rewrite Elisp function | 215 | * keyboard.c (syms_of_keyboard) <input-decode-map>: Doc fix. |
| 216 | name as char-resolve-modifiers. | 216 | |
| 217 | Reported by: Markus Triska <markus.triska@gmx.at> | 217 | 2008-09-28 Martin Rudalics <rudalics@gmx.at> |
| 218 | 218 | ||
| 219 | 2008-09-28 Dan Nicolaescu <dann@ics.uci.edu> | 219 | * character.c (Fchar_resolve_modifiers): Rewrite Elisp function |
| 220 | 220 | name as char-resolve-modifiers. | |
| 221 | * dispnew.c (init_display): Return earlier when running as a daemon. | 221 | Reported by: Markus Triska <markus.triska@gmx.at> |
| 222 | 222 | ||
| 223 | 2008-09-27 Adrian Robert <Adrian.B.Robert@gmail.com> | 223 | 2008-09-28 Dan Nicolaescu <dann@ics.uci.edu> |
| 224 | 224 | ||
| 225 | * nsfont.m (nsfont_draw): Fix up composition rendering (cmp_from, ...). | 225 | * dispnew.c (init_display): Return earlier when running as a daemon. |
| 226 | 226 | ||
| 227 | 2008-09-27 Eli Zaretskii <eliz@gnu.org> | 227 | 2008-09-27 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 228 | 228 | ||
| 229 | * composite.c (Fcomposition_get_gstring) | 229 | * nsfont.m (nsfont_draw): Fix up composition rendering (cmp_from, ...). |
| 230 | (Fcompose_region_internal, Fcompose_string_internal) | 230 | |
| 231 | (Ffind_composition_internal): Doc fix. | 231 | 2008-09-27 Eli Zaretskii <eliz@gnu.org> |
| 232 | (syms_of_composite) <compose-chars-after-function>: Doc fix. | 232 | |
| 233 | (syms_of_composite) <auto-composition-function>: Doc fix. | 233 | * composite.c (Fcomposition_get_gstring) |
| 234 | (syms_of_composite) <composition-function-table>: Doc fix. | 234 | (Fcompose_region_internal, Fcompose_string_internal) |
| 235 | 235 | (Ffind_composition_internal): Doc fix. | |
| 236 | 2008-09-25 Chong Yidong <cyd@stupidchicken.com> | 236 | (syms_of_composite) <compose-chars-after-function>: Doc fix. |
| 237 | 237 | (syms_of_composite) <auto-composition-function>: Doc fix. | |
| 238 | * search.c (wordify): New argument for lax word-ends. | 238 | (syms_of_composite) <composition-function-table>: Doc fix. |
| 239 | (Fword_search_forward_lax, Fword_search_backward_lax): New funs. | 239 | |
| 240 | 240 | 2008-09-25 Chong Yidong <cyd@stupidchicken.com> | |
| 241 | 2008-09-24 Dan Nicolaescu <dann@ics.uci.edu> | 241 | |
| 242 | 242 | * search.c (wordify): New argument for lax word-ends. | |
| 243 | * lisp.h (is_daemon): Declare. | 243 | (Fword_search_forward_lax, Fword_search_backward_lax): New funs. |
| 244 | * dispnew.c (init_display): Do not try to initialize the terminal | 244 | |
| 245 | when running as a daemon. | 245 | 2008-09-24 Dan Nicolaescu <dann@ics.uci.edu> |
| 246 | 246 | ||
| 247 | 2008-09-22 Chong Yidong <cyd@stupidchicken.com> | 247 | * lisp.h (is_daemon): Declare. |
| 248 | 248 | * dispnew.c (init_display): Do not try to initialize the terminal | |
| 249 | * nsfns.m (compute_tip_xy): Use x_display_pixel_width and | 249 | when running as a daemon. |
| 250 | x_display_pixel_height. | 250 | |
| 251 | 251 | 2008-09-22 Chong Yidong <cyd@stupidchicken.com> | |
| 252 | 2008-09-22 Martin Rudalics <rudalics@gmx.at> | 252 | |
| 253 | 253 | * nsfns.m (compute_tip_xy): Use x_display_pixel_width and | |
| 254 | * undo.c (record_point): Don't call Fundo_boundary for first | 254 | x_display_pixel_height. |
| 255 | change. (Bug#731) | 255 | |
| 256 | 256 | 2008-09-22 Martin Rudalics <rudalics@gmx.at> | |
| 257 | 2008-09-22 Juanma Barranquero <lekktu@gmail.com> | 257 | |
| 258 | 258 | * undo.c (record_point): Don't call Fundo_boundary for first | |
| 259 | * emacs.c (Fdaemonp): Doc fix. | 259 | change. (Bug#731) |
| 260 | 260 | ||
| 261 | 2008-09-22 Dan Nicolaescu <dann@ics.uci.edu> | 261 | 2008-09-22 Juanma Barranquero <lekktu@gmail.com> |
| 262 | 262 | ||
| 263 | * emacs.c (main): Place #ifdef in the proper place. | 263 | * emacs.c (Fdaemonp): Doc fix. |
| 264 | 264 | ||
| 265 | 2008-09-21 Dan Nicolaescu <dann@ics.uci.edu> | 265 | 2008-09-22 Dan Nicolaescu <dann@ics.uci.edu> |
| 266 | 266 | ||
| 267 | * emacs.c (standard_args): Add --daemon. | 267 | * emacs.c (main): Place #ifdef in the proper place. |
| 268 | (main): Disconnect from the terminal when --daemon is passed. | 268 | |
| 269 | (is_daemon): New variable. | 269 | 2008-09-21 Dan Nicolaescu <dann@ics.uci.edu> |
| 270 | (Fdaemonp): New function. | 270 | |
| 271 | (syms_of_emacs): Defsubr it. | 271 | * emacs.c (standard_args): Add --daemon. |
| 272 | 272 | (main): Disconnect from the terminal when --daemon is passed. | |
| 273 | 2008-09-20 Chong Yidong <cyd@stupidchicken.com> | 273 | (is_daemon): New variable. |
| 274 | 274 | (Fdaemonp): New function. | |
| 275 | * xdisp.c (get_next_display_element): Handle string display | 275 | (syms_of_emacs): Defsubr it. |
| 276 | correctly when checking for the end of a box run. | 276 | |
| 277 | 277 | 2008-09-20 Chong Yidong <cyd@stupidchicken.com> | |
| 278 | 2008-09-20 Glenn Morris <rgm@gnu.org> | 278 | |
| 279 | 279 | * xdisp.c (get_next_display_element): Handle string display | |
| 280 | * fileio.c (Qdelete_by_moving_to_trash): New Lisp_Object. | 280 | correctly when checking for the end of a box run. |
| 281 | (syms_of_fileio): Add Qdelete_by_moving_to_trash. | 281 | |
| 282 | (Frename_file): Avoid copying to trash if a rename involves | 282 | 2008-09-20 Glenn Morris <rgm@gnu.org> |
| 283 | a delete. (Bug#964). | 283 | |
| 284 | 284 | * fileio.c (Qdelete_by_moving_to_trash): New Lisp_Object. | |
| 285 | 2008-09-20 Eli Zaretskii <eliz@gnu.org> | 285 | (syms_of_fileio): Add Qdelete_by_moving_to_trash. |
| 286 | 286 | (Frename_file): Avoid copying to trash if a rename involves | |
| 287 | * keyboard.c (Fset_quit_char, Fset_input_meta_mode) | 287 | a delete. (Bug#964). |
| 288 | (Fset_output_flow_control, Fcurrent_input_mode): Support MSDOS | 288 | |
| 289 | frames as well as termcap frames. | 289 | 2008-09-20 Eli Zaretskii <eliz@gnu.org> |
| 290 | (handle_interrupt): Remove "#ifndef MSDOS" around the call to | 290 | |
| 291 | get_named_tty. | 291 | * keyboard.c (Fset_quit_char, Fset_input_meta_mode) |
| 292 | 292 | (Fset_output_flow_control, Fcurrent_input_mode): Support MSDOS | |
| 293 | 2008-09-19 Eli Zaretskii <eliz@gnu.org> | 293 | frames as well as termcap frames. |
| 294 | 294 | (handle_interrupt): Remove "#ifndef MSDOS" around the call to | |
| 295 | * process.c (procfs_system_process_attributes): Fix cmdline in | 295 | get_named_tty. |
| 296 | case /proc/PID/cmdline is empty. | 296 | |
| 297 | 297 | 2008-09-19 Eli Zaretskii <eliz@gnu.org> | |
| 298 | * xterm.c (x_wm_set_size_hint): Use x_display_pixel_width and | 298 | |
| 299 | x_display_pixel_height. | 299 | * process.c (procfs_system_process_attributes): Fix cmdline in |
| 300 | 300 | case /proc/PID/cmdline is empty. | |
| 301 | 2008-09-19 Juanma Barranquero <lekktu@gmail.com> | 301 | |
| 302 | 302 | * xterm.c (x_wm_set_size_hint): Use x_display_pixel_width and | |
| 303 | * frame.c (x_fullscreen_adjust): Declare var as Display_Info. | 303 | x_display_pixel_height. |
| 304 | 304 | ||
| 305 | * w32fns.c (Fx_display_pixel_width, Fx_display_pixel_height) | 305 | 2008-09-19 Juanma Barranquero <lekktu@gmail.com> |
| 306 | (compute_tip_xy): Use x_display_pixel_width, x_display_pixel_height. | 306 | |
| 307 | 307 | * frame.c (x_fullscreen_adjust): Declare var as Display_Info. | |
| 308 | 2008-09-19 Dan Nicolaescu <dann@ics.uci.edu> | 308 | |
| 309 | 309 | * w32fns.c (Fx_display_pixel_width, Fx_display_pixel_height) | |
| 310 | * dispextern.h (struct it): Move line_wrap away from the middle of | 310 | (compute_tip_xy): Use x_display_pixel_width, x_display_pixel_height. |
| 311 | bitfields. Move voffset in struct iterator_stack_entry after the | 311 | |
| 312 | bitfields. Move tab_width near after another short. | 312 | 2008-09-19 Dan Nicolaescu <dann@ics.uci.edu> |
| 313 | 313 | ||
| 314 | 2008-09-18 Dan Nicolaescu <dann@ics.uci.edu> | 314 | * dispextern.h (struct it): Move line_wrap away from the middle of |
| 315 | 315 | bitfields. Move voffset in struct iterator_stack_entry after the | |
| 316 | * frame.h (struct frame): Move alpha from the middle of bitfields. | 316 | bitfields. Move tab_width near after another short. |
| 317 | 317 | ||
| 318 | * window.h (struct window): Move frozen_window_start_p after the | 318 | 2008-09-18 Dan Nicolaescu <dann@ics.uci.edu> |
| 319 | rest of the bitfields to reduce padding. | 319 | |
| 320 | 320 | * frame.h (struct frame): Move alpha from the middle of bitfields. | |
| 321 | 2008-09-18 Chong Yidong <cyd@stupidchicken.com> | 321 | |
| 322 | 322 | * window.h (struct window): Move frozen_window_start_p after the | |
| 323 | * xterm.h (x_display_info): Remove `height' and `width' members. | 323 | rest of the bitfields to reduce padding. |
| 324 | 324 | ||
| 325 | * nsterm.h (ns_display_info): Remove `height' and `width' members. | 325 | 2008-09-18 Chong Yidong <cyd@stupidchicken.com> |
| 326 | 326 | ||
| 327 | * w32term.h (w32_display_info): Remove `height', `width', | 327 | * xterm.h (x_display_info): Remove `height' and `width' members. |
| 328 | `height_in', and `width_in' members. | 328 | |
| 329 | 329 | * nsterm.h (ns_display_info): Remove `height' and `width' members. | |
| 330 | * xterm.c (x_display_pixel_height, x_display_pixel_width): New | 330 | |
| 331 | functions. | 331 | * w32term.h (w32_display_info): Remove `height', `width', |
| 332 | (x_calc_absolute_position): Use them. | 332 | `height_in', and `width_in' members. |
| 333 | (x_term_init): Omit removed `height' and `width' members. | 333 | |
| 334 | 334 | * xterm.c (x_display_pixel_height, x_display_pixel_width): New | |
| 335 | * w32term.c (x_display_pixel_height, x_display_pixel_width): New | 335 | functions. |
| 336 | functions. | 336 | (x_calc_absolute_position): Use them. |
| 337 | (w32_read_socket, x_calc_absolute_position): Use them. | 337 | (x_term_init): Omit removed `height' and `width' members. |
| 338 | (w32_initialize_display_info, w32_term_init): Omit removed members | 338 | |
| 339 | of w32_display_info. | 339 | * w32term.c (x_display_pixel_height, x_display_pixel_width): New |
| 340 | 340 | functions. | |
| 341 | * nsterm.m (x_display_pixel_height, x_display_pixel_width): New | 341 | (w32_read_socket, x_calc_absolute_position): Use them. |
| 342 | functions. | 342 | (w32_initialize_display_info, w32_term_init): Omit removed members |
| 343 | (ns_initialize_display_info): Omit removed members of | 343 | of w32_display_info. |
| 344 | ns_display_info. | 344 | |
| 345 | 345 | * nsterm.m (x_display_pixel_height, x_display_pixel_width): New | |
| 346 | * xterm.c (x_display_pixel_height, x_display_pixel_width): New | 346 | functions. |
| 347 | functions. | 347 | (ns_initialize_display_info): Omit removed members of |
| 348 | (x_calc_absolute_position): Use them. | 348 | ns_display_info. |
| 349 | (x_term_init): Omit removed `height' and `width' members. | 349 | |
| 350 | 350 | * xterm.c (x_display_pixel_height, x_display_pixel_width): New | |
| 351 | * xfns.c (Fx_display_pixel_width, Fx_display_pixel_height) | 351 | functions. |
| 352 | (compute_tip_xy): Use x_display_pixel_height and | 352 | (x_calc_absolute_position): Use them. |
| 353 | x_display_pixel_width. | 353 | (x_term_init): Omit removed `height' and `width' members. |
| 354 | 354 | ||
| 355 | * frame.c (x_fullscreen_adjust): Use x_display_pixel_height and | 355 | * xfns.c (Fx_display_pixel_width, Fx_display_pixel_height) |
| 356 | x_display_pixel_width. | 356 | (compute_tip_xy): Use x_display_pixel_height and |
| 357 | 357 | x_display_pixel_width. | |
| 358 | * xmenu.c (menu_position_func): Use x_display_pixel_height and | 358 | |
| 359 | x_display_pixel_width. | 359 | * frame.c (x_fullscreen_adjust): Use x_display_pixel_height and |
| 360 | 360 | x_display_pixel_width. | |
| 361 | 2008-09-18 Kenichi Handa <handa@m17n.org> | 361 | |
| 362 | 362 | * xmenu.c (menu_position_func): Use x_display_pixel_height and | |
| 363 | * composite.c (fill_gstring_header): Don't check FROM and TO here. | 363 | x_display_pixel_width. |
| 364 | (composition_compute_stop_pos): Fix handling of static composition. | 364 | |
| 365 | (Fcomposition_get_gstring): Check FROM and TO at first. | 365 | 2008-09-18 Kenichi Handa <handa@m17n.org> |
| 366 | 366 | ||
| 367 | 2008-09-17 Stefan Monnier <monnier@iro.umontreal.ca> | 367 | * composite.c (fill_gstring_header): Don't check FROM and TO here. |
| 368 | 368 | (composition_compute_stop_pos): Fix handling of static composition. | |
| 369 | * composite.c (Fcomposition_get_gstring): Yet another int/Lisp_Oject | 369 | (Fcomposition_get_gstring): Check FROM and TO at first. |
| 370 | mixup (YAILOM). | 370 | |
| 371 | 371 | 2008-09-17 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 372 | 2008-09-17 Chong Yidong <cyd@stupidchicken.com> | 372 | |
| 373 | 373 | * composite.c (Fcomposition_get_gstring): Yet another int/Lisp_Oject | |
| 374 | * indent.c (Fvertical_motion): Use position reported by iterator | 374 | mixup (YAILOM). |
| 375 | instead of PT for determining screen motion (bug#943). | 375 | |
| 376 | 376 | 2008-09-17 Chong Yidong <cyd@stupidchicken.com> | |
| 377 | 2008-09-17 Romain Francoise <romain@orebokech.com> | 377 | |
| 378 | 378 | * indent.c (Fvertical_motion): Use position reported by iterator | |
| 379 | * composite.c (composition_adjust_point): Fix int/EMACS_INT mixup. | 379 | instead of PT for determining screen motion (bug#943). |
| 380 | 380 | ||
| 381 | 2008-09-17 Kenichi Handa <handa@m17n.org> | 381 | 2008-09-17 Romain Francoise <romain@orebokech.com> |
| 382 | 382 | ||
| 383 | * ftfont.c (ftfont_shape_by_flt): Downcase family name. | 383 | * composite.c (composition_adjust_point): Fix int/EMACS_INT mixup. |
| 384 | 384 | ||
| 385 | * composite.c (Fcomposition_get_gstring): Make bigger gstring_work | 385 | 2008-09-17 Kenichi Handa <handa@m17n.org> |
| 386 | if necessary. | 386 | |
| 387 | 387 | * ftfont.c (ftfont_shape_by_flt): Downcase family name. | |
| 388 | 2008-09-16 Kenichi Handa <handa@m17n.org> | 388 | |
| 389 | 389 | * composite.c (Fcomposition_get_gstring): Make bigger gstring_work | |
| 390 | * coding.c (make_conversion_work_buffer): Avoid calling | 390 | if necessary. |
| 391 | Fget_buffer_create if it is not necessary. | 391 | |
| 392 | 392 | 2008-09-16 Kenichi Handa <handa@m17n.org> | |
| 393 | 2008-09-15 Martin Rudalics <rudalics@gmx.at> | 393 | |
| 394 | 394 | * coding.c (make_conversion_work_buffer): Avoid calling | |
| 395 | * window.c (Fselect_window): Don't update window_select_count and | 395 | Fget_buffer_create if it is not necessary. |
| 396 | use_time when norecord is not nil. | 396 | |
| 397 | 397 | 2008-09-15 Martin Rudalics <rudalics@gmx.at> | |
| 398 | 2008-09-14 Kenichi Handa <handa@m17n.org> | 398 | |
| 399 | 399 | * window.c (Fselect_window): Don't update window_select_count and | |
| 400 | * fileio.c (Finsert_file_contents): Delete incorrect decrement of | 400 | use_time when norecord is not nil. |
| 401 | specpdl_ptr. | 401 | |
| 402 | 402 | 2008-09-14 Kenichi Handa <handa@m17n.org> | |
| 403 | 2008-09-12 Kenichi Handa <handa@m17n.org> | 403 | |
| 404 | 404 | * fileio.c (Finsert_file_contents): Delete incorrect decrement of | |
| 405 | * indent.c (scan_for_column): Don't handle automatic composition | 405 | specpdl_ptr. |
| 406 | if the current buffer is not associated with a window. | 406 | |
| 407 | 407 | 2008-09-12 Kenichi Handa <handa@m17n.org> | |
| 408 | * composite.c (composition_reseat_it): If the current buffer is | 408 | |
| 409 | not associated with a window, ignore the automatic composition. | 409 | * indent.c (scan_for_column): Don't handle automatic composition |
| 410 | (find_automatic_composition): Likewise. | 410 | if the current buffer is not associated with a window. |
| 411 | 411 | ||
| 412 | 2008-09-12 Stefan Monnier <monnier@iro.umontreal.ca> | 412 | * composite.c (composition_reseat_it): If the current buffer is |
| 413 | 413 | not associated with a window, ignore the automatic composition. | |
| 414 | * term.c (close_gpm): New fun extracted from Fgpm_mouse_stop. | 414 | (find_automatic_composition): Likewise. |
| 415 | (Fgpm_mouse_stop): Use it. | 415 | |
| 416 | * termhooks.h (close_gpm): Declare. | 416 | 2008-09-12 Stefan Monnier <monnier@iro.umontreal.ca> |
| 417 | * keyboard.c (tty_read_avail_input): Forcefully close the gpm | 417 | |
| 418 | connection if Gpm_GetEvent fails. | 418 | * term.c (close_gpm): New fun extracted from Fgpm_mouse_stop. |
| 419 | 419 | (Fgpm_mouse_stop): Use it. | |
| 420 | * window.c (set_window_buffer): Always preserve current-buffer. | 420 | * termhooks.h (close_gpm): Declare. |
| 421 | 421 | * keyboard.c (tty_read_avail_input): Forcefully close the gpm | |
| 422 | 2008-09-12 Glenn Morris <rgm@gnu.org> | 422 | connection if Gpm_GetEvent fails. |
| 423 | 423 | ||
| 424 | * charset.c (init_charset): Warn if etc/charsets not found. (Bug#909) | 424 | * window.c (set_window_buffer): Always preserve current-buffer. |
| 425 | 425 | ||
| 426 | 2008-09-11 Glenn Morris <rgm@gnu.org> | 426 | 2008-09-12 Glenn Morris <rgm@gnu.org> |
| 427 | 427 | ||
| 428 | * charset.c (charset-map-path): Doc fix. | 428 | * charset.c (init_charset): Warn if etc/charsets not found. (Bug#909) |
| 429 | 429 | ||
| 430 | 2008-09-10 Kenichi Handa <handa@m17n.org> | 430 | 2008-09-11 Glenn Morris <rgm@gnu.org> |
| 431 | 431 | ||
| 432 | * xdisp.c (handle_composition_prop): Set it->cmp_it.ch to -1. | 432 | * charset.c (charset-map-path): Doc fix. |
| 433 | 433 | ||
| 434 | * font.c (Ffont_shape_gstring): Make glyphs of non-nil adjustment | 434 | 2008-09-10 Kenichi Handa <handa@m17n.org> |
| 435 | compose a grapheme cluster with the preceding base glyph. | 435 | |
| 436 | 436 | * xdisp.c (handle_composition_prop): Set it->cmp_it.ch to -1. | |
| 437 | * composite.c (composition_compute_stop_pos): Fix previous change. | 437 | |
| 438 | Reset cmp_it->id to -1 at first. | 438 | * font.c (Ffont_shape_gstring): Make glyphs of non-nil adjustment |
| 439 | 439 | compose a grapheme cluster with the preceding base glyph. | |
| 440 | 2008-09-10 Glenn Morris <rgm@gnu.org> | 440 | |
| 441 | 441 | * composite.c (composition_compute_stop_pos): Fix previous change. | |
| 442 | * Makefile.in (character.o, chartab.o): Fix config.h typo. | 442 | Reset cmp_it->id to -1 at first. |
| 443 | 443 | ||
| 444 | 2008-09-09 Chong Yidong <cyd@stupidchicken.com> | 444 | 2008-09-10 Glenn Morris <rgm@gnu.org> |
| 445 | 445 | ||
| 446 | * keyboard.c (read_key_sequence): Reapply translation maps when | 446 | * Makefile.in (character.o, chartab.o): Fix config.h typo. |
| 447 | switching keyboards. | 447 | |
| 448 | 448 | 2008-09-09 Chong Yidong <cyd@stupidchicken.com> | |
| 449 | 2008-09-09 Kenichi Handa <handa@m17n.org> | 449 | |
| 450 | 450 | * keyboard.c (read_key_sequence): Reapply translation maps when | |
| 451 | * ftfont.c (ftfont_shape_by_flt): Use "combining" FLT for ASCII | 451 | switching keyboards. |
| 452 | characters. | 452 | |
| 453 | 453 | 2008-09-09 Kenichi Handa <handa@m17n.org> | |
| 454 | * composite.c (FORWARD_CHAR): Fix calculation | 454 | |
| 455 | of (POSITION).pos_byte. | 455 | * ftfont.c (ftfont_shape_by_flt): Use "combining" FLT for ASCII |
| 456 | (composition_compute_stop_pos): Limit the search of composition to | 456 | characters. |
| 457 | at most 500 characters ahead. If we reach the limit or find a | 457 | |
| 458 | newline, set cmp_it->ch to -2 and return 0. | 458 | * composite.c (FORWARD_CHAR): Fix calculation |
| 459 | (composition_reseat_it): Handle the case that cmp_it->ch is -2. | 459 | of (POSITION).pos_byte. |
| 460 | 460 | (composition_compute_stop_pos): Limit the search of composition to | |
| 461 | 2008-09-08 Kenichi Handa <handa@m17n.org> | 461 | at most 500 characters ahead. If we reach the limit or find a |
| 462 | 462 | newline, set cmp_it->ch to -2 and return 0. | |
| 463 | * indent.c (Fvertical_motion): Be sure to set | 463 | (composition_reseat_it): Handle the case that cmp_it->ch is -2. |
| 464 | it_overshoot_expected if it.cmp_it.id is non-negative. | 464 | |
| 465 | 465 | 2008-09-08 Kenichi Handa <handa@m17n.org> | |
| 466 | 2008-09-07 Andreas Schwab <schwab@suse.de> | 466 | |
| 467 | 467 | * indent.c (Fvertical_motion): Be sure to set | |
| 468 | * callproc.c (Fcall_process): Don't hold references to string data | 468 | it_overshoot_expected if it.cmp_it.id is non-negative. |
| 469 | across garbage collection. Move initialisation of new_argv down | 469 | |
| 470 | to avoid compiler bug. | 470 | 2008-09-07 Andreas Schwab <schwab@suse.de> |
| 471 | 471 | ||
| 472 | 2008-09-07 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de> | 472 | * callproc.c (Fcall_process): Don't hold references to string data |
| 473 | 473 | across garbage collection. Move initialisation of new_argv down | |
| 474 | * process.c (Fsystem_process_attributes): Doc fix. | 474 | to avoid compiler bug. |
| 475 | 475 | ||
| 476 | 2008-09-07 Chong Yidong <cyd@stupidchicken.com> | 476 | 2008-09-07 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de> |
| 477 | 477 | ||
| 478 | * callproc.c (Fcall_process): Canonicalize current directory name. | 478 | * process.c (Fsystem_process_attributes): Doc fix. |
| 479 | 479 | ||
| 480 | * xdisp.c (move_it_to): When moving by vpos, ensure that the | 480 | 2008-09-07 Chong Yidong <cyd@stupidchicken.com> |
| 481 | iterator advances to the next line if the current line ends in a | 481 | |
| 482 | continued tab. | 482 | * callproc.c (Fcall_process): Canonicalize current directory name. |
| 483 | 483 | ||
| 484 | 2008-09-07 Teodor Zlatanov <tzz@lifelogs.com> | 484 | * xdisp.c (move_it_to): When moving by vpos, ensure that the |
| 485 | 485 | iterator advances to the next line if the current line ends in a | |
| 486 | * nsfont.m (nsfont_draw): Fix the references to missing gidx data | 486 | continued tab. |
| 487 | member to point to cmp_from. | 487 | |
| 488 | 488 | 2008-09-07 Teodor Zlatanov <tzz@lifelogs.com> | |
| 489 | * xdisp.c: Doc fix for references to gidx data member. | 489 | |
| 490 | 490 | * nsfont.m (nsfont_draw): Fix the references to missing gidx data | |
| 491 | 2008-09-07 Stefan Monnier <monnier@iro.umontreal.ca> | 491 | member to point to cmp_from. |
| 492 | 492 | ||
| 493 | * buffer.c (Fbuffer_swap_text): Reset window->point markers. | 493 | * xdisp.c: Doc fix for references to gidx data member. |
| 494 | 494 | ||
| 495 | 2008-09-07 Kenichi Handa <handa@m17n.org> | 495 | 2008-09-07 Stefan Monnier <monnier@iro.umontreal.ca> |
| 496 | 496 | ||
| 497 | * composite.c (FORWARD_CHAR): Check STOP after | 497 | * buffer.c (Fbuffer_swap_text): Reset window->point markers. |
| 498 | incrementing (POSITION).pos. | 498 | |
| 499 | 499 | 2008-09-07 Kenichi Handa <handa@m17n.org> | |
| 500 | 2008-09-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de> | 500 | |
| 501 | 501 | * composite.c (FORWARD_CHAR): Check STOP after | |
| 502 | * process.c (Fsystem_process_attributes): Doc fix. | 502 | incrementing (POSITION).pos. |
| 503 | 503 | ||
| 504 | 2008-09-06 Chong Yidong <cyd@stupidchicken.com> | 504 | 2008-09-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de> |
| 505 | 505 | ||
| 506 | * keyboard.c (Ftop_level): Doc fix. | 506 | * process.c (Fsystem_process_attributes): Doc fix. |
| 507 | 507 | ||
| 508 | 2008-09-06 Eli Zaretskii <eliz@gnu.org> | 508 | 2008-09-06 Chong Yidong <cyd@stupidchicken.com> |
| 509 | 509 | ||
| 510 | * xmenu.c (xmenu_show) [!HAVE_X_WINDOWS]: If frame has a | 510 | * keyboard.c (Ftop_level): Doc fix. |
| 511 | minibuffer, don't let lower part of menu invade the echo area. | 511 | |
| 512 | 512 | 2008-09-06 Eli Zaretskii <eliz@gnu.org> | |
| 513 | * msdos.c (IT_menu_display): Use STRING_CHAR_ADVANCE instead of a | 513 | |
| 514 | "char *q" to access menu text and advance through it. Revert the | 514 | * xmenu.c (xmenu_show) [!HAVE_X_WINDOWS]: If frame has a |
| 515 | change that displayed ">" instead of ASCII character 0x10. | 515 | minibuffer, don't let lower part of menu invade the echo area. |
| 516 | 516 | ||
| 517 | 2008-09-05 Eli Zaretskii <eliz@gnu.org> | 517 | * msdos.c (IT_menu_display): Use STRING_CHAR_ADVANCE instead of a |
| 518 | 518 | "char *q" to access menu text and advance through it. Revert the | |
| 519 | * menu.c (single_menu_item) [!HAVE_BOXES]: Enable emulation of | 519 | change that displayed ">" instead of ASCII character 0x10. |
| 520 | toggle boxes and radio buttons on MS-DOS as well. | 520 | |
| 521 | 521 | 2008-09-05 Eli Zaretskii <eliz@gnu.org> | |
| 522 | 2008-09-05 Kenichi Handa <handa@m17n.org> | 522 | |
| 523 | 523 | * menu.c (single_menu_item) [!HAVE_BOXES]: Enable emulation of | |
| 524 | * composite.c (autocmp_chars): Check lookback count. | 524 | toggle boxes and radio buttons on MS-DOS as well. |
| 525 | (composition_compute_stop_pos): Set cmp_it->lookback. | 525 | |
| 526 | (composition_reseat_it): Check lookback count. | 526 | 2008-09-05 Kenichi Handa <handa@m17n.org> |
| 527 | (struct position_record): New struct. | 527 | |
| 528 | (FORWARD_CHAR, BACKWARD_CHAR, CHAR_COMPOSABLE_P): New macros. | 528 | * composite.c (autocmp_chars): Check lookback count. |
| 529 | (find_automatic_composition): New function. | 529 | (composition_compute_stop_pos): Set cmp_it->lookback. |
| 530 | (composition_adjust_point): Use find_automatic_composition. | 530 | (composition_reseat_it): Check lookback count. |
| 531 | 531 | (struct position_record): New struct. | |
| 532 | * dispextern.h (struct composition_it): New member lookback. | 532 | (FORWARD_CHAR, BACKWARD_CHAR, CHAR_COMPOSABLE_P): New macros. |
| 533 | 533 | (find_automatic_composition): New function. | |
| 534 | 2008-09-02 Chong Yidong <cyd@stupidchicken.com> | 534 | (composition_adjust_point): Use find_automatic_composition. |
| 535 | 535 | ||
| 536 | * indent.c (Fvertical_motion): Don't call move_it_by_lines again | 536 | * dispextern.h (struct composition_it): New member lookback. |
| 537 | if moving by a single line. | 537 | |
| 538 | 538 | 2008-09-02 Chong Yidong <cyd@stupidchicken.com> | |
| 539 | 2008-09-02 Andreas Schwab <schwab@suse.de> | 539 | |
| 540 | 540 | * indent.c (Fvertical_motion): Don't call move_it_by_lines again | |
| 541 | * xterm.c (x_delete_display): Fix merge error. | 541 | if moving by a single line. |
| 542 | 542 | ||
| 543 | * fileio.c (Fexpand_file_name): Remove unused variables. | 543 | 2008-09-02 Andreas Schwab <schwab@suse.de> |
| 544 | 544 | ||
| 545 | 2008-09-02 Eli Zaretskii <eliz@gnu.org> | 545 | * xterm.c (x_delete_display): Fix merge error. |
| 546 | 546 | ||
| 547 | * fileio.c (Fexpand_file_name): Copy argument `name' into local | 547 | * fileio.c (Fexpand_file_name): Remove unused variables. |
| 548 | storage on all platforms, not just on DOS_NT. | 548 | |
| 549 | 549 | 2008-09-02 Eli Zaretskii <eliz@gnu.org> | |
| 550 | 2008-09-02 Jason Rumney <jasonr@gnu.org> | 550 | |
| 551 | 551 | * fileio.c (Fexpand_file_name): Copy argument `name' into local | |
| 552 | * w32menu.c (Fx_popup_menu, Fx_popup_dialog, w32_menu_show): Ensure | 552 | storage on all platforms, not just on DOS_NT. |
| 553 | mouse is not grabbed after menu is finished. | 553 | |
| 554 | 554 | 2008-09-02 Jason Rumney <jasonr@gnu.org> | |
| 555 | 2008-09-01 Chong Yidong <cyd@stupidchicken.com> | 555 | |
| 556 | 556 | * w32menu.c (Fx_popup_menu, Fx_popup_dialog, w32_menu_show): Ensure | |
| 557 | * xfaces.c (Finternal_set_alternative_font_family_alist) | 557 | mouse is not grabbed after menu is finished. |
| 558 | (Finternal_set_alternative_font_registry_alist): Properly copy | 558 | |
| 559 | entire alist structure. | 559 | 2008-09-01 Chong Yidong <cyd@stupidchicken.com> |
| 560 | 560 | ||
| 561 | 2008-09-01 Kenichi Handa <handa@m17n.org> | 561 | * xfaces.c (Finternal_set_alternative_font_family_alist) |
| 562 | 562 | (Finternal_set_alternative_font_registry_alist): Properly copy | |
| 563 | * ftfont.c (ftfont_spec_pattern): Don't create a charset of the | 563 | entire alist structure. |
| 564 | representative chars of the script is a vector. | 564 | |
| 565 | (ftfont_list): Handle the case the representative chars of the | 565 | 2008-09-01 Kenichi Handa <handa@m17n.org> |
| 566 | script is a vector. | 566 | |
| 567 | 567 | * ftfont.c (ftfont_spec_pattern): Don't create a charset of the | |
| 568 | * character.c (syms_of_character): Docstring of | 568 | representative chars of the script is a vector. |
| 569 | script-representative-chars fixed. | 569 | (ftfont_list): Handle the case the representative chars of the |
| 570 | 570 | script is a vector. | |
| 571 | 2008-08-31 Eli Zaretskii <eliz@gnu.org> | 571 | |
| 572 | 572 | * character.c (syms_of_character): Docstring of | |
| 573 | * msdos.c (BUILD_CHAR_GLYPH): New macro. | 573 | script-representative-chars fixed. |
| 574 | (IT_menu_display): Use it instead of SET_CHAR_GLYPH to construct | 574 | |
| 575 | the menu. Allocate larger buffer for `text', to account for | 575 | 2008-08-31 Eli Zaretskii <eliz@gnu.org> |
| 576 | possible ^C characters. | 576 | |
| 577 | 577 | * msdos.c (BUILD_CHAR_GLYPH): New macro. | |
| 578 | 2008-08-31 Martin Rudalics <rudalics@gmx.at> | 578 | (IT_menu_display): Use it instead of SET_CHAR_GLYPH to construct |
| 579 | 579 | the menu. Allocate larger buffer for `text', to account for | |
| 580 | * xdisp.c (prepare_menu_bars): Don't call | 580 | possible ^C characters. |
| 581 | Vwindow_size_change_functions with arg Qt. | 581 | |
| 582 | 582 | 2008-08-31 Martin Rudalics <rudalics@gmx.at> | |
| 583 | 2008-08-31 Stefan Monnier <monnier@iro.umontreal.ca> | 583 | |
| 584 | 584 | * xdisp.c (prepare_menu_bars): Don't call | |
| 585 | * font.h (font_range): | 585 | Vwindow_size_change_functions with arg Qt. |
| 586 | * fileio.c (report_file_error): | 586 | |
| 587 | * composite.c (composition_update_it): Yet another int/Lisp_Oject mixup. | 587 | 2008-08-31 Stefan Monnier <monnier@iro.umontreal.ca> |
| 588 | 588 | ||
| 589 | 2008-08-30 Glenn Morris <rgm@gnu.org> | 589 | * font.h (font_range): |
| 590 | 590 | * fileio.c (report_file_error): | |
| 591 | * data.c (Fmake_variable_frame_local): Doc fix. | 591 | * composite.c (composition_update_it): Yet another int/Lisp_Oject mixup. |
| 592 | 592 | ||
| 593 | * frame.c (Fmodify_frame_parameters): Doc fix. | 593 | 2008-08-30 Glenn Morris <rgm@gnu.org> |
| 594 | 594 | ||
| 595 | 2008-08-30 Eli Zaretskii <eliz@gnu.org> | 595 | * data.c (Fmake_variable_frame_local): Doc fix. |
| 596 | 596 | ||
| 597 | * w32.c (init_user_info): Allocate buf[] with xmalloc using the size | 597 | * frame.c (Fmodify_frame_parameters): Doc fix. |
| 598 | needed by GetTokenInformation. | 598 | |
| 599 | (w32_system_process_attributes): Check return values of all system | 599 | 2008-08-30 Eli Zaretskii <eliz@gnu.org> |
| 600 | APIs. | 600 | |
| 601 | 601 | * w32.c (init_user_info): Allocate buf[] with xmalloc using the size | |
| 602 | * msdos.c (IT_display_cursor): Write "CURSOR ON/OFF" to termscript | 602 | needed by GetTokenInformation. |
| 603 | only when the state changes. | 603 | (w32_system_process_attributes): Check return values of all system |
| 604 | (IT_update_begin, IT_update_end): Add termscript trace. | 604 | APIs. |
| 605 | 605 | ||
| 606 | * w16select.c (Fw16_set_clipboard_data): Don't encode text if | 606 | * msdos.c (IT_display_cursor): Write "CURSOR ON/OFF" to termscript |
| 607 | clipboard is unavailable. Set dst to NULL if it doesn't point to | 607 | only when the state changes. |
| 608 | malloc'ed data. | 608 | (IT_update_begin, IT_update_end): Add termscript trace. |
| 609 | (Fw16_get_clipboard_data): Initialize htext to NULL, to avoid | 609 | |
| 610 | passing random values to xfree. | 610 | * w16select.c (Fw16_set_clipboard_data): Don't encode text if |
| 611 | 611 | clipboard is unavailable. Set dst to NULL if it doesn't point to | |
| 612 | * dispnew.c (init_display): Set `tty's association in frame's | 612 | malloc'ed data. |
| 613 | parameters alist to the name of the terminal device, if that is | 613 | (Fw16_get_clipboard_data): Initialize htext to NULL, to avoid |
| 614 | known. | 614 | passing random values to xfree. |
| 615 | 615 | ||
| 616 | 2008-08-29 Jason Rumney <jasonr@gnu.org> | 616 | * dispnew.c (init_display): Set `tty's association in frame's |
| 617 | 617 | parameters alist to the name of the terminal device, if that is | |
| 618 | * w32uniscribe.c (uniscribe_check_otf): Don't fallback on DFLT script. | 618 | known. |
| 619 | 619 | ||
| 620 | 2008-08-29 Eli Zaretskii <eliz@gnu.org> | 620 | 2008-08-29 Jason Rumney <jasonr@gnu.org> |
| 621 | 621 | ||
| 622 | * composite.c (fill_gstring_body): Avoid compiler warnings. | 622 | * w32uniscribe.c (uniscribe_check_otf): Don't fallback on DFLT script. |
| 623 | 623 | ||
| 624 | * font.c (font_fill_lglyph_metrics): Use EMACS_INT in | 624 | 2008-08-29 Eli Zaretskii <eliz@gnu.org> |
| 625 | LGLYPH_SET_CODE to avoid compiler warnings. | 625 | |
| 626 | 626 | * composite.c (fill_gstring_body): Avoid compiler warnings. | |
| 627 | * makefile.w32-in ($(BLD)/w32uniscribe.$(O)): Depend on composite.h | 627 | |
| 628 | 628 | * font.c (font_fill_lglyph_metrics): Use EMACS_INT in | |
| 629 | * composite.h (LGLYPH_SET_CODE): Cast `val' to EMACS_INT. | 629 | LGLYPH_SET_CODE to avoid compiler warnings. |
| 630 | 630 | ||
| 631 | * w32uniscribe.c (uniscribe_shape): Shut up compiler warning in | 631 | * makefile.w32-in ($(BLD)/w32uniscribe.$(O)): Depend on composite.h |
| 632 | LGLYPH_SET_CODE. | 632 | |
| 633 | 633 | * composite.h (LGLYPH_SET_CODE): Cast `val' to EMACS_INT. | |
| 634 | 2008-08-29 Kenichi Handa <handa@m17n.org> | 634 | |
| 635 | 635 | * w32uniscribe.c (uniscribe_shape): Shut up compiler warning in | |
| 636 | * fileio.c (report_file_error): Don't downcase the first character | 636 | LGLYPH_SET_CODE. |
| 637 | of errstring if it is still unibyte. | 637 | |
| 638 | 638 | 2008-08-29 Kenichi Handa <handa@m17n.org> | |
| 639 | 2008-08-29 Kenichi Handa <handa@m17n.org> | 639 | |
| 640 | 640 | * fileio.c (report_file_error): Don't downcase the first character | |
| 641 | These changes are to re-implement the automatic composition so | 641 | of errstring if it is still unibyte. |
| 642 | that it doesn't use text properties. | 642 | |
| 643 | 643 | 2008-08-29 Kenichi Handa <handa@m17n.org> | |
| 644 | * Makefile.in (ftfont.o): Depend on composite.h. | 644 | |
| 645 | (composite.o): Depend dispextern.h, font.h, frame, and window.h. | 645 | These changes are to re-implement the automatic composition so |
| 646 | 646 | that it doesn't use text properties. | |
| 647 | * character.h (Vunicode_category_table): Extern it. | 647 | |
| 648 | 648 | * Makefile.in (ftfont.o): Depend on composite.h. | |
| 649 | * character.c (Vunicode_category_table): New variable. | 649 | (composite.o): Depend dispextern.h, font.h, frame, and window.h. |
| 650 | (syms_of_character): DEFVAR_LISP Vunicode_category_table. | 650 | |
| 651 | 651 | * character.h (Vunicode_category_table): Extern it. | |
| 652 | * chartab.c (optimize_sub_char_table): Perform more greedy | 652 | |
| 653 | optimization. | 653 | * character.c (Vunicode_category_table): New variable. |
| 654 | 654 | (syms_of_character): DEFVAR_LISP Vunicode_category_table. | |
| 655 | * composite.h (enum composition_method): Delete | 655 | |
| 656 | COMPOSITION_WITH_GLYPH_STRING. | 656 | * chartab.c (optimize_sub_char_table): Perform more greedy |
| 657 | (COMPOSITION_METHOD): Don't check COMPOSITION_WITH_GLYPH_STRING. | 657 | optimization. |
| 658 | (Vcomposition_function_table): Extern it. | 658 | |
| 659 | (LGSTRING_XXX, LGLYPH_XXX): Macros moved from font.h. | 659 | * composite.h (enum composition_method): Delete |
| 660 | (composition_gstring_put_cache, composition_gstring_from_id) | 660 | COMPOSITION_WITH_GLYPH_STRING. |
| 661 | (composition_gstring_p, composition_gstring_width) | 661 | (COMPOSITION_METHOD): Don't check COMPOSITION_WITH_GLYPH_STRING. |
| 662 | (composition_compute_stop_pos, composition_reseat_it) | 662 | (Vcomposition_function_table): Extern it. |
| 663 | (composition_update_it, composition_adjust_point): Extern them. | 663 | (LGSTRING_XXX, LGLYPH_XXX): Macros moved from font.h. |
| 664 | (Fcomposition_get_gstring): EXFUN it. | 664 | (composition_gstring_put_cache, composition_gstring_from_id) |
| 665 | 665 | (composition_gstring_p, composition_gstring_width) | |
| 666 | * composite.c: Include window.h, frame.h, dispextern.h font.h. | 666 | (composition_compute_stop_pos, composition_reseat_it) |
| 667 | (Vcomposition_function_table) | 667 | (composition_update_it, composition_adjust_point): Extern them. |
| 668 | (get_composition_id): Don't handle COMPOSITION_WITH_GLYPH_STRING. | 668 | (Fcomposition_get_gstring): EXFUN it. |
| 669 | (gstring_hash_table, gstring_work, gstring_work_headers): New | 669 | |
| 670 | variables. | 670 | * composite.c: Include window.h, frame.h, dispextern.h font.h. |
| 671 | (gstring_lookup_cache, composition_gstring_put_cache) | 671 | (Vcomposition_function_table) |
| 672 | (composition_gstring_from_id, composition_gstring_p) | 672 | (get_composition_id): Don't handle COMPOSITION_WITH_GLYPH_STRING. |
| 673 | (composition_gstring_width, fill_gstring_header) | 673 | (gstring_hash_table, gstring_work, gstring_work_headers): New |
| 674 | (fill_gstring_body, autocmp_chars, composition_compute_stop_pos) | 674 | variables. |
| 675 | (composition_reseat_it, composition_update_it) | 675 | (gstring_lookup_cache, composition_gstring_put_cache) |
| 676 | (composition_adjust_point, Fcomposition_get_gstring): New | 676 | (composition_gstring_from_id, composition_gstring_p) |
| 677 | functions. | 677 | (composition_gstring_width, fill_gstring_header) |
| 678 | (syms_of_composite): Initialize gstring_hash_table, gstrint_work, | 678 | (fill_gstring_body, autocmp_chars, composition_compute_stop_pos) |
| 679 | and gstring_work_headers. DEFVAR_LISP composition-function-table. | 679 | (composition_reseat_it, composition_update_it) |
| 680 | Defsubr compostion_get_gstring. | 680 | (composition_adjust_point, Fcomposition_get_gstring): New |
| 681 | 681 | functions. | |
| 682 | * dispextern.h (struct glyph): New union u.cmp. Delete the member | 682 | (syms_of_composite): Initialize gstring_hash_table, gstrint_work, |
| 683 | cmp_id. | 683 | and gstring_work_headers. DEFVAR_LISP composition-function-table. |
| 684 | (struct glyph_string): Delete the member gidx. New members | 684 | Defsubr compostion_get_gstring. |
| 685 | cmp_id, cmp_from, and cmp_to. | 685 | |
| 686 | (enum it_method): Delete GET_FROM_COMPOSITION. | 686 | * dispextern.h (struct glyph): New union u.cmp. Delete the member |
| 687 | (struct composition_it): New struct. | 687 | cmp_id. |
| 688 | (struct it): New member cmp_it, and iterator_stack_entry.cmp_it. | 688 | (struct glyph_string): Delete the member gidx. New members |
| 689 | Delete c, len, cmp_id, cmp_len in u.comp. | 689 | cmp_id, cmp_from, and cmp_to. |
| 690 | 690 | (enum it_method): Delete GET_FROM_COMPOSITION. | |
| 691 | * font.h (enum lgstring_indices): Delete it. | 691 | (struct composition_it): New struct. |
| 692 | (LGSTRING_XXX, LGLYPH_XXX): These macros moved to composite.h. | 692 | (struct it): New member cmp_it, and iterator_stack_entry.cmp_it. |
| 693 | (enum lglyph_indices): Likewise. | 693 | Delete c, len, cmp_id, cmp_len in u.comp. |
| 694 | (font_range): Extern adjusted. | 694 | |
| 695 | (font_fill_lglyph_metrics): Extern it. | 695 | * font.h (enum lgstring_indices): Delete it. |
| 696 | 696 | (LGSTRING_XXX, LGLYPH_XXX): These macros moved to composite.h. | |
| 697 | * font.c (QCf): New variable. | 697 | (enum lglyph_indices): Likewise. |
| 698 | (check_gstring): Use LGSTRING_GLYPH_LEN, not LGSTRING_LENGTH. | 698 | (font_range): Extern adjusted. |
| 699 | (font_prepare_composition): Delete this function. | 699 | (font_fill_lglyph_metrics): Extern it. |
| 700 | (font_range): Type and arguments changed. | 700 | |
| 701 | (Ffont_make_gstring, Ffont_fill_gstring): Delete them. | 701 | * font.c (QCf): New variable. |
| 702 | (font_fill_lglyph_metrics): New function. | 702 | (check_gstring): Use LGSTRING_GLYPH_LEN, not LGSTRING_LENGTH. |
| 703 | (Ffont_shape_text): Renamed to Ffont_shape_gstring and arguments | 703 | (font_prepare_composition): Delete this function. |
| 704 | changed. | 704 | (font_range): Type and arguments changed. |
| 705 | (syms_of_font): DEFSYM QCf. Delete defsubr for | 705 | (Ffont_make_gstring, Ffont_fill_gstring): Delete them. |
| 706 | Sfont_make_gstring, Sfont_fill_gstring, Sfont_shape_text. Defsubr | 706 | (font_fill_lglyph_metrics): New function. |
| 707 | Sfont_shape_gstring. | 707 | (Ffont_shape_text): Renamed to Ffont_shape_gstring and arguments |
| 708 | 708 | changed. | |
| 709 | * fontset.h (font_for_char): Extern it. | 709 | (syms_of_font): DEFSYM QCf. Delete defsubr for |
| 710 | 710 | Sfont_make_gstring, Sfont_fill_gstring, Sfont_shape_text. Defsubr | |
| 711 | * fontset.c (font_for_char): New function. | 711 | Sfont_shape_gstring. |
| 712 | 712 | ||
| 713 | * ftfont.c: Include composite.h. | 713 | * fontset.h (font_for_char): Extern it. |
| 714 | (ftfont_resolve_generic_family): Add langset "en" to pattern. | 714 | |
| 715 | (ftfont_shape_by_flt): Use LGSTRING_GLYPH_LEN, not | 715 | * fontset.c (font_for_char): New function. |
| 716 | LGSTRING_LENGTH. | 716 | |
| 717 | 717 | * ftfont.c: Include composite.h. | |
| 718 | * indent.c: Include composite.h and dispextern.h. | 718 | (ftfont_resolve_generic_family): Add langset "en" to pattern. |
| 719 | (check_composition): Delete this function. | 719 | (ftfont_shape_by_flt): Use LGSTRING_GLYPH_LEN, not |
| 720 | (scan_for_column): Handle composition by | 720 | LGSTRING_LENGTH. |
| 721 | composition_compute_stop_pos, composition_reseat_it, and | 721 | |
| 722 | composition_update_it. | 722 | * indent.c: Include composite.h and dispextern.h. |
| 723 | (compute_motion): Likewise. | 723 | (check_composition): Delete this function. |
| 724 | (Fvertical_motion): Fix checking of composition. | 724 | (scan_for_column): Handle composition by |
| 725 | 725 | composition_compute_stop_pos, composition_reseat_it, and | |
| 726 | * keyboard.c (adjust_point_for_property): Check composition by | 726 | composition_update_it. |
| 727 | composition_adjust_point. | 727 | (compute_motion): Likewise. |
| 728 | 728 | (Fvertical_motion): Fix checking of composition. | |
| 729 | * nsterm.m (ns_draw_glyph_string): Adjusted for the change of | 729 | |
| 730 | struct glyph_string. | 730 | * keyboard.c (adjust_point_for_property): Check composition by |
| 731 | 731 | composition_adjust_point. | |
| 732 | * term.c (encode_terminal_code): Adjusted for the change of struct | 732 | |
| 733 | glyph. | 733 | * nsterm.m (ns_draw_glyph_string): Adjusted for the change of |
| 734 | (append_composite_glyph): Adjusted for the change of struct it and | 734 | struct glyph_string. |
| 735 | struct glyph. | 735 | |
| 736 | (produce_composite_glyph): Likewise. | 736 | * term.c (encode_terminal_code): Adjusted for the change of struct |
| 737 | 737 | glyph. | |
| 738 | * w32term.c (x_draw_composite_glyph_string_foreground): Adjusted | 738 | (append_composite_glyph): Adjusted for the change of struct it and |
| 739 | for the change of struct glyph_string. | 739 | struct glyph. |
| 740 | (x_draw_glyph_string): Likewise. | 740 | (produce_composite_glyph): Likewise. |
| 741 | 741 | ||
| 742 | * w32uniscribe.c (struct uniscribe_font_info): Include composite.h. | 742 | * w32term.c (x_draw_composite_glyph_string_foreground): Adjusted |
| 743 | (uniscribe_shape): Use LGSTRING_GLYPH_LEN, not LGSTRING_LENGTH. | 743 | for the change of struct glyph_string. |
| 744 | 744 | (x_draw_glyph_string): Likewise. | |
| 745 | * xdisp.c: Include font.h. | 745 | |
| 746 | (it_props): Delete the entry for Qauto_composed. | 746 | * w32uniscribe.c (struct uniscribe_font_info): Include composite.h. |
| 747 | (init_iterator): Initialize it->cmp_it.id to -1. | 747 | (uniscribe_shape): Use LGSTRING_GLYPH_LEN, not LGSTRING_LENGTH. |
| 748 | (compute_stop_pos): Call composition_compute_stop_pos. | 748 | |
| 749 | (face_before_or_after_it_pos): Adjusted for the change of struct | 749 | * xdisp.c: Include font.h. |
| 750 | it. | 750 | (it_props): Delete the entry for Qauto_composed. |
| 751 | (handle_auto_composed_prop): Delete it. | 751 | (init_iterator): Initialize it->cmp_it.id to -1. |
| 752 | (handle_composition_prop): Handle only static composition. | 752 | (compute_stop_pos): Call composition_compute_stop_pos. |
| 753 | (next_overlay_string): Remove it->method == GET_FROM_COMPOSITION | 753 | (face_before_or_after_it_pos): Adjusted for the change of struct |
| 754 | from xassert. Initialize it->cmp_it.stop_pos. | 754 | it. |
| 755 | (push_it): Adjusted for the change of struct it. | 755 | (handle_auto_composed_prop): Delete it. |
| 756 | (pop_it): Likewise. | 756 | (handle_composition_prop): Handle only static composition. |
| 757 | (get_next_element): Delete next_element_from_composition. | 757 | (next_overlay_string): Remove it->method == GET_FROM_COMPOSITION |
| 758 | (CHAR_COMPOSED_P): New macro. | 758 | from xassert. Initialize it->cmp_it.stop_pos. |
| 759 | (get_next_display_element): For automatic composition, get a face | 759 | (push_it): Adjusted for the change of struct it. |
| 760 | from the font in the glyph-string. | 760 | (pop_it): Likewise. |
| 761 | (set_iterator_to_next): For GET_FROM_BUFFER and GET_FROM_STRING, | 761 | (get_next_element): Delete next_element_from_composition. |
| 762 | check composition by it->cmp_it.id. Delete GET_FROM_COMPOSITION | 762 | (CHAR_COMPOSED_P): New macro. |
| 763 | case. | 763 | (get_next_display_element): For automatic composition, get a face |
| 764 | (next_element_from_string): Check if the character at the current | 764 | from the font in the glyph-string. |
| 765 | position is composed by CHAR_COMPOSED_P. | 765 | (set_iterator_to_next): For GET_FROM_BUFFER and GET_FROM_STRING, |
| 766 | (next_element_from_buffer): Likewise. | 766 | check composition by it->cmp_it.id. Delete GET_FROM_COMPOSITION |
| 767 | (next_element_from_composition): Adjusted for the change of struct | 767 | case. |
| 768 | it. Update it->cmp_it. | 768 | (next_element_from_string): Check if the character at the current |
| 769 | (dump_glyph): Adjusted for the change of struct glyph. | 769 | position is composed by CHAR_COMPOSED_P. |
| 770 | (fill_composite_glyph_string): Adjusted for the change of struct | 770 | (next_element_from_buffer): Likewise. |
| 771 | it and struct glyph. Don't handle automatic composition here. | 771 | (next_element_from_composition): Adjusted for the change of struct |
| 772 | (fill_gstring_glyph_string): New function. | 772 | it. Update it->cmp_it. |
| 773 | (x_get_glyph_overhangs): Handle automatic composition. | 773 | (dump_glyph): Adjusted for the change of struct glyph. |
| 774 | (BUILD_COMPOSITE_GLYPH_STRING): Adjusted for the change of struct | 774 | (fill_composite_glyph_string): Adjusted for the change of struct |
| 775 | glyph. | 775 | it and struct glyph. Don't handle automatic composition here. |
| 776 | (BUILD_GSTRING_GLYPH_STRING): New macro. | 776 | (fill_gstring_glyph_string): New function. |
| 777 | (BUILD_GLYPH_STRINGS): Call BUILD_GSTRING_GLYPH_STRING for | 777 | (x_get_glyph_overhangs): Handle automatic composition. |
| 778 | automatic composition. | 778 | (BUILD_COMPOSITE_GLYPH_STRING): Adjusted for the change of struct |
| 779 | (append_composite_glyph): Adjusted for the change of struct it and | 779 | glyph. |
| 780 | struct glyph. | 780 | (BUILD_GSTRING_GLYPH_STRING): New macro. |
| 781 | (x_produce_glyphs): Adjusted for the change of struct it. | 781 | (BUILD_GLYPH_STRINGS): Call BUILD_GSTRING_GLYPH_STRING for |
| 782 | 782 | automatic composition. | |
| 783 | * xterm.c (x_draw_composite_glyph_string_foreground): Adjusted for | 783 | (append_composite_glyph): Adjusted for the change of struct it and |
| 784 | the change of struct glyph_string. | 784 | struct glyph. |
| 785 | (x_draw_glyph_string): Likewise. | 785 | (x_produce_glyphs): Adjusted for the change of struct it. |
| 786 | 786 | ||
| 787 | 2008-08-29 Glenn Morris <rgm@gnu.org> | 787 | * xterm.c (x_draw_composite_glyph_string_foreground): Adjusted for |
| 788 | 788 | the change of struct glyph_string. | |
| 789 | * buffer.c (word-wrap): Doc fix. | 789 | (x_draw_glyph_string): Likewise. |
| 790 | * xdisp.c (truncate-partial-width-windows): Doc fix. | 790 | |
| 791 | Increase default to 50. | 791 | 2008-08-29 Glenn Morris <rgm@gnu.org> |
| 792 | 792 | ||
| 793 | 2008-08-29 Chong Yidong <cyd@stupidchicken.com> | 793 | * buffer.c (word-wrap): Doc fix. |
| 794 | 794 | * xdisp.c (truncate-partial-width-windows): Doc fix. | |
| 795 | * xdisp.c (update_tool_bar_unwind): New function. | 795 | Increase default to 50. |
| 796 | (update_tool_bar): Temporarily set selected frame before building | 796 | |
| 797 | tool-bar items. | 797 | 2008-08-29 Chong Yidong <cyd@stupidchicken.com> |
| 798 | 798 | ||
| 799 | 2008-08-28 Michael Albinus <michael.albinus@gmx.de> | 799 | * xdisp.c (update_tool_bar_unwind): New function. |
| 800 | 800 | (update_tool_bar): Temporarily set selected frame before building | |
| 801 | * dbusbind.c (XD_ERROR, XD_DEBUG_MESSAGE): Use strncpy and | 801 | tool-bar items. |
| 802 | snprintf, respectively. | 802 | |
| 803 | (xd_append_arg): Convert strings with Fstring_make_unibyte. | 803 | 2008-08-28 Michael Albinus <michael.albinus@gmx.de> |
| 804 | 804 | ||
| 805 | 2008-08-28 Chong Yidong <cyd@stupidchicken.com> | 805 | * dbusbind.c (XD_ERROR, XD_DEBUG_MESSAGE): Use strncpy and |
| 806 | 806 | snprintf, respectively. | |
| 807 | * Makefile.in: Revert (undocumented) 2008-08-20 change adding | 807 | (xd_append_arg): Convert strings with Fstring_make_unibyte. |
| 808 | LDFLAGS to GNUstep CC invocation. | 808 | |
| 809 | 809 | 2008-08-28 Chong Yidong <cyd@stupidchicken.com> | |
| 810 | 2008-08-27 Chong Yidong <cyd@stupidchicken.com> | 810 | |
| 811 | 811 | * Makefile.in: Revert (undocumented) 2008-08-20 change adding | |
| 812 | * indent.c (Fvertical_motion): Revert last change. Handle the | 812 | LDFLAGS to GNUstep CC invocation. |
| 813 | general case where we are moving forward, and PT spans multiple | 813 | |
| 814 | screen lines. | 814 | 2008-08-27 Chong Yidong <cyd@stupidchicken.com> |
| 815 | 815 | ||
| 816 | * eval.c (find_handler_clause): Temporarily increase | 816 | * indent.c (Fvertical_motion): Revert last change. Handle the |
| 817 | max-lisp-eval-depth while printing the backtrace buffer, to | 817 | general case where we are moving forward, and PT spans multiple |
| 818 | guarantee that help-mode code can run. | 818 | screen lines. |
| 819 | 819 | ||
| 820 | 2008-08-27 Eli Zaretskii <eliz@gnu.org> | 820 | * eval.c (find_handler_clause): Temporarily increase |
| 821 | 821 | max-lisp-eval-depth while printing the backtrace buffer, to | |
| 822 | * msdos.c (Fmsdos_remember_default_colors): Don't reverse frame | 822 | guarantee that help-mode code can run. |
| 823 | colors under -rv. | 823 | |
| 824 | (IT_set_frame_parameters): Don't swap foreground and background | 824 | 2008-08-27 Eli Zaretskii <eliz@gnu.org> |
| 825 | colors if `(reverse . t)' is present in the frame properties. | 825 | |
| 826 | (internal_terminal_init): Call init_frame_faces only for the | 826 | * msdos.c (Fmsdos_remember_default_colors): Don't reverse frame |
| 827 | initial frame. | 827 | colors under -rv. |
| 828 | 828 | (IT_set_frame_parameters): Don't swap foreground and background | |
| 829 | 2008-08-27 Andreas Schwab <schwab@suse.de> | 829 | colors if `(reverse . t)' is present in the frame properties. |
| 830 | 830 | (internal_terminal_init): Call init_frame_faces only for the | |
| 831 | * dired.c (Ffile_attributes): Avoid compiler warning in bitshift. | 831 | initial frame. |
| 832 | 832 | ||
| 833 | 2008-08-27 Andreas Schwab <schwab@suse.de> | 833 | 2008-08-27 Andreas Schwab <schwab@suse.de> |
| 834 | 834 | ||
| 835 | * search.c (search_buffer): Set char_base to zero only at the end. | 835 | * dired.c (Ffile_attributes): Avoid compiler warning in bitshift. |
| 836 | 836 | ||
| 837 | 2008-08-27 Kenichi Handa <handa@m17n.org> | 837 | 2008-08-27 Andreas Schwab <schwab@suse.de> |
| 838 | 838 | ||
| 839 | * fileio.c (report_file_error): Fix handling of multibyte error | 839 | * search.c (search_buffer): Set char_base to zero only at the end. |
| 840 | string. | 840 | |
| 841 | 841 | 2008-08-27 Kenichi Handa <handa@m17n.org> | |
| 842 | 2008-08-27 Andreas Seltenreich <seltenreich@gmx.de> | 842 | |
| 843 | 843 | * fileio.c (report_file_error): Fix handling of multibyte error | |
| 844 | * xterm.c (x_term_init): Temporarily hide the partially | 844 | string. |
| 845 | initialized terminal while calling vendor-specific-keysyms. | 845 | |
| 846 | 846 | 2008-08-27 Andreas Seltenreich <seltenreich@gmx.de> | |
| 847 | 2008-08-26 Eli Zaretskii <eliz@gnu.org> | 847 | |
| 848 | 848 | * xterm.c (x_term_init): Temporarily hide the partially | |
| 849 | * msdos.c (internal_terminal_init): Most initializations done only | 849 | initialized terminal while calling vendor-specific-keysyms. |
| 850 | once, especially initial_screen_colors[] and termscript open. | 850 | |
| 851 | 851 | 2008-08-26 Eli Zaretskii <eliz@gnu.org> | |
| 852 | 2008-08-26 Chong Yidong <cyd@stupidchicken.com> | 852 | |
| 853 | 853 | * msdos.c (internal_terminal_init): Most initializations done only | |
| 854 | * eval.c (Fcondition_case): Doc fix. | 854 | once, especially initial_screen_colors[] and termscript open. |
| 855 | 855 | ||
| 856 | * widgetprv.h (EmacsFramePart): Change font member to the new font | 856 | 2008-08-26 Chong Yidong <cyd@stupidchicken.com> |
| 857 | struct. | 857 | |
| 858 | 858 | * eval.c (Fcondition_case): Doc fix. | |
| 859 | * widget.c: Include character.h and font.h for XSETFONT. | 859 | |
| 860 | (setup_frame_gcs): Compute X font id from font struct, just once. | 860 | * widgetprv.h (EmacsFramePart): Change font member to the new font |
| 861 | 861 | struct. | |
| 862 | 2008-08-26 Eli Zaretskii <eliz@gnu.org> | 862 | |
| 863 | 863 | * widget.c: Include character.h and font.h for XSETFONT. | |
| 864 | * term.c (get_named_tty): Fix last change. | 864 | (setup_frame_gcs): Compute X font id from font struct, just once. |
| 865 | 865 | ||
| 866 | 2008-08-26 Chong Yidong <cyd@stupidchicken.com> | 866 | 2008-08-26 Eli Zaretskii <eliz@gnu.org> |
| 867 | 867 | ||
| 868 | * indent.c (Fvertical_motion): If moving forward starting from a | 868 | * term.c (get_named_tty): Fix last change. |
| 869 | multi-line string, move the iterator to the last line of that | 869 | |
| 870 | string. | 870 | 2008-08-26 Chong Yidong <cyd@stupidchicken.com> |
| 871 | 871 | ||
| 872 | 2008-08-25 Eli Zaretskii <eliz@gnu.org> | 872 | * indent.c (Fvertical_motion): If moving forward starting from a |
| 873 | 873 | multi-line string, move the iterator to the last line of that | |
| 874 | * frame.c (do_switch_frame): Mark previously displayed frame as | 874 | string. |
| 875 | obscured for FRAME_MSDOS_P frames as well. | 875 | |
| 876 | 876 | 2008-08-25 Eli Zaretskii <eliz@gnu.org> | |
| 877 | 2008-08-24 Eli Zaretskii <eliz@gnu.org> | 877 | |
| 878 | 878 | * frame.c (do_switch_frame): Mark previously displayed frame as | |
| 879 | * frame.c (make_terminal_frame): Initialize f->terminal, | 879 | obscured for FRAME_MSDOS_P frames as well. |
| 880 | f->terminal->reference_count, and scroll bars on MS-DOS as well. | 880 | |
| 881 | Set the top frame to newly created frame. | 881 | 2008-08-24 Eli Zaretskii <eliz@gnu.org> |
| 882 | (Fmake_terminal_frame): Reuse the_only_display_info. | 882 | |
| 883 | 883 | * frame.c (make_terminal_frame): Initialize f->terminal, | |
| 884 | * vm-limit.c (get_lim_data) [MSDOS]: Use alternative methods of | 884 | f->terminal->reference_count, and scroll bars on MS-DOS as well. |
| 885 | estimating available memory. | 885 | Set the top frame to newly created frame. |
| 886 | 886 | (Fmake_terminal_frame): Reuse the_only_display_info. | |
| 887 | 2008-08-23 David Reitter <david.reitter@gmail.com> | 887 | |
| 888 | 888 | * vm-limit.c (get_lim_data) [MSDOS]: Use alternative methods of | |
| 889 | * nsterm.m (ns_draw_window_cursor): Don't call | 889 | estimating available memory. |
| 890 | NSDisableScreenUpdates and NSEnableScreenUpdates on | 890 | |
| 891 | non-NS_IMPL_COCOA systems. | 891 | 2008-08-23 David Reitter <david.reitter@gmail.com> |
| 892 | 892 | ||
| 893 | 2008-08-23 Andreas Schwab <schwab@suse.de> | 893 | * nsterm.m (ns_draw_window_cursor): Don't call |
| 894 | 894 | NSDisableScreenUpdates and NSEnableScreenUpdates on | |
| 895 | * process.c (procfs_system_process_attributes): Fix use of | 895 | non-NS_IMPL_COCOA systems. |
| 896 | uninitialized variables. | 896 | |
| 897 | 897 | 2008-08-23 Andreas Schwab <schwab@suse.de> | |
| 898 | 2008-08-23 Eli Zaretskii <eliz@gnu.org> | 898 | |
| 899 | 899 | * process.c (procfs_system_process_attributes): Fix use of | |
| 900 | * emacs.c (main) [MSDOS]: Call syms_of_xmenu. | 900 | uninitialized variables. |
| 901 | 901 | ||
| 902 | * dispnew.c (init_display): Remove MS-DOS specific conditions for | 902 | 2008-08-23 Eli Zaretskii <eliz@gnu.org> |
| 903 | calling tty-set-up-initial-frame-faces. | 903 | |
| 904 | 904 | * emacs.c (main) [MSDOS]: Call syms_of_xmenu. | |
| 905 | * xmenu.c (Fx_popup_dialog, Fx_popup_menu, xmenu_show): Allow | 905 | |
| 906 | MSDOS frames along with X frames. | 906 | * dispnew.c (init_display): Remove MS-DOS specific conditions for |
| 907 | 907 | calling tty-set-up-initial-frame-faces. | |
| 908 | * termhooks.h (TERMINAL_ACTIVE_P): Handle output_msdos_raw in | 908 | |
| 909 | addition to output_termcap. | 909 | * xmenu.c (Fx_popup_dialog, Fx_popup_menu, xmenu_show): Allow |
| 910 | 910 | MSDOS frames along with X frames. | |
| 911 | * xdisp.c (redisplay_internal) [MSDOS]: Don't call set_tty_color_mode. | 911 | |
| 912 | 912 | * termhooks.h (TERMINAL_ACTIVE_P): Handle output_msdos_raw in | |
| 913 | * termchar.h (FRAME_TTY): Support output_msdos_raw. | 913 | addition to output_termcap. |
| 914 | (struct tty_display_info) [MSDOS]: Add fields related to mouse | 914 | |
| 915 | highlight. | 915 | * xdisp.c (redisplay_internal) [MSDOS]: Don't call set_tty_color_mode. |
| 916 | 916 | ||
| 917 | * process.c [!subprocesses]: Define QCname. | 917 | * termchar.h (FRAME_TTY): Support output_msdos_raw. |
| 918 | (syms_of_process): Intern and staticpro it. | 918 | (struct tty_display_info) [MSDOS]: Add fields related to mouse |
| 919 | 919 | highlight. | |
| 920 | * w16select.c (Fw16_set_clipboard_data, Fw16_get_clipboard_data): | 920 | |
| 921 | Adjust for changes in encoding/decoding routines. Use | 921 | * process.c [!subprocesses]: Define QCname. |
| 922 | encode_coding_object and decode_coding_object instead of | 922 | (syms_of_process): Intern and staticpro it. |
| 923 | encode_coding and decode_coding. | 923 | |
| 924 | 924 | * w16select.c (Fw16_set_clipboard_data, Fw16_get_clipboard_data): | |
| 925 | * sysdep.c (init_sys_modes): Call dos_ttraw with tty_out as | 925 | Adjust for changes in encoding/decoding routines. Use |
| 926 | argument. | 926 | encode_coding_object and decode_coding_object instead of |
| 927 | 927 | encode_coding and decode_coding. | |
| 928 | * dosfns.c: Include frame.h before termhooks.h. | 928 | |
| 929 | (dos_cleanup): Use CURTTY ()->termscript instead of a global | 929 | * sysdep.c (init_sys_modes): Call dos_ttraw with tty_out as |
| 930 | variable termscript. | 930 | argument. |
| 931 | 931 | ||
| 932 | * s/msdos.h (USER_FULL_NAME): Define. | 932 | * dosfns.c: Include frame.h before termhooks.h. |
| 933 | (SYSTEM_PURESIZE_EXTRA): Bump up to 100K. | 933 | (dos_cleanup): Use CURTTY ()->termscript instead of a global |
| 934 | 934 | variable termscript. | |
| 935 | * editfns.c (USER_FULL_NAME): Define to pw->pw_gecos if undefined. | 935 | |
| 936 | (Fuser_full_name): Use USER_FULL_NAME instead of a literal | 936 | * s/msdos.h (USER_FULL_NAME): Define. |
| 937 | pw->pw_gecos. | 937 | (SYSTEM_PURESIZE_EXTRA): Bump up to 100K. |
| 938 | 938 | ||
| 939 | * keyboard.c (handle_interrupt) [MSDOS]: Call cursor_to with | 939 | * editfns.c (USER_FULL_NAME): Define to pw->pw_gecos if undefined. |
| 940 | SELECTED_FRAME as additional (1st) argument. | 940 | (Fuser_full_name): Use USER_FULL_NAME instead of a literal |
| 941 | (tty_read_avail_input): Handle output_msdos_raw in | 941 | pw->pw_gecos. |
| 942 | addition to output_termcap. | 942 | |
| 943 | 943 | * keyboard.c (handle_interrupt) [MSDOS]: Call cursor_to with | |
| 944 | * msdos.c: Include frame.h before termhooks.h. | 944 | SELECTED_FRAME as additional (1st) argument. |
| 945 | (mouse_on, mouse_off, mouse_moveto, mouse_init) | 945 | (tty_read_avail_input): Handle output_msdos_raw in |
| 946 | (msdos_set_cursor_shape, IT_set_face, IT_write_glyphs) | 946 | addition to output_termcap. |
| 947 | (show_mouse_face, IT_clear_end_of_line, IT_clear_screen) | 947 | |
| 948 | (IT_clear_to_end, IT_cursor_to, IT_display_cursor, IT_cmgoto) | 948 | * msdos.c: Include frame.h before termhooks.h. |
| 949 | (IT_set_terminal_modes, IT_reset_terminal_modes) | 949 | (mouse_on, mouse_off, mouse_moveto, mouse_init) |
| 950 | (IT_set_frame_parameters): Use tty->termscript instead of a global | 950 | (msdos_set_cursor_shape, IT_set_face, IT_write_glyphs) |
| 951 | variable termscript. | 951 | (show_mouse_face, IT_clear_end_of_line, IT_clear_screen) |
| 952 | (IT_write_glyphs): Use tty->terminal->terminal_coding instead of a | 952 | (IT_clear_to_end, IT_cursor_to, IT_display_cursor, IT_cmgoto) |
| 953 | global variable terminal_coding. Don't refer to | 953 | (IT_set_terminal_modes, IT_reset_terminal_modes) |
| 954 | Vnonascii_translation_table. | 954 | (IT_set_frame_parameters): Use tty->termscript instead of a global |
| 955 | (internal_terminal_init): Set Vwindow_system in current_kboard. | 955 | variable termscript. |
| 956 | Don't use TTY_CHAR_INS_DEL_OK. Set Vinitial_window_system. | 956 | (IT_write_glyphs): Use tty->terminal->terminal_coding instead of a |
| 957 | Announce date and time of session start, if termscript is open. | 957 | global variable terminal_coding. Don't refer to |
| 958 | Don't zero out the_only_display_info (it is done in | 958 | Vnonascii_translation_table. |
| 959 | term.c:init_tty). Open termscript only of not already open. Log | 959 | (internal_terminal_init): Set Vwindow_system in current_kboard. |
| 960 | "SCREEN SAVED" here, instead of IT_set_terminal_modes. Init mouse | 960 | Don't use TTY_CHAR_INS_DEL_OK. Set Vinitial_window_system. |
| 961 | here instead of dos_ttraw. Don't initialize display if this is an | 961 | Announce date and time of session start, if termscript is open. |
| 962 | initial tty. Don't set FRAME_FONT. | 962 | Don't zero out the_only_display_info (it is done in |
| 963 | (Vwindow_system_version): Bump to 23. | 963 | term.c:init_tty). Open termscript only of not already open. Log |
| 964 | (dos_ttraw): Accept a TTY argument; all callers fixed. If mouse | 964 | "SCREEN SAVED" here, instead of IT_set_terminal_modes. Init mouse |
| 965 | is available, set up mouse_position_hook. | 965 | here instead of dos_ttraw. Don't initialize display if this is an |
| 966 | (dos_ttraw, IT_set_terminal_modes): If called with initial | 966 | initial tty. Don't set FRAME_FONT. |
| 967 | terminal, do nothing. | 967 | (Vwindow_system_version): Bump to 23. |
| 968 | (IT_set_frame_parameters): Handle the Qtty_type frame | 968 | (dos_ttraw): Accept a TTY argument; all callers fixed. If mouse |
| 969 | parameter by calling internal_terminal_init. | 969 | is available, set up mouse_position_hook. |
| 970 | (dos_set_window_size, show_mouse_face) | 970 | (dos_ttraw, IT_set_terminal_modes): If called with initial |
| 971 | (clear_mouse_face, IT_note_mode_line_highlight) | 971 | terminal, do nothing. |
| 972 | (IT_note_mouse_highlight, IT_update_begin, IT_frame_up_to_date) | 972 | (IT_set_frame_parameters): Handle the Qtty_type frame |
| 973 | (dos_rawgetc): Use tty_display_info instead of x_display_info. | 973 | parameter by calling internal_terminal_init. |
| 974 | (initialize_msdos_display): New function. | 974 | (dos_set_window_size, show_mouse_face) |
| 975 | (IT_cursor_to, IT_clear_to_end, IT_clear_screen) | 975 | (clear_mouse_face, IT_note_mode_line_highlight) |
| 976 | (IT_clear_end_of_line, IT_insert_glyphs, IT_write_glyphs) | 976 | (IT_note_mouse_highlight, IT_update_begin, IT_frame_up_to_date) |
| 977 | (IT_delete_glyphs, IT_ring_bell, IT_reset_terminal_modes) | 977 | (dos_rawgetc): Use tty_display_info instead of x_display_info. |
| 978 | (IT_set_terminal_modes, IT_set_terminal_window, IT_update_begin): | 978 | (initialize_msdos_display): New function. |
| 979 | Accept additional argument: a pointer to a frame. All callers | 979 | (IT_cursor_to, IT_clear_to_end, IT_clear_screen) |
| 980 | changed. | 980 | (IT_clear_end_of_line, IT_insert_glyphs, IT_write_glyphs) |
| 981 | (request_sigio, unrequest_sigio): Don't define, now defined on | 981 | (IT_delete_glyphs, IT_ring_bell, IT_reset_terminal_modes) |
| 982 | sysdep.c. | 982 | (IT_set_terminal_modes, IT_set_terminal_window, IT_update_begin): |
| 983 | (IT_write_glyphs): Rewrite to use encode_terminal_code. | 983 | Accept additional argument: a pointer to a frame. All callers |
| 984 | 984 | changed. | |
| 985 | * term.c [MSDOS]: Include msdos.h. | 985 | (request_sigio, unrequest_sigio): Don't define, now defined on |
| 986 | (init_tty) [MSDOS]: Reuse most of WINDOWSNT branch. Change cpp | 986 | sysdep.c. |
| 987 | conditional to DOS_NT. Allow only one call to this function in a | 987 | (IT_write_glyphs): Rewrite to use encode_terminal_code. |
| 988 | session. Don't allocate a new struct tty_display_info; instead, | 988 | |
| 989 | reuse the_only_display_info. Call get_tty_size to get screen | 989 | * term.c [MSDOS]: Include msdos.h. |
| 990 | dimensions. Call init_baud_rate to set bad_rate. | 990 | (init_tty) [MSDOS]: Reuse most of WINDOWSNT branch. Change cpp |
| 991 | (dissociate_if_controlling_tty) [MSDOS]: Ifdef away function body. | 991 | conditional to DOS_NT. Allow only one call to this function in a |
| 992 | (Fsuspend_tty) [MSDOS]: Don't close input and output. | 992 | session. Don't allocate a new struct tty_display_info; instead, |
| 993 | (Fresume_tty) [MSDOS]: Don't reopen the TTY; instead, use | 993 | reuse the_only_display_info. Call get_tty_size to get screen |
| 994 | stdin/stdout. | 994 | dimensions. Call init_baud_rate to set bad_rate. |
| 995 | (get_tty_terminal, get_named_tty, Ftty_type) | 995 | (dissociate_if_controlling_tty) [MSDOS]: Ifdef away function body. |
| 996 | (Fcontrolling_tty_p): Handle output_msdos_raw in addition to | 996 | (Fsuspend_tty) [MSDOS]: Don't close input and output. |
| 997 | output_termcap. | 997 | (Fresume_tty) [MSDOS]: Don't reopen the TTY; instead, use |
| 998 | (Fresume_tty, Fsuspend_tty, init_tty, delete_tty): Call | 998 | stdin/stdout. |
| 999 | add_keyboard_wait_descriptor and delete_keyboard_wait_descriptor | 999 | (get_tty_terminal, get_named_tty, Ftty_type) |
| 1000 | only when subprocesses are supported | 1000 | (Fcontrolling_tty_p): Handle output_msdos_raw in addition to |
| 1001 | 1001 | output_termcap. | |
| 1002 | * frame.c (make_terminal_frame) [MSDOS]: Adjust initialization of | 1002 | (Fresume_tty, Fsuspend_tty, init_tty, delete_tty): Call |
| 1003 | f->output_data.x. | 1003 | add_keyboard_wait_descriptor and delete_keyboard_wait_descriptor |
| 1004 | (Fmake_terminal_frame) [MSDOS]: Don't allow creation of new | 1004 | only when subprocesses are supported |
| 1005 | terminal devices. | 1005 | |
| 1006 | 1006 | * frame.c (make_terminal_frame) [MSDOS]: Adjust initialization of | |
| 1007 | * msdos.h Remove definition of struct x_display_info and struct | 1007 | f->output_data.x. |
| 1008 | x_output. | 1008 | (Fmake_terminal_frame) [MSDOS]: Don't allow creation of new |
| 1009 | (FRAME_FONT): Use output_data.tty. | 1009 | terminal devices. |
| 1010 | (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Don't define. | 1010 | |
| 1011 | (struct x_display_info): Renamed from display_info. All users in | 1011 | * msdos.h Remove definition of struct x_display_info and struct |
| 1012 | msdos.c changed. | 1012 | x_output. |
| 1013 | (struct x_output): Remove background_pixel and foreground_pixel. | 1013 | (FRAME_FONT): Use output_data.tty. |
| 1014 | (the_only_display_info): Renamed from the_only_x_display. | 1014 | (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Don't define. |
| 1015 | (dos_ttraw): Update prototype. | 1015 | (struct x_display_info): Renamed from display_info. All users in |
| 1016 | 1016 | msdos.c changed. | |
| 1017 | * Makefile.in (MSDOS_OBJ): Add xmenu.o. | 1017 | (struct x_output): Remove background_pixel and foreground_pixel. |
| 1018 | (SOME_MACHINE_LISP): Add ../lisp/term/pc-win.elc. | 1018 | (the_only_display_info): Renamed from the_only_x_display. |
| 1019 | 1019 | (dos_ttraw): Update prototype. | |
| 1020 | 2008-08-23 Jason Rumney <jasonr@gnu.org> | 1020 | |
| 1021 | 1021 | * Makefile.in (MSDOS_OBJ): Add xmenu.o. | |
| 1022 | * image.c (enum tiff_keyword_index, tiff_format): Add :index keyword. | 1022 | (SOME_MACHINE_LISP): Add ../lisp/term/pc-win.elc. |
| 1023 | (fn_TIFFSetDirectory): New library function used. | 1023 | |
| 1024 | (init_tiff_functions) [HAVE_NTGUI]: Initialize it. | 1024 | 2008-08-23 Jason Rumney <jasonr@gnu.org> |
| 1025 | (tiff_load): Use :index to select among multiple images. Set count | 1025 | |
| 1026 | property when multiple images exist. | 1026 | * image.c (enum tiff_keyword_index, tiff_format): Add :index keyword. |
| 1027 | (gif_format): Use :index, not :image. | 1027 | (fn_TIFFSetDirectory): New library function used. |
| 1028 | 1028 | (init_tiff_functions) [HAVE_NTGUI]: Initialize it. | |
| 1029 | 2008-08-23 Chong Yidong <cyd@stupidchicken.com> | 1029 | (tiff_load): Use :index to select among multiple images. Set count |
| 1030 | 1030 | property when multiple images exist. | |
| 1031 | * xdisp.c (try_scrolling): Check INT_MAX instead of | 1031 | (gif_format): Use :index, not :image. |
| 1032 | MOST_POSITIVE_FIXNUM for maximum integer value. Include limits.h | 1032 | |
| 1033 | to obtain INT_MAX. | 1033 | 2008-08-23 Chong Yidong <cyd@stupidchicken.com> |
| 1034 | 1034 | ||
| 1035 | 2008-08-21 İsmail Dönmez <ismail@namtrac.org> (tiny change) | 1035 | * xdisp.c (try_scrolling): Check INT_MAX instead of |
| 1036 | 1036 | MOST_POSITIVE_FIXNUM for maximum integer value. Include limits.h | |
| 1037 | * xterm.c (x_delete_display): Don't call XrmDestroyDatabase on GTK+. | 1037 | to obtain INT_MAX. |
| 1038 | 1038 | ||
| 1039 | 2008-08-21 Christian Faulhammer <opfer@gentoo.org> (tiny change) | 1039 | 2008-08-21 İsmail Dönmez <ismail@namtrac.org> (tiny change) |
| 1040 | 1040 | ||
| 1041 | * Makefile.in (temacs${EXEEXT}): On GNUstep, link to appropriate | 1041 | * xterm.c (x_delete_display): Don't call XrmDestroyDatabase on GTK+. |
| 1042 | GNUstep library location. | 1042 | |
| 1043 | 1043 | 2008-08-21 Christian Faulhammer <opfer@gentoo.org> (tiny change) | |
| 1044 | 2008-08-21 Chong Yidong <cyd@stupidchicken.com> | 1044 | |
| 1045 | 1045 | * Makefile.in (temacs${EXEEXT}): On GNUstep, link to appropriate | |
| 1046 | * xfaces.c (x_update_menu_appearance): Check validity of menu font | 1046 | GNUstep library location. |
| 1047 | before using it. | 1047 | |
| 1048 | 1048 | 2008-08-21 Chong Yidong <cyd@stupidchicken.com> | |
| 1049 | * puresize.h (BASE_PURESIZE): Increase to 1250000. | 1049 | |
| 1050 | 1050 | * xfaces.c (x_update_menu_appearance): Check validity of menu font | |
| 1051 | 2008-08-20 Adrian Robert <Adrian.B.Robert@gmail.com> | 1051 | before using it. |
| 1052 | 1052 | ||
| 1053 | * nsfns.m (ns-read-file-name): Add casts to avoid warning. | 1053 | * puresize.h (BASE_PURESIZE): Increase to 1250000. |
| 1054 | (ns-convert-utf8-nfd-to-nfc): Warn if cannot execute correctly. | 1054 | |
| 1055 | * nsfont.m (nsfont_draw): Compare indexed colors to 0, not nil. | 1055 | 2008-08-20 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 1056 | * nsterm.h (EmacsView-unlockFocusNeedsFlush:): Add declaration. | 1056 | |
| 1057 | (EmacsApp-cursor_blink_handler): Remove declaration. | 1057 | * nsfns.m (ns-read-file-name): Add casts to avoid warning. |
| 1058 | * nsterm.m (ns_draw_glyph_string): Update first conditional body to | 1058 | (ns-convert-utf8-nfd-to-nfc): Warn if cannot execute correctly. |
| 1059 | match 01 Feb 2008 changes in xterm.c. | 1059 | * nsfont.m (nsfont_draw): Compare indexed colors to 0, not nil. |
| 1060 | (ns_read_socket): Add cast to avoid warning. | 1060 | * nsterm.h (EmacsView-unlockFocusNeedsFlush:): Add declaration. |
| 1061 | (EmacsApp-application:openFiles:): Don't call replyToOpenOrPrint: on | 1061 | (EmacsApp-cursor_blink_handler): Remove declaration. |
| 1062 | GNUstep. | 1062 | * nsterm.m (ns_draw_glyph_string): Update first conditional body to |
| 1063 | 1063 | match 01 Feb 2008 changes in xterm.c. | |
| 1064 | 2008-08-20 Chong Yidong <cyd@stupidchicken.com> | 1064 | (ns_read_socket): Add cast to avoid warning. |
| 1065 | 1065 | (EmacsApp-application:openFiles:): Don't call replyToOpenOrPrint: on | |
| 1066 | * xselect.c (x_get_foreign_selection): Return nil if desired | 1066 | GNUstep. |
| 1067 | selection could not be obtained, instead of signalling an error. | 1067 | |
| 1068 | 1068 | 2008-08-20 Chong Yidong <cyd@stupidchicken.com> | |
| 1069 | 2008-08-20 David Reitter <david.reitter@gmail.com> | 1069 | |
| 1070 | 1070 | * xselect.c (x_get_foreign_selection): Return nil if desired | |
| 1071 | * nsfns.m (ns_lisp_to_cursor_type): Replace with generic xfns.c. | 1071 | selection could not be obtained, instead of signalling an error. |
| 1072 | * nsterm.m: Remove ns-specific code for cursor blinking. | 1072 | |
| 1073 | (ns_draw_window_cursor): Clear cursor properly rather than | 1073 | 2008-08-20 David Reitter <david.reitter@gmail.com> |
| 1074 | redrawing the area. Respect width of bar cursors. | 1074 | |
| 1075 | These changes enable the use of generic blink-cursor-mode and | 1075 | * nsfns.m (ns_lisp_to_cursor_type): Replace with generic xfns.c. |
| 1076 | generic cursor types in NS and support smooth cursor movements (do | 1076 | * nsterm.m: Remove ns-specific code for cursor blinking. |
| 1077 | not blink off after command). | 1077 | (ns_draw_window_cursor): Clear cursor properly rather than |
| 1078 | * xdisp.c (get_phys_cursor_geometry): Redraw wider rectangle on | 1078 | redrawing the area. Respect width of bar cursors. |
| 1079 | Nextstep, too. | 1079 | These changes enable the use of generic blink-cursor-mode and |
| 1080 | 1080 | generic cursor types in NS and support smooth cursor movements (do | |
| 1081 | 2008-08-19 Kenichi Handa <handa@m17n.org> | 1081 | not blink off after command). |
| 1082 | 1082 | * xdisp.c (get_phys_cursor_geometry): Redraw wider rectangle on | |
| 1083 | * font.c (Vfont_log_deferred): New variable. | 1083 | Nextstep, too. |
| 1084 | (font_add_log): Check Vfont_log_deferred. | 1084 | |
| 1085 | (font_deferred_log): New function. | 1085 | 2008-08-19 Kenichi Handa <handa@m17n.org> |
| 1086 | 1086 | ||
| 1087 | * font.h (font_deferred_log): Extern it. | 1087 | * font.c (Vfont_log_deferred): New variable. |
| 1088 | 1088 | (font_add_log): Check Vfont_log_deferred. | |
| 1089 | * fontset.c (reorder_font_vector): Use encoding charset of fonts | 1089 | (font_deferred_log): New function. |
| 1090 | for sorting. | 1090 | |
| 1091 | (face_for_char): Use deferred log. | 1091 | * font.h (font_deferred_log): Extern it. |
| 1092 | 1092 | ||
| 1093 | 2008-08-18 Kenichi Handa <handa@m17n.org> | 1093 | * fontset.c (reorder_font_vector): Use encoding charset of fonts |
| 1094 | 1094 | for sorting. | |
| 1095 | * fontset.c (face_for_char): Add font log. | 1095 | (face_for_char): Use deferred log. |
| 1096 | 1096 | ||
| 1097 | * font.c (font_add_log): Add the font properties :script, :lang, | 1097 | 2008-08-18 Kenichi Handa <handa@m17n.org> |
| 1098 | and :otf in the log. | 1098 | |
| 1099 | 1099 | * fontset.c (face_for_char): Add font log. | |
| 1100 | 2008-08-17 Chong Yidong <cyd@stupidchicken.com> | 1100 | |
| 1101 | 1101 | * font.c (font_add_log): Add the font properties :script, :lang, | |
| 1102 | * xdisp.c: Remove dead code. | 1102 | and :otf in the log. |
| 1103 | (handle_invisible_prop, next_overlay_string): Defer call to | 1103 | |
| 1104 | setup_for_ellipsis. | 1104 | 2008-08-17 Chong Yidong <cyd@stupidchicken.com> |
| 1105 | (handle_stop, set_iterator_to_next): Call setup_for_ellipsis. | 1105 | |
| 1106 | 1106 | * xdisp.c: Remove dead code. | |
| 1107 | 2008-08-15 Chong Yidong <cyd@stupidchicken.com> | 1107 | (handle_invisible_prop, next_overlay_string): Defer call to |
| 1108 | 1108 | setup_for_ellipsis. | |
| 1109 | * xfaces.c (lookup_derived_face): Properly handle possible zero | 1109 | (handle_stop, set_iterator_to_next): Call setup_for_ellipsis. |
| 1110 | return value of get_lface_attributes. | 1110 | |
| 1111 | (merge_faces): Don't tell lookup_derived_face to signal an error | 1111 | 2008-08-15 Chong Yidong <cyd@stupidchicken.com> |
| 1112 | if face is not found. | 1112 | |
| 1113 | 1113 | * xfaces.c (lookup_derived_face): Properly handle possible zero | |
| 1114 | * dired.c (Fdirectory_files): Doc fix. | 1114 | return value of get_lface_attributes. |
| 1115 | 1115 | (merge_faces): Don't tell lookup_derived_face to signal an error | |
| 1116 | * process.c (make_process): Initialize kill_without_query struct | 1116 | if face is not found. |
| 1117 | member. | 1117 | |
| 1118 | 1118 | * dired.c (Fdirectory_files): Doc fix. | |
| 1119 | 2008-08-15 Eli Zaretskii <eliz@gnu.org> | 1119 | |
| 1120 | 1120 | * process.c (make_process): Initialize kill_without_query struct | |
| 1121 | * w32.c (w32_system_process_attributes) [_MSC_VER < 1300]: | 1121 | member. |
| 1122 | Alternative calculation of totphys for Visual Studio 6. | 1122 | |
| 1123 | 1123 | 2008-08-15 Eli Zaretskii <eliz@gnu.org> | |
| 1124 | * w32fns.c [_MSC_VER && _MSC_VER < 1300]: Declare HMONITOR. | 1124 | |
| 1125 | 1125 | * w32.c (w32_system_process_attributes) [_MSC_VER < 1300]: | |
| 1126 | * w32.c (_MEMORY_STATUS_EX, MEMORY_STATUS_EX, LPMEMORY_STATUS_EX): | 1126 | Alternative calculation of totphys for Visual Studio 6. |
| 1127 | Rename from _MEMORYSTATUSEX, MEMORYSTATUSEX, LPMEMORYSTATUSEX. | 1127 | |
| 1128 | All users changed. | 1128 | * w32fns.c [_MSC_VER && _MSC_VER < 1300]: Declare HMONITOR. |
| 1129 | (stat): Only root directory passed to GetDriveType. Allow RAM | 1129 | |
| 1130 | disk as well as local fixed disk when w32-get-true-file-attributes | 1130 | * w32.c (_MEMORY_STATUS_EX, MEMORY_STATUS_EX, LPMEMORY_STATUS_EX): |
| 1131 | is set to `local'. | 1131 | Rename from _MEMORYSTATUSEX, MEMORYSTATUSEX, LPMEMORYSTATUSEX. |
| 1132 | (CopySid_Proc, EqualSid_Proc, GetLengthSid_Proc): New typedefs. | 1132 | All users changed. |
| 1133 | (equal_sid, get_length_sid, copy_sid): New wrapper functions. | 1133 | (stat): Only root directory passed to GetDriveType. Allow RAM |
| 1134 | (w32_cached_id, w32_add_to_cache): New functions. | 1134 | disk as well as local fixed disk when w32-get-true-file-attributes |
| 1135 | (get_name_and_id): Look account names in the cache before calling | 1135 | is set to `local'. |
| 1136 | lookup_account_sid. | 1136 | (CopySid_Proc, EqualSid_Proc, GetLengthSid_Proc): New typedefs. |
| 1137 | (g_b_init_get_length_sid, g_b_init_equal_sid, g_b_init_copy_sid): | 1137 | (equal_sid, get_length_sid, copy_sid): New wrapper functions. |
| 1138 | New initialization flags. | 1138 | (w32_cached_id, w32_add_to_cache): New functions. |
| 1139 | (globals_of_w32): Initialize them to zero. | 1139 | (get_name_and_id): Look account names in the cache before calling |
| 1140 | (w32_system_process_attributes): Use w32_cached_id and | 1140 | lookup_account_sid. |
| 1141 | w32_add_to_cache. | 1141 | (g_b_init_get_length_sid, g_b_init_equal_sid, g_b_init_copy_sid): |
| 1142 | 1142 | New initialization flags. | |
| 1143 | 2008-08-14 Lawrence Mitchell <wence@gmx.li> | 1143 | (globals_of_w32): Initialize them to zero. |
| 1144 | 1144 | (w32_system_process_attributes): Use w32_cached_id and | |
| 1145 | * lread.c (Fread_char, Fread_char_exclusive): If no character | 1145 | w32_add_to_cache. |
| 1146 | event is read before timeout is reached, return nil, rather than | 1146 | |
| 1147 | converting to a number. | 1147 | 2008-08-14 Lawrence Mitchell <wence@gmx.li> |
| 1148 | 1148 | ||
| 1149 | 2008-08-14 Chong Yidong <cyd@stupidchicken.com> | 1149 | * lread.c (Fread_char, Fread_char_exclusive): If no character |
| 1150 | 1150 | event is read before timeout is reached, return nil, rather than | |
| 1151 | * fns.c (use_dialog_box): Doc fix. | 1151 | converting to a number. |
| 1152 | 1152 | ||
| 1153 | * s/darwin.h: Undefine HAVE_RES_INIT, which appears to be harmful | 1153 | 2008-08-14 Chong Yidong <cyd@stupidchicken.com> |
| 1154 | on OS X. | 1154 | |
| 1155 | 1155 | * fns.c (use_dialog_box): Doc fix. | |
| 1156 | 2008-08-13 Chong Yidong <cyd@stupidchicken.com> | 1156 | |
| 1157 | 1157 | * s/darwin.h: Undefine HAVE_RES_INIT, which appears to be harmful | |
| 1158 | * frame.c (Qns_parse_geometry): New var. | 1158 | on OS X. |
| 1159 | (Fx_parse_geometry): For HAVE_NS, call ns-parse-geometry. | 1159 | |
| 1160 | 1160 | 2008-08-13 Chong Yidong <cyd@stupidchicken.com> | |
| 1161 | 2008-08-11 Chong Yidong <cyd@stupidchicken.com> | 1161 | |
| 1162 | 1162 | * frame.c (Qns_parse_geometry): New var. | |
| 1163 | * xdisp.c (x_produce_glyphs): Handle the case when font has no | 1163 | (Fx_parse_geometry): For HAVE_NS, call ns-parse-geometry. |
| 1164 | space character in calculating tabs. | 1164 | |
| 1165 | 1165 | 2008-08-11 Chong Yidong <cyd@stupidchicken.com> | |
| 1166 | 2008-08-11 Dan Nicolaescu <dann@ics.uci.edu> | 1166 | |
| 1167 | 1167 | * xdisp.c (x_produce_glyphs): Handle the case when font has no | |
| 1168 | * Makefile.in (bootstrap-emacs): Use ln -f in the CANNOT_DUMP case. | 1168 | space character in calculating tabs. |
| 1169 | 1169 | ||
| 1170 | 2008-08-10 Glenn Morris <rgm@gnu.org> | 1170 | 2008-08-11 Dan Nicolaescu <dann@ics.uci.edu> |
| 1171 | 1171 | ||
| 1172 | * process.c (procfs_system_process_attributes): Use EMACS_INTs to | 1172 | * Makefile.in (bootstrap-emacs): Use ln -f in the CANNOT_DUMP case. |
| 1173 | silence gcc "limited range of data type" warnings in some | 1173 | |
| 1174 | make_fixnum_or_float calls. | 1174 | 2008-08-10 Glenn Morris <rgm@gnu.org> |
| 1175 | 1175 | ||
| 1176 | 2008-08-09 Eli Zaretskii <eliz@gnu.org> | 1176 | * process.c (procfs_system_process_attributes): Use EMACS_INTs to |
| 1177 | 1177 | silence gcc "limited range of data type" warnings in some | |
| 1178 | * w32.c (w32_system_process_attributes): If the process does not | 1178 | make_fixnum_or_float calls. |
| 1179 | exist, return nil. | 1179 | |
| 1180 | 1180 | 2008-08-09 Eli Zaretskii <eliz@gnu.org> | |
| 1181 | * w32.c: Include thelp32.h, psapi.h and coding.h. | 1181 | |
| 1182 | (_MEMORYSTATUSEX, _PROCESS_MEMORY_COUNTERS_EX): New struct | 1182 | * w32.c (w32_system_process_attributes): If the process does not |
| 1183 | declarations. | 1183 | exist, return nil. |
| 1184 | (CreateToolhelp32Snapshot_Proc, Process32First_Proc) | 1184 | |
| 1185 | (Process32Next_Proc): New typedefs. | 1185 | * w32.c: Include thelp32.h, psapi.h and coding.h. |
| 1186 | (g_b_init_create_toolhelp32_snapshot, g_b_init_process32_first) | 1186 | (_MEMORYSTATUSEX, _PROCESS_MEMORY_COUNTERS_EX): New struct |
| 1187 | (g_b_init_process32_next, g_b_init_open_thread_token) | 1187 | declarations. |
| 1188 | (g_b_init_impersonate_self, g_b_init_revert_to_self) | 1188 | (CreateToolhelp32Snapshot_Proc, Process32First_Proc) |
| 1189 | (g_b_init_get_process_memory_info, g_b_init_global_memory_status) | 1189 | (Process32Next_Proc): New typedefs. |
| 1190 | (g_b_init_get_process_working_set_size) | 1190 | (g_b_init_create_toolhelp32_snapshot, g_b_init_process32_first) |
| 1191 | (g_b_init_global_memory_status_ex): New static variables. | 1191 | (g_b_init_process32_next, g_b_init_open_thread_token) |
| 1192 | (globals_of_w32): Initialize them. | 1192 | (g_b_init_impersonate_self, g_b_init_revert_to_self) |
| 1193 | (create_toolhelp32_snapshot, process32_first, process32_next) | 1193 | (g_b_init_get_process_memory_info, g_b_init_global_memory_status) |
| 1194 | (open_thread_token, impersonate_self, revert_to_self) | 1194 | (g_b_init_get_process_working_set_size) |
| 1195 | (get_process_memory_info, get_process_working_set_size) | 1195 | (g_b_init_global_memory_status_ex): New static variables. |
| 1196 | (global_memory_status, global_memory_status_ex): New wrapper | 1196 | (globals_of_w32): Initialize them. |
| 1197 | functions. | 1197 | (create_toolhelp32_snapshot, process32_first, process32_next) |
| 1198 | (w32_list_system_processes, w32_system_process_attributes) | 1198 | (open_thread_token, impersonate_self, revert_to_self) |
| 1199 | (enable_privilege, restore_privilege, ltime, process_times): | 1199 | (get_process_memory_info, get_process_working_set_size) |
| 1200 | New functions. | 1200 | (global_memory_status, global_memory_status_ex): New wrapper |
| 1201 | (convert_time_raw): New function. | 1201 | functions. |
| 1202 | (convert_time): Remove conversion of FILETIME into time in 100 | 1202 | (w32_list_system_processes, w32_system_process_attributes) |
| 1203 | nsec units, call convert_time_raw instead. | 1203 | (enable_privilege, restore_privilege, ltime, process_times): |
| 1204 | 1204 | New functions. | |
| 1205 | * process.h (w32_list_system_processes, w32_system_process_attributes): | 1205 | (convert_time_raw): New function. |
| 1206 | Add prototypes. | 1206 | (convert_time): Remove conversion of FILETIME into time in 100 |
| 1207 | (Qeuid, Qegid, Qcomm, Qstate, Qppid, Qpgrp, Qsess, Qttname) | 1207 | nsec units, call convert_time_raw instead. |
| 1208 | (Qminflt, Qmajflt, Qcminflt, Qcmajflt, Qutime, Qstime, Qcutime) | 1208 | |
| 1209 | (Qpri, Qnice, Qthcount, Qstart, Qvsize, Qrss, Qargs, Quser, Qgroup) | 1209 | * process.h (w32_list_system_processes, w32_system_process_attributes): |
| 1210 | (Qetime, Qpcpu, Qpmem, Qtpgid, Qcstime): Add extern declarations. | 1210 | Add prototypes. |
| 1211 | 1211 | (Qeuid, Qegid, Qcomm, Qstate, Qppid, Qpgrp, Qsess, Qttname) | |
| 1212 | * process.c (Fsystem_process_attributes): Doc fix. | 1212 | (Qminflt, Qmajflt, Qcminflt, Qcmajflt, Qutime, Qstime, Qcutime) |
| 1213 | 1213 | (Qpri, Qnice, Qthcount, Qstart, Qvsize, Qrss, Qargs, Quser, Qgroup) | |
| 1214 | 2008-08-08 Chong Yidong <cyd@stupidchicken.com> | 1214 | (Qetime, Qpcpu, Qpmem, Qtpgid, Qcstime): Add extern declarations. |
| 1215 | 1215 | ||
| 1216 | * xdisp.c (move_it_to): When stopping at a charpos, check if that's | 1216 | * process.c (Fsystem_process_attributes): Doc fix. |
| 1217 | a continued multi-char glyph; if so, advance to the actual glyph. | 1217 | |
| 1218 | 1218 | 2008-08-08 Chong Yidong <cyd@stupidchicken.com> | |
| 1219 | 2008-08-07 Dan Nicolaescu <dann@ics.uci.edu> | 1219 | |
| 1220 | 1220 | * xdisp.c (move_it_to): When stopping at a charpos, check if that's | |
| 1221 | * s/darwin.h (OTHER_FILES): Do not define here, defined in config.in. | 1221 | a continued multi-char glyph; if so, advance to the actual glyph. |
| 1222 | 1222 | ||
| 1223 | * Makefile.in (ALL_OBJC_CFLAGS): New variable. | 1223 | 2008-08-07 Dan Nicolaescu <dann@ics.uci.edu> |
| 1224 | (.m.o): Use it. | 1224 | |
| 1225 | * config.in: Regenerate. | 1225 | * s/darwin.h (OTHER_FILES): Do not define here, defined in config.in. |
| 1226 | 1226 | ||
| 1227 | 2008-08-07 Chong Yidong <cyd@stupidchicken.com> | 1227 | * Makefile.in (ALL_OBJC_CFLAGS): New variable. |
| 1228 | 1228 | (.m.o): Use it. | |
| 1229 | * xdisp.c (redisplay_window): Revert last change. | 1229 | * config.in: Regenerate. |
| 1230 | (try_window): Check bottom scroll margin too. | 1230 | |
| 1231 | 1231 | 2008-08-07 Chong Yidong <cyd@stupidchicken.com> | |
| 1232 | 2008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com> | 1232 | |
| 1233 | 1233 | * xdisp.c (redisplay_window): Revert last change. | |
| 1234 | * config.in: Regenerate. | 1234 | (try_window): Check bottom scroll margin too. |
| 1235 | 1235 | ||
| 1236 | * Makefile.in (emacs): Remove ifndef NS conditional for 'emacs | 1236 | 2008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 1237 | -list-load-path-shadows'. | 1237 | |
| 1238 | (nsgui.h): Reduce number of things depending on it. | 1238 | * config.in: Regenerate. |
| 1239 | 1239 | ||
| 1240 | 2008-08-06 Chong Yidong <cyd@stupidchicken.com> | 1240 | * Makefile.in (emacs): Remove ifndef NS conditional for 'emacs |
| 1241 | 1241 | -list-load-path-shadows'. | |
| 1242 | * xdisp.c (try_scrolling): Use iterator to find the scroll margin, | 1242 | (nsgui.h): Reduce number of things depending on it. |
| 1243 | instead of window-end which does the wrong thing at eob. | 1243 | |
| 1244 | (try_cursor_movement): Minor optimization. | 1244 | 2008-08-06 Chong Yidong <cyd@stupidchicken.com> |
| 1245 | (redisplay_window): If scroll margin is defined, don't assume | 1245 | |
| 1246 | window doesn't need scrolling. | 1246 | * xdisp.c (try_scrolling): Use iterator to find the scroll margin, |
| 1247 | 1247 | instead of window-end which does the wrong thing at eob. | |
| 1248 | 2008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com> | 1248 | (try_cursor_movement): Minor optimization. |
| 1249 | 1249 | (redisplay_window): If scroll margin is defined, don't assume | |
| 1250 | * config.in: Regenerate. | 1250 | window doesn't need scrolling. |
| 1251 | 1251 | ||
| 1252 | * Makefile.in: Move nsXXX.m dependencies into big alphabetical list. | 1252 | 2008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 1253 | (mostlyclean): Don't delete *.d under NS. | 1253 | |
| 1254 | 1254 | * config.in: Regenerate. | |
| 1255 | * nsterm.h (NS_HAVE_INTEGER): Change to NS_HAVE_NSINTEGER. | 1255 | |
| 1256 | 1256 | * Makefile.in: Move nsXXX.m dependencies into big alphabetical list. | |
| 1257 | 2008-08-06 Kenichi Handa <handa@m17n.org> | 1257 | (mostlyclean): Don't delete *.d under NS. |
| 1258 | 1258 | ||
| 1259 | * xfont.c (xfont_list_family): Return a list of symbols, not strings. | 1259 | * nsterm.h (NS_HAVE_INTEGER): Change to NS_HAVE_NSINTEGER. |
| 1260 | 1260 | ||
| 1261 | 2008-08-06 Andreas Schwab <schwab@suse.de> | 1261 | 2008-08-06 Kenichi Handa <handa@m17n.org> |
| 1262 | 1262 | ||
| 1263 | * config.in: Regenerate. | 1263 | * xfont.c (xfont_list_family): Return a list of symbols, not strings. |
| 1264 | 1264 | ||
| 1265 | 2008-08-05 Chong Yidong <cyd@stupidchicken.com> | 1265 | 2008-08-06 Andreas Schwab <schwab@suse.de> |
| 1266 | 1266 | ||
| 1267 | * xdisp.c (redisplay_window): Don't enforce scroll-margin when | 1267 | * config.in: Regenerate. |
| 1268 | forcing a window start. | 1268 | |
| 1269 | 1269 | 2008-08-05 Chong Yidong <cyd@stupidchicken.com> | |
| 1270 | * fileio.c (Vauto_save_list_file_name): Move here from file.el. | 1270 | |
| 1271 | (auto_save_1): Update modtime when auto-save-list-file-name is on. | 1271 | * xdisp.c (redisplay_window): Don't enforce scroll-margin when |
| 1272 | 1272 | forcing a window start. | |
| 1273 | 2008-08-04 Adrian Robert <Adrian.B.Robert@gmail.com> | 1273 | |
| 1274 | 1274 | * fileio.c (Vauto_save_list_file_name): Move here from file.el. | |
| 1275 | * emacs.c (main): Under NS, set working dir to HOME when get a "psn" | 1275 | (auto_save_1): Update modtime when auto-save-list-file-name is on. |
| 1276 | argument. | 1276 | |
| 1277 | 1277 | 2008-08-04 Adrian Robert <Adrian.B.Robert@gmail.com> | |
| 1278 | 2008-08-05 Juanma Barranquero <lekktu@gmail.com> | 1278 | |
| 1279 | 1279 | * emacs.c (main): Under NS, set working dir to HOME when get a "psn" | |
| 1280 | * buffer.c (syms_of_buffer) <scroll-up-aggressively>: | 1280 | argument. |
| 1281 | <scroll-down-aggressively, before-change-functions>: | 1281 | |
| 1282 | <after-change-functions>: Reflow docstrings. | 1282 | 2008-08-05 Juanma Barranquero <lekktu@gmail.com> |
| 1283 | 1283 | ||
| 1284 | 2008-08-04 Adrian Robert <Adrian.B.Robert@gmail.com> | 1284 | * buffer.c (syms_of_buffer) <scroll-up-aggressively>: |
| 1285 | Ken Raeburn <raeburn@gnu.org> | 1285 | <scroll-down-aggressively, before-change-functions>: |
| 1286 | 1286 | <after-change-functions>: Reflow docstrings. | |
| 1287 | Dock menu customization, based on a patch by Ken Raeburn, plus some | 1287 | |
| 1288 | other fixes. | 1288 | 2008-08-04 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 1289 | * nsmenu.m (dockMenu): New variable. | 1289 | Ken Raeburn <raeburn@gnu.org> |
| 1290 | (EmacsDialog -clicked:): Fix mistake in change of 2008-07-17. | 1290 | |
| 1291 | 1291 | Dock menu customization, based on a patch by Ken Raeburn, plus some | |
| 1292 | * nsterm.h (dockMenu): Declare. | 1292 | other fixes. |
| 1293 | 1293 | * nsmenu.m (dockMenu): New variable. | |
| 1294 | * nsterm.m (KEY_NS_NEW_FRAME): New definition. | 1294 | (EmacsDialog -clicked:): Fix mistake in change of 2008-07-17. |
| 1295 | (ns_term_init): Initialize dockMenu. | 1295 | |
| 1296 | (EmacsApp -newFrame:, -applicationDockMenu:): New methods. | 1296 | * nsterm.h (dockMenu): Declare. |
| 1297 | (EmacsView -windowShouldClose:): Don't behave specially if <= 1 frame | 1297 | |
| 1298 | left. | 1298 | * nsterm.m (KEY_NS_NEW_FRAME): New definition. |
| 1299 | 1299 | (ns_term_init): Initialize dockMenu. | |
| 1300 | * lisp.h (LSB_TAG): Use on DARWIN_OS, not NS_IMPL_COCOA. | 1300 | (EmacsApp -newFrame:, -applicationDockMenu:): New methods. |
| 1301 | 1301 | (EmacsView -windowShouldClose:): Don't behave specially if <= 1 frame | |
| 1302 | 2008-08-04 Chong Yidong <cyd@stupidchicken.com> | 1302 | left. |
| 1303 | 1303 | ||
| 1304 | * nsterm.h: Test directly for NS_HAVE_INTEGER before defining it. | 1304 | * lisp.h (LSB_TAG): Use on DARWIN_OS, not NS_IMPL_COCOA. |
| 1305 | 1305 | ||
| 1306 | * config.in: Regenerate. | 1306 | 2008-08-04 Chong Yidong <cyd@stupidchicken.com> |
| 1307 | 1307 | ||
| 1308 | 2008-08-04 Seiji Zenitani <zenitani@mac.com> | 1308 | * nsterm.h: Test directly for NS_HAVE_INTEGER before defining it. |
| 1309 | 1309 | ||
| 1310 | * nsfns.m (x-create-frame): Set the frame parameter alpha to nil. | 1310 | * config.in: Regenerate. |
| 1311 | 1311 | ||
| 1312 | 2008-08-04 Chong Yidong <cyd@stupidchicken.com> | 1312 | 2008-08-04 Seiji Zenitani <zenitani@mac.com> |
| 1313 | 1313 | ||
| 1314 | * nsterm.h (find_and_call_menu_selection): Fix prototype. | 1314 | * nsfns.m (x-create-frame): Set the frame parameter alpha to nil. |
| 1315 | 1315 | ||
| 1316 | 2008-08-04 Adrian Robert <Adrian.B.Robert@gmail.com> | 1316 | 2008-08-04 Chong Yidong <cyd@stupidchicken.com> |
| 1317 | 1317 | ||
| 1318 | * emacs.c (main: unexec_init_emacs_zone): Call if on DARWIN_OS. | 1318 | * nsterm.h (find_and_call_menu_selection): Fix prototype. |
| 1319 | 1319 | ||
| 1320 | * keyboard.h: Comment an #endif. | 1320 | 2008-08-04 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 1321 | 1321 | ||
| 1322 | * lisp.h (have_menus_p): Adjust comment. | 1322 | * emacs.c (main: unexec_init_emacs_zone): Call if on DARWIN_OS. |
| 1323 | 1323 | ||
| 1324 | * menu.c (find_and_return_menu_selection): Fix comparison with | 1324 | * keyboard.h: Comment an #endif. |
| 1325 | client_data. | 1325 | |
| 1326 | 1326 | * lisp.h (have_menus_p): Adjust comment. | |
| 1327 | * nsmenu.m (popup_activated_flag): New variable. | 1327 | |
| 1328 | (popup_activated): New function. | 1328 | * menu.c (find_and_return_menu_selection): Fix comparison with |
| 1329 | (menu-or-popup-active-p): New exported lisp definition. | 1329 | client_data. |
| 1330 | (ns_popup_menu): Set popup_activated_flag. Call discard_menu_items() | 1330 | |
| 1331 | when popup done. | 1331 | * nsmenu.m (popup_activated_flag): New variable. |
| 1332 | (ns_popup_dialog): Set popup_activated_flag. | 1332 | (popup_activated): New function. |
| 1333 | 1333 | (menu-or-popup-active-p): New exported lisp definition. | |
| 1334 | * nsterm.m (EmacsView -conversationIdentifier): Use NSInteger | 1334 | (ns_popup_menu): Set popup_activated_flag. Call discard_menu_items() |
| 1335 | version for GNUstep (handled by conditional typedef in nsterm.m). | 1335 | when popup done. |
| 1336 | (ns_get_color): Remove special-casing for "darkblue", "dark blue" (now | 1336 | (ns_popup_dialog): Set popup_activated_flag. |
| 1337 | in rgb.txt). | 1337 | |
| 1338 | 1338 | * nsterm.m (EmacsView -conversationIdentifier): Use NSInteger | |
| 1339 | * process.c (init_process): Use DARWIN_OS, not DARWIN. | 1339 | version for GNUstep (handled by conditional typedef in nsterm.m). |
| 1340 | 1340 | (ns_get_color): Remove special-casing for "darkblue", "dark blue" (now | |
| 1341 | * sysselect.h: Conditionalize init_process undef on DARWIN_OS. | 1341 | in rgb.txt). |
| 1342 | 1342 | ||
| 1343 | * syssignal.h (FORWARD_SIGNAL_TO_MAIN_THREAD): Do it also under NS. | 1343 | * process.c (init_process): Use DARWIN_OS, not DARWIN. |
| 1344 | 1344 | ||
| 1345 | * xdisp.c (redisplay_internal, note_mouse_highlight): Under NS, | 1345 | * sysselect.h: Conditionalize init_process undef on DARWIN_OS. |
| 1346 | shortcircuit if popup_activated like GTK and X toolkit. | 1346 | |
| 1347 | 1347 | * syssignal.h (FORWARD_SIGNAL_TO_MAIN_THREAD): Do it also under NS. | |
| 1348 | * m/inter386.h: Change DARWIN to DARWIN_OS. | 1348 | |
| 1349 | 1349 | * xdisp.c (redisplay_internal, note_mouse_highlight): Under NS, | |
| 1350 | * s/darwin.h: Add #define DARWIN_OS. Get rid of C_SWITCH_SYSTEM def. | 1350 | shortcircuit if popup_activated like GTK and X toolkit. |
| 1351 | Change LIBS_MACGUI to LIBS_NSGUI. Move temacs-conditionalized defs | 1351 | |
| 1352 | closer to C_SWITCH_SYSTEM_TEMACS so usage is understood. Expand | 1352 | * m/inter386.h: Change DARWIN to DARWIN_OS. |
| 1353 | comment on NO_SOCK_SIGIO. | 1353 | |
| 1354 | 1354 | * s/darwin.h: Add #define DARWIN_OS. Get rid of C_SWITCH_SYSTEM def. | |
| 1355 | 2008-08-03 Chong Yidong <cyd@stupidchicken.com> | 1355 | Change LIBS_MACGUI to LIBS_NSGUI. Move temacs-conditionalized defs |
| 1356 | 1356 | closer to C_SWITCH_SYSTEM_TEMACS so usage is understood. Expand | |
| 1357 | * nsterm.m (windowDidResize): Remove stopModal call. | 1357 | comment on NO_SOCK_SIGIO. |
| 1358 | 1358 | ||
| 1359 | 2008-08-03 Andreas Schwab <schwab@suse.de> | 1359 | 2008-08-03 Chong Yidong <cyd@stupidchicken.com> |
| 1360 | 1360 | ||
| 1361 | * vm-limit.c (get_lim_data) [HAVE_GETRLIMIT && RLIMIT_AS]: Define. | 1361 | * nsterm.m (windowDidResize): Remove stopModal call. |
| 1362 | (check_memory_limits): Don't handle HAVE_GETRLIMIT here. | 1362 | |
| 1363 | 1363 | 2008-08-03 Andreas Schwab <schwab@suse.de> | |
| 1364 | 2008-08-02 Chong Yidong <cyd@stupidchicken.com> | 1364 | |
| 1365 | 1365 | * vm-limit.c (get_lim_data) [HAVE_GETRLIMIT && RLIMIT_AS]: Define. | |
| 1366 | * vm-limit.c (check_memory_limits): Don't use getrlimit on cygwin. | 1366 | (check_memory_limits): Don't handle HAVE_GETRLIMIT here. |
| 1367 | Don't use uninitialized pointer variable when using getrlimit. | 1367 | |
| 1368 | 1368 | 2008-08-02 Chong Yidong <cyd@stupidchicken.com> | |
| 1369 | 2008-08-02 Jason Rumney <jasonr@gnu.org> | 1369 | |
| 1370 | 1370 | * vm-limit.c (check_memory_limits): Don't use getrlimit on cygwin. | |
| 1371 | * w32font.c (compute_metrics): Don't mess with glyph_idx setting here. | 1371 | Don't use uninitialized pointer variable when using getrlimit. |
| 1372 | 1372 | ||
| 1373 | 2008-08-02 Eli Zaretskii <eliz@gnu.org> | 1373 | 2008-08-02 Jason Rumney <jasonr@gnu.org> |
| 1374 | 1374 | ||
| 1375 | * alloc.c (NSTATICS): Bump to 0x640. | 1375 | * w32font.c (compute_metrics): Don't mess with glyph_idx setting here. |
| 1376 | 1376 | ||
| 1377 | * s/gnu-linux.h (HAVE_PROCFS, LISTPROC, PROCATTR): New defines. | 1377 | 2008-08-02 Eli Zaretskii <eliz@gnu.org> |
| 1378 | 1378 | ||
| 1379 | * lisp.h: Add prototype for directory_files_internal. | 1379 | * alloc.c (NSTATICS): Bump to 0x640. |
| 1380 | 1380 | ||
| 1381 | * process.c (Fsystem_processes_list, Fsystem_process_attributes): | 1381 | * s/gnu-linux.h (HAVE_PROCFS, LISTPROC, PROCATTR): New defines. |
| 1382 | New functions. | 1382 | |
| 1383 | (syms_of_process): Defsubr them. Add initializations for various | 1383 | * lisp.h: Add prototype for directory_files_internal. |
| 1384 | Q* symbols used in procfs_system_process_attributes. | 1384 | |
| 1385 | (procfs_list_system_processes, procfs_system_process_attributes) | 1385 | * process.c (Fsystem_processes_list, Fsystem_process_attributes): |
| 1386 | [HAVE_PROCFS]: New functions. | 1386 | New functions. |
| 1387 | (time_from_jiffies, ltime_from_jiffies, get_up_time, procfs_ttyname) | 1387 | (syms_of_process): Defsubr them. Add initializations for various |
| 1388 | (procfs_get_total_memory): New functions. | 1388 | Q* symbols used in procfs_system_process_attributes. |
| 1389 | 1389 | (procfs_list_system_processes, procfs_system_process_attributes) | |
| 1390 | 2008-08-01 Juanma Barranquero <lekktu@gmail.com> | 1390 | [HAVE_PROCFS]: New functions. |
| 1391 | 1391 | (time_from_jiffies, ltime_from_jiffies, get_up_time, procfs_ttyname) | |
| 1392 | * xfaces.c (Fx_load_color_file): Fix previous change; | 1392 | (procfs_get_total_memory): New functions. |
| 1393 | it is #ifdef WINDOWSNT, not WINDOWS_NT. | 1393 | |
| 1394 | 1394 | 2008-08-01 Juanma Barranquero <lekktu@gmail.com> | |
| 1395 | 2008-08-01 Michael Albinus <michael.albinus@gmx.de> | 1395 | |
| 1396 | 1396 | * xfaces.c (Fx_load_color_file): Fix previous change; | |
| 1397 | * dbusbind.c (xd_read_message): Handle D-Bus error messages. | 1397 | it is #ifdef WINDOWSNT, not WINDOWS_NT. |
| 1398 | 1398 | ||
| 1399 | 2008-08-01 Adrian Robert <Adrian.B.Robert@gmail.com> | 1399 | 2008-08-01 Michael Albinus <michael.albinus@gmx.de> |
| 1400 | 1400 | ||
| 1401 | * nsterm.h (NSInteger, NSUInteger): Add defines for non-Leopard. | 1401 | * dbusbind.c (xd_read_message): Handle D-Bus error messages. |
| 1402 | 1402 | ||
| 1403 | 2008-08-01 Chong Yidong <cyd@stupidchicken.com> | 1403 | 2008-08-01 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 1404 | 1404 | ||
| 1405 | * nsfns.m (ns_frame_parm_handlers): Add empty entry for x_set_alpha. | 1405 | * nsterm.h (NSInteger, NSUInteger): Add defines for non-Leopard. |
| 1406 | 1406 | ||
| 1407 | * nsterm.m (EmacsApp -application:openFiles:): GNUstep does not | 1407 | 2008-08-01 Chong Yidong <cyd@stupidchicken.com> |
| 1408 | define NSApplicationDelegateReplySuccess. | 1408 | |
| 1409 | (EmacsView -converstationIdentifier): Use long instead of | 1409 | * nsfns.m (ns_frame_parm_handlers): Add empty entry for x_set_alpha. |
| 1410 | NSInteger for GNUstep, since it doesn't have NSInteger. | 1410 | |
| 1411 | 1411 | * nsterm.m (EmacsApp -application:openFiles:): GNUstep does not | |
| 1412 | * xmenu.c: Revert last change. | 1412 | define NSApplicationDelegateReplySuccess. |
| 1413 | 1413 | (EmacsView -converstationIdentifier): Use long instead of | |
| 1414 | * keyboard.h: Fix last change. | 1414 | NSInteger for GNUstep, since it doesn't have NSInteger. |
| 1415 | 1415 | ||
| 1416 | 2008-08-01 Juanma Barranquero <lekktu@gmail.com> | 1416 | * xmenu.c: Revert last change. |
| 1417 | 1417 | ||
| 1418 | * xfaces.c (x-load-color-file): Use RGB() instead of manually shifting | 1418 | * keyboard.h: Fix last change. |
| 1419 | on Windows. | 1419 | |
| 1420 | 1420 | 2008-08-01 Juanma Barranquero <lekktu@gmail.com> | |
| 1421 | 2008-08-01 Adrian Robert <Adrian.B.Robert@gmail.com> | 1421 | |
| 1422 | 1422 | * xfaces.c (x-load-color-file): Use RGB() instead of manually shifting | |
| 1423 | Warning clearing and clean-up in NS port. | 1423 | on Windows. |
| 1424 | * keyboard.h (xmalloc_widget_value, digest_single_submenu): | 1424 | |
| 1425 | Add prototypes. | 1425 | 2008-08-01 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 1426 | * nsgui.h (FACE_DEFAULT): Remove, unused. | 1426 | |
| 1427 | (XGCValues): Change colors to unsigned long. | 1427 | Warning clearing and clean-up in NS port. |
| 1428 | * nsterm.h (EmacsApp): Add declaration of all methods implemented in | 1428 | * keyboard.h (xmalloc_widget_value, digest_single_submenu): |
| 1429 | nsterm.m. | 1429 | Add prototypes. |
| 1430 | (EmacsMenu -addItemWithWidgetValue:): Change to use NSMenuItem class. | 1430 | * nsgui.h (FACE_DEFAULT): Remove, unused. |
| 1431 | (ns_list_fonts): Remove, unused. | 1431 | (XGCValues): Change colors to unsigned long. |
| 1432 | (ns_font_to_xlfd, ns_fontname_to_xlfd): Drop prototypes. | 1432 | * nsterm.h (EmacsApp): Add declaration of all methods implemented in |
| 1433 | * nsfns.m (interpret_services_menu): Use NSMenuItem class. | 1433 | nsterm.m. |
| 1434 | * nsfont.m (nsfont_open): Fix cast error in glyphs,metrics alloc. | 1434 | (EmacsMenu -addItemWithWidgetValue:): Change to use NSMenuItem class. |
| 1435 | (nsfont_draw): Compare face colors to 0, not nil. | 1435 | (ns_list_fonts): Remove, unused. |
| 1436 | * nsmenu.m (struct widget_value): Drop unneeded declaration. | 1436 | (ns_font_to_xlfd, ns_fontname_to_xlfd): Drop prototypes. |
| 1437 | (EmacsMenu -addItemWithWidgetValue:, -fillWithWidgetValue:) | 1437 | * nsfns.m (interpret_services_menu): Use NSMenuItem class. |
| 1438 | (-addSubmenuWithTitle:): Use NSMenuItem class. | 1438 | * nsfont.m (nsfont_open): Fix cast error in glyphs,metrics alloc. |
| 1439 | (ns_popup_menu): Use NO, not NULL, for enabled setting. | 1439 | (nsfont_draw): Compare face colors to 0, not nil. |
| 1440 | * nsterm.m (ns_draw_glyph_string): Don't compare font to ~0. | 1440 | * nsmenu.m (struct widget_value): Drop unneeded declaration. |
| 1441 | (ns_clip_to_row): Make gc arg a BOOL. | 1441 | (EmacsMenu -addItemWithWidgetValue:, -fillWithWidgetValue:) |
| 1442 | (ns_draw_fringe_bitmap, ns_draw_window_cursor): Use YES, NO in | 1442 | (-addSubmenuWithTitle:): Use NSMenuItem class. |
| 1443 | ns_clip_to_row() call. | 1443 | (ns_popup_menu): Use NO, not NULL, for enabled setting. |
| 1444 | (ns_draw_glyph_string): Drop face comparison to ~0 (no longer | 1444 | * nsterm.m (ns_draw_glyph_string): Don't compare font to ~0. |
| 1445 | used). Cast FRAME_FONT assignments. | 1445 | (ns_clip_to_row): Make gc arg a BOOL. |
| 1446 | (ns_read_socket): Cast call to EmacsApp-fulfillService:withArg:. | 1446 | (ns_draw_fringe_bitmap, ns_draw_window_cursor): Use YES, NO in |
| 1447 | (ns_string_to_lispmod): Change arg to const char. | 1447 | ns_clip_to_row() call. |
| 1448 | (ns_term_init): Use NSMenuItem class. | 1448 | (ns_draw_glyph_string): Drop face comparison to ~0 (no longer |
| 1449 | (EmacsApp -openFile:): Move to different section of file. | 1449 | used). Cast FRAME_FONT assignments. |
| 1450 | (EmacsApp -application:openFiles:): Don't return a value, call | 1450 | (ns_read_socket): Cast call to EmacsApp-fulfillService:withArg:. |
| 1451 | -replyToOpenOrPrint:. | 1451 | (ns_string_to_lispmod): Change arg to const char. |
| 1452 | (EmacsView -keyDown:): Fix up cast. | 1452 | (ns_term_init): Use NSMenuItem class. |
| 1453 | (EmacsView -converstationIdentifier): Use NSInteger instead of long. | 1453 | (EmacsApp -openFile:): Move to different section of file. |
| 1454 | (EmacsView -menuDown:): Cast tag in call to | 1454 | (EmacsApp -application:openFiles:): Don't return a value, call |
| 1455 | find_and_call_menu_selection(). | 1455 | -replyToOpenOrPrint:. |
| 1456 | (ns_list_fonts): Remove, unused. | 1456 | (EmacsView -keyDown:): Fix up cast. |
| 1457 | (ns_font_to_xlfd): Make static. Cast result of UTF8String. | 1457 | (EmacsView -converstationIdentifier): Use NSInteger instead of long. |
| 1458 | (ns_fontname_to_xlfd): Make static. | 1458 | (EmacsView -menuDown:): Cast tag in call to |
| 1459 | * w32menu.c (xmalloc_widget_value, digest_single_submenu): | 1459 | find_and_call_menu_selection(). |
| 1460 | Remove prototypes (now in keyboard.h). | 1460 | (ns_list_fonts): Remove, unused. |
| 1461 | (next_menubar_widget_id): Remove, unused. | 1461 | (ns_font_to_xlfd): Make static. Cast result of UTF8String. |
| 1462 | * xmenu.c (xmalloc_widget_value, digest_single_submenu): | 1462 | (ns_fontname_to_xlfd): Make static. |
| 1463 | Remove prototypes (now in keyboard.h). | 1463 | * w32menu.c (xmalloc_widget_value, digest_single_submenu): |
| 1464 | * xfaces.c (ns_list_fonts, w32_list_fonts): Remove, unused. | 1464 | Remove prototypes (now in keyboard.h). |
| 1465 | 1465 | (next_menubar_widget_id): Remove, unused. | |
| 1466 | 2008-08-01 Dan Nicolaescu <dann@ics.uci.edu> | 1466 | * xmenu.c (xmalloc_widget_value, digest_single_submenu): |
| 1467 | 1467 | Remove prototypes (now in keyboard.h). | |
| 1468 | * Makefile.in (dispnew.o, gtkutil.o, sound.o, atimer.o) | 1468 | * xfaces.c (ns_list_fonts, w32_list_fonts): Remove, unused. |
| 1469 | (floatfns.o): Depend on syssignal.h. | 1469 | |
| 1470 | (term.o): Depend on syssignal.h, systty.h, and $(INTERVAL_SRC). | 1470 | 2008-08-01 Dan Nicolaescu <dann@ics.uci.edu> |
| 1471 | 1471 | ||
| 1472 | * systty.h: Fix previous change that removed BSD_TERMIOS. | 1472 | * Makefile.in (dispnew.o, gtkutil.o, sound.o, atimer.o) |
| 1473 | Add comments to #ifdefs. | 1473 | (floatfns.o): Depend on syssignal.h. |
| 1474 | 1474 | (term.o): Depend on syssignal.h, systty.h, and $(INTERVAL_SRC). | |
| 1475 | 2008-08-01 Adrian Robert <Adrian.B.Robert@gmail.com> | 1475 | |
| 1476 | 1476 | * systty.h: Fix previous change that removed BSD_TERMIOS. | |
| 1477 | * w32fns.c (w32-load-color-file): Remove. | 1477 | Add comments to #ifdefs. |
| 1478 | (x-open-connection): Use renamed Fx_load_color_file. | 1478 | |
| 1479 | * xfaces.c (x-load-color-file): Add. | 1479 | 2008-08-01 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 1480 | * nsterm.m (ns_initialize): Load colors from etc/rgb.txt instead of | 1480 | |
| 1481 | Emacs.clr. | 1481 | * w32fns.c (w32-load-color-file): Remove. |
| 1482 | (hide_hourglass): BLOCK_INPUT before UNBLOCK. | 1482 | (x-open-connection): Use renamed Fx_load_color_file. |
| 1483 | 1483 | * xfaces.c (x-load-color-file): Add. | |
| 1484 | 2008-07-31 Michael Albinus <michael.albinus@gmx.de> | 1484 | * nsterm.m (ns_initialize): Load colors from etc/rgb.txt instead of |
| 1485 | 1485 | Emacs.clr. | |
| 1486 | * dbusbind.c (Fdbus_call_method_asynchronously) | 1486 | (hide_hourglass): BLOCK_INPUT before UNBLOCK. |
| 1487 | (Fdbus_method_error_internal): New defuns. | 1487 | |
| 1488 | (xd_read_message): Handle also reply messages. | 1488 | 2008-07-31 Michael Albinus <michael.albinus@gmx.de> |
| 1489 | (Vdbus_registered_functions_table): Extend docstring. | 1489 | |
| 1490 | 1490 | * dbusbind.c (Fdbus_call_method_asynchronously) | |
| 1491 | 2008-07-31 Juanma Barranquero <lekktu@gmail.com> | 1491 | (Fdbus_method_error_internal): New defuns. |
| 1492 | 1492 | (xd_read_message): Handle also reply messages. | |
| 1493 | * keyboard.c (gobble_input): Fix previous change. | 1493 | (Vdbus_registered_functions_table): Extend docstring. |
| 1494 | 1494 | ||
| 1495 | 2008-07-31 Dan Nicolaescu <dann@ics.uci.edu> | 1495 | 2008-07-31 Juanma Barranquero <lekktu@gmail.com> |
| 1496 | 1496 | ||
| 1497 | * bitmaps/README: | 1497 | * keyboard.c (gobble_input): Fix previous change. |
| 1498 | * xfns.c: | 1498 | |
| 1499 | * termcap.c: | 1499 | 2008-07-31 Dan Nicolaescu <dann@ics.uci.edu> |
| 1500 | * term.c: | 1500 | |
| 1501 | * syswait.h: | 1501 | * bitmaps/README: |
| 1502 | * systty.h: | 1502 | * xfns.c: |
| 1503 | * systime.h: | 1503 | * termcap.c: |
| 1504 | * syssignal.h: | 1504 | * term.c: |
| 1505 | * sysdep.c: | 1505 | * syswait.h: |
| 1506 | * process.h: | 1506 | * systty.h: |
| 1507 | * process.c: | 1507 | * systime.h: |
| 1508 | * print.c: | 1508 | * syssignal.h: |
| 1509 | * ndir.h: | 1509 | * sysdep.c: |
| 1510 | * lread.c: | 1510 | * process.h: |
| 1511 | * keyboard.c: | 1511 | * process.c: |
| 1512 | * getpagesize.h: | 1512 | * print.c: |
| 1513 | * floatfns.c: | 1513 | * ndir.h: |
| 1514 | * fileio.c: | 1514 | * lread.c: |
| 1515 | * emacs.c: | 1515 | * keyboard.c: |
| 1516 | * doc.c: | 1516 | * getpagesize.h: |
| 1517 | * dispnew.c: | 1517 | * floatfns.c: |
| 1518 | * dired.c: | 1518 | * fileio.c: |
| 1519 | * data.c: | 1519 | * emacs.c: |
| 1520 | * callproc.c: | 1520 | * doc.c: |
| 1521 | * buffer.c: | 1521 | * dispnew.c: |
| 1522 | * README: | 1522 | * dired.c: |
| 1523 | * Makefile.in: | 1523 | * data.c: |
| 1524 | * s/template.h: | 1524 | * callproc.c: |
| 1525 | * s/msdos.h: | 1525 | * buffer.c: |
| 1526 | * m/vax.h: Remove VMS support. | 1526 | * README: |
| 1527 | * s/vms.h: | 1527 | * Makefile.in: |
| 1528 | * vlimit.h: | 1528 | * s/template.h: |
| 1529 | * uaf.h: | 1529 | * s/msdos.h: |
| 1530 | * temacs.opt: | 1530 | * m/vax.h: Remove VMS support. |
| 1531 | * param.h: | 1531 | * s/vms.h: |
| 1532 | * ioctl.h: Remove file. | 1532 | * vlimit.h: |
| 1533 | 1533 | * uaf.h: | |
| 1534 | 2008-07-31 Dan Nicolaescu <dann@ics.uci.edu> | 1534 | * temacs.opt: |
| 1535 | 1535 | * param.h: | |
| 1536 | * s/ms-w32.h (MULTI_KBOARD): Remove. | 1536 | * ioctl.h: Remove file. |
| 1537 | * xterm.c: | 1537 | |
| 1538 | * xselect.c: | 1538 | 2008-07-31 Dan Nicolaescu <dann@ics.uci.edu> |
| 1539 | * xfns.c: | 1539 | |
| 1540 | * window.c: | 1540 | * s/ms-w32.h (MULTI_KBOARD): Remove. |
| 1541 | * w32term.c: | 1541 | * xterm.c: |
| 1542 | * w32fns.c: | 1542 | * xselect.c: |
| 1543 | * terminal.c: | 1543 | * xfns.c: |
| 1544 | * termhooks.h: | 1544 | * window.c: |
| 1545 | * term.c: | 1545 | * w32term.c: |
| 1546 | * sysdep.c: | 1546 | * w32fns.c: |
| 1547 | * keyboard.h: | 1547 | * terminal.c: |
| 1548 | * keyboard.c: | 1548 | * termhooks.h: |
| 1549 | * frame.h: | 1549 | * term.c: |
| 1550 | * frame.c: | 1550 | * sysdep.c: |
| 1551 | * frame.c: Remove references to MULTI_KBOARD, it is now the default. | 1551 | * keyboard.h: |
| 1552 | * config.in: Regenerate. | 1552 | * keyboard.c: |
| 1553 | 1553 | * frame.h: | |
| 1554 | 2008-07-30 Jason Rumney <jasonr@gnu.org> | 1554 | * frame.c: |
| 1555 | 1555 | * frame.c: Remove references to MULTI_KBOARD, it is now the default. | |
| 1556 | * w32font.h (struct w32font_info): Use unicode version of textmetrics. | 1556 | * config.in: Regenerate. |
| 1557 | 1557 | ||
| 1558 | * w32font.c (w32font_encode_char): Leave as unicode if in range. | 1558 | 2008-07-30 Jason Rumney <jasonr@gnu.org> |
| 1559 | (w32font_open_internal): Get unicode version of textmetrics. | 1559 | |
| 1560 | Don't enable or disable glyph indices here. | 1560 | * w32font.h (struct w32font_info): Use unicode version of textmetrics. |
| 1561 | (w32font_open): Disable use of glyph indices. | 1561 | |
| 1562 | 1562 | * w32font.c (w32font_encode_char): Leave as unicode if in range. | |
| 1563 | * w32uniscribe.c (uniscribe_open): Enable use of glyph indices. | 1563 | (w32font_open_internal): Get unicode version of textmetrics. |
| 1564 | 1564 | Don't enable or disable glyph indices here. | |
| 1565 | 2008-07-30 Chong Yidong <cyd@stupidchicken.com> | 1565 | (w32font_open): Disable use of glyph indices. |
| 1566 | 1566 | ||
| 1567 | * minibuf.c (Vread_buffer_function): Doc fix. | 1567 | * w32uniscribe.c (uniscribe_open): Enable use of glyph indices. |
| 1568 | 1568 | ||
| 1569 | 2008-07-30 John Paul Wallington <jpw@pobox.com> | 1569 | 2008-07-30 Chong Yidong <cyd@stupidchicken.com> |
| 1570 | 1570 | ||
| 1571 | * minibuf.c (read_buffer_completion_ignore_case): New var. | 1571 | * minibuf.c (Vread_buffer_function): Doc fix. |
| 1572 | (Fread_buffer): Use it. | 1572 | |
| 1573 | 1573 | 2008-07-30 John Paul Wallington <jpw@pobox.com> | |
| 1574 | 2008-07-30 Dan Nicolaescu <dann@ics.uci.edu> | 1574 | |
| 1575 | 1575 | * minibuf.c (read_buffer_completion_ignore_case): New var. | |
| 1576 | * systty.h (sensemode): Remove empty #if. Remove reference to | 1576 | (Fread_buffer): Use it. |
| 1577 | BSD_TERMIOS, unused. | 1577 | |
| 1578 | 1578 | 2008-07-30 Dan Nicolaescu <dann@ics.uci.edu> | |
| 1579 | * sysdep.c: Remove reference to DGUX. | 1579 | |
| 1580 | (closedir): Remove reference to BROKEN_CLOSEDIR, unused. | 1580 | * systty.h (sensemode): Remove empty #if. Remove reference to |
| 1581 | 1581 | BSD_TERMIOS, unused. | |
| 1582 | * config.in: Regenerate. | 1582 | |
| 1583 | 1583 | * sysdep.c: Remove reference to DGUX. | |
| 1584 | 2008-07-30 Jason Rumney <jasonr@gnu.org> | 1584 | (closedir): Remove reference to BROKEN_CLOSEDIR, unused. |
| 1585 | 1585 | ||
| 1586 | * w32uniscribe.c (uniscribe_encode_char): Fix glyph buffer size. | 1586 | * config.in: Regenerate. |
| 1587 | 1587 | ||
| 1588 | 2008-07-29 Jason Rumney <jasonr@gnu.org> | 1588 | 2008-07-30 Jason Rumney <jasonr@gnu.org> |
| 1589 | 1589 | ||
| 1590 | * w32uniscribe.c (uniscribe_shape): Avoid using context if cache | 1590 | * w32uniscribe.c (uniscribe_encode_char): Fix glyph buffer size. |
| 1591 | is populated. | 1591 | |
| 1592 | (uniscribe_encode_char): Always use uniscribe. | 1592 | 2008-07-29 Jason Rumney <jasonr@gnu.org> |
| 1593 | Avoid using context if cache is populated. | 1593 | |
| 1594 | 1594 | * w32uniscribe.c (uniscribe_shape): Avoid using context if cache | |
| 1595 | 2008-07-29 Jan Djärv <jan.h.d@swipnet.se> | 1595 | is populated. |
| 1596 | 1596 | (uniscribe_encode_char): Always use uniscribe. | |
| 1597 | * xmenu.c (Fx_menu_bar_open_internal): Use activate_item signal to | 1597 | Avoid using context if cache is populated. |
| 1598 | open menu. | 1598 | |
| 1599 | 1599 | 2008-07-29 Jan Djärv <jan.h.d@swipnet.se> | |
| 1600 | * gtkutil.c (menu_nav_ended): Remove. | 1600 | |
| 1601 | (create_menus): Remove signal connect for menu_nav_ended. | 1601 | * xmenu.c (Fx_menu_bar_open_internal): Use activate_item signal to |
| 1602 | 1602 | open menu. | |
| 1603 | 2008-07-28 Chong Yidong <cyd@stupidchicken.com> | 1603 | |
| 1604 | 1604 | * gtkutil.c (menu_nav_ended): Remove. | |
| 1605 | * xdisp.c (redisplay_window): Check return value of | 1605 | (create_menus): Remove signal connect for menu_nav_ended. |
| 1606 | compute_window_start_on_continuation_line before forcing a window | 1606 | |
| 1607 | start. | 1607 | 2008-07-28 Chong Yidong <cyd@stupidchicken.com> |
| 1608 | 1608 | ||
| 1609 | 2008-07-28 Jason Rumney <jasonr@gnu.org> | 1609 | * xdisp.c (redisplay_window): Check return value of |
| 1610 | 1610 | compute_window_start_on_continuation_line before forcing a window | |
| 1611 | * w32font.c (w32font_text_extents): Use w32_metric_cache consistently. | 1611 | start. |
| 1612 | 1612 | ||
| 1613 | * w32term.c (w32_enable_unicode_output, cleartype_active): | 1613 | 2008-07-28 Jason Rumney <jasonr@gnu.org> |
| 1614 | Remove obsolete display options. | 1614 | |
| 1615 | (x_draw_glyph_string_background): Don't use old cleartype_active | 1615 | * w32font.c (w32font_text_extents): Use w32_metric_cache consistently. |
| 1616 | workaround. | 1616 | |
| 1617 | (w32_initialize): Remove cleartype_active initialization. | 1617 | * w32term.c (w32_enable_unicode_output, cleartype_active): |
| 1618 | (syms_of_w32term): Remove w32_enable_unicode_output initialization. | 1618 | Remove obsolete display options. |
| 1619 | 1619 | (x_draw_glyph_string_background): Don't use old cleartype_active | |
| 1620 | 2008-07-28 Andreas Schwab <schwab@suse.de> | 1620 | workaround. |
| 1621 | 1621 | (w32_initialize): Remove cleartype_active initialization. | |
| 1622 | * lisp.h (init_weak_hash_tables, syms_of_font) | 1622 | (syms_of_w32term): Remove w32_enable_unicode_output initialization. |
| 1623 | (xd_read_queued_messages, syms_of_dbusbind): Declare. | 1623 | |
| 1624 | (remove_hash_entry): Don't declare. | 1624 | 2008-07-28 Andreas Schwab <schwab@suse.de> |
| 1625 | * eval.c (maybe_call_debugger): Make static and move before use. | 1625 | |
| 1626 | * gtkutil.c: Include <X11/Xft/Xft.h> if HAVE_XFT. | 1626 | * lisp.h (init_weak_hash_tables, syms_of_font) |
| 1627 | * xdisp.c: Include "gtkutil.h" if USE_GTK. | 1627 | (xd_read_queued_messages, syms_of_dbusbind): Declare. |
| 1628 | * xterm.h (x_set_frame_alpha): Declare. | 1628 | (remove_hash_entry): Don't declare. |
| 1629 | 1629 | * eval.c (maybe_call_debugger): Make static and move before use. | |
| 1630 | 2008-07-28 Jan Djärv <jan.h.d@swipnet.se> | 1630 | * gtkutil.c: Include <X11/Xft/Xft.h> if HAVE_XFT. |
| 1631 | 1631 | * xdisp.c: Include "gtkutil.h" if USE_GTK. | |
| 1632 | * gtkutil.c (menu_nav_ended): Revert change from 2008-07-24. | 1632 | * xterm.h (x_set_frame_alpha): Declare. |
| 1633 | (create_menus): Connect selection-done to menu_nav_ended. | 1633 | |
| 1634 | 1634 | 2008-07-28 Jan Djärv <jan.h.d@swipnet.se> | |
| 1635 | 2008-07-27 Adrian Robert <Adrian.B.Robert@gmail.com> | 1635 | |
| 1636 | 1636 | * gtkutil.c (menu_nav_ended): Revert change from 2008-07-24. | |
| 1637 | * nsfns.m (x-create-frame): Add copy of parms argument to beginning. | 1637 | (create_menus): Connect selection-done to menu_nav_ended. |
| 1638 | Set Vx_resource_name to a fallback. Replace read of 'buffered' | 1638 | |
| 1639 | parameter with read of 'alpha' one. | 1639 | 2008-07-27 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 1640 | (Qns_frame_parameter): Remove. | 1640 | |
| 1641 | * nsselection.m (selection-coding-system) | 1641 | * nsfns.m (x-create-frame): Add copy of parms argument to beginning. |
| 1642 | (next-selection-coding-system, Vselection_coding_system) | 1642 | Set Vx_resource_name to a fallback. Replace read of 'buffered' |
| 1643 | (Vnext_selection_coding_system): Drop. | 1643 | parameter with read of 'alpha' one. |
| 1644 | 1644 | (Qns_frame_parameter): Remove. | |
| 1645 | 2008-07-27 Adrian Robert <Adrian.B.Robert@gmail.com> | 1645 | * nsselection.m (selection-coding-system) |
| 1646 | 1646 | (next-selection-coding-system, Vselection_coding_system) | |
| 1647 | * nsfns.m (do-applescript, do_applescript): Rename to | 1647 | (Vnext_selection_coding_system): Drop. |
| 1648 | ns-do-applescript, ns_do_applescript, and move within file. | 1648 | |
| 1649 | 1649 | 2008-07-27 Adrian Robert <Adrian.B.Robert@gmail.com> | |
| 1650 | 2008-07-27 Dan Nicolaescu <dann@ics.uci.edu> | 1650 | |
| 1651 | 1651 | * nsfns.m (do-applescript, do_applescript): Rename to | |
| 1652 | Remove support for Mac Carbon. | 1652 | ns-do-applescript, ns_do_applescript, and move within file. |
| 1653 | * mactoolbox.c: | 1653 | |
| 1654 | * macterm.h: | 1654 | 2008-07-27 Dan Nicolaescu <dann@ics.uci.edu> |
| 1655 | * macterm.c: | 1655 | |
| 1656 | * macselect.c: | 1656 | Remove support for Mac Carbon. |
| 1657 | * macmenu.c: | 1657 | * mactoolbox.c: |
| 1658 | * macgui.h: | 1658 | * macterm.h: |
| 1659 | * macfns.c: | 1659 | * macterm.c: |
| 1660 | * mac.c: Remove file. | 1660 | * macselect.c: |
| 1661 | * s/darwin.h: | 1661 | * macmenu.c: |
| 1662 | * m/intel386.h: | 1662 | * macgui.h: |
| 1663 | * xfaces.c: | 1663 | * macfns.c: |
| 1664 | * xdisp.c: | 1664 | * mac.c: Remove file. |
| 1665 | * window.c: | 1665 | * s/darwin.h: |
| 1666 | * tparam.c: | 1666 | * m/intel386.h: |
| 1667 | * termhooks.h: | 1667 | * xfaces.c: |
| 1668 | * termcap.c: | 1668 | * xdisp.c: |
| 1669 | * term.c: | 1669 | * window.c: |
| 1670 | * syssignal.h: | 1670 | * tparam.c: |
| 1671 | * sysselect.h: | 1671 | * termhooks.h: |
| 1672 | * sysdep.c: | 1672 | * termcap.c: |
| 1673 | * process.c: | 1673 | * term.c: |
| 1674 | * lread.c: | 1674 | * syssignal.h: |
| 1675 | * lisp.h: | 1675 | * sysselect.h: |
| 1676 | * keyboard.c: | 1676 | * sysdep.c: |
| 1677 | * image.c: | 1677 | * process.c: |
| 1678 | * fringe.c: | 1678 | * lread.c: |
| 1679 | * frame.h: | 1679 | * lisp.h: |
| 1680 | * frame.c: | 1680 | * keyboard.c: |
| 1681 | * fontset.c: | 1681 | * image.c: |
| 1682 | * font.h: | 1682 | * fringe.c: |
| 1683 | * font.c: | 1683 | * frame.h: |
| 1684 | * fns.c: | 1684 | * frame.c: |
| 1685 | * fileio.c: | 1685 | * fontset.c: |
| 1686 | * emacs.c: | 1686 | * font.h: |
| 1687 | * dispnew.c: | 1687 | * font.c: |
| 1688 | * dispextern.h: | 1688 | * fns.c: |
| 1689 | * config.in: | 1689 | * fileio.c: |
| 1690 | * atimer.c: | 1690 | * emacs.c: |
| 1691 | * Makefile.in: Remove code for Carbon | 1691 | * dispnew.c: |
| 1692 | 1692 | * dispextern.h: | |
| 1693 | 2008-07-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 1693 | * config.in: |
| 1694 | 1694 | * atimer.c: | |
| 1695 | * macterm.c (XDrawLine) [USE_MAC_IMAGE_IO]: Remove spurious return. | 1695 | * Makefile.in: Remove code for Carbon |
| 1696 | 1696 | ||
| 1697 | 2008-07-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 1697 | 2008-07-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 1698 | 1698 | ||
| 1699 | * macterm.h (kCGBitmapByteOrder32Host): New define for | 1699 | * macterm.c (XDrawLine) [USE_MAC_IMAGE_IO]: Remove spurious return. |
| 1700 | non-universal SDKs. | 1700 | |
| 1701 | 1701 | 2008-07-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
| 1702 | * image.c (mac_create_cg_image_from_image, image_load_image_io) | 1702 | |
| 1703 | [USE_MAC_IMAGE_IO]: Remove conditionals for kCGBitmapByteOrder32Host. | 1703 | * macterm.h (kCGBitmapByteOrder32Host): New define for |
| 1704 | 1704 | non-universal SDKs. | |
| 1705 | * macterm.c (XDrawLine, XCreatePixmapFromBitmapData) | 1705 | |
| 1706 | [USE_MAC_IMAGE_IO]: Remove conditionals for kCGBitmapByteOrder32Host. | 1706 | * image.c (mac_create_cg_image_from_image, image_load_image_io) |
| 1707 | 1707 | [USE_MAC_IMAGE_IO]: Remove conditionals for kCGBitmapByteOrder32Host. | |
| 1708 | 2008-07-26 David Robinow <drobinow@gmail.com> (tiny change) | 1708 | |
| 1709 | 1709 | * macterm.c (XDrawLine, XCreatePixmapFromBitmapData) | |
| 1710 | * w32inevt.c: Include dispextern.h. | 1710 | [USE_MAC_IMAGE_IO]: Remove conditionals for kCGBitmapByteOrder32Host. |
| 1711 | 1711 | ||
| 1712 | 2008-07-26 Andreas Schwab <schwab@suse.de> | 1712 | 2008-07-26 David Robinow <drobinow@gmail.com> (tiny change) |
| 1713 | 1713 | ||
| 1714 | * print.c (print_object): Fix off-by-one in last change. | 1714 | * w32inevt.c: Include dispextern.h. |
| 1715 | 1715 | ||
| 1716 | 2008-07-25 Juanma Barranquero <lekktu@gmail.com> | 1716 | 2008-07-26 Andreas Schwab <schwab@suse.de> |
| 1717 | 1717 | ||
| 1718 | * term.c (syms_of_term): Don't initialize default_orig_pair, | 1718 | * print.c (print_object): Fix off-by-one in last change. |
| 1719 | default_set_foreground and default_set_background on Windows. | 1719 | |
| 1720 | 1720 | 2008-07-25 Juanma Barranquero <lekktu@gmail.com> | |
| 1721 | 2008-07-25 Jason Rumney <jasonr@gnu.org> | 1721 | |
| 1722 | 1722 | * term.c (syms_of_term): Don't initialize default_orig_pair, | |
| 1723 | * w32uniscribe.c (uniscribe_shape): Pass NULL for control arg to | 1723 | default_set_foreground and default_set_background on Windows. |
| 1724 | ScriptItemize. Clean up return value checking. Remove unused | 1724 | |
| 1725 | variables. | 1725 | 2008-07-25 Jason Rumney <jasonr@gnu.org> |
| 1726 | (uniscribe_encode_char): Encode non-BMP characters with uniscribe | 1726 | |
| 1727 | shaping engine. | 1727 | * w32uniscribe.c (uniscribe_shape): Pass NULL for control arg to |
| 1728 | 1728 | ScriptItemize. Clean up return value checking. Remove unused | |
| 1729 | * w32font.c (w32font_has_char): Handle the case where we can't | 1729 | variables. |
| 1730 | determine the script for a character. | 1730 | (uniscribe_encode_char): Encode non-BMP characters with uniscribe |
| 1731 | 1731 | shaping engine. | |
| 1732 | 2008-07-25 Chong Yidong <cyd@stupidchicken.com> | 1732 | |
| 1733 | 1733 | * w32font.c (w32font_has_char): Handle the case where we can't | |
| 1734 | * term.c (syms_of_term): Initialize default_orig_pair, | 1734 | determine the script for a character. |
| 1735 | default_set_foreground, and default_set_background. | 1735 | |
| 1736 | 1736 | 2008-07-25 Chong Yidong <cyd@stupidchicken.com> | |
| 1737 | * getloadavg.c (nl): Rename to name_list to avoid ncurses.h | 1737 | |
| 1738 | clash (bug#86). | 1738 | * term.c (syms_of_term): Initialize default_orig_pair, |
| 1739 | (getloadavg): Callers changed. | 1739 | default_set_foreground, and default_set_background. |
| 1740 | 1740 | ||
| 1741 | * image.c (svg_load_image): Fix last change. | 1741 | * getloadavg.c (nl): Rename to name_list to avoid ncurses.h |
| 1742 | (svg_load_image): Use rsvg_handle_get_dimensions to check that | 1742 | clash (bug#86). |
| 1743 | image size is valid. Use g_object_unref instead of deprecated | 1743 | (getloadavg): Callers changed. |
| 1744 | rsvg_handle_free to free rsvg handle. | 1744 | |
| 1745 | (x_from_xcolors): Don't initialize pixmap (silence compiler). | 1745 | * image.c (svg_load_image): Fix last change. |
| 1746 | 1746 | (svg_load_image): Use rsvg_handle_get_dimensions to check that | |
| 1747 | 2008-07-25 Jason Rumney <jasonr@gnu.org> | 1747 | image size is valid. Use g_object_unref instead of deprecated |
| 1748 | 1748 | rsvg_handle_free to free rsvg handle. | |
| 1749 | * w32font.c (w32font_encode_char): Encode characters outside BMP as | 1749 | (x_from_xcolors): Don't initialize pixmap (silence compiler). |
| 1750 | surrogates before looking up glyph index. | 1750 | |
| 1751 | (w32font_text_extents): Encode as surrogates if falling back to | 1751 | 2008-07-25 Jason Rumney <jasonr@gnu.org> |
| 1752 | functions that need UTF-16 wide chars. | 1752 | |
| 1753 | 1753 | * w32font.c (w32font_encode_char): Encode characters outside BMP as | |
| 1754 | * w32uniscribe.c (uniscribe_encode_char): Encode characters outside | 1754 | surrogates before looking up glyph index. |
| 1755 | BMP as surrogates before looking up glyph index. | 1755 | (w32font_text_extents): Encode as surrogates if falling back to |
| 1756 | 1756 | functions that need UTF-16 wide chars. | |
| 1757 | 2008-07-25 Chong Yidong <cyd@stupidchicken.com> | 1757 | |
| 1758 | 1758 | * w32uniscribe.c (uniscribe_encode_char): Encode characters outside | |
| 1759 | * image.c (svg_load_image): Check for failure in return value of | 1759 | BMP as surrogates before looking up glyph index. |
| 1760 | rsvg_handle_get_pixbuf. Free rsvg handle when done. | 1760 | |
| 1761 | 1761 | 2008-07-25 Chong Yidong <cyd@stupidchicken.com> | |
| 1762 | 2008-07-25 Jason Rumney <jasonr@gnu.org> | 1762 | |
| 1763 | 1763 | * image.c (svg_load_image): Check for failure in return value of | |
| 1764 | * w32font.c (Fx_select_font): Reverse sense of second arg. | 1764 | rsvg_handle_get_pixbuf. Free rsvg handle when done. |
| 1765 | 1765 | ||
| 1766 | 2008-07-24 Stefan Monnier <monnier@iro.umontreal.ca> | 1766 | 2008-07-25 Jason Rumney <jasonr@gnu.org> |
| 1767 | 1767 | ||
| 1768 | * syntax.c (struct lisp_parse_state, char_quoted, inc_bytepos) | 1768 | * w32font.c (Fx_select_font): Reverse sense of second arg. |
| 1769 | (dec_bytepos, find_defun_start): Use EMACS_INT for buffer positions. | 1769 | |
| 1770 | 1770 | 2008-07-24 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 1771 | * puresize.h (PURESIZE_CHECKING_RATIO): New macro. | 1771 | |
| 1772 | (PURESIZE): Use it. | 1772 | * syntax.c (struct lisp_parse_state, char_quoted, inc_bytepos) |
| 1773 | 1773 | (dec_bytepos, find_defun_start): Use EMACS_INT for buffer positions. | |
| 1774 | 2008-07-24 Dan Nicolaescu <dann@ics.uci.edu> | 1774 | |
| 1775 | 1775 | * puresize.h (PURESIZE_CHECKING_RATIO): New macro. | |
| 1776 | * m/amdx86-64.h (HAVE_LIB64_DIR): Consolidate ifdefs. | 1776 | (PURESIZE): Use it. |
| 1777 | * m/alpha.h (TEXT_END): | 1777 | |
| 1778 | * m/ibmrs6000.h (TEXT_END): | 1778 | 2008-07-24 Dan Nicolaescu <dann@ics.uci.edu> |
| 1779 | * m/macppc.h (TEXT_END): | 1779 | |
| 1780 | * s/darwin.h (TEXT_END): | 1780 | * m/amdx86-64.h (HAVE_LIB64_DIR): Consolidate ifdefs. |
| 1781 | * s/msdos.h (TEXT_END): Remove, unused. | 1781 | * m/alpha.h (TEXT_END): |
| 1782 | * s/gnu-linux.h (BSD_PGRPS): Add a comment. | 1782 | * m/ibmrs6000.h (TEXT_END): |
| 1783 | * s/cygwin.h: Remove comment. | 1783 | * m/macppc.h (TEXT_END): |
| 1784 | 1784 | * s/darwin.h (TEXT_END): | |
| 1785 | * ecrt0.c (NODOT_GLOBAL_START): Remove code, unused. | 1785 | * s/msdos.h (TEXT_END): Remove, unused. |
| 1786 | (DOT_GLOBAL_START): Remove conditional, redundant for CRT0_DUMMIES. | 1786 | * s/gnu-linux.h (BSD_PGRPS): Add a comment. |
| 1787 | * m/intel386.h (DOT_GLOBAL_START): | 1787 | * s/cygwin.h: Remove comment. |
| 1788 | * m/vax.h (DOT_GLOBAL_START): Remove, redundant with CRT0_DUMMIES. | 1788 | |
| 1789 | (USG): Remove, file not used on USG platforms. | 1789 | * ecrt0.c (NODOT_GLOBAL_START): Remove code, unused. |
| 1790 | 1790 | (DOT_GLOBAL_START): Remove conditional, redundant for CRT0_DUMMIES. | |
| 1791 | * Makefile.in (HAVE_X11): Remove empty #else. | 1791 | * m/intel386.h (DOT_GLOBAL_START): |
| 1792 | 1792 | * m/vax.h (DOT_GLOBAL_START): Remove, redundant with CRT0_DUMMIES. | |
| 1793 | 2008-07-24 Andreas Schwab <schwab@suse.de> | 1793 | (USG): Remove, file not used on USG platforms. |
| 1794 | 1794 | ||
| 1795 | * fileio.c (Finsert_file_contents): Properly adjust undo list | 1795 | * Makefile.in (HAVE_X11): Remove empty #else. |
| 1796 | after format conversion. | 1796 | |
| 1797 | 1797 | 2008-07-24 Andreas Schwab <schwab@suse.de> | |
| 1798 | 2008-07-24 Jan Djärv <jan.h.d@swipnet.se> | 1798 | |
| 1799 | 1799 | * fileio.c (Finsert_file_contents): Properly adjust undo list | |
| 1800 | * gtkutil.c (xg_get_font_name): Cast w to GTK_FONT_SELECTION_DIALOG. | 1800 | after format conversion. |
| 1801 | (menu_nav_ended): Remove. | 1801 | |
| 1802 | (create_menus): Remove signal connect for menu_nav_ended. | 1802 | 2008-07-24 Jan Djärv <jan.h.d@swipnet.se> |
| 1803 | (xg_update_menubar): Also take deactivate_cb as parameter, pass it to | 1803 | |
| 1804 | create_menus. | 1804 | * gtkutil.c (xg_get_font_name): Cast w to GTK_FONT_SELECTION_DIALOG. |
| 1805 | (xg_modify_menubar_widgets): Pass deactivate_cb to xg_update_menubar. | 1805 | (menu_nav_ended): Remove. |
| 1806 | 1806 | (create_menus): Remove signal connect for menu_nav_ended. | |
| 1807 | 2008-07-23 Jason Rumney <jasonr@gnu.org> | 1807 | (xg_update_menubar): Also take deactivate_cb as parameter, pass it to |
| 1808 | 1808 | create_menus. | |
| 1809 | * w32font.c (w32_enumfont_pattern_entity): Return height consistent | 1809 | (xg_modify_menubar_widgets): Pass deactivate_cb to xg_update_menubar. |
| 1810 | with opened font. | 1810 | |
| 1811 | (w32font_open): Set font type to gdi. | 1811 | 2008-07-23 Jason Rumney <jasonr@gnu.org> |
| 1812 | 1812 | ||
| 1813 | * w32uniscribe.c (uniscribe_open): Set font type to uniscribe. | 1813 | * w32font.c (w32_enumfont_pattern_entity): Return height consistent |
| 1814 | 1814 | with opened font. | |
| 1815 | 2008-07-23 Dan Nicolaescu <dann@ics.uci.edu> | 1815 | (w32font_open): Set font type to gdi. |
| 1816 | 1816 | ||
| 1817 | * s/usg5-4.h (ADDR_CORRECT): Remove, unused. | 1817 | * w32uniscribe.c (uniscribe_open): Set font type to uniscribe. |
| 1818 | * unexaix.c (ADDR_CORRECT): Remove conditional, the only user | 1818 | |
| 1819 | defines it. | 1819 | 2008-07-23 Dan Nicolaescu <dann@ics.uci.edu> |
| 1820 | * unexec.c (ADDR_CORRECT): Define unconditionally. | 1820 | |
| 1821 | 1821 | * s/usg5-4.h (ADDR_CORRECT): Remove, unused. | |
| 1822 | * m/ibmrs6000.h (C_SWITCH_MACHINE): Remove. | 1822 | * unexaix.c (ADDR_CORRECT): Remove conditional, the only user |
| 1823 | 1823 | defines it. | |
| 1824 | * unexec.c: Remove code depending on !COFF and USG, the file is | 1824 | * unexec.c (ADDR_CORRECT): Define unconditionally. |
| 1825 | not used for such systems. | 1825 | |
| 1826 | 1826 | * m/ibmrs6000.h (C_SWITCH_MACHINE): Remove. | |
| 1827 | * s/netbsd.h (A_TEXT_OFFSET, A_TEXT_SEEK): | 1827 | |
| 1828 | * s/freebsd.h (A_TEXT_OFFSET, A_TEXT_SEEK): Remove, unused. | 1828 | * unexec.c: Remove code depending on !COFF and USG, the file is |
| 1829 | (LD_SWITCH_SYSTEM_1): Remove, update users. | 1829 | not used for such systems. |
| 1830 | 1830 | ||
| 1831 | * s/darwin.h (DATA_END): | 1831 | * s/netbsd.h (A_TEXT_OFFSET, A_TEXT_SEEK): |
| 1832 | * m/intel386.h (DATA_END): | 1832 | * s/freebsd.h (A_TEXT_OFFSET, A_TEXT_SEEK): Remove, unused. |
| 1833 | * m/ibmrs6000.h (DATA_END): | 1833 | (LD_SWITCH_SYSTEM_1): Remove, update users. |
| 1834 | * m/alpha.h (DATA_END): Remove, unused. | 1834 | |
| 1835 | 1835 | * s/darwin.h (DATA_END): | |
| 1836 | * config.in: Regenerate. | 1836 | * m/intel386.h (DATA_END): |
| 1837 | * s/ms-w32.h (subprocesses): Define unconditionally. | 1837 | * m/ibmrs6000.h (DATA_END): |
| 1838 | * s/template.h (subprocesses): Update comment. | 1838 | * m/alpha.h (DATA_END): Remove, unused. |
| 1839 | * s/vms.h (subprocesses): | 1839 | |
| 1840 | * s/usg5-4.h (subprocesses): | 1840 | * config.in: Regenerate. |
| 1841 | * s/hpux10-20.h (subprocesses): | 1841 | * s/ms-w32.h (subprocesses): Define unconditionally. |
| 1842 | * s/gnu-linux.h (subprocesses): | 1842 | * s/template.h (subprocesses): Update comment. |
| 1843 | * s/cygwin.h (subprocesses): | 1843 | * s/vms.h (subprocesses): |
| 1844 | * s/bsd-common.h (subprocesses): | 1844 | * s/usg5-4.h (subprocesses): |
| 1845 | * s/aix4-2.h (subprocesses): | 1845 | * s/hpux10-20.h (subprocesses): |
| 1846 | * s/darwin.h (subprocesses): Do not define, defined by default now. | 1846 | * s/gnu-linux.h (subprocesses): |
| 1847 | 1847 | * s/cygwin.h (subprocesses): | |
| 1848 | * Makefile.in (C_SWITCH_SITE, LD_SWITCH_SITE): Remove, unused. | 1848 | * s/bsd-common.h (subprocesses): |
| 1849 | Remove all references. | 1849 | * s/aix4-2.h (subprocesses): |
| 1850 | (temacs): Add GNUstep specific ld flags. | 1850 | * s/darwin.h (subprocesses): Do not define, defined by default now. |
| 1851 | 1851 | ||
| 1852 | * nsterm.m (syms_of_nsterm): Provide ns, not ns-windowing, | 1852 | * Makefile.in (C_SWITCH_SITE, LD_SWITCH_SITE): Remove, unused. |
| 1853 | similarly to what X does. | 1853 | Remove all references. |
| 1854 | 1854 | (temacs): Add GNUstep specific ld flags. | |
| 1855 | 2008-07-22 Adrian Robert <Adrian.B.Robert@gmail.com> | 1855 | |
| 1856 | 1856 | * nsterm.m (syms_of_nsterm): Provide ns, not ns-windowing, | |
| 1857 | * nsfns.m (x-list-fonts): Remove. | 1857 | similarly to what X does. |
| 1858 | (syms_of_nsfns): Drop the x-list-fonts declaration. | 1858 | |
| 1859 | * nsterm.m: Get rid of remaining "//" comments. | 1859 | 2008-07-22 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 1860 | 1860 | ||
| 1861 | 2008-07-22 Chong Yidong <cyd@stupidchicken.com> | 1861 | * nsfns.m (x-list-fonts): Remove. |
| 1862 | 1862 | (syms_of_nsfns): Drop the x-list-fonts declaration. | |
| 1863 | * xselect.c (Fx_rotate_cut_buffers_internal): Doc fix. | 1863 | * nsterm.m: Get rid of remaining "//" comments. |
| 1864 | 1864 | ||
| 1865 | * nsselect.m (Fns_selection_exists_p, Fns_selection_owner_p) | 1865 | 2008-07-22 Chong Yidong <cyd@stupidchicken.com> |
| 1866 | (Fx_get_selection_internal, Fns_rotate_cut_buffers_internal) | 1866 | |
| 1867 | (Fns_own_selection_internal, Fx_disown_selection_internal) | 1867 | * xselect.c (Fx_rotate_cut_buffers_internal): Doc fix. |
| 1868 | (Fns_get_cut_buffer_internal, Fns_store_cut_buffer_internal): | 1868 | |
| 1869 | 1869 | * nsselect.m (Fns_selection_exists_p, Fns_selection_owner_p) | |
| 1870 | * nsmenu.m (Fns_reset_menu, Fx_popup_menu): Change to use 'doc: /* | 1870 | (Fx_get_selection_internal, Fns_rotate_cut_buffers_internal) |
| 1871 | ... */' style of docstrings. Doc fixes. | 1871 | (Fns_own_selection_internal, Fx_disown_selection_internal) |
| 1872 | 1872 | (Fns_get_cut_buffer_internal, Fns_store_cut_buffer_internal): | |
| 1873 | 2008-07-22 Dan Nicolaescu <dann@ics.uci.edu> | 1873 | |
| 1874 | 1874 | * nsmenu.m (Fns_reset_menu, Fx_popup_menu): Change to use 'doc: /* | |
| 1875 | * terminfo.c (UP, BC, PC): Undo previous change. | 1875 | ... */' style of docstrings. Doc fixes. |
| 1876 | 1876 | ||
| 1877 | * nsfns.m: Rename ns prefixed functions/variables to the | 1877 | 2008-07-22 Dan Nicolaescu <dann@ics.uci.edu> |
| 1878 | corresponding x versions. Update references. | 1878 | |
| 1879 | 1879 | * terminfo.c (UP, BC, PC): Undo previous change. | |
| 1880 | 2008-07-22 Stefan Monnier <monnier@iro.umontreal.ca> | 1880 | |
| 1881 | 1881 | * nsfns.m: Rename ns prefixed functions/variables to the | |
| 1882 | * syntax.c (char_quoted): Check "charpos > beg" before decrementing. | 1882 | corresponding x versions. Update references. |
| 1883 | 1883 | ||
| 1884 | 2008-07-22 Dan Nicolaescu <dann@ics.uci.edu> | 1884 | 2008-07-22 Stefan Monnier <monnier@iro.umontreal.ca> |
| 1885 | 1885 | ||
| 1886 | * nsfns.m (x_set_menu_bar_lines, x_set_tool_bar_lines): | 1886 | * syntax.c (char_quoted): Check "charpos > beg" before decrementing. |
| 1887 | Remove forwarding functions. | 1887 | |
| 1888 | (ns_set_menu_bar_lines): Rename to x_set_menu_bar_lines, make | 1888 | 2008-07-22 Dan Nicolaescu <dann@ics.uci.edu> |
| 1889 | non-static. | 1889 | |
| 1890 | (ns_set_tool_bar_lines): Rename to x_set_tool_bar_lines, make | 1890 | * nsfns.m (x_set_menu_bar_lines, x_set_tool_bar_lines): |
| 1891 | non-static. | 1891 | Remove forwarding functions. |
| 1892 | (ns_frame_parm_handlers): Use the new names. | 1892 | (ns_set_menu_bar_lines): Rename to x_set_menu_bar_lines, make |
| 1893 | (syms_of_nsfns): Move to the end of file. | 1893 | non-static. |
| 1894 | 1894 | (ns_set_tool_bar_lines): Rename to x_set_tool_bar_lines, make | |
| 1895 | * nsterm.m (syms_of_nsterm): Move to the end of file. | 1895 | non-static. |
| 1896 | 1896 | (ns_frame_parm_handlers): Use the new names. | |
| 1897 | * dispnew.c (init_display): Remove code for X10. | 1897 | (syms_of_nsfns): Move to the end of file. |
| 1898 | 1898 | ||
| 1899 | 2008-07-22 Jason Rumney <jasonr@gnu.org> | 1899 | * nsterm.m (syms_of_nsterm): Move to the end of file. |
| 1900 | 1900 | ||
| 1901 | * w32proc.c (Fw32_long_file_name): Don't append dir separator to | 1901 | * dispnew.c (init_display): Remove code for X10. |
| 1902 | bare drive. | 1902 | |
| 1903 | 1903 | 2008-07-22 Jason Rumney <jasonr@gnu.org> | |
| 1904 | 2008-07-22 Adrian Robert <Adrian.B.Robert@gmail.com> | 1904 | |
| 1905 | 1905 | * w32proc.c (Fw32_long_file_name): Don't append dir separator to | |
| 1906 | * nsterm.m (syms_of_nsterm): Remove debugging println. | 1906 | bare drive. |
| 1907 | 1907 | ||
| 1908 | 2008-07-22 David Reitter <david.reitter@gmail.com> | 1908 | 2008-07-22 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 1909 | 1909 | ||
| 1910 | * nsfns.m (do_applescript, F_do_applescript): NS version of the | 1910 | * nsterm.m (syms_of_nsterm): Remove debugging println. |
| 1911 | Carbon implementation of the same functionality: execute arbitrary | 1911 | |
| 1912 | AppleScript code. | 1912 | 2008-07-22 David Reitter <david.reitter@gmail.com> |
| 1913 | 1913 | ||
| 1914 | 2008-07-21 Adrian Robert <Adrian.B.Robert@gmail.com> | 1914 | * nsfns.m (do_applescript, F_do_applescript): NS version of the |
| 1915 | 1915 | Carbon implementation of the same functionality: execute arbitrary | |
| 1916 | * nsfns.m (Fx_create_frame, Fx_read_file_name, Fx_get_resource) | 1916 | AppleScript code. |
| 1917 | (Fx_set_resource, Fx_set_alpha, Fx_server_max_request_size) | 1917 | |
| 1918 | (Fx_server_vendor, Fx_server_version, Fx_display_screens) | 1918 | 2008-07-21 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 1919 | (Fx_display_mm_height, Fx_display_mm_width) | 1919 | |
| 1920 | (Fx_display_backing_store, Fx_display_visual_class) | 1920 | * nsfns.m (Fx_create_frame, Fx_read_file_name, Fx_get_resource) |
| 1921 | (Fx_display_save_under, Fx_open_connection) | 1921 | (Fx_set_resource, Fx_set_alpha, Fx_server_max_request_size) |
| 1922 | (Fx_close_connection, Fx_hide_emacs, Fx_font_name) | 1922 | (Fx_server_vendor, Fx_server_version, Fx_display_screens) |
| 1923 | (Fx_list_colors, Fx_perform_service, Fx_color_defined_p) | 1923 | (Fx_display_mm_height, Fx_display_mm_width) |
| 1924 | (Fx_color_values, Fxw_display_color_p, Fx_display_grayscale_p) | 1924 | (Fx_display_backing_store, Fx_display_visual_class) |
| 1925 | (Fx_display_pixel_width, Fx_display_pixel_height) | 1925 | (Fx_display_save_under, Fx_open_connection) |
| 1926 | (Fx_display_usable_bounds, Fx_display_planes) | 1926 | (Fx_close_connection, Fx_hide_emacs, Fx_font_name) |
| 1927 | (Fx_display_color_cells, Vns_icon_type_alist): Change to use 'doc: /* | 1927 | (Fx_list_colors, Fx_perform_service, Fx_color_defined_p) |
| 1928 | ... */' style of docstrings. | 1928 | (Fx_color_values, Fxw_display_color_p, Fx_display_grayscale_p) |
| 1929 | 1929 | (Fx_display_pixel_width, Fx_display_pixel_height) | |
| 1930 | 2008-07-21 Dan Nicolaescu <dann@ics.uci.edu> | 1930 | (Fx_display_usable_bounds, Fx_display_planes) |
| 1931 | 1931 | (Fx_display_color_cells, Vns_icon_type_alist): Change to use 'doc: /* | |
| 1932 | * m/mips.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Do not define, not used | 1932 | ... */' style of docstrings. |
| 1933 | on this platform. | 1933 | |
| 1934 | (mips): | 1934 | 2008-07-21 Dan Nicolaescu <dann@ics.uci.edu> |
| 1935 | * m/iris4d.h (mips): Do not define. | 1935 | |
| 1936 | * sysdep.c (init_sys_modes): Use __mips__ instead of mips. | 1936 | * m/mips.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Do not define, not used |
| 1937 | 1937 | on this platform. | |
| 1938 | * m/ibmrs6000.h (LD_SWITCH_SITE): Remove. | 1938 | (mips): |
| 1939 | 1939 | * m/iris4d.h (mips): Do not define. | |
| 1940 | * image.c: | 1940 | * sysdep.c (init_sys_modes): Use __mips__ instead of mips. |
| 1941 | * nsfns.m: | 1941 | |
| 1942 | * nsselect.m: | 1942 | * m/ibmrs6000.h (LD_SWITCH_SITE): Remove. |
| 1943 | * nsterm.h: | 1943 | |
| 1944 | * nsterm.m: Rename ns prefixed functions/variables to the | 1944 | * image.c: |
| 1945 | corresponding x versions. Update references. | 1945 | * nsfns.m: |
| 1946 | 1946 | * nsselect.m: | |
| 1947 | * m/ibms390x.h (NO_REMAP): Do not undefine. | 1947 | * nsterm.h: |
| 1948 | 1948 | * nsterm.m: Rename ns prefixed functions/variables to the | |
| 1949 | * m/amdx86-64.h: Use SOLARIS2 instead of sun. | 1949 | corresponding x versions. Update references. |
| 1950 | 1950 | ||
| 1951 | 2008-07-21 Chong Yidong <cyd@stupidchicken.com> | 1951 | * m/ibms390x.h (NO_REMAP): Do not undefine. |
| 1952 | 1952 | ||
| 1953 | * nsfns.m: Change NS to Nextstep in docstrings and error messages. | 1953 | * m/amdx86-64.h: Use SOLARIS2 instead of sun. |
| 1954 | (Fns_create_frame, Fns_read_file_name, Fns_get_resource) | 1954 | |
| 1955 | (Fns_set_resource, Fns_set_alpha, Fns_server_max_request_size) | 1955 | 2008-07-21 Chong Yidong <cyd@stupidchicken.com> |
| 1956 | (Fns_server_vendor, Fns_server_version, Fns_display_screens) | 1956 | |
| 1957 | (Fns_display_mm_height, Fns_display_mm_width) | 1957 | * nsfns.m: Change NS to Nextstep in docstrings and error messages. |
| 1958 | (Fns_display_backing_store, Fns_display_visual_class) | 1958 | (Fns_create_frame, Fns_read_file_name, Fns_get_resource) |
| 1959 | (Fns_display_save_under, Fns_open_connection) | 1959 | (Fns_set_resource, Fns_set_alpha, Fns_server_max_request_size) |
| 1960 | (Fns_close_connection, Fns_hide_emacs, Fns_font_name) | 1960 | (Fns_server_vendor, Fns_server_version, Fns_display_screens) |
| 1961 | (Fns_list_colors, Fns_perform_service, Fns_color_defined_p) | 1961 | (Fns_display_mm_height, Fns_display_mm_width) |
| 1962 | (Fns_color_values, Fxw_display_color_p, Fx_display_grayscale_p) | 1962 | (Fns_display_backing_store, Fns_display_visual_class) |
| 1963 | (Fns_display_pixel_width, Fns_display_pixel_height) | 1963 | (Fns_display_save_under, Fns_open_connection) |
| 1964 | (Fns_display_usable_bounds, Fx_display_planes) | 1964 | (Fns_close_connection, Fns_hide_emacs, Fns_font_name) |
| 1965 | (Fns_display_color_cells, Vns_icon_type_alist): Doc fixes. | 1965 | (Fns_list_colors, Fns_perform_service, Fns_color_defined_p) |
| 1966 | 1966 | (Fns_color_values, Fxw_display_color_p, Fx_display_grayscale_p) | |
| 1967 | 2008-07-21 Ami Fischman <ami@fischman.org> (tiny change) | 1967 | (Fns_display_pixel_width, Fns_display_pixel_height) |
| 1968 | 1968 | (Fns_display_usable_bounds, Fx_display_planes) | |
| 1969 | * print.c (print_object): Check print_depth before searching for | 1969 | (Fns_display_color_cells, Vns_icon_type_alist): Doc fixes. |
| 1970 | circularities. | 1970 | |
| 1971 | 1971 | 2008-07-21 Ami Fischman <ami@fischman.org> (tiny change) | |
| 1972 | 2008-07-21 Michael Albinus <michael.albinus@gmx.de> | 1972 | |
| 1973 | 1973 | * print.c (print_object): Check print_depth before searching for | |
| 1974 | * dbusbind.c (Fdbus_register_signal): Use sprintf + strcat instead | 1974 | circularities. |
| 1975 | only sprintf. | 1975 | |
| 1976 | 1976 | 2008-07-21 Michael Albinus <michael.albinus@gmx.de> | |
| 1977 | 2008-07-21 Kenichi Handa <handa@m17n.org> | 1977 | |
| 1978 | 1978 | * dbusbind.c (Fdbus_register_signal): Use sprintf + strcat instead | |
| 1979 | * ftfont.c (adjust_anchor): Check if DeltaValue is not NULL. | 1979 | only sprintf. |
| 1980 | 1980 | ||
| 1981 | 2008-07-20 Andreas Schwab <schwab@suse.de> | 1981 | 2008-07-21 Kenichi Handa <handa@m17n.org> |
| 1982 | 1982 | ||
| 1983 | * syntax.c (find_start_pos, find_start_value) | 1983 | * ftfont.c (adjust_anchor): Check if DeltaValue is not NULL. |
| 1984 | (find_start_value_byte, find_start_begv, find_defun_start) | 1984 | |
| 1985 | (back_comment, scan_sexps_forward): Use EMACS_INT for buffer positions. | 1985 | 2008-07-20 Andreas Schwab <schwab@suse.de> |
| 1986 | 1986 | ||
| 1987 | 2008-07-20 Dan Nicolaescu <dann@ics.uci.edu> | 1987 | * syntax.c (find_start_pos, find_start_value) |
| 1988 | 1988 | (find_start_value_byte, find_start_begv, find_defun_start) | |
| 1989 | * s/sol2-3.h: Insert contents of s/sol2.h. | 1989 | (back_comment, scan_sexps_forward): Use EMACS_INT for buffer positions. |
| 1990 | (LD_SWITCH_SYSTEM): Remove redundant definition. | 1990 | |
| 1991 | * s/sol2.h: Remove, unused. | 1991 | 2008-07-20 Dan Nicolaescu <dann@ics.uci.edu> |
| 1992 | 1992 | ||
| 1993 | 2008-07-20 Adrian Robert <Adrian.B.Robert@gmail.com> | 1993 | * s/sol2-3.h: Insert contents of s/sol2.h. |
| 1994 | 1994 | (LD_SWITCH_SYSTEM): Remove redundant definition. | |
| 1995 | * nsterm.m (ns_get_color): Recognize HSB,AHSB be synonyms for HSV,AHSV. | 1995 | * s/sol2.h: Remove, unused. |
| 1996 | 1996 | ||
| 1997 | 2008-07-20 Adrian Robert <Adrian.B.Robert@gmail.com> | 1997 | 2008-07-20 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 1998 | 1998 | ||
| 1999 | * Makefile.in (ns_appdir): Fix typo in find command. | 1999 | * nsterm.m (ns_get_color): Recognize HSB,AHSB be synonyms for HSV,AHSV. |
| 2000 | 2000 | ||
| 2001 | 2008-07-20 Dan Nicolaescu <dann@ics.uci.edu> | 2001 | 2008-07-20 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 2002 | 2002 | ||
| 2003 | * m/intel386.h (NO_REMAP): Do no define for USG, not used. | 2003 | * Makefile.in (ns_appdir): Fix typo in find command. |
| 2004 | 2004 | ||
| 2005 | * s/usg5-4.h (LIBS_SYSTEM): Remove, system for which this was | 2005 | 2008-07-20 Dan Nicolaescu <dann@ics.uci.edu> |
| 2006 | added not supported anymore. | 2006 | |
| 2007 | 2007 | * m/intel386.h (NO_REMAP): Do no define for USG, not used. | |
| 2008 | * s/usg5-4-2.h (LIBS_SYSTEM): | 2008 | |
| 2009 | * s/sol2.h (LIBS_SYSTEM): Do not undefine. | 2009 | * s/usg5-4.h (LIBS_SYSTEM): Remove, system for which this was |
| 2010 | 2010 | added not supported anymore. | |
| 2011 | * s/netbsd.h (GETPGRP_NO_ARG, N_TRELOFF): | 2011 | |
| 2012 | * s/lynxos.h (GETPGRP_NO_ARG): | 2012 | * s/usg5-4-2.h (LIBS_SYSTEM): |
| 2013 | * s/hpux10-20.h (NO_SIOCTL_H): | 2013 | * s/sol2.h (LIBS_SYSTEM): Do not undefine. |
| 2014 | * s/gnu.h (GETPGRP_NO_ARG): | 2014 | |
| 2015 | * s/gnu-linux.h (NO_SIOCTL_H): | 2015 | * s/netbsd.h (GETPGRP_NO_ARG, N_TRELOFF): |
| 2016 | * s/freebsd.h (GETPGRP_NO_ARG, N_TRELOFF): | 2016 | * s/lynxos.h (GETPGRP_NO_ARG): |
| 2017 | * s/cygwin.h (GETPGRP_NO_ARG): | 2017 | * s/hpux10-20.h (NO_SIOCTL_H): |
| 2018 | * s/irix6-5.h (LIBS_SYSTEM, GETPGRP_NO_ARG): Remove, unused. | 2018 | * s/gnu.h (GETPGRP_NO_ARG): |
| 2019 | (C_DEBUG_SWITCH): Remove duplicate definition. | 2019 | * s/gnu-linux.h (NO_SIOCTL_H): |
| 2020 | 2020 | * s/freebsd.h (GETPGRP_NO_ARG, N_TRELOFF): | |
| 2021 | * m/ibms390.h: Remove boilerplate comments. | 2021 | * s/cygwin.h (GETPGRP_NO_ARG): |
| 2022 | 2022 | * s/irix6-5.h (LIBS_SYSTEM, GETPGRP_NO_ARG): Remove, unused. | |
| 2023 | * sysdep.c (closedir): Use SOLARIS2 instead of sun && USG5_4. | 2023 | (C_DEBUG_SWITCH): Remove duplicate definition. |
| 2024 | 2024 | ||
| 2025 | * process.c (HAVE_SERIAL): Consolidate ifdefs. | 2025 | * m/ibms390.h: Remove boilerplate comments. |
| 2026 | (wait_reading_process_output): Remove code for SunOS, platform not | 2026 | |
| 2027 | supported anymore. Use SOLARIS2 instead of sun. | 2027 | * sysdep.c (closedir): Use SOLARIS2 instead of sun && USG5_4. |
| 2028 | 2028 | ||
| 2029 | 2008-07-19 Adrian Robert <Adrian.B.Robert@gmail.com> | 2029 | * process.c (HAVE_SERIAL): Consolidate ifdefs. |
| 2030 | 2030 | (wait_reading_process_output): Remove code for SunOS, platform not | |
| 2031 | * font.c (font_open_by_name): Under NS, default lface height to zero. | 2031 | supported anymore. Use SOLARIS2 instead of sun. |
| 2032 | (font_open_for_lface): Under NS, set size based on frame fontsize. | 2032 | |
| 2033 | * nsterm.m (EmacsView-changeFont:): Remove some commented code. | 2033 | 2008-07-19 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 2034 | * frame.c (x_set_frame_parameters): Remove HAVE_NS ifdef. | 2034 | |
| 2035 | 2035 | * font.c (font_open_by_name): Under NS, default lface height to zero. | |
| 2036 | 2008-07-19 Adrian Robert <Adrian.B.Robert@gmail.com> | 2036 | (font_open_for_lface): Under NS, set size based on frame fontsize. |
| 2037 | 2037 | * nsterm.m (EmacsView-changeFont:): Remove some commented code. | |
| 2038 | * nsterm.m (ns_antialias_text, ns_use_qd_smoothing) | 2038 | * frame.c (x_set_frame_parameters): Remove HAVE_NS ifdef. |
| 2039 | (ns_use_system_highlight_color): Switch these from DEFVAR_BOOL to | 2039 | |
| 2040 | DEFVAR_LISP and change all code accordingly to use Qt/Qnil instead of | 2040 | 2008-07-19 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 2041 | YES/NO. | 2041 | |
| 2042 | * nsterm.h (prevUseHighlightColor): Make a Lisp_Object. | 2042 | * nsterm.m (ns_antialias_text, ns_use_qd_smoothing) |
| 2043 | * nsfont.m (nsfont_draw): Treat ns_use_qd_smoothing as Lisp_Object. | 2043 | (ns_use_system_highlight_color): Switch these from DEFVAR_BOOL to |
| 2044 | * Makefile.in (clean): Clear out build destination dir. | 2044 | DEFVAR_LISP and change all code accordingly to use Qt/Qnil instead of |
| 2045 | 2045 | YES/NO. | |
| 2046 | 2008-07-19 Adrian Robert <Adrian.B.Robert@gmail.com> | 2046 | * nsterm.h (prevUseHighlightColor): Make a Lisp_Object. |
| 2047 | 2047 | * nsfont.m (nsfont_draw): Treat ns_use_qd_smoothing as Lisp_Object. | |
| 2048 | * Makefile.in (nsgui.h-related dependencies): Remove abbrev, xfns, | 2048 | * Makefile.in (clean): Clear out build destination dir. |
| 2049 | xterm, xselect. | 2049 | |
| 2050 | * lisp.h: Remove declaration of hash_remove. | 2050 | 2008-07-19 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 2051 | * nsgui.h: Remove redefinitions of hash_remove. | 2051 | |
| 2052 | * fns.c (hash_remove): Rename to hash_remove_from_table. | 2052 | * Makefile.in (nsgui.h-related dependencies): Remove abbrev, xfns, |
| 2053 | 2053 | xterm, xselect. | |
| 2054 | 2008-07-19 Seiji Zenitani <zenitani@mac.com> | 2054 | * lisp.h: Remove declaration of hash_remove. |
| 2055 | 2055 | * nsgui.h: Remove redefinitions of hash_remove. | |
| 2056 | * nsfont.m (nsfont_fmember_to_entity, nsfont_make_fontset_for_font): | 2056 | * fns.c (hash_remove): Rename to hash_remove_from_table. |
| 2057 | strdup() the family UTF8String before modifying it. | 2057 | |
| 2058 | 2058 | 2008-07-19 Seiji Zenitani <zenitani@mac.com> | |
| 2059 | 2008-07-19 Adrian Robert <Adrian.B.Robert@gmail.com> | 2059 | |
| 2060 | 2060 | * nsfont.m (nsfont_fmember_to_entity, nsfont_make_fontset_for_font): | |
| 2061 | * nsterm.m (ns_maybe_dumpglyphs_background): Compare result from | 2061 | strdup() the family UTF8String before modifying it. |
| 2062 | NS_FACE_BACKGROUND with 0 instead of nil. | 2062 | |
| 2063 | * nsfont.m (nsfont_draw): Same. | 2063 | 2008-07-19 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 2064 | 2064 | ||
| 2065 | 2008-07-19 Chong Yidong <cyd@stupidchicken.com> | 2065 | * nsterm.m (ns_maybe_dumpglyphs_background): Compare result from |
| 2066 | 2066 | NS_FACE_BACKGROUND with 0 instead of nil. | |
| 2067 | * nsfns.m (ns_set_background_color): Fix crash. | 2067 | * nsfont.m (nsfont_draw): Same. |
| 2068 | 2068 | ||
| 2069 | 2008-07-18 Chong Yidong <cyd@stupidchicken.com> | 2069 | 2008-07-19 Chong Yidong <cyd@stupidchicken.com> |
| 2070 | 2070 | ||
| 2071 | * Makefile.in (SOME_MACHINE_LISP): Remove ns-carbon-compat.elc. | 2071 | * nsfns.m (ns_set_background_color): Fix crash. |
| 2072 | 2072 | ||
| 2073 | 2008-07-18 Dan Nicolaescu <dann@ics.uci.edu> | 2073 | 2008-07-18 Chong Yidong <cyd@stupidchicken.com> |
| 2074 | 2074 | ||
| 2075 | * puresize.h (BASE_PURESIZE): Increase to 1240000. | 2075 | * Makefile.in (SOME_MACHINE_LISP): Remove ns-carbon-compat.elc. |
| 2076 | 2076 | ||
| 2077 | 2008-07-17 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2077 | 2008-07-18 Dan Nicolaescu <dann@ics.uci.edu> |
| 2078 | 2078 | ||
| 2079 | * gtkutil.c: Include <config.h> instead of "config.h". | 2079 | * puresize.h (BASE_PURESIZE): Increase to 1240000. |
| 2080 | 2080 | ||
| 2081 | * lisp.h (Foverlay_buffer): Add EXFUN. | 2081 | 2008-07-17 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 2082 | 2082 | ||
| 2083 | * process.c (create_process) [!WINDOWSNT && FD_CLOEXEC]: Wait for | 2083 | * gtkutil.c: Include <config.h> instead of "config.h". |
| 2084 | child process to complete child_setup. Undo 2005-09-21 change. | 2084 | |
| 2085 | 2085 | * lisp.h (Foverlay_buffer): Add EXFUN. | |
| 2086 | * s/darwin.h: Mention setsid after vfork. | 2086 | |
| 2087 | 2087 | * process.c (create_process) [!WINDOWSNT && FD_CLOEXEC]: Wait for | |
| 2088 | 2008-07-17 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2088 | child process to complete child_setup. Undo 2005-09-21 change. |
| 2089 | 2089 | ||
| 2090 | * Makefile.in (frame.o, keyboard.o, xdisp.o, xfaces.o): | 2090 | * s/darwin.h: Mention setsid after vfork. |
| 2091 | Depend on macgui.h. | 2091 | |
| 2092 | 2092 | 2008-07-17 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
| 2093 | * macfns.c (Fx_server_version): Don't use gestaltSystemVersionMajor, | 2093 | |
| 2094 | gestaltSystemVersionMinor, or gestaltSystemVersionBugFix. | 2094 | * Makefile.in (frame.o, keyboard.o, xdisp.o, xfaces.o): |
| 2095 | 2095 | Depend on macgui.h. | |
| 2096 | * macterm.c (keycode_to_xkeysym_table): Add entries for f17, f18, | 2096 | |
| 2097 | and f19. | 2097 | * macfns.c (Fx_server_version): Don't use gestaltSystemVersionMajor, |
| 2098 | [MAC_OSX] (fn_keycode_to_keycode_table): Likewise. | 2098 | gestaltSystemVersionMinor, or gestaltSystemVersionBugFix. |
| 2099 | 2099 | ||
| 2100 | * macterm.h (gestaltSystemVersionMajor, gestaltSystemVersionMinor) | 2100 | * macterm.c (keycode_to_xkeysym_table): Add entries for f17, f18, |
| 2101 | (gestaltSystemVersionBugFix) [MAC_OS_X_VERSION_MAX_ALLOWED < 1040]: | 2101 | and f19. |
| 2102 | Remove enumerators. | 2102 | [MAC_OSX] (fn_keycode_to_keycode_table): Likewise. |
| 2103 | 2103 | ||
| 2104 | * mactoolbox.c [USE_MAC_TSM] (mac_handle_text_input_event): | 2104 | * macterm.h (gestaltSystemVersionMajor, gestaltSystemVersionMinor) |
| 2105 | Check if FACE_FROM_ID returns NULL. | 2105 | (gestaltSystemVersionBugFix) [MAC_OS_X_VERSION_MAX_ALLOWED < 1040]: |
| 2106 | 2106 | Remove enumerators. | |
| 2107 | 2008-07-17 David Robinow <drobinow@gmail.com> (tiny change) | 2107 | |
| 2108 | 2108 | * mactoolbox.c [USE_MAC_TSM] (mac_handle_text_input_event): | |
| 2109 | * w32inevt.c (change_frame_size): Remove extern declaration. | 2109 | Check if FACE_FROM_ID returns NULL. |
| 2110 | (resize_event, maybe_generate_resize_event): Pass SAFE arg to | 2110 | |
| 2111 | change_frame_size. | 2111 | 2008-07-17 David Robinow <drobinow@gmail.com> (tiny change) |
| 2112 | 2112 | ||
| 2113 | 2008-07-17 Adrian Robert <Adrian.B.Robert@gmail.com> | 2113 | * w32inevt.c (change_frame_size): Remove extern declaration. |
| 2114 | 2114 | (resize_event, maybe_generate_resize_event): Pass SAFE arg to | |
| 2115 | * getloadavg.c: Revert last change (2008-07-15). | 2115 | change_frame_size. |
| 2116 | 2116 | ||
| 2117 | 2008-07-17 Adrian Robert <Adrian.B.Robert@gmail.com> | 2117 | 2008-07-17 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 2118 | 2118 | ||
| 2119 | * Makefile.in: Replace emacsapp, emacsbindir, emacsappsrc variables | 2119 | * getloadavg.c: Revert last change (2008-07-15). |
| 2120 | set here with ns_appdir, ns_appresdir, ns_appbindir, ns_appsrc) set | 2120 | |
| 2121 | from configure. | 2121 | 2008-07-17 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 2122 | 2122 | ||
| 2123 | 2008-07-17 Dan Nicolaescu <dann@ics.uci.edu> | 2123 | * Makefile.in: Replace emacsapp, emacsbindir, emacsappsrc variables |
| 2124 | 2124 | set here with ns_appdir, ns_appresdir, ns_appbindir, ns_appsrc) set | |
| 2125 | * s/sol2.h: | 2125 | from configure. |
| 2126 | * s/sol2-4.h: Reorganize conditionals. | 2126 | |
| 2127 | 2127 | 2008-07-17 Dan Nicolaescu <dann@ics.uci.edu> | |
| 2128 | * ecrt0.c: Remove code depending on m68000, not used anymore. | 2128 | |
| 2129 | 2129 | * s/sol2.h: | |
| 2130 | * fns.c (hash_remove): Make static. | 2130 | * s/sol2-4.h: Reorganize conditionals. |
| 2131 | * lisp.h (hash_remove): Don't prototype. | 2131 | |
| 2132 | 2132 | * ecrt0.c: Remove code depending on m68000, not used anymore. | |
| 2133 | * m/ibmrs6000.h: | 2133 | |
| 2134 | * m/ibms390x.h: | 2134 | * fns.c (hash_remove): Make static. |
| 2135 | * m/macppc.h: Remove boilerplate comments. | 2135 | * lisp.h (hash_remove): Don't prototype. |
| 2136 | 2136 | ||
| 2137 | * m/sparc.h (A_TEXT_OFFSET, A_TEXT_SEEK): Remove, only used on | 2137 | * m/ibmrs6000.h: |
| 2138 | Solaris, which does not need them. | 2138 | * m/ibms390x.h: |
| 2139 | 2139 | * m/macppc.h: Remove boilerplate comments. | |
| 2140 | * m/vax.h: Remove comments about unsupported systems. | 2140 | |
| 2141 | 2141 | * m/sparc.h (A_TEXT_OFFSET, A_TEXT_SEEK): Remove, only used on | |
| 2142 | * s/darwin.h: Reorganize ifdefs. | 2142 | Solaris, which does not need them. |
| 2143 | 2143 | ||
| 2144 | 2008-07-17 Andreas Schwab <schwab@suse.de> | 2144 | * m/vax.h: Remove comments about unsupported systems. |
| 2145 | 2145 | ||
| 2146 | * s/cygwin.h (LIB_STANDARD_LIBSRC): Don't define. | 2146 | * s/darwin.h: Reorganize ifdefs. |
| 2147 | 2147 | ||
| 2148 | 2008-07-17 Stefan Monnier <monnier@iro.umontreal.ca> | 2148 | 2008-07-17 Andreas Schwab <schwab@suse.de> |
| 2149 | 2149 | ||
| 2150 | Use SDATA. Follow coding convention of placing operators at | 2150 | * s/cygwin.h (LIB_STANDARD_LIBSRC): Don't define. |
| 2151 | beginning of next line rather than end of previous line, and placing | 2151 | |
| 2152 | spaces around infix operators. | 2152 | 2008-07-17 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2153 | 2153 | ||
| 2154 | * Makefile.in: Undef LIB_STANDARD before defining it to silence warning | 2154 | Use SDATA. Follow coding convention of placing operators at |
| 2155 | in case it was defined already. | 2155 | beginning of next line rather than end of previous line, and placing |
| 2156 | USE @GNUSTEP_MAKEFILES@ rather than envvars. | 2156 | spaces around infix operators. |
| 2157 | * nsterm.m (ns_term_init): Pass Qt and Qnil rather than YES/NO to | 2157 | |
| 2158 | ns_default. | 2158 | * Makefile.in: Undef LIB_STANDARD before defining it to silence warning |
| 2159 | (applicationShouldTerminate, setValuesFromPanel): Use EQ to compare | 2159 | in case it was defined already. |
| 2160 | Lisp_Objects. | 2160 | USE @GNUSTEP_MAKEFILES@ rather than envvars. |
| 2161 | * nsterm.h (Fx_display_grayscale_p, Fx_display_planes) | 2161 | * nsterm.m (ns_term_init): Pass Qt and Qnil rather than YES/NO to |
| 2162 | (ns_defined_color, ns_color_to_lisp): Declare. | 2162 | ns_default. |
| 2163 | * nsselect.m (ns_handle_selection_request, ns_handle_selection_clear) | 2163 | (applicationShouldTerminate, setValuesFromPanel): Use EQ to compare |
| 2164 | (Fns_own_selection_internal): Make the big ugly hack more explicit, so | 2164 | Lisp_Objects. |
| 2165 | it's accepted even with USE_LISP_UNION_TYPE. | 2165 | * nsterm.h (Fx_display_grayscale_p, Fx_display_planes) |
| 2166 | * nsmenu.m (ns_update_menubar): Use EQ to compare Lisp_Objects. | 2166 | (ns_defined_color, ns_color_to_lisp): Declare. |
| 2167 | (update_frame_tool_bar): Remove apparently obsolete tests for | 2167 | * nsselect.m (ns_handle_selection_request, ns_handle_selection_clear) |
| 2168 | non-integerness of f->tool_bar_lines. | 2168 | (Fns_own_selection_internal): Make the big ugly hack more explicit, so |
| 2169 | (windowShouldClose, addButton, clicked, runDialogAt): Make the big ugly | 2169 | it's accepted even with USE_LISP_UNION_TYPE. |
| 2170 | hack more explicit, so it's accepted even with USE_LISP_UNION_TYPE. | 2170 | * nsmenu.m (ns_update_menubar): Use EQ to compare Lisp_Objects. |
| 2171 | * nsfont.m (nsfont_driver): Use just 0 rather than an invalid cast. | 2171 | (update_frame_tool_bar): Remove apparently obsolete tests for |
| 2172 | (nsfont_open): Don't confuse NULL for Qnil. | 2172 | non-integerness of f->tool_bar_lines. |
| 2173 | * nsfns.m (ns_implicitly_set_icon_type): Use EQ to compare Lisp_Objects. | 2173 | (windowShouldClose, addButton, clicked, runDialogAt): Make the big ugly |
| 2174 | * menu.h (find_and_call_menu_selection): | 2174 | hack more explicit, so it's accepted even with USE_LISP_UNION_TYPE. |
| 2175 | * menu.c (find_and_call_menu_selection): Use just int for vector size. | 2175 | * nsfont.m (nsfont_driver): Use just 0 rather than an invalid cast. |
| 2176 | (find_and_return_menu_selection): Always return something. | 2176 | (nsfont_open): Don't confuse NULL for Qnil. |
| 2177 | * frame.h: Include dispextern.h for Display_Info. | 2177 | * nsfns.m (ns_implicitly_set_icon_type): Use EQ to compare Lisp_Objects. |
| 2178 | (display_x_get_resource): Declare. | 2178 | * menu.h (find_and_call_menu_selection): |
| 2179 | 2179 | * menu.c (find_and_call_menu_selection): Use just int for vector size. | |
| 2180 | 2008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com> | 2180 | (find_and_return_menu_selection): Always return something. |
| 2181 | 2181 | * frame.h: Include dispextern.h for Display_Info. | |
| 2182 | * syntax.c: Remove stdio.h include accidentally introduced in | 2182 | (display_x_get_resource): Declare. |
| 2183 | Emacs.app commit. | 2183 | |
| 2184 | * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to | 2184 | 2008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 2185 | NS_IMPL_COCOA. | 2185 | |
| 2186 | * keyboard.c (handle_async_input, input_available_signal): Remove | 2186 | * syntax.c: Remove stdio.h include accidentally introduced in |
| 2187 | BSD4_1 conditional code, introduced accidentally in Emacs.app commit. | 2187 | Emacs.app commit. |
| 2188 | 2188 | * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to | |
| 2189 | 2008-07-16 Stefan Monnier <monnier@iro.umontreal.ca> | 2189 | NS_IMPL_COCOA. |
| 2190 | 2190 | * keyboard.c (handle_async_input, input_available_signal): Remove | |
| 2191 | * nsterm.m (lisp_to_mod): Use parse_solitary_modifier instead. | 2191 | BSD4_1 conditional code, introduced accidentally in Emacs.app commit. |
| 2192 | (ns_lisp_to_color): Don't mess with internal Lisp data fields. | 2192 | |
| 2193 | (ns_term_init, ns_term_shutdown, initFrameFromEmacs, ns_list_fonts): | 2193 | 2008-07-16 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2194 | Use SDATA. | 2194 | |
| 2195 | 2195 | * nsterm.m (lisp_to_mod): Use parse_solitary_modifier instead. | |
| 2196 | * keymap.c: Remove all NS-specific code. | 2196 | (ns_lisp_to_color): Don't mess with internal Lisp data fields. |
| 2197 | (where_is_preferred_modifier, Vwhere_is_preferred_modifier): New vars. | 2197 | (ns_term_init, ns_term_shutdown, initFrameFromEmacs, ns_list_fonts): |
| 2198 | (preferred_sequence_p): Rename from ascii_sequence_p; pay attention to | 2198 | Use SDATA. |
| 2199 | where_is_preferred_modifier, return a different value depending on how | 2199 | |
| 2200 | preferred is the binding. | 2200 | * keymap.c: Remove all NS-specific code. |
| 2201 | (where_is_internal): Adjust accordingly. | 2201 | (where_is_preferred_modifier, Vwhere_is_preferred_modifier): New vars. |
| 2202 | (Fwhere_is_internal): Refresh where_is_preferred_modifier. | 2202 | (preferred_sequence_p): Rename from ascii_sequence_p; pay attention to |
| 2203 | Adjust to new preferred_sequence_p. | 2203 | where_is_preferred_modifier, return a different value depending on how |
| 2204 | (syms_of_keymap): Declare `where-is-preferred-modifier'. | 2204 | preferred is the binding. |
| 2205 | * keyboard.c (parse_solitary_modifier): Not static any more. | 2205 | (where_is_internal): Adjust accordingly. |
| 2206 | * keyboard.h (parse_solitary_modifier): Declare. | 2206 | (Fwhere_is_internal): Refresh where_is_preferred_modifier. |
| 2207 | 2207 | Adjust to new preferred_sequence_p. | |
| 2208 | 2008-07-16 Andreas Schwab <schwab@suse.de> | 2208 | (syms_of_keymap): Declare `where-is-preferred-modifier'. |
| 2209 | 2209 | * keyboard.c (parse_solitary_modifier): Not static any more. | |
| 2210 | * Makefile.in (SOME_MACHINE_LISP): Remove easy-mmode, fix spelling | 2210 | * keyboard.h (parse_solitary_modifier): Declare. |
| 2211 | of easymenu. | 2211 | |
| 2212 | 2212 | 2008-07-16 Andreas Schwab <schwab@suse.de> | |
| 2213 | 2008-07-16 Chong Yidong <cyd@stupidchicken.com> | 2213 | |
| 2214 | 2214 | * Makefile.in (SOME_MACHINE_LISP): Remove easy-mmode, fix spelling | |
| 2215 | * xdisp.c (move_it_in_display_line): Account for word wrap, so | 2215 | of easymenu. |
| 2216 | that we don't move off the line. | 2216 | |
| 2217 | 2217 | 2008-07-16 Chong Yidong <cyd@stupidchicken.com> | |
| 2218 | 2008-07-16 Stefan Monnier <monnier@iro.umontreal.ca> | 2218 | |
| 2219 | 2219 | * xdisp.c (move_it_in_display_line): Account for word wrap, so | |
| 2220 | * keyboard.c (Qsuper): Remove. | 2220 | that we don't move off the line. |
| 2221 | (parse_menu_item): Don't call where_is_internal specially for NS. | 2221 | |
| 2222 | 2222 | 2008-07-16 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 2223 | 2008-07-16 Dan Nicolaescu <dann@ics.uci.edu> | 2223 | |
| 2224 | 2224 | * keyboard.c (Qsuper): Remove. | |
| 2225 | * s/gnu-linux.h: Remove boilerplate comments. | 2225 | (parse_menu_item): Don't call where_is_internal specially for NS. |
| 2226 | 2226 | ||
| 2227 | * m/alpha.h (__ELF__): Consolidate conditions. | 2227 | 2008-07-16 Dan Nicolaescu <dann@ics.uci.edu> |
| 2228 | 2228 | ||
| 2229 | * m/m68k.h (linux): Use GNU_LINUX instead. | 2229 | * s/gnu-linux.h: Remove boilerplate comments. |
| 2230 | Remove boilerplate comments. | 2230 | |
| 2231 | 2231 | * m/alpha.h (__ELF__): Consolidate conditions. | |
| 2232 | * m/intel386.h: Undo refactoring from previous change. | 2232 | |
| 2233 | (LIB_STANDARD): All systems that define USG define LIB_STANDARD | 2233 | * m/m68k.h (linux): Use GNU_LINUX instead. |
| 2234 | too, remove dead code. | 2234 | Remove boilerplate comments. |
| 2235 | (linux): Use GNU_LINUX instead. | 2235 | |
| 2236 | 2236 | * m/intel386.h: Undo refactoring from previous change. | |
| 2237 | 2008-07-16 Jason Rumney <jasonr@gnu.org> | 2237 | (LIB_STANDARD): All systems that define USG define LIB_STANDARD |
| 2238 | 2238 | too, remove dead code. | |
| 2239 | * w32gui.h: Repeat 26 June changes lost by last change. | 2239 | (linux): Use GNU_LINUX instead. |
| 2240 | 2240 | ||
| 2241 | 2008-07-16 Dan Nicolaescu <dann@ics.uci.edu> | 2241 | 2008-07-16 Jason Rumney <jasonr@gnu.org> |
| 2242 | 2242 | ||
| 2243 | * systty.h: Remove code for Aix on 386, unsupported platform. | 2243 | * w32gui.h: Repeat 26 June changes lost by last change. |
| 2244 | 2244 | ||
| 2245 | * s/ms-w32.h: Remove boilerplate comments. | 2245 | 2008-07-16 Dan Nicolaescu <dann@ics.uci.edu> |
| 2246 | (fcloseall, fgetchar, flushall, fputchar, getw, putw): Remove, unused. | 2246 | |
| 2247 | 2247 | * systty.h: Remove code for Aix on 386, unsupported platform. | |
| 2248 | * s/gnu-linux.h (TERM): Remove support. | 2248 | |
| 2249 | (HAVE_SYSVIPC): Remove, unused. | 2249 | * s/ms-w32.h: Remove boilerplate comments. |
| 2250 | (A_TEXT_OFFSET, A_TEXT_SEEK, ADJUST_EXEC_HEADER): Remove, not used | 2250 | (fcloseall, fgetchar, flushall, fputchar, getw, putw): Remove, unused. |
| 2251 | for this system. | 2251 | |
| 2252 | 2252 | * s/gnu-linux.h (TERM): Remove support. | |
| 2253 | * process.c: Remove support for IRIS, unused. | 2253 | (HAVE_SYSVIPC): Remove, unused. |
| 2254 | Remove support for TERM, not relevant anymore. | 2254 | (A_TEXT_OFFSET, A_TEXT_SEEK, ADJUST_EXEC_HEADER): Remove, not used |
| 2255 | 2255 | for this system. | |
| 2256 | * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Remove, replace the only | 2256 | |
| 2257 | used with the definition. | 2257 | * process.c: Remove support for IRIS, unused. |
| 2258 | 2258 | Remove support for TERM, not relevant anymore. | |
| 2259 | * s/aix4-2.h (static): Do not undef. | 2259 | |
| 2260 | 2260 | * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Remove, replace the only | |
| 2261 | * m/ibmrs6000.h: Remove code depending on USG5_4, this file is | 2261 | used with the definition. |
| 2262 | only used on Aix. | 2262 | |
| 2263 | (HAVE_SYSVIPC): Remove, unused. | 2263 | * s/aix4-2.h (static): Do not undef. |
| 2264 | 2264 | ||
| 2265 | * m/hp800.h (CANNOT_DUMP): Do not undef. | 2265 | * m/ibmrs6000.h: Remove code depending on USG5_4, this file is |
| 2266 | 2266 | only used on Aix. | |
| 2267 | * m/alpha.h: Fix comment. | 2267 | (HAVE_SYSVIPC): Remove, unused. |
| 2268 | 2268 | ||
| 2269 | * s/usg5-4.h (HAVE_SYSVIPC): Remove, unused. | 2269 | * m/hp800.h (CANNOT_DUMP): Do not undef. |
| 2270 | (USG_SHARED_LIBRARIES): Remove, only used in unexec.c which is not | 2270 | |
| 2271 | used by this configuration. | 2271 | * m/alpha.h: Fix comment. |
| 2272 | * emacs.c: Remove code depending on USG_SHARED_LIBRARIES. | 2272 | |
| 2273 | * unexec.c: Remove code depending on HPUX and | 2273 | * s/usg5-4.h (HAVE_SYSVIPC): Remove, unused. |
| 2274 | USG_SHARED_LIBRARIES, not used with this file. Remove code | 2274 | (USG_SHARED_LIBRARIES): Remove, only used in unexec.c which is not |
| 2275 | depending on IRIS, unused. Remove if 0-ed code. | 2275 | used by this configuration. |
| 2276 | 2276 | * emacs.c: Remove code depending on USG_SHARED_LIBRARIES. | |
| 2277 | * s/template.h: Remove comments about static. | 2277 | * unexec.c: Remove code depending on HPUX and |
| 2278 | 2278 | USG_SHARED_LIBRARIES, not used with this file. Remove code | |
| 2279 | * sysdep.c: Remove code depending on NEED_PTEM_H, unused. | 2279 | depending on IRIS, unused. Remove if 0-ed code. |
| 2280 | Remove if 0-ed code. | 2280 | |
| 2281 | (baud_convert): Don't depend on BAUD_CONVERT, all definitions the | 2281 | * s/template.h: Remove comments about static. |
| 2282 | were the same as the default. | 2282 | |
| 2283 | * s/vms.h (BAUD_CONVERT): Remove, same as the default. | 2283 | * sysdep.c: Remove code depending on NEED_PTEM_H, unused. |
| 2284 | Remove boilerplate comments. | 2284 | Remove if 0-ed code. |
| 2285 | * s/hpux10-20.h (BAUD_CONVERT): Remove, same as the default. | 2285 | (baud_convert): Don't depend on BAUD_CONVERT, all definitions the |
| 2286 | (HAVE_SYSVIPC): Remove, unused. | 2286 | were the same as the default. |
| 2287 | (LD_SWITCH_SYSTEM_TEMACS): Simplify, hp9000s700 not supported anymore. | 2287 | * s/vms.h (BAUD_CONVERT): Remove, same as the default. |
| 2288 | 2288 | Remove boilerplate comments. | |
| 2289 | * m/ia64.h (PNTR_COMPARISON_TYPE): Remove, same as the default. | 2289 | * s/hpux10-20.h (BAUD_CONVERT): Remove, same as the default. |
| 2290 | Remove boilerplate comments. | 2290 | (HAVE_SYSVIPC): Remove, unused. |
| 2291 | * m/amdx86-64.h (PNTR_COMPARISON_TYPE): Remove, same as the default. | 2291 | (LD_SWITCH_SYSTEM_TEMACS): Simplify, hp9000s700 not supported anymore. |
| 2292 | Remove boilerplate comments. | 2292 | |
| 2293 | * m/ibms390x.h (PNTR_COMPARISON_TYPE): Remove, same as the default. | 2293 | * m/ia64.h (PNTR_COMPARISON_TYPE): Remove, same as the default. |
| 2294 | Remove boilerplate comments. | 2294 | Remove boilerplate comments. |
| 2295 | * lisp.h (PNTR_COMPARISON_TYPE): Define it unconditionally. | 2295 | * m/amdx86-64.h (PNTR_COMPARISON_TYPE): Remove, same as the default. |
| 2296 | 2296 | Remove boilerplate comments. | |
| 2297 | * m/intel386.h (DATA_SEG_BITS): Remove definitions, only used on | 2297 | * m/ibms390x.h (PNTR_COMPARISON_TYPE): Remove, same as the default. |
| 2298 | USG systems which do not use DATA_SEG_BITS. | 2298 | Remove boilerplate comments. |
| 2299 | Refactor code. Remove boilerplate comments. | 2299 | * lisp.h (PNTR_COMPARISON_TYPE): Define it unconditionally. |
| 2300 | 2300 | ||
| 2301 | * m/ibms390.h: | 2301 | * m/intel386.h (DATA_SEG_BITS): Remove definitions, only used on |
| 2302 | * m/m68k.h: | 2302 | USG systems which do not use DATA_SEG_BITS. |
| 2303 | * s/bsd-common.h: | 2303 | Refactor code. Remove boilerplate comments. |
| 2304 | * s/cygwin.h: | 2304 | |
| 2305 | * s/darwin.h: | 2305 | * m/ibms390.h: |
| 2306 | * s/freebsd.h: | 2306 | * m/m68k.h: |
| 2307 | * s/gnu.h: | 2307 | * s/bsd-common.h: |
| 2308 | * s/msdos.h: Remove boilerplate comments. | 2308 | * s/cygwin.h: |
| 2309 | 2309 | * s/darwin.h: | |
| 2310 | * m/iris4d.h: Remove boilerplate comments and code for systems that | 2310 | * s/freebsd.h: |
| 2311 | do not use this file. | 2311 | * s/gnu.h: |
| 2312 | (IRIS_4D): Remove, unused. | 2312 | * s/msdos.h: Remove boilerplate comments. |
| 2313 | 2313 | ||
| 2314 | * m/mips.h: Remove boilerplate comments and code for systems that | 2314 | * m/iris4d.h: Remove boilerplate comments and code for systems that |
| 2315 | do not use this file. | 2315 | do not use this file. |
| 2316 | (SIGN_EXTEND_CHAR): | 2316 | (IRIS_4D): Remove, unused. |
| 2317 | * m/arm.h (SIGN_EXTEND_CHAR): Remove, unused. | 2317 | |
| 2318 | * unexmips.c: Remove file, unused. | 2318 | * m/mips.h: Remove boilerplate comments and code for systems that |
| 2319 | 2319 | do not use this file. | |
| 2320 | * editfns.c (Fuser_full_name): Replace the only use of | 2320 | (SIGN_EXTEND_CHAR): |
| 2321 | USER_FULL_NAME with its value. | 2321 | * m/arm.h (SIGN_EXTEND_CHAR): Remove, unused. |
| 2322 | * config.in: Regenerate. | 2322 | * unexmips.c: Remove file, unused. |
| 2323 | 2323 | ||
| 2324 | 2008-07-16 David Reitter <david.reitter@gmail.com> | 2324 | * editfns.c (Fuser_full_name): Replace the only use of |
| 2325 | 2325 | USER_FULL_NAME with its value. | |
| 2326 | * Makefile.in: Add ns-win, ns-carbon-compat, easy-mmode and | 2326 | * config.in: Regenerate. |
| 2327 | easy-menu to SOME_MACHINE_LISP for the new NeXTstep port. | 2327 | |
| 2328 | 2328 | 2008-07-16 David Reitter <david.reitter@gmail.com> | |
| 2329 | 2008-07-16 Glenn Morris <rgm@gnu.org> | 2329 | |
| 2330 | 2330 | * Makefile.in: Add ns-win, ns-carbon-compat, easy-mmode and | |
| 2331 | * emacs.c (system-type): Doc fix. | 2331 | easy-menu to SOME_MACHINE_LISP for the new NeXTstep port. |
| 2332 | 2332 | ||
| 2333 | 2008-07-15 Stefan Monnier <monnier@iro.umontreal.ca> | 2333 | 2008-07-16 Glenn Morris <rgm@gnu.org> |
| 2334 | 2334 | ||
| 2335 | * keyboard.c (parse_menu_item): Don't use cachelist, even under NS. | 2335 | * emacs.c (system-type): Doc fix. |
| 2336 | If the cache doesn't work, let's fix it, rather than work around it. | 2336 | |
| 2337 | 2337 | 2008-07-15 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 2338 | 2008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com> | 2338 | |
| 2339 | 2339 | * keyboard.c (parse_menu_item): Don't use cachelist, even under NS. | |
| 2340 | * Makefile.in: Correct additions for nsfont.o in last commit. | 2340 | If the cache doesn't work, let's fix it, rather than work around it. |
| 2341 | * nsfont.m: New file (forgot last commit). | 2341 | |
| 2342 | 2342 | 2008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com> | |
| 2343 | 2008-07-15 Chris Hall <chris@web.workinglinux.com> (tiny change) | 2343 | |
| 2344 | 2344 | * Makefile.in: Correct additions for nsfont.o in last commit. | |
| 2345 | * callproc.c (set_initial_environment): Initialize | 2345 | * nsfont.m: New file (forgot last commit). |
| 2346 | Vprocess_environment under CANNOT_DUMP (fixes crash when | 2346 | |
| 2347 | batch-compiling for bootstrap). | 2347 | 2008-07-15 Chris Hall <chris@web.workinglinux.com> (tiny change) |
| 2348 | 2348 | ||
| 2349 | 2008-07-15 Chris Hall <chris@web.workinglinux.com> (tiny change) | 2349 | * callproc.c (set_initial_environment): Initialize |
| 2350 | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2350 | Vprocess_environment under CANNOT_DUMP (fixes crash when |
| 2351 | 2351 | batch-compiling for bootstrap). | |
| 2352 | (make_initial_frame): Call init_frame_faces(f) in CANNOT_DUMP case -- | 2352 | |
| 2353 | fix crash due to different init order. | 2353 | 2008-07-15 Chris Hall <chris@web.workinglinux.com> (tiny change) |
| 2354 | 2354 | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
| 2355 | 2008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com> | 2355 | |
| 2356 | 2356 | (make_initial_frame): Call init_frame_faces(f) in CANNOT_DUMP case -- | |
| 2357 | Changes and additions for NeXTstep windowing system (Cocoa and | 2357 | fix crash due to different init order. |
| 2358 | GNUstep) support. | 2358 | |
| 2359 | 2359 | 2008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com> | |
| 2360 | * Makefile.in: | 2360 | |
| 2361 | * config.in: Support defines and build commands for NS port. | 2361 | Changes and additions for NeXTstep windowing system (Cocoa and |
| 2362 | * blockinput.h (BLOCK_INPUT, UNBLOCK_INPUT, TOTALLY_UNBLOCK_INPUT) | 2362 | GNUstep) support. |
| 2363 | (UNBLOCK_INPUT_TO): Don't use under NS unless EXPERIMENTAL_CONTROL_G. | 2363 | |
| 2364 | * dispextern.h: Include nsgui.h and add needed typedefs under NS | 2364 | * Makefile.in: |
| 2365 | windowing. | 2365 | * config.in: Support defines and build commands for NS port. |
| 2366 | (struct face): Add synth_ital field. | 2366 | * blockinput.h (BLOCK_INPUT, UNBLOCK_INPUT, TOTALLY_UNBLOCK_INPUT) |
| 2367 | * dispnew.c: Include nsterm.h when compiling under NS windowing. | 2367 | (UNBLOCK_INPUT_TO): Don't use under NS unless EXPERIMENTAL_CONTROL_G. |
| 2368 | (init_display): Initialize Vinitial_window_system to "ns" when so | 2368 | * dispextern.h: Include nsgui.h and add needed typedefs under NS |
| 2369 | compiled. | 2369 | windowing. |
| 2370 | * emacs.c: Include GSConfig.h when compiling under GNUstep. | 2370 | (struct face): Add synth_ital field. |
| 2371 | (display_arg): Use under NS. | 2371 | * dispnew.c: Include nsterm.h when compiling under NS windowing. |
| 2372 | (main): Under NS, allocate autorelease pool and handle command line | 2372 | (init_display): Initialize Vinitial_window_system to "ns" when so |
| 2373 | args. Move syms_of_xmenu() call under #ifdef HAVE_X_WINDOWS. | 2373 | compiled. |
| 2374 | (standard_args): Add NS-specific args. | 2374 | * emacs.c: Include GSConfig.h when compiling under GNUstep. |
| 2375 | (shut_down_emacs): Shut down NS terminal if compiled under NS. | 2375 | (display_arg): Use under NS. |
| 2376 | * font.c (DEFAULT_ENCODING): New variable. | 2376 | (main): Under NS, allocate autorelease pool and handle command line |
| 2377 | (font_find_for_lface): Use it. | 2377 | args. Move syms_of_xmenu() call under #ifdef HAVE_X_WINDOWS. |
| 2378 | (syms_of_font): Load syms_of_nsfont under NS. | 2378 | (standard_args): Add NS-specific args. |
| 2379 | * font.h: Declare nsfont_driver when compiled under NS. | 2379 | (shut_down_emacs): Shut down NS terminal if compiled under NS. |
| 2380 | * fontset.c: When compiling under NS, include nsterm.h. | 2380 | * font.c (DEFAULT_ENCODING): New variable. |
| 2381 | (fontset_from_font): Autoconstruct fontset under NS. | 2381 | (font_find_for_lface): Use it. |
| 2382 | * frame.c (various): Under NS, include nsterm.h, add Qns window system | 2382 | (syms_of_font): Load syms_of_nsfont under NS. |
| 2383 | symbol, document and use it. | 2383 | * font.h: Declare nsfont_driver when compiled under NS. |
| 2384 | (do_switch_frame): When for_deletion under Cocoa, add | 2384 | * fontset.c: When compiling under NS, include nsterm.h. |
| 2385 | Fraise_frame(Qnil). | 2385 | (fontset_from_font): Autoconstruct fontset under NS. |
| 2386 | (x_set_frame_parameters): Ensure font attribute changes are picked up. | 2386 | * frame.c (various): Under NS, include nsterm.h, add Qns window system |
| 2387 | (x_get_arg): Allow "yes" and "no" as boolean values. | 2387 | symbol, document and use it. |
| 2388 | (syms_of_frame): Declare Qns. Init Vdefault_frame_scroll_bars to | 2388 | (do_switch_frame): When for_deletion under Cocoa, add |
| 2389 | Qright under Cocoa. | 2389 | Fraise_frame(Qnil). |
| 2390 | (focus-follows-mouse): Default to 0 under NS. | 2390 | (x_set_frame_parameters): Ensure font attribute changes are picked up. |
| 2391 | * frame.h (enum output_method): Add output_ns. | 2391 | (x_get_arg): Allow "yes" and "no" as boolean values. |
| 2392 | (external_tool_bar, external_menu_bar, FRAME_EXTERNAL_TOOLBAR) | 2392 | (syms_of_frame): Declare Qns. Init Vdefault_frame_scroll_bars to |
| 2393 | (FRAME_EXTERNAL_MENU_BAR): Use under NS. | 2393 | Qright under Cocoa. |
| 2394 | (FRAME_WINDOW_P): NS-specific definition. | 2394 | (focus-follows-mouse): Default to 0 under NS. |
| 2395 | * fringe.c (max_used_fringe_bitmap): Make public. | 2395 | * frame.h (enum output_method): Add output_ns. |
| 2396 | * getloadavg.c (mach/mach.h): Include it under NeXT descendant OS's. | 2396 | (external_tool_bar, external_menu_bar, FRAME_EXTERNAL_TOOLBAR) |
| 2397 | (getloadavg): Use NeXT code under descendant OS's. | 2397 | (FRAME_EXTERNAL_MENU_BAR): Use under NS. |
| 2398 | * image.c (includes and header section, x_create_bitmap_from_data) | 2398 | (FRAME_WINDOW_P): NS-specific definition. |
| 2399 | (x_create_bitmap_from_file, free_bitmap_record, image_background) | 2399 | * fringe.c (max_used_fringe_bitmap): Make public. |
| 2400 | (image_background_transparent, x_clear_image_1) | 2400 | * getloadavg.c (mach/mach.h): Include it under NeXT descendant OS's. |
| 2401 | (x_create_x_image_and_pixmap, x_destroy_x_image, x_put_x_image) | 2401 | (getloadavg): Use NeXT code under descendant OS's. |
| 2402 | (Create_Pixmap_From_Bitmap_Data, xpm_load_image, lookup_rgb_color) | 2402 | * image.c (includes and header section, x_create_bitmap_from_data) |
| 2403 | (x_to_xcolors, x_from_xcolors, x_disable_image) | 2403 | (x_create_bitmap_from_file, free_bitmap_record, image_background) |
| 2404 | (x_build_heuristic_mask, syms_of_image): Add NS support parallel to | 2404 | (image_background_transparent, x_clear_image_1) |
| 2405 | other GUIs, including XPM support using code originally written for | 2405 | (x_create_x_image_and_pixmap, x_destroy_x_image, x_put_x_image) |
| 2406 | Carbon GUI. | 2406 | (Create_Pixmap_From_Bitmap_Data, xpm_load_image, lookup_rgb_color) |
| 2407 | (png_load, jpeg_load, tiff_load, gif_load): Add implementations | 2407 | (x_to_xcolors, x_from_xcolors, x_disable_image) |
| 2408 | using NS API. | 2408 | (x_build_heuristic_mask, syms_of_image): Add NS support parallel to |
| 2409 | (image_ascent): Use font metrics macros instead of direct struct field | 2409 | other GUIs, including XPM support using code originally written for |
| 2410 | access. | 2410 | Carbon GUI. |
| 2411 | * keyboard.c (includes): Add nsterm.h when compiling under NS. | 2411 | (png_load, jpeg_load, tiff_load, gif_load): Add implementations |
| 2412 | (kbd_buffer_get_event): Handle NS as other GUI windowing systems. | 2412 | using NS API. |
| 2413 | Also, handle NS as GTK for menu bar purposes. | 2413 | (image_ascent): Use font metrics macros instead of direct struct field |
| 2414 | (make_lispy_event): Handle NS as other GUI windowing systems, and as X | 2414 | access. |
| 2415 | toolkit where they differ. | 2415 | * keyboard.c (includes): Add nsterm.h when compiling under NS. |
| 2416 | (parse_menu_item): Prefer keybindings using 'super' modifier. Also, | 2416 | (kbd_buffer_get_event): Handle NS as other GUI windowing systems. |
| 2417 | use cachelist, still needed under NS. | 2417 | Also, handle NS as GTK for menu bar purposes. |
| 2418 | * keyboard.h (ENCODE_MENU_STRING, XtPointer, Boolean): Handle as NTGUI. | 2418 | (make_lispy_event): Handle NS as other GUI windowing systems, and as X |
| 2419 | (struct widget_value): Define it here for menu.c. | 2419 | toolkit where they differ. |
| 2420 | * keymap.c (includes): Include modifier internals. | 2420 | (parse_menu_item): Prefer keybindings using 'super' modifier. Also, |
| 2421 | (lisp_to_mod, modifier_sequence_p): New functions, compiled only under | 2421 | use cachelist, still needed under NS. |
| 2422 | NS. | 2422 | * keyboard.h (ENCODE_MENU_STRING, XtPointer, Boolean): Handle as NTGUI. |
| 2423 | (where_is_internal, Fwhere_is_internal): When compiled under NS, add | 2423 | (struct widget_value): Define it here for menu.c. |
| 2424 | support for preferring sequences using certain modifiers, specified by | 2424 | * keymap.c (includes): Include modifier internals. |
| 2425 | the FIRSTONLY argument. | 2425 | (lisp_to_mod, modifier_sequence_p): New functions, compiled only under |
| 2426 | * lisp.h (hash_remove): Rename to avoid name clash when compiling | 2426 | NS. |
| 2427 | under NS GNUstep implementation. | 2427 | (where_is_internal, Fwhere_is_internal): When compiled under NS, add |
| 2428 | (USE_LSB_TAG): Use it under Cocoa when compiling under NS. | 2428 | support for preferring sequences using certain modifiers, specified by |
| 2429 | * lread.c (init_lread): Treat NS as HAVE_CARBON for turn_off_warning. | 2429 | the FIRSTONLY argument. |
| 2430 | * menu.c: Include nsterm.h under NS. | 2430 | * lisp.h (hash_remove): Rename to avoid name clash when compiling |
| 2431 | (single_menu_item, parse_single_submenu, xmalloc_widget_value) | 2431 | under NS GNUstep implementation. |
| 2432 | (free_menubar_widget_tree_value, update_submenu_strings) | 2432 | (USE_LSB_TAG): Use it under Cocoa when compiling under NS. |
| 2433 | (find_and_call_menu_selection): Treat NS as X and NT. | 2433 | * lread.c (init_lread): Treat NS as HAVE_CARBON for turn_off_warning. |
| 2434 | (find_and_return_menu_selection): New function, used for popup menus. | 2434 | * menu.c: Include nsterm.h under NS. |
| 2435 | * nsgui.h: | 2435 | (single_menu_item, parse_single_submenu, xmalloc_widget_value) |
| 2436 | * nsterm.h: | 2436 | (free_menubar_widget_tree_value, update_submenu_strings) |
| 2437 | * nsfns.m: | 2437 | (find_and_call_menu_selection): Treat NS as X and NT. |
| 2438 | * nsimage.m: | 2438 | (find_and_return_menu_selection): New function, used for popup menus. |
| 2439 | * nsmenu.m: | 2439 | * nsgui.h: |
| 2440 | * nsselect.m: | 2440 | * nsterm.h: |
| 2441 | * nsterm.m: New files. | 2441 | * nsfns.m: |
| 2442 | * process.c (wait_reading_process_output): Under NS, call ns_select() | 2442 | * nsimage.m: |
| 2443 | instead of plain select(). | 2443 | * nsmenu.m: |
| 2444 | * syntax.c (char_quoted): Under NS, avoid a crash when called near | 2444 | * nsselect.m: |
| 2445 | beginning of buffer. | 2445 | * nsterm.m: New files. |
| 2446 | * sysselect.h (init_process): Rename when compiling under Cocoa to | 2446 | * process.c (wait_reading_process_output): Under NS, call ns_select() |
| 2447 | avoid name conflict. | 2447 | instead of plain select(). |
| 2448 | * termhooks.h (display_info): Add ns_display_info to union. | 2448 | * syntax.c (char_quoted): Under NS, avoid a crash when called near |
| 2449 | * terminal.c (Fterminal_live_p): Add ns to terminal types. | 2449 | beginning of buffer. |
| 2450 | * terminfo.c (UP, BC, PC): Don't declare when compiling under NS in | 2450 | * sysselect.h (init_process): Rename when compiling under Cocoa to |
| 2451 | COCOA environment. | 2451 | avoid name conflict. |
| 2452 | * unexnext.c: Update to work with mach API on Mac OS X, and to use new | 2452 | * termhooks.h (display_info): Add ns_display_info to union. |
| 2453 | unexec() signature. (Note, this will dump, but the resulting file | 2453 | * terminal.c (Fterminal_live_p): Add ns to terminal types. |
| 2454 | crashes; unexosx is used instead; keeping around for reference and | 2454 | * terminfo.c (UP, BC, PC): Don't declare when compiling under NS in |
| 2455 | possible aid in getting dump working under GNUstep.) | 2455 | COCOA environment. |
| 2456 | * w32gui.h (button_type, widget_value): Remove definitions (now in | 2456 | * unexnext.c: Update to work with mach API on Mac OS X, and to use new |
| 2457 | keyboard.h). | 2457 | unexec() signature. (Note, this will dump, but the resulting file |
| 2458 | * window.c: Include nsterm.h when compiling under NS. | 2458 | crashes; unexosx is used instead; keeping around for reference and |
| 2459 | * xdisp.c (includes): Include nsterm.h when compiling under NS. | 2459 | possible aid in getting dump working under GNUstep.) |
| 2460 | (set_frame_menubar, update_menu_bar, display_menu_bar): Handle NS as | 2460 | * w32gui.h (button_type, widget_value): Remove definitions (now in |
| 2461 | other GUI windowing systems. | 2461 | keyboard.h). |
| 2462 | (update_tool_bar, redisplay_tool_bar, redisplay_window): Handle NS as | 2462 | * window.c: Include nsterm.h when compiling under NS. |
| 2463 | GTK. | 2463 | * xdisp.c (includes): Include nsterm.h when compiling under NS. |
| 2464 | (x_consider_frame_title): Under NS, set icon type and frame | 2464 | (set_frame_menubar, update_menu_bar, display_menu_bar): Handle NS as |
| 2465 | modified-state indicator; use ns_set_name_as_filename() when using | 2465 | other GUI windowing systems. |
| 2466 | formatted title. | 2466 | (update_tool_bar, redisplay_tool_bar, redisplay_window): Handle NS as |
| 2467 | (update_window_cursor): Make public when compiling under NS. | 2467 | GTK. |
| 2468 | (display_hourglass_p, syms_of_xdisp, hourglass_shown_p) | 2468 | (x_consider_frame_title): Under NS, set icon type and frame |
| 2469 | (hourglass_atimer, Vhourglass_delay | 2469 | modified-state indicator; use ns_set_name_as_filename() when using |
| 2470 | * xfaces.c (header section, init_frame_faces, clear_font_table) | 2470 | formatted title. |
| 2471 | (defined_color, unload_color, x_face_list_fonts) | 2471 | (update_window_cursor): Make public when compiling under NS. |
| 2472 | (prepare_face_for_display): Add NS support parallel to other GUIs. | 2472 | (display_hourglass_p, syms_of_xdisp, hourglass_shown_p) |
| 2473 | Emulate GCs like other non-X GUIs. | 2473 | (hourglass_atimer, Vhourglass_delay |
| 2474 | (split_font_name): Don't lowercase font name under NS. | 2474 | * xfaces.c (header section, init_frame_faces, clear_font_table) |
| 2475 | (merge_face_ref, Finternal_set_lisp_face_attribute): Support stippling | 2475 | (defined_color, unload_color, x_face_list_fonts) |
| 2476 | under NS. | 2476 | (prepare_face_for_display): Add NS support parallel to other GUIs. |
| 2477 | * s/darwin.h: Add support for compilation under NS. | 2477 | Emulate GCs like other non-X GUIs. |
| 2478 | 2478 | (split_font_name): Don't lowercase font name under NS. | |
| 2479 | 2008-07-15 Jason Rumney <jasonr@gnu.org> | 2479 | (merge_face_ref, Finternal_set_lisp_face_attribute): Support stippling |
| 2480 | 2480 | under NS. | |
| 2481 | * w32fns.c (Fx_create_frame): Remove duplicate unwind_protect. | 2481 | * s/darwin.h: Add support for compilation under NS. |
| 2482 | (w32_show_hourglass): Rename from show_hourglass. | 2482 | |
| 2483 | (w32_hide_hourglass): Rename from hide_hourglass. | 2483 | 2008-07-15 Jason Rumney <jasonr@gnu.org> |
| 2484 | (DEFAULT_HOURGLASS_DELAY): Revert from last change. | 2484 | |
| 2485 | (Vhourglass_delay): Declare extern. | 2485 | * w32fns.c (Fx_create_frame): Remove duplicate unwind_protect. |
| 2486 | (hourglass_started): Remove. | 2486 | (w32_show_hourglass): Rename from show_hourglass. |
| 2487 | 2487 | (w32_hide_hourglass): Rename from hide_hourglass. | |
| 2488 | * xdisp.c (Vhourglass_delay): Remove static. | 2488 | (DEFAULT_HOURGLASS_DELAY): Revert from last change. |
| 2489 | (hourglass_started, start_hourglass, cancel_hourglass): | 2489 | (Vhourglass_delay): Declare extern. |
| 2490 | Don't include these versions on WINDOWSNT. | 2490 | (hourglass_started): Remove. |
| 2491 | 2491 | ||
| 2492 | 2008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com> | 2492 | * xdisp.c (Vhourglass_delay): Remove static. |
| 2493 | 2493 | (hourglass_started, start_hourglass, cancel_hourglass): | |
| 2494 | * dispextern.h (hourglass_shown_p, hourglass_atimer): New extern | 2494 | Don't include these versions on WINDOWSNT. |
| 2495 | variables (formerly in xfns.c). | 2495 | |
| 2496 | (show_hourglass, hide_hourglass): New prototypes (same). | 2496 | 2008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 2497 | * xdisp.c (display_hourglass_p, hourglass_shown_p, hourglass_atimer) | 2497 | |
| 2498 | (Vhourglass_delay, DEFAULT_HOURGLASS_DELAY): New variables (formerly | 2498 | * dispextern.h (hourglass_shown_p, hourglass_atimer): New extern |
| 2499 | in xfns.c). | 2499 | variables (formerly in xfns.c). |
| 2500 | (syms_of_xdisp): Declare/initialize display-hourglass, | 2500 | (show_hourglass, hide_hourglass): New prototypes (same). |
| 2501 | hourglass-delay. Initialize hourglass_atimer, hourglass_shown_p. | 2501 | * xdisp.c (display_hourglass_p, hourglass_shown_p, hourglass_atimer) |
| 2502 | (hourglass_started, start_hourglass, cancel_hourglass): New functions, | 2502 | (Vhourglass_delay, DEFAULT_HOURGLASS_DELAY): New variables (formerly |
| 2503 | formerly in xfns.c. | 2503 | in xfns.c). |
| 2504 | * xfns.c (display_hourglass_p, hourglass_atimer, hourglass_shown_p) | 2504 | (syms_of_xdisp): Declare/initialize display-hourglass, |
| 2505 | (Vhourglass_delay, DEFAULT_HOURGLASS_DELAY, hourglass_started) | 2505 | hourglass-delay. Initialize hourglass_atimer, hourglass_shown_p. |
| 2506 | (start_hourglass, cancel_hourglass): Remove. | 2506 | (hourglass_started, start_hourglass, cancel_hourglass): New functions, |
| 2507 | (show_hourglass, hide_hourglass): Remove prototypes and static | 2507 | formerly in xfns.c. |
| 2508 | modifiers. | 2508 | * xfns.c (display_hourglass_p, hourglass_atimer, hourglass_shown_p) |
| 2509 | (syms_of_xfns): Remove display-hourglass, hourglass-delay, | 2509 | (Vhourglass_delay, DEFAULT_HOURGLASS_DELAY, hourglass_started) |
| 2510 | hourglass_atimer, hourglass_shown_p declaration/initialization. | 2510 | (start_hourglass, cancel_hourglass): Remove. |
| 2511 | * macfns.c (display_hourglass_p, hourglass_atimer, hourglass_shown_p) | 2511 | (show_hourglass, hide_hourglass): Remove prototypes and static |
| 2512 | (Vhourglass_delay, DEFAULT_HOURGLASS_DELAY, hourglass_started) | 2512 | modifiers. |
| 2513 | (start_hourglass, cancel_hourglass): Remove. | 2513 | (syms_of_xfns): Remove display-hourglass, hourglass-delay, |
| 2514 | (show_hourglass, hide_hourglass): Remove prototypes and static | 2514 | hourglass_atimer, hourglass_shown_p declaration/initialization. |
| 2515 | modifiers. | 2515 | * macfns.c (display_hourglass_p, hourglass_atimer, hourglass_shown_p) |
| 2516 | (syms_of_macfns): Remove display-hourglass, hourglass-delay, | 2516 | (Vhourglass_delay, DEFAULT_HOURGLASS_DELAY, hourglass_started) |
| 2517 | hourglass_atimer, hourglass_shown_p declaration/initialization. | 2517 | (start_hourglass, cancel_hourglass): Remove. |
| 2518 | * w32fns.c (display_hourglass_p, Vhourglass_delay) | 2518 | (show_hourglass, hide_hourglass): Remove prototypes and static |
| 2519 | (DEFAULT_HOURGLASS_DELAY): Remove. | 2519 | modifiers. |
| 2520 | (syms_of_w32fns): Remove display-hourglass, hourglass-delay, | 2520 | (syms_of_macfns): Remove display-hourglass, hourglass-delay, |
| 2521 | hourglass_shown_p declaration/initialization. | 2521 | hourglass_atimer, hourglass_shown_p declaration/initialization. |
| 2522 | 2522 | * w32fns.c (display_hourglass_p, Vhourglass_delay) | |
| 2523 | 2008-07-14 Jason Rumney <jasonr@gnu.org> | 2523 | (DEFAULT_HOURGLASS_DELAY): Remove. |
| 2524 | 2524 | (syms_of_w32fns): Remove display-hourglass, hourglass-delay, | |
| 2525 | * w32fns.c (w32_get_arg): Remove wrapper function. | 2525 | hourglass_shown_p declaration/initialization. |
| 2526 | (w32_createwindow, x_icon, x_create_tip_frame): Use x_get_arg | 2526 | |
| 2527 | directly. | 2527 | 2008-07-14 Jason Rumney <jasonr@gnu.org> |
| 2528 | (Fx_create_frame): Sync with xfns.c. Use x_get_arg directly. | 2528 | |
| 2529 | 2529 | * w32fns.c (w32_get_arg): Remove wrapper function. | |
| 2530 | 2008-07-14 Kenichi Handa <handa@m17n.org> | 2530 | (w32_createwindow, x_icon, x_create_tip_frame): Use x_get_arg |
| 2531 | 2531 | directly. | |
| 2532 | * xfont.c (xfont_open): Add workaround for X's bug. | 2532 | (Fx_create_frame): Sync with xfns.c. Use x_get_arg directly. |
| 2533 | 2533 | ||
| 2534 | 2008-07-14 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change) | 2534 | 2008-07-14 Kenichi Handa <handa@m17n.org> |
| 2535 | 2535 | ||
| 2536 | * fontset.c: Include <stdio.h> unconditionally. | 2536 | * xfont.c (xfont_open): Add workaround for X's bug. |
| 2537 | 2537 | ||
| 2538 | 2008-07-13 Michael Albinus <michael.albinus@gmx.de> | 2538 | 2008-07-14 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change) |
| 2539 | 2539 | ||
| 2540 | * dbusbind.c (Fdbus_register_signal): Allow also signal arguments | 2540 | * fontset.c: Include <stdio.h> unconditionally. |
| 2541 | for filtering. | 2541 | |
| 2542 | 2542 | 2008-07-13 Michael Albinus <michael.albinus@gmx.de> | |
| 2543 | 2008-07-13 Dan Nicolaescu <dann@ics.uci.edu> | 2543 | |
| 2544 | 2544 | * dbusbind.c (Fdbus_register_signal): Allow also signal arguments | |
| 2545 | * s/vms.h: Use __GNUC__ instead of _GNUC_. | 2545 | for filtering. |
| 2546 | 2546 | ||
| 2547 | * m/macppc.h: | 2547 | 2008-07-13 Dan Nicolaescu <dann@ics.uci.edu> |
| 2548 | * m/alpha.h: Use GNU_LINUX instead of LINUX. Reorganize conditionals. | 2548 | |
| 2549 | 2549 | * s/vms.h: Use __GNUC__ instead of _GNUC_. | |
| 2550 | * m/ibms390x.h (XINT, XUINT): Don't define, same as the default | 2550 | |
| 2551 | (SPECIAL_EMACS_INT): | 2551 | * m/macppc.h: |
| 2552 | * m/ia64.h (SPECIAL_EMACS_INT): | 2552 | * m/alpha.h: Use GNU_LINUX instead of LINUX. Reorganize conditionals. |
| 2553 | * m/amdx86-64.h (SPECIAL_EMACS_INT): | 2553 | |
| 2554 | * s/gnu.h (NLIST_STRUCT): | 2554 | * m/ibms390x.h (XINT, XUINT): Don't define, same as the default |
| 2555 | * s/aix4-2.h (X11R5_INHIBIT_I18N): | 2555 | (SPECIAL_EMACS_INT): |
| 2556 | * s/gnu-linux.h (LINUX): | 2556 | * m/ia64.h (SPECIAL_EMACS_INT): |
| 2557 | * s/msdos.h (HAVE_FACES): | 2557 | * m/amdx86-64.h (SPECIAL_EMACS_INT): |
| 2558 | * s/ms-w32.h (HAVE_FACES): Don't define, unused. | 2558 | * s/gnu.h (NLIST_STRUCT): |
| 2559 | 2559 | * s/aix4-2.h (X11R5_INHIBIT_I18N): | |
| 2560 | * systty.h: | 2560 | * s/gnu-linux.h (LINUX): |
| 2561 | * sysdep.c (setup_pty): Don't depend on SYSV_PTYS, it is not used | 2561 | * s/msdos.h (HAVE_FACES): |
| 2562 | anymore. | 2562 | * s/ms-w32.h (HAVE_FACES): Don't define, unused. |
| 2563 | 2563 | ||
| 2564 | 2008-07-12 Dan Nicolaescu <dann@ics.uci.edu> | 2564 | * systty.h: |
| 2565 | 2565 | * sysdep.c (setup_pty): Don't depend on SYSV_PTYS, it is not used | |
| 2566 | * syswait.h: Remove old if 0 code. Do not define WAITTYPE, it was | 2566 | anymore. |
| 2567 | always defined as int. | 2567 | |
| 2568 | 2568 | 2008-07-12 Dan Nicolaescu <dann@ics.uci.edu> | |
| 2569 | * s/netbsd.h (HAVE_UNION_WAIT, HAVE_WAIT_HEADER, WAIT_USE_INT): | 2569 | |
| 2570 | * s/gnu.h (HAVE_WAIT_HEADER, WAIT_USE_INT, HAVE_UNION_WAIT): | 2570 | * syswait.h: Remove old if 0 code. Do not define WAITTYPE, it was |
| 2571 | * s/gnu-linux.h (HAVE_WAIT_HEADER): | 2571 | always defined as int. |
| 2572 | * s/freebsd.h (HAVE_WAIT_HEADER): | 2572 | |
| 2573 | * s/bsd-common.h (HAVE_UNION_WAIT): | 2573 | * s/netbsd.h (HAVE_UNION_WAIT, HAVE_WAIT_HEADER, WAIT_USE_INT): |
| 2574 | * s/aix4-2.h (HAVE_WAIT_HEADER): | 2574 | * s/gnu.h (HAVE_WAIT_HEADER, WAIT_USE_INT, HAVE_UNION_WAIT): |
| 2575 | * m/mips.h (HAVE_UNION_WAIT): | 2575 | * s/gnu-linux.h (HAVE_WAIT_HEADER): |
| 2576 | * s/usg5-4.h (HAVE_WAIT_HEADER, WAITTYPE): Do not define, not used. | 2576 | * s/freebsd.h (HAVE_WAIT_HEADER): |
| 2577 | (COFF, static): Do not define, they are undefined later in the file. | 2577 | * s/bsd-common.h (HAVE_UNION_WAIT): |
| 2578 | 2578 | * s/aix4-2.h (HAVE_WAIT_HEADER): | |
| 2579 | * process.c (update_status): Don't use a union. | 2579 | * m/mips.h (HAVE_UNION_WAIT): |
| 2580 | (status_convert): | 2580 | * s/usg5-4.h (HAVE_WAIT_HEADER, WAITTYPE): Do not define, not used. |
| 2581 | (sigchld_handler): Use int instead of WAITTYPE. | 2581 | (COFF, static): Do not define, they are undefined later in the file. |
| 2582 | 2582 | ||
| 2583 | 2008-07-12 Chong Yidong <cyd@stupidchicken.com> | 2583 | * process.c (update_status): Don't use a union. |
| 2584 | 2584 | (status_convert): | |
| 2585 | * indent.c (Fvertical_motion): Restore hscroll before moving to | 2585 | (sigchld_handler): Use int instead of WAITTYPE. |
| 2586 | goal column. | 2586 | |
| 2587 | 2587 | 2008-07-12 Chong Yidong <cyd@stupidchicken.com> | |
| 2588 | 2008-07-11 Dan Nicolaescu <dann@ics.uci.edu> | 2588 | |
| 2589 | 2589 | * indent.c (Fvertical_motion): Restore hscroll before moving to | |
| 2590 | * lisp.h: Remove left over code. | 2590 | goal column. |
| 2591 | 2591 | ||
| 2592 | 2008-07-11 Andreas Schwab <schwab@suse.de> | 2592 | 2008-07-11 Dan Nicolaescu <dann@ics.uci.edu> |
| 2593 | 2593 | ||
| 2594 | * lisp.h: Fix logic in last change. | 2594 | * lisp.h: Remove left over code. |
| 2595 | 2595 | ||
| 2596 | * menu.h: New file. | 2596 | 2008-07-11 Andreas Schwab <schwab@suse.de> |
| 2597 | * menu.c: Include it. | 2597 | |
| 2598 | * xmenu.c: Likewise. | 2598 | * lisp.h: Fix logic in last change. |
| 2599 | * Makefile.in: Update dependencies. | 2599 | |
| 2600 | 2600 | * menu.h: New file. | |
| 2601 | 2008-07-11 Kenichi Handa <handa@m17n.org> | 2601 | * menu.c: Include it. |
| 2602 | 2602 | * xmenu.c: Likewise. | |
| 2603 | * fontset.c (fontset_from_font): Cancel the previous change. | 2603 | * Makefile.in: Update dependencies. |
| 2604 | 2604 | ||
| 2605 | 2008-07-11 Dan Nicolaescu <dann@ics.uci.edu> | 2605 | 2008-07-11 Kenichi Handa <handa@m17n.org> |
| 2606 | 2606 | ||
| 2607 | * lisp.h: | 2607 | * fontset.c (fontset_from_font): Cancel the previous change. |
| 2608 | * w32heap.c: | 2608 | |
| 2609 | * emacs.c: | 2609 | 2008-07-11 Dan Nicolaescu <dann@ics.uci.edu> |
| 2610 | * alloc.c: Replace all references of NO_UNION_TYPE with | 2610 | |
| 2611 | USE_LISP_UNION_TYPE. | 2611 | * lisp.h: |
| 2612 | 2612 | * w32heap.c: | |
| 2613 | * m/xtensa.h (NO_UNION_TYPE): | 2613 | * emacs.c: |
| 2614 | * m/vax.h (NO_UNION_TYPE): | 2614 | * alloc.c: Replace all references of NO_UNION_TYPE with |
| 2615 | * m/template.h (NO_UNION_TYPE): | 2615 | USE_LISP_UNION_TYPE. |
| 2616 | * m/sparc.h (NO_UNION_TYPE): | 2616 | |
| 2617 | * m/mips.h (NO_UNION_TYPE): | 2617 | * m/xtensa.h (NO_UNION_TYPE): |
| 2618 | * m/macppc.h (NO_UNION_TYPE): | 2618 | * m/vax.h (NO_UNION_TYPE): |
| 2619 | * m/m68k.h (NO_UNION_TYPE): | 2619 | * m/template.h (NO_UNION_TYPE): |
| 2620 | * m/iris4d.h (NO_UNION_TYPE): | 2620 | * m/sparc.h (NO_UNION_TYPE): |
| 2621 | * m/intel386.h (NO_UNION_TYPE): | 2621 | * m/mips.h (NO_UNION_TYPE): |
| 2622 | * m/ibms390x.h (NO_UNION_TYPE): | 2622 | * m/macppc.h (NO_UNION_TYPE): |
| 2623 | * m/ibms390.h (NO_UNION_TYPE): | 2623 | * m/m68k.h (NO_UNION_TYPE): |
| 2624 | * m/ibmrs6000.h (NO_UNION_TYPE): | 2624 | * m/iris4d.h (NO_UNION_TYPE): |
| 2625 | * m/ia64.h (NO_UNION_TYPE): | 2625 | * m/intel386.h (NO_UNION_TYPE): |
| 2626 | * m/hp800.h (NO_UNION_TYPE): | 2626 | * m/ibms390x.h (NO_UNION_TYPE): |
| 2627 | * m/arm.h (NO_UNION_TYPE): | 2627 | * m/ibms390.h (NO_UNION_TYPE): |
| 2628 | * m/amdx86-64.h (NO_UNION_TYPE): | 2628 | * m/ibmrs6000.h (NO_UNION_TYPE): |
| 2629 | * m/alpha.h (NO_UNION_TYPE): Remove definition, all platform were | 2629 | * m/ia64.h (NO_UNION_TYPE): |
| 2630 | defining it the same. | 2630 | * m/hp800.h (NO_UNION_TYPE): |
| 2631 | 2631 | * m/arm.h (NO_UNION_TYPE): | |
| 2632 | 2008-07-10 Chong Yidong <cyd@stupidchicken.com> | 2632 | * m/amdx86-64.h (NO_UNION_TYPE): |
| 2633 | 2633 | * m/alpha.h (NO_UNION_TYPE): Remove definition, all platform were | |
| 2634 | * xdisp.c (move_it_to): Backtrack if past the edge of a wrapped line. | 2634 | defining it the same. |
| 2635 | 2635 | ||
| 2636 | 2008-07-10 Dan Nicolaescu <dann@ics.uci.edu> | 2636 | 2008-07-10 Chong Yidong <cyd@stupidchicken.com> |
| 2637 | 2637 | ||
| 2638 | * fileio.c: | 2638 | * xdisp.c (move_it_to): Backtrack if past the edge of a wrapped line. |
| 2639 | * sysdep.c | 2639 | |
| 2640 | * systty.h: | 2640 | 2008-07-10 Dan Nicolaescu <dann@ics.uci.edu> |
| 2641 | * m/ibmrs6000.h: | 2641 | |
| 2642 | * m/iris4d.h: | 2642 | * fileio.c: |
| 2643 | * s/aix4-2.h: | 2643 | * sysdep.c |
| 2644 | * s/freebsd.h: | 2644 | * systty.h: |
| 2645 | * s/gnu-linux.h: | 2645 | * m/ibmrs6000.h: |
| 2646 | * s/hpux10-20.h: | 2646 | * m/iris4d.h: |
| 2647 | * s/hpux11.h: | 2647 | * s/aix4-2.h: |
| 2648 | * s/netbsd.h: | 2648 | * s/freebsd.h: |
| 2649 | * s/sol2-3.h: | 2649 | * s/gnu-linux.h: |
| 2650 | * s/sol2-4.h: | 2650 | * s/hpux10-20.h: |
| 2651 | * s/sol2.h: | 2651 | * s/hpux11.h: |
| 2652 | * s/usg5-4.h: | 2652 | * s/netbsd.h: |
| 2653 | * s/vms.h: Remove references to unused variables. | 2653 | * s/sol2-3.h: |
| 2654 | 2654 | * s/sol2-4.h: | |
| 2655 | 2008-07-10 Andreas Schwab <schwab@suse.de> | 2655 | * s/sol2.h: |
| 2656 | 2656 | * s/usg5-4.h: | |
| 2657 | * ftfont.c (ftfont_resolve_generic_family): Remove foundry from | 2657 | * s/vms.h: Remove references to unused variables. |
| 2658 | pattern before matching the generic family. | 2658 | |
| 2659 | 2659 | 2008-07-10 Andreas Schwab <schwab@suse.de> | |
| 2660 | 2008-07-10 Dan Nicolaescu <dann@ics.uci.edu> | 2660 | |
| 2661 | 2661 | * ftfont.c (ftfont_resolve_generic_family): Remove foundry from | |
| 2662 | * unexec.c: | 2662 | pattern before matching the generic family. |
| 2663 | * s/vms.h: | 2663 | |
| 2664 | * s/usg5-4-2.h: | 2664 | 2008-07-10 Dan Nicolaescu <dann@ics.uci.edu> |
| 2665 | * s/sol2-5.h: | 2665 | |
| 2666 | * s/freebsd.h: | 2666 | * unexec.c: |
| 2667 | * s/darwin.h: Remove dead code. | 2667 | * s/vms.h: |
| 2668 | 2668 | * s/usg5-4-2.h: | |
| 2669 | * m/template.h: | 2669 | * s/sol2-5.h: |
| 2670 | * m/sparc.h: | 2670 | * s/freebsd.h: |
| 2671 | * m/mips.h: | 2671 | * s/darwin.h: Remove dead code. |
| 2672 | * m/m68k.h: | 2672 | |
| 2673 | * m/iris4d.h: | 2673 | * m/template.h: |
| 2674 | * m/intel386.h: | 2674 | * m/sparc.h: |
| 2675 | * m/ibms390x.h: | 2675 | * m/mips.h: |
| 2676 | * m/ibms390.h: | 2676 | * m/m68k.h: |
| 2677 | * m/ia64.h: | 2677 | * m/iris4d.h: |
| 2678 | * m/hp800.h: | 2678 | * m/intel386.h: |
| 2679 | * m/arm.h: | 2679 | * m/ibms390x.h: |
| 2680 | * m/amdx86-64.h: Remove dead code and references to unused | 2680 | * m/ibms390.h: |
| 2681 | and compiler defined symbols. | 2681 | * m/ia64.h: |
| 2682 | 2682 | * m/hp800.h: | |
| 2683 | * unexmips.c: | 2683 | * m/arm.h: |
| 2684 | * unexelf.c: Remove references to desupported systems. | 2684 | * m/amdx86-64.h: Remove dead code and references to unused |
| 2685 | 2685 | and compiler defined symbols. | |
| 2686 | * m/powermac.h: Remove file, it is now identical to m/macppc.h. | 2686 | |
| 2687 | 2687 | * unexmips.c: | |
| 2688 | * m/powermac.h: Remove boilerplate comments. | 2688 | * unexelf.c: Remove references to desupported systems. |
| 2689 | (NO_REMAP): Remove unused definition. | 2689 | |
| 2690 | 2690 | * m/powermac.h: Remove file, it is now identical to m/macppc.h. | |
| 2691 | * m/macppc.h (UNEXEC, NO_TERMIO): Don't define, the s/ files | 2691 | |
| 2692 | define them. | 2692 | * m/powermac.h: Remove boilerplate comments. |
| 2693 | 2693 | (NO_REMAP): Remove unused definition. | |
| 2694 | 2008-07-10 Kenichi Handa <handa@m17n.org> | 2694 | |
| 2695 | 2695 | * m/macppc.h (UNEXEC, NO_TERMIO): Don't define, the s/ files | |
| 2696 | * xfont.c (xfont_open): Log the reason of failure. | 2696 | define them. |
| 2697 | 2697 | ||
| 2698 | 2008-07-09 Stefan Monnier <monnier@iro.umontreal.ca> | 2698 | 2008-07-10 Kenichi Handa <handa@m17n.org> |
| 2699 | 2699 | ||
| 2700 | * fontset.c (fontset_get_font_group): | 2700 | * xfont.c (xfont_open): Log the reason of failure. |
| 2701 | * font.c (font_check_otf): Specify argument types. | 2701 | |
| 2702 | 2702 | 2008-07-09 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 2703 | 2008-07-09 Kenichi Handa <handa@m17n.org> | 2703 | |
| 2704 | 2704 | * fontset.c (fontset_get_font_group): | |
| 2705 | * coding.c (detect_coding_utf_8): Set detect_info->found only when | 2705 | * font.c (font_check_otf): Specify argument types. |
| 2706 | non-ASCII char is found. | 2706 | |
| 2707 | 2707 | 2008-07-09 Kenichi Handa <handa@m17n.org> | |
| 2708 | * fontset.c (fontset_compare_rfontdef): Fix plus/minus. | 2708 | |
| 2709 | (reorder_font_vector): Change the arg preferred_family to font. | 2709 | * coding.c (detect_coding_utf_8): Set detect_info->found only when |
| 2710 | Prefer the spec matching with font. | 2710 | non-ASCII char is found. |
| 2711 | (fontset_get_font_group): New function. | 2711 | |
| 2712 | (fontset_find_font): Change the format of an element of a realized | 2712 | * fontset.c (fontset_compare_rfontdef): Fix plus/minus. |
| 2713 | fontset. Use fontset_get_font_group. | 2713 | (reorder_font_vector): Change the arg preferred_family to font. |
| 2714 | (fontset_font): Try the current fontset, the default fontset, the | 2714 | Prefer the spec matching with font. |
| 2715 | fallbacks of the current fontset, and the fallbacks of the default | 2715 | (fontset_get_font_group): New function. |
| 2716 | fontset in this order. | 2716 | (fontset_find_font): Change the format of an element of a realized |
| 2717 | (face_for_char): Delete the shortcut to use the current font. | 2717 | fontset. Use fontset_get_font_group. |
| 2718 | (fontset_from_font): Don't set fonts for Latin in the fontset. | 2718 | (fontset_font): Try the current fontset, the default fontset, the |
| 2719 | 2719 | fallbacks of the current fontset, and the fallbacks of the default | |
| 2720 | * font.h (font_make_object, font_match_p): Adjust prototypes. | 2720 | fontset in this order. |
| 2721 | 2721 | (face_for_char): Delete the shortcut to use the current font. | |
| 2722 | * ftfont.h [FT_BDF_H]: Include FT_BDF_H. | 2722 | (fontset_from_font): Don't set fonts for Latin in the fontset. |
| 2723 | 2723 | ||
| 2724 | * font.c (font_make_object): New arg entity and pixelsize. | 2724 | * font.h (font_make_object, font_match_p): Adjust prototypes. |
| 2725 | (font_check_otf_features, font_check_otf): New functions. | 2725 | |
| 2726 | (font_match_p): Check :lang, :script, and :otf properties. | 2726 | * ftfont.h [FT_BDF_H]: Include FT_BDF_H. |
| 2727 | 2727 | ||
| 2728 | * xfont.c (xfont_open): Adjust it for the change of | 2728 | * font.c (font_make_object): New arg entity and pixelsize. |
| 2729 | font_make_object. | 2729 | (font_check_otf_features, font_check_otf): New functions. |
| 2730 | (xfont_text_extents): Fix initial setting of metrics. | 2730 | (font_match_p): Check :lang, :script, and :otf properties. |
| 2731 | 2731 | ||
| 2732 | * ftfont.c (struct ftfont_info): New member index, delete member | 2732 | * xfont.c (xfont_open): Adjust it for the change of |
| 2733 | fc_charset_idx. Make the member order compatible with struct | 2733 | font_make_object. |
| 2734 | xftfont_info. | 2734 | (xfont_text_extents): Fix initial setting of metrics. |
| 2735 | (fc_charset_table): Change charset names to registry names. | 2735 | |
| 2736 | (ftfont_pattern_entity): Delete the args registry and | 2736 | * ftfont.c (struct ftfont_info): New member index, delete member |
| 2737 | fc_charset_idx. Change the value of :font-entity property | 2737 | fc_charset_idx. Make the member order compatible with struct |
| 2738 | to (FONTNAME . INDEX). Always set :registry property to | 2738 | xftfont_info. |
| 2739 | `iso10646-1'. | 2739 | (fc_charset_table): Change charset names to registry names. |
| 2740 | (struct ftfont_cache_data): New struct. | 2740 | (ftfont_pattern_entity): Delete the args registry and |
| 2741 | (ftfont_lookup_cache): New arg for_face. | 2741 | fc_charset_idx. Change the value of :font-entity property |
| 2742 | (ftfont_get_fc_charset, ftfont_get_otf): New functions. | 2742 | to (FONTNAME . INDEX). Always set :registry property to |
| 2743 | (ftfont_driver): Set the member otf_capability. | 2743 | `iso10646-1'. |
| 2744 | (ftfont_get_charset): Adjust it for the change of | 2744 | (struct ftfont_cache_data): New struct. |
| 2745 | fc_charset_table. | 2745 | (ftfont_lookup_cache): New arg for_face. |
| 2746 | (OTF_TAG_SYM): New macro. | 2746 | (ftfont_get_fc_charset, ftfont_get_otf): New functions. |
| 2747 | (ftfont_spec_pattern): Delete the arg fc_charset_idx. Adjust it | 2747 | (ftfont_driver): Set the member otf_capability. |
| 2748 | for the change of fc_charset_table. | 2748 | (ftfont_get_charset): Adjust it for the change of |
| 2749 | (ftfont_list): Adjust it for the change of ftfont_spec_pattern and | 2749 | fc_charset_table. |
| 2750 | ftfont_pattern_entity. Add FC_INDEX to objset. | 2750 | (OTF_TAG_SYM): New macro. |
| 2751 | (ftfont_match): Adjust it for the change of ftfont_spec_pattern | 2751 | (ftfont_spec_pattern): Delete the arg fc_charset_idx. Adjust it |
| 2752 | and ftfont_pattern_entity. | 2752 | for the change of fc_charset_table. |
| 2753 | (ftfont_open): Adjust it for the change of ftfont_lookup_cache, | 2753 | (ftfont_list): Adjust it for the change of ftfont_spec_pattern and |
| 2754 | font_make_object, struct ftfont_info. | 2754 | ftfont_pattern_entity. Add FC_INDEX to objset. |
| 2755 | (ftfont_has_char): Use ftfont_get_fc_charset. | 2755 | (ftfont_match): Adjust it for the change of ftfont_spec_pattern |
| 2756 | (ftfont_otf_features, ftfont_otf_capability): New functions. | 2756 | and ftfont_pattern_entity. |
| 2757 | (ftfont_shape): Use ftfont_get_otf. | 2757 | (ftfont_open): Adjust it for the change of ftfont_lookup_cache, |
| 2758 | (ftfont_text_extents): Fix initial setting of metrics. | 2758 | font_make_object, struct ftfont_info. |
| 2759 | 2759 | (ftfont_has_char): Use ftfont_get_fc_charset. | |
| 2760 | * xftfont.c (struct xftfont_info): New member ft_size. Make the | 2760 | (ftfont_otf_features, ftfont_otf_capability): New functions. |
| 2761 | member order compatible with struct ftfont_info. | 2761 | (ftfont_shape): Use ftfont_get_otf. |
| 2762 | (xftfont_open): Add FC_CHARSET to the pattern. Set | 2762 | (ftfont_text_extents): Fix initial setting of metrics. |
| 2763 | xftfont_info->ft_size. Don't unlock the face. Check BDF | 2763 | |
| 2764 | properties if appropriate. | 2764 | * xftfont.c (struct xftfont_info): New member ft_size. Make the |
| 2765 | (xftfont_close): Unlock the face. | 2765 | member order compatible with struct ftfont_info. |
| 2766 | (xftfont_anchor_point, xftfont_shape): Deleted. | 2766 | (xftfont_open): Add FC_CHARSET to the pattern. Set |
| 2767 | (syms_of_xftfont): Don't set members anchor_point and shape of | 2767 | xftfont_info->ft_size. Don't unlock the face. Check BDF |
| 2768 | xftfont_driver. | 2768 | properties if appropriate. |
| 2769 | 2769 | (xftfont_close): Unlock the face. | |
| 2770 | * w32uniscribe.c (uniscribe_open): Adjust it for the change of | 2770 | (xftfont_anchor_point, xftfont_shape): Deleted. |
| 2771 | font_make_object. | 2771 | (syms_of_xftfont): Don't set members anchor_point and shape of |
| 2772 | 2772 | xftfont_driver. | |
| 2773 | * w32font.c (w32font_open): Adjust it for the change of | 2773 | |
| 2774 | font_make_object. | 2774 | * w32uniscribe.c (uniscribe_open): Adjust it for the change of |
| 2775 | (w32font_open_internal): Don't set properties of font_object here. | 2775 | font_make_object. |
| 2776 | 2776 | ||
| 2777 | 2008-07-08 Chong Yidong <cyd@stupidchicken.com> | 2777 | * w32font.c (w32font_open): Adjust it for the change of |
| 2778 | 2778 | font_make_object. | |
| 2779 | * macfns.c (x_create_tip_frame): | 2779 | (w32font_open_internal): Don't set properties of font_object here. |
| 2780 | * w32fns.c (x_create_tip_frame): | 2780 | |
| 2781 | * xfns.c (x_create_tip_frame): Pass parameter argument to | 2781 | 2008-07-08 Chong Yidong <cyd@stupidchicken.com> |
| 2782 | face-set-after-frame-default. | 2782 | |
| 2783 | 2783 | * macfns.c (x_create_tip_frame): | |
| 2784 | * xfaces.c (Finternal_merge_in_global_face): Save merged | 2784 | * w32fns.c (x_create_tip_frame): |
| 2785 | attributes for the default face back into the face vector. | 2785 | * xfns.c (x_create_tip_frame): Pass parameter argument to |
| 2786 | 2786 | face-set-after-frame-default. | |
| 2787 | 2008-07-08 Andreas Schwab <schwab@suse.de> | 2787 | |
| 2788 | 2788 | * xfaces.c (Finternal_merge_in_global_face): Save merged | |
| 2789 | * fontset.h: Declare fontset_from_font. Don't declare | 2789 | attributes for the default face back into the face vector. |
| 2790 | new_fontset_from_font and fontset_from_font_name. | 2790 | |
| 2791 | * xterm.c: Include "fontset.h". | 2791 | 2008-07-08 Andreas Schwab <schwab@suse.de> |
| 2792 | * Makefile.in (xterm.o): Update dependencies. | 2792 | |
| 2793 | 2793 | * fontset.h: Declare fontset_from_font. Don't declare | |
| 2794 | 2008-07-08 Glenn Morris <rgm@gnu.org> | 2794 | new_fontset_from_font and fontset_from_font_name. |
| 2795 | 2795 | * xterm.c: Include "fontset.h". | |
| 2796 | * m/sparc.h: Define __sparc__ rather than sparc. (Bug#507.) | 2796 | * Makefile.in (xterm.o): Update dependencies. |
| 2797 | * alloc.c, ecrt0.c: Use __sparc__ rather than sparc. | 2797 | |
| 2798 | 2798 | 2008-07-08 Glenn Morris <rgm@gnu.org> | |
| 2799 | 2008-07-07 Chong Yidong <cyd@stupidchicken.com> | 2799 | |
| 2800 | 2800 | * m/sparc.h: Define __sparc__ rather than sparc. (Bug#507.) | |
| 2801 | * frame.c (Qinhibit_face_set_after_frame_default): Var deleted. | 2801 | * alloc.c, ecrt0.c: Use __sparc__ rather than sparc. |
| 2802 | (x_set_frame_parameters): Don't bind it. | 2802 | |
| 2803 | 2803 | 2008-07-07 Chong Yidong <cyd@stupidchicken.com> | |
| 2804 | 2008-07-07 Juanma Barranquero <lekktu@gmail.com> | 2804 | |
| 2805 | 2805 | * frame.c (Qinhibit_face_set_after_frame_default): Var deleted. | |
| 2806 | * w32fns.c (map_w32_filename): Declare extern. | 2806 | (x_set_frame_parameters): Don't bind it. |
| 2807 | 2807 | ||
| 2808 | 2008-07-07 Jason Rumney <jasonr@gnu.org> | 2808 | 2008-07-07 Juanma Barranquero <lekktu@gmail.com> |
| 2809 | 2809 | ||
| 2810 | * w32term.c (WS_EX_LAYERED): Define if not already. | 2810 | * w32fns.c (map_w32_filename): Declare extern. |
| 2811 | 2811 | ||
| 2812 | 2008-07-06 Chong Yidong <cyd@stupidchicken.com> | 2812 | 2008-07-07 Jason Rumney <jasonr@gnu.org> |
| 2813 | 2813 | ||
| 2814 | * xfaces.c (set_font_frame_param): Don't try to set the font | 2814 | * w32term.c (WS_EX_LAYERED): Define if not already. |
| 2815 | parameter if it is still unspecified in the lface. | 2815 | |
| 2816 | 2816 | 2008-07-06 Chong Yidong <cyd@stupidchicken.com> | |
| 2817 | 2008-07-05 Chong Yidong <cyd@stupidchicken.com> | 2817 | |
| 2818 | 2818 | * xfaces.c (set_font_frame_param): Don't try to set the font | |
| 2819 | * xfaces.c (Finternal_merge_in_global_face): Don't realize default | 2819 | parameter if it is still unspecified in the lface. |
| 2820 | face if it didn't already exist. | 2820 | |
| 2821 | 2821 | 2008-07-05 Chong Yidong <cyd@stupidchicken.com> | |
| 2822 | * xdisp.c (try_window_id): Give up if word-wrapping is on. | 2822 | |
| 2823 | 2823 | * xfaces.c (Finternal_merge_in_global_face): Don't realize default | |
| 2824 | 2008-07-05 Andreas Schwab <schwab@suse.de> | 2824 | face if it didn't already exist. |
| 2825 | 2825 | ||
| 2826 | * xdisp.c (get_it_property): Move out of HAVE_WINDOW_SYSTEM section. | 2826 | * xdisp.c (try_window_id): Give up if word-wrapping is on. |
| 2827 | 2827 | ||
| 2828 | 2008-07-05 Chong Yidong <cyd@stupidchicken.com> | 2828 | 2008-07-05 Andreas Schwab <schwab@suse.de> |
| 2829 | 2829 | ||
| 2830 | * xdisp.c (IT_OVERFLOW_NEWLINE_INTO_FRINGE): Turn it off if | 2830 | * xdisp.c (get_it_property): Move out of HAVE_WINDOW_SYSTEM section. |
| 2831 | word-wrapping. | 2831 | |
| 2832 | (IT_DISPLAYING_WHITESPACE): New macro. | 2832 | 2008-07-05 Chong Yidong <cyd@stupidchicken.com> |
| 2833 | (move_it_in_display_line_to): Handle MOVE_TO_X requests properly | 2833 | |
| 2834 | when word-wrapping. Simplify word-wrapping logic. Use correct | 2834 | * xdisp.c (IT_OVERFLOW_NEWLINE_INTO_FRINGE): Turn it off if |
| 2835 | pixel positions when saving copies of the iterator. | 2835 | word-wrapping. |
| 2836 | (display_line): Use proper wrap point if the last character on a | 2836 | (IT_DISPLAYING_WHITESPACE): New macro. |
| 2837 | line was preceded by whitespace. | 2837 | (move_it_in_display_line_to): Handle MOVE_TO_X requests properly |
| 2838 | 2838 | when word-wrapping. Simplify word-wrapping logic. Use correct | |
| 2839 | 2008-07-04 Stefan Monnier <monnier@iro.umontreal.ca> | 2839 | pixel positions when saving copies of the iterator. |
| 2840 | 2840 | (display_line): Use proper wrap point if the last character on a | |
| 2841 | * Makefile.in (${etc}DOC): Depend on ${lisp} rather than ${shortlisp}. | 2841 | line was preceded by whitespace. |
| 2842 | 2842 | ||
| 2843 | 2008-07-04 Kenichi Handa <handa@m17n.org> | 2843 | 2008-07-04 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2844 | 2844 | ||
| 2845 | * fns.c (Fstring_to_unibyte): Delete the arg ACCEPT-LATIN-1. | 2845 | * Makefile.in (${etc}DOC): Depend on ${lisp} rather than ${shortlisp}. |
| 2846 | 2846 | ||
| 2847 | * lisp.h: EXFUN adjusted for the change of Fstring_to_unibyte. | 2847 | 2008-07-04 Kenichi Handa <handa@m17n.org> |
| 2848 | 2848 | ||
| 2849 | 2008-07-02 Jason Rumney <jasonr@gnu.org> | 2849 | * fns.c (Fstring_to_unibyte): Delete the arg ACCEPT-LATIN-1. |
| 2850 | 2850 | ||
| 2851 | * xfns.c (syms_of_xfns): Only define x-select-font when both | 2851 | * lisp.h: EXFUN adjusted for the change of Fstring_to_unibyte. |
| 2852 | HAVE_FREETYPE and USE_GTK | 2852 | |
| 2853 | 2853 | 2008-07-02 Jason Rumney <jasonr@gnu.org> | |
| 2854 | * xdisp.c (next_element_from_display_vector): Move assignment out | 2854 | |
| 2855 | of if statement. | 2855 | * xfns.c (syms_of_xfns): Only define x-select-font when both |
| 2856 | 2856 | HAVE_FREETYPE and USE_GTK | |
| 2857 | 2008-07-02 Toru Tsuneyoshi <t_tuneyosi@hotmail.com> | 2857 | |
| 2858 | 2858 | * xdisp.c (next_element_from_display_vector): Move assignment out | |
| 2859 | * lisp.h (Qdelete_file, Qdelete_directory): Declare extern. | 2859 | of if statement. |
| 2860 | 2860 | ||
| 2861 | * fileio.c (delete_by_moving_to_trash, Qmove_file_to_trash): New vars. | 2861 | 2008-07-02 Toru Tsuneyoshi <t_tuneyosi@hotmail.com> |
| 2862 | (syms_of_fileio): Initialize and export them. | 2862 | |
| 2863 | (Fdelete_directory, Fdelete_file): Optionally delete via trash. | 2863 | * lisp.h (Qdelete_file, Qdelete_directory): Declare extern. |
| 2864 | 2864 | ||
| 2865 | * w32fns.c (FOF_NO_CONNECTED_ELEMENTS): Define if not already. | 2865 | * fileio.c (delete_by_moving_to_trash, Qmove_file_to_trash): New vars. |
| 2866 | (Fsystem_move_file_to_trash): New function. | 2866 | (syms_of_fileio): Initialize and export them. |
| 2867 | (syms_of_w32fns): Export it to lisp. | 2867 | (Fdelete_directory, Fdelete_file): Optionally delete via trash. |
| 2868 | 2868 | ||
| 2869 | 2008-07-01 Jason Rumney <jasonr@gnu.org> | 2869 | * w32fns.c (FOF_NO_CONNECTED_ELEMENTS): Define if not already. |
| 2870 | 2870 | (Fsystem_move_file_to_trash): New function. | |
| 2871 | * w32font.c (w32font_text_extents): Don't count overhang as part | 2871 | (syms_of_w32fns): Export it to lisp. |
| 2872 | of width. | 2872 | |
| 2873 | 2873 | 2008-07-01 Jason Rumney <jasonr@gnu.org> | |
| 2874 | 2008-06-30 Miles Bader <miles@gnu.org> | 2874 | |
| 2875 | 2875 | * w32font.c (w32font_text_extents): Don't count overhang as part | |
| 2876 | * dispextern.h (struct glyph, struct it, struct iterator_stack_entry): | 2876 | of width. |
| 2877 | Add `avoid_cursor_p' field. | 2877 | |
| 2878 | 2878 | 2008-06-30 Miles Bader <miles@gnu.org> | |
| 2879 | * xdisp.c (push_it, pop_it): Save/restore avoid_cursor_p field. | 2879 | |
| 2880 | (set_cursor_from_row): Skip glyphs with avoid_cursor_p set. | 2880 | * dispextern.h (struct glyph, struct it, struct iterator_stack_entry): |
| 2881 | (append_glyph, append_composite_glyph, produce_image_glyph) | 2881 | Add `avoid_cursor_p' field. |
| 2882 | (append_stretch_glyph): Initialize avoid_cursor_p. | 2882 | |
| 2883 | (get_it_property): Rename from `get_line_height_property'. | 2883 | * xdisp.c (push_it, pop_it): Save/restore avoid_cursor_p field. |
| 2884 | (x_produce_glyphs): Use get_it_property. | 2884 | (set_cursor_from_row): Skip glyphs with avoid_cursor_p set. |
| 2885 | (handle_line_prefix, push_display_prop): New functions. | 2885 | (append_glyph, append_composite_glyph, produce_image_glyph) |
| 2886 | (display_line, move_it_in_display_line_to): Handle line/wrap prefixes. | 2886 | (append_stretch_glyph): Initialize avoid_cursor_p. |
| 2887 | (Vwrap_prefix, Qwrap_prefix, Vline_prefix, Qline_prefix): | 2887 | (get_it_property): Rename from `get_line_height_property'. |
| 2888 | New variables. | 2888 | (x_produce_glyphs): Use get_it_property. |
| 2889 | (syms_of_xdisp): Initialize them. | 2889 | (handle_line_prefix, push_display_prop): New functions. |
| 2890 | 2890 | (display_line, move_it_in_display_line_to): Handle line/wrap prefixes. | |
| 2891 | 2008-06-30 Kenichi Handa <handa@m17n.org> | 2891 | (Vwrap_prefix, Qwrap_prefix, Vline_prefix, Qline_prefix): |
| 2892 | 2892 | New variables. | |
| 2893 | * xftfont.c (xftfont_open): Don't call FcConfigSubstitute and | 2893 | (syms_of_xdisp): Initialize them. |
| 2894 | XftDefaultSubstitute (they are called in XftFontMatch). | 2894 | |
| 2895 | (xftfont_open): Fix args to ftfont_font_format. | 2895 | 2008-06-30 Kenichi Handa <handa@m17n.org> |
| 2896 | 2896 | ||
| 2897 | * ftfont.c (fc_charset_table): New member lang. | 2897 | * xftfont.c (xftfont_open): Don't call FcConfigSubstitute and |
| 2898 | (ftfont_resolve_generic_family): New arg pattern. | 2898 | XftDefaultSubstitute (they are called in XftFontMatch). |
| 2899 | (ftfont_spec_pattern): Check fc_cahrset_table[]->lang. | 2899 | (xftfont_open): Fix args to ftfont_font_format. |
| 2900 | (ftfont_list): Call ftfont_resolve_generic_family with `pattern'. | 2900 | |
| 2901 | (ftfont_open): Fix args to ftfont_font_format. | 2901 | * ftfont.c (fc_charset_table): New member lang. |
| 2902 | (ftfont_font_format): New arg filename. | 2902 | (ftfont_resolve_generic_family): New arg pattern. |
| 2903 | 2903 | (ftfont_spec_pattern): Check fc_cahrset_table[]->lang. | |
| 2904 | 2008-06-30 Chong Yidong <cyd@stupidchicken.com> | 2904 | (ftfont_list): Call ftfont_resolve_generic_family with `pattern'. |
| 2905 | 2905 | (ftfont_open): Fix args to ftfont_font_format. | |
| 2906 | * xfaces.c (Finternal_merge_in_global_face): If default face was | 2906 | (ftfont_font_format): New arg filename. |
| 2907 | modified, realize it again. Update the font face attribute. | 2907 | |
| 2908 | 2908 | 2008-06-30 Chong Yidong <cyd@stupidchicken.com> | |
| 2909 | 2008-06-29 Jason Rumney <jasonr@gnu.org> | 2909 | |
| 2910 | 2910 | * xfaces.c (Finternal_merge_in_global_face): If default face was | |
| 2911 | * w32term.c (x_set_frame_alpha): Fix logic. | 2911 | modified, realize it again. Update the font face attribute. |
| 2912 | 2912 | ||
| 2913 | 2008-06-29 Kenichi Handa <handa@m17n.org> | 2913 | 2008-06-29 Jason Rumney <jasonr@gnu.org> |
| 2914 | 2914 | ||
| 2915 | * fontset.c (Finternal_char_font): Return font-object instead of | 2915 | * w32term.c (x_set_frame_alpha): Fix logic. |
| 2916 | font-name. | 2916 | |
| 2917 | 2917 | 2008-06-29 Kenichi Handa <handa@m17n.org> | |
| 2918 | * composite.c (get_composition_id): Fix the width calculation for TAB. | 2918 | |
| 2919 | 2919 | * fontset.c (Finternal_char_font): Return font-object instead of | |
| 2920 | 2008-06-29 Stefan Monnier <monnier@iro.umontreal.ca> | 2920 | font-name. |
| 2921 | 2921 | ||
| 2922 | * indent.c (Fvertical_motion): Properly handle float column arg. | 2922 | * composite.c (get_composition_id): Fix the width calculation for TAB. |
| 2923 | 2923 | ||
| 2924 | 2008-06-28 Jason Rumney <jasonr@gnu.org> | 2924 | 2008-06-29 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2925 | 2925 | ||
| 2926 | * w32term.c (pfnGetFontUnicodeRanges): Remove unused function pointer. | 2926 | * indent.c (Fvertical_motion): Properly handle float column arg. |
| 2927 | (pfnSetLayeredWindowAttributes): New function pointer. | 2927 | |
| 2928 | (w32_initialize): Initialize it when supported. | 2928 | 2008-06-28 Jason Rumney <jasonr@gnu.org> |
| 2929 | (x_set_frame_alpha): New function. | 2929 | |
| 2930 | 2930 | * w32term.c (pfnGetFontUnicodeRanges): Remove unused function pointer. | |
| 2931 | * w32fns.c (Fx_create_frame): Initialize frame parameter `alpha'. | 2931 | (pfnSetLayeredWindowAttributes): New function pointer. |
| 2932 | (w32_frame_parm_handlers): Set alpha handler. | 2932 | (w32_initialize): Initialize it when supported. |
| 2933 | 2933 | (x_set_frame_alpha): New function. | |
| 2934 | * frame.c (x_set_alpha) [HAVE_NTGUI]: Call x_set_frame_alpha. | 2934 | |
| 2935 | 2935 | * w32fns.c (Fx_create_frame): Initialize frame parameter `alpha'. | |
| 2936 | 2008-06-27 Jason Rumney <jasonr@gnu.org> | 2936 | (w32_frame_parm_handlers): Set alpha handler. |
| 2937 | 2937 | ||
| 2938 | * w32fns.c (x_to_w32_font, w32_to_x_font, x_to_w32_weight) | 2938 | * frame.c (x_set_alpha) [HAVE_NTGUI]: Call x_set_frame_alpha. |
| 2939 | (w32_to_x_weight, w32_to_all_x_charsets): Remove obsolete functions. | 2939 | |
| 2940 | (w32_to_x_charset, x_to_w32_charset) | 2940 | 2008-06-27 Jason Rumney <jasonr@gnu.org> |
| 2941 | (Qw32_charset_ansi, Qw32_charset_symbol, Qw32_charset_default) | 2941 | |
| 2942 | (Qw32_charset_shiftjis, Qw32_charset_hangeul, Qw32_charset_johab) | 2942 | * w32fns.c (x_to_w32_font, w32_to_x_font, x_to_w32_weight) |
| 2943 | (Qw32_charset_chinesebig5, Qw32_charset_gb2312, Qw32_charset_oem) | 2943 | (w32_to_x_weight, w32_to_all_x_charsets): Remove obsolete functions. |
| 2944 | (Qw32_charset_easteurope, Qw32_charset_turkish, Qw32_charset_baltic) | 2944 | (w32_to_x_charset, x_to_w32_charset) |
| 2945 | (Qw32_charset_russian, Qw32_charset_arabic, Qw32_charset_greek) | 2945 | (Qw32_charset_ansi, Qw32_charset_symbol, Qw32_charset_default) |
| 2946 | (Qw32_charset_hebrew, Qw32_charset_vietnamese, Qw32_charset_thai) | 2946 | (Qw32_charset_shiftjis, Qw32_charset_hangeul, Qw32_charset_johab) |
| 2947 | (Qw32_charset_mac, Vw32_charset_info_alist): Move to w32font.c. | 2947 | (Qw32_charset_chinesebig5, Qw32_charset_gb2312, Qw32_charset_oem) |
| 2948 | (Qw32_charset_unicode): Remove. | 2948 | (Qw32_charset_easteurope, Qw32_charset_turkish, Qw32_charset_baltic) |
| 2949 | (syms_of_w32fns): Update for above changes. | 2949 | (Qw32_charset_russian, Qw32_charset_arabic, Qw32_charset_greek) |
| 2950 | 2950 | (Qw32_charset_hebrew, Qw32_charset_vietnamese, Qw32_charset_thai) | |
| 2951 | * w32font.c (w32_to_x_charset, x_to_w32_charset) | 2951 | (Qw32_charset_mac, Vw32_charset_info_alist): Move to w32font.c. |
| 2952 | (Qw32_charset_ansi, Qw32_charset_symbol, Qw32_charset_default) | 2952 | (Qw32_charset_unicode): Remove. |
| 2953 | (Qw32_charset_shiftjis, Qw32_charset_hangeul, Qw32_charset_johab) | 2953 | (syms_of_w32fns): Update for above changes. |
| 2954 | (Qw32_charset_chinesebig5, Qw32_charset_gb2312, Qw32_charset_oem) | 2954 | |
| 2955 | (Qw32_charset_easteurope, Qw32_charset_turkish, Qw32_charset_baltic) | 2955 | * w32font.c (w32_to_x_charset, x_to_w32_charset) |
| 2956 | (Qw32_charset_russian, Qw32_charset_arabic, Qw32_charset_greek) | 2956 | (Qw32_charset_ansi, Qw32_charset_symbol, Qw32_charset_default) |
| 2957 | (Qw32_charset_hebrew, Qw32_charset_vietnamese, Qw32_charset_thai) | 2957 | (Qw32_charset_shiftjis, Qw32_charset_hangeul, Qw32_charset_johab) |
| 2958 | (Qw32_charset_mac, Vw32_charset_info_alist): Move from w32fns.c. | 2958 | (Qw32_charset_chinesebig5, Qw32_charset_gb2312, Qw32_charset_oem) |
| 2959 | (syms_of_w32font): Update for above changes. | 2959 | (Qw32_charset_easteurope, Qw32_charset_turkish, Qw32_charset_baltic) |
| 2960 | 2960 | (Qw32_charset_russian, Qw32_charset_arabic, Qw32_charset_greek) | |
| 2961 | 2008-06-27 Dan Nicolaescu <dann@ics.uci.edu> | 2961 | (Qw32_charset_hebrew, Qw32_charset_vietnamese, Qw32_charset_thai) |
| 2962 | 2962 | (Qw32_charset_mac, Vw32_charset_info_alist): Move from w32fns.c. | |
| 2963 | * s/usg5-4.h: Fix previous change: keep the correct branch of a | 2963 | (syms_of_w32font): Update for above changes. |
| 2964 | removed #if. | 2964 | |
| 2965 | (USG_SHARED_LIBRARIES): Remove duplicate definition. | 2965 | 2008-06-27 Dan Nicolaescu <dann@ics.uci.edu> |
| 2966 | 2966 | ||
| 2967 | 2008-06-26 Juanma Barranquero <lekktu@gmail.com> | 2967 | * s/usg5-4.h: Fix previous change: keep the correct branch of a |
| 2968 | Eli Zaretskii <eliz@gnu.org> | 2968 | removed #if. |
| 2969 | 2969 | (USG_SHARED_LIBRARIES): Remove duplicate definition. | |
| 2970 | * makefile.w32-in (LOCAL_FLAGS): | 2970 | |
| 2971 | Don't include WINDOWSNT, DOS_NT and _UCHAR_T. | 2971 | 2008-06-26 Juanma Barranquero <lekktu@gmail.com> |
| 2972 | 2972 | Eli Zaretskii <eliz@gnu.org> | |
| 2973 | * sysdep.c (_spawnlp, _getpid): | 2973 | |
| 2974 | Declare with explicit _cdecl instead of _CRTAPI1. | 2974 | * makefile.w32-in (LOCAL_FLAGS): |
| 2975 | 2975 | Don't include WINDOWSNT, DOS_NT and _UCHAR_T. | |
| 2976 | * editfns.c (Fget_internal_run_time): | 2976 | |
| 2977 | Check for WINDOWSNT with #ifdef, not #if. | 2977 | * sysdep.c (_spawnlp, _getpid): |
| 2978 | 2978 | Declare with explicit _cdecl instead of _CRTAPI1. | |
| 2979 | 2008-06-26 Jason Rumney <jasonr@gnu.org> | 2979 | |
| 2980 | 2980 | * editfns.c (Fget_internal_run_time): | |
| 2981 | * w32font.h (FONT_HANDLE, FONT_TEXTMETRIC): New macros. | 2981 | Check for WINDOWSNT with #ifdef, not #if. |
| 2982 | 2982 | ||
| 2983 | * w32term.c (x_draw_glyph_string_foreground) | 2983 | 2008-06-26 Jason Rumney <jasonr@gnu.org> |
| 2984 | (x_draw_composite_glyph_string_foreground): Sync with xterm.c. | 2984 | |
| 2985 | Use FONT_HANDLE macro. | 2985 | * w32font.h (FONT_HANDLE, FONT_TEXTMETRIC): New macros. |
| 2986 | (x_draw_glyph_string): Use FONT_TEXTMETRIC macro. | 2986 | |
| 2987 | 2987 | * w32term.c (x_draw_glyph_string_foreground) | |
| 2988 | * w32uniscribe.c (uniscribe_otf_capability, uniscribe_shape) | 2988 | (x_draw_composite_glyph_string_foreground): Sync with xterm.c. |
| 2989 | (uniscribe_encode_char): Use FONT_HANDLE macro. | 2989 | Use FONT_HANDLE macro. |
| 2990 | 2990 | (x_draw_glyph_string): Use FONT_TEXTMETRIC macro. | |
| 2991 | * w32font.c (Fx_select_font): Use FONT_HANDLE macro. | 2991 | |
| 2992 | (w32font_text_extents): Use precast w32_font. | 2992 | * w32uniscribe.c (uniscribe_otf_capability, uniscribe_shape) |
| 2993 | (w32font_close): Free cached metrics. | 2993 | (uniscribe_encode_char): Use FONT_HANDLE macro. |
| 2994 | (w32font_open_internal): Allocate space for name on stack. | 2994 | |
| 2995 | 2995 | * w32font.c (Fx_select_font): Use FONT_HANDLE macro. | |
| 2996 | 2008-06-26 Chong Yidong <cyd@stupidchicken.com> | 2996 | (w32font_text_extents): Use precast w32_font. |
| 2997 | 2997 | (w32font_close): Free cached metrics. | |
| 2998 | * xdisp.c (extend_face_to_end_of_line): Fix last change. | 2998 | (w32font_open_internal): Allocate space for name on stack. |
| 2999 | 2999 | ||
| 3000 | 2008-06-26 Jason Rumney <jasonr@gnu.org> | 3000 | 2008-06-26 Chong Yidong <cyd@stupidchicken.com> |
| 3001 | 3001 | ||
| 3002 | * w32term.h (FONT_AVG_WIDTH): Remove obsolete macro. | 3002 | * xdisp.c (extend_face_to_end_of_line): Fix last change. |
| 3003 | (CP_8BIT, CP_UNICODE, CP_UNKNOWN): Remove obsolete constants. | 3003 | |
| 3004 | 3004 | 2008-06-26 Jason Rumney <jasonr@gnu.org> | |
| 3005 | 2008-06-26 Juanma Barranquero <lekktu@gmail.com> | 3005 | |
| 3006 | 3006 | * w32term.h (FONT_AVG_WIDTH): Remove obsolete macro. | |
| 3007 | * Makefile.in (SOME_MACHINE_OBJECTS): Remove w32bdf.o. | 3007 | (CP_8BIT, CP_UNICODE, CP_UNKNOWN): Remove obsolete constants. |
| 3008 | 3008 | ||
| 3009 | 2008-06-26 Jason Rumney <jasonr@gnu.org> | 3009 | 2008-06-26 Juanma Barranquero <lekktu@gmail.com> |
| 3010 | 3010 | ||
| 3011 | * w32bdf.c, w32bdf.h: Remove obsolete files. | 3011 | * Makefile.in (SOME_MACHINE_OBJECTS): Remove w32bdf.o. |
| 3012 | 3012 | ||
| 3013 | * makefile.w32-in: Remove refs to w32bdf.h and w32bdf.c. | 3013 | 2008-06-26 Jason Rumney <jasonr@gnu.org> |
| 3014 | 3014 | ||
| 3015 | * w32gui.h: Don't include w32bdf.h. | 3015 | * w32bdf.c, w32bdf.h: Remove obsolete files. |
| 3016 | (XCharStruct, enum w32_char_font_type, W32FontStruct): | 3016 | |
| 3017 | Remove obsolete font support. | 3017 | * makefile.w32-in: Remove refs to w32bdf.h and w32bdf.c. |
| 3018 | 3018 | ||
| 3019 | * w32font.h (struct w32font_info): Remove compat_w32_font. | 3019 | * w32gui.h: Don't include w32bdf.h. |
| 3020 | Add hfont member. | 3020 | (XCharStruct, enum w32_char_font_type, W32FontStruct): |
| 3021 | (FONT_COMPAT): Remove obsolete macro. | 3021 | Remove obsolete font support. |
| 3022 | 3022 | ||
| 3023 | * w32font.c (w32font_close): Remove compat code. Delete hfont member. | 3023 | * w32font.h (struct w32font_info): Remove compat_w32_font. |
| 3024 | (w32font_encode_char, w32font_text_extents): Use new hfont member. | 3024 | Add hfont member. |
| 3025 | (w32font_open_internal): Remove compat code. Set new hfont member. | 3025 | (FONT_COMPAT): Remove obsolete macro. |
| 3026 | (Fx_select_font): Use new hfont member. | 3026 | |
| 3027 | 3027 | * w32font.c (w32font_close): Remove compat code. Delete hfont member. | |
| 3028 | * w32uniscribe.c (uniscribe_otf_capability, uniscribe_shape) | 3028 | (w32font_encode_char, w32font_text_extents): Use new hfont member. |
| 3029 | (uniscribe_encode_char): Use new hfont member. | 3029 | (w32font_open_internal): Remove compat code. Set new hfont member. |
| 3030 | 3030 | (Fx_select_font): Use new hfont member. | |
| 3031 | * w32term.c (x_draw_glyph_string_foreground) | 3031 | |
| 3032 | (x_draw_composite_glyph_string_foreground): Use new hfont member. | 3032 | * w32uniscribe.c (uniscribe_otf_capability, uniscribe_shape) |
| 3033 | (x_draw_glyph_string): Use metrics in w32font_info. | 3033 | (uniscribe_encode_char): Use new hfont member. |
| 3034 | 3034 | ||
| 3035 | 2008-06-26 Kenichi Handa <handa@m17n.org> | 3035 | * w32term.c (x_draw_glyph_string_foreground) |
| 3036 | 3036 | (x_draw_composite_glyph_string_foreground): Use new hfont member. | |
| 3037 | * xdisp.c (handle_auto_composed_prop): Fix for the terminal case. | 3037 | (x_draw_glyph_string): Use metrics in w32font_info. |
| 3038 | 3038 | ||
| 3039 | 2008-06-26 Dan Nicolaescu <dann@ics.uci.edu> | 3039 | 2008-06-26 Kenichi Handa <handa@m17n.org> |
| 3040 | 3040 | ||
| 3041 | * unexnext.c: | 3041 | * xdisp.c (handle_auto_composed_prop): Fix for the terminal case. |
| 3042 | * m/ews4800.h: | 3042 | |
| 3043 | * m/hp9000s300.h: | 3043 | 2008-06-26 Dan Nicolaescu <dann@ics.uci.edu> |
| 3044 | * m/ibm370aix.h: | 3044 | |
| 3045 | * m/mips-siemens.h: | 3045 | * unexnext.c: |
| 3046 | * m/ncr386.h: | 3046 | * m/ews4800.h: |
| 3047 | * m/next.h: | 3047 | * m/hp9000s300.h: |
| 3048 | * m/pmax.h: | 3048 | * m/ibm370aix.h: |
| 3049 | * m/powerpcle.h: | 3049 | * m/mips-siemens.h: |
| 3050 | * m/tandem-s2.h: | 3050 | * m/ncr386.h: |
| 3051 | * s/386bsd.h: | 3051 | * m/next.h: |
| 3052 | * s/bsd386.h: | 3052 | * m/pmax.h: |
| 3053 | * s/bsd4-1.h: | 3053 | * m/powerpcle.h: |
| 3054 | * s/bsd4-2.h: | 3054 | * m/tandem-s2.h: |
| 3055 | * s/bsdos2-1.h: | 3055 | * s/386bsd.h: |
| 3056 | * s/bsdos2.h: | 3056 | * s/bsd386.h: |
| 3057 | * s/bsdos3.h: | 3057 | * s/bsd4-1.h: |
| 3058 | * s/bsdos4.h: | 3058 | * s/bsd4-2.h: |
| 3059 | * s/nextstep.h: | 3059 | * s/bsdos2-1.h: |
| 3060 | * s/ultrix4-3.h: | 3060 | * s/bsdos2.h: |
| 3061 | * s/usg5-0.h: | 3061 | * s/bsdos3.h: |
| 3062 | * s/usg5-2-2.h: | 3062 | * s/bsdos4.h: |
| 3063 | * s/usg5-2.h: | 3063 | * s/nextstep.h: |
| 3064 | * s/usg5-4-3.h: | 3064 | * s/ultrix4-3.h: |
| 3065 | * s/ux4800.h: | 3065 | * s/usg5-0.h: |
| 3066 | * s/uxpds.h: | 3066 | * s/usg5-2-2.h: |
| 3067 | * s/uxpv.h: Remove support for obsolete systems. | 3067 | * s/usg5-2.h: |
| 3068 | * s/hpux.h, s/hpux10.h, s/hpux8.h, s/hpux9.h, s/hpux9shr.h: | 3068 | * s/usg5-4-3.h: |
| 3069 | Remove, insert contents in s/hpux-10.20.h. | 3069 | * s/ux4800.h: |
| 3070 | * s/aix3-1.h, s/aix3-2-5.h, s/aix3-2.h, s/aix4-1.h, s/aix4.h: | 3070 | * s/uxpds.h: |
| 3071 | Remove, insert contents in s/aix4-2.h. | 3071 | * s/uxpv.h: Remove support for obsolete systems. |
| 3072 | * s/usg5-3.h: Remove, insert contents in s/usg5-4.h. | 3072 | * s/hpux.h, s/hpux10.h, s/hpux8.h, s/hpux9.h, s/hpux9shr.h: |
| 3073 | * s/bsd4-3.h: Rename to ... | 3073 | Remove, insert contents in s/hpux-10.20.h. |
| 3074 | * s/bsd-common.h: ... this. | 3074 | * s/aix3-1.h, s/aix3-2-5.h, s/aix3-2.h, s/aix4-1.h, s/aix4.h: |
| 3075 | * data.c: | 3075 | Remove, insert contents in s/aix4-2.h. |
| 3076 | * doc.c: | 3076 | * s/usg5-3.h: Remove, insert contents in s/usg5-4.h. |
| 3077 | * ecrt0.c: | 3077 | * s/bsd4-3.h: Rename to ... |
| 3078 | * emacs.c: | 3078 | * s/bsd-common.h: ... this. |
| 3079 | * fileio.c: | 3079 | * data.c: |
| 3080 | * floatfns.c: | 3080 | * doc.c: |
| 3081 | * keyboard.c: | 3081 | * ecrt0.c: |
| 3082 | * mem-limits.h: | 3082 | * emacs.c: |
| 3083 | * print.c: | 3083 | * fileio.c: |
| 3084 | * process.c: | 3084 | * floatfns.c: |
| 3085 | * sysdep.c: | 3085 | * keyboard.c: |
| 3086 | * syssignal.h: | 3086 | * mem-limits.h: |
| 3087 | * systty.h: | 3087 | * print.c: |
| 3088 | * syswait.h: | 3088 | * process.c: |
| 3089 | * term.c: | 3089 | * sysdep.c: |
| 3090 | * unexec.c: | 3090 | * syssignal.h: |
| 3091 | * unexelf.c: | 3091 | * systty.h: |
| 3092 | * unexhp9k800.c: | 3092 | * syswait.h: |
| 3093 | * m/hp800.h: | 3093 | * term.c: |
| 3094 | * m/ibmrs6000.h: | 3094 | * unexec.c: |
| 3095 | * m/mips.h: | 3095 | * unexelf.c: |
| 3096 | * m/vax.h: | 3096 | * unexhp9k800.c: |
| 3097 | * s/darwin.h: | 3097 | * m/hp800.h: |
| 3098 | * s/freebsd.h: | 3098 | * m/ibmrs6000.h: |
| 3099 | * s/gnu.h: | 3099 | * m/mips.h: |
| 3100 | * s/ms-w32.h: | 3100 | * m/vax.h: |
| 3101 | * s/msdos.h: | 3101 | * s/darwin.h: |
| 3102 | * s/netbsd.h: | 3102 | * s/freebsd.h: |
| 3103 | * s/template.h: Remove references to obsolete variables. | 3103 | * s/gnu.h: |
| 3104 | 3104 | * s/ms-w32.h: | |
| 3105 | * Makefile.in: Add dependencies for all unexec files. | 3105 | * s/msdos.h: |
| 3106 | (admindir): Remove unused variable. | 3106 | * s/netbsd.h: |
| 3107 | (UNEXEC_SRC): Remove references. | 3107 | * s/template.h: Remove references to obsolete variables. |
| 3108 | 3108 | ||
| 3109 | 2008-06-25 Chong Yidong <cyd@stupidchicken.com> | 3109 | * Makefile.in: Add dependencies for all unexec files. |
| 3110 | 3110 | (admindir): Remove unused variable. | |
| 3111 | * xfns.c (x_default_font_parameter): If Xft is available, first | 3111 | (UNEXEC_SRC): Remove references. |
| 3112 | try Monospace-12 for the default font. | 3112 | |
| 3113 | 3113 | 2008-06-25 Chong Yidong <cyd@stupidchicken.com> | |
| 3114 | 2008-06-25 Jason Rumney <jasonr@gnu.org> | 3114 | |
| 3115 | 3115 | * xfns.c (x_default_font_parameter): If Xft is available, first | |
| 3116 | * xdisp.c (get_glyph_face_and_encoding): Encode invalid glyphs as 0. | 3116 | try Monospace-12 for the default font. |
| 3117 | 3117 | ||
| 3118 | 2008-06-25 Stefan Monnier <monnier@iro.umontreal.ca> | 3118 | 2008-06-25 Jason Rumney <jasonr@gnu.org> |
| 3119 | 3119 | ||
| 3120 | * bytecode.c (Fbyte_code): Disable debugging code that doesn't compile. | 3120 | * xdisp.c (get_glyph_face_and_encoding): Encode invalid glyphs as 0. |
| 3121 | 3121 | ||
| 3122 | * buffer.c (syms_of_buffer): Remove default-word-wrap. | 3122 | 2008-06-25 Stefan Monnier <monnier@iro.umontreal.ca> |
| 3123 | 3123 | ||
| 3124 | 2008-06-25 Juanma Barranquero <lekktu@gmail.com> | 3124 | * bytecode.c (Fbyte_code): Disable debugging code that doesn't compile. |
| 3125 | 3125 | ||
| 3126 | * xdisp.c (syms_of_xdisp) <truncate-partial-width-windows>: Doc fix. | 3126 | * buffer.c (syms_of_buffer): Remove default-word-wrap. |
| 3127 | <scroll-conservatively>: Fix typo in docstring. | 3127 | |
| 3128 | 3128 | 2008-06-25 Juanma Barranquero <lekktu@gmail.com> | |
| 3129 | * xselect.c (Fx_send_client_event): Doc fix. | 3129 | |
| 3130 | 3130 | * xdisp.c (syms_of_xdisp) <truncate-partial-width-windows>: Doc fix. | |
| 3131 | 2008-06-25 Kenichi Handa <handa@m17n.org> | 3131 | <scroll-conservatively>: Fix typo in docstring. |
| 3132 | 3132 | ||
| 3133 | * xfaces.c (Fx_list_fonts): Call Flist_fonts with the arg PREFER. | 3133 | * xselect.c (Fx_send_client_event): Doc fix. |
| 3134 | 3134 | ||
| 3135 | * font.c (font_parse_fcname): Remove unused variables. | 3135 | 2008-06-25 Kenichi Handa <handa@m17n.org> |
| 3136 | (font_sort_entites): Delete the arg SPEC. Caller changed. | 3136 | |
| 3137 | Fix for the case of ! best_only. | 3137 | * xfaces.c (Fx_list_fonts): Call Flist_fonts with the arg PREFER. |
| 3138 | (font_delete_unmatched): Check DPI and AVGWIDTH too. | 3138 | |
| 3139 | 3139 | * font.c (font_parse_fcname): Remove unused variables. | |
| 3140 | * lisp.h (Fstring_to_unibyte): EXFUN it. | 3140 | (font_sort_entites): Delete the arg SPEC. Caller changed. |
| 3141 | 3141 | Fix for the case of ! best_only. | |
| 3142 | * character.h (str_to_unibyte): Extern it. | 3142 | (font_delete_unmatched): Check DPI and AVGWIDTH too. |
| 3143 | 3143 | ||
| 3144 | * character.c (str_to_unibyte): New function. | 3144 | * lisp.h (Fstring_to_unibyte): EXFUN it. |
| 3145 | 3145 | ||
| 3146 | * fns.c (Fstring_to_unibyte): New function. | 3146 | * character.h (str_to_unibyte): Extern it. |
| 3147 | (syms_of_fns): Defsubr it. | 3147 | |
| 3148 | 3148 | * character.c (str_to_unibyte): New function. | |
| 3149 | 2008-06-24 Kenichi Handa <handa@m17n.org> | 3149 | |
| 3150 | 3150 | * fns.c (Fstring_to_unibyte): New function. | |
| 3151 | * font.c (font_score): Even if the PIXEL_SIZE is the same, check | 3151 | (syms_of_fns): Defsubr it. |
| 3152 | DPI too. | 3152 | |
| 3153 | (font_sort_entites): Setup prefer_prop[FONT_DPI_INDEX] too. | 3153 | 2008-06-24 Kenichi Handa <handa@m17n.org> |
| 3154 | 3154 | ||
| 3155 | 2008-06-24 Andreas Schwab <schwab@suse.de> | 3155 | * font.c (font_score): Even if the PIXEL_SIZE is the same, check |
| 3156 | 3156 | DPI too. | |
| 3157 | * Makefile.in (${lispsource}loaddefs.el): Rename from | 3157 | (font_sort_entites): Setup prefer_prop[FONT_DPI_INDEX] too. |
| 3158 | ../lisp/loaddefs.el. | 3158 | |
| 3159 | (bootstrap-clean): Do what distclean does but don't remove | 3159 | 2008-06-24 Andreas Schwab <schwab@suse.de> |
| 3160 | Makefile. | 3160 | |
| 3161 | (distclean): Depend on bootstrap-clean and remove Makefile. | 3161 | * Makefile.in (${lispsource}loaddefs.el): Rename from |
| 3162 | 3162 | ../lisp/loaddefs.el. | |
| 3163 | 2008-06-24 Chong Yidong <cyd@stupidchicken.com> | 3163 | (bootstrap-clean): Do what distclean does but don't remove |
| 3164 | 3164 | Makefile. | |
| 3165 | * buffer.h (struct buffer): New member word_wrap. | 3165 | (distclean): Depend on bootstrap-clean and remove Makefile. |
| 3166 | 3166 | ||
| 3167 | * buffer.c (syms_of_buffer): New variables default-word-wrap and | 3167 | 2008-06-24 Chong Yidong <cyd@stupidchicken.com> |
| 3168 | word-wrap. | 3168 | |
| 3169 | (init_buffer_once): Initialize them. | 3169 | * buffer.h (struct buffer): New member word_wrap. |
| 3170 | 3170 | ||
| 3171 | * dispextern.h (struct it): Replace bool truncate_lines_p with a | 3171 | * buffer.c (syms_of_buffer): New variables default-word-wrap and |
| 3172 | line_wrap enum possessing three possible values. | 3172 | word-wrap. |
| 3173 | 3173 | (init_buffer_once): Initialize them. | |
| 3174 | * termopts.h: Replace truncate_partial_width_windows with | 3174 | |
| 3175 | Vtruncate_partial_width_windows. | 3175 | * dispextern.h (struct it): Replace bool truncate_lines_p with a |
| 3176 | 3176 | line_wrap enum possessing three possible values. | |
| 3177 | * dispnew.c (direct_output_for_insert): Avoid direct output when | 3177 | |
| 3178 | inserting a space with word wrap on. | 3178 | * termopts.h: Replace truncate_partial_width_windows with |
| 3179 | 3179 | Vtruncate_partial_width_windows. | |
| 3180 | * indent.c (compute_motion): Obey integer values of | 3180 | |
| 3181 | truncate-partial-width-windows. | 3181 | * dispnew.c (direct_output_for_insert): Avoid direct output when |
| 3182 | 3182 | inserting a space with word wrap on. | |
| 3183 | * xdisp.c (Vtruncate_partial_width_windows): New Lisp_Object, | 3183 | |
| 3184 | replacing truncate_partial_width_windows. | 3184 | * indent.c (compute_motion): Obey integer values of |
| 3185 | (init_iterator): If Vtruncate_partial_width_windows is an integer, | 3185 | truncate-partial-width-windows. |
| 3186 | truncate only if the window width is below that integer. | 3186 | |
| 3187 | (start_display, resize_mini_window, produce_stretch_glyph) | 3187 | * xdisp.c (Vtruncate_partial_width_windows): New Lisp_Object, |
| 3188 | (display_string, move_it_in_display_line_to): Use line_wrap. | 3188 | replacing truncate_partial_width_windows. |
| 3189 | (back_to_previous_visible_line_start, reseat_1): Reset | 3189 | (init_iterator): If Vtruncate_partial_width_windows is an integer, |
| 3190 | string_from_display_prop_p. | 3190 | truncate only if the window width is below that integer. |
| 3191 | (display_line): Extend default face to end of line when wrapping. | 3191 | (start_display, resize_mini_window, produce_stretch_glyph) |
| 3192 | 3192 | (display_string, move_it_in_display_line_to): Use line_wrap. | |
| 3193 | 2008-06-24 Kim F. Storm <storm@cua.dk> | 3193 | (back_to_previous_visible_line_start, reseat_1): Reset |
| 3194 | 3194 | string_from_display_prop_p. | |
| 3195 | * xdisp.c (display_line, move_it_in_display_line_to): Add ability | 3195 | (display_line): Extend default face to end of line when wrapping. |
| 3196 | to wrap continued lines at word boundaries. | 3196 | |
| 3197 | 3197 | 2008-06-24 Kim F. Storm <storm@cua.dk> | |
| 3198 | 2008-06-24 Jason Rumney <jasonr@gnu.org> | 3198 | |
| 3199 | 3199 | * xdisp.c (display_line, move_it_in_display_line_to): Add ability | |
| 3200 | * font.c (Ffont_face_attributes): Multiply pixel size before point | 3200 | to wrap continued lines at word boundaries. |
| 3201 | conversion to avoid multiplying rounding error. | 3201 | |
| 3202 | 3202 | 2008-06-24 Jason Rumney <jasonr@gnu.org> | |
| 3203 | 2008-06-23 Jason Rumney <jasonr@gnu.org> | 3203 | |
| 3204 | 3204 | * font.c (Ffont_face_attributes): Multiply pixel size before point | |
| 3205 | * w32term.c (x_draw_glyph_string_background) | 3205 | conversion to avoid multiplying rounding error. |
| 3206 | (x_draw_glyph_string): Remove old bdf font code. | 3206 | |
| 3207 | 3207 | 2008-06-23 Jason Rumney <jasonr@gnu.org> | |
| 3208 | * w32term.h (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE): Remove. | 3208 | |
| 3209 | 3209 | * w32term.c (x_draw_glyph_string_background) | |
| 3210 | 2008-06-22 Kenichi Handa <handa@m17n.org> | 3210 | (x_draw_glyph_string): Remove old bdf font code. |
| 3211 | 3211 | ||
| 3212 | * font.c (font_find_for_lface): Try the adstyle specified in | 3212 | * w32term.h (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE): Remove. |
| 3213 | the property of LFACE_FONT of LFACE (if any). | 3213 | |
| 3214 | 3214 | 2008-06-22 Kenichi Handa <handa@m17n.org> | |
| 3215 | 2008-06-21 Seiji Zenitani <zenitani@mac.com> | 3215 | |
| 3216 | Ryo Yoshitake <ryo@shiftmode.net> | 3216 | * font.c (font_find_for_lface): Try the adstyle specified in |
| 3217 | 3217 | the property of LFACE_FONT of LFACE (if any). | |
| 3218 | * xterm.c (x_set_frame_alpha): Add x_catch_errors for bug#437. | 3218 | |
| 3219 | 3219 | 2008-06-21 Seiji Zenitani <zenitani@mac.com> | |
| 3220 | 2008-06-22 Stefan Monnier <monnier@iro.umontreal.ca> | 3220 | Ryo Yoshitake <ryo@shiftmode.net> |
| 3221 | 3221 | ||
| 3222 | * Makefile.in (${lisp} ${SOME_MACHINE_LISP}, ../lisp/loaddefs.el): | 3222 | * xterm.c (x_set_frame_alpha): Add x_catch_errors for bug#437. |
| 3223 | Use $(BOOTSTRAPEMACS) rather than witness-emacs. | 3223 | |
| 3224 | (bootstrap-emacs${EXEEXT}): Merge witness-emacs into it. | 3224 | 2008-06-22 Stefan Monnier <monnier@iro.umontreal.ca> |
| 3225 | (witness-emacs): Remove. | 3225 | |
| 3226 | (lisp, shortlisp): Move loaddefs.el earlier. | 3226 | * Makefile.in (${lisp} ${SOME_MACHINE_LISP}, ../lisp/loaddefs.el): |
| 3227 | (mostlyclean): Forget about witness-emacs. | 3227 | Use $(BOOTSTRAPEMACS) rather than witness-emacs. |
| 3228 | 3228 | (bootstrap-emacs${EXEEXT}): Merge witness-emacs into it. | |
| 3229 | 2008-06-22 Glenn Morris <rgm@gnu.org> | 3229 | (witness-emacs): Remove. |
| 3230 | 3230 | (lisp, shortlisp): Move loaddefs.el earlier. | |
| 3231 | * Makefile.in (witness-emacs): Depend on temacs${EXEEXT}. | 3231 | (mostlyclean): Forget about witness-emacs. |
| 3232 | (.SUFFIXES): Declare .el.elc as a suffix rule, for non-GNU makes. | 3232 | |
| 3233 | 3233 | 2008-06-22 Glenn Morris <rgm@gnu.org> | |
| 3234 | 2008-06-21 Stefan Monnier <monnier@iro.umontreal.ca> | 3234 | |
| 3235 | 3235 | * Makefile.in (witness-emacs): Depend on temacs${EXEEXT}. | |
| 3236 | * Makefile.in (PRECOMP): Remove. | 3236 | (.SUFFIXES): Declare .el.elc as a suffix rule, for non-GNU makes. |
| 3237 | (${lisp} ${SOME_MACHINE_LISP}): Remove pseudo dependency on PRECOMP. | 3237 | |
| 3238 | (witness-emacs): Run `compile-first'. | 3238 | 2008-06-21 Stefan Monnier <monnier@iro.umontreal.ca> |
| 3239 | (.el.elc): Use the new compile-onefile target. | 3239 | |
| 3240 | 3240 | * Makefile.in (PRECOMP): Remove. | |
| 3241 | 2008-06-21 Kenichi Handa <handa@m17n.org> | 3241 | (${lisp} ${SOME_MACHINE_LISP}): Remove pseudo dependency on PRECOMP. |
| 3242 | 3242 | (witness-emacs): Run `compile-first'. | |
| 3243 | * xftfont.c (xftfont_open): Handle QCembolden only when | 3243 | (.el.elc): Use the new compile-onefile target. |
| 3244 | FC_EMBOLDEN is defined. | 3244 | |
| 3245 | 3245 | 2008-06-21 Kenichi Handa <handa@m17n.org> | |
| 3246 | 2008-06-21 Andreas Schwab <schwab@suse.de> | 3246 | |
| 3247 | 3247 | * xftfont.c (xftfont_open): Handle QCembolden only when | |
| 3248 | * Makefile.in (witness-emacs): Use ../lisp, not $(lispsource). | 3248 | FC_EMBOLDEN is defined. |
| 3249 | (.el.elc): Likewise. | 3249 | |
| 3250 | 3250 | 2008-06-21 Andreas Schwab <schwab@suse.de> | |
| 3251 | 2008-06-21 Miles Bader <miles@gnu.org> | 3251 | |
| 3252 | 3252 | * Makefile.in (witness-emacs): Use ../lisp, not $(lispsource). | |
| 3253 | * Makefile.in (../lisp/loaddefs.el): Build autoloads in the lisp | 3253 | (.el.elc): Likewise. |
| 3254 | build dir, not the lisp source dir. | 3254 | |
| 3255 | 3255 | 2008-06-21 Miles Bader <miles@gnu.org> | |
| 3256 | 2008-06-21 Stefan Monnier <monnier@iro.umontreal.ca> | 3256 | |
| 3257 | 3257 | * Makefile.in (../lisp/loaddefs.el): Build autoloads in the lisp | |
| 3258 | * Makefile.in (emacs${EXEEXT}): Link the new emacs to bootstrap-emacs. | 3258 | build dir, not the lisp source dir. |
| 3259 | (bootstrapclean): Remove. | 3259 | |
| 3260 | (.el.elc): New rule. | 3260 | 2008-06-21 Stefan Monnier <monnier@iro.umontreal.ca> |
| 3261 | (PRECOMP): New var. | 3261 | |
| 3262 | (../lisp/subdirs.el): Remove. | 3262 | * Makefile.in (emacs${EXEEXT}): Link the new emacs to bootstrap-emacs. |
| 3263 | (bootstrap-emacs${EXEEXT}): Remove subdirs.el and charpro.el dependency. | 3263 | (bootstrapclean): Remove. |
| 3264 | (witness-emacs): New target. | 3264 | (.el.elc): New rule. |
| 3265 | (mostlyclean): Remove witness-emacs as well. | 3265 | (PRECOMP): New var. |
| 3266 | (../lisp/loaddefs.el, ${lisp} ${SOME_MACHINE_LISP}): | 3266 | (../lisp/subdirs.el): Remove. |
| 3267 | Add witness-emacs dependency. | 3267 | (bootstrap-emacs${EXEEXT}): Remove subdirs.el and charpro.el dependency. |
| 3268 | 3268 | (witness-emacs): New target. | |
| 3269 | 2008-06-20 Chong Yidong <cyd@stupidchicken.com> | 3269 | (mostlyclean): Remove witness-emacs as well. |
| 3270 | 3270 | (../lisp/loaddefs.el, ${lisp} ${SOME_MACHINE_LISP}): | |
| 3271 | * font.c (Ffont_face_attributes): Omit key-attribute pairs not | 3271 | Add witness-emacs dependency. |
| 3272 | defined by the font. | 3272 | |
| 3273 | 3273 | 2008-06-20 Chong Yidong <cyd@stupidchicken.com> | |
| 3274 | 2008-06-20 Stefan Monnier <monnier@iro.umontreal.ca> | 3274 | |
| 3275 | 3275 | * font.c (Ffont_face_attributes): Omit key-attribute pairs not | |
| 3276 | * Makefile.in (emacs${EXEEXT}): Depend on the machine-specific files. | 3276 | defined by the font. |
| 3277 | (bootstrap-clean): New target that keeps TAGS around. | 3277 | |
| 3278 | (../lisp/subdirs.el, ../lisp/loaddefs.el): New targets. | 3278 | 2008-06-20 Stefan Monnier <monnier@iro.umontreal.ca> |
| 3279 | (bootstrap-emacs${EXEEXT}): Depend on subdirs.el. | 3279 | |
| 3280 | 3280 | * Makefile.in (emacs${EXEEXT}): Depend on the machine-specific files. | |
| 3281 | 2008-06-20 Jason Rumney <jasonr@gnu.org> | 3281 | (bootstrap-clean): New target that keeps TAGS around. |
| 3282 | 3282 | (../lisp/subdirs.el, ../lisp/loaddefs.el): New targets. | |
| 3283 | * w32fns.c, w32term.c, w32term.h, w32gui.h [OLD_FONT]: | 3283 | (bootstrap-emacs${EXEEXT}): Depend on subdirs.el. |
| 3284 | Remove obsolete font code. | 3284 | |
| 3285 | 3285 | 2008-06-20 Jason Rumney <jasonr@gnu.org> | |
| 3286 | * w32font.c (font_matches_spec): Use csb bitfield from font signature | 3286 | |
| 3287 | to determine language support. | 3287 | * w32fns.c, w32term.c, w32term.h, w32gui.h [OLD_FONT]: |
| 3288 | 3288 | Remove obsolete font code. | |
| 3289 | 2008-06-20 Stefan Monnier <monnier@iro.umontreal.ca> | 3289 | |
| 3290 | 3290 | * w32font.c (font_matches_spec): Use csb bitfield from font signature | |
| 3291 | * sysdep.c (cfsetspeed): New fun extracted from the code. | 3291 | to determine language support. |
| 3292 | (cfmakeraw): Move before first use. | 3292 | |
| 3293 | 3293 | 2008-06-20 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 3294 | 2008-06-20 Angelo Graziosi <angelo.graziosi@alice.it> (tiny change) | 3294 | |
| 3295 | 3295 | * sysdep.c (cfsetspeed): New fun extracted from the code. | |
| 3296 | * sysdep.c (cfmakeraw): Provide fallback implementation. | 3296 | (cfmakeraw): Move before first use. |
| 3297 | (serial_configure): Provide fallback implementation of cfsetspeed. | 3297 | |
| 3298 | 3298 | 2008-06-20 Angelo Graziosi <angelo.graziosi@alice.it> (tiny change) | |
| 3299 | 2008-06-20 Kenichi Handa <handa@m17n.org> | 3299 | |
| 3300 | 3300 | * sysdep.c (cfmakeraw): Provide fallback implementation. | |
| 3301 | * xftfont.c (xftfont_open): Add FOUNDRY, SPACING, DPI, SCALABLE to | 3301 | (serial_configure): Provide fallback implementation of cfsetspeed. |
| 3302 | the pattern. | 3302 | |
| 3303 | 3303 | 2008-06-20 Kenichi Handa <handa@m17n.org> | |
| 3304 | * fontset.c (fontset_from_font): Copy font_spec before changing | 3304 | |
| 3305 | the elements. | 3305 | * xftfont.c (xftfont_open): Add FOUNDRY, SPACING, DPI, SCALABLE to |
| 3306 | 3306 | the pattern. | |
| 3307 | * xfns.c (x_default_font_parameter): Try "monospace-12" too. | 3307 | |
| 3308 | 3308 | * fontset.c (fontset_from_font): Copy font_spec before changing | |
| 3309 | 2008-06-20 Stefan Monnier <monnier@iro.umontreal.ca> | 3309 | the elements. |
| 3310 | 3310 | ||
| 3311 | * w32fns.c, xfns.c (x_default_font_parameter): Only set `font-param' | 3311 | * xfns.c (x_default_font_parameter): Try "monospace-12" too. |
| 3312 | for explicit `font' parameters. | 3312 | |
| 3313 | 3313 | 2008-06-20 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 3314 | * frame.c (x_set_font): Remove unexplained call to fix inf-recursion. | 3314 | |
| 3315 | 3315 | * w32fns.c, xfns.c (x_default_font_parameter): Only set `font-param' | |
| 3316 | 2008-06-19 Kenichi Handa <handa@m17n.org> | 3316 | for explicit `font' parameters. |
| 3317 | 3317 | ||
| 3318 | * frame.c: Include <ctype.h>. | 3318 | * frame.c (x_set_font): Remove unexplained call to fix inf-recursion. |
| 3319 | (x_set_font_backend): Allow spacing characters in the X resource | 3319 | |
| 3320 | for FontBackend. | 3320 | 2008-06-19 Kenichi Handa <handa@m17n.org> |
| 3321 | 3321 | ||
| 3322 | 2008-06-19 Stefan Monnier <monnier@iro.umontreal.ca> | 3322 | * frame.c: Include <ctype.h>. |
| 3323 | 3323 | (x_set_font_backend): Allow spacing characters in the X resource | |
| 3324 | * w32fns.c, xfns.c (Qfont_param): New var. | 3324 | for FontBackend. |
| 3325 | (syms_of_w32fns): Initialize it. | 3325 | |
| 3326 | (x_default_font_parameter): Record explicit `font' into | 3326 | 2008-06-19 Stefan Monnier <monnier@iro.umontreal.ca> |
| 3327 | `font-parameter'. | 3327 | |
| 3328 | 3328 | * w32fns.c, xfns.c (Qfont_param): New var. | |
| 3329 | 2008-06-18 Kenichi Handa <handa@m17n.org> | 3329 | (syms_of_w32fns): Initialize it. |
| 3330 | 3330 | (x_default_font_parameter): Record explicit `font' into | |
| 3331 | * font.c (font_parse_xlfd): Fix previous change. | 3331 | `font-parameter'. |
| 3332 | (font_parse_fcname): Don't use :fc-unknown-spec. | 3332 | |
| 3333 | (FRAME_X_DISPLAY_INFO): Be sure to have at least 1 pixel height. | 3333 | 2008-06-18 Kenichi Handa <handa@m17n.org> |
| 3334 | (Fcopy_font_spec): Preserve the order of elements in FONT_EXTRA. | 3334 | |
| 3335 | (font_add_log): Prepend the driver name to the resulting fonts. | 3335 | * font.c (font_parse_xlfd): Fix previous change. |
| 3336 | 3336 | (font_parse_fcname): Don't use :fc-unknown-spec. | |
| 3337 | * ftfont.c (ftfont_pattern_entity): New arg extra. Caller changed. | 3337 | (FRAME_X_DISPLAY_INFO): Be sure to have at least 1 pixel height. |
| 3338 | (ftfont_spec_pattern): Don't check QCfc_unknown_spec and QCname. | 3338 | (Fcopy_font_spec): Preserve the order of elements in FONT_EXTRA. |
| 3339 | (ftfont_list) [FC_FONTFORMAT]: Include FC_FONTFORMAT in objset. | 3339 | (font_add_log): Prepend the driver name to the resulting fonts. |
| 3340 | 3340 | ||
| 3341 | * xftfont.c (QChinting , QCautohint, QChintstyle, QCrgba) | 3341 | * ftfont.c (ftfont_pattern_entity): New arg extra. Caller changed. |
| 3342 | (QCembolden): New variables. | 3342 | (ftfont_spec_pattern): Don't check QCfc_unknown_spec and QCname. |
| 3343 | (syms_of_xftfont): DEFSYM them. | 3343 | (ftfont_list) [FC_FONTFORMAT]: Include FC_FONTFORMAT in objset. |
| 3344 | (xftfont_open): Call XftFontMatch. Don't trust the result of | 3344 | |
| 3345 | XftTextExtents8 if the pixel_size is less than 5. | 3345 | * xftfont.c (QChinting , QCautohint, QChintstyle, QCrgba) |
| 3346 | 3346 | (QCembolden): New variables. | |
| 3347 | 2008-06-18 Andreas Schwab <schwab@suse.de> | 3347 | (syms_of_xftfont): DEFSYM them. |
| 3348 | 3348 | (xftfont_open): Call XftFontMatch. Don't trust the result of | |
| 3349 | * font.c (Ffont_face_attributes): Only define if HAVE_WINDOW_SYSTEM. | 3349 | XftTextExtents8 if the pixel_size is less than 5. |
| 3350 | (syms_of_font): Only defsubr if HAVE_WINDOW_SYSTEM. | 3350 | |
| 3351 | 3351 | 2008-06-18 Andreas Schwab <schwab@suse.de> | |
| 3352 | 2008-06-18 Jason Rumney <jasonr@gnu.org> | 3352 | |
| 3353 | 3353 | * font.c (Ffont_face_attributes): Only define if HAVE_WINDOW_SYSTEM. | |
| 3354 | * w32font.c (w32font_list, w32font_match): Add logging. | 3354 | (syms_of_font): Only defsubr if HAVE_WINDOW_SYSTEM. |
| 3355 | 3355 | ||
| 3356 | * w32uniscribe.c (uniscribe_list, uniscribe_match): Add logging. | 3356 | 2008-06-18 Jason Rumney <jasonr@gnu.org> |
| 3357 | 3357 | ||
| 3358 | 2008-06-17 Chong Yidong <cyd@stupidchicken.com> | 3358 | * w32font.c (w32font_list, w32font_match): Add logging. |
| 3359 | 3359 | ||
| 3360 | * font.c (font_parse_fcname): Store divider characters for | 3360 | * w32uniscribe.c (uniscribe_list, uniscribe_match): Add logging. |
| 3361 | unknown-spec list. For known key symbols, intern using correct | 3361 | |
| 3362 | symbol name. | 3362 | 2008-06-17 Chong Yidong <cyd@stupidchicken.com> |
| 3363 | 3363 | ||
| 3364 | 2008-06-17 Kenichi Handa <handa@m17n.org> | 3364 | * font.c (font_parse_fcname): Store divider characters for |
| 3365 | 3365 | unknown-spec list. For known key symbols, intern using correct | |
| 3366 | * xfaces.c (realize_default_face): If the frame is not on window | 3366 | symbol name. |
| 3367 | system, set the fontset of face to nil. | 3367 | |
| 3368 | 3368 | 2008-06-17 Kenichi Handa <handa@m17n.org> | |
| 3369 | 2008-06-17 Naohiro Aota <nao.aota@gmail.com> (tiny change) | 3369 | |
| 3370 | 3370 | * xfaces.c (realize_default_face): If the frame is not on window | |
| 3371 | * fontset.c (fontset_pattern_regexp): Escape some reg-expr characters. | 3371 | system, set the fontset of face to nil. |
| 3372 | 3372 | ||
| 3373 | 2008-06-16 Juanma Barranquero <lekktu@gmail.com> | 3373 | 2008-06-17 Naohiro Aota <nao.aota@gmail.com> (tiny change) |
| 3374 | 3374 | ||
| 3375 | * dispextern.h (lookup_non_ascii_face, split_font_name_into_vector) | 3375 | * fontset.c (fontset_pattern_regexp): Escape some reg-expr characters. |
| 3376 | (build_font_name_from_vector): Delete externs. | 3376 | |
| 3377 | 3377 | 2008-06-16 Juanma Barranquero <lekktu@gmail.com> | |
| 3378 | * xfaces.c (struct font_name): Don't declare. | 3378 | |
| 3379 | 3379 | * dispextern.h (lookup_non_ascii_face, split_font_name_into_vector) | |
| 3380 | 2008-06-16 Stefan Monnier <monnier@iro.umontreal.ca> | 3380 | (build_font_name_from_vector): Delete externs. |
| 3381 | 3381 | ||
| 3382 | * font.c (font_unparse_gtkname): Use EQ to compare Lisp_Objects. | 3382 | * xfaces.c (struct font_name): Don't declare. |
| 3383 | 3383 | ||
| 3384 | 2008-06-16 Chong Yidong <cyd@stupidchicken.com> | 3384 | 2008-06-16 Stefan Monnier <monnier@iro.umontreal.ca> |
| 3385 | 3385 | ||
| 3386 | * font.c (font_parse_fcname): Fix handling of unknown-spec string. | 3386 | * font.c (font_unparse_gtkname): Use EQ to compare Lisp_Objects. |
| 3387 | 3387 | ||
| 3388 | 2008-06-16 Juanma Barranquero <lekktu@gmail.com> | 3388 | 2008-06-16 Chong Yidong <cyd@stupidchicken.com> |
| 3389 | 3389 | ||
| 3390 | * font.c (Ffont_spec): Fix usage in docstring. | 3390 | * font.c (font_parse_fcname): Fix handling of unknown-spec string. |
| 3391 | (Ffont_face_attributes): Doc fix. | 3391 | |
| 3392 | 3392 | 2008-06-16 Juanma Barranquero <lekktu@gmail.com> | |
| 3393 | 2008-06-16 Andreas Schwab <schwab@suse.de> | 3393 | |
| 3394 | 3394 | * font.c (Ffont_spec): Fix usage in docstring. | |
| 3395 | * font.c (Ffont_face_attributes): Fix definition. | 3395 | (Ffont_face_attributes): Doc fix. |
| 3396 | 3396 | ||
| 3397 | 2008-06-16 Jason Rumney <jasonr@gnu.org> | 3397 | 2008-06-16 Andreas Schwab <schwab@suse.de> |
| 3398 | 3398 | ||
| 3399 | * font.h (font_style_symbolic_from_value): Remove. | 3399 | * font.c (Ffont_face_attributes): Fix definition. |
| 3400 | 3400 | ||
| 3401 | * font.c (font_style_symbolic_from_value): Remove. | 3401 | 2008-06-16 Jason Rumney <jasonr@gnu.org> |
| 3402 | (font_style_symbolic): Revert to pre 2008-06-13 version. | 3402 | |
| 3403 | 3403 | * font.h (font_style_symbolic_from_value): Remove. | |
| 3404 | * w32font.c (w32_to_fc_weight): New function. | 3404 | |
| 3405 | (w32font_full_name, logfont_to_fcname): Use it. | 3405 | * font.c (font_style_symbolic_from_value): Remove. |
| 3406 | 3406 | (font_style_symbolic): Revert to pre 2008-06-13 version. | |
| 3407 | 2008-06-16 Kenichi Handa <handa@m17n.org> | 3407 | |
| 3408 | 3408 | * w32font.c (w32_to_fc_weight): New function. | |
| 3409 | * font.c (font_check_object): Delete it. | 3409 | (w32font_full_name, logfont_to_fcname): Use it. |
| 3410 | (font_clear_cache): Check if a font-object is alive. | 3410 | |
| 3411 | (font_open_entity): Likewise. Set FONT_OBJLST_INDEX of a | 3411 | 2008-06-16 Kenichi Handa <handa@m17n.org> |
| 3412 | font-object to nil. | 3412 | |
| 3413 | (font_close_object): Don't check FONT_CLOSE_OBJECT. | 3413 | * font.c (font_check_object): Delete it. |
| 3414 | (font_at): Don't call font_check_object. | 3414 | (font_clear_cache): Check if a font-object is alive. |
| 3415 | (Ffont_get): Return a symbol for :weight, :slant, and :width. | 3415 | (font_open_entity): Likewise. Set FONT_OBJLST_INDEX of a |
| 3416 | 3416 | font-object to nil. | |
| 3417 | 2008-06-16 Katsumi Yamaoka <yamaoka@jpl.org> | 3417 | (font_close_object): Don't check FONT_CLOSE_OBJECT. |
| 3418 | 3418 | (font_at): Don't call font_check_object. | |
| 3419 | * puresize.h (BASE_PURESIZE): Increase to 1230000. | 3419 | (Ffont_get): Return a symbol for :weight, :slant, and :width. |
| 3420 | 3420 | ||
| 3421 | 2008-06-16 Chong Yidong <cyd@stupidchicken.com> | 3421 | 2008-06-16 Katsumi Yamaoka <yamaoka@jpl.org> |
| 3422 | 3422 | ||
| 3423 | * font.c (font_parse_fcname): Correctly parse KEY=VAL values. | 3423 | * puresize.h (BASE_PURESIZE): Increase to 1230000. |
| 3424 | 3424 | ||
| 3425 | 2008-06-15 Chong Yidong <cyd@stupidchicken.com> | 3425 | 2008-06-16 Chong Yidong <cyd@stupidchicken.com> |
| 3426 | 3426 | ||
| 3427 | * font.c (font_parse_fcname): Only one decimal point. | 3427 | * font.c (font_parse_fcname): Correctly parse KEY=VAL values. |
| 3428 | (font_unparse_fcname): Handle data in family and foundry indices | 3428 | |
| 3429 | as symbols, not strings. | 3429 | 2008-06-15 Chong Yidong <cyd@stupidchicken.com> |
| 3430 | (font_unparse_gtkname, Ffont_face_attributes): New functions. | 3430 | |
| 3431 | 3431 | * font.c (font_parse_fcname): Only one decimal point. | |
| 3432 | * xfns.c (Fx_select_font): Give GTK font dialog the default font name. | 3432 | (font_unparse_fcname): Handle data in family and foundry indices |
| 3433 | 3433 | as symbols, not strings. | |
| 3434 | * font.h (font_unparse_gtkname): Add prototype. | 3434 | (font_unparse_gtkname, Ffont_face_attributes): New functions. |
| 3435 | 3435 | ||
| 3436 | 2008-06-15 Naohiro Aota <nao.aota@gmail.com> (tiny change) | 3436 | * xfns.c (Fx_select_font): Give GTK font dialog the default font name. |
| 3437 | 3437 | ||
| 3438 | * fontset.c (fontset_pattern_regexp): Escape `+' characters in pattern. | 3438 | * font.h (font_unparse_gtkname): Add prototype. |
| 3439 | 3439 | ||
| 3440 | 2008-06-15 Andreas Schwab <schwab@suse.de> | 3440 | 2008-06-15 Naohiro Aota <nao.aota@gmail.com> (tiny change) |
| 3441 | 3441 | ||
| 3442 | * font.c (font_update_drivers): Fix crash when no drivers match. | 3442 | * fontset.c (fontset_pattern_regexp): Escape `+' characters in pattern. |
| 3443 | 3443 | ||
| 3444 | 2008-06-15 Stefan Monnier <monnier@iro.umontreal.ca> | 3444 | 2008-06-15 Andreas Schwab <schwab@suse.de> |
| 3445 | 3445 | ||
| 3446 | * xfns.c (Fx_create_frame): internal-border-width default to 0 for Gtk. | 3446 | * font.c (font_update_drivers): Fix crash when no drivers match. |
| 3447 | * gtkutil.c (xg_create_frame_widgets): Don't set internal_border_width. | 3447 | |
| 3448 | 3448 | 2008-06-15 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 3449 | 2008-06-14 Stefan Monnier <monnier@iro.umontreal.ca> | 3449 | |
| 3450 | 3450 | * xfns.c (Fx_create_frame): internal-border-width default to 0 for Gtk. | |
| 3451 | * xdisp.c (syms_of_xdisp): Default underline-minimum-offset to 1. | 3451 | * gtkutil.c (xg_create_frame_widgets): Don't set internal_border_width. |
| 3452 | 3452 | ||
| 3453 | 2008-06-13 Stefan Monnier <monnier@iro.umontreal.ca> | 3453 | 2008-06-14 Stefan Monnier <monnier@iro.umontreal.ca> |
| 3454 | 3454 | ||
| 3455 | * process.c (Fserial_process_configure, Fprocess_send_eof): | 3455 | * xdisp.c (syms_of_xdisp): Default underline-minimum-offset to 1. |
| 3456 | Use EQ to compare Lisp_Objects. | 3456 | |
| 3457 | 3457 | 2008-06-13 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 3458 | 2008-06-13 Jason Rumney <jasonr@gnu.org> | 3458 | |
| 3459 | 3459 | * process.c (Fserial_process_configure, Fprocess_send_eof): | |
| 3460 | * w32fns.c (Fw32_select_font): Remove old font API function. | 3460 | Use EQ to compare Lisp_Objects. |
| 3461 | 3461 | ||
| 3462 | * w32font.c (logfont_to_fcname): New function. | 3462 | 2008-06-13 Jason Rumney <jasonr@gnu.org> |
| 3463 | (Fx_select_font): New font dialog function compatible with | 3463 | |
| 3464 | GTK/fontconfig version. | 3464 | * w32fns.c (Fw32_select_font): Remove old font API function. |
| 3465 | 3465 | ||
| 3466 | * font.c (font_style_symbolic_from_value): New function. | 3466 | * w32font.c (logfont_to_fcname): New function. |
| 3467 | (font_style_symbolic): Use it. | 3467 | (Fx_select_font): New font dialog function compatible with |
| 3468 | 3468 | GTK/fontconfig version. | |
| 3469 | * font.h (font_style_symbolic_from_value): Declare new function. | 3469 | |
| 3470 | 3470 | * font.c (font_style_symbolic_from_value): New function. | |
| 3471 | 2008-06-13 Juanma Barranquero <lekktu@gmail.com> | 3471 | (font_style_symbolic): Use it. |
| 3472 | 3472 | ||
| 3473 | * font.c (syms_of_font) <font-weight-table, font-slant-table>: | 3473 | * font.h (font_style_symbolic_from_value): Declare new function. |
| 3474 | <font-width-table>: Fix typos in docstrings. | 3474 | |
| 3475 | 3475 | 2008-06-13 Juanma Barranquero <lekktu@gmail.com> | |
| 3476 | 2008-06-13 Daniel Engeler <engeler@gmail.com> | 3476 | |
| 3477 | 3477 | * font.c (syms_of_font) <font-weight-table, font-slant-table>: | |
| 3478 | These changes add serial port access. | 3478 | <font-width-table>: Fix typos in docstrings. |
| 3479 | * process.c: Add HAVE_SERIAL. | 3479 | |
| 3480 | (Fdelete_process, Fprocess_status, Fset_process_buffer) | 3480 | 2008-06-13 Daniel Engeler <engeler@gmail.com> |
| 3481 | (Fset_process_filter, Fset_process_sentinel, Fprocess_contact) | 3481 | |
| 3482 | (list_processes_1, select_wrapper, Fstop_process) | 3482 | These changes add serial port access. |
| 3483 | (Fcontinue_process, Fprocess_send_eof, kill_buffer_processes) | 3483 | * process.c: Add HAVE_SERIAL. |
| 3484 | (status_notify): Modify to handle serial processes. | 3484 | (Fdelete_process, Fprocess_status, Fset_process_buffer) |
| 3485 | [HAVE_SERIAL] (Fserial_process_configure) | 3485 | (Fset_process_filter, Fset_process_sentinel, Fprocess_contact) |
| 3486 | [HAVE_SERIAL] (make_serial_process_unwind, Fmake_serial_process): | 3486 | (list_processes_1, select_wrapper, Fstop_process) |
| 3487 | New functions. | 3487 | (Fcontinue_process, Fprocess_send_eof, kill_buffer_processes) |
| 3488 | * process.h (struct Lisp_Process): Add `type'. | 3488 | (status_notify): Modify to handle serial processes. |
| 3489 | * sysdep.c [HAVE_TERMIOS] (serial_open, serial_configure): | 3489 | [HAVE_SERIAL] (Fserial_process_configure) |
| 3490 | New functions. | 3490 | [HAVE_SERIAL] (make_serial_process_unwind, Fmake_serial_process): |
| 3491 | * w32.c (_sys_read_ahead, sys_read, sys_write): Modify to handle | 3491 | New functions. |
| 3492 | serial ports. | 3492 | * process.h (struct Lisp_Process): Add `type'. |
| 3493 | (serial_open, serial_configure) New functions. | 3493 | * sysdep.c [HAVE_TERMIOS] (serial_open, serial_configure): |
| 3494 | * w32.h: Add FILE_SERIAL. | 3494 | New functions. |
| 3495 | (struct _child_process): Add ovl_read, ovl_write. | 3495 | * w32.c (_sys_read_ahead, sys_read, sys_write): Modify to handle |
| 3496 | 3496 | serial ports. | |
| 3497 | 2008-06-13 Kenichi Handa <handa@m17n.org> | 3497 | (serial_open, serial_configure) New functions. |
| 3498 | 3498 | * w32.h: Add FILE_SERIAL. | |
| 3499 | * dispextern.h (enum lface_attribute_index): New member | 3499 | (struct _child_process): Add ovl_read, ovl_write. |
| 3500 | LFACE_FOUNDRY_INDEX. | 3500 | |
| 3501 | 3501 | 2008-06-13 Kenichi Handa <handa@m17n.org> | |
| 3502 | * font.c (font_score): Delete arg alternate_families. Check only | 3502 | |
| 3503 | weight, slant, width, and size. Ignore the difference of alias | 3503 | * dispextern.h (enum lface_attribute_index): New member |
| 3504 | style symbols. | 3504 | LFACE_FOUNDRY_INDEX. |
| 3505 | (font_sort_entites): Adjust for the above change. Reflect the | 3505 | |
| 3506 | order of font-driver to scores. | 3506 | * font.c (font_score): Delete arg alternate_families. Check only |
| 3507 | (font_list_entities): Don't check alternate_familes here. | 3507 | weight, slant, width, and size. Ignore the difference of alias |
| 3508 | (font_clear_prop): Handle foundry. | 3508 | style symbols. |
| 3509 | (font_update_lface): Don't parse "foundry-family" form here. | 3509 | (font_sort_entites): Adjust for the above change. Reflect the |
| 3510 | Handle FONT_FOUNDRY_INDEX. | 3510 | order of font-driver to scores. |
| 3511 | (font_find_for_lface): Likewise. Handle alternate families here. | 3511 | (font_list_entities): Don't check alternate_familes here. |
| 3512 | If registry is nil, try iso8859-1 and ascii-0. | 3512 | (font_clear_prop): Handle foundry. |
| 3513 | (font_open_for_lface): Pay attention to size in ENTITY. | 3513 | (font_update_lface): Don't parse "foundry-family" form here. |
| 3514 | (font_open_by_name): Simplify by calling font_load_for_lface. | 3514 | Handle FONT_FOUNDRY_INDEX. |
| 3515 | (free_font_driver_list): Delete it. | 3515 | (font_find_for_lface): Likewise. Handle alternate families here. |
| 3516 | (font_update_drivers): Preserve the order of backends. | 3516 | If registry is nil, try iso8859-1 and ascii-0. |
| 3517 | (syms_of_font): Setting of sort_shift_bits adjusted for the change | 3517 | (font_open_for_lface): Pay attention to size in ENTITY. |
| 3518 | of font_score and font_sort_entites. | 3518 | (font_open_by_name): Simplify by calling font_load_for_lface. |
| 3519 | (font_update_sort_order): Likewise. | 3519 | (free_font_driver_list): Delete it. |
| 3520 | 3520 | (font_update_drivers): Preserve the order of backends. | |
| 3521 | * xfaces.c (LFACE_FOUNDRY): New macro. | 3521 | (syms_of_font): Setting of sort_shift_bits adjusted for the change |
| 3522 | (check_lface_attrs): Check foundry. | 3522 | of font_score and font_sort_entites. |
| 3523 | (set_lface_from_font): Don't parse "FOUNDRY-FAMILY" form. | 3523 | (font_update_sort_order): Likewise. |
| 3524 | (merge_face_vectors): Check foundry. | 3524 | |
| 3525 | (merge_face_ref): Likewise. | 3525 | * xfaces.c (LFACE_FOUNDRY): New macro. |
| 3526 | (Finternal_set_lisp_face_attribute): Likewise. | 3526 | (check_lface_attrs): Check foundry. |
| 3527 | (x_update_menu_appearance): Likewise. | 3527 | (set_lface_from_font): Don't parse "FOUNDRY-FAMILY" form. |
| 3528 | (Finternal_get_lisp_face_attribute): Likewise. | 3528 | (merge_face_vectors): Check foundry. |
| 3529 | (lface_hash): Likewise. | 3529 | (merge_face_ref): Likewise. |
| 3530 | (lface_same_font_attributes_p): Likewise. | 3530 | (Finternal_set_lisp_face_attribute): Likewise. |
| 3531 | (x_supports_face_attributes_p): Likewise. | 3531 | (x_update_menu_appearance): Likewise. |
| 3532 | (tty_supports_face_attributes_p): Likewise. | 3532 | (Finternal_get_lisp_face_attribute): Likewise. |
| 3533 | (Finternal_set_alternative_font_family_alist): Intern strings. | 3533 | (lface_hash): Likewise. |
| 3534 | (Finternal_set_alternative_font_registry_alist): Downcase strings. | 3534 | (lface_same_font_attributes_p): Likewise. |
| 3535 | (realize_default_face): Set LFACE_FOUNDRY (lface). | 3535 | (x_supports_face_attributes_p): Likewise. |
| 3536 | 3536 | (tty_supports_face_attributes_p): Likewise. | |
| 3537 | * xfns.c (Fx_create_frame, x_create_tip_frame): Register X | 3537 | (Finternal_set_alternative_font_family_alist): Intern strings. |
| 3538 | font-driver at first. | 3538 | (Finternal_set_alternative_font_registry_alist): Downcase strings. |
| 3539 | 3539 | (realize_default_face): Set LFACE_FOUNDRY (lface). | |
| 3540 | * ftfont.c (ftfont_font_format) [! FC_FONTFORMAT]: Declare "int len;". | 3540 | |
| 3541 | 3541 | * xfns.c (Fx_create_frame, x_create_tip_frame): Register X | |
| 3542 | 2008-06-12 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change) | 3542 | font-driver at first. |
| 3543 | 3543 | ||
| 3544 | * lread.c (Fload): Use xfree, not free on saved_doc_string. | 3544 | * ftfont.c (ftfont_font_format) [! FC_FONTFORMAT]: Declare "int len;". |
| 3545 | 3545 | ||
| 3546 | 2008-06-12 Jim Meyering <meyering@redhat.com> | 3546 | 2008-06-12 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change) |
| 3547 | 3547 | ||
| 3548 | Make unexec_free handle NULL the same way free does. | 3548 | * lread.c (Fload): Use xfree, not free on saved_doc_string. |
| 3549 | * unexmacosx.c (unexec_free): Ignore a NULL argument. | 3549 | |
| 3550 | 3550 | 2008-06-12 Jim Meyering <meyering@redhat.com> | |
| 3551 | 2008-06-12 Stefan Monnier <monnier@iro.umontreal.ca> | 3551 | |
| 3552 | 3552 | Make unexec_free handle NULL the same way free does. | |
| 3553 | * character.h (CHAR_TO_BYTE_SAFE): New macro. | 3553 | * unexmacosx.c (unexec_free): Ignore a NULL argument. |
| 3554 | * character.c (Fmultibyte_char_to_unibyte): Obey the docstring. | 3554 | |
| 3555 | * regex.c (RE_CHAR_TO_UNIBYTE): Use the new macro. | 3555 | 2008-06-12 Stefan Monnier <monnier@iro.umontreal.ca> |
| 3556 | (WEAK_ALIAS): Simplify. | 3556 | |
| 3557 | * syntax.c (skip_chars): Don't mark non-byte chars in the fastmap | 3557 | * character.h (CHAR_TO_BYTE_SAFE): New macro. |
| 3558 | when searching a unibyte buffer. | 3558 | * character.c (Fmultibyte_char_to_unibyte): Obey the docstring. |
| 3559 | 3559 | * regex.c (RE_CHAR_TO_UNIBYTE): Use the new macro. | |
| 3560 | 2008-06-12 Chong Yidong <cyd@stupidchicken.com> | 3560 | (WEAK_ALIAS): Simplify. |
| 3561 | 3561 | * syntax.c (skip_chars): Don't mark non-byte chars in the fastmap | |
| 3562 | * xfns.c (Fx_select_font): Rename from x-font-dialog. | 3562 | when searching a unibyte buffer. |
| 3563 | 3563 | ||
| 3564 | 2008-06-12 Juanma Barranquero <lekktu@gmail.com> | 3564 | 2008-06-12 Chong Yidong <cyd@stupidchicken.com> |
| 3565 | 3565 | ||
| 3566 | * w32font.c: Include ctype.h. | 3566 | * xfns.c (Fx_select_font): Rename from x-font-dialog. |
| 3567 | 3567 | ||
| 3568 | 2008-06-11 Jason Rumney <jasonr@gnu.org> | 3568 | 2008-06-12 Juanma Barranquero <lekktu@gmail.com> |
| 3569 | 3569 | ||
| 3570 | * w32font.c (w32font_encode_char): Detect missing glyphs that are | 3570 | * w32font.c: Include ctype.h. |
| 3571 | misreported as space. | 3571 | |
| 3572 | (add_font_entity_to_list): Support unicode-bmp and unicode-sip | 3572 | 2008-06-11 Jason Rumney <jasonr@gnu.org> |
| 3573 | as aliases for registry iso10646-1. | 3573 | |
| 3574 | 3574 | * w32font.c (w32font_encode_char): Detect missing glyphs that are | |
| 3575 | 2008-06-11 Stefan Monnier <monnier@iro.umontreal.ca> | 3575 | misreported as space. |
| 3576 | 3576 | (add_font_entity_to_list): Support unicode-bmp and unicode-sip | |
| 3577 | * buffer.c (clone_per_buffer_values): Skip `name'. | 3577 | as aliases for registry iso10646-1. |
| 3578 | 3578 | ||
| 3579 | 2008-06-11 Chong Yidong <cyd@stupidchicken.com> | 3579 | 2008-06-11 Stefan Monnier <monnier@iro.umontreal.ca> |
| 3580 | 3580 | ||
| 3581 | * font.c (font_parse_fcname): Fix last change; accept decimal | 3581 | * buffer.c (clone_per_buffer_values): Skip `name'. |
| 3582 | points in font size. | 3582 | |
| 3583 | 3583 | 2008-06-11 Chong Yidong <cyd@stupidchicken.com> | |
| 3584 | 2008-06-10 Jason Rumney <jasonr@gnu.org> | 3584 | |
| 3585 | 3585 | * font.c (font_parse_fcname): Fix last change; accept decimal | |
| 3586 | * w32uniscribe.c (add_opentype_font_name_to_list): | 3586 | points in font size. |
| 3587 | Skip non unicode fonts. | 3587 | |
| 3588 | 3588 | 2008-06-10 Jason Rumney <jasonr@gnu.org> | |
| 3589 | 2008-06-10 Chong Yidong <cyd@stupidchicken.com> | 3589 | |
| 3590 | 3590 | * w32uniscribe.c (add_opentype_font_name_to_list): | |
| 3591 | * xfns.c (Fx_font_dialog): New function. | 3591 | Skip non unicode fonts. |
| 3592 | 3592 | ||
| 3593 | * gtkutil.c (xg_dialog_response_cb): Rename from | 3593 | 2008-06-10 Chong Yidong <cyd@stupidchicken.com> |
| 3594 | xg_file_response_callback. | 3594 | |
| 3595 | (pop_down_dialog): Rename from pop_down_file_dialog. | 3595 | * xfns.c (Fx_font_dialog): New function. |
| 3596 | (xg_get_file_name): Callers changed. | 3596 | |
| 3597 | (xg_get_font_name): New function. | 3597 | * gtkutil.c (xg_dialog_response_cb): Rename from |
| 3598 | 3598 | xg_file_response_callback. | |
| 3599 | * gtkutil.h (xg_get_font_name): Insert prototype. | 3599 | (pop_down_dialog): Rename from pop_down_file_dialog. |
| 3600 | 3600 | (xg_get_file_name): Callers changed. | |
| 3601 | 2008-06-10 Stefan Monnier <monnier@iro.umontreal.ca> | 3601 | (xg_get_font_name): New function. |
| 3602 | 3602 | ||
| 3603 | * xdisp.c (underline_minimum_offset): Rename from xterm.c's | 3603 | * gtkutil.h (xg_get_font_name): Insert prototype. |
| 3604 | x_underline_minimum_display_offset. | 3604 | |
| 3605 | (syms_of_xdisp): Declare it here rather than in xterm.c. | 3605 | 2008-06-10 Stefan Monnier <monnier@iro.umontreal.ca> |
| 3606 | * dispextern.h (underline_minimum_offset): Declare it. | 3606 | |
| 3607 | * w32term.c (x_draw_glyph_string): Use it. | 3607 | * xdisp.c (underline_minimum_offset): Rename from xterm.c's |
| 3608 | * xterm.c (x_underline_minimum_display_offset): Move to xdisp.c. | 3608 | x_underline_minimum_display_offset. |
| 3609 | (syms_of_xterm): Don't declare it any more. | 3609 | (syms_of_xdisp): Declare it here rather than in xterm.c. |
| 3610 | (x_draw_glyph_string): Adjust to the new name. | 3610 | * dispextern.h (underline_minimum_offset): Declare it. |
| 3611 | 3611 | * w32term.c (x_draw_glyph_string): Use it. | |
| 3612 | 2008-06-10 David De La Harpe Golden <david@harpegolden.net> (tiny change) | 3612 | * xterm.c (x_underline_minimum_display_offset): Move to xdisp.c. |
| 3613 | 3613 | (syms_of_xterm): Don't declare it any more. | |
| 3614 | * xterm.c (x_underline_minimum_display_offset): New var. | 3614 | (x_draw_glyph_string): Adjust to the new name. |
| 3615 | (x_draw_glyph_string): Use it. | 3615 | |
| 3616 | (syms_of_xterm): Declare it. | 3616 | 2008-06-10 David De La Harpe Golden <david@harpegolden.net> (tiny change) |
| 3617 | 3617 | ||
| 3618 | 2008-06-10 Chong Yidong <cyd@stupidchicken.com> | 3618 | * xterm.c (x_underline_minimum_display_offset): New var. |
| 3619 | 3619 | (x_draw_glyph_string): Use it. | |
| 3620 | * font.c (font_parse_fcname): Accept GTK-style font names too. | 3620 | (syms_of_xterm): Declare it. |
| 3621 | 3621 | ||
| 3622 | 2008-06-10 Stefan Monnier <monnier@iro.umontreal.ca> | 3622 | 2008-06-10 Chong Yidong <cyd@stupidchicken.com> |
| 3623 | 3623 | ||
| 3624 | * dired.c (file_name_completion): Don't return t if the match is exact | 3624 | * font.c (font_parse_fcname): Accept GTK-style font names too. |
| 3625 | but with different capitalization. | 3625 | |
| 3626 | * minibuf.c (Ftry_completion): Simplify. | 3626 | 2008-06-10 Stefan Monnier <monnier@iro.umontreal.ca> |
| 3627 | 3627 | ||
| 3628 | * window.c (Vwindow_point_insertion_type): New var. | 3628 | * dired.c (file_name_completion): Don't return t if the match is exact |
| 3629 | (set_window_buffer): Use it. | 3629 | but with different capitalization. |
| 3630 | (syms_of_window): Init and export it to Lisp. | 3630 | * minibuf.c (Ftry_completion): Simplify. |
| 3631 | 3631 | ||
| 3632 | 2008-06-10 Kenichi Handa <handa@m17n.org> | 3632 | * window.c (Vwindow_point_insertion_type): New var. |
| 3633 | 3633 | (set_window_buffer): Use it. | |
| 3634 | * font.h (font_intern_prop): Prototype adjusted. | 3634 | (syms_of_window): Init and export it to Lisp. |
| 3635 | 3635 | ||
| 3636 | * font.c (font_intern_prop): New arg force_symbol. | 3636 | 2008-06-10 Kenichi Handa <handa@m17n.org> |
| 3637 | (font_parse_xlfd, font_parse_fcname, font_parse_family_registry): | 3637 | |
| 3638 | Adjust for the change of font_intern_prop. | 3638 | * font.h (font_intern_prop): Prototype adjusted. |
| 3639 | 3639 | ||
| 3640 | * ftfont.c (ftfont_pattern_entity): | 3640 | * font.c (font_intern_prop): New arg force_symbol. |
| 3641 | * w32font.c (add_font_name_to_list, w32_enumfont_pattern_entity) | 3641 | (font_parse_xlfd, font_parse_fcname, font_parse_family_registry): |
| 3642 | (w32_registry): | 3642 | Adjust for the change of font_intern_prop. |
| 3643 | * w32uniscribe.c (add_opentype_font_name_to_list): Adjust for | 3643 | |
| 3644 | the change of font_intern_prop. | 3644 | * ftfont.c (ftfont_pattern_entity): |
| 3645 | 3645 | * w32font.c (add_font_name_to_list, w32_enumfont_pattern_entity) | |
| 3646 | 2008-06-09 Juanma Barranquero <lekktu@gmail.com> | 3646 | (w32_registry): |
| 3647 | 3647 | * w32uniscribe.c (add_opentype_font_name_to_list): Adjust for | |
| 3648 | * w32menu.c (digest_single_submenu): Declare extern. | 3648 | the change of font_intern_prop. |
| 3649 | 3649 | ||
| 3650 | 2008-06-09 Jason Rumney <jasonr@gnu.org> | 3650 | 2008-06-09 Juanma Barranquero <lekktu@gmail.com> |
| 3651 | 3651 | ||
| 3652 | * w32term.c (x_make_frame_visible): Use alternate restore flags. | 3652 | * w32menu.c (digest_single_submenu): Declare extern. |
| 3653 | 3653 | ||
| 3654 | * w32menu.c (Fx_popup_menu): Unwind protect while building menu. | 3654 | 2008-06-09 Jason Rumney <jasonr@gnu.org> |
| 3655 | (parse_single_submenu): Remove. | 3655 | |
| 3656 | (digest_single_submenu): Remove. | 3656 | * w32term.c (x_make_frame_visible): Use alternate restore flags. |
| 3657 | (syms_of_w32menu): Don't initialise variables that have moved | 3657 | |
| 3658 | to menu.c. | 3658 | * w32menu.c (Fx_popup_menu): Unwind protect while building menu. |
| 3659 | (set_frame_menubar): Sync with version in xmenu.c. | 3659 | (parse_single_submenu): Remove. |
| 3660 | (w32_menu_show): Sync with xmenu_show in xmenu.c. | 3660 | (digest_single_submenu): Remove. |
| 3661 | 3661 | (syms_of_w32menu): Don't initialise variables that have moved | |
| 3662 | * menu.c (single_keymap_panes, push_menu_pane, push_menu_item): | 3662 | to menu.c. |
| 3663 | Make static again. | 3663 | (set_frame_menubar): Sync with version in xmenu.c. |
| 3664 | 3664 | (w32_menu_show): Sync with xmenu_show in xmenu.c. | |
| 3665 | 2008-06-09 Jason Rumney <jasonr@gnu.org> | 3665 | |
| 3666 | 3666 | * menu.c (single_keymap_panes, push_menu_pane, push_menu_item): | |
| 3667 | Changes to w32 files related to the move of common menu code | 3667 | Make static again. |
| 3668 | to menu.c on 2008-06-08 by Chong Yidong. | 3668 | |
| 3669 | 3669 | 2008-06-09 Jason Rumney <jasonr@gnu.org> | |
| 3670 | * menu.c [HAVE_NTGUI]: Include w32term.h, move widget related | 3670 | |
| 3671 | defs to w32gui.h. | 3671 | Changes to w32 files related to the move of common menu code |
| 3672 | (single_keymap_panes, push_menu_item, push_menu_pane): | 3672 | to menu.c on 2008-06-08 by Chong Yidong. |
| 3673 | Make globally visible. | 3673 | |
| 3674 | 3674 | * menu.c [HAVE_NTGUI]: Include w32term.h, move widget related | |
| 3675 | * w32menu.c (enum button_type, widget_value, local_heap, local_alloc) | 3675 | defs to w32gui.h. |
| 3676 | (local_free, malloc_widget_value, free_widget_value) | 3676 | (single_keymap_panes, push_menu_item, push_menu_pane): |
| 3677 | (MENU_ITEMS_ITEM_NAME, MENU_ITEMS_ITEM_ENABLE, MENU_ITEMS_ITEM_VALUE) | 3677 | Make globally visible. |
| 3678 | (MENU_ITEMS_ITEM_EQUIV_KEY, MENU_ITEMS_ITEM_DEFINITION) | 3678 | |
| 3679 | (MENU_ITEMS_ITEM_TYPE, MENU_ITEMS_ITEM_SELECTED, MENU_ITEMS_ITEM_HELP) | 3679 | * w32menu.c (enum button_type, widget_value, local_heap, local_alloc) |
| 3680 | (MENU_ITEMS_ITEM_LENGTH, enum menu_item_idx): Remove defs. | 3680 | (local_free, malloc_widget_value, free_widget_value) |
| 3681 | (menu_items, menu_items_allocated, menu_items_used) | 3681 | (MENU_ITEMS_ITEM_NAME, MENU_ITEMS_ITEM_ENABLE, MENU_ITEMS_ITEM_VALUE) |
| 3682 | (menu_items_n_panes, menu_items_submenu_depth): Remove global vars. | 3682 | (MENU_ITEMS_ITEM_EQUIV_KEY, MENU_ITEMS_ITEM_DEFINITION) |
| 3683 | (init_menu_items, finish_menu_items, discard_menu_items) | 3683 | (MENU_ITEMS_ITEM_TYPE, MENU_ITEMS_ITEM_SELECTED, MENU_ITEMS_ITEM_HELP) |
| 3684 | (grow_menu_items, push_submenu_start, push_submenu_end) | 3684 | (MENU_ITEMS_ITEM_LENGTH, enum menu_item_idx): Remove defs. |
| 3685 | (push_left_right_boundary, push_menu_pane, push_menu_item) | 3685 | (menu_items, menu_items_allocated, menu_items_used) |
| 3686 | (keymap_panes, single_keymap_panes, list_of_panes, list_of_items) | 3686 | (menu_items_n_panes, menu_items_submenu_depth): Remove global vars. |
| 3687 | (free_menubar_widget_tree_value, parse_single_submenu) | 3687 | (init_menu_items, finish_menu_items, discard_menu_items) |
| 3688 | (update_submenu_strings): Remove functions. | 3688 | (grow_menu_items, push_submenu_start, push_submenu_end) |
| 3689 | (xmalloc_widget_value): Remove and declare extern. | 3689 | (push_left_right_boundary, push_menu_pane, push_menu_item) |
| 3690 | 3690 | (keymap_panes, single_keymap_panes, list_of_panes, list_of_items) | |
| 3691 | * makefile.w32-in ($(SRC)/menu.$(O)): New target. | 3691 | (free_menubar_widget_tree_value, parse_single_submenu) |
| 3692 | (OBJ1): Build it. | 3692 | (update_submenu_strings): Remove functions. |
| 3693 | 3693 | (xmalloc_widget_value): Remove and declare extern. | |
| 3694 | * w32gui.h (widget_value, XtPointer, Boolean, enum button_type) | 3694 | |
| 3695 | (local_heap, local_alloc, local_free, malloc_widget_value) | 3695 | * makefile.w32-in ($(SRC)/menu.$(O)): New target. |
| 3696 | (free_widget_value): Define here. | 3696 | (OBJ1): Build it. |
| 3697 | 3697 | ||
| 3698 | 2008-06-09 Kenichi Handa <handa@m17n.org> | 3698 | * w32gui.h (widget_value, XtPointer, Boolean, enum button_type) |
| 3699 | 3699 | (local_heap, local_alloc, local_free, malloc_widget_value) | |
| 3700 | * font.h (Qascii_0): Extern it. | 3700 | (free_widget_value): Define here. |
| 3701 | 3701 | ||
| 3702 | * font.c (Qascii_0): New variable. | 3702 | 2008-06-09 Kenichi Handa <handa@m17n.org> |
| 3703 | (syms_of_font): DEFSYM it. | 3703 | |
| 3704 | (font_open_by_name): If the registry "iso8859-1" fails, try also | 3704 | * font.h (Qascii_0): Extern it. |
| 3705 | "ascii-0". | 3705 | |
| 3706 | 3706 | * font.c (Qascii_0): New variable. | |
| 3707 | * ftfont.c (ftfont_spec_pattern): Accept the registry `ascii-0'. | 3707 | (syms_of_font): DEFSYM it. |
| 3708 | 3708 | (font_open_by_name): If the registry "iso8859-1" fails, try also | |
| 3709 | 2008-06-08 Kenichi Handa <handa@m17n.org> | 3709 | "ascii-0". |
| 3710 | 3710 | ||
| 3711 | * .gdbinit (xfont): New command. | 3711 | * ftfont.c (ftfont_spec_pattern): Accept the registry `ascii-0'. |
| 3712 | 3712 | ||
| 3713 | 2008-06-08 Andreas Schwab <schwab@suse.de> | 3713 | 2008-06-08 Kenichi Handa <handa@m17n.org> |
| 3714 | 3714 | ||
| 3715 | * menu.c [HAVE_X_WINDOWS]: Include "xterm.h". | 3715 | * .gdbinit (xfont): New command. |
| 3716 | * Makefile.in (menu.o): Update dependencies. | 3716 | |
| 3717 | 3717 | 2008-06-08 Andreas Schwab <schwab@suse.de> | |
| 3718 | * Makefile.in (obj): Always add menu.o. | 3718 | |
| 3719 | * emacs.c (main): Always call syms_of_menu. | 3719 | * menu.c [HAVE_X_WINDOWS]: Include "xterm.h". |
| 3720 | * keyboard.h: Remove extra #ifdef HAVE_X_WINDOW. | 3720 | * Makefile.in (menu.o): Update dependencies. |
| 3721 | 3721 | ||
| 3722 | 2008-06-08 Chong Yidong <cyd@stupidchicken.com> | 3722 | * Makefile.in (obj): Always add menu.o. |
| 3723 | 3723 | * emacs.c (main): Always call syms_of_menu. | |
| 3724 | * Makefile.in: Compile menu.c. | 3724 | * keyboard.h: Remove extra #ifdef HAVE_X_WINDOW. |
| 3725 | 3725 | ||
| 3726 | * lisp.h: Declare syms_of_menu. | 3726 | 2008-06-08 Chong Yidong <cyd@stupidchicken.com> |
| 3727 | 3727 | ||
| 3728 | * emacs.c (main): Call syms_of_menu. | 3728 | * Makefile.in: Compile menu.c. |
| 3729 | 3729 | ||
| 3730 | * keyboard.h: Relocate platform-independent menu definitions from | 3730 | * lisp.h: Declare syms_of_menu. |
| 3731 | xmenu.c. | 3731 | |
| 3732 | 3732 | * emacs.c (main): Call syms_of_menu. | |
| 3733 | * menu.c: New file. Relocate platform-independent menu | 3733 | |
| 3734 | definitions from xmenu.c. Suggested by Adrian Robert. | 3734 | * keyboard.h: Relocate platform-independent menu definitions from |
| 3735 | 3735 | xmenu.c. | |
| 3736 | * xmenu.c: Remove platform-independent menu definitions. | 3736 | |
| 3737 | (menu_items menu_items_inuse, menu_items_allocated) | 3737 | * menu.c: New file. Relocate platform-independent menu |
| 3738 | (menu_items_used, menu_items_n_panes) | 3738 | definitions from xmenu.c. Suggested by Adrian Robert. |
| 3739 | (menu_items_submenu_depth): Move to keyboard.h. | 3739 | |
| 3740 | (init_menu_items, finish_menu_items, unuse_menu_items) | 3740 | * xmenu.c: Remove platform-independent menu definitions. |
| 3741 | (discard_menu_items, restore_menu_items, save_menu_items) | 3741 | (menu_items menu_items_inuse, menu_items_allocated) |
| 3742 | (grow_menu_items, push_submenu_start, push_submenu_end) | 3742 | (menu_items_used, menu_items_n_panes) |
| 3743 | (push_left_right_boundary, push_menu_pane, push_menu_item) | 3743 | (menu_items_submenu_depth): Move to keyboard.h. |
| 3744 | (keymap_panes, single_keymap_panes, single_menu_item) | 3744 | (init_menu_items, finish_menu_items, unuse_menu_items) |
| 3745 | (list_of_panes, list_of_items, find_and_call_menu_selection) | 3745 | (discard_menu_items, restore_menu_items, save_menu_items) |
| 3746 | (xmalloc_widget_value, free_menubar_widget_value_tree) | 3746 | (grow_menu_items, push_submenu_start, push_submenu_end) |
| 3747 | (parse_single_submenu, digest_single_submenu) | 3747 | (push_left_right_boundary, push_menu_pane, push_menu_item) |
| 3748 | (update_submenu_strings): Move to menu.c. | 3748 | (keymap_panes, single_keymap_panes, single_menu_item) |
| 3749 | 3749 | (list_of_panes, list_of_items, find_and_call_menu_selection) | |
| 3750 | 2008-06-07 Stefan Monnier <monnier@iro.umontreal.ca> | 3750 | (xmalloc_widget_value, free_menubar_widget_value_tree) |
| 3751 | 3751 | (parse_single_submenu, digest_single_submenu) | |
| 3752 | * dispnew.c (Flast_nonminibuf_frame): Handle the NULL case. | 3752 | (update_submenu_strings): Move to menu.c. |
| 3753 | 3753 | ||
| 3754 | 2008-06-06 Miles Bader <miles@gnu.org> | 3754 | 2008-06-07 Stefan Monnier <monnier@iro.umontreal.ca> |
| 3755 | 3755 | ||
| 3756 | * xdisp.c (x_produce_glyphs): Calculate tab width based on current | 3756 | * dispnew.c (Flast_nonminibuf_frame): Handle the NULL case. |
| 3757 | face, not frame default. | 3757 | |
| 3758 | 3758 | 2008-06-06 Miles Bader <miles@gnu.org> | |
| 3759 | 2008-06-05 Martin Rudalics <rudalics@gmx.at> | 3759 | |
| 3760 | 3760 | * xdisp.c (x_produce_glyphs): Calculate tab width based on current | |
| 3761 | * window.c (pop_up_windows, pop_up_frames) | 3761 | face, not frame default. |
| 3762 | (display_buffer_reuse_frames, Vpop_up_frame_function) | 3762 | |
| 3763 | (Vdisplay_buffer_function, Veven_window_heights) | 3763 | 2008-06-05 Martin Rudalics <rudalics@gmx.at> |
| 3764 | (Vspecial_display_buffer_names, Vspecial_display_regexps) | 3764 | |
| 3765 | (Vspecial_display_function, Vsame_window_buffer_names) | 3765 | * window.c (pop_up_windows, pop_up_frames) |
| 3766 | (Vsame_window_regexps, split_height_threshold) | 3766 | (display_buffer_reuse_frames, Vpop_up_frame_function) |
| 3767 | (Vsplit_window_preferred_function): Move those vars to window.el. | 3767 | (Vdisplay_buffer_function, Veven_window_heights) |
| 3768 | (display_buffer_1, Fspecial_display_p, Fsame_window_p) | 3768 | (Vspecial_display_buffer_names, Vspecial_display_regexps) |
| 3769 | (Fdisplay_buffer): Move those functions to window.el. | 3769 | (Vspecial_display_function, Vsame_window_buffer_names) |
| 3770 | (syms_of_window): Remove corresponding declarations. | 3770 | (Vsame_window_regexps, split_height_threshold) |
| 3771 | (display_buffer): New function. | 3771 | (Vsplit_window_preferred_function): Move those vars to window.el. |
| 3772 | (temp_output_buffer_show, Fother_window_for_scrolling): Use it. | 3772 | (display_buffer_1, Fspecial_display_p, Fsame_window_p) |
| 3773 | * dispnew.c (Flast_nonminibuf_frame): New function. | 3773 | (Fdisplay_buffer): Move those functions to window.el. |
| 3774 | * buffer.c (Fpop_to_buffer): Move to window.el. | 3774 | (syms_of_window): Remove corresponding declarations. |
| 3775 | 3775 | (display_buffer): New function. | |
| 3776 | 2008-06-05 Stefan Monnier <monnier@iro.umontreal.ca> | 3776 | (temp_output_buffer_show, Fother_window_for_scrolling): Use it. |
| 3777 | 3777 | * dispnew.c (Flast_nonminibuf_frame): New function. | |
| 3778 | * data.c (set_internal): Fix up call to let_shadows_buffer_binding_p. | 3778 | * buffer.c (Fpop_to_buffer): Move to window.el. |
| 3779 | 3779 | ||
| 3780 | 2008-06-05 Kenichi Handa <handa@m17n.org> | 3780 | 2008-06-05 Stefan Monnier <monnier@iro.umontreal.ca> |
| 3781 | 3781 | ||
| 3782 | * coding.c (detect_coding): Fix previous change. | 3782 | * data.c (set_internal): Fix up call to let_shadows_buffer_binding_p. |
| 3783 | (detect_coding_system): Likewise. | 3783 | |
| 3784 | 3784 | 2008-06-05 Kenichi Handa <handa@m17n.org> | |
| 3785 | 2008-06-05 Stefan Monnier <monnier@iro.umontreal.ca> | 3785 | |
| 3786 | 3786 | * coding.c (detect_coding): Fix previous change. | |
| 3787 | * character.h (MAKE_CHAR_MULTIBYTE): Check the arg is a (uni)byte. | 3787 | (detect_coding_system): Likewise. |
| 3788 | 3788 | ||
| 3789 | * keymap.c (Vminibuffer_local_filename_must_match_map): | 3789 | 2008-06-05 Stefan Monnier <monnier@iro.umontreal.ca> |
| 3790 | Rename from Vminibuffer_local_must_match_filename_map. | 3790 | |
| 3791 | (syms_of_keymap): | 3791 | * character.h (MAKE_CHAR_MULTIBYTE): Check the arg is a (uni)byte. |
| 3792 | * minibuf.c (Fcompleting_read): Adjust accordingly. | 3792 | |
| 3793 | * commands.h: Rename declaration as well. | 3793 | * keymap.c (Vminibuffer_local_filename_must_match_map): |
| 3794 | 3794 | Rename from Vminibuffer_local_must_match_filename_map. | |
| 3795 | 2008-06-05 Kenichi Handa <handa@m17n.org> | 3795 | (syms_of_keymap): |
| 3796 | 3796 | * minibuf.c (Fcompleting_read): Adjust accordingly. | |
| 3797 | * font.c (Ffont_spec): Don't use font_parse_family_registry for | 3797 | * commands.h: Rename declaration as well. |
| 3798 | family name. | 3798 | |
| 3799 | (Ffont_put): Likewise. | 3799 | 2008-06-05 Kenichi Handa <handa@m17n.org> |
| 3800 | 3800 | ||
| 3801 | * fontset.c (fontset_find_font): Call font_open_for_lface with the | 3801 | * font.c (Ffont_spec): Don't use font_parse_family_registry for |
| 3802 | current font-spec. | 3802 | family name. |
| 3803 | 3803 | (Ffont_put): Likewise. | |
| 3804 | * xfont.c (xfont_list): Don't set registry to iso8859-1 even if it | 3804 | |
| 3805 | is unspecified. | 3805 | * fontset.c (fontset_find_font): Call font_open_for_lface with the |
| 3806 | 3806 | current font-spec. | |
| 3807 | * xfaces.c (realize_x_face): If the font-related face attributes | 3807 | |
| 3808 | are the same as those of default face, realize a new fontset from | 3808 | * xfont.c (xfont_list): Don't set registry to iso8859-1 even if it |
| 3809 | default->fontset. | 3809 | is unspecified. |
| 3810 | (Fx_family_fonts): Use font_parse_family_registry instead of Ffont_put. | 3810 | |
| 3811 | 3811 | * xfaces.c (realize_x_face): If the font-related face attributes | |
| 3812 | 2008-06-05 Stefan Monnier <monnier@iro.umontreal.ca> | 3812 | are the same as those of default face, realize a new fontset from |
| 3813 | 3813 | default->fontset. | |
| 3814 | * xdisp.c (move_it_in_display_line_to): Improve the type of its args. | 3814 | (Fx_family_fonts): Use font_parse_family_registry instead of Ffont_put. |
| 3815 | (move_it_in_display_line): New wrapper. | 3815 | |
| 3816 | 3816 | 2008-06-05 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 3817 | * window.c (window_scroll_pixel_based_preserve_x) | 3817 | |
| 3818 | (window_scroll_preserve_hpos, window_scroll_preserve_vpos): New vars. | 3818 | * xdisp.c (move_it_in_display_line_to): Improve the type of its args. |
| 3819 | (window_scroll_pixel_based, window_scroll_line_based): | 3819 | (move_it_in_display_line): New wrapper. |
| 3820 | Use them to preserve column positions. | 3820 | |
| 3821 | (syms_of_window): Initialize them. | 3821 | * window.c (window_scroll_pixel_based_preserve_x) |
| 3822 | 3822 | (window_scroll_preserve_hpos, window_scroll_preserve_vpos): New vars. | |
| 3823 | * indent.c (Fvertical_motion): Extend first arg to allow passing an | 3823 | (window_scroll_pixel_based, window_scroll_line_based): |
| 3824 | (HPOS . VPOS) pair. | 3824 | Use them to preserve column positions. |
| 3825 | 3825 | (syms_of_window): Initialize them. | |
| 3826 | * dispextern.h (move_it_in_display_line): Declare. | 3826 | |
| 3827 | 3827 | * indent.c (Fvertical_motion): Extend first arg to allow passing an | |
| 3828 | 2008-06-05 Juanma Barranquero <lekktu@gmail.com> | 3828 | (HPOS . VPOS) pair. |
| 3829 | 3829 | ||
| 3830 | * window.c (Fwindow_parameter): Return VALUE, not (PARAMETER . VALUE). | 3830 | * dispextern.h (move_it_in_display_line): Declare. |
| 3831 | (Fwindow_parameters): Return copy of parameter alist. Doc fix. | 3831 | |
| 3832 | (Fset_window_parameter): Return VALUE, not parameter alist. Doc fix. | 3832 | 2008-06-05 Juanma Barranquero <lekktu@gmail.com> |
| 3833 | 3833 | ||
| 3834 | 2008-06-04 Juanma Barranquero <lekktu@gmail.com> | 3834 | * window.c (Fwindow_parameter): Return VALUE, not (PARAMETER . VALUE). |
| 3835 | 3835 | (Fwindow_parameters): Return copy of parameter alist. Doc fix. | |
| 3836 | * window.c (Fset_window_parameter): Doc fix. | 3836 | (Fset_window_parameter): Return VALUE, not parameter alist. Doc fix. |
| 3837 | (Fwindow_parameters, Fwindow_parameter): Remove redundant check. | 3837 | |
| 3838 | 3838 | 2008-06-04 Juanma Barranquero <lekktu@gmail.com> | |
| 3839 | 2008-06-04 Joakim Verona <joakim@verona.se> | 3839 | |
| 3840 | 3840 | * window.c (Fset_window_parameter): Doc fix. | |
| 3841 | * window.h (struct window): Add new member window_parameters. | 3841 | (Fwindow_parameters, Fwindow_parameter): Remove redundant check. |
| 3842 | 3842 | ||
| 3843 | * window.c (Fwindow_parameters, Fwindow_parameter) | 3843 | 2008-06-04 Joakim Verona <joakim@verona.se> |
| 3844 | (Fset_window_parameter): New defuns. | 3844 | |
| 3845 | (syms_of_window): Defsubr the new defuns. | 3845 | * window.h (struct window): Add new member window_parameters. |
| 3846 | (make_window): Initialize window_parameters to nil. | 3846 | |
| 3847 | 3847 | * window.c (Fwindow_parameters, Fwindow_parameter) | |
| 3848 | 2008-06-04 John Paul Wallington <jpw@pobox.com> | 3848 | (Fset_window_parameter): New defuns. |
| 3849 | 3849 | (syms_of_window): Defsubr the new defuns. | |
| 3850 | * eval.c (Fdefmacro): Doc fix. | 3850 | (make_window): Initialize window_parameters to nil. |
| 3851 | 3851 | ||
| 3852 | 2008-06-04 Kenichi Handa <handa@m17n.org> | 3852 | 2008-06-04 John Paul Wallington <jpw@pobox.com> |
| 3853 | 3853 | ||
| 3854 | * coding.c (detect_coding): Fix handling of coding->head_ascii. | 3854 | * eval.c (Fdefmacro): Doc fix. |
| 3855 | Be sure to call setup_coding_system when we find a proper coding system. | 3855 | |
| 3856 | (detect_coding_system): Fix handling of coding->head_ascii. | 3856 | 2008-06-04 Kenichi Handa <handa@m17n.org> |
| 3857 | 3857 | ||
| 3858 | 2008-06-03 Andreas Schwab <schwab@suse.de> | 3858 | * coding.c (detect_coding): Fix handling of coding->head_ascii. |
| 3859 | 3859 | Be sure to call setup_coding_system when we find a proper coding system. | |
| 3860 | * font.c (font_prop_validate_spacing): Fix last change. | 3860 | (detect_coding_system): Fix handling of coding->head_ascii. |
| 3861 | 3861 | ||
| 3862 | 2008-06-03 Kenichi Handa <handa@m17n.org> | 3862 | 2008-06-03 Andreas Schwab <schwab@suse.de> |
| 3863 | 3863 | ||
| 3864 | * font.c (font_prop_validate_spacing): Handle uppercase symbols. | 3864 | * font.c (font_prop_validate_spacing): Fix last change. |
| 3865 | (font_parse_fcname): Fix handling of unknown key. | 3865 | |
| 3866 | 3866 | 2008-06-03 Kenichi Handa <handa@m17n.org> | |
| 3867 | * xfont.c (xfont_list): Try an alias. | 3867 | |
| 3868 | 3868 | * font.c (font_prop_validate_spacing): Handle uppercase symbols. | |
| 3869 | * charset.c (char_charset): Return NULL if the arg charset_list is | 3869 | (font_parse_fcname): Fix handling of unknown key. |
| 3870 | specified and C doesn't belong to any of them. | 3870 | |
| 3871 | 3871 | * xfont.c (xfont_list): Try an alias. | |
| 3872 | 2008-06-02 Chip Coldwell <coldwell@redhat.com> | 3872 | |
| 3873 | 3873 | * charset.c (char_charset): Return NULL if the arg charset_list is | |
| 3874 | * font.c (font_pixel_size): Don't take cdr of an integer. | 3874 | specified and C doesn't belong to any of them. |
| 3875 | 3875 | ||
| 3876 | 2008-06-02 Jim Meyering <meyering@redhat.com> | 3876 | 2008-06-02 Chip Coldwell <coldwell@redhat.com> |
| 3877 | 3877 | ||
| 3878 | Make "xfree (NULL)" a no-op; remove useless if-before-xfree. | 3878 | * font.c (font_pixel_size): Don't take cdr of an integer. |
| 3879 | * alloc.c (xfree): Return right away for a NULL arg. | 3879 | |
| 3880 | * lread.c (nosuffix): Remove now-useless if-before-xfree tests. | 3880 | 2008-06-02 Jim Meyering <meyering@redhat.com> |
| 3881 | * gtkutil.c (xg_gtk_scroll_destroy): Likewise. | 3881 | |
| 3882 | * mac.c (create_apple_event_from_event_ref): Likewise. | 3882 | Make "xfree (NULL)" a no-op; remove useless if-before-xfree. |
| 3883 | (create_apple_event_from_drag_ref, cfstring_create_normalized): | 3883 | * alloc.c (xfree): Return right away for a NULL arg. |
| 3884 | Likewise. | 3884 | * lread.c (nosuffix): Remove now-useless if-before-xfree tests. |
| 3885 | * doprnt.c (doprnt1): Likewise. | 3885 | * gtkutil.c (xg_gtk_scroll_destroy): Likewise. |
| 3886 | * frame.c (frame): Likewise. | 3886 | * mac.c (create_apple_event_from_event_ref): Likewise. |
| 3887 | * keyboard.c (wipe_kboard): Likewise. | 3887 | (create_apple_event_from_drag_ref, cfstring_create_normalized): |
| 3888 | * macterm.c (x_free_frame_resources, xlfdpat_destroy, XFreePixmap) | 3888 | Likewise. |
| 3889 | (init_font_name_table, mac_unload_font, x_delete_display): Likewise. | 3889 | * doprnt.c (doprnt1): Likewise. |
| 3890 | * term.c (tty_default_color_capabilities, maybe_fatal) | 3890 | * frame.c (frame): Likewise. |
| 3891 | (delete_tty): Likewise. | 3891 | * keyboard.c (wipe_kboard): Likewise. |
| 3892 | * w16select.c (string): Likewise. | 3892 | * macterm.c (x_free_frame_resources, xlfdpat_destroy, XFreePixmap) |
| 3893 | * w32.c (w32_get_resource, SET_ENV_BUF_SIZE): Likewise. | 3893 | (init_font_name_table, mac_unload_font, x_delete_display): Likewise. |
| 3894 | * w32bdf.c (w32_free_bdf_font): Likewise. | 3894 | * term.c (tty_default_color_capabilities, maybe_fatal) |
| 3895 | * w32fns.c (w32_unload_font): Likewise. | 3895 | (delete_tty): Likewise. |
| 3896 | * w32font.c (w32font_close): Likewise. | 3896 | * w16select.c (string): Likewise. |
| 3897 | * window.c (size_window): Likewise. | 3897 | * w32.c (w32_get_resource, SET_ENV_BUF_SIZE): Likewise. |
| 3898 | * xselect.c (receive_incremental_selection): Likewise. | 3898 | * w32bdf.c (w32_free_bdf_font): Likewise. |
| 3899 | * xterm.c (x_free_frame_resources, x_delete_display): Likewise. | 3899 | * w32fns.c (w32_unload_font): Likewise. |
| 3900 | * mactoolbox.c (create_apple_event_from_drag_ref): Likewise. | 3900 | * w32font.c (w32font_close): Likewise. |
| 3901 | * w32.c (stat): Likewise. | 3901 | * window.c (size_window): Likewise. |
| 3902 | 3902 | * xselect.c (receive_incremental_selection): Likewise. | |
| 3903 | Remove useless if-before-free tests. | 3903 | * xterm.c (x_free_frame_resources, x_delete_display): Likewise. |
| 3904 | * editfns.c (Fset_time_zone_rule): Likewise. | 3904 | * mactoolbox.c (create_apple_event_from_drag_ref): Likewise. |
| 3905 | * lread.c (nosuffix): Likewise. | 3905 | * w32.c (stat): Likewise. |
| 3906 | * ralloc.c (get_bloc): Likewise. | 3906 | |
| 3907 | * regex.c (reg_free): Likewise. | 3907 | Remove useless if-before-free tests. |
| 3908 | * xftfont.c (xftfont_open, xftfont_close): Likewise. | 3908 | * editfns.c (Fset_time_zone_rule): Likewise. |
| 3909 | * xrdb.c (get_user_app, get_environ_db, x_load_resources): Likewise. | 3909 | * lread.c (nosuffix): Likewise. |
| 3910 | * xsmfns.c (smc_save_yourself_CB): Likewise. | 3910 | * ralloc.c (get_bloc): Likewise. |
| 3911 | 3911 | * regex.c (reg_free): Likewise. | |
| 3912 | 2008-06-02 Kenichi Handa <handa@m17n.org> | 3912 | * xftfont.c (xftfont_open, xftfont_close): Likewise. |
| 3913 | 3913 | * xrdb.c (get_user_app, get_environ_db, x_load_resources): Likewise. | |
| 3914 | * font.c (font_find_for_lface): Handle float font size. | 3914 | * xsmfns.c (smc_save_yourself_CB): Likewise. |
| 3915 | (font_open_for_lface): Likewise. | 3915 | |
| 3916 | 3916 | 2008-06-02 Kenichi Handa <handa@m17n.org> | |
| 3917 | * xfaces.c (x_supports_face_attributes_p): Check face->font before | 3917 | |
| 3918 | comparing the properties. | 3918 | * font.c (font_find_for_lface): Handle float font size. |
| 3919 | 3919 | (font_open_for_lface): Likewise. | |
| 3920 | 2008-06-01 Jason Rumney <jasonr@gnu.org> | 3920 | |
| 3921 | 3921 | * xfaces.c (x_supports_face_attributes_p): Check face->font before | |
| 3922 | * w32font.c (w32_enumfont_pattern_entity): Use requested registry. | 3922 | comparing the properties. |
| 3923 | Treat iso10646-1 and Windows DEFAULT_CHARSET specially. | 3923 | |
| 3924 | Duplicate iso8859-1 fonts as iso10646-1 if no registry specified. | 3924 | 2008-06-01 Jason Rumney <jasonr@gnu.org> |
| 3925 | Don't add empty script list. | 3925 | |
| 3926 | (w32_registry): Only map DEFAULT_CHARSET to iso10646-1 here. | 3926 | * w32font.c (w32_enumfont_pattern_entity): Use requested registry. |
| 3927 | 3927 | Treat iso10646-1 and Windows DEFAULT_CHARSET specially. | |
| 3928 | 2008-06-01 Dan Nicolaescu <dann@ics.uci.edu> | 3928 | Duplicate iso8859-1 fonts as iso10646-1 if no registry specified. |
| 3929 | 3929 | Don't add empty script list. | |
| 3930 | * Makefile.in (dot, dotdot): Remove, update users. | 3930 | (w32_registry): Only map DEFAULT_CHARSET to iso10646-1 here. |
| 3931 | ".." has been used elsewhere in the file for a long time. | 3931 | |
| 3932 | (LIBXT_STATIC): Remove conditional based on unused variable. | 3932 | 2008-06-01 Dan Nicolaescu <dann@ics.uci.edu> |
| 3933 | 3933 | ||
| 3934 | 2008-06-01 Miles Bader <miles@gnu.org> | 3934 | * Makefile.in (dot, dotdot): Remove, update users. |
| 3935 | 3935 | ".." has been used elsewhere in the file for a long time. | |
| 3936 | * xfaces.c (Vface_remapping_alist): New variable. | 3936 | (LIBXT_STATIC): Remove conditional based on unused variable. |
| 3937 | (syms_of_xfaces): Initialize it. | 3937 | |
| 3938 | (enum named_merge_point_kind): New type. | 3938 | 2008-06-01 Miles Bader <miles@gnu.org> |
| 3939 | (struct named_merge_point): Add `named_merge_point_kind' field. | 3939 | |
| 3940 | (push_named_merge_point): Make cycle detection respect different | 3940 | * xfaces.c (Vface_remapping_alist): New variable. |
| 3941 | named-merge-point kinds. | 3941 | (syms_of_xfaces): Initialize it. |
| 3942 | (lface_from_face_name_no_resolve): Rename from `lface_from_face_name'. | 3942 | (enum named_merge_point_kind): New type. |
| 3943 | Remove face-name alias resolution. | 3943 | (struct named_merge_point): Add `named_merge_point_kind' field. |
| 3944 | (lface_from_face_name): New definition using | 3944 | (push_named_merge_point): Make cycle detection respect different |
| 3945 | `lface_from_face_name_no_resolve'. | 3945 | named-merge-point kinds. |
| 3946 | (get_lface_attributes_no_remap): Rename from `get_lface_attributes'. | 3946 | (lface_from_face_name_no_resolve): Rename from `lface_from_face_name'. |
| 3947 | Call lface_from_face_name_no_resolve instead of lface_from_face_name. | 3947 | Remove face-name alias resolution. |
| 3948 | (get_lface_attributes): New definition that layers face-remapping on | 3948 | (lface_from_face_name): New definition using |
| 3949 | top of get_lface_attributes_no_remap. New arg `named_merge_points'. | 3949 | `lface_from_face_name_no_resolve'. |
| 3950 | (lookup_basic_face): New function. | 3950 | (get_lface_attributes_no_remap): Rename from `get_lface_attributes'. |
| 3951 | (lookup_derived_face): Pass new last arg to `get_lface_attributes'. | 3951 | Call lface_from_face_name_no_resolve instead of lface_from_face_name. |
| 3952 | (realize_named_face): Call `get_lface_attributes_no_remap' instead of | 3952 | (get_lface_attributes): New definition that layers face-remapping on |
| 3953 | `get_lface_attributes'. | 3953 | top of get_lface_attributes_no_remap. New arg `named_merge_points'. |
| 3954 | (face_at_buffer_position): Use `lookup_basic_face' to lookup | 3954 | (lookup_basic_face): New function. |
| 3955 | DEFAULT_FACE_ID if necessary. When optimizing the default-face case, | 3955 | (lookup_derived_face): Pass new last arg to `get_lface_attributes'. |
| 3956 | return default_face's face-id instead of the constant DEFAULT_FACE_ID. | 3956 | (realize_named_face): Call `get_lface_attributes_no_remap' instead of |
| 3957 | 3957 | `get_lface_attributes'. | |
| 3958 | * xdisp.c (init_iterator): Pass base_face_id through | 3958 | (face_at_buffer_position): Use `lookup_basic_face' to lookup |
| 3959 | `lookup_basic_face' when we actually use it as a face-id. | 3959 | DEFAULT_FACE_ID if necessary. When optimizing the default-face case, |
| 3960 | (handle_single_display_prop): Use `lookup_basic_face' to lookup | 3960 | return default_face's face-id instead of the constant DEFAULT_FACE_ID. |
| 3961 | DEFAULT_FACE_ID. | 3961 | |
| 3962 | 3962 | * xdisp.c (init_iterator): Pass base_face_id through | |
| 3963 | * fontset.c (Finternal_char_font): Use `lookup_basic_face' to | 3963 | `lookup_basic_face' when we actually use it as a face-id. |
| 3964 | lookup the initial face-id. | 3964 | (handle_single_display_prop): Use `lookup_basic_face' to lookup |
| 3965 | 3965 | DEFAULT_FACE_ID. | |
| 3966 | * dispextern.h (lookup_basic_face, Vface_remapping_alist): New decls. | 3966 | |
| 3967 | 3967 | * fontset.c (Finternal_char_font): Use `lookup_basic_face' to | |
| 3968 | 2008-06-01 Juanma Barranquero <lekktu@gmail.com> | 3968 | lookup the initial face-id. |
| 3969 | 3969 | ||
| 3970 | * textprop.c (syms_of_textprop) <text-property-default-nonsticky>: | 3970 | * dispextern.h (lookup_basic_face, Vface_remapping_alist): New decls. |
| 3971 | (Fremove_text_properties): Fix typos in docstrings. | 3971 | |
| 3972 | 3972 | 2008-06-01 Juanma Barranquero <lekktu@gmail.com> | |
| 3973 | 2008-05-31 Kenichi Handa <handa@m17n.org> | 3973 | |
| 3974 | 3974 | * textprop.c (syms_of_textprop) <text-property-default-nonsticky>: | |
| 3975 | * font.c (font_list_entities): Fix the car part of data to be | 3975 | (Fremove_text_properties): Fix typos in docstrings. |
| 3976 | stored in the cache. | 3976 | |
| 3977 | 3977 | 2008-05-31 Kenichi Handa <handa@m17n.org> | |
| 3978 | * ftfont.c (ftfont_font_format): Don't use strcasestr. | 3978 | |
| 3979 | 3979 | * font.c (font_list_entities): Fix the car part of data to be | |
| 3980 | 2008-05-30 Stefan Monnier <monnier@iro.umontreal.ca> | 3980 | stored in the cache. |
| 3981 | 3981 | ||
| 3982 | * chartab.c (Foptimize_char_table, optimize_sub_char_table): | 3982 | * ftfont.c (ftfont_font_format): Don't use strcasestr. |
| 3983 | Add a `test' argument so another predicate than `equal' can be used. | 3983 | |
| 3984 | (map_sub_char_table): Use `eq' rather than `equal' to merge ranges. | 3984 | 2008-05-30 Stefan Monnier <monnier@iro.umontreal.ca> |
| 3985 | (map_char_table): Remove unused vars `c' and `i'. | 3985 | |
| 3986 | * lisp.h (Foptimize_char_table): Adjust declaration. | 3986 | * chartab.c (Foptimize_char_table, optimize_sub_char_table): |
| 3987 | * charset.c (Fclear_charset_maps): Adjust call to Foptimize_char_table. | 3987 | Add a `test' argument so another predicate than `equal' can be used. |
| 3988 | 3988 | (map_sub_char_table): Use `eq' rather than `equal' to merge ranges. | |
| 3989 | 2008-05-30 Kenichi Handa <handa@m17n.org> | 3989 | (map_char_table): Remove unused vars `c' and `i'. |
| 3990 | 3990 | * lisp.h (Foptimize_char_table): Adjust declaration. | |
| 3991 | * font.c (Ffont_info): Define only if HAVE_WINDOW_SYSTEM is defined. | 3991 | * charset.c (Fclear_charset_maps): Adjust call to Foptimize_char_table. |
| 3992 | (syms_of_font): Defsubr Sfont_info only if HAVE_WINDOW_SYSTEM is | 3992 | |
| 3993 | defined. | 3993 | 2008-05-30 Kenichi Handa <handa@m17n.org> |
| 3994 | 3994 | ||
| 3995 | 2008-05-30 Stefan Monnier <monnier@iro.umontreal.ca> | 3995 | * font.c (Ffont_info): Define only if HAVE_WINDOW_SYSTEM is defined. |
| 3996 | 3996 | (syms_of_font): Defsubr Sfont_info only if HAVE_WINDOW_SYSTEM is | |
| 3997 | * data.c (Fmake_variable_buffer_local, Fmake_local_variable) | 3997 | defined. |
| 3998 | (Fmake_variable_frame_local): Disallow mixing buffer-local and | 3998 | |
| 3999 | frame-local settings for the same variable. | 3999 | 2008-05-30 Stefan Monnier <monnier@iro.umontreal.ca> |
| 4000 | 4000 | ||
| 4001 | 2008-05-30 Kenichi Handa <handa@m17n.org> | 4001 | * data.c (Fmake_variable_buffer_local, Fmake_local_variable) |
| 4002 | 4002 | (Fmake_variable_frame_local): Disallow mixing buffer-local and | |
| 4003 | * fontset.c (Ffont_info): Move to font.c. | 4003 | frame-local settings for the same variable. |
| 4004 | (syms_of_fontset): Delete defsubr of Sfont_info. | 4004 | |
| 4005 | 4005 | 2008-05-30 Kenichi Handa <handa@m17n.org> | |
| 4006 | * font.c (font_style_to_value, font_score): Delete casting of the | 4006 | |
| 4007 | args to xstcasecmp. | 4007 | * fontset.c (Ffont_info): Move to font.c. |
| 4008 | (register_font_driver): Increment num_font_drivers only when | 4008 | (syms_of_fontset): Delete defsubr of Sfont_info. |
| 4009 | registering the driver globally. | 4009 | |
| 4010 | (Ffont_info): Move from fontset.c. Handle a font object too. | 4010 | * font.c (font_style_to_value, font_score): Delete casting of the |
| 4011 | (syms_of_font): Defsubr Sfont_info. | 4011 | args to xstcasecmp. |
| 4012 | 4012 | (register_font_driver): Increment num_font_drivers only when | |
| 4013 | 2008-05-29 Kenichi Handa <handa@m17n.org> | 4013 | registering the driver globally. |
| 4014 | 4014 | (Ffont_info): Move from fontset.c. Handle a font object too. | |
| 4015 | * coding.h (enum define_coding_utf8_arg_index): New enum. | 4015 | (syms_of_font): Defsubr Sfont_info. |
| 4016 | (enum coding_attr_index): Change coding_attr_utf_16_bom to | 4016 | |
| 4017 | coding_attr_utf_bom. | 4017 | 2008-05-29 Kenichi Handa <handa@m17n.org> |
| 4018 | (enum utf_bom_type): Rename from utf_16_bom_type. | 4018 | |
| 4019 | (struct utf_16_spec): Adjust for the above change. | 4019 | * coding.h (enum define_coding_utf8_arg_index): New enum. |
| 4020 | (struct coding_system): Add utf_8_bom in `spec' union. | 4020 | (enum coding_attr_index): Change coding_attr_utf_16_bom to |
| 4021 | 4021 | coding_attr_utf_bom. | |
| 4022 | * coding.c (CODING_UTF_8_BOM): New macro. | 4022 | (enum utf_bom_type): Rename from utf_16_bom_type. |
| 4023 | (enum coding_category): Delete coding_category_utf_8, add | 4023 | (struct utf_16_spec): Adjust for the above change. |
| 4024 | coding_category_utf_8_auto, coding_category_utf_8_nosig, and | 4024 | (struct coding_system): Add utf_8_bom in `spec' union. |
| 4025 | coding_category_utf_8_sig. | 4025 | |
| 4026 | (CATEGORY_MASK_UTF_8): Delete it. | 4026 | * coding.c (CODING_UTF_8_BOM): New macro. |
| 4027 | (CATEGORY_MASK_UTF_8_AUTO, CATEGORY_MASK_UTF_8_NOSIG) | 4027 | (enum coding_category): Delete coding_category_utf_8, add |
| 4028 | (CATEGORY_MASK_UTF_8_SIG): New macros. | 4028 | coding_category_utf_8_auto, coding_category_utf_8_nosig, and |
| 4029 | (CATEGORY_MASK_ANY): Delete CATEGORY_MASK_UTF_8, add | 4029 | coding_category_utf_8_sig. |
| 4030 | CATEGORY_MASK_UTF_8_AUTO, CATEGORY_MASK_UTF_8_NOSIG, and | 4030 | (CATEGORY_MASK_UTF_8): Delete it. |
| 4031 | CATEGORY_MASK_UTF_8_SIG. | 4031 | (CATEGORY_MASK_UTF_8_AUTO, CATEGORY_MASK_UTF_8_NOSIG) |
| 4032 | (CATEGORY_MASK_UTF_8): New macro. | 4032 | (CATEGORY_MASK_UTF_8_SIG): New macros. |
| 4033 | (UTF_BOM, UTF_8_BOM_1, UTF_8_BOM_2, UTF_8_BOM_3): New macros. | 4033 | (CATEGORY_MASK_ANY): Delete CATEGORY_MASK_UTF_8, add |
| 4034 | (detect_coding_utf_8): Check BOM. | 4034 | CATEGORY_MASK_UTF_8_AUTO, CATEGORY_MASK_UTF_8_NOSIG, and |
| 4035 | (decode_coding_utf_8, encode_coding_utf_8): Handle BOM. | 4035 | CATEGORY_MASK_UTF_8_SIG. |
| 4036 | (decode_coding_utf_16): Adjust for the change of enum utf_bom_type. | 4036 | (CATEGORY_MASK_UTF_8): New macro. |
| 4037 | (encode_coding_utf_16): Likewise. | 4037 | (UTF_BOM, UTF_8_BOM_1, UTF_8_BOM_2, UTF_8_BOM_3): New macros. |
| 4038 | (setup_coding_system): Likewise. Set CODING_UTF_8_BOM (coding). | 4038 | (detect_coding_utf_8): Check BOM. |
| 4039 | (detect_coding, detect_coding_system): Handle utf-8-auto. | 4039 | (decode_coding_utf_8, encode_coding_utf_8): Handle BOM. |
| 4040 | (Fdefine_coding_system_internal): Handle `bom' property for utf-8. | 4040 | (decode_coding_utf_16): Adjust for the change of enum utf_bom_type. |
| 4041 | (syms_of_coding): Fix setting up of Vcoding_category_table. | 4041 | (encode_coding_utf_16): Likewise. |
| 4042 | 4042 | (setup_coding_system): Likewise. Set CODING_UTF_8_BOM (coding). | |
| 4043 | 2008-05-29 Stefan Monnier <monnier@iro.umontreal.ca> | 4043 | (detect_coding, detect_coding_system): Handle utf-8-auto. |
| 4044 | 4044 | (Fdefine_coding_system_internal): Handle `bom' property for utf-8. | |
| 4045 | * process.c (Faccept_process_output): If `millisec' is non-nil, | 4045 | (syms_of_coding): Fix setting up of Vcoding_category_table. |
| 4046 | `seconds' default to 0. | 4046 | |
| 4047 | (wait_reading_process_output): Also return non-nil if we read output | 4047 | 2008-05-29 Stefan Monnier <monnier@iro.umontreal.ca> |
| 4048 | from a non-running process. | 4048 | |
| 4049 | 4049 | * process.c (Faccept_process_output): If `millisec' is non-nil, | |
| 4050 | 2008-05-29 Jason Rumney <jasonr@gnu.org> | 4050 | `seconds' default to 0. |
| 4051 | 4051 | (wait_reading_process_output): Also return non-nil if we read output | |
| 4052 | * w32font.c (w32font_open_internal): Prefer truetype fonts unless | 4052 | from a non-running process. |
| 4053 | `raster' specified. | 4053 | |
| 4054 | (add_font_entity_to_list): Allow non-opentype truetype fonts back | 4054 | 2008-05-29 Jason Rumney <jasonr@gnu.org> |
| 4055 | in the uniscribe backend, but disallow any font that has no | 4055 | |
| 4056 | unicode subrange support. | 4056 | * w32font.c (w32font_open_internal): Prefer truetype fonts unless |
| 4057 | 4057 | `raster' specified. | |
| 4058 | 2008-05-29 Juanma Barranquero <lekktu@gmail.com> | 4058 | (add_font_entity_to_list): Allow non-opentype truetype fonts back |
| 4059 | 4059 | in the uniscribe backend, but disallow any font that has no | |
| 4060 | * xfaces.c (Fx_list_fonts, Finternal_copy_lisp_face): | 4060 | unicode subrange support. |
| 4061 | Fix typos in docstrings. | 4061 | |
| 4062 | 4062 | 2008-05-29 Juanma Barranquero <lekktu@gmail.com> | |
| 4063 | 2008-05-29 Kenichi Handa <handa@m17n.org> | 4063 | |
| 4064 | 4064 | * xfaces.c (Fx_list_fonts, Finternal_copy_lisp_face): | |
| 4065 | * xfaces.c (Fx_list_fonts): Make it return a list of font names. | 4065 | Fix typos in docstrings. |
| 4066 | (Fx_family_fonts): Set frame correctly. | 4066 | |
| 4067 | 4067 | 2008-05-29 Kenichi Handa <handa@m17n.org> | |
| 4068 | 2008-05-28 Jason Rumney <jasonr@gnu.org> | 4068 | |
| 4069 | 4069 | * xfaces.c (Fx_list_fonts): Make it return a list of font names. | |
| 4070 | * w32term.c (x_draw_glyph_string): Use clipmask if specified. | 4070 | (Fx_family_fonts): Set frame correctly. |
| 4071 | 4071 | ||
| 4072 | 2008-05-28 Stefan Monnier <monnier@iro.umontreal.ca> | 4072 | 2008-05-28 Jason Rumney <jasonr@gnu.org> |
| 4073 | 4073 | ||
| 4074 | * fileio.c (Fwrite_region): Delay the defaulting to beg&z to after | 4074 | * w32term.c (x_draw_glyph_string): Use clipmask if specified. |
| 4075 | calling build_annotations. | 4075 | |
| 4076 | 4076 | 2008-05-28 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 4077 | 2008-05-28 Juanma Barranquero <lekktu@gmail.com> | 4077 | |
| 4078 | 4078 | * fileio.c (Fwrite_region): Delay the defaulting to beg&z to after | |
| 4079 | * coding.c (Fdecode_coding_region, Fencode_coding_region) | 4079 | calling build_annotations. |
| 4080 | (Fencode_coding_string): | 4080 | |
| 4081 | (syms_of_coding) <coding-system-for-read, coding-system-for-write>: | 4081 | 2008-05-28 Juanma Barranquero <lekktu@gmail.com> |
| 4082 | <latin-extra-code-table>: Fix typos in docstrings. | 4082 | |
| 4083 | (syms_of_coding) <coding-system-alist>: Doc fix. | 4083 | * coding.c (Fdecode_coding_region, Fencode_coding_region) |
| 4084 | (syms_of_coding) <translation-table-for-input>: Reflow docstring. | 4084 | (Fencode_coding_string): |
| 4085 | 4085 | (syms_of_coding) <coding-system-for-read, coding-system-for-write>: | |
| 4086 | 2008-05-28 Kenichi Handa <handa@m17n.org> | 4086 | <latin-extra-code-table>: Fix typos in docstrings. |
| 4087 | 4087 | (syms_of_coding) <coding-system-alist>: Doc fix. | |
| 4088 | * fontset.c (Ffont_info): Don't call font_close_object. | 4088 | (syms_of_coding) <translation-table-for-input>: Reflow docstring. |
| 4089 | 4089 | ||
| 4090 | * font.c (font_parse_family_registry): Use Ffont_put to validate | 4090 | 2008-05-28 Kenichi Handa <handa@m17n.org> |
| 4091 | foundry and family. | 4091 | |
| 4092 | (font_delete_unmatched): Don't check spacing. | 4092 | * fontset.c (Ffont_info): Don't call font_close_object. |
| 4093 | (font_list_entities): Add spacing to the spec to list fonts. | 4093 | |
| 4094 | 4094 | * font.c (font_parse_family_registry): Use Ffont_put to validate | |
| 4095 | * ftfont.c (ftfont_spec_pattern): Don't set FC_SPACING to pattern. | 4095 | foundry and family. |
| 4096 | (ftfont_list): Check spacing here. Don't include FC_CHARSET in objset. | 4096 | (font_delete_unmatched): Don't check spacing. |
| 4097 | 4097 | (font_list_entities): Add spacing to the spec to list fonts. | |
| 4098 | * coding.c (encode_coding_raw_text): Fix previous change. | 4098 | |
| 4099 | (encode_coding_object): When the dst_object is a buffer and is | 4099 | * ftfont.c (ftfont_spec_pattern): Don't set FC_SPACING to pattern. |
| 4100 | different from src_object, move gap to PT. | 4100 | (ftfont_list): Check spacing here. Don't include FC_CHARSET in objset. |
| 4101 | 4101 | ||
| 4102 | 2008-05-27 Chong Yidong <cyd@stupidchicken.com> | 4102 | * coding.c (encode_coding_raw_text): Fix previous change. |
| 4103 | 4103 | (encode_coding_object): When the dst_object is a buffer and is | |
| 4104 | * xterm.c (x_draw_glyph_string): If a clipmask is specified, use it. | 4104 | different from src_object, move gap to PT. |
| 4105 | 4105 | ||
| 4106 | 2008-05-27 Stefan Monnier <monnier@iro.umontreal.ca> | 4106 | 2008-05-27 Chong Yidong <cyd@stupidchicken.com> |
| 4107 | 4107 | ||
| 4108 | * coding.c (encode_coding_raw_text): Set coding->produced_char for | 4108 | * xterm.c (x_draw_glyph_string): If a clipmask is specified, use it. |
| 4109 | all branches. Compute it differently. | 4109 | |
| 4110 | 4110 | 2008-05-27 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 4111 | * xdisp.c [!HAVE_WINDOW_SYSTEM]: Include font.h for --without-x. | 4111 | |
| 4112 | 4112 | * coding.c (encode_coding_raw_text): Set coding->produced_char for | |
| 4113 | 2008-05-27 Juanma Barranquero <lekktu@gmail.com> | 4113 | all branches. Compute it differently. |
| 4114 | 4114 | ||
| 4115 | * w32font.c (compute_metrics): Rewrite an "else { if () ... else ... }" | 4115 | * xdisp.c [!HAVE_WINDOW_SYSTEM]: Include font.h for --without-x. |
| 4116 | into "else if () ... else ...". | 4116 | |
| 4117 | 4117 | 2008-05-27 Juanma Barranquero <lekktu@gmail.com> | |
| 4118 | 2008-05-27 Jason Rumney <jasonr@gnu.org> | 4118 | |
| 4119 | 4119 | * w32font.c (compute_metrics): Rewrite an "else { if () ... else ... }" | |
| 4120 | * w32font.c (w32font_open_internal): Determine if glyph indices | 4120 | into "else if () ... else ...". |
| 4121 | are likely to work here. | 4121 | |
| 4122 | 4122 | 2008-05-27 Jason Rumney <jasonr@gnu.org> | |
| 4123 | 2008-05-27 Chong Yidong <cyd@stupidchicken.com> | 4123 | |
| 4124 | 4124 | * w32font.c (w32font_open_internal): Determine if glyph indices | |
| 4125 | * xdisp.c (draw_glyphs): If mouse-highlighting is on, attempt to | 4125 | are likely to work here. |
| 4126 | draw overlap glyphs with appropriate highlighting. | 4126 | |
| 4127 | 4127 | 2008-05-27 Chong Yidong <cyd@stupidchicken.com> | |
| 4128 | 2008-05-27 Kenichi Handa <handa@m17n.org> | 4128 | |
| 4129 | 4129 | * xdisp.c (draw_glyphs): If mouse-highlighting is on, attempt to | |
| 4130 | * xfont.c (xfont_open): Fix calculation of font->average_width. | 4130 | draw overlap glyphs with appropriate highlighting. |
| 4131 | 4131 | ||
| 4132 | 2008-05-27 Stefan Monnier <monnier@iro.umontreal.ca> | 4132 | 2008-05-27 Kenichi Handa <handa@m17n.org> |
| 4133 | 4133 | ||
| 4134 | * casefiddle.c (casify_object): Try to guess better whether the | 4134 | * xfont.c (xfont_open): Fix calculation of font->average_width. |
| 4135 | argument is a byte or a char. | 4135 | |
| 4136 | 4136 | 2008-05-27 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 4137 | 2008-05-26 Andreas Schwab <schwab@suse.de> | 4137 | |
| 4138 | 4138 | * casefiddle.c (casify_object): Try to guess better whether the | |
| 4139 | * xselect.c (x_reply_selection_request): Properly handle format == 32. | 4139 | argument is a byte or a char. |
| 4140 | Always send multiples of format size. | 4140 | |
| 4141 | 4141 | 2008-05-26 Andreas Schwab <schwab@suse.de> | |
| 4142 | * xterm.c (x_set_frame_alpha): Fix type mismatch. | 4142 | |
| 4143 | 4143 | * xselect.c (x_reply_selection_request): Properly handle format == 32. | |
| 4144 | 2008-05-26 Jason Rumney <jasonr@gnu.org> | 4144 | Always send multiples of format size. |
| 4145 | 4145 | ||
| 4146 | * w32font.c (w32font_text_extents): Zero whole metrics struct first. | 4146 | * xterm.c (x_set_frame_alpha): Fix type mismatch. |
| 4147 | (compute_metrics): Don't set failure if we just cleared the cache. | 4147 | |
| 4148 | (w32_weight_table): Remove unused variable. | 4148 | 2008-05-26 Jason Rumney <jasonr@gnu.org> |
| 4149 | (w32_enumfont_pattern_entity): Use FONT_SPACING_CHARCELL for | 4149 | |
| 4150 | backwards compatibility. | 4150 | * w32font.c (w32font_text_extents): Zero whole metrics struct first. |
| 4151 | 4151 | (compute_metrics): Don't set failure if we just cleared the cache. | |
| 4152 | 2008-05-25 Kenichi Handa <handa@m17n.org> | 4152 | (w32_weight_table): Remove unused variable. |
| 4153 | 4153 | (w32_enumfont_pattern_entity): Use FONT_SPACING_CHARCELL for | |
| 4154 | * w32term.c (x_draw_glyph_string): | 4154 | backwards compatibility. |
| 4155 | * xterm.c (x_draw_glyph_string): Fix calculation of underline position. | 4155 | |
| 4156 | 4156 | 2008-05-25 Kenichi Handa <handa@m17n.org> | |
| 4157 | * xfaces.c: Delete unused function prototypes. | 4157 | |
| 4158 | (xstrlwr, font_frame): Delete them. | 4158 | * w32term.c (x_draw_glyph_string): |
| 4159 | (clear_face_cache): Delete unused variable. | 4159 | * xterm.c (x_draw_glyph_string): Fix calculation of underline position. |
| 4160 | 4160 | ||
| 4161 | * xftfont.c (xftfont_open): Delete unused variable. | 4161 | * xfaces.c: Delete unused function prototypes. |
| 4162 | If underline_thickness is not 1, adjust underline_position. | 4162 | (xstrlwr, font_frame): Delete them. |
| 4163 | 4163 | (clear_face_cache): Delete unused variable. | |
| 4164 | * ftxfont.c (ftxfont_open): Delete unused variable. | 4164 | |
| 4165 | 4165 | * xftfont.c (xftfont_open): Delete unused variable. | |
| 4166 | * fontset.c (face_for_char): Optimize for the case of no charset | 4166 | If underline_thickness is not 1, adjust underline_position. |
| 4167 | property. | 4167 | |
| 4168 | 4168 | * ftxfont.c (ftxfont_open): Delete unused variable. | |
| 4169 | * font.c (LGSTRING_HEADER_SIZE, LGSTRING_GLYPH_SIZE) | 4169 | |
| 4170 | (check_gstring, check_otf_features, otf_list, otf_tag_symbol) | 4170 | * fontset.c (face_for_char): Optimize for the case of no charset |
| 4171 | (otf_open, font_otf_capability, generate_otf_features) | 4171 | property. |
| 4172 | (font_otf_DeviceTable, font_otf_ValueRecord, font_otf_Anchor): | 4172 | |
| 4173 | Comment out by surrounding "#if 0" and "#endif" for the moment. | 4173 | * font.c (LGSTRING_HEADER_SIZE, LGSTRING_GLYPH_SIZE) |
| 4174 | (Ffont_drive_otf, Ffont_otf_alternates): Likewise. | 4174 | (check_gstring, check_otf_features, otf_list, otf_tag_symbol) |
| 4175 | (syms_of_font): Codes for accessing above commented out. | 4175 | (otf_open, font_otf_capability, generate_otf_features) |
| 4176 | 4176 | (font_otf_DeviceTable, font_otf_ValueRecord, font_otf_Anchor): | |
| 4177 | 2008-05-24 Eli Zaretskii <eliz@gnu.org> | 4177 | Comment out by surrounding "#if 0" and "#endif" for the moment. |
| 4178 | 4178 | (Ffont_drive_otf, Ffont_otf_alternates): Likewise. | |
| 4179 | * w32proc.c: Include dispextern.h. | 4179 | (syms_of_font): Codes for accessing above commented out. |
| 4180 | 4180 | ||
| 4181 | * w32.c: Include dispextern.h. | 4181 | 2008-05-24 Eli Zaretskii <eliz@gnu.org> |
| 4182 | 4182 | ||
| 4183 | 2008-05-23 Juanma Barranquero <lekktu@gmail.com> | 4183 | * w32proc.c: Include dispextern.h. |
| 4184 | 4184 | ||
| 4185 | * charset.c (Fencode_char, Fsplit_char): Doc fixes. | 4185 | * w32.c: Include dispextern.h. |
| 4186 | (Fget_unused_iso_final_char, Fdecode_char, Fiso_charset): | 4186 | |
| 4187 | Fix typos in docstrings. | 4187 | 2008-05-23 Juanma Barranquero <lekktu@gmail.com> |
| 4188 | 4188 | ||
| 4189 | 2008-05-23 Jason Rumney <jasonr@gnu.org> | 4189 | * charset.c (Fencode_char, Fsplit_char): Doc fixes. |
| 4190 | 4190 | (Fget_unused_iso_final_char, Fdecode_char, Fiso_charset): | |
| 4191 | * xsmfns.c: Remove includes that are already included by config.h. | 4191 | Fix typos in docstrings. |
| 4192 | 4192 | ||
| 4193 | 2008-05-23 Kenichi Handa <handa@m17n.org> | 4193 | 2008-05-23 Jason Rumney <jasonr@gnu.org> |
| 4194 | 4194 | ||
| 4195 | * charset.c (Qemacs, charset_emacs): New variables. | 4195 | * xsmfns.c: Remove includes that are already included by config.h. |
| 4196 | (char_charset): Fix for non-Unicode characters. | 4196 | |
| 4197 | (syms_of_charset): Define charset_emacs. | 4197 | 2008-05-23 Kenichi Handa <handa@m17n.org> |
| 4198 | 4198 | ||
| 4199 | * w32term.c (x_draw_glyph_string): Be sure to update | 4199 | * charset.c (Qemacs, charset_emacs): New variables. |
| 4200 | s->underline_thickness and s->underline_position. Be sure to draw | 4200 | (char_charset): Fix for non-Unicode characters. |
| 4201 | underline within the current line area. | 4201 | (syms_of_charset): Define charset_emacs. |
| 4202 | 4202 | ||
| 4203 | * xterm.c (x_draw_glyph_string): Be sure to update | 4203 | * w32term.c (x_draw_glyph_string): Be sure to update |
| 4204 | s->underline_thickness and s->underline_position. Be sure to draw | 4204 | s->underline_thickness and s->underline_position. Be sure to draw |
| 4205 | underline within the current line area. | 4205 | underline within the current line area. |
| 4206 | 4206 | ||
| 4207 | * fontset.c: Delete unused variables and add casting for char * | 4207 | * xterm.c (x_draw_glyph_string): Be sure to update |
| 4208 | throughout the file. | 4208 | s->underline_thickness and s->underline_position. Be sure to draw |
| 4209 | (fontset_font): Try the fallback fonts of the current fontset | 4209 | underline within the current line area. |
| 4210 | before consulting the default fontset. | 4210 | |
| 4211 | 4211 | * fontset.c: Delete unused variables and add casting for char * | |
| 4212 | * ftfont.c (ftfont_spec_pattern): Free charset if necessary. | 4212 | throughout the file. |
| 4213 | 4213 | (fontset_font): Try the fallback fonts of the current fontset | |
| 4214 | * xfont.c (xfont_list_pattern): Free names returned from XListFonts. | 4214 | before consulting the default fontset. |
| 4215 | 4215 | ||
| 4216 | 2008-05-22 Jason Rumney <jasonr@gnu.org> | 4216 | * ftfont.c (ftfont_spec_pattern): Free charset if necessary. |
| 4217 | 4217 | ||
| 4218 | * font.c: Don't include strings.h. | 4218 | * xfont.c (xfont_list_pattern): Free names returned from XListFonts. |
| 4219 | 4219 | ||
| 4220 | * dispextern.h, xfaces.c (xstrcasecmp): Rename from xstricmp. | 4220 | 2008-05-22 Jason Rumney <jasonr@gnu.org> |
| 4221 | 4221 | ||
| 4222 | * dosfns.c, fileio.c, font.c, fontset.c, image.c, macfns.c: | 4222 | * font.c: Don't include strings.h. |
| 4223 | * macterm.c, process.c, w32.c, w32fns.c, w32proc.c, xfaces.c: | 4223 | |
| 4224 | * xfns.c, xfont.c: All callers of stricmp and strcasecmp changed | 4224 | * dispextern.h, xfaces.c (xstrcasecmp): Rename from xstricmp. |
| 4225 | to call xstrcasecmp. | 4225 | |
| 4226 | 4226 | * dosfns.c, fileio.c, font.c, fontset.c, image.c, macfns.c: | |
| 4227 | * xfont.c (xfont_list_pattern, compare_font_names): Use xstrcasecmp. | 4227 | * macterm.c, process.c, w32.c, w32fns.c, w32proc.c, xfaces.c: |
| 4228 | 4228 | * xfns.c, xfont.c: All callers of stricmp and strcasecmp changed | |
| 4229 | * fontset.c (fs_query_fontset): Use xstrcasecmp. | 4229 | to call xstrcasecmp. |
| 4230 | 4230 | ||
| 4231 | * font.c (font_style_to_value, font_score): Use xstrcasecmp. | 4231 | * xfont.c (xfont_list_pattern, compare_font_names): Use xstrcasecmp. |
| 4232 | 4232 | ||
| 4233 | * dosfns.c (msdos_stdcolor_idx): Use xstrcasecmp. | 4233 | * fontset.c (fs_query_fontset): Use xstrcasecmp. |
| 4234 | 4234 | ||
| 4235 | 2008-05-22 Kenichi Handa <handa@m17n.org> | 4235 | * font.c (font_style_to_value, font_score): Use xstrcasecmp. |
| 4236 | 4236 | ||
| 4237 | * puresize.h (BASE_PURESIZE): Increase to 1220000. | 4237 | * dosfns.c (msdos_stdcolor_idx): Use xstrcasecmp. |
| 4238 | 4238 | ||
| 4239 | * font.c (font_prop_validate_style): Adjust for the format | 4239 | 2008-05-22 Kenichi Handa <handa@m17n.org> |
| 4240 | change of font_style_table. | 4240 | |
| 4241 | 4241 | * puresize.h (BASE_PURESIZE): Increase to 1220000. | |
| 4242 | * w32font.c (w32font_open_internal): Call Ffont_xlfd_name with | 4242 | |
| 4243 | two args. | 4243 | * font.c (font_prop_validate_style): Adjust for the format |
| 4244 | 4244 | change of font_style_table. | |
| 4245 | * xfaces.c (x_update_menu_appearance): Call Ffont_xlfd_name with | 4245 | |
| 4246 | two args. | 4246 | * w32font.c (w32font_open_internal): Call Ffont_xlfd_name with |
| 4247 | 4247 | two args. | |
| 4248 | 2008-05-22 Stefan Monnier <monnier@iro.umontreal.ca> | 4248 | |
| 4249 | 4249 | * xfaces.c (x_update_menu_appearance): Call Ffont_xlfd_name with | |
| 4250 | * minibuf.c (keys_of_minibuf): Delete. | 4250 | two args. |
| 4251 | * lisp.h (keys_of_minibuf): Delete. | 4251 | |
| 4252 | * emacs.c (main): Don't call keys_of_minibuf. | 4252 | 2008-05-22 Stefan Monnier <monnier@iro.umontreal.ca> |
| 4253 | 4253 | ||
| 4254 | 2008-05-22 Kenichi Handa <handa@m17n.org> | 4254 | * minibuf.c (keys_of_minibuf): Delete. |
| 4255 | 4255 | * lisp.h (keys_of_minibuf): Delete. | |
| 4256 | * ftfont.c (ftfont_resolve_generic_family): Rename from | 4256 | * emacs.c (main): Don't call keys_of_minibuf. |
| 4257 | ftfont_list_generic_family. Return a single family for each | 4257 | |
| 4258 | generic family. | 4258 | 2008-05-22 Kenichi Handa <handa@m17n.org> |
| 4259 | (ftfont_spec_pattern): Add FC_FAMILY to pattern. | 4259 | |
| 4260 | (ftfont_list): Adjust for the change of ftfont_resolve_generic_family. | 4260 | * ftfont.c (ftfont_resolve_generic_family): Rename from |
| 4261 | Call font_add_log. | 4261 | ftfont_list_generic_family. Return a single family for each |
| 4262 | (ftfont_match): Call font_add_log. | 4262 | generic family. |
| 4263 | 4263 | (ftfont_spec_pattern): Add FC_FAMILY to pattern. | |
| 4264 | * font.h (Ffont_xlfd_name): EXFUN adjusted. | 4264 | (ftfont_list): Adjust for the change of ftfont_resolve_generic_family. |
| 4265 | (FONT_DEBUG): Define it. | 4265 | Call font_add_log. |
| 4266 | (font_add_log): Extern it. | 4266 | (ftfont_match): Call font_add_log. |
| 4267 | (font_assert): Rename from xassert. | 4267 | |
| 4268 | 4268 | * font.h (Ffont_xlfd_name): EXFUN adjusted. | |
| 4269 | * xfont.c (xfont_get_pcm): Change xassert to font_assert. | 4269 | (FONT_DEBUG): Define it. |
| 4270 | (xfont_list_family): Call font_add_log. | 4270 | (font_add_log): Extern it. |
| 4271 | (xfont_match): Likewise. | 4271 | (font_assert): Rename from xassert. |
| 4272 | (memq_no_quit): Delete. | 4272 | |
| 4273 | 4273 | * xfont.c (xfont_get_pcm): Change xassert to font_assert. | |
| 4274 | * fontset.c (fontset_from_font, Ffontset_info): Add the 2nd arg in | 4274 | (xfont_list_family): Call font_add_log. |
| 4275 | call of Ffont_xlfd_name. | 4275 | (xfont_match): Likewise. |
| 4276 | 4276 | (memq_no_quit): Delete. | |
| 4277 | * xfaces.c (struct table_entry, slant_table, weight_table) | 4277 | |
| 4278 | (swidth_table): Move to font.c. | 4278 | * fontset.c (fontset_from_font, Ffontset_info): Add the 2nd arg in |
| 4279 | 4279 | call of Ffont_xlfd_name. | |
| 4280 | * font.c: Checking of FONT_DEBUG is moved to font.h. All calls of | 4280 | |
| 4281 | xassert are changed to font_assert. Delete many unused variables. | 4281 | * xfaces.c (struct table_entry, slant_table, weight_table) |
| 4282 | (Vfont_weight_table, Vfont_slant_table, Vfont_width_table): | 4282 | (swidth_table): Move to font.c. |
| 4283 | New variables. | 4283 | |
| 4284 | (struct table_entry): Move from xfaces.c and modified. | 4284 | * font.c: Checking of FONT_DEBUG is moved to font.h. All calls of |
| 4285 | (weight_table, slant_table, width_table): Move from xfaces.c and | 4285 | xassert are changed to font_assert. Delete many unused variables. |
| 4286 | contents adjusted for the change of struct table_entry. | 4286 | (Vfont_weight_table, Vfont_slant_table, Vfont_width_table): |
| 4287 | (font_style_to_value, font_style_symbolic): Adjust for the | 4287 | New variables. |
| 4288 | format change of font_style_table. | 4288 | (struct table_entry): Move from xfaces.c and modified. |
| 4289 | (font_parse_family_registry): Don't overwrite existing foundry and | 4289 | (weight_table, slant_table, width_table): Move from xfaces.c and |
| 4290 | family of font_spec. | 4290 | contents adjusted for the change of struct table_entry. |
| 4291 | (font_score): Fix calculation of diff for sizes. | 4291 | (font_style_to_value, font_style_symbolic): Adjust for the |
| 4292 | (font_sort_entites): Call font_add_log. | 4292 | format change of font_style_table. |
| 4293 | (font_delete_unmatched): Return a newly created list. | 4293 | (font_parse_family_registry): Don't overwrite existing foundry and |
| 4294 | (font_list_entities): Fix previous change. Call font_add_log. | 4294 | family of font_spec. |
| 4295 | (font_matching_entity, font_open_entity, font_close_entity): | 4295 | (font_score): Fix calculation of diff for sizes. |
| 4296 | Call font_add_log. | 4296 | (font_sort_entites): Call font_add_log. |
| 4297 | (Ffont_xlfd_name): New arg FOLD-WILDCARDS. | 4297 | (font_delete_unmatched): Return a newly created list. |
| 4298 | (Finternal_set_font_style_table): Delete. | 4298 | (font_list_entities): Fix previous change. Call font_add_log. |
| 4299 | (BUILD_STYLE_TABLE): New macro. | 4299 | (font_matching_entity, font_open_entity, font_close_entity): |
| 4300 | (build_style_table): New function. | 4300 | Call font_add_log. |
| 4301 | (Vfont_log, font_log_env_checked): New variables. | 4301 | (Ffont_xlfd_name): New arg FOLD-WILDCARDS. |
| 4302 | (font_add_log): New function. | 4302 | (Finternal_set_font_style_table): Delete. |
| 4303 | (syms_of_font): Delete defsubr Sinternal_set_font_style_table. | 4303 | (BUILD_STYLE_TABLE): New macro. |
| 4304 | Declare Lisp variables "font-weight-table", "font-slant-table", | 4304 | (build_style_table): New function. |
| 4305 | "font-width-table", and "font-log". Initialize font_style_table. | 4305 | (Vfont_log, font_log_env_checked): New variables. |
| 4306 | 4306 | (font_add_log): New function. | |
| 4307 | 2008-05-21 Dan Nicolaescu <dann@ics.uci.edu> | 4307 | (syms_of_font): Delete defsubr Sinternal_set_font_style_table. |
| 4308 | 4308 | Declare Lisp variables "font-weight-table", "font-slant-table", | |
| 4309 | * xterm.c (x_set_frame_alpha): Move declarations before statements. | 4309 | "font-width-table", and "font-log". Initialize font_style_table. |
| 4310 | 4310 | ||
| 4311 | 2008-05-21 Seiji Zenitani <zenitani@mac.com> | 4311 | 2008-05-21 Dan Nicolaescu <dann@ics.uci.edu> |
| 4312 | Ryo Yoshitake <ryo@shiftmode.net> | 4312 | |
| 4313 | 4313 | * xterm.c (x_set_frame_alpha): Move declarations before statements. | |
| 4314 | * frame.c (Qalpha): Add a new frame parameter `alpha'. | 4314 | |
| 4315 | (Vframe_alpha_lower_limit): New variable. | 4315 | 2008-05-21 Seiji Zenitani <zenitani@mac.com> |
| 4316 | (x_set_alpha): New function. | 4316 | Ryo Yoshitake <ryo@shiftmode.net> |
| 4317 | 4317 | ||
| 4318 | * frame.h (Qalpha, Vframe_parameter_lower_limit): Export them. | 4318 | * frame.c (Qalpha): Add a new frame parameter `alpha'. |
| 4319 | 4319 | (Vframe_alpha_lower_limit): New variable. | |
| 4320 | * xfns.c (x-create-frame, Qalpha): | 4320 | (x_set_alpha): New function. |
| 4321 | Initialize the frame parameter `alpha'. | 4321 | |
| 4322 | * xterm.c (OPAQUE, OPACITY): New. | 4322 | * frame.h (Qalpha, Vframe_parameter_lower_limit): Export them. |
| 4323 | (x_set_frame_alpha): New function. | 4323 | |
| 4324 | (frame_highlight, frame_unhighlight): Call x_set_frame_alpha. | 4324 | * xfns.c (x-create-frame, Qalpha): |
| 4325 | 4325 | Initialize the frame parameter `alpha'. | |
| 4326 | * macfns.c (mac_frame_parm_handlers): A null handler for x_set_alpha. | 4326 | * xterm.c (OPAQUE, OPACITY): New. |
| 4327 | * w32fns.c (w32_frame_parm_handlers): Likewise. | 4327 | (x_set_frame_alpha): New function. |
| 4328 | 4328 | (frame_highlight, frame_unhighlight): Call x_set_frame_alpha. | |
| 4329 | 2008-05-20 Jason Rumney <jasonr@gnu.org> | 4329 | |
| 4330 | 4330 | * macfns.c (mac_frame_parm_handlers): A null handler for x_set_alpha. | |
| 4331 | * w32font.c (add_font_entity_to_list): Don't add non-opentype | 4331 | * w32fns.c (w32_frame_parm_handlers): Likewise. |
| 4332 | truetype fonts to opentype list. | 4332 | |
| 4333 | 4333 | 2008-05-20 Jason Rumney <jasonr@gnu.org> | |
| 4334 | 2008-05-20 Juanma Barranquero <lekktu@gmail.com> | 4334 | |
| 4335 | 4335 | * w32font.c (add_font_entity_to_list): Don't add non-opentype | |
| 4336 | * fontset.c (Ffontset_info): Doc fix. | 4336 | truetype fonts to opentype list. |
| 4337 | (syms_of_fontset) <font-encoding-charset-alist, use-default-ascent>: | 4337 | |
| 4338 | <ignore-relative-composition>: Fix typos in docstrings. | 4338 | 2008-05-20 Juanma Barranquero <lekktu@gmail.com> |
| 4339 | 4339 | ||
| 4340 | * font.c (syms-of-font) <font-encoding-alist>: | 4340 | * fontset.c (Ffontset_info): Doc fix. |
| 4341 | (Ffontp, Ffont_make_gstring): Fix typos in docstrings. | 4341 | (syms_of_fontset) <font-encoding-charset-alist, use-default-ascent>: |
| 4342 | (Flist_fonts, Ffont_family_list, Ffont_fill_gstring, Fquery_font) | 4342 | <ignore-relative-composition>: Fix typos in docstrings. |
| 4343 | (Ffont_otf_alternates): Doc fixes. | 4343 | |
| 4344 | 4344 | * font.c (syms-of-font) <font-encoding-alist>: | |
| 4345 | 2008-05-20 Kenichi Handa <handa@m17n.org> | 4345 | (Ffontp, Ffont_make_gstring): Fix typos in docstrings. |
| 4346 | 4346 | (Flist_fonts, Ffont_family_list, Ffont_fill_gstring, Fquery_font) | |
| 4347 | * Makefile.in (FONTSRC): Delete it. Change all $(FONTSRC) to | 4347 | (Ffont_otf_alternates): Doc fixes. |
| 4348 | font.h through out the file. | 4348 | |
| 4349 | (FONT_DRIVERS): Rename from FONTOBJ. | 4349 | 2008-05-20 Kenichi Handa <handa@m17n.org> |
| 4350 | (obj): Change $(FONTOBJ) to $(FONT_DRIVERS). Add font.o. | 4350 | |
| 4351 | (SOME_MACHINE_OBJECTS): Change $(FONTOBJ) to $(FONT_DRIVERS). | 4351 | * Makefile.in (FONTSRC): Delete it. Change all $(FONTSRC) to |
| 4352 | 4352 | font.h through out the file. | |
| 4353 | * emacs.c (main): Call syms_of_font unconditionally. | 4353 | (FONT_DRIVERS): Rename from FONTOBJ. |
| 4354 | 4354 | (obj): Change $(FONTOBJ) to $(FONT_DRIVERS). Add font.o. | |
| 4355 | * font.h (find_font_encoding): Extern it. | 4355 | (SOME_MACHINE_OBJECTS): Change $(FONTOBJ) to $(FONT_DRIVERS). |
| 4356 | 4356 | ||
| 4357 | * font.c (Vfont_encoding_alist, find_font_encoding): Move from | 4357 | * emacs.c (main): Call syms_of_font unconditionally. |
| 4358 | fontset.c. | 4358 | |
| 4359 | (font_pixel_size)[! HAVE_WINDOW_SYSTEM]: Return 1. | 4359 | * font.h (find_font_encoding): Extern it. |
| 4360 | (font_open_entity): Update FRAME_X_DISPLAY_INFO (f)->n_fonts, | 4360 | |
| 4361 | FRAME_SMALLEST_CHAR_WIDTH (f), and FRAME_SMALLEST_FONT_HEIGHT (f) | 4361 | * font.c (Vfont_encoding_alist, find_font_encoding): Move from |
| 4362 | only when HAVE_WINDOW_SYSTEM is defined. | 4362 | fontset.c. |
| 4363 | (font_close_object): Update FRAME_X_DISPLAY_INFO (f)->n_fonts only | 4363 | (font_pixel_size)[! HAVE_WINDOW_SYSTEM]: Return 1. |
| 4364 | when HAVE_WINDOW_SYSTEM is defined. | 4364 | (font_open_entity): Update FRAME_X_DISPLAY_INFO (f)->n_fonts, |
| 4365 | 4365 | FRAME_SMALLEST_CHAR_WIDTH (f), and FRAME_SMALLEST_FONT_HEIGHT (f) | |
| 4366 | * fontset.c (Vfont_encoding_alist, find_font_encoding): Move to font.c. | 4366 | only when HAVE_WINDOW_SYSTEM is defined. |
| 4367 | (syms_of_fontset): Move declaration of font-encoding-alist to font.c. | 4367 | (font_close_object): Update FRAME_X_DISPLAY_INFO (f)->n_fonts only |
| 4368 | 4368 | when HAVE_WINDOW_SYSTEM is defined. | |
| 4369 | * xfaces.c: Include font.h unconditionally. | 4369 | |
| 4370 | (merge_face_ref, merge_face_vectors) | 4370 | * fontset.c (Vfont_encoding_alist, find_font_encoding): Move to font.c. |
| 4371 | (Finternal_set_lisp_face_attribute): Cancel the previous change. | 4371 | (syms_of_fontset): Move declaration of font-encoding-alist to font.c. |
| 4372 | 4372 | ||
| 4373 | 2008-05-20 Stefan Monnier <monnier@iro.umontreal.ca> | 4373 | * xfaces.c: Include font.h unconditionally. |
| 4374 | 4374 | (merge_face_ref, merge_face_vectors) | |
| 4375 | * xdisp.c (select_frame_for_redisplay): Adjust for last change to | 4375 | (Finternal_set_lisp_face_attribute): Cancel the previous change. |
| 4376 | indirect_variable. | 4376 | |
| 4377 | * eval.c (lisp_indirect_variable): New fun. | 4377 | 2008-05-20 Stefan Monnier <monnier@iro.umontreal.ca> |
| 4378 | (Fuser_variable_p): Use it. | 4378 | |
| 4379 | 4379 | * xdisp.c (select_frame_for_redisplay): Adjust for last change to | |
| 4380 | 2008-05-19 Stefan Monnier <monnier@iro.umontreal.ca> | 4380 | indirect_variable. |
| 4381 | 4381 | * eval.c (lisp_indirect_variable): New fun. | |
| 4382 | * lisp.h (indirect_variable): | 4382 | (Fuser_variable_p): Use it. |
| 4383 | * data.c (indirect_variable, let_shadows_buffer_binding_p): | 4383 | |
| 4384 | Use Lisp_Symbol pointers rather than Lisp_Object. | 4384 | 2008-05-19 Stefan Monnier <monnier@iro.umontreal.ca> |
| 4385 | Adjust callers. | 4385 | |
| 4386 | * buffer.c (buffer_slot_type_mismatch): Use wrong-type-argument. | 4386 | * lisp.h (indirect_variable): |
| 4387 | To this end, change calling-convention. | 4387 | * data.c (indirect_variable, let_shadows_buffer_binding_p): |
| 4388 | 4388 | Use Lisp_Symbol pointers rather than Lisp_Object. | |
| 4389 | * minibuf.c (Finternal_complete_buffer): Only strip out hidden buffers | 4389 | Adjust callers. |
| 4390 | if some non-hidden buffers are selected by string&pred. | 4390 | * buffer.c (buffer_slot_type_mismatch): Use wrong-type-argument. |
| 4391 | 4391 | To this end, change calling-convention. | |
| 4392 | 2008-05-19 Chong Yidong <cyd@stupidchicken.com> | 4392 | |
| 4393 | 4393 | * minibuf.c (Finternal_complete_buffer): Only strip out hidden buffers | |
| 4394 | * process.c (wait_reading_process_output): Always check status | 4394 | if some non-hidden buffers are selected by string&pred. |
| 4395 | when in batch mode. | 4395 | |
| 4396 | 4396 | 2008-05-19 Chong Yidong <cyd@stupidchicken.com> | |
| 4397 | 2008-05-19 Kenichi Handa <handa@m17n.org> | 4397 | |
| 4398 | 4398 | * process.c (wait_reading_process_output): Always check status | |
| 4399 | * font.c (font_list_entities): Fix handling of cache. | 4399 | when in batch mode. |
| 4400 | (font_matching_entity): Likewise. | 4400 | |
| 4401 | 4401 | 2008-05-19 Kenichi Handa <handa@m17n.org> | |
| 4402 | * ftfont.c (cs_iso8859_1): Delete. | 4402 | |
| 4403 | (ft_face_cache): New variable. | 4403 | * font.c (font_list_entities): Fix handling of cache. |
| 4404 | (struct ftfont_info): New member fc_charset_idx. | 4404 | (font_matching_entity): Likewise. |
| 4405 | (ftfont_build_basic_charsets): Delete. | 4405 | |
| 4406 | (fc_charset_table): New variable. | 4406 | * ftfont.c (cs_iso8859_1): Delete. |
| 4407 | (ftfont_pattern_entity): New arg fc_charset_idx. Store (FILENAME | 4407 | (ft_face_cache): New variable. |
| 4408 | . FC_CHARSET_IDX) as :font-entity property in the font entity. | 4408 | (struct ftfont_info): New member fc_charset_idx. |
| 4409 | Callers changed. | 4409 | (ftfont_build_basic_charsets): Delete. |
| 4410 | (ftfont_lookup_cache, ftfont_get_charset): New functions. | 4410 | (fc_charset_table): New variable. |
| 4411 | (ftfont_spec_pattern): New argument fc_charset_idx. | 4411 | (ftfont_pattern_entity): New arg fc_charset_idx. Store (FILENAME |
| 4412 | Check registry more rigidly. Change callers. | 4412 | . FC_CHARSET_IDX) as :font-entity property in the font entity. |
| 4413 | (ftfont_open, ftfont_close, ftfont_has_char): Adjust for the | 4413 | Callers changed. |
| 4414 | change of :font-entity property of the font. | 4414 | (ftfont_lookup_cache, ftfont_get_charset): New functions. |
| 4415 | 4415 | (ftfont_spec_pattern): New argument fc_charset_idx. | |
| 4416 | * xftfont.c (xftfont_open): Adjust for the change of :font-entity | 4416 | Check registry more rigidly. Change callers. |
| 4417 | property of the font. | 4417 | (ftfont_open, ftfont_close, ftfont_has_char): Adjust for the |
| 4418 | 4418 | change of :font-entity property of the font. | |
| 4419 | 2008-05-18 Juanma Barranquero <lekktu@gmail.com> | 4419 | |
| 4420 | 4420 | * xftfont.c (xftfont_open): Adjust for the change of :font-entity | |
| 4421 | * coding.c (Fcoding_system_p): Rename argument to match docstring. | 4421 | property of the font. |
| 4422 | (Funencodable_char_position, Fcheck_coding_systems_region) | 4422 | |
| 4423 | (Fdecode_coding_string, Fencode_coding_string): Fix typos in docstrings. | 4423 | 2008-05-18 Juanma Barranquero <lekktu@gmail.com> |
| 4424 | (Fdetect_coding_region, Fdetect_coding_string, Fencode_coding_region) | 4424 | |
| 4425 | (Ffind_operation_coding_system, Fset_coding_system_priority) | 4425 | * coding.c (Fcoding_system_p): Rename argument to match docstring. |
| 4426 | (Fcoding_system_eol_type): Doc fixes. | 4426 | (Funencodable_char_position, Fcheck_coding_systems_region) |
| 4427 | 4427 | (Fdecode_coding_string, Fencode_coding_string): Fix typos in docstrings. | |
| 4428 | 2008-05-17 Glenn Morris <rgm@gnu.org> | 4428 | (Fdetect_coding_region, Fdetect_coding_string, Fencode_coding_region) |
| 4429 | 4429 | (Ffind_operation_coding_system, Fset_coding_system_priority) | |
| 4430 | * sysdep.c (child_setup_tty): Handle systems with NLDLY, without FFDLY. | 4430 | (Fcoding_system_eol_type): Doc fixes. |
| 4431 | 4431 | ||
| 4432 | 2008-05-16 Eli Zaretskii <eliz@gnu.org> | 4432 | 2008-05-17 Glenn Morris <rgm@gnu.org> |
| 4433 | 4433 | ||
| 4434 | * dired.c (Ffile_attributes): Shut up GCC warnings about st_uid | 4434 | * sysdep.c (child_setup_tty): Handle systems with NLDLY, without FFDLY. |
| 4435 | and st_gid. | 4435 | |
| 4436 | 4436 | 2008-05-16 Eli Zaretskii <eliz@gnu.org> | |
| 4437 | * frame.c (Fdelete_frame): Don't call font_update_drivers if | 4437 | |
| 4438 | HAVE_WINDOW_SYSTEM is not defined. | 4438 | * dired.c (Ffile_attributes): Shut up GCC warnings about st_uid |
| 4439 | 4439 | and st_gid. | |
| 4440 | * xfaces.c (merge_face_ref, merge_face_vectors) | 4440 | |
| 4441 | (Finternal_set_lisp_face_attribute): Use FONT_*_INDEX only when | 4441 | * frame.c (Fdelete_frame): Don't call font_update_drivers if |
| 4442 | HAVE_WINDOW_SYSTEM is defined. | 4442 | HAVE_WINDOW_SYSTEM is not defined. |
| 4443 | (Fface_font): Fix non-HAVE_WINDOW_SYSTEM case. | 4443 | |
| 4444 | 4444 | * xfaces.c (merge_face_ref, merge_face_vectors) | |
| 4445 | 2008-05-16 Stefan Monnier <monnier@iro.umontreal.ca> | 4445 | (Finternal_set_lisp_face_attribute): Use FONT_*_INDEX only when |
| 4446 | 4446 | HAVE_WINDOW_SYSTEM is defined. | |
| 4447 | * keyboard.c (parse_menu_item): Do not cache key shortcut any more. | 4447 | (Fface_font): Fix non-HAVE_WINDOW_SYSTEM case. |
| 4448 | 4448 | ||
| 4449 | 2008-05-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 4449 | 2008-05-16 Stefan Monnier <monnier@iro.umontreal.ca> |
| 4450 | 4450 | ||
| 4451 | * macterm.c (x_draw_relief_rect): Remove unused variable `dpy'. | 4451 | * keyboard.c (parse_menu_item): Do not cache key shortcut any more. |
| 4452 | 4452 | ||
| 4453 | 2008-05-15 Kenichi Handa <handa@m17n.org> | 4453 | 2008-05-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 4454 | 4454 | ||
| 4455 | * font.c (font_find_for_lface): Reflect LFACE_FONT in the font | 4455 | * macterm.c (x_draw_relief_rect): Remove unused variable `dpy'. |
| 4456 | preference. | 4456 | |
| 4457 | 4457 | 2008-05-15 Kenichi Handa <handa@m17n.org> | |
| 4458 | 2008-05-15 Glenn Morris <rgm@gnu.org> | 4458 | |
| 4459 | 4459 | * font.c (font_find_for_lface): Reflect LFACE_FONT in the font | |
| 4460 | * emacs.c (USAGE1, standard_args): Remove -disable-font-backend. | 4460 | preference. |
| 4461 | 4461 | ||
| 4462 | 2008-05-15 Chong Yidong <cyd@stupidchicken.com> | 4462 | 2008-05-15 Glenn Morris <rgm@gnu.org> |
| 4463 | 4463 | ||
| 4464 | * fns.c (init_fns): Don't initialize weak_hash_tables here. | 4464 | * emacs.c (USAGE1, standard_args): Remove -disable-font-backend. |
| 4465 | (init_weak_hash_tables): New fun. Initialize weak_hash_tables. | 4465 | |
| 4466 | 4466 | 2008-05-15 Chong Yidong <cyd@stupidchicken.com> | |
| 4467 | * alloc.c (init_alloc_once): Call init_weak_hash_tables. | 4467 | |
| 4468 | 4468 | * fns.c (init_fns): Don't initialize weak_hash_tables here. | |
| 4469 | 2008-05-15 Kenichi Handa <handa@m17n.org> | 4469 | (init_weak_hash_tables): New fun. Initialize weak_hash_tables. |
| 4470 | 4470 | ||
| 4471 | * ftfont.c (ftfont_list): Downcase family name to check generic | 4471 | * alloc.c (init_alloc_once): Call init_weak_hash_tables. |
| 4472 | families. | 4472 | |
| 4473 | 4473 | 2008-05-15 Kenichi Handa <handa@m17n.org> | |
| 4474 | * xfaces.c (Finternal_set_lisp_face_attribute): Be sure to make a | 4474 | |
| 4475 | font-spec for QCfont value. | 4475 | * ftfont.c (ftfont_list): Downcase family name to check generic |
| 4476 | 4476 | families. | |
| 4477 | * fontset.c (Fnew_fontset): Call font_unparse_xlfd with 256-byte | 4477 | |
| 4478 | buffer. Check the return value of it. | 4478 | * xfaces.c (Finternal_set_lisp_face_attribute): Be sure to make a |
| 4479 | 4479 | font-spec for QCfont value. | |
| 4480 | 2008-05-14 Jason Rumney <jasonr@gnu.org> | 4480 | |
| 4481 | 4481 | * fontset.c (Fnew_fontset): Call font_unparse_xlfd with 256-byte | |
| 4482 | * w32term.c (w32_get_glyph_overhangs): Remove. | 4482 | buffer. Check the return value of it. |
| 4483 | (w32_redisplay_interface): Use x_get_glyph_overhangs instead. | 4483 | |
| 4484 | 4484 | 2008-05-14 Jason Rumney <jasonr@gnu.org> | |
| 4485 | 2008-05-14 Kenichi Handa <handa@m17n.org> | 4485 | |
| 4486 | 4486 | * w32term.c (w32_get_glyph_overhangs): Remove. | |
| 4487 | * font.c (font_prop_validate): Make nil a valid value. | 4487 | (w32_redisplay_interface): Use x_get_glyph_overhangs instead. |
| 4488 | (font_clear_cache): Check if the cached vector of entities is nil | 4488 | |
| 4489 | or not. | 4489 | 2008-05-14 Kenichi Handa <handa@m17n.org> |
| 4490 | 4490 | ||
| 4491 | 2008-05-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 4491 | * font.c (font_prop_validate): Make nil a valid value. |
| 4492 | 4492 | (font_clear_cache): Check if the cached vector of entities is nil | |
| 4493 | * emacs.c (main_thread): Conditionalize on | 4493 | or not. |
| 4494 | FORWARD_SIGNAL_TO_MAIN_THREAD instead of HAVE_GTK_AND_PTHREAD. | 4494 | |
| 4495 | (main) [FORWARD_SIGNAL_TO_MAIN_THREAD]: Initialize it. | 4495 | 2008-05-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 4496 | 4496 | ||
| 4497 | * syssignal.h (FORWARD_SIGNAL_TO_MAIN_THREAD): New define. | 4497 | * emacs.c (main_thread): Conditionalize on |
| 4498 | (main_thread, SIGNAL_THREAD_CHECK): Conditionalize on | 4498 | FORWARD_SIGNAL_TO_MAIN_THREAD instead of HAVE_GTK_AND_PTHREAD. |
| 4499 | FORWARD_SIGNAL_TO_MAIN_THREAD instead of HAVE_GTK_AND_PTHREAD. | 4499 | (main) [FORWARD_SIGNAL_TO_MAIN_THREAD]: Initialize it. |
| 4500 | 4500 | ||
| 4501 | 2008-05-14 Kenichi Handa <handa@m17n.org> | 4501 | * syssignal.h (FORWARD_SIGNAL_TO_MAIN_THREAD): New define. |
| 4502 | 4502 | (main_thread, SIGNAL_THREAD_CHECK): Conditionalize on | |
| 4503 | * coding.c (detect_coding_iso_2022): Ignore a coding category that | 4503 | FORWARD_SIGNAL_TO_MAIN_THREAD instead of HAVE_GTK_AND_PTHREAD. |
| 4504 | has no corresponding coding system. | 4504 | |
| 4505 | 4505 | 2008-05-14 Kenichi Handa <handa@m17n.org> | |
| 4506 | 2008-05-14 Jason Rumney <jasonr@gnu.org> | 4506 | |
| 4507 | 4507 | * coding.c (detect_coding_iso_2022): Ignore a coding category that | |
| 4508 | * font.h (struct font) [WINDOWSNT]: Remove codepage member. | 4508 | has no corresponding coding system. |
| 4509 | 4509 | ||
| 4510 | * w32font.h (w32font_open_internal): Update declaration. | 4510 | 2008-05-14 Jason Rumney <jasonr@gnu.org> |
| 4511 | 4511 | ||
| 4512 | * w32font.c (w32font_open_internal): Change last argument from | 4512 | * font.h (struct font) [WINDOWSNT]: Remove codepage member. |
| 4513 | w32font_info struct to font object. Fill in font object from | 4513 | |
| 4514 | font_entity. Get Outline metrics if possible. Use them to | 4514 | * w32font.h (w32font_open_internal): Update declaration. |
| 4515 | calculate underline position and thickness. Use xlfd name as name | 4515 | |
| 4516 | property. Don't set codepage. | 4516 | * w32font.c (w32font_open_internal): Change last argument from |
| 4517 | (w32font_open): Pass font_object to w32font_open_internal. Don't | 4517 | w32font_info struct to font object. Fill in font object from |
| 4518 | update dpyinfo->smallest_font_height and dpyinfo->smallest_char_width. | 4518 | font_entity. Get Outline metrics if possible. Use them to |
| 4519 | (w32font_draw): Use s->font. | 4519 | calculate underline position and thickness. Use xlfd name as name |
| 4520 | (clear_cached_metrics): Don't clear non-existent blocks. | 4520 | property. Don't set codepage. |
| 4521 | 4521 | (w32font_open): Pass font_object to w32font_open_internal. Don't | |
| 4522 | * w32term.c (w32_compute_glyph_string_overhangs): Don't compute if | 4522 | update dpyinfo->smallest_font_height and dpyinfo->smallest_char_width. |
| 4523 | font was not found. | 4523 | (w32font_draw): Use s->font. |
| 4524 | (x_draw_glyph_string): Use underline position and thickness from font. | 4524 | (clear_cached_metrics): Don't clear non-existent blocks. |
| 4525 | 4525 | ||
| 4526 | * w32uniscribe.c (uniscribe_open): Pass font_object to | 4526 | * w32term.c (w32_compute_glyph_string_overhangs): Don't compute if |
| 4527 | w32font_open_internal. | 4527 | font was not found. |
| 4528 | 4528 | (x_draw_glyph_string): Use underline position and thickness from font. | |
| 4529 | 2008-05-14 Kenichi Handa <handa@m17n.org> | 4529 | |
| 4530 | 4530 | * w32uniscribe.c (uniscribe_open): Pass font_object to | |
| 4531 | These changes are to delete all legacy font-handling codes, and | 4531 | w32font_open_internal. |
| 4532 | make Emacs use only font-backends. | 4532 | |
| 4533 | 4533 | 2008-05-14 Kenichi Handa <handa@m17n.org> | |
| 4534 | * Makefile.in: Delete USE_FONT_BACKEND conditionals. | 4534 | |
| 4535 | (frame.o, image.o, print.o): Depend on $(FONTSRC). | 4535 | These changes are to delete all legacy font-handling codes, and |
| 4536 | 4536 | make Emacs use only font-backends. | |
| 4537 | * makefile.w32-in (WIN32OBJ): Add w32reg.$(O), remove w32bdf.$(O). | 4537 | |
| 4538 | 4538 | * Makefile.in: Delete USE_FONT_BACKEND conditionals. | |
| 4539 | * charset.h (Vcharset_non_preferred_head) | 4539 | (frame.o, image.o, print.o): Depend on $(FONTSRC). |
| 4540 | (Vcurrent_iso639_language): Extern them. | 4540 | |
| 4541 | 4541 | * makefile.w32-in (WIN32OBJ): Add w32reg.$(O), remove w32bdf.$(O). | |
| 4542 | * charset.c (Vcharset_non_preferred_head): New variable. | 4542 | |
| 4543 | (Vcurrent_iso639_language): New variable. | 4543 | * charset.h (Vcharset_non_preferred_head) |
| 4544 | (syms_of_charset): Declare it as a Lisp variable. | 4544 | (Vcurrent_iso639_language): Extern them. |
| 4545 | (char_charset): Don't check non preferred charsets. As a last | 4545 | |
| 4546 | resort, return charset_unicode. | 4546 | * charset.c (Vcharset_non_preferred_head): New variable. |
| 4547 | (Fset_charset_priority): Update Vcharset_non_preferred_head. | 4547 | (Vcurrent_iso639_language): New variable. |
| 4548 | 4548 | (syms_of_charset): Declare it as a Lisp variable. | |
| 4549 | * composite.c: Throughout the file, delete all USE_FONT_BACKEND | 4549 | (char_charset): Don't check non preferred charsets. As a last |
| 4550 | conditionals. Don't check enable_font_backend. Delete all codes | 4550 | resort, return charset_unicode. |
| 4551 | used only when USE_FONT_BACKEND is not defined. | 4551 | (Fset_charset_priority): Update Vcharset_non_preferred_head. |
| 4552 | 4552 | ||
| 4553 | * dispextern.h (struct glyph_string): Change type of `font' to | 4553 | * composite.c: Throughout the file, delete all USE_FONT_BACKEND |
| 4554 | `struct font *'. | 4554 | conditionals. Don't check enable_font_backend. Delete all codes |
| 4555 | (struct glyph_string): New member underline_position and | 4555 | used only when USE_FONT_BACKEND is not defined. |
| 4556 | underline_thickness. | 4556 | |
| 4557 | (enum lface_attribute_index): Remove LFACE_AVGWIDTH_INDEX. | 4557 | * dispextern.h (struct glyph_string): Change type of `font' to |
| 4558 | (struct face): Change type of `font' to `struct font *'. Remove | 4558 | `struct font *'. |
| 4559 | members `font_name', `font_info_id'. | 4559 | (struct glyph_string): New member underline_position and |
| 4560 | (per_char_metric, encode_char): Delete externs. | 4560 | underline_thickness. |
| 4561 | (calc_pixel_width_or_height): Adjust the prototype. | 4561 | (enum lface_attribute_index): Remove LFACE_AVGWIDTH_INDEX. |
| 4562 | 4562 | (struct face): Change type of `font' to `struct font *'. Remove | |
| 4563 | * emacs.c (enable_font_backend): Delete extern. | 4563 | members `font_name', `font_info_id'. |
| 4564 | (main): Don't set enable_font_backend. Don't check the command | 4564 | (per_char_metric, encode_char): Delete externs. |
| 4565 | line argument "-disable-font-backend". | 4565 | (calc_pixel_width_or_height): Adjust the prototype. |
| 4566 | 4566 | ||
| 4567 | * font.h (Qfont_spec, Qfont_entity, Qfont_object): Extern them. | 4567 | * emacs.c (enable_font_backend): Delete extern. |
| 4568 | (enum font_property_index): New members FONT_DPI_INDEX, | 4568 | (main): Don't set enable_font_backend. Don't check the command |
| 4569 | FONT_SPACING_INDEX, FONT_AVGWIDTH_INDEX, FONT_NAME_INDEX, | 4569 | line argument "-disable-font-backend". |
| 4570 | FONT_FULLNAME_INDEX, FONT_FILE_INDEX, FONT_FORMAT_INDEX, | 4570 | |
| 4571 | FONT_OBJECT_MAX. Delete FONT_FRAME_INDEX. | 4571 | * font.h (Qfont_spec, Qfont_entity, Qfont_object): Extern them. |
| 4572 | (FONT_WEIGHT_NUMERIC, FONT_SLANT_NUMERIC, FONT_WIDTH_NUMERIC) | 4572 | (enum font_property_index): New members FONT_DPI_INDEX, |
| 4573 | (FONT_WEIGHT_SYMBOLIC, FONT_SLANT_SYMBOLIC, FONT_WIDTH_SYMBOLIC) | 4573 | FONT_SPACING_INDEX, FONT_AVGWIDTH_INDEX, FONT_NAME_INDEX, |
| 4574 | (FONT_WEIGHT_FOR_FACE, FONT_SLANT_FOR_FACE, FONT_WIDTH_FOR_FACE) | 4574 | FONT_FULLNAME_INDEX, FONT_FILE_INDEX, FONT_FORMAT_INDEX, |
| 4575 | (FONT_WEIGHT_NAME_NUMERIC, FONT_SLANT_NAME_NUMERIC) | 4575 | FONT_OBJECT_MAX. Delete FONT_FRAME_INDEX. |
| 4576 | (FONT_WIDTH_NAME_NUMERIC, FONT_SET_STYLE): New macros. | 4576 | (FONT_WEIGHT_NUMERIC, FONT_SLANT_NUMERIC, FONT_WIDTH_NUMERIC) |
| 4577 | (struct font_spec, struct font_entity): New structs. | 4577 | (FONT_WEIGHT_SYMBOLIC, FONT_SLANT_SYMBOLIC, FONT_WIDTH_SYMBOLIC) |
| 4578 | (FONT_ENCODING_NOT_DECIDED): Moved from fontset.h. | 4578 | (FONT_WEIGHT_FOR_FACE, FONT_SLANT_FOR_FACE, FONT_WIDTH_FOR_FACE) |
| 4579 | (struct font): Many members from old "struct font_info" moved to | 4579 | (FONT_WEIGHT_NAME_NUMERIC, FONT_SLANT_NAME_NUMERIC) |
| 4580 | here. Members font and entity deleted. | 4580 | (FONT_WIDTH_NAME_NUMERIC, FONT_SET_STYLE): New macros. |
| 4581 | (FONT_SPEC_P, FONT_ENTITY_P, FONT_OBJECT_P, FONTP): Modified for | 4581 | (struct font_spec, struct font_entity): New structs. |
| 4582 | the new font-related objects. | 4582 | (FONT_ENCODING_NOT_DECIDED): Moved from fontset.h. |
| 4583 | (CHECK_FONT_SPEC, CHECK_FONT_ENTITY, CHECK_FONT_OBJECT) | 4583 | (struct font): Many members from old "struct font_info" moved to |
| 4584 | (CHECK_FONT_GET_OBJECT): Likewise. | 4584 | here. Members font and entity deleted. |
| 4585 | (XFONT_SPEC, XFONT_ENTITY, XFONT_OBJECT, XSETFONT): New macros. | 4585 | (FONT_SPEC_P, FONT_ENTITY_P, FONT_OBJECT_P, FONTP): Modified for |
| 4586 | (PT_PER_INCH, POINT_TO_PIXEL, PIXEL_TO_POINT): Moved from font.h. | 4586 | the new font-related objects. |
| 4587 | (struct font_driver): New members case_sensitive anc check. Type | 4587 | (CHECK_FONT_SPEC, CHECK_FONT_ENTITY, CHECK_FONT_OBJECT) |
| 4588 | of the member list and open changed. | 4588 | (CHECK_FONT_GET_OBJECT): Likewise. |
| 4589 | (enable_font_backend, font_symbolic_weight, font_symbolic_slant) | 4589 | (XFONT_SPEC, XFONT_ENTITY, XFONT_OBJECT, XSETFONT): New macros. |
| 4590 | (font_symbolic_width, font_find_object, font_get_spec) | 4590 | (PT_PER_INCH, POINT_TO_PIXEL, PIXEL_TO_POINT): Moved from font.h. |
| 4591 | (font_set_lface_from_name): Delete extern. | 4591 | (struct font_driver): New members case_sensitive anc check. Type |
| 4592 | (Fcopy_font_spec, Fmerge_font_spec, Ffont_family_list): New EXFUNs. | 4592 | of the member list and open changed. |
| 4593 | 4593 | (enable_font_backend, font_symbolic_weight, font_symbolic_slant) | |
| 4594 | * font.c: Include <strings.h>. | 4594 | (font_symbolic_width, font_find_object, font_get_spec) |
| 4595 | (enable_font_backend): Delete it. | 4595 | (font_set_lface_from_name): Delete extern. |
| 4596 | (Qfont_spec, Qfont_entity, Qfont_object): New variables. | 4596 | (Fcopy_font_spec, Fmerge_font_spec, Ffont_family_list): New EXFUNs. |
| 4597 | (CHECK_VALIDATE_FONT_SPEC): Delete it. | 4597 | |
| 4598 | (PT_PER_INCH, POINT_TO_PIXEL, PIXEL_TO_POINT): Moved to font.h. | 4598 | * font.c: Include <strings.h>. |
| 4599 | (null_string): Delete it. | 4599 | (enable_font_backend): Delete it. |
| 4600 | (null_vector): Make it static. | 4600 | (Qfont_spec, Qfont_entity, Qfont_object): New variables. |
| 4601 | (font_family_alist): Delete it. | 4601 | (CHECK_VALIDATE_FONT_SPEC): Delete it. |
| 4602 | (Qnormal): Extern it. | 4602 | (PT_PER_INCH, POINT_TO_PIXEL, PIXEL_TO_POINT): Moved to font.h. |
| 4603 | (QCextra, QClanguage): Delete it. | 4603 | (null_string): Delete it. |
| 4604 | (QClang, QCavgwidth, QCfont_entity, QCfc_unknown_spec): New variables. | 4604 | (null_vector): Make it static. |
| 4605 | (font_make_spec, font_make_entity, font_make_object) | 4605 | (font_family_alist): Delete it. |
| 4606 | (font_intern_prop): Renamed from intern_downcase. Don't downcase | 4606 | (Qnormal): Extern it. |
| 4607 | the string. Callers changed. | 4607 | (QCextra, QClanguage): Delete it. |
| 4608 | (font_pixel_size): Adjusted for the format change of font-related | 4608 | (QClang, QCavgwidth, QCfont_entity, QCfc_unknown_spec): New variables. |
| 4609 | objects. | 4609 | (font_make_spec, font_make_entity, font_make_object) |
| 4610 | (prop_name_to_numeric, prop_numeric_to_name): Delete them. | 4610 | (font_intern_prop): Renamed from intern_downcase. Don't downcase |
| 4611 | (font_style_to_value, font_style_symbolic): New function. | 4611 | the string. Callers changed. |
| 4612 | (build_font_family_alist): Delete it. | 4612 | (font_pixel_size): Adjusted for the format change of font-related |
| 4613 | (font_registry_charsets): Use Fassoc_string instead of | 4613 | objects. |
| 4614 | assq_no_quit. | 4614 | (prop_name_to_numeric, prop_numeric_to_name): Delete them. |
| 4615 | (font_prop_validate_symbol): Don't return null_string. | 4615 | (font_style_to_value, font_style_symbolic): New function. |
| 4616 | (font_prop_validate_style): Adjusted for the change of | 4616 | (build_font_family_alist): Delete it. |
| 4617 | style-related values in a font vector. | 4617 | (font_registry_charsets): Use Fassoc_string instead of |
| 4618 | (font_property_table): Delete entries for QClanguage and | 4618 | assq_no_quit. |
| 4619 | QCantialias, add entries for QCavgwidth. | 4619 | (font_prop_validate_symbol): Don't return null_string. |
| 4620 | (get_font_prop_index): Delete the 2nd argument FROM. | 4620 | (font_prop_validate_style): Adjusted for the change of |
| 4621 | (font_prop_validate): Arguments changed. | 4621 | style-related values in a font vector. |
| 4622 | (font_put_extra): Adjusted for the change of font-related objects. | 4622 | (font_property_table): Delete entries for QClanguage and |
| 4623 | (font_expand_wildcards, font_parse_xlfd, font_unparse_xlfd) | 4623 | QCantialias, add entries for QCavgwidth. |
| 4624 | (font_parse_fcname, font_unparse_fcname) | 4624 | (get_font_prop_index): Delete the 2nd argument FROM. |
| 4625 | (font_prepare_composition): Likewise. | 4625 | (font_prop_validate): Arguments changed. |
| 4626 | (font_parse_family_registry): Renamed from font_merge_old_spec. | 4626 | (font_put_extra): Adjusted for the change of font-related objects. |
| 4627 | (otf_open): Delete the 1st arg entity. | 4627 | (font_expand_wildcards, font_parse_xlfd, font_unparse_xlfd) |
| 4628 | (font_otf_capability): Adjusted for the above change. | 4628 | (font_parse_fcname, font_unparse_fcname) |
| 4629 | (font_score): New arg alternate_families. Adjusted for the change | 4629 | (font_prepare_composition): Likewise. |
| 4630 | of font-related objects. | 4630 | (font_parse_family_registry): Renamed from font_merge_old_spec. |
| 4631 | (font_sort_entites): New arg best_only. | 4631 | (otf_open): Delete the 1st arg entity. |
| 4632 | (font_symbolic_weight, font_symbolic_slant, font_symbolic_width): | 4632 | (font_otf_capability): Adjusted for the above change. |
| 4633 | Delete them. | 4633 | (font_score): New arg alternate_families. Adjusted for the change |
| 4634 | (font_match_p): Check alternate families. | 4634 | of font-related objects. |
| 4635 | (font_find_object): Delete it. | 4635 | (font_sort_entites): New arg best_only. |
| 4636 | (font_check_object): New function. | 4636 | (font_symbolic_weight, font_symbolic_slant, font_symbolic_width): |
| 4637 | (font_clear_cache): Adjusted for the change of font-related objects. | 4637 | Delete them. |
| 4638 | (font_delete_unmatched): New arg. | 4638 | (font_match_p): Check alternate families. |
| 4639 | (font_list_entities): Call font_driver->list with a spec that | 4639 | (font_find_object): Delete it. |
| 4640 | doesn't specify style-related properties. | 4640 | (font_check_object): New function. |
| 4641 | (font_matching_entity): Arguments changed. Caller changed. | 4641 | (font_clear_cache): Adjusted for the change of font-related objects. |
| 4642 | (font_open_entity): Adjusted for the change of font-related objects. | 4642 | (font_delete_unmatched): New arg. |
| 4643 | (font_close_object, font_has_char, font_encode_char) | 4643 | (font_list_entities): Call font_driver->list with a spec that |
| 4644 | (font_get_name, font_get_spec): Likewise. | 4644 | doesn't specify style-related properties. |
| 4645 | (font_spec_from_name, font_clear_prop, font_update_lface): | 4645 | (font_matching_entity): Arguments changed. Caller changed. |
| 4646 | New functions. | 4646 | (font_open_entity): Adjusted for the change of font-related objects. |
| 4647 | (font_find_for_lface, font_open_for_lface, font_load_for_lface) | 4647 | (font_close_object, font_has_char, font_encode_char) |
| 4648 | (font_prepare_for_face, font_done_for_face, font_open_by_name) | 4648 | (font_get_name, font_get_spec): Likewise. |
| 4649 | (font_at): Adjusted for the change of font-related objects. | 4649 | (font_spec_from_name, font_clear_prop, font_update_lface): |
| 4650 | (font_range): New function. | 4650 | New functions. |
| 4651 | (Ffontp, Ffont_spec, Ffont_get, Ffont_put, Flist_fonts) | 4651 | (font_find_for_lface, font_open_for_lface, font_load_for_lface) |
| 4652 | (Ffont_xlfd_name): Adjusted for the change of font-related objects. | 4652 | (font_prepare_for_face, font_done_for_face, font_open_by_name) |
| 4653 | (Fcopy_font_spec, Fmerge_font_spec): New function. | 4653 | (font_at): Adjusted for the change of font-related objects. |
| 4654 | (Ffont_family_list): Renamed from list-families. | 4654 | (font_range): New function. |
| 4655 | (Finternal_set_font_style_table): Arguments changed. | 4655 | (Ffontp, Ffont_spec, Ffont_get, Ffont_put, Flist_fonts) |
| 4656 | (Ffont_fill_gstring, Ffont_shape_text, Fopen_font) | 4656 | (Ffont_xlfd_name): Adjusted for the change of font-related objects. |
| 4657 | (Ffont_drive_otf, Fquery_font, Ffont_match_p): Adjusted for the | 4657 | (Fcopy_font_spec, Fmerge_font_spec): New function. |
| 4658 | change of font-related objects. | 4658 | (Ffont_family_list): Renamed from list-families. |
| 4659 | (syms_of_font): Delete "ifdef USE_FONT_BACKEND". DEFSYM new symbols. | 4659 | (Finternal_set_font_style_table): Arguments changed. |
| 4660 | 4660 | (Ffont_fill_gstring, Ffont_shape_text, Fopen_font) | |
| 4661 | * fontset.h (struct font_info): Delete it. Most members go to | 4661 | (Ffont_drive_otf, Fquery_font, Ffont_match_p): Adjusted for the |
| 4662 | struct font. | 4662 | change of font-related objects. |
| 4663 | (FONT_ENCODING_NOT_DECIDED): Moved to font.h. | 4663 | (syms_of_font): Delete "ifdef USE_FONT_BACKEND". DEFSYM new symbols. |
| 4664 | (enum FONT_SPEC_INDEX): Delete it. | 4664 | |
| 4665 | (font_info, list_fonts_func, load_font_func, query_font_func) | 4665 | * fontset.h (struct font_info): Delete it. Most members go to |
| 4666 | (set_frame_fontset_func, find_ccl_program_func) | 4666 | struct font. |
| 4667 | (get_font_repertory_func, new_fontset_from_font_name): Delete | 4667 | (FONT_ENCODING_NOT_DECIDED): Moved to font.h. |
| 4668 | externs. | 4668 | (enum FONT_SPEC_INDEX): Delete it. |
| 4669 | (fontset_from_font_name): Extern it. | 4669 | (font_info, list_fonts_func, load_font_func, query_font_func) |
| 4670 | (FS_LOAD_FONT, FONT_INFO_ID, FONT_INFO_FROM_ID) | 4670 | (set_frame_fontset_func, find_ccl_program_func) |
| 4671 | (FONT_INFO_FROM_FACE): Deleted. | 4671 | (get_font_repertory_func, new_fontset_from_font_name): Delete |
| 4672 | (face_for_font): Adjust prototype. | 4672 | externs. |
| 4673 | 4673 | (fontset_from_font_name): Extern it. | |
| 4674 | * fontset.c: Throughout the file, delete all USE_FONT_BACKEND | 4674 | (FS_LOAD_FONT, FONT_INFO_ID, FONT_INFO_FROM_ID) |
| 4675 | conditionals. Don't check enable_font_backend. Delete all codes | 4675 | (FONT_INFO_FROM_FACE): Deleted. |
| 4676 | used only when USE_FONT_BACKEND is not defined. | 4676 | (face_for_font): Adjust prototype. |
| 4677 | (get_font_info_func, list_font_func, load_font_func) | 4677 | |
| 4678 | (query_font_func, set_frame_fontset_func, find_ccl_program_func) | 4678 | * fontset.c: Throughout the file, delete all USE_FONT_BACKEND |
| 4679 | (get_font_repertory_func): Delete them. | 4679 | conditionals. Don't check enable_font_backend. Delete all codes |
| 4680 | (FONTSET_SPEC, FONT_DEF_NEW, FONT_DEF_SPEC, FONT_DEF_ENCODING) | 4680 | used only when USE_FONT_BACKEND is not defined. |
| 4681 | (FONT_DEF_REPERTORY, RFONT_DEF_FACE, RFONT_DEF_SET_FACE) | 4681 | (get_font_info_func, list_font_func, load_font_func) |
| 4682 | (RFONT_DEF_FONT_DEF, RFONT_DEF_SPEC, RFONT_DEF_REPERTORY) | 4682 | (query_font_func, set_frame_fontset_func, find_ccl_program_func) |
| 4683 | (RFONT_DEF_OBJECT, RFONT_DEF_SET_OBJECT, RFONT_DEF_SCORE) | 4683 | (get_font_repertory_func): Delete them. |
| 4684 | (RFONT_DEF_SET_SCORE, RFONT_DEF_NEW): New macros. | 4684 | (FONTSET_SPEC, FONT_DEF_NEW, FONT_DEF_SPEC, FONT_DEF_ENCODING) |
| 4685 | (fontset_compare_rfontdef): New function. | 4685 | (FONT_DEF_REPERTORY, RFONT_DEF_FACE, RFONT_DEF_SET_FACE) |
| 4686 | (reorder_font_vector): Remove the argument CHARSET-ID. Sort | 4686 | (RFONT_DEF_FONT_DEF, RFONT_DEF_SPEC, RFONT_DEF_REPERTORY) |
| 4687 | rfont-defs by qsort. Adjusted for the change of font-group vector. | 4687 | (RFONT_DEF_OBJECT, RFONT_DEF_SET_OBJECT, RFONT_DEF_SCORE) |
| 4688 | (load_font_get_repertory): Deleted. | 4688 | (RFONT_DEF_SET_SCORE, RFONT_DEF_NEW): New macros. |
| 4689 | (fontset_find_font): Use new macros to ref/set elements of | 4689 | (fontset_compare_rfontdef): New function. |
| 4690 | font-def and rfont-def. | 4690 | (reorder_font_vector): Remove the argument CHARSET-ID. Sort |
| 4691 | (fontset_font): Fix the timing of remembering that no font for C. | 4691 | rfont-defs by qsort. Adjusted for the change of font-group vector. |
| 4692 | (free_face_fontset): Do nothing if the face has no fontset. | 4692 | (load_font_get_repertory): Deleted. |
| 4693 | (face_suitable_for_char_p): Use new macros to ref/set elements of | 4693 | (fontset_find_font): Use new macros to ref/set elements of |
| 4694 | rfont-def. | 4694 | font-def and rfont-def. |
| 4695 | (face_for_char): Likewise. Call face_for_char with font_object. | 4695 | (fontset_font): Fix the timing of remembering that no font for C. |
| 4696 | (fs_load_font): Delete. Delete #pragma surrounding it. | 4696 | (free_face_fontset): Do nothing if the face has no fontset. |
| 4697 | (fs_query_fontset): Use strcasecmp instead of strcmp. | 4697 | (face_suitable_for_char_p): Use new macros to ref/set elements of |
| 4698 | (generate_ascii_font_name): Adjusted for the format change of | 4698 | rfont-def. |
| 4699 | font-spec. | 4699 | (face_for_char): Likewise. Call face_for_char with font_object. |
| 4700 | (Fset_fontset_font): Likewise. Use new macros to set elements of | 4700 | (fs_load_font): Delete. Delete #pragma surrounding it. |
| 4701 | font-def. | 4701 | (fs_query_fontset): Use strcasecmp instead of strcmp. |
| 4702 | (Fnew_fontset): Use font_unparse_xlfd to generate | 4702 | (generate_ascii_font_name): Adjusted for the format change of |
| 4703 | FONTSET_ASCII (fontset). | 4703 | font-spec. |
| 4704 | (new_fontset_from_font_name): Deleted. | 4704 | (Fset_fontset_font): Likewise. Use new macros to set elements of |
| 4705 | (fontset_from_font): Renamed from new_fontset_from_font. Check if | 4705 | font-def. |
| 4706 | a fontset is already created for the font. FIx updating of | 4706 | (Fnew_fontset): Use font_unparse_xlfd to generate |
| 4707 | Vfontset_alias_alist. | 4707 | FONTSET_ASCII (fontset). |
| 4708 | (fontset_ascii_font): Deleted. | 4708 | (new_fontset_from_font_name): Deleted. |
| 4709 | (Ffont_info): Adjusted for the format change of font-spec. | 4709 | (fontset_from_font): Renamed from new_fontset_from_font. Check if |
| 4710 | (Finternal_char_font): Likewise. | 4710 | a fontset is already created for the font. FIx updating of |
| 4711 | (Ffontset_info): Likewise. | 4711 | Vfontset_alias_alist. |
| 4712 | (syms_of_fontset): Don't check load_font_func. | 4712 | (fontset_ascii_font): Deleted. |
| 4713 | 4713 | (Ffont_info): Adjusted for the format change of font-spec. | |
| 4714 | * fns.c (internal_equal): Handle PREV_FONT. | 4714 | (Finternal_char_font): Likewise. |
| 4715 | 4715 | (Ffontset_info): Likewise. | |
| 4716 | * frame.h: Delete USE_FONT_BACKEND conditional. | 4716 | (syms_of_fontset): Don't check load_font_func. |
| 4717 | 4717 | ||
| 4718 | * frame.c: Throughout the file, delete all USE_FONT_BACKEND | 4718 | * fns.c (internal_equal): Handle PREV_FONT. |
| 4719 | conditionals. Don't check enable_font_backend. Delete all codes | 4719 | |
| 4720 | used only when USE_FONT_BACKEND is not defined. | 4720 | * frame.h: Delete USE_FONT_BACKEND conditional. |
| 4721 | (x_set_font): Call x_new_font, not x_new_fontset2. | 4721 | |
| 4722 | (x_set_font_backend): Use FRAME_FONT macro to check if a font is | 4722 | * frame.c: Throughout the file, delete all USE_FONT_BACKEND |
| 4723 | already set for the frame. | 4723 | conditionals. Don't check enable_font_backend. Delete all codes |
| 4724 | 4724 | used only when USE_FONT_BACKEND is not defined. | |
| 4725 | * ftfont.c (ftfont_pattern_entity): Argument FRAME removed. Make | 4725 | (x_set_font): Call x_new_font, not x_new_fontset2. |
| 4726 | a font-entity by font_make_entity. Use font_intern_prop instead | 4726 | (x_set_font_backend): Use FRAME_FONT macro to check if a font is |
| 4727 | of intern_downcase. Use FONT_SET_STYLE to set a style-related | 4727 | already set for the frame. |
| 4728 | font property. If a font is scalable, set avgwidth property to 0. | 4728 | |
| 4729 | Set font-entity property by font_put_extra. | 4729 | * ftfont.c (ftfont_pattern_entity): Argument FRAME removed. Make |
| 4730 | (ftfont_list_generic_family): Argument SPEC and REGISTRY removed. | 4730 | a font-entity by font_make_entity. Use font_intern_prop instead |
| 4731 | (ffont_driver): Adjusted for the change of struct font_driver. | 4731 | of intern_downcase. Use FONT_SET_STYLE to set a style-related |
| 4732 | (ftfont_spec_pattern): New function. | 4732 | font property. If a font is scalable, set avgwidth property to 0. |
| 4733 | (ftfont_list): Return a list, not vector. | 4733 | Set font-entity property by font_put_extra. |
| 4734 | (ftfont_match): Use ftfont_spec_pattern to get a pattern. | 4734 | (ftfont_list_generic_family): Argument SPEC and REGISTRY removed. |
| 4735 | (ftfont_list_family): Don't downcase names. | 4735 | (ffont_driver): Adjusted for the change of struct font_driver. |
| 4736 | (ftfont_free_entity): Deleted. | 4736 | (ftfont_spec_pattern): New function. |
| 4737 | (ftfont_open): Return a font-object. Adjusted for the change of | 4737 | (ftfont_list): Return a list, not vector. |
| 4738 | struct font. Get underline_thickness and underline_position from | 4738 | (ftfont_match): Use ftfont_spec_pattern to get a pattern. |
| 4739 | font property. Don't update dpyinfo->smallest_font_height and | 4739 | (ftfont_list_family): Don't downcase names. |
| 4740 | dpyinfo->smallest_char_width. | 4740 | (ftfont_free_entity): Deleted. |
| 4741 | (ftfont_close): Don't free `struct font'. | 4741 | (ftfont_open): Return a font-object. Adjusted for the change of |
| 4742 | (ftfont_has_char): Adjusted for the format change of font-entity. | 4742 | struct font. Get underline_thickness and underline_position from |
| 4743 | (ftfont_encode_char, ftfont_text_extents): Likewise. | 4743 | font property. Don't update dpyinfo->smallest_font_height and |
| 4744 | 4744 | dpyinfo->smallest_char_width. | |
| 4745 | * ftxfont.c (ftxfont_list): Return a list, not vector. | 4745 | (ftfont_close): Don't free `struct font'. |
| 4746 | (ftxfont_open): Return a font-object. Adjusted for the change of | 4746 | (ftfont_has_char): Adjusted for the format change of font-entity. |
| 4747 | struct font. Get underline_thickness and underline_position from | 4747 | (ftfont_encode_char, ftfont_text_extents): Likewise. |
| 4748 | font property. Don't update dpyinfo->smallest_font_height and | 4748 | |
| 4749 | dpyinfo->smallest_char_width. | 4749 | * ftxfont.c (ftxfont_list): Return a list, not vector. |
| 4750 | (ftxfont_close): Don't decrease FRAME_X_DISPLAY_INFO (f)->n_fonts. | 4750 | (ftxfont_open): Return a font-object. Adjusted for the change of |
| 4751 | (ftxfont_draw): Adjusted for the change of struct font. | 4751 | struct font. Get underline_thickness and underline_position from |
| 4752 | 4752 | font property. Don't update dpyinfo->smallest_font_height and | |
| 4753 | * image.c (image_ascent): Don't include "charset.h". Include | 4753 | dpyinfo->smallest_char_width. |
| 4754 | "character.h" and "font.h". | 4754 | (ftxfont_close): Don't decrease FRAME_X_DISPLAY_INFO (f)->n_fonts. |
| 4755 | 4755 | (ftxfont_draw): Adjusted for the change of struct font. | |
| 4756 | * lisp.h (enum pvec_type): New member PREV_FONT. | 4756 | |
| 4757 | (Fassoc_string): EXFUN it. | 4757 | * image.c (image_ascent): Don't include "charset.h". Include |
| 4758 | 4758 | "character.h" and "font.h". | |
| 4759 | * print.c: Include font.h. | 4759 | |
| 4760 | (print_object): Handle font-related objects. | 4760 | * lisp.h (enum pvec_type): New member PREV_FONT. |
| 4761 | 4761 | (Fassoc_string): EXFUN it. | |
| 4762 | * xdisp.c: Throughout the file, delete all USE_FONT_BACKEND | 4762 | |
| 4763 | conditionals. Don't check enable_font_backend. Delete all codes | 4763 | * print.c: Include font.h. |
| 4764 | used only when USE_FONT_BACKEND is not defined. | 4764 | (print_object): Handle font-related objects. |
| 4765 | (handle_auto_composed_prop): Do nothing if it->f is not on a | 4765 | |
| 4766 | window system. Check how many following characters can be | 4766 | * xdisp.c: Throughout the file, delete all USE_FONT_BACKEND |
| 4767 | displayed by the same font. | 4767 | conditionals. Don't check enable_font_backend. Delete all codes |
| 4768 | (calc_pixel_width_or_height): Type of the 4th arg is changed to | 4768 | used only when USE_FONT_BACKEND is not defined. |
| 4769 | 'struct font *'. | 4769 | (handle_auto_composed_prop): Do nothing if it->f is not on a |
| 4770 | (get_char_face_and_encoding): Assign the whole encoding task to | 4770 | window system. Check how many following characters can be |
| 4771 | the `encode-char' method of a font driver. | 4771 | displayed by the same font. |
| 4772 | (fill_composite_glyph_string): Adjusted for the change of `struct | 4772 | (calc_pixel_width_or_height): Type of the 4th arg is changed to |
| 4773 | face' and `struct glyph_string'. | 4773 | 'struct font *'. |
| 4774 | (fill_glyph_string): Likewise. | 4774 | (get_char_face_and_encoding): Assign the whole encoding task to |
| 4775 | (get_per_char_metric): Arguments changed. | 4775 | the `encode-char' method of a font driver. |
| 4776 | (x_get_glyph_overhangs): Adjusted for the change of `struct face' | 4776 | (fill_composite_glyph_string): Adjusted for the change of `struct |
| 4777 | and `struct glyph_string'. | 4777 | face' and `struct glyph_string'. |
| 4778 | (produce_stretch_glyph, calc_line_height_property) | 4778 | (fill_glyph_string): Likewise. |
| 4779 | (x_produce_glyphs): Likewise. | 4779 | (get_per_char_metric): Arguments changed. |
| 4780 | 4780 | (x_get_glyph_overhangs): Adjusted for the change of `struct face' | |
| 4781 | * xfaces.c: Throughout the file, delete all USE_FONT_BACKEND | 4781 | and `struct glyph_string'. |
| 4782 | conditionals. Don't check enable_font_backend. Delete all codes | 4782 | (produce_stretch_glyph, calc_line_height_property) |
| 4783 | used only when USE_FONT_BACKEND is not defined. Use | 4783 | (x_produce_glyphs): Likewise. |
| 4784 | FONT_XXX_NAME_NUMERIC instead of face_numeric_xxx. | 4784 | |
| 4785 | (QCfoundry, QCadstyle, QCregistry, QCspacing, QCsize, QCavgwidth) | 4785 | * xfaces.c: Throughout the file, delete all USE_FONT_BACKEND |
| 4786 | (Qp): Extern them. | 4786 | conditionals. Don't check enable_font_backend. Delete all codes |
| 4787 | (clear_font_table, load_face_font, xlfd_lookup_field_contents): | 4787 | used only when USE_FONT_BACKEND is not defined. Use |
| 4788 | Deleted. | 4788 | FONT_XXX_NAME_NUMERIC instead of face_numeric_xxx. |
| 4789 | (struct font_name): Deleted. | 4789 | (QCfoundry, QCadstyle, QCregistry, QCspacing, QCsize, QCavgwidth) |
| 4790 | (xlfd_numeric_value, xlfd_symbolic_value): Deleted. | 4790 | (Qp): Extern them. |
| 4791 | (compare_fonts_by_sort_order): New function. | 4791 | (clear_font_table, load_face_font, xlfd_lookup_field_contents): |
| 4792 | (xlfd_numeric_slant, xlfd_symbolic_slant, xlfd_numeric_weight) | 4792 | Deleted. |
| 4793 | (xlfd_symbolic_weight, xlfd_numeric_swidth, xlfd_symbolic_swidth): | 4793 | (struct font_name): Deleted. |
| 4794 | Deleted. | 4794 | (xlfd_numeric_value, xlfd_symbolic_value): Deleted. |
| 4795 | (Fx_family_fonts): Use font_list_entities, and sort fonts by | 4795 | (compare_fonts_by_sort_order): New function. |
| 4796 | compare_fonts_by_sort_order. | 4796 | (xlfd_numeric_slant, xlfd_symbolic_slant, xlfd_numeric_weight) |
| 4797 | (Fx_font_family_list): Call Ffont_family_list. | 4797 | (xlfd_symbolic_weight, xlfd_numeric_swidth, xlfd_symbolic_swidth): |
| 4798 | (face_numeric_value, face_numeric_weight, face_numeric_slant) | 4798 | Deleted. |
| 4799 | (face_numeric_swidth, face_symbolic_value, face_symbolic_weight) | 4799 | (Fx_family_fonts): Use font_list_entities, and sort fonts by |
| 4800 | (face_symbolic_slant, face_symbolic_swidth) | 4800 | compare_fonts_by_sort_order. |
| 4801 | (split_font_name_into_vector, build_font_name_from_vector) | 4801 | (Fx_font_family_list): Call Ffont_family_list. |
| 4802 | (xlfd_fixed_p, xlfd_point_size, pixel_point_size) | 4802 | (face_numeric_value, face_numeric_weight, face_numeric_slant) |
| 4803 | (font_rescale_ratio, split_font_name, build_font_name) | 4803 | (face_numeric_swidth, face_symbolic_value, face_symbolic_weight) |
| 4804 | (free_font_names, sort_fonts, x_face_list_fonts) | 4804 | (face_symbolic_slant, face_symbolic_swidth) |
| 4805 | (face_font_available_p, sorted_font_list, cmp_font_names) | 4805 | (split_font_name_into_vector, build_font_name_from_vector) |
| 4806 | (font_list_1, concat_font_list, font_list, remove_duplicates): | 4806 | (xlfd_fixed_p, xlfd_point_size, pixel_point_size) |
| 4807 | Deleted. | 4807 | (font_rescale_ratio, split_font_name, build_font_name) |
| 4808 | (Fx_list_fonts): Use Ffont_list. | 4808 | (free_font_names, sort_fonts, x_face_list_fonts) |
| 4809 | (LFACE_AVGWIDTH): Deleted. | 4809 | (face_font_available_p, sorted_font_list, cmp_font_names) |
| 4810 | (check_lface_attrs): Don't check LFACE_AVGWIDTH. Check LFACE_FONT | 4810 | (font_list_1, concat_font_list, font_list, remove_duplicates): |
| 4811 | by FONTP. | 4811 | Deleted. |
| 4812 | (lface_fully_specified_p): Don't check LFACE_AVGWIDTH. | 4812 | (Fx_list_fonts): Use Ffont_list. |
| 4813 | (set_lface_from_font_name): Delete it. | 4813 | (LFACE_AVGWIDTH): Deleted. |
| 4814 | (set_lface_from_font): Renamed from | 4814 | (check_lface_attrs): Don't check LFACE_AVGWIDTH. Check LFACE_FONT |
| 4815 | set_lface_from_font_and_fontset. Caller changed. Don't set | 4815 | by FONTP. |
| 4816 | LFACE_AVGWIDTH. Use FONT_XXX_FOR_FACE to get a symbol suitable | 4816 | (lface_fully_specified_p): Don't check LFACE_AVGWIDTH. |
| 4817 | for face. | 4817 | (set_lface_from_font_name): Delete it. |
| 4818 | (merge_face_vectors): Copy font-spec if necessary. | 4818 | (set_lface_from_font): Renamed from |
| 4819 | Clear properties of the font-spec if necessary. | 4819 | set_lface_from_font_and_fontset. Caller changed. Don't set |
| 4820 | (merge_face_ref): Clear properties of the font-spec if necessary. | 4820 | LFACE_AVGWIDTH. Use FONT_XXX_FOR_FACE to get a symbol suitable |
| 4821 | (Finternal_set_lisp_face_attribute): Likewise. | 4821 | for face. |
| 4822 | (set_font_frame_param): Use font_load_for_lface to load a | 4822 | (merge_face_vectors): Copy font-spec if necessary. |
| 4823 | font-object, and call Fmodify_frame_parameters with it. | 4823 | Clear properties of the font-spec if necessary. |
| 4824 | (x_update_menu_appearance): Don't check LFACE_AVGWIDTH. Get XLFD | 4824 | (merge_face_ref): Clear properties of the font-spec if necessary. |
| 4825 | font name by Ffont_xlfd_name. | 4825 | (Finternal_set_lisp_face_attribute): Likewise. |
| 4826 | (Finternal_lisp_face_attribute_values): Don't check QCweight, | 4826 | (set_font_frame_param): Use font_load_for_lface to load a |
| 4827 | QCslant, and QCwidth. | 4827 | font-object, and call Fmodify_frame_parameters with it. |
| 4828 | (Fface_font): Get a font name from font->props[FONT_NAME_INDEX]. | 4828 | (x_update_menu_appearance): Don't check LFACE_AVGWIDTH. Get XLFD |
| 4829 | (lface_same_font_attributes_p): Don't check LFACE_AVGWIDTH. | 4829 | font name by Ffont_xlfd_name. |
| 4830 | Compare fonts by EQ. | 4830 | (Finternal_lisp_face_attribute_values): Don't check QCweight, |
| 4831 | (lookup_non_ascii_face): Deleted. | 4831 | QCslant, and QCwidth. |
| 4832 | (face_for_font): The 2nd argument changed. | 4832 | (Fface_font): Get a font name from font->props[FONT_NAME_INDEX]. |
| 4833 | (x_supports_face_attributes_p): Don't check LFACE_AVGWIDTH. | 4833 | (lface_same_font_attributes_p): Don't check LFACE_AVGWIDTH. |
| 4834 | Check atomic font properties by case insensitive. | 4834 | Compare fonts by EQ. |
| 4835 | (realize_non_ascii_face): Set face->overstrike correctly. | 4835 | (lookup_non_ascii_face): Deleted. |
| 4836 | (realize_x_face): Likewise. Check if LFACE_FONT is a font_object. | 4836 | (face_for_font): The 2nd argument changed. |
| 4837 | (dump_realized_face): Get font name from | 4837 | (x_supports_face_attributes_p): Don't check LFACE_AVGWIDTH. |
| 4838 | font->props[FONT_NAME_INDEX]. Don't print font_info_id. | 4838 | Check atomic font properties by case insensitive. |
| 4839 | 4839 | (realize_non_ascii_face): Set face->overstrike correctly. | |
| 4840 | * xfns.c: Throughout the file, delete all USE_FONT_BACKEND | 4840 | (realize_x_face): Likewise. Check if LFACE_FONT is a font_object. |
| 4841 | conditionals. Don't check enable_font_backend. Delete all codes | 4841 | (dump_realized_face): Get font name from |
| 4842 | used only when USE_FONT_BACKEND is not defined. | 4842 | font->props[FONT_NAME_INDEX]. Don't print font_info_id. |
| 4843 | (xic_create_xfontset): Original code deleted and renamed from | 4843 | |
| 4844 | xic_create_xfontset2. Use FRAME_FONT, not FRAME_FONT_OBJECT. | 4844 | * xfns.c: Throughout the file, delete all USE_FONT_BACKEND |
| 4845 | (x_make_gc): Don't set GCFont in GCs. | 4845 | conditionals. Don't check enable_font_backend. Delete all codes |
| 4846 | (Fx_create_frame) [USE_LUCID]: Set xlwmenu_default_font to a font | 4846 | used only when USE_FONT_BACKEND is not defined. |
| 4847 | opened by "fixed". | 4847 | (xic_create_xfontset): Original code deleted and renamed from |
| 4848 | (syms_of_xfns): Don't set get_font_info_func, load_font_func, | 4848 | xic_create_xfontset2. Use FRAME_FONT, not FRAME_FONT_OBJECT. |
| 4849 | find_ccl_program_func, query_font_func, set_frame_fontset_func, | 4849 | (x_make_gc): Don't set GCFont in GCs. |
| 4850 | get_font_repertory_func. | 4850 | (Fx_create_frame) [USE_LUCID]: Set xlwmenu_default_font to a font |
| 4851 | 4851 | opened by "fixed". | |
| 4852 | * xfont.c: Include <stdlib.h> and "ccl.h". | 4852 | (syms_of_xfns): Don't set get_font_info_func, load_font_func, |
| 4853 | (struct xfont_info): New structure. | 4853 | find_ccl_program_func, query_font_func, set_frame_fontset_func, |
| 4854 | (xfont_query_font): Deleted. | 4854 | get_font_repertory_func. |
| 4855 | (xfont_find_ccl_program): Renamed from x_find_ccl_program and | 4855 | |
| 4856 | moved from xterm.c. | 4856 | * xfont.c: Include <stdlib.h> and "ccl.h". |
| 4857 | (xfont_driver): Adjusted for the change of struct font_driver. | 4857 | (struct xfont_info): New structure. |
| 4858 | (compare_font_names): New function. | 4858 | (xfont_query_font): Deleted. |
| 4859 | (xfont_list_pattern): Sort font names case insensitively. Make | 4859 | (xfont_find_ccl_program): Renamed from x_find_ccl_program and |
| 4860 | font_entity by calling font_make_entity. Avoid auto-scaled fonts. | 4860 | moved from xterm.c. |
| 4861 | (xfont_list): Return a list, not vector. | 4861 | (xfont_driver): Adjusted for the change of struct font_driver. |
| 4862 | (xfont_match): If the font doesn't have QCname property, generate | 4862 | (compare_font_names): New function. |
| 4863 | a name from the other font properties. | 4863 | (xfont_list_pattern): Sort font names case insensitively. Make |
| 4864 | (xfont_open): Return a font-object. Adjusted for the change of | 4864 | font_entity by calling font_make_entity. Avoid auto-scaled fonts. |
| 4865 | struct font. Get underline_thickness and underline_position from | 4865 | (xfont_list): Return a list, not vector. |
| 4866 | font property. Don't update dpyinfo->smallest_font_height and | 4866 | (xfont_match): If the font doesn't have QCname property, generate |
| 4867 | dpyinfo->smallest_char_width. | 4867 | a name from the other font properties. |
| 4868 | (xfont_close): Don't free struct font. | 4868 | (xfont_open): Return a font-object. Adjusted for the change of |
| 4869 | (xfont_prepare_face): Adjusted for the change of struct font. | 4869 | struct font. Get underline_thickness and underline_position from |
| 4870 | (xfont_done_face): Deleted. | 4870 | font property. Don't update dpyinfo->smallest_font_height and |
| 4871 | (xfont_has_char): Adjusted for the change of struct font. | 4871 | dpyinfo->smallest_char_width. |
| 4872 | (xfont_encode_char, xfont_draw): Likewise. | 4872 | (xfont_close): Don't free struct font. |
| 4873 | (xfont_check): New function. | 4873 | (xfont_prepare_face): Adjusted for the change of struct font. |
| 4874 | 4874 | (xfont_done_face): Deleted. | |
| 4875 | * xftfont.c (xftfont_list): Adjusted for the change of `list' | 4875 | (xfont_has_char): Adjusted for the change of struct font. |
| 4876 | callback function. | 4876 | (xfont_encode_char, xfont_draw): Likewise. |
| 4877 | (xftfont_match): Adjusted for the format change of font-entity. | 4877 | (xfont_check): New function. |
| 4878 | (xftfont_open): Adjusted for the format change of font-entity and | 4878 | |
| 4879 | font-object. Adjusted for the change of struct font. Return a | 4879 | * xftfont.c (xftfont_list): Adjusted for the change of `list' |
| 4880 | font-object. Don't update dpyinfo->smallest_font_height and | 4880 | callback function. |
| 4881 | dpyinfo->smallest_char_width. | 4881 | (xftfont_match): Adjusted for the format change of font-entity. |
| 4882 | (xftfont_close): Block input while calling XftFontClose. | 4882 | (xftfont_open): Adjusted for the format change of font-entity and |
| 4883 | (xftfont_prepare_face): Don't block input while calling | 4883 | font-object. Adjusted for the change of struct font. Return a |
| 4884 | xftfont_get_colors. Adjusted for the change of struct font. | 4884 | font-object. Don't update dpyinfo->smallest_font_height and |
| 4885 | (xftfont_shape): Return value of error case fixed. | 4885 | dpyinfo->smallest_char_width. |
| 4886 | 4886 | (xftfont_close): Block input while calling XftFontClose. | |
| 4887 | * xrdb.c (x_load_resources): Don't setup a fontset resource. | 4887 | (xftfont_prepare_face): Don't block input while calling |
| 4888 | 4888 | xftfont_get_colors. Adjusted for the change of struct font. | |
| 4889 | * xterm.h: Throughout the file, delete all USE_FONT_BACKEND | 4889 | (xftfont_shape): Return value of error case fixed. |
| 4890 | conditionals. | 4890 | |
| 4891 | (FONT_WIDTH): Return (f)->max_width. | 4891 | * xrdb.c (x_load_resources): Don't setup a fontset resource. |
| 4892 | (struct x_display_info): Delete member `font'. | 4892 | |
| 4893 | (x_list_fonts, x_get_font_info, x_load_font, x_query_font) | 4893 | * xterm.h: Throughout the file, delete all USE_FONT_BACKEND |
| 4894 | (x_find_ccl_program, x_get_font_repertory): Delete externs. | 4894 | conditionals. |
| 4895 | (struct x_output): Change type of `font' to `struct font *'. | 4895 | (FONT_WIDTH): Return (f)->max_width. |
| 4896 | 4896 | (struct x_display_info): Delete member `font'. | |
| 4897 | * xterm.c: Throughout the file, delete all USE_FONT_BACKEND | 4897 | (x_list_fonts, x_get_font_info, x_load_font, x_query_font) |
| 4898 | conditionals. Don't check enable_font_backend. Delete all codes | 4898 | (x_find_ccl_program, x_get_font_repertory): Delete externs. |
| 4899 | used only when USE_FONT_BACKEND is not defined. Don't include ccl.h. | 4899 | (struct x_output): Change type of `font' to `struct font *'. |
| 4900 | (x_per_char_metric, x_encode_char): Deleted. | 4900 | |
| 4901 | (x_set_cursor_gc, x_set_mouse_face_gc): Don't set GCFont. | 4901 | * xterm.c: Throughout the file, delete all USE_FONT_BACKEND |
| 4902 | (x_compute_glyph_string_overhangs): Adjusted for the change of | 4902 | conditionals. Don't check enable_font_backend. Delete all codes |
| 4903 | `struct face'. | 4903 | used only when USE_FONT_BACKEND is not defined. Don't include ccl.h. |
| 4904 | (x_draw_glyph_string_foreground) | 4904 | (x_per_char_metric, x_encode_char): Deleted. |
| 4905 | (x_draw_composite_glyph_string_foreground): Likewise. | 4905 | (x_set_cursor_gc, x_set_mouse_face_gc): Don't set GCFont. |
| 4906 | (x_draw_glyph_string): Likewise. Use font->underline_position and | 4906 | (x_compute_glyph_string_overhangs): Adjusted for the change of |
| 4907 | font->underline_thickness. | 4907 | `struct face'. |
| 4908 | (x_new_font): Renamed from x_new_fontset2. | 4908 | (x_draw_glyph_string_foreground) |
| 4909 | (x_new_fontset, x_get_font_info, x_list_fonts): Deleted. | 4909 | (x_draw_composite_glyph_string_foreground): Likewise. |
| 4910 | (x_check_font): Call `check' method of a font driver. | 4910 | (x_draw_glyph_string): Likewise. Use font->underline_position and |
| 4911 | (x_font_min_bounds, x_compute_min_glyph_bounds, x_load_font) | 4911 | font->underline_thickness. |
| 4912 | (x_query_font, x_get_font_repertory): Deleted. | 4912 | (x_new_font): Renamed from x_new_fontset2. |
| 4913 | (x_find_ccl_program): Renamed and moved to xfont.c. | 4913 | (x_new_fontset, x_get_font_info, x_list_fonts): Deleted. |
| 4914 | (x_redisplay_interface): Adjusted for the change of `struct | 4914 | (x_check_font): Call `check' method of a font driver. |
| 4915 | redisplay_interface'. | 4915 | (x_font_min_bounds, x_compute_min_glyph_bounds, x_load_font) |
| 4916 | 4916 | (x_query_font, x_get_font_repertory): Deleted. | |
| 4917 | * w32fns.c: Throughout the file, delete all USE_FONT_BACKEND | 4917 | (x_find_ccl_program): Renamed and moved to xfont.c. |
| 4918 | conditionals. Don't check enable_font_backend. Delete all codes | 4918 | (x_redisplay_interface): Adjusted for the change of `struct |
| 4919 | used only when USE_FONT_BACKEND is not defined. Surround non-used | 4919 | redisplay_interface'. |
| 4920 | code by "#ifdef OLD_FONT" and "endif". | 4920 | |
| 4921 | (Fw32_select_font): Use FONT_COMPAT to get old font structure. | 4921 | * w32fns.c: Throughout the file, delete all USE_FONT_BACKEND |
| 4922 | 4922 | conditionals. Don't check enable_font_backend. Delete all codes | |
| 4923 | * w32font.h (struct w32font_info): New member. | 4923 | used only when USE_FONT_BACKEND is not defined. Surround non-used |
| 4924 | (FONT_COMPAT): New macro. | 4924 | code by "#ifdef OLD_FONT" and "endif". |
| 4925 | (w32font_open_internal): Prototype adjusted. | 4925 | (Fw32_select_font): Use FONT_COMPAT to get old font structure. |
| 4926 | 4926 | ||
| 4927 | * w32gui.h (XGCValues): Surround `XFontStruct *font' by "if | 4927 | * w32font.h (struct w32font_info): New member. |
| 4928 | OLD_FONT" and "endif". | 4928 | (FONT_COMPAT): New macro. |
| 4929 | 4929 | (w32font_open_internal): Prototype adjusted. | |
| 4930 | * w32font.c: Throughout the file, delete all USE_FONT_BACKEND | 4930 | |
| 4931 | conditionals. Don't check enable_font_backend. Delete all codes | 4931 | * w32gui.h (XGCValues): Surround `XFontStruct *font' by "if |
| 4932 | used only when USE_FONT_BACKEND is not defined. | 4932 | OLD_FONT" and "endif". |
| 4933 | (w32font_open): Return a font-object. Make a font-object by | 4933 | |
| 4934 | font_make_object. Adjusted for the change of struct w32font_info. | 4934 | * w32font.c: Throughout the file, delete all USE_FONT_BACKEND |
| 4935 | (w32font_close): Don't free struct font. Adjusted for the change | 4935 | conditionals. Don't check enable_font_backend. Delete all codes |
| 4936 | of struct w32font_info. | 4936 | used only when USE_FONT_BACKEND is not defined. |
| 4937 | (w32font_encode_char, w32font_text_extents, w32font_draw): | 4937 | (w32font_open): Return a font-object. Make a font-object by |
| 4938 | Adjusted for the change of struct w32font_info. | 4938 | font_make_object. Adjusted for the change of struct w32font_info. |
| 4939 | (w32font_draw): Likewise. | 4939 | (w32font_close): Don't free struct font. Adjusted for the change |
| 4940 | (w32font_list_internal): Return a list, not vector. | 4940 | of struct w32font_info. |
| 4941 | (w32font_open_internal): Change the 4th arg to font-object. | 4941 | (w32font_encode_char, w32font_text_extents, w32font_draw): |
| 4942 | Adjusted for the change of struct w32font_info and font-object format. | 4942 | Adjusted for the change of struct w32font_info. |
| 4943 | (add_font_name_to_list): Don't downcase names. | 4943 | (w32font_draw): Likewise. |
| 4944 | (w32_enumfont_pattern_entity): Make a font-entity by | 4944 | (w32font_list_internal): Return a list, not vector. |
| 4945 | font_make_entity. Adjusted for the format change of font-entity. | 4945 | (w32font_open_internal): Change the 4th arg to font-object. |
| 4946 | Use FONT_SET_STYLE to set a style-related font property. If a | 4946 | Adjusted for the change of struct w32font_info and font-object format. |
| 4947 | font is scalable, set avgwidth property to 0. Set font-entity | 4947 | (add_font_name_to_list): Don't downcase names. |
| 4948 | property by font_put_extra. | 4948 | (w32_enumfont_pattern_entity): Make a font-entity by |
| 4949 | (font_matches_spec): Adjusted for the format change of font-entity. | 4949 | font_make_entity. Adjusted for the format change of font-entity. |
| 4950 | (w32_weight_table, w32_decode_weight): New variables. | 4950 | Use FONT_SET_STYLE to set a style-related font property. If a |
| 4951 | (w32_encode_weight): New function. | 4951 | font is scalable, set avgwidth property to 0. Set font-entity |
| 4952 | (fill_in_logfont): Adjusted for the format change of font-spec. | 4952 | property by font_put_extra. |
| 4953 | (w32font_full_name): Use FONT_WEIGHT_SYMBOLIC to get a symbol | 4953 | (font_matches_spec): Adjusted for the format change of font-entity. |
| 4954 | weight value. | 4954 | (w32_weight_table, w32_decode_weight): New variables. |
| 4955 | (w32font_driver): Adjusted for the change of struct font_driver. | 4955 | (w32_encode_weight): New function. |
| 4956 | 4956 | (fill_in_logfont): Adjusted for the format change of font-spec. | |
| 4957 | * w32term.h: Throughout the file, delete all USE_FONT_BACKEND | 4957 | (w32font_full_name): Use FONT_WEIGHT_SYMBOLIC to get a symbol |
| 4958 | conditionals. Don't check enable_font_backend. Surround non-used | 4958 | weight value. |
| 4959 | code by "#ifdef OLD_FONT" and "endif". | 4959 | (w32font_driver): Adjusted for the change of struct font_driver. |
| 4960 | (FONT_WIDTH, FONT_HEIGHT, FONT_BASE, FONT_DESCENT) | 4960 | |
| 4961 | (FONT_AVG_WIDTH): Adjusted for the change of struct font. | 4961 | * w32term.h: Throughout the file, delete all USE_FONT_BACKEND |
| 4962 | 4962 | conditionals. Don't check enable_font_backend. Surround non-used | |
| 4963 | * w32term.c: Throughout the file, delete all USE_FONT_BACKEND | 4963 | code by "#ifdef OLD_FONT" and "endif". |
| 4964 | conditionals. Don't check enable_font_backend. Delete all codes | 4964 | (FONT_WIDTH, FONT_HEIGHT, FONT_BASE, FONT_DESCENT) |
| 4965 | used only when USE_FONT_BACKEND is not defined. Surround non-used | 4965 | (FONT_AVG_WIDTH): Adjusted for the change of struct font. |
| 4966 | code by "#ifdef OLD_FONT" and "endif". | 4966 | |
| 4967 | 4967 | * w32term.c: Throughout the file, delete all USE_FONT_BACKEND | |
| 4968 | * w32uniscribe.c: Delete USE_FONT_BACKEND conditional. | 4968 | conditionals. Don't check enable_font_backend. Delete all codes |
| 4969 | (uniscribe_open): Return value changed to font-object. | 4969 | used only when USE_FONT_BACKEND is not defined. Surround non-used |
| 4970 | Adjusted for the format change of font-object. | 4970 | code by "#ifdef OLD_FONT" and "endif". |
| 4971 | (uniscribe_otf_capability): Adjusted for the change of struct font. | 4971 | |
| 4972 | (add_opentype_font_name_to_list): Don't downcase names. | 4972 | * w32uniscribe.c: Delete USE_FONT_BACKEND conditional. |
| 4973 | (uniscribe_font_driver): Adjusted for the change of struct | 4973 | (uniscribe_open): Return value changed to font-object. |
| 4974 | font_driver. | 4974 | Adjusted for the format change of font-object. |
| 4975 | 4975 | (uniscribe_otf_capability): Adjusted for the change of struct font. | |
| 4976 | 2008-05-13 Chong Yidong <cyd@stupidchicken.com> | 4976 | (add_opentype_font_name_to_list): Don't downcase names. |
| 4977 | 4977 | (uniscribe_font_driver): Adjusted for the change of struct | |
| 4978 | * dispnew.c (update_frame_1): Check if tty output is still valid | 4978 | font_driver. |
| 4979 | before flushing it. | 4979 | |
| 4980 | 4980 | 2008-05-13 Chong Yidong <cyd@stupidchicken.com> | |
| 4981 | 2008-05-13 Jan Djärv <jan.h.d@swipnet.se> | 4981 | |
| 4982 | 4982 | * dispnew.c (update_frame_1): Check if tty output is still valid | |
| 4983 | * xterm.c (handle_one_xevent): Don't pass buttons higher than 3 | 4983 | before flushing it. |
| 4984 | to Gtk+ menus. | 4984 | |
| 4985 | 4985 | 2008-05-13 Jan Djärv <jan.h.d@swipnet.se> | |
| 4986 | 2008-05-13 Stefan Monnier <monnier@iro.umontreal.ca> | 4986 | |
| 4987 | 4987 | * xterm.c (handle_one_xevent): Don't pass buttons higher than 3 | |
| 4988 | * dired.c (file_name_completion): Tweak the code so as to always do it | 4988 | to Gtk+ menus. |
| 4989 | in a single pass. Tighten the scope of some variables. | 4989 | |
| 4990 | 4990 | 2008-05-13 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 4991 | * dired.c (Qdefault_directory): New var. | 4991 | |
| 4992 | (file_name_completion): Use it instead of Fexpand_file_name. | 4992 | * dired.c (file_name_completion): Tweak the code so as to always do it |
| 4993 | (syms_of_dired): Initialize it. | 4993 | in a single pass. Tighten the scope of some variables. |
| 4994 | 4994 | ||
| 4995 | 2008-05-12 Stefan Monnier <monnier@iro.umontreal.ca> | 4995 | * dired.c (Qdefault_directory): New var. |
| 4996 | 4996 | (file_name_completion): Use it instead of Fexpand_file_name. | |
| 4997 | * fileio.c (double_dollars): Remove dead code. | 4997 | (syms_of_dired): Initialize it. |
| 4998 | 4998 | ||
| 4999 | 2008-05-10 Eli Zaretskii <eliz@gnu.org> | 4999 | 2008-05-12 Stefan Monnier <monnier@iro.umontreal.ca> |
| 5000 | 5000 | ||
| 5001 | * dired.c (Ffile_attributes, Fdirectory_files_and_attributes): | 5001 | * fileio.c (double_dollars): Remove dead code. |
| 5002 | Mention w32-get-true-file-attributes in doc string. | 5002 | |
| 5003 | 5003 | 2008-05-10 Eli Zaretskii <eliz@gnu.org> | |
| 5004 | * w32proc.c (syms_of_ntproc) <w32-get-true-file-attributes>: Doc fix. | 5004 | |
| 5005 | 5005 | * dired.c (Ffile_attributes, Fdirectory_files_and_attributes): | |
| 5006 | 2008-05-09 Glenn Morris <rgm@gnu.org> | 5006 | Mention w32-get-true-file-attributes in doc string. |
| 5007 | 5007 | ||
| 5008 | * fileio.c (Fread_file_name): Remove reference to insdef, deleted | 5008 | * w32proc.c (syms_of_ntproc) <w32-get-true-file-attributes>: Doc fix. |
| 5009 | 2008-04-23. | 5009 | |
| 5010 | 5010 | 2008-05-09 Glenn Morris <rgm@gnu.org> | |
| 5011 | 2008-05-09 Eli Zaretskii <eliz@gnu.org> | 5011 | |
| 5012 | 5012 | * fileio.c (Fread_file_name): Remove reference to insdef, deleted | |
| 5013 | Support for reporting owner and group of each file on MS-Windows: | 5013 | 2008-04-23. |
| 5014 | * dired.c (stat_uname, stat_gname): New functions, with special | 5014 | |
| 5015 | implementation for w32. | 5015 | 2008-05-09 Eli Zaretskii <eliz@gnu.org> |
| 5016 | (Ffile_attributes): Use them instead of getpwuid and getgrgid. | 5016 | |
| 5017 | 5017 | Support for reporting owner and group of each file on MS-Windows: | |
| 5018 | * w32.c: Rename the_passwd_* to dflt_passwd_*. | 5018 | * dired.c (stat_uname, stat_gname): New functions, with special |
| 5019 | (dflt_group_name): New static variable. | 5019 | implementation for w32. |
| 5020 | (dflt_group): Rename from the_group. | 5020 | (Ffile_attributes): Use them instead of getpwuid and getgrgid. |
| 5021 | (init_user_info): Init dflt_group fields. Get user's group name | 5021 | |
| 5022 | from LookupAccountSid. | 5022 | * w32.c: Rename the_passwd_* to dflt_passwd_*. |
| 5023 | (g_b_init_get_file_security, g_b_init_get_security_descriptor_owner) | 5023 | (dflt_group_name): New static variable. |
| 5024 | (g_b_init_get_security_descriptor_group, g_b_init_is_valid_sid): | 5024 | (dflt_group): Rename from the_group. |
| 5025 | New initialization states. | 5025 | (init_user_info): Init dflt_group fields. Get user's group name |
| 5026 | (globals_of_w32): Initialize them to zero. Initialize the default | 5026 | from LookupAccountSid. |
| 5027 | group name to "None". | 5027 | (g_b_init_get_file_security, g_b_init_get_security_descriptor_owner) |
| 5028 | (GetFileSecurity_Name): New global var, the name of the function | 5028 | (g_b_init_get_security_descriptor_group, g_b_init_is_valid_sid): |
| 5029 | to call for GetFileSecurity. | 5029 | New initialization states. |
| 5030 | (GetFileSecurity_Proc, GetSecurityDescriptorOwner_Proc) | 5030 | (globals_of_w32): Initialize them to zero. Initialize the default |
| 5031 | (GetSecurityDescriptorGroup_Proc, IsValidSid_Proc): New typedefs. | 5031 | group name to "None". |
| 5032 | (get_file_security, get_security_descriptor_owner) | 5032 | (GetFileSecurity_Name): New global var, the name of the function |
| 5033 | (get_security_descriptor_group, is_valid_sid) | 5033 | to call for GetFileSecurity. |
| 5034 | (get_file_security_desc, get_rid, get_name_and_id) | 5034 | (GetFileSecurity_Proc, GetSecurityDescriptorOwner_Proc) |
| 5035 | (get_file_owner_and_group): New functions. | 5035 | (GetSecurityDescriptorGroup_Proc, IsValidSid_Proc): New typedefs. |
| 5036 | (stat): Use get_file_security_desc and get_file_owner_and_group to | 5036 | (get_file_security, get_security_descriptor_owner) |
| 5037 | report the owner and primary group of each file. Don't ignore the | 5037 | (get_security_descriptor_group, is_valid_sid) |
| 5038 | high 32 bits of file's size, now that st_size is 64-bit wide. | 5038 | (get_file_security_desc, get_rid, get_name_and_id) |
| 5039 | Fix test when to get true file attributes. | 5039 | (get_file_owner_and_group): New functions. |
| 5040 | (init_user_info): Use get_rid instead of equivalent inline code. | 5040 | (stat): Use get_file_security_desc and get_file_owner_and_group to |
| 5041 | (fstat): Don't ignore the high 32 bits of file's size. | 5041 | report the owner and primary group of each file. Don't ignore the |
| 5042 | 5042 | high 32 bits of file's size, now that st_size is 64-bit wide. | |
| 5043 | 2008-05-09 Chong Yidong <cyd@stupidchicken.com> | 5043 | Fix test when to get true file attributes. |
| 5044 | 5044 | (init_user_info): Use get_rid instead of equivalent inline code. | |
| 5045 | * image.c (png_load): Use correct bit-depth for setting background | 5045 | (fstat): Don't ignore the high 32 bits of file's size. |
| 5046 | color. | 5046 | |
| 5047 | 5047 | 2008-05-09 Chong Yidong <cyd@stupidchicken.com> | |
| 5048 | 2008-05-08 Eli Zaretskii <eliz@gnu.org> | 5048 | |
| 5049 | 5049 | * image.c (png_load): Use correct bit-depth for setting background | |
| 5050 | * Makefile.in (lisp, shortlisp): Rename epa-file-hook.elc to | 5050 | color. |
| 5051 | epa-hook.elc. | 5051 | |
| 5052 | 5052 | 2008-05-08 Eli Zaretskii <eliz@gnu.org> | |
| 5053 | 2008-05-08 Juanma Barranquero <lekktu@gmail.com> | 5053 | |
| 5054 | 5054 | * Makefile.in (lisp, shortlisp): Rename epa-file-hook.elc to | |
| 5055 | * font.c (Ffont_match_p): Don't use `iff' in docstring. | 5055 | epa-hook.elc. |
| 5056 | 5056 | ||
| 5057 | 2008-05-07 Dan Nicolaescu <dann@ics.uci.edu> | 5057 | 2008-05-08 Juanma Barranquero <lekktu@gmail.com> |
| 5058 | 5058 | ||
| 5059 | * macfns.c (Fx_create_frame): Make a copy of frame parameters | 5059 | * font.c (Ffont_match_p): Don't use `iff' in docstring. |
| 5060 | because the original parameters are in pure storage now. | 5060 | |
| 5061 | (mac_window): Remove unused params. Update callers. | 5061 | 2008-05-07 Dan Nicolaescu <dann@ics.uci.edu> |
| 5062 | 5062 | ||
| 5063 | 2008-05-06 Stefan Monnier <monnier@iro.umontreal.ca> | 5063 | * macfns.c (Fx_create_frame): Make a copy of frame parameters |
| 5064 | 5064 | because the original parameters are in pure storage now. | |
| 5065 | * lread.c (substitute_object_recurse): Use lower-level primitives. | 5065 | (mac_window): Remove unused params. Update callers. |
| 5066 | Don't signal errors when traversing sub-char-tables. | 5066 | |
| 5067 | Don't loop over all the possible characters when traversing char-tables. | 5067 | 2008-05-06 Stefan Monnier <monnier@iro.umontreal.ca> |
| 5068 | 5068 | ||
| 5069 | * print.c (print_preprocess): Add sub-char-tables to the print-table, | 5069 | * lread.c (substitute_object_recurse): Use lower-level primitives. |
| 5070 | just like we do in print.c. | 5070 | Don't signal errors when traversing sub-char-tables. |
| 5071 | 5071 | Don't loop over all the possible characters when traversing char-tables. | |
| 5072 | 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca> | 5072 | |
| 5073 | 5073 | * print.c (print_preprocess): Add sub-char-tables to the print-table, | |
| 5074 | * minibuf.c (Ftry_completion): Remove code left over from when we used | 5074 | just like we do in print.c. |
| 5075 | scmp instead of Fcompare_strings. | 5075 | |
| 5076 | 5076 | 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 5077 | 2008-05-04 Juanma Barranquero <lekktu@gmail.com> | 5077 | |
| 5078 | 5078 | * minibuf.c (Ftry_completion): Remove code left over from when we used | |
| 5079 | * w32fns.c (Fw32_battery_status): Fix computation of %t (h:min) format. | 5079 | scmp instead of Fcompare_strings. |
| 5080 | 5080 | ||
| 5081 | 2008-05-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 5081 | 2008-05-04 Juanma Barranquero <lekktu@gmail.com> |
| 5082 | 5082 | ||
| 5083 | * image.c [USE_MAC_IMAGE_IO] (image_load_image_io): | 5083 | * w32fns.c (Fw32_battery_status): Fix computation of %t (h:min) format. |
| 5084 | Create bitmap context in native byte order. | 5084 | |
| 5085 | 5085 | 2008-05-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
| 5086 | * macterm.c (XDrawLine) | 5086 | |
| 5087 | (XCreatePixmapFromBitmapData) [USE_MAC_IMAGE_IO]: Create bitmap | 5087 | * image.c [USE_MAC_IMAGE_IO] (image_load_image_io): |
| 5088 | context in native byte order. | 5088 | Create bitmap context in native byte order. |
| 5089 | 5089 | ||
| 5090 | 2008-05-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 5090 | * macterm.c (XDrawLine) |
| 5091 | 5091 | (XCreatePixmapFromBitmapData) [USE_MAC_IMAGE_IO]: Create bitmap | |
| 5092 | * config.in: Regenerate. | 5092 | context in native byte order. |
| 5093 | 5093 | ||
| 5094 | * image.c (PIX_MASK_DRAW, PIX_MASK_RETAIN) [USE_MAC_IMAGE_IO]: | 5094 | 2008-05-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 5095 | New definitions for Image I/O support. | 5095 | |
| 5096 | (XGetImage, XPutPixel, XGetPixel, XDestroyImage) | 5096 | * config.in: Regenerate. |
| 5097 | (mac_create_cg_image_from_image, x_create_x_image_and_pixmap) | 5097 | |
| 5098 | [USE_MAC_IMAGE_IO]: Add implementations for Image I/O support. | 5098 | * image.c (PIX_MASK_DRAW, PIX_MASK_RETAIN) [USE_MAC_IMAGE_IO]: |
| 5099 | (mac_data_provider_release_data, image_load_image_io) | 5099 | New definitions for Image I/O support. |
| 5100 | [USE_MAC_IMAGE_IO]: New functions. | 5100 | (XGetImage, XPutPixel, XGetPixel, XDestroyImage) |
| 5101 | (CGImageCreateWithPNGDataProviderProcType) [MAC_OSX]: Remove typedef. | 5101 | (mac_create_cg_image_from_image, x_create_x_image_and_pixmap) |
| 5102 | (MyCGImageCreateWithPNGDataProvider) [MAC_OSX]: Remove variable. | 5102 | [USE_MAC_IMAGE_IO]: Add implementations for Image I/O support. |
| 5103 | (init_image_func_pointer) [MAC_OSX]: Remove function. | 5103 | (mac_data_provider_release_data, image_load_image_io) |
| 5104 | (image_load_quartz2d) [MAC_OSX]: Check availability of | 5104 | [USE_MAC_IMAGE_IO]: New functions. |
| 5105 | CGImageCreateWithPNGDataProvider at compile time. | 5105 | (CGImageCreateWithPNGDataProviderProcType) [MAC_OSX]: Remove typedef. |
| 5106 | Use lowercase `false' for boolean constant. | 5106 | (MyCGImageCreateWithPNGDataProvider) [MAC_OSX]: Remove variable. |
| 5107 | (png_load, jpeg_load, tiff_load, gif_load) [USE_MAC_IMAGE_IO]: | 5107 | (init_image_func_pointer) [MAC_OSX]: Remove function. |
| 5108 | Use image_load_image_io. | 5108 | (image_load_quartz2d) [MAC_OSX]: Check availability of |
| 5109 | (png_load) [!USE_MAC_IMAGE_IO && MAC_OSX]: | 5109 | CGImageCreateWithPNGDataProvider at compile time. |
| 5110 | Don't check MyCGImageCreateWithPNGDataProvider. | 5110 | Use lowercase `false' for boolean constant. |
| 5111 | (init_image) [MAC_OSX && TARGET_API_MAC_CARBON]: | 5111 | (png_load, jpeg_load, tiff_load, gif_load) [USE_MAC_IMAGE_IO]: |
| 5112 | Don't call init_image_func_pointer. | 5112 | Use image_load_image_io. |
| 5113 | 5113 | (png_load) [!USE_MAC_IMAGE_IO && MAC_OSX]: | |
| 5114 | * macgui.h (Pixmap) [USE_MAC_IMAGE_IO]: New definition for Image I/O. | 5114 | Don't check MyCGImageCreateWithPNGDataProvider. |
| 5115 | 5115 | (init_image) [MAC_OSX && TARGET_API_MAC_CARBON]: | |
| 5116 | * macterm.c (mac_cg_color_space_rgb) [USE_CG_DRAWING]: | 5116 | Don't call init_image_func_pointer. |
| 5117 | Make variable non-static. | 5117 | |
| 5118 | (XDrawLine, XCreatePixmap, XCreatePixmapFromBitmapData, XFreePixmap) | 5118 | * macgui.h (Pixmap) [USE_MAC_IMAGE_IO]: New definition for Image I/O. |
| 5119 | [USE_MAC_IMAGE_IO]: Add implementations for Image I/O support. | 5119 | |
| 5120 | 5120 | * macterm.c (mac_cg_color_space_rgb) [USE_CG_DRAWING]: | |
| 5121 | * macterm.h (ARGB_TO_ULONG, ALPHA_FROM_ULONG): New macros. | 5121 | Make variable non-static. |
| 5122 | (RED_FROM_ULONG): Mask off higher bits. | 5122 | (XDrawLine, XCreatePixmap, XCreatePixmapFromBitmapData, XFreePixmap) |
| 5123 | (mac_cg_color_space_rgb) [USE_MAC_IMAGE_IO]: New extern. | 5123 | [USE_MAC_IMAGE_IO]: Add implementations for Image I/O support. |
| 5124 | 5124 | ||
| 5125 | * s/darwin.h [HAVE_CARBON && HAVE_AVAILABILITYMACROS_H]: | 5125 | * macterm.h (ARGB_TO_ULONG, ALPHA_FROM_ULONG): New macros. |
| 5126 | Include AvailabilityMacros.h. | 5126 | (RED_FROM_ULONG): Mask off higher bits. |
| 5127 | (USE_MAC_IMAGE_IO, LIBS_IMAGE) [HAVE_CARBON]: New defines. | 5127 | (mac_cg_color_space_rgb) [USE_MAC_IMAGE_IO]: New extern. |
| 5128 | (LIBS_CARBON) [HAVE_CARBON]: Use LIBS_IMAGE. | 5128 | |
| 5129 | 5129 | * s/darwin.h [HAVE_CARBON && HAVE_AVAILABILITYMACROS_H]: | |
| 5130 | 2008-05-03 Stefan Monnier <monnier@iro.umontreal.ca> | 5130 | Include AvailabilityMacros.h. |
| 5131 | 5131 | (USE_MAC_IMAGE_IO, LIBS_IMAGE) [HAVE_CARBON]: New defines. | |
| 5132 | * chartab.c (Fset_char_table_range): If range is t, really set all | 5132 | (LIBS_CARBON) [HAVE_CARBON]: Use LIBS_IMAGE. |
| 5133 | chars to that value. | 5133 | |
| 5134 | 5134 | 2008-05-03 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 5135 | 2008-05-03 Eli Zaretskii <eliz@gnu.org> | 5135 | |
| 5136 | 5136 | * chartab.c (Fset_char_table_range): If range is t, really set all | |
| 5137 | * dired.c (Ffile_attributes): Don't allow the device number become | 5137 | chars to that value. |
| 5138 | negative. | 5138 | |
| 5139 | 5139 | 2008-05-03 Eli Zaretskii <eliz@gnu.org> | |
| 5140 | 2008-05-02 Daiki Ueno <ueno@unixuser.org> | 5140 | |
| 5141 | 5141 | * dired.c (Ffile_attributes): Don't allow the device number become | |
| 5142 | * Makefile.in (lisp, shortlisp): Add epa-file-hook.elc. | 5142 | negative. |
| 5143 | 5143 | ||
| 5144 | 2008-05-02 Juri Linkov <juri@jurta.org> | 5144 | 2008-05-02 Daiki Ueno <ueno@unixuser.org> |
| 5145 | 5145 | ||
| 5146 | * minibuf.c (Fread_from_minibuffer, Fread_string, Fread_command) | 5146 | * Makefile.in (lisp, shortlisp): Add epa-file-hook.elc. |
| 5147 | (Fread_variable, Fread_buffer, Fcompleting_read): Document the | 5147 | |
| 5148 | DEFAULT argument as a list of default values in docstrings. | 5148 | 2008-05-02 Juri Linkov <juri@jurta.org> |
| 5149 | 5149 | ||
| 5150 | 2008-05-01 Chong Yidong <cyd@stupidchicken.com> | 5150 | * minibuf.c (Fread_from_minibuffer, Fread_string, Fread_command) |
| 5151 | 5151 | (Fread_variable, Fread_buffer, Fcompleting_read): Document the | |
| 5152 | * puresize.h (BASE_PURESIZE): Increase to 1210000. | 5152 | DEFAULT argument as a list of default values in docstrings. |
| 5153 | 5153 | ||
| 5154 | 2008-05-01 Martin Rudalics <rudalics@gmx.at> | 5154 | 2008-05-01 Chong Yidong <cyd@stupidchicken.com> |
| 5155 | 5155 | ||
| 5156 | * dispnew.c (change_frame_size_1): Preserve small windows when | 5156 | * puresize.h (BASE_PURESIZE): Increase to 1210000. |
| 5157 | shrinking frames by calling set_window_height|width with third | 5157 | |
| 5158 | arg 2. | 5158 | 2008-05-01 Martin Rudalics <rudalics@gmx.at> |
| 5159 | 5159 | ||
| 5160 | * window.h (struct window): Replace field too_small_ok by field | 5160 | * dispnew.c (change_frame_size_1): Preserve small windows when |
| 5161 | resize_proportionally. | 5161 | shrinking frames by calling set_window_height|width with third |
| 5162 | 5162 | arg 2. | |
| 5163 | * window.c (make_window): Initialize resize_proportionally. | 5163 | |
| 5164 | (enlarge_window): Temporarily set resize_proportionally to make | 5164 | * window.h (struct window): Replace field too_small_ok by field |
| 5165 | sure that shrink_windows does scale the window proportionally. | 5165 | resize_proportionally. |
| 5166 | (shrink_windows): When window has resize_proportionally set try | 5166 | |
| 5167 | to shrink it proportionally by stealing from other windows. | 5167 | * window.c (make_window): Initialize resize_proportionally. |
| 5168 | (struct saved_window, Fset_window_configuration) | 5168 | (enlarge_window): Temporarily set resize_proportionally to make |
| 5169 | (compare_window_configurations): Handle resize_proportionally. | 5169 | sure that shrink_windows does scale the window proportionally. |
| 5170 | (WINDOW_TOTAL_SIZE): New macro. | 5170 | (shrink_windows): When window has resize_proportionally set try |
| 5171 | (window_min_size, shrink_windows, size_window): Use it. | 5171 | to shrink it proportionally by stealing from other windows. |
| 5172 | (check_min_window_sizes): Remove. Invalid values of | 5172 | (struct saved_window, Fset_window_configuration) |
| 5173 | window-min-height|width are handled by window_min_size_2 now. | 5173 | (compare_window_configurations): Handle resize_proportionally. |
| 5174 | (size_window, Fsplit_window, enlarge_window) | 5174 | (WINDOW_TOTAL_SIZE): New macro. |
| 5175 | (adjust_window_trailing_edge, grow_mini_window): Don't call | 5175 | (window_min_size, shrink_windows, size_window): Use it. |
| 5176 | check_min_window_sizes. | 5176 | (check_min_window_sizes): Remove. Invalid values of |
| 5177 | (window_min_size_2, window_min_size_1, window_min_size): | 5177 | window-min-height|width are handled by window_min_size_2 now. |
| 5178 | New argument safe_p for retrieving "safe" minimum sizes. | 5178 | (size_window, Fsplit_window, enlarge_window) |
| 5179 | (Fdisplay_buffer, Fsplit_window, enlarge_window) | 5179 | (adjust_window_trailing_edge, grow_mini_window): Don't call |
| 5180 | (adjust_window_trailing_edge, grow_mini_window): | 5180 | check_min_window_sizes. |
| 5181 | Adjust arguments of window_min_size... functions. | 5181 | (window_min_size_2, window_min_size_1, window_min_size): |
| 5182 | (shrink_windows): Argument min_size removed. New argument | 5182 | New argument safe_p for retrieving "safe" minimum sizes. |
| 5183 | safe_p allows shrinking windows to their safe minimum sizes. | 5183 | (Fdisplay_buffer, Fsplit_window, enlarge_window) |
| 5184 | Calculate minimum size and decide whether a window shall be | 5184 | (adjust_window_trailing_edge, grow_mini_window): |
| 5185 | deleted for each window individually. | 5185 | Adjust arguments of window_min_size... functions. |
| 5186 | (size_window): When nodelete_p equals 2, tell shrink_windows to | 5186 | (shrink_windows): Argument min_size removed. New argument |
| 5187 | delete windows only if their new minimum size is no more safe. | 5187 | safe_p allows shrinking windows to their safe minimum sizes. |
| 5188 | (shrink_window_lowest_first): Call window_min_size_1 to make | 5188 | Calculate minimum size and decide whether a window shall be |
| 5189 | sure to preserve modeline of bottom-most window when resizing | 5189 | deleted for each window individually. |
| 5190 | the minibuffer. | 5190 | (size_window): When nodelete_p equals 2, tell shrink_windows to |
| 5191 | (Fset_window_configuration, Fcurrent_window_configuration) | 5191 | delete windows only if their new minimum size is no more safe. |
| 5192 | (compare_window_configurations): Do not handle | 5192 | (shrink_window_lowest_first): Call window_min_size_1 to make |
| 5193 | window-min-height|width any more. | 5193 | sure to preserve modeline of bottom-most window when resizing |
| 5194 | (syms_of_window): Clarify window-min-height|width doc-strings. | 5194 | the minibuffer. |
| 5195 | 5195 | (Fset_window_configuration, Fcurrent_window_configuration) | |
| 5196 | 2008-04-30 Stefan Monnier <monnier@iro.umontreal.ca> | 5196 | (compare_window_configurations): Do not handle |
| 5197 | 5197 | window-min-height|width any more. | |
| 5198 | * dired.c (file_name_completion): Fix up the encoding/decoding issue | 5198 | (syms_of_window): Clarify window-min-height|width doc-strings. |
| 5199 | some more. Copy some of the code from Ftry_completions. | 5199 | |
| 5200 | Remove special case code that dates back to initial revision when the | 5200 | 2008-04-30 Stefan Monnier <monnier@iro.umontreal.ca> |
| 5201 | slash was only added when necessary and that can't trigger nowadays. | 5201 | |
| 5202 | 5202 | * dired.c (file_name_completion): Fix up the encoding/decoding issue | |
| 5203 | 2008-04-27 Kenichi Handa <handa@m17n.org> | 5203 | some more. Copy some of the code from Ftry_completions. |
| 5204 | 5204 | Remove special case code that dates back to initial revision when the | |
| 5205 | * font.c (font_prop_validate): Signal `error' instead of `font'. | 5205 | slash was only added when necessary and that can't trigger nowadays. |
| 5206 | 5206 | ||
| 5207 | 2008-04-29 Jason Rumney <jasonr@gnu.org> | 5207 | 2008-04-27 Kenichi Handa <handa@m17n.org> |
| 5208 | 5208 | ||
| 5209 | * w32fns.c (Fw32_battery_status): New defun. | 5209 | * font.c (font_prop_validate): Signal `error' instead of `font'. |
| 5210 | (syms_of_w32fns): Defsubr it. | 5210 | |
| 5211 | 5211 | 2008-04-29 Jason Rumney <jasonr@gnu.org> | |
| 5212 | 2008-04-28 Andreas Schwab <schwab@suse.de> | 5212 | |
| 5213 | 5213 | * w32fns.c (Fw32_battery_status): New defun. | |
| 5214 | * dired.c (file_name_completion): Fix another mixing of encoded | 5214 | (syms_of_w32fns): Defsubr it. |
| 5215 | and decoded names. | 5215 | |
| 5216 | 5216 | 2008-04-28 Andreas Schwab <schwab@suse.de> | |
| 5217 | 2008-04-28 Juanma Barranquero <lekktu@gmail.com> | 5217 | |
| 5218 | 5218 | * dired.c (file_name_completion): Fix another mixing of encoded | |
| 5219 | * w32fns.c (Fw32_define_rgb_color): Fix typo in docstring. | 5219 | and decoded names. |
| 5220 | 5220 | ||
| 5221 | 2008-04-27 Juanma Barranquero <lekktu@gmail.com> | 5221 | 2008-04-28 Juanma Barranquero <lekktu@gmail.com> |
| 5222 | 5222 | ||
| 5223 | * fringe.c (Fdefine_fringe_bitmap): Doc fix. | 5223 | * w32fns.c (Fw32_define_rgb_color): Fix typo in docstring. |
| 5224 | 5224 | ||
| 5225 | 2008-04-27 Andreas Schwab <schwab@suse.de> | 5225 | 2008-04-27 Juanma Barranquero <lekktu@gmail.com> |
| 5226 | 5226 | ||
| 5227 | * dired.c (file_name_completion): Fix inappropriate mixing of | 5227 | * fringe.c (Fdefine_fringe_bitmap): Doc fix. |
| 5228 | encoded and decoded names. | 5228 | |
| 5229 | 5229 | 2008-04-27 Andreas Schwab <schwab@suse.de> | |
| 5230 | * xterm.c (XTread_socket): Fix use of uninitialized variable. | 5230 | |
| 5231 | 5231 | * dired.c (file_name_completion): Fix inappropriate mixing of | |
| 5232 | * puresize.h (BASE_PURESIZE): Increase to 1200000. | 5232 | encoded and decoded names. |
| 5233 | 5233 | ||
| 5234 | 2008-04-26 Eli Zaretskii <eliz@gnu.org> | 5234 | * xterm.c (XTread_socket): Fix use of uninitialized variable. |
| 5235 | 5235 | ||
| 5236 | * dired.c (Ffile_attributes) [WINDOWSNT]: Undo change from | 5236 | * puresize.h (BASE_PURESIZE): Increase to 1200000. |
| 5237 | 2008-03-31, it's not needed anymore with `struct stat' definition | 5237 | |
| 5238 | on nt/inc/sys/stat.h. Undo changes from 2007-01-12 and 2007-01-13 | 5238 | 2008-04-26 Eli Zaretskii <eliz@gnu.org> |
| 5239 | for the same reasons. | 5239 | |
| 5240 | 5240 | * dired.c (Ffile_attributes) [WINDOWSNT]: Undo change from | |
| 5241 | 2008-04-25 Dennis Gilmore <ausil@fedoraproject.org> (tiny change) | 5241 | 2008-03-31, it's not needed anymore with `struct stat' definition |
| 5242 | 5242 | on nt/inc/sys/stat.h. Undo changes from 2007-01-12 and 2007-01-13 | |
| 5243 | * m/sparc.h: Additional redefinitions for GNU/Linux. | 5243 | for the same reasons. |
| 5244 | 5244 | ||
| 5245 | 2008-04-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 5245 | 2008-04-25 Dennis Gilmore <ausil@fedoraproject.org> (tiny change) |
| 5246 | 5246 | ||
| 5247 | * macterm.c (Vmac_ts_active_input_buf) [USE_MAC_TSM]: New variable. | 5247 | * m/sparc.h: Additional redefinitions for GNU/Linux. |
| 5248 | (syms_of_macterm) [USE_MAC_TSM]: Defvar it. | 5248 | |
| 5249 | (Qmouse_drag_overlay) [MAC_OSX]: New variable. | 5249 | 2008-04-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 5250 | (syms_of_macterm) [MAC_OSX]: Intern and staticpro it. | 5250 | |
| 5251 | (mac_get_selected_range, mac_store_buffer_text_to_unicode_chars) | 5251 | * macterm.c (Vmac_ts_active_input_buf) [USE_MAC_TSM]: New variable. |
| 5252 | (mac_ax_selected_text_range) [MAC_OSX]: New functions. | 5252 | (syms_of_macterm) [USE_MAC_TSM]: Defvar it. |
| 5253 | (mac_ax_number_of_characters) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | 5253 | (Qmouse_drag_overlay) [MAC_OSX]: New variable. |
| 5254 | Likewise. | 5254 | (syms_of_macterm) [MAC_OSX]: Intern and staticpro it. |
| 5255 | 5255 | (mac_get_selected_range, mac_store_buffer_text_to_unicode_chars) | |
| 5256 | * mactoolbox.c (Vmac_ts_active_input_buf) [USE_MAC_TSM]: Add extern. | 5256 | (mac_ax_selected_text_range) [MAC_OSX]: New functions. |
| 5257 | (fast_find_position, x_y_to_hpos_vpos, mac_ax_selected_text_range) | 5257 | (mac_ax_number_of_characters) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: |
| 5258 | (mac_ax_number_of_characters): Add externs. | 5258 | Likewise. |
| 5259 | (mac_get_selected_range, mac_store_buffer_text_to_unicode_chars) | 5259 | |
| 5260 | [USE_MAC_TSM]: Likewise. | 5260 | * mactoolbox.c (Vmac_ts_active_input_buf) [USE_MAC_TSM]: Add extern. |
| 5261 | (mac_handle_text_input_event) [MAC_OSX]: | 5261 | (fast_find_position, x_y_to_hpos_vpos, mac_ax_selected_text_range) |
| 5262 | Handle kEventTextInputOffsetToPos for no active input area case. | 5262 | (mac_ax_number_of_characters): Add externs. |
| 5263 | Handle kEventTextInputPosToOffset and kEventTextInputGetSelectedText. | 5263 | (mac_get_selected_range, mac_store_buffer_text_to_unicode_chars) |
| 5264 | (mac_handle_document_access_event) | 5264 | [USE_MAC_TSM]: Likewise. |
| 5265 | [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New function. | 5265 | (mac_handle_text_input_event) [MAC_OSX]: |
| 5266 | (install_application_handler) [MAC_OSX]: Register handlers for | 5266 | Handle kEventTextInputOffsetToPos for no active input area case. |
| 5267 | kEventTextInputPosToOffset and kEventTextInputGetSelectedText. | 5267 | Handle kEventTextInputPosToOffset and kEventTextInputGetSelectedText. |
| 5268 | (install_application_handler) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | 5268 | (mac_handle_document_access_event) |
| 5269 | Register mac_handle_document_access_event. | 5269 | [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New function. |
| 5270 | 5270 | (install_application_handler) [MAC_OSX]: Register handlers for | |
| 5271 | * xdisp.c (x_y_to_hpos_vpos, fast_find_position) [HAVE_CARBON]: | 5271 | kEventTextInputPosToOffset and kEventTextInputGetSelectedText. |
| 5272 | Make functions non-static. | 5272 | (install_application_handler) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: |
| 5273 | 5273 | Register mac_handle_document_access_event. | |
| 5274 | 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca> | 5274 | |
| 5275 | 5275 | * xdisp.c (x_y_to_hpos_vpos, fast_find_position) [HAVE_CARBON]: | |
| 5276 | * fileio.c (Vread_file_name_function, Vread_file_name_predicate) | 5276 | Make functions non-static. |
| 5277 | (read_file_name_completion_ignore_case, insert_default_directory) | 5277 | |
| 5278 | (Qdefault_directory): Move to minibuffer.el. | 5278 | 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca> |
| 5279 | (Fread_file_name): Call the new `read-file-name' instead. | 5279 | |
| 5280 | 5280 | * fileio.c (Vread_file_name_function, Vread_file_name_predicate) | |
| 5281 | 2008-04-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 5281 | (read_file_name_completion_ignore_case, insert_default_directory) |
| 5282 | 5282 | (Qdefault_directory): Move to minibuffer.el. | |
| 5283 | * mac.c (create_apple_event) [TARGET_API_MAC_CARBON]: | 5283 | (Fread_file_name): Call the new `read-file-name' instead. |
| 5284 | Make function non-static. | 5284 | |
| 5285 | (create_apple_event_from_event_ref) [TARGET_API_MAC_CARBON]: | 5285 | 2008-04-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 5286 | Remove function. | 5286 | |
| 5287 | (create_apple_event_from_drag_ref) [TARGET_API_MAC_CARBON]: | 5287 | * mac.c (create_apple_event) [TARGET_API_MAC_CARBON]: |
| 5288 | Move to mactoolbox.c. | 5288 | Make function non-static. |
| 5289 | (mac_event_parameters_to_lisp) [TARGET_API_MAC_CARBON]: New function. | 5289 | (create_apple_event_from_event_ref) [TARGET_API_MAC_CARBON]: |
| 5290 | 5290 | Remove function. | |
| 5291 | * macgui.h (CGFloat) [!CGFLOAT_DEFINED]: New typedef. | 5291 | (create_apple_event_from_drag_ref) [TARGET_API_MAC_CARBON]: |
| 5292 | (mac_rect_make): New macro. | 5292 | Move to mactoolbox.c. |
| 5293 | 5293 | (mac_event_parameters_to_lisp) [TARGET_API_MAC_CARBON]: New function. | |
| 5294 | * macterm.c (mac_draw_image_string_atsui) [MAC_OSX]: Use CGFloat | 5294 | |
| 5295 | instead of float. | 5295 | * macgui.h (CGFloat) [!CGFLOAT_DEFINED]: New typedef. |
| 5296 | (mac_draw_image_string_cg) [USE_CG_TEXT_DRAWING]: Likewise. | 5296 | (mac_rect_make): New macro. |
| 5297 | (init_cg_color, mac_draw_line, mac_draw_cg_image, XSetForeground) | 5297 | |
| 5298 | (XSetBackground) [USE_CG_DRAWING]: Likewise. | 5298 | * macterm.c (mac_draw_image_string_atsui) [MAC_OSX]: Use CGFloat |
| 5299 | (mac_draw_image_string_atsui) [MAC_OSX]: Use mac_rect_make instead of | 5299 | instead of float. |
| 5300 | CGRectMake. | 5300 | (mac_draw_image_string_cg) [USE_CG_TEXT_DRAWING]: Likewise. |
| 5301 | (mac_draw_image_string_cg) [USE_CG_TEXT_DRAWING]: Likewise. | 5301 | (init_cg_color, mac_draw_line, mac_draw_cg_image, XSetForeground) |
| 5302 | (mac_erase_rectangle, mac_draw_cg_image, mac_fill_rectangle) | 5302 | (XSetBackground) [USE_CG_DRAWING]: Likewise. |
| 5303 | (mac_set_clip_rectangles) [USE_CG_DRAWING]: Likewise. | 5303 | (mac_draw_image_string_atsui) [MAC_OSX]: Use mac_rect_make instead of |
| 5304 | (XCreatePixmap, XCreatePixmapFromBitmapData): Use Window | 5304 | CGRectMake. |
| 5305 | instead of WindowRef in argument type. | 5305 | (mac_draw_image_string_cg) [USE_CG_TEXT_DRAWING]: Likewise. |
| 5306 | (XCreatePixmap) [!MAC_OS8]: Don't call SetPortWindowPort. | 5306 | (mac_erase_rectangle, mac_draw_cg_image, mac_fill_rectangle) |
| 5307 | (mac_invert_rectangle): Use CGContextSetBlendMode if available. | 5307 | (mac_set_clip_rectangles) [USE_CG_DRAWING]: Likewise. |
| 5308 | (mac_set_clip_rectangles, mac_reset_clip_rectangles): Take argument F | 5308 | (XCreatePixmap, XCreatePixmapFromBitmapData): Use Window |
| 5309 | instead of DISPLAY. All uses changed. | 5309 | instead of WindowRef in argument type. |
| 5310 | (mac_handle_size_change): Don't call SET_FRAME_GARBAGED. | 5310 | (XCreatePixmap) [!MAC_OS8]: Don't call SetPortWindowPort. |
| 5311 | (x_calc_absolute_position): Simplify so as not to use | 5311 | (mac_invert_rectangle): Use CGContextSetBlendMode if available. |
| 5312 | FRAME_PIXEL_WIDTH/FRAME_PIXEL_HEIGHT. | 5312 | (mac_set_clip_rectangles, mac_reset_clip_rectangles): Take argument F |
| 5313 | 5313 | instead of DISPLAY. All uses changed. | |
| 5314 | * macterm.h (XCreatePixmap, XCreatePixmapFromBitmapData): Use Window | 5314 | (mac_handle_size_change): Don't call SET_FRAME_GARBAGED. |
| 5315 | instead of WindowRef in argument type. | 5315 | (x_calc_absolute_position): Simplify so as not to use |
| 5316 | (create_apple_event_from_event_ref, create_apple_event_from_drag_ref) | 5316 | FRAME_PIXEL_WIDTH/FRAME_PIXEL_HEIGHT. |
| 5317 | [TARGET_API_MAC_CARBON]: Remove externs. | 5317 | |
| 5318 | (create_apple_event, mac_event_parameters_to_lisp) | 5318 | * macterm.h (XCreatePixmap, XCreatePixmapFromBitmapData): Use Window |
| 5319 | [TARGET_API_MAC_CARBON]: Add externs. | 5319 | instead of WindowRef in argument type. |
| 5320 | 5320 | (create_apple_event_from_event_ref, create_apple_event_from_drag_ref) | |
| 5321 | * mactoolbox.c (Vmac_ts_script_language_on_focus) | 5321 | [TARGET_API_MAC_CARBON]: Remove externs. |
| 5322 | (saved_ts_script_language_on_focus) [USE_MAC_TSM]: Remove externs. | 5322 | (create_apple_event, mac_event_parameters_to_lisp) |
| 5323 | (XTread_socket) [USE_MAC_TOOLBAR]: Select window if its structure part | 5323 | [TARGET_API_MAC_CARBON]: Add externs. |
| 5324 | is clicked. | 5324 | |
| 5325 | (x_activate_menubar): Remove extern for saved_menu_event_location. | 5325 | * mactoolbox.c (Vmac_ts_script_language_on_focus) |
| 5326 | (create_apple_event_from_drag_ref) [TARGET_API_MAC_CARBON]: | 5326 | (saved_ts_script_language_on_focus) [USE_MAC_TSM]: Remove externs. |
| 5327 | Move from mac.c. | 5327 | (XTread_socket) [USE_MAC_TOOLBAR]: Select window if its structure part |
| 5328 | 5328 | is clicked. | |
| 5329 | 2008-04-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 5329 | (x_activate_menubar): Remove extern for saved_menu_event_location. |
| 5330 | 5330 | (create_apple_event_from_drag_ref) [TARGET_API_MAC_CARBON]: | |
| 5331 | * alloc.c [!SYSTEM_MALLOC && !SYNC_INPUT] (uninterrupt_malloc) | 5331 | Move from mac.c. |
| 5332 | [HAVE_GTK_AND_PTHREAD && !DOUG_LEA_MALLOC]: Don't use recursive mutex. | 5332 | |
| 5333 | 5333 | 2008-04-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
| 5334 | 2008-04-23 Jason Rumney <jasonr@gnu.org> | 5334 | |
| 5335 | 5335 | * alloc.c [!SYSTEM_MALLOC && !SYNC_INPUT] (uninterrupt_malloc) | |
| 5336 | * w32.c (stat): When Vw32_get_true_file_attributes is Qlocal, get | 5336 | [HAVE_GTK_AND_PTHREAD && !DOUG_LEA_MALLOC]: Don't use recursive mutex. |
| 5337 | attributes only for local files. | 5337 | |
| 5338 | 5338 | 2008-04-23 Jason Rumney <jasonr@gnu.org> | |
| 5339 | * w32proc.c (syms_of_ntproc): Change Vw32_get_true_file attributes | 5339 | |
| 5340 | default to Qlocal. | 5340 | * w32.c (stat): When Vw32_get_true_file_attributes is Qlocal, get |
| 5341 | 5341 | attributes only for local files. | |
| 5342 | 2008-04-22 Juri Linkov <juri@jurta.org> | 5342 | |
| 5343 | 5343 | * w32proc.c (syms_of_ntproc): Change Vw32_get_true_file attributes | |
| 5344 | * buffer.c (Fswitch_to_buffer): Change interactive spec to call | 5344 | default to Qlocal. |
| 5345 | read-buffer-to-switch instead of using the letter "B". | 5345 | |
| 5346 | 5346 | 2008-04-22 Juri Linkov <juri@jurta.org> | |
| 5347 | 2008-04-21 Stefan Monnier <monnier@iro.umontreal.ca> | 5347 | |
| 5348 | 5348 | * buffer.c (Fswitch_to_buffer): Change interactive spec to call | |
| 5349 | * fileio.c (Qdefault_directory): New variable. | 5349 | read-buffer-to-switch instead of using the letter "B". |
| 5350 | (Fread_file_name): Use it to pass `dir' to the completion functions. | 5350 | |
| 5351 | 5351 | 2008-04-21 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 5352 | 2008-04-20 Chong Yidong <cyd@stupidchicken.com> | 5352 | |
| 5353 | 5353 | * fileio.c (Qdefault_directory): New variable. | |
| 5354 | * xdisp.c (pos_visible_p): Check if iterator stops on a display string. | 5354 | (Fread_file_name): Use it to pass `dir' to the completion functions. |
| 5355 | 5355 | ||
| 5356 | 2008-04-19 Stefan Monnier <monnier@iro.umontreal.ca> | 5356 | 2008-04-20 Chong Yidong <cyd@stupidchicken.com> |
| 5357 | 5357 | ||
| 5358 | * keyboard.c (Vpre_help_message): Remove. | 5358 | * xdisp.c (pos_visible_p): Check if iterator stops on a display string. |
| 5359 | (show_help_echo): Remove default C code. | 5359 | |
| 5360 | 5360 | 2008-04-19 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 5361 | * dired.c (directory_files_internal, file_name_completion): | 5361 | |
| 5362 | Only call ENCODE_FILE if the string is indeed decoded. | 5362 | * keyboard.c (Vpre_help_message): Remove. |
| 5363 | 5363 | (show_help_echo): Remove default C code. | |
| 5364 | 2008-04-18 Stefan Monnier <monnier@iro.umontreal.ca> | 5364 | |
| 5365 | 5365 | * dired.c (directory_files_internal, file_name_completion): | |
| 5366 | * Makefile.in (TOOLKIT_DEFINES): Remove. | 5366 | Only call ENCODE_FILE if the string is indeed decoded. |
| 5367 | (LIBW): Use a bit less #if, remove left over OPEN_LOOK stuff. | 5367 | |
| 5368 | 5368 | 2008-04-18 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 5369 | 2008-04-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 5369 | |
| 5370 | 5370 | * Makefile.in (TOOLKIT_DEFINES): Remove. | |
| 5371 | * Makefile.in (MAC_OBJ): Add mactoolbox.o. | 5371 | (LIBW): Use a bit less #if, remove left over OPEN_LOOK stuff. |
| 5372 | (mactoolbox.o): New target. | 5372 | |
| 5373 | 5373 | 2008-04-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
| 5374 | * mac.c [MAC_OSX] (select_and_poll_event, sys_select): | 5374 | |
| 5375 | Use mac_run_loop_run_once instead of CFRunLoopRunInMode. | 5375 | * Makefile.in (MAC_OBJ): Add mactoolbox.o. |
| 5376 | 5376 | (mactoolbox.o): New target. | |
| 5377 | * macfns.c (x_set_background_color, mac_window, x_create_tip_frame): | 5377 | |
| 5378 | Use mac_set_frame_window_background instead of XSetWindowBackground. | 5378 | * mac.c [MAC_OSX] (select_and_poll_event, sys_select): |
| 5379 | (x_set_tool_bar_lines) [USE_MAC_TOOLBAR]: | 5379 | Use mac_run_loop_run_once instead of CFRunLoopRunInMode. |
| 5380 | Use mac_is_window_toolbar_visible instead of IsWindowToolbarVisible. | 5380 | |
| 5381 | (x_set_name_internal) [TARGET_API_MAC_CARBON]: Use mac_set_window_title | 5381 | * macfns.c (x_set_background_color, mac_window, x_create_tip_frame): |
| 5382 | instead of SetWindowTitleWithCFString. | 5382 | Use mac_set_frame_window_background instead of XSetWindowBackground. |
| 5383 | (mac_update_proxy_icon) [TARGET_API_MAC_CARBON]: Remove BLOCK_INPUT. | 5383 | (x_set_tool_bar_lines) [USE_MAC_TOOLBAR]: |
| 5384 | Move function to mactoolbox.c. | 5384 | Use mac_is_window_toolbar_visible instead of IsWindowToolbarVisible. |
| 5385 | (mac_update_title_bar) [TARGET_API_MAC_CARBON]: | 5385 | (x_set_name_internal) [TARGET_API_MAC_CARBON]: Use mac_set_window_title |
| 5386 | Use mac_set_window_modified instead of SetWindowModified. | 5386 | instead of SetWindowTitleWithCFString. |
| 5387 | Add BLOCK_INPUT around mac_set_window_modified/mac_update_proxy_icon. | 5387 | (mac_update_proxy_icon) [TARGET_API_MAC_CARBON]: Remove BLOCK_INPUT. |
| 5388 | (mac_window, x_create_tip_frame): Use mac_create_frame_window. | 5388 | Move function to mactoolbox.c. |
| 5389 | (Fx_focus_frame): Use mac_front_non_floating_window instead of | 5389 | (mac_update_title_bar) [TARGET_API_MAC_CARBON]: |
| 5390 | FrontNonFloatingWindow. Use mac_activate_window instead of | 5390 | Use mac_set_window_modified instead of SetWindowModified. |
| 5391 | ActivateWindow. Use mac_active_non_floating_window instead of | 5391 | Add BLOCK_INPUT around mac_set_window_modified/mac_update_proxy_icon. |
| 5392 | ActiveNonFloatingWindow. | 5392 | (mac_window, x_create_tip_frame): Use mac_create_frame_window. |
| 5393 | (show_hourglass, hide_hourglass) [TARGET_API_MAC_CARBON]: | 5393 | (Fx_focus_frame): Use mac_front_non_floating_window instead of |
| 5394 | Use mac_show_hourglass and mac_hide_hourglass. | 5394 | FrontNonFloatingWindow. Use mac_activate_window instead of |
| 5395 | (compute_tip_xy) [TARGET_API_MAC_CARBON]: Use mac_get_global_mouse | 5395 | ActivateWindow. Use mac_active_non_floating_window instead of |
| 5396 | instead of GetGlobalMouse. | 5396 | ActiveNonFloatingWindow. |
| 5397 | (Fx_show_tip): Use mac_move_window/mac_size_window/mac_show_window | 5397 | (show_hourglass, hide_hourglass) [TARGET_API_MAC_CARBON]: |
| 5398 | instead of MoveWindow/SizeWindow/ShowWindow, respectively. | 5398 | Use mac_show_hourglass and mac_hide_hourglass. |
| 5399 | Use mac_bring_window_to_front instead of BringToFront. | 5399 | (compute_tip_xy) [TARGET_API_MAC_CARBON]: Use mac_get_global_mouse |
| 5400 | (Qfile_name_history) [TARGET_API_MAC_CARBON]: Move extern to | 5400 | instead of GetGlobalMouse. |
| 5401 | mactoolbox.c. | 5401 | (Fx_show_tip): Use mac_move_window/mac_size_window/mac_show_window |
| 5402 | (Fx_file_dialog) [TARGET_API_MAC_CARBON]: Move function body to | 5402 | instead of MoveWindow/SizeWindow/ShowWindow, respectively. |
| 5403 | mac_file_dialog in mactoolbox.c. Use mac_file_dialog. | 5403 | Use mac_bring_window_to_front instead of BringToFront. |
| 5404 | (mac_nav_event_callback) [TARGET_API_MAC_CARBON]: Move function to | 5404 | (Qfile_name_history) [TARGET_API_MAC_CARBON]: Move extern to |
| 5405 | mactoolbox.c. | 5405 | mactoolbox.c. |
| 5406 | 5406 | (Fx_file_dialog) [TARGET_API_MAC_CARBON]: Move function body to | |
| 5407 | * macgui.h [!HAVE_CARBON]: Include Quickdraw.h instead of QuickDraw.h. | 5407 | mac_file_dialog in mactoolbox.c. Use mac_file_dialog. |
| 5408 | (XtPointer): Move typedef from macmenu.c. | 5408 | (mac_nav_event_callback) [TARGET_API_MAC_CARBON]: Move function to |
| 5409 | (enum button_type): Move enum from macmenu.c. | 5409 | mactoolbox.c. |
| 5410 | (widget_value): Move typedef from macmenu.c. | 5410 | |
| 5411 | (M_APPLE, I_ABOUT, EXTRA_STACK_ALLOC, ARGV_STRING_LIST_ID) | 5411 | * macgui.h [!HAVE_CARBON]: Include Quickdraw.h instead of QuickDraw.h. |
| 5412 | (DIALOG_LEFT_MARGIN, DIALOG_TOP_MARGIN, DIALOG_RIGHT_MARGIN) | 5412 | (XtPointer): Move typedef from macmenu.c. |
| 5413 | (DIALOG_BOTTOM_MARGIN, DIALOG_MIN_INNER_WIDTH, DIALOG_MAX_INNER_WIDTH) | 5413 | (enum button_type): Move enum from macmenu.c. |
| 5414 | (DIALOG_BUTTON_BUTTON_HORIZONTAL_SPACE) | 5414 | (widget_value): Move typedef from macmenu.c. |
| 5415 | (DIALOG_BUTTON_BUTTON_VERTICAL_SPACE, DIALOG_BUTTON_MIN_WIDTH) | 5415 | (M_APPLE, I_ABOUT, EXTRA_STACK_ALLOC, ARGV_STRING_LIST_ID) |
| 5416 | (DIALOG_TEXT_MIN_HEIGHT, DIALOG_TEXT_BUTTONS_VERTICAL_SPACE) | 5416 | (DIALOG_LEFT_MARGIN, DIALOG_TOP_MARGIN, DIALOG_RIGHT_MARGIN) |
| 5417 | (DIALOG_ICON_WIDTH, DIALOG_ICON_HEIGHT, DIALOG_ICON_LEFT_MARGIN) | 5417 | (DIALOG_BOTTOM_MARGIN, DIALOG_MIN_INNER_WIDTH, DIALOG_MAX_INNER_WIDTH) |
| 5418 | (DIALOG_ICON_TOP_MARGIN): Move defines from macmenu.c. | 5418 | (DIALOG_BUTTON_BUTTON_HORIZONTAL_SPACE) |
| 5419 | (Selection): Move typedef from macselect.c. | 5419 | (DIALOG_BUTTON_BUTTON_VERTICAL_SPACE, DIALOG_BUTTON_MIN_WIDTH) |
| 5420 | (RAM_TOO_LARGE_ALERT_ID, ABOUT_ALERT_ID) [MAC_OS8]: Move defines from | 5420 | (DIALOG_TEXT_MIN_HEIGHT, DIALOG_TEXT_BUTTONS_VERTICAL_SPACE) |
| 5421 | macterm.c. | 5421 | (DIALOG_ICON_WIDTH, DIALOG_ICON_HEIGHT, DIALOG_ICON_LEFT_MARGIN) |
| 5422 | (mac_set_window_title, mac_set_window_modified, mac_is_window_visible) | 5422 | (DIALOG_ICON_TOP_MARGIN): Move defines from macmenu.c. |
| 5423 | (mac_is_window_collapsed, mac_bring_window_to_front) | 5423 | (Selection): Move typedef from macselect.c. |
| 5424 | (mac_send_window_behind, mac_hide_window, mac_show_window) | 5424 | (RAM_TOO_LARGE_ALERT_ID, ABOUT_ALERT_ID) [MAC_OS8]: Move defines from |
| 5425 | (mac_collapse_window, mac_front_non_floating_window) | 5425 | macterm.c. |
| 5426 | (mac_active_non_floating_window, mac_activate_window) | 5426 | (mac_set_window_title, mac_set_window_modified, mac_is_window_visible) |
| 5427 | (mac_move_window_structure, mac_move_window, mac_size_window) | 5427 | (mac_is_window_collapsed, mac_bring_window_to_front) |
| 5428 | (mac_get_global_mouse, mac_is_window_toolbar_visible): New defines. | 5428 | (mac_send_window_behind, mac_hide_window, mac_show_window) |
| 5429 | 5429 | (mac_collapse_window, mac_front_non_floating_window) | |
| 5430 | * macmenu.c [!TARGET_API_MAC_CARBON]: Move includes to mactoolbox.c. | 5430 | (mac_active_non_floating_window, mac_activate_window) |
| 5431 | (enum mac_menu_kind): Move enum to mactoolbox.c. | 5431 | (mac_move_window_structure, mac_move_window, mac_size_window) |
| 5432 | (min_menu_id): Move variable to mactoolbox.c. | 5432 | (mac_get_global_mouse, mac_is_window_toolbar_visible): New defines. |
| 5433 | (quit_dialog_event_loop) [TARGET_API_MAC_CARBON]: Likewise. | 5433 | |
| 5434 | (DIALOG_WINDOW_RESOURCE): Move define to mactoolbox.c. | 5434 | * macmenu.c [!TARGET_API_MAC_CARBON]: Move includes to mactoolbox.c. |
| 5435 | (DIALOG_BUTTON_COMMAND_ID_OFFSET, DIALOG_BUTTON_COMMAND_ID_P) | 5435 | (enum mac_menu_kind): Move enum to mactoolbox.c. |
| 5436 | (DIALOG_BUTTON_COMMAND_ID_VALUE, DIALOG_BUTTON_MAKE_COMMAND_ID) | 5436 | (min_menu_id): Move variable to mactoolbox.c. |
| 5437 | [TARGET_API_MAC_CARBON]: Likewise. | 5437 | (quit_dialog_event_loop) [TARGET_API_MAC_CARBON]: Likewise. |
| 5438 | (XtPointer): Move typedef to macgui.h. | 5438 | (DIALOG_WINDOW_RESOURCE): Move define to mactoolbox.c. |
| 5439 | (enum button_type): Move enum to macgui.h. | 5439 | (DIALOG_BUTTON_COMMAND_ID_OFFSET, DIALOG_BUTTON_COMMAND_ID_P) |
| 5440 | (widget_value): Move typedef to macgui.h. | 5440 | (DIALOG_BUTTON_COMMAND_ID_VALUE, DIALOG_BUTTON_MAKE_COMMAND_ID) |
| 5441 | (DIALOG_LEFT_MARGIN, DIALOG_TOP_MARGIN, DIALOG_RIGHT_MARGIN) | 5441 | [TARGET_API_MAC_CARBON]: Likewise. |
| 5442 | (DIALOG_BOTTOM_MARGIN, DIALOG_MIN_INNER_WIDTH, DIALOG_MAX_INNER_WIDTH) | 5442 | (XtPointer): Move typedef to macgui.h. |
| 5443 | (DIALOG_BUTTON_BUTTON_HORIZONTAL_SPACE) | 5443 | (enum button_type): Move enum to macgui.h. |
| 5444 | (DIALOG_BUTTON_BUTTON_VERTICAL_SPACE, DIALOG_BUTTON_MIN_WIDTH) | 5444 | (widget_value): Move typedef to macgui.h. |
| 5445 | (DIALOG_TEXT_MIN_HEIGHT, DIALOG_TEXT_BUTTONS_VERTICAL_SPACE) | 5445 | (DIALOG_LEFT_MARGIN, DIALOG_TOP_MARGIN, DIALOG_RIGHT_MARGIN) |
| 5446 | (DIALOG_ICON_WIDTH, DIALOG_ICON_HEIGHT, DIALOG_ICON_LEFT_MARGIN) | 5446 | (DIALOG_BOTTOM_MARGIN, DIALOG_MIN_INNER_WIDTH, DIALOG_MAX_INNER_WIDTH) |
| 5447 | (DIALOG_ICON_TOP_MARGIN): Move defines to macgui.h. | 5447 | (DIALOG_BUTTON_BUTTON_HORIZONTAL_SPACE) |
| 5448 | (popup_activated_flag): Make variable non-static. | 5448 | (DIALOG_BUTTON_BUTTON_VERTICAL_SPACE, DIALOG_BUTTON_MIN_WIDTH) |
| 5449 | (x_activate_menubar, install_menu_quit_handler, pop_down_menu) | 5449 | (DIALOG_TEXT_MIN_HEIGHT, DIALOG_TEXT_BUTTONS_VERTICAL_SPACE) |
| 5450 | (add_menu_item, fill_menu, dispose_menus): | 5450 | (DIALOG_ICON_WIDTH, DIALOG_ICON_HEIGHT, DIALOG_ICON_LEFT_MARGIN) |
| 5451 | Move functions to mactoolbox.c. | 5451 | (DIALOG_ICON_TOP_MARGIN): Move defines to macgui.h. |
| 5452 | (restore_show_help_function, menu_target_item_handler) | 5452 | (popup_activated_flag): Make variable non-static. |
| 5453 | (install_menu_target_item_handler, mac_handle_dialog_event) | 5453 | (x_activate_menubar, install_menu_quit_handler, pop_down_menu) |
| 5454 | (install_dialog_event_handler, pop_down_dialog, create_and_show_dialog) | 5454 | (add_menu_item, fill_menu, dispose_menus): |
| 5455 | [TARGET_API_MAC_CARBON]: Likewise. | 5455 | Move functions to mactoolbox.c. |
| 5456 | (menu_quit_handler) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Likewise. | 5456 | (restore_show_help_function, menu_target_item_handler) |
| 5457 | (mac_dialog) [!TARGET_API_MAC_CARBON]: Likewise. | 5457 | (install_menu_target_item_handler, mac_handle_dialog_event) |
| 5458 | (find_and_call_menu_selection, name_is_separator): Make function | 5458 | (install_dialog_event_handler, pop_down_dialog, create_and_show_dialog) |
| 5459 | non-static. | 5459 | [TARGET_API_MAC_CARBON]: Likewise. |
| 5460 | (Vshow_help_function, timer_check) [TARGET_API_MAC_CARBON]: Move extern | 5460 | (menu_quit_handler) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Likewise. |
| 5461 | to mactoolbox.c. | 5461 | (mac_dialog) [!TARGET_API_MAC_CARBON]: Likewise. |
| 5462 | (set_frame_menubar): Don't call install_menu_quit_handler. | 5462 | (find_and_call_menu_selection, name_is_separator): Make function |
| 5463 | (menu_item_selection): New variable. | 5463 | non-static. |
| 5464 | (mac_menu_show): Use create_and_show_popup_menu. | 5464 | (Vshow_help_function, timer_check) [TARGET_API_MAC_CARBON]: Move extern |
| 5465 | (create_and_show_dialog) [TARGET_API_MAC_CARBON]: Don't return | 5465 | to mactoolbox.c. |
| 5466 | selection but set variable menu_item_selection. All uses changed. | 5466 | (set_frame_menubar): Don't call install_menu_quit_handler. |
| 5467 | (mac_fill_menubar): Rename from fill_menubar. All uses changed. | 5467 | (menu_item_selection): New variable. |
| 5468 | Call install_menu_quit_handler. Move to mactoolbox.c. | 5468 | (mac_menu_show): Use create_and_show_popup_menu. |
| 5469 | 5469 | (create_and_show_dialog) [TARGET_API_MAC_CARBON]: Don't return | |
| 5470 | * macselect.c [!TARGET_API_MAC_CARBON]: Don't include Scrap.h. | 5470 | selection but set variable menu_item_selection. All uses changed. |
| 5471 | (Selection): Move typedef to macgui.h. | 5471 | (mac_fill_menubar): Rename from fill_menubar. All uses changed. |
| 5472 | (Vselection_converter_alist, Qmac_scrap_name, Qmac_ostype) | 5472 | Call install_menu_quit_handler. Move to mactoolbox.c. |
| 5473 | (Vmac_apple_event_map, Qmac_apple_event_class, Qmac_apple_event_id): | 5473 | |
| 5474 | Make variables non-static. | 5474 | * macselect.c [!TARGET_API_MAC_CARBON]: Don't include Scrap.h. |
| 5475 | (Vmac_dnd_known_types) [TARGET_API_MAC_CARBON]: Likewise. | 5475 | (Selection): Move typedef to macgui.h. |
| 5476 | (mac_handle_apple_event, cleanup_all_suspended_apple_events): | 5476 | (Vselection_converter_alist, Qmac_scrap_name, Qmac_ostype) |
| 5477 | Make functions non-static. | 5477 | (Vmac_apple_event_map, Qmac_apple_event_class, Qmac_apple_event_id): |
| 5478 | (Vmac_service_selection) [MAC_OSX]: Likewise. | 5478 | Make variables non-static. |
| 5479 | (mac_get_selection_from_symbol, get_flavor_type_from_symbol) | 5479 | (Vmac_dnd_known_types) [TARGET_API_MAC_CARBON]: Likewise. |
| 5480 | (mac_valid_selection_target_p, mac_clear_selection) | 5480 | (mac_handle_apple_event, cleanup_all_suspended_apple_events): |
| 5481 | (mac_get_selection_ownership_info, mac_valid_selection_value_p) | 5481 | Make functions non-static. |
| 5482 | (mac_put_selection_value, mac_selection_has_target_p) | 5482 | (Vmac_service_selection) [MAC_OSX]: Likewise. |
| 5483 | (mac_get_selection_value, mac_get_selection_target_list) | 5483 | (mac_get_selection_from_symbol, get_flavor_type_from_symbol) |
| 5484 | (init_apple_event_handler, install_drag_handler, remove_drag_handler): | 5484 | (mac_valid_selection_target_p, mac_clear_selection) |
| 5485 | Move functions to mactoolbox.c. | 5485 | (mac_get_selection_ownership_info, mac_valid_selection_value_p) |
| 5486 | (mac_do_track_drag, mac_do_receive_drag) [TARGET_API_MAC_CARBON]: | 5486 | (mac_put_selection_value, mac_selection_has_target_p) |
| 5487 | Likewise. | 5487 | (mac_get_selection_value, mac_get_selection_target_list) |
| 5488 | (copy_scrap_flavor_data, mac_handle_service_event) | 5488 | (init_apple_event_handler, install_drag_handler, remove_drag_handler): |
| 5489 | (install_service_handler) [MAC_OSX]: Likewise. | 5489 | Move functions to mactoolbox.c. |
| 5490 | (syms_of_macselect) <Vmac_dnd_known_types>: | 5490 | (mac_do_track_drag, mac_do_receive_drag) [TARGET_API_MAC_CARBON]: |
| 5491 | Use mac_dnd_default_known_types. | 5491 | Likewise. |
| 5492 | 5492 | (copy_scrap_flavor_data, mac_handle_service_event) | |
| 5493 | * macterm.h (FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y): | 5493 | (install_service_handler) [MAC_OSX]: Likewise. |
| 5494 | Move to mactoolbox.c. | 5494 | (syms_of_macselect) <Vmac_dnd_known_types>: |
| 5495 | (HOURGLASS_WIDTH, HOURGLASS_HEIGHT): Change to 15. | 5495 | Use mac_dnd_default_known_types. |
| 5496 | (Fx_selection_owner_p): Add EXFUN. | 5496 | |
| 5497 | (install_window_handler, remove_window_handler, XSetWindowBackground): | 5497 | * macterm.h (FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y): |
| 5498 | Remove externs. | 5498 | Move to mactoolbox.c. |
| 5499 | (do_apple_menu) [!TARGET_API_MAC_CARBON]: Likewise. | 5499 | (HOURGLASS_WIDTH, HOURGLASS_HEIGHT): Change to 15. |
| 5500 | (mac_prepare_for_quickdraw) [USE_CG_DRAWING]: Likewise. | 5500 | (Fx_selection_owner_p): Add EXFUN. |
| 5501 | (x_raise_frame, x_lower_frame, mac_alert_sound_play) | 5501 | (install_window_handler, remove_window_handler, XSetWindowBackground): |
| 5502 | (install_application_handler, mac_get_frame_bounds, mac_get_frame_mouse) | 5502 | Remove externs. |
| 5503 | (mac_convert_frame_point_to_global, mac_set_frame_window_background) | 5503 | (do_apple_menu) [!TARGET_API_MAC_CARBON]: Likewise. |
| 5504 | (mac_update_begin mac_update_end, mac_frame_up_to_date, x_flush) | 5504 | (mac_prepare_for_quickdraw) [USE_CG_DRAWING]: Likewise. |
| 5505 | (mac_create_frame_window, mac_dispose_frame_window, mac_begin_clip) | 5505 | (x_raise_frame, x_lower_frame, mac_alert_sound_play) |
| 5506 | (mac_end_clip, mac_create_scroll_bar, mac_dispose_scroll_bar) | 5506 | (install_application_handler, mac_get_frame_bounds, mac_get_frame_mouse) |
| 5507 | (mac_set_scroll_bar_bounds, mac_redraw_scroll_bar, mac_fill_menubar) | 5507 | (mac_convert_frame_point_to_global, mac_set_frame_window_background) |
| 5508 | (create_and_show_popup_menu, mac_get_selection_from_symbol) | 5508 | (mac_update_begin mac_update_end, mac_frame_up_to_date, x_flush) |
| 5509 | (mac_valid_selection_target_p, mac_clear_selection) | 5509 | (mac_create_frame_window, mac_dispose_frame_window, mac_begin_clip) |
| 5510 | (mac_get_selection_ownership_info, mac_valid_selection_value_p) | 5510 | (mac_end_clip, mac_create_scroll_bar, mac_dispose_scroll_bar) |
| 5511 | (mac_put_selection_value, mac_selection_has_target_p) | 5511 | (mac_set_scroll_bar_bounds, mac_redraw_scroll_bar, mac_fill_menubar) |
| 5512 | (mac_get_selection_value, mac_get_selection_target_list): Add externs. | 5512 | (create_and_show_popup_menu, mac_get_selection_from_symbol) |
| 5513 | (mac_update_proxy_icon, mac_show_hourglass, mac_hide_hourglass) | 5513 | (mac_valid_selection_target_p, mac_clear_selection) |
| 5514 | (mac_reposition_hourglass, mac_file_dialog, create_and_show_dialog) | 5514 | (mac_get_selection_ownership_info, mac_valid_selection_value_p) |
| 5515 | (mac_dnd_default_known_types) [TARGET_API_MAC_CARBON]: Likewise. | 5515 | (mac_put_selection_value, mac_selection_has_target_p) |
| 5516 | (mac_run_loop_run_once) [MAC_OSX]: Likewise. | 5516 | (mac_get_selection_value, mac_get_selection_target_list): Add externs. |
| 5517 | (mac_dialog) [!TARGET_API_MAC_CARBON]: Likewise. | 5517 | (mac_update_proxy_icon, mac_show_hourglass, mac_hide_hourglass) |
| 5518 | (mac_begin_cg_clip, mac_end_cg_clip) [USE_CG_DRAWING]: Likewise. | 5518 | (mac_reposition_hourglass, mac_file_dialog, create_and_show_dialog) |
| 5519 | (x_set_toolkit_scroll_bar_thumb) [!USE_TOOLKIT_SCROLL_BARS]: Likewise. | 5519 | (mac_dnd_default_known_types) [TARGET_API_MAC_CARBON]: Likewise. |
| 5520 | (x_scroll_bar_set_handle) [!USE_TOOLKIT_SCROLL_BARS]: Likewise. | 5520 | (mac_run_loop_run_once) [MAC_OSX]: Likewise. |
| 5521 | 5521 | (mac_dialog) [!TARGET_API_MAC_CARBON]: Likewise. | |
| 5522 | * mactoolbox.c: New file. | 5522 | (mac_begin_cg_clip, mac_end_cg_clip) [USE_CG_DRAWING]: Likewise. |
| 5523 | 5523 | (x_set_toolkit_scroll_bar_thumb) [!USE_TOOLKIT_SCROLL_BARS]: Likewise. | |
| 5524 | 2008-04-18 Jason Rumney <jasonr@gnu.org> | 5524 | (x_scroll_bar_set_handle) [!USE_TOOLKIT_SCROLL_BARS]: Likewise. |
| 5525 | 5525 | ||
| 5526 | * dired.c (Ffile_attributes) [WINDOWSNT]: Cast uid and gid to unsigned. | 5526 | * mactoolbox.c: New file. |
| 5527 | 5527 | ||
| 5528 | 2008-04-18 Stefan Monnier <monnier@iro.umontreal.ca> | 5528 | 2008-04-18 Jason Rumney <jasonr@gnu.org> |
| 5529 | 5529 | ||
| 5530 | * character.c (Fmultibyte_char_to_unibyte): | 5530 | * dired.c (Ffile_attributes) [WINDOWSNT]: Cast uid and gid to unsigned. |
| 5531 | Return latin1 chars unchanged. | 5531 | |
| 5532 | 5532 | 2008-04-18 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 5533 | * fileio.c (Fexpand_file_name): Refine last fix so `nm' is only | 5533 | |
| 5534 | relocated if it points to `name'. | 5534 | * character.c (Fmultibyte_char_to_unibyte): |
| 5535 | 5535 | Return latin1 chars unchanged. | |
| 5536 | 2008-04-17 Kenichi Handa <handa@m17n.org> | 5536 | |
| 5537 | 5537 | * fileio.c (Fexpand_file_name): Refine last fix so `nm' is only | |
| 5538 | * data.c (Faset): Allow setting a multibyte character in an | 5538 | relocated if it points to `name'. |
| 5539 | ASCII-only unibyte string. | 5539 | |
| 5540 | 5540 | 2008-04-17 Kenichi Handa <handa@m17n.org> | |
| 5541 | * lisp.h (STRING_SET_MULTIBYTE): New macro. | 5541 | |
| 5542 | 5542 | * data.c (Faset): Allow setting a multibyte character in an | |
| 5543 | 2008-04-16 Stefan Monnier <monnier@iro.umontreal.ca> | 5543 | ASCII-only unibyte string. |
| 5544 | 5544 | ||
| 5545 | * Makefile.in: Don't use HAVE_GTK and don't -DUSE_GTK since it's now | 5545 | * lisp.h (STRING_SET_MULTIBYTE): New macro. |
| 5546 | done in config.h. | 5546 | |
| 5547 | 5547 | 2008-04-16 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 5548 | 2008-04-16 Juanma Barranquero <lekktu@gmail.com> | 5548 | |
| 5549 | 5549 | * Makefile.in: Don't use HAVE_GTK and don't -DUSE_GTK since it's now | |
| 5550 | * character.c (Fchar_bytes, Fchar_width, Fstring_width) | 5550 | done in config.h. |
| 5551 | (Fchar_direction): Add usage in the docstring. | 5551 | |
| 5552 | 5552 | 2008-04-16 Juanma Barranquero <lekktu@gmail.com> | |
| 5553 | 2008-04-15 Chong Yidong <cyd@stupidchicken.com> | 5553 | |
| 5554 | 5554 | * character.c (Fchar_bytes, Fchar_width, Fstring_width) | |
| 5555 | * keyboard.c (read_key_sequence): Remove always-true checks. | 5555 | (Fchar_direction): Add usage in the docstring. |
| 5556 | 5556 | ||
| 5557 | 2008-04-14 Jason Rumney <jasonr@gnu.org> | 5557 | 2008-04-15 Chong Yidong <cyd@stupidchicken.com> |
| 5558 | 5558 | ||
| 5559 | * w32font.c (w32font_open_internal): Set max_bounds.descent in | 5559 | * keyboard.c (read_key_sequence): Remove always-true checks. |
| 5560 | compatibility struct, for better underline positioning. | 5560 | |
| 5561 | 5561 | 2008-04-14 Jason Rumney <jasonr@gnu.org> | |
| 5562 | 2008-04-13 David Hansen <david.hansen@gmx.net> | 5562 | |
| 5563 | 5563 | * w32font.c (w32font_open_internal): Set max_bounds.descent in | |
| 5564 | * dbusbind.c (dbus-get-unique-name): Remove extra copying of name | 5564 | compatibility struct, for better underline positioning. |
| 5565 | string. | 5565 | |
| 5566 | 5566 | 2008-04-13 David Hansen <david.hansen@gmx.net> | |
| 5567 | 2008-04-12 Dan Nicolaescu <dann@ics.uci.edu> | 5567 | |
| 5568 | 5568 | * dbusbind.c (dbus-get-unique-name): Remove extra copying of name | |
| 5569 | * m/hp800.h (XUINT, XSET): Remove. | 5569 | string. |
| 5570 | 5570 | ||
| 5571 | 2008-04-12 Juanma Barranquero <lekktu@gmail.com> | 5571 | 2008-04-12 Dan Nicolaescu <dann@ics.uci.edu> |
| 5572 | 5572 | ||
| 5573 | * fileio.c (Fexpand_file_name): Add declaration for `p' missing in | 5573 | * m/hp800.h (XUINT, XSET): Remove. |
| 5574 | previous change. | 5574 | |
| 5575 | 5575 | 2008-04-12 Juanma Barranquero <lekktu@gmail.com> | |
| 5576 | 2008-04-12 Stefan Monnier <monnier@iro.umontreal.ca> | 5576 | |
| 5577 | 5577 | * fileio.c (Fexpand_file_name): Add declaration for `p' missing in | |
| 5578 | * fileio.c (Fexpand_file_name): Tighten the scope of `p' and `o' vars. | 5578 | previous change. |
| 5579 | Relocate `nm' after calling DECODE_FILE, in case the GC was run. | 5579 | |
| 5580 | 5580 | 2008-04-12 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 5581 | 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca> | 5581 | |
| 5582 | 5582 | * fileio.c (Fexpand_file_name): Tighten the scope of `p' and `o' vars. | |
| 5583 | * keymap.h (map_keymap_canonical): Declare. | 5583 | Relocate `nm' after calling DECODE_FILE, in case the GC was run. |
| 5584 | * xmenu.c (single_keymap_panes): Use it. | 5584 | |
| 5585 | 5585 | 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 5586 | 2008-04-11 Glenn Morris <rgm@gnu.org> | 5586 | |
| 5587 | 5587 | * keymap.h (map_keymap_canonical): Declare. | |
| 5588 | * eval.c (Fdefvaralias): If the alias is bound and the target is not, | 5588 | * xmenu.c (single_keymap_panes): Use it. |
| 5589 | set the target's value to that of the alias. | 5589 | |
| 5590 | 5590 | 2008-04-11 Glenn Morris <rgm@gnu.org> | |
| 5591 | 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca> | 5591 | |
| 5592 | 5592 | * eval.c (Fdefvaralias): If the alias is bound and the target is not, | |
| 5593 | * term.c (set_tty_color_mode): Left over typo. | 5593 | set the target's value to that of the alias. |
| 5594 | 5594 | ||
| 5595 | 2008-04-10 Michael Albinus <michael.albinus@gmx.de> | 5595 | 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca> |
| 5596 | 5596 | ||
| 5597 | * fileio.c (Fmake_symbolic_link): Surround code by #ifdef S_IFLNK | 5597 | * term.c (set_tty_color_mode): Left over typo. |
| 5598 | only after check for file name handler functions. Signal, when | 5598 | |
| 5599 | native functionality is not supported. | 5599 | 2008-04-10 Michael Albinus <michael.albinus@gmx.de> |
| 5600 | (syms_of_fileio): Declare it unconditionally. | 5600 | |
| 5601 | 5601 | * fileio.c (Fmake_symbolic_link): Surround code by #ifdef S_IFLNK | |
| 5602 | 2008-04-10 Jason Rumney <jasonr@gnu.org> | 5602 | only after check for file name handler functions. Signal, when |
| 5603 | 5603 | native functionality is not supported. | |
| 5604 | * w32menu.c (is_simple_dialog, simple_dialog_show): New functions. | 5604 | (syms_of_fileio): Declare it unconditionally. |
| 5605 | (Fx_popup_dialog): Handle simple yes/no questions as dialogs. | 5605 | |
| 5606 | 5606 | 2008-04-10 Jason Rumney <jasonr@gnu.org> | |
| 5607 | * w32.c (logon_network_drive): Also logon to remote drives that | 5607 | |
| 5608 | are mapped to drive letters. | 5608 | * w32menu.c (is_simple_dialog, simple_dialog_show): New functions. |
| 5609 | 5609 | (Fx_popup_dialog): Handle simple yes/no questions as dialogs. | |
| 5610 | 2008-04-10 Glenn Morris <rgm@gnu.org> | 5610 | |
| 5611 | 5611 | * w32.c (logon_network_drive): Also logon to remote drives that | |
| 5612 | * xdisp.c (truncate-partial-width-windows): Doc fix. | 5612 | are mapped to drive letters. |
| 5613 | 5613 | ||
| 5614 | 2008-04-10 Stefan Monnier <monnier@iro.umontreal.ca> | 5614 | 2008-04-10 Glenn Morris <rgm@gnu.org> |
| 5615 | 5615 | ||
| 5616 | * fileio.c (read_file_name_cleanup, Fread_file_name_internal): | 5616 | * xdisp.c (truncate-partial-width-windows): Doc fix. |
| 5617 | Move functions to minibuffer.el. | 5617 | |
| 5618 | (syms_of_fileio): Don't declare them. | 5618 | 2008-04-10 Stefan Monnier <monnier@iro.umontreal.ca> |
| 5619 | 5619 | ||
| 5620 | 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca> | 5620 | * fileio.c (read_file_name_cleanup, Fread_file_name_internal): |
| 5621 | 5621 | Move functions to minibuffer.el. | |
| 5622 | * minibuf.c (Vcompletion_auto_help): Move to minibuffer.el. | 5622 | (syms_of_fileio): Don't declare them. |
| 5623 | (syms_of_minibuf): Remove its initialization. | 5623 | |
| 5624 | 5624 | 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 5625 | * minibuf.c (temp_echo_area_glyphs): Remove unused function. | 5625 | |
| 5626 | 5626 | * minibuf.c (Vcompletion_auto_help): Move to minibuffer.el. | |
| 5627 | 2008-04-09 Juanma Barranquero <lekktu@gmail.com> | 5627 | (syms_of_minibuf): Remove its initialization. |
| 5628 | 5628 | ||
| 5629 | * editfns.c (Ffield_string_no_properties): Fix typo in docstring. | 5629 | * minibuf.c (temp_echo_area_glyphs): Remove unused function. |
| 5630 | 5630 | ||
| 5631 | 2008-04-09 Jason Rumney <jasonr@gnu.org> | 5631 | 2008-04-09 Juanma Barranquero <lekktu@gmail.com> |
| 5632 | 5632 | ||
| 5633 | * makefile.w32-in (distclean): Delete makefile too. | 5633 | * editfns.c (Ffield_string_no_properties): Fix typo in docstring. |
| 5634 | (maintainer-clean): New target. | 5634 | |
| 5635 | 5635 | 2008-04-09 Jason Rumney <jasonr@gnu.org> | |
| 5636 | * xdisp.c (redisplay_internal) [!WINDOWSNT]: Conditionalize last change. | 5636 | |
| 5637 | 5637 | * makefile.w32-in (distclean): Delete makefile too. | |
| 5638 | * w32term.c (w32_compute_glyph_string_overhangs): Compute overhangs | 5638 | (maintainer-clean): New target. |
| 5639 | for new font backend and composite cases. | 5639 | |
| 5640 | 5640 | * xdisp.c (redisplay_internal) [!WINDOWSNT]: Conditionalize last change. | |
| 5641 | 2008-04-09 Jan Djärv <jan.h.d@swipnet.se> | 5641 | |
| 5642 | 5642 | * w32term.c (w32_compute_glyph_string_overhangs): Compute overhangs | |
| 5643 | * atimer.c (alarm_signal_handler): Call run_timers if not SYNC_INPUT. | 5643 | for new font backend and composite cases. |
| 5644 | Most of the code moved to run_timers. | 5644 | |
| 5645 | (do_pending_atimers): Call run_timers. | 5645 | 2008-04-09 Jan Djärv <jan.h.d@swipnet.se> |
| 5646 | (run_timers): New function. | 5646 | |
| 5647 | 5647 | * atimer.c (alarm_signal_handler): Call run_timers if not SYNC_INPUT. | |
| 5648 | * sysdep.c (emacs_write): If SYNC_INPUT and pending_atimers, | 5648 | Most of the code moved to run_timers. |
| 5649 | run atimers. | 5649 | (do_pending_atimers): Call run_timers. |
| 5650 | 5650 | (run_timers): New function. | |
| 5651 | * process.c (wait_reading_process_output): The same as above. | 5651 | |
| 5652 | 5652 | * sysdep.c (emacs_write): If SYNC_INPUT and pending_atimers, | |
| 5653 | 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca> | 5653 | run atimers. |
| 5654 | 5654 | ||
| 5655 | * minibuf.c (last_exact_completion): Remove variable. | 5655 | * process.c (wait_reading_process_output): The same as above. |
| 5656 | (Fdelete_minibuffer_contents, do_completion, Fminibuffer_complete) | 5656 | |
| 5657 | (complete_and_exit_1, complete_and_exit_2) | 5657 | 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca> |
| 5658 | (Fminibuffer_complete_and_exit, Fminibuffer_complete_word) | 5658 | |
| 5659 | (Fdisplay_completion_list, display_completion_list_1) | 5659 | * minibuf.c (last_exact_completion): Remove variable. |
| 5660 | (Fminibuffer_completion_help, Fself_insert_and_exit) | 5660 | (Fdelete_minibuffer_contents, do_completion, Fminibuffer_complete) |
| 5661 | (Fexit_minibuffer, Fminibuffer_message): Move functions to | 5661 | (complete_and_exit_1, complete_and_exit_2) |
| 5662 | minibuffer.el. | 5662 | (Fminibuffer_complete_and_exit, Fminibuffer_complete_word) |
| 5663 | (syms_of_minibuf): Remove corresponding initializations. | 5663 | (Fdisplay_completion_list, display_completion_list_1) |
| 5664 | 5664 | (Fminibuffer_completion_help, Fself_insert_and_exit) | |
| 5665 | * keyboard.c (Qdeactivate_mark): New var. | 5665 | (Fexit_minibuffer, Fminibuffer_message): Move functions to |
| 5666 | (command_loop_1): Use it to call `deactivate-mark'. | 5666 | minibuffer.el. |
| 5667 | (syms_of_keyboard): Initialize it. | 5667 | (syms_of_minibuf): Remove corresponding initializations. |
| 5668 | 5668 | ||
| 5669 | * xdisp.c (redisplay_internal): Reset tty's color_mode when switching | 5669 | * keyboard.c (Qdeactivate_mark): New var. |
| 5670 | to another frame. | 5670 | (command_loop_1): Use it to call `deactivate-mark'. |
| 5671 | * frame.c (do_switch_frame): Refine the top_frame/async_visible code. | 5671 | (syms_of_keyboard): Initialize it. |
| 5672 | Don't call set_tty_color_mode. | 5672 | |
| 5673 | (store_frame_param): Reset previous_frame rather than call | 5673 | * xdisp.c (redisplay_internal): Reset tty's color_mode when switching |
| 5674 | set_tty_color_mode. | 5674 | to another frame. |
| 5675 | * term.c (set_tty_color_mode): Rewrite. | 5675 | * frame.c (do_switch_frame): Refine the top_frame/async_visible code. |
| 5676 | * dispextern.h (set_tty_color_mode): New type. | 5676 | Don't call set_tty_color_mode. |
| 5677 | * termchar.h (struct tty_display_info): Add `previous_color_mode'. | 5677 | (store_frame_param): Reset previous_frame rather than call |
| 5678 | 5678 | set_tty_color_mode. | |
| 5679 | 2008-04-08 Stefan Monnier <monnier@iro.umontreal.ca> | 5679 | * term.c (set_tty_color_mode): Rewrite. |
| 5680 | 5680 | * dispextern.h (set_tty_color_mode): New type. | |
| 5681 | * keymap.c (access_keymap): Remove the value 2 for t_ok which was used | 5681 | * termchar.h (struct tty_display_info): Add `previous_color_mode'. |
| 5682 | for generic chars, which do not exist any more in emacs-unicode. | 5682 | |
| 5683 | 5683 | 2008-04-08 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 5684 | 2008-04-08 Michael Albinus <michael.albinus@gmx.de> | 5684 | |
| 5685 | 5685 | * keymap.c (access_keymap): Remove the value 2 for t_ok which was used | |
| 5686 | * coding.c (detect_coding_emacs_mule) | 5686 | for generic chars, which do not exist any more in emacs-unicode. |
| 5687 | (Ffind_operation_coding_system): Fix typo. | 5687 | |
| 5688 | 5688 | 2008-04-08 Michael Albinus <michael.albinus@gmx.de> | |
| 5689 | 2008-04-08 Jason Rumney <jasonr@gnu.org> | 5689 | |
| 5690 | 5690 | * coding.c (detect_coding_emacs_mule) | |
| 5691 | * w32uniscribe.c (SNAME): Extract only symbol name. | 5691 | (Ffind_operation_coding_system): Fix typo. |
| 5692 | 5692 | ||
| 5693 | * w32font.h (struct w32_metric_cache): New struct. | 5693 | 2008-04-08 Jason Rumney <jasonr@gnu.org> |
| 5694 | (w32font_info): Use it. | 5694 | |
| 5695 | (W32METRIC_NO_ATTEMPT, W32METRIC_SUCCESS, W32METRIC_FAIL) | 5695 | * w32uniscribe.c (SNAME): Extract only symbol name. |
| 5696 | (CACHE_BLOCKSIZE): New constants. | 5696 | |
| 5697 | 5697 | * w32font.h (struct w32_metric_cache): New struct. | |
| 5698 | * w32font.c (Qja, Qko, Qzh): New symbols. | 5698 | (w32font_info): Use it. |
| 5699 | (syms_of_w32font): Initialise them. | 5699 | (W32METRIC_NO_ATTEMPT, W32METRIC_SUCCESS, W32METRIC_FAIL) |
| 5700 | (font_matches_spec): Use them to filter by language. | 5700 | (CACHE_BLOCKSIZE): New constants. |
| 5701 | (recompute_cached_metrics): Remove function. | 5701 | |
| 5702 | (compute_metrics, clear_cached_metrics): New functions. | 5702 | * w32font.c (Qja, Qko, Qzh): New symbols. |
| 5703 | (w32font_encode_char): Use them to manage metric cache. | 5703 | (syms_of_w32font): Initialise them. |
| 5704 | (w32font_text_extents): Cache metrics for all glyphs on demand. | 5704 | (font_matches_spec): Use them to filter by language. |
| 5705 | Delay converting glyph indices to WORD until needed. | 5705 | (recompute_cached_metrics): Remove function. |
| 5706 | (w32font_open_internal): Initialize metric cache to empty. | 5706 | (compute_metrics, clear_cached_metrics): New functions. |
| 5707 | (registry_to_w32_charset): Charset should always be a symbol. | 5707 | (w32font_encode_char): Use them to manage metric cache. |
| 5708 | (fill_in_logfont, list_all_matching_fonts): Family should | 5708 | (w32font_text_extents): Cache metrics for all glyphs on demand. |
| 5709 | always be a symbol. | 5709 | Delay converting glyph indices to WORD until needed. |
| 5710 | 5710 | (w32font_open_internal): Initialize metric cache to empty. | |
| 5711 | 2008-04-06 Jason Rumney <jasonr@gnu.org> | 5711 | (registry_to_w32_charset): Charset should always be a symbol. |
| 5712 | 5712 | (fill_in_logfont, list_all_matching_fonts): Family should | |
| 5713 | * w32uniscribe.c (uniscribe_shape): Increase items buffer size. | 5713 | always be a symbol. |
| 5714 | Give up if glyph indices not supported. Use uniscribe obtained | 5714 | |
| 5715 | ABC widths for individual metrics. Map glyph clusters back to | 5715 | 2008-04-06 Jason Rumney <jasonr@gnu.org> |
| 5716 | characters using fClusterStart flag. Return number of glyphs | 5716 | |
| 5717 | produced, not chars processed. | 5717 | * w32uniscribe.c (uniscribe_shape): Increase items buffer size. |
| 5718 | (uniscribe_shape): Map char at FROM to current glyph. | 5718 | Give up if glyph indices not supported. Use uniscribe obtained |
| 5719 | 5719 | ABC widths for individual metrics. Map glyph clusters back to | |
| 5720 | 2008-04-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 5720 | characters using fClusterStart flag. Return number of glyphs |
| 5721 | 5721 | produced, not chars processed. | |
| 5722 | * macmenu.c (fill_menu) [TARGET_API_MAC_CARBON]: | 5722 | (uniscribe_shape): Map char at FROM to current glyph. |
| 5723 | Use SetMenuItemHierarchicalMenu. | 5723 | |
| 5724 | 5724 | 2008-04-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
| 5725 | 2008-04-05 Jason Rumney <jasonr@gnu.org> | 5725 | |
| 5726 | 5726 | * macmenu.c (fill_menu) [TARGET_API_MAC_CARBON]: | |
| 5727 | * image.c (pbm_load): Allow color values up to 65535. | 5727 | Use SetMenuItemHierarchicalMenu. |
| 5728 | Throw an error if max_color_idx is outside the supported range. | 5728 | |
| 5729 | Report an error when image size is invalid. | 5729 | 2008-04-05 Jason Rumney <jasonr@gnu.org> |
| 5730 | Read two bytes at a time when raw images have max_color_idx above 255. | 5730 | |
| 5731 | 5731 | * image.c (pbm_load): Allow color values up to 65535. | |
| 5732 | 2008-04-05 Eli Zaretskii <eliz@gnu.org> | 5732 | Throw an error if max_color_idx is outside the supported range. |
| 5733 | 5733 | Report an error when image size is invalid. | |
| 5734 | * w32.c (readdir): If FindFirstFile/FindNextFile return in | 5734 | Read two bytes at a time when raw images have max_color_idx above 255. |
| 5735 | cFileName a file name that includes `?' characters, use the 8+3 | 5735 | |
| 5736 | alias in cAlternateFileName instead. | 5736 | 2008-04-05 Eli Zaretskii <eliz@gnu.org> |
| 5737 | 5737 | ||
| 5738 | 2008-04-05 Kenichi Handa <handa@ni.aist.go.jp> | 5738 | * w32.c (readdir): If FindFirstFile/FindNextFile return in |
| 5739 | 5739 | cFileName a file name that includes `?' characters, use the 8+3 | |
| 5740 | * ccl.c (ccl_driver): If ccl->quit_silently is nonzero, don't | 5740 | alias in cAlternateFileName instead. |
| 5741 | append "CCL: Quitted" when the CCL program is quitted. | 5741 | |
| 5742 | (setup_ccl_program): Initialize ccl->quit_silently to zero. | 5742 | 2008-04-05 Kenichi Handa <handa@ni.aist.go.jp> |
| 5743 | 5743 | ||
| 5744 | * ccl.h (struct ccl_program): New member quit_silently. | 5744 | * ccl.c (ccl_driver): If ccl->quit_silently is nonzero, don't |
| 5745 | 5745 | append "CCL: Quitted" when the CCL program is quitted. | |
| 5746 | 2008-04-05 Chong Yidong <cyd@stupidchicken.com> | 5746 | (setup_ccl_program): Initialize ccl->quit_silently to zero. |
| 5747 | 5747 | ||
| 5748 | * search.c (compile_pattern_1): Treat non-nil and non-string of | 5748 | * ccl.h (struct ccl_program): New member quit_silently. |
| 5749 | search-spaces-regexp as nil. | 5749 | |
| 5750 | 5750 | 2008-04-05 Chong Yidong <cyd@stupidchicken.com> | |
| 5751 | * minibuf.c (Fassoc_string): Tweak docstring. | 5751 | |
| 5752 | 5752 | * search.c (compile_pattern_1): Treat non-nil and non-string of | |
| 5753 | 2008-04-05 Eli Zaretskii <eliz@gnu.org> | 5753 | search-spaces-regexp as nil. |
| 5754 | 5754 | ||
| 5755 | * dired.c (Ffile_attributes): Support inode numbers wider than 32 | 5755 | * minibuf.c (Fassoc_string): Tweak docstring. |
| 5756 | bits. Remove ugly WINDOWSNT-specific kludge introduced on | 5756 | |
| 5757 | 2008-03-14 to force inode be positive. | 5757 | 2008-04-05 Eli Zaretskii <eliz@gnu.org> |
| 5758 | 5758 | ||
| 5759 | * w32.c (sys_chown, stat, fstat): Use S_* constants instead of | 5759 | * dired.c (Ffile_attributes): Support inode numbers wider than 32 |
| 5760 | _S_* ones, since we now use our own sys/stat.h. | 5760 | bits. Remove ugly WINDOWSNT-specific kludge introduced on |
| 5761 | (stat, fstat): Don't mangle the inode number. | 5761 | 2008-03-14 to force inode be positive. |
| 5762 | (init_user_info): Don't restrict UID and GID to 0-60000 range. | 5762 | |
| 5763 | 5763 | * w32.c (sys_chown, stat, fstat): Use S_* constants instead of | |
| 5764 | 2008-04-04 Stefan Monnier <monnier@iro.umontreal.ca> | 5764 | _S_* ones, since we now use our own sys/stat.h. |
| 5765 | 5765 | (stat, fstat): Don't mangle the inode number. | |
| 5766 | * frame.h (struct frame): Give one more bit to `visible' since we use | 5766 | (init_user_info): Don't restrict UID and GID to 0-60000 range. |
| 5767 | values larger than 1 to indicate obscured frames on ttys. | 5767 | |
| 5768 | 5768 | 2008-04-04 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 5769 | * keymap.c (Qkeymap_canonicalize): New var. | 5769 | |
| 5770 | (Fmap_keymap_internal): New fun. | 5770 | * frame.h (struct frame): Give one more bit to `visible' since we use |
| 5771 | (describe_map): Use keymap-canonicalize. | 5771 | values larger than 1 to indicate obscured frames on ttys. |
| 5772 | 5772 | ||
| 5773 | * undo.c (last_boundary_buffer, last_boundary_position): New vars. | 5773 | * keymap.c (Qkeymap_canonicalize): New var. |
| 5774 | (Fundo_boundary): Set them. | 5774 | (Fmap_keymap_internal): New fun. |
| 5775 | (syms_of_undo): Initialize them. | 5775 | (describe_map): Use keymap-canonicalize. |
| 5776 | (record_point): Use them instead of last_point_position*. | 5776 | |
| 5777 | (last_undo_buffer): Change type. | 5777 | * undo.c (last_boundary_buffer, last_boundary_position): New vars. |
| 5778 | 5778 | (Fundo_boundary): Set them. | |
| 5779 | 2008-04-04 Jason Rumney <jasonr@gnu.org> | 5779 | (syms_of_undo): Initialize them. |
| 5780 | 5780 | (record_point): Use them instead of last_point_position*. | |
| 5781 | * w32font.c (w32font_text_extents): Use font's ascent and descent. | 5781 | (last_undo_buffer): Change type. |
| 5782 | (recompute_cached_metrics): Don't set ascent and descent per char. | 5782 | |
| 5783 | 5783 | 2008-04-04 Jason Rumney <jasonr@gnu.org> | |
| 5784 | * w32uniscribe.c (uniscribe_check_otf): Fix last change. | 5784 | |
| 5785 | (uniscribe_check_otf): Add GC protection before consing. | 5785 | * w32font.c (w32font_text_extents): Use font's ascent and descent. |
| 5786 | Rearrange loop for counting features. | 5786 | (recompute_cached_metrics): Don't set ascent and descent per char. |
| 5787 | 5787 | ||
| 5788 | 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca> | 5788 | * w32uniscribe.c (uniscribe_check_otf): Fix last change. |
| 5789 | 5789 | (uniscribe_check_otf): Add GC protection before consing. | |
| 5790 | * insdel.c (insert_from_buffer_1): Don't compare bytes in destination | 5790 | Rearrange loop for counting features. |
| 5791 | buffer with byte-size of source buffer. | 5791 | |
| 5792 | 5792 | 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 5793 | 2008-04-03 Chong Yidong <cyd@stupidchicken.com> | 5793 | |
| 5794 | 5794 | * insdel.c (insert_from_buffer_1): Don't compare bytes in destination | |
| 5795 | * callint.c (Fcall_interactively): Handle temporary region even | 5795 | buffer with byte-size of source buffer. |
| 5796 | when shift-select-mode is off. | 5796 | |
| 5797 | 5797 | 2008-04-03 Chong Yidong <cyd@stupidchicken.com> | |
| 5798 | 2008-04-03 Jason Rumney <jasonr@gnu.org> | 5798 | |
| 5799 | 5799 | * callint.c (Fcall_interactively): Handle temporary region even | |
| 5800 | * w32uniscribe.c (uniscribe_check_otf): Sanity check otf_spec. | 5800 | when shift-select-mode is off. |
| 5801 | 5801 | ||
| 5802 | 2008-04-03 Kenichi Handa <handa@m17n.org> | 5802 | 2008-04-03 Jason Rumney <jasonr@gnu.org> |
| 5803 | 5803 | ||
| 5804 | * coding.c (CATEGORY_MASK_ANY): Add CATEGORY_MASK_UTF_16_AUTO. | 5804 | * w32uniscribe.c (uniscribe_check_otf): Sanity check otf_spec. |
| 5805 | (CATEGORY_MASK_UTF_16): Likewise. | 5805 | |
| 5806 | (detect_coding_utf_16): Add heuristics to reject utf-16 for a | 5806 | 2008-04-03 Kenichi Handa <handa@m17n.org> |
| 5807 | binary file. | 5807 | |
| 5808 | (detect_coding): Add null-byte detection for a binary file. | 5808 | * coding.c (CATEGORY_MASK_ANY): Add CATEGORY_MASK_UTF_16_AUTO. |
| 5809 | (detect_coding_system): Likewise. | 5809 | (CATEGORY_MASK_UTF_16): Likewise. |
| 5810 | 5810 | (detect_coding_utf_16): Add heuristics to reject utf-16 for a | |
| 5811 | 2008-04-03 Jason Rumney <jasonr@gnu.org> | 5811 | binary file. |
| 5812 | 5812 | (detect_coding): Add null-byte detection for a binary file. | |
| 5813 | * w32uniscribe.c: New file. | 5813 | (detect_coding_system): Likewise. |
| 5814 | 5814 | ||
| 5815 | * font.h (uniscribe_font_driver) [WINDOWSNT]: Declare for w32fns.c. | 5815 | 2008-04-03 Jason Rumney <jasonr@gnu.org> |
| 5816 | 5816 | ||
| 5817 | * w32font.h (uniscribe_check_otf): Declare for w32font.c. | 5817 | * w32uniscribe.c: New file. |
| 5818 | 5818 | ||
| 5819 | * w32font.c (Qbalinese, Qbuginese, Qbuhid, Qcuneiform, Qcypriot) | 5819 | * font.h (uniscribe_font_driver) [WINDOWSNT]: Declare for w32fns.c. |
| 5820 | (Qdeseret, Qglagolitic, Qgothic, Qhanunoo, Qkharoshthi) | 5820 | |
| 5821 | (Qlimbu, Qlinear_b, Qold_italic, Qold_persian, Qosmanya) | 5821 | * w32font.h (uniscribe_check_otf): Declare for w32font.c. |
| 5822 | (Qphags_pa, Qphoenician, Qshavian, Qsyloti_nagri) | 5822 | |
| 5823 | (Qtagalog, Qtagbanwa, Qtai_le, Qtifinagh, Qugaritic) | 5823 | * w32font.c (Qbalinese, Qbuginese, Qbuhid, Qcuneiform, Qcypriot) |
| 5824 | (Qphonetic): New symbols. | 5824 | (Qdeseret, Qglagolitic, Qgothic, Qhanunoo, Qkharoshthi) |
| 5825 | (syms_of_w32font): Initialize them. | 5825 | (Qlimbu, Qlinear_b, Qold_italic, Qold_persian, Qosmanya) |
| 5826 | (font_supported_scripts): Use them. | 5826 | (Qphags_pa, Qphoenician, Qshavian, Qsyloti_nagri) |
| 5827 | (w32font_list_family): List all charsets. | 5827 | (Qtagalog, Qtagbanwa, Qtai_le, Qtifinagh, Qugaritic) |
| 5828 | (w32font_text_extents, recompute_cached_metrics): Fix metric | 5828 | (Qphonetic): New symbols. |
| 5829 | calculations. | 5829 | (syms_of_w32font): Initialize them. |
| 5830 | (w32_enumfont_pattern_entity): Make full_type a DWORD. | 5830 | (font_supported_scripts): Use them. |
| 5831 | Give opentype fonts their own format. | 5831 | (w32font_list_family): List all charsets. |
| 5832 | (font_matches_spec): New arguments backend and logfont. | 5832 | (w32font_text_extents, recompute_cached_metrics): Fix metric |
| 5833 | Handle :otf spec for uniscribe backend. | 5833 | calculations. |
| 5834 | (add_font_entity_to_list): Match truetype fonts in uniscribe backend. | 5834 | (w32_enumfont_pattern_entity): Make full_type a DWORD. |
| 5835 | (fill_in_logfont): Use DEFAULT_CHARSET when charset not supplied. | 5835 | Give opentype fonts their own format. |
| 5836 | 5836 | (font_matches_spec): New arguments backend and logfont. | |
| 5837 | * w32fns.c (Fx_create_frame): Conditionally register uniscribe | 5837 | Handle :otf spec for uniscribe backend. |
| 5838 | font backend. | 5838 | (add_font_entity_to_list): Match truetype fonts in uniscribe backend. |
| 5839 | (globals_of_w32fns): Initialize uniscribe font backend. | 5839 | (fill_in_logfont): Use DEFAULT_CHARSET when charset not supplied. |
| 5840 | 5840 | ||
| 5841 | * makefile.w32-in (CONFIG_H): New variable. Use it to clean up | 5841 | * w32fns.c (Fx_create_frame): Conditionally register uniscribe |
| 5842 | dependencies. | 5842 | font backend. |
| 5843 | (w32uniscribe.$(O)): New file to build. | 5843 | (globals_of_w32fns): Initialize uniscribe font backend. |
| 5844 | (FONT_OBJ): Include w32uniscribe.$(O). | 5844 | |
| 5845 | (LIBS): Add uniscribe libraries. | 5845 | * makefile.w32-in (CONFIG_H): New variable. Use it to clean up |
| 5846 | 5846 | dependencies. | |
| 5847 | * ftfont.c (ftfont_get_open_type_spec): Check spec->script, not val. | 5847 | (w32uniscribe.$(O)): New file to build. |
| 5848 | 5848 | (FONT_OBJ): Include w32uniscribe.$(O). | |
| 5849 | 2008-04-02 Chong Yidong <cyd@stupidchicken.com> | 5849 | (LIBS): Add uniscribe libraries. |
| 5850 | 5850 | ||
| 5851 | * callint.c (Vshift_select_mode): New var. | 5851 | * ftfont.c (ftfont_get_open_type_spec): Check spec->script, not val. |
| 5852 | (Finteractive): Document new ^ spec. | 5852 | |
| 5853 | (Fcall_interactively): Call handle-shift-selection if the ^ spec | 5853 | 2008-04-02 Chong Yidong <cyd@stupidchicken.com> |
| 5854 | is present. | 5854 | |
| 5855 | 5855 | * callint.c (Vshift_select_mode): New var. | |
| 5856 | * keyboard.c (Vthis_command_keys_shift_translated): New var. | 5856 | (Finteractive): Document new ^ spec. |
| 5857 | (command_loop_1): Avoid running the direct display versions of | 5857 | (Fcall_interactively): Call handle-shift-selection if the ^ spec |
| 5858 | forward-char and backward-char if shift-selection may occur. | 5858 | is present. |
| 5859 | (read_key_sequence): Set Vthis_command_keys_shift_translated if | 5859 | |
| 5860 | shift-translation takes place. | 5860 | * keyboard.c (Vthis_command_keys_shift_translated): New var. |
| 5861 | 5861 | (command_loop_1): Avoid running the direct display versions of | |
| 5862 | * buffer.c (Vtransient_mark_mode): Move docstring to simple.el to | 5862 | forward-char and backward-char if shift-selection may occur. |
| 5863 | avoid clobbering by define-minor-mode. | 5863 | (read_key_sequence): Set Vthis_command_keys_shift_translated if |
| 5864 | 5864 | shift-translation takes place. | |
| 5865 | * cmds.c (Fforward_char, Fbackward_char, Fforward_line) | 5865 | |
| 5866 | (Fbeginning_of_line, Fend_of_line): Add ^ interactive spec. | 5866 | * buffer.c (Vtransient_mark_mode): Move docstring to simple.el to |
| 5867 | 5867 | avoid clobbering by define-minor-mode. | |
| 5868 | * syntax.c (Fforward_word): Add ^ interactive spec. | 5868 | |
| 5869 | 5869 | * cmds.c (Fforward_char, Fbackward_char, Fforward_line) | |
| 5870 | * window.c (Fscroll_up, Fscroll_down, Fscroll_left) | 5870 | (Fbeginning_of_line, Fend_of_line): Add ^ interactive spec. |
| 5871 | (Fscroll_right): Add ^ interactive spec. | 5871 | |
| 5872 | 5872 | * syntax.c (Fforward_word): Add ^ interactive spec. | |
| 5873 | 2008-04-01 Stefan Monnier <monnier@iro.umontreal.ca> | 5873 | |
| 5874 | 5874 | * window.c (Fscroll_up, Fscroll_down, Fscroll_left) | |
| 5875 | * xdisp.c (try_window_id): Don't forget to reset delta_bytes. | 5875 | (Fscroll_right): Add ^ interactive spec. |
| 5876 | 5876 | ||
| 5877 | * casefiddle.c (casify_object): Fix up int/EMACS_INT mixup. | 5877 | 2008-04-01 Stefan Monnier <monnier@iro.umontreal.ca> |
| 5878 | 5878 | ||
| 5879 | * charset.c (Funibyte_charset, Fset_unibyte_charset): Remove. | 5879 | * xdisp.c (try_window_id): Don't forget to reset delta_bytes. |
| 5880 | 5880 | ||
| 5881 | 2008-03-31 Juri Linkov <juri@jurta.org> | 5881 | * casefiddle.c (casify_object): Fix up int/EMACS_INT mixup. |
| 5882 | 5882 | ||
| 5883 | * window.c (Fdisplay_buffer): Reinitialize `tem' to nil. | 5883 | * charset.c (Funibyte_charset, Fset_unibyte_charset): Remove. |
| 5884 | 5884 | ||
| 5885 | 2008-03-30 Jan Djärv <jan.h.d@swipnet.se> | 5885 | 2008-03-31 Juri Linkov <juri@jurta.org> |
| 5886 | 5886 | ||
| 5887 | * gtkutil.c (xg_set_geometry): Fix indentation. | 5887 | * window.c (Fdisplay_buffer): Reinitialize `tem' to nil. |
| 5888 | (xg_resize_outer_widget): Remove. | 5888 | |
| 5889 | (x_wm_size_hint_off): Fix indentation. | 5889 | 2008-03-30 Jan Djärv <jan.h.d@swipnet.se> |
| 5890 | (xg_frame_set_char_size): Call flush_and_sync after | 5890 | |
| 5891 | gtk_window_resize. | 5891 | * gtkutil.c (xg_set_geometry): Fix indentation. |
| 5892 | (x_wm_set_size_hint): Pass NULL as geometry window to | 5892 | (xg_resize_outer_widget): Remove. |
| 5893 | gtk_window_set_geometry_hints due to Gtk+ bug nr 68668. | 5893 | (x_wm_size_hint_off): Fix indentation. |
| 5894 | Add menu bar and tool bar height to base height. | 5894 | (xg_frame_set_char_size): Call flush_and_sync after |
| 5895 | (xg_update_frame_menubar, free_frame_menubar) | 5895 | gtk_window_resize. |
| 5896 | (xg_tool_bar_detach_callback, xg_tool_bar_attach_callback) | 5896 | (x_wm_set_size_hint): Pass NULL as geometry window to |
| 5897 | (update_frame_tool_bar, free_frame_tool_bar): | 5897 | gtk_window_set_geometry_hints due to Gtk+ bug nr 68668. |
| 5898 | Change xg_resize_outer_widget to xg_frame_set_char_size. | 5898 | Add menu bar and tool bar height to base height. |
| 5899 | 5899 | (xg_update_frame_menubar, free_frame_menubar) | |
| 5900 | 2008-03-30 Michael Albinus <michael.albinus@gmx.de> | 5900 | (xg_tool_bar_detach_callback, xg_tool_bar_attach_callback) |
| 5901 | 5901 | (update_frame_tool_bar, free_frame_tool_bar): | |
| 5902 | * dbusbind.c (QCdbus_timeout): New D-Bus internal symbol. | 5902 | Change xg_resize_outer_widget to xg_frame_set_char_size. |
| 5903 | (Fdbus_call_method): New parameter TIMEOUT. | 5903 | |
| 5904 | (dbus-send-signal): Optimize UNGCPRO call. | 5904 | 2008-03-30 Michael Albinus <michael.albinus@gmx.de> |
| 5905 | 5905 | ||
| 5906 | 2008-03-29 Juri Linkov <juri@jurta.org> | 5906 | * dbusbind.c (QCdbus_timeout): New D-Bus internal symbol. |
| 5907 | 5907 | (Fdbus_call_method): New parameter TIMEOUT. | |
| 5908 | * window.c (Fdisplay_buffer): Move call to | 5908 | (dbus-send-signal): Optimize UNGCPRO call. |
| 5909 | Vsplit_window_preferred_function out of conditions that check | 5909 | |
| 5910 | if window is eligible for vertical splitting. | 5910 | 2008-03-29 Juri Linkov <juri@jurta.org> |
| 5911 | When Vsplit_window_preferred_function is non-nil, call it and use | 5911 | |
| 5912 | its non-nil return value as window. Otherwise, continue doing | 5912 | * window.c (Fdisplay_buffer): Move call to |
| 5913 | vertical splitting using Fsplit_window with arg horflag=nil. | 5913 | Vsplit_window_preferred_function out of conditions that check |
| 5914 | (syms_of_window) <Vsplit_window_preferred_function>: Change the | 5914 | if window is eligible for vertical splitting. |
| 5915 | default value from `split-window' to nil. | 5915 | When Vsplit_window_preferred_function is non-nil, call it and use |
| 5916 | 5916 | its non-nil return value as window. Otherwise, continue doing | |
| 5917 | 2008-03-29 Juri Linkov <juri@jurta.org> | 5917 | vertical splitting using Fsplit_window with arg horflag=nil. |
| 5918 | 5918 | (syms_of_window) <Vsplit_window_preferred_function>: Change the | |
| 5919 | * callint.c (Fcall_interactively): Revert 2008-03-16 change | 5919 | default value from `split-window' to nil. |
| 5920 | for interactive code letters 'b' and 'B'. | 5920 | |
| 5921 | 5921 | 2008-03-29 Juri Linkov <juri@jurta.org> | |
| 5922 | 2008-03-29 Eli Zaretskii <eliz@gnu.org> | 5922 | |
| 5923 | 5923 | * callint.c (Fcall_interactively): Revert 2008-03-16 change | |
| 5924 | * fileio.c (Fexpand_file_name): Convert the value of $HOME to a | 5924 | for interactive code letters 'b' and 'B'. |
| 5925 | multibyte string. | 5925 | |
| 5926 | 5926 | 2008-03-29 Eli Zaretskii <eliz@gnu.org> | |
| 5927 | 2008-03-29 Stefan Monnier <monnier@iro.umontreal.ca> | 5927 | |
| 5928 | 5928 | * fileio.c (Fexpand_file_name): Convert the value of $HOME to a | |
| 5929 | * keyboard.c (pending_funcalls): New var. | 5929 | multibyte string. |
| 5930 | (timer_check): Run it. | 5930 | |
| 5931 | (syms_of_keyboard): Initialize it. | 5931 | 2008-03-29 Stefan Monnier <monnier@iro.umontreal.ca> |
| 5932 | * terminal.c (Qrun_hook_with_args, Qdelete_terminal_functions) | 5932 | |
| 5933 | (Vdelete_terminal_functions): New vars. | 5933 | * keyboard.c (pending_funcalls): New var. |
| 5934 | (syms_of_terminal): Initialize them. | 5934 | (timer_check): Run it. |
| 5935 | (Fdelete_terminal): Run delete-terminal-functions. | 5935 | (syms_of_keyboard): Initialize it. |
| 5936 | * xdisp.c (safe_eval): Rewrite. | 5936 | * terminal.c (Qrun_hook_with_args, Qdelete_terminal_functions) |
| 5937 | (safe_call2): New fun. | 5937 | (Vdelete_terminal_functions): New vars. |
| 5938 | * frame.c (Qdelete_frame_functions): New var. | 5938 | (syms_of_terminal): Initialize them. |
| 5939 | (syms_of_frame): Initialize it. | 5939 | (Fdelete_terminal): Run delete-terminal-functions. |
| 5940 | (Fdelete_frame): Use it and use safe_call2 and pending_funcalls. | 5940 | * xdisp.c (safe_eval): Rewrite. |
| 5941 | * lisp.h (safe_call2, pending_funcalls): Declare. | 5941 | (safe_call2): New fun. |
| 5942 | 5942 | * frame.c (Qdelete_frame_functions): New var. | |
| 5943 | 2008-03-28 Andreas Schwab <schwab@suse.de> | 5943 | (syms_of_frame): Initialize it. |
| 5944 | 5944 | (Fdelete_frame): Use it and use safe_call2 and pending_funcalls. | |
| 5945 | * indent.c (Fmove_to_column): Move declaration before statements. | 5945 | * lisp.h (safe_call2, pending_funcalls): Declare. |
| 5946 | 5946 | ||
| 5947 | 2008-03-27 Stefan Monnier <monnier@iro.umontreal.ca> | 5947 | 2008-03-28 Andreas Schwab <schwab@suse.de> |
| 5948 | 5948 | ||
| 5949 | * frame.h (enum fullscreen_type): Give it a name. Move it before use. | 5949 | * indent.c (Fmove_to_column): Move declaration before statements. |
| 5950 | (struct frame): Use bit fields for boolean vars. | 5950 | |
| 5951 | 5951 | 2008-03-27 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 5952 | * process.c (server_accept_connection): Simplify naming. | 5952 | |
| 5953 | (emacs_get_tty_pgrp): Use SDATA. | 5953 | * frame.h (enum fullscreen_type): Give it a name. Move it before use. |
| 5954 | 5954 | (struct frame): Use bit fields for boolean vars. | |
| 5955 | * coding.c (decode_coding_object): Fix last change. | 5955 | |
| 5956 | 5956 | * process.c (server_accept_connection): Simplify naming. | |
| 5957 | 2008-03-27 Jason Rumney <jasonr@gnu.org> | 5957 | (emacs_get_tty_pgrp): Use SDATA. |
| 5958 | 5958 | ||
| 5959 | * w32fns.c (start_hourglass): Suppress hourglass on tty frames. | 5959 | * coding.c (decode_coding_object): Fix last change. |
| 5960 | 5960 | ||
| 5961 | 2008-03-27 Kenichi Handa <handa@ni.aist.go.jp> | 5961 | 2008-03-27 Jason Rumney <jasonr@gnu.org> |
| 5962 | 5962 | ||
| 5963 | * charset.c (Fdefine_charset_internal): Change the way of | 5963 | * w32fns.c (start_hourglass): Suppress hourglass on tty frames. |
| 5964 | registering charsets in Vcharset_order_list. | 5964 | |
| 5965 | (syms_of_charset): Make the charset `eight-bit' supplementary. | 5965 | 2008-03-27 Kenichi Handa <handa@ni.aist.go.jp> |
| 5966 | 5966 | ||
| 5967 | 2008-03-26 Alexandre Oliva <aoliva@redhat.com> (tiny change) | 5967 | * charset.c (Fdefine_charset_internal): Change the way of |
| 5968 | 5968 | registering charsets in Vcharset_order_list. | |
| 5969 | * regex.c (EXTEND_BUFFER): Change order of pointer addition | 5969 | (syms_of_charset): Make the charset `eight-bit' supplementary. |
| 5970 | operations, to avoid having the difference between pointers | 5970 | |
| 5971 | overflow. | 5971 | 2008-03-26 Alexandre Oliva <aoliva@redhat.com> (tiny change) |
| 5972 | 5972 | ||
| 5973 | 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca> | 5973 | * regex.c (EXTEND_BUFFER): Change order of pointer addition |
| 5974 | 5974 | operations, to avoid having the difference between pointers | |
| 5975 | * indent.c (check_display_width): New fun. | 5975 | overflow. |
| 5976 | (scan_for_column): Use it. | 5976 | |
| 5977 | 5977 | 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 5978 | * data.c (syms_of_data): Mark most-positive-fixnum and | 5978 | |
| 5979 | most-negative-fixnum as constants. | 5979 | * indent.c (check_display_width): New fun. |
| 5980 | 5980 | (scan_for_column): Use it. | |
| 5981 | * xdisp.c (redisplay_internal): Reset selected_frame earlier. | 5981 | |
| 5982 | 5982 | * data.c (syms_of_data): Mark most-positive-fixnum and | |
| 5983 | * indent.c (scan_for_column): Extract from current_column_1. | 5983 | most-negative-fixnum as constants. |
| 5984 | Merge with the same code from Fmove_to_column. | 5984 | |
| 5985 | (current_column_1, Fmove_to_column): Use it. | 5985 | * xdisp.c (redisplay_internal): Reset selected_frame earlier. |
| 5986 | 5986 | ||
| 5987 | 2008-03-25 Stefan Monnier <monnier@iro.umontreal.ca> | 5987 | * indent.c (scan_for_column): Extract from current_column_1. |
| 5988 | 5988 | Merge with the same code from Fmove_to_column. | |
| 5989 | * keymap.c (map_keymap_internal): New fun. | 5989 | (current_column_1, Fmove_to_column): Use it. |
| 5990 | (map_keymap): Use it. | 5990 | |
| 5991 | (Fmap_keymap_internal): New fun. | 5991 | 2008-03-25 Stefan Monnier <monnier@iro.umontreal.ca> |
| 5992 | (Fmap_keymap): Remove left-out test from before make_save_value. | 5992 | |
| 5993 | 5993 | * keymap.c (map_keymap_internal): New fun. | |
| 5994 | * keymap.c (Fmap_keymap): Use `map-keymap-sorted. | 5994 | (map_keymap): Use it. |
| 5995 | 5995 | (Fmap_keymap_internal): New fun. | |
| 5996 | * frame.c (Fmodify_frame_parameters, x_set_frame_parameters): | 5996 | (Fmap_keymap): Remove left-out test from before make_save_value. |
| 5997 | Use XCAR/XCDR. | 5997 | |
| 5998 | 5998 | * keymap.c (Fmap_keymap): Use `map-keymap-sorted. | |
| 5999 | * process.h (struct Lisp_Process): Remove filter_multibyte. | 5999 | |
| 6000 | * process.c (QCfilter_multibyte): Remove. | 6000 | * frame.c (Fmodify_frame_parameters, x_set_frame_parameters): |
| 6001 | (setup_process_coding_systems): Don't use filter_multibyte. | 6001 | Use XCAR/XCDR. |
| 6002 | (Fstart_process, Fmake_network_process): Don't set filter_multibyte. | 6002 | |
| 6003 | (read_process_output): Don't adjust multibyteness to filter_multibyte. | 6003 | * process.h (struct Lisp_Process): Remove filter_multibyte. |
| 6004 | (Fset_process_filter_multibyte): Change the coding-system to | 6004 | * process.c (QCfilter_multibyte): Remove. |
| 6005 | approximate the previous behavior. | 6005 | (setup_process_coding_systems): Don't use filter_multibyte. |
| 6006 | (Fprocess_filter_multibyte_p): Get the multibyteness straight from the | 6006 | (Fstart_process, Fmake_network_process): Don't set filter_multibyte. |
| 6007 | coding-system. | 6007 | (read_process_output): Don't adjust multibyteness to filter_multibyte. |
| 6008 | 6008 | (Fset_process_filter_multibyte): Change the coding-system to | |
| 6009 | * coding.c (decode_coding_object): When not decoding into a buffer, | 6009 | approximate the previous behavior. |
| 6010 | obey the coding system's preference of (uni|multi)byte. | 6010 | (Fprocess_filter_multibyte_p): Get the multibyteness straight from the |
| 6011 | 6011 | coding-system. | |
| 6012 | 2008-03-24 Stefan Monnier <monnier@iro.umontreal.ca> | 6012 | |
| 6013 | 6013 | * coding.c (decode_coding_object): When not decoding into a buffer, | |
| 6014 | * casefiddle.c (casify_object): Avoid pathological N^2 worst case if | 6014 | obey the coding system's preference of (uni|multi)byte. |
| 6015 | every char is changed and has a different byte-length. | 6015 | |
| 6016 | (Fupcase_word, Fdowncase_word, Fcapitalize_word, operate_on_word): | 6016 | 2008-03-24 Stefan Monnier <monnier@iro.umontreal.ca> |
| 6017 | Fix int -> EMACS_INT. | 6017 | |
| 6018 | 6018 | * casefiddle.c (casify_object): Avoid pathological N^2 worst case if | |
| 6019 | 2008-03-23 David Hansen <david.hansen@gmx.net> | 6019 | every char is changed and has a different byte-length. |
| 6020 | 6020 | (Fupcase_word, Fdowncase_word, Fcapitalize_word, operate_on_word): | |
| 6021 | * dbusbind.c (xd_read_message): Remove extra copying of message | 6021 | Fix int -> EMACS_INT. |
| 6022 | strings. Check for NULL `interface' or `member'. | 6022 | |
| 6023 | 6023 | 2008-03-23 David Hansen <david.hansen@gmx.net> | |
| 6024 | 2008-03-22 Eli Zaretskii <eliz@gnu.org> | 6024 | |
| 6025 | 6025 | * dbusbind.c (xd_read_message): Remove extra copying of message | |
| 6026 | * w32.c (readdir): If FindFirstFile/FindNextFile return in | 6026 | strings. Check for NULL `interface' or `member'. |
| 6027 | cFileName a file name that includes `?' characters, use the 8+3 | 6027 | |
| 6028 | alias in cAlternateFileName instead. | 6028 | 2008-03-22 Eli Zaretskii <eliz@gnu.org> |
| 6029 | 6029 | ||
| 6030 | 2008-03-21 Stefan Monnier <monnier@iro.umontreal.ca> | 6030 | * w32.c (readdir): If FindFirstFile/FindNextFile return in |
| 6031 | 6031 | cFileName a file name that includes `?' characters, use the 8+3 | |
| 6032 | * buffer.c (enlarge_buffer_text): Fix int -> EMACS_INT. | 6032 | alias in cAlternateFileName instead. |
| 6033 | 6033 | ||
| 6034 | 2008-03-20 Stefan Monnier <monnier@iro.umontreal.ca> | 6034 | 2008-03-21 Stefan Monnier <monnier@iro.umontreal.ca> |
| 6035 | 6035 | ||
| 6036 | * intervals.c (temp_set_point, temp_set_point_both): Use EMACS_INT. | 6036 | * buffer.c (enlarge_buffer_text): Fix int -> EMACS_INT. |
| 6037 | (set_point, set_point_both): Use EMACS_INT. Remove `buffer' arg, | 6037 | |
| 6038 | work on current_buffer only instead (that was already the case | 6038 | 2008-03-20 Stefan Monnier <monnier@iro.umontreal.ca> |
| 6039 | for some of the code anyway). | 6039 | |
| 6040 | * buffer.h (set_point, set_point_both): Remove buffer arg, use long int. | 6040 | * intervals.c (temp_set_point, temp_set_point_both): Use EMACS_INT. |
| 6041 | (temp_set_point, temp_set_point_both): Use EMACS_INT. | 6041 | (set_point, set_point_both): Use EMACS_INT. Remove `buffer' arg, |
| 6042 | (SET_PT, SET_PT_BOTH): Adjust. | 6042 | work on current_buffer only instead (that was already the case |
| 6043 | * intervals.h (set_point, temp_set_point, set_point_both) | 6043 | for some of the code anyway). |
| 6044 | (temp_set_point_both): Remove redundant declarations. | 6044 | * buffer.h (set_point, set_point_both): Remove buffer arg, use long int. |
| 6045 | 6045 | (temp_set_point, temp_set_point_both): Use EMACS_INT. | |
| 6046 | 2008-03-20 Stefan Monnier <monnier@iro.umontreal.ca> | 6046 | (SET_PT, SET_PT_BOTH): Adjust. |
| 6047 | 6047 | * intervals.h (set_point, temp_set_point, set_point_both) | |
| 6048 | * fileio.c (Finsert_file_contents): | 6048 | (temp_set_point_both): Remove redundant declarations. |
| 6049 | * lread.c (Feval_buffer): Use BUF_TEMP_SET_PT. | 6049 | |
| 6050 | * buffer.h (BUF_SET_PT): Remove. set_point_both doesn't work right | 6050 | 2008-03-20 Stefan Monnier <monnier@iro.umontreal.ca> |
| 6051 | when buffer != current_buffer anyway. | 6051 | |
| 6052 | 6052 | * fileio.c (Finsert_file_contents): | |
| 6053 | 2008-03-20 Andreas Schwab <schwab@suse.de> | 6053 | * lread.c (Feval_buffer): Use BUF_TEMP_SET_PT. |
| 6054 | 6054 | * buffer.h (BUF_SET_PT): Remove. set_point_both doesn't work right | |
| 6055 | * callint.c (Fcall_interactively) [case 'B']: Use other-buffer | 6055 | when buffer != current_buffer anyway. |
| 6056 | as default. | 6056 | |
| 6057 | 6057 | 2008-03-20 Andreas Schwab <schwab@suse.de> | |
| 6058 | 2008-03-19 Jason Rumney <jasonr@gnu.org> | 6058 | |
| 6059 | 6059 | * callint.c (Fcall_interactively) [case 'B']: Use other-buffer | |
| 6060 | * w32fns.c (hourglass_timer, hourglass_hwnd): New variables. | 6060 | as default. |
| 6061 | (syms_of_w32fns): Initialize them. | 6061 | |
| 6062 | (HOURGLASS_ID): New constant. | 6062 | 2008-03-19 Jason Rumney <jasonr@gnu.org> |
| 6063 | (x_window_to_frame): Don't check hourglass_window. | 6063 | |
| 6064 | (w32_wnd_proc) <WM_TIMER>: Handle hourglass_timer. | 6064 | * w32fns.c (hourglass_timer, hourglass_hwnd): New variables. |
| 6065 | (w32_wnd_proc) <WM_EXITMENULOOP>: Set pending hourglass cursor. | 6065 | (syms_of_w32fns): Initialize them. |
| 6066 | (w32_wnd_proc) <WM_SETCURSOR>: Set the hourglass or current cursor. | 6066 | (HOURGLASS_ID): New constant. |
| 6067 | (w32_wnd_proc) <WM_EMACS_SETCURSOR>: Set frame's current_cursor. | 6067 | (x_window_to_frame): Don't check hourglass_window. |
| 6068 | Only change the cursor if hourglass is not active. | 6068 | (w32_wnd_proc) <WM_TIMER>: Handle hourglass_timer. |
| 6069 | (Fx_create_frame): Initialize frame's current_cursor. | 6069 | (w32_wnd_proc) <WM_EXITMENULOOP>: Set pending hourglass cursor. |
| 6070 | (hourglass_atimer): Remove. | 6070 | (w32_wnd_proc) <WM_SETCURSOR>: Set the hourglass or current cursor. |
| 6071 | (hourglass_started): New function. | 6071 | (w32_wnd_proc) <WM_EMACS_SETCURSOR>: Set frame's current_cursor. |
| 6072 | (start_hourglass, cancel_hourglass, hide_hourglass): Adapt to w32. | 6072 | Only change the cursor if hourglass is not active. |
| 6073 | (show_hourglass): Adapt to w32, changing argument to frame. | 6073 | (Fx_create_frame): Initialize frame's current_cursor. |
| 6074 | 6074 | (hourglass_atimer): Remove. | |
| 6075 | * w32term.h (struct w32_output): Remove hourglass_window. | 6075 | (hourglass_started): New function. |
| 6076 | Add current_cursor. | 6076 | (start_hourglass, cancel_hourglass, hide_hourglass): Adapt to w32. |
| 6077 | 6077 | (show_hourglass): Adapt to w32, changing argument to frame. | |
| 6078 | * eval.c (call_debugger, Fsignal): | 6078 | |
| 6079 | * keyboard.c (recursive_edit_1, cmd_error, Ftop_level) | 6079 | * w32term.h (struct w32_output): Remove hourglass_window. |
| 6080 | (command_loop_1, Fread_key_sequence, Fread_key_sequence_vector) | 6080 | Add current_cursor. |
| 6081 | (Fexecute_extended_command, cancel_hourglass_unwind): | 6081 | |
| 6082 | * minibuf.c (read_minibuf): | 6082 | * eval.c (call_debugger, Fsignal): |
| 6083 | * fns.c (Fy_or_n_p): Enable hourglass when HAVE_WINDOW_SYSTEM. | 6083 | * keyboard.c (recursive_edit_1, cmd_error, Ftop_level) |
| 6084 | 6084 | (command_loop_1, Fread_key_sequence, Fread_key_sequence_vector) | |
| 6085 | 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca> | 6085 | (Fexecute_extended_command, cancel_hourglass_unwind): |
| 6086 | 6086 | * minibuf.c (read_minibuf): | |
| 6087 | * window.c (run_funs): New fun. | 6087 | * fns.c (Fy_or_n_p): Enable hourglass when HAVE_WINDOW_SYSTEM. |
| 6088 | (run_window_configuration_change_hook): Use it to run the buffer-local | 6088 | |
| 6089 | and the global part of the hook. | 6089 | 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca> |
| 6090 | 6090 | ||
| 6091 | * xdisp.c (format_mode_line_unwind_data): Add window argument. | 6091 | * window.c (run_funs): New fun. |
| 6092 | (unwind_format_mode_line): Restore selected window. | 6092 | (run_window_configuration_change_hook): Use it to run the buffer-local |
| 6093 | (x_consider_frame_title, Fformat_mode_line): Set selected window. | 6093 | and the global part of the hook. |
| 6094 | 6094 | ||
| 6095 | 2008-03-17 Stefan Monnier <monnier@iro.umontreal.ca> | 6095 | * xdisp.c (format_mode_line_unwind_data): Add window argument. |
| 6096 | 6096 | (unwind_format_mode_line): Restore selected window. | |
| 6097 | * editfns.c (Fchar_equal): Check they are valid characters. | 6097 | (x_consider_frame_title, Fformat_mode_line): Set selected window. |
| 6098 | 6098 | ||
| 6099 | * buffer.h (Fbuffer_list): Declare (for use in callint.c). | 6099 | 2008-03-17 Stefan Monnier <monnier@iro.umontreal.ca> |
| 6100 | 6100 | ||
| 6101 | 2008-03-17 Andreas Schwab <schwab@suse.de> | 6101 | * editfns.c (Fchar_equal): Check they are valid characters. |
| 6102 | 6102 | ||
| 6103 | * regex.c (re_match_2_internal): Properly match raw 8-bit bytes | 6103 | * buffer.h (Fbuffer_list): Declare (for use in callint.c). |
| 6104 | against a charset. | 6104 | |
| 6105 | 6105 | 2008-03-17 Andreas Schwab <schwab@suse.de> | |
| 6106 | * lisp.h (Fbuffer_list): Declare. | 6106 | |
| 6107 | 6107 | * regex.c (re_match_2_internal): Properly match raw 8-bit bytes | |
| 6108 | 2008-03-17 Jan Djärv <jan.h.d@swipnet.se> | 6108 | against a charset. |
| 6109 | 6109 | ||
| 6110 | * gtkutil.c (free_frame_tool_bar): Only call gtk_container_remove if | 6110 | * lisp.h (Fbuffer_list): Declare. |
| 6111 | handlebox_widget is != 0. | 6111 | |
| 6112 | 6112 | 2008-03-17 Jan Djärv <jan.h.d@swipnet.se> | |
| 6113 | 2008-03-16 Juri Linkov <juri@jurta.org> | 6113 | |
| 6114 | 6114 | * gtkutil.c (free_frame_tool_bar): Only call gtk_container_remove if | |
| 6115 | * callint.c (Fcall_interactively): For interactive code letters | 6115 | handlebox_widget is != 0. |
| 6116 | 'b' and 'B' put the buffer list into the list of default "future" | 6116 | |
| 6117 | values of the minibuffer. | 6117 | 2008-03-16 Juri Linkov <juri@jurta.org> |
| 6118 | 6118 | ||
| 6119 | 2008-03-16 Andreas Schwab <schwab@suse.de> | 6119 | * callint.c (Fcall_interactively): For interactive code letters |
| 6120 | 6120 | 'b' and 'B' put the buffer list into the list of default "future" | |
| 6121 | * keyboard.c (read_key_sequence): Fix downcasing of letters with | 6121 | values of the minibuffer. |
| 6122 | modifiers. | 6122 | |
| 6123 | 6123 | 2008-03-16 Andreas Schwab <schwab@suse.de> | |
| 6124 | * regex.c (re_match_2_internal): Correct matching of a charset | 6124 | |
| 6125 | against latin-1 characters. | 6125 | * keyboard.c (read_key_sequence): Fix downcasing of letters with |
| 6126 | 6126 | modifiers. | |
| 6127 | 2008-03-16 Kenichi Handa <handa@m17n.org> | 6127 | |
| 6128 | 6128 | * regex.c (re_match_2_internal): Correct matching of a charset | |
| 6129 | * coding.c (CHAR_STRING_ADVANCE_NO_UNIFY) | 6129 | against latin-1 characters. |
| 6130 | (STRING_CHAR_ADVANCE_NO_UNIFY): New macros. | 6130 | |
| 6131 | (coding_alloc_by_making_gap): Fix the way to preserve data in the gap. | 6131 | 2008-03-16 Kenichi Handa <handa@m17n.org> |
| 6132 | (alloc_destination): Fix the 2nd arg to coding_alloc_by_making_gap. | 6132 | |
| 6133 | (encode_coding_utf_8): Use CHAR_STRING_ADVANCE_NO_UNIFY instead of | 6133 | * coding.c (CHAR_STRING_ADVANCE_NO_UNIFY) |
| 6134 | CHAR_STRING_ADVANCE. | 6134 | (STRING_CHAR_ADVANCE_NO_UNIFY): New macros. |
| 6135 | (produce_chars): Fix for the case that the source and the | 6135 | (coding_alloc_by_making_gap): Fix the way to preserve data in the gap. |
| 6136 | destination are the same buffer. Use CHAR_STRING_ADVANCE_NO_UNIFY | 6136 | (alloc_destination): Fix the 2nd arg to coding_alloc_by_making_gap. |
| 6137 | instead of CHAR_STRING_ADVANCE. | 6137 | (encode_coding_utf_8): Use CHAR_STRING_ADVANCE_NO_UNIFY instead of |
| 6138 | (consume_chars): Use STRING_CHAR_ADVANCE_NO_UNIFY instead of | 6138 | CHAR_STRING_ADVANCE. |
| 6139 | STRING_CHAR_ADVANCE. | 6139 | (produce_chars): Fix for the case that the source and the |
| 6140 | 6140 | destination are the same buffer. Use CHAR_STRING_ADVANCE_NO_UNIFY | |
| 6141 | 2008-03-15 Andreas Schwab <schwab@suse.de> | 6141 | instead of CHAR_STRING_ADVANCE. |
| 6142 | 6142 | (consume_chars): Use STRING_CHAR_ADVANCE_NO_UNIFY instead of | |
| 6143 | * regex.c (re_match_2_internal): Correct matching of eight bit | 6143 | STRING_CHAR_ADVANCE. |
| 6144 | characters in unibyte strings. | 6144 | |
| 6145 | 6145 | 2008-03-15 Andreas Schwab <schwab@suse.de> | |
| 6146 | 2008-03-15 Martin Rudalics <rudalics@gmx.at> | 6146 | |
| 6147 | 6147 | * regex.c (re_match_2_internal): Correct matching of eight bit | |
| 6148 | * buffer.c (overlays_in, Foverlays_in): Include empty overlays | 6148 | characters in unibyte strings. |
| 6149 | at end of range when it coincides with the end of the buffer. | 6149 | |
| 6150 | 6150 | 2008-03-15 Martin Rudalics <rudalics@gmx.at> | |
| 6151 | 2008-03-14 Eli Zaretskii <eliz@gnu.org> | 6151 | |
| 6152 | 6152 | * buffer.c (overlays_in, Foverlays_in): Include empty overlays | |
| 6153 | * dired.c (Ffile_attributes) [WINDOWSNT]: Force inode be positive. | 6153 | at end of range when it coincides with the end of the buffer. |
| 6154 | 6154 | ||
| 6155 | * w32fns.c (globals_of_w32fns, Fx_create_frame): Fix last change. | 6155 | 2008-03-14 Eli Zaretskii <eliz@gnu.org> |
| 6156 | 6156 | ||
| 6157 | 2008-03-14 Jason Rumney <jasonr@gnu.org> | 6157 | * dired.c (Ffile_attributes) [WINDOWSNT]: Force inode be positive. |
| 6158 | 6158 | ||
| 6159 | * editfns.c (initial_tz): New variable. | 6159 | * w32fns.c (globals_of_w32fns, Fx_create_frame): Fix last change. |
| 6160 | (syms_of_editfns): Initialize it. | 6160 | |
| 6161 | (Fset_time_zone_rule): Set it when first called. | 6161 | 2008-03-14 Jason Rumney <jasonr@gnu.org> |
| 6162 | Use it when TZSTRING is nil. | 6162 | |
| 6163 | 6163 | * editfns.c (initial_tz): New variable. | |
| 6164 | * w32fns.c (MONITOR_DEFAULT_TO_NEAREST, struct MONITOR_INFO) | 6164 | (syms_of_editfns): Initialize it. |
| 6165 | (MonitorFromPoint_Proc, GetMonitorInfo_Proc): New definitions. | 6165 | (Fset_time_zone_rule): Set it when first called. |
| 6166 | (monitor_from_point_fn, get_monitor_info_fn): New globals. | 6166 | Use it when TZSTRING is nil. |
| 6167 | (globals_of_w32fns): Initialize them. | 6167 | |
| 6168 | (compute_tip_xy): Use them to position tooltips. | 6168 | * w32fns.c (MONITOR_DEFAULT_TO_NEAREST, struct MONITOR_INFO) |
| 6169 | 6169 | (MonitorFromPoint_Proc, GetMonitorInfo_Proc): New definitions. | |
| 6170 | 2008-03-14 Glenn Morris <rgm@gnu.org> | 6170 | (monitor_from_point_fn, get_monitor_info_fn): New globals. |
| 6171 | 6171 | (globals_of_w32fns): Initialize them. | |
| 6172 | * emacs.c (main): Revert previous change. | 6172 | (compute_tip_xy): Use them to position tooltips. |
| 6173 | (standard_args): Revert -internal-script back to -scriptload, | 6173 | |
| 6174 | and remove the long-option form. | 6174 | 2008-03-14 Glenn Morris <rgm@gnu.org> |
| 6175 | 6175 | ||
| 6176 | 2008-03-13 Glenn Morris <rgm@gnu.org> | 6176 | * emacs.c (main): Revert previous change. |
| 6177 | 6177 | (standard_args): Revert -internal-script back to -scriptload, | |
| 6178 | * emacs.c (main, standard_args): Rename -scriptload to -internal-script. | 6178 | and remove the long-option form. |
| 6179 | Remove option -enable-font-backend. | 6179 | |
| 6180 | 6180 | 2008-03-13 Glenn Morris <rgm@gnu.org> | |
| 6181 | 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca> | 6181 | |
| 6182 | 6182 | * emacs.c (main, standard_args): Rename -scriptload to -internal-script. | |
| 6183 | * buffer.c (Fswitch_to_buffer): Fall back on pop-to-buffer. | 6183 | Remove option -enable-font-backend. |
| 6184 | 6184 | ||
| 6185 | 2008-03-11 Jan Djärv <jan.h.d@swipnet.se> | 6185 | 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca> |
| 6186 | 6186 | ||
| 6187 | * xterm.c (x_connection_closed): For GTK: If this is the last | 6187 | * buffer.c (Fswitch_to_buffer): Fall back on pop-to-buffer. |
| 6188 | terminal just exit without closing the display. | 6188 | |
| 6189 | 6189 | 2008-03-11 Jan Djärv <jan.h.d@swipnet.se> | |
| 6190 | 2008-03-11 Jason Rumney <jasonr@gnu.org> | 6190 | |
| 6191 | 6191 | * xterm.c (x_connection_closed): For GTK: If this is the last | |
| 6192 | * w32font.c (w32font_full_name): Use floor to round. | 6192 | terminal just exit without closing the display. |
| 6193 | 6193 | ||
| 6194 | 2008-03-10 dhruva <dhruvakm@gmail.com> (tiny change) | 6194 | 2008-03-11 Jason Rumney <jasonr@gnu.org> |
| 6195 | 6195 | ||
| 6196 | * sound.c (alsa_configure): Declare vol at beginning of block. | 6196 | * w32font.c (w32font_full_name): Use floor to round. |
| 6197 | 6197 | ||
| 6198 | * fontset.c (Ffontset_info): Remove extra semicolon. | 6198 | 2008-03-10 dhruva <dhruvakm@gmail.com> (tiny change) |
| 6199 | 6199 | ||
| 6200 | 2008-03-10 Stefan Monnier <monnier@iro.umontreal.ca> | 6200 | * sound.c (alsa_configure): Declare vol at beginning of block. |
| 6201 | 6201 | ||
| 6202 | * fileio.c (Fsubstitute_in_file_name): Fix up computation of maximum | 6202 | * fontset.c (Ffontset_info): Remove extra semicolon. |
| 6203 | size of resulting string. | 6203 | |
| 6204 | 6204 | 2008-03-10 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 6205 | 2008-03-10 Jason Rumney <jasonr@gnu.org> | 6205 | |
| 6206 | 6206 | * fileio.c (Fsubstitute_in_file_name): Fix up computation of maximum | |
| 6207 | * dispnew.c (adjust_glyph_matrix): Initialize window_height. | 6207 | size of resulting string. |
| 6208 | 6208 | ||
| 6209 | 2008-03-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 6209 | 2008-03-10 Jason Rumney <jasonr@gnu.org> |
| 6210 | 6210 | ||
| 6211 | * xdisp.c (handle_single_display_spec): Undo 2007-10-16 changes. | 6211 | * dispnew.c (adjust_glyph_matrix): Initialize window_height. |
| 6212 | Don't pretend as if characters with display property haven't been | 6212 | |
| 6213 | consumed for string-replacing-string case. | 6213 | 2008-03-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 6214 | 6214 | ||
| 6215 | 2008-03-08 Kim F. Storm <storm@cua.dk> | 6215 | * xdisp.c (handle_single_display_spec): Undo 2007-10-16 changes. |
| 6216 | 6216 | Don't pretend as if characters with display property haven't been | |
| 6217 | * xdisp.c (GET_NEXT_DISPLAY_ELEMENT): New macro. | 6217 | consumed for string-replacing-string case. |
| 6218 | (get_next_display_element, next_element_from_string) | 6218 | |
| 6219 | (next_element_from_ellipsis, next_element_from_buffer): Use it. | 6219 | 2008-03-08 Kim F. Storm <storm@cua.dk> |
| 6220 | 6220 | ||
| 6221 | 2008-03-08 Andreas Schwab <schwab@suse.de> | 6221 | * xdisp.c (GET_NEXT_DISPLAY_ELEMENT): New macro. |
| 6222 | 6222 | (get_next_display_element, next_element_from_string) | |
| 6223 | * process.h (struct Lisp_Process): Declare bit fields as unsigned. | 6223 | (next_element_from_ellipsis, next_element_from_buffer): Use it. |
| 6224 | 6224 | ||
| 6225 | 2008-03-06 Jason Rumney <jasonr@gnu.org> | 6225 | 2008-03-08 Andreas Schwab <schwab@suse.de> |
| 6226 | 6226 | ||
| 6227 | * w32font.c (w32_registry): Take font_type argument. Use ANSI | 6227 | * process.h (struct Lisp_Process): Declare bit fields as unsigned. |
| 6228 | when charset not specified. Only translate ANSI to unicode when | 6228 | |
| 6229 | font_type is truetype. | 6229 | 2008-03-06 Jason Rumney <jasonr@gnu.org> |
| 6230 | (w32font_coverage_ok): New function. | 6230 | |
| 6231 | (add_font_entity_to_list): Use it to filter unsuitable fonts. | 6231 | * w32font.c (w32_registry): Take font_type argument. Use ANSI |
| 6232 | 6232 | when charset not specified. Only translate ANSI to unicode when | |
| 6233 | 2008-03-05 Kenichi Handa <handa@ni.aist.go.jp> | 6233 | font_type is truetype. |
| 6234 | 6234 | (w32font_coverage_ok): New function. | |
| 6235 | * lread.c (Fread_char): Resolve modifiers. | 6235 | (add_font_entity_to_list): Use it to filter unsuitable fonts. |
| 6236 | (Fread_char_exclusive): Likewise. | 6236 | |
| 6237 | 6237 | 2008-03-05 Kenichi Handa <handa@ni.aist.go.jp> | |
| 6238 | * character.c (char_resolve_modifier_mask): New function. | 6238 | |
| 6239 | (char_string): Use char_resolve_modifier_mask. | 6239 | * lread.c (Fread_char): Resolve modifiers. |
| 6240 | (Fchar_resolve_modifiers): New function. | 6240 | (Fread_char_exclusive): Likewise. |
| 6241 | (syms_of_character): Declare Fchar_resolve_modifiers as Lisp | 6241 | |
| 6242 | function. | 6242 | * character.c (char_resolve_modifier_mask): New function. |
| 6243 | 6243 | (char_string): Use char_resolve_modifier_mask. | |
| 6244 | 2008-03-04 Jason Rumney <jasonr@gnu.org> | 6244 | (Fchar_resolve_modifiers): New function. |
| 6245 | 6245 | (syms_of_character): Declare Fchar_resolve_modifiers as Lisp | |
| 6246 | * makefile.w32-in: Always include w32font.c in the build. | 6246 | function. |
| 6247 | * w32font.c: Wrap in USE_FONT_BACKEND conditional. | 6247 | |
| 6248 | 6248 | 2008-03-04 Jason Rumney <jasonr@gnu.org> | |
| 6249 | 2008-03-04 Andreas Schwab <schwab@suse.de> | 6249 | |
| 6250 | 6250 | * makefile.w32-in: Always include w32font.c in the build. | |
| 6251 | * Makefile.in (clean): Remove emacs-*.*.* instead of emacs-*. | 6251 | * w32font.c: Wrap in USE_FONT_BACKEND conditional. |
| 6252 | (versionclean): Likewise. | 6252 | |
| 6253 | 6253 | 2008-03-04 Andreas Schwab <schwab@suse.de> | |
| 6254 | 2008-03-04 Juanma Barranquero <lekktu@gmail.com> | 6254 | |
| 6255 | 6255 | * Makefile.in (clean): Remove emacs-*.*.* instead of emacs-*. | |
| 6256 | * .cvsignore: Add oo. | 6256 | (versionclean): Likewise. |
| 6257 | 6257 | ||
| 6258 | 2008-03-03 Andreas Schwab <schwab@suse.de> | 6258 | 2008-03-04 Juanma Barranquero <lekktu@gmail.com> |
| 6259 | 6259 | ||
| 6260 | * coding.c (decode_coding_object): Inhibit gap shrinking while | 6260 | * .cvsignore: Add oo. |
| 6261 | decoding in place. | 6261 | |
| 6262 | 6262 | 2008-03-03 Andreas Schwab <schwab@suse.de> | |
| 6263 | 2008-03-03 Dan Nicolaescu <dann@ics.uci.edu> | 6263 | |
| 6264 | 6264 | * coding.c (decode_coding_object): Inhibit gap shrinking while | |
| 6265 | * w32term.c: Remove unused include "gnu.h". | 6265 | decoding in place. |
| 6266 | * makefile.w32-in (w32term.o): Don't depend on gnu.h. | 6266 | |
| 6267 | 6267 | 2008-03-03 Dan Nicolaescu <dann@ics.uci.edu> | |
| 6268 | * gnu.h: Rename to ... | 6268 | |
| 6269 | * emacs-icon.h: ... this. | 6269 | * w32term.c: Remove unused include "gnu.h". |
| 6270 | * xterm.c: Use emacs-icon.h instead of gnu.h. | 6270 | * makefile.w32-in (w32term.o): Don't depend on gnu.h. |
| 6271 | * Makefile (xterm.o): Depend on emacs-icon.h, not gnu.h. | 6271 | |
| 6272 | 6272 | * gnu.h: Rename to ... | |
| 6273 | 2008-03-03 Juanma Barranquero <lekktu@gmail.com> | 6273 | * emacs-icon.h: ... this. |
| 6274 | 6274 | * xterm.c: Use emacs-icon.h instead of gnu.h. | |
| 6275 | * w32font.c: Include math.h. | 6275 | * Makefile (xterm.o): Depend on emacs-icon.h, not gnu.h. |
| 6276 | 6276 | ||
| 6277 | 2008-03-03 Jason Rumney <jasonr@gnu.org> | 6277 | 2008-03-03 Juanma Barranquero <lekktu@gmail.com> |
| 6278 | 6278 | ||
| 6279 | * w32font.c (recompute_cached_metrics): Change font arg to w32font_info. | 6279 | * w32font.c: Include math.h. |
| 6280 | Compute options separately. | 6280 | |
| 6281 | (w32font_open_internal): Set glyph_idx before caching metrics. | 6281 | 2008-03-03 Jason Rumney <jasonr@gnu.org> |
| 6282 | 6282 | ||
| 6283 | * w32font.h (NTM_PS_OPENTYPE, NTM_TT_OPENTYPE, NTM_TYPE1): | 6283 | * w32font.c (recompute_cached_metrics): Change font arg to w32font_info. |
| 6284 | Define if system headers don't. | 6284 | Compute options separately. |
| 6285 | (struct w32font_info): Enlarge ascii_metrics. Add glyph_idx. | 6285 | (w32font_open_internal): Set glyph_idx before caching metrics. |
| 6286 | (w32font_encode_char): Don't declare here. | 6286 | |
| 6287 | 6287 | * w32font.h (NTM_PS_OPENTYPE, NTM_TT_OPENTYPE, NTM_TYPE1): | |
| 6288 | * w32font.c (Quniscribe, QCformat): New symbols. | 6288 | Define if system headers don't. |
| 6289 | (syms_of_w32font): Define them. | 6289 | (struct w32font_info): Enlarge ascii_metrics. Add glyph_idx. |
| 6290 | (w32font_has_char): Indicate uncertainty. | 6290 | (w32font_encode_char): Don't declare here. |
| 6291 | (w32font_encode_char): Encode as glyph point. Make static. | 6291 | |
| 6292 | (recompute_cached_metrics): New function. | 6292 | * w32font.c (Quniscribe, QCformat): New symbols. |
| 6293 | (w32font_open_internal): Use it. Set font to use glyph points | 6293 | (syms_of_w32font): Define them. |
| 6294 | initially. Set format based on type of font. | 6294 | (w32font_has_char): Indicate uncertainty. |
| 6295 | (w32font_text_extents, w32font_draw): Optionally use glyph points. | 6295 | (w32font_encode_char): Encode as glyph point. Make static. |
| 6296 | (w32_enumfont_pattern_entity): Accept backend arg. Set type based | 6296 | (recompute_cached_metrics): New function. |
| 6297 | on it. Set format based on information available here. | 6297 | (w32font_open_internal): Use it. Set font to use glyph points |
| 6298 | (add_font_entity_to_list): Identify backend based on opentype_only. | 6298 | initially. Set format based on type of font. |
| 6299 | 6299 | (w32font_text_extents, w32font_draw): Optionally use glyph points. | |
| 6300 | 2008-03-02 Andreas Schwab <schwab@suse.de> | 6300 | (w32_enumfont_pattern_entity): Accept backend arg. Set type based |
| 6301 | 6301 | on it. Set format based on information available here. | |
| 6302 | * ftfont.c (ftfont_pattern_entity): Fix aliasing violations. | 6302 | (add_font_entity_to_list): Identify backend based on opentype_only. |
| 6303 | 6303 | ||
| 6304 | * coding.c (decode_coding_big5, produce_chars): | 6304 | 2008-03-02 Andreas Schwab <schwab@suse.de> |
| 6305 | Fix typos in last change. | 6305 | |
| 6306 | 6306 | * ftfont.c (ftfont_pattern_entity): Fix aliasing violations. | |
| 6307 | 2008-03-02 Kentaro Ohkouchi <nanasess@fsm.ne.jp> | 6307 | |
| 6308 | 6308 | * coding.c (decode_coding_big5, produce_chars): | |
| 6309 | * gnu.h: New icon. | 6309 | Fix typos in last change. |
| 6310 | 6310 | ||
| 6311 | 2008-03-02 Kenichi Handa <handa@m17n.org> | 6311 | 2008-03-02 Kentaro Ohkouchi <nanasess@fsm.ne.jp> |
| 6312 | 6312 | ||
| 6313 | * coding.c (decode_coding_utf_8): When eol-type of CODING is | 6313 | * gnu.h: New icon. |
| 6314 | `dos', don't decode '\r' if that is the last in the source. | 6314 | |
| 6315 | (decode_coding_utf_16, decode_coding_emacs_mule) | 6315 | 2008-03-02 Kenichi Handa <handa@m17n.org> |
| 6316 | (decode_coding_iso_2022, decode_coding_sjis, decode_coding_big5) | 6316 | |
| 6317 | (decode_coding_raw_text, decode_coding_charset): Likewise. | 6317 | * coding.c (decode_coding_utf_8): When eol-type of CODING is |
| 6318 | (produce_chars): Don't decode EOL here. Use EMACS_INT. | 6318 | `dos', don't decode '\r' if that is the last in the source. |
| 6319 | 6319 | (decode_coding_utf_16, decode_coding_emacs_mule) | |
| 6320 | 2008-03-01 Jason Rumney <jasonr@gnu.org> | 6320 | (decode_coding_iso_2022, decode_coding_sjis, decode_coding_big5) |
| 6321 | 6321 | (decode_coding_raw_text, decode_coding_charset): Likewise. | |
| 6322 | * w32font.c (w32font_full_name): Report point size for scalable fonts. | 6322 | (produce_chars): Don't decode EOL here. Use EMACS_INT. |
| 6323 | 6323 | ||
| 6324 | 2008-03-01 Kim F. Storm <storm@cua.dk> | 6324 | 2008-03-01 Jason Rumney <jasonr@gnu.org> |
| 6325 | 6325 | ||
| 6326 | * dispextern.h (CHAR_GLYPH_SPACE_P): Check for default face. | 6326 | * w32font.c (w32font_full_name): Report point size for scalable fonts. |
| 6327 | 6327 | ||
| 6328 | 2008-03-01 Jason Rumney <jasonr@gnu.org> | 6328 | 2008-03-01 Kim F. Storm <storm@cua.dk> |
| 6329 | 6329 | ||
| 6330 | * w32font.c (w32font_full_name): New function. | 6330 | * dispextern.h (CHAR_GLYPH_SPACE_P): Check for default face. |
| 6331 | (w32font_open_internal): Use it. | 6331 | |
| 6332 | 6332 | 2008-03-01 Jason Rumney <jasonr@gnu.org> | |
| 6333 | 2008-03-01 Kim F. Storm <storm@cua.dk> | 6333 | |
| 6334 | 6334 | * w32font.c (w32font_full_name): New function. | |
| 6335 | * dispnew.c (line_draw_cost): Fix invalid glyph check. | 6335 | (w32font_open_internal): Use it. |
| 6336 | 6336 | ||
| 6337 | 2008-03-01 Jason Rumney <jasonr@gnu.org> | 6337 | 2008-03-01 Kim F. Storm <storm@cua.dk> |
| 6338 | 6338 | ||
| 6339 | * font.c (font_unparse_fcname): Increase len when style is a symbol. | 6339 | * dispnew.c (line_draw_cost): Fix invalid glyph check. |
| 6340 | 6340 | ||
| 6341 | 2008-03-01 Jan Djärv <jan.h.d@swipnet.se> | 6341 | 2008-03-01 Jason Rumney <jasonr@gnu.org> |
| 6342 | 6342 | ||
| 6343 | * xterm.c (handle_one_xevent): For Gtk+ and ConfigureNotify, call | 6343 | * font.c (font_unparse_fcname): Increase len when style is a symbol. |
| 6344 | xg_frame_resized when the event is for the edit widget. | 6344 | |
| 6345 | 6345 | 2008-03-01 Jan Djärv <jan.h.d@swipnet.se> | |
| 6346 | * gtkutil.h (xg_frame_resized): Renamed from xg_resize_widgets. | 6346 | |
| 6347 | 6347 | * xterm.c (handle_one_xevent): For Gtk+ and ConfigureNotify, call | |
| 6348 | * gtkutil.c (xg_resize_outer_widget): Only do one of set_geometry or | 6348 | xg_frame_resized when the event is for the edit widget. |
| 6349 | set_char_size. | 6349 | |
| 6350 | (xg_frame_resized): Renamed from xg_resize_widgets. Remove all | 6350 | * gtkutil.h (xg_frame_resized): Renamed from xg_resize_widgets. |
| 6351 | operations on widgets here. Just set frame size if needed. | 6351 | |
| 6352 | (flush_and_sync, x_wm_size_hint_off, xg_pack_tool_bar): New functions. | 6352 | * gtkutil.c (xg_resize_outer_widget): Only do one of set_geometry or |
| 6353 | (xg_frame_set_char_size): Call x_wm_size_hint_off before resizing. | 6353 | set_char_size. |
| 6354 | (x_wm_set_size_hint): Set size hints on the edit widget only, not | 6354 | (xg_frame_resized): Renamed from xg_resize_widgets. Remove all |
| 6355 | the whole frame. | 6355 | operations on widgets here. Just set frame size if needed. |
| 6356 | (xg_create_tool_bar): Move attachment of the tool bar to | 6356 | (flush_and_sync, x_wm_size_hint_off, xg_pack_tool_bar): New functions. |
| 6357 | xg_pack_tool_bar. Do not attach the tool bar if there are no items. | 6357 | (xg_frame_set_char_size): Call x_wm_size_hint_off before resizing. |
| 6358 | (free_frame_tool_bar): Remove call to SET_FRAME_GARBAGED. | 6358 | (x_wm_set_size_hint): Set size hints on the edit widget only, not |
| 6359 | 6359 | the whole frame. | |
| 6360 | 2008-03-01 Jason Rumney <jasonr@gnu.org> | 6360 | (xg_create_tool_bar): Move attachment of the tool bar to |
| 6361 | 6361 | xg_pack_tool_bar. Do not attach the tool bar if there are no items. | |
| 6362 | * w32fns.c (w32_msg_pump): Disable debug code. | 6362 | (free_frame_tool_bar): Remove call to SET_FRAME_GARBAGED. |
| 6363 | 6363 | ||
| 6364 | 2008-03-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 6364 | 2008-03-01 Jason Rumney <jasonr@gnu.org> |
| 6365 | 6365 | ||
| 6366 | * m/intel386.h [MAC_OSX || DARWIN]: Define NO_ARG_ARRAY if _LP64. | 6366 | * w32fns.c (w32_msg_pump): Disable debug code. |
| 6367 | 6367 | ||
| 6368 | 2008-02-29 Chong Yidong <cyd@stupidchicken.com> | 6368 | 2008-03-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 6369 | 6369 | ||
| 6370 | * xdisp.c (next_overlay_string): Don't set | 6370 | * m/intel386.h [MAC_OSX || DARWIN]: Define NO_ARG_ARRAY if _LP64. |
| 6371 | overlay_strings_at_end_processed_p if we're currently reading from | 6371 | |
| 6372 | a display string. | 6372 | 2008-02-29 Chong Yidong <cyd@stupidchicken.com> |
| 6373 | 6373 | ||
| 6374 | 2008-02-29 Stefan Monnier <monnier@iro.umontreal.ca> | 6374 | * xdisp.c (next_overlay_string): Don't set |
| 6375 | 6375 | overlay_strings_at_end_processed_p if we're currently reading from | |
| 6376 | * xdisp.c (get_overlay_strings_1): Fix typo. | 6376 | a display string. |
| 6377 | 6377 | ||
| 6378 | 2008-02-29 Chong Yidong <cyd@stupidchicken.com> | 6378 | 2008-02-29 Stefan Monnier <monnier@iro.umontreal.ca> |
| 6379 | 6379 | ||
| 6380 | * xdisp.c (get_overlay_strings_1): Add missing argument type. | 6380 | * xdisp.c (get_overlay_strings_1): Fix typo. |
| 6381 | 6381 | ||
| 6382 | 2008-02-28 Kenichi Handa <handa@ni.aist.go.jp> | 6382 | 2008-02-29 Chong Yidong <cyd@stupidchicken.com> |
| 6383 | 6383 | ||
| 6384 | * ftfont.c (ftfont_match): Explicitly set pixelsize in pattern. | 6384 | * xdisp.c (get_overlay_strings_1): Add missing argument type. |
| 6385 | 6385 | ||
| 6386 | * xdisp.c (display_mode_element): Cancel the previous change. | 6386 | 2008-02-28 Kenichi Handa <handa@ni.aist.go.jp> |
| 6387 | (decode_mode_spec): Likewise. | 6387 | |
| 6388 | (handle_auto_composed_prop): Don't make composition if it->string | 6388 | * ftfont.c (ftfont_match): Explicitly set pixelsize in pattern. |
| 6389 | is a string. | 6389 | |
| 6390 | 6390 | * xdisp.c (display_mode_element): Cancel the previous change. | |
| 6391 | 2008-02-27 Kim F. Storm <storm@cua.dk> | 6391 | (decode_mode_spec): Likewise. |
| 6392 | 6392 | (handle_auto_composed_prop): Don't make composition if it->string | |
| 6393 | * lisp.h (GLYPH): Change type from int to struct with separate char | 6393 | is a string. |
| 6394 | and face_id members. | 6394 | |
| 6395 | (GLYPH_MASK_FACE, GLYPH_MASK_CHAR): Delete macros. | 6395 | 2008-02-27 Kim F. Storm <storm@cua.dk> |
| 6396 | (GLYPH_CHAR, GLYPH_FACE): Remove slow versions with frame arg. | 6396 | |
| 6397 | (FAST_GLYPH_CHAR, FAST_GLYPH_FACE): Rename macros to ... | 6397 | * lisp.h (GLYPH): Change type from int to struct with separate char |
| 6398 | (GLYPH_CHAR, GLYPH_FACE): ... these. Change users. | 6398 | and face_id members. |
| 6399 | (FAST_MAKE_GLYPH, MAKE_GLYPH): Remove. Rewrite users to use ... | 6399 | (GLYPH_MASK_FACE, GLYPH_MASK_CHAR): Delete macros. |
| 6400 | (SET_GLYPH, SET_GLYPH_CHAR, SET_GLYPH_FACE): ... these macros instead. | 6400 | (GLYPH_CHAR, GLYPH_FACE): Remove slow versions with frame arg. |
| 6401 | (GLYPH_CODE_CHAR, GLYPH_CODE_FACE, GLYPH_CODE_P) | 6401 | (FAST_GLYPH_CHAR, FAST_GLYPH_FACE): Rename macros to ... |
| 6402 | (GLYPH_CODE_CHAR_VALID_P, SET_GLYPH_FROM_GLYPH_CODE): New macros to | 6402 | (GLYPH_CHAR, GLYPH_FACE): ... these. Change users. |
| 6403 | handle new Lisp glyph code encoding, either an integer or a cons. | 6403 | (FAST_MAKE_GLYPH, MAKE_GLYPH): Remove. Rewrite users to use ... |
| 6404 | 6404 | (SET_GLYPH, SET_GLYPH_CHAR, SET_GLYPH_FACE): ... these macros instead. | |
| 6405 | * disptab.h (GLYPH_SIMPLE_P): Rewrite. | 6405 | (GLYPH_CODE_CHAR, GLYPH_CODE_FACE, GLYPH_CODE_P) |
| 6406 | (GLYPH_ALIAS): Delete. | 6406 | (GLYPH_CODE_CHAR_VALID_P, SET_GLYPH_FROM_GLYPH_CODE): New macros to |
| 6407 | (GLYPH_ALIAS_P, GLYPH_FOLLOW_ALIASES): Rewrite. | 6407 | handle new Lisp glyph code encoding, either an integer or a cons. |
| 6408 | (GLYPH_LENGTH, GLYPH_STRING): Use GLYPH_CHAR. | 6408 | |
| 6409 | (GLYPH_FROM_CHAR): Replace macro by ... | 6409 | * disptab.h (GLYPH_SIMPLE_P): Rewrite. |
| 6410 | (SET_GLYPH_FROM_CHAR): ... this macro. Change users. | 6410 | (GLYPH_ALIAS): Delete. |
| 6411 | 6411 | (GLYPH_ALIAS_P, GLYPH_FOLLOW_ALIASES): Rewrite. | |
| 6412 | * dispextern.h (CHAR_GLYPH_SPACE_P): Simplify. | 6412 | (GLYPH_LENGTH, GLYPH_STRING): Use GLYPH_CHAR. |
| 6413 | (GLYPH_FROM_CHAR_GLYPH): Replace macro by ... | 6413 | (GLYPH_FROM_CHAR): Replace macro by ... |
| 6414 | (SET_GLYPH_FROM_CHAR_GLYPH): ... this macro. Change users. | 6414 | (SET_GLYPH_FROM_CHAR): ... this macro. Change users. |
| 6415 | (GLYPH_INVALID_P): New macro. | 6415 | |
| 6416 | (spec_glyph_lookup_face): Update prototype. | 6416 | * dispextern.h (CHAR_GLYPH_SPACE_P): Simplify. |
| 6417 | 6417 | (GLYPH_FROM_CHAR_GLYPH): Replace macro by ... | |
| 6418 | * dispnew.c (line_draw_cost): Adapt to new glyph type. | 6418 | (SET_GLYPH_FROM_CHAR_GLYPH): ... this macro. Change users. |
| 6419 | (build_frame_matrix_from_leaf_window): Adapt to new glyph type and | 6419 | (GLYPH_INVALID_P): New macro. |
| 6420 | new glyph code encoding. | 6420 | (spec_glyph_lookup_face): Update prototype. |
| 6421 | (spec_glyph_lookup_face): No return value; update passed glyph instead. | 6421 | |
| 6422 | (init_display): Use SET_CHAR_GLYPH to initialize space_glyph. | 6422 | * dispnew.c (line_draw_cost): Adapt to new glyph type. |
| 6423 | 6423 | (build_frame_matrix_from_leaf_window): Adapt to new glyph type and | |
| 6424 | * xdisp.c (get_next_display_element, next_element_from_display_vector): | 6424 | new glyph code encoding. |
| 6425 | Adapt to new glyph type and new glyph code encoding. | 6425 | (spec_glyph_lookup_face): No return value; update passed glyph instead. |
| 6426 | 6426 | (init_display): Use SET_CHAR_GLYPH to initialize space_glyph. | |
| 6427 | * term.c (encode_terminal_code, produce_special_glyphs): Likewise. | 6427 | |
| 6428 | 6428 | * xdisp.c (get_next_display_element, next_element_from_display_vector): | |
| 6429 | * indent.c (current_column, current_column_1, Fmove_to_column) | 6429 | Adapt to new glyph type and new glyph code encoding. |
| 6430 | (compute_motion): Adapt to new glyph code encoding. | 6430 | |
| 6431 | 6431 | * term.c (encode_terminal_code, produce_special_glyphs): Likewise. | |
| 6432 | * msdos.c (IT_write_glyphs): Adapt to new glyph type. | 6432 | |
| 6433 | 6433 | * indent.c (current_column, current_column_1, Fmove_to_column) | |
| 6434 | 2008-02-27 Chong Yidong <cyd@stupidchicken.com> | 6434 | (compute_motion): Adapt to new glyph code encoding. |
| 6435 | 6435 | ||
| 6436 | * process.c (wait_reading_process_output): Check for window | 6436 | * msdos.c (IT_write_glyphs): Adapt to new glyph type. |
| 6437 | changes caused by timers. | 6437 | |
| 6438 | Suggested by Johan Bockgård. | 6438 | 2008-02-27 Chong Yidong <cyd@stupidchicken.com> |
| 6439 | 6439 | ||
| 6440 | 2008-02-27 Glenn Morris <rgm@gnu.org> | 6440 | * process.c (wait_reading_process_output): Check for window |
| 6441 | 6441 | changes caused by timers. | |
| 6442 | * emacs.c (USAGE1): Add `--disable-font-backend'. | 6442 | Suggested by Johan Bockgård. |
| 6443 | 6443 | ||
| 6444 | 2008-02-27 Stefan Monnier <monnier@iro.umontreal.ca> | 6444 | 2008-02-27 Glenn Morris <rgm@gnu.org> |
| 6445 | 6445 | ||
| 6446 | * fileio.c (Finsert_file_contents): Don't reset undo_list if no change | 6446 | * emacs.c (USAGE1): Add `--disable-font-backend'. |
| 6447 | is made to the buffer. | 6447 | |
| 6448 | 6448 | 2008-02-27 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 6449 | 2008-02-26 Stefan Monnier <monnier@iro.umontreal.ca> | 6449 | |
| 6450 | 6450 | * fileio.c (Finsert_file_contents): Don't reset undo_list if no change | |
| 6451 | * dispextern.h (face_at_buffer_position, face_for_overlay_string) | 6451 | is made to the buffer. |
| 6452 | (face_at_string_position): | 6452 | |
| 6453 | * xfaces.c (face_at_buffer_position, face_for_overlay_string) | 6453 | 2008-02-26 Stefan Monnier <monnier@iro.umontreal.ca> |
| 6454 | (face_at_string_position): | 6454 | |
| 6455 | * xdisp.c (display_string, next_overlay_change): | 6455 | * dispextern.h (face_at_buffer_position, face_for_overlay_string) |
| 6456 | * buffer.h (overlays_at): | 6456 | (face_at_string_position): |
| 6457 | * buffer.c (overlays_at): Use EMACS_INT for buffer positions. | 6457 | * xfaces.c (face_at_buffer_position, face_for_overlay_string) |
| 6458 | Update callers. | 6458 | (face_at_string_position): |
| 6459 | 6459 | * xdisp.c (display_string, next_overlay_change): | |
| 6460 | 2008-02-26 Chong Yidong <cyd@stupidchicken.com> | 6460 | * buffer.h (overlays_at): |
| 6461 | 6461 | * buffer.c (overlays_at): Use EMACS_INT for buffer positions. | |
| 6462 | * editfns.c (Fformat): Doc fix. | 6462 | Update callers. |
| 6463 | 6463 | ||
| 6464 | 2008-02-26 Juanma Barranquero <lekktu@gmail.com> | 6464 | 2008-02-26 Chong Yidong <cyd@stupidchicken.com> |
| 6465 | 6465 | ||
| 6466 | * font.c (Ffont_spec, Ffont_at): Fix typos in docstrings. | 6466 | * editfns.c (Fformat): Doc fix. |
| 6467 | (Ffont_put, Flist_families, Ffont_fill_gstring, Ffont_drive_otf) | 6467 | |
| 6468 | (Ffont_otf_alternates, Fquery_font): Doc fixes. | 6468 | 2008-02-26 Juanma Barranquero <lekktu@gmail.com> |
| 6469 | 6469 | ||
| 6470 | 2008-02-25 Stefan Monnier <monnier@iro.umontreal.ca> | 6470 | * font.c (Ffont_spec, Ffont_at): Fix typos in docstrings. |
| 6471 | 6471 | (Ffont_put, Flist_families, Ffont_fill_gstring, Ffont_drive_otf) | |
| 6472 | * buffer.c (Fbuffer_swap_text): New function. | 6472 | (Ffont_otf_alternates, Fquery_font): Doc fixes. |
| 6473 | (syms_of_buffer): Defsubr it. | 6473 | |
| 6474 | 6474 | 2008-02-25 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 6475 | 2008-02-25 Chong Yidong <cyd@stupidchicken.com> | 6475 | |
| 6476 | 6476 | * buffer.c (Fbuffer_swap_text): New function. | |
| 6477 | * keyboard.c (command_loop_1): Revert 2006-10-09 change. | 6477 | (syms_of_buffer): Defsubr it. |
| 6478 | 6478 | ||
| 6479 | 2008-02-25 Jason Rumney <jasonr@gnu.org> | 6479 | 2008-02-25 Chong Yidong <cyd@stupidchicken.com> |
| 6480 | 6480 | ||
| 6481 | * w32font.c (w32font_draw): Draw one character at a time when padding. | 6481 | * keyboard.c (command_loop_1): Revert 2006-10-09 change. |
| 6482 | 6482 | ||
| 6483 | 2008-02-25 Stefan Monnier <monnier@iro.umontreal.ca> | 6483 | 2008-02-25 Jason Rumney <jasonr@gnu.org> |
| 6484 | 6484 | ||
| 6485 | * window.c (Fdelete_window, Fadjust_window_trailing_edge): | 6485 | * w32font.c (w32font_draw): Draw one character at a time when padding. |
| 6486 | Handle a nil arg. Use run_window_configuration_change_hook. | 6486 | |
| 6487 | (delete_window, adjust_window_trailing_edge): Don't handle nil any more. | 6487 | 2008-02-25 Stefan Monnier <monnier@iro.umontreal.ca> |
| 6488 | (Fenlarge_window, Fshrink_window, Fset_window_configuration): | 6488 | |
| 6489 | Use run_window_configuration_change_hook. | 6489 | * window.c (Fdelete_window, Fadjust_window_trailing_edge): |
| 6490 | 6490 | Handle a nil arg. Use run_window_configuration_change_hook. | |
| 6491 | 2008-02-25 Kenichi Handa <handa@ni.aist.go.jp> | 6491 | (delete_window, adjust_window_trailing_edge): Don't handle nil any more. |
| 6492 | 6492 | (Fenlarge_window, Fshrink_window, Fset_window_configuration): | |
| 6493 | * xdisp.c (x_produce_glyphs): For a visible glyph, assure at least | 6493 | Use run_window_configuration_change_hook. |
| 6494 | 1-pixel width. | 6494 | |
| 6495 | 6495 | 2008-02-25 Kenichi Handa <handa@ni.aist.go.jp> | |
| 6496 | 2008-02-25 Kenichi Handa <handa@ni.aist.go.jp> | 6496 | |
| 6497 | 6497 | * xdisp.c (x_produce_glyphs): For a visible glyph, assure at least | |
| 6498 | * xdisp.c (fill_glyph_string): Pay attention to glyph->padding_p. | 6498 | 1-pixel width. |
| 6499 | (append_glyph): Set glyph->pixel_width and glyph->padding_p to 1 | 6499 | |
| 6500 | if the glyph in the font is zero pixel with. | 6500 | 2008-02-25 Kenichi Handa <handa@ni.aist.go.jp> |
| 6501 | 6501 | ||
| 6502 | * dispextern.h (struct glyph_string): New member padding_p. | 6502 | * xdisp.c (fill_glyph_string): Pay attention to glyph->padding_p. |
| 6503 | 6503 | (append_glyph): Set glyph->pixel_width and glyph->padding_p to 1 | |
| 6504 | * w32font.c (w32font_draw): Pay attention to s->padding_p. | 6504 | if the glyph in the font is zero pixel with. |
| 6505 | 6505 | ||
| 6506 | * ftxfont.c (ftxfont_draw): Pay attention to s->padding_p. | 6506 | * dispextern.h (struct glyph_string): New member padding_p. |
| 6507 | 6507 | ||
| 6508 | * xfont.c (xfont_draw): Pay attention to s->padding_p. | 6508 | * w32font.c (w32font_draw): Pay attention to s->padding_p. |
| 6509 | 6509 | ||
| 6510 | * xftfont.c (xftfont_draw): Pay attention to s->padding_p. | 6510 | * ftxfont.c (ftxfont_draw): Pay attention to s->padding_p. |
| 6511 | 6511 | ||
| 6512 | * font.c: If the font driver doesn't have `shape' function, return Qnil. | 6512 | * xfont.c (xfont_draw): Pay attention to s->padding_p. |
| 6513 | 6513 | ||
| 6514 | 2008-02-25 Jason Rumney <jasonr@gnu.org> | 6514 | * xftfont.c (xftfont_draw): Pay attention to s->padding_p. |
| 6515 | 6515 | ||
| 6516 | * w32fns.c (enum_font_cb2): Don't use raster fonts for Unicode. | 6516 | * font.c: If the font driver doesn't have `shape' function, return Qnil. |
| 6517 | 6517 | ||
| 6518 | 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca> | 6518 | 2008-02-25 Jason Rumney <jasonr@gnu.org> |
| 6519 | 6519 | ||
| 6520 | Allow fine-grained image-cache flushing. | 6520 | * w32fns.c (enum_font_cb2): Don't use raster fonts for Unicode. |
| 6521 | * dispextern.h (struct image): Add `dependencies' field. | 6521 | |
| 6522 | (clear_image_caches): Change arg to Lisp_Object. | 6522 | 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca> |
| 6523 | * image.c (make_image): Initialize `dependencies' field. | 6523 | |
| 6524 | (clear_image_cache): Change arg to allow fine-grained flushing. | 6524 | Allow fine-grained image-cache flushing. |
| 6525 | Perform the flush even if image-cache-eviction-delay is nil. | 6525 | * dispextern.h (struct image): Add `dependencies' field. |
| 6526 | (clear_image_caches): Change arg to Lisp_Object. | 6526 | (clear_image_caches): Change arg to Lisp_Object. |
| 6527 | (Fclear_image_cache): Expand meaning of the argument. | 6527 | * image.c (make_image): Initialize `dependencies' field. |
| 6528 | (mark_image): Mark `dependencies' field. | 6528 | (clear_image_cache): Change arg to allow fine-grained flushing. |
| 6529 | * xfaces.c (clear_face_cache): Adapt arg to call to clear_image_caches. | 6529 | Perform the flush even if image-cache-eviction-delay is nil. |
| 6530 | (lface_hash): Use XHASH rather than XFASTINT. | 6530 | (clear_image_caches): Change arg to Lisp_Object. |
| 6531 | (face_at_buffer_position): Fix int -> EMACS_INT position. | 6531 | (Fclear_image_cache): Expand meaning of the argument. |
| 6532 | * xdisp.c (next_overlay_change): Fix int -> EMACS_INT position. | 6532 | (mark_image): Mark `dependencies' field. |
| 6533 | (select_frame_for_redisplay): Remove code duplication. | 6533 | * xfaces.c (clear_face_cache): Adapt arg to call to clear_image_caches. |
| 6534 | (redisplay_internal): Adapt arg to call to clear_image_caches. | 6534 | (lface_hash): Use XHASH rather than XFASTINT. |
| 6535 | 6535 | (face_at_buffer_position): Fix int -> EMACS_INT position. | |
| 6536 | 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu> | 6536 | * xdisp.c (next_overlay_change): Fix int -> EMACS_INT position. |
| 6537 | 6537 | (select_frame_for_redisplay): Remove code duplication. | |
| 6538 | * s/vms4-0.h: | 6538 | (redisplay_internal): Adapt arg to call to clear_image_caches. |
| 6539 | * s/vms4-2.h: | 6539 | |
| 6540 | * s/vms4-4.h: | 6540 | 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu> |
| 6541 | * s/vms5-5.h: Remove, unused. | 6541 | |
| 6542 | 6542 | * s/vms4-0.h: | |
| 6543 | * s/irix5-2.h: | 6543 | * s/vms4-2.h: |
| 6544 | * s/irix6-0.h: | 6544 | * s/vms4-4.h: |
| 6545 | * s/riscos5.h: | 6545 | * s/vms5-5.h: Remove, unused. |
| 6546 | * s/mach-bsd4-3.h: | 6546 | |
| 6547 | * m/mips4.h: Remove files for obsolete systems. | 6547 | * s/irix5-2.h: |
| 6548 | 6548 | * s/irix6-0.h: | |
| 6549 | * Makefile.in: | 6549 | * s/riscos5.h: |
| 6550 | * filelock.c: | 6550 | * s/mach-bsd4-3.h: |
| 6551 | * unexmips.c: | 6551 | * m/mips4.h: Remove files for obsolete systems. |
| 6552 | * m/hp9000s300.h: | 6552 | |
| 6553 | * m/iris4d.h: | 6553 | * Makefile.in: |
| 6554 | * s/aix3-1.h: | 6554 | * filelock.c: |
| 6555 | * s/hpux.h: | 6555 | * unexmips.c: |
| 6556 | * s/msdos.h: | 6556 | * m/hp9000s300.h: |
| 6557 | * s/usg5-0.h: | 6557 | * m/iris4d.h: |
| 6558 | * s/usg5-2-2.h: | 6558 | * s/aix3-1.h: |
| 6559 | * s/usg5-2.h: | 6559 | * s/hpux.h: |
| 6560 | * s/usg5-3.h: Remove references to obsolete variables. | 6560 | * s/msdos.h: |
| 6561 | 6561 | * s/usg5-0.h: | |
| 6562 | * s/irix5-0.h: Remove, move all the contents ... | 6562 | * s/usg5-2-2.h: |
| 6563 | * s/irix6-5.h: ... here. Simplify. | 6563 | * s/usg5-2.h: |
| 6564 | * config.in: Regenerate. | 6564 | * s/usg5-3.h: Remove references to obsolete variables. |
| 6565 | 6565 | ||
| 6566 | 2008-02-24 Jason Rumney <jasonr@gnu.org> | 6566 | * s/irix5-0.h: Remove, move all the contents ... |
| 6567 | 6567 | * s/irix6-5.h: ... here. Simplify. | |
| 6568 | * w32term.c (x_draw_glyph_string_background): Clear the background | 6568 | * config.in: Regenerate. |
| 6569 | manually when cleartype is in use. | 6569 | |
| 6570 | (x_draw_glyph_string_foreground): Draw text transparently when | 6570 | 2008-02-24 Jason Rumney <jasonr@gnu.org> |
| 6571 | cleartype is in use. | 6571 | |
| 6572 | 6572 | * w32term.c (x_draw_glyph_string_background): Clear the background | |
| 6573 | * w32font.c (w32font_text_extents): Avoid getting HDC and selecting | 6573 | manually when cleartype is in use. |
| 6574 | a font into it unless we have to. | 6574 | (x_draw_glyph_string_foreground): Draw text transparently when |
| 6575 | 6575 | cleartype is in use. | |
| 6576 | 2008-02-19 Stefan Monnier <monnier@iro.umontreal.ca> | 6576 | |
| 6577 | 6577 | * w32font.c (w32font_text_extents): Avoid getting HDC and selecting | |
| 6578 | * intervals.h (INT_LISPLIKE): Remove. It may misfire. | 6578 | a font into it unless we have to. |
| 6579 | (NULL_INTERVAL_P, SET_INTERVAL_PARENT): Don't use it. | 6579 | |
| 6580 | 6580 | 2008-02-19 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 6581 | 2008-02-18 Jason Rumney <jasonr@gnu.org> | 6581 | |
| 6582 | 6582 | * intervals.h (INT_LISPLIKE): Remove. It may misfire. | |
| 6583 | * w32fns.c (Fw32_shell_execute): Encode parameters. | 6583 | (NULL_INTERVAL_P, SET_INTERVAL_PARENT): Don't use it. |
| 6584 | 6584 | ||
| 6585 | 2008-02-09 Eli Zaretskii <eliz@gnu.org> | 6585 | 2008-02-18 Jason Rumney <jasonr@gnu.org> |
| 6586 | 6586 | ||
| 6587 | * fileio.c (syms_of_fileio) <insert-default-directory>: Doc fix. | 6587 | * w32fns.c (Fw32_shell_execute): Encode parameters. |
| 6588 | 6588 | ||
| 6589 | 2008-02-05 Juanma Barranquero <lekktu@gmail.com> | 6589 | 2008-02-09 Eli Zaretskii <eliz@gnu.org> |
| 6590 | 6590 | ||
| 6591 | * unexhp9k800.c (read_header): Replace `legal' with `valid'. | 6591 | * fileio.c (syms_of_fileio) <insert-default-directory>: Doc fix. |
| 6592 | 6592 | ||
| 6593 | 2008-02-24 Ulrich Neumerkel <ulrich@complang.tuwien.ac.at> (tiny change) | 6593 | 2008-02-05 Juanma Barranquero <lekktu@gmail.com> |
| 6594 | 6594 | ||
| 6595 | * xterm.c (x_set_offset): Don't change the gravity if | 6595 | * unexhp9k800.c (read_header): Replace `legal' with `valid'. |
| 6596 | CHANGE_GRAVITY is -1. | 6596 | |
| 6597 | 6597 | 2008-02-24 Ulrich Neumerkel <ulrich@complang.tuwien.ac.at> (tiny change) | |
| 6598 | 2008-02-23 Chong Yidong <cyd@stupidchicken.com> | 6598 | |
| 6599 | 6599 | * xterm.c (x_set_offset): Don't change the gravity if | |
| 6600 | * fileio.c (auto_save_error_occurred): New var. | 6600 | CHANGE_GRAVITY is -1. |
| 6601 | (auto_save_error): Set it. | 6601 | |
| 6602 | (Fdo_auto_save): Don't overwrite the error message if an auto-save | 6602 | 2008-02-23 Chong Yidong <cyd@stupidchicken.com> |
| 6603 | error occurred. | 6603 | |
| 6604 | 6604 | * fileio.c (auto_save_error_occurred): New var. | |
| 6605 | 2008-02-23 Eli Zaretskii <eliz@gnu.org> | 6605 | (auto_save_error): Set it. |
| 6606 | 6606 | (Fdo_auto_save): Don't overwrite the error message if an auto-save | |
| 6607 | * w32.c (globals_of_w32): Add initializations for | 6607 | error occurred. |
| 6608 | g_b_init_get_sid_sub_authority and | 6608 | |
| 6609 | g_b_init_get_sid_sub_authority_count. | 6609 | 2008-02-23 Eli Zaretskii <eliz@gnu.org> |
| 6610 | 6610 | ||
| 6611 | 2008-02-22 Stefan Monnier <monnier@iro.umontreal.ca> | 6611 | * w32.c (globals_of_w32): Add initializations for |
| 6612 | 6612 | g_b_init_get_sid_sub_authority and | |
| 6613 | * font.c (font_match_xlfd, font_check_xlfd_parse): New funs. | 6613 | g_b_init_get_sid_sub_authority_count. |
| 6614 | (font_parse_xlfd): Use them for sanity check. | 6614 | |
| 6615 | (Finternal_set_font_style_table): Make sure the table is bijective. | 6615 | 2008-02-22 Stefan Monnier <monnier@iro.umontreal.ca> |
| 6616 | 6616 | ||
| 6617 | Consolidate the image_cache to the terminal struct. | 6617 | * font.c (font_match_xlfd, font_check_xlfd_parse): New funs. |
| 6618 | * termhooks.h (P_): Remove redundant def. | 6618 | (font_parse_xlfd): Use them for sanity check. |
| 6619 | (struct terminal): New field `image_cache'. | 6619 | (Finternal_set_font_style_table): Make sure the table is bijective. |
| 6620 | * frame.h (FRAME_IMAGE_CACHE): New macro. Use it everywhere in place | 6620 | |
| 6621 | of FRAME_X_IMAGE_CACHE. | 6621 | Consolidate the image_cache to the terminal struct. |
| 6622 | * xterm.h (struct x_display_info): Remove image_cache field. | 6622 | * termhooks.h (P_): Remove redundant def. |
| 6623 | (FRAME_X_IMAGE_CACHE): Remove. Use FRAME_IMAGE_CACHE instead. | 6623 | (struct terminal): New field `image_cache'. |
| 6624 | * w32term.h (struct w32_display_info): Remove image_cache field. | 6624 | * frame.h (FRAME_IMAGE_CACHE): New macro. Use it everywhere in place |
| 6625 | (FRAME_X_IMAGE_CACHE): Remove. Use FRAME_IMAGE_CACHE instead. | 6625 | of FRAME_X_IMAGE_CACHE. |
| 6626 | * macterm.h (struct mac_display_info): Remove image_cache field. | 6626 | * xterm.h (struct x_display_info): Remove image_cache field. |
| 6627 | (FRAME_X_IMAGE_CACHE): Remove. Use FRAME_IMAGE_CACHE instead. | 6627 | (FRAME_X_IMAGE_CACHE): Remove. Use FRAME_IMAGE_CACHE instead. |
| 6628 | * xterm.c (x_term_init): | 6628 | * w32term.h (struct w32_display_info): Remove image_cache field. |
| 6629 | * w32term.c (w32_term_init): | 6629 | (FRAME_X_IMAGE_CACHE): Remove. Use FRAME_IMAGE_CACHE instead. |
| 6630 | * macterm.c (mac_term_init): Set the image_cache in the terminal. | 6630 | * macterm.h (struct mac_display_info): Remove image_cache field. |
| 6631 | * dispextern.h (clear_image_cache, forall_images_in_image_cache): | 6631 | (FRAME_X_IMAGE_CACHE): Remove. Use FRAME_IMAGE_CACHE instead. |
| 6632 | Remove declarations. | 6632 | * xterm.c (x_term_init): |
| 6633 | (clear_image_caches, mark_image_cache): New declarations. | 6633 | * w32term.c (w32_term_init): |
| 6634 | * xfaces.c (clear_face_cache): | 6634 | * macterm.c (mac_term_init): Set the image_cache in the terminal. |
| 6635 | * xdisp.c (redisplay_internal): Use clear_image_caches. | 6635 | * dispextern.h (clear_image_cache, forall_images_in_image_cache): |
| 6636 | * image.c (clear_image_cache): Don't check that a frame is on | 6636 | Remove declarations. |
| 6637 | a window-system before checking if it shares the same cache. | 6637 | (clear_image_caches, mark_image_cache): New declarations. |
| 6638 | (clear_image_caches): New function. | 6638 | * xfaces.c (clear_face_cache): |
| 6639 | (Fclear_image_cache): Use it. | 6639 | * xdisp.c (redisplay_internal): Use clear_image_caches. |
| 6640 | (mark_image): Move from allo.c. | 6640 | * image.c (clear_image_cache): Don't check that a frame is on |
| 6641 | (mark_image_cache): Move from alloc.c and forall_images_in_image_cache. | 6641 | a window-system before checking if it shares the same cache. |
| 6642 | * alloc.c (mark_image, mark_image_cache): Move to image.c. | 6642 | (clear_image_caches): New function. |
| 6643 | (mark_object): Don't call mark_image_cache for frames. | 6643 | (Fclear_image_cache): Use it. |
| 6644 | (mark_terminals): Call mark_image_cache. | 6644 | (mark_image): Move from allo.c. |
| 6645 | 6645 | (mark_image_cache): Move from alloc.c and forall_images_in_image_cache. | |
| 6646 | * lisp.h (Fdelete_terminal): Declare. | 6646 | * alloc.c (mark_image, mark_image_cache): Move to image.c. |
| 6647 | 6647 | (mark_object): Don't call mark_image_cache for frames. | |
| 6648 | * charset.h (CHECK_CHARSET, CHECK_CHARSET_GET_ID) | 6648 | (mark_terminals): Call mark_image_cache. |
| 6649 | (CHECK_CHARSET_GET_ATTR): Don't use the inexistent return value of | 6649 | |
| 6650 | wrong_type_argument. | 6650 | * lisp.h (Fdelete_terminal): Declare. |
| 6651 | 6651 | ||
| 6652 | 2008-02-22 Kenichi Handa <handa@ni.aist.go.jp> | 6652 | * charset.h (CHECK_CHARSET, CHECK_CHARSET_GET_ID) |
| 6653 | 6653 | (CHECK_CHARSET_GET_ATTR): Don't use the inexistent return value of | |
| 6654 | * Makefile.in (lisp): Remove devanagari.el, kannada.el, | 6654 | wrong_type_argument. |
| 6655 | malayalam.el, and tamil.el. Add sinhala.el. | 6655 | |
| 6656 | 6656 | 2008-02-22 Kenichi Handa <handa@ni.aist.go.jp> | |
| 6657 | 2008-02-21 Stefan Monnier <monnier@iro.umontreal.ca> | 6657 | |
| 6658 | 6658 | * Makefile.in (lisp): Remove devanagari.el, kannada.el, | |
| 6659 | * xterm.c (x_connection_closed): Consolidate identical tests. | 6659 | malayalam.el, and tamil.el. Add sinhala.el. |
| 6660 | (x_delete_terminal): Don't crash if called via x_connection_closed. | 6660 | |
| 6661 | 6661 | 2008-02-21 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 6662 | 2008-02-21 Kenichi Handa <handa@ni.aist.go.jp> | 6662 | |
| 6663 | 6663 | * xterm.c (x_connection_closed): Consolidate identical tests. | |
| 6664 | * xdisp.c (decode_mode_spec): New arg string. | 6664 | (x_delete_terminal): Don't crash if called via x_connection_closed. |
| 6665 | (display_mode_element): Adjust for the above change. | 6665 | |
| 6666 | 6666 | 2008-02-21 Kenichi Handa <handa@ni.aist.go.jp> | |
| 6667 | 2008-02-19 Stefan Monnier <monnier@iro.umontreal.ca> | 6667 | |
| 6668 | 6668 | * xdisp.c (decode_mode_spec): New arg string. | |
| 6669 | * callint.c (Fcall_interactively): Use AREF. | 6669 | (display_mode_element): Adjust for the above change. |
| 6670 | 6670 | ||
| 6671 | 2008-02-18 Stefan Monnier <monnier@iro.umontreal.ca> | 6671 | 2008-02-19 Stefan Monnier <monnier@iro.umontreal.ca> |
| 6672 | 6672 | ||
| 6673 | * font.c (font_unparse_xlfd): Don't ignore integer pixel size specs. | 6673 | * callint.c (Fcall_interactively): Use AREF. |
| 6674 | 6674 | ||
| 6675 | 2008-02-18 Jan Djärv <jan.h.d@swipnet.se> | 6675 | 2008-02-18 Stefan Monnier <monnier@iro.umontreal.ca> |
| 6676 | 6676 | ||
| 6677 | * xfns.c (Fx_show_tip): Set string to " " if empty. | 6677 | * font.c (font_unparse_xlfd): Don't ignore integer pixel size specs. |
| 6678 | 6678 | ||
| 6679 | 2008-02-17 Dan Nicolaescu <dann@ics.uci.edu> | 6679 | 2008-02-18 Jan Djärv <jan.h.d@swipnet.se> |
| 6680 | 6680 | ||
| 6681 | * callint.c (syms_of_callint): Initialize Vmark_even_if_inactive | 6681 | * xfns.c (Fx_show_tip): Set string to " " if empty. |
| 6682 | with Qt. | 6682 | |
| 6683 | 6683 | 2008-02-17 Dan Nicolaescu <dann@ics.uci.edu> | |
| 6684 | 2008-02-17 Kenichi Handa <handa@m17n.org> | 6684 | |
| 6685 | 6685 | * callint.c (syms_of_callint): Initialize Vmark_even_if_inactive | |
| 6686 | * ftfont.c (ftfont_shape): Return Lispy number. | 6686 | with Qt. |
| 6687 | 6687 | ||
| 6688 | * xfaces.c (prepare_face_for_display): Use display_info->font->fid | 6688 | 2008-02-17 Kenichi Handa <handa@m17n.org> |
| 6689 | for GCs. | 6689 | |
| 6690 | (Finternal_set_font_selection_order): Call font_update_sort_order | 6690 | * ftfont.c (ftfont_shape): Return Lispy number. |
| 6691 | only when enable_font_backend is set. | 6691 | |
| 6692 | (realize_x_face): Set face->font_info to that of default face only | 6692 | * xfaces.c (prepare_face_for_display): Use display_info->font->fid |
| 6693 | when enable_font_backend is set. | 6693 | for GCs. |
| 6694 | 6694 | (Finternal_set_font_selection_order): Call font_update_sort_order | |
| 6695 | * xdisp.c (handle_composition_prop): Set it->c to the fist | 6695 | only when enable_font_backend is set. |
| 6696 | character of the composed region. | 6696 | (realize_x_face): Set face->font_info to that of default face only |
| 6697 | (fill_composite_glyph_string): Set base_face->font_info to | 6697 | when enable_font_backend is set. |
| 6698 | s->font_info. Get a face for ascii from base_face->ascii_face. | 6698 | |
| 6699 | (BUILD_COMPOSITE_GLYPH_STRING): Call fill_composite_glyph_string | 6699 | * xdisp.c (handle_composition_prop): Set it->c to the fist |
| 6700 | with a face already decided. | 6700 | character of the composed region. |
| 6701 | (x_produce_glyphs): Be sure to set it->ascent and it->descent to | 6701 | (fill_composite_glyph_string): Set base_face->font_info to |
| 6702 | non-negative. | 6702 | s->font_info. Get a face for ascii from base_face->ascii_face. |
| 6703 | (x_produce_glyphs): If the composition method is ..._WITH_GLYPH_STRING, | 6703 | (BUILD_COMPOSITE_GLYPH_STRING): Call fill_composite_glyph_string |
| 6704 | call font_prepare_composition unconditionally. | 6704 | with a face already decided. |
| 6705 | 6705 | (x_produce_glyphs): Be sure to set it->ascent and it->descent to | |
| 6706 | * xfns.c (x_make_gc): Use the default font id of the frame for GCs. | 6706 | non-negative. |
| 6707 | 6707 | (x_produce_glyphs): If the composition method is ..._WITH_GLYPH_STRING, | |
| 6708 | * xterm.h (struct x_display_info): New member font. | 6708 | call font_prepare_composition unconditionally. |
| 6709 | 6709 | ||
| 6710 | * xterm.c (x_set_cursor_gc): Use display_info->font->fid for GCs. | 6710 | * xfns.c (x_make_gc): Use the default font id of the frame for GCs. |
| 6711 | (x_set_mouse_face_gc, x_new_font): Likewise. | 6711 | |
| 6712 | (x_term_init): Setup display_info->font. | 6712 | * xterm.h (struct x_display_info): New member font. |
| 6713 | (x_delete_terminal): Free display_info->font. | 6713 | |
| 6714 | 6714 | * xterm.c (x_set_cursor_gc): Use display_info->font->fid for GCs. | |
| 6715 | * xfont.c (xfont_draw): Use BLOCK_INPUT and UNBLOCK_INPUT. | 6715 | (x_set_mouse_face_gc, x_new_font): Likewise. |
| 6716 | 6716 | (x_term_init): Setup display_info->font. | |
| 6717 | * ftxfont.c (ftxfont_default_fid): Delete it. | 6717 | (x_delete_terminal): Free display_info->font. |
| 6718 | (ftxfont_open): Set xfont->fid to 0. | 6718 | |
| 6719 | (ftxfont_end_for_frame): Clear data specific to the frame and the | 6719 | * xfont.c (xfont_draw): Use BLOCK_INPUT and UNBLOCK_INPUT. |
| 6720 | font-driver. | 6720 | |
| 6721 | 6721 | * ftxfont.c (ftxfont_default_fid): Delete it. | |
| 6722 | * xftfont.c (xftfont_default_fid): Delete it. | 6722 | (ftxfont_open): Set xfont->fid to 0. |
| 6723 | (xftfont_open): Set xfont->fid to 0. | 6723 | (ftxfont_end_for_frame): Clear data specific to the frame and the |
| 6724 | 6724 | font-driver. | |
| 6725 | * fontset.c (FONTSET_OBJLIST): New macro. | 6725 | |
| 6726 | (fontset_find_font): Update font-object list of the fontset. | 6726 | * xftfont.c (xftfont_default_fid): Delete it. |
| 6727 | (free_realized_fontset): New function. | 6727 | (xftfont_open): Set xfont->fid to 0. |
| 6728 | (free_face_fontset): Call free_realized_fontset. | 6728 | |
| 6729 | (Ffont_info): Call font_close_object only when enable_font_backend | 6729 | * fontset.c (FONTSET_OBJLIST): New macro. |
| 6730 | is set. | 6730 | (fontset_find_font): Update font-object list of the fontset. |
| 6731 | 6731 | (free_realized_fontset): New function. | |
| 6732 | * font.c [HAVE_X_WINDOWS]: Include xterm.h. | 6732 | (free_face_fontset): Call free_realized_fontset. |
| 6733 | [HAVE_NTGUI]: Include w32term.h. | 6733 | (Ffont_info): Call font_close_object only when enable_font_backend |
| 6734 | [MAC_OS]: Include macterm.ch. | 6734 | is set. |
| 6735 | (font_otf_ValueRecord): Use make_number. | 6735 | |
| 6736 | (font_finish_cache): Fix handling of reference count. | 6736 | * font.c [HAVE_X_WINDOWS]: Include xterm.h. |
| 6737 | (font_clear_cache): Update num_fonts. | 6737 | [HAVE_NTGUI]: Include w32term.h. |
| 6738 | (font_open_entity): Update smallest_char_width and | 6738 | [MAC_OS]: Include macterm.ch. |
| 6739 | smallest_font_height of the frame. | 6739 | (font_otf_ValueRecord): Use make_number. |
| 6740 | (font_close_object): Update num_fonts. | 6740 | (font_finish_cache): Fix handling of reference count. |
| 6741 | (Fclear_font_cache): Fix finding the target cache data. | 6741 | (font_clear_cache): Update num_fonts. |
| 6742 | 6742 | (font_open_entity): Update smallest_char_width and | |
| 6743 | 2008-02-16 Glenn Morris <rgm@gnu.org> | 6743 | smallest_font_height of the frame. |
| 6744 | 6744 | (font_close_object): Update num_fonts. | |
| 6745 | * fontset.c (Finternal_char_font): Fix compilation warning. | 6745 | (Fclear_font_cache): Fix finding the target cache data. |
| 6746 | 6746 | ||
| 6747 | 2008-02-16 Eli Zaretskii <eliz@gnu.org> | 6747 | 2008-02-16 Glenn Morris <rgm@gnu.org> |
| 6748 | 6748 | ||
| 6749 | * w32.c (init_user_info): Use TOKEN_USER and TOKEN_PRIMARY_GROUP | 6749 | * fontset.c (Finternal_char_font): Fix compilation warning. |
| 6750 | instead of char arrays. Enlarge the size of array passed to | 6750 | |
| 6751 | get_token_information. | 6751 | 2008-02-16 Eli Zaretskii <eliz@gnu.org> |
| 6752 | 6752 | ||
| 6753 | * font.c (Ffont_fill_gstring, Fget_font_glyphs): Fix compilation | 6753 | * w32.c (init_user_info): Use TOKEN_USER and TOKEN_PRIMARY_GROUP |
| 6754 | warnings. | 6754 | instead of char arrays. Enlarge the size of array passed to |
| 6755 | 6755 | get_token_information. | |
| 6756 | 2008-02-15 Dan Nicolaescu <dann@ics.uci.edu> | 6756 | |
| 6757 | 6757 | * font.c (Ffont_fill_gstring, Fget_font_glyphs): Fix compilation | |
| 6758 | * .gdbinit: Don't set `args', it breaks gdb --args. | 6758 | warnings. |
| 6759 | 6759 | ||
| 6760 | 2008-02-14 Stefan Monnier <monnier@iro.umontreal.ca> | 6760 | 2008-02-15 Dan Nicolaescu <dann@ics.uci.edu> |
| 6761 | 6761 | ||
| 6762 | * fileio.c (Finsert_file_contents): Adjust offsets when replacing | 6762 | * .gdbinit: Don't set `args', it breaks gdb --args. |
| 6763 | within a narrowed buffer. | 6763 | |
| 6764 | 6764 | 2008-02-14 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 6765 | 2008-02-14 Kenichi Handa <handa@ni.aist.go.jp> | 6765 | |
| 6766 | 6766 | * fileio.c (Finsert_file_contents): Adjust offsets when replacing | |
| 6767 | * coding.c (decode_coding_object, encode_coding_object): | 6767 | within a narrowed buffer. |
| 6768 | Preserve Vdeactivate_mark. Delete unnecessary call of Fcurrent_buffer. | 6768 | |
| 6769 | 6769 | 2008-02-14 Kenichi Handa <handa@ni.aist.go.jp> | |
| 6770 | 2008-02-12 Stefan Monnier <monnier@iro.umontreal.ca> | 6770 | |
| 6771 | 6771 | * coding.c (decode_coding_object, encode_coding_object): | |
| 6772 | * coding.c (coding_set_destination): Use BEG_BYTE rather than | 6772 | Preserve Vdeactivate_mark. Delete unnecessary call of Fcurrent_buffer. |
| 6773 | hardcoding 1. | 6773 | |
| 6774 | (detect_coding_system): | 6774 | 2008-02-12 Stefan Monnier <monnier@iro.umontreal.ca> |
| 6775 | * lisp.h (detect_coding_system, chars_in_text, multibyte_chars_in_text) | 6775 | |
| 6776 | (string_char_to_byte, string_byte_to_char, insert_from_gap): | 6776 | * coding.c (coding_set_destination): Use BEG_BYTE rather than |
| 6777 | * insdel.c (insert_from_gap): | 6777 | hardcoding 1. |
| 6778 | * fns.c (string_char_byte_cache_charpos, string_char_byte_cache_bytepos) | 6778 | (detect_coding_system): |
| 6779 | (string_char_to_byte, string_byte_to_char, string_make_multibyte) | 6779 | * lisp.h (detect_coding_system, chars_in_text, multibyte_chars_in_text) |
| 6780 | (string_to_multibyte): | 6780 | (string_char_to_byte, string_byte_to_char, insert_from_gap): |
| 6781 | * character.c (chars_in_text, multibyte_chars_in_text): | 6781 | * insdel.c (insert_from_gap): |
| 6782 | * fileio.c (Finsert_file_contents): Use EMACS_INT for buffer positions. | 6782 | * fns.c (string_char_byte_cache_charpos, string_char_byte_cache_bytepos) |
| 6783 | 6783 | (string_char_to_byte, string_byte_to_char, string_make_multibyte) | |
| 6784 | * character.h (FETCH_STRING_CHAR_ADVANCE) | 6784 | (string_to_multibyte): |
| 6785 | (FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE) | 6785 | * character.c (chars_in_text, multibyte_chars_in_text): |
| 6786 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SDATA and SREF. | 6786 | * fileio.c (Finsert_file_contents): Use EMACS_INT for buffer positions. |
| 6787 | (DEC_POS, BUF_DEC_POS): Use BEG_BYTE rather than hardcoding 1. | 6787 | |
| 6788 | 6788 | * character.h (FETCH_STRING_CHAR_ADVANCE) | |
| 6789 | * casefiddle.c (casify_region): Only call after-change and composition | 6789 | (FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE) |
| 6790 | functions on the part of the region that was changed. | 6790 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SDATA and SREF. |
| 6791 | 6791 | (DEC_POS, BUF_DEC_POS): Use BEG_BYTE rather than hardcoding 1. | |
| 6792 | * keyboard.c (read_avail_input): | 6792 | |
| 6793 | * frame.c (Fdelete_frame): Call Fdelete_terminal. | 6793 | * casefiddle.c (casify_region): Only call after-change and composition |
| 6794 | 6794 | functions on the part of the region that was changed. | |
| 6795 | 2008-02-11 Stefan Monnier <monnier@iro.umontreal.ca> | 6795 | |
| 6796 | 6796 | * keyboard.c (read_avail_input): | |
| 6797 | * buffer.c (clone_per_buffer_values, reset_buffer_local_variables) | 6797 | * frame.c (Fdelete_frame): Call Fdelete_terminal. |
| 6798 | (Fbuffer_local_value, Fbuffer_local_variables): Don't forget undo_list. | 6798 | |
| 6799 | 6799 | 2008-02-11 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 6800 | 2008-02-11 Juanma Barranquero <lekktu@gmail.com> | 6800 | |
| 6801 | 6801 | * buffer.c (clone_per_buffer_values, reset_buffer_local_variables) | |
| 6802 | * w32menu.c (push_submenu_start, push_submenu_end) | 6802 | (Fbuffer_local_value, Fbuffer_local_variables): Don't forget undo_list. |
| 6803 | (push_left_right_boundary, push_menu_pane, push_menu_item): | 6803 | |
| 6804 | * keyboard.c (read_key_sequence): Don't pass args with side effects | 6804 | 2008-02-11 Juanma Barranquero <lekktu@gmail.com> |
| 6805 | to AREF, it fails when compiling with -DENABLE_CHECKING. | 6805 | |
| 6806 | 6806 | * w32menu.c (push_submenu_start, push_submenu_end) | |
| 6807 | 2008-02-11 Kenichi Handa <handa@ni.aist.go.jp> | 6807 | (push_left_right_boundary, push_menu_pane, push_menu_item): |
| 6808 | 6808 | * keyboard.c (read_key_sequence): Don't pass args with side effects | |
| 6809 | * Makefile.in (${lispsource}international/charprop.el): | 6809 | to AREF, it fails when compiling with -DENABLE_CHECKING. |
| 6810 | Delete this target. | 6810 | |
| 6811 | 6811 | 2008-02-11 Kenichi Handa <handa@ni.aist.go.jp> | |
| 6812 | * search.c (boyer_moore): Fix incorrect synching of the trunk and | 6812 | |
| 6813 | emacs-unicode-2. | 6813 | * Makefile.in (${lispsource}international/charprop.el): |
| 6814 | 6814 | Delete this target. | |
| 6815 | 2008-02-11 Stefan Monnier <monnier@iro.umontreal.ca> | 6815 | |
| 6816 | 6816 | * search.c (boyer_moore): Fix incorrect synching of the trunk and | |
| 6817 | * terminal.c (Fdelete_terminal): Clean up the `force' path. | 6817 | emacs-unicode-2. |
| 6818 | 6818 | ||
| 6819 | 2008-02-10 Stefan Monnier <monnier@iro.umontreal.ca> | 6819 | 2008-02-11 Stefan Monnier <monnier@iro.umontreal.ca> |
| 6820 | 6820 | ||
| 6821 | * frame.c (Qnoelisp): New symbol. | 6821 | * terminal.c (Fdelete_terminal): Clean up the `force' path. |
| 6822 | (syms_of_frame): Initialize it. | 6822 | |
| 6823 | (Fdelete_frame): Use it to distinguish a mere `force' passed from some | 6823 | 2008-02-10 Stefan Monnier <monnier@iro.umontreal.ca> |
| 6824 | harmless Elisp code, from a strong `force' from x_connection_closed. | 6824 | |
| 6825 | * frame.h (Qnoelisp): Declare. | 6825 | * frame.c (Qnoelisp): New symbol. |
| 6826 | * xterm.c (x_connection_closed): Pass `noelisp'. | 6826 | (syms_of_frame): Initialize it. |
| 6827 | 6827 | (Fdelete_frame): Use it to distinguish a mere `force' passed from some | |
| 6828 | * lisp.h (struct Lisp_Misc_Any, struct Lisp_Marker) | 6828 | harmless Elisp code, from a strong `force' from x_connection_closed. |
| 6829 | (struct Lisp_Overlay, struct Lisp_Kboard_Objfwd) | 6829 | * frame.h (Qnoelisp): Declare. |
| 6830 | (struct Lisp_Save_Value, struct Lisp_Free): Use enum Lisp_Misc_Type | 6830 | * xterm.c (x_connection_closed): Pass `noelisp'. |
| 6831 | rather than `int' for the type of `type'. | 6831 | |
| 6832 | 6832 | * lisp.h (struct Lisp_Misc_Any, struct Lisp_Marker) | |
| 6833 | 2008-02-10 Dan Nicolaescu <dann@ics.uci.edu> | 6833 | (struct Lisp_Overlay, struct Lisp_Kboard_Objfwd) |
| 6834 | 6834 | (struct Lisp_Save_Value, struct Lisp_Free): Use enum Lisp_Misc_Type | |
| 6835 | * s/gnu-linux.h: Remove support for non-ELF and linux-1.x. | 6835 | rather than `int' for the type of `type'. |
| 6836 | 6836 | ||
| 6837 | * Makefile.in (GNUC): Remove support for gcc-1.x. | 6837 | 2008-02-10 Dan Nicolaescu <dann@ics.uci.edu> |
| 6838 | 6838 | ||
| 6839 | 2008-02-10 Richard Stallman <rms@gnu.org> | 6839 | * s/gnu-linux.h: Remove support for non-ELF and linux-1.x. |
| 6840 | 6840 | ||
| 6841 | * lisp.h (ASET): Use AREF, not ASLOT. | 6841 | * Makefile.in (GNUC): Remove support for gcc-1.x. |
| 6842 | 6842 | ||
| 6843 | 2008-02-10 Stefan Monnier <monnier@iro.umontreal.ca> | 6843 | 2008-02-10 Richard Stallman <rms@gnu.org> |
| 6844 | 6844 | ||
| 6845 | * lisp.h (ASET): Check bounds. | 6845 | * lisp.h (ASET): Use AREF, not ASLOT. |
| 6846 | 6846 | ||
| 6847 | 2008-02-10 Glenn Morris <rgm@gnu.org> | 6847 | 2008-02-10 Stefan Monnier <monnier@iro.umontreal.ca> |
| 6848 | 6848 | ||
| 6849 | * buffer.c (mode-name): Doc fix. | 6849 | * lisp.h (ASET): Check bounds. |
| 6850 | 6850 | ||
| 6851 | 2008-02-09 Dan Nicolaescu <dann@ics.uci.edu> | 6851 | 2008-02-10 Glenn Morris <rgm@gnu.org> |
| 6852 | 6852 | ||
| 6853 | * Makefile.in: | 6853 | * buffer.c (mode-name): Doc fix. |
| 6854 | * emacs.c: | 6854 | |
| 6855 | * gmalloc.c: | 6855 | 2008-02-09 Dan Nicolaescu <dann@ics.uci.edu> |
| 6856 | * keyboard.c: | 6856 | |
| 6857 | * lisp.h: | 6857 | * Makefile.in: |
| 6858 | * m/ibm370aix.h: | 6858 | * emacs.c: |
| 6859 | * process.c: | 6859 | * gmalloc.c: |
| 6860 | * regex.c: | 6860 | * keyboard.c: |
| 6861 | * s/hpux.h: | 6861 | * lisp.h: |
| 6862 | * sysdep.c: | 6862 | * m/ibm370aix.h: |
| 6863 | * sysselect.h: | 6863 | * process.c: |
| 6864 | * systty.h: | 6864 | * regex.c: |
| 6865 | * unexec.c: | 6865 | * s/hpux.h: |
| 6866 | * w32term.c: | 6866 | * sysdep.c: |
| 6867 | * xsmfns.c: | 6867 | * sysselect.h: |
| 6868 | * xterm.c: Remove code that deals with obsolete variables. | 6868 | * systty.h: |
| 6869 | 6869 | * unexec.c: | |
| 6870 | * s/msdos.h (DONT_NEED_ENVIRON): Don't define. | 6870 | * w32term.c: |
| 6871 | 6871 | * xsmfns.c: | |
| 6872 | * ecrt0.c: Replace the DONT_NEED_ENVIRON test with MSDOS test, | 6872 | * xterm.c: Remove code that deals with obsolete variables. |
| 6873 | nothing else needs it anymore. | 6873 | |
| 6874 | 6874 | * s/msdos.h (DONT_NEED_ENVIRON): Don't define. | |
| 6875 | 2008-02-09 Eli Zaretskii <eliz@gnu.org> | 6875 | |
| 6876 | 6876 | * ecrt0.c: Replace the DONT_NEED_ENVIRON test with MSDOS test, | |
| 6877 | * buffer.h (FETCH_CHAR_AS_MULTIBYTE): Use unibyte_to_multibyte_table | 6877 | nothing else needs it anymore. |
| 6878 | instead of unibyte_char_to_multibyte. | 6878 | |
| 6879 | 6879 | 2008-02-09 Eli Zaretskii <eliz@gnu.org> | |
| 6880 | 2008-02-09 Dan Nicolaescu <dann@ics.uci.edu> | 6880 | |
| 6881 | 6881 | * buffer.h (FETCH_CHAR_AS_MULTIBYTE): Use unibyte_to_multibyte_table | |
| 6882 | * s/gnu-linux.h: Remove commented out code. | 6882 | instead of unibyte_char_to_multibyte. |
| 6883 | 6883 | ||
| 6884 | * unexec.c: Remove references to obsolete variable COFF_ENCAPSULATE. | 6884 | 2008-02-09 Dan Nicolaescu <dann@ics.uci.edu> |
| 6885 | 6885 | ||
| 6886 | * Makefile.in: Update what RMS says about using autoconf. | 6886 | * s/gnu-linux.h: Remove commented out code. |
| 6887 | (C_COMPILER, COFF_ENCAPSULATE, MAKE_PARALLEL): Remove obsolete variable. | 6887 | |
| 6888 | (C_SWITCH_MACHINE_1, C_SWITCH_SYSTEM_1, C_SWITCH_SITE_1) | 6888 | * unexec.c: Remove references to obsolete variable COFF_ENCAPSULATE. |
| 6889 | (C_SWITCH_X_SITE_1, C_SWITCH_X_MACHINE_1) | 6889 | |
| 6890 | (C_SWITCH_X_SYSTEM_1): Move invariant code outside conditional. | 6890 | * Makefile.in: Update what RMS says about using autoconf. |
| 6891 | 6891 | (C_COMPILER, COFF_ENCAPSULATE, MAKE_PARALLEL): Remove obsolete variable. | |
| 6892 | 2008-02-08 Stefan Monnier <monnier@iro.umontreal.ca> | 6892 | (C_SWITCH_MACHINE_1, C_SWITCH_SYSTEM_1, C_SWITCH_SITE_1) |
| 6893 | 6893 | (C_SWITCH_X_SITE_1, C_SWITCH_X_MACHINE_1) | |
| 6894 | * keymap.c (Fkey_description): Move side effect outside of macro call. | 6894 | (C_SWITCH_X_SYSTEM_1): Move invariant code outside conditional. |
| 6895 | 6895 | ||
| 6896 | * xfaces.c (Finternal_make_lisp_face): | 6896 | 2008-02-08 Stefan Monnier <monnier@iro.umontreal.ca> |
| 6897 | * keyboard.c (add_command_key, parse_menu_item): Use ASET. | 6897 | |
| 6898 | 6898 | * keymap.c (Fkey_description): Move side effect outside of macro call. | |
| 6899 | * fontset.c (free_face_fontset): Use FONTSET_FROM_ID. | 6899 | |
| 6900 | (syms_of_fontset): Use ASET. | 6900 | * xfaces.c (Finternal_make_lisp_face): |
| 6901 | 6901 | * keyboard.c (add_command_key, parse_menu_item): Use ASET. | |
| 6902 | * fns.c (concat): Move side effect outside of macro call. | 6902 | |
| 6903 | (hash_clear): Use ASET. | 6903 | * fontset.c (free_face_fontset): Use FONTSET_FROM_ID. |
| 6904 | 6904 | (syms_of_fontset): Use ASET. | |
| 6905 | 2008-02-08 Richard Stallman <rms@gnu.org> | 6905 | |
| 6906 | 6906 | * fns.c (concat): Move side effect outside of macro call. | |
| 6907 | * frame.c (Fdelete_frame): If FORCE, don't call hooks. | 6907 | (hash_clear): Use ASET. |
| 6908 | If FORCE, and frame has a surrogate minibuffer for another frame, | 6908 | |
| 6909 | delete the other frame first. | 6909 | 2008-02-08 Richard Stallman <rms@gnu.org> |
| 6910 | 6910 | ||
| 6911 | 2008-02-07 Timo Savola <timo.savola@iki.fi> | 6911 | * frame.c (Fdelete_frame): If FORCE, don't call hooks. |
| 6912 | 6912 | If FORCE, and frame has a surrogate minibuffer for another frame, | |
| 6913 | * xterm.c (x_detect_focus_change): Handle embed client message. | 6913 | delete the other frame first. |
| 6914 | (handle_one_xevent): Ditto. | 6914 | |
| 6915 | (handle_one_xevent): If embedded and we get a button press/release, | 6915 | 2008-02-07 Timo Savola <timo.savola@iki.fi> |
| 6916 | request focus. | 6916 | |
| 6917 | (xembed_set_info, xembed_send_message): New functions. | 6917 | * xterm.c (x_detect_focus_change): Handle embed client message. |
| 6918 | (x_make_frame_visible): Call xembed_set_info if embedded. | 6918 | (handle_one_xevent): Ditto. |
| 6919 | (x_make_frame_invisible): Call xembed_set_info if embedded. | 6919 | (handle_one_xevent): If embedded and we get a button press/release, |
| 6920 | (x_term_init): Initialize Xatom_XEMBED. | 6920 | request focus. |
| 6921 | (x_make_frame_visible): Check for FRAME_X_EMBEDDED_P also. | 6921 | (xembed_set_info, xembed_send_message): New functions. |
| 6922 | (x_iconify_frame): Ditto. | 6922 | (x_make_frame_visible): Call xembed_set_info if embedded. |
| 6923 | 6923 | (x_make_frame_invisible): Call xembed_set_info if embedded. | |
| 6924 | * xterm.h (struct x_display_info): Add AtomXatom_XEMBED. | 6924 | (x_term_init): Initialize Xatom_XEMBED. |
| 6925 | (enum xembed_info, enum xembed_message, enum xembed_focus) | 6925 | (x_make_frame_visible): Check for FRAME_X_EMBEDDED_P also. |
| 6926 | (enum xembed_modifier, enum xembed_accelerator): New. | 6926 | (x_iconify_frame): Ditto. |
| 6927 | (xembed_set_info, xembed_send_message): Declare. | 6927 | |
| 6928 | (FRAME_X_EMBEDDED_P): New. | 6928 | * xterm.h (struct x_display_info): Add AtomXatom_XEMBED. |
| 6929 | 6929 | (enum xembed_info, enum xembed_message, enum xembed_focus) | |
| 6930 | * gtkutil.c (xg_create_frame_widgets): If frame is embedded, call | 6930 | (enum xembed_modifier, enum xembed_accelerator): New. |
| 6931 | gtk_plug_new. | 6931 | (xembed_set_info, xembed_send_message): Declare. |
| 6932 | 6932 | (FRAME_X_EMBEDDED_P): New. | |
| 6933 | * xfns.c (Fx_create_frame): Do not override the explicitly set parent | 6933 | |
| 6934 | window ID of a frame. | 6934 | * gtkutil.c (xg_create_frame_widgets): If frame is embedded, call |
| 6935 | (x_window): Reparent frame if embedded. | 6935 | gtk_plug_new. |
| 6936 | (Fx_create_frame): Don't set border width if embedded. | 6936 | |
| 6937 | 6937 | * xfns.c (Fx_create_frame): Do not override the explicitly set parent | |
| 6938 | * emacs.c (USAGE3): Add --parent-id. | 6938 | window ID of a frame. |
| 6939 | (standard_args): Ditto. | 6939 | (x_window): Reparent frame if embedded. |
| 6940 | 6940 | (Fx_create_frame): Don't set border width if embedded. | |
| 6941 | 2008-02-07 Jan Djärv <jan.h.d@swipnet.se> | 6941 | |
| 6942 | 6942 | * emacs.c (USAGE3): Add --parent-id. | |
| 6943 | * coding.c (DECODE_EMACS_MULE_COMPOSITION_CHAR): Use "do...while (0)". | 6943 | (standard_args): Ditto. |
| 6944 | 6944 | ||
| 6945 | 2008-02-07 Jim Meyering <meyering@redhat.com> | 6945 | 2008-02-07 Jan Djärv <jan.h.d@swipnet.se> |
| 6946 | 6946 | ||
| 6947 | Use "do...while (0)", not "if (1)...else" in macro definitions. | 6947 | * coding.c (DECODE_EMACS_MULE_COMPOSITION_CHAR): Use "do...while (0)". |
| 6948 | The latter provokes a warning from gcc about the empty else, when | 6948 | |
| 6949 | followed by ";". Also, without that trailing semicolon, it would | 6949 | 2008-02-07 Jim Meyering <meyering@redhat.com> |
| 6950 | silently swallow up any following statement. | 6950 | |
| 6951 | * syntax.h (SETUP_SYNTAX_TABLE) | 6951 | Use "do...while (0)", not "if (1)...else" in macro definitions. |
| 6952 | (SETUP_SYNTAX_TABLE_FOR_OBJECT): Likewise. | 6952 | The latter provokes a warning from gcc about the empty else, when |
| 6953 | * buffer.h (DECODE_POSITION): Likewise. | 6953 | followed by ";". Also, without that trailing semicolon, it would |
| 6954 | * character.h (FETCH_STRING_CHAR_ADVANCE): Likewise. | 6954 | silently swallow up any following statement. |
| 6955 | (FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE): Likewise. | 6955 | * syntax.h (SETUP_SYNTAX_TABLE) |
| 6956 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Likewise. | 6956 | (SETUP_SYNTAX_TABLE_FOR_OBJECT): Likewise. |
| 6957 | (FETCH_CHAR_ADVANCE): Likewise. | 6957 | * buffer.h (DECODE_POSITION): Likewise. |
| 6958 | (FETCH_CHAR_ADVANCE_NO_CHECK): Likewise. | 6958 | * character.h (FETCH_STRING_CHAR_ADVANCE): Likewise. |
| 6959 | 6959 | (FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE): Likewise. | |
| 6960 | 2008-02-07 Jim Meyering <meyering@redhat.com> | 6960 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Likewise. |
| 6961 | 6961 | (FETCH_CHAR_ADVANCE): Likewise. | |
| 6962 | * lread.c [lint]: Don't include <sys/inode.h>. | 6962 | (FETCH_CHAR_ADVANCE_NO_CHECK): Likewise. |
| 6963 | 6963 | ||
| 6964 | 2008-02-07 Stefan Monnier <monnier@iro.umontreal.ca> | 6964 | 2008-02-07 Jim Meyering <meyering@redhat.com> |
| 6965 | 6965 | ||
| 6966 | * xselect.c (x_handle_dnd_message): | 6966 | * lread.c [lint]: Don't include <sys/inode.h>. |
| 6967 | * xmenu.c (digest_single_submenu, xmenu_show): | 6967 | |
| 6968 | * xdisp.c (with_echo_area_buffer_unwind_data) | 6968 | 2008-02-07 Stefan Monnier <monnier@iro.umontreal.ca> |
| 6969 | (format_mode_line_unwind_data, unwind_format_mode_line) | 6969 | |
| 6970 | (display_menu_bar): | 6970 | * xselect.c (x_handle_dnd_message): |
| 6971 | * eval.c (Ffetch_bytecode): | 6971 | * xmenu.c (digest_single_submenu, xmenu_show): |
| 6972 | * doc.c (store_function_docstring): | 6972 | * xdisp.c (with_echo_area_buffer_unwind_data) |
| 6973 | * ccl.c (resolve_symbol_ccl_program, ccl_get_compiled_code) | 6973 | (format_mode_line_unwind_data, unwind_format_mode_line) |
| 6974 | (Fccl_execute, Fccl_execute_on_string, Fregister_code_conversion_map): | 6974 | (display_menu_bar): |
| 6975 | * buffer.c (add_overlay_mod_hooklist): Use ASET. | 6975 | * eval.c (Ffetch_bytecode): |
| 6976 | 6976 | * doc.c (store_function_docstring): | |
| 6977 | 2008-02-07 Kenichi Handa <handa@m17n.org> | 6977 | * ccl.c (resolve_symbol_ccl_program, ccl_get_compiled_code) |
| 6978 | 6978 | (Fccl_execute, Fccl_execute_on_string, Fregister_code_conversion_map): | |
| 6979 | * ftxfont.c (ftxfont_open): Don't set | 6979 | * buffer.c (add_overlay_mod_hooklist): Use ASET. |
| 6980 | dpyinfo->smallest_font_height and dpyinfo->smallest_char_width to 0. | 6980 | |
| 6981 | 6981 | 2008-02-07 Kenichi Handa <handa@m17n.org> | |
| 6982 | * ftfont.c (ftfont_open): Fix previous change. | 6982 | |
| 6983 | 6983 | * ftxfont.c (ftxfont_open): Don't set | |
| 6984 | 2008-02-06 Jason Rumney <jasonr@gnu.org> | 6984 | dpyinfo->smallest_font_height and dpyinfo->smallest_char_width to 0. |
| 6985 | 6985 | ||
| 6986 | * w32font.c (w32font_text_extents): Fill in lbearing metric. | 6986 | * ftfont.c (ftfont_open): Fix previous change. |
| 6987 | Use cached metrics for ASCII characters. | 6987 | |
| 6988 | (w32font_open_internal): Don't set font's owning_frame. | 6988 | 2008-02-06 Jason Rumney <jasonr@gnu.org> |
| 6989 | Cache metrics for ASCII characters. | 6989 | |
| 6990 | 6990 | * w32font.c (w32font_text_extents): Fill in lbearing metric. | |
| 6991 | * w32font.h (struct w32font_info): Add ascii_metrics. | 6991 | Use cached metrics for ASCII characters. |
| 6992 | Remove owning_frame. | 6992 | (w32font_open_internal): Don't set font's owning_frame. |
| 6993 | 6993 | Cache metrics for ASCII characters. | |
| 6994 | 2008-02-06 Kenichi Handa <handa@ni.aist.go.jp> | 6994 | |
| 6995 | 6995 | * w32font.h (struct w32font_info): Add ascii_metrics. | |
| 6996 | * xdisp.c (x_produce_glyphs): Don't set it->ascent and it->descent | 6996 | Remove owning_frame. |
| 6997 | to negative value. | 6997 | |
| 6998 | 6998 | 2008-02-06 Kenichi Handa <handa@ni.aist.go.jp> | |
| 6999 | * ftxfont.c (ftxfont_draw): Use s->font_info, not face->font_info. | 6999 | |
| 7000 | 7000 | * xdisp.c (x_produce_glyphs): Don't set it->ascent and it->descent | |
| 7001 | * ftfont.c (ftfont_open): Fix calculation of font->font.average_width. | 7001 | to negative value. |
| 7002 | 7002 | ||
| 7003 | * charset.c (syms_of_charset): Set QCtest and Qeq. | 7003 | * ftxfont.c (ftxfont_draw): Use s->font_info, not face->font_info. |
| 7004 | 7004 | ||
| 7005 | 2008-02-06 Stefan Monnier <monnier@iro.umontreal.ca> | 7005 | * ftfont.c (ftfont_open): Fix calculation of font->font.average_width. |
| 7006 | 7006 | ||
| 7007 | * process.c (Fstart_process): | 7007 | * charset.c (syms_of_charset): Set QCtest and Qeq. |
| 7008 | * callproc.c (Fcall_process): Handle the case where | 7008 | |
| 7009 | Funhandled_file_name_directory returns nil. | 7009 | 2008-02-06 Stefan Monnier <monnier@iro.umontreal.ca> |
| 7010 | 7010 | ||
| 7011 | * font.h (enum lgstring_indices, enum lglyph_indices): New enums. | 7011 | * process.c (Fstart_process): |
| 7012 | (LGSTRING_SLOT, LGSTRING_SET_SLOT): New macros. | 7012 | * callproc.c (Fcall_process): Handle the case where |
| 7013 | * font.c (check_gstring): Use them and AREF to access the vector before | 7013 | Funhandled_file_name_directory returns nil. |
| 7014 | we know it's really a gstring. | 7014 | |
| 7015 | (Ffont_shape_text): Fix typo. | 7015 | * font.h (enum lgstring_indices, enum lglyph_indices): New enums. |
| 7016 | (Ffont_shape_text, Ffont_otf_alternates): Fix up int/Lisp_Oject mixups. | 7016 | (LGSTRING_SLOT, LGSTRING_SET_SLOT): New macros. |
| 7017 | 7017 | * font.c (check_gstring): Use them and AREF to access the vector before | |
| 7018 | * composite.h (Fcompose_region_internal, Fcompose_string_internal): | 7018 | we know it's really a gstring. |
| 7019 | Declare. | 7019 | (Ffont_shape_text): Fix typo. |
| 7020 | 7020 | (Ffont_shape_text, Ffont_otf_alternates): Fix up int/Lisp_Oject mixups. | |
| 7021 | * chartab.c (make_sub_char_table): Remove noop-yet-incorrect statement. | 7021 | |
| 7022 | 7022 | * composite.h (Fcompose_region_internal, Fcompose_string_internal): | |
| 7023 | 2008-02-05 Jason Rumney <jasonr@gnu.org> | 7023 | Declare. |
| 7024 | 7024 | ||
| 7025 | * w32font.c (w32font_open_internal): Fill min_width with tmAveCharWidth. | 7025 | * chartab.c (make_sub_char_table): Remove noop-yet-incorrect statement. |
| 7026 | Set smallest_font_height and smallest_char_width in display info. | 7026 | |
| 7027 | 7027 | 2008-02-05 Jason Rumney <jasonr@gnu.org> | |
| 7028 | 2008-02-05 Kenichi Handa <handa@ni.aist.go.jp> | 7028 | |
| 7029 | 7029 | * w32font.c (w32font_open_internal): Fill min_width with tmAveCharWidth. | |
| 7030 | * coding.c (decode_eol): Pay attention to coding->dst_multibyte. | 7030 | Set smallest_font_height and smallest_char_width in display info. |
| 7031 | 7031 | ||
| 7032 | 2008-02-05 Miles Bader <miles@gnu.org> | 7032 | 2008-02-05 Kenichi Handa <handa@ni.aist.go.jp> |
| 7033 | 7033 | ||
| 7034 | * xfaces.c (get_lface_attributes, merge_named_face) | 7034 | * coding.c (decode_eol): Pay attention to coding->dst_multibyte. |
| 7035 | (lookup_named_face, lookup_derived_face, realize_named_face): | 7035 | |
| 7036 | Revert 2008-02-01 change by cyd@stupidchicken.com. | 7036 | 2008-02-05 Miles Bader <miles@gnu.org> |
| 7037 | 7037 | ||
| 7038 | 2008-02-04 Kenichi Handa <handa@ni.aist.go.jp> | 7038 | * xfaces.c (get_lface_attributes, merge_named_face) |
| 7039 | 7039 | (lookup_named_face, lookup_derived_face, realize_named_face): | |
| 7040 | * fontset.c (Ffontset_info): Handle the case of inhibitting the | 7040 | Revert 2008-02-01 change by cyd@stupidchicken.com. |
| 7041 | fallback fonts. | 7041 | |
| 7042 | (Ffontset_info) [USE_FONT_BACKEND]: Fix getting of opened font names. | 7042 | 2008-02-04 Kenichi Handa <handa@ni.aist.go.jp> |
| 7043 | 7043 | ||
| 7044 | 2008-02-04 Jason Rumney <jasonr@gnu.org> | 7044 | * fontset.c (Ffontset_info): Handle the case of inhibitting the |
| 7045 | 7045 | fallback fonts. | |
| 7046 | * w32font.c (w32font_open_internal): Use font_unparse_fcname to | 7046 | (Ffontset_info) [USE_FONT_BACKEND]: Fix getting of opened font names. |
| 7047 | set full_name. | 7047 | |
| 7048 | (w32font_open_internal): Use xmalloc, xrealloc, xfree. | 7048 | 2008-02-04 Jason Rumney <jasonr@gnu.org> |
| 7049 | 7049 | ||
| 7050 | 2008-02-03 Jason Rumney <jasonr@gnu.org> | 7050 | * w32font.c (w32font_open_internal): Use font_unparse_fcname to |
| 7051 | 7051 | set full_name. | |
| 7052 | * makefile.w32-in (OBJ1): Include font.o here. | 7052 | (w32font_open_internal): Use xmalloc, xrealloc, xfree. |
| 7053 | (FONTOBJ) [USE_FONTBACKEND]: Instead of here. | 7053 | |
| 7054 | 7054 | 2008-02-03 Jason Rumney <jasonr@gnu.org> | |
| 7055 | 2008-02-02 Jason Rumney <jasonr@gnu.org> | 7055 | |
| 7056 | 7056 | * makefile.w32-in (OBJ1): Include font.o here. | |
| 7057 | * makefile.w32-in (temacs): Bump EMHEAP to 21. | 7057 | (FONTOBJ) [USE_FONTBACKEND]: Instead of here. |
| 7058 | 7058 | ||
| 7059 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 7059 | 2008-02-02 Jason Rumney <jasonr@gnu.org> |
| 7060 | 7060 | ||
| 7061 | * s/cygwin.h: Define VIRT_ADDR_VARIES. | 7061 | * makefile.w32-in (temacs): Bump EMHEAP to 21. |
| 7062 | 7062 | ||
| 7063 | * puresize.h [VIRT_ADDR_VARIES]: Don't include CYGWIN in condition. | 7063 | 2008-02-01 Jason Rumney <jasonr@gnu.org> |
| 7064 | 7064 | ||
| 7065 | 2008-02-01 Andreas Schwab <schwab@suse.de> | 7065 | * s/cygwin.h: Define VIRT_ADDR_VARIES. |
| 7066 | 7066 | ||
| 7067 | * Makefile.in (shortlisp, lisp): Update for rename of | 7067 | * puresize.h [VIRT_ADDR_VARIES]: Don't include CYGWIN in condition. |
| 7068 | ../lisp/language/myanmar.el. | 7068 | |
| 7069 | 7069 | 2008-02-01 Andreas Schwab <schwab@suse.de> | |
| 7070 | 2008-02-01 Chong Yidong <cyd@stupidchicken.com> | 7070 | |
| 7071 | 7071 | * Makefile.in (shortlisp, lisp): Update for rename of | |
| 7072 | * xfaces.c (get_lface_attributes): Delete function. | 7072 | ../lisp/language/myanmar.el. |
| 7073 | (merge_named_face, lookup_named_face, lookup_derived_face) | 7073 | |
| 7074 | (realize_named_face): Call lface_from_face_name directly, and use | 7074 | 2008-02-01 Chong Yidong <cyd@stupidchicken.com> |
| 7075 | the fact that merge_face_vectors does not alter its FROM argument. | 7075 | |
| 7076 | 7076 | * xfaces.c (get_lface_attributes): Delete function. | |
| 7077 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 7077 | (merge_named_face, lookup_named_face, lookup_derived_face) |
| 7078 | 7078 | (realize_named_face): Call lface_from_face_name directly, and use | |
| 7079 | * w32term.c (w32_read_socket) <WM_CHAR>: Decode non-Unicode | 7079 | the fact that merge_face_vectors does not alter its FROM argument. |
| 7080 | input in the default locale. Handle non-Unicode multibyte input. | 7080 | |
| 7081 | 7081 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
| 7082 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 7082 | |
| 7083 | 7083 | * w32term.c (w32_read_socket) <WM_CHAR>: Decode non-Unicode | |
| 7084 | * fontset.c (reorder_font_vector): Exclude nil elements from the | 7084 | input in the default locale. Handle non-Unicode multibyte input. |
| 7085 | font group. Don't try multiple fonts. | 7085 | |
| 7086 | (fontset_font): Adjust for the above change. | 7086 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
| 7087 | (Finternal_char_font): Return nil if the found font doesn't | 7087 | |
| 7088 | contain the character ch. | 7088 | * fontset.c (reorder_font_vector): Exclude nil elements from the |
| 7089 | 7089 | font group. Don't try multiple fonts. | |
| 7090 | * Makefile.in (lisp, shortlisp): Add cham.el. | 7090 | (fontset_font): Adjust for the above change. |
| 7091 | 7091 | (Finternal_char_font): Return nil if the found font doesn't | |
| 7092 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 7092 | contain the character ch. |
| 7093 | 7093 | ||
| 7094 | * font.h (FONTP): Make it return 1 also for a font-object. | 7094 | * Makefile.in (lisp, shortlisp): Add cham.el. |
| 7095 | 7095 | ||
| 7096 | * .gdbinit (xfontset): New function. | 7096 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
| 7097 | 7097 | ||
| 7098 | * font.c (font_find_for_lface): Check if the character C is | 7098 | * font.h (FONTP): Make it return 1 also for a font-object. |
| 7099 | supported or not only for the first font. | 7099 | |
| 7100 | 7100 | * .gdbinit (xfontset): New function. | |
| 7101 | * fontset.c (reorder_font_vector): Fix typo. | 7101 | |
| 7102 | (fontset_find_font): Don't add a font-spec specifying a script. | 7102 | * font.c (font_find_for_lface): Check if the character C is |
| 7103 | Use 0 (not Qt) for the indication of empty font-group. Change the | 7103 | supported or not only for the first font. |
| 7104 | format of RFONT-DEF. Return Qt if no font in the font-group | 7104 | |
| 7105 | support the character. | 7105 | * fontset.c (reorder_font_vector): Fix typo. |
| 7106 | (fontset_font): Adjust for the above change. If no font was | 7106 | (fontset_find_font): Don't add a font-spec specifying a script. |
| 7107 | found the character, remember that. | 7107 | Use 0 (not Qt) for the indication of empty font-group. Change the |
| 7108 | (face_for_char): Adjust for the change of RFONT-DEF. | 7108 | format of RFONT-DEF. Return Qt if no font in the font-group |
| 7109 | (Fset_fontset_font): Allow nil for FONT-SPEC to explicitly specify | 7109 | support the character. |
| 7110 | no font for the target. | 7110 | (fontset_font): Adjust for the above change. If no font was |
| 7111 | (Finternal_char_font): Adjust for the change of RFONT-DEF. | 7111 | found the character, remember that. |
| 7112 | 7112 | (face_for_char): Adjust for the change of RFONT-DEF. | |
| 7113 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 7113 | (Fset_fontset_font): Allow nil for FONT-SPEC to explicitly specify |
| 7114 | 7114 | no font for the target. | |
| 7115 | * font.c (font_load_for_face): Handle the case that the font in | 7115 | (Finternal_char_font): Adjust for the change of RFONT-DEF. |
| 7116 | face->lface is a string. | 7116 | |
| 7117 | 7117 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
| 7118 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 7118 | |
| 7119 | 7119 | * font.c (font_load_for_face): Handle the case that the font in | |
| 7120 | * xfaces.c (set_lface_from_font_and_fontset): Set the fontname in lface. | 7120 | face->lface is a string. |
| 7121 | 7121 | ||
| 7122 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 7122 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
| 7123 | 7123 | ||
| 7124 | * xfaces.c (Finternal_set_lisp_face_attribute) [USE_FONT_BACKEND]: | 7124 | * xfaces.c (set_lface_from_font_and_fontset): Set the fontname in lface. |
| 7125 | Fix previous change. If the frame is not on a window system, | 7125 | |
| 7126 | signal an error. | 7126 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
| 7127 | 7127 | ||
| 7128 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 7128 | * xfaces.c (Finternal_set_lisp_face_attribute) [USE_FONT_BACKEND]: |
| 7129 | 7129 | Fix previous change. If the frame is not on a window system, | |
| 7130 | * coding.c (decode_coding_object, encode_coding_object): Adjust | 7130 | signal an error. |
| 7131 | marker positions after conversion. | 7131 | |
| 7132 | 7132 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
| 7133 | * lisp.h (struct Lisp_Marker): New member need_adjustment. | 7133 | |
| 7134 | 7134 | * coding.c (decode_coding_object, encode_coding_object): Adjust | |
| 7135 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 7135 | marker positions after conversion. |
| 7136 | 7136 | ||
| 7137 | * font.c (font_find_for_lface): Fix the handling of the return | 7137 | * lisp.h (struct Lisp_Marker): New member need_adjustment. |
| 7138 | value of font_has_char. | 7138 | |
| 7139 | (Ffont_shape_text): Fix previous change. | 7139 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
| 7140 | 7140 | ||
| 7141 | * fontset.c (FONTSET_REF_AND_RANGE): Delete it. | 7141 | * font.c (font_find_for_lface): Fix the handling of the return |
| 7142 | (fontset_ref_and_range): Delete it. | 7142 | value of font_has_char. |
| 7143 | (fontset_find_font): Call char_table_ref_and_range instead of | 7143 | (Ffont_shape_text): Fix previous change. |
| 7144 | FONTSET_REF_AND_RANGE. | 7144 | |
| 7145 | (make_fontset): Don't setup font groups of Latin here. | 7145 | * fontset.c (FONTSET_REF_AND_RANGE): Delete it. |
| 7146 | (Fset_fontset_font): Don't overwrite the setting of FONTSET_ASCII. | 7146 | (fontset_ref_and_range): Delete it. |
| 7147 | (new_fontset_from_font): Make the specified font the default for | 7147 | (fontset_find_font): Call char_table_ref_and_range instead of |
| 7148 | all Latin characters. | 7148 | FONTSET_REF_AND_RANGE. |
| 7149 | 7149 | (make_fontset): Don't setup font groups of Latin here. | |
| 7150 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 7150 | (Fset_fontset_font): Don't overwrite the setting of FONTSET_ASCII. |
| 7151 | 7151 | (new_fontset_from_font): Make the specified font the default for | |
| 7152 | * xfaces.c (Finternal_set_lisp_face_attribute): Check if the frame | 7152 | all Latin characters. |
| 7153 | is on a window system before accessing the fontset of the frame. | 7153 | |
| 7154 | 7154 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
| 7155 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 7155 | |
| 7156 | 7156 | * xfaces.c (Finternal_set_lisp_face_attribute): Check if the frame | |
| 7157 | * Makefile.in (lisp, shortlisp): Add kherm.el and myanmar.el. | 7157 | is on a window system before accessing the fontset of the frame. |
| 7158 | 7158 | ||
| 7159 | * ftfont.c (ftfont_driver): Set ftfont_shape in ftfont_driver only | 7159 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
| 7160 | when both HAVE_M17N_FLT and HAVE_LIBOTF are defined. | 7160 | |
| 7161 | 7161 | * Makefile.in (lisp, shortlisp): Add kherm.el and myanmar.el. | |
| 7162 | * font.c (Ffont_shape_text): If the font driver doesn't have a | 7162 | |
| 7163 | shaper function, make zero-width glyphs to have at least one-pixel | 7163 | * ftfont.c (ftfont_driver): Set ftfont_shape in ftfont_driver only |
| 7164 | width. Fix setting of `to' field of glyphs. | 7164 | when both HAVE_M17N_FLT and HAVE_LIBOTF are defined. |
| 7165 | 7165 | ||
| 7166 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 7166 | * font.c (Ffont_shape_text): If the font driver doesn't have a |
| 7167 | 7167 | shaper function, make zero-width glyphs to have at least one-pixel | |
| 7168 | * ftfont.c (ftfont_drive_otf): Fix setting of FROM and TO slots of | 7168 | width. Fix setting of `to' field of glyphs. |
| 7169 | glyphs. | 7169 | |
| 7170 | 7170 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
| 7171 | * font.h (struct font_driver): Improve docstring of member `shape'. | 7171 | |
| 7172 | 7172 | * ftfont.c (ftfont_drive_otf): Fix setting of FROM and TO slots of | |
| 7173 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 7173 | glyphs. |
| 7174 | 7174 | ||
| 7175 | * composite.c (syms_of_composite): Fix docstring of | 7175 | * font.h (struct font_driver): Improve docstring of member `shape'. |
| 7176 | auto-composition-function. | 7176 | |
| 7177 | 7177 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 7178 | * font.h (LGLYPH_SIZE): New macro. | 7178 | |
| 7179 | 7179 | * composite.c (syms_of_composite): Fix docstring of | |
| 7180 | * font.c (Ffont_fill_gstring): Stop filling when a character not | 7180 | auto-composition-function. |
| 7181 | supported by the font is found. | 7181 | |
| 7182 | (Ffont_shape_text): When a shape callback function returns nil, | 7182 | * font.h (LGLYPH_SIZE): New macro. |
| 7183 | try at most two more times with larger gstring. | 7183 | |
| 7184 | (Ffont_at): Fix getting of w. Call font_at with correct 5th argument. | 7184 | * font.c (Ffont_fill_gstring): Stop filling when a character not |
| 7185 | 7185 | supported by the font is found. | |
| 7186 | * xdisp.c (handle_auto_composed_prop): Change the argument to | 7186 | (Ffont_shape_text): When a shape callback function returns nil, |
| 7187 | auto-composition-function. | 7187 | try at most two more times with larger gstring. |
| 7188 | 7188 | (Ffont_at): Fix getting of w. Call font_at with correct 5th argument. | |
| 7189 | * ftfont.c (ftfont_encode_char): Use the macro FONT_INVALID_CODE. | 7189 | |
| 7190 | (ftfont_shape_by_flt): If an element of lgstring is nil, make a | 7190 | * xdisp.c (handle_auto_composed_prop): Change the argument to |
| 7191 | Lispy glyph and store it in the lgstring. | 7191 | auto-composition-function. |
| 7192 | 7192 | ||
| 7193 | * xfont.c (xfont_encode_char): Use the macro FONT_INVALID_CODE. | 7193 | * ftfont.c (ftfont_encode_char): Use the macro FONT_INVALID_CODE. |
| 7194 | 7194 | (ftfont_shape_by_flt): If an element of lgstring is nil, make a | |
| 7195 | * xftfont.c (xftfont_encode_char): Use the macro FONT_INVALID_CODE. | 7195 | Lispy glyph and store it in the lgstring. |
| 7196 | 7196 | ||
| 7197 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 7197 | * xfont.c (xfont_encode_char): Use the macro FONT_INVALID_CODE. |
| 7198 | 7198 | ||
| 7199 | * font.c (Ffont_shape_text): Avoid unnecessary composition. | 7199 | * xftfont.c (xftfont_encode_char): Use the macro FONT_INVALID_CODE. |
| 7200 | 7200 | ||
| 7201 | * fontset.c (Vfont_encoding_charset_alist): New variable. | 7201 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
| 7202 | (syms_of_fontset): DEFVAR it. | 7202 | |
| 7203 | (reorder_font_vector, fontset_find_font): Optimize for the case of | 7203 | * font.c (Ffont_shape_text): Avoid unnecessary composition. |
| 7204 | no need of reordering. | 7204 | |
| 7205 | (face_for_char): Map the charset property by | 7205 | * fontset.c (Vfont_encoding_charset_alist): New variable. |
| 7206 | Vfont_encoding_charset_alist. | 7206 | (syms_of_fontset): DEFVAR it. |
| 7207 | 7207 | (reorder_font_vector, fontset_find_font): Optimize for the case of | |
| 7208 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 7208 | no need of reordering. |
| 7209 | 7209 | (face_for_char): Map the charset property by | |
| 7210 | * w32font.c (logfonts_match): Don't check adstyle here. | 7210 | Vfont_encoding_charset_alist. |
| 7211 | (font_matches_spec): Check here against physical font instead. | 7211 | |
| 7212 | (add_font_entity_to_list): Avoid some substitutions. | 7212 | 2008-02-01 Jason Rumney <jasonr@gnu.org> |
| 7213 | 7213 | ||
| 7214 | * font.c (font_parse_fcname): Default weight and slant to normal. | 7214 | * w32font.c (logfonts_match): Don't check adstyle here. |
| 7215 | (font_score): Prefer normal fonts if weight or slant unspecified. | 7215 | (font_matches_spec): Check here against physical font instead. |
| 7216 | (font_score) [WINDOWSNT]: Scale weight difference down to closer | 7216 | (add_font_entity_to_list): Avoid some substitutions. |
| 7217 | match freetype scores. | 7217 | |
| 7218 | 7218 | * font.c (font_parse_fcname): Default weight and slant to normal. | |
| 7219 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 7219 | (font_score): Prefer normal fonts if weight or slant unspecified. |
| 7220 | 7220 | (font_score) [WINDOWSNT]: Scale weight difference down to closer | |
| 7221 | * w32font.c (w32font_text_extents): Don't use the frame stored in the | 7221 | match freetype scores. |
| 7222 | font, as it may have been deleted. | 7222 | |
| 7223 | (w32_enumfont_pattern_entity): Map generic family to adstyle using | 7223 | 2008-02-01 Jason Rumney <jasonr@gnu.org> |
| 7224 | most common hyphenless variation. | 7224 | |
| 7225 | (logfonts_match): Check generic family. | 7225 | * w32font.c (w32font_text_extents): Don't use the frame stored in the |
| 7226 | (font_matches_spec): Don't check generic family here. | 7226 | font, as it may have been deleted. |
| 7227 | (fill_in_logfont): Set generic family based on adstyle. | 7227 | (w32_enumfont_pattern_entity): Map generic family to adstyle using |
| 7228 | 7228 | most common hyphenless variation. | |
| 7229 | * w32font.h (w32font_get_cache): Update declaration. | 7229 | (logfonts_match): Check generic family. |
| 7230 | 7230 | (font_matches_spec): Don't check generic family here. | |
| 7231 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 7231 | (fill_in_logfont): Set generic family based on adstyle. |
| 7232 | 7232 | ||
| 7233 | * ftfont.c (ftfont_get_cache): Adjust the argument type. | 7233 | * w32font.h (w32font_get_cache): Update declaration. |
| 7234 | 7234 | ||
| 7235 | * frame.c (x_set_font_backend): Don't call Fclear_font_cache. | 7235 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
| 7236 | If none of the new drivers are available, call font_update_drivers | 7236 | |
| 7237 | with the old drivers. | 7237 | * ftfont.c (ftfont_get_cache): Adjust the argument type. |
| 7238 | 7238 | ||
| 7239 | * w32font.c (w32font_get_cache): Adjust the argument type. | 7239 | * frame.c (x_set_font_backend): Don't call Fclear_font_cache. |
| 7240 | 7240 | If none of the new drivers are available, call font_update_drivers | |
| 7241 | * xfont.c (xfont_get_cache): Adjust the argument type. | 7241 | with the old drivers. |
| 7242 | 7242 | ||
| 7243 | * font.h (struct font_driver): Change argument type of get_cache. | 7243 | * w32font.c (w32font_get_cache): Adjust the argument type. |
| 7244 | 7244 | ||
| 7245 | * xftfont.c (xftfont_start_for_frame): Delete prototype. | 7245 | * xfont.c (xfont_get_cache): Adjust the argument type. |
| 7246 | 7246 | ||
| 7247 | * font.c (Ffont_get): Fix arguments to Fassoc. | 7247 | * font.h (struct font_driver): Change argument type of get_cache. |
| 7248 | (font_prepare_cache, font_finish_cache, font_get_cache): New functions. | 7248 | |
| 7249 | (font_clear_cache): New function. | 7249 | * xftfont.c (xftfont_start_for_frame): Delete prototype. |
| 7250 | (font_list_entities, font_matching_entity): Use font_get_cache. | 7250 | |
| 7251 | (font_update_drivers): Call font_clear_cache when finishing a driver. | 7251 | * font.c (Ffont_get): Fix arguments to Fassoc. |
| 7252 | 7252 | (font_prepare_cache, font_finish_cache, font_get_cache): New functions. | |
| 7253 | * fontset.c (fontset_find_font): Fix previous change. | 7253 | (font_clear_cache): New function. |
| 7254 | 7254 | (font_list_entities, font_matching_entity): Use font_get_cache. | |
| 7255 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 7255 | (font_update_drivers): Call font_clear_cache when finishing a driver. |
| 7256 | 7256 | ||
| 7257 | * xterm.c (x_check_font) [USE_FONT_BACKEND]: Don't access | 7257 | * fontset.c (fontset_find_font): Fix previous change. |
| 7258 | dpyinfo->font_table. | 7258 | |
| 7259 | (x_delete_display) [USE_FONT_BACKEND]: Likewise. | 7259 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
| 7260 | (x_delete_terminal) [USE_FONT_BACKEND]: Likewise. | 7260 | |
| 7261 | 7261 | * xterm.c (x_check_font) [USE_FONT_BACKEND]: Don't access | |
| 7262 | * font.c (font_at): Handle the case that the arg C is negative. | 7262 | dpyinfo->font_table. |
| 7263 | Handle the unibyte case. | 7263 | (x_delete_display) [USE_FONT_BACKEND]: Likewise. |
| 7264 | (Ffont_at): Call font_at with the arg C -1. | 7264 | (x_delete_terminal) [USE_FONT_BACKEND]: Likewise. |
| 7265 | 7265 | ||
| 7266 | * xdisp.c (handle_auto_composed_prop): Don't get a character at | 7266 | * font.c (font_at): Handle the case that the arg C is negative. |
| 7267 | the position here, and call font_at with the arg C -1. | 7267 | Handle the unibyte case. |
| 7268 | Don't check the range of the existing composition at the point. | 7268 | (Ffont_at): Call font_at with the arg C -1. |
| 7269 | 7269 | ||
| 7270 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 7270 | * xdisp.c (handle_auto_composed_prop): Don't get a character at |
| 7271 | 7271 | the position here, and call font_at with the arg C -1. | |
| 7272 | * fontset.c (fontset_add): New args charset_id and family. | 7272 | Don't check the range of the existing composition at the point. |
| 7273 | Change caller. | 7273 | |
| 7274 | (load_font_get_repertory, fontset_find_font): Assume that | 7274 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
| 7275 | font_spec is always a font-spec object. | 7275 | |
| 7276 | (Fset_fontset_font): Always store a font-spec object in a fontset. | 7276 | * fontset.c (fontset_add): New args charset_id and family. |
| 7277 | 7277 | Change caller. | |
| 7278 | * xdisp.c (handle_auto_composed_prop): Use Fget_text_property | 7278 | (load_font_get_repertory, fontset_find_font): Assume that |
| 7279 | instead of get_property_and_range. | 7279 | font_spec is always a font-spec object. |
| 7280 | 7280 | (Fset_fontset_font): Always store a font-spec object in a fontset. | |
| 7281 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 7281 | |
| 7282 | 7282 | * xdisp.c (handle_auto_composed_prop): Use Fget_text_property | |
| 7283 | * xftfont.c (struct xftfont_info): Delete the member ft_face. | 7283 | instead of get_property_and_range. |
| 7284 | (xftfont_open): Don't keep locking face. | 7284 | |
| 7285 | (xftfont_close): Don't unlock face. | 7285 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
| 7286 | (xftfont_anchor_point, xftfont_shape): Lock and unlock face. | 7286 | |
| 7287 | 7287 | * xftfont.c (struct xftfont_info): Delete the member ft_face. | |
| 7288 | * fontset.c (fontset_find_font): Don't prefer a font of | 7288 | (xftfont_open): Don't keep locking face. |
| 7289 | supplementary charset. | 7289 | (xftfont_close): Don't unlock face. |
| 7290 | 7290 | (xftfont_anchor_point, xftfont_shape): Lock and unlock face. | |
| 7291 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 7291 | |
| 7292 | 7292 | * fontset.c (fontset_find_font): Don't prefer a font of | |
| 7293 | * ftfont.c (struct OpenTypeSpec): Rename members script_tag to | 7293 | supplementary charset. |
| 7294 | script, langsys_tag to langsys, new member script. | 7294 | |
| 7295 | (OTF_TAG_STR): Terminate by '\0'. | 7295 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 7296 | (ftfont_get_open_type_spec): If :otf prop is is spec, Limit the | 7296 | |
| 7297 | listing to the script specified in that property. Fix arg to | 7297 | * ftfont.c (struct OpenTypeSpec): Rename members script_tag to |
| 7298 | OTF_check_features. | 7298 | script, langsys_tag to langsys, new member script. |
| 7299 | 7299 | (OTF_TAG_STR): Terminate by '\0'. | |
| 7300 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 7300 | (ftfont_get_open_type_spec): If :otf prop is is spec, Limit the |
| 7301 | 7301 | listing to the script specified in that property. Fix arg to | |
| 7302 | * w32font.h: New file. | 7302 | OTF_check_features. |
| 7303 | 7303 | ||
| 7304 | * w32font.c: Include it. | 7304 | 2008-02-01 Jason Rumney <jasonr@gnu.org> |
| 7305 | (struct w32font_info): Add owning_frame field. Move to w32font.h. | 7305 | |
| 7306 | (w32font_open): Set owning_frame. | 7306 | * w32font.h: New file. |
| 7307 | (w32font_text_extents): Use owning_frame. | 7307 | |
| 7308 | (struct font_callback_data): Add opentype_only field. | 7308 | * w32font.c: Include it. |
| 7309 | (add_font_entity_to_list): Use it to filter fonts. | 7309 | (struct w32font_info): Add owning_frame field. Move to w32font.h. |
| 7310 | Don't check against full name. | 7310 | (w32font_open): Set owning_frame. |
| 7311 | (w32font_list_internal): New function. | 7311 | (w32font_text_extents): Use owning_frame. |
| 7312 | (w32font_list): Use it. | 7312 | (struct font_callback_data): Add opentype_only field. |
| 7313 | (w32font_match_internal): New function. | 7313 | (add_font_entity_to_list): Use it to filter fonts. |
| 7314 | (w32font_match): Use it. | 7314 | Don't check against full name. |
| 7315 | (w32font_open_internal): New function. | 7315 | (w32font_list_internal): New function. |
| 7316 | (w32font_open): Use it. | 7316 | (w32font_list): Use it. |
| 7317 | (w32font_get_cache, w32font_close, w32font_has_char) | 7317 | (w32font_match_internal): New function. |
| 7318 | (w32font_encode_char, w32font_text_extents, w32font_draw): | 7318 | (w32font_match): Use it. |
| 7319 | Make non-static. | 7319 | (w32font_open_internal): New function. |
| 7320 | 7320 | (w32font_open): Use it. | |
| 7321 | * makefile.w32-in (w32font.o): Depend on w32font.h. | 7321 | (w32font_get_cache, w32font_close, w32font_has_char) |
| 7322 | 7322 | (w32font_encode_char, w32font_text_extents, w32font_draw): | |
| 7323 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 7323 | Make non-static. |
| 7324 | 7324 | ||
| 7325 | * charset.c (Fdefine_charset_internal): Record a supplementary | 7325 | * makefile.w32-in (w32font.o): Depend on w32font.h. |
| 7326 | charset at the tail of Vcharset_order_list. | 7326 | |
| 7327 | 7327 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
| 7328 | * font.c (Ffont_shape_text): Fix the return value. | 7328 | |
| 7329 | 7329 | * charset.c (Fdefine_charset_internal): Record a supplementary | |
| 7330 | * ftfont.c (OTF_SYM_TAG, OTF_TAG_STR): Fix argument names. | 7330 | charset at the tail of Vcharset_order_list. |
| 7331 | 7331 | ||
| 7332 | * xdisp.c (handle_auto_composed_prop): Fix previous change. | 7332 | * font.c (Ffont_shape_text): Fix the return value. |
| 7333 | 7333 | ||
| 7334 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 7334 | * ftfont.c (OTF_SYM_TAG, OTF_TAG_STR): Fix argument names. |
| 7335 | 7335 | ||
| 7336 | * ftfont.c (struct OpenTypeSpec): New struct. | 7336 | * xdisp.c (handle_auto_composed_prop): Fix previous change. |
| 7337 | (OTF_SYM_TAG, OTF_TAG_STR): New macros. | 7337 | |
| 7338 | (ftfont_get_open_type_spec): New function. | 7338 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
| 7339 | (ftfont_list) [HAVE_LIBOTF]: Check otf-spec property. | 7339 | |
| 7340 | 7340 | * ftfont.c (struct OpenTypeSpec): New struct. | |
| 7341 | * lread.c (read1): Redo the previous change with checking Vpurify_flag. | 7341 | (OTF_SYM_TAG, OTF_TAG_STR): New macros. |
| 7342 | 7342 | (ftfont_get_open_type_spec): New function. | |
| 7343 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 7343 | (ftfont_list) [HAVE_LIBOTF]: Check otf-spec property. |
| 7344 | 7344 | ||
| 7345 | * w32font.c (add_font_entity_to_list): Compare only the beginning | 7345 | * lread.c (read1): Redo the previous change with checking Vpurify_flag. |
| 7346 | of full name. | 7346 | |
| 7347 | 7347 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
| 7348 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 7348 | |
| 7349 | 7349 | * w32font.c (add_font_entity_to_list): Compare only the beginning | |
| 7350 | * xdisp.c (handle_auto_composed_prop): Simplify the code. | 7350 | of full name. |
| 7351 | Never return HANDLED_RECOMPUTE_PROPS. | 7351 | |
| 7352 | 7352 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 7353 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 7353 | |
| 7354 | 7354 | * xdisp.c (handle_auto_composed_prop): Simplify the code. | |
| 7355 | * font.c (font_gstring_produce): Delete it. | 7355 | Never return HANDLED_RECOMPUTE_PROPS. |
| 7356 | 7356 | ||
| 7357 | * composite.h (COMPOSITION_METHOD): | 7357 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 7358 | Handle COMPOSITION_WITH_GLYPH_STRING. | 7358 | |
| 7359 | 7359 | * font.c (font_gstring_produce): Delete it. | |
| 7360 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 7360 | |
| 7361 | 7361 | * composite.h (COMPOSITION_METHOD): | |
| 7362 | * xfont.c (Qx): Delete. | 7362 | Handle COMPOSITION_WITH_GLYPH_STRING. |
| 7363 | (syms_of_xfont): Don't initialize Qx. | 7363 | |
| 7364 | 7364 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
| 7365 | * composite.h (enum composition_method): | 7365 | |
| 7366 | Define COMPOSITION_WITH_GLYPH_STRING unconditionally. | 7366 | * xfont.c (Qx): Delete. |
| 7367 | 7367 | (syms_of_xfont): Don't initialize Qx. | |
| 7368 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 7368 | |
| 7369 | 7369 | * composite.h (enum composition_method): | |
| 7370 | * xfaces.c [HAVE_WINDOW_SYSTEM]: Include "font.h" unconditionally. | 7370 | Define COMPOSITION_WITH_GLYPH_STRING unconditionally. |
| 7371 | (choose_face_font): Accept new form of font-spec. | 7371 | |
| 7372 | 7372 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
| 7373 | * frame.h (font_driver_list): Declare it unconditionally. | 7373 | |
| 7374 | (struct frame): Define members font_driver_list and font_data_list | 7374 | * xfaces.c [HAVE_WINDOW_SYSTEM]: Include "font.h" unconditionally. |
| 7375 | unconditionally. | 7375 | (choose_face_font): Accept new form of font-spec. |
| 7376 | 7376 | ||
| 7377 | * fontset.c: Include "font.h" unconditionally. | 7377 | * frame.h (font_driver_list): Declare it unconditionally. |
| 7378 | (generate_ascii_font_name): Use font_parse_xlfd and font_unparse_xlfd. | 7378 | (struct frame): Define members font_driver_list and font_data_list |
| 7379 | (Fset_fontset_font): Accept a font-spec object. | 7379 | unconditionally. |
| 7380 | 7380 | ||
| 7381 | * font.c (font_unparse_xlfd): If pixel_size is zero, make the | 7381 | * fontset.c: Include "font.h" unconditionally. |
| 7382 | PIXEL_SIZE part a wild card. | 7382 | (generate_ascii_font_name): Use font_parse_xlfd and font_unparse_xlfd. |
| 7383 | 7383 | (Fset_fontset_font): Accept a font-spec object. | |
| 7384 | * dispextern.h (struct glyph_string): Define members clip and | 7384 | |
| 7385 | num_clips unconditionally. | 7385 | * font.c (font_unparse_xlfd): If pixel_size is zero, make the |
| 7386 | (struct face): Define members font_info and extra unconditionally. | 7386 | PIXEL_SIZE part a wild card. |
| 7387 | 7387 | ||
| 7388 | * ftfont.c (ftfont_open): Set members maybe_otf and otf of | 7388 | * dispextern.h (struct glyph_string): Define members clip and |
| 7389 | ftfont_info only when HAVE_LIBOTF is defined. | 7389 | num_clips unconditionally. |
| 7390 | 7390 | (struct face): Define members font_info and extra unconditionally. | |
| 7391 | 2008-02-01 Andreas Schwab <schwab@suse.de> | 7391 | |
| 7392 | 7392 | * ftfont.c (ftfont_open): Set members maybe_otf and otf of | |
| 7393 | * xdisp.c (back_to_previous_visible_line_start): Fix type of beg | 7393 | ftfont_info only when HAVE_LIBOTF is defined. |
| 7394 | and end. | 7394 | |
| 7395 | 7395 | 2008-02-01 Andreas Schwab <schwab@suse.de> | |
| 7396 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 7396 | |
| 7397 | 7397 | * xdisp.c (back_to_previous_visible_line_start): Fix type of beg | |
| 7398 | * w32font.c (w32font_driver): Add new fields. | 7398 | and end. |
| 7399 | 7399 | ||
| 7400 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 7400 | 2008-02-01 Jason Rumney <jasonr@gnu.org> |
| 7401 | 7401 | ||
| 7402 | * Makefile.in (ALL_CFLAGS): Add @M17N_FLT_CFLAGS@. | 7402 | * w32font.c (w32font_driver): Add new fields. |
| 7403 | (FONTSRC, FONTOBJ) [HAVE_WINDOW_SYSTEM]: Set them unconditionally. | 7403 | |
| 7404 | (LIBES): Add @M17N_FLT_CFLAGS@. | 7404 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
| 7405 | 7405 | ||
| 7406 | * composite.c (compose_text): Don't treat the new style | 7406 | * Makefile.in (ALL_CFLAGS): Add @M17N_FLT_CFLAGS@. |
| 7407 | composition specially. | 7407 | (FONTSRC, FONTOBJ) [HAVE_WINDOW_SYSTEM]: Set them unconditionally. |
| 7408 | 7408 | (LIBES): Add @M17N_FLT_CFLAGS@. | |
| 7409 | * emacs.c (main): Call syms_of_font unconditionally. | 7409 | |
| 7410 | 7410 | * composite.c (compose_text): Don't treat the new style | |
| 7411 | * font.h (FONT_ENTITY_NOT_LOADABLE) | 7411 | composition specially. |
| 7412 | (FONT_ENTITY_SET_NOT_LOADABLE): New macros. | 7412 | |
| 7413 | (LGSTRING_XXXX, LGLYPH_XXX): Adjust for the change of lispy gstring. | 7413 | * emacs.c (main): Call syms_of_font unconditionally. |
| 7414 | (struct font_driver): New member shape. | 7414 | |
| 7415 | (font_registry_charsets): Extern it. | 7415 | * font.h (FONT_ENTITY_NOT_LOADABLE) |
| 7416 | (font_find_for_lface, font_prepare_composition): Adjust prototype. | 7416 | (FONT_ENTITY_SET_NOT_LOADABLE): New macros. |
| 7417 | (font_otf_capability, font_drive_otf): Delete their externs. | 7417 | (LGSTRING_XXXX, LGLYPH_XXX): Adjust for the change of lispy gstring. |
| 7418 | 7418 | (struct font_driver): New member shape. | |
| 7419 | * font.c [HAVE_M17N_FLT]: Include <m17n-flt.h>. | 7419 | (font_registry_charsets): Extern it. |
| 7420 | (font_charset_alist, font_registry_charsets): Move from xfont.c | 7420 | (font_find_for_lface, font_prepare_composition): Adjust prototype. |
| 7421 | and rename. | 7421 | (font_otf_capability, font_drive_otf): Delete their externs. |
| 7422 | (font_prop_validate_otf): New function. | 7422 | |
| 7423 | (font_property_table): Register it for QCotf. | 7423 | * font.c [HAVE_M17N_FLT]: Include <m17n-flt.h>. |
| 7424 | (DEVICE_DELTA, adjust_anchor, REPLACEMENT_CHARACTER) | 7424 | (font_charset_alist, font_registry_charsets): Move from xfont.c |
| 7425 | (font_drive_otf): Delete. | 7425 | and rename. |
| 7426 | (font_prepare_composition): New arg F. Adjust for the change of | 7426 | (font_prop_validate_otf): New function. |
| 7427 | lispy gstring. | 7427 | (font_property_table): Register it for QCotf. |
| 7428 | (font_find_for_lface): New arg C. | 7428 | (DEVICE_DELTA, adjust_anchor, REPLACEMENT_CHARACTER) |
| 7429 | (font_load_for_face): Adjust for the change of font_find_for_lface. | 7429 | (font_drive_otf): Delete. |
| 7430 | (Ffont_make_gstring, Ffont_fill_gstring): Adjust for the change of | 7430 | (font_prepare_composition): New arg F. Adjust for the change of |
| 7431 | lispy gstring. | 7431 | lispy gstring. |
| 7432 | (Ffont_shape_text): New function. | 7432 | (font_find_for_lface): New arg C. |
| 7433 | (Fopen_font): If the font size is not given, use 12-pixel. | 7433 | (font_load_for_face): Adjust for the change of font_find_for_lface. |
| 7434 | (Ffont_at): New arg STRING. | 7434 | (Ffont_make_gstring, Ffont_fill_gstring): Adjust for the change of |
| 7435 | (syms_of_font): Initalize font_charset_alist. | 7435 | lispy gstring. |
| 7436 | Declare Ffont_shape_text as a Lisp function. Call syms_of_XXfont | 7436 | (Ffont_shape_text): New function. |
| 7437 | conditionally. | 7437 | (Fopen_font): If the font size is not given, use 12-pixel. |
| 7438 | 7438 | (Ffont_at): New arg STRING. | |
| 7439 | * fontset.c (fontset_find_font) [USE_FONT_BACKEND]: Try multiple | 7439 | (syms_of_font): Initalize font_charset_alist. |
| 7440 | fonts of the same font-spec. Change the format of RFONT-DEF. | 7440 | Declare Ffont_shape_text as a Lisp function. Call syms_of_XXfont |
| 7441 | (face_for_char, make_fontset_for_ascii_face, Finternal_char_font): | 7441 | conditionally. |
| 7442 | Adjust for the change of RFONT-DEF. | 7442 | |
| 7443 | (Fset_fontset_font) [USE_FONT_BACKEND]: Handle new format of font-spec. | 7443 | * fontset.c (fontset_find_font) [USE_FONT_BACKEND]: Try multiple |
| 7444 | 7444 | fonts of the same font-spec. Change the format of RFONT-DEF. | |
| 7445 | * ftfont.h: New file. | 7445 | (face_for_char, make_fontset_for_ascii_face, Finternal_char_font): |
| 7446 | 7446 | Adjust for the change of RFONT-DEF. | |
| 7447 | * ftfont.c: Don't include Freetype headers. Include "ftfont.h". | 7447 | (Fset_fontset_font) [USE_FONT_BACKEND]: Handle new format of font-spec. |
| 7448 | (struct ftfont_info) [HAVE_LIBOTF]: New members maybe_otf and otf. | 7448 | |
| 7449 | (ftfont_open) [HAVE_LIBOTF]: Initialize the above members. | 7449 | * ftfont.h: New file. |
| 7450 | (ftfont_driver) [HAVE_LIBOTF, HAVE_M17N_FLT]: Don't set | 7450 | |
| 7451 | font_otf_capability and font_drive_otf, set ftfont_shape. | 7451 | * ftfont.c: Don't include Freetype headers. Include "ftfont.h". |
| 7452 | (ftfont_list): Adjust for the change of :otf property value. | 7452 | (struct ftfont_info) [HAVE_LIBOTF]: New members maybe_otf and otf. |
| 7453 | (struct MFLTFontFT) [HAVE_LIBOTF, HAVE_M17N_FLT]: New struct. | 7453 | (ftfont_open) [HAVE_LIBOTF]: Initialize the above members. |
| 7454 | (ftfont_get_glyph_id, ftfont_get_metrics, ftfont_check_otf) | 7454 | (ftfont_driver) [HAVE_LIBOTF, HAVE_M17N_FLT]: Don't set |
| 7455 | (adjust_anchor, ftfont_drive_otf, ftfont_shape_by_flt) | 7455 | font_otf_capability and font_drive_otf, set ftfont_shape. |
| 7456 | (ftfont_shape) [HAVE_LIBOTF, HAVE_M17N_FLT]: New function. | 7456 | (ftfont_list): Adjust for the change of :otf property value. |
| 7457 | (DEVICE_DELTA) [HAVE_LIBOTF, HAVE_M17N_FLT]: New macro. | 7457 | (struct MFLTFontFT) [HAVE_LIBOTF, HAVE_M17N_FLT]: New struct. |
| 7458 | (otf_gstring, gstring, m17n_flt_initialized): New variables. | 7458 | (ftfont_get_glyph_id, ftfont_get_metrics, ftfont_check_otf) |
| 7459 | 7459 | (adjust_anchor, ftfont_drive_otf, ftfont_shape_by_flt) | |
| 7460 | * w32term.c (x_draw_composite_glyph_string_foreground): | 7460 | (ftfont_shape) [HAVE_LIBOTF, HAVE_M17N_FLT]: New function. |
| 7461 | Adjust for the change of lispy gstring. | 7461 | (DEVICE_DELTA) [HAVE_LIBOTF, HAVE_M17N_FLT]: New macro. |
| 7462 | 7462 | (otf_gstring, gstring, m17n_flt_initialized): New variables. | |
| 7463 | * xdisp.c (handle_composition_prop): Adjust for the change of | 7463 | |
| 7464 | lispy gstring. Call a function for auto-composition with the | 7464 | * w32term.c (x_draw_composite_glyph_string_foreground): |
| 7465 | third arg it->window. | 7465 | Adjust for the change of lispy gstring. |
| 7466 | (fill_composite_glyph_string): Adjust for the change of lispy string. | 7466 | |
| 7467 | (x_produce_glyphs): Adjust for the change of font_prepare_compositionl. | 7467 | * xdisp.c (handle_composition_prop): Adjust for the change of |
| 7468 | 7468 | lispy gstring. Call a function for auto-composition with the | |
| 7469 | * xfaces.c (set_font_frame_param): Adjust for the change of | 7469 | third arg it->window. |
| 7470 | font_find_for_lface. | 7470 | (fill_composite_glyph_string): Adjust for the change of lispy string. |
| 7471 | 7471 | (x_produce_glyphs): Adjust for the change of font_prepare_compositionl. | |
| 7472 | * xfont.c (x_font_charset_alist): Move to font.c and rename. | 7472 | |
| 7473 | (xfont_registry_charsets): Likewise. Change caller. | 7473 | * xfaces.c (set_font_frame_param): Adjust for the change of |
| 7474 | (syms_of_xfont): Don't handle x_font_charset_alist. | 7474 | font_find_for_lface. |
| 7475 | 7475 | ||
| 7476 | * xftfont.c: Include "ftfont.h". | 7476 | * xfont.c (x_font_charset_alist): Move to font.c and rename. |
| 7477 | (struct xftfont_info) [HAVE_LIBOTF]: New members maybe_otf and otf. | 7477 | (xfont_registry_charsets): Likewise. Change caller. |
| 7478 | (xftfont_open) [HAVE_LIBOTF]: Initialize the above members. | 7478 | (syms_of_xfont): Don't handle x_font_charset_alist. |
| 7479 | (xftfont_close) [HAVE_LIBOTF]: Close otf. | 7479 | |
| 7480 | (xftfont_shape) [HAVE_LIBOTF, HAVE_M17N_FLT]: New function. | 7480 | * xftfont.c: Include "ftfont.h". |
| 7481 | (syms_of_xftfont) [HAVE_LIBOTF, HAVE_M17N_FLT]: | 7481 | (struct xftfont_info) [HAVE_LIBOTF]: New members maybe_otf and otf. |
| 7482 | Set xftfont_driver.shape to xftfont_shape. | 7482 | (xftfont_open) [HAVE_LIBOTF]: Initialize the above members. |
| 7483 | 7483 | (xftfont_close) [HAVE_LIBOTF]: Close otf. | |
| 7484 | * xterm.c (x_draw_composite_glyph_string_foreground): Adjust for | 7484 | (xftfont_shape) [HAVE_LIBOTF, HAVE_M17N_FLT]: New function. |
| 7485 | the change of lispy gstring. | 7485 | (syms_of_xftfont) [HAVE_LIBOTF, HAVE_M17N_FLT]: |
| 7486 | 7486 | Set xftfont_driver.shape to xftfont_shape. | |
| 7487 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 7487 | |
| 7488 | 7488 | * xterm.c (x_draw_composite_glyph_string_foreground): Adjust for | |
| 7489 | * ftxfont.c (ftxfont_end_for_frame): Fix array indexing error. | 7489 | the change of lispy gstring. |
| 7490 | 7490 | ||
| 7491 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 7491 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
| 7492 | 7492 | ||
| 7493 | * w32font.c (w32font_draw): Fill background manually. | 7493 | * ftxfont.c (ftxfont_end_for_frame): Fix array indexing error. |
| 7494 | 7494 | ||
| 7495 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 7495 | 2008-02-01 Jason Rumney <jasonr@gnu.org> |
| 7496 | 7496 | ||
| 7497 | * font.c (Qfontp): Remove unused symbol. | 7497 | * w32font.c (w32font_draw): Fill background manually. |
| 7498 | (QCantialias): New symbol. | 7498 | |
| 7499 | (syms_of_font): Define it. | 7499 | 2008-02-01 Jason Rumney <jasonr@gnu.org> |
| 7500 | (font_property_table): Set a validator for QCantialias. | 7500 | |
| 7501 | 7501 | * font.c (Qfontp): Remove unused symbol. | |
| 7502 | * w32font.c (CLEARTYPE_QUALITY, CLEARTYPE_NATURAL_QUALITY): | 7502 | (QCantialias): New symbol. |
| 7503 | Define if not already. | 7503 | (syms_of_font): Define it. |
| 7504 | (QCfamily): Share with xfaces.c. | 7504 | (font_property_table): Set a validator for QCantialias. |
| 7505 | (Qstandard, Qsubpixel, Qnatural): New symbols. | 7505 | |
| 7506 | (syms_of_w32font): Define them. Don't define QCfamily here. | 7506 | * w32font.c (CLEARTYPE_QUALITY, CLEARTYPE_NATURAL_QUALITY): |
| 7507 | (w32_antialias_type, lispy_antialias_type): New functions. | 7507 | Define if not already. |
| 7508 | (w32_enumfont_pattern_entity): New arg requested_font. | 7508 | (QCfamily): Share with xfaces.c. |
| 7509 | Set antialias parameter if non-default was requested. | 7509 | (Qstandard, Qsubpixel, Qnatural): New symbols. |
| 7510 | (fill_in_logfont): Fill in lfQuality if :antialias specified. | 7510 | (syms_of_w32font): Define them. Don't define QCfamily here. |
| 7511 | 7511 | (w32_antialias_type, lispy_antialias_type): New functions. | |
| 7512 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 7512 | (w32_enumfont_pattern_entity): New arg requested_font. |
| 7513 | 7513 | Set antialias parameter if non-default was requested. | |
| 7514 | * lread.c (read1): Undo the previous change. | 7514 | (fill_in_logfont): Fill in lfQuality if :antialias specified. |
| 7515 | 7515 | ||
| 7516 | 2008-02-01 CHENG Gao <chenggao@gmail.com> (tiny change) | 7516 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
| 7517 | 7517 | ||
| 7518 | * frame.c (Fdelete_frame): Call font_update_drivers only when | 7518 | * lread.c (read1): Undo the previous change. |
| 7519 | USE_FONT_BACKEND is defined. | 7519 | |
| 7520 | 7520 | 2008-02-01 CHENG Gao <chenggao@gmail.com> (tiny change) | |
| 7521 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 7521 | |
| 7522 | 7522 | * frame.c (Fdelete_frame): Call font_update_drivers only when | |
| 7523 | * font.h (struct font_bitmap): New member bits_per_pixel. | 7523 | USE_FONT_BACKEND is defined. |
| 7524 | (struct font_driver): New members start_for_frame and end_for_frame. | 7524 | |
| 7525 | (struct font_data_list): New struct. | 7525 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
| 7526 | (font_put_frame_data, font_get_frame_data): Extern them. | 7526 | |
| 7527 | 7527 | * font.h (struct font_bitmap): New member bits_per_pixel. | |
| 7528 | * frame.h (struct frame): New member font_data_list. | 7528 | (struct font_driver): New members start_for_frame and end_for_frame. |
| 7529 | 7529 | (struct font_data_list): New struct. | |
| 7530 | * font.c (font_update_drivers): Call driver->start_for_frame and | 7530 | (font_put_frame_data, font_get_frame_data): Extern them. |
| 7531 | driver->end_for_frame at proper timings. | 7531 | |
| 7532 | (font_put_frame_data, font_get_frame_data): New functions. | 7532 | * frame.h (struct frame): New member font_data_list. |
| 7533 | (Ffont_spec): Add usage in the docstring. | 7533 | |
| 7534 | 7534 | * font.c (font_update_drivers): Call driver->start_for_frame and | |
| 7535 | * frame.c (make_frame): Initialize f->font_data_list to NULL. | 7535 | driver->end_for_frame at proper timings. |
| 7536 | (Fdelete_frame): Call font_update_drivers. | 7536 | (font_put_frame_data, font_get_frame_data): New functions. |
| 7537 | 7537 | (Ffont_spec): Add usage in the docstring. | |
| 7538 | * xftfont.c (struct xftface_info): Delete the member xft_draw. | 7538 | |
| 7539 | (xftfont_prepare_face, xftfont_done_face): Adjust for the above change. | 7539 | * frame.c (make_frame): Initialize f->font_data_list to NULL. |
| 7540 | (xftfont_get_xft_draw): New function. | 7540 | (Fdelete_frame): Call font_update_drivers. |
| 7541 | (xftfont_draw): Get XftDraw by xftfont_get_xft_draw. | 7541 | |
| 7542 | (xftfont_end_for_frame): New function. | 7542 | * xftfont.c (struct xftface_info): Delete the member xft_draw. |
| 7543 | (syms_of_xftfont): Set xftfont_driver.end_for_frame. | 7543 | (xftfont_prepare_face, xftfont_done_face): Adjust for the above change. |
| 7544 | 7544 | (xftfont_get_xft_draw): New function. | |
| 7545 | * ftxfont.c (ftxfont_get_gcs): Rename from ftxfont_create_gcs. | 7545 | (xftfont_draw): Get XftDraw by xftfont_get_xft_draw. |
| 7546 | Change argument. Cache GCs in the per-frame data. | 7546 | (xftfont_end_for_frame): New function. |
| 7547 | (struct ftxfont_frame_data): New struct. | 7547 | (syms_of_xftfont): Set xftfont_driver.end_for_frame. |
| 7548 | (ftxfont_draw_bitmap): New arg gc_fore and flush. | 7548 | |
| 7549 | (ftxfont_prepare_face, ftxfont_done_face): Delete them. | 7549 | * ftxfont.c (ftxfont_get_gcs): Rename from ftxfont_create_gcs. |
| 7550 | (ftxfont_draw): Get GCs by ftxfont_get_gcs. Reflect s->clip in GCs. | 7550 | Change argument. Cache GCs in the per-frame data. |
| 7551 | (ftxfont_end_for_frame): New function. | 7551 | (struct ftxfont_frame_data): New struct. |
| 7552 | (syms_of_ftxfont): Set ftxfont_driver.end_for_frame. | 7552 | (ftxfont_draw_bitmap): New arg gc_fore and flush. |
| 7553 | 7553 | (ftxfont_prepare_face, ftxfont_done_face): Delete them. | |
| 7554 | * ftfont.c (ftfont_get_bitmap): Set bitmap->bits_per_pixel. | 7554 | (ftxfont_draw): Get GCs by ftxfont_get_gcs. Reflect s->clip in GCs. |
| 7555 | 7555 | (ftxfont_end_for_frame): New function. | |
| 7556 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 7556 | (syms_of_ftxfont): Set ftxfont_driver.end_for_frame. |
| 7557 | 7557 | ||
| 7558 | * xselect.c (Vselection_coding_system) | 7558 | * ftfont.c (ftfont_get_bitmap): Set bitmap->bits_per_pixel. |
| 7559 | (Vnext_selection_coding_system): Delete them. | 7559 | |
| 7560 | (syms_of_xselect): Don't declare selection-coding-system and | 7560 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 7561 | next-selection-coding-system. They are declared in select.el. | 7561 | |
| 7562 | 7562 | * xselect.c (Vselection_coding_system) | |
| 7563 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 7563 | (Vnext_selection_coding_system): Delete them. |
| 7564 | 7564 | (syms_of_xselect): Don't declare selection-coding-system and | |
| 7565 | * w32term.h (WM_UNICHAR, UNICODE_NOCHAR): Define if not already. | 7565 | next-selection-coding-system. They are declared in select.el. |
| 7566 | 7566 | ||
| 7567 | * w32fns.c: Include imm.h. | 7567 | 2008-02-01 Jason Rumney <jasonr@gnu.org> |
| 7568 | (get_composition_string_fn, get_ime_context_fn): New optional | 7568 | |
| 7569 | system functions. | 7569 | * w32term.h (WM_UNICHAR, UNICODE_NOCHAR): Define if not already. |
| 7570 | (globals_of_w32fns): Load them from imm32.dll. | 7570 | |
| 7571 | (ignore_ime_char): New flag. | 7571 | * w32fns.c: Include imm.h. |
| 7572 | (w32_wnd_proc): Handle WM_UNICHAR, WM_IME_CHAR and | 7572 | (get_composition_string_fn, get_ime_context_fn): New optional |
| 7573 | WM_IME_ENDCOMPOSITION messages. | 7573 | system functions. |
| 7574 | 7574 | (globals_of_w32fns): Load them from imm32.dll. | |
| 7575 | * w32term.c (w32_read_socket) [WM_UNICHAR]: Handle as | 7575 | (ignore_ime_char): New flag. |
| 7576 | MULTIBYTE_CHAR_KEYSTROKE_EVENT. | 7576 | (w32_wnd_proc): Handle WM_UNICHAR, WM_IME_CHAR and |
| 7577 | 7577 | WM_IME_ENDCOMPOSITION messages. | |
| 7578 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 7578 | |
| 7579 | 7579 | * w32term.c (w32_read_socket) [WM_UNICHAR]: Handle as | |
| 7580 | * lread.c (READCHAR): Call readchar with the 2nd arg NULL. | 7580 | MULTIBYTE_CHAR_KEYSTROKE_EVENT. |
| 7581 | (READCHAR_REPORT_MULTIBYTE): New macro. | 7581 | |
| 7582 | (readchar): New 2nd arg MULTIBYTE. | 7582 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
| 7583 | (read1): Use READCHAR_REPORT_MULTIBYTE for the first read. | 7583 | |
| 7584 | Make symbol's name multibyte according to the multibyteness of the | 7584 | * lread.c (READCHAR): Call readchar with the 2nd arg NULL. |
| 7585 | source. | 7585 | (READCHAR_REPORT_MULTIBYTE): New macro. |
| 7586 | 7586 | (readchar): New 2nd arg MULTIBYTE. | |
| 7587 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 7587 | (read1): Use READCHAR_REPORT_MULTIBYTE for the first read. |
| 7588 | 7588 | Make symbol's name multibyte according to the multibyteness of the | |
| 7589 | * xfaces.c (face_for_overlay_string): Call lookup_face with | 7589 | source. |
| 7590 | correct arguments (fix of synching with the trunk). | 7590 | |
| 7591 | 7591 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
| 7592 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 7592 | |
| 7593 | 7593 | * xfaces.c (face_for_overlay_string): Call lookup_face with | |
| 7594 | * font.c (font_prop_validate_symbol, font_prop_validate_style) | 7594 | correct arguments (fix of synching with the trunk). |
| 7595 | (font_prop_validate_non_neg, font_prop_validate_spacing): | 7595 | |
| 7596 | Delete argument prop_index. | 7596 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 7597 | (font_property_table): Change arguments to validater. Change Callers. | 7597 | |
| 7598 | (font_lispy_object): Delete. | 7598 | * font.c (font_prop_validate_symbol, font_prop_validate_style) |
| 7599 | (font_at): Use font_find_object instead fo font_lispy_object. | 7599 | (font_prop_validate_non_neg, font_prop_validate_spacing): |
| 7600 | 7600 | Delete argument prop_index. | |
| 7601 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 7601 | (font_property_table): Change arguments to validater. Change Callers. |
| 7602 | 7602 | (font_lispy_object): Delete. | |
| 7603 | * fileio.c (Fexpand_file_name): Adjust multibyteness of directory | 7603 | (font_at): Use font_find_object instead fo font_lispy_object. |
| 7604 | and file names. | 7604 | |
| 7605 | 7605 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
| 7606 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 7606 | |
| 7607 | 7607 | * fileio.c (Fexpand_file_name): Adjust multibyteness of directory | |
| 7608 | * w32font.c (add_font_name_to_list): Avoid vertical fonts. | 7608 | and file names. |
| 7609 | (font_matches_spec): Remove debug output. | 7609 | |
| 7610 | (add_font_entity_to_list): Avoid using substituted fonts. | 7610 | 2008-02-01 Jason Rumney <jasonr@gnu.org> |
| 7611 | 7611 | ||
| 7612 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 7612 | * w32font.c (add_font_name_to_list): Avoid vertical fonts. |
| 7613 | 7613 | (font_matches_spec): Remove debug output. | |
| 7614 | * doc.c (Fsnarf_documentation): | 7614 | (add_font_entity_to_list): Avoid using substituted fonts. |
| 7615 | * Makefile.in (temacs${EXEEXT}, mostlyclean): Undo last change. | 7615 | |
| 7616 | 7616 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
| 7617 | 2008-02-01 Miles Bader <miles@gnu.org> | 7617 | |
| 7618 | 7618 | * doc.c (Fsnarf_documentation): | |
| 7619 | * dispextern.h (struct glyph_row): Only define "clip" field if | 7619 | * Makefile.in (temacs${EXEEXT}, mostlyclean): Undo last change. |
| 7620 | HAVE_WINDOW_SYSTEM is defined. | 7620 | |
| 7621 | 7621 | 2008-02-01 Miles Bader <miles@gnu.org> | |
| 7622 | 2008-02-01 Stefan Monnier <monnier@iro.umontreal.ca> | 7622 | |
| 7623 | 7623 | * dispextern.h (struct glyph_row): Only define "clip" field if | |
| 7624 | Fix up multi-tty merge. | 7624 | HAVE_WINDOW_SYSTEM is defined. |
| 7625 | 7625 | ||
| 7626 | * xterm.c (handle_one_xevent): Remove duplicate code and fix up nesting | 7626 | 2008-02-01 Stefan Monnier <monnier@iro.umontreal.ca> |
| 7627 | and indentation. | 7627 | |
| 7628 | 7628 | Fix up multi-tty merge. | |
| 7629 | * xfaces.c (free_realized_face, clear_face_gcs): | 7629 | |
| 7630 | Include font_done_for_face in the input_blocked section, just in case. | 7630 | * xterm.c (handle_one_xevent): Remove duplicate code and fix up nesting |
| 7631 | 7631 | and indentation. | |
| 7632 | * xdisp.c (decode_mode_spec): Use terminal-local coding systems. | 7632 | |
| 7633 | (get_char_face_and_encoding): Undo last change and remove the *other* | 7633 | * xfaces.c (free_realized_face, clear_face_gcs): |
| 7634 | duplicate definition (i.e. keep the one that's better scoped and that | 7634 | Include font_done_for_face in the input_blocked section, just in case. |
| 7635 | includes code for the font-backend). | 7635 | |
| 7636 | 7636 | * xdisp.c (decode_mode_spec): Use terminal-local coding systems. | |
| 7637 | * terminal.c (create_terminal): Default keyboard_coding to | 7637 | (get_char_face_and_encoding): Undo last change and remove the *other* |
| 7638 | `no-conversion' and terminal_coding to `undecided'. | 7638 | duplicate definition (i.e. keep the one that's better scoped and that |
| 7639 | 7639 | includes code for the font-backend). | |
| 7640 | * lread.c (read1): Use XSETPVECTYPE to set a pseudovector's tag. | 7640 | |
| 7641 | 7641 | * terminal.c (create_terminal): Default keyboard_coding to | |
| 7642 | * fontset.c (free_realized_fontsets): Check that the table entry does | 7642 | `no-conversion' and terminal_coding to `undecided'. |
| 7643 | contain a fontset before trying to compare it to `base'. | 7643 | |
| 7644 | 7644 | * lread.c (read1): Use XSETPVECTYPE to set a pseudovector's tag. | |
| 7645 | * emacs.c (main): Move syms_of_data, syms_of_fileio, syms_of_alloc, | 7645 | |
| 7646 | syms_of_charset, and syms_of_coding earlier because init_window_once | 7646 | * fontset.c (free_realized_fontsets): Check that the table entry does |
| 7647 | now needs Vcoding_system_hash_table to be setup. | 7647 | contain a fontset before trying to compare it to `base'. |
| 7648 | 7648 | ||
| 7649 | * coding.h (default_buffer_file_coding): Remove. | 7649 | * emacs.c (main): Move syms_of_data, syms_of_fileio, syms_of_alloc, |
| 7650 | 7650 | syms_of_charset, and syms_of_coding earlier because init_window_once | |
| 7651 | * coding.c (default_buffer_file_coding): Remove. | 7651 | now needs Vcoding_system_hash_table to be setup. |
| 7652 | (Fterminal_coding_system, Fkeyboard_coding_system): Use ->id rather | 7652 | |
| 7653 | than ->symbol, and use the terminal-local coding system. | 7653 | * coding.h (default_buffer_file_coding): Remove. |
| 7654 | (syms_of_coding): Don't setup the coding-systems that are not | 7654 | |
| 7655 | terminal-local. | 7655 | * coding.c (default_buffer_file_coding): Remove. |
| 7656 | (Fdefine_coding_system_internal): Use XCAR/XCDR. | 7656 | (Fterminal_coding_system, Fkeyboard_coding_system): Use ->id rather |
| 7657 | 7657 | than ->symbol, and use the terminal-local coding system. | |
| 7658 | * chartab.c (Fmake_char_table, make_sub_char_table, copy_char_table): | 7658 | (syms_of_coding): Don't setup the coding-systems that are not |
| 7659 | Use XSETPVECTYPE now that XSETCHAR_TABLE doesn't set the tag anymore. | 7659 | terminal-local. |
| 7660 | 7660 | (Fdefine_coding_system_internal): Use XCAR/XCDR. | |
| 7661 | * alloc.c (Fmake_char_table, make_sub_char_table): Remove. They're now | 7661 | |
| 7662 | in chartab.c and were re-added here by mistake. | 7662 | * chartab.c (Fmake_char_table, make_sub_char_table, copy_char_table): |
| 7663 | (Fpurecopy): Use XSETPVECTYPE after copying a COMPILED pseudovector. | 7663 | Use XSETPVECTYPE now that XSETCHAR_TABLE doesn't set the tag anymore. |
| 7664 | 7664 | ||
| 7665 | * doc.c (Fsnarf_documentation): | 7665 | * alloc.c (Fmake_char_table, make_sub_char_table): Remove. They're now |
| 7666 | * Makefile.in (temacs${EXEEXT}, mostlyclean): Move buildobj.lst from | 7666 | in chartab.c and were re-added here by mistake. |
| 7667 | src to etc. | 7667 | (Fpurecopy): Use XSETPVECTYPE after copying a COMPILED pseudovector. |
| 7668 | 7668 | ||
| 7669 | * ChangeLog.10: Add mistakenly removed entry. | 7669 | * doc.c (Fsnarf_documentation): |
| 7670 | 7670 | * Makefile.in (temacs${EXEEXT}, mostlyclean): Move buildobj.lst from | |
| 7671 | 2008-02-01 Dan Nicolaescu <dann@ics.uci.edu> | 7671 | src to etc. |
| 7672 | 7672 | ||
| 7673 | * Makefile.in (fringe.o, minibuf.o): Fix dependencies. | 7673 | * ChangeLog.10: Add mistakenly removed entry. |
| 7674 | 7674 | ||
| 7675 | 2008-02-01 Miles Bader <miles@gnu.org> | 7675 | 2008-02-01 Dan Nicolaescu <dann@ics.uci.edu> |
| 7676 | 7676 | ||
| 7677 | * xdisp.c (get_char_face_and_encoding): Remove extraneous definition. | 7677 | * Makefile.in (fringe.o, minibuf.o): Fix dependencies. |
| 7678 | Add extra args to FACE_FOR_CHAR. | 7678 | |
| 7679 | 7679 | 2008-02-01 Miles Bader <miles@gnu.org> | |
| 7680 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 7680 | |
| 7681 | 7681 | * xdisp.c (get_char_face_and_encoding): Remove extraneous definition. | |
| 7682 | * keymap.c (where_is_internal_1): If key is a cons, store the copy | 7682 | Add extra args to FACE_FOR_CHAR. |
| 7683 | in sequence. | 7683 | |
| 7684 | 7684 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 7685 | * chartab.c (map_sub_char_table, map_char_table): If the range | 7685 | |
| 7686 | contains just one character, call the function with that character | 7686 | * keymap.c (where_is_internal_1): If key is a cons, store the copy |
| 7687 | even if the depth is not 3. | 7687 | in sequence. |
| 7688 | 7688 | ||
| 7689 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 7689 | * chartab.c (map_sub_char_table, map_char_table): If the range |
| 7690 | 7690 | contains just one character, call the function with that character | |
| 7691 | * w32font.c (w32font_text_extents): Calculate metrics for the | 7691 | even if the depth is not 3. |
| 7692 | whole string. | 7692 | |
| 7693 | 7693 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
| 7694 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 7694 | |
| 7695 | 7695 | * w32font.c (w32font_text_extents): Calculate metrics for the | |
| 7696 | * w32xfns.c (get_next_msg): Consolidate WM_PAINT messages. | 7696 | whole string. |
| 7697 | 7697 | ||
| 7698 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 7698 | 2008-02-01 Jason Rumney <jasonr@gnu.org> |
| 7699 | 7699 | ||
| 7700 | * w32term.c (x_set_glyph_string_clipping): Use | 7700 | * w32xfns.c (get_next_msg): Consolidate WM_PAINT messages. |
| 7701 | get_glyph_string_clip_rects. | 7701 | |
| 7702 | (x_set_glyph_string_clipping_exactly, x_draw_glyph_string): | 7702 | 2008-02-01 Jason Rumney <jasonr@gnu.org> |
| 7703 | Adjust for the change of struct glyph_string. | 7703 | |
| 7704 | 7704 | * w32term.c (x_set_glyph_string_clipping): Use | |
| 7705 | * w32font.c (w32font_draw): Do clipping here. | 7705 | get_glyph_string_clip_rects. |
| 7706 | 7706 | (x_set_glyph_string_clipping_exactly, x_draw_glyph_string): | |
| 7707 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 7707 | Adjust for the change of struct glyph_string. |
| 7708 | 7708 | ||
| 7709 | * xftfont.c (xftfont_draw): Adjust for the change of struct | 7709 | * w32font.c (w32font_draw): Do clipping here. |
| 7710 | glyph_string. | 7710 | |
| 7711 | 7711 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 7712 | * xterm.c (x_set_glyph_string_clipping): Use | 7712 | |
| 7713 | get_glyph_string_clip_rects. | 7713 | * xftfont.c (xftfont_draw): Adjust for the change of struct |
| 7714 | (x_set_glyph_string_clipping_exactly, x_draw_glyph_string): | 7714 | glyph_string. |
| 7715 | Adjust for the change of struct glyph_string. | 7715 | |
| 7716 | 7716 | * xterm.c (x_set_glyph_string_clipping): Use | |
| 7717 | * xdisp.c (get_glyph_string_clip_rects): Reflect s->row->clip to | 7717 | get_glyph_string_clip_rects. |
| 7718 | the resulting clip(s}. | 7718 | (x_set_glyph_string_clipping_exactly, x_draw_glyph_string): |
| 7719 | (expose_overlaps): Add arg r. Change callers. Set it to | 7719 | Adjust for the change of struct glyph_string. |
| 7720 | row->clip temporarily. | 7720 | |
| 7721 | (expose_window): Redraw rows overlapping the exposed area. | 7721 | * xdisp.c (get_glyph_string_clip_rects): Reflect s->row->clip to |
| 7722 | 7722 | the resulting clip(s}. | |
| 7723 | * dispextern.h (struct glyph_row): New member clip. | 7723 | (expose_overlaps): Add arg r. Change callers. Set it to |
| 7724 | (struct glyph_string): Delete members clip_x, clip_y, clip_width, | 7724 | row->clip temporarily. |
| 7725 | clip_height, new member clip, and num_clips. | 7725 | (expose_window): Redraw rows overlapping the exposed area. |
| 7726 | 7726 | ||
| 7727 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 7727 | * dispextern.h (struct glyph_row): New member clip. |
| 7728 | 7728 | (struct glyph_string): Delete members clip_x, clip_y, clip_width, | |
| 7729 | * data.c (Fchar_or_string_p): Fix docstring. | 7729 | clip_height, new member clip, and num_clips. |
| 7730 | 7730 | ||
| 7731 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 7731 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 7732 | 7732 | ||
| 7733 | * xftfont.c (xftfont_draw): If s->font_info != s->face->font_info, | 7733 | * data.c (Fchar_or_string_p): Fix docstring. |
| 7734 | create a temporary XftDraw object. | 7734 | |
| 7735 | 7735 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 7736 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 7736 | |
| 7737 | 7737 | * xftfont.c (xftfont_draw): If s->font_info != s->face->font_info, | |
| 7738 | * font.c (Ffontp): Fix docstring. | 7738 | create a temporary XftDraw object. |
| 7739 | 7739 | ||
| 7740 | * coding.c (detect_coding_iso_2022): Don't treat SI/SO codes as a | 7740 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 7741 | strong evidence of ISO-2022. | 7741 | |
| 7742 | 7742 | * font.c (Ffontp): Fix docstring. | |
| 7743 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 7743 | |
| 7744 | 7744 | * coding.c (detect_coding_iso_2022): Don't treat SI/SO codes as a | |
| 7745 | * abbrev.c (abbrev_check_chars): Use CHAR_TABLE_REF, not | 7745 | strong evidence of ISO-2022. |
| 7746 | SYNTAX_ENTRY_FOLLOW_PARENT. | 7746 | |
| 7747 | 7747 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 7748 | 2008-02-01 Stefan Monnier <monnier@iro.umontreal.ca> | 7748 | |
| 7749 | 7749 | * abbrev.c (abbrev_check_chars): Use CHAR_TABLE_REF, not | |
| 7750 | * fns.c (weak_hash_tables): Rename from Vweak_hash_tables and change | 7750 | SYNTAX_ENTRY_FOLLOW_PARENT. |
| 7751 | its type. | 7751 | |
| 7752 | (make_hash_table, copy_hash_table, sweep_weak_hash_tables, init_fns): | 7752 | 2008-02-01 Stefan Monnier <monnier@iro.umontreal.ca> |
| 7753 | Update to the new type of weak_hash_tables and next_weak. | 7753 | |
| 7754 | 7754 | * fns.c (weak_hash_tables): Rename from Vweak_hash_tables and change | |
| 7755 | * lisp.h (struct Lisp_Hash_Table): Change next_weak from Lisp_Object to | 7755 | its type. |
| 7756 | a plain C pointer to Lisp_Hash_Table. | 7756 | (make_hash_table, copy_hash_table, sweep_weak_hash_tables, init_fns): |
| 7757 | 7757 | Update to the new type of weak_hash_tables and next_weak. | |
| 7758 | * lisp.h (XGCTYPE, GC_HASH_TABLE_P, GC_NILP, GC_NUMBERP, GC_NATNUMP) | 7758 | |
| 7759 | (GC_INTEGERP, GC_SYMBOLP, GC_MISCP, GC_VECTORLIKEP, GC_STRINGP) | 7759 | * lisp.h (struct Lisp_Hash_Table): Change next_weak from Lisp_Object to |
| 7760 | (GC_CONSP, GC_FLOATP, GC_VECTORP, GC_OVERLAYP, GC_MARKERP) | 7760 | a plain C pointer to Lisp_Hash_Table. |
| 7761 | (GC_INTFWDP, GC_BOOLFWDP, GC_OBJFWDP, GC_BUFFER_OBJFWDP) | 7761 | |
| 7762 | (GC_BUFFER_LOCAL_VALUEP, GC_SOME_BUFFER_LOCAL_VALUEP) | 7762 | * lisp.h (XGCTYPE, GC_HASH_TABLE_P, GC_NILP, GC_NUMBERP, GC_NATNUMP) |
| 7763 | (GC_KBOARD_OBJFWDP, GC_PSEUDOVECTORP, GC_WINDOW_CONFIGURATIONP) | 7763 | (GC_INTEGERP, GC_SYMBOLP, GC_MISCP, GC_VECTORLIKEP, GC_STRINGP) |
| 7764 | (GC_PROCESSP, GC_WINDOWP, GC_SUBRP, GC_COMPILEDP, GC_BUFFERP) | 7764 | (GC_CONSP, GC_FLOATP, GC_VECTORP, GC_OVERLAYP, GC_MARKERP) |
| 7765 | (GC_SUB_CHAR_TABLE_P, GC_CHAR_TABLE_P, GC_BOOL_VECTOR_P, GC_FRAMEP) | 7765 | (GC_INTFWDP, GC_BOOLFWDP, GC_OBJFWDP, GC_BUFFER_OBJFWDP) |
| 7766 | (GC_EQ): Remove since they've been identical to their non-GC_ | 7766 | (GC_BUFFER_LOCAL_VALUEP, GC_SOME_BUFFER_LOCAL_VALUEP) |
| 7767 | alter-egos ever since the markbit was eradicated. | 7767 | (GC_KBOARD_OBJFWDP, GC_PSEUDOVECTORP, GC_WINDOW_CONFIGURATIONP) |
| 7768 | 7768 | (GC_PROCESSP, GC_WINDOWP, GC_SUBRP, GC_COMPILEDP, GC_BUFFERP) | |
| 7769 | * alloc.c: | 7769 | (GC_SUB_CHAR_TABLE_P, GC_CHAR_TABLE_P, GC_BOOL_VECTOR_P, GC_FRAMEP) |
| 7770 | * buffer.c: | 7770 | (GC_EQ): Remove since they've been identical to their non-GC_ |
| 7771 | * buffer.h: | 7771 | alter-egos ever since the markbit was eradicated. |
| 7772 | * data.c: | 7772 | |
| 7773 | * fileio.c: | 7773 | * alloc.c: |
| 7774 | * filelock.c: | 7774 | * buffer.c: |
| 7775 | * fns.c: | 7775 | * buffer.h: |
| 7776 | * frame.h: | 7776 | * data.c: |
| 7777 | * lisp.h: | 7777 | * fileio.c: |
| 7778 | * macterm.c: | 7778 | * filelock.c: |
| 7779 | * print.c: | 7779 | * fns.c: |
| 7780 | * process.c: | 7780 | * frame.h: |
| 7781 | * w32fns.c: | 7781 | * lisp.h: |
| 7782 | * w32menu.c: | 7782 | * macterm.c: |
| 7783 | * w32term.c: | 7783 | * print.c: |
| 7784 | * xfns.c: | 7784 | * process.c: |
| 7785 | * xmenu.c: | 7785 | * w32fns.c: |
| 7786 | * xterm.c: Replace uses of GC_* macros with the non-GC_ versions. | 7786 | * w32menu.c: |
| 7787 | 7787 | * w32term.c: | |
| 7788 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 7788 | * xfns.c: |
| 7789 | 7789 | * xmenu.c: | |
| 7790 | * chartab.c (map_sub_char_table): Make it work for the top-level | 7790 | * xterm.c: Replace uses of GC_* macros with the non-GC_ versions. |
| 7791 | char-table. Fix handling of parent char-table. | 7791 | |
| 7792 | (map_char_table): Adjust for the above change. | 7792 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 7793 | 7793 | ||
| 7794 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 7794 | * chartab.c (map_sub_char_table): Make it work for the top-level |
| 7795 | 7795 | char-table. Fix handling of parent char-table. | |
| 7796 | * w32font.c (Qgdi): Rename from Qw32. | 7796 | (map_char_table): Adjust for the above change. |
| 7797 | 7797 | ||
| 7798 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 7798 | 2008-02-01 Jason Rumney <jasonr@gnu.org> |
| 7799 | 7799 | ||
| 7800 | * w32bdf.c (get_quoted_string): Make function static. | 7800 | * w32font.c (Qgdi): Rename from Qw32. |
| 7801 | 7801 | ||
| 7802 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 7802 | 2008-02-01 Jason Rumney <jasonr@gnu.org> |
| 7803 | 7803 | ||
| 7804 | * xftfont.c (xftfont_open): If one of font's ASCII glyph has | 7804 | * w32bdf.c (get_quoted_string): Make function static. |
| 7805 | bigger ascent and descent than those of the font, use them as | 7805 | |
| 7806 | font's ascent and descent. | 7806 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 7807 | 7807 | ||
| 7808 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 7808 | * xftfont.c (xftfont_open): If one of font's ASCII glyph has |
| 7809 | 7809 | bigger ascent and descent than those of the font, use them as | |
| 7810 | * Makefile.in (${lispsource}international/charprop.el): Move this | 7810 | font's ascent and descent. |
| 7811 | target within "#ifdef HAVE_UNIDATA" and "#endif". | 7811 | |
| 7812 | 7812 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 7813 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 7813 | |
| 7814 | 7814 | * Makefile.in (${lispsource}international/charprop.el): Move this | |
| 7815 | * Makefile.in (lisp): Add ${lispsource}language/tai-viet.el. | 7815 | target within "#ifdef HAVE_UNIDATA" and "#endif". |
| 7816 | (shortlisp): Add ../lisp/language/tai-viet.el. | 7816 | |
| 7817 | 7817 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 7818 | 2008-02-01 Ulrich Mueller <ulm@gentoo.org> | 7818 | |
| 7819 | 7819 | * Makefile.in (lisp): Add ${lispsource}language/tai-viet.el. | |
| 7820 | * Makefile.in (${lispsource}international/charprop.el): Depend on | 7820 | (shortlisp): Add ../lisp/language/tai-viet.el. |
| 7821 | temacs${EXEEXT}. | 7821 | |
| 7822 | 7822 | 2008-02-01 Ulrich Mueller <ulm@gentoo.org> | |
| 7823 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 7823 | |
| 7824 | 7824 | * Makefile.in (${lispsource}international/charprop.el): Depend on | |
| 7825 | * w32font.c (w32font_close): Delete the GDI font object. | 7825 | temacs${EXEEXT}. |
| 7826 | 7826 | ||
| 7827 | * w32menu.c: Include character.h. | 7827 | 2008-02-01 Jason Rumney <jasonr@gnu.org> |
| 7828 | 7828 | ||
| 7829 | * w32proc.c: Likewise. | 7829 | * w32font.c (w32font_close): Delete the GDI font object. |
| 7830 | 7830 | ||
| 7831 | * w32select.c: Likewise. | 7831 | * w32menu.c: Include character.h. |
| 7832 | 7832 | ||
| 7833 | * makefile.w32-in (w32proc.o): Depend on character.h. | 7833 | * w32proc.c: Likewise. |
| 7834 | 7834 | ||
| 7835 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 7835 | * w32select.c: Likewise. |
| 7836 | 7836 | ||
| 7837 | * w32fns.c (syms_of_w32fns): Use DEFSYM macro. | 7837 | * makefile.w32-in (w32proc.o): Depend on character.h. |
| 7838 | 7838 | ||
| 7839 | * w32menu.c (syms_of_w32menu): Likewise. | 7839 | 2008-02-01 Jason Rumney <jasonr@gnu.org> |
| 7840 | 7840 | ||
| 7841 | * w32proc.c (syms_of_ntproc): Likewise. | 7841 | * w32fns.c (syms_of_w32fns): Use DEFSYM macro. |
| 7842 | 7842 | ||
| 7843 | * w32select.c (syms_of_w32select): Likewise. | 7843 | * w32menu.c (syms_of_w32menu): Likewise. |
| 7844 | 7844 | ||
| 7845 | * w32term.c (syms_of_w32term): Likewise. | 7845 | * w32proc.c (syms_of_ntproc): Likewise. |
| 7846 | 7846 | ||
| 7847 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 7847 | * w32select.c (syms_of_w32select): Likewise. |
| 7848 | 7848 | ||
| 7849 | * w32font.c (w32font_draw): Delete brush after using it. | 7849 | * w32term.c (syms_of_w32term): Likewise. |
| 7850 | 7850 | ||
| 7851 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 7851 | 2008-02-01 Jason Rumney <jasonr@gnu.org> |
| 7852 | 7852 | ||
| 7853 | * w32font.c (w32font_open): Don't set font_idx. | 7853 | * w32font.c (w32font_draw): Delete brush after using it. |
| 7854 | (w32font_text_extents): Try GetTextExtentPoint32W before defaulting | 7854 | |
| 7855 | to font settings. | 7855 | 2008-02-01 Jason Rumney <jasonr@gnu.org> |
| 7856 | (w32font_draw): Fill background explicitly. | 7856 | |
| 7857 | 7857 | * w32font.c (w32font_open): Don't set font_idx. | |
| 7858 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 7858 | (w32font_text_extents): Try GetTextExtentPoint32W before defaulting |
| 7859 | 7859 | to font settings. | |
| 7860 | * w32term.c (w32_initialize): Don't call w32font_initialize. | 7860 | (w32font_draw): Fill background explicitly. |
| 7861 | 7861 | ||
| 7862 | * w32font.c (w32font_info): Remove subranges. | 7862 | 2008-02-01 Jason Rumney <jasonr@gnu.org> |
| 7863 | (QCsubranges, Qmodern, Qswiss, Qroman): Remove. | 7863 | |
| 7864 | (QCfamily, Qmonospace, Qsans_serif, Qmono, Qsans, Qsans__serif) | 7864 | * w32term.c (w32_initialize): Don't call w32font_initialize. |
| 7865 | (Qraster, Qoutline, Qlatin, Qgreek, Qcoptic, Qcyrillic, Qarmenian) | 7865 | |
| 7866 | (Qhebrew, Qarabic, Qsyriac, Qnko, Qthaana, Qdevanagari, Qbengali) | 7866 | * w32font.c (w32font_info): Remove subranges. |
| 7867 | (Qgurmukhi, Qgujarati, Qoriya, Qtamil, Qtelugu, Qkannada) | 7867 | (QCsubranges, Qmodern, Qswiss, Qroman): Remove. |
| 7868 | (Qmalayalam, Qsinhala, Qthai, Qlao, Qtibetan, Qmyanmar, Qgeorgian) | 7868 | (QCfamily, Qmonospace, Qsans_serif, Qmono, Qsans, Qsans__serif) |
| 7869 | (Qhangul, Qethiopic, Qcherokee, Qcanadian_aboriginal, Qogham) | 7869 | (Qraster, Qoutline, Qlatin, Qgreek, Qcoptic, Qcyrillic, Qarmenian) |
| 7870 | (Qrunic, Qkhmer, Qmongolian, Qsymbol, Qbraille, Qhan) | 7870 | (Qhebrew, Qarabic, Qsyriac, Qnko, Qthaana, Qdevanagari, Qbengali) |
| 7871 | (Qideographic_description, Qcjk_misc, Qkana, Qbopomofo, Qkanbun) | 7871 | (Qgurmukhi, Qgujarati, Qoriya, Qtamil, Qtelugu, Qkannada) |
| 7872 | (Qyi, Qbyzantine_musical_symbol, Qmusical_symbol, Qmathematical): | 7872 | (Qmalayalam, Qsinhala, Qthai, Qlao, Qtibetan, Qmyanmar, Qgeorgian) |
| 7873 | New symbols. | 7873 | (Qhangul, Qethiopic, Qcherokee, Qcanadian_aboriginal, Qogham) |
| 7874 | (font_callback_data): New struct. | 7874 | (Qrunic, Qkhmer, Qmongolian, Qsymbol, Qbraille, Qhan) |
| 7875 | (w32font_list, w32font_match): Use it. | 7875 | (Qideographic_description, Qcjk_misc, Qkana, Qbopomofo, Qkanbun) |
| 7876 | (w32font_open): Don't populate subranges. | 7876 | (Qyi, Qbyzantine_musical_symbol, Qmusical_symbol, Qmathematical): |
| 7877 | (w32font_has_char): Use script Lisp symbols, not subrange bitmask. | 7877 | New symbols. |
| 7878 | (w32font_encode_char): Always return unicode code-point as-is. | 7878 | (font_callback_data): New struct. |
| 7879 | (w32font_text_extents): Supply a transformation matrix to | 7879 | (w32font_list, w32font_match): Use it. |
| 7880 | GetGlyphOutline. Never look up by glyph index. Avoid looping | 7880 | (w32font_open): Don't populate subranges. |
| 7881 | twice. Use unicode version of GetTexExtentPoint32 instead of | 7881 | (w32font_has_char): Use script Lisp symbols, not subrange bitmask. |
| 7882 | glyph index version. | 7882 | (w32font_encode_char): Always return unicode code-point as-is. |
| 7883 | (set_fonts_frame): Remove. | 7883 | (w32font_text_extents): Supply a transformation matrix to |
| 7884 | (w32_enumfont_pattern_entity): Add frame parameter, use it to | 7884 | GetGlyphOutline. Never look up by glyph index. Avoid looping |
| 7885 | set frame parameter. Use backward compatible fake foundries. | 7885 | twice. Use unicode version of GetTexExtentPoint32 instead of |
| 7886 | Save generic family in extra slot under QCfamily. Make width slot | 7886 | glyph index version. |
| 7887 | constant. Save QCspacing value. Save list of scripts instead of | 7887 | (set_fonts_frame): Remove. |
| 7888 | binary subranges. | 7888 | (w32_enumfont_pattern_entity): Add frame parameter, use it to |
| 7889 | (w32_generic_family, logfonts_match, font_matches_spec): New functions. | 7889 | set frame parameter. Use backward compatible fake foundries. |
| 7890 | (add_font_entity_to_list): Use font_callback_data struct. Filter | 7890 | Save generic family in extra slot under QCfamily. Make width slot |
| 7891 | unwanted fonts. | 7891 | constant. Save QCspacing value. Save list of scripts instead of |
| 7892 | (add_one_font_entity_to_list): Use font_callback_data struct. | 7892 | binary subranges. |
| 7893 | (w32_registry): Default to iso10646_1. | 7893 | (w32_generic_family, logfonts_match, font_matches_spec): New functions. |
| 7894 | (fill_in_logfont): Use dpi from extra slot. Don't bother with | 7894 | (add_font_entity_to_list): Use font_callback_data struct. Filter |
| 7895 | string font registries. Don't fill in font name if it is a generic | 7895 | unwanted fonts. |
| 7896 | family name, fill family instead. Use spacing, family and script | 7896 | (add_one_font_entity_to_list): Use font_callback_data struct. |
| 7897 | extra info to fill pitch, family and charset fields. | 7897 | (w32_registry): Default to iso10646_1. |
| 7898 | (list_all_matching_fonts): Use font_callback_data struct. | 7898 | (fill_in_logfont): Use dpi from extra slot. Don't bother with |
| 7899 | (unicode_range_for_char): Remove. | 7899 | string font registries. Don't fill in font name if it is a generic |
| 7900 | (font_supported_scripts): New function. | 7900 | family name, fill family instead. Use spacing, family and script |
| 7901 | (w32font_initialize): Remove. | 7901 | extra info to fill pitch, family and charset fields. |
| 7902 | (syms_of_w32font): Update which symbols are defined. | 7902 | (list_all_matching_fonts): Use font_callback_data struct. |
| 7903 | 7903 | (unicode_range_for_char): Remove. | |
| 7904 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 7904 | (font_supported_scripts): New function. |
| 7905 | 7905 | (w32font_initialize): Remove. | |
| 7906 | * font.c (font_pixel_size): Reverse assq_no_quit args. | 7906 | (syms_of_w32font): Update which symbols are defined. |
| 7907 | 7907 | ||
| 7908 | * w32term.h (FONT_WIDTH): Report max width, not average. | 7908 | 2008-02-01 Jason Rumney <jasonr@gnu.org> |
| 7909 | (FONT_MAX_WIDTH): Remove. | 7909 | |
| 7910 | (FONT_AVG_WIDTH): New macro. | 7910 | * font.c (font_pixel_size): Reverse assq_no_quit args. |
| 7911 | 7911 | ||
| 7912 | * xfaces.c (Fx_list_fonts) [WINDOWSNT]: Remove Windows only | 7912 | * w32term.h (FONT_WIDTH): Report max width, not average. |
| 7913 | redefinition of FONT_WIDTH. | 7913 | (FONT_MAX_WIDTH): Remove. |
| 7914 | 7914 | (FONT_AVG_WIDTH): New macro. | |
| 7915 | * w32term.c (x_font_min_bounds): Use FONT_AVG_WIDTH. | 7915 | |
| 7916 | (w32_cache_char_metrics): Use FONT_WIDTH. | 7916 | * xfaces.c (Fx_list_fonts) [WINDOWSNT]: Remove Windows only |
| 7917 | 7917 | redefinition of FONT_WIDTH. | |
| 7918 | * w32fns.c (w32_load_system_font, w32_list_fonts): Use FONT_AVG_WIDTH. | 7918 | |
| 7919 | 7919 | * w32term.c (x_font_min_bounds): Use FONT_AVG_WIDTH. | |
| 7920 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 7920 | (w32_cache_char_metrics): Use FONT_WIDTH. |
| 7921 | 7921 | ||
| 7922 | * w32font.c (w32font_open): Make lfHeight negative. | 7922 | * w32fns.c (w32_load_system_font, w32_list_fonts): Use FONT_AVG_WIDTH. |
| 7923 | 7923 | ||
| 7924 | * w32fns.c (x_default_font_parameter): Use new style font name. | 7924 | 2008-02-01 Jason Rumney <jasonr@gnu.org> |
| 7925 | (Fx_create_frame, x_create_tip_frame): Initialize resx and resy. | 7925 | |
| 7926 | 7926 | * w32font.c (w32font_open): Make lfHeight negative. | |
| 7927 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 7927 | |
| 7928 | 7928 | * w32fns.c (x_default_font_parameter): Use new style font name. | |
| 7929 | * w32font.c (QCsubranges): New symbol. | 7929 | (Fx_create_frame, x_create_tip_frame): Initialize resx and resy. |
| 7930 | (w32font_open, w32font_has_char): Get subranges from subproperty | 7930 | |
| 7931 | of extra. | 7931 | 2008-02-01 Jason Rumney <jasonr@gnu.org> |
| 7932 | (w32_enumfont_pattern_entity): Set subranges as subproperty of extra. | 7932 | |
| 7933 | (syms_of_w32font): Define :subranges symbol. | 7933 | * w32font.c (QCsubranges): New symbol. |
| 7934 | 7934 | (w32font_open, w32font_has_char): Get subranges from subproperty | |
| 7935 | * font.c (font_put_extra): Expose externally. | 7935 | of extra. |
| 7936 | 7936 | (w32_enumfont_pattern_entity): Set subranges as subproperty of extra. | |
| 7937 | * font.h (font_put_extra): Move declaration from font.c. | 7937 | (syms_of_w32font): Define :subranges symbol. |
| 7938 | 7938 | ||
| 7939 | * font.c (Ffont_get): Use font driver to determine otf capability. | 7939 | * font.c (font_put_extra): Expose externally. |
| 7940 | (adjust_anchor): Check if driver defines anchor_point before using. | 7940 | |
| 7941 | 7941 | * font.h (font_put_extra): Move declaration from font.c. | |
| 7942 | * w32font.c (w32font_open): Handle size, height and pixel_size better. | 7942 | |
| 7943 | (w32font_draw): Use options. | 7943 | * font.c (Ffont_get): Use font driver to determine otf capability. |
| 7944 | (w32_enumfont_pattern_entity): Set size to 0 for scalable fonts. | 7944 | (adjust_anchor): Check if driver defines anchor_point before using. |
| 7945 | Fix detection of truetype fonts. | 7945 | |
| 7946 | (registry_to_w32_charset): Handle charsets other than iso8859-1 | 7946 | * w32font.c (w32font_open): Handle size, height and pixel_size better. |
| 7947 | expressed as lisp symbols. | 7947 | (w32font_draw): Use options. |
| 7948 | (w32_registry): Express charset as lisp symbol. | 7948 | (w32_enumfont_pattern_entity): Set size to 0 for scalable fonts. |
| 7949 | (fill_in_logfont): Reverse pixel and point height logic. | 7949 | Fix detection of truetype fonts. |
| 7950 | Don't set width here. Set quality to default. | 7950 | (registry_to_w32_charset): Handle charsets other than iso8859-1 |
| 7951 | 7951 | expressed as lisp symbols. | |
| 7952 | * w32fns.c (w32_load_system_font): Fix detecting FIXED_PITCH fonts. | 7952 | (w32_registry): Express charset as lisp symbol. |
| 7953 | (x_to_w32_font): Fill in lfPitchAndFamily correctly. | 7953 | (fill_in_logfont): Reverse pixel and point height logic. |
| 7954 | 7954 | Don't set width here. Set quality to default. | |
| 7955 | * xterm.c (x_draw_glyph_string_foreground) [USE_FONT_BACKEND]: | 7955 | |
| 7956 | Remove redundant loop and allocation. | 7956 | * w32fns.c (w32_load_system_font): Fix detecting FIXED_PITCH fonts. |
| 7957 | 7957 | (x_to_w32_font): Fill in lfPitchAndFamily correctly. | |
| 7958 | * makefile.w32-in (font.o, w32font.o): New objects. | 7958 | |
| 7959 | (fontset.o, xdisp.o, xfaces.o, w32fns.o, w32term.o): Depend on font.h. | 7959 | * xterm.c (x_draw_glyph_string_foreground) [USE_FONT_BACKEND]: |
| 7960 | (FONTOBJ): New group of objects conditioned on USE_FONT_BACKEND. | 7960 | Remove redundant loop and allocation. |
| 7961 | 7961 | ||
| 7962 | * xdisp.c (fill_composite_glyph_string): Make the first arg to | 7962 | * makefile.w32-in (font.o, w32font.o): New objects. |
| 7963 | STORE_XCHARB a valid l-value. | 7963 | (fontset.o, xdisp.o, xfaces.o, w32fns.o, w32term.o): Depend on font.h. |
| 7964 | 7964 | (FONTOBJ): New group of objects conditioned on USE_FONT_BACKEND. | |
| 7965 | * w32term.c (w32_native_per_char_metric): Swap width and rbearing | 7965 | |
| 7966 | calculations for non-Truetype fonts. | 7966 | * xdisp.c (fill_composite_glyph_string): Make the first arg to |
| 7967 | (x_draw_glyph_string): Sync with xterm.c. | 7967 | STORE_XCHARB a valid l-value. |
| 7968 | (x_draw_glyph_string_foreground) [USE_FONT_BACKEND]: | 7968 | |
| 7969 | Remove redundant code. | 7969 | * w32term.c (w32_native_per_char_metric): Swap width and rbearing |
| 7970 | (w32_initialize) [USE_FONT_BACKEND]: Call w32font_initialize. | 7970 | calculations for non-Truetype fonts. |
| 7971 | 7971 | (x_draw_glyph_string): Sync with xterm.c. | |
| 7972 | * w32term.h (w32_output_data) [USE_FONT_BACKEND]: Add fontp member. | 7972 | (x_draw_glyph_string_foreground) [USE_FONT_BACKEND]: |
| 7973 | (FRAME_FONT_OBJECT) [USE_FONT_BACKEND]: New macro from xterm.h. | 7973 | Remove redundant code. |
| 7974 | 7974 | (w32_initialize) [USE_FONT_BACKEND]: Call w32font_initialize. | |
| 7975 | * w32fns.c [USE_FONT_BACKEND]: Port font backend changes from xfns.c. | 7975 | |
| 7976 | (x_to_w32_charset, w32_to_x_charset): Expose externally. | 7976 | * w32term.h (w32_output_data) [USE_FONT_BACKEND]: Add fontp member. |
| 7977 | 7977 | (FRAME_FONT_OBJECT) [USE_FONT_BACKEND]: New macro from xterm.h. | |
| 7978 | * w32font.c: New file for w32 font backend. | 7978 | |
| 7979 | 7979 | * w32fns.c [USE_FONT_BACKEND]: Port font backend changes from xfns.c. | |
| 7980 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 7980 | (x_to_w32_charset, w32_to_x_charset): Expose externally. |
| 7981 | 7981 | ||
| 7982 | * term.c: Don't include "buffer.h" twice. | 7982 | * w32font.c: New file for w32 font backend. |
| 7983 | 7983 | ||
| 7984 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 7984 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 7985 | 7985 | ||
| 7986 | * character.c (Funibyte_string): New function. | 7986 | * term.c: Don't include "buffer.h" twice. |
| 7987 | (syms_of_character): Defsubr it. | 7987 | |
| 7988 | 7988 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 7989 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 7989 | |
| 7990 | 7990 | * character.c (Funibyte_string): New function. | |
| 7991 | * w32term.c [USE_FONT_BACKEND]: | 7991 | (syms_of_character): Defsubr it. |
| 7992 | (x_get_font_repertory, note_mouse_movement, x_set_mouse_face_gc) | 7992 | |
| 7993 | (x_set_glyph_string_clipping, x_set_glyph_string_clipping_exactly) | 7993 | 2008-02-01 Jason Rumney <jasonr@gnu.org> |
| 7994 | (x_draw_glyph_string, x_draw_glyph_string_foreground) | 7994 | |
| 7995 | (x_draw_composite_glyph_string_foreground, x_new_fontset2) | 7995 | * w32term.c [USE_FONT_BACKEND]: |
| 7996 | (x_free_frame_resources): Sync with xterm.c. | 7996 | (x_get_font_repertory, note_mouse_movement, x_set_mouse_face_gc) |
| 7997 | 7997 | (x_set_glyph_string_clipping, x_set_glyph_string_clipping_exactly) | |
| 7998 | 2008-02-01 Andreas Schwab <schwab@suse.de> | 7998 | (x_draw_glyph_string, x_draw_glyph_string_foreground) |
| 7999 | 7999 | (x_draw_composite_glyph_string_foreground, x_new_fontset2) | |
| 8000 | * lread.c (read1): Use CHAR_TABLE_STANDARD_SLOTS to validate | 8000 | (x_free_frame_resources): Sync with xterm.c. |
| 8001 | char-table size. | 8001 | |
| 8002 | 8002 | 2008-02-01 Andreas Schwab <schwab@suse.de> | |
| 8003 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8003 | |
| 8004 | 8004 | * lread.c (read1): Use CHAR_TABLE_STANDARD_SLOTS to validate | |
| 8005 | * font.c (check_otf_features): Define it regardless of HAVE_LIBOTF. | 8005 | char-table size. |
| 8006 | 8006 | ||
| 8007 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8007 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8008 | 8008 | ||
| 8009 | * ftfont.c (ftfont_driver): Delete font_otf_gsub and | 8009 | * font.c (check_otf_features): Define it regardless of HAVE_LIBOTF. |
| 8010 | font_otf_gpos, add font_drive_otf. | 8010 | |
| 8011 | 8011 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 8012 | * fontset.c (fontset_find_font): Pay attention to font size | 8012 | |
| 8013 | specified for a font. | 8013 | * ftfont.c (ftfont_driver): Delete font_otf_gsub and |
| 8014 | (reorder_font_vector): Check contents of font_def. | 8014 | font_otf_gpos, add font_drive_otf. |
| 8015 | 8015 | ||
| 8016 | * font.c (struct otf_list): Delete it. | 8016 | * fontset.c (fontset_find_font): Pay attention to font size |
| 8017 | (otf_list): Make it a lisp variable. | 8017 | specified for a font. |
| 8018 | (otf_open): Use lispy otf_list. | 8018 | (reorder_font_vector): Check contents of font_def. |
| 8019 | (generate_otf_features): Rename from parse_gsub_gpos_spec. | 8019 | |
| 8020 | (check_otf_features): New function. | 8020 | * font.c (struct otf_list): Delete it. |
| 8021 | (font_otf_DeviceTable, font_otf_ValueRecord, font_otf_Anchor): | 8021 | (otf_list): Make it a lisp variable. |
| 8022 | New functions. | 8022 | (otf_open): Use lispy otf_list. |
| 8023 | (font_drive_otf): New function merging font_otf_gsub and | 8023 | (generate_otf_features): Rename from parse_gsub_gpos_spec. |
| 8024 | font_otf_gpos. | 8024 | (check_otf_features): New function. |
| 8025 | (font_open_for_lface): New arg spec. Change argument order. | 8025 | (font_otf_DeviceTable, font_otf_ValueRecord, font_otf_Anchor): |
| 8026 | (font_load_for_face): Adjust for the change of font_open_for_lface. | 8026 | New functions. |
| 8027 | (Ffont_drive_otf): New function merging Ffont_otf_gsub and | 8027 | (font_drive_otf): New function merging font_otf_gsub and |
| 8028 | Ffont_otf_gpos. | 8028 | font_otf_gpos. |
| 8029 | (syms_of_font): Staticpro otf_list. Delete defsubr of | 8029 | (font_open_for_lface): New arg spec. Change argument order. |
| 8030 | Sfont_otf_gsub and Sfont_otf_gpos. Defsubr Sfont_drive_otf. | 8030 | (font_load_for_face): Adjust for the change of font_open_for_lface. |
| 8031 | 8031 | (Ffont_drive_otf): New function merging Ffont_otf_gsub and | |
| 8032 | * xfaces.c (set_font_frame_param): Adjust for the change of | 8032 | Ffont_otf_gpos. |
| 8033 | font_open_for_lface. | 8033 | (syms_of_font): Staticpro otf_list. Delete defsubr of |
| 8034 | 8034 | Sfont_otf_gsub and Sfont_otf_gpos. Defsubr Sfont_drive_otf. | |
| 8035 | * font.h (font_open_for_lface): Adjust prototype. | 8035 | |
| 8036 | (struct font_driver): Delete members otf_gsub and otf_gpos, add | 8036 | * xfaces.c (set_font_frame_param): Adjust for the change of |
| 8037 | member otf_drive. | 8037 | font_open_for_lface. |
| 8038 | (font_otf_gsub, font_otf_gpos): Delete externs. | 8038 | |
| 8039 | (font_drive_otf): Extern it. | 8039 | * font.h (font_open_for_lface): Adjust prototype. |
| 8040 | 8040 | (struct font_driver): Delete members otf_gsub and otf_gpos, add | |
| 8041 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8041 | member otf_drive. |
| 8042 | 8042 | (font_otf_gsub, font_otf_gpos): Delete externs. | |
| 8043 | * font.c (font_at): If the window W is not on a window system, | 8043 | (font_drive_otf): Extern it. |
| 8044 | return Qnil. | 8044 | |
| 8045 | 8045 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 8046 | * coding.c (produce_chars, encode_coding): Don't call | 8046 | |
| 8047 | insert_from_gap if no characters to produce. | 8047 | * font.c (font_at): If the window W is not on a window system, |
| 8048 | 8048 | return Qnil. | |
| 8049 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8049 | |
| 8050 | 8050 | * coding.c (produce_chars, encode_coding): Don't call | |
| 8051 | * fontset.c (free_realized_fontsets): Avoid unnecessary call of | 8051 | insert_from_gap if no characters to produce. |
| 8052 | Fclear_face_cache. | 8052 | |
| 8053 | 8053 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 8054 | * xfaces.c (face_for_font): Check also face->font==font->font.font. | 8054 | |
| 8055 | 8055 | * fontset.c (free_realized_fontsets): Avoid unnecessary call of | |
| 8056 | 2008-02-01 Miles Bader <miles@gnu.org> | 8056 | Fclear_face_cache. |
| 8057 | 8057 | ||
| 8058 | * emacs.c (main): Change default value of `enable_font_backend' to 1. | 8058 | * xfaces.c (face_for_font): Check also face->font==font->font.font. |
| 8059 | Parse "--disable-font-backend" option. | 8059 | |
| 8060 | (standard_args): Add "--disable-font-backend" option. | 8060 | 2008-02-01 Miles Bader <miles@gnu.org> |
| 8061 | 8061 | ||
| 8062 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8062 | * emacs.c (main): Change default value of `enable_font_backend' to 1. |
| 8063 | 8063 | Parse "--disable-font-backend" option. | |
| 8064 | * fontset.c (fontset_find_font): New function. | 8064 | (standard_args): Add "--disable-font-backend" option. |
| 8065 | (fontset_font): Use fontset_find_font. | 8065 | |
| 8066 | (make_fontset_for_ascii_face): Don't set face ID in rfont_def. | 8066 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8067 | Register the specified font for all Latin characters. | 8067 | |
| 8068 | (new_fontset_from_font): Register the specified font for all Latin | 8068 | * fontset.c (fontset_find_font): New function. |
| 8069 | characters. | 8069 | (fontset_font): Use fontset_find_font. |
| 8070 | (dump_fontset): For a realized fontset, include the base fontset | 8070 | (make_fontset_for_ascii_face): Don't set face ID in rfont_def. |
| 8071 | name in the returned vector. | 8071 | Register the specified font for all Latin characters. |
| 8072 | 8072 | (new_fontset_from_font): Register the specified font for all Latin | |
| 8073 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8073 | characters. |
| 8074 | 8074 | (dump_fontset): For a realized fontset, include the base fontset | |
| 8075 | * character.h (CHAR_STRING): Cast C to unsigned on calling | 8075 | name in the returned vector. |
| 8076 | char_string. | 8076 | |
| 8077 | 8077 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 8078 | * character.c (char_string): Type of arg C changed to unsigned. | 8078 | |
| 8079 | Signal an error if C is an invalid character code. | 8079 | * character.h (CHAR_STRING): Cast C to unsigned on calling |
| 8080 | 8080 | char_string. | |
| 8081 | * editfns.c (general_insert_function, Fchar_to_string): | 8081 | |
| 8082 | Use CHARACTERP, not INTEGERP. | 8082 | * character.c (char_string): Type of arg C changed to unsigned. |
| 8083 | 8083 | Signal an error if C is an invalid character code. | |
| 8084 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8084 | |
| 8085 | 8085 | * editfns.c (general_insert_function, Fchar_to_string): | |
| 8086 | * character.h (MIN_MULTIBYTE_LEADING_CODE) | 8086 | Use CHARACTERP, not INTEGERP. |
| 8087 | (MAX_MULTIBYTE_LEADING_CODE): New macros. | 8087 | |
| 8088 | 8088 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 8089 | * regex.c (analyse_first): Fix for multibyte characters in "case | 8089 | |
| 8090 | charset:" and "case categoryspec:". | 8090 | * character.h (MIN_MULTIBYTE_LEADING_CODE) |
| 8091 | 8091 | (MAX_MULTIBYTE_LEADING_CODE): New macros. | |
| 8092 | 2008-02-01 Andreas Schwab <schwab@suse.de> | 8092 | |
| 8093 | 8093 | * regex.c (analyse_first): Fix for multibyte characters in "case | |
| 8094 | * Makefile.in (LIBES): Move standard libraries to the end. | 8094 | charset:" and "case categoryspec:". |
| 8095 | 8095 | ||
| 8096 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8096 | 2008-02-01 Andreas Schwab <schwab@suse.de> |
| 8097 | 8097 | ||
| 8098 | * alloc.c (Fgarbage_collect): If nextb->text->inhibit_shrinking is | 8098 | * Makefile.in (LIBES): Move standard libraries to the end. |
| 8099 | nonzero, don't shrink the buffer nextb. | 8099 | |
| 8100 | 8100 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 8101 | * buffer.h (struct buffer_text): New member inhibit_shrinking. | 8101 | |
| 8102 | 8102 | * alloc.c (Fgarbage_collect): If nextb->text->inhibit_shrinking is | |
| 8103 | * coding.c (coding_alloc_by_making_gap): New arg offset. | 8103 | nonzero, don't shrink the buffer nextb. |
| 8104 | (alloc_destination): Call coding_alloc_by_making_gap with the arg | 8104 | |
| 8105 | offset. | 8105 | * buffer.h (struct buffer_text): New member inhibit_shrinking. |
| 8106 | (decode_coding_iso_2022): Update coding->safe_charsets. | 8106 | |
| 8107 | (decode_coding_gap): Temporarily set | 8107 | * coding.c (coding_alloc_by_making_gap): New arg offset. |
| 8108 | current_buffer->text->inhibit_shrinking to 1. | 8108 | (alloc_destination): Call coding_alloc_by_making_gap with the arg |
| 8109 | 8109 | offset. | |
| 8110 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8110 | (decode_coding_iso_2022): Update coding->safe_charsets. |
| 8111 | 8111 | (decode_coding_gap): Temporarily set | |
| 8112 | * xterm.c (x_draw_composite_glyph_string_foreground): Fix | 8112 | current_buffer->text->inhibit_shrinking to 1. |
| 8113 | indexing into elements of s->cmp and s->char2b. | 8113 | |
| 8114 | 8114 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 8115 | 2008-02-01 Juanma Barranquero <lekktu@gmail.com> | 8115 | |
| 8116 | 8116 | * xterm.c (x_draw_composite_glyph_string_foreground): Fix | |
| 8117 | * regex.c (RE_STRING_CHAR_AND_LENGTH) [! emacs]: Add missing arg `len'. | 8117 | indexing into elements of s->cmp and s->char2b. |
| 8118 | 8118 | ||
| 8119 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8119 | 2008-02-01 Juanma Barranquero <lekktu@gmail.com> |
| 8120 | 8120 | ||
| 8121 | * regex.c (GET_CHAR_BEFORE_2, GET_CHAR_AFTER): Check the variable | 8121 | * regex.c (RE_STRING_CHAR_AND_LENGTH) [! emacs]: Add missing arg `len'. |
| 8122 | target_multibyte instead of multibyte. | 8122 | |
| 8123 | (re_match_2_internal): Call bcmp_translate with target_multibyte. | 8123 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8124 | (bcmp_translate): Change the argument name from multibyte to | 8124 | |
| 8125 | target_multibyte. | 8125 | * regex.c (GET_CHAR_BEFORE_2, GET_CHAR_AFTER): Check the variable |
| 8126 | 8126 | target_multibyte instead of multibyte. | |
| 8127 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8127 | (re_match_2_internal): Call bcmp_translate with target_multibyte. |
| 8128 | 8128 | (bcmp_translate): Change the argument name from multibyte to | |
| 8129 | These changes are to compile a regexp into a pattern that can be | 8129 | target_multibyte. |
| 8130 | used both for multibyte and unibyte targets. | 8130 | |
| 8131 | 8131 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 8132 | * Makefile.in (search.o): Depend on charset.h. | 8132 | |
| 8133 | 8133 | These changes are to compile a regexp into a pattern that can be | |
| 8134 | * character.c (multibyte_char_to_unibyte_safe): New function. | 8134 | used both for multibyte and unibyte targets. |
| 8135 | 8135 | ||
| 8136 | * search.c: Include "charset.h". | 8136 | * Makefile.in (search.o): Depend on charset.h. |
| 8137 | (compile_pattern_1): Delete argument multibyte. Don't set | 8137 | |
| 8138 | cp->buf.target_multibyte here. Set cp->buf.charset_unibyte. | 8138 | * character.c (multibyte_char_to_unibyte_safe): New function. |
| 8139 | (compile_pattern): Don't compare cp->buf.target_multibyte. | 8139 | |
| 8140 | Compare cp->buf.charset_unibyte. | 8140 | * search.c: Include "charset.h". |
| 8141 | (compile_pattern): Set cp->buf.target_multibyte. | 8141 | (compile_pattern_1): Delete argument multibyte. Don't set |
| 8142 | 8142 | cp->buf.target_multibyte here. Set cp->buf.charset_unibyte. | |
| 8143 | * lisp.h (multibyte_char_to_unibyte_safe): Extern it. | 8143 | (compile_pattern): Don't compare cp->buf.target_multibyte. |
| 8144 | 8144 | Compare cp->buf.charset_unibyte. | |
| 8145 | * regex.h (struct re_pattern_buffer): New member charset_unibyte. | 8145 | (compile_pattern): Set cp->buf.target_multibyte. |
| 8146 | 8146 | ||
| 8147 | * regex.c (RE_STRING_CHAR, RE_STRING_CHAR_AND_LENGTH): New arg | 8147 | * lisp.h (multibyte_char_to_unibyte_safe): Extern it. |
| 8148 | multibyte. Change callers. | 8148 | |
| 8149 | (RE_CHAR_TO_MULTIBYTE, RE_CHAR_TO_UNIBYTE): New macros. | 8149 | * regex.h (struct re_pattern_buffer): New member charset_unibyte. |
| 8150 | (MAKE_CHAR_MULTIBYTE, MAKE_CHAR_UNIBYTE): Delete. Change callers | 8150 | |
| 8151 | to use RE_CHAR_TO_MULTIBYTE and RE_CHAR_TO_UNIBYTE, respectively. | 8151 | * regex.c (RE_STRING_CHAR, RE_STRING_CHAR_AND_LENGTH): New arg |
| 8152 | (SETUP_ASCII_RANGE, SETUP_UNIBYTE_RANGE): New macros. | 8152 | multibyte. Change callers. |
| 8153 | (SETUP_MULTIBYTE_RANGE): Generate a more compact range_table. | 8153 | (RE_CHAR_TO_MULTIBYTE, RE_CHAR_TO_UNIBYTE): New macros. |
| 8154 | (regex_compile): Make the compiled pattern usable both for | 8154 | (MAKE_CHAR_MULTIBYTE, MAKE_CHAR_UNIBYTE): Delete. Change callers |
| 8155 | multibyte and unibyte targets. | 8155 | to use RE_CHAR_TO_MULTIBYTE and RE_CHAR_TO_UNIBYTE, respectively. |
| 8156 | (analyse_first): Make the fastmap usable both for multibyte and | 8156 | (SETUP_ASCII_RANGE, SETUP_UNIBYTE_RANGE): New macros. |
| 8157 | unibyte targets. | 8157 | (SETUP_MULTIBYTE_RANGE): Generate a more compact range_table. |
| 8158 | (TRANSLATE_VIA_MULTIBYTE): Delete. | 8158 | (regex_compile): Make the compiled pattern usable both for |
| 8159 | (re_match_2_internal): Pay attention to the case that the | 8159 | multibyte and unibyte targets. |
| 8160 | multibyteness of bufp and target may be different. | 8160 | (analyse_first): Make the fastmap usable both for multibyte and |
| 8161 | 8161 | unibyte targets. | |
| 8162 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8162 | (TRANSLATE_VIA_MULTIBYTE): Delete. |
| 8163 | 8163 | (re_match_2_internal): Pay attention to the case that the | |
| 8164 | * xdisp.c (x_produce_glyphs): When a font is not found, make the | 8164 | multibyteness of bufp and target may be different. |
| 8165 | empty box occupy at least one column width. | 8165 | |
| 8166 | 8166 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 8167 | 2008-02-01 Miles Bader <miles@gnu.org> | 8167 | |
| 8168 | 8168 | * xdisp.c (x_produce_glyphs): When a font is not found, make the | |
| 8169 | * Makefile.in: Remove redundant HAVE_XFT clause. | 8169 | empty box occupy at least one column width. |
| 8170 | 8170 | ||
| 8171 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8171 | 2008-02-01 Miles Bader <miles@gnu.org> |
| 8172 | 8172 | ||
| 8173 | * xrdb.c (x_load_resources): Setup the default fontSet X resource. | 8173 | * Makefile.in: Remove redundant HAVE_XFT clause. |
| 8174 | 8174 | ||
| 8175 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8175 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8176 | 8176 | ||
| 8177 | * fontset.c (Finternal_char_font): Fix for the case of POSITION | 8177 | * xrdb.c (x_load_resources): Setup the default fontSet X resource. |
| 8178 | being nil. | 8178 | |
| 8179 | 8179 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 8180 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8180 | |
| 8181 | 8181 | * fontset.c (Finternal_char_font): Fix for the case of POSITION | |
| 8182 | * xftfont.c (xftfont_open): Call FcConfigSubstitute. | 8182 | being nil. |
| 8183 | 8183 | ||
| 8184 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8184 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8185 | 8185 | ||
| 8186 | * xftfont.c (xftfont_open): Don't enable antialias explicitly. | 8186 | * xftfont.c (xftfont_open): Call FcConfigSubstitute. |
| 8187 | 8187 | ||
| 8188 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8188 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8189 | 8189 | ||
| 8190 | * search.c (simple_search): Fix previous change. | 8190 | * xftfont.c (xftfont_open): Don't enable antialias explicitly. |
| 8191 | 8191 | ||
| 8192 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8192 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8193 | 8193 | ||
| 8194 | * xftfont.c (ftfont_font_format): Extern declaration. | 8194 | * search.c (simple_search): Fix previous change. |
| 8195 | 8195 | ||
| 8196 | * frame.c (x_set_font): Fix the second arg to fs_query_fontset. | 8196 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8197 | 8197 | ||
| 8198 | * xfont.c (xfont_driver): Initialize ftfont_driver.type by 0. | 8198 | * xftfont.c (ftfont_font_format): Extern declaration. |
| 8199 | (xfont_list): Don't directly use Lisp_Object as an operand of &&. | 8199 | |
| 8200 | 8200 | * frame.c (x_set_font): Fix the second arg to fs_query_fontset. | |
| 8201 | * ftfont.c (ftfont_driver): Initialize ftfont_driver.type by 0. | 8201 | |
| 8202 | (ftfont_font_format): Fix previous change. | 8202 | * xfont.c (xfont_driver): Initialize ftfont_driver.type by 0. |
| 8203 | 8203 | (xfont_list): Don't directly use Lisp_Object as an operand of &&. | |
| 8204 | * font.h (Ffont_xlfd_name): EXFUN it. | 8204 | |
| 8205 | 8205 | * ftfont.c (ftfont_driver): Initialize ftfont_driver.type by 0. | |
| 8206 | * font.c (font_parse_xlfd): Fix the array size of `f'. | 8206 | (ftfont_font_format): Fix previous change. |
| 8207 | (register_font_driver): Use EQ to compare driver->type. | 8207 | |
| 8208 | 8208 | * font.h (Ffont_xlfd_name): EXFUN it. | |
| 8209 | * xfns.c (xic_create_xfontset2) [USE_FONT_BACKEND]: New function. | 8209 | |
| 8210 | (create_frame_xic) [USE_FONT_BACKEND]: Call xic_create_xfontset2. | 8210 | * font.c (font_parse_xlfd): Fix the array size of `f'. |
| 8211 | (xic_set_xfontset) [USE_FONT_BACKEND]: Likewise. | 8211 | (register_font_driver): Use EQ to compare driver->type. |
| 8212 | 8212 | ||
| 8213 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8213 | * xfns.c (xic_create_xfontset2) [USE_FONT_BACKEND]: New function. |
| 8214 | 8214 | (create_frame_xic) [USE_FONT_BACKEND]: Call xic_create_xfontset2. | |
| 8215 | * ftfont.c (ftfont_pattern_entity, ftfont_list_generic_family) | 8215 | (xic_set_xfontset) [USE_FONT_BACKEND]: Likewise. |
| 8216 | (ftfont_list, ftfont_font_format): Check if FC_FONTFORMAT is defined. | 8216 | |
| 8217 | 8217 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 8218 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8218 | |
| 8219 | 8219 | * ftfont.c (ftfont_pattern_entity, ftfont_list_generic_family) | |
| 8220 | * xfont.c (xfont_open): Set font->format. | 8220 | (ftfont_list, ftfont_font_format): Check if FC_FONTFORMAT is defined. |
| 8221 | 8221 | ||
| 8222 | * xftfont.c (xftfont_open): Set font->format. | 8222 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8223 | 8223 | ||
| 8224 | * ftfont.c (ftfont_pattern_entity): Add fontformat in a pattern. | 8224 | * xfont.c (xfont_open): Set font->format. |
| 8225 | (ftfont_list): Include FC_FONTFORMAT in FcObject. | 8225 | |
| 8226 | (ftfont_open): Set font->format. | 8226 | * xftfont.c (xftfont_open): Set font->format. |
| 8227 | (ftfont_font_format): New function. | 8227 | |
| 8228 | 8228 | * ftfont.c (ftfont_pattern_entity): Add fontformat in a pattern. | |
| 8229 | * font.h (struct font): New member format. | 8229 | (ftfont_list): Include FC_FONTFORMAT in FcObject. |
| 8230 | 8230 | (ftfont_open): Set font->format. | |
| 8231 | * font.c (Qopentype): New variable. | 8231 | (ftfont_font_format): New function. |
| 8232 | (syms_of_font): Defsym it. | 8232 | |
| 8233 | (Fquery_font): Change the format of the last element of the return | 8233 | * font.h (struct font): New member format. |
| 8234 | value. | 8234 | |
| 8235 | 8235 | * font.c (Qopentype): New variable. | |
| 8236 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8236 | (syms_of_font): Defsym it. |
| 8237 | 8237 | (Fquery_font): Change the format of the last element of the return | |
| 8238 | * xfns.c (xic_create_xfontset): Try the default fontset name as a | 8238 | value. |
| 8239 | last resort. | 8239 | |
| 8240 | 8240 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 8241 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8241 | |
| 8242 | 8242 | * xfns.c (xic_create_xfontset): Try the default fontset name as a | |
| 8243 | * coding.c (detect_coding_charset): Fix detection of multi-byte | 8243 | last resort. |
| 8244 | charset. | 8244 | |
| 8245 | 8245 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 8246 | 2008-02-01 Bob Halley <halley@play-bow.org> (tiny change) | 8246 | |
| 8247 | 8247 | * coding.c (detect_coding_charset): Fix detection of multi-byte | |
| 8248 | * ccl.c (ccl_driver): If DST is NULL, set ccl->produced to 0. | 8248 | charset. |
| 8249 | 8249 | ||
| 8250 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8250 | 2008-02-01 Bob Halley <halley@play-bow.org> (tiny change) |
| 8251 | 8251 | ||
| 8252 | * xdisp.c (get_next_display_element): Set it->face_id for the | 8252 | * ccl.c (ccl_driver): If DST is NULL, set ccl->produced to 0. |
| 8253 | first component of a composition. | 8253 | |
| 8254 | (x_produce_glyphs): Check if the font is changed or not for composition. | 8254 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8255 | 8255 | ||
| 8256 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8256 | * xdisp.c (get_next_display_element): Set it->face_id for the |
| 8257 | 8257 | first component of a composition. | |
| 8258 | * fontset.c (Qlatin): New variable. | 8258 | (x_produce_glyphs): Check if the font is changed or not for composition. |
| 8259 | (syms_of_fontset): Define it as a lisp symbol. | 8259 | |
| 8260 | (Fset_fontset_font): If TARGET is `latin', use FONT_SPEC for ASCII. | 8260 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8261 | 8261 | ||
| 8262 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8262 | * fontset.c (Qlatin): New variable. |
| 8263 | 8263 | (syms_of_fontset): Define it as a lisp symbol. | |
| 8264 | * font.c (font_unparse_fcname): Pay attention to the case that | 8264 | (Fset_fontset_font): If TARGET is `latin', use FONT_SPEC for ASCII. |
| 8265 | some of font property is a null string. | 8265 | |
| 8266 | 8266 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 8267 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8267 | |
| 8268 | 8268 | * font.c (font_unparse_fcname): Pay attention to the case that | |
| 8269 | * term.c: Include "composite.h". | 8269 | some of font property is a null string. |
| 8270 | (encode_terminal_code): Output all components of composition. | 8270 | |
| 8271 | Check the size of encode_terminal_src. | 8271 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8272 | (produce_glyphs): For composition, call produce_composite_glyph. | 8272 | |
| 8273 | (append_composite_glyph, produce_composite_glyph): New functions. | 8273 | * term.c: Include "composite.h". |
| 8274 | 8274 | (encode_terminal_code): Output all components of composition. | |
| 8275 | * xdisp.c (x_produce_glyphs): In handling composition, if a font | 8275 | Check the size of encode_terminal_src. |
| 8276 | is not found, get font_info from the current ascii face. | 8276 | (produce_glyphs): For composition, call produce_composite_glyph. |
| 8277 | 8277 | (append_composite_glyph, produce_composite_glyph): New functions. | |
| 8278 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8278 | |
| 8279 | 8279 | * xdisp.c (x_produce_glyphs): In handling composition, if a font | |
| 8280 | * fileio.c (Finsert_file_contents): On replacing, temporarily bind | 8280 | is not found, get font_info from the current ascii face. |
| 8281 | buffer-file-name to Qnil before calling insert_from_buffer. | 8281 | |
| 8282 | 8282 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 8283 | * font.c (font_unparse_fcname): Pay attention to the case that | 8283 | |
| 8284 | foundry is a null string. | 8284 | * fileio.c (Finsert_file_contents): On replacing, temporarily bind |
| 8285 | 8285 | buffer-file-name to Qnil before calling insert_from_buffer. | |
| 8286 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8286 | |
| 8287 | 8287 | * font.c (font_unparse_fcname): Pay attention to the case that | |
| 8288 | * ftfont.c (ftfont_list): Allow registry "unicode-sip". | 8288 | foundry is a null string. |
| 8289 | 8289 | ||
| 8290 | * font.c (Qunicode_sip): New variable. | 8290 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8291 | (syms_of_font): Declare it as a Lisp symbol. | 8291 | |
| 8292 | 8292 | * ftfont.c (ftfont_list): Allow registry "unicode-sip". | |
| 8293 | * font.h (Qunicode_sip): Extern it. | 8293 | |
| 8294 | 8294 | * font.c (Qunicode_sip): New variable. | |
| 8295 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8295 | (syms_of_font): Declare it as a Lisp symbol. |
| 8296 | 8296 | ||
| 8297 | * composite.c (get_composition_id): Pay attention to TAB component. | 8297 | * font.h (Qunicode_sip): Extern it. |
| 8298 | 8298 | ||
| 8299 | * xterm.c (x_draw_composite_glyph_string_foreground): Don't draw | 8299 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8300 | TAB. Adjust for the change of s->char2b which always points to | 8300 | |
| 8301 | the first element of allocated memory. | 8301 | * composite.c (get_composition_id): Pay attention to TAB component. |
| 8302 | 8302 | ||
| 8303 | * xftfont.c (xftfont_text_extents): Fix calculation of descent value. | 8303 | * xterm.c (x_draw_composite_glyph_string_foreground): Don't draw |
| 8304 | 8304 | TAB. Adjust for the change of s->char2b which always points to | |
| 8305 | * xdisp.c (handle_composition_prop): Set it->c to the first | 8305 | the first element of allocated memory. |
| 8306 | non-TAB component. | 8306 | |
| 8307 | (fill_composite_glyph_string): Change argument. | 8307 | * xftfont.c (xftfont_text_extents): Fix calculation of descent value. |
| 8308 | (BUILD_COMPOSITE_GLYPH_STRING): Adjust for the above change. | 8308 | |
| 8309 | (x_produce_glyphs): Fix handling of left/right padding. | 8309 | * xdisp.c (handle_composition_prop): Set it->c to the first |
| 8310 | 8310 | non-TAB component. | |
| 8311 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8311 | (fill_composite_glyph_string): Change argument. |
| 8312 | 8312 | (BUILD_COMPOSITE_GLYPH_STRING): Adjust for the above change. | |
| 8313 | * coding.c (detect_coding_system): Fix for handling off | 8313 | (x_produce_glyphs): Fix handling of left/right padding. |
| 8314 | inhibit_iso_escape_detection. Fix for the case that no coding | 8314 | |
| 8315 | system is defined for a specific coding category. | 8315 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8316 | 8316 | ||
| 8317 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8317 | * coding.c (detect_coding_system): Fix for handling off |
| 8318 | 8318 | inhibit_iso_escape_detection. Fix for the case that no coding | |
| 8319 | * font.c (font_matching_entity): Delete unused local var. | 8319 | system is defined for a specific coding category. |
| 8320 | 8320 | ||
| 8321 | * xftfont.c (xftfont_open): Call XftDefaultSubstitute before | 8321 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8322 | opening a font. | 8322 | |
| 8323 | 8323 | * font.c (font_matching_entity): Delete unused local var. | |
| 8324 | * fileio.c (Finsert_file_contents): On recovering a file, assume | 8324 | |
| 8325 | Unix-like eol. | 8325 | * xftfont.c (xftfont_open): Call XftDefaultSubstitute before |
| 8326 | (choose_write_coding_system): On auto-saving a file, force | 8326 | opening a font. |
| 8327 | Unix-like eol. | 8327 | |
| 8328 | 8328 | * fileio.c (Finsert_file_contents): On recovering a file, assume | |
| 8329 | * coding.c (setup_coding_system): Fix setting of | 8329 | Unix-like eol. |
| 8330 | coding->common_flags based on eol_type. | 8330 | (choose_write_coding_system): On auto-saving a file, force |
| 8331 | (coding_inherit_eol_type): If PARENT is not nil, be sure to | 8331 | Unix-like eol. |
| 8332 | inherit from it. | 8332 | |
| 8333 | 8333 | * coding.c (setup_coding_system): Fix setting of | |
| 8334 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8334 | coding->common_flags based on eol_type. |
| 8335 | 8335 | (coding_inherit_eol_type): If PARENT is not nil, be sure to | |
| 8336 | * alloc.c (NSTATICS): Increas to 0x600. | 8336 | inherit from it. |
| 8337 | 8337 | ||
| 8338 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8338 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8339 | 8339 | ||
| 8340 | * ftfont.c (ftfont_driver): Set ftfont_driver.match to ftfont_match. | 8340 | * alloc.c (NSTATICS): Increas to 0x600. |
| 8341 | (ftfont_list): Don't check :name property. | 8341 | |
| 8342 | (ftfont_match): New function. | 8342 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8343 | (ftfont_pattern_entity): If the pattern doesn't contain | 8343 | |
| 8344 | FC_SPACING, don't assume FC_MONO. | 8344 | * ftfont.c (ftfont_driver): Set ftfont_driver.match to ftfont_match. |
| 8345 | 8345 | (ftfont_list): Don't check :name property. | |
| 8346 | * font.h (struct font_driver): New member `match'. | 8346 | (ftfont_match): New function. |
| 8347 | (font_update_drivers): Adjust prototype. | 8347 | (ftfont_pattern_entity): If the pattern doesn't contain |
| 8348 | 8348 | FC_SPACING, don't assume FC_MONO. | |
| 8349 | * font.c (font_parse_fcname, font_parse_name): Don't change :name | 8349 | |
| 8350 | property of FONT. | 8350 | * font.h (struct font_driver): New member `match'. |
| 8351 | (LGSTRING_HEADER_SIZE, LGSTRING_GLYPH_SIZE, check_gstring): Define | 8351 | (font_update_drivers): Adjust prototype. |
| 8352 | them unconditionally. | 8352 | |
| 8353 | (font_matching_entity): New function. | 8353 | * font.c (font_parse_fcname, font_parse_name): Don't change :name |
| 8354 | (font_open_by_name): Try font_matching_entity if exact match is | 8354 | property of FONT. |
| 8355 | not found. | 8355 | (LGSTRING_HEADER_SIZE, LGSTRING_GLYPH_SIZE, check_gstring): Define |
| 8356 | (font_update_drivers): Delete the arg FONT. Return a list of | 8356 | them unconditionally. |
| 8357 | actually used backends. Don't free faces, font caches here. | 8357 | (font_matching_entity): New function. |
| 8358 | Don't store data in frame parameters. Don't call x_set_font. | 8358 | (font_open_by_name): Try font_matching_entity if exact match is |
| 8359 | (Ffont_spec): Store :name property as is. | 8359 | not found. |
| 8360 | (Ffont_get): Check HAVE_LIBOTF before calling font_otf_capability. | 8360 | (font_update_drivers): Delete the arg FONT. Return a list of |
| 8361 | (Ffont_otf_gsub): Call font->driver->otf_gsub instead of font_otf_gsub. | 8361 | actually used backends. Don't free faces, font caches here. |
| 8362 | (Ffont_otf_gpos): Call font->driver->otf_gpos instead of font_otf_gpos. | 8362 | Don't store data in frame parameters. Don't call x_set_font. |
| 8363 | (Ffont_otf_alternates): Check if the driver has otf_gsub function. | 8363 | (Ffont_spec): Store :name property as is. |
| 8364 | Call font->driver->otf_gsub instead of font_otf_gsub. | 8364 | (Ffont_get): Check HAVE_LIBOTF before calling font_otf_capability. |
| 8365 | 8365 | (Ffont_otf_gsub): Call font->driver->otf_gsub instead of font_otf_gsub. | |
| 8366 | * frame.c (x_set_font_backend): Do more works that were done in | 8366 | (Ffont_otf_gpos): Call font->driver->otf_gpos instead of font_otf_gpos. |
| 8367 | font_update_drivers before. | 8367 | (Ffont_otf_alternates): Check if the driver has otf_gsub function. |
| 8368 | 8368 | Call font->driver->otf_gsub instead of font_otf_gsub. | |
| 8369 | * xfont.c (xfont_match): New function. | 8369 | |
| 8370 | (xfont_driver): Set xfont_driver.match to xfont_match. | 8370 | * frame.c (x_set_font_backend): Do more works that were done in |
| 8371 | (xfont_draw): Set font in GC if necessary. | 8371 | font_update_drivers before. |
| 8372 | 8372 | ||
| 8373 | * ftxfont.c (ftxfont_match): New function. | 8373 | * xfont.c (xfont_match): New function. |
| 8374 | (syms_of_ftxfont): Set ftxfont_driver.match to ftxfont_match. | 8374 | (xfont_driver): Set xfont_driver.match to xfont_match. |
| 8375 | 8375 | (xfont_draw): Set font in GC if necessary. | |
| 8376 | * xftfont.c (xftfont_match): New function. | 8376 | |
| 8377 | (syms_of_xftfont): Set xftfont_driver.match to xftfont_match. | 8377 | * ftxfont.c (ftxfont_match): New function. |
| 8378 | 8378 | (syms_of_ftxfont): Set ftxfont_driver.match to ftxfont_match. | |
| 8379 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8379 | |
| 8380 | 8380 | * xftfont.c (xftfont_match): New function. | |
| 8381 | * font.h (struct font): New member scalable. | 8381 | (syms_of_xftfont): Set xftfont_driver.match to xftfont_match. |
| 8382 | (struct font_driver): New arg ALTERANTE_SUBST to otf_gsub. | 8382 | |
| 8383 | (font_otf_gsub): Adjust prototype. | 8383 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8384 | 8384 | ||
| 8385 | * font.c (font_otf_capability): Fix handling of the default langsys. | 8385 | * font.h (struct font): New member scalable. |
| 8386 | (parse_gsub_gpos_spec): Change type to void. New arg nbytes. | 8386 | (struct font_driver): New arg ALTERANTE_SUBST to otf_gsub. |
| 8387 | Check the contents of SPEC. | 8387 | (font_otf_gsub): Adjust prototype. |
| 8388 | (LGSTRING_HEADER_SIZE, LGSTRING_GLYPH_SIZE): New macros. | 8388 | |
| 8389 | (check_gstring): New function. | 8389 | * font.c (font_otf_capability): Fix handling of the default langsys. |
| 8390 | (REPLACEMENT_CHARACTER): New macro. | 8390 | (parse_gsub_gpos_spec): Change type to void. New arg nbytes. |
| 8391 | (font_otf_gsub): New arg alternate_subst. Be sure to set all | 8391 | Check the contents of SPEC. |
| 8392 | glyph codes of GSTRING. | 8392 | (LGSTRING_HEADER_SIZE, LGSTRING_GLYPH_SIZE): New macros. |
| 8393 | (font_otf_gpos): Be sure to set all glyph codes of GSTRING. | 8393 | (check_gstring): New function. |
| 8394 | (font_prepare_composition): Set cmp->glyph_len. | 8394 | (REPLACEMENT_CHARACTER): New macro. |
| 8395 | (font_open_entity): Set font->scalable. | 8395 | (font_otf_gsub): New arg alternate_subst. Be sure to set all |
| 8396 | (Ffont_get): Handle :otf property. | 8396 | glyph codes of GSTRING. |
| 8397 | (Ffont_otf_gsub, Ffont_otf_gpos, Ffont_otf_alternates): New | 8397 | (font_otf_gpos): Be sure to set all glyph codes of GSTRING. |
| 8398 | functions. | 8398 | (font_prepare_composition): Set cmp->glyph_len. |
| 8399 | (Fquery_font): Use font->font.full_name. | 8399 | (font_open_entity): Set font->scalable. |
| 8400 | (syms_of_font): Defsubr Sfont_otf_gsub, Sfont_otf_gpos, and | 8400 | (Ffont_get): Handle :otf property. |
| 8401 | Sfont_otf_alternates. | 8401 | (Ffont_otf_gsub, Ffont_otf_gpos, Ffont_otf_alternates): New |
| 8402 | 8402 | functions. | |
| 8403 | * ftfont.c (ftfont_open): Set font->font.full_name and | 8403 | (Fquery_font): Use font->font.full_name. |
| 8404 | font->font.name properly. Fix calculation of font->font.height | 8404 | (syms_of_font): Defsubr Sfont_otf_gsub, Sfont_otf_gpos, and |
| 8405 | and font->min_width. | 8405 | Sfont_otf_alternates. |
| 8406 | 8406 | ||
| 8407 | * ftxfont.c (ftxfont_create_gcs): New function. | 8407 | * ftfont.c (ftfont_open): Set font->font.full_name and |
| 8408 | (ftxfont_draw_bitmap): Fix arg to ftfont_driver.get_bitmap. | 8408 | font->font.name properly. Fix calculation of font->font.height |
| 8409 | (ftxfont_draw_backgrond): Fix filling region. | 8409 | and font->min_width. |
| 8410 | (ftxfont_default_fid): New function. | 8410 | |
| 8411 | (ftxfont_open): Set xfont->fid to the return value of | 8411 | * ftxfont.c (ftxfont_create_gcs): New function. |
| 8412 | ftxfont_default_fid. | 8412 | (ftxfont_draw_bitmap): Fix arg to ftfont_driver.get_bitmap. |
| 8413 | (ftxfont_prepare_face): Use ftxfont_create_gcs to create GCs. | 8413 | (ftxfont_draw_backgrond): Fix filling region. |
| 8414 | (ftxfont_done_face): Free only GCs that are created by | 8414 | (ftxfont_default_fid): New function. |
| 8415 | ftxfont_create_gcs. | 8415 | (ftxfont_open): Set xfont->fid to the return value of |
| 8416 | (ftxfont_draw): If face->gc != s->gc, create proper GCs. | 8416 | ftxfont_default_fid. |
| 8417 | 8417 | (ftxfont_prepare_face): Use ftxfont_create_gcs to create GCs. | |
| 8418 | * xterm.c (x_set_glyph_string_clipping_exactly) [USE_FONT_BACKEND]: | 8418 | (ftxfont_done_face): Free only GCs that are created by |
| 8419 | Clip to src->width, etc (not src->clip_XXX). | 8419 | ftxfont_create_gcs. |
| 8420 | 8420 | (ftxfont_draw): If face->gc != s->gc, create proper GCs. | |
| 8421 | * xfns.c (x_create_tip_frame) [USE_FONT_BACKEND]: Handle | 8421 | |
| 8422 | FontBackend frame parameter. | 8422 | * xterm.c (x_set_glyph_string_clipping_exactly) [USE_FONT_BACKEND]: |
| 8423 | 8423 | Clip to src->width, etc (not src->clip_XXX). | |
| 8424 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8424 | |
| 8425 | 8425 | * xfns.c (x_create_tip_frame) [USE_FONT_BACKEND]: Handle | |
| 8426 | * font.h (struct font_driver_list): New member `on'. | 8426 | FontBackend frame parameter. |
| 8427 | (Fclear_font_cache): EXFUN it. | 8427 | |
| 8428 | (font_update_drivers): Extern it. | 8428 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8429 | 8429 | ||
| 8430 | * font.c (font_unparse_fcname): Fix typo (swidth->width). | 8430 | * font.h (struct font_driver_list): New member `on'. |
| 8431 | (font_list_entities): Check driver_list->on. | 8431 | (Fclear_font_cache): EXFUN it. |
| 8432 | (register_font_driver): Initalize `on' member to 0. | 8432 | (font_update_drivers): Extern it. |
| 8433 | (font_update_drivers): New function. | 8433 | |
| 8434 | (Fclear_font_cache): Check driver_list->on. | 8434 | * font.c (font_unparse_fcname): Fix typo (swidth->width). |
| 8435 | 8435 | (font_list_entities): Check driver_list->on. | |
| 8436 | * frame.h (Qfont_backend): Extern it. | 8436 | (register_font_driver): Initalize `on' member to 0. |
| 8437 | (x_set_font_backend): Extern it. | 8437 | (font_update_drivers): New function. |
| 8438 | 8438 | (Fclear_font_cache): Check driver_list->on. | |
| 8439 | * frame.c (Qfont_backend): New variable. | 8439 | |
| 8440 | (frame_parms): New element for font-backend. | 8440 | * frame.h (Qfont_backend): Extern it. |
| 8441 | (x_set_font_backend): New function. | 8441 | (x_set_font_backend): Extern it. |
| 8442 | 8442 | ||
| 8443 | * xfns.c (Fx_create_frame) [USE_FONT_BACKEND]: Handle | 8443 | * frame.c (Qfont_backend): New variable. |
| 8444 | FontBackend frame parameter. | 8444 | (frame_parms): New element for font-backend. |
| 8445 | (x_frame_parm_handlers) [USE_FONT_BACKEND]: New element | 8445 | (x_set_font_backend): New function. |
| 8446 | x_set_font_backend. | 8446 | |
| 8447 | 8447 | * xfns.c (Fx_create_frame) [USE_FONT_BACKEND]: Handle | |
| 8448 | * xfont.c (xfont_list): Don't try listing by :name property if the | 8448 | FontBackend frame parameter. |
| 8449 | name is not for XLFD. | 8449 | (x_frame_parm_handlers) [USE_FONT_BACKEND]: New element |
| 8450 | 8450 | x_set_font_backend. | |
| 8451 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8451 | |
| 8452 | 8452 | * xfont.c (xfont_list): Don't try listing by :name property if the | |
| 8453 | * font.h (LGLYPH_FROM, LGLYPH_TO, LGLYPH_SET_FROM) | 8453 | name is not for XLFD. |
| 8454 | (LGLYPH_SET_TO): New macros. | 8454 | |
| 8455 | (LGLYPH_XOFF, LGLYPH_YOFF, LGLYPH_WADJUST): Check if adjustment | 8455 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8456 | element of G is vector or not. | 8456 | |
| 8457 | (font_at): Extern it. | 8457 | * font.h (LGLYPH_FROM, LGLYPH_TO, LGLYPH_SET_FROM) |
| 8458 | 8458 | (LGLYPH_SET_TO): New macros. | |
| 8459 | * font.c: Include window.h. | 8459 | (LGLYPH_XOFF, LGLYPH_YOFF, LGLYPH_WADJUST): Check if adjustment |
| 8460 | (font_lispy_object): New function. | 8460 | element of G is vector or not. |
| 8461 | (font_prepare_composition): Check LGLYPH_FORM (g) to detect the | 8461 | (font_at): Extern it. |
| 8462 | end of valid glyph. | 8462 | |
| 8463 | (font_close_object): Fix getting (struct font *). | 8463 | * font.c: Include window.h. |
| 8464 | (font_at): New function. | 8464 | (font_lispy_object): New function. |
| 8465 | (Ffont_get): If FONT is a font-object, get entity from it. | 8465 | (font_prepare_composition): Check LGLYPH_FORM (g) to detect the |
| 8466 | (Ffont_make_gstring): Initialize elements of glyphs with nil. | 8466 | end of valid glyph. |
| 8467 | (Ffont_fill_gstring): Use macro LGSTRING_XXX and LGLYPH_XXX. Fix | 8467 | (font_close_object): Fix getting (struct font *). |
| 8468 | range check. | 8468 | (font_at): New function. |
| 8469 | (Ffont_at): New function. | 8469 | (Ffont_get): If FONT is a font-object, get entity from it. |
| 8470 | (syms_of_font): Defsubr Sfont_at. | 8470 | (Ffont_make_gstring): Initialize elements of glyphs with nil. |
| 8471 | 8471 | (Ffont_fill_gstring): Use macro LGSTRING_XXX and LGLYPH_XXX. Fix | |
| 8472 | * xdisp.c (it_props): Move the entry for Qauto_composed to just | 8472 | range check. |
| 8473 | before the entry for Qcomposition. | 8473 | (Ffont_at): New function. |
| 8474 | (handle_auto_composed_prop): Call auto-composition-function with 4 args. | 8474 | (syms_of_font): Defsubr Sfont_at. |
| 8475 | (handle_composition_prop) [USE_FONT_BACKEND]: Set it->face_id from | 8475 | |
| 8476 | the font in gstring. | 8476 | * xdisp.c (it_props): Move the entry for Qauto_composed to just |
| 8477 | (fill_composite_glyph_string) [USE_FONT_BACKEND]: Check | 8477 | before the entry for Qcomposition. |
| 8478 | LGLYPH_FORM (g) to detect the end of valid glyph. | 8478 | (handle_auto_composed_prop): Call auto-composition-function with 4 args. |
| 8479 | (x_produce_glyphs) [USE_FONT_BACKEND]: Don't update it->face_id if | 8479 | (handle_composition_prop) [USE_FONT_BACKEND]: Set it->face_id from |
| 8480 | we are composing with gstring. | 8480 | the font in gstring. |
| 8481 | 8481 | (fill_composite_glyph_string) [USE_FONT_BACKEND]: Check | |
| 8482 | * xterm.c (x_draw_composite_glyph_string_foreground) [USE_FONT_BACKEND]: | 8482 | LGLYPH_FORM (g) to detect the end of valid glyph. |
| 8483 | Check if adjustment is vector or not. | 8483 | (x_produce_glyphs) [USE_FONT_BACKEND]: Don't update it->face_id if |
| 8484 | 8484 | we are composing with gstring. | |
| 8485 | * Makefile.in (font.o): Make it depends on window.h. | 8485 | |
| 8486 | 8486 | * xterm.c (x_draw_composite_glyph_string_foreground) [USE_FONT_BACKEND]: | |
| 8487 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8487 | Check if adjustment is vector or not. |
| 8488 | 8488 | ||
| 8489 | * xterm.c (x_draw_composite_glyph_string_foreground): Check if | 8489 | * Makefile.in (font.o): Make it depends on window.h. |
| 8490 | adjustment is vector or not. | 8490 | |
| 8491 | 8491 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 8492 | 2008-02-01 Miles Bader <miles@gnu.org> | 8492 | |
| 8493 | 8493 | * xterm.c (x_draw_composite_glyph_string_foreground): Check if | |
| 8494 | * character.h (CHECK_CHARACTER): Redefine in terms of CHECK_TYPE. | 8494 | adjustment is vector or not. |
| 8495 | 8495 | ||
| 8496 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8496 | 2008-02-01 Miles Bader <miles@gnu.org> |
| 8497 | 8497 | ||
| 8498 | * font.h (LGLYPH_XOFF, LGLYPH_YOFF, LGLYPH_WIDTH, LGLYPH_WADJUST) | 8498 | * character.h (CHECK_CHARACTER): Redefine in terms of CHECK_TYPE. |
| 8499 | (LGLYPH_SET_WIDTH): Adjusted for the change of LGLYPH format. | 8499 | |
| 8500 | (LGLYPH_ADJUSTMENT, LGLYPH_SET_ADJUSTMENT): New macros. | 8500 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8501 | 8501 | ||
| 8502 | * font.c (font_merge_old_spec): Treat '*' in foundry as a wild card. | 8502 | * font.h (LGLYPH_XOFF, LGLYPH_YOFF, LGLYPH_WIDTH, LGLYPH_WADJUST) |
| 8503 | (DEVICE_DELTA): Fix typo. | 8503 | (LGLYPH_SET_WIDTH): Adjusted for the change of LGLYPH format. |
| 8504 | (font_otf_gpos, font_prepare_compositio): Adjust for the change of | 8504 | (LGLYPH_ADJUSTMENT, LGLYPH_SET_ADJUSTMENT): New macros. |
| 8505 | LGLYPH format. | 8505 | |
| 8506 | 8506 | * font.c (font_merge_old_spec): Treat '*' in foundry as a wild card. | |
| 8507 | * xterm.c (x_draw_composite_glyph_string_foreground): Adjust for | 8507 | (DEVICE_DELTA): Fix typo. |
| 8508 | the change of LGLYPH format. | 8508 | (font_otf_gpos, font_prepare_compositio): Adjust for the change of |
| 8509 | 8509 | LGLYPH format. | |
| 8510 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8510 | |
| 8511 | 8511 | * xterm.c (x_draw_composite_glyph_string_foreground): Adjust for | |
| 8512 | * ftfont.c (ftfont_list): Fix typo. | 8512 | the change of LGLYPH format. |
| 8513 | (ftfont_build_basic_charsets): Don't include letters with diacritics. | 8513 | |
| 8514 | 8514 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 8515 | 2008-02-01 Jan Djärv <jan.h.d@swipnet.se> | 8515 | |
| 8516 | 8516 | * ftfont.c (ftfont_list): Fix typo. | |
| 8517 | * xfaces.c (realize_non_ascii_face): Set face->extra to NULL. | 8517 | (ftfont_build_basic_charsets): Don't include letters with diacritics. |
| 8518 | 8518 | ||
| 8519 | * xftfont.c (xftfont_done_face): Call XftDrawDestroy only if | 8519 | 2008-02-01 Jan Djärv <jan.h.d@swipnet.se> |
| 8520 | xftface_info is non-NULL. | 8520 | |
| 8521 | 8521 | * xfaces.c (realize_non_ascii_face): Set face->extra to NULL. | |
| 8522 | 2008-02-01 Jan Djärv <jan.h.d@swipnet.se> | 8522 | |
| 8523 | 8523 | * xftfont.c (xftfont_done_face): Call XftDrawDestroy only if | |
| 8524 | * ftfont.c (ftfont_list): Move misplaced #endif. | 8524 | xftface_info is non-NULL. |
| 8525 | 8525 | ||
| 8526 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8526 | 2008-02-01 Jan Djärv <jan.h.d@swipnet.se> |
| 8527 | 8527 | ||
| 8528 | * ftfont.c (ftfont_list): Pay attention to the case that | 8528 | * ftfont.c (ftfont_list): Move misplaced #endif. |
| 8529 | FC_CAPABILITY is not defined. | 8529 | |
| 8530 | 8530 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 8531 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8531 | |
| 8532 | 8532 | * ftfont.c (ftfont_list): Pay attention to the case that | |
| 8533 | * xftfont.c (xftfont_open): Set charset related members to -1. | 8533 | FC_CAPABILITY is not defined. |
| 8534 | 8534 | ||
| 8535 | * ftfont.c (ftfont_list): Handle QCotf property. Fix handling of | 8535 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8536 | QCname. | 8536 | |
| 8537 | (ftfont_open): Set charset related members to -1. | 8537 | * xftfont.c (xftfont_open): Set charset related members to -1. |
| 8538 | 8538 | ||
| 8539 | * fontset.c (Votf_script_alist): New variable. | 8539 | * ftfont.c (ftfont_list): Handle QCotf property. Fix handling of |
| 8540 | (syms_of_fontset): Initialize it. | 8540 | QCname. |
| 8541 | (fontset_font): Delete unused variable. | 8541 | (ftfont_open): Set charset related members to -1. |
| 8542 | 8542 | ||
| 8543 | * fontset.h (Votf_script_alist): Extern it. | 8543 | * fontset.c (Votf_script_alist): New variable. |
| 8544 | 8544 | (syms_of_fontset): Initialize it. | |
| 8545 | * font.c (font_find_for_lface): Optimize code. | 8545 | (fontset_font): Delete unused variable. |
| 8546 | 8546 | ||
| 8547 | * font.h (font_close_object, font_merge_old_spec): Extern them. | 8547 | * fontset.h (Votf_script_alist): Extern it. |
| 8548 | 8548 | ||
| 8549 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8549 | * font.c (font_find_for_lface): Optimize code. |
| 8550 | 8550 | ||
| 8551 | * font.c (QCscalable, Qc, Qm, Qp, Qd): New variables. | 8551 | * font.h (font_close_object, font_merge_old_spec): Extern them. |
| 8552 | (syms_of_font): Initialize them. | 8552 | |
| 8553 | (font_pixel_size): Allow float value in dpi. | 8553 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8554 | (font_prop_validate_type): Delete. | 8554 | |
| 8555 | (font_prop_validate_symbol, font_prop_validate_style): Change argument. | 8555 | * font.c (QCscalable, Qc, Qm, Qp, Qd): New variables. |
| 8556 | Change caller. | 8556 | (syms_of_font): Initialize them. |
| 8557 | (font_prop_validate_non_neg): Rename from font_prop_validate_size. | 8557 | (font_pixel_size): Allow float value in dpi. |
| 8558 | (font_prop_validate_extra): Delete. | 8558 | (font_prop_validate_type): Delete. |
| 8559 | (font_prop_validate_spacing): New function. | 8559 | (font_prop_validate_symbol, font_prop_validate_style): Change argument. |
| 8560 | (font_property_table): Add elements for all known properties. | 8560 | Change caller. |
| 8561 | (get_font_prop_index): Rename from check_font_prop_name. New | 8561 | (font_prop_validate_non_neg): Rename from font_prop_validate_size. |
| 8562 | argument FROM. Change caller. | 8562 | (font_prop_validate_extra): Delete. |
| 8563 | (font_prop_validate): Validate all known properties. | 8563 | (font_prop_validate_spacing): New function. |
| 8564 | (font_put_extra): Delete argument force. Change caller. | 8564 | (font_property_table): Add elements for all known properties. |
| 8565 | (font_expand_wildcards): Make it static. Fix the way of shrinking | 8565 | (get_font_prop_index): Rename from check_font_prop_name. New |
| 8566 | the possible range. | 8566 | argument FROM. Change caller. |
| 8567 | (font_parse_xlfd): Delete argument merge. Fix handling of RESX, | 8567 | (font_prop_validate): Validate all known properties. |
| 8568 | RESY, SPACING, and AVGWIDTH. Don't validate property values here. | 8568 | (font_put_extra): Delete argument force. Change caller. |
| 8569 | Change caller. | 8569 | (font_expand_wildcards): Make it static. Fix the way of shrinking |
| 8570 | (font_unparse_xlfd): Handle dpi, spacing, and scalable properties. | 8570 | the possible range. |
| 8571 | (font_parse_fcname): Delete argument merge. Fix parsing of point | 8571 | (font_parse_xlfd): Delete argument merge. Fix handling of RESX, |
| 8572 | size. Don't validate properties values here. Change caller. | 8572 | RESY, SPACING, and AVGWIDTH. Don't validate property values here. |
| 8573 | (font_unparse_fcname): Handle dpi, spacing, and scalable properties. | 8573 | Change caller. |
| 8574 | (font_open_by_name): Delete unused variable. | 8574 | (font_unparse_xlfd): Handle dpi, spacing, and scalable properties. |
| 8575 | (Ffont_spec): Likewise. Validate property values. | 8575 | (font_parse_fcname): Delete argument merge. Fix parsing of point |
| 8576 | (Ffont_match_p): New function. | 8576 | size. Don't validate properties values here. Change caller. |
| 8577 | 8577 | (font_unparse_fcname): Handle dpi, spacing, and scalable properties. | |
| 8578 | * font.h (QCscalable): Extern it. | 8578 | (font_open_by_name): Delete unused variable. |
| 8579 | (font_parse_xlfd, font_parse_fcname): Adjust prototype. | 8579 | (Ffont_spec): Likewise. Validate property values. |
| 8580 | 8580 | (Ffont_match_p): New function. | |
| 8581 | * ftfont.c (ftfont_list): Handle properties dpi, spacing, and scalable. | 8581 | |
| 8582 | 8582 | * font.h (QCscalable): Extern it. | |
| 8583 | * xfont.c (xfont_query_font): Adjust for the change of font_parse_xlfd. | 8583 | (font_parse_xlfd, font_parse_fcname): Adjust prototype. |
| 8584 | (xfont_list_pattern): New function. | 8584 | |
| 8585 | (xfont_list): Use xfont_list_pattern. | 8585 | * ftfont.c (ftfont_list): Handle properties dpi, spacing, and scalable. |
| 8586 | 8586 | ||
| 8587 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8587 | * xfont.c (xfont_query_font): Adjust for the change of font_parse_xlfd. |
| 8588 | 8588 | (xfont_list_pattern): New function. | |
| 8589 | * font.h (Flist_fonts): EXFUN it. | 8589 | (xfont_list): Use xfont_list_pattern. |
| 8590 | 8590 | ||
| 8591 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 8591 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8592 | 8592 | ||
| 8593 | * w32term.c (w32_initialize): Add back smoothing_type and | 8593 | * font.h (Flist_fonts): EXFUN it. |
| 8594 | smoothing_enabled definitions. | 8594 | |
| 8595 | 8595 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
| 8596 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8596 | |
| 8597 | 8597 | * w32term.c (w32_initialize): Add back smoothing_type and | |
| 8598 | * xterm.c (x_draw_glyph_string) [USE_FONT_BACKEND]: Check | 8598 | smoothing_enabled definitions. |
| 8599 | s->face->font on determining underline position. | 8599 | |
| 8600 | 8600 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 8601 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8601 | |
| 8602 | 8602 | * xterm.c (x_draw_glyph_string) [USE_FONT_BACKEND]: Check | |
| 8603 | * font.c (font_parse_xlfd): Fix generating of CHARSET_REGISTRY field. | 8603 | s->face->font on determining underline position. |
| 8604 | (font_has_char): Accept font-object too. | 8604 | |
| 8605 | (font_find_for_lface): Try at first with a size specified in face. | 8605 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8606 | 8606 | ||
| 8607 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8607 | * font.c (font_parse_xlfd): Fix generating of CHARSET_REGISTRY field. |
| 8608 | 8608 | (font_has_char): Accept font-object too. | |
| 8609 | * frame.c (x_set_font) [USE_FONT_BACKEND]: Fix argument to | 8609 | (font_find_for_lface): Try at first with a size specified in face. |
| 8610 | font_open_by_name. | 8610 | |
| 8611 | 8611 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 8612 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8612 | |
| 8613 | 8613 | * frame.c (x_set_font) [USE_FONT_BACKEND]: Fix argument to | |
| 8614 | * font.h (QCspacing, QCdpi): Extern them. | 8614 | font_open_by_name. |
| 8615 | (enum font_spacing): New enum. | 8615 | |
| 8616 | (FONT_PIXEL_SIZE_QUANTUM): New macro. | 8616 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8617 | 8617 | ||
| 8618 | * font.c (POINT_TO_PIXEL): Don't divide POINT by 10. | 8618 | * font.h (QCspacing, QCdpi): Extern them. |
| 8619 | (QCspacing, QCdpi): New variables. | 8619 | (enum font_spacing): New enum. |
| 8620 | (syms_of_font): Initialize them. | 8620 | (FONT_PIXEL_SIZE_QUANTUM): New macro. |
| 8621 | (font_pixel_size): New function. | 8621 | |
| 8622 | (font_put_extra): New function. | 8622 | * font.c (POINT_TO_PIXEL): Don't divide POINT by 10. |
| 8623 | (font_parse_xlfd): Fix handling of font size. Add QCdpi property | 8623 | (QCspacing, QCdpi): New variables. |
| 8624 | in FONT_EXTRA. | 8624 | (syms_of_font): Initialize them. |
| 8625 | (font_parse_fcname): Handle enumerated values (e.g. bold). | 8625 | (font_pixel_size): New function. |
| 8626 | Fix handling font size. Add QCname property that contains only | 8626 | (font_put_extra): New function. |
| 8627 | unknown properties. | 8627 | (font_parse_xlfd): Fix handling of font size. Add QCdpi property |
| 8628 | (font_score): Change argument. Change caller. Pay attention to | 8628 | in FONT_EXTRA. |
| 8629 | FONT_PIXEL_SIZE_QUANTUM. | 8629 | (font_parse_fcname): Handle enumerated values (e.g. bold). |
| 8630 | (font_sort_entites, font_list_entities, font_find_for_lface) | 8630 | Fix handling font size. Add QCname property that contains only |
| 8631 | (font_open_for_lface, font_open_by_name): Fix handling of font size. | 8631 | unknown properties. |
| 8632 | (Ffont_spec): Add QCname property that contains only unknown properties. | 8632 | (font_score): Change argument. Change caller. Pay attention to |
| 8633 | 8633 | FONT_PIXEL_SIZE_QUANTUM. | |
| 8634 | * ftfont.c (ftfont_list): Use assq_no_quit, not Fassq. Don't | 8634 | (font_sort_entites, font_list_entities, font_find_for_lface) |
| 8635 | include weight in listing pattern, instead check weight of each | 8635 | (font_open_for_lface, font_open_by_name): Fix handling of font size. |
| 8636 | listed font. Don't include scalable in pattern. Pay attention to | 8636 | (Ffont_spec): Add QCname property that contains only unknown properties. |
| 8637 | FONT_PIXEL_SIZE_QUANTUM. | 8637 | |
| 8638 | 8638 | * ftfont.c (ftfont_list): Use assq_no_quit, not Fassq. Don't | |
| 8639 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8639 | include weight in listing pattern, instead check weight of each |
| 8640 | 8640 | listed font. Don't include scalable in pattern. Pay attention to | |
| 8641 | * font.c (font_parse_fcname): Fix parsing of point-size. | 8641 | FONT_PIXEL_SIZE_QUANTUM. |
| 8642 | (font_unparse_fcname): Produce symbolic names for style properties. | 8642 | |
| 8643 | (font_list_entities): Handle float size correctly. | 8643 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8644 | (font_open_by_name): Prefer `normal' property values if the name | 8644 | |
| 8645 | doesn't specify them. | 8645 | * font.c (font_parse_fcname): Fix parsing of point-size. |
| 8646 | 8646 | (font_unparse_fcname): Produce symbolic names for style properties. | |
| 8647 | * fontset.c (Finternal_char_font): Use font_get_name, not | 8647 | (font_list_entities): Handle float size correctly. |
| 8648 | Ffont_xlfd_name. | 8648 | (font_open_by_name): Prefer `normal' property values if the name |
| 8649 | 8649 | doesn't specify them. | |
| 8650 | * ftfont.c (ftfont_pattern_entity): Use the numeric value 100 for | 8650 | |
| 8651 | FC_WEIGHT_REGULAR. Exclude FC_SIZE and FC_PIXEL_SIZE from listing | 8651 | * fontset.c (Finternal_char_font): Use font_get_name, not |
| 8652 | pattern. Don't force scalable. | 8652 | Ffont_xlfd_name. |
| 8653 | 8653 | ||
| 8654 | * xftfont.c (xftfont_open): For generating a name, start from | 8654 | * ftfont.c (ftfont_pattern_entity): Use the numeric value 100 for |
| 8655 | 96-byte buffer. | 8655 | FC_WEIGHT_REGULAR. Exclude FC_SIZE and FC_PIXEL_SIZE from listing |
| 8656 | 8656 | pattern. Don't force scalable. | |
| 8657 | 2008-02-01 Jan Djärv <jan.h.d@swipnet.se> | 8657 | |
| 8658 | 8658 | * xftfont.c (xftfont_open): For generating a name, start from | |
| 8659 | * frame.h (x_new_fontset2): Fix prototype. | 8659 | 96-byte buffer. |
| 8660 | 8660 | ||
| 8661 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8661 | 2008-02-01 Jan Djärv <jan.h.d@swipnet.se> |
| 8662 | 8662 | ||
| 8663 | * font.h (struct font_driver): Delete member parse_name. | 8663 | * frame.h (x_new_fontset2): Fix prototype. |
| 8664 | (font_match_p, font_get_spec, font_parse_fcname) | 8664 | |
| 8665 | (font_unparse_fcname): Extern them. | 8665 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8666 | (font_get_name): Adjust prototype. | 8666 | |
| 8667 | 8667 | * font.h (struct font_driver): Delete member parse_name. | |
| 8668 | * font.c (XLFD_SMALLNUM_MASK): Delete this macro. | 8668 | (font_match_p, font_get_spec, font_parse_fcname) |
| 8669 | (XLFD_LARGENUM_MASK): Delete XLFD_ENCODING_MASK from it. | 8669 | (font_unparse_fcname): Extern them. |
| 8670 | (font_expand_wildcards): Fix handling ENCODING field. Avoid | 8670 | (font_get_name): Adjust prototype. |
| 8671 | unnecessary checks for weight, slant, and swidth. | 8671 | |
| 8672 | (font_parse_fcname): New function. | 8672 | * font.c (XLFD_SMALLNUM_MASK): Delete this macro. |
| 8673 | (font_unparse_fcname): New function. | 8673 | (XLFD_LARGENUM_MASK): Delete XLFD_ENCODING_MASK from it. |
| 8674 | (font_parse_name): New function. | 8674 | (font_expand_wildcards): Fix handling ENCODING field. Avoid |
| 8675 | (font_match_p): New function. | 8675 | unnecessary checks for weight, slant, and swidth. |
| 8676 | (font_get_name): Change return value to Lisp string. | 8676 | (font_parse_fcname): New function. |
| 8677 | (font_get_spec): New function. | 8677 | (font_unparse_fcname): New function. |
| 8678 | (Qunspecified, Qignore_defface): Don't extern them. | 8678 | (font_parse_name): New function. |
| 8679 | (font_find_for_lface): Assume that LFACE is fully specified. | 8679 | (font_match_p): New function. |
| 8680 | (font_load_for_face): If lface[LFACE_FONT_INDEX] is an font | 8680 | (font_get_name): Change return value to Lisp string. |
| 8681 | object, use it for FACE. | 8681 | (font_get_spec): New function. |
| 8682 | (font_open_by_name): Call Ffont_spec with QCname prop. Don't call | 8682 | (Qunspecified, Qignore_defface): Don't extern them. |
| 8683 | driver->parse_name. | 8683 | (font_find_for_lface): Assume that LFACE is fully specified. |
| 8684 | (Ffont_spec): Call font_parse_name, not font_parse_xlfd. | 8684 | (font_load_for_face): If lface[LFACE_FONT_INDEX] is an font |
| 8685 | 8685 | object, use it for FACE. | |
| 8686 | * fontset.h (new_fontset_from_font) [USE_FONT_BACKEND]: Adjust | 8686 | (font_open_by_name): Call Ffont_spec with QCname prop. Don't call |
| 8687 | prototype. | 8687 | driver->parse_name. |
| 8688 | 8688 | (Ffont_spec): Call font_parse_name, not font_parse_xlfd. | |
| 8689 | * fontset.c (new_fontset_from_font) [USE_FONT_BACKEND]: Delete | 8689 | |
| 8690 | argument F. Don't call Fnew_fontset. Instead, directly call | 8690 | * fontset.h (new_fontset_from_font) [USE_FONT_BACKEND]: Adjust |
| 8691 | make_fontset. | 8691 | prototype. |
| 8692 | 8692 | ||
| 8693 | * frame.h (x_new_fontset2) [USE_FONT_BACKEND]: Adjust prototype. | 8693 | * fontset.c (new_fontset_from_font) [USE_FONT_BACKEND]: Delete |
| 8694 | 8694 | argument F. Don't call Fnew_fontset. Instead, directly call | |
| 8695 | * frame.c (x_set_font) [USE_FONT_BACKEND]: Adjust for the change | 8695 | make_fontset. |
| 8696 | of x_new_fontset2. | 8696 | |
| 8697 | 8697 | * frame.h (x_new_fontset2) [USE_FONT_BACKEND]: Adjust prototype. | |
| 8698 | * ftfont.c (Qmonospace, Qsans_serif, Qserif, Qmono, Qsans) | 8698 | |
| 8699 | (Qsans__serif): New variables. | 8699 | * frame.c (x_set_font) [USE_FONT_BACKEND]: Adjust for the change |
| 8700 | (ftfont_generic_family_list): New variable. | 8700 | of x_new_fontset2. |
| 8701 | (syms_of_ftfont): Initialize the above variables. | 8701 | |
| 8702 | (ftfont_pattern_entity): Delete argument NAME. | 8702 | * ftfont.c (Qmonospace, Qsans_serif, Qserif, Qmono, Qsans) |
| 8703 | (ftfont_list_generic_family): New function. | 8703 | (Qsans__serif): New variables. |
| 8704 | (ftfont_parse_name): Delete this function. | 8704 | (ftfont_generic_family_list): New variable. |
| 8705 | (ftfont_list): Try generic family only when FcFontList found no font. | 8705 | (syms_of_ftfont): Initialize the above variables. |
| 8706 | (ftfont_list_family): Fix args to FcObjectSetBuild. | 8706 | (ftfont_pattern_entity): Delete argument NAME. |
| 8707 | 8707 | (ftfont_list_generic_family): New function. | |
| 8708 | * xfaces.c (check_lface_attrs) [USE_FONT_BACKEND]: Accept font | 8708 | (ftfont_parse_name): Delete this function. |
| 8709 | object in attrs[LFACE_FONT_INDEX]. | 8709 | (ftfont_list): Try generic family only when FcFontList found no font. |
| 8710 | (set_lface_from_font_name): Cancel all changes for font-backend. | 8710 | (ftfont_list_family): Fix args to FcObjectSetBuild. |
| 8711 | (set_lface_from_font_and_fontset) [USE_FONT_BACKEND]: New | 8711 | |
| 8712 | function. | 8712 | * xfaces.c (check_lface_attrs) [USE_FONT_BACKEND]: Accept font |
| 8713 | (Finternal_set_lisp_face_attribute) [USE_FONT_BACKEND]: Accept a | 8713 | object in attrs[LFACE_FONT_INDEX]. |
| 8714 | font object in QCfont attribute. | 8714 | (set_lface_from_font_name): Cancel all changes for font-backend. |
| 8715 | (set_font_frame_param) [USE_FONT_BACKEND]: Likewise. | 8715 | (set_lface_from_font_and_fontset) [USE_FONT_BACKEND]: New |
| 8716 | (realize_default_face) [USE_FONT_BACKEND]: Call | 8716 | function. |
| 8717 | set_lface_from_font_and_fontset. | 8717 | (Finternal_set_lisp_face_attribute) [USE_FONT_BACKEND]: Accept a |
| 8718 | 8718 | font object in QCfont attribute. | |
| 8719 | * xfns.c (x_default_font_parameter) [USE_FONT_BACKEND]: Try also | 8719 | (set_font_frame_param) [USE_FONT_BACKEND]: Likewise. |
| 8720 | "fixed", and signal error here if no suitable font was found. | 8720 | (realize_default_face) [USE_FONT_BACKEND]: Call |
| 8721 | 8721 | set_lface_from_font_and_fontset. | |
| 8722 | * xfont.c (xfont_parse_name): Delete this function. | 8722 | |
| 8723 | 8723 | * xfns.c (x_default_font_parameter) [USE_FONT_BACKEND]: Try also | |
| 8724 | * xftfont.c (xftfont_open): Change coding style of error | 8724 | "fixed", and signal error here if no suitable font was found. |
| 8725 | handling. Generate fontconfig's fontname pattern. | 8725 | |
| 8726 | 8726 | * xfont.c (xfont_parse_name): Delete this function. | |
| 8727 | * xterm.h (struct x_output) [USE_FONT_BACKEND]: New member fontp. | 8727 | |
| 8728 | (FRAME_FONT_OBJECT) [USE_FONT_BACKEND]: New macro. | 8728 | * xftfont.c (xftfont_open): Change coding style of error |
| 8729 | 8729 | handling. Generate fontconfig's fontname pattern. | |
| 8730 | * xterm.c (x_new_fontset2) [USE_FONT_BACKEND]: Change arguments. | 8730 | |
| 8731 | Both args FONTSET and FONT_OBJECT must be existing ones. | 8731 | * xterm.h (struct x_output) [USE_FONT_BACKEND]: New member fontp. |
| 8732 | 8732 | (FRAME_FONT_OBJECT) [USE_FONT_BACKEND]: New macro. | |
| 8733 | 2008-02-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 8733 | |
| 8734 | 8734 | * xterm.c (x_new_fontset2) [USE_FONT_BACKEND]: Change arguments. | |
| 8735 | * macterm.c (mac_set_unicode_keystroke_event): Don't use MAKE_CHAR. | 8735 | Both args FONTSET and FONT_OBJECT must be existing ones. |
| 8736 | 8736 | ||
| 8737 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8737 | 2008-02-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 8738 | 8738 | ||
| 8739 | * xfont.c (xfont_open, xfont_encode_char): Fix typo. | 8739 | * macterm.c (mac_set_unicode_keystroke_event): Don't use MAKE_CHAR. |
| 8740 | 8740 | ||
| 8741 | * font.h (struct font): Fix typo. | 8741 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8742 | 8742 | ||
| 8743 | * font.c (enum xlfd_field_index): Rename XLFD_XXX_SIZE_INDEX to | 8743 | * xfont.c (xfont_open, xfont_encode_char): Fix typo. |
| 8744 | XLFD_XXX_INDEX. | 8744 | |
| 8745 | (enum xlfd_field_mask): New enum. | 8745 | * font.h (struct font): Fix typo. |
| 8746 | (intern_font_field): Changed argument. Change caller. If digits | 8746 | |
| 8747 | are followed by non-digits, return a symbol. | 8747 | * font.c (enum xlfd_field_index): Rename XLFD_XXX_SIZE_INDEX to |
| 8748 | (font_expand_wildcards): New function. | 8748 | XLFD_XXX_INDEX. |
| 8749 | (font_parse_xlfd): Fix wildcard handling. | 8749 | (enum xlfd_field_mask): New enum. |
| 8750 | (Ffont_spec): If :name is specified, reflect the info in the other | 8750 | (intern_font_field): Changed argument. Change caller. If digits |
| 8751 | properties. | 8751 | are followed by non-digits, return a symbol. |
| 8752 | 8752 | (font_expand_wildcards): New function. | |
| 8753 | * ftfont.c (ftfont_pattern_entity): Fix typo. | 8753 | (font_parse_xlfd): Fix wildcard handling. |
| 8754 | (ftfont_list): Enforce FC_LANG in PATTERN to cancel the effect of | 8754 | (Ffont_spec): If :name is specified, reflect the info in the other |
| 8755 | locale. | 8755 | properties. |
| 8756 | 8756 | ||
| 8757 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8757 | * ftfont.c (ftfont_pattern_entity): Fix typo. |
| 8758 | 8758 | (ftfont_list): Enforce FC_LANG in PATTERN to cancel the effect of | |
| 8759 | * font.h (Qiso8859_1, Qiso10646_1, Qunicode_bmp): Extern them. | 8759 | locale. |
| 8760 | 8760 | ||
| 8761 | * font.c (Qiso8859_1, Qiso10646_1, Qunicode_bmp): Move from ftfont.c. | 8761 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8762 | (font_unparse_xlfd): Fix argument type declaration. Append "*" if | 8762 | |
| 8763 | registry doesn't specify encoding part. | 8763 | * font.h (Qiso8859_1, Qiso10646_1, Qunicode_bmp): Extern them. |
| 8764 | (font_find_for_lface): Pay attention to LFACE_FONT_INDEX. | 8764 | |
| 8765 | (font_open_by_name): At first try parsing the name. | 8765 | * font.c (Qiso8859_1, Qiso10646_1, Qunicode_bmp): Move from ftfont.c. |
| 8766 | (syms_of_font): Declare Qiso8859_1, Qiso10646_1, and Qunicode_bmp | 8766 | (font_unparse_xlfd): Fix argument type declaration. Append "*" if |
| 8767 | as Lisp symbols. | 8767 | registry doesn't specify encoding part. |
| 8768 | 8768 | (font_find_for_lface): Pay attention to LFACE_FONT_INDEX. | |
| 8769 | * fontset.c (reorder_font_vector): Pay attention to the case that | 8769 | (font_open_by_name): At first try parsing the name. |
| 8770 | the 3rd element of font_def is nil. | 8770 | (syms_of_font): Declare Qiso8859_1, Qiso10646_1, and Qunicode_bmp |
| 8771 | (fontset_font): For the default fontset, append one more fontset | 8771 | as Lisp symbols. |
| 8772 | elements for a script-based font specification. Don't add script | 8772 | |
| 8773 | attribute on finding a font. | 8773 | * fontset.c (reorder_font_vector): Pay attention to the case that |
| 8774 | (new_fontset_from_font): Unconditionally set FONTSET_ASCII to the | 8774 | the 3rd element of font_def is nil. |
| 8775 | font name. | 8775 | (fontset_font): For the default fontset, append one more fontset |
| 8776 | (fontset_ascii_font): If a font can't be opened, return nil. | 8776 | elements for a script-based font specification. Don't add script |
| 8777 | 8777 | attribute on finding a font. | |
| 8778 | * ftfont.c (Qiso8859_1, Qiso10646_1, Qunicode_bmp): Move to font.c. | 8778 | (new_fontset_from_font): Unconditionally set FONTSET_ASCII to the |
| 8779 | (ftfont_pattern_entity): New function. | 8779 | font name. |
| 8780 | (ftfont_get_cache): Assume that freetype_font_cache is already | 8780 | (fontset_ascii_font): If a font can't be opened, return nil. |
| 8781 | initialized. | 8781 | |
| 8782 | (ftfont_list): Handle the case that a file is specified in font | 8782 | * ftfont.c (Qiso8859_1, Qiso10646_1, Qunicode_bmp): Move to font.c. |
| 8783 | name. Use ftfont_pattern_entity to generate entities. | 8783 | (ftfont_pattern_entity): New function. |
| 8784 | (ftfont_has_char): Check if the pattern contains FC_CHARSET. | 8784 | (ftfont_get_cache): Assume that freetype_font_cache is already |
| 8785 | (syms_of_ftfont): Initialize freetype_font_cache. | 8785 | initialized. |
| 8786 | 8786 | (ftfont_list): Handle the case that a file is specified in font | |
| 8787 | * xftfont.c (xftfont_open): Make the font name fontconfig's | 8787 | name. Use ftfont_pattern_entity to generate entities. |
| 8788 | style. Add BLOCK_INPUT and UNBLOCK_INPUT. | 8788 | (ftfont_has_char): Check if the pattern contains FC_CHARSET. |
| 8789 | (xftfont_close): Free font->font.name if not NULL. | 8789 | (syms_of_ftfont): Initialize freetype_font_cache. |
| 8790 | 8790 | ||
| 8791 | * xfont.c (xfont_list): If script is specified for a font, return | 8791 | * xftfont.c (xftfont_open): Make the font name fontconfig's |
| 8792 | null_vector. | 8792 | style. Add BLOCK_INPUT and UNBLOCK_INPUT. |
| 8793 | (xfont_list_family): Declare argument type. | 8793 | (xftfont_close): Free font->font.name if not NULL. |
| 8794 | 8794 | ||
| 8795 | * xfaces.c (set_lface_from_font_name): If a font doesn't have a | 8795 | * xfont.c (xfont_list): If script is specified for a font, return |
| 8796 | name, set LFACE_FONT (lface) to nil. | 8796 | null_vector. |
| 8797 | 8797 | (xfont_list_family): Declare argument type. | |
| 8798 | * xterm.c (x_new_fontset2): If an ASCII font couldn't be loaded, | 8798 | |
| 8799 | return Qnil. | 8799 | * xfaces.c (set_lface_from_font_name): If a font doesn't have a |
| 8800 | 8800 | name, set LFACE_FONT (lface) to nil. | |
| 8801 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8801 | |
| 8802 | 8802 | * xterm.c (x_new_fontset2): If an ASCII font couldn't be loaded, | |
| 8803 | * emacs.c (main): Check -enable-font-backend arg after the check of -nl. | 8803 | return Qnil. |
| 8804 | (standard_args): Add "-enable-font-backend". | 8804 | |
| 8805 | 8805 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 8806 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8806 | |
| 8807 | 8807 | * emacs.c (main): Check -enable-font-backend arg after the check of -nl. | |
| 8808 | * xftfont.c (xftfont_default_fid): Set fid_known to 1. | 8808 | (standard_args): Add "-enable-font-backend". |
| 8809 | (struct xftdraw_list, xftdraw_list): Delete them. | 8809 | |
| 8810 | (register_xftdraw, check_xftdraw): Delete them. | 8810 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8811 | (xftfont_prepare_face): Don't call register_xftdraw. | 8811 | |
| 8812 | (xftfont_done_face): Don't call check_xftdraw. | 8812 | * xftfont.c (xftfont_default_fid): Set fid_known to 1. |
| 8813 | (xftfont_draw): Get background color only when with_background is | 8813 | (struct xftdraw_list, xftdraw_list): Delete them. |
| 8814 | nonzero. | 8814 | (register_xftdraw, check_xftdraw): Delete them. |
| 8815 | 8815 | (xftfont_prepare_face): Don't call register_xftdraw. | |
| 8816 | * xfont.c (xfont_encode_char): Fix calculation of char2b. | 8816 | (xftfont_done_face): Don't call check_xftdraw. |
| 8817 | 8817 | (xftfont_draw): Get background color only when with_background is | |
| 8818 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8818 | nonzero. |
| 8819 | 8819 | ||
| 8820 | These changes are for the new font handling codes. | 8820 | * xfont.c (xfont_encode_char): Fix calculation of char2b. |
| 8821 | 8821 | ||
| 8822 | * Makefile.in (ALL_CFLAGS): Add @FREETYPE_CFLAGS@, | 8822 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8823 | @FONTCONFIG_CFLAGS@, and @LIBOTF_CFLAGS@. | 8823 | |
| 8824 | (LIB_X11_LIB): If HAVE_XFT is defined, set to @XFT_LIBS@. | 8824 | These changes are for the new font handling codes. |
| 8825 | (FONTSRC, FONTOBJ): New variables. | 8825 | |
| 8826 | (obj): Add $(FONTOBJ). | 8826 | * Makefile.in (ALL_CFLAGS): Add @FREETYPE_CFLAGS@, |
| 8827 | (SOME_MACHINE_OBJECTS): Lib_X11_Lib. | 8827 | @FONTCONFIG_CFLAGS@, and @LIBOTF_CFLAGS@. |
| 8828 | (LIBES): Add @FREETYPE_LIBS@, @FONTCONFIG_LIBS@, and | 8828 | (LIB_X11_LIB): If HAVE_XFT is defined, set to @XFT_LIBS@. |
| 8829 | @LIBOTF_LIBS@. | 8829 | (FONTSRC, FONTOBJ): New variables. |
| 8830 | (font.o, ftfont.o, xfont.o, xftfont.o, ftxfont.o): New targets. | 8830 | (obj): Add $(FONTOBJ). |
| 8831 | (fontset.o, xdisp.o, xfaces.o, xfns.o, xterm.o): Depend on $(FONTSRC). | 8831 | (SOME_MACHINE_OBJECTS): Lib_X11_Lib. |
| 8832 | 8832 | (LIBES): Add @FREETYPE_LIBS@, @FONTCONFIG_LIBS@, and | |
| 8833 | * font.h, font.c, xfont.c, ftfont.c, xftfont.c, ftxfont.c: New files. | 8833 | @LIBOTF_LIBS@. |
| 8834 | 8834 | (font.o, ftfont.o, xfont.o, xftfont.o, ftxfont.o): New targets. | |
| 8835 | * character.h (Vscript_representative_chars): Extern it. | 8835 | (fontset.o, xdisp.o, xfaces.o, xfns.o, xterm.o): Depend on $(FONTSRC). |
| 8836 | 8836 | ||
| 8837 | * character.c (Vscript_representative_chars): New variable. | 8837 | * font.h, font.c, xfont.c, ftfont.c, xftfont.c, ftxfont.c: New files. |
| 8838 | (syms_of_character): Declare it as a Lisp variable. | 8838 | |
| 8839 | 8839 | * character.h (Vscript_representative_chars): Extern it. | |
| 8840 | * composite.c (get_composition_id) [USE_FONT_BACKEND]: If | 8840 | |
| 8841 | enable_font_backend is nonzero, accept the composition method | 8841 | * character.c (Vscript_representative_chars): New variable. |
| 8842 | COMPOSITION_WITH_GLYPH_STRING. | 8842 | (syms_of_character): Declare it as a Lisp variable. |
| 8843 | 8843 | ||
| 8844 | * composite.h (enum composition_method) [USE_FONT_BACKEND]: New | 8844 | * composite.c (get_composition_id) [USE_FONT_BACKEND]: If |
| 8845 | enumeration COMPOSITION_WITH_GLYPH_STRING. | 8845 | enable_font_backend is nonzero, accept the composition method |
| 8846 | 8846 | COMPOSITION_WITH_GLYPH_STRING. | |
| 8847 | * dispextern.h (struct glyph_string) [USE_FONT_BACKEND]: New | 8847 | |
| 8848 | members clip_x, clip_y, clip_width, and clip_height. | 8848 | * composite.h (enum composition_method) [USE_FONT_BACKEND]: New |
| 8849 | (struct face) [USE_FONT_BACKEND]: New members font_info and extra. | 8849 | enumeration COMPOSITION_WITH_GLYPH_STRING. |
| 8850 | 8850 | ||
| 8851 | * emacs.c (main) [USE_FONT_BACKEND]: Handle arg | 8851 | * dispextern.h (struct glyph_string) [USE_FONT_BACKEND]: New |
| 8852 | --enable-font-backend. Call syms_of_font. | 8852 | members clip_x, clip_y, clip_width, and clip_height. |
| 8853 | 8853 | (struct face) [USE_FONT_BACKEND]: New members font_info and extra. | |
| 8854 | * fns.c (assoc_no_quit): New function. | 8854 | |
| 8855 | 8855 | * emacs.c (main) [USE_FONT_BACKEND]: Handle arg | |
| 8856 | * fontset.h (FONT_INFO_FROM_FACE): New macro. | 8856 | --enable-font-backend. Call syms_of_font. |
| 8857 | (face_for_font, new_fontset_from_font) | 8857 | |
| 8858 | (fontset_ascii_font) [USE_FONT_BACKEND]: Extern them. | 8858 | * fns.c (assoc_no_quit): New function. |
| 8859 | 8859 | ||
| 8860 | * fontset.c [USE_FONT_BACKEND]: Include "font.h". | 8860 | * fontset.h (FONT_INFO_FROM_FACE): New macro. |
| 8861 | (fontset_font, fontset_ascii, face_for_char) | 8861 | (face_for_font, new_fontset_from_font) |
| 8862 | (make_fontset_for_ascii_face, Ffont_info) | 8862 | (fontset_ascii_font) [USE_FONT_BACKEND]: Extern them. |
| 8863 | (Finternal_char_font) [USE_FONT_BACKEND]: If enable_font_backend | 8863 | |
| 8864 | is nonzero, use font-backend mechanism. | 8864 | * fontset.c [USE_FONT_BACKEND]: Include "font.h". |
| 8865 | (find_font_encoding): Make it non-static. | 8865 | (fontset_font, fontset_ascii, face_for_char) |
| 8866 | (new_fontset_from_font, fontset_ascii_font) [USE_FONT_BACKEND]: | 8866 | (make_fontset_for_ascii_face, Ffont_info) |
| 8867 | New functions. | 8867 | (Finternal_char_font) [USE_FONT_BACKEND]: If enable_font_backend |
| 8868 | 8868 | is nonzero, use font-backend mechanism. | |
| 8869 | * frame.h (struct frame): New members resx and resy. | 8869 | (find_font_encoding): Make it non-static. |
| 8870 | (struct frame) [USE_FONT_BACKEND]: New member font_driver_list. | 8870 | (new_fontset_from_font, fontset_ascii_font) [USE_FONT_BACKEND]: |
| 8871 | (x_new_fontset2) [USE_FONT_BACKEND]: Extern it. | 8871 | New functions. |
| 8872 | 8872 | ||
| 8873 | * frame.c [USE_FONT_BACKEND]: Include "font.h". | 8873 | * frame.h (struct frame): New members resx and resy. |
| 8874 | (make_frame, x_set_font) [USE_FONT_BACKEND]: Use font-backend mechanism. | 8874 | (struct frame) [USE_FONT_BACKEND]: New member font_driver_list. |
| 8875 | 8875 | (x_new_fontset2) [USE_FONT_BACKEND]: Extern it. | |
| 8876 | * lisp.h (assoc_no_quit): Extern it. | 8876 | |
| 8877 | 8877 | * frame.c [USE_FONT_BACKEND]: Include "font.h". | |
| 8878 | * xdisp.c: If USE_FONT_BACKEND is defined, include "font.h". | 8878 | (make_frame, x_set_font) [USE_FONT_BACKEND]: Use font-backend mechanism. |
| 8879 | Through out the file, use FONT_INFO_FROM_FACE instead of | 8879 | |
| 8880 | FONT_INFO_FROM_ID, use get_per_char_metric instead of | 8880 | * lisp.h (assoc_no_quit): Extern it. |
| 8881 | rif->per_char_metric. | 8881 | |
| 8882 | (handle_composition_prop) [USE_FONT_BACKEND]: If the composition | 8882 | * xdisp.c: If USE_FONT_BACKEND is defined, include "font.h". |
| 8883 | method is COMPOSITION_WITH_GLYPH_STRING, just set it->c to ' '. | 8883 | Through out the file, use FONT_INFO_FROM_FACE instead of |
| 8884 | (get_glyph_face_and_encoding, fill_composite_glyph_string) | 8884 | FONT_INFO_FROM_ID, use get_per_char_metric instead of |
| 8885 | (get_char_face_and_encoding, BUILD_COMPOSITE_GLYPH_STRING) | 8885 | rif->per_char_metric. |
| 8886 | (x_produce_glyphs) [USE_FONT_BACKEND]: If enable_font_backend is | 8886 | (handle_composition_prop) [USE_FONT_BACKEND]: If the composition |
| 8887 | nonzero, use font-backend mechanism. | 8887 | method is COMPOSITION_WITH_GLYPH_STRING, just set it->c to ' '. |
| 8888 | (get_per_char_metric): New function. | 8888 | (get_glyph_face_and_encoding, fill_composite_glyph_string) |
| 8889 | 8889 | (get_char_face_and_encoding, BUILD_COMPOSITE_GLYPH_STRING) | |
| 8890 | * xfaces.c [USE_FONT_BACKEND]: Include "font.h". | 8890 | (x_produce_glyphs) [USE_FONT_BACKEND]: If enable_font_backend is |
| 8891 | (set_lface_from_font_name) | 8891 | nonzero, use font-backend mechanism. |
| 8892 | (set_font_frame_param, free_realized_face) | 8892 | (get_per_char_metric): New function. |
| 8893 | (prepare_face_for_display, clear_face_gcs) | 8893 | |
| 8894 | (Finternal_set_font_selection_order, realize_x_face) | 8894 | * xfaces.c [USE_FONT_BACKEND]: Include "font.h". |
| 8895 | [USE_FONT_BACKEND]: If enable_font_backend is nonzero, use | 8895 | (set_lface_from_font_name) |
| 8896 | font-backend mechanism. | 8896 | (set_font_frame_param, free_realized_face) |
| 8897 | (clear_face_cache) [USE_FONT_BACKEND]: Don't call clear_font_table. | 8897 | (prepare_face_for_display, clear_face_gcs) |
| 8898 | (load_face_font) [USE_FONT_BACKEND]: Abort. | 8898 | (Finternal_set_font_selection_order, realize_x_face) |
| 8899 | (face_symbolic_value, face_symbolic_weight, face_symbolic_slant) | 8899 | [USE_FONT_BACKEND]: If enable_font_backend is nonzero, use |
| 8900 | (face_symbolic_swidth, face_for_font) [USE_FONT_BACKEND]: New functions. | 8900 | font-backend mechanism. |
| 8901 | 8901 | (clear_face_cache) [USE_FONT_BACKEND]: Don't call clear_font_table. | |
| 8902 | * xfns.c [USE_FONT_BACKEND]: Include "font.h". | 8902 | (load_face_font) [USE_FONT_BACKEND]: Abort. |
| 8903 | (x_default_font_parameter) [USE_FONT_BACKEND]: New function. | 8903 | (face_symbolic_value, face_symbolic_weight, face_symbolic_slant) |
| 8904 | (Fx_create_frame) [USE_FONT_BACKEND]: If enable_font_backend is | 8904 | (face_symbolic_swidth, face_for_font) [USE_FONT_BACKEND]: New functions. |
| 8905 | nonzero, register all available font drivers. Call | 8905 | |
| 8906 | x_default_font_parameter for deciding a font. | 8906 | * xfns.c [USE_FONT_BACKEND]: Include "font.h". |
| 8907 | (x_create_tip_frame) [USE_FONT_BACKEND]: Likewise. | 8907 | (x_default_font_parameter) [USE_FONT_BACKEND]: New function. |
| 8908 | 8908 | (Fx_create_frame) [USE_FONT_BACKEND]: If enable_font_backend is | |
| 8909 | * xterm.c [USE_FONT_BACKEND]: Include "font.h". | 8909 | nonzero, register all available font drivers. Call |
| 8910 | (x_set_mouse_face_gc, x_set_glyph_string_clipping) | 8910 | x_default_font_parameter for deciding a font. |
| 8911 | (x_set_glyph_string_clipping_exactly) | 8911 | (x_create_tip_frame) [USE_FONT_BACKEND]: Likewise. |
| 8912 | (x_compute_glyph_string_overhangs) | 8912 | |
| 8913 | (x_draw_glyph_string_foreground) | 8913 | * xterm.c [USE_FONT_BACKEND]: Include "font.h". |
| 8914 | (x_draw_composite_glyph_string_foreground, x_draw_glyph_string) | 8914 | (x_set_mouse_face_gc, x_set_glyph_string_clipping) |
| 8915 | (x_free_frame_resources) [USE_FONT_BACKEND]: If | 8915 | (x_set_glyph_string_clipping_exactly) |
| 8916 | enable_font_backend is nonzero, use font-backend mechanism. | 8916 | (x_compute_glyph_string_overhangs) |
| 8917 | (x_new_fontset2) [USE_FONT_BACKEND]: New function. | 8917 | (x_draw_glyph_string_foreground) |
| 8918 | 8918 | (x_draw_composite_glyph_string_foreground, x_draw_glyph_string) | |
| 8919 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8919 | (x_free_frame_resources) [USE_FONT_BACKEND]: If |
| 8920 | 8920 | enable_font_backend is nonzero, use font-backend mechanism. | |
| 8921 | * coding.c (coding_inherit_eol_type): If PARENT is nil, inherit from | 8921 | (x_new_fontset2) [USE_FONT_BACKEND]: New function. |
| 8922 | system_eol_type. | 8922 | |
| 8923 | (syms_of_coding): Initialize system_eol_type. | 8923 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8924 | 8924 | ||
| 8925 | * process.c (Fset_process_coding_system): Inherit system's eol | 8925 | * coding.c (coding_inherit_eol_type): If PARENT is nil, inherit from |
| 8926 | format if necessary. | 8926 | system_eol_type. |
| 8927 | 8927 | (syms_of_coding): Initialize system_eol_type. | |
| 8928 | 2008-02-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 8928 | |
| 8929 | 8929 | * process.c (Fset_process_coding_system): Inherit system's eol | |
| 8930 | * macgui.h (USE_ATSUI): Don't enable on emacs-unicode-2 branch. | 8930 | format if necessary. |
| 8931 | 8931 | ||
| 8932 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8932 | 2008-02-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 8933 | 8933 | ||
| 8934 | * coding.c (decode_eol): Pay attention to buffer relocation in | 8934 | * macgui.h (USE_ATSUI): Don't enable on emacs-unicode-2 branch. |
| 8935 | del_range_2. | 8935 | |
| 8936 | (decode_coding): Call decode_eol before restoring undo_list. | 8936 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8937 | 8937 | ||
| 8938 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8938 | * coding.c (decode_eol): Pay attention to buffer relocation in |
| 8939 | 8939 | del_range_2. | |
| 8940 | * charset.c (Fdefine_charset_internal): Fix setting of | 8940 | (decode_coding): Call decode_eol before restoring undo_list. |
| 8941 | emacs_mule_bytes. | 8941 | |
| 8942 | 8942 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 8943 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8943 | |
| 8944 | 8944 | * charset.c (Fdefine_charset_internal): Fix setting of | |
| 8945 | * keyboard.c (read_char): Check if C is a character or not before | 8945 | emacs_mule_bytes. |
| 8946 | looking up Vkeyboard_translate_table. | 8946 | |
| 8947 | 8947 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 8948 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8948 | |
| 8949 | 8949 | * keyboard.c (read_char): Check if C is a character or not before | |
| 8950 | * coding.c (DECODE_EMACS_MULE_20_RELATIVE_COMPOSITION): Fix | 8950 | looking up Vkeyboard_translate_table. |
| 8951 | condition to terminate the loop. | 8951 | |
| 8952 | 8952 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 8953 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8953 | |
| 8954 | 8954 | * coding.c (DECODE_EMACS_MULE_20_RELATIVE_COMPOSITION): Fix | |
| 8955 | * coding.c (produce_composition): Compare charbuf[i] instead of | 8955 | condition to terminate the loop. |
| 8956 | args[i] against 0. | 8956 | |
| 8957 | (Fterminal_coding_system): Use EQ to compare Lisp objects. | 8957 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8958 | 8958 | ||
| 8959 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8959 | * coding.c (produce_composition): Compare charbuf[i] instead of |
| 8960 | 8960 | args[i] against 0. | |
| 8961 | * coding.c (DECODE_COMPOSITION_START): If the source is short, set | 8961 | (Fterminal_coding_system): Use EQ to compare Lisp objects. |
| 8962 | coding->result to CODING_RESULT_INSUFFICIENT_SRC. | 8962 | |
| 8963 | (decode_coding_gap): Set CODING_MODE_LAST_BLOCK after the call of | 8963 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8964 | detect_coding. | 8964 | |
| 8965 | (emacs_mule_char): Handle old style (Emacs 20) component character | 8965 | * coding.c (DECODE_COMPOSITION_START): If the source is short, set |
| 8966 | of a composition. | 8966 | coding->result to CODING_RESULT_INSUFFICIENT_SRC. |
| 8967 | (DECODE_EMACS_MULE_COMPOSITION_RULE_20) | 8967 | (decode_coding_gap): Set CODING_MODE_LAST_BLOCK after the call of |
| 8968 | (DECODE_EMACS_MULE_20_RULEBASE_COMPOSITION): Fix parsing a | 8968 | detect_coding. |
| 8969 | composition rule. | 8969 | (emacs_mule_char): Handle old style (Emacs 20) component character |
| 8970 | (decode_coding_emacs_mule): Handle invalid bytes correctly. | 8970 | of a composition. |
| 8971 | 8971 | (DECODE_EMACS_MULE_COMPOSITION_RULE_20) | |
| 8972 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8972 | (DECODE_EMACS_MULE_20_RULEBASE_COMPOSITION): Fix parsing a |
| 8973 | 8973 | composition rule. | |
| 8974 | * coding.c (encode_coding_ccl): Allocate destination dynamically | 8974 | (decode_coding_emacs_mule): Handle invalid bytes correctly. |
| 8975 | when necessary. | 8975 | |
| 8976 | 8976 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 8977 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8977 | |
| 8978 | 8978 | * coding.c (encode_coding_ccl): Allocate destination dynamically | |
| 8979 | * ccl.c (Fccl_execute_on_string): Fix the condition of terminating | 8979 | when necessary. |
| 8980 | the loop. When quitted, show a proper error message. | 8980 | |
| 8981 | 8981 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 8982 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8982 | |
| 8983 | 8983 | * ccl.c (Fccl_execute_on_string): Fix the condition of terminating | |
| 8984 | * xterm.c (x_set_glyph_string_clipping_exactly): Set | 8984 | the loop. When quitted, show a proper error message. |
| 8985 | src->clip_head and src->clip_tail temporarily instead of src->hl. | 8985 | |
| 8986 | 8986 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 8987 | * ccl.c (CCL_WRITE_STRING): Handle a flag bit for multibyte | 8987 | |
| 8988 | character sequence. | 8988 | * xterm.c (x_set_glyph_string_clipping_exactly): Set |
| 8989 | (Fccl_execute_on_string): Use ASET, not XSET. | 8989 | src->clip_head and src->clip_tail temporarily instead of src->hl. |
| 8990 | 8990 | ||
| 8991 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8991 | * ccl.c (CCL_WRITE_STRING): Handle a flag bit for multibyte |
| 8992 | 8992 | character sequence. | |
| 8993 | * search.c (search_buffer): Fix handling of "\\" in a trivial regexp. | 8993 | (Fccl_execute_on_string): Use ASET, not XSET. |
| 8994 | 8994 | ||
| 8995 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 8995 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 8996 | 8996 | ||
| 8997 | * coding.c (decode_coding): Fix the condition of terminating the | 8997 | * search.c (search_buffer): Fix handling of "\\" in a trivial regexp. |
| 8998 | decoding loop. | 8998 | |
| 8999 | 8999 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9000 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9000 | |
| 9001 | 9001 | * coding.c (decode_coding): Fix the condition of terminating the | |
| 9002 | * data.c (Faset): On setting a character bigger than 255 in a | 9002 | decoding loop. |
| 9003 | unibyte string, signal an error instead of make the string multibyte. | 9003 | |
| 9004 | 9004 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9005 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9005 | |
| 9006 | 9006 | * data.c (Faset): On setting a character bigger than 255 in a | |
| 9007 | * charset.c (map_charset_chars): Fix for ascii-compatible charset | 9007 | unibyte string, signal an error instead of make the string multibyte. |
| 9008 | made by a mapping table. | 9008 | |
| 9009 | 9009 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9010 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9010 | |
| 9011 | 9011 | * charset.c (map_charset_chars): Fix for ascii-compatible charset | |
| 9012 | * xdisp.c (fill_composite_glyph_string): Check s->face is NULL or | 9012 | made by a mapping table. |
| 9013 | not. | 9013 | |
| 9014 | (BUILD_COMPOSITE_GLYPH_STRING): If C is TAB, set s->face to NULL. | 9014 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9015 | (x_produce_glyphs): If CH is TAB, set cmp->offsets properly. | 9015 | |
| 9016 | 9016 | * xdisp.c (fill_composite_glyph_string): Check s->face is NULL or | |
| 9017 | * xterm.c (x_draw_composite_glyph_string_foreground): Check | 9017 | not. |
| 9018 | s->face is NULL or not. | 9018 | (BUILD_COMPOSITE_GLYPH_STRING): If C is TAB, set s->face to NULL. |
| 9019 | 9019 | (x_produce_glyphs): If CH is TAB, set cmp->offsets properly. | |
| 9020 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9020 | |
| 9021 | 9021 | * xterm.c (x_draw_composite_glyph_string_foreground): Check | |
| 9022 | * xterm.c (x_set_glyph_string_clipping_exactly): New function. | 9022 | s->face is NULL or not. |
| 9023 | (x_draw_glyph_string): Fix drawing of right_overhang and | 9023 | |
| 9024 | left_overhang around/on cursor. | 9024 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9025 | 9025 | ||
| 9026 | * xdisp.c (draw_glyphs): Fix inclusion of right_overwriting glyphs. | 9026 | * xterm.c (x_set_glyph_string_clipping_exactly): New function. |
| 9027 | 9027 | (x_draw_glyph_string): Fix drawing of right_overhang and | |
| 9028 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9028 | left_overhang around/on cursor. |
| 9029 | 9029 | ||
| 9030 | * xdisp.c (x_produce_glyphs): Handle composition with TAB. | 9030 | * xdisp.c (draw_glyphs): Fix inclusion of right_overwriting glyphs. |
| 9031 | 9031 | ||
| 9032 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9032 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9033 | 9033 | ||
| 9034 | * coding.c (Fdefine_coding_system_internal) | 9034 | * xdisp.c (x_produce_glyphs): Handle composition with TAB. |
| 9035 | (Fdefine_coding_system_alias): Avoid a duplicated element in | 9035 | |
| 9036 | Vcoding_system_alist. | 9036 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9037 | 9037 | ||
| 9038 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9038 | * coding.c (Fdefine_coding_system_internal) |
| 9039 | 9039 | (Fdefine_coding_system_alias): Avoid a duplicated element in | |
| 9040 | * xterm.c (handle_one_xevent): Handle keysyms 0x1000000..0x10000FF. | 9040 | Vcoding_system_alist. |
| 9041 | 9041 | ||
| 9042 | * coding.c (Qcoding_system_define_form): New variable. | 9042 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9043 | (syms_of_coding): Intern and staticpro it. | 9043 | |
| 9044 | (Fcoding_system_p): Check Qcoding_system_define_form. | 9044 | * xterm.c (handle_one_xevent): Handle keysyms 0x1000000..0x10000FF. |
| 9045 | (Fcheck_coding_system): Try to autoload the definition of CODING-SYSTEM. | 9045 | |
| 9046 | 9046 | * coding.c (Qcoding_system_define_form): New variable. | |
| 9047 | * coding.h (CODING_SYSTEM_P): If ID is not available, call | 9047 | (syms_of_coding): Intern and staticpro it. |
| 9048 | Fcoding_system_p. | 9048 | (Fcoding_system_p): Check Qcoding_system_define_form. |
| 9049 | (CHECK_CODING_SYSTEM): If ID is not available, call | 9049 | (Fcheck_coding_system): Try to autoload the definition of CODING-SYSTEM. |
| 9050 | Fcheck_coding_system. | 9050 | |
| 9051 | (CHECK_CODING_SYSTEM_GET_SPEC, CHECK_CODING_SYSTEM_GET_ID): | 9051 | * coding.h (CODING_SYSTEM_P): If ID is not available, call |
| 9052 | Try also Fcheck_coding_system. | 9052 | Fcoding_system_p. |
| 9053 | 9053 | (CHECK_CODING_SYSTEM): If ID is not available, call | |
| 9054 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9054 | Fcheck_coding_system. |
| 9055 | 9055 | (CHECK_CODING_SYSTEM_GET_SPEC, CHECK_CODING_SYSTEM_GET_ID): | |
| 9056 | * coding.c (code_conversion_restore): GCPRO arg. | 9056 | Try also Fcheck_coding_system. |
| 9057 | 9057 | ||
| 9058 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9058 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9059 | 9059 | ||
| 9060 | * character.c (lisp_string_width): Check multibyteness of STRING. | 9060 | * coding.c (code_conversion_restore): GCPRO arg. |
| 9061 | 9061 | ||
| 9062 | 2008-02-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 9062 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9063 | 9063 | ||
| 9064 | * macterm.c (mac_encode_char): Call ccl_driver with the last arg | 9064 | * character.c (lisp_string_width): Check multibyteness of STRING. |
| 9065 | Qnil. Use JIS_TO_SJIS instead of ENCODE_SJIS. | 9065 | |
| 9066 | (decode_mac_font_name): Use decode_coding_c_string instead of | 9066 | 2008-02-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 9067 | decode_coding. | 9067 | |
| 9068 | (x_load_font): Initialize fontp->fontset to -1. Set | 9068 | * macterm.c (mac_encode_char): Call ccl_driver with the last arg |
| 9069 | fontp->encoding_type. | 9069 | Qnil. Use JIS_TO_SJIS instead of ENCODE_SJIS. |
| 9070 | 9070 | (decode_mac_font_name): Use decode_coding_c_string instead of | |
| 9071 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9071 | decode_coding. |
| 9072 | 9072 | (x_load_font): Initialize fontp->fontset to -1. Set | |
| 9073 | * search.c (search_buffer): Give up BM search on case-fold-search | 9073 | fontp->encoding_type. |
| 9074 | if one of a target character has a case-equivalence of different | 9074 | |
| 9075 | byte length even if that target charcter is an ASCII. | 9075 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9076 | (simple_search): Fix calculation of byte length of matched text. | 9076 | |
| 9077 | (boyer_moore): Fix handling of case-equivalent multibyte characters. | 9077 | * search.c (search_buffer): Give up BM search on case-fold-search |
| 9078 | 9078 | if one of a target character has a case-equivalence of different | |
| 9079 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9079 | byte length even if that target charcter is an ASCII. |
| 9080 | 9080 | (simple_search): Fix calculation of byte length of matched text. | |
| 9081 | * coding.c (decode_coding): Fix handling of invalid bytes. | 9081 | (boyer_moore): Fix handling of case-equivalent multibyte characters. |
| 9082 | 9082 | ||
| 9083 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9083 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9084 | 9084 | ||
| 9085 | * xterm.c (handle_one_xevent): Handle keysyms directly mapped to | 9085 | * coding.c (decode_coding): Fix handling of invalid bytes. |
| 9086 | Unicode characters. | 9086 | |
| 9087 | 9087 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9088 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9088 | |
| 9089 | 9089 | * xterm.c (handle_one_xevent): Handle keysyms directly mapped to | |
| 9090 | * coding.c (encode_coding_object): If a pre-write-conversion | 9090 | Unicode characters. |
| 9091 | function makes a new buffer, kill it. | 9091 | |
| 9092 | 9092 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9093 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9093 | |
| 9094 | 9094 | * coding.c (encode_coding_object): If a pre-write-conversion | |
| 9095 | * coding.c (QCascii_compatible_p): New variable. | 9095 | function makes a new buffer, kill it. |
| 9096 | (syms_of_coding): Initialize it. | 9096 | |
| 9097 | (ONE_MORE_BYTE, ONE_MORE_BYTE_NO_CHECK): Decrement `src' before | 9097 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9098 | calling string_char. | 9098 | |
| 9099 | (record_conversion_result): Add `default:' case. | 9099 | * coding.c (QCascii_compatible_p): New variable. |
| 9100 | (coding_charset_list): Delete unused variable `coding_type'. | 9100 | (syms_of_coding): Initialize it. |
| 9101 | (Fdefine_coding_system_internal): Add `ascii-compatible-p' | 9101 | (ONE_MORE_BYTE, ONE_MORE_BYTE_NO_CHECK): Decrement `src' before |
| 9102 | property in the plist of the coding system. | 9102 | calling string_char. |
| 9103 | (Fcoding_system_put): Check QCascii_compatible_p. | 9103 | (record_conversion_result): Add `default:' case. |
| 9104 | 9104 | (coding_charset_list): Delete unused variable `coding_type'. | |
| 9105 | 2008-02-01 Miles Bader <miles@gnu.org> | 9105 | (Fdefine_coding_system_internal): Add `ascii-compatible-p' |
| 9106 | 9106 | property in the plist of the coding system. | |
| 9107 | * xfaces.c (Finternal_lisp_face_equal_p): Restore previously | 9107 | (Fcoding_system_put): Check QCascii_compatible_p. |
| 9108 | removed calculation of frame `f', as it's now used. | 9108 | |
| 9109 | 9109 | 2008-02-01 Miles Bader <miles@gnu.org> | |
| 9110 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9110 | |
| 9111 | 9111 | * xfaces.c (Finternal_lisp_face_equal_p): Restore previously | |
| 9112 | * Makefile.in (RUN_TEMACS): Include "-nl" if HAVE_SHM is defined. | 9112 | removed calculation of frame `f', as it's now used. |
| 9113 | (emacs${EXEEXT}): Run $(RUN_TEMACS) unconditionally. | 9113 | |
| 9114 | (UNIDATA): New variable. | 9114 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9115 | (${lispsource}international/charprop.el): Depends on ${UNIDATA}. | 9115 | |
| 9116 | (bootstrap-emacs${EXEEXT}): Depends on charprop.el. Run | 9116 | * Makefile.in (RUN_TEMACS): Include "-nl" if HAVE_SHM is defined. |
| 9117 | $(RUN_TEMACS) unconditionally. | 9117 | (emacs${EXEEXT}): Run $(RUN_TEMACS) unconditionally. |
| 9118 | 9118 | (UNIDATA): New variable. | |
| 9119 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9119 | (${lispsource}international/charprop.el): Depends on ${UNIDATA}. |
| 9120 | 9120 | (bootstrap-emacs${EXEEXT}): Depends on charprop.el. Run | |
| 9121 | * Makefile.in (temacs${EXEEXT}): Build charprop.el if necessary. | 9121 | $(RUN_TEMACS) unconditionally. |
| 9122 | (admindir): New variable. | 9122 | |
| 9123 | ($(lispsource)international/charprop.el): New target. | 9123 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9124 | 9124 | ||
| 9125 | 2008-02-01 Miles Bader <miles@gnu.org> | 9125 | * Makefile.in (temacs${EXEEXT}): Build charprop.el if necessary. |
| 9126 | 9126 | (admindir): New variable. | |
| 9127 | * character.c (chars-in-region): Remove obsolete function. | 9127 | ($(lispsource)international/charprop.el): New target. |
| 9128 | (syms_of_character): Remove its initialization. | 9128 | |
| 9129 | 9129 | 2008-02-01 Miles Bader <miles@gnu.org> | |
| 9130 | 2008-02-01 Benjamin Riefenstahl <b.riefenstahl@turtle-trading.net> | 9130 | |
| 9131 | 9131 | * character.c (chars-in-region): Remove obsolete function. | |
| 9132 | * w32select.c (validate_coding_system) | 9132 | (syms_of_character): Remove its initialization. |
| 9133 | (setup_windows_coding_system): New functions. | 9133 | |
| 9134 | (convert_to_handle_as_coded, Fw32_get_clipboard_data): Use | 9134 | 2008-02-01 Benjamin Riefenstahl <b.riefenstahl@turtle-trading.net> |
| 9135 | setup_windows_coding_system. | 9135 | |
| 9136 | (setup_config, Fw32_get_clipboard_data): Use | 9136 | * w32select.c (validate_coding_system) |
| 9137 | validate_coding_system. | 9137 | (setup_windows_coding_system): New functions. |
| 9138 | (Fx_selection_exists): Move call to setup_config to a place | 9138 | (convert_to_handle_as_coded, Fw32_get_clipboard_data): Use |
| 9139 | where signals are allowed. | 9139 | setup_windows_coding_system. |
| 9140 | 9140 | (setup_config, Fw32_get_clipboard_data): Use | |
| 9141 | * lisp.h (Fcoding_system_base, Fcoding_system_eol_type) | 9141 | validate_coding_system. |
| 9142 | (Fcheck_coding_system): Add declarations. | 9142 | (Fx_selection_exists): Move call to setup_config to a place |
| 9143 | 9143 | where signals are allowed. | |
| 9144 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9144 | |
| 9145 | 9145 | * lisp.h (Fcoding_system_base, Fcoding_system_eol_type) | |
| 9146 | * charset.c (load_charset_map_from_vector): Fix for the first iteration. | 9146 | (Fcheck_coding_system): Add declarations. |
| 9147 | 9147 | ||
| 9148 | 2008-02-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 9148 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9149 | 9149 | ||
| 9150 | * macfns.c (Fx_create_frame, x_create_tip_frame): Pass Lisp | 9150 | * charset.c (load_charset_map_from_vector): Fix for the first iteration. |
| 9151 | string as the second argument for x_new_fontset. | 9151 | |
| 9152 | 9152 | 2008-02-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
| 9153 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9153 | |
| 9154 | 9154 | * macfns.c (Fx_create_frame, x_create_tip_frame): Pass Lisp | |
| 9155 | * coding.c (decode_coding_object): Use safe_call1 instead of call1. | 9155 | string as the second argument for x_new_fontset. |
| 9156 | (encode_coding_object): Use safe_call instead of call2. | 9156 | |
| 9157 | 9157 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9158 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9158 | |
| 9159 | 9159 | * coding.c (decode_coding_object): Use safe_call1 instead of call1. | |
| 9160 | * fontset.c (Fset_fontset_font): Check family element of a given vector. | 9160 | (encode_coding_object): Use safe_call instead of call2. |
| 9161 | 9161 | ||
| 9162 | * Makefile.in (lisp): Include charprop.el. | 9162 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9163 | 9163 | ||
| 9164 | 2008-02-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 9164 | * fontset.c (Fset_fontset_font): Check family element of a given vector. |
| 9165 | 9165 | ||
| 9166 | * macfns.c (Fx_create_frame, x_create_tip_frame): Fix crash. | 9166 | * Makefile.in (lisp): Include charprop.el. |
| 9167 | Not sure if it's unnecessary. | 9167 | |
| 9168 | 9168 | 2008-02-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
| 9169 | 2008-02-01 Steven Tamm <steventamm@mac.com> | 9169 | |
| 9170 | 9170 | * macfns.c (Fx_create_frame, x_create_tip_frame): Fix crash. | |
| 9171 | * macfns.c (Fx_create_frame, x_create_tip_frame): ifdef'd out | 9171 | Not sure if it's unnecessary. |
| 9172 | some possibly unnecessary fontset checking code that crashed | 9172 | |
| 9173 | when creating a new frame. | 9173 | 2008-02-01 Steven Tamm <steventamm@mac.com> |
| 9174 | 9174 | ||
| 9175 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9175 | * macfns.c (Fx_create_frame, x_create_tip_frame): ifdef'd out |
| 9176 | 9176 | some possibly unnecessary fontset checking code that crashed | |
| 9177 | * xfaces.c (merge_faces): Fix argument to lookup_derived_face and | 9177 | when creating a new frame. |
| 9178 | lookup_face. | 9178 | |
| 9179 | 9179 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9180 | * xdisp.c (Fformat_mode_line): Fix argument to lookup_named_face. | 9180 | |
| 9181 | 9181 | * xfaces.c (merge_faces): Fix argument to lookup_derived_face and | |
| 9182 | * fringe.c (draw_fringe_bitmap_1): Fix argument to lookup_named_face. | 9182 | lookup_face. |
| 9183 | 9183 | ||
| 9184 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9184 | * xdisp.c (Fformat_mode_line): Fix argument to lookup_named_face. |
| 9185 | 9185 | ||
| 9186 | * coding.c: Cancel the change done in HEAD on 2008-02-01. | 9186 | * fringe.c (draw_fringe_bitmap_1): Fix argument to lookup_named_face. |
| 9187 | (coding_charset_list): New function. | 9187 | |
| 9188 | 9188 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9189 | * coding.h (coding_charset_list): Extern it. | 9189 | |
| 9190 | 9190 | * coding.c: Cancel the change done in HEAD on 2008-02-01. | |
| 9191 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9191 | (coding_charset_list): New function. |
| 9192 | 9192 | ||
| 9193 | * fontset.c (Fset_fontset_font): Call find_font_encoding with | 9193 | * coding.h (coding_charset_list): Extern it. |
| 9194 | concatenation of family and registry. | 9194 | |
| 9195 | 9195 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9196 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9196 | |
| 9197 | 9197 | * fontset.c (Fset_fontset_font): Call find_font_encoding with | |
| 9198 | * character.h (BYTE8_STRING): Fix typo. | 9198 | concatenation of family and registry. |
| 9199 | 9199 | ||
| 9200 | * editfns.c (Ftranslate_region_internal): Don't convert unibyte | 9200 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9201 | string to multibyte (sync to HEAD). | 9201 | |
| 9202 | 9202 | * character.h (BYTE8_STRING): Fix typo. | |
| 9203 | * casefiddle.c (casify_region): Handle changes in byte-length | 9203 | |
| 9204 | using replace_range_2 (sync to HEAD). | 9204 | * editfns.c (Ftranslate_region_internal): Don't convert unibyte |
| 9205 | 9205 | string to multibyte (sync to HEAD). | |
| 9206 | 2008-02-01 Andreas Schwab <schwab@suse.de> | 9206 | |
| 9207 | 9207 | * casefiddle.c (casify_region): Handle changes in byte-length | |
| 9208 | * chartab.c (map_char_table): GCPRO table and arg. | 9208 | using replace_range_2 (sync to HEAD). |
| 9209 | 9209 | ||
| 9210 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9210 | 2008-02-01 Andreas Schwab <schwab@suse.de> |
| 9211 | 9211 | ||
| 9212 | * syntax.c (skip_syntaxes): Return lispy 0 (not nil) if point is | 9212 | * chartab.c (map_char_table): GCPRO table and arg. |
| 9213 | already at limit. | 9213 | |
| 9214 | 9214 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9215 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9215 | |
| 9216 | 9216 | * syntax.c (skip_syntaxes): Return lispy 0 (not nil) if point is | |
| 9217 | * fontset.c (fs_load_font): Use fast_string_match_ignore_case | 9217 | already at limit. |
| 9218 | instead of fast_c_string_match_ignore_case. | 9218 | |
| 9219 | (find_font_encoding): Change argument to Lisp_Object. Use | 9219 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9220 | fast_string_match_ignore_case instead of | 9220 | |
| 9221 | fast_c_string_match_ignore_case. Change caller. | 9221 | * fontset.c (fs_load_font): Use fast_string_match_ignore_case |
| 9222 | 9222 | instead of fast_c_string_match_ignore_case. | |
| 9223 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9223 | (find_font_encoding): Change argument to Lisp_Object. Use |
| 9224 | 9224 | fast_string_match_ignore_case instead of | |
| 9225 | * xdisp.c (get_next_display_element): In unibyte case, decide to | 9225 | fast_c_string_match_ignore_case. Change caller. |
| 9226 | display in octal form by checking a character by | 9226 | |
| 9227 | UNIBYTE_CHAR_HAS_MULTIBYTE_P. | 9227 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9228 | 9228 | ||
| 9229 | * charset.c (Fset_unibyte_charset): Setup unibyte_has_multibyte_table. | 9229 | * xdisp.c (get_next_display_element): In unibyte case, decide to |
| 9230 | 9230 | display in octal form by checking a character by | |
| 9231 | * character.c (unibyte_has_multibyte_table): New variable. | 9231 | UNIBYTE_CHAR_HAS_MULTIBYTE_P. |
| 9232 | 9232 | ||
| 9233 | * character.h (unibyte_has_multibyte_table): Extern it. | 9233 | * charset.c (Fset_unibyte_charset): Setup unibyte_has_multibyte_table. |
| 9234 | (UNIBYTE_CHAR_HAS_MULTIBYTE_P): New macro. | 9234 | |
| 9235 | 9235 | * character.c (unibyte_has_multibyte_table): New variable. | |
| 9236 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9236 | |
| 9237 | 9237 | * character.h (unibyte_has_multibyte_table): Extern it. | |
| 9238 | * coding.c (encode_coding_iso_2022): Fix handling of charset | 9238 | (UNIBYTE_CHAR_HAS_MULTIBYTE_P): New macro. |
| 9239 | annotation. | 9239 | |
| 9240 | 9240 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9241 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9241 | |
| 9242 | 9242 | * coding.c (encode_coding_iso_2022): Fix handling of charset | |
| 9243 | * coding.c (setup_coding_system): If coding_system is nil, use | 9243 | annotation. |
| 9244 | Qundecided. | 9244 | |
| 9245 | (Fterminal_coding_system): Return nil if terminal coding system is | 9245 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9246 | `undecided'. | 9246 | |
| 9247 | (syms_of_coding): Define coding-system `undecided' here. Setup | 9247 | * coding.c (setup_coding_system): If coding_system is nil, use |
| 9248 | terminal_coding as `undecided'. | 9248 | Qundecided. |
| 9249 | 9249 | (Fterminal_coding_system): Return nil if terminal coding system is | |
| 9250 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9250 | `undecided'. |
| 9251 | 9251 | (syms_of_coding): Define coding-system `undecided' here. Setup | |
| 9252 | * xdisp.c (message_dolog, set_message_1): Call | 9252 | terminal_coding as `undecided'. |
| 9253 | unibyte_char_to_multibyte with arg type int. | 9253 | |
| 9254 | 9254 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9255 | * lread.c (read1): Fix reading of a char-table. | 9255 | |
| 9256 | 9256 | * xdisp.c (message_dolog, set_message_1): Call | |
| 9257 | * print.c (print_object): Include sub char-table in circularities | 9257 | unibyte_char_to_multibyte with arg type int. |
| 9258 | detection. | 9258 | |
| 9259 | 9259 | * lread.c (read1): Fix reading of a char-table. | |
| 9260 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9260 | |
| 9261 | 9261 | * print.c (print_object): Include sub char-table in circularities | |
| 9262 | * keymap.c (where_is_internal_2): Fix for the case that KEY is a cons. | 9262 | detection. |
| 9263 | Append the found sequences in car of ARGS instead of prepending. | 9263 | |
| 9264 | 9264 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9265 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9265 | |
| 9266 | 9266 | * keymap.c (where_is_internal_2): Fix for the case that KEY is a cons. | |
| 9267 | * fileio.c (report_file_error): Make a unibyte string from | 9267 | Append the found sequences in car of ARGS instead of prepending. |
| 9268 | strerror (errorno). | 9268 | |
| 9269 | (Fsubstitute_in_file_name): Fix the arg to | 9269 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9270 | unibyte_char_to_multibyte. It is evaluated twice. | 9270 | |
| 9271 | 9271 | * fileio.c (report_file_error): Make a unibyte string from | |
| 9272 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9272 | strerror (errorno). |
| 9273 | 9273 | (Fsubstitute_in_file_name): Fix the arg to | |
| 9274 | * charset.h (CHAR_CHARSET): Shortcut for ASCII case. | 9274 | unibyte_char_to_multibyte. It is evaluated twice. |
| 9275 | 9275 | ||
| 9276 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9276 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9277 | 9277 | ||
| 9278 | * coding.c (detect_coding_utf_16): Don't set detect_info->found if | 9278 | * charset.h (CHAR_CHARSET): Shortcut for ASCII case. |
| 9279 | BOM is not found. | 9279 | |
| 9280 | (detect_coding, detect_coding_system): Optimization for ISO-2022 | 9280 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9281 | when no 8-bit data is found. | 9281 | |
| 9282 | 9282 | * coding.c (detect_coding_utf_16): Don't set detect_info->found if | |
| 9283 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 9283 | BOM is not found. |
| 9284 | 9284 | (detect_coding, detect_coding_system): Optimization for ISO-2022 | |
| 9285 | * w32fns.c (x_to_w32_font): Update to use new coding struct. | 9285 | when no 8-bit data is found. |
| 9286 | 9286 | ||
| 9287 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9287 | 2008-02-01 Jason Rumney <jasonr@gnu.org> |
| 9288 | 9288 | ||
| 9289 | * charset.c (Fdeclare_equiv_charset, Fiso_charset): Fix handing of | 9289 | * w32fns.c (x_to_w32_font): Update to use new coding struct. |
| 9290 | CHARS. | 9290 | |
| 9291 | 9291 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9292 | 2008-02-01 Steven Tamm <steventamm@mac.com> | 9292 | |
| 9293 | 9293 | * charset.c (Fdeclare_equiv_charset, Fiso_charset): Fix handing of | |
| 9294 | * macterm.c (mac_encode_char): Add charset argument and update | 9294 | CHARS. |
| 9295 | to use encoding_type. | 9295 | |
| 9296 | (x_new_font, x_new_fontset): Merge in changes from xterm.c; | 9296 | 2008-02-01 Steven Tamm <steventamm@mac.com> |
| 9297 | switch to pure fontset. | 9297 | |
| 9298 | (decode_mac_font_name): Temporarily remove decoding. | 9298 | * macterm.c (mac_encode_char): Add charset argument and update |
| 9299 | (x_font_name_to_mac_font_name): Temporarily remove encoding. | 9299 | to use encoding_type. |
| 9300 | (x_load_font): Temporarily remove encoding. | 9300 | (x_new_font, x_new_fontset): Merge in changes from xterm.c; |
| 9301 | 9301 | switch to pure fontset. | |
| 9302 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9302 | (decode_mac_font_name): Temporarily remove decoding. |
| 9303 | 9303 | (x_font_name_to_mac_font_name): Temporarily remove encoding. | |
| 9304 | * xfaces.c (Fface_font): If frame is not on a window system, | 9304 | (x_load_font): Temporarily remove encoding. |
| 9305 | ignore CHARACTER arg. If HAVE_WINDOW_SYSTEM is not defined, don't | 9305 | |
| 9306 | refer to face->font. | 9306 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9307 | (split_font_name_into_vector, build_font_name_from_vector) | 9307 | |
| 9308 | (lookup_non_ascii_face, realize_non_ascii_face): Define them only | 9308 | * xfaces.c (Fface_font): If frame is not on a window system, |
| 9309 | when HAVE_WINDOW_SYSTEM is defined. | 9309 | ignore CHARACTER arg. If HAVE_WINDOW_SYSTEM is not defined, don't |
| 9310 | 9310 | refer to face->font. | |
| 9311 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9311 | (split_font_name_into_vector, build_font_name_from_vector) |
| 9312 | 9312 | (lookup_non_ascii_face, realize_non_ascii_face): Define them only | |
| 9313 | * xdisp.c (BUILD_GLYPH_STRINGS): Check if s is NULL. | 9313 | when HAVE_WINDOW_SYSTEM is defined. |
| 9314 | (x_produce_glyphs): Fix setting of members of cmp in case | 9314 | |
| 9315 | cmp->glyph_len is zero. | 9315 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9316 | 9316 | ||
| 9317 | * fontset.c (Fset_fontset_font): Fix docstring. | 9317 | * xdisp.c (BUILD_GLYPH_STRINGS): Check if s is NULL. |
| 9318 | (Ffontset_info): Make it backward compatible. New arg ALL. | 9318 | (x_produce_glyphs): Fix setting of members of cmp in case |
| 9319 | 9319 | cmp->glyph_len is zero. | |
| 9320 | 2008-02-01 Kim F. Storm <storm@cua.dk> | 9320 | |
| 9321 | 9321 | * fontset.c (Fset_fontset_font): Fix docstring. | |
| 9322 | * process.c (read_process_output): Grow decoding_buf when needed; | 9322 | (Ffontset_info): Make it backward compatible. New arg ALL. |
| 9323 | this could cause a crash in allocate_string and compact_small_strings. | 9323 | |
| 9324 | 9324 | 2008-02-01 Kim F. Storm <storm@cua.dk> | |
| 9325 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9325 | |
| 9326 | 9326 | * process.c (read_process_output): Grow decoding_buf when needed; | |
| 9327 | * fileio.c (WRITE_BUF_SIZE): Delete this macro. | 9327 | this could cause a crash in allocate_string and compact_small_strings. |
| 9328 | 9328 | ||
| 9329 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9329 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9330 | 9330 | ||
| 9331 | * coding.c (setup_coding_system): Set coding->common_flags | 9331 | * fileio.c (WRITE_BUF_SIZE): Delete this macro. |
| 9332 | correctly for raw-text. | 9332 | |
| 9333 | (consume_chars): On encoding unibyte text by raw-text, don't check | 9333 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9334 | multibyte form. | 9334 | |
| 9335 | (encode_coding): On encoding by raw-text, never use translation tables. | 9335 | * coding.c (setup_coding_system): Set coding->common_flags |
| 9336 | 9336 | correctly for raw-text. | |
| 9337 | * fileio.c (e_write): Short cut for the case of no encoding. | 9337 | (consume_chars): On encoding unibyte text by raw-text, don't check |
| 9338 | 9338 | multibyte form. | |
| 9339 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9339 | (encode_coding): On encoding by raw-text, never use translation tables. |
| 9340 | 9340 | ||
| 9341 | * coding.c (detect_coding, detect_coding_system): Delete unused | 9341 | * fileio.c (e_write): Short cut for the case of no encoding. |
| 9342 | variables. | 9342 | |
| 9343 | 9343 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9344 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9344 | |
| 9345 | 9345 | * coding.c (detect_coding, detect_coding_system): Delete unused | |
| 9346 | * coding.c (encode_coding_utf_8): Fix handling of raw-byte char. | 9346 | variables. |
| 9347 | (consume_chars): Fix handling of 8-bit bytes in unibyte source. | 9347 | |
| 9348 | 9348 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9349 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9349 | |
| 9350 | 9350 | * coding.c (encode_coding_utf_8): Fix handling of raw-byte char. | |
| 9351 | * coding.c (Ffind_coding_systems_region_internal): Include | 9351 | (consume_chars): Fix handling of 8-bit bytes in unibyte source. |
| 9352 | raw-text and no-conversion in the result. | 9352 | |
| 9353 | 9353 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9354 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9354 | |
| 9355 | 9355 | * coding.c (Ffind_coding_systems_region_internal): Include | |
| 9356 | * fontset.c (find_font_encoding): Return `ascii' for unknown encoding. | 9356 | raw-text and no-conversion in the result. |
| 9357 | (load_font_get_repertory): Delete unnecessary check of ENCODING of | 9357 | |
| 9358 | FONT_DEF. | 9358 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9359 | (font_def_arg, add_arg, from_arg, to_arg): New args. | 9359 | |
| 9360 | (set_fontset_font): Change argument. | 9360 | * fontset.c (find_font_encoding): Return `ascii' for unknown encoding. |
| 9361 | (Fset_fontset_font): Fix for the case that TARGET is a script | 9361 | (load_font_get_repertory): Delete unnecessary check of ENCODING of |
| 9362 | name and charset name. | 9362 | FONT_DEF. |
| 9363 | (new_fontset_from_font_name): Fix argument to Fnew_fontset. | 9363 | (font_def_arg, add_arg, from_arg, to_arg): New args. |
| 9364 | 9364 | (set_fontset_font): Change argument. | |
| 9365 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9365 | (Fset_fontset_font): Fix for the case that TARGET is a script |
| 9366 | 9366 | name and charset name. | |
| 9367 | * fontset.c (fontset_font): Rename from fontset_face. Change return | 9367 | (new_fontset_from_font_name): Fix argument to Fnew_fontset. |
| 9368 | value. | 9368 | |
| 9369 | (face_suitable_for_char_p, face_for_char): Adjust for the change | 9369 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9370 | of fontset_font. | 9370 | |
| 9371 | (make_fontset_for_ascii_face): Fix setting of the fontset element | 9371 | * fontset.c (fontset_font): Rename from fontset_face. Change return |
| 9372 | for ASCII. | 9372 | value. |
| 9373 | (Finternal_char_font): Use fontset_font instead of FACE_FOR_CHAR | 9373 | (face_suitable_for_char_p, face_for_char): Adjust for the change |
| 9374 | to get a font name. | 9374 | of fontset_font. |
| 9375 | (Ffontset_info): Adjust for the change of fontset_font. | 9375 | (make_fontset_for_ascii_face): Fix setting of the fontset element |
| 9376 | 9376 | for ASCII. | |
| 9377 | * coding.c (emacs_mule_char): Check invalid code more rigidly. | 9377 | (Finternal_char_font): Use fontset_font instead of FACE_FOR_CHAR |
| 9378 | 9378 | to get a font name. | |
| 9379 | * character.h (LEADING_CODE_LATIN_1_MIN) | 9379 | (Ffontset_info): Adjust for the change of fontset_font. |
| 9380 | (LEADING_CODE_LATIN_1_MAX): Delete these macros. | 9380 | |
| 9381 | 9381 | * coding.c (emacs_mule_char): Check invalid code more rigidly. | |
| 9382 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9382 | |
| 9383 | 9383 | * character.h (LEADING_CODE_LATIN_1_MIN) | |
| 9384 | * editfns.c (check_translation): New function. | 9384 | (LEADING_CODE_LATIN_1_MAX): Delete these macros. |
| 9385 | (Ftranslate_region_internal): Handle M:N mapping. | 9385 | |
| 9386 | 9386 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9387 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9387 | |
| 9388 | 9388 | * editfns.c (check_translation): New function. | |
| 9389 | * xfaces.c (xlfd_point_size): Set font->numeric[XLFD_PIXEL_SIZE]. | 9389 | (Ftranslate_region_internal): Handle M:N mapping. |
| 9390 | 9390 | ||
| 9391 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9391 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9392 | 9392 | ||
| 9393 | * coding.c (DECODE_DESIGNATION): Set chars_96 to -1 instead of | 9393 | * xfaces.c (xlfd_point_size): Set font->numeric[XLFD_PIXEL_SIZE]. |
| 9394 | goto invalid_code. | 9394 | |
| 9395 | (decode_coding_iso_2022): Fix handling of invalid designation. | 9395 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9396 | 9396 | ||
| 9397 | * fileio.c (Finsert_file_contents): Be sure to call unbind_to | 9397 | * coding.c (DECODE_DESIGNATION): Set chars_96 to -1 instead of |
| 9398 | after calling code_conversion_save. | 9398 | goto invalid_code. |
| 9399 | 9399 | (decode_coding_iso_2022): Fix handling of invalid designation. | |
| 9400 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9400 | |
| 9401 | 9401 | * fileio.c (Finsert_file_contents): Be sure to call unbind_to | |
| 9402 | * xdisp.c (handle_auto_composed_prop): Fix Lisp_Object/int mixup. | 9402 | after calling code_conversion_save. |
| 9403 | 9403 | ||
| 9404 | * print.c (print_prune_string_charset): Fix Lisp_Object/int mixup. | 9404 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9405 | 9405 | ||
| 9406 | * fontset.c: Include "intervals.h". | 9406 | * xdisp.c (handle_auto_composed_prop): Fix Lisp_Object/int mixup. |
| 9407 | (fontset_face): Fix comparing of Lisp_Objects. | 9407 | |
| 9408 | (free_face_fontset, new_fontset_from_font_name): Fix | 9408 | * print.c (print_prune_string_charset): Fix Lisp_Object/int mixup. |
| 9409 | Lisp_Object/int mixup. | 9409 | |
| 9410 | 9410 | * fontset.c: Include "intervals.h". | |
| 9411 | * editfns.c (Ftranslate_region_internal): Fix Lisp_Object/int mixup. | 9411 | (fontset_face): Fix comparing of Lisp_Objects. |
| 9412 | 9412 | (free_face_fontset, new_fontset_from_font_name): Fix | |
| 9413 | * coding.c: Add many prototypes for static functions. | 9413 | Lisp_Object/int mixup. |
| 9414 | (get_translation_table): Allow max_lookup to be NULL. | 9414 | |
| 9415 | (decode_coding, Ffind_coding_systems_region_internal) | 9415 | * editfns.c (Ftranslate_region_internal): Fix Lisp_Object/int mixup. |
| 9416 | (Funencodable_char_position, Fcheck_coding_systems_region): Call | 9416 | |
| 9417 | get_translation_table with max_lookup NULL. | 9417 | * coding.c: Add many prototypes for static functions. |
| 9418 | 9418 | (get_translation_table): Allow max_lookup to be NULL. | |
| 9419 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9419 | (decode_coding, Ffind_coding_systems_region_internal) |
| 9420 | 9420 | (Funencodable_char_position, Fcheck_coding_systems_region): Call | |
| 9421 | * coding.c (get_translation_table): Declare it as Lisp_Object. | 9421 | get_translation_table with max_lookup NULL. |
| 9422 | (LOOKUP_TRANSLATION_TABLE): New macro. | 9422 | |
| 9423 | (produce_chars, consume_chars): Use LOOKUP_TRANSLATION_TABLE | 9423 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9424 | instead of CHAR_TABLE_REF. | 9424 | |
| 9425 | 9425 | * coding.c (get_translation_table): Declare it as Lisp_Object. | |
| 9426 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9426 | (LOOKUP_TRANSLATION_TABLE): New macro. |
| 9427 | 9427 | (produce_chars, consume_chars): Use LOOKUP_TRANSLATION_TABLE | |
| 9428 | * coding.c (MAX_ANNOTATION_LENGTH): Adjust for the change of | 9428 | instead of CHAR_TABLE_REF. |
| 9429 | annotation data format. | 9429 | |
| 9430 | (ADD_ANNOTATION_DATA, ADD_COMPOSITION_DATA, ADD_CHARSET_DATA): | 9430 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9431 | Change arguments FROM and TO to single argument NCHARS. Change caller. | 9431 | |
| 9432 | (decode_coding_utf_8, decode_coding_utf_16, decode_coding_emacs_mule) | 9432 | * coding.c (MAX_ANNOTATION_LENGTH): Adjust for the change of |
| 9433 | (decode_coding_iso_2022, decode_coding_sjis, decode_coding_big5) | 9433 | annotation data format. |
| 9434 | (decode_coding_ccl, decode_coding_charset): Pay attention to | 9434 | (ADD_ANNOTATION_DATA, ADD_COMPOSITION_DATA, ADD_CHARSET_DATA): |
| 9435 | coding->charbuf_used. | 9435 | Change arguments FROM and TO to single argument NCHARS. Change caller. |
| 9436 | (get_translation): New function. | 9436 | (decode_coding_utf_8, decode_coding_utf_16, decode_coding_emacs_mule) |
| 9437 | (produce_chars): New arguments translation_table and last_block. | 9437 | (decode_coding_iso_2022, decode_coding_sjis, decode_coding_big5) |
| 9438 | Translate characters here. Return number of carryover chars. | 9438 | (decode_coding_ccl, decode_coding_charset): Pay attention to |
| 9439 | Change caller. | 9439 | coding->charbuf_used. |
| 9440 | (produce_composition): New argument pos. Change caller. | 9440 | (get_translation): New function. |
| 9441 | Adjust for the change of annotation data format. | 9441 | (produce_chars): New arguments translation_table and last_block. |
| 9442 | (produce_charset, produce_annotation): Likewise. | 9442 | Translate characters here. Return number of carryover chars. |
| 9443 | (decode_coding, encode_coding): Don't call translate_chars. | 9443 | Change caller. |
| 9444 | (consume_chars): New arg translation_table. Change caller. | 9444 | (produce_composition): New argument pos. Change caller. |
| 9445 | (translate_chars): Delete. | 9445 | Adjust for the change of annotation data format. |
| 9446 | (syms_of_coding): Make translation-table's number of extra slots 2. | 9446 | (produce_charset, produce_annotation): Likewise. |
| 9447 | 9447 | (decode_coding, encode_coding): Don't call translate_chars. | |
| 9448 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9448 | (consume_chars): New arg translation_table. Change caller. |
| 9449 | 9449 | (translate_chars): Delete. | |
| 9450 | * search.c (simple_search): Fix setting this_pos_byte in backward | 9450 | (syms_of_coding): Make translation-table's number of extra slots 2. |
| 9451 | search. | 9451 | |
| 9452 | 9452 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9453 | * coding.c (detect_coding_emacs_mule): Fix counting of encoded | 9453 | |
| 9454 | byte sequence. | 9454 | * search.c (simple_search): Fix setting this_pos_byte in backward |
| 9455 | (detect_coding_ccl): Fix setting of the variable valids. | 9455 | search. |
| 9456 | 9456 | ||
| 9457 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9457 | * coding.c (detect_coding_emacs_mule): Fix counting of encoded |
| 9458 | 9458 | byte sequence. | |
| 9459 | * xterm.c (x_list_fonts): Fix the detection of an auto-scaled font. | 9459 | (detect_coding_ccl): Fix setting of the variable valids. |
| 9460 | 9460 | ||
| 9461 | * coding.c (decode_coding_utf_16): Fix handling of surrogate pair. | 9461 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9462 | 9462 | ||
| 9463 | * editfns.c (Ftranslate_region_internal): Rename from | 9463 | * xterm.c (x_list_fonts): Fix the detection of an auto-scaled font. |
| 9464 | Ftranslate_region. Accept a char-table in TABLE. | 9464 | |
| 9465 | (syms_of_editfns): Defsubr Stranslate_region_internal. | 9465 | * coding.c (decode_coding_utf_16): Fix handling of surrogate pair. |
| 9466 | 9466 | ||
| 9467 | * xfaces.c (set_lface_from_font_name): If a font is specified for | 9467 | * editfns.c (Ftranslate_region_internal): Rename from |
| 9468 | a frame, generate a fontset from the font. | 9468 | Ftranslate_region. Accept a char-table in TABLE. |
| 9469 | (build_scalable_font_name): If the scalable font is requested for | 9469 | (syms_of_editfns): Defsubr Stranslate_region_internal. |
| 9470 | a specific size, don't change that size. | 9470 | |
| 9471 | (try_font_list): Try a scalable font also in the case that a | 9471 | * xfaces.c (set_lface_from_font_name): If a font is specified for |
| 9472 | pattern string is specified. | 9472 | a frame, generate a fontset from the font. |
| 9473 | 9473 | (build_scalable_font_name): If the scalable font is requested for | |
| 9474 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9474 | a specific size, don't change that size. |
| 9475 | 9475 | (try_font_list): Try a scalable font also in the case that a | |
| 9476 | * xfaces.c (Fface_font): New optional arg CHARACTER. | 9476 | pattern string is specified. |
| 9477 | 9477 | ||
| 9478 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9478 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9479 | 9479 | ||
| 9480 | * charset.h (CHARSET_OFFSET): New macro. | 9480 | * xfaces.c (Fface_font): New optional arg CHARACTER. |
| 9481 | 9481 | ||
| 9482 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9482 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9483 | 9483 | ||
| 9484 | * xterm.c (x_get_font_repertory): Fix for non-Unicode-bmp charset. | 9484 | * charset.h (CHARSET_OFFSET): New macro. |
| 9485 | 9485 | ||
| 9486 | * fontset.c (fontset_face): Handle the case that repertory is a | 9486 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9487 | char-table. | 9487 | |
| 9488 | (find_font_encoding): Return nil for unknown encoding. | 9488 | * xterm.c (x_get_font_repertory): Fix for non-Unicode-bmp charset. |
| 9489 | (Fset_fontset_font): Ignore a font of unknown encoding. | 9489 | |
| 9490 | 9490 | * fontset.c (fontset_face): Handle the case that repertory is a | |
| 9491 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9491 | char-table. |
| 9492 | 9492 | (find_font_encoding): Return nil for unknown encoding. | |
| 9493 | * keymap.c (describe_vector): Handle default value of a char table. | 9493 | (Fset_fontset_font): Ignore a font of unknown encoding. |
| 9494 | 9494 | ||
| 9495 | * fontset.c (fontset_face): Handle fallback fonts correctly. | 9495 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9496 | (Ffontset_info): Return infomation about fallback fonts. | 9496 | |
| 9497 | 9497 | * keymap.c (describe_vector): Handle default value of a char table. | |
| 9498 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9498 | |
| 9499 | 9499 | * fontset.c (fontset_face): Handle fallback fonts correctly. | |
| 9500 | * fontset.c (FONTSET_DEFAULT): New macro. | 9500 | (Ffontset_info): Return infomation about fallback fonts. |
| 9501 | (FONTSET_ADD, fontset_add): Handle the case that range is nil. | 9501 | |
| 9502 | (Fset_fontset_font): Change the 2nd arg name to TARGET, and handle | 9502 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9503 | the case that it is nil. | 9503 | |
| 9504 | (dump_fontset): Call FONTSET_DEFAULT, not FONTSET_FALLBACK. | 9504 | * fontset.c (FONTSET_DEFAULT): New macro. |
| 9505 | (syms_of_fontset): Set char-table-extra-slots property of fontset to 9. | 9505 | (FONTSET_ADD, fontset_add): Handle the case that range is nil. |
| 9506 | 9506 | (Fset_fontset_font): Change the 2nd arg name to TARGET, and handle | |
| 9507 | * charset.h (CHAR_CHARSET_P): Fix for the case that the method is | 9507 | the case that it is nil. |
| 9508 | subset or superset. | 9508 | (dump_fontset): Call FONTSET_DEFAULT, not FONTSET_FALLBACK. |
| 9509 | 9509 | (syms_of_fontset): Set char-table-extra-slots property of fontset to 9. | |
| 9510 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9510 | |
| 9511 | 9511 | * charset.h (CHAR_CHARSET_P): Fix for the case that the method is | |
| 9512 | * emacs.c (main): Call init_charset after syms_of_XXX. | 9512 | subset or superset. |
| 9513 | 9513 | ||
| 9514 | * charset.c (Vcharset_map_directory): Delete. | 9514 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9515 | (Vcharset_map_path): New variable. | 9515 | |
| 9516 | (load_charset_map_from_file): Use Vcharset_map_path instead. | 9516 | * emacs.c (main): Call init_charset after syms_of_XXX. |
| 9517 | (init_charset): Initialize Vcharset_map_path. | 9517 | |
| 9518 | (syms_of_charset): Delete declaration of "charset-map-directory", | 9518 | * charset.c (Vcharset_map_directory): Delete. |
| 9519 | add declaration of "charset-map-path". | 9519 | (Vcharset_map_path): New variable. |
| 9520 | 9520 | (load_charset_map_from_file): Use Vcharset_map_path instead. | |
| 9521 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9521 | (init_charset): Initialize Vcharset_map_path. |
| 9522 | 9522 | (syms_of_charset): Delete declaration of "charset-map-directory", | |
| 9523 | * fns.c (string_char_to_byte, string_byte_to_char): Optimize for | 9523 | add declaration of "charset-map-path". |
| 9524 | ASCII only string. | 9524 | |
| 9525 | 9525 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9526 | * fileio.c (Finsert_file_contents): Avoid detecting a code twice. | 9526 | |
| 9527 | 9527 | * fns.c (string_char_to_byte, string_byte_to_char): Optimize for | |
| 9528 | * coding.c (detect_coding_iso_2022): Fix handling of SS2 and SS3. | 9528 | ASCII only string. |
| 9529 | (detect_coding, detect_coding_system): Treat '\0' as normal ASCII byte. | 9529 | |
| 9530 | 9530 | * fileio.c (Finsert_file_contents): Avoid detecting a code twice. | |
| 9531 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9531 | |
| 9532 | 9532 | * coding.c (detect_coding_iso_2022): Fix handling of SS2 and SS3. | |
| 9533 | * coding.h (SJIS_TO_JIS2, JIS_TO_SJIS2): New macros. | 9533 | (detect_coding, detect_coding_system): Treat '\0' as normal ASCII byte. |
| 9534 | 9534 | ||
| 9535 | * coding.c (QCmnemonic, QCdefalut_char) | 9535 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9536 | (QCdecode_translation_table, QCencode_translation_table) | 9536 | |
| 9537 | (QCpost_read_conversion, QCpre_write_conversion): New variables. | 9537 | * coding.h (SJIS_TO_JIS2, JIS_TO_SJIS2): New macros. |
| 9538 | (get_translation_table): Return a list of translation tables if | 9538 | |
| 9539 | necessary. | 9539 | * coding.c (QCmnemonic, QCdefalut_char) |
| 9540 | (decode_coding): Call get_translation_table with ENCODEP 0. | 9540 | (QCdecode_translation_table, QCencode_translation_table) |
| 9541 | (char_encodable_p): If translation_table is non-nil, always call | 9541 | (QCpost_read_conversion, QCpre_write_conversion): New variables. |
| 9542 | translate_char. | 9542 | (get_translation_table): Return a list of translation tables if |
| 9543 | (Fdefine_coding_system_internal): Accept list of translation | 9543 | necessary. |
| 9544 | tables as :encode-translation-table and :decode-translation-table. | 9544 | (decode_coding): Call get_translation_table with ENCODEP 0. |
| 9545 | (Fcoding_system_put): New function. | 9545 | (char_encodable_p): If translation_table is non-nil, always call |
| 9546 | (syms_of_coding): Declare new symbols. Defsubr | 9546 | translate_char. |
| 9547 | Scoding_system_put. | 9547 | (Fdefine_coding_system_internal): Accept list of translation |
| 9548 | (decode_coding_sjis, encode_coding_sjis): Handle 4th charset, | 9548 | tables as :encode-translation-table and :decode-translation-table. |
| 9549 | typically JISX0212. | 9549 | (Fcoding_system_put): New function. |
| 9550 | 9550 | (syms_of_coding): Declare new symbols. Defsubr | |
| 9551 | * charset.c (map_charset_chars): Fix arg to map_charset_chars in | 9551 | Scoding_system_put. |
| 9552 | when the charset is superset type. | 9552 | (decode_coding_sjis, encode_coding_sjis): Handle 4th charset, |
| 9553 | 9553 | typically JISX0212. | |
| 9554 | * character.c (translate_char): Accept list of translation tables. | 9554 | |
| 9555 | 9555 | * charset.c (map_charset_chars): Fix arg to map_charset_chars in | |
| 9556 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9556 | when the charset is superset type. |
| 9557 | 9557 | ||
| 9558 | * coding.h (enum coding_attr_index): New member coding_attr_trans_tbl. | 9558 | * character.c (translate_char): Accept list of translation tables. |
| 9559 | (CODING_ATTR_TRANS_TBL): New macro. | 9559 | |
| 9560 | 9560 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9561 | * coding.c (get_translation_table): New function. | 9561 | |
| 9562 | (translate_chars): Fix the bug of skipping annotation data. | 9562 | * coding.h (enum coding_attr_index): New member coding_attr_trans_tbl. |
| 9563 | (decode_coding, encode_coding): Utilize get_translation_table. | 9563 | (CODING_ATTR_TRANS_TBL): New macro. |
| 9564 | (char_encodable_p, Funencodable_char_position): Translate char if | 9564 | |
| 9565 | necessary. | 9565 | * coding.c (get_translation_table): New function. |
| 9566 | (Ffind_coding_systems_region_internal) | 9566 | (translate_chars): Fix the bug of skipping annotation data. |
| 9567 | (Fcheck_coding_systems_region): Setup translation table for encode | 9567 | (decode_coding, encode_coding): Utilize get_translation_table. |
| 9568 | in a coding system attribute vector in advance. | 9568 | (char_encodable_p, Funencodable_char_position): Translate char if |
| 9569 | (Fdefine_coding_system_internal): Allow a symbol as translation | 9569 | necessary. |
| 9570 | table. For shift-jis type coding system, allow 4th charset. | 9570 | (Ffind_coding_systems_region_internal) |
| 9571 | 9571 | (Fcheck_coding_systems_region): Setup translation table for encode | |
| 9572 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9572 | in a coding system attribute vector in advance. |
| 9573 | 9573 | (Fdefine_coding_system_internal): Allow a symbol as translation | |
| 9574 | * coding.c (decode_coding_sjis): Check the first byte rigidly. | 9574 | table. For shift-jis type coding system, allow 4th charset. |
| 9575 | 9575 | ||
| 9576 | * xdisp.c (get_next_display_element): Pass -1 as POS to | 9576 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9577 | FACE_FOR_CHAR if displaying a C-string. | 9577 | |
| 9578 | 9578 | * coding.c (decode_coding_sjis): Check the first byte rigidly. | |
| 9579 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9579 | |
| 9580 | 9580 | * xdisp.c (get_next_display_element): Pass -1 as POS to | |
| 9581 | * composite.c (get_composition_id): Handle xoff and yoff in a | 9581 | FACE_FOR_CHAR if displaying a C-string. |
| 9582 | composition rule. | 9582 | |
| 9583 | 9583 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9584 | * composite.h (COMPOSITION_DECODE_RULE): New arg xoff and yoff. | 9584 | |
| 9585 | (struct composition): New member lbearing and rbearing. | 9585 | * composite.c (get_composition_id): Handle xoff and yoff in a |
| 9586 | 9586 | composition rule. | |
| 9587 | * xdisp.c (move_it_to): Optimize for the case (op & MOVE_TO_Y). | 9587 | |
| 9588 | (x_get_glyph_overhangs): Handle a composition glyph. | 9588 | * composite.h (COMPOSITION_DECODE_RULE): New arg xoff and yoff. |
| 9589 | (x_produce_glyphs): Setup lbearing and rbreaing for a composition glyph. | 9589 | (struct composition): New member lbearing and rbearing. |
| 9590 | 9590 | ||
| 9591 | * xterm.c (x_compute_glyph_string_overhangs): Handle also a | 9591 | * xdisp.c (move_it_to): Optimize for the case (op & MOVE_TO_Y). |
| 9592 | composition glyph. | 9592 | (x_get_glyph_overhangs): Handle a composition glyph. |
| 9593 | 9593 | (x_produce_glyphs): Setup lbearing and rbreaing for a composition glyph. | |
| 9594 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9594 | |
| 9595 | 9595 | * xterm.c (x_compute_glyph_string_overhangs): Handle also a | |
| 9596 | * print.c: Include charset.h. | 9596 | composition glyph. |
| 9597 | (Vprint_charset_text_property): New variable. | 9597 | |
| 9598 | (Qdefault): Extern it. | 9598 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9599 | (PRINT_STRING_NON_CHARSET_FOUND) | 9599 | |
| 9600 | (PRINT_STRING_UNSAFE_CHARSET_FOUND): New macros. | 9600 | * print.c: Include charset.h. |
| 9601 | (print_check_string_result): New variable. | 9601 | (Vprint_charset_text_property): New variable. |
| 9602 | (print_check_string_charset_prop): New function. | 9602 | (Qdefault): Extern it. |
| 9603 | (print_prune_charset_plist): New variable. | 9603 | (PRINT_STRING_NON_CHARSET_FOUND) |
| 9604 | (print_prune_string_charset): New function. | 9604 | (PRINT_STRING_UNSAFE_CHARSET_FOUND): New macros. |
| 9605 | (print_object): Call print_prune_string_charset if | 9605 | (print_check_string_result): New variable. |
| 9606 | Vprint_charset_text_property is not t. | 9606 | (print_check_string_charset_prop): New function. |
| 9607 | (print_interval): Print nothing if interval->plist is nil. | 9607 | (print_prune_charset_plist): New variable. |
| 9608 | (syms_of_print): Declare Vprint_charset_text_property as a lisp | 9608 | (print_prune_string_charset): New function. |
| 9609 | variable. Init and staticpro print_prune_charset_plist. | 9609 | (print_object): Call print_prune_string_charset if |
| 9610 | 9610 | Vprint_charset_text_property is not t. | |
| 9611 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9611 | (print_interval): Print nothing if interval->plist is nil. |
| 9612 | 9612 | (syms_of_print): Declare Vprint_charset_text_property as a lisp | |
| 9613 | * fontset.c (new_fontset_from_font_name): Use the specified font | 9613 | variable. Init and staticpro print_prune_charset_plist. |
| 9614 | for all characters in the new fontset. | 9614 | |
| 9615 | 9615 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9616 | * macterm.c (x_set_mouse_face_gc): Call FACE_FOR_CHAR with POS and | 9616 | |
| 9617 | OBJECT args. | 9617 | * fontset.c (new_fontset_from_font_name): Use the specified font |
| 9618 | 9618 | for all characters in the new fontset. | |
| 9619 | * xdisp.c (x_produce_glyphs): Call FACE_FOR_CHAR with POS and | 9619 | |
| 9620 | OBJECT args for composition too. | 9620 | * macterm.c (x_set_mouse_face_gc): Call FACE_FOR_CHAR with POS and |
| 9621 | 9621 | OBJECT args. | |
| 9622 | * w32term.c (x_set_mouse_face_gc): Call FACE_FOR_CHAR with POS and | 9622 | |
| 9623 | OBJECT args. | 9623 | * xdisp.c (x_produce_glyphs): Call FACE_FOR_CHAR with POS and |
| 9624 | 9624 | OBJECT args for composition too. | |
| 9625 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9625 | |
| 9626 | 9626 | * w32term.c (x_set_mouse_face_gc): Call FACE_FOR_CHAR with POS and | |
| 9627 | * dispextern.h (FACE_FOR_CHAR): New args POS and OBJECT. | 9627 | OBJECT args. |
| 9628 | 9628 | ||
| 9629 | * fontset.c (reorder_font_vector): Adjust for the change of | 9629 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9630 | FONT_DEF format. | 9630 | |
| 9631 | (fontset_face): New arg id. Change caller. | 9631 | * dispextern.h (FACE_FOR_CHAR): New args POS and OBJECT. |
| 9632 | (face_for_char): New args pos and object. | 9632 | |
| 9633 | (make_fontset_for_ascii_face): Adjust for the change of FONT_DEF format. | 9633 | * fontset.c (reorder_font_vector): Adjust for the change of |
| 9634 | (fs_query_fontset): Check NAME by Fassoc too. | 9634 | FONT_DEF format. |
| 9635 | (Fset_fontset_font): Allow non-XLFD font name. | 9635 | (fontset_face): New arg id. Change caller. |
| 9636 | (Ffontset_info): Adjust for the change of FONT_DEF format. | 9636 | (face_for_char): New args pos and object. |
| 9637 | 9637 | (make_fontset_for_ascii_face): Adjust for the change of FONT_DEF format. | |
| 9638 | * fontset.h (face_for_char): Adjust prototype. | 9638 | (fs_query_fontset): Check NAME by Fassoc too. |
| 9639 | 9639 | (Fset_fontset_font): Allow non-XLFD font name. | |
| 9640 | * xdisp.c (face_before_or_after_it_pos, get_next_display_element) | 9640 | (Ffontset_info): Adjust for the change of FONT_DEF format. |
| 9641 | (append_space, extend_face_to_end_of_line) | 9641 | |
| 9642 | (get_char_face_and_encoding, BUILD_COMPOSITE_GLYPH_STRING) | 9642 | * fontset.h (face_for_char): Adjust prototype. |
| 9643 | (x_produce_glyphs): Call FACE_FOR_CHAR with POS and OBJECT args. | 9643 | |
| 9644 | 9644 | * xdisp.c (face_before_or_after_it_pos, get_next_display_element) | |
| 9645 | * xfaces.c (compute_char_face): Call FACE_FOR_CHAR with | 9645 | (append_space, extend_face_to_end_of_line) |
| 9646 | POS and OBJECT args. | 9646 | (get_char_face_and_encoding, BUILD_COMPOSITE_GLYPH_STRING) |
| 9647 | 9647 | (x_produce_glyphs): Call FACE_FOR_CHAR with POS and OBJECT args. | |
| 9648 | * xterm.c (x_set_mouse_face_gc): Call FACE_FOR_CHAR with | 9648 | |
| 9649 | POS and OBJECT args. | 9649 | * xfaces.c (compute_char_face): Call FACE_FOR_CHAR with |
| 9650 | 9650 | POS and OBJECT args. | |
| 9651 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 9651 | |
| 9652 | 9652 | * xterm.c (x_set_mouse_face_gc): Call FACE_FOR_CHAR with | |
| 9653 | * w32select.c (Fw32_set_clipboard_data): Avoid potential realloc | 9653 | POS and OBJECT args. |
| 9654 | of GlobalAlloc'ed memory. | 9654 | |
| 9655 | 9655 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
| 9656 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9656 | |
| 9657 | 9657 | * w32select.c (Fw32_set_clipboard_data): Avoid potential realloc | |
| 9658 | * ccl.c (Fccl_execute_on_string): Fix the condition of loop. | 9658 | of GlobalAlloc'ed memory. |
| 9659 | 9659 | ||
| 9660 | * charset.h (charset_table_used): Delete extern. | 9660 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9661 | 9661 | ||
| 9662 | * charset.c (charset_table_used): Make it static. | 9662 | * ccl.c (Fccl_execute_on_string): Fix the condition of loop. |
| 9663 | (map_charset_chars): Fix args to c_function with. | 9663 | |
| 9664 | 9664 | * charset.h (charset_table_used): Delete extern. | |
| 9665 | * chartab.c (map_sub_char_table_for_charset): Fix args to | 9665 | |
| 9666 | c_function with. | 9666 | * charset.c (charset_table_used): Make it static. |
| 9667 | 9667 | (map_charset_chars): Fix args to c_function with. | |
| 9668 | * coding.h (enum coding_result_code): Delete | 9668 | |
| 9669 | CODING_RESULT_INSUFFICIENT_CMP, add CODING_RESULT_INVALID_SRC. | 9669 | * chartab.c (map_sub_char_table_for_charset): Fix args to |
| 9670 | 9670 | c_function with. | |
| 9671 | * coding.c (Qinsufficient_source, Qinconsistent_eol) | 9671 | |
| 9672 | (Qinvalid_source, Qinterrupted, Qinsufficient_memory): New variables. | 9672 | * coding.h (enum coding_result_code): Delete |
| 9673 | (Vlast_code_conversion_error): New variables. | 9673 | CODING_RESULT_INSUFFICIENT_CMP, add CODING_RESULT_INVALID_SRC. |
| 9674 | (syms_of_coding): DEFSYM or DEFVAR_LISP them. | 9674 | |
| 9675 | (ONE_MORE_BYTE): Record error if any instead of signaling an | 9675 | * coding.c (Qinsufficient_source, Qinconsistent_eol) |
| 9676 | error. If non-ASCII multibyte char is found, return the negative | 9676 | (Qinvalid_source, Qinterrupted, Qinsufficient_memory): New variables. |
| 9677 | value of the code. All callers changed to check it. | 9677 | (Vlast_code_conversion_error): New variables. |
| 9678 | (ONE_MORE_BYTE_NO_CHECK): Likewise. | 9678 | (syms_of_coding): DEFSYM or DEFVAR_LISP them. |
| 9679 | (record_conversion_result): New function. Change all codes setting | 9679 | (ONE_MORE_BYTE): Record error if any instead of signaling an |
| 9680 | coding->result to call this function. | 9680 | error. If non-ASCII multibyte char is found, return the negative |
| 9681 | (detect_coding_utf_8, decode_coding_utf_8) | 9681 | value of the code. All callers changed to check it. |
| 9682 | (detect_coding_emacs_mule, detect_coding_sji, detect_coding_big5): | 9682 | (ONE_MORE_BYTE_NO_CHECK): Likewise. |
| 9683 | Don't use the local variable incomplete. | 9683 | (record_conversion_result): New function. Change all codes setting |
| 9684 | (emacs_mule_char): Change the second arg to `const'. | 9684 | coding->result to call this function. |
| 9685 | (decode_coding): Fix of flushing out unprocessed data. | 9685 | (detect_coding_utf_8, decode_coding_utf_8) |
| 9686 | (make_conversion_work_buffer): Fix making of a work buffer. | 9686 | (detect_coding_emacs_mule, detect_coding_sji, detect_coding_big5): |
| 9687 | (decode_coding_object): Return coding->dst_object. | 9687 | Don't use the local variable incomplete. |
| 9688 | 9688 | (emacs_mule_char): Change the second arg to `const'. | |
| 9689 | * fontset.c (set_fontset_font): Fix args. | 9689 | (decode_coding): Fix of flushing out unprocessed data. |
| 9690 | 9690 | (make_conversion_work_buffer): Fix making of a work buffer. | |
| 9691 | * lisp.h (CHARACTERBITS): Define as 22. | 9691 | (decode_coding_object): Return coding->dst_object. |
| 9692 | 9692 | ||
| 9693 | * process.c (send_process): Be sure to set coding->src_multibyte. | 9693 | * fontset.c (set_fontset_font): Fix args. |
| 9694 | 9694 | ||
| 9695 | * xdisp.c (handle_auto_composed_prop): Fix setting of limit. | 9695 | * lisp.h (CHARACTERBITS): Define as 22. |
| 9696 | 9696 | ||
| 9697 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9697 | * process.c (send_process): Be sure to set coding->src_multibyte. |
| 9698 | 9698 | ||
| 9699 | * xdisp.c (handle_auto_composed_prop): Give limit to | 9699 | * xdisp.c (handle_auto_composed_prop): Fix setting of limit. |
| 9700 | Fnext_single_char_property_change. | 9700 | |
| 9701 | 9701 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9702 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9702 | |
| 9703 | 9703 | * xdisp.c (handle_auto_composed_prop): Give limit to | |
| 9704 | * composite.c (syms_of_composite): Don't make the composition hash | 9704 | Fnext_single_char_property_change. |
| 9705 | table weak. | 9705 | |
| 9706 | 9706 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9707 | * fontset.c (Fset_fontset_font): Fix docstring. | 9707 | |
| 9708 | 9708 | * composite.c (syms_of_composite): Don't make the composition hash | |
| 9709 | * lisp.h (detect_coding_system): Adjust prototype. | 9709 | table weak. |
| 9710 | 9710 | ||
| 9711 | * fileio.c (kill_workbuf_unwind): Delete this function. | 9711 | * fontset.c (Fset_fontset_font): Fix docstring. |
| 9712 | (Finsert_file_contents): Adjust the call of detect_coding_system. | 9712 | |
| 9713 | Get conversion_buffer by code_conversion_save. Use the macro | 9713 | * lisp.h (detect_coding_system): Adjust prototype. |
| 9714 | CODING_MAY_REQUIRE_DECODING. After decoding, update | 9714 | |
| 9715 | coding_system. | 9715 | * fileio.c (kill_workbuf_unwind): Delete this function. |
| 9716 | 9716 | (Finsert_file_contents): Adjust the call of detect_coding_system. | |
| 9717 | * coding.h (make_conversion_work_buffer): Delete extern. | 9717 | Get conversion_buffer by code_conversion_save. Use the macro |
| 9718 | (code_conversion_save): Extern it. | 9718 | CODING_MAY_REQUIRE_DECODING. After decoding, update |
| 9719 | 9719 | coding_system. | |
| 9720 | * coding.c (enum iso_code_class_type): Delete ISO_carriage_return. | 9720 | |
| 9721 | (CODING_GET_INFO): Delete argument eol_type. Change callers. | 9721 | * coding.h (make_conversion_work_buffer): Delete extern. |
| 9722 | (decode_coding_utf_8): Don't do eol converion. | 9722 | (code_conversion_save): Extern it. |
| 9723 | (detect_coding_utf_16): Check coding->src_chars, not | 9723 | |
| 9724 | coding->src_bytes. Add heuristics for those that have no signature. | 9724 | * coding.c (enum iso_code_class_type): Delete ISO_carriage_return. |
| 9725 | (decode_coding_emacs_mule, decode_coding_iso_2022) | 9725 | (CODING_GET_INFO): Delete argument eol_type. Change callers. |
| 9726 | (decode_coding_sjis, decode_coding_big5, decode_coding_charset): | 9726 | (decode_coding_utf_8): Don't do eol converion. |
| 9727 | Don't do eol converion. | 9727 | (detect_coding_utf_16): Check coding->src_chars, not |
| 9728 | (adjust_coding_eol_type): Return a new coding system. | 9728 | coding->src_bytes. Add heuristics for those that have no signature. |
| 9729 | (detect_coding): Don't detect eol. Fix for utf-16 detection. | 9729 | (decode_coding_emacs_mule, decode_coding_iso_2022) |
| 9730 | (decode_eol): In case of CRLF->LF conversion, use del_range_2 on | 9730 | (decode_coding_sjis, decode_coding_big5, decode_coding_charset): |
| 9731 | each change. | 9731 | Don't do eol converion. |
| 9732 | (decode_coding): Pay attention to undo_list. Do eol conversion for | 9732 | (adjust_coding_eol_type): Return a new coding system. |
| 9733 | all types of coding-systems (if necessary). | 9733 | (detect_coding): Don't detect eol. Fix for utf-16 detection. |
| 9734 | (Vcode_conversion_work_buf_list): Delete it. | 9734 | (decode_eol): In case of CRLF->LF conversion, use del_range_2 on |
| 9735 | (Vcode_conversion_reused_workbuf): Rename from | 9735 | each change. |
| 9736 | Vcode_conversion_reused_work_buf. | 9736 | (decode_coding): Pay attention to undo_list. Do eol conversion for |
| 9737 | (Vcode_conversion_workbuf_name): New variable. | 9737 | all types of coding-systems (if necessary). |
| 9738 | (reused_workbuf_in_use): New variable. | 9738 | (Vcode_conversion_work_buf_list): Delete it. |
| 9739 | (make_conversion_work_buffer): Delete the arg DEPTH. | 9739 | (Vcode_conversion_reused_workbuf): Rename from |
| 9740 | (code_conversion_restore): Change argument to cons. | 9740 | Vcode_conversion_reused_work_buf. |
| 9741 | (code_conversion_save): Delete the argument BUFFER. Change callers. | 9741 | (Vcode_conversion_workbuf_name): New variable. |
| 9742 | (detect_coding_system): New argument src_chars. Change callers. | 9742 | (reused_workbuf_in_use): New variable. |
| 9743 | Fix for utf-16 detection. | 9743 | (make_conversion_work_buffer): Delete the arg DEPTH. |
| 9744 | (init_coding_once): Don't use ISO_carriage_return. | 9744 | (code_conversion_restore): Change argument to cons. |
| 9745 | (syms_of_coding): Initialize Vcode_conversion_workbuf_name and | 9745 | (code_conversion_save): Delete the argument BUFFER. Change callers. |
| 9746 | reused_workbuf_in_use. | 9746 | (detect_coding_system): New argument src_chars. Change callers. |
| 9747 | 9747 | Fix for utf-16 detection. | |
| 9748 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9748 | (init_coding_once): Don't use ISO_carriage_return. |
| 9749 | 9749 | (syms_of_coding): Initialize Vcode_conversion_workbuf_name and | |
| 9750 | * keymap.c (store_in_keymap): Pay attention to the case that idx | 9750 | reused_workbuf_in_use. |
| 9751 | is a cons specifying a character range. | 9751 | |
| 9752 | 9752 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9753 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9753 | |
| 9754 | 9754 | * keymap.c (store_in_keymap): Pay attention to the case that idx | |
| 9755 | * xdisp.c (handle_auto_composed_prop): Fix the case of returning | 9755 | is a cons specifying a character range. |
| 9756 | HANDLED_RECOMPUTE_PROPS. | 9756 | |
| 9757 | 9757 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9758 | * coding.c (Fdefine_coding_system_internal): Fix checking of | 9758 | |
| 9759 | ascii compatibility. | 9759 | * xdisp.c (handle_auto_composed_prop): Fix the case of returning |
| 9760 | 9760 | HANDLED_RECOMPUTE_PROPS. | |
| 9761 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9761 | |
| 9762 | 9762 | * coding.c (Fdefine_coding_system_internal): Fix checking of | |
| 9763 | * charset.c (find_charsets_in_text): Delete unused locale variable. | 9763 | ascii compatibility. |
| 9764 | (Fset_charset_priority): Update Vemacs_mule_charset_list too. | 9764 | |
| 9765 | 9765 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9766 | * coding.c (encode_coding_emacs_mule): Emit bytes with MSB. | 9766 | |
| 9767 | Resync charset_list to Vemacs_mule_charset_list. | 9767 | * charset.c (find_charsets_in_text): Delete unused locale variable. |
| 9768 | 9768 | (Fset_charset_priority): Update Vemacs_mule_charset_list too. | |
| 9769 | * keymap.c (store_in_keymap): Pay attention to the case that idx | 9769 | |
| 9770 | is a cons specifying a character range. | 9770 | * coding.c (encode_coding_emacs_mule): Emit bytes with MSB. |
| 9771 | 9771 | Resync charset_list to Vemacs_mule_charset_list. | |
| 9772 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9772 | |
| 9773 | 9773 | * keymap.c (store_in_keymap): Pay attention to the case that idx | |
| 9774 | * composite.c (update_compositions): Bind inhibit-read-only, etc | 9774 | is a cons specifying a character range. |
| 9775 | to t before calling remove-list-of-text-properties. | 9775 | |
| 9776 | 9776 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9777 | * print.c (print_object): Always print ASCII chars as is. | 9777 | |
| 9778 | 9778 | * composite.c (update_compositions): Bind inhibit-read-only, etc | |
| 9779 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9779 | to t before calling remove-list-of-text-properties. |
| 9780 | 9780 | ||
| 9781 | * keymap.c (Fdefine_key): Fix handling of Lucid style event type list. | 9781 | * print.c (print_object): Always print ASCII chars as is. |
| 9782 | 9782 | ||
| 9783 | * fns.c (Fmapconcat, Fmapcar, Fmapc): Signal an error if SEQUENCE | 9783 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9784 | is a char table. | 9784 | |
| 9785 | 9785 | * keymap.c (Fdefine_key): Fix handling of Lucid style event type list. | |
| 9786 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9786 | |
| 9787 | 9787 | * fns.c (Fmapconcat, Fmapcar, Fmapc): Signal an error if SEQUENCE | |
| 9788 | * syntax.c (skip_chars): Be sure to alloca char_ranges when necessary. | 9788 | is a char table. |
| 9789 | 9789 | ||
| 9790 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9790 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9791 | 9791 | ||
| 9792 | * xfaces.c (set_lface_from_font_name): Fix for the case that | 9792 | * syntax.c (skip_chars): Be sure to alloca char_ranges when necessary. |
| 9793 | FONTNAME is not fontset name. | 9793 | |
| 9794 | 9794 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9795 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9795 | |
| 9796 | 9796 | * xfaces.c (set_lface_from_font_name): Fix for the case that | |
| 9797 | * fns.c (base64_encode_1): Fix previous change. | 9797 | FONTNAME is not fontset name. |
| 9798 | 9798 | ||
| 9799 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9799 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9800 | 9800 | ||
| 9801 | * fontset.c (set_fontset_font): New function. | 9801 | * fns.c (base64_encode_1): Fix previous change. |
| 9802 | (Fset_fontset_font): If a font is specified for a charset, use | 9802 | |
| 9803 | map_charset_chars to store the font spec in a fontset. | 9803 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9804 | 9804 | ||
| 9805 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9805 | * fontset.c (set_fontset_font): New function. |
| 9806 | 9806 | (Fset_fontset_font): If a font is specified for a charset, use | |
| 9807 | * fontset.c (fontset_face): Create a fallback fontset on demand. | 9807 | map_charset_chars to store the font spec in a fontset. |
| 9808 | (make_fontset): Don't create a fallback fontset here. | 9808 | |
| 9809 | (free_face_fontset): Free a fallback fontset (if any) too. | 9809 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9810 | (n_auto_fontsets): Delete this variable. | 9810 | |
| 9811 | (auto_fontset_alist): New variable. | 9811 | * fontset.c (fontset_face): Create a fallback fontset on demand. |
| 9812 | (new_fontset_from_font_name): Check auto_fontset_alist. | 9812 | (make_fontset): Don't create a fallback fontset here. |
| 9813 | (dump_fontset) [FONTSET_DEBUG]: Fully re-written. | 9813 | (free_face_fontset): Free a fallback fontset (if any) too. |
| 9814 | (Ffontset_list_all) [FONTSET_DEBUG]: New function. | 9814 | (n_auto_fontsets): Delete this variable. |
| 9815 | (syms_of_fontset): Initialize and staticpro auto_fontset_alist. | 9815 | (auto_fontset_alist): New variable. |
| 9816 | Defsubr Sfontset_list_all. | 9816 | (new_fontset_from_font_name): Check auto_fontset_alist. |
| 9817 | 9817 | (dump_fontset) [FONTSET_DEBUG]: Fully re-written. | |
| 9818 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9818 | (Ffontset_list_all) [FONTSET_DEBUG]: New function. |
| 9819 | 9819 | (syms_of_fontset): Initialize and staticpro auto_fontset_alist. | |
| 9820 | * xterm.c (x_list_fonts): Fix excluding of auto-scaled fonts. | 9820 | Defsubr Sfontset_list_all. |
| 9821 | 9821 | ||
| 9822 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9822 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9823 | 9823 | ||
| 9824 | * fontset.c (Fnew_fontset): Check NAME more rigidly. | 9824 | * xterm.c (x_list_fonts): Fix excluding of auto-scaled fonts. |
| 9825 | 9825 | ||
| 9826 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9826 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9827 | 9827 | ||
| 9828 | * editfns.c (Fgoto_char): Fix docstring. | 9828 | * fontset.c (Fnew_fontset): Check NAME more rigidly. |
| 9829 | 9829 | ||
| 9830 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9830 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9831 | 9831 | ||
| 9832 | * insdel.c (insert_from_gap): Adjust intervals correctly. | 9832 | * editfns.c (Fgoto_char): Fix docstring. |
| 9833 | 9833 | ||
| 9834 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 9834 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9835 | 9835 | ||
| 9836 | * w32term.c (GLYPHSET, WCRANGE): Define if system headers don't. | 9836 | * insdel.c (insert_from_gap): Adjust intervals correctly. |
| 9837 | (pfnGetFontUnicodeRanges): New dynamically loaded function. | 9837 | |
| 9838 | (w32_initialize): Try to load it. | 9838 | 2008-02-01 Jason Rumney <jasonr@gnu.org> |
| 9839 | (x_get_font_repertory): Use it if available. | 9839 | |
| 9840 | (w32_encode_char): Add shortcut for unicode output. | 9840 | * w32term.c (GLYPHSET, WCRANGE): Define if system headers don't. |
| 9841 | 9841 | (pfnGetFontUnicodeRanges): New dynamically loaded function. | |
| 9842 | * w32fns.c (w32_load_system_font): Default charset to -1. | 9842 | (w32_initialize): Try to load it. |
| 9843 | (x_to_w32_charset): Match all fonts for unicode. | 9843 | (x_get_font_repertory): Use it if available. |
| 9844 | (w32_to_x_charset): New parameter matching. Don't return partial | 9844 | (w32_encode_char): Add shortcut for unicode output. |
| 9845 | or wildcard charsets. | 9845 | |
| 9846 | (w32_to_all_x_charsets): Don't return partial or wildcard charsets. | 9846 | * w32fns.c (w32_load_system_font): Default charset to -1. |
| 9847 | (w32_codepage_for_font): Return CP_UNICODE for unicode. | 9847 | (x_to_w32_charset): Match all fonts for unicode. |
| 9848 | (w32_to_x_font): Match charset to real charset. | 9848 | (w32_to_x_charset): New parameter matching. Don't return partial |
| 9849 | (enum_font_cb2): Always list unicode versions. | 9849 | or wildcard charsets. |
| 9850 | 9850 | (w32_to_all_x_charsets): Don't return partial or wildcard charsets. | |
| 9851 | * makefile.w32-in (temacs): Increase EMHEAP. | 9851 | (w32_codepage_for_font): Return CP_UNICODE for unicode. |
| 9852 | 9852 | (w32_to_x_font): Match charset to real charset. | |
| 9853 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | 9853 | (enum_font_cb2): Always list unicode versions. |
| 9854 | 9854 | ||
| 9855 | * w32term.c (w32_encode_char): New charset parameter. | 9855 | * makefile.w32-in (temacs): Increase EMHEAP. |
| 9856 | font_info.encoding becomes encoding_type. | 9856 | |
| 9857 | (x_get_font_repertory): New function. Warning: stub only! | 9857 | 2008-02-01 Jason Rumney <jasonr@gnu.org> |
| 9858 | (x_new_font): Return quickly if font already set. | 9858 | |
| 9859 | (x_new_fontset): fontsetname parameter is Lisp_Object. | 9859 | * w32term.c (w32_encode_char): New charset parameter. |
| 9860 | Use new fs_query_fontset. Try new_fontset_from_font_name. | 9860 | font_info.encoding becomes encoding_type. |
| 9861 | Use fontset_name for return value. | 9861 | (x_get_font_repertory): New function. Warning: stub only! |
| 9862 | 9862 | (x_new_font): Return quickly if font already set. | |
| 9863 | * w32term.h: Declare x_get_font_repertory. | 9863 | (x_new_fontset): fontsetname parameter is Lisp_Object. |
| 9864 | 9864 | Use new fs_query_fontset. Try new_fontset_from_font_name. | |
| 9865 | * w32select.c (Fw32_set_clipboard_data): Use string_x_string_p in | 9865 | Use fontset_name for return value. |
| 9866 | place of find_charset_in_text. Use encode_coding_object in place | 9866 | |
| 9867 | of encode_coding. | 9867 | * w32term.h: Declare x_get_font_repertory. |
| 9868 | (Fw32_get_clipboard_data): Use decode_coding_c_string in place of | 9868 | |
| 9869 | decode_coding. | 9869 | * w32select.c (Fw32_set_clipboard_data): Use string_x_string_p in |
| 9870 | 9870 | place of find_charset_in_text. Use encode_coding_object in place | |
| 9871 | * w32fns.c (Fx_create_frame, x_create_tip_frame): Use new version | 9871 | of encode_coding. |
| 9872 | of x_new_fontset. | 9872 | (Fw32_get_clipboard_data): Use decode_coding_c_string in place of |
| 9873 | (w32_load_system_font): Initialize charset as unicode. | 9873 | decode_coding. |
| 9874 | font_info.encoding becomes encoding_type. | 9874 | |
| 9875 | (w32_to_x_font): Use decode_coding_c_string in place of decode_coding. | 9875 | * w32fns.c (Fx_create_frame, x_create_tip_frame): Use new version |
| 9876 | (x_to_w32_font): Use encode_coding_object in place of encode_coding. | 9876 | of x_new_fontset. |
| 9877 | (syms_of_w32fns): Set get_font_repertory_func. | 9877 | (w32_load_system_font): Initialize charset as unicode. |
| 9878 | 9878 | font_info.encoding becomes encoding_type. | |
| 9879 | * w32console.c: Include character.h. Use terminal_encode_buffer | 9879 | (w32_to_x_font): Use decode_coding_c_string in place of decode_coding. |
| 9880 | from term.c. | 9880 | (x_to_w32_font): Use encode_coding_object in place of encode_coding. |
| 9881 | (write_glyphs): Use new version of encode_terminal_code. Use | 9881 | (syms_of_w32fns): Set get_font_repertory_func. |
| 9882 | encode_coding_object in place of encode_coding. | 9882 | |
| 9883 | 9883 | * w32console.c: Include character.h. Use terminal_encode_buffer | |
| 9884 | * w32bdf.c (w32_load_bdf_font): Clear font_info before filling. | 9884 | from term.c. |
| 9885 | encoding becomes encoding_type. | 9885 | (write_glyphs): Use new version of encode_terminal_code. Use |
| 9886 | 9886 | encode_coding_object in place of encode_coding. | |
| 9887 | * term.c (terminal_encode_buffer): Make externally visible. | 9887 | |
| 9888 | 9888 | * w32bdf.c (w32_load_bdf_font): Clear font_info before filling. | |
| 9889 | * makefile.w32-in: Add character.h dependancies. | 9889 | encoding becomes encoding_type. |
| 9890 | (character.o, chartab.o): New targets. | 9890 | |
| 9891 | 9891 | * term.c (terminal_encode_buffer): Make externally visible. | |
| 9892 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9892 | |
| 9893 | 9893 | * makefile.w32-in: Add character.h dependancies. | |
| 9894 | * fileio.c (Finsert_file_contents) [DOS_NT]: Use the macro | 9894 | (character.o, chartab.o): New targets. |
| 9895 | CODING_ID_EOL_TYPE. | 9895 | |
| 9896 | 9896 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9897 | 2008-02-01 Andreas Schwab <schwab@suse.de> | 9897 | |
| 9898 | 9898 | * fileio.c (Finsert_file_contents) [DOS_NT]: Use the macro | |
| 9899 | * coding.c (produce_chars): Revert last change. | 9899 | CODING_ID_EOL_TYPE. |
| 9900 | 9900 | ||
| 9901 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9901 | 2008-02-01 Andreas Schwab <schwab@suse.de> |
| 9902 | 9902 | ||
| 9903 | * charset.h (charset_unicode): Extern it. | 9903 | * coding.c (produce_chars): Revert last change. |
| 9904 | 9904 | ||
| 9905 | * charset.c (string_xstring_p): Check by (C >= 0x100). | 9905 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9906 | (find_charsets_in_text): Change format of the arc CHARSETS. New | 9906 | |
| 9907 | arg MULTIBYTE. | 9907 | * charset.h (charset_unicode): Extern it. |
| 9908 | (Ffind_charset_region, Ffind_charset_string): Adjust for the | 9908 | |
| 9909 | change of find_charsets_in_text. | 9909 | * charset.c (string_xstring_p): Check by (C >= 0x100). |
| 9910 | (Fsplit_char): Fix doc. Never return unknown. | 9910 | (find_charsets_in_text): Change format of the arc CHARSETS. New |
| 9911 | 9911 | arg MULTIBYTE. | |
| 9912 | * chartab.c (char_table_translate): Use CHARACTERP, not INTEGERP. | 9912 | (Ffind_charset_region, Ffind_charset_string): Adjust for the |
| 9913 | 9913 | change of find_charsets_in_text. | |
| 9914 | * coding.c (Fdefine_coding_system_alias): Update | 9914 | (Fsplit_char): Fix doc. Never return unknown. |
| 9915 | Vcoding_system_list. | 9915 | |
| 9916 | 9916 | * chartab.c (char_table_translate): Use CHARACTERP, not INTEGERP. | |
| 9917 | * fontset.c (load_font_get_repertory): Pay attention to the case | 9917 | |
| 9918 | that ENCODING of a font is specified by a char-table. | 9918 | * coding.c (Fdefine_coding_system_alias): Update |
| 9919 | 9919 | Vcoding_system_list. | |
| 9920 | * xterm.c (x_get_font_repertory): Handle the case that the | 9920 | |
| 9921 | encoding of font is other than Unicode. | 9921 | * fontset.c (load_font_get_repertory): Pay attention to the case |
| 9922 | 9922 | that ENCODING of a font is specified by a char-table. | |
| 9923 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9923 | |
| 9924 | 9924 | * xterm.c (x_get_font_repertory): Handle the case that the | |
| 9925 | * term.c (encode_terminal_code): Don't handle glyph-table. Check | 9925 | encoding of font is other than Unicode. |
| 9926 | if a character is encodable by the terminal coding system. If | 9926 | |
| 9927 | not, produces proper number of `?'s. Update | 9927 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9928 | terminal_encode_buffer and terminal_encode_buf_size if necessary. | 9928 | |
| 9929 | (produce_glyphs): Check by CHAR_BYTE8_P, not SINGLE_BYTE_CHAR_P. | 9929 | * term.c (encode_terminal_code): Don't handle glyph-table. Check |
| 9930 | 9930 | if a character is encodable by the terminal coding system. If | |
| 9931 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9931 | not, produces proper number of `?'s. Update |
| 9932 | 9932 | terminal_encode_buffer and terminal_encode_buf_size if necessary. | |
| 9933 | * term.c (terminal_encode_buffer, terminal_encode_buf_size): New | 9933 | (produce_glyphs): Check by CHAR_BYTE8_P, not SINGLE_BYTE_CHAR_P. |
| 9934 | variables. | 9934 | |
| 9935 | (encode_terminal_code): Change argument. Encode multiple | 9935 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9936 | characters at once. Store the result of encoding in | 9936 | |
| 9937 | terminal_encode_buffer. | 9937 | * term.c (terminal_encode_buffer, terminal_encode_buf_size): New |
| 9938 | (write_glyphs, insert_glyphs): Adjust for the change of | 9938 | variables. |
| 9939 | encode_terminal_code. | 9939 | (encode_terminal_code): Change argument. Encode multiple |
| 9940 | (term_init): Initialize terminal_encode_buffer and | 9940 | characters at once. Store the result of encoding in |
| 9941 | terminal_encode_buf_size. | 9941 | terminal_encode_buffer. |
| 9942 | 9942 | (write_glyphs, insert_glyphs): Adjust for the change of | |
| 9943 | * coding.c (consume_chars): If coding->src_object is nil, don't | 9943 | encode_terminal_code. |
| 9944 | check annotation. | 9944 | (term_init): Initialize terminal_encode_buffer and |
| 9945 | 9945 | terminal_encode_buf_size. | |
| 9946 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9946 | |
| 9947 | 9947 | * coding.c (consume_chars): If coding->src_object is nil, don't | |
| 9948 | * character.c (char_string): Use ASCII_CHAR_P instead of | 9948 | check annotation. |
| 9949 | SINGLE_BYTE_CHAR_P. | 9949 | |
| 9950 | 9950 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9951 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9951 | |
| 9952 | 9952 | * character.c (char_string): Use ASCII_CHAR_P instead of | |
| 9953 | * xdisp.c (handle_auto_composed_prop): Check if the last | 9953 | SINGLE_BYTE_CHAR_P. |
| 9954 | characters of auto-composed region is newly composed with the | 9954 | |
| 9955 | following characters. | 9955 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 9956 | (handle_composition_prop): Fix checking of point being inside | 9956 | |
| 9957 | composition. | 9957 | * xdisp.c (handle_auto_composed_prop): Check if the last |
| 9958 | 9958 | characters of auto-composed region is newly composed with the | |
| 9959 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 9959 | following characters. |
| 9960 | 9960 | (handle_composition_prop): Fix checking of point being inside | |
| 9961 | * fns.c (concat): Don't change multibyteness of the result by | 9961 | composition. |
| 9962 | concatenating an 8-bit character. | 9962 | |
| 9963 | 9963 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 9964 | * data.c (Faset): Check newelt by CHECK_CHARACTER. Don't change | 9964 | |
| 9965 | multibyteness of the result when newelt is an 8-bit character. | 9965 | * fns.c (concat): Don't change multibyteness of the result by |
| 9966 | 9966 | concatenating an 8-bit character. | |
| 9967 | 2008-02-01 Dave Love <fx@gnu.org> | 9967 | |
| 9968 | 9968 | * data.c (Faset): Check newelt by CHECK_CHARACTER. Don't change | |
| 9969 | * xmenu.c (find_and_call_menu_selection): Make menu_bar_items_used | 9969 | multibyteness of the result when newelt is an 8-bit character. |
| 9970 | EMACS_INT. | 9970 | |
| 9971 | 9971 | 2008-02-01 Dave Love <fx@gnu.org> | |
| 9972 | * xfns.c (DefaultDepthOfScreen, x_encode_text): Remove unused vars. | 9972 | |
| 9973 | 9973 | * xmenu.c (find_and_call_menu_selection): Make menu_bar_items_used | |
| 9974 | * xfaces.c (face_numeric_value): Declare dim size_t. | 9974 | EMACS_INT. |
| 9975 | (Finternal_lisp_face_equal_p): Remove unused f. | 9975 | |
| 9976 | 9976 | * xfns.c (DefaultDepthOfScreen, x_encode_text): Remove unused vars. | |
| 9977 | * xdisp.c (BUILD_CHAR_GLYPH_STRINGS, display_and_set_cursor) | 9977 | |
| 9978 | (MATRIX_ROW): Remove unused vars. | 9978 | * xfaces.c (face_numeric_value): Declare dim size_t. |
| 9979 | (draw_glyphs, x_insert_glyphs, fast_find_position) | 9979 | (Finternal_lisp_face_equal_p): Remove unused f. |
| 9980 | (fast_find_position, fast_find_string_pos): Use EMACS_INT for | 9980 | |
| 9981 | byte/char counts. | 9981 | * xdisp.c (BUILD_CHAR_GLYPH_STRINGS, display_and_set_cursor) |
| 9982 | 9982 | (MATRIX_ROW): Remove unused vars. | |
| 9983 | * regex.c (regex_compile): Remove unused var. | 9983 | (draw_glyphs, x_insert_glyphs, fast_find_position) |
| 9984 | 9984 | (fast_find_position, fast_find_string_pos): Use EMACS_INT for | |
| 9985 | * minibuf.c (Fminibuffer_complete_word): Remove unused var. | 9985 | byte/char counts. |
| 9986 | 9986 | ||
| 9987 | * keymap.c (Fset_keymap_parent, map_keymap, Fcopy_keymap) | 9987 | * regex.c (regex_compile): Remove unused var. |
| 9988 | (Faccessible_keymaps, where_is_internal): Remove unused vars. | 9988 | |
| 9989 | 9989 | * minibuf.c (Fminibuffer_complete_word): Remove unused var. | |
| 9990 | * keyboard.c (cancel_hourglass_unwind): Return Qnil. | 9990 | |
| 9991 | 9991 | * keymap.c (Fset_keymap_parent, map_keymap, Fcopy_keymap) | |
| 9992 | * frame.c (frame_name_fnn_p): Make len EMACS_INT. | 9992 | (Faccessible_keymaps, where_is_internal): Remove unused vars. |
| 9993 | 9993 | ||
| 9994 | * fileio.c (Fwrite_region): Remove unused var. | 9994 | * keyboard.c (cancel_hourglass_unwind): Return Qnil. |
| 9995 | 9995 | ||
| 9996 | * dispnew.c (adjust_frame_glyphs_for_frame_redisplay) | 9996 | * frame.c (frame_name_fnn_p): Make len EMACS_INT. |
| 9997 | (adjust_frame_glyphs_for_window_redisplay): Remove unused ch_dim. | 9997 | |
| 9998 | 9998 | * fileio.c (Fwrite_region): Remove unused var. | |
| 9999 | * composite.c (Fremove_list_of_text_properties): Declare. | 9999 | |
| 10000 | 10000 | * dispnew.c (adjust_frame_glyphs_for_frame_redisplay) | |
| 10001 | * coding.c (inhibit_pre_post_conversion): Remove (unused). | 10001 | (adjust_frame_glyphs_for_window_redisplay): Remove unused ch_dim. |
| 10002 | (alloc_destination, produce_chars): Use EMACS_INT for byte/char counts. | 10002 | |
| 10003 | (coding_inherit_eol_type): Remove unused attrs. | 10003 | * composite.c (Fremove_list_of_text_properties): Declare. |
| 10004 | (detect_coding): Cast arg of detect_eol. | 10004 | |
| 10005 | 10005 | * coding.c (inhibit_pre_post_conversion): Remove (unused). | |
| 10006 | * charset.c (syms_of_charset): Remove unused var p. | 10006 | (alloc_destination, produce_chars): Use EMACS_INT for byte/char counts. |
| 10007 | (find_charsets_in_text, Ffind_charset_region): Use EMACS_INT for | 10007 | (coding_inherit_eol_type): Remove unused attrs. |
| 10008 | byte/char counts. | 10008 | (detect_coding): Cast arg of detect_eol. |
| 10009 | 10009 | ||
| 10010 | * casetab.c (set_case_table): Remove unused var. | 10010 | * charset.c (syms_of_charset): Remove unused var p. |
| 10011 | 10011 | (find_charsets_in_text, Ffind_charset_region): Use EMACS_INT for | |
| 10012 | * window.c (Fdisplay_buffer, Fframe_selected_window): Remove | 10012 | byte/char counts. |
| 10013 | unused vars. | 10013 | |
| 10014 | 10014 | * casetab.c (set_case_table): Remove unused var. | |
| 10015 | 2008-02-01 Dave Love <fx@gnu.org> | 10015 | |
| 10016 | 10016 | * window.c (Fdisplay_buffer, Fframe_selected_window): Remove | |
| 10017 | * xterm.c (x_bitmap_mask): Declare. | 10017 | unused vars. |
| 10018 | 10018 | ||
| 10019 | 2008-02-01 Dave Love <fx@gnu.org> | 10019 | 2008-02-01 Dave Love <fx@gnu.org> |
| 10020 | 10020 | ||
| 10021 | * xterm.c (x_term_init): Fix type error. | 10021 | * xterm.c (x_bitmap_mask): Declare. |
| 10022 | 10022 | ||
| 10023 | * lisp.h: Add Funibyte_char_to_multibyte. | 10023 | 2008-02-01 Dave Love <fx@gnu.org> |
| 10024 | 10024 | ||
| 10025 | * coding.c (Fread_coding_system): Fix arg of XSETSTRING. | 10025 | * xterm.c (x_term_init): Fix type error. |
| 10026 | (Fset_coding_system_priority): Doc fix. | 10026 | |
| 10027 | 10027 | * lisp.h: Add Funibyte_char_to_multibyte. | |
| 10028 | * ccl.c (ccl_driver): Fix arg of CHARACTERP. | 10028 | |
| 10029 | 10029 | * coding.c (Fread_coding_system): Fix arg of XSETSTRING. | |
| 10030 | * indent.c (check_composition): Make start and end EMACS_INT. | 10030 | (Fset_coding_system_priority): Doc fix. |
| 10031 | 10031 | ||
| 10032 | * character.c (lisp_string_width): Make ignore and end EMACS_INT. | 10032 | * ccl.c (ccl_driver): Fix arg of CHARACTERP. |
| 10033 | 10033 | ||
| 10034 | * xdisp.c (handle_composition_prop, check_point_in_composition): | 10034 | * indent.c (check_composition): Make start and end EMACS_INT. |
| 10035 | Make buffer positions EMACS_INT. | 10035 | |
| 10036 | 10036 | * character.c (lisp_string_width): Make ignore and end EMACS_INT. | |
| 10037 | * composite.c (find_composition, run_composition_function) | 10037 | |
| 10038 | (update_compositions, Ffind_composition_internal): Make buffer | 10038 | * xdisp.c (handle_composition_prop, check_point_in_composition): |
| 10039 | positions EMACS_INT. | 10039 | Make buffer positions EMACS_INT. |
| 10040 | 10040 | ||
| 10041 | * composite.h (find_composition, update_compositions): Make | 10041 | * composite.c (find_composition, run_composition_function) |
| 10042 | position args EMACS_INT. | 10042 | (update_compositions, Ffind_composition_internal): Make buffer |
| 10043 | 10043 | positions EMACS_INT. | |
| 10044 | * keyboard.c (adjust_point_for_property): Make beg and end EMACS_INT. | 10044 | |
| 10045 | 10045 | * composite.h (find_composition, update_compositions): Make | |
| 10046 | * intervals.c (get_property_and_range): | 10046 | position args EMACS_INT. |
| 10047 | * intervals.h (get_property_and_range): Make start and end EMACS_INT. | 10047 | |
| 10048 | 10048 | * keyboard.c (adjust_point_for_property): Make beg and end EMACS_INT. | |
| 10049 | * unexalpha.c: Don't include varargs.h. | 10049 | |
| 10050 | 10050 | * intervals.c (get_property_and_range): | |
| 10051 | 2008-02-01 Dave Love <fx@gnu.org> | 10051 | * intervals.h (get_property_and_range): Make start and end EMACS_INT. |
| 10052 | 10052 | ||
| 10053 | * coding.h (ENCODE_UTF_8): New. | 10053 | * unexalpha.c: Don't include varargs.h. |
| 10054 | 10054 | ||
| 10055 | * Makefile.in (gtkutil.o): Depend on coding.h. | 10055 | 2008-02-01 Dave Love <fx@gnu.org> |
| 10056 | 10056 | ||
| 10057 | * coding.c (Fset_coding_system_priority): Doc fix. | 10057 | * coding.h (ENCODE_UTF_8): New. |
| 10058 | 10058 | ||
| 10059 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10059 | * Makefile.in (gtkutil.o): Depend on coding.h. |
| 10060 | 10060 | ||
| 10061 | * fileio.c (Finsert_file_contents): Call setup_coding_system in | 10061 | * coding.c (Fset_coding_system_priority): Doc fix. |
| 10062 | the case of auto saving. | 10062 | |
| 10063 | 10063 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 10064 | 2008-02-01 Andreas Schwab <schwab@suse.de> | 10064 | |
| 10065 | 10065 | * fileio.c (Finsert_file_contents): Call setup_coding_system in | |
| 10066 | * chartab.c (map_char_table, map_char_table_for_charset): Protect | 10066 | the case of auto saving. |
| 10067 | `range' from GC. | 10067 | |
| 10068 | 10068 | 2008-02-01 Andreas Schwab <schwab@suse.de> | |
| 10069 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10069 | |
| 10070 | 10070 | * chartab.c (map_char_table, map_char_table_for_charset): Protect | |
| 10071 | * coding.c (decode_coding_sjis): Check bytes more rigidly. | 10071 | `range' from GC. |
| 10072 | 10072 | ||
| 10073 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10073 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10074 | 10074 | ||
| 10075 | * fileio.c (choose_write_coding_system): Return a decided coding system. | 10075 | * coding.c (decode_coding_sjis): Check bytes more rigidly. |
| 10076 | (Fwrite_region): Set Vlast_coding_system_used to the return value | 10076 | |
| 10077 | of choose_write_coding_system. | 10077 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10078 | 10078 | ||
| 10079 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10079 | * fileio.c (choose_write_coding_system): Return a decided coding system. |
| 10080 | 10080 | (Fwrite_region): Set Vlast_coding_system_used to the return value | |
| 10081 | * charset.c (Fset_charset_priority): Pay attention to duplicated | 10081 | of choose_write_coding_system. |
| 10082 | arguments. | 10082 | |
| 10083 | 10083 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 10084 | * coding.c (QCcategory): New variable. | 10084 | |
| 10085 | (syms_of_coding): Defsym it. Set all elements of | 10085 | * charset.c (Fset_charset_priority): Pay attention to duplicated |
| 10086 | Vcoding_category_table and their symbol values. | 10086 | arguments. |
| 10087 | (Fset_coding_system_priority): Doc fix. Update symbol qvalues of | 10087 | |
| 10088 | coding-category-XXX, and coding-category-list. | 10088 | * coding.c (QCcategory): New variable. |
| 10089 | (Fdefine_coding_system_internal): Add category in the plist. | 10089 | (syms_of_coding): Defsym it. Set all elements of |
| 10090 | 10090 | Vcoding_category_table and their symbol values. | |
| 10091 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10091 | (Fset_coding_system_priority): Doc fix. Update symbol qvalues of |
| 10092 | 10092 | coding-category-XXX, and coding-category-list. | |
| 10093 | * callproc.c (Fcall_process): Handle carryover correctly. | 10093 | (Fdefine_coding_system_internal): Add category in the plist. |
| 10094 | 10094 | ||
| 10095 | * coding.c (decode_coding_iso_2022): Fix handling of invalid bytes. | 10095 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10096 | (raw_text_coding_system): Check NILP (coding_system). | 10096 | |
| 10097 | (coding_inherit_eol_type): Check NILP (coding_system) and | 10097 | * callproc.c (Fcall_process): Handle carryover correctly. |
| 10098 | NILP (parent). | 10098 | |
| 10099 | (consume_chars): Fix for the case of raw-text. | 10099 | * coding.c (decode_coding_iso_2022): Fix handling of invalid bytes. |
| 10100 | 10100 | (raw_text_coding_system): Check NILP (coding_system). | |
| 10101 | * process.c (read_process_output): Handle carryover correctly. | 10101 | (coding_inherit_eol_type): Check NILP (coding_system) and |
| 10102 | 10102 | NILP (parent). | |
| 10103 | 2008-02-01 Dave Love <fx@gnu.org> | 10103 | (consume_chars): Fix for the case of raw-text. |
| 10104 | 10104 | ||
| 10105 | * regex.c (re_search_2): Fix last change. | 10105 | * process.c (read_process_output): Handle carryover correctly. |
| 10106 | 10106 | ||
| 10107 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10107 | 2008-02-01 Dave Love <fx@gnu.org> |
| 10108 | 10108 | ||
| 10109 | * regex.c (GET_CHAR_BEFORE_2): Check multibyte, not | 10109 | * regex.c (re_search_2): Fix last change. |
| 10110 | target_multibyte. Even in a unibyte case, return a converted | 10110 | |
| 10111 | multibyte char. | 10111 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10112 | (GET_CHAR_AFTER): New macro. | 10112 | |
| 10113 | (PATFETCH): Translate via multibyte char. | 10113 | * regex.c (GET_CHAR_BEFORE_2): Check multibyte, not |
| 10114 | (HANDLE_UNIBYTE_RANGE): Delete this macro. | 10114 | target_multibyte. Even in a unibyte case, return a converted |
| 10115 | (SETUP_MULTIBYTE_RANGE): New macro. | 10115 | multibyte char. |
| 10116 | (regex_compile): Setup compiled code so that its multibyteness | 10116 | (GET_CHAR_AFTER): New macro. |
| 10117 | matches that of a target. Fix the handling of "[X-YZ]" using | 10117 | (PATFETCH): Translate via multibyte char. |
| 10118 | SETUP_MULTIBYTE_RANGE. | 10118 | (HANDLE_UNIBYTE_RANGE): Delete this macro. |
| 10119 | (analyse_first) <charset>: For filling fastmap for all multibyte | 10119 | (SETUP_MULTIBYTE_RANGE): New macro. |
| 10120 | characters, don't check by BASE_LEADING_CODE_P. | 10120 | (regex_compile): Setup compiled code so that its multibyteness |
| 10121 | (re_search_2): Don't check RE_TARGET_MULTIBYTE_P (bufp). It is | 10121 | matches that of a target. Fix the handling of "[X-YZ]" using |
| 10122 | the same as RE_MULTIBYTE_P (bufp) now. | 10122 | SETUP_MULTIBYTE_RANGE. |
| 10123 | (mutually_exclusive_p): Check by (! multibyte || IS_REAL_ASCII (c)). | 10123 | (analyse_first) <charset>: For filling fastmap for all multibyte |
| 10124 | (TARGET_CHAR_AND_LENGTH): Delete this macro. | 10124 | characters, don't check by BASE_LEADING_CODE_P. |
| 10125 | (TRANSLATE_VIA_MULTIBYTE): New macro. | 10125 | (re_search_2): Don't check RE_TARGET_MULTIBYTE_P (bufp). It is |
| 10126 | (re_match_2_internal): Don't check RE_TARGET_MULTIBYTE_P (bufp). | 10126 | the same as RE_MULTIBYTE_P (bufp) now. |
| 10127 | It is the same as RE_MULTIBYTE_P (bufp) now. | 10127 | (mutually_exclusive_p): Check by (! multibyte || IS_REAL_ASCII (c)). |
| 10128 | <exactn>: Translate via multibyte. | 10128 | (TARGET_CHAR_AND_LENGTH): Delete this macro. |
| 10129 | <anychar>: Fetch a character by RE_STRING_CHAR_AND_LENGTH. Don't | 10129 | (TRANSLATE_VIA_MULTIBYTE): New macro. |
| 10130 | translate it. | 10130 | (re_match_2_internal): Don't check RE_TARGET_MULTIBYTE_P (bufp). |
| 10131 | <charset, charset_not>: Fetch a character by | 10131 | It is the same as RE_MULTIBYTE_P (bufp) now. |
| 10132 | RE_STRING_CHAR_AND_LENGTH. Translate via multibyte. | 10132 | <exactn>: Translate via multibyte. |
| 10133 | <duplicate>: Call bcmp_translate with the last arg `multibyte'. | 10133 | <anychar>: Fetch a character by RE_STRING_CHAR_AND_LENGTH. Don't |
| 10134 | <wordbound, notwordbound, wordbeg, wordend, syntaxspec, | 10134 | translate it. |
| 10135 | notsyntaxspec, categoryspec, notcategoryspec> Fetch a character | 10135 | <charset, charset_not>: Fetch a character by |
| 10136 | by GET_CHAR_AFTER. | 10136 | RE_STRING_CHAR_AND_LENGTH. Translate via multibyte. |
| 10137 | (bcmp_translate): Likewise. | 10137 | <duplicate>: Call bcmp_translate with the last arg `multibyte'. |
| 10138 | 10138 | <wordbound, notwordbound, wordbeg, wordend, syntaxspec, | |
| 10139 | * search.c (compile_pattern): Check the member target_multibyte, | 10139 | notsyntaxspec, categoryspec, notcategoryspec> Fetch a character |
| 10140 | not the member multibyte of buf. | 10140 | by GET_CHAR_AFTER. |
| 10141 | 10141 | (bcmp_translate): Likewise. | |
| 10142 | * lread.c (read1): While reading a string, set force_singlebyte | 10142 | |
| 10143 | and force_multibyte correctly. | 10143 | * search.c (compile_pattern): Check the member target_multibyte, |
| 10144 | 10144 | not the member multibyte of buf. | |
| 10145 | * charset.c (Fset_unibyte_charset, init_charset_once): Fix setting | 10145 | |
| 10146 | up of unibyte_to_multibyte_table. | 10146 | * lread.c (read1): While reading a string, set force_singlebyte |
| 10147 | 10147 | and force_multibyte correctly. | |
| 10148 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10148 | |
| 10149 | 10149 | * charset.c (Fset_unibyte_charset, init_charset_once): Fix setting | |
| 10150 | * coding.c (setup_coding_system): If coding has | 10150 | up of unibyte_to_multibyte_table. |
| 10151 | post-read-conversion or pre-write-conversion, set | 10151 | |
| 10152 | CODING_REQUIRE_DECODING_MASK and CODING_REQUIRE_ENCODING_MASK | 10152 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10153 | respectively. | 10153 | |
| 10154 | (decode_coding_gap): Run post-read-conversion if any. | 10154 | * coding.c (setup_coding_system): If coding has |
| 10155 | 10155 | post-read-conversion or pre-write-conversion, set | |
| 10156 | * fileio.c (Finsert_file_contents): Even if we read into a | 10156 | CODING_REQUIRE_DECODING_MASK and CODING_REQUIRE_ENCODING_MASK |
| 10157 | unibyte buffer, check if we must decode the result or not. | 10157 | respectively. |
| 10158 | 10158 | (decode_coding_gap): Run post-read-conversion if any. | |
| 10159 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10159 | |
| 10160 | 10160 | * fileio.c (Finsert_file_contents): Even if we read into a | |
| 10161 | * coding.c (make_conversion_work_buffer): Change the work buffer | 10161 | unibyte buffer, check if we must decode the result or not. |
| 10162 | name to the same one as that of Emacs 21. | 10162 | |
| 10163 | 10163 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 10164 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10164 | |
| 10165 | 10165 | * coding.c (make_conversion_work_buffer): Change the work buffer | |
| 10166 | * coding.h (make_conversion_work_buffer): Adjust prototype. | 10166 | name to the same one as that of Emacs 21. |
| 10167 | (code_conversion_restore): Don't extern it. | 10167 | |
| 10168 | 10168 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 10169 | * coding.c (detected_mask): Delete unused variable. | 10169 | |
| 10170 | (decode_coding_iso_2022): Pay attention to the byte sequence of | 10170 | * coding.h (make_conversion_work_buffer): Adjust prototype. |
| 10171 | CTEXT extended segment, and retain those bytes as is. | 10171 | (code_conversion_restore): Don't extern it. |
| 10172 | (decode_coding_ccl): Delete unused variable `valids'. | 10172 | |
| 10173 | (setup_coding_system): Delete unused variable `category'. | 10173 | * coding.c (detected_mask): Delete unused variable. |
| 10174 | (consume_chars): Delete unused variable `category'. Make it work | 10174 | (decode_coding_iso_2022): Pay attention to the byte sequence of |
| 10175 | for non-multibyte case. | 10175 | CTEXT extended segment, and retain those bytes as is. |
| 10176 | (make_conversion_work_buffer): Change argument. | 10176 | (decode_coding_ccl): Delete unused variable `valids'. |
| 10177 | (saved_coding): Delete unused variable. | 10177 | (setup_coding_system): Delete unused variable `category'. |
| 10178 | (code_conversion_restore): Don't check saved_coding->destination. | 10178 | (consume_chars): Delete unused variable `category'. Make it work |
| 10179 | (code_conversion_save): New function. | 10179 | for non-multibyte case. |
| 10180 | (decode_coding_gap, encode_coding_gap): Call code_conversion_save | 10180 | (make_conversion_work_buffer): Change argument. |
| 10181 | instead of record_unwind_protect. | 10181 | (saved_coding): Delete unused variable. |
| 10182 | (decode_coding_object, encode_coding_object): Likewise. Recover PT. | 10182 | (code_conversion_restore): Don't check saved_coding->destination. |
| 10183 | (detect_coding_system): Delete unused variable `mask'. | 10183 | (code_conversion_save): New function. |
| 10184 | (Fdefine_coding_system_internal): Delete unused variable id. | 10184 | (decode_coding_gap, encode_coding_gap): Call code_conversion_save |
| 10185 | 10185 | instead of record_unwind_protect. | |
| 10186 | * fileio.c (kill_workbuf_unwind): New function. | 10186 | (decode_coding_object, encode_coding_object): Likewise. Recover PT. |
| 10187 | (Finsert_file_contents): On replacing, call | 10187 | (detect_coding_system): Delete unused variable `mask'. |
| 10188 | make_conversion_work_buffer with correct args, and call | 10188 | (Fdefine_coding_system_internal): Delete unused variable id. |
| 10189 | record_unwind_protect with the first arg kill_workbuf_unwind. | 10189 | |
| 10190 | 10190 | * fileio.c (kill_workbuf_unwind): New function. | |
| 10191 | * lisp.h (Fgenerate_new_buffer_name): EXFUN it. | 10191 | (Finsert_file_contents): On replacing, call |
| 10192 | 10192 | make_conversion_work_buffer with correct args, and call | |
| 10193 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10193 | record_unwind_protect with the first arg kill_workbuf_unwind. |
| 10194 | 10194 | ||
| 10195 | * fontset.c (BASE_FONTSET_P): Check FONTSET_BASE, not FONTSET_NAME. | 10195 | * lisp.h (Fgenerate_new_buffer_name): EXFUN it. |
| 10196 | (fontset_add): Fix for the case that TO is less than TO1. | 10196 | |
| 10197 | (Ffontset_info): Don't use fallback fontset on checking the | 10197 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10198 | default fontset. | 10198 | |
| 10199 | (dump_fontset): New function for debugging. | 10199 | * fontset.c (BASE_FONTSET_P): Check FONTSET_BASE, not FONTSET_NAME. |
| 10200 | 10200 | (fontset_add): Fix for the case that TO is less than TO1. | |
| 10201 | * coding.c (Fdefine_coding_system_internal): Fix for the case that | 10201 | (Ffontset_info): Don't use fallback fontset on checking the |
| 10202 | coding_type is Qcharset. | 10202 | default fontset. |
| 10203 | 10203 | (dump_fontset): New function for debugging. | |
| 10204 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10204 | |
| 10205 | 10205 | * coding.c (Fdefine_coding_system_internal): Fix for the case that | |
| 10206 | * chartab.c (map_sub_char_table): New argument DEFAULT_VAL. | 10206 | coding_type is Qcharset. |
| 10207 | (map_char_table): Don't inherit the value from the parent on | 10207 | |
| 10208 | initializing VAL. Adjust for the above change. | 10208 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10209 | 10209 | ||
| 10210 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10210 | * chartab.c (map_sub_char_table): New argument DEFAULT_VAL. |
| 10211 | 10211 | (map_char_table): Don't inherit the value from the parent on | |
| 10212 | * coding.c (Qsignature, Qendian): Delete these variables. | 10212 | initializing VAL. Adjust for the above change. |
| 10213 | (syms_of_coding): Don't initialize them. | 10213 | |
| 10214 | (CATEGORY_MASK_UTF_16_AUTO): New macro. | 10214 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10215 | (detect_coding_utf_16): Add CATEGORY_MASK_UTF_16_AUTO in | 10215 | |
| 10216 | detect_info->found. | 10216 | * coding.c (Qsignature, Qendian): Delete these variables. |
| 10217 | (decode_coding_utf_16): Don't detect BOM here. | 10217 | (syms_of_coding): Don't initialize them. |
| 10218 | (encode_coding_utf_16): Produce BOM if CODING_UTF_16_BOM (coding) | 10218 | (CATEGORY_MASK_UTF_16_AUTO): New macro. |
| 10219 | is NOT utf_16_without_bom. | 10219 | (detect_coding_utf_16): Add CATEGORY_MASK_UTF_16_AUTO in |
| 10220 | (setup_coding_system): For a coding system of type utf-16, check | 10220 | detect_info->found. |
| 10221 | if the attribute :endian is Qbig or not (not nil or not), and set | 10221 | (decode_coding_utf_16): Don't detect BOM here. |
| 10222 | CODING_REQUIRE_DETECTION_MASK if BOM detection is required. | 10222 | (encode_coding_utf_16): Produce BOM if CODING_UTF_16_BOM (coding) |
| 10223 | (detect_coding): If coding type is utf-16 and BOM detection is | 10223 | is NOT utf_16_without_bom. |
| 10224 | required, detect it. | 10224 | (setup_coding_system): For a coding system of type utf-16, check |
| 10225 | (Fdefine_coding_system_internal): For a coding system of type | 10225 | if the attribute :endian is Qbig or not (not nil or not), and set |
| 10226 | utf-16, check if the attribute :endian is Qbig or not (not nil or not). | 10226 | CODING_REQUIRE_DETECTION_MASK if BOM detection is required. |
| 10227 | 10227 | (detect_coding): If coding type is utf-16 and BOM detection is | |
| 10228 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10228 | required, detect it. |
| 10229 | 10229 | (Fdefine_coding_system_internal): For a coding system of type | |
| 10230 | * coding.c (coding_set_source): Fix for the case that the current | 10230 | utf-16, check if the attribute :endian is Qbig or not (not nil or not). |
| 10231 | buffer is different from coding->src_object. | 10231 | |
| 10232 | (decode_coding_object): Don't use the conversion work buffer if | 10232 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10233 | DST_OBJECT is a buffer. | 10233 | |
| 10234 | 10234 | * coding.c (coding_set_source): Fix for the case that the current | |
| 10235 | 2008-02-01 Dave Love <fx@gnu.org> | 10235 | buffer is different from coding->src_object. |
| 10236 | 10236 | (decode_coding_object): Don't use the conversion work buffer if | |
| 10237 | * lread.c (read_emacs_mule_char) [len==2]: Index | 10237 | DST_OBJECT is a buffer. |
| 10238 | emacs_mule_charset correctly. | 10238 | |
| 10239 | 10239 | 2008-02-01 Dave Love <fx@gnu.org> | |
| 10240 | 2008-02-01 Dave Love <fx@gnu.org> | 10240 | |
| 10241 | 10241 | * lread.c (read_emacs_mule_char) [len==2]: Index | |
| 10242 | * coding.c (Qbig5, Vbig5_coding_system, CATEGORY_MASK_BIG5) | 10242 | emacs_mule_charset correctly. |
| 10243 | (detect_coding_big5, decode_coding_big5, encode_coding_big5) | 10243 | |
| 10244 | (Fdecode_big5_char, Fencode_big5_char): Delete. (Big5 no longer | 10244 | 2008-02-01 Dave Love <fx@gnu.org> |
| 10245 | treated specially.) | 10245 | |
| 10246 | (setup_coding_system, coding_category, CATEGORY_MASK_ANY) | 10246 | * coding.c (Qbig5, Vbig5_coding_system, CATEGORY_MASK_BIG5) |
| 10247 | (detected_mask): Remove Big5 bits. | 10247 | (detect_coding_big5, decode_coding_big5, encode_coding_big5) |
| 10248 | 10248 | (Fdecode_big5_char, Fencode_big5_char): Delete. (Big5 no longer | |
| 10249 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10249 | treated specially.) |
| 10250 | 10250 | (setup_coding_system, coding_category, CATEGORY_MASK_ANY) | |
| 10251 | The following changes are to make the font rescaling facility | 10251 | (detected_mask): Remove Big5 bits. |
| 10252 | compatible with Emacs 21. | 10252 | |
| 10253 | 10253 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 10254 | * xfaces.c (Vface_font_rescale_alist): Rename from | 10254 | |
| 10255 | Vface_resizing_fonts. | 10255 | The following changes are to make the font rescaling facility |
| 10256 | (struct font_name): Rename member resizing_ratio to rescale_ratio. | 10256 | compatible with Emacs 21. |
| 10257 | (font_rescale_ratio): Rename from font_resizing_ratio. | 10257 | |
| 10258 | (split_font_name): Set font->rescale_ratio. | 10258 | * xfaces.c (Vface_font_rescale_alist): Rename from |
| 10259 | (better_font_p): Pay attention to font->rescale_ratio. | 10259 | Vface_resizing_fonts. |
| 10260 | (build_scalable_font_name): Likewise. Change RESX, and RESY | 10260 | (struct font_name): Rename member resizing_ratio to rescale_ratio. |
| 10261 | fields. | 10261 | (font_rescale_ratio): Rename from font_resizing_ratio. |
| 10262 | (syms_of_xfaces): Declare Vface_font_rescale_alist as a Lisp variable. | 10262 | (split_font_name): Set font->rescale_ratio. |
| 10263 | 10263 | (better_font_p): Pay attention to font->rescale_ratio. | |
| 10264 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10264 | (build_scalable_font_name): Likewise. Change RESX, and RESY |
| 10265 | 10265 | fields. | |
| 10266 | * coding.c (Qutf_16_be_nosig, Qutf_16_be, Qutf_16_le_nosig) | 10266 | (syms_of_xfaces): Declare Vface_font_rescale_alist as a Lisp variable. |
| 10267 | (Qutf_16_le): Remove these variables. | 10267 | |
| 10268 | (syms_of_coding): Don't DEFSYM them. | 10268 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10269 | (decode_coding_utf_16): Fix handling of BOM. | 10269 | |
| 10270 | (encode_coding_utf_16): Fix handling of BOM. | 10270 | * coding.c (Qutf_16_be_nosig, Qutf_16_be, Qutf_16_le_nosig) |
| 10271 | 10271 | (Qutf_16_le): Remove these variables. | |
| 10272 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10272 | (syms_of_coding): Don't DEFSYM them. |
| 10273 | 10273 | (decode_coding_utf_16): Fix handling of BOM. | |
| 10274 | * fileio.c (Finsert_file_contents): On replacing, before decoding | 10274 | (encode_coding_utf_16): Fix handling of BOM. |
| 10275 | the file into the work buffer, set point of the work buffer to the end. | 10275 | |
| 10276 | 10276 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 10277 | 2008-02-01 Dave Love <fx@gnu.org> | 10277 | |
| 10278 | 10278 | * fileio.c (Finsert_file_contents): On replacing, before decoding | |
| 10279 | * coding.c (Fcheck_coding_systems_region): Fix type errors. | 10279 | the file into the work buffer, set point of the work buffer to the end. |
| 10280 | 10280 | ||
| 10281 | 2008-02-01 Dave Love <fx@gnu.org> | 10281 | 2008-02-01 Dave Love <fx@gnu.org> |
| 10282 | 10282 | ||
| 10283 | * xterm.c (XTread_socket): Check Lisp types for Vx_keysym_table | 10283 | * coding.c (Fcheck_coding_systems_region): Fix type errors. |
| 10284 | and fix C types. | 10284 | |
| 10285 | 10285 | 2008-02-01 Dave Love <fx@gnu.org> | |
| 10286 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10286 | |
| 10287 | 10287 | * xterm.c (XTread_socket): Check Lisp types for Vx_keysym_table | |
| 10288 | * xdisp.c (SKIP_GLYPHS): New macro. | 10288 | and fix C types. |
| 10289 | (set_cursor_from_row): Pay attention to string display properties. | 10289 | |
| 10290 | 10290 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 10291 | * category.c (copy_category_entry): Fix for the case that RANGE | 10291 | |
| 10292 | is an integer. | 10292 | * xdisp.c (SKIP_GLYPHS): New macro. |
| 10293 | 10293 | (set_cursor_from_row): Pay attention to string display properties. | |
| 10294 | * xterm.c (x_encode_char): Call ccl_driver with the last arg Qnil. | 10294 | |
| 10295 | 10295 | * category.c (copy_category_entry): Fix for the case that RANGE | |
| 10296 | * w32term.c (w32_encode_char): Call ccl_driver with the last arg Qnil. | 10296 | is an integer. |
| 10297 | 10297 | ||
| 10298 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10298 | * xterm.c (x_encode_char): Call ccl_driver with the last arg Qnil. |
| 10299 | 10299 | ||
| 10300 | * charset.c (Fcharset_id_internal): New function. | 10300 | * w32term.c (w32_encode_char): Call ccl_driver with the last arg Qnil. |
| 10301 | (syms_of_charset): Defsubr it. | 10301 | |
| 10302 | 10302 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 10303 | * coding.c (decode_coding_ccl, encode_coding_ccl): Call ccl_driver | 10303 | |
| 10304 | with the last arg charset_list acquired from coding. | 10304 | * charset.c (Fcharset_id_internal): New function. |
| 10305 | (Fdefine_coding_system_internal): For ccl-based coding system, fix | 10305 | (syms_of_charset): Defsubr it. |
| 10306 | the attribute coding_attr_ccl_valids. | 10306 | |
| 10307 | 10307 | * coding.c (decode_coding_ccl, encode_coding_ccl): Call ccl_driver | |
| 10308 | * coding.h (enum define_coding_ccl_arg_index): Set the first | 10308 | with the last arg charset_list acquired from coding. |
| 10309 | member coding_arg_ccl_decoder to coding_arg_max. | 10309 | (Fdefine_coding_system_internal): For ccl-based coding system, fix |
| 10310 | 10310 | the attribute coding_attr_ccl_valids. | |
| 10311 | * ccl.h (ccl_driver): Adjust prototype. | 10311 | |
| 10312 | 10312 | * coding.h (enum define_coding_ccl_arg_index): Set the first | |
| 10313 | * ccl.c (CCL_DECODE_CHAR, CCL_ENCODE_CHAR): New macros. | 10313 | member coding_arg_ccl_decoder to coding_arg_max. |
| 10314 | (ccl_driver): New arg CHARSET_LIST. Use the above macros instead | 10314 | |
| 10315 | of DECODE_CAHR, ENCODE_CHAR, CHAR_CHARSET. | 10315 | * ccl.h (ccl_driver): Adjust prototype. |
| 10316 | (Fccl_execute, Fccl_execute_on_string): Call ccl_driver with the | 10316 | |
| 10317 | last arg Qnil. | 10317 | * ccl.c (CCL_DECODE_CHAR, CCL_ENCODE_CHAR): New macros. |
| 10318 | 10318 | (ccl_driver): New arg CHARSET_LIST. Use the above macros instead | |
| 10319 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10319 | of DECODE_CAHR, ENCODE_CHAR, CHAR_CHARSET. |
| 10320 | 10320 | (Fccl_execute, Fccl_execute_on_string): Call ccl_driver with the | |
| 10321 | * charset.h (ENCODE_CHAR): If the method is SUBSET or SUPERSET, | 10321 | last arg Qnil. |
| 10322 | call encode_char. | 10322 | |
| 10323 | 10323 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 10324 | * charset.c (encode_char): Fix handling of methods SUBSET and SUPERSET. | 10324 | |
| 10325 | 10325 | * charset.h (ENCODE_CHAR): If the method is SUBSET or SUPERSET, | |
| 10326 | 2008-02-01 Dave Love <fx@gnu.org> | 10326 | call encode_char. |
| 10327 | 10327 | ||
| 10328 | * composite.c (syms_of_composite): Make composition_hash_table weak. | 10328 | * charset.c (encode_char): Fix handling of methods SUBSET and SUPERSET. |
| 10329 | 10329 | ||
| 10330 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10330 | 2008-02-01 Dave Love <fx@gnu.org> |
| 10331 | 10331 | ||
| 10332 | * dispextern.h (check_face_attributes, generate_ascii_font_name) | 10332 | * composite.c (syms_of_composite): Make composition_hash_table weak. |
| 10333 | (font_name_registry): Don't extern them. | 10333 | |
| 10334 | (split_font_name_into_vector, build_font_name_from_vector): Extern them. | 10334 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10335 | 10335 | ||
| 10336 | * fontset.h (Qfontset): Don't extern it. | 10336 | * dispextern.h (check_face_attributes, generate_ascii_font_name) |
| 10337 | (new_fontset_from_font_name): Extern it. | 10337 | (font_name_registry): Don't extern them. |
| 10338 | 10338 | (split_font_name_into_vector, build_font_name_from_vector): Extern them. | |
| 10339 | * fontset.c: Give 8 extra slots to fontset objects. | 10339 | |
| 10340 | (Qfontset_info): New variable. | 10340 | * fontset.h (Qfontset): Don't extern it. |
| 10341 | (syms_of_fontset): Defsym it. | 10341 | (new_fontset_from_font_name): Extern it. |
| 10342 | (FONTSET_FALLBACK): New macro. | 10342 | |
| 10343 | (fontset_face): Try also the default fontset. | 10343 | * fontset.c: Give 8 extra slots to fontset objects. |
| 10344 | (make_fontset): Realize a fallback fontset from the default fontset. | 10344 | (Qfontset_info): New variable. |
| 10345 | (generate_ascii_font_name): Move from xfaces.c. Rewritten by | 10345 | (syms_of_fontset): Defsym it. |
| 10346 | using split_font_name_into_vector and build_font_name_from_vector. | 10346 | (FONTSET_FALLBACK): New macro. |
| 10347 | (Fset_fontset_font): Access the elements of font_spec by enum | 10347 | (fontset_face): Try also the default fontset. |
| 10348 | FONT_SPEC_INDEX. If font_spec is a string, extract the registry | 10348 | (make_fontset): Realize a fallback fontset from the default fontset. |
| 10349 | name by using split_font_name_into_vector. | 10349 | (generate_ascii_font_name): Move from xfaces.c. Rewritten by |
| 10350 | (Fnew_fontset): If no ASCII font is specified in FONTLIST, | 10350 | using split_font_name_into_vector and build_font_name_from_vector. |
| 10351 | generate a proper font name from the fontset name. Update | 10351 | (Fset_fontset_font): Access the elements of font_spec by enum |
| 10352 | Vfontset_alias_alist. | 10352 | FONT_SPEC_INDEX. If font_spec is a string, extract the registry |
| 10353 | (n_auto_fontsets): New variable. | 10353 | name by using split_font_name_into_vector. |
| 10354 | (new_fontset_from_font_name): New function. | 10354 | (Fnew_fontset): If no ASCII font is specified in FONTLIST, |
| 10355 | (Ffont_info): Store the information about fonts generated from the | 10355 | generate a proper font name from the fontset name. Update |
| 10356 | default fontset in the first extra slot of the returned char-table. | 10356 | Vfontset_alias_alist. |
| 10357 | 10357 | (n_auto_fontsets): New variable. | |
| 10358 | * xfaces.c (generate_ascii_font_name): Move to fontset.c. | 10358 | (new_fontset_from_font_name): New function. |
| 10359 | (font_name_registry): Delete function. | 10359 | (Ffont_info): Store the information about fonts generated from the |
| 10360 | (split_font_name_into_vector): New function. | 10360 | default fontset in the first extra slot of the returned char-table. |
| 10361 | (build_font_name_from_vector): New function. | 10361 | |
| 10362 | (font_list): The argument REGISTRY is now a list of registry names. | 10362 | * xfaces.c (generate_ascii_font_name): Move to fontset.c. |
| 10363 | (choose_face_font): If we are choosing an ASCII font, and ATTRS | 10363 | (font_name_registry): Delete function. |
| 10364 | specifies an explicit font name, return the name as is. Make a | 10364 | (split_font_name_into_vector): New function. |
| 10365 | list of registy names. | 10365 | (build_font_name_from_vector): New function. |
| 10366 | 10366 | (font_list): The argument REGISTRY is now a list of registry names. | |
| 10367 | * xfns.c (x_set_font, x_create_tip_frame): Adjust for the change | 10367 | (choose_face_font): If we are choosing an ASCII font, and ATTRS |
| 10368 | of x_new_fontset. | 10368 | specifies an explicit font name, return the name as is. Make a |
| 10369 | (Fx_create_frame): Don't call x_new_fontset here. Just use | 10369 | list of registy names. |
| 10370 | x_list_fonts to check the existence of fonts. | 10370 | |
| 10371 | 10371 | * xfns.c (x_set_font, x_create_tip_frame): Adjust for the change | |
| 10372 | * xterm.h (x_new_fontset): Adjust prototype. | 10372 | of x_new_fontset. |
| 10373 | 10373 | (Fx_create_frame): Don't call x_new_fontset here. Just use | |
| 10374 | * xterm.c (x_new_fontset): Change the arg FONTSETNAME to Lisp | 10374 | x_list_fonts to check the existence of fonts. |
| 10375 | string. Use new_fontset_from_font_name to create a fontset from a | 10375 | |
| 10376 | font name. | 10376 | * xterm.h (x_new_fontset): Adjust prototype. |
| 10377 | 10377 | ||
| 10378 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10378 | * xterm.c (x_new_fontset): Change the arg FONTSETNAME to Lisp |
| 10379 | 10379 | string. Use new_fontset_from_font_name to create a fontset from a | |
| 10380 | * syntax.c (Vfind_word_boundary_function_table): New name for | 10380 | font name. |
| 10381 | Vnext_word_boundary_function_table. | 10381 | |
| 10382 | (find-word-boundary-function-table): New name for | 10382 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10383 | next-word-boundary-function-table. | 10383 | |
| 10384 | 10384 | * syntax.c (Vfind_word_boundary_function_table): New name for | |
| 10385 | 2008-02-01 Dave Love <fx@gnu.org> | 10385 | Vnext_word_boundary_function_table. |
| 10386 | 10386 | (find-word-boundary-function-table): New name for | |
| 10387 | * Makefile.in: Fix some dependencies. | 10387 | next-word-boundary-function-table. |
| 10388 | 10388 | ||
| 10389 | * keymap.c (Fapropos_internal): Don't gcpro apropos_predicate but | 10389 | 2008-02-01 Dave Love <fx@gnu.org> |
| 10390 | set it to nil before returning. | 10390 | |
| 10391 | 10391 | * Makefile.in: Fix some dependencies. | |
| 10392 | * composite.c (update_compositions): Fix type error. | 10392 | |
| 10393 | 10393 | * keymap.c (Fapropos_internal): Don't gcpro apropos_predicate but | |
| 10394 | * syntax.c (skip_chars, skip_syntaxes): Fix type errors. | 10394 | set it to nil before returning. |
| 10395 | 10395 | ||
| 10396 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10396 | * composite.c (update_compositions): Fix type error. |
| 10397 | 10397 | ||
| 10398 | * xterm.c (x_new_font): Optimize for the case that the font is | 10398 | * syntax.c (skip_chars, skip_syntaxes): Fix type errors. |
| 10399 | already set for the frame. | 10399 | |
| 10400 | 10400 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 10401 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10401 | |
| 10402 | 10402 | * xterm.c (x_new_font): Optimize for the case that the font is | |
| 10403 | * chartab.c (char_table_ascii): Check if the char table contents | 10403 | already set for the frame. |
| 10404 | is sub-char-table or not. | 10404 | |
| 10405 | (char_table_set, char_table_set_range): Fix argument to | 10405 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10406 | char_table_ascii. | 10406 | |
| 10407 | 10407 | * chartab.c (char_table_ascii): Check if the char table contents | |
| 10408 | * coding.c (CATEGORY_MASK_RAW_TEXT): New macro. | 10408 | is sub-char-table or not. |
| 10409 | (detect_coding_utf_8, detect_coding_utf_16) | 10409 | (char_table_set, char_table_set_range): Fix argument to |
| 10410 | (detect_coding_emacs_mule, detect_coding_iso_2022) | 10410 | char_table_ascii. |
| 10411 | (detect_coding_sjis, detect_coding_big5) | 10411 | |
| 10412 | (detect_coding_ccl, detect_coding_charset): Change argument MASK | 10412 | * coding.c (CATEGORY_MASK_RAW_TEXT): New macro. |
| 10413 | to DETECT_INFO. Update DETECT_INFO and return 1 if the byte | 10413 | (detect_coding_utf_8, detect_coding_utf_16) |
| 10414 | sequence is valid in this coding system. Change callers. | 10414 | (detect_coding_emacs_mule, detect_coding_iso_2022) |
| 10415 | (MAX_ANNOTATION_LENGTH): New macro. | 10415 | (detect_coding_sjis, detect_coding_big5) |
| 10416 | (ADD_ANNOTATION_DATA): New macro. | 10416 | (detect_coding_ccl, detect_coding_charset): Change argument MASK |
| 10417 | (ADD_COMPOSITION_DATA): Change argument. Change callers. Call | 10417 | to DETECT_INFO. Update DETECT_INFO and return 1 if the byte |
| 10418 | ADD_ANNOTATION_DATA. Change the format of annotation data. | 10418 | sequence is valid in this coding system. Change callers. |
| 10419 | (ADD_CHARSET_DATA): New macro. | 10419 | (MAX_ANNOTATION_LENGTH): New macro. |
| 10420 | (emacs_mule_char): New argument ID. Change callers. | 10420 | (ADD_ANNOTATION_DATA): New macro. |
| 10421 | (decode_coding_emacs_mule, decode_coding_iso_2022) | 10421 | (ADD_COMPOSITION_DATA): Change argument. Change callers. Call |
| 10422 | (decode_coding_sjis, decode_coding_big5, decode_coding_charset): | 10422 | ADD_ANNOTATION_DATA. Change the format of annotation data. |
| 10423 | Produce charset annotation data in coding->charbuf. | 10423 | (ADD_CHARSET_DATA): New macro. |
| 10424 | (encode_coding_emacs_mule, encode_coding_iso_2022): Pay attention | 10424 | (emacs_mule_char): New argument ID. Change callers. |
| 10425 | to charset annotation data in coding->charbuf. | 10425 | (decode_coding_emacs_mule, decode_coding_iso_2022) |
| 10426 | (setup_coding_system): Add CODING_ANNOTATE_CHARSET_MASK | 10426 | (decode_coding_sjis, decode_coding_big5, decode_coding_charset): |
| 10427 | coding->common_flags if the coding system is iso-2022 based and | 10427 | Produce charset annotation data in coding->charbuf. |
| 10428 | uses designation. | 10428 | (encode_coding_emacs_mule, encode_coding_iso_2022): Pay attention |
| 10429 | (produce_composition): Adjust for the new annotation data format. | 10429 | to charset annotation data in coding->charbuf. |
| 10430 | (produce_charset): New function. | 10430 | (setup_coding_system): Add CODING_ANNOTATE_CHARSET_MASK |
| 10431 | (produce_annotation): Handle charset annotation. | 10431 | coding->common_flags if the coding system is iso-2022 based and |
| 10432 | (handle_composition_annotation, handle_charset_annotation): New | 10432 | uses designation. |
| 10433 | functions. | 10433 | (produce_composition): Adjust for the new annotation data format. |
| 10434 | (consume_chars): Handle charset annotation. Utilize the above two | 10434 | (produce_charset): New function. |
| 10435 | functions. | 10435 | (produce_annotation): Handle charset annotation. |
| 10436 | (encode_coding_object): If SRC_OBJECT and DST_OBJECT are the same | 10436 | (handle_composition_annotation, handle_charset_annotation): New |
| 10437 | buffer, get the deleted text as a string and set | 10437 | functions. |
| 10438 | coding->src_object to that string. | 10438 | (consume_chars): Handle charset annotation. Utilize the above two |
| 10439 | (detect_coding, detect_coding_system): Use the new struct | 10439 | functions. |
| 10440 | coding_detection_info. | 10440 | (encode_coding_object): If SRC_OBJECT and DST_OBJECT are the same |
| 10441 | 10441 | buffer, get the deleted text as a string and set | |
| 10442 | * coding.h (struct coding_detection_info): New structure. | 10442 | coding->src_object to that string. |
| 10443 | (struct coding_system): Adjust prototype of the member `detector'. | 10443 | (detect_coding, detect_coding_system): Use the new struct |
| 10444 | (CODING_ANNOTATE_CHARSET_MASK): New macro. | 10444 | coding_detection_info. |
| 10445 | 10445 | ||
| 10446 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10446 | * coding.h (struct coding_detection_info): New structure. |
| 10447 | 10447 | (struct coding_system): Adjust prototype of the member `detector'. | |
| 10448 | * insdel.c (insert_from_gap): Fix argument to offset_intervals. | 10448 | (CODING_ANNOTATE_CHARSET_MASK): New macro. |
| 10449 | 10449 | ||
| 10450 | 2008-02-01 Dave Love <fx@gnu.org> | 10450 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10451 | 10451 | ||
| 10452 | * keymap.c (apropos_predicate, apropos_accumulate): Declare static. | 10452 | * insdel.c (insert_from_gap): Fix argument to offset_intervals. |
| 10453 | (Fapropos_internal): Don't gcpro apropos_accumulate. Set result | 10453 | |
| 10454 | to new local and nullify apropos_accumulate before returning. | 10454 | 2008-02-01 Dave Love <fx@gnu.org> |
| 10455 | (syms_of_keymap): Staticpro and initialize apropos_accumulate. | 10455 | |
| 10456 | 10456 | * keymap.c (apropos_predicate, apropos_accumulate): Declare static. | |
| 10457 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10457 | (Fapropos_internal): Don't gcpro apropos_accumulate. Set result |
| 10458 | 10458 | to new local and nullify apropos_accumulate before returning. | |
| 10459 | * charset.c (Fdefine_charset_internal): Setup charset.fast_map | 10459 | (syms_of_keymap): Staticpro and initialize apropos_accumulate. |
| 10460 | correctly. | 10460 | |
| 10461 | 10461 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 10462 | 2008-02-01 Dave Love <fx@gnu.org> | 10462 | |
| 10463 | 10463 | * charset.c (Fdefine_charset_internal): Setup charset.fast_map | |
| 10464 | * fns.c (Flanginfo): Call synchronize_system_time_locale. | 10464 | correctly. |
| 10465 | 10465 | ||
| 10466 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10466 | 2008-02-01 Dave Love <fx@gnu.org> |
| 10467 | 10467 | ||
| 10468 | The following changes are to make character composition happen | 10468 | * fns.c (Flanginfo): Call synchronize_system_time_locale. |
| 10469 | automatically on displaying. | 10469 | |
| 10470 | 10470 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 10471 | * Makefile.in (lisp, shortlisp): Add composite.elc. | 10471 | |
| 10472 | 10472 | The following changes are to make character composition happen | |
| 10473 | * composite.h (Qauto_composed, Vauto_composition_function) | 10473 | automatically on displaying. |
| 10474 | (Qauto_composition_function): Extern them. | 10474 | |
| 10475 | 10475 | * Makefile.in (lisp, shortlisp): Add composite.elc. | |
| 10476 | * composite.c (Vcomposition_function_table) | 10476 | |
| 10477 | (Qcomposition_function_table): Delete variables. | 10477 | * composite.h (Qauto_composed, Vauto_composition_function) |
| 10478 | (Qauto_composed, Vauto_composition_function) | 10478 | (Qauto_composition_function): Extern them. |
| 10479 | (Qauto_composition_function): New variables. | 10479 | |
| 10480 | (run_composition_function): Don't call | 10480 | * composite.c (Vcomposition_function_table) |
| 10481 | compose-chars-after-function. | 10481 | (Qcomposition_function_table): Delete variables. |
| 10482 | (update_compositions): Clear `auto-composed' text property. | 10482 | (Qauto_composed, Vauto_composition_function) |
| 10483 | (compose_chars_in_text): Delete this function. | 10483 | (Qauto_composition_function): New variables. |
| 10484 | (syms_of_composite): Staticpro Qauto_composed and | 10484 | (run_composition_function): Don't call |
| 10485 | Qauto_composition_function. Declare Vauto_composition_function as | 10485 | compose-chars-after-function. |
| 10486 | a Lisp variable. | 10486 | (update_compositions): Clear `auto-composed' text property. |
| 10487 | 10487 | (compose_chars_in_text): Delete this function. | |
| 10488 | * dispextern.h (enum prop_idx): Add member AUTO_COMPOSED_PROP_IDX. | 10488 | (syms_of_composite): Staticpro Qauto_composed and |
| 10489 | 10489 | Qauto_composition_function. Declare Vauto_composition_function as | |
| 10490 | * xdisp.c (it_props): Add an entry for Qauto_composed. | 10490 | a Lisp variable. |
| 10491 | (handle_auto_composed_prop): New function. | 10491 | |
| 10492 | 10492 | * dispextern.h (enum prop_idx): Add member AUTO_COMPOSED_PROP_IDX. | |
| 10493 | * xselect.c (selection_data_to_lisp_data): Don't call | 10493 | |
| 10494 | compose_chars_in_text. | 10494 | * xdisp.c (it_props): Add an entry for Qauto_composed. |
| 10495 | 10495 | (handle_auto_composed_prop): New function. | |
| 10496 | 2008-02-01 Dave Love <fx@gnu.org> | 10496 | |
| 10497 | 10497 | * xselect.c (selection_data_to_lisp_data): Don't call | |
| 10498 | * keyboard.c (read_char): Modify checking around use of | 10498 | compose_chars_in_text. |
| 10499 | Vkeyboard_translate_table. | 10499 | |
| 10500 | 10500 | 2008-02-01 Dave Love <fx@gnu.org> | |
| 10501 | * xterm.c (XTread_socket): Check Lisp types for Vx_keysym_table | 10501 | |
| 10502 | and fix C types. | 10502 | * keyboard.c (read_char): Modify checking around use of |
| 10503 | 10503 | Vkeyboard_translate_table. | |
| 10504 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10504 | |
| 10505 | 10505 | * xterm.c (XTread_socket): Check Lisp types for Vx_keysym_table | |
| 10506 | * coding.c (decode_coding_utf_8, decode_coding_emacs_mule) | 10506 | and fix C types. |
| 10507 | (decode_coding_iso_2022, decode_coding_sjis, decode_coding_big5) | 10507 | |
| 10508 | (decode_coding_charset, produce_chars): When eol_type is Qdos, handle | 10508 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10509 | the case that the last byte is '\r' correctly. | 10509 | |
| 10510 | (decode_coding): Flush out the unprocessed data correctly. | 10510 | * coding.c (decode_coding_utf_8, decode_coding_emacs_mule) |
| 10511 | (decode_coding_gap): Set CODING_MODE_LAST_BLOCK bit of coding->mode. | 10511 | (decode_coding_iso_2022, decode_coding_sjis, decode_coding_big5) |
| 10512 | 10512 | (decode_coding_charset, produce_chars): When eol_type is Qdos, handle | |
| 10513 | 2008-02-01 Dave Love <fx@gnu.org> | 10513 | the case that the last byte is '\r' correctly. |
| 10514 | 10514 | (decode_coding): Flush out the unprocessed data correctly. | |
| 10515 | * xterm.c (XTread_socket): Fix changes for defined keysyms. | 10515 | (decode_coding_gap): Set CODING_MODE_LAST_BLOCK bit of coding->mode. |
| 10516 | Add XK_ISO... case. | 10516 | |
| 10517 | (xaw_scroll_callback): Revert last change. | 10517 | 2008-02-01 Dave Love <fx@gnu.org> |
| 10518 | 10518 | ||
| 10519 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10519 | * xterm.c (XTread_socket): Fix changes for defined keysyms. |
| 10520 | 10520 | Add XK_ISO... case. | |
| 10521 | * charset.c (Fset_charset_priority): Update Viso_2022_charset_list. | 10521 | (xaw_scroll_callback): Revert last change. |
| 10522 | 10522 | ||
| 10523 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10523 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10524 | 10524 | ||
| 10525 | * xfaces.c (Vface_resizing_fonts): New variable. | 10525 | * charset.c (Fset_charset_priority): Update Viso_2022_charset_list. |
| 10526 | (struct font_name): New member `resizing_ratio'. | 10526 | |
| 10527 | (font_resizing_ratio): New function. | 10527 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10528 | (split_font_name): Set font->resizing_ratio. | 10528 | |
| 10529 | (better_font_p): Pay attention to font->resizing_ratio. | 10529 | * xfaces.c (Vface_resizing_fonts): New variable. |
| 10530 | (build_scalable_font_name): Likewise. Don't change POINT_SIZE, | 10530 | (struct font_name): New member `resizing_ratio'. |
| 10531 | RESX, and RESY fields. | 10531 | (font_resizing_ratio): New function. |
| 10532 | (try_alternative_families): Try scalable fonts if | 10532 | (split_font_name): Set font->resizing_ratio. |
| 10533 | Vscalable_fonts_allowed is not Qt. | 10533 | (better_font_p): Pay attention to font->resizing_ratio. |
| 10534 | (syms_of_xfaces): Declare Vface_resizing_fonts as a Lisp variable. | 10534 | (build_scalable_font_name): Likewise. Don't change POINT_SIZE, |
| 10535 | 10535 | RESX, and RESY fields. | |
| 10536 | 2008-02-01 Dave Love <fx@gnu.org> | 10536 | (try_alternative_families): Try scalable fonts if |
| 10537 | 10537 | Vscalable_fonts_allowed is not Qt. | |
| 10538 | * xterm.c (xaw_scroll_callback): Cast correctly. | 10538 | (syms_of_xfaces): Declare Vface_resizing_fonts as a Lisp variable. |
| 10539 | 10539 | ||
| 10540 | 2008-02-01 Dave Love <fx@gnu.org> | 10540 | 2008-02-01 Dave Love <fx@gnu.org> |
| 10541 | 10541 | ||
| 10542 | * keyboard.c (lispy_accent_codes, lispy_accent_keys): Extend. | 10542 | * xterm.c (xaw_scroll_callback): Cast correctly. |
| 10543 | (lispy_kana_keys): Comment out. | 10543 | |
| 10544 | (make_lispy_event) [XK_kana_A]: Comment out. | 10544 | 2008-02-01 Dave Love <fx@gnu.org> |
| 10545 | 10545 | ||
| 10546 | * xterm.c (xaw_scroll_callback): Cast call_data. | 10546 | * keyboard.c (lispy_accent_codes, lispy_accent_keys): Extend. |
| 10547 | (XTread_socket): Deal with ASCII keysyms. | 10547 | (lispy_kana_keys): Comment out. |
| 10548 | (syms_of_xterm) <Vx_keysym_table>: Fix args of make_hash_table. | 10548 | (make_lispy_event) [XK_kana_A]: Comment out. |
| 10549 | 10549 | ||
| 10550 | 2008-02-01 Dave Love <fx@gnu.org> | 10550 | * xterm.c (xaw_scroll_callback): Cast call_data. |
| 10551 | 10551 | (XTread_socket): Deal with ASCII keysyms. | |
| 10552 | * xterm.c (Vx_keysym_table): New. | 10552 | (syms_of_xterm) <Vx_keysym_table>: Fix args of make_hash_table. |
| 10553 | (syms_of_xterm): Initialize it. | 10553 | |
| 10554 | (XTread_socket): Use it. | 10554 | 2008-02-01 Dave Love <fx@gnu.org> |
| 10555 | From head: Eliminate incorrect optimization that tried to avoid | 10555 | |
| 10556 | decoding the output of X*LookupString. | 10556 | * xterm.c (Vx_keysym_table): New. |
| 10557 | (x_get_font_repertory): Delete charset declaration. | 10557 | (syms_of_xterm): Initialize it. |
| 10558 | 10558 | (XTread_socket): Use it. | |
| 10559 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10559 | From head: Eliminate incorrect optimization that tried to avoid |
| 10560 | 10560 | decoding the output of X*LookupString. | |
| 10561 | * coding.c (detect_coding_charset): If only ASCII bytes are found, | 10561 | (x_get_font_repertory): Delete charset declaration. |
| 10562 | return 0. | 10562 | |
| 10563 | (Fdefine_coding_system_internal): Setup | 10563 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10564 | CODING_ATTR_ASCII_COMPAT (attrs) correctly. | 10564 | |
| 10565 | 10565 | * coding.c (detect_coding_charset): If only ASCII bytes are found, | |
| 10566 | 2008-02-01 Dave Love <fx@gnu.org> | 10566 | return 0. |
| 10567 | 10567 | (Fdefine_coding_system_internal): Setup | |
| 10568 | * coding.c (Fcheck_coding_system): Doc fix. | 10568 | CODING_ATTR_ASCII_COMPAT (attrs) correctly. |
| 10569 | 10569 | ||
| 10570 | * editfns.c (Finsert_byte): Return a proper value. | 10570 | 2008-02-01 Dave Love <fx@gnu.org> |
| 10571 | 10571 | ||
| 10572 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10572 | * coding.c (Fcheck_coding_system): Doc fix. |
| 10573 | 10573 | ||
| 10574 | * coding.c (decode_coding): Fix args to translate_chars. Pay | 10574 | * editfns.c (Finsert_byte): Return a proper value. |
| 10575 | attention to Vstandard_translation_table_for_decode. | 10575 | |
| 10576 | (encode_coding): Fix args to translate_chars. Pay attention to | 10576 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10577 | Vstandard_translation_table_for_encode. | 10577 | |
| 10578 | 10578 | * coding.c (decode_coding): Fix args to translate_chars. Pay | |
| 10579 | * data.c (Faset): Check NEWELT by ASCII_CHAR_P, not by | 10579 | attention to Vstandard_translation_table_for_decode. |
| 10580 | SINGLE_BYTE_CHAR_P. | 10580 | (encode_coding): Fix args to translate_chars. Pay attention to |
| 10581 | 10581 | Vstandard_translation_table_for_encode. | |
| 10582 | * editfns.c (general_insert_function): Check VAL by ASCII_CHAR_P, | 10582 | |
| 10583 | not by SINGLE_BYTE_CHAR_P. | 10583 | * data.c (Faset): Check NEWELT by ASCII_CHAR_P, not by |
| 10584 | 10584 | SINGLE_BYTE_CHAR_P. | |
| 10585 | * fns.c (concat): Check CH by ASCII_CHAR_P, not by | 10585 | |
| 10586 | SINGLE_BYTE_CHAR_P. | 10586 | * editfns.c (general_insert_function): Check VAL by ASCII_CHAR_P, |
| 10587 | 10587 | not by SINGLE_BYTE_CHAR_P. | |
| 10588 | * insdel.c (copy_text): Check C by ASCII_CHAR_P, not by | 10588 | |
| 10589 | SINGLE_BYTE_CHAR_P. | 10589 | * fns.c (concat): Check CH by ASCII_CHAR_P, not by |
| 10590 | 10590 | SINGLE_BYTE_CHAR_P. | |
| 10591 | * keymap.c (Ftext_char_description): Check C by ASCII_CHAR_P, not | 10591 | |
| 10592 | by SINGLE_BYTE_CHAR_P. | 10592 | * insdel.c (copy_text): Check C by ASCII_CHAR_P, not by |
| 10593 | 10593 | SINGLE_BYTE_CHAR_P. | |
| 10594 | * search.c (Freplace_match): Check C by ASCII_CHAR_P, not by | 10594 | |
| 10595 | SINGLE_BYTE_CHAR_P. | 10595 | * keymap.c (Ftext_char_description): Check C by ASCII_CHAR_P, not |
| 10596 | 10596 | by SINGLE_BYTE_CHAR_P. | |
| 10597 | 2008-02-01 Dave Love <fx@gnu.org> | 10597 | |
| 10598 | 10598 | * search.c (Freplace_match): Check C by ASCII_CHAR_P, not by | |
| 10599 | * fns.c (Fstring_as_multibyte, Fstring_to_multibyte): Doc fix. | 10599 | SINGLE_BYTE_CHAR_P. |
| 10600 | 10600 | ||
| 10601 | 2008-02-01 Dave Love <fx@gnu.org> | 10601 | 2008-02-01 Dave Love <fx@gnu.org> |
| 10602 | 10602 | ||
| 10603 | * fns.c (Flanginfo): Fix typo. | 10603 | * fns.c (Fstring_as_multibyte, Fstring_to_multibyte): Doc fix. |
| 10604 | 10604 | ||
| 10605 | * unexelf.c (unexec): Make last change conditional on Irix 6.5. | 10605 | 2008-02-01 Dave Love <fx@gnu.org> |
| 10606 | 10606 | ||
| 10607 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10607 | * fns.c (Flanginfo): Fix typo. |
| 10608 | 10608 | ||
| 10609 | * coding.c (detect_coding_utf_8, detect_coding_utf_16) | 10609 | * unexelf.c (unexec): Make last change conditional on Irix 6.5. |
| 10610 | (detect_coding_emacs_mule, detect_coding_iso_2022) | 10610 | |
| 10611 | (detect_coding_sjis, detect_coding_big5, detect_coding_ccl): Check | 10611 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10612 | incomplete byte sequence. Don't update *mask when correctly detected. | 10612 | |
| 10613 | (decode_coding_sjis): Fix decoding of katakana-jisx0201. | 10613 | * coding.c (detect_coding_utf_8, detect_coding_utf_16) |
| 10614 | (detect_eol): Delete the argument CODING, and add the argument CATEGORY. | 10614 | (detect_coding_emacs_mule, detect_coding_iso_2022) |
| 10615 | (detect_coding, detect_coding_system): Adjust for the changes above. | 10615 | (detect_coding_sjis, detect_coding_big5, detect_coding_ccl): Check |
| 10616 | 10616 | incomplete byte sequence. Don't update *mask when correctly detected. | |
| 10617 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10617 | (decode_coding_sjis): Fix decoding of katakana-jisx0201. |
| 10618 | 10618 | (detect_eol): Delete the argument CODING, and add the argument CATEGORY. | |
| 10619 | * character.c (char_string): Rename from | 10619 | (detect_coding, detect_coding_system): Adjust for the changes above. |
| 10620 | char_string_with_unification. Pay attention to CHAR_MODIFIER_MASK. | 10620 | |
| 10621 | (string_char): Rename from string_char. | 10621 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10622 | 10622 | ||
| 10623 | * character.h (CHAR_STRING, CHAR_STRING_ADVANCE): Call char_string | 10623 | * character.c (char_string): Rename from |
| 10624 | if C is greater than MAX_3_BYTE_CHAR. | 10624 | char_string_with_unification. Pay attention to CHAR_MODIFIER_MASK. |
| 10625 | (STRING_CHAR, STRING_CHAR_AND_LENGTH, STRING_CHAR_ADVANCE): Call | 10625 | (string_char): Rename from string_char. |
| 10626 | string_char instead of string_char_with_unification. | 10626 | |
| 10627 | 10627 | * character.h (CHAR_STRING, CHAR_STRING_ADVANCE): Call char_string | |
| 10628 | 2008-02-01 Dave Love <fx@gnu.org> | 10628 | if C is greater than MAX_3_BYTE_CHAR. |
| 10629 | 10629 | (STRING_CHAR, STRING_CHAR_AND_LENGTH, STRING_CHAR_ADVANCE): Call | |
| 10630 | * coding.c (decode_coding_utf_8): Treat surrogates as invalid. | 10630 | string_char instead of string_char_with_unification. |
| 10631 | 10631 | ||
| 10632 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10632 | 2008-02-01 Dave Love <fx@gnu.org> |
| 10633 | 10633 | ||
| 10634 | * keymap.c (push_key_description): Pay attention to force_multibyte. | 10634 | * coding.c (decode_coding_utf_8): Treat surrogates as invalid. |
| 10635 | 10635 | ||
| 10636 | * regex.c (re_search_2): Fix for the case of unibyte buffer. | 10636 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10637 | 10637 | ||
| 10638 | 2008-02-01 Dave Love <fx@gnu.org> | 10638 | * keymap.c (push_key_description): Pay attention to force_multibyte. |
| 10639 | 10639 | ||
| 10640 | * charset.c (define_charset_internal): Rename `supprementary'. | 10640 | * regex.c (re_search_2): Fix for the case of unibyte buffer. |
| 10641 | 10641 | ||
| 10642 | * Makefile.in (lisp, shortlisp): Remove latin-N. | 10642 | 2008-02-01 Dave Love <fx@gnu.org> |
| 10643 | 10643 | ||
| 10644 | 2008-02-01 Dave Love <fx@gnu.org> | 10644 | * charset.c (define_charset_internal): Rename `supprementary'. |
| 10645 | 10645 | ||
| 10646 | * xfns.c (x_window, x_window): Use use_xim. | 10646 | * Makefile.in (lisp, shortlisp): Remove latin-N. |
| 10647 | 10647 | ||
| 10648 | * xterm.c (use_xim): Initialize. | 10648 | 2008-02-01 Dave Love <fx@gnu.org> |
| 10649 | (xim_open_dpy, xim_initialize, xim_close_dpy): Use use_xim. | 10649 | |
| 10650 | (x_term_init): Maybe set use_xim. | 10650 | * xfns.c (x_window, x_window): Use use_xim. |
| 10651 | 10651 | ||
| 10652 | * xterm.h (use_xim) [HAVE_X_I18N]: Declare. | 10652 | * xterm.c (use_xim): Initialize. |
| 10653 | 10653 | (xim_open_dpy, xim_initialize, xim_close_dpy): Use use_xim. | |
| 10654 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10654 | (x_term_init): Maybe set use_xim. |
| 10655 | 10655 | ||
| 10656 | * search.c (search_buffer): Fix case-fold-search of multibyte | 10656 | * xterm.h (use_xim) [HAVE_X_I18N]: Declare. |
| 10657 | characters. | 10657 | |
| 10658 | (boyer_moore): Rename the last argument to char_high_bits. | 10658 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10659 | 10659 | ||
| 10660 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10660 | * search.c (search_buffer): Fix case-fold-search of multibyte |
| 10661 | 10661 | characters. | |
| 10662 | * xdisp.c (display_string): Fix for the case of zero width glyph. | 10662 | (boyer_moore): Rename the last argument to char_high_bits. |
| 10663 | 10663 | ||
| 10664 | * xfns.c (x_set_font): Change the error message of the case that | 10664 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10665 | x_new_fontset returns Qt. | 10665 | |
| 10666 | 10666 | * xdisp.c (display_string): Fix for the case of zero width glyph. | |
| 10667 | * xfaces.c (set_lface_from_font_name): Reject the default fontset. | 10667 | |
| 10668 | (Finternal_set_lisp_face_attribute): Use signal_error for the | 10668 | * xfns.c (x_set_font): Change the error message of the case that |
| 10669 | error of invalid fontset. | 10669 | x_new_fontset returns Qt. |
| 10670 | 10670 | ||
| 10671 | * xterm.c (x_new_fontset): If FONTSETNAME specifies the default | 10671 | * xfaces.c (set_lface_from_font_name): Reject the default fontset. |
| 10672 | fontset, return Qt. | 10672 | (Finternal_set_lisp_face_attribute): Use signal_error for the |
| 10673 | 10673 | error of invalid fontset. | |
| 10674 | 2008-02-01 Dave Love <fx@gnu.org> | 10674 | |
| 10675 | 10675 | * xterm.c (x_new_fontset): If FONTSETNAME specifies the default | |
| 10676 | * unexelf.c (unexec): Make .got handling not SGI-specific. | 10676 | fontset, return Qt. |
| 10677 | 10677 | ||
| 10678 | * syntax.c (syms_of_syntax) <multibyte-syntax-as-symbol>: Doc fix. | 10678 | 2008-02-01 Dave Love <fx@gnu.org> |
| 10679 | 10679 | ||
| 10680 | * regex.c: Use `ifdef HAVE_ALLOCA_H', not `if HAVE_ALLOCA_H'. | 10680 | * unexelf.c (unexec): Make .got handling not SGI-specific. |
| 10681 | 10681 | ||
| 10682 | * keyboard.c (read_key_sequence): Fix type error. | 10682 | * syntax.c (syms_of_syntax) <multibyte-syntax-as-symbol>: Doc fix. |
| 10683 | 10683 | ||
| 10684 | * buffer.c (Fset_buffer_multibyte, Fset_buffer_multibyte): Fix | 10684 | * regex.c: Use `ifdef HAVE_ALLOCA_H', not `if HAVE_ALLOCA_H'. |
| 10685 | type error. | 10685 | |
| 10686 | 10686 | * keyboard.c (read_key_sequence): Fix type error. | |
| 10687 | * fontset.c (fontset_add): Return Lisp_Object. | 10687 | |
| 10688 | 10688 | * buffer.c (Fset_buffer_multibyte, Fset_buffer_multibyte): Fix | |
| 10689 | 2008-02-01 Dave Love <fx@gnu.org> | 10689 | type error. |
| 10690 | 10690 | ||
| 10691 | * charset.h (charset_ordered_list_tick): Declare extern. | 10691 | * fontset.c (fontset_add): Return Lisp_Object. |
| 10692 | 10692 | ||
| 10693 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10693 | 2008-02-01 Dave Love <fx@gnu.org> |
| 10694 | 10694 | ||
| 10695 | The following changes (and some of 2008-02-01 changes of mine) are | 10695 | * charset.h (charset_ordered_list_tick): Declare extern. |
| 10696 | for handling syntax, category, and case conversion for unibyte | 10696 | |
| 10697 | characters by converting them to multibyte on the fly. With these | 10697 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10698 | changes, we don't have to setup syntax and case tables for unibyte | 10698 | |
| 10699 | characters in each language environment. | 10699 | The following changes (and some of 2008-02-01 changes of mine) are |
| 10700 | 10700 | for handling syntax, category, and case conversion for unibyte | |
| 10701 | * abbrev.c (Fexpand_abbrev): Convert a unibyte character to | 10701 | characters by converting them to multibyte on the fly. With these |
| 10702 | multibyte if necessary. | 10702 | changes, we don't have to setup syntax and case tables for unibyte |
| 10703 | 10703 | characters in each language environment. | |
| 10704 | * bytecode.c (Fbyte_code): Likewise. | 10704 | |
| 10705 | 10705 | * abbrev.c (Fexpand_abbrev): Convert a unibyte character to | |
| 10706 | * character.h (LEADING_CODE_LATIN_1_MIN) | 10706 | multibyte if necessary. |
| 10707 | (LEADING_CODE_LATIN_1_MAX): New macros. | 10707 | |
| 10708 | (unibyte_to_multibyte_table): Extern it. | 10708 | * bytecode.c (Fbyte_code): Likewise. |
| 10709 | (unibyte_char_to_multibyte): New macro. | 10709 | |
| 10710 | (MAKE_CHAR_MULTIBYTE): Use unibyte_to_multibyte_table. | 10710 | * character.h (LEADING_CODE_LATIN_1_MIN) |
| 10711 | (CHAR_LEADING_CODE): New macro. | 10711 | (LEADING_CODE_LATIN_1_MAX): New macros. |
| 10712 | (FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE): New macro. | 10712 | (unibyte_to_multibyte_table): Extern it. |
| 10713 | 10713 | (unibyte_char_to_multibyte): New macro. | |
| 10714 | * character.c (unibyte_to_multibyte_table): New variable. | 10714 | (MAKE_CHAR_MULTIBYTE): Use unibyte_to_multibyte_table. |
| 10715 | (unibyte_char_to_multibyte): Move to character.h and define as macro. | 10715 | (CHAR_LEADING_CODE): New macro. |
| 10716 | (multibyte_char_to_unibyte): If C is an eight-bit character, | 10716 | (FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE): New macro. |
| 10717 | convert it to the corresponding byte value. | 10717 | |
| 10718 | 10718 | * character.c (unibyte_to_multibyte_table): New variable. | |
| 10719 | * charset.c (Fset_unibyte_charset): If the dimension of CHARSET is | 10719 | (unibyte_char_to_multibyte): Move to character.h and define as macro. |
| 10720 | not 1, signals an error. Update the elements of | 10720 | (multibyte_char_to_unibyte): If C is an eight-bit character, |
| 10721 | unibyte_to_multibyte_table. | 10721 | convert it to the corresponding byte value. |
| 10722 | (init_charset_once): Initialize unibyte_to_multibyte_table. | 10722 | |
| 10723 | (syms_of_charset): Define the charset `iso-8859-1'. | 10723 | * charset.c (Fset_unibyte_charset): If the dimension of CHARSET is |
| 10724 | 10724 | not 1, signals an error. Update the elements of | |
| 10725 | * cmds.c (internal_self_insert): In a multibyte buffer, insert C | 10725 | unibyte_to_multibyte_table. |
| 10726 | as is without converting it to unibyte. In a unibyte buffer, | 10726 | (init_charset_once): Initialize unibyte_to_multibyte_table. |
| 10727 | convert C to multibyte before checking the syntax. | 10727 | (syms_of_charset): Define the charset `iso-8859-1'. |
| 10728 | 10728 | ||
| 10729 | * lisp.h (unibyte_char_to_multibyte): Delete extern. | 10729 | * cmds.c (internal_self_insert): In a multibyte buffer, insert C |
| 10730 | 10730 | as is without converting it to unibyte. In a unibyte buffer, | |
| 10731 | * minibuf.c (Fminibuffer_complete_word): Use the macro | 10731 | convert C to multibyte before checking the syntax. |
| 10732 | FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE. | 10732 | |
| 10733 | 10733 | * lisp.h (unibyte_char_to_multibyte): Delete extern. | |
| 10734 | * regex.h (struct re_pattern_buffer): New member target_multibyte. | 10734 | |
| 10735 | 10735 | * minibuf.c (Fminibuffer_complete_word): Use the macro | |
| 10736 | * regex.c (RE_TARGET_MULTIBYTE_P): New macro. | 10736 | FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE. |
| 10737 | (GET_CHAR_BEFORE_2): Check target_multibyte, not multibyte. If | 10737 | |
| 10738 | that is zero, convert an eight-bit char to multibyte. | 10738 | * regex.h (struct re_pattern_buffer): New member target_multibyte. |
| 10739 | (MAKE_CHAR_MULTIBYTE, CHAR_LEADING_CODE): New dummy new macros for | 10739 | |
| 10740 | non-emacs case. | 10740 | * regex.c (RE_TARGET_MULTIBYTE_P): New macro. |
| 10741 | (PATFETCH): Convert an eight-bit char to multibyte. | 10741 | (GET_CHAR_BEFORE_2): Check target_multibyte, not multibyte. If |
| 10742 | (HANDLE_UNIBYTE_RANGE): New macro. | 10742 | that is zero, convert an eight-bit char to multibyte. |
| 10743 | (regex_compile): Setup the compiled pattern for multibyte chars | 10743 | (MAKE_CHAR_MULTIBYTE, CHAR_LEADING_CODE): New dummy new macros for |
| 10744 | even if the given regex string is unibyte. Use PATFETCH_RAW | 10744 | non-emacs case. |
| 10745 | instead of PATFETCH in many places. To handle `charset' | 10745 | (PATFETCH): Convert an eight-bit char to multibyte. |
| 10746 | specification of unibyte, call HANDLE_UNIBYTE_RANGE. Use bitmap | 10746 | (HANDLE_UNIBYTE_RANGE): New macro. |
| 10747 | only for ASCII chars. | 10747 | (regex_compile): Setup the compiled pattern for multibyte chars |
| 10748 | (analyse_first) <exactn>: Simplify because the compiled pattern | 10748 | even if the given regex string is unibyte. Use PATFETCH_RAW |
| 10749 | is multibyte. | 10749 | instead of PATFETCH in many places. To handle `charset' |
| 10750 | <charset_not>: Setup fastmap from bitmap only for ASCII chars. | 10750 | specification of unibyte, call HANDLE_UNIBYTE_RANGE. Use bitmap |
| 10751 | <charset>: Use CHAR_LEADING_CODE to get leading codes. | 10751 | only for ASCII chars. |
| 10752 | <categoryspec>: If multibyte, setup fastmap only for ASCII chars here. | 10752 | (analyse_first) <exactn>: Simplify because the compiled pattern |
| 10753 | (re_compile_fastmap) [emacs]: Call analyse_first with the arg | 10753 | is multibyte. |
| 10754 | multibyte always 1. | 10754 | <charset_not>: Setup fastmap from bitmap only for ASCII chars. |
| 10755 | (re_search_2): In emacs, set the locale variable multibyte to 1, | 10755 | <charset>: Use CHAR_LEADING_CODE to get leading codes. |
| 10756 | otherwise to 0. New local variable target_multibyte. Check it | 10756 | <categoryspec>: If multibyte, setup fastmap only for ASCII chars here. |
| 10757 | to decide the multibyteness of STR1 and STR2. If | 10757 | (re_compile_fastmap) [emacs]: Call analyse_first with the arg |
| 10758 | target_multibyte is zero, convert unibyte chars to multibyte | 10758 | multibyte always 1. |
| 10759 | before translating and checking fastmap. | 10759 | (re_search_2): In emacs, set the locale variable multibyte to 1, |
| 10760 | (TARGET_CHAR_AND_LENGTH): New macro. | 10760 | otherwise to 0. New local variable target_multibyte. Check it |
| 10761 | (re_match_2_internal): In emacs, set the locale variable multibyte | 10761 | to decide the multibyteness of STR1 and STR2. If |
| 10762 | to 1, otherwise to 0. New local variable target_multibyte. Check | 10762 | target_multibyte is zero, convert unibyte chars to multibyte |
| 10763 | it to decide the multibyteness of STR1 and STR2. Use | 10763 | before translating and checking fastmap. |
| 10764 | TARGET_CHAR_AND_LENGTH to fetch a character from D. | 10764 | (TARGET_CHAR_AND_LENGTH): New macro. |
| 10765 | <charset, charset_not>: If multibyte is nonzero, check fastmap | 10765 | (re_match_2_internal): In emacs, set the locale variable multibyte |
| 10766 | only for ASCII chars. Call bcmp_translate with | 10766 | to 1, otherwise to 0. New local variable target_multibyte. Check |
| 10767 | target_multibyte, not with multibyte. | 10767 | it to decide the multibyteness of STR1 and STR2. Use |
| 10768 | <begline>: Declare the local variable C as `unsigned'. | 10768 | TARGET_CHAR_AND_LENGTH to fetch a character from D. |
| 10769 | (bcmp_translate): Change the last arg name to target_multibyte. | 10769 | <charset, charset_not>: If multibyte is nonzero, check fastmap |
| 10770 | 10770 | only for ASCII chars. Call bcmp_translate with | |
| 10771 | * search.c (compile_pattern_1): Don't adjust the multibyteness of | 10771 | target_multibyte, not with multibyte. |
| 10772 | the regexp pattern and the matching target. Set cp->buf.multibyte | 10772 | <begline>: Declare the local variable C as `unsigned'. |
| 10773 | to the multibyteness of the regexp pattern. Set | 10773 | (bcmp_translate): Change the last arg name to target_multibyte. |
| 10774 | cp->but.target_multibyte to the multibyteness of the matching target. | 10774 | |
| 10775 | (wordify): Use FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE instead of | 10775 | * search.c (compile_pattern_1): Don't adjust the multibyteness of |
| 10776 | FETCH_STRING_CHAR_ADVANCE. | 10776 | the regexp pattern and the matching target. Set cp->buf.multibyte |
| 10777 | (Freplace_match): Convert unibyte chars to multibyte. | 10777 | to the multibyteness of the regexp pattern. Set |
| 10778 | 10778 | cp->but.target_multibyte to the multibyteness of the matching target. | |
| 10779 | * syntax.c (char_quoted, back_comment, scan_words) | 10779 | (wordify): Use FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE instead of |
| 10780 | (Fforward_comment, scan_lists, Fbackward_prefix_chars) | 10780 | FETCH_STRING_CHAR_ADVANCE. |
| 10781 | (scan_sexps_forward): Use FETCH_CHAR_AS_MULTIBYTE to convert | 10781 | (Freplace_match): Convert unibyte chars to multibyte. |
| 10782 | unibyte chars to multibyte. | 10782 | |
| 10783 | (skip_chars): Delete the arg syntaxp, and move the code for | 10783 | * syntax.c (char_quoted, back_comment, scan_words) |
| 10784 | handling syntaxes to skip_syntaxes. Change callers. | 10784 | (Fforward_comment, scan_lists, Fbackward_prefix_chars) |
| 10785 | Fix the case that the multibyteness of STRING and the current | 10785 | (scan_sexps_forward): Use FETCH_CHAR_AS_MULTIBYTE to convert |
| 10786 | buffer doesn't match. | 10786 | unibyte chars to multibyte. |
| 10787 | (skip_syntaxes): New function. | 10787 | (skip_chars): Delete the arg syntaxp, and move the code for |
| 10788 | (SYNTAX_WITH_MULTIBYTE_CHECK): Check C by ASCII_CHAR_P, not by | 10788 | handling syntaxes to skip_syntaxes. Change callers. |
| 10789 | SINGLE_BYTE_CHAR_P. | 10789 | Fix the case that the multibyteness of STRING and the current |
| 10790 | 10790 | buffer doesn't match. | |
| 10791 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10791 | (skip_syntaxes): New function. |
| 10792 | 10792 | (SYNTAX_WITH_MULTIBYTE_CHECK): Check C by ASCII_CHAR_P, not by | |
| 10793 | * xfaces.c (QCfontset): New variable. | 10793 | SINGLE_BYTE_CHAR_P. |
| 10794 | (LFACE_FONTSET): New macro. | 10794 | |
| 10795 | (check_lface_attrs): Check also LFACE_FONTSET_INDEX. | 10795 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10796 | (set_lface_from_font_name): Setup LFACE_FONTSET (lface). | 10796 | |
| 10797 | (Finternal_set_lisp_face_attribute) | 10797 | * xfaces.c (QCfontset): New variable. |
| 10798 | (Finternal_get_lisp_face_attribute): Handle QCfontset. | 10798 | (LFACE_FONTSET): New macro. |
| 10799 | (lface_same_font_attributes_p): Fix checking of LFACE_FONT_INDEX, | 10799 | (check_lface_attrs): Check also LFACE_FONTSET_INDEX. |
| 10800 | check also LFACE_FONTSET_INDEX. | 10800 | (set_lface_from_font_name): Setup LFACE_FONTSET (lface). |
| 10801 | (face_fontset): Check attrs[LFACE_FONTSET_INDEX], not | 10801 | (Finternal_set_lisp_face_attribute) |
| 10802 | attrs[LFACE_FONT_INDEX]. | 10802 | (Finternal_get_lisp_face_attribute): Handle QCfontset. |
| 10803 | (syms_of_xfaces): Intern and staticpro QCfontset. | 10803 | (lface_same_font_attributes_p): Fix checking of LFACE_FONT_INDEX, |
| 10804 | 10804 | check also LFACE_FONTSET_INDEX. | |
| 10805 | * dispextern.h (enum lface_attribute_index): New member | 10805 | (face_fontset): Check attrs[LFACE_FONTSET_INDEX], not |
| 10806 | LFACE_FONTSET_INDEX. | 10806 | attrs[LFACE_FONT_INDEX]. |
| 10807 | 10807 | (syms_of_xfaces): Intern and staticpro QCfontset. | |
| 10808 | * fns.c (base64_encode_1): Handle eight-bit chars correctly. | 10808 | |
| 10809 | 10809 | * dispextern.h (enum lface_attribute_index): New member | |
| 10810 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10810 | LFACE_FONTSET_INDEX. |
| 10811 | 10811 | ||
| 10812 | * coding.c (coding_set_destination): Fix coding->destination for | 10812 | * fns.c (base64_encode_1): Handle eight-bit chars correctly. |
| 10813 | the case converting a region. | 10813 | |
| 10814 | (encode_coding_utf_8): Encode eight-bit chars as single byte. | 10814 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10815 | (encode_coding_object): Fix coding->dst_pos and | 10815 | |
| 10816 | coding->dst_pos_byte for the case converting a region. | 10816 | * coding.c (coding_set_destination): Fix coding->destination for |
| 10817 | 10817 | the case converting a region. | |
| 10818 | * insdel.c (insert_from_gap): Make it work even if PT != GTP. | 10818 | (encode_coding_utf_8): Encode eight-bit chars as single byte. |
| 10819 | 10819 | (encode_coding_object): Fix coding->dst_pos and | |
| 10820 | * character.h (BYTE8_STRING): New macro. | 10820 | coding->dst_pos_byte for the case converting a region. |
| 10821 | 10821 | ||
| 10822 | * fns.c (base64_decode_1): Insert eight-bit chars correctly. | 10822 | * insdel.c (insert_from_gap): Make it work even if PT != GTP. |
| 10823 | 10823 | ||
| 10824 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10824 | * character.h (BYTE8_STRING): New macro. |
| 10825 | 10825 | ||
| 10826 | * xdisp.c (get_next_display_element): Don't display unibyte 8-bit | 10826 | * fns.c (base64_decode_1): Insert eight-bit chars correctly. |
| 10827 | characters by octal form. | 10827 | |
| 10828 | 10828 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 10829 | * abbrev.c (Fexpand_abbrev): Fix for the multibyte case. | 10829 | |
| 10830 | 10830 | * xdisp.c (get_next_display_element): Don't display unibyte 8-bit | |
| 10831 | * buffer.h (_fetch_multibyte_char_len): Delete extern. | 10831 | characters by octal form. |
| 10832 | (FETCH_MULTIBYTE_CHAR, BUF_FETCH_MULTIBYTE_CHAR): Don't use | 10832 | |
| 10833 | _fetch_multibyte_char_len. | 10833 | * abbrev.c (Fexpand_abbrev): Fix for the multibyte case. |
| 10834 | (FETCH_CHAR_AS_MULTIBYTE): New macro. | 10834 | |
| 10835 | 10835 | * buffer.h (_fetch_multibyte_char_len): Delete extern. | |
| 10836 | * casetab.c (set_canon, set_identity, shuffle): Simplify. | 10836 | (FETCH_MULTIBYTE_CHAR, BUF_FETCH_MULTIBYTE_CHAR): Don't use |
| 10837 | 10837 | _fetch_multibyte_char_len. | |
| 10838 | * casefiddle.c (casify_object): Simplify. Handle the case that | 10838 | (FETCH_CHAR_AS_MULTIBYTE): New macro. |
| 10839 | the case conversion change the byte length. | 10839 | |
| 10840 | (casify_region): Likewise. | 10840 | * casetab.c (set_canon, set_identity, shuffle): Simplify. |
| 10841 | 10841 | ||
| 10842 | * character.h (MAKE_CHAR_UNIBYTE, MAKE_CHAR_MULTIBYTE): New macros. | 10842 | * casefiddle.c (casify_object): Simplify. Handle the case that |
| 10843 | 10843 | the case conversion change the byte length. | |
| 10844 | * character.c (_fetch_multibyte_char_len): Delete this variable. | 10844 | (casify_region): Likewise. |
| 10845 | (syms_of_character): Setup Vprintable_chars. | 10845 | |
| 10846 | 10846 | * character.h (MAKE_CHAR_UNIBYTE, MAKE_CHAR_MULTIBYTE): New macros. | |
| 10847 | * editfns.c (Fchar_equal): Fix for the unibyte case. | 10847 | |
| 10848 | (Finsert_byte): New function. | 10848 | * character.c (_fetch_multibyte_char_len): Delete this variable. |
| 10849 | (syms_of_editfns): Defsubr it. | 10849 | (syms_of_character): Setup Vprintable_chars. |
| 10850 | 10850 | ||
| 10851 | * keyboard.c (read_key_sequence): Use ~CHAR_MODIFIER_MASK instead | 10851 | * editfns.c (Fchar_equal): Fix for the unibyte case. |
| 10852 | of direct code 0x3ffff. | 10852 | (Finsert_byte): New function. |
| 10853 | 10853 | (syms_of_editfns): Defsubr it. | |
| 10854 | * search.c (Freplace_match): Fix for the unibyte case. | 10854 | |
| 10855 | 10855 | * keyboard.c (read_key_sequence): Use ~CHAR_MODIFIER_MASK instead | |
| 10856 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10856 | of direct code 0x3ffff. |
| 10857 | 10857 | ||
| 10858 | * lread.c (safe_to_load_p): Fix the logic. | 10858 | * search.c (Freplace_match): Fix for the unibyte case. |
| 10859 | 10859 | ||
| 10860 | * syntax.c (scan_words): Don't treat characters belonging to | 10860 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10861 | different scripts as constituting a word. | 10861 | |
| 10862 | 10862 | * lread.c (safe_to_load_p): Fix the logic. | |
| 10863 | * editfns.c (Fformat): Use ASCII_CHAR_P, not SINGLE_BYTE_CHAR_P. | 10863 | |
| 10864 | 10864 | * syntax.c (scan_words): Don't treat characters belonging to | |
| 10865 | * fontset.c (Fset_fontset_font): Treat `ascii' as charset, not script. | 10865 | different scripts as constituting a word. |
| 10866 | 10866 | ||
| 10867 | * emacs.c (main): In the case of --unibyte, instead of aborting on | 10867 | * editfns.c (Fformat): Use ASCII_CHAR_P, not SINGLE_BYTE_CHAR_P. |
| 10868 | finding non-empty buffer, make it unibyte. | 10868 | |
| 10869 | 10869 | * fontset.c (Fset_fontset_font): Treat `ascii' as charset, not script. | |
| 10870 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10870 | |
| 10871 | 10871 | * emacs.c (main): In the case of --unibyte, instead of aborting on | |
| 10872 | * xterm.c (x_new_fontset): Call `create-fontset-from-ascii-font' | 10872 | finding non-empty buffer, make it unibyte. |
| 10873 | to create a fontset. | 10873 | |
| 10874 | 10874 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 10875 | 2008-02-01 Dave Love <fx@gnu.org> | 10875 | |
| 10876 | 10876 | * xterm.c (x_new_fontset): Call `create-fontset-from-ascii-font' | |
| 10877 | * character.c (Funibyte_char_to_multibyte): Doc fix. | 10877 | to create a fontset. |
| 10878 | 10878 | ||
| 10879 | * xfns.c [HAVE_STDLIB_H]: Fix last change. | 10879 | 2008-02-01 Dave Love <fx@gnu.org> |
| 10880 | 10880 | ||
| 10881 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10881 | * character.c (Funibyte_char_to_multibyte): Doc fix. |
| 10882 | 10882 | ||
| 10883 | * fontset.c (fontset_add): Make the type `int'. | 10883 | * xfns.c [HAVE_STDLIB_H]: Fix last change. |
| 10884 | (fontset_id_valid_p): Define it if FONTSET_DEBUG is defined. | 10884 | |
| 10885 | 10885 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 10886 | * character.c (unibyte_char_to_multibyte) | 10886 | |
| 10887 | (multibyte_char_to_unibyte, Funibyte_char_to_multibyte): Refer to | 10887 | * fontset.c (fontset_add): Make the type `int'. |
| 10888 | charset_unibyte, not charset_primary. | 10888 | (fontset_id_valid_p): Define it if FONTSET_DEBUG is defined. |
| 10889 | 10889 | ||
| 10890 | * charset.h (charset_unibyte): Extern it instead of charset_primary. | 10890 | * character.c (unibyte_char_to_multibyte) |
| 10891 | 10891 | (multibyte_char_to_unibyte, Funibyte_char_to_multibyte): Refer to | |
| 10892 | * charset.c (charset_unibyte): Rename from charset_primary. | 10892 | charset_unibyte, not charset_primary. |
| 10893 | (Funibyte_charset): Rename from Fprimary_charset. | 10893 | |
| 10894 | (Fset_unibyte_charset): Rename from Fset_primary_charset. | 10894 | * charset.h (charset_unibyte): Extern it instead of charset_primary. |
| 10895 | (syms_of_charset): Adjust for the above changes. | 10895 | |
| 10896 | 10896 | * charset.c (charset_unibyte): Rename from charset_primary. | |
| 10897 | * w32term.c (x_produce_glyphs): Use ASCII_CHAR_P, not | 10897 | (Funibyte_charset): Rename from Fprimary_charset. |
| 10898 | SINGLE_BYTE_CHAR_P. Fix the logic of handling non-ASCII char when | 10898 | (Fset_unibyte_charset): Rename from Fset_primary_charset. |
| 10899 | it->multibyte_p is zero. | 10899 | (syms_of_charset): Adjust for the above changes. |
| 10900 | 10900 | ||
| 10901 | * lisp.h (nonascii_insert_offset, Vnonascii_translation_table): | 10901 | * w32term.c (x_produce_glyphs): Use ASCII_CHAR_P, not |
| 10902 | Delete extern. | 10902 | SINGLE_BYTE_CHAR_P. Fix the logic of handling non-ASCII char when |
| 10903 | 10903 | it->multibyte_p is zero. | |
| 10904 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10904 | |
| 10905 | 10905 | * lisp.h (nonascii_insert_offset, Vnonascii_translation_table): | |
| 10906 | * coding.c (Fdefine_coding_system_internal): Fix category setting | 10906 | Delete extern. |
| 10907 | for a coding system of type iso-2022. | 10907 | |
| 10908 | 10908 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 10909 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10909 | |
| 10910 | 10910 | * coding.c (Fdefine_coding_system_internal): Fix category setting | |
| 10911 | * fontset.h (FS_LOAD_FONT): Call fs_load_font with the arg CHARSET -1. | 10911 | for a coding system of type iso-2022. |
| 10912 | 10912 | ||
| 10913 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10913 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10914 | 10914 | ||
| 10915 | * syntax.c (Vnext_word_boundary_function_table): New variable. | 10915 | * fontset.h (FS_LOAD_FONT): Call fs_load_font with the arg CHARSET -1. |
| 10916 | (next-word-boundary-function-table): Declare it as a Lisp variable | 10916 | |
| 10917 | in syms_of_syntax. | 10917 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10918 | (scan_words): Call functions in Vnext_word_boundary_function_table | 10918 | |
| 10919 | if any. | 10919 | * syntax.c (Vnext_word_boundary_function_table): New variable. |
| 10920 | 10920 | (next-word-boundary-function-table): Declare it as a Lisp variable | |
| 10921 | * xterm.c (x_load_font): Initialize fontp->fontset to -1. | 10921 | in syms_of_syntax. |
| 10922 | 10922 | (scan_words): Call functions in Vnext_word_boundary_function_table | |
| 10923 | * fontset.c (fs_load_font): If fontp->charset is not negative, | 10923 | if any. |
| 10924 | return fontp without setting its members. | 10924 | |
| 10925 | 10925 | * xterm.c (x_load_font): Initialize fontp->fontset to -1. | |
| 10926 | 2008-02-01 Dave Love <fx@gnu.org> | 10926 | |
| 10927 | 10927 | * fontset.c (fs_load_font): If fontp->charset is not negative, | |
| 10928 | * xfns.c [HAVE_STDLIB_H]: Change logic (instead of fixing typo). | 10928 | return fontp without setting its members. |
| 10929 | 10929 | ||
| 10930 | * m/sparc.h (HAVE_ALLOCA): Delete. | 10930 | 2008-02-01 Dave Love <fx@gnu.org> |
| 10931 | 10931 | ||
| 10932 | * s/irix6-5.h: Don't include strings.h. | 10932 | * xfns.c [HAVE_STDLIB_H]: Change logic (instead of fixing typo). |
| 10933 | (bcopy, bzero, bcmp): Don't undef. | 10933 | |
| 10934 | 10934 | * m/sparc.h (HAVE_ALLOCA): Delete. | |
| 10935 | * s/irix6-0.h (bcopy, bzero, bcmp): Don't undef. | 10935 | |
| 10936 | 10936 | * s/irix6-5.h: Don't include strings.h. | |
| 10937 | * s/usg5-4.h (NO_SIOCTL_H): Don't define. | 10937 | (bcopy, bzero, bcmp): Don't undef. |
| 10938 | (TIOCSIGSEND): Don't test IRIX6. | 10938 | |
| 10939 | (bcopy, bzero, bcmp): Define conditionally. | 10939 | * s/irix6-0.h (bcopy, bzero, bcmp): Don't undef. |
| 10940 | 10940 | ||
| 10941 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 10941 | * s/usg5-4.h (NO_SIOCTL_H): Don't define. |
| 10942 | 10942 | (TIOCSIGSEND): Don't test IRIX6. | |
| 10943 | * buffer.c (Qas, Qmake, Qto): New variables. | 10943 | (bcopy, bzero, bcmp): Define conditionally. |
| 10944 | (Fset_buffer_multibyte): New optional arg METHOD. Change caller. | 10944 | |
| 10945 | (syms_of_buffer): Intern and staticpro Qas, Qmake, and Qto. | 10945 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 10946 | 10946 | ||
| 10947 | * callproc.c (Fcall_process): Don't call insert_1_both directly if | 10947 | * buffer.c (Qas, Qmake, Qto): New variables. |
| 10948 | we are inserting a process output into a multibyte buffer. | 10948 | (Fset_buffer_multibyte): New optional arg METHOD. Change caller. |
| 10949 | 10949 | (syms_of_buffer): Intern and staticpro Qas, Qmake, and Qto. | |
| 10950 | * character.h (CHAR_TO_BYTE8): If C is not eight-bit char, call | 10950 | |
| 10951 | multibyte_char_to_unibyte. | 10951 | * callproc.c (Fcall_process): Don't call insert_1_both directly if |
| 10952 | 10952 | we are inserting a process output into a multibyte buffer. | |
| 10953 | * character.c (Funibyte_char_to_multibyte): If C can't be decoded | 10953 | |
| 10954 | by the primary charset, make it eight-bit char. | 10954 | * character.h (CHAR_TO_BYTE8): If C is not eight-bit char, call |
| 10955 | (Fmultibyte_char_to_unibyte): Call CHAR_TO_BYTE8. | 10955 | multibyte_char_to_unibyte. |
| 10956 | 10956 | ||
| 10957 | * charset.c (charset_eight_bit, Qeight_bit_control): New variables. | 10957 | * character.c (Funibyte_char_to_multibyte): If C can't be decoded |
| 10958 | (charset_8_bit__control, charset_8_bit_graphic) | 10958 | by the primary charset, make it eight-bit char. |
| 10959 | (Qeight_bit_control, Qeight_bit_graphic): Delete these variables. | 10959 | (Fmultibyte_char_to_unibyte): Call CHAR_TO_BYTE8. |
| 10960 | (define_charset_internal): New function. | 10960 | |
| 10961 | (syms_of_charset): Call define_charset_internal for pre-defined | 10961 | * charset.c (charset_eight_bit, Qeight_bit_control): New variables. |
| 10962 | charsets. | 10962 | (charset_8_bit__control, charset_8_bit_graphic) |
| 10963 | 10963 | (Qeight_bit_control, Qeight_bit_graphic): Delete these variables. | |
| 10964 | * charset.h (charset_8_bit): Extern it. | 10964 | (define_charset_internal): New function. |
| 10965 | 10965 | (syms_of_charset): Call define_charset_internal for pre-defined | |
| 10966 | * coding.c (make_conversion_work_buffer): Adjust for the change | 10966 | charsets. |
| 10967 | of Fset_buffer_multibyte. | 10967 | |
| 10968 | (encode_coding_raw_text): Increment p0 in the loop. | 10968 | * charset.h (charset_8_bit): Extern it. |
| 10969 | 10969 | ||
| 10970 | * lisp.h (Fset_buffer_multibyte): Adjust prototype. | 10970 | * coding.c (make_conversion_work_buffer): Adjust for the change |
| 10971 | 10971 | of Fset_buffer_multibyte. | |
| 10972 | * xdisp.c (setup_echo_area_for_printing, set_message_1): Adjust | 10972 | (encode_coding_raw_text): Increment p0 in the loop. |
| 10973 | for the change of Fset_buffer_multibyte. | 10973 | |
| 10974 | 10974 | * lisp.h (Fset_buffer_multibyte): Adjust prototype. | |
| 10975 | * fns.c (Fstring_to_multibyte): New function. | 10975 | |
| 10976 | (syms_of_fns): Declare Fstring_to_multibyte as Lisp subroutine. | 10976 | * xdisp.c (setup_echo_area_for_printing, set_message_1): Adjust |
| 10977 | 10977 | for the change of Fset_buffer_multibyte. | |
| 10978 | 2008-02-01 Dave Love <fx@gnu.org> | 10978 | |
| 10979 | 10979 | * fns.c (Fstring_to_multibyte): New function. | |
| 10980 | * xfns.c (x_put_x_image): Declare args. | 10980 | (syms_of_fns): Declare Fstring_to_multibyte as Lisp subroutine. |
| 10981 | 10981 | ||
| 10982 | * xfaces.c (font_name_registry, choose_face_font): Delete unused vars. | 10982 | 2008-02-01 Dave Love <fx@gnu.org> |
| 10983 | (try_font_list): Declare an arg. | 10983 | |
| 10984 | 10984 | * xfns.c (x_put_x_image): Declare args. | |
| 10985 | * xdisp.c (message2_nolog, set_message): Declare an arg. | 10985 | |
| 10986 | 10986 | * xfaces.c (font_name_registry, choose_face_font): Delete unused vars. | |
| 10987 | * terminfo.c (tparam): Declare an arg. Use P_ to declare tparm. | 10987 | (try_font_list): Declare an arg. |
| 10988 | 10988 | ||
| 10989 | * syntax.c (scan_sexps_forward): Declare an arg. | 10989 | * xdisp.c (message2_nolog, set_message): Declare an arg. |
| 10990 | 10990 | ||
| 10991 | * scroll.c (calculate_scrolling, calculate_direct_scrolling): | 10991 | * terminfo.c (tparam): Declare an arg. Use P_ to declare tparm. |
| 10992 | Declare an arg. | 10992 | |
| 10993 | 10993 | * syntax.c (scan_sexps_forward): Declare an arg. | |
| 10994 | * lisp.h (Fnew_fontset): Declare. | 10994 | |
| 10995 | 10995 | * scroll.c (calculate_scrolling, calculate_direct_scrolling): | |
| 10996 | * keymap.c (push_key_description): Call CHARACTERP correctly. | 10996 | Declare an arg. |
| 10997 | 10997 | ||
| 10998 | * fontset.c (fontset_add): Declare args. Call make_number correctly. | 10998 | * lisp.h (Fnew_fontset): Declare. |
| 10999 | (face_for_char): Delete unused vars. | 10999 | |
| 11000 | (Fset_fontset_font): Doc fix. Delete unused vars. | 11000 | * keymap.c (push_key_description): Call CHARACTERP correctly. |
| 11001 | 11001 | ||
| 11002 | * doc.c (Fsubstitute_command_keys): Delete unused vars. | 11002 | * fontset.c (fontset_add): Declare args. Call make_number correctly. |
| 11003 | 11003 | (face_for_char): Delete unused vars. | |
| 11004 | * composite.c (update_compositions): Declare arg. | 11004 | (Fset_fontset_font): Doc fix. Delete unused vars. |
| 11005 | 11005 | ||
| 11006 | * cm.c (calccost, cmgoto): Declare args. | 11006 | * doc.c (Fsubstitute_command_keys): Delete unused vars. |
| 11007 | 11007 | ||
| 11008 | * charset.c: Remove `emacs' conditional. Doc fixes. | 11008 | * composite.c (update_compositions): Declare arg. |
| 11009 | (map_char_table_for_charset): Declare. | 11009 | |
| 11010 | 11010 | * cm.c (calccost, cmgoto): Declare args. | |
| 11011 | * character.c (syms_of_character) <translation-table-vector>: Doc fix. | 11011 | |
| 11012 | 11012 | * charset.c: Remove `emacs' conditional. Doc fixes. | |
| 11013 | * ccl.c: Remove `emacs' conditional. | 11013 | (map_char_table_for_charset): Declare. |
| 11014 | 11014 | ||
| 11015 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 11015 | * character.c (syms_of_character) <translation-table-vector>: Doc fix. |
| 11016 | 11016 | ||
| 11017 | The following changes are to allow specifying multiple font | 11017 | * ccl.c: Remove `emacs' conditional. |
| 11018 | patterns for a character range (specified by script or charset). | 11018 | |
| 11019 | 11019 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 11020 | * Makefile.in (abbrev.o): Depend on syntax.h. | 11020 | |
| 11021 | (xfaces.o): Depend on charset.h. | 11021 | The following changes are to allow specifying multiple font |
| 11022 | 11022 | patterns for a character range (specified by script or charset). | |
| 11023 | * alloc.c (Fmake_string): Use ASCII_CHAR_P, not | 11023 | |
| 11024 | SINGLE_BYTE_CHAR_P. | 11024 | * Makefile.in (abbrev.o): Depend on syntax.h. |
| 11025 | 11025 | (xfaces.o): Depend on charset.h. | |
| 11026 | * ccl.c (Fccl_execute_on_string): Add `const' to local variables. | 11026 | |
| 11027 | 11027 | * alloc.c (Fmake_string): Use ASCII_CHAR_P, not | |
| 11028 | * character.h (Vchar_script_table): Extern it. | 11028 | SINGLE_BYTE_CHAR_P. |
| 11029 | 11029 | ||
| 11030 | * character.c (Vscript_alist): Delete. | 11030 | * ccl.c (Fccl_execute_on_string): Add `const' to local variables. |
| 11031 | (Vchar_script_table, Qchar_script_table): New variable. | 11031 | |
| 11032 | (syms_of_character): Declare Vchar_script_table as a lisp variable | 11032 | * character.h (Vchar_script_table): Extern it. |
| 11033 | and initialize it. | 11033 | |
| 11034 | 11034 | * character.c (Vscript_alist): Delete. | |
| 11035 | * chartab.c (Fmake_char_table): Doc fix. If PURPOSE doesn't | 11035 | (Vchar_script_table, Qchar_script_table): New variable. |
| 11036 | have property char-table-extra-slots, make no extra slot. | 11036 | (syms_of_character): Declare Vchar_script_table as a lisp variable |
| 11037 | 11037 | and initialize it. | |
| 11038 | * dispextern.h (struct face): Delete member `charset'. | 11038 | |
| 11039 | (FACE_SUITABLE_FOR_CHAR_P, FACE_FOR): Use ASCII_CHAR_P, not | 11039 | * chartab.c (Fmake_char_table): Doc fix. If PURPOSE doesn't |
| 11040 | SINGLE_BYTE_CHAR_P. | 11040 | have property char-table-extra-slots, make no extra slot. |
| 11041 | (choose_face_font, lookup_non_ascii_face, font_name_registry): | 11041 | |
| 11042 | Add prototypes. | 11042 | * dispextern.h (struct face): Delete member `charset'. |
| 11043 | (lookup_face, lookup_named_face, lookup_derived_face): Fix prototype. | 11043 | (FACE_SUITABLE_FOR_CHAR_P, FACE_FOR): Use ASCII_CHAR_P, not |
| 11044 | (generate_ascii_font_name): Rename from generate_ascii_font. | 11044 | SINGLE_BYTE_CHAR_P. |
| 11045 | 11045 | (choose_face_font, lookup_non_ascii_face, font_name_registry): | |
| 11046 | * fontset.h (get_font_repertory_func): New prototype. | 11046 | Add prototypes. |
| 11047 | (make_fontset_for_ascii_face, fs_load_font): Fix prototypes. | 11047 | (lookup_face, lookup_named_face, lookup_derived_face): Fix prototype. |
| 11048 | (FS_LOAD_FONT): Call fs_load_font with the 3rd arg charset_ascii. | 11048 | (generate_ascii_font_name): Rename from generate_ascii_font. |
| 11049 | 11049 | ||
| 11050 | * fontset.c (Qprepend, Qappend): New variables. | 11050 | * fontset.h (get_font_repertory_func): New prototype. |
| 11051 | (FONTSET_CHARSET_ALIST, FONTSET_FACE_ALIST): Delete. | 11051 | (make_fontset_for_ascii_face, fs_load_font): Fix prototypes. |
| 11052 | (FONTSET_NOFONT_FACE, FONTSET_REPERTORY): New macros. | 11052 | (FS_LOAD_FONT): Call fs_load_font with the 3rd arg charset_ascii. |
| 11053 | (FONTSET_REF): Optimize if FONTSET is Vdefault_fontset. | 11053 | |
| 11054 | (FONTSET_REF_AND_RANGE, FONTSET_ADD): New macros. | 11054 | * fontset.c (Qprepend, Qappend): New variables. |
| 11055 | (fontset_ref_and_range, fontset_add, reorder_font_vector) | 11055 | (FONTSET_CHARSET_ALIST, FONTSET_FACE_ALIST): Delete. |
| 11056 | (load_font_get_repertory): New functions. | 11056 | (FONTSET_NOFONT_FACE, FONTSET_REPERTORY): New macros. |
| 11057 | (fontset_set): Delete. | 11057 | (FONTSET_REF): Optimize if FONTSET is Vdefault_fontset. |
| 11058 | (fontset_face): New arg FACE. Return face ID, not face. | 11058 | (FONTSET_REF_AND_RANGE, FONTSET_ADD): New macros. |
| 11059 | Complete re-write to handle new fontset structure. Change caller. | 11059 | (fontset_ref_and_range, fontset_add, reorder_font_vector) |
| 11060 | (free_face_fontset): Use ASET istead of AREF (X) = Y. | 11060 | (load_font_get_repertory): New functions. |
| 11061 | (face_for_char): Don't call lookup_face. | 11061 | (fontset_set): Delete. |
| 11062 | (make_fontset_for_ascii_face): New arg FACE. | 11062 | (fontset_face): New arg FACE. Return face ID, not face. |
| 11063 | (fs_load_font): New arg CHARSET_ID. Don't check | 11063 | Complete re-write to handle new fontset structure. Change caller. |
| 11064 | Vfont_encoding_alist here. | 11064 | (free_face_fontset): Use ASET istead of AREF (X) = Y. |
| 11065 | (find_font_encoding): New function. | 11065 | (face_for_char): Don't call lookup_face. |
| 11066 | (list_fontsets): Use STRINGP, not ! NILP. | 11066 | (make_fontset_for_ascii_face): New arg FACE. |
| 11067 | (accumulate_script_ranges): New function. | 11067 | (fs_load_font): New arg CHARSET_ID. Don't check |
| 11068 | (Fset_fontset_font, Fnew_fontset, Ffontset_info): Completely | 11068 | Vfont_encoding_alist here. |
| 11069 | re-written to handle new fontset structure. | 11069 | (find_font_encoding): New function. |
| 11070 | (Ffontset_font): Return a copy of element. | 11070 | (list_fontsets): Use STRINGP, not ! NILP. |
| 11071 | (syms_of_fontset): Define symbols Qprepend and Qappend. Fix | 11071 | (accumulate_script_ranges): New function. |
| 11072 | docstring of font-encoding-alist. | 11072 | (Fset_fontset_font, Fnew_fontset, Ffontset_info): Completely |
| 11073 | 11073 | re-written to handle new fontset structure. | |
| 11074 | * lisp.h (CHAR_TABLE_REF): Remove unnecessary check (IDX >= 0). | 11074 | (Ffontset_font): Return a copy of element. |
| 11075 | (Fset_fotset_font): Fix arguments to 5. | 11075 | (syms_of_fontset): Define symbols Qprepend and Qappend. Fix |
| 11076 | 11076 | docstring of font-encoding-alist. | |
| 11077 | * msdos.c (XMenuActivate): Adjust for the change of lookup_derived_face. | 11077 | |
| 11078 | 11078 | * lisp.h (CHAR_TABLE_REF): Remove unnecessary check (IDX >= 0). | |
| 11079 | * xdisp.c (message_dolog, set_message_1, extend_face_to_end_of_line): | 11079 | (Fset_fotset_font): Fix arguments to 5. |
| 11080 | Use ASCII_CHAR_P, not SINGLE_BYTE_CHAR_P. | 11080 | |
| 11081 | (highlight_trailing_whitespace): Adjust for the change of | 11081 | * msdos.c (XMenuActivate): Adjust for the change of lookup_derived_face. |
| 11082 | lookup_named_face. | 11082 | |
| 11083 | 11083 | * xdisp.c (message_dolog, set_message_1, extend_face_to_end_of_line): | |
| 11084 | * xfaces.c: Include charset.h. | 11084 | Use ASCII_CHAR_P, not SINGLE_BYTE_CHAR_P. |
| 11085 | (load_face_font): Delete argument C. Change caller. | 11085 | (highlight_trailing_whitespace): Adjust for the change of |
| 11086 | (generate_ascii_font_name): Rename from generate_ascii_font. | 11086 | lookup_named_face. |
| 11087 | (font_name_registry): New function. | 11087 | |
| 11088 | (cache_face): Store ascii faces before non-ascii faces in buckets. | 11088 | * xfaces.c: Include charset.h. |
| 11089 | (lookup_face): Delete arguments C and BASE_FACE. Change caller. | 11089 | (load_face_font): Delete argument C. Change caller. |
| 11090 | Lookup only ascii faces. | 11090 | (generate_ascii_font_name): Rename from generate_ascii_font. |
| 11091 | (lookup_non_ascii_face): New function. | 11091 | (font_name_registry): New function. |
| 11092 | (lookup_named_face): Delete argument C. Change caller. | 11092 | (cache_face): Store ascii faces before non-ascii faces in buckets. |
| 11093 | (lookup_derived_face): Delete argument C. Change caller. | 11093 | (lookup_face): Delete arguments C and BASE_FACE. Change caller. |
| 11094 | (try_font_list): New arg PATTERN. Change caller. If PATTERN is | 11094 | Lookup only ascii faces. |
| 11095 | a string, just call font_list with it. | 11095 | (lookup_non_ascii_face): New function. |
| 11096 | (choose_face_font): Delete arguments FACE and C. New arg | 11096 | (lookup_named_face): Delete argument C. Change caller. |
| 11097 | FONT_SPEC. Change caller. | 11097 | (lookup_derived_face): Delete argument C. Change caller. |
| 11098 | (realize_face, realize_x_face): Delete arguments C and BASE_FACE. | 11098 | (try_font_list): New arg PATTERN. Change caller. If PATTERN is |
| 11099 | Change caller. | 11099 | a string, just call font_list with it. |
| 11100 | (realize_non_ascii_face): New function. | 11100 | (choose_face_font): Delete arguments FACE and C. New arg |
| 11101 | (realize_x_face): Call load_face_font here. | 11101 | FONT_SPEC. Change caller. |
| 11102 | (realize_tty_face): Delete argument C. Change caller. | 11102 | (realize_face, realize_x_face): Delete arguments C and BASE_FACE. |
| 11103 | (compute_char_face): If CH is not ascii, call FACE_FOR_CHAR to | 11103 | Change caller. |
| 11104 | get a face ID. | 11104 | (realize_non_ascii_face): New function. |
| 11105 | (dump_realized_face): Don't print charset of FACE. | 11105 | (realize_x_face): Call load_face_font here. |
| 11106 | 11106 | (realize_tty_face): Delete argument C. Change caller. | |
| 11107 | * xfns.c (x_set_font): Always call x_new_fontset and | 11107 | (compute_char_face): If CH is not ascii, call FACE_FOR_CHAR to |
| 11108 | store_frame_parameter. | 11108 | get a face ID. |
| 11109 | (Fx_create_frame): Call x_new_fontset, not x_new_font. | 11109 | (dump_realized_face): Don't print charset of FACE. |
| 11110 | (syms_of_xfns): Set get_font_repertory_func to x_get_font_repertory. | 11110 | |
| 11111 | 11111 | * xfns.c (x_set_font): Always call x_new_fontset and | |
| 11112 | * xterm.h (x_get_font_repertory): Extern it. | 11112 | store_frame_parameter. |
| 11113 | 11113 | (Fx_create_frame): Call x_new_fontset, not x_new_font. | |
| 11114 | * xterm.c (x_produce_glyphs): Use ASCII_CHAR_P, not | 11114 | (syms_of_xfns): Set get_font_repertory_func to x_get_font_repertory. |
| 11115 | SINGLE_BYTE_CHAR_P. Fix the logic of handling non-ASCII char when | 11115 | |
| 11116 | it->multibyte_p is zero. | 11116 | * xterm.h (x_get_font_repertory): Extern it. |
| 11117 | (XTread_socket): Use ASCII_CHAR_P, not SINGLE_BYTE_CHAR_P. | 11117 | |
| 11118 | (x_new_fontset): If FONTSETNAME doesn't match any existing | 11118 | * xterm.c (x_produce_glyphs): Use ASCII_CHAR_P, not |
| 11119 | fontsets, create a new one. | 11119 | SINGLE_BYTE_CHAR_P. Fix the logic of handling non-ASCII char when |
| 11120 | (x_get_font_repertory): New function. | 11120 | it->multibyte_p is zero. |
| 11121 | 11121 | (XTread_socket): Use ASCII_CHAR_P, not SINGLE_BYTE_CHAR_P. | |
| 11122 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 11122 | (x_new_fontset): If FONTSETNAME doesn't match any existing |
| 11123 | 11123 | fontsets, create a new one. | |
| 11124 | * coding.c (Ffind_coding_systems_region_internal): Detect an | 11124 | (x_get_font_repertory): New function. |
| 11125 | ASCII only string correctly. | 11125 | |
| 11126 | 11126 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 11127 | * lread.c (Fload): Don't load with Qload_force_doc_strings t if | 11127 | |
| 11128 | version is 0. | 11128 | * coding.c (Ffind_coding_systems_region_internal): Detect an |
| 11129 | 11129 | ASCII only string correctly. | |
| 11130 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 11130 | |
| 11131 | 11131 | * lread.c (Fload): Don't load with Qload_force_doc_strings t if | |
| 11132 | * lread.c: Include "coding.h". | 11132 | version is 0. |
| 11133 | (Qget_emacs_mule_file_char, Qload_force_doc_strings) | 11133 | |
| 11134 | (load_each_byte, unread_char): New variables. | 11134 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 11135 | (readchar_backlog): Delete. | 11135 | |
| 11136 | (readchar): Return a character unless load_each_byte is nonzero. | 11136 | * lread.c: Include "coding.h". |
| 11137 | Handle the case that readcharfun is Qget_emacs_mule_file_char or a | 11137 | (Qget_emacs_mule_file_char, Qload_force_doc_strings) |
| 11138 | cons. If unread_char is not -1, simply return it. | 11138 | (load_each_byte, unread_char): New variables. |
| 11139 | (unreadchar): Handle the case that readcharfun is | 11139 | (readchar_backlog): Delete. |
| 11140 | Qget_emacs_mule_file_char or a cons. Set unread_char if necessary. | 11140 | (readchar): Return a character unless load_each_byte is nonzero. |
| 11141 | (read_multibyte): Delete. | 11141 | Handle the case that readcharfun is Qget_emacs_mule_file_char or a |
| 11142 | (readbyte_for_lambda, readbyte_from_file, readbyte_from_string) | 11142 | cons. If unread_char is not -1, simply return it. |
| 11143 | (read_emacs_mule_char): New functions. | 11143 | (unreadchar): Handle the case that readcharfun is |
| 11144 | (Fload): Even if the file doesn't have the extension ".elc", if | 11144 | Qget_emacs_mule_file_char or a cons. Set unread_char if necessary. |
| 11145 | safe_to_load_p returns a positive version number, assume that the | 11145 | (read_multibyte): Delete. |
| 11146 | file contains bytecompiled code. If the version is less than 22, | 11146 | (readbyte_for_lambda, readbyte_from_file, readbyte_from_string) |
| 11147 | load the file while decoding multibyte sequences by emacs-mule. | 11147 | (read_emacs_mule_char): New functions. |
| 11148 | (readevalloop): Don't use readchar_backlog. | 11148 | (Fload): Even if the file doesn't have the extension ".elc", if |
| 11149 | (Fread): Likewise. Pay attention to the case that STREAM is a cons. | 11149 | safe_to_load_p returns a positive version number, assume that the |
| 11150 | (Fread_from_string): Pay attention to the case that STREAM is a cons. | 11150 | file contains bytecompiled code. If the version is less than 22, |
| 11151 | (read_escape): Delete the arg BYTEREP. | 11151 | load the file while decoding multibyte sequences by emacs-mule. |
| 11152 | (read1): Set load_each_byte to 1 temporarily while handling | 11152 | (readevalloop): Don't use readchar_backlog. |
| 11153 | #@NUMBER. Don't call read_multibyte. | 11153 | (Fread): Likewise. Pay attention to the case that STREAM is a cons. |
| 11154 | (read_vector): Call Fread with a cons. If readcharfun is | 11154 | (Fread_from_string): Pay attention to the case that STREAM is a cons. |
| 11155 | Qget_emacs_mule_file_char, decode the read string by emacs-mule. | 11155 | (read_escape): Delete the arg BYTEREP. |
| 11156 | (read_list): If doc_reference is 2, make the cdr part string as unibyte. | 11156 | (read1): Set load_each_byte to 1 temporarily while handling |
| 11157 | (syms_of_lread): Intern and staticpro Qget_emacs_mule_file_char | 11157 | #@NUMBER. Don't call read_multibyte. |
| 11158 | and Qload_force_doc_strings. | 11158 | (read_vector): Call Fread with a cons. If readcharfun is |
| 11159 | 11159 | Qget_emacs_mule_file_char, decode the read string by emacs-mule. | |
| 11160 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 11160 | (read_list): If doc_reference is 2, make the cdr part string as unibyte. |
| 11161 | 11161 | (syms_of_lread): Intern and staticpro Qget_emacs_mule_file_char | |
| 11162 | * xdisp.c (face_before_or_after_it_pos): Call | 11162 | and Qload_force_doc_strings. |
| 11163 | FETCH_MULTIBYTE_CHAR with byte postion, not char position. | 11163 | |
| 11164 | 11164 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 11165 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 11165 | |
| 11166 | 11166 | * xdisp.c (face_before_or_after_it_pos): Call | |
| 11167 | * character.h (TRAILING_CODE_P): New macro. | 11167 | FETCH_MULTIBYTE_CHAR with byte postion, not char position. |
| 11168 | (MAYBE_UNIFY_CHAR): Adjust for the change of Funify_charset. | 11168 | |
| 11169 | (string_char_with_unification): Fix prototype. | 11169 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 11170 | (Vscript_alist): Extern it. | 11170 | |
| 11171 | 11171 | * character.h (TRAILING_CODE_P): New macro. | |
| 11172 | * character.c (Vscript_alist): New variable. | 11172 | (MAYBE_UNIFY_CHAR): Adjust for the change of Funify_charset. |
| 11173 | (string_char_with_unification, str_as_unibyte) | 11173 | (string_char_with_unification): Fix prototype. |
| 11174 | (string_escape_byte8): Add `const' to local variables. | 11174 | (Vscript_alist): Extern it. |
| 11175 | (syms_of_character): Declare script-alist as a Lisp variable. | 11175 | |
| 11176 | 11176 | * character.c (Vscript_alist): New variable. | |
| 11177 | * charset.h (Vcharset_ordered_list): Extern it. | 11177 | (string_char_with_unification, str_as_unibyte) |
| 11178 | (charset_ordered_list_tick): Extern it. | 11178 | (string_escape_byte8): Add `const' to local variables. |
| 11179 | (EMACS_MULE_LEADING_CODE_PRIVATE_11) | 11179 | (syms_of_character): Declare script-alist as a Lisp variable. |
| 11180 | (EMACS_MULE_LEADING_CODE_PRIVATE_12) | 11180 | |
| 11181 | (EMACS_MULE_LEADING_CODE_PRIVATE_21) | 11181 | * charset.h (Vcharset_ordered_list): Extern it. |
| 11182 | (EMACS_MULE_LEADING_CODE_PRIVATE_22): New macros. | 11182 | (charset_ordered_list_tick): Extern it. |
| 11183 | (Funify_charset): Adjust for the change of Funify_charset. | 11183 | (EMACS_MULE_LEADING_CODE_PRIVATE_11) |
| 11184 | 11184 | (EMACS_MULE_LEADING_CODE_PRIVATE_12) | |
| 11185 | * charset.c (charset_ordered_list_tick): New variable. | 11185 | (EMACS_MULE_LEADING_CODE_PRIVATE_21) |
| 11186 | (Fdefine_charset_internal): Increment charset_ordered_list_tick. | 11186 | (EMACS_MULE_LEADING_CODE_PRIVATE_22): New macros. |
| 11187 | (Funify_charset): New optional arg DEUNIFY. If it is non-nil, | 11187 | (Funify_charset): Adjust for the change of Funify_charset. |
| 11188 | deunify intead of unify a charset. | 11188 | |
| 11189 | (string_xstring_p): Add `const' to local variables. | 11189 | * charset.c (charset_ordered_list_tick): New variable. |
| 11190 | (find_charsets_in_text): Add `const' to arguments and local variables. | 11190 | (Fdefine_charset_internal): Increment charset_ordered_list_tick. |
| 11191 | (encode_char): Adjust for the change of Funify_charset. Fix | 11191 | (Funify_charset): New optional arg DEUNIFY. If it is non-nil, |
| 11192 | detecting of invalid code. | 11192 | deunify intead of unify a charset. |
| 11193 | (Fset_charset_priority): Increment charset_ordered_list_tick. | 11193 | (string_xstring_p): Add `const' to local variables. |
| 11194 | (Fmap_charset_chars): Fix handling of default value for FROM_CODE | 11194 | (find_charsets_in_text): Add `const' to arguments and local variables. |
| 11195 | and TO_CODE. | 11195 | (encode_char): Adjust for the change of Funify_charset. Fix |
| 11196 | 11196 | detecting of invalid code. | |
| 11197 | * coding.c (LEADING_CODE_PRIVATE_11, LEADING_CODE_PRIVATE_12) | 11197 | (Fset_charset_priority): Increment charset_ordered_list_tick. |
| 11198 | (LEADING_CODE_PRIVATE_21, LEADING_CODE_PRIVATE_22): Delete macros. | 11198 | (Fmap_charset_chars): Fix handling of default value for FROM_CODE |
| 11199 | Changed callers to use EMACS_MULE_LEADING_CODE_PRIVATE_11, etc. | 11199 | and TO_CODE. |
| 11200 | (decode_coding_ccl, consume_chars) | 11200 | |
| 11201 | (Ffind_coding_systems_region_internal) | 11201 | * coding.c (LEADING_CODE_PRIVATE_11, LEADING_CODE_PRIVATE_12) |
| 11202 | (Fcheck_coding_systems_region): Add `const' to local variables. | 11202 | (LEADING_CODE_PRIVATE_21, LEADING_CODE_PRIVATE_22): Delete macros. |
| 11203 | 11203 | Changed callers to use EMACS_MULE_LEADING_CODE_PRIVATE_11, etc. | |
| 11204 | * print.c (print_object): Use octal form for printing the | 11204 | (decode_coding_ccl, consume_chars) |
| 11205 | contents of a bool vector. | 11205 | (Ffind_coding_systems_region_internal) |
| 11206 | 11206 | (Fcheck_coding_systems_region): Add `const' to local variables. | |
| 11207 | 2008-02-01 Dave Love <fx@gnu.org> | 11207 | |
| 11208 | 11208 | * print.c (print_object): Use octal form for printing the | |
| 11209 | * lread.c (Fload) <!load_dangerous_libraries>: Don't leak fd. | 11209 | contents of a bool vector. |
| 11210 | <version == 20>: Refuse to load. | 11210 | |
| 11211 | 11211 | 2008-02-01 Dave Love <fx@gnu.org> | |
| 11212 | 2008-02-01 Dave Love <fx@gnu.org> | 11212 | |
| 11213 | 11213 | * lread.c (Fload) <!load_dangerous_libraries>: Don't leak fd. | |
| 11214 | * fns.c: Move coding.h. | 11214 | <version == 20>: Refuse to load. |
| 11215 | (Qcodeset, Qdays, Qmonths): New. | 11215 | |
| 11216 | (concat): Use CHARACTERP instead of INTEGERP. | 11216 | 2008-02-01 Dave Love <fx@gnu.org> |
| 11217 | (Flocale_codeset): Delete. | 11217 | |
| 11218 | (Flanginfo): New function. | 11218 | * fns.c: Move coding.h. |
| 11219 | (syms_of_fns): Change accordingly. | 11219 | (Qcodeset, Qdays, Qmonths): New. |
| 11220 | 11220 | (concat): Use CHARACTERP instead of INTEGERP. | |
| 11221 | * coding.c (adjust_coding_eol_type): Fix eol_type/eol_seen mixup. | 11221 | (Flocale_codeset): Delete. |
| 11222 | 11222 | (Flanginfo): New function. | |
| 11223 | 2008-02-01 Dave Love <fx@gnu.org> | 11223 | (syms_of_fns): Change accordingly. |
| 11224 | 11224 | ||
| 11225 | * casetab.c (init_casetab_once, init_casetab_once): Fix | 11225 | * coding.c (adjust_coding_eol_type): Fix eol_type/eol_seen mixup. |
| 11226 | CHAR_TABLE_SET call. | 11226 | |
| 11227 | 11227 | 2008-02-01 Dave Love <fx@gnu.org> | |
| 11228 | * category.c (Fmodify_category_entry): Fix CATEGORY_MEMBER call. | 11228 | |
| 11229 | 11229 | * casetab.c (init_casetab_once, init_casetab_once): Fix | |
| 11230 | * character.c (syms_of_character): Fix CHAR_TABLE_SET call. | 11230 | CHAR_TABLE_SET call. |
| 11231 | 11231 | ||
| 11232 | * charset.c (Fmap_charset_chars): Check args. Convert Lisp types. | 11232 | * category.c (Fmodify_category_entry): Fix CATEGORY_MEMBER call. |
| 11233 | (load_charset_map, Fdeclare_equiv_charset, Fencode_char) | 11233 | |
| 11234 | (Fset_charset_priority, syms_of_charset): Convert Lisp types. | 11234 | * character.c (syms_of_character): Fix CHAR_TABLE_SET call. |
| 11235 | 11235 | ||
| 11236 | * charset.h (CHECK_CHARSET_GET_ID): Use XINT on AREF result. | 11236 | * charset.c (Fmap_charset_chars): Check args. Convert Lisp types. |
| 11237 | 11237 | (load_charset_map, Fdeclare_equiv_charset, Fencode_char) | |
| 11238 | * coding.c (ENCODE_DESIGNATION, decode_eol) | 11238 | (Fset_charset_priority, syms_of_charset): Convert Lisp types. |
| 11239 | (make_conversion_work_buffer, code_conversion_restore) | 11239 | |
| 11240 | (Fdefine_coding_system_internal): Convert Lisp types. | 11240 | * charset.h (CHECK_CHARSET_GET_ID): Use XINT on AREF result. |
| 11241 | (code_conversion_restore): Use EQ, not ==. | 11241 | |
| 11242 | (Fencode_coding_string): Fix code_convert_string call. | 11242 | * coding.c (ENCODE_DESIGNATION, decode_eol) |
| 11243 | 11243 | (make_conversion_work_buffer, code_conversion_restore) | |
| 11244 | * coding.h (code_convert_region): Fix prototype. | 11244 | (Fdefine_coding_system_internal): Convert Lisp types. |
| 11245 | 11245 | (code_conversion_restore): Use EQ, not ==. | |
| 11246 | * dispextern.h (redraw_frame, redraw_garbaged_frames): Remove. | 11246 | (Fencode_coding_string): Fix code_convert_string call. |
| 11247 | 11247 | ||
| 11248 | * fontset.c (fontset_ref, fontset_set, fs_load_font) | 11248 | * coding.h (code_convert_region): Fix prototype. |
| 11249 | (Ffontset_info): Convert Lisp types. | 11249 | |
| 11250 | 11250 | * dispextern.h (redraw_frame, redraw_garbaged_frames): Remove. | |
| 11251 | * syntax.h (SYNTAX_ENTRY_INT): Don't use make_number. | 11251 | |
| 11252 | 11252 | * fontset.c (fontset_ref, fontset_set, fs_load_font) | |
| 11253 | * xterm.c (note_mouse_movement): Fix call of window_from_coordinates. | 11253 | (Ffontset_info): Convert Lisp types. |
| 11254 | 11254 | ||
| 11255 | * xdisp.c (display_mode_element): Fix call of Fset_text_properties. | 11255 | * syntax.h (SYNTAX_ENTRY_INT): Don't use make_number. |
| 11256 | 11256 | ||
| 11257 | * chartab.c: Include "...h", not <...h> in some cases. | 11257 | * xterm.c (note_mouse_movement): Fix call of window_from_coordinates. |
| 11258 | 11258 | ||
| 11259 | * callproc.c (Fcall_process): Remove unused variables. | 11259 | * xdisp.c (display_mode_element): Fix call of Fset_text_properties. |
| 11260 | 11260 | ||
| 11261 | 2008-02-01 Dave Love <fx@gnu.org> | 11261 | * chartab.c: Include "...h", not <...h> in some cases. |
| 11262 | 11262 | ||
| 11263 | * coding.c (Fset_coding_system_priority): Allow null arg list. | 11263 | * callproc.c (Fcall_process): Remove unused variables. |
| 11264 | 11264 | ||
| 11265 | 2008-02-01 Dave Love <fx@gnu.org> | 11265 | 2008-02-01 Dave Love <fx@gnu.org> |
| 11266 | 11266 | ||
| 11267 | * minibuf.c (Fminibuffer_complete_word): Remove unused var. | 11267 | * coding.c (Fset_coding_system_priority): Allow null arg list. |
| 11268 | (Fself_insert_and_exit): Use CHARACTERP. | 11268 | |
| 11269 | 11269 | 2008-02-01 Dave Love <fx@gnu.org> | |
| 11270 | * callproc.c (Fcall_process): Remove unused vars. | 11270 | |
| 11271 | 11271 | * minibuf.c (Fminibuffer_complete_word): Remove unused var. | |
| 11272 | * xterm.c (XTread_socket): Add extra dead keysyms. | 11272 | (Fself_insert_and_exit): Use CHARACTERP. |
| 11273 | 11273 | ||
| 11274 | * xdisp.c (decode_mode_spec_coding): Use CHARACTERP. | 11274 | * callproc.c (Fcall_process): Remove unused vars. |
| 11275 | 11275 | ||
| 11276 | * dispextern.h: Remove prototypes for redraw_frame, | 11276 | * xterm.c (XTread_socket): Add extra dead keysyms. |
| 11277 | redraw_garbaged_frames. | 11277 | |
| 11278 | 11278 | * xdisp.c (decode_mode_spec_coding): Use CHARACTERP. | |
| 11279 | * cmds.c (Fself_insert_command): Use CHARACTERP. | 11279 | |
| 11280 | 11280 | * dispextern.h: Remove prototypes for redraw_frame, | |
| 11281 | * chartab.c (make_sub_char_table): Remove unused var. | 11281 | redraw_garbaged_frames. |
| 11282 | (Fset_char_table_default, Fmap_char_table): Doc fix. | 11282 | |
| 11283 | 11283 | * cmds.c (Fself_insert_command): Use CHARACTERP. | |
| 11284 | * keymap.c (access_keymap): Remove generic char code. | 11284 | |
| 11285 | (push_key_description): Use CHARACTERP. | 11285 | * chartab.c (make_sub_char_table): Remove unused var. |
| 11286 | 11286 | (Fset_char_table_default, Fmap_char_table): Doc fix. | |
| 11287 | 2008-02-01 Dave Love <fx@gnu.org> | 11287 | |
| 11288 | 11288 | * keymap.c (access_keymap): Remove generic char code. | |
| 11289 | * charset.c: Doc fixes. | 11289 | (push_key_description): Use CHARACTERP. |
| 11290 | (Funify_charset): Extra checking. | 11290 | |
| 11291 | 11291 | 2008-02-01 Dave Love <fx@gnu.org> | |
| 11292 | 2008-02-01 Dave Love <fx@gnu.org> | 11292 | |
| 11293 | 11293 | * charset.c: Doc fixes. | |
| 11294 | * lread.c: Remove some unused variables. | 11294 | (Funify_charset): Extra checking. |
| 11295 | (safe_to_load_p): If safe, return the magic number version byte. | 11295 | |
| 11296 | (Fload): Maybe use load-with-code-conversion. | 11296 | 2008-02-01 Dave Love <fx@gnu.org> |
| 11297 | 11297 | ||
| 11298 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 11298 | * lread.c: Remove some unused variables. |
| 11299 | 11299 | (safe_to_load_p): If safe, return the magic number version byte. | |
| 11300 | * category.c (Fmodify_category_entry): Don't modify the contents | 11300 | (Fload): Maybe use load-with-code-conversion. |
| 11301 | of category_set for characters out of the range. Avoid | 11301 | |
| 11302 | unnecessary modification. | 11302 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 11303 | 11303 | ||
| 11304 | * character.h (MAYBE_UNIFY_CHAR): Adjust for the change of | 11304 | * category.c (Fmodify_category_entry): Don't modify the contents |
| 11305 | Vchar_unify_table. The default value of the table is now nil. | 11305 | of category_set for characters out of the range. Avoid |
| 11306 | 11306 | unnecessary modification. | |
| 11307 | * character.c (syms_of_character): Setup Vchar_width_table for | 11307 | |
| 11308 | eight-bit-control and raw-byte chars. | 11308 | * character.h (MAYBE_UNIFY_CHAR): Adjust for the change of |
| 11309 | 11309 | Vchar_unify_table. The default value of the table is now nil. | |
| 11310 | * charset.h (enum define_charset_arg_index): Delete | 11310 | |
| 11311 | charset_arg_parents and add charset_arg_subset and | 11311 | * character.c (syms_of_character): Setup Vchar_width_table for |
| 11312 | charset_arg_superset. | 11312 | eight-bit-control and raw-byte chars. |
| 11313 | (enum charset_attr_index): Delete charset_parents and add | 11313 | |
| 11314 | charset_subset and charset_superset. | 11314 | * charset.h (enum define_charset_arg_index): Delete |
| 11315 | (enum charset_method): Delete CHARSET_METHOD_INHERIT and add | 11315 | charset_arg_parents and add charset_arg_subset and |
| 11316 | CHARSET_METHOD_SUBSET and CHARSET_METHOD_SUPERSET. | 11316 | charset_arg_superset. |
| 11317 | (CHARSET_ATTR_PARENTS, CHARSET_PARENTS): Delete. | 11317 | (enum charset_attr_index): Delete charset_parents and add |
| 11318 | (CHARSET_ATTR_SUBSET, CHARSET_ATTR_SUPERSET, CHARSET_SUBSET) | 11318 | charset_subset and charset_superset. |
| 11319 | (CHARSET_SUPERSET): New macros. | 11319 | (enum charset_method): Delete CHARSET_METHOD_INHERIT and add |
| 11320 | (charset_work): Extern it. | 11320 | CHARSET_METHOD_SUBSET and CHARSET_METHOD_SUPERSET. |
| 11321 | (ENCODE_CHAR): Use charset_work. | 11321 | (CHARSET_ATTR_PARENTS, CHARSET_PARENTS): Delete. |
| 11322 | (CHAR_CHARSET_P): Adjust for the change of encoder format. | 11322 | (CHARSET_ATTR_SUBSET, CHARSET_ATTR_SUPERSET, CHARSET_SUBSET) |
| 11323 | (map_charset_chars): Extern it. | 11323 | (CHARSET_SUPERSET): New macros. |
| 11324 | 11324 | (charset_work): Extern it. | |
| 11325 | * charset.c (load_charset_map): Set the default value of encoder | 11325 | (ENCODE_CHAR): Use charset_work. |
| 11326 | and deunifier char-tables to nil. | 11326 | (CHAR_CHARSET_P): Adjust for the change of encoder format. |
| 11327 | (map_charset_chars): Change argument. Change callers. Use | 11327 | (map_charset_chars): Extern it. |
| 11328 | map_char_table_for_charset instead of map_char_table. | 11328 | |
| 11329 | (Fmap_charset_chars): New optional args from_code and to_code. | 11329 | * charset.c (load_charset_map): Set the default value of encoder |
| 11330 | (Fdefine_charset_internal): Adjust for the change of | 11330 | and deunifier char-tables to nil. |
| 11331 | `define-charset' (:parents -> :subset or :superset). | 11331 | (map_charset_chars): Change argument. Change callers. Use |
| 11332 | (charset_work): New variable. | 11332 | map_char_table_for_charset instead of map_char_table. |
| 11333 | (encode_char, syms_of_charset): Adjust for the change of | 11333 | (Fmap_charset_chars): New optional args from_code and to_code. |
| 11334 | Fdefine_charset_internal. | 11334 | (Fdefine_charset_internal): Adjust for the change of |
| 11335 | (Ffind_charset_string): Setup the vector `charsets' correctly. | 11335 | `define-charset' (:parents -> :subset or :superset). |
| 11336 | 11336 | (charset_work): New variable. | |
| 11337 | * chartab.c (sub_char_table_ref_and_range): New arg default. Fix | 11337 | (encode_char, syms_of_charset): Adjust for the change of |
| 11338 | the previous change. | 11338 | Fdefine_charset_internal. |
| 11339 | (char_table_ref_and_range): Adjust for the above change. | 11339 | (Ffind_charset_string): Setup the vector `charsets' correctly. |
| 11340 | (map_sub_char_table_for_charset): New function. | 11340 | |
| 11341 | (map_char_table_for_charset): New function. | 11341 | * chartab.c (sub_char_table_ref_and_range): New arg default. Fix |
| 11342 | 11342 | the previous change. | |
| 11343 | * keymap.c (describe_vector): Handle a char-table directly here. | 11343 | (char_table_ref_and_range): Adjust for the above change. |
| 11344 | (describe_char_table): Delete. | 11344 | (map_sub_char_table_for_charset): New function. |
| 11345 | 11345 | (map_char_table_for_charset): New function. | |
| 11346 | * lisp.h (map_charset_chars): Delete. | 11346 | |
| 11347 | 11347 | * keymap.c (describe_vector): Handle a char-table directly here. | |
| 11348 | 2008-02-01 Dave Love <fx@gnu.org> | 11348 | (describe_char_table): Delete. |
| 11349 | 11349 | ||
| 11350 | * fns.c (count_combining): Comment out (unused). | 11350 | * lisp.h (map_charset_chars): Delete. |
| 11351 | (Flocale_codeset): New. | 11351 | |
| 11352 | (syms_of_fns): Defsubr it. | 11352 | 2008-02-01 Dave Love <fx@gnu.org> |
| 11353 | 11353 | ||
| 11354 | * config.in (HAVE_PTY_H, HAVE_SIZE_T, HAVE_LANGINFO_CODESET): New. | 11354 | * fns.c (count_combining): Comment out (unused). |
| 11355 | (size_t): Remove. | 11355 | (Flocale_codeset): New. |
| 11356 | 11356 | (syms_of_fns): Defsubr it. | |
| 11357 | 2008-02-01 Dave Love <fx@gnu.org> | 11357 | |
| 11358 | 11358 | * config.in (HAVE_PTY_H, HAVE_SIZE_T, HAVE_LANGINFO_CODESET): New. | |
| 11359 | * Makefile.in (chartab.o): Depend on charset.h. | 11359 | (size_t): Remove. |
| 11360 | 11360 | ||
| 11361 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 11361 | 2008-02-01 Dave Love <fx@gnu.org> |
| 11362 | 11362 | ||
| 11363 | * character.c (syms_of_character): Set the default value of | 11363 | * Makefile.in (chartab.o): Depend on charset.h. |
| 11364 | Vprintable_chars to Qnil. | 11364 | |
| 11365 | 11365 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 11366 | 2008-02-01 Dave Love <fx@gnu.org> | 11366 | |
| 11367 | 11367 | * character.c (syms_of_character): Set the default value of | |
| 11368 | * Makefile.in (lisp, shortlisp): Change indian.elc to indian.el. | 11368 | Vprintable_chars to Qnil. |
| 11369 | 11369 | ||
| 11370 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 11370 | 2008-02-01 Dave Love <fx@gnu.org> |
| 11371 | 11371 | ||
| 11372 | * charset.c (load_charset_map): Handle the case that from < to | 11372 | * Makefile.in (lisp, shortlisp): Change indian.elc to indian.el. |
| 11373 | correctly. | 11373 | |
| 11374 | 11374 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 11375 | * coding.c (encode_coding_emacs_mule, encode_coding_iso_2022) | 11375 | |
| 11376 | (encode_coding_sjis, encode_coding_big5, encode_coding_charset): | 11376 | * charset.c (load_charset_map): Handle the case that from < to |
| 11377 | Pay attention to raw-8-bit chars. | 11377 | correctly. |
| 11378 | 11378 | ||
| 11379 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 11379 | * coding.c (encode_coding_emacs_mule, encode_coding_iso_2022) |
| 11380 | 11380 | (encode_coding_sjis, encode_coding_big5, encode_coding_charset): | |
| 11381 | * Makefile.in (lisp, shortlisp): Change chinese.elc to chinese.el. | 11381 | Pay attention to raw-8-bit chars. |
| 11382 | It is not bytecompiled now. | 11382 | |
| 11383 | 11383 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 11384 | * charset.c (charset_jisx0201_roman, charset_jisx0208_1978) | 11384 | |
| 11385 | (charset_jisx0208): New variables. | 11385 | * Makefile.in (lisp, shortlisp): Change chinese.elc to chinese.el. |
| 11386 | (Fdefine_charset_internal): Setup them if appropriate. | 11386 | It is not bytecompiled now. |
| 11387 | (init_charset_once): Initialize them to -1. | 11387 | |
| 11388 | 11388 | * charset.c (charset_jisx0201_roman, charset_jisx0208_1978) | |
| 11389 | * charset.h (charset_jisx0201_roman, charset_jisx0208_1978) | 11389 | (charset_jisx0208): New variables. |
| 11390 | (charset_jisx0208): Extern them. | 11390 | (Fdefine_charset_internal): Setup them if appropriate. |
| 11391 | 11391 | (init_charset_once): Initialize them to -1. | |
| 11392 | * coding.c (CODING_ISO_FLAG_USE_ROMAN): New macro. | 11392 | |
| 11393 | (CODING_ISO_FLAG_USE_OLDJIS): New macro. | 11393 | * charset.h (charset_jisx0201_roman, charset_jisx0208_1978) |
| 11394 | (CODING_ISO_FLAG_FULL_SUPPORT): Change macro definition. | 11394 | (charset_jisx0208): Extern them. |
| 11395 | (setup_iso_safe_charsets): Fix arguments to Fassq. | 11395 | |
| 11396 | (DECODE_DESIGNATION, ENCODE_ISO_CHARACTER_DIMENSION1) | 11396 | * coding.c (CODING_ISO_FLAG_USE_ROMAN): New macro. |
| 11397 | (ENCODE_ISO_CHARACTER_DIMENSION2): Pay attention to | 11397 | (CODING_ISO_FLAG_USE_OLDJIS): New macro. |
| 11398 | CODING_ISO_FLAG_USE_ROMAN and CODING_ISO_FLAG_USE_OLDJIS. | 11398 | (CODING_ISO_FLAG_FULL_SUPPORT): Change macro definition. |
| 11399 | (encode_coding_iso_2022): Change the 1st arg to | 11399 | (setup_iso_safe_charsets): Fix arguments to Fassq. |
| 11400 | ENCODE_ISO_CHARACTER to a variable. | 11400 | (DECODE_DESIGNATION, ENCODE_ISO_CHARACTER_DIMENSION1) |
| 11401 | 11401 | (ENCODE_ISO_CHARACTER_DIMENSION2): Pay attention to | |
| 11402 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 11402 | CODING_ISO_FLAG_USE_ROMAN and CODING_ISO_FLAG_USE_OLDJIS. |
| 11403 | 11403 | (encode_coding_iso_2022): Change the 1st arg to | |
| 11404 | * charset.h (enum define_charset_arg_index): New enums | 11404 | ENCODE_ISO_CHARACTER to a variable. |
| 11405 | charset_arg_min_code and charset_arg_max_code. | 11405 | |
| 11406 | (struct charset): New member char_index_offset. | 11406 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 11407 | 11407 | ||
| 11408 | * charset.c (CODE_POINT_TO_INDEX, INDEX_TO_CODE_POINT): | 11408 | * charset.h (enum define_charset_arg_index): New enums |
| 11409 | Take charset->char_index_offset into account. | 11409 | charset_arg_min_code and charset_arg_max_code. |
| 11410 | (Fdefine_charset_internal): Handle args[charset_arg_min_code] and | 11410 | (struct charset): New member char_index_offset. |
| 11411 | args[charset_arg_max_code]. Setup charset.char_index_offset. | 11411 | |
| 11412 | (syms_of_charset): Fix args to Fdefine_charset_internal. | 11412 | * charset.c (CODE_POINT_TO_INDEX, INDEX_TO_CODE_POINT): |
| 11413 | 11413 | Take charset->char_index_offset into account. | |
| 11414 | 2008-02-01 Dave Love <fx@gnu.org> | 11414 | (Fdefine_charset_internal): Handle args[charset_arg_min_code] and |
| 11415 | 11415 | args[charset_arg_max_code]. Setup charset.char_index_offset. | |
| 11416 | * coding.c (decode_coding_utf_8): Reject overlong sequences. | 11416 | (syms_of_charset): Fix args to Fdefine_charset_internal. |
| 11417 | 11417 | ||
| 11418 | 2008-02-01 Dave Love <fx@gnu.org> | 11418 | 2008-02-01 Dave Love <fx@gnu.org> |
| 11419 | 11419 | ||
| 11420 | * coding.c: Doc fixes. | 11420 | * coding.c (decode_coding_utf_8): Reject overlong sequences. |
| 11421 | (Fcoding_system_aliases): Fix return value. | 11421 | |
| 11422 | (Qmac): Remove (duplicated) definition. | 11422 | 2008-02-01 Dave Love <fx@gnu.org> |
| 11423 | 11423 | ||
| 11424 | 2008-02-01 Dave Love <fx@gnu.org> | 11424 | * coding.c: Doc fixes. |
| 11425 | 11425 | (Fcoding_system_aliases): Fix return value. | |
| 11426 | * charset.c (Fcharset_priority_list, Fset_charset_priority): New | 11426 | (Qmac): Remove (duplicated) definition. |
| 11427 | functions. | 11427 | |
| 11428 | 11428 | 2008-02-01 Dave Love <fx@gnu.org> | |
| 11429 | * character.c (Fstring): Doc fix. | 11429 | |
| 11430 | 11430 | * charset.c (Fcharset_priority_list, Fset_charset_priority): New | |
| 11431 | * charset.c (Fdefine_charset_alias): Update Vcharset_list. | 11431 | functions. |
| 11432 | 11432 | ||
| 11433 | * fontset.c (Ffontset_info): Doc fix. Return charset names, not | 11433 | * character.c (Fstring): Doc fix. |
| 11434 | ids. | 11434 | |
| 11435 | (font-encoding-alist): Doc fix. | 11435 | * charset.c (Fdefine_charset_alias): Update Vcharset_list. |
| 11436 | 11436 | ||
| 11437 | 2008-02-01 Dave Love <fx@gnu.org> | 11437 | * fontset.c (Ffontset_info): Doc fix. Return charset names, not |
| 11438 | 11438 | ids. | |
| 11439 | * term.c (costs_set): Declare static, non-initialized for pcc. | 11439 | (font-encoding-alist): Doc fix. |
| 11440 | (encode_terminal_code): Remove unused var. | 11440 | |
| 11441 | 11441 | 2008-02-01 Dave Love <fx@gnu.org> | |
| 11442 | * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal decl | 11442 | |
| 11443 | for K&R. | 11443 | * term.c (costs_set): Declare static, non-initialized for pcc. |
| 11444 | 11444 | (encode_terminal_code): Remove unused var. | |
| 11445 | * xterm.c (xlwmenu_window_p): Fix prototype for K&R. | 11445 | |
| 11446 | 11446 | * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal decl | |
| 11447 | * coding.c (setup_iso_safe_charsets): Fix arg decl for K&R. | 11447 | for K&R. |
| 11448 | (suffixes): Move out of make_subsidiaries for K&R. | 11448 | |
| 11449 | 11449 | * xterm.c (xlwmenu_window_p): Fix prototype for K&R. | |
| 11450 | * charset.c (map_charset_chars): Fix c_function declaration for K&R. | 11450 | |
| 11451 | 11451 | * coding.c (setup_iso_safe_charsets): Fix arg decl for K&R. | |
| 11452 | * lisp.h (DEFUN) [!PROTOTYPES]: Remove spurious `args'. | 11452 | (suffixes): Move out of make_subsidiaries for K&R. |
| 11453 | 11453 | ||
| 11454 | 2008-02-01 Dave Love <fx@gnu.org> | 11454 | * charset.c (map_charset_chars): Fix c_function declaration for K&R. |
| 11455 | 11455 | ||
| 11456 | * data.c (Fchar_or_string_p): Doc fix. Use CHARACTERP. | 11456 | * lisp.h (DEFUN) [!PROTOTYPES]: Remove spurious `args'. |
| 11457 | 11457 | ||
| 11458 | * category.c (Fmodify_category_entry): Doc fix. Remove unused vars. | 11458 | 2008-02-01 Dave Love <fx@gnu.org> |
| 11459 | 11459 | ||
| 11460 | 2008-02-01 Yong Lu <lyongu@asia-infonet.com> | 11460 | * data.c (Fchar_or_string_p): Doc fix. Use CHARACTERP. |
| 11461 | 11461 | ||
| 11462 | * charset.c (Fdefine_charset_internal): Fix argument to bzero. | 11462 | * category.c (Fmodify_category_entry): Doc fix. Remove unused vars. |
| 11463 | 11463 | ||
| 11464 | * coding.c (decode_coding_charset): Workaround for the bug of GCC 2.96. | 11464 | 2008-02-01 Yong Lu <lyongu@asia-infonet.com> |
| 11465 | 11465 | ||
| 11466 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 11466 | * charset.c (Fdefine_charset_internal): Fix argument to bzero. |
| 11467 | 11467 | ||
| 11468 | * Makefile.in (lisp, shortlisp): Change cyrillic.elc to cyrillic.el, | 11468 | * coding.c (decode_coding_charset): Workaround for the bug of GCC 2.96. |
| 11469 | vietnamese.elc to vietnamese.el. They are not bytecompiled now. | 11469 | |
| 11470 | 11470 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 11471 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 11471 | |
| 11472 | 11472 | * Makefile.in (lisp, shortlisp): Change cyrillic.elc to cyrillic.el, | |
| 11473 | * coding.c (decode_coding_charset): Adjust for the change of | 11473 | vietnamese.elc to vietnamese.el. They are not bytecompiled now. |
| 11474 | Fdefine_coding_system_internal. | 11474 | |
| 11475 | (Fdefine_coding_system_internal): For a coding system of | 11475 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 11476 | `charset' type, store a list of charset IDs in | 11476 | |
| 11477 | `charset_attr_charset_valids' element of coding attributes. | 11477 | * coding.c (decode_coding_charset): Adjust for the change of |
| 11478 | 11478 | Fdefine_coding_system_internal. | |
| 11479 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 11479 | (Fdefine_coding_system_internal): For a coding system of |
| 11480 | 11480 | `charset' type, store a list of charset IDs in | |
| 11481 | * coding.c (ONE_MORE_BYTE_NO_CHECK): Increment consumed_chars. | 11481 | `charset_attr_charset_valids' element of coding attributes. |
| 11482 | (emacs_mule_char): New arg src. Delete arg `composition'. Change | 11482 | |
| 11483 | caller. Handle 2-byte and 3-byte charsets correctly. | 11483 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 11484 | (DECODE_EMACS_MULE_COMPOSITION_RULE_20): Rename from | 11484 | |
| 11485 | DECODE_EMACS_MULE_COMPOSITION_RULE. Change caller. | 11485 | * coding.c (ONE_MORE_BYTE_NO_CHECK): Increment consumed_chars. |
| 11486 | (DECODE_EMACS_MULE_COMPOSITION_RULE_21): New macro. | 11486 | (emacs_mule_char): New arg src. Delete arg `composition'. Change |
| 11487 | (DECODE_EMACS_MULE_21_COMPOSITION): Call | 11487 | caller. Handle 2-byte and 3-byte charsets correctly. |
| 11488 | DECODE_EMACS_MULE_COMPOSITION_RULE_21. Produce correct annotation | 11488 | (DECODE_EMACS_MULE_COMPOSITION_RULE_20): Rename from |
| 11489 | sequence. | 11489 | DECODE_EMACS_MULE_COMPOSITION_RULE. Change caller. |
| 11490 | (decode_coding_emacs_mule): Handle composition correctly. Rewind | 11490 | (DECODE_EMACS_MULE_COMPOSITION_RULE_21): New macro. |
| 11491 | `src' and `consumed_chars' correctly before calling emacs_mule_char. | 11491 | (DECODE_EMACS_MULE_21_COMPOSITION): Call |
| 11492 | (DECODE_COMPOSITION_START): Correctly handle the case of altchar | 11492 | DECODE_EMACS_MULE_COMPOSITION_RULE_21. Produce correct annotation |
| 11493 | and alt&rule composition. | 11493 | sequence. |
| 11494 | (decode_coding_iso_2022): Handle composition correctly. | 11494 | (decode_coding_emacs_mule): Handle composition correctly. Rewind |
| 11495 | (init_coding_once): Setup emacs_mule_bytes for private charsets. | 11495 | `src' and `consumed_chars' correctly before calling emacs_mule_char. |
| 11496 | 11496 | (DECODE_COMPOSITION_START): Correctly handle the case of altchar | |
| 11497 | * charset.c (Fdefine_charset_internal): Fix bug for the case of | 11497 | and alt&rule composition. |
| 11498 | re-defining a charset. If the charset has :emacs-mule-id, setup | 11498 | (decode_coding_iso_2022): Handle composition correctly. |
| 11499 | emacs_mule_bytes. | 11499 | (init_coding_once): Setup emacs_mule_bytes for private charsets. |
| 11500 | (Fmake_char): If CODE1 is nil, use the minimum code of the charset. | 11500 | |
| 11501 | 11501 | * charset.c (Fdefine_charset_internal): Fix bug for the case of | |
| 11502 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 11502 | re-defining a charset. If the charset has :emacs-mule-id, setup |
| 11503 | 11503 | emacs_mule_bytes. | |
| 11504 | * coding.c (encode_coding_iso_2022, encode_coding_sjis) | 11504 | (Fmake_char): If CODE1 is nil, use the minimum code of the charset. |
| 11505 | (encode_coding_big5, encode_coding_charset): If coding requires safe | 11505 | |
| 11506 | encoding, produce a character specified by | 11506 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 11507 | CODING_INHIBIT_CHARACTER_SUBSTITUTION. | 11507 | |
| 11508 | 11508 | * coding.c (encode_coding_iso_2022, encode_coding_sjis) | |
| 11509 | 2008-02-01 Dave Love <fx@gnu.org> | 11509 | (encode_coding_big5, encode_coding_charset): If coding requires safe |
| 11510 | 11510 | encoding, produce a character specified by | |
| 11511 | * xterm.c (XSetIMValues): Declare. | 11511 | CODING_INHIBIT_CHARACTER_SUBSTITUTION. |
| 11512 | 11512 | ||
| 11513 | * process.c: Conditionally include sys/wait.h, pty.h. | 11513 | 2008-02-01 Dave Love <fx@gnu.org> |
| 11514 | 11514 | ||
| 11515 | * print.c (print_object): Fix print format for 64-bit systems. | 11515 | * xterm.c (XSetIMValues): Declare. |
| 11516 | 11516 | ||
| 11517 | * keyboard.c (modify_event_symbol): Fix print format for 64-bit systems. | 11517 | * process.c: Conditionally include sys/wait.h, pty.h. |
| 11518 | 11518 | ||
| 11519 | * buffer.c (emacs_strerror): Declare. | 11519 | * print.c (print_object): Fix print format for 64-bit systems. |
| 11520 | 11520 | ||
| 11521 | * fontset.c (Fclear_face_cache): Declare. | 11521 | * keyboard.c (modify_event_symbol): Fix print format for 64-bit systems. |
| 11522 | (accumulate_font_info): Comment-out (unused). | 11522 | |
| 11523 | (face_for_char, Fset_fontset_font, Ffontset_info): Remove unused | 11523 | * buffer.c (emacs_strerror): Declare. |
| 11524 | variables. | 11524 | |
| 11525 | 11525 | * fontset.c (Fclear_face_cache): Declare. | |
| 11526 | * character.h (string_escape_byte8): Declare. | 11526 | (accumulate_font_info): Comment-out (unused). |
| 11527 | 11527 | (face_for_char, Fset_fontset_font, Ffontset_info): Remove unused | |
| 11528 | * charset.c (load_charset_map, load_charset_map_from_file): Remove | 11528 | variables. |
| 11529 | unused vars. | 11529 | |
| 11530 | (Fdefine_charset_internal, Fsplit_char, syms_of_charset) | 11530 | * character.h (string_escape_byte8): Declare. |
| 11531 | (Fmap_charset_chars): Doc fix. | 11531 | |
| 11532 | 11532 | * charset.c (load_charset_map, load_charset_map_from_file): Remove | |
| 11533 | * coding.c (Vchar_coding_system_table, Qchar_coding_system): Remove. | 11533 | unused vars. |
| 11534 | (Fset_coding_system_priority, Fset_coding_system_priority) | 11534 | (Fdefine_charset_internal, Fsplit_char, syms_of_charset) |
| 11535 | (Fdefine_coding_system_internal): Doc fix. | 11535 | (Fmap_charset_chars): Doc fix. |
| 11536 | 11536 | ||
| 11537 | 2008-02-01 Dave Love <fx@gnu.org> | 11537 | * coding.c (Vchar_coding_system_table, Qchar_coding_system): Remove. |
| 11538 | 11538 | (Fset_coding_system_priority, Fset_coding_system_priority) | |
| 11539 | * s/osf5-0.h (C_SWITCH_SYSTEM) [!__GNUC__]: Remove -nointrinsics. | 11539 | (Fdefine_coding_system_internal): Doc fix. |
| 11540 | 11540 | ||
| 11541 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 11541 | 2008-02-01 Dave Love <fx@gnu.org> |
| 11542 | 11542 | ||
| 11543 | * character.c (string_escape_byte8): Make multibyte string with | 11543 | * s/osf5-0.h (C_SWITCH_SYSTEM) [!__GNUC__]: Remove -nointrinsics. |
| 11544 | correct size. | 11544 | |
| 11545 | 11545 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 11546 | * charset.c (Fmake_char): Delete unnecessary code. | 11546 | |
| 11547 | 11547 | * character.c (string_escape_byte8): Make multibyte string with | |
| 11548 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 11548 | correct size. |
| 11549 | 11549 | ||
| 11550 | * xfns.c (x_encode_text): Allocate coding.destination here, and | 11550 | * charset.c (Fmake_char): Delete unnecessary code. |
| 11551 | call encode_coding_object with dst_object Qnil. | 11551 | |
| 11552 | 11552 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 11553 | * buffer.c (Fset_buffer_multibyte): Convert 8-bit bytes to | 11553 | |
| 11554 | multibyte form correctly. | 11554 | * xfns.c (x_encode_text): Allocate coding.destination here, and |
| 11555 | 11555 | call encode_coding_object with dst_object Qnil. | |
| 11556 | * fontset.c (fs_load_font): Check fontp->full_name (not fontname) | 11556 | |
| 11557 | against Vfont_encoding_alist. | 11557 | * buffer.c (Fset_buffer_multibyte): Convert 8-bit bytes to |
| 11558 | 11558 | multibyte form correctly. | |
| 11559 | * coding.c (Fdecode_sjis_char): Fix typo (0x7F->0xFF). Fix the | 11559 | |
| 11560 | handling of charset list. | 11560 | * fontset.c (fs_load_font): Check fontp->full_name (not fontname) |
| 11561 | (encode_coding_iso_2022): Setup coding->safe_charsets in advance. | 11561 | against Vfont_encoding_alist. |
| 11562 | (decode_coding_object): Move point to coding->dst_pos before | 11562 | |
| 11563 | calling post-read-conversion function. | 11563 | * coding.c (Fdecode_sjis_char): Fix typo (0x7F->0xFF). Fix the |
| 11564 | (encode_coding_object): Give correct arguments to | 11564 | handling of charset list. |
| 11565 | pre-write-conversion. Ignore the return value of | 11565 | (encode_coding_iso_2022): Setup coding->safe_charsets in advance. |
| 11566 | pre-write-conversion function. Pay attention to the case that | 11566 | (decode_coding_object): Move point to coding->dst_pos before |
| 11567 | pre-write-conversion changes the current buffer. If dst_object is | 11567 | calling post-read-conversion function. |
| 11568 | Qt, even if coding->src_bytes is zero, allocate at least one byte | 11568 | (encode_coding_object): Give correct arguments to |
| 11569 | to coding->destination. | 11569 | pre-write-conversion. Ignore the return value of |
| 11570 | 11570 | pre-write-conversion function. Pay attention to the case that | |
| 11571 | * coding.h (JIS_TO_SJIS): Fix typo (j1->s1, j2->s2). | 11571 | pre-write-conversion changes the current buffer. If dst_object is |
| 11572 | 11572 | Qt, even if coding->src_bytes is zero, allocate at least one byte | |
| 11573 | * charset.c (Fmake_char): Make it more backward compatible. | 11573 | to coding->destination. |
| 11574 | (Fmap_charset_chars): Fix docstring. | 11574 | |
| 11575 | 11575 | * coding.h (JIS_TO_SJIS): Fix typo (j1->s1, j2->s2). | |
| 11576 | 2008-02-01 Dave Love <fx@gnu.org> | 11576 | |
| 11577 | 11577 | * charset.c (Fmake_char): Make it more backward compatible. | |
| 11578 | * coding.c: Doc fixes. | 11578 | (Fmap_charset_chars): Fix docstring. |
| 11579 | (Fdefine_coding_system_alias): Use names, not symbols, in | 11579 | |
| 11580 | coding-system-alist. | 11580 | 2008-02-01 Dave Love <fx@gnu.org> |
| 11581 | 11581 | ||
| 11582 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 11582 | * coding.c: Doc fixes. |
| 11583 | 11583 | (Fdefine_coding_system_alias): Use names, not symbols, in | |
| 11584 | * fontset.c (free_realized_fontsets): Call Fclear_face_cache instead | 11584 | coding-system-alist. |
| 11585 | of calling free_realized_face. | 11585 | |
| 11586 | 11586 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 11587 | 2008-02-01 Yong Lu <lyongu@asia-infonet.com> | 11587 | |
| 11588 | 11588 | * fontset.c (free_realized_fontsets): Call Fclear_face_cache instead | |
| 11589 | * charset.c (read_hex): Don't treat SPC as a comment starter. | 11589 | of calling free_realized_face. |
| 11590 | (decode_char): If CODE_POINT_TO_INDEX returns -1, always return -1. | 11590 | |
| 11591 | (Fdecode_char): Fix typo. | 11591 | 2008-02-01 Yong Lu <lyongu@asia-infonet.com> |
| 11592 | 11592 | ||
| 11593 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 11593 | * charset.c (read_hex): Don't treat SPC as a comment starter. |
| 11594 | 11594 | (decode_char): If CODE_POINT_TO_INDEX returns -1, always return -1. | |
| 11595 | * charset.h (struct charset): New member `code_space_mask'. | 11595 | (Fdecode_char): Fix typo. |
| 11596 | 11596 | ||
| 11597 | * coding.c (coding_set_source): Delete the local variable beg_byte. | 11597 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 11598 | (encode_coding_charset, Fdefine_coding_system_internal): | 11598 | |
| 11599 | Delete the local variable charset. | 11599 | * charset.h (struct charset): New member `code_space_mask'. |
| 11600 | (Fdefine_coding_system_internal): Setup | 11600 | |
| 11601 | attrs[coding_attr_charset_valids] correctly. | 11601 | * coding.c (coding_set_source): Delete the local variable beg_byte. |
| 11602 | 11602 | (encode_coding_charset, Fdefine_coding_system_internal): | |
| 11603 | * charset.c (CODE_POINT_TO_INDEX): Utilize `code_space_mask' | 11603 | Delete the local variable charset. |
| 11604 | member to check if CODE is valid or not. | 11604 | (Fdefine_coding_system_internal): Setup |
| 11605 | (Fdefine_charset_internal): Initialize `code_space_mask' member. | 11605 | attrs[coding_attr_charset_valids] correctly. |
| 11606 | (encode_char): Before calling CODE_POINT_TO_INDEX, check if CODE | 11606 | |
| 11607 | is within the range of charset->min_code and carset->max_code. | 11607 | * charset.c (CODE_POINT_TO_INDEX): Utilize `code_space_mask' |
| 11608 | 11608 | member to check if CODE is valid or not. | |
| 11609 | 2008-02-01 Dave Love <fx@gnu.org> | 11609 | (Fdefine_charset_internal): Initialize `code_space_mask' member. |
| 11610 | 11610 | (encode_char): Before calling CODE_POINT_TO_INDEX, check if CODE | |
| 11611 | * syntax.h (syntax_temp) [!__GNUC__]: Declare. | 11611 | is within the range of charset->min_code and carset->max_code. |
| 11612 | 11612 | ||
| 11613 | * dispextern.h (generate_ascii_font): Fix return type. | 11613 | 2008-02-01 Dave Love <fx@gnu.org> |
| 11614 | 11614 | ||
| 11615 | * xfaces.c (generate_ascii_font): Fix arg declaration. | 11615 | * syntax.h (syntax_temp) [!__GNUC__]: Declare. |
| 11616 | 11616 | ||
| 11617 | * coding.c (coding_inherit_eol_type) | 11617 | * dispextern.h (generate_ascii_font): Fix return type. |
| 11618 | (Fset_terminal_coding_system_internal) | 11618 | |
| 11619 | (Fset_safe_terminal_coding_system_internal): Fix arg declarations. | 11619 | * xfaces.c (generate_ascii_font): Fix arg declaration. |
| 11620 | 11620 | ||
| 11621 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 11621 | * coding.c (coding_inherit_eol_type) |
| 11622 | 11622 | (Fset_terminal_coding_system_internal) | |
| 11623 | * coding.c (decode_coding_charset, encode_coding_charset): Handle | 11623 | (Fset_safe_terminal_coding_system_internal): Fix arg declarations. |
| 11624 | multiple charsets correctly. | 11624 | |
| 11625 | 11625 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 11626 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 11626 | |
| 11627 | 11627 | * coding.c (decode_coding_charset, encode_coding_charset): Handle | |
| 11628 | * search.c (boyer_moore): Fix handling of multibyte character | 11628 | multiple charsets correctly. |
| 11629 | translation. | 11629 | |
| 11630 | 11630 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 11631 | * xdisp.c (display_mode_element): When the variable `elt' is | 11631 | |
| 11632 | changed, update `this' and `lisp_string'. | 11632 | * search.c (boyer_moore): Fix handling of multibyte character |
| 11633 | 11633 | translation. | |
| 11634 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 11634 | |
| 11635 | 11635 | * xdisp.c (display_mode_element): When the variable `elt' is | |
| 11636 | * buffer.c (Fset_buffer_multibyte): Fix 8-bit char handling. | 11636 | changed, update `this' and `lisp_string'. |
| 11637 | 11637 | ||
| 11638 | * callproc.c (Fcall_process): Be sure to give the current buffer | 11638 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 11639 | to decode_coding_c_string. Update PT and PT_BYTE after the insertion. | 11639 | |
| 11640 | 11640 | * buffer.c (Fset_buffer_multibyte): Fix 8-bit char handling. | |
| 11641 | * charset.c (struct charset_map_entries): New struct. | 11641 | |
| 11642 | (load_charset_map): Rename from parse_charset_map. New args | 11642 | * callproc.c (Fcall_process): Be sure to give the current buffer |
| 11643 | entries and n_entries. Change caller. | 11643 | to decode_coding_c_string. Update PT and PT_BYTE after the insertion. |
| 11644 | (load_charset_map_from_file): Rename from load_charset_map. | 11644 | |
| 11645 | Change caller. New arg control_flag. Call load_charset_map at | 11645 | * charset.c (struct charset_map_entries): New struct. |
| 11646 | the tail. | 11646 | (load_charset_map): Rename from parse_charset_map. New args |
| 11647 | (load_charset_map_from_vector): New function. | 11647 | entries and n_entries. Change caller. |
| 11648 | (Fdefine_charset_internal): Setup charset.compact_codes_p. | 11648 | (load_charset_map_from_file): Rename from load_charset_map. |
| 11649 | (encode_char): If the charset is compact, change a character index | 11649 | Change caller. New arg control_flag. Call load_charset_map at |
| 11650 | to a code point. | 11650 | the tail. |
| 11651 | 11651 | (load_charset_map_from_vector): New function. | |
| 11652 | * coding.c (coding_alloc_by_making_gap): Check the case that the | 11652 | (Fdefine_charset_internal): Setup charset.compact_codes_p. |
| 11653 | source and destination are the same correctly. | 11653 | (encode_char): If the charset is compact, change a character index |
| 11654 | (decode_coding_raw_text): Set coding->consumed_char and | 11654 | to a code point. |
| 11655 | coding->consumed to 0. | 11655 | |
| 11656 | (produce_chars): If coding->chars_at_source is nonzero, update | 11656 | * coding.c (coding_alloc_by_making_gap): Check the case that the |
| 11657 | coding->consumed_char and coding->consumed before calling | 11657 | source and destination are the same correctly. |
| 11658 | alloc_destination. | 11658 | (decode_coding_raw_text): Set coding->consumed_char and |
| 11659 | (Fdefine_coding_system_alias): Register ALIAS in | 11659 | coding->consumed to 0. |
| 11660 | Vcoding_system_alist. | 11660 | (produce_chars): If coding->chars_at_source is nonzero, update |
| 11661 | (syms_of_coding): Define `no-conversion' coding system at the tail. | 11661 | coding->consumed_char and coding->consumed before calling |
| 11662 | 11662 | alloc_destination. | |
| 11663 | * fileio.c (Finsert_file_contents): Set coding_system instead of | 11663 | (Fdefine_coding_system_alias): Register ALIAS in |
| 11664 | val. If the current buffer is multibyte, always call | 11664 | Vcoding_system_alist. |
| 11665 | decode_coding_gap. | 11665 | (syms_of_coding): Define `no-conversion' coding system at the tail. |
| 11666 | 11666 | ||
| 11667 | * xfaces.c (try_font_list): Give higher priority to fontset's | 11667 | * fileio.c (Finsert_file_contents): Set coding_system instead of |
| 11668 | family than face's family. | 11668 | val. If the current buffer is multibyte, always call |
| 11669 | 11669 | decode_coding_gap. | |
| 11670 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 11670 | |
| 11671 | 11671 | * xfaces.c (try_font_list): Give higher priority to fontset's | |
| 11672 | * callproc.c (Fcall_process): Be sure to give the current buffer | 11672 | family than face's family. |
| 11673 | to decode_coding_c_string. | 11673 | |
| 11674 | 11674 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 11675 | * xfaces.c (try_font_list): Give a family specified in a fontset | 11675 | |
| 11676 | higher priority than a family specified in a face. | 11676 | * callproc.c (Fcall_process): Be sure to give the current buffer |
| 11677 | 11677 | to decode_coding_c_string. | |
| 11678 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 11678 | |
| 11679 | 11679 | * xfaces.c (try_font_list): Give a family specified in a fontset | |
| 11680 | * fileio.c (Finsert_file_contents): Fix calculation of `inserted'. | 11680 | higher priority than a family specified in a face. |
| 11681 | Fix arguments to insert_from_buffer. | 11681 | |
| 11682 | 11682 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 11683 | * xdisp.c (display_mode_element): Fix calculation of `bytepos'. | 11683 | |
| 11684 | 11684 | * fileio.c (Finsert_file_contents): Fix calculation of `inserted'. | |
| 11685 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 11685 | Fix arguments to insert_from_buffer. |
| 11686 | 11686 | ||
| 11687 | * coding.c (produce_chars): Set the variable `multibytep' correctly. | 11687 | * xdisp.c (display_mode_element): Fix calculation of `bytepos'. |
| 11688 | (decode_coding_gap): Set coding->dst_multibyte correctly. | 11688 | |
| 11689 | 11689 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
| 11690 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 11690 | |
| 11691 | 11691 | * coding.c (produce_chars): Set the variable `multibytep' correctly. | |
| 11692 | * coding.c (encode_coding_utf_8): Initialize produced_chars to 0. | 11692 | (decode_coding_gap): Set coding->dst_multibyte correctly. |
| 11693 | (decode_coding_utf_16): Fix converting high and low bytes to code-point. | 11693 | |
| 11694 | (encode_coding_utf_16): Substitute coding->default_char for | 11694 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 11695 | non-Unicode characters. | 11695 | |
| 11696 | (decode_coding): Don't call record_insert here. | 11696 | * coding.c (encode_coding_utf_8): Initialize produced_chars to 0. |
| 11697 | (setup_coding_system): Initialize `surrogate' of | 11697 | (decode_coding_utf_16): Fix converting high and low bytes to code-point. |
| 11698 | coding->spec.utf_16 to 0. | 11698 | (encode_coding_utf_16): Substitute coding->default_char for |
| 11699 | (EMIT_ONE_BYTE): Fix for multibyte case. | 11699 | non-Unicode characters. |
| 11700 | 11700 | (decode_coding): Don't call record_insert here. | |
| 11701 | * insdel.c (insert_from_gap): Call record_insert. | 11701 | (setup_coding_system): Initialize `surrogate' of |
| 11702 | 11702 | coding->spec.utf_16 to 0. | |
| 11703 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 11703 | (EMIT_ONE_BYTE): Fix for multibyte case. |
| 11704 | 11704 | ||
| 11705 | * casefiddle.c (casify_region): Fix multibyte case. | 11705 | * insdel.c (insert_from_gap): Call record_insert. |
| 11706 | 11706 | ||
| 11707 | * character.c (c_string_width): Add return type `int'. | 11707 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 11708 | (char_string_with_unification): Delete arg ADVANCED. | 11708 | |
| 11709 | 11709 | * casefiddle.c (casify_region): Fix multibyte case. | |
| 11710 | * character.h (CHAR_VALID_P): Don't call CHARACTERP. | 11710 | |
| 11711 | (CHAR_STRING): Adjust for the change of char_string_with_unification. | 11711 | * character.c (c_string_width): Add return type `int'. |
| 11712 | (CHAR_STRING_ADVANCE): Make it do-while statement. | 11712 | (char_string_with_unification): Delete arg ADVANCED. |
| 11713 | 11713 | ||
| 11714 | * chartab.c (sub_char_table_set_range): Optimize for the case | 11714 | * character.h (CHAR_VALID_P): Don't call CHARACTERP. |
| 11715 | DEPTH == 3. Add workaround code for a GCC optimization bug. | 11715 | (CHAR_STRING): Adjust for the change of char_string_with_unification. |
| 11716 | 11716 | (CHAR_STRING_ADVANCE): Make it do-while statement. | |
| 11717 | * charset.c (parse_charset_map): Remove an unused variable. | 11717 | |
| 11718 | 11718 | * chartab.c (sub_char_table_set_range): Optimize for the case | |
| 11719 | * coding.c: Delete unused variables. | 11719 | DEPTH == 3. Add workaround code for a GCC optimization bug. |
| 11720 | 11720 | ||
| 11721 | * fileio.c (Finsert_file_contents): Set coding_system to Qnil | 11721 | * charset.c (parse_charset_map): Remove an unused variable. |
| 11722 | earlier. If inserted is zero and the coding system doesn't | 11722 | |
| 11723 | require flushing, don't call decode_coding_gap. | 11723 | * coding.c: Delete unused variables. |
| 11724 | 11724 | ||
| 11725 | * syntax.h (SET_RAW_SYNTAX_ENTRY): Don't call make_number. | 11725 | * fileio.c (Finsert_file_contents): Set coding_system to Qnil |
| 11726 | 11726 | earlier. If inserted is zero and the coding system doesn't | |
| 11727 | 2008-02-01 Kenichi Handa <handa@m17n.org> | 11727 | require flushing, don't call decode_coding_gap. |
| 11728 | 11728 | ||
| 11729 | The following changes are for using Unicode as an internal | 11729 | * syntax.h (SET_RAW_SYNTAX_ENTRY): Don't call make_number. |
| 11730 | character model, and use UTF-8 format for buffer/string | 11730 | |
| 11731 | representation. | 11731 | 2008-02-01 Kenichi Handa <handa@m17n.org> |
| 11732 | 11732 | ||
| 11733 | * .gdbinit (xchartable): Adjust for the change of char table structure. | 11733 | The following changes are for using Unicode as an internal |
| 11734 | (xsubchartable, xcoding, xcharset, xcurbuf): New commands. | 11734 | character model, and use UTF-8 format for buffer/string |
| 11735 | 11735 | representation. | |
| 11736 | * Makefile.in (obj): Add character.o and chartab.o. | 11736 | |
| 11737 | (lisp, shortlisp): Remove utf-8.elc. | 11737 | * .gdbinit (xchartable): Adjust for the change of char table structure. |
| 11738 | (*.o): For many files, change dependency on charset.h to | 11738 | (xsubchartable, xcoding, xcharset, xcurbuf): New commands. |
| 11739 | character.h, and add dependency on character.h. | 11739 | |
| 11740 | (character.o, chartab.o): New targets. | 11740 | * Makefile.in (obj): Add character.o and chartab.o. |
| 11741 | 11741 | (lisp, shortlisp): Remove utf-8.elc. | |
| 11742 | * abbrev.c, bytecode.c, casefiddle.c, cmds.c, dispnew.c, doc.c: | 11742 | (*.o): For many files, change dependency on charset.h to |
| 11743 | * doprnt.c, dosfns.c, frame.c, marker.c, minibuf.c, msdos.c: | 11743 | character.h, and add dependency on character.h. |
| 11744 | * w16select.c, w32bdf.c, w32console.c: Include "character.h" instead | 11744 | (character.o, chartab.o): New targets. |
| 11745 | of "charset.h". | 11745 | |
| 11746 | 11746 | * abbrev.c, bytecode.c, casefiddle.c, cmds.c, dispnew.c, doc.c: | |
| 11747 | * dired.c, filelock.c: Include "character.h". | 11747 | * doprnt.c, dosfns.c, frame.c, marker.c, minibuf.c, msdos.c: |
| 11748 | 11748 | * w16select.c, w32bdf.c, w32console.c: Include "character.h" instead | |
| 11749 | * alloc.c: Include "character.h" instead of "charset.h". | 11749 | of "charset.h". |
| 11750 | (Fmake_char_table, make_sub_char_table): Move to chartab.c. | 11750 | |
| 11751 | (syms_of_alloc): Remove defsubr for Smake_char_table. | 11751 | * dired.c, filelock.c: Include "character.h". |
| 11752 | 11752 | ||
| 11753 | * buffer.c: Include "character.h" instead of "charset.h", don't | 11753 | * alloc.c: Include "character.h" instead of "charset.h". |
| 11754 | include "coding.h". | 11754 | (Fmake_char_table, make_sub_char_table): Move to chartab.c. |
| 11755 | (Fset_buffer_multibyte): Adjust for UTF-8. | 11755 | (syms_of_alloc): Remove defsubr for Smake_char_table. |
| 11756 | 11756 | ||
| 11757 | * buffer.h: EXFUN Fbuffer_live_p. | 11757 | * buffer.c: Include "character.h" instead of "charset.h", don't |
| 11758 | 11758 | include "coding.h". | |
| 11759 | * callproc.c: Include "character.h" instead of "charset.h". | 11759 | (Fset_buffer_multibyte): Adjust for UTF-8. |
| 11760 | (Fcall_process): Big change for the new code-conversion APIs. | 11760 | |
| 11761 | 11761 | * buffer.h: EXFUN Fbuffer_live_p. | |
| 11762 | * casetab.c: Include "character.h" instead of "charset.h". | 11762 | |
| 11763 | (set_canon, set_identity, shuffle): Adjust for the new | 11763 | * callproc.c: Include "character.h" instead of "charset.h". |
| 11764 | map_char_table spec. | 11764 | (Fcall_process): Big change for the new code-conversion APIs. |
| 11765 | (init_casetab_once): Call CHAR_TABLE_SET instead of directly | 11765 | |
| 11766 | accessing the char table structure. | 11766 | * casetab.c: Include "character.h" instead of "charset.h". |
| 11767 | 11767 | (set_canon, set_identity, shuffle): Adjust for the new | |
| 11768 | * chartab.c: New file that implements char table. | 11768 | map_char_table spec. |
| 11769 | 11769 | (init_casetab_once): Call CHAR_TABLE_SET instead of directly | |
| 11770 | * category.c: Include "character.h". | 11770 | accessing the char table structure. |
| 11771 | (copy_category_entry): New function. | 11771 | |
| 11772 | (copy_category_table): Call map_char_table and copy_category_entry. | 11772 | * chartab.c: New file that implements char table. |
| 11773 | (Fmake_category_table): Initialize all top-level slots. | 11773 | |
| 11774 | (char_category_set): New function. | 11774 | * category.c: Include "character.h". |
| 11775 | (modify_lower_category_set): Delete. | 11775 | (copy_category_entry): New function. |
| 11776 | (Fmodify_category_entry): Call char_table_ref_and_range. | 11776 | (copy_category_table): Call map_char_table and copy_category_entry. |
| 11777 | 11777 | (Fmake_category_table): Initialize all top-level slots. | |
| 11778 | * category.h (CATEGORY_SET): Just call char_category_set. | 11778 | (char_category_set): New function. |
| 11779 | 11779 | (modify_lower_category_set): Delete. | |
| 11780 | * ccl.c: Include "character.h". | 11780 | (Fmodify_category_entry): Call char_table_ref_and_range. |
| 11781 | (Qccl, Qcclp): New variables. | 11781 | |
| 11782 | (CCL_WRITE_CHAR): Alway treat the arg CH as a character even if | 11782 | * category.h (CATEGORY_SET): Just call char_category_set. |
| 11783 | it's less than 256. | 11783 | |
| 11784 | (CCL_WRITE_MULTIBYTE_CHAR): Delete. | 11784 | * ccl.c: Include "character.h". |
| 11785 | (CCL_WRITE_STRING, CCL_READ_CHAR): Adjust for the change of SRC | 11785 | (Qccl, Qcclp): New variables. |
| 11786 | and DST type. | 11786 | (CCL_WRITE_CHAR): Alway treat the arg CH as a character even if |
| 11787 | (ccl_driver): Change types of argument, adjust code accordingly. | 11787 | it's less than 256. |
| 11788 | (Fccl_execute, Fccl_execute_on_string): Adjust for the change of | 11788 | (CCL_WRITE_MULTIBYTE_CHAR): Delete. |
| 11789 | ccl_driver. | 11789 | (CCL_WRITE_STRING, CCL_READ_CHAR): Adjust for the change of SRC |
| 11790 | (syms_of_ccl): Intern and staticpro Qccl and Qcclp. | 11790 | and DST type. |
| 11791 | 11791 | (ccl_driver): Change types of argument, adjust code accordingly. | |
| 11792 | * ccl.h (struct ccl_program): Delete members eol_type and multibyte. | 11792 | (Fccl_execute, Fccl_execute_on_string): Adjust for the change of |
| 11793 | New members src_multibyte, dst_multibyte, consumed, and produced. | 11793 | ccl_driver. |
| 11794 | (struct ccl_spec): Delete members decoder and encoder. New member ccl. | 11794 | (syms_of_ccl): Intern and staticpro Qccl and Qcclp. |
| 11795 | (CODING_SPEC_CCL_PROGRAM): New macro. | 11795 | |
| 11796 | (ccl_driver): Update prototype. | 11796 | * ccl.h (struct ccl_program): Delete members eol_type and multibyte. |
| 11797 | (Qccl, Qcclp, Fccl_program_p): Extern them. | 11797 | New members src_multibyte, dst_multibyte, consumed, and produced. |
| 11798 | (CHECK_CCL_PROGRAM): New macro. | 11798 | (struct ccl_spec): Delete members decoder and encoder. New member ccl. |
| 11799 | 11799 | (CODING_SPEC_CCL_PROGRAM): New macro. | |
| 11800 | * character.c, character.h, chartab.c: New files. | 11800 | (ccl_driver): Update prototype. |
| 11801 | 11801 | (Qccl, Qcclp, Fccl_program_p): Extern them. | |
| 11802 | * charset.c: Mostly re-written. Move character and multibyte sequence | 11802 | (CHECK_CCL_PROGRAM): New macro. |
| 11803 | handling codes to character.c. | 11803 | |
| 11804 | 11804 | * character.c, character.h, chartab.c: New files. | |
| 11805 | * charset.h: Mostly re-written. Move character and multibyte sequence | 11805 | |
| 11806 | handling codes to character.h. | 11806 | * charset.c: Mostly re-written. Move character and multibyte sequence |
| 11807 | 11807 | handling codes to character.c. | |
| 11808 | * coding.c, coding.h: Mostly re-written. | 11808 | |
| 11809 | 11809 | * charset.h: Mostly re-written. Move character and multibyte sequence | |
| 11810 | * composite.c: Include "character.h" instead of "charset.h". | 11810 | handling codes to character.h. |
| 11811 | (CHAR_WIDTH): Move to character.h. | 11811 | |
| 11812 | (HASH_KEY, HASH_VALUE): Delete. | 11812 | * coding.c, coding.h: Mostly re-written. |
| 11813 | 11813 | ||
| 11814 | * composite.h (enum composition_method): Change order of enumeration | 11814 | * composite.c: Include "character.h" instead of "charset.h". |
| 11815 | symbols. | 11815 | (CHAR_WIDTH): Move to character.h. |
| 11816 | 11816 | (HASH_KEY, HASH_VALUE): Delete. | |
| 11817 | * data.c: Include "character.h" instead of "charset.h". | 11817 | |
| 11818 | (Faref): Call CHAR_TABLE_REF for a char table. | 11818 | * composite.h (enum composition_method): Change order of enumeration |
| 11819 | (Faset): Call CHAR_TABLE_SET for a char table. | 11819 | symbols. |
| 11820 | 11820 | ||
| 11821 | * dispextern.h (free_realized_face, check_face_attribytes) | 11821 | * data.c: Include "character.h" instead of "charset.h". |
| 11822 | (generate_ascii_font): Extern them. | 11822 | (Faref): Call CHAR_TABLE_REF for a char table. |
| 11823 | (free_realized_multibyte_face): Delete extern. | 11823 | (Faset): Call CHAR_TABLE_SET for a char table. |
| 11824 | 11824 | ||
| 11825 | * disptab.h (DISP_CHAR_VECTOR): Adjust for the change of char | 11825 | * dispextern.h (free_realized_face, check_face_attribytes) |
| 11826 | table structure. | 11826 | (generate_ascii_font): Extern them. |
| 11827 | 11827 | (free_realized_multibyte_face): Delete extern. | |
| 11828 | * editfns.c: Include "character.h" instead of "charset.h". | 11828 | |
| 11829 | (Fchar_to_string): Always call CHAR_STRING. | 11829 | * disptab.h (DISP_CHAR_VECTOR): Adjust for the change of char |
| 11830 | 11830 | table structure. | |
| 11831 | * emacs.c (main): Call init_charset_once, init_charset, | 11831 | |
| 11832 | syms_of_chartab, and syms_of_character. | 11832 | * editfns.c: Include "character.h" instead of "charset.h". |
| 11833 | 11833 | (Fchar_to_string): Always call CHAR_STRING. | |
| 11834 | * fileio.c: Include "character.h" instead of "charset.h". | 11834 | |
| 11835 | (Finsert_file_contents): Big change for the new code-conversion API. | 11835 | * emacs.c (main): Call init_charset_once, init_charset, |
| 11836 | (choose_write_coding_system, Fwrite_region): Likewise. | 11836 | syms_of_chartab, and syms_of_character. |
| 11837 | (build_annotations_2): Delete. | 11837 | |
| 11838 | (e_write): Big change for the new code-conversion API. | 11838 | * fileio.c: Include "character.h" instead of "charset.h". |
| 11839 | 11839 | (Finsert_file_contents): Big change for the new code-conversion API. | |
| 11840 | * fns.c: Include "character.h" instead of "charset.h". | 11840 | (choose_write_coding_system, Fwrite_region): Likewise. |
| 11841 | (copy_sub_char_table): Move to chartab.c. | 11841 | (build_annotations_2): Delete. |
| 11842 | (Fcopy_sequence): Call copy_char_table for a char table. | 11842 | (e_write): Big change for the new code-conversion API. |
| 11843 | (concat): Delete codes calling count_multibyte. | 11843 | |
| 11844 | (string_char_to_byte, string_byte_to_char): Adjust for the new | 11844 | * fns.c: Include "character.h" instead of "charset.h". |
| 11845 | multibyte form. | 11845 | (copy_sub_char_table): Move to chartab.c. |
| 11846 | (internal_equal): Adjust for the change of char table structure. | 11846 | (Fcopy_sequence): Call copy_char_table for a char table. |
| 11847 | (Fchar_table_subtype, Fchar_table_parent, Fset_char_table_parent) | 11847 | (concat): Delete codes calling count_multibyte. |
| 11848 | (Fchar_table_extra_slot, Fset_char_table_extra_slot) | 11848 | (string_char_to_byte, string_byte_to_char): Adjust for the new |
| 11849 | (Fchar_table_range, Fset_char_table_range, Fset_char_table_default) | 11849 | multibyte form. |
| 11850 | (char_table_translate, optimize_sub_char_table) | 11850 | (internal_equal): Adjust for the change of char table structure. |
| 11851 | (Foptimize_char_table, map_char_table, Fmap_char_table): Move to | 11851 | (Fchar_table_subtype, Fchar_table_parent, Fset_char_table_parent) |
| 11852 | chartab.c. | 11852 | (Fchar_table_extra_slot, Fset_char_table_extra_slot) |
| 11853 | (char_table_ref_and_index): Delete. | 11853 | (Fchar_table_range, Fset_char_table_range, Fset_char_table_default) |
| 11854 | (HASH_KEY, HASH_VALUE): Move to lisp.h. | 11854 | (char_table_translate, optimize_sub_char_table) |
| 11855 | (Fmd5): Call preferred_coding_system instead of accessing | 11855 | (Foptimize_char_table, map_char_table, Fmap_char_table): Move to |
| 11856 | Vcoding_category_list. Adjust for the new code-conversion API. | 11856 | chartab.c. |
| 11857 | (syms_of_fns): Move defsubr for char table related functions to | 11857 | (char_table_ref_and_index): Delete. |
| 11858 | chartab.c. | 11858 | (HASH_KEY, HASH_VALUE): Move to lisp.h. |
| 11859 | 11859 | (Fmd5): Call preferred_coding_system instead of accessing | |
| 11860 | * fontset.c: Mostly re-written. | 11860 | Vcoding_category_list. Adjust for the new code-conversion API. |
| 11861 | 11861 | (syms_of_fns): Move defsubr for char table related functions to | |
| 11862 | * fontset.h (struct font_info): Change type of the member encoding_type. | 11862 | chartab.c. |
| 11863 | (enum FONT_SPEC_INDEX): New enum. | 11863 | |
| 11864 | (fontset_font_pattern, fs_load_font): Update prototype. | 11864 | * fontset.c: Mostly re-written. |
| 11865 | (FS_LOAD_FONT): Adjust for the change of fs_load_font. | 11865 | |
| 11866 | 11866 | * fontset.h (struct font_info): Change type of the member encoding_type. | |
| 11867 | * indent.c: Include "character.h" instead of "charset.h". | 11867 | (enum FONT_SPEC_INDEX): New enum. |
| 11868 | (MULTIBYTE_BYTES_WIDTH): Call CHAR_WIDTH instead of WIDTH_BY_CHAR_HEAD. | 11868 | (fontset_font_pattern, fs_load_font): Update prototype. |
| 11869 | 11869 | (FS_LOAD_FONT): Adjust for the change of fs_load_font. | |
| 11870 | * insdel.c: Include "character.h" instead of "charset.h". | 11870 | |
| 11871 | (copy_text): Don't refer to Vnonascii_translation_table. | 11871 | * indent.c: Include "character.h" instead of "charset.h". |
| 11872 | (insert_from_gap): New function. | 11872 | (MULTIBYTE_BYTES_WIDTH): Call CHAR_WIDTH instead of WIDTH_BY_CHAR_HEAD. |
| 11873 | 11873 | ||
| 11874 | * keyboard.c: Include "character.h" instead of "charset.h". | 11874 | * insdel.c: Include "character.h" instead of "charset.h". |
| 11875 | (command_loop_1): Never call direct_output_forward_char before | 11875 | (copy_text): Don't refer to Vnonascii_translation_table. |
| 11876 | a non-ASCII character. | 11876 | (insert_from_gap): New function. |
| 11877 | (read_char): If Vkeyboard_translate_table is a char table, always | 11877 | |
| 11878 | translate a character. | 11878 | * keyboard.c: Include "character.h" instead of "charset.h". |
| 11879 | 11879 | (command_loop_1): Never call direct_output_forward_char before | |
| 11880 | * keymap.c: Include "character.h". | 11880 | a non-ASCII character. |
| 11881 | (store_in_keymap): Handle the case that IDX is a cons. | 11881 | (read_char): If Vkeyboard_translate_table is a char table, always |
| 11882 | (Fdefine_key): Handle the case that KEY is a cons and the car part | 11882 | translate a character. |
| 11883 | is also a cons (range). | 11883 | |
| 11884 | (push_key_description): Adjust for the new character code. | 11884 | * keymap.c: Include "character.h". |
| 11885 | (describe_vector): Call describe_char_table for a char table. | 11885 | (store_in_keymap): Handle the case that IDX is a cons. |
| 11886 | (describe_char_table): New function. | 11886 | (Fdefine_key): Handle the case that KEY is a cons and the car part |
| 11887 | 11887 | is also a cons (range). | |
| 11888 | * keymap.h (describe_char_table): Extern it. | 11888 | (push_key_description): Adjust for the new character code. |
| 11889 | 11889 | (describe_vector): Call describe_char_table for a char table. | |
| 11890 | * lisp.h (enum pvec_type): New member PVEC_SUB_CHAR_TABLE. | 11890 | (describe_char_table): New function. |
| 11891 | (XSUB_CHAR_TABLE, XSETSUB_CHAR_TABLE): New macros. | 11891 | |
| 11892 | (CHAR_TABLE_ORDINARY_SLOTS, CHAR_TABLE_SINGLE_BYTE_SLOTS) | 11892 | * keymap.h (describe_char_table): Extern it. |
| 11893 | (SUB_CHAR_TABLE_ORDINARY_SLOTS, SUB_CHAR_TABLE_STANDARD_SLOTS): | 11893 | |
| 11894 | Delete. | 11894 | * lisp.h (enum pvec_type): New member PVEC_SUB_CHAR_TABLE. |
| 11895 | (CHAR_TABLE_REF, CHAR_TABLE_SET): Adjust for the new char table | 11895 | (XSUB_CHAR_TABLE, XSETSUB_CHAR_TABLE): New macros. |
| 11896 | structure. | 11896 | (CHAR_TABLE_ORDINARY_SLOTS, CHAR_TABLE_SINGLE_BYTE_SLOTS) |
| 11897 | (CHAR_TABLE_TRANSLATE): Just call char_table_translate. | 11897 | (SUB_CHAR_TABLE_ORDINARY_SLOTS, SUB_CHAR_TABLE_STANDARD_SLOTS): |
| 11898 | (CHARTAB_SIZE_BITS_0, CHARTAB_SIZE_BITS_1, CHARTAB_SIZE_BITS_2) | 11898 | Delete. |
| 11899 | (CHARTAB_SIZE_BITS_3): New macros. | 11899 | (CHAR_TABLE_REF, CHAR_TABLE_SET): Adjust for the new char table |
| 11900 | (chartab_size): Extern it. | 11900 | structure. |
| 11901 | (struct Lisp_Char_Table): Re-design. | 11901 | (CHAR_TABLE_TRANSLATE): Just call char_table_translate. |
| 11902 | (struct Lisp_Sub_Char_Table): New structure. | 11902 | (CHARTAB_SIZE_BITS_0, CHARTAB_SIZE_BITS_1, CHARTAB_SIZE_BITS_2) |
| 11903 | (HASH_KEY, HASH_VALUE): Move from fns.c. | 11903 | (CHARTAB_SIZE_BITS_3): New macros. |
| 11904 | (CHARACTERBITS): Define as 22. | 11904 | (chartab_size): Extern it. |
| 11905 | (GLYPH_MASK_FACE, GLYPH_MASK_CHAR): Adjust for the above change. | 11905 | (struct Lisp_Char_Table): Re-design. |
| 11906 | (SUB_CHAR_TABLE_P): Check PVEC_CHAR_TABLE. | 11906 | (struct Lisp_Sub_Char_Table): New structure. |
| 11907 | (GC_SUB_CHAR_TABLE_P): New macro. | 11907 | (HASH_KEY, HASH_VALUE): Move from fns.c. |
| 11908 | (Fencode_coding_string, Fdecode_coding_string): Update EXFUN. | 11908 | (CHARACTERBITS): Define as 22. |
| 11909 | (code_convert_string_norecord): Deleted extern. | 11909 | (GLYPH_MASK_FACE, GLYPH_MASK_CHAR): Adjust for the above change. |
| 11910 | (init_character_once, syms_of_character, init_charset) | 11910 | (SUB_CHAR_TABLE_P): Check PVEC_CHAR_TABLE. |
| 11911 | (syms_of_composite, Qeq, Fmakehash, insert_from_gap): Extern them. | 11911 | (GC_SUB_CHAR_TABLE_P): New macro. |
| 11912 | 11912 | (Fencode_coding_string, Fdecode_coding_string): Update EXFUN. | |
| 11913 | * lread.c: Include "character.h". | 11913 | (code_convert_string_norecord): Deleted extern. |
| 11914 | (read_multibyte): New arg NBYTES. | 11914 | (init_character_once, syms_of_character, init_charset) |
| 11915 | (read_escape): Change the meaning of returned *BYTEREP. | 11915 | (syms_of_composite, Qeq, Fmakehash, insert_from_gap): Extern them. |
| 11916 | (to_multibyte): Delete. | 11916 | |
| 11917 | (read1): Adjust the handling of char table and string. | 11917 | * lread.c: Include "character.h". |
| 11918 | 11918 | (read_multibyte): New arg NBYTES. | |
| 11919 | * print.c: Include "character.h" instead of "charset.h". | 11919 | (read_escape): Change the meaning of returned *BYTEREP. |
| 11920 | (print_string): Convert 8-bit raw bytes to octal form by | 11920 | (to_multibyte): Delete. |
| 11921 | string_escape_byte8. | 11921 | (read1): Adjust the handling of char table and string. |
| 11922 | (print_object): Adjust for the new multibyte form. Print 8-bit | 11922 | |
| 11923 | raw bytes always in octal form. Handle sub char table correctly. | 11923 | * print.c: Include "character.h" instead of "charset.h". |
| 11924 | 11924 | (print_string): Convert 8-bit raw bytes to octal form by | |
| 11925 | * process.c: Include "character.h" instead of "charset.h". | 11925 | string_escape_byte8. |
| 11926 | (read_process_output, send_process): Adjust for the new | 11926 | (print_object): Adjust for the new multibyte form. Print 8-bit |
| 11927 | code-conversion API. | 11927 | raw bytes always in octal form. Handle sub char table correctly. |
| 11928 | 11928 | ||
| 11929 | * puresize.h (BASE_PURESIZE): Increase. | 11929 | * process.c: Include "character.h" instead of "charset.h". |
| 11930 | 11930 | (read_process_output, send_process): Adjust for the new | |
| 11931 | * regex.c: Include "character.h" instead of "charset.h". | 11931 | code-conversion API. |
| 11932 | (BYTE8_TO_CHAR, CHAR_BYTE8_P) [not emacs]: New dummy macros. | 11932 | |
| 11933 | (regex_compile): Accept a range whose starting and ending | 11933 | * puresize.h (BASE_PURESIZE): Increase. |
| 11934 | character have different leading bytes. | 11934 | |
| 11935 | (analyse_first): Adjust for the above change. | 11935 | * regex.c: Include "character.h" instead of "charset.h". |
| 11936 | 11936 | (BYTE8_TO_CHAR, CHAR_BYTE8_P) [not emacs]: New dummy macros. | |
| 11937 | * search.c: Include "character.h" instead of "charset.h". | 11937 | (regex_compile): Accept a range whose starting and ending |
| 11938 | (search_buffer, boyer_moore): Adjust for the new multibyte form. | 11938 | character have different leading bytes. |
| 11939 | (Freplace_match): Adjust for the change of multibyte_char_to_unibyte. | 11939 | (analyse_first): Adjust for the above change. |
| 11940 | 11940 | ||
| 11941 | * syntax.c: Include "character.h" instead of "charset.h". | 11941 | * search.c: Include "character.h" instead of "charset.h". |
| 11942 | (syntax_parent_lookup): Delete. | 11942 | (search_buffer, boyer_moore): Adjust for the new multibyte form. |
| 11943 | (Fmodify_syntax_entry): Accept a cons as CHAR. | 11943 | (Freplace_match): Adjust for the change of multibyte_char_to_unibyte. |
| 11944 | (skip_chars): Adjust for the new multibyte form. | 11944 | |
| 11945 | (init_syntax_once): Call char_table_set_range instead of directly | 11945 | * syntax.c: Include "character.h" instead of "charset.h". |
| 11946 | accessing the structure of a char table. | 11946 | (syntax_parent_lookup): Delete. |
| 11947 | 11947 | (Fmodify_syntax_entry): Accept a cons as CHAR. | |
| 11948 | * syntax.h (SET_RAW_SYNTAX_ENTRY): Call CHAR_TABLE_SET. | 11948 | (skip_chars): Adjust for the new multibyte form. |
| 11949 | (SYNTAX_ENTRY_FOLLOW_PARENT): Delete macro. | 11949 | (init_syntax_once): Call char_table_set_range instead of directly |
| 11950 | (SET_RAW_SYNTAX_ENTRY_RANGE): New macro. | 11950 | accessing the structure of a char table. |
| 11951 | (SYNTAX_ENTRY_INT): Call CHAR_TABLE_REF. | 11951 | |
| 11952 | 11952 | * syntax.h (SET_RAW_SYNTAX_ENTRY): Call CHAR_TABLE_SET. | |
| 11953 | * term.c: Include "buffer.h" and "character.h". | 11953 | (SYNTAX_ENTRY_FOLLOW_PARENT): Delete macro. |
| 11954 | (encode_terminal_code, write_glyphs): Adjust for the new | 11954 | (SET_RAW_SYNTAX_ENTRY_RANGE): New macro. |
| 11955 | code-conversion API. | 11955 | (SYNTAX_ENTRY_INT): Call CHAR_TABLE_REF. |
| 11956 | (produce_glyphs): Call CHAR_WIDTH instead of CHARSET_WIDTH. | 11956 | |
| 11957 | 11957 | * term.c: Include "buffer.h" and "character.h". | |
| 11958 | * w32term.c (x_new_font): Adjust for the change of FS_LOAD_FONT. | 11958 | (encode_terminal_code, write_glyphs): Adjust for the new |
| 11959 | 11959 | code-conversion API. | |
| 11960 | * xdisp.c: Include "character.h". | 11960 | (produce_glyphs): Call CHAR_WIDTH instead of CHARSET_WIDTH. |
| 11961 | (get_next_display_element): Adjust for the new multibyte form. | 11961 | |
| 11962 | (disp_char_vector): Adjust for the new char table structure. | 11962 | * w32term.c (x_new_font): Adjust for the change of FS_LOAD_FONT. |
| 11963 | (decode_mode_spec_coding): Adjust for the new structure of | 11963 | |
| 11964 | coding system. | 11964 | * xdisp.c: Include "character.h". |
| 11965 | (decode_mode_spec): Adjust for the new code-conversion API. | 11965 | (get_next_display_element): Adjust for the new multibyte form. |
| 11966 | 11966 | (disp_char_vector): Adjust for the new char table structure. | |
| 11967 | * xfaces.c: Include "character.h" instead of "charset.h". | 11967 | (decode_mode_spec_coding): Adjust for the new structure of |
| 11968 | (load_face_font): Adjust for the change of choose_face_font and | 11968 | coding system. |
| 11969 | FS_LOAD_FONT. | 11969 | (decode_mode_spec): Adjust for the new code-conversion API. |
| 11970 | (generate_ascii_font): New function. | 11970 | |
| 11971 | (set_lface_from_font_name): Adjust for the change of FS_LOAD_FONT. | 11971 | * xfaces.c: Include "character.h" instead of "charset.h". |
| 11972 | (set_font_frame_param): Adjust for the change of choose_face_font. | 11972 | (load_face_font): Adjust for the change of choose_face_font and |
| 11973 | (free_realized_face): Make it public. | 11973 | FS_LOAD_FONT. |
| 11974 | (free_realized_faces_for_fontset): Rename from | 11974 | (generate_ascii_font): New function. |
| 11975 | free_realized_multibyte_face. Free also faces realized for ASCII. | 11975 | (set_lface_from_font_name): Adjust for the change of FS_LOAD_FONT. |
| 11976 | (choose_face_font): Change arguments. Adjust for the change of | 11976 | (set_font_frame_param): Adjust for the change of choose_face_font. |
| 11977 | fontset_font_pattern and FS_LOAD_FONT. | 11977 | (free_realized_face): Make it public. |
| 11978 | 11978 | (free_realized_faces_for_fontset): Rename from | |
| 11979 | * xfns.c: Include "character.h". | 11979 | free_realized_multibyte_face. Free also faces realized for ASCII. |
| 11980 | (x_encode_text): Adjust for the new code-conversion API. | 11980 | (choose_face_font): Change arguments. Adjust for the change of |
| 11981 | 11981 | fontset_font_pattern and FS_LOAD_FONT. | |
| 11982 | * xselect.c: Don't include "charset.h". | 11982 | |
| 11983 | (selection_data_to_lisp_data): Adjust for the new code conversion API. | 11983 | * xfns.c: Include "character.h". |
| 11984 | 11984 | (x_encode_text): Adjust for the new code-conversion API. | |
| 11985 | * xterm.c: Include "character.h". | 11985 | |
| 11986 | (x_encode_char): New argument CHARSET. Change caller. | 11986 | * xselect.c: Don't include "charset.h". |
| 11987 | (x_get_char_face_and_encoding, x_get_glyph_face_and_encoding): | 11987 | (selection_data_to_lisp_data): Adjust for the new code conversion API. |
| 11988 | Call ENCODE_CHAR instead of SPLIT_CHAR. | 11988 | |
| 11989 | (x_produce_glyphs): Don't check Vnonascii_translation_table Call | 11989 | * xterm.c: Include "character.h". |
| 11990 | CHAR_WIDTH instead of CHARSET_WIDTH. | 11990 | (x_encode_char): New argument CHARSET. Change caller. |
| 11991 | (XTread_socket): Adjust for the new code-conversion API. | 11991 | (x_get_char_face_and_encoding, x_get_glyph_face_and_encoding): |
| 11992 | (x_new_font): Adjust for the change of FS_LOAD_FONT. | 11992 | Call ENCODE_CHAR instead of SPLIT_CHAR. |
| 11993 | (x_load_font): Adjust for the change of struct font. | 11993 | (x_produce_glyphs): Don't check Vnonascii_translation_table Call |
| 11994 | 11994 | CHAR_WIDTH instead of CHARSET_WIDTH. | |
| 11995 | 2008-02-01 Stefan Monnier <monnier@iro.umontreal.ca> | 11995 | (XTread_socket): Adjust for the new code-conversion API. |
| 11996 | 11996 | (x_new_font): Adjust for the change of FS_LOAD_FONT. | |
| 11997 | * xfaces.c (face_at_buffer_position): Remove unused vars. | 11997 | (x_load_font): Adjust for the change of struct font. |
| 11998 | 11998 | ||
| 11999 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 11999 | 2008-02-01 Stefan Monnier <monnier@iro.umontreal.ca> |
| 12000 | 12000 | ||
| 12001 | * ccl.c (CCL_WRITE_CHAR, CCL_WRITE_MULTIBYTE_CHAR): | 12001 | * xfaces.c (face_at_buffer_position): Remove unused vars. |
| 12002 | Fix overflow checking. | 12002 | |
| 12003 | 12003 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
| 12004 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 12004 | |
| 12005 | 12005 | * ccl.c (CCL_WRITE_CHAR, CCL_WRITE_MULTIBYTE_CHAR): | |
| 12006 | * ccl.c (CCL_WRITE_CHAR, CCL_WRITE_MULTIBYTE_CHAR, ccl_driver): | 12006 | Fix overflow checking. |
| 12007 | Cancel previous change. | 12007 | |
| 12008 | 12008 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
| 12009 | 2008-01-31 Kenichi Handa <handa@ni.aist.go.jp> | 12009 | |
| 12010 | 12010 | * ccl.c (CCL_WRITE_CHAR, CCL_WRITE_MULTIBYTE_CHAR, ccl_driver): | |
| 12011 | * ccl.c (CCL_WRITE_CHAR): Increment extra_bytes only when | 12011 | Cancel previous change. |
| 12012 | ccl->eight_bit_control. Fix check for buffer overflow. | 12012 | |
| 12013 | (CCL_WRITE_MULTIBYTE_CHAR): Fix check for buffer overflow. | 12013 | 2008-01-31 Kenichi Handa <handa@ni.aist.go.jp> |
| 12014 | (ccl_driver): Initialize extra_bytes to 0. | 12014 | |
| 12015 | 12015 | * ccl.c (CCL_WRITE_CHAR): Increment extra_bytes only when | |
| 12016 | 2008-01-31 Kenichi Handa <handa@ni.aist.go.jp> | 12016 | ccl->eight_bit_control. Fix check for buffer overflow. |
| 12017 | 12017 | (CCL_WRITE_MULTIBYTE_CHAR): Fix check for buffer overflow. | |
| 12018 | * keyboard.c (make_ctrl_char): If C is a multibyte character, just | 12018 | (ccl_driver): Initialize extra_bytes to 0. |
| 12019 | return it ORed with ctrl_modifier. | 12019 | |
| 12020 | 12020 | 2008-01-31 Kenichi Handa <handa@ni.aist.go.jp> | |
| 12021 | 2008-01-29 Miles Bader <miles@gnu.org> | 12021 | |
| 12022 | 12022 | * keyboard.c (make_ctrl_char): If C is a multibyte character, just | |
| 12023 | * macterm.c (XTset_vertical_scroll_bar): Fix merge mistake. | 12023 | return it ORed with ctrl_modifier. |
| 12024 | 12024 | ||
| 12025 | 2008-01-28 Jason Rumney <jasonr@gnu.org> | 12025 | 2008-01-29 Miles Bader <miles@gnu.org> |
| 12026 | 12026 | ||
| 12027 | * w32.c (stat): Don't double check for networked drive. | 12027 | * macterm.c (XTset_vertical_scroll_bar): Fix merge mistake. |
| 12028 | 12028 | ||
| 12029 | 2008-01-28 Stefan Monnier <monnier@iro.umontreal.ca> | 12029 | 2008-01-28 Jason Rumney <jasonr@gnu.org> |
| 12030 | 12030 | ||
| 12031 | * window.c (run_window_configuration_change_hook): New function. | 12031 | * w32.c (stat): Don't double check for networked drive. |
| 12032 | Code extracted from set_window_buffer. Set the selected frame. | 12032 | |
| 12033 | (set_window_buffer): Use it. | 12033 | 2008-01-28 Stefan Monnier <monnier@iro.umontreal.ca> |
| 12034 | * window.h (run_window_configuration_change_hook): Declare. | 12034 | |
| 12035 | * dispnew.c (change_frame_size_1): Use it instead of set-window-buffer. | 12035 | * window.c (run_window_configuration_change_hook): New function. |
| 12036 | 12036 | Code extracted from set_window_buffer. Set the selected frame. | |
| 12037 | * keyboard.c (read_char): Yet another int/Lisp_Object mixup (YAILOM). | 12037 | (set_window_buffer): Use it. |
| 12038 | 12038 | * window.h (run_window_configuration_change_hook): Declare. | |
| 12039 | 2008-01-27 Dan Nicolaescu <dann@ics.uci.edu> | 12039 | * dispnew.c (change_frame_size_1): Use it instead of set-window-buffer. |
| 12040 | 12040 | ||
| 12041 | * Makefile.in: Remove references to unused macros. | 12041 | * keyboard.c (read_char): Yet another int/Lisp_Object mixup (YAILOM). |
| 12042 | 12042 | ||
| 12043 | 2008-01-26 Eli Zaretskii <eliz@gnu.org> | 12043 | 2008-01-27 Dan Nicolaescu <dann@ics.uci.edu> |
| 12044 | 12044 | ||
| 12045 | * w32.c (g_b_init_get_sid_sub_authority) | 12045 | * Makefile.in: Remove references to unused macros. |
| 12046 | (g_b_init_get_sid_sub_authority_count): New static variables. | 12046 | |
| 12047 | (GetSidSubAuthority_Proc, GetSidSubAuthorityCount_Proc): New typedefs. | 12047 | 2008-01-26 Eli Zaretskii <eliz@gnu.org> |
| 12048 | (get_sid_sub_authority, get_sid_sub_authority_count): New functions. | 12048 | |
| 12049 | (init_user_info): Use them to retrieve uid and gid. | 12049 | * w32.c (g_b_init_get_sid_sub_authority) |
| 12050 | Use 500/513, the Windows defaults, as Administrator's uid/gid. | 12050 | (g_b_init_get_sid_sub_authority_count): New static variables. |
| 12051 | (fstat): Use pw_uid and pw_gid from the_passwd structure for | 12051 | (GetSidSubAuthority_Proc, GetSidSubAuthorityCount_Proc): New typedefs. |
| 12052 | st_uid and st_gid of the file. | 12052 | (get_sid_sub_authority, get_sid_sub_authority_count): New functions. |
| 12053 | 12053 | (init_user_info): Use them to retrieve uid and gid. | |
| 12054 | 2008-01-26 Jason Rumney <jasonr@gnu.org> | 12054 | Use 500/513, the Windows defaults, as Administrator's uid/gid. |
| 12055 | 12055 | (fstat): Use pw_uid and pw_gid from the_passwd structure for | |
| 12056 | * w32.c (logon_network_drive): New function. | 12056 | st_uid and st_gid of the file. |
| 12057 | (stat): Use it. | 12057 | |
| 12058 | 12058 | 2008-01-26 Jason Rumney <jasonr@gnu.org> | |
| 12059 | 2008-01-26 Chong Yidong <cyd@stupidchicken.com> | 12059 | |
| 12060 | 12060 | * w32.c (logon_network_drive): New function. | |
| 12061 | * xdisp.c (pos_visible_p): Handle the case where charpos falls on | 12061 | (stat): Use it. |
| 12062 | invisible text covered with an ellipsis. | 12062 | |
| 12063 | 12063 | 2008-01-26 Chong Yidong <cyd@stupidchicken.com> | |
| 12064 | 2008-01-25 Richard Stallman <rms@gnu.org> | 12064 | |
| 12065 | 12065 | * xdisp.c (pos_visible_p): Handle the case where charpos falls on | |
| 12066 | * xdisp.c (redisplay_window): Run Qwindow_text_change_functions and | 12066 | invisible text covered with an ellipsis. |
| 12067 | jump back to beginning. Move some other initializations after that. | 12067 | |
| 12068 | (Qwindow_text_change_functions, Vwindow_text_change_functions): | 12068 | 2008-01-25 Richard Stallman <rms@gnu.org> |
| 12069 | New variables. | 12069 | |
| 12070 | (syms_of_xdisp): Init them. | 12070 | * xdisp.c (redisplay_window): Run Qwindow_text_change_functions and |
| 12071 | 12071 | jump back to beginning. Move some other initializations after that. | |
| 12072 | * keyboard.c (read_char): Restore echo_message_buffer after redisplay. | 12072 | (Qwindow_text_change_functions, Vwindow_text_change_functions): |
| 12073 | 12073 | New variables. | |
| 12074 | * buffer.c (reset_buffer_local_variables): | 12074 | (syms_of_xdisp): Init them. |
| 12075 | Implement `permanent-local-hook'. | 12075 | |
| 12076 | (Qpermanent_local_hook): New variable. | 12076 | * keyboard.c (read_char): Restore echo_message_buffer after redisplay. |
| 12077 | (syms_of_buffer): Init and staticpro it. | 12077 | |
| 12078 | 12078 | * buffer.c (reset_buffer_local_variables): | |
| 12079 | 2008-01-25 Michael Albinus <michael.albinus@gmx.de> | 12079 | Implement `permanent-local-hook'. |
| 12080 | 12080 | (Qpermanent_local_hook): New variable. | |
| 12081 | * dbusbind.c (xd_retrieve_arg): Pacify GCC on x86_64 GNU/Linux. | 12081 | (syms_of_buffer): Init and staticpro it. |
| 12082 | 12082 | ||
| 12083 | 2008-01-25 Thien-Thi Nguyen <ttn@gnuvola.org> | 12083 | 2008-01-25 Michael Albinus <michael.albinus@gmx.de> |
| 12084 | 12084 | ||
| 12085 | * fns.c (Fclrhash): Return TABLE. | 12085 | * dbusbind.c (xd_retrieve_arg): Pacify GCC on x86_64 GNU/Linux. |
| 12086 | 12086 | ||
| 12087 | 2008-01-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 12087 | 2008-01-25 Thien-Thi Nguyen <ttn@gnuvola.org> |
| 12088 | 12088 | ||
| 12089 | * macterm.c (x_scroll_bar_create): Initialize bar->redraw_needed_p. | 12089 | * fns.c (Fclrhash): Return TABLE. |
| 12090 | (XTset_vertical_scroll_bar): Redraw scroll bar if bar->redraw_needed_p | 12090 | |
| 12091 | is set even without positional changes. | 12091 | 2008-01-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 12092 | (x_scroll_bar_clear): Set bar->redraw_needed_p. | 12092 | |
| 12093 | 12093 | * macterm.c (x_scroll_bar_create): Initialize bar->redraw_needed_p. | |
| 12094 | * macterm.h (struct scroll_bar): New member `redraw_needed_p'. | 12094 | (XTset_vertical_scroll_bar): Redraw scroll bar if bar->redraw_needed_p |
| 12095 | 12095 | is set even without positional changes. | |
| 12096 | 2008-01-23 Jason Rumney <jasonr@gnu.org> | 12096 | (x_scroll_bar_clear): Set bar->redraw_needed_p. |
| 12097 | 12097 | ||
| 12098 | * xterm.c (handle_one_xevent): Revert to counting chars not bytes. | 12098 | * macterm.h (struct scroll_bar): New member `redraw_needed_p'. |
| 12099 | 12099 | ||
| 12100 | * w32term.c (w32_read_socket) <WM_CHAR>: Decode characters outside | 12100 | 2008-01-23 Jason Rumney <jasonr@gnu.org> |
| 12101 | the unicode range available in MULE by locale-coding-system. | 12101 | |
| 12102 | Improve dbcs lead byte detection. Set event timestamp and modifiers | 12102 | * xterm.c (handle_one_xevent): Revert to counting chars not bytes. |
| 12103 | earlier. | 12103 | |
| 12104 | 12104 | * w32term.c (w32_read_socket) <WM_CHAR>: Decode characters outside | |
| 12105 | 2008-01-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 12105 | the unicode range available in MULE by locale-coding-system. |
| 12106 | 12106 | Improve dbcs lead byte detection. Set event timestamp and modifiers | |
| 12107 | * mac.c (mac_emacs_pid) [MAC_OSX]: New variable. | 12107 | earlier. |
| 12108 | [MAC_OSX] (init_mac_osx_environment): Initialize it. | 12108 | |
| 12109 | [MAC_OSX] (mac_try_close_socket) [SELECT_USE_CFSOCKET]: Return 0 | 12109 | 2008-01-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 12110 | when used on child processes. | 12110 | |
| 12111 | 12111 | * mac.c (mac_emacs_pid) [MAC_OSX]: New variable. | |
| 12112 | 2008-01-21 Michael Albinus <michael.albinus@gmx.de> | 12112 | [MAC_OSX] (init_mac_osx_environment): Initialize it. |
| 12113 | 12113 | [MAC_OSX] (mac_try_close_socket) [SELECT_USE_CFSOCKET]: Return 0 | |
| 12114 | * dbusbind.c (Fdbus_method_return_internal): Rename from | 12114 | when used on child processes. |
| 12115 | Fdbus_method_return. | 12115 | |
| 12116 | (Fdbus_unregister_object): Move to dbus.el. | 12116 | 2008-01-21 Michael Albinus <michael.albinus@gmx.de> |
| 12117 | (Fdbus_call_method, Fdbus_method_return_internal) | 12117 | |
| 12118 | (Fdbus_send_signal): Improve debug messages. | 12118 | * dbusbind.c (Fdbus_method_return_internal): Rename from |
| 12119 | 12119 | Fdbus_method_return. | |
| 12120 | 2008-01-20 Martin Rudalics <rudalics@gmx.at> | 12120 | (Fdbus_unregister_object): Move to dbus.el. |
| 12121 | 12121 | (Fdbus_call_method, Fdbus_method_return_internal) | |
| 12122 | * undo.c (undo_inhibit_record_point): New variable. | 12122 | (Fdbus_send_signal): Improve debug messages. |
| 12123 | (syms_of_undo): Initialize it. | 12123 | |
| 12124 | (record_point): Don't record point when undo_inhibit_record_point | 12124 | 2008-01-20 Martin Rudalics <rudalics@gmx.at> |
| 12125 | is set. | 12125 | |
| 12126 | 12126 | * undo.c (undo_inhibit_record_point): New variable. | |
| 12127 | 2008-01-19 Stefan Monnier <monnier@iro.umontreal.ca> | 12127 | (syms_of_undo): Initialize it. |
| 12128 | 12128 | (record_point): Don't record point when undo_inhibit_record_point | |
| 12129 | * process.c (list_processes_1): Don't use SCHARS on a nil buffer name. | 12129 | is set. |
| 12130 | 12130 | ||
| 12131 | * xdisp.c (Qauto_hscroll_mode): New var. | 12131 | 2008-01-19 Stefan Monnier <monnier@iro.umontreal.ca> |
| 12132 | (syms_of_xdisp): Initialize it. | 12132 | |
| 12133 | (hscroll_window_tree): Use it to lookup `auto-hscroll-mode' in each | 12133 | * process.c (list_processes_1): Don't use SCHARS on a nil buffer name. |
| 12134 | window's buffer. | 12134 | |
| 12135 | (hscroll_windows): Don't check automatic_hscrolling_p here. | 12135 | * xdisp.c (Qauto_hscroll_mode): New var. |
| 12136 | 12136 | (syms_of_xdisp): Initialize it. | |
| 12137 | * window.c (set_window_buffer): Don't unnecessarily reset hscroll and | 12137 | (hscroll_window_tree): Use it to lookup `auto-hscroll-mode' in each |
| 12138 | vscroll if we're setting window-buffer to the value it already has. | 12138 | window's buffer. |
| 12139 | 12139 | (hscroll_windows): Don't check automatic_hscrolling_p here. | |
| 12140 | 2008-01-18 Dan Nicolaescu <dann@ics.uci.edu> | 12140 | |
| 12141 | 12141 | * window.c (set_window_buffer): Don't unnecessarily reset hscroll and | |
| 12142 | * m/intel386.h: Remove references to XENIX. | 12142 | vscroll if we're setting window-buffer to the value it already has. |
| 12143 | 12143 | ||
| 12144 | 2008-01-17 Andreas Schwab <schwab@suse.de> | 12144 | 2008-01-18 Dan Nicolaescu <dann@ics.uci.edu> |
| 12145 | 12145 | ||
| 12146 | * m/amdx86-64.h (START_FILES, LIB_STANDARD): Use HAVE_LIB64_DIR | 12146 | * m/intel386.h: Remove references to XENIX. |
| 12147 | instead of HAVE_X86_64_LIB64_DIR. | 12147 | |
| 12148 | * m/ibms390x.h (START_FILES, LIB_STANDARD): Likewise. | 12148 | 2008-01-17 Andreas Schwab <schwab@suse.de> |
| 12149 | 12149 | ||
| 12150 | 2008-01-17 Glenn Morris <rgm@gnu.org> | 12150 | * m/amdx86-64.h (START_FILES, LIB_STANDARD): Use HAVE_LIB64_DIR |
| 12151 | 12151 | instead of HAVE_X86_64_LIB64_DIR. | |
| 12152 | * m/ibms390x.h (START_FILES, LIB_STANDARD): Adjust value according | 12152 | * m/ibms390x.h (START_FILES, LIB_STANDARD): Likewise. |
| 12153 | to HAVE_X86_64_LIB64_DIR. | 12153 | |
| 12154 | 12154 | 2008-01-17 Glenn Morris <rgm@gnu.org> | |
| 12155 | 2008-01-16 Dan Nicolaescu <dann@ics.uci.edu> | 12155 | |
| 12156 | 12156 | * m/ibms390x.h (START_FILES, LIB_STANDARD): Adjust value according | |
| 12157 | * s/irix3-3.h: | 12157 | to HAVE_X86_64_LIB64_DIR. |
| 12158 | * s/irix4-0.h: | 12158 | |
| 12159 | * s/386-ix.h: | 12159 | 2008-01-16 Dan Nicolaescu <dann@ics.uci.edu> |
| 12160 | * s/domain.h: | 12160 | |
| 12161 | * s/hpux9-x11r4.h: | 12161 | * s/irix3-3.h: |
| 12162 | * s/hpux9shxr4.h: Remove files for systems no longer supported. | 12162 | * s/irix4-0.h: |
| 12163 | 12163 | * s/386-ix.h: | |
| 12164 | * sysdep.c: Remove code containing references to symbols defined | 12164 | * s/domain.h: |
| 12165 | by unsupported systems. | 12165 | * s/hpux9-x11r4.h: |
| 12166 | 12166 | * s/hpux9shxr4.h: Remove files for systems no longer supported. | |
| 12167 | 2008-01-16 Glenn Morris <rgm@gnu.org> | 12167 | |
| 12168 | 12168 | * sysdep.c: Remove code containing references to symbols defined | |
| 12169 | * coding.c (select-safe-coding-system-function): Doc fix. | 12169 | by unsupported systems. |
| 12170 | 12170 | ||
| 12171 | 2008-01-15 Glenn Morris <rgm@gnu.org> | 12171 | 2008-01-16 Glenn Morris <rgm@gnu.org> |
| 12172 | 12172 | ||
| 12173 | * config.in: Revert 2008-01-13 change: this is a generated file. | 12173 | * coding.c (select-safe-coding-system-function): Doc fix. |
| 12174 | 12174 | ||
| 12175 | 2008-01-13 Tom Tromey <tromey@redhat.com> | 12175 | 2008-01-15 Glenn Morris <rgm@gnu.org> |
| 12176 | 12176 | ||
| 12177 | * lisp.h: Fix typo. | 12177 | * config.in: Revert 2008-01-13 change: this is a generated file. |
| 12178 | 12178 | ||
| 12179 | 2008-01-13 Dan Nicolaescu <dann@ics.uci.edu> | 12179 | 2008-01-13 Tom Tromey <tromey@redhat.com> |
| 12180 | 12180 | ||
| 12181 | * m/sequent-ptx.h: | 12181 | * lisp.h: Fix typo. |
| 12182 | * m/sequent.h: | 12182 | |
| 12183 | * s/ptx.h: | 12183 | 2008-01-13 Dan Nicolaescu <dann@ics.uci.edu> |
| 12184 | * s/ptx4-2.h: | 12184 | |
| 12185 | * s/ptx4.h: Remove files for systems no longer supported. | 12185 | * m/sequent-ptx.h: |
| 12186 | 12186 | * m/sequent.h: | |
| 12187 | * callproc.c (Fcall_process): Fix previous change. | 12187 | * s/ptx.h: |
| 12188 | 12188 | * s/ptx4-2.h: | |
| 12189 | 2008-01-13 Dan Nicolaescu <dann@ics.uci.edu> | 12189 | * s/ptx4.h: Remove files for systems no longer supported. |
| 12190 | 12190 | ||
| 12191 | * unexsunos4.c: Remove file, system not supported anymore. | 12191 | * callproc.c (Fcall_process): Fix previous change. |
| 12192 | 12192 | ||
| 12193 | * m/mips.h: | 12193 | 2008-01-13 Dan Nicolaescu <dann@ics.uci.edu> |
| 12194 | * m/intel386.h: | 12194 | |
| 12195 | * callproc.c: | 12195 | * unexsunos4.c: Remove file, system not supported anymore. |
| 12196 | * config.in: | 12196 | |
| 12197 | * ecrt0.c: | 12197 | * m/mips.h: |
| 12198 | * emacs.c: | 12198 | * m/intel386.h: |
| 12199 | * fileio.c: | 12199 | * callproc.c: |
| 12200 | * frame.c: | 12200 | * config.in: |
| 12201 | * getpagesize.h: | 12201 | * ecrt0.c: |
| 12202 | * keyboard.c: | 12202 | * emacs.c: |
| 12203 | * lread.c: | 12203 | * fileio.c: |
| 12204 | * process.c: | 12204 | * frame.c: |
| 12205 | * puresize.h: | 12205 | * getpagesize.h: |
| 12206 | * sysdep.c: | 12206 | * keyboard.c: |
| 12207 | * systty.h: | 12207 | * lread.c: |
| 12208 | * syswait.h: | 12208 | * process.c: |
| 12209 | * unexec.c: | 12209 | * puresize.h: |
| 12210 | * xdisp.c: | 12210 | * sysdep.c: |
| 12211 | * alloc.c: Remove code containing references to symbols defined by | 12211 | * systty.h: |
| 12212 | unsupported systems. | 12212 | * syswait.h: |
| 12213 | 12213 | * unexec.c: | |
| 12214 | 2008-01-11 Kenichi Handa <handa@ni.aist.go.jp> | 12214 | * xdisp.c: |
| 12215 | 12215 | * alloc.c: Remove code containing references to symbols defined by | |
| 12216 | * coding.c (detect_coding_mask): Fix previous change. | 12216 | unsupported systems. |
| 12217 | 12217 | ||
| 12218 | 2008-01-09 Kenichi Handa <handa@ni.aist.go.jp> | 12218 | 2008-01-11 Kenichi Handa <handa@ni.aist.go.jp> |
| 12219 | 12219 | ||
| 12220 | * coding.c (detect_coding_iso2022): New arg | 12220 | * coding.c (detect_coding_mask): Fix previous change. |
| 12221 | latin_extra_code_state. Allow Latin extra codes only | 12221 | |
| 12222 | when *latin_extra_code_state is nonzero. | 12222 | 2008-01-09 Kenichi Handa <handa@ni.aist.go.jp> |
| 12223 | (detect_coding_mask): If there is a NULL byte, detect the encoding | 12223 | |
| 12224 | as UTF-16 or binary. If Latin extra codes exist, detect the | 12224 | * coding.c (detect_coding_iso2022): New arg |
| 12225 | encoding as ISO-2022 only when there's no other proper encoding is | 12225 | latin_extra_code_state. Allow Latin extra codes only |
| 12226 | found. | 12226 | when *latin_extra_code_state is nonzero. |
| 12227 | 12227 | (detect_coding_mask): If there is a NULL byte, detect the encoding | |
| 12228 | 2008-01-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 12228 | as UTF-16 or binary. If Latin extra codes exist, detect the |
| 12229 | 12229 | encoding as ISO-2022 only when there's no other proper encoding is | |
| 12230 | * frame.c (Fmake_terminal_frame): Use #ifdef MAC_OS8 instead of | 12230 | found. |
| 12231 | #ifdef MAC_OS. | 12231 | |
| 12232 | 12232 | 2008-01-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
| 12233 | 2008-01-08 Richard Stallman <rms@gnu.org> | 12233 | |
| 12234 | 12234 | * frame.c (Fmake_terminal_frame): Use #ifdef MAC_OS8 instead of | |
| 12235 | * fileio.c (Ffile_name_directory, Fexpand_file_name): Doc fixes. | 12235 | #ifdef MAC_OS. |
| 12236 | 12236 | ||
| 12237 | 2008-01-06 Nick Roberts <nickrob@snap.net.nz> | 12237 | 2008-01-08 Richard Stallman <rms@gnu.org> |
| 12238 | 12238 | ||
| 12239 | * keyboard.c (parse_menu_item): Don't enclose key bindings on | 12239 | * fileio.c (Ffile_name_directory, Fexpand_file_name): Doc fixes. |
| 12240 | menu bar in parentheses. | 12240 | |
| 12241 | 12241 | 2008-01-06 Nick Roberts <nickrob@snap.net.nz> | |
| 12242 | 2008-01-06 Dan Nicolaescu <dann@ics.uci.edu> | 12242 | |
| 12243 | 12243 | * keyboard.c (parse_menu_item): Don't enclose key bindings on | |
| 12244 | * m/7300.h: | 12244 | menu bar in parentheses. |
| 12245 | * m/acorn.h: | 12245 | |
| 12246 | * m/alliant-2800.h: | 12246 | 2008-01-06 Dan Nicolaescu <dann@ics.uci.edu> |
| 12247 | * m/alliant.h: | 12247 | |
| 12248 | * m/alliant1.h: | 12248 | * m/7300.h: |
| 12249 | * m/alliant4.h: | 12249 | * m/acorn.h: |
| 12250 | * m/altos.h: | 12250 | * m/alliant-2800.h: |
| 12251 | * m/amdahl.h: | 12251 | * m/alliant.h: |
| 12252 | * m/apollo.h: | 12252 | * m/alliant1.h: |
| 12253 | * m/att3b.h: | 12253 | * m/alliant4.h: |
| 12254 | * m/aviion-intel.h: | 12254 | * m/altos.h: |
| 12255 | * m/aviion.h: | 12255 | * m/amdahl.h: |
| 12256 | * m/celerity.h: | 12256 | * m/apollo.h: |
| 12257 | * m/clipper.h: | 12257 | * m/att3b.h: |
| 12258 | * m/cnvrgnt.h: | 12258 | * m/aviion-intel.h: |
| 12259 | * m/convex.h: | 12259 | * m/aviion.h: |
| 12260 | * m/cydra5.h: | 12260 | * m/celerity.h: |
| 12261 | * m/delta88k.h: | 12261 | * m/clipper.h: |
| 12262 | * m/dpx2.h: | 12262 | * m/cnvrgnt.h: |
| 12263 | * m/dual.h: | 12263 | * m/convex.h: |
| 12264 | * m/elxsi.h: | 12264 | * m/cydra5.h: |
| 12265 | * m/f301.h: | 12265 | * m/delta88k.h: |
| 12266 | * m/gould-np1.h: | 12266 | * m/dpx2.h: |
| 12267 | * m/gould.h: | 12267 | * m/dual.h: |
| 12268 | * m/i860.h: | 12268 | * m/elxsi.h: |
| 12269 | * m/ibmps2-aix.h: | 12269 | * m/f301.h: |
| 12270 | * m/ibmrt-aix.h: | 12270 | * m/gould-np1.h: |
| 12271 | * m/ibmrt.h: | 12271 | * m/gould.h: |
| 12272 | * m/irist.h: | 12272 | * m/i860.h: |
| 12273 | * m/is386.h: | 12273 | * m/ibmps2-aix.h: |
| 12274 | * m/isi-ov.h: | 12274 | * m/ibmrt-aix.h: |
| 12275 | * m/mega68.h: | 12275 | * m/ibmrt.h: |
| 12276 | * m/mg1.h: | 12276 | * m/irist.h: |
| 12277 | * m/news-r6.h: | 12277 | * m/is386.h: |
| 12278 | * m/news-risc.h: | 12278 | * m/isi-ov.h: |
| 12279 | * m/news.h: | 12279 | * m/mega68.h: |
| 12280 | * m/nh3000.h: | 12280 | * m/mg1.h: |
| 12281 | * m/nh4000.h: | 12281 | * m/news-r6.h: |
| 12282 | * m/ns16000.h: | 12282 | * m/news-risc.h: |
| 12283 | * m/ns32000.h: | 12283 | * m/news.h: |
| 12284 | * m/nu.h: | 12284 | * m/nh3000.h: |
| 12285 | * m/orion.h: | 12285 | * m/nh4000.h: |
| 12286 | * m/orion105.h: | 12286 | * m/ns16000.h: |
| 12287 | * m/paragon.h: | 12287 | * m/ns32000.h: |
| 12288 | * m/pfa50.h: | 12288 | * m/nu.h: |
| 12289 | * m/plexus.h: | 12289 | * m/orion.h: |
| 12290 | * m/pyramid.h: | 12290 | * m/orion105.h: |
| 12291 | * m/pyrmips.h: | 12291 | * m/paragon.h: |
| 12292 | * m/sh3el.h: | 12292 | * m/pfa50.h: |
| 12293 | * m/sps7.h: | 12293 | * m/plexus.h: |
| 12294 | * m/sr2k.h: | 12294 | * m/pyramid.h: |
| 12295 | * m/stride.h: | 12295 | * m/pyrmips.h: |
| 12296 | * m/sun1.h: | 12296 | * m/sh3el.h: |
| 12297 | * m/sun2.h: | 12297 | * m/sps7.h: |
| 12298 | * m/sun3-68881.h: | 12298 | * m/sr2k.h: |
| 12299 | * m/sun3-fpa.h: | 12299 | * m/stride.h: |
| 12300 | * m/sun3-soft.h: | 12300 | * m/sun1.h: |
| 12301 | * m/sun3.h: | 12301 | * m/sun2.h: |
| 12302 | * m/sun386.h: | 12302 | * m/sun3-68881.h: |
| 12303 | * m/symmetry.h: | 12303 | * m/sun3-fpa.h: |
| 12304 | * m/tad68k.h: | 12304 | * m/sun3-soft.h: |
| 12305 | * m/tahoe.h: | 12305 | * m/sun3.h: |
| 12306 | * m/targon31.h: | 12306 | * m/sun386.h: |
| 12307 | * m/tek4300.h: | 12307 | * m/symmetry.h: |
| 12308 | * m/tekxd88.h: | 12308 | * m/tad68k.h: |
| 12309 | * m/tower32.h: | 12309 | * m/tahoe.h: |
| 12310 | * m/tower32v3.h: | 12310 | * m/targon31.h: |
| 12311 | * m/ustation.h: | 12311 | * m/tek4300.h: |
| 12312 | * m/wicat.h: | 12312 | * m/tekxd88.h: |
| 12313 | * m/xps100.h: | 12313 | * m/tower32.h: |
| 12314 | * s/cxux.h: | 12314 | * m/tower32v3.h: |
| 12315 | * s/cxux7.h: | 12315 | * m/ustation.h: |
| 12316 | * s/dgux.h: | 12316 | * m/wicat.h: |
| 12317 | * s/dgux4.h: | 12317 | * m/xps100.h: |
| 12318 | * s/dgux5-4-3.h: | 12318 | * s/cxux.h: |
| 12319 | * s/dgux5-4r2.h: | 12319 | * s/cxux7.h: |
| 12320 | * s/esix.h: | 12320 | * s/dgux.h: |
| 12321 | * s/esix5r4.h: | 12321 | * s/dgux4.h: |
| 12322 | * s/hiuxmpp.h: | 12322 | * s/dgux5-4-3.h: |
| 12323 | * s/hiuxwe2.h: | 12323 | * s/dgux5-4r2.h: |
| 12324 | * s/iris3-5.h: | 12324 | * s/esix.h: |
| 12325 | * s/iris3-6.h: | 12325 | * s/esix5r4.h: |
| 12326 | * s/isc2-2.h: | 12326 | * s/hiuxmpp.h: |
| 12327 | * s/isc3-0.h: | 12327 | * s/hiuxwe2.h: |
| 12328 | * s/isc4-0.h: | 12328 | * s/iris3-5.h: |
| 12329 | * s/isc4-1.h: | 12329 | * s/iris3-6.h: |
| 12330 | * s/newsos5.h: | 12330 | * s/isc2-2.h: |
| 12331 | * s/newsos6.h: | 12331 | * s/isc3-0.h: |
| 12332 | * s/osf1.h: | 12332 | * s/isc4-0.h: |
| 12333 | * s/osf5-0.h: | 12333 | * s/isc4-1.h: |
| 12334 | * s/riscix1-1.h: | 12334 | * s/newsos5.h: |
| 12335 | * s/riscix12.h: | 12335 | * s/newsos6.h: |
| 12336 | * s/sco4.h: | 12336 | * s/osf1.h: |
| 12337 | * s/sco5.h: | 12337 | * s/osf5-0.h: |
| 12338 | * s/sunos4-0.h: | 12338 | * s/riscix1-1.h: |
| 12339 | * s/sunos4-1.h: | 12339 | * s/riscix12.h: |
| 12340 | * s/sunos413.h: | 12340 | * s/sco4.h: |
| 12341 | * s/sunos4shr.h: | 12341 | * s/sco5.h: |
| 12342 | * s/umax.h: | 12342 | * s/sunos4-0.h: |
| 12343 | * s/unipl5-2.h: | 12343 | * s/sunos4-1.h: |
| 12344 | * s/xenix.h: | 12344 | * s/sunos413.h: |
| 12345 | * cxux-crt0.s: | 12345 | * s/sunos4shr.h: |
| 12346 | * unexapollo.c: | 12346 | * s/umax.h: |
| 12347 | * unexconvex.c: | 12347 | * s/unipl5-2.h: |
| 12348 | * unexenix.c: | 12348 | * s/xenix.h: |
| 12349 | * unexsni.c: Remove files for systems no longer supported. | 12349 | * cxux-crt0.s: |
| 12350 | 12350 | * unexapollo.c: | |
| 12351 | * m/intel386.h: Remove references to unsupported systems. | 12351 | * unexconvex.c: |
| 12352 | 12352 | * unexenix.c: | |
| 12353 | * w32.c (get_emacs_configuration): Remove reference to i860. | 12353 | * unexsni.c: Remove files for systems no longer supported. |
| 12354 | 12354 | ||
| 12355 | * sysdep.c: Remove dead code. | 12355 | * m/intel386.h: Remove references to unsupported systems. |
| 12356 | 12356 | ||
| 12357 | 2008-01-05 Dan Nicolaescu <dann@ics.uci.edu> | 12357 | * w32.c (get_emacs_configuration): Remove reference to i860. |
| 12358 | 12358 | ||
| 12359 | * s/rtu.h: | 12359 | * sysdep.c: Remove dead code. |
| 12360 | * m/masscomp.h: Remove files. Platform is obsolete. | 12360 | |
| 12361 | 12361 | 2008-01-05 Dan Nicolaescu <dann@ics.uci.edu> | |
| 12362 | 2008-01-04 Michael Albinus <michael.albinus@gmx.de> | 12362 | |
| 12363 | 12363 | * s/rtu.h: | |
| 12364 | * dbusbind.c (Fdbus_method_return): New function. | 12364 | * m/masscomp.h: Remove files. Platform is obsolete. |
| 12365 | (xd_read_message): Add the serial number to the event. | 12365 | |
| 12366 | (Fdbus_register_method): Activate the function. | 12366 | 2008-01-04 Michael Albinus <michael.albinus@gmx.de> |
| 12367 | 12367 | ||
| 12368 | 2008-01-03 Stefan Monnier <monnier@iro.umontreal.ca> | 12368 | * dbusbind.c (Fdbus_method_return): New function. |
| 12369 | 12369 | (xd_read_message): Add the serial number to the event. | |
| 12370 | * keyboard.c (read_key_sequence): Fix typo. | 12370 | (Fdbus_register_method): Activate the function. |
| 12371 | 12371 | ||
| 12372 | 2008-01-03 Michael Albinus <michael.albinus@gmx.de> | 12372 | 2008-01-03 Stefan Monnier <monnier@iro.umontreal.ca> |
| 12373 | 12373 | ||
| 12374 | * dbusbind.c (all): Replace XCAR by CAR_SAFE and XCDR by CDR_SAFE. | 12374 | * keyboard.c (read_key_sequence): Fix typo. |
| 12375 | (xd_signature, xd_append_arg): Handle element type detection for | 12375 | |
| 12376 | empty arrays. | 12376 | 2008-01-03 Michael Albinus <michael.albinus@gmx.de> |
| 12377 | (Fdbus_call_method, Fdbus_send_signal): Undo type casting for | 12377 | |
| 12378 | SDATA () calls; this must be solved more general. | 12378 | * dbusbind.c (all): Replace XCAR by CAR_SAFE and XCDR by CDR_SAFE. |
| 12379 | (Fdbus_register_signal): Use SBYTES instead of strlen. | 12379 | (xd_signature, xd_append_arg): Handle element type detection for |
| 12380 | 12380 | empty arrays. | |
| 12381 | 2008-01-03 Magnus Henoch <magnus@zemdatav> | 12381 | (Fdbus_call_method, Fdbus_send_signal): Undo type casting for |
| 12382 | 12382 | SDATA () calls; this must be solved more general. | |
| 12383 | * dbusbind.c (xd_append_arg): Use unsigned char instead of | 12383 | (Fdbus_register_signal): Use SBYTES instead of strlen. |
| 12384 | unsigned int for byte values (necessary for big-endian platform). | 12384 | |
| 12385 | (Fdbus_call_method): Handle the case of no returned arguments. | 12385 | 2008-01-03 Magnus Henoch <magnus@zemdatav> |
| 12386 | 12386 | ||
| 12387 | 2007-12-31 Tom Tromey <tromey@redhat.com> (tiny change) | 12387 | * dbusbind.c (xd_append_arg): Use unsigned char instead of |
| 12388 | 12388 | unsigned int for byte values (necessary for big-endian platform). | |
| 12389 | * dbusbind.c (xd_read_message): Use non-static input_event struct. | 12389 | (Fdbus_call_method): Handle the case of no returned arguments. |
| 12390 | 12390 | ||
| 12391 | 2007-12-31 Magnus Henoch <mange@freemail.hu> | 12391 | 2007-12-31 Tom Tromey <tromey@redhat.com> (tiny change) |
| 12392 | 12392 | ||
| 12393 | * dbusbind.c (xd_signature): Signature of variant is just "v". | 12393 | * dbusbind.c (xd_read_message): Use non-static input_event struct. |
| 12394 | 12394 | ||
| 12395 | 2007-12-30 Michael Albinus <michael.albinus@gmx.de> | 12395 | 2007-12-31 Magnus Henoch <mange@freemail.hu> |
| 12396 | 12396 | ||
| 12397 | * dbusbind.c: Fix several errors and compiler warnings. | 12397 | * dbusbind.c (xd_signature): Signature of variant is just "v". |
| 12398 | Reported by Tom Tromey <tromey@redhat.com>. | 12398 | |
| 12399 | (XD_ERROR, XD_DEBUG_MESSAGE) | 12399 | 2007-12-30 Michael Albinus <michael.albinus@gmx.de> |
| 12400 | (XD_DEBUG_VALID_LISP_OBJECT_P): Wrap code with "do ... while (0)". | 12400 | |
| 12401 | (xd_append_arg): Part for basic D-Bus types rewritten. | 12401 | * dbusbind.c: Fix several errors and compiler warnings. |
| 12402 | (xd_retrieve_arg): Split implementation of DBUS_TYPE_BYTE and | 12402 | Reported by Tom Tromey <tromey@redhat.com>. |
| 12403 | DBUS_TYPE_(U)INT16. Don't call XD_DEBUG_MESSAGE with "%f" if not | 12403 | (XD_ERROR, XD_DEBUG_MESSAGE) |
| 12404 | appropriate. | 12404 | (XD_DEBUG_VALID_LISP_OBJECT_P): Wrap code with "do ... while (0)". |
| 12405 | (xd_read_message): Return Qnil. Don't signal an error; it is not | 12405 | (xd_append_arg): Part for basic D-Bus types rewritten. |
| 12406 | useful during event reading. | 12406 | (xd_retrieve_arg): Split implementation of DBUS_TYPE_BYTE and |
| 12407 | (Fdbus_register_signal): Signal an error if the check for | 12407 | DBUS_TYPE_(U)INT16. Don't call XD_DEBUG_MESSAGE with "%f" if not |
| 12408 | FUNCTIONP fails. | 12408 | appropriate. |
| 12409 | (Fdbus_register_method): New function. The implementation is not | 12409 | (xd_read_message): Return Qnil. Don't signal an error; it is not |
| 12410 | complete, the call of the function signals an error therefore. | 12410 | useful during event reading. |
| 12411 | (Fdbus_unregister_object): New function, renamed from | 12411 | (Fdbus_register_signal): Signal an error if the check for |
| 12412 | Fdbus_unregister_signal. The initial check signals an error, if | 12412 | FUNCTIONP fails. |
| 12413 | the object is not well formed. | 12413 | (Fdbus_register_method): New function. The implementation is not |
| 12414 | 12414 | complete, the call of the function signals an error therefore. | |
| 12415 | 2007-12-30 Richard Stallman <rms@gnu.org> | 12415 | (Fdbus_unregister_object): New function, renamed from |
| 12416 | 12416 | Fdbus_unregister_signal. The initial check signals an error, if | |
| 12417 | * textprop.c (get_char_property_and_overlay): | 12417 | the object is not well formed. |
| 12418 | Signal error if POSITION is out of range in a buffer. | 12418 | |
| 12419 | 12419 | 2007-12-30 Richard Stallman <rms@gnu.org> | |
| 12420 | 2007-12-29 Martin Rudalics <rudalics@gmx.at> | 12420 | |
| 12421 | 12421 | * textprop.c (get_char_property_and_overlay): | |
| 12422 | * w32fns.c (Fx_create_frame): Make copy of frame parameters | 12422 | Signal error if POSITION is out of range in a buffer. |
| 12423 | because the original parameters are in pure storage now. | 12423 | |
| 12424 | 12424 | 2007-12-29 Martin Rudalics <rudalics@gmx.at> | |
| 12425 | 2007-12-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 12425 | |
| 12426 | 12426 | * w32fns.c (Fx_create_frame): Make copy of frame parameters | |
| 12427 | * xdisp.c (phys_cursor_in_rect_p): Check if cursor is in fringe area. | 12427 | because the original parameters are in pure storage now. |
| 12428 | 12428 | ||
| 12429 | 2007-12-22 Eli Zaretskii <eliz@gnu.org> | 12429 | 2007-12-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 12430 | 12430 | ||
| 12431 | * callint.c (syms_of_callint) <command-history>: Add reference to | 12431 | * xdisp.c (phys_cursor_in_rect_p): Check if cursor is in fringe area. |
| 12432 | history-length in the doc string. | 12432 | |
| 12433 | 12433 | 2007-12-22 Eli Zaretskii <eliz@gnu.org> | |
| 12434 | 2007-12-17 Jason Rumney <jasonr@gnu.org> | 12434 | |
| 12435 | 12435 | * callint.c (syms_of_callint) <command-history>: Add reference to | |
| 12436 | * w32fns.c (w32_wnd_proc) <WM_KEYDOWN>: Cast char to unsigned | 12436 | history-length in the doc string. |
| 12437 | before passing as wParam. | 12437 | |
| 12438 | 12438 | 2007-12-17 Jason Rumney <jasonr@gnu.org> | |
| 12439 | 2007-12-22 Michael Albinus <michael.albinus@gmx.de> | 12439 | |
| 12440 | 12440 | * w32fns.c (w32_wnd_proc) <WM_KEYDOWN>: Cast char to unsigned | |
| 12441 | * dbusbind.c (xd_retrieve_arg): Handle DBUS_TYPE_BYTE, | 12441 | before passing as wParam. |
| 12442 | DBUS_TYPE_INT16, DBUS_TYPE_UINT16, DBUS_TYPE_INT64, | 12442 | |
| 12443 | DBUS_TYPE_UINT64, DBUS_TYPE_DOUBLE and DBUS_TYPE_SIGNATURE. | 12443 | 2007-12-22 Michael Albinus <michael.albinus@gmx.de> |
| 12444 | Return float when DBUS_TYPE_INT32 or DBUS_TYPE_UINT32 do not fit | 12444 | |
| 12445 | as number. | 12445 | * dbusbind.c (xd_retrieve_arg): Handle DBUS_TYPE_BYTE, |
| 12446 | (Fdbus_call_method): Fix docstring. | 12446 | DBUS_TYPE_INT16, DBUS_TYPE_UINT16, DBUS_TYPE_INT64, |
| 12447 | 12447 | DBUS_TYPE_UINT64, DBUS_TYPE_DOUBLE and DBUS_TYPE_SIGNATURE. | |
| 12448 | 2007-12-21 Michael Albinus <michael.albinus@gmx.de> | 12448 | Return float when DBUS_TYPE_INT32 or DBUS_TYPE_UINT32 do not fit |
| 12449 | 12449 | as number. | |
| 12450 | * dbusbind.c (XD_BASIC_DBUS_TYPE, XD_DBUS_TYPE_P, XD_NEXT_VALUE): | 12450 | (Fdbus_call_method): Fix docstring. |
| 12451 | New macros. | 12451 | |
| 12452 | (XD_SYMBOL_TO_DBUS_TYPE): Rename from XD_LISP_SYMBOL_TO_DBUS_TYPE. | 12452 | 2007-12-21 Michael Albinus <michael.albinus@gmx.de> |
| 12453 | (XD_OBJECT_TO_DBUS_TYPE): Rename from XD_LISP_OBJECT_TO_DBUS_TYPE. | 12453 | |
| 12454 | Simplify. | 12454 | * dbusbind.c (XD_BASIC_DBUS_TYPE, XD_DBUS_TYPE_P, XD_NEXT_VALUE): |
| 12455 | (xd_signature): New function. | 12455 | New macros. |
| 12456 | (xd_append_arg): Compute also signatures. Major rewrite. | 12456 | (XD_SYMBOL_TO_DBUS_TYPE): Rename from XD_LISP_SYMBOL_TO_DBUS_TYPE. |
| 12457 | (xd_retrieve_arg): Make debug messages friendly. | 12457 | (XD_OBJECT_TO_DBUS_TYPE): Rename from XD_LISP_OBJECT_TO_DBUS_TYPE. |
| 12458 | (Fdbus_call_method, Fdbus_send_signal): Extend docstring. | 12458 | Simplify. |
| 12459 | Check for signatures of arguments. | 12459 | (xd_signature): New function. |
| 12460 | 12460 | (xd_append_arg): Compute also signatures. Major rewrite. | |
| 12461 | 2007-12-19 Michael Albinus <michael.albinus@gmx.de> | 12461 | (xd_retrieve_arg): Make debug messages friendly. |
| 12462 | 12462 | (Fdbus_call_method, Fdbus_send_signal): Extend docstring. | |
| 12463 | * dbusbind.c (QCdbus_type_byte, QCdbus_type_boolean) | 12463 | Check for signatures of arguments. |
| 12464 | (QCdbus_type_int16, QCdbus_type_uint16, QCdbus_type_int32) | 12464 | |
| 12465 | (QCdbus_type_uint32, QCdbus_type_int64, QCdbus_type_uint64) | 12465 | 2007-12-19 Michael Albinus <michael.albinus@gmx.de> |
| 12466 | (QCdbus_type_double, QCdbus_type_string, QCdbus_type_object_path) | 12466 | |
| 12467 | (QCdbus_type_signature, QCdbus_type_array, QCdbus_type_variant) | 12467 | * dbusbind.c (QCdbus_type_byte, QCdbus_type_boolean) |
| 12468 | (QCdbus_type_struct, QCdbus_type_dict_entry): New D-Bus type symbols. | 12468 | (QCdbus_type_int16, QCdbus_type_uint16, QCdbus_type_int32) |
| 12469 | (XD_LISP_SYMBOL_TO_DBUS_TYPE): New macro. | 12469 | (QCdbus_type_uint32, QCdbus_type_int64, QCdbus_type_uint64) |
| 12470 | (XD_LISP_OBJECT_TO_DBUS_TYPE): Add compound types. | 12470 | (QCdbus_type_double, QCdbus_type_string, QCdbus_type_object_path) |
| 12471 | (xd_retrieve_value): Remove. Functionality included in ... | 12471 | (QCdbus_type_signature, QCdbus_type_array, QCdbus_type_variant) |
| 12472 | (xd_append_arg): New function. | 12472 | (QCdbus_type_struct, QCdbus_type_dict_entry): New D-Bus type symbols. |
| 12473 | (Fdbus_call_method, Fdbus_send_signal): Apply it. | 12473 | (XD_LISP_SYMBOL_TO_DBUS_TYPE): New macro. |
| 12474 | 12474 | (XD_LISP_OBJECT_TO_DBUS_TYPE): Add compound types. | |
| 12475 | 2007-12-16 Michael Albinus <michael.albinus@gmx.de> | 12475 | (xd_retrieve_value): Remove. Functionality included in ... |
| 12476 | 12476 | (xd_append_arg): New function. | |
| 12477 | * dbusbind.c (top): Include <stdio.h>. | 12477 | (Fdbus_call_method, Fdbus_send_signal): Apply it. |
| 12478 | (Fdbus_call_method, Fdbus_send_signal): Apply type cast in | 12478 | |
| 12479 | dbus_message_new_method_call and dbus_message_new_signal. | 12479 | 2007-12-16 Michael Albinus <michael.albinus@gmx.de> |
| 12480 | (Fdbus_register_signal): Rename unique_name to uname. | 12480 | |
| 12481 | Check handler for FUNCTIONP instead of CHECK_SYMBOL. Handle case of | 12481 | * dbusbind.c (top): Include <stdio.h>. |
| 12482 | non-existing unique name. Fix typos in matching rule. Return an | 12482 | (Fdbus_call_method, Fdbus_send_signal): Apply type cast in |
| 12483 | object which is useful in Fdbus_unregister_signal. | 12483 | dbus_message_new_method_call and dbus_message_new_signal. |
| 12484 | (Fdbus_unregister_signal): Reimplementation, in order to remove | 12484 | (Fdbus_register_signal): Rename unique_name to uname. |
| 12485 | only the corresponding entry. | 12485 | Check handler for FUNCTIONP instead of CHECK_SYMBOL. Handle case of |
| 12486 | (Vdbus_registered_functions_table): Change the order of entries. | 12486 | non-existing unique name. Fix typos in matching rule. Return an |
| 12487 | Apply these changes in xd_read_message and Fdbus_register_signal. | 12487 | object which is useful in Fdbus_unregister_signal. |
| 12488 | 12488 | (Fdbus_unregister_signal): Reimplementation, in order to remove | |
| 12489 | 2007-12-16 Andreas Schwab <schwab@suse.de> | 12489 | only the corresponding entry. |
| 12490 | 12490 | (Vdbus_registered_functions_table): Change the order of entries. | |
| 12491 | * fileio.c (Finsert_file_contents): Fix overflow check to not | 12491 | Apply these changes in xd_read_message and Fdbus_register_signal. |
| 12492 | depend on undefined integer overflow. | 12492 | |
| 12493 | 12493 | 2007-12-16 Andreas Schwab <schwab@suse.de> | |
| 12494 | 2007-12-14 Jason Rumney <jasonr@gnu.org> | 12494 | |
| 12495 | 12495 | * fileio.c (Finsert_file_contents): Fix overflow check to not | |
| 12496 | * w32term.c (w32_read_socket): Use MULTIBYTE_CHAR_KEYSTROKE_EVENT | 12496 | depend on undefined integer overflow. |
| 12497 | for characters above 127. | 12497 | |
| 12498 | 12498 | 2007-12-14 Jason Rumney <jasonr@gnu.org> | |
| 12499 | 2007-12-13 Jason Rumney <jasonr@gnu.org> | 12499 | |
| 12500 | 12500 | * w32term.c (w32_read_socket): Use MULTIBYTE_CHAR_KEYSTROKE_EVENT | |
| 12501 | * w32fns.c (w32_wnd_proc, Fw32_reconstruct_hot_key): Range check | 12501 | for characters above 127. |
| 12502 | before dereferencing array. | 12502 | |
| 12503 | (lookup_vk_code): Remove zero comparison. | 12503 | 2007-12-13 Jason Rumney <jasonr@gnu.org> |
| 12504 | 12504 | ||
| 12505 | 2007-12-14 Michael Albinus <michael.albinus@gmx.de> | 12505 | * w32fns.c (w32_wnd_proc, Fw32_reconstruct_hot_key): Range check |
| 12506 | 12506 | before dereferencing array. | |
| 12507 | * dbusbind.c (xd_retrieve_value, xd_retrieve_arg) | 12507 | (lookup_vk_code): Remove zero comparison. |
| 12508 | (Fdbus_call_method, Fdbus_send_signal, xd_read_message): | 12508 | |
| 12509 | Use `unsigned int' instead of `uint'. | 12509 | 2007-12-14 Michael Albinus <michael.albinus@gmx.de> |
| 12510 | (xd_read_message, Fdbus_register_signal): Split expressions into | 12510 | |
| 12511 | multiple lines before operators "&&" and "||", according to the | 12511 | * dbusbind.c (xd_retrieve_value, xd_retrieve_arg) |
| 12512 | GNU Coding Standards. | 12512 | (Fdbus_call_method, Fdbus_send_signal, xd_read_message): |
| 12513 | 12513 | Use `unsigned int' instead of `uint'. | |
| 12514 | 2007-12-14 Eli Zaretskii <eliz@gnu.org> | 12514 | (xd_read_message, Fdbus_register_signal): Split expressions into |
| 12515 | 12515 | multiple lines before operators "&&" and "||", according to the | |
| 12516 | * dispextern.h (WINDOWS_NT): Fix incorrect spelling of WINDOWSNT. | 12516 | GNU Coding Standards. |
| 12517 | 12517 | ||
| 12518 | 2007-12-12 Juri Linkov <juri@jurta.org> | 12518 | 2007-12-14 Eli Zaretskii <eliz@gnu.org> |
| 12519 | 12519 | ||
| 12520 | * buffer.c (Frename_buffer): In interactive spec replace | 12520 | * dispextern.h (WINDOWS_NT): Fix incorrect spelling of WINDOWSNT. |
| 12521 | `read-buffer' with `read-string' that uses `buffer-name-history' | 12521 | |
| 12522 | as history, and the current buffer's name as default. | 12522 | 2007-12-12 Juri Linkov <juri@jurta.org> |
| 12523 | 12523 | ||
| 12524 | 2007-12-10 Stefan Monnier <monnier@iro.umontreal.ca> | 12524 | * buffer.c (Frename_buffer): In interactive spec replace |
| 12525 | 12525 | `read-buffer' with `read-string' that uses `buffer-name-history' | |
| 12526 | * keyboard.c (Fcommand_execute): Call Qcall_interactively instead of | 12526 | as history, and the current buffer's name as default. |
| 12527 | manipulating the backtrace manually. | 12527 | |
| 12528 | (make_lispy_event): Merge the ASCII and MULTIBYTE cases. | 12528 | 2007-12-10 Stefan Monnier <monnier@iro.umontreal.ca> |
| 12529 | (struct backtrace, backtrace_list): Remove. | 12529 | |
| 12530 | (command_loop_1): Remove dead var `no_direct'. | 12530 | * keyboard.c (Fcommand_execute): Call Qcall_interactively instead of |
| 12531 | 12531 | manipulating the backtrace manually. | |
| 12532 | * buffer.c (reset_buffer_local_variables): If permanent_too is 0, also | 12532 | (make_lispy_event): Merge the ASCII and MULTIBYTE cases. |
| 12533 | preserve non-built-in buffer-local variables. | 12533 | (struct backtrace, backtrace_list): Remove. |
| 12534 | (Fkill_all_local_variables): Don't re-create&re-set permanent | 12534 | (command_loop_1): Remove dead var `no_direct'. |
| 12535 | buffer-local variables. | 12535 | |
| 12536 | 12536 | * buffer.c (reset_buffer_local_variables): If permanent_too is 0, also | |
| 12537 | 2007-12-09 Juri Linkov <juri@jurta.org> | 12537 | preserve non-built-in buffer-local variables. |
| 12538 | 12538 | (Fkill_all_local_variables): Don't re-create&re-set permanent | |
| 12539 | * buffer.c (Frename_buffer): Change interactive spec from "s" to | 12539 | buffer-local variables. |
| 12540 | Lisp code that uses `read-buffer' with current buffer as default. | 12540 | |
| 12541 | 12541 | 2007-12-09 Juri Linkov <juri@jurta.org> | |
| 12542 | 2007-12-08 Michael Albinus <michael.albinus@gmx.de> | 12542 | |
| 12543 | 12543 | * buffer.c (Frename_buffer): Change interactive spec from "s" to | |
| 12544 | * dbusbind.c (xd_read_message): Generate an event for every | 12544 | Lisp code that uses `read-buffer' with current buffer as default. |
| 12545 | registered handler. There might be several handlers registered | 12545 | |
| 12546 | for the same signal. | 12546 | 2007-12-08 Michael Albinus <michael.albinus@gmx.de> |
| 12547 | (Fdbus_register_signal): Don't overwrite a registration for the | 12547 | |
| 12548 | same signal. Add a new registration if handlers are different. | 12548 | * dbusbind.c (xd_read_message): Generate an event for every |
| 12549 | (Vdbus_registered_functions_table): Rework doc string. | 12549 | registered handler. There might be several handlers registered |
| 12550 | 12550 | for the same signal. | |
| 12551 | 2007-12-07 Michael Albinus <michael.albinus@gmx.de> | 12551 | (Fdbus_register_signal): Don't overwrite a registration for the |
| 12552 | 12552 | same signal. Add a new registration if handlers are different. | |
| 12553 | * dbusbind.c (Fdbus_get_unique_name, xd_read_message) | 12553 | (Vdbus_registered_functions_table): Rework doc string. |
| 12554 | (Fdbus_register_signal): Use DBUS_MAXIMUM_NAME_LENGTH and | 12554 | |
| 12555 | DBUS_MAXIMUM_MATCH_RULE_LENGTH for string lengths. | 12555 | 2007-12-07 Michael Albinus <michael.albinus@gmx.de> |
| 12556 | (Fdbus_call_method, Fdbus_send_signal, Fdbus_register_signal): | 12556 | |
| 12557 | Unify argument lists. | 12557 | * dbusbind.c (Fdbus_get_unique_name, xd_read_message) |
| 12558 | (xd_read_message, Fdbus_register_signal): Reorder and extend event | 12558 | (Fdbus_register_signal): Use DBUS_MAXIMUM_NAME_LENGTH and |
| 12559 | arguments and hash table keys. Use unique name for service. | 12559 | DBUS_MAXIMUM_MATCH_RULE_LENGTH for string lengths. |
| 12560 | (Fdbus_unregister_signal): Remove checks. | 12560 | (Fdbus_call_method, Fdbus_send_signal, Fdbus_register_signal): |
| 12561 | (Vdbus_registered_functions_table): Fix doc string. | 12561 | Unify argument lists. |
| 12562 | 12562 | (xd_read_message, Fdbus_register_signal): Reorder and extend event | |
| 12563 | 2007-12-05 Magnus Henoch <mange@freemail.hu> | 12563 | arguments and hash table keys. Use unique name for service. |
| 12564 | 12564 | (Fdbus_unregister_signal): Remove checks. | |
| 12565 | * process.c (make_process): Initialize pty_flag to 0. | 12565 | (Vdbus_registered_functions_table): Fix doc string. |
| 12566 | 12566 | ||
| 12567 | 2007-12-05 Jason Rumney <jasonr@gnu.org> | 12567 | 2007-12-05 Magnus Henoch <mange@freemail.hu> |
| 12568 | 12568 | ||
| 12569 | * image.c (xbm_load) [WINDOWSNT]: Shuffle the bits of directly | 12569 | * process.c (make_process): Initialize pty_flag to 0. |
| 12570 | specified XBMs. | 12570 | |
| 12571 | 12571 | 2007-12-05 Jason Rumney <jasonr@gnu.org> | |
| 12572 | 2007-12-05 Richard Stallman <rms@gnu.org> | 12572 | |
| 12573 | 12573 | * image.c (xbm_load) [WINDOWSNT]: Shuffle the bits of directly | |
| 12574 | * xdisp.c (syms_of_xdisp) <scroll-conservatively>: Doc fix. | 12574 | specified XBMs. |
| 12575 | 12575 | ||
| 12576 | 2007-12-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 12576 | 2007-12-05 Richard Stallman <rms@gnu.org> |
| 12577 | 12577 | ||
| 12578 | * mac.c (cfsockets_for_select) [MAC_OSX && SELECT_USE_CFSOCKET]: | 12578 | * xdisp.c (syms_of_xdisp) <scroll-conservatively>: Doc fix. |
| 12579 | New variable. | 12579 | |
| 12580 | (mac_try_close_socket) [MAC_OSX]: New function. | 12580 | 2007-12-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 12581 | [MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]: | 12581 | |
| 12582 | Update cfsockets_for_select. Replace invalid CFRunLoop source. | 12582 | * mac.c (cfsockets_for_select) [MAC_OSX && SELECT_USE_CFSOCKET]: |
| 12583 | 12583 | New variable. | |
| 12584 | * sysdep.c (emacs_close) [MAC_OSX && HAVE_CARBON]: | 12584 | (mac_try_close_socket) [MAC_OSX]: New function. |
| 12585 | Use mac_try_close_socket. | 12585 | [MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]: |
| 12586 | 12586 | Update cfsockets_for_select. Replace invalid CFRunLoop source. | |
| 12587 | 2007-12-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 12587 | |
| 12588 | 12588 | * sysdep.c (emacs_close) [MAC_OSX && HAVE_CARBON]: | |
| 12589 | * unexmacosx.c (unrelocate): New argument BASE. Use it instead of | 12589 | Use mac_try_close_socket. |
| 12590 | reloc_base. | 12590 | |
| 12591 | (copy_dysymtab): Compute relocation base here. | 12591 | 2007-12-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 12592 | (rebase_reloc_address) [__ppc64__]: New function. | 12592 | |
| 12593 | (copy_dysymtab) [__ppc64__]: Use it if relocation base needs to be | 12593 | * unexmacosx.c (unrelocate): New argument BASE. Use it instead of |
| 12594 | changed. | 12594 | reloc_base. |
| 12595 | 12595 | (copy_dysymtab): Compute relocation base here. | |
| 12596 | 2007-12-05 Jason Rumney <jasonr@gnu.org> | 12596 | (rebase_reloc_address) [__ppc64__]: New function. |
| 12597 | 12597 | (copy_dysymtab) [__ppc64__]: Use it if relocation base needs to be | |
| 12598 | * w32proc.c (sys_spawnve): Quote args with wildcards. | 12598 | changed. |
| 12599 | 12599 | ||
| 12600 | 2007-12-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 12600 | 2007-12-05 Jason Rumney <jasonr@gnu.org> |
| 12601 | 12601 | ||
| 12602 | * unexmacosx.c (copy_data_segment): Also copy __gcc_except_tab and | 12602 | * w32proc.c (sys_spawnve): Quote args with wildcards. |
| 12603 | __objc_* sections. | 12603 | |
| 12604 | (unrelocate) [_LP64]: Set relocation base to address of data segment. | 12604 | 2007-12-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 12605 | 12605 | ||
| 12606 | 2007-12-05 Michael Albinus <michael.albinus@gmx.de> | 12606 | * unexmacosx.c (copy_data_segment): Also copy __gcc_except_tab and |
| 12607 | 12607 | __objc_* sections. | |
| 12608 | * dbusbind.c (xd_read_message): Return value is a Lisp_Object. | 12608 | (unrelocate) [_LP64]: Set relocation base to address of data segment. |
| 12609 | Move check for Vdbus_registered_functions_table to | 12609 | |
| 12610 | xd_read_queued_messages. | 12610 | 2007-12-05 Michael Albinus <michael.albinus@gmx.de> |
| 12611 | (xd_read_queued_messages): Protect xd_read_message calls by | 12611 | |
| 12612 | internal_condition_case_1. | 12612 | * dbusbind.c (xd_read_message): Return value is a Lisp_Object. |
| 12613 | 12613 | Move check for Vdbus_registered_functions_table to | |
| 12614 | 2007-12-04 Michael Albinus <michael.albinus@gmx.de> | 12614 | xd_read_queued_messages. |
| 12615 | 12615 | (xd_read_queued_messages): Protect xd_read_message calls by | |
| 12616 | * dbusbind.c (QCdbus_system_bus, QCdbus_session_bus): Rename from | 12616 | internal_condition_case_1. |
| 12617 | Qdbus_system_bus and Qdbus_session_bus, respectively. | 12617 | |
| 12618 | (Vdbus_intern_symbols): Remove. | 12618 | 2007-12-04 Michael Albinus <michael.albinus@gmx.de> |
| 12619 | (Vdbus_registered_functions_table): New hash table. | 12619 | |
| 12620 | (XD_SYMBOL_INTERN_SYMBOL): Remove. | 12620 | * dbusbind.c (QCdbus_system_bus, QCdbus_session_bus): Rename from |
| 12621 | (xd_read_message, Fdbus_register_signal, Fdbus_unregister_signal): | 12621 | Qdbus_system_bus and Qdbus_session_bus, respectively. |
| 12622 | Rewrite in order to manage registered functions by hash table | 12622 | (Vdbus_intern_symbols): Remove. |
| 12623 | Vdbus_registered_functions_table. | 12623 | (Vdbus_registered_functions_table): New hash table. |
| 12624 | 12624 | (XD_SYMBOL_INTERN_SYMBOL): Remove. | |
| 12625 | 2007-12-03 Jan Djärv <jan.h.d@swipnet.se> | 12625 | (xd_read_message, Fdbus_register_signal, Fdbus_unregister_signal): |
| 12626 | 12626 | Rewrite in order to manage registered functions by hash table | |
| 12627 | * xterm.c: Update URL to Window Manager Specification in comment. | 12627 | Vdbus_registered_functions_table. |
| 12628 | 12628 | ||
| 12629 | 2007-12-02 Michael Albinus <michael.albinus@gmx.de> | 12629 | 2007-12-03 Jan Djärv <jan.h.d@swipnet.se> |
| 12630 | 12630 | ||
| 12631 | * config.in (HAVE_DBUS): Add. | 12631 | * xterm.c: Update URL to Window Manager Specification in comment. |
| 12632 | 12632 | ||
| 12633 | * Makefile.in (HAVE_DBUS): Add D-Bus definitions if defined. | 12633 | 2007-12-02 Michael Albinus <michael.albinus@gmx.de> |
| 12634 | (ALL_CFLAGS): Add ${DBUS_CFLAGS}. | 12634 | |
| 12635 | (obj): Add $(DBUS_OBJ). | 12635 | * config.in (HAVE_DBUS): Add. |
| 12636 | (LIBES): Add $(DBUS_LIBS). | 12636 | |
| 12637 | (dbusbind.o): New target. | 12637 | * Makefile.in (HAVE_DBUS): Add D-Bus definitions if defined. |
| 12638 | 12638 | (ALL_CFLAGS): Add ${DBUS_CFLAGS}. | |
| 12639 | * dbusbind.c: New file. | 12639 | (obj): Add $(DBUS_OBJ). |
| 12640 | 12640 | (LIBES): Add $(DBUS_LIBS). | |
| 12641 | * emacs.c (main): Call syms_of_dbusbind when HAVE_DBUS is defined. | 12641 | (dbusbind.o): New target. |
| 12642 | 12642 | ||
| 12643 | * keyboard.c: All D-Bus related code is wrapped by "#ifdef HAVE_DBUS". | 12643 | * dbusbind.c: New file. |
| 12644 | (Qdbus_event): New Lisp symbol. | 12644 | |
| 12645 | (kbd_buffer_get_event, make_lispy_event): Handle DBUS_EVENT. | 12645 | * emacs.c (main): Call syms_of_dbusbind when HAVE_DBUS is defined. |
| 12646 | (gobble_input): Call xd_read_queued_messages, reading D-Bus messages. | 12646 | |
| 12647 | (keys_of_keyboard ): Define dbus-event. | 12647 | * keyboard.c: All D-Bus related code is wrapped by "#ifdef HAVE_DBUS". |
| 12648 | 12648 | (Qdbus_event): New Lisp symbol. | |
| 12649 | * termhooks.h (event_kind): Add DBUS_EVENT when HAVE_DBUS is defined. | 12649 | (kbd_buffer_get_event, make_lispy_event): Handle DBUS_EVENT. |
| 12650 | 12650 | (gobble_input): Call xd_read_queued_messages, reading D-Bus messages. | |
| 12651 | 2007-12-01 Richard Stallman <rms@gnu.org> | 12651 | (keys_of_keyboard ): Define dbus-event. |
| 12652 | 12652 | ||
| 12653 | * search.c (syms_of_search) <inhibit-changing-match-data>: Doc fix. | 12653 | * termhooks.h (event_kind): Add DBUS_EVENT when HAVE_DBUS is defined. |
| 12654 | 12654 | ||
| 12655 | 2007-11-30 Jason Rumney <jasonr@gnu.org> | 12655 | 2007-12-01 Richard Stallman <rms@gnu.org> |
| 12656 | 12656 | ||
| 12657 | * w32console.c (w32con_ins_del_lines, scroll_line): Clip to window. | 12657 | * search.c (syms_of_search) <inhibit-changing-match-data>: Doc fix. |
| 12658 | (w32con_reset_terminal_modes): Clear screen buffer. | 12658 | |
| 12659 | (w32_face_attributes): Don't use color indexes that are out of range. | 12659 | 2007-11-30 Jason Rumney <jasonr@gnu.org> |
| 12660 | Only reverse the default colors. | 12660 | |
| 12661 | 12661 | * w32console.c (w32con_ins_del_lines, scroll_line): Clip to window. | |
| 12662 | * xfaces.c (map_tty_color, tty_color_name): Remove special case for | 12662 | (w32con_reset_terminal_modes): Clear screen buffer. |
| 12663 | WINDOWSNT. | 12663 | (w32_face_attributes): Don't use color indexes that are out of range. |
| 12664 | 12664 | Only reverse the default colors. | |
| 12665 | * w32console.c, w32term.h (vga_stdcolor_name): Remove. | 12665 | |
| 12666 | 12666 | * xfaces.c (map_tty_color, tty_color_name): Remove special case for | |
| 12667 | 2007-11-29 Jason Rumney <jasonr@gnu.org> | 12667 | WINDOWSNT. |
| 12668 | 12668 | ||
| 12669 | * w32console.c: Leave HAVE_WINDOW_SYSTEM defined. | 12669 | * w32console.c, w32term.h (vga_stdcolor_name): Remove. |
| 12670 | (w32_face_attributes): Use Vtty_defined_color_alist to determine | 12670 | |
| 12671 | if the terminal colors are initialized. | 12671 | 2007-11-29 Jason Rumney <jasonr@gnu.org> |
| 12672 | (unspecified_fg, unspecified_bg): Remove unused declarations. | 12672 | |
| 12673 | 12673 | * w32console.c: Leave HAVE_WINDOW_SYSTEM defined. | |
| 12674 | 2007-11-29 Andreas Schwab <schwab@suse.de> | 12674 | (w32_face_attributes): Use Vtty_defined_color_alist to determine |
| 12675 | 12675 | if the terminal colors are initialized. | |
| 12676 | * keyboard.c (apply_modifiers): Fix typo. | 12676 | (unspecified_fg, unspecified_bg): Remove unused declarations. |
| 12677 | 12677 | ||
| 12678 | 2007-11-29 Richard Stallman <rms@gnu.org> | 12678 | 2007-11-29 Andreas Schwab <schwab@suse.de> |
| 12679 | 12679 | ||
| 12680 | * keymap.c (Fcurrent_local_map): Doc fix. | 12680 | * keyboard.c (apply_modifiers): Fix typo. |
| 12681 | 12681 | ||
| 12682 | 2007-11-28 Petr Salinger <Petr.Salinger@seznam.cz> (tiny change) | 12682 | 2007-11-29 Richard Stallman <rms@gnu.org> |
| 12683 | 12683 | ||
| 12684 | * s/gnu-kfreebsd.h: New file. | 12684 | * keymap.c (Fcurrent_local_map): Doc fix. |
| 12685 | 12685 | ||
| 12686 | 2007-11-28 Stefan Monnier <monnier@iro.umontreal.ca> | 12686 | 2007-11-28 Petr Salinger <Petr.Salinger@seznam.cz> (tiny change) |
| 12687 | 12687 | ||
| 12688 | * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): | 12688 | * s/gnu-kfreebsd.h: New file. |
| 12689 | Don't cast redundantly. | 12689 | |
| 12690 | 12690 | 2007-11-28 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 12691 | * keyboard.c (KEY_TO_CHAR): New macro. | 12691 | |
| 12692 | (parse_modifiers, apply_modifiers): Accept integer arguments. | 12692 | * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): |
| 12693 | (read_key_sequence): Use them to unify the "shift->unshift" mapping | 12693 | Don't cast redundantly. |
| 12694 | for chars and symbol keys. | 12694 | |
| 12695 | After doing such remapping, apply function-key-map again. | 12695 | * keyboard.c (KEY_TO_CHAR): New macro. |
| 12696 | 12696 | (parse_modifiers, apply_modifiers): Accept integer arguments. | |
| 12697 | 2007-11-27 Dan Nicolaescu <dann@ics.uci.edu> | 12697 | (read_key_sequence): Use them to unify the "shift->unshift" mapping |
| 12698 | 12698 | for chars and symbol keys. | |
| 12699 | * Makefile.in (SOME_MACHINE_LISP): Remove VMS files, they are not | 12699 | After doing such remapping, apply function-key-map again. |
| 12700 | compiled anymore. | 12700 | |
| 12701 | 12701 | 2007-11-27 Dan Nicolaescu <dann@ics.uci.edu> | |
| 12702 | 2007-11-26 Andreas Schwab <schwab@suse.de> | 12702 | |
| 12703 | 12703 | * Makefile.in (SOME_MACHINE_LISP): Remove VMS files, they are not | |
| 12704 | * process.c (list_processes_1): Fix indentation level of the | 12704 | compiled anymore. |
| 12705 | command column. | 12705 | |
| 12706 | 12706 | 2007-11-26 Andreas Schwab <schwab@suse.de> | |
| 12707 | 2007-11-23 Andreas Schwab <schwab@suse.de> | 12707 | |
| 12708 | 12708 | * process.c (list_processes_1): Fix indentation level of the | |
| 12709 | * editfns.c (Fformat): Handle %c specially since it requires the | 12709 | command column. |
| 12710 | argument to be of type int. | 12710 | |
| 12711 | 12711 | 2007-11-23 Andreas Schwab <schwab@suse.de> | |
| 12712 | 2007-11-23 Markus Triska <markus.triska@gmx.at> | 12712 | |
| 12713 | 12713 | * editfns.c (Fformat): Handle %c specially since it requires the | |
| 12714 | * emacs.c (main): Call init_editfns before init_process, since | 12714 | argument to be of type int. |
| 12715 | init_process sets Vprocess_connection_type depending on OS release. | 12715 | |
| 12716 | 12716 | 2007-11-23 Markus Triska <markus.triska@gmx.at> | |
| 12717 | 2007-11-22 Stefan Monnier <monnier@iro.umontreal.ca> | 12717 | |
| 12718 | 12718 | * emacs.c (main): Call init_editfns before init_process, since | |
| 12719 | * data.c (do_symval_forwarding): Use same code as in find_symbol_value. | 12719 | init_process sets Vprocess_connection_type depending on OS release. |
| 12720 | (find_symbol_value): Use do_symval_forwarding. | 12720 | |
| 12721 | 12721 | 2007-11-22 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 12722 | * data.c (set_internal): Set the value in the `cons-cell' (for | 12722 | |
| 12723 | Buffer_Local_values) not only for frame-local variables. | 12723 | * data.c (do_symval_forwarding): Use same code as in find_symbol_value. |
| 12724 | 12724 | (find_symbol_value): Use do_symval_forwarding. | |
| 12725 | 2007-11-22 Andreas Schwab <schwab@suse.de> | 12725 | |
| 12726 | 12726 | * data.c (set_internal): Set the value in the `cons-cell' (for | |
| 12727 | * data.c (Fnumber_to_string): Add cast when passing EMACS_INT | 12727 | Buffer_Local_values) not only for frame-local variables. |
| 12728 | values to sprintf. | 12728 | |
| 12729 | * keymap.c (Fsingle_key_description): Likewise. | 12729 | 2007-11-22 Andreas Schwab <schwab@suse.de> |
| 12730 | * print.c (print_object): Likewise. | 12730 | |
| 12731 | 12731 | * data.c (Fnumber_to_string): Add cast when passing EMACS_INT | |
| 12732 | 2007-11-22 Jan Djärv <jan.h.d@swipnet.se> | 12732 | values to sprintf. |
| 12733 | 12733 | * keymap.c (Fsingle_key_description): Likewise. | |
| 12734 | * gtkutil.c (update_frame_tool_bar): Don't call x-gtk-map-stock if | 12734 | * print.c (print_object): Likewise. |
| 12735 | file for image is nil. | 12735 | |
| 12736 | 12736 | 2007-11-22 Jan Djärv <jan.h.d@swipnet.se> | |
| 12737 | 2007-11-22 Dan Nicolaescu <dann@ics.uci.edu> | 12737 | |
| 12738 | 12738 | * gtkutil.c (update_frame_tool_bar): Don't call x-gtk-map-stock if | |
| 12739 | * term.c: Include stdarg.h. | 12739 | file for image is nil. |
| 12740 | (fatal): Implement using varargs. | 12740 | |
| 12741 | * lisp.h (fatal): Add argument types. (Restore 2005-09-30 change). | 12741 | 2007-11-22 Dan Nicolaescu <dann@ics.uci.edu> |
| 12742 | 12742 | ||
| 12743 | 2007-11-21 Stefan Monnier <monnier@iro.umontreal.ca> | 12743 | * term.c: Include stdarg.h. |
| 12744 | 12744 | (fatal): Implement using varargs. | |
| 12745 | * lisp.h (struct Lisp_Buffer_Objfwd): Add a `slottype' field. | 12745 | * lisp.h (fatal): Add argument types. (Restore 2005-09-30 change). |
| 12746 | * data.c (store_symval_forwarding): Get type from buffer_objfwd. | 12746 | |
| 12747 | Update call to buffer_slot_type_mismatch. | 12747 | 2007-11-21 Stefan Monnier <monnier@iro.umontreal.ca> |
| 12748 | * buffer.h (buffer_local_types, PER_BUFFER_TYPE): Remove. | 12748 | |
| 12749 | (buffer_slot_type_mismatch): Update. | 12749 | * lisp.h (struct Lisp_Buffer_Objfwd): Add a `slottype' field. |
| 12750 | * buffer.c (buffer_local_types): Remove. | 12750 | * data.c (store_symval_forwarding): Get type from buffer_objfwd. |
| 12751 | (buffer_slot_type_mismatch): Get the symbol and type as arguments. | 12751 | Update call to buffer_slot_type_mismatch. |
| 12752 | (defvar_per_buffer): Set the type in the buffer_objfwd. | 12752 | * buffer.h (buffer_local_types, PER_BUFFER_TYPE): Remove. |
| 12753 | 12753 | (buffer_slot_type_mismatch): Update. | |
| 12754 | 2007-11-21 Jason Rumney <jasonr@gnu.org> | 12754 | * buffer.c (buffer_local_types): Remove. |
| 12755 | 12755 | (buffer_slot_type_mismatch): Get the symbol and type as arguments. | |
| 12756 | * w32bdf.c (w32_init_bdf_font, w32_BDF_to_x_font): | 12756 | (defvar_per_buffer): Set the type in the buffer_objfwd. |
| 12757 | CreateFileMapping returns NULL on failure. | 12757 | |
| 12758 | 12758 | 2007-11-21 Jason Rumney <jasonr@gnu.org> | |
| 12759 | 2007-11-21 Stefan Monnier <monnier@iro.umontreal.ca> | 12759 | |
| 12760 | 12760 | * w32bdf.c (w32_init_bdf_font, w32_BDF_to_x_font): | |
| 12761 | * search.c (Fset_match_data): Remove the `evaporate' feature. | 12761 | CreateFileMapping returns NULL on failure. |
| 12762 | (unwind_set_match_data): Don't use the `evaporate' feature. | 12762 | |
| 12763 | 12763 | 2007-11-21 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 12764 | 2007-11-21 Jason Rumney <jasonr@gnu.org> | 12764 | |
| 12765 | 12765 | * search.c (Fset_match_data): Remove the `evaporate' feature. | |
| 12766 | * dispnew.c (init_display) [WINDOWSNT]: Hardcode terminal_type. | 12766 | (unwind_set_match_data): Don't use the `evaporate' feature. |
| 12767 | 12767 | ||
| 12768 | * w32console.c (w32con_write_glyphs): Remove unused variables. | 12768 | 2007-11-21 Jason Rumney <jasonr@gnu.org> |
| 12769 | 12769 | ||
| 12770 | 2007-11-20 Dan Nicolaescu <dann@ics.uci.edu> | 12770 | * dispnew.c (init_display) [WINDOWSNT]: Hardcode terminal_type. |
| 12771 | 12771 | ||
| 12772 | * macterm.c (mac_term_init): Call add_keyboard_wait_descriptor. | 12772 | * w32console.c (w32con_write_glyphs): Remove unused variables. |
| 12773 | 12773 | ||
| 12774 | * s/darwin.h (MULTI_KBOARD): Remove. | 12774 | 2007-11-20 Dan Nicolaescu <dann@ics.uci.edu> |
| 12775 | 12775 | ||
| 12776 | * macfns.c (x_create_tip_frame, Fx_create_frame) | 12776 | * macterm.c (mac_term_init): Call add_keyboard_wait_descriptor. |
| 12777 | (x_create_tip_frame): Don't deal with MULTI_KBOARD. | 12777 | |
| 12778 | 12778 | * s/darwin.h (MULTI_KBOARD): Remove. | |
| 12779 | 2007-11-19 Stefan Monnier <monnier@iro.umontreal.ca> | 12779 | |
| 12780 | 12780 | * macfns.c (x_create_tip_frame, Fx_create_frame) | |
| 12781 | * buffer.c (Fbuffer_local_value): Remove redundant test. | 12781 | (x_create_tip_frame): Don't deal with MULTI_KBOARD. |
| 12782 | (swap_out_buffer_local_variables): Swap out binding in `buffer' rather | 12782 | |
| 12783 | than in `current-buffer' to match the comment. | 12783 | 2007-11-19 Stefan Monnier <monnier@iro.umontreal.ca> |
| 12784 | Do the swap using swap_in_global_binding. | 12784 | |
| 12785 | 12785 | * buffer.c (Fbuffer_local_value): Remove redundant test. | |
| 12786 | * data.c (store_symval_forwarding, set_internal): | 12786 | (swap_out_buffer_local_variables): Swap out binding in `buffer' rather |
| 12787 | * eval.c (specbind): Remove dead code. | 12787 | than in `current-buffer' to match the comment. |
| 12788 | 12788 | Do the swap using swap_in_global_binding. | |
| 12789 | * coding.c (detect_coding, Fupdate_coding_systems_internal): | 12789 | |
| 12790 | * fns.c (Fmd5): Use find_symbol_value rather than SYMBOL_VALUE | 12790 | * data.c (store_symval_forwarding, set_internal): |
| 12791 | Since we do not want to see internal Lisp_*fwd objects here. | 12791 | * eval.c (specbind): Remove dead code. |
| 12792 | 12792 | ||
| 12793 | 2007-11-18 Jan Djärv <jan.h.d@swipnet.se> | 12793 | * coding.c (detect_coding, Fupdate_coding_systems_internal): |
| 12794 | 12794 | * fns.c (Fmd5): Use find_symbol_value rather than SYMBOL_VALUE | |
| 12795 | * sysdep.c (init_system_name): Use getaddrinfo if available. | 12795 | Since we do not want to see internal Lisp_*fwd objects here. |
| 12796 | 12796 | ||
| 12797 | * xterm.c (x_scroll_bar_set_handle, x_scroll_bar_handle_click) | 12797 | 2007-11-18 Jan Djärv <jan.h.d@swipnet.se> |
| 12798 | (x_scroll_bar_note_movement): start, end, with, height in struct | 12798 | |
| 12799 | scroll_bar are integers and not Lisp_Object, so remove XINT for them. | 12799 | * sysdep.c (init_system_name): Use getaddrinfo if available. |
| 12800 | 12800 | ||
| 12801 | 2007-11-17 Dan Nicolaescu <dann@ics.uci.edu> | 12801 | * xterm.c (x_scroll_bar_set_handle, x_scroll_bar_handle_click) |
| 12802 | 12802 | (x_scroll_bar_note_movement): start, end, with, height in struct | |
| 12803 | * puresize.h (BASE_PURESIZE): Increase to 1190000. | 12803 | scroll_bar are integers and not Lisp_Object, so remove XINT for them. |
| 12804 | 12804 | ||
| 12805 | 2007-11-16 Stefan Monnier <monnier@iro.umontreal.ca> | 12805 | 2007-11-17 Dan Nicolaescu <dann@ics.uci.edu> |
| 12806 | 12806 | ||
| 12807 | * buffer.h (struct buffer): Move `undo_list' back to before `name'. | 12807 | * puresize.h (BASE_PURESIZE): Increase to 1190000. |
| 12808 | This undoes Richard's change of 14-Oct-2002. | 12808 | |
| 12809 | 12809 | 2007-11-16 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 12810 | * alloc.c (allocate_other_vector): | 12810 | |
| 12811 | * lisp.h (allocate_other_vector): Remove. | 12811 | * buffer.h (struct buffer): Move `undo_list' back to before `name'. |
| 12812 | 12812 | This undoes Richard's change of 14-Oct-2002. | |
| 12813 | * window.c (struct save_window_data): Move non-lisp data to the end | 12813 | |
| 12814 | and make it `int' rather than Lisp_Object. | 12814 | * alloc.c (allocate_other_vector): |
| 12815 | (Fcurrent_window_configuration): Use ALLOCATE_PSEUDOVECTOR. | 12815 | * lisp.h (allocate_other_vector): Remove. |
| 12816 | Done wrap/unwrap integer values. | 12816 | |
| 12817 | (Fset_window_configuration, compare_window_configurations): | 12817 | * window.c (struct save_window_data): Move non-lisp data to the end |
| 12818 | Update use of fields to their new types. | 12818 | and make it `int' rather than Lisp_Object. |
| 12819 | 12819 | (Fcurrent_window_configuration): Use ALLOCATE_PSEUDOVECTOR. | |
| 12820 | * xterm.h (struct scroll_bar): Only use Lisp_Object for lisp data. | 12820 | Done wrap/unwrap integer values. |
| 12821 | Turn integer fields into `int'. Merge x_window_low and x_window_high. | 12821 | (Fset_window_configuration, compare_window_configurations): |
| 12822 | (SCROLL_BAR_PACK, SCROLL_BAR_UNPACK, SCROLL_BAR_X_WINDOW) | 12822 | Update use of fields to their new types. |
| 12823 | (SET_SCROLL_BAR_X_WINDOW): Remove. | 12823 | |
| 12824 | (SCROLL_BAR_X_WIDGET, SET_SCROLL_BAR_X_WIDGET): | 12824 | * xterm.h (struct scroll_bar): Only use Lisp_Object for lisp data. |
| 12825 | Access the new x_window field directly. | 12825 | Turn integer fields into `int'. Merge x_window_low and x_window_high. |
| 12826 | * xterm.c (x_scroll_bar_create): Use a pseudovector. | 12826 | (SCROLL_BAR_PACK, SCROLL_BAR_UNPACK, SCROLL_BAR_X_WINDOW) |
| 12827 | Don't wrap/unwrap integers into Lisp_Objects. | 12827 | (SET_SCROLL_BAR_X_WINDOW): Remove. |
| 12828 | (XTset_vertical_scroll_bar, x_scroll_bar_handle_click) | 12828 | (SCROLL_BAR_X_WIDGET, SET_SCROLL_BAR_X_WIDGET): |
| 12829 | (x_scroll_bar_report_motion): | 12829 | Access the new x_window field directly. |
| 12830 | Don't wrap/unwrap integers into Lisp_Objects. | 12830 | * xterm.c (x_scroll_bar_create): Use a pseudovector. |
| 12831 | (x_term_init): Use SDATA. | 12831 | Don't wrap/unwrap integers into Lisp_Objects. |
| 12832 | (x_window_to_scroll_bar, x_create_toolkit_scroll_bar) | 12832 | (XTset_vertical_scroll_bar, x_scroll_bar_handle_click) |
| 12833 | (x_scroll_bar_set_handle, x_scroll_bar_remove) | 12833 | (x_scroll_bar_report_motion): |
| 12834 | (XTset_vertical_scroll_bar, x_scroll_bar_expose) | 12834 | Don't wrap/unwrap integers into Lisp_Objects. |
| 12835 | (x_scroll_bar_report_motion, x_scroll_bar_clear): | 12835 | (x_term_init): Use SDATA. |
| 12836 | * xfns.c (x_set_background_color): | 12836 | (x_window_to_scroll_bar, x_create_toolkit_scroll_bar) |
| 12837 | * gtkutil.c (xg_create_scroll_bar, xg_set_toolkit_scroll_bar_thumb): | 12837 | (x_scroll_bar_set_handle, x_scroll_bar_remove) |
| 12838 | Access the new x_window field directly. | 12838 | (XTset_vertical_scroll_bar, x_scroll_bar_expose) |
| 12839 | 12839 | (x_scroll_bar_report_motion, x_scroll_bar_clear): | |
| 12840 | * alloc.c (ALLOCATE_PSEUDOVECTOR): Move to lisp.h. | 12840 | * xfns.c (x_set_background_color): |
| 12841 | (allocate_pseudovector): Make non-static. | 12841 | * gtkutil.c (xg_create_scroll_bar, xg_set_toolkit_scroll_bar_thumb): |
| 12842 | 12842 | Access the new x_window field directly. | |
| 12843 | * lisp.h (enum pvec_type): New tag PVEC_OTHER. | 12843 | |
| 12844 | (allocate_pseudovector): Declare. | 12844 | * alloc.c (ALLOCATE_PSEUDOVECTOR): Move to lisp.h. |
| 12845 | (ALLOCATE_PSEUDOVECTOR): Move from alloc.c. | 12845 | (allocate_pseudovector): Make non-static. |
| 12846 | 12846 | ||
| 12847 | 2007-11-15 Andreas Schwab <schwab@suse.de> | 12847 | * lisp.h (enum pvec_type): New tag PVEC_OTHER. |
| 12848 | 12848 | (allocate_pseudovector): Declare. | |
| 12849 | * editfns.c (Fformat): Correctly format EMACS_INT values. | 12849 | (ALLOCATE_PSEUDOVECTOR): Move from alloc.c. |
| 12850 | Also take precision into account when formatting an integer. | 12850 | |
| 12851 | 12851 | 2007-11-15 Andreas Schwab <schwab@suse.de> | |
| 12852 | * keyboard.c (Fevent_symbol_parse_modifiers): Fix declaration. | 12852 | |
| 12853 | 12853 | * editfns.c (Fformat): Correctly format EMACS_INT values. | |
| 12854 | 2007-11-15 Stefan Monnier <monnier@iro.umontreal.ca> | 12854 | Also take precision into account when formatting an integer. |
| 12855 | 12855 | ||
| 12856 | * keyboard.c (Fevent_symbol_parse_modifiers): New function. | 12856 | * keyboard.c (Fevent_symbol_parse_modifiers): Fix declaration. |
| 12857 | (syms_of_keyboard): Defsubr it. | 12857 | |
| 12858 | 12858 | 2007-11-15 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 12859 | * data.c (swap_in_global_binding): Fix longstanding bug where | 12859 | |
| 12860 | store_symval_forwarding was not called with the right second argument, | 12860 | * keyboard.c (Fevent_symbol_parse_modifiers): New function. |
| 12861 | thus causing objfwd-ing from being dropped. | 12861 | (syms_of_keyboard): Defsubr it. |
| 12862 | 12862 | ||
| 12863 | 2007-11-14 Juanma Barranquero <lekktu@gmail.com> | 12863 | * data.c (swap_in_global_binding): Fix longstanding bug where |
| 12864 | 12864 | store_symval_forwarding was not called with the right second argument, | |
| 12865 | * macfns.c (Fx_create_frame, Fx_display_pixel_width) | 12865 | thus causing objfwd-ing from being dropped. |
| 12866 | (Fx_display_pixel_height, Fx_display_planes) | 12866 | |
| 12867 | (Fx_display_color_cells, Fx_server_max_request_size) | 12867 | 2007-11-14 Juanma Barranquero <lekktu@gmail.com> |
| 12868 | (Fx_server_vendor, Fx_server_version, Fx_display_backing_store) | 12868 | |
| 12869 | (Fx_display_visual_class, Fx_display_save_under): | 12869 | * macfns.c (Fx_create_frame, Fx_display_pixel_width) |
| 12870 | * w32fns.c (Fx_create_frame, Fx_display_pixel_width) | 12870 | (Fx_display_pixel_height, Fx_display_planes) |
| 12871 | (Fx_display_pixel_height, Fx_display_planes) | 12871 | (Fx_display_color_cells, Fx_server_max_request_size) |
| 12872 | (Fx_display_color_cells, Fx_server_max_request_size) | 12872 | (Fx_server_vendor, Fx_server_version, Fx_display_backing_store) |
| 12873 | (Fx_server_vendor, Fx_server_version, Fx_display_screens) | 12873 | (Fx_display_visual_class, Fx_display_save_under): |
| 12874 | (Fx_display_mm_height, Fx_display_mm_width) | 12874 | * w32fns.c (Fx_create_frame, Fx_display_pixel_width) |
| 12875 | (Fx_display_backing_store, Fx_display_visual_class) | 12875 | (Fx_display_pixel_height, Fx_display_planes) |
| 12876 | (Fw32_select_font, Fx_display_save_under): | 12876 | (Fx_display_color_cells, Fx_server_max_request_size) |
| 12877 | * xfns.c (Fx_create_frame, Fx_display_pixel_width) | 12877 | (Fx_server_vendor, Fx_server_version, Fx_display_screens) |
| 12878 | (Fx_display_pixel_height, Fx_display_planes) | 12878 | (Fx_display_mm_height, Fx_display_mm_width) |
| 12879 | (Fx_display_color_cells, Fx_server_max_request_size) | 12879 | (Fx_display_backing_store, Fx_display_visual_class) |
| 12880 | (Fx_server_vendor, Fx_server_version, Fx_display_backing_store) | 12880 | (Fw32_select_font, Fx_display_save_under): |
| 12881 | (Fx_display_save_under): Fix typos in docstrings. | 12881 | * xfns.c (Fx_create_frame, Fx_display_pixel_width) |
| 12882 | 12882 | (Fx_display_pixel_height, Fx_display_planes) | |
| 12883 | 2007-11-14 Juanma Barranquero <lekktu@gmail.com> | 12883 | (Fx_display_color_cells, Fx_server_max_request_size) |
| 12884 | 12884 | (Fx_server_vendor, Fx_server_version, Fx_display_backing_store) | |
| 12885 | * w32fns.c (Fw32_registered_hot_keys): Don't return the nil values | 12885 | (Fx_display_save_under): Fix typos in docstrings. |
| 12886 | corresponding to deleted entries; they are an implementation detail. | 12886 | |
| 12887 | (gray_bitmap_width, gray_bitmap_height, gray_bitmap_bits): | 12887 | 2007-11-14 Juanma Barranquero <lekktu@gmail.com> |
| 12888 | Remove variables. | 12888 | |
| 12889 | (w32_pass_extra_mouse_buttons_to_system, w32_strict_fontnames) | 12889 | * w32fns.c (Fw32_registered_hot_keys): Don't return the nil values |
| 12890 | (w32_pass_multimedia_buttons_to_system, w32_strict_painting) | 12890 | corresponding to deleted entries; they are an implementation detail. |
| 12891 | (Vw32_charset_info_alist, w32_to_x_color, w32_init_class) | 12891 | (gray_bitmap_width, gray_bitmap_height, gray_bitmap_bits): |
| 12892 | (w32_createscrollbar, w32_createwindow, my_post_msg, w32_get_modifiers) | 12892 | Remove variables. |
| 12893 | (w32_grabbed_keys, cancel_all_deferred_msgs): Make static. | 12893 | (w32_pass_extra_mouse_buttons_to_system, w32_strict_fontnames) |
| 12894 | (Fw32_define_rgb_color, Fw32_load_color_file) | 12894 | (w32_pass_multimedia_buttons_to_system, w32_strict_painting) |
| 12895 | (syms_of_w32fns) <w32-pass-multimedia-buttons-to-system>: | 12895 | (Vw32_charset_info_alist, w32_to_x_color, w32_init_class) |
| 12896 | Fix typos in docstrings. | 12896 | (w32_createscrollbar, w32_createwindow, my_post_msg, w32_get_modifiers) |
| 12897 | (Fx_server_version): Reflow docstring. | 12897 | (w32_grabbed_keys, cancel_all_deferred_msgs): Make static. |
| 12898 | (Fw32_shell_execute): Doc fixes. | 12898 | (Fw32_define_rgb_color, Fw32_load_color_file) |
| 12899 | 12899 | (syms_of_w32fns) <w32-pass-multimedia-buttons-to-system>: | |
| 12900 | 2007-11-13 Juanma Barranquero <lekktu@gmail.com> | 12900 | Fix typos in docstrings. |
| 12901 | 12901 | (Fx_server_version): Reflow docstring. | |
| 12902 | * w32fns.c (Fw32_register_hot_key): Don't try to register hot key | 12902 | (Fw32_shell_execute): Doc fixes. |
| 12903 | if w32_parse_hot_key returned nil. | 12903 | |
| 12904 | 12904 | 2007-11-13 Juanma Barranquero <lekktu@gmail.com> | |
| 12905 | 2007-11-10 Stefan Monnier <monnier@iro.umontreal.ca> | 12905 | |
| 12906 | 12906 | * w32fns.c (Fw32_register_hot_key): Don't try to register hot key | |
| 12907 | * xdisp.c (load_overlay_strings): Fix copy&paste typo. | 12907 | if w32_parse_hot_key returned nil. |
| 12908 | 12908 | ||
| 12909 | 2007-11-09 Jason Rumney <jasonr@gnu.org> | 12909 | 2007-11-10 Stefan Monnier <monnier@iro.umontreal.ca> |
| 12910 | 12910 | ||
| 12911 | * s/ms-w32.c (USE_TOOLKIT_SCROLL_BARS): Define. | 12911 | * xdisp.c (load_overlay_strings): Fix copy&paste typo. |
| 12912 | 12912 | ||
| 12913 | * w32term.c (w32_scroll_bar_handle_click): Use SCROLL_BAR_CLICK_EVENT. | 12913 | 2007-11-09 Jason Rumney <jasonr@gnu.org> |
| 12914 | 12914 | ||
| 12915 | * keyboard.c (discard_mouse_events, make_lispy_event) [WINDOWSNT]: | 12915 | * s/ms-w32.c (USE_TOOLKIT_SCROLL_BARS): Define. |
| 12916 | Remove W32_SCROLL_BAR_CLICK_EVENT. | 12916 | |
| 12917 | 12917 | * w32term.c (w32_scroll_bar_handle_click): Use SCROLL_BAR_CLICK_EVENT. | |
| 12918 | * termhooks.h (enum event_kind) [WINDOWSNT]: Likewise. | 12918 | |
| 12919 | Add MULTIMEDIA_KEY_EVENT. | 12919 | * keyboard.c (discard_mouse_events, make_lispy_event) [WINDOWSNT]: |
| 12920 | 12920 | Remove W32_SCROLL_BAR_CLICK_EVENT. | |
| 12921 | * keyboard.c (lispy_function_keys) [WINDOWSNT]: Add more keys. | 12921 | |
| 12922 | (lispy_multimedia_keys) [WINDOWSNT]: New array. | 12922 | * termhooks.h (enum event_kind) [WINDOWSNT]: Likewise. |
| 12923 | (make_lispy_event) [WINDOWSNT]: Use it to translate | 12923 | Add MULTIMEDIA_KEY_EVENT. |
| 12924 | MULTIMEDIA_KEY_EVENT. | 12924 | |
| 12925 | 12925 | * keyboard.c (lispy_function_keys) [WINDOWSNT]: Add more keys. | |
| 12926 | * w32term.h (WM_APPCOMMAND): Define if not already. | 12926 | (lispy_multimedia_keys) [WINDOWSNT]: New array. |
| 12927 | (GET_APPCOMMAND_LPARAM): Likewise. | 12927 | (make_lispy_event) [WINDOWSNT]: Use it to translate |
| 12928 | 12928 | MULTIMEDIA_KEY_EVENT. | |
| 12929 | * w32term.c (w32_read_socket): Generate MULTIMEDIA_KEY_EVENT from | 12929 | |
| 12930 | WM_APPCOMMAND. | 12930 | * w32term.h (WM_APPCOMMAND): Define if not already. |
| 12931 | 12931 | (GET_APPCOMMAND_LPARAM): Likewise. | |
| 12932 | * w32fns.c (w32_pass_multimedia_buttons_to_system): New user option. | 12932 | |
| 12933 | (syms_of_w32fns): Export and initialize it. | 12933 | * w32term.c (w32_read_socket): Generate MULTIMEDIA_KEY_EVENT from |
| 12934 | (w32_wnd_proc): Pass WM_APPCOMMAND on to w32_read_socket. | 12934 | WM_APPCOMMAND. |
| 12935 | 12935 | ||
| 12936 | 2007-11-09 Chong Yidong <cyd@stupidchicken.com> | 12936 | * w32fns.c (w32_pass_multimedia_buttons_to_system): New user option. |
| 12937 | 12937 | (syms_of_w32fns): Export and initialize it. | |
| 12938 | * dispextern.h (struct it): Don't define OVERLAY_STRING_CHUNK_SIZE | 12938 | (w32_wnd_proc): Pass WM_APPCOMMAND on to w32_read_socket. |
| 12939 | twice. | 12939 | |
| 12940 | 12940 | 2007-11-09 Chong Yidong <cyd@stupidchicken.com> | |
| 12941 | * xdisp.c (handle_face_prop): Fix last change. | 12941 | |
| 12942 | 12942 | * dispextern.h (struct it): Don't define OVERLAY_STRING_CHUNK_SIZE | |
| 12943 | 2007-11-09 Richard Stallman <rms@gnu.org> | 12943 | twice. |
| 12944 | 12944 | ||
| 12945 | * xdisp.c (handle_face_prop): Test for strings that came from overlays, | 12945 | * xdisp.c (handle_face_prop): Fix last change. |
| 12946 | not just for after-strings and before-strings. | 12946 | |
| 12947 | Call face_for_overlay_string and pass the overlay to it. | 12947 | 2007-11-09 Richard Stallman <rms@gnu.org> |
| 12948 | (handle_display_prop): Determine whether property came from an overlay. | 12948 | |
| 12949 | Pass OVERLAY arg to handle_single_display_spec. | 12949 | * xdisp.c (handle_face_prop): Test for strings that came from overlays, |
| 12950 | (handle_single_display_spec): New arg OVERLAY sets it->from_overlay. | 12950 | not just for after-strings and before-strings. |
| 12951 | (load_overlay_strings): Fill in it->string_overlays. | 12951 | Call face_for_overlay_string and pass the overlay to it. |
| 12952 | (get_overlay_strings_1, push_it, pop_it): Handle it->from_overlays. | 12952 | (handle_display_prop): Determine whether property came from an overlay. |
| 12953 | 12953 | Pass OVERLAY arg to handle_single_display_spec. | |
| 12954 | * xfaces.c (face_for_overlay_string): Function renamed from | 12954 | (handle_single_display_spec): New arg OVERLAY sets it->from_overlay. |
| 12955 | face_at_buffer_position_no_overlays, and add arg OVERLAY. | 12955 | (load_overlay_strings): Fill in it->string_overlays. |
| 12956 | 12956 | (get_overlay_strings_1, push_it, pop_it): Handle it->from_overlays. | |
| 12957 | * dispextern.h (struct it): New elt string_overlays. | 12957 | |
| 12958 | New elt from_overlay, also in stack. | 12958 | * xfaces.c (face_for_overlay_string): Function renamed from |
| 12959 | Rearrange a few elements. | 12959 | face_at_buffer_position_no_overlays, and add arg OVERLAY. |
| 12960 | (face_for_overlay_string): Decl renamed from | 12960 | |
| 12961 | face_at_buffer_position_no_overlays, and add argument. | 12961 | * dispextern.h (struct it): New elt string_overlays. |
| 12962 | 12962 | New elt from_overlay, also in stack. | |
| 12963 | 2007-11-09 Richard Stallman <rms@gnu.org> | 12963 | Rearrange a few elements. |
| 12964 | 12964 | (face_for_overlay_string): Decl renamed from | |
| 12965 | * xdisp.c (handle_face_prop): Use face_at_buffer_position_no_overlays | 12965 | face_at_buffer_position_no_overlays, and add argument. |
| 12966 | to get the base face for an overlay string. | 12966 | |
| 12967 | 12967 | 2007-11-09 Richard Stallman <rms@gnu.org> | |
| 12968 | * dispextern.h (face_at_buffer_position_no_overlays): Add decl. | 12968 | |
| 12969 | 12969 | * xdisp.c (handle_face_prop): Use face_at_buffer_position_no_overlays | |
| 12970 | * xfaces.c (face_at_buffer_position_no_overlays): New function. | 12970 | to get the base face for an overlay string. |
| 12971 | 12971 | ||
| 12972 | * xdisp.c (handle_stop): Move some code out of loop. | 12972 | * dispextern.h (face_at_buffer_position_no_overlays): Add decl. |
| 12973 | 12973 | ||
| 12974 | 2007-11-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 12974 | * xfaces.c (face_at_buffer_position_no_overlays): New function. |
| 12975 | 12975 | ||
| 12976 | * macfns.c [USE_ATSUI] (Fmac_atsu_font_face_attributes): | 12976 | * xdisp.c (handle_stop): Move some code out of loop. |
| 12977 | Fix conversion from Lisp object to ATSUFontID. | 12977 | |
| 12978 | 12978 | 2007-11-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
| 12979 | 2007-11-09 Jason Rumney <jasonr@gnu.org> | 12979 | |
| 12980 | 12980 | * macfns.c [USE_ATSUI] (Fmac_atsu_font_face_attributes): | |
| 12981 | * xdisp.c (Fformat_mode_line): Do nothing when noninteractive. | 12981 | Fix conversion from Lisp object to ATSUFontID. |
| 12982 | 12982 | ||
| 12983 | 2007-11-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 12983 | 2007-11-09 Jason Rumney <jasonr@gnu.org> |
| 12984 | 12984 | ||
| 12985 | * unexmacosx.c (unexec_regions_recorder, unexec_regions_merge): | 12985 | * xdisp.c (Fformat_mode_line): Do nothing when noninteractive. |
| 12986 | Don't assume regions are aligned to page boundary. | 12986 | |
| 12987 | (print_load_command_name): Add LC_UUID if defined. | 12987 | 2007-11-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 12988 | 12988 | ||
| 12989 | 2007-11-09 Richard Stallman <rms@gnu.org> | 12989 | * unexmacosx.c (unexec_regions_recorder, unexec_regions_merge): |
| 12990 | 12990 | Don't assume regions are aligned to page boundary. | |
| 12991 | * emacs.c (syms_of_emacs) <installation-directory>: Reflow docstring. | 12991 | (print_load_command_name): Add LC_UUID if defined. |
| 12992 | 12992 | ||
| 12993 | 2007-11-07 Jason Rumney <jasonr@gnu.org> | 12993 | 2007-11-09 Richard Stallman <rms@gnu.org> |
| 12994 | 12994 | ||
| 12995 | * s/windows95.h: Remove. | 12995 | * emacs.c (syms_of_emacs) <installation-directory>: Reflow docstring. |
| 12996 | 12996 | ||
| 12997 | 2007-11-06 Jan Djärv <jan.h.d@swipnet.se> | 12997 | 2007-11-07 Jason Rumney <jasonr@gnu.org> |
| 12998 | 12998 | ||
| 12999 | * gtkutil.c (xg_tool_bar_menu_proxy): Handle GTK_IMAGE_ICON_NAME and | 12999 | * s/windows95.h: Remove. |
| 13000 | abort with a message on unhandled store_type values. | 13000 | |
| 13001 | 13001 | 2007-11-06 Jan Djärv <jan.h.d@swipnet.se> | |
| 13002 | 2007-11-01 Jan Djärv <jan.h.d@swipnet.se> | 13002 | |
| 13003 | 13003 | * gtkutil.c (xg_tool_bar_menu_proxy): Handle GTK_IMAGE_ICON_NAME and | |
| 13004 | * xterm.c, xfns.c, xselect.c, xterm.h, s/msdos.h, s/sco4.h, s/sco5.h: | 13004 | abort with a message on unhandled store_type values. |
| 13005 | Remove HAVE_X11R5 and HAVE_X11R4. | 13005 | |
| 13006 | 13006 | 2007-11-01 Jan Djärv <jan.h.d@swipnet.se> | |
| 13007 | 2007-11-01 Dan Nicolaescu <dann@ics.uci.edu> | 13007 | |
| 13008 | 13008 | * xterm.c, xfns.c, xselect.c, xterm.h, s/msdos.h, s/sco4.h, s/sco5.h: | |
| 13009 | * Makefile.in: Remove references to sunfns.c and sunfns.o. | 13009 | Remove HAVE_X11R5 and HAVE_X11R4. |
| 13010 | 13010 | ||
| 13011 | 2007-11-01 Johan Bockgård <bojohan@gnu.org> | 13011 | 2007-11-01 Dan Nicolaescu <dann@ics.uci.edu> |
| 13012 | 13012 | ||
| 13013 | * macterm.c, w32term.c, xterm.c (x_draw_stretch_glyph_string): | 13013 | * Makefile.in: Remove references to sunfns.c and sunfns.o. |
| 13014 | Don't set s->stippled_p here, since it has already been set by | 13014 | |
| 13015 | x_set_glyph_string_gc from x_draw_glyph_string. | 13015 | 2007-11-01 Johan Bockgård <bojohan@gnu.org> |
| 13016 | 13016 | ||
| 13017 | 2007-11-01 Dan Nicolaescu <dann@ics.uci.edu> | 13017 | * macterm.c, w32term.c, xterm.c (x_draw_stretch_glyph_string): |
| 13018 | 13018 | Don't set s->stippled_p here, since it has already been set by | |
| 13019 | * sunfns.c: Remove file. | 13019 | x_set_glyph_string_gc from x_draw_glyph_string. |
| 13020 | 13020 | ||
| 13021 | * m/sun386.h: | 13021 | 2007-11-01 Dan Nicolaescu <dann@ics.uci.edu> |
| 13022 | * m/sun2.h: | 13022 | |
| 13023 | * m/sparc.h: Remove Sun windows code. | 13023 | * sunfns.c: Remove file. |
| 13024 | 13024 | ||
| 13025 | 2007-10-31 Stefan Monnier <monnier@iro.umontreal.ca> | 13025 | * m/sun386.h: |
| 13026 | 13026 | * m/sun2.h: | |
| 13027 | * keyboard.c (syms_of_keyboard): Initialize the initial_kboard. | 13027 | * m/sparc.h: Remove Sun windows code. |
| 13028 | (init_keyboard): Set current_kboard's window-system to nil. | 13028 | |
| 13029 | (tty_read_avail_input): Typo. | 13029 | 2007-10-31 Stefan Monnier <monnier@iro.umontreal.ca> |
| 13030 | * frame.c (make_initial_frame): Don't initialize the initial_kboard. | 13030 | |
| 13031 | 13031 | * keyboard.c (syms_of_keyboard): Initialize the initial_kboard. | |
| 13032 | 2007-10-31 Dan Nicolaescu <dann@ics.uci.edu> | 13032 | (init_keyboard): Set current_kboard's window-system to nil. |
| 13033 | 13033 | (tty_read_avail_input): Typo. | |
| 13034 | * s/usg5-4.h: | 13034 | * frame.c (make_initial_frame): Don't initialize the initial_kboard. |
| 13035 | * s/usg5-3.h: | 13035 | |
| 13036 | * s/ptx.h: | 13036 | 2007-10-31 Dan Nicolaescu <dann@ics.uci.edu> |
| 13037 | * m/is386.h: | 13037 | |
| 13038 | * m/ibmps2-aix.h: | 13038 | * s/usg5-4.h: |
| 13039 | * Makefile.in: Remove all mentions of X10. | 13039 | * s/usg5-3.h: |
| 13040 | 13040 | * s/ptx.h: | |
| 13041 | * dispnew.c (syms_of_display): Don't mention version 10. | 13041 | * m/is386.h: |
| 13042 | 13042 | * m/ibmps2-aix.h: | |
| 13043 | 2007-10-28 Juanma Barranquero <lekktu@gmail.com> | 13043 | * Makefile.in: Remove all mentions of X10. |
| 13044 | 13044 | ||
| 13045 | * makefile.w32-in (OBJ1): Remove abbrev.$(O). | 13045 | * dispnew.c (syms_of_display): Don't mention version 10. |
| 13046 | ($(BLD)/abbrev.$(O)): Remove. | 13046 | |
| 13047 | 13047 | 2007-10-28 Juanma Barranquero <lekktu@gmail.com> | |
| 13048 | 2007-10-28 Stefan Monnier <monnier@iro.umontreal.ca> | 13048 | |
| 13049 | 13049 | * makefile.w32-in (OBJ1): Remove abbrev.$(O). | |
| 13050 | Rewrite abbrev.c in Elisp. | 13050 | ($(BLD)/abbrev.$(O)): Remove. |
| 13051 | * image.c (Qcount): Don't declare as extern. | 13051 | |
| 13052 | (syms_of_image): Initialize and staticpro `Qcount'. | 13052 | 2007-10-28 Stefan Monnier <monnier@iro.umontreal.ca> |
| 13053 | * puresize.h (BASE_PURESIZE): Increase for the new abbrev.el functions. | 13053 | |
| 13054 | * emacs.c (main): Don't call syms_of_abbrev. | 13054 | Rewrite abbrev.c in Elisp. |
| 13055 | * Makefile.in (obj): Remove abbrev.o. | 13055 | * image.c (Qcount): Don't declare as extern. |
| 13056 | (abbrev.o): Remove. | 13056 | (syms_of_image): Initialize and staticpro `Qcount'. |
| 13057 | * abbrev.c: Remove. | 13057 | * puresize.h (BASE_PURESIZE): Increase for the new abbrev.el functions. |
| 13058 | 13058 | * emacs.c (main): Don't call syms_of_abbrev. | |
| 13059 | 2007-10-26 Martin Rudalics <rudalics@gmx.at> | 13059 | * Makefile.in (obj): Remove abbrev.o. |
| 13060 | 13060 | (abbrev.o): Remove. | |
| 13061 | * window.c (window_min_size_2): Don't count header-line. | 13061 | * abbrev.c: Remove. |
| 13062 | 13062 | ||
| 13063 | 2007-10-26 Dan Nicolaescu <dann@ics.uci.edu> | 13063 | 2007-10-26 Martin Rudalics <rudalics@gmx.at> |
| 13064 | 13064 | ||
| 13065 | * frame.h (struct frame): Move all bit fields after the first bit | 13065 | * window.c (window_min_size_2): Don't count header-line. |
| 13066 | field to take advantage of the available space. Group all the | 13066 | |
| 13067 | chars together to reduce wasted space due to padding. | 13067 | 2007-10-26 Dan Nicolaescu <dann@ics.uci.edu> |
| 13068 | 13068 | ||
| 13069 | 2007-10-26 Juanma Barranquero <lekktu@gmail.com> | 13069 | * frame.h (struct frame): Move all bit fields after the first bit |
| 13070 | 13070 | field to take advantage of the available space. Group all the | |
| 13071 | * minibuf.c (Fread_minibuffer, Feval_minibuffer): Reflow docstrings. | 13071 | chars together to reduce wasted space due to padding. |
| 13072 | 13072 | ||
| 13073 | * alloc.c (spare_memory, stack_copy, stack_copy_size, ignore_warnings) | 13073 | 2007-10-26 Juanma Barranquero <lekktu@gmail.com> |
| 13074 | (Vdead, dont_register_blocks, staticvec, staticidx, interval_block) | 13074 | |
| 13075 | (n_interval_blocks, init_strings, check_string_bytes, check_sblock) | 13075 | * minibuf.c (Fread_minibuffer, Feval_minibuffer): Reflow docstrings. |
| 13076 | (init_float, free_float, n_cons_blocks, init_cons, all_vectors) | 13076 | |
| 13077 | (n_vectors, symbol_block, symbol_block_index, symbol_free_list) | 13077 | * alloc.c (spare_memory, stack_copy, stack_copy_size, ignore_warnings) |
| 13078 | (n_symbol_blocks, init_symbol, marker_block, marker_free_list) | 13078 | (Vdead, dont_register_blocks, staticvec, staticidx, interval_block) |
| 13079 | (n_marker_blocks, init_marker, valid_pointer_p, make_pure_float) | 13079 | (n_interval_blocks, init_strings, check_string_bytes, check_sblock) |
| 13080 | (last_marked, mark_object_loop_halt): Make static. | 13080 | (init_float, free_float, n_cons_blocks, init_cons, all_vectors) |
| 13081 | 13081 | (n_vectors, symbol_block, symbol_block_index, symbol_free_list) | |
| 13082 | * frame.c (syms_of_frame) <delete-frame-functions>: | 13082 | (n_symbol_blocks, init_symbol, marker_block, marker_free_list) |
| 13083 | Fix typo in docstring. | 13083 | (n_marker_blocks, init_marker, valid_pointer_p, make_pure_float) |
| 13084 | 13084 | (last_marked, mark_object_loop_halt): Make static. | |
| 13085 | 2007-10-25 Juanma Barranquero <lekktu@gmail.com> | 13085 | |
| 13086 | 13086 | * frame.c (syms_of_frame) <delete-frame-functions>: | |
| 13087 | * w32.c (init_environment): Fix tiny memory leak. | 13087 | Fix typo in docstring. |
| 13088 | (w32_get_resource): Remove unused variable `ok'. | 13088 | |
| 13089 | 13089 | 2007-10-25 Juanma Barranquero <lekktu@gmail.com> | |
| 13090 | 2007-10-25 Stefan Monnier <monnier@iro.umontreal.ca> | 13090 | |
| 13091 | 13091 | * w32.c (init_environment): Fix tiny memory leak. | |
| 13092 | Make `window-system' into a keyboard-local variable (rather than | 13092 | (w32_get_resource): Remove unused variable `ok'. |
| 13093 | frame-local as done originally by multi-tty). | 13093 | |
| 13094 | 13094 | 2007-10-25 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 13095 | * keyboard.h (struct kboard): Add Vwindow_system. | 13095 | |
| 13096 | * keyboard.c (init_kboard): Set a default for Vwindow_system. | 13096 | Make `window-system' into a keyboard-local variable (rather than |
| 13097 | (mark_kboards): Mark Vwindow_system. | 13097 | frame-local as done originally by multi-tty). |
| 13098 | 13098 | ||
| 13099 | * dispnew.c (syms_of_display) <window-system>: Declare terminal-local. | 13099 | * keyboard.h (struct kboard): Add Vwindow_system. |
| 13100 | (init_display): Don't set the obsolete `window-system' frame-param. | 13100 | * keyboard.c (init_kboard): Set a default for Vwindow_system. |
| 13101 | 13101 | (mark_kboards): Mark Vwindow_system. | |
| 13102 | * xterm.c (x_term_init): | 13102 | |
| 13103 | * w32term.c (w32_create_terminal): | 13103 | * dispnew.c (syms_of_display) <window-system>: Declare terminal-local. |
| 13104 | * term.c (init_tty): Set Vwindow_system. | 13104 | (init_display): Don't set the obsolete `window-system' frame-param. |
| 13105 | * macterm.c (mac_create_terminal): Set a keyboard (missing piece of the | 13105 | |
| 13106 | multi-tty merge maybe?), copied from w32term.c. Set Vwindow_system. | 13106 | * xterm.c (x_term_init): |
| 13107 | 13107 | * w32term.c (w32_create_terminal): | |
| 13108 | * xfns.c (Fx_create_frame, x_create_tip_frame): | 13108 | * term.c (init_tty): Set Vwindow_system. |
| 13109 | * w32fns.c (Fx_create_frame, x_create_tip_frame): | 13109 | * macterm.c (mac_create_terminal): Set a keyboard (missing piece of the |
| 13110 | * macfns.c (Fx_create_frame): | 13110 | multi-tty merge maybe?), copied from w32term.c. Set Vwindow_system. |
| 13111 | Don't set the obsolete `window-system' frame-param. | 13111 | |
| 13112 | 13112 | * xfns.c (Fx_create_frame, x_create_tip_frame): | |
| 13113 | * frame.h (Qwindow_system): Remove. | 13113 | * w32fns.c (Fx_create_frame, x_create_tip_frame): |
| 13114 | * frame.c (Qwindow_system): Remove. In `syms_of_frame' as well. | 13114 | * macfns.c (Fx_create_frame): |
| 13115 | (Fmake_terminal_frame): Don't set obsolete `window-system' frame-param. | 13115 | Don't set the obsolete `window-system' frame-param. |
| 13116 | 13116 | ||
| 13117 | 2007-10-24 Richard Stallman <rms@gnu.org> | 13117 | * frame.h (Qwindow_system): Remove. |
| 13118 | 13118 | * frame.c (Qwindow_system): Remove. In `syms_of_frame' as well. | |
| 13119 | * frame.c (x_figure_window_size): For fullscreen case, | 13119 | (Fmake_terminal_frame): Don't set obsolete `window-system' frame-param. |
| 13120 | set USPosition | PPosition without clobbering rest of window_prompting. | 13120 | |
| 13121 | 13121 | 2007-10-24 Richard Stallman <rms@gnu.org> | |
| 13122 | * keyboard.c (Fcurrent_idle_time): Doc fix. | 13122 | |
| 13123 | 13123 | * frame.c (x_figure_window_size): For fullscreen case, | |
| 13124 | * print.c (Fwith_output_to_temp_buffer): Doc fix. | 13124 | set USPosition | PPosition without clobbering rest of window_prompting. |
| 13125 | 13125 | ||
| 13126 | 2007-10-23 Stefan Monnier <monnier@iro.umontreal.ca> | 13126 | * keyboard.c (Fcurrent_idle_time): Doc fix. |
| 13127 | 13127 | ||
| 13128 | * process.c (unwind_request_sigio): Only define if __ultrix__. | 13128 | * print.c (Fwith_output_to_temp_buffer): Doc fix. |
| 13129 | 13129 | ||
| 13130 | * callproc.c (child_setup): Remove spurious *. | 13130 | 2007-10-23 Stefan Monnier <monnier@iro.umontreal.ca> |
| 13131 | 13131 | ||
| 13132 | * lisp.h (Fget_text_property): Declare. | 13132 | * process.c (unwind_request_sigio): Only define if __ultrix__. |
| 13133 | (have_menus_p): Declare it here rather than in sys-dep header files. | 13133 | |
| 13134 | * macterm.h (have_menus_p): | 13134 | * callproc.c (child_setup): Remove spurious *. |
| 13135 | * msdos.h (have_menus_p): | 13135 | |
| 13136 | * xterm.h (have_menus_p): Remove. | 13136 | * lisp.h (Fget_text_property): Declare. |
| 13137 | 13137 | (have_menus_p): Declare it here rather than in sys-dep header files. | |
| 13138 | * data.c (Fmake_variable_buffer_local, Fmake_local_variable) | 13138 | * macterm.h (have_menus_p): |
| 13139 | (Fmake_variable_frame_local): Just check the variable's const-ness | 13139 | * msdos.h (have_menus_p): |
| 13140 | rather than checking nil or t. | 13140 | * xterm.h (have_menus_p): Remove. |
| 13141 | 13141 | ||
| 13142 | 2007-10-22 Jason Rumney <jasonr@gnu.org> | 13142 | * data.c (Fmake_variable_buffer_local, Fmake_local_variable) |
| 13143 | 13143 | (Fmake_variable_frame_local): Just check the variable's const-ness | |
| 13144 | * w32fns.c: Include math.h. | 13144 | rather than checking nil or t. |
| 13145 | (w32_abort): Declaration moved to nt/config.nt. | 13145 | |
| 13146 | 13146 | 2007-10-22 Jason Rumney <jasonr@gnu.org> | |
| 13147 | * s/ms-w32.h (HAVE_STDLIB_H): Define. | 13147 | |
| 13148 | (abort): Redefinition moved to nt/config.nt. | 13148 | * w32fns.c: Include math.h. |
| 13149 | 13149 | (w32_abort): Declaration moved to nt/config.nt. | |
| 13150 | * m/windowsnt.h: Remove. | 13150 | |
| 13151 | 13151 | * s/ms-w32.h (HAVE_STDLIB_H): Define. | |
| 13152 | 2007-10-22 Juanma Barranquero <lekktu@gmail.com> | 13152 | (abort): Redefinition moved to nt/config.nt. |
| 13153 | 13153 | ||
| 13154 | * emacs.c (Fdump_emacs): Fix typo in message. | 13154 | * m/windowsnt.h: Remove. |
| 13155 | (syms_of_emacs) <kill-emacs-hook>: Fix typo in docstring. | 13155 | |
| 13156 | <installation-directory>: Reflow docstring. | 13156 | 2007-10-22 Juanma Barranquero <lekktu@gmail.com> |
| 13157 | 13157 | ||
| 13158 | 2007-10-22 Juri Linkov <juri@jurta.org> | 13158 | * emacs.c (Fdump_emacs): Fix typo in message. |
| 13159 | 13159 | (syms_of_emacs) <kill-emacs-hook>: Fix typo in docstring. | |
| 13160 | * minibuf.c: Allow minibuffer default to be a list of default values. | 13160 | <installation-directory>: Reflow docstring. |
| 13161 | With empty input use the first element of this list as returned default. | 13161 | |
| 13162 | (string_to_object) | 13162 | 2007-10-22 Juri Linkov <juri@jurta.org> |
| 13163 | (read_minibuf_noninteractive): If defalt is cons, set val to its car. | 13163 | |
| 13164 | (read_minibuf): If defalt is cons, set histstring to its car. | 13164 | * minibuf.c: Allow minibuffer default to be a list of default values. |
| 13165 | (Fread_string): If default_value is cons, set val to its car. | 13165 | With empty input use the first element of this list as returned default. |
| 13166 | (Fread_buffer): If def is cons, use its car. | 13166 | (string_to_object) |
| 13167 | (Fcompleting_read): If defalt is cons, set val to its car. | 13167 | (read_minibuf_noninteractive): If defalt is cons, set val to its car. |
| 13168 | 13168 | (read_minibuf): If defalt is cons, set histstring to its car. | |
| 13169 | 2007-10-21 Michael Albinus <michael.albinus@gmx.de> | 13169 | (Fread_string): If default_value is cons, set val to its car. |
| 13170 | 13170 | (Fread_buffer): If def is cons, use its car. | |
| 13171 | * fileio.c (Fcopy_file): Call file name handler with preserve_uid_gid. | 13171 | (Fcompleting_read): If defalt is cons, set val to its car. |
| 13172 | 13172 | ||
| 13173 | 2007-10-20 Juanma Barranquero <lekktu@gmail.com> | 13173 | 2007-10-21 Michael Albinus <michael.albinus@gmx.de> |
| 13174 | 13174 | ||
| 13175 | * doc.c (Fdocumentation): Check for advice in all cases. | 13175 | * fileio.c (Fcopy_file): Call file name handler with preserve_uid_gid. |
| 13176 | 13176 | ||
| 13177 | 2007-10-19 Chong Yidong <cyd@stupidchicken.com> | 13177 | 2007-10-20 Juanma Barranquero <lekktu@gmail.com> |
| 13178 | 13178 | ||
| 13179 | * Makefile.in [HAVE_LIBRESOLV]: Add -lresolv to linker flags. | 13179 | * doc.c (Fdocumentation): Check for advice in all cases. |
| 13180 | 13180 | ||
| 13181 | 2007-10-19 Richard Stallman <rms@gnu.org> | 13181 | 2007-10-19 Chong Yidong <cyd@stupidchicken.com> |
| 13182 | 13182 | ||
| 13183 | * doc.c (Fdocumentation): Check for and handle an advised function. | 13183 | * Makefile.in [HAVE_LIBRESOLV]: Add -lresolv to linker flags. |
| 13184 | 13184 | ||
| 13185 | 2007-10-19 Juanma Barranquero <lekktu@gmail.com> | 13185 | 2007-10-19 Richard Stallman <rms@gnu.org> |
| 13186 | 13186 | ||
| 13187 | * process.c (Fset_process_filter): Doc fix. | 13187 | * doc.c (Fdocumentation): Check for and handle an advised function. |
| 13188 | 13188 | ||
| 13189 | 2007-10-18 Stefan Monnier <monnier@iro.umontreal.ca> | 13189 | 2007-10-19 Juanma Barranquero <lekktu@gmail.com> |
| 13190 | 13190 | ||
| 13191 | * keyboard.c (read_key_sequence): Undo a change introduced by multi-tty | 13191 | * process.c (Fset_process_filter): Doc fix. |
| 13192 | which caused key-translation-map to applied repeatedly (thus breaking | 13192 | |
| 13193 | double-mode). | 13193 | 2007-10-18 Stefan Monnier <monnier@iro.umontreal.ca> |
| 13194 | 13194 | ||
| 13195 | 2007-10-17 Stefan Monnier <monnier@iro.umontreal.ca> | 13195 | * keyboard.c (read_key_sequence): Undo a change introduced by multi-tty |
| 13196 | 13196 | which caused key-translation-map to applied repeatedly (thus breaking | |
| 13197 | * xselect.c (x_own_selection, x_handle_selection_clear) | 13197 | double-mode). |
| 13198 | (x_clear_frame_selections): | 13198 | |
| 13199 | * w32menu.c (list_of_panes, list_of_items): | 13199 | 2007-10-17 Stefan Monnier <monnier@iro.umontreal.ca> |
| 13200 | * w32fns.c (w32_color_map_lookup, Fx_create_frame, Fx_display_list): | 13200 | |
| 13201 | * textprop.c (validate_plist, interval_has_all_properties) | 13201 | * xselect.c (x_own_selection, x_handle_selection_clear) |
| 13202 | (interval_has_some_properties, interval_has_some_properties_list) | 13202 | (x_clear_frame_selections): |
| 13203 | (add_properties, text_property_list): | 13203 | * w32menu.c (list_of_panes, list_of_items): |
| 13204 | * process.c (Fget_buffer_process, list_processes_1, status_notify): | 13204 | * w32fns.c (w32_color_map_lookup, Fx_create_frame, Fx_display_list): |
| 13205 | * minibuf.c (Fassoc_string): | 13205 | * textprop.c (validate_plist, interval_has_all_properties) |
| 13206 | * macselect.c (x_own_selection, x_clear_frame_selections) | 13206 | (interval_has_some_properties, interval_has_some_properties_list) |
| 13207 | (Fx_disown_selection_internal): | 13207 | (add_properties, text_property_list): |
| 13208 | * keymap.c (Fcommand_remapping, where_is_internal, describe_map_tree): | 13208 | * process.c (Fget_buffer_process, list_processes_1, status_notify): |
| 13209 | Use CONSP rather than !NILP and XC[AD]R rather than Fc[ad]r. | 13209 | * minibuf.c (Fassoc_string): |
| 13210 | 13210 | * macselect.c (x_own_selection, x_clear_frame_selections) | |
| 13211 | 2007-10-17 Chong Yidong <cyd@stupidchicken.com> | 13211 | (Fx_disown_selection_internal): |
| 13212 | 13212 | * keymap.c (Fcommand_remapping, where_is_internal, describe_map_tree): | |
| 13213 | * process.c: Link to libs for calling res_init() if available. | 13213 | Use CONSP rather than !NILP and XC[AD]R rather than Fc[ad]r. |
| 13214 | (Fmake_network_process): Call res_init() before getaddrinfo or | 13214 | |
| 13215 | gethostbyname, if possible. | 13215 | 2007-10-17 Chong Yidong <cyd@stupidchicken.com> |
| 13216 | 13216 | ||
| 13217 | 2007-10-17 Stefan Monnier <monnier@iro.umontreal.ca> | 13217 | * process.c: Link to libs for calling res_init() if available. |
| 13218 | 13218 | (Fmake_network_process): Call res_init() before getaddrinfo or | |
| 13219 | * lread.c (read1): Set pvectype for char_tables. | 13219 | gethostbyname, if possible. |
| 13220 | 13220 | ||
| 13221 | * lisp.h (XMISCANY, XMARKER, XINTFWD, XBOOLFWD, XOBJFWD, XOVERLAY) | 13221 | 2007-10-17 Stefan Monnier <monnier@iro.umontreal.ca> |
| 13222 | (XBUFFER_OBJFWD, XBUFFER_LOCAL_VALUE, XKBOARD_OBJFWD, XSAVE_VALUE): | 13222 | |
| 13223 | Add type checks. | 13223 | * lread.c (read1): Set pvectype for char_tables. |
| 13224 | (SOME_BUFFER_LOCAL_VALUEP, GC_SOME_BUFFER_LOCAL_VALUEP): Remove. | 13224 | |
| 13225 | 13225 | * lisp.h (XMISCANY, XMARKER, XINTFWD, XBOOLFWD, XOBJFWD, XOVERLAY) | |
| 13226 | * alloc.c (free_misc): Use XMISCTYPE. | 13226 | (XBUFFER_OBJFWD, XBUFFER_LOCAL_VALUE, XKBOARD_OBJFWD, XSAVE_VALUE): |
| 13227 | (live_misc_p, gc_sweep): Use Lisp_Misc_Any. | 13227 | Add type checks. |
| 13228 | 13228 | (SOME_BUFFER_LOCAL_VALUEP, GC_SOME_BUFFER_LOCAL_VALUEP): Remove. | |
| 13229 | 2007-10-17 Glenn Morris <rgm@gnu.org> | 13229 | |
| 13230 | 13230 | * alloc.c (free_misc): Use XMISCTYPE. | |
| 13231 | * minibuf.c (Qcompletion_ignore_case): New Lisp_Object. | 13231 | (live_misc_p, gc_sweep): Use Lisp_Misc_Any. |
| 13232 | (syms_of_minibuf): Add Qcompletion_ignore_case. | 13232 | |
| 13233 | * dired.c (Qcompletion_ignore_case): Change to external. | 13233 | 2007-10-17 Glenn Morris <rgm@gnu.org> |
| 13234 | (syms_of_dired) [VMS]: Remove Qcompletion_ignore_case. | 13234 | |
| 13235 | * fileio.c (Qcompletion_ignore_case): New external Lisp_Object. | 13235 | * minibuf.c (Qcompletion_ignore_case): New Lisp_Object. |
| 13236 | (Fread_file_name): Use it rather than intern'ing. | 13236 | (syms_of_minibuf): Add Qcompletion_ignore_case. |
| 13237 | 13237 | * dired.c (Qcompletion_ignore_case): Change to external. | |
| 13238 | * coding.c (Qcompletion_ignore_case): New external Lisp_Object. | 13238 | (syms_of_dired) [VMS]: Remove Qcompletion_ignore_case. |
| 13239 | (Fread_coding_system): Ignore case of user input. | 13239 | * fileio.c (Qcompletion_ignore_case): New external Lisp_Object. |
| 13240 | 13240 | (Fread_file_name): Use it rather than intern'ing. | |
| 13241 | 2007-10-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 13241 | |
| 13242 | 13242 | * coding.c (Qcompletion_ignore_case): New external Lisp_Object. | |
| 13243 | * xdisp.c (handle_display_prop): Ignore display specs after | 13243 | (Fread_coding_system): Ignore case of user input. |
| 13244 | replacing one when string text is being replaced. | 13244 | |
| 13245 | (handle_single_display_spec): Pretend as if characters with display | 13245 | 2007-10-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 13246 | property haven't been consumed only when buffer text is being replaced. | 13246 | |
| 13247 | 13247 | * xdisp.c (handle_display_prop): Ignore display specs after | |
| 13248 | 2007-10-16 Stefan Monnier <monnier@iro.umontreal.ca> | 13248 | replacing one when string text is being replaced. |
| 13249 | 13249 | (handle_single_display_spec): Pretend as if characters with display | |
| 13250 | * xfns.c (Fx_create_frame, Fx_display_list): | 13250 | property haven't been consumed only when buffer text is being replaced. |
| 13251 | * window.c (window_fixed_size_p, enlarge_window) | 13251 | |
| 13252 | (shrink_window_lowest_first): | 13252 | 2007-10-16 Stefan Monnier <monnier@iro.umontreal.ca> |
| 13253 | * macterm.c (init_font_name_table): | 13253 | |
| 13254 | * macfns.c (Fx_create_frame, Fx_display_list): | 13254 | * xfns.c (Fx_create_frame, Fx_display_list): |
| 13255 | * lread.c (close_load_descs): | 13255 | * window.c (window_fixed_size_p, enlarge_window) |
| 13256 | * keyboard.c (read_char_x_menu_prompt): | 13256 | (shrink_window_lowest_first): |
| 13257 | * fns.c (Fmember, Fmemql, Fdelete, Fset_char_table_parent): | 13257 | * macterm.c (init_font_name_table): |
| 13258 | * coding.c (code_convert_region_unwind): Test the type of an object | 13258 | * macfns.c (Fx_create_frame, Fx_display_list): |
| 13259 | rather than just !NILP before extracting data from it. | 13259 | * lread.c (close_load_descs): |
| 13260 | 13260 | * keyboard.c (read_char_x_menu_prompt): | |
| 13261 | * alloc.c (Fpurecopy): Set the pvec tag on pseudo vectors. | 13261 | * fns.c (Fmember, Fmemql, Fdelete, Fset_char_table_parent): |
| 13262 | 13262 | * coding.c (code_convert_region_unwind): Test the type of an object | |
| 13263 | * lisp.h (enum Lisp_Misc_Type): Del Lisp_Misc_Some_Buffer_Local_Value. | 13263 | rather than just !NILP before extracting data from it. |
| 13264 | (XMISCANY): New macro. | 13264 | |
| 13265 | (XMISCTYPE): Use it. | 13265 | * alloc.c (Fpurecopy): Set the pvec tag on pseudo vectors. |
| 13266 | (struct Lisp_Misc_Any): New type. | 13266 | |
| 13267 | (union Lisp_Misc): Use it. | 13267 | * lisp.h (enum Lisp_Misc_Type): Del Lisp_Misc_Some_Buffer_Local_Value. |
| 13268 | (struct Lisp_Buffer_Local_Value): Add `local_if_set' bit. | 13268 | (XMISCANY): New macro. |
| 13269 | * data.c (Fboundp, store_symval_forwarding, swap_in_global_binding) | 13269 | (XMISCTYPE): Use it. |
| 13270 | (find_symbol_value, set_internal, default_value, Fset_default) | 13270 | (struct Lisp_Misc_Any): New type. |
| 13271 | (Fmake_variable_buffer_local, Fmake_local_variable) | 13271 | (union Lisp_Misc): Use it. |
| 13272 | (Fkill_local_variable, Fmake_variable_frame_local, Flocal_variable_p) | 13272 | (struct Lisp_Buffer_Local_Value): Add `local_if_set' bit. |
| 13273 | (Flocal_variable_if_set_p, Fvariable_binding_locus): | 13273 | * data.c (Fboundp, store_symval_forwarding, swap_in_global_binding) |
| 13274 | The SOME_BUFFER_LOCAL_VALUEP distinction is replaced by local_if_set. | 13274 | (find_symbol_value, set_internal, default_value, Fset_default) |
| 13275 | * alloc.c (allocate_buffer): Set the size and tag. | 13275 | (Fmake_variable_buffer_local, Fmake_local_variable) |
| 13276 | (allocate_misc, mark_maybe_object, mark_object, survives_gc_p): | 13276 | (Fkill_local_variable, Fmake_variable_frame_local, Flocal_variable_p) |
| 13277 | Use XMISCANY. | 13277 | (Flocal_variable_if_set_p, Fvariable_binding_locus): |
| 13278 | (die): Follow the GNU convention for error messages. | 13278 | The SOME_BUFFER_LOCAL_VALUEP distinction is replaced by local_if_set. |
| 13279 | * print.c (print_object): SOME_BUFFER_LOCAL_VALUEP -> local_if_set. | 13279 | * alloc.c (allocate_buffer): Set the size and tag. |
| 13280 | * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Don't set the | 13280 | (allocate_misc, mark_maybe_object, mark_object, survives_gc_p): |
| 13281 | tag any more. | 13281 | Use XMISCANY. |
| 13282 | (set_buffer_internal_1): | 13282 | (die): Follow the GNU convention for error messages. |
| 13283 | * frame.c (store_frame_param): | 13283 | * print.c (print_object): SOME_BUFFER_LOCAL_VALUEP -> local_if_set. |
| 13284 | * eval.c (specbind): | 13284 | * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Don't set the |
| 13285 | * xdisp.c (select_frame_for_redisplay): Drop SOME_BUFFER_LOCAL_VALUEP. | 13285 | tag any more. |
| 13286 | 13286 | (set_buffer_internal_1): | |
| 13287 | * doc.c (Fsnarf_documentation): Simplify. | 13287 | * frame.c (store_frame_param): |
| 13288 | 13288 | * eval.c (specbind): | |
| 13289 | 2007-10-14 Juanma Barranquero <lekktu@gmail.com> | 13289 | * xdisp.c (select_frame_for_redisplay): Drop SOME_BUFFER_LOCAL_VALUEP. |
| 13290 | 13290 | ||
| 13291 | * w32term.c (w32_font_is_double_byte, my_create_scrollbar): Make static. | 13291 | * doc.c (Fsnarf_documentation): Simplify. |
| 13292 | (syms_of_w32term) <w32-enable-unicode-output>: Fix typo in docstring. | 13292 | |
| 13293 | 13293 | 2007-10-14 Juanma Barranquero <lekktu@gmail.com> | |
| 13294 | 2007-10-14 Stefan Monnier <monnier@iro.umontreal.ca> | 13294 | |
| 13295 | 13295 | * w32term.c (w32_font_is_double_byte, my_create_scrollbar): Make static. | |
| 13296 | * buffer.c (Fmake_indirect_buffer): Set the buffer's tag. | 13296 | (syms_of_w32term) <w32-enable-unicode-output>: Fix typo in docstring. |
| 13297 | 13297 | ||
| 13298 | 2007-10-14 Juanma Barranquero <lekktu@gmail.com> | 13298 | 2007-10-14 Stefan Monnier <monnier@iro.umontreal.ca> |
| 13299 | 13299 | ||
| 13300 | * eval.c (do_autoload): Don't save autoloads. | 13300 | * buffer.c (Fmake_indirect_buffer): Set the buffer's tag. |
| 13301 | 13301 | ||
| 13302 | * data.c (Ffset): Save autoload of the function being set. | 13302 | 2007-10-14 Juanma Barranquero <lekktu@gmail.com> |
| 13303 | 13303 | ||
| 13304 | 2007-10-07 John Paul Wallington <jpw@pobox.com> | 13304 | * eval.c (do_autoload): Don't save autoloads. |
| 13305 | 13305 | ||
| 13306 | * xfns.c (x_create_tip_frame): Set the `display-type' frame | 13306 | * data.c (Ffset): Save autoload of the function being set. |
| 13307 | parameter before setting up faces. | 13307 | |
| 13308 | 13308 | 2007-10-07 John Paul Wallington <jpw@pobox.com> | |
| 13309 | 2007-10-13 Eli Zaretskii <eliz@gnu.org> | 13309 | |
| 13310 | 13310 | * xfns.c (x_create_tip_frame): Set the `display-type' frame | |
| 13311 | * ccl.c (Fregister_code_conversion_map): | 13311 | parameter before setting up faces. |
| 13312 | * keyboard.c (append_tool_bar_item): Reformat last change. | 13312 | |
| 13313 | 13313 | 2007-10-13 Eli Zaretskii <eliz@gnu.org> | |
| 13314 | * lisp.h (eabs): Rename from `abs'. All callers changed. | 13314 | |
| 13315 | 13315 | * ccl.c (Fregister_code_conversion_map): | |
| 13316 | 2007-10-05 Dmitry Antipov <dmantipov@yandex.ru> | 13316 | * keyboard.c (append_tool_bar_item): Reformat last change. |
| 13317 | 13317 | ||
| 13318 | * buffer.c (add_overlay_mod_hooklist): | 13318 | * lisp.h (eabs): Rename from `abs'. All callers changed. |
| 13319 | * ccl.c (Fregister_ccl_program, Fregister_code_conversion_map): | 13319 | |
| 13320 | * fontset.c (make_fontset): | 13320 | 2007-10-05 Dmitry Antipov <dmantipov@yandex.ru> |
| 13321 | * keyboard.c (GROW_RAW_KEYBUF, menu_bar_items, menu_bar_item) | 13321 | |
| 13322 | (append_tool_bar_item): | 13322 | * buffer.c (add_overlay_mod_hooklist): |
| 13323 | * macmenu.c (grow_menu_items): | 13323 | * ccl.c (Fregister_ccl_program, Fregister_code_conversion_map): |
| 13324 | * w32menu.c (grow_menu_items): | 13324 | * fontset.c (make_fontset): |
| 13325 | * xmenu.c (grow_menu_items): Use larger_vector. | 13325 | * keyboard.c (GROW_RAW_KEYBUF, menu_bar_items, menu_bar_item) |
| 13326 | 13326 | (append_tool_bar_item): | |
| 13327 | 2007-10-13 Eli Zaretskii <eliz@gnu.org> | 13327 | * macmenu.c (grow_menu_items): |
| 13328 | 13328 | * w32menu.c (grow_menu_items): | |
| 13329 | * msdos.c (dos_rawgetc): Undo last change (there's no ``leaving | 13329 | * xmenu.c (grow_menu_items): Use larger_vector. |
| 13330 | selected frame'' on MSDOS). | 13330 | |
| 13331 | 13331 | 2007-10-13 Eli Zaretskii <eliz@gnu.org> | |
| 13332 | 2007-10-12 Martin Rudalics <rudalics@gmx.at> | 13332 | |
| 13333 | 13333 | * msdos.c (dos_rawgetc): Undo last change (there's no ``leaving | |
| 13334 | * frame.c (Qexplicit_name): New variable. | 13334 | selected frame'' on MSDOS). |
| 13335 | (x_report_frame_params): Report it in parameter alist. | 13335 | |
| 13336 | (syms_of_frame): Intern and staticpro it. | 13336 | 2007-10-12 Martin Rudalics <rudalics@gmx.at> |
| 13337 | 13337 | ||
| 13338 | 2007-10-10 Patrick Mahan <mahan@mahan.org> (tiny change) | 13338 | * frame.c (Qexplicit_name): New variable. |
| 13339 | 13339 | (x_report_frame_params): Report it in parameter alist. | |
| 13340 | * macfns.c (x_create_tip_frame): Set terminal for frame. | 13340 | (syms_of_frame): Intern and staticpro it. |
| 13341 | 13341 | ||
| 13342 | 2007-10-10 Stefan Monnier <monnier@iro.umontreal.ca> | 13342 | 2007-10-10 Patrick Mahan <mahan@mahan.org> (tiny change) |
| 13343 | 13343 | ||
| 13344 | * frame.c (Qenvironment): Remove. | 13344 | * macfns.c (x_create_tip_frame): Set terminal for frame. |
| 13345 | (syms_of_frame) <Qenvironment>: Don't initialize. | 13345 | |
| 13346 | (Fdelete_frame): Don't treat the `environment' param specially. | 13346 | 2007-10-10 Stefan Monnier <monnier@iro.umontreal.ca> |
| 13347 | * frame.h (Qenvironment): Don't declare. | 13347 | |
| 13348 | * callproc.c (set_initial_environment): Don't set unused frame param. | 13348 | * frame.c (Qenvironment): Remove. |
| 13349 | 13349 | (syms_of_frame) <Qenvironment>: Don't initialize. | |
| 13350 | * frame.c (Fframe_with_environment): Remove. | 13350 | (Fdelete_frame): Don't treat the `environment' param specially. |
| 13351 | (syms_of_frame) <Sframe_with_environment>: Don't declare. | 13351 | * frame.h (Qenvironment): Don't declare. |
| 13352 | 13352 | * callproc.c (set_initial_environment): Don't set unused frame param. | |
| 13353 | * lisp.h (Fframe_with_environment): Don't declare. | 13353 | |
| 13354 | 13354 | * frame.c (Fframe_with_environment): Remove. | |
| 13355 | 2007-10-10 Juanma Barranquero <lekktu@gmail.com> | 13355 | (syms_of_frame) <Sframe_with_environment>: Don't declare. |
| 13356 | 13356 | ||
| 13357 | * indent.c (indent_tabs_mode, last_known_column) | 13357 | * lisp.h (Fframe_with_environment): Don't declare. |
| 13358 | (last_known_column_modified): Make static. | 13358 | |
| 13359 | (syms_of_indent) <indent-tabs-mode>: Remove redundant info in docstring. | 13359 | 2007-10-10 Juanma Barranquero <lekktu@gmail.com> |
| 13360 | 13360 | ||
| 13361 | 2007-10-10 Katsumi Yamaoka <yamaoka@jpl.org> | 13361 | * indent.c (indent_tabs_mode, last_known_column) |
| 13362 | 13362 | (last_known_column_modified): Make static. | |
| 13363 | * puresize.h (BASE_PURESIZE): Increase to 1170000. | 13363 | (syms_of_indent) <indent-tabs-mode>: Remove redundant info in docstring. |
| 13364 | 13364 | ||
| 13365 | 2007-10-09 Jason Rumney <jasonr@gnu.org> | 13365 | 2007-10-10 Katsumi Yamaoka <yamaoka@jpl.org> |
| 13366 | 13366 | ||
| 13367 | * w32term.c (x_set_window_size): Disable code that attempts to tell | 13367 | * puresize.h (BASE_PURESIZE): Increase to 1170000. |
| 13368 | Lisp code about a size change before it actually happens. | 13368 | |
| 13369 | 13369 | 2007-10-09 Jason Rumney <jasonr@gnu.org> | |
| 13370 | 2007-10-09 Richard Stallman <rms@gnu.org> | 13370 | |
| 13371 | 13371 | * w32term.c (x_set_window_size): Disable code that attempts to tell | |
| 13372 | * xdisp.c (handle_invisible_prop): After setting up an ellipsis, | 13372 | Lisp code about a size change before it actually happens. |
| 13373 | return HANDLED_RETURN. | 13373 | |
| 13374 | 13374 | 2007-10-09 Richard Stallman <rms@gnu.org> | |
| 13375 | 2007-10-08 Martin Rudalics <rudalics@gmx.at> | 13375 | |
| 13376 | 13376 | * xdisp.c (handle_invisible_prop): After setting up an ellipsis, | |
| 13377 | * keyboard.c (kbd_buffer_get_event): Break loop waiting for input | 13377 | return HANDLED_RETURN. |
| 13378 | when there's an unread command event. | 13378 | |
| 13379 | 13379 | 2007-10-08 Martin Rudalics <rudalics@gmx.at> | |
| 13380 | * frame.c (focus_follows_mouse): Move here from frame.el to allow | 13380 | |
| 13381 | window autoselection act appropriately when leaving selected frame. | 13381 | * keyboard.c (kbd_buffer_get_event): Break loop waiting for input |
| 13382 | (syms_of_frame): Initialize focus_follows_mouse. | 13382 | when there's an unread command event. |
| 13383 | * frame.h (focus_follows_mouse): Extern it. | 13383 | |
| 13384 | * macterm.c (XTread_socket): When focus_follows_mouse is nil | 13384 | * frame.c (focus_follows_mouse): Move here from frame.el to allow |
| 13385 | make SELECT_WINDOW_EVENT only if we don't leave the selected frame. | 13385 | window autoselection act appropriately when leaving selected frame. |
| 13386 | * msdos.c (dos_rawgetc): Likewise. | 13386 | (syms_of_frame): Initialize focus_follows_mouse. |
| 13387 | * w32term.c (w32_read_socket): Likewise. | 13387 | * frame.h (focus_follows_mouse): Extern it. |
| 13388 | * xterm.c (handle_one_xevent): Likewise. | 13388 | * macterm.c (XTread_socket): When focus_follows_mouse is nil |
| 13389 | * xdisp.c (syms_of_xdisp): In doc-string of | 13389 | make SELECT_WINDOW_EVENT only if we don't leave the selected frame. |
| 13390 | mouse-autoselect-window mention focus-follows-mouse. | 13390 | * msdos.c (dos_rawgetc): Likewise. |
| 13391 | 13391 | * w32term.c (w32_read_socket): Likewise. | |
| 13392 | 2007-10-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 13392 | * xterm.c (handle_one_xevent): Likewise. |
| 13393 | 13393 | * xdisp.c (syms_of_xdisp): In doc-string of | |
| 13394 | * macterm.c (mac_load_query_font): Fix missing return value. | 13394 | mouse-autoselect-window mention focus-follows-mouse. |
| 13395 | [USE_CG_DRAWING] (mac_define_fringe_bitmap, mac_destroy_fringe_bitmap): | 13395 | |
| 13396 | Add BLOCK_INPUT. | 13396 | 2007-10-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 13397 | 13397 | ||
| 13398 | 2007-10-08 Richard Stallman <rms@gnu.org> | 13398 | * macterm.c (mac_load_query_font): Fix missing return value. |
| 13399 | 13399 | [USE_CG_DRAWING] (mac_define_fringe_bitmap, mac_destroy_fringe_bitmap): | |
| 13400 | * xdisp.c (get_window_cursor_type): Implement documented behavior | 13400 | Add BLOCK_INPUT. |
| 13401 | for cursor-in-non-selected-windows = t. | 13401 | |
| 13402 | 13402 | 2007-10-08 Richard Stallman <rms@gnu.org> | |
| 13403 | 2007-10-08 Jason Rumney <jasonr@gnu.org> | 13403 | |
| 13404 | 13404 | * xdisp.c (get_window_cursor_type): Implement documented behavior | |
| 13405 | * w32.c (w32_get_resource): Always close registry keys. | 13405 | for cursor-in-non-selected-windows = t. |
| 13406 | 13406 | ||
| 13407 | 2007-10-08 Jason Rumney <jasonr@gnu.org> | 13407 | 2007-10-08 Jason Rumney <jasonr@gnu.org> |
| 13408 | 13408 | ||
| 13409 | * makefile.w32-in (LIBS): Add COMCTL32. | 13409 | * w32.c (w32_get_resource): Always close registry keys. |
| 13410 | 13410 | ||
| 13411 | * w32fns.c (globals_of_w32fns): Init common controls. | 13411 | 2007-10-08 Jason Rumney <jasonr@gnu.org> |
| 13412 | 13412 | ||
| 13413 | 2007-10-08 Richard Stallman <rms@gnu.org> | 13413 | * makefile.w32-in (LIBS): Add COMCTL32. |
| 13414 | 13414 | ||
| 13415 | * image.c (our_memory_buffer): Rename from omfib_buffer. | 13415 | * w32fns.c (globals_of_w32fns): Init common controls. |
| 13416 | 13416 | ||
| 13417 | 2007-10-08 Richard Stallman <rms@gnu.org> | 13417 | 2007-10-08 Richard Stallman <rms@gnu.org> |
| 13418 | 13418 | ||
| 13419 | * buffer.c (Foverlays_at): Doc fix. | 13419 | * image.c (our_memory_buffer): Rename from omfib_buffer. |
| 13420 | 13420 | ||
| 13421 | 2007-10-08 Stefan Monnier <monnier@iro.umontreal.ca> | 13421 | 2007-10-08 Richard Stallman <rms@gnu.org> |
| 13422 | 13422 | ||
| 13423 | * fns.c (Fplist_put): Preserve uneven tail data. | 13423 | * buffer.c (Foverlays_at): Doc fix. |
| 13424 | 13424 | ||
| 13425 | 2007-10-08 Peter O'Gorman <bug-gnu-emacs@mlists.thewrittenword.com> (tiny change) | 13425 | 2007-10-08 Stefan Monnier <monnier@iro.umontreal.ca> |
| 13426 | 13426 | ||
| 13427 | * termhooks.h (enum event_kind): Remove trailing comma. | 13427 | * fns.c (Fplist_put): Preserve uneven tail data. |
| 13428 | 13428 | ||
| 13429 | * frame.h (enum): Remove trailing comma. | 13429 | 2007-10-08 Peter O'Gorman <bug-gnu-emacs@mlists.thewrittenword.com> (tiny change) |
| 13430 | 13430 | ||
| 13431 | 2007-10-08 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change) | 13431 | * termhooks.h (enum event_kind): Remove trailing comma. |
| 13432 | 13432 | ||
| 13433 | * w32proc.c (delete_child): Don't terminate threads of zombies. | 13433 | * frame.h (enum): Remove trailing comma. |
| 13434 | 13434 | ||
| 13435 | 2007-10-08 Martin Rudalics <rudalics@gmx.at> | 13435 | 2007-10-08 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change) |
| 13436 | 13436 | ||
| 13437 | * keyboard.h (struct kboard): New elt Vlast_repeatable_command. | 13437 | * w32proc.c (delete_child): Don't terminate threads of zombies. |
| 13438 | 13438 | ||
| 13439 | * keyboard.c (syms_of_keyboard): Set up new Lisp variable | 13439 | 2007-10-08 Martin Rudalics <rudalics@gmx.at> |
| 13440 | last-repeatable-command. | 13440 | |
| 13441 | (init_kboard): Initialize Vlast_repeatable_command. | 13441 | * keyboard.h (struct kboard): New elt Vlast_repeatable_command. |
| 13442 | (command_loop_1): Set it to real_this_command unless that was | 13442 | |
| 13443 | bound to an input event. | 13443 | * keyboard.c (syms_of_keyboard): Set up new Lisp variable |
| 13444 | (mark_kboards): Mark it. | 13444 | last-repeatable-command. |
| 13445 | 13445 | (init_kboard): Initialize Vlast_repeatable_command. | |
| 13446 | 2007-10-08 Richard Stallman <rms@gnu.org> | 13446 | (command_loop_1): Set it to real_this_command unless that was |
| 13447 | 13447 | bound to an input event. | |
| 13448 | * eval.c (condition-case): Doc fix. | 13448 | (mark_kboards): Mark it. |
| 13449 | 13449 | ||
| 13450 | 2007-10-08 Masatake YAMATO <jet@gyve.org> | 13450 | 2007-10-08 Richard Stallman <rms@gnu.org> |
| 13451 | 13451 | ||
| 13452 | * xfaces.c (tty_supports_face_attributes_p): Fix code | 13452 | * eval.c (condition-case): Doc fix. |
| 13453 | for LFACE_INVERSE_INDEX and LFACE_BACKGROUND_INDEX; code | 13453 | |
| 13454 | was copied and not edited. | 13454 | 2007-10-08 Masatake YAMATO <jet@gyve.org> |
| 13455 | 13455 | ||
| 13456 | 2007-10-09 Stefan Monnier <monnier@iro.umontreal.ca> | 13456 | * xfaces.c (tty_supports_face_attributes_p): Fix code |
| 13457 | 13457 | for LFACE_INVERSE_INDEX and LFACE_BACKGROUND_INDEX; code | |
| 13458 | Add new `input-decode-map' keymap and use it for terminal | 13458 | was copied and not edited. |
| 13459 | escape sequences. | 13459 | |
| 13460 | * keyboard.h (struct kboard): Add Vinput_decode_map. | 13460 | 2007-10-09 Stefan Monnier <monnier@iro.umontreal.ca> |
| 13461 | Remove Vlocal_key_translation_map. | 13461 | |
| 13462 | * keyboard.c (read_key_sequence): Add support for input-decode-map. | 13462 | Add new `input-decode-map' keymap and use it for terminal |
| 13463 | (init_kboard): Init input-decode-map. | 13463 | escape sequences. |
| 13464 | Replace local-key-translation-map back with key-translation-map. | 13464 | * keyboard.h (struct kboard): Add Vinput_decode_map. |
| 13465 | (syms_of_keyboard): Declare input-decode-map. | 13465 | Remove Vlocal_key_translation_map. |
| 13466 | Remove local-key-translation-map. Update docstrings. | 13466 | * keyboard.c (read_key_sequence): Add support for input-decode-map. |
| 13467 | (mark_kboards): Mark Vinput_decode_map. | 13467 | (init_kboard): Init input-decode-map. |
| 13468 | Don't mark Vlocal_key_translation_map. | 13468 | Replace local-key-translation-map back with key-translation-map. |
| 13469 | * keymap.c (Fdescribe_buffer_bindings): Describe input-decode-map. | 13469 | (syms_of_keyboard): Declare input-decode-map. |
| 13470 | Replace local-key-translation-map back with key-translation-map. | 13470 | Remove local-key-translation-map. Update docstrings. |
| 13471 | * term.c (term_get_fkeys_1, CONDITIONAL_REASSIGN): | 13471 | (mark_kboards): Mark Vinput_decode_map. |
| 13472 | Bind in input-decode-map rather than function-key-map. | 13472 | Don't mark Vlocal_key_translation_map. |
| 13473 | 13473 | * keymap.c (Fdescribe_buffer_bindings): Describe input-decode-map. | |
| 13474 | * lisp.h (XSETPSEUDOVECTOR): Don't set the tag anymore. | 13474 | Replace local-key-translation-map back with key-translation-map. |
| 13475 | This was made redundant by the previous introduction of XSETPVECTYPE. | 13475 | * term.c (term_get_fkeys_1, CONDITIONAL_REASSIGN): |
| 13476 | 13476 | Bind in input-decode-map rather than function-key-map. | |
| 13477 | 2007-10-09 Richard Stallman <rms@gnu.org> | 13477 | |
| 13478 | 13478 | * lisp.h (XSETPSEUDOVECTOR): Don't set the tag anymore. | |
| 13479 | * image.c (free_bitmap_record): Rename from Free_Bitmap_Record. | 13479 | This was made redundant by the previous introduction of XSETPVECTYPE. |
| 13480 | 13480 | ||
| 13481 | 2007-09-29 Richard Stallman <rms@gnu.org> | 13481 | 2007-10-09 Richard Stallman <rms@gnu.org> |
| 13482 | 13482 | ||
| 13483 | * eval.c (internal_condition_case_2, internal_condition_case_1) | 13483 | * image.c (free_bitmap_record): Rename from Free_Bitmap_Record. |
| 13484 | (internal_condition_case): Reenable abort if x_catching_errors () | 13484 | |
| 13485 | to see if that really happens and why. | 13485 | 2007-09-29 Richard Stallman <rms@gnu.org> |
| 13486 | 13486 | ||
| 13487 | 2007-10-06 Andreas Schwab <schwab@suse.de> | 13487 | * eval.c (internal_condition_case_2, internal_condition_case_1) |
| 13488 | 13488 | (internal_condition_case): Reenable abort if x_catching_errors () | |
| 13489 | * fileio.c (Fwrite_region): Ignore EINVAL error from fsync. | 13489 | to see if that really happens and why. |
| 13490 | 13490 | ||
| 13491 | 2007-10-04 Juanma Barranquero <lekktu@gmail.com> | 13491 | 2007-10-06 Andreas Schwab <schwab@suse.de> |
| 13492 | 13492 | ||
| 13493 | * image.c (syms_of_image) <image-types>: Fix typo in docstring. | 13493 | * fileio.c (Fwrite_region): Ignore EINVAL error from fsync. |
| 13494 | 13494 | ||
| 13495 | 2007-10-03 Stefan Monnier <monnier@iro.umontreal.ca> | 13495 | 2007-10-04 Juanma Barranquero <lekktu@gmail.com> |
| 13496 | 13496 | ||
| 13497 | * frame.h (struct frame): Don't try to GC-mark menu_bar_items_used. | 13497 | * image.c (syms_of_image) <image-types>: Fix typo in docstring. |
| 13498 | 13498 | ||
| 13499 | 2007-10-02 Stefan Monnier <monnier@iro.umontreal.ca> | 13499 | 2007-10-03 Stefan Monnier <monnier@iro.umontreal.ca> |
| 13500 | 13500 | ||
| 13501 | * window.h (struct window): | 13501 | * frame.h (struct frame): Don't try to GC-mark menu_bar_items_used. |
| 13502 | * window.c (struct save_window_data, struct saved_window): | 13502 | |
| 13503 | * termhooks.h (struct terminal): | 13503 | 2007-10-02 Stefan Monnier <monnier@iro.umontreal.ca> |
| 13504 | * process.h (struct Lisp_Process): | 13504 | |
| 13505 | * frame.h (struct frame): | 13505 | * window.h (struct window): |
| 13506 | * buffer.h (struct buffer): | 13506 | * window.c (struct save_window_data, struct saved_window): |
| 13507 | * lisp.h (struct Lisp_Vector, struct Lisp_Char_Table) | 13507 | * termhooks.h (struct terminal): |
| 13508 | (struct Lisp_Bool_Vector, struct Lisp_Subr, struct Lisp_Hash_Table): | 13508 | * process.h (struct Lisp_Process): |
| 13509 | The size field of (pseudo)vectors is now unsigned. | 13509 | * frame.h (struct frame): |
| 13510 | (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG): Simplify accordingly. | 13510 | * buffer.h (struct buffer): |
| 13511 | 13511 | * lisp.h (struct Lisp_Vector, struct Lisp_Char_Table) | |
| 13512 | * lisp.h (struct Lisp_Hash_Table): Move non-traced elements at the end. | 13512 | (struct Lisp_Bool_Vector, struct Lisp_Subr, struct Lisp_Hash_Table): |
| 13513 | Turn `count' into an integer. | 13513 | The size field of (pseudo)vectors is now unsigned. |
| 13514 | 13514 | (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG): Simplify accordingly. | |
| 13515 | * fns.c (make_hash_table, hash_put, hash_remove, hash_clear) | 13515 | |
| 13516 | (sweep_weak_table, sweep_weak_hash_tables, Fhash_table_count): | 13516 | * lisp.h (struct Lisp_Hash_Table): Move non-traced elements at the end. |
| 13517 | * print.c (print_object) <HASH_TABLE_P>: `count' is an int. | 13517 | Turn `count' into an integer. |
| 13518 | * alloc.c (allocate_hash_table): Use ALLOCATE_PSEUDOVECTOR. | 13518 | |
| 13519 | (mark_object) <HASH_TABLE_P>: Use mark_vectorlike. | 13519 | * fns.c (make_hash_table, hash_put, hash_remove, hash_clear) |
| 13520 | 13520 | (sweep_weak_table, sweep_weak_hash_tables, Fhash_table_count): | |
| 13521 | * alloc.c (allocate_pseudovector): New fun. | 13521 | * print.c (print_object) <HASH_TABLE_P>: `count' is an int. |
| 13522 | (ALLOCATE_PSEUDOVECTOR): New macro. | 13522 | * alloc.c (allocate_hash_table): Use ALLOCATE_PSEUDOVECTOR. |
| 13523 | (allocate_window, allocate_terminal, allocate_frame) | 13523 | (mark_object) <HASH_TABLE_P>: Use mark_vectorlike. |
| 13524 | (allocate_process): Use it. | 13524 | |
| 13525 | (mark_vectorlike): New function. | 13525 | * alloc.c (allocate_pseudovector): New fun. |
| 13526 | (mark_object) <FRAMEP, WINDOWP, BOOL_VECTOR_P, VECTORP>: Use it. | 13526 | (ALLOCATE_PSEUDOVECTOR): New macro. |
| 13527 | (mark_terminals): Use it. | 13527 | (allocate_window, allocate_terminal, allocate_frame) |
| 13528 | (Fmake_bool_vector, Fmake_char_table, make_sub_char_table) | 13528 | (allocate_process): Use it. |
| 13529 | (Fmake_byte_code): Use XSETPVECTYPE. | 13529 | (mark_vectorlike): New function. |
| 13530 | 13530 | (mark_object) <FRAMEP, WINDOWP, BOOL_VECTOR_P, VECTORP>: Use it. | |
| 13531 | * frame.c (Fframe_parameters): Minor simplification. | 13531 | (mark_terminals): Use it. |
| 13532 | 13532 | (Fmake_bool_vector, Fmake_char_table, make_sub_char_table) | |
| 13533 | * insdel.c (adjust_markers_for_insert): Generalize assertion checks. | 13533 | (Fmake_byte_code): Use XSETPVECTYPE. |
| 13534 | 13534 | ||
| 13535 | * marker.c (Fmarker_buffer): Make test for odd case into a failure. | 13535 | * frame.c (Fframe_parameters): Minor simplification. |
| 13536 | 13536 | ||
| 13537 | * buffer.c (Fget_buffer_create, init_buffer_once): | 13537 | * insdel.c (adjust_markers_for_insert): Generalize assertion checks. |
| 13538 | * lread.c (defsubr): | 13538 | |
| 13539 | * window.c (Fcurrent_window_configuration): Use XSETPVECTYPE. | 13539 | * marker.c (Fmarker_buffer): Make test for odd case into a failure. |
| 13540 | 13540 | ||
| 13541 | * lisp.h (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG): Don't let them be | 13541 | * buffer.c (Fget_buffer_create, init_buffer_once): |
| 13542 | defined differently in the m/*.h files. | 13542 | * lread.c (defsubr): |
| 13543 | (XCHAR_TABLE, XBOOL_VECTOR): Add assertion checking. | 13543 | * window.c (Fcurrent_window_configuration): Use XSETPVECTYPE. |
| 13544 | (XSETPVECTYPE): New macro. | 13544 | |
| 13545 | (XSETPSEUDOVECTOR): Use it. | 13545 | * lisp.h (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG): Don't let them be |
| 13546 | 13546 | defined differently in the m/*.h files. | |
| 13547 | * buffer.c (syms_of_buffer) <local-abbrev-table>: Move from abbrev.c. | 13547 | (XCHAR_TABLE, XBOOL_VECTOR): Add assertion checking. |
| 13548 | (DEFVAR_PER_BUFFER, defvar_per_buffer): Move from lisp.h and lread.c. | 13548 | (XSETPVECTYPE): New macro. |
| 13549 | 13549 | (XSETPSEUDOVECTOR): Use it. | |
| 13550 | * lisp.h (defvar_per_buffer, DEFVAR_PER_BUFFER): | 13550 | |
| 13551 | * lread.c (defvar_per_buffer): | 13551 | * buffer.c (syms_of_buffer) <local-abbrev-table>: Move from abbrev.c. |
| 13552 | * abbrev.c (syms_of_abbrev) <local-abbrev-tabl>: Move to buffer.c. | 13552 | (DEFVAR_PER_BUFFER, defvar_per_buffer): Move from lisp.h and lread.c. |
| 13553 | 13553 | ||
| 13554 | * window.c (candidate_window_p): Only consider as visible frames that | 13554 | * lisp.h (defvar_per_buffer, DEFVAR_PER_BUFFER): |
| 13555 | are on the same terminal. | 13555 | * lread.c (defvar_per_buffer): |
| 13556 | 13556 | * abbrev.c (syms_of_abbrev) <local-abbrev-tabl>: Move to buffer.c. | |
| 13557 | * m/ibms390x.h (MARKBIT): Remove unused macro. | 13557 | |
| 13558 | 13558 | * window.c (candidate_window_p): Only consider as visible frames that | |
| 13559 | 2007-10-01 Juanma Barranquero <lekktu@gmail.com> | 13559 | are on the same terminal. |
| 13560 | 13560 | ||
| 13561 | * lread.c (Fload): Fix typo in docstring. | 13561 | * m/ibms390x.h (MARKBIT): Remove unused macro. |
| 13562 | 13562 | ||
| 13563 | 2007-10-01 Michaël Cadilhac <michael@cadilhac.name> | 13563 | 2007-10-01 Juanma Barranquero <lekktu@gmail.com> |
| 13564 | 13564 | ||
| 13565 | * floatfns.c (Fexpt): Manually check for overflows, so that a power | 13565 | * lread.c (Fload): Fix typo in docstring. |
| 13566 | of a non-zero value can't yield zero. | 13566 | |
| 13567 | 13567 | 2007-10-01 Michaël Cadilhac <michael@cadilhac.name> | |
| 13568 | 2007-09-29 Stefan Monnier <monnier@iro.umontreal.ca> | 13568 | |
| 13569 | 13569 | * floatfns.c (Fexpt): Manually check for overflows, so that a power | |
| 13570 | * term.c (term_clear_mouse_face, term_mouse_highlight) | 13570 | of a non-zero value can't yield zero. |
| 13571 | (tty_write_glyphs_with_face): Only define is HAVE_GPM. | 13571 | |
| 13572 | 13572 | 2007-09-29 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 13573 | * print.c (safe_debug_print): Use XHASH. | 13573 | |
| 13574 | 13574 | * term.c (term_clear_mouse_face, term_mouse_highlight) | |
| 13575 | * lisp.h (DECL_ALIGN, USE_LSB_TAG): Move logic to before definition of | 13575 | (tty_write_glyphs_with_face): Only define is HAVE_GPM. |
| 13576 | Lisp elements such as tags. | 13576 | |
| 13577 | (XHASH): New macro. | 13577 | * print.c (safe_debug_print): Use XHASH. |
| 13578 | (EQ): Use it. | 13578 | |
| 13579 | (SREF, SSET, STRING_COPYIN): Use SDATA. | 13579 | * lisp.h (DECL_ALIGN, USE_LSB_TAG): Move logic to before definition of |
| 13580 | (VOID_TO_LISP, CVOID_TO_LISP, LISP_TO_VOID, LISP_TO_CVOID): Remove. | 13580 | Lisp elements such as tags. |
| 13581 | 13581 | (XHASH): New macro. | |
| 13582 | * alloc.c (mark_terminal): Remove left-over declaration. | 13582 | (EQ): Use it. |
| 13583 | (enum mem_type): Replace all vector subtypes -> MEM_TYPE_VECTORLIKE. | 13583 | (SREF, SSET, STRING_COPYIN): Use SDATA. |
| 13584 | (allocate_vectorlike): Remove type argument. Adjust callers. | 13584 | (VOID_TO_LISP, CVOID_TO_LISP, LISP_TO_VOID, LISP_TO_CVOID): Remove. |
| 13585 | (live_vector_p, mark_maybe_pointer, valid_lisp_object_p): | 13585 | |
| 13586 | Only handle the one remaining MEM_TYPE_VECTORLIKE. | 13586 | * alloc.c (mark_terminal): Remove left-over declaration. |
| 13587 | 13587 | (enum mem_type): Replace all vector subtypes -> MEM_TYPE_VECTORLIKE. | |
| 13588 | * alloc.c (MALLOC_BLOCK_INPUT, MALLOC_UNBLOCK_INPUT): New macros | 13588 | (allocate_vectorlike): Remove type argument. Adjust callers. |
| 13589 | to avoid unnecessary BLOCK_INPUTs when SYNC_INPUT is used. | 13589 | (live_vector_p, mark_maybe_pointer, valid_lisp_object_p): |
| 13590 | (xmalloc, xrealloc, xfree, lisp_malloc, lisp_free, lisp_align_malloc) | 13590 | Only handle the one remaining MEM_TYPE_VECTORLIKE. |
| 13591 | (lisp_align_free, make_interval, allocate_string, allocate_string_data) | 13591 | |
| 13592 | (make_float, Fcons, allocate_vectorlike, Fmake_symbol, allocate_misc): | 13592 | * alloc.c (MALLOC_BLOCK_INPUT, MALLOC_UNBLOCK_INPUT): New macros |
| 13593 | Use them. | 13593 | to avoid unnecessary BLOCK_INPUTs when SYNC_INPUT is used. |
| 13594 | 13594 | (xmalloc, xrealloc, xfree, lisp_malloc, lisp_free, lisp_align_malloc) | |
| 13595 | * xfaces.c (load_face_font, free_realized_face, clear_face_gcs): | 13595 | (lisp_align_free, make_interval, allocate_string, allocate_string_data) |
| 13596 | Don't let signal handlers run when a GC is freed but not yet NULL'ed. | 13596 | (make_float, Fcons, allocate_vectorlike, Fmake_symbol, allocate_misc): |
| 13597 | (x_free_gc): Remove BLOCK_INPUT since it's now redundant. | 13597 | Use them. |
| 13598 | 13598 | ||
| 13599 | 2007-09-28 Dan Nicolaescu <dann@ics.uci.edu> | 13599 | * xfaces.c (load_face_font, free_realized_face, clear_face_gcs): |
| 13600 | 13600 | Don't let signal handlers run when a GC is freed but not yet NULL'ed. | |
| 13601 | * Makefile.in (lisp, shortlisp): Delete server.elc, it is not | 13601 | (x_free_gc): Remove BLOCK_INPUT since it's now redundant. |
| 13602 | loaded by default. | 13602 | |
| 13603 | 13603 | 2007-09-28 Dan Nicolaescu <dann@ics.uci.edu> | |
| 13604 | 2007-09-28 Stefan Monnier <monnier@iro.umontreal.ca> | 13604 | |
| 13605 | 13605 | * Makefile.in (lisp, shortlisp): Delete server.elc, it is not | |
| 13606 | * term.c (Fgpm_mouse_start): Don't signal an error if already activated | 13606 | loaded by default. |
| 13607 | on this tty. | 13607 | |
| 13608 | (Fgpm_mouse_stop): Only deactivate if it was activated on this tty. | 13608 | 2007-09-28 Stefan Monnier <monnier@iro.umontreal.ca> |
| 13609 | 13609 | ||
| 13610 | * term.c (mouse_face_window): Rename from Qmouse_face_window. | 13610 | * term.c (Fgpm_mouse_start): Don't signal an error if already activated |
| 13611 | Update all users. | 13611 | on this tty. |
| 13612 | (handle_one_term_event): Use Gpm_DrawPointer. | 13612 | (Fgpm_mouse_stop): Only deactivate if it was activated on this tty. |
| 13613 | (Fgpm_mouse_start): Rename from Fterm_open_connection. | 13613 | |
| 13614 | Signal errors instead of returning nil. Always return nil. | 13614 | * term.c (mouse_face_window): Rename from Qmouse_face_window. |
| 13615 | (Fgpm_mouse_stop): Rename from Fterm_close_connection. | 13615 | Update all users. |
| 13616 | Make it a noop if gpm-mouse was not activated. | 13616 | (handle_one_term_event): Use Gpm_DrawPointer. |
| 13617 | (syms_of_term): Update names. | 13617 | (Fgpm_mouse_start): Rename from Fterm_open_connection. |
| 13618 | 13618 | Signal errors instead of returning nil. Always return nil. | |
| 13619 | 2007-09-27 Stefan Monnier <monnier@iro.umontreal.ca> | 13619 | (Fgpm_mouse_stop): Rename from Fterm_close_connection. |
| 13620 | 13620 | Make it a noop if gpm-mouse was not activated. | |
| 13621 | * sysdep.c (narrow_foreground_group, widen_foreground_group): Static. | 13621 | (syms_of_term): Update names. |
| 13622 | (init_sys_modes): Check that gpm_tty is the current tty. | 13622 | |
| 13623 | 13623 | 2007-09-27 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 13624 | * alloc.c (allocate_terminal): Set the vector size to only count the | 13624 | |
| 13625 | lisp fields. Initialize those to nil. | 13625 | * sysdep.c (narrow_foreground_group, widen_foreground_group): Static. |
| 13626 | (mark_object): Don't treat terminals specially. | 13626 | (init_sys_modes): Check that gpm_tty is the current tty. |
| 13627 | (mark_terminal): Remove. | 13627 | |
| 13628 | (mark_terminals): Use mark_object instead. | 13628 | * alloc.c (allocate_terminal): Set the vector size to only count the |
| 13629 | 13629 | lisp fields. Initialize those to nil. | |
| 13630 | * termhooks.h (struct terminal): Move all Lisp_Object fields traced by | 13630 | (mark_object): Don't treat terminals specially. |
| 13631 | the GC to the beginning. | 13631 | (mark_terminal): Remove. |
| 13632 | 13632 | (mark_terminals): Use mark_object instead. | |
| 13633 | * indent.h: | 13633 | |
| 13634 | * indent.c: Use EMACS_INT for ints coming from Elisp data. | 13634 | * termhooks.h (struct terminal): Move all Lisp_Object fields traced by |
| 13635 | 13635 | the GC to the beginning. | |
| 13636 | * indent.c (Fmove_to_column): Use EMACS_INT for buffer positions. | 13636 | |
| 13637 | 13637 | * indent.h: | |
| 13638 | 2007-09-25 Jason Rumney <jasonr@gnu.org> | 13638 | * indent.c: Use EMACS_INT for ints coming from Elisp data. |
| 13639 | 13639 | ||
| 13640 | * frame.c (make_terminal_frame): Remove special case for WINDOWSNT. | 13640 | * indent.c (Fmove_to_column): Use EMACS_INT for buffer positions. |
| 13641 | 13641 | ||
| 13642 | * w32console.c (create_w32cons_output): Remove. | 13642 | 2007-09-25 Jason Rumney <jasonr@gnu.org> |
| 13643 | 13643 | ||
| 13644 | * term.c (init_tty): Call init_sys_modes on WINDOWSNT also. | 13644 | * frame.c (make_terminal_frame): Remove special case for WINDOWSNT. |
| 13645 | 13645 | ||
| 13646 | * sysdep.c (init_sys_modes): Use set_terminal_modes_hook. | 13646 | * w32console.c (create_w32cons_output): Remove. |
| 13647 | (reset_sys_modes): Use reset_terminal_modes_hook. | 13647 | |
| 13648 | 13648 | * term.c (init_tty): Call init_sys_modes on WINDOWSNT also. | |
| 13649 | 2007-09-24 Stefan Monnier <monnier@iro.umontreal.ca> | 13649 | |
| 13650 | 13650 | * sysdep.c (init_sys_modes): Use set_terminal_modes_hook. | |
| 13651 | * eval.c (do_autoload): Don't output any message. | 13651 | (reset_sys_modes): Use reset_terminal_modes_hook. |
| 13652 | 13652 | ||
| 13653 | 2007-09-24 Juri Linkov <juri@jurta.org> | 13653 | 2007-09-24 Stefan Monnier <monnier@iro.umontreal.ca> |
| 13654 | 13654 | ||
| 13655 | * emacs.c (standard_args): Change priority of "--no-splash" | 13655 | * eval.c (do_autoload): Don't output any message. |
| 13656 | from 40 to 3. Add "--no-desktop" with the same priority. | 13656 | |
| 13657 | 13657 | 2007-09-24 Juri Linkov <juri@jurta.org> | |
| 13658 | 2007-09-23 Dmitry Antipov <dmantipov@yandex.ru> | 13658 | |
| 13659 | 13659 | * emacs.c (standard_args): Change priority of "--no-splash" | |
| 13660 | * alloc.c (gc_sweep): Check cons cell mark bits word by word | 13660 | from 40 to 3. Add "--no-desktop" with the same priority. |
| 13661 | and optimize the case where they are all 1. | 13661 | |
| 13662 | 13662 | 2007-09-23 Dmitry Antipov <dmantipov@yandex.ru> | |
| 13663 | 2007-09-23 Johannes Weiner <hannes@saeurebad.de> | 13663 | |
| 13664 | 13664 | * alloc.c (gc_sweep): Check cons cell mark bits word by word | |
| 13665 | * lisp.h (abs): Define if not defined. | 13665 | and optimize the case where they are all 1. |
| 13666 | * keyboard.c, sound.c, w32term.c, xfaces.c, xterm.c: | 13666 | |
| 13667 | Don't define `abs', since it's defined in lisp.h. | 13667 | 2007-09-23 Johannes Weiner <hannes@saeurebad.de> |
| 13668 | 13668 | ||
| 13669 | 2007-09-22 Eli Zaretskii <eliz@gnu.org> | 13669 | * lisp.h (abs): Define if not defined. |
| 13670 | 13670 | * keyboard.c, sound.c, w32term.c, xfaces.c, xterm.c: | |
| 13671 | * term.c (DEV_TTY): New macro. Provide a definition for MS-Windows. | 13671 | Don't define `abs', since it's defined in lisp.h. |
| 13672 | (FRAME_TERMCAP_P) [WINDOWSNT]: Don't define to zero. | 13672 | |
| 13673 | (Fcontrolling_tty_p, Fresume_tty, dissociate_if_controlling_tty) | 13673 | 2007-09-22 Eli Zaretskii <eliz@gnu.org> |
| 13674 | (init_tty): Use DEV_TTY instead of "/dev/tty". | 13674 | |
| 13675 | [WINDOWSNT]: No need to protect from NAME arg being null. | 13675 | * term.c (DEV_TTY): New macro. Provide a definition for MS-Windows. |
| 13676 | 13676 | (FRAME_TERMCAP_P) [WINDOWSNT]: Don't define to zero. | |
| 13677 | 2007-09-21 Dan Nicolaescu <dann@ics.uci.edu> | 13677 | (Fcontrolling_tty_p, Fresume_tty, dissociate_if_controlling_tty) |
| 13678 | 13678 | (init_tty): Use DEV_TTY instead of "/dev/tty". | |
| 13679 | * term.c (Fsuspend_tty): Run suspend-tty-functions before cleaning | 13679 | [WINDOWSNT]: No need to protect from NAME arg being null. |
| 13680 | up the tty state. | 13680 | |
| 13681 | 13681 | 2007-09-21 Dan Nicolaescu <dann@ics.uci.edu> | |
| 13682 | 2007-09-21 Stefan Monnier <monnier@iro.umontreal.ca> | 13682 | |
| 13683 | 13683 | * term.c (Fsuspend_tty): Run suspend-tty-functions before cleaning | |
| 13684 | * termhooks.h (term_gpm): Delete. Use gpm_tty's NULLness instead. | 13684 | up the tty state. |
| 13685 | (gpm_tty): Change its type. | 13685 | |
| 13686 | * term.c (term_gpm): Delete. Use gpm_tty's NULLness instead. | 13686 | 2007-09-21 Stefan Monnier <monnier@iro.umontreal.ca> |
| 13687 | (gpm_tty): Change its type and initialize it. | 13687 | |
| 13688 | (Fterm_open_connection): Check the frame is indeed a tty. | 13688 | * termhooks.h (term_gpm): Delete. Use gpm_tty's NULLness instead. |
| 13689 | Use the new gpm_tty. | 13689 | (gpm_tty): Change its type. |
| 13690 | (Fterm_close_connection): Use the new gpm_tty. | 13690 | * term.c (term_gpm): Delete. Use gpm_tty's NULLness instead. |
| 13691 | * keyboard.c (tty_read_avail_input): Use the new gpm_tty. | 13691 | (gpm_tty): Change its type and initialize it. |
| 13692 | * sysdep.c (init_sys_modes): term_gpm -> gpm_tty. | 13692 | (Fterm_open_connection): Check the frame is indeed a tty. |
| 13693 | 13693 | Use the new gpm_tty. | |
| 13694 | 2007-09-21 Juanma Barranquero <lekktu@gmail.com> | 13694 | (Fterm_close_connection): Use the new gpm_tty. |
| 13695 | 13695 | * keyboard.c (tty_read_avail_input): Use the new gpm_tty. | |
| 13696 | * w32term.c (x_draw_glyph_string): Use strike_through_color, not | 13696 | * sysdep.c (init_sys_modes): term_gpm -> gpm_tty. |
| 13697 | underline_color, to draw strike-through. | 13697 | |
| 13698 | 13698 | 2007-09-21 Juanma Barranquero <lekktu@gmail.com> | |
| 13699 | 2007-09-21 Stefan Monnier <monnier@iro.umontreal.ca> | 13699 | |
| 13700 | 13700 | * w32term.c (x_draw_glyph_string): Use strike_through_color, not | |
| 13701 | * lisp.h (allocate_terminal): Declare. | 13701 | underline_color, to draw strike-through. |
| 13702 | 13702 | ||
| 13703 | * window.c (candidate_window_p): Consider frames that are being placed | 13703 | 2007-09-21 Stefan Monnier <monnier@iro.umontreal.ca> |
| 13704 | by the user as somewhere between visible and iconified. | 13704 | |
| 13705 | (window_loop): Prefer windows on the current frame. | 13705 | * lisp.h (allocate_terminal): Declare. |
| 13706 | (Fselect_window): Move the use of select-frame to the beginning so we | 13706 | |
| 13707 | can just delegate all the work (it'll call us back anyway). | 13707 | * window.c (candidate_window_p): Consider frames that are being placed |
| 13708 | 13708 | by the user as somewhere between visible and iconified. | |
| 13709 | * frame.c (Qdisplay_environment_variable): | 13709 | (window_loop): Prefer windows on the current frame. |
| 13710 | * frame.h (Qdisplay_environment_variable): Delete. | 13710 | (Fselect_window): Move the use of select-frame to the beginning so we |
| 13711 | 13711 | can just delegate all the work (it'll call us back anyway). | |
| 13712 | * .gdbinit (xbacktrace): Print the arg's address rather than the value | 13712 | |
| 13713 | of the first arg, since that value may be a union. | 13713 | * frame.c (Qdisplay_environment_variable): |
| 13714 | 13714 | * frame.h (Qdisplay_environment_variable): Delete. | |
| 13715 | * callproc.c (child_setup, getenv_internal): Use the frame's `display' | 13715 | |
| 13716 | parameter rather than Qdisplay_environment_variable. If all else | 13716 | * .gdbinit (xbacktrace): Print the arg's address rather than the value |
| 13717 | fails, look for DISPLAY in initial-environment. | 13717 | of the first arg, since that value may be a union. |
| 13718 | 13718 | ||
| 13719 | 2007-09-21 Glenn Morris <rgm@gnu.org> | 13719 | * callproc.c (child_setup, getenv_internal): Use the frame's `display' |
| 13720 | 13720 | parameter rather than Qdisplay_environment_variable. If all else | |
| 13721 | * Makefile.in (emacstool): Remove target. | 13721 | fails, look for DISPLAY in initial-environment. |
| 13722 | (lisp, shortlisp): Remove termdev.elc. | 13722 | |
| 13723 | 13723 | 2007-09-21 Glenn Morris <rgm@gnu.org> | |
| 13724 | 2007-09-21 Markus Triska <markus.triska@gmx.at> | 13724 | |
| 13725 | 13725 | * Makefile.in (emacstool): Remove target. | |
| 13726 | * xterm.c (x_delete_display): Compile session management conditionally. | 13726 | (lisp, shortlisp): Remove termdev.elc. |
| 13727 | 13727 | ||
| 13728 | 2007-09-20 Stefan Monnier <monnier@iro.umontreal.ca> | 13728 | 2007-09-21 Markus Triska <markus.triska@gmx.at> |
| 13729 | 13729 | ||
| 13730 | * callproc.c (getenv_internal_1): New function. | 13730 | * xterm.c (x_delete_display): Compile session management conditionally. |
| 13731 | (getenv_internal): Use it. | 13731 | |
| 13732 | (Fgetenv_internal): Use it. Accept an env-list as optional arg. | 13732 | 2007-09-20 Stefan Monnier <monnier@iro.umontreal.ca> |
| 13733 | 13733 | ||
| 13734 | * terminal.c (get_terminal): Don't accept ints to represent terminals. | 13734 | * callproc.c (getenv_internal_1): New function. |
| 13735 | (Fterminal_name, Fterminal_parameters, Fterminal_parameter) | 13735 | (getenv_internal): Use it. |
| 13736 | (Fset_terminal_parameter): Work with dead terminals as well. | 13736 | (Fgetenv_internal): Use it. Accept an env-list as optional arg. |
| 13737 | (Fmodify_terminal_parameters): Remove. | 13737 | |
| 13738 | 13738 | * terminal.c (get_terminal): Don't accept ints to represent terminals. | |
| 13739 | * terminal.c (get_terminal): Handle terminals. | 13739 | (Fterminal_name, Fterminal_parameters, Fterminal_parameter) |
| 13740 | Make sure the terminal returned is live. | 13740 | (Fset_terminal_parameter): Work with dead terminals as well. |
| 13741 | (create_terminal): Use allocate_terminal. | 13741 | (Fmodify_terminal_parameters): Remove. |
| 13742 | (mark_terminals): Move to alloc.c. | 13742 | |
| 13743 | (delete_terminal): Use terminal->name as liveness status. | 13743 | * terminal.c (get_terminal): Handle terminals. |
| 13744 | NULL out fields after freeing their contents. | 13744 | Make sure the terminal returned is live. |
| 13745 | Don't deallocate the object. | 13745 | (create_terminal): Use allocate_terminal. |
| 13746 | (Fframe_terminal): Use FRAME_TERMINAL. Return the terminal object | 13746 | (mark_terminals): Move to alloc.c. |
| 13747 | rather than an int. | 13747 | (delete_terminal): Use terminal->name as liveness status. |
| 13748 | (Fterminal_live_p): Accept non-integer arguments. | 13748 | NULL out fields after freeing their contents. |
| 13749 | (Fterminal_list): Return terminal objects rather than an ints. | 13749 | Don't deallocate the object. |
| 13750 | 13750 | (Fframe_terminal): Use FRAME_TERMINAL. Return the terminal object | |
| 13751 | * alloc.c (enum mem_type): New member for `terminal' objects. | 13751 | rather than an int. |
| 13752 | (allocate_terminal): New function. | 13752 | (Fterminal_live_p): Accept non-integer arguments. |
| 13753 | (mark_maybe_pointer, valid_lisp_object_p, mark_object): | 13753 | (Fterminal_list): Return terminal objects rather than an ints. |
| 13754 | Handle terminals. | 13754 | |
| 13755 | (mark_terminal): New fun. | 13755 | * alloc.c (enum mem_type): New member for `terminal' objects. |
| 13756 | (mark_terminals): Move from terminal.c. | 13756 | (allocate_terminal): New function. |
| 13757 | 13757 | (mark_maybe_pointer, valid_lisp_object_p, mark_object): | |
| 13758 | * term.c (get_tty_terminal): Don't treat output_initial specially. | 13758 | Handle terminals. |
| 13759 | (Fsuspend_tty, Fresume_tty): Use terminal objects rather than ints. | 13759 | (mark_terminal): New fun. |
| 13760 | (delete_tty): Use terminal->name as liveness status. | 13760 | (mark_terminals): Move from terminal.c. |
| 13761 | 13761 | ||
| 13762 | * termhooks.h (struct terminal): Make it into a pseudovector. | 13762 | * term.c (get_tty_terminal): Don't treat output_initial specially. |
| 13763 | Remove `deleted' replaced by checking `name's nullness. | 13763 | (Fsuspend_tty, Fresume_tty): Use terminal objects rather than ints. |
| 13764 | 13764 | (delete_tty): Use terminal->name as liveness status. | |
| 13765 | * print.c (print_object): Handle terminals. | 13765 | |
| 13766 | 13766 | * termhooks.h (struct terminal): Make it into a pseudovector. | |
| 13767 | * lisp.h (enum pvec_type): New `terminal' pseudovector. | 13767 | Remove `deleted' replaced by checking `name's nullness. |
| 13768 | (XTERMINAL, XSETTERMINAL, TERMINALP, GC_TERMINALP): New macros. | 13768 | |
| 13769 | 13769 | * print.c (print_object): Handle terminals. | |
| 13770 | * frame.c (make_terminal_frame): | 13770 | |
| 13771 | * keyboard.c (tty_read_avail_input): | 13771 | * lisp.h (enum pvec_type): New `terminal' pseudovector. |
| 13772 | * w32term.c (x_delete_terminal): | 13772 | (XTERMINAL, XSETTERMINAL, TERMINALP, GC_TERMINALP): New macros. |
| 13773 | * xfns.c (Fx_create_frame, x_create_tip_frame): | 13773 | |
| 13774 | * xterm.c (x_delete_terminal): Use terminal->name as liveness status. | 13774 | * frame.c (make_terminal_frame): |
| 13775 | 13775 | * keyboard.c (tty_read_avail_input): | |
| 13776 | 2007-09-20 Glenn Morris <rgm@gnu.org> | 13776 | * w32term.c (x_delete_terminal): |
| 13777 | 13777 | * xfns.c (Fx_create_frame, x_create_tip_frame): | |
| 13778 | * process.c (Fmake_network_process): Doc fix. | 13778 | * xterm.c (x_delete_terminal): Use terminal->name as liveness status. |
| 13779 | 13779 | ||
| 13780 | 2007-09-19 Jason Rumney <jasonr@gnu.org> | 13780 | 2007-09-20 Glenn Morris <rgm@gnu.org> |
| 13781 | 13781 | ||
| 13782 | * dispextern.h (w32_init_fringe, mac_init_fringe): Declare rif argument. | 13782 | * process.c (Fmake_network_process): Doc fix. |
| 13783 | 13783 | ||
| 13784 | 2007-09-19 Michaël Cadilhac <michael@cadilhac.name> | 13784 | 2007-09-19 Jason Rumney <jasonr@gnu.org> |
| 13785 | 13785 | ||
| 13786 | * coding.c (detect_eol_type, detect_eol_type_in_2_octet_form): | 13786 | * dispextern.h (w32_init_fringe, mac_init_fringe): Declare rif argument. |
| 13787 | Fix a C warning regarding variable constness. | 13787 | |
| 13788 | 13788 | 2007-09-19 Michaël Cadilhac <michael@cadilhac.name> | |
| 13789 | * xterm.c (handle_one_xevent): Fix a C warning. | 13789 | |
| 13790 | 13790 | * coding.c (detect_eol_type, detect_eol_type_in_2_octet_form): | |
| 13791 | 2007-09-18 Jason Rumney <jasonr@gnu.org> | 13791 | Fix a C warning regarding variable constness. |
| 13792 | 13792 | ||
| 13793 | * w32fns.c (Fx_focus_frame): Rename from Fw32_focus_frame. | 13793 | * xterm.c (handle_one_xevent): Fix a C warning. |
| 13794 | 13794 | ||
| 13795 | 2007-09-17 Jan Djärv <jan.h.d@swipnet.se> | 13795 | 2007-09-18 Jason Rumney <jasonr@gnu.org> |
| 13796 | 13796 | ||
| 13797 | * gtkutil.c (gdpy_def): New variable. | 13797 | * w32fns.c (Fx_focus_frame): Rename from Fw32_focus_frame. |
| 13798 | (xg_initialize): Initialize gdpy_def. | 13798 | |
| 13799 | (xg_display_close): If no other display exists, set gdpy_def to a | 13799 | 2007-09-17 Jan Djärv <jan.h.d@swipnet.se> |
| 13800 | new connection. | 13800 | |
| 13801 | 13801 | * gtkutil.c (gdpy_def): New variable. | |
| 13802 | 2007-09-16 Jan Djärv <jan.h.d@swipnet.se> | 13802 | (xg_initialize): Initialize gdpy_def. |
| 13803 | 13803 | (xg_display_close): If no other display exists, set gdpy_def to a | |
| 13804 | * gtkutil.c (xg_get_image_for_pixmap): Always create a GdkPixbuf | 13804 | new connection. |
| 13805 | when we have no file name for the icon. | 13805 | |
| 13806 | (xg_tool_bar_expose_callback): Remove. | 13806 | 2007-09-16 Jan Djärv <jan.h.d@swipnet.se> |
| 13807 | (xg_create_tool_bar): Don't connect expose signal to | 13807 | |
| 13808 | xg_tool_bar_expose_callback. | 13808 | * gtkutil.c (xg_get_image_for_pixmap): Always create a GdkPixbuf |
| 13809 | (xg_get_file_with_chooser): Move GCPRO1 after declarations. | 13809 | when we have no file name for the icon. |
| 13810 | 13810 | (xg_tool_bar_expose_callback): Remove. | |
| 13811 | 2007-09-16 Andreas Schwab <schwab@suse.de> | 13811 | (xg_create_tool_bar): Don't connect expose signal to |
| 13812 | 13812 | xg_tool_bar_expose_callback. | |
| 13813 | * alloc.c (reset_malloc_hooks): Set the hooks to the previous | 13813 | (xg_get_file_with_chooser): Move GCPRO1 after declarations. |
| 13814 | values instead of zapping them. | 13814 | |
| 13815 | 13815 | 2007-09-16 Andreas Schwab <schwab@suse.de> | |
| 13816 | 2007-09-14 Glenn Morris <rgm@gnu.org> | 13816 | |
| 13817 | 13817 | * alloc.c (reset_malloc_hooks): Set the hooks to the previous | |
| 13818 | * fringe.c (init_fringe_bitmap) <swap_nibble>: Move to file scope. | 13818 | values instead of zapping them. |
| 13819 | * gtkutil.c (xg_separator_p) <separator_names>: Move to file scope. | 13819 | |
| 13820 | * image.c (our_memory_fill_input_buffer) <buffer>: Move to file | 13820 | 2007-09-14 Glenn Morris <rgm@gnu.org> |
| 13821 | scope and rename to omfib_buffer for clarity. | 13821 | |
| 13822 | (gif_load) <interlace_start, interlace_increment>: Move to file scope. | 13822 | * fringe.c (init_fringe_bitmap) <swap_nibble>: Move to file scope. |
| 13823 | 13823 | * gtkutil.c (xg_separator_p) <separator_names>: Move to file scope. | |
| 13824 | 2007-09-14 Kenichi Handa <handa@m17n.org> | 13824 | * image.c (our_memory_fill_input_buffer) <buffer>: Move to file |
| 13825 | 13825 | scope and rename to omfib_buffer for clarity. | |
| 13826 | * xterm.c (handle_one_xevent): Skip decoding if nbytes is zero. | 13826 | (gif_load) <interlace_start, interlace_increment>: Move to file scope. |
| 13827 | 13827 | ||
| 13828 | 2007-09-13 Jason Rumney <jasonr@gnu.org> | 13828 | 2007-09-14 Kenichi Handa <handa@m17n.org> |
| 13829 | 13829 | ||
| 13830 | * fringe.c (w32_init_fringe, mac_init_fringe): Add rif argument. | 13830 | * xterm.c (handle_one_xevent): Skip decoding if nbytes is zero. |
| 13831 | 13831 | ||
| 13832 | * w32term.c (w32_term_init): Pass rif to w32_init_fringe. | 13832 | 2007-09-13 Jason Rumney <jasonr@gnu.org> |
| 13833 | 13833 | ||
| 13834 | * macterm.c (mac_initialize): Don't call mac_init_fringe here. | 13834 | * fringe.c (w32_init_fringe, mac_init_fringe): Add rif argument. |
| 13835 | (mac_term_init): Call here instead, passing rif. | 13835 | |
| 13836 | 13836 | * w32term.c (w32_term_init): Pass rif to w32_init_fringe. | |
| 13837 | 2007-09-13 Glenn Morris <rgm@gnu.org> | 13837 | |
| 13838 | 13838 | * macterm.c (mac_initialize): Don't call mac_init_fringe here. | |
| 13839 | * s/hpux.h: No longer define `static' as nothing. | 13839 | (mac_term_init): Call here instead, passing rif. |
| 13840 | 13840 | ||
| 13841 | 2007-09-13 Johan Bockgård <bojohan@gnu.org> | 13841 | 2007-09-13 Glenn Morris <rgm@gnu.org> |
| 13842 | 13842 | ||
| 13843 | * callint.c (Fcall_interactively): Remove unused var `fun'. | 13843 | * s/hpux.h: No longer define `static' as nothing. |
| 13844 | 13844 | ||
| 13845 | 2007-09-12 Romain Francoise <romain@orebokech.com> | 13845 | 2007-09-13 Johan Bockgård <bojohan@gnu.org> |
| 13846 | 13846 | ||
| 13847 | * window.c (prefer_window_split_horizontally, display_buffer): | 13847 | * callint.c (Fcall_interactively): Remove unused var `fun'. |
| 13848 | Revert 2007-09-08 change. | 13848 | |
| 13849 | 13849 | 2007-09-12 Romain Francoise <romain@orebokech.com> | |
| 13850 | 2007-09-12 Glenn Morris <rgm@gnu.org> | 13850 | |
| 13851 | 13851 | * window.c (prefer_window_split_horizontally, display_buffer): | |
| 13852 | * alloca.c: Remove file. | 13852 | Revert 2007-09-08 change. |
| 13853 | * Makefile.in (alloca): Do not undef. | 13853 | |
| 13854 | (allocaobj, alloca.o): Remove. | 13854 | 2007-09-12 Glenn Morris <rgm@gnu.org> |
| 13855 | (otherobj): Remove allocaobj. | 13855 | |
| 13856 | * keyboard.c (command_loop_1): Remove #ifdef C_ALLOCA block. | 13856 | * alloca.c: Remove file. |
| 13857 | * regex.c (C_ALLOCA): Remove all references and code that was only | 13857 | * Makefile.in (alloca): Do not undef. |
| 13858 | used when this was defined. | 13858 | (allocaobj, alloca.o): Remove. |
| 13859 | * search.c (boyer_moore): Remove #ifdef C_ALLOCA block. | 13859 | (otherobj): Remove allocaobj. |
| 13860 | * xmenu.c (xmenu_show): Remove #ifdef C_ALLOCA block. | 13860 | * keyboard.c (command_loop_1): Remove #ifdef C_ALLOCA block. |
| 13861 | * m/ibms390x.h, m/sh3el.h (C_ALLOCA): Remove references to this. | 13861 | * regex.c (C_ALLOCA): Remove all references and code that was only |
| 13862 | 13862 | used when this was defined. | |
| 13863 | * Makefile.in (SOURCES, unlock, relock): Delete. | 13863 | * search.c (boyer_moore): Remove #ifdef C_ALLOCA block. |
| 13864 | 13864 | * xmenu.c (xmenu_show): Remove #ifdef C_ALLOCA block. | |
| 13865 | * gtkutil.c (cnt): Rename to menu_grab_callback_cnt for clarity. | 13865 | * m/ibms390x.h, m/sh3el.h (C_ALLOCA): Remove references to this. |
| 13866 | (menu_grab_callback): All uses changed. | 13866 | |
| 13867 | 13867 | * Makefile.in (SOURCES, unlock, relock): Delete. | |
| 13868 | * xselect.c (cnt): Rename to x_reply_selection_request_cnt for clarity. | 13868 | |
| 13869 | (x_reply_selection_request): All uses changed. | 13869 | * gtkutil.c (cnt): Rename to menu_grab_callback_cnt for clarity. |
| 13870 | 13870 | (menu_grab_callback): All uses changed. | |
| 13871 | 2007-09-11 Stefan Monnier <monnier@iro.umontreal.ca> | 13871 | |
| 13872 | 13872 | * xselect.c (cnt): Rename to x_reply_selection_request_cnt for clarity. | |
| 13873 | * lread.c (load_warn_old_style_backquotes): Change message to look | 13873 | (x_reply_selection_request): All uses changed. |
| 13874 | better when it appears in the middle of byte-compiler messages. | 13874 | |
| 13875 | 13875 | 2007-09-11 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 13876 | 2007-09-10 Dan Nicolaescu <dann@ics.uci.edu> | 13876 | |
| 13877 | 13877 | * lread.c (load_warn_old_style_backquotes): Change message to look | |
| 13878 | * s/darwin.h (MULTI_KBOARD): Only define for Carbon. | 13878 | better when it appears in the middle of byte-compiler messages. |
| 13879 | 13879 | ||
| 13880 | * xterm.c (x_create_terminal): Add comment. | 13880 | 2007-09-10 Dan Nicolaescu <dann@ics.uci.edu> |
| 13881 | 13881 | ||
| 13882 | * term.c (clear_tty_hooks, set_tty_hooks): Add comments. | 13882 | * s/darwin.h (MULTI_KBOARD): Only define for Carbon. |
| 13883 | 13883 | ||
| 13884 | 2007-09-10 Richard Stallman <rms@gnu.org> | 13884 | * xterm.c (x_create_terminal): Add comment. |
| 13885 | 13885 | ||
| 13886 | * xterm.c (x_term_init): Give error if can't open DISPLAY_NAME. | 13886 | * term.c (clear_tty_hooks, set_tty_hooks): Add comments. |
| 13887 | 13887 | ||
| 13888 | 2007-09-10 Michaël Cadilhac <michael@cadilhac.name> | 13888 | 2007-09-10 Richard Stallman <rms@gnu.org> |
| 13889 | 13889 | ||
| 13890 | * lisp.h (struct Lisp_Subr): Rename `prompt' field to `intspec'. | 13890 | * xterm.c (x_term_init): Give error if can't open DISPLAY_NAME. |
| 13891 | (DEFUN): Document `intspec', use it instead of `prompt'. | 13891 | |
| 13892 | 13892 | 2007-09-10 Michaël Cadilhac <michael@cadilhac.name> | |
| 13893 | * eval.c (Fcommandp): Change `->prompt' to `->intspec'. | 13893 | |
| 13894 | 13894 | * lisp.h (struct Lisp_Subr): Rename `prompt' field to `intspec'. | |
| 13895 | * data.c (Finteractive_form): If the interactive specification starts | 13895 | (DEFUN): Document `intspec', use it instead of `prompt'. |
| 13896 | with a `(', use it as a Lisp form. | 13896 | |
| 13897 | 13897 | * eval.c (Fcommandp): Change `->prompt' to `->intspec'. | |
| 13898 | * fileio.c (Fset_file_modes): Add an interactive spec that reads a file | 13898 | |
| 13899 | name and file modes. | 13899 | * data.c (Finteractive_form): If the interactive specification starts |
| 13900 | 13900 | with a `(', use it as a Lisp form. | |
| 13901 | * callint.c (Fcall_interactively): Comment fixes. | 13901 | |
| 13902 | 13902 | * fileio.c (Fset_file_modes): Add an interactive spec that reads a file | |
| 13903 | 2007-09-10 Stefan Monnier <monnier@iro.umontreal.ca> | 13903 | name and file modes. |
| 13904 | 13904 | ||
| 13905 | * callint.c (Fcall_interactively): Use Finteractive_form also for subrs | 13905 | * callint.c (Fcall_interactively): Comment fixes. |
| 13906 | and compiled functions. | 13906 | |
| 13907 | 13907 | 2007-09-10 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 13908 | 2007-09-08 Fredrik Axelsson <f.axelsson@gmail.com> | 13908 | |
| 13909 | 13909 | * callint.c (Fcall_interactively): Use Finteractive_form also for subrs | |
| 13910 | * window.c (prefer_window_split_horizontally): New variable. | 13910 | and compiled functions. |
| 13911 | (display_buffer): Consider splitting window horizontally depending | 13911 | |
| 13912 | on prefer_window_split_horizontally. | 13912 | 2007-09-08 Fredrik Axelsson <f.axelsson@gmail.com> |
| 13913 | 13913 | ||
| 13914 | 2007-09-08 Eli Zaretskii <eliz@gnu.org> | 13914 | * window.c (prefer_window_split_horizontally): New variable. |
| 13915 | 13915 | (display_buffer): Consider splitting window horizontally depending | |
| 13916 | * sysdep.c [WINDOWSNT]: Don't include sysselect.h. | 13916 | on prefer_window_split_horizontally. |
| 13917 | 13917 | ||
| 13918 | 2007-09-07 Stefan Monnier <monnier@iro.umontreal.ca> | 13918 | 2007-09-08 Eli Zaretskii <eliz@gnu.org> |
| 13919 | 13919 | ||
| 13920 | * s/cygwin.h (GC_MARK_STACK): Enable conservative stack marking. | 13920 | * sysdep.c [WINDOWSNT]: Don't include sysselect.h. |
| 13921 | 13921 | ||
| 13922 | * frame.c (x_set_frame_parameters): Check number is positive before | 13922 | 2007-09-07 Stefan Monnier <monnier@iro.umontreal.ca> |
| 13923 | using XFASTINT. | 13923 | |
| 13924 | 13924 | * s/cygwin.h (GC_MARK_STACK): Enable conservative stack marking. | |
| 13925 | * window.c (freeze_window_start): Don't presume selected_window holds | 13925 | |
| 13926 | a window object. | 13926 | * frame.c (x_set_frame_parameters): Check number is positive before |
| 13927 | (Fdisplay_buffer): Remove `register' since `buffer' needs to be gcpro'd. | 13927 | using XFASTINT. |
| 13928 | 13928 | ||
| 13929 | 2007-09-07 Angelo Graziosi <Angelo.Graziosi@roma1.infn.it> (tiny change) | 13929 | * window.c (freeze_window_start): Don't presume selected_window holds |
| 13930 | 13930 | a window object. | |
| 13931 | * term.c (dissociate_if_controlling_tty): Call setsid on CYGWIN. | 13931 | (Fdisplay_buffer): Remove `register' since `buffer' needs to be gcpro'd. |
| 13932 | 13932 | ||
| 13933 | 2007-09-07 Stefan Monnier <monnier@iro.umontreal.ca> | 13933 | 2007-09-07 Angelo Graziosi <Angelo.Graziosi@roma1.infn.it> (tiny change) |
| 13934 | 13934 | ||
| 13935 | * window.c (Vsplit_window_preferred_function): New var. | 13935 | * term.c (dissociate_if_controlling_tty): Call setsid on CYGWIN. |
| 13936 | (Fdisplay_buffer): Use it. | 13936 | |
| 13937 | (syms_of_window): Export, and initialize it. | 13937 | 2007-09-07 Stefan Monnier <monnier@iro.umontreal.ca> |
| 13938 | 13938 | ||
| 13939 | 2007-09-06 Pixel <pixel@mandriva.com> (tiny change) | 13939 | * window.c (Vsplit_window_preferred_function): New var. |
| 13940 | 13940 | (Fdisplay_buffer): Use it. | |
| 13941 | * image.c (gif_load): Fix bug: Handle nonexistent colormap. | 13941 | (syms_of_window): Export, and initialize it. |
| 13942 | 13942 | ||
| 13943 | 2007-09-06 Glenn Morris <rgm@gnu.org> | 13943 | 2007-09-06 Pixel <pixel@mandriva.com> (tiny change) |
| 13944 | 13944 | ||
| 13945 | * gtkutil.c (menu_grab_callback) <cnt>: | 13945 | * image.c (gif_load): Fix bug: Handle nonexistent colormap. |
| 13946 | * xselect.c (x_reply_selection_request) <cnt>: Move static | 13946 | |
| 13947 | variable to file scope. | 13947 | 2007-09-06 Glenn Morris <rgm@gnu.org> |
| 13948 | 13948 | ||
| 13949 | 2007-09-06 Stefan Monnier <monnier@iro.umontreal.ca> | 13949 | * gtkutil.c (menu_grab_callback) <cnt>: |
| 13950 | 13950 | * xselect.c (x_reply_selection_request) <cnt>: Move static | |
| 13951 | * xdisp.c (redisplay_internal): Make sure Elisp code always sees | 13951 | variable to file scope. |
| 13952 | consistent values of selected_frame and selected_window. | 13952 | |
| 13953 | 13953 | 2007-09-06 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 13954 | 2007-09-04 Jason Rumney <jasonr@gnu.org> | 13954 | |
| 13955 | 13955 | * xdisp.c (redisplay_internal): Make sure Elisp code always sees | |
| 13956 | * w32console.c (initialize_w32_display): Zero unused hooks. | 13956 | consistent values of selected_frame and selected_window. |
| 13957 | 13957 | ||
| 13958 | 2007-09-04 Dan Nicolaescu <dann@ics.uci.edu> | 13958 | 2007-09-04 Jason Rumney <jasonr@gnu.org> |
| 13959 | 13959 | ||
| 13960 | * term.c (Vsuspend_tty_functions, Vresume_tty_functions) | 13960 | * w32console.c (initialize_w32_display): Zero unused hooks. |
| 13961 | (syms_of_term, Fsuspend_tty, Fresume_tty): Undo previous change. | 13961 | |
| 13962 | 13962 | 2007-09-04 Dan Nicolaescu <dann@ics.uci.edu> | |
| 13963 | 2007-09-04 Jason Rumney <jasonr@gnu.org> | 13963 | |
| 13964 | 13964 | * term.c (Vsuspend_tty_functions, Vresume_tty_functions) | |
| 13965 | * term.c (init_tty) [WINDOWSNT]: Add hooks that are not accessible | 13965 | (syms_of_term, Fsuspend_tty, Fresume_tty): Undo previous change. |
| 13966 | in w32console.c. Set up input. Remove XXX comments that have been | 13966 | |
| 13967 | confirmed as correct. | 13967 | 2007-09-04 Jason Rumney <jasonr@gnu.org> |
| 13968 | 13968 | ||
| 13969 | * s/ms-w32.h (MULTI_KBOARD): Define. | 13969 | * term.c (init_tty) [WINDOWSNT]: Add hooks that are not accessible |
| 13970 | 13970 | in w32console.c. Set up input. Remove XXX comments that have been | |
| 13971 | * w32console.c (one_and_only_w32cons): Remove. | 13971 | confirmed as correct. |
| 13972 | (initialize_w32_display): Take terminal argument. | 13972 | |
| 13973 | 13973 | * s/ms-w32.h (MULTI_KBOARD): Define. | |
| 13974 | * term.c (init_tty) [WINDOWSNT]: Pass terminal to | 13974 | |
| 13975 | initialize_w32_display. | 13975 | * w32console.c (one_and_only_w32cons): Remove. |
| 13976 | (init_tty) [MULTI_KBOARD]: Include this code on WINDOWSNT too. | 13976 | (initialize_w32_display): Take terminal argument. |
| 13977 | 13977 | ||
| 13978 | * termhooks.h (enum event_kind) <HORIZ_WHEEL_EVENT>: New event. | 13978 | * term.c (init_tty) [WINDOWSNT]: Pass terminal to |
| 13979 | 13979 | initialize_w32_display. | |
| 13980 | * keyboard.c (discard_mouse_events): Discard it. | 13980 | (init_tty) [MULTI_KBOARD]: Include this code on WINDOWSNT too. |
| 13981 | (make_lispy_event): Translate it to a lisp event. | 13981 | |
| 13982 | (lispy_wheel_names): Add wheel-left and right events. | 13982 | * termhooks.h (enum event_kind) <HORIZ_WHEEL_EVENT>: New event. |
| 13983 | (syms_of_keyboard): Enlarge wheel_syms. | 13983 | |
| 13984 | 13984 | * keyboard.c (discard_mouse_events): Discard it. | |
| 13985 | * w32fns.c (w32_wnd_proc) <WM_DROPFILES>: Merge with WM_MOUSEWHEEL. | 13985 | (make_lispy_event): Translate it to a lisp event. |
| 13986 | <WM_MOUSEHWHEEL>: Pass new system message to lisp. | 13986 | (lispy_wheel_names): Add wheel-left and right events. |
| 13987 | 13987 | (syms_of_keyboard): Enlarge wheel_syms. | |
| 13988 | * w32term.h (WM_MOUSEHWHEEL): Define if system headers don't. | 13988 | |
| 13989 | 13989 | * w32fns.c (w32_wnd_proc) <WM_DROPFILES>: Merge with WM_MOUSEWHEEL. | |
| 13990 | * w32term.c (construct_mouse_wheel): Make HORIZ_WHEEL_EVENT | 13990 | <WM_MOUSEHWHEEL>: Pass new system message to lisp. |
| 13991 | from WM_MOUSEHWHEEL. | 13991 | |
| 13992 | (w32_read_socket) <WM_MOUSEHWHEEL>: Treat as WM_MOUSEWHEEL. | 13992 | * w32term.h (WM_MOUSEHWHEEL): Define if system headers don't. |
| 13993 | 13993 | ||
| 13994 | * w32fns.c (x_create_tip_frame) [MULTI_KBOARD]: Get keyboard from | 13994 | * w32term.c (construct_mouse_wheel): Make HORIZ_WHEEL_EVENT |
| 13995 | terminal. | 13995 | from WM_MOUSEHWHEEL. |
| 13996 | 13996 | (w32_read_socket) <WM_MOUSEHWHEEL>: Treat as WM_MOUSEWHEEL. | |
| 13997 | * w32term.c (w32_create_terminal) [MULTI_KBOARD]: Create a new | 13997 | |
| 13998 | keyboard for the terminal. | 13998 | * w32fns.c (x_create_tip_frame) [MULTI_KBOARD]: Get keyboard from |
| 13999 | 13999 | terminal. | |
| 14000 | 2007-09-04 Dan Nicolaescu <dann@ics.uci.edu> | 14000 | |
| 14001 | 14001 | * w32term.c (w32_create_terminal) [MULTI_KBOARD]: Create a new | |
| 14002 | * term.c (Vsuspend_tty_hook): Rename from Vsuspend_tty_functions. | 14002 | keyboard for the terminal. |
| 14003 | (Vresume_tty_hook): Rename from Vresume_tty_functions. | 14003 | |
| 14004 | (syms_of_term): Rename suspend-tty-functions to suspend-tty-hook | 14004 | 2007-09-04 Dan Nicolaescu <dann@ics.uci.edu> |
| 14005 | and resume-tty-function to resume-tty-hook. | 14005 | |
| 14006 | (Fsuspend_tty, Fresume_tty): Use new names. | 14006 | * term.c (Vsuspend_tty_hook): Rename from Vsuspend_tty_functions. |
| 14007 | 14007 | (Vresume_tty_hook): Rename from Vresume_tty_functions. | |
| 14008 | 2007-09-02 Jan Djärv <jan.h.d@swipnet.se> | 14008 | (syms_of_term): Rename suspend-tty-functions to suspend-tty-hook |
| 14009 | 14009 | and resume-tty-function to resume-tty-hook. | |
| 14010 | * gtkutil.c (update_frame_tool_bar): Handle stock name as a named icon | 14010 | (Fsuspend_tty, Fresume_tty): Use new names. |
| 14011 | if it starts with "n:". | 14011 | |
| 14012 | 14012 | 2007-09-02 Jan Djärv <jan.h.d@swipnet.se> | |
| 14013 | 2007-08-31 Jan Djärv <jan.h.d@swipnet.se> | 14013 | |
| 14014 | 14014 | * gtkutil.c (update_frame_tool_bar): Handle stock name as a named icon | |
| 14015 | * gtkutil.c (update_frame_tool_bar): Initialize wbutton to NULL. | 14015 | if it starts with "n:". |
| 14016 | 14016 | ||
| 14017 | 2007-08-31 Stefan Monnier <monnier@iro.umontreal.ca> | 14017 | 2007-08-31 Jan Djärv <jan.h.d@swipnet.se> |
| 14018 | 14018 | ||
| 14019 | * frame.h: | 14019 | * gtkutil.c (update_frame_tool_bar): Initialize wbutton to NULL. |
| 14020 | * frame.c (Qterm_environment_variable): Remove. | 14020 | |
| 14021 | (syms_of_frame): Don't init and staticpro it. | 14021 | 2007-08-31 Stefan Monnier <monnier@iro.umontreal.ca> |
| 14022 | 14022 | ||
| 14023 | * callproc.c (getenv_internal): Remove special case for $TERM. | 14023 | * frame.h: |
| 14024 | 14024 | * frame.c (Qterm_environment_variable): Remove. | |
| 14025 | * callproc.c (Vinitial_environment): New variable. | 14025 | (syms_of_frame): Don't init and staticpro it. |
| 14026 | (set_initial_environment): Initialize it. | 14026 | |
| 14027 | (syms_of_callproc): Declare it. | 14027 | * callproc.c (getenv_internal): Remove special case for $TERM. |
| 14028 | (child_setup): Don't mess with TERM via Qterm_environment_variable; the | 14028 | |
| 14029 | TERM under which a process runs is never related to the TERM in which | 14029 | * callproc.c (Vinitial_environment): New variable. |
| 14030 | Emacs is running. | 14030 | (set_initial_environment): Initialize it. |
| 14031 | 14031 | (syms_of_callproc): Declare it. | |
| 14032 | 2007-08-29 Dan Nicolaescu <dann@ics.uci.edu> | 14032 | (child_setup): Don't mess with TERM via Qterm_environment_variable; the |
| 14033 | 14033 | TERM under which a process runs is never related to the TERM in which | |
| 14034 | * config.in (HAVE_WINDOW_SYSTEM): Don't undef MULTI_KBOARD here... | 14034 | Emacs is running. |
| 14035 | * s/darwin.h: ... do it here. | 14035 | |
| 14036 | 14036 | 2007-08-29 Dan Nicolaescu <dann@ics.uci.edu> | |
| 14037 | 2007-08-29 Stefan Monnier <monnier@iro.umontreal.ca> | 14037 | |
| 14038 | 14038 | * config.in (HAVE_WINDOW_SYSTEM): Don't undef MULTI_KBOARD here... | |
| 14039 | * lisp.h (set_initial_environment): Rename from set_global_environment. | 14039 | * s/darwin.h: ... do it here. |
| 14040 | 14040 | ||
| 14041 | * Makefile.in (${etc}DOC): Re-add a ${EXEEXT} which seems to have been | 14041 | 2007-08-29 Stefan Monnier <monnier@iro.umontreal.ca> |
| 14042 | removed by mistake on the multi-tty branch. | 14042 | |
| 14043 | 14043 | * lisp.h (set_initial_environment): Rename from set_global_environment. | |
| 14044 | * frame.c (make_terminal_frame): Yet Another Int/Lisp_Object Mixup. | 14044 | |
| 14045 | (Fmodify_frame_parameters): Return a value. | 14045 | * Makefile.in (${etc}DOC): Re-add a ${EXEEXT} which seems to have been |
| 14046 | 14046 | removed by mistake on the multi-tty branch. | |
| 14047 | * image.c (png_load): Comment-out var only used in commented-out code. | 14047 | |
| 14048 | 14048 | * frame.c (make_terminal_frame): Yet Another Int/Lisp_Object Mixup. | |
| 14049 | * term.c (mark_ttys): Don't bother checking top_frame (incorrectly) | 14049 | (Fmodify_frame_parameters): Return a value. |
| 14050 | before passing it to mark_object. | 14050 | |
| 14051 | 14051 | * image.c (png_load): Comment-out var only used in commented-out code. | |
| 14052 | * xfaces.c (internal_resolve_face_name): Return a value. | 14052 | |
| 14053 | (internal_resolve_face_name, resolve_face_name_error): Comment out. | 14053 | * term.c (mark_ttys): Don't bother checking top_frame (incorrectly) |
| 14054 | 14054 | before passing it to mark_object. | |
| 14055 | * xfns.c (check_x_display_info): Yet Another Int/Lisp_Object Mixup. | 14055 | |
| 14056 | (x_icon): Comment-out var only used in commented-out code. | 14056 | * xfaces.c (internal_resolve_face_name): Return a value. |
| 14057 | 14057 | (internal_resolve_face_name, resolve_face_name_error): Comment out. | |
| 14058 | 2007-08-29 Romain Francoise <romain@orebokech.com> | 14058 | |
| 14059 | 14059 | * xfns.c (check_x_display_info): Yet Another Int/Lisp_Object Mixup. | |
| 14060 | * keyboard.c (Fset_input_mode): Don't call `Fset_quit_char' if | 14060 | (x_icon): Comment-out var only used in commented-out code. |
| 14061 | QUIT hasn't been provided. | 14061 | |
| 14062 | 14062 | 2007-08-29 Romain Francoise <romain@orebokech.com> | |
| 14063 | 2007-08-29 Dan Nicolaescu <dann@ics.uci.edu> | 14063 | |
| 14064 | 14064 | * keyboard.c (Fset_input_mode): Don't call `Fset_quit_char' if | |
| 14065 | * callproc.c (child_setup, getenv_internal): Use the | 14065 | QUIT hasn't been provided. |
| 14066 | display-environment-variable and term-environment-variable frame params. | 14066 | |
| 14067 | (set_initial_environment): Initialise Vprocess_environment. | 14067 | 2007-08-29 Dan Nicolaescu <dann@ics.uci.edu> |
| 14068 | 14068 | ||
| 14069 | * config.in: Disable multi-keyboard support on a mac. | 14069 | * callproc.c (child_setup, getenv_internal): Use the |
| 14070 | 14070 | display-environment-variable and term-environment-variable frame params. | |
| 14071 | * frame.c (Qterm_environment_variable) | 14071 | (set_initial_environment): Initialise Vprocess_environment. |
| 14072 | (Qdisplay_environment_variable): New variables. | 14072 | |
| 14073 | (syms_of_frame): Intern and staticpro them. | 14073 | * config.in: Disable multi-keyboard support on a mac. |
| 14074 | (Fmake_terminal_frame): Disable output method test. | 14074 | |
| 14075 | 14075 | * frame.c (Qterm_environment_variable) | |
| 14076 | * frame.h: Declare them here. | 14076 | (Qdisplay_environment_variable): New variables. |
| 14077 | 14077 | (syms_of_frame): Intern and staticpro them. | |
| 14078 | * macfns.c (x_set_mouse_color): Get rif from the frame. | 14078 | (Fmake_terminal_frame): Disable output method test. |
| 14079 | (x_set_tool_bar_lines): Don't use updating_frame. | 14079 | |
| 14080 | (mac_window): Add 2 new parameters for consistency with other systems. | 14080 | * frame.h: Declare them here. |
| 14081 | (Fx_create_frame): Fix doc string. Rename the parameter. Set the | 14081 | |
| 14082 | frame parameters following what is done in X11 and w32. Don't use | 14082 | * macfns.c (x_set_mouse_color): Get rif from the frame. |
| 14083 | FRAME_MAC_DISPLAY_INFO. | 14083 | (x_set_tool_bar_lines): Don't use updating_frame. |
| 14084 | (Fx_open_connection, start_hourglass): Remove window-system check. | 14084 | (mac_window): Add 2 new parameters for consistency with other systems. |
| 14085 | (x_create_tip_frame): Get the keyboard from the terminal. | 14085 | (Fx_create_frame): Fix doc string. Rename the parameter. Set the |
| 14086 | 14086 | frame parameters following what is done in X11 and w32. Don't use | |
| 14087 | * macmenu.c: Reorder includes. | 14087 | FRAME_MAC_DISPLAY_INFO. |
| 14088 | (Fx_popup_menu): Use terminal specific mouse_position_hook. | 14088 | (Fx_open_connection, start_hourglass): Remove window-system check. |
| 14089 | 14089 | (x_create_tip_frame): Get the keyboard from the terminal. | |
| 14090 | * macterm.c (XTset_terminal_modes, XTreset_terminal_modes): Add a | 14090 | |
| 14091 | terminal parameter. | 14091 | * macmenu.c: Reorder includes. |
| 14092 | (x_clear_frame): Add a frame parameter. | 14092 | (Fx_popup_menu): Use terminal specific mouse_position_hook. |
| 14093 | (note_mouse_movement): Get rif from the frame. | 14093 | |
| 14094 | (mac_term_init): Initialize the terminal. | 14094 | * macterm.c (XTset_terminal_modes, XTreset_terminal_modes): Add a |
| 14095 | (mac_initialize): Make static and move terminal initialization ... | 14095 | terminal parameter. |
| 14096 | (mac_create_terminal): ... to this new function. | 14096 | (x_clear_frame): Add a frame parameter. |
| 14097 | 14097 | (note_mouse_movement): Get rif from the frame. | |
| 14098 | * macterm.h (struct mac_display_info): Add terminal. | 14098 | (mac_term_init): Initialize the terminal. |
| 14099 | (mac_initialize): Delete declaration. | 14099 | (mac_initialize): Make static and move terminal initialization ... |
| 14100 | 14100 | (mac_create_terminal): ... to this new function. | |
| 14101 | * puresize.h (BASE_PURESIZE): Increase base value to 1164000. | 14101 | |
| 14102 | 14102 | * macterm.h (struct mac_display_info): Add terminal. | |
| 14103 | * sysdep.c: Comment out text after #endif. | 14103 | (mac_initialize): Delete declaration. |
| 14104 | 14104 | ||
| 14105 | * term.c (init_tty): Only use terminal->kboard when MULTI_KBOARD | 14105 | * puresize.h (BASE_PURESIZE): Increase base value to 1164000. |
| 14106 | is defined. Better initialize ttys in windows. Use terminal | 14106 | |
| 14107 | specific mouse_position_hook. | 14107 | * sysdep.c: Comment out text after #endif. |
| 14108 | 14108 | ||
| 14109 | * termhooks.h (union display_info): Add mac_display_info. | 14109 | * term.c (init_tty): Only use terminal->kboard when MULTI_KBOARD |
| 14110 | 14110 | is defined. Better initialize ttys in windows. Use terminal | |
| 14111 | * w32fns.c (Fx_create_frame): Use kboard from the terminal. | 14111 | specific mouse_position_hook. |
| 14112 | Set the default minibuffer frame, window_system and the rest of the | 14112 | |
| 14113 | frame parameters following what is done in X11. | 14113 | * termhooks.h (union display_info): Add mac_display_info. |
| 14114 | 14114 | ||
| 14115 | * w32term.c (w32_initialize): Make static. | 14115 | * w32fns.c (Fx_create_frame): Use kboard from the terminal. |
| 14116 | 14116 | Set the default minibuffer frame, window_system and the rest of the | |
| 14117 | * xselect.c (x_handle_selection_clear): Only access | 14117 | frame parameters following what is done in X11. |
| 14118 | terminal->kboard when MULTI_KBOARD is defined. | 14118 | |
| 14119 | 14119 | * w32term.c (w32_initialize): Make static. | |
| 14120 | * s/darwin.h (SYSTEM_PURESIZE_EXTRA): Define here. | 14120 | |
| 14121 | (SYSTEM_PURESIZE_EXTRA): Only define on Carbon. | 14121 | * xselect.c (x_handle_selection_clear): Only access |
| 14122 | 14122 | terminal->kboard when MULTI_KBOARD is defined. | |
| 14123 | 2007-08-29 Jason Rumney <jasonr@gnu.org> | 14123 | |
| 14124 | 14124 | * s/darwin.h (SYSTEM_PURESIZE_EXTRA): Define here. | |
| 14125 | * frame.c (Fdelete_frame): Only get kboard when MULTI_KBOARD defined. | 14125 | (SYSTEM_PURESIZE_EXTRA): Only define on Carbon. |
| 14126 | (make_terminal_frame) [WINDOWSNT]: Initialize terminal. | 14126 | |
| 14127 | 14127 | 2007-08-29 Jason Rumney <jasonr@gnu.org> | |
| 14128 | * fringe.c (w32_init_fringe w32_reset_fringes) [HAVE_NTGUI]: | 14128 | |
| 14129 | (mac_init_fringe) [MAC_OS]: Get rif from selected_frame. | 14129 | * frame.c (Fdelete_frame): Only get kboard when MULTI_KBOARD defined. |
| 14130 | 14130 | (make_terminal_frame) [WINDOWSNT]: Initialize terminal. | |
| 14131 | * keyboard.c (restore_kboard_configuration): Only define when | 14131 | |
| 14132 | MULTI_KBOARD defined. | 14132 | * fringe.c (w32_init_fringe w32_reset_fringes) [HAVE_NTGUI]: |
| 14133 | 14133 | (mac_init_fringe) [MAC_OS]: Get rif from selected_frame. | |
| 14134 | * makefile.w32-in: Update dependancies from Makefile.in. | 14134 | |
| 14135 | (OBJ1): Add terminal.$(O) | 14135 | * keyboard.c (restore_kboard_configuration): Only define when |
| 14136 | 14136 | MULTI_KBOARD defined. | |
| 14137 | * term.c (dissociate_if_controlling_tty) [WINDOWSNT]: | 14137 | |
| 14138 | Don't define function body. | 14138 | * makefile.w32-in: Update dependancies from Makefile.in. |
| 14139 | (init_tty) [WINDOWSNT]: Use selected_frame for initializing. | 14139 | (OBJ1): Add terminal.$(O) |
| 14140 | 14140 | ||
| 14141 | * termhooks.h (display_info) [WINDOWSNT]: Add w32. | 14141 | * term.c (dissociate_if_controlling_tty) [WINDOWSNT]: |
| 14142 | 14142 | Don't define function body. | |
| 14143 | * w32.c (request_sigio, unrequest_sigio): Remove. | 14143 | (init_tty) [WINDOWSNT]: Use selected_frame for initializing. |
| 14144 | 14144 | ||
| 14145 | * w32console.c (w32con_move_cursor, w32con_clear_to_end) | 14145 | * termhooks.h (display_info) [WINDOWSNT]: Add w32. |
| 14146 | (w32con_clear_frame, w32con_clear_end_of_line) | 14146 | |
| 14147 | (w32con_ins_del_lines, w32con_insert_glyphs, w32con_write_glyphs) | 14147 | * w32.c (request_sigio, unrequest_sigio): Remove. |
| 14148 | (w32con_delete_glyphs, w32con_set_terminal_window) | 14148 | |
| 14149 | (scroll_line, w32_sys_ring_bell): Add frame arg. | 14149 | * w32console.c (w32con_move_cursor, w32con_clear_to_end) |
| 14150 | (w32con_set_terminal_modes, w32con_reset_terminal_modes): | 14150 | (w32con_clear_frame, w32con_clear_end_of_line) |
| 14151 | Add terminal arg. | 14151 | (w32con_ins_del_lines, w32con_insert_glyphs, w32con_write_glyphs) |
| 14152 | (PICK_FRAME): Remove. | 14152 | (w32con_delete_glyphs, w32con_set_terminal_window) |
| 14153 | (w32con_write_glyphs): Use frame specific terminal coding. | 14153 | (scroll_line, w32_sys_ring_bell): Add frame arg. |
| 14154 | (one_and_only_w32cons): New global variable. | 14154 | (w32con_set_terminal_modes, w32con_reset_terminal_modes): |
| 14155 | (initialize_w32_display): Use it for storing hooks. | 14155 | Add terminal arg. |
| 14156 | (create_w32cons_output): New function. | 14156 | (PICK_FRAME): Remove. |
| 14157 | 14157 | (w32con_write_glyphs): Use frame specific terminal coding. | |
| 14158 | * w32inevt.c, w32inevt.h (w32_console_read_socket): Make first | 14158 | (one_and_only_w32cons): New global variable. |
| 14159 | arg a frame. | 14159 | (initialize_w32_display): Use it for storing hooks. |
| 14160 | 14160 | (create_w32cons_output): New function. | |
| 14161 | * w32fns.c (x_create_tip_frame): Set terminal and ref count. | 14161 | |
| 14162 | Set window_system. | 14162 | * w32inevt.c, w32inevt.h (w32_console_read_socket): Make first |
| 14163 | (x_set_tool_bar_lines): Don't use updating_frame. | 14163 | arg a frame. |
| 14164 | (Fx_create_frame): Set terminal and ref count. | 14164 | |
| 14165 | (Fx_open_connection): Remove window-system check. | 14165 | * w32fns.c (x_create_tip_frame): Set terminal and ref count. |
| 14166 | 14166 | Set window_system. | |
| 14167 | * w32menu.c (Fx_popup_menu): Use terminal specific mouse_position_hook. | 14167 | (x_set_tool_bar_lines): Don't use updating_frame. |
| 14168 | 14168 | (Fx_create_frame): Set terminal and ref count. | |
| 14169 | * w32term.c (w32_term_init): Call add_keyboard_wait_descriptor. | 14169 | (Fx_open_connection): Remove window-system check. |
| 14170 | (w32_set_terminal_modes, w32_reset_terminal_modes): Add terminal arg. | 14170 | |
| 14171 | (x_clear_frame, x_delete_glyphs, w32_ring_bell, x_ins_del_lines): | 14171 | * w32menu.c (Fx_popup_menu): Use terminal specific mouse_position_hook. |
| 14172 | Add frame arg. | 14172 | |
| 14173 | (x_delete_terminal, w32_create_terminal): New functions. | 14173 | * w32term.c (w32_term_init): Call add_keyboard_wait_descriptor. |
| 14174 | (w32_term_init): Create a terminal. | 14174 | (w32_set_terminal_modes, w32_reset_terminal_modes): Add terminal arg. |
| 14175 | (w32_initialize): Move terminal specific initialization to | 14175 | (x_clear_frame, x_delete_glyphs, w32_ring_bell, x_ins_del_lines): |
| 14176 | w32_create_terminal. | 14176 | Add frame arg. |
| 14177 | 14177 | (x_delete_terminal, w32_create_terminal): New functions. | |
| 14178 | * w32term.h (x_output): Remove foreground_pixel and background_pixel. | 14178 | (w32_term_init): Create a terminal. |
| 14179 | (w32_clear_rect, w32_clear_area): Use background from frame. | 14179 | (w32_initialize): Move terminal specific initialization to |
| 14180 | (w32_display_info): Add terminal. | 14180 | w32_create_terminal. |
| 14181 | (w32_sys_ring_bell, x_delete_display): Declare here. | 14181 | |
| 14182 | 14182 | * w32term.h (x_output): Remove foreground_pixel and background_pixel. | |
| 14183 | * xdisp.c (display_menu_bar) [HAVE_NTGUI]: Check frame type. | 14183 | (w32_clear_rect, w32_clear_area): Use background from frame. |
| 14184 | 14184 | (w32_display_info): Add terminal. | |
| 14185 | * s/ms-w32.h (SYSTEM_PURESIZE_EXTRA): Bump to 50k. | 14185 | (w32_sys_ring_bell, x_delete_display): Declare here. |
| 14186 | 14186 | ||
| 14187 | 2007-08-29 Kalle Olavi Niemitalo <kon@iki.fi> (tiny change) | 14187 | * xdisp.c (display_menu_bar) [HAVE_NTGUI]: Check frame type. |
| 14188 | 14188 | ||
| 14189 | * keyboard.c (interrupt_signal, handle_interrupt, Fset_quit_char): | 14189 | * s/ms-w32.h (SYSTEM_PURESIZE_EXTRA): Bump to 50k. |
| 14190 | Fix get_named_tty calls for the controlling tty. | 14190 | |
| 14191 | 14191 | 2007-08-29 Kalle Olavi Niemitalo <kon@iki.fi> (tiny change) | |
| 14192 | 2007-08-29 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change) | 14192 | |
| 14193 | 14193 | * keyboard.c (interrupt_signal, handle_interrupt, Fset_quit_char): | |
| 14194 | * term.c (dissociate_if_controlling_tty)[USG]: Fix parse error. | 14194 | Fix get_named_tty calls for the controlling tty. |
| 14195 | 14195 | ||
| 14196 | 2007-08-29 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp> (tiny change) | 14196 | 2007-08-29 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change) |
| 14197 | 14197 | ||
| 14198 | * term.c (tty_insert_glyphs): Add missing first parameter. | 14198 | * term.c (dissociate_if_controlling_tty)[USG]: Fix parse error. |
| 14199 | 14199 | ||
| 14200 | 2007-08-29 Károly Lőrentey <karoly@lorentey.hu> | 14200 | 2007-08-29 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp> (tiny change) |
| 14201 | 14201 | ||
| 14202 | * buffer.c (Fbuffer_list, Fbury_buffer): | 14202 | * term.c (tty_insert_glyphs): Add missing first parameter. |
| 14203 | Take frame->buried_buffer_list into account. | 14203 | |
| 14204 | 14204 | 2007-08-29 Károly Lőrentey <karoly@lorentey.hu> | |
| 14205 | * cm.c (current_tty): New variable, for cmputc(). | 14205 | |
| 14206 | (cmputc): Use it. | 14206 | * buffer.c (Fbuffer_list, Fbury_buffer): |
| 14207 | (cmcheckmagic): Add tty parameter, look up terminal streams there. | 14207 | Take frame->buried_buffer_list into account. |
| 14208 | (calccost): Add tty parameter. Use emacs_tputs() instead of tputs(). | 14208 | |
| 14209 | (cmgoto): Add tty parameter. Pass it on to calccost(). | 14209 | * cm.c (current_tty): New variable, for cmputc(). |
| 14210 | Use emacs_tputs() instead of tputs(). | 14210 | (cmputc): Use it. |
| 14211 | 14211 | (cmcheckmagic): Add tty parameter, look up terminal streams there. | |
| 14212 | * cm.h (emacs_tputs): New macro to set current_tty, and then call | 14212 | (calccost): Add tty parameter. Use emacs_tputs() instead of tputs(). |
| 14213 | tputs(). | 14213 | (cmgoto): Add tty parameter. Pass it on to calccost(). |
| 14214 | (current_tty): New variable, for cmputc(). | 14214 | Use emacs_tputs() instead of tputs(). |
| 14215 | (cmcheckmagic, cmputc, cmgoto): Add prototypes. | 14215 | |
| 14216 | 14216 | * cm.h (emacs_tputs): New macro to set current_tty, and then call | |
| 14217 | * eval.c (unwind_to_catch): Don't call x_fully_uncatch_errors. | 14217 | tputs(). |
| 14218 | (internal_condition_case, internal_condition_case_1) | 14218 | (current_tty): New variable, for cmputc(). |
| 14219 | (internal_condition_case_2): Don't abort when x_catching_errors. | 14219 | (cmcheckmagic, cmputc, cmgoto): Add prototypes. |
| 14220 | 14220 | ||
| 14221 | * fns.c (Fyes_or_no_p): Don't try to open an X dialog on tty terminals. | 14221 | * eval.c (unwind_to_catch): Don't call x_fully_uncatch_errors. |
| 14222 | (Fy_or_n_p): Likewise. Use temporarily_switch_to_single_kboard to | 14222 | (internal_condition_case, internal_condition_case_1) |
| 14223 | prevent crashes caused by bogus longjmps in read_char. | 14223 | (internal_condition_case_2): Don't abort when x_catching_errors. |
| 14224 | 14224 | ||
| 14225 | * keymap.h (Fset_keymap_parent): Add EXFUN. | 14225 | * fns.c (Fyes_or_no_p): Don't try to open an X dialog on tty terminals. |
| 14226 | 14226 | (Fy_or_n_p): Likewise. Use temporarily_switch_to_single_kboard to | |
| 14227 | * macterm.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL) | 14227 | prevent crashes caused by bogus longjmps in read_char. |
| 14228 | * w32term.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): | 14228 | |
| 14229 | Remove redundant definition. | 14229 | * keymap.h (Fset_keymap_parent): Add EXFUN. |
| 14230 | 14230 | ||
| 14231 | * macfns.c (x_set_mouse_color, x_make_gc): | 14231 | * macterm.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL) |
| 14232 | Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | 14232 | * w32term.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): |
| 14233 | 14233 | Remove redundant definition. | |
| 14234 | * w32term.c (x_free_frame_resources): | 14234 | |
| 14235 | Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | 14235 | * macfns.c (x_set_mouse_color, x_make_gc): |
| 14236 | (w32_initialize): Use the accessor macros for terminal characteristics. | 14236 | Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. |
| 14237 | 14237 | ||
| 14238 | * macterm.c (mac_initialize): Use Fset_input_interrupt_mode. | 14238 | * w32term.c (x_free_frame_resources): |
| 14239 | Use the accessor macros for terminal characteristics. | 14239 | Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. |
| 14240 | * msdos.c (internal_terminal_init): Use the accessor macros for | 14240 | (w32_initialize): Use the accessor macros for terminal characteristics. |
| 14241 | terminal characteristics. | 14241 | |
| 14242 | (ScreenVisualBell, internal_terminal_init): | 14242 | * macterm.c (mac_initialize): Use Fset_input_interrupt_mode. |
| 14243 | Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | 14243 | Use the accessor macros for terminal characteristics. |
| 14244 | 14244 | * msdos.c (internal_terminal_init): Use the accessor macros for | |
| 14245 | * termopts.h (no_redraw_on_reenter): Declare. | 14245 | terminal characteristics. |
| 14246 | 14246 | (ScreenVisualBell, internal_terminal_init): | |
| 14247 | * alloc.c (emacs_blocked_malloc): Disable mallopt call. | 14247 | Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. |
| 14248 | (mark_terminals, mark_ttys): Declare. | 14248 | |
| 14249 | (Fgarbage_collect): Call them. | 14249 | * termopts.h (no_redraw_on_reenter): Declare. |
| 14250 | (mark_object): Mark buried_buffer_list. | 14250 | |
| 14251 | 14251 | * alloc.c (emacs_blocked_malloc): Disable mallopt call. | |
| 14252 | * prefix-args.c: Include stdlib.h for exit. | 14252 | (mark_terminals, mark_ttys): Declare. |
| 14253 | 14253 | (Fgarbage_collect): Call them. | |
| 14254 | * syssignal.h: Add comment. | 14254 | (mark_object): Mark buried_buffer_list. |
| 14255 | 14255 | ||
| 14256 | * indent.c: Include stdio.h. | 14256 | * prefix-args.c: Include stdlib.h for exit. |
| 14257 | 14257 | ||
| 14258 | * window.h (Vinitial_window_system): Declare. | 14258 | * syssignal.h: Add comment. |
| 14259 | (Vwindow_system): Delete declaration. | 14259 | |
| 14260 | 14260 | * indent.c: Include stdio.h. | |
| 14261 | * fontset.c (Finternal_char_font): Use FRAME_RIF. | 14261 | |
| 14262 | 14262 | * window.h (Vinitial_window_system): Declare. | |
| 14263 | * image.c (lookup_image): Don't initialize `c' until the xasserts | 14263 | (Vwindow_system): Delete declaration. |
| 14264 | have been run. | 14264 | |
| 14265 | 14265 | * fontset.c (Finternal_char_font): Use FRAME_RIF. | |
| 14266 | * gtkutil.c (xg_create_frame_widgets): Use FRAME_BACKGROUND_PIXEL and | 14266 | |
| 14267 | FRAME_FOREGROUND_PIXEL. | 14267 | * image.c (lookup_image): Don't initialize `c' until the xasserts |
| 14268 | 14268 | have been run. | |
| 14269 | * print.c (print_preprocess): Don't lose print_depth levels while | 14269 | |
| 14270 | iterating. | 14270 | * gtkutil.c (xg_create_frame_widgets): Use FRAME_BACKGROUND_PIXEL and |
| 14271 | 14271 | FRAME_FOREGROUND_PIXEL. | |
| 14272 | * widget.c (update_from_various_frame_slots): | 14272 | |
| 14273 | Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | 14273 | * print.c (print_preprocess): Don't lose print_depth levels while |
| 14274 | 14274 | iterating. | |
| 14275 | * window.c (set_window_buffer): Don't call clear_mouse_face on tty | 14275 | |
| 14276 | frames. | 14276 | * widget.c (update_from_various_frame_slots): |
| 14277 | (window_internal_height): Remove bogus make_number call. | 14277 | Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. |
| 14278 | (init_window_once): Call make_terminal_frame with two zero parameters. | 14278 | |
| 14279 | 14279 | * window.c (set_window_buffer): Don't call clear_mouse_face on tty | |
| 14280 | * fileio.c (Fread_file_name): Update comment. | 14280 | frames. |
| 14281 | 14281 | (window_internal_height): Remove bogus make_number call. | |
| 14282 | * callint.c (Fcall_interactively): | 14282 | (init_window_once): Call make_terminal_frame with two zero parameters. |
| 14283 | Use temporarily_switch_to_single_kboard instead of single_kboard_state. | 14283 | |
| 14284 | Make sure it is correctly unwound. | 14284 | * fileio.c (Fread_file_name): Update comment. |
| 14285 | 14285 | ||
| 14286 | * xsmfns.c (x_session_close): New function. | 14286 | * callint.c (Fcall_interactively): |
| 14287 | 14287 | Use temporarily_switch_to_single_kboard instead of single_kboard_state. | |
| 14288 | * coding.h (terminal_coding, safe_terminal_coding, keyboard_coding): | 14288 | Make sure it is correctly unwound. |
| 14289 | Delete declarations. | 14289 | |
| 14290 | 14290 | * xsmfns.c (x_session_close): New function. | |
| 14291 | * xterm.h: Remove declaration for x_fully_uncatch_errors. | 14291 | |
| 14292 | (x_output): Remove background_pixel and foreground_pixel fields. | 14292 | * coding.h (terminal_coding, safe_terminal_coding, keyboard_coding): |
| 14293 | (x_display_info): Add new field TERMINAL. Remove KBOARD field. | 14293 | Delete declarations. |
| 14294 | (x_delete_device, x_session_close): Declare. | 14294 | |
| 14295 | 14295 | * xterm.h: Remove declaration for x_fully_uncatch_errors. | |
| 14296 | * lread.c: Include setjmp.h. Update declaration of `read_char'. | 14296 | (x_output): Remove background_pixel and foreground_pixel fields. |
| 14297 | (read_filtered_event): Call `read_char' with a local | 14297 | (x_display_info): Add new field TERMINAL. Remove KBOARD field. |
| 14298 | `wrong_kboard_jmpbuf'. | 14298 | (x_delete_device, x_session_close): Declare. |
| 14299 | 14299 | ||
| 14300 | * minibuf.c (read_minibuf): Call temporarily_switch_to_single_kboard. | 14300 | * lread.c: Include setjmp.h. Update declaration of `read_char'. |
| 14301 | Don't call single_kboard_state. Use FRAME_RIF. | 14301 | (read_filtered_event): Call `read_char' with a local |
| 14302 | 14302 | `wrong_kboard_jmpbuf'. | |
| 14303 | * process.c (Fmake_network_process): Don't unrequest_sigio on modern | 14303 | |
| 14304 | systems. | 14304 | * minibuf.c (read_minibuf): Call temporarily_switch_to_single_kboard. |
| 14305 | 14305 | Don't call single_kboard_state. Use FRAME_RIF. | |
| 14306 | * lisp.h (set_process_environment): Rename to `set_global_environment'. | 14306 | |
| 14307 | (Fframe_with_environment, Fset_input_meta_mode) | 14307 | * process.c (Fmake_network_process): Don't unrequest_sigio on modern |
| 14308 | (Fset_quit_char): EXFUN. | 14308 | systems. |
| 14309 | (x_create_device, tty_output, terminal, tty_display_info): Declare. | 14309 | |
| 14310 | (init_sys_modes, reset_sys_modes): Update prototypes. | 14310 | * lisp.h (set_process_environment): Rename to `set_global_environment'. |
| 14311 | (init_all_sys_modes, reset_all_sys_modes): New prototypes. | 14311 | (Fframe_with_environment, Fset_input_meta_mode) |
| 14312 | 14312 | (Fset_quit_char): EXFUN. | |
| 14313 | * keyboard.h (struct kboard): Add new fields Vlocal_function_key_map, | 14313 | (x_create_device, tty_output, terminal, tty_display_info): Declare. |
| 14314 | Vlocal_key_translation_map, and Vkeyboard_translate_table. | 14314 | (init_sys_modes, reset_sys_modes): Update prototypes. |
| 14315 | (Vfunction_key_map, Vkeyboard_translate_table, single_kboard_state): | 14315 | (init_all_sys_modes, reset_all_sys_modes): New prototypes. |
| 14316 | Delete declarations. | 14316 | |
| 14317 | (Vfunction_key_map, Vkey_translation_map, push_kboard, pop_kboard) | 14317 | * keyboard.h (struct kboard): Add new fields Vlocal_function_key_map, |
| 14318 | (temporarily_switch_to_single_kboard, tty_read_avail_input): | 14318 | Vlocal_key_translation_map, and Vkeyboard_translate_table. |
| 14319 | New declarations. | 14319 | (Vfunction_key_map, Vkeyboard_translate_table, single_kboard_state): |
| 14320 | 14320 | Delete declarations. | |
| 14321 | * emacs.c (main): Don't call init_sys_modes(), the new term_init() | 14321 | (Vfunction_key_map, Vkey_translation_map, push_kboard, pop_kboard) |
| 14322 | already does that during init_display(). Call syms_of_keymap | 14322 | (temporarily_switch_to_single_kboard, tty_read_avail_input): |
| 14323 | before syms_of_keyboard. Call `syms_of_terminal'. | 14323 | New declarations. |
| 14324 | Call set_initial_environment, not set_process_environment. | 14324 | |
| 14325 | (shut_down_emacs): Call reset_all_sys_modes() instead of | 14325 | * emacs.c (main): Don't call init_sys_modes(), the new term_init() |
| 14326 | reset_sys_modes(). | 14326 | already does that during init_display(). Call syms_of_keymap |
| 14327 | 14327 | before syms_of_keyboard. Call `syms_of_terminal'. | |
| 14328 | * xfaces.c (x_free_gc): Protect xassert with GLYPH_DEBUG. | 14328 | Call set_initial_environment, not set_process_environment. |
| 14329 | (internal_resolve_face_name, resolve_face_name_error): New functions. | 14329 | (shut_down_emacs): Call reset_all_sys_modes() instead of |
| 14330 | (resolve_face_name): Protect against loops and errors thrown by Fget. | 14330 | reset_sys_modes(). |
| 14331 | (realize_default_face): Don't use FRAME_FONT unless frame is an X frame. | 14331 | |
| 14332 | (Ftty_supports_face_attributes_p): Update tty_capable_p call. | 14332 | * xfaces.c (x_free_gc): Protect xassert with GLYPH_DEBUG. |
| 14333 | 14333 | (internal_resolve_face_name, resolve_face_name_error): New functions. | |
| 14334 | * scroll.c: Replace CURTTY() with local variables throughout the | 14334 | (resolve_face_name): Protect against loops and errors thrown by Fget. |
| 14335 | file (where applicable). | 14335 | (realize_default_face): Don't use FRAME_FONT unless frame is an X frame. |
| 14336 | (calculate_scrolling, calculate_direct_scrolling) | 14336 | (Ftty_supports_face_attributes_p): Update tty_capable_p call. |
| 14337 | (scrolling_1, scroll_cost): Use the accessor macros for terminal | 14337 | |
| 14338 | characteristics. | 14338 | * scroll.c: Replace CURTTY() with local variables throughout the |
| 14339 | 14339 | file (where applicable). | |
| 14340 | * keymap.c (Vfunction_key_map): Remove. | 14340 | (calculate_scrolling, calculate_direct_scrolling) |
| 14341 | (Fdescribe_buffer_bindings): Update references to Vfunction_key_map. | 14341 | (scrolling_1, scroll_cost): Use the accessor macros for terminal |
| 14342 | (syms_of_keymap): Remove DEFVAR for Vfunction_key_map. | 14342 | characteristics. |
| 14343 | (Vkey_translation_map): Remove. | 14343 | |
| 14344 | (syms_of_keymap): Remove DEFVAR for key-translation-map. | 14344 | * keymap.c (Vfunction_key_map): Remove. |
| 14345 | (Fdescribe_buffer_bindings) | 14345 | (Fdescribe_buffer_bindings): Update references to Vfunction_key_map. |
| 14346 | (read_key_sequence, init_kboard, syms_of_keyboard, mark_kboards): | 14346 | (syms_of_keymap): Remove DEFVAR for Vfunction_key_map. |
| 14347 | Update for terminal-local key-translation-map. | 14347 | (Vkey_translation_map): Remove. |
| 14348 | 14348 | (syms_of_keymap): Remove DEFVAR for key-translation-map. | |
| 14349 | * Makefile.in (callproc.o): Update dependencies. | 14349 | (Fdescribe_buffer_bindings) |
| 14350 | (lisp, shortlisp): Add termdev.elc. | 14350 | (read_key_sequence, init_kboard, syms_of_keyboard, mark_kboards): |
| 14351 | (obj): Add terminal.o. | 14351 | Update for terminal-local key-translation-map. |
| 14352 | (terminal.o): Add dependencies. | 14352 | |
| 14353 | [HAVE_CARBON]: Make terminal.o depend on macgui.h. | 14353 | * Makefile.in (callproc.o): Update dependencies. |
| 14354 | (data.o, fns.o): Add termhooks.h dependency. | 14354 | (lisp, shortlisp): Add termdev.elc. |
| 14355 | (SOME_MACHINE_LISP): Add dnd.elc. | 14355 | (obj): Add terminal.o. |
| 14356 | (minibuf.o): Fix typo. | 14356 | (terminal.o): Add dependencies. |
| 14357 | Update dependencies. | 14357 | [HAVE_CARBON]: Make terminal.o depend on macgui.h. |
| 14358 | 14358 | (data.o, fns.o): Add termhooks.h dependency. | |
| 14359 | * data.c (do_symval_forwarding, store_symval_forwarding) | 14359 | (SOME_MACHINE_LISP): Add dnd.elc. |
| 14360 | (find_symbol_value): Use the selected frame's keyboard, not | 14360 | (minibuf.o): Fix typo. |
| 14361 | current_kboard. | 14361 | Update dependencies. |
| 14362 | 14362 | ||
| 14363 | * .gdbinit (init_sys_modes): Use Vinitial_window_system instead of | 14363 | * data.c (do_symval_forwarding, store_symval_forwarding) |
| 14364 | Vwindow_system. | 14364 | (find_symbol_value): Use the selected frame's keyboard, not |
| 14365 | 14365 | current_kboard. | |
| 14366 | * xmenu.c (Fx_menu_bar_open) [USE_X_TOOLKIT, USE_GTK]: Rename from | 14366 | |
| 14367 | Fmenu_bar_open. | 14367 | * .gdbinit (init_sys_modes): Use Vinitial_window_system instead of |
| 14368 | (syms_of_xmenu): Update defsubr. | 14368 | Vwindow_system. |
| 14369 | (mouse_position_for_popup, Fx_popup_menu) | 14369 | |
| 14370 | (Fx_popup_dialog, x_activate_menubar, update_frame_menubar) | 14370 | * xmenu.c (Fx_menu_bar_open) [USE_X_TOOLKIT, USE_GTK]: Rename from |
| 14371 | (set_frame_menubar, free_frame_menubar) | 14371 | Fmenu_bar_open. |
| 14372 | (create_and_show_popup_menu, xmenu_show, ) | 14372 | (syms_of_xmenu): Update defsubr. |
| 14373 | (create_and_show_dialog, xdialog_show, xmenu_show): Abort if not | 14373 | (mouse_position_for_popup, Fx_popup_menu) |
| 14374 | an X frame. | 14374 | (Fx_popup_dialog, x_activate_menubar, update_frame_menubar) |
| 14375 | 14375 | (set_frame_menubar, free_frame_menubar) | |
| 14376 | * xselect.c (x_own_selection): Abort if not an X frame. | 14376 | (create_and_show_popup_menu, xmenu_show, ) |
| 14377 | (some_frame_on_display): Check if it is an X frame. | 14377 | (create_and_show_dialog, xdialog_show, xmenu_show): Abort if not |
| 14378 | (x_handle_selection_clear): Deal with MULTI_KBOARD. | 14378 | an X frame. |
| 14379 | 14379 | ||
| 14380 | * coding.c: Include frame.h and termhooks.h. | 14380 | * xselect.c (x_own_selection): Abort if not an X frame. |
| 14381 | (terminal_coding, keyboard_coding): Delete. | 14381 | (some_frame_on_display): Check if it is an X frame. |
| 14382 | (Fset_terminal_coding_system_internal) | 14382 | (x_handle_selection_clear): Deal with MULTI_KBOARD. |
| 14383 | (Fset_keyboard_coding_system_internal) | 14383 | |
| 14384 | (Fkeyboard_coding_system) | 14384 | * coding.c: Include frame.h and termhooks.h. |
| 14385 | (Fterminal_coding_system): Add a terminal parameter. | 14385 | (terminal_coding, keyboard_coding): Delete. |
| 14386 | Get terminal_coding from the terminal. | 14386 | (Fset_terminal_coding_system_internal) |
| 14387 | (init_coding_once): Don't call setup_coding_system here. | 14387 | (Fset_keyboard_coding_system_internal) |
| 14388 | 14388 | (Fkeyboard_coding_system) | |
| 14389 | * dispextern.h (set_scroll_region, turn_off_insert) | 14389 | (Fterminal_coding_system): Add a terminal parameter. |
| 14390 | (turn_off_highlight, background_highlight, clear_end_of_line_raw) | 14390 | Get terminal_coding from the terminal. |
| 14391 | (tty_clear_end_of_line, tty_setup_colors) | 14391 | (init_coding_once): Don't call setup_coding_system here. |
| 14392 | (delete_tty, updating_frame) | 14392 | |
| 14393 | (produce_special_glyphs, produce_glyphs, write_glyphs) | 14393 | * dispextern.h (set_scroll_region, turn_off_insert) |
| 14394 | (insert_glyphs): Remove. | 14394 | (turn_off_highlight, background_highlight, clear_end_of_line_raw) |
| 14395 | (raw_cursor_to, clear_to_end, tty_turn_off_insert) | 14395 | (tty_clear_end_of_line, tty_setup_colors) |
| 14396 | (tty_turn_off_highlight, get_tty_size): Add declaration. | 14396 | (delete_tty, updating_frame) |
| 14397 | (tabs_safe_p, init_baud_rate, get_tty_terminal): Update prototypes. | 14397 | (produce_special_glyphs, produce_glyphs, write_glyphs) |
| 14398 | 14398 | (insert_glyphs): Remove. | |
| 14399 | * frame.h (enum output_method): Add output_initial. | 14399 | (raw_cursor_to, clear_to_end, tty_turn_off_insert) |
| 14400 | (struct x_output): Delete. | 14400 | (tty_turn_off_highlight, get_tty_size): Add declaration. |
| 14401 | (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): | 14401 | (tabs_safe_p, init_baud_rate, get_tty_terminal): Update prototypes. |
| 14402 | Access foreground_pixel and background_pixel directly from the frame. | 14402 | |
| 14403 | (tty_display): Delete. | 14403 | * frame.h (enum output_method): Add output_initial. |
| 14404 | (struct frame): Add buried_buffer_list, foreground_pixel, | 14404 | (struct x_output): Delete. |
| 14405 | background_pixel and terminal. Delete kboard. | 14405 | (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): |
| 14406 | (union output_data): Add tty. | 14406 | Access foreground_pixel and background_pixel directly from the frame. |
| 14407 | (FRAME_KBOARD): Get the kboard from the terminal. | 14407 | (tty_display): Delete. |
| 14408 | (FRAME_INITIAL_P): New macro. | 14408 | (struct frame): Add buried_buffer_list, foreground_pixel, |
| 14409 | (Qtty, Qtty_type, Qterminal, Qterminal_live_p, Qenvironment) | 14409 | background_pixel and terminal. Delete kboard. |
| 14410 | (Qterm_environment_variable, Qdisplay_environment_variable) | 14410 | (union output_data): Add tty. |
| 14411 | (make_terminal_frame, Qburied_buffer_list, Qwindow_system): | 14411 | (FRAME_KBOARD): Get the kboard from the terminal. |
| 14412 | New declarations. | 14412 | (FRAME_INITIAL_P): New macro. |
| 14413 | 14413 | (Qtty, Qtty_type, Qterminal, Qterminal_live_p, Qenvironment) | |
| 14414 | * termchar.h (tty_output, tty_display_info): New structures. | 14414 | (Qterm_environment_variable, Qdisplay_environment_variable) |
| 14415 | (tty_list): Declare. | 14415 | (make_terminal_frame, Qburied_buffer_list, Qwindow_system): |
| 14416 | (FRAME_TTY, CURTTY): New macros. | 14416 | New declarations. |
| 14417 | (must_write_spaces, min_padding_speed, fast_clear_end_of_line) | 14417 | |
| 14418 | (line_ins_del_ok, char_ins_del_ok, scroll_region_ok) | 14418 | * termchar.h (tty_output, tty_display_info): New structures. |
| 14419 | (scroll_region_cost, memory_below_frame, fast_clear_end_of_line) | 14419 | (tty_list): Declare. |
| 14420 | (dont_calculate_costs, no_redraw_on_reenter): Remove declarations. | 14420 | (FRAME_TTY, CURTTY): New macros. |
| 14421 | 14421 | (must_write_spaces, min_padding_speed, fast_clear_end_of_line) | |
| 14422 | * callproc.c: Include frame.h and termhooks.h, for terminal | 14422 | (line_ins_del_ok, char_ins_del_ok, scroll_region_ok) |
| 14423 | parameters. | 14423 | (scroll_region_cost, memory_below_frame, fast_clear_end_of_line) |
| 14424 | (add_env): New function. | 14424 | (dont_calculate_costs, no_redraw_on_reenter): Remove declarations. |
| 14425 | (child_setup): Use it. | 14425 | |
| 14426 | (child_setup, getenv_internal): Handle the new Vprocess_environment. | 14426 | * callproc.c: Include frame.h and termhooks.h, for terminal |
| 14427 | (getenv_internal): Fix get_terminal_param call. | 14427 | parameters. |
| 14428 | (Fgetenv_internal, egetenv): Update doc. | 14428 | (add_env): New function. |
| 14429 | (syms_of_callproc): Initialize Vprocess_environment to nil. | 14429 | (child_setup): Use it. |
| 14430 | Register and initialize them. Remove obsolete defvars. Update doc | 14430 | (child_setup, getenv_internal): Handle the new Vprocess_environment. |
| 14431 | strings. | 14431 | (getenv_internal): Fix get_terminal_param call. |
| 14432 | (child_setup): Handle Vlocal_environment_variables. | 14432 | (Fgetenv_internal, egetenv): Update doc. |
| 14433 | (getenv_internal): Add terminal parameter. | 14433 | (syms_of_callproc): Initialize Vprocess_environment to nil. |
| 14434 | Handle Vlocal_environment_variables. | 14434 | Register and initialize them. Remove obsolete defvars. Update doc |
| 14435 | (Fgetenv_internal): Add terminal parameter. | 14435 | strings. |
| 14436 | (child_setup, getenv_internal, Fgetenv_internal): Store the local | 14436 | (child_setup): Handle Vlocal_environment_variables. |
| 14437 | environment in a frame (not terminal) parameter. Update doc strings. | 14437 | (getenv_internal): Add terminal parameter. |
| 14438 | (set_initial_environment): Rename from set_global_environment. | 14438 | Handle Vlocal_environment_variables. |
| 14439 | Store Emacs environment in initial frame parameter. | 14439 | (Fgetenv_internal): Add terminal parameter. |
| 14440 | 14440 | (child_setup, getenv_internal, Fgetenv_internal): Store the local | |
| 14441 | * xdisp.c (redisplay_internal): Update references to | 14441 | environment in a frame (not terminal) parameter. Update doc strings. |
| 14442 | `previous_terminal_frame'. | 14442 | (set_initial_environment): Rename from set_global_environment. |
| 14443 | (display_mode_line, Fformat_mode_line): Replace calls to | 14443 | Store Emacs environment in initial frame parameter. |
| 14444 | `push_frame_kboard' with `push_kboard'. | 14444 | |
| 14445 | (get_glyph_string_clip_rects): Add extra parentheses and | 14445 | * xdisp.c (redisplay_internal): Update references to |
| 14446 | braces to prevent compiler warnings. | 14446 | `previous_terminal_frame'. |
| 14447 | (calc_pixel_width_or_height): Add xassert to check that the | 14447 | (display_mode_line, Fformat_mode_line): Replace calls to |
| 14448 | frame is alive. Don't call `lookup_image' on a termcap frame. | 14448 | `push_frame_kboard' with `push_kboard'. |
| 14449 | (message2_nolog, message3_nolog, redisplay_internal) | 14449 | (get_glyph_string_clip_rects): Add extra parentheses and |
| 14450 | (set_vertical_scroll_bar, redisplay_window, check_x_display_info) | 14450 | braces to prevent compiler warnings. |
| 14451 | (x_set_scroll_bar_foreground, x_set_scroll_bar_background) | 14451 | (calc_pixel_width_or_height): Add xassert to check that the |
| 14452 | (Fx_create_frame, Fxw_display_color_p, Fx_display_grayscale_p) | 14452 | frame is alive. Don't call `lookup_image' on a termcap frame. |
| 14453 | (Fx_display_pixel_width, Fx_display_pixel_height) | 14453 | (message2_nolog, message3_nolog, redisplay_internal) |
| 14454 | (Fx_display_planes, Fx_display_color_cells) | 14454 | (set_vertical_scroll_bar, redisplay_window, check_x_display_info) |
| 14455 | (Fx_server_max_request_size, Fx_server_vendor, Fx_server_version) | 14455 | (x_set_scroll_bar_foreground, x_set_scroll_bar_background) |
| 14456 | (Fx_display_screens, Fx_display_mm_height, Fx_display_mm_width) | 14456 | (Fx_create_frame, Fxw_display_color_p, Fx_display_grayscale_p) |
| 14457 | (Fx_display_backing_store, Fx_display_visual_class) | 14457 | (Fx_display_pixel_width, Fx_display_pixel_height) |
| 14458 | (Fx_display_save_under, Fx_close_connection, x_create_tip_frame): | 14458 | (Fx_display_planes, Fx_display_color_cells) |
| 14459 | Use FRAME_TERMINAL_P, FRAME_WINDOW_P, FRAME_TTY and FRAME_RIF. | 14459 | (Fx_server_max_request_size, Fx_server_vendor, Fx_server_version) |
| 14460 | 14460 | (Fx_display_screens, Fx_display_mm_height, Fx_display_mm_width) | |
| 14461 | * xfns.c (x_set_foreground_color x_set_background_color) | 14461 | (Fx_display_backing_store, Fx_display_visual_class) |
| 14462 | (x_set_mouse_color, x_set_cursor_color, x_make_gc): | 14462 | (Fx_display_save_under, Fx_close_connection, x_create_tip_frame): |
| 14463 | Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | 14463 | Use FRAME_TERMINAL_P, FRAME_WINDOW_P, FRAME_TTY and FRAME_RIF. |
| 14464 | (Fx_create_frame, x_create_tip_frame, build_string, x_window) | 14464 | |
| 14465 | (Fx_create_frame, x_create_tip_frame): Don't create frames on a | 14465 | * xfns.c (x_set_foreground_color x_set_background_color) |
| 14466 | terminal that is being deleted. | 14466 | (x_set_mouse_color, x_set_cursor_color, x_make_gc): |
| 14467 | (Fx_create_frame): Use `store_frame_param' to set `window-system' | 14467 | Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. |
| 14468 | frame parameter, and make sure it overrides any user-supplied setting. | 14468 | (Fx_create_frame, x_create_tip_frame, build_string, x_window) |
| 14469 | (Fx_close_connection, Fx_synchronize): Unify argument names with | 14469 | (Fx_create_frame, x_create_tip_frame): Don't create frames on a |
| 14470 | the rest of the DEFUNs. | 14470 | terminal that is being deleted. |
| 14471 | 14471 | (Fx_create_frame): Use `store_frame_param' to set `window-system' | |
| 14472 | * dispnew.c (Fsend_string_to_terminal): Update call to | 14472 | frame parameter, and make sure it overrides any user-supplied setting. |
| 14473 | `get_tty_terminal'. | 14473 | (Fx_close_connection, Fx_synchronize): Unify argument names with |
| 14474 | (Fredraw_frame, Fsend_string_to_terminal) | 14474 | the rest of the DEFUNs. |
| 14475 | (Fsend_string_to_terminal, init_display): Use FRAME_RIF, | 14475 | |
| 14476 | FRAME_TERMCAP_P and FRAME_TTY. | 14476 | * dispnew.c (Fsend_string_to_terminal): Update call to |
| 14477 | (window_change_signal): Don't believe width/height values that are | 14477 | `get_tty_terminal'. |
| 14478 | impossibly small. | 14478 | (Fredraw_frame, Fsend_string_to_terminal) |
| 14479 | (Vinitial_window_system): Rename from Vwindow_system. | 14479 | (Fsend_string_to_terminal, init_display): Use FRAME_RIF, |
| 14480 | (termscript, Wcm, rif): Delete. | 14480 | FRAME_TERMCAP_P and FRAME_TTY. |
| 14481 | 14481 | (window_change_signal): Don't believe width/height values that are | |
| 14482 | * termhooks.h (struct terminal): New struct containing the | 14482 | impossibly small. |
| 14483 | previously global text display hooks and new members NAME, | 14483 | (Vinitial_window_system): Rename from Vwindow_system. |
| 14484 | DELETED and PARAM_ALIST. | 14484 | (termscript, Wcm, rif): Delete. |
| 14485 | (FRAME_TERMINAL, TERMINAL_TERMINAL_CODING) | 14485 | |
| 14486 | (TERMINAL_KEYBOARD_CODING, TERMINAL_ACTIVE_P, FRAME_WINDOW_P) | 14486 | * termhooks.h (struct terminal): New struct containing the |
| 14487 | (FRAME_RIF): New macros. | 14487 | previously global text display hooks and new members NAME, |
| 14488 | (get_terminal_param, get_device): New declarations. | 14488 | DELETED and PARAM_ALIST. |
| 14489 | (termscript): Delete declaration. | 14489 | (FRAME_TERMINAL, TERMINAL_TERMINAL_CODING) |
| 14490 | 14490 | (TERMINAL_KEYBOARD_CODING, TERMINAL_ACTIVE_P, FRAME_WINDOW_P) | |
| 14491 | * xterm.c (x_initialize): Use Fset_input_interrupt_mode. | 14491 | (FRAME_RIF): New macros. |
| 14492 | (XTflash, x_free_frame_resources, x_scroll_bar_create) | 14492 | (get_terminal_param, get_device): New declarations. |
| 14493 | (x_scroll_bar_set_handle): Use FRAME_BACKGROUND_PIXEL and | 14493 | (termscript): Delete declaration. |
| 14494 | FRAME_FOREGROUND_PIXEL. | 14494 | |
| 14495 | (x_fully_uncatch_errors): Disable definition. | 14495 | * xterm.c (x_initialize): Use Fset_input_interrupt_mode. |
| 14496 | (x_scroll_bar_expose): Fix reference to foreground pixel. | 14496 | (XTflash, x_free_frame_resources, x_scroll_bar_create) |
| 14497 | (XTread_socket): Disable loop on all X displays. | 14497 | (x_scroll_bar_set_handle): Use FRAME_BACKGROUND_PIXEL and |
| 14498 | (x_delete_terminal): Don't set terminal->deleted and let | 14498 | FRAME_FOREGROUND_PIXEL. |
| 14499 | delete_terminal delete the frames on the terminal. | 14499 | (x_fully_uncatch_errors): Disable definition. |
| 14500 | (x_delete_display): Doc update to reflect changes in | 14500 | (x_scroll_bar_expose): Fix reference to foreground pixel. |
| 14501 | delete_terminal. | 14501 | (XTread_socket): Disable loop on all X displays. |
| 14502 | (x_display_info) <terminal>: Move member earlier in the struct. | 14502 | (x_delete_terminal): Don't set terminal->deleted and let |
| 14503 | (deleting_tty): Remove old variable. | 14503 | delete_terminal delete the frames on the terminal. |
| 14504 | (Fsuspend_tty): Call clear_tty_hooks. | 14504 | (x_delete_display): Doc update to reflect changes in |
| 14505 | (Fresume_tty, init_tty): Call set_tty_hooks. | 14505 | delete_terminal. |
| 14506 | (Ftty_display_color_p, Ftty_display_color_cells): Don't throw | 14506 | (x_display_info) <terminal>: Move member earlier in the struct. |
| 14507 | errors on X frames. | 14507 | (deleting_tty): Remove old variable. |
| 14508 | (x_catch_errors_unwind): Abort if x_error_message is NULL. | 14508 | (Fsuspend_tty): Call clear_tty_hooks. |
| 14509 | (handle_one_xevent): Initialize `f' to NULL. | 14509 | (Fresume_tty, init_tty): Call set_tty_hooks. |
| 14510 | (x_delete_terminal, x_create_terminal): New functions. | 14510 | (Ftty_display_color_p, Ftty_display_color_cells): Don't throw |
| 14511 | (XTset_terminal_modes, XTreset_terminal_modes) | 14511 | errors on X frames. |
| 14512 | (XTread_socket, x_connection_closed, x_term_init) | 14512 | (x_catch_errors_unwind): Abort if x_error_message is NULL. |
| 14513 | (x_term_init, x_delete_display): Add terminal parameter. | 14513 | (handle_one_xevent): Initialize `f' to NULL. |
| 14514 | (x_term_init) [!HAVE_GTK_MULTIDISPLAY]: Refuse to create secondary | 14514 | (x_delete_terminal, x_create_terminal): New functions. |
| 14515 | X connections. | 14515 | (XTset_terminal_modes, XTreset_terminal_modes) |
| 14516 | 14516 | (XTread_socket, x_connection_closed, x_term_init) | |
| 14517 | * frame.c: Include termchar.h. | 14517 | (x_term_init, x_delete_display): Add terminal parameter. |
| 14518 | (Qterminal, Qterminal_live_p, Qburied_buffer_list, Qtty, Qtty_type) | 14518 | (x_term_init) [!HAVE_GTK_MULTIDISPLAY]: Refuse to create secondary |
| 14519 | (Qwindow_system, Qenvironment, Qterm_environment_variable) | 14519 | X connections. |
| 14520 | (Qdisplay_environment_variable): New vars. | 14520 | |
| 14521 | (Fframep): Deal with output_initial. | 14521 | * frame.c: Include termchar.h. |
| 14522 | (Fframe-live-p): Doc fix. | 14522 | (Qterminal, Qterminal_live_p, Qburied_buffer_list, Qtty, Qtty_type) |
| 14523 | (Fwindow-system): New function. | 14523 | (Qwindow_system, Qenvironment, Qterm_environment_variable) |
| 14524 | (x_set_screen_gamma, store_frame_param): Fix compilation errors. | 14524 | (Qdisplay_environment_variable): New vars. |
| 14525 | (make_terminal_frame): Don't create frames on a terminal that is | 14525 | (Fframep): Deal with output_initial. |
| 14526 | being deleted. Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | 14526 | (Fframe-live-p): Doc fix. |
| 14527 | (store_frame_param): Check for found_for_frame before calling XFRAME. | 14527 | (Fwindow-system): New function. |
| 14528 | (Fmake_terminal_frame): Handle NULL tty names correctly. | 14528 | (x_set_screen_gamma, store_frame_param): Fix compilation errors. |
| 14529 | (syms_of_frame): Enhance doc string of `default-frame-alist'. | 14529 | (make_terminal_frame): Don't create frames on a terminal that is |
| 14530 | (Fdelete_frame): Remove unused variable `count'. Don't allow other | 14530 | being deleted. Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. |
| 14531 | frames to refer to a deleted frame in their 'environment parameter. | 14531 | (store_frame_param): Check for found_for_frame before calling XFRAME. |
| 14532 | (Fframe_with_environment): New function. | 14532 | (Fmake_terminal_frame): Handle NULL tty names correctly. |
| 14533 | (syms_of_frame): Defsubr it. Initialize and staticpro Qenvironment. | 14533 | (syms_of_frame): Enhance doc string of `default-frame-alist'. |
| 14534 | (get_future_frame_param): New function. | 14534 | (Fdelete_frame): Remove unused variable `count'. Don't allow other |
| 14535 | (Fmake_terminal_frame): Use it. | 14535 | frames to refer to a deleted frame in their 'environment parameter. |
| 14536 | (x_set_frame_parameters, x_set_screen_gamma): Use FRAME_RIF. | 14536 | (Fframe_with_environment): New function. |
| 14537 | 14537 | (syms_of_frame): Defsubr it. Initialize and staticpro Qenvironment. | |
| 14538 | * sysdep.c (init_sys_modes, reset_sys_modes): Update for renames. | 14538 | (get_future_frame_param): New function. |
| 14539 | * sysdep.c (reset_sys_modes): Update for renames. | 14539 | (Fmake_terminal_frame): Use it. |
| 14540 | 14540 | (x_set_frame_parameters, x_set_screen_gamma): Use FRAME_RIF. | |
| 14541 | * keyboard.c (tty_read_avail_input): New function. | 14541 | |
| 14542 | (Fset_input_interrupt_mode, Fset_output_flow_control): New functions. | 14542 | * sysdep.c (init_sys_modes, reset_sys_modes): Update for renames. |
| 14543 | (syms_of_keyboard): Defsubr them. | 14543 | * sysdep.c (reset_sys_modes): Update for renames. |
| 14544 | (Fset_input_meta_mode, Fset_quit_char): New functions. | 14544 | |
| 14545 | (Fset_input_mode): Split to above functions. | 14545 | * keyboard.c (tty_read_avail_input): New function. |
| 14546 | (read_char_minibuf_menu_prompt): Add wrong_kboard_jmpbuf | 14546 | (Fset_input_interrupt_mode, Fset_output_flow_control): New functions. |
| 14547 | parameter. Use it in call to `read_char'. | 14547 | (syms_of_keyboard): Defsubr them. |
| 14548 | (read_char): Declare. Update call to `read_char_minibuf_menu_prompt'. | 14548 | (Fset_input_meta_mode, Fset_quit_char): New functions. |
| 14549 | Set wrong_kboard_jmpbuf correctly in recursive calls. | 14549 | (Fset_input_mode): Split to above functions. |
| 14550 | Use current_kboard to access Vkeyboard_translate_table. | 14550 | (read_char_minibuf_menu_prompt): Add wrong_kboard_jmpbuf |
| 14551 | Enhance comment before extra longjmp to wrong_kboard_jmpbuf. | 14551 | parameter. Use it in call to `read_char'. |
| 14552 | Add wrong_kboard_jmpbuf parameter to allow for recursive calls. | 14552 | (read_char): Declare. Update call to `read_char_minibuf_menu_prompt'. |
| 14553 | Update longjmp invocations. Remember the original current_kboard, | 14553 | Set wrong_kboard_jmpbuf correctly in recursive calls. |
| 14554 | and longjmp to `wrong_kboard_jmpbuf' when a filter, timer or sentinel | 14554 | Use current_kboard to access Vkeyboard_translate_table. |
| 14555 | changes it. Comment out unnecessary calls to | 14555 | Enhance comment before extra longjmp to wrong_kboard_jmpbuf. |
| 14556 | `record_single_kboard_state' and `any_kboard_state'. | 14556 | Add wrong_kboard_jmpbuf parameter to allow for recursive calls. |
| 14557 | Update recursive calls. | 14557 | Update longjmp invocations. Remember the original current_kboard, |
| 14558 | (wrong_kboard_jmpbuf): Remove global variable. | 14558 | and longjmp to `wrong_kboard_jmpbuf' when a filter, timer or sentinel |
| 14559 | (read_key_sequence): Remove unused variable wrong_kboard_jmpbuf. | 14559 | changes it. Comment out unnecessary calls to |
| 14560 | Handle deleted interrupted_kboards correctly; that is a legal | 14560 | `record_single_kboard_state' and `any_kboard_state'. |
| 14561 | case. Add `wrong_kboard_jmpbuf' local variable. Update setjmp | 14561 | Update recursive calls. |
| 14562 | and read_char calls. Abort if interrupted_kboard died in read_char. | 14562 | (wrong_kboard_jmpbuf): Remove global variable. |
| 14563 | (any_kboard_state, single_kboard_state) | 14563 | (read_key_sequence): Remove unused variable wrong_kboard_jmpbuf. |
| 14564 | (push_frame_kboard): Remove function. | 14564 | Handle deleted interrupted_kboards correctly; that is a legal |
| 14565 | (pop_kboard): Switch out of single_kboard mode if the kboard has | 14565 | case. Add `wrong_kboard_jmpbuf' local variable. Update setjmp |
| 14566 | been deleted. Remove unused variable. Help debugging by not | 14566 | and read_char calls. Abort if interrupted_kboard died in read_char. |
| 14567 | changing current_kboard unnecessarily. Set current_kboard to the | 14567 | (any_kboard_state, single_kboard_state) |
| 14568 | kboard of the selected frame when the stored kboard object has | 14568 | (push_frame_kboard): Remove function. |
| 14569 | been deleted before pop_kboard. | 14569 | (pop_kboard): Switch out of single_kboard mode if the kboard has |
| 14570 | (temporarily_switch_to_single_kboard): Change first parameter to a | 14570 | been deleted. Remove unused variable. Help debugging by not |
| 14571 | frame pointer. Throw an error when caller wants to change kboards | 14571 | changing current_kboard unnecessarily. Set current_kboard to the |
| 14572 | while in single_kboard mode. Don't push_kboard if we weren't in | 14572 | kboard of the selected frame when the stored kboard object has |
| 14573 | single kboard state. Don't pop_kboard if we popped into any | 14573 | been deleted before pop_kboard. |
| 14574 | kboard state. | 14574 | (temporarily_switch_to_single_kboard): Change first parameter to a |
| 14575 | (restore_kboard_configuration): Abort if pop_kboard changed the | 14575 | frame pointer. Throw an error when caller wants to change kboards |
| 14576 | kboard in single_kboard mode. Call pop_kboard only after setting | 14576 | while in single_kboard mode. Don't push_kboard if we weren't in |
| 14577 | up single_kboard mode. | 14577 | single kboard state. Don't pop_kboard if we popped into any |
| 14578 | (Frecursive_edit): Switch to single_kboard mode only in nested | 14578 | kboard state. |
| 14579 | command loops. | 14579 | (restore_kboard_configuration): Abort if pop_kboard changed the |
| 14580 | (cmd_error, command_loop, command_loop_1, timer_check): | 14580 | kboard in single_kboard mode. Call pop_kboard only after setting |
| 14581 | Comment out unnecessary call to `any_kboard_state' and | 14581 | up single_kboard mode. |
| 14582 | `record_single_kboard_state'. | 14582 | (Frecursive_edit): Switch to single_kboard mode only in nested |
| 14583 | (delete_kboard): Exit single_kboard mode if we have just deleted | 14583 | command loops. |
| 14584 | that kboard. Use FRAME_KBOARD. | 14584 | (cmd_error, command_loop, command_loop_1, timer_check): |
| 14585 | (interrupt_signal): Use `Fkill_emacs' to exit Emacs, not | 14585 | Comment out unnecessary call to `any_kboard_state' and |
| 14586 | `fatal_error_signal'. | 14586 | `record_single_kboard_state'. |
| 14587 | (record_single_kboard_state): Don't push_kboard if we weren't in | 14587 | (delete_kboard): Exit single_kboard mode if we have just deleted |
| 14588 | single kboard state. Don't pop_kboard if we popped into any | 14588 | that kboard. Use FRAME_KBOARD. |
| 14589 | kboard state. | 14589 | (interrupt_signal): Use `Fkill_emacs' to exit Emacs, not |
| 14590 | (push_frame_kboard): Rename to push_kboard. | 14590 | `fatal_error_signal'. |
| 14591 | (kbd_buffer_get_event): Use FRAME_TERMINAL. | 14591 | (record_single_kboard_state): Don't push_kboard if we weren't in |
| 14592 | (read_avail_input): Read input from all terminals. | 14592 | single kboard state. Don't pop_kboard if we popped into any |
| 14593 | (mark_kboards): Also mark Vkeyboard_translate_table. | 14593 | kboard state. |
| 14594 | (kbd_buffer_store_event_hold): Simplify condition. | 14594 | (push_frame_kboard): Rename to push_kboard. |
| 14595 | (read_key_sequence): Reinitialize fkey and keytran at each replay. | 14595 | (kbd_buffer_get_event): Use FRAME_TERMINAL. |
| 14596 | (Vkeyboard_translate_table): Move to struct kboard. | 14596 | (read_avail_input): Read input from all terminals. |
| 14597 | (init_kboard): Initialize Vkeyboard_translate_table. | 14597 | (mark_kboards): Also mark Vkeyboard_translate_table. |
| 14598 | (syms_of_keyboard): Use DEFVAR_KBOARD to define | 14598 | (kbd_buffer_store_event_hold): Simplify condition. |
| 14599 | Vkeyboard_translate_table. Update doc strings. Update docs of | 14599 | (read_key_sequence): Reinitialize fkey and keytran at each replay. |
| 14600 | local-function-key-map and function-key-map. | 14600 | (Vkeyboard_translate_table): Move to struct kboard. |
| 14601 | 14601 | (init_kboard): Initialize Vkeyboard_translate_table. | |
| 14602 | * terminal.c: New file. | 14602 | (syms_of_keyboard): Use DEFVAR_KBOARD to define |
| 14603 | 14603 | Vkeyboard_translate_table. Update doc strings. Update docs of | |
| 14604 | * term.c: Include errno.h. | 14604 | local-function-key-map and function-key-map. |
| 14605 | (Vring_bell_function, device_list, initial_device) | 14605 | |
| 14606 | (next_device_id, ring_bell, update_begin, update_end) | 14606 | * terminal.c: New file. |
| 14607 | (set_terminal_window, cursor_to, raw_cursor_to) | 14607 | |
| 14608 | (clear_to_end, clear_frame, clear_end_of_line) | 14608 | * term.c: Include errno.h. |
| 14609 | (write_glyphs, insert_glyphs, delete_glyphs, ins_del_lines) | 14609 | (Vring_bell_function, device_list, initial_device) |
| 14610 | (Fdisplay_name, create_device, delete_device): Move to terminal.c. | 14610 | (next_device_id, ring_bell, update_begin, update_end) |
| 14611 | (syms_of_term): Move their initialization to terminal.c. | 14611 | (set_terminal_window, cursor_to, raw_cursor_to) |
| 14612 | (get_tty_terminal, Fdisplay_tty_type, Ftty_display_color_p) | 14612 | (clear_to_end, clear_frame, clear_end_of_line) |
| 14613 | (Ftty_display_color_cells) | 14613 | (write_glyphs, insert_glyphs, delete_glyphs, ins_del_lines) |
| 14614 | (Ftty_no_underline, Fsuspend_tty, Fresume_tty, create_tty_output) | 14614 | (Fdisplay_name, create_device, delete_device): Move to terminal.c. |
| 14615 | (clear_tty_hooks, set_tty_hooks) | 14615 | (syms_of_term): Move their initialization to terminal.c. |
| 14616 | (init_tty, maybe_fatal): New functions. | 14616 | (get_tty_terminal, Fdisplay_tty_type, Ftty_display_color_p) |
| 14617 | (Ftty_type): Return nil if terminal is not on a tty instead of | 14617 | (Ftty_display_color_cells) |
| 14618 | throwing an error. Doc update. | 14618 | (Ftty_no_underline, Fsuspend_tty, Fresume_tty, create_tty_output) |
| 14619 | (syms_of_term) <Vsuspend_tty_functions, Vresume_tty_functions>: | 14619 | (clear_tty_hooks, set_tty_hooks) |
| 14620 | Doc update. Initialize new subrs and variables. | 14620 | (init_tty, maybe_fatal): New functions. |
| 14621 | (delete_tty): Use terminal->deleted. | 14621 | (Ftty_type): Return nil if terminal is not on a tty instead of |
| 14622 | (tty_set_terminal_modes): Rename from set_terminal_modes. | 14622 | throwing an error. Doc update. |
| 14623 | (tty_reset_terminal_modes): Rename from reset_terminal_modes. | 14623 | (syms_of_term) <Vsuspend_tty_functions, Vresume_tty_functions>: |
| 14624 | (set_scroll_region): Rename to `tty_set_scroll_region'. | 14624 | Doc update. Initialize new subrs and variables. |
| 14625 | (turn_on_insert): Rename to `tty_turn_on_insert'. | 14625 | (delete_tty): Use terminal->deleted. |
| 14626 | (turn_off_insert): Rename to `tty_turn_off_insert'. | 14626 | (tty_set_terminal_modes): Rename from set_terminal_modes. |
| 14627 | (turn_off_highlight): Rename to `tty_turn_off_highlight'. | 14627 | (tty_reset_terminal_modes): Rename from reset_terminal_modes. |
| 14628 | (turn_on_highlight): Rename to `tty_turn_on_highlight'. | 14628 | (set_scroll_region): Rename to `tty_set_scroll_region'. |
| 14629 | (toggle_highligh): Rename to `tty_toggle_highlight'. | 14629 | (turn_on_insert): Rename to `tty_turn_on_insert'. |
| 14630 | (background_highlight): Rename to `tty_background_highlight'. | 14630 | (turn_off_insert): Rename to `tty_turn_off_insert'. |
| 14631 | (highlight_if_desired): Rename to `tty_highlight_if_desired'. | 14631 | (turn_off_highlight): Rename to `tty_turn_off_highlight'. |
| 14632 | (tty_ring_bell, tty_update_end, tty_set_terminal_window) | 14632 | (turn_on_highlight): Rename to `tty_turn_on_highlight'. |
| 14633 | (tty_set_scroll_region, tty_background_highlight) | 14633 | (toggle_highligh): Rename to `tty_toggle_highlight'. |
| 14634 | (tty_cursor_to, tty_raw_cursor_to, tty_clear_to_end) | 14634 | (background_highlight): Rename to `tty_background_highlight'. |
| 14635 | (tty_clear_frame, tty_clear_end_of_line, tty_write_glyphs) | 14635 | (highlight_if_desired): Rename to `tty_highlight_if_desired'. |
| 14636 | (tty_insert_glyphs, tty_delete_glyphs, tty_ins_del_lines) | 14636 | (tty_ring_bell, tty_update_end, tty_set_terminal_window) |
| 14637 | (term_get_fkeys, tty_setup_colors, dissociate_if_controlling_tty): | 14637 | (tty_set_scroll_region, tty_background_highlight) |
| 14638 | Add static modifier. | 14638 | (tty_cursor_to, tty_raw_cursor_to, tty_clear_to_end) |
| 14639 | (tty_reset_terminal_modes, tty_set_terminal_window) | 14639 | (tty_clear_frame, tty_clear_end_of_line, tty_write_glyphs) |
| 14640 | (tty_set_scroll_region, tty_background_highlight) | 14640 | (tty_insert_glyphs, tty_delete_glyphs, tty_ins_del_lines) |
| 14641 | (tty_highlight_if_desired, tty_cursor_to) | 14641 | (term_get_fkeys, tty_setup_colors, dissociate_if_controlling_tty): |
| 14642 | (tty_raw_cursor_to, tty_clear_to_end, tty_clear_frame) | 14642 | Add static modifier. |
| 14643 | (tty_clear_end_of_line, tty_write_glyphs, tty_insert_glyphs) | 14643 | (tty_reset_terminal_modes, tty_set_terminal_window) |
| 14644 | (tty_delete_glyphs, tty_ins_del_lines, turn_on_face): Update for | 14644 | (tty_set_scroll_region, tty_background_highlight) |
| 14645 | renames. | 14645 | (tty_highlight_if_desired, tty_cursor_to) |
| 14646 | 14646 | (tty_raw_cursor_to, tty_clear_to_end, tty_clear_frame) | |
| 14647 | 2007-08-28 Jan Djärv <jan.h.d@swipnet.se> | 14647 | (tty_clear_end_of_line, tty_write_glyphs, tty_insert_glyphs) |
| 14648 | 14648 | (tty_delete_glyphs, tty_ins_del_lines, turn_on_face): Update for | |
| 14649 | * keyboard.c: Qrtl is new. | 14649 | renames. |
| 14650 | (parse_tool_bar_item): Handle :rtl keyword. | 14650 | |
| 14651 | (syms_of_keyboard): Intern :rtl keyword. | 14651 | 2007-08-28 Jan Djärv <jan.h.d@swipnet.se> |
| 14652 | 14652 | ||
| 14653 | * dispextern.h (enum tool_bar_item_idx): Add TOOL_BAR_ITEM_RTL_IMAGE. | 14653 | * keyboard.c: Qrtl is new. |
| 14654 | 14654 | (parse_tool_bar_item): Handle :rtl keyword. | |
| 14655 | * gtkutil.c (xg_tool_bar_expose_callback): Just do SET_FRAME_GARBAGED | 14655 | (syms_of_keyboard): Intern :rtl keyword. |
| 14656 | so no Lisp code is executed. | 14656 | |
| 14657 | (file_for_image, find_rtl_image): New functions. | 14657 | * dispextern.h (enum tool_bar_item_idx): Add TOOL_BAR_ITEM_RTL_IMAGE. |
| 14658 | (xg_get_image_for_pixmap): Use file_for_image. | 14658 | |
| 14659 | (update_frame_tool_bar): If direction is RTL, use RTL image if | 14659 | * gtkutil.c (xg_tool_bar_expose_callback): Just do SET_FRAME_GARBAGED |
| 14660 | defined. Use Gtk stock images if defined. | 14660 | so no Lisp code is executed. |
| 14661 | 14661 | (file_for_image, find_rtl_image): New functions. | |
| 14662 | 2007-08-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 14662 | (xg_get_image_for_pixmap): Use file_for_image. |
| 14663 | 14663 | (update_frame_tool_bar): If direction is RTL, use RTL image if | |
| 14664 | * macterm.c (x_draw_composite_glyph_string_foreground): Draw rectangle | 14664 | defined. Use Gtk stock images if defined. |
| 14665 | for nonexistent or zero-width glyph in composition glyph. | 14665 | |
| 14666 | 14666 | 2007-08-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
| 14667 | 2007-08-25 Stefan Monnier <monnier@iro.umontreal.ca> | 14667 | |
| 14668 | 14668 | * macterm.c (x_draw_composite_glyph_string_foreground): Draw rectangle | |
| 14669 | * m/amdx86-64.h: Redirect to intel386.h if compiling for i386. | 14669 | for nonexistent or zero-width glyph in composition glyph. |
| 14670 | 14670 | ||
| 14671 | * xdisp.c (Finvisible_p): New function. | 14671 | 2007-08-25 Stefan Monnier <monnier@iro.umontreal.ca> |
| 14672 | (syms_of_xdisp): defsubr it. | 14672 | |
| 14673 | 14673 | * m/amdx86-64.h: Redirect to intel386.h if compiling for i386. | |
| 14674 | 2007-08-24 Juanma Barranquero <lekktu@gmail.com> | 14674 | |
| 14675 | 14675 | * xdisp.c (Finvisible_p): New function. | |
| 14676 | * image.c (syms_of_image) <image-library-alist, cross-disabled-images>: | 14676 | (syms_of_xdisp): defsubr it. |
| 14677 | Doc fixes. | 14677 | |
| 14678 | 14678 | 2007-08-24 Juanma Barranquero <lekktu@gmail.com> | |
| 14679 | 2007-08-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 14679 | |
| 14680 | 14680 | * image.c (syms_of_image) <image-library-alist, cross-disabled-images>: | |
| 14681 | * mac.c [MAC_OSX] (select_and_poll_event, sys_select): Fix last changes. | 14681 | Doc fixes. |
| 14682 | 14682 | ||
| 14683 | 2007-08-24 Martin Rudalics <rudalics@gmx.at> | 14683 | 2007-08-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 14684 | 14684 | ||
| 14685 | * fileio.c (Finsert_file_contents): Consult CHARS_MODIFF to tell | 14685 | * mac.c [MAC_OSX] (select_and_poll_event, sys_select): Fix last changes. |
| 14686 | whether decoding has modified buffer contents. | 14686 | |
| 14687 | 14687 | 2007-08-24 Martin Rudalics <rudalics@gmx.at> | |
| 14688 | 2007-08-24 Jason Rumney <jasonr@gnu.org> | 14688 | |
| 14689 | 14689 | * fileio.c (Finsert_file_contents): Consult CHARS_MODIFF to tell | |
| 14690 | * image.c [HAVE_NTGUI]: Define dynamic loaded functions for SVG. | 14690 | whether decoding has modified buffer contents. |
| 14691 | (Qgdk_pixbuf, Qglib) [HAVE_NTGUI]: New symbols. | 14691 | |
| 14692 | (syms_of_image) [HAVE_NTGUI]: Intern and staticpro them. | 14692 | 2007-08-24 Jason Rumney <jasonr@gnu.org> |
| 14693 | (init_svg_functions) [HAVE_NTGUI]: New function. | 14693 | |
| 14694 | (fn_g_type_init, fn_g_object_unref, fn_g_error_free): New #defines. | 14694 | * image.c [HAVE_NTGUI]: Define dynamic loaded functions for SVG. |
| 14695 | (svg_load_image): Use them. | 14695 | (Qgdk_pixbuf, Qglib) [HAVE_NTGUI]: New symbols. |
| 14696 | (svg_load_image) [HAVE_NTGUI]: Implement background. | 14696 | (syms_of_image) [HAVE_NTGUI]: Intern and staticpro them. |
| 14697 | 14697 | (init_svg_functions) [HAVE_NTGUI]: New function. | |
| 14698 | 2007-08-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 14698 | (fn_g_type_init, fn_g_object_unref, fn_g_error_free): New #defines. |
| 14699 | 14699 | (svg_load_image): Use them. | |
| 14700 | * Makefile.in (RSVG_LIBS, RSVG_CFLAGS): New variables. | 14700 | (svg_load_image) [HAVE_NTGUI]: Implement background. |
| 14701 | (ALL_CFLAGS): Use ${RSVG_CFLAGS} instead of @RSVG_CFLAGS@. | 14701 | |
| 14702 | (LIBX): Remove @RSVG_LIBS@. | 14702 | 2007-08-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 14703 | (LIBES): Add $(RSVG_LIBS). | 14703 | |
| 14704 | 14704 | * Makefile.in (RSVG_LIBS, RSVG_CFLAGS): New variables. | |
| 14705 | * image.c (svg_load_image): Blend with specified background if exists. | 14705 | (ALL_CFLAGS): Use ${RSVG_CFLAGS} instead of @RSVG_CFLAGS@. |
| 14706 | Use IMAGE_BACKGROUND. Add Mac OS Support. | 14706 | (LIBX): Remove @RSVG_LIBS@. |
| 14707 | 14707 | (LIBES): Add $(RSVG_LIBS). | |
| 14708 | * mac.c (wakeup_from_rne_enabled_p) [MAC_OSX]: Remove variable. | 14708 | |
| 14709 | (ENABLE_WAKEUP_FROM_RNE, DISABLE_WAKEUP_FROM_RNE) [MAC_OSX]: | 14709 | * image.c (svg_load_image): Blend with specified background if exists. |
| 14710 | Remove macros. | 14710 | Use IMAGE_BACKGROUND. Add Mac OS Support. |
| 14711 | [MAC_OSX] (socket_callback): Do nothing. | 14711 | |
| 14712 | [MAC_OSX] (select_and_poll_event): Use CFRunLoopRunInMode instead of | 14712 | * mac.c (wakeup_from_rne_enabled_p) [MAC_OSX]: Remove variable. |
| 14713 | ReceiveNextEvent. | 14713 | (ENABLE_WAKEUP_FROM_RNE, DISABLE_WAKEUP_FROM_RNE) [MAC_OSX]: |
| 14714 | [MAC_OSX] (sys_select): Likewise. Don't set context as argument to | 14714 | Remove macros. |
| 14715 | socket_callback. | 14715 | [MAC_OSX] (socket_callback): Do nothing. |
| 14716 | (mac_wakeup_from_rne) [MAC_OSX]: Do nothing. | 14716 | [MAC_OSX] (select_and_poll_event): Use CFRunLoopRunInMode instead of |
| 14717 | 14717 | ReceiveNextEvent. | |
| 14718 | 2007-08-22 Glenn Morris <rgm@gnu.org> | 14718 | [MAC_OSX] (sys_select): Likewise. Don't set context as argument to |
| 14719 | 14719 | socket_callback. | |
| 14720 | * image.c (x_find_image_file): Search in etc/images/ rather than etc/. | 14720 | (mac_wakeup_from_rne) [MAC_OSX]: Do nothing. |
| 14721 | 14721 | ||
| 14722 | 2007-08-22 Paul Pogonyshev <pogonyshev@gmx.net> | 14722 | 2007-08-22 Glenn Morris <rgm@gnu.org> |
| 14723 | 14723 | ||
| 14724 | * Makefile.in (ALL_CFLAGS, LIBX): Add RSVG_LIBS. | 14724 | * image.c (x_find_image_file): Search in etc/images/ rather than etc/. |
| 14725 | 14725 | ||
| 14726 | * image.c: Add support for SVG images. Some additional comments | 14726 | 2007-08-22 Paul Pogonyshev <pogonyshev@gmx.net> |
| 14727 | by Joakim Verona <joakim@verona.se>. When HAVE_RSVG is defined: | 14727 | |
| 14728 | (svg_image_p): New function to test for SVG image. | 14728 | * Makefile.in (ALL_CFLAGS, LIBX): Add RSVG_LIBS. |
| 14729 | (svg_load): New function to load SVG image. | 14729 | |
| 14730 | (svg_load_image): New function, helper for svg_load. | 14730 | * image.c: Add support for SVG images. Some additional comments |
| 14731 | (Qsvg): New Lisp_object. | 14731 | by Joakim Verona <joakim@verona.se>. When HAVE_RSVG is defined: |
| 14732 | (svg_keyword_index): New enum. | 14732 | (svg_image_p): New function to test for SVG image. |
| 14733 | (svg_format): New static `image_keyword' struct. | 14733 | (svg_load): New function to load SVG image. |
| 14734 | (svg_type): New static `image_type' struct. | 14734 | (svg_load_image): New function, helper for svg_load. |
| 14735 | (librsvg/rsvg.h): Include it. | 14735 | (Qsvg): New Lisp_object. |
| 14736 | 14736 | (svg_keyword_index): New enum. | |
| 14737 | 2007-08-23 Stefan Monnier <monnier@iro.umontreal.ca> | 14737 | (svg_format): New static `image_keyword' struct. |
| 14738 | 14738 | (svg_type): New static `image_type' struct. | |
| 14739 | * lread.c (load_warn_old_style_backquotes): Fix up array size typo. | 14739 | (librsvg/rsvg.h): Include it. |
| 14740 | 14740 | ||
| 14741 | 2007-08-22 Stefan Monnier <monnier@iro.umontreal.ca> | 14741 | 2007-08-23 Stefan Monnier <monnier@iro.umontreal.ca> |
| 14742 | 14742 | ||
| 14743 | * lread.c (Qold_style_backquotes): New var. | 14743 | * lread.c (load_warn_old_style_backquotes): Fix up array size typo. |
| 14744 | (syms_of_lread): Init and staticpro it. | 14744 | |
| 14745 | (load_warn_old_style_backquotes): New fun. | 14745 | 2007-08-22 Stefan Monnier <monnier@iro.umontreal.ca> |
| 14746 | (Fload): Use them to warn about old style backquotes. | 14746 | |
| 14747 | (end_of_file_error, Fload): Remove unused vars. | 14747 | * lread.c (Qold_style_backquotes): New var. |
| 14748 | 14748 | (syms_of_lread): Init and staticpro it. | |
| 14749 | * lisp.h (Fclear_face_cache, Fx_send_client_event): Declare. | 14749 | (load_warn_old_style_backquotes): New fun. |
| 14750 | 14750 | (Fload): Use them to warn about old style backquotes. | |
| 14751 | * lread.c (Vold_style_backquotes): New var. | 14751 | (end_of_file_error, Fload): Remove unused vars. |
| 14752 | (syms_of_lread): Init and export it to Elisp. | 14752 | |
| 14753 | (read1): Set it when we find an old-style (back)quote. | 14753 | * lisp.h (Fclear_face_cache, Fx_send_client_event): Declare. |
| 14754 | 14754 | ||
| 14755 | 2007-08-22 Jason Rumney <jasonr@gnu.org> | 14755 | * lread.c (Vold_style_backquotes): New var. |
| 14756 | 14756 | (syms_of_lread): Init and export it to Elisp. | |
| 14757 | * w32reg.c (SYSTEM_DEFAULT_RESOURCES): Add missing NULL terminator. | 14757 | (read1): Set it when we find an old-style (back)quote. |
| 14758 | 14758 | ||
| 14759 | 2007-08-22 Katsumi Yamaoka <yamaoka@jpl.org> | 14759 | 2007-08-22 Jason Rumney <jasonr@gnu.org> |
| 14760 | 14760 | ||
| 14761 | * puresize.h (BASE_PURESIZE): Increase to 1140000. | 14761 | * w32reg.c (SYSTEM_DEFAULT_RESOURCES): Add missing NULL terminator. |
| 14762 | 14762 | ||
| 14763 | 2007-08-19 Richard Stallman <rms@gnu.org> | 14763 | 2007-08-22 Katsumi Yamaoka <yamaoka@jpl.org> |
| 14764 | 14764 | ||
| 14765 | * eval.c (Ffunction, Fquote): Signal error if not 1 argument. | 14765 | * puresize.h (BASE_PURESIZE): Increase to 1140000. |
| 14766 | 14766 | ||
| 14767 | 2007-08-19 Andreas Schwab <schwab@suse.de> | 14767 | 2007-08-19 Richard Stallman <rms@gnu.org> |
| 14768 | 14768 | ||
| 14769 | * alloc.c (pure): Round PURESIZE up. | 14769 | * eval.c (Ffunction, Fquote): Signal error if not 1 argument. |
| 14770 | 14770 | ||
| 14771 | 2007-08-17 Jan Djärv <jan.h.d@swipnet.se> | 14771 | 2007-08-19 Andreas Schwab <schwab@suse.de> |
| 14772 | 14772 | ||
| 14773 | * xterm.c (handle_one_xevent): Remove check that mouse click is in | 14773 | * alloc.c (pure): Round PURESIZE up. |
| 14774 | active frame. | 14774 | |
| 14775 | 14775 | 2007-08-17 Jan Djärv <jan.h.d@swipnet.se> | |
| 14776 | 2007-08-16 Richard Stallman <rms@gnu.org> | 14776 | |
| 14777 | 14777 | * xterm.c (handle_one_xevent): Remove check that mouse click is in | |
| 14778 | * eval.c (Fcommandp): Add parens to clarify. | 14778 | active frame. |
| 14779 | 14779 | ||
| 14780 | * minibuf.c (Fall_completions): Use enum for type of table. | 14780 | 2007-08-16 Richard Stallman <rms@gnu.org> |
| 14781 | 14781 | ||
| 14782 | * emacs.c (USAGE2): Improve text. | 14782 | * eval.c (Fcommandp): Add parens to clarify. |
| 14783 | 14783 | ||
| 14784 | 2007-08-15 Philippe Waroquiers <philippe.waroquiers@eurocontrol.int> | 14784 | * minibuf.c (Fall_completions): Use enum for type of table. |
| 14785 | 14785 | ||
| 14786 | * term.c (tty_default_color_capabilities): Declare static | 14786 | * emacs.c (USAGE2): Improve text. |
| 14787 | variables in file scope, to avoid HPUX compiler problem. | 14787 | |
| 14788 | 14788 | 2007-08-15 Philippe Waroquiers <philippe.waroquiers@eurocontrol.int> | |
| 14789 | 2007-08-13 Jan Djärv <jan.h.d@swipnet.se> | 14789 | |
| 14790 | 14790 | * term.c (tty_default_color_capabilities): Declare static | |
| 14791 | * gtkutil.c (update_frame_tool_bar): Use -1 as index | 14791 | variables in file scope, to avoid HPUX compiler problem. |
| 14792 | to gtk_toolbar_insert. | 14792 | |
| 14793 | 14793 | 2007-08-13 Jan Djärv <jan.h.d@swipnet.se> | |
| 14794 | 2007-08-13 Stefan Monnier <monnier@iro.umontreal.ca> | 14794 | |
| 14795 | 14795 | * gtkutil.c (update_frame_tool_bar): Use -1 as index | |
| 14796 | * fileio.c (Finsert_file_contents): Yet Another Int/Lisp_Object Mixup. | 14796 | to gtk_toolbar_insert. |
| 14797 | 14797 | ||
| 14798 | * insdel.c (reset_var_on_error): New fun. | 14798 | 2007-08-13 Stefan Monnier <monnier@iro.umontreal.ca> |
| 14799 | (signal_before_change, signal_after_change): | 14799 | |
| 14800 | Use it to reset (after|before)-change-functions to nil in case of error. | 14800 | * fileio.c (Finsert_file_contents): Yet Another Int/Lisp_Object Mixup. |
| 14801 | Bind inhibit-modification-hooks to t. | 14801 | |
| 14802 | Don't bind (after|before)-change-functions to nil while they run. | 14802 | * insdel.c (reset_var_on_error): New fun. |
| 14803 | 14803 | (signal_before_change, signal_after_change): | |
| 14804 | 2007-08-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 14804 | Use it to reset (after|before)-change-functions to nil in case of error. |
| 14805 | 14805 | Bind inhibit-modification-hooks to t. | |
| 14806 | * xterm.c (x_draw_image_glyph_string): Adjust stipple origin when | 14806 | Don't bind (after|before)-change-functions to nil while they run. |
| 14807 | filling pixmap with stippled background. | 14807 | |
| 14808 | 14808 | 2007-08-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
| 14809 | 2007-08-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 14809 | |
| 14810 | 14810 | * xterm.c (x_draw_image_glyph_string): Adjust stipple origin when | |
| 14811 | * macterm.c [TARGET_API_MAC_CARBON] (mac_handle_window_event): | 14811 | filling pixmap with stippled background. |
| 14812 | Don't use invisible frame as parent window for repositioning. | 14812 | |
| 14813 | 14813 | 2007-08-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
| 14814 | 2007-08-10 Stefan Monnier <monnier@iro.umontreal.ca> | 14814 | |
| 14815 | 14815 | * macterm.c [TARGET_API_MAC_CARBON] (mac_handle_window_event): | |
| 14816 | * print.c (new_backquote_output): Rename from old_backquote_output. | 14816 | Don't use invisible frame as parent window for repositioning. |
| 14817 | (print): Inverse its logic (according to its name) so as to match the | 14817 | |
| 14818 | behavior of new_backquote_flag in lread.c. | 14818 | 2007-08-10 Stefan Monnier <monnier@iro.umontreal.ca> |
| 14819 | 14819 | ||
| 14820 | 2007-08-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 14820 | * print.c (new_backquote_output): Rename from old_backquote_output. |
| 14821 | 14821 | (print): Inverse its logic (according to its name) so as to match the | |
| 14822 | * gmalloc.c (posix_memalign): New function. | 14822 | behavior of new_backquote_flag in lread.c. |
| 14823 | 14823 | ||
| 14824 | * macterm.c (frame_highlight, frame_unhighlight): Don't call | 14824 | 2007-08-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 14825 | ActivateControl/DeactivateControl here. | 14825 | |
| 14826 | [USE_MAC_TOOLBAR] (free_frame_tool_bar): Suppress animation when | 14826 | * gmalloc.c (posix_memalign): New function. |
| 14827 | frame-notice-user-settings is non-nil. | 14827 | |
| 14828 | [USE_MAC_FONT_PANEL] (mac_handle_font_event): Also record parameter | 14828 | * macterm.c (frame_highlight, frame_unhighlight): Don't call |
| 14829 | for kEventParamFMFontStyle. | 14829 | ActivateControl/DeactivateControl here. |
| 14830 | [TARGET_API_MAC_CARBON] (mac_handle_keyboard_event): Don't check | 14830 | [USE_MAC_TOOLBAR] (free_frame_tool_bar): Suppress animation when |
| 14831 | mac_pass_command_to_system and mac_pass_control_to_system here. | 14831 | frame-notice-user-settings is non-nil. |
| 14832 | (XTread_socket): Call ActivateControl/DeactivateControl here. | 14832 | [USE_MAC_FONT_PANEL] (mac_handle_font_event): Also record parameter |
| 14833 | (XTread_socket) [TARGET_API_MAC_CARBON]: | 14833 | for kEventParamFMFontStyle. |
| 14834 | Check mac_pass_command_to_system and mac_pass_control_to_system here. | 14834 | [TARGET_API_MAC_CARBON] (mac_handle_keyboard_event): Don't check |
| 14835 | (mac_handle_window_event) [USE_MAC_TOOLBAR]: Add further workaround | 14835 | mac_pass_command_to_system and mac_pass_control_to_system here. |
| 14836 | for window repositioning. | 14836 | (XTread_socket): Call ActivateControl/DeactivateControl here. |
| 14837 | 14837 | (XTread_socket) [TARGET_API_MAC_CARBON]: | |
| 14838 | 2007-08-08 Glenn Morris <rgm@gnu.org> | 14838 | Check mac_pass_command_to_system and mac_pass_control_to_system here. |
| 14839 | 14839 | (mac_handle_window_event) [USE_MAC_TOOLBAR]: Add further workaround | |
| 14840 | * Replace `iff' in doc-strings and comments. | 14840 | for window repositioning. |
| 14841 | 14841 | ||
| 14842 | 2007-08-07 Chong Yidong <cyd@stupidchicken.com> | 14842 | 2007-08-08 Glenn Morris <rgm@gnu.org> |
| 14843 | 14843 | ||
| 14844 | * xdisp.c (move_it_by_lines): Remove incorrect optimization. | 14844 | * Replace `iff' in doc-strings and comments. |
| 14845 | 14845 | ||
| 14846 | 2007-08-07 Martin Rudalics <rudalics@gmx.at> | 14846 | 2007-08-07 Chong Yidong <cyd@stupidchicken.com> |
| 14847 | 14847 | ||
| 14848 | * fileio.c (Finsert_file_contents): Run format-decode and | 14848 | * xdisp.c (move_it_by_lines): Remove incorrect optimization. |
| 14849 | after_insert_file_functions on entire buffer when REPLACE is | 14849 | |
| 14850 | non-nil and inhibit modification_hooks and point_motion_hooks. | 14850 | 2007-08-07 Martin Rudalics <rudalics@gmx.at> |
| 14851 | For consistency, run after_insert_file_functions iff something | 14851 | |
| 14852 | got inserted. Move signal_after_change and update_compositions | 14852 | * fileio.c (Finsert_file_contents): Run format-decode and |
| 14853 | after code running after_insert_file_functions. Make sure that | 14853 | after_insert_file_functions on entire buffer when REPLACE is |
| 14854 | undo_list doesn't record intermediate steps of the decoding process. | 14854 | non-nil and inhibit modification_hooks and point_motion_hooks. |
| 14855 | 14855 | For consistency, run after_insert_file_functions iff something | |
| 14856 | 2007-08-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 14856 | got inserted. Move signal_after_change and update_compositions |
| 14857 | 14857 | after code running after_insert_file_functions. Make sure that | |
| 14858 | * emacs.c (main) | 14858 | undo_list doesn't record intermediate steps of the decoding process. |
| 14859 | [HAVE_GTK_AND_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]: | 14859 | |
| 14860 | Call malloc_enable_thread on interactive startup. | 14860 | 2007-08-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 14861 | 14861 | ||
| 14862 | * gmalloc.c (_malloc_thread_enabled_p) [USE_PTHREAD]: New variable. | 14862 | * emacs.c (main) |
| 14863 | (LOCK, UNLOCK, LOCK_ALIGNED_BLOCKS, UNLOCK_ALIGNED_BLOCKS) | 14863 | [HAVE_GTK_AND_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]: |
| 14864 | [USE_PTHREAD]: Conditionalize with it. | 14864 | Call malloc_enable_thread on interactive startup. |
| 14865 | (malloc_atfork_handler_prepare, malloc_atfork_handler_parent) | 14865 | |
| 14866 | (malloc_atfork_handler_child, malloc_enable_thread) [USE_PTHREAD]: | 14866 | * gmalloc.c (_malloc_thread_enabled_p) [USE_PTHREAD]: New variable. |
| 14867 | New functions. | 14867 | (LOCK, UNLOCK, LOCK_ALIGNED_BLOCKS, UNLOCK_ALIGNED_BLOCKS) |
| 14868 | 14868 | [USE_PTHREAD]: Conditionalize with it. | |
| 14869 | 2007-08-06 Chong Yidong <cyd@stupidchicken.com> | 14869 | (malloc_atfork_handler_prepare, malloc_atfork_handler_parent) |
| 14870 | 14870 | (malloc_atfork_handler_child, malloc_enable_thread) [USE_PTHREAD]: | |
| 14871 | * xdisp.c (redisplay_window): When restoring original buffer | 14871 | New functions. |
| 14872 | position, make sure it is still valid. | 14872 | |
| 14873 | 14873 | 2007-08-06 Chong Yidong <cyd@stupidchicken.com> | |
| 14874 | * image.c (png_load): Ignore png-supplied background color. | 14874 | |
| 14875 | 14875 | * xdisp.c (redisplay_window): When restoring original buffer | |
| 14876 | 2007-08-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 14876 | position, make sure it is still valid. |
| 14877 | 14877 | ||
| 14878 | * mac.c [TARGET_API_MAC_CARBON] (cfdate_to_lisp): Obtain microsec value. | 14878 | * image.c (png_load): Ignore png-supplied background color. |
| 14879 | Use kCFAbsoluteTimeIntervalSince1970. | 14879 | |
| 14880 | 14880 | 2007-08-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
| 14881 | * macmenu.c (quit_dialog_event_loop) [TARGET_API_MAC_CARBON]: | 14881 | |
| 14882 | New variable. | 14882 | * mac.c [TARGET_API_MAC_CARBON] (cfdate_to_lisp): Obtain microsec value. |
| 14883 | [TARGET_API_MAC_CARBON] (mac_handle_dialog_event): Set it if dialog | 14883 | Use kCFAbsoluteTimeIntervalSince1970. |
| 14884 | event loop should be quit. | 14884 | |
| 14885 | [TARGET_API_MAC_CARBON] (create_and_show_dialog) [!MAC_OSX]: | 14885 | * macmenu.c (quit_dialog_event_loop) [TARGET_API_MAC_CARBON]: |
| 14886 | Quit dialog event loop if quit_dialog_event_loop is set. | 14886 | New variable. |
| 14887 | 14887 | [TARGET_API_MAC_CARBON] (mac_handle_dialog_event): Set it if dialog | |
| 14888 | * macselect.c [!TARGET_API_MAC_CARBON]: Include Scrap.h. | 14888 | event loop should be quit. |
| 14889 | (Selection): New typedef. Use instead of ScrapRef. | 14889 | [TARGET_API_MAC_CARBON] (create_and_show_dialog) [!MAC_OSX]: |
| 14890 | (mac_get_selection_from_symbol): Rename from get_scrap_from_symbol. | 14890 | Quit dialog event loop if quit_dialog_event_loop is set. |
| 14891 | (mac_valid_selection_target_p): Rename from valid_scrap_target_type_p. | 14891 | |
| 14892 | (mac_clear_selection): Rename from clear_scrap. | 14892 | * macselect.c [!TARGET_API_MAC_CARBON]: Include Scrap.h. |
| 14893 | (get_flavor_type_from_symbol): New argument SEL and subsume function of | 14893 | (Selection): New typedef. Use instead of ScrapRef. |
| 14894 | scrap_has_target_type. All uses changed. | 14894 | (mac_get_selection_from_symbol): Rename from get_scrap_from_symbol. |
| 14895 | (mac_get_selection_ownership_info, mac_valid_selection_value_p) | 14895 | (mac_valid_selection_target_p): Rename from valid_scrap_target_type_p. |
| 14896 | (mac_selection_has_target_p): New functions. | 14896 | (mac_clear_selection): Rename from clear_scrap. |
| 14897 | (mac_put_selection_value): Rename from put_scrap_string. | 14897 | (get_flavor_type_from_symbol): New argument SEL and subsume function of |
| 14898 | (mac_get_selection_value): Rename from get_scrap_string. | 14898 | scrap_has_target_type. All uses changed. |
| 14899 | (mac_get_selection_target_list): Rename from get_scrap_target_type_list. | 14899 | (mac_get_selection_ownership_info, mac_valid_selection_value_p) |
| 14900 | (put_scrap_private_timestamp, scrap_has_target_type) | 14900 | (mac_selection_has_target_p): New functions. |
| 14901 | (get_scrap_private_timestamp): Remove functions. | 14901 | (mac_put_selection_value): Rename from put_scrap_string. |
| 14902 | (SCRAP_FLAVOR_TYPE_EMACS_TIMESTAMP): Remove define. | 14902 | (mac_get_selection_value): Rename from get_scrap_string. |
| 14903 | (x_own_selection, x_get_local_selection): | 14903 | (mac_get_selection_target_list): Rename from get_scrap_target_type_list. |
| 14904 | Use mac_valid_selection_value_p. | 14904 | (put_scrap_private_timestamp, scrap_has_target_type) |
| 14905 | (x_own_selection): Don't use put_scrap_private_timestamp. | 14905 | (get_scrap_private_timestamp): Remove functions. |
| 14906 | Record OWNERSHIP-INFO into Vselection_alist instead. | 14906 | (SCRAP_FLAVOR_TYPE_EMACS_TIMESTAMP): Remove define. |
| 14907 | (x_get_local_selection): Don't check type if request is local. | 14907 | (x_own_selection, x_get_local_selection): |
| 14908 | (Fx_selection_owner_p): Don't use get_scrap_private_timestamp. | 14908 | Use mac_valid_selection_value_p. |
| 14909 | Detect ownership change with OWNERSHIP-INFO in Vselection_alist instead. | 14909 | (x_own_selection): Don't use put_scrap_private_timestamp. |
| 14910 | 14910 | Record OWNERSHIP-INFO into Vselection_alist instead. | |
| 14911 | 2007-08-04 Jan Djärv <jan.h.d@swipnet.se> | 14911 | (x_get_local_selection): Don't check type if request is local. |
| 14912 | 14912 | (Fx_selection_owner_p): Don't use get_scrap_private_timestamp. | |
| 14913 | * gtkutil.c (xg_tool_bar_callback): Generate two TOOL_BAR_EVENT:s, | 14913 | Detect ownership change with OWNERSHIP-INFO in Vselection_alist instead. |
| 14914 | add comment explaining why. | 14914 | |
| 14915 | 14915 | 2007-08-04 Jan Djärv <jan.h.d@swipnet.se> | |
| 14916 | 2007-08-03 Richard Stallman <rms@gnu.org> | 14916 | |
| 14917 | 14917 | * gtkutil.c (xg_tool_bar_callback): Generate two TOOL_BAR_EVENT:s, | |
| 14918 | * fileio.c (Fvisited_file_modtime): Use make_time. | 14918 | add comment explaining why. |
| 14919 | 14919 | ||
| 14920 | 2007-08-01 Ryo Yoshitake <ryo@shiftmode.net> (tiny change) | 14920 | 2007-08-03 Richard Stallman <rms@gnu.org> |
| 14921 | 14921 | ||
| 14922 | * mac.c (init_mac_osx_environment): Adjust load-path on self-contained | 14922 | * fileio.c (Fvisited_file_modtime): Use make_time. |
| 14923 | build. | 14923 | |
| 14924 | 14924 | 2007-08-01 Ryo Yoshitake <ryo@shiftmode.net> (tiny change) | |
| 14925 | 2007-07-31 Stefan Monnier <monnier@iro.umontreal.ca> | 14925 | |
| 14926 | 14926 | * mac.c (init_mac_osx_environment): Adjust load-path on self-contained | |
| 14927 | * gtkutil.c (xg_tool_bar_callback): Generate a single TOOL_BAR_EVENT. | 14927 | build. |
| 14928 | 14928 | ||
| 14929 | 2007-07-30 Katsumi Yamaoka <yamaoka@jpl.org> | 14929 | 2007-07-31 Stefan Monnier <monnier@iro.umontreal.ca> |
| 14930 | 14930 | ||
| 14931 | * puresize.h (BASE_PURESIZE): Increase to 1130000. | 14931 | * gtkutil.c (xg_tool_bar_callback): Generate a single TOOL_BAR_EVENT. |
| 14932 | 14932 | ||
| 14933 | 2007-07-30 Richard Stallman <rms@gnu.org> | 14933 | 2007-07-30 Katsumi Yamaoka <yamaoka@jpl.org> |
| 14934 | 14934 | ||
| 14935 | * lread.c (readevalloop, read1): Treat NBSP as whitespace. | 14935 | * puresize.h (BASE_PURESIZE): Increase to 1130000. |
| 14936 | 14936 | ||
| 14937 | 2007-07-29 Jan Djärv <jan.h.d@swipnet.se> | 14937 | 2007-07-30 Richard Stallman <rms@gnu.org> |
| 14938 | 14938 | ||
| 14939 | * gmalloc.c (__malloc_initialize): Remove pthread_once. Not needed. | 14939 | * lread.c (readevalloop, read1): Treat NBSP as whitespace. |
| 14940 | 14940 | ||
| 14941 | 2007-07-28 Nick Roberts <nickrob@snap.net.nz> | 14941 | 2007-07-29 Jan Djärv <jan.h.d@swipnet.se> |
| 14942 | 14942 | ||
| 14943 | * xdisp.c (decode_mode_spec): Use '@' instead of 'R' to test for | 14943 | * gmalloc.c (__malloc_initialize): Remove pthread_once. Not needed. |
| 14944 | remote default-directory. | 14944 | |
| 14945 | 14945 | 2007-07-28 Nick Roberts <nickrob@snap.net.nz> | |
| 14946 | * buffer.c (mode-line-format): Update doc string. | 14946 | |
| 14947 | 14947 | * xdisp.c (decode_mode_spec): Use '@' instead of 'R' to test for | |
| 14948 | 2007-07-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 14948 | remote default-directory. |
| 14949 | 14949 | ||
| 14950 | * w32term.c (w32_draw_fringe_bitmap): Extend fringe background to | 14950 | * buffer.c (mode-line-format): Update doc string. |
| 14951 | scroll bar gap. | 14951 | |
| 14952 | (x_scroll_bar_create): Set bar->fringe_extended_p. | 14952 | 2007-07-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 14953 | (w32_set_vertical_scroll_bar): Put leftmost/rightmost scroll bars | 14953 | |
| 14954 | on frame edge. Check fringe background extension. Don't clear | 14954 | * w32term.c (w32_draw_fringe_bitmap): Extend fringe background to |
| 14955 | extended fringe background area. | 14955 | scroll bar gap. |
| 14956 | 14956 | (x_scroll_bar_create): Set bar->fringe_extended_p. | |
| 14957 | * w32term.h (struct scroll_bar): New member fringe_extended_p. | 14957 | (w32_set_vertical_scroll_bar): Put leftmost/rightmost scroll bars |
| 14958 | (w32_fill_area): Enclose multiple statements with do ... while (0). | 14958 | on frame edge. Check fringe background extension. Don't clear |
| 14959 | 14959 | extended fringe background area. | |
| 14960 | * xterm.c (x_draw_fringe_bitmap) [USE_TOOLKIT_SCROLL_BARS]: | 14960 | |
| 14961 | Extend fringe background to scroll bar gap. | 14961 | * w32term.h (struct scroll_bar): New member fringe_extended_p. |
| 14962 | (x_scroll_bar_create) [USE_TOOLKIT_SCROLL_BARS]: | 14962 | (w32_fill_area): Enclose multiple statements with do ... while (0). |
| 14963 | Set bar->fringe_extended_p. | 14963 | |
| 14964 | (XTset_vertical_scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: | 14964 | * xterm.c (x_draw_fringe_bitmap) [USE_TOOLKIT_SCROLL_BARS]: |
| 14965 | Put leftmost/rightmost scroll bars on frame edge. Check fringe | 14965 | Extend fringe background to scroll bar gap. |
| 14966 | background extension. Don't clear extended fringe background area. | 14966 | (x_scroll_bar_create) [USE_TOOLKIT_SCROLL_BARS]: |
| 14967 | 14967 | Set bar->fringe_extended_p. | |
| 14968 | * xterm.h (struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: | 14968 | (XTset_vertical_scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: |
| 14969 | New member fringe_extended_p. | 14969 | Put leftmost/rightmost scroll bars on frame edge. Check fringe |
| 14970 | 14970 | background extension. Don't clear extended fringe background area. | |
| 14971 | 2007-07-25 Glenn Morris <rgm@gnu.org> | 14971 | |
| 14972 | 14972 | * xterm.h (struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: | |
| 14973 | * Relicense all FSF files to GPLv3 or later. | 14973 | New member fringe_extended_p. |
| 14974 | 14974 | ||
| 14975 | * COPYING: Switch to GPLv3. | 14975 | 2007-07-25 Glenn Morris <rgm@gnu.org> |
| 14976 | 14976 | ||
| 14977 | 2007-07-25 Stefan Monnier <monnier@iro.umontreal.ca> | 14977 | * Relicense all FSF files to GPLv3 or later. |
| 14978 | 14978 | ||
| 14979 | * eval.c (Fcommandp): Pay attention to the `interactive-form' property. | 14979 | * COPYING: Switch to GPLv3. |
| 14980 | 14980 | ||
| 14981 | * data.c (Finteractive_form): Check for the presence of an | 14981 | 2007-07-25 Stefan Monnier <monnier@iro.umontreal.ca> |
| 14982 | `interactive-form' symbol property more thoroughly. | 14982 | |
| 14983 | 14983 | * eval.c (Fcommandp): Pay attention to the `interactive-form' property. | |
| 14984 | * data.c (Finteractive_form): Use an `interactive-form' property if | 14984 | |
| 14985 | present, analogous to the function-documentation property. | 14985 | * data.c (Finteractive_form): Check for the presence of an |
| 14986 | 14986 | `interactive-form' symbol property more thoroughly. | |
| 14987 | 2007-07-24 Jason Rumney <jasonr@gnu.org> | 14987 | |
| 14988 | 14988 | * data.c (Finteractive_form): Use an `interactive-form' property if | |
| 14989 | * w32fns.c (x_real_positions): Get real position from OS instead of | 14989 | present, analogous to the function-documentation property. |
| 14990 | calculating it. | 14990 | |
| 14991 | 14991 | 2007-07-24 Jason Rumney <jasonr@gnu.org> | |
| 14992 | 2007-07-23 Jason Rumney <jasonr@gnu.org> | 14992 | |
| 14993 | 14993 | * w32fns.c (x_real_positions): Get real position from OS instead of | |
| 14994 | * filelock.c (current_lock_owner): Allow for @ sign in username. | 14994 | calculating it. |
| 14995 | 14995 | ||
| 14996 | 2007-07-22 Nick Roberts <nickrob@snap.net.nz> | 14996 | 2007-07-23 Jason Rumney <jasonr@gnu.org> |
| 14997 | 14997 | ||
| 14998 | * xdisp.c (decode_mode_spec): Add case 'R' for to test for | 14998 | * filelock.c (current_lock_owner): Allow for @ sign in username. |
| 14999 | remote default-directory. | 14999 | |
| 15000 | 15000 | 2007-07-22 Nick Roberts <nickrob@snap.net.nz> | |
| 15001 | * buffer.c (mode-line-format): Describe above case in doc string. | 15001 | |
| 15002 | 15002 | * xdisp.c (decode_mode_spec): Add case 'R' for to test for | |
| 15003 | 2007-07-20 Eli Zaretskii <eliz@gnu.org> | 15003 | remote default-directory. |
| 15004 | 15004 | ||
| 15005 | * w32proc.c (IMAGE_NT_OPTIONAL_HDR32_MAGIC, IMAGE_OPTIONAL_HEADER32): | 15005 | * buffer.c (mode-line-format): Describe above case in doc string. |
| 15006 | Define if not defined. | 15006 | |
| 15007 | 15007 | 2007-07-20 Eli Zaretskii <eliz@gnu.org> | |
| 15008 | 2007-07-18 Jason Rumney <jasonr@gnu.org> | 15008 | |
| 15009 | 15009 | * w32proc.c (IMAGE_NT_OPTIONAL_HDR32_MAGIC, IMAGE_OPTIONAL_HEADER32): | |
| 15010 | * w32proc.c (w32_executable_type): Handle 64 bit executables. | 15010 | Define if not defined. |
| 15011 | 15011 | ||
| 15012 | 2007-07-18 Richard Stallman <rms@gnu.org> | 15012 | 2007-07-18 Jason Rumney <jasonr@gnu.org> |
| 15013 | 15013 | ||
| 15014 | * data.c (Fsetq_default): Doc fix. | 15014 | * w32proc.c (w32_executable_type): Handle 64 bit executables. |
| 15015 | 15015 | ||
| 15016 | * eval.c (Fsetq): Doc fix. | 15016 | 2007-07-18 Richard Stallman <rms@gnu.org> |
| 15017 | 15017 | ||
| 15018 | 2007-07-18 Juanma Barranquero <lekktu@gmail.com> | 15018 | * data.c (Fsetq_default): Doc fix. |
| 15019 | 15019 | ||
| 15020 | * coding.c (Ffind_operation_coding_system): | 15020 | * eval.c (Fsetq): Doc fix. |
| 15021 | * eval.c (For, Fand): Doc fixes. | 15021 | |
| 15022 | Reported by Johan Bockgård. | 15022 | 2007-07-18 Juanma Barranquero <lekktu@gmail.com> |
| 15023 | 15023 | ||
| 15024 | 2007-07-18 Jan Djärv <jan.h.d@swipnet.se> | 15024 | * coding.c (Ffind_operation_coding_system): |
| 15025 | 15025 | * eval.c (For, Fand): Doc fixes. | |
| 15026 | * xfns.c (Fx_focus_frame): Call x_ewmh_activate_frame. | 15026 | Reported by Johan Bockgård. |
| 15027 | 15027 | ||
| 15028 | * xterm.h: Declare x_ewmh_activate_frame. | 15028 | 2007-07-18 Jan Djärv <jan.h.d@swipnet.se> |
| 15029 | 15029 | ||
| 15030 | * xterm.c (x_ewmh_activate_frame): New function. | 15030 | * xfns.c (Fx_focus_frame): Call x_ewmh_activate_frame. |
| 15031 | (XTframe_raise_lower): Move code to x_ewmh_activate_frame. | 15031 | |
| 15032 | 15032 | * xterm.h: Declare x_ewmh_activate_frame. | |
| 15033 | 2007-07-17 Martin Rudalics <rudalics@gmx.at> | 15033 | |
| 15034 | 15034 | * xterm.c (x_ewmh_activate_frame): New function. | |
| 15035 | * window.c (Fdisplay_buffer): If largest or LRU window is the | 15035 | (XTframe_raise_lower): Move code to x_ewmh_activate_frame. |
| 15036 | only window, split it even if it is not eligible for splitting. | 15036 | |
| 15037 | This restores the original behavior broken by the 2007-07-15 | 15037 | 2007-07-17 Martin Rudalics <rudalics@gmx.at> |
| 15038 | change. | 15038 | |
| 15039 | 15039 | * window.c (Fdisplay_buffer): If largest or LRU window is the | |
| 15040 | 2007-07-17 Glenn Morris <rgm@gnu.org> | 15040 | only window, split it even if it is not eligible for splitting. |
| 15041 | 15041 | This restores the original behavior broken by the 2007-07-15 | |
| 15042 | * abbrev.c (abbrev_check_chars): New function. | 15042 | change. |
| 15043 | (Fdefine_global_abbrev, Fdefine_mode_abbrev): | 15043 | |
| 15044 | Call abbrev_check_chars to check abbrev characters are word | 15044 | 2007-07-17 Glenn Morris <rgm@gnu.org> |
| 15045 | constituents. Doc fix. | 15045 | |
| 15046 | 15046 | * abbrev.c (abbrev_check_chars): New function. | |
| 15047 | 2007-07-17 Stefan Monnier <monnier@iro.umontreal.ca> | 15047 | (Fdefine_global_abbrev, Fdefine_mode_abbrev): |
| 15048 | 15048 | Call abbrev_check_chars to check abbrev characters are word | |
| 15049 | * process.c (Fstart_process, Fmake_network_process) | 15049 | constituents. Doc fix. |
| 15050 | (read_process_output): Fix up last changes. | 15050 | |
| 15051 | 15051 | 2007-07-17 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 15052 | 2007-07-16 Eli Zaretskii <eliz@gnu.org> | 15052 | |
| 15053 | 15053 | * process.c (Fstart_process, Fmake_network_process) | |
| 15054 | * makefile.w32-in (clean): Don't delete *~. | 15054 | (read_process_output): Fix up last changes. |
| 15055 | 15055 | ||
| 15056 | 2007-07-16 Andreas Schwab <schwab@suse.de> | 15056 | 2007-07-16 Eli Zaretskii <eliz@gnu.org> |
| 15057 | 15057 | ||
| 15058 | * window.c (Fdisplay_buffer): Use NILP. | 15058 | * makefile.w32-in (clean): Don't delete *~. |
| 15059 | (Fset_window_scroll_bars): Likewise. | 15059 | |
| 15060 | 15060 | 2007-07-16 Andreas Schwab <schwab@suse.de> | |
| 15061 | 2007-07-15 Martin Rudalics <rudalics@gmx.at> | 15061 | |
| 15062 | 15062 | * window.c (Fdisplay_buffer): Use NILP. | |
| 15063 | * window.c (window_min_size_2): New function. | 15063 | (Fset_window_scroll_bars): Likewise. |
| 15064 | (window_min_size_1, size_window, Fdisplay_buffer) | 15064 | |
| 15065 | (Fsplit_window, adjust_window_trailing_edge): Use it to avoid | 15065 | 2007-07-15 Martin Rudalics <rudalics@gmx.at> |
| 15066 | windows without mode- or header-lines when window-min-height is | 15066 | |
| 15067 | too small. | 15067 | * window.c (window_min_size_2): New function. |
| 15068 | (size_window): Reset nodelete_p after testing it, following an | 15068 | (window_min_size_1, size_window, Fdisplay_buffer) |
| 15069 | earlier note by Kim F. Storm. | 15069 | (Fsplit_window, adjust_window_trailing_edge): Use it to avoid |
| 15070 | (display_buffer): Do not set split_height_threshold to twice the | 15070 | windows without mode- or header-lines when window-min-height is |
| 15071 | value of window_min_height to avoid changing the value of a | 15071 | too small. |
| 15072 | customizable variable. Rather explicitly check whether the | 15072 | (size_window): Reset nodelete_p after testing it, following an |
| 15073 | height of the window that shall be splitted is at least as large | 15073 | earlier note by Kim F. Storm. |
| 15074 | as split_height_threshold. | 15074 | (display_buffer): Do not set split_height_threshold to twice the |
| 15075 | (Fwindow_full_width_p): New defun. | 15075 | value of window_min_height to avoid changing the value of a |
| 15076 | (syms_of_window): Defsubr it. | 15076 | customizable variable. Rather explicitly check whether the |
| 15077 | 15077 | height of the window that shall be splitted is at least as large | |
| 15078 | * window.h: Add EXFUN for Fwindow_full_width_p. | 15078 | as split_height_threshold. |
| 15079 | 15079 | (Fwindow_full_width_p): New defun. | |
| 15080 | 2007-07-14 Jason Rumney <jasonr@gnu.org> | 15080 | (syms_of_window): Defsubr it. |
| 15081 | 15081 | ||
| 15082 | * process.c [WINDOWSNT]: Don't undefine AF_INET6. | 15082 | * window.h: Add EXFUN for Fwindow_full_width_p. |
| 15083 | 15083 | ||
| 15084 | 2007-07-14 Richard Stallman <rms@gnu.org> | 15084 | 2007-07-14 Jason Rumney <jasonr@gnu.org> |
| 15085 | 15085 | ||
| 15086 | * eval.c (maybe_call_debugger): New function. | 15086 | * process.c [WINDOWSNT]: Don't undefine AF_INET6. |
| 15087 | (find_handler_clause): Use maybe_call_debugger. | 15087 | |
| 15088 | Call it when the handler says `debug'. | 15088 | 2007-07-14 Richard Stallman <rms@gnu.org> |
| 15089 | Eliminate DEBUGGER_VALUE_PTR. | 15089 | |
| 15090 | (Fsignal): Eliminate debugger_value. | 15090 | * eval.c (maybe_call_debugger): New function. |
| 15091 | (Qdebug): New variable. | 15091 | (find_handler_clause): Use maybe_call_debugger. |
| 15092 | (syms_of_eval): Initialize it. | 15092 | Call it when the handler says `debug'. |
| 15093 | 15093 | Eliminate DEBUGGER_VALUE_PTR. | |
| 15094 | 2007-07-14 Juanma Barranquero <lekktu@gmail.com> | 15094 | (Fsignal): Eliminate debugger_value. |
| 15095 | 15095 | (Qdebug): New variable. | |
| 15096 | * eval.c (Fprogn): | 15096 | (syms_of_eval): Initialize it. |
| 15097 | * keyboard.c (Ftrack_mouse): | 15097 | |
| 15098 | * print.c (Fwith_output_to_temp_buffer): | 15098 | 2007-07-14 Juanma Barranquero <lekktu@gmail.com> |
| 15099 | * window.c (Fsave_window_excursion): Doc fix. | 15099 | |
| 15100 | 15100 | * eval.c (Fprogn): | |
| 15101 | 2007-07-13 Stefan Monnier <monnier@iro.umontreal.ca> | 15101 | * keyboard.c (Ftrack_mouse): |
| 15102 | 15102 | * print.c (Fwith_output_to_temp_buffer): | |
| 15103 | * eval.c (init_eval_once): Bump max_lisp_eval_depth to 400. | 15103 | * window.c (Fsave_window_excursion): Doc fix. |
| 15104 | 15104 | ||
| 15105 | 2007-07-12 Stefan Monnier <monnier@iro.umontreal.ca> | 15105 | 2007-07-13 Stefan Monnier <monnier@iro.umontreal.ca> |
| 15106 | 15106 | ||
| 15107 | * process.h (struct Lisp_Process): Turn slots infd, outfd, | 15107 | * eval.c (init_eval_once): Bump max_lisp_eval_depth to 400. |
| 15108 | kill_without_query, pty_flag, tick, update_tick, decoding_carryover, | 15108 | |
| 15109 | inherit_coding_system_flag, filter_multibyte, adaptive_read_buffering, | 15109 | 2007-07-12 Stefan Monnier <monnier@iro.umontreal.ca> |
| 15110 | read_output_delay, and read_output_skip from Lisp_Objects to ints. | 15110 | |
| 15111 | Remove unused encoding_carryover. | 15111 | * process.h (struct Lisp_Process): Turn slots infd, outfd, |
| 15112 | * process.c: Adjust all functions accordingly. | 15112 | kill_without_query, pty_flag, tick, update_tick, decoding_carryover, |
| 15113 | 15113 | inherit_coding_system_flag, filter_multibyte, adaptive_read_buffering, | |
| 15114 | 2007-07-12 Richard Stallman <rms@gnu.org> | 15114 | read_output_delay, and read_output_skip from Lisp_Objects to ints. |
| 15115 | 15115 | Remove unused encoding_carryover. | |
| 15116 | * term.c: Include unistd.h only if HAVE_UNISTD_H. | 15116 | * process.c: Adjust all functions accordingly. |
| 15117 | 15117 | ||
| 15118 | 2007-07-11 Jason Rumney <jasonr@gnu.org> | 15118 | 2007-07-12 Richard Stallman <rms@gnu.org> |
| 15119 | 15119 | ||
| 15120 | * makefile.w32-in (LIBS): Include OLE32. | 15120 | * term.c: Include unistd.h only if HAVE_UNISTD_H. |
| 15121 | 15121 | ||
| 15122 | * w32fns.c (w32_msg_pump) <WM_EMACS_CREATEWINDOW>: Initialize COM. | 15122 | 2007-07-11 Jason Rumney <jasonr@gnu.org> |
| 15123 | (w32_msg_pump) <WM_DESTROY>: Uninitialize COM. | 15123 | |
| 15124 | 15124 | * makefile.w32-in (LIBS): Include OLE32. | |
| 15125 | 2007-07-11 Stefan Monnier <monnier@iro.umontreal.ca> | 15125 | |
| 15126 | 15126 | * w32fns.c (w32_msg_pump) <WM_EMACS_CREATEWINDOW>: Initialize COM. | |
| 15127 | * lisp.h (struct Lisp_Hash_Table): Turn next_weak into a bare pointer. | 15127 | (w32_msg_pump) <WM_DESTROY>: Uninitialize COM. |
| 15128 | * fns.c (weak_hash_tables): Rename from Vweak_hash_tables and turned | 15128 | |
| 15129 | from a Lisp_Object into a bare pointer. | 15129 | 2007-07-11 Stefan Monnier <monnier@iro.umontreal.ca> |
| 15130 | (make_hash_table, copy_hash_table, sweep_weak_hash_tables, init_fns): | 15130 | |
| 15131 | Adjust the code correspondingly. | 15131 | * lisp.h (struct Lisp_Hash_Table): Turn next_weak into a bare pointer. |
| 15132 | 15132 | * fns.c (weak_hash_tables): Rename from Vweak_hash_tables and turned | |
| 15133 | * alloc.c (emacs_blocked_free): Remove unused var `bytes_used_now'. | 15133 | from a Lisp_Object into a bare pointer. |
| 15134 | 15134 | (make_hash_table, copy_hash_table, sweep_weak_hash_tables, init_fns): | |
| 15135 | * term.c: Include unistd.h for ttyname, used in handle_one_term_event. | 15135 | Adjust the code correspondingly. |
| 15136 | (term_show_mouse_face): Remove unused var `j'. | 15136 | |
| 15137 | (handle_one_term_event): Remove unused vars `i' and `j'. | 15137 | * alloc.c (emacs_blocked_free): Remove unused var `bytes_used_now'. |
| 15138 | Don't cast return value of ttyname since it's not necessary. | 15138 | |
| 15139 | 15139 | * term.c: Include unistd.h for ttyname, used in handle_one_term_event. | |
| 15140 | 2007-07-10 Stefan Monnier <monnier@iro.umontreal.ca> | 15140 | (term_show_mouse_face): Remove unused var `j'. |
| 15141 | 15141 | (handle_one_term_event): Remove unused vars `i' and `j'. | |
| 15142 | * alloc.c (mark_maybe_pointer): Enforce mult-of-8 alignment when using | 15142 | Don't cast return value of ttyname since it's not necessary. |
| 15143 | USE_LSB_TAG. Suggested by Dmitry Antipov <dmantipov@yandex.ru>. | 15143 | |
| 15144 | 15144 | 2007-07-10 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 15145 | * fns.c (map_char_table): Use an array of int for `indices' rather than | 15145 | |
| 15146 | an array of Lisp_Objects (which are only ever integers anyway). | 15146 | * alloc.c (mark_maybe_pointer): Enforce mult-of-8 alignment when using |
| 15147 | (Fmap_char_table): Update caller. | 15147 | USE_LSB_TAG. Suggested by Dmitry Antipov <dmantipov@yandex.ru>. |
| 15148 | * lisp.h: Update prototype. | 15148 | |
| 15149 | * keymap.c (Fset_keymap_parent, map_keymap, Fcopy_keymap): | 15149 | * fns.c (map_char_table): Use an array of int for `indices' rather than |
| 15150 | * fontset.c (Ffontset_info): | 15150 | an array of Lisp_Objects (which are only ever integers anyway). |
| 15151 | * casetab.c (set_case_table): Update callers. | 15151 | (Fmap_char_table): Update caller. |
| 15152 | 15152 | * lisp.h: Update prototype. | |
| 15153 | * editfns.c (Ftranspose_regions): Use EMACS_INT for positions. | 15153 | * keymap.c (Fset_keymap_parent, map_keymap, Fcopy_keymap): |
| 15154 | 15154 | * fontset.c (Ffontset_info): | |
| 15155 | * keymap.c (struct accessible_keymaps_data) | 15155 | * casetab.c (set_case_table): Update callers. |
| 15156 | (struct where_is_internal_data): New structures. | 15156 | |
| 15157 | (accessible_keymaps_1, where_is_internal_1): Use them to change | 15157 | * editfns.c (Ftranspose_regions): Use EMACS_INT for positions. |
| 15158 | interface to adhere to the one used by map_keymap. | 15158 | |
| 15159 | (Faccessible_keymaps, where_is_internal): Use map_keymap. | 15159 | * keymap.c (struct accessible_keymaps_data) |
| 15160 | (accessible_keymaps_char_table, where_is_internal_2): Remove. | 15160 | (struct where_is_internal_data): New structures. |
| 15161 | 15161 | (accessible_keymaps_1, where_is_internal_1): Use them to change | |
| 15162 | * keymap.h (map_keymap_function_t): More informative prototype. | 15162 | interface to adhere to the one used by map_keymap. |
| 15163 | 15163 | (Faccessible_keymaps, where_is_internal): Use map_keymap. | |
| 15164 | 2007-07-10 Guanpeng Xu <herberteuler@hotmail.com> | 15164 | (accessible_keymaps_char_table, where_is_internal_2): Remove. |
| 15165 | 15165 | ||
| 15166 | * search.c (Vinhibit_changing_match_data, search_regs_1): New vars. | 15166 | * keymap.h (map_keymap_function_t): More informative prototype. |
| 15167 | (looking_at_1): Don't change search_regs and last_thing_searched | 15167 | |
| 15168 | if `inhibit-changing-match-data' is non-nil. | 15168 | 2007-07-10 Guanpeng Xu <herberteuler@hotmail.com> |
| 15169 | (string_match_1, search_buffer, set_search_regs): Likewise. | 15169 | |
| 15170 | (syms_of_search): Add Lisp level definition for | 15170 | * search.c (Vinhibit_changing_match_data, search_regs_1): New vars. |
| 15171 | `inhibit-changing-match-data' and set it to nil. | 15171 | (looking_at_1): Don't change search_regs and last_thing_searched |
| 15172 | (boyer_moore): If `inhibit-changing-match-data' is non-nil, compute | 15172 | if `inhibit-changing-match-data' is non-nil. |
| 15173 | start and end of the match, instead of using values in search_regs. | 15173 | (string_match_1, search_buffer, set_search_regs): Likewise. |
| 15174 | 15174 | (syms_of_search): Add Lisp level definition for | |
| 15175 | 2007-07-01 Stefan Monnier <monnier@iro.umontreal.ca> | 15175 | `inhibit-changing-match-data' and set it to nil. |
| 15176 | 15176 | (boyer_moore): If `inhibit-changing-match-data' is non-nil, compute | |
| 15177 | * minibuf.c (Fcompleting_read): New value `confirm-only' | 15177 | start and end of the match, instead of using values in search_regs. |
| 15178 | for `require-match'. | 15178 | |
| 15179 | 15179 | 2007-07-01 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 15180 | 2007-06-28 Stefan Monnier <monnier@iro.umontreal.ca> | 15180 | |
| 15181 | 15181 | * minibuf.c (Fcompleting_read): New value `confirm-only' | |
| 15182 | * fileio.c (Fdo_auto_save): Revert last patch installed unwillingly as | 15182 | for `require-match'. |
| 15183 | part of the 2007-06-27 change to syms_of_fileio. | 15183 | |
| 15184 | 15184 | 2007-06-28 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 15185 | 2007-06-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 15185 | |
| 15186 | 15186 | * fileio.c (Fdo_auto_save): Revert last patch installed unwillingly as | |
| 15187 | * macterm.c [USE_MAC_TSM] (mac_handle_text_input_event): | 15187 | part of the 2007-06-27 change to syms_of_fileio. |
| 15188 | Check WINDOWP before using XWINDOW. Consolidate return statements. | 15188 | |
| 15189 | 15189 | 2007-06-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
| 15190 | 2007-06-27 Richard Stallman <rms@gnu.org> | 15190 | |
| 15191 | 15191 | * macterm.c [USE_MAC_TSM] (mac_handle_text_input_event): | |
| 15192 | * fileio.c (syms_of_fileio) <after-insert-file-functions>: Doc fix. | 15192 | Check WINDOWP before using XWINDOW. Consolidate return statements. |
| 15193 | 15193 | ||
| 15194 | 2007-06-27 Juanma Barranquero <lekktu@gmail.com> | 15194 | 2007-06-27 Richard Stallman <rms@gnu.org> |
| 15195 | 15195 | ||
| 15196 | * buffer.c (syms_of_buffer) <selective-display>: Fix typo in docstring. | 15196 | * fileio.c (syms_of_fileio) <after-insert-file-functions>: Doc fix. |
| 15197 | 15197 | ||
| 15198 | 2007-06-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 15198 | 2007-06-27 Juanma Barranquero <lekktu@gmail.com> |
| 15199 | 15199 | ||
| 15200 | * gmalloc.c [HAVE_GTK_AND_PTHREAD]: Check this after including config.h. | 15200 | * buffer.c (syms_of_buffer) <selective-display>: Fix typo in docstring. |
| 15201 | (_aligned_blocks_mutex) [USE_PTHREAD]: New variable. | 15201 | |
| 15202 | (LOCK_ALIGNED_BLOCKS, UNLOCK_ALIGNED_BLOCKS): New macros. | 15202 | 2007-06-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 15203 | (_free_internal, memalign): Use them. | 15203 | |
| 15204 | (_malloc_mutex, _aligned_blocks_mutex) [USE_PTHREAD]: | 15204 | * gmalloc.c [HAVE_GTK_AND_PTHREAD]: Check this after including config.h. |
| 15205 | Initialize to PTHREAD_MUTEX_INITIALIZER. | 15205 | (_aligned_blocks_mutex) [USE_PTHREAD]: New variable. |
| 15206 | (malloc_initialize_1) [USE_PTHREAD]: Don't use recursive mutex. | 15206 | (LOCK_ALIGNED_BLOCKS, UNLOCK_ALIGNED_BLOCKS): New macros. |
| 15207 | (morecore_nolock): Rename from morecore. All uses changed. | 15207 | (_free_internal, memalign): Use them. |
| 15208 | Use only nolock versions of internal allocation functions. | 15208 | (_malloc_mutex, _aligned_blocks_mutex) [USE_PTHREAD]: |
| 15209 | (_malloc_internal_nolock, _realloc_internal_nolock) | 15209 | Initialize to PTHREAD_MUTEX_INITIALIZER. |
| 15210 | (_free_internal_nolock): New functions created from | 15210 | (malloc_initialize_1) [USE_PTHREAD]: Don't use recursive mutex. |
| 15211 | _malloc_internal, _realloc_internal, and _free_internal. | 15211 | (morecore_nolock): Rename from morecore. All uses changed. |
| 15212 | (_malloc_internal, _realloc_internal, _free_internal): Use them. | 15212 | Use only nolock versions of internal allocation functions. |
| 15213 | Copy hook value to automatic variable before its use. | 15213 | (_malloc_internal_nolock, _realloc_internal_nolock) |
| 15214 | (memalign): Copy hook value to automatic variable before its use. | 15214 | (_free_internal_nolock): New functions created from |
| 15215 | 15215 | _malloc_internal, _realloc_internal, and _free_internal. | |
| 15216 | 2007-06-26 Kenichi Handa <handa@m17n.org> | 15216 | (_malloc_internal, _realloc_internal, _free_internal): Use them. |
| 15217 | 15217 | Copy hook value to automatic variable before its use. | |
| 15218 | * coding.c (Ffind_operation_coding_system): Docstring improved. | 15218 | (memalign): Copy hook value to automatic variable before its use. |
| 15219 | (syms_of_coding): Docstring of `file-coding-system-alist' improved. | 15219 | |
| 15220 | 15220 | 2007-06-26 Kenichi Handa <handa@m17n.org> | |
| 15221 | 2007-06-25 David Kastrup <dak@gnu.org> | 15221 | |
| 15222 | 15222 | * coding.c (Ffind_operation_coding_system): Docstring improved. | |
| 15223 | * keymap.c (Fcurrent_active_maps): Add `position' argument. | 15223 | (syms_of_coding): Docstring of `file-coding-system-alist' improved. |
| 15224 | (Fwhere_is_internal): Adjust call to `current-active-maps' to | 15224 | |
| 15225 | cater for additional parameter. | 15225 | 2007-06-25 David Kastrup <dak@gnu.org> |
| 15226 | 15226 | ||
| 15227 | * keymap.h: Adjust number of parameters to `current-active-maps'. | 15227 | * keymap.c (Fcurrent_active_maps): Add `position' argument. |
| 15228 | 15228 | (Fwhere_is_internal): Adjust call to `current-active-maps' to | |
| 15229 | * doc.c (Fsubstitute_command_keys): Adjust call of | 15229 | cater for additional parameter. |
| 15230 | `current-active-maps'. | 15230 | |
| 15231 | 15231 | * keymap.h: Adjust number of parameters to `current-active-maps'. | |
| 15232 | 2007-06-25 David Kastrup <dak@gnu.org> | 15232 | |
| 15233 | 15233 | * doc.c (Fsubstitute_command_keys): Adjust call of | |
| 15234 | * callint.c (Fcall_interactively): Make the parsing of interactive | 15234 | `current-active-maps'. |
| 15235 | specs somewhat more readable. | 15235 | |
| 15236 | 15236 | 2007-06-25 David Kastrup <dak@gnu.org> | |
| 15237 | 2007-06-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 15237 | |
| 15238 | 15238 | * callint.c (Fcall_interactively): Make the parsing of interactive | |
| 15239 | * macterm.c (x_draw_fringe_bitmap) [MAC_OSX]: Extend fringe background | 15239 | specs somewhat more readable. |
| 15240 | to scroll bar gap also when bitmap fills fringe. Draw only foreground | 15240 | |
| 15241 | if extended background has already been filled. | 15241 | 2007-06-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 15242 | 15242 | ||
| 15243 | 2007-06-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 15243 | * macterm.c (x_draw_fringe_bitmap) [MAC_OSX]: Extend fringe background |
| 15244 | 15244 | to scroll bar gap also when bitmap fills fringe. Draw only foreground | |
| 15245 | * macgui.h (USE_CG_DRAWING): Don't require USE_ATSUI. | 15245 | if extended background has already been filled. |
| 15246 | (USE_MAC_TOOLBAR): Require USE_CG_DRAWING. | 15246 | |
| 15247 | 15247 | 2007-06-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
| 15248 | * macmenu.c (mac_dialog_modal_filter, Fx_popup_dialog) [MAC_OSX]: | 15248 | |
| 15249 | Put special treatment for Fmessage_box, Fyes_or_no_p, and Fy_or_n_p | 15249 | * macgui.h (USE_CG_DRAWING): Don't require USE_ATSUI. |
| 15250 | in #if 0 as it is not compatible with y-or-n-p-with-timeout. | 15250 | (USE_MAC_TOOLBAR): Require USE_CG_DRAWING. |
| 15251 | (timer_check) [TARGET_API_MAC_CARBON]: Add extern. | 15251 | |
| 15252 | [TARGET_API_MAC_CARBON] (mac_handle_dialog_event): Use QuitEventLoop | 15252 | * macmenu.c (mac_dialog_modal_filter, Fx_popup_dialog) [MAC_OSX]: |
| 15253 | instead of QuitAppModalLoopForWindow. Consolidate QuitEventLoop calls. | 15253 | Put special treatment for Fmessage_box, Fyes_or_no_p, and Fy_or_n_p |
| 15254 | (pop_down_dialog) [TARGET_API_MAC_CARBON]: New function. | 15254 | in #if 0 as it is not compatible with y-or-n-p-with-timeout. |
| 15255 | [TARGET_API_MAC_CARBON] (create_and_show_dialog): Use it for unwind. | 15255 | (timer_check) [TARGET_API_MAC_CARBON]: Add extern. |
| 15256 | Run timers during dialog popup. | 15256 | [TARGET_API_MAC_CARBON] (mac_handle_dialog_event): Use QuitEventLoop |
| 15257 | (Fmenu_or_popup_active_p) [TARGET_API_MAC_CARBON]: Use popup_activated. | 15257 | instead of QuitAppModalLoopForWindow. Consolidate QuitEventLoop calls. |
| 15258 | 15258 | (pop_down_dialog) [TARGET_API_MAC_CARBON]: New function. | |
| 15259 | 2007-06-21 Jason Rumney <jasonr@gnu.org> | 15259 | [TARGET_API_MAC_CARBON] (create_and_show_dialog): Use it for unwind. |
| 15260 | 15260 | Run timers during dialog popup. | |
| 15261 | * image.c (convert_mono_to_color_image): Swap fore and background. | 15261 | (Fmenu_or_popup_active_p) [TARGET_API_MAC_CARBON]: Use popup_activated. |
| 15262 | 15262 | ||
| 15263 | 2007-06-20 Jason Rumney <jasonr@gnu.org> | 15263 | 2007-06-21 Jason Rumney <jasonr@gnu.org> |
| 15264 | 15264 | ||
| 15265 | * w32bdf.c (w32_BDF_to_x_font): Unmap memory when finished. | 15265 | * image.c (convert_mono_to_color_image): Swap fore and background. |
| 15266 | (w32_free_bdf_font): Unmap memory not handle. | 15266 | |
| 15267 | 15267 | 2007-06-20 Jason Rumney <jasonr@gnu.org> | |
| 15268 | 2007-06-20 Sam Steingold <sds@gnu.org> | 15268 | |
| 15269 | 15269 | * w32bdf.c (w32_BDF_to_x_font): Unmap memory when finished. | |
| 15270 | * gmalloc.c (__morecore): Fix the declaration to comply with the | 15270 | (w32_free_bdf_font): Unmap memory not handle. |
| 15271 | definition. | 15271 | |
| 15272 | 15272 | 2007-06-20 Sam Steingold <sds@gnu.org> | |
| 15273 | 2007-06-20 Juanma Barranquero <lekktu@gmail.com> | 15273 | |
| 15274 | 15274 | * gmalloc.c (__morecore): Fix the declaration to comply with the | |
| 15275 | * w32term.c (w32_delete_display): Remove leftover declaration. | 15275 | definition. |
| 15276 | (w32_define_cursor, w32_initialize): Make static. | 15276 | |
| 15277 | 15277 | 2007-06-20 Juanma Barranquero <lekktu@gmail.com> | |
| 15278 | * w32.c (_wsa_errlist): Fix typo in error message. | 15278 | |
| 15279 | (init_environment): Ignore any environment variable from the | 15279 | * w32term.c (w32_delete_display): Remove leftover declaration. |
| 15280 | registry having a null value. | 15280 | (w32_define_cursor, w32_initialize): Make static. |
| 15281 | 15281 | ||
| 15282 | 2007-06-20 Glenn Morris <rgm@gnu.org> | 15282 | * w32.c (_wsa_errlist): Fix typo in error message. |
| 15283 | 15283 | (init_environment): Ignore any environment variable from the | |
| 15284 | * Makefile.in (LIBGIF): Default to -lgif. | 15284 | registry having a null value. |
| 15285 | 15285 | ||
| 15286 | 2007-06-17 Jason Rumney <jasonr@gnu.org> | 15286 | 2007-06-20 Glenn Morris <rgm@gnu.org> |
| 15287 | 15287 | ||
| 15288 | * w32menu.c (add_menu_item): Don't use multibyte string functions on | 15288 | * Makefile.in (LIBGIF): Default to -lgif. |
| 15289 | unicode strings. | 15289 | |
| 15290 | 15290 | 2007-06-17 Jason Rumney <jasonr@gnu.org> | |
| 15291 | 2007-06-16 Juanma Barranquero <lekktu@gmail.com> | 15291 | |
| 15292 | 15292 | * w32menu.c (add_menu_item): Don't use multibyte string functions on | |
| 15293 | * xdisp.c (syms_of_xdisp) <auto-resize-tool-bars>: | 15293 | unicode strings. |
| 15294 | Fix typo in docstring. | 15294 | |
| 15295 | 15295 | 2007-06-16 Juanma Barranquero <lekktu@gmail.com> | |
| 15296 | 2007-06-16 Eli Zaretskii <eliz@gnu.org> | 15296 | |
| 15297 | 15297 | * xdisp.c (syms_of_xdisp) <auto-resize-tool-bars>: | |
| 15298 | * w32menu.c (add_menu_item): Escape `&' characters in menu items | 15298 | Fix typo in docstring. |
| 15299 | and their keybindings. | 15299 | |
| 15300 | 15300 | 2007-06-16 Eli Zaretskii <eliz@gnu.org> | |
| 15301 | 2007-06-15 Chong Yidong <cyd@stupidchicken.com> | 15301 | |
| 15302 | 15302 | * w32menu.c (add_menu_item): Escape `&' characters in menu items | |
| 15303 | * composite.c (update_compositions): Fix last fix. | 15303 | and their keybindings. |
| 15304 | 15304 | ||
| 15305 | 2007-06-14 Jason Rumney <jasonr@gnu.org> | 15305 | 2007-06-15 Chong Yidong <cyd@stupidchicken.com> |
| 15306 | 15306 | ||
| 15307 | * w32.c (get_process_times_fn): New function pointer. | 15307 | * composite.c (update_compositions): Fix last fix. |
| 15308 | (globals_of_w32): Intialize it if present in kernel32.dll. | 15308 | |
| 15309 | (w32_get_internal_run_time): New function. | 15309 | 2007-06-14 Jason Rumney <jasonr@gnu.org> |
| 15310 | 15310 | ||
| 15311 | * editfns.c (Fget_internal_run_time) [WINDOWSNT]: Use it. | 15311 | * w32.c (get_process_times_fn): New function pointer. |
| 15312 | 15312 | (globals_of_w32): Intialize it if present in kernel32.dll. | |
| 15313 | 2007-06-14 Kenichi Handa <handa@etlken.m17n.org> | 15313 | (w32_get_internal_run_time): New function. |
| 15314 | 15314 | ||
| 15315 | * composite.c (update_compositions): Check the validness of | 15315 | * editfns.c (Fget_internal_run_time) [WINDOWSNT]: Use it. |
| 15316 | compositions. | 15316 | |
| 15317 | 15317 | 2007-06-14 Kenichi Handa <handa@etlken.m17n.org> | |
| 15318 | 2007-06-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 15318 | |
| 15319 | 15319 | * composite.c (update_compositions): Check the validness of | |
| 15320 | * frame.h (struct frame) [MAC_OS]: New member external_tool_bar. | 15320 | compositions. |
| 15321 | (FRAME_EXTERNAL_TOOL_BAR) [MAC_OS]: Use it. | 15321 | |
| 15322 | 15322 | 2007-06-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
| 15323 | * macfns.c (mac_window) [USE_MAC_TOOLBAR]: Set toolbar_win_gravity. | 15323 | |
| 15324 | (x_set_tool_bar_lines) [USE_MAC_TOOLBAR]: Set FRAME_EXTERNAL_TOOL_BAR. | 15324 | * frame.h (struct frame) [MAC_OS]: New member external_tool_bar. |
| 15325 | 15325 | (FRAME_EXTERNAL_TOOL_BAR) [MAC_OS]: Use it. | |
| 15326 | * macgui.h (USE_MAC_TOOLBAR): New define. | 15326 | |
| 15327 | 15327 | * macfns.c (mac_window) [USE_MAC_TOOLBAR]: Set toolbar_win_gravity. | |
| 15328 | * macmenu.c [TARGET_API_MAC_CARBON] (menu_target_item_handler): | 15328 | (x_set_tool_bar_lines) [USE_MAC_TOOLBAR]: Set FRAME_EXTERNAL_TOOL_BAR. |
| 15329 | Return immediately unless popup is activated. | 15329 | |
| 15330 | 15330 | * macgui.h (USE_MAC_TOOLBAR): New define. | |
| 15331 | * macterm.c (x_draw_fringe_bitmap) [MAC_OSX]: Extend fringe | 15331 | |
| 15332 | background to scroll bar gap. | 15332 | * macmenu.c [TARGET_API_MAC_CARBON] (menu_target_item_handler): |
| 15333 | (x_scroll_bar_create) [MAC_OSX]: Set bar->fringe_extended_p. | 15333 | Return immediately unless popup is activated. |
| 15334 | (XTset_vertical_scroll_bar) [MAC_OSX]: Put leftmost/rightmost | 15334 | |
| 15335 | scroll bars on frame edge. Check fringe background extension. | 15335 | * macterm.c (x_draw_fringe_bitmap) [MAC_OSX]: Extend fringe |
| 15336 | Don't clear extended fringe background area. | 15336 | background to scroll bar gap. |
| 15337 | (TOOLBAR_IDENTIFIER, TOOLBAR_ICON_ITEM_IDENTIFIER) | 15337 | (x_scroll_bar_create) [MAC_OSX]: Set bar->fringe_extended_p. |
| 15338 | (TOOLBAR_ITEM_COMMAND_ID_OFFSET, TOOLBAR_ITEM_COMMAND_ID_P) | 15338 | (XTset_vertical_scroll_bar) [MAC_OSX]: Put leftmost/rightmost |
| 15339 | (TOOLBAR_ITEM_COMMAND_ID_VALUE, TOOLBAR_ITEM_MAKE_COMMAND_ID): | 15339 | scroll bars on frame edge. Check fringe background extension. |
| 15340 | [USE_MAC_TOOLBAR]: New macros. | 15340 | Don't clear extended fringe background area. |
| 15341 | (mac_move_window_with_gravity, mac_get_window_origin_with_gravity) | 15341 | (TOOLBAR_IDENTIFIER, TOOLBAR_ICON_ITEM_IDENTIFIER) |
| 15342 | (mac_handle_toolbar_event, mac_image_spec_to_cg_image) | 15342 | (TOOLBAR_ITEM_COMMAND_ID_OFFSET, TOOLBAR_ITEM_COMMAND_ID_P) |
| 15343 | (mac_create_frame_tool_bar, update_frame_tool_bar, free_frame_tool_bar) | 15343 | (TOOLBAR_ITEM_COMMAND_ID_VALUE, TOOLBAR_ITEM_MAKE_COMMAND_ID): |
| 15344 | (mac_tool_bar_note_mouse_movement, mac_handle_toolbar_command_event) | 15344 | [USE_MAC_TOOLBAR]: New macros. |
| 15345 | [USE_MAC_TOOLBAR]: New functions. | 15345 | (mac_move_window_with_gravity, mac_get_window_origin_with_gravity) |
| 15346 | (mac_handle_window_event) [USE_MAC_TOOLBAR]: Reposition window | 15346 | (mac_handle_toolbar_event, mac_image_spec_to_cg_image) |
| 15347 | manually if previous repositioning has failed. | 15347 | (mac_create_frame_tool_bar, update_frame_tool_bar, free_frame_tool_bar) |
| 15348 | (mac_handle_keyboard_event): Use precomputed event kind. | 15348 | (mac_tool_bar_note_mouse_movement, mac_handle_toolbar_command_event) |
| 15349 | (XTread_socket) [USE_MAC_TOOLBAR]: Handle click in structure region | 15349 | [USE_MAC_TOOLBAR]: New functions. |
| 15350 | as tool bar item click. Handle mouse movement over tool bar items. | 15350 | (mac_handle_window_event) [USE_MAC_TOOLBAR]: Reposition window |
| 15351 | 15351 | manually if previous repositioning has failed. | |
| 15352 | * macterm.h (struct mac_output) [USE_MAC_TOOLBAR]: New member | 15352 | (mac_handle_keyboard_event): Use precomputed event kind. |
| 15353 | toolbar_win_gravity. | 15353 | (XTread_socket) [USE_MAC_TOOLBAR]: Handle click in structure region |
| 15354 | (struct scroll_bar) [MAC_OSX]: New member fringe_extended_p. | 15354 | as tool bar item click. Handle mouse movement over tool bar items. |
| 15355 | (update_frame_tool_bar, free_frame_tool_bar) [USE_MAC_TOOLBAR]: | 15355 | |
| 15356 | Add externs. | 15356 | * macterm.h (struct mac_output) [USE_MAC_TOOLBAR]: New member |
| 15357 | 15357 | toolbar_win_gravity. | |
| 15358 | * xdisp.c (update_tool_bar, redisplay_tool_bar, redisplay_window) | 15358 | (struct scroll_bar) [MAC_OSX]: New member fringe_extended_p. |
| 15359 | [USE_MAC_TOOLBAR]: Sync with GTK+ tool bar display. | 15359 | (update_frame_tool_bar, free_frame_tool_bar) [USE_MAC_TOOLBAR]: |
| 15360 | 15360 | Add externs. | |
| 15361 | 2007-06-14 Chong Yidong <cyd@stupidchicken.com> | 15361 | |
| 15362 | 15362 | * xdisp.c (update_tool_bar, redisplay_tool_bar, redisplay_window) | |
| 15363 | * image.c (search_image_cache): Remove unused variable. | 15363 | [USE_MAC_TOOLBAR]: Sync with GTK+ tool bar display. |
| 15364 | 15364 | ||
| 15365 | 2007-06-13 Chong Yidong <cyd@stupidchicken.com> | 15365 | 2007-06-14 Chong Yidong <cyd@stupidchicken.com> |
| 15366 | 15366 | ||
| 15367 | * xfns.c, xmenu.c: Link to xaw3d if available. | 15367 | * image.c (search_image_cache): Remove unused variable. |
| 15368 | 15368 | ||
| 15369 | 2007-06-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 15369 | 2007-06-13 Chong Yidong <cyd@stupidchicken.com> |
| 15370 | 15370 | ||
| 15371 | * dispextern.h (struct image) [HAVE_WINDOW_SYSTEM]: New members | 15371 | * xfns.c, xmenu.c: Link to xaw3d if available. |
| 15372 | frame_foreground and frame_background. | 15372 | |
| 15373 | 15373 | 2007-06-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
| 15374 | * image.c (lookup_image): Save frame foreground and background colors. | 15374 | |
| 15375 | (search_image_cache): Check if saved and current frame colors match. | 15375 | * dispextern.h (struct image) [HAVE_WINDOW_SYSTEM]: New members |
| 15376 | 15376 | frame_foreground and frame_background. | |
| 15377 | 2007-06-12 Stefan Monnier <monnier@iro.umontreal.ca> | 15377 | |
| 15378 | 15378 | * image.c (lookup_image): Save frame foreground and background colors. | |
| 15379 | * regex.c (regex_compile): Remove the `regnum' counter. | 15379 | (search_image_cache): Check if saved and current frame colors match. |
| 15380 | Use bufp->re_nsub instead. Add support for \(?N:RE\). | 15380 | |
| 15381 | 15381 | 2007-06-12 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 15382 | 2007-06-11 Stefan Monnier <monnier@iro.umontreal.ca> | 15382 | |
| 15383 | 15383 | * regex.c (regex_compile): Remove the `regnum' counter. | |
| 15384 | * term.c: Include intervals.h to declare Fget_text_property. | 15384 | Use bufp->re_nsub instead. Add support for \(?N:RE\). |
| 15385 | 15385 | ||
| 15386 | 2007-06-10 Jason Rumney <jasonr@gnu.org> | 15386 | 2007-06-11 Stefan Monnier <monnier@iro.umontreal.ca> |
| 15387 | 15387 | ||
| 15388 | * w32fns.c (Fx_file_dialog): Take size from struct not pointer. | 15388 | * term.c: Include intervals.h to declare Fget_text_property. |
| 15389 | 15389 | ||
| 15390 | 2007-06-08 Juanma Barranquero <lekktu@gmail.com> | 15390 | 2007-06-10 Jason Rumney <jasonr@gnu.org> |
| 15391 | 15391 | ||
| 15392 | * callint.c (Fcall_interactively): | 15392 | * w32fns.c (Fx_file_dialog): Take size from struct not pointer. |
| 15393 | * editfns.c (Fdelete_and_extract_region): | 15393 | |
| 15394 | * fileio.c (Fread_file_name): | 15394 | 2007-06-08 Juanma Barranquero <lekktu@gmail.com> |
| 15395 | * fns.c (Fmapconcat): | 15395 | |
| 15396 | * keyboard.c (cmd_error_internal): | 15396 | * callint.c (Fcall_interactively): |
| 15397 | * keymap.c (Fkey_description): | 15397 | * editfns.c (Fdelete_and_extract_region): |
| 15398 | * lread.c (openp): | 15398 | * fileio.c (Fread_file_name): |
| 15399 | * minibuf.c (read_minibuf): | 15399 | * fns.c (Fmapconcat): |
| 15400 | * search.c (wordify): | 15400 | * keyboard.c (cmd_error_internal): |
| 15401 | * sunfns.c (sel_read): | 15401 | * keymap.c (Fkey_description): |
| 15402 | * xdisp.c (Fformat_mode_line, syms_of_xdisp): | 15402 | * lread.c (openp): |
| 15403 | * xfns.c (x_default_scroll_bar_color_parameter): | 15403 | * minibuf.c (read_minibuf): |
| 15404 | * xmenu.c (menu_help_callback): | 15404 | * search.c (wordify): |
| 15405 | * xselect.c (Fx_get_atom_name): | 15405 | * sunfns.c (sel_read): |
| 15406 | * xterm.c (x_term_init): Use empty_unibyte_string. | 15406 | * xdisp.c (Fformat_mode_line, syms_of_xdisp): |
| 15407 | 15407 | * xfns.c (x_default_scroll_bar_color_parameter): | |
| 15408 | 2007-06-08 Dmitry Antipov <dmantipov@yandex.ru> (tiny change) | 15408 | * xmenu.c (menu_help_callback): |
| 15409 | 15409 | * xselect.c (Fx_get_atom_name): | |
| 15410 | * alloc.c (init_strings): Initialize canonical empty strings. | 15410 | * xterm.c (x_term_init): Use empty_unibyte_string. |
| 15411 | (make_uninit_string, make_uninit_multibyte_string): Return appropriate | 15411 | |
| 15412 | canonical empty string when the requested size is 0. | 15412 | 2007-06-08 Dmitry Antipov <dmantipov@yandex.ru> (tiny change) |
| 15413 | 15413 | ||
| 15414 | * emacs.c (empty_unibyte_string): Rename from empty_string. | 15414 | * alloc.c (init_strings): Initialize canonical empty strings. |
| 15415 | (empty_multibyte_string): New canonical empty string. | 15415 | (make_uninit_string, make_uninit_multibyte_string): Return appropriate |
| 15416 | (syms_of_emacs): Don't initialize empty_string. | 15416 | canonical empty string when the requested size is 0. |
| 15417 | 15417 | ||
| 15418 | * lisp.h (STRING_SET_UNIBYTE): Return the canonical empty unibyte | 15418 | * emacs.c (empty_unibyte_string): Rename from empty_string. |
| 15419 | string, if appropriate. | 15419 | (empty_multibyte_string): New canonical empty string. |
| 15420 | (empty_unibyte_string, empty_multibyte_string): New externs. | 15420 | (syms_of_emacs): Don't initialize empty_string. |
| 15421 | (empty_string): Remove extern. | 15421 | |
| 15422 | 15422 | * lisp.h (STRING_SET_UNIBYTE): Return the canonical empty unibyte | |
| 15423 | * lread.c (syms_of_lread): Use empty_unibyte_string. | 15423 | string, if appropriate. |
| 15424 | 15424 | (empty_unibyte_string, empty_multibyte_string): New externs. | |
| 15425 | 2007-06-07 Jason Rumney <jasonr@gnu.org> | 15425 | (empty_string): Remove extern. |
| 15426 | 15426 | ||
| 15427 | * s/ms-w32.h: Don't define HAVE_TZNAME. | 15427 | * lread.c (syms_of_lread): Use empty_unibyte_string. |
| 15428 | 15428 | ||
| 15429 | * editfns.c (Fcurrent_time_zone): Remove hack for Japanese Windows. | 15429 | 2007-06-07 Jason Rumney <jasonr@gnu.org> |
| 15430 | 15430 | ||
| 15431 | 2007-06-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 15431 | * s/ms-w32.h: Don't define HAVE_TZNAME. |
| 15432 | 15432 | ||
| 15433 | * mac.c (xrm_get_preference_database): Remove BLOCK_INPUT. | 15433 | * editfns.c (Fcurrent_time_zone): Remove hack for Japanese Windows. |
| 15434 | 15434 | ||
| 15435 | * macfns.c (mac_get_window_bounds): Move extern to macterm.h. | 15435 | 2007-06-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 15436 | (compute_tip_xy) [TARGET_API_MAC_CARBON]: Use GetGlobalMouse. | 15436 | |
| 15437 | 15437 | * mac.c (xrm_get_preference_database): Remove BLOCK_INPUT. | |
| 15438 | * macmenu.c [TARGET_API_MAC_CARBON] (menu_target_item_handler): | 15438 | |
| 15439 | Don't call next handler. | 15439 | * macfns.c (mac_get_window_bounds): Move extern to macterm.h. |
| 15440 | [TARGET_API_MAC_CARBON] (install_menu_target_item_handler): | 15440 | (compute_tip_xy) [TARGET_API_MAC_CARBON]: Use GetGlobalMouse. |
| 15441 | Remove argument. Install handler to application. | 15441 | |
| 15442 | (set_frame_menubar): Don't change deep_p. | 15442 | * macmenu.c [TARGET_API_MAC_CARBON] (menu_target_item_handler): |
| 15443 | (mac_menu_show): Use FRAME_OUTER_TO_INNER_DIFF_X and | 15443 | Don't call next handler. |
| 15444 | FRAME_OUTER_TO_INNER_DIFF_Y. | 15444 | [TARGET_API_MAC_CARBON] (install_menu_target_item_handler): |
| 15445 | (DIALOG_BUTTON_COMMAND_ID_OFFSET, DIALOG_BUTTON_COMMAND_ID_P) | 15445 | Remove argument. Install handler to application. |
| 15446 | (DIALOG_BUTTON_COMMAND_ID_VALUE, DIALOG_BUTTON_MAKE_COMMAND_ID) | 15446 | (set_frame_menubar): Don't change deep_p. |
| 15447 | [HAVE_DIALOGS]: New macros. | 15447 | (mac_menu_show): Use FRAME_OUTER_TO_INNER_DIFF_X and |
| 15448 | [HAVE_DIALOGS] (mac_handle_dialog_event, create_and_show_dialog): | 15448 | FRAME_OUTER_TO_INNER_DIFF_Y. |
| 15449 | Use them. | 15449 | (DIALOG_BUTTON_COMMAND_ID_OFFSET, DIALOG_BUTTON_COMMAND_ID_P) |
| 15450 | (fill_menubar) [TARGET_API_MAC_CARBON]: Use CFString. | 15450 | (DIALOG_BUTTON_COMMAND_ID_VALUE, DIALOG_BUTTON_MAKE_COMMAND_ID) |
| 15451 | 15451 | [HAVE_DIALOGS]: New macros. | |
| 15452 | * macselect.c [MAC_OSX] (install_service_handler): Rename from | 15452 | [HAVE_DIALOGS] (mac_handle_dialog_event, create_and_show_dialog): |
| 15453 | init_service_handler. All callers changed. Return OSStatus value. | 15453 | Use them. |
| 15454 | 15454 | (fill_menubar) [TARGET_API_MAC_CARBON]: Use CFString. | |
| 15455 | * macterm.c (mac_begin_cg_clip): New arg F. Call SetPortWindowPort. | 15455 | |
| 15456 | All callers changed so as not to call SetPortWindowPort. | 15456 | * macselect.c [MAC_OSX] (install_service_handler): Rename from |
| 15457 | (mac_begin_cg_clip) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw. | 15457 | init_service_handler. All callers changed. Return OSStatus value. |
| 15458 | (mac_draw_image_string_atsui) [USE_ATSUI]: New function created from | 15458 | |
| 15459 | mac_draw_string_common. | 15459 | * macterm.c (mac_begin_cg_clip): New arg F. Call SetPortWindowPort. |
| 15460 | (mac_draw_image_string_qd): Likewise. | 15460 | All callers changed so as not to call SetPortWindowPort. |
| 15461 | (mac_draw_string_common): Use them. Add INLINE. | 15461 | (mac_begin_cg_clip) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw. |
| 15462 | (XTmouse_position, x_scroll_bar_report_motion) [TARGET_API_MAC_CARBON]: | 15462 | (mac_draw_image_string_atsui) [USE_ATSUI]: New function created from |
| 15463 | Use FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y, and | 15463 | mac_draw_string_common. |
| 15464 | GetGlobalMouse. | 15464 | (mac_draw_image_string_qd): Likewise. |
| 15465 | (x_set_mouse_pixel_position) [MAC_OSX]: Use FRAME_OUTER_TO_INNER_DIFF_X | 15465 | (mac_draw_string_common): Use them. Add INLINE. |
| 15466 | and FRAME_OUTER_TO_INNER_DIFF_Y. | 15466 | (XTmouse_position, x_scroll_bar_report_motion) [TARGET_API_MAC_CARBON]: |
| 15467 | [TARGET_API_MAC_CARBON] (mac_handle_mouse_event): Likewise. | 15467 | Use FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y, and |
| 15468 | [USE_MAC_TSM] (mac_handle_text_input_event): Likewise. | 15468 | GetGlobalMouse. |
| 15469 | (x_make_frame_visible) [TARGET_API_MAC_CARBON]: Move code for | 15469 | (x_set_mouse_pixel_position) [MAC_OSX]: Use FRAME_OUTER_TO_INNER_DIFF_X |
| 15470 | repositioning window to mac_handle_window_event. | 15470 | and FRAME_OUTER_TO_INNER_DIFF_Y. |
| 15471 | (x_make_frame_invisible) [TARGET_API_MAC_CARBON]: Move code for | 15471 | [TARGET_API_MAC_CARBON] (mac_handle_mouse_event): Likewise. |
| 15472 | saving window location to mac_handle_window_event | 15472 | [USE_MAC_TSM] (mac_handle_text_input_event): Likewise. |
| 15473 | [USE_MAC_FONT_PANEL] (mac_show_hide_font_panel): Install handler here. | 15473 | (x_make_frame_visible) [TARGET_API_MAC_CARBON]: Move code for |
| 15474 | (install_menu_target_item_handler): Remove argument in extern. | 15474 | repositioning window to mac_handle_window_event. |
| 15475 | [TARGET_API_MAC_CARBON] (mac_event_to_emacs_modifiers): | 15475 | (x_make_frame_invisible) [TARGET_API_MAC_CARBON]: Move code for |
| 15476 | Also accept command events. | 15476 | saving window location to mac_handle_window_event |
| 15477 | (do_keystroke): New function created from XTread_socket. | 15477 | [USE_MAC_FONT_PANEL] (mac_show_hide_font_panel): Install handler here. |
| 15478 | (init_command_handler): Remove functions. | 15478 | (install_menu_target_item_handler): Remove argument in extern. |
| 15479 | [TARGET_API_MAC_CARBON] (mac_handle_window_event): Reposition window | 15479 | [TARGET_API_MAC_CARBON] (mac_event_to_emacs_modifiers): |
| 15480 | and save window location by kEventWindowShowing and kEventWindowHiding | 15480 | Also accept command events. |
| 15481 | handlers here. Don't call next handler for window state change and | 15481 | (do_keystroke): New function created from XTread_socket. |
| 15482 | focus events. | 15482 | (init_command_handler): Remove functions. |
| 15483 | (mac_handle_application_event, mac_handle_keyboard_event) | 15483 | [TARGET_API_MAC_CARBON] (mac_handle_window_event): Reposition window |
| 15484 | [TARGET_API_MAC_CARBON]: New functions. | 15484 | and save window location by kEventWindowShowing and kEventWindowHiding |
| 15485 | (install_window_handler) [TARGET_API_MAC_CARBON]: Register handlers for | 15485 | handlers here. Don't call next handler for window state change and |
| 15486 | kEventWindowShowing and kEventWindowHiding events. Move installation | 15486 | focus events. |
| 15487 | of mouse, font, text input and menu target item handlers to | 15487 | (mac_handle_application_event, mac_handle_keyboard_event) |
| 15488 | install_application_handler. | 15488 | [TARGET_API_MAC_CARBON]: New functions. |
| 15489 | (install_application_handler) [TARGET_API_MAC_CARBON]: New function. | 15489 | (install_window_handler) [TARGET_API_MAC_CARBON]: Register handlers for |
| 15490 | (mac_handle_cg_display_reconfig) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | 15490 | kEventWindowShowing and kEventWindowHiding events. Move installation |
| 15491 | New function. | 15491 | of mouse, font, text input and menu target item handlers to |
| 15492 | (init_dm_notification_handler) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | 15492 | install_application_handler. |
| 15493 | Register it. | 15493 | (install_application_handler) [TARGET_API_MAC_CARBON]: New function. |
| 15494 | (XTread_socket) [TARGET_API_MAC_CARBON]: | 15494 | (mac_handle_cg_display_reconfig) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: |
| 15495 | Consolidate SendEventToEventTarget calls. | 15495 | New function. |
| 15496 | Use FRAME_OUTER_TO_INNER_DIFF_X and FRAME_OUTER_TO_INNER_DIFF_Y. | 15496 | (init_dm_notification_handler) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: |
| 15497 | Move application activation handler to mac_handle_application_event. | 15497 | Register it. |
| 15498 | Move keyboard handler to mac_handle_keyboard_event. | 15498 | (XTread_socket) [TARGET_API_MAC_CARBON]: |
| 15499 | (XTread_socket) [!TARGET_API_MAC_CARBON]: Use do_keystroke. | 15499 | Consolidate SendEventToEventTarget calls. |
| 15500 | (mac_initialize) [TARGET_API_MAC_CARBON]: Don't call | 15500 | Use FRAME_OUTER_TO_INNER_DIFF_X and FRAME_OUTER_TO_INNER_DIFF_Y. |
| 15501 | init_command_handler. Call install_application_handler. | 15501 | Move application activation handler to mac_handle_application_event. |
| 15502 | 15502 | Move keyboard handler to mac_handle_keyboard_event. | |
| 15503 | * macterm.h (mac_get_window_bounds): Move extern from macfns.c. | 15503 | (XTread_socket) [!TARGET_API_MAC_CARBON]: Use do_keystroke. |
| 15504 | (FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y): New macros. | 15504 | (mac_initialize) [TARGET_API_MAC_CARBON]: Don't call |
| 15505 | 15505 | init_command_handler. Call install_application_handler. | |
| 15506 | 2007-06-07 Glenn Morris <rgm@gnu.org> | 15506 | |
| 15507 | 15507 | * macterm.h (mac_get_window_bounds): Move extern from macfns.c. | |
| 15508 | * emacs.c (main): Use `emacs-copyright' in --version output. | 15508 | (FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y): New macros. |
| 15509 | 15509 | ||
| 15510 | 2007-06-06 Chong Yidong <cyd@stupidchicken.com> | 15510 | 2007-06-07 Glenn Morris <rgm@gnu.org> |
| 15511 | 15511 | ||
| 15512 | * image.c (xpm_load): Remove spurious call to xpm_init_color_cache. | 15512 | * emacs.c (main): Use `emacs-copyright' in --version output. |
| 15513 | 15513 | ||
| 15514 | 2007-06-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 15514 | 2007-06-06 Chong Yidong <cyd@stupidchicken.com> |
| 15515 | 15515 | ||
| 15516 | * macfns.c (mac_window): Replace WindowPtr with WindowRef. | 15516 | * image.c (xpm_load): Remove spurious call to xpm_init_color_cache. |
| 15517 | 15517 | ||
| 15518 | * macgui.h: Replace WindowPtr with WindowRef. | 15518 | 2007-06-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 15519 | 15519 | ||
| 15520 | * macmenu.c: Replace MenuHandle and GetMenuHandle with MenuRef and | 15520 | * macfns.c (mac_window): Replace WindowPtr with WindowRef. |
| 15521 | GetMenuRef, respectively. Replace WindowPtr with WindowRef. | 15521 | |
| 15522 | Replace ControlHandle with ControlRef. | 15522 | * macgui.h: Replace WindowPtr with WindowRef. |
| 15523 | (install_menu_quit_handler): Rename arg MENU_HANDLE to ROOT_MENU. | 15523 | |
| 15524 | 15524 | * macmenu.c: Replace MenuHandle and GetMenuHandle with MenuRef and | |
| 15525 | * macterm.c: Replace MenuHandle and GetMenuHandle with MenuRef and | 15525 | GetMenuRef, respectively. Replace WindowPtr with WindowRef. |
| 15526 | GetMenuRef, respectively. Replace WindowPtr with WindowRef. | 15526 | Replace ControlHandle with ControlRef. |
| 15527 | Replace ControlHandle with ControlRef. | 15527 | (install_menu_quit_handler): Rename arg MENU_HANDLE to ROOT_MENU. |
| 15528 | (USE_CARBON_EVENTS): Remove. Use TARGET_API_MAC_CARBON instead. | 15528 | |
| 15529 | [MAC_OS8] (do_get_menus): Rename variable `menu_handle' to `menu'. | 15529 | * macterm.c: Replace MenuHandle and GetMenuHandle with MenuRef and |
| 15530 | 15530 | GetMenuRef, respectively. Replace WindowPtr with WindowRef. | |
| 15531 | * macterm.h (struct scroll_bar): Rename member control_handle_low | 15531 | Replace ControlHandle with ControlRef. |
| 15532 | and control_handle_high to control_ref_low and control_ref_high. | 15532 | (USE_CARBON_EVENTS): Remove. Use TARGET_API_MAC_CARBON instead. |
| 15533 | All uses changed. | 15533 | [MAC_OS8] (do_get_menus): Rename variable `menu_handle' to `menu'. |
| 15534 | (SCROLL_BAR_CONTROL_REF, SET_SCROLL_BAR_CONTROL_REF): Rename from | 15534 | |
| 15535 | SCROLL_BAR_CONTROL_HANDLE and SET_SCROLL_BAR_CONTROL_HANDLE, | 15535 | * macterm.h (struct scroll_bar): Rename member control_handle_low |
| 15536 | respectively. All uses changed. | 15536 | and control_handle_high to control_ref_low and control_ref_high. |
| 15537 | (XCreatePixmap, XCreatePixmapFromBitmapData, XSetWindowBackground) | 15537 | All uses changed. |
| 15538 | (install_window_handler, remove_window_handler): Replace WindowPtr | 15538 | (SCROLL_BAR_CONTROL_REF, SET_SCROLL_BAR_CONTROL_REF): Rename from |
| 15539 | with WindowRef in externs. | 15539 | SCROLL_BAR_CONTROL_HANDLE and SET_SCROLL_BAR_CONTROL_HANDLE, |
| 15540 | 15540 | respectively. All uses changed. | |
| 15541 | 2007-06-05 Juanma Barranquero <lekktu@gmail.com> | 15541 | (XCreatePixmap, XCreatePixmapFromBitmapData, XSetWindowBackground) |
| 15542 | 15542 | (install_window_handler, remove_window_handler): Replace WindowPtr | |
| 15543 | * xfaces.c (Finternal_lisp_face_p): Signal error for face alias loops. | 15543 | with WindowRef in externs. |
| 15544 | 15544 | ||
| 15545 | 2007-06-03 Nick Roberts <nickrob@snap.net.nz> | 15545 | 2007-06-05 Juanma Barranquero <lekktu@gmail.com> |
| 15546 | 15546 | ||
| 15547 | * keyboard.c (discard_mouse_events): Add GPM_CLICK_EVENT case. | 15547 | * xfaces.c (Finternal_lisp_face_p): Signal error for face alias loops. |
| 15548 | 15548 | ||
| 15549 | * frame.c (Fmouse_position, Fmouse_pixel_position): | 15549 | 2007-06-03 Nick Roberts <nickrob@snap.net.nz> |
| 15550 | Condition on HAVE_GPM too. | 15550 | |
| 15551 | 15551 | * keyboard.c (discard_mouse_events): Add GPM_CLICK_EVENT case. | |
| 15552 | * term.c (term_mouse_highlight): Remove unused variables. | 15552 | |
| 15553 | (Fterm_open_connection): Set gpm_zerobased to 1. | 15553 | * frame.c (Fmouse_position, Fmouse_pixel_position): |
| 15554 | (term_mouse_movement, term_mouse_click, handle_one_term_event): | 15554 | Condition on HAVE_GPM too. |
| 15555 | Use zero based co-ordinates. | 15555 | |
| 15556 | (handle_one_term_event): Report a drag as mouse movement too. | 15556 | * term.c (term_mouse_highlight): Remove unused variables. |
| 15557 | 15557 | (Fterm_open_connection): Set gpm_zerobased to 1. | |
| 15558 | * Makefile.in (MOUSE_SUPPORT): Define for HAVE_GPM. | 15558 | (term_mouse_movement, term_mouse_click, handle_one_term_event): |
| 15559 | 15559 | Use zero based co-ordinates. | |
| 15560 | 2007-06-03 Chong Yidong <cyd@stupidchicken.com> | 15560 | (handle_one_term_event): Report a drag as mouse movement too. |
| 15561 | 15561 | ||
| 15562 | * image.c (search_image_cache): New function. Require background | 15562 | * Makefile.in (MOUSE_SUPPORT): Define for HAVE_GPM. |
| 15563 | color match if background color is unspecified in the image spec. | 15563 | |
| 15564 | (uncache_image, lookup_image): Use it. | 15564 | 2007-06-03 Chong Yidong <cyd@stupidchicken.com> |
| 15565 | 15565 | ||
| 15566 | 2007-06-01 Juanma Barranquero <lekktu@gmail.com> | 15566 | * image.c (search_image_cache): New function. Require background |
| 15567 | 15567 | color match if background color is unspecified in the image spec. | |
| 15568 | * window.c (Fshrink_window): Reflow docstring. | 15568 | (uncache_image, lookup_image): Use it. |
| 15569 | 15569 | ||
| 15570 | 2007-06-02 Chong Yidong <cyd@stupidchicken.com> | 15570 | 2007-06-01 Juanma Barranquero <lekktu@gmail.com> |
| 15571 | 15571 | ||
| 15572 | * Version 22.1 released. | 15572 | * window.c (Fshrink_window): Reflow docstring. |
| 15573 | 15573 | ||
| 15574 | 2007-06-01 Richard Stallman <rms@gnu.org> | 15574 | 2007-06-02 Chong Yidong <cyd@stupidchicken.com> |
| 15575 | 15575 | ||
| 15576 | * xfns.c (x_encode_text): Add GCPRO. | 15576 | * Version 22.1 released. |
| 15577 | 15577 | ||
| 15578 | 2007-06-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 15578 | 2007-06-01 Richard Stallman <rms@gnu.org> |
| 15579 | 15579 | ||
| 15580 | * xfns.c (x_set_name_internal): Save encoded name before | 15580 | * xfns.c (x_encode_text): Add GCPRO. |
| 15581 | x_encode_text in case string data is relocated. | 15581 | |
| 15582 | 15582 | 2007-06-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
| 15583 | 2007-05-31 Richard Stallman <rms@gnu.org> | 15583 | |
| 15584 | 15584 | * xfns.c (x_set_name_internal): Save encoded name before | |
| 15585 | * buffer.c (syms_of_buffer): Doc fix. | 15585 | x_encode_text in case string data is relocated. |
| 15586 | 15586 | ||
| 15587 | 2007-05-30 Nick Roberts <nickrob@snap.net.nz> | 15587 | 2007-05-31 Richard Stallman <rms@gnu.org> |
| 15588 | 15588 | ||
| 15589 | * sysdep.c (init_sys_modes): Add rather than replace with | 15589 | * buffer.c (syms_of_buffer): Doc fix. |
| 15590 | O_NONBLOCK. | 15590 | |
| 15591 | 15591 | 2007-05-30 Nick Roberts <nickrob@snap.net.nz> | |
| 15592 | * frame.c [HAVE_GPM] (Fset_mouse_pixel_position): Add call to | 15592 | |
| 15593 | term_mouse_moveto. | 15593 | * sysdep.c (init_sys_modes): Add rather than replace with |
| 15594 | 15594 | O_NONBLOCK. | |
| 15595 | * termhooks.h (term_mouse_moveto): New extern. | 15595 | |
| 15596 | 15596 | * frame.c [HAVE_GPM] (Fset_mouse_pixel_position): Add call to | |
| 15597 | * term.c (mouse_face_window): Rename... | 15597 | term_mouse_moveto. |
| 15598 | (Qmouse_face_window): ...to this. | 15598 | |
| 15599 | (term_show_mouse_face, term_clear_mouse_face) | 15599 | * termhooks.h (term_mouse_moveto): New extern. |
| 15600 | (term_mouse_highlight): Use Qmouse_face_window. | 15600 | |
| 15601 | (term_mouse_moveto): New function. | 15601 | * term.c (mouse_face_window): Rename... |
| 15602 | (term_mouse_position): Make it work. | 15602 | (Qmouse_face_window): ...to this. |
| 15603 | (syms_of_term): Uncomment assignment to mouse_position_hook. | 15603 | (term_show_mouse_face, term_clear_mouse_face) |
| 15604 | Staticpro Qmouse_face_window. | 15604 | (term_mouse_highlight): Use Qmouse_face_window. |
| 15605 | 15605 | (term_mouse_moveto): New function. | |
| 15606 | 2007-05-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 15606 | (term_mouse_position): Make it work. |
| 15607 | 15607 | (syms_of_term): Uncomment assignment to mouse_position_hook. | |
| 15608 | * xdisp.c (redisplay_internal): Bind inhibit-point-motion-hooks to t | 15608 | Staticpro Qmouse_face_window. |
| 15609 | around current_column call. | 15609 | |
| 15610 | 15610 | 2007-05-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
| 15611 | 2007-05-26 Dan Nicolaescu <dann@ics.uci.edu> | 15611 | |
| 15612 | 15612 | * xdisp.c (redisplay_internal): Bind inhibit-point-motion-hooks to t | |
| 15613 | * xfaces.c (syms_of_xfaces): Delete stray semicolon. | 15613 | around current_column call. |
| 15614 | * xdisp.c (next_element_from_buffer): | 15614 | |
| 15615 | * window.c (delete_window): | 15615 | 2007-05-26 Dan Nicolaescu <dann@ics.uci.edu> |
| 15616 | * term.c (term_mouse_highlight): | 15616 | |
| 15617 | * msdos.c (getdefdir): | 15617 | * xfaces.c (syms_of_xfaces): Delete stray semicolon. |
| 15618 | * macterm.c (mac_create_bitmap_from_bitmap_data) | 15618 | * xdisp.c (next_element_from_buffer): |
| 15619 | (init_font_name_table): | 15619 | * window.c (delete_window): |
| 15620 | * fns.c (Fsxhash): | 15620 | * term.c (term_mouse_highlight): |
| 15621 | * data.c (Fmake_local_variable): | 15621 | * msdos.c (getdefdir): |
| 15622 | * ccl.c (ccl_driver): Likewise. | 15622 | * macterm.c (mac_create_bitmap_from_bitmap_data) |
| 15623 | 15623 | (init_font_name_table): | |
| 15624 | 2007-05-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 15624 | * fns.c (Fsxhash): |
| 15625 | 15625 | * data.c (Fmake_local_variable): | |
| 15626 | * macterm.c [USE_CARBON_EVENTS] (mac_handle_window_event): | 15626 | * ccl.c (ccl_driver): Likewise. |
| 15627 | Call mac_wakeup_from_rne on window size change. | 15627 | |
| 15628 | 15628 | 2007-05-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
| 15629 | 2007-05-25 Chong Yidong <cyd@stupidchicken.com> | 15629 | |
| 15630 | 15630 | * macterm.c [USE_CARBON_EVENTS] (mac_handle_window_event): | |
| 15631 | * image.c (uncache_image): Fix typo. | 15631 | Call mac_wakeup_from_rne on window size change. |
| 15632 | 15632 | ||
| 15633 | 2007-05-23 Johannes Weiner <hannes@saeurebad.de> (tiny change) | 15633 | 2007-05-25 Chong Yidong <cyd@stupidchicken.com> |
| 15634 | 15634 | ||
| 15635 | * keyboard.c (make_lispy_movement): Condition on HAVE_GPM too. | 15635 | * image.c (uncache_image): Fix typo. |
| 15636 | 15636 | ||
| 15637 | 2007-05-22 Richard Stallman <rms@gnu.org> | 15637 | 2007-05-23 Johannes Weiner <hannes@saeurebad.de> (tiny change) |
| 15638 | 15638 | ||
| 15639 | * xterm.c (x_connection_closed): Remove NO_RETURN. | 15639 | * keyboard.c (make_lispy_movement): Condition on HAVE_GPM too. |
| 15640 | 15640 | ||
| 15641 | 2007-05-22 Martin Rudalics <rudalics@gmx.at> | 15641 | 2007-05-22 Richard Stallman <rms@gnu.org> |
| 15642 | 15642 | ||
| 15643 | * syntax.c (scan_words): Fix arg to UPDATE_SYNTAX_TABLE_BACKWARD. | 15643 | * xterm.c (x_connection_closed): Remove NO_RETURN. |
| 15644 | 15644 | ||
| 15645 | 2007-05-21 Chong Yidong <cyd@stupidchicken.com> | 15645 | 2007-05-22 Martin Rudalics <rudalics@gmx.at> |
| 15646 | 15646 | ||
| 15647 | * image.c (uncache_image): New function. | 15647 | * syntax.c (scan_words): Fix arg to UPDATE_SYNTAX_TABLE_BACKWARD. |
| 15648 | (Fimage_refresh): New function. | 15648 | |
| 15649 | 15649 | 2007-05-21 Chong Yidong <cyd@stupidchicken.com> | |
| 15650 | 2007-05-20 Jan Djärv <jan.h.d@swipnet.se> | 15650 | |
| 15651 | 15651 | * image.c (uncache_image): New function. | |
| 15652 | * Makefile.in: Move GPM check outside HAVE_X_WINDOWS. | 15652 | (Fimage_refresh): New function. |
| 15653 | 15653 | ||
| 15654 | 2007-05-20 Nick Roberts <nickrob@snap.net.nz> | 15654 | 2007-05-20 Jan Djärv <jan.h.d@swipnet.se> |
| 15655 | 15655 | ||
| 15656 | * config.in, keyboard.c, Makefile.in, sysdep.c, term.c, | 15656 | * Makefile.in: Move GPM check outside HAVE_X_WINDOWS. |
| 15657 | * termhooks.h: Use HAVE_GPM instead of HAVE_GPM_H. | 15657 | |
| 15658 | 15658 | 2007-05-20 Nick Roberts <nickrob@snap.net.nz> | |
| 15659 | 2007-05-20 Nick Roberts <nickrob@snap.net.nz> | 15659 | |
| 15660 | 15660 | * config.in, keyboard.c, Makefile.in, sysdep.c, term.c, | |
| 15661 | * keyboard.c (make_lispy_event): Make case GPM_CLICK_EVENT | 15661 | * termhooks.h: Use HAVE_GPM instead of HAVE_GPM_H. |
| 15662 | conditional on [HAVE_GPM_H]. | 15662 | |
| 15663 | 15663 | 2007-05-20 Nick Roberts <nickrob@snap.net.nz> | |
| 15664 | 2007-05-19 Stefan Monnier <monnier@iro.umontreal.ca> | 15664 | |
| 15665 | 15665 | * keyboard.c (make_lispy_event): Make case GPM_CLICK_EVENT | |
| 15666 | * syntax.c (skip_chars): Update syntax-table only after we checked that | 15666 | conditional on [HAVE_GPM_H]. |
| 15667 | the new location is valid. | 15667 | |
| 15668 | 15668 | 2007-05-19 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 15669 | 2007-05-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 15669 | |
| 15670 | 15670 | * syntax.c (skip_chars): Update syntax-table only after we checked that | |
| 15671 | * macterm.c (x_calc_absolute_position): Add BLOCK_INPUT around | 15671 | the new location is valid. |
| 15672 | mac_get_window_bounds. | 15672 | |
| 15673 | 15673 | 2007-05-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
| 15674 | 2007-05-20 Nick Roberts <nickrob@snap.net.nz> | 15674 | |
| 15675 | 15675 | * macterm.c (x_calc_absolute_position): Add BLOCK_INPUT around | |
| 15676 | * Makefile.in (LIBGPM): Allow it to be set from configure. | 15676 | mac_get_window_bounds. |
| 15677 | If set then link Emacs with it. | 15677 | |
| 15678 | 15678 | 2007-05-20 Nick Roberts <nickrob@snap.net.nz> | |
| 15679 | * config.in: Regenerate. | 15679 | |
| 15680 | 15680 | * Makefile.in (LIBGPM): Allow it to be set from configure. | |
| 15681 | * lisp.h (add_gpm_wait_descriptor, delete_gpm_wait_descriptor): | 15681 | If set then link Emacs with it. |
| 15682 | New externs. | 15682 | |
| 15683 | 15683 | * config.in: Regenerate. | |
| 15684 | * termhooks.h [HAVE_GPM_H] (enum event_kind): Add GPM_CLICK_EVENT. | 15684 | |
| 15685 | Include gpm.h. | 15685 | * lisp.h (add_gpm_wait_descriptor, delete_gpm_wait_descriptor): |
| 15686 | (handle_one_term_event, term_gpm): New externs. | 15686 | New externs. |
| 15687 | 15687 | ||
| 15688 | * sysdep.c [HAVE_GPM_H] (init_sys_modes): Make gpm_fd nonblocking | 15688 | * termhooks.h [HAVE_GPM_H] (enum event_kind): Add GPM_CLICK_EVENT. |
| 15689 | and allow it to be interrupted by SIGIO. | 15689 | Include gpm.h. |
| 15690 | 15690 | (handle_one_term_event, term_gpm): New externs. | |
| 15691 | * process.c (gpm_wait_mask, max_gpm_desc): New variables. | 15691 | |
| 15692 | (wait_reading_process_output): Wait on gpm_fd too. | 15692 | * sysdep.c [HAVE_GPM_H] (init_sys_modes): Make gpm_fd nonblocking |
| 15693 | (add_gpm_wait_descriptor, delete_gpm_wait_descriptor)): New functions. | 15693 | and allow it to be interrupted by SIGIO. |
| 15694 | (add_gpm_wait_descriptor_called_flag): New variable. | 15694 | |
| 15695 | (delete_keyboard_wait_descriptor): Check gpm_wait_mask. | 15695 | * process.c (gpm_wait_mask, max_gpm_desc): New variables. |
| 15696 | 15696 | (wait_reading_process_output): Wait on gpm_fd too. | |
| 15697 | * keyboard.c [HAVE_GPM_H] (Qmouse_fixup_help_message) | 15697 | (add_gpm_wait_descriptor, delete_gpm_wait_descriptor)): New functions. |
| 15698 | (make_lispy_movement, tracking_off, Ftrack_mouse, some_mouse_moved) | 15698 | (add_gpm_wait_descriptor_called_flag): New variable. |
| 15699 | (show_help_echo, readable_events, kbd_buffer_get_event, init_keyboard): | 15699 | (delete_keyboard_wait_descriptor): Check gpm_wait_mask. |
| 15700 | Extend HAVE_MOUSE ifdefs to HAVE_GPM_H. | 15700 | |
| 15701 | (make_lispy_event): Add case GPM_CLICK_EVENT. | 15701 | * keyboard.c [HAVE_GPM_H] (Qmouse_fixup_help_message) |
| 15702 | (read_avail_input): Handle mouse input. | 15702 | (make_lispy_movement, tracking_off, Ftrack_mouse, some_mouse_moved) |
| 15703 | 15703 | (show_help_echo, readable_events, kbd_buffer_get_event, init_keyboard): | |
| 15704 | * term.c (write_glyphs_with_face): New function. | 15704 | Extend HAVE_MOUSE ifdefs to HAVE_GPM_H. |
| 15705 | [HAVE_GPM_H]: Include buffer.h, sys/fcntl.h. | 15705 | (make_lispy_event): Add case GPM_CLICK_EVENT. |
| 15706 | (mouse_face_beg_row, mouse_face_beg_col, mouse_face_end_row) | 15706 | (read_avail_input): Handle mouse input. |
| 15707 | (mouse_face_end_col, mouse_face_past_end, mouse_face_window) | 15707 | |
| 15708 | (mouse_face_face_id, term_gpm, pos_x, pos_y) | 15708 | * term.c (write_glyphs_with_face): New function. |
| 15709 | (last_mouse_x, last_mouse_y): New variables. | 15709 | [HAVE_GPM_H]: Include buffer.h, sys/fcntl.h. |
| 15710 | (term_show_mouse_face, term_clear_mouse_face, fast_find_position) | 15710 | (mouse_face_beg_row, mouse_face_beg_col, mouse_face_end_row) |
| 15711 | (term_mouse_highlight, term_mouse_movement, term_mouse_position) | 15711 | (mouse_face_end_col, mouse_face_past_end, mouse_face_window) |
| 15712 | (term_mouse_click, handle_one_term_event, Fterm_open_connection) | 15712 | (mouse_face_face_id, term_gpm, pos_x, pos_y) |
| 15713 | (Fterm_close_connection): New functions. | 15713 | (last_mouse_x, last_mouse_y): New variables. |
| 15714 | (term_init): Initialise mouse_face_window. | 15714 | (term_show_mouse_face, term_clear_mouse_face, fast_find_position) |
| 15715 | 15715 | (term_mouse_highlight, term_mouse_movement, term_mouse_position) | |
| 15716 | 2007-05-19 Chong Yidong <cyd@stupidchicken.com> | 15716 | (term_mouse_click, handle_one_term_event, Fterm_open_connection) |
| 15717 | 15717 | (Fterm_close_connection): New functions. | |
| 15718 | * xdisp.c (redisplay_window): If first window line is a | 15718 | (term_init): Initialise mouse_face_window. |
| 15719 | continuation line, recompute the new window start instead of | 15719 | |
| 15720 | recentering. | 15720 | 2007-05-19 Chong Yidong <cyd@stupidchicken.com> |
| 15721 | 15721 | ||
| 15722 | 2007-05-18 Glenn Morris <rgm@gnu.org> | 15722 | * xdisp.c (redisplay_window): If first window line is a |
| 15723 | 15723 | continuation line, recompute the new window start instead of | |
| 15724 | * m/alpha.h (ORDINARY_LINK): No longer define on OpenBSD. | 15724 | recentering. |
| 15725 | Suggested by Alfred M. Szmidt <ams@gnu.org>. | 15725 | |
| 15726 | 15726 | 2007-05-18 Glenn Morris <rgm@gnu.org> | |
| 15727 | 2007-05-17 Glenn Morris <rgm@gnu.org> | 15727 | |
| 15728 | 15728 | * m/alpha.h (ORDINARY_LINK): No longer define on OpenBSD. | |
| 15729 | * m/macppc.h (ORDINARY_LINK): No longer define on OpenBSD. | 15729 | Suggested by Alfred M. Szmidt <ams@gnu.org>. |
| 15730 | 15730 | ||
| 15731 | 2007-05-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 15731 | 2007-05-17 Glenn Morris <rgm@gnu.org> |
| 15732 | 15732 | ||
| 15733 | * macterm.c [USE_CARBON_EVENTS] (mac_convert_event_ref): Also convert | 15733 | * m/macppc.h (ORDINARY_LINK): No longer define on OpenBSD. |
| 15734 | dead key repeat and up events. | 15734 | |
| 15735 | 15735 | 2007-05-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
| 15736 | 2007-05-14 Chong Yidong <cyd@stupidchicken.com> | 15736 | |
| 15737 | 15737 | * macterm.c [USE_CARBON_EVENTS] (mac_convert_event_ref): Also convert | |
| 15738 | * image.c (pbm_load): Check image size for monochrome pbm. | 15738 | dead key repeat and up events. |
| 15739 | 15739 | ||
| 15740 | 2007-05-13 Chong Yidong <cyd@stupidchicken.com> | 15740 | 2007-05-14 Chong Yidong <cyd@stupidchicken.com> |
| 15741 | 15741 | ||
| 15742 | * xterm.c (XTread_socket): Revert last change. | 15742 | * image.c (pbm_load): Check image size for monochrome pbm. |
| 15743 | 15743 | ||
| 15744 | 2007-05-12 Chong Yidong <cyd@stupidchicken.com> | 15744 | 2007-05-13 Chong Yidong <cyd@stupidchicken.com> |
| 15745 | 15745 | ||
| 15746 | * image.c (pbm_load): Correctly check image size for greyscale pbm. | 15746 | * xterm.c (XTread_socket): Revert last change. |
| 15747 | 15747 | ||
| 15748 | * xterm.c (XTread_socket): Yet Another Uncaught X Error Crash (YAUXEC). | 15748 | 2007-05-12 Chong Yidong <cyd@stupidchicken.com> |
| 15749 | 15749 | ||
| 15750 | 2007-05-07 Stefan Monnier <monnier@iro.umontreal.ca> | 15750 | * image.c (pbm_load): Correctly check image size for greyscale pbm. |
| 15751 | 15751 | ||
| 15752 | * editfns.c (Ftranspose_regions): Yet another int/Lisp_Object | 15752 | * xterm.c (XTread_socket): Yet Another Uncaught X Error Crash (YAUXEC). |
| 15753 | mixup (YAILOM). | 15753 | |
| 15754 | 15754 | 2007-05-07 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 15755 | 2007-05-07 Andreas Schwab <schwab@suse.de> | 15755 | |
| 15756 | 15756 | * editfns.c (Ftranspose_regions): Yet another int/Lisp_Object | |
| 15757 | * keymap.c (Flookup_key): Fix typo in last change. | 15757 | mixup (YAILOM). |
| 15758 | 15758 | ||
| 15759 | 2007-05-07 Stefan Monnier <monnier@iro.umontreal.ca> | 15759 | 2007-05-07 Andreas Schwab <schwab@suse.de> |
| 15760 | 15760 | ||
| 15761 | * keymap.c (Fdefine_key, Flookup_key): Only do the 0x80->meta_modifier | 15761 | * keymap.c (Flookup_key): Fix typo in last change. |
| 15762 | mapping for unibyte strings. | 15762 | |
| 15763 | 15763 | 2007-05-07 Stefan Monnier <monnier@iro.umontreal.ca> | |
| 15764 | 2007-05-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 15764 | |
| 15765 | 15765 | * keymap.c (Fdefine_key, Flookup_key): Only do the 0x80->meta_modifier | |
| 15766 | * macmenu.c (mac_dialog_show): Apply 2007-04-27 change for xmenu.c. | 15766 | mapping for unibyte strings. |
| 15767 | (Fx_popup_dialog) [MAC_OSX]: Likewise. | 15767 | |
| 15768 | 15768 | 2007-05-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
| 15769 | 2007-04-29 Richard Stallman <rms@gnu.org> | 15769 | |
| 15770 | 15770 | * macmenu.c (mac_dialog_show): Apply 2007-04-27 change for xmenu.c. | |
| 15771 | * insdel.c (replace_range): For undo, record insertion first. | 15771 | (Fx_popup_dialog) [MAC_OSX]: Likewise. |
| 15772 | 15772 | ||
| 15773 | 2007-04-29 Andreas Schwab <schwab@suse.de> | 15773 | 2007-04-29 Richard Stallman <rms@gnu.org> |
| 15774 | 15774 | ||
| 15775 | * lisp.h (VECSIZE): Use OFFSETOF. | 15775 | * insdel.c (replace_range): For undo, record insertion first. |
| 15776 | 15776 | ||
| 15777 | 2007-04-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 15777 | 2007-04-29 Andreas Schwab <schwab@suse.de> |
| 15778 | 15778 | ||
| 15779 | * xdisp.c (try_window_reusing_current_matrix): Fix number of | 15779 | * lisp.h (VECSIZE): Use OFFSETOF. |
| 15780 | disabled lines. | 15780 | |
| 15781 | 15781 | 2007-04-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
| 15782 | 2007-04-28 Richard Stallman <rms@gnu.org> | 15782 | |
| 15783 | 15783 | * xdisp.c (try_window_reusing_current_matrix): Fix number of | |
| 15784 | * lread.c (read_escape): In a string, \s is always space. | 15784 | disabled lines. |
| 15785 | 15785 | ||
| 15786 | 2007-04-27 Jan Djärv <jan.h.d@swipnet.se> | 15786 | 2007-04-28 Richard Stallman <rms@gnu.org> |
| 15787 | 15787 | ||
| 15788 | * xmenu.c (xdialog_show): Call Fredisplay before showing the dialog. | 15788 | * lread.c (read_escape): In a string, \s is always space. |
| 15789 | 15789 | ||
| 15790 | * gtkutil.c (xg_update_menubar, create_menus): Create empty | 15790 | 2007-04-27 Jan Djärv <jan.h.d@swipnet.se> |
| 15791 | submenu for menu bar items. | 15791 | |
| 15792 | 15792 | * xmenu.c (xdialog_show): Call Fredisplay before showing the dialog. | |
| 15793 | See ChangeLog.10 for earlier changes. | 15793 | |
| 15794 | 15794 | * gtkutil.c (xg_update_menubar, create_menus): Create empty | |
| 15795 | ;; Local Variables: | 15795 | submenu for menu bar items. |
| 15796 | ;; coding: utf-8 | 15796 | |
| 15797 | ;; add-log-time-zone-rule: t | 15797 | See ChangeLog.10 for earlier changes. |
| 15798 | ;; bug-reference-url-format: "http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=%s" | 15798 | |
| 15799 | ;; End: | 15799 | ;; Local Variables: |
| 15800 | 15800 | ;; coding: utf-8 | |
| 15801 | Copyright (C) 2007, 2008 Free Software Foundation, Inc. | 15801 | ;; add-log-time-zone-rule: t |
| 15802 | 15802 | ;; bug-reference-url-format: "http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=%s" | |
| 15803 | This file is part of GNU Emacs. | 15803 | ;; End: |
| 15804 | 15804 | ||
| 15805 | GNU Emacs is free software: you can redistribute it and/or modify | 15805 | Copyright (C) 2007, 2008 Free Software Foundation, Inc. |
| 15806 | it under the terms of the GNU General Public License as published by | 15806 | |
| 15807 | the Free Software Foundation, either version 3 of the License, or | 15807 | This file is part of GNU Emacs. |
| 15808 | (at your option) any later version. | 15808 | |
| 15809 | 15809 | GNU Emacs is free software: you can redistribute it and/or modify | |
| 15810 | GNU Emacs is distributed in the hope that it will be useful, | 15810 | it under the terms of the GNU General Public License as published by |
| 15811 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 15811 | the Free Software Foundation, either version 3 of the License, or |
| 15812 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 15812 | (at your option) any later version. |
| 15813 | GNU General Public License for more details. | 15813 | |
| 15814 | 15814 | GNU Emacs is distributed in the hope that it will be useful, | |
| 15815 | You should have received a copy of the GNU General Public License | 15815 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15816 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | 15816 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15817 | 15817 | GNU General Public License for more details. | |
| 15818 | ;; arch-tag: dfb6ad96-1550-4905-9e53-d2059ee84c40 | 15818 | |
| 15819 | You should have received a copy of the GNU General Public License | ||
| 15820 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | ||
| 15821 | |||
| 15822 | ;; arch-tag: dfb6ad96-1550-4905-9e53-d2059ee84c40 | ||