Commit Graph

26172 Commits (138ec84642ac18ef5a4a44bf8b995583b033abcf)

Author SHA1 Message Date
Doug Coleman 138ec84642 io.files.temp.macosx: Create the cache and temp directories every time. Fixes #1089. 2014-07-03 23:41:20 -07:00
Doug Coleman bc54927859 vm/image.cpp: Better error for opening a file for writing. 2014-07-03 22:32:45 -07:00
Doug Coleman c0b7fb6a23 python.ffi: Disable python3 2014-07-04 01:25:22 +00:00
Doug Coleman 5c8bb0f69e python.ffi: On Arch Linux, the library is called libpython3.so 2014-07-04 01:17:22 +00:00
Björn Lindqvist 508b85851d tools.deploy.backend: ui depends on (full) io so it needs to be loaded first
find-library on linux needs to call /sbin/ldconfig which requires a
full io-backend. Using gtk requires loading alien libraries which
requires find-library. So the ui should always load the whole io.
2014-07-03 21:57:07 +00:00
Doug Coleman 5d44509720 alien.libraries.finder.linux: Trim blanks off the arch names. 2014-07-03 21:30:15 +00:00
Doug Coleman 01ed046b4a typed: .97 basically breaks typed. Check that the new behavior is enforced. 2014-07-03 12:29:40 -07:00
Doug Coleman 712aa303db compiler, stack-checker docs: Fix for 32-bit builds. 2014-07-03 12:21:17 -07:00
Doug Coleman a6ce3e9113 compiler.tree.modular-arithmetic: Don't require that fixnum+ works on tuple slots marked fixnum. This is probably a speed regression. XXX revisit 2014-07-03 12:12:46 -07:00
Doug Coleman 3ca95f58f9 tools.coverage.testvocab: Fix help lint errors. 2014-07-03 11:48:08 -07:00
Doug Coleman e558bd7d86 vm: Fix compilation on Windows. Fixes #1086. 2014-07-03 13:20:08 -05:00
John Benediktsson 055cacabd4 alien.enums: cleanup using. 2014-06-30 09:09:46 -07:00
John Benediktsson 85fdc4f6d2 math.transforms.bwt: cleaner to check last. 2014-06-30 09:04:08 -07:00
John Benediktsson 14c5f30ee5 curl: bindings to libcurl. 2014-06-28 15:44:17 -07:00
John Benediktsson b8ac661ce8 core-foundation.file-descriptors: some cleanup. 2014-06-26 13:49:57 -07:00
John Benediktsson 0c7a5b7c84 io.backend.unix.multiplexors.select: some cleanup. 2014-06-26 13:49:48 -07:00
John Benediktsson 3a9f4edcff colors.lch: implement CIELCH colors. 2014-06-24 06:58:02 -07:00
John Benediktsson 08dcbdc949 io.binary.fast: le> and be> should be unsigned. 2014-06-23 21:12:26 -07:00
John Benediktsson 607d0becb2 colors: more doc fixes. 2014-06-22 07:12:10 -07:00
John Benediktsson 7431910b16 colors: adding some wikipedia links. 2014-06-22 07:10:23 -07:00
John Benediktsson 98c731b852 colors.lab: implement CIELAB colors. 2014-06-22 07:06:27 -07:00
John Benediktsson 0f74b77b27 colors.xyz: some refactoring. 2014-06-22 07:04:09 -07:00
John Benediktsson 858c5db19d colors: fix summary.txt. 2014-06-21 09:22:01 -07:00
John Benediktsson 93fb63a8c3 colors.luv: fix for rgba. 2014-06-21 09:21:42 -07:00
John Benediktsson f48c2b2d84 colors.luv: implement CIELUV colors. 2014-06-21 09:19:08 -07:00
John Benediktsson 725129e80b colors: change article titles. 2014-06-20 20:23:47 -07:00
John Benediktsson a4d624b7b0 colors.xyy: implement CIE xyY colors. 2014-06-20 20:22:11 -07:00
John Benediktsson 0fb4bbb6f3 colors.xyz: implement CIE XYZ colors. 2014-06-20 20:21:59 -07:00
Steven Stewart-Gallus e6dade3f94 Lower the stack usage of a few functions
In vm/compaction.cpp I rescoped some variables to lower the stack usage
from 592 to 560 bytes. I wasn't very successful with this. The stack
usage is larger than it looks because methods on the structures used
take an implicit this pointer and a reference to the data (so the data
has to live out it's full scope and can't be put in a register).

In vm/debug.cpp I made a large (1024 bytes) stack allocated buffer
simply dynamically allocated.

In vm/os-unix.cpp I rescoped signal handling structures to not coincide
with each other and reduced a very large (1024 bytes) amount of stack
usage to less than 500 bytes.
2014-06-19 14:55:57 -07:00
John Benediktsson 199d6c3082 fftw: adding a test. 2014-06-18 10:42:01 -07:00
John Benediktsson bfd615b1e8 brainfuck: more fries with that. 2014-06-17 21:09:42 -07:00
Doug Coleman 96f2561b42 alien.libraries.finder.linux: Remove tags like "OS ABI: Linux 2.6.24" from the ``ldconfig -p`` output. 2014-06-17 14:13:06 -07:00
John Benediktsson 125f64a72f brainfuck: collapse spaces to compress better, 2+2=5 test. 2014-06-17 09:32:09 -07:00
Doug Coleman 2f53a7c5de alien.libraries.finder.linux: On mint 32 bit, the gtk-x11-2.0 library arch is just (libc6). Hopefully this is correct. 2014-06-16 23:07:13 -07:00
Doug Coleman 2834bc90f8 bignum.cpp: Fix regression in bignum conversion. Fixes #1072. 2014-06-16 20:52:51 -07:00
Björn Lindqvist a6e0867b22 VM: change type of bignum_roots and remove unnecessary not-null checks
Declaring bignum_roots to contain bignum** instead of cell avoids some
superfluous casts. Casting it to cell is wrong because the items in it
are never tagged. And due to a earlier commit, bignum_roots will never
contain NULL:s so checking for them is not needed.
2014-06-12 13:50:10 -07:00
Björn Lindqvist 8ac3b80173 VM: rename all variables named "bignum" in bignum.cpp to "bn"
The name can cause compiler errors because it's the same as the type
name. It only matters in some functions, but I like consistency so I
renamed it everywhere.
2014-06-12 13:50:10 -07:00
Björn Lindqvist 75129d34ad VM: refactor bignum.cpp so that GC_BIGNUM is never called on a NULL
pointer

The purpose of this fix is to ensure that no NULL checks are needed when
traversing the bignum_roots vector.
2014-06-12 13:50:10 -07:00
Björn Lindqvist 0c9e61ca99 VM: refactoring that removes data_root_ranges
instead of storing data_root_ranges in data_roots, you can just store
cell pointers directly. the advantage with doing it that way is that
registration and traversal code becomes simpler (and slightly faster).
2014-06-12 13:50:10 -07:00
John Benediktsson 77d4d5179c math.extras: adding sum-squares and sum-cubes. 2014-06-10 18:28:21 -07:00
John Benediktsson acc06aeeee math.extras: adding dotted range syntax. 2014-06-10 18:17:27 -07:00
John Benediktsson 219c73b0c1 sorting.heap: adding Heapsort implementation. 2014-06-10 17:32:02 -07:00
John Benediktsson c20838117d heaps: fix stack effect for >max-heap. 2014-06-10 17:18:37 -07:00
John Benediktsson fba9c1dab4 sorting.quick: better interface, allow comparison to be passed in. 2014-06-10 16:45:41 -07:00
John Benediktsson 522bc270cc sudoku: some cleanup. 2014-06-10 15:46:54 -07:00
John Benediktsson 64aa894fee help.tutorial: make it more clear how the tests work, thanks @ambimorph! 2014-06-10 15:06:28 -07:00
John Benediktsson 8a2028d2c6 math.statistics: use if-zero in mean-ddof. 2014-06-10 13:06:42 -07:00
John Benediktsson 7b44637177 sequences.extras: adding count* which returns % of counted items. 2014-06-10 13:06:02 -07:00
Björn Lindqvist a4e98529fa io.launcher.windows.tests: many of the tests can result in utf8-encoded strings 2014-06-10 08:10:21 -07:00
John Benediktsson b40f2ff544 sorting.quick: faster by using stack variables not mutable locals. 2014-06-09 17:53:16 -07:00