Erik Charlebois
915a90657e
Merge alien/parser/parser.factor
2010-02-22 10:53:19 -08:00
Erik Charlebois
15e860f090
Add some additional error masks and codes
2010-02-22 10:48:22 -08:00
Erik Charlebois
8e4a333fae
Fix CALLBACK: effect return type also not a string. Added accompanying unit test.
2010-02-22 10:48:21 -08:00
Joe Groff
b435b2b84b
Merge branch 'master' into new-alien-pointers
...
Conflicts:
basis/alien/c-types/c-types.factor
basis/stack-checker/dependencies/dependencies.factor
2010-02-22 10:32:59 -08:00
Slava Pestov
316b831208
alien: some code cleanups and fixes
2010-02-23 01:28:56 +13:00
Slava Pestov
2b6e461254
windows.ddk.hid: add platforms.txt
2010-02-23 00:23:30 +13:00
Slava Pestov
ad951c85ae
stack-checker.alien: now that C types are words, the compiler can add dependencies on them when compiling alien words. This triggers the necessary recompilation when C types are redefined
2010-02-22 21:32:41 +13:00
Slava Pestov
33f3fee57d
alien.c-types: remove void? word
2010-02-22 21:31:41 +13:00
Joe Groff
a77edb8156
Merge branch 'master' of git://factorcode.org/git/factor into new-alien-pointers
2010-02-21 23:14:08 -08:00
Joe Groff
ff9ee93c8a
opengl.gl: TYPEDEF: void* GLvoid* => C-TYPE: GLvoid
2010-02-21 23:13:56 -08:00
Joe Groff
1fdbd49dca
specialized-arrays: fix underlying-type so it always returns void* for pointer types
2010-02-21 23:13:31 -08:00
Joe Groff
b8bfeec48f
stack-checker.dependencies: extend c-type-word method for depends-on-c-type to all words (so it works for non-c-types like void)
2010-02-21 23:13:12 -08:00
Joe Groff
662b645679
openssl: replace some TYPEDEF: void* foo* (which won't work anymore) with C-TYPE: foo
2010-02-21 23:12:28 -08:00
Joe Groff
2ec050665e
alien.arrays: typedef special char* symbol so it still works as expected
2010-02-21 23:11:59 -08:00
Slava Pestov
c1657739df
Merge branch 'master' of git://github.com/erikcharlebois/factor
2010-02-22 20:09:20 +13:00
Joe Groff
21936bfe20
classes.struct: set dependency on slot types in slot accessors, so that accessors update when types change. enables pointers to make circular references between struct types
2010-02-21 22:46:52 -08:00
Joe Groff
b8ab9434cf
stack-checker.dependencies: add method for pointers to depends-on-c-type
2010-02-21 22:31:32 -08:00
Joe Groff
5ff604d83e
Merge branch 'master' into new-alien-pointers
2010-02-21 22:30:12 -08:00
Slava Pestov
b6eb3c04e6
stack-checker.dependencies: add depends-on-c-type
2010-02-22 19:25:09 +13:00
Doug Coleman
865c144a51
Add some more win32 symbols
2010-02-22 00:14:15 -06:00
Doug Coleman
4e46d38ca8
Fix quirk in open-in-explorer -- msft explorer wouldn't go to previous directory correctly if / was a path separator
2010-02-22 00:14:13 -06:00
Joe Groff
00b7445844
Merge branch 'master' of git://factorcode.org/git/factor
2010-02-21 22:10:42 -08:00
Joe Groff
060d87c095
windows.com: add missing USING: windows.types
2010-02-21 22:07:53 -08:00
Joe Groff
1808fe4595
windows.com.syntax: don't put c-type words inside stack effect of Interface::Method words
2010-02-21 22:07:32 -08:00
Joe Groff
4d89097467
add missing using to classes.struct tests
2010-02-21 22:04:23 -08:00
Doug Coleman
03059ec9ff
Check if we're using ttys before starting curses, since initscr exits on error for some dumb reason
2010-02-21 23:38:18 -06:00
Joe Groff
2238c04f82
alien.prettyprint: pprint pointer objects as "type*" in c-type contexts
2010-02-21 21:32:34 -08:00
Joe Groff
e15784ed94
alien.parser: favor parsing "foo*" as pointer-to-foo now
2010-02-21 21:06:00 -08:00
Joe Groff
77ea9f1160
more implementation of pointer c-types. make it so that { char* binary } acts like a real pointer to char instead of stringifying, and add byte* typedef for { char* binary }
2010-02-21 20:58:21 -08:00
Joe Groff
d45254d32e
Merge branch 'master' into new-alien-pointers
2010-02-21 18:19:17 -08:00
Joe Groff
08c2373576
math.blas: update string c-types
2010-02-21 16:49:58 -08:00
Joe Groff
5ffabcbb87
io.sockets.windows.nt: update string c-types in alien-indirect
2010-02-21 16:49:44 -08:00
Erik Charlebois
b5c65b017f
Bindings to the HID portion of the Windows DDK.
2010-02-21 16:43:09 -08:00
Joe Groff
64e6f08b59
use a "pointer" wrapper tuple to indicate pointer types instead of the current slipshod approach
2010-02-21 16:27:36 -08:00
Slava Pestov
63a18b0e6f
cpu.ppc: fix string c-type usage
2010-02-22 13:18:45 +13:00
Slava Pestov
bd0ec23e30
windows.com.prettyprint: remove circular dependency on windows.com
2010-02-22 13:17:46 +13:00
Slava Pestov
f5723e5e3a
cocoa.messages: fix
2010-02-22 13:17:46 +13:00
Joe Groff
75359a59d5
remove string c-types from classes.struct tests
2010-02-21 13:01:29 -08:00
Joe Groff
f5be8649d4
windows.com.syntax: parse return c-type of COM-INTERFACE: functions
2010-02-21 11:56:35 -08:00
Joe Groff
4e077ebe7b
opengl.gl.extensions: scan return type of GL-FUNCTION: as c-type
2010-02-21 11:46:17 -08:00
Joe Groff
43c5969490
core-foundation.fsevents: use CALLBACK: type to define master-event-source-callback
2010-02-21 11:17:25 -08:00
Joe Groff
d50b3e7f28
remove references to c-types hash from deploy tool
2010-02-21 11:10:52 -08:00
Joe Groff
866f6ada18
ditch string c-types
2010-02-21 10:58:21 -08:00
Erik Charlebois
d6d3401468
Merge branch 'master' of git://github.com/slavapestov/factor
2010-02-21 03:36:54 -08:00
Erik Charlebois
be4d33beb5
Add scaffolding words for tags, summary and authors and hook these up to FUEL. Modified fuel-scaffold-vocab to prompt the user for tags, summary and whether to create help and test files immediately.
2010-02-21 03:34:08 -08:00
Slava Pestov
6f5f68b923
cocoa.messages: if a class cannot be found, IMPORT: no longer fails at parse time. Instead, there will be a runtime error when the class word is executed
2010-02-21 22:27:32 +13:00
Slava Pestov
b907ada6a9
vocabs: document platforms.txt
2010-02-21 20:38:09 +13:00
Slava Pestov
20ba956d5e
unix.utmpx: fix load errors
2010-02-21 20:19:11 +13:00
Erik Charlebois
36dc85043a
Unit test checking the stack effects from FUNCTION:.
2010-02-20 21:15:47 -08:00
Slava Pestov
9f6462e2bd
Move windows.dragdrop-listener to unmaintained
2010-02-21 17:48:06 +13:00
Slava Pestov
98727eab46
unix.utilities: remove platforms.txt since its portable
2010-02-21 17:48:04 +13:00
Slava Pestov
196676ebdd
Rename io.launcher.unix.parser to simple-tokenizer since ftp.server uses it
2010-02-21 17:48:04 +13:00
Slava Pestov
0a72b51b8f
ui.text.pango: add a platforms.txt
2010-02-21 17:48:03 +13:00
Slava Pestov
a13b3724de
tools.crossref: fix method cross-referencing
2010-02-21 17:48:03 +13:00
Joe Groff
8eafe6a98a
game.input: add a convenient "buttons-delta" word to convert two key/button state samples into pressed/released values
2010-02-20 10:10:02 -08:00
Joe Groff
3d8251b0d4
if you're going to support shift-del, you should also support shift-ins and ctrl-ins
2010-02-20 09:45:42 -08:00
William Schlieper
4e1405e5ed
Fixed ridiculously stupid error in Linux game.input library
2010-02-20 09:36:58 -05:00
William Schlieper
3fd8b4a4e1
Fixed a bug in the linux version of game.input
2010-02-20 08:35:02 -05:00
William Schlieper
caf28f0603
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/game/input/input.factor
2010-02-20 08:18:33 -05:00
William Schlieper
2b706c3b4e
Added rudimentary x11 support in game.input
2010-02-20 08:09:49 -05:00
Erik Charlebois
9adbbc8f98
The return values in the stack effects of FUNCTION: words were c-types rather than strings. This was causing scaffold-help to fail on vocabularies with FUNCTION:.
2010-02-20 03:02:56 -08:00
Erik Charlebois
13b31b0867
Merge up
2010-02-20 00:24:37 -08:00
Slava Pestov
6249e264e1
continuations: add a throw-continue word for resumable errors, and change vocabs.metadata to throw a resumable error if the current platform is not supported
2010-02-20 13:41:33 +13:00
Slava Pestov
3944277d04
Fix load errors exposed by platforms.txt change
2010-02-20 13:31:09 +13:00
Slava Pestov
0aad3e6e12
vocabs.metadata: replace unportable tag with a platforms.txt file for more fine-grained control. Rename unportable tag to untested for remaining cases
2010-02-20 13:30:49 +13:00
Slava Pestov
9f3127c712
ui.gadgets.worlds: support S+DELETE as an alternative shortcut for cut-action
2010-02-20 12:24:25 +13:00
Slava Pestov
88071b0869
prettyprint.config: set some output limits by default. Use the new without-limits combinator to get the old behavior
2010-02-20 12:18:16 +13:00
Slava Pestov
93c0bb56e7
stack-checker.dependencies: fix load error
2010-02-20 12:08:14 +13:00
Slava Pestov
222a89a0ca
tools.crossref: don't include generic words in usage lists, since the results are useless and arbitrary -- they depend on the contents of megamorphic caches
2010-02-20 12:05:52 +13:00
Slava Pestov
95ead468f5
specialized-arrays: generate slightly more efficient byte-array>T-array words
2010-02-20 12:05:12 +13:00
Slava Pestov
58d035f1c7
Fix two problems with recompilation: predicate constant folding was recording unsatisfied dependencies in some cases, and literal tuple instances of forgotten classes would cause problems for method inlining
2010-02-20 12:01:47 +13:00
Slava Pestov
fd92a7b627
io.monitors.recursive: fix hang introduced by recent io.monitors change
2010-02-19 07:36:12 -05:00
Slava Pestov
debdef8f13
Merge branch 'fixes' of git://github.com/Blei/factor
2010-02-20 00:27:11 +13:00
Slava Pestov
1352bd1327
io.monitors: if a monitor is disposed while other threads are waiting on it, an error will be thrown from next-change, instead of those threads hanging forever. This makes monitors consistent with streams and other native resources that behave in a similar manner
2010-02-20 00:23:24 +13:00
Philipp Brüschweiler
d5e6477bca
ui.tools.listener docs: typo
2010-02-19 11:23:20 +01:00
Slava Pestov
f2c8a4b150
concurrency.promises: fix formatting
2010-02-19 21:45:50 +13:00
Slava Pestov
2b81319a88
concurrency.mailboxes: mailboxes should not be disposable, since futures and promises use them in a transient fashion, causing leaks
2010-02-19 21:45:43 +13:00
Slava Pestov
9d53a4a027
game.input: fix load error on *BSD, remove dependency on windows.com from game.input.linux
2010-02-19 18:24:23 +13:00
Slava Pestov
bdb2113669
Merge branch 'master' of git://github.com/erikcharlebois/factor
2010-02-19 12:35:21 +13:00
Slava Pestov
07e6016537
help.lint.checks: you can't have duplicate names in $values anymore
2010-02-19 12:32:03 +13:00
Slava Pestov
74891bc02a
Update documentation for new help lint check
2010-02-19 12:31:52 +13:00
Erik Charlebois
80f6d778b9
Merge branch 'master' of git://github.com/slavapestov/factor
2010-02-18 12:54:26 -08:00
Erik Charlebois
1c7060c313
Implement input grabbing for x11; add do-nothing game.input backend for linux. The game and gpu demos now run correctly.
2010-02-18 12:52:33 -08:00
Slava Pestov
6ddc669192
help.stylesheet: tweak color
2010-02-19 04:11:57 +13:00
Slava Pestov
28ca5b326a
tools.deploy.libraries.windows: add unportable tag to avoid loading windows.kernel32 on non-windows platforms
2010-02-19 04:11:48 +13:00
Erik Charlebois
1f9e978179
Merge up
2010-02-17 18:16:16 -08:00
Slava Pestov
7ce3f98ec3
listener: fix help lint
2010-02-18 07:02:22 +13:00
Slava Pestov
040fca8e49
typed: update documentation
2010-02-18 04:13:21 +13:00
Slava Pestov
613b54fc8d
tools.deploy.backend: clean up
2010-02-18 03:57:10 +13:00
Slava Pestov
765847b584
tuple-arrays: require that base type be final
2010-02-18 03:57:02 +13:00
Slava Pestov
aae74ff4c4
functors: make 'final' declarations work in functors
2010-02-18 03:56:41 +13:00
Slava Pestov
2e97856f00
listener: fix docs
2010-02-18 03:36:43 +13:00
Slava Pestov
0ad3285185
see: show final declaration on tuples
2010-02-18 03:01:26 +13:00
Slava Pestov
7a995794e2
Make specialized arrays and SIMD types final so that typed can unbox them
2010-02-18 02:39:40 +13:00
Slava Pestov
56dff5b0f4
typed: only unbox final classes. Fixes bug reported by littledan
2010-02-18 02:39:12 +13:00
Slava Pestov
1100861204
Add support for final tuple classes which cannot be subclassed: TUPLE: foo ... ; final
2010-02-18 02:19:57 +13:00
Slava Pestov
9cda3cf03e
Minor documentation fixes
2010-02-18 01:19:39 +13:00
Slava Pestov
4dde73610b
help.markup: make $example render slightly nicer
2010-02-18 01:18:48 +13:00
Erik Charlebois
9128b8dc23
Merge branch 'master' of git://github.com/slavapestov/factor
2010-02-17 00:06:27 -08:00
Joe Groff
9a317c2b4a
fix last globs test on windows
2010-02-16 22:19:56 -08:00
Joe Groff
2bf7ee8eaf
typo in tools.deploy.backend
2010-02-16 14:33:57 -08:00
Joe Groff
99f1fa4018
search resource: for unix libraries too
2010-02-16 14:24:29 -08:00
Joe Groff
0421244259
tools.deploy.shaker typos
2010-02-16 14:23:51 -08:00
Daniel Ehrenberg
fd7bcd35ea
Compiler.cfg.{dce,linearization} use new-sets
2010-02-16 15:48:07 -06:00
Joe Groff
a1aa18ac0b
tools.deploy.shaker: prune library manifest
2010-02-16 13:41:35 -08:00
Joe Groff
4aa16b0802
math.blas.config: add deploy-blas? variable
2010-02-16 13:38:29 -08:00
Joe Groff
ab0b7e078b
alien.libraries: add a "deploy-library" word that marks a library to have its dll deployed with applications that use it. add support to tools.deploy to find and copy deployed libraries into target bundle
2010-02-16 13:32:58 -08:00
Daniel Ehrenberg
ef281f1921
Bit sets use new new set protocol, and compiler.cfg.ssa.construction.tdmsc is updated for it
2010-02-16 15:14:32 -06:00
Joe Groff
ef59594700
Merge branch 'master' of git://factorcode.org/git/factor
2010-02-16 10:41:15 -08:00
Joe Groff
a87497012e
fix globs tests
2010-02-16 10:40:23 -08:00
Erik Charlebois
2eaf726eae
Merge to upstream
2010-02-16 10:35:15 -08:00
Erik Charlebois
98cf07b19b
Line endings
2010-02-16 10:33:19 -08:00
Joe Groff
b0463d78d3
git doesn't track empty directories. remove that from the vocab.metadata.resources tests
2010-02-16 10:29:18 -08:00
Slava Pestov
aee4015378
vocabs.metadata.resources: fix help lint
2010-02-17 01:52:16 +13:00
Slava Pestov
2b8f2b222f
tools.deploy.windows.ico: add unportable tag so that load-all doesn't load Win32 bindings on non-Windows platforms
2010-02-17 01:52:09 +13:00
Slava Pestov
fec82e22ae
tools.deploy: add deploy tests for gpu.demos.raytrace and gpu.demos.bunny
2010-02-17 00:33:08 +13:00
Slava Pestov
72479ba34b
inverse: remove unnecessary dependency on debugger
2010-02-17 00:32:53 +13:00
Erik Charlebois
9135f3a428
Merge branch 'master' of git://github.com/slavapestov/factor
2010-02-16 03:27:33 -08:00
Erik Charlebois
75e8ed7e33
Fix some doc typos, metadata
2010-02-16 03:25:03 -08:00
Slava Pestov
4f62d63e47
Merge branch 'deploy-resources' of git://factorcode.org/git/factor into deploy-resources
2010-02-17 00:17:09 +13:00
Erik Charlebois
21e90be015
Fix docs typo
2010-02-16 03:14:30 -08:00
Slava Pestov
2d57c9d815
Clean up some tags
2010-02-17 00:12:55 +13:00
Slava Pestov
974074d089
A few documentation fixes
2010-02-17 00:05:36 +13:00
Slava Pestov
913c949a5a
math.points: move to extra
2010-02-16 15:29:02 +13:00
Slava Pestov
4fa46fba2d
compiler.tree.escape-analysis: fix bug that comes up when inheritance is used
2010-02-16 14:44:13 +13:00
Slava Pestov
fc69f7058e
tools.annotations: fix for nanoseconds
2010-02-16 13:56:11 +13:00
Joe Groff
a341b293df
update vocabs and tools.deploy docs to mention icon files
2010-02-15 14:18:26 -08:00
Joe Groff
8c860a18f1
you have to parse the .ico file yourself and update individual RT_ICON and RT_GROUP_ICON resources. lame
2010-02-15 14:04:11 -08:00
Joe Groff
73b8249cf3
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/tools/deploy/shaker/shaker.factor
2010-02-15 11:50:43 -08:00
Joe Groff
2cedfbf61c
tools.deploy.windows: embed icon.ico from deployed vocab dir into deployed exe
2010-02-15 11:49:03 -08:00
Joe Groff
db0fa2d13b
windows.kernel32: add MAKEINTRESOURCE, standard resource types
2010-02-15 11:48:28 -08:00
Joe Groff
e9c91a2b07
windows.kernel32: bindings for BeginUpdateResource, UpdateResource, EndUpdateResource
2010-02-15 11:26:26 -08:00
Joe Groff
9cb7163f43
tools.deploy.macosx: copy "icon.icns" from deployed vocab to app bundle as app icon
2010-02-15 10:56:23 -08:00
Joe Groff
a447900af5
update vocabs and deploy docs to mention resources.txt
2010-02-15 10:14:30 -08:00
Slava Pestov
4154742755
Small cleanups
2010-02-16 04:04:09 +13:00
Slava Pestov
6bf88d104b
compiler.tree.propagation.transforms: tweak 2^ transform to fix performance regression in benchmark.beust2; introduced by 47d6507548
2010-02-16 01:03:09 +13:00
Erik Charlebois
1b72e445b5
Fix D3D9 constants that I punted on calculating initially.
2010-02-14 23:41:44 -08:00
Joe Groff
125f970583
update unix, windows, and test deploy backends
2010-02-14 23:10:05 -08:00
Joe Groff
e3f83a60af
Merge branch 'master' of git://factorcode.org/git/factor
2010-02-14 21:07:04 -08:00
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