Re: [Owfs-developers] owhttpd / JSONP / Cross-Origin Resource Sharing (CORS)

2014-03-24 Thread Michael Markstaller
On 21.03.2014 19:49, Paul Alfille wrote: Applied. Thanks. Thanks Paul! While doing further tests (and writing a demo-page as promised with jQuery and jQGrid which is pretty cool ;)) I found another problem which creates invalid JSON (jsonlint.com, jQuery also bails out..): owhttpd_read.c:

Re: [Owfs-developers] owhttpd / JSONP / Cross-Origin Resource Sharing (CORS)

2014-03-24 Thread Michael Markstaller
Addition: I cannot imagine anyone is able to use the JSON-API with 9.2p2, we could also break it I think, comments welcome ;) Another workaround I found afterwards without CORS would be to include load a JS with a static callback-function from owhttpd withing the calling site/page; implemented

Re: [Owfs-developers] owhttpd / JSONP / Cross-Origin Resource Sharing (CORS)

2014-03-24 Thread Paul Alfille
The 404 html output was simply a bug -- now fixed in the CVS version (free-ing the bad commend-line string before searching for json to decide which error output to produce). The trailing comma shouldn't be hard to fix either. Paul On Mon, Mar 24, 2014 at 11:13 AM, Michael Markstaller

[Owfs-developers] New release 2.9p3

2014-03-24 Thread Paul Alfille
Release Notes owfs 2.9p3 3/24/2014 New features 1. Support for using other channels during temperature conversion Only selected bus masters, specifically not DS2482-800 2. Add Safe owcapi init functions (for Sven Geggus) Allows multiple init calls without restarting library Only first call has

Re: [Owfs-developers] New release 2.9p3

2014-03-24 Thread Roberto Spadim
nice =) 2014-03-24 23:25 GMT-03:00 Paul Alfille paul.alfi...@gmail.com: Release Notes owfs 2.9p3 3/24/2014 New features 1. Support for using other channels during temperature conversion Only selected bus masters, specifically not DS2482-800 2. Add Safe owcapi init functions (for Sven