Geoff Voelker [Tue, 7 Nov 1995 07:56:36 +0000 (07:56 +0000)]
(addpm.exe): Link with $(ADVAPI32).
(install, fast_install): Change same-dir test to create test file in
installation tree and thereby support read-only shares.
(clean): Remove .pdb files.
Geoff Voelker [Tue, 7 Nov 1995 07:35:06 +0000 (07:35 +0000)]
(nt_ring_bell): Renamed from ring_bell, now global.
(initialize_win_nt_display): Use nt_ring_bell.
[HAVE_NTGUI] (pixel_to_glyph_coords, glyph_to_pixel_coords): Don't define.
Geoff Voelker [Tue, 7 Nov 1995 07:28:29 +0000 (07:28 +0000)]
[HAVE_NTGUI] (set_menu_framebar): Declare external.
[HAVE_NTGUI] (frame_title_buf, frame_title_ptr): Include variables
for Win32 window system.
[HAVE_NTGUI] (store_frame_title, x_consider_frame_title): Include
procedures for Win32 window system.
[HAVE_NTGUI] (x_consider_frame_title): Test for Win32 frame.
[HAVE_NTGUI] (display_text_line): Test for Win32 frame on face change.
[HAVE_NTGUI] (display_menu_bar): Perform no-op for NT window system.
(update_menu_bar, redisplay_window): Test for definition
of FRAME_EXTERNAL_MENU_BAR before using it.
Use FRAME_WINDOW_P of FRAME_EXTERNAL_MENU_BAR before using it.
Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.
Geoff Voelker [Tue, 7 Nov 1995 07:26:18 +0000 (07:26 +0000)]
[HAVE_NTGUI] (init_sys_modes, reset_sys_modes):
Don't initialize terminal mode when using window system.
[HAVE_NTGUI] (BUFFER_SIZE_FACTOR): Increase for use with window system.
Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.
Geoff Voelker [Tue, 7 Nov 1995 07:20:59 +0000 (07:20 +0000)]
[HAVE_NTGUI]: Include w32term.h.
[HAVE_NTGUI] (KBD_BUFFER_SIZE): Increase for NT window system.
[HAVE_NTGUI] (POLL_FOR_INPUT): Define.
[HAVE_NTGUI] (kbd_buffer_get_event): Enable windowing and menu events.
[HAVE_NTGUI] (lispy_function_keys): Define array for NT.
[HAVE_NTGUI] (make_lispy_event): Enable menu bar events.
[HAVE_NTGUI] (modify_event_symbol): Map symbol to keysym.
[HAVE_NTGUI] (read_char_x_menu_prompt): Display menus.
(FUNCTION_KEY_OFFSET): New macro.
(make_lispy_event): Use FUNCTION_KEY_OFFSET to modify event codes
before applying modifiers.
Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.
Geoff Voelker [Tue, 7 Nov 1995 07:19:52 +0000 (07:19 +0000)]
[HAVE_NTGUI]: Test for a Win32 frame in procedures that test for an X frame.
Use FRAME_WINDOW_P instead of testing for specific window system frames.
Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.
Geoff Voelker [Tue, 7 Nov 1995 07:16:44 +0000 (07:16 +0000)]
[HAVE_NTGUI]: Declare Vwindow_system.
[HAVE_NTGUI] (main): Enable inhibit_window_system.
Initialize environment from registry.
Declare syms of Win32 windowing modules.
Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.
Geoff Voelker [Tue, 7 Nov 1995 07:14:59 +0000 (07:14 +0000)]
[HAVE_NTGUI]: Include w32term.h.
Include dispextern.h before cm.h since dispextern.h includes windows.h.
[HAVE_NTGUI] (make_frame_glyphs, free_frame_glyphs, scroll_frame_lines,
update_frame, update_line): Test for WIN32 frame.
[HAVE_NTGUI] (init_display): Initialize WIN32 window system.
Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.
Geoff Voelker [Tue, 7 Nov 1995 07:13:46 +0000 (07:13 +0000)]
[HAVE_NTGUI]: Include win32.h.
HAVE_NTGUI] (struct frame_glyphs): Include pixel fields.
Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.
* etags.c (get_lang_from_name, get_lang_from_interpreter,
get_lang_from_suffix): New functions.
(get_language): Function deleted.
(lang_entry): Two members added to struct.
(lang_names): Reflect the new layout of lang_entry.
(print_language_names, main, find_entries): Use the new functions.
(find_entries): Look at the first line for #! if no language.
(C_entries): Invalidate the token when funcdef is reset.
(Perl_functions): New function.
(lang_suffixes): .pl and .pm are Perl suffixes.
Karl Heuer [Sat, 4 Nov 1995 00:39:03 +0000 (00:39 +0000)]
(mail): Don't change directory for *mail* buffer.
(sendmail-send-it, mail-recover): Instead, temporarily change to a
safe directory for just the subprocess.
Karl Heuer [Sat, 4 Nov 1995 00:19:00 +0000 (00:19 +0000)]
[!MULTI_FRAME] (Fmodify_frame_parameters): Add missing
declaration and initialization.
[MULTI_FRAME] (choose_minibuf_frame): Moved to minibuf.c; now
unconditional.
Karl Heuer [Sat, 4 Nov 1995 00:10:43 +0000 (00:10 +0000)]
(the_only_x_display): Type is now struct x_output.
(internal_terminal_init): frame member is now named output_data.
(init_environment): Fix timezone rules.
Karl Heuer [Fri, 3 Nov 1995 03:29:46 +0000 (03:29 +0000)]
(sh-shells): Eliminated variable redundant with
`interpreter-mode-alist'.
(sh-beginning-of-command): Take into account \quoted newline.
(sh-builtins, sh-leading-keywords, sh-other-keywords): Now three
distinct sets for font-locking.
(sh-font-lock-keywords-1, sh-font-lock-keywords-2): New variables
and functions to give the user finer control over how much to fontify,
including new distinction between keywords and builtins.
(sh-mode): Use new features of `font-lock-defaults' and adaptation
to skeleton changes.
(sh-while): Fix csh, es & rc skeletons.
Karl Heuer [Fri, 3 Nov 1995 03:29:04 +0000 (03:29 +0000)]
(skeleton-end-hook): Now defvared and responsible for
pushing out anything following skeleton to next line. Thus this
behaviour can now be controlled by modes.
(skeleton-insert): Parameter `no-newline' removed.
(skeleton-read): Take this into account.
(skeleton-internal-1): Less spurious empty lines when wrapping.
Karl Heuer [Fri, 3 Nov 1995 03:11:24 +0000 (03:11 +0000)]
(minor-mode-map-alist): Use substitute-key-definition
to find the appropriate bindings for window enlarge/shrink.
(2C-shrink-window-horizontally, 2C-enlarge-window-horizontally):
Renamed from shrink-window-horizontally, enlarge-window-horizontally
to avoid redefining the standard functions.
* etags.c (lowcase): Use the standard tolower function.
(substitute): Remove some wrong and some useless code related with
escape `\` character in regexp replacement string.
(TEX_defenv): Added part, appendix, entry, index. Removed typeout.
(lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
.bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
.prolog for prolog (.pl removed).
(massage_name, etags_getcwd): Use lowcase instead of tolower.
(regex.h): Don't include it if REGEX_IN_LIBC is defined.
(C_entries, find_entries): Added comments about memory leakage.
(add_node): Dead code removed.
André Spiegel [Thu, 2 Nov 1995 09:35:04 +0000 (09:35 +0000)]
(vc-utc-string): Use timezone of TIMEVAL for the correction, not the
current one.
(vc-rcsdiff-knows-brief): New variable.
(vc-rcs-lock-from-diff): Use it.
Karl Heuer [Tue, 31 Oct 1995 00:01:15 +0000 (00:01 +0000)]
update some doc strings.
(time-stamp-strftime): ignore some additional chars we might want
to use in the future for additional controls or parameters.
(time-stamp): minor optimizations.