Re: Rant on my favourite topics : LC server with a side-dish of on-rev :-)

2017-11-18 Thread Alex Tweedly via use-livecode
Thanks Matthias. See my reply to Ralf re. where to find ArrayToJSON etc. I guess I could install my own version of LC server in each cgi-bin - but I play around with a lot of add-on and sub-domains - some within public-html, some not - and it just feels like unnecessay extra work to install

Re: Rant on my favourite topics : LC server with a side-dish of on-rev :-)

2017-11-18 Thread Alex Tweedly via use-livecode
Hi Ralf, Thanks - but that's actually a different  JSON extension :-) That is an LCB library that defines JsonExport and JsonImport. However, I looked around some more, and found Tools/Ext/mergJSON-1.0.38 That's an external which defines mergJSONEncode and mergJSONDecode But the docs for it 

Re: iPhone X Screen Dimensions and the screenRect function

2017-11-18 Thread Brian Milby via use-livecode
My guess is that until we can provide a correctly sized Splash Screen that the engine on the phone is going to see the iPhone 6 size. You can see the same thing if you do not provide any splash screens and the size will be like the 4 inch (which is the default that is included). On Sat, Nov 18,

iPhone X Screen Dimensions and the screenRect function

2017-11-18 Thread hlowe via use-livecode
The iPhone X screen dimensions are 375pt × 812pt. However, the LC screenRect function returns 375 x 667 in the iPhone X simulator (LC 8.1.8, iOS 11.1, Xcode 9.1). The difference between 812 and 667 is 145, which is the additional height of the iPhone X screen over iPhone 6,7,8. The screenRect

Re: sync LC applications

2017-11-18 Thread Mike Kerner via use-livecode
I use dropbox for this purpose. I have a desktop/server process that is responsible for being the arbiter of truth (i.e. grabbing the updates the mobiles want to make and then deciding updating the data that the mobiles will use). The mobiles read and write files to and from dropbox. You can

Re: Rant on my favourite topics : LC server with a side-dish of on-rev :-)

2017-11-18 Thread Ralf Bitter via use-livecode
Hi Alex, you should find the JSON extension in: Tools/Extensions/com.livecode.library.json/module.lcm If you use revIgniter create a folder “extensions” in your application folder and place the “com.livecode.library.json” folder including the “module.lcm” file there. Then load the

Re: Rant on my favourite topics : LC server with a side-dish of on-rev :-)

2017-11-18 Thread Matthias Rebbe via use-livecode
Alex, you are not alone. I noticed something similar with LcServer 7.10 on the On-Rev server Tio. $_post arrays where empty when data was formatted with libUrlMultipartFormData, while $_post_raw showed the content. So it was not possible to post larger binary data to LcServer. I send a