Commit graph

334 commits

Author SHA1 Message Date
Marius Gerbershagen
5cd97358af 21.2.1 release 2021-01-30 19:27:41 +01:00
Daniel Kochmański
7908ba8003 refactor: remove the file symbols_list2.h
The file symbols_list2.h was automatically generated from the file
symbols_list.h for dpp. This commit unifies said structure definition and
removes a step for generating symbols_list2.h.

From now on at runtime the structurecl_symbol_initializer has an additional
element storing the function name. That will help solving #543.
2020-12-23 12:08:33 +01:00
Pritam Baral
a1b2909b8a s/TCP/ECL_TCP/ among preprocessor defines 2020-11-22 21:04:16 +00:00
Marius Gerbershagen
e0bf0f5ac2 gc: remove unnecessary workarounds for old bdwgc versions 2020-05-10 19:47:05 +02:00
Daniel Kochmański
eea597de34 20.4.24 release
Announcement proposal. When this is merged to the develop branch, then
we should make a PR against master and merge. Then we shall publish
tarballs and the announcement on the website.
2020-04-21 11:24:02 +02:00
Marius Gerbershagen
f76bd95786 fix array dimension limit for msvc win64 2020-03-07 22:26:43 +01:00
Marius Gerbershagen
14fa51f172 fix config.h for MSVC win64 2020-03-01 18:49:50 +01:00
Yuguo Zhang
b59bbd6164 restore 21bit unicode on windows msvc build
ecl_character is a signed type actually,
16bit signed short is not big enough to hold big charsets, such as
CP936.

this commit rolls back 74b67347.
2020-02-26 11:36:34 +08:00
Marius Gerbershagen
c301b108a7 bignums: don't use ecl_alloc_atomic for gmp
The gmp manual (https://gmplib.org/manual/Custom-Allocation.html) states

> GMP may use allocated blocks to hold pointers to other allocated
  blocks. This will limit the assumptions a conservative garbage
  collection scheme can make.

Thus we can't use ecl_alloc_atomic. We could just use ecl_alloc
instead, however our implementation is already structured in such a
way that it is sufficient to use ecl_alloc_uncollectable. The reason
for that is that currently all bignums except those in the bignum
registers in the thread local environment are allocated as compact
objects so that we only need to call mpz_clear for the few non-compact
objects in the bignum registers.

See also commits 7b536161 and bd48b859.
Fixes #485.
2020-01-04 17:49:08 +01:00
Marius Gerbershagen
d7b2dfb722 Change handling of C stack size
Previously: unconditionally use the size from ECL_OPT_C_STACK_SIZE if
it is larger than the OS provided value and if possible resize the
stack at runtime.

Now: Use ECL_OPT_C_STACK_SIZE if provided. Otherwise, use a) the OS
provided value if we can resize the stack at runtime (for Unix) or b)
the new build option ECL_DEFAULT_C_STACK_SIZE (1 MB) if we can set the
stack size at link time (for Windows).
2019-12-26 19:13:31 +01:00
Marius Gerbershagen
a2319d3150 unixsys: check for system() in configure
Don't let a non-available system() function (happens e.g. on iOS)
prevent us from compiling ECL.
2019-12-08 10:26:52 +01:00
Daniel Kochmański
8b82c98cac Merge branch 'alt-fix-513' into 'develop'
Fix 513 2nd try

Closes #514

See merge request embeddable-common-lisp/ecl!159
2019-08-16 18:44:23 +00:00
Exaybachay
30f1ffcd5d buildsystem: remove unnecessary nodefaultlib linker flags(msvc)
MS link.exe can pick the right crt libraries according to the compiler flags,
such as /MD, /MDd etc.

So we remove them to keep the command line tidy and clean.
2019-07-26 11:55:52 +08:00
Daniel Kochmański
903156b8d6 preprocessor: error when ECL_C_ARGUMENTS_LIMIT changes
This is a canary which errors when code needs to be adjusted. When
appropriate definitions are added the error condition should be
changed accordingly.
2019-07-19 14:30:50 +02:00
Marius Gerbershagen
b891630699 ieee-fp: introduce new macro for toggling between Lisp and C fpe
This is primarly useful for embedding. Lisp code can be safely
executed without leaking the floating point environment into other C
code.
2019-06-30 13:01:06 +02:00
Daniel Kochmański
5dd4174225 msvc: gmp: add mpq sources 2019-05-05 10:38:02 +02:00
ZhangYuguo
913cab0bf9 enable long float support on windows msvc build.
since c99 is mandatory now, we should never consider msvc6 anymore.
2019-02-19 15:11:23 +08:00
ZhangYuguo
5eeae0d823 build system: suppress some logo(copyright) information for msvc toolchains. 2018-09-23 13:41:22 +00:00
Marius Gerbershagen
a3a44a0eeb debugger: add C backtrace for windows
Because that needs the DbgHelp library, an additional make
    option has been defined for users, who don't want to link to this
    library. Some msvc Makefile cleanup has also been done.
2018-05-08 19:36:11 +02:00
Yuguo Zhang
008422d75d add missing obj files to msvc Makefile 2018-05-07 11:02:59 +08:00
Daniel Kochmanski
0494fb1592 Moderate interface cleanup
- unicode name tables are always compiled in when we have unicode support
- thread local variables support is removed
- profile and rt contribs are deprecated
2018-05-01 10:16:20 +02:00
Daniel Kochmanski
c3244b0148 Remove deprecated 8-bit opcodes 2018-04-29 13:54:38 +02:00
Yuguo Zhang
74b673479e using 16bit unicode on windows platform.
because windows using utf16 internally, by using 16bit unicode chararcter,
there is no need to convert ecl_character to wchar_t in embedding
environment.
2017-08-08 14:10:58 +08:00
Yuguo Zhang
4a3418502c minor MSVC version modifications
due to C99 compilance, you need msvc 2013 at least to build ECL.
2017-08-08 13:14:15 +08:00
Yuguo Zhang
39ccfeaec9 windows build system clean/tidy up
upgrad yasm version from 1.2.0 to 1.3.0
2017-06-05 12:53:11 +08:00
Yuguo Zhang
fb716b4291 windows build system clean/tidy up
upgrade yasm version from 1.2.0 to 1.3.0
2017-06-05 12:49:12 +08:00
Daniel Kochmanski
4ace366a6e cleanup: remove leftover definition
ecl_dynamic_ffi was removed long time ago.
2017-05-13 18:53:55 +02:00
Daniel Kochmanski
72e422f1b3 cleanup: remove hierarchical packages interface
It didn't work for some cases and wasn't documented, so I'm removing
it. Freshly written tests are left in tests for someone, who would
like to reimplement them.
2017-05-13 18:06:26 +02:00
Daniel Kochmanski
716ab71010 windows: fix make check 2017-03-17 11:53:52 +01:00
Daniel Kochmański
e3b8c3a668 msvc: improve clean targets
Contributed on GitLab by @Exaybachay.
2017-02-17 09:01:06 +01:00
Daniel Kochmański
f4d0df651b buildsystem: fix for old msvc
Old MSVC apparently things, that char = unsigned char. Add explicit
prefixes to typedefs.

This is backward-compatibility fix, because this version of msvc doesn't
support some c99 types.

Reported and fixed by Jón Hallur Haraldsson.
2017-02-01 12:56:41 +01:00
Daniel Kochmański
8e621114d0 release: bump ECL version number 2016-12-13 09:19:13 +01:00
Daniel Kochmanski
a60d480c83 msvc: improve makefile 2016-11-09 10:18:25 +01:00
Daniel Kochmanski
0f7bee221d windows: fix nmake to have config-internal 2016-11-09 09:54:33 +01:00
Daniel Kochmański
3f3af5275d buildsystem: configpre (wip) 2016-10-08 12:00:07 +02:00
Daniel Kochmański
8f5d92f59a buildsystem: remove spurious target 2016-10-07 10:25:24 +02:00
Fabrizio Fabbri
3ff0b11f7b msvc 2015 - client will break if integer types are redefined on this compiler. 2016-09-07 11:18:56 -04:00
Daniel Kochmański
1398fd381a cleanup: purge clx 2016-09-07 14:58:50 +02:00
Fabrizio Fabbri
8fed1fa97d Fixed VS2010/2015 build.
- Fix #213
- Commit 10bd3b61 removed dffi code. Reflect that on nmake build.
2016-07-21 04:45:28 -04:00
Fabrizio Fabbri
5f032e2dfa Fix MSVC compilation 2016-05-12 13:09:54 -04:00
Daniel Kochmański
a2773fa7e6 version: bring back the last release version
Rationale: we need to keep sane release versioning.
2016-04-18 10:46:15 +02:00
Daniel Kochmański
597552cdcd version: update to 16.1.4 2016-03-26 07:06:41 +01:00
Daniel Kochmański
d1dfca4ca2 version: remove -dev suffix
Causes problems on OSX. Fixes #234.
2016-03-21 12:04:00 +01:00
Daniel Kochmański
1a8f0decf2 Merge branch 'fix-c-nested-closures' into develop 2016-03-12 10:01:57 +01:00
Daniel Kochmański
6ff5d20417 unify: remove obsolete interface 2016-03-11 16:06:45 +01:00
Daniel Kochmański
f99e31f21b version: bump to 16.1.3-dev 2016-03-10 14:32:35 +01:00
Daniel Kochmański
e94d397c09 dev: add development tag to the version 2016-03-07 21:46:13 +01:00
Daniel Kochmański
7764053647 buildsys: fix Copyright->LICENSE, README.1st->README.md 2016-03-01 10:49:37 +01:00
Daniel Kochmański
093ba0ab62 Merge branch 'signals' into develop 2016-02-03 15:14:33 +01:00
Daniel Kochmanski
cd2e04bb22 windows: some love for this poor system 2016-02-03 15:13:39 +01:00