Commit Graph

11191 Commits (302df7368680f42f6dd9b333843d0ede61f12554)

Author SHA1 Message Date
John Benediktsson bd9f24ac33 destructors: more efficient dispose-each (not using make). 2013-05-20 16:43:00 -07:00
Doug Coleman 1136ed9c19 io.launcher: Fix bug -- if dispose fails, still call dispose on the other
resource.
2013-05-19 10:22:07 -07:00
Doug Coleman 7c1caacc35 io.launcher: Fix two potential bugs.
1) If first (pipe) succeeds but second one fails, first pipe leaks.
2) out>> dispose fails, then in>> dispose is never called and leaks.
2013-05-19 10:18:14 -07:00
Doug Coleman c64cb2c886 io.pipes: If dispose on in>> throws, then out>> leaks. 2013-05-19 10:12:38 -07:00
John Benediktsson 917ae3e410 math.combinatorics: use cond in k-permutations. 2013-05-15 15:09:25 -07:00
John Benediktsson c1e91316d2 math.combinatorics: adding a k-permutations virtual sequence. 2013-05-15 15:05:38 -07:00
Doug Coleman e996dc7f8e combinators.smart: Clarify stack effect for cleave>array. 2013-05-14 14:33:04 -07:00
John Benediktsson 5ee7f10f19 math.matrices: simpler square-rows. 2013-05-14 13:52:24 -07:00
John Benediktsson bcbf3198f7 math.matrices: faster square-rows and square-cols. 2013-05-14 13:46:44 -07:00
John Benediktsson 832a06e848 furnace.auth.providers.db: make test db name use cpu name. 2013-05-14 11:32:20 -07:00
John Benediktsson f29aac24bb formatting: adding vprintf by request. 2013-05-14 09:23:00 -07:00
John Benediktsson fe45a08054 math.ranges: implement sum on ranges. 2013-05-06 16:01:29 -07:00
John Benediktsson 720db54f61 math.statistics: change kth-object to properly clone underlying sequence first. 2013-05-06 10:40:53 -07:00
John Benediktsson 6a4638fa0f math.statistics: faster cum-mean. 2013-05-06 09:12:40 -07:00
John Benediktsson 0d806e0b69 Revert "math.statistics: change cum-mean to use v/."
This reverts commit 9df2235d8983da67d106a6d5fb297134e5e2a58e.
2013-05-06 09:08:11 -07:00
John Benediktsson b01b14c0e2 math.statistics: change cum-mean to use v/. 2013-05-06 08:59:02 -07:00
lorynj ca7dd6a6a3 cum-mean
Added a word to calculate cumulative mean.

Signed-off-by: lorynj <lorynj@gmail.com>
2013-05-06 08:15:39 -07:00
John Benediktsson b78e32733e sequences.windowed: faster windows and rolling words. 2013-05-01 22:18:26 -07:00
Doug Coleman 16d24a5194 tools.ps.windows: Add read-peb and my-peb. 2013-05-01 18:15:15 -07:00
Doug Coleman a326b73470 windows.ntdll: Use the real field names for all the BYTE and reserved
dummy fields.
2013-05-01 18:15:14 -07:00
Doug Coleman b4de3d0a2f unix.linux.proc: Handle a unified processor-info object for linux 2.6 and on. Add unit tests. Fixes . 2013-05-01 12:25:49 -07:00
John Benediktsson c1ab4aab59 math.combinatorics: faster by using hints for the array common case. 2013-05-01 11:18:17 -07:00
Doug Coleman 65a7175cb6 unix.linux.proc: Pad tail with f for cpu-info. Fixes . 2013-04-30 16:47:09 -07:00
Doug Coleman 9e14cee4cf windows.ntdll: Make this Windows-only. 2013-04-27 02:47:52 -07:00
Doug Coleman 90c7c3fc81 tools.ps.windows: Implement ps. for Windows! 2013-04-26 21:15:12 -07:00
Doug Coleman c95c0fcc98 windows: Add ntdll and bind to more process listing functions. 2013-04-26 21:15:12 -07:00
John Benediktsson 3139ec1d61 tools.test: allow testing from the command-line. 2013-04-26 17:43:39 -07:00
John Benediktsson 61912f3c73 adding some summary.txt files. 2013-04-26 17:43:24 -07:00
John Benediktsson 9e65ccaf9f compiler.tree.propagation.simple: check output types length. 2013-04-26 17:21:22 -07:00
John Benediktsson 88ec7ef7de cocoa.messages: name sender-stubs by signature since they are cached that way. 2013-04-26 16:56:53 -07:00
John Benediktsson 380bb350ca tools.ps.macosx: use trim-head-slice, simpler. 2013-04-26 16:23:32 -07:00
John Benediktsson 1b66b12b8a windows.winmm: adding platforms.txt. 2013-04-26 15:53:26 -07:00
Doug Coleman 5054b6b3de windows.winmm: Add binding to play mp3s. 2013-04-26 11:06:49 -07:00
John Benediktsson 74460b548b prettyprint: fix off-by-one, thanks @adjvondrak! 2013-04-25 20:19:12 -07:00
John Benediktsson 7842b31bd2 listener: choose dark foreground on light background. 2013-04-25 16:18:11 -07:00
John Benediktsson f2aa86ff33 tools.ps.linux: fix USE: tools.ps. 2013-04-25 16:01:30 -07:00
John Benediktsson 455ef45b21 tools.ps.linux: fix USE: system. 2013-04-25 15:59:25 -07:00
John Benediktsson 57b7a5fd6f math.matrices: add tests for square-matrix?. 2013-04-25 14:48:16 -07:00
John Benediktsson 2526d3c982 Fix some copyrights, sorry "Your name". 2013-04-25 13:26:36 -07:00
John Benediktsson ae3e48e156 tools.ps: sort-by-pid and print headers. 2013-04-25 10:05:57 -07:00
John Benediktsson 46f306132c tools.ps: implemented on macosx. 2013-04-25 09:12:42 -07:00
John Benediktsson df8c370e17 classes.struct: factoring struct-size out. 2013-04-24 21:00:37 -07:00
Doug Coleman 7f118e13c0 unix.linux.proc: /proc/cpuinfo is updated in real time and can change based on throttling options. Don't cache it. 2013-04-24 13:39:03 -07:00
Doug Coleman 71c526d36a system-info.linux: Implement the system-report. word. 2013-04-24 12:06:23 -07:00
John Benediktsson 55b2fb0802 math.functions: implement ldexp. 2013-04-24 11:19:24 -07:00
Doug Coleman b6439e3cba calendar.format: run dos2unix on calendar.format 2013-04-24 08:23:17 -07:00
Doug Coleman 9f28391e6b calendar.format: Fix timestamp parsing when there is no timezone. Fixes . 2013-04-24 08:23:17 -07:00
John Benediktsson 739a721cc3 mirrors: fix tests. 2013-04-23 07:56:58 -07:00
John Benediktsson 6bac58fa97 mirrors: fix assoc-size for non-tuple-classes. 2013-04-23 07:55:03 -07:00
Doug Coleman af384e91d0 mirrors: Add a unit test. 2013-04-23 07:05:51 -07:00
Doug Coleman 23d4eb5f7d mirrors: Make strings an inspected-sequence. Fixes . 2013-04-22 22:23:15 -07:00
Doug Coleman 15a12947a4 system-info.macosx: Stop using 4byte numbers to query system RAM. Fixes . 2013-04-22 22:08:59 -07:00
John Benediktsson 5f543dd8af mirrors: simplify code with fry. 2013-04-22 11:48:26 -07:00
John Benediktsson 35e23dc547 math.statistics: make collect-by row polymorphic, simplify words. 2013-04-22 06:25:50 -07:00
John Benediktsson 8574b25a96 tools.profiler.sampling: don't mis-use collect-by. 2013-04-22 06:24:02 -07:00
John Benediktsson fb7f53485a ui.backend.cocoa.views: set gl-scale-factor to f if 1.0. 2013-04-21 19:43:12 -07:00
John Benediktsson 5512294075 ui.backend.cocoa.views: handle windowDidChangeBackingProperties event. 2013-04-21 19:40:57 -07:00
Doug Coleman 905ec06d86 tools.deploy: Cheater mode, add 20kb to tools.deploy.test.20 unit test. 2013-04-19 17:19:28 -07:00
John Benediktsson da6c8e3b8b binary-search: faster by specializing on array and vectors. 2013-04-19 11:35:14 -07:00
Doug Coleman 19002c93a6 io.files.info: Longer names for file-info predicates. 2013-04-18 10:08:42 -07:00
John Benediktsson 3ca65a2b47 math.combinatorics: fix map>assoc-combinations (shouldn't have been locals). 2013-04-18 09:04:47 -07:00
Doug Coleman 345b5bb678 io.files.info: Add file? and symlink? words. 2013-04-18 07:35:47 -07:00
John Benediktsson 02d652e6c0 math.combinatorics: minor fix to reduce-combinations stack effect. 2013-04-18 07:17:36 -07:00
John Benediktsson 77b3d509be math.combinatorics: cleanup stack effects to be more descriptive. 2013-04-18 07:15:47 -07:00
John Benediktsson 81f733493d math.combinatorics: much faster permutations, cleanup combinations code. 2013-04-18 07:04:17 -07:00
John Benediktsson 433adf8dd2 math.combinatorics: big speedup to combinations. 2013-04-17 20:57:48 -07:00
John Benediktsson 115f53b0be db.tester: put cpu in sqlite-test-db name. 2013-04-17 16:14:09 -07:00
Doug Coleman da5eedce32 functors: Learn to use git. 2013-04-14 14:32:04 -07:00
Doug Coleman 6e2291886d functors: Add a modern functors file that doesn't have the FUNCTOR-SYNTAX: words. 2013-04-13 17:36:29 -07:00
Doug Coleman 2f158d1691 xml-rpc: Delete dead code. 2013-04-13 16:19:03 -07:00
Doug Coleman 7a35d85f30 io.directories.search: Show directory entries instead of throwing them away. 2013-04-13 16:18:54 -07:00
John Benediktsson e501f61141 literals: change ${ } to be the executable code arrays. 2013-04-12 11:18:58 -07:00
John Benediktsson ab4e380c04 html.streams: allow non-equal padding values. 2013-04-11 14:47:57 -07:00
John Benediktsson 6b94cf2e7f html.streams: this was actually simpler. 2013-04-11 14:35:43 -07:00
John Benediktsson 44657db94e html.streams: cleanup borders on html tables. 2013-04-11 12:20:41 -07:00
John Benediktsson 24b116be1c prettyprint: rename so it doesn't look so much like print-error. 2013-04-10 19:18:15 -07:00
John Benediktsson e42144e9ea prettyprint: cleanup duplicate code. 2013-04-10 18:50:11 -07:00
John Benediktsson d6828d38ff ui.tools.traceback: fix pprint error in walker issue. 2013-04-10 18:30:11 -07:00
Doug Coleman 7dc851b627 editors.textwrangler: Fall back to launching with open -a if you installed from the Mac Store and thus do not have ``edit``, which is the real TextWrangler launch program. 2013-04-10 17:40:59 -07:00
John Benediktsson 9f7bdd9327 checksum.bsd: adding BSD checksum algorithm. 2013-04-10 09:24:45 -07:00
John Benediktsson 676ea1381b checksums.fnv1: make fnv1's instance checksum. 2013-04-10 09:24:27 -07:00
John Benediktsson ec51815923 checksums.adler-32: make adler-32 instance checksum. 2013-04-10 09:24:14 -07:00
Doug Coleman e9265035f9 editors.geany.windows: Add Windows support. 2013-04-09 16:51:14 -07:00
John Benediktsson 34403c5272 editors.bbedit: adding "open in BBEdit" support. 2013-04-09 16:49:52 -07:00
John Benediktsson b97c16f811 editors.xcode: adding "open in XCode" support. 2013-04-09 16:49:52 -07:00
Doug Coleman 03015e7075 editors.geany: Add support. 2013-04-09 16:44:46 -07:00
Doug Coleman 5114333d57 editors.scite.windows: Fix using. 2013-04-09 16:26:41 -07:00
Doug Coleman 0e0d9fe07b scite: Add support for Linux scite. 2013-04-09 16:15:47 -07:00
Doug Coleman 3c6e90da60 editors.notepadpp: Move to editors.notepad++ since + is fine in pathnames
and that's the editor's name!
2013-04-09 13:34:26 -07:00
Doug Coleman 8cf85383f3 editors.sublime.windows: Add support for Windows. 2013-04-09 12:19:07 -07:00
Doug Coleman 88a7f8bf63 editors.textadept: Add support for Windows. 2013-04-09 12:19:06 -07:00
Doug Coleman 84a93dd998 io.directories.search.windows: Windows8 doesn't find ProgramFiles with the
existing methods, find it in an os-env.
2013-04-09 12:19:06 -07:00
John Benediktsson 15badfbcd9 hash-sets: use map-into in members. 2013-04-07 13:09:20 -07:00
John Benediktsson 56a7d159b2 biassocs: implement keys/values. 2013-04-07 12:55:29 -07:00
John Benediktsson 290aaa3dcd mirrors: implement keys/values. 2013-04-07 12:51:35 -07:00
John Benediktsson 3bc658e8d5 hashtables.wrapped: faster >alist, keys, values. 2013-04-07 12:45:38 -07:00
John Benediktsson 2fc1ade4c9 persistent.hashtables: fix missing keys/values, not sure why these aren't assocs. 2013-04-07 09:45:10 -07:00
John Benediktsson 987ecea441 Minor fix to make sure strings are produced. 2013-04-06 18:50:26 -07:00
John Benediktsson c900590f8b use concat instead of join. 2013-04-06 17:02:22 -07:00
John Benediktsson d103b38d3f stack-checker.dependencies: use short-circuit better. 2013-04-06 16:44:50 -07:00
John Benediktsson cb622f4d85 tools.crossref: switch to using identity hash-sets. 2013-04-06 14:53:54 -07:00
John Benediktsson 3862c4f9b5 math.combinatorics: remove duplicate nths-unsafe. 2013-04-06 14:29:47 -07:00
John Benediktsson 4af98fa568 random: use nths-unsafe in sample. 2013-04-06 14:29:47 -07:00
Doug Coleman b129623080 editors.sublime: Add support for Sublime Editor 2 for MacOSX. Need to add support for Windows. 2013-04-06 14:24:03 -07:00
John Benediktsson 0e425e70d0 hash-sets.sequences: adding sequence hashsets. 2013-04-06 14:14:01 -07:00
John Benediktsson fd879b16c7 hash-sets.identity: adding identity hashsets. 2013-04-06 14:14:00 -07:00
John Benediktsson 06754951d3 hash-sets.wrapped: support for "wrapped" hash-sets. 2013-04-06 14:14:00 -07:00
John Benediktsson cde20c935b hashtables.identity: minor cleanup. 2013-04-06 14:14:00 -07:00
John Benediktsson 80c06fecb4 hashtables.sequences: minor cleanup. 2013-04-06 14:14:00 -07:00
Doug Coleman bfe0ace611 heaps: Add >min-heap, >max-heap. 2013-04-06 13:50:16 -07:00
John Benediktsson c74939e43b help: make sure error-classes are displayed in error index. 2013-04-06 13:35:37 -07:00
John Benediktsson decd9ed1ee math.combinatorics: make permutations-quot to reduce code duplication. 2013-04-06 13:12:57 -07:00
John Benediktsson b646d1e1b8 math.combinatorics: produce type of sequence in selections. 2013-04-06 13:06:23 -07:00
John Benediktsson 85acdb2520 prettyprint: speed up unparse by not making the manifest sometimes. 2013-04-06 12:45:15 -07:00
John Benediktsson 64111e1342 math.combinatorics: use nth-unsafe more. 2013-04-06 12:43:02 -07:00
John Benediktsson d15dbaebb4 math.combinatorics: faster nCk (use integer division). 2013-04-06 11:43:20 -07:00
John Benediktsson a52ee59005 math.combinatorics: faster permutation (using slices). 2013-04-05 07:28:22 -07:00
John Benediktsson 4e2e8a21e0 bit-arrays: use integer>fixnum, cleanup resize. 2013-04-04 18:12:20 -07:00
Doug Coleman 4d9adeac7e help.tutorial: Use scaffold-work in palindrome tutorial. 2013-04-04 15:06:33 -07:00
John Benediktsson c2ab21a14d colors.mix: some descriptions. 2013-04-03 19:01:54 -07:00
John Benediktsson 0c84f62ea8 colors.hsv: fix using. 2013-04-03 18:27:01 -07:00
John Benediktsson d43b252da2 colors: move mixing words to colors.mix. 2013-04-03 16:33:33 -07:00
John Benediktsson c124725a85 colors: actually add the tests this time. 2013-04-03 16:14:30 -07:00
John Benediktsson 5426b75d99 colors: adding sample-linear-gradient and some tests. 2013-04-03 16:09:06 -07:00
John Benediktsson 482ea99628 colors.hsv: add a golden-rainbox color sequence word. 2013-04-03 16:08:52 -07:00
John Benediktsson f351eaedd0 colors.hsv: use sort-triple instead of natural-sort. 2013-04-02 16:55:03 -07:00
John Benediktsson 4b9b14308d regexp.minimize: use sort-pair instead of natural-sort. 2013-04-02 16:54:25 -07:00
John Benediktsson 360c2ee5a7 math.functions: remove round-to. 2013-04-01 17:02:44 -07:00
John Benediktsson dc27c21ab0 editors.textadept: use "-e goto_line(n-1)".
(as suggested by Mitchell@foicica.com on the textadept mailing list)
2013-04-01 14:56:24 -07:00
John Benediktsson 215c74674f ascii: change >words not to use split*. 2013-04-01 09:13:33 -07:00
John Benediktsson d6ff13b1cf editors.textadept: make it work on Mac OS X. 2013-03-31 18:47:38 -07:00
John Benediktsson 7d4bf03bab see: fixing summary for ALIAS. 2013-03-31 17:12:35 -07:00
John Benediktsson 9ce20403f7 ascii: adding >words, >title, and capitalize. 2013-03-31 16:09:37 -07:00
John Benediktsson 1718c69e56 io.files: use split instead of split*. 2013-03-31 16:04:11 -07:00
John Benediktsson bf83eaccfc cocoa: maybe this is cleaner... 2013-03-30 13:44:11 -07:00
John Benediktsson a99f66f505 cocoa: add ?-> to remember messages being used at runtime. 2013-03-30 13:14:51 -07:00
John Benediktsson d94977ac0c cocoa.messages: fix for deploy problem. 2013-03-30 13:05:04 -07:00
John Benediktsson bea7a405da editors.textadept: match style of other vocabs. 2013-03-30 11:09:12 -07:00
Michael T. Richter ace233829a add textadept editor support
Signed-off-by: Michael T. Richter <ttmrichter@gmail.com>
2013-03-30 11:06:39 -07:00
John Benediktsson d1ae334046 ui.backend.cocoa.views: more robust respondsToSelector: (thanks @jckarter). 2013-03-29 20:34:24 -07:00
John Benediktsson 281ed1f89a core-foundation.numbers: support converting CFNumber back to factor. 2013-03-29 20:34:24 -07:00
Doug Coleman cc9449c5a9 debugger: Fix error message. 2013-03-29 17:37:31 -07:00
Doug Coleman 5759f72745 db, db.sqlite: If we are in a transaction, don't start another transaction. Add a unit test. Fixes . Fixes . 2013-03-29 17:33:54 -07:00
John Benediktsson 39dc58a5a8 ui.backend.cocoa.views: spacing. 2013-03-29 14:47:53 -07:00
John Benediktsson fe952b2f8e cocoa.messages: add super-sender for completeness. 2013-03-29 14:45:41 -07:00
John Benediktsson fe1bfe173b ui.backend.cocoa.views: simplify and add os version check. 2013-03-29 14:29:41 -07:00
John Benediktsson 1209d5287d ui.backend.cocoa.views: maybe this works on 10.6. 2013-03-29 14:18:57 -07:00
John Benediktsson 886cf4df07 cocoa.messages: some support for runtime message sending. 2013-03-29 14:18:57 -07:00
John Benediktsson 64822a7a30 cocoa.messages: use ERROR:. 2013-03-29 14:18:57 -07:00
John Benediktsson f70325a8c2 unix: use byte-vectors here. 2013-03-29 11:40:59 -07:00