This is the omg Reference Manual, version 0.2.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Fri Sep 15 06:11:06 2023 GMT+0.
The main system appears first, followed by any subsystem dependency.
omg
A Common Lisp library to build fully dynamic web interfaces
Pavel Kaygorodov <hemml@me.com>
GPLv3
0.2.0
clack
(system).
websocket-driver-server
(system).
bordeaux-threads
(system).
trivial-utf-8
(system).
media-types
(system).
hunchentoot
(system).
pngload
(system).
skippy
(system).
cl-jpeg
(system).
swank
(system).
osicat
(system).
usocket
(system).
uiop
(system).
find-port
(system).
inferior-shell
(system).
readme.md
(file).
license
(file).
omg.lisp
(file).
omgdaemon.lisp
(file).
omgui.lisp
(file).
omgwidgets.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
omg/omg.lisp
omg
(system).
omg
.
add-to-boot
(function).
add-to-root-html
(function).
current-session-id
(function).
def-session-var
(macro).
defclass-f
(macro).
defconstant-f
(macro).
defgeneric-f
(macro).
defmacro-f
(macro).
defmethod-f
(macro).
defparameter-f
(macro).
defun-f
(macro).
defun-r
(macro).
defvar-f
(macro).
find-session
(function).
in-debug-session
(macro).
kill-server
(function).
make-pwa
(function).
remote-exec
(function).
restart-server
(function).
rm-from-boot
(function).
set-boot
(function).
set-debug-session
(function).
set-root-html
(function).
socket
(reader method).
start-server
(function).
thread-in-session
(macro).
with-session
(macro).
*accessor-classes*
(special variable).
*boot-functions*
(special variable).
*current-res*
(special variable).
*current-session*
(special variable).
*debug-session-id*
(special variable).
*exportable-expressions*
(special variable).
*exported-classes-methods*
(special variable).
*exported-function-names*
(special variable).
*extra-html*
(special variable).
*giant-hash-lock*
(special variable).
*gimme-path*
(special variable).
*gimme-wait-list*
(special variable).
*html-path*
(special variable).
*in-f-macro*
(special variable).
*in-rpc*
(special variable).
*js-path*
(special variable).
*last-args*
(special variable).
*local-compile*
(special variable).
*local-lambdas*
(special variable).
*omg-thread-list*
(special variable).
*port*
(special variable).
*pwa-icon*
(special variable).
*pwa-icon-file*
(special variable).
*pwa-icon-type*
(special variable).
*pwa-mainfest*
(special variable).
*pwa-name*
(special variable).
*pwa-path*
(special variable).
*pwa-sw-js*
(special variable).
*pwa-sw-js-name*
(special variable).
*root-path*
(special variable).
*rpc-functions*
(special variable).
*rpc-path*
(special variable).
*serv*
(special variable).
*session-list*
(special variable).
*session-timeout*
(special variable).
*ssl-cert*
(special variable).
*ssl-key*
(special variable).
*takit-path*
(special variable).
*takit-wait-list*
(special variable).
*use-wss*
(special variable).
*user-uri-handler*
(special variable).
*wl-timeout*
(special variable).
*ws-path*
(special variable).
boot-f
(function).
compile-to-js
(function).
exec-local-lambda
(function).
exec-remote-macro
(function).
f-eval
(function).
get-all-sup
(function).
get-id
(reader method).
get-main-js
(function).
get-root-html
(function).
get-str-from
(function).
gethash-lock
(function).
(setf gethash-lock)
(function).
gimme
(function).
has-ssl-p
(function).
is-system-pkg
(function).
last-active
(reader method).
make-def-macro-f
(macro).
make-var-macro-f
(macro).
make-ws
(function).
omg-session
(class).
put-wl-result
(function).
random-key
(function).
random-string
(function).
random-symbol
(function).
register-rpc
(function).
remote-rdefclass
(function).
remote-unintern
(function).
remote-update-methods
(function).
replace-all
(function).
rpc-wrapper
(function).
serv
(function).
sid-length
(constant).
takit
(function).
use-wss-p
(function).
wait-list
(reader method).
omg/omgdaemon.lisp
omg.lisp
(file).
omg
(system).
*omg-last-version*
(special variable).
*omg-version*
(special variable).
+devel-version+
(special variable).
+omg-version-cookie+
(special variable).
commit-devel
(function).
commit-notify
(function).
commit-production
(function).
make-omg-daemon
(function).
omg-init
(function).
steal-swank
(function).
version-set-sym
(function).
*forks*
(special variable).
*main-lock*
(special variable).
*main-st-i*
(special variable).
*main-st-o*
(special variable).
*prevent-devel-startup*
(special variable).
*proxy-port*
(special variable).
*proxy-sock*
(special variable).
*server-set-list*
(special variable).
*server-set-sem*
(special variable).
*swank-comm-style*
(special variable).
+app_prefix+
(special variable).
+cr-lf+
(special variable).
+keyword-pkg+
(special variable).
+nil-str+
(special variable).
+nl-code+
(special variable).
+omg-images-path+
(special variable).
+proxy-chunk-size+
(special variable).
+version-cookie-prefix+
(special variable).
buf-append
(macro).
commit
(function).
ensure-version-working
(function).
execv
(function).
get-cmd-res
(function).
get-top-version
(function).
get-version-info
(function).
kill-all-threads
(function).
kill-version
(function).
make-docker-image
(function).
make-tmp-version
(function).
makimg
(function).
posix-fork
(function).
proxy
(function).
proxy-job
(function).
restart-version
(function).
run-daemon
(function).
run-main
(function).
run-version
(function).
send-cmd-to
(function).
stop-proxy
(function).
sys-execv
(function).
tmp-version-p
(function).
update-omg
(function).
version-alive-p
(function).
version-available
(function).
version-file-path
(function).
version-path-p
(function).
wait-for-commit-version
(function).
wait-for-version-startup
(function).
omg/omgui.lisp
omg.lisp
(file).
omgdaemon.lisp
(file).
omg
(system).
add-event-handler
(macro).
add-style
(macro).
add-youtube-player
(macro).
allow-page-close
(macro).
append-element
(macro).
async-bind
(macro).
browser-case
(macro).
check-element
(macro).
close-current-dialog
(macro).
create-element
(macro).
dialog-ok
(macro).
disable-back-button
(macro).
disable-scroll
(macro).
dragabble-list-elements
(macro).
dragabble-list-insert
(macro).
dragabble-list-insert-position
(macro).
element-height
(macro).
element-width
(macro).
enable-back-button
(macro).
enable-scroll
(macro).
ensure-element
(macro).
ensure-last-version
(macro).
execute-after
(macro).
find-widget
(macro).
gensym2
(macro).
get-dialog-data
(macro).
get-element-id
(macro).
get-my-version
(function).
get-omg-cookie-name
(function).
js-get-element-by-id
(macro).
js-parse-float
(macro).
jsacos
(macro).
jsasin
(macro).
jsatan
(macro).
jsatan2
(macro).
jsceil
(macro).
jscos
(macro).
jsfloor
(macro).
jsln
(macro).
jslog
(macro).
jsmax
(macro).
jsmin
(macro).
jsrandom
(macro).
jssin
(macro).
jstan
(macro).
jstrunc
(macro).
load-js-script
(macro).
local-storage
(macro).
make-dialog
(macro).
make-dragabble-list
(macro).
make-js-function
(macro).
make-js-object
(macro).
make-svg
(macro).
make-tab-form
(macro).
modal-dialog
(macro).
on-element-remove
(macro).
page-height
(macro).
page-width
(macro).
parent-element
(macro).
prevent-page-close
(macro).
register-hash-cb
(macro).
remove-element
(macro).
rm-event-handler
(macro).
session-storage
(macro).
show-notification
(macro).
visible-height
(macro).
visible-left
(macro).
visible-top
(macro).
visible-width
(macro).
winref
(macro).
*backcnt*
(special variable).
*beforeunload-installed*
(special variable).
*dialog-stack*
(special variable).
*dialog-wait-list*
(special variable).
*disable-back*
(special variable).
*disable-page-unload*
(special variable).
*fback*
(special variable).
*global-event-handlers*
(special variable).
*global-observer-handlers*
(special variable).
*hash-change-cbs*
(special variable).
*notification-container*
(special variable).
*onpopstate-installed*
(special variable).
*scroll-disabled*
(special variable).
*style-cache*
(special variable).
*youtube-js-loaded*
(special variable).
curtain
(macro).
deep-oget-1
(macro).
dialog-frame
(macro).
dialog-header
(macro).
dialog-table
(macro).
dialog-wl-send
(function).
element-on-page-p
(macro).
form-button-row
(macro).
form-line
(macro).
get-last-version
(function).
js-string-split
(macro).
need-reload
(function).
random-id
(macro).
system-font
(macro).
omg/omgwidgets.lisp
omg.lisp
(file).
omgui.lisp
(file).
omg
(system).
*last-edt-fld*
(special variable).
Packages are listed by definition order.
omg
bordeaux-threads
.
clack
.
common-lisp
.
trivial-utf-8
.
websocket-driver
.
add-to-boot
(function).
add-to-root-html
(function).
current-session-id
(function).
def-session-var
(macro).
defclass-f
(macro).
defconstant-f
(macro).
defgeneric-f
(macro).
defmacro-f
(macro).
defmethod-f
(macro).
defparameter-f
(macro).
defun-f
(macro).
defun-r
(macro).
defvar-f
(macro).
find-session
(function).
in-debug-session
(macro).
kill-server
(function).
make-pwa
(function).
remote-exec
(function).
restart-server
(function).
rm-from-boot
(function).
set-boot
(function).
set-debug-session
(function).
set-root-html
(function).
start-server
(function).
thread-in-session
(macro).
with-session
(macro).
*accessor-classes*
(special variable).
*boot-functions*
(special variable).
*current-res*
(special variable).
*current-session*
(special variable).
*debug-session-id*
(special variable).
*exportable-expressions*
(special variable).
*exported-classes-methods*
(special variable).
*exported-function-names*
(special variable).
*extra-html*
(special variable).
*giant-hash-lock*
(special variable).
*gimme-path*
(special variable).
*gimme-wait-list*
(special variable).
*html-path*
(special variable).
*in-f-macro*
(special variable).
*in-rpc*
(special variable).
*js-path*
(special variable).
*last-args*
(special variable).
*local-compile*
(special variable).
*local-lambdas*
(special variable).
*omg-thread-list*
(special variable).
*port*
(special variable).
*pwa-icon*
(special variable).
*pwa-icon-file*
(special variable).
*pwa-icon-type*
(special variable).
*pwa-mainfest*
(special variable).
*pwa-name*
(special variable).
*pwa-path*
(special variable).
*pwa-sw-js*
(special variable).
*pwa-sw-js-name*
(special variable).
*root-path*
(special variable).
*rpc-functions*
(special variable).
*rpc-path*
(special variable).
*serv*
(special variable).
*session-list*
(special variable).
*session-timeout*
(special variable).
*ssl-cert*
(special variable).
*ssl-key*
(special variable).
*takit-path*
(special variable).
*takit-wait-list*
(special variable).
*use-wss*
(special variable).
*user-uri-handler*
(special variable).
*wl-timeout*
(special variable).
*ws-path*
(special variable).
boot-f
(function).
compile-to-js
(function).
exec-local-lambda
(function).
exec-remote-macro
(function).
f-eval
(function).
get-all-sup
(function).
get-id
(generic reader).
get-main-js
(function).
get-root-html
(function).
get-str-from
(function).
gethash-lock
(function).
(setf gethash-lock)
(function).
gimme
(function).
has-ssl-p
(function).
is-system-pkg
(function).
last-active
(generic reader).
make-def-macro-f
(macro).
make-var-macro-f
(macro).
make-ws
(function).
omg-session
(class).
put-wl-result
(function).
random-key
(function).
random-string
(function).
random-symbol
(function).
register-rpc
(function).
remote-rdefclass
(function).
remote-unintern
(function).
remote-update-methods
(function).
replace-all
(function).
rpc-wrapper
(function).
serv
(function).
sid-length
(constant).
takit
(function).
use-wss-p
(function).
wait-list
(generic reader).
omgdaemon
common-lisp
.
inferior-shell
.
omg
.
*omg-last-version*
(special variable).
*omg-version*
(special variable).
+devel-version+
(special variable).
+omg-version-cookie+
(special variable).
commit-devel
(function).
commit-notify
(function).
commit-production
(function).
make-omg-daemon
(function).
omg-init
(function).
steal-swank
(function).
version-set-sym
(function).
*forks*
(special variable).
*main-lock*
(special variable).
*main-st-i*
(special variable).
*main-st-o*
(special variable).
*prevent-devel-startup*
(special variable).
*proxy-port*
(special variable).
*proxy-sock*
(special variable).
*server-set-list*
(special variable).
*server-set-sem*
(special variable).
*swank-comm-style*
(special variable).
+app_prefix+
(special variable).
+cr-lf+
(special variable).
+keyword-pkg+
(special variable).
+nil-str+
(special variable).
+nl-code+
(special variable).
+omg-images-path+
(special variable).
+proxy-chunk-size+
(special variable).
+version-cookie-prefix+
(special variable).
buf-append
(macro).
commit
(function).
ensure-version-working
(function).
execv
(function).
get-cmd-res
(function).
get-top-version
(function).
get-version-info
(function).
kill-all-threads
(function).
kill-version
(function).
make-docker-image
(function).
make-tmp-version
(function).
makimg
(function).
posix-fork
(function).
proxy
(function).
proxy-job
(function).
restart-version
(function).
run-daemon
(function).
run-main
(function).
run-version
(function).
send-cmd-to
(function).
stop-proxy
(function).
sys-execv
(function).
tmp-version-p
(function).
update-omg
(function).
version-alive-p
(function).
version-available
(function).
version-file-path
(function).
version-path-p
(function).
wait-for-commit-version
(function).
wait-for-version-startup
(function).
omgui
add-event-handler
(macro).
add-style
(macro).
add-youtube-player
(macro).
allow-page-close
(macro).
append-element
(macro).
async-bind
(macro).
browser-case
(macro).
check-element
(macro).
close-current-dialog
(macro).
create-element
(macro).
dialog-ok
(macro).
disable-back-button
(macro).
disable-scroll
(macro).
dragabble-list-elements
(macro).
dragabble-list-insert
(macro).
dragabble-list-insert-position
(macro).
element-height
(macro).
element-width
(macro).
enable-back-button
(macro).
enable-scroll
(macro).
ensure-element
(macro).
ensure-last-version
(macro).
execute-after
(macro).
find-widget
(macro).
gensym2
(macro).
get-dialog-data
(macro).
get-element-id
(macro).
get-my-version
(function).
get-omg-cookie-name
(function).
js-get-element-by-id
(macro).
js-parse-float
(macro).
jsacos
(macro).
jsasin
(macro).
jsatan
(macro).
jsatan2
(macro).
jsceil
(macro).
jscos
(macro).
jsfloor
(macro).
jsln
(macro).
jslog
(macro).
jsmax
(macro).
jsmin
(macro).
jsrandom
(macro).
jssin
(macro).
jstan
(macro).
jstrunc
(macro).
load-js-script
(macro).
local-storage
(macro).
make-dialog
(macro).
make-dragabble-list
(macro).
make-js-function
(macro).
make-js-object
(macro).
make-svg
(macro).
make-tab-form
(macro).
modal-dialog
(macro).
on-element-remove
(macro).
page-height
(macro).
page-width
(macro).
parent-element
(macro).
prevent-page-close
(macro).
register-hash-cb
(macro).
remove-element
(macro).
rm-event-handler
(macro).
session-storage
(macro).
show-notification
(macro).
visible-height
(macro).
visible-left
(macro).
visible-top
(macro).
visible-width
(macro).
winref
(macro).
*backcnt*
(special variable).
*beforeunload-installed*
(special variable).
*dialog-stack*
(special variable).
*dialog-wait-list*
(special variable).
*disable-back*
(special variable).
*disable-page-unload*
(special variable).
*fback*
(special variable).
*global-event-handlers*
(special variable).
*global-observer-handlers*
(special variable).
*hash-change-cbs*
(special variable).
*notification-container*
(special variable).
*onpopstate-installed*
(special variable).
*scroll-disabled*
(special variable).
*style-cache*
(special variable).
*youtube-js-loaded*
(special variable).
curtain
(macro).
deep-oget-1
(macro).
dialog-frame
(macro).
dialog-header
(macro).
dialog-table
(macro).
dialog-wl-send
(function).
element-on-page-p
(macro).
form-button-row
(macro).
form-line
(macro).
get-last-version
(function).
js-string-split
(macro).
need-reload
(function).
random-id
(macro).
system-font
(macro).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Define a server-side function and allow to call it from browser side
Execute commands inside session sess
Execute the code on the browser-side. If the *current-session* set, the code will be executed
within the specific session, otherwise, the code will be executed in all sessions and all the return
values are returned as a list. If the nowait is T, the function will retrurn NIL immediately, without waiting
result from the remote side.
omg-session
)) ¶automatically generated reader method
Just a macro to generate macros for f-functions and f-macros definintions (defun-f, defmacro-f, etc...)
A macro for variables-parameters-constants definitions
The boot code, will be executed on the browser-side just after the socket is connected.
Return JS for the code, pkg is current package for compilation context.
Execute in a browser a code of the macro with the specific name and argments.
Called by JSCL compiler while compling lisp code to JS. We have to execute macros on the
browser-side, because all side-effects, produced by macros, must have a place in the browser.
Replace current executable with another one.
Smart-eval – evaluate everything, but expotrable expressions, lambdas and function names
Return the JS code, including JSCL and OMG parts glued.
The handler for gimme-requests, which are used to request unknown symbols from the server-side.
Return the websocket for the new session. Also, creates the session object.
Generate a random stgring of length len
Unintern the symbol within all active sessions, mandatory to reflect symbol redefinition. The next try to intern the symbol in browser-side will cause new symbol fetch.
Returns a new string in which all the occurences of the part is replaced with replacement.
The wrapper for RPC requests, used to allow call browser-side functions from RPC funcs.
The handler for takit-requests. This requests are used to return macro expansion results from browser-side
omg
.
omg-session
)) ¶automatically generated reader method
omg
.
omg-session
)) ¶automatically generated reader method
omg
.
omg-session
)) ¶automatically generated reader method
The session object, holding the session socket, the wait-list holding semaphores and storing result data from remote-exec calls
omg
.
websocket-driver.ws.base
.
(error "socket required")
:socket
This slot is read-only.
(omg::random-symbol omg::|sid-length|)
This slot is read-only.
(get-universal-time)
This slot is read-only.
Jump to: | (
A B C D E F G H I J K L M N O P R S T U V W |
---|
Jump to: | (
A B C D E F G H I J K L M N O P R S T U V W |
---|
Jump to: | *
+
C L S W |
---|
Jump to: | *
+
C L S W |
---|
Jump to: | C F L O P R S |
---|
Jump to: | C F L O P R S |
---|