Slava Pestov
08b6ebc7fa
Factor source files should not be executable
2009-11-21 17:50:43 -06:00
Slava Pestov
36639c7efd
Various Windows load fixes
2009-11-21 17:24:37 -06:00
Slava Pestov
2ad5796b6a
Update a few places that used string C type names to use words; fixes some deploy tests
2009-11-20 03:21:48 -06:00
Doug Coleman
60d2d707d9
remove disposable for now
2009-11-18 10:01:00 -06:00
Doug Coleman
f4457dc04d
don't clean up windows rng yet, needs refactoring first
2009-11-30 16:59:40 -06:00
Doug Coleman
3323072613
Merge branch 'master' into startup
...
Conflicts:
core/bootstrap/primitives.factor
vm/run.hpp
2009-11-15 02:52:50 -06:00
Doug Coleman
ae519868f7
over push -> suffix!, over push-all -> append!
2009-10-28 15:29:01 -05:00
Slava Pestov
b8a51c7eb0
delete-nth -> remove-nth!
2009-10-27 23:41:57 -05:00
Doug Coleman
42cc38010a
run bootstrap and startup hooks inside a with-destructors. use &dispose instead of setting shutdown hooks in a couple of places
2009-10-20 18:26:10 -04:00
Doug Coleman
6fa23d7ea4
change add-init-hook to add-startup-hook, new add-shutdown-hook word
2009-10-19 22:17:02 -04:00
Joe Groff
38e58fca39
make vshuffle-bytes intrinsic for any shuffle mask type
2009-10-19 12:25:55 -05:00
Slava Pestov
1a7b00eaa6
random.sfmt: make it endian-agnostic
2009-10-19 05:22:43 -05:00
Doug Coleman
61bf0a1f9c
revert loading sfmt by default
2009-10-07 21:41:12 -05:00
Doug Coleman
46c72d801e
load random.sfmt by default, and use it as default random-generator if sse2 is present
2009-10-07 21:05:51 -05:00
Doug Coleman
18c8ae3705
inline a word in sfmt
2009-10-07 15:27:40 -05:00
Doug Coleman
c1ce3afb4f
correctly correct the SFMT period
2009-10-07 15:06:59 -05:00
Doug Coleman
bc9742e1aa
correct the output of random.sfmt
2009-10-07 13:42:37 -05:00
Doug Coleman
c10b6d4ba7
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
Keith Lazuka
8f79ea91ba
docs: change $subsection to $subsections
2009-10-02 12:15:48 -04:00
Doug Coleman
193551b4e2
add unit test for seeding
2009-10-02 01:55:18 -05:00
Doug Coleman
82e6706af7
add seed-random method to random.sfmt, fix formatting
2009-10-02 01:54:17 -05:00
Doug Coleman
76a109942f
remove m-n-as-a-slot
2009-10-02 01:32:11 -05:00
Doug Coleman
7063f43952
optimizing random.sfmt
2009-10-02 01:18:18 -05:00
Doug Coleman
db68f7f1bd
sfmt uses some simd now
2009-10-02 00:40:55 -05:00
Doug Coleman
98c18e61b9
cleaning up sfmt
2009-10-02 00:21:48 -05:00
Doug Coleman
1ec00f0d65
initial checkin of random.sfmt so i can refactor it
2009-10-02 00:07:29 -05:00
Doug Coleman
bc8ed57749
fix bug in random-bytes* when no random-32* exists
2009-10-01 11:58:52 -05:00
Doug Coleman
aa16756ae1
fix the help lints
2009-09-30 18:52:01 -05:00
Doug Coleman
cd1020385e
make random-32* the protocol again, add a random-32 word that doesn't scale the returned bits
2009-09-30 15:56:02 -05:00
Doug Coleman
838762b849
add tests file for random.dummy
2009-09-30 03:23:01 -05:00
Doug Coleman
d19e602e53
fix seed-random, random-32* -> random-32
2009-09-30 03:22:11 -05:00
Joe Groff
e5d406693e
add USING:s and rearrange definitions so macosx can compile without parsing c-type strings
2009-09-26 23:14:57 -05:00
Doug Coleman
cd88348b19
link to sample
2009-09-23 12:24:50 -05:00
Doug Coleman
d9ef62ed23
add sample word to random vocab
2009-09-23 12:04:06 -05:00
Joe Groff
4a1422e7fe
move some allocation words that don't really have much to do with c types out of alien.c-types into a new alien.data vocab
2009-09-17 22:36:05 -05:00
Slava Pestov
527db8995a
Specialized array overhaul
...
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
Doug Coleman
d1ce837569
Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring
2009-08-13 19:21:44 -05:00
Doug Coleman
809a153c10
fix typo
2009-05-22 17:18:24 -05:00
Doug Coleman
9dd3f818d7
fix random.windows -- use CRYPT_MACHINE_KEYSET
2009-05-22 17:15:40 -05:00
Doug Coleman
9faefdbcc0
better factoring
2009-05-20 20:08:26 -05:00
Doug Coleman
a7c2d95db7
try to fall back on AES if RSA isn't found
2009-05-20 20:06:05 -05:00
Doug Coleman
4f6e3354df
call the word that attempts both crypto contexts
2009-05-20 19:40:52 -05:00
Doug Coleman
7767686270
fix error handling in random.windows if acquiring the crypto context fails
2009-05-20 19:30:35 -05:00
Slava Pestov
daec154817
Updating code in basis and extra for stricter vocab search path semantics
2009-05-14 23:23:06 -05:00
Slava Pestov
d7db5edadc
Cleaning up USING: lists for new strict semantics
2009-05-14 16:54:16 -05:00
Doug Coleman
9ef65178c9
move random-bits* to random, work on docs
2009-05-10 13:39:08 -05:00
Joe Groff
150f85b85a
uniform-random-float speed
2009-05-06 17:26:21 -05:00
Joe Groff
3e67e571cd
uniform and normal distributed random floats. uniform is done the lame way for now
2009-05-06 13:22:53 -05:00
Doug Coleman
4057332535
add a few usages of iota, remove most 1+ and 1- from core
2009-05-01 19:58:24 -05:00
Doug Coleman
8ab4d39036
move windows error handling to windows.errors and update usages.
2009-04-30 09:36:25 -05:00