Doug Coleman
63af1308bb
tools.deploy: Pump p p pump pump it up
2014-07-09 21:40:18 -07:00
Doug Coleman
baa9bed236
io.launcher: Fix help-lint for Windows. The examples don't work on
...
Windows, so disable them.
2014-07-09 23:19:58 -05:00
John Benediktsson
e0801a632e
compiler.tree.modular-arithmetic: make a partial test and add some information to the XXX: comment.
2014-07-09 09:27:13 -07:00
John Benediktsson
cc7dfc146b
Revert "compiler.tree.modular-arithmetic: revert strict patch so we can investigate further."
...
This reverts commit ec8377e125
.
2014-07-08 19:18:34 -07:00
Doug Coleman
13ef52491a
debugger: Fix using.
2014-07-08 18:06:36 -07:00
John Benediktsson
ec8377e125
compiler.tree.modular-arithmetic: revert strict patch so we can investigate further.
2014-07-08 16:59:58 -07:00
John Benediktsson
e137cde7f8
cocoa.plists: use new NSFastEnumeration>hashtable word.
2014-07-08 16:12:41 -07:00
John Benediktsson
116086ddf7
calendar.format: use math.parser format directive.
2014-07-08 16:03:02 -07:00
Jon Harper
484ddae159
calendar.format: rfc3339, don't drop seconds decimals
2014-07-08 15:53:52 -07:00
Doug Coleman
d578ca7959
alien.libraries.finder: How many patches does it take... I was dropping the wrong value from map-find.
2014-07-08 11:58:34 -07:00
Doug Coleman
710a7c1a21
debugger: Add a unit test for #1098 .
2014-07-08 11:56:08 -07:00
Doug Coleman
ee08a436fd
alien.libraries.finder: map-find was what I wanted all along.
2014-07-08 13:13:41 -05:00
Doug Coleman
7a388a64b2
Merge branch 'master' of factorcode.org:/git/factor
2014-07-08 12:42:08 -05:00
Doug Coleman
1e8655c5c0
alien.libraries.finder: More robust finder code that doesn't return f to a
...
string slot and error out. Use it in yaml.ffi.
2014-07-08 12:40:33 -05:00
Doug Coleman
77f806d6c5
alien.libraries.finder: Add find-library-from-list utility word.
2014-07-08 12:21:50 -05:00
Doug Coleman
b3fba62f05
Merge branch 'master' of factorcode.org:/git/factor
2014-07-08 01:34:46 -05:00
Doug Coleman
a8b78071ff
alien.libraries.finder.windows: Better fix for finding the right library path.
2014-07-07 23:34:10 -07:00
Doug Coleman
9bbf0af6e8
Revert "alien.libraries: Normalize the path before opening a dll since"
...
This reverts commit 05aabb13f4
.
2014-07-07 23:31:59 -07:00
Doug Coleman
6612867742
db.postgresql: Enable postgresql tests on win64! YAY!!
2014-07-08 01:26:52 -05:00
Doug Coleman
05aabb13f4
alien.libraries: Normalize the path before opening a dll since
...
find-library can return paths that have "resource:" in them.
2014-07-08 01:12:44 -05:00
Doug Coleman
bcd7c743a2
alien.c-types: Looks like ffi_test_59 found a bug after all. Add comments because it's confusing on small screens.
2014-07-07 20:47:40 -07:00
Doug Coleman
908bfa2db6
alien.c-types: Ugh. There are self-similar lines of code, got confused.
2014-07-07 20:28:27 -07:00
Doug Coleman
377180baf6
io.sockets.secure.windows: Fix using, remove duplication.
2014-07-07 21:44:40 -05:00
Doug Coleman
59c5373263
io.sockets.secure: Another fix for cross-platform openssl.
2014-07-07 18:45:22 -07:00
Doug Coleman
075a86f5d9
io.sockets.secure: Move some code from secure.unix to secure.openssl. Add a hook for finding sockets to upgrade.
2014-07-07 18:34:41 -07:00
Doug Coleman
05ef13fff4
alien.c-types: Revert previous changes to 64 bit boxing/unboxing. Seems to work. See #1062 .
2014-07-07 17:25:28 -07:00
Doug Coleman
beb2d1df3a
ffi: Add some tests to ensure that 64bit integers are handled properly.
2014-07-07 17:02:36 -07:00
Doug Coleman
608c23ad8f
alien.c-types: longlong was calling to_fixnum instead of to_signed_8.
2014-07-07 16:26:05 -07:00
Doug Coleman
254e7a5e62
core-foundation.fsevents: FSEventStreamEventId should be a ulonglong instead of longlong.
2014-07-07 15:18:57 -07:00
Doug Coleman
0fbe0e5167
unix: Ignore failures if errno is EINTR on close(2). Fixes #908 .
2014-07-07 14:55:13 -07:00
Doug Coleman
31b8a0e051
libc.windows: We have to use utf8 since this is a libc call and the native
...
encoding on windows is utf16n.
2014-07-07 00:50:47 -05:00
John Benediktsson
e5db4c2ccc
tools.deploy: bump sizes to get clean 32-bit builds (for now).
2014-07-06 11:11:22 -07:00
John Benediktsson
cf3fdfc23e
libc: fix usings.
2014-07-06 10:46:02 -07:00
John Benediktsson
fd19fadcc6
libc: fix for linux using GNU strerror_r (for now).
2014-07-06 10:41:51 -07:00
Doug Coleman
451a621dad
libc: Add default strerror that is not threadsafe. Move threadsafe unix load to the end of the file so that malloc is defined.
2014-07-04 03:31:11 -07:00
Doug Coleman
dbba9f931b
libc: Fix strerror for unix.
2014-07-04 03:25:57 -07:00
Doug Coleman
df452dfb91
libc: Fix load error on windows.
2014-07-04 05:19:29 -05:00
Doug Coleman
d7595bbb7c
libc: First stab at using strerror_r and (strerror_s on Windows) instead of thread-unsafe strerror.
2014-07-04 03:11:45 -07:00
Doug Coleman
79b0948377
io.backend.unix.multiplexers.run-loop: Really fix bug #775 !
2014-07-04 01:50:45 -07:00
Doug Coleman
525fe70306
core-foundation.run-loop: Fix botched rename. Ugh. Fixes #775 on mac at least.
2014-07-04 00:53:46 -07:00
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
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
John Benediktsson
055cacabd4
alien.enums: cleanup using.
2014-06-30 09:09:46 -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
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
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
John Benediktsson
c20838117d
heaps: fix stack effect for >max-heap.
2014-06-10 17:18:37 -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
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
8ed47488e9
stack-checker.alien: fix help-lint.
2014-06-09 14:15:18 -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 #433
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
John Benediktsson
d02b399f70
opengl.capabilities: fix docs.
2014-06-08 18:14:20 -07:00
John Benediktsson
5986f9cbe3
help.lint.checks: allow $slot to be used with struct-class.
2014-06-08 18:12:26 -07:00
John Benediktsson
de12140505
alien.libraries.finder: fix docs.
2014-06-08 18:08:26 -07:00
John Benediktsson
445c7f299a
stack-checker.known-words: adding bignum>fixnum-strict.
2014-06-08 18:02:16 -07:00
John Benediktsson
14f425c57c
compiler.tree.modular-arithmetic: strict versions shouldn't be here.
2014-06-08 16:16:24 -07:00
John Benediktsson
17478e27cd
alien.libraries.finder: fix tests for @erg's recent change.
2014-06-08 13:41:38 -07:00
John Benediktsson
b573c40402
compiler.tree: teaching it bignum>fixnum-strict.
2014-06-08 13:40:38 -07:00
John Benediktsson
8303d6aacf
alien.libraries.finder.macosx: adding some tests.
2014-06-08 13:38:35 -07:00
John Benediktsson
b7bd78d92d
alien.libraries.finder.linux: add some tests.
2014-06-08 13:37:10 -07:00
John Benediktsson
96e337f937
alien.libraries.finder.linux: make "m" find-library work.
2014-06-08 13:30:54 -07:00
John Benediktsson
04a04dacca
alien.libraries.finder.linux: sigh.
2014-06-08 13:25:51 -07:00
John Benediktsson
7bfd267d02
alien.libraries.finder: whoops.
2014-06-08 13:23:43 -07:00
John Benediktsson
b915520311
cpu.architecture: fix using from bad conflict merge.
2014-06-08 11:48:31 -07:00
Björn Lindqvist
280620c55f
Docs: docs for compiler-related words
2014-06-08 11:48:31 -07:00
Björn Lindqvist
160df8b3f1
Docs: for compiler.cfg.* vocabs
2014-06-08 11:48:31 -07:00
Björn Lindqvist
9c901b9c0e
Docs: for compiler, vm and combinators
2014-06-08 11:48:30 -07:00
Björn Lindqvist
4f91e9efbb
Docs: more docs for stack-checker.* words
2014-06-08 11:48:30 -07:00
Björn Lindqvist
2d7f344109
Docs: more docs for compiler.cfg.* words
2014-06-08 11:48:30 -07:00
Björn Lindqvist
3d7b0dbf0a
Docs: for compiler.cfg.regsters
2014-06-08 11:48:30 -07:00
Björn Lindqvist
395a490b90
Docs: documentation for stack-checker.* and compiler.* vocabs
2014-06-08 11:48:30 -07:00
Björn Lindqvist
93a609db38
Docs: for cpu.architecture words
2014-06-08 11:48:30 -07:00
Björn Lindqvist
cf8de7cc1a
Docs: for cpu.x86
2014-06-08 11:48:30 -07:00
Björn Lindqvist
fa097c7a56
Docs: for compiler.cfg and cpu.architecture words
...
Conflicts:
basis/cpu/architecture/architecture-docs.factor
2014-06-08 11:48:30 -07:00
Björn Lindqvist
c76a994f27
Docs: new stub documentation for vocabs in compiler.cfg
2014-06-08 11:48:29 -07:00
John Benediktsson
490bb44a94
alien.libraries.finder.linux: some fixes to allow "LLVM-3.4" to find "LLVM-3.4.1".
2014-06-08 11:48:29 -07:00
Doug Coleman
1b29731927
opengl.capabilities: Try to throw linux Radeon users a bone for getting around having two libGL.so installed.
...
See http://ubuntuforums.org/showthread.php?t=2228534&p=13044229#post13044229
(Does anyone know the best fix for this!?)
2014-06-07 23:06:25 -07:00
Doug Coleman
d614084550
opengl.capabilities: Apply @jonenst's suggestions for gl-version failures with mesa opengl.
2014-06-07 21:48:20 -07:00
Doug Coleman
d10443186c
alien.libraries.finder: Make find-library return the string passed in instead of f if the library is not found. We want vocabularies to load no matter what instead of throwing a missing library error. Also, print dlerror in the error message and take away the redundant line about possible missing libraries. Fixes #986 .
2014-06-07 20:58:14 -07:00
John Benediktsson
65c17348f2
gtk.ffi: fixed.
2014-06-07 13:45:20 -07:00
Björn Lindqvist
a6b3f50e2c
alien.libraries.finder: using find-library for some often missing libs
2014-06-07 11:48:05 -07:00
John Benediktsson
0c3580844d
kernel: remove ?execute, not used much, and a little bit confusing.
2014-06-07 09:56:47 -07:00
Björn Lindqvist
c3f9c0a9a3
compiler.cfg.intrinsics.simd: the ulonglong case is correct, it just shouldn't convert the value to a fixnum
2014-06-07 17:00:52 +02:00
Björn Lindqvist
644dac1fc0
compiler.cfg.intrinsics.simd: remove a case in sign-bit-mask that is probably unused
2014-06-07 14:39:19 +02:00
Björn Lindqvist
4f49edaa66
VM: tests that rely on the integer values of the vm_error_type needs to be updated
2014-06-07 12:13:59 +02:00
Björn Lindqvist
a9a52d9174
VM: bignum_to_fixnum_strict and an accompanying vm error in case the conversion fails
2014-06-07 12:13:59 +02:00
John Benediktsson
3ec5c7074d
help.lint.checks: better error message for non-unique $see-also.
2014-06-06 14:46:46 -07:00
Doug Coleman
018d12b29b
math.bits: Clean up the docs some more.
2014-06-06 14:45:46 -07:00
John Benediktsson
c765f85851
help.lint.checks: maybe clearer error message.
2014-06-06 14:40:01 -07:00
Doug Coleman
6b9c7c6772
math.bits: Clarify docs. Don't support negative numbers for make-bits. Fixes #893 .
2014-06-06 14:25:21 -07:00