diff options
| author | Tom Tromey | 2012-08-20 07:34:41 -0600 |
|---|---|---|
| committer | Tom Tromey | 2012-08-20 07:34:41 -0600 |
| commit | 49bc1a9dfc6e81a370bf12157c3c573743ee200a (patch) | |
| tree | 24df8b040aff367adc11a2c676334ec238651e1d /src/ChangeLog | |
| parent | b94de893429bbfbb27572c8c3118fcc876957adb (diff) | |
| parent | a05731a0cc2553af0469bd9b7d6ac10cd2e6a817 (diff) | |
| download | emacs-49bc1a9dfc6e81a370bf12157c3c573743ee200a.tar.gz emacs-49bc1a9dfc6e81a370bf12157c3c573743ee200a.zip | |
Merge from trunk
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 431 |
1 files changed, 425 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 20e5e4bdfbb..1e25015da20 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,421 @@ | |||
| 1 | 2012-08-20 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 2 | |||
| 3 | Inline setter functions for Lisp_Objects slots of struct specbinding. | ||
| 4 | * eval.c (set_specpdl_symbol, set_specpdl_old_value): New functions. | ||
| 5 | Adjust users. | ||
| 6 | |||
| 7 | 2012-08-20 Martin Rudalics <rudalics@gmx.at> | ||
| 8 | |||
| 9 | * window.c (select_window): Always make selected window's buffer | ||
| 10 | current. | ||
| 11 | |||
| 12 | 2012-08-20 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 13 | |||
| 14 | Use AREF and ASET for docstrings of category tables. | ||
| 15 | * category.h (CATEGORY_DOCSTRING): Use AREF. | ||
| 16 | (SET_CATEGORY_DOCSTRING): Use ASET. | ||
| 17 | * category.c (Fdefine_category): Use SET_CATEGORY_DOCSTRING. | ||
| 18 | |||
| 19 | 2012-08-20 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 20 | |||
| 21 | Inline setter functions for hash table members. | ||
| 22 | * lisp.h (set_hash_key, set_hash_value, set_hash_next) | ||
| 23 | (set_hash_hash, set_hash_index): Rename with _slot suffix. | ||
| 24 | (set_hash_key_and_value, set_hash_index, set_hash_next) | ||
| 25 | (set_hash_hash): New functions. | ||
| 26 | * charset.c, fns.c: Adjust users. | ||
| 27 | |||
| 28 | 2012-08-20 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 29 | |||
| 30 | Inline getter and setter functions for per-buffer values. | ||
| 31 | * buffer.h (per_buffer_default, set_per_buffer_default) | ||
| 32 | (per_buffer_value, set_per_buffer_value): New functions. | ||
| 33 | (PER_BUFFER_VALUE, PER_BUFFER_DEFAULT): Remove. | ||
| 34 | * buffer.c, data.c: Adjust users. | ||
| 35 | |||
| 36 | 2012-08-20 Juanma Barranquero <lekktu@gmail.com> | ||
| 37 | |||
| 38 | * makefile.w32-in ($(BLD)/vm-limit.$(O)): Update dependencies. | ||
| 39 | |||
| 40 | 2012-08-19 Paul Eggert <eggert@cs.ucla.edu> | ||
| 41 | |||
| 42 | Rely on <config.h> + <unistd.h> to declare 'environ', | ||
| 43 | as gnulib does this if the system doesn't. | ||
| 44 | * callproc.c, editfns.c, process.c (environ) [!USE_CRT_DLL]: | ||
| 45 | * emacs.c (environ) [DOUG_LEA_MALLOC]: | ||
| 46 | * vm-limit.c (environ) [ORDINARY_LINK]: Remove decl. | ||
| 47 | * vm-limit.c: Include <unistd.h>, for 'environ'. | ||
| 48 | |||
| 49 | * unexaix.c, unexcoff.c: Include "mem-limits.h". | ||
| 50 | (start_of_data): Remove decl; mem-limits.h provides it. | ||
| 51 | |||
| 52 | * xdisp.c (handle_invisible_prop): Make it a bit faster | ||
| 53 | and avoid a gcc -Wmaybe-uninitialized diagnostic. | ||
| 54 | |||
| 55 | 2012-08-19 Chong Yidong <cyd@gnu.org> | ||
| 56 | |||
| 57 | * xdisp.c (handle_invisible_prop): Fix ellipses at overlay string | ||
| 58 | ends (Bug#3874). | ||
| 59 | |||
| 60 | 2012-08-19 Andreas Schwab <schwab@linux-m68k.org> | ||
| 61 | |||
| 62 | * .gdbinit: Use call instead of set when calling a function in the | ||
| 63 | inferior. | ||
| 64 | |||
| 65 | * data.c (set_internal): Don't use set_blv_found. | ||
| 66 | (Fkill_local_variable): Likewise. | ||
| 67 | |||
| 68 | 2012-08-18 Alp Aker <alp.tekin.aker@gmail.com> | ||
| 69 | |||
| 70 | * nsfont.m (ns_ascii_average_width): Ensure the string | ||
| 71 | ascii_printable is initialized with a null-terminated character | ||
| 72 | array. Otherwise, it can contain undesired extra characters. | ||
| 73 | |||
| 74 | 2012-08-18 Paul Eggert <eggert@cs.ucla.edu> | ||
| 75 | |||
| 76 | port new setting code to Sun C 5.8 2005/10/13 | ||
| 77 | * chartab.c, lisp.h (char_table_set, char_table_set_range): | ||
| 78 | Return void, not Lisp_Object. Otherwise, the compiler | ||
| 79 | complains about (A?B:C) where B is void and C is Lisp_Object | ||
| 80 | when compiling CHAR_TABLE_SET, due to the recent change to | ||
| 81 | the API of sub_char_table_set_contents. | ||
| 82 | |||
| 83 | 2012-08-18 Chong Yidong <cyd@gnu.org> | ||
| 84 | |||
| 85 | * xdisp.c (handle_invisible_prop): Obey TEXT_PROP_MEANS_INVISIBLE | ||
| 86 | for the string case (Bug#3874). | ||
| 87 | |||
| 88 | 2012-08-18 Paul Eggert <eggert@cs.ucla.edu> | ||
| 89 | |||
| 90 | * buffer.h (BSET): Remove (Bug#12215). | ||
| 91 | Replace all uses with calls to new setter functions. | ||
| 92 | (bset_bidi_paragraph_direction, bset_case_canon_table) | ||
| 93 | (bset_case_eqv_table, bset_directory, bset_display_count) | ||
| 94 | (bset_display_time, bset_downcase_table) | ||
| 95 | (bset_enable_multibyte_characters, bset_filename, bset_keymap) | ||
| 96 | (bset_last_selected_window, bset_local_var_alist) | ||
| 97 | (bset_mark_active, bset_point_before_scroll, bset_read_only) | ||
| 98 | (bset_truncate_lines, bset_undo_list, bset_upcase_table) | ||
| 99 | (bset_width_table): | ||
| 100 | * buffer.c (bset_abbrev_mode, bset_abbrev_table) | ||
| 101 | (bset_auto_fill_function, bset_auto_save_file_format) | ||
| 102 | (bset_auto_save_file_name, bset_backed_up, bset_begv_marker) | ||
| 103 | (bset_bidi_display_reordering, bset_buffer_file_coding_system) | ||
| 104 | (bset_cache_long_line_scans, bset_case_fold_search) | ||
| 105 | (bset_ctl_arrow, bset_cursor_in_non_selected_windows) | ||
| 106 | (bset_cursor_type, bset_display_table, bset_extra_line_spacing) | ||
| 107 | (bset_file_format, bset_file_truename, bset_fringe_cursor_alist) | ||
| 108 | (bset_fringe_indicator_alist, bset_fringes_outside_margins) | ||
| 109 | (bset_header_line_format, bset_indicate_buffer_boundaries) | ||
| 110 | (bset_indicate_empty_lines, bset_invisibility_spec) | ||
| 111 | (bset_left_fringe_width, bset_major_mode, bset_mark) | ||
| 112 | (bset_minor_modes, bset_mode_line_format, bset_mode_name) | ||
| 113 | (bset_name, bset_overwrite_mode, bset_pt_marker) | ||
| 114 | (bset_right_fringe_width, bset_save_length) | ||
| 115 | (bset_scroll_bar_width, bset_scroll_down_aggressively) | ||
| 116 | (bset_scroll_up_aggressively, bset_selective_display) | ||
| 117 | (bset_selective_display_ellipses, bset_vertical_scroll_bar_type) | ||
| 118 | (bset_word_wrap, bset_zv_marker): | ||
| 119 | * category.c (bset_category_table): | ||
| 120 | * syntax.c (bset_syntax_table): | ||
| 121 | New setter functions. | ||
| 122 | |||
| 123 | * process.h (PSET): Remove (Bug#12215). | ||
| 124 | Replace all uses with calls to new setter functions. | ||
| 125 | Use INLINE_HEADER_BEGIN, INLINE_HEADER_END. | ||
| 126 | (PROCESS_INLINE): New macro. | ||
| 127 | (pset_childp): New setter function. | ||
| 128 | (pset_gnutls_cred_type) [HAVE_GNUTLS]: New setter function. | ||
| 129 | * process.c (PROCESS_INLINE): | ||
| 130 | Define to EXTERN_INLINE, so that the corresponding functions | ||
| 131 | are compiled into code. | ||
| 132 | (pset_buffer, pset_command, pset_decode_coding_system) | ||
| 133 | (pset_decoding_buf, pset_encode_coding_system) | ||
| 134 | (pset_encoding_buf, pset_filter, pset_log, pset_mark, pset_name) | ||
| 135 | (pset_plist, pset_sentinel, pset_status, pset_tty_name) | ||
| 136 | (pset_type, pset_write_queue): New setter functions. | ||
| 137 | |||
| 138 | * window.h (WSET): Remove (Bug#12215). | ||
| 139 | Replace all uses with calls to new setter functions. | ||
| 140 | Use INLINE_HEADER_BEGIN, INLINE_HEADER_END. | ||
| 141 | (WINDOW_INLINE): New macro. | ||
| 142 | (wset_buffer, wset_frame, wset_left_col, wset_next, wset_prev) | ||
| 143 | (wset_redisplay_end_trigger, wset_top_line, wset_total_cols) | ||
| 144 | (wset_total_lines, wset_vertical_scroll_bar) | ||
| 145 | (wset_window_end_pos, wset_window_end_valid) | ||
| 146 | (wset_window_end_vpos): New setter functions. | ||
| 147 | * window.c (WINDOW_INLINE): | ||
| 148 | Define to EXTERN_INLINE, so that the corresponding functions | ||
| 149 | are compiled into code. | ||
| 150 | (wset_combination_limit, wset_dedicated, wset_display_table) | ||
| 151 | (wset_hchild, wset_left_fringe_width, wset_left_margin_cols) | ||
| 152 | (wset_new_normal, wset_new_total, wset_next_buffers) | ||
| 153 | (wset_normal_cols, wset_normal_lines, wset_parent, wset_pointm) | ||
| 154 | (wset_prev_buffers, wset_right_fringe_width) | ||
| 155 | (wset_right_margin_cols, wset_scroll_bar_width, wset_start) | ||
| 156 | (wset_temslot, wset_vchild, wset_vertical_scroll_bar_type) | ||
| 157 | (wset_window_parameters): | ||
| 158 | * xdisp.c (wset_base_line_number, wset_base_line_pos) | ||
| 159 | (wset_column_number_displayed, wset_region_showing): | ||
| 160 | New setter functions. | ||
| 161 | |||
| 162 | * termhooks.h (TSET): Remove (Bug#12215). | ||
| 163 | Replace all uses with calls to new setter functions. | ||
| 164 | Use INLINE_HEADER_BEGIN, INLINE_HEADER_END. | ||
| 165 | (TERMHOOKS_INLINE): New macro. | ||
| 166 | (tset_charset_list, tset_selection_alist): New setter functions. | ||
| 167 | * terminal.c (TERMHOOKS_INLINE): | ||
| 168 | Define to EXTERN_INLINE, so that the corresponding functions | ||
| 169 | are compiled into code. | ||
| 170 | (tset_param_alist): New setter function. | ||
| 171 | |||
| 172 | 2012-08-17 Paul Eggert <eggert@cs.ucla.edu> | ||
| 173 | |||
| 174 | * keyboard.h (KSET): Remove (Bug#12215). | ||
| 175 | Replace all uses with calls to new setter functions. | ||
| 176 | Use INLINE_HEADER_BEGIN, INLINE_HEADER_END. | ||
| 177 | (KEYBOARD_INLINE): New macro. | ||
| 178 | (kset_default_minibuffer_frame, kset_defining_kbd_macro) | ||
| 179 | (kset_input_decode_map, kset_last_command, kset_last_kbd_macro) | ||
| 180 | (kset_prefix_arg, kset_system_key_alist, kset_window_system): | ||
| 181 | New setter functions. | ||
| 182 | * keyboard.c (KEYBOARD_INLINE): | ||
| 183 | Define to EXTERN_INLINE, so that the corresponding functions | ||
| 184 | are compiled into code. | ||
| 185 | (kset_echo_string, kset_kbd_queue) | ||
| 186 | (kset_keyboard_translate_table, kset_last_prefix_arg) | ||
| 187 | (kset_last_repeatable_command, kset_local_function_key_map) | ||
| 188 | (kset_overriding_terminal_local_map, kset_real_last_command) | ||
| 189 | (kset_system_key_syms): New setter functions. | ||
| 190 | |||
| 191 | * frame.h (FSET): Remove (Bug#12215). | ||
| 192 | Replace all uses with calls to new setter functions. | ||
| 193 | Use INLINE_HEADER_BEGIN, INLINE_HEADER_END. | ||
| 194 | (FRAME_INLINE): New macro. | ||
| 195 | (fset_buffer_list, fset_buried_buffer_list, fset_condemned_scroll_bars) | ||
| 196 | (fset_current_tool_bar_string, fset_desired_tool_bar_string) | ||
| 197 | (fset_face_alist, fset_focus_frame, fset_icon_name, fset_menu_bar_items) | ||
| 198 | (fset_menu_bar_vector, fset_menu_bar_window, fset_name) | ||
| 199 | (fset_param_alist, fset_root_window, fset_scroll_bars) | ||
| 200 | (fset_selected_window, fset_title, fset_tool_bar_items) | ||
| 201 | (fset_tool_bar_position, fset_tool_bar_window): New functions. | ||
| 202 | * frame.c (FRAME_INLINE): | ||
| 203 | Define to EXTERN_INLINE, so that the corresponding functions | ||
| 204 | are compiled into code. | ||
| 205 | (fset_buffer_predicate, fset_minibuffer_window): New setter functions. | ||
| 206 | |||
| 207 | A few more naming-convention fixes for getters and setters. | ||
| 208 | * buffer.c (set_buffer_overlays_before): Move here from buffer.h, | ||
| 209 | and rename from buffer_overlays_set_before. | ||
| 210 | (set_buffer_overlays_after): Move here from buffer.h, and rename | ||
| 211 | from buffer_overlays_set_after. | ||
| 212 | * buffer.h (buffer_intervals): Rename from buffer_get_intervals. | ||
| 213 | All uses changed. | ||
| 214 | (set_buffer_intervals): Rename from buffer_set_intervals. | ||
| 215 | * intervals.c (set_interval_object): Move here from intervals.h, | ||
| 216 | and rename from interval_set_object. | ||
| 217 | (set_interval_left): Move here from intervals.h, and rename from | ||
| 218 | interval_set_left. | ||
| 219 | (set_interval_right): Move here from intervals.h, and rename from | ||
| 220 | interval_set_right. | ||
| 221 | (copy_interval_parent): Move here from intervals.h, and rename from | ||
| 222 | interval_copy_parent. | ||
| 223 | * intervals.h (set_interval_parent): Rename from interval_set_parent. | ||
| 224 | (set_interval_plist): Rename from interval_set_plist. | ||
| 225 | Return void, not Lisp_Object, since no caller uses the result. | ||
| 226 | * lisp.h (string_intervals): Rename from string_get_intervals. | ||
| 227 | (set_string_intervals): Rename from string_set_intervals. | ||
| 228 | |||
| 229 | * lisp.h (set_char_table_extras): Rename from char_table_set_extras. | ||
| 230 | (set_char_table_contents): Rename from char_table_set_contents. | ||
| 231 | (set_sub_char_table_contents): Rename from sub_char_table_set_contents. | ||
| 232 | All uses changed. See the end of | ||
| 233 | <http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00549.html>. | ||
| 234 | |||
| 235 | * lisp.h (CSET): Remove (Bug#12215). | ||
| 236 | (set_char_table_ascii, set_char_table_defalt, set_char_table_parent) | ||
| 237 | (set_char_table_purpose): New functions, | ||
| 238 | replacing CSET. All uses changed. For example, replace | ||
| 239 | "CSET (XCHAR_TABLE (char_table), parent, parent);" with | ||
| 240 | "set_char_table_parent (char_table, parent);". | ||
| 241 | The old version was confusing because it used the same name | ||
| 242 | 'parent' for two different things. | ||
| 243 | |||
| 244 | 2012-08-17 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 245 | |||
| 246 | Functions to get and set Lisp_Object fields of buffer-local variables. | ||
| 247 | * lisp.h (blv_found, set_blv_found, blv_value, set_blv_value) | ||
| 248 | (set_blv_where, set_blv_defcell, set_blv_valcell): New functions. | ||
| 249 | (BLV_FOUND, SET_BLV_FOUND, BLV_VALUE, SET_BLV_VALUE): Remove. | ||
| 250 | * data.c, eval.c, frame.c: Adjust users. | ||
| 251 | |||
| 252 | 2012-08-17 Chong Yidong <cyd@gnu.org> | ||
| 253 | |||
| 254 | * xfaces.c (merge_face_vectors): If the target font specfies a | ||
| 255 | font spec, make the font's attributes take precedence over | ||
| 256 | directly-specified attributes. | ||
| 257 | (merge_face_ref): Recognize :font. | ||
| 258 | |||
| 259 | 2012-08-17 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 260 | |||
| 261 | Do not use memcpy for copying intervals. | ||
| 262 | * intervals.c (reproduce_interval): New function. | ||
| 263 | (reproduce_tree, reproduce_tree_obj): Use it. | ||
| 264 | (reproduce_tree_obj): Remove prototype. | ||
| 265 | |||
| 266 | 2012-08-17 Paul Eggert <eggert@cs.ucla.edu> | ||
| 267 | |||
| 268 | * lisp.h (duration_to_sec_usec): Remove unused decl. | ||
| 269 | |||
| 270 | 2012-08-17 Alp Aker <alp.tekin.aker@gmail.com> | ||
| 271 | |||
| 272 | * nsfont.m (ns_ascii_average_width): Send initWithFormat selector | ||
| 273 | to an allocated instance of NSString, not to the class itself. | ||
| 274 | |||
| 275 | 2012-08-17 Juanma Barranquero <lekktu@gmail.com> | ||
| 276 | |||
| 277 | * makefile.w32-in (C_CTYPE_H): New macro. | ||
| 278 | (LISP_H, $(BLD)/ccl.$(O), $(BLD)/doc.$(O), $(BLD)/w32console.$(O)): | ||
| 279 | ($(BLD)/fontset.$(O), $(BLD)/frame.$(O), $(BLD)/composite.$(O)): | ||
| 280 | ($(BLD)/sysdep.$(O), $(BLD)/w32uniscribe.$(O)): Update dependencies. | ||
| 281 | |||
| 282 | 2012-08-16 Paul Eggert <eggert@cs.ucla.edu> | ||
| 283 | |||
| 284 | Use ASCII tests for character types. | ||
| 285 | * category.c, dispnew.c, doprnt.c, editfns.c, syntax.c, term.c: | ||
| 286 | * xfns.c, xterm.c: | ||
| 287 | Don't include <ctype.h>; was not needed. | ||
| 288 | * charset.c, doc.c, fileio.c, font.c, frame.c, gtkutil.c, image.c: | ||
| 289 | * sysdep.c, xfaces.c: | ||
| 290 | Include <c-ctype.h> instead of <ctype.h>. | ||
| 291 | * nsterm.m: Include <c-ctype.h>. | ||
| 292 | * charset.c (read_hex): | ||
| 293 | * doc.c (Fsnarf_documentation): | ||
| 294 | * fileio.c (IS_DRIVE) [WINDOWSNT]: | ||
| 295 | (DRIVE_LETTER) [DOS_NT]: | ||
| 296 | (Ffile_name_directory, Fexpand_file_name) | ||
| 297 | (Fsubstitute_in_file_name): | ||
| 298 | * font.c (font_parse_xlfd, font_parse_fcname): | ||
| 299 | * frame.c (x_set_font_backend): | ||
| 300 | * gtkutil.c (xg_get_font): | ||
| 301 | * image.c (xbm_scan, xpm_scan, pbm_scan_number): | ||
| 302 | * nsimage.m (hexchar): | ||
| 303 | * nsterm.m (ns_xlfd_to_fontname): | ||
| 304 | * sysdep.c (system_process_attributes): | ||
| 305 | * xfaces.c (hash_string_case_insensitive): | ||
| 306 | Use C-locale tests instead of locale-specific tests for character | ||
| 307 | types, since we want the ASCII interpretation here, not the | ||
| 308 | interpretation suitable for whatever happens to be the current locale. | ||
| 309 | |||
| 310 | 2012-08-16 Martin Rudalics <rudalics@gmx.at> | ||
| 311 | |||
| 312 | Consistently check windows for validity/liveness | ||
| 313 | (Bug#11984, Bug#12025, Bug#12026). | ||
| 314 | * lisp.h (CHECK_VALID_WINDOW): New macro. | ||
| 315 | * window.c (decode_window): Rename to decode_live_window. | ||
| 316 | (decode_valid_window, Fwindow_valid_p): New functions. | ||
| 317 | (Fwindow_frame, Fframe_root_window, Fwindow_minibuffer_p) | ||
| 318 | (Fframe_first_window, Fframe_selected_window, Fwindow_parent) | ||
| 319 | (Fwindow_top_child, Fwindow_left_child, Fwindow_next_sibling) | ||
| 320 | (Fwindow_prev_sibling, Fwindow_combination_limit) | ||
| 321 | (Fset_window_combination_limit, Fwindow_use_time) | ||
| 322 | (Fwindow_total_height, Fwindow_total_width, Fwindow_new_total) | ||
| 323 | (Fwindow_normal_size, Fwindow_new_normal, Fwindow_left_column) | ||
| 324 | (Fwindow_top_line, Fwindow_body_height, Fwindow_body_width) | ||
| 325 | (Fwindow_hscroll, Fset_window_hscroll) | ||
| 326 | (Fwindow_redisplay_end_trigger) | ||
| 327 | (Fset_window_redisplay_end_trigger, Fwindow_edges) | ||
| 328 | (Fwindow_pixel_edges, Fwindow_absolute_pixel_edges) | ||
| 329 | (Fwindow_inside_edges, Fwindow_inside_pixel_edges) | ||
| 330 | (Fcoordinates_in_window_p, Fwindow_point, Fwindow_start) | ||
| 331 | (Fwindow_end, Fset_window_point, Fset_window_start) | ||
| 332 | (Fpos_visible_in_window_p, Fwindow_line_height) | ||
| 333 | (Fwindow_dedicated_p, Fset_window_dedicated_p) | ||
| 334 | (Fwindow_prev_buffers, Fset_window_prev_buffers) | ||
| 335 | (Fwindow_next_buffers, Fwindow_parameters, Fwindow_parameter) | ||
| 336 | (Fset_window_parameter, Fwindow_display_table) | ||
| 337 | (Fset_window_display_table, Fdelete_other_windows_internal) | ||
| 338 | (Fset_window_buffer, Fset_window_new_total) | ||
| 339 | (Fset_window_new_normal, Fdelete_window_internal) | ||
| 340 | (Fwindow_text_height, Fset_window_margins, Fwindow_margins) | ||
| 341 | (Fset_window_fringes, Fwindow_fringes, Fset_window_scroll_bars) | ||
| 342 | (Fwindow_scroll_bars): Check whether argument window is a valid or | ||
| 343 | live window. Update doc-strings. | ||
| 344 | (syms_of_window): New symbol Qwindow_valid_p. | ||
| 345 | * keyboard.c (Fposn_at_x_y): Check whether argument | ||
| 346 | frame_or_window denotes a valid window. | ||
| 347 | |||
| 348 | 2012-08-16 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 349 | |||
| 350 | Fix previous char table change. | ||
| 351 | * lisp.h (CHAR_TABLE_SET): Use sub_char_table_set_contents. | ||
| 352 | * chartab.c (optimize_sub_char_table): Likewise. | ||
| 353 | |||
| 354 | 2012-08-16 Chong Yidong <cyd@gnu.org> | ||
| 355 | |||
| 356 | * gtkutil.c (xg_get_font): Demand an Xft font (Bug#3228). | ||
| 357 | |||
| 358 | * xfont.c (xfont_open): | ||
| 359 | * xftfont.c (xftfont_open): Set the font's max_width field. | ||
| 360 | |||
| 361 | * nsfont.m (nsfont_open): Similar to the Xft backend, set | ||
| 362 | min_width to space_width and average_width to the average over | ||
| 363 | printable ASCII characters. | ||
| 364 | (ns_char_width): Code cleanup. | ||
| 365 | (ns_ascii_average_width): New utility function. | ||
| 366 | |||
| 367 | * font.h (struct font): Update comments. | ||
| 368 | |||
| 369 | 2012-08-16 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 370 | |||
| 371 | Simple interface to set Lisp_Object fields of character tables. | ||
| 372 | * lisp.h (CSET): New macro. | ||
| 373 | (char_table_set_extras, char_table_set_contents) | ||
| 374 | (sub_char_table_set_contents): New function. | ||
| 375 | * casetab.c, category.c, chartab.c, fns.c, fontset.c, search.c: | ||
| 376 | * syntax.c: Adjust users. | ||
| 377 | |||
| 378 | 2012-08-16 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 379 | |||
| 380 | * eval.c (eval_sub): Bind lexical-binding. | ||
| 381 | * lread.c (Qlexical_binding): Make non-static. | ||
| 382 | |||
| 383 | 2012-08-15 Jan Djärv <jan.h.d@swipnet.se> | ||
| 384 | |||
| 385 | * nsmenu.m (popupSession): Remove. | ||
| 386 | (pop_down_menu): Remove endModalSession. | ||
| 387 | (timeout_handler:): New method. | ||
| 388 | (runDialogAt:): Get next timeout. Start a NSTimer with that timeout. | ||
| 389 | Call runModalForWindow. Check timer_fired when it returns. | ||
| 390 | If not set, cancel timer and break out of loop. | ||
| 391 | Otherwise loop again, with a new timeout. | ||
| 392 | |||
| 393 | * nsterm.m: Include fcntl.h if present. | ||
| 394 | (fd_entry, t_readfds, inNsSelect): Remove. | ||
| 395 | (select_writefds, select_valid, select_timeout, selfds) | ||
| 396 | (select_mutex, apploopnr): Add. | ||
| 397 | (EV_TRAILER): Call kbd_buffer_store_event_hold only if q_event_ptr. | ||
| 398 | Otherwise call kbd_buffer_store_event. | ||
| 399 | (ns_send_appdefined): Remove release of fd_entry. | ||
| 400 | (ns_read_socket): Always send appdefined. Remove inNsSelect check. | ||
| 401 | Increment and decrement apploopnr. | ||
| 402 | (ns_select): If no file descriptors, just do a NSTimer. | ||
| 403 | Otherwise copy read/write masks and start select thread (fd_handler). | ||
| 404 | Start main loop and wait for application defined event. | ||
| 405 | Inform select thread to stop selecting after main loop is exited. | ||
| 406 | (ns_term_init): Create selfds pipe and set non-blocking. | ||
| 407 | Initialize select_mutex. Start the select thread (fd_handler). | ||
| 408 | (fd_handler:): Loop forever, wait for info from the main thread | ||
| 409 | to either start or stop selecting. When select returns, send | ||
| 410 | and appdefined event. | ||
| 411 | (sendScrollEventAtLoc:fromEvent:): Check if q_event_ptr is set. | ||
| 412 | If not call kbd_buffer_store_event. | ||
| 413 | |||
| 414 | * nsterm.h (EmacsApp): fd_handler takes id argument. | ||
| 415 | (EmacsDialogPanel): Add timer_fired and timeout_handler. | ||
| 416 | |||
| 417 | * gtkutil.c (xg_mark_data): Use FRAME_X_P. | ||
| 418 | |||
| 1 | 2012-08-15 Eli Zaretskii <eliz@gnu.org> | 419 | 2012-08-15 Eli Zaretskii <eliz@gnu.org> |
| 2 | 420 | ||
| 3 | * region-cache.c (move_cache_gap): Update gap_len using the actual | 421 | * region-cache.c (move_cache_gap): Update gap_len using the actual |
| @@ -8,8 +426,8 @@ | |||
| 8 | 426 | ||
| 9 | Generalize and cleanup font subsystem checks. | 427 | Generalize and cleanup font subsystem checks. |
| 10 | * font.h (FONT_DEBUG, font_assert): Remove. | 428 | * font.h (FONT_DEBUG, font_assert): Remove. |
| 11 | * font.c, fontset.c, w32font.c, xfont.c, xftfont.c: Change | 429 | * font.c, fontset.c, w32font.c, xfont.c, xftfont.c: |
| 12 | font_assert to eassert. Use eassert where appropriate. | 430 | Change font_assert to eassert. Use eassert where appropriate. |
| 13 | 431 | ||
| 14 | 2012-08-15 Dmitry Antipov <dmantipov@yandex.ru> | 432 | 2012-08-15 Dmitry Antipov <dmantipov@yandex.ru> |
| 15 | 433 | ||
| @@ -17,10 +435,10 @@ | |||
| 17 | 435 | ||
| 18 | 2012-08-15 Chong Yidong <cyd@gnu.org> | 436 | 2012-08-15 Chong Yidong <cyd@gnu.org> |
| 19 | 437 | ||
| 20 | * gtkutil.c (xg_get_font): Rename from xg_get_font_name. When | 438 | * gtkutil.c (xg_get_font): Rename from xg_get_font_name. |
| 21 | using the new font chooser, use gtk_font_chooser_get_font_desc to | 439 | When using the new font chooser, use gtk_font_chooser_get_font_desc to |
| 22 | extract the font descriptor instead of just the font name. In | 440 | extract the font descriptor instead of just the font name. |
| 23 | that case, return a font spec instead of a string. | 441 | In that case, return a font spec instead of a string. |
| 24 | (x_last_font_name): Move to this file from xfns.c. | 442 | (x_last_font_name): Move to this file from xfns.c. |
| 25 | 443 | ||
| 26 | * xfns.c (Fx_select_font): The return value can also be a font | 444 | * xfns.c (Fx_select_font): The return value can also be a font |
| @@ -3302,6 +3720,7 @@ | |||
| 3302 | has at least microseconds now. All uses removed. | 3720 | has at least microseconds now. All uses removed. |
| 3303 | (update_frame, update_single_window, update_window, update_frame_1) | 3721 | (update_frame, update_single_window, update_window, update_frame_1) |
| 3304 | (Fsleep_for, sit_for): Port to higher-resolution time stamps. | 3722 | (Fsleep_for, sit_for): Port to higher-resolution time stamps. |
| 3723 | (duration_to_sec_usec): Remove; no longer needed. | ||
| 3305 | 3724 | ||
| 3306 | * editfns.c (time_overflow): Now extern. | 3725 | * editfns.c (time_overflow): Now extern. |
| 3307 | (Fcurrent_time, Fget_internal_run_time, make_time, lisp_time_argument) | 3726 | (Fcurrent_time, Fget_internal_run_time, make_time, lisp_time_argument) |