From c47f2cc8e398bcb9011f6062cfe1bfddb31be8df Mon Sep 17 00:00:00 2001 From: slava Date: Wed, 29 Mar 2006 22:44:04 +0000 Subject: [PATCH] Minor documentation fixes --- doc/handbook/changes.facts | 16 ++++++++++++---- doc/handbook/handbook.facts | 1 - library/alien/malloc.facts | 4 ++++ 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/doc/handbook/changes.facts b/doc/handbook/changes.facts index 3e43dfaa67..b8d98523f7 100644 --- a/doc/handbook/changes.facts +++ b/doc/handbook/changes.facts @@ -54,11 +54,17 @@ ARTICLE: "changes" "Changes in the latest release" } } { $subtopic "Contributed libraries" + { $subtopic { "External process interface - " { $snippet "contrib/processes.factor" } } + { $list "This is a new library" } + } + { $subtopic { "Partial continuations - " { $snippet "contrib/partial-continuations.factor" } } + { $list "This is a new library (Chris Double)" } + } { $subtopic { "HTTP server - " { $snippet "contrib/httpd/" } } { $list "File responder fixes" "Inspector responder fixes" - "Continuation responder fixes" + "Continuation responder fixes (Chris Double)" { "Add templating engine in " { $snippet "embedded.factor" } " (Alex Chapman)" } } } @@ -68,9 +74,6 @@ ARTICLE: "changes" "Changes in the latest release" "Improved XML output capabilities" } } - { $subtopic { "External process interface - " { $snippet "contrib/processes.factor" } } - { $list "This is a new, experimental library." } - } { $subtopic { "Factory window manager - " { $snippet "contrib/factory/" } } { $list "Many updates" } } @@ -81,4 +84,9 @@ ARTICLE: "changes" "Changes in the latest release" "Added CRC32 checksum (Doug Coleman)" } } + { $subtopic { "Space invaders/Intel 8080 emulator - " { $snippet "contrib/space-invaders/" } } + { $list + "Updated to use Factor UI instead of SDL (Chris Double)" + } + } } ; diff --git a/doc/handbook/handbook.facts b/doc/handbook/handbook.facts index 307242933a..aef71500b9 100644 --- a/doc/handbook/handbook.facts +++ b/doc/handbook/handbook.facts @@ -7,7 +7,6 @@ $terpri "Placing the mouse over a presentation highlights it with a border. Presentations are everywhere; help links, words, and code examples are all presentations. Clicking a presentation displays a browser window looking at the underlying object." $terpri "A left click will reuse the current browser window; a right click always opens a new window." -$terpri { $subsection "changes" } "The environment:" { $subsection "quickref" } diff --git a/library/alien/malloc.facts b/library/alien/malloc.facts index d7738f93e3..3446de7163 100644 --- a/library/alien/malloc.facts +++ b/library/alien/malloc.facts @@ -30,3 +30,7 @@ HELP: memcpy "( dst src size -- newalien )" HELP: check-ptr "( c-ptr -- checked )" { $values { "c-ptr" "an alien address, byte array, or " { $link f } } { "checked" "an alien address or byte array with non-zero address" } } { $description "Throws an error if the input is " { $link f } ". Otherwise the object remains on the data stack." } ; + +HELP: free "( ptr -- )" +{ $values { "ptr" "an alien address" } } +{ $description "Deallocates a block of memory allocated by " { $link malloc } ", " { $link calloc } " or " { $link realloc } "." } ;