Doug Coleman
38f11415c8
assocs: Add of and ?of. Change all the things at once! Fixes #701 .
2013-03-23 14:59:07 -07:00
Doug Coleman
91fb609950
basis/extra: Update last usages of <sliced-groups> to <groups>.
2013-03-23 12:08:18 -07:00
Doug Coleman
36b8b56b2c
grouping: Remove <clumps> and <circular-clumps> and rename <sliced-clumps>
...
and <sliced-circular-clumps> to those. Fixes #765 .
2013-03-23 11:38:05 -07:00
Doug Coleman
b792bd1f55
grouping: Remove <groups>, old <sliced-groups> is now <groups>. Fixes
2013-03-23 11:37:51 -07:00
John Benediktsson
348923153b
lcs: more performance improvements.
2013-03-21 21:16:34 -07:00
John Benediktsson
0604a65dbd
compiler.tree: fewer namespace lookups.
2013-03-21 19:36:07 -07:00
John Benediktsson
5bf3c4ed06
compiler: fewer namespace lookups.
2013-03-21 19:11:20 -07:00
John Benediktsson
18cfef8d9e
disjoint-sets: ahem.
2013-03-21 18:13:24 -07:00
John Benediktsson
f112a7101a
boxes: don't check occupied twice.
2013-03-21 17:57:03 -07:00
John Benediktsson
021a80416f
lcs: performance improvements.
2013-03-21 17:55:09 -07:00
John Benediktsson
00828338da
base64: faster encode and decode.
2013-03-21 17:46:07 -07:00
John Benediktsson
07ce8bb651
math: some style cleanup.
2013-03-21 08:54:14 -07:00
John Benediktsson
7b23dcc4a1
tools.completion: fix test cases.
2013-03-20 23:08:00 -07:00
John Benediktsson
5a569a2474
tools.completion: matching names.
2013-03-20 16:51:09 -07:00
Doug Coleman
8b06a2b8ab
tools, ui.tools: Rename complete-P"? to complete-pathname?
2013-03-20 16:18:30 -07:00
Doug Coleman
08bed475fa
math.ranges: Stopgap fix for math.ranges unit tests. See issues #803 , #800 , #508 .
2013-03-20 15:54:57 -07:00
John Benediktsson
6b81afa1a7
prettyprint: fix length limit to be 'maximum length before truncation'.
2013-03-20 15:30:29 -07:00
Doug Coleman
8273e8fbf6
prettyprint: Don't print ~1 more~ when there is only one element left. Fixes #524 .
2013-03-20 14:26:05 -07:00
Doug Coleman
52c8fae1e0
math.ranges: Add a bunch more tests for empty ranges.
2013-03-20 13:52:03 -07:00
Doug Coleman
3b76d51219
typed: Add unit test for #778 .
2013-03-20 11:14:09 -07:00
John Benediktsson
ec83995999
typed: prevent TYPED: definitions without types.
2013-03-20 11:09:34 -07:00
John Benediktsson
cd08d246e1
compiler.cfg.intrinsics: intrinsics on inline words are not supported.
2013-03-20 10:59:45 -07:00
John Benediktsson
8edab41922
locals.parser: check for valid locals names.
2013-03-20 09:48:55 -07:00
John Benediktsson
67353d7c87
zoneinfo: fix for calendar renaming.
2013-03-20 09:02:40 -07:00
John Benediktsson
377ab98c77
calendar: fix bootstrap problem.
2013-03-19 22:40:23 -07:00
Doug Coleman
bcc0b83e33
calendar: Add more utility words for date abbrevations.
2013-03-19 17:23:26 -07:00
John Benediktsson
be570d9419
csv: cleanup some of the words a bit.
2013-03-19 11:03:30 -07:00
John Benediktsson
422276c3fd
io.encodings: speed up ascii and utf8 stream-read-until.
2013-03-18 13:35:22 -07:00
John Benediktsson
a9ddea9349
stack-checker: more use of hash-sets.
2013-03-16 13:41:51 -07:00
John Benediktsson
fa3dc9342c
io.encodings: remove duplication in decoder-readln.
2013-03-15 10:50:40 -07:00
John Benediktsson
8f1610622b
io.encodings.strict: some fixes.
2013-03-15 07:55:20 -07:00
John Benediktsson
f780015b38
help.handbook: show vocab name for strict encodings.
2013-03-15 07:52:22 -07:00
John Benediktsson
5eaf3c6d68
io.files.info.unix.linux: use string>csv instead.
2013-03-15 06:40:24 -07:00
John Benediktsson
da78ed8fe2
csv: fix help-lint warnings.
2013-03-15 06:16:34 -07:00
John Benediktsson
5815091b6e
csv: fixing the tests for recent interface changes.
2013-03-14 21:21:20 -07:00
John Benediktsson
5c22d7efe9
csv: cleanup public interface, adding stream- versions of read/write words.
2013-03-14 21:18:34 -07:00
John Benediktsson
cdbad950c3
csv: some performance improvements.
2013-03-14 21:05:41 -07:00
John Benediktsson
6a349523a9
Use bl in more places.
2013-03-14 19:24:00 -07:00
John Benediktsson
e6a09a4198
json: some performance improvements.
2013-03-14 18:53:13 -07:00
John Benediktsson
1593660116
memoize: change unpacker to embed array type.
2013-03-14 14:50:41 -07:00
John Benediktsson
88a11ffe48
tools.crossref: fix for bootstrap errors.
2013-03-12 21:01:16 -07:00
John Benediktsson
a45bab49df
tools.crossref: more "make UI browser happy".
2013-03-12 09:27:07 -07:00
John Benediktsson
9872a8bec9
ui.tools.browser.popups: fix in/out links popups.
2013-03-12 09:10:16 -07:00
Doug Coleman
dfe6a811e5
sequences: Add some short useful factors. Clean up the use of longest.
2013-03-11 17:47:52 -07:00
Doug Coleman
319adf032e
basis: End <PRIVATE with PRIVATE>.
2013-03-10 22:36:57 -07:00
Doug Coleman
90fe9c3a1c
io.encodings.utf32: Fix unmatched <PRIVATE.
2013-03-10 22:20:59 -07:00
John Benediktsson
7ddd1d956e
Fix some tests broken by recent definitions change.
2013-03-10 20:22:18 -07:00
John Benediktsson
32240e0a66
compiler: cleaner use of sets.
2013-03-10 17:21:27 -07:00
John Benediktsson
ca4cb44f7e
compiler: more use of hash-sets.
2013-03-10 16:13:31 -07:00
John Benediktsson
2d600f8caa
compiler.tree.dead-code.simple: curry live-values.
2013-03-10 16:13:31 -07:00
John Benediktsson
b0a83ecf97
ui: change selected gadgets to a hash-set.
2013-03-10 16:13:30 -07:00
Doug Coleman
855103e39b
help: Mismatched <PRIVATE PRIVATE> pair.
2013-03-10 15:14:14 -07:00
Doug Coleman
b0308e898e
math.statistics: Fix histogram and collect. Histogram used each-index even when it didn't need to.
2013-03-10 12:57:48 -07:00
Doug Coleman
56720db9bd
classes.builtin: Add the BUILTIN: keyword which lets builtin classes show up in source files. Probably could use save-location to allow editing, but it seemed to break things.
2013-03-10 12:05:38 -07:00
John Benediktsson
c8e648c5bf
compiler.cfg.loop-detection: more use of hash-sets.
2013-03-10 10:06:48 -07:00
John Benediktsson
b5550e67c2
compiler.cfg.ssa.construction: more use of hash-sets.
2013-03-10 10:03:11 -07:00
John Benediktsson
07478b7a2b
tools.scaffold: more use of hash-sets.
2013-03-10 10:02:53 -07:00
John Benediktsson
76b9220bfa
compiler.tree.tuple-unboxing: simpler checks.
2013-03-10 09:36:52 -07:00
John Benediktsson
3be783eb67
compiler.units: changing definitions-changed to use a set.
2013-03-10 09:11:18 -07:00
John Benediktsson
3ffacf75d2
graphs: moving to basis.
2013-03-09 08:31:06 -08:00
John Benediktsson
e343fc7b01
tools.crossref: fix help-lint.
2013-03-08 22:24:21 -08:00
John Benediktsson
2be6d81feb
ui.tools.listener.completion: fix use of search-vocab-names.
2013-03-08 17:53:02 -08:00
Doug Coleman
6b26a91973
tools.completion: Add utility word for searching for a string in a sequence of strings.
2013-03-08 16:50:10 -08:00
John Benediktsson
3db1e292a3
regexp.dfa: more use of hash-sets.
2013-03-08 16:50:59 -08:00
John Benediktsson
6ef0e711c8
prettyprint.sections: more use of hash-sets.
2013-03-08 16:32:09 -08:00
John Benediktsson
9a0ccea599
destructors: use hash-sets to keep track of disposables.
2013-03-08 16:30:33 -08:00
John Benediktsson
a68a68a2c9
tools.crossref: speed up build-crossref.
2013-03-08 16:18:26 -08:00
John Benediktsson
17c1cae124
compiler.tree.modular-arithmetic: more use of hash-sets.
2013-03-08 15:58:16 -08:00
John Benediktsson
3f7b2d3ec3
tools.profiler.sampling: more use of hash-sets.
2013-03-08 14:36:04 -08:00
John Benediktsson
40b4b3ad89
compiler.cfg.loop-detection: more use of hash-sets.
2013-03-08 12:38:50 -08:00
John Benediktsson
9af579aa69
compiler.tree.recursive: more use of hash-sets.
2013-03-08 12:34:23 -08:00
John Benediktsson
f8b8ab370e
compiler.cfg.write-barrier: more use of hash-sets.
2013-03-08 12:30:37 -08:00
John Benediktsson
6e167aeb19
compiler.cfg.ssa.construction: more use of hash-sets.
2013-03-08 12:24:06 -08:00
John Benediktsson
31916d9f39
compiler.tree.propagation.info: inline <value-info>.
2013-03-08 12:19:24 -08:00
John Benediktsson
ebe0586772
compiler: fix stack effects to indicate visited is same object.
2013-03-08 12:16:02 -08:00
John Benediktsson
bb673c72d0
compiler: use hash-sets to track visited sets.
2013-03-08 11:04:47 -08:00
John Benediktsson
ede0232ddc
hash-sets: faster implementation based on hashtables.
2013-03-07 21:43:17 -08:00
John Benediktsson
dc89883dc3
compiler.cfg.alias-analysis: use clear-set.
2013-03-07 21:35:00 -08:00
John Benediktsson
a318742202
Use -unsafe words with pair methods.
2013-03-07 10:47:23 -08:00
John Benediktsson
bd115175b6
interval-maps: bit of unsafe.
2013-03-07 10:46:41 -08:00
John Benediktsson
5004c49ca2
linked-assocs: some performance improvements.
2013-03-07 10:05:28 -08:00
John Benediktsson
f14448182f
core-foundation.run-loop: CFTimeInterval is a double.
2013-03-06 20:31:42 -08:00
John Benediktsson
7881faba2b
core-foundation.file-descriptors: inline enable-all-callbacks.
2013-03-06 19:59:52 -08:00
John Benediktsson
8fc00ab33c
tools.completion: small performance improvements.
2013-03-06 19:58:53 -08:00
John Benediktsson
528478fe37
heaps: performance improvements.
2013-03-06 19:41:37 -08:00
John Benediktsson
9ce9fcbef2
io.directories: fix docs for (directory-entries).
2013-03-06 17:35:53 -08:00
John Benediktsson
96e26551c7
uui: remove trailing spaces.
2013-03-06 09:20:59 -08:00
John Benediktsson
dcb7a5a65c
cache: faster purge-cache.
2013-03-06 09:17:35 -08:00
John Benediktsson
9d63cc6fd6
grouping: making monotonic? faster.
2013-03-06 07:31:45 -08:00
John Benediktsson
49d48a1245
grouping: faster all-eq? and all-equal? (fewer comparisons).
2013-03-05 20:01:27 -08:00
John Benediktsson
a41bc69ce9
vocabs.cache: root-cache get instead of get-global.
2013-03-05 18:57:32 -08:00
John Benediktsson
c0b3e7ec32
compiler.tree.propagation.transforms: use integer>fixnum-strict in shift.
2013-03-05 08:19:31 -08:00
John Benediktsson
829870ae22
hints: remove these hints for now...
2013-03-04 19:03:10 -08:00
John Benediktsson
660bed83a3
hints: prevent specialization on inline-recursive words.
2013-03-04 17:34:20 -08:00
John Benediktsson
b8922acd45
words: adding inline-recursive?.
2013-03-04 16:09:56 -08:00
John Benediktsson
df7ed6e484
random: format delete-random better.
2013-03-03 17:32:53 -08:00
John Benediktsson
a093eb7374
random: speed up some random floats using (random-unit).
2013-03-01 09:33:20 -08:00
John Benediktsson
5aa9445840
random: adding (random-unit) for convenience.
2013-03-01 09:27:20 -08:00
John Benediktsson
9e513bb1a8
tools.profiler.sampling: fix top-down*.
2013-03-01 09:20:48 -08:00
John Benediktsson
8bfa598b15
random: speedup random-integer some more.
...
Better code generation by specializing on fixnum/bignum.
2013-02-28 19:47:55 -08:00
John Benediktsson
df54ef26da
random: minor speedup (random-bits).
2013-02-27 15:26:56 -08:00
John Benediktsson
de69c55e0b
random: speedup randomize.
2013-02-27 14:51:29 -08:00
John Benediktsson
ceb1b0534f
random: speed up uniform-random-float.
2013-02-27 14:40:56 -08:00
John Benediktsson
fd1d451162
random: performance improvements to random-integer and random-bits.
2013-02-27 14:05:46 -08:00
Doug Coleman
1d34523bd6
unix.linux.proc: Older kernels don't have enough fields in /proc/pid/stat. Pad it.
2013-02-25 10:07:05 -08:00
Doug Coleman
9cbe4fec24
unix.linux.proc: Add some more /proc parsing.
2013-02-24 18:30:18 -08:00
Doug Coleman
93d7827ca2
calendar.format: Add some utility words for implementing top.
2013-02-24 18:30:18 -08:00
Doug Coleman
1ad6f37ebc
tools.ps: Use unix.linux.proc for parsing.
2013-02-24 18:30:18 -08:00
Doug Coleman
7269664c85
unix.linux.proc: Refactor /proc parsing. Add generic to make pid/string and pid-string/string pairs into /proc/pid/pathname.
2013-02-24 18:30:18 -08:00
John Benediktsson
d0adf11f5d
sequences: define a single "?set-nth" that is used.
2013-02-20 10:42:21 -08:00
John Benediktsson
e6c71e6c74
sequences: fix uses of set-nth-unsafe.
2013-02-20 08:01:06 -08:00
John Benediktsson
cb40ba31e3
sequences: normalize all the "?set-nth" words, probably this should be a stdlib thing.
2013-02-19 16:52:40 -08:00
John Benediktsson
7a8beecf50
timers: use typed to speedup 10%.
2013-02-19 15:40:45 -08:00
Doug Coleman
04a062f7a3
colors: Inline >rgba methods.
2013-02-19 10:09:47 -08:00
John Benediktsson
9c879d1ac1
math.statistics: adding z-score.
2013-02-07 15:50:34 -08:00
Doug Coleman
fbff46f328
math.statistics: Add docs for collect-by and collect-index-by.
2013-02-05 09:35:51 -08:00
Doug Coleman
52f5156d8a
io.backend.unix: Nobody uses (refill), remove it.
2013-02-05 09:35:51 -08:00
Doug Coleman
fbd80cb741
debugger.unix: Make this vocab unix only.
2013-02-01 13:38:11 -08:00
Doug Coleman
979eae72e0
debugger.unix: Get the signal name from a signal object too.
2013-02-01 11:36:18 -08:00
Doug Coleman
5e882b9422
unix.ffi: Add the man 2 signal() function call.
2013-02-01 11:36:18 -08:00
Doug Coleman
fb0e7456ef
unix.linux.proc: Add a parser for some of the /proc and /proc/[PID]/ files.
2013-02-01 11:36:18 -08:00
John Benediktsson
8a9cb017f5
math.functions: adding "round-to".
2013-01-30 09:41:21 -08:00
John Benediktsson
6556dae7ac
compiler.tree.propagation.known-words: retry this change, some issue with use vocabs.
2013-01-22 07:09:49 -08:00
John Benediktsson
b1003f47d9
Revert "compiler.tree.propagation.known-words: adding known outputs for some words."
...
This reverts commit 16d8e6555b .
2013-01-22 06:42:58 -08:00
John Benediktsson
16d8e6555b
compiler.tree.propagation.known-words: adding known outputs for some words.
2013-01-21 20:28:17 -08:00
John Benediktsson
a99aaa79c7
ui.backend.cocoa.views: add platforms.txt.
2013-01-16 14:28:32 -08:00
John Benediktsson
3587ae7826
ui.backend.cocoa.views: fix build error on older OSX versions.
2013-01-16 10:46:39 -08:00
Jon Harper
999fba8ec4
X11, give same input as gtk when pressing shift, tab, alt..
2013-01-11 11:58:37 -08:00
Jon Harper
9c8d3d8c0d
X11 XK_ISO_Left_Tab is shift tab
2013-01-11 11:58:21 -08:00
Doug Coleman
659e30432e
tools.deploy.windows.ico: Throw an error if the .ico is a unsupported
...
format.
2013-01-08 15:52:17 -08:00
John Benediktsson
8b78d1307b
compression.zlib: fix help-lint warning, add a bit to the article.
2013-01-08 07:03:56 -08:00
Benjamin Pollack
5481fe726e
compression.zlib: add basic documentation
2013-01-07 20:33:19 -05:00
Doug Coleman
34650968e4
peg: Qualify use of replace. Fix some spacing.
2013-01-03 18:33:48 -08:00
John Benediktsson
97c6617c92
peg.ebnf: fix usage of replace.
2013-01-03 18:13:20 -08:00
Doug Coleman
9040ed25f2
sequences: Add join-as, which takes an exemplar. Move split-subseq and replace from unicode.case to splitting and fix an infinite loop with split-subseq. Add docs/tests.
2013-01-03 16:44:25 -08:00
John Benediktsson
a3823434f0
unicode.case: fix stack effect for replace.
2013-01-03 15:33:19 -08:00
Doug Coleman
7ee11ee03a
math.vectors: Don't use macro with locals and cond in vif. Stack-checker/locals/macros/smart-combinators all need some work (a rewrite?), but meanwhile don't let it get in the way. Add tests.
2013-01-03 09:49:31 -08:00
Doug Coleman
10648ec1ea
math.vectors: Fix spacing.
2013-01-02 00:09:21 -08:00
Doug Coleman
9f392c86fb
compiler.tree.propagation.recursive: Generalizing intervals in the propagation pass ignored types. Fixes #770 .
2013-01-01 18:47:23 -08:00
Doug Coleman
a0aaae5b17
compiler.cfg.liveness: Break the infinite loop--add the base-pointer as f to start with, and replace it with the real one if there's not a circular chain. Fixes #22 again.
2013-01-01 14:47:54 -08:00
Doug Coleman
471db8c7dd
compiler.cfg.liveness: Add parallel-copy method for lookup-base-pointer*. Adjust lookup-base-pointer* stack effect to take two parameters. Still retain stack overflows, but more correct now...
2013-01-01 14:16:51 -08:00
Doug Coleman
e421a0f687
basis: Re-enable some things I commented out. Fixes #22 . Thanks @ajvondrak!
2012-12-31 11:48:30 -08:00
Alex Vondrak
71d7b7eda0
compiler.cfg.renaming.functor: fix ##parallel-copy methods
2012-12-31 11:26:46 -08:00
Alex Vondrak
a5fa5b3f65
compiler.cfg.ssa.destruction.leaders: break off leader-map to resolve circular dependencies (oops)
2012-12-31 11:20:57 -08:00
Alex Vondrak
cd94b843cf
compiler.cfg.liveness: still kill defs by leaders, but keep original
...
vregs in the live-sets so accurate info (e.g., representations) can
still be looked up (issue #22 )
2012-12-31 11:05:05 -08:00
Alex Vondrak
9a2504455b
compiler.cfg.ssa.destruction: alien-call-insns are too hairy to coalesce (issue #22 )
2012-12-31 11:04:57 -08:00
Alex Vondrak
3a1cdb7b3f
compiler.cfg.liveness: look up leaders (if possible) so liveness analysis doesn't break after leaving SSA (issue #22 )
2012-12-31 11:04:52 -08:00
Alex Vondrak
fe55eff6d2
compiler.cfg.parallel-copy: make sure new vregs used to break cycles in parallel-copy-rep update the leader-map (issue #22 )
2012-12-31 11:04:44 -08:00
Alex Vondrak
0ea635a1c9
compiler.cfg.ssa.interference.live-ranges: fix kill-indices for ##parallel-copy (issue #22 )
2012-12-31 11:04:38 -08:00
Alex Vondrak
18beab8e12
compiler.cfg.ssa.cssa: split the definitions of ##phis so live-ranges don't interfere (issue #22 )
...
See the explanation after the proof of Lemma 1 in "Revisiting Out-of-SSA
Translation for Correctness, Code Quality, and Efficiency" (Boissinot et
al.) for why this is necessary.
2012-12-31 11:04:26 -08:00
Doug Coleman
6246b4dce1
starting point - Fix bootstrap; I broke it in merging. Disable environment variables because the compiler isn't loaded yet and can't call C ffi functions, and tools.test loads this vocab.
...
Disable intrinsics in cpu.x86.64 for now, since they invoke the compiler
Fix ##branch renaming to ##branch,
To work on this branch:
./factor -include=math -i=boot.image
./factor -run=listener
USE: compiler USE: tools.test save
enable-optimizer
Error message is now:
T{ vregs-shouldn't-interfere f 409 424 }
2012-12-31 11:03:45 -08:00
Slava Pestov
cbd276821a
WIP
2012-12-31 11:03:33 -08:00
Doug Coleman
85431988d5
random: Add poisson-random-float.
2012-12-31 11:02:56 -08:00
John Benediktsson
e2f4c595e0
ui.gadgets.editors: fix stack effect of change-caret quotation.
2012-12-28 17:01:32 -08:00
John Benediktsson
07194b7a13
xml.traversal: adding deep-children>string.
2012-12-17 11:58:30 -08:00
John Benediktsson
589af77192
ui.baseline-alignment: fix float shift on retina.
2012-12-17 11:43:05 -08:00
John Benediktsson
a1249ea026
ui.text.core-text: fix jumping "def".
2012-12-11 08:06:02 -08:00
John Benediktsson
ddd5f81cd7
math.statistics: just use accumulate for now.
2012-12-04 08:56:21 -08:00
John Benediktsson
30b779a700
Revert "ui.backend.cocoa.views: make compatible with 10.6."
...
This reverts commit 7f6f742fc3 .
2012-11-29 18:43:39 -08:00
Doug Coleman
040a7b8e8b
basis: Try to fix the build. My profiler is hanging, but I can't figure out why. See if the build farm has the same is
...
sue.
2012-11-27 12:47:44 -06:00
John Benediktsson
7f6f742fc3
ui.backend.cocoa.views: make compatible with 10.6.
2012-11-26 14:48:42 -08:00
Jon Harper
fbdcc2eb42
winapi window resize
2012-11-26 14:39:55 -08:00
Jon Harper
d72f57eb8e
OSX window resize
2012-11-26 14:39:55 -08:00
Jon Harper
d48c0c849e
X11 window resize
2012-11-26 14:39:54 -08:00
Jon Harper
64373cee20
Add resize-window and relayout-window
2012-11-26 14:39:54 -08:00
Doug Coleman
7c58e4c06c
math.statistics: Add a variant of histogram that can see the sequence index.
2012-11-17 12:39:54 -08:00
Doug Coleman
cde43eb0be
math.statistics: Add back std as sample-std.
2012-11-15 08:27:41 -08:00
Doug Coleman
c20ee965c6
math.statistics: Make you think about which std you want--population or sample. Hopefully use the right words everywhere.
2012-11-07 22:53:53 -08:00
Doug Coleman
d291f096c2
math.statistics: Rename full-* to population-*. Full, while somewhat descriptive of using the entire dataset, is not a technical term, while population is used in Mathematica and stats books.
2012-11-07 22:53:52 -08:00
Doug Coleman
7504823dee
math.matrices: Add m+n, m-n, n+m, n-m, words.
2012-11-07 22:53:52 -08:00
John Benediktsson
98394cf35e
math.statistics: rename full-* to population-*.
2012-11-06 07:16:20 -08:00
John Benediktsson
879177f189
opengl: properly scale viewports.
2012-11-01 17:12:13 -07:00
John Benediktsson
890700df95
ui.backend.cocoa.views: only set gl-scale-factor if > 1.0.
2012-11-01 16:59:45 -07:00
John Benediktsson
30644e696f
images: don't truncate in image-dim.
2012-11-01 16:48:44 -07:00
John Benediktsson
eca276a1e1
opengl: make sure to reset the scale factor at startup.
2012-11-01 16:46:56 -07:00
John Benediktsson
3413fd6f14
core-text: better check.
2012-11-01 16:43:26 -07:00
John Benediktsson
3b1b118f38
core-text: retina displays should use "2x" fonts.
2012-11-01 16:28:33 -07:00
John Benediktsson
3868b99f1d
opengl.textures: render 2x images.
2012-11-01 16:14:55 -07:00
John Benediktsson
78a577157a
images: adding "2x" images.
2012-11-01 16:11:55 -07:00
John Benediktsson
7bf38799e4
opengl: adding support for a gl-scale-factor.
2012-11-01 14:48:12 -07:00
John Benediktsson
4472faba00
calendar: better warnings.
2012-11-01 14:41:30 -07:00
John Benediktsson
03de9418a3
ui.backend.cocoa.views: [self setWantsBestResolutionOpenGLSurface:YES];
2012-11-01 14:29:03 -07:00
Doug Coleman
f955178bc4
ui.backend.gtk: Save the clipboard to the global clipboard so that it doesn't get deleted when Factor exits. Fixes #548 . Add paste-selection, but commented out for now.
2012-10-29 10:56:34 -07:00
Doug Coleman
84d300c1b3
grouping: The expectation is that if there is a virtual clump of length N, then each iteration through that clump there are N elements available. This patch breaks that assumption.
...
Revert "change clump when the group size is greater than the sequence length"
This reverts commit baedb316c5 .
Conflicts:
basis/grouping/grouping-docs.factor
basis/grouping/grouping-tests.factor
basis/grouping/grouping.factor
2012-10-29 09:47:15 -07:00
Jon Harper
50d3a8f197
Allow circular clumps with a length smaller than the clump
...
Conflicts:
basis/grouping/grouping-tests.factor
2012-10-28 13:41:41 -07:00
Jon Harper
a37026023f
fixup: forgot the tests
2012-10-28 13:34:30 -07:00
Jon Harper
2535b58439
clump: fix empty sequence input. rephrase docs a bit
2012-10-28 13:34:18 -07:00
Jon Harper
baedb316c5
change clump when the group size is greater than the sequence length
2012-10-28 13:34:08 -07:00
Jon Harper
962ec0a4be
Friendlier grouping/clumping error message
2012-10-28 13:33:51 -07:00
John Benediktsson
05312ef838
unix: adding truncate-file.
2012-10-25 21:51:08 -07:00
John Benediktsson
9d042b123c
math.statistics: add some padding in the docs (looks better).
2012-10-25 21:01:17 -07:00
John Benediktsson
a5499e20aa
math.statistics: add other cumulative words to help article.
2012-10-25 16:30:31 -07:00
Doug Coleman
250feeba14
math.statistics: Add cum-count, cum-sum0, cum-map0. Add docs.
2012-10-25 16:13:25 -07:00
John Benediktsson
52cfc99caf
io.directories: defining "?delete-file".
2012-10-25 10:07:15 -07:00
Doug Coleman
3ead1600d4
calendar: Add yesterday, tomorrow, o'clock, am, pm.
2012-10-25 09:46:11 -07:00
Doug Coleman
241dfdc4c2
windows: Fix bootstrap.
2012-10-25 09:06:02 -07:00
John Benediktsson
2b1aec75b4
unix: adding mkfifo.
2012-10-24 20:08:32 -07:00
John Benediktsson
68d591b4ec
unix.ffi.macosx: can't use iovec here...
2012-10-24 20:08:20 -07:00
John Benediktsson
31c46e6f98
unix.ffi: adding sendfile.
2012-10-24 19:53:39 -07:00
John Benediktsson
6ccf60c9df
unix.ffi: adding readv/writev.
2012-10-24 19:53:24 -07:00
Doug Coleman
43ea17c755
windows: Attempt to fix circularity.
2012-10-24 19:03:25 -07:00
John Benediktsson
62aa1cf6d4
io.files.info.unix: errno EACCES should be handled separately.
2012-10-24 17:51:13 -07:00
Doug Coleman
dd3dbe7c2e
windows.shell32: Throw an error if file does not exist on file-executable?
...
call.
2012-10-24 17:48:42 -07:00
John Benediktsson
6b7323e4e6
io.files.info: make access checks throw on file-does-not-exist.
2012-10-24 17:40:00 -07:00
Doug Coleman
e2cb99c235
io.files.info.windows: Implement file-readable?, writable?, and executable?
2012-10-24 17:29:32 -07:00
John Benediktsson
e4b9ccd5d6
io.files.info.unix: make sure to normalize so special paths work.
2012-10-24 17:11:35 -07:00
John Benediktsson
49b3a4c362
io.files.info: adding checks for read, write, or execute permissions.
2012-10-24 16:44:12 -07:00
John Benediktsson
a85f718aa1
unix.ffi: adding "access".
2012-10-24 16:37:05 -07:00
Doug Coleman
1c4b2bfa31
windows.shell32: Add a way to find out the kind of executable of a file on
...
windows. Inline a word.
2012-10-24 16:16:35 -07:00
Doug Coleman
3a6644ae2a
windows.kernel32: Add function and some structs.
2012-10-24 14:23:02 -07:00
Doug Coleman
2abbc85224
xml.syntax: Nested xml literals were not handled correctly.
2012-10-24 10:48:22 -07:00
John Benediktsson
af341c686c
unix.ffi: adding fileno.
2012-10-24 09:00:08 -07:00
John Benediktsson
4dafd877a6
opengl.gl: cleanup formatting.
2012-10-23 17:13:29 -07:00
PGGB
412daaf653
Add glDrawElementsBaseVertex
2012-10-23 16:32:39 -07:00
John Benediktsson
bf891c9634
change some "2drop 2drop" to "4drop".
2012-10-23 12:21:30 -07:00
John Benediktsson
d487d8068d
math.primes.erato: minor performance improvements.
2012-10-23 10:49:45 -07:00
John Benediktsson
0c7ce9684b
tools.completion: don't use file-directory.
2012-10-23 09:49:44 -07:00
John Benediktsson
3e36ac7bfc
Change "3dup drop" to "2over".
2012-10-22 20:45:15 -07:00
John Benediktsson
13a9388f11
urls: allow pathnames to convert >url.
2012-10-22 20:16:19 -07:00
John Benediktsson
cfdb1ede66
present: simplify M\ pathname present.
2012-10-22 20:11:11 -07:00
John Benediktsson
5e983953fc
present: implement M\ pathname present.
2012-10-22 19:49:27 -07:00
John Benediktsson
46544e3d84
tools.completion: minor fix to complete against file-name, not full-path.
2012-10-22 19:17:52 -07:00
John Benediktsson
2455c276e3
ui.tools.listener: adding path completion to listener.
2012-10-22 18:51:52 -07:00
John Benediktsson
53527e4f00
tools.completion: better paths-matching.
2012-10-22 18:51:38 -07:00
John Benediktsson
c3b6f3283c
tools.completion: fix CHAR: and COLOR: completion to require extra tokens.
2012-10-22 18:29:53 -07:00
John Benediktsson
288d4a7a5d
stack-checker: adding 4dup and 4drop.
2012-10-22 12:27:15 -07:00
Doug Coleman
a127cdb38c
math.matrices: Trying to flesh out the matrices vocabulary a bit.
2012-10-22 09:47:36 -07:00
Doug Coleman
066a1103ab
stack-checker: Add alien-assembly to the do-not-compile list. Remove a duplicate word from the do-not-call list. Reorder a bit.
2012-10-22 09:47:35 -07:00
Doug Coleman
4986146779
math.statistics: Add ddof (delta degrees-of-freedom) to easily calculate population (full) and unbiased (sample) statistics.
2012-10-22 09:47:35 -07:00
Doug Coleman
2fccdec3d2
math.matrices: Add some combinators for iterating over matrices. Add covariance matrix.
2012-10-22 09:47:35 -07:00
Doug Coleman
eaec4fe884
math.matrics: Add some combinators and indexing words to math.matrices.
2012-10-22 09:47:35 -07:00
Doug Coleman
99782d4f53
kernel: Add 4dup, 4drop, and 4cleave.
2012-10-22 09:47:34 -07:00
John Benediktsson
ba81528446
colors: can't bootstrap when using locals in colors...
2012-10-21 14:53:24 -07:00
John Benediktsson
fc27565b00
colors.hsv: adding complimentary-color.
2012-10-21 13:24:51 -07:00
John Benediktsson
7b500d77c5
colors: adding inverse-color.
2012-10-21 13:16:34 -07:00
John Benediktsson
ed66dfa1b2
colors.hsv: adding rgba>hsva.
2012-10-21 13:16:26 -07:00
John Benediktsson
4041f39d80
colors: adding linear-gradient.
2012-10-21 12:32:45 -07:00
John Benediktsson
06d1fa2b10
colors: fix using list, silly auto-use.
2012-10-21 12:09:59 -07:00
John Benediktsson
0fd59d5a82
colors.gray: adding rgba>gray.
2012-10-21 12:02:44 -07:00
John Benediktsson
cfe3cba328
random: support random on sets.
2012-10-05 15:35:22 -07:00
John Benediktsson
2b719f5eec
compiler.tree.propagation: revert cleanup, this was more correct.
2012-10-05 15:00:49 -07:00
John Benediktsson
8fa22da814
random: support "random" on floats (uses uniform-random-float).
2012-10-05 14:47:40 -07:00
John Benediktsson
6ccd545c92
compiler.tree.propagation: throw the proper error in >fixnum methods.
2012-10-05 09:54:51 -07:00
John Benediktsson
de166e6f9b
compiler.tree.propagation: cleanup known-words a bit.
2012-10-05 09:47:27 -07:00
John Benediktsson
2bdb46f063
compiler.tree.propagation: make sure integer>fixnum-strict infers a fixnum.
2012-10-05 04:17:43 -07:00
John Benediktsson
4d49dcd03f
sequences.generalizations: add "nfind" and "nany?".
2012-10-04 14:48:46 -07:00
John Benediktsson
9c41cef04b
random: implement random for assocs.
2012-10-03 10:08:08 -07:00
Jon Harper
8ff5d1cdbc
ui.backend.gtk: better gesture for shift tab
...
gdk emits ISO_Left_Tab for shift + tab. Not sure if factor should silently
transform that in tab..
With this patch, shift tabs emits the following gesture:
T{ key-down { mods { S+ } } { sym "TAB" } }
2012-09-29 15:54:15 +02:00
John Benediktsson
5628cd876c
bit-sets: inline <bit-set>.
2012-09-28 20:29:39 -07:00
John Benediktsson
61feee6006
smtp: plain-auth-string should return a ... string.
2012-09-28 19:04:38 -07:00