comparison src/ChangeLog @ 4933:77e3b19bd245

merge
author Ben Wing <ben@xemacs.org>
date Sun, 24 Jan 2010 22:06:20 -0600
parents f730384b8ddf 8b63e21b0436
children 349f01075eb7
comparison
equal deleted inserted replaced
4883:f730384b8ddf 4933:77e3b19bd245
2 2
3 * number.c (Fnumerator, Fdenominator, Fcanonicalize_number): 3 * number.c (Fnumerator, Fdenominator, Fcanonicalize_number):
4 Be more careful to return integers in their canonical forms here, 4 Be more careful to return integers in their canonical forms here,
5 and to give the same answer all the time when treating a rational 5 and to give the same answer all the time when treating a rational
6 that is itself is an integer as a ratio. 6 that is itself is an integer as a ratio.
7
8 2010-01-24 Ben Wing <ben@xemacs.org>
9
10 * chartab.c (decode_char_table_range):
11 * extents.c (extent_fragment_update):
12 * objects-msw.c (initialize_font_instance):
13 * process.c (Fgetenv):
14 * redisplay-output.c (get_next_display_block):
15 Fix warnings about possible use of uninitialized vars.
16
17 * compiler.h:
18 * compiler.h (REGISTER):
19 * event-stream.c (is_scrollbar_event):
20 * window.c (window_scrollbar_width):
21 * window.c (window_scrollbar_height):
22 * window.c (window_left_window_gutter_width):
23 * window.c (window_right_window_gutter_width):
24 Add USED_IF_SCROLLBARS. Use it to fix warnings about unused
25 vars when --with-scrollbars=no.
26
27 * config.h.in:
28 Change comment to explain better why DECLARE_INLINE_HEADER
29 is needed.
30
31 * dialog-msw.c:
32 * emacs.c (SHEBANG_EXE_PROGNAME_LENGTH):
33 * emacs.c (main_1):
34 * event-msw.c (struct mswin_message_debug):
35 * event-msw.c (debug_output_mswin_message):
36 * font-mgr.c:
37 * font-mgr.c (Ffc_config_filename):
38 * glyphs-msw.c (struct):
39 * glyphs-msw.c (bitmap_table):
40 * glyphs-x.c (update_widget_face):
41 * intl-win32.c (struct lang_to_string):
42 * intl-win32.c (lang_to_string_table):
43 * nas.c:
44 * objects-xlike-inc.c:
45 * objects-xlike-inc.c (xft_find_charset_font):
46 * syswindows.h:
47 * win32.c (mswindows_output_last_error):
48 Fix g++ 4.3 complaints about implicit conversions of string
49 literals (const char *) to char *.
50
51 * lisp.h:
52 G++ 4.3 needs #include <limits> to avoid errors about min/max.
53
54 * lisp.h (disabled_assert_with_message):
55 Use disabled_assert* whenever asserts are disabled. Rewrite
56 disabled_assert* to avoid complaints about unused vars by
57 pretending to use the vars but casting them to (void).
58 Remove code that defined assert() weirdly if DEBUG_XEMACS but
59 not USE_ASSERTIONS -- configure sets USE_ASSERTIONS automatically
60 when DEBUG_XEMACS, and if the user has forced it off, then
61 so be it.
62
63 * lisp.h (SYMBOL_KEYWORD):
64 Put some of the combined `extern Lisp_Object's back under
65 the file they are declared in. Cosmetic fix.
66
67 * number.h:
68 Remove `extern Lisp_Object' decls that duplicate lisp.h,
69 since they have different C vs. C++ linkage.
70
71 2010-01-20 Ben Wing <ben@xemacs.org>
72
73 * lrecord.h:
74 * lrecord.h (enum lrecord_type):
75 * lrecord.h (struct lrecord_implementation):
76 Clean up description of finalizer methods. Clean up and expand
77 the long comment at the top of lrecord.h. Add a section about why
78 New-GC requires a bunch of new internal objects to be created (not
79 completely understood).
80
81 2010-01-20 Ben Wing <ben@xemacs.org>
82
83 * lisp.h:
84 Disable error-checking code in Dynarr_at and related lookup
85 functions. It leads to a crash in the glyph-cachels code under
86 Cygwin 1.7 and GCC 3.4.4. I assume this is a compiler bug since
87 the code in question doesn't (or shouldn't) modify anything.
88 Changing the code from inline to non-inline didn't help.
89
90 2010-01-19 Ben Wing <ben@xemacs.org>
91
92 * console-impl.h (struct console_methods):
93 * console-stream.c (stream_text_width):
94 * redisplay-msw.c (mswindows_output_string):
95 * redisplay-msw.c (mswindows_text_width):
96 * redisplay-tty.c (tty_text_width):
97 * redisplay-xlike-inc.c (XLIKE_text_width):
98 * redisplay-xlike-inc.c (XLIKE_output_string):
99 * redisplay.c:
100 * redisplay.c (redisplay_window_text_width_ichar_string):
101 * redisplay.c (redisplay_text_width_string):
102 Change the text_width method to take a window instead of a frame.
103 Needed for Unicode-internal.
104
105 2010-01-18 Ben Wing <ben@xemacs.org>
106
107 * redisplay-gtk.c:
108 * redisplay-gtk.c (gtk_bevel_area):
109 * redisplay-x.c:
110 * redisplay-x.c (THIS_IS_X):
111 * redisplay-xlike-inc.c:
112 * redisplay-xlike-inc.c (XLIKE_text_width_single_run):
113 * redisplay-xlike-inc.c (XLIKE_text_width):
114 * redisplay-xlike-inc.c (XLIKE_output_display_block):
115 * redisplay-xlike-inc.c (XLIKE_get_gc):
116 * redisplay-xlike-inc.c (XLIKE_output_string):
117 * redisplay-xlike-inc.c (XLIKE_OUTPUT_XLIKE_PIXMAP):
118 * redisplay-xlike-inc.c (XLIKE_output_pixmap):
119 * redisplay-xlike-inc.c (XLIKE_output_vertical_divider):
120 * redisplay-xlike-inc.c (XLIKE_output_blank):
121 * redisplay-xlike-inc.c (XLIKE_output_horizontal_line):
122 * redisplay-xlike-inc.c (XLIKE_clear_region):
123 * redisplay-xlike-inc.c (XLIKE_output_eol_cursor):
124 * redisplay-xlike-inc.c (XLIKE_clear_frame_window):
125 * redisplay-xlike-inc.c (XLIKE_clear_frame):
126 * redisplay-xlike-inc.c (XLIKE_flash):
127 * redisplay-xlike-inc.c (console_type_create_redisplay_XLIKE):
128 Move lots more code into redisplay-xlike-inc.c. Use macros to
129 isolate the code that differs among X vs. GTK, to reduce the need
130 for ifdefs in the middle of the code. Now, redisplay-x.c and
131 redisplay-gtk.c only contain a few functions whose implementation
132 is completely different from one to the other, or which are not
133 present at all in one of them.
134
135 GTK code not currently tested, but it has bitrotted somewhat
136 any. Doing this will help keep it less bitrotty.
137
138 * depend: Regenerate.
139
140 2010-01-18 Ben Wing <ben@xemacs.org>
141
142 * redisplay-xlike-inc.c:
143 * redisplay-xlike-inc.c (separate_textual_runs_nomule):
144 * redisplay-xlike-inc.c (separate_textual_runs_xft_nomule):
145 * redisplay-xlike-inc.c (separate_textual_runs_xft_mule):
146 * redisplay-xlike-inc.c (separate_textual_runs_mule):
147 Break separate_textual_runs_* functions from redisplay-x.c.
148 (Code in redisplay-gtk.c should have been identical but was
149 bit-rotted.)
150
151 * redisplay-gtk.c:
152 * redisplay-x.c:
153 Delete code, replace with include statement.
154
155 * depend: Regenerate.
156
157 2010-01-18 Ben Wing <ben@xemacs.org>
158
159 * lisp.h:
160 * print.c:
161 New variable `in_debug_print'.
162
163 * alloc.c:
164 * alloc.c (free_managed_lcrecord):
165 If gc_in_progress and in_debug_print, just return instead of
166 crashing. This only happens when the programmer calls debug_print()
167 or a variation inside of a debugger, and is probably already
168 diagnosing a crash.
169
170 * print.c (struct debug_bindings):
171 * print.c (debug_prin1_exit):
172 * print.c (debug_prin1):
173 At entrance, record the old value of in_debug_print in the
174 debug_bindings, set up an unwind-protect to restore the old value,
175 and set in_debug_print to 1. In the unwind-protect, restore the
176 old value.
177
178
179 2010-01-16 Ben Wing <ben@xemacs.org>
180
181 * win32.c (mswindows_read_link_1):
182 Conditionalize COM support on HAVE_MS_WINDOWS because otherwise we
183 haven't linked with the appropriate libraries.
184
185 2010-01-15 Ben Wing <ben@xemacs.org>
186
187 * doprnt.c (emacs_doprnt_1):
188 Cosmetic: Use Qunbound, not Qnil as second arg to call to
189 syntax_error() to get cleaner error message.
190
191 2010-01-15 Ben Wing <ben@xemacs.org>
192
193 * intl-encap-win32.c:
194 Add `review' lines for all functions seen in the headers that we
195 process but not yet associated with an encapsulation command.
196 These will cause an error to be signaled if these functions are
197 used.
198 * intl-auto-encap-win32.c:
199 * intl-auto-encap-win32.h:
200 Regenerate.
201
202 2010-01-15 Ben Wing <ben@xemacs.org>
203
204 * intl-auto-encap-win32.c:
205 * intl-auto-encap-win32.c (qxeExtractAssociatedIcon):
206 * intl-auto-encap-win32.c (qxeShellExecuteEx):
207 * intl-auto-encap-win32.c (qxeSHFileOperation):
208 * intl-auto-encap-win32.c (qxeSHQueryRecycleBin):
209 * intl-auto-encap-win32.c (qxeSHEmptyRecycleBin):
210 * intl-auto-encap-win32.c (qxeWNetAddConnection):
211 * intl-auto-encap-win32.c (qxeWNetAddConnection2):
212 * intl-auto-encap-win32.c (qxeWNetAddConnection3):
213 * intl-auto-encap-win32.c (qxeWNetCancelConnection):
214 * intl-auto-encap-win32.c (qxeWNetCancelConnection2):
215 * intl-auto-encap-win32.c (qxeWNetGetConnection):
216 * intl-auto-encap-win32.c (qxeWNetUseConnection):
217 * intl-auto-encap-win32.c (qxeWNetConnectionDialog1):
218 * intl-auto-encap-win32.c (qxeWNetDisconnectDialog1):
219 * intl-auto-encap-win32.c (qxeWNetOpenEnum):
220 * intl-auto-encap-win32.c (qxeWNetEnumResource):
221 * intl-auto-encap-win32.c (qxeWNetGetUniversalName):
222 * intl-auto-encap-win32.c (qxeWNetGetUser):
223 * intl-auto-encap-win32.c (qxeWNetGetProviderName):
224 * intl-auto-encap-win32.c (qxeWNetGetNetworkInformation):
225 * intl-auto-encap-win32.c (qxeWNetGetLastError):
226 * intl-auto-encap-win32.c (qxeMultinetGetConnectionPerformance):
227 * intl-auto-encap-win32.c (qxeAppendMenu):
228 * intl-auto-encap-win32.c (qxeCopyAcceleratorTable):
229 * intl-auto-encap-win32.c (qxeDlgDirSelectComboBoxEx):
230 * intl-auto-encap-win32.c (qxeEnumDesktops):
231 * intl-auto-encap-win32.c (qxeEnumWindowStations):
232 * intl-auto-encap-win32.c (qxeGetClassInfo):
233 * intl-auto-encap-win32.c (qxeGetClassLong):
234 * intl-auto-encap-win32.c (qxeGetClassName):
235 * intl-auto-encap-win32.c (qxeGetKeyboardLayoutName):
236 * intl-auto-encap-win32.c (qxeGetWindowLong):
237 * intl-auto-encap-win32.c (qxeGetUserObjectInformation):
238 * intl-auto-encap-win32.c (qxeGetWindowTextLength):
239 * intl-auto-encap-win32.c (qxeGrayString):
240 * intl-auto-encap-win32.c (qxeInsertMenu):
241 * intl-auto-encap-win32.c (qxeSetProp):
242 * intl-auto-encap-win32.c (qxeEnumICMProfiles):
243 * intl-auto-encap-win32.c (qxeExtTextOut):
244 * intl-auto-encap-win32.c (qxeSetICMProfile):
245 * intl-auto-encap-win32.c (qxeTextOut):
246 * intl-auto-encap-win32.c (qxeSHGetPathFromIDList):
247 * intl-auto-encap-win32.c (qxeFindText):
248 * intl-auto-encap-win32.c (qxeReplaceText):
249 * intl-auto-encap-win32.c (qxeImmInstallIME):
250 * intl-auto-encap-win32.c (qxeImmGetDescription):
251 * intl-auto-encap-win32.c (qxeImmGetIMEFileName):
252 * intl-auto-encap-win32.c (qxeImmGetCompositionString):
253 * intl-auto-encap-win32.c (qxeImmGetCandidateListCount):
254 * intl-auto-encap-win32.c (qxeImmGetCandidateList):
255 * intl-auto-encap-win32.c (qxeImmGetGuideLine):
256 * intl-auto-encap-win32.c (qxeImmConfigureIME):
257 * intl-auto-encap-win32.c (qxeImmEscape):
258 * intl-auto-encap-win32.c (qxeImmGetConversionList):
259 * intl-auto-encap-win32.c (qxeImmRegisterWord):
260 * intl-auto-encap-win32.c (qxeImmUnregisterWord):
261 * intl-auto-encap-win32.c (qxeImmEnumRegisterWord):
262 * intl-auto-encap-win32.c (qxesndPlaySound):
263 * intl-auto-encap-win32.c (qxePlaySound):
264 * intl-auto-encap-win32.c (qxewaveOutGetErrorText):
265 * intl-auto-encap-win32.c (qxewaveInGetErrorText):
266 * intl-auto-encap-win32.c (qxemidiOutGetErrorText):
267 * intl-auto-encap-win32.c (qxemidiInGetErrorText):
268 * intl-auto-encap-win32.c (qxemmioStringToFOURCC):
269 * intl-auto-encap-win32.c (qxemmioInstallIOProc):
270 * intl-auto-encap-win32.c (qxemmioOpen):
271 * intl-auto-encap-win32.c (qxemmioRename):
272 * intl-auto-encap-win32.c (qxemciSendCommand):
273 * intl-auto-encap-win32.c (qxemciSendString):
274 * intl-auto-encap-win32.c (qxemciGetDeviceID):
275 * intl-auto-encap-win32.c (qxemciGetErrorString):
276 * intl-auto-encap-win32.h:
277 * intl-auto-encap-win32.h (qxemciGetErrorString):
278 Regenerate these files from Cygwin headers.
279
280 * intl-encap-win32.c:
281 Bracket more functions in HAVE_MS_WINDOWS, to fix build problems
282 when building --with-msw=no on Cygwin.
283
284 Fixes for Cygwin headers:
285 -- Comment out IME.H, non-existent in Cygwin.
286 -- Make MessageBoxIndirect a `no' (don't encapsulate but generate
287 error if used) because it has a structure parameter that needs
288 to be A/W split but is declared as FOO*, and our parser can't
289 split this.
290
291 2010-01-15 Ben Wing <ben@xemacs.org>
292
293 * Makefile.in.in:
294 Build xemacs-export.o whenever we're on any Windows OS (WIN32_ANY)
295 instead of only when we build support for the GUI portion of
296 MS-Windows (HAVE_MS_WINDOWS).
297
298 Cosmetic: Use WIN32_ANY in place of equivalent
299 (WIN32_NATIVE or CYGWIN).
300
301 2010-01-15 Ben Wing <ben@xemacs.org>
302
303 * emacs.c:
304 * emacs.c (debug_can_access_memory):
305 When checking for bad memory, we need to read all bytes from memory;
306 try even harder to avoid the possibility that a super-optimizing
307 compiler will optimize away the memory reads.
308
309 2010-01-15 Ben Wing <ben@xemacs.org>
310
311 * syswindows.h (LOCAL_FILE_FORMAT_TO_TSTR):
312 * syswindows.h (LOCAL_FILE_FORMAT_TO_INTERNAL_MSWIN):
313 * syswindows.h (INTERNAL_MSWIN_TO_LOCAL_FILE_FORMAT):
314 Declare some temporary pointer variables const to avoid compile
315 errors under C++ and/or Visual Studio 6.
7 316
8 2010-01-17 Vin Shelton <acs@xemacs.org> 317 2010-01-17 Vin Shelton <acs@xemacs.org>
9 318
10 * fileio.c (check_writable): Remove cast from 2010-01-14 319 * fileio.c (check_writable): Remove cast from 2010-01-14
11 320