Commit graph

4606 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
cd65c21270 Slight optimization of unlikely error conditions in mutex.d 2012-02-13 22:26:52 +01:00
Juan Jose Garcia Ripoll
d5296f2563 Implement mutexes using CAS. Deactivate condition variables temporarily. 2012-02-12 23:31:29 +01:00
Juan Jose Garcia Ripoll
8f9ee9ab41 Fixed typo in Windows' implementation of mmap 2012-02-12 15:26:10 +01:00
Juan Jose Garcia Ripoll
4ec9cdf4cf When compiling twice a block, ensure that load-time forms are removed. 2012-02-10 09:23:42 +01:00
Juan Jose Garcia Ripoll
5909bb0621 Removed debug statement. 2012-02-09 23:37:01 +01:00
Juan Jose Garcia Ripoll
e91a793052 Fixed use of FEtype_error_index 2012-02-09 23:03:22 +01:00
Juan Jose Garcia Ripoll
358233204a Repeated eval-when statements made defstruct forms execute twice in the :compile-toplevel environment. 2012-02-09 23:03:01 +01:00
Juan Jose Garcia Ripoll
991bc3ab78 Changed reader/writer syntax for bytecodes so that shared constants remain shared. 2012-02-09 23:02:29 +01:00
Juan Jose Garcia Ripoll
bc0c5db519 #\ should not rebind the readtable when reading the character name. 2012-02-09 21:26:27 +01:00
Juan Jose Garcia Ripoll
8c1f5fa6a0 compile_with_load_time_forms() did not clean up the list of forms. 2012-02-06 23:39:16 +01:00
Juan Jose Garcia Ripoll
f873e36de1 Fixed typo in disassemble (Jerry James) 2012-02-06 22:13:50 +01:00
Juan Jose Garcia Ripoll
ae35b67986 In #*, when the dimension is missing, the size of the vector is uninitialized (Jerry James) 2012-02-06 22:12:22 +01:00
Juan Jose Garcia Ripoll
574f989070 EXT:MMAP did not use its optional argument (Jerry James) 2012-02-06 22:02:31 +01:00
Juan Jose Garcia Ripoll
fd8e3a2d76 Missing #include statements for mempcy(), read(), close() 2012-02-06 21:58:45 +01:00
Juan Jose Garcia Ripoll
e8d8c45e8d Fixed some improper uses of FEtype_error_index (Jerry James) 2012-02-06 21:54:36 +01:00
Juan Jose Garcia Ripoll
f5e4b66797 Rewrite vector-push-extend so that MSVC accepts it. 2012-02-06 21:36:43 +01:00
Juan Jose Garcia Ripoll
aaf55b6a46 Fix for type propagation of EXPT 2012-02-06 21:18:52 +01:00
Juanjo Garcia-Ripoll
a3726a2ecc Changed the bytecodes compiler so that constants are stored in a vector and are shared by the main form and all its children (functions) 2012-02-06 17:06:14 +01:00
Juanjo Garcia-Ripoll
758f8cccce Fixes in quick-sort to improve the worst case performance 2012-02-06 17:06:13 +01:00
Juanjo Garcia-Ripoll
d24682b9fe Moved VECTOR-PUSH-EXTENT into the core because it is needed early in the bytecodes compiler 2012-02-06 17:06:04 +01:00
Juan Jose Garcia Ripoll
e3af03e02f GET-MACRO-CHARACTER did not default to the standard readtable 2012-02-05 09:40:37 +01:00
Juan Jose Garcia Ripoll
56e1ff2ac7 Fixes to quick-sort so that it does not stall in the worst case scenario (list already sorted). 2012-02-04 23:57:54 +01:00
Juanjo Garcia-Ripoll
72f7b1ea7d Propagate UNREAD-CHAR from an ECHO-STREAM to its actual input stream (R. M. Kreuter) 2012-02-03 18:29:53 +01:00
Juan Jose Garcia Ripoll
083e6e1e85 Detecting the stack direction did not work with very clever compilers. 2012-02-03 15:16:26 +01:00
Juan Jose Garcia Ripoll
b5862f94db LOAD-TIME-VALUE evaluates its argument in an empty environment (interpreter) 2012-02-03 00:47:02 +01:00
Juan Jose Garcia Ripoll
ca845a76e8 safe_close() did not return output flag. 2012-02-02 23:43:21 +01:00
Juan Jose Garcia Ripoll
974ba01d5c LOAD-TIME-VALUE returned two values when passed two 2012-02-02 23:19:56 +01:00
Juan Jose Garcia Ripoll
2bf38a92fc When a form had more than 63 arguments, it did not pass through the macro-expander. 2012-02-02 23:00:21 +01:00
Juan Jose Garcia Ripoll
b706926ea7 When etags fails, ignore the error. 2012-02-02 21:55:26 +01:00
Juan Jose Garcia Ripoll
250a3d9caf The interpreter only allowed LOAD-TIME-VALUE to take one argument. 2012-01-31 23:02:33 +01:00
Juan Jose Garcia Ripoll
ed7ab8cccc Upgraded version to 12.2.1 2012-01-31 22:00:09 +01:00
Juan Jose Garcia Ripoll
daca6b7637 In the prebuilt ASDF files, hard-code the paths of the compiled files, so that they can be found even if we switch to the bytecodes compiler. 2012-01-25 12:57:12 +01:00
Juan Jose Garcia Ripoll
2d4868112f NEED-TO-MAKE-LOAD-FORM-P was not registered as taking two arguments [A. Paul] 2012-01-25 11:56:50 +01:00
Juan Jose Garcia Ripoll
3463344b4f Added Windows dllexport declaration to ecl_to_size and ecl_fixnum_value 2012-01-22 23:41:38 +01:00
Juan Jose Garcia Ripoll
ac8b8a813a Fixed typo in the non-inlined version of ecl_to_size(). 2012-01-22 23:40:04 +01:00
Juan Jose Garcia Ripoll
b541769e77 Fixed wrong #ifdef in file.d 2012-01-22 23:28:49 +01:00
Juan Jose Garcia Ripoll
533d0c3cd4 Fixed miscompilation in Mingw (Xiaofeng Yang) 2012-01-22 23:16:26 +01:00
Juan Jose Garcia Ripoll
10dea13a51 Unicode strings were not properly saved in C compiled code. 2012-01-15 19:54:06 +01:00
Juan Jose Garcia Ripoll
d377e4daf8 Cleanup ecl_open_stream, removing gotos. Instead of using open() to check for the existence of a file, rely on si_file_kind(). 2012-01-15 12:00:41 +01:00
Juan Jose Garcia Ripoll
4547742042 Create safe_* versions of open, fdopen, fopen, close, fclose, which are protected from interrupts. 2012-01-15 11:22:10 +01:00
Juan Jose Garcia Ripoll
78b10d89ad *compiler-break-enable* was sset to T by FIX-READ-ONLY-VARIABLE-TYPE. 2012-01-15 11:18:04 +01:00
Juan Jose Garcia Ripoll
606449eba0 Fix header corruption in last build. 2012-01-07 00:04:02 +01:00
Juan Jose Garcia Ripoll
b7833ee27d Strip out the help file routines into a separate module that also provides the CDB interface (http://cr.yp.to/cdb/cdb.txt) on which the new help file is based. 2012-01-06 19:49:52 +01:00
Juan Jose Garcia Ripoll
09cc3970d4 Fixes in the sequence-input/output-streams. UNREAD-CHAR did not work properly on them 2012-01-06 19:48:52 +01:00
Juan Jose Garcia Ripoll
221a7dea29 ecl_to_int64_t() contained a stray while(1). 2012-01-06 19:27:39 +01:00
Juan Jose Garcia Ripoll
56139f6a53 When extracting the byte content of an array, create vectors with a fill pointer. 2012-01-06 11:47:00 +01:00
Juan Jose Garcia Ripoll
542735dcc0 Restrict sequence input/output streams to byte arrays 2012-01-06 11:46:25 +01:00
Juan Jose Garcia Ripoll
5743b5cbd4 Fixed circularities when printing comments in the compiler and when printing the TRACE 2012-01-02 23:12:17 +01:00
Juan Jose Garcia Ripoll
905b8c4aab When printing out lambda expressions, use *PRINT-READABLY* nil 2012-01-02 22:54:27 +01:00
Juan Jose Garcia Ripoll
5d7410bf51 Replace most uses of fixint with ecl_to_fix/ecl_to_size 2012-01-01 23:49:37 +01:00