Commit Graph

11980 Commits (fd06e22e9a056ec1ba88cde5b883dc60c11b2214)

Author SHA1 Message Date
John Benediktsson 9d4336d774 math.primes.miller-rabin: minor cleanup; 2014-12-04 19:46:30 -08:00
John Benediktsson 34160212d1 math.primes.erato: fix reference to "arr". 2014-12-04 11:52:56 -08:00
John Benediktsson c7271658c7 debugger: simplify test case. 2014-12-04 11:52:52 -08:00
John Benediktsson d5b8f3d3b9 math.primes.erato: fix help-lint. 2014-12-04 11:48:12 -08:00
John Benediktsson 6bf1f1dd99 debugger: adding a test case that breaks the fix for #1187. 2014-12-04 11:46:28 -08:00
John Benediktsson 348bd85824 math.ranges: cleanup using. 2014-12-04 10:23:59 -08:00
John Benediktsson ad71f79be3 math.primes: speedup sieve. 2014-12-04 10:11:32 -08:00
John Benediktsson 49270c2ac6 threads: some cleanup. 2014-12-02 16:44:24 -08:00
John Benediktsson 00b1919725 basis: cleanup using. 2014-12-01 22:18:32 -08:00
John Benediktsson ad9d44aa2b compiler.cfg.linear-scan.allocation.state: simplify init-unhandled. 2014-12-01 22:18:15 -08:00
John Benediktsson 8f0c563268 core-foundation.run-loop: update using. 2014-12-01 17:06:45 -08:00
John Benediktsson 3aa14d7570 heaps: faster heaps, simpler heapsort. 2014-12-01 15:16:47 -08:00
John Benediktsson 937f575735 heaps: change slurp-heap to slurp keys and values. 2014-12-01 15:14:25 -08:00
John Benediktsson ab3f3173af change errors to use "object" instead of "obj". 2014-12-01 08:04:49 -08:00
John Benediktsson eb68676f31 editors.cot: moving to editors.coteditor. 2014-12-01 07:15:14 -08:00
John Benediktsson 793fa7baeb heaps: whoops, this was an error. 2014-11-30 22:30:15 -08:00
John Benediktsson 6f1e819e04 urls.encoding: more cleanup. 2014-11-30 21:33:48 -08:00
John Benediktsson b00e5a855b urls.encoding: cleanup. 2014-11-30 21:22:54 -08:00
John Benediktsson 76761b2e59 more minor cleanup. 2014-11-30 19:26:23 -08:00
John Benediktsson 1e8dedb808 editors.cot: missed this for some reason. 2014-11-30 19:25:21 -08:00
John Benediktsson 63327f6fc8 editors.cot: minor fixes. 2014-11-30 19:23:22 -08:00
John Benediktsson 2e00389e7d editors.cot: adding CotEditor support. 2014-11-30 19:20:03 -08:00
John Benediktsson a1f91ba482 refs: some cleanup. 2014-11-30 10:24:07 -08:00
John Benediktsson e12d4fba4c using crlf. 2014-11-30 08:48:28 -08:00
John Benediktsson 76e2421f07 ftp: cleanup using. 2014-11-30 08:44:29 -08:00
John Benediktsson ec0c896ed3 ftp.server: use C: for ftp-get and ftp-put. 2014-11-30 08:43:50 -08:00
John Benediktsson 818f337b02 cleanup "over push" is "suffix!". 2014-11-30 08:38:59 -08:00
John Benediktsson a5e7176ec7 cpu.x86: "dup pop* push" is just "set-last". 2014-11-30 08:28:19 -08:00
John Benediktsson d0357cc349 Revert "ui.tools.listener: update docs for Emacs-style text entry."
This reverts commit 913e69500f.
2014-11-30 07:13:10 -08:00
John Benediktsson 4b1690b9c1 models: some more cleanup. 2014-11-29 23:00:24 -08:00
John Benediktsson 439649e707 models: some cleanup. 2014-11-29 22:37:59 -08:00
John Benediktsson b360860ecd models.delay: some cleanup. 2014-11-29 22:12:16 -08:00
John Benediktsson 913e69500f ui.tools.listener: update docs for Emacs-style text entry. 2014-11-29 21:18:52 -08:00
John Benediktsson 49afa5b3ed basis: cleanup more usings. 2014-11-29 20:10:37 -08:00
John Benediktsson a186cdec2a specialized-vectors: cleanup using. 2014-11-29 20:07:26 -08:00
John Benediktsson b597c6b329 specialized-arrays: cleanup using and direct-slice-unsafe. 2014-11-29 20:02:51 -08:00
John Benediktsson ed5eb5f644 images.loader.gdiplus: use foo <c-direct-array> instead of <direct-foo-array>. 2014-11-29 18:58:42 -08:00
John Benediktsson 49bcbaee7a removing small and unnecessary files. 2014-11-29 17:24:42 -08:00
John Benediktsson 76da2a6e78 match: rename ?1-tail to ?rest. 2014-11-29 17:10:54 -08:00
John Benediktsson c0d6fdedd1 classes.tuple: use slots>tuple when possible. 2014-11-29 16:54:50 -08:00
John Benediktsson 2a4ad0f44a logging: make log-root docs more explicit. 2014-11-29 15:02:20 -08:00
John Benediktsson 5acd2e1317 logging.server: use locals to make write-message more clear. 2014-11-29 14:55:33 -08:00
John Benediktsson 3d86fba48b calendar.format: use format-float more. 2014-11-28 21:27:30 -08:00
John Benediktsson 08ec579f87 json: rename json-allow-nans? to json-allow-fp-special?. 2014-11-28 16:36:07 -08:00
John Benediktsson a363c2faf4 json: rename to json-coerce. 2014-11-28 08:51:16 -08:00
John Benediktsson 9bba5d1312 json: cleanup and add more parameters for writing. 2014-11-28 08:11:21 -08:00
John Benediktsson d83231a08a json: better support for escaped strings. 2014-11-27 14:52:18 -08:00
Doug Coleman cd8b686639 compiler.tests.alien: Test demonstrates padding bytes breaking struct= on linux32. Disable for now. 2014-11-24 08:20:28 -08:00
Doug Coleman 726e5068f7 Revert "tools.test: Print tests homoiconically. There is too much spacing still"
This reverts commit 34a197248c.
2014-11-23 23:59:57 -08:00
Doug Coleman beaa8ef083 Revert "tools.test: Fix using list."
This reverts commit 4306180c11.
2014-11-23 23:59:35 -08:00
Doug Coleman 20add9544a compiler.cfg: cfg>insns has to go in linearization because of bootstrap circularity. Fix usings. 2014-11-23 22:53:27 -08:00
Björn Lindqvist 4c07d04417 compiler.cfg.*: getting an instruction sequence from a cfg is used in a few tests so let's make a word for it 2014-11-24 06:25:34 +01:00
Björn Lindqvist 22c512788b compiler.codegen.gc-maps.tests: fix tests for win 64 2014-11-24 04:20:34 +01:00
Björn Lindqvist 8ea234e4de cpu.architecture.tests: fix tests for win 64 2014-11-24 04:20:07 +01:00
Björn Lindqvist 9b7a873f6d compiler.cfg.build-stack-frame.tests: improved fix for the test case 2014-11-24 03:42:27 +01:00
Doug Coleman 4306180c11 tools.test: Fix using list. 2014-11-23 18:01:19 -08:00
Doug Coleman 34a197248c tools.test: Print tests homoiconically. There is too much spacing still
but it's better than before imo. See #1221.
2014-11-23 16:51:40 -08:00
Doug Coleman fb0cae4790 json.writer: Didn't end up using present vocab after all. 2014-11-23 08:50:28 -08:00
Doug Coleman 1451c8c157 json.writer: Allow more objects to be keys in >json. Not completely sure about -Infinity being a key when ``jsvar-encode?`` is true. See #1189, this might solve it but we need more stress testing it. 2014-11-23 04:02:52 -08:00
Doug Coleman d23ab51ce8 io.files: Move with-cd to the tests file so that nobody uses it. My bad. Basically nobody should ever use cd or cwd for anything. Fixes #1214. 2014-11-23 01:39:36 -08:00
Doug Coleman d40faa3bdc compiler.cfg: Add vocabulary for words defined just to test compiler.cfg. 2014-11-23 01:06:46 -08:00
Doug Coleman ed7ceaf900 http.server: Make sure http.forms is loaded for http.server docs. Fixes #1216. 2014-11-23 01:05:21 -08:00
Doug Coleman aff0150a8c io.files: add with-cd. Related to #1214. 2014-11-22 22:21:35 -08:00
Doug Coleman 3b3103b545 compiler.cfg.scheduling: Fix V{ } -> { } unit test. 2014-11-22 17:43:27 -08:00
Björn Lindqvist 964ae127a2 compiler.cfg.dependence: docs 2014-11-22 17:31:40 -08:00
Björn Lindqvist aca14563b0 compiler.cfg.dependence/scheduling: fix(?) for #1187, just avoid shuffling ##peek... 2014-11-22 17:31:40 -08:00
Björn Lindqvist 9d0379b9ba compiler.cfg.dependence: if node subclasses identity-tuple it doesn't need the number slot 2014-11-22 17:31:40 -08:00
Björn Lindqvist eb9ca1c6fe compiler.cfg.dependence: node class doesn't need parent attribute, that's nice 2014-11-22 17:31:40 -08:00
Björn Lindqvist 0feece123c compiler.cfg.dependence/scheduling.tests: new tests, some that doesnt work yet 2014-11-22 17:31:40 -08:00
Björn Lindqvist 8347f43f84 compiler.cfg.dependence/scheduling: refactoring to get rid of node's follows>> 2014-11-22 17:31:40 -08:00
Björn Lindqvist 645a70f1d4 compiler.cfg.scheduling: refactoring to get rid of the roots dynamic variable 2014-11-22 17:31:39 -08:00
Björn Lindqvist a96fff60af compiler.cfg.dependence: keys-for ?first is not deterministic, use tiebreak-parents to get predictable ordering 2014-11-22 17:31:39 -08:00
Björn Lindqvist 7ebceb50e5 compiler.cfg.dependence/scheduling: select-parent and roots moved to scheduling
the roots stuff is only used by compiler.cfg.scheduling, so it's more
simple to have it there than in compiler.cfg.dependence
2014-11-22 17:31:39 -08:00
Björn Lindqvist 586c47e5ab compiler.cfg.dependence/scheduling: more readable version of the select word 2014-11-22 17:31:39 -08:00
Björn Lindqvist b5754d32ef compiler.cfg.dependence: moved tree verification code to .tests
Since verify-trees just checked that make-trees worked correctly, it's
better to have that code in the test vocab instead of slowing down
every compile by running it
2014-11-22 17:31:39 -08:00
Björn Lindqvist 2ea1a999a4 compiler.cfg.dependence.tests: unit tests for the dependence vocab 2014-11-22 17:31:39 -08:00
Björn Lindqvist 3f3cc0eb8a compiler.cfg.dependence: now the nodes are on the stack instead of being saved in a dynamic variable (fp++) 2014-11-22 17:31:39 -08:00
Björn Lindqvist 2cfd55b864 compiler.cfg.dependence/scheduling: refactoring, trying to get rid of the ugly usage of nodes dynamic variable 2014-11-22 17:31:39 -08:00
Björn Lindqvist 0a7726b66d compiler.cfg.dependence: more docs for the vocab 2014-11-22 17:31:38 -08:00
Björn Lindqvist a1b20e451b compiler.cfg.scheduling: split-insns returns a 3-tuple instead of 3 items on the stack 2014-11-22 17:31:38 -08:00
Björn Lindqvist c777cb954a compiler.cfg.scheduling: refactor to use split-insns and compiler.cfg.linear-scan.numbering + tests 2014-11-22 17:31:38 -08:00
Björn Lindqvist 96396cb3ad compiler.*: use block>cfg and insns>block in many tests instead of wordier code 2014-11-22 17:31:38 -08:00
Björn Lindqvist c8a022423e compiler.cfg.utilities: move and rename the helper words block>cfg, insns>block and insns>cfg, they are useful to many testing vocabs 2014-11-22 17:31:38 -08:00
John Benediktsson 44f31ee13e use swapd instead of [ swap ] dip. 2014-11-21 11:56:17 -08:00
John Benediktsson 7badef25ce libc: reduce code duplication. 2014-11-21 10:19:12 -08:00
John Benediktsson 39093727b1 libc: rename (io-error) to throw-errno. 2014-11-21 09:29:45 -08:00
John Benediktsson 3f362dfc99 destructors: change check-disposed not to drop the disposable. 2014-11-21 08:19:05 -08:00
John Benediktsson 115511038d libc: removing &(free) and |(free) destructors which aren't really used. 2014-11-20 19:51:10 -08:00
John Benediktsson 45bd145596 io: use errno case instead of cond. 2014-11-20 19:46:14 -08:00
John Benediktsson c0b4c1adb1 io.buffers: unsafe code is more unsafe. 2014-11-20 17:46:36 -08:00
John Benediktsson 25f3032d04 io.ports: use fixnum where possible, assert c-ptr since we use memcpy. 2014-11-20 17:19:16 -08:00
John Benediktsson f6ed37a6f7 io.ports: some cleanup before optimizations. 2014-11-20 16:19:39 -08:00
John Benediktsson e55af0ebfe io.buffers: simplify test word. 2014-11-20 15:46:07 -08:00
John Benediktsson c60a3e6e80 io.buffers: adding a buffer-read-into that can take a c-ptr or a sequence. 2014-11-20 14:40:43 -08:00
John Benediktsson 0a31a7c17a io.backend.unix: { fixnum } read will be a { fixnum } . 2014-11-20 13:23:53 -08:00
Doug Coleman 46174ab748 compiler.cfg.build-stack-frame: Fix test for win64 2014-11-18 14:21:45 -08:00
Doug Coleman 0fe5b2d90f io.directories: Add unit test for #890. 2014-11-18 14:11:13 -08:00
Doug Coleman 831ec24b14 io.sockets.windows: Spacing cleanup. 2014-11-18 14:06:24 -08:00
Doug Coleman 09f0edfb2f io.launcher.windows: Don't cd to directory when calling run-process. Fixes 2014-11-18 14:03:06 -08:00
Doug Coleman cab001234a io.sockets.windows: Fix unit test--recover leaves socket on stack, nip
it.
2014-11-18 14:02:44 -08:00
Björn Lindqvist 61ba941740 math.vectors: changes so that some vocabs that can use math.vector words does it 2014-11-17 19:02:12 -08:00
Björn Lindqvist 001acde590 math.vectors: new word v>integer = [ >integer ] map 2014-11-17 19:02:12 -08:00
Doug Coleman 7d95fb8172 math.vectors.simd: Attempt to print out full simd failures so we can debug them. 2014-11-17 12:12:39 -08:00
Doug Coleman 5c8c76cc22 alien.syntax: We have to include alien.arrays somewhere before libc loads. 2014-11-17 09:44:21 -08:00
John Benediktsson 0826d8468c io.launcher: really minor cleanup. 2014-11-16 20:31:50 -08:00
John Benediktsson 74058d3dff alien: cleanup using. 2014-11-16 20:31:32 -08:00
John Benediktsson f79d61060e io.buffers: cleanup interface a bit. 2014-11-16 18:54:24 -08:00
John Benediktsson 60d0937041 compiler.cfg.instructions: fix help-lint. 2014-11-16 16:22:13 -08:00
Björn Lindqvist 0d9316f4f9 Docs: more various compiler doc improvements 2014-11-16 06:25:55 -08:00
Björn Lindqvist 42a528bb28 compiler.codegen.gc-maps: docs and tests 2014-11-16 06:25:54 -08:00
Björn Lindqvist 7ebd63a217 cpu.architecture: docs and some tests 2014-11-16 06:25:54 -08:00
Björn Lindqvist d3c91bea72 compiler.cfg.linear-scan.*: stub docs and tests 2014-11-16 06:25:54 -08:00
Björn Lindqvist 3b86d4b9ba compiler.cfg.def-use: docs 2014-11-16 06:25:54 -08:00
Björn Lindqvist 90b31d543b compiler.cfg.instructions: more docs 2014-11-16 06:25:54 -08:00
Björn Lindqvist f06f59b956 Docs: smallish improvements to compiler vocabs 2014-11-16 06:25:54 -08:00
Björn Lindqvist bc5c23b162 compiler.cfg.linear-scan.assignment: stub docs 2014-11-16 06:25:54 -08:00
Björn Lindqvist 1eac4afc8b compiler.cfg.linear-scan.allocation.state: sub docs and tests 2014-11-16 06:25:53 -08:00
Björn Lindqvist 0a30bd9218 compiler.cfg.stack-frame: stub docs and tests for vocab 2014-11-16 06:25:53 -08:00
Björn Lindqvist 8a0b4c3d26 compiler.cfg.build-stack-frame: stub docs and tests for vocab 2014-11-16 06:25:53 -08:00
Björn Lindqvist cbc8681187 Docs: compiler.cfg.instructions improvements 2014-11-16 06:25:53 -08:00
John Benediktsson 305ba30e96 splitting.monotonic: faster monotonic-split. 2014-11-15 16:52:31 -08:00
John Benediktsson f9e1b7c9fb bootstrap.image.download: use my-boot-image-name. 2014-11-15 16:20:02 -08:00
John Benediktsson 2a89e5c2cc basis: some more os require cleanup. 2014-11-15 15:56:37 -08:00
John Benediktsson b7ed0a431c basis/extra: cleanup some platform requires. 2014-11-15 14:25:12 -08:00
John Benediktsson dcbe85fe9c json.writer: handle special floats. 2014-11-14 17:56:19 -08:00
John Benediktsson c3dd749f3d ui.tools.deploy: change article title. 2014-11-14 17:31:46 -08:00
John Benediktsson 5bb8400d0b xmode: cleanup using. 2014-11-14 17:31:33 -08:00
John Benediktsson de179243ce basis/extra: cleanup uses of add-library. 2014-11-13 13:05:14 -08:00
John Benediktsson d6b6f3893d basis/extra: switch to "vocab." os name>> append require. 2014-11-13 13:00:44 -08:00
John Benediktsson 74eecb78f9 listener: print version-info in command-line. 2014-11-13 09:58:37 -08:00
John Benediktsson 3a0c04340e Revert "alien.libraries.finder: using find-library for some often missing libs"
This reverts commit a6b3f50e2c.

Conflicts:
	basis/gtk/ffi/ffi.factor
2014-11-13 09:33:30 -08:00
John Benediktsson d89ae96c64 tools.scaffold: support more types and maybe types. 2014-11-13 08:23:22 -08:00
Björn Lindqvist 18d7be2c05 compiler.tests.alien: tests to make sure #1021 stays dead 2014-11-12 19:41:32 -08:00
Björn Lindqvist bbab41ade4 io.sockets.windows.tests: plugs the socket leaks (#1104) 2014-11-12 19:32:44 -08:00
John Benediktsson 760126525b basis/extra: fix using for map-index move back to sequences. 2014-11-11 18:00:44 -08:00
John Benediktsson d3a1ba25a4 Revert "checksums.interleave: Dumb fix for zip change."
This reverts commit 4b8de3ca1e.
2014-11-11 17:56:25 -08:00
John Benediktsson f8ddcfd2d0 Revert "tr: zip had a string as input. call { } zip-as instead."
This reverts commit 3c4d1e41b7.
2014-11-11 17:56:15 -08:00
Björn Lindqvist 090f4fddd5 VM: Three new special objects added to keep track of the builds version number, git label and compilation time respectively. The info is exposed in the system:version-info word and also shown in the banner during startup.
Conflicts:
	Nmakefile
	basis/ui/tools/listener/listener.factor
	core/alien/strings/strings.factor
2014-11-10 23:01:52 -08:00
Doug Coleman 466fe4559d ffi_test: Can actually test 62 and 63 on windows. 2014-11-10 10:30:35 -08:00
Doug Coleman 564a67ce7e compiler.tests.alien: Don't test ffi calls 61-63 on Windows. 2014-11-09 10:52:16 -08:00
Doug Coleman 4b8de3ca1e checksums.interleave: Dumb fix for zip change. 2014-11-08 22:32:36 -08:00
Doug Coleman 3c4d1e41b7 tr: zip had a string as input. call { } zip-as instead. 2014-11-08 18:41:51 -08:00
Doug Coleman 7cfa9d9518 assocs: Make map-index-as support seq or assoc exemplars and move map-index, map-index-as to assocs because they need to use new-assoc. Make zip-index-as support assoc exemplars. Fix up docs and tests.
assocs.extras: Remove zip-as and move tests to assocs.
2014-11-08 18:18:00 -08:00
Doug Coleman 1b5711cc42 compiler.tests.alien: Add structs with uint and ulonglong pairs and return them from an FFI call. macosx32 seems to be working, hopefully this will break it or confirm that it's working. Linux32 is broken, hopefully this will show how. 2014-11-08 13:39:47 -08:00
Doug Coleman 56f1b87a6f basis, extra: Use zip-index. 2014-11-08 00:46:30 -08:00
Doug Coleman 1ce7c6a9e7 tools.scaffold: Add type for exemplar in docs. 2014-11-08 00:40:13 -08:00
Doug Coleman 9ff6d2d49c cpu.x86.64: 64-bit register is RDX not EDX. Fixes #1191. 2014-11-07 22:03:12 -08:00
Doug Coleman e494e3965b compiler.tests.alien: Check in a failing unit test. Structure is getting returned improperly. 2014-11-07 15:34:10 -08:00
Benjamin Pollack 2c3dd8c3c8 Remove executable bit from tons of files that aren't 2014-11-05 20:40:42 -08:00
Doug Coleman 8c3a817706 Revert "gtk.ffi: Find the right gtk library in a startup-hook. Necessary because gtk is not in the same place on varius distros, so just find it on demand. Fixes #1185."
This reverts commit 0ef942e400.
2014-11-05 12:03:05 -08:00