Eli Zaretskii [Sat, 23 Aug 2008 16:54:45 +0000 (16:54 +0000)]
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.
Eli Zaretskii [Sat, 23 Aug 2008 16:52:37 +0000 (16:52 +0000)]
(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.
Eli Zaretskii [Sat, 23 Aug 2008 16:49:32 +0000 (16:49 +0000)]
(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.
Jason Rumney [Sat, 23 Aug 2008 03:48:06 +0000 (03:48 +0000)]
(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.
Michael Albinus [Fri, 22 Aug 2008 19:32:26 +0000 (19:32 +0000)]
* net/xesam.el (xesam-minor-mode): New minor mode.
(xesam-highlight-buffer): Remove. Code moved to
`xesam-minor-mode'.
(xesam-refresh-entry): Use `xesam-minor-mode'.
Chong Yidong [Fri, 22 Aug 2008 19:26:33 +0000 (19:26 +0000)]
* mini.texi (Minibuffer): Simplify introduction.
(Minibuffer File): Document tilde in minibuffer filenames.
(Minibuffer Edit): Mention that the prompt is read-only. Describe how
to enter tabs, spaces, and question marks. Describe behavior of C-a.
(Completion Example): Update example to current command list.
(Completion Options): Document `lazy' value of completion-auto-help.
Update contents of completion-ignored-extensions.
(Minibuffer History): Describe "future history" list. State default
value of history-delete-duplicates.
David Reitter [Thu, 21 Aug 2008 15:49:47 +0000 (15:49 +0000)]
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.
Daiki Ueno [Thu, 21 Aug 2008 03:45:14 +0000 (03:45 +0000)]
(epg-make-context, epg-context-set-passphrase-callback)
(epg-context-set-progress-callback): Make sure the callback is a
cons of a function and a handback. Update all callers.
Adrian Robert [Thu, 21 Aug 2008 02:48:58 +0000 (02:48 +0000)]
* 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.
Chong Yidong [Wed, 20 Aug 2008 22:41:45 +0000 (22:41 +0000)]
(wdired-old-auto-revert-mode): New var.
(wdired-change-to-wdired-mode): Turn off auto-revert-mode.
(wdired-change-to-dired-mode): Turn auto-revert-mode on if it used to
be on.
Chong Yidong [Wed, 20 Aug 2008 22:41:28 +0000 (22:41 +0000)]
* wdired.el (wdired-old-auto-revert-mode): New var.
(wdired-change-to-wdired-mode): Turn off auto-revert-mode.
(wdired-change-to-dired-mode): Turn auto-revert-mode on if it used to
be on.
Michael Albinus [Wed, 20 Aug 2008 20:08:50 +0000 (20:08 +0000)]
* net/xesam.el (xesam-highlight-string): Precise doc string.
(xesam-highlight-buffer): New defun.
(xesam-refresh-entry): Use it. Better check for sourceModified.
Adrian Robert [Tue, 19 Aug 2008 13:41:20 +0000 (13:41 +0000)]
ns-emacs.texi: Update version. (Introduction): Correct menu location for options save. (Customization): Note that defaults are stored under org.gnu.Emacs.