diff options
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 321 |
1 files changed, 306 insertions, 15 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 8b47c52c23f..e8827c2de18 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,294 @@ | |||
| 1 | 2012-09-19 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * w32inevt.c (w32_console_read_socket): Return -1 on failure, not 0. | ||
| 4 | Ignore 'expected'. See Eli Zaretskii in | ||
| 5 | <http://bugs.gnu.org/12471#8> (last line). | ||
| 6 | |||
| 7 | * frame.c (read_integer): Remove. All uses replaced by strtol/strtoul. | ||
| 8 | (XParseGeometry): Now static. Substitute extremal values for | ||
| 9 | values that are out of range. | ||
| 10 | |||
| 11 | 2012-09-19 Jan Djärv <jan.h.d@swipnet.se> | ||
| 12 | |||
| 13 | * w32xfns.c (read_integer, XParseGeometry): Move to frame.c. | ||
| 14 | |||
| 15 | * nsfns.m (XParseGeometry): Remove. | ||
| 16 | (Fx_create_frame): Call x_set_offset to correctly interpret | ||
| 17 | top_pos in geometry. | ||
| 18 | |||
| 19 | * frame.c (read_integer, XParseGeometry): Moved from w32xfns.c. | ||
| 20 | (Fx_parse_geometry): If there is a space in string, call | ||
| 21 | Qns_parse_geometry, otherwise do as on other terms (Bug#12368). | ||
| 22 | |||
| 23 | 2012-09-17 Eli Zaretskii <eliz@gnu.org> | ||
| 24 | |||
| 25 | * search.c (scan_buffer): Use character positions in calls to | ||
| 26 | region_cache_forward and region_cache_backward, not byte | ||
| 27 | positions. (Bug#12196) | ||
| 28 | |||
| 29 | * w32term.c (w32_read_socket): Set pending_signals to 1, like | ||
| 30 | xterm.c does. Reported by Daniel Colascione <dancol@dancol.org>. | ||
| 31 | |||
| 32 | * ralloc.c (r_alloc_init) [!SYSTEM_MALLOC]: Initialize | ||
| 33 | __malloc_extra_blocks to 32 instead of 64, like alloc.c did in | ||
| 34 | emacs_blocked_malloc, now deleted. | ||
| 35 | |||
| 36 | 2012-09-17 Paul Eggert <eggert@cs.ucla.edu> | ||
| 37 | |||
| 38 | Remove no-longer-needed Solaris 2.4 vfork bug workaround. | ||
| 39 | The workaround was for improving performance on Solaris 2.4, but | ||
| 40 | is getting in the way now. Emacs will still work if someone is | ||
| 41 | still running Solaris 2.4 in a museum somewhere; Sun dropped | ||
| 42 | support for Solaris 2.4 in 2003. | ||
| 43 | * callproc.c (Fcall_process) [HAVE_WORKING_VFORK]: | ||
| 44 | * process.c (create_process) [HAVE_WORKING_VFORK]: | ||
| 45 | Omit now-unnecessary workaround for the Solaris 2.4 vfork bug, | ||
| 46 | since Emacs no longer uses vfork on that platform. | ||
| 47 | |||
| 48 | 2012-09-17 Glenn Morris <rgm@gnu.org> | ||
| 49 | |||
| 50 | * emacs.c: Use COPYRIGHT. | ||
| 51 | |||
| 52 | 2012-09-16 Paul Eggert <eggert@cs.ucla.edu> | ||
| 53 | |||
| 54 | Remove configure's --without-sync-input option (Bug#12450). | ||
| 55 | When auditing signal-handling in preparation for cleaning it up, | ||
| 56 | I found that SYNC_INPUT has race conditions and would be a real | ||
| 57 | pain to fix. Since it's an undocumented and deprecated | ||
| 58 | configure-time option, now seems like a good time to remove it. | ||
| 59 | Also see <http://bugs.gnu.org/11080#16>. | ||
| 60 | * alloc.c (_bytes_used, __malloc_extra_blocks, _malloc_internal) | ||
| 61 | (_free_internal) [!DOUG_LEA_MALLOC]: Remove decls. | ||
| 62 | (alloc_mutex) [!SYSTEM_MALLOC && !SYNC_INPUT && HAVE_PTHREAD]: | ||
| 63 | (malloc_hysteresis): | ||
| 64 | (check_depth) [XMALLOC_OVERRUN_CHECK]: | ||
| 65 | (MALLOC_BLOCK_INPUT, MALLOC_UNBLOCK_INPUT): | ||
| 66 | (__malloc_hook, __realloc_hook, __free_hook, BYTES_USED) | ||
| 67 | (dont_register_blocks, bytes_used_when_reconsidered) | ||
| 68 | (bytes_used_when_full, emacs_blocked_free, emacs_blocked_malloc) | ||
| 69 | (emacs_blocked_realloc, reset_malloc_hooks, uninterrupt_malloc): | ||
| 70 | [!SYSTEM_MALLOC && !SYNC_INPUT]: | ||
| 71 | Remove. All uses removed. | ||
| 72 | (MALLOC_BLOCK_INPUT, MALLOC_UNBLOCK_INPUT): Use a different | ||
| 73 | implementation, one that depends on whether the new macro | ||
| 74 | XMALLOC_BLOCK_INPUT_CHECK is defined, not on whether SYNC_INPUT | ||
| 75 | is defined. | ||
| 76 | * atimer.c (run_timers, handle_alarm_signal): | ||
| 77 | * keyboard.c (pending_signal, poll_for_input_1, poll_for_input) | ||
| 78 | (handle_async_input, process_pending_signals) | ||
| 79 | (handle_input_available_signal, init_keyboard): | ||
| 80 | * nsterm.m (ns_read_socket): | ||
| 81 | * process.c (wait_reading_process_output): | ||
| 82 | * regex.c (immediate_quit, IMMEDIATE_QUIT_CHECK): | ||
| 83 | * sysdep.c (emacs_sigaction_init) [SA_RESTART]: | ||
| 84 | (emacs_write): | ||
| 85 | * xterm.c (XTread_socket): | ||
| 86 | Assume SYNC_INPUT. | ||
| 87 | * conf_post.h (SA_RESTART) [IRIX6_5]: Do not #undef. | ||
| 88 | * eval.c (handling_signal): Remove. All uses removed. | ||
| 89 | * lisp.h (ELSE_PENDING_SIGNALS): Remove. | ||
| 90 | All uses replaced with the SYNC_INPUT version. | ||
| 91 | (reset_malloc_hooks, uninterrupt_malloc, handling_signal): | ||
| 92 | Remove decls. | ||
| 93 | * sysdep.c, syssignal.h (main_thread) [FORWARD_SIGNAL_TO_MAIN_THREAD]: | ||
| 94 | Now static. | ||
| 95 | |||
| 96 | * font.c (Ffont_shape_gstring): Remove unused local. | ||
| 97 | |||
| 98 | 2012-09-16 Glenn Morris <rgm@gnu.org> | ||
| 99 | |||
| 100 | * Makefile.in (clean): No longer run nextstep's clean. | ||
| 101 | |||
| 102 | * Makefile.in (ns_appdir, ns_appbindir, ns_appsrc): Remove variables. | ||
| 103 | (ns_frag): Remove. | ||
| 104 | (ns-app): Move here from ns.mk, and simplify. | ||
| 105 | (clean): Simplify nextstep entry. | ||
| 106 | * ns.mk: Remove file. | ||
| 107 | |||
| 108 | 2012-09-16 Kenichi Handa <handa@gnu.org> | ||
| 109 | |||
| 110 | * font.c (Ffont_shape_gstring): Fix previous change; GLYPHs may | ||
| 111 | not covert the last few charactes. | ||
| 112 | |||
| 113 | 2012-09-16 Kenichi Handa <handa@gnu.org> | ||
| 114 | |||
| 115 | * font.c (Ffont_shape_gstring): Don't adjust grapheme cluster | ||
| 116 | here, but just check the validity of glyphs in the glyph-string. | ||
| 117 | |||
| 118 | 2012-09-16 Martin Rudalics <rudalics@gmx.at> | ||
| 119 | |||
| 120 | * window.c (Fwindow_parameter, Fset_window_parameter): Accept | ||
| 121 | any window as argument (Bug#12452). | ||
| 122 | |||
| 123 | 2012-09-16 Jan Djärv <jan.h.d@swipnet.se> | ||
| 124 | |||
| 125 | * nsfns.m (Fx_open_connection): Move initialization of ns_*_types | ||
| 126 | to ns_term_init to avoid memory leak. | ||
| 127 | |||
| 128 | * nsterm.m (ns_update_begin): Initialize bp after lcokFocus, use | ||
| 129 | explicit retain/release. | ||
| 130 | (ns_term_init): Only allow one display. Initialize outerpool and | ||
| 131 | ns_*_types. | ||
| 132 | |||
| 133 | 2012-09-15 Paul Eggert <eggert@cs.ucla.edu> | ||
| 134 | |||
| 135 | Port _setjmp fix to POSIXish hosts as well as Microsoft. | ||
| 136 | * image.c (_setjmp) [!HAVE__SETJMP]: Restore definition, as | ||
| 137 | it's needed on POSIXish hosts that lack _setjmp. Attempt to solve | ||
| 138 | the Microsoft problem in a different way, by altering ../nt/config.nt. | ||
| 139 | |||
| 140 | 2012-09-15 Eli Zaretskii <eliz@gnu.org> | ||
| 141 | |||
| 142 | * w32xfns.c: | ||
| 143 | * w32uniscribe.c: | ||
| 144 | * w32term.c: | ||
| 145 | * w32select.c: | ||
| 146 | * w32reg.c: | ||
| 147 | * w32proc.c: | ||
| 148 | * w32menu.c: | ||
| 149 | * w32inevt.c: | ||
| 150 | * w32heap.c: | ||
| 151 | * w32font.c: | ||
| 152 | * w32fns.c: | ||
| 153 | * w32console.c: | ||
| 154 | * w32.c: | ||
| 155 | * w16select.c: Remove inclusion of setjmp.h, as it is now included | ||
| 156 | by lisp.h. This completes removal of setjmp.h inclusion | ||
| 157 | erroneously announced in the previous commit. (Bug#12446) | ||
| 158 | |||
| 159 | * lisp.h [!HAVE__SETJMP, !HAVE_SIGSETJMP]: Make the commentary | ||
| 160 | more accurate. | ||
| 161 | |||
| 162 | * image.c (_setjmp) [!HAVE__SETJMP]: Define only if 'setjmp' is | ||
| 163 | not defined as a macro. The latter happens on MS-Windows. | ||
| 164 | (Bug#12446) | ||
| 165 | |||
| 166 | 2012-09-15 Paul Eggert <eggert@cs.ucla.edu> | ||
| 167 | |||
| 168 | Port better to POSIX hosts lacking _setjmp (Bug#12446). | ||
| 169 | * lisp.h: Include <setjmp.h> here, since we use its symbols here. | ||
| 170 | Some instances of '#include <setjmp.h>' removed, if the | ||
| 171 | only reason for the instance was because "lisp.h" was included. | ||
| 172 | (sys_jmp_buf, sys_setjmp, sys_longjmp): New symbols. | ||
| 173 | Unless otherwise specified, replace all uses of jmp_buf, _setjmp, | ||
| 174 | and _longjmp with the new symbols. Emacs already uses _setjmp if | ||
| 175 | available, so this change affects only POSIXish hosts that have | ||
| 176 | sigsetjmp but not _setjmp, such as some versions of Solaris and | ||
| 177 | Unixware. (Also, POSIX-2008 marks _setjmp as obsolescent.) | ||
| 178 | * image.c (_setjmp, _longjmp) [HAVE_PNG && !HAVE__SETJMP]: New macros. | ||
| 179 | (png_load_body) [HAVE_PNG]: | ||
| 180 | (PNG_LONGJMP) [HAVE_PNG && PNG_LIBPNG_VER < 10500]: | ||
| 181 | (PNG_JMPBUF) [HAVE_PNG && PNG_LIBPNG_VER >= 10500]: | ||
| 182 | Use _setjmp and _longjmp rather than sys_setjmp and sys_longjmp, | ||
| 183 | since PNG requires jmp_buf. This is the only exception to the | ||
| 184 | general rule that we now use sys_setjmp and sys_longjmp. | ||
| 185 | This exception is OK since this code does not change the signal | ||
| 186 | mask or longjmp out of a signal handler. | ||
| 187 | |||
| 188 | 2012-09-14 Paul Eggert <eggert@cs.ucla.edu> | ||
| 189 | |||
| 190 | * alloc.c [!SYSTEM_MALLOC && !SYNC_INPUT && HAVE_PTHREAD]: | ||
| 191 | Include "syssignal.h", for 'main_thread'. | ||
| 192 | |||
| 193 | 2012-09-14 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 194 | |||
| 195 | Avoid out-of-range marker position (Bug#12426). | ||
| 196 | * insdel.c (replace_range, replace_range_2): Adjust | ||
| 197 | markers before overlays, as suggested by comments. | ||
| 198 | (insert_1_both, insert_from_buffer_1, adjust_after_replace): | ||
| 199 | Remove redundant check before calling offset_intervals. | ||
| 200 | |||
| 201 | 2012-09-14 Martin Rudalics <rudalics@gmx.at> | ||
| 202 | |||
| 203 | * xdisp.c (Fformat_mode_line): Unconditionally save/restore | ||
| 204 | current buffer (Bug#12387). | ||
| 205 | |||
| 206 | 2012-09-14 Juanma Barranquero <lekktu@gmail.com> | ||
| 207 | |||
| 208 | * makefile.w32-in ($(BLD)/alloc.$(O)): Update dependencies. | ||
| 209 | |||
| 210 | 2012-09-13 Paul Eggert <eggert@cs.ucla.edu> | ||
| 211 | |||
| 212 | Use a more backwards-compatible timer format (Bug#12430). | ||
| 213 | * keyboard.c (decode_timer): Get PSECS from the 8th (origin-0) | ||
| 214 | vector element, not from the 4th, since PSECS is now at the end. | ||
| 215 | (Fcurrent_idle_time): Doc fix. | ||
| 216 | |||
| 217 | 2012-09-13 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 218 | |||
| 219 | Function to mark objects and remove killed buffers at once. | ||
| 220 | * alloc.c (discard_killed_buffers): Rename to ... | ||
| 221 | (mark_discard_killed buffers) ... new name. Add marking | ||
| 222 | of remaining objects. Fix comment. Adjust users. | ||
| 223 | (mark_object): Do not touch frame buffer lists here. | ||
| 224 | * frame.c (delete_frame): Reset frame buffer lists here. | ||
| 225 | |||
| 226 | 2012-09-13 Paul Eggert <eggert@cs.ucla.edu> | ||
| 227 | |||
| 228 | Better workaround for GNOME bug when --enable-gcc-warnings. | ||
| 229 | * emacsgtkfixed.c (G_STATIC_ASSERT): Remove, undoing last change. | ||
| 230 | Instead, disable -Wunused-local-typedefs. See Dmitry Antipov in | ||
| 231 | <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00335.html>. | ||
| 232 | |||
| 233 | Simplify SIGIO usage (Bug#12408). | ||
| 234 | The code that dealt with SIGIO was crufty and confusing, e.g., it | ||
| 235 | played tricks like "#undef SIGIO" but these tricks were not used | ||
| 236 | consistently. Simplify mostly by not #undeffing standard symbols, | ||
| 237 | e.g., use "defined USABLE_SIGIO" (our symbol, which we can define | ||
| 238 | or not as we please) rather than "defined SIGIO" (standard symbol | ||
| 239 | that we probably shouldn't #undef). | ||
| 240 | * conf_post.h [USG5_4]: Do not include <sys/wait.h> here. | ||
| 241 | Modules that need it can include it. | ||
| 242 | [USG5_4 && emacs]: Likewise, do not include the streams stuff here. | ||
| 243 | * dispextern.h (ignore_sigio): New decl. | ||
| 244 | * emacs.c (shut_down_emacs): Invoke unrequest_sigio | ||
| 245 | unconditionally, since it's now a no-op if !USABLE_SIGIO. | ||
| 246 | * emacs.c (shut_down_emacs): | ||
| 247 | * keyboard.c (kbd_buffer_store_event_hold): | ||
| 248 | Use ignore_sigio rather than invoking 'signal' directly. | ||
| 249 | * keyboard.c (USABLE_FIONREAD && USG5_4): Include <sys/filio.h>, | ||
| 250 | for FIONREAD. | ||
| 251 | (FIONREAD, SIGIO): Do not #undef. | ||
| 252 | (tty_read_avail_input): Use #error rather than a syntax error. | ||
| 253 | * process.c [USG5_4]: Include <sys/stream.h> and <sys/stropts.h>, | ||
| 254 | for I_PIPE, used by SETUP_SLAVE_PTY. | ||
| 255 | (DATAGRAM_SOCKETS): Simplify defn, based on USABLE_FIONREAD. | ||
| 256 | * sysdep.c (croak): Remove; no longer needed. This bit of | ||
| 257 | temporary code, with Fred N. Fish's comment that it's temporary, | ||
| 258 | has been in Emacs since at least 1992! | ||
| 259 | (init_sigio, reset_sigio, request_sigio, unrequest_sigio): | ||
| 260 | Arrange for them to be no-ops in all cases when ! USABLE_SIGIO. | ||
| 261 | * syssignal.h (croak): Remove decl. | ||
| 262 | (SIGIO, SIGPOO, SIGAIO, SIGPTY): Do not #undef; that's too fragile. | ||
| 263 | * systty.h [!NO_TERMIO]: Do not include <termio.h>; no longer needed | ||
| 264 | now that we're termios-only. | ||
| 265 | (FIONREAD, ASYNC) [BROKEN_FIONREAD]: Do not #undef. | ||
| 266 | * term.c (dissociate_if_controlling_tty): Use #error rather than | ||
| 267 | a run-time error. | ||
| 268 | |||
| 269 | Work around GCC and GNOME bugs when --enable-gcc-warnings. | ||
| 270 | * emacsgtkfixed.c (G_STATIC_ASSERT): Redefine to use 'verify', | ||
| 271 | to work around GNOME bug 683906. | ||
| 272 | * image.c (jpeg_load_body) [HAVE_JPEG && lint]: Pacify gcc -Wclobber. | ||
| 273 | (struct my_jpeg_error_mgr) [HAVE_JPEG && lint]: New member fp. | ||
| 274 | This works around GCC bug 54561. | ||
| 275 | |||
| 276 | 2012-09-12 Paul Eggert <eggert@cs.ucla.edu> | ||
| 277 | |||
| 278 | More fixes for 'volatile' and setjmp/longjmp. | ||
| 279 | * eval.c (Fdefvar, Fcondition_case): Remove unnecessary 'volatile's. | ||
| 280 | * image.c (struct png_load_context) [HAVE_PNG]: New type. | ||
| 281 | (png_load_body) [HAVE_PNG]: | ||
| 282 | (jpeg_load_body) [HAVE_JPEG]: | ||
| 283 | New function, with most of the old parent function's body. | ||
| 284 | (png_load) [HAVE_PNG]: | ||
| 285 | (jpeg_load) [HAVE_JPEG]: | ||
| 286 | Invoke the new function, to avoid longjmp munging our locals. | ||
| 287 | (struct my_jpeg_error_mgr) [HAVE_JPEG]: New members cinfo, failure_code. | ||
| 288 | (my_error_exit) [HAVE_JPEG]: Don't trust 'setjmp' to return 2 when | ||
| 289 | longjmp is passed 2, as the C standard doesn't guarantee this. | ||
| 290 | Instead, store the failure code into mgr->failure_code. | ||
| 291 | |||
| 1 | 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca> | 292 | 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 293 | ||
| 3 | * keyboard.c (read_char, requeued_events_pending_p, Finput_pending_p) | 294 | * keyboard.c (read_char, requeued_events_pending_p, Finput_pending_p) |
| @@ -212,7 +503,7 @@ | |||
| 212 | (ns_maybe_dumpglyphs_background): Remove fringe/internal border | 503 | (ns_maybe_dumpglyphs_background): Remove fringe/internal border |
| 213 | adjustment. | 504 | adjustment. |
| 214 | (ns_dumpglyphs_image): Ditto. | 505 | (ns_dumpglyphs_image): Ditto. |
| 215 | (ns_dumpglyphs_stretch): Fix coding style. Remove fringe/internal | 506 | (ns_dumpglyphs_stretch): Fix coding style. Remove fringe/internal |
| 216 | border adjustment. | 507 | border adjustment. |
| 217 | (ns_set_vertical_scroll_bar): Remove variables barOnVeryLeft/Right and | 508 | (ns_set_vertical_scroll_bar): Remove variables barOnVeryLeft/Right and |
| 218 | their usage. Add fringe_extended_p and its use as in other terms. | 509 | their usage. Add fringe_extended_p and its use as in other terms. |
| @@ -293,7 +584,7 @@ | |||
| 293 | * conf_post.h [SIGNAL_H_AHB]: Do not include <signal.h>; | 584 | * conf_post.h [SIGNAL_H_AHB]: Do not include <signal.h>; |
| 294 | no longer needed here. | 585 | no longer needed here. |
| 295 | * emacs.c (main): Inspect existing signal handler with sigaction, | 586 | * emacs.c (main): Inspect existing signal handler with sigaction, |
| 296 | so that there's no need to block and unblock SIGHUP. | 587 | so that there's no need to block and unblock SIGHUP. |
| 297 | * sysdep.c (struct save_signal): New member 'action', replacing | 588 | * sysdep.c (struct save_signal): New member 'action', replacing |
| 298 | old member 'handler'. | 589 | old member 'handler'. |
| 299 | (save_signal_handlers, restore_signal_handlers): | 590 | (save_signal_handlers, restore_signal_handlers): |
| @@ -820,18 +1111,18 @@ | |||
| 820 | 2012-08-28 Jan Djärv <jan.h.d@swipnet.se> | 1111 | 2012-08-28 Jan Djärv <jan.h.d@swipnet.se> |
| 821 | 1112 | ||
| 822 | * nsmenu.m (initWithContentRect:styleMask:backing:defer:): Initialize | 1113 | * nsmenu.m (initWithContentRect:styleMask:backing:defer:): Initialize |
| 823 | button_values to NULL. Call setStykeMask so dialogs get a close button. | 1114 | button_values to NULL. Call setStykeMask so dialogs get a close button. |
| 824 | (windowShouldClose:): Set window_closed. | 1115 | (windowShouldClose:): Set window_closed. |
| 825 | (dealloc): New member, free button_values. | 1116 | (dealloc): New member, free button_values. |
| 826 | (process_dialog:): Make member function. Remove window argument, | 1117 | (process_dialog:): Make member function. Remove window argument, |
| 827 | replace window with self. Count buttons and allocate and store values | 1118 | replace window with self. Count buttons and allocate and store values |
| 828 | in button_values. | 1119 | in button_values. |
| 829 | (addButton:value:row:): value is int with the name tag. Call setTag | 1120 | (addButton:value:row:): value is int with the name tag. Call setTag |
| 830 | with tag. Remove return self, declare return value as void. | 1121 | with tag. Remove return self, declare return value as void. |
| 831 | (addString:row:): Remove return self, declare return value as void. | 1122 | (addString:row:): Remove return self, declare return value as void. |
| 832 | (addSplit): Remove return self, declare return value as void. | 1123 | (addSplit): Remove return self, declare return value as void. |
| 833 | (clicked:): Remove return self, declare return value as void. | 1124 | (clicked:): Remove return self, declare return value as void. |
| 834 | Set dialog_return to button_values[seltag]. Code formatting change. | 1125 | Set dialog_return to button_values[seltag]. Code formatting change. |
| 835 | (initFromContents:isQuestion:): Adjust call to process_dialog. | 1126 | (initFromContents:isQuestion:): Adjust call to process_dialog. |
| 836 | Code formatting change. | 1127 | Code formatting change. |
| 837 | (timeout_handler:): Set timer_fired to YES. | 1128 | (timeout_handler:): Set timer_fired to YES. |
| @@ -1166,7 +1457,7 @@ | |||
| 1166 | 1457 | ||
| 1167 | * fontset.c (FONTSET_ADD): Return void, not Lisp_Object. | 1458 | * fontset.c (FONTSET_ADD): Return void, not Lisp_Object. |
| 1168 | Otherwise, the compiler complains about (A?B:C) where B is void | 1459 | Otherwise, the compiler complains about (A?B:C) where B is void |
| 1169 | and C is Lisp_Object. This fixes an incompatibility with Sun C 5.12. | 1460 | and C is Lisp_Object. This fixes an incompatibility with Sun C 5.12. |
| 1170 | (fontset_add): Return void, for FONTSET_ADD. | 1461 | (fontset_add): Return void, for FONTSET_ADD. |
| 1171 | 1462 | ||
| 1172 | 2012-08-21 Paul Eggert <eggert@cs.ucla.edu> | 1463 | 2012-08-21 Paul Eggert <eggert@cs.ucla.edu> |
| @@ -1682,7 +1973,7 @@ | |||
| 1682 | Start main loop and wait for application defined event. | 1973 | Start main loop and wait for application defined event. |
| 1683 | Inform select thread to stop selecting after main loop is exited. | 1974 | Inform select thread to stop selecting after main loop is exited. |
| 1684 | (ns_term_init): Create selfds pipe and set non-blocking. | 1975 | (ns_term_init): Create selfds pipe and set non-blocking. |
| 1685 | Initialize select_mutex. Start the select thread (fd_handler). | 1976 | Initialize select_mutex. Start the select thread (fd_handler). |
| 1686 | (fd_handler:): Loop forever, wait for info from the main thread | 1977 | (fd_handler:): Loop forever, wait for info from the main thread |
| 1687 | to either start or stop selecting. When select returns, send | 1978 | to either start or stop selecting. When select returns, send |
| 1688 | and appdefined event. | 1979 | and appdefined event. |
| @@ -1814,7 +2105,7 @@ | |||
| 1814 | (xg_create_tool_bar): Allocate and initialize a xg_frame_tb_info | 2105 | (xg_create_tool_bar): Allocate and initialize a xg_frame_tb_info |
| 1815 | if not present. | 2106 | if not present. |
| 1816 | (update_frame_tool_bar): Return early if data in xg_frame_tb_info | 2107 | (update_frame_tool_bar): Return early if data in xg_frame_tb_info |
| 1817 | is up to date. Otherwise store new data. | 2108 | is up to date. Otherwise store new data. |
| 1818 | (free_frame_tool_bar): Free xg_frame_tb_info if present. | 2109 | (free_frame_tool_bar): Free xg_frame_tb_info if present. |
| 1819 | 2110 | ||
| 1820 | 2012-08-13 Dmitry Antipov <dmantipov@yandex.ru> | 2111 | 2012-08-13 Dmitry Antipov <dmantipov@yandex.ru> |
| @@ -1841,7 +2132,7 @@ | |||
| 1841 | 2012-08-11 Jan Djärv <jan.h.d@swipnet.se> | 2132 | 2012-08-11 Jan Djärv <jan.h.d@swipnet.se> |
| 1842 | 2133 | ||
| 1843 | * nsterm.m (not_in_argv): New function. | 2134 | * nsterm.m (not_in_argv): New function. |
| 1844 | (application:openFile, application:openTempFile:): | 2135 | (application:openFile, application:openTempFile:): |
| 1845 | (application:openFileWithoutUI:, application:openFiles:): Open file | 2136 | (application:openFileWithoutUI:, application:openFiles:): Open file |
| 1846 | if not_in_argv returns non-zero (bug#12171). | 2137 | if not_in_argv returns non-zero (bug#12171). |
| 1847 | 2138 | ||
| @@ -3028,7 +3319,7 @@ | |||
| 3028 | 3319 | ||
| 3029 | 2012-07-21 Jan Djärv <jan.h.d@swipnet.se> | 3320 | 2012-07-21 Jan Djärv <jan.h.d@swipnet.se> |
| 3030 | 3321 | ||
| 3031 | * nsterm.m (accessibilityAttributeValue): New function. (Bug#11134). | 3322 | * nsterm.m (accessibilityAttributeValue): New function. (Bug#11134). |
| 3032 | (conversationIdentifier): Return value is NSInteger. | 3323 | (conversationIdentifier): Return value is NSInteger. |
| 3033 | * nsterm.m (accessibilityAttributeValue): Surround with NS_IMPL_COCOA. | 3324 | * nsterm.m (accessibilityAttributeValue): Surround with NS_IMPL_COCOA. |
| 3034 | 3325 | ||
| @@ -5538,7 +5829,7 @@ | |||
| 5538 | * lisp.h (struct vectorlike_header): New field `nbytes', | 5829 | * lisp.h (struct vectorlike_header): New field `nbytes', |
| 5539 | adjust comment accordingly. | 5830 | adjust comment accordingly. |
| 5540 | * alloc.c (enum mem_type): New type `MEM_TYPE_VECTOR_BLOCK' | 5831 | * alloc.c (enum mem_type): New type `MEM_TYPE_VECTOR_BLOCK' |
| 5541 | to denote vector blocks. Adjust users (live_vector_p, | 5832 | to denote vector blocks. Adjust users (live_vector_p, |
| 5542 | mark_maybe_pointer, valid_lisp_object_p) accordingly. | 5833 | mark_maybe_pointer, valid_lisp_object_p) accordingly. |
| 5543 | (COMMON_MULTIPLE): Move outside #if USE_LSB_TAG. | 5834 | (COMMON_MULTIPLE): Move outside #if USE_LSB_TAG. |
| 5544 | (VECTOR_BLOCK_SIZE, vroundup, VECTOR_BLOCK_BYTES), | 5835 | (VECTOR_BLOCK_SIZE, vroundup, VECTOR_BLOCK_BYTES), |
| @@ -5552,7 +5843,7 @@ | |||
| 5552 | (allocate_vector_from_block, init_vectors, allocate_vector_from_block) | 5843 | (allocate_vector_from_block, init_vectors, allocate_vector_from_block) |
| 5553 | (sweep_vectors): New functions. | 5844 | (sweep_vectors): New functions. |
| 5554 | (allocate_vectorlike): Return `zero_vector' as the only vector of | 5845 | (allocate_vectorlike): Return `zero_vector' as the only vector of |
| 5555 | 0 items. Allocate new vector from block if vector size is less than | 5846 | 0 items. Allocate new vector from block if vector size is less than |
| 5556 | or equal to VBLOCK_BYTES_MAX. | 5847 | or equal to VBLOCK_BYTES_MAX. |
| 5557 | (Fgarbage_collect): Move all vector sweeping code to sweep_vectors. | 5848 | (Fgarbage_collect): Move all vector sweeping code to sweep_vectors. |
| 5558 | (init_alloc_once): Add call to init_vectors. | 5849 | (init_alloc_once): Add call to init_vectors. |
| @@ -5642,7 +5933,7 @@ | |||
| 5642 | change it's type from Lisp_Object to bitfield. | 5933 | change it's type from Lisp_Object to bitfield. |
| 5643 | Change type of 'force_start', 'optional_new_start', | 5934 | Change type of 'force_start', 'optional_new_start', |
| 5644 | 'last_had_star', 'update_mode_line' and 'start_at_line_beg' | 5935 | 'last_had_star', 'update_mode_line' and 'start_at_line_beg' |
| 5645 | fields from Lisp_Object to bitfield. Adjust users accordingly. | 5936 | fields from Lisp_Object to bitfield. Adjust users accordingly. |
| 5646 | 5937 | ||
| 5647 | 2012-05-31 Paul Eggert <eggert@cs.ucla.edu> | 5938 | 2012-05-31 Paul Eggert <eggert@cs.ucla.edu> |
| 5648 | 5939 | ||