aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog134
1 files changed, 133 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e4bcca81ede..6fae7580745 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,10 +1,142 @@
12004-06-23 David Kastrup <dak@gnu.org>
2
3 * search.c (Freplace_match): Adjust the match-data more
4 thoroughly when replacing strings in the buffer.
5 search.c (match-data): When INTEGERS is non-nil and the last match
6 was in a buffer, add the buffer as last element to the match data.
7 (Fset_match_data): If an additional element of the match-data is
8 a buffer, restore it to last_thing_searched.
9 (save_search_regs): Save last_thing_searched as part of the match
10 data.
11 (restore_match_data): Restore it again.
12
132004-06-23 Luc Teirlinck <teirllm@auburn.edu>
14
15 * keymap.c (Ftext_char_description): Doc fix.
16 * doc.c (Fsnarf_documentation): Doc fix.
17
182004-06-22 Kim F. Storm <storm@cua.dk>
19
20 * fns.c (Fmapcar, Fmapconcat): GCPRO the args array.
21
22 * lisp.h (struct Lisp_Save_Value): New member dogc.
23 (SAFE_ALLOCA_LISP): Change second arg to number of elements.
24 Set dogc member in Lisp_Save_Value object so it will be GC'ed.
25 (SAFE_FREE_LISP): New macro.
26
27 * alloc.c (safe_alloca_unwind): Clear dogc and pointer members.
28 (make_save_value): Init new dogc member.
29 (mark_object): Mark Lisp_Save_Value pointer array if dogc is set.
30
31 * fns.c (Fmapconcat, Fmapcar): Use new SAFE_ALLOCA_LISP and
32 SAFE_FREE_LISP macros.
33
342004-06-22 Kim F. Storm <storm@cua.dk>
35
36 * lisp.h (SAFE_ALLOCA_LISP): New macro to allocate Lisp_Objects.
37 Temporarily inhibits GC if memory is xmalloc'ed, as the Lisp_Objects
38 in that memory area are unknown to GC. Add comments.
39
40 * fns.c (Fmapconcat, Fmapcar): Use SAFE_ALLOCA_LISP.
41
422004-06-21 Kim F. Storm <storm@cua.dk>
43
44 * lisp.h (MAX_ALLOCA): Define here.
45 (safe_alloca_unwind): Add prototype.
46 (USE_SAFE_ALLOCA, SAFE_ALLOCA, SAFE_FREE): New macros.
47
48 * alloc.c (safe_alloca_unwind): New function.
49
50 * casefiddle.c (casify_object): Use SAFE_ALLOCA.
51
52 * charset.c (Fstring): Use SAFE_ALLOCA.
53
54 * coding.c (MAX_ALLOCA): Remove define.
55
56 * data.c (MAX_ALLOCA): Remove define.
57 (Faset): Use SAFE_ALLOCA.
58
59 * editfns.c (Fformat, Ftranspose_regions): Use SAFE_ALLOCA.
60
61 * fns.c (string_make_multibyte, string_to_multibyte)
62 (string_make_unibyte, Fmapconcat, Fmapcar): Use SAFE_ALLOCA.
63 (MAX_ALLOCA): Remove define.
64 (Fbase64_encode_region, Fbase64_encode_string)
65 (Fbase64_decode_region, Fbase64_decode_string): Use SAFE_ALLOCA.
66 (Fbase64_encode_region, Fbase64_encode_string): Fix potential
67 memory leak if encoding fails.
68
69 * xdisp.c (add_to_log): Use SAFE_ALLOCA.
70
712004-06-21 Eli Zaretskii <eliz@gnu.org>
72
73 * print.c (Fwith_output_to_temp_buffer): Doc fix.
74
752004-06-20 Richard M. Stallman <rms@gnu.org>
76
77 * xfaces.c (Finternal_copy_lisp_face): Small cleanup; doc fix.
78
79 * search.c (match_limit): Cleaner err msg when no match data available.
80
81 * window.c (syms_of_window): Doc fix.
82
83 * keyboard.c (command_loop_1): Handle values `only' and `identity'
84 for Vtransient_mark_mode.
85
86 * buffer.c (syms_of_buffer): Doc fix.
87
882004-06-21 David Kastrup <dak@gnu.org>
89
90 * minibuf.c (Ftry_completion, Fall_completions): Do lazy binding
91 and unbinding of `case-fold-search' according to
92 `completion-ignore-case' around calls of string-match and
93 predicates, respectively. Should give satisfactory performance
94 in all relevant cases.
95
962004-06-17 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
97
98 * xterm.c (x_draw_image_foreground_1): Subtract slice.x/y from
99 clip_x/y_origin.
100
101 * fns.c (string_to_multibyte): Use xmalloc/xfree instead of alloca.
102
103 * macfns.c (Fx_display_color_cells): Do not limit return value to 256.
104
105 * macterm.c (mac_initialize_display_info): Initialize n_planes correctly
106 on Mac OSX.
107
1082004-06-16 Luc Teirlinck <teirllm@auburn.edu>
109
110 * buffer.c (syms_of_buffer): Clarify `fill-column' docstring.
111
1122004-06-16 Kim F. Storm <storm@cua.dk>
113
114 * dispextern.h (Vimage_types): Remove extern.
115
1162004-06-16 Miles Bader <miles@gnu.org>
117
118 * image.c (lookup_image_type): Initialize image type if necessary.
119
1202004-06-15 Kim F. Storm <storm@cua.dk>
121
122 * xdisp.c (try_cursor_movement): Exclude header line from scroll
123 margin at top of window.
124 (try_window_reusing_current_matrix): Calculate proper cursor position
125 after scrolling up with non-zero scroll margin, as the old cursor
126 position corresponds to value of PT before executing this command.
127 (try_window_id): Consider scroll margin at bottom of window too;
128 otherwise we fail to scroll when hl-line-mode is enabled.
129
130 * syntax.c (skip_chars): Only recognize [:class:] when it has the
131 proper format and class is a lower-case word.
132
12004-06-14 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 1332004-06-14 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
2 134
3 * gtkutil.c (xg_get_image_for_pixmap): New function. 135 * gtkutil.c (xg_get_image_for_pixmap): New function.
4 (xg_get_gdk_pixmap_and_mask): Removed. 136 (xg_get_gdk_pixmap_and_mask): Removed.
5 (update_frame_tool_bar): Call xg_get_image_for_pixmap instead of 137 (update_frame_tool_bar): Call xg_get_image_for_pixmap instead of
6 xg_get_gdk_pixmap_and_mask. 138 xg_get_gdk_pixmap_and_mask.
7 139
8 * xterm.h (struct x_display_info): Typo in comment fixed. 140 * xterm.h (struct x_display_info): Typo in comment fixed.
9 141
102004-06-14 Juanma Barranquero <lektu@terra.es> 1422004-06-14 Juanma Barranquero <lektu@terra.es>