1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 19:10:37 -08:00
Commit graph

26949 commits

Author SHA1 Message Date
Chong Yidong
8fa97db1f3 * indent.c (Fvertical_motion): Revert last change. Handle the general
case where we are moving forward, and PT spans multiple screen lines.
2008-08-27 23:12:20 +00:00
Chong Yidong
48ce8ca74e (find_handler_clause): Temporarily increase max-lisp-eval-depth while
printing the backtrace buffer, to guarantee that help-mode code can
run.
2008-08-27 20:26:03 +00:00
Eli Zaretskii
fe9365b324 *** empty log message *** 2008-08-27 20:21:31 +00:00
Eli Zaretskii
25ae5671dd (Ffile_attributes): Fix comment in last change. 2008-08-27 19:11:40 +00:00
Eli Zaretskii
f12dae2f4c (Fmsdos_remember_default_colors): Don't reverse frame colors under -rv.
(IT_set_frame_parameters): Don't swap foreground and background colors
if `(reverse . t)' is present in the frame properties.
2008-08-27 19:09:36 +00:00
Chong Yidong
ff8ddc7b31 (Ffile_attributes): Avoid compiler warning in bitshift. 2008-08-27 19:03:42 +00:00
Chong Yidong
b9fb8cf010 * dired.c (Ffile_attributes): Avoid compiler warning in bitshift. 2008-08-27 19:03:33 +00:00
Andreas Schwab
dafaabd183 (search_buffer): Set char_base to zero only at the end. 2008-08-27 10:56:15 +00:00
Kenichi Handa
6c0969cade (report_file_error): Fix handling of multibyte error string. 2008-08-27 01:11:41 +00:00
Chong Yidong
f1a943aeba (x_term_init): Temporarily hide the partially initialized terminal
while calling vendor-specific-keysyms.
2008-08-27 00:08:06 +00:00
Chong Yidong
ffd1cd8a58 * xterm.c (x_term_init): Temporarily hide the partially initialized
terminal while calling vendor-specific-keysyms.
2008-08-27 00:06:53 +00:00
Eli Zaretskii
2306a735e7 (internal_terminal_init): Most initializations done only once, especially
initial_screen_colors[] and termscript open.
2008-08-26 20:28:20 +00:00
Chong Yidong
d0acbbaf39 (Fcondition_case): Doc fix. 2008-08-26 20:23:32 +00:00
Chong Yidong
ba59c3a153 * eval.c (Fcondition_case): Doc fix. 2008-08-26 20:23:25 +00:00
Chong Yidong
39d14c255d Include character.h and font.h for XSETFONT.
(setup_frame_gcs): Compute X font id from font struct, just once.
2008-08-26 17:09:53 +00:00
Chong Yidong
7d31058f9c Fix last change. 2008-08-26 17:09:35 +00:00
Chong Yidong
988fef8c2e (struct): Change font member to the new font struct. 2008-08-26 17:09:16 +00:00
Chong Yidong
609849bc2e * widgetprv.h (struct): Change font member to the new font struct.
* widget.c: Include character.h and font.h for XSETFONT.
(setup_frame_gcs): Compute X font id from font struct, just once.
2008-08-26 17:09:01 +00:00
Eli Zaretskii
5cc67f65cd (get_named_tty): Fix last change. 2008-08-26 03:13:34 +00:00
Chong Yidong
72ad106bfa (Fvertical_motion): If moving forward starting from a multi-line
string, move the iterator to the last line of that string.
2008-08-26 00:04:02 +00:00
Chong Yidong
ff73b4611e * indent.c (Fvertical_motion): If moving forward starting from a
multi-line string, move the iterator to the last line of that string.
2008-08-26 00:03:54 +00:00
Chong Yidong
154c218fb2 Remove trailing whitespace. 2008-08-25 22:17:51 +00:00
Eli Zaretskii
a4e628d458 (do_switch_frame): Mark previously displayed frame as obscured for
FRAME_MSDOS_P frames as well.
2008-08-25 20:15:07 +00:00
Eli Zaretskii
1266f9ef8e (make_terminal_frame): Initialize f->terminal, f->terminal->reference_count,
and scroll bars on MS-DOS as well.  Set the top frame to newly created frame.
(Fmake_terminal_frame): Reuse the_only_display_info.
2008-08-24 20:12:41 +00:00
Eli Zaretskii
8a445f762f (get_lim_data) [MSDOS]: Use alternative methods of estimating available memory. 2008-08-24 19:06:36 +00:00
Dan Nicolaescu
c5e2611e3e (NS_IMPL_GNUSTEP): Increase pure size. 2008-08-24 17:46:17 +00:00
Eli Zaretskii
50037b84a5 Remove yet another debug leftover in dos_ttraw. 2008-08-23 21:25:28 +00:00
David Reitter
54299c95aa nsterm.m (ns_draw_window_cursor): Don't call NSDisableScreenUpdates and NSEnableScreenUpdates on non-NS_IMPL_COCOA systems. 2008-08-23 20:45:46 +00:00
David Reitter
870e051646 (ns_draw_window_cursor): .*ScreenUpdates() calls only if NS_IMPL_COCOA
(API not present in GNUStep).
2008-08-23 20:40:19 +00:00
Andreas Schwab
8399d035cc (procfs_system_process_attributes): Fix portability
problems.
2008-08-23 18:04:42 +00:00
Eli Zaretskii
069e777d77 Remove debug leftover prdebug. 2008-08-23 17:53:14 +00:00
Eli Zaretskii
293a3986b8 *** empty log message *** 2008-08-23 17:07:57 +00:00
Eli Zaretskii
005e19a593 (MSDOS_OBJ): Add xmenu.o.
(SOME_MACHINE_LISP): Add ../lisp/term/pc-win.elc.
2008-08-23 16:58:02 +00:00
Eli Zaretskii
ffd225c4ea Remove definition of struct x_display_info and struct x_output.
(FRAME_FONT): Use output_data.tty.
(FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Don't define.
(struct x_display_info): Renamed from display_info.  All users in msdos.c
changed.
(struct x_output): Remove background_pixel and foreground_pixel.
(the_only_display_info): Renamed from the_only_x_display.
(dos_ttraw): Update prototype.
2008-08-23 16:57:35 +00:00
Eli Zaretskii
99dda2cdb7 (make_terminal_frame) [MSDOS]: Adjust initialization of f->output_data.tty.
(Fmake_terminal_frame) [MSDOS]: Don't allow creation of new terminal devices.
2008-08-23 16:56:59 +00:00
Eli Zaretskii
84704c5c58 [MSDOS]: Include msdos.h.
(init_tty) [MSDOS]: Reuse most of WINDOWSNT branch.  Change cpp conditional
to DOS_NT.  Allow only one call to this function in a session.  Don't
allocate a new struct tty_display_info; instead, reuse the_only_display_info.
Call get_tty_size to get screen dimensions.  Call init_baud_rate to set
bad_rate.
(dissociate_if_controlling_tty) [MSDOS]: Ifdef away function body.
(Fsuspend_tty) [MSDOS]: Don't close input and output.
(Fresume_tty) [MSDOS]: Don't reopen the TTY; instead, use stdin/stdout.
(get_tty_terminal, get_named_tty, Ftty_type)
(Fcontrolling_tty_p): Handle output_msdos_raw in addition to output_termcap.
(Fresume_tty, Fsuspend_tty, init_tty, delete_tty): Call
add_keyboard_wait_descriptor and delete_keyboard_wait_descriptor only when
subprocesses are supported
2008-08-23 16:55:52 +00:00
Eli Zaretskii
3e1944a3d8 Include frame.h before termhooks.h.
(mouse_on, mouse_off, mouse_moveto, mouse_init)
(msdos_set_cursor_shape, IT_set_face, IT_write_glyphs)
(show_mouse_face, IT_clear_end_of_line, IT_clear_screen)
(IT_clear_to_end, IT_cursor_to, IT_display_cursor, IT_cmgoto)
(IT_set_terminal_modes, IT_reset_terminal_modes)
(IT_set_frame_parameters): Use tty->termscript instead of a global variable
termscript.
(IT_write_glyphs): Use tty->terminal->terminal_coding instead of a global
variable terminal_coding.  Don't refer to Vnonascii_translation_table.
(internal_terminal_init): Set Vwindow_system in current_kboard.  Don't use
TTY_CHAR_INS_DEL_OK.  Set Vinitial_window_system.  Announce date and time
of session start, if termscript is open.  Don't zero out
the_only_display_info (it is done in term.c:init_tty).  Open termscript
only of not already open.  Log "SCREEN SAVED" here, instead of
IT_set_terminal_modes.  Init mouse here instead of dos_ttraw.
Don't initialize display if this is an initial tty.  Don't set FRAME_FONT.
(Vwindow_system_version): Bump to 23.
(dos_ttraw): Accept a TTY argument; all callers fixed.  If mouse is
available, set up mouse_position_hook.
(dos_ttraw, IT_set_terminal_modes): If called with initial terminal, do
nothing.
(IT_set_frame_parameters): Handle the Qtty_type frame parameter by calling
internal_terminal_init.
(dos_set_window_size, show_mouse_face)
(clear_mouse_face, IT_note_mode_line_highlight)
(IT_note_mouse_highlight, IT_update_begin, IT_frame_up_to_date)
(dos_rawgetc): Use tty_display_info instead of x_display_info.
(initialize_msdos_display): New function.
(IT_cursor_to, IT_clear_to_end, IT_clear_screen)
(IT_clear_end_of_line, IT_insert_glyphs, IT_write_glyphs)
(IT_delete_glyphs, IT_ring_bell, IT_reset_terminal_modes)
(IT_set_terminal_modes, IT_set_terminal_window, IT_update_begin):
Accept additional argument: a pointer to a frame.  All callers changed.
(request_sigio, unrequest_sigio): Don't define, now defined on sysdep.c.
(IT_write_glyphs): Rewrite to use encode_terminal_code.
2008-08-23 16:54:45 +00:00
Eli Zaretskii
cb22456dd3 (handle_interrupt) [MSDOS]: Call cursor_to with SELECTED_FRAME as
additional (1st) argument.
(tty_read_avail_input): Handle output_msdos_raw in addition to output_termcap.
2008-08-23 16:52:37 +00:00
Eli Zaretskii
d823c26bfd (USER_FULL_NAME): Define to pw->pw_gecos if undefined.
(Fuser_full_name): Use USER_FULL_NAME instead of a literal pw->pw_gecos.
2008-08-23 16:51:47 +00:00
Eli Zaretskii
7b4ded6d79 (USER_FULL_NAME): Define.
(SYSTEM_PURESIZE_EXTRA): Bump up to 100K.
2008-08-23 16:51:11 +00:00
Eli Zaretskii
c06981c062 Include frame.h before termhooks.h.
(dos_cleanup): Use CURTTY ()->termscript instead of a global variable
termscript.
2008-08-23 16:50:44 +00:00
Eli Zaretskii
4e389d323c (init_sys_modes): Call dos_ttraw with tty_out as argument. 2008-08-23 16:50:02 +00:00
Eli Zaretskii
9b317797ad (Fw16_set_clipboard_data, Fw16_get_clipboard_data): Adjust for changes in
encoding/decoding routines.  Use encode_coding_object and
decode_coding_object instead of encode_coding and decode_coding.
2008-08-23 16:49:32 +00:00
Eli Zaretskii
8c57b2e5b5 [!subprocesses]: Define QCname.
(syms_of_process): Intern and staticpro it.
2008-08-23 16:48:55 +00:00
Eli Zaretskii
ce4bd1b034 (FRAME_TTY): Support output_msdos_raw.
(struct tty_display_info) [MSDOS]: Add fields related to mouse highlight.
2008-08-23 16:48:24 +00:00
Eli Zaretskii
1fb3ba8105 (redisplay_internal) [MSDOS]: Don't call set_tty_color_mode. 2008-08-23 16:47:51 +00:00
Eli Zaretskii
9c69700c78 (TERMINAL_ACTIVE_P): Handle output_msdos_raw in addition to output_termcap. 2008-08-23 16:46:44 +00:00
Eli Zaretskii
79d39b69bc (init_display): Remove MS-DOS specific conditions for calling
tty-set-up-initial-frame-faces.
2008-08-23 16:46:21 +00:00
Eli Zaretskii
a9e1244dbe (Fx_popup_dialog, Fx_popup_menu, xmenu_show): Allow MSDOS frames along with
X frames.
2008-08-23 16:45:51 +00:00
Eli Zaretskii
40da115367 (main) [MSDOS]: Call syms_of_xmenu. 2008-08-23 16:45:13 +00:00