Commit graph

2045 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
169d2997df SI:ECASE-ERROR and ETYPECASE-ERROR are now exported. 2011-12-23 15:38:06 +01:00
Juan Jose Garcia Ripoll
2ca63fdbf8 Reorder the type checks in src/c/clos/accessor.d to achieve more compact code and faster access 2011-12-18 20:07:05 +01:00
Juan Jose Garcia Ripoll
61aa50f929 ecl-inl.h is needed by package.d 2011-12-18 14:22:26 +01:00
Juan Jose Garcia Ripoll
ee13dcd388 Introduce _ecl_funcall[0-5] to move the core from using cl_funcall to ecl_function_dispatch. 2011-12-18 00:26:53 +01:00
Juan Jose Garcia Ripoll
2c92c946a3 The built-in classes vector is now a constant 2011-12-16 23:38:00 +01:00
Juan Jose Garcia Ripoll
9d557937b1 Added new dispatch functions for slot accessors. 2011-12-16 22:12:56 +01:00
Juan Jose Garcia Ripoll
0423bd23a3 Fixed a typo in ecl_remf_setf_definition. Type-check also the SETF arguments to FBOUNDP. 2011-12-16 22:12:28 +01:00
Juan Jose Garcia Ripoll
4b565e6955 Better explanation of why the keys get duplicated in _ecl_standard_dispatch(). 2011-12-15 00:07:45 +01:00
Juan Jose Garcia Ripoll
198ecd50c2 Split the CLOS cache code into a separate file, with some cleanup in the process. 2011-12-15 00:05:15 +01:00
Juan Jose Garcia Ripoll
17ab9cecf0 Keep a SETF location object in the compiled code, to speed up the lookup of #'(SETF fname) functions. Also, store a closure in that object for the cases in which we fmakunbound it. 2011-12-14 00:24:09 +01:00
Juan Jose Garcia Ripoll
b72823aeab SETF functions are now stored in a separate hash table. 2011-12-13 20:53:44 +01:00
Juan Jose Garcia Ripoll
42a9abf551 Eliminated SETF-LAMBDA functions, replacing them with a wrapper that transforms them into SETF-METHODs. 2011-12-13 00:32:34 +01:00
Juan Jose Garcia Ripoll
3679e2620b The short form of DEFSETF does no longer use special cases. Instead SETF detects cases in which the variables do not need to be created. 2011-12-12 23:25:54 +01:00
Juan Jose Garcia Ripoll
a38f16f1fa In the interpreter, avoid creating a closure when the lexical environment is empty. 2011-12-11 22:04:43 +01:00
Juan Jose Garcia Ripoll
eb0082fd83 DEFCLASS now expands in terms of LOAD-DEFCLASS, saving some bytes. 2011-12-11 16:00:11 +01:00
Juan Jose Garcia Ripoll
6121a6d510 Add more keywords which are used in CLOS macroexpansions. 2011-12-11 01:06:52 +01:00
Juan Jose Garcia Ripoll
ae42fed2be SI:INSTANCEP now returns the class length. 2011-12-10 22:24:10 +01:00
Juan Jose Garcia Ripoll
05a46aca0b Print readably hash tables using the EXT:HASH-TABLE-FILL 2011-12-10 19:00:09 +01:00
Juan Jose Garcia Ripoll
75c332b452 New functions EXT:HASH-TABLE-CONTENT and EXT:HASH-TABLE-FILL 2011-12-10 18:59:45 +01:00
Juan Jose Garcia Ripoll
7e1d1e5767 Slight reorganization of _ecl_write_symbol. 2011-12-10 00:14:53 +01:00
Juan Jose Garcia Ripoll
2959b35ce3 Added some more keywords used by CLOS to the core. 2011-12-08 23:02:09 +01:00
Juan Jose Garcia Ripoll
fd9d8be539 List new headers in makefiles 2011-12-03 22:16:43 +01:00
Juan Jose Garcia Ripoll
d5f090e81e Added a header and a separate object file for C[AD]+R operation, automatically generated from src/util/gen-code.lsp 2011-12-03 20:16:45 +01:00
Juan Jose Garcia Ripoll
7690ab6a16 DESTRUCTURE now runs over the argument list using CAR and CDR, and producing slightly faster code. 2011-12-03 09:11:15 +01:00
Juan Jose Garcia Ripoll
14990a8250 THE is now a special operator in the interpreter, not a macro. 2011-12-03 09:11:11 +01:00
Juan Jose Garcia Ripoll
78442fa7bc Restored :BIG-ENDIAN and :LITTLE-ENDIAN features, because it is needed by CLX. 2011-11-20 00:30:44 +01:00
Juan Jose Garcia Ripoll
950704f7d1 Replace two uses of (char *) with (ecl_base_char *) in src/c/character.d 2011-11-20 00:25:55 +01:00
Juan Jose Garcia Ripoll
e5de9aa7b1 DATA-C-DUMP did not produce an empty text array (data_text = NULL) when compiling functions (not FASL). 2011-11-18 23:58:02 +01:00
Juan Jose Garcia Ripoll
704964093f If a file does not use MMAPed data, allow it. 2011-11-14 23:35:45 +01:00
Juan Jose Garcia Ripoll
9f683792a1 In si_chmod(), fix detection of error condition. 2011-11-14 22:25:45 +01:00
syakovyn
3fe675ac83 Defined mode_t for Windows. It doesn't have this type. 2011-11-14 10:10:27 +01:00
Juan Jose Garcia Ripoll
363ec85f59 Added POSIX function (EXT:CHMOD filename mode) 2011-11-13 22:42:37 +01:00
Juan Jose Garcia Ripoll
27f8141371 Fixed _ecl_big_plus_fix() so that it does not use the *_ui/_si routines in GMP 2011-11-13 15:13:25 +01:00
Juan Jose Garcia Ripoll
cbdf929a29 Fix coercion from cl_fixnum to int32_t under Windows64 2011-11-13 12:51:26 +01:00
Juan Jose Garcia Ripoll
3addf0abe8 The product of bignum times fix did not contemplate LONG_BITS < FIXNUM_BITS 2011-11-11 23:58:56 +01:00
Juan Jose Garcia Ripoll
ac29a977f7 Replaced two uses of mpz_set_[su]i() with _ecl_big_set_fixnum(). 2011-11-11 23:51:47 +01:00
Juan Jose Garcia Ripoll
fd5488269b In Windows, include direct.h for rmdir() 2011-11-11 23:03:42 +01:00
Juan Jose Garcia Ripoll
ea0fdff007 Avoid further uses of make_simple_base_string. 2011-11-06 10:02:55 +01:00
Juan Jose Garcia Ripoll
267be3903c ecl_princ_char() now returns the character 2011-11-05 20:17:18 +01:00
Juan Jose Garcia Ripoll
0d41a1de04 Added an 'unlikely' in ecl_symbol_value. 2011-11-05 20:16:59 +01:00
Juan Jose Garcia Ripoll
efc0ca6b9e COPY-SUBARRAY (and REPLACE for that matter) did not always work when arrays overlapped. 2011-10-30 12:11:42 +01:00
Juan Jose Garcia Ripoll
b517032ebc In DIRECTORY, :RESOLVE-SYMLINKS defaults to T. 2011-10-29 20:33:24 +02:00
Juan Jose Garcia Ripoll
8f9aeb2815 DELETE-FILE works on empty directories. 2011-10-29 20:32:12 +02:00
Juan Jose Garcia Ripoll
13a86dd2ff Yet another attempt at Opensolaris' make. 2011-09-04 20:07:08 +02:00
Juan Jose Garcia Ripoll
ae25e5b70b Additional Makefile statement for Opensolaris. 2011-09-04 20:00:52 +02:00
Juan Jose Garcia Ripoll
65fc207067 Simplify Makefile even more for Solaris' dump make. 2011-09-04 19:55:37 +02:00
Juan Jose Garcia Ripoll
d8b042877e Changed the entry point of compiled code, which now takes either a codeblock or OBJNULL. 2011-09-04 19:18:30 +02:00
Juan Jose Garcia Ripoll
46aac929b6 Undo previous change that allowed CC being overriden in the Makefiles, because the syntax '?=' is not allowed in Opensolaris 2011-09-02 12:36:25 +02:00
Juan Jose Garcia Ripoll
bf46246272 Remove redundant flag MAP_PRIVATE from mmap.d 2011-08-29 21:04:02 +02:00
Juan Jose Garcia Ripoll
e4d9d008e7 Fixed mmap.d, which used a Linux-only flag, MAP_FILE. 2011-08-28 17:32:26 +02:00