aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorEli Zaretskii2012-10-17 23:07:59 +0200
committerEli Zaretskii2012-10-17 23:07:59 +0200
commit8cd879af4a393715c1c7f44a174248e85f7810ab (patch)
treef0779e2a9c855ccba82628f6bcda43ef0d800ff3 /src/ChangeLog
parent37a4dabe8aaa51e15cf63e43710ee4b8f35d434b (diff)
parenta68089e4a4dd41c9b838d82d1d96d971b01398c8 (diff)
downloademacs-8cd879af4a393715c1c7f44a174248e85f7810ab.tar.gz
emacs-8cd879af4a393715c1c7f44a174248e85f7810ab.zip
Merge from trunk.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog199
1 files changed, 149 insertions, 50 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b573f8c1476..007a73f7988 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,103 @@
12012-10-17 Eli Zaretskii <eliz@gnu.org>
2
3 * makefile.w32-in ($(BLD)/w32.$(O)):
4 ($(BLD)/vm-limit.$(O)):
5 ($(BLD)/term.$(O)):
6 ($(BLD)/unexw32.$(O)):
7 ($(BLD)/fileio.$(O)):
8 ($(BLD)/dispnew.$(O)): Update dependencies.
9
10 * w32term.h (w32_initialize_display_info, initialize_w32_display):
11 Add prototypes.
12
13 * w32proc.c: Include ctype.h.
14
15 * w32.h (init_environment, check_windows_init_file)
16 (syms_of_ntproc, syms_of_ntterm, dostounix_filename)
17 (unixtodos_filename, init_winsock, srandom, random, sys_pipe)
18 (set_process_dir, sys_spawnve, register_child, sys_sleep, getwd)
19 (sys_link): Add prototypes.
20
21 * w32.c: Include w32select.h.
22 (sys_access, e_malloc, sys_select): Add prototypes.
23 (emacs_gnutls_pull): 'timeout' is now EMACS_TIME, not struct timeval.
24
25 * vm-limit.c [WINDOWSNT]: Include w32heap.h.
26
27 * unexw32.c: Include lisp.h and w32.h.
28
29 * term.c [WINDOWSNT]: Include w32term.h.
30
31 * process.c [WINDOWSNT]: Add prototype of sys_select.
32
33 * fileio.c [WINDOWSNT]: Include w32.h.
34
35 * dispnew.c [WINDOWSNT]: Include w32.h.
36
37 * cygw32.c (Fcygwin_convert_path_to_windows)
38 (Fcygwin_convert_path_from_windows): Use EQ to compare 2
39 Lisp_Object values. (Bug#12661)
40
41 * w32fns.c (w32_msg_pump): Use XIL instead of casting an integer
42 to Lisp_Object. (Bug#12661)
43
442012-10-17 Kenichi Handa <handa@gnu.org>
45
46 * xdisp.c (reseat_1): Make the information stored in it->cmp_it
47 invalidate.
48
492012-10-17 Dmitry Antipov <dmantipov@yandex.ru>
50
51 * buffer.c (Fkill_buffer): When unchaining the marker,
52 reset its buffer pointer to NULL (Bug#12652).
53
542012-10-17 Dmitry Antipov <dmantipov@yandex.ru>
55
56 Do not verify indirection counters of killed buffers (Bug#12579).
57 * buffer.h (BUFFER_CHECK_INDIRECTION): New macro.
58 * buffer.c (compact_buffer, set_buffer_internal_1): Use it.
59
602012-10-16 Dmitry Antipov <dmantipov@yandex.ru>
61
62 * alloc.c (Fmake_byte_code): Fix typo in comment.
63 * print.c (print_interval): Define as static to match prototype.
64 * indent.c (disptab_matches_widthtab, recompute_width_table):
65 Convert to eassert.
66
672012-10-16 Dmitry Antipov <dmantipov@yandex.ru>
68
69 * editfns.c (get_system_name): Remove.
70 * lisp.h (get_system_name): Remove prototype.
71 * xrdb.c (getenv, getpwuid, getpwnam): Remove prototypes.
72 (get_environ_db): Use Vsystem_name. Avoid call to strlen.
73
742012-10-15 Daniel Colascione <dancol@dancol.org>
75
76 * dbusbind.c: Add comment explaining reason for previous change.
77
782012-10-15 Martin Rudalics <rudalics@gmx.at>
79
80 * window.c (Fwindow_end): Rewrite check whether cached position
81 can be used (Bug#12600).
82 (resize_frame_windows, grow_mini_window, shrink_mini_window):
83 Set windows_or_buffers_changed.
84
852012-10-15 Daniel Colascione <dancol@dancol.org>
86
87 * dbusbind.c: Fix cygw32 build break when compiling with dbus
88 enabled by undefining the symbol "interface", which the platform
89 headers define to something incompatible.
90
912012-10-14 Daniel Colascione <dancol@dancol.org>
92
93 * image.c (init_tiff_functions, init_imagemagick_functions)
94 (init_svg_functions): Fix cygw32 build break by using these
95 functions only when WINDOWSNT _and_ HAVE_NTGUI.
96
972012-10-14 Jan Djärv <jan.h.d@swipnet.se>
98
99 * nsterm.m (ns_select): Count fd:s in writefs also (Bug#12422).
100
12012-10-13 Jan Djärv <jan.h.d@swipnet.se> 1012012-10-13 Jan Djärv <jan.h.d@swipnet.se>
2 102
3 * gtkutil.c (xg_set_widget_bg): Divide by 65535 (Bug#12612). 103 * gtkutil.c (xg_set_widget_bg): Divide by 65535 (Bug#12612).
@@ -53,8 +153,7 @@
53 a file exists. This avoids expensive system calls on MS-Windows. 153 a file exists. This avoids expensive system calls on MS-Windows.
54 (Bug#12587) 154 (Bug#12587)
55 155
56 * w32.c (init_environment): Call 'check_existing' instead of 156 * w32.c (init_environment): Call 'check_existing' instead of 'stat'.
57 'stat'.
58 157
59 * lread.c (openp) [WINDOWSNT]: Call 'access' instead of 'stat' to 158 * lread.c (openp) [WINDOWSNT]: Call 'access' instead of 'stat' to
60 determine whether a file exists and is not a directory. 159 determine whether a file exists and is not a directory.
@@ -194,7 +293,7 @@
194 * nsfont.m (Vfonts_in_cache): Remove, not needed as font.c handles 293 * nsfont.m (Vfonts_in_cache): Remove, not needed as font.c handles
195 caching. 294 caching.
196 (nsfont_open): Remove setting of Vfonts_in_cache. 295 (nsfont_open): Remove setting of Vfonts_in_cache.
197 (syms_of_nsfont): Remove initialization of Vfonts_in_cache 296 (syms_of_nsfont): Remove initialization of Vfonts_in_cache.
198 297
1992012-10-09 Eli Zaretskii <eliz@gnu.org> 2982012-10-09 Eli Zaretskii <eliz@gnu.org>
200 299
@@ -261,7 +360,7 @@
261 * w32select.h (HAVE_W32SELECT): Remove. 360 * w32select.h (HAVE_W32SELECT): Remove.
262 361
263 * w32select.c, w32proc.c, w32menu.c, w32console.c, w32.c: Include 362 * w32select.c, w32proc.c, w32menu.c, w32console.c, w32.c: Include
264 w32common.h instead of w32heap.h 363 w32common.h instead of w32heap.h.
265 364
266 * w32heap.h (ROUND_UP, ROUND_DOWN, get_page_size) 365 * w32heap.h (ROUND_UP, ROUND_DOWN, get_page_size)
267 (get_allocation_unit, get_processor_type, get_w32_major_version) 366 (get_allocation_unit, get_processor_type, get_w32_major_version)
@@ -272,8 +371,8 @@
272 371
273 * w32heap.c: Include w32common.h. 372 * w32heap.c: Include w32common.h.
274 (sysinfo_cache, syspage_mask, osinfo_cache, w32_major_version) 373 (sysinfo_cache, syspage_mask, osinfo_cache, w32_major_version)
275 (w32_minor_version, w32_build_number, w32_subtype): Remove 374 (w32_minor_version, w32_build_number, w32_subtype):
276 duplicate definitions. 375 Remove duplicate definitions.
277 376
278 * w32fns.c: Include w32common.h; include w32heap.h only in 377 * w32fns.c: Include w32common.h; include w32heap.h only in
279 WINDOWSNT. 378 WINDOWSNT.
@@ -384,7 +483,7 @@
384 Cygwin builds. Remove w32select declarations. 483 Cygwin builds. Remove w32select declarations.
385 484
386 * w32console.c (w32_sys_ring_bell, Fset_message_beep): Move to 485 * w32console.c (w32_sys_ring_bell, Fset_message_beep): Move to
387 w32fns.c. w32console.c is WINDOWSNT-only. 486 w32fns.c. w32console.c is WINDOWSNT-only.
388 487
389 * w32fns.c: Include cygw32.h or w32.h depending on CYGWIN; more 488 * w32fns.c: Include cygw32.h or w32.h depending on CYGWIN; more
390 NTGUI_UNICODE tweaks. (See above.) Change _snprintf to the more 489 NTGUI_UNICODE tweaks. (See above.) Change _snprintf to the more
@@ -460,6 +559,39 @@
460 but it still has blocs in it, don't return it to the system, 559 but it still has blocs in it, don't return it to the system,
461 instead of aborting. (Bug#12402) 560 instead of aborting. (Bug#12402)
462 561
5622012-10-07 Jan Djärv <jan.h.d@swipnet.se>
563
564 * nsterm.m (ns_dumpglyphs_image): Only draw slice of image (Bug#12506).
565
566 * nsterm.m (ns_update_auto_hide_menu_bar): Remove defintion of
567 MAC_OS_X_VERSION_10_6.
568 (syms_of_nsterm): Remove comment about Panther and above for
569 ns-antialias-text.
570 * nsterm.h (MAC_OS_X_VERSION_10_3, onTiger): Remove.
571 (EmacsApp): Remove check for >= MAC_OS_X_VERSION_10_4.
572 (struct nsfont_info): Remove check for >= MAC_OS_X_VERSION_10_3.
573
574 * nsselect.m (ns_string_from_pasteboard): Remove check for >=
575 MAC_OS_X_VERSION_10_4.
576
577 * nsmenu.m (fillWithWidgetValue:): Remove code for <
578 MAC_OS_X_VERSION_10_2.
579
580 * nsimage.m (setPixmapData, getPixelAtX, setAlphaAtX): Remove onTiger.
581
582 * nsfns.m (Fns_list_services): Remove comment and check for OSX < 10.4.
583 (ns_do_applescript): Remove check for >= MAC_OS_X_VERSION_10_4.
584
585 * nsterm.m (ns_in_resize): Remove (Bug#12479).
586 (ns_resize_handle_rect, mouseDown, mouseUp, mouseDragged): Remove.
587 (ns_clear_frame, sendEvent, windowDidResize, drawRect:):
588 Remove ns_in_resize check.
589 (ns_clear_frame_area): Remove resize handle code.
590
591 * nsfns.m (ns_in_resize): Remove.
592 (x_set_icon_name, ns_set_name, ns_set_name_as_filename): Remove
593 ns_in_resize check.
594
4632012-10-07 Eli Zaretskii <eliz@gnu.org> 5952012-10-07 Eli Zaretskii <eliz@gnu.org>
464 596
465 * w32term.h (WM_EMACS_FILENOTIFY): New custom message. 597 * w32term.h (WM_EMACS_FILENOTIFY): New custom message.
@@ -494,39 +626,6 @@
494 626
495 * alloc.c (NSTATICS): Enlarge to 0x660. 627 * alloc.c (NSTATICS): Enlarge to 0x660.
496 628
4972012-10-07 Jan Djärv <jan.h.d@swipnet.se>
498
499 * nsterm.m (ns_dumpglyphs_image): Only draw slice of image (Bug#12506).
500
501 * nsterm.m (ns_update_auto_hide_menu_bar): Remove defintion of
502 MAC_OS_X_VERSION_10_6.
503 (syms_of_nsterm): Remove comment about Panther and above for
504 ns-antialias-text.
505 * nsterm.h (MAC_OS_X_VERSION_10_3, onTiger): Remove.
506 (EmacsApp): Remove check for >= MAC_OS_X_VERSION_10_4.
507 (struct nsfont_info): Remove check for >= MAC_OS_X_VERSION_10_3.
508
509 * nsselect.m (ns_string_from_pasteboard): Remove check for >=
510 MAC_OS_X_VERSION_10_4.
511
512 * nsmenu.m (fillWithWidgetValue:): Remove code for <
513 MAC_OS_X_VERSION_10_2.
514
515 * nsimage.m (setPixmapData, getPixelAtX, setAlphaAtX): Remove onTiger.
516
517 * nsfns.m (Fns_list_services): Remove comment and check for OSX < 10.4.
518 (ns_do_applescript): Remove check for >= MAC_OS_X_VERSION_10_4.
519
520 * nsterm.m (ns_in_resize): Remove (Bug#12479).
521 (ns_resize_handle_rect, mouseDown, mouseUp, mouseDragged): Remove.
522 (ns_clear_frame, sendEvent, windowDidResize, drawRect:): Remove
523 ns_in_resize check.
524 (ns_clear_frame_area): Remove resize handle code.
525
526 * nsfns.m (ns_in_resize): Remove.
527 (x_set_icon_name, ns_set_name, ns_set_name_as_filename): Remove
528 ns_in_resize check.
529
5302012-10-07 Paul Eggert <eggert@cs.ucla.edu> 6292012-10-07 Paul Eggert <eggert@cs.ucla.edu>
531 630
532 Improve sys_siglist detection. 631 Improve sys_siglist detection.
@@ -553,7 +652,7 @@
553 (initFrameFromEmacs:): tbar_height renamed tibar_height. 652 (initFrameFromEmacs:): tbar_height renamed tibar_height.
554 (windowDidEnterFullScreen:): Toggle toolbar for fullscreen to fix 653 (windowDidEnterFullScreen:): Toggle toolbar for fullscreen to fix
555 error in drawing background. 654 error in drawing background.
556 (toggleFullScreen:): Remove comment. Rearrange calls. 655 (toggleFullScreen:): Remove comment. Rearrange calls.
557 Set toolbar values to zero, save old height in tobar_height. 656 Set toolbar values to zero, save old height in tobar_height.
558 Restore tool bar height when leaving fullscreen. 657 Restore tool bar height when leaving fullscreen.
559 (canBecomeMainWindow): New function. 658 (canBecomeMainWindow): New function.
@@ -567,8 +666,8 @@
567 * w32proc.c (stop_timer_thread): Fix declaration of 'err'. 666 * w32proc.c (stop_timer_thread): Fix declaration of 'err'.
568 667
569 * w32.c (utime): Open the file with FILE_FLAG_BACKUP_SEMANTICS, so 668 * w32.c (utime): Open the file with FILE_FLAG_BACKUP_SEMANTICS, so
570 that time stamps of directories could also be changed. Don't 669 that time stamps of directories could also be changed.
571 request the too broad GENERIC_WRITE, only the more restrictive 670 Don't request the too broad GENERIC_WRITE, only the more restrictive
572 FILE_WRITE_ATTRIBUTES access rights. 671 FILE_WRITE_ATTRIBUTES access rights.
573 672
574 * fileio.c (Fset_file_times): Special-case ignoring errors for 673 * fileio.c (Fset_file_times): Special-case ignoring errors for
@@ -976,7 +1075,7 @@
976 Call setCollectionBehavior if NEW_STYLE_FS. Initialize bwidth and 1075 Call setCollectionBehavior if NEW_STYLE_FS. Initialize bwidth and
977 tbar_height. 1076 tbar_height.
978 (windowWillUseStandardFrame:defaultFrame:): Update frame parameter 1077 (windowWillUseStandardFrame:defaultFrame:): Update frame parameter
979 fullscreen. Set maximized_width/height. Act on next_maximized. 1078 fullscreen. Set maximized_width/height. Act on next_maximized.
980 1079
981 * nsterm.h (MAC_OS_X_VERSION_10_7, MAC_OS_X_VERSION_10_8): New. 1080 * nsterm.h (MAC_OS_X_VERSION_10_7, MAC_OS_X_VERSION_10_8): New.
982 (EmacsView): Add variables for fullscreen. 1081 (EmacsView): Add variables for fullscreen.
@@ -1632,7 +1731,7 @@
16322012-09-19 Paul Eggert <eggert@cs.ucla.edu> 17312012-09-19 Paul Eggert <eggert@cs.ucla.edu>
1633 1732
1634 * w32inevt.c (w32_console_read_socket): Return -1 on failure, not 0. 1733 * w32inevt.c (w32_console_read_socket): Return -1 on failure, not 0.
1635 Ignore 'expected'. See Eli Zaretskii in 1734 Ignore 'expected'. See Eli Zaretskii in
1636 <http://bugs.gnu.org/12471#8> (last line). 1735 <http://bugs.gnu.org/12471#8> (last line).
1637 1736
1638 * frame.c (read_integer): Remove. All uses replaced by strtol/strtoul. 1737 * frame.c (read_integer): Remove. All uses replaced by strtol/strtoul.
@@ -1699,7 +1798,7 @@
1699 (bytes_used_when_full, emacs_blocked_free, emacs_blocked_malloc) 1798 (bytes_used_when_full, emacs_blocked_free, emacs_blocked_malloc)
1700 (emacs_blocked_realloc, reset_malloc_hooks, uninterrupt_malloc): 1799 (emacs_blocked_realloc, reset_malloc_hooks, uninterrupt_malloc):
1701 [!SYSTEM_MALLOC && !SYNC_INPUT]: 1800 [!SYSTEM_MALLOC && !SYNC_INPUT]:
1702 Remove. All uses removed. 1801 Remove. All uses removed.
1703 (MALLOC_BLOCK_INPUT, MALLOC_UNBLOCK_INPUT): Use a different 1802 (MALLOC_BLOCK_INPUT, MALLOC_UNBLOCK_INPUT): Use a different
1704 implementation, one that depends on whether the new macro 1803 implementation, one that depends on whether the new macro
1705 XMALLOC_BLOCK_INPUT_CHECK is defined, not on whether SYNC_INPUT 1804 XMALLOC_BLOCK_INPUT_CHECK is defined, not on whether SYNC_INPUT
@@ -1989,7 +2088,7 @@
1989 * alloc.c (discard_killed_buffers): New function. 2088 * alloc.c (discard_killed_buffers): New function.
1990 (mark_object): Use it for deleted windows and frames. 2089 (mark_object): Use it for deleted windows and frames.
1991 (mark_object): If symbol's value is set up for a killed buffer 2090 (mark_object): If symbol's value is set up for a killed buffer
1992 or deleted frame, restore it's global binding. 2091 or deleted frame, restore its global binding.
1993 * data.c (swap_in_global_binding): Add GC notice. 2092 * data.c (swap_in_global_binding): Add GC notice.
1994 (swap_in_symval_forwarding): Use convenient set_blv_where. 2093 (swap_in_symval_forwarding): Use convenient set_blv_where.
1995 * window.c (wset_next_buffers, wset_prev_buffers): Move ... 2094 * window.c (wset_next_buffers, wset_prev_buffers): Move ...
@@ -4296,7 +4395,7 @@
4296 4395
4297 * nsterm.m (ns_set_vertical_scroll_bar, ns_redeem_scroll_bar) 4396 * nsterm.m (ns_set_vertical_scroll_bar, ns_redeem_scroll_bar)
4298 (EmacsWindow-accessibilityAttributeValue, EmacsScroller-initFrame:) 4397 (EmacsWindow-accessibilityAttributeValue, EmacsScroller-initFrame:)
4299 (EmacsScroller-dealloc): Adjust to use WVAR. (Bug#12114) 4398 (EmacsScroller-dealloc): Adjust to use WVAR. (Bug#12114)
4300 * nsfns.m (ns_set_name_as_filename): Likewise. 4399 * nsfns.m (ns_set_name_as_filename): Likewise.
4301 * nsmenu.m (ns_update_menubar): Likewise. 4400 * nsmenu.m (ns_update_menubar): Likewise.
4302 * nsselect.m (symbol_to_nsstring): Adjust to use SVAR. 4401 * nsselect.m (symbol_to_nsstring): Adjust to use SVAR.
@@ -6392,7 +6491,7 @@
6392 Fix block vector allocation code to allow VECTOR_BLOCK_SIZE 6491 Fix block vector allocation code to allow VECTOR_BLOCK_SIZE
6393 values which aren't power of 2. 6492 values which aren't power of 2.
6394 * alloc.c (VECTOR_FREE_LIST_SIZE_MASK): New macro. 6493 * alloc.c (VECTOR_FREE_LIST_SIZE_MASK): New macro.
6395 Verify it's value and the value of VECTOR_BLOCK_SIZE. Adjust users 6494 Verify its value and the value of VECTOR_BLOCK_SIZE. Adjust users
6396 accordingly. 6495 accordingly.
6397 6496
63982012-07-03 Stefan Monnier <monnier@iro.umontreal.ca> 64972012-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
@@ -7561,7 +7660,7 @@
7561 bitfields where appropriate, remove unused fields. 7660 bitfields where appropriate, remove unused fields.
7562 * window.h (struct window): Remove unused 'last_mark_x' and 7661 * window.h (struct window): Remove unused 'last_mark_x' and
7563 'last_mark_y' fields. Rename 'mini_p' field to 'mini', 7662 'last_mark_y' fields. Rename 'mini_p' field to 'mini',
7564 change it's type from Lisp_Object to bitfield. 7663 change its type from Lisp_Object to bitfield.
7565 Change type of 'force_start', 'optional_new_start', 7664 Change type of 'force_start', 'optional_new_start',
7566 'last_had_star', 'update_mode_line' and 'start_at_line_beg' 7665 'last_had_star', 'update_mode_line' and 'start_at_line_beg'
7567 fields from Lisp_Object to bitfield. Adjust users accordingly. 7666 fields from Lisp_Object to bitfield. Adjust users accordingly.