1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-13 11:12:19 -08:00
Commit graph

26917 commits

Author SHA1 Message Date
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
Eli Zaretskii
679316788e Move "#define subprocesses" before config_opsysfile is included.
(configure, src/config.in): Regenerated.
2008-08-20 10:59:00 +00:00
Kenichi Handa
86d21abc87 *** empty log message *** 2008-08-19 07:50:37 +00:00
Kenichi Handa
d08189843f (Vfont_log_deferred): New variable.
(font_add_log): Check Vfont_log_deferred.
(font_deferred_log): New funciton.
2008-08-19 07:46:52 +00:00
Kenichi Handa
8996db6213 (font_deferred_log): Extern it. 2008-08-19 07:46:14 +00:00
Kenichi Handa
cd872f08bf (reorder_font_vector): Use encoding charset of fonts
for sorting.
(face_for_char): Use deferred log.
2008-08-19 07:45:55 +00:00
Kenichi Handa
039d3b16fd *** empty log message *** 2008-08-18 12:12:32 +00:00
Kenichi Handa
303d51903a (face_for_char): Add font log. 2008-08-18 12:06:33 +00:00
Kenichi Handa
db71664451 (font_add_log): Add the font properties :script, :lang,
and :otf in the log.
2008-08-18 12:05:30 +00:00
Chong Yidong
85fd2f9da0 Remove dead code.
(handle_invisible_prop, next_overlay_string): Defer call to
setup_for_ellipsis.
(handle_stop, set_iterator_to_next): Call setup_for_ellipsis.
2008-08-17 23:48:30 +00:00
Chong Yidong
e5ac241921 * xdisp.c: Remove dead code.
(handle_invisible_prop, next_overlay_string): Defer call to
setup_for_ellipsis.
(handle_stop, set_iterator_to_next): Call setup_for_ellipsis.
2008-08-17 23:48:21 +00:00
Chong Yidong
d8453278d9 (lookup_derived_face): Properly handle possible zero
return value of get_lface_attributes.
(merge_faces): Don't tell lookup_derived_face to signal an error
if face is not found.
2008-08-15 21:32:48 +00:00
Chong Yidong
ef1fba8005 * xfaces.c (lookup_derived_face): Properly handle possible zero
return value of get_lface_attributes.
(merge_faces): Don't tell lookup_derived_face to signal an error
if face is not found.
2008-08-15 21:32:01 +00:00
Chong Yidong
e933b15ea3 (Fdirectory_files): Doc fix. 2008-08-15 20:17:12 +00:00