Commit Graph

6499 Commits (014163e27b85410396859e04a984167873ea842e)

Author SHA1 Message Date
Joe Groff b629391477 fix typedef prettyprinting 2009-09-15 22:10:41 -05:00
Joe Groff 26026ff6de fix bug in pointer type parsing 2009-09-15 22:10:16 -05:00
Joe Groff 3b4330fcf6 get things to a point where they bootstrap again 2009-09-15 21:43:18 -05:00
Joe Groff ab8abeaee4 Merge branch 'master' into c-type-words 2009-09-15 19:14:41 -05:00
Joe Groff 3c541f736f fix failing classes.struct tests 2009-09-15 19:10:05 -05:00
Joe Groff cc680ae698 Revert "make struct classes print properly in the status bar"
This reverts commit 4ee1a4f9e8.
2009-09-15 18:56:17 -05:00
Joe Groff 2462b694f7 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-15 17:45:56 -05:00
Slava Pestov 765aa5bc1d db: fix some typos in docs 2009-09-15 15:45:03 -07:00
Joe Groff d3ed042c99 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-15 17:39:05 -05:00
Joe Groff 4d16c569f0 struct classes now make their own C type without help from alien.structs. remove alien.structs dependencies from everywhere outside of alien and compiler, and have the FFI handle both alien.structs and classes.struct c-types 2009-09-15 17:38:49 -05:00
Slava Pestov 096c7e7a47 help.html: don't strip out vocabs without roots since that gets rid of private vocabs 2009-09-15 14:48:56 -07:00
Joe Groff c139077b52 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-15 16:30:34 -05:00
Slava Pestov 172219e931 compiler.tree.propagation: fix unary-op type functions with complex number inputs 2009-09-15 14:30:20 -07:00
Slava Pestov 9382c67437 alien.syntax: improve C-ENUM: docs 2009-09-15 16:24:58 -05:00
Joe Groff 3d351bf95d Merge branch 'master' of git://factorcode.org/git/factor 2009-09-15 16:08:57 -05:00
Joe Groff 35b76b83af convert compiler cpu backends to use c-type words 2009-09-15 16:08:42 -05:00
Slava Pestov b03eaf3c32 math: minor doc fixes 2009-09-15 15:42:46 -05:00
Joe Groff 95ba6a4c05 Merge branch 'master' of git://factorcode.org/git/factor into c-type-words 2009-09-15 15:19:22 -05:00
Joe Groff ac41416953 create words for c-types 2009-09-15 15:18:54 -05:00
Joe Groff 3c98ec95e2 make struct classes print properly in the status bar 2009-09-15 15:16:53 -05:00
Slava Pestov 05fe9c7ead colors.constants: clean up naming 2009-09-14 21:03:33 -05:00
Slava Pestov ded68c67c0 Fix bootstrap 2009-09-14 20:26:59 -05:00
Slava Pestov 4f702de449 math.functions: more accurate log10 (fixes problem reported by OneEyed) 2009-09-14 16:19:58 -05:00
Slava Pestov d772bff8b9 help.vocabs: tweak 'not loaded' message some more 2009-09-14 16:19:36 -05:00
Slava Pestov a1dfea7887 Merge branch 'master' of git://github.com/Blei/factor 2009-09-14 16:19:21 -05:00
Slava Pestov 5246c0c09b Merge branch 'ui' of git://github.com/klazuka/factor 2009-09-14 16:14:41 -05:00
Joe Groff 77f0fbf497 missed a few PPC status bits that needed clearing 2009-09-14 15:17:36 -05:00
Joe Groff 8c14af3f6c add a number-base configuration variable to prettyprint.config. set to 2 to print BIN:, 8 to print OCT:, 10 to print decimal, 16 to print HEX: 2009-09-14 15:03:05 -05:00
Joe Groff 2fdb16060b vm-error>exception-flags word to extract exception flag information from a trap exception 2009-09-14 14:10:51 -05:00
Keith Lazuka b6d57a4d19 help.vocabs: tweaked the vocab-not-loaded msg 2009-09-14 14:27:30 -04:00
Keith Lazuka fad3d47a8b help.vocabs: inform the user when browsing a vocab that is not loaded. 2009-09-14 11:13:45 -04:00
Keith Lazuka 91c7eb9eea Renamed a Factor theme color to something more sensible. 2009-09-14 09:01:03 -04:00
Keith Lazuka d0652d9d0b help.stylesheet: fixed black border bug around nav links in HTML documentation 2009-09-14 08:50:58 -04:00
Slava Pestov 0cadfcd7eb Merge branch 'master' of git://factorcode.org/git/factor 2009-09-14 02:39:24 -05:00
Slava Pestov c4f3a42269 math.floats.env: Fix linux x86.64 some more 2009-09-14 02:39:12 -05:00
Joe Groff 8fe9bf5429 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-13 23:40:58 -05:00
Joe Groff fb43ae2daf save the FP status out of the signal context and use it as part of the fp trap factor exception. clear the FP status before continuing after an exception 2009-09-13 23:39:12 -05:00
Slava Pestov 05b51d2739 math.floats.env: modify tests to take buggy Linux/x86-64 pow() into account 2009-09-13 23:26:09 -05:00
Slava Pestov a2de9d9e54 compiler.cfg.builder: don't run certain tests if float intrinsics are not available 2009-09-13 23:12:47 -05:00
Slava Pestov abedea0ccb math.functions: loosen tests up a bit since exp(1) on FreeBSD x86/64 differs from e in the last bit 2009-09-13 22:33:12 -05:00
Slava Pestov 3ab6dbac22 math.floats.env: fix compiled trap unit tests 2009-09-13 18:22:49 -05:00
Philipp Brüschweiler a8d1cd3135 xml-rpc: fix post-rpc 2009-09-13 21:40:58 +02:00
Slava Pestov 520ff4a26c Merge branch 'master' of git://factorcode.org/git/factor 2009-09-13 00:24:46 -05:00
Slava Pestov 16209bf68d specialized-arrays: fix unit tests now that ALIEN: expects a hex literal 2009-09-13 00:24:31 -05:00
Doug Coleman 51a3ca5b90 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-13 00:22:06 -05:00
Doug Coleman 4f094a7ce5 fix bootstrap on openbsd 2009-09-13 00:21:57 -05:00
Slava Pestov 7b36689416 core-foundation.strings: fix load error 2009-09-13 00:17:24 -05:00
Slava Pestov d14f227905 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-13 00:09:09 -05:00
Slava Pestov 3a61107f1d typos in altivec env 2009-09-12 22:30:11 -05:00
Slava Pestov 32b95c2cdf math: add unordered comparison operators u< u<= u> u>= which behave exactly like < <= > >= except no floating point exceptions are set if one or both inputs are NaNs; also add efficient intrinsic for unordered? predicate, and fix propagation type functions for abs, absq, and bitnot 2009-09-12 22:20:13 -05:00
Slava Pestov 5dfd1c70f0 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-12 21:45:22 -05:00
Slava Pestov 6eaadb7ea9 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-12 21:19:20 -05:00
Slava Pestov a2b864e4f5 ALIEN: now reads a hexadecimal integer instead of a decimal one, since in general hex is more useful for addresses 2009-09-12 21:17:53 -05:00
Doug Coleman 00e8e11d18 list file-systems with statfs instead of statvfs on openbsd 2009-09-12 21:05:26 -05:00
Joe Groff 53e23de104 set altivec denormal flag when with-denormal-mode is used 2009-09-12 20:39:41 -05:00
Joe Groff 54162af3fe Merge branch 'master' of git://factorcode.org/git/factor 2009-09-12 19:45:47 -05:00
Joe Groff e70fa134b2 add full complement of [SU]Int[0-9]+ typedefs to core-foundation 2009-09-12 19:43:57 -05:00
Joe Groff 6ce3c1d62c CFSTRING: syntax for defining CF/Cocoa string constants. update core-foundation.run-loop to use CFSTRING: 2009-09-12 19:43:23 -05:00
Joe Groff 6d328be69b all-fp-exceptions constant 2009-09-12 18:13:25 -05:00
Slava Pestov 1337f82ce6 math.order: better docs 2009-09-12 16:33:42 -05:00
Slava Pestov 87c7f882ca db: fix with-book-db combinator in db tutorial 2009-09-12 16:05:05 -05:00
Slava Pestov 3c55e7fe0c Add NAN: literal syntax for NANs with a payload 2009-09-12 15:06:15 -05:00
Slava Pestov 699695ba14 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-12 14:05:18 -05:00
Slava Pestov 54de7f09f6 Merge branch 'ui' of git://github.com/klazuka/factor 2009-09-12 14:05:05 -05:00
Slava Pestov 74cebff371 windows.dinput.constants: fix load error 2009-09-12 13:25:31 -05:00
Slava Pestov 7ae147c3bf tools.deploy.test: cut Windows some slack 2009-09-12 13:24:45 -05:00
Slava Pestov 51dd22b119 math.floats.env.ppc: fix ppc-fp-traps>bit 2009-09-12 12:57:15 -05:00
Slava Pestov d5206b26ec math.floats.env.ppc: fix ppc-fp-traps-bits 2009-09-12 12:49:51 -05:00
Joe Groff d4ee121750 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-12 09:04:53 -05:00
Joe Groff df4d1f8dd2 typos in math.floats.env.ppc 2009-09-12 09:03:27 -05:00
Slava Pestov b61ff44b66 math.vectors.simd: don't run x86-specific tests on PPC 2009-09-11 21:38:40 -05:00
Keith Lazuka 726ad992a3 Pull in new literals vocab to remove bootstrap circularity
Merge branch 'master' into ui
2009-09-11 22:19:46 -04:00
Slava Pestov a86a9c99f7 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-11 21:03:46 -05:00
Slava Pestov f1ae72413b literals: remove $$ and combinators.smart dependency 2009-09-11 21:03:24 -05:00
Slava Pestov dd661edf46 compiler.tree.propagation: convert /i of a positive integer by a power of two into a shift 2009-09-11 21:03:11 -05:00
Slava Pestov 86a848bae6 compiler.cfg.intrinsics: compile float-mod as a ##binary-float-function instead of a primitive call 2009-09-11 21:00:17 -05:00
Keith Lazuka 12446adfc2 vocabs.prettyprint: fixed indentation 2009-09-11 21:46:16 -04:00
Keith Lazuka 0e176d8de7 prettyprint.stylesheet: more idiomatic Factor style (thanks Slava) 2009-09-11 21:45:44 -04:00
Slava Pestov a25ef8b5d9 definitions.icons: fix circularity 2009-09-11 20:33:11 -05:00
Joe Groff 1be4c3a6a7 typo 2009-09-11 20:31:06 -05:00
Joe Groff 67893e5af9 json.reader doesn't need to USE: math.parser.private anymore since I made float>string public 2009-09-11 20:29:02 -05:00
Joe Groff ffcc630601 log1+ word (maps to C99 log1p function) 2009-09-11 20:28:15 -05:00
Keith Lazuka 65e9c29a7b io.styles: bailed out on the with-nested-styles combinator 2009-09-11 20:35:56 -04:00
Slava Pestov 3026d5b00b definitions.icons: add icons for authors and tags, fixing bug reported by tsculpt 2009-09-11 18:16:28 -05:00
Slava Pestov ace0c3a15a Doc fixes 2009-09-11 17:59:04 -05:00
Slava Pestov 16144a5eda Load fixes 2009-09-10 21:41:12 -05:00
Slava Pestov d5bc1ceca2 classes.struct: fix some bugs
- STRUCT: foo<ENTER> in listener threw an error
- S{ did not throw an error when used with non-struct types
- attempting to subclass a struct class now fails
- forgetting a struct class now removes the corresponding C type
- 'see'ing a struct class now indents correctly
2009-09-10 15:59:27 -05:00
Slava Pestov 5cdb67d571 specialized-arrays, specialized-vectors: fix some code duplication and prettyprinting 2009-09-10 14:46:26 -05:00
Slava Pestov dfb07601fa Merge branch 'for-slava' of git://git.rfc1149.net/factor 2009-09-10 13:15:18 -05:00
Slava Pestov 64cddef3e1 cpu.ppc: fix %single>double-float and %double>single-float 2009-09-10 13:04:58 -05:00
Keith Lazuka e1979f5ad5 help browser: tweaked the colors based on user feedback.
The USING: line should be easier to read now.
I also decided to stop highlighting symbols.
2009-09-10 13:27:49 -04:00
Slava Pestov 658017999d Merge branch 'master' of git://factorcode.org/git/factor 2009-09-10 00:50:44 -05:00
Slava Pestov 91e7e1eeea Fix the build 2009-09-10 00:47:01 -05:00
Joe Groff bda5963c62 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-09 23:38:01 -05:00
Joe Groff 61851fcd7a take the union of the x87 and sse exception flags when reporting fp-exception-flags. add back the unit tests i took out since this should fix the problem 2009-09-09 23:37:48 -05:00
Slava Pestov 7f2e2b1777 Specialized array overhaul
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
Joe Groff 3d49cc5a0d change math.floats.env tests not to use any libm functions, which don't reliably set the right hardware exceptions on linux glibc 2009-09-09 18:00:38 -05:00
Joe Groff 01b5430fbf make math.floats.env backends unportable 2009-09-09 17:32:26 -05:00
Joe Groff 4d1e832f79 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-09 17:14:48 -05:00
Joe Groff c50a35c062 altivec instructions for powerpc assembler 2009-09-09 17:14:36 -05:00