Re: Livecode HTML5 networking question

2017-03-14 Thread Jonathan Lynch via use-livecode
Can you get into the resulting JavaScript and add an XMLHttpRequest(); command? Sent from my iPhone > On Mar 14, 2017, at 1:07 PM, Mike Doub via use-livecode > wrote: > > I just did a test using the local python server and it did not work, so it > looks like

LC's Future in the Browser - Web Assembly?

2017-03-14 Thread Sannyasin Brahmanathaswami via use-livecode
try this in Firefox 52 https://s3.amazonaws.com/mozilla-games/ZenGarden/EpicZenGarden.html " Mozilla celebrated with a demo video of the high-resolution graphics of Zen Garden, and while right now WebAssembly supports compilation from C and C++ (plus some

Translating escape sequences

2017-03-14 Thread J. Landman Gay via use-livecode
I'm dealing with non-English languages, and JSON data retrieved from a database comes in with unicode escape sequences like this: Eduardo Ba\u00f1uls. I need to translate those. I can do it by replacing the "\u" with "0x" and then using numToCodepoint() to get the UTF16 character. But there

where does the standalonebuilder saves the substacks in an Mac OS App?

2017-03-14 Thread Matthias Rebbe via use-livecode
Hi, is it correct when the standalone settings of an stack are set to move substacks into individual stack files that under Mac OS X the substacks in an compiled app (e.g. test.app) are stored in 'test.app/Contents/Resources/_MacOS/‘ instead of being stored in 'test.app/Contents/MacOS/'

Re: Translating escape sequences

2017-03-14 Thread Jonathan Lynch via use-livecode
Does JavaScript have a way to do the translation? Sent from my iPhone > On Mar 14, 2017, at 5:26 PM, J. Landman Gay via use-livecode > wrote: > > I'm dealing with non-English languages, and JSON data retrieved from a > database comes in with unicode escape

Re: Translating escape sequence

2017-03-14 Thread Jim Lambert via use-livecode
> Jacque wrote: > > I'm dealing with non-English languages, and JSON data retrieved from a > database comes in with unicode escape sequences like this: Eduardo > Ba\u00f1uls. > > I need to translate those. I can do it by replacing the "\u" with "0x" > and then using numToCodepoint() to get

Re: Translating escape sequences

2017-03-14 Thread Jonathan Lynch via use-livecode
What I mean is - retrieve through JS to avoid escape characters then translate to utf-8 to pass to LC. Might be too complicated though. Sent from my iPhone > On Mar 14, 2017, at 5:26 PM, J. Landman Gay via use-livecode > wrote: > > www.hyperactivesw.com

Re: Translating escape sequence

2017-03-14 Thread J. Landman Gay via use-livecode
Thanks. I actually was using jsonImport() with these strings successfully (no wrapper required) but it has a bug on Android that makes it unuseable. That's what caused the problem in the first place, because jsonToArray() doesn't deal with escape sequences. So I went ahead and wrote a decoder

Re: Translating escape sequence

2017-03-14 Thread Monte Goulding via use-livecode
> On 15 Mar 2017, at 3:28 pm, J. Landman Gay via use-livecode > wrote: > > So I'm stuck, I don't see any way to deal with these. I'll put in a bug > report about jsonImport() but it will probably be a while before it gets > fixed. > > I hope someone else has

OSX module file error when building standalone with LC 8 on mac

2017-03-14 Thread James Hale via use-livecode
I just went to recompile a little utility I have and came across this error. The stack is simple and just gets the user to select file(s) or a folder or a text list to create folders somewhere else. I had compiled a standalone before but now am unable to with LC8. It gets all the way to

Re: Translating escape sequence

2017-03-14 Thread Phil Davis via use-livecode
Maybe right after you import the JSON data, preprocess it with something like this: set the lineDelimiter to "\u" repeat for each line tLine in tJsonData put numToCodePoint("0x" & char 1 to 4 of tLine) & char 5 to -1 of tLine after tNewData end repeat put tNewData into tJsonData Then go

how to remove black title bar in browser widget when showing a pdf?

2017-03-14 Thread Tiemo Hollmann TB via use-livecode
Hello, LC 8.1.3, Windows 10: When I am displaying a pdf (local or web) in the browser widget, there is a black title bar on top of the pdf, which occupies the top 45 pixels of the browser widget. When hovering over the widget, the name of the pdf is shown within this black title bar. I didn't

Livecode HTML5 networking question

2017-03-14 Thread Mike Doub via use-livecode
I was thinking about putting together a little weather app and trying the html5 feature of livecode. I read that networking is not supported. Does that mean that the following is not supported? put URL ("https://api.darksky.net/forecast/; & mykey & "/" & LatLon) into wData If not my project

Re: is LCs answer folder state of the art?

2017-03-14 Thread Bob Sneidar via use-livecode
You can't fix a broken Windows. (see what I did there?) Bob S > On Mar 13, 2017, at 18:04 , Mark Wieder via use-livecode > wrote: > > Hmmm. Someone should fix Windows. > Is there a bug report for that? > > -- > Mark Wieder

Re: Livecode HTML5 networking question

2017-03-14 Thread Bob Sneidar via use-livecode
That is not HTML5. That is a standard Livecode function that has been around since version 1.0. Bob S > On Mar 14, 2017, at 05:59 , Mike Doub via use-livecode > wrote: > > I was thinking about putting together a little weather app and trying the > html5

Re: is LCs answer folder state of the art?

2017-03-14 Thread Mike Bonner via use-livecode
What a pane. (see what I did there because of what you did there?) On Tue, Mar 14, 2017 at 8:44 AM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > You can't fix a broken Windows. (see what I did there?) > > Bob S > > > > On Mar 13, 2017, at 18:04 , Mark Wieder via

Re: Livecode HTML5 networking question

2017-03-14 Thread Mike Doub via use-livecode
Bob, I understand that. You misunderstood my question. If I use that statement in app, save it as am html5 app, will the app function? The documentation says networking is not supported. What exactly does that mean? Is the statement in question, networking? -= Mike   Original

AW: is LCs answer folder state of the art?

2017-03-14 Thread Tiemo Hollmann TB via use-livecode
Thanks for testing (yes it was Windows only, LC 8). I'll ask Satya, if he can fix it. Tiemo -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von Mark Wieder via use-livecode Gesendet: Dienstag, 14. März 2017 02:05 An: How to use

Re: Help troubleshooting IDE Script Editor Window Position

2017-03-14 Thread Mike Kerner via use-livecode
There are at least two bug reports (maybe 3) related to the SE on a second monitor. On Tue, Mar 14, 2017 at 12:24 PM, Mike Bonner via use-livecode < use-livecode@lists.runrev.com> wrote: > to get the top of the window, in the message box do: > put the top of stack "revnewscripteditor 1" > > Same

Re: Help troubleshooting IDE Script Editor Window Position

2017-03-14 Thread panagiotis merakos via use-livecode
Hi all, This looks like bug http://quality.livecode.com/show_bug.cgi?id=18363 @Bob Nice drawings :) Best, Panos -- On Tue, Mar 14, 2017 at 4:24 PM, Mike Bonner via use-livecode < use-livecode@lists.runrev.com> wrote: > to get the top of the window, in the message box do: > put the top of

Re: is LCs answer folder state of the art?

2017-03-14 Thread J. Landman Gay via use-livecode
That's shattering news. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On March 14, 2017 9:48:05 AM Mike Bonner via use-livecode wrote: What a pane. (see what I did there

Help troubleshooting IDE Script Editor Window Position

2017-03-14 Thread Bob Hall via use-livecode
Is it possible to get the location of the IDE Script editor window? I need to confirm what I suspect is a bug in 8.1.3 and need the top coordinate of the IDE script window to confirm for bug report. I have a multi-monitor setup for my dev machine. One of the monitors is portrait, the other is

Re: Help troubleshooting IDE Script Editor Window Position

2017-03-14 Thread Mike Bonner via use-livecode
to get the top of the window, in the message box do: put the top of stack "revnewscripteditor 1" Same of course for bottom, left, right, rect, and loc On Tue, Mar 14, 2017 at 10:12 AM, Bob Hall via use-livecode < use-livecode@lists.runrev.com> wrote: > Is it possible to get the location of the

Re: Livecode HTML5 networking question

2017-03-14 Thread Mike Doub via use-livecode
I just did a test using the local python server and it did not work, so it looks like the support is not there yet. Mike   Original Message   From: use-livecode@lists.runrev.com Sent: March 14, 2017 11:53 AM To: use-livecode@lists.runrev.com Reply-to: use-livecode@lists.runrev.com Cc:

Re: Livecode HTML5 networking question

2017-03-14 Thread Richard Gaskin via use-livecode
Mike Doub wrote: > Bob, I understand that. You misunderstood my question. If I use > that statement in app, save it as am html5 app, will the app > function? > > The documentation says networking is not supported. What exactly > does that mean? Is the statement in question, networking? I