]> gitweb.factorcode.org Git - factor.git/log
factor.git
14 years agoBindings to the WinUSB part of the Windows DDK
Erik Charlebois [Wed, 24 Feb 2010 07:00:24 +0000 (23:00 -0800)]
Bindings to the WinUSB part of the Windows DDK

14 years agomissed a uchar* in cairo.ffi
Joe Groff [Tue, 23 Feb 2010 22:02:55 +0000 (14:02 -0800)]
missed a uchar* in cairo.ffi

14 years agoadd missing USING: effects.parser to descriptive, set-n
Joe Groff [Tue, 23 Feb 2010 21:27:18 +0000 (13:27 -0800)]
add missing USING: effects.parser to descriptive, set-n

14 years agochange back other char/uchar* parameters that don't look like actual string types
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

14 years agocairo.ffi, core-foundation.strings: change some functions that don't really expect...
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)

14 years agotypo in alien.data docs
Joe Groff [Tue, 23 Feb 2010 20:20:47 +0000 (12:20 -0800)]
typo in alien.data docs

14 years ago"pointer-c-type" word-prop hack is now unnecessary since all pointer types behave...
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

14 years agotypo in alien.parser test
Joe Groff [Tue, 23 Feb 2010 19:59:53 +0000 (11:59 -0800)]
typo in alien.parser test

14 years agofix typos in alien docs
Joe Groff [Tue, 23 Feb 2010 19:56:10 +0000 (11:56 -0800)]
fix typos in alien docs

14 years agorename current string-mangling "char*" to "c-string". char* is now just a boring...
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

14 years agoupdate docs about pointer types
Joe Groff [Tue, 23 Feb 2010 19:03:48 +0000 (11:03 -0800)]
update docs about pointer types

14 years agoget rid of the last few pointer typedefs in db.postgresql.ffi, windows.usp10, and...
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

14 years agohave TYPEDEF:, STRUCT: etc. throw an error if you try to define a c type name ending...
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

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Tue, 23 Feb 2010 16:10:12 +0000 (08:10 -0800)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agowindows.types: fix definition of wchar_t* as { char* utf16n }
Joe Groff [Tue, 23 Feb 2010 16:10:01 +0000 (08:10 -0800)]
windows.types: fix definition of wchar_t* as { char* utf16n }

14 years agoif any typedef in the chain has a pointer-c-type, use it
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

14 years agofreetype: fix load error
Slava Pestov [Tue, 23 Feb 2010 11:46:11 +0000 (00:46 +1300)]
freetype: fix load error

14 years agoGet foldable and flushable declarations working on typed words
Slava Pestov [Tue, 23 Feb 2010 11:16:55 +0000 (00:16 +1300)]
Get foldable and flushable declarations working on typed words

14 years agoeffects.parser: throw a proper no-word error if effect references an unknown class...
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

14 years agoformatting: fix docs
Slava Pestov [Tue, 23 Feb 2010 08:19:06 +0000 (21:19 +1300)]
formatting: fix docs

14 years agoadd opaque C-TYPEs for sundry interfaces to windows.com
Joe Groff [Tue, 23 Feb 2010 08:03:18 +0000 (00:03 -0800)]
add opaque C-TYPEs for sundry interfaces to windows.com

14 years agoclasses.struct: reader-quot was checking struct-slot-spec for array-ness, not the...
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

14 years ago_DARWIN_MAXNAMELEN+1 should actually be _DARWIN_MAXNAMELEN + 1
Joe Groff [Tue, 23 Feb 2010 07:55:52 +0000 (23:55 -0800)]
_DARWIN_MAXNAMELEN+1 should actually be _DARWIN_MAXNAMELEN + 1

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Tue, 23 Feb 2010 07:26:41 +0000 (20:26 +1300)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoalien.fortran: update tests to reflect new pointer c-type objects
Joe Groff [Tue, 23 Feb 2010 05:58:18 +0000 (21:58 -0800)]
alien.fortran: update tests to reflect new pointer c-type objects

14 years agocairo.ffi: update references to pointer types in alien-callbacks
Joe Groff [Tue, 23 Feb 2010 05:57:56 +0000 (21:57 -0800)]
cairo.ffi: update references to pointer types in alien-callbacks

14 years agoMerge branch 'master' of git://github.com/slavapestov/factor
Erik Charlebois [Tue, 23 Feb 2010 04:43:23 +0000 (20:43 -0800)]
Merge branch 'master' of git://github.com/slavapestov/factor

14 years agoMake scaffolding use set-file-lines so that generated text files end with a newline.
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.

14 years agoWindows DDK SetupAPI bindings -- used for hardware device discovery
Erik Charlebois [Tue, 23 Feb 2010 04:37:06 +0000 (20:37 -0800)]
Windows DDK SetupAPI bindings -- used for hardware device discovery

14 years agoSummary and tags file for windows.ddk.hid
Erik Charlebois [Tue, 23 Feb 2010 04:19:04 +0000 (20:19 -0800)]
Summary and tags file for windows.ddk.hid

14 years agoFix new compile errors in d3d bindings
Erik Charlebois [Tue, 23 Feb 2010 04:18:15 +0000 (20:18 -0800)]
Fix new compile errors in d3d bindings

14 years agoAdd scaffolding for platforms.txt, add option to fuel-scaffold-vocab
Erik Charlebois [Tue, 23 Feb 2010 04:17:49 +0000 (20:17 -0800)]
Add scaffolding for platforms.txt, add option to fuel-scaffold-vocab

14 years agodb.sqlite.ffi: replace some TYPEDEF: void* foo* with C-TYPE: foo
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

14 years agorepeated runs of classes.tuple test would fail because partially defined classes...
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

14 years agoSyntax highlighting for COM-INTERFACE:
Erik Charlebois [Tue, 23 Feb 2010 03:34:54 +0000 (19:34 -0800)]
Syntax highlighting for COM-INTERFACE:

14 years agoRevert change to make-callback-type cause Slava already fixed it in parse-arglist
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

14 years agomissed a dead memory>struct in io.sockets
Joe Groff [Tue, 23 Feb 2010 03:09:03 +0000 (19:09 -0800)]
missed a dead memory>struct in io.sockets

14 years agodon't box struct pointer values when they're null
Joe Groff [Tue, 23 Feb 2010 03:08:43 +0000 (19:08 -0800)]
don't box struct pointer values when they're null

14 years agoMerge branch 'master' of git://factorcode.org/git/factor into new-alien-pointers
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

14 years agoFix a couple of typos in complex number docs
Doug Coleman [Mon, 22 Feb 2010 23:39:30 +0000 (17:39 -0600)]
Fix a couple of typos in complex number docs

14 years agoremove unnecessary memory>structs from extra/ too
Joe Groff [Mon, 22 Feb 2010 20:34:38 +0000 (12:34 -0800)]
remove unnecessary memory>structs from extra/ too

14 years agoscrub memory>struct calls made redundant
Joe Groff [Mon, 22 Feb 2010 20:22:29 +0000 (12:22 -0800)]
scrub memory>struct calls made redundant

14 years agoalien.arrays/classes.struct: ensure specialized array types for struct array slots...
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

14 years agoalien.parser: properly generate return type name for FUNCTION: stack effects
Joe Groff [Mon, 22 Feb 2010 19:25:01 +0000 (11:25 -0800)]
alien.parser: properly generate return type name for FUNCTION: stack effects

14 years agoMerge alien/parser/parser.factor
Erik Charlebois [Mon, 22 Feb 2010 18:53:19 +0000 (10:53 -0800)]
Merge alien/parser/parser.factor

14 years agoMerge branch 'master' of github.com:erikcharlebois/factor
Erik Charlebois [Mon, 22 Feb 2010 18:49:46 +0000 (10:49 -0800)]
Merge branch 'master' of github.com:erikcharlebois/factor

14 years agoAdd some additional error masks and codes
Erik Charlebois [Mon, 22 Feb 2010 18:39:50 +0000 (10:39 -0800)]
Add some additional error masks and codes

14 years agoFix CALLBACK: effect return type also not a string. Added accompanying unit test.
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.

14 years agoAdd some additional error masks and codes
Erik Charlebois [Mon, 22 Feb 2010 18:39:50 +0000 (10:39 -0800)]
Add some additional error masks and codes

14 years agoMerge branch 'master' into new-alien-pointers
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

14 years agoalien: some code cleanups and fixes
Slava Pestov [Mon, 22 Feb 2010 12:28:56 +0000 (01:28 +1300)]
alien: some code cleanups and fixes

14 years agowindows.ddk.hid: add platforms.txt
Slava Pestov [Mon, 22 Feb 2010 11:23:30 +0000 (00:23 +1300)]
windows.ddk.hid: add platforms.txt

14 years agoFix CALLBACK: effect return type also not a string. Added accompanying unit test.
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.

14 years agostack-checker.alien: now that C types are words, the compiler can add dependencies...
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

14 years agoalien.c-types: remove void? word
Slava Pestov [Mon, 22 Feb 2010 08:31:41 +0000 (21:31 +1300)]
alien.c-types: remove void? word

14 years agoMerge branch 'master' of git://factorcode.org/git/factor into new-alien-pointers
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

14 years agoopengl.gl: TYPEDEF: void* GLvoid* => C-TYPE: GLvoid
Joe Groff [Mon, 22 Feb 2010 07:13:56 +0000 (23:13 -0800)]
opengl.gl: TYPEDEF: void* GLvoid* => C-TYPE: GLvoid

14 years agospecialized-arrays: fix underlying-type so it always returns void* for pointer types
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

14 years agostack-checker.dependencies: extend c-type-word method for depends-on-c-type to all...
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)

14 years agoopenssl: replace some TYPEDEF: void* foo* (which won't work anymore) with C-TYPE...
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

14 years agoalien.arrays: typedef special char* symbol so it still works as expected
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

14 years agoMerge branch 'master' of git://github.com/erikcharlebois/factor
Slava Pestov [Mon, 22 Feb 2010 07:09:20 +0000 (20:09 +1300)]
Merge branch 'master' of git://github.com/erikcharlebois/factor

14 years agoclasses.struct: set dependency on slot types in slot accessors, so that accessors...
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

14 years agostack-checker.dependencies: add method for pointers to depends-on-c-type
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

14 years agoMerge branch 'master' into new-alien-pointers
Joe Groff [Mon, 22 Feb 2010 06:30:12 +0000 (22:30 -0800)]
Merge branch 'master' into new-alien-pointers

14 years agostack-checker.dependencies: add depends-on-c-type
Slava Pestov [Mon, 22 Feb 2010 06:21:56 +0000 (19:21 +1300)]
stack-checker.dependencies: add depends-on-c-type

14 years agoparser: auto-use prefers non-private words to private words
Slava Pestov [Mon, 22 Feb 2010 06:15:53 +0000 (19:15 +1300)]
parser: auto-use prefers non-private words to private words

14 years agoRequire that g++ or cl be present to use factor.sh
Doug Coleman [Mon, 22 Feb 2010 06:20:00 +0000 (00:20 -0600)]
Require that g++ or cl be present to use factor.sh

14 years agoAdd some more win32 symbols
Doug Coleman [Wed, 17 Feb 2010 22:43:53 +0000 (16:43 -0600)]
Add some more win32 symbols

14 years agoFix quirk in open-in-explorer -- msft explorer wouldn't go to previous directory...
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

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Mon, 22 Feb 2010 06:10:42 +0000 (22:10 -0800)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agowindows.com: add missing USING: windows.types
Joe Groff [Mon, 22 Feb 2010 06:07:53 +0000 (22:07 -0800)]
windows.com: add missing USING: windows.types

14 years agowindows.com.syntax: don't put c-type words inside stack effect of Interface::Method...
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

14 years agoadd missing using to classes.struct tests
Joe Groff [Mon, 22 Feb 2010 06:04:23 +0000 (22:04 -0800)]
add missing using to classes.struct tests

14 years agoCheck if we're using ttys before starting curses, since initscr exits on error for...
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

14 years agoalien.prettyprint: pprint pointer objects as "type*" in c-type contexts
Joe Groff [Mon, 22 Feb 2010 05:32:34 +0000 (21:32 -0800)]
alien.prettyprint: pprint pointer objects as "type*" in c-type contexts

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Mon, 22 Feb 2010 05:30:50 +0000 (18:30 +1300)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoalien.parser: favor parsing "foo*" as pointer-to-foo now
Joe Groff [Mon, 22 Feb 2010 05:06:00 +0000 (21:06 -0800)]
alien.parser: favor parsing "foo*" as pointer-to-foo now

14 years agomore implementation of pointer c-types. make it so that { char* binary } acts like...
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 }

14 years agoMerge branch 'master' into new-alien-pointers
Joe Groff [Mon, 22 Feb 2010 02:19:17 +0000 (18:19 -0800)]
Merge branch 'master' into new-alien-pointers

14 years agoMerge branch 'master' of git://projects.elasticdog.com/git/factor
Slava Pestov [Mon, 22 Feb 2010 01:49:55 +0000 (14:49 +1300)]
Merge branch 'master' of git://projects.elasticdog.com/git/factor

14 years agomath.blas: update string c-types
Joe Groff [Mon, 22 Feb 2010 00:49:58 +0000 (16:49 -0800)]
math.blas: update string c-types

14 years agoio.sockets.windows.nt: update string c-types in alien-indirect
Joe Groff [Mon, 22 Feb 2010 00:49:44 +0000 (16:49 -0800)]
io.sockets.windows.nt: update string c-types in alien-indirect

14 years agoBindings to the HID portion of the Windows DDK.
Erik Charlebois [Mon, 22 Feb 2010 00:43:09 +0000 (16:43 -0800)]
Bindings to the HID portion of the Windows DDK.

14 years agoFUEL: Add UNION-STRUCT: to syntax highlighting.
Erik Charlebois [Mon, 22 Feb 2010 00:42:31 +0000 (16:42 -0800)]
FUEL: Add UNION-STRUCT: to syntax highlighting.

14 years agouse a "pointer" wrapper tuple to indicate pointer types instead of the current slipsh...
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

14 years agocpu.ppc: fix string c-type usage
Slava Pestov [Mon, 22 Feb 2010 00:18:45 +0000 (13:18 +1300)]
cpu.ppc: fix string c-type usage

14 years agowindows.com.prettyprint: remove circular dependency on windows.com
Slava Pestov [Mon, 22 Feb 2010 00:16:46 +0000 (13:16 +1300)]
windows.com.prettyprint: remove circular dependency on windows.com

14 years agovocabs.loader: tweak platform checking logic
Slava Pestov [Mon, 22 Feb 2010 00:16:34 +0000 (13:16 +1300)]
vocabs.loader: tweak platform checking logic

14 years agococoa.messages: fix
Slava Pestov [Mon, 22 Feb 2010 00:10:20 +0000 (13:10 +1300)]
cocoa.messages: fix

14 years agoremove string c-types from classes.struct tests
Joe Groff [Sun, 21 Feb 2010 21:01:29 +0000 (13:01 -0800)]
remove string c-types from classes.struct tests

14 years agowindows.com.syntax: parse return c-type of COM-INTERFACE: functions
Joe Groff [Sun, 21 Feb 2010 19:56:35 +0000 (11:56 -0800)]
windows.com.syntax: parse return c-type of COM-INTERFACE: functions

14 years agoopengl.gl.extensions: scan return type of GL-FUNCTION: as c-type
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

14 years agocore-foundation.fsevents: use CALLBACK: type to define master-event-source-callback
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

14 years agoremove references to c-types hash from deploy tool
Joe Groff [Sun, 21 Feb 2010 19:10:52 +0000 (11:10 -0800)]
remove references to c-types hash from deploy tool

14 years agoditch string c-types
Joe Groff [Sun, 21 Feb 2010 18:28:42 +0000 (10:28 -0800)]
ditch string c-types

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Sun, 21 Feb 2010 17:58:41 +0000 (09:58 -0800)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoFix parse error in elisp file
Erik Charlebois [Sun, 21 Feb 2010 12:39:44 +0000 (04:39 -0800)]
Fix parse error in elisp file

14 years agoMerge branch 'master' of git://github.com/slavapestov/factor
Erik Charlebois [Sun, 21 Feb 2010 11:36:54 +0000 (03:36 -0800)]
Merge branch 'master' of git://github.com/slavapestov/factor

14 years agoFUEL: Add prefix key behavior to fuel-test-vocab so that it is similar to other FUEL...
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.