]> gitweb.factorcode.org Git - factor.git/log
factor.git
14 years agoMerge branch 'master' of git://github.com/william42/factor
Joe Groff [Sat, 27 Feb 2010 02:14:10 +0000 (18:14 -0800)]
Merge branch 'master' of git://github.com/william42/factor

14 years agogrouping: circular-slice shouldn't be a subclass of slice since that thwarts method...
Joe Groff [Fri, 26 Feb 2010 21:20:47 +0000 (13:20 -0800)]
grouping: circular-slice shouldn't be a subclass of slice since that thwarts method inlining

14 years agoMerge branch 'master' of github.com:erikcharlebois/factor
Erik Charlebois [Fri, 26 Feb 2010 02:51:08 +0000 (18:51 -0800)]
Merge branch 'master' of github.com:erikcharlebois/factor

14 years agoMerge branch 'master' of git://github.com/slavapestov/factor
Erik Charlebois [Fri, 26 Feb 2010 02:51:00 +0000 (18:51 -0800)]
Merge branch 'master' of git://github.com/slavapestov/factor

14 years agoFix windows.directx compile errors
Erik Charlebois [Fri, 26 Feb 2010 02:50:05 +0000 (18:50 -0800)]
Fix windows.directx compile errors

14 years agogrouping: add circular clumps (e.g. { 1 2 3 4 } 3 circular-clump => { { 1 2 3 } ...
Joe Groff [Fri, 26 Feb 2010 01:05:03 +0000 (17:05 -0800)]
grouping: add circular clumps (e.g. { 1 2 3 4 } 3 circular-clump => { { 1 2 3 } { 2 3 4 } { 3 4 1 } { 4 1 2 } }

14 years agoAdd perp and angle-between words for vectors. Fix bug in cross product and add unit...
Erik Charlebois [Thu, 25 Feb 2010 16:15:53 +0000 (08:15 -0800)]
Add perp and angle-between words for vectors. Fix bug in cross product and add unit tests.

14 years agowindows.com: typedef interface word to void* immediately so that self-referential...
Joe Groff [Fri, 26 Feb 2010 00:39:30 +0000 (16:39 -0800)]
windows.com: typedef interface word to void* immediately so that self-referential pointers in the interface definition parse properly. fix a bug where pointer return values for interface methods couldn't parse

14 years agodeploy chipmunk lib
Joe Groff [Thu, 25 Feb 2010 23:13:06 +0000 (15:13 -0800)]
deploy chipmunk lib

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Thu, 25 Feb 2010 20:55:40 +0000 (12:55 -0800)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoremove repeated "pad" slots from x11.xlib structs
Joe Groff [Thu, 25 Feb 2010 20:55:31 +0000 (12:55 -0800)]
remove repeated "pad" slots from x11.xlib structs

14 years agoAdd more user32 bindings
Doug Coleman [Thu, 25 Feb 2010 20:36:12 +0000 (14:36 -0600)]
Add more user32 bindings

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Thu, 25 Feb 2010 19:52:42 +0000 (11:52 -0800)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoclasses.struct: raise an error in STRUCT: if there are duplicate slot names
Joe Groff [Thu, 25 Feb 2010 19:52:21 +0000 (11:52 -0800)]
classes.struct: raise an error in STRUCT: if there are duplicate slot names

14 years agoAdd perp and angle-between words for vectors. Fix bug in cross product and add unit...
Erik Charlebois [Thu, 25 Feb 2010 16:15:53 +0000 (08:15 -0800)]
Add perp and angle-between words for vectors. Fix bug in cross product and add unit tests.

14 years agosequences: fix help lint
Slava Pestov [Thu, 25 Feb 2010 11:44:48 +0000 (00:44 +1300)]
sequences: fix help lint

14 years agosyndication: get it working with doublec's wacky atom feed
Slava Pestov [Thu, 25 Feb 2010 08:39:14 +0000 (21:39 +1300)]
syndication: get it working with doublec's wacky atom feed

14 years agosequences: add cartesian-each, cartesian-map, cartesian-product words to eliminate...
Slava Pestov [Thu, 25 Feb 2010 07:54:41 +0000 (20:54 +1300)]
sequences: add cartesian-each, cartesian-map, cartesian-product words to eliminate some duplication throughout the codebase

14 years agogame.worlds: construct game-loop object before begin-game-world is called so begin...
Joe Groff [Thu, 25 Feb 2010 04:07:13 +0000 (20:07 -0800)]
game.worlds: construct game-loop object before begin-game-world is called so begin-game-world can change it before the loop is started

14 years agofix up chipmunk.demo, add a MAIN:
Joe Groff [Thu, 25 Feb 2010 02:46:02 +0000 (18:46 -0800)]
fix up chipmunk.demo, add a MAIN:

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Thu, 25 Feb 2010 02:26:46 +0000 (18:26 -0800)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agomove chipmunk to chipmunk.ffi
Joe Groff [Thu, 25 Feb 2010 01:00:17 +0000 (17:00 -0800)]
move chipmunk to chipmunk.ffi

14 years agosequences: add suffix! to destructive sequence ops article
Slava Pestov [Wed, 24 Feb 2010 16:57:09 +0000 (05:57 +1300)]
sequences: add suffix! to destructive sequence ops article

14 years agowebapps.wiki: fix template
Slava Pestov [Wed, 24 Feb 2010 15:54:42 +0000 (04:54 +1300)]
webapps.wiki: fix template

14 years agoSlices over specialized arrays can now be passed to C functions, written to binary...
Slava Pestov [Wed, 24 Feb 2010 15:50:31 +0000 (04:50 +1300)]
Slices over specialized arrays can now be passed to C functions, written to binary output streams, and given to malloc-byte-array

14 years agoAdd some commented out unit tests to io.ports.tests that seem like they should be...
Doug Coleman [Wed, 24 Feb 2010 09:32:02 +0000 (03:32 -0600)]
Add some commented out unit tests to io.ports.tests that seem like they should be supported

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Wed, 24 Feb 2010 08:51:13 +0000 (00:51 -0800)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agotidy up load errors in ui.backend.x11
Joe Groff [Wed, 24 Feb 2010 08:51:02 +0000 (00:51 -0800)]
tidy up load errors in ui.backend.x11

14 years agoUse for(;;) instead of do/while in a few places, fix safe_fread's error handling
Doug Coleman [Wed, 24 Feb 2010 08:47:45 +0000 (02:47 -0600)]
Use for(;;) instead of do/while in a few places, fix safe_fread's error handling

14 years agoio.files.unix: fix load errors arising from byte-length being moved
Slava Pestov [Wed, 24 Feb 2010 08:20:21 +0000 (21:20 +1300)]
io.files.unix: fix load errors arising from byte-length being moved

14 years agocore-foundation.run-loop: cleanup
Slava Pestov [Wed, 24 Feb 2010 08:18:29 +0000 (21:18 +1300)]
core-foundation.run-loop: cleanup

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Wed, 24 Feb 2010 07:53:51 +0000 (23:53 -0800)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoui.backend.cocoa: invalidate run loop timers before raising an NSAlert and add them...
Joe Groff [Wed, 24 Feb 2010 07:50:34 +0000 (23:50 -0800)]
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

14 years agoMove closures, fries and set-n to unmaintained
Slava Pestov [Wed, 24 Feb 2010 07:24:32 +0000 (20:24 +1300)]
Move closures, fries and set-n to unmaintained

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

14 years agococoa.messages: cleanup
Slava Pestov [Wed, 24 Feb 2010 07:18:48 +0000 (20:18 +1300)]
cocoa.messages: cleanup

14 years agoSpecialized arrays, structs and other objects responding to the >c-ptr / byte-length...
Slava Pestov [Wed, 24 Feb 2010 07:18:41 +0000 (20:18 +1300)]
Specialized arrays, structs and other objects responding to the >c-ptr / byte-length protocol can now be written to binary streams

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 agoui.gadgets.worlds: deactivate world before calling the ui-error-hook
Joe Groff [Wed, 24 Feb 2010 06:55:57 +0000 (22:55 -0800)]
ui.gadgets.worlds: deactivate world before calling the ui-error-hook

14 years agotools.deploy.shaker: raise a generic "This application died" system-alert instead...
Joe Groff [Wed, 24 Feb 2010 04:42:36 +0000 (20:42 -0800)]
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

14 years agodocument system-alert
Joe Groff [Wed, 24 Feb 2010 04:29:51 +0000 (20:29 -0800)]
document system-alert

14 years agoopengl.gl: all those GLchar* should be c-string[ascii]
Joe Groff [Wed, 24 Feb 2010 04:29:31 +0000 (20:29 -0800)]
opengl.gl: all those GLchar* should be c-string[ascii]

14 years agoui: add a "system-alert" hook that can raise a system modal dialog without involving...
Joe Groff [Wed, 24 Feb 2010 03:28:57 +0000 (19:28 -0800)]
ui: add a "system-alert" hook that can raise a system modal dialog without involving any potentially stripped gadget, io, or debugger code

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