Commit Graph

6499 Commits (014163e27b85410396859e04a984167873ea842e)

Author SHA1 Message Date
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
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
Joe Groff e705470d42 make public words for querying current rounding mode, denormal mode, and trap set 2009-09-06 08:50:54 -05:00
Joe Groff 7ba71a524e Send FP trap signals to Factor as a different vm-error type 2009-09-06 08:44:25 -05:00
Joe Groff 96db254311 unit tests for math.floats.env 2009-09-06 07:50:56 -05:00
Joe Groff 36ec53a968 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
2009-09-05 19:48:13 -05:00
Slava Pestov 75f7e27c6c Use new-style structs for overlapped struct on Windows 2009-09-05 16:20:58 -05:00
Slava Pestov 9881332ddb windows.com.prettyprint: add unportable tag 2009-09-05 10:59:40 -05:00
Slava Pestov 1798000335 Fix unit tests for specialized-arrays.direct change 2009-09-05 02:26:06 -05:00
Slava Pestov a054ec3d64 specialized-arrays.direct is no more; instead, every specialized-array.<foo> vocabulary has a <direct-T-array> constructor 2009-09-04 22:01:55 -05:00
Slava Pestov 3e6189fec1 windows.com: split off prettyprinting into windows.com.prettyprint 2009-09-04 22:00:23 -05:00
Slava Pestov 1bdaebdf5e tools.deploy.shaker: strip out struct slot info 2009-09-04 21:59:49 -05:00
Slava Pestov 084c3cac3d io.launcher.windows.nt: make tests more robust 2009-09-04 21:59:11 -05:00
Joe Groff f93f96150e Merge branch 'master' of git://factorcode.org/git/factor 2009-09-04 12:30:48 -05:00
Joe Groff d47d747ebc i had comisd/ucomisd backwards on x86 2009-09-04 12:30:30 -05:00
Slava Pestov 0238fce941 ui.backend.x11: fix set-fullscreen 2009-09-04 12:35:45 -04:00
Slava Pestov 382e1d5b0e fix some typos in cpu.ppc 2009-09-04 11:18:41 -05:00
Slava Pestov 92d5d8f0c5 Merge branch 'master' of git://factorcode.org/git/factor into ppc-float-compare 2009-09-04 10:58:50 -05:00
Joe Groff 638e351131 update powerpc compiler to generate correct float comparisons 2009-09-04 10:51:12 -05:00
Slava Pestov f0d5f99d23 io.backend.windows: fix for deployment 2009-09-04 09:27:46 -05:00
Slava Pestov b238a1719f io.backend.windows.nt.privileges: fix make-token-privileges 2009-09-04 09:08:04 -05:00
Slava Pestov fc1bf07a1f cpu.ppc: fix typo 2009-09-04 06:41:33 -05:00
Slava Pestov c9e04cd8f5 match: cleanup 2009-09-04 06:11:28 -05:00
Slava Pestov 223b907219 Fix sockets on Windows, and re-organize things so that windows.winsock doesn't get loaded by default 2009-09-04 05:02:33 -05:00
Slava Pestov 742db564f3 io.sockets: fix to work in deployed apps 2009-09-04 03:57:57 -05:00
Slava Pestov 7c04b912bb compiler.cfg.value-numbering: update tests for Joe's condition code changes 2009-09-04 03:11:56 -05:00
Slava Pestov 4a2823b2eb compiler: tweak generated code 2009-09-04 03:01:18 -05:00
Slava Pestov e11d1e37f5 math.vectors.simd: allow punning SIMD vectors between types 2009-09-04 02:35:58 -05:00
Slava Pestov 6494e7a53b 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 2009-09-04 02:23:25 -05:00
Slava Pestov c92e54b560 compiler.cfg.intrinsics: fix type detection on the alien type for vector accessors 2009-09-04 02:22:54 -05:00
Slava Pestov 1fc809b643 math.vectors.simd: docs 2009-09-04 01:22:18 -05:00
Slava Pestov 6b5e40b2fc functors: support private words with DEFINES-PRIVATE; use this to make some words generated by math.vectors.simd.functor private 2009-09-04 01:21:59 -05:00
Joe Groff 366946348c make struct-mirror an instance of assoc 2009-09-03 22:31:55 -05:00