Commit graph

5489 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
3fc09351ea Final changes to make all accessors generic functions, including the MOP standard ones, avoiding infinite recursion. 2012-10-07 22:09:44 +02:00
Juan Jose Garcia Ripoll
53ffe3dd40 The dispatch protocol for generic functions no longer uses generic functions for accessing slots. The comments explain why. 2012-10-07 22:09:44 +02:00
Juan Jose Garcia Ripoll
ed78ecd2ea Fixed accessor redefinition (recursion problem still persists) 2012-10-07 22:09:44 +02:00
Juan Jose Garcia Ripoll
0563353926 Add missing copyright to stdmethod.lsp 2012-10-07 22:09:44 +02:00
Juan Jose Garcia Ripoll
2f51a8ee7a boot.lsp also creates standard-accessor-method classes 2012-10-07 22:09:44 +02:00
Juan Jose Garcia Ripoll
3eb0de2392 Reimplemented early make-method using with-early-make-instance 2012-10-07 22:09:44 +02:00
Juan Jose Garcia Ripoll
ec9b297701 Redo first-to-last change 2012-10-07 22:09:43 +02:00
Juan Jose Garcia Ripoll
376b17fde8 Undo the change that creates accessors 2012-10-07 22:09:43 +02:00
Juan Jose Garcia Ripoll
863aa5efdc Slot accesors are generic functions, they do not have a C name 2012-10-07 22:09:43 +02:00
Juan Jose Garcia Ripoll
ff18eac6ba Add missing quote in standard.lsp 2012-10-07 22:09:43 +02:00
Juan Jose Garcia Ripoll
3fdb849d65 Bootstrap accessors are now created as closures. 2012-10-07 22:09:43 +02:00
Juan Jose Garcia Ripoll
b0eeaabe26 Changed the boot order to create the classes before the generic functions utilities in kernel.lsp are available. 2012-10-07 22:09:43 +02:00
Juan Jose Garcia Ripoll
b390d289b5 Split from boot.lsp anything not related to the class hierarchy 2012-10-07 22:09:43 +02:00
Juan Jose Garcia Ripoll
409d27df97 Implemented WITH-EARLY-ACCESSORS to avoid using actual functions when bootstrapping the classes 2012-10-07 22:09:43 +02:00
Juan Jose Garcia Ripoll
bc2ddb6539 Change the syntax of early-make-instance to make it a with- macro where the instance can be early referenced 2012-10-07 22:09:43 +02:00
Juan Jose Garcia Ripoll
d799c7a4e7 All accessors are redefined as generic functions after bootstrapping ECL 2012-10-05 23:04:12 +02:00
Juan Jose Garcia Ripoll
5acf316523 The bootstrap version of ensure-generic-function is more complete 2012-10-05 22:35:05 +02:00
Juanjo Garcia-Ripoll
a691f4cc5b standard-generic-function and standard-method are now in boot.lsp 2012-10-05 17:05:54 +02:00
Juanjo Garcia-Ripoll
f79a276452 method, funcallable-standard-object and generic-function are now created in boot.lsp 2012-10-05 16:53:37 +02:00
Juanjo Garcia-Ripoll
3409980ba5 Save some space in boot.lsp by removing explicit metaclasses in the list 2012-10-05 16:02:52 +02:00
Juanjo Garcia-Ripoll
632e208a5c Builtin in classes are now also created in boot.lsp 2012-10-05 16:00:04 +02:00
Juanjo Garcia-Ripoll
add4b1bb29 The classes array is created in boot.lsp 2012-10-05 15:55:12 +02:00
Juanjo Garcia-Ripoll
4713332cf3 The whole class hierarchy root is built by make-empty-standard-class, without extra statements outside it 2012-10-05 15:38:02 +02:00
Juanjo Garcia-Ripoll
c5886d2471 Add functionality to MAKE-EMTPY-SSTANDARD-CLASS 2012-10-05 15:14:55 +02:00
Juan Jose Garcia Ripoll
afafaae325 file.d now signals file-errors and stream-errors when stream operators fail due to the C library 2012-10-02 00:39:24 +02:00
Juan Jose Garcia Ripoll
42f0b2eaa5 Fixed problems in ecl_register_current_thread(). First, allocation of environment and process structures could not proceed when ecl_process_env() did not return a valid environment. Second, we can only call GC_unregister_my_thread() when the thread was not created by the garbage collector itself, for which we must inspect the output of GC_register_my_thread() 2012-09-27 23:06:56 +02:00
Juan Jose Garcia Ripoll
87a529c883 Move on and use gc-unstable 2012-09-27 23:05:20 +02:00
Juan Jose Garcia Ripoll
160b29795c The errors when loading a shared library were stored in the wrong field in the codeblock 2012-09-24 22:16:57 +02:00
Juan Jose Garcia Ripoll
554fc892d4 In some circumstances, gethash acting on a weak hash would return corrupt values 2012-09-21 23:02:44 +02:00
Juan Jose Garcia Ripoll
ce653d889d Do not hard-code the name of generic function accessors in compiled code 2012-09-16 22:37:24 +02:00
Juan Jose Garcia Ripoll
91356f2db9 List CMP as a dependency of PREBUILT-ASDF (M. Cox) 2012-09-15 22:09:41 +02:00
Juan Jose Garcia Ripoll
dfc94901c4 delete-file, rename-file, chdir, mkdir and chmod now signal file-errors 2012-09-02 21:46:38 +02:00
Juan Jose Garcia Ripoll
5f4c7eee93 Coercions needed to compile on Windows with C++ compiler. 2012-08-25 00:24:46 +02:00
Juanjo Garcia-Ripoll
c020d37dda In setf.lsp, define-modify-macro destructively modified a variable (all-vars) which was used later in the same form 2012-08-24 15:17:16 +02:00
Juanjo Garcia-Ripoll
d6b3e9ff67 Fixed typos (R.J.Alcantara) 2012-08-23 11:24:44 +02:00
Juan Jose Garcia Ripoll
215647b3d0 Separate filed in the stream object to store the file column 2012-08-21 22:51:38 +02:00
Juan Jose Garcia Ripoll
3e44d52978 Fixed typo in _ecl_big_set_fixnum() for (long < cl_fixnum) 2012-08-19 22:15:45 +02:00
Juan Jose Garcia Ripoll
806a6553f7 Fix further typos: long_Long instead of long_long 2012-08-19 21:25:43 +02:00
Juan Jose Garcia Ripoll
ca370bf29f New symbol :win64 needed by ffi.d 2012-08-19 20:41:40 +02:00
Juan Jose Garcia Ripoll
e1d9bbaf77 ECL's check for the integer sizes did not use the right printf macros to print long long numbers 2012-08-19 20:40:28 +02:00
Juan Jose Garcia Ripoll
0a0f5c4583 winsock_stream_listen() was broken -- it relied on old code for unread_char. 2012-08-18 20:21:06 +02:00
Juan Jose Garcia Ripoll
158f4281f7 Fix bytecode disassembler for OP_GO 2012-08-18 20:19:59 +02:00
Juan Jose Garcia Ripoll
db7c2edf2e wait-for-all-processes must take a :process argument because is also a signal catcher (J. James) 2012-08-15 20:58:04 +02:00
Juan Jose Garcia Ripoll
1112bb12fb Add prototypes for functions in gc/private/gc_priv.h which are needed by ECL. 2012-08-15 20:14:18 +02:00
Juan Jose Garcia Ripoll
e68d07fd86 Fixed uninitialized variable to keep compiler happy. 2012-08-15 20:12:00 +02:00
Juan Jose Garcia Ripoll
8bcda88165 Fixed typo in hash.d 2012-08-15 20:11:03 +02:00
Juan Jose Garcia Ripoll
c5789e152c Fixed typo ulong_Long -> ulong_long 2012-08-15 20:10:18 +02:00
Juan Jose Garcia Ripoll
d7a072b4ad Removed unused statements in unixint.d 2012-08-15 20:02:55 +02:00
Juan Jose Garcia Ripoll
c1794d9c38 No need to save errno in fpe_signal_handler because this handler does not return. 2012-08-15 20:02:18 +02:00
Juan Jose Garcia Ripoll
fa09c80800 Add support for dragonfly as a target name 2012-08-15 19:53:39 +02:00