John Benediktsson
91824e5697
ui.tools.profiler: fix link to help.
2011-09-17 08:14:13 -07:00
John Benediktsson
499778d808
compiler.tree.escape-analysis.allocations: simplify stack effect.
2011-09-17 08:14:13 -07:00
Joe Groff
88c5bb17f8
help.markup: add tests
2011-09-15 15:55:54 -07:00
Joe Groff
668a4557da
help.markup: change related-words to notify definition observers for the affected words and to update the relations of formerly-related words; fixes #28
2011-09-15 15:55:54 -07:00
Joe Groff
8e36e0221d
words: move change-word-prop from delegate.private to words
2011-09-15 15:55:54 -07:00
Joe Groff
24264e94f4
ui.tools.deploy: change "Deploy as Windows console application" to read "Deploy as console application on Windows"; makes it a bit clearer that the switch only affects Windows deployment
2011-09-15 15:05:17 -07:00
Joe Groff
9bd84e73f4
ui.backend: refactor the UI `main-vocab-hook` to use a backend-specific `ui-backend-available?` word, so that loading other backends doesn't change the `main-vocab-hook` out of sync with the backend; fixes #131
2011-09-15 13:14:01 -07:00
John Benediktsson
4726757d95
json.reader: cleanup and speed up when handling heavily escaped strings.
2011-09-15 07:59:17 -07:00
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