Commit graph

2891 commits

Author SHA1 Message Date
Alex Shinn
f5b2ba6fe3 nicer error for bad images 2018-01-07 23:54:31 +09:00
Alex Shinn
fd3e1f10d3 last arg of fn body should be displayed 2018-01-07 15:05:29 +09:00
Alex Shinn
a328b3fb4a re-enable fixed tests 2018-01-07 14:53:03 +09:00
Alex Shinn
f29a404324 buffer pretty output to work in columnar 2018-01-07 14:42:52 +09:00
Alex Shinn
b9172a366c
Merge pull request #450 from okuoku/win32-cmake
Misc. fixes for Windows build
2018-01-04 14:09:19 +09:00
Alex Shinn
13a28c3090 Merge branch 'master' of https://github.com/ashinn/chibi-scheme 2018-01-03 22:31:46 +09:00
okuoku
12751c8d7b Update .gitignore 2017-12-31 07:32:23 +09:00
okuoku
98d73d0da2 cmake: Exclude (chibi process) test on CTest
(chibi process) is not implemented on Win32.
2017-12-31 07:32:22 +09:00
okuoku
9e773f3daf (chibi filesystem): Stub out several features on Win32
- Win32 does not support symbolic links generally (NTFS does support it
  but it is not available for non-root users until Win10)
- Win32 does not have block size on stat() API
2017-12-31 07:32:22 +09:00
okuoku
3ea5b51c6c cmake: Remove debug messages 2017-12-31 07:32:22 +09:00
okuoku
6f64a8ae0e AppVeyor: Add CMake x64 MinGW configuration to check 2017-12-31 07:32:22 +09:00
Alex Shinn
eeaace2c50 adding (chibi show c) 2017-12-30 18:36:28 +09:00
Alex Shinn
3aeb753fd8
Merge pull request #448 from weinholt/leap-seconds
Update leap second list
2017-12-25 12:16:31 +09:00
Göran Weinholt
49e9f0e532
Update leap second list 2017-12-24 20:03:37 +01:00
Alex Shinn
779b0cf02a
Merge pull request #447 from okuoku/win32-cmake
Makefile: Fix Cygwin build
2017-12-14 20:46:13 +09:00
okuoku
c3cbd9a2e2 Makefile: Fix Cygwin build
Fix Cygwin build; gmake's $(OS) will yield Windows_NT even on Cygwin.
2017-12-14 20:32:15 +09:00
Alex Shinn
27d8174518
Merge pull request #446 from okuoku/win32-cmake
Win32: Wrap-up
2017-12-14 20:05:21 +09:00
okuoku
daaf011bbd cmake: Autodetect library tests 2017-12-14 19:20:21 +09:00
okuoku
1cd679e3fa README-win32.md: Character-case problem was fixed 2017-12-14 18:03:27 +09:00
okuoku
1cba43a220 SRFI-151: Fix bit-set? on Win64 which uses long long
Most "1UL" references on bitwise operations should be replaced with
explicit C cast.
2017-12-14 18:03:23 +09:00
okuoku
dee6f190d9 doc: Update document for Win32 support 2017-12-13 23:42:18 +09:00
okuoku
7c45b4ab0e Makefile: Prefer Win32 native over MSYS
Prefer Win32 native over MSYS on default build. MSYS still can be
choosen with "PLATFORM=msys".
2017-12-13 22:00:13 +09:00
okuoku
d313f85b16 (chibi disasm): Use %I64d on Win64 2017-12-13 22:00:13 +09:00
okuoku
4d4b6f0474 ast.c Win32: Workaround for MinGW header file
getenv_s should be in <stdlib.h> but it seem MinGW header lacks it.
2017-12-13 22:00:13 +09:00
okuoku
070f2925c4 (chibi filesystem) Win32: A bit more shims
Implement more shims.
2017-12-13 22:00:07 +09:00
okuoku
e46bd03239 (chibi win32 process-win32): New library
Implement Win32 specific process library. Currently the library only
provides `exit` procedure.
2017-12-13 19:04:04 +09:00
okuoku
da7b68f82e SRFI-98: Do not decl. environ as extern on Win32
On Win32, environ definition is included in <stdlib.h>.
2017-12-13 17:30:36 +09:00
okuoku
d51a9e976b (chibi io) Win32: Include <io.h> on port.c
Include <io.h> to use various POSIX-like functions.
2017-12-13 17:27:16 +09:00
okuoku
960c962798 Win32: Include <io.h> on sexp.c
Use POSIX-like functions(open, read and write) from its
compatibility library.
2017-12-13 17:20:53 +09:00
okuoku
51f24ed36e Win32: Import Ruby's lgamma_r implementation (Public Domain)
Import Ruby's lgamma_r implementation as MSVCRT missing lgamma_r
implementation. Non Windows platforms should continue to use lgamma_r
implementation which provided with its C runtime library.
2017-12-13 17:20:53 +09:00
okuoku
e45f142b6a sexp.h: chmod -x 2017-12-13 17:20:53 +09:00
Alex Shinn
9cc2192026 additional format fixes 2017-12-10 15:51:18 +09:00
Alex Shinn
79f08129b2 fixing formatting with 0 precision 2017-11-24 22:57:10 +09:00
Alex Shinn
dec0f3b1a5
Merge pull request #444 from okuoku/fix-Makefile
Makefile: Fix (chibi time) installation
2017-11-18 22:02:58 +09:00
okuoku
3bcf3d7d94 Makefile: Fix (chibi time) installation
Fix make install regression which was introduced in #438
2017-11-18 20:08:59 +09:00
Alex Shinn
8111f17825
Merge pull request #443 from okuoku/win32-cmake
Win32: Visual Studio 2017 support using CMake
2017-11-18 18:21:20 +09:00
Alex Shinn
86fb983ec0
Merge branch 'master' into win32-cmake 2017-11-18 18:20:53 +09:00
Alex Shinn
6a09c87c98
Merge branch 'master' into win32-cmake 2017-11-18 18:19:46 +09:00
Alex Shinn
63b6151230 fix patch for scheme-r7rs 2017-11-18 18:17:45 +09:00
okuoku
51a73231de win32: Disable #435 for Win32
Disable #435 for Win32 as it is only meant for UNIX platforms.
2017-11-18 16:46:20 +09:00
okuoku
aed9d4da32 appveyor.yml: Update appveyor.yml to include CMake configurations 2017-11-18 16:46:14 +09:00
okuoku
1112f49605 chibi-scheme.vcproj: Remove
Remove chibi-scheme.vcproj to prevent interfere with CMake builds.
2017-11-18 16:28:35 +09:00
okuoku
2763f8a201 cmake: Add CMakeLists.txt
This CMakeLists.txt only meant for Win32 MSVC builds.
For POSIX platforms, it is recommended using Makefile.
2017-11-18 16:28:31 +09:00
okuoku
7693881125 sexp.c: Use strncasecmp instead of strcasestr
strcasestr is not available on MS C runtime. Use strncasecmp instead
which is in POSIX. MS C runtime has _strnicmp().
2017-11-18 15:24:28 +09:00
Alex Shinn
231c4bc04b Merge branch 'master' of https://github.com/ashinn/chibi-scheme 2017-11-18 14:36:25 +09:00
Alex Shinn
e0dcb88b8a
Merge pull request #435 from omasanori/srfi-22-scheme-r7rs
[RFC] Treat `scheme-r7rs` command name as in SRFI 22.
2017-11-18 14:36:07 +09:00
Alex Shinn
a59fc49140
Merge pull request #438 from okuoku/win64
Win32: Fix win32 port
2017-11-18 14:34:32 +09:00
Alex Shinn
0e4b4d6127 adding (chibi show color) and (chibi show unicode) 2017-11-18 14:26:51 +09:00
Alex Shinn
7562cc195e
Merge pull request #442 from okuoku/patch-ast
ast.c: #include <stdlib.h> for setenv()
2017-11-13 22:08:55 +09:00
Alex Shinn
afcae50d26
Merge pull request #441 from okuoku/patch-main
main: Silence warning with !SEXP_USE_GREEN_THREADS
2017-11-13 22:08:36 +09:00