• last updated 14 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- modernize code (remove "my")

  1. … 5 more files in changeset.
- modernize code (remove "my")

  1. … 12 more files in changeset.
Throw application-specific disconnection errors instead than plain errors, so they can be handled as less severe

change references from "http://*tcl.tk/" to "https://*tcl-lang.org/"

  1. … 5 more files in changeset.
message-relay-procs: factor out subscription handling from bgdelivery

and chat-procs and provide compatibility for streaming chat modes

with HTTPS.

The message-relay-procs provide two different implementation for

delivering messages to subscribers:

a) via bgdelivery (traditional method): this is, what was used so far,

having the disadvantage that it only works on plain HTTP connections

b) via ns_connchan (new method): ns_connchan is a relatively new feature

of NaviServer which allows transparent reading/writing from connections.

Chat has a new instance variable named "message_relay", which consists

of preferences for the chat connections. So far, the traditional "bgdelivery"

is still the default mode.

bumped version numbers

- xotcl-core 5.10.0d14

- xowiki: 5.10.0d23

  1. … 5 more files in changeset.
Improve error handling idioms and handle additional error cases where the client has just disconnected

Try to trap additional disconnection-related errors

Put the puts operation in the try catch as well

Fix typo in comment

Use finer grained error handling to intercept disconnection from client

Treat failure to flush the channel as just a warning, because this usually just means client (e.g. browser in a chat) closed the connection

make sure to initialize global nonce value in bgdevlivery thread

improve spelling

  1. … 8 more files in changeset.
Revert massive replacement of empty list creation sentences. The use of '[list]' instead of '{}' adds semantics that could be used for performance improvements in the future, such as using a different internal representation. There is already work in this direction, avoiding the generation of the string representation during comparison of empty strings (huge thanks to Stefan Sobernig for the pointer: https://core.tcl.tk/tcl/info/44527c632ed609c2).

  1. … 475 more files in changeset.
improve grammar

Prefer '{}' to '[list]' when creating empty lists

  1. … 204 more files in changeset.
Fix typo chartype->charset

Use consistently xo::library to ensure application specific subclassability

  1. … 13 more files in changeset.
Reduce verbosity

prefer XOTcl2 idioms

  1. … 10 more files in changeset.
Make ad_returnfile_background work also without libthread

white space changes and typos

improve documentation in the code, and make behavior more explicit

merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
Fix spelling errors

  1. … 24 more files in changeset.
Improve robustness of "file delete" operations

  1. … 25 more files in changeset.
- add nonces to script elements

  1. … 4 more files in changeset.
chat-procs overhaul:

- don't double encode everything

- avoid deprecated js functions escape()/unescape()

xowiki/www/ajax/streaming-chat.js, xowiki/www/ajax/scripted-streaming-chat.js

- scripted-mode: fix incorrect markup

- fix parameter passing to xowiki/www/ajax/chat.tcl to avoid rejects

- fix json_encode: one quote to man in xotcl-core/tcl/chat-procs.tcl

- don't dropt "user has_entered_the_room" in "xo::Chat instproc login",

since xowiki chat has otherwise no idea, who is logged in

  1. … 6 more files in changeset.
- improve class, object and method browser (in collaboration

with acs-api-browser)

- improve xotcl2/nx support (e.g. obtain OpenACS doc-strings

from object, class and method definitions)

- suport for debugging methods from api-doc interface (with

an appropriate nsf version)

- rename xotcl::api to xo::api (same namespace as other OpenACS

specific xotcl stupport functions)

- state clearly that xotcl 2.0 is required

- improve xotcl2/nx support

- remove legacy code

- bump version to 0.142, update dependencies

  1. … 9 more files in changeset.
- use explicit create statements