John Benediktsson
4f401a1585
windows.dragdrop-listener: cleanup using.
2019-03-21 19:54:06 -07:00
John Benediktsson
25b29e084d
io.directories.search: a better fix for the linux entry ordering issue.
2019-03-21 19:36:05 -07:00
John Benediktsson
1c44494b32
Revert "io.directories.search: Fix the order of the depth/breadth traversals."
...
This reverts commit c3cfc177cd
.
2019-03-21 19:23:13 -07:00
Doug Coleman
d6ffd15185
libc.freebsd: platforms.txt not platform.txt
...
Fixes linux bootstrap
2019-03-21 19:52:07 -05:00
Doug Coleman
c3cfc177cd
io.directories.search: Fix the order of the depth/breadth traversals.
...
This unit test kind of sucks.
2019-03-21 19:41:26 -05:00
Doug Coleman
0b794f5a07
windows.dragdrop-listener: Fix using
2019-03-21 18:38:47 -05:00
Doug Coleman
ba09f64b6b
travis: Add required packages.
...
==== FAILING TESTS
2019-03-21 18:31:22 -05:00
John Benediktsson
26abdf4a23
regexp: try again to fix the issue with backslashes.
...
the new simple rule is inside R/ syntax all backslashes should be
escaped to allow easy regexp literal tokenization:
R/ [\/]/
but in the constructor <regexp> they shouldn't be:
"[/]" <regexp>
When the regexp is prettyprinted we make sure to visually escape the
backslashes in the raw regexp.
2019-03-21 13:29:15 -07:00
John Benediktsson
ca9f74e993
Revert "crontab: instead of after= make it after."
...
This reverts commit a3d5e3ffcb
.
2019-03-21 10:55:22 -07:00
John Benediktsson
b3bcf537cc
Revert "regexp: fix take-until to handle escapes at the end of a regexp."
...
This reverts commit 2136abc1d6
.
2019-03-18 10:42:40 -07:00
John Benediktsson
6339558368
Revert "regexp: slightly more complicated tokenization to handle another case."
...
This reverts commit 9f0bce7622
.
2019-03-18 10:42:29 -07:00
John Benediktsson
1ab1ef7f68
Revert "globs: simpler separator regexp."
...
This reverts commit 31f309a829
.
2019-03-18 10:42:23 -07:00
John Benediktsson
31f309a829
globs: simpler separator regexp.
2019-03-17 13:14:28 -07:00
John Benediktsson
9f0bce7622
regexp: slightly more complicated tokenization to handle another case.
...
R/ [^/]/
R/ (/|abc)/
2019-03-17 13:14:28 -07:00
Doug Coleman
d59292faf6
io.sockets: fix for inet6 too.
...
"::1" 0 <inet4> utf8 <server>
"::1" f <inet4> utf8 <server>
Fixes #2109
2019-03-17 12:23:34 -05:00
Doug Coleman
f4d17d3ba3
io.sockets: Allow f in the port of an inet4.
...
Fixes #2019 .
2019-03-17 12:14:56 -05:00
John Benediktsson
2136abc1d6
regexp: fix take-until to handle escapes at the end of a regexp.
...
this worked:
R\ //.\
this didn't:
R\ //\
2019-03-17 09:52:53 -07:00
John Benediktsson
a3d5e3ffcb
crontab: instead of after= make it after.
2019-03-17 09:24:47 -07:00
Doug Coleman
4df7773a58
io.files.windows: Reloading io.pathnames overwrites these two object
...
methods.
Make them windows methods instead.
2019-03-17 10:56:57 -05:00
Doug Coleman
baafbb8b34
windows: Add all shell32 function stubs. Add more com.
2019-03-17 10:56:57 -05:00
John Benediktsson
112263ca3c
crontab: avoid next-time being minutes in the past.
2019-03-17 08:55:36 -07:00
John Benediktsson
64d835e2bf
parser: use ?first.
2019-03-16 20:33:40 -07:00
John Benediktsson
447e30ad41
ui.tools.listener: use ?first.
2019-03-16 20:33:16 -07:00
John Benediktsson
b942caf3d7
io.directories.search: fix traversal test case cross-platform issues.
...
on Linux and macOS mojave they entries might traverse (a,c,b)
instead of (a,b.c) so we preserve the traversal method order
but sort for cross-platform testing.
2019-03-16 20:29:19 -07:00
John Benediktsson
ada81e77f5
generalizations: fix funny mnapply/nspread* bug for n > 3.
...
It accidentally worked for n <= 3, now it purposefully works.
2019-03-16 19:58:07 -07:00
John Benediktsson
d4fc53f10e
models.delay: use restart-timer, it should actually be working.
2019-03-16 16:56:05 -07:00
John Benediktsson
49d9d21124
crontab: cleanup empty lines differently.
2019-03-16 16:48:41 -07:00
Doug Coleman
5048c39e0f
build.sh: add compile/recopile to docs
2019-03-08 21:35:53 -06:00
Doug Coleman
d6c3cff581
debian: Don't install gcc g++ on debian.
...
gmake assumes default CC is cc, CXX is g++ (not c++).
In order to make this sane (c++), we check if the shell variable CXX was set
and if so we honor it, else we set CXX to c++.
2019-03-08 21:19:33 -06:00
Doug Coleman
4403155dce
machine-learning.data-sets: Load mnist data.
2019-03-01 23:14:59 -06:00
Doug Coleman
92648265d2
hacker-news: Add more endpoints to api.
2019-03-01 22:26:14 -06:00
Doug Coleman
3f0ff53369
math.functions: add logit function and a test.
...
sigmoid is known as expit in scipy
2019-02-24 11:15:58 -06:00
Doug Coleman
d70148e365
make: We don't need the flag.
2019-02-23 17:46:28 -06:00
Doug Coleman
e639f23442
build.sh: Remove debug..
2019-02-23 16:41:20 -06:00
Doug Coleman
a9871b39aa
vm: Fix DEBUG flag, make REPRODUCIBLE work like debug, minor fixes to build.sh
...
- ``make DEBUG=0`` caused debug mode because the check was ``ifdef DEBUG`` which is true even if DEBUG=0
- no need to ``#pragma message`` that we are doing a reproducible build imo
- clang warns about redefining builtin macros, turn the warning off for reproducible builds
- add ``./build.sh info`` as an alias for ``./build.sh report``
- show if we a reproducible in report/info
2019-02-23 16:23:33 -06:00
Cat Stevens
044f7bbe11
vm/master.hpp: optional reproducible VM compilation
...
The old behaviour of building with `__DATE__` and
`__TIME__` is still the default, but now it's
possible to use `-DREPRODUCIBLE=1` and the
`REPRODUCIBLE=1` parameter to `make` and `nmake`.
Specifically, this replaces the value of
`FACTOR_COMPILE_TIME` with the string constant
`"[reproducible]"`. This is purely a cosmetic
change.
2019-02-20 15:50:06 -05:00
Doug Coleman
29da71e2bf
unix.kqueue: fix platforms.
2019-02-10 22:18:34 -06:00
Jack Lucas
bddfb57dbe
remove useless structure definition
2019-02-10 11:04:48 -05:00
Jack Lucas
df90be1229
Fix stat so io test will finish
2019-02-10 11:01:31 -05:00
Jack Lucas
0c02a7c247
type name consistency
2019-02-10 03:28:28 -05:00
Jack Lucas
729518c5b1
Fix stat declarations, function: names, and dirent structure in ffi.freebsd
2019-02-10 03:24:34 -05:00
Doug Coleman
205018869b
vm: Add freebsd32 support for completeness.
...
We need gmake on freebsd.
2019-02-09 19:40:54 +00:00
Doug Coleman
5d78ab55be
basis: Load images.{tiff,png} by default for FreeBSD. Add platforms back.
2019-02-09 18:50:15 +00:00
Doug Coleman
123327115d
config.freebsd: Link the UI libraries into the Factor VM.
...
This should happen for other BSD platforms as well.
2019-02-09 18:49:29 +00:00
Doug Coleman
960ff85d31
build.sh: Add a compile option to compile only.
...
Invoking ``gmake`` only should work, but it uses g++ on OpenBSD instead of clang++. We should fix this.
2019-02-09 18:48:42 +00:00
Jack Lucas
c6c2377072
Fix typo in monitor file
2019-02-09 18:43:51 -05:00
Jack Lucas
b259a2725c
Fix monitor errors on startup
2019-02-09 18:38:20 -05:00
Doug Coleman
d139924bf5
vm: Use the old FreeBSD os-freebsd.cpp so we don't need procfs installed (it's not mounted by default).
2019-02-08 22:07:02 +00:00
Doug Coleman
080303530a
build.sh: Use gmake on FreeBSD and specify the number of cores.
2019-02-08 22:07:02 +00:00
Jack Lucas
e3c189fa56
Fix merge error
2019-02-08 20:19:10 -05:00