Slava Pestov
6edb771d05
Re-arrange some code so that core-foundation.run-loop no longer depends on calendar
2008-12-08 16:01:11 -06:00
Slava Pestov
f6d45158bb
Fix locals conflict
2008-12-08 15:28:27 -06:00
John Benediktsson
b2a14495d2
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-08 13:09:44 -08:00
Slava Pestov
4f0a9f311e
Untangling some dependencies
2008-12-08 14:58:00 -06:00
Slava Pestov
f8bce98850
Remove unnecessary prettyprinter and debugger dependencies from UI
2008-12-08 13:58:57 -06:00
Doug Coleman
22dd6a74b6
add a unit test for tools.files
2008-12-08 12:46:44 -06:00
Doug Coleman
90cdb6c4f4
remove >r r>
2008-12-08 00:10:24 -06:00
Doug Coleman
24c9337db6
remove >r r>
2008-12-08 00:05:52 -06:00
Doug Coleman
819239edb9
add file-systems. word
2008-12-07 23:51:13 -06:00
John Benediktsson
f753742e99
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-07 18:57:56 -08:00
Slava Pestov
e4f8448eb1
Fix some problems with arithmetic type inference, exposed by recent changes to log2 word
...
- declared input type for bignum-shift was stricter than the runtime behavior, leading to bad propagation of type info if shift count was a bignum
- types inferred for type functions which used number-valued/integer-valued/real-valued were not always precise, eg bignum bignum bitxor => integer
- add interval-log2, type function for (log2)
- remove math-class-min, it was useless
2008-12-07 19:44:49 -06:00
John Benediktsson
b6263289c2
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-07 14:46:53 -08:00
Slava Pestov
3469d50b91
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-07 08:51:40 -06:00
Slava Pestov
ce269c8733
Fix grouping unit test
2008-12-07 08:50:59 -06:00
Doug Coleman
9ec5896a3a
Move two unit tests
2008-12-07 08:39:16 -06:00
Doug Coleman
1e53cf6c9f
upper? was copy/pasted and WRONG. found with extra/lint
2008-12-07 01:36:10 -06:00
Doug Coleman
4a5bf7e9d1
remove moved docs
2008-12-06 23:08:18 -06:00
Doug Coleman
3821b417af
remove finance words from calendar
2008-12-06 23:04:54 -06:00
Doug Coleman
14fb58f448
swap ... 3append -> surround in basis
2008-12-06 18:58:45 -06:00
Doug Coleman
45e428f186
fix file-systems on mac
2008-12-06 18:25:35 -06:00
Slava Pestov
080cc92239
Add a new deploy test for a new problem, clean up deploy tests, uncomment bunny test now that bunny is back in extra
2008-12-06 17:45:41 -06:00
Slava Pestov
d62e867db3
Dusting off old kqueue code
2008-12-06 17:35:15 -06:00
Slava Pestov
d84d267948
Add some CFFileDescriptor-related functions
2008-12-06 17:35:04 -06:00
John Benediktsson
dfe7c4f4fe
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-06 14:58:30 -08:00
Slava Pestov
0359ec8eac
Fix PowerPC backend again
2008-12-06 16:57:28 -06:00
John Benediktsson
3552041d49
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-06 14:56:48 -08:00
Slava Pestov
84dba13c9a
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-06 15:41:26 -06:00
Slava Pestov
8a8f0c925c
Use BSR instruction to implement fixnum-log2 intrinsic
2008-12-06 15:31:17 -06:00
Slava Pestov
d2ce4355f8
Fixing PPC backend
2008-12-06 15:30:40 -06:00
Eduardo Cavazos
ebf0f27773
concurrency.messaging-docs: Use consistent spelling for 'threads'.
2008-12-06 15:12:59 -06:00
Eduardo Cavazos
b256539500
ui.gadgets.sliders: Rewrite 'slider-scale' to not use shuffle words
2008-12-06 15:03:02 -06:00
Slava Pestov
03dd5db902
Documentation update
2008-12-06 14:24:44 -06:00
Slava Pestov
9c2e8abaca
Enable more local DCE
2008-12-06 14:24:31 -06:00
John Benediktsson
c9c2be7500
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-06 09:35:00 -08:00
Slava Pestov
145b635eb6
More optimization intended to reduce compile time. Another 10% speedup on compiling empty PEG parser
...
- new map-flat combinator replaces usages of 'map flatten' in compiler
- compiler.tree.def-use.simplified uses an explicit accumulator instead of flatten
- compiler.tree.tuple-unboxing uses an explicit accumulator instead of flatten
- fix inlining regression from last time: custom inlining results would sometimes be discarded
- compiler.tree's 3each and 3map combinators rewritten to not use flip
- rewrite math.partial-dispatch without locals (purely stylistic, no performance increase)
- hand-optimize flip for common arrays-of-arrays case
- don't run escape analysis and tuple unboxing if there are no allocations in the IR
2008-12-06 11:17:19 -06:00
Slava Pestov
a56d480aa6
Various optimizations leading to a 10% speedup on compiling empty EBNF parser:
...
- open-code getenv primitive
- inline tuple predicates in finalization
- faster partial dispatch
- faster built-in type predicates
- faster tuple predicates
- faster lo-tag dispatch
- compile V{ } clone and H{ } clone more efficiently
- add fixnum fast-path to =; avoid indirect branch if two fixnums not eq
- faster >alist on hashtables
2008-12-06 09:16:29 -06:00
Slava Pestov
7771a3e511
:> word work in progress, split up llocals
2008-12-06 04:57:38 -06:00
Slava Pestov
e95bda8144
Fix help lint warning
2008-12-06 03:47:17 -06:00
Slava Pestov
735e47fb55
Oops, off by 10
2008-12-06 01:36:25 -06:00
Slava Pestov
c41a0cf6a2
Add new words to tools.annotations to annotate words with timing code
2008-12-06 00:20:49 -06:00
Slava Pestov
b06cfc6225
Update ppc backend for recent string intrinsic changes
2008-12-06 00:12:07 -06:00
Slava Pestov
3673a3e7c7
Use stack effect literals instead of <effect> in PEG, and don't use smart combinators
2008-12-05 23:53:16 -06:00
Slava Pestov
6ee523f48f
Eliminate conditional branch from -fast variant of TR: map; 5% improvement on reverse-complement
2008-12-05 23:52:47 -06:00
Slava Pestov
82cf6530c6
set-string-nth-fast intrinsic was busted
2008-12-05 23:52:09 -06:00
Slava Pestov
044e2867d5
Teach compiler about string-nth range
2008-12-05 23:51:58 -06:00
Slava Pestov
f48653c47a
Fix compile error
2008-12-05 23:51:34 -06:00
John Benediktsson
5e136b470c
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-05 13:25:03 -08:00
Doug Coleman
2e31f7d792
fix help-lint errors
2008-12-05 12:57:36 -06:00
Doug Coleman
320f355541
fix load error
2008-12-05 11:39:24 -06:00
Doug Coleman
f126d0c0e6
fix compile error
2008-12-05 11:36:41 -06:00
Doug Coleman
29aeb707c1
fix load error
2008-12-05 11:35:10 -06:00
Slava Pestov
aa838dbc2d
Fix compile errors
2008-12-05 09:04:16 -06:00
Slava Pestov
0f8735554b
These errors don't exist anymore
2008-12-05 09:04:02 -06:00
Slava Pestov
5e0653ce6b
Fix USING:
2008-12-05 09:03:55 -06:00
Slava Pestov
8db24bdd34
assert-depth now has a static stack effect. This fixes a UI unit test failure
2008-12-05 08:25:26 -06:00
Slava Pestov
908644ee7a
O(1) <sbuf> and new-sequence on byte-arrays (work in progress)
2008-12-05 07:28:52 -06:00
Slava Pestov
e256846acd
Tweak string representation; high bit indicates if character has high bits in aux vector. Avoids memory access in common case. Split set-string-nth into two primitives; set-string-nth-fast is open-coded by optimizing compiler. 13% improvement on reverse-complement
2008-12-05 06:38:51 -06:00
Slava Pestov
25bf16f6d4
Optimize mersenne-twister: eliminate conditional branches from inner loop, 30% speedup
2008-12-05 01:50:30 -06:00
Slava Pestov
6c7005d588
Tweak inlining heuristic
2008-12-05 01:50:14 -06:00
Slava Pestov
0e0e79eb7e
Redo how Cocoa event loop is done; fixes problem with expose, focus issue when closing windows
2008-12-05 01:49:46 -06:00
Slava Pestov
12c8ffc194
Fix adding methods to existing classes
2008-12-04 21:22:48 -06:00
Joe Groff
ef0bc65039
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-04 13:41:30 -08:00
Joe Groff
f990647d67
Renovate math.blas.vectors to build off of functors and specialized-arrays. Add complex and complex-components sequence wrappers. Fix small bug in functors
2008-12-04 13:40:55 -08:00
Doug Coleman
ab1d9db6ad
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-04 13:55:55 -06:00
Doug Coleman
f5bafbb2a9
better default scite path
2008-12-04 13:53:03 -06:00
Slava Pestov
293dc2062c
Generalize specialized-arrays.direct: it should be able to wrap a byte array
2008-12-04 12:07:33 -06:00
Slava Pestov
9172a3ae27
Change usages of >r/r> in unicode.*
2008-12-04 10:19:18 -06:00
Slava Pestov
ba31f73b41
Fix regression on >r/r> test
2008-12-04 10:19:05 -06:00
John Benediktsson
832ebcf26f
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-04 00:45:19 -08:00
Slava Pestov
d70c8eff1c
Rewrite interpolate without using PEGs for mad lulz
2008-12-04 02:26:34 -06:00
Slava Pestov
ffecedf9de
Fix db.postgresql load error
2008-12-04 02:21:36 -06:00
Slava Pestov
e38beffff0
Merge branch 'master' of git://projects.elasticdog.com/git/factor
2008-12-04 00:38:47 -06:00
Aaron Schaefer
1296e3c792
Move math.blas back to extra due to multimethods usage
2008-12-04 01:35:53 -05:00
Slava Pestov
22aaf2253e
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-04 00:33:04 -06:00
Doug Coleman
869fbf27a1
remove join-space from db
2008-12-04 00:06:02 -06:00
U-SLAVA-DFB8FF805\Slava
2676807f72
Fix typo
2008-12-03 23:53:08 -06:00
Aaron Schaefer
13781ee48c
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-04 00:42:34 -05:00
U-SLAVA-DFB8FF805\Slava
e45776bb4e
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-03 23:33:04 -06:00
Slava Pestov
fa6a2047f0
New inlining heuristic: number of usages within this word. Speeds up bootstrap by 10%
2008-12-04 07:05:59 -06:00
Slava Pestov
e304d3c9f8
Local DCE
2008-12-04 06:02:49 -06:00
U-SLAVA-DFB8FF805\Slava
3b06cee83c
Obsolete tests
2008-12-03 23:32:51 -06:00
Doug Coleman
ded6b1963f
fix docs for db
2008-12-03 22:05:52 -06:00
Doug Coleman
8e4c14f50b
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-03 19:54:48 -06:00
Slava Pestov
247c9542bd
Merge branch 'master' of git://repo.or.cz/factor/jcg
2008-12-03 19:49:20 -06:00
Doug Coleman
7d2ca36fad
swap 3append -> glue
2008-12-03 19:13:18 -06:00
Doug Coleman
db30415dcb
basis: swap 3append -> glue
2008-12-03 19:10:41 -06:00
John Benediktsson
c8d8bfcd2c
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-03 16:40:48 -08:00
Doug Coleman
f6a205cc3a
move ftp to basis
2008-12-03 18:19:06 -06:00
Doug Coleman
1b0b74bfe1
call utf8 alien>string instead of alien>native-string
2008-12-03 18:16:17 -06:00
Doug Coleman
3a2b0cc1fb
rice mersenne-twister - replace mod with a subtraction
2008-12-03 18:15:14 -06:00
Doug Coleman
f75fdc5744
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-03 14:13:24 -06:00
Joe Groff
d4071b08e4
fix GUID struct field types to be LP64-proof
2008-12-03 11:38:38 -08:00
Joe Groff
350a6cb6b0
Looks like someone beat me to the punch on json.writer fix
2008-12-03 11:36:02 -08:00
Slava Pestov
9354207a5f
Fix io.mmap.ushort
2008-12-03 12:51:26 -06:00
Slava Pestov
8956ee0cc5
Fix struct-arrays help lint
2008-12-03 12:06:16 -06:00
Joe Groff
d2599b3633
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-03 09:51:47 -08:00
Joe Groff
5214923a35
fix serialization of t in json.writer
2008-12-03 09:51:42 -08:00
Slava Pestov
4c6af1cc9f
Use fry instead of curry
2008-12-03 10:45:06 -06:00
Slava Pestov
378bedd1e0
Faster mersenne-twister with specialized-arrays
2008-12-03 10:44:41 -06:00
Slava Pestov
e6cb449b19
optimized. now accepts method-specs
2008-12-03 10:44:21 -06:00
Slava Pestov
bea4d80a33
Add specialization hints from old float-arrays. These will be replaced with a better facility soon
2008-12-03 10:11:02 -06:00
Doug Coleman
06388da30d
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-03 10:03:37 -06:00
U-SLAVA-DFB8FF805\Slava
852e00c57a
Update windows.dinput for specialized-arrays
2008-12-03 09:55:11 -06:00
U-SLAVA-DFB8FF805\Slava
35df2fd480
Add test for malloc-struct-array
2008-12-03 09:54:59 -06:00
U-SLAVA-DFB8FF805\Slava
85c79bb41e
Fix malloc-struct-array
2008-12-03 09:54:02 -06:00
Slava Pestov
fdbf623bd4
Document struct arrays
2008-12-03 09:45:42 -06:00
Slava Pestov
c6f214f60d
Add struct-arrays
2008-12-03 09:41:48 -06:00
Slava Pestov
1cf1b5fb3c
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-03 09:33:54 -06:00
Slava Pestov
8e69362512
Better error message for INSTANCE: if second arg is not a mixin
2008-12-03 09:33:32 -06:00
U-SLAVA-DFB8FF805\Slava
cc34ead754
Update windows.com.wrapper for specialized-arrays changes
2008-12-03 09:12:57 -06:00
U-SLAVA-DFB8FF805\Slava
0a2ef55dc6
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-03 08:58:41 -06:00
U-SLAVA-DFB8FF805\Slava
cb5dd5c235
Get io.mmap to load on Windows again
2008-12-03 08:58:20 -06:00
Slava Pestov
e5ed7447ed
Removing more >r/r> usages
2008-12-03 08:46:16 -06:00
Doug Coleman
c4a06d4a60
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-03 08:34:59 -06:00
Slava Pestov
4102857694
Tree shaker now strips out some more PEG stuff
2008-12-03 08:12:28 -06:00
Slava Pestov
d60c79c9bf
Expand instance? with literal class
2008-12-03 08:11:51 -06:00
U-SLAVA-DFB8FF805\Slava
8834f8e041
Loosen type on direct arrays since we want to use them on displaced aliens too
2008-12-03 06:52:31 -06:00
U-SLAVA-DFB8FF805\Slava
da9b38caae
Fix Windows bootstrap
2008-12-03 06:52:16 -06:00
U-SLAVA-DFB8FF805\Slava
7b380c526e
Clean up windows.ole3 and fix it for specialized-arrays change
2008-12-03 06:38:44 -06:00
Slava Pestov
e9abdef5c5
Fix io.mmap help lint failures
2008-12-03 06:18:18 -06:00
Slava Pestov
54e1dd3338
Fix help-lint failures in alien.c-types
2008-12-03 06:17:38 -06:00
Slava Pestov
1944fe54c0
Fix compile error in nibble-arrays and add some unit tests
2008-12-03 06:16:17 -06:00
Slava Pestov
90409502e3
Fix [wlet after recent locals refactoring broke it
2008-12-03 06:13:05 -06:00
Doug Coleman
3d17175926
move io.files.unique to basis
2008-12-03 05:24:47 -06:00
John Benediktsson
b201020926
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-03 02:20:22 -08:00
Slava Pestov
13ed2476cd
Fix bogus dependency
2008-12-03 03:44:15 -06:00
Slava Pestov
460a43236b
Fix serialize tests
2008-12-03 03:43:59 -06:00
Slava Pestov
6200e99f58
Fix specialized vectors, again
2008-12-03 03:43:52 -06:00
Slava Pestov
46b0df1e18
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-03 03:34:38 -06:00
Doug Coleman
68757f0a99
revert id change
2008-12-03 00:19:52 -06:00
Slava Pestov
4eacebe3a3
Merge branch 'specialized-arrays'
2008-12-03 00:08:38 -06:00
Slava Pestov
6236850aa9
Comment out bunny deploy test since bunny is in temporarily in unmaintained
2008-12-03 00:06:46 -06:00
Slava Pestov
66c53b573d
Update x11 for specialized-arrays
2008-12-03 00:05:46 -06:00
Slava Pestov
48c051f22e
Fix specialized vectors
2008-12-03 00:05:32 -06:00
Doug Coleman
8edcf841f1
back to using getmntinfo64 instead of getfsstat64 on mac
2008-12-02 23:10:27 -06:00
Slava Pestov
22be7e5928
Remove with-malloc, use destructors instead
2008-12-02 21:51:21 -06:00
Slava Pestov
c4ff034229
Document byte-array>T-array word
2008-12-02 21:51:07 -06:00
Slava Pestov
9c713fda6f
Change type declaration for performance reasons
2008-12-02 21:50:53 -06:00
Slava Pestov
aa3e1cdb6c
mapped-file no longer supports sequence protocol. Instead, io.mmap.functor generates mapped arrays for all primitive C types
2008-12-02 21:50:34 -06:00
Doug Coleman
7527a3d62d
move io.files.listing to tools.files and update usages
2008-12-02 21:49:59 -06:00
Slava Pestov
f683a76a5e
Functor application records location info in generated words
2008-12-02 21:49:51 -06:00
Doug Coleman
2b4e2776f1
break out id into id0 and id1
2008-12-02 21:39:09 -06:00
Doug Coleman
201c02414a
file-systems works on netbsd now
2008-12-02 21:32:00 -06:00
Slava Pestov
25bdb4172a
Functor-generated words can now have stack effect declarations; define byte-array>*-array words
2008-12-02 20:35:20 -06:00
Doug Coleman
0c7327a572
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-02 20:23:27 -06:00
Slava Pestov
7a72ca52df
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-02 20:46:32 -06:00
Slava Pestov
9de02d01c5
Fix selection rendering
2008-12-02 20:46:21 -06:00
Slava Pestov
cb56943f81
Clean up each-line combinator a bit, add unit tests
2008-12-02 20:46:09 -06:00
erg
7eff9493b5
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-02 20:42:31 -06:00
erg
2d71132527
file-system-info on linux now shows more information
2008-12-02 20:41:57 -06:00