diff options
| author | Xue Fuqiao | 2013-06-04 07:34:27 +0800 |
|---|---|---|
| committer | Xue Fuqiao | 2013-06-04 07:34:27 +0800 |
| commit | c362f1950814689b0a6f03f0fa48b07784b90a16 (patch) | |
| tree | ecb082e3fcca890b57ddc42f733808cca5e782a3 /src/ChangeLog | |
| parent | d3ffe17c6f56435ebd2aca787122a3982ac5fcb2 (diff) | |
| parent | b9110c6b2f796b5147b018c3d70df9d6af657eff (diff) | |
| download | emacs-c362f1950814689b0a6f03f0fa48b07784b90a16.tar.gz emacs-c362f1950814689b0a6f03f0fa48b07784b90a16.zip | |
Merge from mainline.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 242 |
1 files changed, 242 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 65a49bae1dc..7fdd456c9a7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,245 @@ | |||
| 1 | 2013-06-03 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * w32console.c (initialize_w32_display): Return the dimensions of | ||
| 4 | the console window via 2 additional arguments, not via the current | ||
| 5 | frame. This avoids crashes due to overrunning the bounds of | ||
| 6 | frame's decode_mode_spec_buffer, which is not resized following | ||
| 7 | the change of the frame dimensions from the initial 10x10. | ||
| 8 | |||
| 9 | * w32term.h (w32_initialize_display_info): Adjust prototype. | ||
| 10 | |||
| 11 | * term.c (init_tty): Take dimensions of the frame from the values | ||
| 12 | returned by initialize_w32_display. | ||
| 13 | |||
| 14 | * Makefile.in (GFILENOTIFY_CFLAGS, GFILENOTIFY_LIBS): New variables. | ||
| 15 | (ALL_CFLAGS): Add $(GFILENOTIFY_CFLAGS). | ||
| 16 | (LIBES): Add $(GFILENOTIFY_LIBS). | ||
| 17 | |||
| 18 | * w32inevt.c (handle_file_notifications): Add dummy implementation | ||
| 19 | for !HAVE_W32NOTIFY. | ||
| 20 | |||
| 21 | * w32term.c: Wrap code with HAVE_W32NOTIFY. | ||
| 22 | |||
| 23 | 2013-06-03 Jan Djärv <jan.h.d@swipnet.se> | ||
| 24 | |||
| 25 | * xgselect.c: Replace #if defined ... with #ifdef HAVE_GLIB. | ||
| 26 | |||
| 27 | * process.c (wait_reading_process_output): Call xg_select if HAVE_GLIB. | ||
| 28 | |||
| 29 | * Makefile.in (XGSELOBJ): New, xgselect.o if GLib is used, or empty. | ||
| 30 | |||
| 31 | 2013-06-03 Paul Eggert <eggert@cs.ucla.edu> | ||
| 32 | |||
| 33 | Fix minor problems found by static checking. | ||
| 34 | * data.c (pure_write_error): | ||
| 35 | Use xsignal2, not Fsignal, as Fsignal might return. | ||
| 36 | * eval.c (set_backtrace_debug_on_exit): Now static. | ||
| 37 | (backtrace_p, backtrace_top, backtrace_next, record_in_backtrace): | ||
| 38 | No longer inline. EXTERN_INLINE is needed only for functions | ||
| 39 | defined in .h files. Reindent function header as per GNU style. | ||
| 40 | (backtrace_p, backtrace_top, backtrace_next): | ||
| 41 | Mark EXTERNALLY_VISIBLE so they don't get optimized away by the | ||
| 42 | compiler or linker. Add extern decls to pacify gcc -Wall. | ||
| 43 | * frame.c, frame.h (Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource): | ||
| 44 | Now static. | ||
| 45 | * frame.c (free_monitors): Define only on platforms that need it. | ||
| 46 | * nsterm.m (ns_term_init): | ||
| 47 | * process.c (catch_child_signal): | ||
| 48 | Don't worry about whether SIGCHLD is defined, as SIGCHLD is | ||
| 49 | defined on all porting targets these days. | ||
| 50 | * process.c, process.h (catch_child_signal): | ||
| 51 | Make it extern only if NS_IMPL_GNUSTEP is defined. | ||
| 52 | |||
| 53 | 2013-06-03 Eli Zaretskii <eliz@gnu.org> | ||
| 54 | |||
| 55 | * w32.c (gettimeofday): Make the signature identical to prototype | ||
| 56 | in nt/inc/sys/time.h. | ||
| 57 | |||
| 58 | 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 59 | |||
| 60 | * eval.c (backtrace_p, backtrace_top, backtrace_next): Export them to | ||
| 61 | .gdbinit. | ||
| 62 | |||
| 63 | * keyboard.c (safe_run_hooks_error): Improve error message. | ||
| 64 | |||
| 65 | * data.c (pure_write_error): Add `object' argument. | ||
| 66 | * puresize.h (CHECK_IMPURE): Use it. | ||
| 67 | |||
| 68 | 2013-06-03 Michael Albinus <michael.albinus@gmx.de> | ||
| 69 | |||
| 70 | * Makefile.in (NOTIFY_OBJ): New variable. | ||
| 71 | (base_obj): Replace inotify.o by $(NOTIFY_OBJ). | ||
| 72 | |||
| 73 | * emacs.c (main): Use HAVE_W32NOTIFY to wrap respective code. | ||
| 74 | Call syms_of_gfilenotify. | ||
| 75 | |||
| 76 | * gfilenotify.c: New file. | ||
| 77 | |||
| 78 | * keyboard.c (Qfile_notify): New variable. Replaces Qfile_inotify | ||
| 79 | and Qfile_w32notify. | ||
| 80 | (top): Wrap respective code by HAVE_GFILENOTIFY, HAVE_INOTIFY, | ||
| 81 | HAVE_W32NOTIFY and USE_FILE_NOTIFY. | ||
| 82 | |||
| 83 | * lisp.h: Declare syms_of_gfilenotify. | ||
| 84 | |||
| 85 | * termhooks.h (e): Wrap enum by USE_FILE_NOTIFY. | ||
| 86 | |||
| 87 | 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 88 | |||
| 89 | Merge the specpdl and backtrace stacks. Make the structure of the | ||
| 90 | specpdl entries more obvious via a tagged union of structs. | ||
| 91 | * lisp.h (BITS_PER_PTRDIFF_T): New constant. | ||
| 92 | (enum specbind_tag): New enum. | ||
| 93 | (struct specbinding): Make it a tagged union of structs. | ||
| 94 | Add a case for backtrace records. | ||
| 95 | (specpdl_symbol, specpdl_old_value, specpdl_where, specpdl_arg) | ||
| 96 | (specpdl_func, backtrace_function, backtrace_nargs, backtrace_args) | ||
| 97 | (backtrace_debug_on_exit): New accessors. | ||
| 98 | (struct backtrace): Remove. | ||
| 99 | (struct catchtag): Remove backlist field. | ||
| 100 | * data.c (let_shadows_buffer_binding_p, let_shadows_global_binding_p): | ||
| 101 | Move to eval.c. | ||
| 102 | (Flocal_variable_p): Speed up the common case where the binding is | ||
| 103 | already loaded. | ||
| 104 | * eval.c (backtrace_list): Remove. | ||
| 105 | (set_specpdl_symbol, set_specpdl_old_value): Remove. | ||
| 106 | (set_backtrace_args, set_backtrace_nargs) | ||
| 107 | (set_backtrace_debug_on_exit, backtrace_p, backtrace_top) | ||
| 108 | (backtrace_next): New functions. | ||
| 109 | (Fdefvaralias, Fdefvar): Adjust to new specpdl format. | ||
| 110 | (unwind_to_catch, internal_lisp_condition_case) | ||
| 111 | (internal_condition_case, internal_condition_case_1) | ||
| 112 | (internal_condition_case_2, internal_condition_case_n): Don't bother | ||
| 113 | with backtrace_list any more. | ||
| 114 | (Fsignal): Adjust to new backtrace format. | ||
| 115 | (grow_specpdl): Move up. | ||
| 116 | (record_in_backtrace): New function. | ||
| 117 | (eval_sub, Ffuncall): Use it. | ||
| 118 | (apply_lambda): Adjust to new backtrace format. | ||
| 119 | (let_shadows_buffer_binding_p, let_shadows_global_binding_p): Move from | ||
| 120 | data.c. | ||
| 121 | (specbind): Adjust to new specpdl format. Simplify. | ||
| 122 | (record_unwind_protect, unbind_to): Adjust to new specpdl format. | ||
| 123 | (Fbacktrace_debug, Fbacktrace, Fbacktrace_frame): Adjust to new | ||
| 124 | backtrace format. | ||
| 125 | (mark_backtrace): Remove. | ||
| 126 | (mark_specpdl, get_backtrace, backtrace_top_function): New functions. | ||
| 127 | * xdisp.c (redisplay_internal): Use record_in_backtrace. | ||
| 128 | * alloc.c (Fgarbage_collect): Use record_in_backtrace. | ||
| 129 | Use mark_specpdl. | ||
| 130 | * profiler.c (record_backtrace): Use get_backtrace. | ||
| 131 | (handle_profiler_signal): Use backtrace_top_function. | ||
| 132 | * .gdbinit (xbacktrace, hookpost-backtrace): Use new backtrace | ||
| 133 | accessor functions. | ||
| 134 | |||
| 135 | 2013-06-02 Jan Djärv <jan.h.d@swipnet.se> | ||
| 136 | |||
| 137 | * process.h (catch_child_signal): Declare. | ||
| 138 | |||
| 139 | * process.c (catch_child_signal): New function. | ||
| 140 | (init_process_emacs): Call it. | ||
| 141 | |||
| 142 | * nsterm.m: Include process.h if NS_IMPL_GNUSTEP. | ||
| 143 | (ns_menu_bar_is_hidden, menu_will_open_state): Define only if | ||
| 144 | NS_IMPL_COCOA. | ||
| 145 | (x_set_cursor_type): Remove declaration. | ||
| 146 | (ns_update_begin): Only use r and bp if NS_IMPL_COCOA. | ||
| 147 | (ns_update_end, ns_focus, ns_unfocus): Remove GNUStep specific code. | ||
| 148 | (x_set_window_size): Remove 3 pixels from toolbar if NS_IMPL_GNUSTEP. | ||
| 149 | (ns_get_color): Use F suffix on float. | ||
| 150 | (ns_color_to_lisp, ns_query_color): Use EmacsCGFloat. | ||
| 151 | (ns_get_rgb_color): Remove. | ||
| 152 | (x_set_frame_alpha): Move view inside NS_IMPL_COCOA. | ||
| 153 | (note_mouse_movement): x and y are CGFloat. | ||
| 154 | (ns_draw_fringe_bitmap): Remove unused rowY. | ||
| 155 | Change #if to COCOA && >= 10_6. | ||
| 156 | (ns_draw_window_cursor): Remove unused overspill. | ||
| 157 | (ns_draw_underwave): width and x are EamcsCGFloat. | ||
| 158 | (ns_draw_box): thickness is CGFloat. | ||
| 159 | (ns_dumpglyphs_image): Change #if to COCOA && >= 10_6. | ||
| 160 | (ns_send_appdefined): When NS_IMPL_GNUSTEP, redirect to main thread | ||
| 161 | if not in main thread. | ||
| 162 | (ns_get_pending_menu_title, ns_check_menu_open) | ||
| 163 | (ns_check_pending_open_menu): Put inside #if COCOA && >= 10_5. | ||
| 164 | (ns_term_init): Call catch_child_signal if NS_IMPL_GNUSTEP && SIGCHLD. | ||
| 165 | (sendFromMainThread:): New method. | ||
| 166 | (changeFont:): size is CGFloat. | ||
| 167 | (keyDown:): Check for Delete when NS_IMPL_GNUSTEP. | ||
| 168 | Disable warning about permanent text. | ||
| 169 | (characterIndexForPoint:): Adjust return type depending on GNUStep | ||
| 170 | version. | ||
| 171 | (mouseDown:): delta is CGFloat. | ||
| 172 | (updateFrameSize): Remove unised variable f. | ||
| 173 | (initFrameFromEmacs): Move toggleButton inside NS_IMPL_COCOA. | ||
| 174 | Cast float to EmacsCGFloat. | ||
| 175 | (windowWillUseStandardFrame:defaultFrame:): Set maximized_height | ||
| 176 | also to -1 when restoring. | ||
| 177 | (windowDidExitFullScreen:): Put call to updateCollectionBehaviour | ||
| 178 | inside NS_IMPL_COCOA. | ||
| 179 | (toggleFullScreen:): Put call to toggleFullScreen inside | ||
| 180 | NS_IMPL_COCOA. Cast float to EmacsCGFloat. | ||
| 181 | (setPosition:portion:whole:): por is CGFloat. | ||
| 182 | (getMouseMotionPart:window:x:y:): Add F suffix to float. | ||
| 183 | (mouseDown:): Use CGFloat. | ||
| 184 | (mouseDragged:): Remove unised variable edge. | ||
| 185 | (EmacsDocument): Implement for NS_IMPL_GNUSTEP. | ||
| 186 | |||
| 187 | * nsterm.h (EmacsCGFloat): Typedef for OSX and GNUStep when the size | ||
| 188 | of CGFloat differs. | ||
| 189 | (EmacsApp): New variable nextappdefined. Declare sendFromMainThread | ||
| 190 | when NS_IMPL_GNUSTEP. | ||
| 191 | (EmacsDocument): Declare when NS_IMPL_GNUSTEP. | ||
| 192 | (EmacsView): Remove unlockFocusNeedsFlush, add windowDidMove. | ||
| 193 | (EmacsToolbar): Add clearAll. Add tag argument to | ||
| 194 | addDisplayItemWithImage. | ||
| 195 | (EmacsSavePanel, EmacsOpenPanel): Remove getFilename and getDirectory. | ||
| 196 | |||
| 197 | * nsselect.m (ns_get_local_selection): Remove unused variable type. | ||
| 198 | |||
| 199 | * nsmenu.m (ns_update_menubar): Make static. | ||
| 200 | (x_activate_menubar): Surround with ifdef NS_IMPL_COCOA | ||
| 201 | (fillWithWidgetValue:): Add cast to SEL for setAction. | ||
| 202 | (addSubmenuWithTitle:forFrame:): Add cast to SEL for action. | ||
| 203 | (update_frame_tool_bar): Update code for GNUStep. | ||
| 204 | (clearAll): New method. | ||
| 205 | (addDisplayItemWithImage:idx:tag:helpText:enabled:): Handle new tag | ||
| 206 | argument. Call insertItemWithItemIdentifier when NS_IMPL_GNUSTEP. Move | ||
| 207 | identifierToItem setObject and activeIdentifiers addObject before | ||
| 208 | call to insertItemWithItemIdentifier. | ||
| 209 | (validateVisibleItems): Fix indentation. | ||
| 210 | (toolbarAllowedItemIdentifiers:): Return activeIdentifiers. | ||
| 211 | (initWithContentRect:styleMask:backing:defer:): Add ClosableWindow and | ||
| 212 | UtilityWindow to aStyle, remove call to setStyleMask. | ||
| 213 | |||
| 214 | * nsimage.m (setXBMColor:, getPixelAtX:Y:): Use EmacsCGFloat. | ||
| 215 | |||
| 216 | * nsfont.m (ns_attribute_fvalue, ns_spec_to_descriptor) | ||
| 217 | (ns_charset_covers, ns_get_covering_families, nsfont_open): | ||
| 218 | Use F suffix on floats. | ||
| 219 | (ns_char_width): Returns CGFloat. | ||
| 220 | (ns_ascii_average_width): w is CGFloat instead of float. | ||
| 221 | (nsfont_draw): cbuf and c are unsigned. Cast to char* in call to | ||
| 222 | DPSxshow. | ||
| 223 | (ns_glyph_metrics): CGFloat instead of float. | ||
| 224 | |||
| 225 | * nsfns.m (x_set_foreground_color, x_set_background_color): Use | ||
| 226 | EmacsCGFloat. | ||
| 227 | (ns_implicitly_set_icon_type, Fx_create_frame): Make static, remove | ||
| 228 | unused variables. | ||
| 229 | (Fns_read_file_name): Keep track if panel is for save. Use | ||
| 230 | ns_filename_from_panel/ns_directory_from_panel. | ||
| 231 | (Fns_list_services): delegate only used for COCOA. | ||
| 232 | (Fns_convert_utf8_nfd_to_nfc): Remove warning for GNUStep. Just | ||
| 233 | return the input if GNUStep. | ||
| 234 | (x_screen_planes): Remove. | ||
| 235 | (Fxw_color_values): Use EmacsCGFloat | ||
| 236 | (Fns_display_monitor_attributes_list): Only get screen number for | ||
| 237 | Cocoa. | ||
| 238 | (getDirectory, getFilename): Removed from EmacsOpenPanel and | ||
| 239 | EmacsSavePanel. | ||
| 240 | (EmacsOpenPanel:ok:): Use ns_filename_from_panel and | ||
| 241 | ns_directory_from_panel. | ||
| 242 | |||
| 1 | 2013-06-01 Paul Eggert <eggert@cs.ucla.edu> | 243 | 2013-06-01 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 244 | ||
| 3 | * process.c (handle_child_signal): Also use WCONTINUED. | 245 | * process.c (handle_child_signal): Also use WCONTINUED. |