Commit Graph

26163 Commits (3ca95f58f92079cb638fdfda2dea810a76e34e20)

Author SHA1 Message Date
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 . 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 . 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
John Benediktsson 8ed47488e9 stack-checker.alien: fix help-lint. 2014-06-09 14:15:18 -07:00
John Benediktsson 00fb0b052f sorting.quick: adding tags.txt. 2014-06-09 11:34:16 -07:00
John Benediktsson b204c8230f sorting.quick: adding a Quicksort implementation. 2014-06-09 11:17:07 -07:00
John Benediktsson d901af14c0 extra: use ?download-to in a few more places. 2014-06-09 09:18:58 -07:00
John Benediktsson 9ef4a4aab3 spelling: use ?download-to. 2014-06-09 08:58:05 -07:00
John Benediktsson 1701fe3f59 http.client: adding version of download-to that checks file exists. 2014-06-09 08:57:45 -07:00
Jon Harper 0cf6541847 tools.coverage: add tests, fixes 2014-06-09 08:31:04 -07:00
Jon Harper 485932eff1 test-coverage-recursively: remove private and tests vocabs
private vocabs are already covered when testing the main vocab.
test vocabs don't need coverage.
2014-06-09 08:31:04 -07:00
John Benediktsson bf473ec943 compiler.cfg: fix some docs. 2014-06-08 18:20:27 -07:00