Raymond Toy pushed to branch rtoy-update-clx-with-cmucl-fixes at cmucl / cmucl
Commits: b464fc94 by Raymond Toy at 2018-01-27T19:52:26Z Merge branch 'rtoy-update-clx-with-cmucl-fixes' into 'master'
Update clx from upstream
Closes #50
See merge request cmucl/cmucl!31 - - - - - b8841170 by Raymond Toy at 2018-01-27T21:04:52Z Fix #49: CLM crashes
When invoking motifd, the program name is #p:'library:motifd". This is passed directly to spawn (a C routine), which only accepts strings. So, before calling spawn, convert the program path to a unix namestring.
This allows the example from the bug to run without crashing.
- - - - - 87c07e5d by Raymond Toy at 2018-01-28T02:19:56Z Make sure spawn is called with a string
The previous commit worked for search lists, but the program could be a string. Take care to convert pathnames to strings so that spawn is always called with a string.
- - - - - 99eb4311 by Raymond Toy at 2018-01-28T02:54:17Z Merge branch 'rtoy-fix-49-clm-crash' into 'master'
Fix #49: CLM crashes
Closes #49
See merge request cmucl/cmucl!32 - - - - - 380759e3 by Raymond Toy at 2018-01-28T05:59:25Z Restore ability to compile in mt19937 rng.
- src/tools/worldbuild.lisp - only compile rand-xoroshiro if :random-xoroshiro is a feature - src/tools/worldload.lisp - only load rand-xoroshiro if :random-xoroshiro is a feature - tests/rng.lisp - Add a quick test that the state vector of the *random-state* has the correct type.
- - - - - dc4a7e00 by Raymond Toy at 2018-01-29T02:20:20Z Fix #47: Print backquote multiple splices correctly
* Print multiple splices correclty without the extra set of parenthesis around each splice. * Add test for this.
- - - - - e7f97a5d by Raymond Toy at 2018-01-30T03:04:30Z Merge branch 'rtoy-fix-47-backq-splice-printer' into 'master'
Fix #47: Print backquote multiple splices correctly
Closes #47
See merge request cmucl/cmucl!33 - - - - - 3acdd1b7 by Raymond Toy at 2018-02-03T16:57:28Z Fix #59: type derivation for decode-float exponent
Type derivation for exponent part of decode-float was incorrect. We need to take the absolute value of the argument before deriving the type since the exponent is, of course, independent of the sign of the number. In the test case, the negative interval caused the lower and upper bounds to be reversed, resulting in an invalid interval.
- - - - - 62c5f3e9 by Raymond Toy at 2018-02-03T17:03:04Z Add test for issue #59.
- - - - - 2292400e by Raymond Toy at 2018-02-04T16:16:35Z Fix typo. double-double-float is in the kernel package
- - - - - 4e58e53c by Raymond Toy at 2018-02-04T16:19:13Z Be more careful in computing the decode-float bounds
If 0 is the lower bound then the smallest exponent is not for 0, but for the least positive float because of denormals.
Also handle exclusive bounds.
- - - - - 7b336362 by Raymond Toy at 2018-02-04T16:19:37Z Add more tests decode-float.
- - - - - 90df7817 by Raymond Toy at 2018-02-04T18:46:50Z Merge branch 'rtoy-fix-59-derive-decode-float' into 'master'
Fix #59: derive decode float
Closes #59
See merge request cmucl/cmucl!34 - - - - - 894e18e0 by Raymond Toy at 2018-02-10T16:52:20Z Update from logs
- - - - - e3c4759d by Philip Fominykh at 2018-02-13T05:20:33Z Restore hevea support for buliding cmu-user
- - - - - 3be1f5ba by Philip Fominykh at 2018-02-13T05:22:15Z Improved function signature rendering in cmu-user html version
- - - - - 26e3ad82 by Raymond Toy at 2018-02-18T03:44:02Z Fix #60: `C::%UNARY-FROUND` is undefined
Remove the symbol `C::%UNARY-FROUND` and just let the compiler package inherit it from the kernel package.
* src/bootfiles/21c/boot-2018-02-1.lisp * Use this to bootstrap the change (by uninterning the symbol) * src/code/float.lisp * Just export %unary-fround * src/general-info/release-21d.md * Update * tests/issues.lisp * Add test for this issue
- - - - - 84d9a4bd by Raymond Toy at 2018-02-18T03:56:32Z Oops. Need to build with the bootstrap file.
- - - - - 31c6bf9f by Raymond Toy at 2018-02-18T15:30:51Z Merge branch 'rtoy-fix-60-unary-fround-undefined' into 'master'
Fix #60: unary fround undefined
Closes #60
See merge request cmucl/cmucl!36 - - - - - bccd6a98 by Raymond Toy at 2018-02-18T17:01:08Z Fix #58: Bogus type error in comparison of complex number with `THE` form
The deftransforms `upgraded-complex-real-contagion-arg1` and `upgraded-complex-real-contagion-arg2` were coercing the complex number to the exact type of the float number. Because of the `THE` form, the type of the float was `(member 1d0)`, so the compiler was coercing `#c(1/2 1/2)` to `(complex (double-float 1d0))`, which is wrong.
Therefore, coerce the complex to just the type format of the real part, ignoring any bounds.
* src/compiler/float-tran.lisp * Coerce to format type, discarding any bounds * src/general-info/release-21d.md * Update notes * tests/issues.lisp * Added test for this
- - - - - 771fd903 by Raymond Toy at 2018-02-18T17:11:19Z Merge branch 'rtoy-fix-issue-58' into 'master'
Fix #58: Bogus type error in comparison of complex number with `THE` form
Closes #58
See merge request cmucl/cmucl!37 - - - - - e9a598e5 by Raymond Toy at 2018-02-19T16:41:07Z Complex array accessors are not foldable
Fixes #61 and #62.
The `ARRAY-HAS-FILL-POINTER-P` and `ARRAY-DISPLACEMENT` functions are declared inline and the compiler tries to constant-fold these inlined functions operating on simple arrays.
Thus don't allow the compiler to constant-fold calls to `%ARRAY-FILL-POINTER-P`. This is normally protected by a call to `ARRAY-HEADER-P`, but when it's inlined, the compiler tries to constant-fold `%ARRAY-FILL-POINTER-P` on an array without such a slot.
Likewise `ARRAY-DISPLACEMENT` calls `%ARRAY-DISPLACED-P`, `%ARRAY-DATA-VECTOR`, and `%ARRAY-DISPLACEMENT`, and the calls are protected by `ARRAY-HEADER-P`. So don't constant-fold these either.
Maybe we could also make CONSTANT-FOLD-CALL be smarter about this?
* src/compiler/generic/objdef.lisp * Remove flushable from these ref-trans methods. * src/general-info/release-21d.md * Update * tests/issues.lisp * Add tests from the bug reports.
- - - - - ac4b9fc8 by Raymond Toy at 2018-02-19T16:50:47Z Merge branch 'rtoy-fix-61-62-not-flushable' into 'master'
Complex array accessors are not foldable
Closes #61 and #62
See merge request cmucl/cmucl!38 - - - - - 3c56ed8c by Raymond Toy at 2018-03-03T22:28:53Z Remove test files from tests
The tests create some files in /tmp. Remove them when the test script ends so that we get a clean directory.
I think this fixes the issue with the osx-runner sometimes failing because it can't remove the temp files that I created locally when testing locally.
- - - - - 52a93a05 by Raymond Toy at 2018-03-03T22:30:47Z Use the 2018-03 snapshots for testing.
- - - - - ccd159f1 by Philip Fominykh at 2018-03-05T05:59:37Z Remove extra paragraph generation in Hevea definitions.
Added argument #5 to \layout to act as prelude. Putting index and spacing commands there eliminates extra paragraph.
- - - - - 7b9be9a8 by Philip Fominykh at 2018-03-05T06:01:53Z Hevea cmu-user generation cleanups.
- - - - - 9b55c3e4 by Philip Fominykh at 2018-03-05T06:03:02Z Merge branch 'master' into pfominykh-cmu-user-fixes
- - - - - efc3d8c5 by Raymond Toy at 2018-03-06T04:18:37Z Merge branch 'pfominykh-cmu-user-fixes' into 'master'
Restore hevea support for cmu-user
See merge request cmucl/cmucl!35 - - - - - 3c749f8b by Raymond Toy at 2018-03-14T22:47:15Z Update manual date to 21c
Just change the date on the manual to the date of the 21c release. Now that we can create the html pages again with hevea, we can update this.
- - - - - 23e31483 by Raymond Toy at 2018-05-12T17:40:12Z ASDF 3.3.2
- - - - - 90d8b4b5 by Raymond Toy at 2018-07-04T16:54:08Z Bignum multiply without consing temp space
The current bignum multiplier creates temp space to hold the absolute value of the bignums and then negates the result (in-place) at the end.
Instead, use the algorithm from Hacker's Delight that pretends the numbers are unsigned, does the unsigned multiply and finally corrects the result. No extra memory is needed for this.
- - - - - e6b95b82 by Raymond Toy at 2018-07-04T19:21:25Z Add simple test
- - - - - 3af22f92 by Raymond Toy at 2018-07-04T19:40:30Z Add some timing code, but not for tests.
- - - - - d652bd09 by Raymond Toy at 2018-07-04T20:31:21Z Rename functions to use the new version by default.
Update tests to reflect the change in names.
- - - - - be073d06 by Raymond Toy at 2018-07-07T17:41:33Z Use fixed ubuntu image
- - - - - 01fa37d8 by Raymond Toy at 2018-07-07T19:01:45Z Use Ubuntu 14.04
Let's see if 14.04 works better. I don't feel like debugging the test failure in a VM right now. And I don't want to set up everything to use Fedora (which is what my linux box is running).
- - - - - 0f0ac0b6 by Raymond Toy at 2018-07-15T17:45:08Z Add tests with fixed operands
- - - - - 228359b6 by Raymond Toy at 2018-07-15T20:47:44Z Refactor common code into a routine
The code for applying the correction is pretty much identical for each negative operant, so add a routine to do that.
- - - - - cb6e99a3 by Raymond Toy at 2018-07-15T23:01:01Z Disable test issue.41.1
- - - - - 833fef6d by Raymond Toy at 2018-07-16T00:04:01Z Merge branch 'rtoy-bignum-mult-less-consing' into 'master'
Reduce consing in bignum multiplier
See merge request cmucl/cmucl!39 - - - - - 50b1201e by Raymond Toy at 2018-07-18T05:06:14Z Use ubuntu 16.04 image for testing
- - - - - 05f11fa5 by Raymond Toy at 2018-07-21T03:38:57Z Issue #64: Disable test when running CI
- - - - - 576fc79d by Raymond Toy at 2018-07-21T03:38:57Z Merge branch 'rtoy-issue-64' into 'master'
Issue #64: Disable test when running CI
See merge request cmucl/cmucl!40 - - - - - 0a2e45d4 by Raymond Toy at 2018-07-22T01:03:44Z Default RNG for x86 and sparc is :random-xoroshiro
Replace :random-mt19937 with :random-xoroshiro in the cross-compile scripts.
- - - - - 4915f467 by Raymond Toy at 2018-07-22T17:14:55Z Remove unused vars in WITH-FLOAT-TRAPS macro*
The TRAPS and EXCEPTION vars in the WITH-FLOAT-TRAPS were unused. Remove them.
Also add some tests for WITH-FLOAT-TRAPS-MASKED to verify that the traps are masked.
- - - - - 0c427fc1 by Raymond Toy at 2018-07-27T17:51:02Z Remove extra closing paren
- - - - - cb251bbe by Raymond Toy at 2018-08-05T01:46:45Z Export more symbols in defpackage for xlib.
The compiler complained that these symbols were also being exported from the XLIB package. Just add them to the defpackage to silence the warnings.
- - - - - 7c79326d by Raymond Toy at 2018-08-05T01:50:55Z Add %UNARY-FROUND to exports of defpackage for KERNEL.
- - - - - 2de12cd7 by Raymond Toy at 2018-08-05T23:46:44Z Fix compiler warning
clang complains:
warning: incompatible pointer to integer conversion passing 'lispobj *' (aka 'unsigned long *') to parameter of type 'lispobj' (aka 'unsigned long'); dereference with * [-Wint-conversion] || in_range_p(addr, control_stack, control_stack_size)
So cast control_stack to lispobj. Same complaint for binding_stack too.
- - - - - 7a6a0e19 by Raymond Toy at 2018-08-23T00:16:10Z Add template for Bugs
- - - - - 1894fbfe by Raymond Toy at 2018-08-23T00:19:24Z Add template for Feature requests
- - - - - 14f72f54 by Raymond Toy at 2018-08-23T00:26:05Z Set label correctly.
It's a tilde, not dash.
- - - - - 1d6d12de by Raymond Toy at 2018-08-23T00:27:01Z Set label to feature
- - - - - 82bf2c72 by Raymond Toy at 2018-08-25T23:51:54Z Add support for compiling with clang on x86/linux
Add `Config.x86_linux_clang` to use clang instead of gcc to build cmucl. update `create-target.sh` so that it sets the motif variant correctly when using `Config.x86_linux_clang`
See issue #68.
With this config, Fedora 28 successfully builds cmucl and passes all the tests.
- - - - - 9d2590c0 by Raymond Toy at 2018-08-28T22:00:19Z Get rid of FPU_MODE
This was used to selecte whether we were building for x87 or sse2, but we dropped support for x87 a long while ago. Remove this var.
- - - - - d7f49e51 by Raymond Toy at 2018-09-01T16:53:24Z Oops. Forgot to remove one more FPU_MODE
- - - - - 7b4e019d by Raymond Toy at 2018-09-22T19:50:40Z Fix #69: Always compile in GC assertion code
- - - - - 9cb80666 by Raymond Toy at 2018-09-22T19:50:40Z Merge branch 'issue-69-compile-in-gc-assert' into 'master'
Fix #69: Always compile in GC assertion code
Closes #69
See merge request cmucl/cmucl!41 - - - - - 925241a9 by Raymond Toy at 2018-09-22T19:57:52Z Fix some typos in comment.
- - - - - 08a948e1 by Raymond Toy at 2018-09-22T20:02:05Z Update from commit logs
- - - - - 810c52ea by Raymond Toy at 2018-10-07T21:10:41Z Define control_stack_end for all platforms
- - - - - f471f66e by Raymond Toy at 2018-10-07T23:51:45Z Update with new docstring
- - - - - 741b6176 by Raymond Toy at 2018-10-12T17:16:40Z Update translation files
- - - - - b6faace8 by Raymond Toy at 2018-10-12T18:20:56Z Update notes
- - - - - 0824e61e by Raymond Toy at 2018-12-06T22:42:16Z Fix #71: More info from machine-type/version on x86
- - - - - 3843a50c by Raymond Toy at 2018-12-06T22:42:16Z Merge branch 'rtoy-issue-71' into 'master'
Fix #71: More info from machine-type/version on x86
Closes #71
See merge request cmucl/cmucl!42 - - - - - 6167e353 by Raymond Toy at 2018-12-08T16:58:15Z Update version numbers for 21d.
- - - - - b664e46d by Raymond Toy at 2018-12-08T16:58:15Z Merge branch '21d-branch' into 'master'
Update version numbers for 21d.
See merge request cmucl/cmucl!43 - - - - - cb825da9 by Raymond Toy at 2018-12-10T14:53:27Z Rename BUILDING to BUILDIND.md and convert to markdown
Initial conversion of BUILDING to markdown.
- - - - - 15655145 by Raymond Toy at 2018-12-10T15:02:13Z Fix some incorrect markdown markup
- - - - - d9487768 by Raymond Toy at 2018-12-10T15:55:54Z More markup fixes
- - - - - 5e075fa0 by Raymond Toy at 2018-12-17T02:49:54Z Merge branch 'master' into rtoy-update-clx-with-cmucl-fixes
- - - - -
30 changed files:
- .gitlab-ci.yml - + .gitlab/issue_templates/Bug.md - + .gitlab/issue_templates/Feature.md - BUILDING → BUILDING.md - bin/build.sh - bin/create-target.sh - bin/run-tests.sh - + src/bootfiles/21c/boot-2018-02-1.lisp - + src/bootfiles/21c/boot-21d.lisp - src/clx/package.lisp - src/code/backq.lisp - src/code/bignum.lisp - src/code/exports.lisp - src/code/float-trap.lisp - src/code/float.lisp - src/code/gc.lisp - src/code/rand-xoroshiro.lisp - src/code/run-program.lisp - src/code/x86-vm.lisp - src/compiler/byte-comp.lisp - src/compiler/float-tran.lisp - src/compiler/generic/objdef.lisp - src/contrib/asdf/asdf.lisp - src/contrib/asdf/doc/asdf.html - src/contrib/asdf/doc/asdf.info - src/contrib/asdf/doc/asdf.pdf - src/docs/cmu-user/Makefile - src/docs/cmu-user/aliens.tex - src/docs/cmu-user/cmu-user.hva - src/docs/cmu-user/cmu-user.tex
The diff was not included because it is too large.
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/compare/6c18cc63ba3b98ede7c160268...