]>
gitweb.factorcode.org Git - factor.git/log
Joe Groff [Tue, 23 Feb 2010 21:15:16 +0000 (13:15 -0800)]
change back other char/uchar* parameters that don't look like actual string types
Joe Groff [Tue, 23 Feb 2010 20:53:09 +0000 (12:53 -0800)]
cairo.ffi, core-foundation.strings: change some functions that don't really expect strings to use char* instead of c-string (reported by Blei)
Joe Groff [Tue, 23 Feb 2010 20:20:47 +0000 (12:20 -0800)]
typo in alien.data docs
Joe Groff [Tue, 23 Feb 2010 20:07:55 +0000 (12:07 -0800)]
"pointer-c-type" word-prop hack is now unnecessary since all pointer types behave uniformly now
Joe Groff [Tue, 23 Feb 2010 19:59:53 +0000 (11:59 -0800)]
typo in alien.parser test
Joe Groff [Tue, 23 Feb 2010 19:56:10 +0000 (11:56 -0800)]
fix typos in alien docs
Joe Groff [Tue, 23 Feb 2010 19:42:02 +0000 (11:42 -0800)]
rename current string-mangling "char*" to "c-string". char* is now just a boring old pointer to char
Joe Groff [Tue, 23 Feb 2010 19:03:48 +0000 (11:03 -0800)]
update docs about pointer types
Joe Groff [Tue, 23 Feb 2010 18:17:48 +0000 (10:17 -0800)]
get rid of the last few pointer typedefs in db.postgresql.ffi, windows.usp10, and windows.winsock
Joe Groff [Tue, 23 Feb 2010 18:16:18 +0000 (10:16 -0800)]
have TYPEDEF:, STRUCT: etc. throw an error if you try to define a c type name ending with asterisk
Joe Groff [Tue, 23 Feb 2010 16:10:12 +0000 (08:10 -0800)]
Merge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Tue, 23 Feb 2010 16:10:01 +0000 (08:10 -0800)]
windows.types: fix definition of wchar_t* as { char* utf16n }
Joe Groff [Tue, 23 Feb 2010 16:09:33 +0000 (08:09 -0800)]
if any typedef in the chain has a pointer-c-type, use it
Slava Pestov [Tue, 23 Feb 2010 11:46:11 +0000 (00:46 +1300)]
freetype: fix load error
Slava Pestov [Tue, 23 Feb 2010 11:16:55 +0000 (00:16 +1300)]
Get foldable and flushable declarations working on typed words
Slava Pestov [Tue, 23 Feb 2010 10:57:13 +0000 (23:57 +1300)]
effects.parser: throw a proper no-word error if effect references an unknown class word
Slava Pestov [Tue, 23 Feb 2010 08:19:06 +0000 (21:19 +1300)]
formatting: fix docs
Joe Groff [Tue, 23 Feb 2010 08:03:18 +0000 (00:03 -0800)]
add opaque C-TYPEs for sundry interfaces to windows.com
Joe Groff [Tue, 23 Feb 2010 07:57:10 +0000 (23:57 -0800)]
classes.struct: reader-quot was checking struct-slot-spec for array-ness, not the type! derp
Joe Groff [Tue, 23 Feb 2010 07:55:52 +0000 (23:55 -0800)]
_DARWIN_MAXNAMELEN+1 should actually be _DARWIN_MAXNAMELEN + 1
Slava Pestov [Tue, 23 Feb 2010 07:26:41 +0000 (20:26 +1300)]
Merge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Tue, 23 Feb 2010 05:58:18 +0000 (21:58 -0800)]
alien.fortran: update tests to reflect new pointer c-type objects
Joe Groff [Tue, 23 Feb 2010 05:57:56 +0000 (21:57 -0800)]
cairo.ffi: update references to pointer types in alien-callbacks
Erik Charlebois [Tue, 23 Feb 2010 04:43:23 +0000 (20:43 -0800)]
Merge branch 'master' of git://github.com/slavapestov/factor
Erik Charlebois [Tue, 23 Feb 2010 04:39:45 +0000 (20:39 -0800)]
Make scaffolding use set-file-lines so that generated text files end with a newline.
Erik Charlebois [Tue, 23 Feb 2010 04:37:06 +0000 (20:37 -0800)]
Windows DDK SetupAPI bindings -- used for hardware device discovery
Erik Charlebois [Tue, 23 Feb 2010 04:19:04 +0000 (20:19 -0800)]
Summary and tags file for windows.ddk.hid
Erik Charlebois [Tue, 23 Feb 2010 04:18:15 +0000 (20:18 -0800)]
Fix new compile errors in d3d bindings
Erik Charlebois [Tue, 23 Feb 2010 04:17:49 +0000 (20:17 -0800)]
Add scaffolding for platforms.txt, add option to fuel-scaffold-vocab
Joe Groff [Tue, 23 Feb 2010 03:36:14 +0000 (19:36 -0800)]
db.sqlite.ffi: replace some TYPEDEF: void* foo* with C-TYPE: foo
Joe Groff [Tue, 23 Feb 2010 03:35:52 +0000 (19:35 -0800)]
repeated runs of classes.tuple test would fail because partially defined classes.tuple.tests:bad-superclass type would shadow classes.tuple:bad-superclass
Erik Charlebois [Tue, 23 Feb 2010 03:34:54 +0000 (19:34 -0800)]
Syntax highlighting for COM-INTERFACE:
Erik Charlebois [Tue, 23 Feb 2010 03:34:34 +0000 (19:34 -0800)]
Revert change to make-callback-type cause Slava already fixed it in parse-arglist
Joe Groff [Tue, 23 Feb 2010 03:09:03 +0000 (19:09 -0800)]
missed a dead memory>struct in io.sockets
Joe Groff [Tue, 23 Feb 2010 03:08:43 +0000 (19:08 -0800)]
don't box struct pointer values when they're null
Joe Groff [Tue, 23 Feb 2010 01:46:36 +0000 (17:46 -0800)]
Merge branch 'master' of git://factorcode.org/git/factor into new-alien-pointers
Doug Coleman [Mon, 22 Feb 2010 23:39:30 +0000 (17:39 -0600)]
Fix a couple of typos in complex number docs
Joe Groff [Mon, 22 Feb 2010 20:34:38 +0000 (12:34 -0800)]
remove unnecessary memory>structs from extra/ too
Joe Groff [Mon, 22 Feb 2010 20:22:29 +0000 (12:22 -0800)]
scrub memory>struct calls made redundant
Joe Groff [Mon, 22 Feb 2010 20:21:29 +0000 (12:21 -0800)]
alien.arrays/classes.struct: ensure specialized array types for struct array slots get instantiated at parse time
Joe Groff [Mon, 22 Feb 2010 19:25:01 +0000 (11:25 -0800)]
alien.parser: properly generate return type name for FUNCTION: stack effects
Erik Charlebois [Mon, 22 Feb 2010 18:53:19 +0000 (10:53 -0800)]
Merge alien/parser/parser.factor
Erik Charlebois [Mon, 22 Feb 2010 18:49:46 +0000 (10:49 -0800)]
Merge branch 'master' of github.com:erikcharlebois/factor
Erik Charlebois [Mon, 22 Feb 2010 18:39:50 +0000 (10:39 -0800)]
Add some additional error masks and codes
Erik Charlebois [Mon, 22 Feb 2010 08:45:54 +0000 (00:45 -0800)]
Fix CALLBACK: effect return type also not a string. Added accompanying unit test.
Erik Charlebois [Mon, 22 Feb 2010 18:39:50 +0000 (10:39 -0800)]
Add some additional error masks and codes
Joe Groff [Mon, 22 Feb 2010 18:32:59 +0000 (10:32 -0800)]
Merge branch 'master' into new-alien-pointers
Conflicts:
basis/alien/c-types/c-types.factor
basis/stack-checker/dependencies/dependencies.factor
Slava Pestov [Mon, 22 Feb 2010 12:28:56 +0000 (01:28 +1300)]
alien: some code cleanups and fixes
Slava Pestov [Mon, 22 Feb 2010 11:23:30 +0000 (00:23 +1300)]
windows.ddk.hid: add platforms.txt
Erik Charlebois [Mon, 22 Feb 2010 08:45:54 +0000 (00:45 -0800)]
Fix CALLBACK: effect return type also not a string. Added accompanying unit test.
Slava Pestov [Mon, 22 Feb 2010 08:32:41 +0000 (21:32 +1300)]
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
Slava Pestov [Mon, 22 Feb 2010 08:31:41 +0000 (21:31 +1300)]
alien.c-types: remove void? word
Joe Groff [Mon, 22 Feb 2010 07:14:08 +0000 (23:14 -0800)]
Merge branch 'master' of git://factorcode.org/git/factor into new-alien-pointers
Joe Groff [Mon, 22 Feb 2010 07:13:56 +0000 (23:13 -0800)]
opengl.gl: TYPEDEF: void* GLvoid* => C-TYPE: GLvoid
Joe Groff [Mon, 22 Feb 2010 07:13:31 +0000 (23:13 -0800)]
specialized-arrays: fix underlying-type so it always returns void* for pointer types
Joe Groff [Mon, 22 Feb 2010 07:13:12 +0000 (23:13 -0800)]
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)
Joe Groff [Mon, 22 Feb 2010 07:12:28 +0000 (23:12 -0800)]
openssl: replace some TYPEDEF: void* foo* (which won't work anymore) with C-TYPE: foo
Joe Groff [Mon, 22 Feb 2010 07:11:59 +0000 (23:11 -0800)]
alien.arrays: typedef special char* symbol so it still works as expected
Slava Pestov [Mon, 22 Feb 2010 07:09:20 +0000 (20:09 +1300)]
Merge branch 'master' of git://github.com/erikcharlebois/factor
Joe Groff [Mon, 22 Feb 2010 06:46:52 +0000 (22:46 -0800)]
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
Joe Groff [Mon, 22 Feb 2010 06:31:32 +0000 (22:31 -0800)]
stack-checker.dependencies: add method for pointers to depends-on-c-type
Joe Groff [Mon, 22 Feb 2010 06:30:12 +0000 (22:30 -0800)]
Merge branch 'master' into new-alien-pointers
Slava Pestov [Mon, 22 Feb 2010 06:21:56 +0000 (19:21 +1300)]
stack-checker.dependencies: add depends-on-c-type
Slava Pestov [Mon, 22 Feb 2010 06:15:53 +0000 (19:15 +1300)]
parser: auto-use prefers non-private words to private words
Doug Coleman [Mon, 22 Feb 2010 06:20:00 +0000 (00:20 -0600)]
Require that g++ or cl be present to use factor.sh
Doug Coleman [Wed, 17 Feb 2010 22:43:53 +0000 (16:43 -0600)]
Add some more win32 symbols
Doug Coleman [Wed, 17 Feb 2010 22:42:53 +0000 (16:42 -0600)]
Fix quirk in open-in-explorer -- msft explorer wouldn't go to previous directory correctly if / was a path separator
Joe Groff [Mon, 22 Feb 2010 06:10:42 +0000 (22:10 -0800)]
Merge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Mon, 22 Feb 2010 06:07:53 +0000 (22:07 -0800)]
windows.com: add missing USING: windows.types
Joe Groff [Mon, 22 Feb 2010 06:07:32 +0000 (22:07 -0800)]
windows.com.syntax: don't put c-type words inside stack effect of Interface::Method words
Joe Groff [Mon, 22 Feb 2010 06:04:23 +0000 (22:04 -0800)]
add missing using to classes.struct tests
Doug Coleman [Mon, 22 Feb 2010 05:37:33 +0000 (23:37 -0600)]
Check if we're using ttys before starting curses, since initscr exits on error for some dumb reason
Joe Groff [Mon, 22 Feb 2010 05:32:34 +0000 (21:32 -0800)]
alien.prettyprint: pprint pointer objects as "type*" in c-type contexts
Slava Pestov [Mon, 22 Feb 2010 05:30:50 +0000 (18:30 +1300)]
Merge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Mon, 22 Feb 2010 05:06:00 +0000 (21:06 -0800)]
alien.parser: favor parsing "foo*" as pointer-to-foo now
Joe Groff [Mon, 22 Feb 2010 03:23:47 +0000 (19:23 -0800)]
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 }
Joe Groff [Mon, 22 Feb 2010 02:19:17 +0000 (18:19 -0800)]
Merge branch 'master' into new-alien-pointers
Slava Pestov [Mon, 22 Feb 2010 01:49:55 +0000 (14:49 +1300)]
Merge branch 'master' of git://projects.elasticdog.com/git/factor
Joe Groff [Mon, 22 Feb 2010 00:49:58 +0000 (16:49 -0800)]
math.blas: update string c-types
Joe Groff [Mon, 22 Feb 2010 00:49:44 +0000 (16:49 -0800)]
io.sockets.windows.nt: update string c-types in alien-indirect
Erik Charlebois [Mon, 22 Feb 2010 00:43:09 +0000 (16:43 -0800)]
Bindings to the HID portion of the Windows DDK.
Erik Charlebois [Mon, 22 Feb 2010 00:42:31 +0000 (16:42 -0800)]
FUEL: Add UNION-STRUCT: to syntax highlighting.
Joe Groff [Mon, 22 Feb 2010 00:27:36 +0000 (16:27 -0800)]
use a "pointer" wrapper tuple to indicate pointer types instead of the current slipshod approach
Slava Pestov [Mon, 22 Feb 2010 00:18:45 +0000 (13:18 +1300)]
cpu.ppc: fix string c-type usage
Slava Pestov [Mon, 22 Feb 2010 00:16:46 +0000 (13:16 +1300)]
windows.com.prettyprint: remove circular dependency on windows.com
Slava Pestov [Mon, 22 Feb 2010 00:16:34 +0000 (13:16 +1300)]
vocabs.loader: tweak platform checking logic
Slava Pestov [Mon, 22 Feb 2010 00:10:20 +0000 (13:10 +1300)]
cocoa.messages: fix
Joe Groff [Sun, 21 Feb 2010 21:01:29 +0000 (13:01 -0800)]
remove string c-types from classes.struct tests
Joe Groff [Sun, 21 Feb 2010 19:56:35 +0000 (11:56 -0800)]
windows.com.syntax: parse return c-type of COM-INTERFACE: functions
Joe Groff [Sun, 21 Feb 2010 19:36:59 +0000 (11:36 -0800)]
opengl.gl.extensions: scan return type of GL-FUNCTION: as c-type
Joe Groff [Sun, 21 Feb 2010 19:17:25 +0000 (11:17 -0800)]
core-foundation.fsevents: use CALLBACK: type to define master-event-source-callback
Joe Groff [Sun, 21 Feb 2010 19:10:52 +0000 (11:10 -0800)]
remove references to c-types hash from deploy tool
Joe Groff [Sun, 21 Feb 2010 18:28:42 +0000 (10:28 -0800)]
ditch string c-types
Joe Groff [Sun, 21 Feb 2010 17:58:41 +0000 (09:58 -0800)]
Merge branch 'master' of git://factorcode.org/git/factor
Erik Charlebois [Sun, 21 Feb 2010 12:39:44 +0000 (04:39 -0800)]
Fix parse error in elisp file
Erik Charlebois [Sun, 21 Feb 2010 11:36:54 +0000 (03:36 -0800)]
Merge branch 'master' of git://github.com/slavapestov/factor
Erik Charlebois [Sun, 21 Feb 2010 11:35:15 +0000 (03:35 -0800)]
FUEL: Add prefix key behavior to fuel-test-vocab so that it is similar to other FUEL interactive functions.
Erik Charlebois [Sun, 21 Feb 2010 11:34:08 +0000 (03:34 -0800)]
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.
Erik Charlebois [Sun, 21 Feb 2010 11:27:16 +0000 (03:27 -0800)]
FUEL: Flip the default behavior of visit-other-file so that it does not try to create -docs or -tests files if they do not exist by default. This is the more common case when spelunking in code and in general you want to scaffold those files anyway.
Slava Pestov [Sun, 21 Feb 2010 09:27:32 +0000 (22:27 +1300)]
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