Version 0.0.25 released

November 23, 2008

Version 0.0.25 includes a number of important bug fixes and useful features, including:

  • Addition of two simple scripts to aid debugging of wxjs.
  • Corrected help notes to reflect recent changes in wxjs.
  • Included new version of json library, which is better at parsing long strings using regExps
Advertisements

APREQ2_ReadLimit

November 18, 2008

I discovered, as a result of not getting any reasonably lengthy piece of content synchronised back to the server, that there was a message in the apache log alluding to me trying to send a POST message of more than 1024 characters.

It turns out that this is controlled by a variable in the apache conf file, so as a result of the recent wxjs upgrade, the wxjs stuff in the conf file now needs to look like

LoadModule wxjs_module "d:/wxjs/bin/mod_wxjs.dll"
AddHandler wxjs .wxjs
wxJS_Modules "d:/wxjs/bin/modules.js"
wxJS_RtSize 1M
wxJS_CtxSize 8K
APREQ2_ReadLimit 100000K

I.e. APREQ2_ReadLimit has to be set to be some reasonably sane value large enough to represent your largest expected POST message size (i.e. when synchronising content to the server).
If not, you’ll get an OK response from the call, but the content won’t be synchronised, and you’ll only know for sure that there’s a problem by seeing the message in the log file.


New version of wxjs

November 6, 2008

I’ve only recently realised that Franky Braem has released a new version of the wxJavascript Library, which now has been compiled against version 2.2.6 of Apache, for those who don’t want to compile Apache from source.

This has also meant some changes to the help notes, particularly

As a result, I’ve created a couple of simple javascript files for use in testing that the wxJavascript library is working correctly:

  • server\wxjs test_cmd.wxjs
  • server\wxjs test_html.wxjs