Commit graph

5006 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
86e54c8a28 In TRUENAME, ".." was not eliminated from the path 2011-12-31 03:16:15 +01:00
Juan Jose Garcia Ripoll
da15b84a8b Fixed the UCS2-BE/LE decoders 2011-12-30 23:22:58 +01:00
Juan Jose Garcia Ripoll
ac117cf97a Some of the changes for the Windows tests broke the Unix platform 2011-12-30 22:09:40 +01:00
Juan Jose Garcia Ripoll
0e2095753a Fixed compiler macroexpander for STRUCTURE-SET 2011-12-30 21:59:34 +01:00
Juan Jose Garcia Ripoll
60825360ea Fixed compiler macroexpander for SETQ 2011-12-30 21:58:39 +01:00
Juan Jose Garcia Ripoll
c1d5bdd035 Fixed the error message in ecl_sequence_start_end() for the case in which start > end. 2011-12-30 17:31:36 +01:00
Juan Jose Garcia Ripoll
932c6223ad Added automated tests to the MSVC port 2011-12-30 17:03:37 +01:00
Juan Jose Garcia Ripoll
d6f1599287 Missing POSIX coercion in unixfsys.d 2011-12-30 17:01:34 +01:00
Juan Jose Garcia Ripoll
b9089e6be8 Create msvc/c/clos directory for MSVC builds 2011-12-30 15:42:10 +01:00
Juan Jose Garcia Ripoll
8b2f068377 Added missing object files to the Windows Makefile 2011-12-30 15:31:00 +01:00
Juan Jose Garcia Ripoll
c47a3ff946 In FILE-WRITE-DATE, FILE-WRITE-AUTHOR and other related functions, ECL must remove the trailing slash, '/', so that certain C libraries accept the file name. 2011-12-30 15:30:45 +01:00
Juan Jose Garcia Ripoll
6735248285 Increase stack size of ECL [Serhiy Y] 2011-12-30 15:13:56 +01:00
Juan Jose Garcia Ripoll
47dd6bc83e Weak hash tables 2011-12-30 12:40:06 +01:00
Juan Jose Garcia Ripoll
d2f740b9af Fixed comment on gather_statistics() 2011-12-30 12:40:06 +01:00
Juan Jose Garcia Ripoll
71114c9063 The methods in the hash tables now hide the ecl_hashtable_entry structures. This will allow implementing weak hash tables more easily. 2011-12-30 12:40:06 +01:00
Juan Jose Garcia Ripoll
cb66371cf2 Another expansion of DOLIST which uses unboxing. Seems to produce better code with the new model. 2011-12-30 12:40:06 +01:00
Juan Jose Garcia Ripoll
551b9b2e23 Simplfied c1setq so that it does not call c1setq1 but returns back to c1expr. 2011-12-30 12:40:06 +01:00
Juan Jose Garcia Ripoll
7d1447b040 Fixed various typos that led to infinite recursion of compiler macros in cmpstructures.lsp 2011-12-30 12:40:06 +01:00
Juan Jose Garcia Ripoll
c98e53a346 Added an inliner for 1+/1- to ecl_make_integer(), which does not dispatch on types. 2011-12-29 00:25:57 +01:00
Juan Jose Garcia Ripoll
c95d096662 The new policies can now take an argument, as in (DECLARE (TYPE-ASSERTIONS NIL)) 2011-12-28 23:24:13 +01:00
Juan Jose Garcia Ripoll
866be07c35 Added some declarations for the new type check model. 2011-12-28 23:24:13 +01:00
Juan Jose Garcia Ripoll
e63a78ce26 The EXT package is now used in the C package 2011-12-28 21:27:16 +01:00
Juan Jose Garcia Ripoll
857677f1ca Rewrite DOTIMES to adapt to the new type checking scheme. 2011-12-28 20:50:32 +01:00
Juan Jose Garcia Ripoll
d5fd199116 Added some IGNORE declarations and fixed some references to undefined variables. 2011-12-28 16:33:27 +01:00
Juan Jose Garcia Ripoll
d1b82f3e8d When extracting primary types from (VALUES), use NULL. 2011-12-28 16:32:48 +01:00
Juan Jose Garcia Ripoll
3f17b631a0 Replaced the macro expanders for the structure accessors. 2011-12-28 16:31:28 +01:00
Juan Jose Garcia Ripoll
a097641aff In C2CALL-GLOBAL use the form primary type as expected type. 2011-12-28 15:59:13 +01:00
Juan Jose Garcia Ripoll
6ac809efba Remove type propagators for structure-set/ref 2011-12-28 15:58:22 +01:00
Juan Jose Garcia Ripoll
3f3effd034 Fixes in how FTYPE proclamations are stored -- the return types were corrupted in previous implementations of DECLARE/PROCLAIM 2011-12-28 15:58:07 +01:00
Juan Jose Garcia Ripoll
04e08b5617 Replaced the special forms for structure-ref/set with compiler macros. 2011-12-28 15:56:55 +01:00
Juan Jose Garcia Ripoll
0deeac16cf Introduced a new location, THE, which makes a more precise estimate of the location lisp type. This allows the compiler to choose an unsafe cunction when coercing locations. 2011-12-28 12:57:52 +01:00
Juan Jose Garcia Ripoll
d9d6d6864d C2 functions now receive the C1FORM as an argument. 2011-12-28 12:00:01 +01:00
Juan Jose Garcia Ripoll
93c6b00878 MULTIPLE-VALUE-SETQ and PSETQ also introduce type checks. 2011-12-28 00:20:30 +01:00
Juan Jose Garcia Ripoll
e5b704e24f C1SETQ now performs checked assignments. 2011-12-27 16:59:56 +01:00
Juan Jose Garcia Ripoll
a25dfa49ac Change assignements in COMPILE so that the function does not violate the type declaration of its argument. 2011-12-27 16:59:09 +01:00
Juan Jose Garcia Ripoll
93f4e8638c C1CALL now checks the length of the argument list, dispatching to the unoptimized function call if needed. C1CALL-LOCAL is now only used from C1CALL when needed. 2011-12-27 16:18:03 +01:00
Juan Jose Garcia Ripoll
c2e2171dc0 Avoid recursive invocation of C1EXPR by allowing the C1 processors to act like macros, returning new forms to be processed. Remove also the CATCH for compiler errors, since we now rely on conditions for signal handling. 2011-12-27 12:36:52 +01:00
Juan Jose Garcia Ripoll
24c0b37d9a Interpret LET/LET* type declarations as assertions to be tested. 2011-12-27 00:06:17 +01:00
Juan Jose Garcia Ripoll
d71e202945 Replace some DO forms with LOOPs, thus also fixing some type declarations. 2011-12-27 00:05:57 +01:00
Juan Jose Garcia Ripoll
839d86628e Remove unused variable. 2011-12-26 23:59:10 +01:00
Juan Jose Garcia Ripoll
8e22061e57 The argument to DEFPACKAGE is a string designator, not (OR SYMBOL STRING) 2011-12-26 23:58:47 +01:00
Juan Jose Garcia Ripoll
2feea55b31 Propagate the type of a function when invoked through APPLY 2011-12-26 23:16:13 +01:00
Juan Jose Garcia Ripoll
92d1290de4 Turn CHECKED-VALUE into a special form to speed up a bit processing and also to generate less compiled forms. 2011-12-26 22:59:09 +01:00
Juan Jose Garcia Ripoll
7d7dcccef8 Only emit type checks for nontrivial types. 2011-12-26 22:10:01 +01:00
Juan Jose Garcia Ripoll
1a3d3cd2ce Optimize C1COMPILER-TYPECASE for the case in which the first form already satisfies the check in the first pass. 2011-12-26 21:58:16 +01:00
Juan Jose Garcia Ripoll
ecd9dd2470 Implemented type assertions using EXT:COMPILER-TYPECASE so that they can be optimized away. 2011-12-26 20:42:11 +01:00
Juan Jose Garcia Ripoll
281fe567d4 In "make mostlyclean", only enter those directories that exist. 2011-12-26 20:35:09 +01:00
Juan Jose Garcia Ripoll
24debdf161 Fix additional warnings about unused variables and variables which are assumed global in the compiler. 2011-12-26 17:59:16 +01:00
Juan Jose Garcia Ripoll
481302642f Fixed typo in various compiler macros (cmpopt-printer.lsp) 2011-12-26 16:58:35 +01:00
Juan Jose Garcia Ripoll
e360d9000c Coerce to string before calling FIND-SYMBOL. 2011-12-26 10:03:54 +01:00