diff 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
line wrap: on
line diff
--- a/src/ChangeLog	Mon Aug 13 10:35:07 2007 +0200
+++ b/src/ChangeLog	Mon Aug 13 10:35:54 2007 +0200
@@ -1,3 +1,368 @@
+1998-05-29  Andy Piper  <andyp@parallax.co.uk>
+
+	* ntplay.c (play_sound_data_1) new function. convert alloca data
+	to malloc if necessary.
+	(play_sound_file): if the file is not in our path then convert to
+	data and play.
+
+1998-06-01  SL Baur  <steve@altair.xemacs.org>
+
+	* mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
+	* msdos.c (Frecent_doskeys): Ditto.
+
+	* unexalpha.c (unexec): Reverse parameters in call to memcpy.
+	Suggested by Reggie Perry <perry@zso.dec.com>
+
+	* buffer.h: Eliminate size in declaration.
+
+1998-06-01  Olivier Galibert  <galibert@pobox.com>
+
+	* unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
+
+1998-06-01  Kirill M. Katsnelson  <kkm@kis.ru>
+
+	* gui.c (gui_item_init): Changed the default value for config member
+	from Qunbound to Qnil.
+
+1998-06-01  Greg Klanderman  <greg@alphatech.com>
+
+	* indent.c (vmotion_pixels): Don't #define abs().
+
+1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
+
+	* s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
+	respectively.
+
+1998-05-30  Andy Piper  <andyp@parallax.co.uk>
+
+	* glyphs.h: add xbm declarations.
+
+	* console.h: add xbm_instantiate_method device method.
+
+	* glyphs.c (check_valid_xbm_inline) (xbm_validate)
+	(bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
+	(xbm_possible_dest_types): moved here from glyphs-x.c. use
+	locate_pixmap_file device method and read_bitmap_data_from_file
+	instead of XmuReadBitmapDataFromFile.
+	(xbm_instatntiate): make a device method.
+
+	* glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
+	new function that just calls XmuReadBitmapDataFromFile.
+	(x_xbm_instatntiate): device method from xbm_instantiate.
+
+	* glyphs-msw.c (read_bitmap_data) (NextInt)
+	(read_bitmap_data_from_file): new functions copied from Xmu
+	sources. 
+	(xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
+	inline data to an mswindows bitmap.
+	(init_image_instance_from_xbm_inline) (xbm_instantiate_1)
+	(mswindows_xbm_instantiate): mswindows-ized versions of the X
+	functions.
+
+1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
+
+	* window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
+	`modeline-visible-p'.
+	Declared specifier lisp variables at the beginning oh the file
+	as static.
+
+	* procimpl.h (struct process_methods): Changed semantics of
+	create_process method so it accepts lisp strings instead of
+	char pointers.
+
+	* process.c (Fstart_process_internal): Moved building of
+	unix style argv from here to process-unix.c, ...
+
+	* process-unix.c (unix_create_process): ... right here.
+
+	* process-nt.c (nt_create_process): Changed this function to
+	support new semantics, so avoided a GC problem.
+
+	* events.c (Fmake_event): Document misc-user events properties.
+	(Fmake_event): Do not allow arbitrary objects for channel property
+	of misc-user events.
+	(Fmake_event): Change misc-user event validation: it is function
+	which is required, not button.
+
+	* event-msw.c (mswindows_user_event_p): Recognize misc user events as
+	user events.
+	(mswindows_enqueue_misc_user_event): Added function.
+	(mswindows_bump_queue): Removed function.
+	(mswindows_enqueue_magic_event): Support NULL HWND parameter.
+	(mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
+	(mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
+	(emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
+	really nothing, which is my personal favorite thing.
+
+	* console-msw.h: Removed prototype for mswindows_bump_queue().
+	Added prototype for mswindows_enqueue_misc_user_event().
+
+	* menubar-msw.c (mswindows_handle_wm_command): Use
+	mswindows_enqueue_misc_user_event(). 
+
+	* toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
+
+	* dialog-msw.c (dialog_proc): Ditto.
+
+	* scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
+	 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
+	user events channel.
+
+1998-05-29  Greg Klanderman  <greg@alphatech.com>
+
+	* window.c (Fwindow_displayed_text_pixel_height): was relying on
+	incorrect semantics of vmotion_pixels which has been fixed.  don't 
+	use it anymore as it can't easily be used.
+
+	* indent.c (vmotion_pixels): fix off by one bug moving up.  also
+	the motion was reported incorrectly if you tried to go past end of 
+	buffer.
+
+1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
+
+	* toolbar.h: Removed misleading commentary, as Martin suggested.
+
+1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
+
+	* lisp.h: Extern Qactivate_menubar_hook.
+
+	* menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
+	run_hook ().
+
+1998-05-29  Andy Piper  <andyp@parallax.co.uk>
+
+	* glyphs-msw.c: use BPLINE macro.
+
+	* select-msw.c (mswindows-selection-exists-p)
+	(mswindows-delete-selection): doc string fixes.
+
+	* toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
+	unpressable. warning elimination.
+
+1998-05-28  Martin Buchholz  <martin@xemacs.org>
+
+	* alloc.c (dbg_constants): 
+	* dbxrc:
+	* gdbinit:
+	Remove toolbar_data debugging code, since that lrecord has
+	also been removed. 
+
+Wed May 27, 1998  Darryl Okahata  <darrylo@sr.hp.com>
+
+	* alloc.c: zap cached value of (user-home-directory), so that
+	  it's not undumped.
+
+	* buffer.c: From init_buffer(), separated out code that
+	  determined the initial directory for the *scratch* buffer, and
+	  put them into a function called "init_initial_directory()".
+	  The initial directory is now available as a global "char *"
+	  called initial_directory.
+
+	* buffer.h: Added extern entries for initial_directory[] and
+	  init_initial_directory().
+
+	* editfns.c: added new elisp function "user-home-directory",
+	which basically returns getenv("HOME"), but attempts to use
+	other values if $HOME isn't set.This may have to be tweaked in
+	the future as, under Unix, "/" is used if $HOME isn't set (this
+	probably should be set to the current directory).  To support
+	this, a new C function, "get_home_directory()", now exists,
+	which returns the "home directory", as a "char *" string.
+
+	* emacs.c: Rearrange NT initialization order so that
+	environment/registry variables will be properly entered into
+	Vprocess_enviroment.
+
+	* fileio.c: replaced egetenv("HOME") with calls to the new
+	  get_home_directory().
+
+	* lisp.h: Added function prototypes for uncache_home_directory() 
+	  and get_home_directory(), along with lisp prototypes for
+	  Fuser_home_directory() and friends.
+
+	* nt.c: replaced getenv("HOME") with calls to the new
+	  get_home_directory().
+
+	* sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
+	  warnings about getcwd(), etc. not having prototypes.
+
+1998-05-28  Kirill M. Katsnelson  <kkm@kis.ru>
+
+	* process-nt.c (send_signal): Emulate SIGHUP.
+	(validate_signal_number): Ditto.
+
+	* event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
+	remove MOD_SHIFT from ASCII characters.
+	(mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when 
+	F10 is pressed.
+
+1998-05-24  Oliver Graf <ograf@fga.de>
+
+	* frame-x.c (cde-start-drag-internal): added filename and multi-
+	data transfers
+	(x_cde_convert_callback) dito
+
+1998-05-26  Oliver Graf <ograf@fga.de>
+
+	* frame-x.c: include event-mod.h also with CDE
+	(x_cde_convert_callback) made the thing working
+	(cde-start-drag-internal) also debugging
+
+1998-05-15  Greg Klanderman  <greg@alphatech.com>
+
+	* window.c (Fwindow_displayed_text_pixel_height): New function.
+	(syms_of_window): DEFSUBR it.
+
+	* indent.c (Fvertical_motion_pixels): New function - request
+	movement in pixels.
+	(vmotion_pixels): helper.
+	(syms_of_indent): DEFSUBR.
+	* lisp.h: declaration for vmotion_pixels().
+
+	* indent.c (Fvertical_motion): Add optional third argument PIXELS, 
+	to request returning motion in pixels.
+	(Fvertical_motion_pixels): Remove, functionality merged into
+	Fvertical_motion. 
+ 	* window.c (window_scroll): call Fvertical_motion with 3 arguments.
+	(Fmove_to_window_line): ditto.
+	* lisp.h: Change declaration for Fvertical_motion.
+
+	* window.c: rename window-text-pixel-{height,width,edges} to
+	window-text-area-pixel-*.
+
+1998-05-26  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
+
+	* tooltalk.c (vars_of_tooltalk) added staticpro for
+	Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
+
+1998-05-27  Andy Piper  <andyp@parallax.co.uk>
+		
+	* faces.c: create a new 3d_object_face, make modeline and
+	vertical_divider faces fallback to this rather than the default.
+
+1998-05-21  Andy Piper  <andyp@parallax.co.uk>
+
+	* s/cygwin32.h: define charsets for cygwin.
+
+1998-05-25  Andy Piper  <andyp@parallax.co.uk>
+
+	* toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
+	and coordinates. resize bitmaps if we have already settled on a
+	different size.
+
+	* glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
+
+1998-05-25  Hrvoje Niksic  <hniksic@srce.hr>
+
+	* toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
+
+	* menubar-msw.c (mswindows_handle_wm_command): Ditto.
+
+	* gui.h: Ditto.
+
+	* gui-x.c (popup_selection_callback): Ditto.
+
+	* dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
+
+	* gui.c (get_callback): Renamed to get_gui_callback.
+
+1998-05-17  Martin Buchholz  <martin@xemacs.org>
+
+	* glyphs.h: order rearrangement.
+
+	* device-tty.c (tty_asynch_device_change): Warning suppression.
+	* device-x.c (x_device_system_metrics): Warning suppression.
+	Make Doc strings consistent with coding standards.
+
+1998-05-24  Martin Buchholz  <martin@xemacs.org>
+
+	* general.c: multiple definition of `Qicon'.  general.c seems
+	  like a good home for Qicon.
+
+1998-05-20  Kirill M. Katsnelson  <kkm@kis.ru>
+
+	* This patch is to fix compilation warnings under Windows.
+
+	* s/windowsnt.h: Encapsulate getpid with sys_getpid.
+	Added prototypes for FSF inherited functions, with which XEmacs is 
+	sprinkled thoroughly.
+	Removed some #if 0 code. Bracketed some more definitions, probably 
+	related to Visual C versions prior to 4 (we do not support them).
+
+	* sysfloat.h (logb): Finally, get logb() prototyped.
+
+	* sysfile.h: Added Windows specific includes.
+	Removed old Windows specific code bracketed with #if 0.
+
+	* sysdep.h: Added prototype for xrealpath().
+
+	* sysdep.c (sys_getpid): Added function, to support '95 negative pids.
+
+	* symsinit.h: Added prototypes for syms_of_dired_mswindows,
+	vars_of_dired_mswindows and init_ntproc (Grrr).
+
+	* realpath.c: Added Windows specific include files.
+	(xrealpath): Conditionalized declaration of some auto variables on 
+	S_IFLNK, to avoid warnings.
+
+	* ntproc.c: Disabled some compiler warnings. This file is going to 
+	die, so I have not cleaned it up much.
+	(set_process_dir): Const parameter.
+	(Fwin32_short_file_name): Down CHECK_* macros to one argument.
+	(Fwin32_long_file_name): Ditto.
+	(Fwin32_set_process_priority): Ditto. Why didn't I remove these
+	three functions?
+
+	* nt.h: Added prototypes for set_process_dir and convert_time.
+
+	* nt.c: More include files.
+	(getpwnam): Consted char* argument.
+	(get_emacs_configuration): Const return value.
+	(opendir): Const argument.
+	(stat): Casted converstion long->short.
+	(stat): Removed ad hoc and questionable support for non-MSC compile.
+	(sys_pipe): Removed unused auto variable.
+	(_sys_read_ahead): Removed calls to DebPrint.
+	(sys_read): Ditto, in 2 places.
+	(term_ntproc): Added unused int parameter to signal handler, to
+	avoid a warning when compiling a call to signal().
+	(msw_sigset): Properly return old signandler or NULL instead of void.
+
+	* floatfns.c (Flogb): Casted arguments to unary minus to signed.
+
+	* gmalloc.c (morecore): Ditto.
+	(_free_internal): Ditto.
+
+	* lread.c (parse_integer): Ditto.
+
+	* dired-msw.c: Added several include files.
+
+	* cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
+	of Compilers to Shut Up.
+
+	* callproc.c: Added #includes to suppress warnings under Windows.
+	(init_callproc): Removed #if0'ed code and unused variables.
+
+1998-05-25  Andy Piper  <andyp@parallax.co.uk>
+
+	* device-msw.c (mswindows_device_system_metrics): do planes in a
+	way consistent with X.
+
+	* glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
+	use SetPixel, use DIBits functions.
+	(xpm_to_eimage): frob colors more closely like xpm deos.
+
+	* toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
+	to be closer to X version.
+
+	* event-msw.c: use tooltip string directly.
+
+	* redisplay-msw.c: reinstate Kirill's bg pixmap change.
+
+	* objects-msw.c: frob rgb colors that only Kyle uses.
+
+	* dialog-msw.c (button_width): INLINE -> inline.
+
 1998-05-23  SL Baur  <steve@altair.xemacs.org>
 
 	* getloadavg.c (getloadavg): Fix typo.
@@ -136,6 +501,17 @@
 
 1998-05-18  Kirill M. Katsnelson  <kkm@kis.ru>
 
+	* objects-msw.c (mswindows_initialize_font_instance): Use ANSI
+	charset when creating font. 
+	(mswindows_initialize_color_instance): Do not create brush along
+	with a color.
+	(mswindows_finalize_color_instance): Do not delete it then.
+
+	* objects-msw.h (struct mswindows_color_instance_data): Removed
+	brush slot, and corresponding accessor macro.
+
+1998-05-18  Kirill M. Katsnelson  <kkm@kis.ru>
+
 	* toolbar.c: Removed toolbar_data lrecord implementation.
 	(mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
 	with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).