• last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Make xmlrpc::httppost error out instead of returning a useless -1 in case of error. Vinod-approved change.

all TCL's clock clicks always with the -milliseconds option. The TCL manual

explicitly states that without this switch the return result is platform

dependant. The OpenACS code works at the millisecond granulartiy and silently

assumes that 1 millisecond equals 1000 clicks which is not necessarily true.

I used this shell script to automatize the replacing:

#!/bin/bash

for file in `grep -lsr "\[clock clicks\]" /web/openacs-head/packages/ `; do

echo "repairing $file"

sed "s/\[clock clicks\]/\[clock clicks -milliseconds\]/g" $file > fout

mv fout $file

done

And then grepped for

grep -r "expr.*clock clicks" /web/openacs-head/packages/

to manually remove the divisions by 1000.

  1. … 10 more files in changeset.
Spit out errorInfo in errorlog when a call fails

Initial version of XML-RPC package

    • -0
    • +114
    ./system-procs.tcl
    • -0
    • +17
    ./validator-init.tcl
    • -0
    • +307
    ./validator-procs.tcl
    • -0
    • +708
    ./xml-rpc-procs.tcl
    • -0
    • +181
    ./test/xml-rpc-test-procs.tcl
  1. … 7 more files in changeset.