aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog283
1 files changed, 272 insertions, 11 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 6a13bd87264..f10e2955164 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,264 @@
12011-12-28 Kenichi Handa <handa@m17n.org>
2
3 * coding.c (Fdefine_coding_system_internal): Make an utf-8 base
4 coding-system ASCII compatible only when it does not produce BOM
5 on encoding (Bug#10383).
6
72011-12-26 Jan Djärv <jan.h.d@swipnet.se>
8
9 * xmenu.c (x_menu_wait_for_event): Use xg_select for Gtk3 so menus
10 can scroll.
11 (create_and_show_popup_menu): Always use menu_position_func for
12 Gtk3 (Bug#10361).
13
142011-12-24 Andreas Schwab <schwab@linux-m68k.org>
15
16 * callint.c (Fcall_interactively): Don't truncate prompt string.
17
182011-12-23 Eli Zaretskii <eliz@gnu.org>
19
20 * xdisp.c (handle_invisible_prop): Handle correctly an invisible
21 property that ends at ZV, so that the bidi iteration could be
22 resumed from there (after widening). (Bug#10360)
23
242011-12-22 Jan Djärv <jan.h.d@swipnet.se>
25
26 * nsfont.m (ns_spec_to_descriptor): Do not autorelease fdesc.
27
282011-12-21 Jan Djärv <jan.h.d@swipnet.se>
29
30 * nsterm.m (x_free_frame_resources): Release
31 f->output_data.ns->miniimage
32 (ns_index_color): Fix indentation. Do not retain
33 color_table->colors[i].
34
35 * nsmenu.m (ns_update_menubar): Call free_menubar_widget_value_tree
36 before returning.
37
38 * nsfns.m (x_set_background_color): Assign return value from
39 ns_index_color to face-background instead of NSColor*.
40 (ns_implicitly_set_icon_type): Fix indentation.
41 Change assignment in for loop to comparison.
42
43 * emacs.c (ns_pool): New variable.
44 (main): Assign ns_pool.
45 (Fkill_emacs): Call ns_release_autorelease_pool.
46
47 * nsfont.m (ns_spec_to_descriptor): Fix indentation,
48 autorelease fdesc, release fdAttrs and tdict.
49 (ns_get_covering_families): Release charset.
50 (ns_findfonts): Release NSFontDescriptor created with new.
51 (ns_uni_to_glyphs): Fix indentation.
52 (setString): Release attrStr before assigning new value.
53
542011-12-18 Jan Djärv <jan.h.d@swipnet.se>
55
56 * nsmenu.m (NSMenuDidBeginTrackingNotification): Declare if OSX < 10.5
57 and NS_IMPL_COCOA.
58 (trackingNotification): Surround with ifdef NS_IMPL_COCOA.
59 (syms_of_nsmenu): Set trackingMenu to 1 if not NS_IMPL_COCOA.
60
612011-12-18 David Reitter <reitter@cmu.edu>
62
63 * nsterm.m (ns_term_init): Subscribe for notifications
64 NSMenuDidBeginTrackingNotification and NSMenuDidEndTrackingNotification
65 to method trackingNotification in EmacsMenu.
66
67 * nsmenu.m (trackingMenu): New variable.
68 (trackingNotification): New method (from Aquamacs).
69 (menuNeedsUpdate): Expand comment and return if trackingMenu is 0,
70 from Aquamacs (Bug#7030).
71
722011-12-18 Jan Djärv <jan.h.d@swipnet.se>
73
74 * nsselect.m (CUT_BUFFER_SUPPORT): Remove define.
75 (symbol_to_nsstring): Fix indentation.
76 (ns_symbol_to_pb): New function.
77 (Fns_get_selection_internal): Renamed from Fns_get_cut_buffer_internal.
78 (Fns_rotate_cut_buffers_internal): Removed.
79 (Fns_store_selection_internal): Renamed from
80 Fns_store_cut_buffer_internal.
81 (ns_get_foreign_selection, Fx_own_selection_internal)
82 (Fx_disown_selection_internal, Fx_selection_exists_p)
83 (Fns_get_selection_internal, Fns_store_selection_internal): Use
84 ns_symbol_to_pb and check if return value is nil.
85 (syms_of_nsselect): Remove ifdef CUT_BUFFER_SUPPORT. Remove
86 defsubr Sns_rotate_cut_buffers_internal. Sns_get_cut_buffer_internal
87 renamed to Sns_get_selection_internal, Sns_store_cut_buffer_internal
88 renamed to Sns_store_selection_internal.
89 (ns_handle_selection_request): Move code to Fx_own_selection_internal
90 and remove this function.
91 (ns_handle_selection_clear): Remove, never used.
92 (Fx_own_selection_internal): Move code from ns_handle_selection_request
93 here.
94
952011-12-17 Ken Brown <kbrown@cornell.edu>
96
97 * fileio.c (check_writable) [CYGWIN]: Return non-zero if UID or
98 GID is unknown (Bug#10257).
99
1002011-12-17 Paul Eggert <eggert@cs.ucla.edu>
101
102 * s/gnu-linux.h: Fix mark_memory typo (Bug#10286).
103 (GC_MARK_SECONDARY_STACK): Omit removed 3rd arg to mark_memory,
104 which caused a build failure on GNU/Linux IA-64. This problem was
105 introduced by my 2011-10-07 patch.
106
1072011-12-15 Juri Linkov <juri@jurta.org>
108
109 * image.c (imagemagick_error): New function. (Bug#10112)
110 (imagemagick_load_image): Comment out `MagickSetResolution' call.
111 Use `imagemagick_error' where ImageMagick functions return
112 `MagickFalse'.
113 (Fimagemagick_types): Add `Fnreverse' to return the list in the
114 proper order.
115
1162011-12-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
117
118 * xftfont.c (xftfont_draw): Use the font metrics of s->font to
119 fill background (Bug#8992).
120
1212011-12-13 Martin Rudalics <rudalics@gmx.at>
122
123 * window.c (Vwindow_combination_resize)
124 (Vwindow_combination_limit): Use t instead of non-nil in
125 doc-strings.
126 (Vrecenter_redisplay): Add first sentence of doc-string on
127 separate line.
128 (Frecenter): Fix doc-string typo.
129
1302011-12-11 Kenichi Handa <handa@m17n.org>
131
132 * coding.c (Funencodable_char_position): Pay attention to the
133 buffer text relocation (Bug#9389).
134
1352011-12-10 Jan Djärv <jan.h.d@swipnet.se>
136
137 * xterm.c (x_term_init): Move call to gdk_window_add_filter before
138 gtk_init (Bug#10100).
139
1402011-12-10 Eli Zaretskii <eliz@gnu.org>
141
142 * xdisp.c (RECORD_MAX_MIN_POS): Use IT->cmp_it.charpos only if
143 IT->string is nil. (Bug#10263)
144
1452011-12-10 Jan Djärv <jan.h.d@swipnet.se>
146
147 * nsterm.h (x_free_frame_resources): Declare.
148
149 * nsfns.m (ns_get_defaults_value): New function (Bug#10103).
150 (Fns_get_resource, x_get_string_resource): Call ns_get_defaults_value.
151
152 * nsterm.h (ns_get_defaults_value): Declare.
153
154 * nsterm.m (ns_default): Call ns_get_defaults_value.
155
1562011-12-09 Eli Zaretskii <eliz@gnu.org>
157
158 * xdisp.c (try_scrolling): Don't set scroll_down_p if dy is zero.
159 (Bug#10170)
160
1612011-12-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
162
163 * unexelf.c (unexec) [NS_IMPL_GNUSTEP]: Take account of the case
164 that where the value of an _OBJC_* symbol points to is in the .bss
165 section (Bug#10240).
166
1672011-12-08 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
168
169 * coding.c (encode_coding_ccl): Check (charbuf < charbuf_end)
170 after the loop to call ccl_driver at least once (Bug#8619).
171
1722011-12-08 Kenichi Handa <handa@m17n.org>
173
174 * ftfont.c (get_adstyle_property): Fix previous change
175 (Bug#10233).
176
1772011-12-07 Juanma Barranquero <lekktu@gmail.com>
178
179 * w32.c (init_environment): If no_site_lisp, remove site-lisp
180 dirs from the default value of EMACSLOADPATH (bug#10208).
181
1822011-12-07 Glenn Morris <rgm@gnu.org>
183
184 * lread.c (init_lread): If no_site_lisp, exclude site-lisp/ in
185 installation and source directories as well. (Bug#10208)
186
1872011-12-06 Chong Yidong <cyd@gnu.org>
188
189 * minibuf.c (Fread_from_minibuffer): Doc fix (Bug#10228).
190
1912011-12-06 Glenn Morris <rgm@gnu.org>
192
193 * process.c (start_process_unwind): Treat any pid <= 0, except -2,
194 as an error, not just -1. (Bug#10217)
195
1962011-12-05 Chong Yidong <cyd@gnu.org>
197
198 * keyboard.c (process_special_events): New function.
199 (swallow_events, Finput_pending_p): Use it (Bug#10195).
200
2012011-12-05 Paul Eggert <eggert@cs.ucla.edu>
202
203 * coding.c (encode_designation_at_bol): Don't use uninitialized
204 local variable (Bug#9318).
205
2062011-12-05 Kenichi Handa <handa@m17n.org>
207
208 * ftfont.c (get_adstyle_property): If the font is not BDF nor PCF,
209 return Qnil (Bug#8046, Bug#10193).
210
2112011-12-05 Kenichi Handa <handa@m17n.org>
212
213 * coding.c (encode_designation_at_bol): New args charbuf_end and
214 dst. Return the number of produced bytes. Callers changed.
215 (coding_set_source): Return how many bytes coding->source was
216 relocated.
217 (coding_set_destination): Return how many bytes
218 coding->destination was relocated.
219 (CODING_DECODE_CHAR, CODING_ENCODE_CHAR, CODING_CHAR_CHARSET)
220 (CODING_CHAR_CHARSET_P): Adjusted for the avove changes.
221
2222011-12-05 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
223
224 * coding.c (CODING_CHAR_CHARSET_P): New macro.
225 (encode_coding_emacs_mule, encode_coding_iso_2022): Use the above
226 macro (Bug#9318).
227
2282011-12-05 Andreas Schwab <schwab@linux-m68k.org>
229
230 The following changes are to fix Bug#9318.
231
232 * coding.c (CODING_ENCODE_CHAR, CODING_CHAR_CHARSET): New macros.
233 (encode_coding_emacs_mule, ENCODE_ISO_CHARACTER)
234 (encode_coding_iso_2022, encode_coding_sjis)
235 (encode_coding_big5, encode_coding_charset): Use the above macros.
236
2372011-12-05 Juanma Barranquero <lekktu@gmail.com>
238
239 * lisp.h (process_quit_flag): Fix external declaration.
240
2412011-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
242
243 Don't macro-inline non-performance-critical code.
244 * eval.c (process_quit_flag): New function.
245 * lisp.h (QUIT): Use it.
246
2472011-12-04 Jan Djärv <jan.h.d@swipnet.se>
248
249 * nsfns.m (get_geometry_from_preferences): New function.
250 (Fx_create_frame): Call get_geometry_from_preferences (Bug#10103).
251
2522011-12-04 Andreas Schwab <schwab@linux-m68k.org>
253
254 * emacs.c (Qkill_emacs): Define.
255 (syms_of_emacs): Initialize it.
256 * keyboard.c (interrupt_signal): Don't call Fkill_emacs here, set
257 Qquit_flag to `kill-emacs' instead.
258 (quit_throw_to_read_char): Add parameter `from_signal'.
259 All callers changed. Call Fkill_emacs if requested and safe.
260 * lisp.h (QUIT): Call Fkill_emacs if requested.
261
12011-12-03 Jan Djärv <jan.h.d@swipnet.se> 2622011-12-03 Jan Djärv <jan.h.d@swipnet.se>
2 263
3 * widget.c (update_wm_hints): Return if wmshell is null. 264 * widget.c (update_wm_hints): Return if wmshell is null.
@@ -58,7 +319,7 @@
58 319
59 * xterm.c (handle_one_xevent): Only set async_visible and friends 320 * xterm.c (handle_one_xevent): Only set async_visible and friends
60 if net_wm_state_hidden_seen is non-zero (Bug#10002) 321 if net_wm_state_hidden_seen is non-zero (Bug#10002)
61 (get_current_wm_state): Set net_wm_state_hidden_seen to 1 if 322 (get_current_wm_state): Set net_wm_state_hidden_seen to 1 if
62 _NET_WM_STATE_HIDDEN is in NET_WM_STATE. 323 _NET_WM_STATE_HIDDEN is in NET_WM_STATE.
63 324
642011-11-28 Paul Eggert <eggert@cs.ucla.edu> 3252011-11-28 Paul Eggert <eggert@cs.ucla.edu>
@@ -95,8 +356,8 @@
95 356
962011-11-27 Jan Djärv <jan.h.d@swipnet.se> 3572011-11-27 Jan Djärv <jan.h.d@swipnet.se>
97 358
98 * gtkutil.c (xg_create_frame_widgets): Call 359 * gtkutil.c (xg_create_frame_widgets):
99 gtk_window_set_has_resize_grip (FALSE) if that function is 360 Call gtk_window_set_has_resize_grip (FALSE) if that function is
100 present with Gtk+ 2.0. 361 present with Gtk+ 2.0.
101 362
1022011-11-26 Paul Eggert <eggert@cs.ucla.edu> 3632011-11-26 Paul Eggert <eggert@cs.ucla.edu>
@@ -303,8 +564,8 @@
303 * xdisp.c (display_line): Move the call to 564 * xdisp.c (display_line): Move the call to
304 highlight_trailing_whitespace before the call to 565 highlight_trailing_whitespace before the call to
305 compute_line_metrics, since the latter needs to see the final 566 compute_line_metrics, since the latter needs to see the final
306 faces of all the glyphs to compute ROW's hash value. Fixes 567 faces of all the glyphs to compute ROW's hash value.
307 assertion violations in row_equal_p. (Bug#10035) 568 Fixes assertion violations in row_equal_p. (Bug#10035)
308 569
3092011-11-14 Juanma Barranquero <lekktu@gmail.com> 5702011-11-14 Juanma Barranquero <lekktu@gmail.com>
310 571
@@ -388,8 +649,8 @@
3882011-11-08 Chong Yidong <cyd@gnu.org> 6492011-11-08 Chong Yidong <cyd@gnu.org>
389 650
390 * window.c (Fwindow_left_column, Fwindow_top_line): Doc fix. 651 * window.c (Fwindow_left_column, Fwindow_top_line): Doc fix.
391 (Fwindow_body_height, Fwindow_body_width): Move from Lisp. Signal 652 (Fwindow_body_height, Fwindow_body_width): Move from Lisp.
392 an error if not a live window. 653 Signal an error if not a live window.
393 (Fwindow_total_width, Fwindow_total_height): Move from Lisp. 654 (Fwindow_total_width, Fwindow_total_height): Move from Lisp.
394 (Fwindow_total_size, Fwindow_body_size): Move to Lisp. 655 (Fwindow_total_size, Fwindow_body_size): Move to Lisp.
395 656
@@ -521,8 +782,8 @@
521 (x_destroy_window): Move code to x_free_frame_resources. 782 (x_destroy_window): Move code to x_free_frame_resources.
522 783
523 * xfns.c (unwind_create_frame): Fix comment. 784 * xfns.c (unwind_create_frame): Fix comment.
524 (Fx_create_frame, x_create_tip_frame): Move 785 (Fx_create_frame, x_create_tip_frame):
525 terminal->reference_count++ just before making the frame 786 Move terminal->reference_count++ just before making the frame
526 official. Move initialization of image_cache_refcount and 787 official. Move initialization of image_cache_refcount and
527 dpyinfo_refcount before calling init_frame_faces (Bug#9943). 788 dpyinfo_refcount before calling init_frame_faces (Bug#9943).
528 789
@@ -592,8 +853,8 @@
592 * xdisp.c (mouse_face_from_buffer_pos): Fix a typo in a comment. 853 * xdisp.c (mouse_face_from_buffer_pos): Fix a typo in a comment.
593 Don't stop backward scan on the continuation glyph, even though 854 Don't stop backward scan on the continuation glyph, even though
594 its CHARPOS is positive. 855 its CHARPOS is positive.
595 (mouse_face_from_buffer_pos, note_mouse_highlight): Rename 856 (mouse_face_from_buffer_pos, note_mouse_highlight):
596 cover_string to disp_string. 857 Rename cover_string to disp_string.
597 858
5982011-11-01 Martin Rudalics <rudalics@gmx.at> 8592011-11-01 Martin Rudalics <rudalics@gmx.at>
599 860