Doug Coleman
77860bc95d
let's work with cygwin here..._ftelli64 -> ftello64 on cygwin. fine i guess
2009-10-04 06:10:57 -05:00
Jon Harper
0dbbc6bbe5
Merge branch 'master' of git://factorcode.org/git/factor into bleeding_edge
2009-10-04 15:23:56 +09:00
Joe Groff
7ed8f00b0f
go back to using random instead of uniform-random-float in math.vectors.simd tests because the software and SIMD implementations of norm and v. can sporadically diverge when their different operation orders lead to cancellation of catastrophically small inputs
2009-10-03 22:57:04 -05:00
Joe Groff
cef5a32746
rice out transpose-matrix4 and diagonal-matrix4 using vmerge
2009-10-03 22:48:41 -05:00
Joe Groff
626954a071
fix v? software fallback
2009-10-03 22:37:45 -05:00
Joe Groff
0c9c3d4859
add %merge-vector-head and %merge-vector-tail instructions to back vmerge
2009-10-03 21:48:53 -05:00
Joe Groff
05c722ea0c
link vmerge into math.vectors docs
2009-10-03 21:48:16 -05:00
Joe Groff
26ddc44dc0
Merge branch 'master' of git://factorcode.org/git/factor
2009-10-03 21:02:21 -05:00
Joe Groff
d3c51baf91
software version of vmerge word (to be backed by UNPCK instructions on x86 and VMRG instructions on ppc)
2009-10-03 20:22:37 -05:00
Doug Coleman
84fd08d86b
update docs for stream-tell
2009-10-03 19:39:06 -05:00
Doug Coleman
770405359e
better tests for stream-tell
2009-10-03 19:33:54 -05:00
Doug Coleman
ed1636a0c0
fix stream-tell
2009-10-03 19:26:59 -05:00
Doug Coleman
aa37a57b9a
take the buffer position into account on buffered-port stream-tell
2009-10-03 19:15:56 -05:00
Doug Coleman
1d41f4c66c
add unit test for c stream-tell
2009-10-03 19:07:16 -05:00
Doug Coleman
00efd780c9
Merge branch 'master' of git://factorcode.org/git/factor
2009-10-03 18:27:38 -05:00
Doug Coleman
098fd0248a
support limited-streams correctly for seekable streams
2009-10-03 18:27:09 -05:00
Doug Coleman
11d55131de
add ftell primitive
2009-10-03 18:20:35 -05:00
Jon Harper
d75be8defe
Merge branch 'master' of git://factorcode.org/git/factor into bleeding_edge
2009-10-04 03:26:14 +09:00
Jon Harper
a6a5245edb
more library usage and readability improvements
2009-10-04 03:18:04 +09:00
Jon Harper
2dafa24383
Merge branch 'master' of git://factorcode.org/git/factor into bleeding_edge
2009-10-04 03:17:35 +09:00
Joe Groff
9e61c433f1
Merge branch 'master' of git://factorcode.org/git/factor
2009-10-03 11:48:56 -05:00
Joe Groff
426e560a6b
sprinkle some NaNs onto math.vectors.simd fuzz tests to improve flavor
2009-10-03 11:47:02 -05:00
Joe Groff
04bb03bb61
add intrinsics for v<=, v<, v=, v>, v>=, vunordered?
2009-10-03 11:29:34 -05:00
Samuel Tardieu
2bbad8d837
Remove two small memory leaks on Linux
2009-10-03 18:18:07 +02:00
Slava Pestov
8a7e9740c9
math.floats.env: disable trap tests on OpenBSD i386 for now, until The World's Most Secure Operating System fixes a local DoS exploit
2009-10-03 10:59:54 -05:00
Joe Groff
74f15cfe8c
Merge branch 'master' of git://factorcode.org/git/factor
2009-10-03 10:02:26 -05:00
Slava Pestov
24ba367ca0
vm.hpp: fix typo
2009-10-03 09:47:06 -05:00
Slava Pestov
c4ef640f4d
Big VM cleanup
...
- Move forward declarations of 'struct factor_vm' to one place
- Rename template parameters from T and TYPE to descriptive names. New convention: CamelCase for template parameters
- Change some higher-order functions taking function pointers into templates, and define classes overriding operator(). There's a bit of new boilerplate here but its more consistent than the old mish-mash approaches
- Put GC state into a gc_state struct
- Use exceptions instead of longjmp for non-local control transfer in GC
- In code GC, instead of interleaving code block tracing with copying, add code blocks which need to be revisited to an std::set stored in the gc_state
2009-10-03 08:47:05 -05:00
Slava Pestov
bcd5c5c635
Fix deploy tests and update command-line docs a bit
2009-10-03 06:53:23 -05:00
Joe Groff
4e024cbbc2
extend x86 %compare-vector to cover all comparison codes, sometimes stupidly for now
2009-10-02 23:19:56 -05:00
Slava Pestov
21eea4d88c
Allow access to command line arguments in deployed apps
2009-10-02 21:00:12 -05:00
Slava Pestov
cfc8b06ac0
vm: cleanup in os-genunix.cpp
2009-10-02 20:36:19 -05:00
Slava Pestov
5fc3ad92f6
cpu.arm.assembler: dust it off, update to work with contemporary Factor, and clean it up a bit
2009-10-02 20:18:34 -05:00
Joe Groff
38f413a8a6
add intrinsic for vnot/vbitnot
2009-10-02 20:04:28 -05:00
Doug Coleman
cb308e8cc8
Merge branch 'klazuka'
2009-10-02 16:22:10 -05:00
Doug Coleman
cfdaaec068
move verbose-tests? out of private, change decode-test word to set the verbose mode itself, use images.pam in images test vocabs
2009-10-02 16:20:33 -05:00
Doug Coleman
7d005111a4
i messed up a merge. weird
2009-10-02 16:05:00 -05:00
Doug Coleman
a070e9a3a9
Merge branch 'master' of git://factorcode.org/git/factor into klazuka
...
Conflicts:
basis/math/vectors/vectors-docs.factor
2009-10-02 15:59:19 -05:00
Doug Coleman
67167cf9ea
Merge branch 'docs' of git://github.com/klazuka/factor into klazuka
...
Conflicts:
basis/math/vectors/vectors-docs.factor
2009-10-02 15:58:45 -05:00
Doug Coleman
347e58a79b
Merge branch 'master' of git://factorcode.org/git/factor
2009-10-02 15:55:07 -05:00
Doug Coleman
1310aff3d8
fix bitmap tests path
2009-10-02 15:54:39 -05:00
Doug Coleman
ad6c8c94cd
Merge branch 'images' of git://github.com/klazuka/factor into klazuka
2009-10-02 15:42:47 -05:00
Joe Groff
f93dcfc792
give math.vectors shuffle words their own docs subsection in anticipation of having more ops in there
2009-10-02 15:37:49 -05:00
Joe Groff
5ff3eef0df
proofreading math.vectors docs
2009-10-02 15:18:42 -05:00
Joe Groff
0821d3f370
add notes to math.vectors docs about simd booleans
2009-10-02 15:11:06 -05:00
Joe Groff
aa3392e50f
implement vand, vor, vandn, and vxor as bitwise intrinsics for simd types
2009-10-02 14:17:01 -05:00
Joe Groff
435cd02200
keep a map of thread ids to vm pointers. use this to look up the correct VM to handle mach exceptions on os x
2009-10-02 12:03:05 -05:00
Keith Lazuka
7ddb8d8525
tools.crossref: Added $subsection to 'M: link uses' markup list
2009-10-02 12:18:33 -04:00
Keith Lazuka
405e5d015b
docs: change $subsection to $subsections
2009-10-02 12:15:48 -04:00
Joe Groff
f867a776d9
import std::tr1/boost ::unordered_map into the factor namespace instead of using #define
2009-10-02 11:13:27 -05:00