diff options
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 720 |
1 files changed, 713 insertions, 7 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index ced0e057e27..1a309066703 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,709 @@ | |||
| 1 | 2012-10-20 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * lread.c (Fload): Doc fix (Bug#12592). | ||
| 4 | |||
| 5 | 2012-10-19 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change) | ||
| 6 | |||
| 7 | * font.c (Ffont_at): Fix previous change. | ||
| 8 | |||
| 9 | 2012-10-19 Eli Zaretskii <eliz@gnu.org> | ||
| 10 | |||
| 11 | * puresize.h (BASE_PURESIZE): Bump the base value to 1700000. See | ||
| 12 | http://lists.gnu.org/archive/html/emacs-devel/2012-10/msg00593.html | ||
| 13 | for the reasons. | ||
| 14 | |||
| 15 | * alloc.c (NSTATICS): Decrease to 0x800. | ||
| 16 | |||
| 17 | 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 18 | |||
| 19 | * fns.c (Fnreverse): Include the problem element when signalling an | ||
| 20 | error (bug#12677). | ||
| 21 | |||
| 22 | 2012-10-18 Jan Djärv <jan.h.d@swipnet.se> | ||
| 23 | |||
| 24 | * nsterm.m (ns_select): Check writefds before call to | ||
| 25 | FD_ISSET (Bug#12668). | ||
| 26 | |||
| 27 | 2012-10-18 Daniel Colascione <dancol@dancol.org> | ||
| 28 | |||
| 29 | * alloc.c (NSTATICS): Increase from 0x650 to 0x1000 | ||
| 30 | (staticpro): If we run out of staticpro slots, die with an | ||
| 31 | informative error instead of just calling emacs_abort. | ||
| 32 | |||
| 33 | 2012-10-18 Martin Rudalics <rudalics@gmx.at> | ||
| 34 | |||
| 35 | Fix two flaws reported by Dmitry Antipov. | ||
| 36 | * window.c (Ftemp_output_buffer_show): Remove. | ||
| 37 | (Fwindow_vscroll, Fset_window_vscroll): Use decode_live_window. | ||
| 38 | (syms_of_window): Remove defsubr for Stemp_output_buffer_show. | ||
| 39 | |||
| 40 | 2012-10-17 Eli Zaretskii <eliz@gnu.org> | ||
| 41 | |||
| 42 | * makefile.w32-in ($(BLD)/w32.$(O)): | ||
| 43 | ($(BLD)/vm-limit.$(O)): | ||
| 44 | ($(BLD)/term.$(O)): | ||
| 45 | ($(BLD)/unexw32.$(O)): | ||
| 46 | ($(BLD)/fileio.$(O)): | ||
| 47 | ($(BLD)/dispnew.$(O)): Update dependencies. | ||
| 48 | |||
| 49 | * w32term.h (w32_initialize_display_info, initialize_w32_display): | ||
| 50 | Add prototypes. | ||
| 51 | |||
| 52 | * w32proc.c: Include ctype.h. | ||
| 53 | |||
| 54 | * w32.h (init_environment, check_windows_init_file) | ||
| 55 | (syms_of_ntproc, syms_of_ntterm, dostounix_filename) | ||
| 56 | (unixtodos_filename, init_winsock, srandom, random, sys_pipe) | ||
| 57 | (set_process_dir, sys_spawnve, register_child, sys_sleep, getwd) | ||
| 58 | (sys_link): Add prototypes. | ||
| 59 | |||
| 60 | * w32.c: Include w32select.h. | ||
| 61 | (sys_access, e_malloc, sys_select): Add prototypes. | ||
| 62 | (emacs_gnutls_pull): 'timeout' is now EMACS_TIME, not struct timeval. | ||
| 63 | |||
| 64 | * vm-limit.c [WINDOWSNT]: Include w32heap.h. | ||
| 65 | |||
| 66 | * unexw32.c: Include lisp.h and w32.h. | ||
| 67 | |||
| 68 | * term.c [WINDOWSNT]: Include w32term.h. | ||
| 69 | |||
| 70 | * process.c [WINDOWSNT]: Add prototype of sys_select. | ||
| 71 | |||
| 72 | * fileio.c [WINDOWSNT]: Include w32.h. | ||
| 73 | |||
| 74 | * dispnew.c [WINDOWSNT]: Include w32.h. | ||
| 75 | |||
| 76 | * cygw32.c (Fcygwin_convert_path_to_windows) | ||
| 77 | (Fcygwin_convert_path_from_windows): Use EQ to compare 2 | ||
| 78 | Lisp_Object values. (Bug#12661) | ||
| 79 | |||
| 80 | * w32fns.c (w32_msg_pump): Use XIL instead of casting an integer | ||
| 81 | to Lisp_Object. (Bug#12661) | ||
| 82 | |||
| 83 | 2012-10-17 Kenichi Handa <handa@gnu.org> | ||
| 84 | |||
| 85 | * xdisp.c (reseat_1): Make the information stored in it->cmp_it | ||
| 86 | invalidate. | ||
| 87 | |||
| 88 | 2012-10-17 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 89 | |||
| 90 | * buffer.c (Fkill_buffer): When unchaining the marker, | ||
| 91 | reset its buffer pointer to NULL (Bug#12652). | ||
| 92 | |||
| 93 | 2012-10-17 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 94 | |||
| 95 | Do not verify indirection counters of killed buffers (Bug#12579). | ||
| 96 | * buffer.h (BUFFER_CHECK_INDIRECTION): New macro. | ||
| 97 | * buffer.c (compact_buffer, set_buffer_internal_1): Use it. | ||
| 98 | |||
| 99 | 2012-10-16 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 100 | |||
| 101 | * alloc.c (Fmake_byte_code): Fix typo in comment. | ||
| 102 | * print.c (print_interval): Define as static to match prototype. | ||
| 103 | * indent.c (disptab_matches_widthtab, recompute_width_table): | ||
| 104 | Convert to eassert. | ||
| 105 | |||
| 106 | 2012-10-16 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 107 | |||
| 108 | * editfns.c (get_system_name): Remove. | ||
| 109 | * lisp.h (get_system_name): Remove prototype. | ||
| 110 | * xrdb.c (getenv, getpwuid, getpwnam): Remove prototypes. | ||
| 111 | (get_environ_db): Use Vsystem_name. Avoid call to strlen. | ||
| 112 | |||
| 113 | 2012-10-15 Daniel Colascione <dancol@dancol.org> | ||
| 114 | |||
| 115 | * dbusbind.c: Add comment explaining reason for previous change. | ||
| 116 | |||
| 117 | 2012-10-15 Martin Rudalics <rudalics@gmx.at> | ||
| 118 | |||
| 119 | * window.c (Fwindow_end): Rewrite check whether cached position | ||
| 120 | can be used (Bug#12600). | ||
| 121 | (resize_frame_windows, grow_mini_window, shrink_mini_window): | ||
| 122 | Set windows_or_buffers_changed. | ||
| 123 | |||
| 124 | 2012-10-15 Daniel Colascione <dancol@dancol.org> | ||
| 125 | |||
| 126 | * dbusbind.c: Fix cygw32 build break when compiling with dbus | ||
| 127 | enabled by undefining the symbol "interface", which the platform | ||
| 128 | headers define to something incompatible. | ||
| 129 | |||
| 130 | 2012-10-14 Daniel Colascione <dancol@dancol.org> | ||
| 131 | |||
| 132 | * image.c (init_tiff_functions, init_imagemagick_functions) | ||
| 133 | (init_svg_functions): Fix cygw32 build break by using these | ||
| 134 | functions only when WINDOWSNT _and_ HAVE_NTGUI. | ||
| 135 | |||
| 136 | 2012-10-14 Jan Djärv <jan.h.d@swipnet.se> | ||
| 137 | |||
| 138 | * nsterm.m (ns_select): Count fd:s in writefs also (Bug#12422). | ||
| 139 | |||
| 140 | 2012-10-13 Jan Djärv <jan.h.d@swipnet.se> | ||
| 141 | |||
| 142 | * gtkutil.c (xg_set_widget_bg): Divide by 65535 (Bug#12612). | ||
| 143 | |||
| 144 | 2012-10-13 HANATAKA, Shinya <bogytech@gmail.com> (tiny change) | ||
| 145 | |||
| 146 | * coding.c (detect_coding): Set coding->id before calling | ||
| 147 | this->detector. | ||
| 148 | |||
| 149 | 2012-10-13 Andreas Schwab <schwab@linux-m68k.org> | ||
| 150 | |||
| 151 | * fileio.c: Formatting fixes. | ||
| 152 | |||
| 153 | 2012-10-13 Paul Eggert <eggert@cs.ucla.edu> | ||
| 154 | |||
| 155 | Fix some stat-related races. | ||
| 156 | * fileio.c (Fwrite_region): Avoid race condition if a file is | ||
| 157 | removed or renamed by some other process immediately after Emacs | ||
| 158 | writes it but before Emacs stats it. Do not assume that stat (or | ||
| 159 | fstat) succeeds. | ||
| 160 | * image.c (slurp_file): Resolve the file name with fopen + fstat | ||
| 161 | rather than stat + fopen. | ||
| 162 | (pbm_read_file) [0]: Remove unused code with stat race. | ||
| 163 | * process.c (allocate_pty) [HAVE_PTYS && !PTY_ITERATION && !PTY_OPEN]: | ||
| 164 | Remove ineffective code with stat race. | ||
| 165 | |||
| 166 | 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 167 | |||
| 168 | * doc.c (get_doc_string): Don't signal an error if the file is missing. | ||
| 169 | |||
| 170 | 2012-10-12 Jan Djärv <jan.h.d@swipnet.se> | ||
| 171 | |||
| 172 | * nsterm.m (hold_event_q): New static variable. | ||
| 173 | (EV_TRAILER, sendScrollEventAtLoc:fromEvent:): Call hold_event if | ||
| 174 | ! q_event_ptr. | ||
| 175 | (hold_event): New function. | ||
| 176 | (ns_read_socket): If hold_event_q have events, store them and | ||
| 177 | return (Bug#12384). | ||
| 178 | (setPosition:portion:whole:): Send SIGIO to ourselves if apploopnr | ||
| 179 | is zero (Bug#12384). | ||
| 180 | |||
| 181 | 2012-10-12 Juanma Barranquero <lekktu@gmail.com> | ||
| 182 | |||
| 183 | * makefile.w32-in ($(BLD)/w32select.$(O)): Update dependencies. | ||
| 184 | |||
| 185 | 2012-10-12 Eli Zaretskii <eliz@gnu.org> | ||
| 186 | |||
| 187 | * makefile.w32-in ($(BLD)/fileio.$(O)): Add sys/file.h. | ||
| 188 | |||
| 189 | * fileio.c (check_existing): New function. | ||
| 190 | (make_temp_name, Ffile_exists_p, Ffile_writable_p): Call it | ||
| 191 | instead of calling 'stat', when what's needed is to check whether | ||
| 192 | a file exists. This avoids expensive system calls on MS-Windows. | ||
| 193 | (Bug#12587) | ||
| 194 | |||
| 195 | * w32.c (init_environment): Call 'check_existing' instead of 'stat'. | ||
| 196 | |||
| 197 | * lread.c (openp) [WINDOWSNT]: Call 'access' instead of 'stat' to | ||
| 198 | determine whether a file exists and is not a directory. | ||
| 199 | |||
| 200 | * lisp.h (check_existing): Add prototype. | ||
| 201 | |||
| 202 | 2012-10-12 Jan Djärv <jan.h.d@swipnet.se> | ||
| 203 | |||
| 204 | * nsfont.m (nsfont_open): Remove font cache, it is not GC correct. | ||
| 205 | |||
| 206 | 2012-10-12 Glenn Morris <rgm@gnu.org> | ||
| 207 | |||
| 208 | * buffer.c (Fset_buffer): Doc fix. (Bug#12624) | ||
| 209 | |||
| 210 | 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 211 | |||
| 212 | * buffer.c (Fkill_buffer): Null out the overlay list(s) as well. | ||
| 213 | |||
| 214 | * eval.c (Fautoload): Remember previous autoload status in load-history. | ||
| 215 | |||
| 216 | 2012-10-11 Paul Eggert <eggert@cs.ucla.edu> | ||
| 217 | |||
| 218 | lread.c, macros.c, marker.c, menu.c, minibuf.c: Use bool for booleans. | ||
| 219 | * lread.c (load_each_byte, new_backquote_flag, readchar) | ||
| 220 | (read_filtered_event, lisp_file_lexically_bound_p) | ||
| 221 | (safe_to_load_version, Fload, complete_filename_p, openp) | ||
| 222 | (build_load_history, readevalloop, read_escape, read1) | ||
| 223 | (string_to_number, read_vector, read_list): | ||
| 224 | * macros.c (Fstart_kbd_macro): | ||
| 225 | * marker.c (CONSIDER): | ||
| 226 | * menu.c (parse_single_submenu, digest_single_submenu) | ||
| 227 | (find_and_return_menu_selection, Fx_popup_menu): | ||
| 228 | * minibuf.c (read_minibuf_noninteractive, read_minibuf) | ||
| 229 | (Ftry_completion): | ||
| 230 | * nsmenu.m (ns_update_menubar, runMenuAt:forFrame:keymaps:): | ||
| 231 | (ns_menu_show): | ||
| 232 | * xmenu.c (set_frame_menubar, create_and_show_popup_menu) | ||
| 233 | (xmenu_show, xdialog_show): | ||
| 234 | Use bool for booleans. | ||
| 235 | * lread.c (safe_to_load_version): Rename from safe_to_load_p, | ||
| 236 | as it's not a predicate. All uses changed. Omit unnecessary | ||
| 237 | buffer termination. | ||
| 238 | |||
| 239 | 2012-10-11 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 240 | |||
| 241 | * editfns.c (save_excursion_save): Use nil if mark points to nowhere. | ||
| 242 | (save_excursion_restore): Do not restore mark if it was not saved. | ||
| 243 | |||
| 244 | 2012-10-11 Paul Eggert <eggert@cs.ucla.edu> | ||
| 245 | |||
| 246 | * marker.c (cached_modiff): EMACS_INT, not int. | ||
| 247 | |||
| 248 | * w32select.c (waiting_for_input): Declare by including "keyboard.h" | ||
| 249 | instead of having a wrong decl. | ||
| 250 | * nsmenu.m (waiting_for_input): Remove wrong decl. | ||
| 251 | |||
| 252 | 2012-10-10 Paul Eggert <eggert@cs.ucla.edu> | ||
| 253 | |||
| 254 | keyboard.c, keymap.c: Use bool for booleans. | ||
| 255 | * dispnew.c (sit_for): Distinguish between 3-way display_option | ||
| 256 | and boolean do_display. | ||
| 257 | * keyboard.c (single_kboard, this_command_key_count_reset) | ||
| 258 | (waiting_for_input, echoing, immediate_quit, input_pending) | ||
| 259 | (interrupt_input, interrupts_deferred, pop_kboard) | ||
| 260 | (temporarily_switch_to_single_kboard, ignore_mouse_drag_p) | ||
| 261 | (command_loop_1, adjust_point_for_property) | ||
| 262 | (safe_run_hooks_error, input_polling_used, read_char): | ||
| 263 | (help_char_p, readable_events, kbd_buffer_events_waiting) | ||
| 264 | (kbd_buffer_get_event, timer_check_2, make_lispy_event) | ||
| 265 | (lucid_event_type_list_p, get_input_pending): | ||
| 266 | (gobble_input, menu_separator_name_p, menu_bar_item) | ||
| 267 | (parse_menu_item, parse_tool_bar_item, read_char_x_menu_prompt) | ||
| 268 | (read_char_minibuf_menu_prompt, access_keymap_keyremap) | ||
| 269 | (keyremap_step, test_undefined, read_key_sequence) | ||
| 270 | (detect_input_pending, detect_input_pending_ignore_squeezables) | ||
| 271 | (detect_input_pending_run_timers, requeued_events_pending_p) | ||
| 272 | (quit_throw_to_read_char, Fset_input_interrupt_mode): | ||
| 273 | * keymap.c (get_keymap, keymap_parent, keymap_memberp) | ||
| 274 | (access_keymap_1, access_keymap, map_keymap, get_keyelt) | ||
| 275 | (Fdefine_key, Flookup_key, struct accessible_keymaps_data) | ||
| 276 | (accessible_keymaps_1, Fkey_description, push_key_description): | ||
| 277 | (shadow_lookup, struct where_is_internal_data) | ||
| 278 | (where_is_internal, Fwhere_is_internal, where_is_internal_1) | ||
| 279 | (Fdescribe_buffer_bindings, describe_map_tree, struct describe_map_elt) | ||
| 280 | (describe_map, describe_vector): | ||
| 281 | * menu.c (single_menu_item): | ||
| 282 | * nsmenu.m (ns_update_menubar): | ||
| 283 | * process.c (wait_reading_process_output): | ||
| 284 | * search.c (scan_buffer, scan_newline): | ||
| 285 | Use bool for boolean. | ||
| 286 | * keyboard.c (timers_run, swallow_events) | ||
| 287 | (detect_input_pending_run_timers): | ||
| 288 | * process.c (wait_reading_process_output): | ||
| 289 | Use unsigned for counter where wraparound-on-overflow is desired, | ||
| 290 | since unsigned is guaranteed to have that behavior and signed is not. | ||
| 291 | (read_char): Use ptrdiff_t for string length. | ||
| 292 | (get_input_pending): Remove first argument, since it was always | ||
| 293 | the same pointer-to-int (now pointer-to-boolean) &input_pending, | ||
| 294 | and behave as if it had that value. Return new value of | ||
| 295 | input_pending. All callers changed. | ||
| 296 | * keyboard.h (struct kboard): Use unsigned : 1 for boolean member | ||
| 297 | immediate_echo. Use ptrdiff_t for echo_after_prompt, since it's | ||
| 298 | a string length. | ||
| 299 | * keymap.c (push_key_description): Omit last arg, which was always 1. | ||
| 300 | All callers changed. | ||
| 301 | |||
| 302 | * regex.c (immediate_quit) [emacs]: Remove duplicate decl. | ||
| 303 | |||
| 304 | 2012-10-10 Juanma Barranquero <lekktu@gmail.com> | ||
| 305 | |||
| 306 | * makefile.w32-in ($(BLD)/dispnew.$(O), $(BLD)/indent.$(O)) | ||
| 307 | ($(BLD)/term.$(O)): Update dependencies. | ||
| 308 | |||
| 309 | 2012-10-10 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 310 | |||
| 311 | * alloc.c (mark_object): Use meaningful PVEC_NORMAL_VECTOR. | ||
| 312 | * lisp.h (enum pvec_type): Adjust comments and omit explicit | ||
| 313 | initializer for PVEC_NORMAL_VECTOR. | ||
| 314 | |||
| 315 | 2012-10-10 Paul Eggert <eggert@cs.ucla.edu> | ||
| 316 | |||
| 317 | Clean out old termopts cruft. | ||
| 318 | * termopts.h (flow_control, meta_key): Remove unused decls. | ||
| 319 | * dispnew.c, indent.c, nsterm.m, term.c, xsettings.c, xsmfns.c: | ||
| 320 | Don't include termopts.h. | ||
| 321 | |||
| 322 | 2012-10-10 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 323 | |||
| 324 | * alloc.c (gc_sweep): Use pointer-to-a-pointer loop for buffers. | ||
| 325 | |||
| 326 | 2012-10-10 Paul Eggert <eggert@cs.ucla.edu> | ||
| 327 | |||
| 328 | * commands.h (immediate_quit): Remove duplicate decl. | ||
| 329 | |||
| 330 | 2012-10-09 Jan Djärv <jan.h.d@swipnet.se> | ||
| 331 | |||
| 332 | * nsfont.m (Vfonts_in_cache): Remove, not needed as font.c handles | ||
| 333 | caching. | ||
| 334 | (nsfont_open): Remove setting of Vfonts_in_cache. | ||
| 335 | (syms_of_nsfont): Remove initialization of Vfonts_in_cache. | ||
| 336 | |||
| 337 | 2012-10-09 Eli Zaretskii <eliz@gnu.org> | ||
| 338 | |||
| 339 | * w32fns.c (w32_last_error): Change the return value to DWORD, to | ||
| 340 | match what GetLastError returns. Explain why the function is | ||
| 341 | needed. | ||
| 342 | |||
| 343 | * frame.c (delete_frame): Rename local variable 'tooltip_frame' to | ||
| 344 | 'is_tooltip_frame', to avoid confusion with its global namesake. | ||
| 345 | |||
| 346 | 2012-10-08 Daniel Colascione <dancol@dancol.org> | ||
| 347 | |||
| 348 | * xdisp.c (start_hourglass): Call w32_note_current_window when | ||
| 349 | HAVE_NTGUI, not just WINDOWSNT, resolving a problem in the cygw32 | ||
| 350 | build that caused Emacs to display the hourglass cursor forever. | ||
| 351 | |||
| 352 | * w32fns.c (Fx_display_color_cells): Instead of using NCOLORS, | ||
| 353 | which is broken under remote desktop, calculate the number of | ||
| 354 | colors available for a display based on the display's number of | ||
| 355 | planes and number of bits per pixel per plane. (bug#10397). | ||
| 356 | |||
| 357 | 2012-10-08 Jan Djärv <jan.h.d@swipnet.se> | ||
| 358 | |||
| 359 | * nsfont.m (Vfonts_in_cache): New variable. | ||
| 360 | (nsfont_open): Use unsignedLongLongValue for cache in case wide ints | ||
| 361 | are used. Add cached fonts to Vfonts_in_cache. | ||
| 362 | (syms_of_nsfont): Initialize and staticpro Vfonts_in_cache. | ||
| 363 | |||
| 364 | 2012-10-08 Juanma Barranquero <lekktu@gmail.com> | ||
| 365 | |||
| 366 | * makefile.w32-in (LOCAL_FLAGS): Don't define HAVE_NTGUI, it's now | ||
| 367 | in nt/config.nt. | ||
| 368 | (FONT_H): Define after FRAME_H. | ||
| 369 | ($(BLD)/emacs.$(O), $(BLD)/process.$(O), $(BLD)/w32heap.$(O)): | ||
| 370 | Update dependencies. | ||
| 371 | |||
| 372 | * w32term.c: Remove leftover declaration of keyboard_codepage. | ||
| 373 | |||
| 374 | 2012-10-08 Eli Zaretskii <eliz@gnu.org> | ||
| 375 | |||
| 376 | * makefile.w32-in (FONT_H): Add $(FRAME_H). | ||
| 377 | (W32TERM_H): Add $(ATIMER_H) and $(FRAME_H). | ||
| 378 | ($(BLD)/emacs.$(O), $(BLD)/w32console.$(O)): Update dependencies. | ||
| 379 | (GLOBAL_SOURCES): Add cygw32.c. | ||
| 380 | ($(BLD)/unexw32.$(O)): | ||
| 381 | ($(BLD)/w32.$(O)): | ||
| 382 | ($(BLD)/w32console.$(O)): | ||
| 383 | ($(BLD)/w32fns.$(O)): | ||
| 384 | ($(BLD)/w32heap.$(O)): | ||
| 385 | ($(BLD)/w32menu.$(O)): | ||
| 386 | ($(BLD)/w32proc.$(O)): Add w32common.h. | ||
| 387 | |||
| 388 | * w32fns.c (w32_color_map_lookup, x_to_w32_color): Argument is now | ||
| 389 | 'const char *'. | ||
| 390 | (x_to_w32_color): Don't modify the argument, modify a copy instead. | ||
| 391 | |||
| 392 | 2012-10-08 Daniel Colascione <dancol@dancol.org> | ||
| 393 | |||
| 394 | * w32term.h (WM_EMACS_BRINGTOTOP, WM_EMACS_INPUT_READY) | ||
| 395 | (WM_EMACS_END): Change WM_EMACS_BRINGTOTOP from 22 to 21 to close | ||
| 396 | accidental message numbering hole. Change other messages to | ||
| 397 | match. | ||
| 398 | |||
| 399 | * w32select.h (HAVE_W32SELECT): Remove. | ||
| 400 | |||
| 401 | * w32select.c, w32proc.c, w32menu.c, w32console.c, w32.c: Include | ||
| 402 | w32common.h instead of w32heap.h. | ||
| 403 | |||
| 404 | * w32heap.h (ROUND_UP, ROUND_DOWN, get_page_size) | ||
| 405 | (get_allocation_unit, get_processor_type, get_w32_major_version) | ||
| 406 | (get_w32_minor_version, sysinfo_cache, osinfo_cache) | ||
| 407 | (w32_major_version, w32_minor_version, w32_build_number, OS_9X) | ||
| 408 | (OS_NT, os_subtype, cache_system_info): Move declarations to | ||
| 409 | w32common. | ||
| 410 | |||
| 411 | * w32heap.c: Include w32common.h. | ||
| 412 | (sysinfo_cache, syspage_mask, osinfo_cache, w32_major_version) | ||
| 413 | (w32_minor_version, w32_build_number, w32_subtype): | ||
| 414 | Remove duplicate definitions. | ||
| 415 | |||
| 416 | * w32fns.c: Include w32common.h; include w32heap.h only in | ||
| 417 | WINDOWSNT. | ||
| 418 | |||
| 419 | (Fx_file_dialog): Clarify comment on GetOpenFileName structure. | ||
| 420 | Use `report_file_error' instead of `error' in order to better | ||
| 421 | inform users of what went wrong. Increase NTGUI_UNICODE file | ||
| 422 | dialog box file name length to 32k, the maximum allowed by the NT | ||
| 423 | kernel. | ||
| 424 | |||
| 425 | * w32common.h: New file. | ||
| 426 | (ROUND_UP, ROUND_DOWN, get_page_size) | ||
| 427 | (get_allocation_unit, get_processor_type, get_w32_major_version) | ||
| 428 | (get_w32_minor_version, sysinfo_cache, osinfo_cache) | ||
| 429 | (w32_major_version, w32_minor_version, w32_build_number, OS_9X) | ||
| 430 | (OS_NT, os_subtype, cache_system_info): Move here. | ||
| 431 | |||
| 432 | * unexw32.c, unexcw.c: Include w32common.h. | ||
| 433 | |||
| 434 | * emacs.c (main): Use (defined (WINDOWSNT) || defined | ||
| 435 | HAVE_NTGUI) instead of removed HAVE_W32SELECT to decide whether | ||
| 436 | to call syms_of_w32select. | ||
| 437 | |||
| 438 | * cygw32.h: Remove obsolete EXFUN declarations. | ||
| 439 | |||
| 440 | * cygw32.c (Qutf_16_le): Rename to Qutf_16le. | ||
| 441 | |||
| 442 | * Makefile.in (SOME_MACHINE_OBJECTS): Reverse accidental removal | ||
| 443 | of w32inevt.o from SOME_MACHINE_OBJECTS. | ||
| 444 | |||
| 445 | 2012-10-08 Daniel Colascione <dancol@dancol.org> | ||
| 446 | |||
| 447 | * image.c: Permanent fix for JPEG compilation issue --- limit | ||
| 448 | jpeglib `boolean' redefinition to Cygwin builds. | ||
| 449 | |||
| 450 | 2012-10-08 Eli Zaretskii <eliz@gnu.org> | ||
| 451 | |||
| 452 | * image.c (CHECK_LIB_AVAILABLE): Remove, no longer used. | ||
| 453 | |||
| 454 | * emacs.c (DAEMON_MUST_EXEC) [HAVE_NTGUI]: Define this only on | ||
| 455 | Cygwin. | ||
| 456 | |||
| 457 | 2012-10-08 Daniel Colascione <dancol@dancol.org> | ||
| 458 | |||
| 459 | * xfaces.c, xdisp.c, window.c, w32xfns.c, w32term.h, w32term.c, | ||
| 460 | w32select.h w32select.c, w32proc.c, w32menu.c, w32inevt.c, | ||
| 461 | w32help.c, w32font.c, w32font.c, w32fns.c, w32console.c, w32.h, | ||
| 462 | w32.c, unexw32.c, termhooks.h, process.c, menu.c, keyboard.h, | ||
| 463 | keyboard.c, image.c, frame.h, frame.c, fontset.c, font.h, font.c, | ||
| 464 | emacs.c, dispextern.h, cygw32.h, cygw32.c, conf_post.h, | ||
| 465 | Makefile.in: use HAVE_NTGUI for W32 GUI and WINDOWSNT for the | ||
| 466 | operating system. defined(HAVE_NTGUI) && !defined(WINDOWSNT) is | ||
| 467 | now a supported configuration. | ||
| 468 | |||
| 469 | * Makefile.in: consolidate image variables into LIBIMAGE; add | ||
| 470 | W32_OBJ and W32_LIBS. Compile new files. | ||
| 471 | |||
| 472 | * conf_post.h: | ||
| 473 | (_DebPrint) declare tracing facility for W32 debugging. We need | ||
| 474 | to unify tracing later. | ||
| 475 | |||
| 476 | (NTGUI_UNICODE) Define when compiling for Cygwin to allow the | ||
| 477 | unconditional use of W32 Unicode functions. Cygwin runs only on | ||
| 478 | 100% Unicode operating systems. | ||
| 479 | |||
| 480 | * cygw32.c: New file. Define Cygwin-specific facilities. | ||
| 481 | (Fcygwin_convert_path_to_windows) | ||
| 482 | (Fcygwin_convert_path_from_windows): New user functions for | ||
| 483 | accessing Cygwin path-munging routines. | ||
| 484 | |||
| 485 | * cygw32.h: New file. | ||
| 486 | (WCSDATA, to_unicode, from_unicode): Define facilities for storing | ||
| 487 | UTF-16LE strings temporarily inside non-Lisp-visible string | ||
| 488 | objects. | ||
| 489 | |||
| 490 | (w32_strerror): Just what it says on the tin. | ||
| 491 | |||
| 492 | * emacs.c: Make the NS fork-then-exec code for daemon-launching | ||
| 493 | also run for Cygwin; both systems have the same problem with using | ||
| 494 | GUI facilities in a forked child. Also call syms_of_cygw32, | ||
| 495 | syms_of_w32select in correct places. | ||
| 496 | |||
| 497 | (DAEMON_MUST_EXEC): new macro defined to signal that a platform | ||
| 498 | needs fork-then-exec for daemon launching. | ||
| 499 | |||
| 500 | * font.h: Include frame.h. | ||
| 501 | |||
| 502 | * image.c: Use the image library cache machinery only when we're | ||
| 503 | compiling for native WINDOWSNT; Cygwin can use shared libraries | ||
| 504 | like any other Unixlike system. | ||
| 505 | |||
| 506 | * keyboard.c: Clarify a comment regarding the input loop. | ||
| 507 | |||
| 508 | * menu.c: When NTGUI_UNICODE is defined, use Unicode menu | ||
| 509 | functions directly instead of trying to detect at runtime that our | ||
| 510 | host operating system supports them. We make this change for two | ||
| 511 | reasons: Cygwin lacks support for the multibyte character | ||
| 512 | conversion functions used by the legacy menu code, and Cygwin | ||
| 513 | never needs to rely on non-Unicode APIs. | ||
| 514 | |||
| 515 | * unexw32.c (hinst): Declare extern. | ||
| 516 | |||
| 517 | * w32.c: Change header order; | ||
| 518 | (w32_strerror): Move to w32fns.c because we need it for | ||
| 519 | non-WINDOWSNT builds. | ||
| 520 | |||
| 521 | * w32.h: Add #error macro to make sure we don't include w32.h for | ||
| 522 | Cygwin builds. Remove w32select declarations. | ||
| 523 | |||
| 524 | * w32console.c (w32_sys_ring_bell, Fset_message_beep): Move to | ||
| 525 | w32fns.c. w32console.c is WINDOWSNT-only. | ||
| 526 | |||
| 527 | * w32fns.c: Include cygw32.h or w32.h depending on CYGWIN; more | ||
| 528 | NTGUI_UNICODE tweaks. (See above.) Change _snprintf to the more | ||
| 529 | POSIXy alternative. | ||
| 530 | (faked_key, sysinfo_cache, osinfo_cahce, syspage_mask) | ||
| 531 | (w32_major_version, w32_minor_version, w32_build_number) | ||
| 532 | (os_subtype, sound_type): Define here | ||
| 533 | (w32_defined_color): Make color parameter const for consistency | ||
| 534 | with other _defined_color functions. | ||
| 535 | (w32_createwindow): Unconditionally call w32_init_class instead of | ||
| 536 | doing so only when hprevinst is non-NULL. Plumbing hprevinst | ||
| 537 | through the code is complex and unnecessary because class | ||
| 538 | registration is practically free. | ||
| 539 | (w32_name_of_message): New EMACSDEBUG-only function. | ||
| 540 | (Fset_message_beep): Move here | ||
| 541 | (Fx_open_connection): Require that the display name for Windows be | ||
| 542 | "w32" for consistency, emacsclient disambiguation, and maybe, one | ||
| 543 | day, multi-window-system support. | ||
| 544 | (file_dialog_callback): NTGUI_UNICODE changes; encode and decode | ||
| 545 | Cygwin files for W32 GUI facilities, since these clearly don't | ||
| 546 | expect Cygwin names. | ||
| 547 | (_DebPrint): Define. | ||
| 548 | (w32_strerror, w32_console_toggle_lock_key, w32_kbd_mods_to_emacs) | ||
| 549 | (w32_kbd_patch_key, w32_sys_ring_bell): Move here. | ||
| 550 | (Ssystem_move_file_to_trash): Define only for native WINDOWSNT. | ||
| 551 | (w32_last_error): Remove. | ||
| 552 | |||
| 553 | * w32font.c: Define _strlwr to strlwr for non-WINDOWSNT builds. | ||
| 554 | |||
| 555 | * w32heap.c (syspage_mask): Declare here. | ||
| 556 | (cache_system_info): Remove. | ||
| 557 | |||
| 558 | * w32inevt.c (faked_key): Define globally, not statically. | ||
| 559 | (w32_kbd_mods_to_emacs, w32_kbd_patch_key, faked_key) | ||
| 560 | (w32_console_toggle_lock_key): Move to w32fns.c. | ||
| 561 | |||
| 562 | * w32menu.c: Include setjmp.h. NTGUI_UNICODE changes throughout. | ||
| 563 | |||
| 564 | * w32proc.c (_DebPrint): Move to w32fns.c. | ||
| 565 | * w32select.c: Include string.h, stdio.h for Cygwin. | ||
| 566 | * w32select.h: New File. | ||
| 567 | |||
| 568 | * w32term.c: Include io.h for non-CYGWIN builds; needed for | ||
| 569 | get_osfhandle. | ||
| 570 | (w32_message_fd): New variable. Under Cygwin, holds the file | ||
| 571 | descriptor the system used to tell us about pending thread | ||
| 572 | messages. | ||
| 573 | |||
| 574 | (w32_init_term): Remove incorrect calls to fcntl and init_sigio | ||
| 575 | that prevented compilation under non-WINDOWSNT systems. | ||
| 576 | |||
| 577 | (w32_initialize): Open /dev/windows and assign it to | ||
| 578 | w32_message_fd. Provide w32 feature. | ||
| 579 | |||
| 580 | * w32term.h: Include frame.h, atimer.h. Declare various frame functions. | ||
| 581 | (WM_EMACS_INPUT_READY): add. | ||
| 582 | (prepend_msg, w32_message_fd): Declare globally. | ||
| 583 | |||
| 584 | * w32xfns.c: | ||
| 585 | (keyboard_handle): Use only when WINDOWSNT. | ||
| 586 | (notify_msg_ready): New function. Posts a message to the main | ||
| 587 | thread's message queue under CYGWIN, which wakes up the main | ||
| 588 | thread from select(2) by making the /dev/windows file descriptor | ||
| 589 | ready. Under WINDOWSNT, it sets an event the same way the old | ||
| 590 | code did. | ||
| 591 | |||
| 592 | (post, prepend_msg): Actually call notify_msg_ready instead of | ||
| 593 | setting the input event directly. | ||
| 594 | |||
| 595 | 2012-10-07 Eli Zaretskii <eliz@gnu.org> | ||
| 596 | |||
| 597 | * ralloc.c (relinquish): If a heap is ready to be relinquished, | ||
| 598 | but it still has blocs in it, don't return it to the system, | ||
| 599 | instead of aborting. (Bug#12402) | ||
| 600 | |||
| 601 | 2012-10-07 Jan Djärv <jan.h.d@swipnet.se> | ||
| 602 | |||
| 603 | * nsterm.m (ns_dumpglyphs_image): Only draw slice of image (Bug#12506). | ||
| 604 | |||
| 605 | * nsterm.m (ns_update_auto_hide_menu_bar): Remove defintion of | ||
| 606 | MAC_OS_X_VERSION_10_6. | ||
| 607 | (syms_of_nsterm): Remove comment about Panther and above for | ||
| 608 | ns-antialias-text. | ||
| 609 | * nsterm.h (MAC_OS_X_VERSION_10_3, onTiger): Remove. | ||
| 610 | (EmacsApp): Remove check for >= MAC_OS_X_VERSION_10_4. | ||
| 611 | (struct nsfont_info): Remove check for >= MAC_OS_X_VERSION_10_3. | ||
| 612 | |||
| 613 | * nsselect.m (ns_string_from_pasteboard): Remove check for >= | ||
| 614 | MAC_OS_X_VERSION_10_4. | ||
| 615 | |||
| 616 | * nsmenu.m (fillWithWidgetValue:): Remove code for < | ||
| 617 | MAC_OS_X_VERSION_10_2. | ||
| 618 | |||
| 619 | * nsimage.m (setPixmapData, getPixelAtX, setAlphaAtX): Remove onTiger. | ||
| 620 | |||
| 621 | * nsfns.m (Fns_list_services): Remove comment and check for OSX < 10.4. | ||
| 622 | (ns_do_applescript): Remove check for >= MAC_OS_X_VERSION_10_4. | ||
| 623 | |||
| 624 | * nsterm.m (ns_in_resize): Remove (Bug#12479). | ||
| 625 | (ns_resize_handle_rect, mouseDown, mouseUp, mouseDragged): Remove. | ||
| 626 | (ns_clear_frame, sendEvent, windowDidResize, drawRect:): | ||
| 627 | Remove ns_in_resize check. | ||
| 628 | (ns_clear_frame_area): Remove resize handle code. | ||
| 629 | |||
| 630 | * nsfns.m (ns_in_resize): Remove. | ||
| 631 | (x_set_icon_name, ns_set_name, ns_set_name_as_filename): Remove | ||
| 632 | ns_in_resize check. | ||
| 633 | |||
| 634 | 2012-10-07 Paul Eggert <eggert@cs.ucla.edu> | ||
| 635 | |||
| 636 | Improve sys_siglist detection. | ||
| 637 | * sysdep.c (sys_siglist, init_signals): Use _sys_siglist if it's | ||
| 638 | defined as a macro, as is done in Solaris. | ||
| 639 | (sys_siglist_entries): New macro. | ||
| 640 | (save_strsignal): Use it. | ||
| 641 | * syssignal.h (safe_strsignal): Now ATTRIBUTE_CONST, to pacify | ||
| 642 | GCC 4.7.2 on Fedora 17 with the fixed sys_siglist detection. | ||
| 643 | |||
| 644 | 2012-10-06 Jan Djärv <jan.h.d@swipnet.se> | ||
| 645 | |||
| 646 | * nsfns.m (Fx_create_frame): Call x_default_parameter with | ||
| 647 | fullscreen/Fullscreen. | ||
| 648 | |||
| 649 | * nsterm.h (EmacsView): Rename tbar_height to tibar_height. | ||
| 650 | tobar_height is new. | ||
| 651 | |||
| 652 | * nsterm.m (x_make_frame_visible): Check for fullscreen. | ||
| 653 | (ns_fullscreen_hook): Activate old style fullscreen with a timer. | ||
| 654 | (ns_term_init): Set activateIgnoringOtherApps if old style fullscreen. | ||
| 655 | (windowDidResize:): Check for correct window if old style fullscreen. | ||
| 656 | Capitalize word in comment. Remove incorrect comment. | ||
| 657 | (initFrameFromEmacs:): tbar_height renamed tibar_height. | ||
| 658 | (windowDidEnterFullScreen:): Toggle toolbar for fullscreen to fix | ||
| 659 | error in drawing background. | ||
| 660 | (toggleFullScreen:): Remove comment. Rearrange calls. | ||
| 661 | Set toolbar values to zero, save old height in tobar_height. | ||
| 662 | Restore tool bar height when leaving fullscreen. | ||
| 663 | (canBecomeMainWindow): New function. | ||
| 664 | |||
| 665 | 2012-10-06 Paul Eggert <eggert@cs.ucla.edu> | ||
| 666 | |||
| 667 | * keyboard.c (read_char): Remove unnecessary 'volatile's and label. | ||
| 668 | |||
| 669 | 2012-10-05 Eli Zaretskii <eliz@gnu.org> | ||
| 670 | |||
| 671 | * w32proc.c (stop_timer_thread): Fix declaration of 'err'. | ||
| 672 | |||
| 673 | * w32.c (utime): Open the file with FILE_FLAG_BACKUP_SEMANTICS, so | ||
| 674 | that time stamps of directories could also be changed. | ||
| 675 | Don't request the too broad GENERIC_WRITE, only the more restrictive | ||
| 676 | FILE_WRITE_ATTRIBUTES access rights. | ||
| 677 | |||
| 678 | * fileio.c (Fset_file_times): Special-case ignoring errors for | ||
| 679 | directories only on MSDOS, not on MS-Windows. | ||
| 680 | |||
| 681 | 2012-10-05 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change) | ||
| 682 | |||
| 683 | * minibuf.c (Fcompleting_read): Doc fix. (Bug#12555) | ||
| 684 | |||
| 685 | 2012-10-04 Eli Zaretskii <eliz@gnu.org> | ||
| 686 | |||
| 687 | * w32.c (utime): Test for INVALID_HANDLE_VALUE, not for NULL, to | ||
| 688 | see whether CreateFile failed. | ||
| 689 | |||
| 690 | 2012-10-04 Paul Eggert <eggert@cs.ucla.edu> | ||
| 691 | |||
| 692 | * profiler.c (handle_profiler_signal): Inhibit pending signals too, | ||
| 693 | to avoid similar races. | ||
| 694 | * keyboard.c (pending_signals): Now bool, not int. | ||
| 695 | |||
| 696 | Port timers to OpenBSD, plus check for timer failures. | ||
| 697 | OpenBSD problem reported by Han Boetes. | ||
| 698 | * profiler.c (setup_cpu_timer): Check for failure of timer_settime | ||
| 699 | and/or setitimer. | ||
| 700 | (Fprofiler_cpu_stop): Don't assume HAVE_SETITIMER. | ||
| 701 | * syssignal.h (HAVE_ITIMERSPEC): New macro. This is for platforms | ||
| 702 | like OpenBSD, which has timer_settime but does not declare it. | ||
| 703 | OpenBSD does not define SIGEV_SIGNAL, so use that when deciding | ||
| 704 | whether to use itimerspec-related primitives. All uses of | ||
| 705 | HAVE_TIMER_SETTIME replaced with HAVE_ITIMERSPEC. | ||
| 706 | |||
| 1 | 2012-10-02 Paul Eggert <eggert@cs.ucla.edu> | 707 | 2012-10-02 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 708 | ||
| 3 | * profiler.c (handle_profiler_signal): Fix a malloc race | 709 | * profiler.c (handle_profiler_signal): Fix a malloc race |
| @@ -374,7 +1080,7 @@ | |||
| 374 | Call setCollectionBehavior if NEW_STYLE_FS. Initialize bwidth and | 1080 | Call setCollectionBehavior if NEW_STYLE_FS. Initialize bwidth and |
| 375 | tbar_height. | 1081 | tbar_height. |
| 376 | (windowWillUseStandardFrame:defaultFrame:): Update frame parameter | 1082 | (windowWillUseStandardFrame:defaultFrame:): Update frame parameter |
| 377 | fullscreen. Set maximized_width/height. Act on next_maximized. | 1083 | fullscreen. Set maximized_width/height. Act on next_maximized. |
| 378 | 1084 | ||
| 379 | * nsterm.h (MAC_OS_X_VERSION_10_7, MAC_OS_X_VERSION_10_8): New. | 1085 | * nsterm.h (MAC_OS_X_VERSION_10_7, MAC_OS_X_VERSION_10_8): New. |
| 380 | (EmacsView): Add variables for fullscreen. | 1086 | (EmacsView): Add variables for fullscreen. |
| @@ -1030,7 +1736,7 @@ | |||
| 1030 | 2012-09-19 Paul Eggert <eggert@cs.ucla.edu> | 1736 | 2012-09-19 Paul Eggert <eggert@cs.ucla.edu> |
| 1031 | 1737 | ||
| 1032 | * w32inevt.c (w32_console_read_socket): Return -1 on failure, not 0. | 1738 | * w32inevt.c (w32_console_read_socket): Return -1 on failure, not 0. |
| 1033 | Ignore 'expected'. See Eli Zaretskii in | 1739 | Ignore 'expected'. See Eli Zaretskii in |
| 1034 | <http://bugs.gnu.org/12471#8> (last line). | 1740 | <http://bugs.gnu.org/12471#8> (last line). |
| 1035 | 1741 | ||
| 1036 | * frame.c (read_integer): Remove. All uses replaced by strtol/strtoul. | 1742 | * frame.c (read_integer): Remove. All uses replaced by strtol/strtoul. |
| @@ -1097,7 +1803,7 @@ | |||
| 1097 | (bytes_used_when_full, emacs_blocked_free, emacs_blocked_malloc) | 1803 | (bytes_used_when_full, emacs_blocked_free, emacs_blocked_malloc) |
| 1098 | (emacs_blocked_realloc, reset_malloc_hooks, uninterrupt_malloc): | 1804 | (emacs_blocked_realloc, reset_malloc_hooks, uninterrupt_malloc): |
| 1099 | [!SYSTEM_MALLOC && !SYNC_INPUT]: | 1805 | [!SYSTEM_MALLOC && !SYNC_INPUT]: |
| 1100 | Remove. All uses removed. | 1806 | Remove. All uses removed. |
| 1101 | (MALLOC_BLOCK_INPUT, MALLOC_UNBLOCK_INPUT): Use a different | 1807 | (MALLOC_BLOCK_INPUT, MALLOC_UNBLOCK_INPUT): Use a different |
| 1102 | implementation, one that depends on whether the new macro | 1808 | implementation, one that depends on whether the new macro |
| 1103 | XMALLOC_BLOCK_INPUT_CHECK is defined, not on whether SYNC_INPUT | 1809 | XMALLOC_BLOCK_INPUT_CHECK is defined, not on whether SYNC_INPUT |
| @@ -1387,7 +2093,7 @@ | |||
| 1387 | * alloc.c (discard_killed_buffers): New function. | 2093 | * alloc.c (discard_killed_buffers): New function. |
| 1388 | (mark_object): Use it for deleted windows and frames. | 2094 | (mark_object): Use it for deleted windows and frames. |
| 1389 | (mark_object): If symbol's value is set up for a killed buffer | 2095 | (mark_object): If symbol's value is set up for a killed buffer |
| 1390 | or deleted frame, restore it's global binding. | 2096 | or deleted frame, restore its global binding. |
| 1391 | * data.c (swap_in_global_binding): Add GC notice. | 2097 | * data.c (swap_in_global_binding): Add GC notice. |
| 1392 | (swap_in_symval_forwarding): Use convenient set_blv_where. | 2098 | (swap_in_symval_forwarding): Use convenient set_blv_where. |
| 1393 | * window.c (wset_next_buffers, wset_prev_buffers): Move ... | 2099 | * window.c (wset_next_buffers, wset_prev_buffers): Move ... |
| @@ -3694,7 +4400,7 @@ | |||
| 3694 | 4400 | ||
| 3695 | * nsterm.m (ns_set_vertical_scroll_bar, ns_redeem_scroll_bar) | 4401 | * nsterm.m (ns_set_vertical_scroll_bar, ns_redeem_scroll_bar) |
| 3696 | (EmacsWindow-accessibilityAttributeValue, EmacsScroller-initFrame:) | 4402 | (EmacsWindow-accessibilityAttributeValue, EmacsScroller-initFrame:) |
| 3697 | (EmacsScroller-dealloc): Adjust to use WVAR. (Bug#12114) | 4403 | (EmacsScroller-dealloc): Adjust to use WVAR. (Bug#12114) |
| 3698 | * nsfns.m (ns_set_name_as_filename): Likewise. | 4404 | * nsfns.m (ns_set_name_as_filename): Likewise. |
| 3699 | * nsmenu.m (ns_update_menubar): Likewise. | 4405 | * nsmenu.m (ns_update_menubar): Likewise. |
| 3700 | * nsselect.m (symbol_to_nsstring): Adjust to use SVAR. | 4406 | * nsselect.m (symbol_to_nsstring): Adjust to use SVAR. |
| @@ -5790,7 +6496,7 @@ | |||
| 5790 | Fix block vector allocation code to allow VECTOR_BLOCK_SIZE | 6496 | Fix block vector allocation code to allow VECTOR_BLOCK_SIZE |
| 5791 | values which aren't power of 2. | 6497 | values which aren't power of 2. |
| 5792 | * alloc.c (VECTOR_FREE_LIST_SIZE_MASK): New macro. | 6498 | * alloc.c (VECTOR_FREE_LIST_SIZE_MASK): New macro. |
| 5793 | Verify it's value and the value of VECTOR_BLOCK_SIZE. Adjust users | 6499 | Verify its value and the value of VECTOR_BLOCK_SIZE. Adjust users |
| 5794 | accordingly. | 6500 | accordingly. |
| 5795 | 6501 | ||
| 5796 | 2012-07-03 Stefan Monnier <monnier@iro.umontreal.ca> | 6502 | 2012-07-03 Stefan Monnier <monnier@iro.umontreal.ca> |
| @@ -6959,7 +7665,7 @@ | |||
| 6959 | bitfields where appropriate, remove unused fields. | 7665 | bitfields where appropriate, remove unused fields. |
| 6960 | * window.h (struct window): Remove unused 'last_mark_x' and | 7666 | * window.h (struct window): Remove unused 'last_mark_x' and |
| 6961 | 'last_mark_y' fields. Rename 'mini_p' field to 'mini', | 7667 | 'last_mark_y' fields. Rename 'mini_p' field to 'mini', |
| 6962 | change it's type from Lisp_Object to bitfield. | 7668 | change its type from Lisp_Object to bitfield. |
| 6963 | Change type of 'force_start', 'optional_new_start', | 7669 | Change type of 'force_start', 'optional_new_start', |
| 6964 | 'last_had_star', 'update_mode_line' and 'start_at_line_beg' | 7670 | 'last_had_star', 'update_mode_line' and 'start_at_line_beg' |
| 6965 | fields from Lisp_Object to bitfield. Adjust users accordingly. | 7671 | fields from Lisp_Object to bitfield. Adjust users accordingly. |