Commit graph

5267 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
c42d6ec9e1 ECL now uses and updates the DIRECT-METHODS and DIRECT-GENERIC-FUNCTIONS in specializer objects 2012-04-23 20:33:44 +02:00
Juan Jose Garcia Ripoll
434e1ad46e MAKE-LOAD-FORM specialized on STANDARD-OBJECT, STRUCTURE-OBJECT and CONDITION must signal an error 2012-04-23 19:59:02 +02:00
Juan Jose Garcia Ripoll
66d4d462a4 Methods, generic functions and dispatch is now implemented using specializers 2012-04-23 19:59:02 +02:00
Juan Jose Garcia Ripoll
ba9daa82fc Error checking when instantiating methods 2012-04-22 23:29:12 +02:00
Juan Jose Garcia Ripoll
9805fd8348 Add slots to SPECIALIZER and EQL-SPECIALIZER 2012-04-22 22:55:53 +02:00
Juan Jose Garcia Ripoll
1ecb59b7f4 Create SPECIALIER and EQL-SPECIALIZER as classes without slots 2012-04-22 21:26:00 +02:00
Juan Jose Garcia Ripoll
b9dd1309ee METAOBJECT is now created in boot.lsp as a first step towards the introduction of other classes 2012-04-22 20:08:38 +02:00
Juan Jose Garcia Ripoll
408c53c52a Implemented the METAOBJECT class 2012-04-22 02:03:47 +02:00
Juan Jose Garcia Ripoll
4c5e23fcaf Added slot GENERIC-FUNCTION-DECLARATIONS 2012-04-22 02:03:47 +02:00
Juan Jose Garcia Ripoll
a2460f3a4b EXTRACT-LAMBDA-LIST and EXTRACT-SPECIALIZER-NAMES implemented. 2012-04-22 02:03:46 +02:00
Juan Jose Garcia Ripoll
c78c6a49c6 ENSURE-CLASS-USING-CLASS now registers the class with FIND-CLASS 2012-04-22 00:51:00 +02:00
Juan Jose Garcia Ripoll
f1e38160b9 (SETF CLASS-NAME) is implemented using REINITIALIZE-INSTANCE 2012-04-22 00:50:00 +02:00
Juan Jose Garcia Ripoll
8a01f51096 FIND-METHOD is now a generic function. 2012-04-22 00:13:59 +02:00
Juan Jose Garcia Ripoll
7955ebda76 Slight style change in add-method. 2012-04-21 23:53:46 +02:00
Juan Jose Garcia Ripoll
79a6e3dd7b COMPUTE-APPLICABLE-METHODS-USING-CLASSES did not return a second value 2012-04-21 22:57:19 +02:00
Juan Jose Garcia Ripoll
13ed478428 Added regression tests for compute-applicable-methods-using-classes 2012-04-21 22:57:18 +02:00
Juan Jose Garcia Ripoll
18f003b6f6 By using DEFMETHOD instead of DEFGENERIC we save a few bytes 2012-04-21 22:47:08 +02:00
Juan Jose Garcia Ripoll
2dd79e9c78 Simplify the use of UPDATE-DEPENDENT, incorporating it into the core methods, instead of using :AFTER. This eliminates problems with non-compliant code redefining SHARED-INITIALIZE and friends. 2012-04-21 21:55:49 +02:00
Juan Jose Garcia Ripoll
94454151a8 Regression tests for MOP dependents 2012-04-21 21:54:53 +02:00
Juan Jose Garcia Ripoll
ea7aaaecb0 Reimplemented dependents. REMOVE-METHOD was not a generic function and did not update dependents. 2012-04-21 13:19:13 +02:00
Juan Jose Garcia Ripoll
57bcfae761 Implemented and used in the core: VALIDATE-SUPERCLASSES 2012-04-21 12:16:40 +02:00
Juan Jose Garcia Ripoll
ec6553ce88 COMPUTE-APPLICABLE-METHODS and CLOS:COMPUTE-EFFECTIVE-METHOD are now generic functions 2012-04-21 09:12:45 +02:00
Juan Jose Garcia Ripoll
efda16f3d2 Implemented CLOS:COMPUTE-APPLICABLE-METHODS-USING-CLASSES 2012-04-20 23:47:33 +02:00
Juan Jose Garcia Ripoll
0aa5ea4b0e Annotate last change 2012-04-19 21:43:51 +02:00
Juan Jose Garcia Ripoll
7f8ac13aa2 :CDECL was not accepted as an FFI declaration due to a typo. 2012-04-19 21:35:54 +02:00
Juan Jose Garcia Ripoll
fb9c491a4f In atomic.d, include ecl_atomics.h only when needed. 2012-04-19 21:15:32 +02:00
Juanjo Garcia-Ripoll
12fd4b0ddd In mp-tools.lsp, leave some time for the threads to exit before counting the stray ones 2012-04-18 22:39:45 +02:00
Juanjo Garcia-Ripoll
b830540bf7 Do not load the C compiler when running the tests in Windows 2012-04-18 22:39:40 +02:00
Juanjo Garcia-Ripoll
5d0f084a06 In Windows, removed a test that uses 'ln' 2012-04-18 22:39:34 +02:00
Juanjo Garcia-Ripoll
92983005ed In the bytecodes compiler, export some symbols which are used in the ANSI test suite 2012-04-18 22:39:30 +02:00
Juan Jose Garcia Ripoll
c0b462b4a6 Deactivate regression tests of the C compiler when it is not available. 2012-04-17 23:10:09 +02:00
Juanjo Garcia-Ripoll
e00ffc768a Computation of pathnames in src/tests/config.lsp.in was broken under Windows 2012-04-17 23:08:59 +02:00
Juanjo Garcia-Ripoll
57cd6e3066 Minor changes to add the new MP objects to the MSVC port and new code for waking up processes in this platform. 2012-04-16 23:35:40 +02:00
Juan Jose Garcia Ripoll
d93cefad6e Thanks to the chained wakeup event, ecl_wakeup_waiters() does no longer need an extra argument 2012-04-15 23:22:22 +02:00
Juan Jose Garcia Ripoll
d6f806af2c Update description of ecl_wait_on(). 2012-04-15 23:08:56 +02:00
Juan Jose Garcia Ripoll
323822457c In the queue, when the first process of the queue leaves it, it awakes the next one in line to test its condition. 2012-04-15 22:48:33 +02:00
Juan Jose Garcia Ripoll
abf312520f Added tests for mailboxes 2012-04-15 22:45:44 +02:00
Juan Jose Garcia Ripoll
6a328b259c Added tests for 1-to-N blocking and non-blocking communication using semaphores 2012-04-15 22:45:07 +02:00
Juan Jose Garcia Ripoll
6328098b3b Remove numbers from the coverage tests of sem-001.lsp 2012-04-15 20:39:33 +02:00
Juan Jose Garcia Ripoll
0ce91a565d The mailbox did not set its mask properly 2012-04-15 20:39:09 +02:00
Juan Jose Garcia Ripoll
324f2c59cc Test that when we have N+M processes and we increase the semaphore count by N, only N awake. 2012-04-15 11:41:10 +02:00
Juan Jose Garcia Ripoll
65c5ac1410 Test that an interrupted resignals the awake message 2012-04-15 11:34:31 +02:00
Juan Jose Garcia Ripoll
6301581f3a Added tests for semaphores 2012-04-15 11:10:13 +02:00
Juan Jose Garcia Ripoll
a20b8b9218 ecl_wakeup_waiters now take an argument with the number of processes to awake 2012-04-15 11:09:42 +02:00
Juan Jose Garcia Ripoll
1141033a25 Added a new test form that ensures no processes are left behind 2012-04-15 10:18:59 +02:00
Juan Jose Garcia Ripoll
868f666533 Added a test to ensure the integrity of mutexes after interrupts. 2012-04-14 23:40:04 +02:00
Juan Jose Garcia Ripoll
264cdd8bb3 Upgraded ECL to a newer version 2012-04-14 20:57:26 +02:00
Juan Jose Garcia Ripoll
4358272f91 Corrected the list of aliases of the ISO-8859 character sets. 2012-04-14 20:48:56 +02:00
Juan Jose Garcia Ripoll
b987c38ab5 New tests for mutexes 2012-04-14 20:36:49 +02:00
Juan Jose Garcia Ripoll
c9f99769eb The code for generating functions with a number of arguments that exceeds c-arguments-limit was lost 2012-04-14 20:36:28 +02:00