comparison src/ChangeLog @ 2500:3d8143fc88e1

[xemacs-hg @ 2005-01-24 23:33:30 by ben] get working with VC7 config.inc.samp: Declare OPTIONAL_LIBRARY_DIR as root of library directories. Redo all graphics library defaults to mirror the versions and directories in the current binary aux distribution on xemacs web site. Enable TIFF and COMPFACE by default since you can now compile with them and binary libs are provided. xemacs.mak: Put our own directories first in case of conflict (e.g. config.h in compface). xemacs.mak: Use MSVCRT to avoid link problems. s/windowsnt.h: bytecode.c, print.c: Add casts to avoid warning. compiler.h: Add MSC_VERSION and include definitions of DOESNT_RETURN and friends here, like for GCC. Need different definitions for VC7 and VC6. s/windowsnt.h: Remove stuff moved to compiler.h. Disable warning 4646 ("function declared with __declspec(noreturn) has non-void return type") on VC7 since lots of Lisp primitives trigger this and there is no easy way to kludge around the warning. glyphs-eimage.c: Some really nasty hacks to allow TIFF and JPEG to both be compiled. #### The better solution is to move the TIFF and JPEG code to different files. glyphs-msw.c: Define __STDC__ to avoid problems with compface.h. intl-auto-encap-win32.c, intl-auto-encap-win32.h, intl-encap-win32.c, syswindows.h: Those wankers at Microsoft cannot leave well enough alone. Various functions change parameter types semi-randomly between VC6 and VC7, so we need to include our own versions that can handle both kinds with appropriate casting. EmacsFrame.c, EmacsShell-sub.c, EmacsShell.c, alloc.c, alloca.c, buffer.c, bytecode.c, charset.h, chartab.c, cm.c, console-stream.c, console.c, data.c, debug.h, device-msw.c, device-tty.c, device-x.c, doprnt.c, dumper.c, dynarr.c, elhash.c, emacs.c, eval.c, event-Xt.c, event-gtk.c, event-msw.c, event-stream.c, events.c, extents.c, faces.c, file-coding.c, fileio.c, fns.c, font-lock.c, frame-gtk.c, frame-x.c, frame.c, free-hook.c, gccache-gtk.c, glyphs-eimage.c, glyphs-gtk.c, glyphs-msw.c, glyphs-x.c, glyphs.c, gtk-glue.c, gutter.c, input-method-xlib.c, insdel.c, intl-win32.c, keymap.c, lisp.h, lread.c, lstream.c, macros.c, malloc.c, menubar-gtk.c, menubar-msw.c, menubar-x.c, mule-coding.c, native-gtk-toolbar.c, number.c, objects-msw.c, objects.c, print.c, process-nt.c, process-unix.c, process.c, ralloc.c, rangetab.c, redisplay-gtk.c, redisplay-msw.c, redisplay-output.c, redisplay-tty.c, redisplay-x.c, redisplay.c, regex.c, scrollbar-gtk.c, scrollbar-x.c, search.c, select-x.c, signal.c, specifier.c, specifier.h, strftime.c, sunplay.c, symbols.c, sysdep.c, sysproc.h, text.c, text.h, toolbar-common.c, toolbar-msw.c, toolbar.c, ui-gtk.c, unexnt.c, unicode.c, win32.c, window.c, xgccache.c, s/windowsnt.h: abort() -> ABORT(). Eliminate preprocessor games with abort() since it creates huge problems in VC7, solvable only by including massive amounts of files in every compile (and not worth it).
author ben
date Mon, 24 Jan 2005 23:34:34 +0000
parents ef4226f3a790
children 261c5cd19207
comparison
equal deleted inserted replaced
2499:4c5ee4d2e921 2500:3d8143fc88e1
1 2005-01-24 Ben Wing <ben@xemacs.org>
2
3 * s/windowsnt.h:
4
5 2005-01-24 Ben Wing <ben@xemacs.org>
6
7 * bytecode.c (optimize_compiled_function):
8 * print.c (ONE_DIGIT):
9 Add casts to avoid warning.
10
11 * compiler.h:
12 Add MSC_VERSION and include definitions of DOESNT_RETURN and
13 friends here, like for GCC. Need different definitions for VC7
14 and VC6.
15
16 * s/windowsnt.h:
17 Remove stuff moved to compiler.h. Disable warning 4646 ("function
18 declared with __declspec(noreturn) has non-void return type")
19 on VC7 since lots of Lisp primitives trigger this and there is
20 no easy way to kludge around the warning.
21
22 * glyphs-eimage.c:
23 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
24 #### The better solution is to move the TIFF and JPEG code to
25 different files.
26
27 * glyphs-msw.c (mswindows_xbm_instantiate):
28 Define __STDC__ to avoid problems with compface.h.
29
30 * intl-auto-encap-win32.c (qxeImmGetCandidateListCount):
31 * intl-auto-encap-win32.c (qxeFindResourceEx):
32 * intl-auto-encap-win32.h:
33 * intl-encap-win32.c:
34 * intl-encap-win32.c (qxeImmGetCompositionFont):
35 * syswindows.h:
36 Those wankers at Microsoft cannot leave well enough alone.
37 Various functions change parameter types semi-randomly between
38 VC6 and VC7, so we need to include our own versions that
39 can handle both kinds with appropriate casting.
40
41 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
42 * EmacsShell-sub.c:
43 * EmacsShell-sub.c (ABORT):
44 * EmacsShell-sub.c (SuperClassRootGeometryManager):
45 * EmacsShell-sub.c (RootGeometryManager):
46 * EmacsShell.c:
47 * EmacsShell.c (ABORT):
48 * EmacsShell.c (EmacsShellUpdateSizeHints):
49 * alloc.c:
50 * alloc.c (very_old_free_lcrecord):
51 * alloc.c (lispdesc_indirect_count_1):
52 * alloc.c (lispdesc_one_description_line_size):
53 * alloc.c (lispdesc_block_size_1):
54 * alloc.c (kkcc_marking):
55 * alloca.c (i00afunc):
56 * buffer.c (delete_from_buffer_alist):
57 * buffer.c (MARKED_SLOT):
58 * bytecode.c (execute_rare_opcode):
59 * bytecode.c (optimize_byte_code):
60 * bytecode.c (Ffetch_bytecode):
61 * charset.h:
62 * chartab.c (char_table_type_to_symbol):
63 * chartab.c (decode_char_table_range):
64 * chartab.c (encode_char_table_range):
65 * chartab.c (Freset_char_table):
66 * chartab.c (get_range_char_table_1):
67 * chartab.c (check_valid_char_table_value):
68 * chartab.c (map_char_table):
69 * chartab.c (chartab_instantiate):
70 * cm.c (cmcheckmagic):
71 * console-stream.c (stream_window_output_begin):
72 * console-stream.c (stream_window_output_end):
73 * console-stream.c (stream_frame_output_begin):
74 * console-stream.c (stream_frame_output_end):
75 * console-stream.c (stream_output_display_block):
76 * console-stream.c (stream_clear_region):
77 * console.c (get_console_variant):
78 * console.c (MARKED_SLOT):
79 * data.c (finish_marking_weak_lists):
80 * data.c (encode_weak_list_type):
81 * debug.h (DASSERT):
82 * device-msw.c (mswindows_get_default_margin):
83 * device-tty.c (tty_init_device):
84 * device-x.c (get_device_from_display):
85 * device-x.c (x_get_visual_depth):
86 * doprnt.c (parse_doprnt_spec):
87 * doprnt.c (get_doprnt_args):
88 * dumper.c (pdump_unsupported_dump_type):
89 * dumper.c (pdump_bump_depth):
90 * dynarr.c (stack_like_free):
91 * elhash.c (print_hash_table):
92 * elhash.c (make_standard_lisp_hash_table):
93 * elhash.c (hash_table_instantiate):
94 * emacs.c:
95 * emacs.c (sort_args):
96 * emacs.c (main):
97 * emacs.c (Fforce_debugging_signal):
98 * emacs.c (assert_failed):
99 * eval.c (throw_or_bomb_out):
100 * eval.c (Fsignal):
101 * eval.c (vars_of_eval):
102 * event-Xt.c (emacs_Xt_mapping_action):
103 * event-Xt.c (Xt_process_to_emacs_event):
104 * event-gtk.c (gtk_process_to_emacs_event):
105 * event-msw.c (mswindows_need_event):
106 * event-msw.c (mswindows_wnd_proc):
107 * event-msw.c (emacs_mswindows_format_magic_event):
108 * event-stream.c (Fadd_timeout):
109 * event-stream.c (Fadd_async_timeout):
110 * event-stream.c (execute_internal_event):
111 * event-stream.c (Frecent_keys):
112 * event-stream.c (extract_this_command_keys_nth_mouse_event):
113 * event-stream.c (lookup_command_event):
114 * events.c (mark_event):
115 * events.c (event_equal):
116 * events.c (event_hash):
117 * events.c (Fmake_event):
118 * events.c (Fdeallocate_event):
119 * events.c (event_chain_find_previous):
120 * events.c (event_to_character):
121 * events.c (format_event_object):
122 * events.c (Fevent_type):
123 * events.c (event_pixel_translation):
124 * events.c (Fevent_properties):
125 * extents.c (extent_in_region_p):
126 * extents.c (print_extent):
127 * extents.c (process_extents_for_insertion_mapper):
128 * extents.c (glyph_layout_to_symbol):
129 * faces.c (face_validate):
130 * file-coding.c (eol_type_to_symbol):
131 * file-coding.c (subsidiary_coding_system):
132 * file-coding.c (chain_conversion_end_type):
133 * file-coding.c (convert_eol_print):
134 * file-coding.c (convert_eol_getprop):
135 * file-coding.c (convert_eol_canonicalize_after_coding):
136 * file-coding.c (coding_category_id_to_symbol):
137 * file-coding.c (detection_result_number_to_symbol):
138 * fileio.c:
139 * fns.c (concat):
140 * fns.c (Fsubseq):
141 * fns.c (mapcar1):
142 * fns.c (Fbase64_encode_region):
143 * fns.c (Fbase64_encode_string):
144 * fns.c (Fbase64_decode_region):
145 * fns.c (Fbase64_decode_string):
146 * font-lock.c (find_context):
147 * font-lock.c (context_to_symbol):
148 * frame-gtk.c (gtk_set_frame_pointer):
149 * frame-gtk.c (gtk_update_frame_external_traits):
150 * frame-x.c (x_wm_mark_shell_size_user_specified):
151 * frame-x.c (x_wm_mark_shell_position_user_specified):
152 * frame-x.c (x_wm_set_shell_iconic_p):
153 * frame-x.c (x_wm_set_cell_size):
154 * frame-x.c (x_wm_set_variable_size):
155 * frame-x.c (x_wm_store_class_hints):
156 * frame-x.c (x_wm_maybe_store_wm_command):
157 * frame-x.c (x_initialize_frame_size):
158 * frame-x.c (x_update_frame_external_traits):
159 * frame.c:
160 * frame.c (delete_frame_internal):
161 * frame.c (mouse_pixel_position_1):
162 * frame.c (change_frame_size_1):
163 * free-hook.c (check_free):
164 * free-hook.c (check_realloc):
165 * free-hook.c (note_block_input):
166 * free-hook.c (log_gcpro):
167 * gccache-gtk.c (gc_cache_lookup):
168 * glyphs-eimage.c (tiff_memory_write):
169 * glyphs-gtk.c (gtk_finalize_image_instance):
170 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
171 * glyphs-gtk.c (init_image_instance_from_xbm_inline):
172 * glyphs-gtk.c (gtk_xpm_instantiate):
173 * glyphs-gtk.c (gtk_unmap_subwindow):
174 * glyphs-gtk.c (gtk_map_subwindow):
175 * glyphs-gtk.c (gtk_button_redisplay):
176 * glyphs-msw.c:
177 * glyphs-msw.c (init_image_instance_from_xbm_inline):
178 * glyphs-x.c (init_image_instance_from_xbm_inline):
179 * glyphs-x.c (extract_xpm_color_names):
180 * glyphs-x.c (x_xpm_instantiate):
181 * glyphs.c (get_image_instantiator_governing_domain):
182 * glyphs.c (print_image_instance):
183 * glyphs.c (image_instance_equal):
184 * glyphs.c (image_instance_hash):
185 * glyphs.c (encode_image_instance_type):
186 * glyphs.c (inherit_instantiate):
187 * glyphs.c (image_instantiate):
188 * glyphs.c (allocate_glyph):
189 * glyphs.c (Fglyph_type):
190 * glyphs.c (display_table_entry):
191 * gtk-glue.c (xemacs_list_to_gtklist):
192 * gtk-glue.c (xemacs_gtklist_to_list):
193 * gtk-glue.c (xemacs_list_to_array):
194 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
195 * gutter.c (gutter_was_visible):
196 * gutter.c (get_gutter_coords):
197 * input-method-xlib.c (get_XIM_input):
198 * insdel.c (move_gap):
199 * intl-win32.c (determine_code_page):
200 * intl-win32.c (mswindows_multibyte_to_unicode_getprop):
201 * intl-win32.c (mswindows_multibyte_convert):
202 * keymap.c (keymap_lookup_directly):
203 * keymap.c (keymap_delete_inverse_internal):
204 * keymap.c (ensure_meta_prefix_char_keymapp):
205 * keymap.c (accessible_keymaps_mapper_1):
206 * keymap.c (where_is_recursive_mapper):
207 * lisp.h:
208 * lisp.h (ABORT):
209 * lisp.h (assert):
210 * lread.c (read_atom):
211 * lstream.c (Lstream_delete):
212 * lstream.c (Lstream_really_write):
213 * lstream.c (make_lisp_buffer_stream_1):
214 * macros.c (pop_kbd_macro_event):
215 * malloc.c (malloc):
216 * malloc.c (free):
217 * menubar-gtk.c (menu_descriptor_to_widget_1):
218 * menubar-gtk.c (menu_create_menubar):
219 * menubar-msw.c (prune_menubar):
220 * menubar-x.c (set_frame_menubar):
221 * mule-coding.c (charset_by_attributes_or_create_one):
222 * mule-coding.c (parse_iso2022_esc):
223 * mule-coding.c (iso2022_encode):
224 * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
225 * number.c:
226 * number.c (get_number_type):
227 * objects-msw.c (mswindows_list_fonts):
228 * objects.c (color_instantiate):
229 * objects.c (font_instantiate):
230 * objects.c (face_boolean_instantiate):
231 * print.c (printing_major_badness):
232 * process-nt.c (nt_send_process):
233 * process-unix.c (unix_send_process):
234 * process.c (get_process):
235 * ralloc.c (obtain):
236 * ralloc.c (relinquish):
237 * ralloc.c (relocate_blocs):
238 * ralloc.c (resize_bloc):
239 * ralloc.c (r_alloc_free):
240 * ralloc.c (r_re_alloc):
241 * ralloc.c (r_alloc_thaw):
242 * ralloc.c (init_ralloc):
243 * ralloc.c (Free_Addr_Block):
244 * ralloc.c (r_alloc):
245 * rangetab.c (range_table_type_to_symbol):
246 * rangetab.c (print_range_table):
247 * rangetab.c (rangetab_instantiate):
248 * redisplay-gtk.c (gtk_output_display_block):
249 * redisplay-msw.c (mswindows_output_display_block):
250 * redisplay-output.c (get_next_display_block):
251 * redisplay-output.c (get_cursor_size_and_location):
252 * redisplay-output.c (redisplay_output_layout):
253 * redisplay-output.c (redisplay_clear_region):
254 * redisplay-tty.c (tty_output_display_block):
255 * redisplay-x.c (x_output_display_block):
256 * redisplay.c (add_propagation_runes):
257 * redisplay.c (add_glyph_rune):
258 * redisplay.c (add_margin_runes):
259 * redisplay.c (create_left_glyph_block):
260 * redisplay.c (create_right_glyph_block):
261 * redisplay.c (regenerate_window):
262 * redisplay.c (REGEN_INC_FIND_START_END):
263 * redisplay.c (point_in_line_start_cache):
264 * regex.c:
265 * regex.c (ABORT):
266 * regex.c (re_compile_fastmap):
267 * regex.c (re_match_2_internal):
268 * regex.c (regerror):
269 * scrollbar-gtk.c (gtk_scrollbar_loop):
270 * scrollbar-gtk.c (scrollbar_cb):
271 * scrollbar-x.c (x_update_scrollbar_instance_status):
272 * scrollbar-x.c (x_scrollbar_loop):
273 * search.c (search_command):
274 * search.c (Fmatch_data):
275 * select-x.c (motif_clipboard_cb):
276 * signal.c:
277 * signal.c (qxe_setitimer):
278 * signal.c (interrupt_signal):
279 * specifier.c (specifier_add_spec):
280 * specifier.c (specifier_instance):
281 * specifier.h:
282 * strftime.c (add_num_time_t):
283 * sunplay.c (init_device):
284 * symbols.c (do_symval_forwarding):
285 * symbols.c (store_symval_forwarding):
286 * symbols.c (Fset):
287 * symbols.c (Fbuilt_in_variable_type):
288 * symbols.c (handler_type_from_function_symbol):
289 * sysdep.c (init_baud_rate):
290 * sysproc.h:
291 * text.c:
292 * text.c (charbpos_to_bytebpos_func):
293 * text.c (bytebpos_to_charbpos_func):
294 * text.c (new_dfc_convert_now_damn_it):
295 * text.h:
296 * toolbar-common.c (__INTERNAL_MAPPED_P):
297 * toolbar-common.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
298 * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
299 * toolbar.c (get_toolbar_coords):
300 * ui-gtk.c (build_gtk_boxed):
301 * ui-gtk.c (describe_gtk_arg):
302 * ui-gtk.c (gtk_type_to_lisp):
303 * ui-gtk.c (lisp_to_gtk_type):
304 * ui-gtk.c (lisp_to_gtk_ret_type):
305 * ui-gtk.c (lisp_to_flag):
306 * unexnt.c (read_in_bss):
307 * unexnt.c (map_in_heap):
308 * unicode.c:
309 * unicode.c (create_new_from_unicode_table):
310 * unicode.c (sledgehammer_check_from_table):
311 * unicode.c (sledgehammer_check_to_table):
312 * unicode.c (set_unicode_conversion):
313 * unicode.c (unicode_to_ichar):
314 * unicode.c (encode_unicode_char_1):
315 * unicode.c (unicode_convert):
316 * unicode.c (unicode_getprop):
317 * win32.c (mswindows_lisp_error_1):
318 * window.c (real_window):
319 * window.c (window_display_lines):
320 * window.c (window_display_buffer):
321 * window.c (set_window_display_buffer):
322 * window.c (unshow_buffer):
323 * window.c (window_loop):
324 * window.c (Fget_lru_window):
325 * xgccache.c (gc_cache_lookup):
326 * s/windowsnt.h:
327
328 abort() -> ABORT(). Eliminate preprocessor games with abort()
329 since it creates huge problems in VC7, solvable only by including
330 massive amounts of files in every compile (and not worth it).
331
1 2005-01-21 Robert Royar <xemacs@frinabulax.org> 332 2005-01-21 Robert Royar <xemacs@frinabulax.org>
2 333
3 * database.c: Repair typo in NetBSD fix. 334 * database.c: Repair typo in NetBSD fix.
4 335
5 2005-01-21 Malcolm Purvis <malcolmp@xemacs.org> 336 2005-01-21 Malcolm Purvis <malcolmp@xemacs.org>