diff options
| author | Paul Eggert | 2011-03-13 10:28:15 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-03-13 10:28:15 -0700 |
| commit | 3eca4629203c3038f04db312999ca32d8e292e50 (patch) | |
| tree | 7dab20a2f6de3e300fd266f51b71efd1d9f52188 /src/ChangeLog | |
| parent | 01e0b5adf4e35c2b00705c212b853936fe218cac (diff) | |
| parent | d32df629a23d0e04eb70df9c6e60e821d905c822 (diff) | |
| download | emacs-3eca4629203c3038f04db312999ca32d8e292e50.tar.gz emacs-3eca4629203c3038f04db312999ca32d8e292e50.zip | |
Merge from mainline.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 73 |
1 files changed, 71 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 0097626c463..e840bb3c036 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2011-03-13 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-03-13 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | Fix more problems found by GCC 4.5.2's static checks. | ||
| 4 | |||
| 3 | * gtkutil.c (xg_get_pixbuf_from_pixmap): Add cast from char * | 5 | * gtkutil.c (xg_get_pixbuf_from_pixmap): Add cast from char * |
| 4 | to unsigned char * to avoid compiler diagnostic. | 6 | to unsigned char * to avoid compiler diagnostic. |
| 5 | (xg_free_frame_widgets): Make it clear that a local variable is | 7 | (xg_free_frame_widgets): Make it clear that a local variable is |
| @@ -22,8 +24,6 @@ | |||
| 22 | Mark another local as initialized. | 24 | Mark another local as initialized. |
| 23 | (my_png_error, my_error_exit): Mark with NO_RETURN. | 25 | (my_png_error, my_error_exit): Mark with NO_RETURN. |
| 24 | 26 | ||
| 25 | 2011-03-11 Paul Eggert <eggert@cs.ucla.edu> | ||
| 26 | |||
| 27 | * image.c (clear_image_cache): Now static. | 27 | * image.c (clear_image_cache): Now static. |
| 28 | (DIM, HAVE_STDLIB_H_1): Remove unused macros. | 28 | (DIM, HAVE_STDLIB_H_1): Remove unused macros. |
| 29 | (xpm_load): Redo to avoid "discards qualifiers" gcc warning. | 29 | (xpm_load): Redo to avoid "discards qualifiers" gcc warning. |
| @@ -35,6 +35,75 @@ | |||
| 35 | 35 | ||
| 36 | 2011-03-11 Paul Eggert <eggert@cs.ucla.edu> | 36 | 2011-03-11 Paul Eggert <eggert@cs.ucla.edu> |
| 37 | 37 | ||
| 38 | Improve quality of tests for time stamp overflow. | ||
| 39 | For example, without this patch (encode-time 0 0 0 1 1 | ||
| 40 | 1152921504606846976) returns the obviously-bogus value (-948597 | ||
| 41 | 62170) on my RHEL 5.5 x86-64 host. With the patch, it correctly | ||
| 42 | reports time overflow. See | ||
| 43 | <http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg00470.html>. | ||
| 44 | * deps.mk (editfns.o): Depend on ../lib/intprops.h. | ||
| 45 | * editfns.c: Include limits.h and intprops.h. | ||
| 46 | (TIME_T_MIN, TIME_T_MAX): New macros. | ||
| 47 | (time_overflow): Move earlier, to before first use. | ||
| 48 | (hi_time, lo_time): New functions, for an accurate test for | ||
| 49 | out-of-range times. | ||
| 50 | (Fcurrent_time, Fget_internal_run_time, make_time): Use them. | ||
| 51 | (Fget_internal_run_time): Don't assume time_t fits in int. | ||
| 52 | (make_time): Use list2 instead of Fcons twice. | ||
| 53 | (Fdecode_time): More accurate test for out-of-range times. | ||
| 54 | (check_tm_member): New function. | ||
| 55 | (Fencode_time): Use it, to test for out-of-range times. | ||
| 56 | (lisp_time_argument): Don't rely on undefined left-shift and | ||
| 57 | right-shift behavior when checking for time stamp overflow. | ||
| 58 | |||
| 59 | * editfns.c (time_overflow): New function, refactoring common code. | ||
| 60 | (Fformat_time_string, Fdecode_time, Fencode_time): | ||
| 61 | (Fcurrent_time_string): Use it. | ||
| 62 | |||
| 63 | Move 'make_time' to be next to its inverse 'lisp_time_argument'. | ||
| 64 | * dired.c (make_time): Move to ... | ||
| 65 | * editfns.c (make_time): ... here. | ||
| 66 | * systime.h: Note the move. | ||
| 67 | |||
| 68 | 2011-03-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 69 | |||
| 70 | * fringe.c (update_window_fringes): Remove unused variables. | ||
| 71 | |||
| 72 | * unexmacosx.c (copy_data_segment): Also copy __got section. | ||
| 73 | (Bug#8223) | ||
| 74 | |||
| 75 | 2011-03-12 Eli Zaretskii <eliz@gnu.org> | ||
| 76 | |||
| 77 | * termcap.c [MSDOS]: Include "msdos.h. | ||
| 78 | (find_capability, tgetnum, tgetflag, tgetstr, tputs, tgetent): | ||
| 79 | Constify `char *' arguments and their references according to | ||
| 80 | prototypes in tparam.h. | ||
| 81 | |||
| 82 | * deps.mk (termcap.o): Depend on tparam.h and msdos.h. | ||
| 83 | |||
| 84 | * msdos.c (XMenuAddPane): 3rd argument is `const char *' now. | ||
| 85 | Adapt all references accordingly. | ||
| 86 | |||
| 87 | * msdos.h (XMenuAddPane): 3rd argument is `const char *' now. | ||
| 88 | |||
| 89 | 2011-03-11 Tom Tromey <tromey@redhat.com> | ||
| 90 | |||
| 91 | * buffer.c (syms_of_buffer): Remove obsolete comment. | ||
| 92 | |||
| 93 | 2011-03-11 Eli Zaretskii <eliz@gnu.org> | ||
| 94 | |||
| 95 | * termhooks.h (encode_terminal_code): Declare prototype. | ||
| 96 | |||
| 97 | * msdos.c (encode_terminal_code): Don't declare prototype. | ||
| 98 | |||
| 99 | * term.c (encode_terminal_code): Now external again, used by | ||
| 100 | w32console.c and msdos.c. | ||
| 101 | |||
| 102 | * makefile.w32-in ($(BLD)/term.$(O), ($(BLD)/tparam.$(O)): Depend | ||
| 103 | on $(SRC)/tparam.h, see 2011-03-11T07:24:21Z!eggert@cs.ucla.edu. | ||
| 104 | |||
| 105 | 2011-03-11 Paul Eggert <eggert@cs.ucla.edu> | ||
| 106 | |||
| 38 | Fix some minor problems found by GCC 4.5.2's static checks. | 107 | Fix some minor problems found by GCC 4.5.2's static checks. |
| 39 | 108 | ||
| 40 | * fringe.c (update_window_fringes): Mark locals as initialized | 109 | * fringe.c (update_window_fringes): Mark locals as initialized |