Slava Pestov
05d644f81a
tools.deploy.shaker: strip out vm, image, current-directory to avoid leaking information from build environment
2010-02-15 17:54:19 +13:00
Slava Pestov
0dc2753090
tools.deploy.shaker: don't strip out io.files hook, since then we lose resource-path and such
2010-02-15 17:37:07 +13:00
Slava Pestov
0d0220a165
io.files.info: load io.files.info.unix if we're on Unix. Fixes long-standing no-method error on file-info
2010-02-15 17:15:26 +13:00
Aaron Schaefer
863f5b748f
Merge branch 'master' of git://factorcode.org/git/factor
2010-02-14 16:01:45 -06:00
Aaron Schaefer
2b636ee077
Typo in command-line docs
2010-02-14 16:00:08 -06:00
Joe Groff
80507856f4
Merge branch 'master' of git://factorcode.org/git/factor
2010-02-14 12:42:37 -08:00
Joe Groff
eb3c34e4e5
create a real "ui.gadgets.theme" vocab, move theme-image word into it, and add theme images to resources.txt
2010-02-14 12:42:03 -08:00
Joe Groff
1a0a55e938
remove debug output from vocab.metadata.resources
2010-02-14 12:08:13 -08:00
Joe Groff
3e71034dd4
globs: add "glob-parent-directory" word that returns the deepest level of a path without glob symbols
2010-02-14 11:49:33 -08:00
Joe Groff
a3ad1b0740
have tools.deploy.shaker write a manifest of loaded vocabs to a file. have tools.deploy.backend read in this manifest. have tools.deploy.macosx copy resources for the manifest vocabs to the deployed bundle
2010-02-14 11:29:37 -08:00
Joe Groff
05e53c0c58
vocabs.metadata.resources: don't try to expand resource patterns for vocabs without a resources.txt
2010-02-14 09:59:36 -08:00
Slava Pestov
a75a19e879
Merge branch 'master' of git://github.com/erikcharlebois/factor
2010-02-15 01:26:10 +13:00
Slava Pestov
81827c420a
core-foundation.arrays: forgot to check in unit tests
2010-02-15 01:03:40 +13:00
Slava Pestov
0d547a950f
More preparations for a release
2010-02-15 01:03:26 +13:00
Erik Charlebois
06c10df596
Made p^ more efficient by repeated squaring instead of repeated multiplication
2010-02-13 19:47:44 -08:00
Joe Groff
2dfb9f0e99
vocabs.metadata: add "vocab-resources" word to read list of deployable resource files from a "resources.txt" file in the vocab directory. add "vocabs.metadata.resources" subvocab that expands globs and directory names in resources.txt entries
2010-02-13 14:31:10 -08:00
Joe Groff
ac71127cf2
io.directories: directory-tree-files should include the directories too, not just their contents
2010-02-13 13:57:58 -08:00
Joe Groff
54a72370c1
globs: * and ? should not match path-separator
2010-02-13 13:35:04 -08:00
Joe Groff
1ded034286
io.directories: add "directory-tree-files" and "with-directory-tree-files" words
2010-02-13 12:52:32 -08:00
Erik Charlebois
9cd809802f
Fix stack effect decl in listener.factor and mismatched dynamic stack effect for error hook in remote.factor
2010-02-13 03:50:04 -08:00
Erik Charlebois
33bdf4659a
Merge up with Joe's earlier change that added s3tc
2010-02-13 02:43:42 -08:00
Erik Charlebois
44aa9a032e
Merge up with Joe's earlier change that added s3tc
2010-02-13 02:41:03 -08:00
Erik Charlebois
996125daa0
Add p^ to polynomial vocab for exponentiation of polynomials
2010-02-13 02:35:09 -08:00
Erik Charlebois
12729d67d0
Constants for GL_EXT_texture_compression_s3tc and GL_EXT_texture_compression_latc
2010-02-13 02:34:26 -08:00
Joe Groff
9b2fcb7252
gpu.textures: add compressed texture support
2010-02-11 14:22:54 -08:00
Slava Pestov
4cc907e1af
compiler.tree.propagation, compiler.tree.escape-analysis: make these passes handle constants in a more robust way in compilation units involving tuple reshaping
2010-02-12 02:50:59 +13:00
Slava Pestov
45ff20f132
cpu.architecture: rep-length now works in deployed images
2010-02-11 18:11:47 +13:00
Slava Pestov
fd11ad30dc
compiler.tree.propagation.inlining: remove some unused words
2010-02-11 16:29:48 +13:00
Slava Pestov
ad865ae584
furnace.asides: end-aside-post didn't set the params variable. Fixes a bug introduced by commit fa4a10b328 way back in August 2009
2010-02-10 19:32:38 +13:00
Slava Pestov
1563fbcd70
math.functions: clean up
2010-02-10 15:04:58 +13:00
Slava Pestov
dca4463240
ui.backend.cocoa.tools: use interactive-vocabs for 'evaluate selection' service
2010-02-10 11:47:06 +13:00
Slava Pestov
e645913ca5
core-foundation.arrays: CF>array word was broken ever since integer sequences were removed
2010-02-10 11:46:44 +13:00
Slava Pestov
cc384f5c5d
help.home: don't flip out if an article in the recent list does not exist. Fixes problem where forgetting a vocab screws up help browser
2010-02-09 22:21:05 +13:00
Slava Pestov
1923bbcbb8
Merge branch 'master' of git://github.com/littledan/Factor
2010-02-09 14:35:30 +13:00
Daniel Ehrenberg
e18a7fb8f1
Giving combinators.short-circuit proper row-polymorphic behavior
2010-02-08 19:32:53 -06:00
Slava Pestov
8e7a1307fc
debugger: fix formatting of restart list
2010-02-08 20:03:18 +13:00
Slava Pestov
0880ad4909
ui.text: fix USING: line
2010-02-08 19:18:51 +13:00
Slava Pestov
8be1f02446
ui.text: add a string>image hook and clean up a bit of code duplication
2010-02-08 18:40:26 +13:00
Slava Pestov
4ffcf8e50d
Remove math.floats.parser now that its no longer needed
2010-02-08 16:52:29 +13:00
Joe Groff
337ffaab71
specialized-vectors: fix byte-length to return byte-length of the vector rather than of its underlying capacity
2010-02-07 15:24:39 -08:00
Slava Pestov
9724a7d9d1
math.floats.parser: new vocabulary with old string>float word
2010-02-08 08:32:13 +13:00
Slava Pestov
419d954dc1
Fix unit test for math.parser change
2010-02-08 08:31:17 +13:00
Slava Pestov
18ed2d8c69
vm: nuke unused (string>float) primitive
2010-02-08 08:16:56 +13:00
Slava Pestov
13d64f44a2
Merge branch 'new-math-parser' of git://factorcode.org/git/factor into new-math-parser
2010-02-07 23:28:18 +13:00
Joe Groff
efae29a947
Merge branch 'master' of git://factorcode.org/git/factor
2010-02-07 00:13:44 -08:00
Slava Pestov
242d58b188
ui.text: fix outdated material
2010-02-07 18:20:54 +13:00
Slava Pestov
502b5477f7
io.launcher.unix: sometimes both WIFEXITED and WIFSIGNALED would return true, and the wrong status would be reported
2010-02-07 18:17:53 +13:00
Slava Pestov
ec8eeb27ca
Merge branch 'master' of git://github.com/erikcharlebois/factor
2010-02-07 18:09:04 +13:00
erikc
3c396c3533
Don't FEP on unhandled case for WM_APPCOMMAND
2010-02-05 23:50:58 -08:00
Slava Pestov
bd13a8d42d
cpu.x86.64: inline cache miss blocks have a prolog generated in the middle of a procedure; undo a recent change to non-optimizing backend to fix random crashes
2010-02-06 18:45:27 +13:00
Slava Pestov
ba7f1c4b2c
cpu.ppc: needs same fix for jit-profiling as on x86-64
2010-02-06 18:45:26 +13:00
Joe Groff
a44ef74905
Merge branch 'master' of git://factorcode.org/git/factor
2010-02-05 20:13:45 -08:00
erikc
a6067c6fb5
Merge branch 'master' of git://github.com/slavapestov/factor
2010-02-05 15:53:18 -08:00
erikc
0033a126be
Had the color order for TGA backwards
2010-02-05 15:32:38 -08:00
Joe Groff
78486f0d80
json: if-json-null combinator, in the same vein as if-zero, if-empty, etc.
2010-02-05 14:10:06 -08:00
Doug Coleman
5783e22d65
Fix typo in dinput binding
2010-02-05 14:09:17 -06:00
Slava Pestov
29ec90d747
windows.types: remove duplicate typedefs flagged by recent alien.syntax change
2010-02-05 06:04:12 -06:00
Slava Pestov
f4cfb63023
alien.syntax: save source location for TYPEDEF:, raise error on redefinition
2010-02-05 20:52:20 +13:00
Slava Pestov
b0f09faebf
cpu.x86: fix crashes when using certain features (threads, errors, etc) with profiling enabled on x86-64. The profiling stub was clobbering an argument for the unwind_native_frames() entry point
2010-02-05 20:52:19 +13:00
Slava Pestov
3aa5ecb6ee
windows.types: another Win64 fix
2010-02-05 01:47:21 -06:00
Doug Coleman
ed3ce45f03
Fix help lint for user-id
2010-02-05 01:20:40 -06:00
unknown
04f172d355
windows.types: fix LONG_PTR type on win64
2010-02-04 22:44:41 -06:00
Doug Coleman
7bf0e42615
Fix user-name in unix.users, add unit test
2010-02-04 22:14:53 -06:00
Joe Groff
14477ba4c1
math.quaternions: slerp function
2010-02-04 20:08:37 -08:00
Doug Coleman
5dfccaddae
Merge branch 'master' of git://factorcode.org/git/factor
2010-02-04 16:03:16 -06:00
Joe Groff
5bbfd50a52
quaterion to matrix4 conversion
2010-02-04 11:25:45 -08:00
Joe Groff
fa95eaa454
Merge branch 'master' of git://factorcode.org/git/factor
2010-02-03 21:50:36 -08:00
Slava Pestov
b3c7b51a31
tools.deploy.shaker: don't try to intern all word props anymore
2010-02-04 17:40:53 +13:00
Doug Coleman
e6491d11ca
Allow setting errno instead of just clearing it
2010-02-03 17:20:24 -06:00
Doug Coleman
6f1c789399
Don't allow access through symlinks leading out of the ftp.server serving directory
2010-02-03 15:26:37 -06:00
Slava Pestov
92a0e50885
cpu.ppc: final fix
2010-02-03 13:37:12 -06:00
Slava Pestov
6cebf9d5a0
cpu.ppc: another fix
2010-02-04 08:19:59 +13:00
Slava Pestov
da35bbb537
cpu.ppc: load fixes
2010-02-04 08:08:31 +13:00
Slava Pestov
83228368c1
Fix classes.tuple tests and assocs help lint
2010-02-04 08:04:47 +13:00
Doug Coleman
6257c741de
ERROR:s is immutable now, so don't use it in db
2010-02-03 12:25:55 -06:00
Slava Pestov
31c174f393
help.handbook: mention foo! naming convention
2010-02-04 03:55:08 +13:00
Slava Pestov
a07e2e4916
Update some more 'update' usages to call 'assoc-union!'
2010-02-04 03:44:24 +13:00
Slava Pestov
410c501b76
compiler.units: fix bug that came up recently with nested compilation units
2010-02-04 03:20:48 +13:00
Slava Pestov
57a47d9566
Rename update to assoc-union!, add assoc-filter! assoc-diff! words
2010-02-04 02:55:00 +13:00
Slava Pestov
80f604ac73
compiler: remove some unnecessary complexity
2010-02-04 01:36:52 +13:00
Slava Pestov
ffa3223f87
compiler: tweak recompilation logic. speeds up '"terrain" require' by 8 seconds
2010-02-04 01:09:57 +13:00
Slava Pestov
af47e5e8d8
Compiled code size optimizations for x86-64 resulting in development image size reduction of about 350kb
...
- RIP-relative LEA is now used to load program counter in prolog and tail calls; saves 3 bytes of code and 4 bytes of relocation information over an immediate MOV
- VM field accesses no longer involve a redundant addition
2010-02-03 23:11:35 +13:00
Slava Pestov
17a1adc745
tools.memory: display some more code heap stats
2010-02-03 23:11:34 +13:00
Slava Pestov
6e745437d0
math.statistics: rename histogram* to histogram! and rename sequence>assoc* to sequence>assoc!
2010-02-03 23:11:33 +13:00
Slava Pestov
ca9852b541
compiler.tree.propagation.call-effect: hack so that call( doesn't clear the last error
2010-02-03 23:11:33 +13:00
Slava Pestov
310399995e
Add code heap introspection primitive to VM, and make a code-blocks word in tools.memory that wraps a useful interface around this. Add a lookup-return-address word and use this in tools.disassembler.utils
2010-02-03 23:11:32 +13:00
Slava Pestov
89b3e6862d
binary-search: improve docs
2010-02-03 23:11:32 +13:00
Slava Pestov
836e1314cb
strings.tables: fix a logic error
2010-02-03 23:11:31 +13:00
Slava Pestov
a968f37bf9
Test fixes
2010-02-03 23:11:31 +13:00
Slava Pestov
9e135e1f2f
db: update for ERROR: change
2010-02-03 23:11:31 +13:00
Slava Pestov
106999439f
macros: handle compile-time stack effect check of macro body more elegantly than previous attempt
2010-02-03 23:11:31 +13:00
Slava Pestov
d68b513b98
tuple-arrays: cleanup
2010-02-03 23:11:30 +13:00
Slava Pestov
edbb980e3f
Revert "macros: macro body is now defined in its own subword, for compile-time stack effect checking"
...
This reverts commit 24de7c52f0c3f21cfcdb80235cac7296b0401c85.
2010-02-03 23:11:29 +13:00
Slava Pestov
d19709c188
vm: modify-code-heap primitive now takes a pair of parameters, update-existing? and reset-pics?. If no generic words were changed, PICs do not need to be reset. If no existing words were redefined, the code heap doesn't have to be traced at all. Speeds up compilation of PEGs since those create lots of compilation units
2010-02-03 23:11:28 +13:00
Slava Pestov
6e65bc10f4
Clarify documentation for compilation units and 'undefined' error
2010-02-03 23:11:28 +13:00
Slava Pestov
45a54882b9
prettyprint: make callstack output needlessly fancier
2010-02-03 23:11:26 +13:00
Slava Pestov
fd10d81d95
listener: add tools.walker to default interactive vocab path
2010-02-03 23:11:26 +13:00
Slava Pestov
c3f66d49a3
Better error message for call( when quotation has the wrong effect
2010-02-03 23:11:25 +13:00
Slava Pestov
29e1d268b7
generic: rename method-body predicate class to method
2010-02-03 23:11:24 +13:00
Slava Pestov
7fa61addcd
words: undefined error now contains the word in question
2010-02-03 23:11:23 +13:00
Slava Pestov
0ff526f478
macros: macro body is now defined in its own subword, for compile-time stack effect checking
2010-02-03 23:11:22 +13:00
Slava Pestov
8818ccbf71
Minor updates to string documentation
2010-02-03 23:07:53 +13:00
Slava Pestov
1c507f4e31
Merge branch 'master' of git://github.com/littledan/Factor
2010-02-03 22:58:25 +13:00
Slava Pestov
edd9de217e
Minor doc fixes
2010-02-03 22:56:32 +13:00
Brad Christensen
64c22d69ad
More documentation cleanup.
2010-02-03 00:05:04 -07:00
Brad Christensen
c37b4f5f61
A number of documentation fixes and cleanup.
2010-02-03 00:05:03 -07:00
Slava Pestov
7be8ab7334
Merge branch 'master' of git://github.com/erikcharlebois/factor
2010-02-02 04:04:29 -06:00
Slava Pestov
83a2de6565
Fix ffi-test library to work with Windows SDK. Turns out MINGW has a different ABI for struct returns than MS's compiler; make the MS ABI the default for cdecl on Windows, and add mingw ABI for libraries that use the MINGW ABI
2010-02-02 04:01:12 -06:00
Joe Groff
abc28fedba
vector-friendlier math.quaternions
2010-02-02 00:30:21 -08:00
Joe Groff
b14f477c9b
missed an alien.fortran test
2010-02-02 00:13:13 -08:00
Daniel Ehrenberg
99105c1c70
Updating docs to say Unicode 5.2
2010-02-02 01:49:24 -06:00
Daniel Ehrenberg
b716a95f85
Updating Unicode to version 5.2
2010-02-02 01:38:17 -06:00
erikc
63fcb6e2c7
Merge branch 'master' of git://github.com/slavapestov/factor
2010-02-01 22:13:05 -08:00
erikc
7a983c1cc1
Move collada viewer to extra/model-viewer
2010-02-01 22:12:22 -08:00
Joe Groff
e5f8c19d19
wrap alien.fortran c-type conversion tests in with-manifest
2010-02-01 22:03:51 -08:00
erikc
e0f63ac0b6
Unify obj and collada loading under a common models umbrella loader
2010-02-01 18:44:09 -08:00
Joe Groff
82f2e67914
alien.fortran: convert fortran types to word c-types
2010-02-01 12:06:10 -08:00
Slava Pestov
ee14d65333
io.launcher.windows: include launch descriptor in error thrown when launching a process fails
2010-02-01 12:39:29 -06:00
Slava Pestov
eec325b4a6
compiler.crossref: clean up and fix bug with forgotten classes
2010-02-01 17:20:08 +13:00
Slava Pestov
669335e0b5
tools.test: run-test-file is public now, fix no-method error if unit test forgets a vocab
2010-02-01 17:09:57 +13:00
erikc
8f86a435a3
Merge branch 'master' of git://github.com/slavapestov/factor
2010-01-31 16:57:12 -08:00
erikc
90d6de9ede
Factored collada implementation a bit more and fixed some bugs
2010-01-31 16:56:26 -08:00
Doug Coleman
2fd2cb5f28
Make sure we're not reading 0 bits in the lzw decompression loop -- this causes a hang
2010-01-31 16:29:20 -06:00
Doug Coleman
4b5a127414
Rewrite mnapply to be a combinator instead of a macro. Write nspread* to implement mnapply
2010-01-31 14:48:01 -06:00
Doug Coleman
0ec2bf80da
Add [1,b) to math.ranges. Use [1,b] in random.sfmt
2010-01-31 14:48:01 -06:00
Doug Coleman
88fdae24c0
Fix using
2010-01-31 14:48:01 -06:00
Doug Coleman
3307797563
Better implementation of sample, fix docs formatting
2010-01-31 14:48:01 -06:00
Slava Pestov
37ab8482b3
tools.deploy.shaker: fix load error
2010-02-01 06:02:09 +13:00
Slava Pestov
03a74f2237
classes: If a tuple class with subclasses is redefined into something that's not a tuple class, subclasses are changed to inherit from 'tuple' instead of being forgotten. Also, changing the metaclass of a union or intersection member no longer removes it from the union or intersection. Finally, make some internal words private
2010-02-01 02:48:39 +13:00
Slava Pestov
1f255d09e9
classes: more robust code for detecting circular inheritance, move it out of classes.tuple since predicate classes need the same check too
2010-02-01 00:08:18 +13:00
Slava Pestov
7f664a6387
Fix a couple of unit tests that were relying on the old compiler crossref structures
2010-01-31 23:26:55 +13:00
Slava Pestov
f8b41c8f64
Merge branch 'master' of git://github.com/erikcharlebois/factor
2010-01-31 18:29:15 +13:00
Slava Pestov
8a8c47ab1d
compiler.cfg.intrinsics.simd: ignore dummy assert-positive word
2010-01-31 18:19:14 +13:00
erikc
c84267aaf9
Merge up
2010-01-30 20:48:06 -08:00
erikc
23f8dd8fc4
FFI bindings for Win32 RawInput
2010-01-30 20:40:41 -08:00
erikc
4dc152b547
Temporary xinput backend for game.input
2010-01-30 20:40:16 -08:00
erikc
4506512a16
Merge up
2010-01-30 20:39:43 -08:00
Erik Charlebois
4862bb39db
Refactored collada loader significantly
2010-01-30 19:48:10 -08:00
Slava Pestov
8f763fe8da
Merge git://github.com/littledan/Factor into littledan
2010-01-31 02:54:58 +13:00
Slava Pestov
839e60cd3e
tools.deploy.shaker: update for new crossref word props
2010-01-31 02:50:55 +13:00
Slava Pestov
8e2e869ec5
stack-checker.dependencies: make conditional dependencies more robust
2010-01-31 01:55:35 +13:00
Slava Pestov
5753d76c98
compiler.crossref: word props were stored the wrong way round
2010-01-30 22:33:27 +13:00
Slava Pestov
23cfe0b5f9
grouping: tweak inheritance to make method precedence explicit
2010-01-30 21:14:41 +13:00
Slava Pestov
351c68094c
compiler.crossref: cleanup
2010-01-30 21:14:40 +13:00
Joe Groff
39b0804187
images: extend pixel-at/set-pixel-at with versions that select/replace rows of pixels
2010-01-29 16:30:34 -08:00
Erik Charlebois
1f61d45e48
Merge branch 'master' of git://github.com/slavapestov/factor
2010-01-29 15:57:31 -08:00
erikc
4d1d01256c
Working collada viewer, temporary vocab
2010-01-29 15:48:50 -08:00
Slava Pestov
aff29c3829
typed: update for dependency changes
2010-01-30 10:53:42 +13:00
Slava Pestov
93c2428cf4
compiler.crossref: more space-efficient storage of dependency information
2010-01-30 09:29:02 +13:00
Slava Pestov
39aa70aa88
Clean up some code in preparation for a refactoring
2010-01-30 09:29:02 +13:00