Commit Graph

6738 Commits (4abfe06b51e36338033259710a353ad541d2b188)

Author SHA1 Message Date
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
Slava Pestov 1ba83c986c summary: change default summary 2009-09-23 20:22:25 -05:00
Joe Groff 0845ffaf39 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-23 19:42:18 -05:00
Joe Groff bc5031f96b update vm structs 2009-09-23 19:42:00 -05:00
Joe Groff cba071c969 don't construct a prototype for struct classes that don't need it 2009-09-23 19:41:46 -05:00
Slava Pestov 563ecbd871 cpu.x86.assembler: cleanup 2009-09-23 19:30:36 -05:00
Slava Pestov 7c83ccf6b0 xml.syntax: fix help lint 2009-09-23 17:56:19 -05:00
Slava Pestov 413dc67985 Put bad escape code in the bad-escape error 2009-09-23 17:55:54 -05:00
Doug Coleman a4524874f4 remove <" from multiline tests 2009-09-23 16:24:32 -05:00
Doug Coleman faf54ce8e2 fix yet more multiline tests 2009-09-23 12:57:37 -05:00
Doug Coleman 823c2c0a58 fix using and tests 2009-09-23 12:54:34 -05:00
Doug Coleman 05ddfb37dc fixing docs 2009-09-23 12:52:42 -05:00
Doug Coleman b9bc619b1b fix db docs for multiline strings 2009-09-23 12:49:30 -05:00
Doug Coleman 402e770296 fix using 2009-09-23 12:47:20 -05:00
Doug Coleman 204da68c23 link to sample 2009-09-23 12:24:50 -05:00
Doug Coleman fa15da56ff add sample word to random vocab 2009-09-23 12:04:06 -05:00
Doug Coleman 810bd63820 Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/math/vectors/simd/simd-docs.factor
2009-09-23 10:11:49 -05:00
Slava Pestov 854c81e17f Merge branch 'master' of git://factorcode.org/git/factor 2009-09-22 23:54:49 -05:00
Slava Pestov 6d4e5af088 cpu.x86.features: don't fold away sse-version, instead memoize it and recompute on startup 2009-09-23 05:13:15 -05:00
Slava Pestov f017f8904b math.vectors.simd: Improved documentation 2009-09-23 03:14:06 -05:00
Slava Pestov 43acea72b9 specialized-vectors: improved documentation 2009-09-23 03:08:54 -05:00
Slava Pestov e1efb189a4 math and math.vectors: improved documentation 2009-09-23 03:08:45 -05:00
Slava Pestov 9f59f6b9c6 Merge branch 'master' into integer-simd 2009-09-23 02:48:38 -05:00
Slava Pestov 3d4ce094d2 prettyprint.backend: don't bomb if printing length-limited sequence which doesn't like being resized itself. Instead convert to array of elements first 2009-09-23 02:48:23 -05:00
Slava Pestov 7d39499d86 compiler.cfg.ssa.cssa: correctly handle overflowing fixnum instructions 2009-09-23 02:47:56 -05:00
Slava Pestov 43fa252af5 math.vectors.simd: new operations: vabs vsqrt vbitand vbitor vbitxor 2009-09-23 02:47:14 -05:00
Slava Pestov 15ba7e299b math.vectors.simd: fix all tests 2009-09-23 01:05:19 -05:00
Slava Pestov 74a72ce17c checksums.openssl: use correct API for creating EVP_MD_CTX, fixes crash on NetBSD 2009-09-22 23:54:42 -05:00
Slava Pestov d23826906f Merge branch 'master' into integer-simd 2009-09-22 20:21:40 -05:00
Doug Coleman e475817764 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-22 18:00:47 -05:00
Slava Pestov 7cfc63af51 compiler.tree.propagation.branches: M: #phi propagate-around was unnecessary 2009-09-22 17:56:50 -05:00
Daniel Ehrenberg 45ba559ce4 Merge branch 'master' of git://factorcode.org/git/factor into constraints 2009-09-22 16:09:33 -05:00
Daniel Ehrenberg 6e936bdb05 Fixing failing unit tests in compiler.tree.propagation due to constraints 2009-09-22 16:01:14 -05:00
Keith Lazuka bea4aa7662 docs: updated some docs to use new markup 2009-09-22 15:22:34 -04:00
Doug Coleman 51ddc963b8 Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	core/generic/generic-tests.factor
2009-09-22 10:25:42 -05:00
Keith Lazuka d552ce8ef6 html.streams: the 'image' character stream style now generates an <img> HTML element
NOTE: You must manually copy your image resources to your web server
      such that the images are available from the "/images" root URL.
	  For example, if your resource is "vocab:definitions/icons/normal-word.tiff"
	  then it should be copied such that it is available via the following URL:
	  "http://myserver.org/images/basis/definitions/icon/normal-word.tiff"
	  (the original path is first normalized and then the Factor root prefix
	   is stripped away).

NOTE: Factor's definition-icons are in TIFF format, which appears to be
	  supported out-of-the-box by very few web browsers (namely Safari).
	  Perhaps we should switch from TIFF to GIF or PNG? Are these vocabs
	  ready to be used?
2009-09-22 09:06:56 -04:00
Slava Pestov b0f87fd6a0 cpu.ppc: fix load errors 2009-09-22 05:24:34 -05:00
Slava Pestov 0e3a261637 Fix test failures in compiler.cfg.linearization.order, compiler.tests.low-level-ir and compiler.graphviz 2009-09-22 05:07:52 -05:00
Slava Pestov 629fd1fc82 Merge branch 'master' into integer-simd 2009-09-22 03:24:52 -05:00
Slava Pestov fe0701deb1 math.functions: fix ~ with negative (relative) tolerance 2009-09-22 03:19:47 -05:00
Slava Pestov 513ba1f176 compiler.cfg.linearization.order: basic blocks were being inserted twice if some blocks had repeated successors, causing problems for register allocation 2009-09-22 03:19:23 -05:00
Slava Pestov fe948f0b26 Move breakpoint word from tools.annotations to tools.walker to reduce amount of dependencies tools.annotations pulls into a minimal image 2009-09-22 03:16:31 -05:00
Doug Coleman 097b7d338c remove usage of <" in multiline 2009-09-21 23:01:28 -05:00
Doug Coleman b86314ec39 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-21 17:59:48 -05:00
Doug Coleman 77dd5f6677 remove <" and friends 2009-09-21 17:59:37 -05:00
Slava Pestov 0f0bf667b5 Merge branch 'master' of git://factorcode.org/git/factor into integer-simd 2009-09-21 17:58:24 -05:00
Slava Pestov 962d039852 Rename specific-method to method-for-class, rename (effective-method) to method-for-object, and make both much faster 2009-09-21 17:42:20 -05:00
Joe Groff 08b29b0b84 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-21 16:05:34 -05:00
Joe Groff b5bd0532c2 oops--Segoe is the windows 6.x system font, not Calibri 2009-09-21 16:05:13 -05:00
Keith Lazuka c4ed7f38b7 help: added documentation for $subsections 2009-09-21 15:46:34 -04:00
Keith Lazuka 9982ce4e95 urls.encoding: fix for error found by help-lint 2009-09-21 15:42:58 -04:00
Keith Lazuka c4419ba4a3 help.markup: made $nl less promiscuous with its newlines 2009-09-21 15:41:04 -04:00
Keith Lazuka f9bb7edf3d prettyprint.stylesheet: stack effect highlighting is now a darker green 2009-09-21 15:38:55 -04:00
Keith Lazuka 66a6108d42 help.markup: added $subsections markup and consolidated $link implementations
- Created a new markup element, $subsections, which is a plural variant
     of $subsection. The advantage is that it automatically inserts a
     blank line after the final subsection which makes help articles
     considerably easier to read.
- Consolidated the implementation of $link, $long-link and $pretty-link
- Moved $definition-icons from definition.icons to help.markup
- Moved $pretty-link from help.vocabs to help.markup
2009-09-21 15:35:16 -04:00
Keith Lazuka 992a49839f help: inserted a blank line between the title and the article content. 2009-09-21 15:33:21 -04:00
Doug Coleman 4dbceb60e8 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-21 14:22:14 -05:00
Joe Groff 6ce8eba961 prettyprint CALLBACK: defs 2009-09-21 14:14:12 -05:00
Joe Groff 0ff319c409 docs for C type words 2009-09-21 13:39:55 -05:00
Joe Groff 55988828bf update alien docs to talk about C types as words 2009-09-21 13:20:01 -05:00
Joe Groff 00fa7f73fb add CALLBACK: syntax that defines a typedef and an alien-callback constructor word for function pointer types. update some code in iokit.hid and windows.dinput to use CALLBACK: instead of TYPEDEF:/word pairs 2009-09-21 11:59:41 -05:00
Joe Groff 6b9954ffad Merge branch 'master' of git://factorcode.org/git/factor 2009-09-20 23:59:57 -05:00
Joe Groff b09006bba9 include LIBRARY: in FUNCTION: synopsis 2009-09-20 23:59:43 -05:00
Doug Coleman 57c2caa236 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-20 23:39:33 -05:00
Joe Groff 9d3d7f549a Merge branch 'master' of git://factorcode.org/git/factor 2009-09-20 23:35:18 -05:00
Joe Groff 6645b41fac use hott vista fonts on windows 6.x 2009-09-20 23:34:53 -05:00
Slava Pestov 603a560eaf cpu.x86: fix using list 2009-09-20 23:24:30 -05:00
Joe Groff 3eeaca8631 move system-info to basis 2009-09-20 23:24:24 -05:00
Slava Pestov 9d90bdd439 Fix conflict 2009-09-20 23:18:07 -05:00
Slava Pestov ea44ea3522 math.vectors.simd: add saturated arithmetic operations 2009-09-20 23:16:02 -05:00
Joe Groff 08d9d0ad28 fix synopsis for C-TYPE:, TYPEDEF:, and FUNCTION: so they properly show IN: clause 2009-09-20 23:12:31 -05:00
Doug Coleman 5cb34724b7 Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/classes/struct/struct-tests.factor
	basis/functors/functors-tests.factor
	basis/specialized-arrays/specialized-arrays-tests.factor
2009-09-20 23:02:49 -05:00
Doug Coleman eceed177d6 replace usages of <" with """ 2009-09-20 22:42:40 -05:00
Slava Pestov acea55c692 math.vectors: add v+- word which is accelerated by SSE3 2009-09-20 17:43:16 -05:00
Slava Pestov 47d8763340 More integer SIMD work
- move generated vocab support from specialized-arrays to vocabs.generated
- add fuzz testing to math.vectors.simd
- add alien type support for integer SIMD vectors
- SIMD: parsing word generates a SIMD type, instead of pre-generating them all in math.vectors.simd
2009-09-20 16:48:17 -05:00
Slava Pestov 29c4512066 cpu.x86: cleanup 2009-09-20 04:17:34 -05:00
Slava Pestov f8a91438cd Merge Phil Dawes' VM work 2009-09-20 03:48:08 -05:00
Slava Pestov e77341b90c math.vectors.simd: redesign to be more flexible, integer SIMD work in progress 2009-09-20 02:08:32 -05:00
Joe Groff 2313b077d2 fix windows bootstrap 2009-09-19 11:30:23 -05:00
Joe Groff b7eff85fe0 fix windows test failures 2009-09-19 10:01:12 -05:00
Joe Groff f738a4dc4e more windows loading fixes 2009-09-19 02:44:40 -05:00
Joe Groff 014163e27b windows loading fixes 2009-09-19 02:31:06 -05:00
Joe Groff 5e15da2b42 update windows.winsock structs 2009-09-18 19:25:00 -05:00
Joe Groff 72049b95ce update windows.usp10 structs 2009-09-18 19:14:59 -05:00
Joe Groff c86bef70c9 update windows.types structs 2009-09-18 19:12:31 -05:00
Joe Groff 40a17176e9 update windows.ole32 structs (*) 2009-09-18 18:57:36 -05:00
Joe Groff 81db20f59e update windows.kernel32 structs (*) 2009-09-18 18:54:08 -05:00
Joe Groff c093f52271 update structs in windows.advapi32 2009-09-18 18:44:36 -05:00
Joe Groff 91902825ac update structs in unix.utmpx 2009-09-18 18:30:48 -05:00
Joe Groff 36fc70160d update tools.disassembler.udis structs 2009-09-18 17:57:50 -05:00
Joe Groff e6bc708882 update openssl.libcrypto structs 2009-09-18 17:50:20 -05:00
Joe Groff 47359279a5 update structs in cairo.ffi 2009-09-18 17:42:25 -05:00
Joe Groff 238f600da2 document number-base prettyprinter variable. add more docs about hex float syntax 2009-09-18 15:11:01 -05:00
Joe Groff b48beb48f4 fix loading problems on windows 2009-09-18 10:01:38 -05:00
Joe Groff 076ab42dc3 move some allocation words that don't really have much to do with c types out of alien.c-types into a new alien.data vocab 2009-09-17 22:36:05 -05:00
Joe Groff aa1edad078 disambiguate math:float in cpu.ppc 2009-09-17 19:10:40 -05:00
Joe Groff 0354ab60ba Merge branch 'master' of git://factorcode.org/git/factor 2009-09-17 15:31:43 -05:00
Slava Pestov 7f1c33f363 stack-checker.errors: improve documentation a bit 2009-09-17 13:27:15 -07:00
Joe Groff fc3e3de48d Merge branches 'master' and 'master' of joe@factorcode.org:/git/factor into c-type-words 2009-09-17 15:26:34 -05:00
Doug Coleman 086d4a87b4 fix recaptcha docs 2009-09-17 13:09:45 -07:00
Joe Groff 4758cca223 fix dinput device hotplug support 2009-09-17 14:22:49 -05:00
Joe Groff eeebf6c751 fix loading issues in windows vocabs 2009-09-17 14:01:41 -05:00
Joe Groff cbebaada2f Merge branch 'master' of git://factorcode.org/git/factor into c-type-words 2009-09-17 11:50:03 -05:00
Doug Coleman ce97e7328b move recaptcha example to a vocabulary on disk 2009-09-17 09:48:49 -07:00
Doug Coleman e6caf0ab19 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-17 09:23:42 -07:00
Doug Coleman 17008bd275 fix recaptcha, move to furnace.recaptcha 2009-09-17 09:13:33 -07:00
Joe Groff 1f04ed01fe fix more ambiguities 2009-09-17 09:29:23 -05:00
Joe Groff fa60d96ae4 fix "float" ambiguities in math.blas, opengl vocabs 2009-09-16 21:25:46 -05:00
Joe Groff 8f336b4ec0 alien.fortran can't piggyback the alien.parser arg parser anymore 2009-09-16 21:24:10 -05:00
Joe Groff 263ce45932 fix resolve-pointer-type 2009-09-16 20:54:57 -05:00
Joe Groff 9479fb4099 have SPECIALIZED-ARRAY: scan in a c-type rather than a string 2009-09-16 20:54:22 -05:00
Joe Groff 2e4d6389e2 Merge branch 'master' into c-type-words
Conflicts:
	basis/functors/functors-tests.factor
2009-09-16 18:11:07 -05:00
Slava Pestov d79b6d590e html.templates.chloe: minor doc fix 2009-09-16 16:11:05 -07:00
Joe Groff 18608cb4bb Merge branch 'master' of git://factorcode.org/git/factor 2009-09-16 18:07:55 -05:00
Joe Groff 748ba4b833 give a better error message when an invalid slot name is used in a tuple/struct literal 2009-09-16 18:07:39 -05:00
Joe Groff d1c69efc0f fix functors tests 2009-09-16 17:38:01 -05:00
Joe Groff 58756c27c5 have typedefs take on the old type's pointer type even when the new type is a word and the old a string 2009-09-16 17:36:50 -05:00
Joe Groff 40620d470f allow word c-types and definitions to coexist 2009-09-16 17:18:19 -05:00
Joe Groff c880d3fff3 update functors tests 2009-09-16 15:41:38 -05:00
Doug Coleman 08989815d8 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-16 13:17:30 -07:00