# HG changeset patch # User Eli Zaretskii # Date 1219511277 0 # Node ID 9b0b25fe18e78029d2a34e9c84927a970f009619 # Parent ed6d8c1d1bf35f64ab3b6476b436f019d2c3267a *** empty log message *** diff -r ed6d8c1d1bf3 -r 9b0b25fe18e7 admin/ChangeLog --- a/admin/ChangeLog Sat Aug 23 17:06:03 2008 +0000 +++ b/admin/ChangeLog Sat Aug 23 17:07:57 2008 +0000 @@ -1,3 +1,7 @@ +2008-08-23 Eli Zaretskii + + * CPP-DEFINES: Add USER_FULL_NAME. + 2008-08-16 Jason Rumney * admin.el (set-version): Set version in nt/emacsclient.rc diff -r ed6d8c1d1bf3 -r 9b0b25fe18e7 lisp/ChangeLog --- a/lisp/ChangeLog Sat Aug 23 17:06:03 2008 +0000 +++ b/lisp/ChangeLog Sat Aug 23 17:07:57 2008 +0000 @@ -1,3 +1,32 @@ +2008-08-23 Eli Zaretskii + + * startup.el (command-line): Don't call tty-register-default-colors + if initial-window-system is `pc'. + + * term/internal.el (local-function-key-map): Fix unbalanced parens. + (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. + + * term/pc-win.el (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. + + * term/tty-colors.el (tty-register-default-colors): Remove bogus + code for using msdos-color-values. + + * loadup.el [ms-dos]: Load term/pc-win. + 2008-08-23 Dan Nicolaescu * vc-dir.el (vc-dir-prepare-status-buffer): Make sure we use a diff -r ed6d8c1d1bf3 -r 9b0b25fe18e7 msdos/ChangeLog --- a/msdos/ChangeLog Sat Aug 23 17:06:03 2008 +0000 +++ b/msdos/ChangeLog Sat Aug 23 17:07:57 2008 +0000 @@ -1,3 +1,30 @@ +2008-08-23 Eli Zaretskii + + * sed2v2.inp: Remove definition of USER_FULL_NAME (now defined on + src/s/msdos.h). + + * sed3v2.inp: Edit out @LIB_SRC_EXTRA_INSTALLABLES@. + + * sed1v2.inp (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. + + * mainmake.v2 (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. + 2007-10-05 Eli Zaretskii * sed6.inp: Update comment to reflect doc directory structure. diff -r ed6d8c1d1bf3 -r 9b0b25fe18e7 src/ChangeLog --- a/src/ChangeLog Sat Aug 23 17:06:03 2008 +0000 +++ b/src/ChangeLog Sat Aug 23 17:07:57 2008 +0000 @@ -1,3 +1,125 @@ +2008-08-23 Eli Zaretskii + + * emacs.c (main) [MSDOS]: Call syms_of_xmenu. + + * dispnew.c (init_display): Remove MS-DOS specific conditions for + calling tty-set-up-initial-frame-faces. + + * xmenu.c (Fx_popup_dialog, Fx_popup_menu, xmenu_show): Allow + MSDOS frames along with X frames. + + * termhooks.h (TERMINAL_ACTIVE_P): Handle output_msdos_raw in + addition to output_termcap. + + * xdisp.c (redisplay_internal) [MSDOS]: Don't call set_tty_color_mode. + + * termchar.h (FRAME_TTY): Support output_msdos_raw. + (struct tty_display_info) [MSDOS]: Add fields related to mouse + highlight. + + * process.c [!subprocesses]: Define QCname. + (syms_of_process): Intern and staticpro it. + + * w16select.c (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. + + * sysdep.c (init_sys_modes): Call dos_ttraw with tty_out as + argument. + + * dosfns.c: Include frame.h before termhooks.h. + (dos_cleanup): Use CURTTY ()->termscript instead of a global + variable termscript. + + * s/msdos.h (USER_FULL_NAME): Define. + (SYSTEM_PURESIZE_EXTRA): Bump up to 100K. + + * editfns.c (USER_FULL_NAME): Define to pw->pw_gecos if undefined. + (Fuser_full_name): Use USER_FULL_NAME instead of a literal + pw->pw_gecos. + + * keyboard.c (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. + + * msdos.c: 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. + + * term.c [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 + + * frame.c (make_terminal_frame) [MSDOS]: Adjust initialization of + f->output_data.x. + (Fmake_terminal_frame) [MSDOS]: Don't allow creation of new + terminal devices. + + * msdos.h 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. + + * Makefile.in (MSDOS_OBJ): Add xmenu.o. + (SOME_MACHINE_LISP): Add ../lisp/term/pc-win.elc. + 2008-08-23 Jason Rumney * image.c (enum tiff_keyword_index, tiff_format): Add :index keyword.