comparison src/ChangeLog @ 671:53ec80338ec1

[xemacs-hg @ 2001-10-01 12:47:10 by didierv] spurious htonl call fix
author didierv
date Mon, 01 Oct 2001 12:47:10 +0000
parents fdefd0186b75
children 685b588e92d8
comparison
equal deleted inserted replaced
670:12095b04a9b6 671:53ec80338ec1
1 2001-08-30 Daiki Ueno <ueno@unixuser.org>
2
3 * process-unix.c (unix_open_multicast_group): Remove too much
4 conversion between host and network byte order.
5
1 2001-09-19 Ben Wing <ben@xemacs.org> 6 2001-09-19 Ben Wing <ben@xemacs.org>
2 7
3 * abbrev.c (abbrev_match_mapper): 8 * abbrev.c (abbrev_match_mapper):
4 * abbrev.c (abbrev_oblookup): 9 * abbrev.c (abbrev_oblookup):
5 * abbrev.c (obarray_has_blank_p): 10 * abbrev.c (obarray_has_blank_p):
993 comparisons will yield wrong results. -Wsign-compare is turned 998 comparisons will yield wrong results. -Wsign-compare is turned
994 on specifically to catch this, but this tends to result in a 999 on specifically to catch this, but this tends to result in a
995 great number of warnings when mixing signed and unsigned, and 1000 great number of warnings when mixing signed and unsigned, and
996 the casts are annoying. More has been written on this 1001 the casts are annoying. More has been written on this
997 elsewhere. 1002 elsewhere.
998 1003
999 -- All such quantity types just mentioned boil down to EMACS_INT, 1004 -- All such quantity types just mentioned boil down to EMACS_INT,
1000 which is 32 bits on 32-bit machines and 64 bits on 64-bit 1005 which is 32 bits on 32-bit machines and 64 bits on 64-bit
1001 machines. This is guaranteed to be the same size as Lisp 1006 machines. This is guaranteed to be the same size as Lisp
1002 objects of type `int', and (as far as I can tell) of size_t 1007 objects of type `int', and (as far as I can tell) of size_t
1003 (unsigned!) and ssize_t. The only type below that is not an 1008 (unsigned!) and ssize_t. The only type below that is not an
1004 EMACS_INT is Hashcode, which is an unsigned value of the same 1009 EMACS_INT is Hashcode, which is an unsigned value of the same
1005 size as EMACS_INT. 1010 size as EMACS_INT.
1006 1011
1007 -- Type names should be relatively short (no more than 10 1012 -- Type names should be relatively short (no more than 10
1008 characters or so), with the first letter capitalized and no 1013 characters or so), with the first letter capitalized and no
1009 underscores if they can at all be avoided. 1014 underscores if they can at all be avoided.
1010 1015
1011 -- "count" == a zero-based measurement of some quantity. Includes 1016 -- "count" == a zero-based measurement of some quantity. Includes
1012 sizes, offsets, and indexes. 1017 sizes, offsets, and indexes.
1013 1018
1014 -- "bpos" == a one-based measurement of a position in a buffer. 1019 -- "bpos" == a one-based measurement of a position in a buffer.
1015 "Charbpos" and "Bytebpos" count text in the buffer, rather than 1020 "Charbpos" and "Bytebpos" count text in the buffer, rather than
1016 bytes in memory; thus Bytebpos does not directly correspond to 1021 bytes in memory; thus Bytebpos does not directly correspond to
1017 the memory representation. Use "Membpos" for this. 1022 the memory representation. Use "Membpos" for this.
1018 1023
1019 -- "Char" refers to internal-format characters, not to the C type 1024 -- "Char" refers to internal-format characters, not to the C type
1020 "char", which is really a byte. 1025 "char", which is really a byte.
1021 1026
1022 -- For the actual name changes, see the script below. 1027 -- For the actual name changes, see the script below.
1023 1028
1024 I ran the following script to do the conversion. (NOTE: This script 1029 I ran the following script to do the conversion. (NOTE: This script
1025 is idempotent. You can safely run it multiple times and it will 1030 is idempotent. You can safely run it multiple times and it will
1026 not screw up previous results -- in fact, it will do nothing if 1031 not screw up previous results -- in fact, it will do nothing if
1027 nothing has changed. Thus, it can be run repeatedly as necessary 1032 nothing has changed. Thus, it can be run repeatedly as necessary
1028 to handle patches coming in from old workspaces, or old branches.) 1033 to handle patches coming in from old workspaces, or old branches.)
1029 There are two tags, just before and just after the change: 1034 There are two tags, just before and just after the change:
1030 `pre-integral-type-rename' and `post-integral-type-rename'. When 1035 `pre-integral-type-rename' and `post-integral-type-rename'. When
1031 merging code from the main trunk into a branch, the best thing to 1036 merging code from the main trunk into a branch, the best thing to
1032 do is first merge up to `pre-integral-type-rename', then apply the 1037 do is first merge up to `pre-integral-type-rename', then apply the
1033 script and associated changes, then merge from 1038 script and associated changes, then merge from
1287 1292
1288 Some earlier comments about why the type must be signed: This MUST BE 1293 Some earlier comments about why the type must be signed: This MUST BE
1289 SIGNED, since it also is used in functions that return the number of 1294 SIGNED, since it also is used in functions that return the number of
1290 bytes actually read to or written from in an operation, and these 1295 bytes actually read to or written from in an operation, and these
1291 functions can return -1 to signal error. 1296 functions can return -1 to signal error.
1292 1297
1293 Note that the standard Unix read() and write() functions define the 1298 Note that the standard Unix read() and write() functions define the
1294 count going in as a size_t, which is UNSIGNED, and the count going 1299 count going in as a size_t, which is UNSIGNED, and the count going
1295 out as an ssize_t, which is SIGNED. This is a horrible design 1300 out as an ssize_t, which is SIGNED. This is a horrible design
1296 flaw. Not only is it highly likely to lead to logic errors when a 1301 flaw. Not only is it highly likely to lead to logic errors when a
1297 -1 gets interpreted as a large positive number, but operations are 1302 -1 gets interpreted as a large positive number, but operations are
1316 2001-09-17 Ben Wing <ben@xemacs.org> 1321 2001-09-17 Ben Wing <ben@xemacs.org>
1317 1322
1318 * fileio.c (normalize_filename): 1323 * fileio.c (normalize_filename):
1319 * fileio.c (Fexpand_file_name): 1324 * fileio.c (Fexpand_file_name):
1320 Fix various C++ compile errors in Andy's recent code. 1325 Fix various C++ compile errors in Andy's recent code.
1321 1326
1322 * callint.c (Fcall_interactively): 1327 * callint.c (Fcall_interactively):
1323 * editfns.c (Ftemp_directory): 1328 * editfns.c (Ftemp_directory):
1324 * editfns.c (Fuser_full_name): 1329 * editfns.c (Fuser_full_name):
1325 * emacs.c (argmatch): 1330 * emacs.c (argmatch):
1326 * lread.c (locate_file_map_suffixes): 1331 * lread.c (locate_file_map_suffixes):
1327 * redisplay-x.c (x_ring_bell): 1332 * redisplay-x.c (x_ring_bell):
1328 Fix sign-compare warnings. 1333 Fix sign-compare warnings.
1329 1334
1330 * scrollbar-msw.c: 1335 * scrollbar-msw.c:
1331 * scrollbar-msw.c (mswindows_handle_scrollbar_event): 1336 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
1332 Fix crash under MS Windows. See comment around line 223 for 1337 Fix crash under MS Windows. See comment around line 223 for
1333 explanation. 1338 explanation.
1334 1339
1832 necessary specifically to call an external API with such a 1837 necessary specifically to call an external API with such a
1833 parameter (we treat such parameters like Extbyte, and convert at 1838 parameter (we treat such parameters like Extbyte, and convert at
1834 the point of entry/exit); and (d) there's no reasonable 1839 the point of entry/exit); and (d) there's no reasonable
1835 possibility it will refer to a value greater than 2G, or if it 1840 possibility it will refer to a value greater than 2G, or if it
1836 could, other things in XEmacs would break. 1841 could, other things in XEmacs would break.
1837 1842
1838 Put parens around all sizeof args in case we decide to macro-ize 1843 Put parens around all sizeof args in case we decide to macro-ize
1839 this. (I don't think it's necessary. Now that we've turned 1844 this. (I don't think it's necessary. Now that we've turned
1840 sign-compare warnings back on, we will get warnings wherever the 1845 sign-compare warnings back on, we will get warnings wherever the
1841 unsigned return value of sizeof might cause problems. That's 1846 unsigned return value of sizeof might cause problems. That's
1842 what the warnings are for, after all.) 1847 what the warnings are for, after all.)
1931 * glyphs-eimage.c: 1936 * glyphs-eimage.c:
1932 * postgresql.h: 1937 * postgresql.h:
1933 * sysdir.h: 1938 * sysdir.h:
1934 Do some hackery to avoid shadowing warnings. 1939 Do some hackery to avoid shadowing warnings.
1935 1940
1936 * s\esix.h: 1941 * s\esix.h:
1937 * m\tad68k.h: 1942 * m\tad68k.h:
1938 Comment out redefinition of select (we don't have our own version 1943 Comment out redefinition of select (we don't have our own version
1939 anyway, and we play preprocessor games with select in sysdir.h). 1944 anyway, and we play preprocessor games with select in sysdir.h).
1940 1945
1941 2001-08-04 Adrian Aichner <adrian@xemacs.org> 1946 2001-08-04 Adrian Aichner <adrian@xemacs.org>
1999 --------------------------------------------------------------- 2004 ---------------------------------------------------------------
2000 2005
2001 * eval.c (Ffunction_min_args): 2006 * eval.c (Ffunction_min_args):
2002 * eval.c (Ffunction_max_args): 2007 * eval.c (Ffunction_max_args):
2003 Correct documentation. 2008 Correct documentation.
2004 2009
2005 * elhash.c (Fremhash): Doc correction. 2010 * elhash.c (Fremhash): Doc correction.
2006 2011
2007 --------------------------------------------------------------- 2012 ---------------------------------------------------------------
2008 LISP OBJECT CLEANUP: 2013 LISP OBJECT CLEANUP:
2009 --------------------------------------------------------------- 2014 ---------------------------------------------------------------
2010 2015
2011 * bytecode.h (wrap_compiled_function): 2016 * bytecode.h (wrap_compiled_function):
2085 understands inlines or automatically inlines those particular 2090 understands inlines or automatically inlines those particular
2086 functions. (And since people don't normally do their production 2091 functions. (And since people don't normally do their production
2087 builds on union, it doesn't matter.) 2092 builds on union, it doesn't matter.)
2088 2093
2089 Update the sample Lisp object definition in lrecord.h accordingly. 2094 Update the sample Lisp object definition in lrecord.h accordingly.
2090 2095
2091 * dumper.c (pdump_dump_root_objects): 2096 * dumper.c (pdump_dump_root_objects):
2092 * dumper.c (pdump_load_finish): 2097 * dumper.c (pdump_load_finish):
2093 Fix places in dumper that referenced wrap_object to reference 2098 Fix places in dumper that referenced wrap_object to reference
2094 its new name, wrap_pointer_1. 2099 its new name, wrap_pointer_1.
2095 2100
2155 structure in one of these objects, (3) Ensures consistent behavior 2160 structure in one of these objects, (3) Ensures consistent behavior
2156 wrt dead objects. 2161 wrt dead objects.
2157 2162
2158 * dialog-msw.c: 2163 * dialog-msw.c:
2159 Use internal_object_printer, since this object should not escape. 2164 Use internal_object_printer, since this object should not escape.
2160 2165
2161 --------------------------------------------------------------- 2166 ---------------------------------------------------------------
2162 FIXING A CRASH THAT I HIT ONCE (AND A RELATED BAD BEHAVIOR): 2167 FIXING A CRASH THAT I HIT ONCE (AND A RELATED BAD BEHAVIOR):
2163 --------------------------------------------------------------- 2168 ---------------------------------------------------------------
2164 2169
2165 * eval.c (unwind_to_catch): 2170 * eval.c (unwind_to_catch):
2172 (1) condition_case_unwind frees the conses sitting in the 2177 (1) condition_case_unwind frees the conses sitting in the
2173 catch->tag slot too quickly, resulting in a crash that I hit. 2178 catch->tag slot too quickly, resulting in a crash that I hit.
2174 (2) catches need to be unwound one at a time when calling 2179 (2) catches need to be unwound one at a time when calling
2175 unwind-protect code, rather than all at once at the end; otherwise, 2180 unwind-protect code, rather than all at once at the end; otherwise,
2176 incorrect behavior can result. (A comment shows exactly how.) 2181 incorrect behavior can result. (A comment shows exactly how.)
2177 2182
2178 * backtrace.h: 2183 * backtrace.h:
2179 Improve comment about FSF differences in the handler stack. 2184 Improve comment about FSF differences in the handler stack.
2180 2185
2181 --------------------------------------------------------------- 2186 ---------------------------------------------------------------
2182 FIXING A CRASH THAT I REPEATEDLY HIT WHEN USING THE MOUSE WHEEL 2187 FIXING A CRASH THAT I REPEATEDLY HIT WHEN USING THE MOUSE WHEEL
2189 window mirrors. Tracking the lifespan of window mirrors and 2194 window mirrors. Tracking the lifespan of window mirrors and
2190 scrollbar instances is extremely hard, and there may well be 2195 scrollbar instances is extremely hard, and there may well be
2191 lurking bugs where such objects are freed too soon. The only safe 2196 lurking bugs where such objects are freed too soon. The only safe
2192 way to fix these problems (and it fixes both problems at once) is 2197 way to fix these problems (and it fixes both problems at once) is
2193 to make both of these structures Lisp objects. 2198 to make both of these structures Lisp objects.
2194 2199
2195 * lrecord.h (lrecord_type): 2200 * lrecord.h (lrecord_type):
2196 * emacs.c (main_1): 2201 * emacs.c (main_1):
2197 * inline.c: 2202 * inline.c:
2198 * scrollbar-gtk.c (gtk_create_scrollbar_instance): 2203 * scrollbar-gtk.c (gtk_create_scrollbar_instance):
2199 * scrollbar-gtk.c (find_scrollbar_window_mirror): 2204 * scrollbar-gtk.c (find_scrollbar_window_mirror):
2258 2263
2259 NOTE: I also deleted an extremely questionable call to 2264 NOTE: I also deleted an extremely questionable call to
2260 update_frame_window_mirrors(). It was extremely questionable 2265 update_frame_window_mirrors(). It was extremely questionable
2261 before, and now totally impossible, since it will create 2266 before, and now totally impossible, since it will create
2262 Lisp objects during redisplay. 2267 Lisp objects during redisplay.
2263 2268
2264 * frame.c (mark_frame): 2269 * frame.c (mark_frame):
2265 Mark the scrollbar instances, which are now Lisp objects. 2270 Mark the scrollbar instances, which are now Lisp objects.
2266 Call mark_gutter() here, not in mark_redisplay(). 2271 Call mark_gutter() here, not in mark_redisplay().
2267 2272
2268 * gutter.c: 2273 * gutter.c:
2269 Update comments about correct marking. 2274 Update comments about correct marking.
2270 2275
2271 --------------------------------------------------------------- 2276 ---------------------------------------------------------------
2272 ISSUES BROUGHT UP BY MARTIN: 2277 ISSUES BROUGHT UP BY MARTIN:
2273 --------------------------------------------------------------- 2278 ---------------------------------------------------------------
2274 2279
2275 * buffer.h (DFC_C_STRING_ALLOCA_USE_CONVERTED_DATA): 2280 * buffer.h (DFC_C_STRING_ALLOCA_USE_CONVERTED_DATA):
2297 Undo Martin's type change. 2302 Undo Martin's type change.
2298 2303
2299 * signal.c (qxe_setitimer): 2304 * signal.c (qxe_setitimer):
2300 Fix problem identified by Martin with Linux and g++ due to 2305 Fix problem identified by Martin with Linux and g++ due to
2301 non-standard declaration of setitimer(). 2306 non-standard declaration of setitimer().
2302 2307
2303 * systime.h: 2308 * systime.h:
2304 Update the docs for "qxe_" to point out why making the 2309 Update the docs for "qxe_" to point out why making the
2305 encapsulation explicit is always the right way to go. (setitimer() 2310 encapsulation explicit is always the right way to go. (setitimer()
2306 itself serves as an example.) 2311 itself serves as an example.)
2307 2312
2329 2334
2330 2001-06-10 Ben Wing <ben@xemacs.org> 2335 2001-06-10 Ben Wing <ben@xemacs.org>
2331 2336
2332 2337
2333 ------ signal-code changes ------ 2338 ------ signal-code changes ------
2334 2339
2335 * data.c (init_data_very_early): 2340 * data.c (init_data_very_early):
2336 * device-tty.c (init_device_tty): 2341 * device-tty.c (init_device_tty):
2337 * emacs.c (fatal_error_signal): 2342 * emacs.c (fatal_error_signal):
2338 * emacs.c (memory_warning_signal): 2343 * emacs.c (memory_warning_signal):
2339 * floatfns.c (init_floatfns_very_early): 2344 * floatfns.c (init_floatfns_very_early):
2363 playing preprocessing games. 2368 playing preprocessing games.
2364 2369
2365 * fileio.c: 2370 * fileio.c:
2366 * sysdep.c (qxe_reliable_signal): 2371 * sysdep.c (qxe_reliable_signal):
2367 Rename sys_do_signal to qxe_reliable_signal. 2372 Rename sys_do_signal to qxe_reliable_signal.
2368 2373
2369 * signal.c (set_timeout_signal): 2374 * signal.c (set_timeout_signal):
2370 * process-unix.c (close_safely): 2375 * process-unix.c (close_safely):
2371 * profile.c (Fstart_profiling): 2376 * profile.c (Fstart_profiling):
2372 * profile.c (Fstop_profiling): 2377 * profile.c (Fstop_profiling):
2373 * signal.c (init_async_timeouts): 2378 * signal.c (init_async_timeouts):
2377 things under Cygwin. 2382 things under Cygwin.
2378 2383
2379 * nt.c (init_ntproc): 2384 * nt.c (init_ntproc):
2380 Eliminate term_ntproc(), which is blank; used as a SIGABRT handler, 2385 Eliminate term_ntproc(), which is blank; used as a SIGABRT handler,
2381 which was wrong anyway. 2386 which was wrong anyway.
2382 2387
2383 * nt.c: 2388 * nt.c:
2384 * win32.c: 2389 * win32.c:
2385 * win32.c (sigmask): 2390 * win32.c (sigmask):
2386 * win32.c (mswindows_sigset): 2391 * win32.c (mswindows_sigset):
2387 * win32.c (mswindows_sighold): 2392 * win32.c (mswindows_sighold):
2395 * s\cygwin32.h: 2400 * s\cygwin32.h:
2396 Define CYGWIN_BROKEN_SIGNALS. 2401 Define CYGWIN_BROKEN_SIGNALS.
2397 2402
2398 2403
2399 ------ other changes ------ 2404 ------ other changes ------
2400 2405
2401 * s\mingw32.h: 2406 * s\mingw32.h:
2402 Fix problems with NOT_C_CODE being in the wrong place and 2407 Fix problems with NOT_C_CODE being in the wrong place and
2403 excluding defines needed when building Makefile.in.in. 2408 excluding defines needed when building Makefile.in.in.
2404 2409
2405 * filelock.c: 2410 * filelock.c:
2406 * mule-canna.c: 2411 * mule-canna.c:
2407 * mule-canna.c (Fcanna_initialize): 2412 * mule-canna.c (Fcanna_initialize):
2408 * mule-canna.c (Fcanna_finalize): 2413 * mule-canna.c (Fcanna_finalize):
2409 * mule-ccl.c: 2414 * mule-ccl.c:
2453 * s\usg5-3.h: 2458 * s\usg5-3.h:
2454 * s\usg5-4.h: 2459 * s\usg5-4.h:
2455 * s\windowsnt.h: 2460 * s\windowsnt.h:
2456 * s\xenix.h: 2461 * s\xenix.h:
2457 Rename 'GNU Emacs' to XEmacs in the copyright and comments. 2462 Rename 'GNU Emacs' to XEmacs in the copyright and comments.
2458 2463
2459 * nas.c (NAS_LITTLE_ENDIAN): 2464 * nas.c (NAS_LITTLE_ENDIAN):
2460 * nas.c (XTOOLKIT): 2465 * nas.c (XTOOLKIT):
2461 * nas.c (nas_play_sound_file): 2466 * nas.c (nas_play_sound_file):
2462 * nas.c (nas_play_sound_data): 2467 * nas.c (nas_play_sound_data):
2463 * nas.c (CatchIoErrorAndJump): 2468 * nas.c (CatchIoErrorAndJump):
2470 2475
2471 2476
2472 2001-06-08 Ben Wing <ben@xemacs.org> 2477 2001-06-08 Ben Wing <ben@xemacs.org>
2473 2478
2474 ------ gc-in-window-procedure fixes ------ 2479 ------ gc-in-window-procedure fixes ------
2475 2480
2476 * alloc.c: 2481 * alloc.c:
2477 * alloc.c (struct post_gc_action): 2482 * alloc.c (struct post_gc_action):
2478 * alloc.c (register_post_gc_action): 2483 * alloc.c (register_post_gc_action):
2479 * alloc.c (run_post_gc_actions): 2484 * alloc.c (run_post_gc_actions):
2480 * alloc.c (garbage_collect_1): 2485 * alloc.c (garbage_collect_1):
2499 2504
2500 * redisplay.c (mark_redisplay): 2505 * redisplay.c (mark_redisplay):
2501 Add comment about the utter evilness of what's going down here. 2506 Add comment about the utter evilness of what's going down here.
2502 2507
2503 ------ cygwin setitimer fixes ------ 2508 ------ cygwin setitimer fixes ------
2504 2509
2505 * Makefile.in.in (sheap_objs): 2510 * Makefile.in.in (sheap_objs):
2506 * Makefile.in.in (profile_objs): 2511 * Makefile.in.in (profile_objs):
2507 * Makefile.in.in (objs): 2512 * Makefile.in.in (objs):
2508 Compile profile.c only when HAVE_SETITIMER. 2513 Compile profile.c only when HAVE_SETITIMER.
2509 2514
2510 * nt.c (mswindows_sigset): 2515 * nt.c (mswindows_sigset):
2511 * nt.c (mswindows_sighold): 2516 * nt.c (mswindows_sighold):
2512 * nt.c (mswindows_sigrelse): 2517 * nt.c (mswindows_sigrelse):
2513 * nt.c (mswindows_sigpause): 2518 * nt.c (mswindows_sigpause):
2514 * nt.c (mswindows_raise): 2519 * nt.c (mswindows_raise):
2515 * nt.c (close_file_data): 2520 * nt.c (close_file_data):
2516 Style fixes. 2521 Style fixes.
2517 2522
2518 * nt.c: 2523 * nt.c:
2519 Move setitimer() emulation to win32.c, because Cygwin needs it too. 2524 Move setitimer() emulation to win32.c, because Cygwin needs it too.
2520 2525
2521 * profile.c: 2526 * profile.c:
2522 * profile.c (Fstart_profiling): 2527 * profile.c (Fstart_profiling):
2523 * profile.c (Fstop_profiling): 2528 * profile.c (Fstop_profiling):
2524 Make sure we don't compile if no setitimer(). Use qxe_setitimer() 2529 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
2525 instead of just plain setitimer(). 2530 instead of just plain setitimer().
2526 2531
2527 * signal.c: 2532 * signal.c:
2528 * signal.c (set_one_shot_timer): 2533 * signal.c (set_one_shot_timer):
2529 * signal.c (alarm): 2534 * signal.c (alarm):
2530 Define qxe_setitimer() as an encapsulation around setitimer() -- 2535 Define qxe_setitimer() as an encapsulation around setitimer() --
2531 call setitimer() directly unless Cygwin or MS Win, in which case 2536 call setitimer() directly unless Cygwin or MS Win, in which case
2532 we use our simulated version in win32.c. 2537 we use our simulated version in win32.c.
2533 2538
2534 * systime.h: 2539 * systime.h:
2535 * systime.h (struct itimerval): 2540 * systime.h (struct itimerval):
2536 * systime.h (ITIMER_REAL): 2541 * systime.h (ITIMER_REAL):
2537 Prototype mswindows_setitimer() and qxe_setitimer(). Long 2542 Prototype mswindows_setitimer() and qxe_setitimer(). Long
2538 comment about "qxe" and the policy regarding encapsulation. 2543 comment about "qxe" and the policy regarding encapsulation.
2548 using either mswindows_raise() or (on Cygwin) kill(). If for 2553 using either mswindows_raise() or (on Cygwin) kill(). If for
2549 some reason we are still getting lockups, we'll change the kill() 2554 some reason we are still getting lockups, we'll change the kill()
2550 to directly invoke the signal handlers. 2555 to directly invoke the signal handlers.
2551 2556
2552 ------ windows shell fixes ------ 2557 ------ windows shell fixes ------
2553 2558
2554 * callproc.c: 2559 * callproc.c:
2555 * ntproc.c: 2560 * ntproc.c:
2556 Comments about how these two files must die. 2561 Comments about how these two files must die.
2557 2562
2558 * callproc.c (init_callproc): 2563 * callproc.c (init_callproc):
2559 On MS Windows, init shell-file-name from SHELL, then COMSPEC, 2564 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
2560 not just COMSPEC. (more correct and closer to FSF.) Don't 2565 not just COMSPEC. (more correct and closer to FSF.) Don't
2561 force a value for SHELL into the environment. (Comments added 2566 force a value for SHELL into the environment. (Comments added
2562 to explain why not.) 2567 to explain why not.)
2563 2568
2564 * nt.c (init_user_info): 2569 * nt.c (init_user_info):
2565 Don't shove a fabricated SHELL into the environment. See above. 2570 Don't shove a fabricated SHELL into the environment. See above.
2566 2571
2567 ------ misc fixes ------ 2572 ------ misc fixes ------
2568 2573
2569 * glyphs-shared.c (read_bitmap_data): static. 2574 * glyphs-shared.c (read_bitmap_data): static.
2570 * glyphs-shared.c (read_bitmap_data_from_file): 2575 * glyphs-shared.c (read_bitmap_data_from_file):
2571 Style correction. 2576 Style correction.
2572 2577
2573 2578
2574 2579
2575 2001-06-06 Ben Wing <ben@xemacs.org> 2580 2001-06-06 Ben Wing <ben@xemacs.org>
2576 2581
2577 * emodules.c (emodules_load): 2582 * emodules.c (emodules_load):
2578 * tooltalk.c (check_status): 2583 * tooltalk.c (check_status):
2641 * eval.c (warn_when_safe): 2646 * eval.c (warn_when_safe):
2642 * fileio.c (report_file_type_error): 2647 * fileio.c (report_file_type_error):
2643 * fileio.c (report_error_with_errno): 2648 * fileio.c (report_error_with_errno):
2644 * fileio.c (report_file_error): 2649 * fileio.c (report_file_error):
2645 Use CBufbyte instead of char for error/warning functions. 2650 Use CBufbyte instead of char for error/warning functions.
2646 2651
2647 * linuxplay.c: 2652 * linuxplay.c:
2648 * linuxplay.c (DONT_ENCAPSULATE): 2653 * linuxplay.c (DONT_ENCAPSULATE):
2649 * miscplay.c: 2654 * miscplay.c:
2650 * miscplay.c (DONT_ENCAPSULATE): 2655 * miscplay.c (DONT_ENCAPSULATE):
2651 * sgiplay.c: 2656 * sgiplay.c:
2658 * sgiplay.c (play_sound_data): 2663 * sgiplay.c (play_sound_data):
2659 * sgiplay.c (play_internal): 2664 * sgiplay.c (play_internal):
2660 Put back #include <audio.h> accidentally removed. 2665 Put back #include <audio.h> accidentally removed.
2661 Make play_sound_data return an int, like all other 2666 Make play_sound_data return an int, like all other
2662 such functions in *play.c. 2667 such functions in *play.c.
2663 2668
2664 * sound.c: 2669 * sound.c:
2665 Fix up documentation of `play-sound'. 2670 Fix up documentation of `play-sound'.
2666 2671
2667 * sysfile.h: 2672 * sysfile.h:
2668 Don't include sys/fcntl.h, as per Martin's advice. 2673 Don't include sys/fcntl.h, as per Martin's advice.
2669 2674
2670 2675
2671 2001-06-04 William M. Perry <wmperry@gnu.org> 2676 2001-06-04 William M. Perry <wmperry@gnu.org>
2672 2677
2673 * gpmevent.c (KG_CTRL): Just define these unconditionally. The 2678 * gpmevent.c (KG_CTRL): Just define these unconditionally. The
2674 linux headers are so lame that they do not expose these to 2679 linux headers are so lame that they do not expose these to
2747 * event-msw.c (debug_mswin_messages): 2752 * event-msw.c (debug_mswin_messages):
2748 * event-msw.c (debug_output_mswin_message): 2753 * event-msw.c (debug_output_mswin_message):
2749 * event-msw.c (vars_of_event_mswindows): 2754 * event-msw.c (vars_of_event_mswindows):
2750 Fix yet more problems with C-g handling. 2755 Fix yet more problems with C-g handling.
2751 Implement debug-mswindows-events. 2756 Implement debug-mswindows-events.
2752 2757
2753 For 21.5: 2758 For 21.5:
2754 2759
2755 * event-stream.c: 2760 * event-stream.c:
2756 * event-stream.c (add_low_level_timeout): 2761 * event-stream.c (add_low_level_timeout):
2757 * event-stream.c (event_stream_generate_wakeup): 2762 * event-stream.c (event_stream_generate_wakeup):
2758 * event-stream.c (event_stream_resignal_wakeup): 2763 * event-stream.c (event_stream_resignal_wakeup):
2759 * event-stream.c (event_stream_disable_wakeup): 2764 * event-stream.c (event_stream_disable_wakeup):
2810 Eliminate UChar, which is not used anywhere and contributes 2815 Eliminate UChar, which is not used anywhere and contributes
2811 no semantic info. Add a comment about the documentation-only 2816 no semantic info. Add a comment about the documentation-only
2812 properties of the char/unsigned char typedefs. Add 2817 properties of the char/unsigned char typedefs. Add
2813 SChar_Binary as an explicitly `signed' version of Char_Binary 2818 SChar_Binary as an explicitly `signed' version of Char_Binary
2814 and put back the `signed' declarations in miscplay.c. 2819 and put back the `signed' declarations in miscplay.c.
2815 2820
2816 * alloc.c (build_string): 2821 * alloc.c (build_string):
2817 * alloc.c (build_ext_string): 2822 * alloc.c (build_ext_string):
2818 * alloc.c (build_translated_string): 2823 * alloc.c (build_translated_string):
2819 Use char typedefs. 2824 Use char typedefs.
2820 2825
2894 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters. 2899 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
2895 2900
2896 2001-05-29 Mike Alexander <mta@arbortext.com> 2901 2001-05-29 Mike Alexander <mta@arbortext.com>
2897 2902
2898 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap 2903 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
2899 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT 2904 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
2900 2905
2901 2001-05-26 Ben Wing <ben@xemacs.org> 2906 2001-05-26 Ben Wing <ben@xemacs.org>
2902 2907
2903 * buffer.c: 2908 * buffer.c:
2904 * buffer.c (syms_of_buffer): 2909 * buffer.c (syms_of_buffer):
4069 get C-g support. 4074 get C-g support.
4070 4075
4071 2001-05-23 Ben Wing <ben@xemacs.org> 4076 2001-05-23 Ben Wing <ben@xemacs.org>
4072 4077
4073 for 21.4: 4078 for 21.4:
4074 4079
4075 * device-msw.c (msprinter_init_device): 4080 * device-msw.c (msprinter_init_device):
4076 signal an error rather than crash with an unavailable network 4081 signal an error rather than crash with an unavailable network
4077 printer (from Mike Alexander). 4082 printer (from Mike Alexander).
4078 4083
4079 * event-msw.c: 4084 * event-msw.c:
4080 * event-msw.c (struct winsock_stream): 4085 * event-msw.c (struct winsock_stream):
4081 * event-msw.c (winsock_writer): 4086 * event-msw.c (winsock_writer):
4082 * event-msw.c (winsock_closer): 4087 * event-msw.c (winsock_closer):
4083 * event-msw.c (make_winsock_stream_1): 4088 * event-msw.c (make_winsock_stream_1):
4091 following the filename, the pointer was set *past* the end of 4096 following the filename, the pointer was set *past* the end of
4092 file and we started reading from uninitialized memory. Now we 4097 file and we started reading from uninitialized memory. Now we
4093 simply treat these as files, always. 4098 simply treat these as files, always.
4094 4099
4095 optionally for 21.4 (doc fix): 4100 optionally for 21.4 (doc fix):
4096 4101
4097 * lread.c (pas_de_holgazan_ici): 4102 * lread.c (pas_de_holgazan_ici):
4098 * lread.c (load_force_doc_string_unwind): 4103 * lread.c (load_force_doc_string_unwind):
4099 cambia de pas_de_lache_ici -- al minimo usa la palabra certa. 4104 cambia de pas_de_lache_ici -- al minimo usa la palabra certa.
4100 4105
4101 for 21.5: 4106 for 21.5:
4102 4107
4103 * frame.c (restore_frame_list_to_its_unbesmirched_state): 4108 * frame.c (restore_frame_list_to_its_unbesmirched_state):
4104 fix warnings. 4109 fix warnings.
4105 4110
4106 * emacs.c (make_arg_list_1): 4111 * emacs.c (make_arg_list_1):
4107 * nt.c (win32_get_long_filename): 4112 * nt.c (win32_get_long_filename):
4108 * nt.c (init_environment): 4113 * nt.c (init_environment):
4109 * nt.c (GetCachedVolumeInformation): 4114 * nt.c (GetCachedVolumeInformation):
4110 * nt.c (get_volume_info): 4115 * nt.c (get_volume_info):
4118 * unexnt.c: 4123 * unexnt.c:
4119 * unexnt.c (_start): 4124 * unexnt.c (_start):
4120 * unexnt.c (unexec): 4125 * unexnt.c (unexec):
4121 * unexnt.c (get_bss_info_from_map_file): 4126 * unexnt.c (get_bss_info_from_map_file):
4122 rename MAX_PATH to standard PATH_MAX. 4127 rename MAX_PATH to standard PATH_MAX.
4123 4128
4124 * process-nt.c: 4129 * process-nt.c:
4125 * realpath.c: 4130 * realpath.c:
4126 cleanup headers. 4131 cleanup headers.
4127 4132
4128 * process-unix.c (get_internet_address): 4133 * process-unix.c (get_internet_address):
4129 * sysdep.c (init_system_name): 4134 * sysdep.c (init_system_name):
4130 * systime.h: 4135 * systime.h:
4131 * syswindows.h: 4136 * syswindows.h:
4132 kill BROKEN_CYGWIN and support for way old beta versions of cygwin. 4137 kill BROKEN_CYGWIN and support for way old beta versions of cygwin.
4133 4138
4134 * sysfile.h: 4139 * sysfile.h:
4135 use _MAX_PATH (Windows) preferentially for PATH_MAX if defined. 4140 use _MAX_PATH (Windows) preferentially for PATH_MAX if defined.
4136 include io.h on Cygwin (we need get_osfhandle()). include 4141 include io.h on Cygwin (we need get_osfhandle()). include
4137 sys/fcntl.h always, since we were including it in various 4142 sys/fcntl.h always, since we were including it in various
4138 header files anyway. 4143 header files anyway.
4139 4144
4140 * unexcw.c: 4145 * unexcw.c:
4141 * unexcw.c (DONT_ENCAPSULATE): 4146 * unexcw.c (DONT_ENCAPSULATE):
4142 * unexcw.c (CHECK_AOUT_POS): 4147 * unexcw.c (CHECK_AOUT_POS):
4143 * unexcw.c (unexec): 4148 * unexcw.c (unexec):
4144 * unexcw.c (get_section_info): 4149 * unexcw.c (get_section_info):
4147 * unexcw.c (write_int_to_bss): 4152 * unexcw.c (write_int_to_bss):
4148 fix up style to conform to standard. remove duplicate definition 4153 fix up style to conform to standard. remove duplicate definition
4149 of PERROR. 4154 of PERROR.
4150 4155
4151 * buffer.c (common_init_complex_vars_of_buffer): comment change. 4156 * buffer.c (common_init_complex_vars_of_buffer): comment change.
4152 4157
4153 * database.c: 4158 * database.c:
4154 * debug.h (struct debug_classes): 4159 * debug.h (struct debug_classes):
4155 * device-tty.c: 4160 * device-tty.c:
4156 * dired-msw.c: 4161 * dired-msw.c:
4157 * dired-msw.c (mswindows_sortby): 4162 * dired-msw.c (mswindows_sortby):
4220 * scrollbar-msw.c (mswindows_handle_scrollbar_event): 4225 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
4221 * event-msw.c: 4226 * event-msw.c:
4222 * event-msw.c (mswindows_find_frame): 4227 * event-msw.c (mswindows_find_frame):
4223 we might receive scrollbar events on windows without scrollbars 4228 we might receive scrollbar events on windows without scrollbars
4224 (e.g. holding down and moving the wheel button). 4229 (e.g. holding down and moving the wheel button).
4225 4230
4226 * dired.c (user_name_completion): win9x support. 4231 * dired.c (user_name_completion): win9x support.
4227 4232
4228 * eval.c: doc comment about gcpro'ing in record_unwind_protect. 4233 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
4229 4234
4230 * frame-msw.c (msprinter_init_frame_3): typo. 4235 * frame-msw.c (msprinter_init_frame_3): typo.
4231 4236
4232 * frame.c: 4237 * frame.c:
4233 * frame.c (restore_frame_list_to_its_unbesmirched_state): 4238 * frame.c (restore_frame_list_to_its_unbesmirched_state):
4234 * frame.c (Fmake_frame): 4239 * frame.c (Fmake_frame):
4235 avoid problems with errors during init_frame_3. 4240 avoid problems with errors during init_frame_3.
4236 4241
4237 * process-nt.c: 4242 * process-nt.c:
4238 * process-nt.c (vars_of_process_nt): 4243 * process-nt.c (vars_of_process_nt):
4239 remove unused mswindows-quote-process-args. rec for 21.4. 4244 remove unused mswindows-quote-process-args. rec for 21.4.
4240 4245
4241 * unexcw.c (PERROR): use do/while. 4246 * unexcw.c (PERROR): use do/while.
4242 4247
4243 2001-05-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com> 4248 2001-05-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
4244 4249
4245 * lisp.h: (dump_add_opaque): make varaddress parameter const. 4250 * lisp.h: (dump_add_opaque): make varaddress parameter const.
4251 4256
4252 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com> 4257 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
4253 4258
4254 * console.h (struct console_methods): Added flags member. 4259 * console.h (struct console_methods): Added flags member.
4255 (CONSOLE_IMPLEMENTATION_FLAGS): Defined. 4260 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
4256 (CONMETH_IMPL_FLAG): 4261 (CONMETH_IMPL_FLAG):
4257 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags. 4262 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
4258 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY. 4263 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
4259 4264
4260 * device.c (window_system_pixelated_geometry): Use the above macros. 4265 * device.c (window_system_pixelated_geometry): Use the above macros.
4261 4266
4354 ptys, the basic functionality has been sufficiently 4359 ptys, the basic functionality has been sufficiently
4355 autoconfiscated that everything should just work anyways. 4360 autoconfiscated that everything should just work anyways.
4356 4361
4357 2001-05-11 Mike Alexander <mta@arbortext.com> 4362 2001-05-11 Mike Alexander <mta@arbortext.com>
4358 4363
4359 * event-msw.c (mswindows_need_event_in_modal_loop): 4364 * event-msw.c (mswindows_need_event_in_modal_loop):
4360 (mswindows_need_event): 4365 (mswindows_need_event):
4361 Fix indentation. 4366 Fix indentation.
4362 4367
4363 2001-05-12 Ben Wing <ben@xemacs.org> 4368 2001-05-12 Ben Wing <ben@xemacs.org>
4364 4369
4365 * .cvsignore: add xemacs.opt, a VC-generated file. 4370 * .cvsignore: add xemacs.opt, a VC-generated file.
4366 4371
4367 2001-05-12 Ben Wing <ben@xemacs.org> 4372 2001-05-12 Ben Wing <ben@xemacs.org>
4368 4373
4369 * event-msw.c (mswindows_dde_callback): 4374 * event-msw.c (mswindows_dde_callback):
4370 * event-msw.c (mswindows_wnd_proc): 4375 * event-msw.c (mswindows_wnd_proc):
4371 eliminate cygwin warnings. 4376 eliminate cygwin warnings.
4382 * dired.c: 4387 * dired.c:
4383 * dired.c (user_name_completion_unwind): 4388 * dired.c (user_name_completion_unwind):
4384 * dired.c (user_name_completion): 4389 * dired.c (user_name_completion):
4385 * dired.c (syms_of_dired): 4390 * dired.c (syms_of_dired):
4386 implement user-name-all-completions under Windows. 4391 implement user-name-all-completions under Windows.
4387 4392
4388 * emacs.c: 4393 * emacs.c:
4389 * emacs.c (syms_of_emacs): 4394 * emacs.c (syms_of_emacs):
4390 create new function force-debugging-signal (only when DEBUG_XEMACS) 4395 create new function force-debugging-signal (only when DEBUG_XEMACS)
4391 to breakpoint or abort to the debugger. 4396 to breakpoint or abort to the debugger.
4392 4397
4393 * file-coding.c: 4398 * file-coding.c:
4394 * file-coding.c (syms_of_file_coding): 4399 * file-coding.c (syms_of_file_coding):
4395 * file-coding.h: 4400 * file-coding.h:
4396 * lisp.h: 4401 * lisp.h:
4397 move coding-system-charset to lisp to avoid doc warning. 4402 move coding-system-charset to lisp to avoid doc warning.
4461 * dialog-msw.c (mswindows_make_dialog_box_internal): 4466 * dialog-msw.c (mswindows_make_dialog_box_internal):
4462 * general-slots.h: 4467 * general-slots.h:
4463 implement printing the selection when it's selected. 4468 implement printing the selection when it's selected.
4464 4469
4465 unrelated: 4470 unrelated:
4466 4471
4467 * mule-charset.c (Fset_charset_ccl_program): 4472 * mule-charset.c (Fset_charset_ccl_program):
4468 * mule-charset.c (invalidate_charset_font_caches): 4473 * mule-charset.c (invalidate_charset_font_caches):
4469 force redisplay when set-charset-ccl-program called. 4474 force redisplay when set-charset-ccl-program called.
4470 4475
4471 2001-05-04 Martin Buchholz <martin@xemacs.org> 4476 2001-05-04 Martin Buchholz <martin@xemacs.org>
4562 ---------------- Miscellaneous bug fixes/cleanup ------------------- 4567 ---------------- Miscellaneous bug fixes/cleanup -------------------
4563 4568
4564 * callint.c (Finteractive): 4569 * callint.c (Finteractive):
4565 Add lots of documentation -- exactly what the Lisp equivalents of 4570 Add lots of documentation -- exactly what the Lisp equivalents of
4566 all the interactive specs are. 4571 all the interactive specs are.
4567 4572
4568 * console.h (struct console): change type of quit_char to Emchar. 4573 * console.h (struct console): change type of quit_char to Emchar.
4569 4574
4570 * event-msw.c (lstream_type_create_mswindows_selectable): spacing 4575 * event-msw.c (lstream_type_create_mswindows_selectable): spacing
4571 change. 4576 change.
4572 4577
4673 * editfns.c (Finsert_char): 4678 * editfns.c (Finsert_char):
4674 * editfns.c (Fdelete_region): 4679 * editfns.c (Fdelete_region):
4675 * editfns.c (Fwiden): 4680 * editfns.c (Fwiden):
4676 * editfns.c (Fnarrow_to_region): 4681 * editfns.c (Fnarrow_to_region):
4677 remove bogus lines setting zmacs_region_stays to 0. 4682 remove bogus lines setting zmacs_region_stays to 0.
4678 4683
4679 * scrollbar-msw.c (mswindows_handle_mousewheel_event): 4684 * scrollbar-msw.c (mswindows_handle_mousewheel_event):
4680 remove debug lines. 4685 remove debug lines.
4681 4686
4682 2001-03-08 Mike Alexander <mta@arbortext.com> 4687 2001-03-08 Mike Alexander <mta@arbortext.com>
4683 4688
4694 4699
4695 2001-04-15 Ben Wing <ben@xemacs.org> 4700 2001-04-15 Ben Wing <ben@xemacs.org>
4696 4701
4697 * cmdloop.c (call_command_loop): 4702 * cmdloop.c (call_command_loop):
4698 Fix braino in bit-rotting code. 4703 Fix braino in bit-rotting code.
4699 4704
4700 * event-stream.c: 4705 * event-stream.c:
4701 * event-stream.c (Fnext_event): 4706 * event-stream.c (Fnext_event):
4702 * event-stream.c (is_scrollbar_event): 4707 * event-stream.c (is_scrollbar_event):
4703 * event-stream.c (execute_command_event): 4708 * event-stream.c (execute_command_event):
4704 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a 4709 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
4826 * syntax.c: 4831 * syntax.c:
4827 * window.c: 4832 * window.c:
4828 4833
4829 Augment documentation of the most common motion commands to make 4834 Augment documentation of the most common motion commands to make
4830 note of the shifted-motion support. 4835 note of the shifted-motion support.
4831 4836
4832 2001-03-02 Ben Wing <ben@xemacs.org> 4837 2001-03-02 Ben Wing <ben@xemacs.org>
4833 4838
4834 * nt.c (mswindows_fstat): 4839 * nt.c (mswindows_fstat):
4835 * nt.c (mswindows_stat): 4840 * nt.c (mswindows_stat):
4836 * search.c (boyer_moore): 4841 * search.c (boyer_moore):
4837 Fix compile warnings under Windows. 4842 Fix compile warnings under Windows.
4838 4843
4839 * sysdep.c (sys_readdir): 4844 * sysdep.c (sys_readdir):
4840 Fix buggy filename-conversion code under Mule. 4845 Fix buggy filename-conversion code under Mule.
4841 4846
4842 2001-03-09 William M. Perry <wmperry@aventail.com> 4847 2001-03-09 William M. Perry <wmperry@aventail.com>
4843 4848
4907 4912
4908 2001-02-26 Ben Wing <ben@xemacs.org> 4913 2001-02-26 Ben Wing <ben@xemacs.org>
4909 4914
4910 Undid the last change, since it is more controversial than I 4915 Undid the last change, since it is more controversial than I
4911 thought. It should be back in at some point soon. 4916 thought. It should be back in at some point soon.
4912 4917
4913 2001-02-25 Ben Wing <ben@xemacs.org> 4918 2001-02-25 Ben Wing <ben@xemacs.org>
4914 4919
4915 * buffer.c: 4920 * buffer.c:
4916 * callproc.c (Fold_call_process_internal): 4921 * callproc.c (Fold_call_process_internal):
4917 * event-msw.c (ntpipe_slurp_reader): 4922 * event-msw.c (ntpipe_slurp_reader):
4980 * lstream.h (lstream_implementation): 4985 * lstream.h (lstream_implementation):
4981 * lstream.h (struct lstream): 4986 * lstream.h (struct lstream):
4982 * md5.c (Fmd5): 4987 * md5.c (Fmd5):
4983 * process-nt.c (nt_send_process): 4988 * process-nt.c (nt_send_process):
4984 * process-unix.c (unix_send_process): 4989 * process-unix.c (unix_send_process):
4985 4990
4986 Correct Lstream lossage due to mixing of signed and unsigned 4991 Correct Lstream lossage due to mixing of signed and unsigned
4987 quantities. All Lstream uses of size_t and ssize_t are now a 4992 quantities. All Lstream uses of size_t and ssize_t are now a
4988 single signed data type Lstream_data_count. This fixes problems 4993 single signed data type Lstream_data_count. This fixes problems
4989 under Windows with sending large quantities of data to a process, 4994 under Windows with sending large quantities of data to a process,
4990 and may well fix other subtle bugs. 4995 and may well fix other subtle bugs.
4993 4998
4994 * XEmacs 21.2.45 "Thelxepeia" is released. 4999 * XEmacs 21.2.45 "Thelxepeia" is released.
4995 5000
4996 2001-02-21 Martin Buchholz <martin@xemacs.org> 5001 2001-02-21 Martin Buchholz <martin@xemacs.org>
4997 5002
4998 * lisp-union.h (XSETINT): 5003 * lisp-union.h (XSETINT):
4999 (XSETCHAR): 5004 (XSETCHAR):
5000 (XSETOBJ): 5005 (XSETOBJ):
5001 Reverse previous change of 2001-02-06. 5006 Reverse previous change of 2001-02-06.
5002 5007
5003 2001-02-20 Matt Tucker <tuck@whistlingfish.net> 5008 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
5004 5009
5005 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed 5010 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
5014 `BI_BUF_BEGV' does it already. 5019 `BI_BUF_BEGV' does it already.
5015 5020
5016 2001-02-18 Wim Dumon <wim@easics.be> 5021 2001-02-18 Wim Dumon <wim@easics.be>
5017 5022
5018 * insdel.c (prepare_to_modify_buffer): Also check for 5023 * insdel.c (prepare_to_modify_buffer): Also check for
5019 supersession when clash-detection is enabled. 5024 supersession when clash-detection is enabled.
5020 5025
5021 2001-02-17 Matt Tucker <tuck@whistlingfish.net> 5026 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
5022 5027
5023 * regex.c (re_match_2_internal): 5028 * regex.c (re_match_2_internal):
5024 Convert temp characters from 'const unsigned char' to 're_char'. 5029 Convert temp characters from 'const unsigned char' to 're_char'.
5043 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR): 5048 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
5044 Properly deal with BUFFERP (syntax_cache.object) 5049 Properly deal with BUFFERP (syntax_cache.object)
5045 5050
5046 2001-02-17 Martin Buchholz <martin@xemacs.org> 5051 2001-02-17 Martin Buchholz <martin@xemacs.org>
5047 5052
5048 * alloc.c (Fgarbage_collect): 5053 * alloc.c (Fgarbage_collect):
5049 * alloc.c (make_bit_vector_from_byte_vector): 5054 * alloc.c (make_bit_vector_from_byte_vector):
5050 -Wsign-compare-correctness. 5055 -Wsign-compare-correctness.
5051 5056
5052 2001-02-16 Martin Buchholz <martin@xemacs.org> 5057 2001-02-16 Martin Buchholz <martin@xemacs.org>
5053 5058
5055 (XSETCHAR): Likewise. 5060 (XSETCHAR): Likewise.
5056 (XSETOBJ): Likewise. 5061 (XSETOBJ): Likewise.
5057 5062
5058 2001-02-15 Martin Buchholz <martin@xemacs.org> 5063 2001-02-15 Martin Buchholz <martin@xemacs.org>
5059 5064
5060 * mule-canna.c (canna-func-delete_previous): 5065 * mule-canna.c (canna-func-delete_previous):
5061 Rename to canna-func-delete-previous. 5066 Rename to canna-func-delete-previous.
5062 5067
5063 2001-02-14 Martin Buchholz <martin@xemacs.org> 5068 2001-02-14 Martin Buchholz <martin@xemacs.org>
5064 5069
5065 * mule-ccl.c (ccl_driver): Warning suppression. Use countof. 5070 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
5106 5111
5107 Use ported FSF 20.7 syntax table improvements. 5112 Use ported FSF 20.7 syntax table improvements.
5108 * font-lock.c. 5113 * font-lock.c.
5109 * regex.c. 5114 * regex.c.
5110 * search.c. 5115 * search.c.
5111 5116
5112 2001-02-09 Martin Buchholz <martin@xemacs.org> 5117 2001-02-09 Martin Buchholz <martin@xemacs.org>
5113 5118
5114 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with 5119 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
5115 Unixware's enum boolean from sys/types.h. 5120 Unixware's enum boolean from sys/types.h.
5116 5121
5140 * dumper.c (pdump_add_entry): Use pdump_max_align. 5145 * dumper.c (pdump_add_entry): Use pdump_max_align.
5141 * dumper.c (pdump_get_entry_list): Likewise. 5146 * dumper.c (pdump_get_entry_list): Likewise.
5142 * dumper.c (pdump_scan_by_alignment): Likewise. 5147 * dumper.c (pdump_scan_by_alignment): Likewise.
5143 Don't iterate through unnecessary alignments. 5148 Don't iterate through unnecessary alignments.
5144 * dumper.c (pdump_file_get): No need to align result of malloc(). 5149 * dumper.c (pdump_file_get): No need to align result of malloc().
5145 * dumper.c (pdump_mallocadr): Remove. 5150 * dumper.c (pdump_mallocadr): Remove.
5146 The result of malloc() is guaranteed to be maximally aligned. 5151 The result of malloc() is guaranteed to be maximally aligned.
5147 * dumper.c: s/elmt/elt/g; 5152 * dumper.c: s/elmt/elt/g;
5148 * dumper.c (pdump_object_table): Allocate dynamically, not statically. 5153 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
5149 * dumper.c (pdump_alert_undump_object): Likewise. 5154 * dumper.c (pdump_alert_undump_object): Likewise.
5150 * dumper.c (pdump_align_table): 5155 * dumper.c (pdump_align_table):
5151 Don't support alignments > 64. 5156 Don't support alignments > 64.
5152 Store ALIGNOF's, not shift counts, in table. 5157 Store ALIGNOF's, not shift counts, in table.
5153 5158
5154 2001-02-09 Martin Buchholz <martin@xemacs.org> 5159 2001-02-09 Martin Buchholz <martin@xemacs.org>
5155 5160
5358 * XEmacs 21.2.43 "Terspichore" is released. 5363 * XEmacs 21.2.43 "Terspichore" is released.
5359 5364
5360 2001-01-25 Martin Buchholz <martin@xemacs.org> 5365 2001-01-25 Martin Buchholz <martin@xemacs.org>
5361 5366
5362 Type fiddling for window_config.saved_windows_count 5367 Type fiddling for window_config.saved_windows_count
5363 * window.c (struct window_config): 5368 * window.c (struct window_config):
5364 Make saved_windows_count member unsigned. 5369 Make saved_windows_count member unsigned.
5365 * window.c (sizeof_window_config_for_n_windows): 5370 * window.c (sizeof_window_config_for_n_windows):
5366 Make parameter unsigned. 5371 Make parameter unsigned.
5367 * window.c (mark_window_config): 5372 * window.c (mark_window_config):
5368 * window.c (window_config_equal): 5373 * window.c (window_config_equal):
5369 * window.c (free_window_configuration): 5374 * window.c (free_window_configuration):
5370 * window.c (Fset_window_configuration): 5375 * window.c (Fset_window_configuration):
5382 * alloc.c (make_vector_internal): 5387 * alloc.c (make_vector_internal):
5383 * alloc.c (make_bit_vector_internal): 5388 * alloc.c (make_bit_vector_internal):
5384 * alloc.c (sweep_bit_vectors_1): 5389 * alloc.c (sweep_bit_vectors_1):
5385 * fns.c (size_bit_vector): 5390 * fns.c (size_bit_vector):
5386 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg. 5391 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
5387 * window.c (sizeof_window_config_for_n_windows): 5392 * window.c (sizeof_window_config_for_n_windows):
5388 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF. 5393 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
5389 5394
5390 2001-01-24 Martin Buchholz <martin@xemacs.org> 5395 2001-01-24 Martin Buchholz <martin@xemacs.org>
5391 5396
5392 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h 5397 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
5456 5461
5457 Macro hygiene. 5462 Macro hygiene.
5458 Fix printf warnings: int format, long int arg. 5463 Fix printf warnings: int format, long int arg.
5459 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING. 5464 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
5460 (PUSH_FAILURE_POINT): Use correct printf formats. 5465 (PUSH_FAILURE_POINT): Use correct printf formats.
5461 (POP_FAILURE_POINT): Use correct printf formats. 5466 (POP_FAILURE_POINT): Use correct printf formats.
5462 Use do {...} while (0) 5467 Use do {...} while (0)
5463 5468
5464 2001-01-20 Martin Buchholz <martin@xemacs.org> 5469 2001-01-20 Martin Buchholz <martin@xemacs.org>
5465 5470
5466 * XEmacs 21.2.42 "Poseidon" is released. 5471 * XEmacs 21.2.42 "Poseidon" is released.