Vilem Liepelt
c4f99a815e
Update INSTALL.md ( #2708 )
...
* Update INSTALL.md
* I did not need the additional DYLD_LIBRARY_PATH entry and I was not confident that there was no impact from the changes to the Chez Scheme build instructions so I am mostly reverting those changes
---------
Co-authored-by: G. Allais <guillaume.allais@ens-lyon.org>
Co-authored-by: Mathew Polzin <matt.polzin@gmail.com>
2024-01-14 11:39:03 -06:00
Mathew Polzin
073fbef3d1
Remove use of deprecated getByte
function ( #3190 )
...
* Add CHANGELOG_NEXT entry
2024-01-14 11:26:51 -06:00
Johann Rudloff
6c70048380
[ fix ] Disable top-level constants optimisation during incremental compilation
...
The optimisation for non-recursive top-level constants introduced in
#2817 accidentally breaks incremental compilation when an optimised
top-level constant is referenced in another module (noticeable in
larger, non-trivial programs, e.g. when building Idris itself in
incremental mode).
Since incremental compilation currently has no way to know about
constants in other modules, this commit sets the list of constants to
`empty` (as is done in the `ChezSep` backend) which allows successful
compilation.
2024-01-14 11:22:41 -06:00
Hattori, Hiroki
844ea28149
- [RefC] delete unnecessary conversion to keep code simply. ( #3176 )
...
* - [RefC] delete unnecessary conversion to keep code simply.
- [RefC] rename some C functions to confliction safe.
* make the linter feels good.
* Get me a job as a linter slave.
* [RefC] Added hard fail for unsupported primitives.
* Fix typo.
2024-01-14 11:17:34 -06:00
André Videla
90bf2dec20
Merge pull request #3192 from foxyseta/patch-1
...
fix: singing dragon link
2024-01-13 20:58:04 +00:00
Stefano Volpe
bd9664ac8a
fix: singing dragon link
...
YouTube removed the original video. Added the archive.org version.
2024-01-13 19:37:30 +01:00
Mathew Polzin
da6f0b0e4e
Fix executable output of buildIdris nix helper ( #3188 )
2024-01-08 23:58:17 -06:00
André Videla
2b5030a325
Merge pull request #3189 from mattpolzin/make-js-executable
...
Make NodeJS backend's output file executable
2024-01-07 09:47:15 +00:00
Mathew Polzin
0a96d4bc49
make test more resillient
2024-01-06 21:40:30 -06:00
Mathew Polzin
3245a3e66f
Add a test case
2024-01-06 14:30:35 -06:00
Mathew Polzin
aba9fa706c
CHANGELOG_NEXT entry
2024-01-06 14:11:33 -06:00
Mathew Polzin
196f393968
make NodeJS output from compiler executable
2024-01-06 14:04:06 -06:00
Mathew Polzin
8746f1671b
Improve buildIdris
and expose the idris2-api
via the Nix flake. ( #3182 )
...
* Refactor buildIdris slightly and support installing libraries with source. Add the Idris2 API package as an output of the flake.
* update templates and simplify construction of a search path.
* use newer method of specifying default package
* swap out trace function for warn function. fix warnings in template generation
2024-01-05 15:59:11 -06:00
André Videla
3c8fc8bafb
Merge pull request #3187 from nukisman/patch-5
...
Fix static JS code: open process mode in support_system_file_popen
2024-01-05 13:46:34 +00:00
Alexander
bd882c56c2
Fix file mode processing in support_system_file_popen
...
In JS switch cases with shared code should look like this
2024-01-04 20:00:50 +03:00
Guillaume Allais
915b340b2e
[ re #3177 ] Test to see the change in calling conventions
2024-01-03 12:23:52 +00:00
Mathew Polzin
aee1cb94ac
Add a new CHANGELOG_NEXT.md file and update documentation around CHANGELOG entries. ( #3180 )
2024-01-01 21:08:56 -06:00
Joel Berkeley
ee18555869
Add (++)
for List
variation of All
( #3179 )
...
* Add `(++)` for `All` for `List`
* changelog
* contributors
* review changes
* update comment
* update comment
* match TODO style
* disambiguate the right one
* further comment changes
2024-01-01 21:03:13 -06:00
Denis Buzdalov
7815f205ca
[ test ] Add tests for GetOpt
2023-12-30 14:22:51 -06:00
Denis Buzdalov
d5d4b2a9ae
[ contrib ] Support options parsing errors in a backward-compatible way
2023-12-30 14:22:51 -06:00
Denis Buzdalov
1b627b0b78
[ contrib ] Support alternative getOpt working nicely with parse errors
2023-12-30 14:22:51 -06:00
Denis Buzdalov
2f2102c413
[ re #3171 ] Correct mistakenly forgotten to be updated changelog
2023-12-29 17:30:15 -06:00
Denis Buzdalov
3fe95d469a
[ interpolate ] Implement Interpolation
for primitive numeric types
2023-12-29 11:17:31 -06:00
Denis Buzdalov
439aa000f0
[ sync ] Synchronise lazy list impl in src/Libraries
with base
...
This is to assure it is safe to remove `Libraries` implementation in the
next release. This requires synchronisation of `Data.String.Iterator` too
2023-12-29 09:22:03 -06:00
Denis Buzdalov
db4f65bd8d
[ refactor ] Move lazy lists from contrib
to base
2023-12-29 09:22:03 -06:00
Mathew Polzin
ac266b73f8
Separate support derivation (and small related tweaks to the Makefile) ( #3172 )
2023-12-27 08:14:03 -06:00
Denis Buzdalov
0e831ed5ef
[ prelude ] Make able to implement provably total showPrec
recursively
2023-12-26 10:16:57 +00:00
Denis Buzdalov
82bb12cf72
[ cleanup ] Post v0.7.0 cleanup
2023-12-25 13:49:26 +00:00
Thomas E. Hansen
27780073c8
[ admin ] Update checklist for v0.7.0-rc2
2023-12-22 14:44:30 +01:00
Thomas E. Hansen
84010c9a55
[ rc ] 0.7.0-rc2
...
Incorporates #3165 , #3166 , and #3169
2023-12-22 14:44:30 +01:00
Thomas E. Hansen
124a31243a
[ rc ] 0.7.0-rc1
...
An actual, proper release candidate this time.
2023-12-22 14:44:30 +01:00
Thomas E. Hansen
ea180d0721
[ rc ] Prepare for 0.7.0
...
A lot more sensible all around : )
2023-12-22 14:44:30 +01:00
Thomas E. Hansen
d6892b4f04
[ rc ] 0.6.9 - update pkg017
...
Version in expected output
2023-12-22 14:44:30 +01:00
Thomas E. Hansen
017608fa12
[ rc ] v0.6.9 fix chez bootstrap shebang
...
Arch vs Ubuntu things, I suspect.
2023-12-22 14:44:30 +01:00
Thomas E. Hansen
89ee94089c
[ release ] v0.6.9 update checklist
...
Final commit before running release script (in a _different_ dir because
it destroys the current one, it turns out!)
2023-12-22 14:44:30 +01:00
Thomas E. Hansen
a3b078cb0d
[ rc ] For v0.6.9 - to see if the process was right
...
Good luck everybody...
v0.6.9 - Nice! ^^
2023-12-22 14:44:30 +01:00
Mathew Polzin
4edd690d0e
Update CHANGELOG.md
2023-12-21 13:30:30 -06:00
Denis Buzdalov
da916b68d4
[ fix ] Correctly manage the empty file case while reading a file
2023-12-21 13:30:30 -06:00
Denis Buzdalov
13ef7ddd58
[ cleanup ] Clean up stuff that needs to be cleaned after 0.6.0 release
2023-12-21 10:56:55 -06:00
Denis Buzdalov
36132f6539
[ fix, re #3063 ] Fix forgotten reflection values
2023-12-21 17:30:57 +01:00
André Videla
58e5d15662
Merge pull request #3162 from AdamHarries/compilerEnvs
...
[fix] correctly pass environment vars to the RefC compiler
2023-12-20 06:40:16 -05:00
André Videla
3502f4add2
Merge pull request #3170 from buzden/make-able-wait-popen2
...
[ re #2944 , fix ] Make `popen2` be able to not to leak system resources
2023-12-20 06:39:27 -05:00
Denis Buzdalov
b495fe83f0
[ fix ] Support waiting for popen2
-created processes
...
This fixes problem of creation the garbage of zombie processes on POSIX
systems. This also makes behaviour of `popen2` identical in Windows,
namely, all resources are freed only when waiting, giving at the same
time an ability to observe the exit code afterwards.
2023-12-19 23:03:31 +03:00
Denis Buzdalov
8809efe333
[ test ] Make test of popen2
a bit more precise
2023-12-19 11:20:18 +03:00
Adam Brouwers-Harries
ec44ff9c3a
Don't perform our own string splitting on env vars, just pass them outside of 'escapeCmd'
2023-12-15 11:48:19 +00:00
Adam Brouwers-Harries
45a5d23539
Re-add redirects now linker issue seems to be fixed
2023-12-14 20:00:53 +00:00
Adam Brouwers-Harries
da62db17fd
Remove -PIE from linker args, as it seems to cause issues on the NIX CI
2023-12-14 14:25:11 +00:00
Adam Brouwers-Harries
84c58b4bd9
Temporarily remove pipes to /dev/null to try and debug CI issues
2023-12-14 12:19:32 +00:00
Adam Brouwers-Harries
ecfe1bde70
use in cccompilerTest, correctly set DYLD_LIBRARY_PATH, use idrisGetEnv in CC.idr and update envvars documentation
2023-12-13 15:21:41 +00:00
Adam Brouwers-Harries
4cb45daba4
[doc] add note regarding C header inclusion to FFI documentation
2023-12-13 07:35:29 -06:00