Commit graph

2746 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
d9d787f84d Set the value of the new field array.hasfillp to zero 2009-07-21 22:20:41 +02:00
Juan Jose Garcia Ripoll
fd8dca7a4d We have to allocate and set the environment before being able to call alloc_process in ecl_import_current_thread. 2009-07-15 15:27:13 +02:00
Juan Jose Garcia Ripoll
2ca580b13c New routines to convert lisp objects to 'int', 'long' and 'bool'. 2009-07-15 15:19:08 +02:00
Juan Jose Garcia Ripoll
eb4b073e8b CIS, ASIN, ACOS, ASINH, ACOSH and ATANH now use the calling convention for functions with a fixed number of arguments 2009-07-12 23:47:24 +02:00
Juan Jose Garcia Ripoll
fb5306016c The previous improvement for FEreader_error broke the cases in which it is used as FEparser_error (i.e. stream = Cnil). 2009-07-12 23:39:27 +02:00
Juan Jose Garcia Ripoll
3e761f0ef5 Report file position in reader errors 2009-07-09 23:12:33 +02:00
Juan Jose Garcia Ripoll
172636807b Changed the order of C flags so that the user supplied include directories are searched last. 2009-07-05 17:11:23 +02:00
Juan Jose Garcia Ripoll
39d9ee467d Implemented C function for inlining ARRAY-DIMENSION 2009-07-04 19:54:23 +02:00
Juan Jose Garcia Ripoll
509166541b New error functions that will be used in compiled code 2009-07-04 17:17:23 +02:00
Juan Jose Garcia Ripoll
72b1843963 Reintroduce bounds checks in ecl_elt/ecl_elt_set 2009-07-03 18:51:54 +02:00
Juan Jose Garcia Ripoll
f78b7ad8fc ecl_elttype_to_symbol() uses now a name table instead of dispatching with switch. 2009-07-03 14:48:56 +02:00
Juan Jose Garcia Ripoll
4ef65fa6cc Reordering statements in ecl_{aset,aref} gives 25% speedup 2009-07-03 14:34:24 +02:00
Juan Jose Garcia Ripoll
8a3c9cea2c Remove the call to ecl_array_elttype() in ecl_aset_unsafe 2009-07-03 09:35:35 +02:00
Juan Jose Garcia Ripoll
2dc460e7a5 Implement new error functions for array and vector types. 2009-07-03 09:35:06 +02:00
Juan Jose Garcia Ripoll
535863ff57 Consistently with SBCL, array type errors are not recoverable 2009-07-03 09:19:21 +02:00
Juan Jose Garcia Ripoll
95fc3c6413 Create really unchecked versions of aref/aset 2009-07-03 00:25:38 +02:00
Juan Jose Garcia Ripoll
866d8c8604 The array element type is stored in the arrays, vectors and strings, thus simplifying identification and code. Slight speedup in ecl_aref. 2009-07-02 23:48:20 +02:00
Juan Jose Garcia Ripoll
bb2c54296d Ack was already defined. 2009-07-02 23:12:10 +02:00
Juan Jose Garcia Ripoll
e0d4aea4e8 Additional character names, for compatibility with older versions. 2009-07-02 23:08:33 +02:00
Juan Jose Garcia Ripoll
1531a8b36e Move the definition of _XOPEN_SOURCE out of ecl.h so that we can use MAP_ANON. 2009-07-02 17:55:56 +02:00
Juan Jose Garcia Ripoll
1b98007713 ECL no longer uses non portable pthreads attributes (*_NP), moving to the standard names also in Linux. Threads are created in a detached state to avoid leaking resources (M. Mondor). Thread and mutex attributes are created only once (M. Mondor). 2009-07-02 10:29:20 +02:00
Juan Jose Garcia Ripoll
7becd5f3dd The value of process.parent has to be set _before_ the thread starts. 2009-07-02 00:39:59 +02:00
Juan Jose Garcia Ripoll
36119c352e WITH-ECL-IO-SYNTAX also binds *pprint-dispatch-table* 2009-06-22 13:19:36 +02:00
Juan Jose Garcia Ripoll
72a003a392 WITH-STANDARD-IO-SYNTAX now also rebinds *print-pprint-dispatch*. 2009-06-22 13:16:16 +02:00
Juan Jose Garcia Ripoll
34a1ec234b The *package* in standard-io-syntax is CL-USER not CL. 2009-06-22 13:03:07 +02:00
Juan Jose Garcia Ripoll
e8de79cac5 ECL now has two sets of reader/printer settings, si:+io-syntax-progv-list+ and si:+ecl-syntax-progv-list+. The latter is used both by the compiler and by the FASL file loader, and allows for lest interference from the user side -- i.e. it is not affected by changes in the readtable, such as case preservation, etc. 2009-06-22 13:00:18 +02:00
Juan Jose Garcia Ripoll
0bf0cfbbae Factor out the guts of PROGV into a function ecl_progv() shared by the interpreter and the compiler. 2009-06-19 14:49:29 +02:00
Juan Jose Garcia Ripoll
f89b5dd1b6 Add symbol SI:+IO-SYNTAX-PROGV-LIST+ to the list of symbols created at boot time. 2009-06-19 14:49:02 +02:00
Juan Jose Garcia Ripoll
0e89f235c4 Implement read-only readtables to avoid copying the standard readtable when this value is requested. 2009-06-19 11:12:49 +02:00
Juan Jose Garcia Ripoll
1e82630de0 Change obsolete comment. 2009-06-17 23:36:44 +02:00
Juan Jose Garcia Ripoll
627ee2e6b7 Even though #\Linefeed and #\Newline are the same character, only the later name must be output by CHAR-NAME 2009-06-17 23:32:31 +02:00
Juan Jose Garcia Ripoll
59a967985e si_get_library_pathname does two new things:
1) it saves the value it computes.
  2) it verifies with probe-file that the directory exists.
If this is not the case ECL must abort.
2009-06-17 23:29:47 +02:00
Juan Jose Garcia Ripoll
2366db3d38 The previous change to function-lambda-expression is incompatible with the specification 2009-06-17 23:27:01 +02:00
Juan Jose Garcia Ripoll
b5fc311d62 Changed the initialization sequence so that *default-pathname*defaults* is set before we call si_get_library_pathname in read_char_database. Fix cl_truename so that when producing directories it sets the version to NIL. 2009-06-17 21:43:26 +02:00
Juan Jose Garcia Ripoll
716aaae799 Fixed type mismatch by conversion of formatted string to base-string (D Statyvka) 2009-06-17 20:27:57 +02:00
Juan Jose Garcia Ripoll
864fc6578c If ECLDIR has no trailing / use TRUENAME to reinterpret is as a directory. 2009-06-17 20:25:10 +02:00
Juan Jose Garcia Ripoll
40d7f14305 TRUENAME now properly reinterprets file pathnames as directory pathnames if the file system shows that the user supplied a wrong value. 2009-06-17 20:20:04 +02:00
Juan Jose Garcia Ripoll
4825462d9e Better check and process the output of gray::stream-read-char 2009-06-17 20:07:05 +02:00
Juan Jose Garcia Ripoll
8c6d1908ae Fixed a problem with SI:MKSTEMP under windows (D. Statyvka) 2009-06-17 20:02:12 +02:00
Juan Jose Garcia Ripoll
fb03685bf4 Reimplemented winsock streams using the new file structures (D. Statyvka) 2009-06-17 20:00:43 +02:00
Juan Jose Garcia Ripoll
627885357f si_get_library_pathname() returned a file name, not a directory namestring 2009-06-17 19:58:44 +02:00
Juan Jose Garcia Ripoll
2d192b0e96 Allow not to read all Unicode database at once (i.e. fread may read smaller chunks) (Dmitry Statyvka) 2009-06-17 19:52:47 +02:00
Juan Jose Garcia Ripoll
4c4b79d9ce FUNCTION-LAMBDA-EXPRESSION now returns a fourth value, the definition of a bytecodes object. 2009-06-17 09:47:54 +02:00
Juan Jose Garcia Ripoll
43043075ac When inspecting the special variable binding stack one finds ubound variables. They are now signaled by the SI:UNBOUND constant 2009-06-17 09:45:46 +02:00
Juan Jose Garcia Ripoll
b26c0d723e Set the in/out/error streams to LATIN1 encoding under Windows 2009-06-16 21:16:32 +02:00
Juan Jose Garcia Ripoll
7b55f82df7 #\Linefeed was removed from the list of valid char names by a previous commit. 2009-06-15 17:58:58 +02:00
Juan Jose Garcia Ripoll
8c0480f7e4 Only declare the feature :ieee-floating-point when built --with-ieee-fp 2009-06-15 13:59:45 +02:00
Juan Jose Garcia Ripoll
bff3f5ee3b Only include unistd.h in non-Windows ports. 2009-06-15 00:41:29 +02:00
Juan Jose Garcia Ripoll
cf1aa3dfc3 ATAN now provides a better approximation to PI/2 when working with long doubles 2009-06-14 23:32:46 +02:00
Juan Jose Garcia Ripoll
2acd731e9e (MINUSP -0.0) => NIL 2009-06-14 23:20:03 +02:00