Commit graph

5877 commits

Author SHA1 Message Date
Arto Bendiken
7eb2d3bdca Suppressed a spurious -Wsometimes-uninitialized build warning.
See: https://sourceforge.net/p/ecls/bugs/293/
2014-09-22 21:29:20 +00:00
Arto Bendiken
2653c0915d Corrected the help text for the --enable-threads feature.
See: https://sourceforge.net/p/ecls/patches/33/
2014-09-22 12:54:04 +00:00
Daniel Kochmański
fa6a345055 c/Makefile.in: fixed multiple-job build of ecl.
make -jX was failing due to unresolved dependencies to dpp.

See: https://sourceforge.net/p/ecls/patches/37/
Signed-off-by: Arto Bendiken <arto@bendiken.net>
2014-09-22 12:40:37 +00:00
Matthew Stickney
76a84246b0 Fix si:bind-simple-handlers.
Call the right local function, SIMPLE-RESTART-FUNCTION not
SIMPLE-HANDLER-FUNCTION.
2014-08-20 18:11:28 +04:00
Stas Boukarev
f67bbd42bc COERCE: report the original type in case of errors.
The expanded type isn't really helpful.
2014-07-13 01:50:14 +04:00
Stas Boukarev
6929a33f38 Fix a typo in coerce.
VECTOR => VECTORP.

Reported by Chris Schafmeister.
2014-07-13 01:38:24 +04:00
Stas Boukarev
d9e3be4605 Update ASDF to 3.1.2. 2014-06-12 03:18:06 +04:00
Philipp Marek
997412481c Add two "t_string" cases, as the reader now always returns STRINGs.
See http://article.gmane.org/gmane.lisp.ecl.general/10410 for a discussion.
2014-05-04 20:46:14 +02:00
Philipp Marek
e6ad5fa90e Add the code-walker back to ECL.
This makes eg. WALKER:MACROEXPAND-ALL available again.
2014-04-28 07:51:27 +02:00
Philipp Marek
34253898c7 Not only BASE-STRINGs but STRINGs may be package-specifiers, too.
Needed because quoted strings are read now always read as STRING.
2014-04-28 07:42:06 +02:00
Philipp Marek
4cb3d7c17b double_quote_reader(): Reference the discussion on ecls-list. 2014-04-27 10:54:30 +02:00
Philipp Marek
d2aa6f957e Trying to fix closure-common.
RUNEs and RODs are not compatible with the result
of (RUNES:RUNE), because that returns (STRING ...), and

  (TYPE-OF "Σ") has CHARACTERS, but
  (TYPE-OF "a") "only" BASE-CHARs ...

At least CLISP, ABCL, SBCL return the same value for both
TYPE-OF forms above.
2014-04-26 20:01:47 +02:00
Philipp Marek
81373b1510 --with-debug 2014-03-20 20:44:03 +01:00
Philipp Marek
52bbd35150 Redefine CL:FILE-POSITION for GRAY, too. 2014-03-20 20:44:03 +01:00
Philipp Marek
d1725e1930 Ignore some generated test files, too. 2014-03-09 21:06:53 +01:00
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