# HG changeset patch # User jbe # Date 1427135013 -3600 # Node ID e3e2a03f75b2383806e12b89ddb72d5e755d151a # Parent 6bb85c1bf11ac175efe7e9827417b3a821a0545f Fixes in autodoc comments diff -r 6bb85c1bf11a -r e3e2a03f75b2 framework/env/auth/openid/_normalize_url.lua --- a/framework/env/auth/openid/_normalize_url.lua Mon Mar 23 19:18:28 2015 +0100 +++ b/framework/env/auth/openid/_normalize_url.lua Mon Mar 23 19:23:33 2015 +0100 @@ -1,5 +1,5 @@ --[[-- -url, -- normalized URL or nil +url = -- normalized URL or nil auth.openid._normalize_url( url -- unnormalized URL ) diff -r 6bb85c1bf11a -r e3e2a03f75b2 framework/env/request/handler.lua --- a/framework/env/request/handler.lua Mon Mar 23 19:18:28 2015 +0100 +++ b/framework/env/request/handler.lua Mon Mar 23 19:23:33 2015 +0100 @@ -255,15 +255,3 @@ end end - ---//-- - ---[[-- -app -- table to store an application state - -'app' is a global table for storing any application state data. It will be reset for every request. ---]]-- - --- Initialized in request.handler(...). - ---//-- diff -r 6bb85c1bf11a -r e3e2a03f75b2 framework/env/request/initialize.lua --- a/framework/env/request/initialize.lua Mon Mar 23 19:18:28 2015 +0100 +++ b/framework/env/request/initialize.lua Mon Mar 23 19:23:33 2015 +0100 @@ -13,3 +13,14 @@ end end end +--//-- + +--[[-- +app -- table to store an application state + +'app' is a global table for storing any application state data. It will be reset for every request. +--]]-- + +-- Initialized in request.initialize(...). + +--//-- diff -r 6bb85c1bf11a -r e3e2a03f75b2 framework/env/trace/sql.lua --- a/framework/env/trace/sql.lua Mon Mar 23 19:18:28 2015 +0100 +++ b/framework/env/trace/sql.lua Mon Mar 23 19:23:33 2015 +0100 @@ -5,12 +5,10 @@ error_position = error_position -- optional position in bytes where an error occurred } -This command can be used to log SQL command execution. It is currently not invoked automatically. +This command is used to log SQL command execution. It does not need to be invoked manually. --]]-- --- TODO: automatic use of this function? - function trace.sql(args) if not trace._disabled then local command = args.command diff -r 6bb85c1bf11a -r e3e2a03f75b2 libraries/atom/atom.lua --- a/libraries/atom/atom.lua Mon Mar 23 19:18:28 2015 +0100 +++ b/libraries/atom/atom.lua Mon Mar 23 19:23:33 2015 +0100 @@ -1078,7 +1078,7 @@ --//-- --[[-- -timestamp.invalid +atom.timestamp.invalid Value representing an invalid timestamp.