67 |
(Fdocumentation, store_function_docstring): Handle interpreted |
(Fdocumentation, store_function_docstring): Handle interpreted |
68 |
closures. |
closures. |
69 |
|
|
70 |
|
2004-05-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
71 |
|
|
72 |
|
* macfns.c: Don't include ccl.h. |
73 |
|
[MAC_OSX]: Don't include QuickTime/QuickTime.h. |
74 |
|
[!MAC_OSX]: Don't include alloca.h, Windows.h, Gestalt.h, or |
75 |
|
TextUtils.h. |
76 |
|
(Fx_create_frame): Sync with xfns.c. Initialize cursor |
77 |
|
descriptors. |
78 |
|
(Fx_display_mm_height, Fx_display_mm_width): Calculate length from |
79 |
|
display height/width. |
80 |
|
(compute_tip_xy, Vx_max_tooltip_size): Declare. |
81 |
|
(unwind_create_tip_frame, compute_tip_xy): New functions. |
82 |
|
(x_create_tip_frame, Fx_show_tip, Fx_hide_tip): Sync with xfns.c. |
83 |
|
(syms_of_macfns): Initialize Qcancel_timer, Vx_max_tooltip_size, |
84 |
|
and last_show_tip_args. |
85 |
|
|
86 |
|
* macgui.h [!MAC_OSX]: Include Gestalt.h. |
87 |
|
(Cursor, No_Cursor): New defines. |
88 |
|
[!TARGET_API_MAC_CARBON] (SetPortWindowPort): New compatibility |
89 |
|
macro. |
90 |
|
[!TARGET_API_MAC_CARBON] (arrow_cursor): Declare. |
91 |
|
|
92 |
|
* macmenu.c (mac_menu_show, mac_dialog): Use SetPortWindowPort. |
93 |
|
|
94 |
|
* macterm.c: Don't include Gestalt.h. |
95 |
|
(enum mouse_tracking_type, mouse_tracking_in_progress): Remove. |
96 |
|
(XDrawLine, XClearArea, XClearWindow, mac_draw_bitmap) |
97 |
|
(mac_set_clip_rectangle, mac_reset_clipping, XCreatePixmap) |
98 |
|
(XFillRectangle, mac_draw_rectangle, mac_draw_string_common) |
99 |
|
(mac_copy_area, mac_copy_area_with_mask, x_update_end) |
100 |
|
(construct_mouse_click, XTmouse_position) |
101 |
|
(x_scroll_bar_report_motion, x_calc_absolute_position) |
102 |
|
(do_mouse_moved, do_zoom_window, mac_do_receive_drag) |
103 |
|
(XTread_socket, make_mac_frame): Use SetPortWindowPort. |
104 |
|
(note_mouse_movement): Clear the mouse face and reset the pointer |
105 |
|
shape when the pointer goes outside the frame without grabbing. |
106 |
|
(mac_front_window): New function. |
107 |
|
(mac_window_to_frame): New macro. |
108 |
|
(XTmouse_position, x_scroll_bar_report_motion, do_window_update) |
109 |
|
(do_window_activate, do_window_deactivate, do_app_resume) |
110 |
|
(do_app_suspend, do_mouse_moved, do_menu_choice, do_grow_window) |
111 |
|
(do_zoom_window, mac_do_receive_drag, XTread_socket) |
112 |
|
(mac_check_for_quit_char): Use mac_front_window and/or |
113 |
|
mac_window_to_frame. |
114 |
|
(x_scroll_bar_handle_click): Set `(PORTION . WHOLE)' part in a |
115 |
|
scroll-bar click event. |
116 |
|
(mac_define_frame_cursor): Change the pointer shape. |
117 |
|
(x_free_frame_resources): Reset tip_window to NULL when it is |
118 |
|
disposed. |
119 |
|
[!TARGET_API_MAC_CARBON] (arrow_cursor): New variable. |
120 |
|
[!TARGET_API_MAC_CARBON] (do_init_managers): Initialize |
121 |
|
arrow_cursor. |
122 |
|
(do_window_update): Don't do anything if the updated window is the |
123 |
|
tooltip window. |
124 |
|
(do_mouse_moved): Handle mouse movement events here (previously in |
125 |
|
XTread_socket). Clear the mouse face if |
126 |
|
dpyinfo->mouse_face_hidden is set. |
127 |
|
(do_os_event, do_events): Remove (now in XTread_socket). |
128 |
|
(XTread_socket): Immediately return if interrupt_input_blocked. |
129 |
|
Loop until all the events in the queue are processed. Rearrange |
130 |
|
codes for mouse grabbing. Add tooltip support. Include the |
131 |
|
contents of do_os_event and do_events. Remove mouse movement |
132 |
|
handling (now in do_mouse_moved). Add the case where |
133 |
|
Vmouse_highlight has an integer value. |
134 |
|
(NewMacWindow): Remove. |
135 |
|
(make_mac_frame): Do what NewMacWindow previously did. Don't do |
136 |
|
excess initializations. |
137 |
|
(make_mac_terminal_frame): Previous initializations in |
138 |
|
make_mac_frame are moved here. |
139 |
|
(mac_initialize_display_info): Initialize |
140 |
|
dpyinfo->mouse_face_overlay and dpyinfo->mouse_face_hidden. |
141 |
|
|
142 |
|
* xdisp.c [MAC_OS] (No_Cursor): Remove variable. |
143 |
|
(define_frame_cursor1): Don't treat HAVE_CARBON as a special case. |
144 |
|
|
145 |
|
2004-05-29 Richard M. Stallman <rms@gnu.org> |
146 |
|
|
147 |
|
* lisp.h (truncate_undo_list): Update decl. |
148 |
|
|
149 |
|
* alloc.c (undo_outer_limit): New variable. |
150 |
|
(syms_of_alloc): Defvar it. |
151 |
|
(Fgarbage_collect): Pass undo_outer_limit to truncate_undo_list. |
152 |
|
|
153 |
|
* undo.c (truncate_undo_list): New arg LIMITSIZE. |
154 |
|
|
155 |
|
* alloc.c (lisp_align_malloc): Check for base == 0 |
156 |
|
regardless of HAVE_POSIX_MEMALIGN. |
157 |
|
Clean up HAVE_POSIX_MEMALIGN handling of `err'. |
158 |
|
|
159 |
|
2004-05-28 Stefan Monnier <monnier@iro.umontreal.ca> |
160 |
|
|
161 |
|
* alloc.c: Undo Kim's recent changes and fix the same bug differently. |
162 |
|
(marker_blocks_pending_free): Remove. |
163 |
|
(Fgarbage_collect): Sweep after cleaning up undo-lists. |
164 |
|
Mark the undo lists after claning them up. |
165 |
|
Don't free block in marker_blocks_pending_free. |
166 |
|
(mark_buffer): Don't mark undo_list. |
167 |
|
(gc_sweep): Sweep hash-tables and strings first. |
168 |
|
Do free marker blocks that are empty. |
169 |
|
|
170 |
|
2004-05-28 Jim Blandy <jimb@redhat.com> |
171 |
|
|
172 |
|
* regex.c (print_partial_compiled_pattern): Add missing 'break' |
173 |
|
after 'case wordend'. For symbeg and symend, print to stderr, |
174 |
|
like the other cases. |
175 |
|
|
176 |
|
2004-05-28 Noah Friedman <friedman@splode.com> |
177 |
|
|
178 |
|
* process.c (Fdelete_process): Do not call remove_process. |
179 |
|
|
180 |
|
2004-05-28 Stefan Monnier <monnier@iro.umontreal.ca> |
181 |
|
|
182 |
|
* alloc.c (struct backtrace): Remove. |
183 |
|
(Fgarbage_collect): Use the new mark_backtrace. |
184 |
|
|
185 |
|
* eval.c (mark_backtrace): New function. |
186 |
|
|
187 |
|
* minibuf.c (run_exit_minibuf_hook): New function. |
188 |
|
(read_minibuf_unwind): Don't run exit-minibuffer-hook any more. |
189 |
|
(read_minibuf): Use separate unwind handler to run exit-minibuf-hook. |
190 |
|
|
191 |
|
2004-05-27 Kim F. Storm <storm@cua.dk> |
192 |
|
|
193 |
|
* xdisp.c (back_to_previous_visible_line_start): Skip backwards |
194 |
|
over display properties, e.g. images, that replace buffer text. |
195 |
|
|
196 |
|
2004-05-25 Kim F. Storm <storm@cua.dk> |
197 |
|
|
198 |
|
* alloc.c (marker_blocks_pending_free): New var. |
199 |
|
(gc_sweep): Store free marker blocks on that list. |
200 |
|
(Fgarbage_collect): Free them after undo-list cleanup. |
201 |
|
|
202 |
|
* process.c (wait_reading_process_input): Check connect_wait_mask |
203 |
|
before actually accepting connection in case it has already been |
204 |
|
accepted due to recursion. |
205 |
|
|
206 |
|
2004-05-23 K,Ba(Broly L,Bu(Brentey <lorentey@elte.hu> (tiny change) |
207 |
|
|
208 |
|
* coding.c (Fset_safe_terminal_coding_system_internal): |
209 |
|
Set suppress_error in safe_terminal_coding, not terminal_coding. |
210 |
|
|
211 |
2004-05-22 Richard M. Stallman <rms@gnu.org> |
2004-05-22 Richard M. Stallman <rms@gnu.org> |
212 |
|
|
213 |
* alloc.c (Fmake_string): Doc fix. |
* alloc.c (Fmake_string): Doc fix. |
261 |
(re_opcode_t): New opcodes `symbeg' and `symend'. |
(re_opcode_t): New opcodes `symbeg' and `symend'. |
262 |
(print_partial_compiled_pattern): Print the new opcodes properly. |
(print_partial_compiled_pattern): Print the new opcodes properly. |
263 |
(regex_compile): Parse the new operators. |
(regex_compile): Parse the new operators. |
264 |
(analyse_first): Skip symbeg and symend (they match only the empty string). |
(analyse_first): Skip sym(beg|end) (they match only the empty string). |
265 |
(mutually_exclusive_p): `symend' is mutually exclusive with \s_ and |
(mutually_exclusive_p): `symend' is mutually exclusive with \s_ and |
266 |
\sw; `symbeg' is mutually exclusive with \S_ and \Sw. |
\sw; `symbeg' is mutually exclusive with \S_ and \Sw. |
267 |
(re_match_2_internal): Match symbeg and symend. |
(re_match_2_internal): Match symbeg and symend. |