comparison src/ChangeLog @ 97672:9b0b25fe18e7

*** empty log message ***
author Eli Zaretskii <eliz@gnu.org>
date Sat, 23 Aug 2008 17:07:57 +0000
parents eb8c3a9e1565
children 1a81f5db02cf
comparison
equal deleted inserted replaced
97671:ed6d8c1d1bf3 97672:9b0b25fe18e7
1 2008-08-23 Eli Zaretskii <eliz@gnu.org>
2
3 * emacs.c (main) [MSDOS]: Call syms_of_xmenu.
4
5 * dispnew.c (init_display): Remove MS-DOS specific conditions for
6 calling tty-set-up-initial-frame-faces.
7
8 * xmenu.c (Fx_popup_dialog, Fx_popup_menu, xmenu_show): Allow
9 MSDOS frames along with X frames.
10
11 * termhooks.h (TERMINAL_ACTIVE_P): Handle output_msdos_raw in
12 addition to output_termcap.
13
14 * xdisp.c (redisplay_internal) [MSDOS]: Don't call set_tty_color_mode.
15
16 * termchar.h (FRAME_TTY): Support output_msdos_raw.
17 (struct tty_display_info) [MSDOS]: Add fields related to mouse
18 highlight.
19
20 * process.c [!subprocesses]: Define QCname.
21 (syms_of_process): Intern and staticpro it.
22
23 * w16select.c (Fw16_set_clipboard_data, Fw16_get_clipboard_data):
24 Adjust for changes in encoding/decoding routines. Use
25 encode_coding_object and decode_coding_object instead of
26 encode_coding and decode_coding.
27
28 * sysdep.c (init_sys_modes): Call dos_ttraw with tty_out as
29 argument.
30
31 * dosfns.c: Include frame.h before termhooks.h.
32 (dos_cleanup): Use CURTTY ()->termscript instead of a global
33 variable termscript.
34
35 * s/msdos.h (USER_FULL_NAME): Define.
36 (SYSTEM_PURESIZE_EXTRA): Bump up to 100K.
37
38 * editfns.c (USER_FULL_NAME): Define to pw->pw_gecos if undefined.
39 (Fuser_full_name): Use USER_FULL_NAME instead of a literal
40 pw->pw_gecos.
41
42 * keyboard.c (handle_interrupt) [MSDOS]: Call cursor_to with
43 SELECTED_FRAME as additional (1st) argument.
44 (tty_read_avail_input): Handle output_msdos_raw in
45 addition to output_termcap.
46
47 * msdos.c: Include frame.h before termhooks.h.
48 (mouse_on, mouse_off, mouse_moveto, mouse_init)
49 (msdos_set_cursor_shape, IT_set_face, IT_write_glyphs)
50 (show_mouse_face, IT_clear_end_of_line, IT_clear_screen)
51 (IT_clear_to_end, IT_cursor_to, IT_display_cursor, IT_cmgoto)
52 (IT_set_terminal_modes, IT_reset_terminal_modes)
53 (IT_set_frame_parameters): Use tty->termscript instead of a global
54 variable termscript.
55 (IT_write_glyphs): Use tty->terminal->terminal_coding instead of a
56 global variable terminal_coding. Don't refer to
57 Vnonascii_translation_table.
58 (internal_terminal_init): Set Vwindow_system in current_kboard.
59 Don't use TTY_CHAR_INS_DEL_OK. Set Vinitial_window_system.
60 Announce date and time of session start, if termscript is open.
61 Don't zero out the_only_display_info (it is done in
62 term.c:init_tty). Open termscript only of not already open. Log
63 "SCREEN SAVED" here, instead of IT_set_terminal_modes. Init mouse
64 here instead of dos_ttraw. Don't initialize display if this is an
65 initial tty. Don't set FRAME_FONT.
66 (Vwindow_system_version): Bump to 23.
67 (dos_ttraw): Accept a TTY argument; all callers fixed. If mouse
68 is available, set up mouse_position_hook.
69 (dos_ttraw, IT_set_terminal_modes): If called with initial
70 terminal, do nothing.
71 (IT_set_frame_parameters): Handle the Qtty_type frame
72 parameter by calling internal_terminal_init.
73 (dos_set_window_size, show_mouse_face)
74 (clear_mouse_face, IT_note_mode_line_highlight)
75 (IT_note_mouse_highlight, IT_update_begin, IT_frame_up_to_date)
76 (dos_rawgetc): Use tty_display_info instead of x_display_info.
77 (initialize_msdos_display): New function.
78 (IT_cursor_to, IT_clear_to_end, IT_clear_screen)
79 (IT_clear_end_of_line, IT_insert_glyphs, IT_write_glyphs)
80 (IT_delete_glyphs, IT_ring_bell, IT_reset_terminal_modes)
81 (IT_set_terminal_modes, IT_set_terminal_window, IT_update_begin):
82 Accept additional argument: a pointer to a frame. All callers
83 changed.
84 (request_sigio, unrequest_sigio): Don't define, now defined on
85 sysdep.c.
86 (IT_write_glyphs): Rewrite to use encode_terminal_code.
87
88 * term.c [MSDOS]: Include msdos.h.
89 (init_tty) [MSDOS]: Reuse most of WINDOWSNT branch. Change cpp
90 conditional to DOS_NT. Allow only one call to this function in a
91 session. Don't allocate a new struct tty_display_info; instead,
92 reuse the_only_display_info. Call get_tty_size to get screen
93 dimensions. Call init_baud_rate to set bad_rate.
94 (dissociate_if_controlling_tty) [MSDOS]: Ifdef away function body.
95 (Fsuspend_tty) [MSDOS]: Don't close input and output.
96 (Fresume_tty) [MSDOS]: Don't reopen the TTY; instead, use
97 stdin/stdout.
98 (get_tty_terminal, get_named_tty, Ftty_type)
99 (Fcontrolling_tty_p): Handle output_msdos_raw in addition to
100 output_termcap.
101 (Fresume_tty, Fsuspend_tty, init_tty, delete_tty): Call
102 add_keyboard_wait_descriptor and delete_keyboard_wait_descriptor
103 only when subprocesses are supported
104
105 * frame.c (make_terminal_frame) [MSDOS]: Adjust initialization of
106 f->output_data.x.
107 (Fmake_terminal_frame) [MSDOS]: Don't allow creation of new
108 terminal devices.
109
110 * msdos.h Remove definition of struct x_display_info and struct
111 x_output.
112 (FRAME_FONT): Use output_data.tty.
113 (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Don't define.
114 (struct x_display_info): Renamed from display_info. All users in
115 msdos.c changed.
116 (struct x_output): Remove background_pixel and foreground_pixel.
117 (the_only_display_info): Renamed from the_only_x_display.
118 (dos_ttraw): Update prototype.
119
120 * Makefile.in (MSDOS_OBJ): Add xmenu.o.
121 (SOME_MACHINE_LISP): Add ../lisp/term/pc-win.elc.
122
1 2008-08-23 Jason Rumney <jasonr@gnu.org> 123 2008-08-23 Jason Rumney <jasonr@gnu.org>
2 124
3 * image.c (enum tiff_keyword_index, tiff_format): Add :index keyword. 125 * image.c (enum tiff_keyword_index, tiff_format): Add :index keyword.
4 (fn_TIFFSetDirectory): New library function used. 126 (fn_TIFFSetDirectory): New library function used.
5 (init_tiff_functions) [HAVE_NTGUI]: Initialize it. 127 (init_tiff_functions) [HAVE_NTGUI]: Initialize it.