Eli Zaretskii [Sun, 24 Aug 2008 20:12:41 +0000 (20:12 +0000)]
(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.
Glenn Morris [Sat, 23 Aug 2008 23:29:54 +0000 (23:29 +0000)]
(Fortran): Change description of free form and
fixed form a bit. Mention hideshow and imenu.
(Fortran Motion): Mention fortran-end-of-subprogram,
fortran-beginning-of-subprogram, fortran-mark-do, fortran-mark-if.
(Fortran Indent): Minor re-word.
(ForIndent Commands): Mention fortran-fill-paragraph and
fortran-fill-statement.
(ForIndent Cont): Mention fortran-tab-mode-string.
(Fortran Comments): Mention fortran-comment-line-start-skip.
(Fortran Columns): Mention font-locking.
(Fortran Abbrev): Word syntax not relevant with new-style abbrev.
Eli Zaretskii [Sat, 23 Aug 2008 17:04:11 +0000 (17:04 +0000)]
(version): Define to empty.
(ALL_CFLAGS, LIBES): Edit out @FOO@ stuff.
(EXEEXT): Define to .exe. Edit "ln -f" into "cp -pf". Edit "touch" into
"djecho $@ >", to avoid requiring touch.exe.
(b-emacs${EXEEXT}): Don't remove emacs.exe and temacs.exe. Edit "`/bin/pwd`/"
into "./". Stubify emacs after it is dumped, to produce emacs.exe. Stubedit
temacs.exe to 1024K of stack, emacs.exe to 2048K, and b-emacs.exe to 3072K.
Eli Zaretskii [Sat, 23 Aug 2008 17:02:59 +0000 (17:02 +0000)]
(emacs lispref lispintro): Chdir under doc/.
(emacs): Renamed from `man', to reflect changes in doc directory structure.
All callers changed.
(clean mostlyclean distclean maintainer-clean extraclean): Chdir into doc/
for manuals. Add misc subdirectory.
(src): Pass an empty BOOTSTRAPEMACS variable to src/Makefile.
(install): Don't stubify/stubedit emacs.exe, this is now done by src/Makefile.
Eli Zaretskii [Sat, 23 Aug 2008 17:01:46 +0000 (17:01 +0000)]
(msdos-create-frame-with-faces): Renamed from make-msdos-frame.
(terminal-init-internal): New function, errors out if called.
(msdos-initialize-window-system): New function.
(msdos-create-frame-with-faces): Set the terminal's `terminal-initted' (sic!)
parameter.
(frame-creation-function-alist): Add msdos-create-frame-with-faces.
(window-system-initialization-alist): Add msdos-initialize-window-system.
(handle-args-function-alist): Use tty-handle-args for `pc' ``window system''
as well.
(pc-win): Provide.
Eli Zaretskii [Sat, 23 Aug 2008 17:00:57 +0000 (17:00 +0000)]
(msdos-key-remapping-map): New variable. Move here all the special keys we
will be remapping via local-function-key-map.
(msdos-setup-keyboard): New function.
Eli Zaretskii [Sat, 23 Aug 2008 16:57:35 +0000 (16:57 +0000)]
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.
Eli Zaretskii [Sat, 23 Aug 2008 16:56:59 +0000 (16:56 +0000)]
(make_terminal_frame) [MSDOS]: Adjust initialization of f->output_data.tty.
(Fmake_terminal_frame) [MSDOS]: Don't allow creation of new terminal devices.
Eli Zaretskii [Sat, 23 Aug 2008 16:55:52 +0000 (16:55 +0000)]
[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
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.