diff options
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 4d2c0409860..1231c1adc14 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,43 @@ | |||
| 1 | 2013-07-10 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2013-07-10 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | Port to C89. | ||
| 4 | * bytecode.c (BYTE_CODE_THREADED): Do not define if __STRICT_ANSI__. | ||
| 5 | (B__dummy__): New dummy symbol, to pacify C89. | ||
| 6 | * dbusbind.c (XD_DEBUG_MESSAGE): Omit debugging on C89 hosts, since | ||
| 7 | they can't grok varargs macros. | ||
| 8 | * dispnew.c (add_window_display_history) | ||
| 9 | (add_frame_display_history): | ||
| 10 | * print.c (print_object): | ||
| 11 | * xdisp.c (debug_method_add): | ||
| 12 | Use %p printf format only for void pointers. | ||
| 13 | * emacs.c (usage_message): New constant, replacing ... | ||
| 14 | (USAGE1, USAGE2, USAGE3): Remove; they were too long for C89. | ||
| 15 | (main): Adjust to usage reorg. | ||
| 16 | * fns.c (syms_of_fns): | ||
| 17 | * profiler.c (syms_of_profiler): | ||
| 18 | Don't use non-constant struct initializers. | ||
| 19 | * gnutls.h (gnutls_initstage_t): | ||
| 20 | * lisp.h (enum Lisp_Fwd_Type): | ||
| 21 | * lread.c (lisp_file_lexically_bound_p): | ||
| 22 | * xsettings.c (anonymous enum): | ||
| 23 | Remove trailing comma. | ||
| 24 | * xsettings.c (apply_xft_settings): Use %f, not %lf; %lf is a C99ism. | ||
| 25 | * lisp.h (ENUM_BF): Use unsigned if pedantic. | ||
| 26 | (DEFUN_FUNCTION_INIT): New macro, that falls back on a cast if pre-C99. | ||
| 27 | (DEFUN): Use it. | ||
| 28 | * regex.c (const_re_char): New type, to pacify strict C89. | ||
| 29 | All uses of 'const re_char' replaced to use it. | ||
| 30 | * regex.h (_Restrict_): Rename from __restrict, to avoid clash | ||
| 31 | with glibc when strict C89. This change is imported from gnulib. | ||
| 32 | All uses changed. | ||
| 33 | (_Restrict_arr_): Rename from __restrict_arr, similarly. | ||
| 34 | * sysdep.c (time_from_jiffies) [!HAVE_LONG_LONG_INT]: | ||
| 35 | Omit GNU_LINUX implementation, since it requires long long. | ||
| 36 | * xterm.c (x_draw_underwave): | ||
| 37 | Do not assume the traditional order of struct's members. | ||
| 38 | (x_term_init): Rewrite to avoid the need for non-constant structure | ||
| 39 | initializers. | ||
| 40 | |||
| 3 | Syntax cleanup, mostly replacing macros with functions. | 41 | Syntax cleanup, mostly replacing macros with functions. |
| 4 | ` This removes the need for the syntax_temp hack. | 42 | ` This removes the need for the syntax_temp hack. |
| 5 | * search.c: Include syntax.h after buffer.h, since syntax.h uses BVAR. | 43 | * search.c: Include syntax.h after buffer.h, since syntax.h uses BVAR. |