]> gitweb.factorcode.org Git - factor.git/log
factor.git
10 years agoRevert "sequences: require integers for slice and repetition."
John Benediktsson [Wed, 12 Mar 2014 14:18:12 +0000 (07:18 -0700)]
Revert "sequences: require integers for slice and repetition."

This reverts commit 5e87cdb3a9b5885c6648ffaf6e5e9a2edc5fd200.

10 years agopython.syntax: fix py-import.
John Benediktsson [Wed, 12 Mar 2014 14:16:05 +0000 (07:16 -0700)]
python.syntax: fix py-import.

10 years agoLeave oauth alone. Leave her alone!!!
Doug Coleman [Wed, 12 Mar 2014 05:58:04 +0000 (00:58 -0500)]
Leave oauth alone. Leave her alone!!!
Revert "Revert "oauth: Generate the oauth signature base string the way twitter does it.""

This reverts commit 288156beb6bd09e4d00de03d0be6d41acbd30419.

10 years agoRevert "oauth: Generate the oauth signature base string the way twitter does it."
John Benediktsson [Wed, 12 Mar 2014 03:47:08 +0000 (20:47 -0700)]
Revert "oauth: Generate the oauth signature base string the way twitter does it."

This reverts commit e633caac716d58e7f94bf29b171e096df1c7b395.

10 years agoRevert "urls: Allow URLs of the form //foo.com, which take on the protocol of the...
John Benediktsson [Wed, 12 Mar 2014 03:20:23 +0000 (20:20 -0700)]
Revert "urls: Allow URLs of the form //foo.com, which take on the protocol of the URL they derive from."

This reverts commit e6598fc22fd91309288fbe9840f7872d8fd84438.

10 years agotools.coverage: Add a ``test-coverage-recursively`` word. Not all vocabs can be teste...
Doug Coleman [Wed, 12 Mar 2014 02:20:34 +0000 (21:20 -0500)]
tools.coverage: Add a ``test-coverage-recursively`` word. Not all vocabs can be tested for unit test coverage, so don't make this the default. Fixes #1013.

10 years agoio.standard-paths.unix: fix tests on arch linux.
John Benediktsson [Tue, 11 Mar 2014 18:37:00 +0000 (11:37 -0700)]
io.standard-paths.unix: fix tests on arch linux.

10 years agoio.streams.byte-array: some cleanup.
John Benediktsson [Tue, 11 Mar 2014 18:27:50 +0000 (11:27 -0700)]
io.streams.byte-array: some cleanup.

10 years agoio.streams.byte-array: add test of empty byte array.
John Benediktsson [Tue, 11 Mar 2014 18:26:05 +0000 (11:26 -0700)]
io.streams.byte-array: add test of empty byte array.

10 years agoio.streams.string: cleanup tests.
John Benediktsson [Tue, 11 Mar 2014 18:25:53 +0000 (11:25 -0700)]
io.streams.string: cleanup tests.

10 years agologgin: some cleanup, particularly of write-message.
John Benediktsson [Tue, 11 Mar 2014 18:22:24 +0000 (11:22 -0700)]
loggin: some cleanup, particularly of write-message.

10 years agoio.streams.sequence: support slices (fix io.streams.peek test failure).
John Benediktsson [Tue, 11 Mar 2014 02:56:42 +0000 (19:56 -0700)]
io.streams.sequence: support slices (fix io.streams.peek test failure).

10 years agoio.streams: some more test cases for sequence-read-until.
John Benediktsson [Mon, 10 Mar 2014 22:29:11 +0000 (15:29 -0700)]
io.streams: some more test cases for sequence-read-until.

10 years agoio.streams.sequence: make sure not to return ``f``.
John Benediktsson [Mon, 10 Mar 2014 22:10:29 +0000 (15:10 -0700)]
io.streams.sequence: make sure not to return ``f``.

10 years agoRevert "Revert "io.encodings: string>byte-array-fast can use (byte-array).""
John Benediktsson [Fri, 7 Mar 2014 19:19:45 +0000 (11:19 -0800)]
Revert "Revert "io.encodings: string>byte-array-fast can use (byte-array).""

This reverts commit af6975593756e353654b67b1bf1db7dd06f8c114.

10 years agoRevert "Revert "alien.data: <ref> doesn't need to zero memory.""
John Benediktsson [Fri, 7 Mar 2014 19:19:36 +0000 (11:19 -0800)]
Revert "Revert "alien.data: <ref> doesn't need to zero memory.""

This reverts commit 01142121511d4b9338c84286d4efdd3c8d5a4665.

10 years agoRevert "io.encodings: string>byte-array-fast can use (byte-array)."
John Benediktsson [Fri, 7 Mar 2014 17:46:19 +0000 (09:46 -0800)]
Revert "io.encodings: string>byte-array-fast can use (byte-array)."

This reverts commit f9881290cdb3238365f0bc5d126325236b4c2123.

10 years agoRevert "alien.data: <ref> doesn't need to zero memory."
John Benediktsson [Fri, 7 Mar 2014 17:46:13 +0000 (09:46 -0800)]
Revert "alien.data: <ref> doesn't need to zero memory."

This reverts commit f9a714b48fc1700431b61f7f1968893d2b2b3ee7.

10 years agoio.sockets.secure.openssl: guard against SSL_get_peer_certificate returning null
Björn Lindqvist [Thu, 6 Mar 2014 17:41:37 +0000 (18:41 +0100)]
io.sockets.secure.openssl: guard against SSL_get_peer_certificate returning null

10 years agopython: fix help-lint warnings.
John Benediktsson [Tue, 4 Mar 2014 19:06:55 +0000 (11:06 -0800)]
python: fix help-lint warnings.

10 years agochecksums.sha: minor speedup.
John Benediktsson [Tue, 4 Mar 2014 18:05:03 +0000 (10:05 -0800)]
checksums.sha: minor speedup.

10 years agopython: rename >factor to py>, rename import to py-import, minor stuff.
John Benediktsson [Tue, 4 Mar 2014 17:39:02 +0000 (09:39 -0800)]
python: rename >factor to py>, rename import to py-import, minor stuff.

10 years agopython: set PYTHONHOME
Björn Lindqvist [Fri, 7 Feb 2014 16:46:37 +0000 (17:46 +0100)]
python: set PYTHONHOME

10 years agopython: fix path to test file
Björn Lindqvist [Fri, 7 Feb 2014 16:10:10 +0000 (17:10 +0100)]
python: fix path to test file

10 years agopython: improved docs, support for kwargs to methods and sets sys.argv
Björn Lindqvist [Mon, 3 Feb 2014 10:28:43 +0000 (11:28 +0100)]
python: improved docs, support for kwargs to methods and sets sys.argv

10 years agopython: support for kwarg functions
Björn Lindqvist [Fri, 31 Jan 2014 16:00:26 +0000 (17:00 +0100)]
python: support for kwarg functions

10 years agopython: vocab split into subvocabs python.errors and python.objects for
Björn Lindqvist [Fri, 31 Jan 2014 14:59:04 +0000 (15:59 +0100)]
python: vocab split into subvocabs python.errors and python.objects for
easier maintenance

10 years agopython: More documentation, privatization of words in python.syntax
Björn Lindqvist [Fri, 31 Jan 2014 11:18:12 +0000 (12:18 +0100)]
python: More documentation, privatization of words in python.syntax

10 years agopython: metadata files and a first stab at documentation
Björn Lindqvist [Thu, 30 Jan 2014 20:29:21 +0000 (21:29 +0100)]
python: metadata files and a first stab at documentation

10 years agopython: word for converting python lists to vectors
Björn Lindqvist [Thu, 30 Jan 2014 19:46:55 +0000 (20:46 +0100)]
python: word for converting python lists to vectors

10 years agopython: setup serialization between vectors and python lists
Björn Lindqvist [Thu, 30 Jan 2014 16:24:58 +0000 (17:24 +0100)]
python: setup serialization between vectors and python lists

10 years agopython: setattr wrapping
Björn Lindqvist [Thu, 30 Jan 2014 14:06:30 +0000 (15:06 +0100)]
python: setattr wrapping

10 years agopython: much improved syntax, $ sigil used to get object values
Björn Lindqvist [Wed, 29 Jan 2014 17:19:07 +0000 (18:19 +0100)]
python: much improved syntax, $ sigil used to get object values

10 years agopython: syntax for methods and ditching of the auto-marshalling words, the syntax...
Björn Lindqvist [Tue, 28 Jan 2014 23:31:43 +0000 (00:31 +0100)]
python: syntax for methods and ditching of the auto-marshalling words, the syntax didn't turn out great

10 years agopython: compressed using lines
Björn Lindqvist [Tue, 28 Jan 2014 18:45:31 +0000 (19:45 +0100)]
python: compressed using lines

10 years agopython.syntax: vocab that makes python functions work like factor words
Björn Lindqvist [Tue, 28 Jan 2014 18:19:57 +0000 (19:19 +0100)]
python.syntax: vocab that makes python functions work like factor words

10 years agopython: the os module is considerably smaller on windows
Björn Lindqvist [Tue, 28 Jan 2014 11:14:35 +0000 (12:14 +0100)]
python: the os module is considerably smaller on windows

10 years agopython: several more builtin functions and refcounting fixes
Björn Lindqvist [Mon, 27 Jan 2014 22:49:00 +0000 (23:49 +0100)]
python: several more builtin functions and refcounting fixes

10 years agopython: more correct reference counting, handles ucs2 and ucs4, stdlib module wrappers
Björn Lindqvist [Mon, 27 Jan 2014 20:59:59 +0000 (21:59 +0100)]
python: more correct reference counting, handles ucs2 and ucs4, stdlib module wrappers

10 years agopython: ucs2 and ucs4
Björn Lindqvist [Tue, 21 Jan 2014 17:10:24 +0000 (18:10 +0100)]
python: ucs2 and ucs4

10 years agopython: function needed to make both ucs2 and ucs4 python builds work
Björn Lindqvist [Mon, 20 Jan 2014 18:24:22 +0000 (19:24 +0100)]
python: function needed to make both ucs2 and ucs4 python builds work

10 years agopython: windows compat
Björn Lindqvist [Mon, 20 Jan 2014 17:41:55 +0000 (18:41 +0100)]
python: windows compat

10 years agopython: a thin ffi to Python, everything mostly works except for the cursed reference...
Björn Lindqvist [Sun, 19 Jan 2014 22:45:25 +0000 (23:45 +0100)]
python: a thin ffi to Python, everything mostly works except for the cursed reference counting

10 years agoui.backend.gtk: connect ui signals before realizing the widget
Björn Lindqvist [Mon, 3 Mar 2014 00:27:31 +0000 (01:27 +0100)]
ui.backend.gtk: connect ui signals before realizing the widget

gtk_widget_add_events() needs to be called before gtk_widget_realize()
otherwise oxygen-gtk will steal all lmb clicks

10 years agoio.encodings: string>byte-array-fast can use (byte-array).
John Benediktsson [Fri, 28 Feb 2014 05:10:05 +0000 (21:10 -0800)]
io.encodings: string>byte-array-fast can use (byte-array).

10 years agoalien.data: <ref> doesn't need to zero memory.
John Benediktsson [Fri, 28 Feb 2014 04:53:54 +0000 (20:53 -0800)]
alien.data: <ref> doesn't need to zero memory.

10 years agocalendar.unix: simplify current-timeval.
John Benediktsson [Thu, 27 Feb 2014 23:26:52 +0000 (15:26 -0800)]
calendar.unix: simplify current-timeval.

10 years agoio.files.info.unix.linux: cleanup stack effects.
John Benediktsson [Thu, 27 Feb 2014 23:26:38 +0000 (15:26 -0800)]
io.files.info.unix.linux: cleanup stack effects.

10 years agosequences.extras: adding replicate-into.
John Benediktsson [Thu, 27 Feb 2014 22:31:25 +0000 (14:31 -0800)]
sequences.extras: adding replicate-into.

10 years agochecksums.internet: simplify.
John Benediktsson [Thu, 27 Feb 2014 22:03:00 +0000 (14:03 -0800)]
checksums.internet: simplify.

10 years agochecksums.xxhash: cleanup, faster.
John Benediktsson [Thu, 27 Feb 2014 21:59:34 +0000 (13:59 -0800)]
checksums.xxhash: cleanup, faster.

10 years agorandom: simplify using bitwise operations.
John Benediktsson [Tue, 25 Feb 2014 23:59:51 +0000 (15:59 -0800)]
random: simplify using bitwise operations.

10 years agochecksums.md5: remove extra "32 bits".
John Benediktsson [Tue, 25 Feb 2014 23:59:43 +0000 (15:59 -0800)]
checksums.md5: remove extra "32 bits".

10 years agochecksums.murmur: remove code duplication.
John Benediktsson [Tue, 25 Feb 2014 23:56:16 +0000 (15:56 -0800)]
checksums.murmur: remove code duplication.

10 years agochecksums.xxhash: adding xxHash checksum implementation.
John Benediktsson [Tue, 25 Feb 2014 23:55:32 +0000 (15:55 -0800)]
checksums.xxhash: adding xxHash checksum implementation.

10 years agoio.streams.sequence: use member? to support bignum separators.
John Benediktsson [Tue, 25 Feb 2014 18:13:05 +0000 (10:13 -0800)]
io.streams.sequence: use member? to support bignum separators.

10 years agoio: minor cleanups.
John Benediktsson [Tue, 25 Feb 2014 18:04:08 +0000 (10:04 -0800)]
io: minor cleanups.

10 years agoio.streams.sequence: cleanup by moving type checks.
John Benediktsson [Tue, 25 Feb 2014 17:32:47 +0000 (09:32 -0800)]
io.streams.sequence: cleanup by moving type checks.

10 years agoio.streams.byte-array: faster with-byte-writer.
John Benediktsson [Tue, 25 Feb 2014 16:23:32 +0000 (08:23 -0800)]
io.streams.byte-array: faster with-byte-writer.

10 years agoio.streams.sequence: rename (stream-seek) to sequence-seek.
John Benediktsson [Tue, 25 Feb 2014 15:56:28 +0000 (07:56 -0800)]
io.streams.sequence: rename (stream-seek) to sequence-seek.

10 years agoio.streams.sequence: bounds check sequence-read-until.
John Benediktsson [Tue, 25 Feb 2014 15:52:07 +0000 (07:52 -0800)]
io.streams.sequence: bounds check sequence-read-until.

10 years agoio.streams.string: faster M\ string-reader stream-readln.
John Benediktsson [Tue, 25 Feb 2014 05:47:49 +0000 (21:47 -0800)]
io.streams.string: faster M\ string-reader stream-readln.

10 years agoio.streams.byte-array: faster M\ byte-reader stream-read-unsafe.
John Benediktsson [Tue, 25 Feb 2014 05:40:38 +0000 (21:40 -0800)]
io.streams.byte-array: faster M\ byte-reader stream-read-unsafe.

10 years agopack: add some tests for expand-pack-format.
John Benediktsson [Mon, 24 Feb 2014 21:48:11 +0000 (13:48 -0800)]
pack: add some tests for expand-pack-format.

10 years agopack: support numbered format strings.
John Benediktsson [Mon, 24 Feb 2014 19:23:13 +0000 (11:23 -0800)]
pack: support numbered format strings.

10 years agoui.backend.windows: correct wndproc signature so that factor works with vs2012
Björn Lindqvist [Fri, 21 Feb 2014 16:17:40 +0000 (17:17 +0100)]
ui.backend.windows: correct wndproc signature so that factor works with vs2012

10 years agocontinuations: remove seemingly unhelpful comment.
John Benediktsson [Fri, 21 Feb 2014 16:32:01 +0000 (08:32 -0800)]
continuations: remove seemingly unhelpful comment.

10 years agolexer: cleanup a bit.
John Benediktsson [Fri, 21 Feb 2014 09:10:21 +0000 (01:10 -0800)]
lexer: cleanup a bit.

10 years agosequences: require integers for slice and repetition.
John Benediktsson [Fri, 21 Feb 2014 09:01:43 +0000 (01:01 -0800)]
sequences: require integers for slice and repetition.

10 years agocolor-picker: Show the hex value of the color because it's useful.
Doug Coleman [Thu, 20 Feb 2014 08:13:08 +0000 (00:13 -0800)]
color-picker: Show the hex value of the color because it's useful.

10 years agocsv: empty strings and files are valid csv:s
Björn Lindqvist [Wed, 19 Feb 2014 09:07:28 +0000 (10:07 +0100)]
csv: empty strings and files are valid csv:s

10 years agoip-parser: allow zeros in IP addresses.
John Benediktsson [Tue, 18 Feb 2014 15:33:54 +0000 (07:33 -0800)]
ip-parser: allow zeros in IP addresses.

10 years agochecksums.md5: more types and inline, lots faster.
John Benediktsson [Tue, 18 Feb 2014 02:26:57 +0000 (18:26 -0800)]
checksums.md5: more types and inline, lots faster.

10 years agochecksums.sha: more types, faster.
John Benediktsson [Tue, 18 Feb 2014 02:26:17 +0000 (18:26 -0800)]
checksums.sha: more types, faster.

10 years agochecksums: simplify add-checksum-bytes.
John Benediktsson [Tue, 18 Feb 2014 02:25:51 +0000 (18:25 -0800)]
checksums: simplify add-checksum-bytes.

10 years agosorting: simpler check-bounds.
John Benediktsson [Tue, 18 Feb 2014 01:50:08 +0000 (17:50 -0800)]
sorting: simpler check-bounds.

10 years agohtml.parser.analyzer: cleanup, fix find-by-class-id-between.
John Benediktsson [Mon, 17 Feb 2014 23:17:24 +0000 (15:17 -0800)]
html.parser.analyzer: cleanup, fix find-by-class-id-between.

10 years agohtml.parser.analyzer: when matching on classname, check that the tag has the given...
Björn Lindqvist [Sat, 15 Feb 2014 22:14:29 +0000 (23:14 +0100)]
html.parser.analyzer: when matching on classname, check that the tag has the given class

10 years agovm: jit::jit is a c++ constructor but it does not allocate objects to the Factor...
Doug Coleman [Fri, 14 Feb 2014 04:42:44 +0000 (20:42 -0800)]
vm: jit::jit is a c++ constructor but it does not allocate objects to the Factor heaps.
Add annotations for gc allocating.

10 years agorandom.mersenne-twister: Don't use system-random-generator to initialize
Doug Coleman [Sat, 15 Feb 2014 02:48:25 +0000 (18:48 -0800)]
random.mersenne-twister: Don't use system-random-generator to initialize
Mersenne Twister. If there is no system random generator, startup can
fail.

10 years agoassocs.extras: adding assoc-sift.
John Benediktsson [Fri, 14 Feb 2014 04:08:12 +0000 (20:08 -0800)]
assocs.extras: adding assoc-sift.

10 years agotwitter.prettyprint: Add user-profile.
Doug Coleman [Thu, 13 Feb 2014 04:12:54 +0000 (20:12 -0800)]
twitter.prettyprint: Add user-profile.

10 years agotwitter: Add user-profile and refactor a bit.
Doug Coleman [Thu, 13 Feb 2014 04:11:32 +0000 (20:11 -0800)]
twitter: Add user-profile and refactor a bit.

10 years agooauth: Generate the oauth signature base string the way twitter does it.
Doug Coleman [Thu, 13 Feb 2014 03:50:10 +0000 (19:50 -0800)]
oauth: Generate the oauth signature base string the way twitter does it.

10 years agotwitter: Add mentions timeline.
Doug Coleman [Thu, 13 Feb 2014 00:55:31 +0000 (16:55 -0800)]
twitter: Add mentions timeline.

10 years agowindows.errors: fix #987
Björn Lindqvist [Tue, 11 Feb 2014 17:56:09 +0000 (18:56 +0100)]
windows.errors: fix #987

10 years agoio.streams.string: inline <string-writer> so with-string-writer is faster.
John Benediktsson [Tue, 11 Feb 2014 04:46:25 +0000 (20:46 -0800)]
io.streams.string: inline <string-writer> so with-string-writer is faster.

10 years agogeneralizations: fix docs for nrot and -nrot.
John Benediktsson [Tue, 11 Feb 2014 04:40:01 +0000 (20:40 -0800)]
generalizations: fix docs for nrot and -nrot.

10 years agoformatting: make printf faster.
John Benediktsson [Tue, 11 Feb 2014 04:39:08 +0000 (20:39 -0800)]
formatting: make printf faster.

10 years agoformatting: new format specifier for unparsed representation
Björn Lindqvist [Mon, 10 Feb 2014 01:52:15 +0000 (02:52 +0100)]
formatting: new format specifier for unparsed representation

10 years agoip-parser: prefer a cleaner maybe less fast version.
John Benediktsson [Mon, 10 Feb 2014 04:09:39 +0000 (20:09 -0800)]
ip-parser: prefer a cleaner maybe less fast version.

10 years agoip-parser: faster ntoa and aton.
John Benediktsson [Sun, 9 Feb 2014 23:45:28 +0000 (15:45 -0800)]
ip-parser: faster ntoa and aton.

10 years agomath.bitwise: fix docs for mask and unmask (they don't return a boolean).
John Benediktsson [Sun, 9 Feb 2014 23:36:49 +0000 (15:36 -0800)]
math.bitwise: fix docs for mask and unmask (they don't return a boolean).

10 years agoip-parser: use byte-array in ipv4-aton to force fixnum math.
John Benediktsson [Sun, 9 Feb 2014 19:07:31 +0000 (11:07 -0800)]
ip-parser: use byte-array in ipv4-aton to force fixnum math.

10 years agorandom.mersenne-twister: fix name of stack effect.
John Benediktsson [Sun, 9 Feb 2014 19:00:57 +0000 (11:00 -0800)]
random.mersenne-twister: fix name of stack effect.

10 years agogeo-ip: change to use ip-parser for ipv4 lookup.
John Benediktsson [Sun, 9 Feb 2014 19:00:38 +0000 (11:00 -0800)]
geo-ip: change to use ip-parser for ipv4 lookup.

10 years agoip-parser: adding ntoa and aton words.
John Benediktsson [Sun, 9 Feb 2014 18:58:47 +0000 (10:58 -0800)]
ip-parser: adding ntoa and aton words.

10 years agosequences: implement sum on repetitions.
John Benediktsson [Sun, 9 Feb 2014 16:05:26 +0000 (08:05 -0800)]
sequences: implement sum on repetitions.

10 years agorandom.mersenne-twister: more complete fix for bias.
John Benediktsson [Fri, 7 Feb 2014 19:56:29 +0000 (11:56 -0800)]
random.mersenne-twister: more complete fix for bias.

10 years agorandom.mersenne-twister: fix non-random bias.
John Benediktsson [Fri, 7 Feb 2014 15:31:53 +0000 (07:31 -0800)]
random.mersenne-twister: fix non-random bias.