comparison src/ChangeLog @ 109793:b60dcdd855f0

Merge from mainline.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Sun, 08 Aug 2010 22:52:25 +0000
parents 77fb60d4233b
children 54f0299502c6
comparison
equal deleted inserted replaced
109649:1f8f03cfcd2b 109793:b60dcdd855f0
1 2010-08-08 Kenichi Handa <handa@m17n.org>
2
3 * charset.c: Include <stdlib.h>
4 (struct charset_sort_data): New struct.
5 (charset_compare): New function.
6 (Fsort_charsets): New funciton.
7 (syms_of_charset): Declare Fsort_charsets as a Lisp function.
8
9 * coding.c (decode_coding_iso_2022): Fix checking of dimension
10 number in CTEXT extended segment.
11
12 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
13
14 * w32fns.c (syms_of_w32fns) <x-max-tooltip-size>: Fix typo in docstring.
15 * xfns.c (syms_of_xfns) <x-max-tooltip-size>: Reflow docstring.
16
17 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
18
19 * fns.c (Fsubstring_no_properties, Fnthcdr, Ffeaturep)
20 (Fhash_table_size): Fix typos in docstrings.
21 (Fmake_hash_table): Doc fix.
22
23 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
24
25 * minibuf.c (syms_of_minibuf) <read-buffer-function>:
26 Doc fix (bug#5625).
27
28 2010-08-08 Ken Brown <kbrown@cornell.edu>
29
30 * dired.c (DIRENTRY_NONEMPTY) [cygwin]: Use d_ino instead of
31 the MSDOS definition.
32
33 2010-08-08 Dan Nicolaescu <dann@ics.uci.edu>
34
35 Use const char* instead of char*.
36 * xterm.c (x_create_toolkit_scroll_bar):
37 * xfont.c (xfont_list_pattern):
38 * xfns.c (x_default_scroll_bar_color_parameter)
39 (xic_create_fontsetname, x_default_font_parameter)
40 (x_screen_planes):
41 * xdisp.c (c_string_pos, number_of_chars, reseat_to_string)
42 (store_mode_line_string, decode_mode_spec, display_string):
43 * menu.c (digest_single_submenu):
44 * keymap.h (initial_define_key, initial_define_lispy_key):
45 * keymap.c (initial_define_key, initial_define_lispy_key):
46 * image.c (image_error, image_keyword):
47 * gtkutil.h (xg_create_widget, xg_create_scroll_bar):
48 * gtkutil.c (xg_create_widget, xg_create_scroll_bar):
49 * ftfont.c (struct fc_charset_table, ftfont_spec_pattern)
50 (ftfont_list, ftfont_match):
51 * frame.c (frame_parm_table):
52 * font.h (font_intern_prop, font_parse_xlfd, font_parse_fcname)
53 (font_unparse_fcname, font_unparse_fcname, font_open_by_name)
54 (font_add_log, font_deferred_log):
55 * font.c (font_intern_prop, font_parse_xlfd, font_parse_fcname)
56 (font_unparse_fcname, font_unparse_fcname, font_open_by_name)
57 (font_add_log, font_deferred_log):
58 * emacs.c (argmatch):
59 * dispextern.h (struct it):
60 * coding.c (ENCODE_DESIGNATION):
61 * charset.c (define_charset_internal): Use const.
62
63 * s/freebsd.h (DECLARE_GETPWUID_WITH_UID_T): Remove, unused.
64
65 * xrdb.c: Remove include guard. Remove
66 DECLARE_GETPWUID_WITH_UID_T conditional it had no effect.
67 Remove #if 0 code. Replace malloc->xmalloc, free->xfree,
68 realloc->xrealloc instead of using #defines.
69
70 2010-08-08 Eli Zaretskii <eliz@gnu.org>
71
72 * cmds.c (Fforward_line, Fbeginning_of_line, Fend_of_line):
73 * editfns.c (Fline_beginning_position, Fline_end_position): State
74 in the doc strings that start and end of line are in the logical
75 order.
76
77 * xdisp.c (display_line): Move the handling of overlay arrow after
78 the call to find_row_edges. (Bug#6699)
79
80 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
81
82 * keyboard.c (command_loop_1):
83 * insdel.c (prepare_to_modify_buffer): Don't call validate_region.
84
85 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
86
87 * insdel.c (prepare_to_modify_buffer): Save active region text to
88 Vsaved_region_selection.
89
90 * xselect.c (QPRIMARY): Move to keyboard.c.
91
92 * keyboard.c (Vselect_active_regions): Move from simple.el.
93 (Vsaved_region_selection, Qx_set_selection, QPRIMARY, Qlazy): New
94 vars.
95 (command_loop_1): Set window selection prior to deactivating the
96 mark.
97
98 2010-08-07 Juanma Barranquero <lekktu@gmail.com>
99
100 * alloc.c (lisp_malloc):
101 * buffer.c (set_buffer_internal, set_buffer_internal_1):
102 * charset.h (emacs_mule_charset):
103 * dispextern.h (inhibit_free_realized_faces, redraw_frame)
104 (redraw_garbaged_frames, scroll_cost, update_frame, scrolling)
105 (bitch_at_user):
106 * lisp.h (Fcheck_coding_system, Fget_text_property)
107 (Qfunction, Qcompletion_ignore_case, QCwidth, QCsize):
108 Remove duplicate declarations.
109
110 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
111
112 * process.c: Simplify include logic.
113
114 * keyboard.h (quit_char): Add declaration.
115 * process.h (QCport, QCspeed, QCprocess, QCbytesize, QCstopbits)
116 (QCparity, Qodd, Qeven, QCflowcontrol, Qhw, Qsw, QCsummary): Add
117 declarations.
118 * sysdep.c:
119 * w32.c: Remove the above declarations.
120
121 Remove extern declarations in .c files, .h files have them.
122 * xterm.c:
123 * xdisp.c:
124 * msdos.c:
125 * image.c:
126 * gtkutil.c:
127 * fileio.c:
128 * eval.c: Remove declarations.
129
130 * frame.c (frame_params): Make const.
131
132 * lisp.h (fatal_error_signal, emacs_root_dir): Add declaration.
133
134 * emacs.c (emacs_copyright, emacs_version): Make static.
135 (Vinitial_window_system, Vauto_save_list_file_name)
136 (Vinhibit_redisplay): Remove declarations.
137 (main): Remove HAVE_SHM code, unused. Remove _I386 conditional
138 for AIX.
139
140 Use const for some arrays and functions.
141 * xterm.h (xg_set_icon_from_xpm_data):
142 * xfns.c (xg_set_icon_from_xpm_data):
143 * term.c (fkeys):
144 * keyboard.c (lispy_accent_keys, lispy_function_keys)
145 (lispy_multimedia_keys, lispy_kana_keys, iso_lispy_function_keys)
146 (lispy_drag_n_drop_names, scroll_bar_parts, modify_event_symbol)
147 (frame.c frame_parms):
148 * emacs-icon.h (gnu_xpm_bits):
149 * callint.c (callint_argfuns): Use const.
150
151 2010-08-06 Jan Djärv <jan.h.d@swipnet.se>
152
153 * sysdep.c: Move include term.h last of includes (Bug#6812).
154
155 2010-08-06 Eli Zaretskii <eliz@gnu.org>
156
157 * dispnew.c (realloc_glyph_pool): Zero out newly allocated glyphs.
158
159 * msdos.c (IT_display_cursor): Log cursor position on termscript.
160
161 * .gdbinit (pgx): Display the avoid_cursor_p flag.
162
163 2010-08-06 Juanma Barranquero <lekktu@gmail.com>
164
165 * makefile.w32-in ($(BLD)/xdisp.$(O)): Update dependencies.
166
167 2010-08-06 Jan Djärv <jan.h.d@swipnet.se>
168
169 * xterm.h (x_get_focus_frame): Declare.
170
171 * keyboard.h (poll_for_input_1): Unconditionally declare.
172
173 * nsterm.h (x_set_menu_bar_lines): Declare.
174
175 * window.c: Don't include menu.h, it depends on lots of other .h-files.
176
177 * xfaces.c (x_create_gc, x_free_gc): Convert to ANSI C prototypes.
178
179 * window.c: Include menu.h.
180
181 * unexmacosx.c (print_region_list, print_regions)
182 (build_region_list, find_emacs_zone_regions)
183 (unexec_regions_merge, read_load_commands, dump_it)
184 (unexec_init_emacs_zone): Convert to ANSI C prototypes.
185
186 * term.c: Check HAVE_SYS_IOCTL_H.
187
188 * sysdep.c: Check HAVE_TERM_H.
189
190 * process.c: Check HAVE_UTIL_H. Include nsterm.h if HAVE_NS.
191
192 * nsterm.m (ns_init_paths, ns_alloc_autorelease_pool)
193 (ns_ring_bell, ns_defined_color, hide_hourglass)
194 (x_display_pixel_height, x_display_pixel_width, syms_of_nsterm):
195 Convert to ANSI C prototypes.
196 (x_set_window_size, ns_draw_fringe_bitmap, judge): Move declarations
197 before code.
198
199 * nsterm.h : Include sysselect.h.
200 (x_sync, x_get_focus_frame, x_set_mouse_position)
201 (x_set_mouse_pixel_position, x_make_frame_visible)
202 (x_make_frame_invisible, x_iconify_frame, x_char_width, x_char_height)
203 (x_pixel_width, x_pixel_height, x_set_frame_alpha, x_set_tool_bar_lines)
204 (x_activate_menubar, free_frame_menubar, ns_init_paths, ns_select)
205 (syms_of_nsterm, syms_of_nsfns, syms_of_nsmenu, syms_of_nsselect):
206 Declare.
207
208 * nsmenu.m (popup_activated, name_is_separator)
209 (syms_of_nsmenu): Convert to ANSI C prototypes.
210 (runMenuAt): Prototypes and move declarations before code.
211
212 * nsimage.m (ns_load_image): Move NSTRACE after declarations.
213
214 * nsfont.m (ns_fallback_entity, syms_of_nsfont): Convert to ANSI C
215 prototypes.
216
217 * nsfns.m (have_menus_p, ns_display_info_for_name)
218 (x_set_cursor_type, ns_appkit_version_str)
219 (ns_appkit_version_int, ns_do_applescript)
220 (x_set_scroll_bar_default_width, x_sync, compute_tip_xy)
221 (syms_of_nsfns): Convert to ANSI C prototypes.
222
223 * menu.h (x_set_menu_bar_line): Declare.
224 (free_menubar_widget_value_tree et.al): Add HAVE_NS for these functions.
225
226 * lisp.h (fmod_float): Declare.
227
228 * image.c (xpm_scan, xpm_make_color_table_v)
229 (xpm_put_color_table_v, xpm_get_color_table_v)
230 (xpm_make_color_table_h, xpm_put_color_table_h)
231 (xpm_get_color_table_h, xpm_str_to_color_key, xpm_load_image)
232 (xpm_load): Convert to ANSI C prototypes.
233
234 * emacs.c: Include nsterm.h if HAVE_NS.
235
236 * bidi.c (bidi_dump_cached_states): Fix fprintf warning.
237
1 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu> 238 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
2 239
3 * process.c: Remove HAVE_SOCKETS #ifdefs inside #ifdef 240 * process.c: Remove HAVE_SOCKETS #ifdefs inside #ifdef
4 subprocesses, only MSDOS does not define HAVE_SOCKETS. 241 subprocesses, only MSDOS does not define HAVE_SOCKETS.
5 (socket_options): Use const char* for name. 242 (socket_options): Use const char* for name.
233 (xg_pack_tool_bar): POS is a new parameter. 470 (xg_pack_tool_bar): POS is a new parameter.
234 Set orientation of tool bar based on pos. 471 Set orientation of tool bar based on pos.
235 Only make handlebox_widget if NULL. 472 Only make handlebox_widget if NULL.
236 Check if tool bar goes to vbox or hbox depending on pos. 473 Check if tool bar goes to vbox or hbox depending on pos.
237 (xg_update_tool_bar_sizes): New function. 474 (xg_update_tool_bar_sizes): New function.
238 (update_frame_tool_bar): Remove old_req, new_req. Do not get tool bar 475 (update_frame_tool_bar): Remove old_req, new_req. Do not get tool bar
239 height, call xg_update_tool_bar_sizes instead. 476 height, call xg_update_tool_bar_sizes instead.
240 (free_frame_tool_bar): Remove from hbox or vbox depending on 477 (free_frame_tool_bar): Remove from hbox or vbox depending on
241 toolbar_in_hbox, Set all FRAME_TOOLBAR_*_(WIDTH|HEIGHT) to zero. 478 toolbar_in_hbox, Set all FRAME_TOOLBAR_*_(WIDTH|HEIGHT) to zero.
242 (xg_change_toolbar_position): New function. 479 (xg_change_toolbar_position): New function.
243 480
411 (x_defined_color, xic_set_xfontset): Use const. 648 (x_defined_color, xic_set_xfontset): Use const.
412 (Fx_hide_tip): Remove local extern declaration. 649 (Fx_hide_tip): Remove local extern declaration.
413 650
414 * xfaces.c (Qmouse_face): Remove declaration. 651 * xfaces.c (Qmouse_face): Remove declaration.
415 (face_color_gray_p, tty_defined_color, defined_color) 652 (face_color_gray_p, tty_defined_color, defined_color)
416 (face_color_gray_p, face_color_supported_p). Add const. 653 (face_color_gray_p, face_color_supported_p): Add const.
417 654
418 * xdisp.c (do_mouse_tracking): Remove declaration. 655 * xdisp.c (do_mouse_tracking): Remove declaration.
419 (add_to_log): Use const. 656 (add_to_log): Use const.
420 657
421 * minibuf.c (Qmouse_face): Remove declaration. 658 * minibuf.c (Qmouse_face): Remove declaration.
3813 (Ffont_get_system_normal_font, xsettings_get_system_normal_font): 4050 (Ffont_get_system_normal_font, xsettings_get_system_normal_font):
3814 New functions. 4051 New functions.
3815 (syms_of_xsettings): Initialize current_font. 4052 (syms_of_xsettings): Initialize current_font.
3816 defsubr Sfont_get_system_normal_font. 4053 defsubr Sfont_get_system_normal_font.
3817 4054
3818 * xsettings.h (Ffont_get_system_normal_font, 4055 * xsettings.h (Ffont_get_system_normal_font)
3819 xsettings_get_system_normal_font): Declare. 4056 (xsettings_get_system_normal_font): Declare.
3820 4057
3821 * xfns.c (extern xlwmenu_default_font): Remove. 4058 * xfns.c (extern xlwmenu_default_font): Remove.
3822 (Fx_create_frame): Remove setting of xlwmenu_default_font, moved 4059 (Fx_create_frame): Remove setting of xlwmenu_default_font, moved
3823 to xlwmenu.c. 4060 to xlwmenu.c.
3824 4061
5616 any more. 5853 any more.
5617 (Ftype_of): Use case_Lisp_Int. 5854 (Ftype_of): Use case_Lisp_Int.
5618 (store_symval_forwarding): Take into account the fact that Ints can 5855 (store_symval_forwarding): Take into account the fact that Ints can
5619 now have more than one tag. 5856 now have more than one tag.
5620 * buffer.c (syms_of_buffer): Use LISP_INT_TAG. 5857 * buffer.c (syms_of_buffer): Use LISP_INT_TAG.
5621 buffer_slot_type_mismatch): 5858 (buffer_slot_type_mismatch):
5622 * xfaces.c (face_attr_equal_p): 5859 * xfaces.c (face_attr_equal_p):
5623 * print.c (print_object): 5860 * print.c (print_object):
5624 * alloc.c (mark_maybe_object, mark_object, survives_gc_p): 5861 * alloc.c (mark_maybe_object, mark_object, survives_gc_p):
5625 Use case_Lisp_Int. 5862 Use case_Lisp_Int.
5626 5863