diff options
| author | Joakim Verona | 2013-06-12 12:32:25 +0200 |
|---|---|---|
| committer | Joakim Verona | 2013-06-12 12:32:25 +0200 |
| commit | e6fa6da6899bf1b4877b96c450eae3934085d560 (patch) | |
| tree | 48e6fda463d24a792ec8428fb8044a250ee2ff82 /src/ChangeLog | |
| parent | 4f0994366d33f8f76db4662cc126720866df3461 (diff) | |
| parent | 84d6f46535554f9f51aae3314313112e8d755c65 (diff) | |
| download | emacs-e6fa6da6899bf1b4877b96c450eae3934085d560.tar.gz emacs-e6fa6da6899bf1b4877b96c450eae3934085d560.zip | |
Merge branch 'trunk' into xwidget
Conflicts:
src/Makefile.in
src/keyboard.c
src/termhooks.h
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 434 |
1 files changed, 422 insertions, 12 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 4b1281c17e6..38eb460359c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,414 @@ | |||
| 1 | 2013-06-12 Xue Fuqiao <xfq.free@gmail.com> | ||
| 2 | |||
| 3 | * fileio.c (expand_file_name): Doc fix. | ||
| 4 | |||
| 5 | 2013-06-11 Paul Eggert <eggert@cs.ucla.edu> | ||
| 6 | |||
| 7 | Tickle glib by waiting for Emacs itself, not for process 0 (Bug#14569). | ||
| 8 | * process.c (init_process_emacs) [HAVE_GLIB && !WINDOWSNT]: | ||
| 9 | Wait for self, not for 0. This can't hurt on GNU or similar | ||
| 10 | system, and may help with Cygwin. | ||
| 11 | |||
| 12 | * keyboard.c: Don't use PROP (...) as an lvalue. | ||
| 13 | (parse_tool_bar_item) [!USE_GTK && !HAVE_NS]: | ||
| 14 | Use set_prop (A, B), not PROP (A) = B. | ||
| 15 | |||
| 16 | 2013-06-10 Eli Zaretskii <eliz@gnu.org> | ||
| 17 | |||
| 18 | * xdisp.c (get_it_property): Use it->window instead of generating | ||
| 19 | a Lisp object from it->w. | ||
| 20 | |||
| 21 | 2013-06-09 Eli Zaretskii <eliz@gnu.org> | ||
| 22 | |||
| 23 | * xdisp.c (get_it_property): If it->object is a buffer, pass to | ||
| 24 | get-char-property the window that is being rendered, instead of | ||
| 25 | the buffer, to support window-specific overlays. (Bug#14575) | ||
| 26 | (compute_display_string_pos): When W is NULL, use the current | ||
| 27 | buffer as the object to pass to get-char-property. | ||
| 28 | (Fcurrent_bidi_paragraph_direction): Assign NULL to the window | ||
| 29 | pointer member of the bidi iterator, since no window is pertinent | ||
| 30 | to this function. | ||
| 31 | |||
| 32 | 2013-06-08 Eli Zaretskii <eliz@gnu.org> | ||
| 33 | |||
| 34 | * bidi.c (bidi_fetch_char): Accept additional argument, the window | ||
| 35 | being displayed, and pass it to compute_display_string_pos. | ||
| 36 | (bidi_level_of_next_char, bidi_resolve_explicit_1) | ||
| 37 | (bidi_paragraph_init): All callers changed. | ||
| 38 | |||
| 39 | * xdisp.c (init_from_display_pos, init_iterator) | ||
| 40 | (handle_single_display_spec, next_overlay_string) | ||
| 41 | (get_overlay_strings_1, reseat_1, reseat_to_string) | ||
| 42 | (push_prefix_prop, Fcurrent_bidi_paragraph_direction): | ||
| 43 | Set bidi_it.w member from it->w. | ||
| 44 | (compute_display_string_pos): Accept additional argument, the | ||
| 45 | window being displayed, and pass it to Fget_char_property. | ||
| 46 | (Bug#14575) | ||
| 47 | |||
| 48 | * dispextern.h (struct bidi_it): New member w, the window being | ||
| 49 | displayed. | ||
| 50 | (compute_display_string_pos): Adjust prototype. | ||
| 51 | |||
| 52 | 2013-06-08 Jan Djärv <jan.h.d@swipnet.se> | ||
| 53 | |||
| 54 | * xgselect.c: Remove unneeded include xterm.h. | ||
| 55 | |||
| 56 | * process.c (wait_reading_process_output): Check for NS before GLIB. | ||
| 57 | GLIB may be linked in due to rsvg, but ns_select must be called. | ||
| 58 | |||
| 59 | * xgselect.c (xg_select): Remove call to window_system_available | ||
| 60 | and g_main_context_pending at the top, so Gdk events (i.e. file | ||
| 61 | notify) are processed when Emacs is started with -nw. | ||
| 62 | |||
| 63 | 2013-06-07 Eli Zaretskii <eliz@gnu.org> | ||
| 64 | |||
| 65 | * Makefile.in (ctagsfiles1, ctagsfiles2): Don't include *.m files. | ||
| 66 | (ctagsfiles3): New variable, includes only *.m files. | ||
| 67 | (TAGS): Use an explicit language name in the regular expressions, | ||
| 68 | to avoid transformation of '/SOMETHING' by MSYS to | ||
| 69 | 'c:\MSYS\SOMETHING'. | ||
| 70 | |||
| 71 | 2013-06-07 Richard Copley <rcopley@gmail.com> (tiny change) | ||
| 72 | |||
| 73 | * epaths.in: Fix commentary to PATH_SITELOADSEARCH. | ||
| 74 | |||
| 75 | 2013-06-06 Eli Zaretskii <eliz@gnu.org> | ||
| 76 | |||
| 77 | * xdisp.c (note_mouse_highlight): When mouse-highlight is off, | ||
| 78 | still need to set the mouse pointer shape and activate help-echo. | ||
| 79 | (Bug#14558) | ||
| 80 | |||
| 81 | 2013-06-06 Paul Eggert <eggert@cs.ucla.edu> | ||
| 82 | |||
| 83 | A few porting etc. fixes for the new file monitor code. | ||
| 84 | See the thread containing | ||
| 85 | <http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00109.html>. | ||
| 86 | * gfilenotify.c (dir_monitor_callback, Fgfile_add_watch) | ||
| 87 | (Fgfile_rm_watch): Don't assume EMACS_INT is the same width as a pointer. | ||
| 88 | (dir_monitor_callback, Fgfile_rm_watch): | ||
| 89 | Use assq_no_quit instead of Fassoc, for speed. | ||
| 90 | (dir_monitor_callback, Fgfile_rm_watch): | ||
| 91 | eassert that the monitor is a fixnum. | ||
| 92 | (dir_monitor_callback): No need for CDR_SAFE. | ||
| 93 | Simplify building of lisp with alternative tails. | ||
| 94 | (Fgfile_add_watch, Fgfile_rm_watch): | ||
| 95 | Do not assume glib functions set errno reliably on failure. | ||
| 96 | (Fgfile_add_watch): Check that the monitor survives the XIL trick, | ||
| 97 | and signal an error otherwise. | ||
| 98 | (Fgfile_rm_watch): Prefer CONSP to !NILP. | ||
| 99 | Use Fdelq instead of Fdelete, for speed. | ||
| 100 | |||
| 101 | 2013-06-05 Eli Zaretskii <eliz@gnu.org> | ||
| 102 | |||
| 103 | * xdisp.c (handle_tool_bar_click): When mouse-highlight is off, | ||
| 104 | don't insist on being invoked on a highlighted tool-bar button. | ||
| 105 | Avoids losing tool-bar functionality when mouse-highlight is nil. | ||
| 106 | (note_tool_bar_highlight, note_mode_line_or_margin_highlight): | ||
| 107 | Don't highlight when mouse-highlight is nil. | ||
| 108 | (note_mouse_highlight): When mouse-highlight is nil, don't return | ||
| 109 | right away; instead, run tool-bar and mode-line highlight | ||
| 110 | subroutine, clear any existing highlight, and revert the mouse | ||
| 111 | pointer to its default shape. (Bug#14558) | ||
| 112 | |||
| 113 | 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 114 | |||
| 115 | * lisp.mk (lisp): Add prog-mode.el. | ||
| 116 | |||
| 117 | 2013-06-05 Paul Eggert <eggert@cs.ucla.edu> | ||
| 118 | |||
| 119 | Chain glib's SIGCHLD handler from Emacs's (Bug#14474). | ||
| 120 | * process.c (dummy_handler): New function. | ||
| 121 | (lib_child_handler): New static var. | ||
| 122 | (handle_child_signal): Invoke it. | ||
| 123 | (catch_child_signal): If a library has set up a signal handler, | ||
| 124 | save it into lib_child_handler. | ||
| 125 | (init_process_emacs): If using glib and not on Windows, tickle glib's | ||
| 126 | child-handling code so that it initializes its private SIGCHLD handler. | ||
| 127 | * syssignal.h (SA_SIGINFO): Default to 0. | ||
| 128 | * xterm.c (x_term_init): Remove D-bus hack that I installed on May | ||
| 129 | 31; it should no longer be needed now. | ||
| 130 | |||
| 131 | 2013-06-05 Michael Albinus <michael.albinus@gmx.de> | ||
| 132 | |||
| 133 | * emacs.c (main) [HAVE_GFILENOTIFY]: Call globals_of_gfilenotify. | ||
| 134 | |||
| 135 | * gfilenotify.c (globals_of_gfilenotify): New function. | ||
| 136 | (syms_of_gfilenotify): Move global initialization there. | ||
| 137 | |||
| 138 | * lisp.h (globals_of_gfilenotify) [HAVE_GFILENOTIFY]: Add prototype. | ||
| 139 | |||
| 140 | 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 141 | |||
| 142 | * keymap.c (Fcurrent_active_maps, Fdescribe_buffer_bindings): | ||
| 143 | * keyboard.c (menu_bar_items, tool_bar_items): | ||
| 144 | * doc.c (Fsubstitute_command_keys): Voverriding_terminal_local_map does | ||
| 145 | not override local keymaps any more. | ||
| 146 | |||
| 147 | 2013-06-04 Eli Zaretskii <eliz@gnu.org> | ||
| 148 | |||
| 149 | * window.c (Fpos_visible_in_window_p): Doc fix. (Bug#14540) | ||
| 150 | |||
| 151 | 2013-06-03 Eli Zaretskii <eliz@gnu.org> | ||
| 152 | |||
| 153 | * w32console.c (initialize_w32_display): Return the dimensions of | ||
| 154 | the console window via 2 additional arguments, not via the current | ||
| 155 | frame. This avoids crashes due to overrunning the bounds of | ||
| 156 | frame's decode_mode_spec_buffer, which is not resized following | ||
| 157 | the change of the frame dimensions from the initial 10x10. | ||
| 158 | |||
| 159 | * w32term.h (w32_initialize_display_info): Adjust prototype. | ||
| 160 | |||
| 161 | * term.c (init_tty): Take dimensions of the frame from the values | ||
| 162 | returned by initialize_w32_display. | ||
| 163 | |||
| 164 | * Makefile.in (GFILENOTIFY_CFLAGS, GFILENOTIFY_LIBS): New variables. | ||
| 165 | (ALL_CFLAGS): Add $(GFILENOTIFY_CFLAGS). | ||
| 166 | (LIBES): Add $(GFILENOTIFY_LIBS). | ||
| 167 | |||
| 168 | * w32inevt.c (handle_file_notifications): Add dummy implementation | ||
| 169 | for !HAVE_W32NOTIFY. | ||
| 170 | |||
| 171 | * w32term.c: Wrap code with HAVE_W32NOTIFY. | ||
| 172 | |||
| 173 | 2013-06-03 Jan Djärv <jan.h.d@swipnet.se> | ||
| 174 | |||
| 175 | * xgselect.c: Replace #if defined ... with #ifdef HAVE_GLIB. | ||
| 176 | |||
| 177 | * process.c (wait_reading_process_output): Call xg_select if HAVE_GLIB. | ||
| 178 | |||
| 179 | * Makefile.in (XGSELOBJ): New, xgselect.o if GLib is used, or empty. | ||
| 180 | |||
| 181 | 2013-06-03 Paul Eggert <eggert@cs.ucla.edu> | ||
| 182 | |||
| 183 | Fix minor problems found by static checking. | ||
| 184 | * data.c (pure_write_error): | ||
| 185 | Use xsignal2, not Fsignal, as Fsignal might return. | ||
| 186 | * eval.c (set_backtrace_debug_on_exit): Now static. | ||
| 187 | (backtrace_p, backtrace_top, backtrace_next, record_in_backtrace): | ||
| 188 | No longer inline. EXTERN_INLINE is needed only for functions | ||
| 189 | defined in .h files. Reindent function header as per GNU style. | ||
| 190 | (backtrace_p, backtrace_top, backtrace_next): | ||
| 191 | Mark EXTERNALLY_VISIBLE so they don't get optimized away by the | ||
| 192 | compiler or linker. Add extern decls to pacify gcc -Wall. | ||
| 193 | * frame.c, frame.h (Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource): | ||
| 194 | Now static. | ||
| 195 | * frame.c (free_monitors): Define only on platforms that need it. | ||
| 196 | * nsterm.m (ns_term_init): | ||
| 197 | * process.c (catch_child_signal): | ||
| 198 | Don't worry about whether SIGCHLD is defined, as SIGCHLD is | ||
| 199 | defined on all porting targets these days. | ||
| 200 | * process.c, process.h (catch_child_signal): | ||
| 201 | Make it extern only if NS_IMPL_GNUSTEP is defined. | ||
| 202 | |||
| 203 | 2013-06-03 Eli Zaretskii <eliz@gnu.org> | ||
| 204 | |||
| 205 | * w32.c (gettimeofday): Make the signature identical to prototype | ||
| 206 | in nt/inc/sys/time.h. | ||
| 207 | |||
| 208 | 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 209 | |||
| 210 | * eval.c (backtrace_p, backtrace_top, backtrace_next): Export them to | ||
| 211 | .gdbinit. | ||
| 212 | |||
| 213 | * keyboard.c (safe_run_hooks_error): Improve error message. | ||
| 214 | |||
| 215 | * data.c (pure_write_error): Add `object' argument. | ||
| 216 | * puresize.h (CHECK_IMPURE): Use it. | ||
| 217 | |||
| 218 | 2013-06-03 Michael Albinus <michael.albinus@gmx.de> | ||
| 219 | |||
| 220 | * Makefile.in (NOTIFY_OBJ): New variable. | ||
| 221 | (base_obj): Replace inotify.o by $(NOTIFY_OBJ). | ||
| 222 | |||
| 223 | * emacs.c (main): Use HAVE_W32NOTIFY to wrap respective code. | ||
| 224 | Call syms_of_gfilenotify. | ||
| 225 | |||
| 226 | * gfilenotify.c: New file. | ||
| 227 | |||
| 228 | * keyboard.c (Qfile_notify): New variable. Replaces Qfile_inotify | ||
| 229 | and Qfile_w32notify. | ||
| 230 | (top): Wrap respective code by HAVE_GFILENOTIFY, HAVE_INOTIFY, | ||
| 231 | HAVE_W32NOTIFY and USE_FILE_NOTIFY. | ||
| 232 | |||
| 233 | * lisp.h: Declare syms_of_gfilenotify. | ||
| 234 | |||
| 235 | * termhooks.h (e): Wrap enum by USE_FILE_NOTIFY. | ||
| 236 | |||
| 237 | 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 238 | |||
| 239 | Merge the specpdl and backtrace stacks. Make the structure of the | ||
| 240 | specpdl entries more obvious via a tagged union of structs. | ||
| 241 | * lisp.h (BITS_PER_PTRDIFF_T): New constant. | ||
| 242 | (enum specbind_tag): New enum. | ||
| 243 | (struct specbinding): Make it a tagged union of structs. | ||
| 244 | Add a case for backtrace records. | ||
| 245 | (specpdl_symbol, specpdl_old_value, specpdl_where, specpdl_arg) | ||
| 246 | (specpdl_func, backtrace_function, backtrace_nargs, backtrace_args) | ||
| 247 | (backtrace_debug_on_exit): New accessors. | ||
| 248 | (struct backtrace): Remove. | ||
| 249 | (struct catchtag): Remove backlist field. | ||
| 250 | * data.c (let_shadows_buffer_binding_p, let_shadows_global_binding_p): | ||
| 251 | Move to eval.c. | ||
| 252 | (Flocal_variable_p): Speed up the common case where the binding is | ||
| 253 | already loaded. | ||
| 254 | * eval.c (backtrace_list): Remove. | ||
| 255 | (set_specpdl_symbol, set_specpdl_old_value): Remove. | ||
| 256 | (set_backtrace_args, set_backtrace_nargs) | ||
| 257 | (set_backtrace_debug_on_exit, backtrace_p, backtrace_top) | ||
| 258 | (backtrace_next): New functions. | ||
| 259 | (Fdefvaralias, Fdefvar): Adjust to new specpdl format. | ||
| 260 | (unwind_to_catch, internal_lisp_condition_case) | ||
| 261 | (internal_condition_case, internal_condition_case_1) | ||
| 262 | (internal_condition_case_2, internal_condition_case_n): Don't bother | ||
| 263 | with backtrace_list any more. | ||
| 264 | (Fsignal): Adjust to new backtrace format. | ||
| 265 | (grow_specpdl): Move up. | ||
| 266 | (record_in_backtrace): New function. | ||
| 267 | (eval_sub, Ffuncall): Use it. | ||
| 268 | (apply_lambda): Adjust to new backtrace format. | ||
| 269 | (let_shadows_buffer_binding_p, let_shadows_global_binding_p): Move from | ||
| 270 | data.c. | ||
| 271 | (specbind): Adjust to new specpdl format. Simplify. | ||
| 272 | (record_unwind_protect, unbind_to): Adjust to new specpdl format. | ||
| 273 | (Fbacktrace_debug, Fbacktrace, Fbacktrace_frame): Adjust to new | ||
| 274 | backtrace format. | ||
| 275 | (mark_backtrace): Remove. | ||
| 276 | (mark_specpdl, get_backtrace, backtrace_top_function): New functions. | ||
| 277 | * xdisp.c (redisplay_internal): Use record_in_backtrace. | ||
| 278 | * alloc.c (Fgarbage_collect): Use record_in_backtrace. | ||
| 279 | Use mark_specpdl. | ||
| 280 | * profiler.c (record_backtrace): Use get_backtrace. | ||
| 281 | (handle_profiler_signal): Use backtrace_top_function. | ||
| 282 | * .gdbinit (xbacktrace, hookpost-backtrace): Use new backtrace | ||
| 283 | accessor functions. | ||
| 284 | |||
| 285 | 2013-06-02 Jan Djärv <jan.h.d@swipnet.se> | ||
| 286 | |||
| 287 | * process.h (catch_child_signal): Declare. | ||
| 288 | |||
| 289 | * process.c (catch_child_signal): New function. | ||
| 290 | (init_process_emacs): Call it. | ||
| 291 | |||
| 292 | * nsterm.m: Include process.h if NS_IMPL_GNUSTEP. | ||
| 293 | (ns_menu_bar_is_hidden, menu_will_open_state): Define only if | ||
| 294 | NS_IMPL_COCOA. | ||
| 295 | (x_set_cursor_type): Remove declaration. | ||
| 296 | (ns_update_begin): Only use r and bp if NS_IMPL_COCOA. | ||
| 297 | (ns_update_end, ns_focus, ns_unfocus): Remove GNUStep specific code. | ||
| 298 | (x_set_window_size): Remove 3 pixels from toolbar if NS_IMPL_GNUSTEP. | ||
| 299 | (ns_get_color): Use F suffix on float. | ||
| 300 | (ns_color_to_lisp, ns_query_color): Use EmacsCGFloat. | ||
| 301 | (ns_get_rgb_color): Remove. | ||
| 302 | (x_set_frame_alpha): Move view inside NS_IMPL_COCOA. | ||
| 303 | (note_mouse_movement): x and y are CGFloat. | ||
| 304 | (ns_draw_fringe_bitmap): Remove unused rowY. | ||
| 305 | Change #if to COCOA && >= 10_6. | ||
| 306 | (ns_draw_window_cursor): Remove unused overspill. | ||
| 307 | (ns_draw_underwave): width and x are EamcsCGFloat. | ||
| 308 | (ns_draw_box): thickness is CGFloat. | ||
| 309 | (ns_dumpglyphs_image): Change #if to COCOA && >= 10_6. | ||
| 310 | (ns_send_appdefined): When NS_IMPL_GNUSTEP, redirect to main thread | ||
| 311 | if not in main thread. | ||
| 312 | (ns_get_pending_menu_title, ns_check_menu_open) | ||
| 313 | (ns_check_pending_open_menu): Put inside #if COCOA && >= 10_5. | ||
| 314 | (ns_term_init): Call catch_child_signal if NS_IMPL_GNUSTEP && SIGCHLD. | ||
| 315 | (sendFromMainThread:): New method. | ||
| 316 | (changeFont:): size is CGFloat. | ||
| 317 | (keyDown:): Check for Delete when NS_IMPL_GNUSTEP. | ||
| 318 | Disable warning about permanent text. | ||
| 319 | (characterIndexForPoint:): Adjust return type depending on GNUStep | ||
| 320 | version. | ||
| 321 | (mouseDown:): delta is CGFloat. | ||
| 322 | (updateFrameSize): Remove unised variable f. | ||
| 323 | (initFrameFromEmacs): Move toggleButton inside NS_IMPL_COCOA. | ||
| 324 | Cast float to EmacsCGFloat. | ||
| 325 | (windowWillUseStandardFrame:defaultFrame:): Set maximized_height | ||
| 326 | also to -1 when restoring. | ||
| 327 | (windowDidExitFullScreen:): Put call to updateCollectionBehaviour | ||
| 328 | inside NS_IMPL_COCOA. | ||
| 329 | (toggleFullScreen:): Put call to toggleFullScreen inside | ||
| 330 | NS_IMPL_COCOA. Cast float to EmacsCGFloat. | ||
| 331 | (setPosition:portion:whole:): por is CGFloat. | ||
| 332 | (getMouseMotionPart:window:x:y:): Add F suffix to float. | ||
| 333 | (mouseDown:): Use CGFloat. | ||
| 334 | (mouseDragged:): Remove unised variable edge. | ||
| 335 | (EmacsDocument): Implement for NS_IMPL_GNUSTEP. | ||
| 336 | |||
| 337 | * nsterm.h (EmacsCGFloat): Typedef for OSX and GNUStep when the size | ||
| 338 | of CGFloat differs. | ||
| 339 | (EmacsApp): New variable nextappdefined. Declare sendFromMainThread | ||
| 340 | when NS_IMPL_GNUSTEP. | ||
| 341 | (EmacsDocument): Declare when NS_IMPL_GNUSTEP. | ||
| 342 | (EmacsView): Remove unlockFocusNeedsFlush, add windowDidMove. | ||
| 343 | (EmacsToolbar): Add clearAll. Add tag argument to | ||
| 344 | addDisplayItemWithImage. | ||
| 345 | (EmacsSavePanel, EmacsOpenPanel): Remove getFilename and getDirectory. | ||
| 346 | |||
| 347 | * nsselect.m (ns_get_local_selection): Remove unused variable type. | ||
| 348 | |||
| 349 | * nsmenu.m (ns_update_menubar): Make static. | ||
| 350 | (x_activate_menubar): Surround with ifdef NS_IMPL_COCOA | ||
| 351 | (fillWithWidgetValue:): Add cast to SEL for setAction. | ||
| 352 | (addSubmenuWithTitle:forFrame:): Add cast to SEL for action. | ||
| 353 | (update_frame_tool_bar): Update code for GNUStep. | ||
| 354 | (clearAll): New method. | ||
| 355 | (addDisplayItemWithImage:idx:tag:helpText:enabled:): Handle new tag | ||
| 356 | argument. Call insertItemWithItemIdentifier when NS_IMPL_GNUSTEP. | ||
| 357 | Move identifierToItem setObject and activeIdentifiers addObject before | ||
| 358 | call to insertItemWithItemIdentifier. | ||
| 359 | (validateVisibleItems): Fix indentation. | ||
| 360 | (toolbarAllowedItemIdentifiers:): Return activeIdentifiers. | ||
| 361 | (initWithContentRect:styleMask:backing:defer:): Add ClosableWindow and | ||
| 362 | UtilityWindow to aStyle, remove call to setStyleMask. | ||
| 363 | |||
| 364 | * nsimage.m (setXBMColor:, getPixelAtX:Y:): Use EmacsCGFloat. | ||
| 365 | |||
| 366 | * nsfont.m (ns_attribute_fvalue, ns_spec_to_descriptor) | ||
| 367 | (ns_charset_covers, ns_get_covering_families, nsfont_open): | ||
| 368 | Use F suffix on floats. | ||
| 369 | (ns_char_width): Returns CGFloat. | ||
| 370 | (ns_ascii_average_width): w is CGFloat instead of float. | ||
| 371 | (nsfont_draw): cbuf and c are unsigned. Cast to char* in call to | ||
| 372 | DPSxshow. | ||
| 373 | (ns_glyph_metrics): CGFloat instead of float. | ||
| 374 | |||
| 375 | * nsfns.m (x_set_foreground_color, x_set_background_color): | ||
| 376 | Use EmacsCGFloat. | ||
| 377 | (ns_implicitly_set_icon_type, Fx_create_frame): Make static, | ||
| 378 | remove unused variables. | ||
| 379 | (Fns_read_file_name): Keep track if panel is for save. | ||
| 380 | Use ns_filename_from_panel/ns_directory_from_panel. | ||
| 381 | (Fns_list_services): delegate only used for COCOA. | ||
| 382 | (Fns_convert_utf8_nfd_to_nfc): Remove warning for GNUStep. | ||
| 383 | Just return the input if GNUStep. | ||
| 384 | (x_screen_planes): Remove. | ||
| 385 | (Fxw_color_values): Use EmacsCGFloat | ||
| 386 | (Fns_display_monitor_attributes_list): Only get screen number for | ||
| 387 | Cocoa. | ||
| 388 | (getDirectory, getFilename): Removed from EmacsOpenPanel and | ||
| 389 | EmacsSavePanel. | ||
| 390 | (EmacsOpenPanel:ok:): Use ns_filename_from_panel and | ||
| 391 | ns_directory_from_panel. | ||
| 392 | |||
| 393 | 2013-06-01 Paul Eggert <eggert@cs.ucla.edu> | ||
| 394 | |||
| 395 | * process.c (handle_child_signal): Also use WCONTINUED. | ||
| 396 | This is so that list-processes doesn't mistakenly list the process | ||
| 397 | as stopped, when the process has actually been continued and is | ||
| 398 | now running. | ||
| 399 | |||
| 400 | 2013-05-31 Paul Eggert <eggert@cs.ucla.edu> | ||
| 401 | |||
| 402 | Don't let D-bus autolaunch mess up SIGCHLD handling (Bug#14474). | ||
| 403 | * xterm.c (x_term_init): Inhibit D-Bus autolaunch if D-Bus is | ||
| 404 | not already configured. | ||
| 405 | |||
| 406 | * fileio.c (Finsert_file_contents): Remove unused local (Bug#8447). | ||
| 407 | |||
| 408 | 2013-05-29 Eli Zaretskii <eliz@gnu.org> | ||
| 409 | |||
| 410 | * Makefile.in (mostlyclean): Remove *.res files. | ||
| 411 | |||
| 1 | 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca> | 412 | 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 413 | ||
| 3 | * fileio.c (Finsert_file_contents): Preserve undo info when reverting | 414 | * fileio.c (Finsert_file_contents): Preserve undo info when reverting |
| @@ -85,7 +496,7 @@ | |||
| 85 | 2013-05-21 Dmitry Antipov <dmantipov@yandex.ru> | 496 | 2013-05-21 Dmitry Antipov <dmantipov@yandex.ru> |
| 86 | 497 | ||
| 87 | * xdisp.c (reseat_at_previous_visible_line_start): | 498 | * xdisp.c (reseat_at_previous_visible_line_start): |
| 88 | Already declared in dispextern.h, so remove it here. | 499 | Already declared in dispextern.h, so remove it here. |
| 89 | (move_it_vertically_backward): Likewise. | 500 | (move_it_vertically_backward): Likewise. |
| 90 | 501 | ||
| 91 | 2013-05-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 502 | 2013-05-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| @@ -96,7 +507,7 @@ | |||
| 96 | Mention `display-monitor-attributes-list' in docstrings. | 507 | Mention `display-monitor-attributes-list' in docstrings. |
| 97 | 508 | ||
| 98 | * nsfns.m (ns_get_screen): Remove function. All uses removed. | 509 | * nsfns.m (ns_get_screen): Remove function. All uses removed. |
| 99 | (check_ns_display_info): Sync with check_x_display_info in xfns.c. | 510 | (check_ns_display_info): Sync with check_x_display_info in xfns.c. |
| 100 | (Fx_server_max_request_size, Fx_server_vendor, Fx_server_version) | 511 | (Fx_server_max_request_size, Fx_server_vendor, Fx_server_version) |
| 101 | (Fx_display_screens, Fx_display_mm_width, Fx_display_mm_height) | 512 | (Fx_display_screens, Fx_display_mm_width, Fx_display_mm_height) |
| 102 | (Fx_display_backing_store, Fx_display_visual_class) | 513 | (Fx_display_backing_store, Fx_display_visual_class) |
| @@ -252,7 +663,7 @@ | |||
| 252 | 663 | ||
| 253 | 2013-05-07 Paul Eggert <eggert@cs.ucla.edu> | 664 | 2013-05-07 Paul Eggert <eggert@cs.ucla.edu> |
| 254 | 665 | ||
| 255 | Use Gnulib ACL implementation, for benefit of Solaris etc. (Bug#14295) | 666 | Use Gnulib ACL implementation, for benefit of Solaris etc. (Bug#14295) |
| 256 | * Makefile.in (LIB_ACL): New macro. | 667 | * Makefile.in (LIB_ACL): New macro. |
| 257 | (LIBACL_LIBS): Remove. | 668 | (LIBACL_LIBS): Remove. |
| 258 | (LIBES): Use LIB_ACL, not LIBACL_LIBS. | 669 | (LIBES): Use LIB_ACL, not LIBACL_LIBS. |
| @@ -2685,11 +3096,10 @@ | |||
| 2685 | 2012-12-31 Adam Sjøgren <asjo@koldfront.dk> (tiny change) | 3096 | 2012-12-31 Adam Sjøgren <asjo@koldfront.dk> (tiny change) |
| 2686 | 3097 | ||
| 2687 | * xterm.c (scroll-bar-adjust-thumb-portion): New variable to | 3098 | * xterm.c (scroll-bar-adjust-thumb-portion): New variable to |
| 2688 | determine whether scroll bar thumb size should be adjusted or | 3099 | determine whether scroll bar thumb size should be adjusted or not. |
| 2689 | not. Use variable for MOTIF. | 3100 | Use variable for MOTIF. |
| 2690 | 3101 | ||
| 2691 | * gtkutil.c (scroll-bar-adjust-thumb-portion): Use variable for | 3102 | * gtkutil.c (scroll-bar-adjust-thumb-portion): Use variable for GTK. |
| 2692 | GTK. | ||
| 2693 | 3103 | ||
| 2694 | 2013-01-13 Jan Djärv <jan.h.d@swipnet.se> | 3104 | 2013-01-13 Jan Djärv <jan.h.d@swipnet.se> |
| 2695 | 3105 | ||
| @@ -3234,7 +3644,7 @@ | |||
| 3234 | 3644 | ||
| 3235 | 2012-12-14 Paul Eggert <eggert@cs.ucla.edu> | 3645 | 2012-12-14 Paul Eggert <eggert@cs.ucla.edu> |
| 3236 | 3646 | ||
| 3237 | Fix permissions bugs with setgid directories etc. (Bug#13125) | 3647 | Fix permissions bugs with setgid directories etc. (Bug#13125) |
| 3238 | * dired.c (Ffile_attributes): Return t as the 9th attribute, | 3648 | * dired.c (Ffile_attributes): Return t as the 9th attribute, |
| 3239 | to mark it as a placeholder. The old value was often wrong. | 3649 | to mark it as a placeholder. The old value was often wrong. |
| 3240 | The only user of this attribute has been changed to use | 3650 | The only user of this attribute has been changed to use |
| @@ -3534,7 +3944,7 @@ | |||
| 3534 | Use xputenv instead of setenv or putenv, to detect memory exhaustion. | 3944 | Use xputenv instead of setenv or putenv, to detect memory exhaustion. |
| 3535 | * editfns.c (initial_tz): Move static var decl up. | 3945 | * editfns.c (initial_tz): Move static var decl up. |
| 3536 | (tzvalbuf_in_environ): New static var. | 3946 | (tzvalbuf_in_environ): New static var. |
| 3537 | (init_editfns): Initialize these two static vars. | 3947 | (init_editfns): Initialize these two static vars. |
| 3538 | (Fencode_time): Don't assume arbitrary limit on EMACS_INT width. | 3948 | (Fencode_time): Don't assume arbitrary limit on EMACS_INT width. |
| 3539 | Save old TZ value on stack, if it's small. | 3949 | Save old TZ value on stack, if it's small. |
| 3540 | (Fencode_time, set_time_zone_rule): Don't modify 'environ' directly; | 3950 | (Fencode_time, set_time_zone_rule): Don't modify 'environ' directly; |
| @@ -3813,7 +4223,7 @@ | |||
| 3813 | Use execve to avoid need to munge environ (Bug#13054). | 4223 | Use execve to avoid need to munge environ (Bug#13054). |
| 3814 | * callproc.c (Fcall_process): | 4224 | * callproc.c (Fcall_process): |
| 3815 | * process.c (create_process): | 4225 | * process.c (create_process): |
| 3816 | Don't save and restore environ; no longer needed. | 4226 | Don't save and restore environ; no longer needed. |
| 3817 | * callproc.c (child_setup): | 4227 | * callproc.c (child_setup): |
| 3818 | Use execve, not execvp, to preserve environ. | 4228 | Use execve, not execvp, to preserve environ. |
| 3819 | 4229 | ||
| @@ -4335,7 +4745,7 @@ | |||
| 4335 | * w32term.c (x_window_to_scroll_bar): Likewise. | 4745 | * w32term.c (x_window_to_scroll_bar): Likewise. |
| 4336 | * window.c (window_list): Likewise. | 4746 | * window.c (window_list): Likewise. |
| 4337 | * xdisp.c (x_consider_frame_title): Likewise. | 4747 | * xdisp.c (x_consider_frame_title): Likewise. |
| 4338 | * xfaces.c ( Fdisplay_supports_face_attributes_p): Likewise. | 4748 | * xfaces.c (Fdisplay_supports_face_attributes_p): Likewise. |
| 4339 | * xfns.c (x_window_to_frame, x_any_window_to_frame) | 4749 | * xfns.c (x_window_to_frame, x_any_window_to_frame) |
| 4340 | (x_menubar_window_to_frame, x_top_window_to_frame): Likewise. | 4750 | (x_menubar_window_to_frame, x_top_window_to_frame): Likewise. |
| 4341 | * xmenu.c (menubar_id_to_frame): Likewise. | 4751 | * xmenu.c (menubar_id_to_frame): Likewise. |
| @@ -17567,7 +17977,7 @@ | |||
| 17567 | 17977 | ||
| 17568 | Fix memory allocation problems in Cygwin build (Bug#9273). | 17978 | Fix memory allocation problems in Cygwin build (Bug#9273). |
| 17569 | 17979 | ||
| 17570 | * unexcw.c ( __malloc_initialized): Declare external variable. | 17980 | * unexcw.c (__malloc_initialized): Declare external variable. |
| 17571 | (fixup_executable): Force the dumped emacs to reinitialize malloc. | 17981 | (fixup_executable): Force the dumped emacs to reinitialize malloc. |
| 17572 | 17982 | ||
| 17573 | * gmalloc.c [CYGWIN] (bss_sbrk_heapbase, bss_sbrk_heapinfo): | 17983 | * gmalloc.c [CYGWIN] (bss_sbrk_heapbase, bss_sbrk_heapinfo): |