Slava Pestov
|
560c119cd2
|
vm: actually use context callstacks when running code
|
2010-03-26 22:44:43 -04:00 |
Joe Groff
|
305ea844de
|
tools.deploy.windows: got the "com" and "exe" backwards for deploy-console? flag
|
2010-03-23 15:32:16 -07:00 |
Slava Pestov
|
6299e746f1
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2010-03-23 01:45:40 -04:00 |
Joe Groff
|
f6561f3c03
|
delegate: add BROADCAST: syntax, delegate generic with no outputs to an array of multiple delegates
|
2010-03-22 22:32:00 -07:00 |
Daniel Ehrenberg
|
88e88207ff
|
Fixing bug in regexp \P
|
2010-03-23 00:30:49 -04:00 |
Joe Groff
|
91c353ef60
|
tools.deploy: make deploy-console? and deploy-ui? independent config variables, so windows apps can be deployed without a console or the ui
|
2010-03-22 16:55:35 -07:00 |
Joe Groff
|
1d4d6f4ce8
|
factor code duplication in compiler.cfg.intrinsics.simd.backend
|
2010-03-20 10:57:04 -07:00 |
Joe Groff
|
f82a368602
|
compiler.cfg.intrinsics.simd.backend: eliminate duplicated work done on successful insn sequence
|
2010-03-20 02:51:49 -07:00 |
Joe Groff
|
ee4913702f
|
compiler.cfg.intrinsics.simd.backend: use less grotesque metaprogramming to determine simd instruction sequences
|
2010-03-20 02:16:50 -07:00 |
Daniel Ehrenberg
|
887c289c6c
|
Merge branch 'master' of git://factorcode.org/git/factor into conditional
|
2010-03-19 06:46:16 -04:00 |
Slava Pestov
|
6aee6b3adc
|
Add context-specific special object table, generalizing catchstack_save and current_callback_save fields of context struct
|
2010-03-18 22:06:00 +13:00 |
Daniel Ehrenberg
|
b4bf7b1d9b
|
Making xml literal inverse behavior only load if inverse is loaded
|
2010-03-18 02:07:47 -04:00 |
Daniel Ehrenberg
|
4af88ff9ff
|
Making more vocabs use require-when
|
2010-03-18 01:39:30 -04:00 |
Daniel Ehrenberg
|
eb060443db
|
Updating code to use require-when rather than vocab [ require ] when
|
2010-03-18 01:13:37 -04:00 |
Daniel Ehrenberg
|
8f92583946
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2010-03-17 21:38:35 -04:00 |
Daniel Ehrenberg
|
fab9a925c3
|
Reducing bit-sets performance regression somewhat
|
2010-03-17 21:38:06 -04:00 |
Daniel Ehrenberg
|
248730d39f
|
Cleaning up compiler.cfg.ssa.construction
|
2010-03-17 20:12:10 -04:00 |
Slava Pestov
|
75d0f51b30
|
alien.debugger: fix USING: form
|
2010-03-17 19:35:12 +13:00 |
Slava Pestov
|
fb06bbcae7
|
stack-checker.errors.prettyprint: give it some smart quotes lovin'
|
2010-03-17 19:20:28 +13:00 |
Slava Pestov
|
6ff0393e2f
|
debugger: Untangle some dodgy dependencies that were loading locals before prettyprint, resulting in locals.prettyprint not being loaded
|
2010-03-17 19:19:43 +13:00 |
Slava Pestov
|
cdee2439d8
|
grouping: minor cleanup
|
2010-03-17 19:13:25 +13:00 |
Slava Pestov
|
01e5aadcd0
|
unix.types.freebsd: fix time_t typedef
|
2010-03-17 17:39:43 +13:00 |
Daniel Ehrenberg
|
39df2c373f
|
Fixing vocab ambiguities in linux and windows-specific vocabs
|
2010-03-17 00:22:48 -04:00 |
Daniel Ehrenberg
|
b30acddbb0
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2010-03-16 23:59:50 -04:00 |
Daniel Ehrenberg
|
cd10fed0af
|
Fixing bit sets help
|
2010-03-16 23:59:35 -04:00 |
Joe Groff
|
abd9b30d34
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2010-03-16 18:36:02 -07:00 |
Joe Groff
|
632c199636
|
opengl 3.3, 4.0
|
2010-03-16 18:35:46 -07:00 |
Daniel Ehrenberg
|
5e20190bc5
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2010-03-16 20:38:19 -04:00 |
Joe Groff
|
00b95b1c8a
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2010-03-16 17:25:57 -07:00 |
Joe Groff
|
fce55c7bb3
|
opengl 3.2; EXT_geometry_shader4 => ARB_geometry_shader4
|
2010-03-16 17:25:34 -07:00 |
Daniel Ehrenberg
|
1da6ea957a
|
Fixing bugs with sets, including adding new within and without words
|
2010-03-16 20:17:26 -04:00 |
Daniel Ehrenberg
|
512fe14e4e
|
Merge branch 'bags' of git://github.com/littledan/Factor
Conflicts:
basis/compiler/cfg/ssa/construction/tdmsc/tdmsc.factor
basis/furnace/auth/auth.factor
basis/stack-checker/backend/backend.factor
|
2010-03-16 13:28:00 -04:00 |
Slava Pestov
|
604ccb0a3a
|
tools.memory: fix unit test
|
2010-03-16 18:35:44 +13:00 |
Slava Pestov
|
9b6b58b240
|
tools.time: fix load error in docs
|
2010-03-16 16:44:36 +13:00 |
Slava Pestov
|
10836ce1bc
|
tools.memory, tools.dispatch: change collect-gc-events and collect-dispatch-stats combinators to output values instead of setting variables
|
2010-03-16 14:00:57 +13:00 |
Joe Groff
|
acb04ad3ed
|
debugger: give a descriptive error for *-in-c-type-name
|
2010-03-15 12:57:38 -07:00 |
Joe Groff
|
08f29d9fcd
|
ui.backend.cocoa.views: change drawRect: method so it does "draw-world" directly instead of relayout-1 yield
|
2010-03-15 12:57:09 -07:00 |
Slava Pestov
|
f0a9912ae9
|
core-foundation.run-loop: remove unnecessary yields. This fixes a thread starvation issue with game.input
|
2010-03-15 19:25:57 +13:00 |
Slava Pestov
|
e30d18aefc
|
http: update docs
|
2010-03-15 19:25:20 +13:00 |
Slava Pestov
|
4c9ae8398c
|
io.servers.connection: fix bogus logging
|
2010-03-14 17:04:36 +13:00 |
Slava Pestov
|
937b05f1de
|
http: clean up and fix some content encoding logic
|
2010-03-13 22:10:36 +13:00 |
Joe Groff
|
cb0e99a962
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2010-03-13 00:45:31 -08:00 |
Slava Pestov
|
efe5e22483
|
furnace.syndication: fix load error
|
2010-03-13 21:13:34 +13:00 |
Joe Groff
|
b28f7c97f4
|
add descriptive summary for no-c-type error
|
2010-03-12 23:07:36 -08:00 |
Slava Pestov
|
02a4082e1f
|
http.server: decouple charset header from encoding used to send the data, and serve text files as UTF-8 by default
|
2010-03-13 19:07:35 +13:00 |
Slava Pestov
|
f8e2ddd53f
|
prettyprint.config: short. should not print structs as pointers
|
2010-03-13 19:07:34 +13:00 |
Joe Groff
|
f13a031f8f
|
windows.offscreen: generalize the declared effect of with-memory-dc
|
2010-03-12 19:59:21 -08:00 |
Joe Groff
|
8687a7e283
|
Merge branch 'master' of git://factorcode.org/git/factor into row-polymorphism
|
2010-03-12 14:36:13 -08:00 |
Slava Pestov
|
e8f857f3f6
|
sequences.cords: remove blank lines
|
2010-03-12 16:45:09 +13:00 |
Joe Groff
|
dfbe1211f7
|
pre-chew the bite-sized morsels of stack-checker.row-polymorphism so they're easy for old people to digest
|
2010-03-11 14:09:18 -08:00 |
Slava Pestov
|
16ddd015d3
|
typed: forgetting a final class would throw an error while recompiling typed words depending on it
|
2010-03-12 10:22:35 +13:00 |
Joe Groff
|
452f17c859
|
update effect syntax error names in debugger
|
2010-03-11 11:22:43 -08:00 |
Slava Pestov
|
274a6ec5ce
|
furnace.recaptcha: fix load error
|
2010-03-12 01:23:28 +13:00 |
Slava Pestov
|
977f8e1d2c
|
Merge branch 'row-polymorphism' of git://factorcode.org/git/factor into row-polymorphism
|
2010-03-11 22:10:49 +13:00 |
Slava Pestov
|
f6511eb098
|
Merge branch 'master' of git://factorcode.org/git/factor into row-polymorphism
|
2010-03-11 22:10:24 +13:00 |
Joe Groff
|
26ff757de4
|
carve the tough, gamey steak of stack-checker.polymorphism into chewable morsels
|
2010-03-11 00:53:40 -08:00 |
Slava Pestov
|
3189c8d7a1
|
furnace.recaptcha: remove unused variable
|
2010-03-11 21:13:22 +13:00 |
Slava Pestov
|
fd767b7d31
|
furnace.recaptcha: make it easier to use
|
2010-03-11 21:02:39 +13:00 |
Slava Pestov
|
1f593f6bbc
|
furnace.recaptcha: cleanups
|
2010-03-11 19:13:57 +13:00 |
Joe Groff
|
f24a74f66c
|
Merge branch 'master' into row-polymorphism
|
2010-03-10 11:48:41 -08:00 |
Joe Groff
|
18f3df9d4a
|
more help-lint
|
2010-03-09 21:02:43 -08:00 |
Joe Groff
|
b9004a4fff
|
fix up sequences help-lint
|
2010-03-09 20:29:44 -08:00 |
Joe Groff
|
4367b15c4a
|
update help-lint to complain when $quotation effect doesn't match declared effect on corresponding input parameter of stack effect
|
2010-03-09 19:51:04 -08:00 |
Joe Groff
|
b9bced9a5e
|
update docs for unbalanced-branches-error
|
2010-03-09 18:42:10 -08:00 |
Slava Pestov
|
7744559a46
|
compiler.tree.propagation: clean up
|
2010-03-10 15:15:49 +13:00 |
Slava Pestov
|
1bf7db20ed
|
Merge branch 'length' of git://github.com/littledan/Factor
|
2010-03-10 14:30:23 +13:00 |
Joe Groff
|
34b29af245
|
non-polymorphic input parameter check was too strict: wouldn't allow ( x -- ) for ( x x -- x ), for example
|
2010-03-09 15:57:00 -08:00 |
Daniel Ehrenberg
|
8e227bc874
|
Propagation tracks length just like any other read-only slot
|
2010-03-09 15:58:44 -05:00 |
Joe Groff
|
84aa47610f
|
mop up errors from test-all
|
2010-03-09 10:22:14 -08:00 |
Joe Groff
|
e7968ceffc
|
mop up compiler errors from macosx load-all
|
2010-03-09 00:56:07 -08:00 |
Joe Groff
|
bcbc7632c6
|
fix stack effects in compiler tests
|
2010-03-08 23:46:20 -08:00 |
Joe Groff
|
191ac353fd
|
generalize stack effects so we can bootstrap with the stricter stack effect checking
|
2010-03-08 23:38:10 -08:00 |
Joe Groff
|
3abf1f1ef7
|
stack-checker.row-polymorphism: modify check-variables to enforce non-polymorphic stack effects
|
2010-03-08 19:44:01 -08:00 |
Joe Groff
|
21aa4632c8
|
refactor stack-checker.row-polymorphism a little
|
2010-03-08 19:32:25 -08:00 |
Joe Groff
|
0f8d77952b
|
Merge branch 'master' of git://factorcode.org/git/factor into row-polymorphism
|
2010-03-08 18:14:29 -08:00 |
Joe Groff
|
5597ee691f
|
add documentation about stack effect variable syntax and the effect on the stack checker
|
2010-03-08 17:17:47 -08:00 |
Joe Groff
|
8159a19187
|
combine unbalanced-branches-error and invalid-quotation-input into one error
|
2010-03-07 22:23:24 -08:00 |
Joe Groff
|
9e6f84bc24
|
declare effect on inputs to infer-if in non-literal case, so we get a better error than "unbalanced drop call/nip call"
|
2010-03-07 21:37:24 -08:00 |
Joe Groff
|
6689113519
|
unify inner-d-index when unifying branches; close a few other leaks where meta-d could have been popped without updating inner-d-index
|
2010-03-07 20:44:50 -08:00 |
Joe Groff
|
66687d6b21
|
reuse @ and _ from fry in placeholders for invalid-quotation-input errors rather than making our own redundant placeholder symbols
|
2010-03-07 20:08:35 -08:00 |
Joe Groff
|
f353b13bbc
|
add unit test from quotation that fails to infer during bootstrap.compiler
|
2010-03-07 20:07:30 -08:00 |
Joe Groff
|
4cd6ad840d
|
add tests from old row-polymorphism implementation to stack-checker unit tests
|
2010-03-07 19:13:41 -08:00 |
Joe Groff
|
1512ed12f3
|
further improve error message for invalid quotation inputs using a table display with the actual quotation effects determined so far
|
2010-03-07 18:40:58 -08:00 |
Joe Groff
|
ea4545e366
|
improve error message for invalid quotation inputs by referencing each declared-effect to its other references
|
2010-03-07 18:27:55 -08:00 |
Joe Groff
|
011a39457e
|
clear away some rebar
|
2010-03-07 18:11:44 -08:00 |
Joe Groff
|
6b9a79159d
|
tweak declared-effect to wrap the existing known instead of introducing a new value, so we don't confuse the compiler
|
2010-03-07 18:07:42 -08:00 |
Joe Groff
|
b14d59030f
|
add stack variable unification to M\ declared-effect infer-call*
|
2010-03-07 17:51:41 -08:00 |
Joe Groff
|
bbbda64ee7
|
add a with-effect-here combinator that determines the effect of a scoped subset of the stack checker
|
2010-03-07 16:54:25 -08:00 |
Joe Groff
|
63ad397cc1
|
tweak recursive call site checking to consider declared-effects equivalent to their wrapped values
|
2010-03-07 11:55:47 -08:00 |
Joe Groff
|
339cc8f04e
|
row polymorphism new approach: wrap polymorphic quotation inputs in a "declared-effect" value. M\ declared-effect infer-call* will then assert the effect of declared-effect values during the normal course of stack inference
|
2010-03-07 11:54:57 -08:00 |
Joe Groff
|
68dd644233
|
add unit test to show that polymorphic check breaks inference of inline recursive words
|
2010-03-06 12:28:09 -08:00 |
Joe Groff
|
9571bf6d4b
|
give terminating stack effects a pass in the polymorphic checker
|
2010-03-05 21:51:38 -08:00 |
Joe Groff
|
15e6a7fa5e
|
move error summaries for effect parsing errors to debugger vocab
|
2010-03-05 21:50:40 -08:00 |
Joe Groff
|
26e4bb818a
|
reuse infer-call* for polymorphic inference, which handles curried quotations. tests can pass with real "each" etc. now
|
2010-03-05 15:20:55 -08:00 |
Joe Groff
|
c9162c5e31
|
fix stack error in stack-checker.row-polymorphism
|
2010-03-05 14:34:50 -08:00 |
Joe Groff
|
af57d4dfa9
|
fix ... in compiler.cfg.linearization
|
2010-03-05 14:27:58 -08:00 |
Joe Groff
|
4892bf1d47
|
refactor stack-checker slightly to fix circular dependency
|
2010-03-05 14:27:36 -08:00 |
Joe Groff
|
ff2a53e1b8
|
clean up now-inappropriate uses of "..." in generalizations stack effects
|
2010-03-05 13:58:00 -08:00 |
Joe Groff
|
a3033e885a
|
make effect variables part of effect syntax, stored out of band in effect tuple
|
2010-03-05 13:30:10 -08:00 |
Joe Groff
|
1b1ccb71a4
|
make tests pass
|
2010-03-04 22:43:01 -08:00 |
Joe Groff
|
053ba583fc
|
improve error reporting
|
2010-03-04 21:51:49 -08:00 |
Joe Groff
|
31640ea9c6
|
nested scopes were messing up stack checker state
|
2010-03-04 20:15:26 -08:00 |
Joe Groff
|
23de281186
|
initial implementation of row-polymorphism check
|
2010-03-04 19:30:08 -08:00 |
Erik Charlebois
|
7d9c73c406
|
Merge branch 'master' of git://github.com/slavapestov/factor
|
2010-03-03 00:04:17 -08:00 |
Erik Charlebois
|
a0ac5a16c3
|
Update tags.txt files for Windows DDK
|
2010-03-03 00:03:44 -08:00 |
Daniel Ehrenberg
|
e3481a7ed7
|
compiler.cfg.def-use uses sets
|
2010-03-02 19:23:34 -05:00 |
Daniel Ehrenberg
|
766896f01c
|
Fixing bug in see caused by incorrect import
|
2010-03-02 19:11:35 -05:00 |
Joe Groff
|
444fa7668c
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2010-03-02 15:25:06 -08:00 |
Joe Groff
|
2e4ebc0182
|
needlessly rice game.input backends further by using set/get-global everywhere
|
2010-03-02 15:24:47 -08:00 |
Daniel Ehrenberg
|
3ad5ca4636
|
Regexps use new sets rather than assocs for final states
|
2010-03-02 18:05:37 -05:00 |
Daniel Ehrenberg
|
7364608417
|
Merge branch 'master' of git://factorcode.org/git/factor into bags
|
2010-03-02 17:04:45 -05:00 |
Doug Coleman
|
b059ade5ed
|
Use TYPED: in a few places in calendar.format to avoid passing durations instead of timestamps
|
2010-03-02 04:31:17 -06:00 |
Doug Coleman
|
55c606f274
|
Remove year/month/day words because they're dumb and confusing
|
2010-03-02 04:20:40 -06:00 |
Joe Groff
|
4159cfcc7b
|
game.input.*: factor out callback implementations to separate words so they optimize
|
2010-03-01 23:29:26 -08:00 |
Doug Coleman
|
55e772c528
|
Remove the http-data word
|
2010-03-01 22:32:15 -06:00 |
Joe Groff
|
6d81d1eaaa
|
windows.directx.d3d9: a method was missing argument names
|
2010-02-28 23:11:43 -08:00 |
Joe Groff
|
9bf5c76771
|
lexer: add "each-token" and "map-tokens", which are equivalent to "parse-token _ each/map" but incremental. update a smattering of parsing words (such as USING:, SYMBOLS:, etc.) to use each-token/map-tokens
|
2010-02-28 22:19:43 -08:00 |
Joe Groff
|
702c4df0da
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2010-02-28 20:25:26 -08:00 |
Daniel Ehrenberg
|
1e5f202998
|
Maing vocabs.hierarchy use sets; modifying alias analysis's use of sets
|
2010-02-28 22:55:22 -05:00 |
Daniel Ehrenberg
|
1217dc9c6e
|
Making alias analysis use sets
|
2010-02-28 22:42:10 -05:00 |
Joe Groff
|
bde65fe2d0
|
windows.com: update COM-INTERFACE: to parse incrementally
|
2010-02-28 19:30:15 -08:00 |
Joe Groff
|
cd17a934ac
|
cut commas off of FUNCTION: parameter names in stack effects again
|
2010-02-28 19:29:53 -08:00 |
Joe Groff
|
9412fe8297
|
update GL-FUNCTION: to use new FUNCTION: factors
|
2010-02-28 16:40:34 -08:00 |
Joe Groff
|
078ca0fa58
|
alien.parser: refactor FUNCTION: parsing to read from the source incrementally. parse errors in FUNCTION: should now correspond to their location within the definition
|
2010-02-28 16:20:45 -08:00 |
Slava Pestov
|
e3ddafbdec
|
core-foundation.run-loop: clean up and speed up some code to fix starvation issue exposed by game.loop (reported by Joe Groff)
|
2010-03-01 12:22:18 +13:00 |
Daniel Ehrenberg
|
da57436180
|
Finishing eliminating prune as a synonym of members
|
2010-02-27 14:52:24 -05:00 |
Doug Coleman
|
004608e1f4
|
fix docs for csv
|
2010-02-27 13:04:42 -06:00 |
Daniel Ehrenberg
|
434605c0b5
|
Changing some uses of prune to use members
|
2010-02-27 13:14:03 -05:00 |
Doug Coleman
|
cc892700c8
|
add missing using
|
2010-02-27 08:25:25 -06:00 |
Doug Coleman
|
bad7e4b68e
|
Add a slot for worlds to know if they are fullscreened, and another for restoring the window position after returning from fullscreen mode
|
2010-02-27 07:58:42 -06:00 |
Doug Coleman
|
93efc83938
|
more user32 bindings
|
2010-02-27 07:58:41 -06:00 |
Doug Coleman
|
5eff2e0e9a
|
Add csv>string and string>csv
|
2010-02-27 07:58:38 -06:00 |
Doug Coleman
|
18c0935b64
|
Docs for http-data
|
2010-02-27 07:58:37 -06:00 |
Doug Coleman
|
9bf7f56283
|
Add a new word http-data that is just http-get nip
|
2010-02-27 07:58:35 -06:00 |
Daniel Ehrenberg
|
7ad324837b
|
Updated documentation for sets
|
2010-02-27 00:27:40 -05:00 |
Joe Groff
|
09517a87e3
|
rename game.input.linux to game.input.x11, make x>hid-bit-order a hook on system
|
2010-02-26 18:30:51 -08:00 |
Joe Groff
|
3d479927d7
|
move XQueryKeymap binding to x11.xlib
|
2010-02-26 18:21:37 -08:00 |
Joe Groff
|
013760a906
|
co-credit William Schlieper for game.input.linux
|
2010-02-26 18:16:16 -08:00 |
Joe Groff
|
061a3bccf2
|
Merge branch 'master' of git://github.com/william42/factor
|
2010-02-26 18:14:10 -08:00 |
Daniel Ehrenberg
|
7cd3360cdd
|
Fixing ambiguity between sets and namespaces in many unit tests and furnace.auth
|
2010-02-26 17:17:40 -05:00 |
Daniel Ehrenberg
|
6298203b4c
|
Making all of basis and extra unambiguous for sets/namespaces
|
2010-02-26 16:28:38 -05:00 |
Joe Groff
|
dfd99199a3
|
grouping: circular-slice shouldn't be a subclass of slice since that thwarts method inlining
|
2010-02-26 13:20:47 -08:00 |
Daniel Ehrenberg
|
7074979745
|
Moving new-sets to sets
|
2010-02-26 16:01:01 -05:00 |
Daniel Ehrenberg
|
a72e2cc96c
|
Finishing converting compiler.cfg.ssa.construction.tdmsc to new-sets
|
2010-02-26 13:53:20 -05:00 |
Daniel Ehrenberg
|
73a990a4b8
|
Making it fast to create a new hashset
|
2010-02-26 13:24:26 -05:00 |
Daniel Ehrenberg
|
b76c82048d
|
Making propagation and tuple.parser refer to new-sets; adding some missing features from sets into new-sets
|
2010-02-26 12:07:37 -05:00 |
Daniel Ehrenberg
|
e43312d780
|
Moving new-sets and hash-sets to core
|
2010-02-26 11:01:57 -05:00 |
Daniel Ehrenberg
|
a3c168cb5e
|
Merge branch 'master' of git://factorcode.org/git/factor into bags
|
2010-02-26 10:00:57 -05:00 |
Erik Charlebois
|
dd334ffe27
|
Merge branch 'master' of git://github.com/slavapestov/factor
|
2010-02-25 18:51:00 -08:00 |
Erik Charlebois
|
889fb74b8f
|
Fix windows.directx compile errors
|
2010-02-25 18:50:05 -08:00 |
Joe Groff
|
d898ee86b6
|
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 } }
|
2010-02-25 17:05:03 -08:00 |
Erik Charlebois
|
cebabdc323
|
Add perp and angle-between words for vectors. Fix bug in cross product and add unit tests.
|
2010-02-25 16:46:02 -08:00 |
Joe Groff
|
4358edcae7
|
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
|
2010-02-25 16:39:30 -08:00 |
Joe Groff
|
01b7113618
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2010-02-25 12:55:40 -08:00 |
Joe Groff
|
6655002629
|
remove repeated "pad" slots from x11.xlib structs
|
2010-02-25 12:55:31 -08:00 |
Doug Coleman
|
31b77781ae
|
Add more user32 bindings
|
2010-02-25 14:36:44 -06:00 |
Joe Groff
|
14e672a77d
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2010-02-25 11:52:42 -08:00 |
Joe Groff
|
f2999ce778
|
classes.struct: raise an error in STRUCT: if there are duplicate slot names
|
2010-02-25 11:52:21 -08:00 |
Slava Pestov
|
2ee4db39af
|
syndication: get it working with doublec's wacky atom feed
|
2010-02-25 21:39:14 +13:00 |
Slava Pestov
|
7826543d2e
|
sequences: add cartesian-each, cartesian-map, cartesian-product words to eliminate some duplication throughout the codebase
|
2010-02-25 20:54:57 +13:00 |
Daniel Ehrenberg
|
22edb2ea0d
|
Adding combine word to new-sets
|
2010-02-24 13:34:24 -06:00 |
Slava Pestov
|
17b095a524
|
Slices over specialized arrays can now be passed to C functions, written to binary output streams, and given to malloc-byte-array
|
2010-02-25 04:50:31 +13:00 |
Doug Coleman
|
ebd2cce1be
|
Add some commented out unit tests to io.ports.tests that seem like they should be supported
|
2010-02-24 03:33:16 -06:00 |
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 |