Commit Graph

30 Commits

Author SHA1 Message Date
Iavor Diatchki
a9f962a5e7 Fix darwin test 2024-06-02 04:16:37 -07:00
Iavor Diatchki
d599934038 Fix tests 2024-06-01 03:04:15 -07:00
Ryan Scott
a9e35fe004 Update .stdout.mingw32 and .stdout.darwin files 2024-02-01 20:39:51 -05:00
Ryan Scott
f825abd2e1 Update expected stdout for test cases 2024-02-01 19:35:16 -05:00
Bretton
fa8731c2d5 Fix ffi-fallback-rec test windows output 2023-08-24 15:29:07 -07:00
Bretton
beac2abf55 Add ffi-fallback-rec test 2023-08-24 14:32:39 -07:00
Bretton
f55d51972d Add ffi-fallback tests 2023-08-22 13:41:39 -07:00
Bretton
57aee9e7f9 Update ffi-runtime-errors test output 2023-08-21 19:44:40 -07:00
Iavor Diatchki
12967c47c3 Fix tests for Mac and Windows 2022-09-28 16:54:05 +03:00
Iavor Diatchki
4f8bc653e0 Disallow foreign with the same name and in functors
Fixes #1442
2022-09-28 11:23:18 +03:00
Ryan Scott
27ac8d9717 Support FFI on Windows
This patch:

* Adds the appropriate conditional logic to use the `Win32` library to
  dynamically load shared libraries on Windows.
* Tweaks some FFI-related test cases to make them work portably on Windows. I
  have left comments describing each of the non-obvious tweaks that I had to
  make.
* Updates the reference manual accordingly.

Fixes #1394.
2022-09-24 11:21:03 -04:00
Iavor Diatchki
96fb52dc9c Fix Mac OS test 2022-09-23 17:47:50 +03:00
Iavor Diatchki
c3f6181204 Add a couple of tests with Z 2022-09-23 17:13:14 +03:00
Iavor Diatchki
741959f918 Add gmp as en explicit dependency 2022-09-22 19:10:12 +03:00
Iavor Diatchki
4e75c38330 Modify generate-header to support Integer/Rational/Z
Add some tests
2022-09-22 17:15:04 +03:00
Iavor Diatchki
12f2bb086e Merge branch 'master' into ffi-integer 2022-09-22 16:18:36 +03:00
Iavor Diatchki
5a4a3967fc Merge remote-tracking branch 'origin/master' into ffi-generate-headers
# Conflicts:
#	docs/RefMan/_build/doctrees/FFI.doctree
#	docs/RefMan/_build/doctrees/environment.pickle
#	docs/RefMan/_build/html/FFI.html
#	docs/RefMan/_build/html/searchindex.js
2022-09-14 17:18:30 +03:00
Bretton
adfb760cad FFI: Update ffi-type-errors test output 2022-09-10 13:09:27 -07:00
Bretton
a372df22f9 FFI: Remove now supported types from error test 2022-09-10 03:12:00 -07:00
Bretton
e64603a7be gen header: Add test 2022-09-08 16:12:33 -07:00
Iavor Diatchki
fb3935f41b * Introduce a separate type for a property guarded alternative
* Annotate each property with a location
* Disallow property guards with index declarations
  (maybe this could be made to work, but be conservative for now)
* Require signatures on all members of a recursive group with prop guards
2022-09-06 18:56:20 +03:00
Bretton
25fc1254a8 FFI: Add test for nested sequences 2022-08-17 14:33:00 -07:00
Bretton
57a385b311 FFI: Print message when loading dynamic library 2022-08-12 17:58:04 -07:00
Bretton
4fd7e175d9 FFI: Add test for runtime errors 2022-08-11 17:23:37 -07:00
Bretton
65ba78802c FFI: Add test for type errors 2022-08-11 16:28:14 -07:00
Bretton
7ae7489553 FFI: Add test for reloading with new changes 2022-08-10 14:29:44 -07:00
Iavor Diatchki
d529c16b70 Don't allow wild cards in FFI declarations.
We didn't allow them anyway, but this gives a more precise error.
2022-08-08 10:19:07 +03:00
Bretton
70fc5e2ff5 FFI: Add more tests 2022-08-05 16:49:56 -07:00
Bretton
ae843a0f55 FFI: Add integral and float tests 2022-08-03 22:44:12 -07:00
Bretton
7294acc805 FFI: Set up tests 2022-08-02 19:31:33 -07:00