Commit Graph

6430 Commits (b03eaf3c32885517c23c691353c3bbb2c7a245a1)

Author SHA1 Message Date
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
Keith Lazuka 6fdd005b5c prettyprint.stylesheet: fixed an error found by help-lint 2009-09-09 16:46:05 -04:00
Keith Lazuka 51f40e2727 vocabs.prettyprint: made the auto-use vocab box a little easier to read 2009-09-09 16:39:26 -04:00
Keith Lazuka a96e828d7c io.styles: renamed the 'border-width' style to 'inset'. inset takes a pair of 2 numbers (horizontal and vertical insets) 2009-09-09 15:50:25 -04:00
Samuel Tardieu d23286a9ef Do not repeat sanity tests at each iteration 2009-09-09 21:35:24 +02:00
Keith Lazuka 5421f4fcb4 prettyprint.stylesheet: USING/USE/IN are now dimmed out. Added documentation. 2009-09-09 15:27:49 -04:00
Slava Pestov ed09dfe3ae Merge branch 'master' of git://factorcode.org/git/factor 2009-09-09 13:56:20 -05:00
Slava Pestov daff63071f Fix the build 2009-09-09 13:44:54 -05:00
Keith Lazuka 28b8703b5b help.html: link color now matches help.stylesheet link color 2009-09-09 13:33:40 -04:00
Keith Lazuka 1bb48ec9ea Changed Browser's "Up:" links to a traditional breadcrumbs list.
Tweaked a few colors in the Factor UI.
2009-09-09 10:44:41 -04:00
Slava Pestov db4f8f47ea Merge branch 'master' of git://factorcode.org/git/factor 2009-09-08 23:54:05 -05:00
Slava Pestov a01f693335 cpu.ppc: fix bootstrap 2009-09-08 23:53:51 -05:00
Joe Groff 1c62a978d0 add some tests to help track down leaks in FP state changes 2009-09-08 23:07:33 -05:00
Slava Pestov 0e2a3e4292 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-08 22:34:17 -05:00
Slava Pestov cd5133b233 cpu.x86: tweak SIMD intrinsics 2009-09-08 22:34:01 -05:00
Joe Groff f166797dd4 no really, update ppc for argument order changes 2009-09-08 22:21:00 -05:00
Joe Groff 3003b9e5d0 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-08 21:58:25 -05:00
Joe Groff c95a7febb0 update cpu.ppc for argument order changes 2009-09-08 21:58:11 -05:00
Slava Pestov 15d85c1c4f compiler.cfg.save-contexts: add new pass 2009-09-08 21:56:28 -05:00
Slava Pestov 8916fb7a3c Merge branch 'master' of git://factorcode.org/git/factor 2009-09-08 21:51:21 -05:00
Slava Pestov 7e2f0e5dbf compiler: separate ##save-context instruction from ##alien-invoke, generate a ##save-context for libm calls, and add a pass to combine multiple context saves within a basic block. Fixes crashes with FP traps thrown by libm functions on x86-32 2009-09-08 21:50:55 -05:00
Joe Groff 9be1f42fe9 typos in cpu.ppc 2009-09-08 21:44:11 -05:00
Slava Pestov 7473983383 tools.annotations: document the fact that certain words should not be annotated 2009-09-08 20:49:12 -05:00
Slava Pestov 410d2bf0d0 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-08 19:35:14 -05:00
Slava Pestov 74fa73aeaf Fix various test failures 2009-09-08 19:18:56 -05:00
Doug Coleman 1fc0940b2a make something private 2009-09-08 17:10:19 -05:00
Doug Coleman d02d95ea34 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-08 17:05:58 -05:00
Doug Coleman 5a7ac3965d use raw pathnames for file-systems word 2009-09-08 17:05:05 -05:00
Joe Groff 7be557d100 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-08 17:04:44 -05:00
Joe Groff 0ea9949e51 split unordered and ordered float comparison intrinsics in compiler; generate only unordered comparisons for now 2009-09-08 17:04:26 -05:00
Doug Coleman 740a175e56 duplicate using 2009-09-08 17:02:31 -05:00
Slava Pestov fe25bb097f Merge branch 'master' of git://factorcode.org/git/factor 2009-09-08 16:23:37 -05:00
Slava Pestov 9159ce74ab ui.tools.browser: don't scroll up when reloading page 2009-09-08 16:23:12 -05:00
Slava Pestov c52ffebffe math.rectangles.positioning: don't position popups off-screen 2009-09-08 16:23:02 -05:00
Joe Groff f2212acd46 Merge branch 'master' into strong-typing 2009-09-08 15:53:20 -05:00
Joe Groff 7a2aecea1c Merge branch 'master' of git://factorcode.org/git/factor 2009-09-08 15:48:18 -05:00
Joe Groff 1fcc0875ba update math.floats.env.x86 for sse detection change 2009-09-08 15:47:03 -05:00
Slava Pestov 5786ea76d9 debugger: doc fixes 2009-09-08 15:43:00 -05:00
Joe Groff 2ad9459b85 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-08 15:37:32 -05:00
Joe Groff 0ec342a1c5 factor out x86 and ppc backends for math.floats.env; update both x87 and SSE state on x86 2009-09-08 15:36:53 -05:00
Slava Pestov e2fa28a727 tools.deploy.shaker: strip out math.vectors specializations 2009-09-08 15:20:46 -05:00
Slava Pestov 33bfb95614 Fix some annoying circularity; prettyprinter cannot depend on any vocab that depends on locals or stack-checker 2009-09-08 15:15:36 -05:00
Slava Pestov d596e3abe7 math.vectors.simd: fix help rendering 2009-09-08 14:49:27 -05:00
Slava Pestov 12102e488f see: don't show accessor methods in see-methods 2009-09-08 14:46:36 -05:00
Slava Pestov c4c6c6b986 ui.gadgets.buttons: don't show message if no shortcut assigned 2009-09-08 14:46:16 -05:00
Slava Pestov 6d1e4947e8 Merge branch 'ui-tweaks' of git://github.com/klazuka/factor 2009-09-08 14:37:05 -05:00
Keith Lazuka ab7e2fc69b 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.
2009-09-08 15:25:27 -04:00
Slava Pestov a0e1af5891 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-08 14:22:52 -05:00
Slava Pestov 8b6ec8e030 cpu.x86.features: better wording 2009-09-08 14:17:05 -05:00
Doug Coleman 759159f86b Merge branch 'master' of git://factorcode.org/git/factor 2009-09-08 14:15:53 -05:00
Doug Coleman eb558fcc9c remove deprecated inotify-event struct 2009-09-08 14:15:25 -05:00
Slava Pestov e5e7c1f725 cpu.x86.features: add -sse-version command-line switch to override SSE detection 2009-09-08 13:56:37 -05:00
Slava Pestov 1e5bc3b376 inline alien-vector and set-alien-vector if SIMD is not available for a small speedup 2009-09-08 13:56:17 -05:00
Slava Pestov 82a8ef7beb math.vectors.simd: remove useless dependency 2009-09-08 13:55:56 -05:00
Slava Pestov aa4307765b Merge branch 'master' into simd 2009-09-08 13:38:14 -05:00
Slava Pestov f5536bdde0 math.vectors.specialization: specialized vector words are now subwords of the generic vector word. This ensures that specializations get compiled correctly in all cases 2009-09-08 13:37:25 -05:00
Doug Coleman 942fb7b048 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-08 13:22:52 -05:00
Keith Lazuka 9c7d45e08a Removed text shadow support 2009-09-08 14:22:27 -04:00
Slava Pestov 2d46cfdf9e Improved line number handling for unit test failure errors 2009-09-08 13:13:30 -05:00
Slava Pestov c707ba5d61 Merge branch 'for-slava' of git://git.rfc1149.net/factor 2009-09-08 13:09:27 -05:00
Slava Pestov 0c936c14ca Merge branch 'for-slava' of git://git.rfc1149.net/factor into simd 2009-09-08 13:02:00 -05:00
Keith Lazuka 3fb75247b2 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.
2009-09-08 13:30:30 -04:00
Slava Pestov 38c961cf6f Fixes 2009-09-08 00:13:18 -05:00
Slava Pestov bbca00e2ae Fix conflicts 2009-09-07 23:51:25 -05:00
Slava Pestov 9f9b6bca01 compiler.tree.propagation: type check inputs to unsafe foldable words manually, so that stuff like [ "Hi" { } fixnum+fast ] doesn't crash in the compiler 2009-09-07 23:40:23 -05:00
Slava Pestov 0ad4557d62 tools.deploy: fix facepalm 2009-09-07 22:48:57 -05:00
Slava Pestov ed60c89e94 tools.deploy: add unit test to ensure Cocoa binding works in deployed apps 2009-09-07 17:59:34 -05:00
Slava Pestov a1ae209f81 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 2009-09-07 17:45:03 -05:00
Joe Groff e3509e7f11 tighten up math.floats.env docs 2009-09-07 10:50:40 -05:00
Joe Groff 25b45d6af0 test fp traps 2009-09-06 09:04:46 -05:00