diff options
| author | Joakim Verona | 2012-08-15 21:49:40 +0200 |
|---|---|---|
| committer | Joakim Verona | 2012-08-15 21:49:40 +0200 |
| commit | b648c26ec642a1dc58c0bd7e59d6011b964dbe37 (patch) | |
| tree | f0f3b38ffa9054702f475fc53622e28da14f97b1 /src/ChangeLog | |
| parent | c8b0fc1999006af5a4317b44068fac13d9592143 (diff) | |
| parent | 94c9ece10275f8ca9323c38f93607f1046035c79 (diff) | |
| download | emacs-b648c26ec642a1dc58c0bd7e59d6011b964dbe37.tar.gz emacs-b648c26ec642a1dc58c0bd7e59d6011b964dbe37.zip | |
upstream
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 787 |
1 files changed, 764 insertions, 23 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a6913d1ad78..6e49dd44fde 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,744 @@ | |||
| 1 | 2012-08-15 Jan Djärv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * nsmenu.m (popupSession): Remove. | ||
| 4 | (pop_down_menu): Remove endModalSession. | ||
| 5 | (timeout_handler:): New method. | ||
| 6 | (runDialogAt:): Get next timeout. Start a NSTimer with that timeout. | ||
| 7 | Call runModalForWindow. Check timer_fired when it returns. | ||
| 8 | If not set, cancel timer and break out of loop. | ||
| 9 | Otherwise loop again, with a new timeout. | ||
| 10 | |||
| 11 | * nsterm.m: Include fcntl.h if present. | ||
| 12 | (fd_entry, t_readfds, inNsSelect): Remove. | ||
| 13 | (select_writefds, select_valid, select_timeout, selfds) | ||
| 14 | (select_mutex, apploopnr): Add. | ||
| 15 | (EV_TRAILER): Call kbd_buffer_store_event_hold only if q_event_ptr. | ||
| 16 | Otherwise call kbd_buffer_store_event. | ||
| 17 | (ns_send_appdefined): Remove release of fd_entry. | ||
| 18 | (ns_read_socket): Always send appdefined. Remove inNsSelect check. | ||
| 19 | Increment and decrement apploopnr. | ||
| 20 | (ns_select): If no file descriptors, just do a NSTimer. | ||
| 21 | Otherwise copy read/write masks and start select thread (fd_handler). | ||
| 22 | Start main loop and wait for application defined event. | ||
| 23 | Inform select thread to stop selecting after main loop is exited. | ||
| 24 | (ns_term_init): Create selfds pipe and set non-blocking. | ||
| 25 | Initialize select_mutex. Start the select thread (fd_handler). | ||
| 26 | (fd_handler:): Loop forever, wait for info from the main thread | ||
| 27 | to either start or stop selecting. When select returns, send | ||
| 28 | and appdefined event. | ||
| 29 | (sendScrollEventAtLoc:fromEvent:): Check if q_event_ptr is set. | ||
| 30 | If not call kbd_buffer_store_event. | ||
| 31 | |||
| 32 | * nsterm.h (EmacsApp): fd_handler takes id argument. | ||
| 33 | (EmacsDialogPanel): Add timer_fired and timeout_handler. | ||
| 34 | |||
| 35 | * gtkutil.c (xg_mark_data): Use FRAME_X_P. | ||
| 36 | |||
| 37 | 2012-08-15 Eli Zaretskii <eliz@gnu.org> | ||
| 38 | |||
| 39 | * region-cache.c (move_cache_gap): Update gap_len using the actual | ||
| 40 | growth of the boundaries array. Do not change cache_len. | ||
| 41 | (Bug#12196) | ||
| 42 | |||
| 43 | 2012-08-15 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 44 | |||
| 45 | Generalize and cleanup font subsystem checks. | ||
| 46 | * font.h (FONT_DEBUG, font_assert): Remove. | ||
| 47 | * font.c, fontset.c, w32font.c, xfont.c, xftfont.c: Change | ||
| 48 | font_assert to eassert. Use eassert where appropriate. | ||
| 49 | |||
| 50 | 2012-08-15 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 51 | |||
| 52 | * gtkutil.c (xg_get_font): Use pango_units_to_double. | ||
| 53 | |||
| 54 | 2012-08-15 Chong Yidong <cyd@gnu.org> | ||
| 55 | |||
| 56 | * gtkutil.c (xg_get_font): Rename from xg_get_font_name. When | ||
| 57 | using the new font chooser, use gtk_font_chooser_get_font_desc to | ||
| 58 | extract the font descriptor instead of just the font name. In | ||
| 59 | that case, return a font spec instead of a string. | ||
| 60 | (x_last_font_name): Move to this file from xfns.c. | ||
| 61 | |||
| 62 | * xfns.c (Fx_select_font): The return value can also be a font | ||
| 63 | spec. Move x_last_font_name management to gtkutil.c. | ||
| 64 | |||
| 65 | * xfaces.c: Make font weight and style symbols non-static. | ||
| 66 | |||
| 67 | 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 68 | |||
| 69 | * minibuf.c (read_minibuf): Ignore caller's inhibit-read-only | ||
| 70 | (bug#12117). | ||
| 71 | |||
| 72 | 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 73 | |||
| 74 | * alloc.c (Fgarbage_collect): Use plural form consistently. | ||
| 75 | |||
| 76 | 2012-08-14 Eli Zaretskii <eliz@gnu.org> | ||
| 77 | |||
| 78 | * keyboard.c (command_loop_1): Reset ignore_mouse_drag_p flag each | ||
| 79 | iteration through the command loop. Fixes a problem whereby mouse | ||
| 80 | movements are ignored until the first mouse click. | ||
| 81 | |||
| 82 | 2012-08-14 Paul Eggert <eggert@cs.ucla.edu> | ||
| 83 | |||
| 84 | Use bool, not int, for Lisp booleans. | ||
| 85 | This is more natural, and on my platform (GCC 4.7.1 x86-64) it | ||
| 86 | makes Emacs a bit smaller and presumably a bit faster. | ||
| 87 | * lisp.h: Include <stdbool.h>. | ||
| 88 | (struct Lisp_Boolfwd, defvar_bool): | ||
| 89 | * lread.c (defvar_bool): Use bool, not int, for Lisp booleans. | ||
| 90 | * regex.c [!emacs]: Include <stdbool.h>. | ||
| 91 | (false, true): Remove; <stdbool.h> does this for us now. | ||
| 92 | |||
| 93 | 2012-08-14 Chong Yidong <cyd@gnu.org> | ||
| 94 | |||
| 95 | * character.c (Fcharacterp): Doc fix (Bug#12076). | ||
| 96 | |||
| 97 | * data.c (Findirect_variable): Doc fix (Bug#11040). | ||
| 98 | |||
| 99 | * chartab.c (Fmap_char_table): Doc fix (Bug#12061). | ||
| 100 | |||
| 101 | * editfns.c (Fformat): Doc fix (Bug#12059). | ||
| 102 | (Fsave_current_buffer): Doc fix (Bug#11542). | ||
| 103 | |||
| 104 | 2012-08-14 Barry OReilly <gundaetiapo@gmail.com> (tiny change) | ||
| 105 | |||
| 106 | * keyboard.c (access_keymap_keyremap): Accept anonymous functions | ||
| 107 | (bug#12022). | ||
| 108 | |||
| 109 | 2012-08-14 Martin Rudalics <rudalics@gmx.at> | ||
| 110 | |||
| 111 | * frame.c (make_frame_without_minibuffer, make_minibuffer_frame) | ||
| 112 | (delete_frame, Fmake_frame_invisible, Ficonify_frame): | ||
| 113 | * minibuf.c (choose_minibuf_frame, read_minibuf): | ||
| 114 | * w32fns.c (x_create_tip_frame): | ||
| 115 | * xfns.c (x_create_tip_frame): Call set_window_buffer instead of | ||
| 116 | Fset_window_buffer (Bug#11984, Bug#12025, Bug#12026). | ||
| 117 | |||
| 118 | 2012-08-14 Paul Eggert <eggert@cs.ucla.edu> | ||
| 119 | |||
| 120 | * intervals.c (offset_intervals): Remove obsolete comment. | ||
| 121 | |||
| 122 | 2012-08-14 Andreas Schwab <schwab@linux-m68k.org> | ||
| 123 | |||
| 124 | * gtkutil.c (find_rtl_image, update_frame_tool_bar): Use NILP. | ||
| 125 | |||
| 126 | 2012-08-14 Gergely Risko <gergely@risko.hu> | ||
| 127 | |||
| 128 | * coding.c (decode_coding): Record buffer modification before | ||
| 129 | disabling undo_list (Bug#11773). | ||
| 130 | |||
| 131 | 2012-08-14 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 132 | |||
| 133 | Revert and cleanup some recent overlay changes. | ||
| 134 | * buffer.h (enum overlay_type): Remove. | ||
| 135 | (buffer_get_overlays, buffer_set_overlays): Likewise. | ||
| 136 | (buffer_set_overlays_before, buffer_set_overlays_after): | ||
| 137 | New function. Adjust users. | ||
| 138 | (unchain_both): Add eassert. | ||
| 139 | |||
| 140 | 2012-08-14 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 141 | |||
| 142 | * gtkutil.c (update_frame_tool_bar): Use EQ where appropriate. | ||
| 143 | |||
| 144 | 2012-08-14 Paul Eggert <eggert@cs.ucla.edu> | ||
| 145 | |||
| 146 | * gtkutil.c (xg_mark_data): Don't assume C99. | ||
| 147 | |||
| 148 | 2012-08-13 Jan Djärv <jan.h.d@swipnet.se> | ||
| 149 | |||
| 150 | * gtkutil.c (xg_frame_tb_info): New struct. | ||
| 151 | (TB_INFO_KEY): New define. | ||
| 152 | (xg_free_frame_widgets): Free xg_frame_tb_info for frame if present. | ||
| 153 | (xg_mark_data): Mark Lisp_Objects in xg_frame_tb_info. | ||
| 154 | (xg_create_tool_bar): Allocate and initialize a xg_frame_tb_info | ||
| 155 | if not present. | ||
| 156 | (update_frame_tool_bar): Return early if data in xg_frame_tb_info | ||
| 157 | is up to date. Otherwise store new data. | ||
| 158 | (free_frame_tool_bar): Free xg_frame_tb_info if present. | ||
| 159 | |||
| 160 | 2012-08-13 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 161 | |||
| 162 | Use KSET for write access to Lisp_Object members of struct kboard. | ||
| 163 | * keyboard.h (KSET): New macro. | ||
| 164 | * callint.c, category.c, frame.c, keyboard.c, keyboard.h, macros.c: | ||
| 165 | * msdos.c, nsfns.m, nsterm.m, term.c, w32fns.c, w32term.c, xfns.c: | ||
| 166 | * xterm.c: Adjust users. | ||
| 167 | |||
| 168 | 2012-08-13 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 169 | |||
| 170 | Use BSET for write access to Lisp_Object members of struct buffer. | ||
| 171 | * buffer.h (BSET): New macro. | ||
| 172 | * buffer.c, casetab.c, cmds.c, coding.c, data.c, editfns.c: | ||
| 173 | * fileio.c, frame.c, indent.c, insdel.c, intervals.c, keymap.c: | ||
| 174 | * minibuf.c, print.c, process.c, syntax.c, undo.c, w32fns.c: | ||
| 175 | * window.c, xdisp.c, xfns.c: Adjust users. | ||
| 176 | |||
| 177 | 2012-08-11 BT Templeton <bpt@hcoop.net> (tiny change) | ||
| 178 | |||
| 179 | * lread.c (syms_of_lread): Initialize Vlexical_binding. | ||
| 180 | |||
| 181 | 2012-08-11 Jan Djärv <jan.h.d@swipnet.se> | ||
| 182 | |||
| 183 | * nsterm.m (not_in_argv): New function. | ||
| 184 | (application:openFile, application:openTempFile:): | ||
| 185 | (application:openFileWithoutUI:, application:openFiles:): Open file | ||
| 186 | if not_in_argv returns non-zero (bug#12171). | ||
| 187 | |||
| 188 | * gtkutil.c (gtk_font_chooser_dialog_new, GTK_FONT_CHOOSER) | ||
| 189 | (gtk_font_chooser_set_font, gtk_font_chooser_get_font): | ||
| 190 | Define for Gtk+ versions less than 3.2. | ||
| 191 | (xg_get_font_name): Use those functions/macros here. | ||
| 192 | Reported by Frans Oilinki <moilinki@gmail.com>. | ||
| 193 | |||
| 194 | 2012-08-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 195 | |||
| 196 | * unexmacosx.c (copy_data_segment): Copy initialized data in | ||
| 197 | statically linked libraries from input file rather than memory. | ||
| 198 | |||
| 199 | * unexmacosx.c (print_load_command_name): Add cases LC_MAIN, | ||
| 200 | LC_SOURCE_VERSION, and LC_DYLIB_CODE_SIGN_DRS. | ||
| 201 | (dump_it) [LC_DYLIB_CODE_SIGN_DRS]: Call copy_linkedit_data. | ||
| 202 | |||
| 203 | 2012-08-10 Glenn Morris <rgm@gnu.org> | ||
| 204 | |||
| 205 | * conf_post.h (IF_LINT, lint_assume): Move here from lisp.h. | ||
| 206 | * lisp.h (IF_LINT, lint_assume): Move to conf_post.h. | ||
| 207 | |||
| 208 | 2012-08-10 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 209 | |||
| 210 | Fix last change to allow compilation with low optimization levels. | ||
| 211 | * intervals.c (INTERVALS_INLINE): Define to EXTERN_INLINE. | ||
| 212 | Reported by Jan Djärv <jan.h.d@swipnet.se>. | ||
| 213 | |||
| 214 | 2012-08-10 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 215 | |||
| 216 | Use common inline syntax in intervals.h. | ||
| 217 | * intervals.h (INTERVALS_INLINE): New macro. | ||
| 218 | Change all users from LISP_INLINE. | ||
| 219 | |||
| 220 | 2012-08-10 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 221 | |||
| 222 | Define Qnone once for all platforms. | ||
| 223 | * frame.c (Qnone): Define here. | ||
| 224 | (syms_of_frame): DEFSYM it. | ||
| 225 | * lisp.h (Qnone): New declaration. | ||
| 226 | * nsfns.m, nsterm.h, nsterm.m, w32fns.c, w32font.c: | ||
| 227 | * xfns.c: Remove duplication. Adjust users. | ||
| 228 | |||
| 229 | 2012-08-10 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 230 | |||
| 231 | Remove unused macros from intervals.h. | ||
| 232 | * intervals.h (MERGE_INSERTIONS, DISPLAY_INVISIBLE_GLYPH): Remove. | ||
| 233 | * intervals.c: Adjust comment. | ||
| 234 | |||
| 235 | 2012-08-10 Eli Zaretskii <eliz@gnu.org> | ||
| 236 | |||
| 237 | * w32fns.c <w32_unicode_gui>: New static variable. | ||
| 238 | (globals_of_w32fns): Initialize it according to os_subtype. | ||
| 239 | (w32_init_class, w32_msg_pump, w32_wnd_proc): Use it instead of | ||
| 240 | testing os_subtype. | ||
| 241 | |||
| 242 | 2012-08-10 Joakim Hårsman <joakim.harsman@gmail.com> (tiny change) | ||
| 243 | Eli Zaretskii <eliz@gnu.org> | ||
| 244 | |||
| 245 | Fix bug #10299 with Unicode characters sent by customized | ||
| 246 | keyboards created by MSKLC. | ||
| 247 | * w32fns.c (INIT_WINDOW_CLASS): New macro. | ||
| 248 | (w32_init_class): Use it to initialize the Emacs class with either | ||
| 249 | ANSI or Unicode API calls. | ||
| 250 | (w32_msg_pump): Call GetMessageW and DispatchMessageW on NT and | ||
| 251 | later. | ||
| 252 | (w32_wnd_proc): If the character code sent by WM_CHAR or | ||
| 253 | WM_SYSCHAR is above 255, post a WM_UNICHAR message, not the | ||
| 254 | original message. Call DefWindowProcW on NT and later. | ||
| 255 | |||
| 256 | 2012-08-10 Glenn Morris <rgm@gnu.org> | ||
| 257 | |||
| 258 | * Makefile.in (config_h): Fix conf_post.h out-of-tree build location. | ||
| 259 | |||
| 260 | * lisp.h (DIRECTORY_SEP): Let configure set it. | ||
| 261 | |||
| 262 | 2012-08-09 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 263 | |||
| 264 | Use TSET for write access to Lisp_Object slots of struct terminal. | ||
| 265 | * termhooks.h (TSET): New macro. | ||
| 266 | * coding.c, terminal.c, xselect.c: Adjust users. | ||
| 267 | |||
| 268 | 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 269 | |||
| 270 | * xdisp.c (safe_eval_handler): Remove prototype. Receive args describing | ||
| 271 | the failing expression, include them in the error message. | ||
| 272 | * eval.c (internal_condition_case_n): Pass nargs and args to hfun. | ||
| 273 | * lisp.h (internal_condition_case_n): Update declaration. | ||
| 274 | |||
| 275 | 2012-08-08 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 276 | |||
| 277 | Inline functions to examine and change buffer overlays. | ||
| 278 | * buffer.c (unchain_both): New function. | ||
| 279 | * buffer.h (buffer_get_overlays, buffer_set_overlays): | ||
| 280 | (buffer_has_overlays): New function. | ||
| 281 | (enum overlay_type): New enum. | ||
| 282 | * alloc.c, buffer.c, editfns.c, fileio.c, indent.c: | ||
| 283 | * insdel.c, intervals.c, print.c, xdisp.c: Adjust users. | ||
| 284 | |||
| 285 | 2012-08-08 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 286 | |||
| 287 | Inline functions to examine and change buffer intervals. | ||
| 288 | * alloc.c (mark_interval_tree): Remove. | ||
| 289 | (MARK_INTERVAL_TREE): Simplify. | ||
| 290 | (UNMARK_BALANCE_INTERVALS): Remove. Adjust users. | ||
| 291 | * intervals.c (buffer_balance_intervals): New function. | ||
| 292 | (graft_intervals_into_buffer): Adjust indentation. | ||
| 293 | (set_intervals_multibyte): Simplify. | ||
| 294 | * buffer.h (BUF_INTERVALS): Remove. | ||
| 295 | (buffer_get_intervals, buffer_set_intervals): New function. | ||
| 296 | * alloc.c, buffer.c, editfns.c, fileio.c, indent.c, insdel.c: | ||
| 297 | * intervals.c, textprop.c: Adjust users. | ||
| 298 | |||
| 299 | 2012-08-08 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 300 | |||
| 301 | Inline functions to examine and change string intervals. | ||
| 302 | * lisp.h (STRING_INTERVALS, STRING_SET_INTERVALS): Remove. | ||
| 303 | (string_get_intervals, string_set_intervals): New function. | ||
| 304 | * alloc.c, buffer.c, editfns.c, fns.c, insdel.c, intervals.c: | ||
| 305 | * lread.c, print.c, textprop.c: Adjust users. | ||
| 306 | |||
| 307 | 2012-08-08 Glenn Morris <rgm@gnu.org> | ||
| 308 | |||
| 309 | * lisp.mk (lisp): Remove language/persian.elc. | ||
| 310 | |||
| 311 | 2012-08-08 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 312 | |||
| 313 | Cleanup intervals. | ||
| 314 | * intervals.h (NULL_INTERVAL, DEFAULT_INTERVAL): Remove. | ||
| 315 | (NULL_INTERVAL_P): Likewise. Adjust users. | ||
| 316 | (FRONT_STICKY_P, END_NONSTICKY_P, FRONT_NONSTICKY_P): | ||
| 317 | Adjust comment. Move under #if 0. | ||
| 318 | * alloc.c, buffer.c, editfns.c, fns.c, insdel.c, intervals.c: | ||
| 319 | * print.c, syntax.c, textprop.c, xdisp.c: Adjust users. | ||
| 320 | |||
| 321 | 2012-08-08 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 322 | |||
| 323 | Check total length of intervals with eassert. | ||
| 324 | * intervals.h (CHECK_TOTAL_LENGTH): Remove. | ||
| 325 | * intervals.c: Change all users to eassert. | ||
| 326 | |||
| 327 | 2012-08-07 Eli Zaretskii <eliz@gnu.org> | ||
| 328 | |||
| 329 | * .gdbinit (xframe, xwindow, nextcons, xcar, xcdr, xlist): | ||
| 330 | Rename fields to match removal of FGET and WGET and disuse of | ||
| 331 | INTERNAL_FIELD in Lisp_Cons. | ||
| 332 | |||
| 333 | 2012-08-07 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 334 | |||
| 335 | Revert and cleanup Lisp_Cons, Lisp_Misc and Lisp_Symbol things. | ||
| 336 | * lisp.h (struct Lisp_Symbol): Change xname to meaningful | ||
| 337 | name since all xname users are fixed long time ago. Do not | ||
| 338 | use INTERNAL_FIELD. | ||
| 339 | (set_symbol_name, set_symbol_function, set_symbol_plist): | ||
| 340 | (set_symbol_next, set_overlay_plist): New function. | ||
| 341 | (struct Lisp_Cons): Do not use INTERNAL_FIELD. | ||
| 342 | (struct Lisp_Overlay): Likewise. | ||
| 343 | (CVAR, MVAR, SVAR): Remove. | ||
| 344 | * alloc.c, buffer.c, buffer.h, bytecode.c, cmds.c, data.c: | ||
| 345 | * doc.c, eval.c, fns.c, keyboard.c, lread.c, nsselect.m: | ||
| 346 | * xterm.c: Adjust users. | ||
| 347 | * .gdbinit: Change to use name field of struct Lisp_Symbol | ||
| 348 | where appropriate. | ||
| 349 | |||
| 350 | 2012-08-07 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 351 | |||
| 352 | Basic functions to set Lisp_Object and pointer slots of intervals. | ||
| 353 | * intervals.h (interval_set_parent, interval_set_object): | ||
| 354 | (interval_set_left, interval_set_right, interval_set_plist): | ||
| 355 | (interval_copy_parent): New function. | ||
| 356 | (SET_INTERVAL_OBJECT, SET_INTERVAL_PARENT, INTERVAL_PTR_SIZE): Remove. | ||
| 357 | (RESET_INTERVAL, COPY_INTERVAL_CACHE, MERGE_INTERVAL_CACHE): | ||
| 358 | Adjust indentation. | ||
| 359 | (INTERVAL_SIZE): Remove. Adjust users. | ||
| 360 | * alloc.c, intervals.c, lread.c, textprop.c: Use new functions. | ||
| 361 | |||
| 362 | 2012-08-07 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 363 | |||
| 364 | Drop PGET and revert read access to Lisp_Objects slots of Lisp_Process. | ||
| 365 | * process.h (PGET): Remove. | ||
| 366 | (struct Lisp_Process): Do not use INTERNAL_FIELD. | ||
| 367 | * gnutls.c, print.c, process.c, sysdep.c, w32.c, xdisp.c: Adjust users. | ||
| 368 | |||
| 369 | 2012-08-07 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 370 | |||
| 371 | Drop WGET and revert read access to Lisp_Objects slots of struct window. | ||
| 372 | * window.h (WGET): Remove. | ||
| 373 | (struct window): Do not use INTERNAL_FIELD. | ||
| 374 | * alloc.c, buffer.c, composite.c, dispextern.h, dispnew.c, editfns.c: | ||
| 375 | * fileio.c, font.c, fontset.c, frame.c, frame.h, fringe.c, indent.c: | ||
| 376 | * insdel.c, keyboard.c, keymap.c, lisp.h, minibuf.c, msdos.c, nsfns.m: | ||
| 377 | * nsmenu.m, nsterm.m, print.c, textprop.c, w32fns.c, w32menu.c: | ||
| 378 | * w32term.c, window.c, xdisp.c, xfaces.c, xfns.c, xmenu.c, xterm.c: | ||
| 379 | Adjust users. | ||
| 380 | |||
| 381 | 2012-08-07 Chong Yidong <cyd@gnu.org> | ||
| 382 | |||
| 383 | * window.c (Fwindow_edges, Fwindow_pixel_edges) | ||
| 384 | (Fwindow_absolute_pixel_edges, Fdelete_other_windows_internal) | ||
| 385 | (Fdelete_window_internal): Signal an error if the window is not on | ||
| 386 | a live frame (Bug#12025). | ||
| 387 | |||
| 388 | 2012-08-07 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 389 | |||
| 390 | Drop FGET and revert read access to Lisp_Objects slots of struct frame. | ||
| 391 | * frame.h (FGET): Remove. | ||
| 392 | (struct frame): Do not use INTERNAL_FIELD. | ||
| 393 | * buffer.c, data.c, dispnew.c, dosfns.c, eval.c, fontset.c, frame.c: | ||
| 394 | * fringe.c, gtkutil.c, minibuf.c, msdos.c, nsfns.m, nsmenu.m, nsterm.m: | ||
| 395 | * print.c, term.c, w32fns.c, w32menu.c, w32term.c, window.c, window.h: | ||
| 396 | * xdisp.c, xfaces.c, xfns.c, xmenu.c, xterm.c: Adjust users. | ||
| 397 | |||
| 398 | 2012-08-06 Juanma Barranquero <lekktu@gmail.com> | ||
| 399 | |||
| 400 | * w32.c: Silence compiler warnings. | ||
| 401 | (map_w32_filename): Remove unused variable `is_fat'. | ||
| 402 | (chase_symlinks): Add parentheses around expression. | ||
| 403 | |||
| 404 | 2012-08-06 Glenn Morris <rgm@gnu.org> | ||
| 405 | |||
| 406 | * sysdep.c: Respect BROKEN_GETWD. | ||
| 407 | |||
| 408 | * dispnew.c (GNU_LIBRARY_PENDING_OUTPUT_COUNT, PENDING_OUTPUT_COUNT): | ||
| 409 | Let configure handle it. | ||
| 410 | (stdio_ext.h) [DISPNEW_NEEDS_STDIO_EXT]: Include it. | ||
| 411 | |||
| 412 | 2012-08-06 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 413 | |||
| 414 | Use GCALIGNMENT where appropriate. | ||
| 415 | * alloc.c (XMALLOC_HEADER_ALIGNMENT, roundup_size): | ||
| 416 | (union aligned_Lisp_Symbol, union aligned_Lisp_Misc): | ||
| 417 | (mark_maybe_pointer, pure_alloc): Change to use GCALIGNMENT. | ||
| 418 | |||
| 419 | 2012-08-06 Eli Zaretskii <eliz@gnu.org> | ||
| 420 | |||
| 421 | * w32menu.c (set_frame_menubar, initialize_frame_menubar): | ||
| 422 | Don't use FRAME_MENU_BAR_ITEMS as an lvalue. | ||
| 423 | |||
| 424 | 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 425 | |||
| 426 | * buffer.h (struct buffer): Revert `indirections' to a simple int; | ||
| 427 | that should be sufficient for everyone. | ||
| 428 | |||
| 429 | 2012-08-06 Jan Djärv <jan.h.d@swipnet.se> | ||
| 430 | |||
| 431 | * keyboard.c (timer_check_2): Add break so timer_check returns next | ||
| 432 | timeout. | ||
| 433 | |||
| 434 | 2012-08-06 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 435 | |||
| 436 | Fix Windows build errors introduced after converting to WGET and WSET. | ||
| 437 | * w32term.c (w32_set_vertical_scroll_bar): Change to use WSET. | ||
| 438 | Reported by Andy Moreton <andrewjmoreton@gmail.com>. | ||
| 439 | |||
| 440 | 2012-08-06 Jan Djärv <jan.h.d@swipnet.se> | ||
| 441 | |||
| 442 | * nsterm.m (ns_frame_rehighlight): Use FSET. | ||
| 443 | |||
| 444 | * nsmenu.m (ns_update_menubar): Use FSET. | ||
| 445 | |||
| 446 | 2012-08-06 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 447 | |||
| 448 | Separate read and write access to Lisp_Object slots of Lisp_Process. | ||
| 449 | * process.h (PGET, PSET): New macros similar to AREF and ASET. | ||
| 450 | * gnutls.c, print.c, process.c, sysdep.c, w32.c, xdisp.c: Adjust users. | ||
| 451 | |||
| 452 | 2012-08-06 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 453 | |||
| 454 | Separate read and write access to Lisp_Object slots of struct window. | ||
| 455 | * window.h (WGET, WSET): New macros similar to AREF and ASET. | ||
| 456 | * alloc.c, buffer.c, composite.c, dispextern.h, dispnew.c, editfns.c: | ||
| 457 | * fileio.c, font.c, fontset.c, frame.c, frame.h, fringe.c, indent.c: | ||
| 458 | * insdel.c, keyboard.c, keymap.c, lisp.h, minibuf.c, msdos.c, nsfns.m: | ||
| 459 | * nsmenu.m, nsterm.m, print.c, textprop.c, w32fns.c, w32menu.c: | ||
| 460 | * w32term.c, window.c, xdisp.c, xfaces.c, xfns.c, xmenu.c, xterm.c: | ||
| 461 | Adjust users. | ||
| 462 | |||
| 463 | 2012-08-06 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 464 | |||
| 465 | Fix Windows build errors introduced after converting to FGET and FSET. | ||
| 466 | * w32term.c (x_frame_rehighlight, x_scroll_bar_create): | ||
| 467 | (w32_condemn_scroll_bars, w32_redeem_scroll_bar): | ||
| 468 | (w32_judge_scroll_bars): Change to use FSET. | ||
| 469 | Reported by Andy Moreton <andrewjmoreton@gmail.com>. | ||
| 470 | |||
| 471 | 2012-08-06 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 472 | |||
| 473 | Fix replacement typo. | ||
| 474 | * window.c (replace_window): Set root_window instead of | ||
| 475 | selected_window. This fixes a total window subsystem | ||
| 476 | malfunction reported by Bastien Guerry <bzg@gnu.org>. | ||
| 477 | |||
| 478 | 2012-08-06 Glenn Morris <rgm@gnu.org> | ||
| 479 | |||
| 480 | * lisp.mk (lisp): Add language/persian.elc. | ||
| 481 | |||
| 482 | 2012-08-06 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 483 | |||
| 484 | Separate read and write access to Lisp_Object slots of struct frame. | ||
| 485 | * frame.h (FGET, FSET): New macros similar to AREF and ASET. | ||
| 486 | * buffer.c, data.c, dispnew.c, dosfns.c, eval.c, fontset.c, frame.c: | ||
| 487 | * fringe.c, gtkutil.c, minibuf.c, msdos.c, nsfns.m, nsmenu.m, nsterm.m: | ||
| 488 | * print.c, term.c, w32fns.c, w32menu.c, w32term.c, window.c, window.h: | ||
| 489 | * xdisp.c, xfaces.c, xfns.c, xmenu.c, xterm.c: Adjust users. | ||
| 490 | |||
| 491 | 2012-08-05 Andreas Schwab <schwab@linux-m68k.org> | ||
| 492 | |||
| 493 | * emacs.c (decode_env_path): Only use defaulted if WINDOWSNT. | ||
| 494 | |||
| 495 | 2012-08-05 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 496 | |||
| 497 | Generalize common compile-time constants. | ||
| 498 | * lisp.h (header_size, bool_header_size, word_size): Now here. | ||
| 499 | (struct Lisp_Vector): Add comment. | ||
| 500 | (struct Lisp_Bool_Vector): Move up to define handy constants. | ||
| 501 | (VECSIZE, PSEUDOVECSIZE): Simplify. | ||
| 502 | (SAFE_ALLOCA_LISP): Use new constant. Adjust indentation. | ||
| 503 | * buffer.c, buffer.h, bytecode.c, callint.c, eval.c, fns.c: | ||
| 504 | * font.c, fontset.c, keyboard.c, keymap.c, macros.c, menu.c: | ||
| 505 | * msdos.c, w32menu.c, w32term.h, window.c, xdisp.c, xfaces.c: | ||
| 506 | * xfont.c, xmenu.c: Use word_size where appropriate. | ||
| 507 | |||
| 508 | 2012-08-05 Lawrence Mitchell <wence@gmx.li> | ||
| 509 | |||
| 510 | * search.c (Freplace_match): Treat \? in the replacement text | ||
| 511 | literally (Bug#8161). | ||
| 512 | |||
| 513 | 2012-08-05 Chong Yidong <cyd@gnu.org> | ||
| 514 | |||
| 515 | * term.c (Vsuspend_tty_functions, Vresume_tty_functions): | ||
| 516 | * frame.c (Vdelete_frame_functions): | ||
| 517 | * emacs.c (Vkill_emacs_hook): Doc fix. | ||
| 518 | |||
| 519 | 2012-08-04 Eli Zaretskii <eliz@gnu.org> | ||
| 520 | |||
| 521 | * xfns.c (x_set_menu_bar_lines): Fix compilation error in | ||
| 522 | --with-x-toolkit=no builds. | ||
| 523 | Reported by Carsten Mattner <carstenmattner@gmail.com>. | ||
| 524 | |||
| 525 | 2012-08-04 Chong Yidong <cyd@gnu.org> | ||
| 526 | |||
| 527 | * syntax.c (Fmodify_syntax_entry): Doc fix. | ||
| 528 | |||
| 529 | 2012-08-04 Eli Zaretskii <eliz@gnu.org> | ||
| 530 | |||
| 531 | Fix startup warnings about ../site-lisp on MS-Windows. (Bug#11959) | ||
| 532 | * w32.c (init_environment): Change the default values of many | ||
| 533 | environment variables in dflt_envvars[] to NULL, to avoid pushing | ||
| 534 | them into environment when they were not already defined. | ||
| 535 | Remove the code that deletes site-lisp subdirectories from the default | ||
| 536 | value of EMACSLOADPATH, as it is no longer needed. | ||
| 537 | (check_windows_init_file): Now external, not static. | ||
| 538 | Use Vload_path as is, without adding anything, as this function is now | ||
| 539 | called when Vload_path is already set up. | ||
| 540 | |||
| 541 | * w32.h (check_windows_init_file): Add prototype. | ||
| 542 | |||
| 543 | * emacs.c (init_cmdargs) [WINDOWSNT]: When running from the build | ||
| 544 | directory, ignore the /*/i386/ tail in Vinvocation_directory, for | ||
| 545 | compatibility with Posix platforms. | ||
| 546 | (main): Move the call to check_windows_init_file to here from | ||
| 547 | w32.c. | ||
| 548 | (decode_env_path) [WINDOWSNT]: Expand the %emacs_dir%/ prefix, if | ||
| 549 | any, in the DEFALT argument into the root of the Emacs build or | ||
| 550 | installation tree, as appropriate. | ||
| 551 | |||
| 552 | * callproc.c (init_callproc_1): Call decode_env_path instead of | ||
| 553 | doing its equivalent by hand. | ||
| 554 | (init_callproc): Replace DOS_NT condition with MSDOS, thus letting | ||
| 555 | the code that sets Vexec_path run on MS-Windows. | ||
| 556 | |||
| 557 | * lread.c (init_lread): Add comments to #ifdef's. | ||
| 558 | |||
| 559 | * msdos.c (dos_set_window_size, IT_update_begin) | ||
| 560 | (IT_frame_up_to_date, IT_set_frame_parameters): Use FVAR and WVAR | ||
| 561 | instead of direct references. | ||
| 562 | |||
| 563 | 2012-08-04 Paul Eggert <eggert@cs.ucla.edu> | ||
| 564 | |||
| 565 | Export DEFAULT_REHASH_* to GDB. | ||
| 566 | * lisp.h (DEFAULT_REHASH_THRESHOLD, DEFAULT_REHASH_SIZE): | ||
| 567 | Now constants, not macros. | ||
| 568 | |||
| 569 | 2012-08-03 Paul Eggert <eggert@cs.ucla.edu> | ||
| 570 | |||
| 571 | Remove unnecessary casts involving pointers. | ||
| 572 | These casts are no longer needed now that we assume C89 or later, | ||
| 573 | since they involve casting to or from void *. | ||
| 574 | * alloc.c (make_pure_string, make_pure_c_string, pure_cons) | ||
| 575 | (make_pure_float, make_pure_vector): | ||
| 576 | * lisp.h (SAFE_ALLOCA, SAFE_ALLOCA_LISP): | ||
| 577 | * macros.c (Fstart_kbd_macro): | ||
| 578 | * menu.c (find_and_return_menu_selection): | ||
| 579 | * minibuf.c (read_minibuf_noninteractive): | ||
| 580 | * sysdep.c (closedir): | ||
| 581 | * xdisp.c (x_produce_glyphs): | ||
| 582 | * xfaces.c (compare_fonts_by_sort_order): | ||
| 583 | * xfns.c (x_real_positions, select_visual): | ||
| 584 | * xselect.c (x_stop_queuing_selection_requests) | ||
| 585 | (x_get_window_property, x_get_window_property_as_lisp_data): | ||
| 586 | * xterm.c (x_set_frame_alpha, x_find_modifier_meanings): | ||
| 587 | Remove unnecessary pointer casts. | ||
| 588 | * alloc.c (record_xmalloc): New function. | ||
| 589 | * lisp.h (record_xmalloc): New decl. | ||
| 590 | (SAFE_ALLOCA): Now takes just one arg -- the size -- and acts | ||
| 591 | more like a function. This is because the pointer cast is not | ||
| 592 | needed. All uses changed. | ||
| 593 | * print.c (print_string, print_error_message): Avoid length recalc. | ||
| 594 | |||
| 595 | Improve fix for macroexp crash with debugging (Bug#12118). | ||
| 596 | * lisp.h (ASET) [ENABLE_CHECKING]: Pay attention to | ||
| 597 | ARRAY_MARK_FLAG when checking subscripts, because ASET is | ||
| 598 | not supposed to be invoked from the garbage collector. | ||
| 599 | See Andreas Schwab in <http://bugs.gnu.org/12118#25>. | ||
| 600 | (gc_aset): New function, which is like ASET but can be | ||
| 601 | used in the garbage collector. | ||
| 602 | (set_hash_key, set_hash_value, set_hash_next, set_hash_hash) | ||
| 603 | (set_hash_index): Use it instead of ASET. | ||
| 604 | |||
| 605 | 2012-08-03 Eli Zaretskii <eliz@gnu.org> | ||
| 606 | |||
| 607 | Support symlinks on latest versions of MS-Windows. | ||
| 608 | * w32.c: Include winioctl.h and aclapi.h. | ||
| 609 | (is_symlink, chase_symlinks, enable_privilege, restore_privilege) | ||
| 610 | (revert_to_self): Forward declarations of static functions. | ||
| 611 | <static BOOL g_b_init_get_security_info>: | ||
| 612 | <g_b_init_create_symbolic_link>: New static flags. | ||
| 613 | (globals_of_w32): Initialize them to zero. | ||
| 614 | (GetSecurityInfo_Proc, CreateSymbolicLink_Proc): New typedefs. | ||
| 615 | (map_w32_filename): Improve commentary. Simplify switch. | ||
| 616 | (SYMBOLIC_LINK_FLAG_DIRECTORY): Define if not defined in system | ||
| 617 | headers (most versions of MinGW w32api don't). | ||
| 618 | (get_security_info, create_symbolic_link) | ||
| 619 | (get_file_security_desc_by_handle, is_symlink, chase_symlinks): | ||
| 620 | New functions. | ||
| 621 | (sys_access, sys_chmod): Call 'chase_symlinks' to resolve symlinks | ||
| 622 | in the argument file name. | ||
| 623 | (sys_access): Call unc_volume_file_attributes only if | ||
| 624 | GetFileAttributes fails with network-related error codes. | ||
| 625 | (sys_rename): Diagnose renaming of a symlink when the user doesn't | ||
| 626 | have the required privileges. | ||
| 627 | (get_file_security_desc_by_name): Rename from | ||
| 628 | get_file_security_desc. | ||
| 629 | (stat_worker): New function, with most of the guts of 'stat', and | ||
| 630 | with addition of handling of symlinks and support for 'lstat'. | ||
| 631 | If possible, get file's attributes and security information by | ||
| 632 | handle, not by name. Produce S_IFLNK bit for symlinks, when | ||
| 633 | called from 'lstat'. | ||
| 634 | (stat, lstat): New functions, call 'stat_worker'. | ||
| 635 | (symlink, readlink, careadlinkat): Rewritten to create and resolve | ||
| 636 | symlinks when the underlying filesystem supports them. | ||
| 637 | |||
| 638 | 2012-08-02 Paul Eggert <eggert@cs.ucla.edu> | ||
| 639 | |||
| 640 | Fix macroexp crash on Windows with debugging (Bug#12118). | ||
| 641 | * lisp.h (ASET) [ENABLE_CHECKING]: Ignore ARRAY_MARK_FLAG when | ||
| 642 | checking subscripts; problem introduced with the recent | ||
| 643 | "ASET (a, i, v)" rather than "AREF (a, i) = v" patch. | ||
| 644 | (ARRAY_MARK_FLAG): Now a macro as well as a constant, | ||
| 645 | since it's used in non-static inline functions now. | ||
| 646 | |||
| 647 | * xfaces.c (face_at_buffer_position, face_for_overlay_string): | ||
| 648 | Don't assume buffer size fits in 'int'. Remove unused local. | ||
| 649 | |||
| 650 | Use C99-style 'extern inline' if available. | ||
| 651 | * buffer.h (BUFFER_INLINE): | ||
| 652 | * category.h (CATEGORY_INLINE): | ||
| 653 | * character.h (CHARACTER_INLINE): | ||
| 654 | * charset.h (CHARSET_INLINE): | ||
| 655 | * composite.h (COMPOSITE_INLINE): | ||
| 656 | * dispextern.h (DISPEXTERN_INLINE): | ||
| 657 | * lisp.h (LISP_INLINE): | ||
| 658 | * systime.h (SYSTIME_INLINE): | ||
| 659 | New macro, replacing 'static inline' in this header. | ||
| 660 | * buffer.h, category.h, character.h, charset.h, composite.h: | ||
| 661 | * dispextern.h, lisp.h, systime.h: | ||
| 662 | Use INLINE_HEADER_BEGIN, INLINE_HEADER_END. | ||
| 663 | * alloc.c (LISP_INLINE): | ||
| 664 | * buffer.c (BUFFER_INLINE): | ||
| 665 | * category.c (CATEGORY_INLINE): | ||
| 666 | * character.c (CHARACTER_INLINE): | ||
| 667 | * charset.c (CHARSET_INLINE): | ||
| 668 | * composite.c (COMPOSITE_INLINE): | ||
| 669 | * dispnew.c (DISPEXTERN_INLINE): | ||
| 670 | * sysdep.c (SYSTIME_INLINE): | ||
| 671 | Define to EXTERN_INLINE, so that the corresponding functions | ||
| 672 | are compiled into code. | ||
| 673 | * conf_post.h (INLINE, EXTERN_INLINE, INLINE_HEADER_BEGIN) | ||
| 674 | (INLINE_HEADER_END): New macros. | ||
| 675 | * lisp.h (PSEUDOVECTOR_FLAG): Now a macro as well as a constant, | ||
| 676 | since it's used in non-static inline functions now. | ||
| 677 | (VALMASK) [!USE_LSB_TAG]: Likewise. | ||
| 678 | |||
| 679 | 2012-08-02 Glenn Morris <rgm@gnu.org> | ||
| 680 | |||
| 681 | * s/: Remove empty directory. | ||
| 682 | |||
| 683 | * s/ms-w32.h: Move to ../nt/inc. | ||
| 684 | * makefile.w32-in (TAGS, TAGS-gmake, MS_W32_H): | ||
| 685 | Update for new ms-w32.h location. | ||
| 686 | |||
| 687 | 2012-08-02 Paul Eggert <eggert@cs.ucla.edu> | ||
| 688 | |||
| 689 | Port to Solaris 8. | ||
| 690 | * syswait.h (WRETCODE): Remove, consistently with ../configure.ac. | ||
| 691 | |||
| 692 | 2012-08-02 Glenn Morris <rgm@gnu.org> | ||
| 693 | |||
| 694 | * nsterm.m (ns_exec_path, ns_load_path): Use SEPCHAR rather than | ||
| 695 | hard-coding the path separator. | ||
| 696 | |||
| 697 | 2012-08-01 Paul Eggert <eggert@cs.ucla.edu> | ||
| 698 | |||
| 699 | Use "ASET (a, i, v)" rather than "AREF (a, i) = v". | ||
| 700 | This how ASET and AREF are supposed to work, and makes | ||
| 701 | it easier to think about future improvements. See | ||
| 702 | <http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00026.html>. | ||
| 703 | * charset.h (set_charset_attr): New function. | ||
| 704 | All lvalue-style uses of CHARSET_DECODER etc. changed to use it. | ||
| 705 | * lisp.h (ASET): Rewrite so as not to use AREF in an lvalue style. | ||
| 706 | (aref_addr): New function. All uses of &AREF(...) changed. | ||
| 707 | (set_hash_key, set_hash_value, set_hash_next, set_hash_hash) | ||
| 708 | (set_hash_index): New functions. All lvalue-style uses of | ||
| 709 | HASH_KEY etc. changed. | ||
| 710 | * keyboard.c (set_prop): New function. All lvalue-style uses | ||
| 711 | of PROP changed. | ||
| 712 | |||
| 713 | 2012-08-01 Alp Aker <alp.tekin.aker@gmail.com> | ||
| 714 | |||
| 715 | * nsterm.m (ns_set_vertical_scroll_bar, ns_redeem_scroll_bar) | ||
| 716 | (EmacsWindow-accessibilityAttributeValue, EmacsScroller-initFrame:) | ||
| 717 | (EmacsScroller-dealloc): Adjust to use WVAR. (Bug#12114) | ||
| 718 | * nsfns.m (ns_set_name_as_filename): Likewise. | ||
| 719 | * nsmenu.m (ns_update_menubar): Likewise. | ||
| 720 | * nsselect.m (symbol_to_nsstring): Adjust to use SVAR. | ||
| 721 | |||
| 722 | 2012-08-01 Eli Zaretskii <eliz@gnu.org> | ||
| 723 | |||
| 724 | * .gdbinit (xcar, xcdr, xlist, xwindow, nextcons, xprintsym): | ||
| 725 | Adapt to latest changes in field names of the corresponding Lisp | ||
| 726 | objects. | ||
| 727 | |||
| 728 | * xdisp.c (try_window_id): Use WVAR in IF_DEBUG code. | ||
| 729 | |||
| 730 | 2012-08-01 Glenn Morris <rgm@gnu.org> | ||
| 731 | |||
| 732 | * s/msdos.h: Remove file. | ||
| 733 | * conf_post.h [MSDOS]: New section, moved from s/msdos.h. | ||
| 734 | * Makefile.in (S_FILE): Remove. | ||
| 735 | (config_h): Remove S_FILE. | ||
| 736 | |||
| 737 | 2012-08-01 Juanma Barranquero <lekktu@gmail.com> | ||
| 738 | |||
| 739 | * s/ms-w32.h (DEVICE_SEP, IS_DIRECTORY_SEP, IS_ANY_SEP): | ||
| 740 | Remove; moved to nt/config.nt. | ||
| 741 | |||
| 1 | 2012-08-01 Dmitry Antipov <dmantipov@yandex.ru> | 742 | 2012-08-01 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 743 | ||
| 3 | Use INTERNAL_FIELD for conses and overlays. | 744 | Use INTERNAL_FIELD for conses and overlays. |
| @@ -91,7 +832,7 @@ | |||
| 91 | 832 | ||
| 92 | Generalize INTERNAL_FIELD between buffers, keyboards and frames. | 833 | Generalize INTERNAL_FIELD between buffers, keyboards and frames. |
| 93 | * lisp.h (INTERNAL_FIELD): New macro. | 834 | * lisp.h (INTERNAL_FIELD): New macro. |
| 94 | * buffer.h (BUFFER_INTERNAL_FIELD): Removed. | 835 | * buffer.h (BUFFER_INTERNAL_FIELD): Remove. |
| 95 | (BVAR): Change to use INTERNAL_FIELD. | 836 | (BVAR): Change to use INTERNAL_FIELD. |
| 96 | * keyboard.h (KBOARD_INTERNAL_FIELD): Likewise. | 837 | * keyboard.h (KBOARD_INTERNAL_FIELD): Likewise. |
| 97 | (KVAR): Change to use INTERNAL_FIELD. | 838 | (KVAR): Change to use INTERNAL_FIELD. |
| @@ -146,8 +887,8 @@ | |||
| 146 | 887 | ||
| 147 | * nsterm.m (ns_do_open_file): New variable. | 888 | * nsterm.m (ns_do_open_file): New variable. |
| 148 | (ns_term_init): Set ns_do_open_file to YES after run returns. | 889 | (ns_term_init): Set ns_do_open_file to YES after run returns. |
| 149 | (openFile, openTempFile, openFileWithoutUI, openFiles): Open | 890 | (openFile, openTempFile, openFileWithoutUI, openFiles): |
| 150 | files only if ns_do_open_file. | 891 | Open files only if ns_do_open_file. |
| 151 | 892 | ||
| 152 | 2012-07-30 Paul Eggert <eggert@cs.ucla.edu> | 893 | 2012-07-30 Paul Eggert <eggert@cs.ucla.edu> |
| 153 | 894 | ||
| @@ -284,7 +1025,7 @@ | |||
| 284 | 1025 | ||
| 285 | 2012-07-29 Eli Zaretskii <eliz@gnu.org> | 1026 | 2012-07-29 Eli Zaretskii <eliz@gnu.org> |
| 286 | 1027 | ||
| 287 | * w32heap.h (OS_9X): Renamed from OS_WINDOWS_95. | 1028 | * w32heap.h (OS_9X): Rename from OS_WINDOWS_95. |
| 288 | 1029 | ||
| 289 | * w32heap.c (cache_system_info): | 1030 | * w32heap.c (cache_system_info): |
| 290 | * w32.c (sys_rename): | 1031 | * w32.c (sys_rename): |
| @@ -301,8 +1042,8 @@ | |||
| 301 | 2012-07-29 Dmitry Antipov <dmantipov@yandex.ru> | 1042 | 2012-07-29 Dmitry Antipov <dmantipov@yandex.ru> |
| 302 | 1043 | ||
| 303 | Cleanup statistics calculation in Fgarbage_collect. | 1044 | Cleanup statistics calculation in Fgarbage_collect. |
| 304 | * alloc.c (Fgarbage_collect): Rename t1 to meaningful start. Fix | 1045 | * alloc.c (Fgarbage_collect): Rename t1 to meaningful start. |
| 305 | zombies percentage calculation. Simplify elapsed time calculation. | 1046 | Fix zombies percentage calculation. Simplify elapsed time calculation. |
| 306 | 1047 | ||
| 307 | 2012-07-29 Dmitry Antipov <dmantipov@yandex.ru> | 1048 | 2012-07-29 Dmitry Antipov <dmantipov@yandex.ru> |
| 308 | 1049 | ||
| @@ -360,8 +1101,8 @@ | |||
| 360 | 1101 | ||
| 361 | Adjust GDB to reflect pvec_type changes (Bug#12036). | 1102 | Adjust GDB to reflect pvec_type changes (Bug#12036). |
| 362 | * .gdbinit (xvectype, xpr, xbacktrace): Adjust to reflect the | 1103 | * .gdbinit (xvectype, xpr, xbacktrace): Adjust to reflect the |
| 363 | 2012-07-04 changes to pseudovector representation. Problem | 1104 | 2012-07-04 changes to pseudovector representation. |
| 364 | reported by Eli Zaretskii in <http://bugs.gnu.org/12036#30>. | 1105 | Problem reported by Eli Zaretskii in <http://bugs.gnu.org/12036#30>. |
| 365 | 1106 | ||
| 366 | 2012-07-27 Michael Albinus <michael.albinus@gmx.de> | 1107 | 2012-07-27 Michael Albinus <michael.albinus@gmx.de> |
| 367 | 1108 | ||
| @@ -622,8 +1363,8 @@ | |||
| 622 | for the reasons. | 1363 | for the reasons. |
| 623 | 1364 | ||
| 624 | * w32menu.c (add_menu_item): Cast to ULONG_PTR when assigning | 1365 | * w32menu.c (add_menu_item): Cast to ULONG_PTR when assigning |
| 625 | info.dwItemData. Fixes crashes on 64-bit Windows. Suggested by | 1366 | info.dwItemData. Fixes crashes on 64-bit Windows. |
| 626 | Fabrice Popineau <fabrice.popineau@supelec.fr>. | 1367 | Suggested by Fabrice Popineau <fabrice.popineau@supelec.fr>. |
| 627 | 1368 | ||
| 628 | 2012-07-21 Jan Djärv <jan.h.d@swipnet.se> | 1369 | 2012-07-21 Jan Djärv <jan.h.d@swipnet.se> |
| 629 | 1370 | ||
| @@ -1249,8 +1990,8 @@ | |||
| 1249 | * lisp.h (intern, intern_c_string): Redefine as static inline | 1990 | * lisp.h (intern, intern_c_string): Redefine as static inline |
| 1250 | wrappers for intern_1 and intern_c_string_1, respectively. | 1991 | wrappers for intern_1 and intern_c_string_1, respectively. |
| 1251 | (intern_1, intern_c_string_1): Rename prototypes. | 1992 | (intern_1, intern_c_string_1): Rename prototypes. |
| 1252 | * lread.c (intern_1, intern_c_string_1, oblookup): Simplify | 1993 | * lread.c (intern_1, intern_c_string_1, oblookup): |
| 1253 | Vobarray checking. | 1994 | Simplify Vobarray checking. |
| 1254 | * font.c (font_intern_prop): Likewise. Adjust comment. | 1995 | * font.c (font_intern_prop): Likewise. Adjust comment. |
| 1255 | * w32font.c (intern_font_name): Likewise. | 1996 | * w32font.c (intern_font_name): Likewise. |
| 1256 | 1997 | ||
| @@ -1319,8 +2060,8 @@ | |||
| 1319 | 2060 | ||
| 1320 | Avoid calls to strlen in font processing functions. | 2061 | Avoid calls to strlen in font processing functions. |
| 1321 | * font.c (font_parse_name, font_parse_xlfd, font_parse_fcname) | 2062 | * font.c (font_parse_name, font_parse_xlfd, font_parse_fcname) |
| 1322 | (font_open_by_name): Change to use length argument. Adjust | 2063 | (font_open_by_name): Change to use length argument. |
| 1323 | users accordingly. | 2064 | Adjust users accordingly. |
| 1324 | * font.h (font_open_by_name, font_parse_xlfd, font_unparse_xlfd): | 2065 | * font.h (font_open_by_name, font_parse_xlfd, font_unparse_xlfd): |
| 1325 | Adjust prototypes. | 2066 | Adjust prototypes. |
| 1326 | * xfont.c (xfont_decode_coding_xlfd, font_unparse_xlfd): | 2067 | * xfont.c (xfont_decode_coding_xlfd, font_unparse_xlfd): |
| @@ -1452,8 +2193,8 @@ | |||
| 1452 | srclen argument and return the length of result. Adjust users | 2193 | srclen argument and return the length of result. Adjust users |
| 1453 | accordingly. | 2194 | accordingly. |
| 1454 | (directory_file_name): Fix comment. Change to add srclen argument, | 2195 | (directory_file_name): Fix comment. Change to add srclen argument, |
| 1455 | swap 1st and 2nd arguments to obey the common convention. Adjust | 2196 | swap 1st and 2nd arguments to obey the common convention. |
| 1456 | users accordingly. | 2197 | Adjust users accordingly. |
| 1457 | * filelock.c (fill_in_lock_file_name): Avoid calls to strlen. | 2198 | * filelock.c (fill_in_lock_file_name): Avoid calls to strlen. |
| 1458 | 2199 | ||
| 1459 | 2012-07-10 Glenn Morris <rgm@gnu.org> | 2200 | 2012-07-10 Glenn Morris <rgm@gnu.org> |
| @@ -1617,8 +2358,8 @@ | |||
| 1617 | Support truncation and continuation glyphs on GUI frames, when | 2358 | Support truncation and continuation glyphs on GUI frames, when |
| 1618 | fringes are disabled. (Bug#11832) | 2359 | fringes are disabled. (Bug#11832) |
| 1619 | * xdisp.c (init_iterator): Get dimensions of truncation and | 2360 | * xdisp.c (init_iterator): Get dimensions of truncation and |
| 1620 | continuation glyphs even if on GUI frames. Adjust | 2361 | continuation glyphs even if on GUI frames. |
| 1621 | it->last_visible_x on GUI frames when the left or right fringes, | 2362 | Adjust it->last_visible_x on GUI frames when the left or right fringes, |
| 1622 | or both, are absent. | 2363 | or both, are absent. |
| 1623 | (start_display, move_it_in_display_line_to): Handle the case of a | 2364 | (start_display, move_it_in_display_line_to): Handle the case of a |
| 1624 | GUI frame without a fringe to display continuation or truncation | 2365 | GUI frame without a fringe to display continuation or truncation |
| @@ -2068,8 +2809,8 @@ | |||
| 2068 | 2809 | ||
| 2069 | Fix block vector allocation code to allow VECTOR_BLOCK_SIZE | 2810 | Fix block vector allocation code to allow VECTOR_BLOCK_SIZE |
| 2070 | values which aren't power of 2. | 2811 | values which aren't power of 2. |
| 2071 | * alloc.c (VECTOR_FREE_LIST_SIZE_MASK): New macro. Verify | 2812 | * alloc.c (VECTOR_FREE_LIST_SIZE_MASK): New macro. |
| 2072 | it's value and the value of VECTOR_BLOCK_SIZE. Adjust users | 2813 | Verify it's value and the value of VECTOR_BLOCK_SIZE. Adjust users |
| 2073 | accordingly. | 2814 | accordingly. |
| 2074 | 2815 | ||
| 2075 | 2012-07-03 Stefan Monnier <monnier@iro.umontreal.ca> | 2816 | 2012-07-03 Stefan Monnier <monnier@iro.umontreal.ca> |
| @@ -2123,8 +2864,8 @@ | |||
| 2123 | * alloc.c (mark_buffer): Simplify. Remove prototype. | 2864 | * alloc.c (mark_buffer): Simplify. Remove prototype. |
| 2124 | (mark_object): Add comment. Reorganize marking of vector-like | 2865 | (mark_object): Add comment. Reorganize marking of vector-like |
| 2125 | objects. Use CHECK_LIVE for all vector-like objects except buffers | 2866 | objects. Use CHECK_LIVE for all vector-like objects except buffers |
| 2126 | and subroutines when GC_CHECK_MARKED_OBJECTS is defined. Avoid | 2867 | and subroutines when GC_CHECK_MARKED_OBJECTS is defined. |
| 2127 | redundant calls to mark_vectorlike for bool vectors. | 2868 | Avoid redundant calls to mark_vectorlike for bool vectors. |
| 2128 | 2869 | ||
| 2129 | 2012-06-30 Glenn Morris <rgm@gnu.org> | 2870 | 2012-06-30 Glenn Morris <rgm@gnu.org> |
| 2130 | 2871 | ||
| @@ -9568,7 +10309,7 @@ | |||
| 9568 | 10309 | ||
| 9569 | * Makefile.in (SETTINGS_LIBS): Fix typo. | 10310 | * Makefile.in (SETTINGS_LIBS): Fix typo. |
| 9570 | 10311 | ||
| 9571 | 2011-07-01 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny patch) | 10312 | 2011-07-01 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change) |
| 9572 | 10313 | ||
| 9573 | * coding.c (Fencode_coding_string): Record the last coding system | 10314 | * coding.c (Fencode_coding_string): Record the last coding system |
| 9574 | used, as the function doc string says (bug#8738). | 10315 | used, as the function doc string says (bug#8738). |