aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorJoakim Verona2012-07-31 00:00:41 +0200
committerJoakim Verona2012-07-31 00:00:41 +0200
commit55fa71b3d9bb8609ca3cbb56f92c776ad8724a69 (patch)
treeb002fe941cc8636f8bd735717e440014359839dd /src/ChangeLog
parent5fb63197843dcae66f2fe0ddd6f4a9d560e9db2f (diff)
parentb429a4eee4e09b1ba09e17ced5091d042955d84f (diff)
downloademacs-55fa71b3d9bb8609ca3cbb56f92c776ad8724a69.tar.gz
emacs-55fa71b3d9bb8609ca3cbb56f92c776ad8724a69.zip
upstream
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog309
1 files changed, 309 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 7e91158ee36..f3e8b58e071 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,312 @@
12012-07-30 Glenn Morris <rgm@gnu.org>
2
3 * conf_post.h: New, split from configure.ac's AH_BOTTOM.
4 * Makefile.in (config_h): Add conf_post.h.
5 * makefile.w32-in (CONFIG_H): Add conf_post.h.
6
72012-07-30 Jan Djärv <jan.h.d@swipnet.se>
8
9 * nsterm.m (ns_do_open_file): New variable.
10 (ns_term_init): Set ns_do_open_file to NO after run returns.
11 (openFile, openTempFile, openFileWithoutUI, openFiles): Open
12 files only if ns_do_open_file.
13
142012-07-30 Paul Eggert <eggert@cs.ucla.edu>
15
16 * lisp.h (SWITCH_ENUM_CAST): Remove. All uses removed.
17 This no-op macro hasn't been needed for many years.
18 * src/regex.c (SWITCH_ENUM_CAST) [!emacs]: Likewise.
19
20 Export DIRECTORY_SEP, TYPEMASK, VALMASK to GDB.
21 * alloc.c (gdb_make_enums_visible) [USE_LSB_TAG]: Add lsb_bits.
22 * lisp.h (enum lsb_bits) [USE_LSB_TAG]: New enum, for
23 gdb_make_enums_visible.
24 (TYPEMASK, VALMASK) [USE_LSB_TAGS]: Now enum constants, not macros.
25 (DIRECTORY_SEP): Now a constant, not a macro.
26
272012-07-30 Eli Zaretskii <eliz@gnu.org>
28
29 * w32fns.c (w32_wnd_proc): Pass w32_keyboard_codepage to
30 w32_kbd_patch_key as the 2nd arg. (Bug#12082)
31
32 * w32term.c <w32_keyboard_codepage>: Renamed from
33 keyboard_codepage and now external. All users changed.
34
35 * w32term.h: Add declaration of w32_keyboard_codepage.
36
37 * w32inevt.c (w32_kbd_patch_key): Accept an additional argument --
38 the codepage to translate keys to Unicode. If this argument is
39 -1, use the value returned by GetConsoleCP. All callers changed.
40
412012-07-30 Paul Eggert <eggert@cs.ucla.edu>
42
43 Update .PHONY listings in makefiles.
44 * Makefile.in (.PHONY): Add all, mostlyclean, clean,
45 bootstrap-clean, distclean, maintainer-clean, versioclean,
46 extraclean, frc.
47
48 * lisp.h (STRING_BYTES_BOUND): Cast entire result to ptrdiff_t.
49 This is a bit clearer. Fix some commentary typos.
50
512012-07-30 Glenn Morris <rgm@gnu.org>
52
53 * s/netbsd.h: Let configure include signal.h if needed.
54 Remove file, which is now empty.
55
56 * s/usg5-4-common.h (_longjmp, _setjmp, TIOCSIGSEND):
57 Let configure set them.
58 * s/irix6-5.h (_longjmp, _setjmp, TIOCSIGSEND):
59 No more need to undefine.
60
612012-07-30 Andreas Schwab <schwab@linux-m68k.org>
62
63 * keymap.c (Fkey_description): Don't remove 0x80 bit from
64 non-single-byte char when adding meta modifier. (Bug#12090)
65
662012-07-30 Dmitry Antipov <dmantipov@yandex.ru>
67
68 Convert safe_call to use variable number of arguments.
69 * xdisp.c (safe_call): Convert to use varargs. Adjust users.
70 (safe_call2): Fix comment.
71 * lisp.h (safe_call): Adjust prototype.
72 * coding.c (encode_coding_object): Change to use safe_call2.
73 * xfaces.c (merge_face_heights): Change to use safe_call1.
74
752012-07-30 Glenn Morris <rgm@gnu.org>
76
77 * s/aix4-2.h (sigmask): No need to undefine it, since syssignal.h
78 does that unconditionally. Remove file, which is now empty.
79
80 * s/freebsd.h, s/gnu-linux.h, s/sol2-6.h, s/unixware.h:
81 Remove empty files.
82
832012-07-30 Paul Eggert <eggert@cs.ucla.edu>
84
85 Export to GDB most of lisp.h's remaining object-like macros.
86 * lisp.h (min, max): Move earlier, because they're used earlier now.
87 (INTMASK, ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK)
88 (CHAR_TABLE_STANDARD_SLOTS, CHARTAB_SIZE_BITS_0)
89 (CHARTAB_SIZE_BITS_1, CHARTAB_SIZE_BITS_2, CHARTAB_SIZE_BITS_3)
90 (DEFAULT_HASH_SIZE, COMPILED_ARGLIST, COMPILED_BYTECODE)
91 (COMPILED_CONSTANTS, COMPILED_STACK_DEPTH, COMPILED_DOC_STRING)
92 (COMPILED_INTERACTIVE, CHAR_ALT, CHAR_SUPER, CHAR_HYPER, CHAR_SHIFT)
93 (CHAR_CTL, CHAR_META, CHAR_MODIFIER_MASK, CHARACTERBITS)
94 (MANY, UNEVALLED, FLOAT_TO_STRING_BUFSIZE, MAX_ALLOCA):
95 Now constants, for GDB. They need not be macros.
96 (MOST_POSITIVE_FIXNUM, MOST_NEGATIVE_FIXNUM, STRING_BYTES_BOUND):
97 Now constants, for GDB, as well as macros, for static initializers.
98 (CHAR_TABLE_STANDARD_SLOTS, CHAR_TABLE_EXTRA_SLOTS):
99 Move to after the definition of struct Lisp_Char_Table,
100 since the former now needs that type defined.
101 (enum CHARTAB_SIZE_BITS, enum CHAR_TABLE_STANDARD_SLOTS)
102 (enum DEFAULT_HASH_SIZE, enum Lisp_Compiled, enum char_bits)
103 (enum maxargs, enum FLOAT_TO_STRING_BUFSIZE, enum MAX_ALLOCA):
104 New enums, for gdb_make_enums_visible.
105 (GLYPH_MODE_LINE_FACE): Remove; unused.
106 * alloc.c (STRING_BYTES_MAX): Now a constant, not a macro.
107 (gdb_make_enums_visible): Add enum CHARTAB_SIZE_BITS, enum
108 CHAR_TABLE_STANDARD_SLOTS, enum char_bits, enum DEFAULT_HASH_SIZE,
109 enum FLOAT_TO_STRING_BUFSIZE, enum Lisp_Bits, enum Lisp_Compiled,
110 enum maxargs, enum MAX_ALLOCA.
111 (ARRAY_MARK_FLAG_VAL, PSEUDOVECTOR_FLAG_VAL, VALMASK_VAL): Remove.
112 (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Remove;
113 no longer needed, now that they are done in lisp.h.
114
1152012-07-30 Dmitry Antipov <dmantipov@yandex.ru>
116
117 Cleanup string bytes checking.
118 * alloc.c (GC_STRING_BYTES, CHECK_STRING_BYTES): Remove. Convert
119 all users to STRING_BYTES or string_bytes if GC_CHECK_STRING_BYTES.
120 (check_string_bytes): Define to empty if not GC_CHECK_STRING_BYTES.
121 (check_sblock, compact_small_strings): Simplify.
122
1232012-07-29 Paul Eggert <eggert@cs.ucla.edu>
124
125 * lisp.h (LISP_INT_TAG, LISP_INT1_TAG, LISP_STRING_TAG): Remove.
126 These macros are confusing and no longer need to be defined, as
127 the enum values now suffice. All uses replaced with definiens.
128 (Lisp_Int1, Lisp_String): Define directly; this is clearer.
129
1302012-07-29 Juanma Barranquero <lekktu@gmail.com>
131
132 * makefile.w32-in (LISP_H, $(BLD)/emacs.$(O), $(BLD)/w32inevt.$(O))
133 ($(BLD)/w32console.$(O)): Update dependencies.
134
1352012-07-29 Dmitry Antipov <dmantipov@yandex.ru>
136
137 Remove HIDE_LISP_IMPLEMENTATION and cleanup cons free list check.
138 * lisp.h (HIDE_LISP_IMPLEMENTATION): Remove as useless for a long
139 time. Adjust users.
140 (CHECK_CONS_LIST): Remove. Convert all users to check_cons_list.
141
1422012-07-29 Jan Djärv <jan.h.d@swipnet.se>
143
144 * lread.c (init_lread): Remove if-statement in ifdef HAVE_NS before
145 setting sitelisp (Bug#12010).
146
1472012-07-29 Eli Zaretskii <eliz@gnu.org>
148
149 * w32heap.h (OS_9X): Renamed from OS_WINDOWS_95.
150
151 * w32heap.c (cache_system_info):
152 * w32.c (sys_rename):
153 * w32proc.c (find_child_console, sys_kill): All users changed.
154
1552012-07-29 Paul Eggert <eggert@cs.ucla.edu>
156
157 * alloc.c (Fgarbage_collect): Indent as per usual Emacs style.
158
1592012-07-29 Eli Zaretskii <eliz@gnu.org>
160
161 * makefile.w32-in (LISP_H): Add $(NT_INC)/stdalign.h.
162
1632012-07-29 Dmitry Antipov <dmantipov@yandex.ru>
164
165 Cleanup statistics calculation in Fgarbage_collect.
166 * alloc.c (Fgarbage_collect): Rename t1 to meaningful start. Fix
167 zombies percentage calculation. Simplify elapsed time calculation.
168
1692012-07-29 Dmitry Antipov <dmantipov@yandex.ru>
170
171 Generalize marker debugging code under MARKER_DEBUG and use eassert.
172 * insdel.c (CHECK_MARKERS, check_markers_debug_flag): Remove.
173 (gap_left, gap_right, adjust_markers_for_delete, insert_1_both)
174 (insert_from_string_1, insert_from_gap, insert_from_buffer_1)
175 (replace_range, replace_range_2, del_range_2): Change to eassert.
176 * marker.c (byte_char_debug_check): Adjust style.
177
1782012-07-29 Paul Eggert <eggert@cs.ucla.edu>
179
180 Don't use the abbreviation "win" to refer to Windows (Bug#10421).
181 * regex.c (MAX_BUF_SIZE): Remove some incorrect and
182 long-ago-commented-out code that talks about "WIN32".
183 * w32heap.h (OS_WINDOWS_95): Rename from OS_WIN95.
184 All uses changed.
185
1862012-07-28 Paul Eggert <eggert@cs.ucla.edu>
187
188 Use Gnulib stdalign module (Bug#9772, Bug#9960).
189 * alloc.c (XMALLOC_BASE_ALIGNMENT, GC_POINTER_ALIGNMENT, pure_alloc):
190 Simplify by using alignof.
191 (pure_alloc) [! USE_LSB_TAG]: Don't over-align EMACS_INT values.
192 * lisp.h: Include <stdalign.h>.
193 (GCALIGNMENT): New macro and constant.
194 (DECL_ALIGN): Remove. All uses replaced by alignas (GCALIGNMENT).
195 (USE_LSB_TAG): ifdef on alignas, not on DECL_ALIGN.
196 (stdalign): New macro, if not already defined.
197
1982012-07-28 Eli Zaretskii <eliz@gnu.org>
199
200 Fix non-ASCII input in non-GUI frames on MS-Windows. (Bug#12055)
201 * w32inevt.c: Include w32inevt.h.
202 (w32_read_console_input): New inline function, calls either
203 ReadConsoleInputA or ReadConsoleInputW, depending on the value of
204 w32_console_unicode_input.
205 (fill_queue): Call w32_read_console_input instead of ReadConsoleInput.
206 (w32_kbd_patch_key, key_event): Use the codepage returned by
207 GetConsoleCP, rather than the ANSI codepage returned by GetLocaleInfo.
208 (key_event): use uChar.UnicodeChar only if
209 w32_console_unicode_input is non-zero.
210
211 * w32console.c: Include w32heap.h.
212 <w32_console_unicode_input>: New global variable.
213 (initialize_w32_display): Set w32_console_unicode_input to 1 on NT
214 family of Windows, zero otherwise.
215
216 * w32inevt.h: Declare w32_console_unicode_input.
217
218 * xdisp.c (init_iterator): Don't reference tip_frame in a build
219 --without-x. (Bug#11742)
220
2212012-07-27 Paul Eggert <eggert@cs.ucla.edu>
222
223 Adjust GDB to reflect pvec_type changes (Bug#12036).
224 * .gdbinit (xvectype, xpr, xbacktrace): Adjust to reflect the
225 2012-07-04 changes to pseudovector representation. Problem
226 reported by Eli Zaretskii in <http://bugs.gnu.org/12036#30>.
227
2282012-07-27 Michael Albinus <michael.albinus@gmx.de>
229
230 * dbusbind.c (XD_DBUS_VALIDATE_BUS_ADDRESS): Canonicalize session
231 bus address.
232 (xd_close_bus, Fdbus_init_bus): Handle reference counter properly.
233
2342012-07-27 Eli Zaretskii <eliz@gnu.org>
235
236 * alloc.c (listn): Fix the order the arguments are consed onto the
237 list.
238
239 * lisp.h (enum constype): Use CONSTYPE_HEAP and CONSTYPE_PURE for
240 enumeration constants, as PURE and HEAP are too general, and clash
241 with other headers and sources, such as gmalloc.c and the
242 MS-Windows system headers. All users changed.
243
2442012-07-27 Dmitry Antipov <dmantipov@yandex.ru>
245
246 Revert last save_excursion_save and save_excursion_restore changes.
247 * alloc.c, editfns.c, marker.c, lisp.h: Revert.
248 Lots of crashes reported by Chong Yidong <cyd@gnu.org>.
249
2502012-07-27 Dmitry Antipov <dmantipov@yandex.ru>
251
252 Fix recently-introduced typos in Windows port.
253 Reported by Martin Rudalics <rudalics@gmx.at>.
254 * w32.c (init_environment): Replace comma with semicolon.
255 * w32fns.c (syms_of_w32fns): Add missing parenthesis.
256
2572012-07-27 Paul Eggert <eggert@cs.ucla.edu>
258
259 Improve GDB symbol export (Bug#12036).
260 * .gdbinit (xgetptr, xgetint, xgettype): Set $bugfix in different
261 arms of an 'if', not using conditional expressions; otherwise GDB
262 complains about the types in the unevaluated arm when the argument
263 is an integer literal.
264 (xgetint): Simplify expression.
265 * alloc.c (gdb_make_enums_visible): New constant. This ports to
266 GCC 3.4.2 the export of symbols to GDB. Problem reported by Eli
267 Zaretskii in <http://bugs.gnu.org/12036#13>.
268 * lisp.h (PUBLISH_TO_GDB): Remove. All uses removed. No longer
269 needed now that we have gdb_make_enums_visible.
270 (enum CHECK_LISP_OBJECT_TYPE, enum Lisp_Bits, enum More_Lisp_Bits)
271 (enum enum_USE_LSB_TAG):
272 New enum types, packaging up enums that need to be exported to GDB.
273
2742012-07-27 Dmitry Antipov <dmantipov@yandex.ru>
275
276 Utility function to make a list from specified amount of objects.
277 * lisp.h (enum constype): New datatype.
278 (listn): New prototype.
279 * alloc.c (listn): New function.
280 (Fmemory_use_count, syms_of_alloc): Use it.
281 * buffer.c (syms_of_buffer): Likewise.
282 * callint.c (syms_of_callint): Likewise.
283 * charset.c (define_charset_internal): Likewise.
284 * coding.c (syms_of_coding): Likewise.
285 * keymap.c (syms_of_keymap): Likewise.
286 * search.c (syms_of_search): Likewise.
287 * syntax.c (syms_of_syntax): Likewise.
288 * w32.c (init_environment): Likewise.
289 * w32fns.c (Fw32_battery_status, syms_of_w32fns): Likewise.
290 * xdisp.c (syms_of_xdisp): Likewise.
291 * xfns.c (syms_of_xfns): Likewise.
292
2932012-07-27 Dmitry Antipov <dmantipov@yandex.ru>
294
295 Fast save_excursion_save and save_excursion_restore.
296 * lisp.h (struct Lisp_Excursion): New data type.
297 (PVEC_EXCURSION): New pseudovector type.
298 (XEXCURSION, XSETEXCURSION, EXCURSIONP): Convenient macros
299 to deal with it. Adjust comments.
300 (init_marker, attach_marker): New prototype.
301 (unchain_marker): Adjust prototype.
302 * marker.c (attach_marker): Change to global.
303 (init_marker): New function.
304 * alloc.c (Fmake_marker, build_marker): Use it.
305 (build_marker): More easserts.
306 (mark_object): Handle struct Lisp_Excursion.
307 * editfns.c (save_excursion_save, save_excursion_restore):
308 Reimplement to use struct Lisp_Excursion. Add comments.
309
12012-07-26 Paul Eggert <eggert@cs.ucla.edu> 3102012-07-26 Paul Eggert <eggert@cs.ucla.edu>
2 311
3 Fix export of symbols to GDB (Bug#12036). 312 Fix export of symbols to GDB (Bug#12036).