Commit Graph

6856 Commits (df9b0f695fbe95db0c9718a6816c750b7b230cda)

Author SHA1 Message Date
Doug Coleman 49deeb6ed3 Merge branch 'png' of git://github.com/klazuka/factor into png2 2009-09-28 15:02:03 -05:00
Keith Lazuka 47c2864de3 compression.lzw: additional refactoring 2009-09-28 16:01:25 -04:00
Keith Lazuka f5c4fbb10c compression.lzw: better naming 2009-09-28 16:01:24 -04:00
Keith Lazuka 46a768befb compression.lzw: added documentation 2009-09-28 16:01:23 -04:00
Keith Lazuka 53789bef1b definitions.icons: converted TIFF icons to PNG
Slava, don't forget to copy these PNGs into the "/icons" root on docs.factorcode.org
2009-09-28 15:53:39 -04:00
Doug Coleman 1fb7cf37c4 make a png-image type instead of having a singleton class 2009-09-28 14:50:36 -05:00
Doug Coleman bf2cfd0aa6 Merge branch 'png' of git://github.com/klazuka/factor 2009-09-28 14:29:00 -05:00
Doug Coleman 438e848356 fix reverse png filtering with klazuka's idea 2009-09-28 14:20:44 -05:00
Joe Groff 01f526ff28 use PSHUFD for longlong-2 broadcast when dst != src to avoid a %copy 2009-09-28 12:04:08 -05:00
Joe Groff 7520da41cc use MOVDDUP for double-2 broadcast to eliminate a %copy 2009-09-28 12:00:03 -05:00
Joe Groff 2e8bb98781 cpu.x86.assembler: make SSE shuffle instructions accept an array of indexes so they're easier to use 2009-09-28 11:45:45 -05:00
Joe Groff 965730efbe SSE integer gather and broadcast 2009-09-28 11:24:08 -05:00
Keith Lazuka f45a6df8e5 images.png: teased apart PNG parse and decode phases to match images.tiff and images.gif 2009-09-28 11:21:35 -04:00
Keith Lazuka bdd47b9991 help.markup: word link stack effect is now clickable 2009-09-28 10:44:46 -04:00
Slava Pestov 4abfe06b51 Fixing various test failures caused by C type parser change, and clarify C type docs some more 2009-09-28 08:48:39 -05:00
Slava Pestov 49d07971ef windows.kernel/user32: update for C type parser changes 2009-09-28 06:41:26 -05:00
Slava Pestov fb68d11407 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-28 06:40:55 -05:00
Slava Pestov 21f918adb6 io.backend.unix.multiplexers: add meta-data 2009-09-28 06:38:23 -05:00
Slava Pestov 9a06e6f424 math.vectors.simd: add intrinsic for int-4-boa, uint-4-boa, fix tests for C type parser change, fix software fallback for horizontal shifts 2009-09-28 06:34:22 -05:00
Slava Pestov 7ee8144259 alien.parser: fix unit tests 2009-09-28 05:42:41 -05:00
Slava Pestov 08a2eb74f4 cpu.x86: shifts didn't work if dst != src1; re-organize file a bit 2009-09-28 05:39:53 -05:00
Slava Pestov 3917f404e9 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-28 04:52:43 -05:00
Slava Pestov f73bb2d068 cpu.x86.32: fix %unary/binary-float-function on Windows; need to look up symbols in libm and not VM binary 2009-09-28 04:51:53 -05:00
Slava Pestov efe8f3c74c unix.linux: fix load errors from c-type changes 2009-09-28 04:26:05 -05:00
Phil Dawes 6fa0a93498 ppc asm to pass vm pointer: initial bootstrap 2009-09-28 07:48:37 +01:00
Slava Pestov 253db8fee0 unix.statvfs.netbsd: load fix 2009-09-27 22:56:45 -05:00
Slava Pestov da5f0d0a14 compiler.cfg.ssa.destruction: we can coalesce two registers with different representations as long as they both belong to the same register class 2009-09-28 03:24:54 -05:00
Slava Pestov 530accdad9 io.mmap: fix obsolete tests and get code to inline better 2009-09-28 03:18:27 -05:00
Slava Pestov 64a7fd0a4d ui.tools.listener: add 'Help' button, and print message when listener exits, to reduce confusion if user presses C+d 2009-09-28 02:38:06 -05:00
Slava Pestov 7e4b9b6377 cpu.x86: fix regression: fsqrt intrinsic wasn't used 2009-09-28 02:27:55 -05:00
Slava Pestov 790611666c Merge branch 'master' of git://factorcode.org/git/factor 2009-09-28 02:19:05 -05:00
Slava Pestov b2ea3afd84 math.vectors.simd: add hlshift, hrshift (128-bit shift), vbitandn intrinsics 2009-09-28 02:17:46 -05:00
Slava Pestov 2de6ab9e21 compiler.cfg.linear-scan: fix tests for hash order 2009-09-27 23:35:56 -05:00
Slava Pestov 1d872db58d compiler.cfg.linear-scan: tweak it so that register allocation does not depend on hashing order 2009-09-27 23:29:48 -05:00
Joe Groff d4bfa0a581 fill in missing USING:s in unix.linux and unix.bsd.* 2009-09-27 23:08:16 -05:00
Slava Pestov aa3b9097c8 compiler: fix codegen test 2009-09-27 22:23:03 -05:00
Joe Groff a14855b98a Merge branch 'master' of git://factorcode.org/git/factor 2009-09-27 22:21:42 -05:00
Joe Groff 866b62755e replace all TYPEDEF: void* XXX* with C-TYPE: XXX 2009-09-27 22:21:24 -05:00
Joe Groff 543ca72632 fix linux bootstrap 2009-09-27 22:16:07 -05:00
Joe Groff 123f4fbc30 redefine C-TYPE: to forward declare opaque C types; make C type definition and redefinition a little more robust 2009-09-27 22:12:00 -05:00
Slava Pestov ef11fa96dd Merge branch 'master' into more_aggressive_coalescing 2009-09-27 22:03:16 -05:00
Slava Pestov ab8c6e9978 Word hashcodes are now computed from the word's name/vocabulary, removing a source of non-determinism 2009-09-27 21:09:11 -05:00
Slava Pestov 999b22788e compiler: add a unit test 2009-09-27 20:36:19 -05:00
Slava Pestov 59fbe85c9b compiler.cfg: nuke ##bignum>integer and ##integer>bignum since they were unused 2009-09-27 20:36:05 -05:00
Slava Pestov 66071f45a3 Add a couple more def-is-use instructions 2009-09-27 20:34:20 -05:00
Slava Pestov f757b454cc Merge branch 'master' into more_aggressive_coalescing 2009-09-27 19:29:50 -05:00
Slava Pestov d3aa0a538b Merge branch 'master' of git://factorcode.org/git/factor 2009-09-27 19:28:47 -05:00
Slava Pestov 705b4ab5c3 compiler.cfg.linear-scan: fix partial sync point logic in case where dst == src, and clean up spilling code 2009-09-27 19:28:20 -05:00
Joe Groff 24de21eac8 take a shot at making other platform vocabs c-type-string-free 2009-09-27 19:25:34 -05:00
Joe Groff 89045e3fd0 Merge branch 'master' into no-c-type-string 2009-09-27 18:47:02 -05:00
Joe Groff f8251d2045 update vocabs so load-all on windows works without parsing string c-types 2009-09-27 18:41:20 -05:00
Joe Groff 4f82861bf3 update windows vocabs to load without c-type strings 2009-09-27 18:19:53 -05:00
Joe Groff 20621bbbb6 add missing USING: to alien.c-types test 2009-09-27 18:18:13 -05:00
Slava Pestov 91e63c0c6f cpu.x86.32: implement %unary-float-function and %binary-float-function; speeds up partial-sums and struct-arrays benchmarks 2009-09-27 18:06:30 -05:00
Joe Groff 232d1d319c update alien.c-types tests to use c-type words 2009-09-27 17:41:18 -05:00
Slava Pestov afc7a20ab8 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-27 17:18:16 -05:00
Slava Pestov 18cf8c37e1 math.vectors.simd: add *-cast words for converting between representations 2009-09-27 17:18:02 -05:00
Slava Pestov 1e841e5086 compiler.cfg.ssa.destruction: more aggressive coalescing work in progress 2009-09-27 17:17:26 -05:00
Joe Groff 4e68c43f3d disable parsing of string c-types 2009-09-27 16:06:13 -05:00
Joe Groff 630e5ecc3b update vocabs so a load-all on macosx works without parsing c-type strings 2009-09-27 15:11:21 -05:00
Joe Groff c2145c933b software implementations of vector logical ops (vand, vor, vxor, vnot, v</=/>, vunordered?, v?) 2009-09-27 13:19:22 -05:00
Joe Groff c3935b823f oops, jumped the gun on one of the alien.parser tests there 2009-09-27 12:10:50 -05:00
Joe Groff 2bc687f0de add some tests for parse-c-type 2009-09-27 12:03:23 -05:00
Joe Groff 8965d04c0d Merge branch 'master' of http://factorcode.org/git/factor 2009-09-27 11:07:08 -05:00
Doug Coleman de2c097ec9 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-27 03:08:20 -05:00
Joe Groff 449695c8fe Merge branch 'master' of git://factorcode.org/git/factor 2009-09-26 23:15:09 -05:00
Joe Groff 5054c954be add USING:s and rearrange definitions so macosx can compile without parsing c-type strings 2009-09-26 23:14:57 -05:00
Doug Coleman 033892dc10 minor refactoring 2009-09-26 22:24:14 -05:00
Slava Pestov 77fa16c76f alien: improve documentation 2009-09-26 21:28:11 -05:00
Slava Pestov 685c4143c9 Fix conflict 2009-09-26 21:27:38 -05:00
Joe Groff dce02fcdfb Merge branch 'master' of git://factorcode.org/git/factor 2009-09-26 20:38:19 -05:00
Joe Groff 2cf0f3e5d3 move alien.inline, alien.cxx, alien.marshall to unmaintained; nuke alien.structs 2009-09-26 20:37:42 -05:00
Doug Coleman 4bc6b302cf remove some misguided code,oops 2009-09-26 20:34:10 -05:00
Doug Coleman 030351ef87 move the png filtering code to images.png 2009-09-26 20:09:16 -05:00
Doug Coleman 16cf080393 minor cleanups in compression.inflate 2009-09-26 19:16:23 -05:00
Doug Coleman 71952f702a trying to make sense of png filter modes 2009-09-26 18:46:27 -05:00
Slava Pestov 117a0e2ac7 Merge branch 'slots' of git://factorcode.org/git/factor into slots 2009-09-26 16:38:24 -05:00
Doug Coleman 0730f3a149 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-26 15:26:11 -05:00
Doug Coleman 55dd1a7401 compute the correct width for png rows, use all the data when decompressing a png, check for impossible png color modes/bit-depths 2009-09-26 15:24:09 -05:00
sheeple 3476f2e28c Fixing PPC backend for ##slot change 2009-09-26 13:21:42 -05:00
Keith Lazuka c1fbca1509 compression.lzw: refactored and simplified 2009-09-26 13:09:52 -04:00
sheeple 01a4047126 Merge branch 'slots' of git://factorcode.org/git/factor into slots
Conflicts:

	basis/cpu/x86/x86.factor
2009-09-26 03:12:42 -05:00
Daniel Ehrenberg 30bca97b61 An attempt at porting the slot change to PPC 2009-09-26 02:58:18 -05:00
Vesa Kaihlavirta eec0e5230b temp-file is in io.files.temp nowadays 2009-09-26 10:49:57 +03:00
Daniel Ehrenberg c704a823e7 Fixing low-level-ir compiler tests for slot changes 2009-09-26 02:48:40 -05:00
Slava Pestov 9d47f5d80d math.vectors: remove special handling for negative shifts, now we just say the behavior of vlshift and vrshift with negative shifts is undefined 2009-09-26 02:26:31 -05:00
Slava Pestov 0be72153ff db.tuples: add 'inline' declaration to example in docs 2009-09-26 02:26:07 -05:00
Daniel Ehrenberg 51f2bbd74b Completing slot and set-slot changes on x86 2009-09-26 01:39:48 -05:00
Daniel Ehrenberg 7bd330cfd5 Making ##slot and ##set-slot not have a temporary parameter 2009-09-26 00:28:14 -05:00
Slava Pestov 8610fa5e48 cpu: cleanups 2009-09-25 21:47:05 -05:00
Slava Pestov c38d523185 math.vectors: fix SIMD unit tests 2009-09-25 21:44:14 -05:00
Slava Pestov d017a53227 Merge branch 'vm_cleanup' of git://github.com/phildawes/factor 2009-09-25 19:04:19 -05:00
Slava Pestov ed37950a33 math.vectors: change vlshift and vrshift to mask the shift count by HEX: ff, to make them behave consistently with their SIMD counterparts 2009-09-25 18:50:44 -05:00
Slava Pestov c0abb9ce95 hints: fix regression with declarations 2009-09-25 18:50:08 -05:00
Slava Pestov 11d716e8f7 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-25 18:23:36 -05:00
Slava Pestov a6654c97ef compiler: add unit test for undefined_symbol regression 2009-09-25 18:08:33 -05:00
Slava Pestov b14c683b32 vm: ignore 'declare' calls in non-optimizing compiler 2009-09-25 18:08:21 -05:00
Slava Pestov dc9ddd3af6 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-25 16:07:29 -05:00
Slava Pestov a8b851bb35 unix.statfs.freebsd: add alien.c-types to using to future-proof 2009-09-25 16:06:55 -05:00
Keith Lazuka 8dec2070e5 compression.lzw: supports both TIFF and GIF 2009-09-25 16:51:47 -04:00
Keith Lazuka 64c93d873f lzw: integrating with gif and tiff 2009-09-25 15:12:44 -04:00
Phil Dawes 46f90c7588 removed %vm-invoke-*-arg completely 2009-09-25 20:03:03 +01:00
Phil Dawes d457df1fbf moved %(un)nest-stacks out to cpu specific files to eliminate %vm-invoke from compiler.codegen 2009-09-25 19:32:08 +01:00
Phil Dawes 28420c587a isolated %vm-invoke-blah-arg crap to 64.factor 2009-09-25 19:02:41 +01:00
Phil Dawes 68f85a69b3 removed param-reg-* HOOKs 2009-09-25 18:58:55 +01:00
Phil Dawes a07a2f7496 compiler.codegen passes temp reg to %call-gc 2009-09-25 18:48:13 +01:00
Phil Dawes 4552e02624 made inline_gc a VM_C_API function 2009-09-25 18:29:07 +01:00
Joe Groff bcd5e72989 fix windows 2009-09-25 10:00:23 -05:00
Joe Groff 9798564536 clean up textured window code 2009-09-25 09:42:09 -05:00
Joe Groff 28d78c9954 fix cocoa bootstrap 2009-09-24 20:25:41 -05:00
Slava Pestov 93149a6be9 Merge branch 'fix_stack_alignment' of git://github.com/phildawes/factor 2009-09-24 19:54:51 -05:00
Slava Pestov de2693cb36 classes.struct: store aligned size in struct-size word-prop 2009-09-24 19:54:32 -05:00
Joe Groff 2af6104d99 reset frame inset when windows dwm is toggled off and on, and use the system dialog background for textured windows when dwm is disabled 2009-09-24 16:08:58 -05:00
Phil Dawes f5c70d4ad7 make inline_gc regparm(3) and cleaned up %call-gc stack alignment 2009-09-24 21:45:56 +01:00
Joe Groff c4d4f1b337 tweak textured windows on windows 2009-09-24 13:26:15 -05:00
Joe Groff d5b267c401 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-24 13:05:36 -05:00
Joe Groff e0157c55d1 support textured windows on os x and windows 6.x 2009-09-24 13:05:27 -05:00
Slava Pestov beab46517e tools.deploy: fix test 11 2009-09-24 13:00:26 -05:00
Slava Pestov 0686a7a65c cpu.ppc: add representation hooks for shifts 2009-09-24 13:00:12 -05:00
Slava Pestov 63bf76cc1e alien.complex: fix tests 2009-09-24 12:59:56 -05:00
Joe Groff 91dc6adc2e fix classes.struct bootstrap 2009-09-24 12:07:41 -05:00
Joe Groff ebf7ad486e Merge branch 'master' of git://factorcode.org/git/factor 2009-09-24 11:32:43 -05:00
Joe Groff eec283354e clean up classes.struct code. don't set a bunch of redundant word-props on struct class words 2009-09-24 11:32:25 -05:00
Slava Pestov bbbb207dab Some fixes and cleanups in math.vectors
- Tighten up type inference for operations on complex float arrays
- Fix v. to have correct behavior with complex numbers
- Rename v<< and v>> to vlshift and vrshift to avoid clashing with v>> accessor
2009-09-24 06:58:33 -05:00
Slava Pestov 7ea8832556 Tweaks to reduce deployed image size 2009-09-24 06:24:43 -05:00
Slava Pestov cb497f009b Merge branch 'vm_cleanup' of git://github.com/phildawes/factor 2009-09-24 04:31:55 -05:00
Slava Pestov 576e725662 vm: Fix potential crash in <word> primitive if profiling is enabled 2009-09-24 04:31:11 -05:00
Slava Pestov 1b84f179cd cpu.x86: don't generate SSE2 instructions if only SSE1 is available 2009-09-24 04:07:15 -05:00
Slava Pestov abe3b869cf cpu.ppc: fix compile errors 2009-09-24 03:55:01 -05:00
Slava Pestov 7b6128dd03 math.vectors.simd: add v<< and v>> intrinsics for bitwise shifts on elements 2009-09-24 03:32:39 -05:00
Slava Pestov e87e686869 ui.tools.listener.completion: fix tests 2009-09-24 03:00:40 -05:00
Phil Dawes a3c84ea278 x86 bootstrap cleanup: renamed arg to arg1 2009-09-24 08:16:57 +01:00
Phil Dawes 84faf2431f cleaned up vm-field-ptr compiler code 2009-09-24 08:16:57 +01:00
Phil Dawes d25fe552ab removed superflous whitspace lines 2009-09-24 08:02:14 +01:00
Slava Pestov dee151432c Merge branch 'master' of git://factorcode.org/git/factor 2009-09-24 00:13:39 -05:00
Slava Pestov e4d566b1c2 cpu.ppc: make it load 2009-09-24 00:13:27 -05:00
Joe Groff 2b1b54d907 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-24 00:11:06 -05:00
Joe Groff 4b201f171a some windows dwm api calls to play with 2009-09-24 00:10:53 -05:00
Slava Pestov 3d0c9c4337 cpu.ppc: fix typos 2009-09-23 23:38:17 -05:00
Slava Pestov d9bf27d242 ui.tools: Minor UI tweaks 2009-09-23 22:51:25 -05:00
Slava Pestov d662acb299 ui.gadgets.buttons: don't show 'Shortcut' message if there is a gesture but its not a key gesture 2009-09-23 22:50:52 -05:00
Slava Pestov cceae875ad ui.commands: remove unused word 2009-09-23 22:50:36 -05:00
Slava Pestov 7012212708 tools.crossref: print message if there are no usages 2009-09-23 22:50:26 -05:00
Slava Pestov 4ec566b15d cpu.x86/ppc: unify register-to-register moves using %copy so that better coalescing can eliminate more moves later 2009-09-23 22:49:54 -05:00
Slava Pestov 835cd68284 html.streams: change how images work; webapps.help: support definition icons 2009-09-23 20:56:47 -05:00
Slava Pestov 0836e79e66 Fix conflict 2009-09-23 20:52:04 -05:00
Slava Pestov 3104aa3962 cpu.ppc: add dummy vector ops 2009-09-23 20:31:12 -05:00
Slava Pestov 735a093152 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-23 20:23:32 -05:00
Slava Pestov dfc9fd071e Add longlong-2, ulonglong-2, longlong-4, ulonglong-4 SIMD types, fix int-4 multiplication on SSE2 2009-09-23 20:23:25 -05:00
Slava Pestov 27fed2746a vocabs.generated: if quotation throws an exception, forget the new vocabulary 2009-09-23 20:22:47 -05:00