Fixing some things I broke
parent
e8361b9980
commit
4426526252
|
@ -1,5 +1,5 @@
|
|||
IN: checksums.openssl
|
||||
USING: help.syntax help.markup ;
|
||||
USING: checksums help.syntax help.markup ;
|
||||
|
||||
HELP: openssl-checksum
|
||||
{ $class-description "The class of checksum algorithms implemented by OpenSSL. The exact set of algorithms supported depends on how the OpenSSL library was compiled; " { $snippet "md5" } " and " { $snippet "sha1" } " should be universally available." } ;
|
||||
|
@ -9,9 +9,11 @@ HELP: <openssl-checksum>
|
|||
{ $description "Creates a new OpenSSL checksum object." } ;
|
||||
|
||||
HELP: openssl-md5
|
||||
{ $values { "value" checksum } }
|
||||
{ $description "The OpenSSL MD5 message digest implementation." } ;
|
||||
|
||||
HELP: openssl-sha1
|
||||
{ $values { "value" checksum } }
|
||||
{ $description "The OpenSSL SHA1 message digest implementation." } ;
|
||||
|
||||
HELP: unknown-digest
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
! Copyright (C) 2007, 2009 Slava Pestov, Daniel Ehrenberg.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: math kernel memoize tools.test parser generalizations
|
||||
prettyprint io.streams.string sequences eval ;
|
||||
prettyprint io.streams.string sequences eval namespaces ;
|
||||
IN: memoize.tests
|
||||
|
||||
MEMO: fib ( m -- n )
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
IN: tools.profiler.tests
|
||||
USING: accessors tools.profiler tools.test kernel memory math
|
||||
threads alien tools.profiler.private sequences compiler
|
||||
threads alien tools.profiler.private sequences compiler compiler.units
|
||||
words ;
|
||||
|
||||
[ t ] [
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
USING: help.syntax help.markup ui.gadgets kernel arrays
|
||||
USING: help.syntax help.markup ui.gadgets kernel arrays math help sequences
|
||||
quotations classes.tuple ui.gadgets.grids ;
|
||||
IN: ui.gadgets.frames
|
||||
|
||||
|
@ -22,15 +22,15 @@ ARTICLE: "ui-frame-layout" "Frame layouts"
|
|||
drop
|
||||
{ $description "Symbolic constant for a common input to " { $link grid-add } "." } print-element ;
|
||||
|
||||
HELP: @center $ui-frame-constant ;
|
||||
HELP: @left $ui-frame-constant ;
|
||||
HELP: @right $ui-frame-constant ;
|
||||
HELP: @top $ui-frame-constant ;
|
||||
HELP: @bottom $ui-frame-constant ;
|
||||
HELP: @top-left $ui-frame-constant ;
|
||||
HELP: @top-right $ui-frame-constant ;
|
||||
HELP: @bottom-left $ui-frame-constant ;
|
||||
HELP: @bottom-right $ui-frame-constant ;
|
||||
{ @center @left @right @top @bottom @top-left @top-right @bottom-left @bottom-right }
|
||||
[
|
||||
[
|
||||
{
|
||||
{ $values { "i" integer } { "j" integer } }
|
||||
{ $ui-frame-constant }
|
||||
}
|
||||
] dip set-word-help
|
||||
] each
|
||||
|
||||
HELP: frame
|
||||
{ $class-description "A frame is a gadget which lays out its children in a 3x3 grid. If the frame is enlarged past its preferred size, the center gadget fills up available room."
|
||||
|
|
|
@ -5,7 +5,7 @@ ui.gestures ui.backend ui.clipboards ui.gadgets.worlds ui.render
|
|||
ui.event-loop assocs kernel math namespaces opengl sequences
|
||||
strings x11.xlib x11.events x11.xim x11.glx x11.clipboard
|
||||
x11.constants x11.windows io.encodings.string io.encodings.ascii
|
||||
io.encodings.utf8 combinators command-line
|
||||
io.encodings.utf8 combinators combinators.short-circuit command-line
|
||||
math.vectors classes.tuple opengl.gl threads math.geometry.rect
|
||||
environment ascii ;
|
||||
IN: ui.x11
|
||||
|
@ -73,9 +73,9 @@ CONSTANT: key-codes
|
|||
: valid-input? ( string gesture -- ? )
|
||||
over empty? [ 2drop f ] [
|
||||
mods>> { f { S+ } } member? [
|
||||
[ [ 127 = not ] [ CHAR: \s >= ] bi and ] all?
|
||||
[ { [ 127 = not ] [ CHAR: \s >= ] } 1&& ] all?
|
||||
] [
|
||||
[ [ 127 = not ] [ CHAR: \s >= ] [ alpha? not ] tri and and ] all?
|
||||
[ { [ 127 = not ] [ CHAR: \s >= ] [ alpha? not ] } 1&& ] all?
|
||||
] if
|
||||
] if ;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
! Copyright (C) 2005, 2009 Daniel Ehrenberg
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: help.markup help.syntax ;
|
||||
USING: help.markup help.syntax assocs ;
|
||||
IN: xml.entities
|
||||
|
||||
ABOUT: "xml.entities"
|
||||
|
@ -12,6 +12,7 @@ ARTICLE: "xml.entities" "XML entities"
|
|||
"For entities used in HTML/XHTML, see " { $vocab-link "xml.entities.html" } ;
|
||||
|
||||
HELP: entities
|
||||
{ $values { "value" assoc } }
|
||||
{ $description "A hash table from default XML entity names (like " { $snippet "&" } " and " { $snippet "<" } ") to the characters they represent. This is automatically included when parsing any XML document." }
|
||||
{ $see-also with-entities } ;
|
||||
|
||||
|
|
|
@ -57,6 +57,7 @@ HELP: clear
|
|||
{ $description "Clears the data stack." } ;
|
||||
|
||||
HELP: build
|
||||
{ $values { "n" integer } }
|
||||
{ $description "The current build number. Factor increments this number whenever a new boot image is created." } ;
|
||||
|
||||
HELP: hashcode*
|
||||
|
|
|
@ -235,11 +235,11 @@ M: dinput-game-input-backend instance-id
|
|||
succeeded-quot call
|
||||
] failed-quot if ; inline
|
||||
|
||||
: pov-values
|
||||
CONSTANT: pov-values
|
||||
{
|
||||
pov-up pov-up-right pov-right pov-down-right
|
||||
pov-down pov-down-left pov-left pov-up-left
|
||||
} ; inline
|
||||
}
|
||||
|
||||
: >axis ( long -- float )
|
||||
32767 - 32767.0 /f ;
|
||||
|
|
Loading…
Reference in New Issue