diff --git a/basis/alarms/summary.txt b/basis/alarms/summary.txt new file mode 100644 index 0000000000..f6e12238fa --- /dev/null +++ b/basis/alarms/summary.txt @@ -0,0 +1 @@ +One-time and recurring events diff --git a/basis/alias/summary.txt b/basis/alias/summary.txt new file mode 100644 index 0000000000..15690a7b9b --- /dev/null +++ b/basis/alias/summary.txt @@ -0,0 +1 @@ +Defining multiple words with the same name diff --git a/basis/binary-search/summary.txt b/basis/binary-search/summary.txt new file mode 100644 index 0000000000..c4fd4f2774 --- /dev/null +++ b/basis/binary-search/summary.txt @@ -0,0 +1 @@ +Fast searching of sorted arrays diff --git a/basis/boxes/summary.txt b/basis/boxes/summary.txt new file mode 100644 index 0000000000..44c1352e36 --- /dev/null +++ b/basis/boxes/summary.txt @@ -0,0 +1 @@ +An abstraction for enforcing a mutual-exclusion invariant diff --git a/basis/circular/circular-docs.factor b/basis/circular/circular-docs.factor index 362d41c9de..c7af57c1fe 100644 --- a/basis/circular/circular-docs.factor +++ b/basis/circular/circular-docs.factor @@ -43,7 +43,7 @@ HELP: push-growing-circular { "elt" object } { "circular" circular } } { $description "Pushes an element onto a " { $link growing-circular } " object." } ; -ARTICLE: "circular" "circular" +ARTICLE: "circular" "Circular sequences" "The " { $vocab-link "circular" } " vocabulary implements the " { $link "sequence-protocol" } " to allow an arbitrary start index and wrap-around indexing." $nl "Creating a new circular object:" { $subsection } diff --git a/basis/colors/summary.txt b/basis/colors/summary.txt new file mode 100644 index 0000000000..a90b1aaf76 --- /dev/null +++ b/basis/colors/summary.txt @@ -0,0 +1 @@ +Colors as a first-class data type diff --git a/basis/combinators/short-circuit/short-circuit-docs.factor b/basis/combinators/short-circuit/short-circuit-docs.factor index 058291d022..54fc3aac43 100644 --- a/basis/combinators/short-circuit/short-circuit-docs.factor +++ b/basis/combinators/short-circuit/short-circuit-docs.factor @@ -64,7 +64,7 @@ HELP: n||-rewrite { "quot" quotation } } { $description "A macro that reqrites the code to pass " { $snippet "N" } " parameters from the stack to each OR quotation." } ; -ARTICLE: "combinators.short-circuit" "combinators.short-circuit" +ARTICLE: "combinators.short-circuit" "Short-circuit combinators" "The " { $vocab-link "combinators.short-circuit" } " vocabulary stops a computation early once a condition is met." $nl "AND combinators:" { $subsection 0&& } diff --git a/basis/combinators/short-circuit/smart/smart-docs.factor b/basis/combinators/short-circuit/smart/smart-docs.factor index abf3ff0eef..34abde15b6 100644 --- a/basis/combinators/short-circuit/smart/smart-docs.factor +++ b/basis/combinators/short-circuit/smart/smart-docs.factor @@ -27,8 +27,9 @@ HELP: || } } ; -ARTICLE: "combinators.short-circuit.smart" "combinators.short-circuit.smart" -"The " { $vocab-link "combinators.short-circuit.smart" } " vocabulary infers the number of inputs that the sequence of quotations takes." $nl +ARTICLE: "combinators.short-circuit.smart" "Smart short-circuit combinators" +"The " { $vocab-link "combinators.short-circuit.smart" } " vocabulary is similar to " { $vocab-link "combinators.short-circuit" } " except the combinators here infer the number of inputs that the sequence of quotations takes." +$nl "Generalized AND:" { $subsection && } "Generalized OR:" diff --git a/basis/eval/authors.txt b/basis/eval/authors.txt new file mode 100644 index 0000000000..1901f27a24 --- /dev/null +++ b/basis/eval/authors.txt @@ -0,0 +1 @@ +Slava Pestov diff --git a/basis/eval/summary.txt b/basis/eval/summary.txt new file mode 100644 index 0000000000..679f074e90 --- /dev/null +++ b/basis/eval/summary.txt @@ -0,0 +1 @@ +Ad-hoc evaluation of strings of code diff --git a/basis/generalizations/authors.txt b/basis/generalizations/authors.txt new file mode 100644 index 0000000000..6c66b7480e --- /dev/null +++ b/basis/generalizations/authors.txt @@ -0,0 +1,4 @@ +Chris Double +Doug Coleman +Eduardo Cavazos +Slava Pestov diff --git a/basis/generalizations/summary.txt b/basis/generalizations/summary.txt new file mode 100644 index 0000000000..a8ccb7d6c2 --- /dev/null +++ b/basis/generalizations/summary.txt @@ -0,0 +1 @@ +Generalized stack shufflers and combinators to arbitrary numbers of inputs diff --git a/basis/html/components/authors.txt b/basis/html/components/authors.txt new file mode 100644 index 0000000000..1901f27a24 --- /dev/null +++ b/basis/html/components/authors.txt @@ -0,0 +1 @@ +Slava Pestov diff --git a/basis/html/components/summary.txt b/basis/html/components/summary.txt new file mode 100644 index 0000000000..9df7695ca1 --- /dev/null +++ b/basis/html/components/summary.txt @@ -0,0 +1 @@ +HTML components for form rendering and validation diff --git a/basis/html/components/tags.txt b/basis/html/components/tags.txt new file mode 100644 index 0000000000..c0772185a0 --- /dev/null +++ b/basis/html/components/tags.txt @@ -0,0 +1 @@ +web diff --git a/basis/html/elements/summary.txt b/basis/html/elements/summary.txt new file mode 100644 index 0000000000..7e4a4a03db --- /dev/null +++ b/basis/html/elements/summary.txt @@ -0,0 +1 @@ +Rendering HTML with a familiar look and feel diff --git a/basis/html/elements/tags.txt b/basis/html/elements/tags.txt new file mode 100644 index 0000000000..c0772185a0 --- /dev/null +++ b/basis/html/elements/tags.txt @@ -0,0 +1 @@ +web diff --git a/basis/html/forms/authors.txt b/basis/html/forms/authors.txt new file mode 100644 index 0000000000..1901f27a24 --- /dev/null +++ b/basis/html/forms/authors.txt @@ -0,0 +1 @@ +Slava Pestov diff --git a/basis/html/forms/summary.txt b/basis/html/forms/summary.txt new file mode 100644 index 0000000000..d4b20eefca --- /dev/null +++ b/basis/html/forms/summary.txt @@ -0,0 +1 @@ +HTML form rendering and validation diff --git a/basis/html/forms/tags.txt b/basis/html/forms/tags.txt new file mode 100644 index 0000000000..c0772185a0 --- /dev/null +++ b/basis/html/forms/tags.txt @@ -0,0 +1 @@ +web diff --git a/basis/html/streams/summary.txt b/basis/html/streams/summary.txt index 29ec8d3df7..56b83c5c52 100644 --- a/basis/html/streams/summary.txt +++ b/basis/html/streams/summary.txt @@ -1 +1 @@ -HTML reader, writer and utilities +HTML implementation of formatted output stream protocol diff --git a/basis/html/templates/authors.txt b/basis/html/templates/authors.txt new file mode 100644 index 0000000000..1901f27a24 --- /dev/null +++ b/basis/html/templates/authors.txt @@ -0,0 +1 @@ +Slava Pestov diff --git a/basis/html/templates/chloe/authors.txt b/basis/html/templates/chloe/authors.txt new file mode 100644 index 0000000000..1901f27a24 --- /dev/null +++ b/basis/html/templates/chloe/authors.txt @@ -0,0 +1 @@ +Slava Pestov diff --git a/basis/html/templates/chloe/chloe.factor b/basis/html/templates/chloe/chloe.factor index cc51bd05d3..e83040b00d 100644 --- a/basis/html/templates/chloe/chloe.factor +++ b/basis/html/templates/chloe/chloe.factor @@ -37,7 +37,11 @@ CHLOE: style ] ?if ; CHLOE: write-style - drop [ ] [code] ; + drop [ + + ] [code] ; CHLOE: even [ "index" value even? swap when ] process-children ; diff --git a/basis/html/templates/chloe/compiler/compiler.factor b/basis/html/templates/chloe/compiler/compiler.factor index aa741ebf9f..4f2eaafe26 100644 --- a/basis/html/templates/chloe/compiler/compiler.factor +++ b/basis/html/templates/chloe/compiler/compiler.factor @@ -123,8 +123,8 @@ DEFER: compile-element : compile-prologue ( xml -- ) [ - [ before>> compile-chunk ] [ prolog>> [ write-prolog ] [code-with] ] + [ before>> compile-chunk ] bi ] compile-quot [ if-not-nested ] [code] ; diff --git a/basis/html/templates/chloe/summary.txt b/basis/html/templates/chloe/summary.txt new file mode 100644 index 0000000000..568fb3fac1 --- /dev/null +++ b/basis/html/templates/chloe/summary.txt @@ -0,0 +1 @@ +XHTML templating engine with extensible compiler and separation of concerns diff --git a/basis/html/templates/chloe/tags.txt b/basis/html/templates/chloe/tags.txt new file mode 100644 index 0000000000..c0772185a0 --- /dev/null +++ b/basis/html/templates/chloe/tags.txt @@ -0,0 +1 @@ +web diff --git a/basis/html/templates/fhtml/authors.txt b/basis/html/templates/fhtml/authors.txt index b47eafb62a..22d592c1dd 100644 --- a/basis/html/templates/fhtml/authors.txt +++ b/basis/html/templates/fhtml/authors.txt @@ -1,2 +1,2 @@ Slava Pestov -Matthew Willis +Alex Chapman diff --git a/basis/html/templates/fhtml/summary.txt b/basis/html/templates/fhtml/summary.txt new file mode 100644 index 0000000000..71745ffa1f --- /dev/null +++ b/basis/html/templates/fhtml/summary.txt @@ -0,0 +1 @@ +Simple templating engine mixing Factor code with content diff --git a/basis/html/templates/fhtml/tags.txt b/basis/html/templates/fhtml/tags.txt new file mode 100644 index 0000000000..c0772185a0 --- /dev/null +++ b/basis/html/templates/fhtml/tags.txt @@ -0,0 +1 @@ +web diff --git a/basis/html/templates/summary.txt b/basis/html/templates/summary.txt new file mode 100644 index 0000000000..ef0aa59228 --- /dev/null +++ b/basis/html/templates/summary.txt @@ -0,0 +1 @@ +HTML templating engine interface diff --git a/basis/html/templates/tags.txt b/basis/html/templates/tags.txt new file mode 100644 index 0000000000..c0772185a0 --- /dev/null +++ b/basis/html/templates/tags.txt @@ -0,0 +1 @@ +web diff --git a/basis/nmake/authors.txt b/basis/nmake/authors.txt new file mode 100644 index 0000000000..7c1b2f2279 --- /dev/null +++ b/basis/nmake/authors.txt @@ -0,0 +1 @@ +Doug Coleman diff --git a/basis/nmake/summary.txt b/basis/nmake/summary.txt new file mode 100644 index 0000000000..1b82985a72 --- /dev/null +++ b/basis/nmake/summary.txt @@ -0,0 +1 @@ +Generalization of make for constructing several sequences simultaneously diff --git a/basis/nmake/tags.txt b/basis/nmake/tags.txt new file mode 100644 index 0000000000..42d711b32b --- /dev/null +++ b/basis/nmake/tags.txt @@ -0,0 +1 @@ +collections diff --git a/basis/present/authors.txt b/basis/present/authors.txt new file mode 100644 index 0000000000..1901f27a24 --- /dev/null +++ b/basis/present/authors.txt @@ -0,0 +1 @@ +Slava Pestov diff --git a/basis/present/summary.txt b/basis/present/summary.txt new file mode 100644 index 0000000000..94d0a5b14c --- /dev/null +++ b/basis/present/summary.txt @@ -0,0 +1 @@ +Generic word for converting objects to strings for human consumption diff --git a/basis/random/authors.txt b/basis/random/authors.txt new file mode 100644 index 0000000000..5674120196 --- /dev/null +++ b/basis/random/authors.txt @@ -0,0 +1,2 @@ +Doug Coleman +Slava Pestov diff --git a/basis/random/summary.txt b/basis/random/summary.txt new file mode 100644 index 0000000000..6981c56062 --- /dev/null +++ b/basis/random/summary.txt @@ -0,0 +1 @@ +Random number generator protocol and implementations diff --git a/basis/smtp/smtp-docs.factor b/basis/smtp/smtp-docs.factor index e859e082ff..c1c2d1c1f8 100644 --- a/basis/smtp/smtp-docs.factor +++ b/basis/smtp/smtp-docs.factor @@ -41,7 +41,7 @@ HELP: send-email } } ; -ARTICLE: "smtp" "SMTP Client Library" +ARTICLE: "smtp" "SMTP client library" "Configuring SMTP:" { $subsection smtp-server } { $subsection smtp-read-timeout } diff --git a/basis/summary/authors.txt b/basis/summary/authors.txt new file mode 100644 index 0000000000..1901f27a24 --- /dev/null +++ b/basis/summary/authors.txt @@ -0,0 +1 @@ +Slava Pestov diff --git a/basis/summary/summary.txt b/basis/summary/summary.txt new file mode 100644 index 0000000000..02294138e0 --- /dev/null +++ b/basis/summary/summary.txt @@ -0,0 +1 @@ +Generic word for converting an object into a brief one-line string diff --git a/basis/symbols/summary.txt b/basis/symbols/summary.txt new file mode 100644 index 0000000000..3093468c50 --- /dev/null +++ b/basis/symbols/summary.txt @@ -0,0 +1 @@ +Utility for defining multiple symbols at a time diff --git a/basis/urls/urls.factor b/basis/urls/urls.factor index 19bae087af..e35292e9d7 100644 --- a/basis/urls/urls.factor +++ b/basis/urls/urls.factor @@ -148,13 +148,6 @@ M: string >url ] [ url-decode >>anchor ] bi* ; -> dup [ - % password>> [ ":" % % ] when* "@" % - ] [ 2drop ] if ; - : protocol-port ( protocol -- port ) { { "http" [ 80 ] } @@ -166,6 +159,11 @@ M: string >url > dup [ + % password>> [ ":" % % ] when* "@" % + ] [ 2drop ] if ; + : url-port ( url -- port/f ) [ port>> ] [ port>> ] [ protocol>> protocol-port ] tri = [ drop f ] when ; diff --git a/basis/validators/authors.txt b/basis/validators/authors.txt new file mode 100644 index 0000000000..1901f27a24 --- /dev/null +++ b/basis/validators/authors.txt @@ -0,0 +1 @@ +Slava Pestov diff --git a/basis/validators/summary.txt b/basis/validators/summary.txt new file mode 100644 index 0000000000..bcf9ac045f --- /dev/null +++ b/basis/validators/summary.txt @@ -0,0 +1 @@ +Value validation for the web framework diff --git a/core/checksums/authors.txt b/core/checksums/authors.txt new file mode 100644 index 0000000000..1901f27a24 --- /dev/null +++ b/core/checksums/authors.txt @@ -0,0 +1 @@ +Slava Pestov diff --git a/core/checksums/summary.txt b/core/checksums/summary.txt new file mode 100644 index 0000000000..e85ab359a0 --- /dev/null +++ b/core/checksums/summary.txt @@ -0,0 +1 @@ +Checksum protocol and implementations diff --git a/core/lexer/authors.txt b/core/lexer/authors.txt new file mode 100644 index 0000000000..1901f27a24 --- /dev/null +++ b/core/lexer/authors.txt @@ -0,0 +1 @@ +Slava Pestov diff --git a/core/lexer/summary.txt b/core/lexer/summary.txt new file mode 100644 index 0000000000..7c31988ee2 --- /dev/null +++ b/core/lexer/summary.txt @@ -0,0 +1 @@ +Factor source code lexer diff --git a/core/make/authors.txt b/core/make/authors.txt new file mode 100644 index 0000000000..1901f27a24 --- /dev/null +++ b/core/make/authors.txt @@ -0,0 +1 @@ +Slava Pestov diff --git a/core/make/summary.txt b/core/make/summary.txt new file mode 100644 index 0000000000..e07624198e --- /dev/null +++ b/core/make/summary.txt @@ -0,0 +1 @@ +Sequence construction utility diff --git a/core/make/tags.txt b/core/make/tags.txt new file mode 100644 index 0000000000..42d711b32b --- /dev/null +++ b/core/make/tags.txt @@ -0,0 +1 @@ +collections diff --git a/core/sequences/sequences-docs.factor b/core/sequences/sequences-docs.factor index b8be31c55c..0a4974607d 100755 --- a/core/sequences/sequences-docs.factor +++ b/core/sequences/sequences-docs.factor @@ -1258,6 +1258,8 @@ ARTICLE: "sequence-protocol" "Sequence protocol" "At least one of the following two generic words must have a method for accessing elements; the " { $link sequence } " mixin has default definitions which are mutually recursive:" { $subsection nth } { $subsection nth-unsafe } +"Note that sequences are always indexed starting from zero." +$nl "At least one of the following two generic words must have a method for storing elements; the " { $link sequence } " mixin has default definitions which are mutually recursive:" { $subsection set-nth } { $subsection set-nth-unsafe } @@ -1283,8 +1285,7 @@ ARTICLE: "virtual-sequences-protocol" "Virtual sequence protocol" ARTICLE: "virtual-sequences" "Virtual sequences" "Virtual sequences allow different ways of accessing a sequence without having to create a new sequence or a new data structure altogether. To do this, they translate the virtual index into a normal index into an underlying sequence using the " { $link "virtual-sequences-protocol" } "." -$nl -"One current limitation of the virtual sequence protocol is that sequences must be indexed starting at zero." ; +{ $subsection "virtual-sequences-protocol" } ; ARTICLE: "sequences-integers" "Integer sequences and counted loops" "Integers support the sequence protocol in a trivial fashion; a non-negative integer presents its non-negative predecessors as elements. For example, the integer 3, when viewed as a sequence, contains the elements 0, 1, and 2. This is very useful for performing counted loops." diff --git a/extra/webapps/wiki/wiki-common.xml b/extra/webapps/wiki/wiki-common.xml index 628485955e..bca48ce260 100644 --- a/extra/webapps/wiki/wiki-common.xml +++ b/extra/webapps/wiki/wiki-common.xml @@ -56,11 +56,9 @@ - + - - - + diff --git a/extra/webapps/wiki/wiki.css b/extra/webapps/wiki/wiki.css index 7315b132d2..c27c44315f 100644 --- a/extra/webapps/wiki/wiki.css +++ b/extra/webapps/wiki/wiki.css @@ -45,3 +45,7 @@ background: #f5f1fd; width: 200px; } + +.footer { + font-size: 75%; +}