Joe Groff
e293966618
stack-checker.row-polymorphism: check stack effects correctly when a one-sided polymorphic declared effect is matched to a shallow subtype, for example, ( x -- ..a ) to ( -- ); fixes #88
2011-09-09 18:13:17 -07:00
Joe Groff
8f6c6e5691
random: rewrite normal-random-float to be more readable
2011-09-09 18:13:17 -07:00
Doug Coleman
40ac81d656
Fix a using in system-info.linux
2011-09-09 01:48:26 -07:00
Slava Pestov
8d4891a5af
core-graphics: set premultiplied-alpha? in make-bitmap-image. Fixes #73
2011-09-08 23:08:16 -07:00
Slava Pestov
d06f97eb99
system-info.linux: clean up and implement os-version
2011-09-08 21:59:03 -07:00
Joe Groff
c57c26b3be
math.statistics: add higher-order stack effect annotations to sequence>* words; factor out a "histogram-by" word from "histogram" that takes an additional binning quotation
2011-09-08 19:07:33 -07:00
Doug Coleman
7872d6fc66
Forgot a using in system-info.windows
2011-09-08 16:22:03 -07:00
Doug Coleman
937bdbb6ec
Add os-version hook to system-info which returns f on every platform except windows, where it returns { 5 1 } for xp and { 6 1 } for win7. Eventually do more here, like identify Snow Leopard, Lion, etc, but it's good enough to make ping tests pass.
...
Move system-info platform loader into system-info.backend
Add win7? and winxp? words to system-info, clean up ping-tests with new word
Merge system-info.backend into system-info. Will throw an exception when loading on *bsd now
2011-09-08 15:48:05 -07:00
Doug Coleman
ed416d210b
Windows bindings for security tokens
2011-09-08 15:47:57 -07:00
Doug Coleman
f4c66e8be7
parser.notes sets parser-quiet? to t in the global namespace. stage2.factor runs its code in the global namespace, so 1) make it more clear that we're setting the global parser-quiet? and 2) change it back before finishing bootstrap to match parser.notes top-level form
2011-09-07 13:41:18 -05:00
John Benediktsson
f8b4d2d2f9
bootstrap.image: use "parser-quiet? off" for consistency.
2011-09-07 10:50:54 -07:00
Doug Coleman
c441d2a629
Only test postgresql on win32
2011-09-07 00:35:26 -07:00
Doug Coleman
56e8ddb9cb
Fix windows unit test
2011-09-07 00:35:03 -07:00
Doug Coleman
dcbc7ef0a7
Fix shaker
2011-09-07 00:34:23 -07:00
Doug Coleman
5fce2d0f27
Make "quiet" true by default. Disable quiet mode for listener, bootstrap, and deploy tool.
...
Move "quiet" to parser-quiet? in parser.notes. Change a few places where quiet was handle wrong.
2011-09-06 17:58:12 -07:00
Doug Coleman
deb1ac9e1d
Change postgresql test database to prepend the cpu string so that running two builders on the Mac Pro build machine will not cause random failures due to interference.
2011-09-06 17:51:46 -07:00
Slava Pestov
ed9cf9e4fd
Move some primitives from memory and memory.private to tools.memory.private, add data-heap and code-heap words that wrap the struct for you
2011-09-05 16:47:29 -07:00
John Benediktsson
b13eb201bd
tools.crossref: adding stack effect.
2011-09-03 16:39:04 -07:00
Joe Groff
863262ece7
images.cocoa: set premultiplied-alpha? on loaded images
2011-09-03 11:30:27 -07:00
Joe Groff
d510723d8e
alien.c-types: fill out the higher-order stack effect of if-void
2011-09-03 11:10:08 -07:00
Doug Coleman
604dbf4df7
parse-here doesn't consume an extra line now, and it checks that once a line has started there are no extra characters
2011-09-03 12:17:30 -05:00
Slava Pestov
b3cbdb0426
images.cocoa: fix it to work on OS X 10.5 by drawing the image into a CGContext instead of getting image data directly
2011-09-02 18:59:58 -07:00
Slava Pestov
da6f65a3d3
ui.gadgets.tables: don't try to render multi-line strings, since all table rows must have the same height. Fixes #65
2011-09-01 22:41:12 -07:00
Slava Pestov
7c14b6d839
ui.backend.gtk: remove unused vocabs from USING: list
2011-09-01 22:31:45 -07:00
Slava Pestov
418ded51c1
xml.*: remove unnecessary dependencies on xml.writer
2011-09-01 22:31:45 -07:00
Slava Pestov
cf238b4c7d
images.*: remove usage of io.streams.limited
2011-09-01 22:31:45 -07:00
Slava Pestov
a8633d28c7
unix.*, io.directories.unix: remove unnecessary dependency on io.backend.unix
2011-09-01 22:31:45 -07:00
Slava Pestov
a87211ff29
tools.scaffold: remove unused ERROR:
2011-09-01 22:31:45 -07:00
Slava Pestov
65837e742d
command-line: move some stuff to command-line.startup so that deployed images don't pull in prettyprinter and debugger
2011-09-01 22:31:44 -07:00
Slava Pestov
e17c1483b2
command-line: fix typo in docs
2011-09-01 20:21:12 -07:00
Slava Pestov
101adf453f
ui.backend.gtk: remove unneeded vocabs from USING:, add platforms.txt
2011-09-01 20:15:23 -07:00
Slava Pestov
1a9122a265
Merge remote branch 'blei/master'
2011-08-30 21:12:35 -07:00
Anton Gorenko
b0175f9030
gobject-introspection: fix .gir's loading message ( fix #52 );
2011-08-30 22:42:18 +06:00
Anton Gorenko
d557085924
gdk.pixbuf: workaround for an incorrect return-value in .gir for gdk_pixbuf_get_pixels ( fixes #61 );
2011-08-30 22:12:42 +06:00
Philipp Brüschweiler
06e675d903
gobject-introspection: don't generate C-TYPEs for boxed types that already exist, fixes #60
2011-08-29 15:11:24 +02:00
Doug Coleman
3f0e1ce056
Add scaffold-factor-roots word to tools.scaffold
2011-08-29 01:03:41 -05:00
Slava Pestov
4045eeca20
cocoa.subclassing: sometimes, compiled Cocoa method bodies would not be updated when words were redefined. Fixes #66
2011-08-28 22:56:58 -07:00
Slava Pestov
f699714a16
cocoa: clean up tests
2011-08-28 22:20:39 -07:00
Slava Pestov
4aaab7af34
cocoa.plists: fix for recent change to cocoa binding: char* returns are now treated like void* and not like c-string
2011-08-28 22:19:50 -07:00
Slava Pestov
edddffdadd
compiler.cfg.dependence: Add ##allot to control dependency chain, so that we don't re-order an allocation and initialization with an alien call. The alien call might GC, exposing uninitialized memory to the GC. Fixes #53 , fixes #58 , fixes #20 .
2011-08-28 21:25:39 -07:00
Slava Pestov
34f71ea042
compiler.cfg.debugger: add random-scheduling word.
...
Run 'random-scheduling "compiler" test' to find bugs in compiler.cfg.dependencies.
2011-08-28 21:25:37 -07:00
Slava Pestov
3ed1910ab1
compiler.cfg.scheduling: remove old scheduling test code, adding a better way of testing scheduling
2011-08-28 21:25:35 -07:00
Slava Pestov
990c57a4a4
Fix models.delay example
2011-08-28 17:52:13 -07:00
Joe Groff
13d1a8b8c8
Merge remote-tracking branch 'github/merge-native-image-loader'
2011-08-28 13:37:11 -07:00
John Benediktsson
39b800907c
io.files.windows: add some tests cases for UNC paths. Fixes #44 .
2011-08-28 12:55:09 -07:00
John Benediktsson
3949c53343
Merge remote-tracking branch '8byte-jose/win32-unc-fix'
2011-08-28 11:46:43 -07:00
Joe Groff
6fc2c32c4a
gobject.ffi, glib.ffi: move GError over to gobject.ffi since that appears to be the gir that actually describes it
2011-08-27 20:58:42 -07:00
John Benediktsson
fdf7c91ebc
Merge remote-tracking branch 'factorcode/master'
2011-08-27 19:01:02 -07:00
John Benediktsson
1f830cfc2a
Merge remote-tracking branch 'erg/master'
2011-08-27 19:00:27 -07:00
Slava Pestov
11af1b0962
gdk.pixbuf.ffi, glib.ffi: fix load errors
2011-08-27 18:26:21 -07:00
Joe Groff
3d2f731aab
Merge branch 'master' of factorcode.org:/git/factor
2011-08-27 18:03:17 -07:00
Joe Groff
8e873c380c
glib.ffi: try merging gtk-image-loader again
2011-08-27 18:02:22 -07:00
John Benediktsson
dff5dc8efd
Merge remote-tracking branch 'factorcode/master'
2011-08-27 17:39:49 -07:00
John Benediktsson
2add84176e
core-text: rename "render-info" to "rendered-line". Fixes #47 .
2011-08-27 17:38:07 -07:00
John Benediktsson
dba4b65aac
core-text: lazy text render (inspired by klazuka).
2011-08-27 17:33:21 -07:00
Joe Groff
ba416afd61
images.tessel(l)ation: spelling
2011-08-27 17:30:45 -07:00
Joe Groff
57bcd3a039
images: move pure Factor image format implementations to extra/
2011-08-27 17:30:45 -07:00
John Benediktsson
cc68afddce
Merge remote-tracking branch 'factorcode/master'
2011-08-27 17:26:11 -07:00
Hugo Schmitt
f5e9ac71a4
Swapping call order of 'hook' and 'action' row actions
2011-08-27 17:25:45 -07:00
Slava Pestov
fd08f9ad8f
Fixes #33 - ui.gadgets.glass had a scoping issue, so text selection would stop working after opening a popup
2011-08-27 17:14:56 -07:00
Slava Pestov
1f4da36b4b
Fixes #32 - double clicks were not handled properly in ui.backend.gtk
2011-08-27 17:06:53 -07:00
Joe Groff
a67a59d5a1
Merge branch 'master' of factorcode.org:/git/factor
2011-08-27 17:04:43 -07:00
Slava Pestov
48dfa97f97
nibble-arrays: -1 <nibble-array> should throw an error
2011-08-27 16:44:59 -07:00
Slava Pestov
385a51b3ef
Fixes #35 - -1 <bit-array> should throw an error
2011-08-27 16:44:48 -07:00
Joe Groff
baeb8a45fe
images.gdiplus, windows.gdiplus, windows.streams: update for change to with-out-parameters
2011-08-27 15:53:07 -07:00
Doug Coleman
05de404801
Make coverage. use each-word, only put coverage on non-primitive/symbol words
2011-08-27 16:12:41 -05:00
Joe Groff
9040ee37e0
Merge remote-tracking branch 'Blei/gtk-image-loader'
...
Conflicts:
basis/alien/enums/enums-tests.factor
basis/alien/enums/enums.factor
basis/alien/parser/parser.factor
basis/gdk/pixbuf/ffi/ffi.factor
basis/glib/ffi/ffi.factor
basis/tools/deploy/shaker/shaker.factor
basis/ui/backend/gtk/gtk.factor
basis/windows/nt/nt.factor
2011-08-27 14:07:18 -07:00
Doug Coleman
2e7935d66e
Change the way %coverage works, make coverage word use map-words to hit private vocabs, make %coverage only work on vocabs.
2011-08-27 15:54:25 -05:00
Joe Groff
3616f93250
windows: merge library manifest from old windows.nt in Blei/gtk-image-loader
2011-08-27 13:52:20 -07:00
Joe Groff
a820c1091d
alien: merge enum improvements from Blei/gtk-image-loader
2011-08-27 13:48:30 -07:00
Doug Coleman
87e64b3a59
Document some words, move words around to be private
2011-08-27 12:52:01 -05:00
Doug Coleman
472fe7fa4b
Better name for combinator -- each-word, each-map to iterate over all words in vocab and its private vocab. Add count-callables and %coverage words.
2011-08-27 12:34:05 -05:00
Doug Coleman
571d619442
Use change-vocabulary-coverage word for toggle-coverage too to handle .private vocabs
2011-08-27 01:04:02 -05:00
Doug Coleman
c062c24ead
Add toggle-coverage word and make coverage-on/off work on .private vocabs too.
2011-08-27 00:56:02 -05:00
Doug Coleman
199435f11a
Fix the docs for tools.coverage
2011-08-27 00:14:56 -05:00
John Benediktsson
a429f67b87
Merge remote-tracking branch 'philip-searle/master'
2011-08-26 19:42:04 -07:00
John Benediktsson
f1e51fa4ef
Merge remote-tracking branch 'erg/master'
2011-08-26 18:53:58 -07:00
John Benediktsson
9f34c9c676
Spelling fixes to documentation.
2011-08-26 16:20:31 -07:00
Doug Coleman
8d4ba7e2b6
Clean up some duplication in annotate/deep-annotate
2011-08-26 17:11:50 -05:00
Doug Coleman
4d3ae36674
Add docs for tools.coverage
2011-08-26 15:39:27 -05:00
Doug Coleman
98b154c14e
Rename tools.code-coverage to tools.coverage, change some word names.
2011-08-26 14:32:41 -05:00
Doug Coleman
4d38a02316
Revert "Try to read instead of write from a TCP connection. This gives 'Connection refused' instead of 'Broken pipe', which is much more useful."
...
This reverts commit 088c367b77
.
2011-08-26 13:55:52 -05:00
Doug Coleman
cf6cc4b8f2
Add tools.code-coverage vocab to assist in writing unit tests
2011-08-26 13:37:40 -05:00
Doug Coleman
96209da661
Add a deep-annotate word that annotates each quotation in a word definition.
2011-08-26 11:47:37 -05:00
Doug Coleman
b7314a68d8
Try to read instead of write from a TCP connection. This gives 'Connection refused' instead of 'Broken pipe', which is much more useful.
2011-08-26 11:03:01 -05:00
Slava Pestov
32261681f8
unix.linux.epoll: epoll_event is a packed struct! Damn...
2011-08-25 21:37:52 -07:00
Slava Pestov
ce9b311b10
io.pipes: add unit test for Linux x86-64 epoll() problem
2011-08-25 21:37:26 -07:00
Slava Pestov
dfc7326413
io.thread: if the I/O thread throws an error, call out to the fep immediately instead of going through the normal thread error mechanism, which by that point won't work anyway
2011-08-25 21:36:57 -07:00
Slava Pestov
01eeabbcbd
Merge classes.struct.packed into classes.struct and remove duplication
2011-08-25 21:02:25 -07:00
Slava Pestov
69419dba26
cpu.ppc: add 'not loaded' tags so that load-all doesn't break an x86 image
2011-08-24 23:52:02 -07:00
Slava Pestov
dc2bae68e2
furnace.recaptcha: recaptcha was acquired by Google, update URL
2011-08-22 22:48:15 -07:00
Joe Groff
237d0733c6
command-line: enable "quiet" mode for -e or script modes before .factor-rc is loaded
2011-08-19 17:27:13 -07:00
Joe Groff
e829dcf125
Merge branch 'master' of factorcode.org:/git/factor
2011-08-19 14:21:28 -07:00
John Benediktsson
d7d1b6fea1
io.sockets: check ipv4 and ipv6 for valid address strings.
2011-08-19 14:19:09 -07:00
Joe Groff
cc6ec893c5
command-line: interpret "-help" or "--help" and print a brief usage message with the most common options
2011-08-18 19:10:51 -07:00
Joe Groff
d711824c10
command-line, parser, syntax: move the MAIN: invocation from run-file to run-script to minimize the potential impact on internal machinery that uses run-file
2011-08-17 21:29:02 -07:00
Joe Groff
e1390875ca
parser, source-files, syntax: have MAIN: store the main entry point in the source-file record in addition to the vocabulary. Have run-file execute the MAIN: word for a file if present after evaluating its contents.
2011-08-17 20:58:09 -07:00
Joe Groff
87653c20da
ui.tools.deploy: adjust wording of deploy-help? option ui
2011-08-04 15:49:33 -07:00
Joe Groff
5522015885
tools.deploy: add deploy-help? option to include documentation in deployed image
2011-08-04 14:27:29 -07:00
Joe Groff
efe79cf6d3
math.functions: make sure zero zero ^ is always nan, regardless of the type of zero
2011-08-01 10:26:53 -07:00
Joe Groff
44ba9e086e
opengl.gl.extensions: annoying hack to make gpu.* demos work in Lion. opengl 3 entry points such as glGenVertexArrays are available, but they only actually work in core profile contexts which factor doesn't support yet, so favor extension entry points such as glGenVertexArraysAPPLE instead of standard entry points
2011-07-29 14:15:59 -07:00
Joe Groff
c690378674
Merge branch 'master' of factorcode.org:/git/factor
2011-07-29 13:24:30 -07:00
Joe Groff
f6d90ce51f
game.input.iokit: deal with Lion's breakage of the IOHID* API
2011-07-29 13:24:10 -07:00
Erik Charlebois
bcc9739391
Merge branch 'master' of git://github.com/slavapestov/factor
2011-07-11 22:02:28 -04:00
otoburb
b56c2b9589
json.writer: Updated docs to mention the dynamic variable jsvar-encode?
2011-07-05 00:07:59 -04:00
otoburb
fb95a19352
json.writer: Currified jsvar-encode. Removed whitespace in tuple>fields json output. Added tests to json.writer-tests.
2011-07-04 23:14:51 -04:00
otoburb
210228b911
json.writer: Ability to turn jsvar-encode substitution on/off via jsvar-encode? dynamic variable. Added test cases.
2011-06-23 01:28:24 -04:00
Erik Charlebois
3acee3e55e
Run vim synchronously
...
If you run vim from the terminal asynchronously, vim and factor will conflict accessing stdin and stdout.
2011-06-23 01:18:35 -04:00
Joe Groff
40c45e08ca
Merge remote branch 'erikc/master'
2011-06-13 11:28:02 -07:00
Joe Groff
b6cf76b547
Merge branch 'master' of factorcode.org:/git/factor
2011-06-07 09:44:35 -07:00
Joe Groff
27f5f07dbc
peg.ebnf: add rule~ syntax to discard a matching subrule from the AST; document (grouping) and {grouping} syntax
2011-06-06 16:32:19 -07:00
Joe Groff
e4b1417dd2
math.functions: fix documentation for 10^
2011-06-06 16:27:56 -07:00
otoburb
76b5399d68
http.client-docs: Added documentation for HEAD, TRACE, OPTIONS and DELETE methods
2011-05-24 22:05:27 -04:00
otoburb
03267aa42c
Merge branch 'master' of http://factorcode.org/git/factor
2011-05-24 18:21:47 -04:00
Erik Charlebois
b9e18184c6
Convert side mouse buttons to backward/forward
2011-05-23 23:36:14 -04:00
Erik Charlebois
019224348b
Only do mouse selections for button 1
2011-05-23 23:36:14 -04:00
Erik Charlebois
b504c9af47
Modify the listener vocabulary so that readline can hook in. Add the readline-listener listener that provides word completion and readline editing.
2011-05-23 23:36:14 -04:00
Erik Charlebois
e28e48beea
Create a setter for C-GLOBAL words
2011-05-23 23:36:14 -04:00
Erik Charlebois
64252dbdbc
32 and 64 bit Linux PPC support
2011-05-23 23:36:14 -04:00
Erik Charlebois
662bc3b07b
Fix bugs in unix ffi usage
2011-05-23 23:36:14 -04:00
Erik Charlebois
91e94a8438
Fix GDB-based disassemble for GDB 7
2011-05-23 23:36:13 -04:00
Erik Charlebois
013209bd17
epoll working on linux
2011-05-23 23:36:13 -04:00
Erik Charlebois
305dcf1551
Use .factor-rc etc on Windows too, files can begin with dots just fine
2011-05-23 23:36:13 -04:00
Samuel Tardieu
23fe76160a
Add math.primes:nprimes
2011-05-20 12:38:27 +02:00
otoburb
b8b1c30062
http.client: Added OPTIONS, TRACE and HEAD HTTP methods
2011-05-12 01:32:00 +00:00
Slava Pestov
22dba34fc2
Merge branch 'doc-fixes' of git://github.com/mrjbq7/factor
2011-05-06 20:28:05 -07:00
Slava Pestov
d58555d6f5
Merge branch 'cleanup' of git://github.com/mrjbq7/factor
2011-05-06 20:27:59 -07:00
Slava Pestov
29d37737bc
Merge branch 'sorting' of git://github.com/mrjbq7/factor
2011-05-06 20:27:52 -07:00
John Benediktsson
68681ee8a3
Merge branch 'master' into highlight
2011-05-03 20:52:16 -07:00
John Benediktsson
ef98730827
Merge branch 'master' into sorting
2011-05-03 20:51:53 -07:00
John Benediktsson
1778757fa2
Update references to "1 tail" to use "rest".
2011-05-03 20:50:23 -07:00
John Benediktsson
013097e617
io.launcher: fix launcher examples.
2011-04-17 18:12:23 -07:00
Slava Pestov
d1666854e8
ui.backend.cocoa: simplify system-alert implementation now that callbacks bug has been fixed
2011-04-16 19:12:08 -07:00
Slava Pestov
cbbdd712fc
core-foundation.run-loop bug fix for Doug's bug fix
2011-04-16 19:11:43 -07:00
Doug Coleman
a744e3a370
Bugfix: Only reset-timer on mac if sleep-time returns an integer. If it returns f, don't divide by 1000 and error.
2011-04-15 00:11:15 -05:00
Slava Pestov
c36d73e242
Change do-callback to register the current thread with the callback, instead of busy waiting for the current callback to become the right one before returning. Fixes 100% CPU usage issue with system-alert. Thanks to Blei and ex-rzr for doing preliminary analysis of the issue
2011-04-12 21:48:54 -04:00
John Benediktsson
eb6c986cd6
Merge branch 'master' into sorting
...
Conflicts:
basis/heaps/heaps-tests.factor
2011-04-12 18:09:36 -07:00
John Benediktsson
4d18029ae9
xmode.highlight: a syntax highlighting tool.
2011-04-12 18:05:13 -07:00
Doug Coleman
9b97f22b92
Make print-topic print a newline and adjust usages elsewhere. Reported by mrjbq7.
2011-04-10 14:18:35 -05:00
Doug Coleman
250d96d7b1
Clean up heaps implementation, test max-heaps.
2011-04-10 12:57:39 -05:00
Doug Coleman
7aa7b08d42
Change how sequence>assoc and friends work. Now they take two quotations, the first of which prepares the key/value pair and the second insert it into the assoc. mrjbq7's group-by, formerly collect-values, is now called collect-by.
2011-04-09 23:51:14 -05:00
John Benediktsson
d58bc08aa0
Update code that did ">alist sort-" to just "sort-".
2011-04-07 09:01:21 -07:00
Slava Pestov
3e2f74b834
Merge branch 'cleanup' of git://github.com/keitahaga/factor
2011-04-06 18:15:59 -04:00
Slava Pestov
7e1b7f70a5
ui.backend.gtk.io.unix: add platforms.txt so that we don't load it on Windows
2011-04-06 17:54:22 -04:00
Slava Pestov
2cbd31d34d
Merge commit 'otoburb/master' into merge-otoburb
...
Conflicts:
basis/ui/backend/gtk/gtk.factor
2011-04-06 17:54:00 -04:00
Slava Pestov
6b3ba0da22
Merge branch 'gtk-game-input' of git://github.com/Blei/factor
2011-04-06 17:27:31 -04:00
Slava Pestov
ee99a64b54
Merge branch 'master' of git://github.com/ex-rzr/factor
2011-04-06 17:26:41 -04:00
otoburb
5744764f07
gtk.factor: Changed init behaviour so if $DISPLAY is not set, runs tty listener, otherwise UI listener.
2011-04-06 00:02:15 +00:00
otoburb
b9c17fd329
Merge branch 'master' of git://github.com/slavapestov/factor
2011-04-04 13:04:00 +00:00
Slava Pestov
59a708638c
alien.c-types: add summary and docs for no-c-type error
2011-04-03 22:33:51 -07:00