Slava Pestov
08b6ebc7fa
Factor source files should not be executable
2009-11-21 17:50:43 -06:00
Doug Coleman
3323072613
Merge branch 'master' into startup
...
Conflicts:
core/bootstrap/primitives.factor
vm/run.hpp
2009-11-15 02:52:50 -06:00
Doug Coleman
b1e83cdb33
update more 8bit encoding usages
2009-11-12 18:36:47 -06:00
Doug Coleman
995952389b
use surround/glue instead of 3append
2009-11-12 03:01:09 -06:00
Slava Pestov
3b75114015
Fixing test failures
2009-11-11 02:40:24 -06:00
Slava Pestov
0aa3f19f68
io.pathnames: document resource: and vocab:
2009-11-10 18:57:46 -06:00
Doug Coleman
9ff38fb56c
(normalize-path) -> absolute-path, canonicalize-path -> resolve-symlinks
2009-10-28 17:25:50 -05:00
Doug Coleman
b5fd809209
memq? -> member-eq?, sorted-memq? -> sorted-member-eq?
2009-10-28 15:02:00 -05:00
Doug Coleman
82992f6dd4
reverse-here -> reverse!
2009-10-28 14:40:15 -05:00
Joe Groff
01c0b93c97
swap around io combinators to avoid a bunch of redundant "input-stream get"s in each-line, each-block, contents, etc.
2009-10-23 00:07:19 -05:00
Doug Coleman
aabaccff5e
fix a bunch of typos in docs
2009-10-21 17:40:43 -05:00
Doug Coleman
6fa23d7ea4
change add-init-hook to add-startup-hook, new add-shutdown-hook word
2009-10-19 22:17:02 -04:00
Slava Pestov
ada80d7100
io.backend/pathnames: fix help lint
2009-10-17 00:09:57 -05:00
Doug Coleman
56915d5f0b
make words public again
2009-10-16 16:59:25 -05:00
Doug Coleman
44637f6fae
improve io.pathnames docs
2009-10-16 05:48:37 -05:00
Doug Coleman
2d6d9dd46c
update docs for stream-tell
2009-10-03 19:39:06 -05:00
Doug Coleman
60145e983e
add unit test for c stream-tell
2009-10-03 19:07:16 -05:00
Doug Coleman
9a777b0969
support limited-streams correctly for seekable streams
2009-10-03 18:27:09 -05:00
Keith Lazuka
8f79ea91ba
docs: change $subsection to $subsections
2009-10-02 12:15:48 -04:00
Slava Pestov
f6779f2971
destructors: already-unregistered error had the wrong content, also don't throw an error when disposing a disposable twice
2009-08-24 20:27:22 -05:00
Slava Pestov
50641a5059
Disposables are now registered in a global disposables set. To take advantage of this, subclass disposable instead of providing a disposed slot and call new-disposable instead of new. tools.disposables defines two words, 'disposable.' and 'leaks', to help track down resource lifetime problems
2009-08-24 02:26:13 -05:00
Slava Pestov
bee6fa641e
Add inline declarations for various assorted methods
2009-08-17 22:32:21 -05:00
Slava Pestov
a742145fd9
compiler.tree.modular-arithmetic: >fixnum elimination and value info annotations were too aggressive
2009-08-17 01:20:25 -05:00
Doug Coleman
d1ce837569
Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring
2009-08-13 19:21:44 -05:00
Doug Coleman
1797f389f8
add if-zero/when-zero/unless-zero to core/ and update usages
2009-08-11 17:59:40 -05:00
Brad Christensen
4b3ab95660
A number of documentation fixes.
...
* Short-circuit combinators now show correct stack effect for quots
* Groups and Clumps unchecked examples corrected, made runnable in listener
* Class operations had duplicate link to class-types
* Protocol slots readability fixed
* Tuple word property for "tuple-layout" corrected to "layout"
* cond>quot sentence started in lowercase
* Method precedence code example missing stack effect for GENERIC:, M: integer explain changed to detail an integer
* Motivation for default streams readability
* Default input and output streams duplicate readln link removed from output stream words section
* Looping combinators do description clarified
* Make philosophy missing space
* Linear order protocol duplicate after? link removed
* Parsing words readability fix
* Copied note regarding with-compilation-unit from define to define-declared and define-inline
2009-08-10 23:34:25 -07:00
Doug Coleman
049f95f1f0
use itoa in more places
2009-08-02 18:18:31 -05:00
Joe Groff
746d749ae6
add file-stem word to io.pathnames as the counterpart to file-extension. write docs for both
2009-07-30 20:58:32 -05:00
Doug Coleman
3de64c4053
move signed-le> to io.binary, clean up using list for math.bitwise
2009-07-23 15:54:57 -05:00
Slava Pestov
2d71c8d993
io.encodings.utf16: cleanup
2009-05-28 02:50:57 -05:00
Slava Pestov
3ebd4594e8
Implement stricter vocab search path semantics, with a new API for vocabs.parser. Add map-find-last to sequences vocab
2009-05-14 22:31:29 -05:00
Slava Pestov
f2ab6a261a
Clean up init-stdio implementations and move io.streams.null to basis
2009-05-12 03:35:48 -05:00
Slava Pestov
cd64833360
clean up contents and lines words; contents never outputs f now
2009-05-10 16:39:51 -05:00
Doug Coleman
506f105c52
link seeking docs to the seek descriptors
2009-05-07 13:01:42 -05:00
Slava Pestov
dbd4b8ddb8
Fix test failures
2009-05-04 13:10:56 -05:00
Slava Pestov
d991690a47
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-04 05:16:47 -05:00
Slava Pestov
4d438a3edd
Remove cruddy string encoding/decoding code from VM
2009-05-02 13:45:38 -05:00
Doug Coleman
4057332535
add a few usages of iota, remove most 1+ and 1- from core
2009-05-01 19:58:24 -05:00
Doug Coleman
ed5f913aab
fix unit tests that call lines or contents
2009-05-01 16:38:04 -05:00
Doug Coleman
c8437caaa4
fix spacing in io docs
2009-05-01 15:56:16 -05:00
Doug Coleman
4cef8ff880
rename lines to stream-lines
...
rename cnotents to stream-contents
2009-05-01 10:41:27 -05:00
Slava Pestov
23b5888da6
Fix some test failures and add an unportable tag
2009-04-30 22:56:15 -05:00
Slava Pestov
c2fe2a4fea
Improve stack checker documentation
2009-04-23 03:48:32 -05:00
Slava Pestov
05f3f9dcb9
Fixing unit tests for stack effect inference changes
2009-04-20 21:15:19 -05:00
Slava Pestov
0d0c7f2d55
Fix unit test failures caused by stricter type checking in M: encoder stream-write
2009-04-20 20:05:17 -05:00
Slava Pestov
0f26d02d41
Passing the wrong type of sequence to M\ encoder write now throws an error
2009-04-20 03:26:56 -05:00
Slava Pestov
fb246e2c85
Documentation fixes
2009-04-06 04:15:58 -05:00
Slava Pestov
9907bd9fe2
Add fseek primitive so that c-streams can seek. This lets the UI work without native IO
2009-04-03 10:16:25 -05:00
Slava Pestov
f97389503f
Fix stream-read-until on byte-readers
2009-03-27 19:26:16 -05:00
Slava Pestov
723bfab030
Fixing unit tests for syntax change
2009-03-23 00:34:02 -05:00