]> gitweb.factorcode.org Git - factor.git/log
factor.git
10 years agohtml.parser.printer: remove printer symbol
Björn Lindqvist [Mon, 5 Aug 2013 11:31:29 +0000 (13:31 +0200)]
html.parser.printer: remove printer symbol

10 years agohtml.parser.printer: unit tests
Björn Lindqvist [Mon, 5 Aug 2013 11:25:26 +0000 (13:25 +0200)]
html.parser.printer: unit tests

10 years agohtml.parser.printer: explaining comment
Björn Lindqvist [Mon, 22 Jul 2013 12:27:10 +0000 (14:27 +0200)]
html.parser.printer: explaining comment

10 years agohtml.parser.printer: reasonable tree-structured formatting with prettyprint-html
Björn Lindqvist [Mon, 22 Jul 2013 12:05:14 +0000 (14:05 +0200)]
html.parser.printer: reasonable tree-structured formatting with prettyprint-html

10 years agoreddit: Add a field.
Doug Coleman [Sat, 3 Aug 2013 21:56:35 +0000 (14:56 -0700)]
reddit: Add a field.

10 years agoAdd hash commands to extra/redis
Paul Woolcock [Tue, 30 Jul 2013 18:42:40 +0000 (14:42 -0400)]
Add hash commands to extra/redis

10 years agowikipedia: parsing historical events.
John Benediktsson [Mon, 29 Jul 2013 14:56:14 +0000 (07:56 -0700)]
wikipedia: parsing historical events.

10 years agowrap.strings: fix using in tests.
John Benediktsson [Sun, 28 Jul 2013 17:57:02 +0000 (10:57 -0700)]
wrap.strings: fix using in tests.

10 years agowrap.strings: allow wrap-indented-string to have a numbered indent provided.
John Benediktsson [Sun, 28 Jul 2013 04:17:37 +0000 (21:17 -0700)]
wrap.strings: allow wrap-indented-string to have a numbered indent provided.

10 years agorandom.windows: Saw in the pastebin that some Windows installs still don't
Doug Coleman [Sat, 27 Jul 2013 20:28:20 +0000 (13:28 -0700)]
random.windows: Saw in the pastebin that some Windows installs still don't
start with this code. Just set the system and secure RNGs to f, and
calling them will throw an error. The Mersenne Twister is still the
default anyway.

10 years agosplitting.extras: cleanup using.
John Benediktsson [Thu, 25 Jul 2013 21:16:09 +0000 (14:16 -0700)]
splitting.extras: cleanup using.

10 years agomatch: fix test syntax.
John Benediktsson [Thu, 25 Jul 2013 14:02:47 +0000 (07:02 -0700)]
match: fix test syntax.

10 years agomath.functions: whoops, back out mistaken commit.
John Benediktsson [Wed, 24 Jul 2013 21:55:13 +0000 (14:55 -0700)]
math.functions: whoops, back out mistaken commit.

10 years agoswitch some vocabs to 4 spaces.
John Benediktsson [Wed, 24 Jul 2013 21:52:09 +0000 (14:52 -0700)]
switch some vocabs to 4 spaces.

10 years agosorting.extras: faster map-sort.
John Benediktsson [Wed, 24 Jul 2013 17:24:13 +0000 (10:24 -0700)]
sorting.extras: faster map-sort.

10 years agoarrays.shaped: Inefficient iteration with indices.
Doug Coleman [Wed, 24 Jul 2013 17:03:06 +0000 (10:03 -0700)]
arrays.shaped: Inefficient iteration with indices.
Add upper,lower,strict-upper/lower map operations and array constructions.

10 years agointerpolate: adding generalized numbered string interpolate.
John Benediktsson [Wed, 24 Jul 2013 15:44:31 +0000 (08:44 -0700)]
interpolate: adding generalized numbered string interpolate.

10 years agosemantic-versioning: maybe this is more forgiving and simpler.
John Benediktsson [Wed, 17 Jul 2013 02:47:07 +0000 (19:47 -0700)]
semantic-versioning: maybe this is more forgiving and simpler.

10 years agosemantic-versioning: upgrade to Semantic Versioning 2.0.0.
John Benediktsson [Wed, 17 Jul 2013 00:58:08 +0000 (17:58 -0700)]
semantic-versioning: upgrade to Semantic Versioning 2.0.0.

Note: the parser is purposefully forgiving to handle more cases
than the specification allows.

10 years agoio.monitors.recursive: Fry quotations - do not apply liberally.
Doug Coleman [Tue, 16 Jul 2013 21:43:29 +0000 (14:43 -0700)]
io.monitors.recursive: Fry quotations - do not apply liberally.

10 years agoio.monitors.recursive: Bug - <recursive-monitor> could fail and leak a file monitor.
Doug Coleman [Tue, 16 Jul 2013 21:30:38 +0000 (14:30 -0700)]
io.monitors.recursive: Bug - <recursive-monitor> could fail and leak a file monitor.
Fix - Monitors tests were "leaking" dummy-monitors objects.

10 years agotools.deploy.test: Bump windows binaries size up a bit.
Doug Coleman [Tue, 16 Jul 2013 18:26:32 +0000 (11:26 -0700)]
tools.deploy.test: Bump windows binaries size up a bit.

10 years agotools.ps.windows: use offset-of instead.
John Benediktsson [Mon, 15 Jul 2013 22:31:59 +0000 (15:31 -0700)]
tools.ps.windows: use offset-of instead.

10 years agotools.ps.windows: Fix offsets for win64.
Doug Coleman [Mon, 15 Jul 2013 22:19:07 +0000 (15:19 -0700)]
tools.ps.windows: Fix offsets for win64.

10 years agohttp.client: support urls without protocols (in addition to strings).
John Benediktsson [Mon, 15 Jul 2013 17:28:28 +0000 (10:28 -0700)]
http.client: support urls without protocols (in addition to strings).

10 years agohttp.client: default to http:// if not specified.
John Benediktsson [Mon, 15 Jul 2013 16:30:22 +0000 (09:30 -0700)]
http.client: default to http:// if not specified.

10 years agoFUEL: Compatibility functions for Emacs 24.2.
Björn Lindqvist [Sat, 13 Jul 2013 17:13:39 +0000 (19:13 +0200)]
FUEL: Compatibility functions for Emacs 24.2.

10 years agoio.directories.unix: If you mount a .iso, all the file types are +unknown+ according...
Doug Coleman [Thu, 11 Jul 2013 16:46:26 +0000 (09:46 -0700)]
io.directories.unix: If you mount a .iso, all the file types are +unknown+ according to directory-files.
Fall back to file-info on +unknown+ file types and use with-directory in with-unix-directory so the paths are correct for file-info.
Fixes #911.

10 years agosplitting.extras: adding split-harvest in "core style" (ugh!).
John Benediktsson [Wed, 26 Jun 2013 03:01:58 +0000 (20:01 -0700)]
splitting.extras: adding split-harvest in "core style" (ugh!).

10 years agospelling: some performance improvements, and minor fixes.
John Benediktsson [Tue, 25 Jun 2013 22:50:42 +0000 (15:50 -0700)]
spelling: some performance improvements, and minor fixes.

10 years agomath.statistics: use >array instead of { } clone-like.
John Benediktsson [Tue, 25 Jun 2013 22:40:33 +0000 (15:40 -0700)]
math.statistics: use >array instead of { } clone-like.

10 years agostrings: faster clone-like when both arguments are strings.
John Benediktsson [Tue, 25 Jun 2013 22:39:34 +0000 (15:39 -0700)]
strings: faster clone-like when both arguments are strings.

10 years agobyte-arrays: faster clone-like when both arguments are byte-arrays.
John Benediktsson [Tue, 25 Jun 2013 22:39:24 +0000 (15:39 -0700)]
byte-arrays: faster clone-like when both arguments are byte-arrays.

10 years agosplitting: cleanup duplicate code.
John Benediktsson [Tue, 25 Jun 2013 22:17:00 +0000 (15:17 -0700)]
splitting: cleanup duplicate code.

10 years agoeuler.b-rep: Fix usage of HEX: in unit tests.
Doug Coleman [Wed, 19 Jun 2013 14:01:08 +0000 (07:01 -0700)]
euler.b-rep: Fix usage of HEX: in unit tests.

10 years agogame.loop: Fix docs.
Doug Coleman [Wed, 19 Jun 2013 14:00:58 +0000 (07:00 -0700)]
game.loop: Fix docs.

10 years agogml, euler: Initial commit.
Doug Coleman [Tue, 18 Jun 2013 23:42:13 +0000 (16:42 -0700)]
gml, euler: Initial commit.

10 years agogame.loop: Fix throwing errors inside game loop.
Doug Coleman [Tue, 18 Jun 2013 23:24:05 +0000 (16:24 -0700)]
game.loop: Fix throwing errors inside game loop.

10 years agomath.statistics: Handle some edge cases.
Doug Coleman [Mon, 17 Jun 2013 17:15:35 +0000 (10:15 -0700)]
math.statistics: Handle some edge cases.
Remove two unused parameters.

10 years agomath.statistics: Add trimean.
Doug Coleman [Mon, 17 Jun 2013 16:55:20 +0000 (09:55 -0700)]
math.statistics: Add trimean.

10 years agomath.extras: adding round-away-from-zero.
John Benediktsson [Mon, 17 Jun 2013 17:10:40 +0000 (10:10 -0700)]
math.extras: adding round-away-from-zero.

10 years agomath.statistics: [-] Golfed.
Doug Coleman [Mon, 17 Jun 2013 14:36:55 +0000 (07:36 -0700)]
math.statistics: [-] Golfed.

10 years agomath.statistics: Fix out of bounds on quantiles that should return the first element.
Doug Coleman [Mon, 17 Jun 2013 14:21:45 +0000 (07:21 -0700)]
math.statistics: Fix out of bounds on quantiles that should return the first element.

10 years agomath.combinatorics: specialized version of nths-unsafe for performance.
John Benediktsson [Fri, 14 Jun 2013 18:27:45 +0000 (11:27 -0700)]
math.combinatorics: specialized version of nths-unsafe for performance.

10 years agosets.extras: change non-repeating to use remove-first!.
John Benediktsson [Fri, 14 Jun 2013 18:02:30 +0000 (11:02 -0700)]
sets.extras: change non-repeating to use remove-first!.

10 years agosystem-info.macosx: code name for 10.9.
John Benediktsson [Mon, 10 Jun 2013 17:22:39 +0000 (10:22 -0700)]
system-info.macosx: code name for 10.9.

10 years agoFUEL: unmask `fuel-refresh-all`
Samuel Tardieu [Thu, 6 Jun 2013 22:11:21 +0000 (00:11 +0200)]
FUEL: unmask `fuel-refresh-all`

`fuel-refresh-all` is documented as mapped onto "\C-c\C-r", but this was
masked by an undocumented mapping for `fuel-eval-region` (which is
already bound to "\C-c\C-e\C-r").

10 years agounix.utmpx: Fix bootstrap on linux, add platform-specific structs.
Doug Coleman [Wed, 5 Jun 2013 01:09:52 +0000 (18:09 -0700)]
unix.utmpx: Fix bootstrap on linux, add platform-specific structs.

10 years agounix.utmpx: Support utmpx on linux and fix on macosx. Add a unit test.
Doug Coleman [Wed, 5 Jun 2013 00:51:36 +0000 (17:51 -0700)]
unix.utmpx: Support utmpx on linux and fix on macosx. Add a unit test.

10 years agoio.encodings: Add a stream-tell method for decoder streams.
Doug Coleman [Wed, 5 Jun 2013 00:46:25 +0000 (17:46 -0700)]
io.encodings: Add a stream-tell method for decoder streams.

10 years agoopengl.gl: Fix opengl loading for Windows.
Doug Coleman [Tue, 4 Jun 2013 16:10:37 +0000 (09:10 -0700)]
opengl.gl: Fix opengl loading for Windows.

10 years agogtk: add library references.
John Benediktsson [Tue, 4 Jun 2013 00:23:20 +0000 (17:23 -0700)]
gtk: add library references.

10 years agofactor.sh: Change deps-linux to deps-apt-get. Add deps-pacman
Doug Coleman [Tue, 4 Jun 2013 00:04:18 +0000 (17:04 -0700)]
factor.sh: Change deps-linux to deps-apt-get. Add deps-pacman

10 years agosequences.extra: >resizable can't be inline for some reason...
John Benediktsson [Thu, 30 May 2013 22:01:34 +0000 (15:01 -0700)]
sequences.extra: >resizable can't be inline for some reason...

10 years agosequences.extras: fix map-concat row-polymorphic problem.
John Benediktsson [Thu, 30 May 2013 21:54:29 +0000 (14:54 -0700)]
sequences.extras: fix map-concat row-polymorphic problem.

10 years agotools.disassembler.udis: no longer need these tests.
John Benediktsson [Tue, 28 May 2013 21:15:48 +0000 (14:15 -0700)]
tools.disassembler.udis: no longer need these tests.

10 years agotools.disassembler.udis: 1k ought to be enough for anybody.
John Benediktsson [Tue, 28 May 2013 19:11:12 +0000 (12:11 -0700)]
tools.disassembler.udis: 1k ought to be enough for anybody.

(Work around change in struct sizes from 1.7 to 1.7.1).

10 years agosequences.extras: clarify docs for subseq*.
John Benediktsson [Fri, 24 May 2013 18:44:35 +0000 (11:44 -0700)]
sequences.extras: clarify docs for subseq*.

10 years agosequences.extras: adding subseq* and safe-subseq.
John Benediktsson [Fri, 24 May 2013 18:19:27 +0000 (11:19 -0700)]
sequences.extras: adding subseq* and safe-subseq.

10 years agospelling: fix splits and sorting of corrections, other cleanup.
John Benediktsson [Wed, 22 May 2013 18:02:36 +0000 (11:02 -0700)]
spelling: fix splits and sorting of corrections, other cleanup.

10 years agounits.imperial: fix minims.
John Benediktsson [Tue, 21 May 2013 19:48:56 +0000 (12:48 -0700)]
units.imperial: fix minims.

10 years agounits.imperial: adding more units.
John Benediktsson [Tue, 21 May 2013 17:38:54 +0000 (10:38 -0700)]
units.imperial: adding more units.

10 years agosequences.extras: adding index-selector.
John Benediktsson [Tue, 21 May 2013 00:43:26 +0000 (17:43 -0700)]
sequences.extras: adding index-selector.

10 years agosequences.extras: similarly improve map-filter and filter-map.
John Benediktsson [Tue, 21 May 2013 00:09:14 +0000 (17:09 -0700)]
sequences.extras: similarly improve map-filter and filter-map.

10 years agosequences.extras: change filter-index to use length of seq not exemplar.
John Benediktsson [Mon, 20 May 2013 23:59:03 +0000 (16:59 -0700)]
sequences.extras: change filter-index to use length of seq not exemplar.

10 years agotwitter: adding verify-credentials.
John Benediktsson [Mon, 20 May 2013 23:47:23 +0000 (16:47 -0700)]
twitter: adding verify-credentials.

10 years agodestructors: more efficient dispose-each (not using make).
John Benediktsson [Mon, 20 May 2013 23:43:00 +0000 (16:43 -0700)]
destructors: more efficient dispose-each (not using make).

10 years agosequences: change filter-as to allocate length of seq not exemplar.
John Benediktsson [Mon, 20 May 2013 23:22:23 +0000 (16:22 -0700)]
sequences: change filter-as to allocate length of seq not exemplar.

10 years agoio.launcher: Fix bug -- if dispose fails, still call dispose on the other
Doug Coleman [Sun, 19 May 2013 17:22:07 +0000 (10:22 -0700)]
io.launcher: Fix bug -- if dispose fails, still call dispose on the other
resource.

10 years agoio.launcher: Fix two potential bugs.
Doug Coleman [Sun, 19 May 2013 17:15:14 +0000 (10:15 -0700)]
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.

10 years agoio.pipes: If dispose on in>> throws, then out>> leaks.
Doug Coleman [Sun, 19 May 2013 17:12:38 +0000 (10:12 -0700)]
io.pipes: If dispose on in>> throws, then out>> leaks.

10 years agomath.combinatorics: use cond in k-permutations.
John Benediktsson [Wed, 15 May 2013 22:09:25 +0000 (15:09 -0700)]
math.combinatorics: use cond in k-permutations.

10 years agomath.combinatorics: adding a k-permutations virtual sequence.
John Benediktsson [Wed, 15 May 2013 22:05:07 +0000 (15:05 -0700)]
math.combinatorics: adding a k-permutations virtual sequence.

10 years agocombinators.smart: Clarify stack effect for cleave>array.
Doug Coleman [Tue, 14 May 2013 01:10:19 +0000 (18:10 -0700)]
combinators.smart: Clarify stack effect for cleave>array.

10 years agomath.matrices: simpler square-rows.
John Benediktsson [Tue, 14 May 2013 20:52:24 +0000 (13:52 -0700)]
math.matrices: simpler square-rows.

10 years agomath.matrices: faster square-rows and square-cols.
John Benediktsson [Tue, 14 May 2013 20:46:44 +0000 (13:46 -0700)]
math.matrices: faster square-rows and square-cols.

10 years agocombinators.extras: adding plox by request.
John Benediktsson [Tue, 14 May 2013 20:44:14 +0000 (13:44 -0700)]
combinators.extras: adding plox by request.

10 years agofurnace.auth.providers.db: make test db name use cpu name.
John Benediktsson [Tue, 14 May 2013 18:32:20 +0000 (11:32 -0700)]
furnace.auth.providers.db: make test db name use cpu name.

10 years agocombinators.extras: adding keepd.
John Benediktsson [Tue, 14 May 2013 16:40:40 +0000 (09:40 -0700)]
combinators.extras: adding keepd.

10 years agoformatting: adding vprintf by request.
John Benediktsson [Tue, 14 May 2013 16:22:14 +0000 (09:22 -0700)]
formatting: adding vprintf by request.

10 years agoVM: Fix Windows 64-bit build on Visual Studio 2012
Erik Charlebois [Mon, 13 May 2013 22:19:52 +0000 (18:19 -0400)]
VM: Fix Windows 64-bit build on Visual Studio 2012

The UNW_FLAG_EHANDLER #define is now visible in VS2012, causing
a conflict with the definition in os-windows-x86.64.cpp. Added
a #ifndef to only include the definition if it hasn't already
been defined.

10 years agoVM: Fix Windows VM build following type renaming
Erik Charlebois [Mon, 13 May 2013 22:18:48 +0000 (18:18 -0400)]
VM: Fix Windows VM build following type renaming

Making cell be a typedef of uintptr_t broke a spot assigning
cell* was unsigned long*. Added an explicit cast.

10 years agoVM: Fixup cast formatting after clang-format
Erik Charlebois [Mon, 13 May 2013 04:53:47 +0000 (00:53 -0400)]
VM: Fixup cast formatting after clang-format

clang-format doesn't recognize casts to non-pointer/non-template types
so it winds up adding a space between the right paren and the expression
and then failing to recognize prefix operators in the process
(e.g. foo = (cell) & bar; should be foo = (cell)&bar;). This commit
manually fixes up the major cases (fixnum, cell, all types ending in _t).

11 years agoVM: Replace u8-64, s8-64, cell, fixnum with stdint.h equivalents
Erik Charlebois [Mon, 13 May 2013 04:28:25 +0000 (00:28 -0400)]
VM: Replace u8-64, s8-64, cell, fixnum with stdint.h equivalents

11 years agoVM: Remove WINCE #ifndef; fold wince? words
Erik Charlebois [Mon, 13 May 2013 03:55:50 +0000 (23:55 -0400)]
VM: Remove WINCE #ifndef; fold wince? words

11 years agoVM: Remove redundant #ifdef FACTOR_DEBUGs
Erik Charlebois [Mon, 13 May 2013 03:44:32 +0000 (23:44 -0400)]
VM: Remove redundant #ifdef FACTOR_DEBUGs

FACTOR_DEBUG checks around asserts aren't needed, since FACTOR_ASSERT is
already conditionally defined by FACTOR_DEBUG.

11 years agoVM: Remove unnecessary _ suffix in constructors
Erik Charlebois [Mon, 13 May 2013 03:20:43 +0000 (23:20 -0400)]
VM: Remove unnecessary _ suffix in constructors

11 years agoVM: Remove unnecessary explicit keywords
Erik Charlebois [Mon, 13 May 2013 01:48:38 +0000 (21:48 -0400)]
VM: Remove unnecessary explicit keywords

11 years agoVM: Refactor write_barrier.hpp to Factor style
Erik Charlebois [Sun, 12 May 2013 02:32:23 +0000 (22:32 -0400)]
VM: Refactor write_barrier.hpp to Factor style

11 years agoVM: Refactor words.cpp to Factor style
Erik Charlebois [Sun, 12 May 2013 02:32:09 +0000 (22:32 -0400)]
VM: Refactor words.cpp to Factor style

11 years agoVM: Refactor vm.cpp/hpp to Factor style
Erik Charlebois [Sun, 12 May 2013 02:31:48 +0000 (22:31 -0400)]
VM: Refactor vm.cpp/hpp to Factor style

11 years agoVM: Refactor utilities.cpp/hpp to Factor style
Erik Charlebois [Sun, 12 May 2013 02:30:45 +0000 (22:30 -0400)]
VM: Refactor utilities.cpp/hpp to Factor style

11 years agoVM: Refactor tuples.cpp/hpp to Factor style
Erik Charlebois [Sun, 12 May 2013 02:30:22 +0000 (22:30 -0400)]
VM: Refactor tuples.cpp/hpp to Factor style

11 years agoVM: Refactor to_tenured_collector.cpp/hpp to Factor style
Erik Charlebois [Sun, 12 May 2013 02:29:54 +0000 (22:29 -0400)]
VM: Refactor to_tenured_collector.cpp/hpp to Factor style

11 years agoVM: Refactor tenured_space.hpp to Factor style
Erik Charlebois [Sun, 12 May 2013 02:29:34 +0000 (22:29 -0400)]
VM: Refactor tenured_space.hpp to Factor style

11 years agoVM: Refactor tagged.hpp to Factor style
Erik Charlebois [Sun, 12 May 2013 02:29:22 +0000 (22:29 -0400)]
VM: Refactor tagged.hpp to Factor style

11 years agoVM: Refactor strings.cpp/hpp to Factor style
Erik Charlebois [Sun, 12 May 2013 02:29:07 +0000 (22:29 -0400)]
VM: Refactor strings.cpp/hpp to Factor style

11 years agoVM: Refactor slot_visitor.hpp to Factor style
Erik Charlebois [Sun, 12 May 2013 02:28:42 +0000 (22:28 -0400)]
VM: Refactor slot_visitor.hpp to Factor style

11 years agoVM: Refactor segments.hpp to Factor style
Erik Charlebois [Sun, 12 May 2013 02:28:18 +0000 (22:28 -0400)]
VM: Refactor segments.hpp to Factor style

11 years agoVM: Refactor sampling_profiler.cpp/hpp to Factor style
Erik Charlebois [Sun, 12 May 2013 02:28:05 +0000 (22:28 -0400)]
VM: Refactor sampling_profiler.cpp/hpp to Factor style