]> gitweb.factorcode.org Git - factor.git/log
factor.git
9 years agowindows.directx: Upgrade xinput library.
Doug Coleman [Thu, 10 Jul 2014 05:36:44 +0000 (22:36 -0700)]
windows.directx: Upgrade xinput library.

9 years agoio.sockets.secure.openssl: We don't care what the error is as long as it fails.
Doug Coleman [Thu, 10 Jul 2014 05:32:32 +0000 (22:32 -0700)]
io.sockets.secure.openssl: We don't care what the error is as long as it fails.

9 years agotools.deploy: Pump p p pump pump it up
Doug Coleman [Thu, 10 Jul 2014 04:40:18 +0000 (21:40 -0700)]
tools.deploy: Pump p p pump pump it up

9 years agoio.launcher: Fix help-lint for Windows. The examples don't work on
Doug Coleman [Thu, 10 Jul 2014 04:19:58 +0000 (23:19 -0500)]
io.launcher: Fix help-lint for Windows. The examples don't work on
Windows, so disable them.

9 years agofftw.ffi: Find the fftw dll for Windows.
Doug Coleman [Thu, 10 Jul 2014 04:11:49 +0000 (23:11 -0500)]
fftw.ffi: Find the fftw dll for Windows.

9 years agoyaml.ffi: Fix library names. (for Windows, it's called libyaml-0-2.dll and
Doug Coleman [Wed, 9 Jul 2014 17:09:20 +0000 (12:09 -0500)]
yaml.ffi: Fix library names. (for Windows, it's called libyaml-0-2.dll and
we dont prefix 'lib' in find-library)

9 years agocompiler.tree.modular-arithmetic: make a partial test and add some information to...
John Benediktsson [Wed, 9 Jul 2014 16:27:13 +0000 (09:27 -0700)]
compiler.tree.modular-arithmetic: make a partial test and add some information to the XXX: comment.

9 years agoyaml.ffi: fix library names.
John Benediktsson [Wed, 9 Jul 2014 16:06:42 +0000 (09:06 -0700)]
yaml.ffi: fix library names.

9 years agoRevert "compiler.tree.modular-arithmetic: revert strict patch so we can investigate...
John Benediktsson [Wed, 9 Jul 2014 02:18:19 +0000 (19:18 -0700)]
Revert "compiler.tree.modular-arithmetic: revert strict patch so we can investigate further."

This reverts commit ec8377e125de2aae6b9704aa154beb95053151f5.

9 years agodebugger: Fix using.
Doug Coleman [Wed, 9 Jul 2014 01:06:36 +0000 (18:06 -0700)]
debugger: Fix using.

9 years agocompiler.tree.modular-arithmetic: revert strict patch so we can investigate further.
John Benediktsson [Tue, 8 Jul 2014 23:59:58 +0000 (16:59 -0700)]
compiler.tree.modular-arithmetic: revert strict patch so we can investigate further.

9 years agococoa.plists: use new NSFastEnumeration>hashtable word.
John Benediktsson [Tue, 8 Jul 2014 23:12:41 +0000 (16:12 -0700)]
cocoa.plists: use new NSFastEnumeration>hashtable word.

9 years agocalendar.format: use math.parser format directive.
John Benediktsson [Tue, 8 Jul 2014 23:03:02 +0000 (16:03 -0700)]
calendar.format: use math.parser format directive.

9 years agoYAML: allow configuration of !!merge and !!value
Jon Harper [Sun, 29 Jun 2014 15:47:49 +0000 (17:47 +0200)]
YAML: allow configuration of !!merge and !!value

9 years agoYAML: support !!value in !!map
Jon Harper [Sun, 29 Jun 2014 13:56:46 +0000 (15:56 +0200)]
YAML: support !!value in !!map

9 years agoYAML: support !!merge in !!map
Jon Harper [Sun, 1 Jun 2014 17:54:44 +0000 (19:54 +0200)]
YAML: support !!merge in !!map

9 years agoYAML: support !!timestamp
Jon Harper [Wed, 4 Jun 2014 08:14:31 +0000 (10:14 +0200)]
YAML: support !!timestamp

9 years agocalendar.format: rfc3339, don't drop seconds decimals
Jon Harper [Tue, 1 Jul 2014 21:42:25 +0000 (23:42 +0200)]
calendar.format: rfc3339, don't drop seconds decimals

9 years agopython.ffi: Use find-library-from-list instead of all that crufty code.
Doug Coleman [Tue, 8 Jul 2014 18:59:07 +0000 (11:59 -0700)]
python.ffi: Use find-library-from-list instead of all that crufty code.

9 years agoalien.libraries.finder: How many patches does it take... I was dropping the wrong...
Doug Coleman [Tue, 8 Jul 2014 18:58:34 +0000 (11:58 -0700)]
alien.libraries.finder: How many patches does it take... I was dropping the wrong value from map-find.

9 years agodebugger: Add a unit test for #1098.
Doug Coleman [Tue, 8 Jul 2014 18:56:08 +0000 (11:56 -0700)]
debugger: Add a unit test for #1098.

9 years agoalien.strings: Actually return a string instead of an array of strings in
Doug Coleman [Tue, 8 Jul 2014 18:49:11 +0000 (13:49 -0500)]
alien.strings: Actually return a string instead of an array of strings in
M\ array symbol>string. Fixes #1098.

9 years agoalien.libraries.finder: map-find was what I wanted all along.
Doug Coleman [Tue, 8 Jul 2014 18:13:41 +0000 (13:13 -0500)]
alien.libraries.finder: map-find was what I wanted all along.

9 years agogdbm: Enable gdbm on Win64.
Doug Coleman [Tue, 8 Jul 2014 17:50:13 +0000 (12:50 -0500)]
gdbm: Enable gdbm on Win64.

9 years agoMerge branch 'master' of factorcode.org:/git/factor
Doug Coleman [Tue, 8 Jul 2014 17:42:08 +0000 (12:42 -0500)]
Merge branch 'master' of factorcode.org:/git/factor

9 years agoalien.libraries.finder: More robust finder code that doesn't return f to a
Doug Coleman [Tue, 8 Jul 2014 17:40:33 +0000 (12:40 -0500)]
alien.libraries.finder: More robust finder code that doesn't return f to a
string slot and error out. Use it in yaml.ffi.

9 years agogdbm.ffi: Use find-library-from-list because nobody can agree on what to
Doug Coleman [Tue, 8 Jul 2014 17:23:11 +0000 (12:23 -0500)]
gdbm.ffi: Use find-library-from-list because nobody can agree on what to
name the gdbm dll.

9 years agoalien.libraries.finder: Add find-library-from-list utility word.
Doug Coleman [Tue, 8 Jul 2014 17:21:50 +0000 (12:21 -0500)]
alien.libraries.finder: Add find-library-from-list utility word.

9 years agoMerge branch 'master' of factorcode.org:/git/factor
Doug Coleman [Tue, 8 Jul 2014 06:34:46 +0000 (01:34 -0500)]
Merge branch 'master' of factorcode.org:/git/factor

9 years agoalien.libraries.finder.windows: Better fix for finding the right library path.
Doug Coleman [Tue, 8 Jul 2014 06:34:10 +0000 (23:34 -0700)]
alien.libraries.finder.windows: Better fix for finding the right library path.

9 years agoRevert "alien.libraries: Normalize the path before opening a dll since"
Doug Coleman [Tue, 8 Jul 2014 06:31:59 +0000 (23:31 -0700)]
Revert "alien.libraries: Normalize the path before opening a dll since"

This reverts commit 05aabb13f4f6e151fc0b9da0db3fce0125dc74da.

9 years agodb.postgresql: Enable postgresql tests on win64! YAY!!
Doug Coleman [Tue, 8 Jul 2014 06:26:12 +0000 (01:26 -0500)]
db.postgresql: Enable postgresql tests on win64! YAY!!

9 years agoalien.libraries: Normalize the path before opening a dll since
Doug Coleman [Tue, 8 Jul 2014 06:12:44 +0000 (01:12 -0500)]
alien.libraries: Normalize the path before opening a dll since
find-library can return paths that have "resource:" in them.

9 years agoffi_test: Export test 59 and 60 for Windows.
Doug Coleman [Tue, 8 Jul 2014 03:53:33 +0000 (20:53 -0700)]
ffi_test: Export test 59 and 60 for Windows.

9 years agoalien.c-types: Looks like ffi_test_59 found a bug after all. Add comments because...
Doug Coleman [Tue, 8 Jul 2014 03:47:40 +0000 (20:47 -0700)]
alien.c-types: Looks like ffi_test_59 found a bug after all. Add comments because it's confusing on small screens.

9 years agoalien.c-types: Ugh. There are self-similar lines of code, got confused.
Doug Coleman [Tue, 8 Jul 2014 03:28:27 +0000 (20:28 -0700)]
alien.c-types: Ugh. There are self-similar lines of code, got confused.

9 years agoio.sockets.secure.windows: Fix using, remove duplication.
Doug Coleman [Tue, 8 Jul 2014 02:44:40 +0000 (21:44 -0500)]
io.sockets.secure.windows: Fix using, remove duplication.

9 years agoio.sockets.secure: Another fix for cross-platform openssl.
Doug Coleman [Tue, 8 Jul 2014 01:45:22 +0000 (18:45 -0700)]
io.sockets.secure: Another fix for cross-platform openssl.

9 years agoio.sockets.secure: Move some code from secure.unix to secure.openssl. Add a hook...
Doug Coleman [Tue, 8 Jul 2014 01:34:41 +0000 (18:34 -0700)]
io.sockets.secure: Move some code from secure.unix to secure.openssl. Add a hook for finding sockets to upgrade.

9 years agoalien.c-types: Revert previous changes to 64 bit boxing/unboxing. Seems to work....
Doug Coleman [Tue, 8 Jul 2014 00:25:28 +0000 (17:25 -0700)]
alien.c-types: Revert previous changes to 64 bit boxing/unboxing. Seems to work. See #1062.

9 years agoffi: Add some tests to ensure that 64bit integers are handled properly.
Doug Coleman [Tue, 8 Jul 2014 00:02:36 +0000 (17:02 -0700)]
ffi: Add some tests to ensure that 64bit integers are handled properly.

9 years agoalien.c-types: longlong was calling to_fixnum instead of to_signed_8.
Doug Coleman [Mon, 7 Jul 2014 23:26:05 +0000 (16:26 -0700)]
alien.c-types: longlong was calling to_fixnum instead of to_signed_8.

9 years agocore-foundation.fsevents: FSEventStreamEventId should be a ulonglong instead of longlong.
Doug Coleman [Mon, 7 Jul 2014 22:18:57 +0000 (15:18 -0700)]
core-foundation.fsevents: FSEventStreamEventId should be a ulonglong instead of longlong.

9 years agounix: Ignore failures if errno is EINTR on close(2). Fixes #908.
Doug Coleman [Mon, 7 Jul 2014 21:55:13 +0000 (14:55 -0700)]
unix: Ignore failures if errno is EINTR on close(2). Fixes #908.

9 years agolibc.windows: We have to use utf8 since this is a libc call and the native
Doug Coleman [Mon, 7 Jul 2014 05:50:01 +0000 (00:50 -0500)]
libc.windows: We have to use utf8 since this is a libc call and the native
encoding on windows is utf16n.

9 years agotools.deploy: bump sizes to get clean 32-bit builds (for now).
John Benediktsson [Sun, 6 Jul 2014 18:11:22 +0000 (11:11 -0700)]
tools.deploy: bump sizes to get clean 32-bit builds (for now).

9 years agolibc: fix usings.
John Benediktsson [Sun, 6 Jul 2014 17:46:02 +0000 (10:46 -0700)]
libc: fix usings.

9 years agolibc: fix for linux using GNU strerror_r (for now).
John Benediktsson [Sun, 6 Jul 2014 17:41:51 +0000 (10:41 -0700)]
libc: fix for linux using GNU strerror_r (for now).

9 years agopython: change to py-initialize in startup-hook and py-finalize in shutdown hook.
John Benediktsson [Sun, 6 Jul 2014 17:18:27 +0000 (10:18 -0700)]
python: change to py-initialize in startup-hook and py-finalize in shutdown hook.

9 years agovm: Simplify strerror code.
Doug Coleman [Sun, 6 Jul 2014 01:58:24 +0000 (18:58 -0700)]
vm: Simplify strerror code.

9 years agolibc: Add default strerror that is not threadsafe. Move threadsafe unix load to the...
Doug Coleman [Fri, 4 Jul 2014 10:31:11 +0000 (03:31 -0700)]
libc: Add default strerror that is not threadsafe. Move threadsafe unix load to the end of the file so that malloc is defined.

9 years agolibc: Fix strerror for unix.
Doug Coleman [Fri, 4 Jul 2014 10:25:57 +0000 (03:25 -0700)]
libc: Fix strerror for unix.

9 years agolibc: Fix load error on windows.
Doug Coleman [Fri, 4 Jul 2014 10:19:29 +0000 (05:19 -0500)]
libc: Fix load error on windows.

9 years agovm: Fix namespace brace.
Doug Coleman [Fri, 4 Jul 2014 10:14:17 +0000 (03:14 -0700)]
vm: Fix namespace brace.

9 years agolibc: First stab at using strerror_r and (strerror_s on Windows) instead of thread...
Doug Coleman [Fri, 4 Jul 2014 10:11:45 +0000 (03:11 -0700)]
libc: First stab at using strerror_r and (strerror_s on Windows) instead of thread-unsafe strerror.

9 years agovm: Add threadsafe_sterror to the vm.
Doug Coleman [Fri, 4 Jul 2014 10:00:08 +0000 (03:00 -0700)]
vm: Add threadsafe_sterror to the vm.

9 years agopython: Call py-initialize in example, just in case it hasn't been called. Otherwise...
Doug Coleman [Fri, 4 Jul 2014 08:56:03 +0000 (01:56 -0700)]
python: Call py-initialize in example, just in case it hasn't been called. Otherwise, python segfaults..

9 years agoio.backend.unix.multiplexers.run-loop: Really fix bug #775!
Doug Coleman [Fri, 4 Jul 2014 08:50:45 +0000 (01:50 -0700)]
io.backend.unix.multiplexers.run-loop: Really fix bug #775!

9 years agocore-foundation.run-loop: Fix botched rename. Ugh. Fixes #775 on mac at least.
Doug Coleman [Fri, 4 Jul 2014 07:53:46 +0000 (00:53 -0700)]
core-foundation.run-loop: Fix botched rename. Ugh. Fixes #775 on mac at least.

9 years agoio.files.temp.macosx: Create the cache and temp directories every time. Fixes #1089.
Doug Coleman [Fri, 4 Jul 2014 06:41:20 +0000 (23:41 -0700)]
io.files.temp.macosx: Create the cache and temp directories every time. Fixes #1089.

9 years agovm/image.cpp: Better error for opening a file for writing.
Doug Coleman [Fri, 4 Jul 2014 05:32:45 +0000 (22:32 -0700)]
vm/image.cpp: Better error for opening a file for writing.

9 years agopython.ffi: Disable python3
Doug Coleman [Fri, 4 Jul 2014 01:25:22 +0000 (01:25 +0000)]
python.ffi: Disable python3

9 years agopython.ffi: On Arch Linux, the library is called libpython3.so
Doug Coleman [Fri, 4 Jul 2014 01:17:22 +0000 (01:17 +0000)]
python.ffi: On Arch Linux, the library is called libpython3.so

9 years agotools.deploy.backend: ui depends on (full) io so it needs to be loaded first
Björn Lindqvist [Fri, 20 Jun 2014 13:09:47 +0000 (15:09 +0200)]
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.

9 years agoalien.libraries.finder.linux: Trim blanks off the arch names.
Doug Coleman [Thu, 3 Jul 2014 21:30:15 +0000 (21:30 +0000)]
alien.libraries.finder.linux: Trim blanks off the arch names.

9 years agotyped: .97 basically breaks typed. Check that the new behavior is enforced.
Doug Coleman [Thu, 3 Jul 2014 19:29:40 +0000 (12:29 -0700)]
typed: .97 basically breaks typed. Check that the new behavior is enforced.

9 years agocompiler, stack-checker docs: Fix for 32-bit builds.
Doug Coleman [Thu, 3 Jul 2014 19:21:17 +0000 (12:21 -0700)]
compiler, stack-checker docs: Fix for 32-bit builds.

9 years agocompiler.tree.modular-arithmetic: Don't require that fixnum+ works on tuple slots...
Doug Coleman [Thu, 3 Jul 2014 19:12:46 +0000 (12:12 -0700)]
compiler.tree.modular-arithmetic: Don't require that fixnum+ works on tuple slots marked fixnum. This is probably a speed regression. XXX revisit

9 years agotools.coverage.testvocab: Fix help lint errors.
Doug Coleman [Thu, 3 Jul 2014 18:48:08 +0000 (11:48 -0700)]
tools.coverage.testvocab: Fix help lint errors.

9 years agovm: Fix compilation on Windows. Fixes #1086.
Doug Coleman [Thu, 3 Jul 2014 18:20:08 +0000 (13:20 -0500)]
vm: Fix compilation on Windows. Fixes #1086.

9 years agoalien.enums: cleanup using.
John Benediktsson [Mon, 30 Jun 2014 16:09:46 +0000 (09:09 -0700)]
alien.enums: cleanup using.

9 years agomath.transforms.bwt: cleaner to check last.
John Benediktsson [Mon, 30 Jun 2014 16:04:08 +0000 (09:04 -0700)]
math.transforms.bwt: cleaner to check last.

9 years agocurl: bindings to libcurl.
John Benediktsson [Sat, 28 Jun 2014 22:44:17 +0000 (15:44 -0700)]
curl: bindings to libcurl.

9 years agocore-foundation.file-descriptors: some cleanup.
John Benediktsson [Thu, 26 Jun 2014 20:49:57 +0000 (13:49 -0700)]
core-foundation.file-descriptors: some cleanup.

9 years agoio.backend.unix.multiplexors.select: some cleanup.
John Benediktsson [Thu, 26 Jun 2014 20:49:48 +0000 (13:49 -0700)]
io.backend.unix.multiplexors.select: some cleanup.

9 years agocolors.lch: implement CIELCH colors.
John Benediktsson [Tue, 24 Jun 2014 13:58:02 +0000 (06:58 -0700)]
colors.lch: implement CIELCH colors.

9 years agoio.binary.fast: le> and be> should be unsigned.
John Benediktsson [Tue, 24 Jun 2014 04:12:26 +0000 (21:12 -0700)]
io.binary.fast: le> and be> should be unsigned.

9 years agocolors: more doc fixes.
John Benediktsson [Sun, 22 Jun 2014 14:12:10 +0000 (07:12 -0700)]
colors: more doc fixes.

9 years agocolors: adding some wikipedia links.
John Benediktsson [Sun, 22 Jun 2014 14:10:23 +0000 (07:10 -0700)]
colors: adding some wikipedia links.

9 years agocolors.lab: implement CIELAB colors.
John Benediktsson [Sun, 22 Jun 2014 14:06:27 +0000 (07:06 -0700)]
colors.lab: implement CIELAB colors.

9 years agocolors.xyz: some refactoring.
John Benediktsson [Sun, 22 Jun 2014 14:04:09 +0000 (07:04 -0700)]
colors.xyz: some refactoring.

9 years agocolors: fix summary.txt.
John Benediktsson [Sat, 21 Jun 2014 16:22:01 +0000 (09:22 -0700)]
colors: fix summary.txt.

9 years agocolors.luv: fix for rgba.
John Benediktsson [Sat, 21 Jun 2014 16:21:42 +0000 (09:21 -0700)]
colors.luv: fix for rgba.

9 years agocolors.luv: implement CIELUV colors.
John Benediktsson [Sat, 21 Jun 2014 16:19:08 +0000 (09:19 -0700)]
colors.luv: implement CIELUV colors.

9 years agocolors: change article titles.
John Benediktsson [Sat, 21 Jun 2014 03:23:47 +0000 (20:23 -0700)]
colors: change article titles.

9 years agocolors.xyy: implement CIE xyY colors.
John Benediktsson [Sat, 21 Jun 2014 03:22:11 +0000 (20:22 -0700)]
colors.xyy: implement CIE xyY colors.

9 years agocolors.xyz: implement CIE XYZ colors.
John Benediktsson [Sat, 21 Jun 2014 03:21:59 +0000 (20:21 -0700)]
colors.xyz: implement CIE XYZ colors.

9 years agoLower the stack usage of a few functions
Steven Stewart-Gallus [Thu, 19 Jun 2014 20:12:25 +0000 (13:12 -0700)]
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.

9 years agofftw: adding a test.
John Benediktsson [Wed, 18 Jun 2014 17:42:01 +0000 (10:42 -0700)]
fftw: adding a test.

9 years agobrainfuck: more fries with that.
John Benediktsson [Wed, 18 Jun 2014 04:09:22 +0000 (21:09 -0700)]
brainfuck: more fries with that.

9 years agoalien.libraries.finder.linux: Remove tags like "OS ABI: Linux 2.6.24" from the `...
Doug Coleman [Tue, 17 Jun 2014 21:13:06 +0000 (14:13 -0700)]
alien.libraries.finder.linux: Remove tags like "OS ABI: Linux 2.6.24" from the ``ldconfig -p`` output.

9 years agobrainfuck: collapse spaces to compress better, 2+2=5 test.
John Benediktsson [Tue, 17 Jun 2014 16:32:09 +0000 (09:32 -0700)]
brainfuck: collapse spaces to compress better, 2+2=5 test.

9 years agoalien.libraries.finder.linux: On mint 32 bit, the gtk-x11-2.0 library arch is just...
Doug Coleman [Tue, 17 Jun 2014 06:07:13 +0000 (23:07 -0700)]
alien.libraries.finder.linux: On mint 32 bit, the gtk-x11-2.0 library arch is just (libc6). Hopefully this is correct.

9 years agobignum.cpp: Fix regression in bignum conversion. Fixes #1072.
Doug Coleman [Tue, 17 Jun 2014 03:52:51 +0000 (20:52 -0700)]
bignum.cpp: Fix regression in bignum conversion. Fixes #1072.

9 years agoVM: change type of bignum_roots and remove unnecessary not-null checks
Björn Lindqvist [Thu, 12 Jun 2014 17:10:42 +0000 (19:10 +0200)]
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.

9 years agoVM: rename all variables named "bignum" in bignum.cpp to "bn"
Björn Lindqvist [Thu, 12 Jun 2014 16:13:18 +0000 (18:13 +0200)]
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.

9 years agoVM: refactor bignum.cpp so that GC_BIGNUM is never called on a NULL
Björn Lindqvist [Thu, 12 Jun 2014 15:18:00 +0000 (17:18 +0200)]
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.

9 years agoVM: refactoring that removes data_root_ranges
Björn Lindqvist [Wed, 11 Jun 2014 18:33:33 +0000 (20:33 +0200)]
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).

9 years agomath.extras: adding sum-squares and sum-cubes.
John Benediktsson [Wed, 11 Jun 2014 01:28:21 +0000 (18:28 -0700)]
math.extras: adding sum-squares and sum-cubes.

9 years agomath.extras: adding dotted range syntax.
John Benediktsson [Wed, 11 Jun 2014 01:17:27 +0000 (18:17 -0700)]
math.extras: adding dotted range syntax.