Richard M. Stallman
3b882b1dab
(HACK_EDITRES): Don't define if NO_EDITRES is defined.
1995-11-11 07:13:56 +00:00
Richard M. Stallman
0fdff6bbc2
(HACK_EDITRES): Define here as in xfns.c.
...
(XTread_socket): Test HACK_EDITRES.
1995-11-11 07:13:06 +00:00
Richard M. Stallman
57aeea1e47
(set_menu_bar_lines): Record the fact that the window configuration changes.
...
(set_menu_bar_lines_1): Mark the window as modified.
1995-11-11 00:49:45 +00:00
Richard M. Stallman
5ee80bd3d0
Don't include Xaw/Paned.h unless USE_LUCID is defined.
...
(set_frame_menubar): Conditionalized some code on USE_LUCID that
depends on the fact that the parent widget of the menu bar is an Xaw
"Paned" widget.
1995-11-10 18:55:48 +00:00
Richard M. Stallman
b883991acc
Don't test THIS_IS_YMAKEFILE.
1995-11-10 16:46:41 +00:00
Richard M. Stallman
f0ce95e7d2
Always include sys/wait.h unless NOT_C_CODE;
...
don't test #ifdef emacs for that.
1995-11-10 16:42:06 +00:00
Richard M. Stallman
e0e94b6c6f
(SYMS_SYSTEM): Add syms_of_msdos.
1995-11-10 16:40:35 +00:00
Richard M. Stallman
e3bebca706
(LIB_STANDARD_1): New macro.
...
(LIB_STANDARD): Use LIB_STANDARD_1.
(LIBS_SYSTEM): Use it here too.
1995-11-10 16:38:55 +00:00
Richard M. Stallman
643cf215b2
(LIBXMU): Never define this.
1995-11-10 16:35:33 +00:00
Richard M. Stallman
24916110d2
Test NOT_C_CODE instead of THIS_IS_YMAKEFILE.
...
Get fatal error if not using GCC.
1995-11-10 16:33:38 +00:00
Richard M. Stallman
7ee4884a7d
(lisp): Add loadup.el.
...
(USE_@X_TOOLKIT_TYPE@): Define here, if appropriate.
(THIS_IS_YMAKEFILE): Definition deleted.
1995-11-10 16:27:28 +00:00
Richard M. Stallman
195f798edb
(unload_font): Invalidate computed faces.
...
(unload_color): Likewise.
(new_computed_face): Reuse invalidated computed faces.
1995-11-10 16:19:51 +00:00
Richard M. Stallman
d3413a53d1
(display_text_line): Get redisplay_end_trigger from window.
...
(display_string): Detect truncation more carefully.
(redisplay_window): On non-X frame, always use
FRAME_MENU_BAR_LINES as criterion for whether to display menu bar.
(update_menu_bar): Likewise.
(display_menu_bar): Do the work here for non-X frames
regardless of USE_X_TOOLKIT.
1995-11-10 16:18:44 +00:00
Richard M. Stallman
a3bee872ef
(struct window): New field redisplay_end_trigger.
1995-11-10 16:05:24 +00:00
Richard M. Stallman
190eb26396
(Fwindow_redisplay_end_trigger): New function.
...
(Fset_window_redisplay_end_trigger): Likewise.
(syms_of_window): defsubr them.
1995-11-10 16:01:46 +00:00
Richard M. Stallman
3684eb7882
(debug_print): Explicitly print a CR.
1995-11-10 15:58:13 +00:00
Richard M. Stallman
519418b37a
(oblookup): Clear ARRAY_MARK_FLAG in obsize.
1995-11-10 15:56:08 +00:00
Richard M. Stallman
118d6ca9bb
(interrupt_signal): Do special things in GC.
1995-11-10 15:54:33 +00:00
Richard M. Stallman
55f7a32bb8
(Fmove_to_column): Doc fix.
...
(compute_motion): Update next_boundary
when we skip to next newline.
1995-11-10 15:48:13 +00:00
Richard M. Stallman
69f6e6796b
(Fwrite_region): Move the code that writes annotations for empty files.
1995-11-10 06:44:54 +00:00
Richard M. Stallman
102cfe9246
(Fformat): Use doprnt_lisp.
1995-11-10 06:41:14 +00:00
Richard M. Stallman
1513af9e91
Include lisp.h.
...
(doprnt1): Renamed from doprnt. New arg LISPSTRINGS.
This is now a static subroutine.
(doprnt): New definition calls doprnt1.
(doprnt_lisp): New function.
1995-11-10 06:40:06 +00:00
Richard M. Stallman
ed87401169
(update_line): Avoid indexing into obody by -1.
1995-11-10 06:38:23 +00:00
Richard M. Stallman
8450690adc
(syms_of_callint): Set up Qlet, Qletx, Qsave_excursion.
...
(Fcall_interactively): Look past those special forms
when checking for a call to `list'.
1995-11-10 06:34:09 +00:00
Richard M. Stallman
acac2700ec
(Fmake_overlay): New args front-advance and rear-advance.
...
(syms_of_buffer): Delete the buffer-redisplay-end-trigger local variable.
1995-11-10 06:32:38 +00:00
Richard M. Stallman
77d92e0582
(run-hook-with-args, run-hook-list-with-args): Safeguard
...
against a t in the global value of hook variables.
1995-11-10 04:48:27 +00:00
Richard M. Stallman
4fd72a6a40
Fexpt): Doc fix.
1995-11-10 04:29:21 +00:00
Geoff Voelker
ee78dc3223
Initial revision
1995-11-07 07:52:28 +00:00
Geoff Voelker
d94e4ac23c
(SUBSYSTEM, TLIBW32, TLASTLIB, WIN32OBJ): Defined.
...
(w32term.obj, w32xfns.obj, w32fns.obj w32faces.obj, w32select.obj,
w32menu.obj, w32reg.obj): Defined.
(LINK_FLAGS): Use SUBSYSTEM.
(OBJ1): Remove lastfile.obj.
(LIBS, TEMACS): Use TLASTLIB.
(LIBS) [NTGUI]: Use TLIBW32 and GUI libs.
(EMACS): Remove Win95 conditional.
(clean): Remove paths.h.
1995-11-07 07:36:36 +00:00
Geoff Voelker
f332b293c5
(nt_get_resource, init_environment): Defined.
...
(prepare_standard_handles, restore_standard_handles) [HAVE_NTGUI]:
Don't duplicate or restore standard handles.
1995-11-07 07:36:09 +00:00
Geoff Voelker
46c91229fa
(nt_get_resource): Prototype defined.
1995-11-07 07:35:54 +00:00
Geoff Voelker
58d4e829a2
[HAVE_NTGUI] (create_child): Pass handles to children.
...
[HAVE_NTGUI1] (sys_select): Support alternate keyboard handling.
1995-11-07 07:35:38 +00:00
Geoff Voelker
6e72ba8663
(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.
1995-11-07 07:35:06 +00:00
Geoff Voelker
cd6885f37c
[HAVE_NTGUI] (WinMain): New procedure.
...
[HAVE_NTGUI] (hinst, hprevinst, lpCmdLine, nCmdShow): New variables.
[HAVE_NTGUI] (_start): Invoke WinMainCRTStartup.
1995-11-07 07:34:42 +00:00
Geoff Voelker
4a1ba22262
[HAVE_NTGUI] (abort): New macro.
...
[HAVE_NTGUI] (HAVE_FACES): Defined.
[HAVE_NTGUI] (HAVE_WINDOW_SYSTEM): New macro.
1995-11-07 07:32:46 +00:00
Geoff Voelker
6055eb047f
[HAVE_X_WINDOWS] (HAVE_WINDOW_SYSTEM): New macro.
1995-11-07 07:31:45 +00:00
Geoff Voelker
5c9ee165f1
(FRAME_INTERNAL_BORDER_WIDTH, FRAME_LINE_HEIGHT): New macros.
1995-11-07 07:31:20 +00:00
Geoff Voelker
8f3343d073
[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.
1995-11-07 07:28:29 +00:00
Geoff Voelker
1f8539403b
[HAVE_NTGUI] (Fset_window_configuration): Set menu bar lines.
...
Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.
1995-11-07 07:27:45 +00:00
Geoff Voelker
6f405bd5e4
[HAVE_NTGUI] (FRAME_TERMCAP_P): Don't redefine.
1995-11-07 07:27:19 +00:00
Geoff Voelker
23cafe430d
[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.
1995-11-07 07:26:18 +00:00
Geoff Voelker
a5570f57ca
[HAVE_NTGUI] (do_scrolling, do_direct_scrolling): Update frame geometry.
...
Use FRAME_WINDOW_P instead of testing for specific window system frames.
Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.
1995-11-07 07:25:15 +00:00
Geoff Voelker
583dcae42e
[HAVE_NTGUI] (POLL_FOR_INPUT): Define macro.
...
Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.
1995-11-07 07:23:14 +00:00
Geoff Voelker
e98a93eb98
[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.
1995-11-07 07:20:59 +00:00
Geoff Voelker
032d78fe78
[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.
1995-11-07 07:19:52 +00:00
Geoff Voelker
efa7f0f9eb
(output_method): New method: output_win32.
...
(output_data): New data: win32.
(FRAME_WIN32_P): New macro.
[HAVE_NTGUI] (external_menu_bar): Define variable.
[HAVE_NTGUI] (FRAME_EXTERNAL_MENU_BAR): Defined macro.
[HAVE_X_WINDOWS] (FRAME_WINDOW_P): Macro defined.
1995-11-07 07:18:50 +00:00
Geoff Voelker
58def86c20
[HAVE_NTGUI] (Fy_or_n_p, Fyes_or_no_p): Allow popup.
1995-11-07 07:18:17 +00:00
Geoff Voelker
8ba50e1ad0
[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.
1995-11-07 07:16:44 +00:00
Geoff Voelker
fd2e066a86
[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.
1995-11-07 07:14:59 +00:00
Geoff Voelker
497fbd42da
[HAVE_NTGUI]: Include win32.h.
...
HAVE_NTGUI] (struct frame_glyphs): Include pixel fields.
Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.
1995-11-07 07:13:46 +00:00