aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog30
1 files changed, 26 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e477162b32b..87f64244c48 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,12 +1,12 @@
12011-06-15 Paul Eggert <eggert@cs.ucla.edu> 12011-06-15 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 Integer overflow and signedness fixes.
4
3 * fileio.c: Don't assume EMACS_INT fits in off_t. 5 * fileio.c: Don't assume EMACS_INT fits in off_t.
4 (emacs_lseek): New static function. 6 (emacs_lseek): New static function.
5 (Finsert_file_contents, Fwrite_region): Use it. 7 (Finsert_file_contents, Fwrite_region): Use it.
6 Use SEEK_SET, SEEK_CUR, SEEK_END as appropriate. 8 Use SEEK_SET, SEEK_CUR, SEEK_END as appropriate.
7 9
82011-06-14 Paul Eggert <eggert@cs.ucla.edu>
9
10 * fns.c (Fload_average): Don't assume 100 * load average fits in int. 10 * fns.c (Fload_average): Don't assume 100 * load average fits in int.
11 11
12 * fns.c: Don't overflow int when computing a list length. 12 * fns.c: Don't overflow int when computing a list length.
@@ -66,8 +66,6 @@
66 * vm-limit.c (check_memory_limits): Fix incorrect extern function decls. 66 * vm-limit.c (check_memory_limits): Fix incorrect extern function decls.
67 * mem-limits.h (SIZE): Remove; no longer used. 67 * mem-limits.h (SIZE): Remove; no longer used.
68 68
692011-06-13 Paul Eggert <eggert@cs.ucla.edu>
70
71 * xterm.c (x_alloc_nearest_color_1): Prefer int to long when int works. 69 * xterm.c (x_alloc_nearest_color_1): Prefer int to long when int works.
72 70
73 Remove unnecessary casts. 71 Remove unnecessary casts.
@@ -247,6 +245,30 @@
247 245
248 * alloc.c (Fmake_string): Check for out-of-range init. 246 * alloc.c (Fmake_string): Check for out-of-range init.
249 247
2482011-06-14 Jan Djärv <jan.h.d@swipnet.se>
249
250 * xfns.c (x_set_scroll_bar_default_width): Remove argument to
251 xg_get_default_scrollbar_width.
252
253 * gtkutil.c: Include emacsgtkfixed.h if HAVE_GTK3.
254 (int_gtk_range_get_value): Move to the scroll bar part of the file.
255 (style_changed_cb): Call update_theme_scrollbar_width and call
256 x_set_scroll_bar_default_width and xg_frame_set_char_size for
257 all frames (Bug#8505).
258 (xg_create_frame_widgets): Call emacs_fixed_new if HAVE_GTK3 (Bug#8505).
259 Call gtk_window_set_resizable if HAVE_GTK3.
260 (x_wm_set_size_hint): Call emacs_fixed_set_min_size with min width
261 and height if HAVE_GTK3 (Bug#8505).
262 (scroll_bar_width_for_theme): New variable.
263 (update_theme_scrollbar_width): New function.
264 (xg_get_default_scrollbar_width): Move code to
265 update_theme_scrollbar_width, just return scroll_bar_width_for_theme.
266 (xg_initialize): Call update_theme_scrollbar_width.
267
268 * gtkutil.h (xg_get_default_scrollbar_width): Remove argument.
269
270 * emacsgtkfixed.c, emacsgtkfixed.h: New files.
271
2502011-06-12 Martin Rudalics <rudalics@gmx.at> 2722011-06-12 Martin Rudalics <rudalics@gmx.at>
251 273
252 * frame.c (make_frame): Call other_buffer_safely instead of 274 * frame.c (make_frame): Call other_buffer_safely instead of