comparison src/ChangeLog @ 1315:70921960b980

[xemacs-hg @ 2003-02-20 08:19:28 by ben] check in makefile fixes et al Makefile.in.in: Major surgery. Move all stuff related to building anything in the src/ directory into src/. Simplify the dependencies -- everything in src/ is dependent on the single entry `src' in MAKE_SUBDIRS. Remove weirdo targets like `all-elc[s]', dump-elc[s], etc. mule/mule-msw-init.el: Removed. Delete this file. mule/mule-win32-init.el: New file, with stuff from mule-msw-init.el -- not just for MS Windows native, boys and girls! bytecomp.el: Change code inserted to catch trying to load a Mule-only .elc file in a non-Mule XEmacs. Formerly you got the rather cryptic "The required feature `mule' cannot be provided". Now you get "Loading this file requires Mule support". finder.el: Remove dependency on which directory this function is invoked from. update-elc.el: Don't mess around with ../src/BYTECOMPILE_CHANGE. Now that Makefile.in.in and xemacs.mak are in sync, both of them use NEEDTODUMP and the other one isn't used. dumped-lisp.el: Rewrite in terms of `list' and `nconc' instead of assemble-list, so we can have arbitrary forms, not just `when-feature'. very-early-lisp.el: Nuke this file. finder-inf.el, packages.el, update-elc.el, update-elc-2.el, loadup.el, make-docfile.el: Eliminate references to very-early-lisp. msw-glyphs.el: Comment clarification. xemacs.mak: Add macros DO_TEMACS, DO_XEMACS, and a few others; this macro section is now completely in sync with src/Makefile.in.in. Copy check-features, load-shadows, and rebuilding finder-inf.el from src/Makefile.in.in. The main build/dump/recompile process is now synchronized with src/Makefile.in.in. Change `WARNING' to `NOTE' and `error checking' to `error-checking' TO avoid tripping faux warnings and errors in the VC++ IDE. Makefile.in.in: Major surgery. Move all stuff related to building anything in the src/ directory from top-level Makefile.in.in to here. Simplify the dependencies. Rearrange into logical subsections. Synchronize the main compile/dump/build-elcs section with xemacs.mak, which is already clean and in good working order. Remove weirdo targets like `all-elc[s]', dump-elc[s], etc. Add additional levels of macros \(e.g. DO_TEMACS, DO_XEMACS, TEMACS_BATCH, XEMACS_BATCH, XEMACS_BATCH_PACKAGES) to factor out duplicated stuff. Clean up handling of "HEAP_IN_DATA" (Cygwin) so it doesn't need to ignore the return value from dumping. Add .NO_PARALLEL since various aspects of building and dumping must be serialized but do not always have dependencies between them (this is impossible in some cases). Everything related to src/ now gets built in one pass in this directory by just running `make' (except the Makefiles themselves and config.h, paths.h, Emacs.ad.h, and other generated .h files). console.c: Update list of possibly valid console types. emacs.c: Rationalize the specifying and handling of the type of the first frame. This was originally prompted by a workspace in which I got GTK to compile under C++ and in the process fixed it so it could coexist with X in the same build -- hence, a combined TTY/X/MS-Windows/GTK build is now possible under Cygwin. (However, you can't simultaneously *display* more than one kind of device connection -- but getting that to work is not that difficult. Perhaps a project for a bored grad student. I (ben) would do it but don't see the use.) To make sense of this, I added new switches that can be used to specifically indicate the window system: -x [aka --use-x], -tty \[aka --use-tty], -msw [aka --use-ms-windows], -gtk [aka --use-gtk], and -gnome [aka --use-gnome, same as --use-gtk]. -nw continues as an alias for -tty. When none have been given, XEmacs checks for other parameters implying particular device types (-t -> tty, -display -> x [or should it have same treatment as DISPLAY below?]), and has ad-hoc logic afterwards: if env var DISPLAY is set, use x (or gtk? perhaps should check whether gnome is running), else MS Windows if it exsits, else TTY if it exists, else stream, and you must be running in batch mode. This also fixes an existing bug whereby compiling with no x, no mswin, no tty, when running non- interactively (e.g. to dump) I get "sorry, must have TTY support". emacs.c: Turn on Vstack_trace_on_error so that errors are debuggable even when occurring extremely early in reinitialization. emacs.c: Try to make sure that the user can see message output under Windows (i.e. it doesn't just disappear right away) regardless of when it occurs, e.g. in the middle of creating the first frame. emacs.c: Define new function `emacs-run-status', indicating whether XEmacs is noninteractive or interactive, whether raw, post-dump/pdump-load or run-temacs, whether we are dumping, whether pdump is in effect. event-stream.c: It's "mommas are fat", not "momas are fat". Fix other typo. event-stream.c: Conditionalize in_menu_callback check on HAVE_MENUBARS, because it won't exist on w/o menubar support, lisp.h: More hackery on RETURN_NOT_REACHED. Cygwin v3.2 DOES complain here if RETURN_NOT_REACHED() is blank, as it is for GCC 2.5+. So make it blank only for GCC 2.5 through 2.999999999999999. Declare Vstack_trace_on_error. profile.c: Need to include "profile.h" to fix warnings. sheap.c: Don't fatal() when need to rerun Make, just stderr_out() and exit(0). That way we can distinguish between a dumping failing expectedly (due to lack of stack space, triggering another dump) and unexpectedly, in which case, we want to stop building. (or go on, if -K is given) syntax.c, syntax.h: Use ints where they belong, and enum syntaxcode's where they belong, and fix warnings thereby. syntax.h: Fix crash caused by an edge condition in the syntax-cache macros. text.h: Spacing fixes. xmotif.h: New file, to get around shadowing warnings. EmacsManager.c, event-Xt.c, glyphs-x.c, gui-x.c, input-method-motif.c, xmmanagerp.h, xmprimitivep.h: Include xmotif.h. alloc.c: Conditionalize in_malloc on ERROR_CHECK_MALLOC. config.h.in, file-coding.h, fileio.c, getloadavg.c, select-x.c, signal.c, sysdep.c, sysfile.h, systime.h, text.c, unicode.c: Eliminate HAVE_WIN32_CODING_SYSTEMS, use WIN32_ANY instead. Replace defined (WIN32_NATIVE) || defined (CYGWIN) with WIN32_ANY. lisp.h: More futile attempts to walk and chew gum at the same time when dealing with subr's that don't return.
author ben
date Thu, 20 Feb 2003 08:19:44 +0000
parents 671b65f2b075
children b531bf8658e9
comparison
equal deleted inserted replaced
1314:15a91d7ae2d1 1315:70921960b980
1 2003-02-19 Ben Wing <ben@xemacs.org>
2
3 * Makefile.in.in (all): New.
4 * Makefile.in.in (EXE_TARGET):
5 * Makefile.in.in (X11_libs):
6 * Makefile.in.in (external_widget_objs):
7 * Makefile.in.in (other_files):
8 * Makefile.in.in (extw_link_beg): Removed.
9 * Makefile.in.in (mo_file):
10 * Makefile.in.in (extw_link_mid): Removed.
11 * Makefile.in.in (extw_link_end): Removed.
12 * Makefile.in.in (temacs_loadup): Removed.
13 * Makefile.in.in (run_temacs): Removed.
14 * Makefile.in.in (dump_temacs):
15 * Makefile.in.in (DO_TEMACS): New.
16 * Makefile.in.in (DO_XEMACS): New.
17 * Makefile.in.in (debug_temacs):
18 * Makefile.in.in (LISP): New.
19 * Makefile.in.in (BATCH): New.
20 * Makefile.in.in (BATCH_PACKAGES): New.
21 * Makefile.in.in (TEMACS_BATCH): New.
22 * Makefile.in.in (XEMACS_BATCH): New.
23 * Makefile.in.in (XEMACS_BATCH_PACKAGES): New.
24 * Makefile.in.in (temacs_loadup_args): New.
25 * Makefile.in.in (dump_temacs_args): New.
26 * Makefile.in.in (run_temacs_args): New.
27 * Makefile.in.in (release):
28 * Makefile.in.in (build-the-mofo): New.
29 * Makefile.in.in (update-elc): New.
30 * Makefile.in.in (update-elc-2): New.
31 * Makefile.in.in (load-shadows): New.
32 * Makefile.in.in (NEEDTODUMP): New.
33 * Makefile.in.in (obj_src):
34 * Makefile.in.in (FRC.update-elc.stamp): Removed.
35 * Makefile.in.in (update-elc.stamp): Removed.
36 * Makefile.in.in (dortl): Removed.
37 * Makefile.in.in (link_deps): New.
38 * Makefile.in.in (temacs_deps): New.
39 * Makefile.in.in (temacs_link_args): New.
40 * Makefile.in.in (dump-id.c): New.
41 * Makefile.in.in (TopLevelEmacsShell.o):
42 * Makefile.in.in (LINT.c): Removed.
43 * Makefile.in.in (LINTFILES): Removed.
44 * Makefile.in.in (LINTINCLUDES): Removed.
45 * Makefile.in.in (LINTFLAGS): Removed.
46 * Makefile.in.in (lint): Removed.
47 * Makefile.in.in (dump_elcs): Removed.
48 * Makefile.in.in (all-elc): New.
49 * Makefile.in.in (dump-elcs): Removed.
50 * Makefile.in.in (run-temacs): Removed.
51 * Makefile.in.in (testdir): Removed.
52 * Makefile.in.in (batch_test_emacs): Removed.
53 * Makefile.in.in (check-temacs): Removed.
54 * Makefile.in.in (rtc_patch.o): Removed.
55 * Makefile.in.in (rtcmacs): Removed.
56 * Makefile.in.in (run-rtcmacs): Removed.
57 * Makefile.in.in (debug-temacs): Removed.
58 * Makefile.in.in (PURIFY_PROG): Removed.
59 * Makefile.in.in (PURIFY_LIBS): Removed.
60 * Makefile.in.in (PURIFY_FLAGS): Removed.
61 * Makefile.in.in (puremacs): Removed.
62 * Makefile.in.in (libextcli_Xlib.a):
63 * Makefile.in.in (QUANTIFY_PROG): Removed.
64 * Makefile.in.in (QUANTIFY_HOME): Removed.
65 * Makefile.in.in (QUANTIFY_FLAGS): Removed.
66 * Makefile.in.in (quantmacs): Removed.
67 * Makefile.in.in (PURECOV_PROG): Removed.
68 * Makefile.in.in (covmacs): Removed.
69 * Makefile.in.in (xemacs_res.o):
70 * Makefile.in.in (clean):
71
72 Major surgery. Move all stuff related to building anything in the
73 src/ directory from top-level Makefile.in.in to here. Simplify
74 the dependencies. Rearrange into logical subsections.
75 Synchronize the main compile/dump/build-elcs section with
76 xemacs.mak, which is already clean and in good working order.
77 Remove weirdo targets like `all-elc[s]', dump-elc[s], etc. Add
78 additional levels of macros \(e.g. DO_TEMACS, DO_XEMACS,
79 TEMACS_BATCH, XEMACS_BATCH, XEMACS_BATCH_PACKAGES) to factor out
80 duplicated stuff. Clean up handling of "HEAP_IN_DATA" (Cygwin) so
81 it doesn't need to ignore the return value from dumping. Add
82 .NO_PARALLEL since various aspects of building and dumping must be
83 serialized but do not always have dependencies between them
84 (this is impossible in some cases). Everything related to src/
85 now gets built in one pass in this directory by just running
86 `make' (except the Makefiles themselves and config.h, paths.h,
87 Emacs.ad.h, and other generated .h files).
88
89 * console.c (Fvalid_console_type_p):
90 Update list of possibly valid console types.
91
92 * emacs.c:
93 * emacs.c (check_compatible_window_system):
94 * emacs.c (main_1):
95 * emacs.c (standard_args):
96 * emacs.c (sort_args):
97 * emacs.c (main):
98 Rationalize the specifying and handling of the type of the first
99 frame. This was originally prompted by a workspace in which I got
100 GTK to compile under C++ and in the process fixed it so it could
101 coexist with X in the same build -- hence, a combined
102 TTY/X/MS-Windows/GTK build is now possible under Cygwin. (However,
103 you can't simultaneously *display* more than one kind of device
104 connection -- but getting that to work is not that difficult.
105 Perhaps a project for a bored grad student. I (ben) would do it
106 but don't see the use.) To make sense of this, I added new
107 switches that can be used to specifically indicate the window
108 system: -x [aka --use-x], -tty \[aka --use-tty], -msw [aka
109 --use-ms-windows], -gtk [aka --use-gtk], and -gnome [aka
110 --use-gnome, same as --use-gtk]. -nw continues as an alias for
111 -tty. When none have been given, XEmacs checks for other
112 parameters implying particular device types (-t -> tty, -display
113 -> x [or should it have same treatment as DISPLAY below?]), and
114 has ad-hoc logic afterwards: if env var DISPLAY is set, use x (or
115 gtk? perhaps should check whether gnome is running), else MS
116 Windows if it exsits, else TTY if it exists, else stream, and you
117 must be running in batch mode. This also fixes an existing bug
118 whereby compiling with no x, no mswin, no tty, when running non-
119 interactively (e.g. to dump) I get "sorry, must have TTY support".
120
121 * emacs.c (Frun_emacs_from_temacs):
122 Turn on Vstack_trace_on_error so that errors are debuggable even
123 when occurring extremely early in reinitialization.
124 * emacs.c (pause_so_user_can_read_messages):
125 Try to make sure that the user can see message output under
126 Windows (i.e. it doesn't just disappear right away) regardless of
127 when it occurs, e.g. in the middle of creating the first frame.
128 * emacs.c (Femacs_run_status):
129 * emacs.c (syms_of_emacs):
130 Define new function `emacs-run-status', indicating whether XEmacs
131 is noninteractive or interactive, whether raw,
132 post-dump/pdump-load or run-temacs, whether we are dumping,
133 whether pdump is in effect.
134
135 * event-stream.c:
136 It's "mommas are fat", not "momas are fat".
137 Fix other typo.
138 * event-stream.c (Fnext_event):
139 Conditionalize in_menu_callback check on HAVE_MENUBARS,
140 because it won't exist on w/o menubar support,
141
142 * lisp.h:
143 More hackery on RETURN_NOT_REACHED. Cygwin v3.2 DOES complain here
144 if RETURN_NOT_REACHED() is blank, as it is for GCC 2.5+. So make it
145 blank only for GCC 2.5 through 2.999999999999999.
146
147 Declare Vstack_trace_on_error.
148
149 * profile.c:
150 Need to include "profile.h" to fix warnings.
151
152 * sheap.c (report_sheap_usage):
153 Don't fatal() when need to rerun Make, just stderr_out() and exit(0).
154 That way we can distinguish between a dumping failing expectedly
155 (due to lack of stack space, triggering another dump) and unexpectedly,
156 in which case, we want to stop building. (or go on, if -K is given)
157 * syntax.c (Fmatching_paren):
158 * syntax.c (find_start_of_comment):
159 * syntax.h:
160 Use ints where they belong, and enum syntaxcode's where they belong,
161 and fix warnings thereby.
162
163 * syntax.h:
164 Fix crash caused by an edge condition in the syntax-cache macros.
165
166 * text.h:
167 * text.h (LISP_STRING_TO_ALLOCA):
168 * text.h (alloca_ibytes):
169 Spacing fixes.
170
171 * xmotif.h:
172 New file, to get around shadowing warnings.
173
174 * EmacsManager.c:
175 * event-Xt.c:
176 * glyphs-x.c:
177 * gui-x.c:
178 * input-method-motif.c:
179 * xmmanagerp.h:
180 * xmprimitivep.h:
181 Include xmotif.h.
182
183 * alloc.c:
184 Conditionalize in_malloc on ERROR_CHECK_MALLOC.
185
186 * config.h.in:
187 * file-coding.h:
188 * fileio.c:
189 * getloadavg.c (getloadavg):
190 * select-x.c:
191 * signal.c (qxe_setitimer):
192 * sysdep.c (total_data_usage):
193 * sysfile.h:
194 * systime.h:
195 * text.c (dfc_convert_to_external_format):
196 * text.c (dfc_convert_to_internal_format):
197 * unicode.c (dfc_coding_system_is_unicode):
198 Eliminate HAVE_WIN32_CODING_SYSTEMS, use WIN32_ANY instead.
199 Replace defined (WIN32_NATIVE) || defined (CYGWIN) with WIN32_ANY.
200
201 * lisp.h:
202 More futile attempts to walk and chew gum at the same time when
203 dealing with subr's that don't return.
204
1 2003-02-19 Ben Wing <ben@xemacs.org> 205 2003-02-19 Ben Wing <ben@xemacs.org>
2 206
3 * eval.c (unbind_to_hairy): 207 * eval.c (unbind_to_hairy):
4 Don't check_quit() unless we're unbinding a real Lisp 208 Don't check_quit() unless we're unbinding a real Lisp
5 `unwind-protect' since check_quit() does lots of weird things and 209 `unwind-protect' since check_quit() does lots of weird things and