Commit Graph

68 Commits (9c0d2068c900547e989534e4bd18f8b4a41315dd)

Author SHA1 Message Date
John Benediktsson 8d3acb68f5 zoneinfo: fix for calendar renaming. 2013-03-20 09:02:40 -07:00
John Benediktsson 86fcc79628 calendar: fix bootstrap problem. 2013-03-19 22:40:23 -07:00
Doug Coleman 50485b72c2 calendar: Add more utility words for date abbrevations. 2013-03-19 17:23:26 -07:00
Doug Coleman 33ae7abb23 calendar: Add yesterday, tomorrow, o'clock, am, pm. 2012-10-25 09:46:11 -07:00
John Benediktsson 4e72d80256 Using "same?" in more places. 2012-07-21 10:22:44 -07:00
John Benediktsson cf0a912156 calendar: durations don't need to clone instants. 2012-07-16 17:37:32 -07:00
John Benediktsson 3b774c395e calendar: speed up >gmt. 2012-07-16 17:28:49 -07:00
John Benediktsson eb87558b6a calendar: some minor performance improvements. 2012-07-16 16:45:59 -07:00
John Benediktsson d8b963872b calendar: today is now midnight. 2012-02-02 19:47:05 -08:00
Doug Coleman 94db86a6db Make "foo.private" require load foo instead.
Move require from vocabs.loader to vocabs. Update everything.
Fixes #201.
2011-11-02 11:50:03 -07:00
John Benediktsson 469f4314df calendar: removing unused (month-name) word. 2011-10-19 11:01:16 -07:00
Doug Coleman 933319f401 Cleanups found with lint tool 2011-10-14 10:15:13 -07:00
Slava Pestov 779468f5a0 calendar: make it deploy with threads disabled 2011-02-27 14:38:47 -08:00
Joe Groff 57081d5b5e calendar: since-1970 shouldn't >local-time; this causes words that want to return GMT to return local time too 2010-07-18 13:43:01 -07:00
Doug Coleman e8d528ad93 Remove system_micros from vm, implement gmt hook on windows 2010-06-16 23:39:16 -05:00
Doug Coleman 077e5dea2a Always do a leap year check when adding timestamps 2010-03-31 15:09:51 -05:00
Doug Coleman 55c606f274 Remove year/month/day words because they're dumb and confusing 2010-03-02 04:20:40 -06:00
Slava Pestov 220dd88a2c Update documentation for new help lint check 2010-02-19 12:31:52 +13:00
Slava Pestov 587d074c0a calendar: make code like '0.1 seconds sleep' work (bug discovered by Joe Groff) 2010-01-07 00:02:16 +13:00
Doug Coleman 97288b8a04 remove >duration word and instead make a private >nanoseconds word in alarms 2009-11-21 18:01:25 -06:00
Doug Coleman d1117a66cb clean up the end of the easter word 2009-11-20 04:27:00 -06:00
Slava Pestov 3d585fa858 Move nano-count>timestamp word to core-foundation.run-loop since its pretty specialized 2009-11-20 00:12:16 -06:00
Doug Coleman 09e9293866 use nanoseconds in the core-foundation run-loop 2009-11-19 19:22:36 -06:00
Doug Coleman 070393df70 use nano-count instead of monotonic counters, dont allow sleeping for
timestamps
2009-11-18 16:20:29 -06:00
Doug Coleman 6f7ec206a1 rename millis to system-millis, micros to system-micros, add nano-count 2009-11-18 15:58:48 -06:00
Doug Coleman 54de3addd9 make alarms use monotonic-clock 2009-11-30 16:31:47 -06:00
Doug Coleman f30230a2e4 add a >duration word 2009-11-15 15:28:18 -06:00
Doug Coleman d4a88d0e39 add unix-time>timestamp, timestamp>unix-time, and some utility words to calendar 2009-11-14 21:10:54 -06:00
Doug Coleman 4dce86cbad more calendar utility words 2009-11-12 14:42:41 -06:00
Doug Coleman e3dc3ae5dd add more calendar utility words 2009-11-11 17:19:14 -06:00
Doug Coleman a6f0fcd5b2 add nth day of month 2009-11-11 15:52:30 -06:00
Joe Groff 6e1bffb1c5 update existing code to use :> ( ) when possible 2009-10-28 16:11:33 -05:00
Doug Coleman 2ed4425b7a Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/calendar/calendar.factor
2009-08-13 19:40:02 -05:00
Doug Coleman 3f3d57032b Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21:44 -05:00
Doug Coleman 4cca19b528 remove duplicate defintion of unless-zero from calendar 2009-08-13 00:48:50 -05:00
Doug Coleman 4a3d63e00a use if-zero in a few more places 2009-08-11 18:15:53 -05:00
Doug Coleman bada2176bc use new locals syntax in calendar, add routine for calculating easter 2009-04-25 21:21:15 -05:00
Aaron Schaefer ed9a63311c Fix typo and update a combinator usage in calendar 2009-04-01 22:03:45 -04:00
Aaron Schaefer ca9fb1fcf1 Update usages of divisor? where appropriate 2009-04-01 21:53:18 -04:00
Doug Coleman 3b3f38a4cd use CONSTANT: in calendar 2009-03-12 16:03:10 -05:00
Doug Coleman 990513db60 use CONSTANT: in basis 2009-02-22 19:13:08 -06:00
Slava Pestov 0021cde743 Fix more compile errors 2008-12-15 22:21:56 -06:00
Slava Pestov daf2857d7b define-inline now takes an effect parameter
C: now sets the stack effect of the new word to slot names
add new basis/constants vocab; CONSTANT: foo bar is equivalent to : foo bar ; inline
(going to fold CONSTANT:, ALIAS: and qualified into core soon perhaps)
tighten the screws: inline words now need a stack declaration too
update some usages of inline words
2008-12-15 19:44:56 -06:00
Doug Coleman 3821b417af remove finance words from calendar 2008-12-06 23:04:54 -06:00
Doug Coleman e0329d7cf8 remove >r r> from calendar 2008-11-29 12:51:47 -06:00
Doug Coleman 76da98c9bf move period of time util words to calendar 2008-11-29 12:47:04 -06:00
Slava Pestov 8819f23312 Replace millis primitive with micros primitive
Add millis as a library word
sleep now takes either a duration or a microsecond count; code using durations doens't need to be updated, code using millisecond counts updated to use durations for the most part
2008-11-19 01:50:05 -06:00
Doug Coleman 9751a38fa7 since-1970 docs 2008-10-06 21:04:30 -05:00
Doug Coleman 4734b62dd8 things in the wrong place still, probably will have some using errors now.. 2008-10-06 18:03:56 -05:00
Doug Coleman 0ba6d93626 remove using 2008-10-06 18:02:52 -05:00