Commit Graph

174 Commits (0e55a173a00d7e6dc1cc19e819fae9fcae56ffe3)

Author SHA1 Message Date
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
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