1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-24 14:30:43 -08:00
Commit graph

26930 commits

Author SHA1 Message Date
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
Jason Rumney
5827950329 (enum tiff_keyword_index, tiff_format): Add :index keyword.
(fn_TIFFSetDirectory): New library function used.
(init_tiff_functions) [HAVE_NTGUI]: Initialize it.
(tiff_load): Use :index to select among multiple images.  Set count
property when multiple images exist.
(gif_format): Use :index, not :image.
2008-08-23 03:48:06 +00:00
Chong Yidong
63007aca6b (try_scrolling): Check INT_MAX instead of MOST_POSITIVE_FIXNUM for
maximum integer value.  Include limits.h to obtain INT_MAX.
2008-08-23 02:11:56 +00:00
Chong Yidong
4b7e086963 * xdisp.c (try_scrolling): Check INT_MAX instead of
MOST_POSITIVE_FIXNUM for maximum integer value.  Include limits.h to
obtain INT_MAX.
2008-08-23 02:10:28 +00:00
Juanma Barranquero
fe0a6f3b4c Fix typos. 2008-08-21 22:39:03 +00:00
Chong Yidong
8f59f2e77a (x_delete_display): Don't call XrmDestroyDatabase on GTK+. 2008-08-21 19:37:04 +00:00
Chong Yidong
a3c8694acb * xterm.c (x_delete_display): Don't call XrmDestroyDatabase on GTK+. 2008-08-21 19:36:56 +00:00
David Reitter
ed709b896c ns_draw_window_cursor: fix bug in setting cursor type in inactive
windows. No special treatment for hollow cursor when
FRAME_LAST_INACTIVE.  Clear w->phys_cursor_on_p if
cursor_type==NO_CURSOR.
2008-08-21 15:49:47 +00:00
Chong Yidong
ba00b2bc59 (temacs${EXEEXT}): On GNUstep, link to appropriate GNUstep library
location.
2008-08-21 14:49:28 +00:00
Chong Yidong
e0ce7c500d * Makefile.in (temacs${EXEEXT}): On GNUstep, link to appropriate
GNUstep library location.
2008-08-21 14:49:16 +00:00
Chong Yidong
23888717d0 (x_update_menu_appearance): Check validity of menu font before using
it.
2008-08-21 13:53:30 +00:00
Chong Yidong
0a7c662676 (BASE_PURESIZE): Increase to 1250000. 2008-08-21 13:47:37 +00:00
Chong Yidong
2984624d44 * puresize.h (BASE_PURESIZE): Increase to 1250000. 2008-08-21 13:47:20 +00:00
Adrian Robert
a2d3af1ce6 * Makefile.in (temacs): Add plain LDFLAGS to GNUstep CC invocation. 2008-08-21 02:57:36 +00:00
Adrian Robert
f2f7f42c63 * nsfns.m (ns-read-file-name): Add casts to avoid warning. (ns-convert-utf8-nfd-to-nfc): Warn if cannot execute correctly. * nsfont.m (nsfont_draw): Compare indexed colors to 0, not nil. * nsterm.h (EmacsView-unlockFocusNeedsFlush:): Add declaration. (EmacsApp-cursor_blink_handler): Remove declaration. * nsterm.m (ns_draw_glyph_string): Update first conditional body to match 01 Feb 2008 changes in xterm.c. (ns_read_socket): Add cast to avoid warning. (EmacsApp-application:openFiles:): Don't call replyToOpenOrPrint: on GNUstep. 2008-08-21 02:48:58 +00:00
Chong Yidong
12061f06d7 (x_get_foreign_selection): Return nil if desired selection could not
be obtained, instead of signalling an error.
2008-08-20 22:09:56 +00:00
Chong Yidong
1eff4ab33b * xselect.c (x_get_foreign_selection): Return nil if desired
selection could not be obtained, instead of signalling an error.
2008-08-20 22:09:40 +00:00
David Reitter
b8c63ae9ed get_phys_cursor_geometry: redraw wider pixels on Nextstep, too.
ensure_echo_area_buffers: add comment.
2008-08-20 17:53:23 +00:00
David Reitter
595d6a93bf Clear cursor properly rather than redrawing the area. Respect width of
bar cursors. remove ns-specific code for cursor blinking.
2008-08-20 17:46:37 +00:00
David Reitter
06197b17cd ns_set_cursor_type: replace with generic from xfns.c 2008-08-20 17:39:14 +00:00