Commit Graph

29819 Commits (79da6e1442e255416e59f311a8ba41bc284922da)

Author SHA1 Message Date
Björn Lindqvist 4c097a396a calendar: value checking to make it hard to create invalid timestamps 2017-01-05 23:35:10 +01:00
John Benediktsson 48c69cb8ea use reject instead of [ ... not ] filter. 2017-01-05 13:29:58 -08:00
Alexander Iljin ca08bfd4b0 concurrency.distributed-docs: update the Example article 2017-01-05 12:48:50 -08:00
Alexander Iljin e82ee2d723 pdf.values: treat color tuples uniformly 2017-01-05 12:48:50 -08:00
Alexander Iljin fa5f810b20 pdf.layout: use symbols for authorship 2017-01-05 12:48:50 -08:00
Alexander Iljin d5c555462b command-line-docs: fix wording 2017-01-05 12:48:50 -08:00
John Benediktsson 9836dd7734 html.templates.fhtml: fix example test. 2017-01-05 12:10:16 -08:00
Jon Harper 1b6c568831 fixup 5af166b8f, shouldn't have removed these lines 2017-01-05 12:09:03 -08:00
John Benediktsson a2d5f8e9ad math.cardinality: relax the comparison so tests run more successfully. 2017-01-05 09:06:33 -08:00
Jon Harper ed653bf363 mason.report, remove <html><body> because this html report is embedded as is in another page 2017-01-05 09:03:46 -08:00
Jon Harper 5af166b8f5 add DOCTYPE html in most places.
4ef4235 started it. This is also good for html emails like in
extra/webapps/mason/backend/watchdog/watchdog.factor .

I just grepped for "<html>".
2017-01-05 09:03:46 -08:00
Björn Lindqvist 97a57f4041 calendar.parser: fixing rfc822 so it doesn't break in trailing space 2017-01-05 12:38:05 +01:00
Björn Lindqvist b17590db24 calendar.*: replacing hms>timestamp and timestamp>hms with duration variants
hms>duration is better because a timestamp without a date is
invalid. This also makes it so the SQL TIME column maps to duration. Now
we can add some validation so that you aren't allowed to create invalid
timestamps.
2017-01-05 12:38:05 +01:00
Björn Lindqvist c48319cb35 calendar.format: unused word 2017-01-05 12:38:05 +01:00
John Benediktsson a3abd46500 math.cardinality: adding summary.txt. 2017-01-04 14:22:30 -08:00
John Benediktsson 5376587fb3 math.cardinality: adding some tests. 2017-01-04 14:16:58 -08:00
Jon Harper dc3ee923ca compiler.cfg: add peephole opt to never untag the input of ##bit-count. fixes #1764 2017-01-04 07:29:08 -08:00
Jon Harper ccbf1c1429 core layouts, remove hardcoded tag width
109aa88b06 showed the places were it was hardcoded
2017-01-04 07:29:08 -08:00
John Benediktsson 740c258b66 tools.cal: use calendar.english. 2017-01-04 07:29:08 -08:00
Björn Lindqvist a66e79dd2d irc.logbot: more strftime 2017-01-04 09:46:17 +01:00
Björn Lindqvist 3bbc784fad calendar.parser,robots: hhmm>timestamp -> hhmm>duration
Better to parse it as a duration because it is not a valid timestamp.
2017-01-04 09:10:15 +01:00
Björn Lindqvist 2895d5e095 calendar.format: moving parsing words to a new vocab calendar.parser
The vocab was getting big so the idea is to have all the time parsing in
calendar.parsing and only keep formatting words in calendar.format.
2017-01-04 08:50:24 +01:00
Björn Lindqvist 40afb5268d hashcash: strftime 2017-01-04 08:11:01 +01:00
Björn Lindqvist 8b56ff1b89 tools.cal: using calendar.english 2017-01-04 08:11:01 +01:00
John Benediktsson bb275f2b2a tools.cal: minor formatting. 2017-01-03 19:12:43 -08:00
John Benediktsson 3974ba8ba3 use with-variable in some places with-scope was used. 2017-01-03 19:12:29 -08:00
Björn Lindqvist f9b9ce20f2 calendar.english: new vocab for english names for days and months
This moves all the english-centric words from the calendar vocab which
was getting kind of big to calendar.english. It should make it easier to
see which vocabs make language assumptions.
2017-01-03 15:48:08 +01:00
Björn Lindqvist b9030b953e wikipedia: strftime + tests 2017-01-03 15:37:53 +01:00
Björn Lindqvist e10754a298 tools.cal: using strftime + tests 2017-01-03 15:31:52 +01:00
Björn Lindqvist 350de8f171 classes.mixin,classes.union: moves the check-self-reference test
Should make it so you can't define self-referencing mixins, just like
you can't define self-referencing unions.
2017-01-03 06:10:12 +01:00
Björn Lindqvist 13ec2e41b9 calendar.format.tests: stray char 2017-01-03 06:09:09 +01:00
Björn Lindqvist 9752d2fbf5 classes.mixin.tests: fix tc not to break when forget-tests? is on 2017-01-03 04:15:57 +01:00
John Benediktsson 59ce436dab math.combinatorics: cleaner next-permutation. 2017-01-02 09:34:15 -08:00
Alexander Iljin e9f6a56c53 math.statistics-docs: make cum-product example less ambiguous
In the previous version of the example it was not clear whether the result
always starts with 1 (as is the case with cum-product1) or with the first
item of the input sequence.
2017-01-02 09:33:15 -08:00
Alexander Iljin 16403bb0c9 math.parser: add missing blank line between words 2017-01-02 09:33:10 -08:00
Alexander Iljin 631707b496 db-docs: remove double period at the end of a sentence 2017-01-02 09:33:02 -08:00
Alexander Iljin b7e64aed9f db-docs: add a missing newline to separate groups of items 2017-01-02 09:32:58 -08:00
Shane Pelletier 93d11224eb grouping-docs: add wrap-around note 2017-01-02 08:07:42 -08:00
John Benediktsson 1c9909cd76 ui.gadgets.slots: removing unnecessary tuples. 2016-12-31 18:54:18 -08:00
John Benediktsson 98b6fdeaa3 html.components: protect M\ code render* from ``f`` value. 2016-12-31 13:53:56 -08:00
John Benediktsson 4e9ad6ada7 calendar.format: parse rfc822 military and named timezones. 2016-12-31 13:50:08 -08:00
John Benediktsson 556a2b2b5b calendar.format: allow UTC to be in rfc822 timestamps. 2016-12-31 13:22:49 -08:00
Björn Lindqvist 4d580d95bf stack-checker.backend: no need to add extra dependencies on wrappers
This makes it so that if you declare a symbol it won't have an effect
dependency on itself.
2016-12-31 11:41:29 +01:00
Björn Lindqvist 8f28fb2587 classes.mixin: fix type checking in add-mixin-instance
One test in classes.mixin.tests intermittently breaks otherwise.
2016-12-30 16:24:34 +01:00
Björn Lindqvist a808ade3c1 classes.mixin: better name for the type checking error 2016-12-30 16:02:55 +01:00
John Benediktsson d145548c44 sequences.extras: fix map-concat to be row-polymorphic. 2016-12-29 12:35:39 -08:00
John Benediktsson b333343e2b sequences.extras: little more cleanup. 2016-12-29 12:29:09 -08:00
John Benediktsson dfdf1f19cc sequences.extras: fix doc for find-all. 2016-12-29 12:04:29 -08:00
John Benediktsson 94da542acd sequences.extras: removing a couple words that aren't used. 2016-12-29 12:03:16 -08:00
John Benediktsson 000aa1f5a6 assocs: M\ enum >alist can be no-op because it's a sequence. 2016-12-29 11:58:55 -08:00