Mercurial > hg > xemacs-beta
comparison src/ChangeLog @ 384:bbff43aa5eb7 r21-2-7
Import from CVS: tag r21-2-7
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:08:24 +0200 |
parents | 064ab7fed2e0 |
children | 4af0ddfb7c5b |
comparison
equal
deleted
inserted
replaced
383:6a50c6a581a5 | 384:bbff43aa5eb7 |
---|---|
1 1998-12-16 Andy Piper <andy@xemacs.org> | 1 1998-12-24 Martin Buchholz <martin@xemacs.org> |
2 | 2 |
3 * XEmacs 21.2.6 is released | 3 * XEmacs 21.2.7 is released. |
4 | 4 |
5 1998-12-08 Hrvoje Niksic <hniksic@srce.hr> | 5 1998-12-23 Martin Buchholz <martin@xemacs.org> |
6 | 6 |
7 * md5.c (Fmd5): Correctly initiate string input stream. | 7 * glyphs.c (decode_device_ii_format): |
8 | 8 - Fix indentation. |
9 * Makefile.in.in (tests): Add md5-tests.el. | 9 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *. |
10 | |
11 * glyphs-x.c (x_subwindow_instantiate): | |
12 - A image instance mask was being assigned to a image instance type! | |
13 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++. | |
14 | |
15 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance): | |
16 Fix indentation. | |
17 * glyphs-x.h: Make indentation consistent. | |
18 | |
19 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts. | |
20 | |
21 * glyphs-widget.c (check_valid_glyph): Warning suppression. | |
22 - Make it static | |
23 - #ifdef it out, since it's not actually used yet (FIX THIS!) | |
24 | |
25 * glyphs-widget.c: | |
26 * glyphs.h: | |
27 Move declarations of decode_device_ii_format and | |
28 decode_image_instantiator_format into glyphs.h where they belong. | |
29 | |
30 1998-12-22 Martin Buchholz <martin@xemacs.org> | |
31 | |
32 * frame-x.c (x_delete_frame): Revert part of my changes at the | |
33 suggestion of Gunnar Evermann - unfortunately no one really | |
34 understands this code. | |
35 | |
36 * callproc.c (init_callproc): code cleanup. | |
37 | |
38 * free-hook.c (malloc): | |
39 (check_malloc): | |
40 (__free_hook): | |
41 (__malloc_hook): | |
42 (__realloc_hook): | |
43 (block_input_malloc): | |
44 (block_input_realloc): | |
45 * device-x.c (x_delete_device): | |
46 * emacs.c (voodoo_free_hook): | |
47 * events.c (print_event): | |
48 (CHECK_EVENT_TYPE): | |
49 (CHECK_EVENT_TYPE2): | |
50 (CHECK_EVENT_TYPE3): | |
51 Use proper prototypes. | |
52 Make C_E_T macros a little faster. | |
53 Pedantic fiddly little changes. You really don't care. | |
54 | |
55 1998-12-22 Andy Piper <andy@xemacs.org> | |
56 | |
57 * redisplay-output.c (redisplay_clear_region): make sure that | |
58 fg/bg colors get set even when we are in the border area. | |
59 | |
60 1998-12-13 Martin Buchholz <martin@xemacs.org> | |
61 | |
62 * console-msw.c: Function definitions follow coding standards | |
63 - This prevents e.g. find-tag on Lisp_Event finding DEVENT | |
64 | |
65 1998-12-11 Martin Buchholz <martin@xemacs.org> | |
66 | |
67 * events.h (struct timeout_data): | |
68 * event-tty.c (tty_timeout_to_emacs_event): | |
69 * event-msw.c (mswindows_wm_timer_callback): | |
70 * event-Xt.c (Xt_timeout_to_emacs_event): | |
71 * event-msw.c (mswindows_cancel_dispatch_event): | |
72 Make sure Lisp_Objects inside events are initialized to Qnil, not | |
73 Qnull_pointer, which is now illegal. | |
74 | |
75 1998-12-10 Martin Buchholz <martin@xemacs.org> | |
76 | |
77 * lisp.h: Fix up prototypes to match alloc.c | |
78 | |
79 1998-12-08 Martin Buchholz <martin@xemacs.org> | |
80 | |
81 * windowsnt.h: Remove `support' for using index and rindex | |
82 | |
83 * filelock.c (current_lock_owner): | |
84 - Change uses of index -> strchr, rindex -> strrchr | |
85 | |
86 1998-12-07 Martin Buchholz <martin@xemacs.org> | |
87 | |
88 * sysdep.c (set_descriptor_non_blocking): | |
89 Since O_NONBLOCK is now always #defined, make use of fcntl | |
90 conditional on F_SETFL being defined. | |
91 | |
92 * console-msw.c (DHEADgER): | |
93 (DOPAQUE_DATA): | |
94 (DEVENT): | |
95 (DCONS): | |
96 (DCONSCDR): | |
97 (DSTRING): | |
98 (DVECTOR): | |
99 (DSYMBOL): | |
100 (DSYMNAME): | |
101 - max_align_t should not be visible to the user of the | |
102 XOPAQUE_DATA macro. | |
103 - use Bufbyte instead of char | |
104 - parens around (FOOP (obj)) are always redundant. | |
105 If they were necessary, we should fix the macro instead. | |
106 - Always use string_data(foo) instead of foo->data. | |
107 | |
10 | 108 |
11 1998-12-06 Martin Buchholz <martin@xemacs.org> | 109 1998-12-06 Martin Buchholz <martin@xemacs.org> |
110 | |
111 * frame-msw.c (mswindows_init_frame_1): | |
112 - use make_lisp_hash_table, not Fmake_hash_table | |
113 - include elhash.h | |
12 | 114 |
13 * lisp.h: | 115 * lisp.h: |
14 * alloc.c (make_vector): remove travesty | 116 * alloc.c (make_vector): remove travesty |
15 (Fmake_vector): | 117 (Fmake_vector): |
16 (make_pure_vector): | 118 (make_pure_vector): |
21 (Fmake_bit_vector): | 123 (Fmake_bit_vector): |
22 - make vector_equal a little faster. | 124 - make vector_equal a little faster. |
23 - Don't use variable name `new'. | 125 - Don't use variable name `new'. |
24 - Use size_t instead of EMACS_INT. | 126 - Use size_t instead of EMACS_INT. |
25 - usual Martin-style pointless bit-twiddling. | 127 - usual Martin-style pointless bit-twiddling. |
26 | 128 |
27 * fns.c (mapcar1): | 129 * fns.c (mapcar1): |
28 (Fmapconcat): | 130 (Fmapconcat): |
29 (Fmapcar): | 131 (Fmapcar): |
30 (Fmapvector): | 132 (Fmapvector): |
31 Make mapcar faster. In particular, make | 133 Make mapcar faster. In particular, make |
32 (mapc #'identity long-string) | 134 (mapc #'identity long-string) |
33 MUCH faster under Mule. | 135 MUCH faster under Mule. |
34 * tests/automated/lisp-tests.el: Test 'em! | 136 * tests/automated/lisp-tests.el: Test 'em! |
35 | 137 |
138 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded | |
139 bytecode. | |
140 | |
141 1998-12-01 Martin Buchholz <martin@xemacs.org> | |
142 | |
143 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use | |
144 Qnil, not NULL, to initialize `null' Lisp_Objects. | |
145 | |
146 1998-11-29 Hrvoje Niksic <hniksic@srce.hr> | |
147 | |
148 * specifier.c (display_table_validate): Update. | |
149 | |
150 * redisplay.c (create_text_block): Use them. | |
151 | |
152 * glyphs.c (display_table_entry): New function. | |
153 (get_display_tables): Ditto. | |
154 | |
155 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch> | |
156 | |
157 * eldap.c (toplevel): Mention that eldap.c compiles with | |
158 OpenLDAP libs | |
159 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA' | |
160 (Fldap_search_internal): Ditto | |
161 | |
162 1998-12-11 Martin Buchholz <martin@xemacs.org> | |
163 | |
164 * event-msw.c (mswindows_cancel_dispatch_event): | |
165 Gratuitous code prettification | |
166 | |
167 | |
168 1998-12-07 Hrvoje Niksic <hniksic@srce.hr> | |
169 | |
170 * fns.c (Fnconc): Fix use of wrong_type_argument(). | |
171 | |
172 * floatfns.c (Ffloat): Fix docstring. | |
173 (Ffloat): Fix use of wrong_type_argument(). | |
174 (Fabs): Ditto. | |
175 (extract_float): Ditto. | |
176 (Fceiling): Ditto. | |
177 (Fround): Ditto. | |
178 (Ftruncate): Ditto. | |
179 | |
36 1998-12-06 Martin Buchholz <martin@xemacs.org> | 180 1998-12-06 Martin Buchholz <martin@xemacs.org> |
37 | 181 |
38 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded | 182 * frame-msw.c (mswindows_init_frame_1): |
183 - use make_lisp_hash_table, not Fmake_hash_table | |
184 - include elhash.h | |
185 | |
186 * lisp.h: | |
187 * alloc.c (make_vector): remove travesty | |
188 (Fmake_vector): | |
189 (make_pure_vector): | |
190 (pure_cons): | |
191 (make_bit_vector_internal): | |
192 (make_bit_vector): | |
193 (make_bit_vector_from_byte_vector): | |
194 (Fmake_bit_vector): | |
195 - make vector_equal a little faster. | |
196 - Don't use variable name `new'. | |
197 - Use size_t instead of EMACS_INT. | |
198 - usual Martin-style pointless bit-twiddling. | |
199 | |
200 * fns.c (mapcar1): | |
201 (Fmapconcat): | |
202 (Fmapcar): | |
203 (Fmapvector): | |
204 Make mapcar faster. In particular, make | |
205 (mapc #'identity long-string) | |
206 MUCH faster under Mule. | |
207 * tests/automated/lisp-tests.el: Test 'em! | |
208 | |
209 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded | |
210 bytecode. | |
211 | |
212 1998-12-02 Didier Verna <verna@inf.enst.fr> | |
213 | |
214 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the | |
215 accelerator field to nil for labels. | |
216 | |
217 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
218 | |
219 * menubar-msw.c (displayable_menu_item): | |
220 Escape occurrences of '&' and support occurrences of the | |
221 '%_' accelerator indicator in menus. | |
222 | |
223 1998-11-26 Didier Verna <verna@inf.enst.fr> | |
224 | |
225 * dired.c (Fdirectory_files): use make_string instead of | |
226 make_ext_string on the filename. The conversion external->internal | |
227 format is already done in sys_readdir. | |
228 | |
229 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk> | |
230 | |
231 * glyphs.c (normalize_image_instantiator): GCPRO instantiator | |
232 | |
233 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
234 | |
235 * event-msw.c | |
236 (Belatedly) added Kirill to list of file's authors. | |
237 emacs_mswindows_quit_p: Don't process WM_PAINT messages in | |
238 quit checking. WM_PAINT messages cause redisplay, but | |
239 windows' states are not necessarily stable when this function | |
240 gets called. | |
241 | |
242 1998-12-17 Andy Piper <andy@xemacs.org> | |
243 | |
244 * strftime.c (zone_name): CONSTify. | |
245 | |
246 1998-12-15 Andy Piper <andy@xemacs.org> | |
247 | |
248 * glyphs-msw.c (mswindows_combo_instantiate): ditto. | |
249 (mswindows_widget_property): return Qunbound when no property available. | |
250 (mswindows_button_property): ditto. | |
251 (mswindows_combo_property): ditto. | |
252 (mswindows_widget_set_property): ditto. | |
253 | |
254 * glyphs-widget.c (check_valid_item_list): use properties. | |
255 | |
256 * glyphs.h (struct Lisp_Image_Instance): we have properties now. | |
257 | |
258 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties. | |
259 (Fimage_instance_property): ditto. | |
260 * glyphs-widget.c (widget_property): ditto. | |
261 (widget_set_property): ditto. | |
262 | |
263 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well | |
264 as setting the class cursor so that GC actually changes the | |
265 cursor. | |
266 | |
267 * config.h: don't undef MAIL_USE_POP. | |
268 | |
269 1998-12-13 Andy Piper <andy@xemacs.org> | |
270 | |
271 * glyphs-msw.c | |
272 (image_instantiator_format_create_glyphs_mswindows): line -> | |
273 label. | |
274 (mswindows_label_instantiate): ditto. Play with window flags. | |
275 (image_instantiator_format_create_glyphs_mswindows): ditto. | |
276 (vars_of_glyphs_mswindows): provide Qlabel as we support it now. | |
277 | |
278 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to | |
279 cope with lines and labels. | |
280 (static_instantiate): use widget_instantiate_1. | |
281 line -> label. | |
282 (image_instantiator_format_create_glyphs_widget): ditto. | |
283 | |
284 1998-12-10 Andy Piper <andy@xemacs.org> | |
285 | |
286 * Makefile.in.in (objs): add gui.o | |
287 | |
288 1998-12-10 Andy Piper <andy@xemacs.org> | |
289 | |
290 * gui.c: adjust defines of HAVE_POPUPS so that we can build with | |
291 no window system. | |
292 | |
293 1998-12-09 Andy Piper <andy@xemacs.org> | |
294 | |
295 * glyphs.c (finalize_image_instance): mark glyphs changed when an | |
296 image instance is removed so that the subwindow cache gets reset | |
297 and thus destroyed images get GC'd. | |
298 | |
299 1998-12-08 Andy Piper <andy@xemacs.org> | |
300 | |
301 * gui-msw.c (mswindows_handle_gui_wm_command): call | |
302 MARK_SUBWINDOWS_CHANGED. | |
303 | |
304 * glyphs-msw.c (mswindows_finalize_image_instance): make sure | |
305 subwindows really get deleted. | |
306 | |
307 * redisplay.c: new variable subwindows_changed[_set]. | |
308 (redisplay_window): use it. | |
309 (redisplay_frame): ditto. | |
310 (redisplay_device): ditto. | |
311 (redisplay_without_hooks): ditto. | |
312 | |
313 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for | |
314 subwindows redisplay as per glyphs equivalent. | |
315 * redisplay.h: ditto. | |
316 (MARK_SUBWINDOWS_CHANGED): ditto. | |
317 (RESET_CHANGED_SET_FLAGS): ditto. | |
318 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto. | |
319 | |
320 1998-12-07 Andy Piper <andy@xemacs.org> | |
321 | |
322 * frame.c (Fmake_frame): reset subwindow cachels on non-stream | |
323 frames. | |
324 | |
325 * redisplay.c (redisplay_frame): invalidate subwindow cachels. | |
326 | |
327 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR* | |
328 messages and paint widget glyphs as appropriate with their face fg | |
329 & bg. | |
330 | |
331 1998-12-06 Andy Piper <andy@xemacs.org> | |
332 | |
333 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types | |
334 here rather than in glyphs-widget - do this because we only want | |
335 to provide what is really available. | |
336 | |
337 * glyphs.c (Fimage_instance_property): new function to get the | |
338 properties of image instances. wires through to console specific | |
339 methods and then to widget specific methods. | |
340 (Fset_image_instance_property): ditto but for setting widget properties. | |
341 (check_valid_face): make extern so that it can be used elsewhere. | |
342 | |
343 * glyphs-widget.c (widget_property): new function. gets the | |
344 properties of widgets in general and wires the function through to | |
345 widget specific ones. | |
346 (widget_set_property): ditto but for setting widget properties. | |
347 | |
348 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to | |
349 add items to the list. Play with window styles a bit to get the | |
350 desired effect. | |
351 (mswindows_widget_property): break out specific widget properties. | |
352 (mswindows_button_property): new function. gets the checked state | |
353 of a button. | |
354 (mswindows_combo_property): new function. gets the current | |
355 selection in the combo box. | |
356 (mswindows_widget_set_property): new function. sets specific | |
357 properties of specific widgets. | |
358 | |
359 * glyphs-widget.c (check_valid_item_list): new function. check | |
360 that items for a combo-box are just a list of strings. | |
361 (combo_validate): new function. check there is an item list. | |
362 (widget_instantiate_1): new function. renamed from | |
363 widget_instantiate so that we can do slightly different things for | |
364 other widgets. | |
365 (widget_instantiate): call widget_instantiate_1. | |
366 (combo_instantiate): new function to instantiate combo boxes, | |
367 defaults height to the pixel height of the number of items in the | |
368 box. | |
369 (syms_of_glyphs_widget): move widget keywords here. | |
370 (image_instantiator_format_create_glyphs_widget): use new combo | |
371 functions. | |
372 | |
373 1998-12-04 Andy Piper <andy@xemacs.org> | |
374 | |
375 * event-msw.c (mswindows_wnd_proc): mule-ize. | |
376 | |
377 * glyphs.c (pixmap_to_lisp_data): mule-ize. | |
378 | |
379 * glyphs-msw.c (extract_xpm_color_names): mule-ize. | |
380 (resource_name_to_resource): ditto. | |
381 (mswindows_resource_instantiate): ditto. | |
382 (mswindows_widget_instantiate): ditto. | |
383 (mswindows_widget_set_property): ditto. | |
384 | |
385 * redisplay-output.c (redisplay_output_subwindow): don't show | |
386 subwindows if they are obscured at the edge of the frame, emacs | |
387 gets into some sort of redisplay loop otherwise. | |
388 | |
389 * gui.h: prototype gui_item_selected_p. | |
390 | |
391 * gui.c (gui_item_selected_p): new function to determine the | |
392 selected state of a gui_item. | |
393 | |
394 * frame.h (struct frame): add subwindows_changed flag. | |
395 | |
396 * redisplay.c (redisplay_frame): call update_frame_subwindows (). | |
397 | |
398 * glyphs.c (update_subwindow): new function to update a | |
399 subwindow's state. | |
400 (update_frame_subwindows): new function to update all the | |
401 subwindows on a frame. | |
402 | |
403 * console.h (struct console_methods): add update_subwindow. | |
404 | |
405 * glyphs-msw.c (mswindows_widget_property): return selected state | |
406 for selected property. | |
407 (mswindows_update_subwindow): new function. updates widget glyphs | |
408 in redisplay as per menubars or toolbars e.g. selected state. | |
409 (console_type_create_glyphs_mswindows): add update_subwindow. | |
410 | |
411 1998-12-03 Andy Piper <andy@xemacs.org> | |
412 | |
413 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since | |
414 tty coding system things are such. | |
415 | |
416 * glyphs-widget.c (widget_face_font_info): new function for | |
417 pulling out height and width metrics for a widget's face. | |
418 (widget_text_to_pixel_conversion): calculate pixel sizes of text | |
419 for widgets. | |
420 | |
421 * event-msw.c (mswindows_drain_windows_queue): translate messages | |
422 that are destined for subwindows. This makes edit fields interact | |
423 with the keyboard correctly. | |
424 nuke warnings by #ifndef'ing out stuff not required by msg select(). | |
425 | |
426 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new | |
427 macro defining the iiforma without the symbol required by widget. | |
428 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it. | |
429 | |
430 * general.c (syms_of_general): add Qwidget, Qselected. | |
431 | |
432 * faces.c (complex_vars_of_faces): add widget face inheriting from | |
433 gui-element face. | |
434 | |
435 1998-11-09 Andy Piper <andy@xemacs.org> | |
436 | |
437 * window.h (struct window): add a cache of subwindows on a | |
438 per-window basis. | |
439 | |
440 * window.c (mark_window): mark the subwindow_instance_cache. | |
441 (allocate_window): initialise the subwindow instance_cache. | |
442 | |
443 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region | |
444 instead of the devmeth. | |
445 (x_clear_toolbar): ditto. | |
446 | |
447 * redisplay-x.c (x_output_display_block): call | |
448 redisplay_output_subwindow for subwindows and widgets. | |
449 | |
450 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to | |
451 types to do nothing for. | |
452 | |
453 * lisp.h: declare new widget/subwindow symbols. | |
454 | |
455 * glyphs.c (image_instantiate): cache subwindows on a per-window | |
456 basis. | |
457 (subwindow_possible_dest_types): new function for subwindow dest | |
458 types. | |
459 (subwindow_instantiate): generic instantiation of a | |
460 subwindow. specialised by device multi-methods. | |
461 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based | |
462 subwindows. | |
463 (Fimage_instance_subwindow_id): ditto. | |
464 (Fresize_subwindow): ditto. | |
465 (Fforce_subwindow_map): ditto. | |
466 | |
467 * glyphs-x.c (x_print_image_instance): remove subwindow | |
468 stuff. Handled genrically in glyphs.c. | |
469 (x_image_instance_equal): ditto. | |
470 (x_image_instance_hash): ditto. | |
471 (x_finalize_image_instance): delete subwindows when required. | |
472 (mark_subwindow) (print_subwindow) (finalize_subwindow) | |
473 (subwindow_hash) (Fmake_subwindow): deleted because of new, | |
474 glyph-based, subwindow implementation. | |
475 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased | |
476 in glyphs.el | |
477 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to | |
478 glyphs.c. | |
479 (x_unmap_subwindow): new function to unmap X subwindows. | |
480 (x_map_subwindow): new function to map X subwindows. | |
481 (x_subwindow_instantiate): new function to instantiate X | |
482 subwindows. | |
483 (x_resize_subwindow): new function to resize X subwindows. | |
484 (console_type_create_glyphs_x): add subwindow functions. | |
485 (image_instantiator_format_create_glyphs_x): add device | |
486 multi-methods for xpm, xbm and subwindow. | |
487 | |
488 * glyphs.el (subwindow-xid): old alias for new subwindow functions. | |
489 (subwindow-width): ditto. | |
490 (subwindow-height): ditto. | |
491 | |
492 * glyphs-msw.c (mswindows_widget_instantiate): new function for | |
493 generally instantiating ms subwindows. Used by | |
494 mswindows_*_instantiate. | |
495 (mswindows_edit_instantiate): instantiate an edit field on a | |
496 mswindows frame. | |
497 | |
498 1998-11-04 Andy Piper <andy@xemacs.org> | |
499 | |
500 * symsinit.h: declare new functions. | |
501 | |
502 * redisplay.h: declare new functions. | |
503 | |
504 * redisplay-x.c (x_output_display_block): call | |
505 redisplay_clear_region rather than x_clear_region. | |
506 (x_output_string): ditto. | |
507 (x_output_pixmap): ditto. | |
508 (x_clear_to_window_end): ditto. | |
509 (x_output_eol_cursor): ditto. | |
510 (x_clear_region): only do X specific things. other duties handled | |
511 in redisplay_clear_region. | |
512 | |
513 * redisplay-tty.c (tty_clear_region): do tty specific things - some | |
514 duties moved to redisplay_clear_region. | |
515 | |
516 * redisplay-output.c (clear_left_border): use | |
517 redisplay_clear_region instead of device method. | |
518 (clear_right_border): ditto. | |
519 (output_display_line): ditto. | |
520 (redisplay_output_subwindow): ditto. | |
521 (redisplay_clear_top_of_window): ditto. | |
522 (redisplay_clear_region): perform duties previously handled by | |
523 device methods. call the appropriate device method at the | |
524 end. unmap subwindows if necessary. | |
525 | |
526 * redisplay-msw.c (mswindows_output_string): use | |
527 redisplay_clear_region instead of mswindows_clear_region. | |
528 (mswindows_clear_to_window_end): ditto. | |
529 (mswindows_output_display_block): output subwindows when required. | |
530 (mswindows_clear_region): only do mswindows specific things, | |
531 everything else is now handled in redisplay_clear_region. | |
532 | |
533 * gui.h: add item id hash defines and declare function prototypes. | |
534 | |
535 * gui.c (mark_gui_item): new function for marking gui_items. | |
536 (gui_item_hash): generic hash function for generating command ids | |
537 for gui_items. | |
538 | |
539 * gui-msw.c: new file. | |
540 (mswindows_handle_gui_wm_command): new function to handle widget | |
541 callbacks. | |
542 | |
543 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device | |
544 multi-methods. | |
545 (IIFORMAT_HAS_SHARED_METHOD): ditto. | |
546 (DEFINE_DEVICE_IIFORMAT): ditto. | |
547 (INITIALIZE_DEVICE_IIFORMAT): ditto. | |
548 (struct Lisp_Image_Instance): add widget and subwindow data plus | |
549 appropriate access functions. | |
550 | |
551 * glyphs.c (decode_device_ii_format): new function for decoding | |
552 image instantiator functions based on a device type as well as an | |
553 image format. | |
554 (decode_image_instantiator_format): just call | |
555 decode_device_ii_format with nil device. | |
556 (add_entry_to_device_ii_format_list): new function for per device | |
557 method instances. | |
558 (add_entry_to_image_instantiator_format_list): just call | |
559 add_entry_to_device_ii_format_list with nil device. | |
560 (check_valid_vector): new function. | |
561 (instantiate_image_instantiator): instantiate using per-format | |
562 method and then per-format-per-device method (device | |
563 multi-methods). signal an error if neither is possible. | |
564 (mark_image_instance): cope with subwindows and widgets. | |
565 (print_image_instance): ditto. | |
566 (image_instance_equal): ditto. | |
567 (image_instance_hash): ditto. | |
568 (allocate_glyph): ditto. | |
569 (glyph_width): ditto. | |
570 (glyph_height_internal): ditto. | |
571 (xpm_instantiate): removed because of device multi-methods. | |
572 (mark_subwindow_cachels): new cachel functions for caching | |
573 instantiated subwindows on a per-frame basis. mostly copied from | |
574 glyph cachel functions. | |
575 (update_subwindow_cachel_data): ditto. | |
576 (add_subwindow_cachel): ditto. | |
577 (get_subwindow_cachel_index): ditto. | |
578 (reset_subwindow_cachels): ditto. | |
579 (mark_subwindow_cachels_as_not_updated): ditto. | |
580 (unmap_subwindow): generic unmapping of subwindows based on cachel | |
581 data. | |
582 (map_subwindow): ditto. | |
583 (initialize_subwindow_image_instance): generic initialisation of | |
584 subwindow data. | |
585 (syms_of_glyphs): add widget keywords. | |
586 | |
587 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to | |
588 x_subwindow_data. | |
589 | |
590 1998-11-04 Andy Piper <andy@xemacs.org> | |
591 | |
592 * glyphs-widget.c: new file for instantiating widget type glyphs. | |
593 (widget_possible_dest_types): new general dest type function for | |
594 widgets. | |
595 (widget_validate): ditto. | |
596 (initialize_widget_image_instance): ditto | |
597 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing | |
598 before handing on control to device multi-methods. | |
599 (syms_of_glyphs_widget): new function. | |
600 (image_instantiator_format_create_glyphs_widget): new function, | |
601 added placeholders for button, edit, combo, scrollbar | |
602 (vars_of_glyphs_widget): new function. | |
603 | |
604 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for | |
605 storing window ids of widgets. | |
606 | |
607 * glyphs-msw.c (mswindows_finalize_image_instance): cope with | |
608 deletion of widget and subwindow glyphs. | |
609 (mswindows_unmap_subwindow): new device function for unmapping | |
610 subwindows on a msw frame. | |
611 (mswindows_map_subwindow): ditto. | |
612 (mswindows_register_image_instance): register instantiated widgets | |
613 with the widget hastable. | |
614 (mswindows_button_instantiate): instantiate a button type widget | |
615 on an msw frame. | |
616 (mswindows_subwindow_instantiate): instanttiate a subwindow on a | |
617 mswindows frame. | |
618 (image_instantiator_format_create_glyphs_mswindows): add device | |
619 multi-methods for xbm, xpm, subwindow, edit and button. | |
620 | |
621 * frame.h (struct frame): add subwindow_cachels dynarr for caching | |
622 information about subwindows visible on the current frame. used by | |
623 redisplay_clear_region to unmap subwindows as required. | |
624 | |
625 * frame.c (mark_frame): mark subwindow_cachels. | |
626 (allocate_frame_core): instantiate subwindow_cachels. | |
627 | |
628 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the | |
629 widget hashtable. | |
630 | |
631 * event-msw.c (mswindows_wnd_proc): add call to | |
632 mswindows_handle_gui_wm_command to handle widget callbacks. | |
633 | |
634 * emacs.c (main_1): add calls to glyphs-widget initialisation | |
635 routines. | |
636 | |
637 * console.h (struct console_methods): add | |
638 unmap/map_subwindow_method for use be redisplay_clear_region to | |
639 map and unmap subwindows. Remove xpm and xbm stuff - now dealt | |
640 with by image instantiator multi-methods. Add | |
641 resize_subwindow_method. | |
642 | |
643 * console-stream.c (stream_clear_region): change signature to | |
644 match new generic clear region function. | |
645 | |
646 * Makefile.in.in: add glyphs-widget.o to list of objects. | |
647 | |
648 * console-msw.h (struct mswindows_frame): add widget hashtable for | |
649 wiring command ids to callbacks. | |
650 | |
651 1998-12-16 Andy Piper <andy@xemacs.org> | |
652 | |
653 * XEmacs 21.2.6 is released | |
654 | |
655 1998-12-08 Hrvoje Niksic <hniksic@srce.hr> | |
656 | |
657 * md5.c (Fmd5): Correctly initiate string input stream. | |
658 | |
659 * Makefile.in.in (tests): Add md5-tests.el. | |
660 | |
661 1998-12-06 Martin Buchholz <martin@xemacs.org> | |
662 | |
663 * lisp.h: | |
664 * alloc.c (make_vector): remove travesty | |
665 (Fmake_vector): | |
666 (make_pure_vector): | |
667 (pure_cons): | |
668 (make_bit_vector_internal): | |
669 (make_bit_vector): | |
670 (make_bit_vector_from_byte_vector): | |
671 (Fmake_bit_vector): | |
672 - make vector_equal a little faster. | |
673 - Don't use variable name `new'. | |
674 - Use size_t instead of EMACS_INT. | |
675 - usual Martin-style pointless bit-twiddling. | |
676 | |
677 * fns.c (mapcar1): | |
678 (Fmapconcat): | |
679 (Fmapcar): | |
680 (Fmapvector): | |
681 Make mapcar faster. In particular, make | |
682 (mapc #'identity long-string) | |
683 MUCH faster under Mule. | |
684 * tests/automated/lisp-tests.el: Test 'em! | |
685 | |
686 1998-12-06 Martin Buchholz <martin@xemacs.org> | |
687 | |
688 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded | |
39 bytecode. | 689 bytecode. |
40 | 690 |
41 1998-12-13 Martin Buchholz <martin@xemacs.org> | 691 1998-12-13 Martin Buchholz <martin@xemacs.org> |
42 | 692 |
43 * console-msw.c: Function definitions follow coding standards | 693 * console-msw.c: Function definitions follow coding standards |
44 - This prevents e.g. find-tag on Lisp_Event finding DEVENT | 694 - This prevents e.g. find-tag on Lisp_Event finding DEVENT |
45 | 695 |
46 1998-12-11 Martin Buchholz <martin@xemacs.org> | 696 1998-12-11 Martin Buchholz <martin@xemacs.org> |
47 | 697 |
48 * events.h (struct timeout_data): | 698 * events.h (struct timeout_data): |
49 * event-tty.c (tty_timeout_to_emacs_event): | 699 * event-tty.c (tty_timeout_to_emacs_event): |
50 * event-msw.c (mswindows_wm_timer_callback): | 700 * event-msw.c (mswindows_wm_timer_callback): |
51 * event-Xt.c (Xt_timeout_to_emacs_event): | 701 * event-Xt.c (Xt_timeout_to_emacs_event): |
52 * event-msw.c (mswindows_cancel_dispatch_event): | 702 * event-msw.c (mswindows_cancel_dispatch_event): |
53 Make sure Lisp_Objects inside events are initialized to Qnil, not | 703 Make sure Lisp_Objects inside events are initialized to Qnil, not |
54 Qnull_pointer, which is now illegal. | 704 Qnull_pointer, which is now illegal. |
55 | 705 |
56 1998-12-10 Martin Buchholz <martin@xemacs.org> | 706 1998-12-10 Martin Buchholz <martin@xemacs.org> |
63 XSETINT for assigning lisp objects. | 713 XSETINT for assigning lisp objects. |
64 | 714 |
65 1998-12-07 Martin Buchholz <martin@xemacs.org> | 715 1998-12-07 Martin Buchholz <martin@xemacs.org> |
66 | 716 |
67 * opaque.h: | 717 * opaque.h: |
68 * console-msw.c (DHEADER): | 718 * console-msw.c (DHEADER): |
69 (DOPAQUE_DATA): | 719 (DOPAQUE_DATA): |
70 (DEVENT): | 720 (DEVENT): |
71 (DCONS): | 721 (DCONS): |
72 (DCONSCDR): | 722 (DCONSCDR): |
73 (DSTRING): | 723 (DSTRING): |
74 (DVECTOR): | 724 (DVECTOR): |
75 (DSYMBOL): | 725 (DSYMBOL): |
76 (DSYMNAME): | 726 (DSYMNAME): |
77 - max_align_t should not be visible to the user of the | 727 - max_align_t should not be visible to the user of the |
78 XOPAQUE_DATA macro. | 728 XOPAQUE_DATA macro. |
79 - use Bufbyte instead of char | 729 - use Bufbyte instead of char |
80 - parens around (FOOP (obj)) are always redundant. | 730 - parens around (FOOP (obj)) are always redundant. |
81 If they were necessary, we should fix the macro instead. | 731 If they were necessary, we should fix the macro instead. |
82 - Always use string_data(foo) instead of foo->data. | 732 - Always use string_data(foo) instead of foo->data. |
83 | 733 |
84 1998-12-07 Martin Buchholz <martin@xemacs.org> | 734 1998-12-07 Martin Buchholz <martin@xemacs.org> |
85 | 735 |
86 * sysdep.c (set_descriptor_non_blocking): | 736 * sysdep.c (set_descriptor_non_blocking): |
87 Since O_NONBLOCK is now always #defined, make use of fcntl | 737 Since O_NONBLOCK is now always #defined, make use of fcntl |
88 conditional on F_SETFL being defined. | 738 conditional on F_SETFL being defined. |
89 | 739 |
90 1998-12-09 Andy Piper <andy@xemacs.org> | 740 1998-12-09 Andy Piper <andy@xemacs.org> |
91 | 741 |
99 | 749 |
100 1998-12-08 Martin Buchholz <martin@xemacs.org> | 750 1998-12-08 Martin Buchholz <martin@xemacs.org> |
101 | 751 |
102 * windowsnt.h: Remove `support' for using index and rindex | 752 * windowsnt.h: Remove `support' for using index and rindex |
103 | 753 |
104 * filelock.c (current_lock_owner): | 754 * filelock.c (current_lock_owner): |
105 - Change uses of index -> strchr, rindex -> strrchr | 755 - Change uses of index -> strchr, rindex -> strrchr |
106 | 756 |
107 1998-12-06 Martin Buchholz <martin@xemacs.org> | 757 1998-12-06 Martin Buchholz <martin@xemacs.org> |
108 | 758 |
109 * frame-msw.c (mswindows_init_frame_1): | 759 * frame-msw.c (mswindows_init_frame_1): |
769 * EmacsFrame.c: cast strings to (XtPointer) | 1419 * EmacsFrame.c: cast strings to (XtPointer) |
770 - mega patch | 1420 - mega patch |
771 - rewrite basic lisp functions for speed | 1421 - rewrite basic lisp functions for speed |
772 - rewrite bytecode interpreter for speed | 1422 - rewrite bytecode interpreter for speed |
773 - rewrite list looping constructs for speed and safety using | 1423 - rewrite list looping constructs for speed and safety using |
774 tortoise/hare. | 1424 tortoise/hare. |
775 - use size_t where appropriate. | 1425 - use size_t where appropriate. |
776 - new hashtable implementation | 1426 - new hashtable implementation |
777 - cleanup implementation of opaques | 1427 - cleanup implementation of opaques |
778 - opaques can now be purecopy'ed | 1428 - opaques can now be purecopy'ed |
779 - move some cl functionality into C for speed. | 1429 - move some cl functionality into C for speed. |
790 - globally replace O_NDELAY with O_NONBLOCK. | 1440 - globally replace O_NDELAY with O_NONBLOCK. |
791 - globally replace CDISABLE with _POSIX_VDISABLE. | 1441 - globally replace CDISABLE with _POSIX_VDISABLE. |
792 - use O_RDONLY and O_RDWR instead of magic `0' and `2'. | 1442 - use O_RDONLY and O_RDWR instead of magic `0' and `2'. |
793 - define (and maybe use!) STDERR_FILENO and friends. | 1443 - define (and maybe use!) STDERR_FILENO and friends. |
794 - add support for macros defined in C | 1444 - add support for macros defined in C |
795 - `when', `unless', `not' and `defalias' now defined in C, | 1445 - `when', `unless', `not' and `defalias' now defined in C, |
796 so that they are universally available. | 1446 so that they are universally available. |
797 - rename defvar_mumble to defvar_magic | 1447 - rename defvar_mumble to defvar_magic |
798 - rename RETURN__ to RETURN_SANS_WARNINGS | 1448 - rename RETURN__ to RETURN_SANS_WARNINGS |
799 - use consistent style of initial caps in error messages | 1449 - use consistent style of initial caps in error messages |
800 - implement last, butlast, nbutlast, copy-list in C. | 1450 - implement last, butlast, nbutlast, copy-list in C. |
835 Add stub for:label. | 1485 Add stub for:label. |
836 Support :active for submenus like the Windows code and FSF Emacs. | 1486 Support :active for submenus like the Windows code and FSF Emacs. |
837 | 1487 |
838 1998-11-27 Hrvoje Niksic <hniksic@srce.hr> | 1488 1998-11-27 Hrvoje Niksic <hniksic@srce.hr> |
839 | 1489 |
840 * dired.c (make_directory_hash_table): make_string() is OK because | 1490 * dired.c (make_directory_hash_table): make_string() is OK because |
841 readdir() Mule-encapsulates. | 1491 readdir() Mule-encapsulates. |
842 | 1492 |
843 1998-11-26 Hrvoje Niksic <hniksic@srce.hr> | 1493 1998-11-26 Hrvoje Niksic <hniksic@srce.hr> |
844 | 1494 |
845 * fns.c (Fbase64_encode_string): Fix docstring. | 1495 * fns.c (Fbase64_encode_string): Fix docstring. |
850 * editfns.c (Ftranslate_region): Use | 1500 * editfns.c (Ftranslate_region): Use |
851 convert_bufbyte_string_into_emchar_string(). | 1501 convert_bufbyte_string_into_emchar_string(). |
852 | 1502 |
853 1998-11-25 Hrvoje Niksic <hniksic@srce.hr> | 1503 1998-11-25 Hrvoje Niksic <hniksic@srce.hr> |
854 | 1504 |
855 * editfns.c (Ftranslate_region): Accept vectors and char-tables as | 1505 * editfns.c (Ftranslate_region): Accept vectors and char-tables as |
856 well as strings. | 1506 well as strings. |
857 (Ftranslate_region): Turn table into an array of Emchars for | 1507 (Ftranslate_region): Turn table into an array of Emchars for |
858 larger regions. | 1508 larger regions. |
859 | 1509 |
860 1998-11-25 Hrvoje Niksic <hniksic@srce.hr> | 1510 1998-11-25 Hrvoje Niksic <hniksic@srce.hr> |
878 | 1528 |
879 1998-11-26 Didier Verna <verna@inf.enst.fr> | 1529 1998-11-26 Didier Verna <verna@inf.enst.fr> |
880 | 1530 |
881 * process-unix.c (unix_create_process): handle properly | 1531 * process-unix.c (unix_create_process): handle properly |
882 Vfile_name_coding_system for converting the program and directory | 1532 Vfile_name_coding_system for converting the program and directory |
883 names. | 1533 names. |
884 | 1534 |
885 1998-11-27 SL Baur <steve@altair.xemacs.org> | 1535 1998-11-27 SL Baur <steve@altair.xemacs.org> |
886 | 1536 |
887 * m/arm.h: New file. | 1537 * m/arm.h: New file. |
888 From James LewisMoss <dres@ioa.com> | 1538 From James LewisMoss <dres@ioa.com> |
900 1998-11-25 Hrvoje Niksic <hniksic@srce.hr> | 1550 1998-11-25 Hrvoje Niksic <hniksic@srce.hr> |
901 | 1551 |
902 * fns.c (free_malloced_ptr): New function. | 1552 * fns.c (free_malloced_ptr): New function. |
903 (XMALLOC_OR_ALLOCA): New macro. | 1553 (XMALLOC_OR_ALLOCA): New macro. |
904 (XMALLOC_UNBIND): Ditto. | 1554 (XMALLOC_UNBIND): Ditto. |
905 (Fbase64_encode_region): Use malloc() for large blocks; arrange it | 1555 (Fbase64_encode_region): Use malloc() for large blocks; arrange it |
906 to be freed in case of non-local exit. | 1556 to be freed in case of non-local exit. |
907 (Fbase64_encode_string): Ditto. | 1557 (Fbase64_encode_string): Ditto. |
908 (Fbase64_decode_region): Ditto. | 1558 (Fbase64_decode_region): Ditto. |
909 (Fbase64_decode_string): Ditto. | 1559 (Fbase64_decode_string): Ditto. |
910 (STORE_BYTE): New macro. | 1560 (STORE_BYTE): New macro. |
1013 * malloc.c: | 1663 * malloc.c: |
1014 Add <stddef.h> to get ptrdiff_t declaration | 1664 Add <stddef.h> to get ptrdiff_t declaration |
1015 | 1665 |
1016 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk> | 1666 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk> |
1017 | 1667 |
1018 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as | 1668 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as |
1019 is used for Motif or Lucid scrollbars under X. | 1669 is used for Motif or Lucid scrollbars under X. |
1020 | 1670 |
1021 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com> | 1671 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com> |
1022 | 1672 |
1023 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running | 1673 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running |
1068 | 1718 |
1069 * device-msw.c (mswindows_init_device): Call new | 1719 * device-msw.c (mswindows_init_device): Call new |
1070 mswindows_enumerate_fonts() function in objects-msw.c instead | 1720 mswindows_enumerate_fonts() function in objects-msw.c instead |
1071 of font_enum_callback_1() to enumerate fonts. | 1721 of font_enum_callback_1() to enumerate fonts. |
1072 | 1722 |
1073 font_enum_callback_1() and _2() moved to objects-msw.c. | 1723 font_enum_callback_1() and _2() moved to objects-msw.c. |
1074 | 1724 |
1075 * faces.c (complex_vars_of_faces): Make the mswindows default | 1725 * faces.c (complex_vars_of_faces): Make the mswindows default |
1076 face font fully specified and provide some fallbacks. | 1726 face font fully specified and provide some fallbacks. |
1077 | 1727 |
1078 * objects-msw.c: font_enum_callback_1() and _2() moved here | 1728 * objects-msw.c: font_enum_callback_1() and _2() moved here |
1079 from objects-msw.c. Obtain the enumerated font's character | 1729 from objects-msw.c. Obtain the enumerated font's character |
1080 sets by table lookup instead of using the locale-specific | 1730 sets by table lookup instead of using the locale-specific |
1098 | 1748 |
1099 Removed sigkill_code_end(), sigint_code_end() and | 1749 Removed sigkill_code_end(), sigint_code_end() and |
1100 sig_enable_code_end() since they are now redundant. | 1750 sig_enable_code_end() since they are now redundant. |
1101 | 1751 |
1102 send_signal() and enable_child_signals(): Don't try to work | 1752 send_signal() and enable_child_signals(): Don't try to work |
1103 out the end of the code fragments passed to | 1753 out the end of the code fragments passed to |
1104 run_in_other_process() | 1754 run_in_other_process() |
1105 | 1755 |
1106 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp> | 1756 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp> |
1107 | 1757 |
1108 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for | 1758 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for |
1180 | 1830 |
1181 * lisp.h: Added Fsystem_name. | 1831 * lisp.h: Added Fsystem_name. |
1182 | 1832 |
1183 * filelock.c: Replaced by version from FSF 20.2. Now implements | 1833 * filelock.c: Replaced by version from FSF 20.2. Now implements |
1184 locking by using symlinks which is NFS safe. However keep the | 1834 locking by using symlinks which is NFS safe. However keep the |
1185 GCPRO's in lock_file and the calls to callx_in_buffer like our old | 1835 GCPRO's in lock_file and the calls to callx_in_buffer like our old |
1186 version (and of course use ansi C, acessor macros, etc). | 1836 version (and of course use ansi C, acessor macros, etc). |
1187 | 1837 |
1188 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch> | 1838 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch> |
1189 | 1839 |
1190 * process-unix.c (unix_create_process): Reset SIGHUP handler to | 1840 * process-unix.c (unix_create_process): Reset SIGHUP handler to |
1191 SIG_DFL. We now try to conserve any inherted SIG_IGN settings | 1841 SIG_DFL. We now try to conserve any inherted SIG_IGN settings |
1192 in init_signals_very_early. However these should not be passed | 1842 in init_signals_very_early. However these should not be passed |
1193 on to children attached to the new pty. | 1843 on to children attached to the new pty. |
1194 | 1844 |
1195 1998-08-28 Andy Piper <andyp@parallax.co.uk> | 1845 1998-08-28 Andy Piper <andyp@parallax.co.uk> |
1196 | 1846 |
1197 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use. | 1847 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use. |
1198 | 1848 |
1199 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk> | 1849 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk> |
1200 | 1850 |
1201 * fileio.c (file-name-directory, file_name_as_directory): | 1851 * fileio.c (file-name-directory, file_name_as_directory): |
1202 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT. | 1852 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT. |
1203 | 1853 |
1204 1998-09-02 Andy Piper <andyp@parallax.co.uk> | 1854 1998-09-02 Andy Piper <andyp@parallax.co.uk> |
1205 | 1855 |
1206 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC | 1856 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC |
1207 | 1857 |
1233 | 1883 |
1234 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de> | 1884 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de> |
1235 | 1885 |
1236 * frame-x.c (x_delete_frame): Flush the X output buffer after | 1886 * frame-x.c (x_delete_frame): Flush the X output buffer after |
1237 calling XtDestroyWidget to ensure that the windows are really | 1887 calling XtDestroyWidget to ensure that the windows are really |
1238 killed right now. | 1888 killed right now. |
1239 | 1889 |
1240 1998-08-26 Hrvoje Niksic <hniksic@srce.hr> | 1890 1998-08-26 Hrvoje Niksic <hniksic@srce.hr> |
1241 | 1891 |
1242 * menubar-x.c (my_run_hook): New unused function. | 1892 * menubar-x.c (my_run_hook): New unused function. |
1243 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook, | 1893 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook, |
1261 | 1911 |
1262 * insdel.c (buffer_insert_string_1): Advance the point bytind in | 1912 * insdel.c (buffer_insert_string_1): Advance the point bytind in |
1263 all the buffers. | 1913 all the buffers. |
1264 (buffer_delete_range): Ditto. | 1914 (buffer_delete_range): Ditto. |
1265 | 1915 |
1266 * marker.c (init_buffer_markers): Set point-marker to the value of | 1916 * marker.c (init_buffer_markers): Set point-marker to the value of |
1267 point in an indirect buffer. | 1917 point in an indirect buffer. |
1268 | 1918 |
1269 1998-08-30 Hrvoje Niksic <hniksic@srce.hr> | 1919 1998-08-30 Hrvoje Niksic <hniksic@srce.hr> |
1270 | 1920 |
1271 * undo.c (undo_prelude): Test last-undo-buffer against base | 1921 * undo.c (undo_prelude): Test last-undo-buffer against base |
1341 Manually track the state of the left and right Ctrl and Alt | 1991 Manually track the state of the left and right Ctrl and Alt |
1342 modifiers. | 1992 modifiers. |
1343 | 1993 |
1344 1998-08-07 Matt Stupple <matts@tibco.com> | 1994 1998-08-07 Matt Stupple <matts@tibco.com> |
1345 | 1995 |
1346 * ntproc.c: don't wait on char_consumed at thread entry. | 1996 * ntproc.c: don't wait on char_consumed at thread entry. |
1347 Additionally, to get the 'process' marked as finished, ensure | 1997 Additionally, to get the 'process' marked as finished, ensure |
1348 that the CHILD_ACTIVE macro returns false, so before exiting | 1998 that the CHILD_ACTIVE macro returns false, so before exiting |
1349 close char_avail and set it to NULL, and close other handles | 1999 close char_avail and set it to NULL, and close other handles |
1350 to reduce handle leak problems. | 2000 to reduce handle leak problems. |
1351 | 2001 |
1368 * glyphs-eimage.c: Change referenced header file for GIF | 2018 * glyphs-eimage.c: Change referenced header file for GIF |
1369 reading to point to the incore version. | 2019 reading to point to the incore version. |
1370 | 2020 |
1371 1998-07-20 Martin Buchholz <martin@xemacs.org> | 2021 1998-07-20 Martin Buchholz <martin@xemacs.org> |
1372 | 2022 |
1373 * casefiddle.c (casify_object): | 2023 * casefiddle.c (casify_object): |
1374 Change algorithm from O(N**2) to O(N). | 2024 Change algorithm from O(N**2) to O(N). |
1375 Code cleanup. | 2025 Code cleanup. |
1376 Doc string cleanup. | 2026 Doc string cleanup. |
1377 | 2027 |
1378 1998-07-22 Greg Klanderman <greg@alphatech.com> | 2028 1998-07-22 Greg Klanderman <greg@alphatech.com> |
1471 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down | 2121 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down |
1472 | 2122 |
1473 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch> | 2123 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch> |
1474 | 2124 |
1475 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms. | 2125 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms. |
1476 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier | 2126 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier |
1477 keys thus no longer considering all keysyms on a key. | 2127 keys thus no longer considering all keysyms on a key. |
1478 | 2128 |
1479 1998-07-19 SL Baur <steve@altair.xemacs.org> | 2129 1998-07-19 SL Baur <steve@altair.xemacs.org> |
1480 | 2130 |
1481 * XEmacs 21.2-beta1 is released. | 2131 * XEmacs 21.2-beta1 is released. |
1602 | 2252 |
1603 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com> | 2253 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com> |
1604 | 2254 |
1605 * eval.c (run_hook_with_args_in_buffer): Check | 2255 * eval.c (run_hook_with_args_in_buffer): Check |
1606 default (non-buffer-local) value of hook for | 2256 default (non-buffer-local) value of hook for |
1607 nil before treating it as a function. Don't initialize | 2257 nil before treating it as a function. Don't initialize |
1608 the `globals' variable twice. | 2258 the `globals' variable twice. |
1609 | 2259 |
1610 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk> | 2260 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk> |
1611 | 2261 |
1612 * fileio.c: Don't do directory seperator canonicalisation in | 2262 * fileio.c: Don't do directory seperator canonicalisation in |
1633 | 2283 |
1634 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com> | 2284 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com> |
1635 | 2285 |
1636 * eval.c (run_hook_with_args_in_buffer): Don't treat | 2286 * eval.c (run_hook_with_args_in_buffer): Don't treat |
1637 the default value of a buffer local hook as a list of | 2287 the default value of a buffer local hook as a list of |
1638 hooks unless it is both a cons and the car of that cons | 2288 hooks unless it is both a cons and the car of that cons |
1639 is not Qlambda. | 2289 is not Qlambda. |
1640 | 2290 |
1641 1998-06-29 SL Baur <steve@altair.xemacs.org> | 2291 1998-06-29 SL Baur <steve@altair.xemacs.org> |
1642 | 2292 |
1643 * extents.c: Email address for Ben Wing is ben@xemacs.org. | 2293 * extents.c: Email address for Ben Wing is ben@xemacs.org. |
1663 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto. | 2313 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto. |
1664 | 2314 |
1665 * winslots.h: Rename. | 2315 * winslots.h: Rename. |
1666 | 2316 |
1667 * window.c (specifier_vars_of_window): Renamed | 2317 * window.c (specifier_vars_of_window): Renamed |
1668 vertical-divider-draggable-p to vertical-divider-always-visible-p, | 2318 vertical-divider-draggable-p to vertical-divider-always-visible-p, |
1669 as suggested by Ben Wing. | 2319 as suggested by Ben Wing. |
1670 (specifier_vars_of_window): Fix docstrings. | 2320 (specifier_vars_of_window): Fix docstrings. |
1671 | 2321 |
1672 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> | 2322 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> |
1673 | 2323 |
1699 | 2349 |
1700 * indent.c (column_at_point): column cache bugfix. | 2350 * indent.c (column_at_point): column cache bugfix. |
1701 Set last_known_column_point to the buffer position for | 2351 Set last_known_column_point to the buffer position for |
1702 which the column was requested, not buffer's point. | 2352 which the column was requested, not buffer's point. |
1703 | 2353 |
1704 * redisplay.c (decode_mode_spec): for current-column, show | 2354 * redisplay.c (decode_mode_spec): for current-column, show |
1705 window's point's column, not buffer's point's column. | 2355 window's point's column, not buffer's point's column. |
1706 | 2356 |
1707 1998-06-23 Andy Piper <andyp@parallax.co.uk> | 2357 1998-06-23 Andy Piper <andyp@parallax.co.uk> |
1708 | 2358 |
1709 * menubar-msw.c (mswindows_handle_wm_command): use | 2359 * menubar-msw.c (mswindows_handle_wm_command): use |
1798 enable and size the frame to something sensible when we get | 2448 enable and size the frame to something sensible when we get |
1799 here. (mswindows_set_frame_properites): use new | 2449 here. (mswindows_set_frame_properites): use new |
1800 mswindows_size_frame_internal function and size frame if frame | 2450 mswindows_size_frame_internal function and size frame if frame |
1801 parameters not just if init is finished - WM_SIZE happens too | 2451 parameters not just if init is finished - WM_SIZE happens too |
1802 early for some specs. (mswindows_size_frame_internal): new | 2452 early for some specs. (mswindows_size_frame_internal): new |
1803 function abstracted from mswindows_set_frame_properties. | 2453 function abstracted from mswindows_set_frame_properties. |
1804 (Vmswindows_use_system_frame_size_defaults): | 2454 (Vmswindows_use_system_frame_size_defaults): |
1805 new variable controls whether to allow the system to pick frame | 2455 new variable controls whether to allow the system to pick frame |
1806 size defaults, defaults to nil. | 2456 size defaults, defaults to nil. |
1807 | 2457 |
1808 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather | 2458 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather |
1822 * casefiddle.c: | 2472 * casefiddle.c: |
1823 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar" | 2473 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar" |
1824 | 2474 |
1825 1998-06-05 Hrvoje Niksic <hniksic@srce.hr> | 2475 1998-06-05 Hrvoje Niksic <hniksic@srce.hr> |
1826 | 2476 |
1827 * eldap.c (Fldap_search_internal): Use build_ext_string instead of | 2477 * eldap.c (Fldap_search_internal): Use build_ext_string instead of |
1828 build_string to avoid crashes under Mule. | 2478 build_string to avoid crashes under Mule. |
1829 | 2479 |
1830 1998-06-13 Andy Piper <andyp@parallax.co.uk> | 2480 1998-06-13 Andy Piper <andyp@parallax.co.uk> |
1831 | 2481 |
1832 * ntplay.c (play_sound_data_1): don't delete the sound data until | 2482 * ntplay.c (play_sound_data_1): don't delete the sound data until |
2015 new function that just calls XmuReadBitmapDataFromFile. | 2665 new function that just calls XmuReadBitmapDataFromFile. |
2016 (x_xbm_instatntiate): device method from xbm_instantiate. | 2666 (x_xbm_instatntiate): device method from xbm_instantiate. |
2017 | 2667 |
2018 * glyphs-msw.c (read_bitmap_data) (NextInt) | 2668 * glyphs-msw.c (read_bitmap_data) (NextInt) |
2019 (read_bitmap_data_from_file): new functions copied from Xmu | 2669 (read_bitmap_data_from_file): new functions copied from Xmu |
2020 sources. | 2670 sources. |
2021 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert | 2671 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert |
2022 inline data to an mswindows bitmap. | 2672 inline data to an mswindows bitmap. |
2023 (init_image_instance_from_xbm_inline) (xbm_instantiate_1) | 2673 (init_image_instance_from_xbm_inline) (xbm_instantiate_1) |
2024 (mswindows_xbm_instantiate): mswindows-ized versions of the X | 2674 (mswindows_xbm_instantiate): mswindows-ized versions of the X |
2025 functions. | 2675 functions. |
2061 | 2711 |
2062 * console-msw.h: Removed prototype for mswindows_bump_queue(). | 2712 * console-msw.h: Removed prototype for mswindows_bump_queue(). |
2063 Added prototype for mswindows_enqueue_misc_user_event(). | 2713 Added prototype for mswindows_enqueue_misc_user_event(). |
2064 | 2714 |
2065 * menubar-msw.c (mswindows_handle_wm_command): Use | 2715 * menubar-msw.c (mswindows_handle_wm_command): Use |
2066 mswindows_enqueue_misc_user_event(). | 2716 mswindows_enqueue_misc_user_event(). |
2067 | 2717 |
2068 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto. | 2718 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto. |
2069 | 2719 |
2070 * dialog-msw.c (dialog_proc): Ditto. | 2720 * dialog-msw.c (dialog_proc): Ditto. |
2071 | 2721 |
2074 user events channel. | 2724 user events channel. |
2075 | 2725 |
2076 1998-05-29 Greg Klanderman <greg@alphatech.com> | 2726 1998-05-29 Greg Klanderman <greg@alphatech.com> |
2077 | 2727 |
2078 * window.c (Fwindow_displayed_text_pixel_height): was relying on | 2728 * window.c (Fwindow_displayed_text_pixel_height): was relying on |
2079 incorrect semantics of vmotion_pixels which has been fixed. don't | 2729 incorrect semantics of vmotion_pixels which has been fixed. don't |
2080 use it anymore as it can't easily be used. | 2730 use it anymore as it can't easily be used. |
2081 | 2731 |
2082 * indent.c (vmotion_pixels): fix off by one bug moving up. also | 2732 * indent.c (vmotion_pixels): fix off by one bug moving up. also |
2083 the motion was reported incorrectly if you tried to go past end of | 2733 the motion was reported incorrectly if you tried to go past end of |
2084 buffer. | 2734 buffer. |
2085 | 2735 |
2086 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru> | 2736 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru> |
2087 | 2737 |
2088 * toolbar.h: Removed misleading commentary, as Martin suggested. | 2738 * toolbar.h: Removed misleading commentary, as Martin suggested. |
2104 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons | 2754 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons |
2105 unpressable. warning elimination. | 2755 unpressable. warning elimination. |
2106 | 2756 |
2107 1998-05-28 Martin Buchholz <martin@xemacs.org> | 2757 1998-05-28 Martin Buchholz <martin@xemacs.org> |
2108 | 2758 |
2109 * alloc.c (dbg_constants): | 2759 * alloc.c (dbg_constants): |
2110 * dbxrc: | 2760 * dbxrc: |
2111 * gdbinit: | 2761 * gdbinit: |
2112 Remove toolbar_data debugging code, since that lrecord has | 2762 Remove toolbar_data debugging code, since that lrecord has |
2113 also been removed. | 2763 also been removed. |
2114 | 2764 |
2115 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com> | 2765 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com> |
2116 | 2766 |
2117 * alloc.c: zap cached value of (user-home-directory), so that | 2767 * alloc.c: zap cached value of (user-home-directory), so that |
2118 it's not undumped. | 2768 it's not undumped. |
2139 Vprocess_enviroment. | 2789 Vprocess_enviroment. |
2140 | 2790 |
2141 * fileio.c: replaced egetenv("HOME") with calls to the new | 2791 * fileio.c: replaced egetenv("HOME") with calls to the new |
2142 get_home_directory(). | 2792 get_home_directory(). |
2143 | 2793 |
2144 * lisp.h: Added function prototypes for uncache_home_directory() | 2794 * lisp.h: Added function prototypes for uncache_home_directory() |
2145 and get_home_directory(), along with lisp prototypes for | 2795 and get_home_directory(), along with lisp prototypes for |
2146 Fuser_home_directory() and friends. | 2796 Fuser_home_directory() and friends. |
2147 | 2797 |
2148 * nt.c: replaced getenv("HOME") with calls to the new | 2798 * nt.c: replaced getenv("HOME") with calls to the new |
2149 get_home_directory(). | 2799 get_home_directory(). |
2156 * process-nt.c (send_signal): Emulate SIGHUP. | 2806 * process-nt.c (send_signal): Emulate SIGHUP. |
2157 (validate_signal_number): Ditto. | 2807 (validate_signal_number): Ditto. |
2158 | 2808 |
2159 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally | 2809 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally |
2160 remove MOD_SHIFT from ASCII characters. | 2810 remove MOD_SHIFT from ASCII characters. |
2161 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when | 2811 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when |
2162 F10 is pressed. | 2812 F10 is pressed. |
2163 | 2813 |
2164 1998-05-24 Oliver Graf <ograf@fga.de> | 2814 1998-05-24 Oliver Graf <ograf@fga.de> |
2165 | 2815 |
2166 * frame-x.c (cde-start-drag-internal): added filename and multi- | 2816 * frame-x.c (cde-start-drag-internal): added filename and multi- |
2193 movement in pixels. | 2843 movement in pixels. |
2194 (vmotion_pixels): helper. | 2844 (vmotion_pixels): helper. |
2195 (syms_of_indent): DEFSUBR. | 2845 (syms_of_indent): DEFSUBR. |
2196 * lisp.h: declaration for vmotion_pixels(). | 2846 * lisp.h: declaration for vmotion_pixels(). |
2197 | 2847 |
2198 * indent.c (Fvertical_motion): Add optional third argument PIXELS, | 2848 * indent.c (Fvertical_motion): Add optional third argument PIXELS, |
2199 to request returning motion in pixels. | 2849 to request returning motion in pixels. |
2200 (Fvertical_motion_pixels): Remove, functionality merged into | 2850 (Fvertical_motion_pixels): Remove, functionality merged into |
2201 Fvertical_motion. | 2851 Fvertical_motion. |
2202 * window.c (window_scroll): call Fvertical_motion with 3 arguments. | 2852 * window.c (window_scroll): call Fvertical_motion with 3 arguments. |
2203 (Fmove_to_window_line): ditto. | 2853 (Fmove_to_window_line): ditto. |
2204 * lisp.h: Change declaration for Fvertical_motion. | 2854 * lisp.h: Change declaration for Fvertical_motion. |
2205 | 2855 |
2206 * window.c: rename window-text-pixel-{height,width,edges} to | 2856 * window.c: rename window-text-pixel-{height,width,edges} to |
2210 | 2860 |
2211 * tooltalk.c (vars_of_tooltalk) added staticpro for | 2861 * tooltalk.c (vars_of_tooltalk) added staticpro for |
2212 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str | 2862 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str |
2213 | 2863 |
2214 1998-05-27 Andy Piper <andyp@parallax.co.uk> | 2864 1998-05-27 Andy Piper <andyp@parallax.co.uk> |
2215 | 2865 |
2216 * faces.c: create a new 3d_object_face, make modeline and | 2866 * faces.c: create a new 3d_object_face, make modeline and |
2217 vertical_divider faces fallback to this rather than the default. | 2867 vertical_divider faces fallback to this rather than the default. |
2218 | 2868 |
2219 1998-05-21 Andy Piper <andyp@parallax.co.uk> | 2869 1998-05-21 Andy Piper <andyp@parallax.co.uk> |
2220 | 2870 |
2258 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru> | 2908 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru> |
2259 | 2909 |
2260 * This patch is to fix compilation warnings under Windows. | 2910 * This patch is to fix compilation warnings under Windows. |
2261 | 2911 |
2262 * s/windowsnt.h: Encapsulate getpid with sys_getpid. | 2912 * s/windowsnt.h: Encapsulate getpid with sys_getpid. |
2263 Added prototypes for FSF inherited functions, with which XEmacs is | 2913 Added prototypes for FSF inherited functions, with which XEmacs is |
2264 sprinkled thoroughly. | 2914 sprinkled thoroughly. |
2265 Removed some #if 0 code. Bracketed some more definitions, probably | 2915 Removed some #if 0 code. Bracketed some more definitions, probably |
2266 related to Visual C versions prior to 4 (we do not support them). | 2916 related to Visual C versions prior to 4 (we do not support them). |
2267 | 2917 |
2268 * sysfloat.h (logb): Finally, get logb() prototyped. | 2918 * sysfloat.h (logb): Finally, get logb() prototyped. |
2269 | 2919 |
2270 * sysfile.h: Added Windows specific includes. | 2920 * sysfile.h: Added Windows specific includes. |
2276 | 2926 |
2277 * symsinit.h: Added prototypes for syms_of_dired_mswindows, | 2927 * symsinit.h: Added prototypes for syms_of_dired_mswindows, |
2278 vars_of_dired_mswindows and init_ntproc (Grrr). | 2928 vars_of_dired_mswindows and init_ntproc (Grrr). |
2279 | 2929 |
2280 * realpath.c: Added Windows specific include files. | 2930 * realpath.c: Added Windows specific include files. |
2281 (xrealpath): Conditionalized declaration of some auto variables on | 2931 (xrealpath): Conditionalized declaration of some auto variables on |
2282 S_IFLNK, to avoid warnings. | 2932 S_IFLNK, to avoid warnings. |
2283 | 2933 |
2284 * ntproc.c: Disabled some compiler warnings. This file is going to | 2934 * ntproc.c: Disabled some compiler warnings. This file is going to |
2285 die, so I have not cleaned it up much. | 2935 die, so I have not cleaned it up much. |
2286 (set_process_dir): Const parameter. | 2936 (set_process_dir): Const parameter. |
2287 (Fwin32_short_file_name): Down CHECK_* macros to one argument. | 2937 (Fwin32_short_file_name): Down CHECK_* macros to one argument. |
2288 (Fwin32_long_file_name): Ditto. | 2938 (Fwin32_long_file_name): Ditto. |
2289 (Fwin32_set_process_priority): Ditto. Why didn't I remove these | 2939 (Fwin32_set_process_priority): Ditto. Why didn't I remove these |
2355 console_type_create_dialog_mswindows(), to initialize Windows dialog | 3005 console_type_create_dialog_mswindows(), to initialize Windows dialog |
2356 support. | 3006 support. |
2357 | 3007 |
2358 * symsinit.h: Prototyped the above functions. | 3008 * symsinit.h: Prototyped the above functions. |
2359 | 3009 |
2360 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency | 3010 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency |
2361 checks to dialog.c... | 3011 checks to dialog.c... |
2362 | 3012 |
2363 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a | 3013 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a |
2364 device must support dialog boxes, and the descriptor must supply at | 3014 device must support dialog boxes, and the descriptor must supply at |
2365 least one button. | 3015 least one button. |
2408 | 3058 |
2409 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru> | 3059 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru> |
2410 | 3060 |
2411 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for | 3061 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for |
2412 {top,bottom}-{left,right} values in addition to | 3062 {top,bottom}-{left,right} values in addition to |
2413 {top,bottom}_{left,right}. | 3063 {top,bottom}_{left,right}. |
2414 | 3064 |
2415 1998-05-18 Hrvoje Niksic <hniksic@srce.hr> | 3065 1998-05-18 Hrvoje Niksic <hniksic@srce.hr> |
2416 | 3066 |
2417 * fileio.c (Fmake_temp_name): Remove unreached code. | 3067 * fileio.c (Fmake_temp_name): Remove unreached code. |
2418 | 3068 |
2419 * process-nt.c (validate_signal_number): Use | 3069 * process-nt.c (validate_signal_number): Use |
2420 signal_simple_error(). | 3070 signal_simple_error(). |
2421 | 3071 |
2422 1998-05-19 Martin Buchholz <martin@xemacs.org> | 3072 1998-05-19 Martin Buchholz <martin@xemacs.org> |
2423 | 3073 |
2424 * unexhp9k800.c: | 3074 * unexhp9k800.c: |
2425 * sound.c (vars_of_sound): | 3075 * sound.c (vars_of_sound): |
2426 * sysdep.c (reset_sigio_on_device): | 3076 * sysdep.c (reset_sigio_on_device): |
2427 * window.c (window_bottom_gutter_height): | 3077 * window.c (window_bottom_gutter_height): |
2428 unexhp9k800.c:258: warning: implicit declaration of function | 3078 unexhp9k800.c:258: warning: implicit declaration of function |
2429 `calculate_checksum' | 3079 `calculate_checksum' |
2430 sound.c:604: warning: implicit declaration of function `vars_of_hpplay' | 3080 sound.c:604: warning: implicit declaration of function `vars_of_hpplay' |
2431 sysdep.c:1012: warning: unused variable `owner' | 3081 sysdep.c:1012: warning: unused variable `owner' |
2432 window.c:993: warning: `window_right_toolbar_width' defined but not used | 3082 window.c:993: warning: `window_right_toolbar_width' defined but not used |
2452 1998-05-18 Martin Buchholz <martin@xemacs.org> | 3102 1998-05-18 Martin Buchholz <martin@xemacs.org> |
2453 | 3103 |
2454 * frame-x.c (x_update_frame_external_traits): Start preprocessor | 3104 * frame-x.c (x_update_frame_external_traits): Start preprocessor |
2455 directives in column 1. | 3105 directives in column 1. |
2456 | 3106 |
2457 * search.c (skip_chars): Avoid using xzero with arrays, since some | 3107 * search.c (skip_chars): Avoid using xzero with arrays, since some |
2458 compilers get confused by the construct &array. | 3108 compilers get confused by the construct &array. |
2459 | 3109 |
2460 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru> | 3110 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru> |
2461 | 3111 |
2462 * objects-msw.h: | 3112 * objects-msw.h: |
2476 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, ""). | 3126 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, ""). |
2477 | 3127 |
2478 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru> | 3128 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru> |
2479 | 3129 |
2480 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI | 3130 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI |
2481 charset when creating font. | 3131 charset when creating font. |
2482 (mswindows_initialize_color_instance): Do not create brush along | 3132 (mswindows_initialize_color_instance): Do not create brush along |
2483 with a color. | 3133 with a color. |
2484 (mswindows_finalize_color_instance): Do not delete it then. | 3134 (mswindows_finalize_color_instance): Do not delete it then. |
2485 | 3135 |
2486 * objects-msw.h (struct mswindows_color_instance_data): Removed | 3136 * objects-msw.h (struct mswindows_color_instance_data): Removed |
2500 marked changed in set_frame_selected_window() in frame.c | 3150 marked changed in set_frame_selected_window() in frame.c |
2501 Added check for changed toolbars geometry. | 3151 Added check for changed toolbars geometry. |
2502 (compute_frame_toolbars_data): Removed unused second parameter; | 3152 (compute_frame_toolbars_data): Removed unused second parameter; |
2503 Adjusted callers of this static function throughout the file. | 3153 Adjusted callers of this static function throughout the file. |
2504 (init_frame_toolbars): Initialize current_toolbar_size. | 3154 (init_frame_toolbars): Initialize current_toolbar_size. |
2505 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of | 3155 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of |
2506 what is its current expansion, for clarity. | 3156 what is its current expansion, for clarity. |
2507 (init_frame_toolbars): Ditto. | 3157 (init_frame_toolbars): Ditto. |
2508 (init_device_toolbars): Ditto. | 3158 (init_device_toolbars): Ditto. |
2509 (init_global_toolbars): Ditto. | 3159 (init_global_toolbars): Ditto. |
2510 | 3160 |
2545 | 3195 |
2546 * symsinit.h: Externed syms_of_process_nt() | 3196 * symsinit.h: Externed syms_of_process_nt() |
2547 | 3197 |
2548 * emacs.c (main_1): Call syms_of_process_nt() | 3198 * emacs.c (main_1): Call syms_of_process_nt() |
2549 | 3199 |
2550 * process-nt.c: Quote process arguments by a call to Lisp function | 3200 * process-nt.c: Quote process arguments by a call to Lisp function |
2551 `nt-quote-process-args'. | 3201 `nt-quote-process-args'. |
2552 (syms_of_process_nt): New function. | 3202 (syms_of_process_nt): New function. |
2553 (nt_send_process): Flush data stream after each write, to avoid | 3203 (nt_send_process): Flush data stream after each write, to avoid |
2554 leaving buffered data. | 3204 leaving buffered data. |
2555 (nt_send_process): When blocked on process output, wait for | 3205 (nt_send_process): When blocked on process output, wait for |
2570 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width | 3220 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width |
2571 so that we re-output if the toolbar size has changed. | 3221 so that we re-output if the toolbar size has changed. |
2572 | 3222 |
2573 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> | 3223 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> |
2574 | 3224 |
2575 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c. | 3225 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c. |
2576 | 3226 |
2577 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c. | 3227 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c. |
2578 | 3228 |
2579 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully | 3229 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully |
2580 greater). | 3230 greater). |
2642 | 3292 |
2643 * callproc.c: Removed declared and unused variable Qbuffer_file_type. | 3293 * callproc.c: Removed declared and unused variable Qbuffer_file_type. |
2644 | 3294 |
2645 * bufslots.h: Removed buffer_file_type slot. | 3295 * bufslots.h: Removed buffer_file_type slot. |
2646 | 3296 |
2647 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from | 3297 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from |
2648 buffer local flags. | 3298 buffer local flags. |
2649 (complex_vars_of_buffer): Removed buffer-file-type variable and | 3299 (complex_vars_of_buffer): Removed buffer-file-type variable and |
2650 its default reference. | 3300 its default reference. |
2651 | 3301 |
2652 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru> | 3302 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru> |
2671 values for the vertical divider line width and spacing. Use the | 3321 values for the vertical divider line width and spacing. Use the |
2672 cached values from the window structure instead. | 3322 cached values from the window structure instead. |
2673 (x_divider_width): ditto. | 3323 (x_divider_width): ditto. |
2674 | 3324 |
2675 * window.c (specifier_vars_of_window): new specifiers: | 3325 * window.c (specifier_vars_of_window): new specifiers: |
2676 vertical-divier -line-width and -spacing. | 3326 vertical-divier -line-width and -spacing. |
2677 (vertical_divider_global_width_changed): formerly known as | 3327 (vertical_divider_global_width_changed): formerly known as |
2678 vertical_divider_shadow_thickness_changed. | 3328 vertical_divider_shadow_thickness_changed. |
2679 | 3329 |
2680 * winslots.h: new slots: vertical_specifier _line_width and | 3330 * winslots.h: new slots: vertical_specifier _line_width and |
2681 _spacing. Plus corrected a comment typo. | 3331 _spacing. Plus corrected a comment typo. |
2682 | 3332 |
2683 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru> | 3333 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru> |
2686 | 3336 |
2687 * console-stream.c (stream_divider_width): Removed method. | 3337 * console-stream.c (stream_divider_width): Removed method. |
2688 (console_type_create_stream): And declaration for it. | 3338 (console_type_create_stream): And declaration for it. |
2689 | 3339 |
2690 * redisplay.c (pixel_to_glyph_translation): Use | 3340 * redisplay.c (pixel_to_glyph_translation): Use |
2691 window_divider_width() instead of divider_width redisplay method. | 3341 window_divider_width() instead of divider_width redisplay method. |
2692 (pixel_to_glyph_translation): Fix top divider edge calculation | 3342 (pixel_to_glyph_translation): Fix top divider edge calculation |
2693 when scrollbar is on top. | 3343 when scrollbar is on top. |
2694 | 3344 |
2695 * window.c (window_divider_width): New function, an outphaser for | 3345 * window.c (window_divider_width): New function, an outphaser for |
2696 divider_width redisplay method. | 3346 divider_width redisplay method. |
2697 (window_right_gutter_width): Use it. | 3347 (window_right_gutter_width): Use it. |
2698 (specifier_vars_of_window): For vertical-divider-{spacing,line-width} | 3348 (specifier_vars_of_window): For vertical-divider-{spacing,line-width} |
2699 specifiers, set fallback values differently on TTYs, and document | 3349 specifiers, set fallback values differently on TTYs, and document |
2700 the behavior of these on TTYs in the docstrings. | 3350 the behavior of these on TTYs in the docstrings. |
2701 | 3351 |
2702 * scrollbar.c (update_scrollbar_instance): Use | 3352 * scrollbar.c (update_scrollbar_instance): Use |
2703 window_divider_width() instead of divider_width redisplay method. | 3353 window_divider_width() instead of divider_width redisplay method. |
2704 | 3354 |
2705 * console.h (struct console_methods): Removed divider_width_method. | 3355 * console.h (struct console_methods): Removed divider_width_method. |
2706 | 3356 |
2751 | 3401 |
2752 ** Dialog separation into a device method from Andy Piper | 3402 ** Dialog separation into a device method from Andy Piper |
2753 | 3403 |
2754 * emacs.c (main_1): Call console_type_create_dialog_x(). | 3404 * emacs.c (main_1): Call console_type_create_dialog_x(). |
2755 | 3405 |
2756 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted | 3406 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted |
2757 into this device method. | 3407 into this device method. |
2758 (console_type_create_dialog_x): New function. | 3408 (console_type_create_dialog_x): New function. |
2759 | 3409 |
2760 * dialog.c (Fpopup_dialog_box): New function. | 3410 * dialog.c (Fpopup_dialog_box): New function. |
2761 (syms_of_dialog): Defsubr it. | 3411 (syms_of_dialog): Defsubr it. |
2762 | 3412 |
2763 * console.h (struct console_methods): Declared | 3413 * console.h (struct console_methods): Declared |
2764 popup_dialog_box_method(). | 3414 popup_dialog_box_method(). |
2765 | 3415 |
2766 * symsinit.h: Defined console_type_create_dialog_{x,mswindows} | 3416 * symsinit.h: Defined console_type_create_dialog_{x,mswindows} |
2767 | 3417 |
2768 1998-05-14 Oliver Graf <ograf@fga.de> | 3418 1998-05-14 Oliver Graf <ograf@fga.de> |
2769 | 3419 |
2797 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru> | 3447 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru> |
2798 | 3448 |
2799 ** Renamed window-divider-map => vertical-divider-map | 3449 ** Renamed window-divider-map => vertical-divider-map |
2800 and event-over-divider-p => event-over-vertical-divider-p, | 3450 and event-over-divider-p => event-over-vertical-divider-p, |
2801 in the following files/functions: | 3451 in the following files/functions: |
2802 * events.h: | 3452 * events.h: |
2803 * events.c (Fevent_over_divider_p): | 3453 * events.c (Fevent_over_divider_p): |
2804 * keymap.c (get_relevant_keymaps): | 3454 * keymap.c (get_relevant_keymaps): |
2805 (vars_of_keymap): | 3455 (vars_of_keymap): |
2806 | 3456 |
2807 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER. | 3457 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER. |
2808 | 3458 |
2809 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER. | 3459 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER. |
2810 | 3460 |
2823 (map_windows): Changed return type to int, return the value from | 3473 (map_windows): Changed return type to int, return the value from |
2824 MAPFUN. | 3474 MAPFUN. |
2825 | 3475 |
2826 * window.h: Prototype invalidate_vertical_divider_cache_in_window. | 3476 * window.h: Prototype invalidate_vertical_divider_cache_in_window. |
2827 (struct window): Added need_vertical_divider_p and | 3477 (struct window): Added need_vertical_divider_p and |
2828 need_vertical_divider_valid_p. | 3478 need_vertical_divider_valid_p. |
2829 | 3479 |
2830 * winslots.h: Added vertical_divider_draggable_p slot. | 3480 * winslots.h: Added vertical_divider_draggable_p slot. |
2831 | 3481 |
2832 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented. | 3482 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented. |
2833 (specifier_vars_of_scrollbar): Used it in all vertical specifiers. | 3483 (specifier_vars_of_scrollbar): Used it in all vertical specifiers. |
2879 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS. | 3529 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS. |
2880 (x_output_vertical_divider): give a depressed look when the shadow | 3530 (x_output_vertical_divider): give a depressed look when the shadow |
2881 thickness is negative. | 3531 thickness is negative. |
2882 | 3532 |
2883 * console-stream.c (stream_divider_width): pass a struct window * | 3533 * console-stream.c (stream_divider_width): pass a struct window * |
2884 argument. | 3534 argument. |
2885 | 3535 |
2886 * redisplay-tty.c (tty_divider_width): ditto. | 3536 * redisplay-tty.c (tty_divider_width): ditto. |
2887 | 3537 |
2888 * window.c (window_right_gutter_width): totdi. | 3538 * window.c (window_right_gutter_width): totdi. |
2889 | 3539 |
2890 * redisplay.c (generate_modeline): ittod. | 3540 * redisplay.c (generate_modeline): ittod. |
2891 | 3541 |
2892 * scrollbar.c (update_scrollbar_instance): ttido. | 3542 * scrollbar.c (update_scrollbar_instance): ttido. |
2893 | 3543 |
2894 * redisplay-msw.c (mswindows_divider_width): ottid. | 3544 * redisplay-msw.c (mswindows_divider_width): ottid. |
2895 WARNING: this enables to compile, but the feature is not functional. | 3545 WARNING: this enables to compile, but the feature is not functional. |
2896 | 3546 |
2897 * window.h (struct window): new field | 3547 * window.h (struct window): new field |
2898 vertical_divider_shadow_thickness. | 3548 vertical_divider_shadow_thickness. |
2899 | 3549 |
2900 * window.c (specifier_vars_of_window): new specifier | 3550 * window.c (specifier_vars_of_window): new specifier |
2901 vertical-divider-shadow-thickness. | 3551 vertical-divider-shadow-thickness. |
2902 (vertical_divider_shadow_thickness_changed): new function to | 3552 (vertical_divider_shadow_thickness_changed): new function to |
2903 inform redisplay that the window has changed. | 3553 inform redisplay that the window has changed. |
2944 (Fend_kbd_macro): Remove REMOVE_LAST kludge. | 3594 (Fend_kbd_macro): Remove REMOVE_LAST kludge. |
2945 | 3595 |
2946 1998-05-10 Andy Piper <andyp@parallax.co.uk> | 3596 1998-05-10 Andy Piper <andyp@parallax.co.uk> |
2947 | 3597 |
2948 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure | 3598 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure |
2949 multiple bitmaps are output vertically as well as horizontally. | 3599 multiple bitmaps are output vertically as well as horizontally. |
2950 * (mswindows_output_dibitmap): don't cope with bitmap boundaries | 3600 * (mswindows_output_dibitmap): don't cope with bitmap boundaries |
2951 crossing lines this is handled by | 3601 crossing lines this is handled by |
2952 mswindows_output_dibitmap_region. | 3602 mswindows_output_dibitmap_region. |
2953 | 3603 |
2954 1998-05-12 Martin Buchholz <martin@xemacs.org> | 3604 1998-05-12 Martin Buchholz <martin@xemacs.org> |
2955 | 3605 |
2956 * inline.c: Include eldap.h | 3606 * inline.c: Include eldap.h |
2957 | 3607 |
2958 * menubar-x.c (x_update_frame_menubar_internal): | 3608 * menubar-x.c (x_update_frame_menubar_internal): |
2959 Remove: unused variable `container' | 3609 Remove: unused variable `container' |
2960 | 3610 |
2961 1998-05-11 Martin Buchholz <martin@xemacs.org> | 3611 1998-05-11 Martin Buchholz <martin@xemacs.org> |
2962 | 3612 |
2963 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly. | 3613 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly. |
2964 Unfortunately, the resulting temacs still cannot dump. | 3614 Unfortunately, the resulting temacs still cannot dump. |
2965 | 3615 |
2966 * symbols.c (symbol_is_constant): | 3616 * symbols.c (symbol_is_constant): |
2967 (verify_ok_for_buffer_local): | 3617 (verify_ok_for_buffer_local): |
2968 -Wswitch Warning suppression - add default case to switches. | 3618 -Wswitch Warning suppression - add default case to switches. |
2969 | 3619 |
2970 * redisplay.c (decode_mode_spec): Remove unused variables, | 3620 * redisplay.c (decode_mode_spec): Remove unused variables, |
2971 Replace Fcoding_system_property (codesys, Qmnemonic) with | 3621 Replace Fcoding_system_property (codesys, Qmnemonic) with |
2972 XCODING_SYSTEM_MNEMONIC (codesys); | 3622 XCODING_SYSTEM_MNEMONIC (codesys); |
3009 - Use standard coding conventions for modules/Makefile.in | 3659 - Use standard coding conventions for modules/Makefile.in |
3010 | 3660 |
3011 1998-05-12 Didier Verna <verna@inf.enst.fr> | 3661 1998-05-12 Didier Verna <verna@inf.enst.fr> |
3012 | 3662 |
3013 * redisplay.c: removed the scrolling modeline code that didn't | 3663 * redisplay.c: removed the scrolling modeline code that didn't |
3014 make it for 21.0. To be continued ... | 3664 make it for 21.0. To be continued ... |
3015 | 3665 |
3016 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> | 3666 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> |
3017 | 3667 |
3018 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil | 3668 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil |
3019 and empty string inputs. | 3669 and empty string inputs. |
3066 deadbox painting. | 3716 deadbox painting. |
3067 (mswindows_divider_width): Ask system for user preferred value. | 3717 (mswindows_divider_width): Ask system for user preferred value. |
3068 (mswindows_output_vertical_divider): Always output the divider on | 3718 (mswindows_output_vertical_divider): Always output the divider on |
3069 the right side of a window, down to bottom. | 3719 the right side of a window, down to bottom. |
3070 | 3720 |
3071 * keymap.c (get_relevant_keymaps): Route mouse button events which | 3721 * keymap.c (get_relevant_keymaps): Route mouse button events which |
3072 happened over a window divider through window-divider-map. | 3722 happened over a window divider through window-divider-map. |
3073 (Fkey_binding): Documented that in the docstring. | 3723 (Fkey_binding): Documented that in the docstring. |
3074 Defined the variable Vwindow_divider_map. | 3724 Defined the variable Vwindow_divider_map. |
3075 | 3725 |
3076 * events.c (Fevent_over_divider_p): Added this function. | 3726 * events.c (Fevent_over_divider_p): Added this function. |
3115 | 3765 |
3116 * device.c: (Fdevice_system_metric): Renamed so from plural form | 3766 * device.c: (Fdevice_system_metric): Renamed so from plural form |
3117 (metrics); Changed parameters order and added DEFAULT parameter; | 3767 (metrics); Changed parameters order and added DEFAULT parameter; |
3118 Unabbreviated some metric constants; Fixed and untabified doc string. | 3768 Unabbreviated some metric constants; Fixed and untabified doc string. |
3119 (Fdevice_system_metrics): Added. Returns a plist of all provided | 3769 (Fdevice_system_metrics): Added. Returns a plist of all provided |
3120 metrics. | 3770 metrics. |
3121 | 3771 |
3122 * device-msw.c (mswindows_device_system_metrics): Renamed | 3772 * device-msw.c (mswindows_device_system_metrics): Renamed |
3123 device_metrics enum constants. | 3773 device_metrics enum constants. |
3124 Return Qunbound instead of Qnil. | 3774 Return Qunbound instead of Qnil. |
3125 | 3775 |