Commit Graph

26541 Commits (d89ae96c649513f79fb9e204bc38e252d1e1b74d)

Author SHA1 Message Date
John Benediktsson d89ae96c64 tools.scaffold: support more types and maybe types. 2014-11-13 08:23:22 -08:00
John Benediktsson 9f44b1c37a xkcd: need to html-unescape. 2014-11-12 19:44:25 -08:00
John Benediktsson 4fce958402 xkcd: fix comic-text. 2014-11-12 19:41:58 -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 8489dd9be6 Build: other hpp's use utilities.hpp so it must be included earlier 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
Doug Coleman 0f59f314f5 system: Move cpu string to Factor area so it's more obvious that it applies to Factor and not to the C++ compiler. 2014-11-12 03:33:19 -08:00
John Benediktsson b377ea313c assocs: moving map-index back to sequences, change zip and zip-index to make alists. 2014-11-11 18:13:01 -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 be25dc2b7e Revert "tools.gc-decode: Dumb fix for zip change."
This reverts commit 4c1f7451a4.
2014-11-11 17:56:35 -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
Doug Coleman 9a3a533712 system: Add cell-bits (32/64 bit) and build number to version-info string. 2014-11-11 16:44:00 -08:00
Doug Coleman 7a9843ec5c system: Remove bogus word added during merge commit. 2014-11-11 08:50:32 -08:00
Doug Coleman a6dd9a025c Revert "version number: 0.98 -> 0.98-git. @bjourne suggested, some python projects do this too."
This reverts commit 599c2cdba2.

XXX: Mac fails with this error:

c++ -Wall -DFACTOR_VERSION="0.98-git" -DFACTOR_GIT_LABEL="heads/master-0-g599c2cd" -fomit-frame-pointer -mmacosx-version-min=10.5 -m64 -O3 -g -dynamiclib -single_module -current_version 0.98-git -compatibility_version 0.98-git -fvisibility=hidden -lm -framework Cocoa -framework AppKit -o libfactor.dylib vm/os-unix.o vm/os-macosx.o vm/mach_signal.o vm/mvm-unix.o vm/cpu-x86.o vm/aging_collector.o vm/alien.o vm/arrays.o vm/bignum.o vm/byte_arrays.o vm/callbacks.o vm/callstack.o vm/code_blocks.o vm/code_heap.o vm/compaction.o vm/contexts.o vm/data_heap.o vm/data_heap_checker.o vm/debug.o vm/dispatch.o vm/entry_points.o vm/errors.o vm/factor.o vm/free_list.o vm/full_collector.o vm/gc.o vm/gc_info.o vm/image.o vm/inline_cache.o vm/instruction_operands.o vm/io.o vm/jit.o vm/math.o vm/mvm.o vm/nursery_collector.o vm/object_start_map.o vm/objects.o vm/primitives.o vm/quotations.o vm/run.o vm/safepoints.o vm/sampling_profiler.o vm/strings.o vm/to_tenured_collector.o vm/tuples.o vm/utilities.o vm/vm.o vm/words.o
ld: malformed 32-bit x.y.z version number: 0.98-git
clang: error: linker command failed with exit code 1 (use -v to see invocation)
2014-11-11 00:16:00 -08:00
Doug Coleman 599c2cdba2 version number: 0.98 -> 0.98-git. @bjourne suggested, some python projects do this too. 2014-11-11 00:13:23 -08:00
Doug Coleman 11be8734cb GNUmakefile: Remove LIBPATH from the build system since nothing needs it. Fixes #1192. 2014-11-11 00:05:52 -08:00
Björn Lindqvist f32131698a system: dont let any errors interfere with the shutdown process and just
ignore them

Conflicts:
	core/system/system.factor
2014-11-10 23:30:03 -08:00
Björn Lindqvist 4e63ba8dc8 VM: debug code which memsets the resetted space 2014-11-10 23:23:43 -08:00
Björn Lindqvist d63a6a20ee ffi: test functions for bug #1021
Conflicts:
	vm/ffi_test.c
	vm/ffi_test.h

Note: Let's add tests in basis/compiler/tests/alien.factor for this.
2014-11-10 23:22:35 -08:00
Doug Coleman d9271046be GNUmakefile, factor.cmd: Update versions to 0.98 2014-11-10 23:08:49 -08:00
Björn Lindqvist 71f789fa20 VM: using make vocab instead of consecutive appends 2014-11-10 23:02:30 -08:00
Björn Lindqvist 990af22dc6 VM: renamed version and git-label to vm-version and vm-git-label. 2014-11-10 23:02:13 -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 53eac53626 vm: Fail with out_of_memory() if mprotect returns ENOMEM.
Add a message to out_of_memory(msg) calls so we know which call caused the OOM.
Fixes #664.
2014-11-11 06:26:55 +00:00
Doug Coleman 114342a799 forestdb: Fix platforms.txt 2014-11-10 20:32:48 -08:00
Doug Coleman 114afdaaf7 forestdb.lib: Fix resource usage and cleanup. Reenable some snapshot tests but they expose bugs in forestdb, I think. 2014-11-10 19:10:36 -08:00
Doug Coleman 80f53ac954 forestdb.utils: Move utility words for tests into own vocab. 2014-11-10 19:10:35 -08:00
Doug Coleman a58dbdabb2 forestdb.lib: Remove concept of handle pair. 2014-11-10 19:10:35 -08:00
Doug Coleman 089b6e2570 forestdb.lib: Add byseq mapper and unit test some deletion. 2014-11-10 19:10:35 -08:00
Doug Coleman 89c33e9e30 forestdb.lib: Adding code to do compaction. 2014-11-10 19:10:35 -08:00
Doug Coleman bc25858a4e forestdb.paths: Add words for messing around with forestdb paths. 2014-11-10 19:10:35 -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 1107edcc52 ffi_test: Fix compilation on Windows. 2014-11-09 10:39:50 -08:00
Doug Coleman 4c1f7451a4 tools.gc-decode: Dumb fix for zip change. 2014-11-08 22:32:50 -08:00
Doug Coleman 4b8de3ca1e checksums.interleave: Dumb fix for zip change. 2014-11-08 22:32:36 -08:00
Doug Coleman 46d855665a assocs: Fix up some stack effects. 2014-11-08 22:30:07 -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 45e7fd7921 assocs: Make the output from zip, zip-index, and map-index the same type as the first seq/assoc argument. Add tests. 2014-11-08 18:26:21 -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 0a0895f90f assocs: Add zip-index, zip-index-as and docs/tests.
sequences: Add map-index-as for symmetry and docs/tests.
2014-11-08 00:39:38 -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 0244a64d83 vm: Oops, test doesn't take a long long. 2014-11-07 15:42:25 -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
Doug Coleman 590cde5617 forestdb.ffi: Fix up api. 2014-11-07 15:33:48 -08:00
Doug Coleman c4be743bbe forestdb: Update for new api changes. Fix some unit tests, they look better now. 2014-11-07 13:06:53 -08:00