• last updated 11 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
prefer "nsf::is object" over ":isobject" or "info commands", since it is faster, more generic and can be used in all contexts

  1. … 10 more files in changeset.
call isobject method with full namespace as we are not in a xotcl proc

ensure ::xo::cc is available

modernize code: use resolver variables rather than method calls

  1. … 6 more files in changeset.
move logic whether or not to use h264 streaming to ad_returnfile_background to make code path clearer

- 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.