diff options
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 252 |
1 files changed, 241 insertions, 11 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e0ae2429fcd..5895b4b6564 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,233 @@ | |||
| 1 | 2004-11-10 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * keymap.c (Fkeymap_prompt): Accept symbol keymaps. | ||
| 4 | |||
| 5 | 2004-11-09 Kim F. Storm <storm@cua.dk> | ||
| 6 | |||
| 7 | * xselect.c: Include <sys/types.h> and <unistd.h> (for getpid). | ||
| 8 | Fix various comments referring to XEvents instead of input events. | ||
| 9 | (x_queue_event): Fix format strings. | ||
| 10 | (x_stop_queuing_selection_requests): Likewise. | ||
| 11 | |||
| 12 | * xdisp.c (produce_image_glyph): Remove unused variable 'face_ascent'. | ||
| 13 | (pint2hrstr): Add extra braces to silence compiler. | ||
| 14 | |||
| 15 | * print.c (print_object): Fix format string. | ||
| 16 | |||
| 17 | * lread.c (read1): Fix next_char matching. | ||
| 18 | |||
| 19 | * lisp.h (Fdelete): Add EXFUN. | ||
| 20 | (replace_range_2): Add prototype. | ||
| 21 | |||
| 22 | * keyboard.c (read_avail_input): Remove unused variable 'discard'. | ||
| 23 | |||
| 24 | * intervals.h (NULL_INTERVAL_P): Add separate version when | ||
| 25 | ENABLE_CHECKING is not defined to silence compiler. | ||
| 26 | (compare_string_intervals): Add prototype. | ||
| 27 | |||
| 28 | * fringe.c (destroy_fringe_bitmap): Fix return type. | ||
| 29 | (Ffringe_bitmaps_at_pos): Remove unused var 'old_buffer'. | ||
| 30 | |||
| 31 | * emacs.c (Fdump_emacs): Fix format string. | ||
| 32 | |||
| 33 | * doc.c: Include <ctype.h>. | ||
| 34 | (Fsubstitute_command_keys): Remove unused variable 'firstkey'. | ||
| 35 | |||
| 36 | * data.c (store_symval_forwarding): Remove unused variables. | ||
| 37 | |||
| 38 | * callint.c (Fcall_interactively): Remove unused variable 'funcar'. | ||
| 39 | |||
| 40 | 2004-11-09 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | ||
| 41 | |||
| 42 | * Makefile.in (stamp-oldxmenu): If HAVE_GTK, don't add dependencies | ||
| 43 | to ${OLDXMENU}. | ||
| 44 | |||
| 45 | 2004-11-09 Kim F. Storm <storm@cua.dk> | ||
| 46 | |||
| 47 | * process.c (Fmake_network_process): Remove kludge for interrupted | ||
| 48 | connects on BSD. If connect is interrupted, just close socket and | ||
| 49 | start over rather than sleeping and retry with same socket. | ||
| 50 | |||
| 51 | 2004-11-09 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | ||
| 52 | |||
| 53 | * .cvsignore: Add buildobj.lst. | ||
| 54 | |||
| 55 | * doc.c: New variable Vbuild_files. | ||
| 56 | (Fsnarf_documentation): If Vbuild_files is nil, populate it with | ||
| 57 | file names from buildobh.lst. Only attach docstrings from files | ||
| 58 | that are in Vbuild_files. | ||
| 59 | (syms_of_doc): Defvar Vbuild_files. | ||
| 60 | |||
| 61 | * Makefile.in (SOME_MACHINE_OBJECTS): Add fringe.o, image.o | ||
| 62 | and w32*.o. | ||
| 63 | (temacs${EXEEXT}): Generate buildobj.lst when temacs is linked. | ||
| 64 | (mostlyclean): rm buildobj.lst | ||
| 65 | |||
| 66 | * makefile.w32-in ($(TEMACS)): Generate buildobj.lst when temacs | ||
| 67 | is linked. | ||
| 68 | |||
| 69 | 2004-11-09 Kim F. Storm <storm@cua.dk> | ||
| 70 | |||
| 71 | * fringe.c (update_window_fringes): Update fringe bitmaps if | ||
| 72 | cur and row ends_at_zv_p differs. If bitmaps of a row is updated, | ||
| 73 | also update previous row to get rid of misc. artifacts. | ||
| 74 | |||
| 75 | 2004-11-08 Kim F. Storm <storm@cua.dk> | ||
| 76 | |||
| 77 | * xdisp.c (fast_find_position): Fix start pos if header line present. | ||
| 78 | (note_mouse_highlight): Clear mouse face if we move out of text area. | ||
| 79 | |||
| 80 | 2004-11-08 Eli Zaretskii <eliz@gnu.org> | ||
| 81 | |||
| 82 | * editfns.c: Move #include "systime.h" before <sys/resource.h>. | ||
| 83 | Don't include <sys/time.h> explicitly. | ||
| 84 | Include <stdio.h> unconditionally, not just on MacOS. | ||
| 85 | |||
| 86 | 2004-11-08 Kenichi Handa <handa@m17n.org> | ||
| 87 | |||
| 88 | * fontset.c (fontset_pattern_regexp): Cancel my previous change; | ||
| 89 | don't pay attention to '\' before '*'. | ||
| 90 | (fontset_pattern_regexp): Change the meaning of the second arg. | ||
| 91 | (Fnew_fontset): Call fs_query_fontset, not Fquery_fontset. | ||
| 92 | (check_fontset_name): Try NAME as literal at first, and if it | ||
| 93 | failes, try NAME as pattern. | ||
| 94 | |||
| 95 | 2004-11-07 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | ||
| 96 | |||
| 97 | * emacs.c (Fdump_emacs): Only output warning on GNU/Linux. | ||
| 98 | |||
| 99 | 2004-11-07 Andreas Schwab <schwab@suse.de> | ||
| 100 | |||
| 101 | * lisp.h: Declare Fmsdos_downcase_filename. | ||
| 102 | * dired.c: Don't declare Fmsdos_downcase_filename. | ||
| 103 | * fileio.c: Likewise. | ||
| 104 | |||
| 105 | 2004-11-07 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | ||
| 106 | |||
| 107 | * dosfns.c (Fdos_memget, Fdos_memput): Use integer variable offs in | ||
| 108 | comparisons with integers instead of Lisp_Object address. | ||
| 109 | (Fmsdos_set_keyboard): Declare argument allkeys. | ||
| 110 | |||
| 111 | * msdos.c (IT_set_frame_parameters): Use EQ, not ==, for Lisp_Object:s. | ||
| 112 | |||
| 113 | * dired.c: extern declare Fmsdos_downcase_filename on MSDOS to avoid | ||
| 114 | int/Lisp_Object mixup. | ||
| 115 | |||
| 116 | * fileio.c: Ditto. | ||
| 117 | |||
| 118 | 2004-11-06 Steven Tamm <steventamm@mac.com> | ||
| 119 | |||
| 120 | * editfns.c: Need to include sys/time.h before resource.h on darwin. | ||
| 121 | |||
| 122 | 2004-11-06 Richard M. Stallman <rms@gnu.org> | ||
| 123 | |||
| 124 | * callint.c (Fcall_interactively): Avoid reusing EVENT for other data. | ||
| 125 | |||
| 126 | * xfaces.c (merge_named_face): GCPRO the face_name in the | ||
| 127 | named_merge_point struct that we make. | ||
| 128 | (merge_face_heights): Eliminate GCPRO arg. All callers changed. | ||
| 129 | |||
| 130 | * keyboard.c (command_loop_1): Change Vtransient_mark_mode | ||
| 131 | before deciding whether to inactivate mark. | ||
| 132 | |||
| 133 | 2004-11-06 Lars Brinkhoff <lars@nocrew.org> | ||
| 134 | |||
| 135 | * config.in: Regenerate (add HAVE_GETRUSAGE). | ||
| 136 | * editfns.c (Fget_internal_run_time): New function. | ||
| 137 | (syms_of_data): Defsubr it. | ||
| 138 | * fns.c (sxhash): As far as possible, merge calculation of | ||
| 139 | hash code for symbols and strings. | ||
| 140 | |||
| 141 | 2004-11-06 Eli Zaretskii <eliz@gnu.org> | ||
| 142 | |||
| 143 | * frame.c (syms_of_frame): Fix the example in the doc string. | ||
| 144 | |||
| 145 | 2004-11-06 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | ||
| 146 | |||
| 147 | * eval.c (Feval): Remove check for INPUT_BLOCKED_P. | ||
| 148 | |||
| 149 | * xmenu.c (popup_get_selection, create_and_show_popup_menu) | ||
| 150 | (create_and_show_dialog): Revert change from 2004-10-31. | ||
| 151 | |||
| 152 | 2004-11-05 Luc Teirlinck <teirllm@auburn.edu> | ||
| 153 | |||
| 154 | * macros.c (syms_of_macros) <defining-kbd-macro>: Doc fix. | ||
| 155 | |||
| 156 | 2004-11-05 Kim F. Storm <storm@cua.dk> | ||
| 157 | |||
| 158 | * print.c (print_object): Print Lisp_Misc_Save_Value objects. | ||
| 159 | |||
| 160 | * fileio.c (Ffile_modes): Doc fix. | ||
| 161 | (auto_save_1): Check for Ffile_modes nil value. | ||
| 162 | |||
| 163 | 2004-11-05 Kim F. Storm <storm@cua.dk> | ||
| 164 | |||
| 165 | * xselect.c (struct selection_event_queue, selection_queue) | ||
| 166 | (x_queue_selection_requests, x_queue_event) | ||
| 167 | (x_start_queuing_selection_requests) | ||
| 168 | (x_stop_queuing_selection_requests): Add new queue for selection | ||
| 169 | input events to replace previous XEvent queue in xterm.c. | ||
| 170 | (queue_selection_requests_unwind): Adapt to new queue. | ||
| 171 | (x_reply_selection_request): Adapt to new queue. | ||
| 172 | Unexpect wait_object in case of x errors (memory leak). | ||
| 173 | (x_handle_selection_request, x_handle_selection_clear): Make static. | ||
| 174 | (x_handle_selection_event): New function. May queue selection events. | ||
| 175 | (wait_for_property_change_unwind): Use save_value instead of cons. | ||
| 176 | Clear property_change_reply_object. | ||
| 177 | (wait_for_property_change): Abort if already waiting. | ||
| 178 | Use save_value instead of cons for unwind data. | ||
| 179 | (x_handle_property_notify): Skip events already arrived, but don't | ||
| 180 | free them, as "arrived" field is checked by wait_for_property_change, | ||
| 181 | and it will be freed by unwind or explicit unexpect_property_change. | ||
| 182 | (x_get_foreign_selection): Add to new queue. | ||
| 183 | (receive_incremental_selection): Don't unexpect wait_object when done | ||
| 184 | as it has already been freed by previous wait_for_property_change. | ||
| 185 | |||
| 186 | * xterm.h (x_start_queuing_selection_requests) | ||
| 187 | (x_stop_queuing_selection_requests, x_handle_selection_request) | ||
| 188 | (x_handle_selection_clear): Remove prototypes. | ||
| 189 | (x_handle_selection_event): Add prototype. | ||
| 190 | |||
| 191 | * xterm.c (handle_one_xevent): Don't queue X selection events | ||
| 192 | here, it may be too late if we start queuing after we have already | ||
| 193 | stored some selection events into the kbd buffer. | ||
| 194 | (struct selection_event_queue, queue, x_queue_selection_requests) | ||
| 195 | (x_queue_event, x_unqueue_events, x_start_queuing_selection_requests) | ||
| 196 | (x_stop_queuing_selection_requests): Remove/move to xselect.c. | ||
| 197 | (x_catch_errors_unwind): Block input around final XSync. | ||
| 198 | |||
| 199 | * keyboard.h (kbd_buffer_unget_event): Add prototype. | ||
| 200 | |||
| 201 | * keyboard.c (kbd_buffer_store_event_hold): Remove obsolete code. | ||
| 202 | (kbd_buffer_unget_event): New function. | ||
| 203 | (kbd_buffer_get_event, swallow_events): Combine SELECTION events | ||
| 204 | and use x_handle_selection_event. | ||
| 205 | (mark_kboards): Don't mark x and y of SELECTION_CLEAR_EVENT. | ||
| 206 | |||
| 207 | 2004-11-05 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | ||
| 208 | |||
| 209 | * xselect.c (TRACE3): New debug macro. | ||
| 210 | (x_reply_selection_request): Use it. | ||
| 211 | (receive_incremental_selection): In call to TRACE0, the name of | ||
| 212 | a symbol is in xname. | ||
| 213 | |||
| 214 | 2004-11-05 Kim F. Storm <storm@cua.dk> | ||
| 215 | |||
| 216 | * fontset.c (fontset_pattern_regexp): Use unsigned char. | ||
| 217 | |||
| 218 | 2004-11-04 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | ||
| 219 | |||
| 220 | * fileio.c (Fnext_read_file_uses_dialog_p): New function. | ||
| 221 | |||
| 222 | * gtkutil.h: Declare use_old_gtk_file_dialog. | ||
| 223 | |||
| 224 | * gtkutil.c: Make use_old_gtk_file_dialog non-static. | ||
| 225 | (xg_initialize): Move DEFVAR_BOOL for use_old_gtk_file_dialog ... | ||
| 226 | * xfns.c (syms_of_xfns): ... to here. | ||
| 227 | |||
| 228 | * gtkutil.c (xg_get_file_with_chooser): Expand DEFAULT_FILENAME if | ||
| 229 | it doesn't start with /. | ||
| 230 | |||
| 1 | 2004-11-04 Kenichi Handa <handa@m17n.org> | 231 | 2004-11-04 Kenichi Handa <handa@m17n.org> |
| 2 | 232 | ||
| 3 | * fontset.c (fontset_pattern_regexp): If '*' is preceded by '\', | 233 | * fontset.c (fontset_pattern_regexp): If '*' is preceded by '\', |
| @@ -67,20 +297,20 @@ | |||
| 67 | 297 | ||
| 68 | * lisp.h: Fx_file_dialog takes 5 parameters. | 298 | * lisp.h: Fx_file_dialog takes 5 parameters. |
| 69 | 299 | ||
| 70 | * xfns.c (Fx_file_dialog): Both Motif and GTK version: Add | 300 | * xfns.c (Fx_file_dialog): Both Motif and GTK version: |
| 71 | parameter only_dir_p. | 301 | Add parameter only_dir_p. |
| 72 | In Motif version, don't put DEFAULT_FILENAME in filter part of the | 302 | In Motif version, don't put DEFAULT_FILENAME in filter part of the |
| 73 | dialog, just text field part. Do not add DEFAULT_FILENAME | 303 | dialog, just text field part. Do not add DEFAULT_FILENAME |
| 74 | to list of files if it isn't there. | 304 | to list of files if it isn't there. |
| 75 | In GTK version, pass only_dir_p parameter to xg_get_file_name. | 305 | In GTK version, pass only_dir_p parameter to xg_get_file_name. |
| 76 | 306 | ||
| 77 | * macfns.c (Fx_file_dialog): Add parameter only_dir_p. Check | 307 | * macfns.c (Fx_file_dialog): Add parameter only_dir_p. |
| 78 | only_dir_p instead of comparing prompt to "Dired". When using | 308 | Check only_dir_p instead of comparing prompt to "Dired". When using |
| 79 | a save dialog, add option kNavDontConfirmReplacement, change title | 309 | a save dialog, add option kNavDontConfirmReplacement, change title |
| 80 | to "Enter name", change text for save button to "Ok". | 310 | to "Enter name", change text for save button to "Ok". |
| 81 | 311 | ||
| 82 | * w32fns.c (Fx_file_dialog): Add parameter only_dir_p. Check | 312 | * w32fns.c (Fx_file_dialog): Add parameter only_dir_p. |
| 83 | only_dir_p instead of comparing prompt to "Dired". | 313 | Check only_dir_p instead of comparing prompt to "Dired". |
| 84 | 314 | ||
| 85 | * gtkutil.c (xg_get_file_with_chooser) | 315 | * gtkutil.c (xg_get_file_with_chooser) |
| 86 | (xg_get_file_with_selection): New functions, only defined ifdef | 316 | (xg_get_file_with_selection): New functions, only defined ifdef |
| @@ -97,8 +327,8 @@ | |||
| 97 | 327 | ||
| 98 | 2004-11-01 Kim F. Storm <storm@cua.dk> | 328 | 2004-11-01 Kim F. Storm <storm@cua.dk> |
| 99 | 329 | ||
| 100 | * process.c (connect_wait_mask, num_pending_connects): Only | 330 | * process.c (connect_wait_mask, num_pending_connects): |
| 101 | declare and use them if NON_BLOCKING_CONNECT is defined. | 331 | Only declare and use them if NON_BLOCKING_CONNECT is defined. |
| 102 | (init_process): Initialize them if NON_BLOCKING_CONNECT defined. | 332 | (init_process): Initialize them if NON_BLOCKING_CONNECT defined. |
| 103 | (IF_NON_BLOCKING_CONNECT): New helper macro. | 333 | (IF_NON_BLOCKING_CONNECT): New helper macro. |
| 104 | (wait_reading_process_output): Only declare and use local vars | 334 | (wait_reading_process_output): Only declare and use local vars |
| @@ -113,8 +343,8 @@ | |||
| 113 | * xmenu.c: Add prototypes for forward function declarations. | 343 | * xmenu.c: Add prototypes for forward function declarations. |
| 114 | (popup_get_selection): Remove parameter do_timers, remove call to | 344 | (popup_get_selection): Remove parameter do_timers, remove call to |
| 115 | timer_check. | 345 | timer_check. |
| 116 | (create_and_show_popup_menu, create_and_show_dialog): Remove | 346 | (create_and_show_popup_menu, create_and_show_dialog): |
| 117 | parameter do_timers from call to popup_get_selection. | 347 | Remove parameter do_timers from call to popup_get_selection. |
| 118 | 348 | ||
| 119 | * xdisp.c (update_tool_bar): Pass a copy of f->tool_bar_items to | 349 | * xdisp.c (update_tool_bar): Pass a copy of f->tool_bar_items to |
| 120 | tool_bar_items and assign the result to f->tool_bar_items if | 350 | tool_bar_items and assign the result to f->tool_bar_items if |
| @@ -133,7 +363,7 @@ | |||
| 133 | * macterm.c: allow user to assign key modifiers to the Mac Option | 363 | * macterm.c: allow user to assign key modifiers to the Mac Option |
| 134 | key via a 'mac-option-modifier' variable. | 364 | key via a 'mac-option-modifier' variable. |
| 135 | 365 | ||
| 136 | 2004-10-28 Stefan <monnier@iro.umontreal.ca> | 366 | 2004-10-28 Stefan Monnier <monnier@iro.umontreal.ca> |
| 137 | 367 | ||
| 138 | * xselect.c (Vx_lost_selection_functions, Vx_sent_selection_functions): | 368 | * xselect.c (Vx_lost_selection_functions, Vx_sent_selection_functions): |
| 139 | Rename from Vx_lost_selection_hooks and Vx_sent_selection_hooks. | 369 | Rename from Vx_lost_selection_hooks and Vx_sent_selection_hooks. |