]> gitweb.factorcode.org Git - factor.git/log
factor.git
14 years agoMerge branch 'master' into strong-typing
Joe Groff [Tue, 8 Sep 2009 20:53:20 +0000 (15:53 -0500)]
Merge branch 'master' into strong-typing

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Tue, 8 Sep 2009 20:48:18 +0000 (15:48 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoupdate math.floats.env.x86 for sse detection change
Joe Groff [Tue, 8 Sep 2009 20:47:03 +0000 (15:47 -0500)]
update math.floats.env.x86 for sse detection change

14 years agodebugger: doc fixes
Slava Pestov [Tue, 8 Sep 2009 20:43:00 +0000 (15:43 -0500)]
debugger: doc fixes

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Tue, 8 Sep 2009 20:37:32 +0000 (15:37 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agofactor out x86 and ppc backends for math.floats.env; update both x87 and SSE state...
Joe Groff [Tue, 8 Sep 2009 20:29:29 +0000 (15:29 -0500)]
factor out x86 and ppc backends for math.floats.env; update both x87 and SSE state on x86

14 years agotools.deploy.shaker: strip out math.vectors specializations
Slava Pestov [Tue, 8 Sep 2009 20:20:46 +0000 (15:20 -0500)]
tools.deploy.shaker: strip out math.vectors specializations

14 years agoFix some annoying circularity; prettyprinter cannot depend on any vocab that depends...
Slava Pestov [Tue, 8 Sep 2009 20:15:36 +0000 (15:15 -0500)]
Fix some annoying circularity; prettyprinter cannot depend on any vocab that depends on locals or stack-checker

14 years agomath.vectors.simd: fix help rendering
Slava Pestov [Tue, 8 Sep 2009 19:49:27 +0000 (14:49 -0500)]
math.vectors.simd: fix help rendering

14 years agosee: don't show accessor methods in see-methods
Slava Pestov [Tue, 8 Sep 2009 19:46:36 +0000 (14:46 -0500)]
see: don't show accessor methods in see-methods

14 years agoui.gadgets.buttons: don't show message if no shortcut assigned
Slava Pestov [Tue, 8 Sep 2009 19:46:16 +0000 (14:46 -0500)]
ui.gadgets.buttons: don't show message if no shortcut assigned

14 years agoMerge branch 'ui-tweaks' of git://github.com/klazuka/factor
Slava Pestov [Tue, 8 Sep 2009 19:37:05 +0000 (14:37 -0500)]
Merge branch 'ui-tweaks' of git://github.com/klazuka/factor

14 years agoFactor theme colors are now referenced by name.
Keith Lazuka [Tue, 8 Sep 2009 19:22:13 +0000 (15:22 -0400)]
Factor theme colors are now referenced by name.

Added a text file, "factor-colors.txt", which is like "rgb.txt" except it lists the theme colors used in the Factor UI.

Changed url-style color to DodgerBlue4 to match link-style.

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Tue, 8 Sep 2009 19:22:52 +0000 (14:22 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoVM: use an std::vector instead of a fixed-size buffer for GC roots
Slava Pestov [Tue, 8 Sep 2009 19:21:09 +0000 (14:21 -0500)]
VM: use an std::vector instead of a fixed-size buffer for GC roots

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Tue, 8 Sep 2009 19:18:40 +0000 (14:18 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agodeprecating nth for integers is annoying
Doug Coleman [Tue, 8 Sep 2009 19:18:26 +0000 (14:18 -0500)]
deprecating nth for integers is annoying

14 years agocpu.x86.features: better wording
Slava Pestov [Tue, 8 Sep 2009 19:17:05 +0000 (14:17 -0500)]
cpu.x86.features: better wording

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Tue, 8 Sep 2009 19:15:53 +0000 (14:15 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoremove deprecated inotify-event struct
Doug Coleman [Tue, 8 Sep 2009 19:15:25 +0000 (14:15 -0500)]
remove deprecated inotify-event struct

14 years agovm/cpu-x86.S: don't detect SSSE3, SSE4.1 or SSE4.2 yet
Slava Pestov [Tue, 8 Sep 2009 19:06:19 +0000 (14:06 -0500)]
vm/cpu-x86.S: don't detect SSSE3, SSE4.1 or SSE4.2 yet

14 years agomason.child: bootstrap with SSE3 on x86
Slava Pestov [Tue, 8 Sep 2009 19:03:26 +0000 (14:03 -0500)]
mason.child: bootstrap with SSE3 on x86

14 years agocpu.x86.features: add -sse-version command-line switch to override SSE detection
Slava Pestov [Tue, 8 Sep 2009 18:56:37 +0000 (13:56 -0500)]
cpu.x86.features: add -sse-version command-line switch to override SSE detection

14 years agoinline alien-vector and set-alien-vector if SIMD is not available for a small speedup
Slava Pestov [Tue, 8 Sep 2009 18:56:17 +0000 (13:56 -0500)]
inline alien-vector and set-alien-vector if SIMD is not available for a small speedup

14 years agomath.vectors.simd: remove useless dependency
Slava Pestov [Tue, 8 Sep 2009 18:55:56 +0000 (13:55 -0500)]
math.vectors.simd: remove useless dependency

14 years agoMerge branch 'master' into simd
Slava Pestov [Tue, 8 Sep 2009 18:38:14 +0000 (13:38 -0500)]
Merge branch 'master' into simd

14 years agomath.vectors.specialization: specialized vector words are now subwords of the generic...
Slava Pestov [Tue, 8 Sep 2009 18:37:25 +0000 (13:37 -0500)]
math.vectors.specialization: specialized vector words are now subwords of the generic vector word. This ensures that specializations get compiled correctly in all cases

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Tue, 8 Sep 2009 18:22:52 +0000 (13:22 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoRemoved text shadow support
Keith Lazuka [Tue, 8 Sep 2009 18:22:27 +0000 (14:22 -0400)]
Removed text shadow support

14 years agoImproved line number handling for unit test failure errors
Slava Pestov [Tue, 8 Sep 2009 18:13:30 +0000 (13:13 -0500)]
Improved line number handling for unit test failure errors

14 years agoMerge branch 'for-slava' of git://git.rfc1149.net/factor
Slava Pestov [Tue, 8 Sep 2009 18:09:27 +0000 (13:09 -0500)]
Merge branch 'for-slava' of git://git.rfc1149.net/factor

14 years agoMerge branch 'for-slava' of git://git.rfc1149.net/factor into simd
Slava Pestov [Tue, 8 Sep 2009 18:02:00 +0000 (13:02 -0500)]
Merge branch 'for-slava' of git://git.rfc1149.net/factor into simd

14 years agoApplied ui-tweaks patchset.
Keith Lazuka [Tue, 8 Sep 2009 16:43:47 +0000 (12:43 -0400)]
Applied ui-tweaks patchset.

- prettyprinter now does syntax highlighting of Factor code
- added a prettyprinter.stylesheet vocab
- text shadow character style for formatted streams
- text shadow for labels
- toolbar buttons display keyboard shortcut in status bar rather than in the button title
- changed some colors in help.stylesheet to match the colors in Factor's scrollbars and border-buttons
- changed status bar color to match the dark blue in Factor's scrollbars
- added some internal padding to the browser gadget to give the article content some breathing room

NOTE: I removed the "pane" slot from browser-gadget. The slot was never used (at least in my image), and now that the browser-gadget's help-pane is wrapped by a "border" gadget, the slot name would be misleading.

14 years agoFixes
Slava Pestov [Tue, 8 Sep 2009 05:13:18 +0000 (00:13 -0500)]
Fixes

14 years agoFix conflicts
Slava Pestov [Tue, 8 Sep 2009 04:51:25 +0000 (23:51 -0500)]
Fix conflicts

14 years agocompiler.tree.propagation: type check inputs to unsafe foldable words manually, so...
Slava Pestov [Tue, 8 Sep 2009 04:40:23 +0000 (23:40 -0500)]
compiler.tree.propagation: type check inputs to unsafe foldable words manually, so that stuff like [ "Hi" { } fixnum+fast ] doesn't crash in the compiler

14 years agotools.deploy: fix facepalm
Slava Pestov [Tue, 8 Sep 2009 03:48:57 +0000 (22:48 -0500)]
tools.deploy: fix facepalm

14 years agotools.deploy: add unit test to ensure Cocoa binding works in deployed apps
Slava Pestov [Mon, 7 Sep 2009 22:59:34 +0000 (17:59 -0500)]
tools.deploy: add unit test to ensure Cocoa binding works in deployed apps

14 years agocompiler.tree.propagation.call-effect: stronger call( inlining; now can inline 'a...
Slava Pestov [Mon, 7 Sep 2009 22:45:03 +0000 (17:45 -0500)]
compiler.tree.propagation.call-effect: stronger call( inlining; now can inline 'a [ b ] curry call(' where 'a' is literal, [ b ] doesn't infer, but [ a b ] does infer. This simplifies classes.struct:memory>struct

14 years agotighten up math.floats.env docs
Joe Groff [Mon, 7 Sep 2009 15:50:40 +0000 (10:50 -0500)]
tighten up math.floats.env docs

14 years agotest fp traps
Joe Groff [Sun, 6 Sep 2009 14:04:46 +0000 (09:04 -0500)]
test fp traps

14 years agomake public words for querying current rounding mode, denormal mode, and trap set
Joe Groff [Sun, 6 Sep 2009 13:50:54 +0000 (08:50 -0500)]
make public words for querying current rounding mode, denormal mode, and trap set

14 years agoSend FP trap signals to Factor as a different vm-error type
Joe Groff [Sun, 6 Sep 2009 13:44:25 +0000 (08:44 -0500)]
Send FP trap signals to Factor as a different vm-error type

14 years agounit tests for math.floats.env
Joe Groff [Sun, 6 Sep 2009 12:50:56 +0000 (07:50 -0500)]
unit tests for math.floats.env

14 years agoFix documentation errors
Jon Harper [Sun, 6 Sep 2009 10:00:03 +0000 (19:00 +0900)]
Fix documentation errors

14 years agomath.floats.env vocab with words to control the floating-point environment
Joe Groff [Sun, 6 Sep 2009 00:48:13 +0000 (19:48 -0500)]
math.floats.env vocab with words to control the floating-point environment

add some functions to the VM to grab and set the fpu control register

14 years agoUse new-style structs for overlapped struct on Windows
Slava Pestov [Sat, 5 Sep 2009 21:20:58 +0000 (16:20 -0500)]
Use new-style structs for overlapped struct on Windows

14 years agowindows.com.prettyprint: add unportable tag
Slava Pestov [Sat, 5 Sep 2009 15:59:40 +0000 (10:59 -0500)]
windows.com.prettyprint: add unportable tag

14 years agoMerge branch 'master' of git://github.com/killy971/factor
Slava Pestov [Sat, 5 Sep 2009 15:58:17 +0000 (10:58 -0500)]
Merge branch 'master' of git://github.com/killy971/factor

14 years agoMerge branch 'master' of git://github.com/Blei/factor
Slava Pestov [Sat, 5 Sep 2009 15:54:02 +0000 (10:54 -0500)]
Merge branch 'master' of git://github.com/Blei/factor

14 years agoFix unit tests for specialized-arrays.direct change
Slava Pestov [Sat, 5 Sep 2009 07:26:06 +0000 (02:26 -0500)]
Fix unit tests for specialized-arrays.direct change

14 years agospecialized-arrays.direct is no more; instead, every specialized-array.<foo> vocabula...
Slava Pestov [Sat, 5 Sep 2009 03:01:55 +0000 (22:01 -0500)]
specialized-arrays.direct is no more; instead, every specialized-array.<foo> vocabulary has a <direct-T-array> constructor

14 years agowindows.com: split off prettyprinting into windows.com.prettyprint
Slava Pestov [Sat, 5 Sep 2009 03:00:23 +0000 (22:00 -0500)]
windows.com: split off prettyprinting into windows.com.prettyprint

14 years agotools.deploy.shaker: strip out struct slot info
Slava Pestov [Sat, 5 Sep 2009 02:59:49 +0000 (21:59 -0500)]
tools.deploy.shaker: strip out struct slot info

14 years agoio.launcher.windows.nt: make tests more robust
Slava Pestov [Sat, 5 Sep 2009 02:59:11 +0000 (21:59 -0500)]
io.launcher.windows.nt: make tests more robust

14 years agoSolution to Project Euler problem 85
Guillaume Nargeot [Sat, 5 Sep 2009 01:59:04 +0000 (10:59 +0900)]
Solution to Project Euler problem 85

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Fri, 4 Sep 2009 17:30:48 +0000 (12:30 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoi had comisd/ucomisd backwards on x86
Joe Groff [Fri, 4 Sep 2009 17:30:30 +0000 (12:30 -0500)]
i had comisd/ucomisd backwards on x86

14 years agoui.backend.x11: fix set-fullscreen
Slava Pestov [Fri, 4 Sep 2009 16:35:45 +0000 (12:35 -0400)]
ui.backend.x11: fix set-fullscreen

14 years agofix some typos in cpu.ppc
Slava Pestov [Fri, 4 Sep 2009 16:18:41 +0000 (11:18 -0500)]
fix some typos in cpu.ppc

14 years agoMerge branch 'master' of git://factorcode.org/git/factor into ppc-float-compare
Slava Pestov [Fri, 4 Sep 2009 15:58:50 +0000 (10:58 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor into ppc-float-compare

14 years agoupdate powerpc compiler to generate correct float comparisons
Joe Groff [Fri, 4 Sep 2009 15:51:12 +0000 (10:51 -0500)]
update powerpc compiler to generate correct float comparisons

14 years agosequences.product: product-each and product-map
Philipp Brüschweiler [Fri, 4 Sep 2009 14:40:47 +0000 (16:40 +0200)]
sequences.product: product-each and product-map
misc/vim.syntax.fgen: small fix for quotation highlighting

14 years agoio.backend.windows: fix for deployment
Slava Pestov [Fri, 4 Sep 2009 14:27:46 +0000 (09:27 -0500)]
io.backend.windows: fix for deployment

14 years agoio.backend.windows.nt.privileges: fix make-token-privileges
Slava Pestov [Fri, 4 Sep 2009 14:08:04 +0000 (09:08 -0500)]
io.backend.windows.nt.privileges: fix make-token-privileges

14 years agoopengl.glu: fix missing library error on Windows and Linux
Slava Pestov [Fri, 4 Sep 2009 12:57:48 +0000 (07:57 -0500)]
opengl.glu: fix missing library error on Windows and Linux

14 years agocpu.ppc: fix typo
Slava Pestov [Fri, 4 Sep 2009 11:41:33 +0000 (06:41 -0500)]
cpu.ppc: fix typo

14 years agomatch: cleanup
Slava Pestov [Fri, 4 Sep 2009 11:11:28 +0000 (06:11 -0500)]
match: cleanup

14 years agoFix sockets on Windows, and re-organize things so that windows.winsock doesn't get...
Slava Pestov [Fri, 4 Sep 2009 10:02:33 +0000 (05:02 -0500)]
Fix sockets on Windows, and re-organize things so that windows.winsock doesn't get loaded by default

14 years agoio.sockets: fix to work in deployed apps
Slava Pestov [Fri, 4 Sep 2009 08:57:57 +0000 (03:57 -0500)]
io.sockets: fix to work in deployed apps

14 years agocompiler.cfg.value-numbering: update tests for Joe's condition code changes
Slava Pestov [Fri, 4 Sep 2009 08:11:56 +0000 (03:11 -0500)]
compiler.cfg.value-numbering: update tests for Joe's condition code changes

14 years agobenchmark.nbody-simd: use map-reduce instead of reduce
Slava Pestov [Fri, 4 Sep 2009 08:01:41 +0000 (03:01 -0500)]
benchmark.nbody-simd: use map-reduce instead of reduce

14 years agocompiler: tweak generated code
Slava Pestov [Fri, 4 Sep 2009 08:01:18 +0000 (03:01 -0500)]
compiler: tweak generated code

14 years agomath.vectors.simd: allow punning SIMD vectors between types
Slava Pestov [Fri, 4 Sep 2009 07:35:58 +0000 (02:35 -0500)]
math.vectors.simd: allow punning SIMD vectors between types

14 years agomath.vectors.simd: slightly faster 'sum' on 256-bit vectors: add the two components...
Slava Pestov [Fri, 4 Sep 2009 07:23:25 +0000 (02:23 -0500)]
math.vectors.simd: slightly faster 'sum' on 256-bit vectors: add the two components then do horizontal add, instead of doing a horizontal add on each one and adding the results

14 years agocompiler.cfg.intrinsics: fix type detection on the alien type for vector accessors
Slava Pestov [Fri, 4 Sep 2009 07:22:54 +0000 (02:22 -0500)]
compiler.cfg.intrinsics: fix type detection on the alien type for vector accessors

14 years agomath.vectors.simd: docs
Slava Pestov [Fri, 4 Sep 2009 06:22:18 +0000 (01:22 -0500)]
math.vectors.simd: docs

14 years agofunctors: support private words with DEFINES-PRIVATE; use this to make some words...
Slava Pestov [Fri, 4 Sep 2009 06:21:59 +0000 (01:21 -0500)]
functors: support private words with DEFINES-PRIVATE; use this to make some words generated by math.vectors.simd.functor private

14 years agomake struct-mirror an instance of assoc
Joe Groff [Fri, 4 Sep 2009 03:31:55 +0000 (22:31 -0500)]
make struct-mirror an instance of assoc

14 years agomath.vectors.simd: define fallbacks for all vector constructors so that code can...
Slava Pestov [Fri, 4 Sep 2009 02:37:55 +0000 (21:37 -0500)]
math.vectors.simd: define fallbacks for all vector constructors so that code can still work even if SIMD is not available

14 years agocompiler: clean up code generation for alien boxing/unboxing a bit
Slava Pestov [Fri, 4 Sep 2009 02:22:43 +0000 (21:22 -0500)]
compiler: clean up code generation for alien boxing/unboxing a bit

14 years agoconvert comparison branch code in compiler to use locals
Joe Groff [Fri, 4 Sep 2009 02:19:39 +0000 (21:19 -0500)]
convert comparison branch code in compiler to use locals

14 years agobenchmark.nbody-simd: new benchmark; a version of benchmark.nbody that uses math...
Slava Pestov [Fri, 4 Sep 2009 01:59:49 +0000 (20:59 -0500)]
benchmark.nbody-simd: new benchmark; a version of benchmark.nbody that uses math.vectors.simd:double-4 instead of double-arrays

14 years agoMore SIMD work
Slava Pestov [Fri, 4 Sep 2009 01:58:56 +0000 (20:58 -0500)]
More SIMD work
- Rename SIMD types and register representations: <type>-<count> rather than <count><type>-array
- Make a functor to define 256-bit vector types, use it to define float-8 type
- Make SIMD instructions pure-insns so that they participate in value numbering

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Fri, 4 Sep 2009 01:32:27 +0000 (20:32 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoadd compiler comparison codes for floating-point unordered comparisons; update x86...
Joe Groff [Fri, 4 Sep 2009 01:32:05 +0000 (20:32 -0500)]
add compiler comparison codes for floating-point unordered comparisons; update x86 backend to generate proper code for all floating-point comparisons

14 years agoadd unit tests for comparisons against nan
Joe Groff [Thu, 3 Sep 2009 22:27:06 +0000 (17:27 -0500)]
add unit tests for comparisons against nan

14 years agoWHAMMY! convert io.sockets.unix
Doug Coleman [Thu, 3 Sep 2009 22:08:54 +0000 (17:08 -0500)]
WHAMMY!  convert io.sockets.unix

14 years agoupdate network structs. NO WHAMMY, NO WHAMMY, NO WHAMMY...STOP!!!
Doug Coleman [Thu, 3 Sep 2009 21:57:36 +0000 (16:57 -0500)]
update network structs.  NO WHAMMY, NO WHAMMY, NO WHAMMY...STOP!!!

14 years agoforget the old struct class when redefining a struct class so the old accessors get...
Joe Groff [Thu, 3 Sep 2009 16:12:58 +0000 (11:12 -0500)]
forget the old struct class when redefining a struct class so the old accessors get purged

14 years agoMerge branch 'master' into simd
Slava Pestov [Thu, 3 Sep 2009 08:45:58 +0000 (03:45 -0500)]
Merge branch 'master' into simd

14 years agomath.vectors.simd: split off intrinsics into a sub-vocabulary, to avoid loading most...
Slava Pestov [Thu, 3 Sep 2009 08:43:43 +0000 (03:43 -0500)]
math.vectors.simd: split off intrinsics into a sub-vocabulary, to avoid loading most of the SIMD code on bootstrap

14 years agoDetect SSE version and enable the correct set of SIMD intrinsics
Slava Pestov [Thu, 3 Sep 2009 08:28:38 +0000 (03:28 -0500)]
Detect SSE version and enable the correct set of SIMD intrinsics

14 years agocompiler.tree.propagation: type function for clone had an issue, sometimes clone...
Slava Pestov [Thu, 3 Sep 2009 07:40:18 +0000 (02:40 -0500)]
compiler.tree.propagation: type function for clone had an issue, sometimes clone would get optimized out because of incorrect constant folding

14 years agoInitial implementation of SSE vector intrinsics:
Slava Pestov [Thu, 3 Sep 2009 07:33:07 +0000 (02:33 -0500)]
Initial implementation of SSE vector intrinsics:
- cpu.architecture: add SSE vector representations
- compiler.cfg.intrinsics.alien: remove an attempt at optimization that value numbering handles now
- compiler.cfg.representations: support instructions where the representation is set in the 'rep' slot, and support conversions between single and double floats
- alien-float, set-alien-float now use the single float representation, and the conversion is implicit; this fixes a long-standing bug where a register could get clobbered because of how %set-alien-float was defined on x86
- math.vectors.specialization: add support for SIMD specialization (where the vector word's body is replaced by another quotation), also specialize the 'sum' word
- math.vectors.simd: 4float-array, 2double-array, 4double-array types, and specializers for the math.vectors words

14 years agobenchmark.raytracer: replace hard-coded constant with self-documenting code
Slava Pestov [Thu, 3 Sep 2009 07:24:32 +0000 (02:24 -0500)]
benchmark.raytracer: replace hard-coded constant with self-documenting code

14 years agospecialized-arrays: fix clone method
Slava Pestov [Thu, 3 Sep 2009 07:24:03 +0000 (02:24 -0500)]
specialized-arrays: fix clone method

14 years agostruct-arrays: fix new-sequence method
Slava Pestov [Thu, 3 Sep 2009 07:23:37 +0000 (02:23 -0500)]
struct-arrays: fix new-sequence method

14 years agomath.constants: add single float epsilon value
Slava Pestov [Thu, 3 Sep 2009 07:23:22 +0000 (02:23 -0500)]
math.constants: add single float epsilon value

14 years agofor typed words, put the specialized definition in a gensym, and check the input...
Joe Groff [Wed, 2 Sep 2009 23:45:08 +0000 (18:45 -0500)]
for typed words, put the specialized definition in a gensym, and check the input types and declare the output types in the inlined outer word so the checks can be cleared by the compiler when possible