comparison src/ChangeLog @ 288:e11d67e05968 r21-0b42

Import from CVS: tag r21-0b42
author cvs
date Mon, 13 Aug 2007 10:35:54 +0200
parents 57709be46d1b
children c9fe270a4101
comparison
equal deleted inserted replaced
287:13a0bd77a29d 288:e11d67e05968
1 1998-05-29 Andy Piper <andyp@parallax.co.uk>
2
3 * ntplay.c (play_sound_data_1) new function. convert alloca data
4 to malloc if necessary.
5 (play_sound_file): if the file is not in our path then convert to
6 data and play.
7
8 1998-06-01 SL Baur <steve@altair.xemacs.org>
9
10 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
11 * msdos.c (Frecent_doskeys): Ditto.
12
13 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
14 Suggested by Reggie Perry <perry@zso.dec.com>
15
16 * buffer.h: Eliminate size in declaration.
17
18 1998-06-01 Olivier Galibert <galibert@pobox.com>
19
20 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
21
22 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
23
24 * gui.c (gui_item_init): Changed the default value for config member
25 from Qunbound to Qnil.
26
27 1998-06-01 Greg Klanderman <greg@alphatech.com>
28
29 * indent.c (vmotion_pixels): Don't #define abs().
30
31 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
32
33 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
34 respectively.
35
36 1998-05-30 Andy Piper <andyp@parallax.co.uk>
37
38 * glyphs.h: add xbm declarations.
39
40 * console.h: add xbm_instantiate_method device method.
41
42 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
43 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
44 (xbm_possible_dest_types): moved here from glyphs-x.c. use
45 locate_pixmap_file device method and read_bitmap_data_from_file
46 instead of XmuReadBitmapDataFromFile.
47 (xbm_instatntiate): make a device method.
48
49 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
50 new function that just calls XmuReadBitmapDataFromFile.
51 (x_xbm_instatntiate): device method from xbm_instantiate.
52
53 * glyphs-msw.c (read_bitmap_data) (NextInt)
54 (read_bitmap_data_from_file): new functions copied from Xmu
55 sources.
56 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
57 inline data to an mswindows bitmap.
58 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
59 (mswindows_xbm_instantiate): mswindows-ized versions of the X
60 functions.
61
62 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
63
64 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
65 `modeline-visible-p'.
66 Declared specifier lisp variables at the beginning oh the file
67 as static.
68
69 * procimpl.h (struct process_methods): Changed semantics of
70 create_process method so it accepts lisp strings instead of
71 char pointers.
72
73 * process.c (Fstart_process_internal): Moved building of
74 unix style argv from here to process-unix.c, ...
75
76 * process-unix.c (unix_create_process): ... right here.
77
78 * process-nt.c (nt_create_process): Changed this function to
79 support new semantics, so avoided a GC problem.
80
81 * events.c (Fmake_event): Document misc-user events properties.
82 (Fmake_event): Do not allow arbitrary objects for channel property
83 of misc-user events.
84 (Fmake_event): Change misc-user event validation: it is function
85 which is required, not button.
86
87 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
88 user events.
89 (mswindows_enqueue_misc_user_event): Added function.
90 (mswindows_bump_queue): Removed function.
91 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
92 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
93 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
94 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
95 really nothing, which is my personal favorite thing.
96
97 * console-msw.h: Removed prototype for mswindows_bump_queue().
98 Added prototype for mswindows_enqueue_misc_user_event().
99
100 * menubar-msw.c (mswindows_handle_wm_command): Use
101 mswindows_enqueue_misc_user_event().
102
103 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
104
105 * dialog-msw.c (dialog_proc): Ditto.
106
107 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
108 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
109 user events channel.
110
111 1998-05-29 Greg Klanderman <greg@alphatech.com>
112
113 * window.c (Fwindow_displayed_text_pixel_height): was relying on
114 incorrect semantics of vmotion_pixels which has been fixed. don't
115 use it anymore as it can't easily be used.
116
117 * indent.c (vmotion_pixels): fix off by one bug moving up. also
118 the motion was reported incorrectly if you tried to go past end of
119 buffer.
120
121 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
122
123 * toolbar.h: Removed misleading commentary, as Martin suggested.
124
125 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
126
127 * lisp.h: Extern Qactivate_menubar_hook.
128
129 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
130 run_hook ().
131
132 1998-05-29 Andy Piper <andyp@parallax.co.uk>
133
134 * glyphs-msw.c: use BPLINE macro.
135
136 * select-msw.c (mswindows-selection-exists-p)
137 (mswindows-delete-selection): doc string fixes.
138
139 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
140 unpressable. warning elimination.
141
142 1998-05-28 Martin Buchholz <martin@xemacs.org>
143
144 * alloc.c (dbg_constants):
145 * dbxrc:
146 * gdbinit:
147 Remove toolbar_data debugging code, since that lrecord has
148 also been removed.
149
150 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
151
152 * alloc.c: zap cached value of (user-home-directory), so that
153 it's not undumped.
154
155 * buffer.c: From init_buffer(), separated out code that
156 determined the initial directory for the *scratch* buffer, and
157 put them into a function called "init_initial_directory()".
158 The initial directory is now available as a global "char *"
159 called initial_directory.
160
161 * buffer.h: Added extern entries for initial_directory[] and
162 init_initial_directory().
163
164 * editfns.c: added new elisp function "user-home-directory",
165 which basically returns getenv("HOME"), but attempts to use
166 other values if $HOME isn't set.This may have to be tweaked in
167 the future as, under Unix, "/" is used if $HOME isn't set (this
168 probably should be set to the current directory). To support
169 this, a new C function, "get_home_directory()", now exists,
170 which returns the "home directory", as a "char *" string.
171
172 * emacs.c: Rearrange NT initialization order so that
173 environment/registry variables will be properly entered into
174 Vprocess_enviroment.
175
176 * fileio.c: replaced egetenv("HOME") with calls to the new
177 get_home_directory().
178
179 * lisp.h: Added function prototypes for uncache_home_directory()
180 and get_home_directory(), along with lisp prototypes for
181 Fuser_home_directory() and friends.
182
183 * nt.c: replaced getenv("HOME") with calls to the new
184 get_home_directory().
185
186 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
187 warnings about getcwd(), etc. not having prototypes.
188
189 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
190
191 * process-nt.c (send_signal): Emulate SIGHUP.
192 (validate_signal_number): Ditto.
193
194 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
195 remove MOD_SHIFT from ASCII characters.
196 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
197 F10 is pressed.
198
199 1998-05-24 Oliver Graf <ograf@fga.de>
200
201 * frame-x.c (cde-start-drag-internal): added filename and multi-
202 data transfers
203 (x_cde_convert_callback) dito
204
205 1998-05-26 Oliver Graf <ograf@fga.de>
206
207 * frame-x.c: include event-mod.h also with CDE
208 (x_cde_convert_callback) made the thing working
209 (cde-start-drag-internal) also debugging
210
211 1998-05-15 Greg Klanderman <greg@alphatech.com>
212
213 * window.c (Fwindow_displayed_text_pixel_height): New function.
214 (syms_of_window): DEFSUBR it.
215
216 * indent.c (Fvertical_motion_pixels): New function - request
217 movement in pixels.
218 (vmotion_pixels): helper.
219 (syms_of_indent): DEFSUBR.
220 * lisp.h: declaration for vmotion_pixels().
221
222 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
223 to request returning motion in pixels.
224 (Fvertical_motion_pixels): Remove, functionality merged into
225 Fvertical_motion.
226 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
227 (Fmove_to_window_line): ditto.
228 * lisp.h: Change declaration for Fvertical_motion.
229
230 * window.c: rename window-text-pixel-{height,width,edges} to
231 window-text-area-pixel-*.
232
233 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
234
235 * tooltalk.c (vars_of_tooltalk) added staticpro for
236 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
237
238 1998-05-27 Andy Piper <andyp@parallax.co.uk>
239
240 * faces.c: create a new 3d_object_face, make modeline and
241 vertical_divider faces fallback to this rather than the default.
242
243 1998-05-21 Andy Piper <andyp@parallax.co.uk>
244
245 * s/cygwin32.h: define charsets for cygwin.
246
247 1998-05-25 Andy Piper <andyp@parallax.co.uk>
248
249 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
250 and coordinates. resize bitmaps if we have already settled on a
251 different size.
252
253 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
254
255 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
256
257 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
258
259 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
260
261 * gui.h: Ditto.
262
263 * gui-x.c (popup_selection_callback): Ditto.
264
265 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
266
267 * gui.c (get_callback): Renamed to get_gui_callback.
268
269 1998-05-17 Martin Buchholz <martin@xemacs.org>
270
271 * glyphs.h: order rearrangement.
272
273 * device-tty.c (tty_asynch_device_change): Warning suppression.
274 * device-x.c (x_device_system_metrics): Warning suppression.
275 Make Doc strings consistent with coding standards.
276
277 1998-05-24 Martin Buchholz <martin@xemacs.org>
278
279 * general.c: multiple definition of `Qicon'. general.c seems
280 like a good home for Qicon.
281
282 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
283
284 * This patch is to fix compilation warnings under Windows.
285
286 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
287 Added prototypes for FSF inherited functions, with which XEmacs is
288 sprinkled thoroughly.
289 Removed some #if 0 code. Bracketed some more definitions, probably
290 related to Visual C versions prior to 4 (we do not support them).
291
292 * sysfloat.h (logb): Finally, get logb() prototyped.
293
294 * sysfile.h: Added Windows specific includes.
295 Removed old Windows specific code bracketed with #if 0.
296
297 * sysdep.h: Added prototype for xrealpath().
298
299 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
300
301 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
302 vars_of_dired_mswindows and init_ntproc (Grrr).
303
304 * realpath.c: Added Windows specific include files.
305 (xrealpath): Conditionalized declaration of some auto variables on
306 S_IFLNK, to avoid warnings.
307
308 * ntproc.c: Disabled some compiler warnings. This file is going to
309 die, so I have not cleaned it up much.
310 (set_process_dir): Const parameter.
311 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
312 (Fwin32_long_file_name): Ditto.
313 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
314 three functions?
315
316 * nt.h: Added prototypes for set_process_dir and convert_time.
317
318 * nt.c: More include files.
319 (getpwnam): Consted char* argument.
320 (get_emacs_configuration): Const return value.
321 (opendir): Const argument.
322 (stat): Casted converstion long->short.
323 (stat): Removed ad hoc and questionable support for non-MSC compile.
324 (sys_pipe): Removed unused auto variable.
325 (_sys_read_ahead): Removed calls to DebPrint.
326 (sys_read): Ditto, in 2 places.
327 (term_ntproc): Added unused int parameter to signal handler, to
328 avoid a warning when compiling a call to signal().
329 (msw_sigset): Properly return old signandler or NULL instead of void.
330
331 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
332
333 * gmalloc.c (morecore): Ditto.
334 (_free_internal): Ditto.
335
336 * lread.c (parse_integer): Ditto.
337
338 * dired-msw.c: Added several include files.
339
340 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
341 of Compilers to Shut Up.
342
343 * callproc.c: Added #includes to suppress warnings under Windows.
344 (init_callproc): Removed #if0'ed code and unused variables.
345
346 1998-05-25 Andy Piper <andyp@parallax.co.uk>
347
348 * device-msw.c (mswindows_device_system_metrics): do planes in a
349 way consistent with X.
350
351 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
352 use SetPixel, use DIBits functions.
353 (xpm_to_eimage): frob colors more closely like xpm deos.
354
355 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
356 to be closer to X version.
357
358 * event-msw.c: use tooltip string directly.
359
360 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
361
362 * objects-msw.c: frob rgb colors that only Kyle uses.
363
364 * dialog-msw.c (button_width): INLINE -> inline.
365
1 1998-05-23 SL Baur <steve@altair.xemacs.org> 366 1998-05-23 SL Baur <steve@altair.xemacs.org>
2 367
3 * getloadavg.c (getloadavg): Fix typo. 368 * getloadavg.c (getloadavg): Fix typo.
4 369
5 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru> 370 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
131 Use IsCharAlpha() instead of isaplha(). 496 Use IsCharAlpha() instead of isaplha().
132 497
133 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp> 498 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
134 499
135 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, ""). 500 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
501
502 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
503
504 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
505 charset when creating font.
506 (mswindows_initialize_color_instance): Do not create brush along
507 with a color.
508 (mswindows_finalize_color_instance): Do not delete it then.
509
510 * objects-msw.h (struct mswindows_color_instance_data): Removed
511 brush slot, and corresponding accessor macro.
136 512
137 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru> 513 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
138 514
139 * toolbar.c: Removed toolbar_data lrecord implementation. 515 * toolbar.c: Removed toolbar_data lrecord implementation.
140 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data 516 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data