Commit Graph

119 Commits (f3dfae04ba55fde18e7938b9e72bd4e64367e250)

Author SHA1 Message Date
Joe Groff 9c18224b2d calendar: unit test for gmt 2010-07-18 13:45:00 -07:00
Joe Groff 130a6e0fe9 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
Slava Pestov 0c65165115 calendar.unix: rename timespec>seconds to timespec>duration to be consistent with timeval>duration 2010-07-18 16:31:24 -04:00
Doug Coleman 864160b2f8 More system-micros elimination 2010-06-22 02:00:19 -05:00
Doug Coleman 8174abe287 remove system-micros word from factor src tree 2010-06-22 01:49:11 -05:00
Doug Coleman 3edef30342 Implement gmt hook on unix 2010-06-17 00:04:53 -05:00
Doug Coleman 97c3450427 Remove system_micros from vm, implement gmt hook on windows 2010-06-16 23:39:16 -05:00
Doug Coleman 1ca3e05aa2 Implement set-time on Windows 2010-06-16 17:42:15 -05:00
Doug Coleman c8be326487 Better name for a word in calendar 2010-06-13 19:34:17 -05:00
Slava Pestov e4d72fb82b calendar.model, tools.errors.model: re-initialize models on startup 2010-05-31 20:14:54 -04:00
Slava Pestov 3d66820344 FFI rewrite part 1: split up ##alien-invoke and friends into smaller instructions 2010-05-09 21:36:52 -04:00
Doug Coleman e96c884617 Fix calendar docs 2010-03-31 17:37:22 -05:00
Doug Coleman 71eff3c7c2 Always do a leap year check when adding timestamps 2010-03-31 15:09:51 -05:00
Doug Coleman 271326a07c Use TYPED: in a few places in calendar.format to avoid passing durations instead of timestamps 2010-03-02 04:31:17 -06:00
Doug Coleman 050da2a862 Remove year/month/day words because they're dumb and confusing 2010-03-02 04:20:40 -06:00
Joe Groff 47b4b10d03 scrub memory>struct calls made redundant 2010-02-22 12:22:29 -08:00
Slava Pestov 0aad3e6e12 vocabs.metadata: replace unportable tag with a platforms.txt file for more fine-grained control. Rename unportable tag to untested for remaining cases 2010-02-20 13:30:49 +13:00
Slava Pestov 74891bc02a Update documentation for new help lint check 2010-02-19 12:31:52 +13:00
Doug Coleman 7521807b55 random is generic now -- iota random -> random 2010-01-14 12:48:57 -06:00
Slava Pestov 880fb747fc Removing integers-as-sequences 2010-01-15 07:15:33 +13:00
Slava Pestov fe544d7db8 calendar: make code like '0.1 seconds sleep' work (bug discovered by Joe Groff) 2010-01-07 00:02:16 +13:00
Doug Coleman ac184d3d11 remove >duration word and instead make a private >nanoseconds word in alarms 2009-11-21 18:01:25 -06:00
Doug Coleman c977887521 clean up the end of the easter word 2009-11-20 04:27:00 -06:00
Slava Pestov b8987749f7 Move nano-count>timestamp word to core-foundation.run-loop since its pretty specialized 2009-11-20 00:12:16 -06:00
Doug Coleman 80240c82f0 use nanoseconds in the core-foundation run-loop 2009-11-19 19:22:36 -06:00
Doug Coleman 8dc1341f8f update calendar tests 2009-11-19 18:27:22 -06:00
Doug Coleman 0053dccf85 use nano-count instead of monotonic counters, dont allow sleeping for
timestamps
2009-11-18 16:20:29 -06:00
Doug Coleman addb1c90bb rename millis to system-millis, micros to system-micros, add nano-count 2009-11-18 15:58:48 -06:00
Doug Coleman 2612b738ef fix help lint for calendar 2009-11-16 16:44:17 -06:00
Slava Pestov a62717750a calendar: fix unit tests 2009-11-16 01:14:30 -06:00
Doug Coleman 181db0e160 make alarms use monotonic-clock 2009-11-30 16:31:47 -06:00
Doug Coleman 3685cb884f add a >duration word 2009-11-15 15:28:18 -06:00
Doug Coleman 3323072613 Merge branch 'master' into startup
Conflicts:
	core/bootstrap/primitives.factor
	vm/run.hpp
2009-11-15 02:52:50 -06:00
Doug Coleman 8db173e9de add librt for monotonic timers, new timespec>nanoseconds word 2009-11-15 00:46:12 -06:00
Doug Coleman 441f55779d Merge branch 'master' of git://factorcode.org/git/factor 2009-11-14 21:11:18 -06:00
Doug Coleman 61b3edde59 add unix-time>timestamp, timestamp>unix-time, and some utility words to calendar 2009-11-14 21:10:54 -06:00
Slava Pestov 547abb5603 Unit test fixes 2009-11-13 23:00:50 -06:00
Doug Coleman deda5c6099 more calendar utility words 2009-11-12 14:42:41 -06:00
Doug Coleman e3c028ddc0 add more calendar utility words 2009-11-11 17:19:14 -06:00
Doug Coleman a7933b14dd add nth day of month 2009-11-11 15:52:30 -06:00
Joe Groff 22a9be5ea5 update existing code to use :> ( ) when possible 2009-10-28 16:11:33 -05:00
Doug Coleman 6fa23d7ea4 change add-init-hook to add-startup-hook, new add-shutdown-hook word 2009-10-19 22:17:02 -04:00
Doug Coleman 22dfdc0514 fix a bug when printing calendars, add a unit test 2009-10-12 16:55:52 -05:00
Keith Lazuka 8f79ea91ba docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Doug Coleman 5fd8f1f762 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-29 23:39:20 -05:00
Doug Coleman 7cc67ebbd0 change all stat, statfs, statvfs and calendar structs 2009-08-30 04:06:41 -05:00
Doug Coleman 9cc1f6c85a guid, system-info 2009-08-29 17:41:08 -05:00
Doug Coleman 341dca1825 structs in calendar.windows 2009-08-29 13:39:48 -05:00
Doug Coleman 9f1030030d Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/calendar/calendar.factor
2009-08-13 19:40:02 -05:00
Doug Coleman d1ce837569 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