Fix load-everything

db4
Slava Pestov 2008-02-26 19:18:21 -06:00
parent 6fa2dc8de7
commit ef53dbd1b9
13 changed files with 19 additions and 17 deletions

View File

@ -1,6 +1,6 @@
IN: calendar.format IN: calendar.format
USING: math math.parser kernel sequences io calendar USING: math math.parser kernel sequences io calendar
accessors arrays io.streams.string combinators ; accessors arrays io.streams.string combinators accessors ;
GENERIC: day. ( obj -- ) GENERIC: day. ( obj -- )

View File

@ -1,5 +1,5 @@
USING: io.files kernel sequences new-slots accessors USING: io.files kernel sequences new-slots accessors
dlists arrays ; dlists arrays sequences.lib ;
IN: io.paths IN: io.paths
TUPLE: directory-iterator path bfs queue ; TUPLE: directory-iterator path bfs queue ;

View File

@ -1,5 +1,6 @@
USING: sequences kernel math io calendar calendar.model USING: sequences kernel math io calendar calendar.format
arrays models namespaces ui.gadgets ui.gadgets.labels calendar.model arrays models namespaces ui.gadgets
ui.gadgets.labels
ui.gadgets.theme ui ; ui.gadgets.theme ui ;
IN: lcd IN: lcd

View File

@ -3,7 +3,7 @@
USING: parser-combinators memoize kernel sequences USING: parser-combinators memoize kernel sequences
logging arrays words strings vectors io io.files logging arrays words strings vectors io io.files
namespaces combinators combinators.lib logging.server namespaces combinators combinators.lib logging.server
calendar ; calendar calendar.format ;
IN: logging.parser IN: logging.parser
: string-of satisfy <!*> [ >string ] <@ ; : string-of satisfy <!*> [ >string ] <@ ;

View File

@ -3,7 +3,7 @@
USING: namespaces kernel io calendar sequences io.files USING: namespaces kernel io calendar sequences io.files
io.sockets continuations prettyprint assocs math.parser io.sockets continuations prettyprint assocs math.parser
words debugger math combinators concurrency.messaging words debugger math combinators concurrency.messaging
threads arrays init math.ranges strings ; threads arrays init math.ranges strings calendar.format ;
IN: logging.server IN: logging.server
: log-root ( -- string ) : log-root ( -- string )

View File

@ -45,14 +45,14 @@ IN: project-euler.019
<PRIVATE <PRIVATE
: start-date ( -- timestamp ) : start-date ( -- timestamp )
1901 1 1 0 0 0 0 make-timestamp ; 1901 1 1 0 0 0 0 <timestamp> ;
: end-date ( -- timestamp ) : end-date ( -- timestamp )
2000 12 31 0 0 0 0 make-timestamp ; 2000 12 31 0 0 0 0 <timestamp> ;
: (first-days) ( end-date start-date -- ) : (first-days) ( end-date start-date -- )
2dup timestamp- 0 >= [ 2dup time- 0 >= [
dup day-of-week , 1 +month (first-days) dup day-of-week , 1 months time+ (first-days)
] [ ] [
2drop 2drop
] if ; ] if ;

View File

@ -3,7 +3,7 @@
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: namespaces io io.timeouts kernel logging io.sockets USING: namespaces io io.timeouts kernel logging io.sockets
sequences combinators sequences.lib splitting assocs strings sequences combinators sequences.lib splitting assocs strings
math.parser random system calendar ; math.parser random system calendar calendar.format ;
IN: smtp IN: smtp

View File

@ -14,7 +14,7 @@ SYMBOL: cgi-root
[ [
"CGI/1.0" "GATEWAY_INTERFACE" set "CGI/1.0" "GATEWAY_INTERFACE" set
"HTTP/1.0" "SERVER_PROTOCOL" set "HTTP/1.0" "SERVER_PROTOCOL" set
"Factor " version append "SERVER_SOFTWARE" set "Factor" "SERVER_SOFTWARE" set
dup "PATH_TRANSLATED" set dup "PATH_TRANSLATED" set
"SCRIPT_FILENAME" set "SCRIPT_FILENAME" set

View File

@ -3,7 +3,7 @@
USING: calendar html io io.files kernel math math.parser USING: calendar html io io.files kernel math math.parser
http.server.responders http.server.templating namespaces parser http.server.responders http.server.templating namespaces parser
sequences strings assocs hashtables debugger http.mime sorting sequences strings assocs hashtables debugger http.mime sorting
html.elements logging ; html.elements logging calendar.format ;
IN: webapps.file IN: webapps.file
SYMBOL: doc-root SYMBOL: doc-root

View File

@ -1,6 +1,6 @@
USING: calendar furnace furnace.validator io.files kernel USING: calendar furnace furnace.validator io.files kernel
namespaces sequences http.server.responders html math.parser rss namespaces sequences http.server.responders html math.parser rss
xml.writer xmode.code2html math ; xml.writer xmode.code2html math calendar.format ;
IN: webapps.pastebin IN: webapps.pastebin
TUPLE: pastebin pastes ; TUPLE: pastebin pastes ;

View File

@ -2,7 +2,7 @@ USING: sequences rss arrays concurrency.combinators kernel
sorting html.elements io assocs namespaces math threads vocabs sorting html.elements io assocs namespaces math threads vocabs
html furnace http.server.templating calendar math.parser html furnace http.server.templating calendar math.parser
splitting continuations debugger system http.server.responders splitting continuations debugger system http.server.responders
xml.writer prettyprint logging ; xml.writer prettyprint logging calendar.format ;
IN: webapps.planet IN: webapps.planet
: print-posting-summary ( posting -- ) : print-posting-summary ( posting -- )

View File

@ -23,7 +23,7 @@ IN: windows.time
: timestamp>windows-time ( timestamp -- n ) : timestamp>windows-time ( timestamp -- n )
#! 64bit number representing # of nanoseconds since Jan 1, 1601 (UTC) #! 64bit number representing # of nanoseconds since Jan 1, 1601 (UTC)
>gmt windows-1601 timestamp- >bignum 10000000 * ; >gmt windows-1601 time- >integer 10000000 * ;
: windows-time>FILETIME ( n -- FILETIME ) : windows-time>FILETIME ( n -- FILETIME )
"FILETIME" <c-object> "FILETIME" <c-object>

View File

@ -3,7 +3,8 @@
IN: xml-rpc IN: xml-rpc
USING: kernel xml arrays math generic http.client combinators USING: kernel xml arrays math generic http.client combinators
hashtables namespaces io base64 sequences strings calendar hashtables namespaces io base64 sequences strings calendar
xml.data xml.writer xml.utilities assocs math.parser debugger ; xml.data xml.writer xml.utilities assocs math.parser debugger
calendar.format ;
! * Sending RPC requests ! * Sending RPC requests
! TODO: time ! TODO: time