aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (MSDOS_OBJ): Add xmenu.o.Eli Zaretskii2008-08-231-2/+3
| | | | (SOME_MACHINE_LISP): Add ../lisp/term/pc-win.elc.
* Remove definition of struct x_display_info and struct x_output.Eli Zaretskii2008-08-231-48/+5
| | | | | | | | | | (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.
* (make_terminal_frame) [MSDOS]: Adjust initialization of f->output_data.tty.Eli Zaretskii2008-08-231-3/+10
| | | | (Fmake_terminal_frame) [MSDOS]: Don't allow creation of new terminal devices.
* [MSDOS]: Include msdos.h.Eli Zaretskii2008-08-231-20/+69
| | | | | | | | | | | | | | | | (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
* Include frame.h before termhooks.h.Eli Zaretskii2008-08-231-292/+248
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* (handle_interrupt) [MSDOS]: Call cursor_to with SELECTED_FRAME asEli Zaretskii2008-08-231-9/+9
| | | | | additional (1st) argument. (tty_read_avail_input): Handle output_msdos_raw in addition to output_termcap.
* (USER_FULL_NAME): Define to pw->pw_gecos if undefined.Eli Zaretskii2008-08-231-1/+5
| | | | (Fuser_full_name): Use USER_FULL_NAME instead of a literal pw->pw_gecos.
* (USER_FULL_NAME): Define.Eli Zaretskii2008-08-231-1/+5
| | | | (SYSTEM_PURESIZE_EXTRA): Bump up to 100K.
* Include frame.h before termhooks.h.Eli Zaretskii2008-08-231-4/+16
| | | | | (dos_cleanup): Use CURTTY ()->termscript instead of a global variable termscript.
* (init_sys_modes): Call dos_ttraw with tty_out as argument.Eli Zaretskii2008-08-231-1/+1
|
* (Fw16_set_clipboard_data, Fw16_get_clipboard_data): Adjust for changes inEli Zaretskii2008-08-231-48/+34
| | | | | encoding/decoding routines. Use encode_coding_object and decode_coding_object instead of encode_coding and decode_coding.
* [!subprocesses]: Define QCname.Eli Zaretskii2008-08-231-1/+3
| | | | (syms_of_process): Intern and staticpro it.
* (FRAME_TTY): Support output_msdos_raw.Eli Zaretskii2008-08-231-1/+30
| | | | (struct tty_display_info) [MSDOS]: Add fields related to mouse highlight.
* (redisplay_internal) [MSDOS]: Don't call set_tty_color_mode.Eli Zaretskii2008-08-231-1/+1
|
* (TERMINAL_ACTIVE_P): Handle output_msdos_raw in addition to output_termcap.Eli Zaretskii2008-08-231-1/+1
|
* (init_display): Remove MS-DOS specific conditions for callingEli Zaretskii2008-08-231-8/+1
| | | | tty-set-up-initial-frame-faces.
* (Fx_popup_dialog, Fx_popup_menu, xmenu_show): Allow MSDOS frames along withEli Zaretskii2008-08-231-5/+12
| | | | X frames.
* (main) [MSDOS]: Call syms_of_xmenu.Eli Zaretskii2008-08-231-0/+4
|
* (enum tiff_keyword_index, tiff_format): Add :index keyword.Jason Rumney2008-08-232-5/+44
| | | | | | | | (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.
* (try_scrolling): Check INT_MAX instead of MOST_POSITIVE_FIXNUM forChong Yidong2008-08-231-16/+20
| | | | maximum integer value. Include limits.h to obtain INT_MAX.
* * xdisp.c (try_scrolling): Check INT_MAX instead ofChong Yidong2008-08-231-0/+6
| | | | | MOST_POSITIVE_FIXNUM for maximum integer value. Include limits.h to obtain INT_MAX.
* Fix typos.Juanma Barranquero2008-08-211-14/+10
|
* (x_delete_display): Don't call XrmDestroyDatabase on GTK+.Chong Yidong2008-08-211-1/+2
|
* * xterm.c (x_delete_display): Don't call XrmDestroyDatabase on GTK+.Chong Yidong2008-08-211-0/+5
|
* ns_draw_window_cursor: fix bug in setting cursor type in inactiveDavid Reitter2008-08-211-6/+7
| | | | | | windows. No special treatment for hollow cursor when FRAME_LAST_INACTIVE. Clear w->phys_cursor_on_p if cursor_type==NO_CURSOR.
* (temacs${EXEEXT}): On GNUstep, link to appropriate GNUstep libraryChong Yidong2008-08-211-1/+1
| | | | location.
* * Makefile.in (temacs${EXEEXT}): On GNUstep, link to appropriateChong Yidong2008-08-211-0/+5
| | | | GNUstep library location.
* (x_update_menu_appearance): Check validity of menu font before usingChong Yidong2008-08-212-0/+7
| | | | it.
* (BASE_PURESIZE): Increase to 1250000.Chong Yidong2008-08-211-1/+1
|
* * puresize.h (BASE_PURESIZE): Increase to 1250000.Chong Yidong2008-08-211-0/+4
|
* * Makefile.in (temacs): Add plain LDFLAGS to GNUstep CC invocation.Adrian Robert2008-08-211-1/+4
|
* * nsfns.m (ns-read-file-name): Add casts to avoid warning. ↵Adrian Robert2008-08-215-18/+54
| | | | (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.
* (x_get_foreign_selection): Return nil if desired selection could notChong Yidong2008-08-201-1/+1
| | | | be obtained, instead of signalling an error.
* * xselect.c (x_get_foreign_selection): Return nil if desiredChong Yidong2008-08-201-6/+11
| | | | selection could not be obtained, instead of signalling an error.
* get_phys_cursor_geometry: redraw wider pixels on Nextstep, too.David Reitter2008-08-202-1/+16
| | | | ensure_echo_area_buffers: add comment.
* Clear cursor properly rather than redrawing the area. Respect width ofDavid Reitter2008-08-201-150/+125
| | | | bar cursors. remove ns-specific code for cursor blinking.
* ns_set_cursor_type: replace with generic from xfns.cDavid Reitter2008-08-201-19/+11
|
* Move "#define subprocesses" before config_opsysfile is included.Eli Zaretskii2008-08-201-7/+8
| | | | (configure, src/config.in): Regenerated.
* *** empty log message ***Kenichi Handa2008-08-191-0/+12
|
* (Vfont_log_deferred): New variable.Kenichi Handa2008-08-191-0/+35
| | | | | (font_add_log): Check Vfont_log_deferred. (font_deferred_log): New funciton.
* (font_deferred_log): Extern it.Kenichi Handa2008-08-191-0/+1
|
* (reorder_font_vector): Use encoding charset of fontsKenichi Handa2008-08-191-4/+4
| | | | | for sorting. (face_for_char): Use deferred log.
* *** empty log message ***Kenichi Handa2008-08-181-0/+7
|
* (face_for_char): Add font log.Kenichi Handa2008-08-181-4/+6
|
* (font_add_log): Add the font properties :script, :lang,Kenichi Handa2008-08-181-1/+22
| | | | and :otf in the log.
* Remove dead code.Chong Yidong2008-08-171-75/+23
| | | | | | (handle_invisible_prop, next_overlay_string): Defer call to setup_for_ellipsis. (handle_stop, set_iterator_to_next): Call setup_for_ellipsis.
* * xdisp.c: Remove dead code.Chong Yidong2008-08-171-0/+7
| | | | | | (handle_invisible_prop, next_overlay_string): Defer call to setup_for_ellipsis. (handle_stop, set_iterator_to_next): Call setup_for_ellipsis.
* (lookup_derived_face): Properly handle possible zeroChong Yidong2008-08-151-5/+7
| | | | | | return value of get_lface_attributes. (merge_faces): Don't tell lookup_derived_face to signal an error if face is not found.
* * xfaces.c (lookup_derived_face): Properly handle possible zeroChong Yidong2008-08-151-0/+5
| | | | | | return value of get_lface_attributes. (merge_faces): Don't tell lookup_derived_face to signal an error if face is not found.
* (Fdirectory_files): Doc fix.Chong Yidong2008-08-151-1/+2
|