Commit Graph

194 Commits (vm-warnings)

Author SHA1 Message Date
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
Doug Coleman 9ec5896a3a Move two unit tests 2008-12-07 08:39:16 -06:00
Doug Coleman 4a5bf7e9d1 remove moved docs 2008-12-06 23:08:18 -06:00
Doug Coleman 3821b417af remove finance words from calendar 2008-12-06 23:04:54 -06:00
Doug Coleman 07615bd219 remove >r r> 2008-11-29 13:40:48 -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
U-SLAVA-DFB8FF805\Slava 0eee4f89d4 Mess around with tags 2008-11-17 06:59:17 -06:00
Doug Coleman 003000b7cf timeval>seconds 2008-10-21 04:19:50 -05:00
Doug Coleman 0e81d4c82c last using patch, i think i got it 2008-10-06 21:41:06 -05:00
Doug Coleman 9751a38fa7 since-1970 docs 2008-10-06 21:04:30 -05:00
Doug Coleman 4eb3f73483 moving structs around 2008-10-06 18:18:33 -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
Doug Coleman c4fdad4df6 move structs around AGAIN 2008-10-06 18:02:07 -05:00
Doug Coleman f949f6ee1a move basis/structs to calendar.unix 2008-10-06 17:59:20 -05:00
Doug Coleman b168d75a46 add timespec>timestamp word 2008-10-06 17:17:49 -05:00
Doug Coleman 02bb3063ff add word to convert timevals to unix time, add utility words 2008-10-05 15:21:23 -05:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Slava Pestov bfbe5b8b92 Yet-another HTTP cookie date format... how many variations are there? 2008-09-25 02:46:21 -05:00
Doug Coleman f66d3d0957 oops, not everyone is in my timezone 2008-09-20 19:08:59 -05:00
Slava Pestov 32c2543571 Documentation fixes 2008-09-06 05:12:28 -05:00
Doug Coleman 379bf45559 fix private word 2008-09-02 12:06:11 -05:00
Doug Coleman 04fde42125 fix two unit tests 2008-09-02 02:48:35 -05:00
Doug Coleman 3a3b5005f6 un-private a word 2008-09-02 01:52:44 -05:00
Doug Coleman 82d0b71b49 move words to private, more docs 2008-09-01 22:16:51 -05:00
Doug Coleman 38b8686161 dt -> duration, lots of docs 2008-09-01 20:10:10 -05:00
Doug Coleman 1b239d294c docs and stack effects 2008-09-01 18:06:40 -05:00
Doug Coleman 4bac2b003c remove calendar.backend from using 2008-09-01 11:50:05 -05:00
Doug Coleman 361a7820ce remove calendar.backend 2008-09-01 11:48:22 -05:00
Doug Coleman 511e78b86b remove memoized words from calendar. more docs 2008-09-01 11:43:57 -05:00
Doug Coleman 261fc87dca wtf instant was MEMO: oops. docs 2008-08-31 21:20:56 -05:00
Doug Coleman 7025ebd7ee docs 2008-08-31 20:19:16 -05:00
Doug Coleman 89264e7726 fix using 2008-08-31 17:29:55 -05:00
Doug Coleman 357f5c36fd oops 2008-08-31 17:28:27 -05:00
Doug Coleman aa68ea0ce1 fix messup 2008-08-31 17:27:28 -05:00
Doug Coleman 610a70c3d2 fix docs 2008-08-31 15:58:12 -05:00
Doug Coleman 36828477f7 more docs 2008-08-31 15:54:00 -05:00
Doug Coleman 1cc5f7eb41 beginning-of-day -> midnight, add noon word, docs 2008-08-31 12:59:27 -05:00
Doug Coleman d980044719 use 0 instead of f -- can this be done better? i want maybe types or optional types -- f or integer, f or duration 2008-08-30 10:11:35 -05:00
Doug Coleman 681d7e962c fix calendar docs 2008-08-29 15:19:41 -05:00
Doug Coleman 24bfa90a04 refactor calendar a bit, add initial docs 2008-08-29 15:17:15 -05:00
Slava Pestov 6408b01e9d Add 'unportable' tag in place of hard-coded list of 'dangerous' vocabs in load-everything 2008-07-29 16:47:52 -05:00
Slava Pestov d66f887736 Create basis vocab root 2008-07-28 22:03:13 -05:00