Re: Business Application Framework

2015-08-20 Thread Monte Goulding
On 13 Aug 2015, at 9:09 pm, Mark Waddingham m...@livecode.com wrote: That's very true. Indeed, perhaps one could argue that GitHub needs service-hooks which allow customization of merging and diff display. That general feature there would solve the VCS problem in a natural way for a

Re: Open Source Kickstarter Report Card

2015-08-20 Thread Ali Lloyd
Thank you for the update on progress and reasons for the delay. When you outline all the reasons, the delay is understandable. The problem, as I see it, is that until a better IDE is released the new user just sees a poorly executed environment without basic features. The new user does

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread Charles Warwick
That script works here with HTTPS, I am guessing there is something else specific about the configuration. On 21 Aug 2015, at 1:23 pm, Peter W A Wood peterwaw...@gmail.com wrote: Jacque This works fine in LiveCode 7.0.3. I’ll download 7.1RC1 and see if it works there too. Apart

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread J. Landman Gay
Now I don't know what to try next. :( But I appreciate your help. This is a weird one. Is your PHP script like the one Peter posted? On 8/20/2015 10:30 PM, Charles Warwick wrote: That script works here with HTTPS, I am guessing there is something else specific about the configuration. On

Re: arrow keys in datagrid

2015-08-20 Thread Mike Bonner
7.0.6 on windows 10 here. On Thu, Aug 20, 2015 at 9:25 PM, Charles Warwick char...@techstrategies.com.au wrote: That is odd… I have tried this on both Windows and Mac, using LC 6.7.6 and it works without any code. What version are you using? On 21 Aug 2015, at 12:48 pm, Mike Bonner

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread J. Landman Gay
On 8/20/2015 10:23 PM, Peter W A Wood wrote: Jacque This works fine in LiveCode 7.0.3. I’ll download 7.1RC1 and see if it works there too. Apart from the difference in LiveCode versions, there is one other difference that may be significant. I am using HTTP on my machine not HTTPS. There

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread Peter W A Wood
Jacque On 21 Aug 2015, at 11:32, J. Landman Gay jac...@hyperactivesw.com wrote: I'd thought of that too. I'll ask the PHP guy to set up an http URL. I don’t think it is a problem with HTTPS. With Google and Stack overflow’s help, I found this website - http://httpbin.org - you can send a

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread Peter W A Wood
Jacque This works fine in LiveCode 7.0.3. I’ll download 7.1RC1 and see if it works there too. Apart from the difference in LiveCode versions, there is one other difference that may be significant. I am using HTTP on my machine not HTTPS. There have been some bugs in LiveCode 7 HTTPS

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread Monte Goulding
On 21 Aug 2015, at 10:58 am, Peter W A Wood peterwaw...@gmail.com wrote: put textEncode({ quote é quote : 1}, UTF-8) into tJSON put json= before tJSON post URLEncode(tJSON) to URL http://Localhost/jacque.php http://localhost/jacque.php put textDecode(it, UTF-8”) You would want to

Re: Open Source Kickstarter Report Card

2015-08-20 Thread Lyn Teyla
Ali Lloyd wrote: I doubt we will be writing a whole new script editor from scratch in one go. More likely we will replace individual elements with widgets (as has been done with the variables pane) to make sure all the components work as expected. Assuming one of the elements to be replaced

Re: Open Source Kickstarter Report Card

2015-08-20 Thread Ali Lloyd
Assuming one of the elements to be replaced with widgets is the field control used to display code in the script editor, will it result in the following long-standing scrolling issue (opened since March 2008) being resolved? http://quality.runrev.com/show_bug.cgi?id=6286 Scrolling a

Re: What is this - is anyone making money?

2015-08-20 Thread Kaveh Bazargan
Wow, and here I was thinking you just do lorem ipsum: http://digitalpomegranate.com/about/ ;-) On 20 August 2015 at 16:40, Todd Fabacher tfabac...@gmail.com wrote: As many of us I have paid for the licenses, put money out for free development expecting some wanted features, continued for

Re: What is this - is anyone making money?

2015-08-20 Thread Todd Fabacher
As many of us I have paid for the licenses, put money out for free development expecting some wanted features, continued for Indie advancement payments (hope to live beyond the licenses expire), I have to ask my colleague developers, are you making any money with the apps you develop

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread Monte Goulding
Just before posting can you dump your tData variable into a binfile and send it to me. It's got to be something simple... Sent from my iPhone On 21 Aug 2015, at 8:33 am, J. Landman Gay jac...@hyperactivesw.com wrote: Thanks, but still no go. I get the same errors. Is anyone posting from

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread Monte Goulding
On 21 Aug 2015, at 9:25 am, Peter W A Wood peterwaw...@gmail.com wrote: You’re content is no longer valid JSON once you have inserted the “json=“ (at the PHP developer’s request). There may be a conflict between the header and the actual content. What happens if you remove the line

arrow keys in datagrid

2015-08-20 Thread william humphrey
If I have a new stack with a list field and a datagrid both with rows of data in them the arrow keys behave differently. In the list field you can select a row and then, using the arrow keys, move to a row above or below. In the datagrid you can select a row but the arrow keys will not move that

Re: arrow keys in datagrid

2015-08-20 Thread William Humphrey
No that simple test did not work for me. Tomorrow I will try with a different version of livecode. Brevity and errors in this email probably the result of being sent by a mobile device. On Aug 20, 2015, at 9:13 PM, Charles Warwick char...@techstrategies.com.au wrote: I use data grids

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread J. Landman Gay
On 8/20/2015 6:25 PM, Peter W A Wood wrote: You’re content is no longer valid JSON once you have inserted the “json=“ (at the PHP developer’s request). There may be a conflict between the header and the actual content. What happens if you remove the line setting the httpHeaders? Thanks Peter.

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread Monte Goulding
On 21 Aug 2015, at 9:29 am, Monte Goulding mo...@sweattechnologies.com wrote: That’s a good question. I can’t see anything wrong with the JSON itself after reviewing the file. Validates and formats fine in TextMate. Are you sure they want post and not get or put? Hmm… I just remembered

Re: arrow keys in datagrid

2015-08-20 Thread Mike Bonner
This will sound freaky, but.. In the script of the datagrid group (select the datagrid, edit its script) add an empty arrowkey handler on arrowkey end arrowkey Then try it. On Thu, Aug 20, 2015 at 6:32 PM, william humphrey b...@bluewatermaritime.com wrote: If I have a new stack with a list

Re: arrow keys in datagrid

2015-08-20 Thread Charles Warwick
I use data grids in a lot of applications and the arrow keys always work… I just opened up LC 6.7.5, dragged in a data grid, went to its property inspector and added some data in the “contents” tab… Going to “run” mode, I can select a row and move up and down with the arrow keys…. Does a

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread Charles Warwick
It will still be useful… what I want to look at is what headers are generated and whether or not the JSON is still correctly formatted. With a copy of the script, I should be able to tell you what is causing it to break between the versions. I have been posting JSON data to PHP in other

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread Monte Goulding
What happens if you comment out line 247 of revLibURL stack script? textEncode native here seems to be a rather dangerous thing to do… On 21 Aug 2015, at 9:45 am, Dave Cragg dcr...@lacscentre.co.uk wrote: On 21 Aug 2015, at 00:33, J. Landman Gay jac...@hyperactivesw.com wrote: On

Re: arrow keys in datagrid

2015-08-20 Thread william humphrey
I tried that. It didn't solve the problem. What's even weirder is I seem to remember that the datagrid used to work with arrow keys. I made a test stack to be sure it was nothing else in my work that could be causing the problem. Your suggestion didn't work there either. This is Livecode 6.7.4

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread Charles Warwick
Encoding the = would break the POST data, as it would no longer be assigned the json data itself as a POST variable…. you only want to url encode the contents of the json variable On 21 Aug 2015, at 11:17 am, Monte Goulding mo...@sweattechnologies.com wrote: On 21 Aug 2015, at 10:58 am,

Re: [OT] Copyrighting games?

2015-08-20 Thread JB
I was reading an article on how to copyright software http://www.wikihow.com/Copyright-Software It talks about how to submit your software code and what to do if it contains trade secrets. And then it says this, • Your copyright extends only to the actual expression or execution of

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread J. Landman Gay
On 8/20/2015 8:46 PM, Charles Warwick wrote: It will still be useful… what I want to look at is what headers are generated and whether or not the JSON is still correctly formatted. With a copy of the script, I should be able to tell you what is causing it to break between the versions. I have

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread Peter W A Wood
Jacque On 21 Aug 2015, at 10:13, J. Landman Gay jac...@hyperactivesw.com wrote: Here's a test. This posts just fine in LC 6.x but fails in 7.0.6 and 7.1rc1. Make a field with this in it: [{Meals:Yes,Purpose:Business}] Now put this into a button or card script: constant

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread Charles Warwick
If you are still having issues with this, I am happy to run a packet capture against it if you give me a copy of the script… That way I can tell you what the exact difference is between what LC7 and LC6 actually post to the server… On 21 Aug 2015, at 9:50 am, Monte Goulding

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread J. Landman Gay
On 8/20/2015 6:45 PM, Dave Cragg wrote: What happens if you remove the httpHeader setting and also UrlEncode tData? Still errors I'm afraid. Monte wrote: What happens if you comment out line 247 of revLibURL stack script? textEncode native here seems to be a rather dangerous thing to do…

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread J. Landman Gay
On 8/20/2015 7:24 PM, Charles Warwick wrote: If you are still having issues with this, I am happy to run a packet capture against it if you give me a copy of the script… That way I can tell you what the exact difference is between what LC7 and LC6 actually post to the server… Actually, now

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread Charles Warwick
If I send that to a PHP script on one of my servers, I receive the JSON data correctly from LC7 in the PHP script. I will just run it against LC6 and make sure it is identical. If you want, you can post to my PHP script and then we can see how it compares between the two versions. If it works

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread Peter W A Wood
Jacque On 21 Aug 2015, at 05:53, J. Landman Gay jac...@hyperactivesw.com wrote: Here's what I do: set the httpHeaders to content-type: application/json put convertToJSON() into tData -- produces valid JSON put json= before tData post tData to kServerURL You’re content is no longer

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread Dave Cragg
On 21 Aug 2015, at 00:33, J. Landman Gay jac...@hyperactivesw.com wrote: On 8/20/2015 6:25 PM, Peter W A Wood wrote: You’re content is no longer valid JSON once you have inserted the “json=“ (at the PHP developer’s request). There may be a conflict between the header and the actual

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread Peter W A Wood
Jacque On 21 Aug 2015, at 07:35, J. Landman Gay jac...@hyperactivesw.com wrote: Right. Works without header in 6, fails in 7. Thanks for looking at my file. I wonder what would happen if I use the LC 6 libURL script in LC 7. Will my unicode go all wonky? The file I sent you is in English

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread J. Landman Gay
On 8/20/2015 6:32 PM, Monte Goulding wrote: On 21 Aug 2015, at 9:29 am, Monte Goulding mo...@sweattechnologies.com wrote: That’s a good question. I can’t see anything wrong with the JSON itself after reviewing the file. Validates and formats fine in TextMate. Are you sure they want post and

Re: [OT] Copyrighting games?

2015-08-20 Thread Mark Schonewille
I didn't say do nothing. I said: don't spend your money on something that's essentially free. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread J. Landman Gay
Here's a test. This posts just fine in LC 6.x but fails in 7.0.6 and 7.1rc1. Make a field with this in it: [{Meals:Yes,Purpose:Business}] Now put this into a button or card script: constant kServerURL = https://www.domain.com/results.php; --### use a valid URL here command

Re: arrow keys in datagrid

2015-08-20 Thread Mike Bonner
Strange. For me, the arrow keys don't work unless I have the empty handler in there. (I was going to write a quicky to do the job, but when I add the empty, poof. It works) On Thu, Aug 20, 2015 at 7:30 PM, William Humphrey shoreag...@gmail.com wrote: No that simple test did not work for me.

Re: Open Source Kickstarter Report Card

2015-08-20 Thread Colin Holgate
I imagine you meant that it’s faster to program in, as opposed to faster performance. On Aug 20, 2015, at 1:29 PM, Kevin Miller ke...@livecode.com wrote: Now we have a third choice, an intermediate LiveCode Builder. Its much faster than C but slower than Script.

Re: Open Source Kickstarter Report Card

2015-08-20 Thread JB
One thing that would really help with developing in LCB would be to have some examples of C++ code and the same code showing how you write it using LCB. John Balgenorth On Aug 20, 2015, at 10:39 AM, Roger Eller roger.e.el...@sealedair.com wrote: On Thu, Aug 20, 2015 at 1:29 PM, Kevin Miller

Re: Open Source Kickstarter Report Card

2015-08-20 Thread Kevin Miller
I think this is a really important principal. Always use the highest level language you can for any given project. Offering that very high level language option is a big part of LiveCode's reason for being. Previously our primary choices were between LiveCode Script and a lower level language

Re: Open Source Kickstarter Report Card

2015-08-20 Thread Kevin Miller
Yes. I was talking about developer productivity. On 20 Aug 2015, at 18:32, Colin Holgate colinholg...@gmail.com wrote: I imagine you meant that it’s faster to program in, as opposed to faster performance. On Aug 20, 2015, at 1:29 PM, Kevin Miller ke...@livecode.com wrote: Now we

Re: Open Source Kickstarter Report Card

2015-08-20 Thread Kevin Miller
There is documentation up in the DP of 8 that is out there. We will be having a Global Jam shortly so everyone can get together to learn how to create Widgets. Stay tuned for more details. Kind regards, Kevin Kevin Miller ~ ke...@livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can

Re: Open Source Kickstarter Report Card

2015-08-20 Thread Roger Eller
When I asked, Will there be a list, or guide to help a LC script user to know when to use LCB?, I did not understand that you were talking about dev time -vs- cpu time per type of function. So, nevermind that question. Roger EllerGraphics Systems Analyst 803 North Maple StreetP:

Re: Open Source Kickstarter Report Card

2015-08-20 Thread Roger Eller
On Thu, Aug 20, 2015 at 1:29 PM, Kevin Miller ke...@livecode.com wrote: I think this is a really important principal. Always use the highest level language you can for any given project. Offering that very high level language option is a big part of LiveCode's reason for being. Or primary

Re: What is this - is anyone making money?

2015-08-20 Thread Mark Talluto
On Aug 19, 2015, at 12:46 PM, Pyyhtiä Christer chris...@mindcrea.com wrote: Another question is where is the beef for the different apps. Games, plays - but does anything serious drive apps in iOS world. What about Android, is there a different worlds of users? Finally, is everything

Re: What is this - is anyone making money?

2015-08-20 Thread Randy Hengst
I am not a programmer in the vein of Todd, Richard, Simon or many others on this list… I’m a “scripter.” I like LiveCode because I can easily create the simple things I do and develop them quickly. My target audience is elementary schools and children (so, ages 5-12). I’m a prof in a small

Re: arrow keys in datagrid

2015-08-20 Thread Charles Warwick
That is odd… I have tried this on both Windows and Mac, using LC 6.7.6 and it works without any code. What version are you using? On 21 Aug 2015, at 12:48 pm, Mike Bonner bonnm...@gmail.com wrote: Strange. For me, the arrow keys don't work unless I have the empty handler in there. (I was

Re: Autosave

2015-08-20 Thread Richmond
On 19/08/15 23:03, Richard Gaskin wrote: Richmond wrote: Why does this script NOT work in a small stack? on mouseUp palette stack AUTOSAVE put the short name of the topStack into TSTAK put TSTAK /the time / the date into TSTAKN put TSTAKN into fld TSTAKN save the

Re: Autosave

2015-08-20 Thread Mike Bonner
store the current filename of the stack. set the filename of the stack to whatever backup name you want save the stack. set the filename of the stack back to how it started Also, from your example, using / as part of the filename would probably be a bad idea since / is a directory separator. If

Re: What is this - is anyone making money?

2015-08-20 Thread Richmond
On 20/08/15 14:10, Todd Fabacher wrote: As many of us I have paid for the licenses, put money out for free development expecting some wanted features, continued for Indie advancement payments (hope to live beyond the licenses expire), I have to ask my colleague developers, are you

RE: [OT] Copyrighting games?

2015-08-20 Thread Lynn Fredricks
Since nobody needs to pay money to copyright a work, or in fact nobody NEEDS to copyright a work, because it already is copyrighted, I'd say this website is merely a way to lose some money. You can always do nothing. Registration provides additional benefits though. You can find the

Re: Open Source Kickstarter Report Card

2015-08-20 Thread Richard Gaskin
Ali Lloyd wrote: I doubt we will be writing a whole new script editor from scratch in one go. Wise, for all the reasons Joel talks about here (good link, Scott): http://www.joelonsoftware.com/articles/fog69.html More likely we will replace individual elements with widgets (as has

Re: mouse pointer hot spot is way off

2015-08-20 Thread Dr. Hawkins
On Wed, Aug 19, 2015 at 8:37 AM, Dr. Hawkins doch...@gmail.com wrote: On Mon, Aug 17, 2015 at 2:53 PM, Peter Haworth p...@lcsql.com wrote: There's pretty persuasive evidence now that the shadowed variable bug is caused by stopping a debug run early. I'll watch for that, then. But it

Re: Autosave

2015-08-20 Thread Mike Bonner
You'll need to replace the : too. This is why apps that do this sort of thing build up the filename in reverse order, no separators. stacknameyearmonthdayhourminutesseconds Then, no need to mess with all the extraneous chars. (You'll still have to sanitize the name of the stack though) Perhaps

Re: Autosave

2015-08-20 Thread JB
On Aug 20, 2015, at 12:40 PM, Richmond richmondmathew...@gmail.com wrote: save stack HEX rotate as Granny goes gay doesn't work either. -- Richard Gaskin Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread J. Landman Gay
I'm still struggling with this. I have a valid JSON string, verified by a web-checking site and by the PHP developer. He wants me to POST it this way: json=JSON string It doesn't work. He says the server receives it but it is not passed to the PHP script because the main parameter is empty.

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread Monte Goulding
Is your convertToJSON function returning UTF8? I’m not sure what LC 7 does when it concatenates “json=“ to a UTF8 string. If for example that json= is UTF16 and the rest of the data is UTF8 it’s not surprising the server is freaking out. Try: put textEncode(“json=“,”UTF8”) before tData On 21

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread J. Landman Gay
Okay, addendum: It works fine in LC 6.7.6. It fails entirely in 7.0.6. I wish I'd tried that sooner. We need 7.x because of the unicode support. On 8/20/2015 4:53 PM, J. Landman Gay wrote: I'm still struggling with this. I have a valid JSON string, verified by a web-checking site and by the

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread J. Landman Gay
Thanks, but still no go. I get the same errors. Is anyone posting from LC 7? I also just tried 7.1rc1 but it doesn't work either. On 8/20/2015 5:04 PM, Monte Goulding wrote: Is your convertToJSON function returning UTF8? I’m not sure what LC 7 does when it concatenates “json=“ to a UTF8