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
Slava Pestov
7507196a98
mason.release.tidy: one last fix for tests
2011-09-14 20:00:15 -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
4d30021d77
mason.release.tidy: add unit tests and ensure it works
2011-09-13 23:39:16 -07:00
Slava Pestov
bbe369ebfa
Fix undefined-symbol reporting on 32-bit architectures; the return address is exactly at the relocation point in this case
2011-09-13 20:43:07 -07:00
Slava Pestov
736cebe729
Fix linkage-errors tests for recent changes
2011-09-13 20:42:36 -07:00
Slava Pestov
0ed9112f75
mason.release.tidy: logic for blowing away Factor.app on non-Mac platforms was wrong; fixes #125
2011-09-13 20:22:24 -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
Doug Coleman
900afdd6a8
Make parser in mason.test noisy so we get real output.
...
Fixes #126 .
2011-09-13 19:52:32 -05: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
a5788c4205
alien.strings: handle symbol arrays in symbol>string
2011-09-13 15:10:48 -07:00
Doug Coleman
7e6d031cc8
Fix string docs.
2011-09-13 15:45:56 -05:00
Doug Coleman
f41fcc937e
Forgot QUALIFIED: math in images.png.
2011-09-13 15:45:47 -05: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
Doug Coleman
cb1ed13a37
Generate reference .figs for all of pngsuite
...
Make directory for bad pngs from libpng
2011-09-13 12:11:04 -05:00
Doug Coleman
5ea02f4798
PNG library should reverse filter on entire bytes
...
Add word to test that some pngs fail to load
2011-09-13 12:10:18 -05: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
Slava Pestov
10845ebfb9
callstack.cpp: fix fat-fingered typo from undefined-symbol change
2011-09-12 23:15:09 -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
c489f7a9f5
webapps.wiki: mark edit links and old revision links with rel="nofollow". Fixes #38
2011-09-11 23:49:13 -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
John Benediktsson
6bf9b971f2
factor.vim: fix highlighting of negative ratios.
2011-09-10 21:08:37 -07:00
Slava Pestov
396ef06355
mason: more useful logging to console, with timestamps
2011-09-09 20:21:05 -07:00
Slava Pestov
f1c2707b5f
Some mason improvements:
...
- Rename config variables to be more intuitive, split up upload-to-factorcode? into several variables
- Add target-variant variable. This allows running multiple masons on the same architecture but with different parameters, for example bootstrapping with SSE disabled, or simply for testing on a different OS release.
- Added a boot-flags variable for use with the above
2011-09-09 19:54:47 -07:00
Slava Pestov
2f6b98a141
mason tests didn't pass if the machine wasn't configured for running mason
2011-09-09 19:14:55 -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
104583f888
Remove inotify system call wrappers. Hopefully everyone is using a recent glibc now. Fixes #86
2011-09-08 22:03:56 -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