]> gitweb.factorcode.org Git - factor.git/log
factor.git
12 years agoRemove Windows CE from core/ basis/ and build-support/
Doug Coleman [Mon, 19 Sep 2011 01:25:06 +0000 (20:25 -0500)]
Remove Windows CE from core/ basis/ and build-support/
Rename the winnt singleton to windows in core/ basis/ extra/
Rename boot images winnt -> windows
Fixes #84.

12 years agofuel.eval: some minor cleanup.
John Benediktsson [Mon, 19 Sep 2011 03:35:16 +0000 (20:35 -0700)]
fuel.eval: some minor cleanup.

12 years agofuel.eval: using a local fuel-eval-error symbol. Fixes #142.
John Benediktsson [Mon, 19 Sep 2011 03:19:49 +0000 (20:19 -0700)]
fuel.eval: using a local fuel-eval-error symbol.  Fixes #142.

12 years agonew vocab slots.macros: macro interface to slot accessors, as discussed in #134
Joe Groff [Mon, 19 Sep 2011 00:33:53 +0000 (17:33 -0700)]
new vocab slots.macros: macro interface to slot accessors, as discussed in #134

12 years agosee: show stack effects for ALIAS: definitions. Fixes #120.
John Benediktsson [Sun, 18 Sep 2011 23:59:14 +0000 (16:59 -0700)]
see: show stack effects for ALIAS: definitions.  Fixes #120.

12 years agoui.tools.listener.completion: when completing history, only show unique completions.
John Benediktsson [Sat, 17 Sep 2011 16:53:59 +0000 (09:53 -0700)]
ui.tools.listener.completion: when completing history, only show unique completions.

12 years agoui.tools.listener.completion: delay history-list to allow live searching.
John Benediktsson [Sat, 17 Sep 2011 16:06:10 +0000 (09:06 -0700)]
ui.tools.listener.completion: delay history-list to allow live searching.

12 years agoui.tools.listener.completion: allow substring search in history. Fixes #133.
John Benediktsson [Sat, 17 Sep 2011 16:04:36 +0000 (09:04 -0700)]
ui.tools.listener.completion: allow substring search in history. Fixes #133.

12 years agotools.completion: add test that empty completions preserve order.
John Benediktsson [Sat, 17 Sep 2011 16:00:43 +0000 (09:00 -0700)]
tools.completion: add test that empty completions preserve order.

12 years agosets: update docs for "combine".
John Benediktsson [Sat, 17 Sep 2011 15:11:48 +0000 (08:11 -0700)]
sets: update docs for "combine".

12 years agoui.tools.profiler: fix link to help.
John Benediktsson [Sat, 17 Sep 2011 14:12:53 +0000 (07:12 -0700)]
ui.tools.profiler: fix link to help.

12 years agolexer: more clear code.
John Benediktsson [Sat, 17 Sep 2011 04:54:17 +0000 (21:54 -0700)]
lexer: more clear code.

12 years agocompiler.tree.escape-analysis.allocations: simplify stack effect.
John Benediktsson [Sat, 17 Sep 2011 04:52:48 +0000 (21:52 -0700)]
compiler.tree.escape-analysis.allocations: simplify stack effect.

12 years agoassocs: adding tests for "assoc-stack".
John Benediktsson [Sat, 17 Sep 2011 04:52:14 +0000 (21:52 -0700)]
assocs: adding tests for "assoc-stack".

12 years agoGraphviz's gvc.dll doesn't export gvplugin_list() on Windows, so call gvPluginList...
Doug Coleman [Fri, 16 Sep 2011 06:23:52 +0000 (01:23 -0500)]
Graphviz's gvc.dll doesn't export gvplugin_list() on Windows, so call gvPluginList() instead. This bug has been reported to the Windows Graphviz maintainer, so we can potentially go back to calling gvplugin_list() someday.

12 years agohelp.markup: add tests
Joe Groff [Thu, 15 Sep 2011 22:52:31 +0000 (15:52 -0700)]
help.markup: add tests

12 years agohelp.markup: change related-words to notify definition observers for the affected...
Joe Groff [Thu, 15 Sep 2011 21:40:37 +0000 (14:40 -0700)]
help.markup: change related-words to notify definition observers for the affected words and to update the relations of formerly-related words; fixes #28

12 years agowords: move change-word-prop from delegate.private to words
Joe Groff [Thu, 15 Sep 2011 21:39:24 +0000 (14:39 -0700)]
words: move change-word-prop from delegate.private to words

12 years agoui.tools.deploy: change "Deploy as Windows console application" to read "Deploy as...
Joe Groff [Thu, 15 Sep 2011 22:05:17 +0000 (15:05 -0700)]
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

12 years agoui.backend: refactor the UI `main-vocab-hook` to use a backend-specific `ui-backend...
Joe Groff [Thu, 15 Sep 2011 18:27:16 +0000 (11:27 -0700)]
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

12 years agojson.reader: cleanup and speed up when handling heavily escaped strings.
John Benediktsson [Thu, 15 Sep 2011 14:59:17 +0000 (07:59 -0700)]
json.reader: cleanup and speed up when handling heavily escaped strings.

12 years agoui.tools.listener.history: only add a history entry if it does not match the most...
John Benediktsson [Thu, 15 Sep 2011 14:57:51 +0000 (07:57 -0700)]
ui.tools.listener.history: only add a history entry if it does not match the most recent entry.

12 years agomason.release.tidy: one last fix for tests
Slava Pestov [Thu, 15 Sep 2011 03:00:15 +0000 (20:00 -0700)]
mason.release.tidy: one last fix for tests

12 years agowindows, windows.directx: move directx libraries out of windows vocab
Joe Groff [Wed, 14 Sep 2011 18:24:50 +0000 (11:24 -0700)]
windows, windows.directx: move directx libraries out of windows vocab

12 years agotools.errors: fix help lint
Slava Pestov [Wed, 14 Sep 2011 06:40:48 +0000 (23:40 -0700)]
tools.errors: fix help lint

12 years agomason.release.tidy: add unit tests and ensure it works
Slava Pestov [Wed, 14 Sep 2011 06:39:16 +0000 (23:39 -0700)]
mason.release.tidy: add unit tests and ensure it works

12 years agoFix undefined-symbol reporting on 32-bit architectures; the return address is exactly...
Slava Pestov [Wed, 14 Sep 2011 03:43:07 +0000 (20:43 -0700)]
Fix undefined-symbol reporting on 32-bit architectures; the return address is exactly at the relocation point in this case

12 years agoFix linkage-errors tests for recent changes
Slava Pestov [Wed, 14 Sep 2011 03:42:36 +0000 (20:42 -0700)]
Fix linkage-errors tests for recent changes

12 years agomason.release.tidy: logic for blowing away Factor.app on non-Mac platforms was wrong...
Slava Pestov [Wed, 14 Sep 2011 03:22:20 +0000 (20:22 -0700)]
mason.release.tidy: logic for blowing away Factor.app on non-Mac platforms was wrong; fixes #125

12 years agotools.deploy.shaker: update for alien.libraries changes
Slava Pestov [Wed, 14 Sep 2011 03:19:11 +0000 (20:19 -0700)]
tools.deploy.shaker: update for alien.libraries changes

12 years agoalien.libraries: add platforms.txt
Slava Pestov [Wed, 14 Sep 2011 03:18:02 +0000 (20:18 -0700)]
alien.libraries: add platforms.txt

12 years agoMake parser in mason.test noisy so we get real output.
Doug Coleman [Wed, 14 Sep 2011 00:45:36 +0000 (19:45 -0500)]
Make parser in mason.test noisy so we get real output.
Fixes #126.

12 years agocompiler.cfg.builder.alien: fix caller-linkage to return the DLL and not the library...
Joe Groff [Tue, 13 Sep 2011 21:48:11 +0000 (14:48 -0700)]
compiler.cfg.builder.alien: fix caller-linkage to return the DLL and not the library tuple again; fixes issue #121

12 years agoalien.strings: handle symbol arrays in symbol>string
Joe Groff [Tue, 13 Sep 2011 21:46:22 +0000 (14:46 -0700)]
alien.strings: handle symbol arrays in symbol>string

12 years agoFix string docs.
Doug Coleman [Tue, 13 Sep 2011 20:42:59 +0000 (15:42 -0500)]
Fix string docs.

12 years agoForgot QUALIFIED: math in images.png.
Doug Coleman [Tue, 13 Sep 2011 20:40:36 +0000 (15:40 -0500)]
Forgot QUALIFIED: math in images.png.

12 years agobootstrap.compiler: move GetLastError/FormatMessageW compilation before any other...
Joe Groff [Tue, 13 Sep 2011 20:17:42 +0000 (13:17 -0700)]
bootstrap.compiler: move GetLastError/FormatMessageW compilation before any other foreign words; add a similar shortlist for dlerror on unix as a safeguard

12 years agobootstrap.compiler: add GetLastError and FormatMessageW to the compilation shortlist...
Joe Groff [Tue, 13 Sep 2011 18:58:30 +0000 (11:58 -0700)]
bootstrap.compiler: add GetLastError and FormatMessageW to the compilation shortlist on Windows to avoid compilation order issues

12 years agoGenerate reference .figs for all of pngsuite
Doug Coleman [Tue, 13 Sep 2011 15:07:35 +0000 (10:07 -0500)]
Generate reference .figs for all of pngsuite
Make directory for bad pngs from libpng

12 years agoPNG library should reverse filter on entire bytes
Doug Coleman [Tue, 13 Sep 2011 14:35:12 +0000 (09:35 -0500)]
PNG library should reverse filter on entire bytes
Add word to test that some pngs fail to load

12 years agoalien.libraries.unix: break circular dependency on alien.syntax
Joe Groff [Tue, 13 Sep 2011 16:49:36 +0000 (09:49 -0700)]
alien.libraries.unix: break circular dependency on alien.syntax

12 years agotools.completion: undo private change, and add tests.
John Benediktsson [Tue, 13 Sep 2011 16:22:57 +0000 (09:22 -0700)]
tools.completion: undo private change, and add tests.

12 years agoMerge remote-tracking branch 'factorcode/master'
John Benediktsson [Tue, 13 Sep 2011 16:14:07 +0000 (09:14 -0700)]
Merge remote-tracking branch 'factorcode/master'

12 years agotools.completion: speed up apropos by 35%. Fixes #101.
John Benediktsson [Tue, 13 Sep 2011 16:13:02 +0000 (09:13 -0700)]
tools.completion: speed up apropos by 35%.  Fixes #101.

12 years agoalien.libraries, compiler.cfg.builder.alien: if `dlopen` fails during `<library>...
Joe Groff [Tue, 13 Sep 2011 06:06:08 +0000 (23:06 -0700)]
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

12 years agoalien.libraries, compiler.cfg.builder.alien: include the result of dlerror/GetLastErr...
Joe Groff [Mon, 12 Sep 2011 19:27:34 +0000 (12:27 -0700)]
alien.libraries, compiler.cfg.builder.alien: include the result of dlerror/GetLastError in the linkage-error for missing symbols

12 years agocallstack.cpp: fix fat-fingered typo from undefined-symbol change
Slava Pestov [Tue, 13 Sep 2011 06:15:00 +0000 (23:15 -0700)]
callstack.cpp: fix fat-fingered typo from undefined-symbol change

12 years agomath.primes.safe: fix docs.
John Benediktsson [Mon, 12 Sep 2011 17:56:39 +0000 (10:56 -0700)]
math.primes.safe: fix docs.

12 years agoTease out symbol name and library in undefined_symbol() handler, for friendlier error...
Slava Pestov [Mon, 12 Sep 2011 07:56:24 +0000 (00:56 -0700)]
Tease out symbol name and library in undefined_symbol() handler, for friendlier errors when calling an unresolved C function name. Fixes #93

12 years agowebapps.wiki: mark edit links and old revision links with rel="nofollow". Fixes #38
Slava Pestov [Mon, 12 Sep 2011 06:49:13 +0000 (23:49 -0700)]
webapps.wiki: mark edit links and old revision links with rel="nofollow". Fixes #38

12 years agoui.backend.gtk: don't enable gtk UI backend by default on Mac OS X. Fixes #40
Slava Pestov [Mon, 12 Sep 2011 06:41:43 +0000 (23:41 -0700)]
ui.backend.gtk: don't enable gtk UI backend by default on Mac OS X. Fixes #40

12 years agoUse debugger to print an error if startup hook fails; fixes #39
Slava Pestov [Mon, 12 Sep 2011 06:37:00 +0000 (23:37 -0700)]
Use debugger to print an error if startup hook fails; fixes #39

12 years agococoa.runtime: remove bindings to obsolete objc runtime functions
Joe Groff [Sun, 11 Sep 2011 23:45:44 +0000 (16:45 -0700)]
cocoa.runtime: remove bindings to obsolete objc runtime functions

12 years agocommand-line.startup: add note about -run=listener and -run=ui.tools to the --help...
Joe Groff [Sun, 11 Sep 2011 17:11:51 +0000 (10:11 -0700)]
command-line.startup: add note about -run=listener and -run=ui.tools to the --help text (as suggested by @yac in issue #94)

12 years agosystem-info.macosx: Using 'gestalt' to support 'os-version' on macosx.
John Benediktsson [Sun, 11 Sep 2011 15:29:16 +0000 (08:29 -0700)]
system-info.macosx: Using 'gestalt' to support 'os-version' on macosx.

12 years agofactor.vim: fix highlighting of negative ratios.
John Benediktsson [Sun, 11 Sep 2011 04:08:37 +0000 (21:08 -0700)]
factor.vim: fix highlighting of negative ratios.

12 years agomason: more useful logging to console, with timestamps
Slava Pestov [Sat, 10 Sep 2011 02:33:13 +0000 (19:33 -0700)]
mason: more useful logging to console, with timestamps

12 years agoSome mason improvements:
Slava Pestov [Sat, 10 Sep 2011 02:13:06 +0000 (19:13 -0700)]
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

12 years agomason tests didn't pass if the machine wasn't configured for running mason
Slava Pestov [Sat, 10 Sep 2011 01:17:53 +0000 (18:17 -0700)]
mason tests didn't pass if the machine wasn't configured for running mason

12 years agoMake sure 0 read always returns f. Fixes issue #70.
Doug Coleman [Fri, 9 Sep 2011 00:24:05 +0000 (17:24 -0700)]
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.

12 years agoDisplay articles in history better. Fixes issue #29.
Doug Coleman [Fri, 9 Sep 2011 01:18:47 +0000 (18:18 -0700)]
Display articles in history better. Fixes issue #29.
Define a default method on article-name to call article-title.

12 years agomath.statistics: declare polymorphic effects on sequence>* combinators now that ...
Joe Groff [Sat, 10 Sep 2011 01:12:59 +0000 (18:12 -0700)]
math.statistics: declare polymorphic effects on sequence>* combinators now that #88 is fixed

12 years agostack-checker.row-polymorphism: check stack effects correctly when a one-sided polymo...
Joe Groff [Sat, 10 Sep 2011 01:08:27 +0000 (18:08 -0700)]
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

12 years agorandom: rewrite normal-random-float to be more readable
Joe Groff [Fri, 9 Sep 2011 19:42:27 +0000 (12:42 -0700)]
random: rewrite normal-random-float to be more readable

12 years agoFix a using in system-info.linux
Doug Coleman [Fri, 9 Sep 2011 08:48:26 +0000 (01:48 -0700)]
Fix a using in system-info.linux

12 years agocore-graphics: set premultiplied-alpha? in make-bitmap-image. Fixes #73
Slava Pestov [Fri, 9 Sep 2011 06:08:16 +0000 (23:08 -0700)]
core-graphics: set premultiplied-alpha? in make-bitmap-image. Fixes #73

12 years agoRemove inotify system call wrappers. Hopefully everyone is using a recent glibc now...
Slava Pestov [Fri, 9 Sep 2011 05:03:56 +0000 (22:03 -0700)]
Remove inotify system call wrappers. Hopefully everyone is using a recent glibc now. Fixes #86

12 years agosystem-info.linux: clean up and implement os-version
Slava Pestov [Fri, 9 Sep 2011 04:59:03 +0000 (21:59 -0700)]
system-info.linux: clean up and implement os-version

12 years agomath.statistics: add higher-order stack effect annotations to sequence>* words; facto...
Joe Groff [Fri, 9 Sep 2011 02:07:14 +0000 (19:07 -0700)]
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

12 years agoForgot a using in system-info.windows
Doug Coleman [Thu, 8 Sep 2011 23:17:18 +0000 (16:17 -0700)]
Forgot a using in system-info.windows

12 years agoDon't test ping on any platform higher than windows xp
Doug Coleman [Thu, 8 Sep 2011 22:27:20 +0000 (15:27 -0700)]
Don't test ping on any platform higher than windows xp

12 years agoWindows doesn't like 0 f <inet4>. See issue #85.
Doug Coleman [Thu, 8 Sep 2011 21:47:12 +0000 (14:47 -0700)]
Windows doesn't like 0 f <inet4>.  See issue #85.

12 years agoAdd os-version hook to system-info which returns f on every platform except windows...
Doug Coleman [Thu, 8 Sep 2011 21:07:12 +0000 (14:07 -0700)]
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

12 years agoWindows bindings for security tokens
Doug Coleman [Thu, 8 Sep 2011 20:06:19 +0000 (13:06 -0700)]
Windows bindings for security tokens

12 years agoFind timezone based on string
Doug Coleman [Tue, 5 Jul 2011 17:24:26 +0000 (12:24 -0500)]
Find timezone based on string

12 years agoparser.notes sets parser-quiet? to t in the global namespace. stage2.factor runs...
Doug Coleman [Wed, 7 Sep 2011 18:41:18 +0000 (13:41 -0500)]
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

12 years agobootstrap.image: use "parser-quiet? off" for consistency.
John Benediktsson [Wed, 7 Sep 2011 17:50:54 +0000 (10:50 -0700)]
bootstrap.image: use "parser-quiet? off" for consistency.

12 years agoFix for parser-notes? being removed
Doug Coleman [Wed, 7 Sep 2011 09:59:35 +0000 (04:59 -0500)]
Fix for parser-notes? being removed

12 years agoAdd another unit test so we can see why ping fails, if it does.
Doug Coleman [Wed, 7 Sep 2011 08:41:49 +0000 (03:41 -0500)]
Add another unit test so we can see why ping fails, if it does.

12 years agoOnly test postgresql on win32
Doug Coleman [Wed, 7 Sep 2011 07:35:26 +0000 (00:35 -0700)]
Only test postgresql on win32

12 years agoFix windows unit test
Doug Coleman [Wed, 7 Sep 2011 07:35:03 +0000 (00:35 -0700)]
Fix windows unit test

12 years agoFix shaker
Doug Coleman [Wed, 7 Sep 2011 07:34:23 +0000 (00:34 -0700)]
Fix shaker

12 years agoMake "quiet" true by default. Disable quiet mode for listener, bootstrap, and deploy...
Doug Coleman [Tue, 6 Sep 2011 23:29:15 +0000 (16:29 -0700)]
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.

12 years agoChange postgresql test database to prepend the cpu string so that running two builder...
Doug Coleman [Sun, 4 Sep 2011 21:52:44 +0000 (16:52 -0500)]
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.

12 years agohash-sets: remove unused import.
John Benediktsson [Tue, 6 Sep 2011 18:26:29 +0000 (11:26 -0700)]
hash-sets: remove unused import.

12 years agomemcached: better to not duplicate with-memcached.
John Benediktsson [Tue, 6 Sep 2011 17:21:24 +0000 (10:21 -0700)]
memcached: better to not duplicate with-memcached.

12 years agoMerge remote-tracking branch 'upstream/master'
John Benediktsson [Tue, 6 Sep 2011 16:32:48 +0000 (09:32 -0700)]
Merge remote-tracking branch 'upstream/master'

12 years agomemcached: change tests to have a 5 second timeout so they don't hang the build machi...
John Benediktsson [Tue, 6 Sep 2011 16:32:15 +0000 (09:32 -0700)]
memcached: change tests to have a 5 second timeout so they don't hang the build machine.  Fixes #80.

12 years agoOops
Slava Pestov [Tue, 6 Sep 2011 07:25:33 +0000 (00:25 -0700)]
Oops

12 years agogame.loop: split off benchmarking code into game.loop.benchmark
Slava Pestov [Tue, 6 Sep 2011 06:56:33 +0000 (23:56 -0700)]
game.loop: split off benchmarking code into game.loop.benchmark

12 years agovm: fix high_fragmentation_p assertion
Slava Pestov [Tue, 6 Sep 2011 06:30:13 +0000 (23:30 -0700)]
vm: fix high_fragmentation_p assertion

12 years agoMake readline.ffi unix only
Doug Coleman [Tue, 6 Sep 2011 05:15:10 +0000 (00:15 -0500)]
Make readline.ffi unix only

12 years agotools.time.struct: fix load error
Slava Pestov [Tue, 6 Sep 2011 02:45:24 +0000 (19:45 -0700)]
tools.time.struct: fix load error

12 years agobunny: don't deploy with word names
Slava Pestov [Tue, 6 Sep 2011 00:20:43 +0000 (17:20 -0700)]
bunny: don't deploy with word names

12 years agoAdd test case to memory-tests.factor for recent large object allocation bug
Slava Pestov [Mon, 5 Sep 2011 23:27:55 +0000 (16:27 -0700)]
Add test case to memory-tests.factor for recent large object allocation bug

12 years agoMove some primitives from memory and memory.private to tools.memory.private, add...
Slava Pestov [Mon, 5 Sep 2011 23:27:37 +0000 (16:27 -0700)]
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

12 years agoClean up some GC logic and fix a bug where large object allocation could grow the...
Slava Pestov [Mon, 5 Sep 2011 23:21:09 +0000 (16:21 -0700)]
Clean up some GC logic and fix a bug where large object allocation could grow the heap unnecessarily

12 years agotools.crossref: adding stack effect.
John Benediktsson [Sat, 3 Sep 2011 23:39:04 +0000 (16:39 -0700)]
tools.crossref: adding stack effect.

12 years agohash-sets: simpler <hash-set>.
John Benediktsson [Sat, 3 Sep 2011 23:38:42 +0000 (16:38 -0700)]
hash-sets: simpler <hash-set>.

12 years agosets: adding test for cardinality of arrays.
John Benediktsson [Sat, 3 Sep 2011 23:34:33 +0000 (16:34 -0700)]
sets: adding test for cardinality of arrays.