| 1 | 2003-02-23 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@uni-duisburg.de> |
| 2 | |
| 3 | * dired.c (directory_files_internal): Don't expand directory. |
| 4 | (Fdirectory_files, Fdirectory_files_and_attributes): Do it here |
| 5 | instead. From Lars Hansen <larsh@math.ku.dk>. |
| 6 | |
| 7 | 2003-02-22 Stefan Monnier <monnier@cs.yale.edu> |
| 8 | |
| 9 | * fns.c (string_to_multibyte): Remove unused var i. |
| 10 | (Flanginfo): Fix int/Lisp_Object mixup. |
| 11 | (void_call2): New fun. |
| 12 | (Fmap_char_table): Use it in place of call2. |
| 13 | |
| 14 | * xfaces.c (x_face_list_fonts): Fix int/Lisp_Object mixup. |
| 15 | |
| 16 | * macros.c (Fstart_kbd_macro): Remove redundant assignment. |
| 17 | |
| 18 | * keymap.c (copy_keymap_1): Make it static. |
| 19 | |
| 20 | * alloc.c (Fgarbage_collect): Don't use XSETFLOAT. |
| 21 | |
| 22 | 2003-02-22 David Ponce <david@dponce.com> |
| 23 | |
| 24 | * lread.c (Fload): Don't check STRING_MULTIBYTE. |
| 25 | |
| 26 | 2003-02-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
| 27 | |
| 28 | * process.h: Removed subtty field from struct Lisp_Process. |
| 29 | |
| 30 | * process.c (create_process): Remove setting of subtty. |
| 31 | (emacs_get_tty_pgrp): New function. |
| 32 | (Fprocess_running_child_p, process_send_signal): |
| 33 | Call emacs_get_tty_pgrp instead of ioctl. |
| 34 | (process_send_signal): Call EMACS_KILLPG if ioctl TIOCSIGSEND fails. |
| 35 | |
| 36 | 2003-02-21 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@uni-duisburg.de> |
| 37 | |
| 38 | * keymap.c (Fdefine_key): Doc fix. |
| 39 | |
| 40 | 2003-02-21 Juanma Barranquero <lektu@terra.es> |
| 41 | |
| 42 | Port of patch for RC by Klaus Zeitler <kzeitler@lucent.com>. |
| 43 | |
| 44 | * s/hpux10.h: Define POLL_INTERRUPTED_SYS_CALL, not |
| 45 | POLLING_PROBLEM_IN_SELECT. |
| 46 | |
| 47 | * s/hpux11.h: Include hpux10-20.h instead of hpux10.h. |
| 48 | Delete #undef of POLLING_PROBLEM_IN_SELECT. |
| 49 | |
| 50 | * s/hpux10-20.h: New file. |
| 51 | |
| 52 | * process.c (wait_reading_process_input): |
| 53 | Use POLL_INTERRUPTED_SYS_CALL, not POLLING_PROBLEM_IN_SELECT. |
| 54 | |
| 55 | 2003-02-20 Kenichi Handa <handa@m17n.org> |
| 56 | |
| 57 | * fontset.c (check_fontset_name): If NAME is nil, return the |
| 58 | default fontset. |
| 59 | (override_font_info): New function. |
| 60 | (Fset_fontset_font): Document that NAME nil means the default fontset. |
| 61 | (Ffontset_info): If FONTSET is not the default fontset, merge |
| 62 | FONTSET onto the copy of the default fontset, and work on that |
| 63 | copy. Document that NAME nil means the default fontset. |
| 64 | (Ffontset_font): Document that NAME nil means the default fontset. |
| 65 | |
| 66 | * process.c (setup_process_coding_systems): If the process's |
| 67 | in/out descriptor is -1, do nothing. |
| 68 | |
| 69 | 2003-02-19 Andreas Schwab <schwab@suse.de> |
| 70 | |
| 71 | * lisp.h (Fcancel_kbd_macro_events, Fstring_to_multibyte): |
| 72 | Add prototypes. |
| 73 | |
| 74 | 2003-02-19 Kenichi Handa <handa@m17n.org> |
| 75 | |
| 76 | * xfaces.c (try_alternative_families): Try all scalable fonts if |
| 77 | Vscalable_fonts_allowed is not Qt. |
| 78 | |
| 79 | 2003-02-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
| 80 | |
| 81 | * xfaces.c (x_face_list_fonts): Set *pfonts to 0 if no fonts found. |
| 82 | |
| 83 | 2003-02-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
| 84 | |
| 85 | * xterm.c (x_list_fonts): If maxnames is less than 0, get all font |
| 86 | names. |
| 87 | |
| 88 | * xfaces.c (x_face_list_fonts): Allocate struct font_name here. |
| 89 | (sorted_font_list): Move allocation of struct font_name to |
| 90 | x_face_list_fonts. |
| 91 | (Fx_font_family_list): Set font-list-limit to -1 to get all font names. |
| 92 | (Fx_list_fonts): Set maxnames to -1 to get all font names. |
| 93 | |
| 94 | 2003-02-18 Kim F. Storm <storm@cua.dk> |
| 95 | |
| 96 | * lread.c (read1): Fix last change. |
| 97 | "`" is not always special. Allow "?" after a character constant. |
| 98 | |
| 99 | 2003-02-18 Andrew Choi <akochoi@shaw.ca> |
| 100 | |
| 101 | * unexmacosx.c (copy_data_segment): Also copy __cfstring section. |
| 102 | |
| 103 | 2003-02-18 Andreas Schwab <schwab@suse.de> |
| 104 | |
| 105 | * window.c (window_scroll_pixel_based): Move outside a |
| 106 | multi-glyph character before setting new window start. |
| 107 | |
| 108 | * xdisp.c (in_display_vector_p): New function. |
| 109 | * dispextern.h (in_display_vector_p): Declare. |
| 110 | |
| 111 | 2003-02-18 Kim F. Storm <storm@cua.dk> |
| 112 | |
| 113 | * lread.c (read1): Fix and relax read syntax. |
| 114 | Recognize "[", ";", "#", and "?" after a dotted-pair dot. |
| 115 | Only recognize "," after dotted-pair dot if inside backquote. |
| 116 | Never include "`" or "," (inside backquote) in a symbol. |
| 117 | Allow dotted-pair dot after a character constant. |
| 118 | Allow "`" and "," (inside backquote) after a character constant. |
| 119 | |
| 120 | 2003-02-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
| 121 | |
| 122 | * gtkutil.c (xg_tool_bar_expose_callback): New function. |
| 123 | (xg_create_tool_bar): Force style of tool bar to be horizontal with |
| 124 | icons. Set name of tool bar to emacs-toolbar. |
| 125 | (update_frame_tool_bar): Connect expose event to |
| 126 | xg_tool_bar_expose_callback. |
| 127 | |
| 128 | 2003-02-17 Richard M. Stallman <rms@gnu.org> |
| 129 | |
| 130 | * keyboard.c (this_command_key_count_reset): New variable. |
| 131 | Initiatize to 0 where this_command_key_count is set. |
| 132 | (read_char): Save and restore this_command_key_count_reset |
| 133 | around input method code. |
| 134 | (read_char): If this_command_key_count_reset, echo reread commands. |
| 135 | (Freset_this_command_lengths): Set this_command_key_count_reset to 1. |
| 136 | |
| 137 | 2003-02-17 Kenichi Handa <handa@m17n.org> |
| 138 | |
| 139 | * fns.c (string_to_multibyte): Always return a multibyte string. |
| 140 | |
| 141 | 2003-02-16 Jason Rumney <jasonr@gnu.org> |
| 142 | |
| 143 | * w32fns.c (w32_list_bdf_fonts, w32_list_fonts): |
| 144 | Negative max_fonts parameter means list all. |
| 145 | |
| 146 | 2003-02-14 Dave Love <fx@gnu.org> |
| 147 | |
| 148 | * fns.c (Flanginfo): Doc fix. |
| 149 | |
| 150 | 2003-02-13 Kim F. Storm <storm@cua.dk> |
| 151 | |
| 152 | * lread.c (read_escape): Interpret \s as a SPACE character, except |
| 153 | for \s-X in a character constant which still is the super modifier. |
| 154 | (read1): Signal an `invalid read syntax' error if a character |
| 155 | constant is immediately followed by a digit or symbol character. |
| 156 | |
| 157 | * search.c (Fmatch_data): Doc fix. Explicitly state that |
| 158 | match-data is undefined if last search failed. |
| 159 | |
| 160 | * keymap.c (Fcommand_remapping): Renamed from Fremap_command. |
| 161 | All uses changed. |
| 162 | |
| 163 | 2003-02-12 Juanma Barranquero <lektu@terra.es> |
| 164 | |
| 165 | * eval.c (Fdefmacro): Fix typo. |
| 166 | |
| 167 | 2003-02-12 Kim F. Storm <storm@cua.dk> |
| 168 | |
| 169 | * macros.c (Fstart_kbd_macro): If appending, and last keyboard |
| 170 | macro is a string, convert meta modifiers in string when copying |
| 171 | the string into a vector. |
| 172 | |
| 173 | 2003-02-11 Kim F. Storm <storm@cua.dk> |
| 174 | |
| 175 | * keymap.c (Fremap_command): Return nil if arg is not a symbol. |
| 176 | |
| 177 | 2003-02-11 Kenichi Handa <handa@m17n.org> |
| 178 | |
| 179 | * Makefile.in (lisp, shortlisp): Add malayalam.el and tamil.el. |
| 180 | |
| 181 | 2003-02-10 Kim F. Storm <storm@cua.dk> |
| 182 | |
| 183 | * process.c: Doc fixes. |
| 184 | (syms_of_process): Add `:' prefix to QCfilter_multibyte. |
| 185 | |
| 186 | 2003-02-10 Kenichi Handa <handa@m17n.org> |
| 187 | |
| 188 | * fns.c (Fstring_to_multibyte): Fix typo in the docstring. |
| 189 | |
| 190 | * process.c (QCfilter_multibyte): New variable. |
| 191 | (setup_process_coding_systems): New function. |
| 192 | (Fset_process_buffer, Fset_process_filter): |
| 193 | Call setup_process_coding_systems. |
| 194 | (Fstart_process): Initialize the member `filter_multibyte' of |
| 195 | struct Lisp_Process. |
| 196 | (create_process): Call setup_process_coding_systems. |
| 197 | (Fmake_network_process): New keyward `:filter-multibyte'. |
| 198 | Initialize the member `filter_multibyte' of struct Lisp_Process. |
| 199 | Call setup_process_coding_systems. |
| 200 | (server_accept_connection): Call setup_process_coding_systems. |
| 201 | (read_process_output): If the process has a filter, decide the |
| 202 | multibyteness of a string to given to the filter by |
| 203 | `filter_multibyte' member of the process. If the process doesn't |
| 204 | have a filter and the result of conversion is unibyte, use |
| 205 | Fstring_to_multibyte (not Fstring_make_multibyte) to get the |
| 206 | multibyte form. |
| 207 | (Fset_process_coding_system): Call setup_process_coding_systems. |
| 208 | (Fset_process_filter_multibyte): New function. |
| 209 | (Fprocess_filter_multibyte_p): New function. |
| 210 | (syms_of_process): Intern and staticpro QCfilter_multibyte. |
| 211 | Defsubr Sset_process_filter_multibyte and |
| 212 | Sprocess_filter_multibyte_p. |
| 213 | |
| 214 | * process.h (struct Lisp_Process): New member filter_multibyte. |
| 215 | |
| 216 | * lisp.h (setup_process_coding_systems): Add prototype. |
| 217 | |
| 218 | * buffer.c (Fset_buffer_multibyte): If the current buffer has a |
| 219 | process, update coding systems for the process. |
| 220 | |
| 221 | 2003-02-09 Kenichi Handa <handa@m17n.org> |
| 222 | |
| 223 | * fns.c (string_to_multibyte): New function. |
| 224 | (Fstring_to_multibyte): New function. |
| 225 | (syms_of_fns): Defsubr it. |
| 226 | |
| 227 | 2003-02-08 Andreas Schwab <schwab@suse.de> |
| 228 | |
| 229 | * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable |
| 230 | instead of the substitution. |
| 231 | |
| 232 | 2003-02-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
| 233 | |
| 234 | * xterm.c (x_make_frame_visible): Call gtk_window_deiconify. |
| 235 | |
| 236 | * xmenu.c (menu_position_func): Adjust menu popup position so that |
| 237 | the menu is fully visible. |
| 238 | |
| 239 | 2003-02-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
| 240 | |
| 241 | * xterm.c (x_text_icon, x_raise_frame, x_lower_frame) |
| 242 | (x_make_frame_invisible, x_wm_set_icon_position): |
| 243 | Use FRAME_OUTER_WINDOW instead of ifdef X_TOOLKIT/else/endif. |
| 244 | |
| 245 | * xfns.c (x_set_name, x_set_title): Ditto. |
| 246 | |
| 247 | 2003-02-04 Richard M. Stallman <rms@gnu.org> |
| 248 | |
| 249 | * keyboard.c (echo_now): Update before_command_echo_length. |
| 250 | (Freset_this_command_lengths): Reset this_command_key_count etc. |
| 251 | immediately rather than arranging to do it later. |
| 252 | (before_command_key_count_1, before_command_echo_length_1) |
| 253 | (before_command_restore_flag): Vars deleted. |
| 254 | (add_command_key): Don't handle before_command_restore_flag. |
| 255 | (read_char, record_menu_key): Don't update before_command_key_count or |
| 256 | before_command_echo_length. |
| 257 | (read_char): Don't handle before_command_restore_flag. |
| 258 | |
| 259 | * keyboard.c (command_loop_1): Don't call adjust_point_for_property |
| 260 | in direct-output clauses if it wouldn't be called in the ordinary case. |
| 261 | |
| 262 | 2003-02-04 Kim F. Storm <storm@cua.dk> |
| 263 | |
| 264 | * keyboard.c (syms_of_keyboard) <this-original-command>: Doc fix. |
| 265 | |
| 266 | 2003-02-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
| 267 | |
| 268 | * gtkutil.c (remove_from_container): Copying list is not needed. |
| 269 | (xg_update_menubar, xg_update_menu_item, xg_update_submenu) |
| 270 | (xg_modify_menubar_widgets, update_frame_tool_bar): Call g_list_free |
| 271 | on list returned from gtk_container_get_children to avoid memory leak. |
| 272 | |
| 273 | 2003-02-01 Jason Rumney <jasonr@gnu.org> |
| 274 | |
| 275 | * w32fns.c (w32_create_pixmap_from_bitmap_data): Use alloca for |
| 276 | local malloc. |
| 277 | [HAVE_XPM]: Avoid clashes with XColor, XImage and Pixel |
| 278 | definitions in xpm.h. |
| 279 | (init_xpm_functions): New function. |
| 280 | (xpm_load): Sync with xfns.c. Adapt for Windows version of libXpm. |
| 281 | (init_external_image_libraries): Try to load libXpm.dll. |
| 282 | |
| 283 | * fileio.c (Fcopy_file) [WINDOWSNT]: Reverse logic for setting |
| 284 | timestamp. |
| 285 | |
| 286 | 2003-01-31 Dave Love <fx@gnu.org> |
| 287 | |
| 288 | * syntax.c (Fskip_chars_forward) |
| 289 | (open-paren-in-column-0-is-defun-start): Doc fix. |
| 290 | |
| 291 | 2003-01-31 Joe Buehler <jhpb@draco.hekimian.com> |
| 292 | |
| 293 | * fileio.c: Support // at start of name for Cygwin (just added proper |
| 294 | preprocessor tests). |
| 295 | |
| 296 | * keyboard.c: Port to Cygwin (just added proper preprocessor tests). |
| 297 | |
| 298 | * Makefile.in: Use @EXEEXT@ for Cygwin. |
| 299 | |
| 300 | * mem-limits.h: Added ifdef to define BSD4_2 for Cygwin. |
| 301 | |
| 302 | * s/cygwin.h: Added for Cygwin port. |
| 303 | |
| 304 | 2003-01-31 Juanma Barranquero <lektu@terra.es> |
| 305 | |
| 306 | * w32fns.c (DrawText): Kludge to avoid a redefinition on Windows |
| 307 | when including gif_lib.h. |
| 308 | (init_gif_functions, init_tiff_functions): New functions. |
| 309 | (gif_load, tiff_load): Sync with xfns.c version. Adjust colors for |
| 310 | Windows. Disable color table lookups. Call library functions |
| 311 | through pointers determined at runtime. |
| 312 | (init_external_image_libraries): Try to load libungif.dll and |
| 313 | libtiff.dll. |
| 314 | |
| 315 | 2003-01-31 Kenichi Handa <handa@m17n.org> |
| 316 | |
| 317 | * xdisp.c (SKIP_GLYPHS): New macro. |
| 318 | (set_cursor_from_row): Skip all glyphs that comes from overlay string. |
| 319 | |
| 320 | 2003-01-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
| 321 | |
| 322 | * gtkutil.c (free_frame_tool_bar): Remove debug printf. |
| 323 | |
| 324 | 2003-01-30 Dave Love <fx@gnu.org> |
| 325 | |
| 326 | * alloc.c (Vgc_elapsed, gcs_done): New variables. |
| 327 | (Fgarbage_collect): Use them. |
| 328 | (init_alloc, syms_of_alloc): Set them up. |
| 329 | |
| 330 | 2003-01-30 Juanma Barranquero <lektu@terra.es> |
| 331 | |
| 332 | * w32fns.c (init_external_image_libraries): Add missing operator. |
| 333 | |
| 334 | 2003-01-29 Jason Rumney <jasonr@gnu.org> |
| 335 | |
| 336 | * w32fns.c (init_external_image_libraries): Allow jpeg-62.dll as |
| 337 | an alternative name for jpeg.dll. |
| 338 | |
| 339 | 2003-01-29 Kenichi Handa <handa@m17n.org> |
| 340 | |
| 341 | * xdisp.c (set_cursor_from_row): Pay attention to string display |
| 342 | properties. |
| 343 | |
| 344 | 2003-01-28 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> |
| 345 | |
| 346 | * macterm.c (keycode_to_xkeysym_table): Add <tab>, <backspace>, |
| 347 | <escape>. |
| 348 | (keycode_to_xkeysym_table): Reformat and add more comments. |
| 349 | (XTread_socket): Drop special case for backspace. |
| 350 | |
| 351 | 2003-01-28 Andrew Choi <akochoi@shaw.ca> |
| 352 | |
| 353 | * macfns.c (x_to_mac_color): Correct the order for parsing the RGB |
| 354 | values in old-style RGB specs. |
| 355 | |
| 356 | 2003-01-27 Juanma Barranquero <lektu@terra.es> |
| 357 | |
| 358 | * w32fns.c (init_external_image_libraries): Try alternate names for the |
| 359 | jpeg dll. |
| 360 | |
| 361 | 2003-01-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
| 362 | |
| 363 | * gtkutil.c (create_dialog, xg_separator_p) |
| 364 | (xg_item_label_same_p, xg_update_menu_item): Check for NULL string |
| 365 | before calling strcmp or strlen. |
| 366 | |
| 367 | 2003-01-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
| 368 | |
| 369 | * gtkutil.c (update_frame_tool_bar): Call prepare_image_for_display |
| 370 | and handle image load failure. |
| 371 | |
| 372 | 2003-01-26 Jason Rumney <jasonr@gnu.org> |
| 373 | |
| 374 | * w32fns.c (init_jpeg_functions, jpeg_resync_to_restart_wrapper): |
| 375 | New functions. |
| 376 | (jpeg_load): Sync with xfns.c version. Adjust colors for Windows. |
| 377 | Disable color table lookups. Call jpeg library functions |
| 378 | through pointers determined at runtime. |
| 379 | (init_external_image_libraries): Try to load jpeg.dll. |
| 380 | |
| 381 | 2003-01-25 Richard M. Stallman <rms@gnu.org> |
| 382 | |
| 383 | * lisp.h: Declare format2 instead of format1. |
| 384 | |
| 385 | * fileio.c (barf_or_query_if_file_exists): |
| 386 | Call format2 instead of format1. |
| 387 | |
| 388 | * editfns.c (format2): New function, replaces format1 |
| 389 | but takes exactly two Lisp Objects as format args. |
| 390 | |
| 391 | * buffer.c (Fkill_buffer): Call format2 instead of format1. |
| 392 | |
| 393 | 2003-01-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
| 394 | |
| 395 | * xterm.h: Change to return value of x_dispatch_event to int. |
| 396 | |
| 397 | * xterm.c (x_filter_event): New function. |
| 398 | (event_handler_gdk, XTread_socket): Call x_filter_event. |
| 399 | (x_dispatch_event): Change to return value of finish. |
| 400 | (event_handler_gdk): Use return value from x_dispatch_event. |
| 401 | |
| 402 | * xfns.c (x_window): Call create_frame_xic for GTK version to |
| 403 | initialize input methods. |
| 404 | |
| 405 | * gtkutil.h: Add (void) prototypes. |
| 406 | |
| 407 | * gtkutil.c (create_menus): Remove code that puts the help menu to |
| 408 | the right. |
| 409 | |
| 410 | 2003-01-25 Jason Rumney <jasonr@gnu.org> |
| 411 | |
| 412 | * w32fns.c (XPutPixel): Handle monochrome images; used for masks. |
| 413 | [HAVE_PNG]: Sync with xfns.c version. |
| 414 | (png_load): Adjust colors for Windows. Use Windows |
| 415 | bitmaps. Disable color table lookups. |
| 416 | (DEF_IMGLIB_FN, LOAD_IMGLIB_FN): New macros. |
| 417 | (init_png_functions): New function. |
| 418 | (png_read_from_memory, png_load): Call png library functions |
| 419 | through pointers determined at runtime. |
| 420 | (QCloader, QCbounding_box, QCpt_width, QCpt_height): Declare. |
| 421 | (init_external_image_libraries): New function. |
| 422 | (init_xfns): Call it. |
| 423 | |
| 424 | 2003-01-24 Andreas Schwab <schwab@suse.de> |
| 425 | |
| 426 | * minibuf.c (Fminibuffer_message): Verify type of parameter. |
| 427 | |
| 428 | 2003-01-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
| 429 | |
| 430 | * gtkutil.c (xg_initialize): Initialize id_to_widget here instead |
| 431 | of static initializer. |
| 432 | |
| 433 | 2003-01-24 Dave Love <fx@gnu.org> |
| 434 | |
| 435 | * s/gnu-linux.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define for more |
| 436 | architectures. |
| 437 | |
| 438 | * alloc.c (mark_stack) [!GC_LISP_OBJECT_ALIGNMENT && __GNUC__]: |
| 439 | Use __alignof__. |
| 440 | |
| 441 | 2003-01-24 Kenichi Handa <handa@m17n.org> |
| 442 | |
| 443 | * keyboard.c (adjust_point_for_property): New second arg MODIFIED. |
| 444 | It it is nonzero, don't pretend that an invisible area doesn't exist. |
| 445 | (command_loop_1): Call adjust_point_for_property with proper |
| 446 | second arg. |
| 447 | |
| 448 | 2003-01-22 Jason Rumney <jasonr@gnu.org> |
| 449 | |
| 450 | Sync changes with xterm.c and xfns.c. |
| 451 | |
| 452 | * w32term.c (x_draw_glyph_string_foreground) |
| 453 | (x_draw_composite_glyph_string_foreground): Implement overstriking. |
| 454 | |
| 455 | * w32term.c (x_write_glyphs): Clear phys_cursor_on_p if current |
| 456 | phys_cursor's hpos is overwritten. This is still not completely |
| 457 | correct, as it doesn't really make sense to use hpos at all to |
| 458 | get the cursor glyph (as that is relative to the width of the |
| 459 | characters on the line, which may have changed during the update). |
| 460 | |
| 461 | * w32term.c (notice_overwritten_cursor): Handle the special case |
| 462 | of the cursor being in the first blank non-text line at the |
| 463 | end of a window. |
| 464 | |
| 465 | * w32term.c (x_draw_hollow_cursor, x_draw_bar_cursor) |
| 466 | (x_draw_phys_cursor_glyph): Set phys_cursor_width here. |
| 467 | Compute from the x position returned by x_draw_glyphs. |
| 468 | |
| 469 | (x_display_and_set_cursor): Don't set phys_cursor_width here, |
| 470 | except for NO_CURSOR and system caret, to make phys_cursor_width |
| 471 | contain what its name suggests. |
| 472 | (notice_overwritten_cursor): Consider the cursor image erased if |
| 473 | the output area intersects the cursor image in y-direction. |
| 474 | |
| 475 | * w32term.c (note_mode_line_or_margin_highlight): Renamed from |
| 476 | note_mode_line_highlight and extended. |
| 477 | |
| 478 | * w32term.c (last_window): New variable. |
| 479 | (w32_read_socket) <WM_MOUSEMOVE>: Generate SELECT_WINDOW_EVENTs. |
| 480 | (note_mouse_movement): Remove reimplemented code in #if 0. |
| 481 | |
| 482 | * w32fns.c (x_set_cursor_type): Set cursor_type_changed, |
| 483 | not update_mode_lines, and always set it to 1. |
| 484 | |
| 485 | 2003-01-21 Jason Rumney <jasonr@gnu.org> |
| 486 | |
| 487 | * w32fns.c (IDC_HAND): Define it if system headers don't. |
| 488 | |
| 489 | 2003-01-21 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> |
| 490 | |
| 491 | * w32term.h (struct w32_output): New member hand_cursor. |
| 492 | (WM_EMACS_SETCURSOR): New message definition. |
| 493 | |
| 494 | * w32term.c (note_mode_line_highlight): Delete #if 0 to enable |
| 495 | function w32_define_cursor. |
| 496 | (note_mouse_highlight): Initialize, setup cursor accoding to mouse |
| 497 | position, change member name output_data.x to output_data.w32 and |
| 498 | add function w32_define_cursor. |
| 499 | (show_mouse_face): Delete #if 0 to enable function w32_define_cursor |
| 500 | and change member name output_data.x to output_data.w32. |
| 501 | (w32_initialize_display_info): |
| 502 | Setup dpyinfo->vertical_scroll_bar_cursor. |
| 503 | |
| 504 | * w32fns.c (Vx_hand_shape): New variable. |
| 505 | (w32_wnd_proc): Add message entries for WM_SETCURSOR and |
| 506 | WM_EMACS_SETCURSOR. |
| 507 | (x-create-frame): Setup Cursor types. |
| 508 | |
| 509 | 2003-01-21 David Ponce <david@dponce.com> |
| 510 | |
| 511 | * w32term.c (w32_encode_char): For DIM=1 charset, set |
| 512 | ccl->reg[2] to -1 before calling ccl_driver. (Sync. with xterm.c |
| 513 | x_encode_char change by Kenichi Handa <handa@m17n.org> on |
| 514 | 2002-09-30.) |
| 515 | (w32_draw_relief_rect): Declare all args. |
| 516 | (w32_define_cursor): New. |
| 517 | |
| 518 | * w32fns.c (w32_load_cursor): New function. |
| 519 | (w32_init_class): Use it. |
| 520 | (x_put_x_image): Declare all args. |
| 521 | |
| 522 | 2003-01-21 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change) |
| 523 | |
| 524 | * Makefile.in (ALL_CFLAGS): Include MYCPPFLAGS, not MYCPPFLAG. |
| 525 | |
| 526 | 2003-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
| 527 | |
| 528 | * gtkutil.c: Must include stdio.h before termhooks.h |
| 529 | |
| 530 | 2003-01-21 Dave Love <fx@gnu.org> |
| 531 | |
| 532 | * alloc.c (Fgc_status): Print zombie list. |
| 533 | (mark_maybe_object) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]: |
| 534 | Fix assignment of zombies. |
| 535 | (Fgarbage_collect) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]: |
| 536 | Don't take car of non-cons. |
| 537 | |
| 538 | * s/sol2-5.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. |
| 539 | |
| 540 | * s/sunos4-0.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. |
| 541 | |
| 542 | 2003-01-20 David Ponce <david@dponce.com> |
| 543 | |
| 544 | * w32menu.c (digest_single_submenu): Declare all args. |
| 545 | |
| 546 | Sync with 2002-12-23 Richard M. Stallman <rms@gnu.org> |
| 547 | changes in xmenu.c: |
| 548 | |
| 549 | (parse_single_submenu): Use individual keymap's prompt |
| 550 | string as pane name, if there is one. |
| 551 | (set_frame_menubar): Save menu_items_n_panes from each call to |
| 552 | parse_single_submenu and use it when calling digest_single_submenu. |
| 553 | |
| 554 | 2003-01-20 Steven Tamm <steventamm@mac.com> |
| 555 | |
| 556 | * macterm.c (XTread_socket): Checks for valid, visible window |
| 557 | before sending a scroll-wheel event. |
| 558 | |
| 559 | 2003-01-20 Richard M. Stallman <rms@gnu.org> |
| 560 | |
| 561 | * xdisp.c (redisplay_window): If mini window's buffer is not |
| 562 | a minibuffer, then redisplay it like other windows. |
| 563 | |
| 564 | 2003-01-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
| 565 | |
| 566 | * gtkutil.c (xg_create_frame_widgets): Check if there is an |
| 567 | external tool bar before setting tool bar height. |
| 568 | |
| 569 | 2003-01-19 Ja |
| 570 | |
| 571 | * w32fns.c (w32_defined_color): Adjust RGB values for Emacs. |
| 572 | (x_from_xcolors): Adjust RGB values for W32. |
| 573 | (image_background, image_background_transparent) |
| 574 | (postprocess_image, x_to_xcolors, x_disable_image) |
| 575 | (x_build_heuristic_mask): Adapt for W32 and enable. |
| 576 | (x_create_x_image_and_pixmap): Mark images with palettes as such. |
| 577 | (xbm_load): Remove unused variable. |
| 578 | |
| 579 | 2002-11-14 Richard M. Stallman <rms@gnu.org> |
| 580 | |
| 581 | * buffer.c (syms_of_buffer): Doc fix. |
| 582 | |
| 583 | 2002-11-14 Dave Love <fx@gnu.org> |
| 584 | |
| 585 | * alloc.c (SETJMP_WILL_NOT_WORK): Add note. |
| 586 | |
| 587 | * xterm.c (x_draw_relief_rect, x_draw_box_rect, x_update_cursor): |
| 588 | * xmenu.c (unuse_menu_items, digest_single_submenu): |
| 589 | * xfns.c (x_put_x_image): |
| 590 | * xdisp.c (message2_nolog, set_message): |
| 591 | * undo.c (record_point): |
| 592 | * terminfo.c (tparam): |
| 593 | * syntax.c (scan_sexps_forward): |
| 594 | * scroll.c (calculate_scrolling, calculate_direct_scrolling): |
| 595 | * composite.c (update_compositions): |
| 596 | * cm.c (calccost, cmgoto): |
| 597 | * charset.c (c_string_width): Declare all args (per C99). |
| 598 | |
| 599 | * frame.h (get_specified_cursor_type, get_window_cursor_type): Declare. |
| 600 | |
| 601 | * lisp.h (get_specified_cursor_type, get_window_cursor_type): |
| 602 | Don't declare. |
| 603 | |
| 604 | * emacs.c (main) [!VMS]: Avoid third arg. |
| 605 | |
| 606 | * fns.c (Fcopy_sequence): Doc fix. |
| 607 | (Fmap_char_table): Cast `call2'. |
| 608 | |
| 609 | 2002-11-14 Francesco Potorti` <pot@gnu.org> |
| 610 | |
| 611 | * s/sol2-8.h: New file. |
| 612 | |
| 613 | 2002-11-14 Kim F. Storm <storm@cua.dk> |
| 614 | |
| 615 | * buffer.c (syms_of_buffer) <mode-line-format>: Document symbol |
| 616 | dependency on `risky-local-variable' and the :propertize form. |
| 617 | |
| 618 | 2002-11-12 Stefan Monnier <monnier@cs.yale.edu> |
| 619 | |
| 620 | * fns.c (Fmap_char_table): Don't use map_char_table's function arg. |
| 621 | |
| 622 | * syntax.c (scan_sexps_forward): Undo last patch. |
| 623 | Use a more obvious fix: check eob before updating the syntax table. |
| 624 | |
| 625 | 2002-11-09 Stefan Monnier <monnier@cs.yale.edu> |
| 626 | |
| 627 | * syntax.c (scan_sexps_forward): Update syntax table before reading |
| 628 | a char rather than after so we don't update the table past eob. |
| 629 | |
| 630 | 2002-11-09 Dave Love <fx@gnu.org> |
| 631 | |
| 632 | * buffer.c (Fset_buffer_major_mode): Fix last change. |
| 633 | |
| 634 | * regex.c (regexec): Fix pmatch declaration. |
| 635 | |
| 636 | * cmds.c (Fself_insert_command): Apply Vtranslation_table_for_input. |
| 637 | |
| 638 | * keyboard.c (command_loop_1): Apply Vtranslation_table_for_input |
| 639 | to self-inserting characters. |
| 640 | (syms_of_keyboard) <keyboard-translate-table>: Doc fix. |
| 641 | |
| 642 | * coding.c (Vtranslation_table_for_input): New. |
| 643 | (syms_of_coding): DEFVAR it. |
| 644 | |
| 645 | 2002-11-08 Juanma Barranquero <lektu@terra.es> |
| 646 | |
| 647 | * w32term.c (w32_draw_fringe_bitmap): Remove unused variable window. |
| 648 | |
| 649 | 2002-11-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 650 | |
| 651 | * process.c (Fformat_network_address): Remove unused locals p, |
| 652 | cp, and i. |
| 653 | |
| 654 | 2002-11-06 Dave Love <fx@gnu.org> |
| 655 | |
| 656 | * buffer.c (Qset_buffer_major_mode_hook): New. |
| 657 | (Fset_buffer_major_mode): Use it. |
| 658 | |
| 659 | 2002-11-06 Richard M. Stallman <rms@gnu.org> |
| 660 | |
| 661 | * xterm.c (x_term_init): Use turn_on_atimers, not start_polling |
| 662 | and stop_polling. |
| 663 | |
| 664 | * process.c (wait_reading_process_input): |
| 665 | Test POLLING_PROBLEM_IN_SELECT, not hpux. |
| 666 | Avoid initialization for auto Lisp_Object var. |
| 667 | |
| 668 | * s/hpux11.h (POLLING_PROBLEM_IN_SELECT): Add #undef. |
| 669 | |
| 670 | * s/hpux10.h (POLLING_PROBLEM_IN_SELECT): Defined. |
| 671 | |
| 672 | 2002-11-05 Richard M. Stallman <rms@gnu.org> |
| 673 | |
| 674 | * s/sol2-5.h (BROKEN_SIGIO): Turn off the #undef. |
| 675 | |
| 676 | * callint.c (Fcall_interactively): New local filter_specs. |
| 677 | (Fcall_interactively): Check for progn as well as let. |
| 678 | Add a gcpro. |
| 679 | (Qprogn): New variable. |
| 680 | (syms_of_callint): Staticpro and init Qprogn. |
| 681 | |
| 682 | 2002-11-04 John Paul Wallington <jpw@shootybangbang.com> |
| 683 | |
| 684 | * lread.c (Feval_buffer): Doc fix. |
| 685 | |
| 686 | 2002-11-04 Dave Love <fx@gnu.org> |
| 687 | |
| 688 | * keyboard.c (read_char): Always translate iff |
| 689 | Vkeyboard_translate_table is a char table and c is valid. |
| 690 | |
| 691 | * xterm.c (XTread_socket): Check Lisp types for Vx_keysym_table |
| 692 | and fix C types. |
| 693 | |
| 694 | 2002-11-03 Stefan Monnier <monnier@cs.yale.edu> |
| 695 | |
| 696 | * xdisp.c (single_display_prop_intangible_p): Strings are intangible. |
| 697 | |
| 698 | * editfns.c (get_pos_property): Don't hardcode Qfield. |
| 699 | |
| 700 | * keyboard.c (adjust_point_for_property): Handle `display' prop on |
| 701 | overlays. Also handle `invisible' prop. |
| 702 | |
| 703 | 2002-11-02 Stefan Monnier <monnier@cs.yale.edu> |
| 704 | |
| 705 | * coding.c (decode_coding_emacs_mule, decode_coding_iso2022) |
| 706 | (decode_coding_sjis_big5, decode_eol): Allow lone \r in DOS EOL. |
| 707 | |
| 708 | 2002-11-01 Andreas Schwab <schwab@suse.de> |
| 709 | |
| 710 | * editfns.c (Fmessage): Revert last change to properly handle %%. |
| 711 | |
| 712 | 2002-11-01 Stefan Monnier <monnier@cs.yale.edu> |
| 713 | |
| 714 | * xmenu.c (unuse_menu_items): New fun. |
| 715 | (menu_items_inuse): New var. |
| 716 | (syms_of_xmenu): Initialize it. |
| 717 | (init_menu_items): Use it to detect re-entrance. |
| 718 | (Fx_popup_menu, Fx_popup_dialog, set_frame_menubar): Reset when done. |
| 719 | (Fx_popup_menu): Remove spurious XSETFRAME. |
| 720 | |
| 721 | * editfns.c (find_field): Make an exception for nil fields. |
| 722 | |
| 723 | 2002-11-01 Dave Love <fx@gnu.org> |
| 724 | |
| 725 | * m/gec63.h: Deleted. |
| 726 | |
| 727 | 2002-10-31 Dave Love <fx@gnu.org> |
| 728 | |
| 729 | * xterm.c (XTread_socket): Fix last change. |
| 730 | (xaw_scroll_callback): Cast call_data to long to avoid warning. |
| 731 | |
| 732 | 2002-10-31 Stefan Monnier <monnier@cs.yale.edu> |
| 733 | |
| 734 | * process.c (Fformat_network_address): Fix int/Lisp_Object mixup. |
| 735 | |
| 736 | 2002-10-30 Stefan Monnier <monnier@cs.yale.edu> |
| 737 | |
| 738 | * editfns.c (overlays_around, get_pos_property): New funs. |
| 739 | (find_field): Use them. |
| 740 | Also be careful not to modify POS before its last use. |
| 741 | (Fmessage): Don't Fformat if there's nothing to format. |
| 742 | |
| 743 | 2002-10-30 Dave Love <fx@gnu.org> |
| 744 | |
| 745 | * process.c [HAVE_SYS_WAIT]: Include sys/wait.h. |
| 746 | [HAVE_PTY_H]; Include pty.h. |
| 747 | |
| 748 | * lread.c (Fload) <!load_dangerous_libraries>: Close fd. |
| 749 | |
| 750 | * xterm.c (Qeql): Declare. |
| 751 | (Vx_keysym_table): New. |
| 752 | (syms_of_xterm): Initialize it. |
| 753 | (XTread_socket): Use it. Deal with ASCII keysyms. |
| 754 | (XSetIMValues) [HAVE_X11R6]: Prototype. |
| 755 | |
| 756 | * keyboard.c (lispy_accent_codes, lispy_accent_keys): Extended. |
| 757 | (lispy_kana_keys): Comment out. |
| 758 | (make_lispy_event) [XK_kana_A]: Comment out. |
| 759 | (modify_event_symbol) <sizeof (long) == sizeof (EMACS_INT)>: |
| 760 | Fix sprintf call. |
| 761 | |
| 762 | * s/osf5-0.h (C_SWITCH_SYSTEM): Revert last change (fixed by |
| 763 | regexp.h change). |
| 764 | (TERMINFO, LIBS_TERMCAP): Define. |
| 765 | |
| 766 | * s/usg5-4.h (bcopy, bzero): Define conditional on HAVE_BCOPY. |
| 767 | (bcmp): Define conditional on HAVE_BCMP. |
| 768 | (NO_SIOCTL_H): Don't define. |
| 769 | (TIOCSIGSEND): Don't make conditional on IRIX6. |
| 770 | |
| 771 | * s/sol2-5.h: Don't include strings.h. |
| 772 | (bcopy, bzero, bcmp) [HAVE_BCOPY]: Don't undef. |
| 773 | |
| 774 | * s/irix6-0.h (IRIX6): Don't define. |
| 775 | (bcopy, bcmp, bzero): Don't undef. |
| 776 | |
| 777 | * s/irix6-5.h: Don't include strings.h. |
| 778 | (IRIX6): Don't define. |
| 779 | (bcopy, bcmp, bzero): Don't undef. |
| 780 | |
| 781 | * syntax.c (Fforward_comment): Doc fix. |
| 782 | |
| 783 | 2002-10-29 Kim F. Storm <storm@cua.dk> |
| 784 | |
| 785 | * process.c (Fsignal_process): Allow PROCESS to be specified by |
| 786 | name in addition to pid (as integer or string). |
| 787 | |
| 788 | 2002-10-28 Harald Maier <Harald.Maier.BW@t-online.de> (tiny change) |
| 789 | |
| 790 | * w32heap.c: Don't redefine _heap_init and _heap_term on MSVC 7 build |
| 791 | environments. |
| 792 | |
| 793 | 2002-10-27 Kim F. Storm <storm@cua.dk> |
| 794 | |
| 795 | * xterm.c (note_mouse_highlight): Don't use mouse-face if hidden. |
| 796 | |
| 797 | * w32term.c (note_mouse_highlight): Don't use mouse-face if hidden. |
| 798 | |
| 799 | * msdos.c (IT_note_mouse_highlight): Don't use mouse-face if hidden. |
| 800 | |
| 801 | * macterm.c (note_mouse_highlight): Don't use mouse-face if hidden. |
| 802 | |
| 803 | 2002-10-26 Richard M. Stallman <rms@gnu.org> |
| 804 | |
| 805 | * editfns.c (Fformat): Detect invalid format letters for floats. |
| 806 | |
| 807 | 2002-10-25 Kenichi Handa <handa@m17n.org> |
| 808 | |
| 809 | * xfns.c (x_set_name): Encode by Qcompound_text unconditionally. |
| 810 | (x_set_title): Likewise. |
| 811 | |
| 812 | 2002-10-25 Juanma Barranquero <lektu@terra.es> |
| 813 | |
| 814 | * macgui.h: |
| 815 | * w32gui.h: Remove definition of XColor. |
| 816 | |
| 817 | * dispextern.h [!HAVE_X_WINDOWS]: Define XColor. |
| 818 | |
| 819 | 2002-10-24 Kim F. Storm <storm@cua.dk> |
| 820 | |
| 821 | * xdisp.c (get_window_cursor_type): New arg ACTIVE_CURSOR. |
| 822 | Callers changed (supply dummy arg). |
| 823 | |
| 824 | * lisp.h (get_window_cursor_type): Update prototype. |
| 825 | |
| 826 | * w32term.c (x_display_and_set_cursor): Get active_cursor from |
| 827 | get_window_cursor_type to track system caret. |
| 828 | |
| 829 | 2002-10-24 Kim F. Storm <storm@cua.dk> |
| 830 | |
| 831 | * process.c (Fformat_network_address): New function. |
| 832 | (syms_of_process): Defsubr it. |
| 833 | (list_processes_1): Use it to format :local/:remote address if |
| 834 | service/host is not set; before emacs would crash in that case. |
| 835 | (Fmake_network_process): Don't use Ffind_operation_coding_system |
| 836 | to setup coding system if host or service is not set. |
| 837 | |
| 838 | 2002-10-23 Juanma Barranquero <lektu@terra.es> |
| 839 | |
| 840 | Patch suggested by Jay Finger <jay_finger@hotmail.com>. |
| 841 | |
| 842 | * w32term.c (w32_term_init): Pass XColor to w32_define_color, not |
| 843 | COLORREF. |
| 844 | |
| 845 | * macgui.h: |
| 846 | * w32gui.h: Add definition of XColor. |
| 847 | |
| 848 | * macfns.c: |
| 849 | * w32fns.c: |
| 850 | * xfaces.c: Remove definition of XColor. |
| 851 | |
| 852 | 2002-10-22 Stefan Monnier <monnier@cs.yale.edu> |
| 853 | |
| 854 | * xfns.c (x_set_name, x_set_title): `icon.value' has unsigned char. |
| 855 | |
| 856 | * window.c (window_loop): For GET_LRU_WINDOW and GET_LARGEST_WINDOW>, |
| 857 | Only ignore truly dedicated windows. For UNSHOW_BUFFER, delete the |
| 858 | window if it is dedicated. |
| 859 | (Fshrink_window): Add preserve_before as was done for enlarge_window. |
| 860 | (Vspecial_display_function): Update docstring. |
| 861 | |
| 862 | * buffer.c (assoc_ignore_text_properties, Fother_buffer, Fkill_buffer) |
| 863 | (call_overlay_mod_hooks): Use CONSP and XCAR/XCDR. |
| 864 | (Fget_buffer_create, advance_to_char_boundary): Use BEG and BEG_BYTE; |
| 865 | |
| 866 | 2002-10-21 Stefan Monnier <monnier@cs.yale.edu> |
| 867 | |
| 868 | * casefiddle.c (casify_region): Don't treat a prefix char as part |
| 869 | of a word when at the beginning. |
| 870 | |
| 871 | 2002-10-17 Juanma Barranquero <lektu@terra.es> |
| 872 | |
| 873 | * lread.c (syms_of_lread): Fix typos. |
| 874 | |
| 875 | 2002-10-17 Dave Love <fx@gnu.org> |
| 876 | |
| 877 | * Makefile.in (TEMACS_LDFLAGS): Add trailing comment. |
| 878 | |
| 879 | 2002-10-16 Richard M. Stallman <rms@gnu.org> |
| 880 | |
| 881 | * fileio.c (Fcopy_file): Fix backward test of KEEP_TIME. |
| 882 | |
| 883 | 2002-10-14 Juanma Barranquero <lektu@terra.es> |
| 884 | |
| 885 | * w16select.c (syms_of_win16select): Fix docstring for |
| 886 | `selection-coding-system'. |
| 887 | |
| 888 | * w32select.c (syms_of_w32select): Likewise. |
| 889 | |
| 890 | 2002-10-14 Stefan Monnier <monnier@cs.yale.edu> |
| 891 | |
| 892 | * syntax.c (scan_lists): Don't get fooled by a symbol ending with |
| 893 | a backslash-quoted char. |
| 894 | (scan_lists, scan_sexps_forward): Pacify the compiler. |
| 895 | |
| 896 | 2002-10-13 Richard M. Stallman <rms@gnu.org> |
| 897 | |
| 898 | * window.c (window_scroll): Set immediate_quit. |
| 899 | |
| 900 | * print.c (print): When backquote form is the car of a list, |
| 901 | output in old style. Use old_backquote_output to output all |
| 902 | comma forms inside it in old style too. |
| 903 | |
| 904 | * buffer.h (struct buffer): Move `undo_list' down below `name'. |
| 905 | |
| 906 | 2002-10-11 Markus Rost <rost@math.ohio-state.edu> |
| 907 | |
| 908 | * emacs.c (syms_of_emacs) <kill-emacs-hook>: Doc fix (not run in |
| 909 | batch mode). |
| 910 | |
| 911 | * lread.c (Fload): Doc fix (load-suffixes). |
| 912 | |
| 913 | 2002-10-10 Steven Tamm <steventamm@mac.com> |
| 914 | |
| 915 | * macterm.c (syms_of_macterm, mac_get_mouse_btn): |
| 916 | Reverse functionality of mac-wheel-button-is-mouse-2 to be correct. |
| 917 | Also switch the default to Qnil from Qt. |
| 918 | |
| 919 | 2002-10-08 Kenichi Handa <handa@m17n.org> |
| 920 | |
| 921 | * coding.c (code_convert_region): When we need more GAP for |
| 922 | conversion, pay attention to the case that coding->produced is not |
| 923 | greater than coding->consumed. |
| 924 | |
| 925 | 2002-10-07 Richard M. Stallman <rms@gnu.org> |
| 926 | |
| 927 | * unexelf.c (unexec): Redo 9/16 change, but only if IRIX6_5. |
| 928 | |
| 929 | 2002-10-06 Andrew Choi <akochoi@shaw.ca> |
| 930 | |
| 931 | * macmenu.c (mac_menu_show): Add j to count menu items; match |
| 932 | menu_item_selection to it to find selected item. |
| 933 | |
| 934 | 2002-10-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
| 935 | |
| 936 | * xterm.c (XTread_socket): Fix from 2002-10-03 didn't cover all |
| 937 | cases. The correct fix is to pass ReparentNotify to Xt. |
| 938 | The shell widget interprets ConfigureNotify differently depending |
| 939 | on if it has been reparented or not. |
| 940 | |
| 941 | 2002-10-05 Markus Rost <rost@math.ohio-state.edu> |
| 942 | |
| 943 | * editfns.c (Fformat_time_string): Doc fix. |
| 944 | |
| 945 | 2002-10-05 John Paul Wallington <jpw@shootybangbang.com> |
| 946 | |
| 947 | * fns.c (Flength): Doc fix. |
| 948 | |
| 949 | 2002-10-04 Stefan Monnier <monnier@cs.yale.edu> |
| 950 | |
| 951 | * keyboard.c (keyremap): New struct. |
| 952 | (read_key_sequence): Use it: globally replace keytran_foo with |
| 953 | keytran.foo and fkey_foo with fkey.foo. Rename temp vars |
| 954 | keytran_next and fkey_next to just `next'. |
| 955 | |
| 956 | 2002-10-04 Steven Tamm <steventamm@mac.com> |
| 957 | |
| 958 | * macterm.c (keycode_to_xkeysym_table): Change return to be |
| 959 | treated like an X keysym. |
| 960 | |
| 961 | 2002-10-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
| 962 | |
| 963 | * xterm.c (XTread_socket): For ConfigureNotify, with x and y == 0, |
| 964 | and USE_MOTIF, call XTranslateCoordinates to get the real x and y. |
| 965 | This is to also handle x/y changes that occur because of a resize. |
| 966 | |
| 967 | 2002-10-02 John Paul Wallington <jpw@shootybangbang.com> |
| 968 | |
| 969 | * frame.c (Vdelete_frame_functions): New variable. |
| 970 | (syms_of_frame): Initialize and defvar it. |
| 971 | (Fdelete_frame): Use it instead of delete-frame-hook. Don't run |
| 972 | it when frame's `tooltip' parameter is non-nil. |
| 973 | |
| 974 | * xfns.c (x_create_tip_frame): Set `tooltip' frame parameter to t. |
| 975 | |
| 976 | * w32fns.c (x_create_tip_frame): Likewise. |
| 977 | |
| 978 | * macfns.c (x_create_tip_frame): Likewise. |
| 979 | |
| 980 | 2002-09-30 Kenichi Handa <handa@m17n.org> |
| 981 | |
| 982 | * xterm.c (x_encode_char): For DIM=1 charset, set ccl->reg[2] to |
| 983 | -1 before calling ccl_driver. |
| 984 | |
| 985 | * coding.c (decode_coding_emacs_mule): Check coding->cmp_data. |
| 986 | Only when it is non-nil, handle composition sequence. |
| 987 | (setup_coding_system) <0>: Don't force composition handling. |
| 988 | |
| 989 | * Makefile.in (lisp, shortlisp): Add utf-16.elc |
| 990 | |
| 991 | 2002-09-29 Richard M. Stallman <rms@gnu.org> |
| 992 | |
| 993 | * search.c (Freplace_match): Adjust match data for the substitution |
| 994 | just made in the buffer. |
| 995 | |
| 996 | * xdisp.c (STOP_POLLING, RESUME_POLLING): New macros. |
| 997 | (redisplay_internal): Use them. Do RESUME_POLLING at end of function. |
| 998 | |
| 999 | 2002-09-27 Richard M. Stallman <rms@gnu.org> |
| 1000 | |
| 1001 | * keyboard.c (STOP_POLLING, RESUME_POLLING): New macros. |
| 1002 | (read_char): Use them. Do all exits thru the end of the function. |
| 1003 | |
| 1004 | 2002-09-27 Kenichi Handa <handa@etl.go.jp> |
| 1005 | |
| 1006 | * xfaces.c (try_font_list): Pay attention to the case that FAMILY |
| 1007 | is nil. |
| 1008 | |
| 1009 | 2002-09-26 Richard M. Stallman <rms@gnu.org> |
| 1010 | |
| 1011 | * regex.h (__restrict_arr): Don't define if already defined. |
| 1012 | |
| 1013 | * coding.c (run_pre_post_conversion_on_str): |
| 1014 | Save and restore Vdeactivate_mark. |
| 1015 | |
| 1016 | 2002-09-26 John Paul Wallington <jpw@shootybangbang.com> |
| 1017 | |
| 1018 | * minibuf.c (Fminibufferp): Add an optional `buffer' argument. |
| 1019 | |
| 1020 | 2002-09-26 Kenichi Handa <handa@etl.go.jp> |
| 1021 | |
| 1022 | * xfaces.c (try_font_list): New arg PREFER_FACE_FAMILY. If it is |
| 1023 | nonzero, try face's family at first. Otherwise try FAMILY at first. |
| 1024 | (choose_face_font): If C is a single byte char or latin-1, call |
| 1025 | try_font_list with PREFER_FACE_FAMILY 1. |
| 1026 | |
| 1027 | 2002-09-21 Richard M. Stallman <rms@gnu.org> |
| 1028 | |
| 1029 | * window.c (select_window_1): Don't select frame. |
| 1030 | Set frame's selected window only when frame itself is selected. |
| 1031 | (Fselect_window): Doc fix. |
| 1032 | |
| 1033 | 2002-09-18 Kim F. Storm <storm@cua.dk> |
| 1034 | |
| 1035 | * process.c (make-network-process): Doc fix (there is no |
| 1036 | network-server-log-function hook). |
| 1037 | |
| 1038 | 2002-09-18 Richard M. Stallman <rms@gnu.org> |
| 1039 | |
| 1040 | * print.c (print): Clear out the unused parts of Vprint_number_table. |
| 1041 | (syms_of_print): Doc fix for `print-number-table'. |
| 1042 | |
| 1043 | * unexelf.c (unexec): Undo previous change. |
| 1044 | |
| 1045 | 2002-09-17 Andreas Schwab <schwab@suse.de> |
| 1046 | |
| 1047 | * m/alpha.h [LINUX]: Don't define DATA_START. |
| 1048 | |
| 1049 | 2002-09-16 Dave Love <fx@gnu.org> |
| 1050 | |
| 1051 | * unexelf.c (unexec): Deal with .got, reinstating change from |
| 1052 | 25-08-1999. |
| 1053 | |
| 1054 | 2002-09-13 Richard M. Stallman <rms@gnu.org> |
| 1055 | |
| 1056 | * s/sol2-6.h (UNEXEC): Comment out definition. |
| 1057 | |
| 1058 | * unexsol.c (unexec): Don't downcase first letter of error msg. |
| 1059 | |
| 1060 | * xfaces.c (Fcolor_supported_p): Just one arg is required. |
| 1061 | |
| 1062 | 2002-09-12 Markus Rost <rost@math.ohio-state.edu> |
| 1063 | |
| 1064 | * unexsol.c: Include buffer.h, charset.h, coding.h. |
| 1065 | |
| 1066 | 2002-09-11 Richard M. Stallman <rms@gnu.org> |
| 1067 | |
| 1068 | * unexsol.c: Don't use report_file_error; do it by hand |
| 1069 | using dlerror. |
| 1070 | |
| 1071 | * process.c (wait_reading_process_input, both versions): |
| 1072 | Before calling turn_on_atimers, call stop_polling. |
| 1073 | |
| 1074 | * emacs.c (syms_of_emacs) <command-line-args>: Doc fix. |
| 1075 | |
| 1076 | * xdisp.c (try_scrolling): If after make_cursor_line_fully_visible |
| 1077 | we go to too_near_end, call clear_glyph_matrix. |
| 1078 | (redisplay_window): After make_cursor_line_fully_visible, |
| 1079 | call clear_glyph_matrix and bypass `goto done'. |
| 1080 | |
| 1081 | * xfns.c (x_report_frame_params): If FRAME_SCROLL_BAR_PIXEL_WIDTH is 0 |
| 1082 | and we have non-toolkit scroll bars, return nil for scroll-bar-width. |
| 1083 | |
| 1084 | 2002-09-10 Richard M. Stallman <rms@gnu.org> |
| 1085 | |
| 1086 | * fileio.c (Fdo_auto_save): Catch error making directory. |
| 1087 | Only call push_message if we need to. |
| 1088 | At the same time, make an unwind-protect to pop it. |
| 1089 | Rename local message_p to old_message_p. |
| 1090 | (do_auto_save_make_dir, do_auto_save_eh): New functions. |
| 1091 | (do_auto_save_unwind): Don't call pop_message. |
| 1092 | |
| 1093 | local_request 1. |
| 1094 | (syms_of_xselect): Intern and staticpro QUTF8_STRING. |
| 1095 | |
| 1096 | * xterm.c (x_term_init): Initialize dpyinfo->Xatom_UTF8_STRING. |
| 1097 | |
| 1098 | * xterm.h (struct x_display_info): New member Xatom_UTF8_STRING. |
| 1099 | |
| 1100 | 2002-08-13 Richard M. Stallman <rms@gnu.org> |
| 1101 | |
| 1102 | * minibuf.c (Fminibufferp): New function. |
| 1103 | (syms_of_minibuf): Defsubr it. |
| 1104 | (Fminibuffer_prompt_end): Handle non-minibuffers specially. |
| 1105 | |
| 1106 | 2002-08-13 Gerd Moellmann <gerd.moellmann@t-online.de> |
| 1107 | |
| 1108 | * coding.c (Funencodable_char_position): Lisp_Object/int mixup. |
| 1109 | |
| 1110 | 2002-08-12 Richard M. Stallman <rms@gnu.org> |
| 1111 | |
| 1112 | * syswait.h: Only the include of sys/wait.h tests HAVE_SYS_WAIT_H. |
| 1113 | [!VMS] (WCOREDUMP, WEXITSTATUS, WIFEXITED, WIFSTOPPED, WIFSIGNALED) |
| 1114 | (WSTOPSIG, WTERMSIG): Define each one independently if not defined |
| 1115 | already. |
| 1116 | |
| 1117 | * buffer.c (syms_of_buffer) <fill-column>: Doc fix. |
| 1118 | |
| 1119 | 2002-08-11 Andrew Choi <akochoi@shaw.ca> |
| 1120 | |
| 1121 | * macterm.c (XTmouse_position): Check wp with is_emacs_window. |
| 1122 | (Vmac_pass_command_to_system): New variable. |
| 1123 | (Vmac_pass_control_to_system): New variable. |
| 1124 | (do_mouse_moved): Check wp with is_emacs_window. |
| 1125 | (XTread_socket): Check window_ptr with is_emacs_window. |
| 1126 | Call FrontNonFloatingWindow instead of FrontWindow. Send keydown |
| 1127 | events back to Mac Toolbox for processing, depending on values of |
| 1128 | Vmac_pass_command_to_system and Vmac_pass_control_to_system. |
| 1129 | (syms_of_macterm): DEFVAR_LISP Vmac_pass_command_to_system and |
| 1130 | Vmac_pass_control_to_system. |
| 1131 | |
| 1132 | 2002-08-10 Kenichi Handa <handa@etl.go.jp> |
| 1133 | |
| 1134 | * coding.c (unencodable_char_position): New function. |
| 1135 | (Funencodable_char_position): New function. |
| 1136 | (syms_of_coding): Defsubr Funencodable_char_position. |
| 1137 | |
| 1138 | 2002-08-10 Andrew Choi <akochoi@shaw.ca> |
| 1139 | |
| 1140 | * mac.c (sys_select) [MAC_OSX]: New function. |
| 1141 | |
| 1142 | * macterm.c (MakeMeTheFrontProcess): New function. |
| 1143 | (mac_initialize): Call MakeMeTheFrontProcess. |
| 1144 | |
| 1145 | * s/darwin.h: Define select to sys_select. |
| 1146 | |
| 1147 | 2002-08-09 Richard M. Stallman <rms@gnu.org> |
| 1148 | |
| 1149 | * keyboard.c (make_lispy_event): Test WINDOWSNT, not WINDOWS_NT. |
| 1150 | |
| 1151 | 2002-08-09 Gerd Moellmann <gerd.moellmann@t-online.de> |
| 1152 | |
| 1153 | * xdisp.c (forward_to_next_line_start): Return 0 when reaching the |
| 1154 | end of the buffer. |
| 1155 | |
| 1156 | 2002-08-08 Ken Raeburn <raeburn@mit.edu> |
| 1157 | |
| 1158 | * coding.c (Ffind_operation_coding_system): Fix Lisp_Object/int mixup. |
| 1159 | |
| 1160 | * puresize.h (BASE_PURESIZE): Increase to 910000. |
| 1161 | |
| 1162 | 2002-08-08 Kenichi Handa <handa@etl.go.jp> |
| 1163 | |
| 1164 | * coding.c (Ffind_operation_coding_system): For write-region, if |
| 1165 | VISIT is a filename, make it the target. |
| 1166 | |
| 1167 | 2002-08-07 Richard M. Stallman <rms@gnu.org> |
| 1168 | |
| 1169 | * alloc.c (mark_object): Detect long lists for debugging. |
| 1170 | (mark_object_loop_halt): New variable. |
| 1171 | |
| 1172 | * s/hpux10.h (C_SWITCH_SYSTEM): #undef it. |
| 1173 | |
| 1174 | * data.c (Fmake_variable_frame_local): Doc fix. |
| 1175 | |
| 1176 | 2002-08-01 David Ponce <david@dponce.com> |
| 1177 | |
| 1178 | * w32menu.c (local_heap, local_alloc, local_free): New macros. |
| 1179 | (malloc_widget_value, free_widget_value) |
| 1180 | (w32_free_submenu_strings): Use them. |
| 1181 | |
| 1182 | (push_submenu_start, push_submenu_end, push_left_right_boundary) |
| 1183 | (push_menu_pane, push_menu_item, single_keymap_panes) |
| 1184 | (single_menu_item, Fx_popup_menu, menubar_selection_callback) |
| 1185 | (single_submenu, set_frame_menubar) |
| 1186 | (w32_menu_show, w32_dialog_show): Use AREF, ASET, ASIZE. |
| 1187 | |
| 1188 | (Fx_popup_menu): Don't show pop up menu until preceding one is |
| 1189 | actually cleaned up. Moved UNGCPRO outside #ifdef HAVE_MENUS block. |
| 1190 | |
| 1191 | * w32menu.c: Changes adapted from xmenu.c |
| 1192 | (set_frame_menubar): First parse all submenus, |
| 1193 | then make widget_value trees from them. |
| 1194 | Don't allocate any widget_value objects |
| 1195 | until we are done with the parsing. |
| 1196 | (parse_single_submenu): New function. |
| 1197 | (digest_single_submenu): New function. |
| 1198 | (single_submenu): Function deleted, replaced by those two. |
| 1199 | |
| 1200 | 2002-08-04 Andrew Choi <akochoi@shaw.ca> |
| 1201 | |
| 1202 | * macterm.c (XTread_socket): Check that FrontNonFloatingWindow |
| 1203 | returns a valid window pointer before proceeding for keyDown and |
| 1204 | autoKey events. |
| 1205 | |
| 1206 | 2002-08-03 Andrew Choi <akochoi@shaw.ca> |
| 1207 | |
| 1208 | * macterm.c (USE_CARBON_EVENTS): New macro. |
| 1209 | (macCtrlKey, macShiftKey, macMetaKey, macAltKey): New macros. |
| 1210 | (x_iconify_frame): Call CollapseWindow. |
| 1211 | (Vmac_reverse_ctrl_meta): New variable. |
| 1212 | (Vmac_wheel_button_is_mouse_2): New variable. |
| 1213 | (init_mac_drag_n_drop): New function. |
| 1214 | (mac_do_receive_drag): New function. |
| 1215 | (mac_handle_service_event): New function. |
| 1216 | (init_service_handler): New function. |
| 1217 | (mac_to_emacs_modifiers): New function. |
| 1218 | (mac_event_to_emacs_modifiers): New function. |
| 1219 | (mac_get_mouse_btn): New function. |
| 1220 | (mac_convert_event_ref): New function. |
| 1221 | (XTread_socket) [USE_CARBON_EVENTS]: Call ReceiveNextEvent, |
| 1222 | SendEventToEventTarget, mac_event_to_emacs_modifiers, and |
| 1223 | mac_get_mouse_btn. |
| 1224 | (mac_initialize): Call init_mac_drag_n_drop and init_service_handler. |
| 1225 | |
| 1226 | * keyboard.c: Define Qmouse_wheel, mouse_wheel_syms, and |
| 1227 | lispy_mouse_wheel_names for MAC_OSX as well as for WINDOWS_NT. |
| 1228 | (kbd_buffer_get_event): Set used_mouse_menu for MENU_BAR_EVENT and |
| 1229 | TOOL_BAR_EVENT for MAC_OS as well. |
| 1230 | (make_lispy_event): Handle MOUSE_WHEEL_EVENT for MAC_OSX as well |
| 1231 | as for WINDOWS_NT. |
| 1232 | (syms_of_keyboard): Initialize Qmouse_wheel for MAC_OSX. |
| 1233 | |
| 1234 | * termhooks.h (event_kind): Define MOUSE_WHEEL_EVENT also for MAC_OSX. |
| 1235 | |
| 1236 | 2002-08-03 Gerd Moellmann <gerd.moellmann@t-online.de> |
| 1237 | |
| 1238 | * xdisp.c (forward_to_next_line_start): Fix a condition that |
| 1239 | lead to a newline being skipped. |
| 1240 | |
| 1241 | 2002-08-02 Andrew Choi <akochoi@shaw.ca> |
| 1242 | |
| 1243 | * mac.c (syms_of_mac): Defsubr Sx_selection_exists_p. |
| 1244 | |
| 1245 | 2002-08-01 Richard M. Stallman <rms@gnu.org> |
| 1246 | |
| 1247 | * Makefile.in (SOME_MACHINE_OBJECTS): Add fontset.o. |
| 1248 | |
| 1249 | 2002-07-31 Andrew Choi <akochoi@shaw.ca> |
| 1250 | |
| 1251 | * macfns.c: #undef init_process before #define-ing it. |
| 1252 | |
| 1253 | * s/darwin.h: Define MAC_OS, SYMS_SYSTEM, and OTHER_FILES only if |
| 1254 | HAVE_CARBON is defined. |
| 1255 | |
| 1256 | 2002-07-31 Richard M. Stallman <rms@gnu.org> |
| 1257 | |
| 1258 | * xmenu.c (set_frame_menubar): First parse all submenus, |
| 1259 | then make widget_value trees from them. |
| 1260 | Don't allocate any widget_value objects |
| 1261 | until we are done with the parsing. |
| 1262 | (parse_single_submenu): New function. |
| 1263 | (digest_single_submenu): New function. |
| 1264 | (single_submenu): Function deleted, replaced by those two. |
| 1265 | |
| 1266 | 2002-07-30 Juanma Barranquero <lektu@terra.es> |
| 1267 | |
| 1268 | * w32proc.c (syms_of_ntproc): Fix docstring of |
| 1269 | `w32-get-true-file-attributes'. |
| 1270 | |
| 1271 | 2002-07-28 Richard M. Stallman <rms@gnu.org> |
| 1272 | |
| 1273 | * s/hpux8.h (HPUX8): Define this before including hpux.h. |
| 1274 | (HAVE_SYS_WAIT_H): #define deleted; we let Autoconf decide. |
| 1275 | |
| 1276 | * s/hpux.h (HAVE_SYS_WAIT_H): The #undef is conditional on HPUX8. |
| 1277 | |
| 1278 | * keyboard.c (make_lispy_event): |
| 1279 | Use #ifdef to test USE_TOOLKIT_SCROLL_BARS. |
| 1280 | Explicitly clear up_modifier in event->modifiers. |
| 1281 | |
| 1282 | 2002-07-27 Richard M. Stallman <rms@gnu.org> |
| 1283 | |
| 1284 | * xterm.h (FRAME_CURSOR_WIDTH): New macro. |
| 1285 | |
| 1286 | * xterm.c (x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH |
| 1287 | for bar cursor. |
| 1288 | |
| 1289 | 2002-07-26 Kenichi Handa <handa@etl.go.jp> |
| 1290 | |
| 1291 | * coding.c (detect_coding_iso2022): While checking a byte sequence |
| 1292 | for CODING_CATEGORY_MASK_ISO_8_2, if we read one extra byte, check |
| 1293 | it in the normal loop. |
| 1294 | |
| 1295 | 2002-07-24 Gerd Moellmann <gerd.moellmann@t-online.de> |
| 1296 | |
| 1297 | * xterm.c (expose_overlaps): New function. |
| 1298 | (expose_window): Use it to fix the display of overlapping rows. |
| 1299 | |
| 1300 | * xdisp.c (unwind_redisplay): Clear redisplay_updating_p. |
| 1301 | |
| 1302 | 2002-07-23 Ken Raeburn <raeburn@gnu.org> |
| 1303 | |
| 1304 | * lisp.h (XPNTR): Use NO_UNION_TYPE version for union as well, |
| 1305 | since it only depends on XUINT. |
| 1306 | |
| 1307 | * m/alpha.h (BITS_PER_LONG, BITS_PER_EMACS_INT, EMACS_INT, |
| 1308 | EMACS_UINT, SPECIAL_EMACS_INT, DATA_SEG_BITS, |
| 1309 | PNTR_COMPARISON_TYPE, VALBITS, MARKBIT, XINT, XUINT, XPNTR): |
| 1310 | Macros deleted. |
| 1311 | |
| 1312 | * mem-limits.h (start_of_data): If DATA_START is defined, prefer |
| 1313 | its value over other approaches. |
| 1314 | * sysdep.c (start_of_data): Don't define the function if a macro |
| 1315 | form has been defined. |
| 1316 | |
| 1317 | 2002-07-23 Gerd Moellmann <gerd.moellmann@t-online.de> |
| 1318 | |
| 1319 | * xdisp.c (redisplay_updating_p): New variable. |
| 1320 | (init_iterator): Don't free realized faces when |
| 1321 | redisplay_updating_p is set. |
| 1322 | (redisplay_internal): Set redisplay_updating_p while updating |
| 1323 | the display. |
| 1324 | |
| 1325 | 2002-07-23 Richard M. Stallman <rms@gnu.org> |
| 1326 | |
| 1327 | * editfns.c (Fmessage): Treat "" like nil. |
| 1328 | |
| 1329 | 2002-07-23 Kenichi Handa <handa@etl.go.jp> |
| 1330 | |
| 1331 | * xdisp.c (face_before_or_after_it_pos): |
| 1332 | Call FETCH_MULTIBYTE_CHAR with byte postion, not char position. |
| 1333 | |
| 1334 | 2002-07-22 Juanma Barranquero <lektu@terra.es> |
| 1335 | |
| 1336 | * callproc.c (init_callproc) [DOS_NT]: |
| 1337 | Initialize Vshared_game_score_directory to nil. |
| 1338 | (syms_of_callproc) [DOS_NT]: Likewise. |
| 1339 | |
| 1340 | 2002-07-22 Gerd Moellmann <gerd.moellmann@t-online.de> |
| 1341 | |
| 1342 | * xdisp.c (display_line): Replace an abort with xassert. |
| 1343 | |
| 1344 | 2002-07-21 Richard M. Stallman <rms@gnu.org> |
| 1345 | |
| 1346 | * xdisp.c (redisplay_window): Don't test BEG_UNCHANGED |
| 1347 | and END_UNCHANGED when setting buffer_unchanged_p. |
| 1348 | Use current_matrix_up_to_date_p to decide whether to use |
| 1349 | try_cursor_movement. |
| 1350 | |
| 1351 | * config.in (HAVE_SHARED_GAME_DIR): Undef deleted. |
| 1352 | |
| 1353 | * epaths.in (PATH_GAME): New macro, edited by ../Makefile.in. |
| 1354 | |
| 1355 | * callproc.c (init_callproc): Set up Vshared_game_score_directory. |
| 1356 | Set to nil if dir does not exist. |
| 1357 | (syms_of_callproc): Init unconditionally and simply. |
| 1358 | |
| 1359 | * buffer.c (Fbuffer_list): Doc fix. |
| 1360 | |
| 1361 | 2002-07-21 Ken Raeburn <raeburn@gnu.org> |
| 1362 | |
| 1363 | * sysdep.c (end_of_text, end_of_data): Unused functions deleted. |
| 1364 | |
| 1365 | * buffer.c (mmap_realloc): When shrinking, make sure number of |
| 1366 | pages to unmap is rounded towards zero. |
| 1367 | |
| 1368 | * m/mips-siemens.h (XSETUINT, XSETPNTR): Unused macros deleted. |
| 1369 | (XSETINT): Deleted. |
| 1370 | |
| 1371 | * m/att3b.h (XINT): Don't define. |
| 1372 | (VALBITS, VALMASK, XTYPE): Deleted. |
| 1373 | (DATA_SEG_BITS): Define. |
| 1374 | * m/gec63.h (VALBITS, VALAMASK, XTYPE, XSETTYPE, XPNTR, XSET, |
| 1375 | ARRAY_MARK_FLAG): Deleted. |
| 1376 | (DATA_SEG_BITS): Define. |
| 1377 | * m/pfa50.h (VALBITS, VALMASK, XTYPE): Deleted. |
| 1378 | (DATA_SEG_BITS): Define. |
| 1379 | |
| 1380 | 2002-07-20 Richard M. Stallman <rms@gnu.org> |
| 1381 | |
| 1382 | * print.c (print_error_message): New args CONTEXT and CALLER. |
| 1383 | Calls changed. |
| 1384 | |
| 1385 | * lisp.h (print_error_message): Declare new args. |
| 1386 | |
| 1387 | * keyboard.c (cmd_error_internal): Pass Vsignaling_function |
| 1388 | and CONTEXT to print_error_message, don't print them here. |
| 1389 | For a Quit, don't use Vsignaling_function. |
| 1390 | Call message_log_maybe_newline. |
| 1391 | |
| 1392 | * Makefile.in (xsmfns.o): Don't depend on lisp.h. |
| 1393 | |
| 1394 | 2002-07-20 Kim F. Storm <storm@cua.dk> |
| 1395 | |
| 1396 | * xdisp.c (redisplay_window): Test MODIFF to set buffer_unchanged_p. |
| 1397 | |
| 1398 | 2002-07-19 Ken Raeburn <raeburn@gnu.org> |
| 1399 | |
| 1400 | * bytecode.c (struct byte_stack): Pointers into byte string now |
| 1401 | point to const. |
| 1402 | * callproc.c (Fcall_process): Make NEW_ARGV array hold pointer to |
| 1403 | const. |
| 1404 | * charset.h (BCOPY_SHORT): Source pointer now points to const. |
| 1405 | * coding.c (encode_eol, detect_coding, detect_eol): |
| 1406 | (decode_coding, encode_coding, detect_coding_system): |
| 1407 | Source strings now treated as const. |
| 1408 | (decode_coding_string, encode_coding_string): Use STRING_COPYIN to |
| 1409 | modify Lisp string contents. |
| 1410 | * coding.h (decode_coding, encode_coding, detect_coding, |
| 1411 | detect_eol): Declarations updated. |
| 1412 | * composite.c (compose_chars_in_text): Treat Lisp string contents |
| 1413 | as const. |
| 1414 | * dispnew.c (safe_bcopy): Source pointer now points to const. |
| 1415 | * lisp.h (STRING_COPYIN): New macro. |
| 1416 | (detect_coding_system, safe_bcopy, temp_output_buffer_setup): |
| 1417 | (internal_with_output_to_temp_buffer): Declarations updated. |
| 1418 | * print.c (temp_output_buffer_setup): |
| 1419 | (internal_with_output_to_temp_buffer): Buffer name argument is now |
| 1420 | pointer to const. |
| 1421 | * sound.c (struct sound_device): Function pointer field "write" |
| 1422 | buffer argument now points to const. |
| 1423 | (vox_write): Buffer argument points to const. |
| 1424 | * syntax.c (Fstring_to_syntax, skip_chars): Treat Lisp string |
| 1425 | contents as const. |
| 1426 | * sysdep.c (emacs_write): Buffer pointer now const. |
| 1427 | * term.c (encode_terminal_code): Buffer pointer now const. |
| 1428 | * xfaces.c (may_use_scalable_font_p): Argument now points to const. |
| 1429 | (x_face_list_fonts, x_update_menu_appearance): |
| 1430 | (hash_string_case_insensitive): Treat Lisp string contents as const. |
| 1431 | |
| 1432 | 2002-07-19 Juanma Barranquero <lektu@terra.es> |
| 1433 | |
| 1434 | * fileio.c (Ffile_name_as_directory): Fix argument name in docstring. |
| 1435 | (file_name_as_directory): Use literal '/' instead of DIRECTORY_SEP. |
| 1436 | |
| 1437 | * xdisp.c (syms_of_xdisp): Remove redundant deprecation info. |
| 1438 | |
| 1439 | * fileio.c (syms_of_fileio): Likewise. |
| 1440 | |
| 1441 | 2002-07-18 Richard M. Stallman <rms@gnu.org> |
| 1442 | |
| 1443 | * data.c (Fdefalias): Doc fix. |
| 1444 | |
| 1445 | 2002-07-17 Dave Love <fx@gnu.org> |
| 1446 | |
| 1447 | * intervals.h (text_property_stickiness): Use P_. |
| 1448 | |
| 1449 | * ccl.c: Remove `emacs' conditionals. |
| 1450 | (ccl_backtrace_table): Fix size spec. |
| 1451 | (ccl_driver): Fix type errors. |
| 1452 | |
| 1453 | 2002-07-16 Ken Raeburn <raeburn@gnu.org> |
| 1454 | |
| 1455 | * alloc.c (xstrdup, make_string, make_unibyte_string) |
| 1456 | (make_multibyte_string, build_string): String pointer args now |
| 1457 | point to const. |
| 1458 | * charset.c (find_charset_in_text, c_string_width): |
| 1459 | (chars_in_text, multibyte_chars_in_text, parse_str_as_multibyte): |
| 1460 | * fileio.c (report_file_error): |
| 1461 | * insdel.c (copy_text, count_size_as_multibyte, insert_1): |
| 1462 | (count_combining_before, count_combining_after, insert_1_both): |
| 1463 | (insert, insert_and_inherit, insert_string): |
| 1464 | (insert_before_markers, insert_before_markers_and_inherit): |
| 1465 | * lread.c (intern, oblookup, hash_string): |
| 1466 | * minibuf.c (temp_echo_area_glyphs): |
| 1467 | * search.c (fast_c_string_match_ignore_case): |
| 1468 | * sysdep.c (emacs_open, set_file_times): |
| 1469 | * xfaces.c (xstricmp): |
| 1470 | * xdisp.c (store_frame_title, string_char_and_length): |
| 1471 | (message_dolog, message2, message2_nolog, set_message): Likewise. |
| 1472 | (set_message_1): Cast message string argument to const pointer. |
| 1473 | * editfns.c (general_insert_function): Insertion function now |
| 1474 | takes pointer to const for input data. |
| 1475 | * charset.h (find_charset_in_text, c_string_width): |
| 1476 | (parse_str_as_multibyte): Declarations updated. |
| 1477 | * dispextern.h (xstricmp): Declaration updated. |
| 1478 | * lisp.h (chars_in_text, multibyte_chars_in_text, copy_text): |
| 1479 | (count_size_as_multibyte, count_combining_before): |
| 1480 | (count_combining_after, insert_1, insert_1_both, message_dolog): |
| 1481 | (insert, insert_and_inherit, insert_before_markers) |
| 1482 | (insert_before_markers_and_inherit, set_message, message2): |
| 1483 | (message2_dolog, build_string, make_string, make_unibyte_string): |
| 1484 | (make_multibyte_string, intern, oblookup, report_file_error): |
| 1485 | (fast_c_string_match_ignore_case, temp_echo_area_glyphs): |
| 1486 | (emacs_open, xstrdup): Declarations updated. |
| 1487 | * systime.h (set_file_times): Declaration updated. |
| 1488 | |
| 1489 | * charset.c (find_charset_in_text, lisp_string_width): Use const |
| 1490 | for pointer to lisp string data. |
| 1491 | * charset.h (FETCH_STRING_CHAR_ADVANCE): |
| 1492 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): |
| 1493 | * coding.c (Ffind_coding_systems_region_interval): |
| 1494 | * fileio.c (Ffile_name_directory, Ffile_name_nondirectory): |
| 1495 | (Fmake_directory_internal, Fdelete_directory): |
| 1496 | (Ffile_name_absolute_p, Fwrite_region, double_dollars): |
| 1497 | * fontset.c (font_family_registry, fs_query_fontset): |
| 1498 | (list_fontsets): |
| 1499 | * frame.c (Fframe_parameter): |
| 1500 | * keyboard.c (cmd_error_internal): |
| 1501 | * keymap.c (Fdescribe_buffer_bindings): |
| 1502 | * lread.c (complete_filename_p, openp): |
| 1503 | * minibuf.c (Fminibuffer_complete_word): |
| 1504 | * xdisp.c (string_pos_nchars_ahead, init_from_display_pos): |
| 1505 | (face_before_or_after_it_pos, next_element_from_string): |
| 1506 | (get_overlay_arrow_glyph_row, display_mode_element): |
| 1507 | (decode_mode_spec_coding): |
| 1508 | * xterm.c (same_x_server): Likewise. |
| 1509 | |
| 1510 | * buffer.c (reset_buffer_local_variables): Delete "#if 0" |
| 1511 | settings of non-existent fields. |
| 1512 | |
| 1513 | * editfns.c (Fstring_to_char): Don't use XSTRING/XSETSTRING to |
| 1514 | copy a lisp value. |
| 1515 | |
| 1516 | * lread.c (Fintern_soft): Use string macros instead of |
| 1517 | Lisp_String fields. |
| 1518 | * keyboard.c (echo_char, parse_modifiers_uncached): |
| 1519 | (parse_solitary_modifier, Fexecute_extended_command): Likewise. |
| 1520 | * textprop.c (validate_interval_range, interval_of): Likewise. |
| 1521 | |
| 1522 | * fontset.c (Fset_fontset_font): Use SDATA instead of XSTRING()->data. |
| 1523 | |
| 1524 | * charset.h (FETCH_STRING_CHAR_ADVANCE) |
| 1525 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SBYTES instead of |
| 1526 | XSTRING()->size_byte. |
| 1527 | |
| 1528 | * lisp.h (SDATA, SREF): Produce rvalue. |
| 1529 | (SSET): New macro. |
| 1530 | * alloc.c (make_event_array): Use SSET for storing into a string. |
| 1531 | * buffer.c (Fother_buffer): Use SREF when retrieving a byte from |
| 1532 | a string. |
| 1533 | * casefiddle.c (casify_object): Use SSET. |
| 1534 | * charset.h (FETCH_STRING_CHAR_ADVANCE) |
| 1535 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SDATA when getting |
| 1536 | address of string contents. |
| 1537 | * data.c (Faref): Use SDATA. |
| 1538 | (Faset): Use SDATA, SSET. |
| 1539 | * dired.c (directory_files_internal): Use SSET. |
| 1540 | * fileio.c (Fmake_symbolic_link, Fexpand_file_name): Use SSET. |
| 1541 | (Fread_file_name): Use SREF, SSET. |
| 1542 | * fns.c (concat): Use SSET. |
| 1543 | (concat, Fdelete): Use SDATA. |
| 1544 | * insdel.c (insert_from_string_1): Use SDATA. |
| 1545 | * keyboard.c (Fevent_convert_list): Use SREF. |
| 1546 | * lread.c (Fload): Use SDATA, SSET. |
| 1547 | * macfns.c (validate_x_resource_name): Use SSET. |
| 1548 | * process.c (status_message): Use SSET. |
| 1549 | * search.c (wordify): Use SDATA. |
| 1550 | (Freplace_match): Use SREF. |
| 1551 | * w32fns.c (validate_x_resource_name): Use SSET. |
| 1552 | * xfns.c (validate_x_resource_name): Use SSET. |
| 1553 | * xterm.c (x_catch_errors, x_clear_errors): Use SSET. |
| 1554 | |
| 1555 | 2002-07-16 Richard M. Stallman <rms@gnu.org> |
| 1556 | |
| 1557 | * s/hpux11.h (USG_SUBTTY_WORKS): Defined. |
| 1558 | |
| 1559 | * xdisp.c (reconsider_clip_changes): |
| 1560 | Don't test prevent_redisplay_optimizations_p. |
| 1561 | (redisplay_internal): Test prevent_redisplay_optimizations_p |
| 1562 | along with clip_changed in some cases. |
| 1563 | (try_window_id): Likewise. |
| 1564 | (redisplay_window): New local var buffer_unchanged_p. |
| 1565 | |
| 1566 | * keyboard.c (cmd_error) [HAVE_X_WINDOWS]: Maybe call cancel_houglass. |
| 1567 | |
| 1568 | * process.c (create_process): Test USG_SUBTTY_WORKS. |
| 1569 | (process_send_signal): Clean up handling of GID. |
| 1570 | Detect errors in ioctls meant to set GID. |
| 1571 | |
| 1572 | * window.c (temp_output_buffer_show): |
| 1573 | Don't set prevent_redisplay_optimizations_p. |
| 1574 | |
| 1575 | 2002-07-15 Juanma Barranquero <lektu@terra.es> |
| 1576 | |
| 1577 | * eval.c (Fdefvaralias): Add docstring argument. |
| 1578 | |
| 1579 | 2002-07-15 Ken Raeburn <raeburn@gnu.org> |
| 1580 | |
| 1581 | * lisp.h (STRING_INTERVALS): Produce rvalue. |
| 1582 | (STRING_SET_INTERVALS): New macro. |
| 1583 | * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Use it. |
| 1584 | * fns.c (Fstring_as_multibyte): Likewise. |
| 1585 | * intervals.c (balance_possible_root_interval, delete_interval) |
| 1586 | (create_root_interval, copy_intervals_to_string): Likewise. |
| 1587 | * textprop.c (set_text_properties): Likewise. Use NULL_INTERVAL |
| 1588 | instead of 0. |
| 1589 | |
| 1590 | 2002-07-14 Ken Raeburn <raeburn@gnu.org> |
| 1591 | |
| 1592 | * lisp.h (STRING_SET_CHARS): New macro. |
| 1593 | (SCHARS, SBYTES): Produce rvalues. |
| 1594 | * dired.c (directory_files_internal): Use STRING_SET_CHARS. |
| 1595 | * fns.c (concat): Likewise. |
| 1596 | * lread.c (read_vector): Likewise. |
| 1597 | |
| 1598 | * lisp.h (SMBP): Deleted. All uses changed to STRING_MULTIBYTE. |
| 1599 | (STRING_SET_UNIBYTE): New macro. |
| 1600 | (SET_STRING_BYTES): Deleted. Callers (all of which supplied a |
| 1601 | length of -1) changed to use STRING_SET_UNIBYTE. |
| 1602 | * abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, |
| 1603 | casefiddle.c, category.c, ccl.c, charset.c, charset.h, coding.c, |
| 1604 | composite.c, data.c, dired.c, dispnew.c, disptab.h, doc.c, |
| 1605 | dosfns.c, editfns.c, emacs.c, eval.c, fileio.c, filelock.c, fn.c, |
| 1606 | fontset.c, frame.c, indent.c, insdel.c, intervals.c, keyboard.c, |
| 1607 | keymap.c, lread.c, mac.c, macfns.c, macmenu.c, macterm.c, |
| 1608 | minibuf.c, msdos.c, print.c, process.c, search.c, sound.c, |
| 1609 | sunfns.c, syntax.c, syntax.h, sysdep.c, textprop.c, undo.c, |
| 1610 | w16select.c, w32.c, w32fns.c, w32menu.c, w32proc.c, w32select.c, |
| 1611 | w32term.c, window.c, xdisp.c, xfaces.c, xfns.c, xmenu.c, |
| 1612 | xselect.c, xsmfns.c, xterm.c: Most uses of XSTRING combined with |
| 1613 | STRING_BYTES or indirection changed to SCHARS, SBYTES, |
| 1614 | STRING_INTERVALS, SREF, SDATA; explicit size_byte references left |
| 1615 | unchanged for now. |
| 1616 | |
| 1617 | 2002-07-13 Kim F. Storm <storm@cua.dk> |
| 1618 | |
| 1619 | * keyboard.c (command_loop_1): Invert check on Vmemory_full. |
| 1620 | |
| 1621 | 2002-07-12 Richard M. Stallman <rms@gnu.org> |
| 1622 | |
| 1623 | * fileio.c (Fwrite_region): Doc fix. |
| 1624 | |
| 1625 | * print.c (print_error_message): Don't handle Vsignaling_function here. |
| 1626 | |
| 1627 | * keyboard.c (cmd_error_internal): Handle Vsignaling_function here. |
| 1628 | (command_loop_1): Avoid certain actions after memory-full error. |
| 1629 | |
| 1630 | * eval.c (Fsignal): Don't call cancel_hourglass. |
| 1631 | For a memory-full error, don't call Vsignal_hook_function |
| 1632 | and don't set Vsignaling_function. |
| 1633 | |
| 1634 | * process.c (process_send_signal): Add abort call. |
| 1635 | |
| 1636 | 2002-07-11 Markus Rost <rost@math.ohio-state.edu> |
| 1637 | |
| 1638 | * keymap.c (Fkey_binding): Fix typo. |
| 1639 | |
| 1640 | 2002-07-11 Richard M. Stallman <rms@gnu.org> |
| 1641 | |
| 1642 | * alloc.c (Vmemory_full): New variable. |
| 1643 | (Vmemory_signal_data): Renamed from memory_signal_data. |
| 1644 | Uses changed. |
| 1645 | (syms_of_alloc): Defvar them. |
| 1646 | (memory_full, buffer_memory_full): Set Vmemory_full. |
| 1647 | |
| 1648 | * lisp.h (Vmemory_full): Add declaration. |
| 1649 | (current_column, indented_beyond_p): Change declaration. |
| 1650 | |
| 1651 | * indent.c (last_known_column): Declare as double, not float. |
| 1652 | (current_column, current_column_1, string_display_width) |
| 1653 | (position_indentation): Return `double'. |
| 1654 | (indented_beyond_p): Arg `column' is `double'. Callers changed. |
| 1655 | |
| 1656 | * xdisp.c (message_dolog): Do nothing if Vmemory_full is non-nil. |
| 1657 | (back_to_previous_visible_line_start) |
| 1658 | (reseat_at_next_visible_line_start, next_element_from_buffer): |
| 1659 | Use `double', not `float', when calling indented_beyond_p. |
| 1660 | |
| 1661 | * s/hpux11.h (BROKEN_SA_RESTART): Defined. |
| 1662 | |
| 1663 | * sysdep.c (sys_signal): Test BROKEN_SA_RESTART. |
| 1664 | |
| 1665 | 2002-07-11 Juanma Barranquero <lektu@terra.es> |
| 1666 | |
| 1667 | * alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, coding.c, |
| 1668 | * composite.c, dired.c, dispnew.c, editfns.c, emacs.c, eval.c, |
| 1669 | * fileio.c, fns.c, insdel.c, keyboard.c, keymap.c, lread.c, macfns.c, |
| 1670 | * macmenu.c, macros.c, minibuf.c, print.c, process.c, sound.c, |
| 1671 | * textprop.c, w32fns.c, w32menu.c, window.c, xfaces.c, xfns.c, |
| 1672 | * xmenu.c, xselect.c, xterm.c: Use SPECPDL_INDEX wherever makes sense. |
| 1673 | |
| 1674 | 2002-07-10 Juanma Barranquero <lektu@terra.es> |
| 1675 | |
| 1676 | * lisp.h (SPECPDL_INDEX): Rename from BINDING_STACK_SIZE. All callers |
| 1677 | changed. |
| 1678 | |
| 1679 | 2002-07-09 Stefan Monnier <monnier@cs.yale.edu> |
| 1680 | |
| 1681 | * data.c (Fdefalias): Add an optional `docstring' argument. |
| 1682 | (set_internal, Fsetq_default): Use XCAR/XCDR. |
| 1683 | |
| 1684 | * composite.c (HASH_VALUE, HASH_KEY): |
| 1685 | * ccl.c (HASH_VALUE): Remove (it's in lisp.h now). |
| 1686 | |
| 1687 | 2002-07-09 Kenichi Handa <handa@etl.go.jp> |
| 1688 | |
| 1689 | * callproc.c (Fcall_process): Fix previous change. |
| 1690 | |
| 1691 | 2002-07-07 Stefan Monnier <monnier@cs.yale.edu> |
| 1692 | |
| 1693 | * minibuf.c (Ftry_completion, Fall_completions, Ftest_completion): |
| 1694 | Add support for hash-tables. |
| 1695 | (Ftry_completion): Return t even if the string appears multiple times. |
| 1696 | |
| 1697 | * fns.c (Fnconc): Use XCDR. |
| 1698 | (Fprovide): Use CONSP and XCDR. |
| 1699 | (HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX) |
| 1700 | (HASH_TABLE_SIZE): Delete: moved to lisp.h. |
| 1701 | (Fmake_hash_table): Accept `:size nil'. |
| 1702 | (Fmakehash): Delete: moved to subr.el. |
| 1703 | (syms_of_fns): Don't defsubr makehash. |
| 1704 | |
| 1705 | * lisp.h (HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX) |
| 1706 | (HASH_TABLE_SIZE): Move from fns.c. |
| 1707 | |
| 1708 | 2002-07-07 Richard M. Stallman <rms@gnu.org> |
| 1709 | |
| 1710 | * xdisp.c (make_cursor_line_fully_visible): Don't try short scrolls. |
| 1711 | Instead just return 0 when there is something to be done. |
| 1712 | (try_scrolling): If make_cursor_line_fully_visible returns 0, |
| 1713 | retry scrolling as if cursor were off the bottom. |
| 1714 | (try_cursor_movement): If make_cursor_line_fully_visible returns 0, |
| 1715 | return CURSOR_MOVEMENT_MUST_SCROLL. |
| 1716 | (redisplay_window): If make_cursor_line_fully_visible returns 0, |
| 1717 | go to try_to_scroll. |
| 1718 | |
| 1719 | * buffer.c (Fbuffer_local_value): Store current value into its binding |
| 1720 | so we get the up-to-date value for the binding that is loaded. |
| 1721 | |
| 1722 | * eval.c (Fdefmacro): Doc fix. |
| 1723 | |
| 1724 | 2002-07-05 Dave Love <fx@gnu.org> |
| 1725 | |
| 1726 | * keyboard.c (read_key_sequence): Set initial_idleness_start_time |
| 1727 | correctly. |
| 1728 | |
| 1729 | * ccl.c (Vtranslation_hash_table_vector, GET_HASH_TABLE) |
| 1730 | (HASH_VALUE, CCL_LookupIntConstTbl, CCL_LookupCharConstTbl): New. |
| 1731 | (ccl_driver): Add cases for CCL_LookupIntConstTbl, |
| 1732 | CCL_LookupCharConstTbl. |
| 1733 | (syms_of_ccl): Defvar translation-hash-table-vector. |
| 1734 | |
| 1735 | 2002-07-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 1736 | |
| 1737 | * xdisp.c: Remove unused variable `face'. |
| 1738 | |
| 1739 | 2002-07-04 Juanma Barranquero <lektu@terra.es> |
| 1740 | |
| 1741 | * keyboard.c (post_command_idle_hook): Remove redundant (and inexact) |
| 1742 | obsolescence information. |
| 1743 | |
| 1744 | 2002-07-03 Andrew Choi <akochoi@shaw.ca> |
| 1745 | |
| 1746 | * macterm.c (x_list_fonts): Fix comment. Cache fonts matching |
| 1747 | pattern. Search cache first. |
| 1748 | (init_font_name_table): Also add entry for jisx0201.1976-0 coding |
| 1749 | for Japanese font. |
| 1750 | (XLoadQueryFont): Use it. |
| 1751 | |
| 1752 | 2002-07-02 Richard M. Stallman <rms@gnu.org> |
| 1753 | |
| 1754 | * keymap.c (Fdefine_key): Doc fix. |
| 1755 | |
| 1756 | * xterm.c (x_term_init): Turn off polling around XtOpenDisplay. |
| 1757 | |
| 1758 | 2002-07-02 Juanma Barranquero <lektu@terra.es> |
| 1759 | |
| 1760 | * keymap.c (syms_of_keymap): Fix typo. |
| 1761 | |
| 1762 | 2002-07-01 Andrew Choi <akochoi@shaw.ca> |
| 1763 | |
| 1764 | * s/darwin.h: Define POSIX_SIGNALS. |
| 1765 | |
| 1766 | * macterm.c (do_ae_open_documents) [MAC_OSX]: Call FSpMakeFSRef |
| 1767 | and FSRefMakePath to convert FSSpec returned with Apple Event to |
| 1768 | Posix pathname. |
| 1769 | (mac_initialize) [TARGET_API_MAC_CARBON]: |
| 1770 | Call init_required_apple_events and disable the `Quit' menu item |
| 1771 | provided automatically by the Carbon Toolbox. |
| 1772 | |
| 1773 | 2002-07-01 Dave Love <fx@gnu.org> |
| 1774 | |
| 1775 | * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal decl |
| 1776 | for K&R. |
| 1777 | |
| 1778 | * xterm.c: Fix prototype for K&R. |
| 1779 | |
| 1780 | * term.c (costs_set): Declare static, non-initialized for pcc. |
| 1781 | |
| 1782 | 2002-07-01 Richard M. Stallman <rms@gnu.org> |
| 1783 | |
| 1784 | * keyboard.c (timer_last_idleness_start_time): New variable. |
| 1785 | (timer_start_idle): Set that. |
| 1786 | (read_key_sequence): Use that to reset timer_idleness_start_time |
| 1787 | to previous value. |
| 1788 | |
| 1789 | * window.c (Frecenter): With arg, set optional_new_start. |
| 1790 | |
| 1791 | * xdisp.c (redisplay_internal): Make optional_new_start really work. |
| 1792 | |
| 1793 | * minibuf.c (Fminibuffer_complete_and_exit): Move to end of |
| 1794 | buffer for completion. |
| 1795 | |
| 1796 | 2002-06-29 Ken Raeburn <raeburn@gnu.org> |
| 1797 | |
| 1798 | * xdisp.c (store_mode_line_string): Lisp_Object/int mixup. |
| 1799 | |
| 1800 | 2002-06-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
| 1801 | |
| 1802 | * keyboard.c (readable_filtered_events): New function that filters |
| 1803 | FOCUS_IN_EVENT depending on parameter. |
| 1804 | (readable_events): Calls readable_filtered_events, not filtering |
| 1805 | FOCUS_IN_EVENT. |
| 1806 | (get_filtered_input_pending): New function, filtering parameter passed |
| 1807 | to readable_filtered_events. |
| 1808 | (get_input_pending): Calls get_filtered_input_pending, not filtering |
| 1809 | FOCUS_IN_EVENT. |
| 1810 | (Finput_pending_p): Calls get_filtered_input_pending, DO filter |
| 1811 | FOCUS_IN_EVENT. |
| 1812 | |
| 1813 | * xterm.h (struct x_output): Add focus_state. |
| 1814 | |
| 1815 | * xterm.c (x_focus_changed): New function. |
| 1816 | (x_detect_focus_change): New function. |
| 1817 | (XTread_socket): Call x_detect_focus_change for FocusIn/FocusOut |
| 1818 | EnterNotify and LeaveNotify to track X focus changes. |
| 1819 | |
| 1820 | 2002-06-28 Andreas Schwab <schwab@suse.de> |
| 1821 | |
| 1822 | * lisp.h: Remove duplicate declaration of code_convert_string_norecord. |
| 1823 | |
| 1824 | 2002-06-27 Kim F. Storm <storm@cua.dk> |
| 1825 | |
| 1826 | * xdisp.c: (mode_line_string_list, mode_line_string_face) |
| 1827 | (mode_line_string_face_prop): New variables. |
| 1828 | (store_mode_line_string): New function. |
| 1829 | (display_mode_element): Use store_mode_line_string to |
| 1830 | add mode-line string elements to mode_line_string_list |
| 1831 | when mode_line_string_list is non-nil. |
| 1832 | (Fformat_mode_line): Now returns propertized string by |
| 1833 | default. New arg NO-PROPS to ignore properties. |
| 1834 | (decode_mode_spec): Only add two dashes for %- in propertized |
| 1835 | mode-line string. |
| 1836 | (syms_of_xdisp): Init and staticpro mode_line_string_list. |
| 1837 | |
| 1838 | 2002-06-27 Stefan Monnier <monnier@cs.yale.edu> |
| 1839 | |
| 1840 | * minibuf.c (minibuffer_completion_contents): Add return type. |
| 1841 | |
| 1842 | 2002-06-27 Juanma Barranquero <lektu@terra.es> |
| 1843 | |
| 1844 | * charset.c (Fchar_bytes): Remove obsolescence info from docstring. |
| 1845 | |
| 1846 | 2002-06-26 Juanma Barranquero <lektu@terra.es> |
| 1847 | |
| 1848 | * fileio.c (read_file_name_cleanup): Add missing return. |
| 1849 | |
| 1850 | 2002-06-26 Richard M. Stallman <rms@gnu.org> |
| 1851 | |
| 1852 | * window.c (Frecenter): Don't set force_start flag. |
| 1853 | |
| 1854 | * minibuf.c (do_completion, Fminibuffer_complete_word) |
| 1855 | (Fminibuffer_completion_help): Complete just the text before point. |
| 1856 | (minibuffer_completion_contents): New function. |
| 1857 | |
| 1858 | * buffer.c (Fbury_buffer): Use frames_discard_buffer. |
| 1859 | |
| 1860 | * frame.c (frames_bury_buffer): Function deleted. |
| 1861 | |
| 1862 | 2002-06-25 Miles Bader <miles@gnu.org> |
| 1863 | |
| 1864 | * callint.c (Fcall_interactively): When checking to see if doprnt hit |
| 1865 | the end of callint_message, allow for a terminating '\0'. |
| 1866 | |
| 1867 | 2002-06-24 Juanma Barranquero <lektu@terra.es> |
| 1868 | |
| 1869 | * w32select.c: Include composite.h |
| 1870 | |
| 1871 | * w16select.c: Likewise. |
| 1872 | |
| 1873 | 2002-06-24 Kenichi Handa <handa@etl.go.jp> |
| 1874 | |
| 1875 | * callproc.c (Fcall_process): If code detection is necessary, |
| 1876 | call detect_coding directly here. |
| 1877 | |
| 1878 | * coding.c (detect_eol): Preserve coding->cmp_data. |
| 1879 | |
| 1880 | * w16select.c (Fw16_get_clipboard_data): |
| 1881 | * w32fns.c (w32_to_x_font): |
| 1882 | * w32select.c (Fw32_get_clipboard_data): |
| 1883 | * xselect.c (selection_data_to_lisp_data): |
| 1884 | * xterm.c (XTread_socket): Disable composition handling. |
| 1885 | |
| 1886 | 2002-06-24 Stefan Monnier <monnier@cs.yale.edu> |
| 1887 | |
| 1888 | * print.c (temp_output_buffer_setup): Kill all local variables. |
| 1889 | |
| 1890 | 2002-06-22 Stefan Monnier <monnier@cs.yale.edu> |
| 1891 | |
| 1892 | * lread.c (Fread): Remove redundant and imprecise declaration. |
| 1893 | |
| 1894 | * xfns.c (check_x_display_info): Use check_x_frame. |
| 1895 | |
| 1896 | * .gdbinit (xprintsym): Use the new `xname' field. |
| 1897 | (xsymbol): Use it. |
| 1898 | |
| 1899 | 2002-06-22 Jason Rumney <jasonr@gnu.org> |
| 1900 | |
| 1901 | * w32fns.c (file_dialog_callback): New function. |
| 1902 | (Fx_file_dialog): Allow selecting directories as well as files. |
| 1903 | |
| 1904 | 2002-06-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 1905 | |
| 1906 | * m/pmax.h (START_FILES): Define START_FILES for NetBSD and |
| 1907 | OpenBSD. Add support for mipseb-*-netbsd* machines. |
| 1908 | |
| 1909 | 2002-06-17 Andrew Choi <akochoi@shaw.ca> |
| 1910 | |
| 1911 | * macterm.c (mac_scroll_area): Set foreground and backcolor to |
| 1912 | black and white before scrolling. Restore frame background and |
| 1913 | foreground color after scrolling. |
| 1914 | (do_window_update): Call XClearWindow before calling expose_frame. |
| 1915 | (make_mac_frame): Don't set FRAME_BACKGROUND_PIXEL and |
| 1916 | FRAME_FOREGROUND_PIXEL of frame. |
| 1917 | |
| 1918 | * macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil, |
| 1919 | test Mac command key as <ALT> key. |
| 1920 | |
| 1921 | 2002-06-17 Stefan Monnier <monnier@cs.yale.edu> |
| 1922 | |
| 1923 | * window.c (Fset_window_configuration): Lisp_Object/int mixup. |
| 1924 | |
| 1925 | * keyboard.c (read_key_sequence): Be more careful with first_unbound. |
| 1926 | Lookup keys in function-key-map immediately so that key-translation-map |
| 1927 | can be applied earlier. |
| 1928 | Remove function_key_possible and key_translation_possible, replaced |
| 1929 | by checking `keytran_start < t'. |
| 1930 | |
| 1931 | * .gdbinit (xsymbol): Use the new `xname' field. |
| 1932 | |
| 1933 | 2002-06-17 Andrew Choi <akochoi@shaw.ca> |
| 1934 | |
| 1935 | * macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil, |
| 1936 | test Mac command key as <ALT> key. |
| 1937 | |
| 1938 | * mac.c (do_applescript): Call initialize_applescript if necessary |
| 1939 | when first called. Dispose of result_desc only when there is no error. |
| 1940 | (Fdo_applescript): Use %d format specifier instead of %ld. |
| 1941 | |
| 1942 | 2002-06-16 Andrew Choi <akochoi@shaw.ca> |
| 1943 | |
| 1944 | * macterm.c (XTread_socket): Call FrontNonFloatingWindow instead |
| 1945 | of FrontWindow for cases keyDown and autoKey. |
| 1946 | |
| 1947 | * fontset.c (syms_of_fontset) [MAC_OS]: Set ASCII font of |
| 1948 | Vdefault_fontset to Monaco with mac-roman coding. |
| 1949 | |
| 1950 | * mac.c, macfns.c, macmenu.c, macterm.c: Undefine and redefine |
| 1951 | init_process before and after inclusion of Carbon/Carbon.h, resp. |
| 1952 | |
| 1953 | * macterm.c (x_new_font): Set font for normal_gc, reverse_gc, and |
| 1954 | cursor_gc. |
| 1955 | (add_font_name_table_entry): New function. |
| 1956 | (init_font_name_table): Use add_font_name_table_entry; add italic, |
| 1957 | bold, and bold-italic entries for truetype fonts. |
| 1958 | |
| 1959 | * xfaces.c (init_frame_faces) [MAC_OS]: Call realize_basic_faces |
| 1960 | for Mac too. |
| 1961 | (try_font_list) [MAC_OS]: If no font matches given registry, try |
| 1962 | fonts with any registry matching face_family. |
| 1963 | (realize_x_face) [MAC_OS]: Remove old ad-hoc fix to load font here. |
| 1964 | |
| 1965 | * s/darwin.h: If autoconf detects the Ncurses library, define |
| 1966 | LIBS_TERMCAP to -lncurses to use it. |
| 1967 | |
| 1968 | 2002-06-16 Eli Zaretskii <eliz@is.elta.co.il> |
| 1969 | |
| 1970 | * strftime.c [__hpux]: Include sys/_mbstate_t.h. |
| 1971 | |
| 1972 | 2002-06-15 Richard M. Stallman <rms@gnu.org> |
| 1973 | |
| 1974 | * window.c (Fset_window_configuration): Explicitly preserve |
| 1975 | the point value that new_current_buffer had at the start. |
| 1976 | |
| 1977 | 2002-06-14 Juanma Barranquero <lektu@terra.es> |
| 1978 | |
| 1979 | * composite.c (Fcompose_region_internal, Fcompose_string_internal): |
| 1980 | Fix typos. |
| 1981 | |
| 1982 | 2002-06-14 Kim F. Storm <storm@cua.dk> |
| 1983 | |
| 1984 | * insdel.c (insert_1_both, insert_from_string_1) |
| 1985 | (insert_from_buffer_1): Recalculate END_UNCHANGED in case the |
| 1986 | insert happened in the end_unchanged region. Otherwise, the |
| 1987 | redisplay may be confused and duplicate the last line in the |
| 1988 | buffer [seen after save-buffer when require-final-newline==t]. |
| 1989 | |
| 1990 | 2002-06-13 Jason Rumney <jasonr@gnu.org> |
| 1991 | |
| 1992 | * w32.c (init_environment): Remove EMACSLOCKDIR. |
| 1993 | (stat): Swap _S_IFDIR and _S_IFREG. |
| 1994 | |
| 1995 | 2002-06-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 1996 | |
| 1997 | * keyboard.c, macterm.c, macmenu.c, msdos.c, sysdep.c |
| 1998 | * termhooks.h, xmenu.c, xsmfns.c, xterm.h, xterm.c, w32term.c, |
| 1999 | * w32menu.c, w32inevt.c: Rename enum event_kind as follows: |
| 2000 | ascii_keystroke to ASCII_KEYSTROKE_EVENT, multibyte_char_keystroke |
| 2001 | to MULTIBYTE_CHAR_KEYSTROKE_EVENT, non_ascii_keystroke to |
| 2002 | NON_ASCII_KEYSTROKE_EVENT, timer_event to TIMER_EVENT, mouse_click |
| 2003 | to MOUSE_CLICK_EVENT, mouse_wheel to MOUSE_WHEEL_EVENT, |
| 2004 | language_change_event to LANGUAGE_CHANGE_EVENT, scroll_bar_click |
| 2005 | to SCROLL_BAR_CLICK_EVENT, w32_scroll_bar_click to |
| 2006 | W32_SCROLL_BAR_CLICK_EVENT, selection_request_event to |
| 2007 | SELECTION_REQUEST_EVENT, selection_clear_event to |
| 2008 | SELECTION_CLEAR_EVENT, buffer_sw |
| 2009 | |
| 2010 | 2002-04-01 Stefan Monnier <monnier@cs.yale.edu> |
| 2011 | |
| 2012 | * region-cache.c (new_region_cache): Use BEG. |
| 2013 | |
| 2014 | * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos): |
| 2015 | Use BEG and BEG_BYTE. |
| 2016 | |
| 2017 | * doc.c (get_doc_string): Return nil if the location is wrong. |
| 2018 | (reread_doc_file): New fun. |
| 2019 | (Fdocumentation, Fdocumentation_property): |
| 2020 | Call it if get_doc_string fails. |
| 2021 | (Fsnarf_documentation): Make it work for a dumped Emacs. |
| 2022 | |
| 2023 | * charset.h (DEC_POS, BUF_DEC_POS): Use BEG_BYTE. |
| 2024 | Bound the search with MAX_MULTIBYTE_LENGTH to avoid pathological case. |
| 2025 | |
| 2026 | * charset.c (Fstring): Allow 0 arguments. |
| 2027 | |
| 2028 | * xterm.c (XTread_socket): Fix int/Lisp_Object confusion. |
| 2029 | |
| 2030 | * process.c (DATAGRAM_CONN_P, list_processes_1) |
| 2031 | (Fprocess_datagram_address, Fset_process_datagram_address) |
| 2032 | (Fset_network_process_options, server_accept_connection): |
| 2033 | Fix some int/Lisp_Object confusions (thank you union types). |
| 2034 | |
| 2035 | 2002-04-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 2036 | |
| 2037 | * msdos.c: Rename x_autoselect_window_p to autoselect_window_p. |
| 2038 | |
| 2039 | * w32term.c: Likewise. |
| 2040 | (note_mouse_movement): Put code for x_autoselect_window_p in #if 0. |
| 2041 | |
| 2042 | * keyboard.c (Qselect_window): New symbol. |
| 2043 | (head_table): Use it. |
| 2044 | (keys_of_keyboard): Bound select-window event to handle-select-window. |
| 2045 | (kbd_buffer_get_event): Make a Lisp event from SELECT_WINDOW_EVENT. |
| 2046 | |
| 2047 | * xterm.c: Rename x_autoselect_window_p to autoselect_window_p. |
| 2048 | (last_window): New variable. |
| 2049 | (XTread_socket): Generate SELECT_WINDOW_EVENTs. |
| 2050 | (note_mouse_movement): Remove reimplemented code in #if 0. |
| 2051 | (XTread_socket): Generate SELECT_WINDOW_EVENTs only for |
| 2052 | Emacs windows. |
| 2053 | |
| 2054 | * termhooks.h (enum event_kind): New event type `SELECT_WINDOW_EVENT'. |
| 2055 | |
| 2056 | 2002-03-31 Gerd Moellmann <gerd@gnu.org> |
| 2057 | |
| 2058 | * xterm.c (x_get_char_face_and_encoding): Add parameter DISPLAY_P. |
| 2059 | Callers changed. |
| 2060 | |
| 2061 | 2002-03-30 Richard M. Stallman <rms@gnu.org> |
| 2062 | |
| 2063 | * window.c (window_scroll_pixel_based): Exit the move_it_by_lines |
| 2064 | loop whenever it stops making progress. |
| 2065 | |
| 2066 | * widget.c (set_frame_size): Don't call change_frame_size. |
| 2067 | |
| 2068 | 2002-03-30 Gerd Moellmann <gerd@gnu.org> |
| 2069 | |
| 2070 | * dispnew.c (direct_output_for_insert): |
| 2071 | Call mark_window_display_accurate. |
| 2072 | |
| 2073 | 2002-03-29 Jason Rumney <jasonr@gnu.org> |
| 2074 | |
| 2075 | * w32term.c (w32_draw_relief_rect): Fix calculations of line lengths. |
| 2076 | |
| 2077 | 2002-03-29 Eli Zaretskii <eliz@is.elta.co.il> |
| 2078 | |
| 2079 | * Makefile.in (lread.o): Depend on coding.h. |
| 2080 | |
| 2081 | * lread.c (openp, Fload): Encode the file name before passing it |
| 2082 | to `stat', `access', and `emacs_open'. |
| 2083 | (openp): GCPRO the encoded file name. Don't recompute Lisp |
| 2084 | strings unnecessarily. |
| 2085 | |
| 2086 | 2002-03-29 Kim F. Storm <storm@cua.dk> |
| 2087 | |
| 2088 | * fns.c (Flax_plist_put): Doc fix. |
| 2089 | |
| 2090 | 2002-03-28 Miles Bader <miles@gnu.org> |
| 2091 | |
| 2092 | * process.c (DATAGRAM_CONN_P): Make sure PROC is really a process. |
| 2093 | |
| 2094 | 2002-03-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 2095 | |
| 2096 | * process.c (set-network-process-options): Add usage. |
| 2097 | (make-network-process): Doc fix. |
| 2098 | |
| 2099 | 2002-03-26 Eli Zaretskii <eliz@is.elta.co.il> |
| 2100 | |
| 2101 | * emacs.c (Fdump_emacs): Fix a typo in "command-line-processed". |
| 2102 | |
| 2103 | 2002-03-26 Richard M. Stallman <rms@gnu.org> |
| 2104 | |
| 2105 | * fns.c (Fsubstring_no_properties): New function. |
| 2106 | (Flax_plist_get, Flax_plist_put): New functions. |
| 2107 | (syms_of_fns): defsubr them. |
| 2108 | |
| 2109 | * xdisp.c (update_menu_bar): Test only update_mode_lines; |
| 2110 | don't test or alter w->update_mode_line. |
| 2111 | |
| 2112 | * window.c (Fdisplay_buffer): Doc fix. |
| 2113 | |
| 2114 | 2002-03-24 Richard M. Stallman <rms@gnu.org> |
| 2115 | |
| 2116 | * regex.c (GET_UNSIGNED_NUMBER): Give proper error for spaces. |
| 2117 | |
| 2118 | 2002-03-24 Gerd Moellmann <gerd@gnu.org> |
| 2119 | |
| 2120 | * eval.c (Qdeclare, Vmacro_declaration_function): New variables. |
| 2121 | (Fdefmacro): Handle `(declare ...)'. |
| 2122 | (syms_of_eval) <Qdeclare>: Initialize and staticpro. |
| 2123 | (syms_of_eval) <Vmacro_declaration_function>: DEFVAR_LISP. |
| 2124 | |
| 2125 | 2002-03-24 Jason Rumney <jasonr@gnu.org> |
| 2126 | |
| 2127 | * w32fns.c (xbm_scan, xbm_load_image, xbm_read_bitmap_data) |
| 2128 | (xbm_file_p): Add prototypes. |
| 2129 | (xbm_format, xbm_image_p): Sync with xfns.c. |
| 2130 | (reflect_byte): New function. |
| 2131 | (xbm_read_bitmap_data): Sync with xfns.c, adapt for Windows. |
| 2132 | (xbm_load_image): Create bitmaps with a depth of 1. |
| 2133 | (init_xfns): Enable XBM images. |
| 2134 | |
| 2135 | 2002-03-23 Jason Rumney <jasonr@gnu.org> |
| 2136 | |
| 2137 | * w32term.c (w32_handle_tool_bar_click): Detect up and down events |
| 2138 | correctly. Do not pass up_modifier to keyboard buffer. |
| 2139 | |
| 2140 | * w32fns.c [HAVE_IMAGES, HAVE_PBM]: Remove conditionals. |
| 2141 | |
| 2142 | 2002-03-22 Stefan Monnier <monnier@cs.yale.edu> |
| 2143 | |
| 2144 | * Makefile.in (bootstrapclean): New target. |
| 2145 | (bootstrap-temacs, bootstrap-doc): Remove. |
| 2146 | (bootstrap-emacs): Use a bog-standard `temacs'. |
| 2147 | Don't bother to build a DOC file. |
| 2148 | |
| 2149 | * sysdep.c (wait_for_termination): Use sigsuspend rather than sigpause. |
| 2150 | |
| 2151 | * emacs.c (main): Handle --unibyte, --multibyte, and --no-loadup |
| 2152 | in temacs even if !CANNOT_DUMP. |
| 2153 | (standard_args): Keep --no-loadup even if !CANNOT_DUMP. |
| 2154 | |
| 2155 | * alloc.c (check_pure_size): Only output a warning. |
| 2156 | |
| 2157 | 2002-03-22 Jason Rumney <jasonr@gnu.org> |
| 2158 | |
| 2159 | * w32fns.c (Fx_create_frame): Enable tool-bar when images are |
| 2160 | supported. |
| 2161 | |
| 2162 | * w32term.c (zv_bits): Declare as short, for word alignment. |
| 2163 | (w32_read_socket) <WM_XBUTTONUP>: Fix last change. |
| 2164 | (syms_of_w32term): Define x-use-underline-position-properties. |
| 2165 | |
| 2166 | * w32fns.c (x_set_cursor_color): Set cursor_gc as well. |
| 2167 | (clear_image_cache): Block input, fix logic, clear matrices in |
| 2168 | all frames that share this cache. |
| 2169 | |
| 2170 | 2002-03-22 Eli Zaretskii <eliz@is.elta.co.il> |
| 2171 | |
| 2172 | * emacs.c (main): Update the Copyright year in the blurb printed |
| 2173 | by "emacs --version". |
| 2174 | |
| 2175 | * xdisp.c (message_with_string): Fix syntax of a call to GCPRO2. |
| 2176 | |
| 2177 | * xterm.c (XTread_socket): If XK_ISO_Lock and |
| 2178 | XK_ISO_Last_Group_Lock are defined, handle keysyms between |
| 2179 | XK_ISO_Lock and XK_ISO_Last_Group_Lock similarly to Mode_switch. |
| 2180 | |
| 2181 | 2002-03-21 Kim F. Storm <storm@cua.dk> |
| 2182 | |
| 2183 | * keyboard.c (menu_bar_items): Mostly undo 2002-02-20 patch, so |
| 2184 | menu-bar bindings in keymap and local-map properties _are_ used. |
| 2185 | But try keymap property first in accordance with 2002-01-03 patch. |
| 2186 | Added comment describing why this is not always reliable. |
| 2187 | (tool_bar_items): Ditto for tool-bar. |
| 2188 | |
| 2189 | 2002-03-21 Jason Rumney <jasonr@gnu.org> |
| 2190 | |
| 2191 | * w32fns.c (x_clear_image_1): Disable color table code. |
| 2192 | |
| 2193 | 2002-03-21 Kim F. Storm <storm@cua.dk> |
| 2194 | |
| 2195 | * lisp.h (DEFUN) [USE_NONANSI_DEFUN]: The 2001-10-17 patch |
| 2196 | removed the wrong version of the DEFUN macro; fixed it. |
| 2197 | |
| 2198 | * fns.c (Ffeaturep): Allow subfeature to be a list (test using |
| 2199 | Fmember rather than Fmemq). |
| 2200 | (Fprovide): Check that subfeatures is a list. |
| 2201 | |
| 2202 | * process.c (QCfeature, QCdatagram): Removed variables. |
| 2203 | (QCtype, Qdatagram): New variables. |
| 2204 | (network_process_featurep): Removed function. |
| 2205 | (Fmake_network_process): Removed :feature check. |
| 2206 | Use :type 'datagram instead of :datagram t to create a datagram |
| 2207 | socket. This allows us to add other connection types (e.g. raw |
| 2208 | sockets) later in a consistent manner. |
| 2209 | (init_process) [subprocess, HAVE_SOCKETS]: Provide list of |
| 2210 | supported subfeatures for feature make-network-process. |
| 2211 | (syms_of_process) [subprocess]: Remove QCfeature and QCdatagram. |
| 2212 | Intern and staticpro QCtype and Qdatagram. |
| 2213 | (syms_of_process) [!subprocess]: Intern and staticpro QCtype. |
| 2214 | |
| 2215 | * xfns.c: (QCtype): Remove duplicate declaration and |
| 2216 | initialization (is now declared in process.c). |
| 2217 | |
| 2218 | * w32fns.c: (QCtype): Remove duplicate declaration and |
| 2219 | initialization (is now declared in process.c). |
| 2220 | |
| 2221 | 2002-03-21 Richard M. Stallman <rms@gnu.org> |
| 2222 | |
| 2223 | * regex.c (DISCARD_FAILURE_REG_OR_COUNT): New macro. |
| 2224 | (CHECK_INFINITE_LOOP): Use DISCARD_FAILURE_REG_OR_COUNT |
| 2225 | when jumping to `fail' to avoid undoing reg changes in the |
| 2226 | last iteration of the loop. |
| 2227 | (GET_UNSIGNED_NUMBER): Skip spaces around the number. |
| 2228 | |
| 2229 | * Makefile.in (dispnew.o, sysdep.o, xdisp.o, xselect.o, alloc.o): |
| 2230 | Depend on process.h. |
| 2231 | |
| 2232 | 2002-03-20 Jason Rumney <jasonr@gnu.org> |
| 2233 | |
| 2234 | Most of the following changes are still conditional on HAVE_IMAGES |
| 2235 | which is not set by default on Windows. |
| 2236 | |
| 2237 | * emacs.c (main) [WINDOWSNT]: Call init_xfns. |
| 2238 | |
| 2239 | * w32fns.c (x_set_cursor_color): Set foreground of cursor, not frame. |
| 2240 | (Fimage_size, Fimage_mask_p, XPutPixel): New functions. |
| 2241 | (four_corners_best, x_clear_image_1, x_clear_image) |
| 2242 | (x_alloc_image_color, postprocess_image) |
| 2243 | (x_create_x_image_and_pixmap, x_destroy_x_image, xbm_load_image) |
| 2244 | (x_from_x_colors, x_disable_image, pbm_load): Adapt for Windows. |
| 2245 | (init_xfns, syms_of_w32fns): Initialize image functions and constants. |
| 2246 | |
| 2247 | * w32gui.h (struct XImage): Define. |
| 2248 | |
| 2249 | * w32term.c (w32_read_socket) <WM_XBUTTONUP>: Use XFASTINT to |
| 2250 | extract mouse co-ordinates. |
| 2251 | |
| 2252 | 2002-03-20 Jason Rumney <jasonr@gnu.org> |
| 2253 | |
| 2254 | * w32.c (init_winsock): Dynamically load new server and UDP |
| 2255 | socket functions. |
| 2256 | (socket_to_fd): New function. |
| 2257 | (sys_socket): Use it. |
| 2258 | (sys_setsockopt, sys_listen, sys_getsockname, sys_accept) |
| 2259 | (sys_recvfrom, sys_sendto): New wrapper functions. |
| 2260 | |
| 2261 | * process.c (QCfamily, QCfilter): Remove duplicate declaration |
| 2262 | and initialization. |
| 2263 | |
| 2264 | * makefile.w32-in (LIBS): Remove $(WSOCK32). |
| 2265 | |
| 2266 | 2002-03-20 Eli Zaretskii <eliz@is.elta.co.il> |
| 2267 | |
| 2268 | * process.c (conv_sockaddr_to_lisp, conv_lisp_to_sockaddr): |
| 2269 | Don't use "sun" as a variable, it's a predefined constant on Sun |
| 2270 | machines. |
| 2271 | |
| 2272 | 2002-03-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 2273 | |
| 2274 | * bytecode.c (Fbyte_code): Revert last change. |
| 2275 | |
| 2276 | 2002-03-19 Kim F. Storm <storm@cua.dk> |
| 2277 | |
| 2278 | * makefile.w32-in (LIBS): Add $(WSOCK32). |
| 2279 | From David Ponce <dponce@voila.fr>. |
| 2280 | |
| 2281 | 2002-03-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 2282 | |
| 2283 | * process.c (wait_reading_process_input): Move variables `pname' |
| 2284 | and `pnamelen' down where they are used. |
| 2285 | |
| 2286 | * bytecode.c (Fbyte_code): Discard unused computed value to |
| 2287 | prevent gcc warning. |
| 2288 | |
| 2289 | * lisp.h (Fplist_member): Add prototype. |
| 2290 | |
| 2291 | 2002-03-18 Kim F. Storm <storm@cua.dk> |
| 2292 | |
| 2293 | * config.in: Add HAVE_SENDTO, HAVE_RECVFROM, HAVE_SETSOCKOPT, |
| 2294 | HAVE_GETSOCKOPT, HAVE_GETPEERNAME, HAVE_GETSOCKNAME, and HAVE_SYS_UN_H. |
| 2295 | |
| 2296 | * process.c: Define HAVE_LOCAL_SOCKETS based on HAVE_SYS_UN_H. |
| 2297 | Remove explicit GNU_LINUX settings for datagram support. |
| 2298 | |
| 2299 | 2002-03-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 2300 | |
| 2301 | * process.c (Fmake_network_process): Remove unused variable `sa'. |
| 2302 | Doc fix. Add usage:. |
| 2303 | (set_socket_options): Remove unused variables `optnum' and `opttype'. |
| 2304 | |
| 2305 | 2002-03-17 Richard M. Stallman <rms@gnu.org> |
| 2306 | |
| 2307 | * xdisp.c (cursor_type_changed): New variable. |
| 2308 | (redisplay_internal): Redisplay all windows if cursor_type_changed. |
| 2309 | Clear it when clearing windows_or_buffers_changed. |
| 2310 | (try_cursor_movement, redisplay_window, try_window_id) |
| 2311 | (try_window_reusing_current_matrix): Test cursor_type_changed |
| 2312 | along with windows_or_buffers_changed. |
| 2313 | |
| 2314 | * window.h (cursor_type_changed): New variable. |
| 2315 | |
| 2316 | * xfns.c (x_set_cursor_type): Set cursor_type_changed, |
| 2317 | not update_mode_lines, and always set it to 1. |
| 2318 | |
| 2319 | * xdisp.c (clear_garbaged_frames): Don't set windows_or_buffers_changed |
| 2320 | if no frames needed redrawing. |
| 2321 | |
| 2322 | 2002-03-17 Kim F. Storm <storm@cua.dk> |
| 2323 | |
| 2324 | The following changes add support for network server processes, |
| 2325 | datagram connections, and local (unix) sockets. |
| 2326 | |
| 2327 | * process.h (struct Lisp_Process): New member log. |
| 2328 | Doc fix: Member command used to indicate stopped network process. |
| 2329 | Doc fix: Member childp contains plist for network process. |
| 2330 | Doc fix: Member kill_without_query is inverse of query-on-exit flag. |
| 2331 | |
| 2332 | * process.c (Qlocal, QCname, QCbuffer, QChost, QCservice, QCfamily) |
| 2333 | (QClocal, QCremote, QCserver, QCdatagram, QCnowait, QCnoquery,QCstop) |
| 2334 | (QCcoding, QCoptions, QCfilter, QCsentinel, QClog, QCfeature): |
| 2335 | New variables. |
| 2336 | (NETCONN1_P): New macro. |
| 2337 | (DATAGRAM_SOCKETS): New conditional symbol. |
| 2338 | (datagram_address): New array. |
| 2339 | (DATAGRAM_CONN_P, DATAGRAM_CHAN_P): New macros. |
| 2340 | (status_message): Use concat3. |
| 2341 | (Fprocess_status): Add `listen' status to doc string. Return `stop' |
| 2342 | for a stopped network process. |
| 2343 | (Fset_process_buffer): Update contact plist for network process. |
| 2344 | (Fset_process_filter): Ditto. Don't enable input for stopped |
| 2345 | network processes. Server must listen, even if filter is t. |
| 2346 | (Fset_process_query_on_exit_flag, Fprocess_query_on_exit_flag): |
| 2347 | New functions. |
| 2348 | (Fprocess_kill_without_query): Removed. Now defined in simple.el. |
| 2349 | (Fprocess_contact): Added KEY argument. Handle datagrams. |
| 2350 | (list_processes_1): Optionally show only processes with the query |
| 2351 | on exit flag set. Dynamically adjust column widths. Omit tty |
| 2352 | column if not needed. Report stopped network processes. |
| 2353 | Identify server and datagram network processes. |
| 2354 | (Flist_processes): New optional arg `query-only'. |
| 2355 | (conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size) |
| 2356 | (conv_lisp_to_sockaddr, set_socket_options) |
| 2357 | (network_process_featurep, unwind_request_sigio): New helper functions. |
| 2358 | (Fprocess_datagram_address, Fset_process_datagram_address): |
| 2359 | (Fset_network_process_options): New lisp functions. |
| 2360 | (Fopen_network_stream): Removed. Now defined in simple.el. |
| 2361 | (Fmake_network_process): New lisp function. Code is based on previous |
| 2362 | Fopen_network_stream, but heavily reworked with new property list based |
| 2363 | argument list, support for datagrams, server processes, and local |
| 2364 | sockets in addition to old client-only functionality. |
| 2365 | (server_accept_connection): New function. |
| 2366 | (wait_reading_process_input): Use it to handle incoming connects. |
| 2367 | Do not enable input on a new connection if process is stopped. |
| 2368 | (read_process_output): Handle datagram sockets. Use 2k buffer for them. |
| 2369 | (send_process): Handle datagram sockets. |
| 2370 | (Fstop_process, Fcontinue_process): Apply to network processes. A stopped |
| 2371 | network process is indicated by setting command field to t . |
| 2372 | (Fprocess_send_eof): No-op if datagram connection. |
| 2373 | (Fstatus_notify): Don't read input for a stream server socket or a |
| 2374 | stopped network process. |
| 2375 | (init_process): Initialize datagram_address array. |
| 2376 | (syms_of_process): Intern and staticpro new variables, defsubr new |
| 2377 | functions. |
| 2378 | |
| 2379 | 2002-03-16 Jason Rumney <jasonr@gnu.org> |
| 2380 | |
| 2381 | * w32fns.c (w32_to_all_x_charsets): Return correct type in |
| 2382 | startup case. |
| 2383 | |
| 2384 | 2002-03-16 Richard M. Stallman <rms@gnu.org> |
| 2385 | |
| 2386 | * xdisp.c (redisplay_internal, redisplay_windows): |
| 2387 | Use list_of_error to call internal_condition_case_1. |
| 2388 | (safe_eval, safe_call): Pass Qt to internal_condition_case_{1,2} |
| 2389 | so as to catch all errors with no possibility of debugger redisplay. |
| 2390 | (list_of_error): New variable. |
| 2391 | (syms_of_xdisp): Init and staticpro it. |
| 2392 | |
| 2393 | * print.c (print_object): Delete `\ ' from printed rep of frame. |
| 2394 | |
| 2395 | 2002-03-15 Eli Zaretskii <eliz@is.elta.co.il> |
| 2396 | |
| 2397 | * msdos.c (dos_rawgetc): Disable the x-autoselect-window feature, |
| 2398 | until its implementation is fixed. |
| 2399 | |
| 2400 | 2002-03-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 2401 | |
| 2402 | * xfns.c (png_load): Remove unused variable `gamma_str'. |
| 2403 | |
| 2404 | 2002-03-14 Richard M. Stallman <rms@gnu.org> |
| 2405 | |
| 2406 | * xfns.c (x_real_positions): Handle failure in XQueryTree. |
| 2407 | |
| 2408 | 2002-03-14 Miles Bader <miles@gnu.org> |
| 2409 | |
| 2410 | * intervals.c (adjust_for_invis_intang): New function. |
| 2411 | (set_point_both): Use `adjust_for_invis_intang' to do most of the |
| 2412 | work for dealing with invisible+intangible regions. Do so before |
| 2413 | and after both forward and backward movements, to handle both |
| 2414 | front-sticky and rear-sticky cases. |
| 2415 | * textprop.c (text_property_stickiness): Function moved here from |
| 2416 | `editfns.c'. |
| 2417 | * intervals.h (text_property_stickiness): New declaration. |
| 2418 | * editfns.c (char_property_eq): Function removed. |
| 2419 | (text_property_stickiness): Function moved to `textprop.c'. |
| 2420 | |
| 2421 | 2002-03-13 Jason Rumney <jasonr@gnu.org> |
| 2422 | |
| 2423 | * config.in: Add STRFTIME_NO_POSIX2. |
| 2424 | |
| 2425 | * strftime.c (my_strftime) [STRFTIME_NO_POSIX2]: Handle %h, %EX |
| 2426 | and %OX when underlying strftime does not. |
| 2427 | |
| 2428 | 2002-03-13 Stefan Monnier <monnier@cs.yale.edu> |
| 2429 | |
| 2430 | * xterm.c (x_set_toolkit_scroll_bar_thumb) <USE_MOTIF>: |
| 2431 | Use a fixed-size thumb (based on an ad-hoc estimate of 30 chars per |
| 2432 | line) to avoid annoying flicker. |
| 2433 | (xm_scroll_callback): Get rid of the now unnecessary kludge. |
| 2434 | (XTread_socket): Mark it static. |
| 2435 | |
| 2436 | * xdisp.c (display_mode_element): Fix int/Lisp_Object mixup. |
| 2437 | |
| 2438 | 2002-03-13 Kim F. Storm <storm@cua.dk> |
| 2439 | |
| 2440 | * puresize.h (BASE_PURESIZE): Increase to 775000. |
| 2441 | |
| 2442 | 2002-03-12 Juanma Barranquero <lektu@terra.es> |
| 2443 | |
| 2444 | * editfns.c (syms_of_editfns): Fix typo. |
| 2445 | |
| 2446 | 2002-03-12 Gerd Moellmann <gerd@gnu.org> |
| 2447 | |
| 2448 | * xsmfns.c: Include stdio.h because termhooks.h needs it. |
| 2449 | Include termopt.h for interrupt_input. |
| 2450 | |
| 2451 | 2002-03-11 Andreas Schwab <schwab@suse.de> |
| 2452 | |
| 2453 | * coding.c (syms_of_coding) <file-coding-system-alist>: Doc fix. |
| 2454 | |
| 2455 | 2002-03-11 Gerd Moellmann <gerd@gnu.org> |
| 2456 | |
| 2457 | * xterm.c (note_mouse_movement): Put code for |
| 2458 | x_autoselect_window_p in #if 0. |
| 2459 | |
| 2460 | * lread.c (Fload): Don't assume that message_with_string uses the |
| 2461 | string it is given like a C string. |
| 2462 | |
| 2463 | 2002-03-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
| 2464 | |
| 2465 | * xterm.h (x_session_check_input, x_sess |
| 2466 | |
| 2467 | * xdisp.c (automatic_hscroll_margin, Vautomatic_hscroll_step): |
| 2468 | New variables. |
| 2469 | (syms_of_xdisp): DEVFAR them. |
| 2470 | (hscroll_window_tree): Use automatic_hscroll_margin and |
| 2471 | Vautomatic_hscroll_step to compute the amount of window scrolling. |
| 2472 | |
| 2473 | 2002-02-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 2474 | |
| 2475 | * xterm.c (x-autoselect-window): New variable. |
| 2476 | (note_mouse_movement): Use it. |
| 2477 | |
| 2478 | * keyboard.c: Do not include "systime.h" twice. |
| 2479 | |
| 2480 | 2002-02-15 Andreas Schwab <schwab@suse.de> |
| 2481 | |
| 2482 | * puresize.h (BASE_PURESIZE): Increase to 9/5. |
| 2483 | |
| 2484 | * alloc.c (NSTATICS): Increase to 1280. |
| 2485 | |
| 2486 | 2002-02-15 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> |
| 2487 | |
| 2488 | * alloc.c (NSTATICS): Bump to 1026. |
| 2489 | |
| 2490 | * xterm.c (Vx_alt_keysym, Vx_hyper_keysym, Vx_meta_keysym) |
| 2491 | (Vx_super_keysym): New variables. |
| 2492 | (syms_of_xterm): DEFVAR_LISP them. |
| 2493 | (x_x_to_emacs_modifiers, x_emacs_to_x_modifiers): Use the |
| 2494 | variables to determine which keys to use for the various modifiers. |
| 2495 | |
| 2496 | 2002-02-13 Kim F. Storm <storm@cua.dk> |
| 2497 | |
| 2498 | * window.c: (Vmode_line_in_non_selected_windows): Removed. |
| 2499 | (mode_line_in_non_selected_windows): New variable. |
| 2500 | (syms_of_window): DEFVAR_BOOL it. |
| 2501 | |
| 2502 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): |
| 2503 | Use mode_line_in_non_selected_windows. |
| 2504 | (mode_line_in_non_selected_windows): Declare extern. |
| 2505 | (Vmode_line_in_non_selected_windows): Removed extern. |
| 2506 | |
| 2507 | 2002-02-13 Richard M. Stallman <rms@gnu.org> |
| 2508 | |
| 2509 | * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector) |
| 2510 | (Fthis_single_command_keys, Fthis_single_command_raw_keys) |
| 2511 | (Fclear_this_command_keys): Doc fixes. |
| 2512 | |
| 2513 | * xfaces.c (Finternal_make_lisp_face, Finternal_copy_lisp_face) |
| 2514 | (update_face_from_frame_parameter): Increment face_change_count |
| 2515 | and windows_or_buffers_changed to force redisplay using changed faces. |
| 2516 | |
| 2517 | * xdisp.c (QCpropertize): New variable. |
| 2518 | (mode_line_proptrans_alist): New variable. |
| 2519 | (display_mode_element): New arg PROPS; all calls changed. |
| 2520 | Implement this, for strings. |
| 2521 | Handle literal output of strings by sharing the |
| 2522 | main-line code for strings, using local var `literal'. |
| 2523 | Handle :propertize feature. |
| 2524 | (syms_of_xdisp): Initialze and staticpro QCpropertize and |
| 2525 | mode_line_proptrans_alist. |
| 2526 | |
| 2527 | 2002-02-11 Kim F. Storm <storm@cua.dk> |
| 2528 | |
| 2529 | * window.c: (Vmode_line_in_non_selected_windows): New variable. |
| 2530 | (syms_of_window): DEFVAR_LISP it. |
| 2531 | |
| 2532 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): New macro. |
| 2533 | (CURRENT_MODE_LINE_FACE_ID): Use it. |
| 2534 | (Vmode_line_in_non_selected_windows): Declare extern. |
| 2535 | |
| 2536 | * xdisp.c (display_mode_lines): Use CURRENT_MODE_LINE_FACE_ID_3 |
| 2537 | to get mode line face. |
| 2538 | |
| 2539 | 2002-02-11 Eli Zaretskii <eliz@is.elta.co.il> |
| 2540 | |
| 2541 | * msdos.c (Vx_bitmap_file_path, x_stretch_cursor_p): Remove these |
| 2542 | variables; cus-start.el doesn't need them anymore. |
| 2543 | |
| 2544 | 2002-02-09 Kim F. Storm <storm@cua.dk> |
| 2545 | |
| 2546 | * insdel.c (make_gap_smaller): Preserve BEG_UNCHANGED during gap |
| 2547 | reduction. This fixes a display problem where stray newlines were |
| 2548 | inserted in the window (corrected by C-l). Clarified code (IMHO). |
| 2549 | |
| 2550 | 2002-02-09 Eli Zaretskii <eliz@is.elta.co.il> |
| 2551 | |
| 2552 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID): Fix last change. |
| 2553 | |
| 2554 | * xdisp.c (display_mode_lines): Fix last change. |
| 2555 | |
| 2556 | 2002-02-09 Jason Rumney <jasonr@gnu.org> |
| 2557 | |
| 2558 | * w32fns.c (enum_font_cb2): Don't let charsets unknown to Windows |
| 2559 | match each other. |
| 2560 | (w32_load_system_font): Prevent Cleartype fonts from loading. |
| 2561 | (Fx_show_tip): Ensure tip frames are above other topmost windows. |
| 2562 | |
| 2563 | 2002-02-09 Kim F. Storm <storm@cua.dk> |
| 2564 | |
| 2565 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID): New macro. |
| 2566 | (CURRENT_MODE_LINE_HEIGHT): Use it. |
| 2567 | (enum face_id): Add MODE_LINE_INACTIVE_FACE_ID. |
| 2568 | |
| 2569 | * xdisp.c (window_box_height): Use CURRENT_MODE_LINE_FACE_ID. |
| 2570 | (pos_visible_p, handle_face_prop): Likewise. |
| 2571 | (display_mode_lines): Likewise, but for the real selected window. |
| 2572 | (init_iterator) [row == NULL]: Handle MODE_LINE_INACTIVE_FACE_ID. |
| 2573 | |
| 2574 | * xfaces.c (Qmode_line_inactive): New face variable for mode-line |
| 2575 | in non-selected windows. |
| 2576 | (realize_basic_faces): Realize it. |
| 2577 | (syms_of_term): Intern and staticpro it. |
| 2578 | |
| 2579 | 2002-02-08 Kim F. Storm <storm@cua.dk> |
| 2580 | |
| 2581 | * alloc.c (SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK): |
| 2582 | Changed mail addresses to emacs-devel@gnu.org. |
| 2583 | |
| 2584 | 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il> |
| 2585 | |
| 2586 | * fileio.c (Fsubstitute_in_file_name): If the file name includes |
| 2587 | ~user, and there's no such user, don't discard everything before ~user. |
| 2588 | |
| 2589 | * floatfns.c (Fround): Doc fix. |
| 2590 | |
| 2591 | 2002-02-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 2592 | |
| 2593 | * sysdep.c (init_system_name): Put unused variable `p' in #if 0. |
| 2594 | |
| 2595 | 2002-02-07 Stefan Monnier <monnier@cs.yale.edu> |
| 2596 | |
| 2597 | * lisp.h (Fx_file_dialog): Add extern decl (used in fileio.c). |
| 2598 | |
| 2599 | 2002-02-07 Kim F. Storm <storm@cua.dk> |
| 2600 | |
| 2601 | * keymap.c (where_is_internal): Only check whether definition is |
| 2602 | remapped if it fulfills is_command_symbol. |
| 2603 | |
| 2604 | 2002-02-07 Andreas Schwab <schwab@suse.de> |
| 2605 | |
| 2606 | * s/gnu-linux.h (GC_LISP_OBJECT_ALIGNMENT): Define to 2 for m68k. |
| 2607 | |
| 2608 | * alloc.c (mark_stack): Don't assume sizeof (Lisp_Object) is 4. |
| 2609 | |
| 2610 | 2002-02-06 Kim F. Storm <storm@cua.dk> |
| 2611 | |
| 2612 | * keymap.c (Fdefine_key): Allow symbol as KEY argument for |
| 2613 | defining command remapping. Doc updated. |
| 2614 | (Flookup_key): Remap command through keymap if KEY is a symbol. |
| 2615 | (is_command_symbol): New function. |
| 2616 | (Fkey_binding): Use it. New optional argument NO-REMAP. |
| 2617 | Doc updated. Callers changed. Perform command remapping via |
| 2618 | recursive call unless that arg is non-nil. |
| 2619 | (where_is_internal): New argument no_remap. Callers changed. |
| 2620 | Call recursively to find original key bindings for a remapped |
| 2621 | comand unless that arg is non-nil. |
| 2622 | (Fwhere_is_internal): New optional argument NO-REMAP. |
| 2623 | Doc updated. Callers changed. Pass arg to where_is_internal. |
| 2624 | |
| 2625 | * keymap.h (Fkey_binding, Fwhere_is_internal): Update prototype. |
| 2626 | (is_command_symbol): Added prototype. |
| 2627 | |
| 2628 | * keyboard.c (Vthis_original_command): New variable. |
| 2629 | (syms_of_keyboard): DEFVAR_LISP it. |
| 2630 | (command_loop_1): Set it, and perform command remapping. |
| 2631 | |
| 2632 | 2002-02-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 2633 | |
| 2634 | * keyboard.c (recursive_edit_1): Call cancel_hourglass unconditionally. |
| 2635 | |
| 2636 | 2002-02-06 Jason Rumney <jasonr@gnu.org> |
| 2637 | |
| 2638 | * w32term.c (w32_native_per_char_metric): Disable 2002-01-20 change. |
| 2639 | |
| 2640 | 2002-02-06 Eli Zaretskii <eliz@is.elta.co.il> |
| 2641 | |
| 2642 | * charset.c (get_charset_id): Use if-else instead of ?:. |
| 2643 | |
| 2644 | 2002-02-06 Richard M. Stallman <rms@gnu.org> |
| 2645 | |
| 2646 | * filelock.c (S_ISLNK): Define if not defined. |
| 2647 | |
| 2648 | 2002-02-03 Richard M. Stallman <rms@gnu.org> |
| 2649 | |
| 2650 | * fileio.c (Fdo_auto_save): Improve "auto save disabled" msg. |
| 2651 | |
| 2652 | * lread.c (read1): Redesign strategy for force_multibyte and |
| 2653 | force_singlebyte. Now is_multibyte records whether read_buffer |
| 2654 | is multibyte. Encountering any multibyte character makes it so. |
| 2655 | |
| 2656 | 2002-02-02 Stefan Monnier <monnier@cs.yale.edu> |
| 2657 | |
| 2658 | * term.c (term_get_fkeys_1): If `k0' and `k;' are both specified and |
| 2659 | with the same sequence, map that sequence to f10 rather than f0. |
| 2660 | |
| 2661 | 2002-02-03 Andreas Schwab <schwab@suse.de> |
| 2662 | |
| 2663 | * s/gnu-linux.h: Check for __mc68000__ instead of __m68k__, the |
| 2664 | latter never being defined on GNU/Linux. |
| 2665 | |
| 2666 | 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il> |
| 2667 | |
| 2668 | * xfaces.c (realize_default_face): Don't set the weight and slant of |
| 2669 | the default face to Qnormal, unless these attributes are unspecified. |
| 2670 | |
| 2671 | 2002-02-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 2672 | |
| 2673 | * keyboard.c (command_loop_1) [HAVE_X_WINDOWS]: |
| 2674 | Call cancel_hourglass unconditionally. |
| 2675 | |
| 2676 | * eval.c (Fsignal): Remove duplicated declaration of |
| 2677 | the variable `display_hourglass_p'. |
| 2678 | |
| 2679 | 2002-01-31 Richard M. Stallman <rms@gnu.org> |
| 2680 | |
| 2681 | * editfns.c (region_limit): Nicer error message. |
| 2682 | |
| 2683 | * coding.c (decode_composition_emacs_mule): |
| 2684 | Give up if NCOMPONENT gets too large to index `component'. |
| 2685 | |
| 2686 | * callint.c (check_mark): New arg to specify clearer error message. |
| 2687 | Callers changed. |
| 2688 | |
| 2689 | 2002-01-27 Richard M. Stallman <rms@gnu.org> |
| 2690 | |
| 2691 | * minibuf.c (Fcompleting_read): Doc fix. |
| 2692 | |
| 2693 | 2002-01-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 2694 | |
| 2695 | * minibuf.c (Fread_from_minibuffer, Fread_command, Fread_function) |
| 2696 | (Fread_variable, Fread_buffer, minibuffer-completion-confirm): |
| 2697 | Fix doc-strings. |
| 2698 | |
| 2699 | 2002-01-26 Richard M. Stallman <rms@gnu.org> |
| 2700 | |
| 2701 | * buffer.c (syms_of_buffer): Doc fixes for scroll-...-aggressively. |
| 2702 | |
| 2703 | * xdisp.c (try_scrolling): Exchange uses of scroll_down_aggressively |
| 2704 | and scroll_up_aggressively. |
| 2705 | |
| 2706 | 2002-01-26 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 2707 | |
| 2708 | * keyboard.c (parse_tool_bar_item): Remove duplicated prototypes. |
| 2709 | |
| 2710 | 2002-01-25 Stefan Monnier <monnier@cs.yale.edu> |
| 2711 | |
| 2712 | * textprop.c (Fnext_property_change, Fnext_single_property_change) |
| 2713 | (Fprevious_property_change, Fprevious_single_property_change): |
| 2714 | Stay within the narrowed-buffer boundaries. |
| 2715 | |
| 2716 | 2002-01-25 Eli Zaretskii <eliz@is.elta.co.il> |
| 2717 | |
| 2718 | * term.c (Ftty_display_color_cells): New function. |
| 2719 | (syms_of_term): Defsubr it. |
| 2720 | (Ftty_display_color_cells, Ftty_display_color_p): Change the |
| 2721 | argument name to DISPLAY. Doc fix. |
| 2722 | |
| 2723 | * dispextern.h: Add prototype for set_tty_color_mode and |
| 2724 | tty_setup_colors. |
| 2725 | |
| 2726 | 2002-01-24 Jason Rumney <jasonr@gnu.org> |
| 2727 | |
| 2728 | * w32term.c (x_scroll_run): Use ScrollWindowEx in place of BitBlt. |
| 2729 | If region left to draw is not what was expected, mark the frame as |
| 2730 | garbaged. |
| 2731 | |
| 2732 | * w32fns.c (w32_wnd_proc) <WM_PAINT>: Initialize update_rect. |
| 2733 | Combine the regions returned by BeginPaint and GetUpdateRect. |
| 2734 | |
| 2735 | 2002-01-23 Jason Rumney <jasonr@gnu.org> |
| 2736 | |
| 2737 | * w32term.c (x_update_window_begin): Only hide caret if |
| 2738 | w32_use_visible_system_caret is set. |
| 2739 | (x_update_window_end): Only show caret if |
| 2740 | w32_use_visible_system_caret is set. |
| 2741 | (syms_of_w32term): Handle SystemParametersInfo call failing. |
| 2742 | |
| 2743 | * w32fns.c (syms_of_w32fns): Initialize w32_visible_system_caret_hwnd. |
| 2744 | |
| 2745 | 2002-01-22 Richard M. Stallman <rms@gnu.org> |
| 2746 | |
| 2747 | * unexelf.c (unexec): Define n so as to cause compilation error |
| 2748 | for the code where people have often written n instead of nn. |
| 2749 | |
| 2750 | * .gdbinit (hookpost-run): Defined. |
| 2751 | |
| 2752 | 2002-01-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
| 2753 | |
| 2754 | * xfns.c (x_set_frame_parameters): Typo in previous fix corrected. |
| 2755 | |
| 2756 | 2002-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
| 2757 | |
| 2758 | * xfns.c (x_set_frame_parameters): Just call x_fullscreen_adjust |
| 2759 | if fullscreen is being set. |
| 2760 | |
| 2761 | 2002-01-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 2762 | |
| 2763 | * minibuf.c (Fminibuffer_contents) |
| 2764 | (Fminibuffer_contents_no_properties, Fread_from_minibuffer) |
| 2765 | (Fread_string, Fread_no_blanks_input, Fcompleting_read): Doc fixes. |
| 2766 | |
| 2767 | 2002-01-21 Richard M. Stallman <rms@gnu.org> |
| 2768 | |
| 2769 | * window.c (check_frame_size): Fix minimum height calculation. |
| 2770 | |
| 2771 | 2002-01-20 Ken Raeburn <raeburn@gnu.org> |
| 2772 | |
| 2773 | * dispextern.h (WINDOW_WANTS_MODELINE_P): Use XFASTINT on window |
| 2774 | height before comparison. |
| 2775 | (WINDOW_WANTS_HEADER_LINE_P): Likewise. |
| 2776 | |
| 2777 | 2002-01-20 Jason Rumney <jasonr@gnu.org> |
| 2778 | |
| 2779 | * w32term.c (w32_system_caret_width): Remove. |
| 2780 | (w32_use_visible_system_caret): New user flag. |
| 2781 | (syms_of_w32term): DEFVAR_BOOL it. Initialize based on whether |
| 2782 | Windows reports a screen reader running. |
| 2783 | (x_update_window_begin): Hide the system caret. |
| 2784 | (x_update_window_end): Show the system caret. |
| 2785 | (x_display_and_set_cursor): Don't draw a cursor when |
| 2786 | w32_use_visible_system_caret is set. Do not adjust width. |
| 2787 | |
| 2788 | * w32fns.c (w32_visible_system_caret_hwnd): New static variable. |
| 2789 | (w32_wnd_proc) <WM_KILL_FOCUS, WM_EMACS_DESTROY_CARET>: Set it. |
| 2790 | <WM_EMACS_TRACK_CARET>: Arrange for system caret to be visible if |
| 2791 | the user requests it. Use system default width when creating. |
| 2792 | <WM_EMACS_HIDE_CARET, WM_EMACS_SHOW_CARET>: Handle new messages. |
| 2793 | |
| 2794 | * w32term.h (WM_EMACS_SHOW_CARET, WM_EMACS_HIDE_CARET): |
| 2795 | New window messages. |
| 2796 | |
| 2797 | 2002-01-20 Richard M. Stallman <rms@gnu.org> |
| 2798 | |
| 2799 | * window.c (MIN_SAFE_WINDOW_HEIGHT): Value now 1. |
| 2800 | |
| 2801 | 2002-01-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 2802 | |
| 2803 | * doprnt.c (doprnt1): Fix typos in error call. |
| 2804 | |
| 2805 | 2002-01-20 Eli Zaretskii <eliz@is.elta.co.il> |
| 2806 | |
| 2807 | * unexelf.c (unexec) [__sgi]: Support the .got sections. |
| 2808 | |
| 2809 | 2002-01-20 Jason Rumney <jasonr@gnu.org> |
| 2810 | |
| 2811 | * w32term.c (w32_native_per_char_metric): Don't trust the metrics |
| 2812 | that Windows returns. If a double check fails, try to guess how |
| 2813 | ExtTextOut is going to act. |
| 2814 | |
| 2815 | * w32fns.c (w32_load_system_font, w32_to_x_charset): Use strnicmp |
| 2816 | in place of stricmp. |
| 2817 | (w32_list_synthesized_fonts): Removed. |
| 2818 | (w32_to_all_x_charsets, enum_font_maybe_add_to_list): New functions. |
| 2819 | (struct enumfont_t): New element; list. |
| 2820 | (enum_font_cb2): List all style and charset variations of a font. |
| 2821 | (Fw32_select_font): New optional argument; include_proportional. |
| 2822 | Exclude vertical fonts. Exclude proportional fonts unless |
| 2823 | include_proportional is non-nil. |
| 2824 | (w32_enable_synthesized_fonts): Change to a boolean. |
| 2825 | (Fw32_send_sys_command): Doc fix. |
| 2826 | |
| 2827 | 2002-01-19 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 2828 | |
| 2829 | * dispnew.c (update_frame): Move the variable `tem' to the block |
| 2830 | where it is used. |
| 2831 | |
| 2832 | 2002-01-19 Jason Rumney <jasonr@gnu.org> |
| 2833 | |
| 2834 | * w32fns.c (Fx_create_frame): Bind redisplay-dont-pause around |
| 2835 | call to face-set-after-frame-default. |
| 2836 | |
| 2837 | 2002-01-18 Richard M. Stallman <rms@gnu.org> |
| 2838 | |
| 2839 | * dispextern.h (WINDOW_WANTS_MODELINE_P): Check window height > 1. |
| 2840 | (WINDOW_WANTS_HEADER_LINE_P): Check window height provides room. |
| 2841 | |
| 2842 | 2002-01-17 Richard M. Stallman <rms@gnu.org> |
| 2843 | |
| 2844 | * window.c (enlarge_window): When exceeding size of parent, |
| 2845 | directly delete all the siblings instead of trying to resize it. |
| 2846 | |
| 2847 | 2002-01-17 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 2848 | |
| 2849 | * term.c (set_tty_color_mode): Remove unused variable `tem'. |
| 2850 | |
| 2851 | 2002-01-16 Henrik Enberg <henrik@enberg.org> |
| 2852 | |
| 2853 | * lread.c (init_lread): Move the installed-lisp dirs later in the path. |
| 2854 | |
| 2855 | 2002-01-16 Kim F. Storm <storm@cua.dk> |
| 2856 | |
| 2857 | * xterm.c (x_erase_phys_cursor): Don't erase cursor if cursor row |
| 2858 | is invisible. This can happen if cursor is on top line of a |
| 2859 | window, and we switch to a buffer with a header line. |
| 2860 | |
| 2861 | * w32term.c (x_erase_phys_cursor): Ditto. |
| 2862 | |
| 2863 | 2002-01-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 2864 | |
| 2865 | * xterm.c (XTread_socket) [!USE_X_TOOLKIT]: Compute the value of |
| 2866 | `dont_resize' only when used. |
| 2867 | |
| 2868 | * xdisp.c: Remove forgotten extern declaration of `Qimage'. |
| 2869 | |
| 2870 | 2002-01-15 Eli Zaretskii <eliz@is.elta.co.il> |
| 2871 | |
| 2872 | * xdisp.c (display_mode_element): When computing charpos, depend |
| 2873 | on multibyteness of elt, not the text in field. |
| 2874 | |
| 2875 | 2002-01-15 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 2876 | |
| 2877 | * buffer.c (Fkill_all_local_variables): |
| 2878 | Increment `update_mode_lines' only once. |
| 2879 | |
| 2880 | 2002-01-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 2881 | |
| 2882 | * lisp.h (adjust_after_replace_noundo) |
| 2883 | (Fupdate_coding_systems_internal): Add prototypes. |
| 2884 | |
| 2885 | * sound.c (Fplay_sound): Initialize header_size also for :data case. |
| 2886 | |
| 2887 | 2002-01-14 Eli Zaretskii <eliz@is.elta.co.il> |
| 2888 | |
| 2889 | Support for the --color command-line argument and tty-color-mode |
| 2890 | frame parameter: |
| 2891 | |
| 2892 | * term.c (tty_default_color_capabilities, tty_setup_colors) |
| 2893 | (set_tty_color_mode): New functions. |
| 2894 | (term_init): Call tty_default_color_capabilities. |
| 2895 | (Qtty_color_mode_alist): New variable. |
| 2896 | (syms_of_term): Intern and staticpro it. |
| 2897 | |
| 2898 | * frame.c (store_frame_param): Call set_tty_color_mode for termcap |
| 2899 | frames. |
| 2900 | (do_switch_frame): For termcap frames, switch the tty |
| 2901 | color mode as specified by the frame's parameters. |
| 2902 | (Qtty_color_mode): New variable. |
| 2903 | (syms_of_frame): Intern and staticpro it. |
| 2904 | |
| 2905 | * emacs.c (USAGE2): Add the --color option. |
| 2906 | (standard_args): Ditto. |
| 2907 | |
| 2908 | 2002-01-13 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
| 2909 | |
| 2910 | * xterm.h (struct x_output): New members want_fullscreen, |
| 2911 | x_pixels_diff, y_pixels_diff, x_pixels_outer_diff, and |
| 2912 | y_pixels_outer_diff. |
| 2913 | New enum for FULLSCREEN_* constants. |
| 2914 | (FRAME_OUTER_WINDOW): Handle the case where output_data.x->widget |
| 2915 | is NULL. |
| 2916 | (x_fullscreen_adjust): Add prototype. |
| 2917 | |
| 2918 | * emacs.c (USAGE2): Add the new full-screen arguments. |
| 2919 | (standard_args): Ditto. |
| 2920 | |
| 2921 | * xfns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth): |
| 2922 | New variables. |
| 2923 | (syms_of_xfns): Intern and staticpro them. |
| 2924 | (x_frame_parms) <"fullscreen">: New parameter. |
| 2925 | (x_fullscreen_move, x_set_fullscreen): New functions. |
| 2926 | (x_set_frame_parameters): Support for Qfullscreen. |
| 2927 | (x_real_positions): More accurate computation of the frame position. |
| 2928 | (x_figure_window_size): Support full-screen frames. |
| 2929 | (Fx_create_frame): Default the fullscreen parameter. |
| 2930 | |
| 2931 | * xterm.c (x_check_fullscreen, x_fullscreen_adjust): New functions. |
| 2932 | (XTread_socket) <Expose>: Call x_check_fullscreen. |
| 2933 | <ConfigureNotify>: Don't resize to fullscreen. |
| 2934 | Call x_check_fullscreen_move, and set the want_fullscreen member of |
| 2935 | output_data.x. |
| 2936 | |
| 2937 | 2002-01-13 Jason Rumney <jasonr@gnu.org> |
| 2938 | |
| 2939 | * w32term.h (WM_XBUTTONDOWN, WM_XBUTTONUP): New window messages |
| 2940 | for mice with more than 3 buttons. |
| 2941 | |
| 2942 | * w32term.c (parse_button): New parameter xbutton. Callers changed. |
| 2943 | (w32_read_socket): Handle new "XBUTTON" messages. |
| 2944 | |
| 2945 | * w32fns. |
| 2946 | bindings along with or instead of the buffer local map. |
| 2947 | Make the overriding maps override what they should. |
| 2948 | |
| 2949 | 2001-11-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 2950 | |
| 2951 | * window.c (grow_mini_window): Fix typo in comment. |
| 2952 | |
| 2953 | 2001-11-01 Gerd Moellmann <gerd@gnu.org> |
| 2954 | |
| 2955 | * xterm.c (x_scroll_bar_create): Check for width and height > 0. |
| 2956 | (XTset_vertical_scroll_bar): Likewise. |
| 2957 | |
| 2958 | * xfns.c (x_build_heuristic_mask): Use four_corners_best |
| 2959 | instead of IMAGE_BACKGROUND. |
| 2960 | |
| 2961 | * xfns.c (four_corners_best): Reindent. |
| 2962 | |
| 2963 | * xfaces.c (Finternal_set_lisp_face_attribute_from_resource): |
| 2964 | Handle :box so that it is possible to specify sexprs. |
| 2965 | |
| 2966 | 2001-10-31 Eli Zaretskii <eliz@is.elta.co.il> |
| 2967 | |
| 2968 | * s/hpux11.h: New file. |
| 2969 | |
| 2970 | 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 2971 | |
| 2972 | * emacs.c (USAGE1): Show command line option --no-window-system |
| 2973 | instead of --no-windows in usage. |
| 2974 | (standard_args): Rename --no-windows to --no-window-system. |
| 2975 | (bug_reporting_address): Follow Emacs coding conventions. |
| 2976 | |
| 2977 | * eval.c (Fcommandp): Doc fix. |
| 2978 | Change doc-string comments to `new style' [w/`doc:' keyword]. |
| 2979 | |
| 2980 | * frame.c (Fframe_live_p): Doc fix. |
| 2981 | |
| 2982 | * buffer.c (selective-display-ellipses): Doc fix. |
| 2983 | |
| 2984 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
| 2985 | |
| 2986 | * lread.c (to_multibyte): Fix computation of new read_buffer_size. |
| 2987 | |
| 2988 | * xfaces.c (realize_x_face): If C is not a single-byte character, |
| 2989 | set the face's colors_copied_bitwise_p instead of the defaulted_p |
| 2990 | members which have a different meaning. |
| 2991 | (free_face_colors): Do nothing for a face whose colors have been |
| 2992 | copied bitwise. |
| 2993 | |
| 2994 | * dispextern.h (struct face) <colors_copied_bitwise_p>: New member. |
| 2995 | |
| 2996 | 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 2997 | |
| 2998 | * marker.c, mocklisp.c: Change doc-string comments to `new style' |
| 2999 | [w/`doc:' keyword]. |
| 3000 | |
| 3001 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
| 3002 | |
| 3003 | * fns.c (require_unwind): Return Lisp_Object. |
| 3004 | |
| 3005 | 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 3006 | |
| 3007 | * keyboard.c (lucid-menu-bar-dirty-flag): Doc fix. |
| 3008 | (last-input-char): Revert doc-string to be the same as the |
| 3009 | doc-string of `last-input-event'. |
| 3010 | |
| 3011 | * xdisp.c: Fix typos in comments. |
| 3012 | |
| 3013 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
| 3014 | |
| 3015 | * window.c (grow_mini_window): Handle case that the root |
| 3016 | window is already smaller than the nominal mininum height. |
| 3017 | |
| 3018 | 2001-10-30 Stefan Monnier <monnier@cs.yale.edu> |
| 3019 | |
| 3020 | * emacs.c (main): Don't call keys_of_macros any more. |
| 3021 | |
| 3022 | * lisp.h (keys_of_macros): Remove. |
| 3023 | |
| 3024 | * macros.c (keys_of_macros): Remove. |
| 3025 | |
| 3026 | * xfaces.c (Fface_attribute_relative_p): Declare args. |
| 3027 | |
| 3028 | 2001-10-30 Jason Rumney <jasonr@gnu.org> |
| 3029 | |
| 3030 | * w32fns.c (w32_to_x_charset): Increase size of XLFD charset buffer. |
| 3031 | (enum_font_cb2): Ignore fonts with vertical orientation. |
| 3032 | |
| 3033 | 2001-10-30 Richard M. Stallman <rms@gnu.org> |
| 3034 | |
| 3035 | * keyboard.c (Finput_pending_p): Doc fix. |
| 3036 | |
| 3037 | 2001-10-30 Gerd Moellmann <gerd@gnu.org> |
| 3038 | |
| 3039 | * xterm.c (x_after_update_window_line): Don't run the code |
| 3040 | clearing in borders for rows whose visible height is 0. |
| 3041 | |
| 3042 | * xdisp.c (clear_garbaged_frames): Redraw the frame only if its |
| 3043 | resized_p flag is set. If not set, use the much less flickering |
| 3044 | method previously used. |
| 3045 | |
| 3046 | * dispnew.c (change_frame_size_1): Set frame's resized_p. |
| 3047 | |
| 3048 | * frame.h (struct frame) <resized_p>: New member. |
| 3049 | |
| 3050 | * lread.c (to_multibyte): Ensure read_buffer is at least twice |
| 3051 | as large as the number of bytes to convert. |
| 3052 | |
| 3053 | * lread.c (to_multibyte): New function. |
| 3054 | (read1): Use it. |
| 3055 | |
| 3056 | 2001-10-30 Eli Zaretskii <eliz@is.elta.co.il> |
| 3057 | |
| 3058 | * msdos.h (FRAME_LINE_HEIGHT): Define (it's used by xmenu.c). |
| 3059 | |
| 3060 | 2001-10-30 Gerd Moellmann <gerd@gnu.org> |
| 3061 | |
| 3062 | * xterm.c (x_draw_relief_rect): Correct bottom relief by 1 pixel. |
| 3063 | (x_set_glyph_string_background_width): Set extends_to_end_of_line_p |
| 3064 | if the row's fill_line_p is set and drawing the last glyph with |
| 3065 | DRAW_IMAGE_{RAISED,SUNKEN}. |
| 3066 | |
| 3067 | * xdisp.c (clear_garbaged_frames): Call Fredraw_frame. |
| 3068 | |
| 3069 | 2001-10-29 Stefan Monnier <monnier@cs.yale.edu> |
| 3070 | |
| 3071 | * xmenu.c: Include coding.h and charset.h. |
| 3072 | (Fx_popup_menu): Use FRAME_PTR and FRAME_FONT and FRAME_LINE_HEIGHT. |
| 3073 | (Fx_popup_dialog): Use FRAME_PTR and enum scroll_bar_part. |
| 3074 | (single_submenu, xmenu_show): Use ENCODE_SYSTEM. |
| 3075 | Explicitly set wv->help. Use `TRUE' rather than `True'. |
| 3076 | (menu_help_callback): Use empty_string. |
| 3077 | |
| 3078 | * w32menu.c (Fx_popup_menu): Explicitly init f, xpos, and ypos. |
| 3079 | (Fx_popup_dialog): Explicitly init f. |
| 3080 | (w32_menu_display_help): Use empty_string. |
| 3081 | |
| 3082 | 2001-10-29 Richard M. Stallman <rms@gnu.org> |
| 3083 | |
| 3084 | * fns.c (Frequire): Detect recursive try to require the same |
| 3085 | feature 3 or more levels deep, and get error. |
| 3086 | (require_unwind): New subroutine. |
| 3087 | (require_nesting_list): New variable. |
| 3088 | (syms_of_fns): Init and staticpro it. |
| 3089 | |
| 3090 | * print.c (print_object): Clarify indication of insertion type. |
| 3091 | |
| 3092 | 2001-10-29 Eli Zaretskii <eliz@is.elta.co.il> |
| 3093 | |
| 3094 | * coding.c (syms_of_coding): Document that locale-coding-system is |
| 3095 | used for decoding input on X. |
| 3096 | |
| 3097 | * window.c (Fscroll_left, Fscroll_right): Doc fix. |
| 3098 | |
| 3099 | 2001-10-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 3100 | |
| 3101 | * keyboard.c (Finput_pending_p): Fix typo in doc-string. |
| 3102 | (echo-area-clear-hook): Properly DEFVAR_LISP and staticpro it. |
| 3103 | |
| 3104 | 2001-10-29 Gerd Moellmann <gerd@gnu.org> |
| 3105 | |
| 3106 | * xterm.c (x_display_and_set_cursor): If cursor_in_echo_area, |
| 3107 | use NO_CURSOR if cursor_in_non_selected_windows is false. |
| 3108 | |
| 3109 | * xfaces.c (Fface_font): Use UNSPECIFIEDP instead of NILP for |
| 3110 | the slant attribute if FRAME is t. |
| 3111 | |
| 3112 | * xfns.c (x_set_internal_border_width): Set frame garbaged |
| 3113 | when X window doesn't exist yet. |
| 3114 | |
| 3115 | * xterm.c (x_after_update_window_line): Clear internal border |
| 3116 | in different circumstances. |
| 3117 | |
| 3118 | * xterm.c (XTread_socket) <KeyPress>: Don't use |
| 3119 | STRING_CHAR_AND_LENGTH if nchars == nbytes. From Kenichi Handa |
| 3120 | <handa@etl.go.jp>. |
| 3121 | |
| 3122 | 2001-10-28 Eli Zaretskii <eliz@is.elta.co.il> |
| 3123 | |
| 3124 | * m/ibms390.h: New file. From Adam Thornton |
| 3125 | <athornton@sinenomine.net>. |
| 3126 | |
| 3127 | 2001-10-28 Gerd Moellmann <gerd@gnu.org> |
| 3128 | |
| 3129 | * xfns.c (x_build_heuristic_mask): Use x_alloc_image_color. |
| 3130 | |
| 3131 | * xfns.c (x_build_heuristic_mask): Fix a bug not incrementing |
| 3132 | a loop counter. |
| 3133 | |
| 3134 | 2001-10-28 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 3135 | |
| 3136 | * emacs.c: Use argv[0] instead of emacs when -t was specified. |
| 3137 | |
| 3138 | * keyboard.c: Change doc-string comments to `new style' [w/`doc:' |
| 3139 | keyword]. |
| 3140 | Fix typos in comments. |
| 3141 | |
| 3142 | * emacs.c (bug_reporting_address): New function. |
| 3143 | Use it when displaying usage message. |
| 3144 | |
| 3145 | * minibuf.c (read_minibuf): Remove unused external declaration of |
| 3146 | variable `Qread_only'. |
| 3147 | |
| 3148 | * keymap.c (access_keymap): Remove unused variable `charset'. |
| 3149 | |
| 3150 | 2001-10-28 Miles Bader <miles@gnu.org> |
| 3151 | |
| 3152 | * xfaces.c (merge_face_heights): Handle TO being relative as well. |
| 3153 | Remove #ifdef'd-out code. |
| 3154 | (Fface_attribute_relative_p, Fmerge_face_attribute): New functions. |
| 3155 | (syms_of_xfaces): Initialize them. |
| 3156 | |
| 3157 | 2001-10-27 Jason Rumney <jasonr@gnu.org> |
| 3158 | |
| 3159 | * w32fns.c (w32_wnd_proc) <WM_KILLFOCUS>: Destroy the system caret. |
| 3160 | <WM_EMACS_DESTROY_CARET, WM_EMACS_TRACK_CARET>: Track cursor |
| 3161 | position using the system caret. |
| 3162 | |
| 3163 | * w32term.c (w32_system_caret_hwnd, w32_system_caret_width) |
| 3164 | (w32_system_caret_height, w32_system_caret_x) |
| 3165 | (w32_system_caret_y): New variables for tracking system caret. |
| 3166 | (w32_initialize): Initialize them. |
| 3167 | (x_display_and_set_cursor): Make system caret follow the active cursor. |
| 3168 | |
| 3169 | * w32term.h (WM_EMACS_TRACK_CARET, WM_EMACS_DESTROY_CARET): |
| 3170 | New messages types. |
| 3171 | |
| 3172 | * w32term.c (note_mouse_highlight): Clear old help_echo. |
| 3173 | |
| 3174 | 2001-10-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 3175 | |
| 3176 | * xterm.c: Fix typo in a comment. |
| 3177 | |
| 3178 | * emacs.c: Fix typos in comments. |
| 3179 | Remove unnecessary spaces. |
| 3180 | Change doc-string comments to `new style' [w/`doc:' keyword]. |
| 3181 | (USAGE2): Fix typos in usage string. |
| 3182 | |
| 3183 | * xterm.c: Fix typo in a comment. |
| 3184 | |
| 3185 | * lisp.h: (gdb_lisp_params): Remove code in #if 0 which is now in |
| 3186 | emacs.c. |
| 3187 | |
| 3188 | 2001-10-27 Gerd Moellmann <gerd@gnu.org> |
| 3189 | |
| 3190 | * xdisp.c (move_it_vertically_backward): Use 2/3 line_height |
| 3191 | instead of 1/2 line_height in the heuristic for skipping |
| 3192 | farther backward when target_y was not reached. |
| 3193 | |
| 3194 | * sound.c (sound_perror): Unblock SIGIO, turn on atimers. |
| 3195 | Display errno only if non-zero. |
| 3196 | (sound_warning): New function. |
| 3197 | (vox_configure): Don't treat failing to set sample rate as error. |
| 3198 | (various places): Improve error messages. |
| 3199 | |
| 3200 | 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il> |
| 3201 | |
| 3202 | * fileio.c (Faccess_file): Run the argument filename through |
| 3203 | Fexpand_file_name, before using it. |
| 3204 | |
| 3205 | * dispnew.c (syms_of_display) <visible-bell>: Add a reference to |
| 3206 | ring-bell-function. Suggested by Alf-Ivar Holm <alfh@ifi.uio.no> |
| 3207 | |
| 3208 | 2001-10-26 Gerd Moellmann <gerd@gnu.org> |
| 3209 | |
| 3210 | * insdel.c (insert_1_both): Do nothing if NCHARS == 0. |
| 3211 | |
| 3212 | * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]: |
| 3213 | Fix clearing in the case of scroll bars on the right. |
| 3214 | |
| 3215 | 2001-10-26 Juanma Barranquero <lektu@terra.es> |
| 3216 | |
| 3217 | * w32gui.h (XImage): Add a dummy typedef. |
| 3218 | |
| 3219 | 2001-10-26 Gerd Moellmann <gerd@gnu.org> |
| 3220 | |
| 3221 | * xfns.c (XScreenNumberOfScreen): Fix struct to pointer comparison. |
| 3222 | |
| 3223 | 2001-10-25 Eli Zaretskii <eliz@is.elta.co.il> |
| 3224 | |
| 3225 | * frame.c (Fframe_parameter): Fix last change. |
| 3226 | |
| 3227 | * fileio.c: Revert last change (which removed old commented-out |
| 3228 | version of expand-file-name). Add a comment that explains why |
| 3229 | this old version should not be removed. |
| 3230 | |
| 3231 | 2001-10-25 Gerd Moellmann <gerd@gnu.org> |
| 3232 | |
| 3233 | * frame.c (Fframe_parameter): Fix a bug whereby some |
| 3234 | ``artificial'' frame parameters, like `minibuffer' were not |
| 3235 | obtained by calling Fframe_parameters. |
| 3236 | |
| 3237 | * xterm.c (show_mouse_face): Clean up. Recognize overwritten |
| 3238 | cursor differently. |
| 3239 | |
| 3240 | * xdisp.c (move_it_vertically_backward): Compute line height |
| 3241 | differently. Add heuristic to try to be more compatible to 20.x. |
| 3242 | |
| 3243 | 2001-10-25 Stefan Monnier <monnier@cs.yale.edu> |
| 3244 | |
| 3245 | * lisp.h (make_fixnum_or_float): Coerce double to int explicitly. |
| 3246 | |
| 3247 | * editfns.c (text_property_stickiness): Fix Lisp_Object used as |
| 3248 | boolean. |
| 3249 | |
| 3250 | 2001-10-25 Miles Bader <miles@gnu.org> |
| 3251 | |
| 3252 | * xfns.c (png_load): Make sure SPECIFIED_BG is a string. |
| 3253 | BG is a pointer to a structure, not a structure. |
| 3254 | (gif_format, png_format): Add missing commas. |
| 3255 | |
| 3256 | 2001-10-24 Richard M. Stallman <rms@gnu.org> |
| 3257 | |
| 3258 | * xfaces.c (Fface_attributes_as_vector): New function. |
| 3259 | (syms_of_xfaces): Defsubr it. |
| 3260 | |
| 3261 | 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 3262 | |
| 3263 | * dispnew.c (sync_window_with_frame_matrix_rows): Remove unused |
| 3264 | variable `area'. |
| 3265 | |
| 3266 | 2001-10-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 3267 | |
| 3268 | * search.c (scan_newline): Remove unused variable `selective_display'. |
| 3269 | |
| 3270 | 2001-10-25 Miles Bader <miles@gnu.org> |
| 3271 | |
| 3272 | * dispextern.h (struct image): Add `background', |
| 3273 | `background_valid', and `background_transparent' fields. |
| 3274 | (image_background, image_background_transparent): New declarations. |
| 3275 | (IMAGE_BACKGROUND, IMAGE_BACKGROUND_TRANSPARENT): New macros. |
| 3276 | * xfns.c (image_background, image_background_transparent) |
| 3277 | (four_corners_best): New functions. |
| 3278 | (xpm_format, png_format, jpeg_format, tiff_format, gif_format) |
| 3279 | (gs_format): Add `:background' entry. |
| 3280 | (lookup_image): Set IMG's background color if specified. |
| 3281 | (pbm_load, xbm_load_image, png_load): Set IMG's background field |
| 3282 | when appropriate. |
| 3283 | (x_clear_image_1): Reset `background_valid' and |
| 3284 | `background_transparent_valid' fields. |
| 3285 | (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of |
| 3286 | calculating it here. Set IMG's background_transparent field. |
| 3287 | (enum xpm_keyword_index): Add XPM_BACKGROUND. |
| 3288 | (enum png_keyword_index): Add PNG_BACKGROUND. |
| 3289 | (enum jpeg_keyword_index): Add JPEG_BACKGROUND. |
| 3290 | (enum tiff_keyword_index): Add TIFF_BACKGROUND. |
| 3291 | (enum gif_keyword_index): Add GIF_BACKGROUND. |
| 3292 | (enum gs_keyword_index): Add GS_BACKGROUND. |
| 3293 | (pbm_load, png_load, jpeg_load, tiff_load, gif_load): |
| 3294 | Pre-calculate image background color where necessary. |
| 3295 | * xterm.c (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and |
| 3296 | `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background |
| 3297 | color to use for image glyph reliefs. |
| 3298 | |
| 3299 | 2001-10-24 Gerd Moellmann <gerd@gnu.org> |
| 3300 | |
| 3301 | * xterm.c (x_draw_glyphs): Don't check for cursor overwriting |
| 3302 | in full-width rows. |
| 3303 | |
| 3304 | * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]: |
| 3305 | Fix clearing of area not covered by scroll bar. |
| 3306 | |
| 3307 | 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 3308 | |
| 3309 | * xterm.c: (x_insert_glyphs): Remove unused variables `real_end' |
| 3310 | and `real_start'. |
| 3311 | (x_draw_image_foreground): Remove unused variables `mask' and `xgcv'. |
| 3312 | (glyph_rect): Remove unused variable `area'. |
| 3313 | |
| 3314 | 2001-10-24 Gerd Moellmann <gerd@gnu.org> |
| 3315 | |
| 3316 | * xdisp.c: Change #ifdef GLYPH_DEBUG to #if. |
| 3317 | |
| 3318 | * xdisp.c (try_window_reusing_current_matrix): Use row_containing_pos. |
| 3319 | (row_containing_pos): Take additional argument DY. |
| 3320 | Treat rows ending in middle of char differently. |
| 3321 | (display_line): Handle tabs on window systems differently. |
| 3322 | |
| 3323 | * xterm.c, w32term.c (fast_find_position): Call row_containing_pos |
| 3324 | with additional argument. |
| 3325 | |
| 3326 | * dispextern.h (row_containing_pos): Adjust prototype. |
| 3327 | |
| 3328 | * xdisp.c (inhibit_try_window_id, inhibit_try_window_reusing) |
| 3329 | (inhibit_try_cursor_movement) [GLYPH_DEBUG]: New variables. |
| 3330 | (try_window_id, try_window_reusing_current_matrix) |
| 3331 | (try_cursor_movement) [GLYPH_DEBUG]: Don't run if inhibited. |
| 3332 | (syms_of_xdisp) [GLYPH_DEBUG]: DEFVAR_BOOL the variables. |
| 3333 | |
| 3334 | 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 3335 | |
| 3336 | * xmenu.c: Spell the name of Emacs properly (GNU Emacs instead of |
| 3337 | gnuemacs). |
| 3338 | (HAVE_BOXES): Fix typo in comment. |
| 3339 | (push_menu_pane): Fix typo in comment. |
| 3340 | |
| 3341 | * xdisp.c: (display_prop_string_p): Remove unused local declaration |
| 3342 | of `Qwhen'. |
| 3343 | (single_display_prop_string_p): Remove unused local declarations |
| 3344 | of `Qwhen' and `Qmargin'. |
| 3345 | (string_buffer_position): Remove unused variable `around'. |
| 3346 | (store_frame_title): Remove unused variable `width'. |
| 3347 | |
| 3348 | * window.c: Don't define max. |
| 3349 | (coordinates_in_window): Remove unused variable `uy'. |
| 3350 | |
| 3351 | * widget.c: Don't define max. |
| 3352 | |
| 3353 | * process.c: Don't define max. |
| 3354 | (create_process): Remove unused variable `buffer'. |
| 3355 | |
| 3356 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
| 3357 | |
| 3358 | * xfaces.c (Finternal_set_lisp_face_attribute): Fix compilation error. |
| 3359 | |
| 3360 | 2001-10-23 Eli Zaretskii <eliz@is.elta.co.il> |
| 3361 | |
| 3362 | * xfaces.c (Finternal_set_lisp_face_attribute) |
| 3363 | [HAVE_WINDOW_SYSTEM]: Don't do anything for QCfont unless the |
| 3364 | frame is on a windowed display. |
| 3365 | |
| 3366 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
| 3367 | |
| 3368 | * dispnew.c (sync_window_with_frame_matrix_rows): |
| 3369 | Fix handling of windows which aren't full-width, fix handling |
| 3370 | of marginal areas. |
| 3371 | |
| 3372 | * lread.c (syms_of_lread) <recursive-load-depth-limit>: Raise to 50. |
| 3373 | |
| 3374 | 2001-10-23 Andreas Schwab <schwab@suse.de> |
| 3375 | |
| 3376 | * m/macppc.h [LINUX]: Undef LD_SWITCH_SYSTEM_TEMACS and override |
| 3377 | LD_SWITCH_MACHINE_TEMACS with "-Xlinker -znocombreloc". |
| 3378 | |
| 3379 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
| 3380 | |
| 3381 | * xterm.c (x_draw_glyphs): Remove parameters READ_START and |
| 3382 | REAL_END. Notice if cursor gets overwritten. |
| 3383 | (notice_overwritten_cursor): Take X positions as parameters. |
| 3384 | (x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p |
| 3385 | around call to x_draw_glyphs. |
| 3386 | |
| 3387 | 2001-10-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 3388 | |
| 3389 | * syntax.c (modify-syntax-entry): Fix argument names (use CHAR |
| 3390 | instead of C) and usage. |
| 3391 | |
| 3392 | * editfns.c (char-to-string): Fix argument names (use CHAR instead |
| 3393 | of C) and usage. |
| 3394 | |
| 3395 | * xfns.c (Fx_show_tip): Remove unused variables `buffer', `top', |
| 3396 | `left', `max_width' and `max_height'. |
| 3397 | |
| 3398 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
| 3399 | |
| 3400 | * xdisp.c (display_line): For a tab continued to the next line, |
| 3401 | set row's ends_in_middle_of_char_p. |
| 3402 | |
| 3403 | 2001-10-22 Gerd Moellmann <gerd@gnu.org> |
| 3404 | |
| 3405 | * xdisp.c (display_line): Fix computation of continuation lines |
| 3406 | width for TABs. |
| 3407 | |
| 3408 | 2001-10-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 3409 | |
| 3410 | * xdisp.c (build_desired_tool_bar_string): Remove unused variable |
| 3411 | `Qlaplace'. |
| 3412 | |
| 3413 | * fileio.c: Remove unused code. |
| 3414 | |
| 3415 | 2001-10-22 Miles Bader <miles@gnu.org> |
| 3416 | |
| 3417 | * lisp.h (DEFVAR_LISP, DEFVAR_LISP_NOPRO, DEFVAR_BOOL) |
| 3418 | (DEFVAR_INT, DEFVAR_PER_BUFFER, DEFVAR_KBOARD): |
| 3419 | Remove `DOC_STRINGS_IN_COMMENTS' cases. |
| 3420 | |
| 3421 | 2001-10-21 Jason Rumney <jasonr@gnu.org> |
| 3422 | |
| 3423 | * w32term.c (x_erase_phys_cursor): Remove inverse_p again. |
| 3424 | |
| 3425 | 2001-10-21 Eli Zaretskii <eliz@is.elta.co.il> |
| 3426 | |
| 3427 | * mocklisp.c (Fml_if, Fml_provide_prefix_argument) |
| 3428 | (Finsert_string): Avoid the multi-line string literals warning. |
| 3429 | |
| 3430 | 2001-10-22 Miles Bader <miles@gnu.org> |
| 3431 | |
| 3432 | * doc.c (Vhelp_manyarg_func_alist): Variable removed. |
| 3433 | (Fdocumentation): Don't use it. |
| 3434 | (syms_of_doc): Don't initialize it. |
| 3435 | |
| 3436 | * keyboard.c (Ftrack_mouse): Add usage: string to doc string. |
| 3437 | * print.c (Fwith_output_to_temp_buffer): Likewise. |
| 3438 | * window.c (Fsave_window_excursion): Likewise. |
| 3439 | * editfns.c (Fsave_excursion, Fsave_current_buffer) |
| 3440 | (Fsave_restriction): Likewise. |
| 3441 | * eval.c (Frun_hooks, Frun_hook_with_args) |
| 3442 | (Frun_hook_with_args_until_failure) |
| 3443 | (Frun_hook_with_args_until_success, Ffuncall, For, Fand, Fif) |
| 3444 | (Fcond, Fprogn, Fprog1, Fprog2, Fsetq, Fquote, Ffunction, Fdefun) |
| 3445 | (Fdefmacro, Fdefvar, Fdefconst, FletX, Flet, Fwhile, Fcatch) |
| 3446 | (Funwind_protect, Fcondition_case): Likewise. |
| 3447 | * coding.c (Ffind_operation_coding_system): Likewise. |
| 3448 | * keyboard.c (Ftrack_mouse): Likewise. |
| 3449 | |
| 3450 | 2001-10-21 Miles Bader <miles@gnu.org> |
| 3451 | |
| 3452 | * fns.c (Fappend, Fconcat, Fvconcat, Fnconc, Fwidget_apply) |
| 3453 | (Fmake_hash_table): Add usage: string to doc string. |
| 3454 | * editfns.c (Finsert, Finsert_and_inherit, Finsert_before_markers) |
| 3455 | (Fmessage, Fmessage_box, Fmessage_or_box, Fpropertize, Fformat) |
| 3456 | (Fencode_time, Finsert_and_inherit_before_markers): Likewise. |
| 3457 | * mocklisp.c (Finsert_string, Fml_if, Fml_provide_prefix_argument) |
| 3458 | (Fml_prefix_argument_loop): Likewise. |
| 3459 | |
| 3460 | 2001-10-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 3461 | |
| 3462 | * fileio.c (Finsert_file_contents): Remove unused variable `gap_size'. |
| 3463 | |
| 3464 | * sysdep.c (init_sys_modes): Change doc-string comments to `new |
| 3465 | style' [w/`doc:' keyword]. |
| 3466 | |
| 3467 | * data.c, fileio.c, indent.c, print.c, search.c, sound.c, |
| 3468 | * sunfns.c, textprop.c, undo.c, xselect.c: Change doc-string |
| 3469 | comments to `new style' [w/`doc:' keyword]. |
| 3470 | |
| 3471 | 2001-10-21 Jason Rumney <jasonr@gnu.org> |
| 3472 | |
| 3473 | * w32fns.c (Fx_file_dialog): Pass a filter to GetOpenFileName. |
| 3474 | |
| 3475 | * w32term.c (remember_mouse_glyph): New function. |
| 3476 | (w32_mouse_position): Use it. |
| 3477 | (note_mouse_movement): If the mouse moved off the glyph, remember |
| 3478 | its new position. |
| 3479 | |
| 3480 | * w32term.h (struct w32_output): Correct spelling of x_compatible. |
| 3481 | (w32_display_info): Add mouse_face_overlay. |
| 3482 | |
| 3483 | * w32term.c (notice_overwritten_cursor): Renamed from |
| 3484 | note_overwritten_text_cursor. Rewritten to take glyph widths into |
| 3485 | account. |
| 3486 | (x_y_to_hpos_vpos): Add parameter BUFFER_ONLY_P. |
| 3487 | (fast_find_string_pos): New function. |
| 3488 | (fast_find_position): Return the correct vpos. Add parameter |
| 3489 | STOP. In the final row, stop before glyphs having STOP as object. |
| 3490 | Don't consider glyphs that are not from a buffer. |
| 3491 | (fast_find_position) [0]: Add a presumably more correct version |
| 3492 | for after 21.1. |
| 3493 | (expose_window_tree, expose_frame): Don't compute intersections here. |
| 3494 | (expose_window): Do it here instead. |
| 3495 | (expose_window_tree, expose_window, expose_line): Return 1 when |
| 3496 | overwriting mouse-face. |
| 3497 | (expose_window): If W is the window currently being updated, mark |
| 3498 | the frame garbaged. |
| 3499 | (expose_frame): If mouse-face was overwritten, redo it. |
| 3500 | (x_use_underline_position_properties): New variable. |
| 3501 | (syms_of_xterm): DEFVAR_BOOL it. |
| 3502 | (x_draw_glyph_string): Add comment to use it in future. |
| 3503 | (x_draw_glyph_string): Restore clipping after drawing box. |
| 3504 | Fix a computation of the underline position. |
| 3505 | (w32_get_glyph_string_clip_rect): Minor cleanup. |
| 3506 | (x_fill_stretch_glyph_string): Remove an assertion. |
| 3507 | (x_produce_glyphs): Don't convert multibyte characters |
| 3508 | to unibyte characters in unibyte buffers. |
| 3509 | (cursor_in_mouse_face_p): New function. |
| 3510 | (x_draw_stretch_glyph_string): Use it to choose a different GC |
| 3511 | when drawing a cursor within highlighted text. Don't draw |
| 3512 | background again if it has already been drawn. |
| 3513 | (x_draw_glyph_string_box): Don't draw a full-width |
| 3514 | box just because the glyph row's full_width_p flag is set. |
| 3515 | (x_draw_glyphs): Fix computation of rightmost x for |
| 3516 | full-width rows. |
| 3517 | (x_dump_glyph_string): Put in #if GLYPH_DEBUG. |
| 3518 | (w32_draw_relief_rect): Extend left shadow to the bottom and left; |
| 3519 | change bottom shadow accordingly. Some cleanup. |
| 3520 | (x_update_window_end): Handle overwritten mouse face |
| 3521 | also for tool bar windows. |
| 3522 | (show_mouse_face): Set the glyph row's mouse_face_p flag also when |
| 3523 | DRAW is DRAW_IMAGE_RAISED. |
| 3524 | (clear_mouse_face): Return 1 if text with mouse face was |
| 3525 | actually redrawn. Make the function static. |
| 3526 | Reset dpyinfo->mouse_face_overlay otherwise note_mouse_highlight might |
| 3527 | optimize away highlighting if we pass over that same overlay again. |
| 3528 | (note_mouse_highlight): Call mouse_face_overlay_overlaps |
| 3529 | to detect a case where we have to highlight a different region |
| 3530 | despite not having left the currently highlighted region. |
| 3531 | Set mouse_face_overlay in the x_display_info. Avoid changing the |
| 3532 | mouse pointer shape when show_mouse_face has already done it, or |
| 3533 | there is no need. Handle mouse-face and help-echo in strings. |
| 3534 | (glyph_rect): New function. |
| 3535 | (w32_mouse_position): Use it to raise the threshold for mouse |
| 3536 | movement event generation. |
| 3537 | (w32_initialize_display_info): Initialize the x_display_info's |
| 3538 | mouse_face_overlay. |
| 3539 | (w32_set_vertical_scroll_bar): Don't clear a zero height |
| 3540 | or width area. |
| 3541 | (w32_set_vertical_scroll_bar, x_scroll_bar_create): Don't configure |
| 3542 | a widget to zero height. |
| 3543 | |
| 3544 | * w32menu.c (single_submenu, w32_menu_show) [!HAVE_MULTILINGUAL_MENU]: |
| 3545 | Protect unibyte strings created by replacing their multibyte |
| 3546 | equivalents in menu_items. |
| 3547 | (w32_menu_show): Don't overwrite an item's name with its key |
| 3548 | description in case the description is a multibyte string. |
| 3549 | (single_submenu): Some cleanup. |
| 3550 | |
| 3551 | * w32fns.c (x_laplace_read_row, x_laplace_write_row): Removed. |
| 3552 | (postprocess_image): New function. |
| 3553 | (lookup_image): Call it for all image types except PostScript. |
| 3554 | (x_kill_gs_process): Call postprocess_image. |
| 3555 | (tiff_error_handler, tiff_warning_handler): New functions. |
| 3556 | (tiff_load): Install them as handlers. |
| 3557 | (x_kill_gs_process): Recognize if someone has cleared the image |
| 3558 | cache under us. |
| 3559 | (valid_image_p): Protect better against invalid image |
| 3560 | specifications. Previous code could signal an error. |
| 3561 | (Fx_hide_tip, Fshow_tip): Doc fix. |
| 3562 | (Fv_max_tooltip_size): New variable. |
| 3563 | (syns_of_xfns): DEFVAR_LISP it. |
| 3564 | (Fx_show_tip): Add parameter TEXT. Set the tip frame's root |
| 3565 | window buffer to *tip* right after creating the frame. Set frame's |
| 3566 | window_width. Use a maximum tooltip size specified by |
| 3567 | Vx_max_tooltip_size, if that has valid contents. |
| 3568 | (compute_tip_xy): Add parameters WIDTH and HEIGHT. |
| 3569 | Make sure the tooltip is completely visible. |
| 3570 | (x_create_tip_frame): Set tooltip buffer's truncate-lines to nil. |
| 3571 | (Fx_create_frame): Adjust the frame's height for presence |
| 3572 | of the tool bar before calling x_figure_window_size. |
| 3573 | (x_set_tool_bar_lines): Clear the tool bar window's current matrix |
| 3574 | when the window gets smaller. |
| 3575 | (x_set_foreground_color): Set frame's cursor_pixel. |
| 3576 | (x_set_foreground_color, x_set_background_color): Cleaned up. |
| 3577 | (x_set_font): Handle case of x_new_fontset returning the same name |
| 3578 | as before, although there was a change in fontsets. |
| 3579 | |
| 3580 | 2001-10-21 Miles Bader <miles@gnu.org> |
| 3581 | |
| 3582 | * data.c (Fplus, Fminus, Fmax, Ftimes, Fquo, Flogand, Flogior) |
| 3583 | (Flogxor): Add usage: string to doc string. |
| 3584 | * charset.c (Fstring): Likewise. |
| 3585 | * callproc.c (Fcall_process_region, Fcall_process): Likewise. |
| 3586 | * alloc.c (Fmake_byte_code, Fvector, Flist): Likewise. |
| 3587 | |
| 3588 | 2001-10-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
| 3589 | |
| 3590 | * buffer.c: Reindent DEFUNs and DEFVARs with doc: keywords. |
| 3591 | |
| 3592 | * alloc.c: Reindent DEFUNs with doc: keywords. |
| 3593 | |
| 3594 | * abbrev.c (Finsert_abbrev_table_description): Reindent. |
| 3595 | |
| 3596 | * frame.c: Change doc-string comments to `new style' [w/`doc:' |
| 3597 | keyword]. |
| 3598 | |
| 3599 | See ChangeLog.9 for earlier changes. |
| 3600 | |
| 3601 | ;; Local Variables: |
| 3602 | ;; coding: iso-2022-7bit |
| 3603 | ;; End: |
| 3604 | |
| 3605 | Copyright (C) 2001, 2002 Free Software Foundation, Inc. |
| 3606 | Copying and distribution of this file, with or without modification, |
| 3607 | are permitted provided the copyright notice and this notice are preserved. |