Commit Graph

9558 Commits (27e00711050336ca13a454df90ad036af692ff8b)

Author SHA1 Message Date
John Benediktsson 27e0071105 ui.tools.listener.history: only add a history entry if it does not match the most recent entry. 2011-09-15 07:57:51 -07:00
Joe Groff c14f087196 windows, windows.directx: move directx libraries out of windows vocab 2011-09-14 11:25:06 -07:00
Slava Pestov 6e6c42179a tools.errors: fix help lint 2011-09-13 23:40:48 -07:00
Slava Pestov 736cebe729 Fix linkage-errors tests for recent changes 2011-09-13 20:42:36 -07:00
Slava Pestov 2cf574945a tools.deploy.shaker: update for alien.libraries changes 2011-09-13 20:19:11 -07:00
Slava Pestov acde29b7c7 alien.libraries: add platforms.txt 2011-09-13 20:18:02 -07:00
Joe Groff d6668caf7d compiler.cfg.builder.alien: fix caller-linkage to return the DLL and not the library tuple again; fixes issue #121 2011-09-13 15:10:48 -07:00
Joe Groff 7f71ab3024 bootstrap.compiler: move GetLastError/FormatMessageW compilation before any other foreign words; add a similar shortlist for dlerror on unix as a safeguard 2011-09-13 13:33:07 -07:00
Joe Groff 1927cfeec1 bootstrap.compiler: add GetLastError and FormatMessageW to the compilation shortlist on Windows to avoid compilation order issues 2011-09-13 13:33:07 -07:00
Joe Groff 218cdcbe0b alien.libraries.unix: break circular dependency on alien.syntax 2011-09-13 09:49:53 -07:00
John Benediktsson 36da386816 tools.completion: undo private change, and add tests. 2011-09-13 09:22:57 -07:00
John Benediktsson 2cdff2746c Merge remote-tracking branch 'factorcode/master' 2011-09-13 09:14:07 -07:00
John Benediktsson 5e496e846b tools.completion: speed up apropos by 35%. Fixes #101. 2011-09-13 09:13:02 -07:00
Joe Groff 5703e8d7a1 alien.libraries, compiler.cfg.builder.alien: if `dlopen` fails during `<library>`, call `dlerror` and store the error message in the library object; put the dlerror message in the linkage-error when a word from the library is compiled 2011-09-12 23:25:59 -07:00
Joe Groff b6e0f0180b alien.libraries, compiler.cfg.builder.alien: include the result of dlerror/GetLastError in the linkage-error for missing symbols 2011-09-12 23:25:59 -07:00
John Benediktsson b653360299 math.primes.safe: fix docs. 2011-09-12 10:56:39 -07:00
Slava Pestov 7c3827190b Tease out symbol name and library in undefined_symbol() handler, for friendlier errors when calling an unresolved C function name. Fixes #93 2011-09-12 00:56:24 -07:00
Slava Pestov b3a051d385 ui.backend.gtk: don't enable gtk UI backend by default on Mac OS X. Fixes #40 2011-09-11 23:41:43 -07:00
Slava Pestov 7d99ff0900 Use debugger to print an error if startup hook fails; fixes #39 2011-09-11 23:38:26 -07:00
Joe Groff 9b23085c95 cocoa.runtime: remove bindings to obsolete objc runtime functions 2011-09-11 16:45:44 -07:00
Joe Groff 5ce32b35a7 command-line.startup: add note about -run=listener and -run=ui.tools to the --help text (as suggested by @yac in issue #94) 2011-09-11 10:12:09 -07:00
John Benediktsson a4b6adbb6d system-info.macosx: Using 'gestalt' to support 'os-version' on macosx. 2011-09-11 08:29:16 -07:00
Doug Coleman 1b20b0c476 Make sure 0 read always returns f. Fixes issue #70.
More unit tests, fix read-until to return f f sometimes
Rename ((read-until)) to read-until-loop. Fix the stack effect declarations of (read) and handle-readln.
2011-09-09 18:51:06 -07:00
Doug Coleman dd824bf0e5 Display articles in history better. Fixes issue #29.
Define a default method on article-name to call article-title.
2011-09-09 18:49:31 -07:00
Joe Groff 003271f2b8 math.statistics: declare polymorphic effects on sequence>* combinators now that #88 is fixed 2011-09-09 18:13:17 -07:00
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