Commit graph

5862 commits

Author SHA1 Message Date
Philipp Marek
8d9bbf19e4 New test for the PACKAGE-LOCK bad return value. 2014-03-09 21:05:37 +01:00
Philipp Marek
6f47036d4d Merge remote-tracking branch 'origin/master' 2014-03-09 20:59:39 +01:00
Philipp Marek
77a267c7e4 Make (EXT:PACKAGE-LOCK) return the promised value.
The (possibly invalid!) pack.locked was returned; for STRING inputs
the field aliased to "elttype", which was eg. 0xf for t_base_strings.
2014-03-09 20:35:43 +01:00
Philipp Marek
e161690265 Fixed a typo. 2014-03-09 20:31:59 +01:00
Philipp Marek
a0ac887946 Provide two more 'make' dependencies for the regression tests. 2014-03-08 21:21:29 +01:00
Philipp Marek
990e0d1c15 Only skip copying test files if the destination is at least as fresh. 2014-03-08 21:21:29 +01:00
Philipp Marek
c390b93b21 Regression test for sf286: Don't depend on swank being loaded. 2014-03-08 21:21:28 +01:00
Philipp Marek
23635ebcf3 Added tests for Stas' latest bugfixes. 2014-03-08 21:21:27 +01:00
Stas Boukarev
a2a23bee12 ensure-generic-function-using-class: don't use NAME for reinitialization.
MOP says that when ensure-generic-function-using-class is called with
a generic function, it just calls reinitialize-instance with
the supplied initargs.

http://www.alu.org/mop/dictionary.html#ensure-generic-function-using-class

Fixes #283.
2014-03-08 02:29:46 +04:00
Philipp Marek
bc2189741b Avoid breaking compilation if there's no ctags installed. 2014-03-02 21:56:10 +01:00
Stas Boukarev
3f0ce7f7d4 Fix VALUES declaration processing.
A change to C::SPLIT-VALUES-TYPE got the order reversed.

Fixes #275.
2014-03-02 21:45:45 +01:00
Stas Boukarev
e2e53dc679 Fix FTYPE declaration to X from being applied to (SETF X).
C1LAMBDA-EXPR used the block-name to get declarations, but BLOCK name
is a symbol, and for a function named (SETF X) the block would have
the name X, resulting in wrong declarations.

Fixes #262.
2014-03-02 21:36:56 +01:00
Stas Boukarev
d4f3997bda Fix MULTIPLE-VALUE-BIND not evaluating values-form.
(let (x) (multiple-value-bind () (setf x t)) x) returned NIL because
the values-form was discarded.
2014-03-02 21:36:23 +01:00
Philipp Marek
4c91aa1f1b Make TRACE write complete output lines instead of small fragments.
This increases performance, as eg. for SWANK much fewer packets have
to go across the wire.

The effective change is this:
  (princ
    (with-output-to-string (*trace-output*)
      ...
    *trace-output*))
2014-03-02 20:25:22 +01:00
Philipp Marek
c490e11a0b Fix wrong path for "ctags" operation. 2014-03-02 20:09:15 +01:00
Philipp Marek
7262dd7b0e Test for Sourceforge bug #286: miscompilation of (read-from-string). 2014-03-02 20:09:02 +01:00
Philipp Marek
3e9f5cafe1 Fix declaration that was activated by commit 285eb318,
"fixes for the detection of GC_start_call_back"
2014-02-27 20:47:53 +01:00
Philipp Marek
1e2fc6ed3b Fix ecl_eval to not have quotes by default.
When "$arg0 $arg1 ..." is specified, GDB requires that many arguments;
and with "$arg0" it's not possible to give expressions that include
spaces, because they get cut _before_ ecl_eval sees them.
(And having "$arg0" _and_ giving quotes doesn't work as we'd like to, too.)
2014-02-27 20:33:11 +01:00
Philipp Marek
3afe5932f4 Fix ecl_print, and new GDB function ecl_eval.
Used like this:
    (gdb) ecl_eval cl::*package*
2014-02-27 16:35:22 +01:00
D Herring
285eb31812 fixes for the detection of GC_start_call_back
- HAVE_GC_SET_START_CALLBACK was defined unconditionally
- there was no AC_DEFINE if system_boehm was false
- there was a typo in one usage site of this macro

see 6b754564f1
2014-02-27 09:43:21 +01:00
Philipp Marek
e3348dafe5 GDB: Don't print an object if the type is 0 (cl_start) - that seems unsafe. 2014-02-26 21:37:51 +01:00
Philipp Marek
efdf97e1ad Convenience function for printing "cl_object"s from GDB. 2014-02-26 21:15:05 +01:00
Philipp Marek
0cdae4ddf0 Provide a VIM-compatible tag file, too. 2014-02-26 21:14:36 +01:00
Philipp Marek
8c97a61099 Some documentation about debugging. 2014-02-26 21:14:22 +01:00
Philipp Marek
3ad584ee10 Test for SF bug #276. 2014-02-23 11:24:24 +01:00
Philipp Marek
2c001ccbdc Provide a list of failed tests. 2014-02-23 11:21:43 +01:00
Philipp Marek
348cc81afb Now we're using GIT; and some helpful remarks. 2014-02-23 11:21:20 +01:00
Stas Boukarev
5c9a58723a Fix NO-APPLICABLE-METHOD.
Its lambda-list should be (generic-function &rest function-arguments), not
(generic-function function-arguments).

Its value should be returned at the call site of the generic function.

Fixes #278.
2014-02-23 09:48:55 +01:00
Philipp Marek
2929636a14 #276 [PATCH]: printing hashtables readably is broken
https://sourceforge.net/p/ecls/bugs/276/
Thanks, Stas.
2014-02-22 12:27:26 +01:00
Philipp Marek
50ba000738 getprotobyname() may return NULL, causing segfaults in this function. 2014-02-22 11:00:53 +01:00
Juanjo Garcia-Ripoll
237af2e803 _hash_equalp() did not contain a case for bignums. 2013-10-29 23:47:54 +01:00
Juanjo Garcia-Ripoll
c8a4d98da6 (INTEGER *) and other type names made of lists are now allowed as declaration names. 2013-10-29 22:25:42 +01:00
Juanjo Garcia-Ripoll
c14c0918a3 Rebuild makefiles & configure using a more recent aclocal/automake 2013-10-28 22:45:46 +01:00
Juanjo Garcia-Ripoll
0ca6dbccbe Optimizations in with-lock: save reference to current process and use some fixnum comparisons. 2013-10-28 00:00:38 +01:00
Juanjo Garcia-Ripoll
312110ceca autom4te.cache got accidentally pulled into git. 2013-10-27 23:50:40 +01:00
Juanjo Garcia-Ripoll
40b1b33664 Merge branch 'master' of ssh://git.code.sf.net/p/ecls/ecl 2013-10-27 23:50:14 +01:00
Juanjo Garcia-Ripoll
bbe87569dd Fixed Automake'd files that were broken by Cygwin's copy. 2013-10-15 10:15:20 +02:00
Juanjo Garcia-Ripoll
3dd9b227bd Fixed typo 2013-10-15 09:57:25 +02:00
Juanjo Garcia-Ripoll
3a8cf6849c Fixed typo 2013-10-15 09:55:43 +02:00
Juanjo Garcia-Ripoll
3c14a1e2c5 Fixed proclamation of ensure-directories-exist 2013-10-15 09:48:59 +02:00
Juanjo Garcia-Ripoll
703257886f Fixed typo 2013-10-15 09:47:30 +02:00
Juanjo Garcia-Ripoll
db2925daf6 Fixed the routines that deal with VALUES types, extracting primary types, splitting them, etc 2013-10-10 23:45:37 +02:00
Juanjo Garcia-Ripoll
c0b23555c6 SPLIT-VALUES-TYPE and VALUES-TYPE-PRIMARY-TYPE redesigned to work with &allow-other-keys and empty &optional 2013-10-10 22:47:56 +02:00
Juanjo Garcia-Ripoll
e7daee08e8 Fixed wrong proclamation for ensure-directories-exist. 2013-10-09 21:41:57 +02:00
Juanjo Garcia-Ripoll
26dcbfecc4 Fixed problem with macroexpansion in acinclude.m4 2013-10-09 12:12:59 +02:00
Juanjo Garcia-Ripoll
f0e31ded05 Fixed declaration of GC_start_call_back 2013-10-06 22:39:11 +02:00
Juanjo Garcia-Ripoll
253ebbd38c The Windows GMP makefile must be updated, removing the functions which are not used. 2013-10-06 22:20:43 +02:00
Juanjo Garcia-Ripoll
d57e5b953c Remove the Jacobi & Kronecker functions also from gmp/mpz 2013-10-06 22:20:18 +02:00
Juanjo Garcia-Ripoll
2b4d243785 Remove GMP tests and doc directories 2013-10-06 22:19:48 +02:00
Juanjo Garcia-Ripoll
a73e7842ae Removed Kronecker and Jacobi functions from GMP/mpz 2013-10-06 22:00:55 +02:00