comparison src/ChangeLog @ 1318:b531bf8658e9

[xemacs-hg @ 2003-02-21 06:56:46 by ben] redisplay fixes et al. PROBLEMS: Add comment about Cygwin, unexec and sysmalloc. Move some non-general stuff out of general. Make a section for x86. configure.in: Add check for broken alloca in funcalls. mule/mule-cmds.el: Alias file-name to native not vice-versa. Do set EOL of native but not of process output to fix various problems and be consistent with code-init.el. code-cmds.el: Return a name not a coding system. code-init.el: Reindent. Remove `file-name' since it should always be the same as native. unicode.el: Rename to load-unicode-mapping-table as suggested by the anonymous (but rather Turnbullian) comment in unicode.c. xemacs.dsp: Add /k to default build. alloc.c: Make gc_currently_forbidden static. config.h.in, lisp.h: Move some stuff to lisp.h. console-gtk.h, console-impl.h, console-msw.h, console-x.h, event-Xt.c, event-msw.c, redisplay-gtk.c, redisplay-msw.c, redisplay-output.c, redisplay-x.c, gtk-xemacs.c: Remove duplicated code to redraw exposed area. Add deadbox method needed by the generalized redraw code. Defer redrawing if already in redisplay. frame-msw.c, event-stream.c, frame.c: Add comments about calling Lisp. debug.c, general-slots.h: Move generalish symbols to general-slots.h. doprnt.c: reindent. lisp.h, dynarr.c: Add debug code for locking a dynarr to catch invalid mods. Use in redisplay.c. eval.c: file-coding.c: Define file-name as alias for native not vice-versa. frame-gtk.c, frame-x.c: Move Qwindow_id to general-slots. dialog-msw.c, glyphs-gtk.c, glyphs-msw.c, glyphs-widget.c, glyphs-x.c, gui.c, gui.h, menubar-msw.c, menubar.c: Ensure that various glyph functions that eval within redisplay protect the evals. Same for calls to internal_equal(). Modify various functions, e.g. gui_item_*(), to protect evals within redisplay, taking an in_redisplay parameter if it's possible for them to be called both inside and outside of redisplay. gutter.c: Defer specifier-changed updating till after redisplay, if necessary, since we need to enter redisplay to do it. gutter.c: Do nothing if in redisplay. lisp.h: Add version of alloca() for use in function calls. lisp.h: Add XCAD[D+]R up to 6 D's, and aliases X1ST, X2ND, etc. frame.c, frame.h, redisplay.c, redisplay.h, signal.c, toolbar.c: Redo critical-section code and move from frame.c to redisplay.c. Require that every place inside of redisplay catch errors itself, not at the edge of the critical section (thereby bypassing the rest of redisplay and leaving things in an inconsistent state). Introduce separate means of holding frame-size changes without entering a complete critical section. Introduce "post-redisplay" methods for deferring things till after redisplay. Abort if we enter redisplay reentrantly. Disable all quit checking in redisplay since it's too dangerous. Ensure that all calls to QUIT trigger an abort if unprotected. redisplay.c, scrollbar-gtk.c, scrollbar-x.c, scrollbar.c: Create enter/exit_redisplay_critical_section_maybe() for code that needs to ensure it's in a critical section but doesn't interfere with an existing critical section. sysdep.c: Use _wexecve() when under Windows NT for Unicode correctness. text.c, text.h: Add new_dfc() functions, which return an alloca()ed value rather than requiring an lvalue. (Not really used yet; used in another workspace, to come.) Add some macros for SIZED_EXTERNAL. Update the encoding aliases after involved scrutinization of the X manual. unicode.c: Answer the anonymous but suspiciously Turnbullian questions. Rename parse-unicode-translation-table to load-unicode-mapping-table, as suggested.
author ben
date Fri, 21 Feb 2003 06:57:21 +0000
parents 70921960b980
children 4f58e6e65139
comparison
equal deleted inserted replaced
1317:d9d08dc5e617 1318:b531bf8658e9
1 2003-02-20 Ben Wing <ben@xemacs.org>
2
3 * alloc.c:
4 * alloc.c (garbage_collect_1):
5 Make gc_currently_forbidden static.
6
7 * config.h.in:
8 * lisp.h:
9 Move some stuff to lisp.h.
10
11 * console-gtk.h:
12 * console-impl.h:
13 * console-impl.h (struct console_methods):
14 * console-msw.h:
15 * console-x.h:
16 * event-Xt.c (emacs_Xt_handle_magic_event):
17 * event-msw.c (emacs_mswindows_drain_queue):
18 * event-msw.c (mswindows_handle_paint):
19 * event-msw.c (emacs_mswindows_event_pending_p):
20 * redisplay-gtk.c:
21 * redisplay-gtk.c (gtk_clear_to_window_end):
22 * redisplay-msw.c:
23 * redisplay-msw.c (mswindows_redisplay_deadbox):
24 * redisplay-msw.c (mswindows_clear_region):
25 * redisplay-msw.c (mswindows_clear_frame):
26 * redisplay-msw.c (console_type_create_redisplay_mswindows):
27 * redisplay-output.c:
28 * redisplay-output.c (redisplay_output_window):
29 * redisplay-output.c (redisplay_redraw_exposed_window):
30 * redisplay-output.c (redisplay_redraw_exposed_area):
31 * redisplay-x.c:
32 * redisplay-x.c (x_generate_shadow_pixels):
33 * gtk-xemacs.c (gtk_xemacs_paint):
34 * gtk-xemacs.c (gtk_xemacs_expose):
35 Remove duplicated code to redraw exposed area. Add deadbox
36 method needed by the generalized redraw code. Defer redrawing
37 if already in redisplay.
38
39 * frame-msw.c (mswindows_set_frame_size):
40 * event-stream.c (event_stream_drain_queue):
41 * event-stream.c (detect_input_pending):
42 * event-stream.c (Finput_pending_p):
43 * event-stream.c (event_stream_quit_p):
44 * event-stream.c (run_pre_idle_hook):
45 * event-stream.c (Fdiscard_input):
46 * frame.c:
47 Add comments about calling Lisp.
48
49 * debug.c:
50 * debug.c (FROB):
51 * debug.c (syms_of_debug):
52 * general-slots.h:
53 Move generalish symbols to general-slots.h.
54
55 * doprnt.c (get_doprnt_args):
56 * doprnt.c (emacs_doprnt_1):
57 reindent.
58
59 * lisp.h (Dynarr_reset):
60 * lisp.h (Dynarr_add):
61 * lisp.h (Dynarr_increment):
62 * lisp.h (Dynarr_pop):
63 * lisp.h (Dynarr_delete_object):
64 * dynarr.c:
65 * dynarr.c (Dynarr_resize):
66 * dynarr.c (Dynarr_insert_many):
67 * dynarr.c (Dynarr_delete_many):
68 * dynarr.c (Dynarr_memory_usage):
69 Add debug code for locking a dynarr to catch invalid mods.
70 Use in redisplay.c.
71
72 * eval.c:
73 * eval.c (throw_or_bomb_out):
74 * eval.c (Fsignal):
75 * eval.c (Feval):
76 * eval.c (Ffuncall):
77 * eval.c (set_trapping_problems_flags):
78 * eval.c (call_trapping_problems):
79
80 * file-coding.c:
81 * file-coding.c (complex_vars_of_file_coding):
82 Define file-name as alias for native not vice-versa.
83
84 * frame-gtk.c:
85 * frame-gtk.c (syms_of_frame_gtk):
86 * frame-x.c:
87 * frame-x.c (syms_of_frame_x):
88 Move Qwindow_id to general-slots.
89
90 * dialog-msw.c (handle_question_dialog_box):
91 * glyphs-gtk.c (gtk_tab_control_redisplay):
92 * glyphs-msw.c:
93 * glyphs-msw.c (mswindows_redisplay_widget):
94 * glyphs-msw.c (mswindows_widget_instantiate):
95 * glyphs-msw.c (mswindows_button_instantiate):
96 * glyphs-msw.c (mswindows_button_redisplay):
97 * glyphs-msw.c (mswindows_tab_control_instantiate):
98 * glyphs-msw.c (mswindows_tab_control_redisplay):
99 * glyphs-widget.c:
100 * glyphs-widget.c (widget_normalize):
101 * glyphs-widget.c (tab_control_order_only_changed):
102 * glyphs-widget.c (layout_query_geometry):
103 * glyphs-x.c:
104 * glyphs-x.c (x_widget_instantiate):
105 * glyphs-x.c (x_button_instantiate):
106 * glyphs-x.c (x_progress_gauge_instantiate):
107 * glyphs-x.c (x_tab_control_instantiate):
108 * glyphs-x.c (x_tab_control_redisplay):
109 * gui.c:
110 * gui.c (gui_item_value):
111 * gui.c (gui_item_active_p):
112 * gui.c (gui_item_selected_p):
113 * gui.c (gui_item_list_find_selected):
114 * gui.c (gui_item_included_p):
115 * gui.c (gui_value_equal):
116 * gui.c (gui_item_equal_sans_selected):
117 * gui.c (gui_item_equal):
118 * gui.h:
119 * menubar-msw.c (populate_menu_add_item):
120 * menubar.c (Fmenu_find_real_submenu):
121 Ensure that various glyph functions that eval within redisplay
122 protect the evals. Same for calls to internal_equal().
123 Modify various functions, e.g. gui_item_*(), to protect evals
124 within redisplay, taking an in_redisplay parameter if it's
125 possible for them to be called both inside and outside of
126 redisplay.
127
128 * gutter.c:
129 * gutter.c (calculate_gutter_size):
130 * gutter.c (redraw_exposed_gutters):
131 * gutter.c (Fset_default_gutter_position):
132 * gutter.c (gutter_specs_changed):
133 * gutter.c (gutter_geometry_changed_in_window):
134 Defer specifier-changed updating till after redisplay, if
135 necessary, since we need to enter redisplay to do it.
136
137 * gutter.c (Fredisplay_gutter_area):
138 Do nothing if in redisplay.
139
140 * lisp.h:
141 Add version of alloca() for use in function calls.
142
143 * lisp.h (XCADR):
144 Add XCAD[D+]R up to 6 D's, and aliases X1ST, X2ND, etc.
145
146 * frame.c (invalidate_vertical_divider_cache_in_frame):
147 * frame.c (adjust_frame_size):
148 * frame.c (store_minibuf_frame_prop):
149 * frame.c (Fset_frame_properties):
150 * frame.c (internal_set_frame_size):
151 * frame.c (Fset_frame_height):
152 * frame.c (Fset_frame_pixel_height):
153 * frame.c (Fset_frame_displayable_pixel_height):
154 * frame.c (Fset_frame_width):
155 * frame.c (Fset_frame_pixel_width):
156 * frame.c (Fset_frame_displayable_pixel_width):
157 * frame.c (Fset_frame_size):
158 * frame.c (Fset_frame_pixel_size):
159 * frame.c (Fset_frame_displayable_pixel_size):
160 * frame.c (change_frame_size_1):
161 * frame.c (change_frame_size):
162 * frame.h:
163 * redisplay.c:
164 * redisplay.c (REDISPLAY_PREEMPTION_CHECK \):
165 * redisplay.c (generate_displayable_area):
166 * redisplay.c (regenerate_window):
167 * redisplay.c (enter_redisplay_critical_section):
168 * redisplay.c (exit_redisplay_critical_section):
169 * redisplay.c (redisplay_frame):
170 * redisplay.c (eval_within_redisplay):
171 * redisplay.c (free_display_line):
172 * redisplay.c (Fredisplay_echo_area):
173 * redisplay.c (vars_of_redisplay):
174 * redisplay.h:
175 * signal.c (check_what_happened):
176 * toolbar.c:
177 * toolbar.c (Fset_default_toolbar_position):
178 Redo critical-section code and move from frame.c to redisplay.c.
179 Require that every place inside of redisplay catch errors itself,
180 not at the edge of the critical section (thereby bypassing the
181 rest of redisplay and leaving things in an inconsistent state).
182 Introduce separate means of holding frame-size changes without
183 entering a complete critical section. Introduce "post-redisplay"
184 methods for deferring things till after redisplay. Abort if
185 we enter redisplay reentrantly. Disable all quit checking in
186 redisplay since it's too dangerous. Ensure that all calls to
187 QUIT trigger an abort if unprotected.
188
189 * redisplay.c:
190 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
191 * scrollbar-x.c (x_update_frame_scrollbars):
192 * scrollbar.c:
193 * scrollbar.c (update_window_scrollbars):
194 Create enter/exit_redisplay_critical_section_maybe() for code
195 that needs to ensure it's in a critical section but doesn't
196 interfere with an existing critical section.
197
198 * sysdep.c:
199 * sysdep.c (qxe_execve):
200 Use _wexecve() when under Windows NT for Unicode correctness.
201
202 * text.c:
203 * text.c (new_dfc_convert_now_damn_it):
204 * text.c (new_dfc_convert_malloc):
205 * text.c (find_pos_of_existing_active_dfc_e2c):
206 * text.c (new_dfc_convert_alloca):
207 * text.c (new_dfc_convert_size):
208 * text.c (reinit_vars_of_text):
209 * text.h:
210 * text.h (eicpy_ext_len):
211 * text.h (eicpy_ext):
212 * text.h (eito_external):
213 * text.h (Qx_atom_name_encoding):
214 Add new_dfc() functions, which return an alloca()ed value rather
215 than requiring an lvalue. (Not really used yet; used in another
216 workspace, to come.) Add some macros for SIZED_EXTERNAL.
217
218 Update the encoding aliases after involved scrutinization of the
219 X manual.
220
221 * unicode.c:
222 * unicode.c (init_blank_unicode_tables):
223 * unicode.c (init_charset_unicode_tables):
224 * unicode.c (syms_of_unicode):
225 Answer the anonymous but suspiciously Turnbullian questions.
226 Rename parse-unicode-translation-table to
227 load-unicode-mapping-table, as suggested.
228
1 2003-02-19 Ben Wing <ben@xemacs.org> 229 2003-02-19 Ben Wing <ben@xemacs.org>
2 230
3 * Makefile.in.in (all): New. 231 * Makefile.in.in (all): New.
4 * Makefile.in.in (EXE_TARGET): 232 * Makefile.in.in (EXE_TARGET):
5 * Makefile.in.in (X11_libs): 233 * Makefile.in.in (X11_libs):