Commit Graph

194 Commits (vm-warnings)

Author SHA1 Message Date
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
John Benediktsson e74f770b57 Use bl in more places. 2013-03-14 19:24:00 -07:00
Doug Coleman 1ef827cd92 calendar.format: Add some utility words for implementing top. 2013-02-24 18:30:18 -08:00
John Benediktsson f2ce2a0b61 calendar: better warnings. 2012-11-01 14:41:30 -07:00
Doug Coleman 33ae7abb23 calendar: Add yesterday, tomorrow, o'clock, am, pm. 2012-10-25 09:46:11 -07:00
John Benediktsson 511ad6d9f3 calendar.unix: inline some things. 2012-08-15 08:29:46 -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 80a7329de8 windows.time: faster windows-time>timestamp. 2012-07-16 15:30:58 -07:00
John Benediktsson 6955bf1428 calendar.unix: fix timeval>seconds (thanks @k7f!) 2012-07-16 07:37:02 -07:00
John Benediktsson 3da5efa25b calendar.unix: making time conversions a lot faster. 2012-07-15 15:16:28 -07:00
John Benediktsson d8b963872b calendar: today is now midnight. 2012-02-02 19:47:05 -08:00
Doug Coleman e9809a67e8 basis/*: Pare down some using lists 2011-11-30 23:15:43 -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
John Benediktsson 6f1c44b46d Cleanup some lint warnings. 2011-10-15 19:19:44 -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
Keita Haga d5fe4fecc1 remove useless whitespace in several documentation 2011-01-05 15:55:34 +09:00
Slava Pestov 75560699ea Move <ref>, deref and little-endian? from alien.c-types to alien.data, remove <c-object> 2010-12-25 16:55:36 -08:00
Slava Pestov e139a7a02d Clean up alien.c-types changes a little 2010-10-25 21:09:08 -07:00
Slava Pestov dd3cfb1268 calendar: minor doc fixes 2010-09-20 21:36:19 -07:00
Joe Groff fd053eb028 calendar: unit test for gmt 2010-07-18 13:45:00 -07: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
Slava Pestov 6914e69d69 calendar.unix: rename timespec>seconds to timespec>duration to be consistent with timeval>duration 2010-07-18 16:31:24 -04:00
Doug Coleman 4b9760dd67 More system-micros elimination 2010-06-22 02:00:19 -05:00
Doug Coleman 0edadff45f remove system-micros word from factor src tree 2010-06-22 01:49:11 -05:00
Doug Coleman eb3775c70f Implement gmt hook on unix 2010-06-17 00:04:53 -05:00
Doug Coleman e8d528ad93 Remove system_micros from vm, implement gmt hook on windows 2010-06-16 23:39:16 -05:00
Doug Coleman 11d20228f1 Implement set-time on Windows 2010-06-16 17:42:15 -05:00
Doug Coleman e718670997 Better name for a word in calendar 2010-06-13 19:34:17 -05:00
Slava Pestov 2ba7c8c639 calendar.model, tools.errors.model: re-initialize models on startup 2010-05-31 20:14:54 -04:00
Slava Pestov c211c3e84e FFI rewrite part 1: split up ##alien-invoke and friends into smaller instructions 2010-05-09 21:36:52 -04:00
Doug Coleman 0569f08ea2 Fix calendar docs 2010-03-31 17:37:22 -05:00
Doug Coleman 077e5dea2a Always do a leap year check when adding timestamps 2010-03-31 15:09:51 -05:00
Doug Coleman b059ade5ed 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 55c606f274 Remove year/month/day words because they're dumb and confusing 2010-03-02 04:20:40 -06:00
Joe Groff 6d4724a095 scrub memory>struct calls made redundant 2010-02-22 12:22:29 -08:00
Slava Pestov 95bfc8a240 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 220dd88a2c Update documentation for new help lint check 2010-02-19 12:31:52 +13:00
Doug Coleman 4c71d71907 random is generic now -- iota random -> random 2010-01-14 12:48:57 -06:00
Slava Pestov df4fb4a3ee Removing integers-as-sequences 2010-01-15 07:15:33 +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 9ce3e9f84f update calendar tests 2009-11-19 18:27:22 -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 1712109cdf fix help lint for calendar 2009-11-16 16:44:17 -06:00
Slava Pestov b23fa0a0c6 calendar: fix unit tests 2009-11-16 01:14:30 -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 cc194416f9 Merge branch 'master' into startup
Conflicts:
	core/bootstrap/primitives.factor
	vm/run.hpp
2009-11-15 02:52:50 -06:00
Doug Coleman 0af1b3a7d9 add librt for monotonic timers, new timespec>nanoseconds word 2009-11-15 00:46:12 -06:00
Doug Coleman 92b5b21271 Merge branch 'master' of git://factorcode.org/git/factor 2009-11-14 21:11: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
Slava Pestov bb8eabba36 Unit test fixes 2009-11-13 23:00:50 -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 6b6e56a179 change add-init-hook to add-startup-hook, new add-shutdown-hook word 2009-10-19 22:17:02 -04:00
Doug Coleman 9548b7bdd8 fix a bug when printing calendars, add a unit test 2009-10-12 16:55:52 -05:00
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Doug Coleman d88cdffa47 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-29 23:39:20 -05:00
Doug Coleman 783eb0bb53 change all stat, statfs, statvfs and calendar structs 2009-08-30 04:06:41 -05:00
Doug Coleman 50a99dcce6 guid, system-info 2009-08-29 17:41:08 -05:00
Doug Coleman f517e22e91 structs in calendar.windows 2009-08-29 13:39:48 -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 aabfc614a1 fix build errors 2009-08-11 23:07:13 -05:00
Doug Coleman 4a3d63e00a use if-zero in a few more places 2009-08-11 18:15:53 -05:00
Doug Coleman 4fef246ca4 add 10^ to math.functions and update usages 2009-08-11 18:00:24 -05:00
Philipp Brüschweiler 26859a45eb various doc fixes 2009-08-11 16:58:47 +02:00
Slava Pestov dd2bbc51b3 unix.types: define <time_t> alias; use it in calendar.unix to avoid clobbering data 2009-07-22 21:12:04 -05:00
Slava Pestov fb6df472a2 Cleaning up USING: lists for new strict semantics 2009-05-14 16:54:16 -05:00
Doug Coleman 8ab4d39036 move windows error handling to windows.errors and update usages. 2009-04-30 09:36:25 -05:00
Doug Coleman bada2176bc use new locals syntax in calendar, add routine for calculating easter 2009-04-25 21:21:15 -05:00
Slava Pestov 3353a777f7 Fixing some unit test failures 2009-04-22 07:05:00 -05:00
Slava Pestov 05f3f9dcb9 Fixing unit tests for stack effect inference changes 2009-04-20 21:15:19 -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 8dfe860b17 Merge branch 'master' of git://factorcode.org/git/factor 2009-03-23 11:50:39 -05:00
Slava Pestov 723bfab030 Fixing unit tests for syntax change 2009-03-23 00:34:02 -05:00
Doug Coleman 054a2e5b7c add word to parse robots.txt visit-time 2009-03-20 20:40:39 -05:00
Doug Coleman 07d906086d docs updates for calendar 2009-03-14 13:58:08 -05: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
Doug Coleman 894ba6182e add timestamp>mdtm to calendar.format 2009-02-17 17:09:27 -06:00
Slava Pestov 6b25e99470 Add summary for heaps more vocabs 2009-02-16 21:05:13 -06:00
Doug Coleman 3c408342ef renaming: contain? -> any?, deep-contains? -> deep-any?, pad-left -> pad-head, pad-right -> pad-tail, trim-left -> trim-head, trim-right -> trim-tail 2009-01-29 22:19:07 -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
Slava Pestov ba6f63ff56 calendar.format now depends on present instead of the other way around 2008-12-08 16:02:10 -06:00