aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog200
1 files changed, 200 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 8d09c5bfd2f..26ea457a2fe 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,203 @@
12004-12-27 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
2
3 * xmenu.c (popup_get_selection): Only pop down dialogs
4 on C-g and Escape.
5 (popup_get_selection): Remove parameter down_on_keypress.
6 (create_and_show_popup_menu, create_and_show_dialog): Remove
7 parameter down_on_keypress to popup_get_selection.
8
92004-12-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10
11 * dispextern.h: Change HAVE_CARBON to MAC_OS.
12 (struct glyph_string): Likewise.
13 * emacs.c (main) [MAC_OS8]: Call mac_term_init instead of
14 mac_initialize.
15 * fileio.c (Fnext_read_file_uses_dialog_p, Fread_file_name):
16 Change TARGET_API_MAC_CARBON to HAVE_CARBON.
17 * fns.c (vector): Change MAC_OSX to MAC_OS.
18 * frame.c (x_set_frame_parameters, x_report_frame_params)
19 (x_set_fullscreen): Remove #ifndef HAVE_CARBON.
20 (x_set_border_width, Vdefault_frame_scroll_bars): Change
21 HAVE_CARBON to MAC_OS.
22 * image.c [MAC_OS]: Include sys/stat.h.
23 [MAC_OS && !MAC_OSX]: Include sys/param.h, ImageCompression.h, and
24 QuickTimeComponents.h.
25 * mac.c [!MAC_OSX] (mac_wait_next_event): Add extern.
26 [!MAC_OSX] (select): Use mac_wait_next_event.
27 [!MAC_OSX] (run_mac_command): Change EXEC_SUFFIXES to
28 Vexec_suffixes.
29 [!MAC_OSX] (select, run_mac_command): Change `#ifdef
30 TARGET_API_MAC_CARBON' to `#if TARGET_API_MAC_CARBON'.
31 (mac_clear_font_name_table): Add extern.
32 (Fmac_clear_font_name_table): New defun.
33 (syms_of_mac): Defsubr it.
34 [MAC_OSX] (SELECT_POLLING_PERIOD_USEC): New define.
35 [MAC_OSX] (select_and_poll_event): New function.
36 [MAC_OSX] (sys_select): Use it.
37 [MAC_OSX && SELECT_USE_CFSOCKET] (socket_callback): New function.
38 [MAC_OSX && SELECT_USE_CFSOCKET]
39 (SELECT_TIMEOUT_THRESHOLD_RUNLOOP, EVENT_CLASS_SOCK): New defines.
40 [MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]: Use CFSocket and
41 RunLoop for simultaneously monitoring two kinds of inputs, window
42 events and process outputs, without periodically polling.
43 * macfns.c (mac_initialized): Remove extern.
44 (stricmp): Put in #if 0. All callers changed to use xstricmp in
45 xfaces.c.
46 (strnicmp): Decrement `n' at the end of each loop, not the
47 beginning.
48 (check_mac): Use the term "Mac native windows" instead of "Mac
49 OS".
50 (check_x_display_info, x_display_info_for_name): Sync with xfns.c.
51 (mac_get_rdb_resource): New function (from w32reg.c).
52 (x_get_string_resource): Use it.
53 (install_window_handler): Add extern.
54 (mac_window): New function.
55 (Fx_create_frame): Use it instead of make_mac_frame. Set
56 parameter for Qfullscreen. Call x_wm_set_size_hint.
57 (Fx_open_connection, Fx_close_connection): New defuns.
58 (syms_of_macfns): Defsubr them.
59 (x_create_tip_frame) [TARGET_API_MAC_CARBON]: Add
60 kWindowNoUpdatesAttribute to the window attribute.
61 (x_create_tip_frame) [!TARGET_API_MAC_CARBON]: Use NewCWindow.
62 (x_create_tip_frame): Don't call ShowWindow.
63 (Fx_show_tip): Call ShowWindow.
64 (Fx_file_dialog): Change `#ifdef TARGET_API_MAC_CARBON' to `#if
65 TARGET_API_MAC_CARBON'.
66 (mac_frame_parm_handlers): Set handlers for Qfullscreen.
67 (syms_of_macfns) [MAC_OSX]: Initialize mac_in_use to 0.
68 * macgui.h [!MAC_OSX]: Don't include Controls.h. Include
69 Windows.h.
70 (Window): Typedef to WindowPtr and move outside `#if
71 TARGET_API_MAC_CARBON'.
72 (XSizeHints): New struct.
73 * macterm.c (x_update_begin, x_update_end)
74 [TARGET_API_MAC_CARBON]: Disable screen updates during update of a
75 frame.
76 (x_draw_glyph_string_background, x_draw_glyph_string_foreground)
77 [MAC_OS8]: Use XDrawImageString/XDrawImageString16.
78 (construct_mouse_click): Put in #if 0.
79 (x_check_fullscreen, x_check_fullscreen_move): Remove decls.
80 (x_scroll_bar_create, x_scroll_bar_handle_click): Change `#ifdef
81 TARGET_API_MAC_CARBON' to `#if TARGET_API_MAC_CARBON'.
82 (activate_scroll_bars, deactivate_scroll_bars)
83 [!TARGET_API_MAC_CARBON]: Use ActivateControl/DeactivateControl.
84 (x_make_frame_visible) [TARGET_API_MAC_CARBON]: Reposition window
85 if the position is neither user-specified nor program-specified.
86 (x_free_frame_resources): Free size_hints.
87 (x_wm_set_size_hint): Allocate size_hints if needed. Set
88 size_hints.
89 (mac_clear_font_name_table): New function.
90 (mac_do_list_fonts): Initialize font_name_table if needed.
91 (x_list_fonts): Don't initialize font_name_table. Add BLOCK_INPUT
92 around mac_do_list_fonts.
93 (mac_unload_font): New function.
94 (x_load_font): Add BLOCK_INPUT around XLoadQueryFont.
95 (init_mac_drag_n_drop, mac_do_receive_drag): Enclose declarations
96 and definitions with #if TARGET_API_MAC_CARBON.
97 [USE_CARBON_EVENTS] (mac_handle_window_event): Add decl.
98 (install_window_handler): Add decl.
99 (do_window_update): Add BeginUpdate/EndUpdate for the tooltip
100 window. Use UpdateControls. Get the rectangle that should be
101 updated and restrict the target of expose_frame to it.
102 (do_grow_window): Set minimum height/width according to
103 size_hints.
104 (do_grow_window) [TARGET_API_MAC_CARBON]: Use ResizeWindow.
105 (do_zoom_window): Don't use x_set_window_size.
106 [USE_CARBON_EVENTS] (mac_handle_window_event): New function.
107 (install_window_handler): New function.
108 [!USE_CARBON_EVENTS] (mouse_region): New variable.
109 [!USE_CARBON_EVENTS] (mac_wait_next_event): New function.
110 (XTread_socket) [USE_CARBON_EVENTS]: Move call to
111 GetEventDispatcherTarget inside BLOCK_INPUT.
112 (XTread_socket) [!USE_CARBON_EVENTS]: Use mac_wait_next_event.
113 Update mouse_region when mouse is moved.
114 (make_mac_frame): Remove.
115 (make_mac_terminal_frame): Put in #ifdef MAC_OS8. Initialize
116 mouse pointer shapes. Change values of f->left_pos and
117 f->top_pos. Don't use make_mac_frame. Use NewCWindow. Don't
118 call ShowWindow.
119 (mac_initialize_display_info) [MAC_OSX]: Create mac_id_name from
120 Vinvocation_name and Vsystem_name.
121 (mac_make_rdb): New function (from w32term.c).
122 (mac_term_init): Use it. Add BLOCK_INPUT. Error if display has
123 already been opened. Don't pass argument to
124 mac_initialize_display_info. Don't set dpyinfo->height/width.
125 Add entries to x_display_list and x_display_name_list.
126 (x_delete_display): New function.
127 (mac_initialize): Don't call mac_initialize_display_info.
128 (syms_of_macterm) [!MAC_OSX]: Don't call Fprovide.
129 * macterm.h (check_mac): Add extern.
130 (struct mac_output): New member size_hints.
131 (FRAME_SIZE_HINTS): New macro.
132 (mac_unload_font): Add extern.
133 * xdisp.c (expose_window, expose_frame): Remove kludges for Mac.
134 * xfaces.c (clear_font_table) [MAC_OS]: call mac_unload_font.
135
1362004-12-27 Richard M. Stallman <rms@gnu.org>
137
138 * buffer.c (Fbuffer_disable_undo): Deleted (moved to simple.el).
139 (syms_of_buffer): Don't defsubr it.
140
141 * process.c (list_processes_1): Set undo_list instead
142 of calling Fbuffer_disable_undo.
143
144 * xdisp.c (single_display_spec_string_p): Renamed from
145 single_display_prop_string_p.
146 (single_display_spec_intangible_p): Renamed from
147 single_display_prop_intangible_p.
148 (handle_single_display_spec): Renamed from handle_single_display_prop.
149 Rewritten to be easier to understand.
150
151 * Change in load-history format. Functions now get (defun . NAME),
152 and variables get just NAME.
153
154 * data.c (Fdefalias): Use (defun . FN_NAME) in LOADHIST_ATTACH.
155
156 * eval.c (Fdefun, Fdefmacro): Use (defun . FN_NAME) in LOADHIST_ATTACH.
157 (Fdefvaralias, Fdefvar, Fdefconst): Use just SYM in LOADHIST_ATTACH.
158 (Qdefvar): Var deleted.
159 (syms_of_eval): Don't initialze it.
160
161 * lread.c (syms_of_lread) <load-history>: Doc fix.
162
1632004-12-27 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
164
165 * xmenu.c (popup_get_selection): Pop down on C-g.
166 (set_frame_menubar): Install translations for Lucid/Motif/Lesstif that
167 pops down menu on C-g.
168 (xdialog_show): If dialog popped down and no button in the dialog was
169 pushed, call Fsignal to quit.
170 (xmenu_show): In no toolkit version, if menu returns NO_SELECT call
171 Fsignal to quit.
172
173 * xfns.c (Fx_file_dialog): Motif/Lesstif version: Pop down on C-g.
174
175 * gtkutil.c (xg_initialize): Install bindings for C-g so that
176 dialogs and menus pop down.
177
1782004-12-25 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
179
180 * gtkutil.c (update_frame_tool_bar): Make the value of
181 tool-bar-button-margin control margins of images in tool bar.
182
183 * alloc.c (check_depth): New variable.
184 (overrun_check_malloc, overrun_check_realloc): Only add
185 overhead and write check pattern if check_depth is 1 (to handle
186 recursive calls). Increase/decrease check_depth in entry/exit.
187 (overrun_check_free): Only check for overhead if check_depth is 1.
188 Increase/decrease check_depth in entry/exit.
189
1902004-12-23 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
191
192 * keyboard.c (input_available_signal): Call SIGNAL_THREAD_CHECK
193 before touching input_available_clear_time, to avoid accessing it
194 from multiple threads.
195
1962004-12-23 Jason Rumney <jasonr@gnu.org>
197
198 * image.c (__WIN32__) [HAVE_NTGUI]: Define for correct behaviour
199 of JPEG library.
200
12004-12-22 Richard M. Stallman <rms@gnu.org> 2012004-12-22 Richard M. Stallman <rms@gnu.org>
2 202
3 * emacs.c (main): If batch mode, set Vundo_outer_limit to nil. 203 * emacs.c (main): If batch mode, set Vundo_outer_limit to nil.