Joe Groff
|
b55cddf969
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2010-02-24 00:51:13 -08:00 |
Joe Groff
|
3bf5eeddf9
|
tidy up load errors in ui.backend.x11
|
2010-02-24 00:51:02 -08:00 |
Slava Pestov
|
ca8be54c96
|
io.files.unix: fix load errors arising from byte-length being moved
|
2010-02-24 21:20:21 +13:00 |
Slava Pestov
|
570e332f84
|
core-foundation.run-loop: cleanup
|
2010-02-24 21:18:29 +13:00 |
Joe Groff
|
2a3bf53af7
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2010-02-23 23:53:51 -08:00 |
Joe Groff
|
2aa1a3dbd7
|
ui.backend.cocoa: invalidate run loop timers before raising an NSAlert and add them back when runModal returns to avoid run loop callbacks reentering Factor
|
2010-02-23 23:52:03 -08:00 |
Slava Pestov
|
63ccca083e
|
Merge branch 'master' of git://github.com/erikcharlebois/factor
|
2010-02-24 20:20:08 +13:00 |
Slava Pestov
|
fa6c8117aa
|
cocoa.messages: cleanup
|
2010-02-24 20:18:48 +13:00 |
Slava Pestov
|
af0ddd5985
|
Specialized arrays, structs and other objects responding to the >c-ptr / byte-length protocol can now be written to binary streams
|
2010-02-24 20:18:41 +13:00 |
Erik Charlebois
|
856674f110
|
Bindings to the WinUSB part of the Windows DDK
|
2010-02-23 23:00:48 -08:00 |
Joe Groff
|
b7727bc695
|
ui.gadgets.worlds: deactivate world before calling the ui-error-hook
|
2010-02-23 22:55:57 -08:00 |
Joe Groff
|
32b42185e6
|
tools.deploy.shaker: raise a generic "This application died" system-alert instead of quietly crashing and burning in the ui-error-hook for deployed apps with the debugger stripped
|
2010-02-23 20:42:36 -08:00 |
Joe Groff
|
0eb6355827
|
document system-alert
|
2010-02-23 20:29:51 -08:00 |
Joe Groff
|
cdc17e38e8
|
opengl.gl: all those GLchar* should be c-string[ascii]
|
2010-02-23 20:29:31 -08:00 |
Joe Groff
|
f6183703b2
|
ui: add a "system-alert" hook that can raise a system modal dialog without involving any potentially stripped gadget, io, or debugger code
|
2010-02-23 19:28:57 -08:00 |
Joe Groff
|
0975b9a268
|
missed a uchar* in cairo.ffi
|
2010-02-23 14:02:55 -08:00 |
Joe Groff
|
db6c083162
|
change back other char/uchar* parameters that don't look like actual string types
|
2010-02-23 13:15:16 -08:00 |
Joe Groff
|
125c680e2f
|
cairo.ffi, core-foundation.strings: change some functions that don't really expect strings to use char* instead of c-string (reported by Blei)
|
2010-02-23 12:53:09 -08:00 |
Joe Groff
|
b45ec6397b
|
typo in alien.data docs
|
2010-02-23 12:20:47 -08:00 |
Joe Groff
|
1916b9269e
|
"pointer-c-type" word-prop hack is now unnecessary since all pointer types behave uniformly now
|
2010-02-23 12:07:55 -08:00 |
Joe Groff
|
db8b6baa2f
|
typo in alien.parser test
|
2010-02-23 11:59:53 -08:00 |
Joe Groff
|
71d169e420
|
fix typos in alien docs
|
2010-02-23 11:56:10 -08:00 |
Joe Groff
|
4cfa1a6c77
|
rename current string-mangling "char*" to "c-string". char* is now just a boring old pointer to char
|
2010-02-23 11:42:02 -08:00 |
Joe Groff
|
818bbb4984
|
update docs about pointer types
|
2010-02-23 11:03:48 -08:00 |
Joe Groff
|
b0bf5f3106
|
get rid of the last few pointer typedefs in db.postgresql.ffi, windows.usp10, and windows.winsock
|
2010-02-23 10:17:48 -08:00 |
Joe Groff
|
00a7559d55
|
have TYPEDEF:, STRUCT: etc. throw an error if you try to define a c type name ending with asterisk
|
2010-02-23 10:16:18 -08:00 |
Joe Groff
|
482aed8ecc
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2010-02-23 08:10:12 -08:00 |
Joe Groff
|
8aa10c5283
|
windows.types: fix definition of wchar_t* as { char* utf16n }
|
2010-02-23 08:10:01 -08:00 |
Joe Groff
|
75e2a5098e
|
if any typedef in the chain has a pointer-c-type, use it
|
2010-02-23 08:09:33 -08:00 |
Slava Pestov
|
ae25cfe712
|
Get foldable and flushable declarations working on typed words
|
2010-02-24 00:16:55 +13:00 |
Slava Pestov
|
f0aa694c7e
|
effects.parser: throw a proper no-word error if effect references an unknown class word
|
2010-02-23 23:57:13 +13:00 |
Slava Pestov
|
050d042449
|
formatting: fix docs
|
2010-02-23 21:21:16 +13:00 |
Joe Groff
|
3d97bd2ae0
|
add opaque C-TYPEs for sundry interfaces to windows.com
|
2010-02-23 00:03:18 -08:00 |
Joe Groff
|
b8bd5fe630
|
classes.struct: reader-quot was checking struct-slot-spec for array-ness, not the type! derp
|
2010-02-22 23:57:10 -08:00 |
Joe Groff
|
53e601c5f0
|
_DARWIN_MAXNAMELEN+1 should actually be _DARWIN_MAXNAMELEN + 1
|
2010-02-22 23:55:52 -08:00 |
Slava Pestov
|
7decccf8bb
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2010-02-23 20:26:41 +13:00 |
Joe Groff
|
aef979b552
|
alien.fortran: update tests to reflect new pointer c-type objects
|
2010-02-22 21:58:18 -08:00 |
Joe Groff
|
ff9fc2713b
|
cairo.ffi: update references to pointer types in alien-callbacks
|
2010-02-22 21:57:56 -08:00 |
Erik Charlebois
|
cdb297f6f3
|
Make scaffolding use set-file-lines so that generated text files end with a newline.
|
2010-02-22 20:39:45 -08:00 |
Erik Charlebois
|
234fa6e20d
|
Windows DDK SetupAPI bindings -- used for hardware device discovery
|
2010-02-22 20:37:06 -08:00 |
Erik Charlebois
|
e513151e1d
|
Summary and tags file for windows.ddk.hid
|
2010-02-22 20:19:04 -08:00 |
Erik Charlebois
|
ea2fcd2aed
|
Fix new compile errors in d3d bindings
|
2010-02-22 20:18:15 -08:00 |
Erik Charlebois
|
0142d46688
|
Add scaffolding for platforms.txt, add option to fuel-scaffold-vocab
|
2010-02-22 20:17:49 -08:00 |
Joe Groff
|
33f1a7b03b
|
db.sqlite.ffi: replace some TYPEDEF: void* foo* with C-TYPE: foo
|
2010-02-22 19:36:14 -08:00 |
Erik Charlebois
|
aead6e7dd8
|
Revert change to make-callback-type cause Slava already fixed it in parse-arglist
|
2010-02-22 19:34:34 -08:00 |
Joe Groff
|
7844cbafab
|
missed a dead memory>struct in io.sockets
|
2010-02-22 19:09:03 -08:00 |
Joe Groff
|
829351f2f2
|
don't box struct pointer values when they're null
|
2010-02-22 19:08:43 -08:00 |
Joe Groff
|
6d4724a095
|
scrub memory>struct calls made redundant
|
2010-02-22 12:22:29 -08:00 |
Joe Groff
|
1bf37f01e5
|
alien.arrays/classes.struct: ensure specialized array types for struct array slots get instantiated at parse time
|
2010-02-22 12:21:29 -08:00 |
Joe Groff
|
4d2ded634b
|
alien.parser: properly generate return type name for FUNCTION: stack effects
|
2010-02-22 11:25:01 -08:00 |
Erik Charlebois
|
833372cd08
|
Merge alien/parser/parser.factor
|
2010-02-22 10:53:19 -08:00 |
Erik Charlebois
|
b2fe49704e
|
Add some additional error masks and codes
|
2010-02-22 10:48:22 -08:00 |
Erik Charlebois
|
124982ce23
|
Fix CALLBACK: effect return type also not a string. Added accompanying unit test.
|
2010-02-22 10:48:21 -08:00 |
Joe Groff
|
31a0d98e02
|
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
|
23a1f0ed8c
|
alien: some code cleanups and fixes
|
2010-02-23 01:28:56 +13:00 |
Slava Pestov
|
869e95717c
|
windows.ddk.hid: add platforms.txt
|
2010-02-23 00:23:30 +13:00 |
Slava Pestov
|
eb3f8632dd
|
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
|
7578429692
|
alien.c-types: remove void? word
|
2010-02-22 21:31:41 +13:00 |
Joe Groff
|
338edac16c
|
Merge branch 'master' of git://factorcode.org/git/factor into new-alien-pointers
|
2010-02-21 23:14:08 -08:00 |
Joe Groff
|
cdde1aa92a
|
opengl.gl: TYPEDEF: void* GLvoid* => C-TYPE: GLvoid
|
2010-02-21 23:13:56 -08:00 |
Joe Groff
|
d64653ee9a
|
specialized-arrays: fix underlying-type so it always returns void* for pointer types
|
2010-02-21 23:13:31 -08:00 |
Joe Groff
|
c4cc70b92c
|
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
|
d8432db495
|
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
|
0bc8e8f408
|
alien.arrays: typedef special char* symbol so it still works as expected
|
2010-02-21 23:11:59 -08:00 |
Slava Pestov
|
1986dc49e4
|
Merge branch 'master' of git://github.com/erikcharlebois/factor
|
2010-02-22 20:09:20 +13:00 |
Joe Groff
|
c7acbda342
|
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
|
310b3df2ec
|
stack-checker.dependencies: add method for pointers to depends-on-c-type
|
2010-02-21 22:31:32 -08:00 |
Joe Groff
|
2a751106a8
|
Merge branch 'master' into new-alien-pointers
|
2010-02-21 22:30:12 -08:00 |
Slava Pestov
|
2c34ecbdb5
|
stack-checker.dependencies: add depends-on-c-type
|
2010-02-22 19:25:09 +13:00 |
Doug Coleman
|
82e773f8ba
|
Add some more win32 symbols
|
2010-02-22 00:14:15 -06:00 |
Doug Coleman
|
a0b3a370b8
|
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
|
eb2f6e43d9
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2010-02-21 22:10:42 -08:00 |
Joe Groff
|
525a57fa3d
|
windows.com: add missing USING: windows.types
|
2010-02-21 22:07:53 -08:00 |
Joe Groff
|
dcd76d2abe
|
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
|
5b726f0af9
|
add missing using to classes.struct tests
|
2010-02-21 22:04:23 -08:00 |
Doug Coleman
|
957f2d9ff6
|
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
|
04cc3052b6
|
alien.prettyprint: pprint pointer objects as "type*" in c-type contexts
|
2010-02-21 21:32:34 -08:00 |
Joe Groff
|
5faa97e42c
|
alien.parser: favor parsing "foo*" as pointer-to-foo now
|
2010-02-21 21:06:00 -08:00 |
Joe Groff
|
d5bf6e55cd
|
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
|
971af554e1
|
Merge branch 'master' into new-alien-pointers
|
2010-02-21 18:19:17 -08:00 |
Joe Groff
|
92e1ca8b61
|
math.blas: update string c-types
|
2010-02-21 16:49:58 -08:00 |
Joe Groff
|
ed18b911c8
|
io.sockets.windows.nt: update string c-types in alien-indirect
|
2010-02-21 16:49:44 -08:00 |
Erik Charlebois
|
a56d0a7602
|
Bindings to the HID portion of the Windows DDK.
|
2010-02-21 16:43:09 -08:00 |
Joe Groff
|
5955ba06df
|
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
|
f9d6191c4b
|
cpu.ppc: fix string c-type usage
|
2010-02-22 13:18:45 +13:00 |
Slava Pestov
|
5fe49b13bf
|
windows.com.prettyprint: remove circular dependency on windows.com
|
2010-02-22 13:17:46 +13:00 |
Slava Pestov
|
1b508b9c37
|
cocoa.messages: fix
|
2010-02-22 13:17:46 +13:00 |
Joe Groff
|
9b0530dc97
|
remove string c-types from classes.struct tests
|
2010-02-21 13:01:29 -08:00 |
Joe Groff
|
f07ec8bc1b
|
windows.com.syntax: parse return c-type of COM-INTERFACE: functions
|
2010-02-21 11:56:35 -08:00 |
Joe Groff
|
a2c9563bb7
|
opengl.gl.extensions: scan return type of GL-FUNCTION: as c-type
|
2010-02-21 11:46:17 -08:00 |
Joe Groff
|
347003eb64
|
core-foundation.fsevents: use CALLBACK: type to define master-event-source-callback
|
2010-02-21 11:17:25 -08:00 |
Joe Groff
|
1a0fda2a5b
|
remove references to c-types hash from deploy tool
|
2010-02-21 11:10:52 -08:00 |
Joe Groff
|
62e97c138a
|
ditch string c-types
|
2010-02-21 10:58:21 -08:00 |
Erik Charlebois
|
0925f0a5bf
|
Merge branch 'master' of git://github.com/slavapestov/factor
|
2010-02-21 03:36:54 -08:00 |
Erik Charlebois
|
ffddca36b7
|
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
|
0da6f78088
|
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
|
2f70ebd4d0
|
vocabs: document platforms.txt
|
2010-02-21 20:38:09 +13:00 |
Slava Pestov
|
570a2d0b37
|
unix.utmpx: fix load errors
|
2010-02-21 20:19:11 +13:00 |
Erik Charlebois
|
536ae3c648
|
Unit test checking the stack effects from FUNCTION:.
|
2010-02-20 21:15:47 -08:00 |
Slava Pestov
|
0e8f3670a3
|
Move windows.dragdrop-listener to unmaintained
|
2010-02-21 17:48:06 +13:00 |
Slava Pestov
|
5700d94e2b
|
unix.utilities: remove platforms.txt since its portable
|
2010-02-21 17:48:04 +13:00 |
Slava Pestov
|
eab105590b
|
Rename io.launcher.unix.parser to simple-tokenizer since ftp.server uses it
|
2010-02-21 17:48:04 +13:00 |
Slava Pestov
|
f78e5c7430
|
ui.text.pango: add a platforms.txt
|
2010-02-21 17:48:03 +13:00 |
Slava Pestov
|
e26393394d
|
tools.crossref: fix method cross-referencing
|
2010-02-21 17:48:03 +13:00 |
Joe Groff
|
d673108518
|
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
|
83d6f7fc6f
|
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
|
f71e22eda5
|
Fixed ridiculously stupid error in Linux game.input library
|
2010-02-20 09:36:58 -05:00 |
William Schlieper
|
47666f0049
|
Fixed a bug in the linux version of game.input
|
2010-02-20 08:35:02 -05:00 |
William Schlieper
|
e342e92f86
|
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
|
ea4d261a45
|
Added rudimentary x11 support in game.input
|
2010-02-20 08:09:49 -05:00 |
Erik Charlebois
|
b25e945c74
|
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
|
30b586ef5f
|
Merge up
|
2010-02-20 00:24:37 -08:00 |
Slava Pestov
|
6e516789d5
|
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
|
c3f4bcb616
|
Fix load errors exposed by platforms.txt change
|
2010-02-20 13:31:09 +13:00 |
Slava Pestov
|
95bfc8a240
|
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
|
daed64d8b4
|
ui.gadgets.worlds: support S+DELETE as an alternative shortcut for cut-action
|
2010-02-20 12:24:25 +13:00 |
Slava Pestov
|
66bb912641
|
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
|
c5a62b14e7
|
stack-checker.dependencies: fix load error
|
2010-02-20 12:08:14 +13:00 |
Slava Pestov
|
9cd164f3ac
|
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
|
08a80e5ba2
|
specialized-arrays: generate slightly more efficient byte-array>T-array words
|
2010-02-20 12:05:12 +13:00 |
Slava Pestov
|
6501480a0e
|
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
|
5336d6f287
|
io.monitors.recursive: fix hang introduced by recent io.monitors change
|
2010-02-19 07:36:12 -05:00 |
Slava Pestov
|
cc5394f4e9
|
Merge branch 'fixes' of git://github.com/Blei/factor
|
2010-02-20 00:27:11 +13:00 |
Slava Pestov
|
a343f8a31c
|
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
|
a615700af1
|
ui.tools.listener docs: typo
|
2010-02-19 11:23:20 +01:00 |
Slava Pestov
|
be8a0f7779
|
concurrency.promises: fix formatting
|
2010-02-19 21:45:50 +13:00 |
Slava Pestov
|
7692bd1715
|
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
|
170f2b5eca
|
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
|
b59da05347
|
Merge branch 'master' of git://github.com/erikcharlebois/factor
|
2010-02-19 12:35:21 +13:00 |
Slava Pestov
|
c3de89c808
|
help.lint.checks: you can't have duplicate names in $values anymore
|
2010-02-19 12:32:03 +13:00 |
Slava Pestov
|
220dd88a2c
|
Update documentation for new help lint check
|
2010-02-19 12:31:52 +13:00 |
Erik Charlebois
|
44e61dbc85
|
Merge branch 'master' of git://github.com/slavapestov/factor
|
2010-02-18 12:54:26 -08:00 |
Erik Charlebois
|
d3d7392fa9
|
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
|
2a517d31df
|
help.stylesheet: tweak color
|
2010-02-19 04:11:57 +13:00 |
Slava Pestov
|
488e5ead26
|
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
|
f2e8128f5d
|
Merge up
|
2010-02-17 18:16:16 -08:00 |
Slava Pestov
|
9da061de5e
|
listener: fix help lint
|
2010-02-18 07:02:22 +13:00 |
Slava Pestov
|
9debed1c75
|
typed: update documentation
|
2010-02-18 04:13:21 +13:00 |
Slava Pestov
|
bf72c89060
|
tools.deploy.backend: clean up
|
2010-02-18 03:57:10 +13:00 |
Slava Pestov
|
049b87bda9
|
tuple-arrays: require that base type be final
|
2010-02-18 03:57:02 +13:00 |
Slava Pestov
|
4b76e2a61d
|
functors: make 'final' declarations work in functors
|
2010-02-18 03:56:41 +13:00 |
Slava Pestov
|
d2ae4ff4ba
|
listener: fix docs
|
2010-02-18 03:36:43 +13:00 |
Slava Pestov
|
9df8a3adbd
|
see: show final declaration on tuples
|
2010-02-18 03:01:26 +13:00 |
Slava Pestov
|
ff172f4132
|
Make specialized arrays and SIMD types final so that typed can unbox them
|
2010-02-18 02:39:40 +13:00 |
Slava Pestov
|
60296be964
|
typed: only unbox final classes. Fixes bug reported by littledan
|
2010-02-18 02:39:12 +13:00 |
Slava Pestov
|
01824d41be
|
Add support for final tuple classes which cannot be subclassed: TUPLE: foo ... ; final
|
2010-02-18 02:19:57 +13:00 |
Slava Pestov
|
63928191e7
|
Minor documentation fixes
|
2010-02-18 01:19:39 +13:00 |
Slava Pestov
|
da7cd4186a
|
help.markup: make $example render slightly nicer
|
2010-02-18 01:18:48 +13:00 |
Erik Charlebois
|
08f65189d3
|
Merge branch 'master' of git://github.com/slavapestov/factor
|
2010-02-17 00:06:27 -08:00 |
Joe Groff
|
a9c13e0301
|
fix last globs test on windows
|
2010-02-16 22:19:56 -08:00 |