From mwieder at ahsoftware.net Fri Jul 1 01:07:33 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 30 Jun 2016 22:07:33 -0700 Subject: [ANN] Release 8.1.0 DP 2 In-Reply-To: <57756872.5080005@fourthworld.com> References: <577542AA.4090101@gmail.com> <57756872.5080005@fourthworld.com> Message-ID: <5775FA95.4050507@ahsoftware.net> On 06/30/2016 11:44 AM, Richard Gaskin wrote: > Richmond wrote: > > Still waiting (64-bit, Linux) for the Dictionary. > > Which distro? > > I've been able to use the Dictionary on 64-bit Ubuntu (14.04, 15.10, and > 16.04) ever since LC v8.0rc1. > > @LC Ltd: good work on the Dictionary UI refinements. MUCH more usable. > The dictionary "works" for me in 64-bit linux, but only thusly: open the dictionary you get a blank pane close the dictionary open it again -- Mark Wieder ahsoftware at gmail.com From mark at livecode.com Fri Jul 1 03:58:09 2016 From: mark at livecode.com (Mark Waddingham) Date: Fri, 01 Jul 2016 09:58:09 +0200 Subject: Monte Goulding's day =?UTF-8?Q?off=3F=20=3B=20-=29=20the=20ou?= =?UTF-8?Q?tcome=2E?= In-Reply-To: References: Message-ID: <6417d5ab74408ecaf858125b94a81c95@livecode.com> On 2016-06-30 17:00, Lagi Pittas wrote: > Now here is the reason I got on my high horse. The code to build the > JSON > string and save it to a file is miniscule. The bit to fix the JSON is > longer and will need a a unique version for a different formatted JSON > file unless I write a parser/tokeniser that will find real numbers > with a > precision greater than 2 (in this case). Well, high horses are fine - but just remember that the higher you are, the more likely to hurt yourself if you fall off ;) This case actually illustrates quite well the difficulty with trying to 'bridge' the (abstraction) gap between a very high level language like LiveCode Script and a lower level language like C. It isn't an easy thing to do, nor is it necessarily always 'obvious' what the approach should be. The mergJSON external does the best it can in terms of mapping the way jansson (the C library it uses) to the way the old-style external interface allows you to present values. As it turns out, what has been identified is that (for LiveCode Script, at least) it would be far better if the string value of the tokens parsed as values were used and not their conversion to their actual type - but jansson does not work like that because it is designed to be used from C and friends (and is so very successfully in a large number of projects). There have been two very useful outcomes from this conversation, however: 1) Any JSON parser usable from LiveCode Script (right now) should just return all values as strings - it should check they are well-formed as per the JSON spec, but not actually attempt to convert or process them as the engine is more than capable of doing that for you. (Except for quoted values in JSON - they need to be 'unescaped'). 2) Ideally there would (internally) be a form of 'stringy-number' which work consistently with 'the numberFormat'. If this were the case, then you get the best of both worlds - the actual type of any value specified in the JSON input file would be detectable by using the 'is strictly' operators; but you'd still retain the specific representative string for a number that was present in the input if you just wanted to treat things as strings. (i.e. You gain 'faithfulness' of representation, without taking away the ability to know what the author of the JSON file really meant). Indeed (2) goes further - since 7+ we've been struggling with the 'correct' approach to numeric literals in script - their handling has been changed a number of times to try and ensure things work consistently and well; up until now my general thoughts were that they were handled the best way they could be with the numeric representation internally (for numbers) being binary floating point and the only thing that would make them better would be to switch to decimal floating point. However, the latter comes with a hefty performance cost (outside, perhaps, of certain IBM mainframes whose processors can do decimal floating point in hardware). Allowing numeric literals to also carry their 'representative string', and making sure they are used appropriately with 'the numberFormat' would clean this part of the engine up considerably. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From richmondmathewson at gmail.com Fri Jul 1 04:09:22 2016 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 1 Jul 2016 11:09:22 +0300 Subject: [ANN] Release 8.1.0 DP 2 In-Reply-To: <5775FA95.4050507@ahsoftware.net> References: <577542AA.4090101@gmail.com> <57756872.5080005@fourthworld.com> <5775FA95.4050507@ahsoftware.net> Message-ID: <57762532.7080009@gmail.com> Nothing doing over here (Xubuntu 16.04 64 bit) either with Community or Indy. Richmond. On 1.07.2016 08:07, Mark Wieder wrote: > On 06/30/2016 11:44 AM, Richard Gaskin wrote: >> Richmond wrote: >> > Still waiting (64-bit, Linux) for the Dictionary. >> >> Which distro? >> >> I've been able to use the Dictionary on 64-bit Ubuntu (14.04, 15.10, and >> 16.04) ever since LC v8.0rc1. >> >> @LC Ltd: good work on the Dictionary UI refinements. MUCH more usable. >> > > The dictionary "works" for me in 64-bit linux, but only thusly: > > open the dictionary > you get a blank pane > close the dictionary > open it again > From david at viral.academy Fri Jul 1 04:11:47 2016 From: david at viral.academy (David Bovill) Date: Fri, 1 Jul 2016 09:11:47 +0100 Subject: Tree widget showing error in 8.1.0 (dp 2) Message-ID: Upgrading to 8.1.0 (dp 2) from 8.02 (rc 1) results in the tools palette showing a red exclamation mark over the tree widget - and the widget failing to display arrays. Anyone else having this issue? From mark at livecode.com Fri Jul 1 04:13:27 2016 From: mark at livecode.com (Mark Waddingham) Date: Fri, 01 Jul 2016 10:13:27 +0200 Subject: Controls on mobile apps - am I missing =?UTF-8?Q?something=3F?= In-Reply-To: <607079BE-6866-4558-9C67-563FBD5AAA54@icloud.com> References: <57757229.8020106@fourthworld.com> <607079BE-6866-4558-9C67-563FBD5AAA54@icloud.com> Message-ID: On 2016-07-01 00:38, Terence Heaford wrote: > Perhaps LiveCode should spend time incorporating the native controls > for each platform. Hence: - widgets - https://livecode.com/project/infinite-livecode/ - https://livecode.com/project/infinite-livecode-native-field-object/ Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From mark at livecode.com Fri Jul 1 04:20:47 2016 From: mark at livecode.com (Mark Waddingham) Date: Fri, 01 Jul 2016 10:20:47 +0200 Subject: Controls on mobile apps - am I missing =?UTF-8?Q?something=3F?= In-Reply-To: <57757229.8020106@fourthworld.com> References: <57757229.8020106@fourthworld.com> Message-ID: <122994889b06f66e2b2e783c353c62f8@livecode.com> On 2016-06-30 21:25, Richard Gaskin wrote: > OS APIs change out from under the engine with expensive regularity, > and all the while, even as mobile enhancements would indeed be > valuable, there's a rather long list of other things we're asking them > to do as well. Hmmmm, at the end of the day, supporting iOS is (I would say) a great deal less work then attempting to support all-kinds-of-linux-distribution-under-the-sun as is evident by the unfortunate problems people have using LiveCode on many of the distributions with low 'market share'. For example, the amount of time we have spent on trying to work out why the browser does not work on certain distributions probably exceeds the amount of time we have spent updating to support new iOS SDKs in the last six months - and it is still not resolved. > Would it perhaps be in the better interests of the community of > scripters to put together a team to script those in LC Builder and let > the C++ engineers remain focused on things requiring C++? Indeed! That is one of the most LiveCode-user-visible points of the whole LCB endeavour. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From peter.brett at livecode.com Fri Jul 1 04:26:13 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Fri, 1 Jul 2016 09:26:13 +0100 Subject: Monte Goulding's day off? ; -) the outcome. In-Reply-To: <6417d5ab74408ecaf858125b94a81c95@livecode.com> References: <6417d5ab74408ecaf858125b94a81c95@livecode.com> Message-ID: <9a9aaafe-914b-8428-a136-05f1a4989159@livecode.com> On 01/07/2016 08:58, Mark Waddingham wrote: > 1) Any JSON parser usable from LiveCode Script (right now) should just > return all values as strings - it should check they are well-formed as > per the JSON spec, but not actually attempt to convert or process them > as the engine is more than capable of doing that for you. (Except for > quoted values in JSON - they need to be 'unescaped'). This approach is pretty problematic from the point of view of the JSON library extension shipped with the IDE. I originally wrote it for use from LiveCode Builder, and as such it has to convert JSON values to their "correct" LCB types in order to work usefully. At the moment, the bridging rules from LiveCode Script to LCB types and vice versa make the JSON library extension very nice to use from LCB and reasonably usable from LCS. To implement the scheme you describe above, the current JSON extension would need to be split into three parts: - An event-driven lexer/parser module that does no type conversion at all but calls a set of callback handlers as it passes through the JSON document - A module for use from LCB that does LCB type conversion - A library for use from LCS that doesn't do any type conversion at all I can probably do that (and keep the API backward-compatible) but it seems like a lot of work. :-) Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ From mark at livecode.com Fri Jul 1 04:51:38 2016 From: mark at livecode.com (Mark Waddingham) Date: Fri, 01 Jul 2016 10:51:38 +0200 Subject: Monte Goulding's day =?UTF-8?Q?off=3F=20=3B=20-=29=20the=20ou?= =?UTF-8?Q?tcome=2E?= In-Reply-To: <9a9aaafe-914b-8428-a136-05f1a4989159@livecode.com> References: <6417d5ab74408ecaf858125b94a81c95@livecode.com> <9a9aaafe-914b-8428-a136-05f1a4989159@livecode.com> Message-ID: <75e08cc69c99db1468809eb34cf2ad60@livecode.com> On 2016-07-01 10:26, Peter TB Brett wrote: > At the moment, the bridging rules from LiveCode Script to LCB types > and vice versa make the JSON library extension very nice to use from > LCB and reasonably usable from LCS. The LCB extension differs from mergJSON though in that it actually can return 'numbers' to LCS - these are then affected by 'the numberFormat'. This is almost as good as a 'stringy-number' - although you do, of course, lose the original string representation. Of course, the idea of 'stringy-number' could just be recast as a Decimal-number-represented-as-string type (which is what it is the more I think about it) - something that would just converted to a binary-fp representation when you do something numbery on it; or appropriately apply the numberFormat to the string rep when something stringy is done with it. > To implement the scheme you describe above, the current JSON extension > would need to be split into three parts: > > - An event-driven lexer/parser module that does no type conversion at > all but calls a set of callback handlers as it passes through the JSON > document > > - A module for use from LCB that does LCB type conversion > > - A library for use from LCS that doesn't do any type conversion at all Or a parameter which says 'don't convert token values?'? ;) Alternatively, if we had a DecimalString representation for Number (as described above) it would be a simple change - construct DecimalString number-rep from token string rather than the binary-fp number rep. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From monte at appisle.net Fri Jul 1 05:26:02 2016 From: monte at appisle.net (Monte Goulding) Date: Fri, 1 Jul 2016 19:26:02 +1000 Subject: Monte Goulding's day off? ; -) the outcome. In-Reply-To: <6417d5ab74408ecaf858125b94a81c95@livecode.com> References: <6417d5ab74408ecaf858125b94a81c95@livecode.com> Message-ID: > On 1 Jul 2016, at 5:58 PM, Mark Waddingham wrote: > > 1) Any JSON parser usable from LiveCode Script (right now) should just return all values as strings - it should check they are well-formed as per the JSON spec, but not actually attempt to convert or process them as the engine is more than capable of doing that for you. (Except for quoted values in JSON - they need to be 'unescaped'). From the perspective of mergJSON it would be simpler to convert it to lcidl based and therefore set variables to specific data types than to do what you are suggesting here as there?s simply no access to the strings from Jannson. Cheers Monte From mark at livecode.com Fri Jul 1 05:33:43 2016 From: mark at livecode.com (Mark Waddingham) Date: Fri, 01 Jul 2016 11:33:43 +0200 Subject: Monte Goulding's day =?UTF-8?Q?off=3F=20=3B=20-=29=20the=20ou?= =?UTF-8?Q?tcome=2E?= In-Reply-To: References: <6417d5ab74408ecaf858125b94a81c95@livecode.com> Message-ID: On 2016-07-01 11:26, Monte Goulding wrote: > From the perspective of mergJSON it would be simpler to convert it to > lcidl based and therefore set variables to specific data types than to > do what you are suggesting here as there?s simply no access to the > strings from Jannson. Indeed - that would put it in the same class of operation as the LCB JSON library. To be fair, I *suspect* the outcome would be entirely equivalent for any use of the input data where the numberFormat is configured to show less than around 15 decimal d.p. - which you should never exceed anyway, since that's the limit of what can be represented without error. The main reason the 'decimal-as-string' idea might be 'nice' is that it allows faithful roundtripping of values in a JSON array. For example, if your program is only processing parts of an array generated from a JSON file and then writing it back out again, at the moment all numbers would get reformated as though they'd been round-tripped through doubles, if the conversion to double is done lazily (i.e. only if they are processed and set again) then only the parts of the file which need to change do change. (Of course, the structure of the JSON file in terms of whitespace wouldn't be preserved, however it would mean that the file as a whole would be stable apart from modified values after the first time it was passed through the processing program). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From effendi at wanadoo.fr Fri Jul 1 05:48:50 2016 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Fri, 1 Jul 2016 11:48:50 +0200 Subject: LiveCode throwing compile errors for a stack which previously worked Message-ID: Hi from Beautiful Brittany (when it rains, I just LiveCode !) Malte - Thanks a million - problem solved ! I wonder who set that flag - must have been me after a few whiskeys (progress is a series of monumental F**k-Ups) Brilliant 10 second solution to a pain in the butt ! Best Regards -Francis From t.heaford at icloud.com Fri Jul 1 05:49:06 2016 From: t.heaford at icloud.com (Terence Heaford) Date: Fri, 01 Jul 2016 10:49:06 +0100 Subject: Controls on mobile apps - am I missing something? In-Reply-To: References: <57757229.8020106@fourthworld.com> <607079BE-6866-4558-9C67-563FBD5AAA54@icloud.com> Message-ID: <46A716AA-B281-415C-A701-2ED4F656CE2F@icloud.com> > On 1 Jul 2016, at 09:13, Mark Waddingham wrote: > > On 2016-07-01 00:38, Terence Heaford wrote: >> Perhaps LiveCode should spend time incorporating the native controls >> for each platform. > > Hence: > > - widgets > > - https://livecode.com/project/infinite-livecode/ > > - https://livecode.com/project/infinite-livecode-native-field-object/ > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode I think I understand, a native field for iOS (plus other mobile platforms) is a stretch goal. So with regard to Mac OS if we/I want native controls for: Buttons, Fields, Tabs, DataGrid (NSTable) etc. I will have to roll my own in LCB (when available for this) or wait for LiveCode to require to do it via a stretch goal? To me the publicity surrounding LCB seems and discussions suggest that 3rd parties are more likely to produce widgets for specific purposes rather than native controls and it will be left to LiveCode to produce native controls via stretch goals. I fear a long wait(perhaps years) before the availability of native controls? All the best Terry From benr_mc at cogapp.com Fri Jul 1 06:33:11 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 1 Jul 2016 11:33:11 +0100 Subject: Controls on mobile apps - am I missing something? In-Reply-To: <57757229.8020106@fourthworld.com> References: <57757229.8020106@fourthworld.com> Message-ID: On 30/06/2016 20:25, Richard Gaskin wrote: > But while it's easy to write a sentence or two of things describing others to > do, it's not quite as easy to actually do the work. Very true! And I realised after I sent my last email that I was sounding like one of those people.... But: While: I'm very excited about widgets; and backed both the original infinite-livceode; and the native field extension; Yet: I think there is a bit of a danger that concentrating on the new babies is leaving the older sibling neglected and disgruntled... and looking ugly. I still remember the thrill some 15 years ago of building an app on Mac, and seeing it 'just work' first time on Windows (albeit some tweaking needed). But in relation to mobile, for me the real value of LiveCode is not the one-time saving on remaking the interface for another platform - but the ongoing efficiency of continuous development on desktop, versus the conventional edit-compile-test cycle. That's why I think "it would be better if" the existing basic controls worked reasonably well on mobile platforms, and the existence of the various libraries, widgets, and mobileControlxxx functions - while all of them being extremely valuable - does not, for me, negate that ambition. In my ideal future there would be no more "mobileXXX" terms in the dictionary; just as most of the "iphoneXXX" terms were generalised to be "mobileXXX", my dream would be for as many as possible of the 'mobileXXX' terms to be generalised (and/or merged with the existing 'desktop' functions) to work on any platform, so that the developer could use a single set of functions to compose and send an email (with functions to tell me if it's available on the current platform); to access location and heading information, accelerometer, built in camera (again with functions to tell me which features are available). After all most 'desktops' are now laptops, many of which have cameras, accelerometers, various density screens, idle timers, etc... In this respect I was delighted when sockets were implemented on mobile, that this was done as a peaceful extension of the existing functions, rather than as a new 'mobileSocketxxx" suite. Grateful though I am for Monte's fabulous work: I had a utility developed and debugged and used on the desktop, which I simply couldn't face recoding using mergSocket, so I just waited. When the day came I simply checked the box to build for iOS, selected my phone and hit "test" - and it worked, first time, on my phone! That was a fabulous win for LiveCode. I'm really hoping (though I'm not clear if this is true or not) that the Native Field Object is not implemented as another new widget but as a new presentation of the LiveCode field object. A new widget would obviously be better than the using the mobileControlxxx functions (themselves a welcome addition); but even better if we can drag a field onto a stack, and have it work appropriately and according to expectation on all platforms. Of course, to return to your point above: t say "even better if" is not to deny the amount of work that may be involved, or pre-judge the priorities. Best regards, Ben From benr_mc at cogapp.com Fri Jul 1 06:38:05 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 1 Jul 2016 11:38:05 +0100 Subject: Access mounted volumes on Windows from LC? In-Reply-To: <57756662.4020209@fourthworld.com> References: <57756662.4020209@fourthworld.com> Message-ID: <86c6959d-eddd-6a28-1c4d-83905c5e297e@cogapp.com> On 30/06/2016 19:35, Richard Gaskin wrote: > Roger Eller wrote: >> I never build for Windows in OS X. So I only know when it worked and >> stopped and worked again on Windows. I do recall some talk about the Mac >> version still having the issue for a while after 6.7.5. > > Any potential bug symptoms evident in v6.x or v7.x need to be checked in the > most recent DP build, currently 8.1 dp2. > > 6 and 7 have joined 5 and 4 and the others in having reached end-of-life. > Technical support is still available for current subscribers, but no new work > is being done on versions prior to 8. Any bugs found in those older versions > will remain forever. Hi Richard, Thanks for the note - and indeed I'm doing all my new work in 8.1dp2, which is going great. However this is an app developed over very many years and in use in a number of places processing a great deal of text; and although in theory using the new Unicode capabilities will make it a lot better, in practise the current installations contain a lot of character set workarounds which will break. Until I/my clients can justify the testing load of the upgrade, I don't wish to move this app even to LC 7 let alone 8. Fortunately, although the UNC bug broken in 6.6.4 and repaired in 6.7.5 was broken again by 6.7.7; it was repaired again by at least 6.7.11, the last version of 6.7. So I'm cautiously happy! Ben From mark at livecode.com Fri Jul 1 06:51:38 2016 From: mark at livecode.com (Mark Waddingham) Date: Fri, 01 Jul 2016 12:51:38 +0200 Subject: Access mounted volumes on Windows from =?UTF-8?Q?LC=3F?= In-Reply-To: <86c6959d-eddd-6a28-1c4d-83905c5e297e@cogapp.com> References: <57756662.4020209@fourthworld.com> <86c6959d-eddd-6a28-1c4d-83905c5e297e@cogapp.com> Message-ID: <88aa31d01b7a5a40c8292378670a38b0@livecode.com> On 2016-07-01 12:38, Ben Rubinstein wrote: > However this is an app developed over very many years and in use in a > number of places processing a great deal of text; and although in > theory using the new Unicode capabilities will make it a lot better, > in practise the current installations contain a lot of character set > workarounds which will break. Until I/my clients can justify the > testing load of the upgrade, I don't wish to move this app even to LC > 7 let alone 8. Do you have some examples of the character set workarounds that break in 7+? Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From nabble at mad.pink Fri Jul 1 07:05:25 2016 From: nabble at mad.pink (pink) Date: Fri, 1 Jul 2016 04:05:25 -0700 (PDT) Subject: Having major Livecode problems Message-ID: <1467371125582-4706247.post@n4.nabble.com> I have three computers (an iMac, a Mac Mini, a Macbook Air) which I use for programming. I started having major problems with Livecode on 2 of the 3 computers, regardless of whether I'm using 8.0.0, 8.0.1 or one of the developmental releases. -Random and frequent crashes (with no crash report displayed) -Project manager doesn't work correctly if there are groups on a card -System will randomly lock up when switching cards and give me a spinning beachball of death But on the 3rd computer, everything works fine. All 3 computers have the same plugins/extensions etc... I've also tried removing all extensions and plugins, and I still have issues. The "My Livecode" folder is synced in Dropbox. I would like to think at this point, that it's me and something going on my computer... so what do I need to do to wipe off all current traces of Livecode and start fresh? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Having-major-Livecode-problems-tp4706247.html Sent from the Revolution - User mailing list archive at Nabble.com. From mark at livecode.com Fri Jul 1 07:49:59 2016 From: mark at livecode.com (Mark Waddingham) Date: Fri, 01 Jul 2016 13:49:59 +0200 Subject: the detailed folders returning incorrect data In-Reply-To: <57758B70.3080704@researchware.com> References: <57756F92.20204@researchware.com> <5775779F.4010605@fourthworld.com> <097c978c-6c7b-595f-cb2d-6673e237a201@livecode.com> <57758B70.3080704@researchware.com> Message-ID: <0c980480f29fb7839288bd0503ba3649@livecode.com> On 2016-06-30 23:13, Paul Dupuis wrote: > It would be so much nicer to actually check permissions that tricks > like > writing dummy files and checking for errors I think it is important to clarify what you are wanting to achieve here. There are two things to remember when dealing with files and folders: 1) You have to check for success of all your file operations - they can fail for all kinds of reasons which are entirely outwith your control, not just permissions issues. 2) There is a time-of-check to time-of-use problem with things related to unopened files / folders: just because permissions look okay before you start an operation, doesn't mean they will be okay by the time you start the operation, or will remain so throughout the operation. ACLs on Windows (as already has been mentioned) are very fine-grained (and quite complex) - I suspect they should be thought of more as 'failsafes which get triggered whenever you do something you are not allowed to do' rather than 'things to be queried to see if you can do something'. I just wonder if there is a better away to approach the problem you are trying to solve; or whether there is actually a problem to solve at all (which isn't already solved by thorough error checking and handling). Warmest Regards, Mark. P.S. I'm not saying that being able to query the Window's ACLs would not potentially be useful - just that even with that ability you might find that it only works in a subset of cases... -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From hh at hh.on-rev.com Fri Jul 1 08:33:45 2016 From: hh at hh.on-rev.com (-hh) Date: Fri, 1 Jul 2016 05:33:45 -0700 (PDT) Subject: Having major Livecode problems In-Reply-To: <1467371125582-4706247.post@n4.nabble.com> References: <1467371125582-4706247.post@n4.nabble.com> Message-ID: <1467376425581-4706249.post@n4.nabble.com> Did you check for differences of the LC-prefs files? They are in /Users/pink/Library/Preferences/RunRev and probably not 'synced'. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Having-major-Livecode-problems-tp4706247p4706249.html Sent from the Revolution - User mailing list archive at Nabble.com. From klaus at major-k.de Fri Jul 1 09:21:08 2016 From: klaus at major-k.de (Klaus major-k) Date: Fri, 1 Jul 2016 15:21:08 +0200 Subject: Mac app compiled on Windows does not want to start Message-ID: Hi friends, a client of mine has compiled a Mac standalone on Windows and now the app will not run: "The application XXX cannot be run" or what the exact english message reads!? I remember faintly there is some problem with erm. "executable bit"? But forgot the details... Or does the app have to be compiled on a Mac, to run properly? Any hints highly appreciated! Thank you! Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From bonnmike at gmail.com Fri Jul 1 09:54:54 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 1 Jul 2016 07:54:54 -0600 Subject: Mac app compiled on Windows does not want to start In-Reply-To: References: Message-ID: Yeah, sounds like it lost the correct permissions during the transfer to the mac. you can either chmod 755 I think you have to go into the app package and hit the actual executable, don't think it will work on the app package itself. (You can probably also set the permissions using finder.. go to where the app package is located, bring up the context menu and show the package contents, then drill down through contents/MacOS to locate the binary, get the context menu for the file and get info and from there, set the permissions. (for everyone, probably read and execute, not write.) Sorry for kinda glossing over all this. I can't get on a mac mac at the moment, so I can't give exact steps. On Fri, Jul 1, 2016 at 7:21 AM, Klaus major-k wrote: > Hi friends, > > a client of mine has compiled a Mac standalone on Windows and now the app > will not run: > "The application XXX cannot be run" or what the exact english message > reads!? > > I remember faintly there is some problem with erm. "executable bit"? > But forgot the details... > > Or does the app have to be compiled on a Mac, to run properly? > > Any hints highly appreciated! Thank you! > > > Best > > Klaus > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From hh at hh.on-rev.com Fri Jul 1 09:57:22 2016 From: hh at hh.on-rev.com (-hh) Date: Fri, 1 Jul 2016 06:57:22 -0700 (PDT) Subject: Mac app compiled on Windows does not want to start In-Reply-To: References: Message-ID: <1467381442554-4706252.post@n4.nabble.com> If it's a newer MacOS (system integrity protection) he/she could try to rightClick the icon and then select "open" and choose again "open" in the "unknown-dev-dialog". -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Mac-app-compiled-on-Windows-does-not-want-to-start-tp4706250p4706252.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Fri Jul 1 11:00:11 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 1 Jul 2016 08:00:11 -0700 Subject: [ANN] Release 8.1.0 DP 2 In-Reply-To: <57759EC4.1090105@warrensweb.us> References: <57759EC4.1090105@warrensweb.us> Message-ID: <5776857B.4080706@fourthworld.com> Warren Samples wrote: > ldd doesn't show anything missing. Getting LiveCode to run under > Tumbleweed requires no head scratching or additional installation of > libs, using the official installation DVD and as well the geckoLinux > spin (rolling version) in both the XFCE and Budgie flavors. > > There's a thread on the dev list with the subject "LiveCode fails to > open in openSUSE Leap". Searching for that string gave me zero results, and searching for "OpenSUSE" brought up many old threads. URL? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From cubist at aol.com Fri Jul 1 11:03:02 2016 From: cubist at aol.com (Quentin Long) Date: Fri, 1 Jul 2016 11:03:02 -0400 Subject: Problem with custom functions In-Reply-To: References: Message-ID: <155a6fc07c3-17a0-7a58@webstg-m09.mail.aol.com> I'm not sure if I've exposed a horrible bug, or I've managed to completely forget something utterly bleeding obvious, or what. But whatever the deal is, I am having inordinate difficulty trying to use custom functions. Recipe for the problem: 0--Open LiveCode (Community Edition 8.0.0, build 13018) on a MacBook Pro (13-inch, mid-2012) running OS X 10.11.5, with a 500 GB hard drive (300 GB free space) and 16GB of RAM 1--Create a new stack 2--Put this into the script of the new stack: function CubeIt DerNum return (DerNum ^ 3) end CubeIt 3--Type "put CubeIt (3)" into the message box Expected result: "27" should show up in the message box. Actual result: Nothing shows up in the message box. 4--Type "put CubeIt 3" into the message box Result: "Script compile error: "Error description: Handler: bad command" What the heck is going on here? "Bewitched" + "Charlie's Angels" - Charlie = "At Arm's Length" Read the webcomic at [?http://www.atarmslength.net?]! If you like "At Arm's Length", support it at [?http://www.patreon.com/DarkwingDude?]. From paul at livecode.org Fri Jul 1 11:03:49 2016 From: paul at livecode.org (Paul Hibbert) Date: Fri, 1 Jul 2016 08:03:49 -0700 Subject: Tree widget showing error in 8.1.0 (dp 2) In-Reply-To: References: Message-ID: I had the same issue with the rounded corner widget, but uninstalling it using the Extension Manager and then re-installing with the Extension Builder fixed the problem. Paul > On Jul 1, 2016, at 1:11 AM, David Bovill wrote: > > Upgrading to 8.1.0 (dp 2) from 8.02 (rc 1) results in the tools palette > showing a red exclamation mark over the tree widget - and the widget > failing to display arrays. > > Anyone else having this issue? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Fri Jul 1 11:14:11 2016 From: paul at researchware.com (Paul Dupuis) Date: Fri, 01 Jul 2016 11:14:11 -0400 Subject: the detailed folders returning incorrect data In-Reply-To: <0c980480f29fb7839288bd0503ba3649@livecode.com> References: <57756F92.20204@researchware.com> <5775779F.4010605@fourthworld.com> <097c978c-6c7b-595f-cb2d-6673e237a201@livecode.com> <57758B70.3080704@researchware.com> <0c980480f29fb7839288bd0503ba3649@livecode.com> Message-ID: <577688C3.9020502@researchware.com> On 7/1/2016 7:49 AM, Mark Waddingham wrote: > I just wonder if there is a better away to approach the problem you > are trying to solve; or whether there is actually a problem to solve > at all (which isn't already solved by thorough error checking and > handling). The problem I am working on has to do with reading and writing a preferences file and a license file across platforms and within platforms across versions of the OS and even within a platform (Windows) and OS version, the wide range or ways corporate and university customer take to secure computers in their labs and on their networks where "typical" folders may be read only or otherwise restricted. While the problem is predominately on the Windows side, we have run into a university owned OSX box(es) in a lab where the Preference folder was read only. So, we also, for legacy reasons, need to look into multiple locations for older versions of the license file or preference file that may have been installed by (a) older versions of our software; (b) administrator command line installs using site desktop management and deployment software line LanDESK; (c) where current OS Manufacturer guidelines say to put them (admittedly, not changed much on OSX, but has over time on Windows and Windows moves more and more to a "sandboxed" model) So, I walk through a list of locations, looking for existing files, if I find it, and it is readable and writable, I use it. If I don't find it OR it it is not read/writable, I also want to walk through a list of location (different order) to find the first writable folder I can store our preferences and license file in. It is no longer the case where you can 100% rely of specialFolderPath("preferences") [OSX] and specialFolderPath(26) [Win] 100% of the time in the real world out there. I was hoping to use the detailed files and detailed folders to check read/write permissions vs the classic test file trick (which can also suffer from changing over time). Given it not available on Windows, I will go back to the classic model of testing folder write-ability by trying to write a temp test file and deleting it if successful. And to test existing file read/write by trying to open it for update and if no errors, then closing it. Obviously, on successive writes, whether via "put ... into URL ..." or via "open file ...", we check for errors in case permissions have changed, disk space has been exceeded or the user pulled the USB cable or whatever. I am leaning towards writing everything into a sub-folder of the users "Documents" folder as that seems to be the only place "guaranteed" by both Apple and Microsoft to fully accessible to the user as them evolve their OSes more and more to a locked down/sand boxed model. I'm sure that's more background info that you either wanted or have time for Mark :-) From ambassador at fourthworld.com Fri Jul 1 11:14:19 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 1 Jul 2016 08:14:19 -0700 Subject: the detailed folders returning incorrect data In-Reply-To: <0c980480f29fb7839288bd0503ba3649@livecode.com> References: <0c980480f29fb7839288bd0503ba3649@livecode.com> Message-ID: <577688CB.2030609@fourthworld.com> Mark Waddingham wrote: > There are two things to remember when dealing with files and folders: > > 1) You have to check for success of all your file operations - > they can fail for all kinds of reasons which are entirely outwith > your control, not just permissions issues. > > 2) There is a time-of-check to time-of-use problem with things > related to unopened files / folders: just because permissions look > okay before you start an operation, doesn't mean they will be okay > by the time you start the operation, or will remain so throughout > the operation. ... > I just wonder if there is a better away to approach the problem you > are trying to solve... Over the years I've become a big fan of the sysError function, for both of the reasons you outlined. I call it after file I/O operations in conjunction with checking the result, e.g.: open file tFile if the result is not empty then answer the result &" ("& sysError() &")" exit to top end if SysError returns the OS-suppplied error code for the most recent error reported by the system to LiveCode. As such it often provides a valuable clue about the specifics of the problem, whereas LC's error strings tend to be more general. For example, LC may report "can't open file" where sysError reports "2", letting you know it's likely a path or file name issue. On Windows I believe "access denied" will return "5" with sysError. The more I've found sysError invaluable for learning the specifics of I/O issues, the more I regret not having adopted it as a habit years earlier. Tremendous time-saver. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Fri Jul 1 11:21:51 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 1 Jul 2016 08:21:51 -0700 Subject: LC v8.1 DP2: Kudos! Message-ID: <57768A8F.7030604@fourthworld.com> I was just reviewing the Release Notes for dp2 - wonderful new enhancements, many more than I'd imagined would be in this build, including refinements to GPS support, the new eventShiftKey and other synchronous modifier key functions, simplified PDF display with the CEF browser, the ability to specify a stack with the revert command, and dozens more. Nice work, team. Thanks! -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Fri Jul 1 11:26:07 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 1 Jul 2016 08:26:07 -0700 Subject: [ANN] Release 8.1.0 DP 2 In-Reply-To: <5775FA95.4050507@ahsoftware.net> References: <5775FA95.4050507@ahsoftware.net> Message-ID: <57768B8F.5000308@fourthworld.com> Mark Wieder wrote: > The dictionary "works" for me in 64-bit linux, but only thusly: > > open the dictionary > you get a blank pane > close the dictionary > open it again An electrician, an engineer, and a programmer are driving to Vegas when the car suddenly shudders to a stop. The electrician suggests, "I think we should check the spark plugs." The engineer says, "I think we should check the intake valves." The programmer says, "I think we should get out of the car and then get back into it again." -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From paul at livecode.org Fri Jul 1 11:30:08 2016 From: paul at livecode.org (Paul Hibbert) Date: Fri, 1 Jul 2016 08:30:08 -0700 Subject: Tree widget showing error in 8.1.0 (dp 2) In-Reply-To: References: Message-ID: <260C75C3-2708-4143-9EDC-B36497162414@livecode.org> Looks like I replied too soon - the error has just returned when I went back to LC! Paul > On Jul 1, 2016, at 8:03 AM, Paul Hibbert wrote: > > I had the same issue with the rounded corner widget, but uninstalling it using the Extension Manager and then re-installing with the Extension Builder fixed the problem. > > Paul > >> On Jul 1, 2016, at 1:11 AM, David Bovill wrote: >> >> Upgrading to 8.1.0 (dp 2) from 8.02 (rc 1) results in the tools palette >> showing a red exclamation mark over the tree widget - and the widget >> failing to display arrays. >> >> Anyone else having this issue? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Fri Jul 1 11:38:21 2016 From: prothero at earthednet.org (Earthednet-wp) Date: Fri, 1 Jul 2016 08:38:21 -0700 Subject: Problem with custom functions In-Reply-To: <155a6fc07c3-17a0-7a58@webstg-m09.mail.aol.com> References: <155a6fc07c3-17a0-7a58@webstg-m09.mail.aol.com> Message-ID: Try putting: Cubit(3). In the message box, without the "put" This messed me up for awhile too. Bill William Prothero http://es.earthednet.org > On Jul 1, 2016, at 8:03 AM, Quentin Long wrote: > > I'm not sure if I've exposed a horrible bug, or I've managed to completely forget something utterly bleeding obvious, or what. But whatever the deal is, I am having inordinate difficulty trying to use custom functions. > > Recipe for the problem: > > 0--Open LiveCode (Community Edition 8.0.0, build 13018) on a MacBook Pro (13-inch, mid-2012) running OS X 10.11.5, with a 500 GB hard drive (300 GB free space) and 16GB of RAM > > 1--Create a new stack > > 2--Put this into the script of the new stack: > > function CubeIt DerNum > return (DerNum ^ 3) > end CubeIt > > 3--Type "put CubeIt (3)" into the message box > > Expected result: "27" should show up in the message box. > Actual result: Nothing shows up in the message box. > > 4--Type "put CubeIt 3" into the message box > Result: > "Script compile error: > "Error description: Handler: bad command" > > What the heck is going on here? > > "Bewitched" + "Charlie's Angels" - Charlie = "At Arm's Length" > > Read the webcomic at [ http://www.atarmslength.net ]! > > If you like "At Arm's Length", support it at [ http://www.patreon.com/DarkwingDude ]. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Jul 1 11:49:29 2016 From: klaus at major-k.de (Klaus major-k) Date: Fri, 1 Jul 2016 17:49:29 +0200 Subject: Mac app compiled on Windows does not want to start In-Reply-To: References: Message-ID: Hi Mike, > Am 01.07.2016 um 15:54 schrieb Mike Bonner : > > Yeah, sounds like it lost the correct permissions during the transfer to > the mac. obviously, any way to prevent this? > you can either chmod 755 thanks, that was it, it is running fine now :-) > I think you have to go into the app package and hit the actual executable, > don't think it will work on the app package itself. (You can probably also > set the permissions using finder.. go to where the app package is located, > bring up the context menu and show the package contents, then drill down > through contents/MacOS to locate the binary, get the context menu for the > file and get info and from there, set the permissions. (for everyone, > probably read and execute, not write.) > > Sorry for kinda glossing over all this. I can't get on a mac mac at the > moment, so I can't give exact steps. I already managed it, thanks for the final hint! Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From klaus at major-k.de Fri Jul 1 11:50:43 2016 From: klaus at major-k.de (Klaus major-k) Date: Fri, 1 Jul 2016 17:50:43 +0200 Subject: Mac app compiled on Windows does not want to start In-Reply-To: <1467381442554-4706252.post@n4.nabble.com> References: <1467381442554-4706252.post@n4.nabble.com> Message-ID: <405B42CA-B792-4C22-835D-6CC6B503E994@major-k.de> Hi hh, > Am 01.07.2016 um 15:57 schrieb [-hh] : > > If it's a newer MacOS (system integrity protection) > he/she could try to rightClick the icon and then > select "open" and choose again "open" in the > "unknown-dev-dialog". nope, it was no Gatekeeper security issue, see my response to Mike hint! But I got it running now, thank you. Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From ambassador at fourthworld.com Fri Jul 1 11:55:00 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 1 Jul 2016 08:55:00 -0700 Subject: Controls on mobile apps - am I missing something? In-Reply-To: <122994889b06f66e2b2e783c353c62f8@livecode.com> References: <122994889b06f66e2b2e783c353c62f8@livecode.com> Message-ID: <57769254.8010705@fourthworld.com> Mark Waddingham wrote: > On 2016-06-30 21:25, Richard Gaskin wrote: >> OS APIs change out from under the engine with expensive regularity, >> and all the while, even as mobile enhancements would indeed be >> valuable, there's a rather long list of other things we're asking them >> to do as well. > > Hmmmm, at the end of the day, supporting iOS is (I would say) a great > deal less work then attempting to support > all-kinds-of-linux-distribution-under-the-sun as is evident by the > unfortunate problems people have using LiveCode on many of the > distributions with low 'market share'. Interesting. I hadn't thought about iOS there, but I suppose that's a part of it, even if a small one. I was thinking more generally about the evolution of OSes, such as Apple's moves from 68k to PPC, Classic to OS X, PPC to Intel, Carbon to Cocoa, and 32-bit to 64-bit; and while Microsoft generally provides unusually good backward compatibility, the migration from MCI to the new media APIs has required some rework. Each of the changes in OSes seem to be a reasonable move that improves the user experience. But they do cost developers time and money to stay on top of. So while it's easy for folks using LC to take for granted that most things just continue to work year after year, behind the scenes there's a good bit of effort going into it to make that happen. > For example, the amount of time we have spent on trying to work out why > the browser does not work on certain distributions probably exceeds the > amount of time we have spent updating to support new iOS SDKs in the > last six months - and it is still not resolved. Indeed, which is one of the reasons I've been eager to see what we Linux users in the community can do to minimize the impact of those things. The diversity of Linux distros is a key part of its growth, but it's not easy for any development team to support them all. For example, I realize Steam is an unusually demanding app, but their system requirements for Linux go so far as to specify only one distro, and only one specific supported version of that distro. LiveCode's needs are less severe than Steam's, but Linux is so diverse it seems reasonable to expect some limitations with the scope of official support from the core team for the many various distros. Migrating some of that support overhead to the community seems achievable, and useful for everyone in allowing the core team to stay focused on things requiring their unique talents. No one wants to see the team postpone critical work while addressing a font rendering issue on Hanna Montana Linux. :) http://hannahmontana.sourceforge.net/ -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From warren at warrensweb.us Fri Jul 1 12:11:31 2016 From: warren at warrensweb.us (Warren Samples) Date: Fri, 1 Jul 2016 11:11:31 -0500 Subject: [ANN] Release 8.1.0 DP 2 In-Reply-To: <5776857B.4080706@fourthworld.com> References: <57759EC4.1090105@warrensweb.us> <5776857B.4080706@fourthworld.com> Message-ID: <57769633.5070102@warrensweb.us> On 07/01/2016 10:00 AM, Richard Gaskin wrote: > Warren Samples wrote: >> ldd doesn't show anything missing. Getting LiveCode to run under >> Tumbleweed requires no head scratching or additional installation of >> libs, using the official installation DVD and as well the geckoLinux >> spin (rolling version) in both the XFCE and Budgie flavors. >> >> There's a thread on the dev list with the subject "LiveCode fails to >> open in openSUSE Leap". > > Searching for that string gave me zero results, and searching for > "OpenSUSE" brought up many old threads. > > URL? > I follow the lists locally, in my email client, so I can't provide you a URL. The thread was started on 6-23 on the LiveCode Developer List. Here is the content of the original post: ---------------(start quote)--------------- The 64 bit LiveCode IDE fails to open for me under openSUSE Leap 42.1. It was previously working under openSUSE versions 12.x and 13.x. While there was a period when it failed under Tumbleweed (rolling release), it works in at least the last two snapshots. Simple standalones work as do simple LC Server scripts. The first few times I tried, the LiveCode splash screen hanged while loading the menu bar (the last text displayed) and the process had to be killed. Now the splash screen disappears after less than a second. Here is the tail of the livecode_tools_log: Loading Script Editor... Enter Script Editor Initialisation Leave Script Editor Initialisation Loading User Icon Libraries... Enter User Libraries Initialisation Leave User Libraries Initialisation Loading Error Management... Enter Errors Initialisation Leave Errors Initialisation Loading Menu Bar... Enter Menus Initialisation Trying to get the platform Linux Starting LiveCode from the command line returns this error: "Error in `/home/warren/.runrev/components/livecodecommunity-8.0.2-rc-2.x86_64/livecodecommunity.x86_64': free(): invalid next size (fast): 0x0000000004e84a80" and sends this to stderr: "Use of deprecated SAXv1 function setDocumentLocator Got SIGIOT" It's strange that SUSE built on older and newer libs both work while the current "main" version does not. Do these errors reveal any useful clues as to what might be done to get it working? The shell prints a backtrace. Would this be helpful to see? Running LiveCode through strace using some particular option? --------------- (end quote)--------------- To clarify the last sentence of the first paragraph of the original (copied here from the dev list) post, simple standalones and LiveCode Server do work under Leap, it's the IDE that is the problem. openSUSE is quietly one of the more popular distros and Leap is the current "standard" release so it might be a good thing to get this figured out. I wonder what LiveCode does just after it gets the platform, as it finishes up the menus initialization. I posted the shell backtrace at: It should be noted that if I run the command several times, the backtrace will not consistently end with the same lines; sometimes aborting with more lines and sometimes fewer. Thank you for looking at this :) Warren From ambassador at fourthworld.com Fri Jul 1 12:28:48 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 1 Jul 2016 09:28:48 -0700 Subject: Controls on mobile apps - am I missing something? In-Reply-To: <46A716AA-B281-415C-A701-2ED4F656CE2F@icloud.com> References: <46A716AA-B281-415C-A701-2ED4F656CE2F@icloud.com> Message-ID: <57769A40.6090602@fourthworld.com> Terence Heaford wrote: > So with regard to Mac OS if we/I want native controls for: > > Buttons, > Fields, > Tabs, > DataGrid (NSTable) > etc. > > I will have to roll my own in LCB (when available for this) or wait > for LiveCode to require to do it via a stretch goal? If you're looking for an implementation of a control on just one of the 6 GUI platforms LC supports, it would seem reasonable to roll your own. The LC team has to support multiple OSes, which of course multiplies the cost of an implementation. But for the most part that shouldn't be needed. Buttons are already quite good on macOS, as are fields, tabs, progress bars, and most others. The transition to Cocoa really moved those forward nicely, and the recent theme refinements have made them quite satisfying. There should be no need to rewrite those from scratch in any language at all. And they look very good on Windows and Linux as well. To rewrite the DataGrid for macOS using NSTable would be non-trivial. Indeed, I've never seen any control on any platform implemented in C (or C++ or Objective C etc.) as flexible for the end-user as what the DG provides. I was talking about these sorts of issues recently with my friend Mark Lucas, the lead developer of SuperCard. He reminded me that the Cocoa framework provides many great features that save significant time for Objective C developers, but they assume your app's appearance and behavior are defined before compile-time. With xTalks like SuperCard and LiveCode, the engine developers need to accommodate a much more dynamic world in which, for the scripters using these tools, development and runtime are virtually indistinguishable. This requires the stewards of an xTalk engine to, as he likes to put it, "reach in between the fan blades", to work around the constraints of the OS APIs that made NextStep/Cocoa so great for ObjC devs but unusually challenging for xTalk devs. When we see apps making good use of APIs like NSTable, we usually see a user-facing implementation that reflects a relatively small subset of all of the capabilities of that class. If there is any other high-level scripting language that uses NSTable to provide access to as many properties and features as LC's DataGrid, I've not come across it yet. That said, I've never programmed in Objective C and am not familiar with the NSTable class. If it's affordable to implement, perhaps you could point the way. The LiveCode team, however, faces a very different challenge: in addition to a macOS version they'd also need do that work all over again with a different set of APIs for Windows, Linux, and Android. I'm sure they'd love to have the time for that. But to get them that time we'd need to let them know which other things we've been asking them to do are less important so they could set those aside. And given the scope of the task, I'd imagine the list of set-asides would be rather long. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dochawk at gmail.com Fri Jul 1 12:42:48 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 1 Jul 2016 09:42:48 -0700 Subject: revUpdateGeometry throwing error In-Reply-To: References: Message-ID: *bump* Does anyone have an idea for this? I've done everything I can to try to find a way to debug it, but I'm stuck. It still throws the error on program load. I've even deleted all the live code configuration files and reinstalled, yet the problem remains. On Sat, Jun 25, 2016 at 4:09 PM, Dr. Hawkins wrote: > Sometime after processing the open scripts for my main stack, but before > processing messages sent from there with "send0", there is an error thrown > by revUpdateGeometry. As near as I can tell, its has to do with the > message box. > > If I put > > > answer "!!!";breakppoint > > > at the beginning of the preOpenStack, the behavior doesn't manifest. > > Otherwise, > > whoops! 6/25/164:07 PM > > 1466896063910 > > > lib: error occurred on line: 478 > > > pParseError: > > > > pExecutionError: > > 573,478,1,revUpdateGeometry > > 587,478,1 > > 241,464,1,controlsExpand > > 353,0,0,stack "/Applications/LiveCode Indy > 7.1.4.app/Contents/Tools/Toolset/palettes/revmessagebox.rev" > > 573,93,1,controlsExpand > > 253,93,1 > > 241,90,1,preOpenStack > > 353,0,0,stack "/Applications/LiveCode Indy > 7.1.4.app/Contents/Tools/Toolset/palettes/revmessagebox.rev" > > > context: > > stack > "/Users/hawk/dhbk/16/1604/160404/dhLib.160404b.livecode",errorDialog,826 > > gets sent to the errorDialgo handler: > > *on* errorDialog pExecutionError, pParseError > > cck ("whoops! " & the date & the time & cr & the milliseconds & cr & > cr \ > > & "lib: error occurred on line: " & item 2 of line 1 of > pExecutionError & cr & cr \ > > & "pParseError:" & cr & pParseError & cr & cr \ > > & "pExecutionError:" & cr & pExecutionError & cr & cr & > "context:" & cr & the executionContexts & cr) > > where cck is a hack that dumps into a watch window. > > I'm stumped; I've been fighting this all day. > > After the error is thrown, all seems to work. > > Note that now pParseError is sent by the engine . . . > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Fri Jul 1 12:53:41 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 1 Jul 2016 09:53:41 -0700 Subject: [ANN] Release 8.1.0 DP 2 In-Reply-To: <57769633.5070102@warrensweb.us> References: <57769633.5070102@warrensweb.us> Message-ID: <5776A015.5070401@fourthworld.com> Warren Samples wrote: > The 64 bit LiveCode IDE fails to open for me under openSUSE Leap > 42.1. ... > The shell prints a backtrace. Would this be helpful to see? Running > LiveCode through strace using some particular option? > > --------------- (end quote)--------------- > > To clarify the last sentence of the first paragraph of the original > (copied here from the dev list) post, simple standalones and LiveCode > Server do work under Leap, it's the IDE that is the problem. Good sleuthing so far. Narrowing it down to the IDE is especially useful, as it suggests something that may eventually affect standalones, since of course the IDE is just a collection of stacks itself. I'm not familiar with backtrace, but the output appears to be very different from strace. Have you run strace? To get going I wouldn't worry about flags, even the defaults would likely yield useful info. What's the bug report ID for this? Maybe the logs should be included as attachments there. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From cubist at aol.com Fri Jul 1 13:11:55 2016 From: cubist at aol.com (Quentin Long) Date: Fri, 1 Jul 2016 13:11:55 -0400 Subject: Problem with custom functions In-Reply-To: <155a6fc07c3-17a0-7a58@webstg-m09.mail.aol.com> Message-ID: <155a77204b7-17a0-7eae@webstg-m09.mail.aol.com> Follow-up on my recent "WTF!?" message. With the same hardware and OS as in my first message, but running LiveCode Community Edition 7.0.0 build 10018 rather than the 8.0.0 version, custom functions work with no anomalous behavior I can discern. Should I file a bug report? "Bewitched" + "Charlie's Angels" - Charlie = "At Arm's Length" Read the webcomic at [?http://www.atarmslength.net?]! If you like "At Arm's Length", support it at [?http://www.patreon.com/DarkwingDude?]. From jacque at hyperactivesw.com Fri Jul 1 13:50:01 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 01 Jul 2016 12:50:01 -0500 Subject: the detailed folders returning incorrect data In-Reply-To: <577688C3.9020502@researchware.com> References: <57756F92.20204@researchware.com> <5775779F.4010605@fourthworld.com> <097c978c-6c7b-595f-cb2d-6673e237a201@livecode.com> <57758B70.3080704@researchware.com> <0c980480f29fb7839288bd0503ba3649@livecode.com> <577688C3.9020502@researchware.com> Message-ID: <155a794e528.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> For Windows you can specify specialFolderPath( "0x001a"?) which is the approved location for writing app data. On Mac it's the Application Support folder ; I thought there was a special designator for that too but I don't see one in the dictionary. If memory serves, it's" apsup" I think. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 1, 2016 10:15:24 AM Paul Dupuis wrote: > On 7/1/2016 7:49 AM, Mark Waddingham wrote: >> I just wonder if there is a better away to approach the problem you >> are trying to solve; or whether there is actually a problem to solve >> at all (which isn't already solved by thorough error checking and >> handling). > > The problem I am working on has to do with reading and writing a > preferences file and a license file across platforms and within > platforms across versions of the OS and even within a platform (Windows) > and OS version, the wide range or ways corporate and university customer > take to secure computers in their labs and on their networks where > "typical" folders may be read only or otherwise restricted. > > While the problem is predominately on the Windows side, we have run into > a university owned OSX box(es) in a lab where the Preference folder was > read only. > > So, we also, for legacy reasons, need to look into multiple locations > for older versions of the license file or preference file that may have > been installed by (a) older versions of our software; (b) administrator > command line installs using site desktop management and deployment > software line LanDESK; (c) where current OS Manufacturer guidelines say > to put them (admittedly, not changed much on OSX, but has over time on > Windows and Windows moves more and more to a "sandboxed" model) > > So, I walk through a list of locations, looking for existing files, if I > find it, and it is readable and writable, I use it. If I don't find it > OR it it is not read/writable, I also want to walk through a list of > location (different order) to find the first writable folder I can store > our preferences and license file in. > > It is no longer the case where you can 100% rely of > specialFolderPath("preferences") [OSX] and specialFolderPath(26) [Win] > 100% of the time in the real world out there. > > I was hoping to use the detailed files and detailed folders to check > read/write permissions vs the classic test file trick (which can also > suffer from changing over time). Given it not available on Windows, I > will go back to the classic model of testing folder write-ability by > trying to write a temp test file and deleting it if successful. And to > test existing file read/write by trying to open it for update and if no > errors, then closing it. Obviously, on successive writes, whether via > "put ... into URL ..." or via "open file ...", we check for errors in > case permissions have changed, disk space has been exceeded or the user > pulled the USB cable or whatever. > > I am leaning towards writing everything into a sub-folder of the users > "Documents" folder as that seems to be the only place "guaranteed" by > both Apple and Microsoft to fully accessible to the user as them evolve > their OSes more and more to a locked down/sand boxed model. > > I'm sure that's more background info that you either wanted or have time > for Mark :-) > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From warren at warrensweb.us Fri Jul 1 14:08:43 2016 From: warren at warrensweb.us (Warren Samples) Date: Fri, 1 Jul 2016 13:08:43 -0500 Subject: [ANN] Release 8.1.0 DP 2 In-Reply-To: <5776A015.5070401@fourthworld.com> References: <57769633.5070102@warrensweb.us> <5776A015.5070401@fourthworld.com> Message-ID: <5776B1AB.6070101@warrensweb.us> On 07/01/2016 11:53 AM, Richard Gaskin wrote: > Warren Samples wrote: > > > The 64 bit LiveCode IDE fails to open for me under openSUSE Leap > > 42.1. > ... > > The shell prints a backtrace. Would this be helpful to see? Running > > LiveCode through strace using some particular option? > > > > --------------- (end quote)--------------- > > > > To clarify the last sentence of the first paragraph of the original > > (copied here from the dev list) post, simple standalones and LiveCode > > Server do work under Leap, it's the IDE that is the problem. > > Good sleuthing so far. Narrowing it down to the IDE is especially > useful, as it suggests something that may eventually affect standalones, > since of course the IDE is just a collection of stacks itself. > > I'm not familiar with backtrace, but the output appears to be very > different from strace. Have you run strace? To get going I wouldn't > worry about flags, even the defaults would likely yield useful info. > > What's the bug report ID for this? Maybe the logs should be included as > attachments there.http://warren.ws/strace-LC-output.txt Richard, I never filed a bug report. I reported my problem in a reply to another release announcement fairly recently and didn't receive any comment from any of the devs that have been generously participating on this list so I (perhaps stupidly and/or unfairly) took that to mean there was little interest in tackling it. Linux is not anything like a single target and we've all seen the dreaded "we can't reproduce it here" response that has to be as frustrating to the devs as it is to those of us who have the problem :D I'm grateful for the interest you and Mark Wieder have shown. I'm not averse to filing or contributing to bug reports and will do so with your encouragement. The strace output, run without any flags, is 2.4 MB and 27,000+ lines. It means nothing to me, dilettante that I am. You can find it here: If you can think of any flags which might make it more manageable or useful, I will be happy to run it again. Warren From paul at researchware.com Fri Jul 1 14:17:52 2016 From: paul at researchware.com (Paul Dupuis) Date: Fri, 01 Jul 2016 14:17:52 -0400 Subject: the detailed folders returning incorrect data In-Reply-To: <155a794e528.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <57756F92.20204@researchware.com> <5775779F.4010605@fourthworld.com> <097c978c-6c7b-595f-cb2d-6673e237a201@livecode.com> <57758B70.3080704@researchware.com> <0c980480f29fb7839288bd0503ba3649@livecode.com> <577688C3.9020502@researchware.com> <155a794e528.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <5776B3D0.5090500@researchware.com> On 7/1/2016 1:50 PM, J. Landman Gay wrote: > For Windows you can specify specialFolderPath( "0x001a" ) which is the > approved location for writing app data. On Mac it's the Application > Support folder ; I thought there was a special designator for that too > but I don't see one in the dictionary. If memory serves, it's" apsup" > I think. SpecialFolderPath("0x001a") is specialFolderPath(26) or specialFolderPath("Support") and is C:/Users//AppData/Roaming SpecialFolderPath("asup") (on OSX) is /Library/Application Support which is the equivalent of SpecialFolderPath(35) on Windows or C:/ProgramData Quite some time ago, we compiled a detailed spreadsheet of specialFolderPath values and what they returned across various versions of Windows and OSX. The problem for us is, there are Windows corporate and university environments where, in efforts to "lock down" Windows systems, SpecialFolderPath("0x001a") is read only whether Microsoft says it should be available or not. Since we'd like to earn the business of some of these folks, we've adopted a model of testing a variety of locations to write our app's files - each needs a quick test to make sure (at the time of the test) the folder is writable (and readable). We DO this now via a handler that writes a empty test file, and if successful, then deletes it, returning true or false for whether the folder is writable. I was looking to rewrite that routine with what I thought would be a cleaner version that actually check the detail folders permissions column (item 10), which *works* as expected under OSX. What I ran into was that, even though the dictionary entry said nothing about it not being supported under Windows, the permission are in fact in error under Windows. This, by definition, is a bug in LiveCode. It is either a documentation bug that the dictionary entries for folders and files do not state that the permissions data is invalid for Windows OR it is a technical bug that the permission values are invalid for Windows. From david at viral.academy Fri Jul 1 14:35:38 2016 From: david at viral.academy (David Bovill) Date: Fri, 1 Jul 2016 19:35:38 +0100 Subject: Tree widget showing error in 8.1.0 (dp 2) In-Reply-To: <260C75C3-2708-4143-9EDC-B36497162414@livecode.org> References: <260C75C3-2708-4143-9EDC-B36497162414@livecode.org> Message-ID: So far that fixed it this end. On 1 July 2016 at 16:30, Paul Hibbert wrote: > Looks like I replied too soon - the error has just returned when I went > back to LC! > > Paul > > > On Jul 1, 2016, at 8:03 AM, Paul Hibbert wrote: > > > > I had the same issue with the rounded corner widget, but uninstalling it > using the Extension Manager and then re-installing with the Extension > Builder fixed the problem. > > > > Paul > > > >> On Jul 1, 2016, at 1:11 AM, David Bovill wrote: > >> > >> Upgrading to 8.1.0 (dp 2) from 8.02 (rc 1) results in the tools palette > >> showing a red exclamation mark over the tree widget - and the widget > >> failing to display arrays. > >> > >> Anyone else having this issue? > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From david at viral.academy Fri Jul 1 14:39:10 2016 From: david at viral.academy (David Bovill) Date: Fri, 1 Jul 2016 19:39:10 +0100 Subject: Is this the expected behavior? Message-ID: > > on preOpenCard > put the short name of recent card > pass preOpenCard > end preOpenCard Why is the recent card when specified in a preOpenCard handler the name of the current card, while it is the recent card if the same script is called: on openCard > put the short name of recent card > pass openCard > end openCard Given that preOpenCard is called before actually displaying the card and the openCard handler being called this seems wrong. Is this behavior present in older versions of LC - or is this a bug? From bonnmike at gmail.com Fri Jul 1 14:50:59 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 1 Jul 2016 12:50:59 -0600 Subject: Mac app compiled on Windows does not want to start In-Reply-To: <405B42CA-B792-4C22-835D-6CC6B503E994@major-k.de> References: <1467381442554-4706252.post@n4.nabble.com> <405B42CA-B792-4C22-835D-6CC6B503E994@major-k.de> Message-ID: Not sure there's an easy way to keep it from happening. If it is created with the permission.. (doubtful since windows works differently but I've been wrong often before) you could always run a linux vm in virtualbox, set the permission, gzip it up and send it that way. On Fri, Jul 1, 2016 at 9:50 AM, Klaus major-k wrote: > Hi hh, > > > Am 01.07.2016 um 15:57 schrieb [-hh] : > > > > If it's a newer MacOS (system integrity protection) > > he/she could try to rightClick the icon and then > > select "open" and choose again "open" in the > > "unknown-dev-dialog". > > nope, it was no Gatekeeper security issue, see my response to Mike hint! > But I got it running now, thank you. > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Fri Jul 1 14:56:54 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 1 Jul 2016 11:56:54 -0700 Subject: 32-bit Linux distros going away Message-ID: <5776BCF6.4050008@fourthworld.com> Looks like Ubuntu will be joining Fedora and OpenSUSE in dropping support for 32-bit editions in future versions. Given that 64-bit CPUs have been been dominant for more than a decade, I think this is pretty good news for us LiveCoders. As new distros drop support for older 32-bit CPUs eventually LC can follow suit, allowing a more streamlined development and build process for modern systems. End of an era: Linux distributions will soon stop supporting 32-bit PCs -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From t.heaford at icloud.com Fri Jul 1 15:03:16 2016 From: t.heaford at icloud.com (Terence Heaford) Date: Fri, 01 Jul 2016 20:03:16 +0100 Subject: Controls on mobile apps - am I missing something? In-Reply-To: <57769A40.6090602@fourthworld.com> References: <46A716AA-B281-415C-A701-2ED4F656CE2F@icloud.com> <57769A40.6090602@fourthworld.com> Message-ID: > On 1 Jul 2016, at 17:28, Richard Gaskin wrote: > > Buttons are already quite good on macOS, as are fields, tabs, progress bars, and most others. I agree but there a subtle display errors. The button and popup button/menu. To me the text seems a little low within the display. There were problems with the tab control but the text display of this has now improved. I am not obsessed with native controls but it is brought to your attention when the copies within LiveCode do not stand up to close scrutiny. For me, a poor imitation of a native control impacts on how LiveCode is viewed in the wider world. With regard to the DataGrid the normal highlighted text within a NSTableView is normally white on a coloured background. You can implement this within a DataGrid but if you are trying to emulate MacOS you will be disappointed with the result. The text will look a little blurred. As a matter of interest the text display generally in LiveCode is not as sharp/clear as a native Cocoa app. What system does LiveCode use to present text. If it uses the All the best Terry From ambassador at fourthworld.com Fri Jul 1 15:49:48 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 1 Jul 2016 12:49:48 -0700 Subject: [ANN] Release 8.1.0 DP 2 In-Reply-To: <5776B1AB.6070101@warrensweb.us> References: <5776B1AB.6070101@warrensweb.us> Message-ID: <5776C95C.8080106@fourthworld.com> Warren Samples wrote: > I never filed a bug report. I reported my problem in a reply to > another release announcement fairly recently and didn't receive > any comment from any of the devs that have been generously > participating on this list so I (perhaps stupidly and/or unfairly) > took that to mean there was little interest in tackling it. Linux > is not anything like a single target and we've all seen the dreaded > "we can't reproduce it here" response that has to be as frustrating > to the devs as it is to those of us who have the problem :D I'm > grateful for the interest you and Mark Wieder have shown. I'm not > averse to filing or contributing to bug reports and will do so with > your encouragement. I would suggest filing the report. If anyone complains, I'll take the heat. :) It may be that this is something we'll fix as a community effort, but at least having it in the bug DB will give us a central place to share notes and logs as we work toward a resolution. Please let me know the report ID/URL when you post it so I can add myself to the CC list and review the info there to see if I can help triage it. Thanks - -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Fri Jul 1 16:20:02 2016 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 1 Jul 2016 23:20:02 +0300 Subject: 32-bit Linux distros going away In-Reply-To: <5776BCF6.4050008@fourthworld.com> References: <5776BCF6.4050008@fourthworld.com> Message-ID: <5776D072.4050401@gmail.com> I don't think that's good news at all. One of the premises of Linux is/was that it provided support from machines that got bogged down with systems like Windows ME, XP and Vista as well as extremely under-powered pcs. This basically means that very many machines indeed which are perfectly functional will either have to stick on their current OS or be chucked in a landfill: the first option is awkward as updates of software such as Firefox will stop working, and there may not be people who are prepared to work on side clones such as Classilla [ http://www.floodgap.com/software/classilla/ ] and TenFourFox [ http://www.floodgap.com/software/tenfourfox/ ]. "Given that 64-bit CPUs have been been dominant for more than a decade", well, maybe in the rich countries such as the USA, but most definitely not in Eastern Europe, Africa, the Sub-Continent, and so on. I can hear the voice of the first world who forget that knowledge should not be a privilege of the "haves", and that in our world as it is at the moment, children who do not have access to knowledge (not very good libraries in many parts of the world) and ways of accessing that knowledge are at a huge disadvantage. Now I am NOT a bleeding-heart Socialist, or a bleeding-heart anything else, but after the 32 bit computers I bought second-hand from Germany "move on" I would far rather that they be put to good use as educational tools as long as possible rather than being shoved in holes in the ground to further poison our collective home; or "recycled" in various ways which, whatever 'they' tell you, releases all sorts of entertaining gases into the atmosphere. This may sound odd, that software has an effect on landfills; but it does. "I think this is pretty good news for us LiveCoders." Really! What about Livecoders who want to produce standalones to run on 32-bit Linux? For the sake of argument: I have 10 32-bit computers in my school that function very well indeed, now this news re Linux does not fuss me as they can merrily trot along using Xubuntu 14.04 LTS for an awful lot LT than the S, and I can carry on usinf current 32 bit Livecode versions for trotting out EFL delivery progs. for them. I am certainly NOT going to pitch them and invest in 10 64 bit machines. BUT, then, I don't have access to the internet in my school because that is not necessary. However, I do send copies of my programs off to a few schools in Botswana where a bloke who was at school with me is doing wonders with just about the crappiest machines you can think of, and he does have internet access, and uses it. This actually makes me think that, open source or not, Linux is getting subtly commercialised. Ubuntu has already demonstrated its "We know better than our end-users do" attitude several times; the arrogance of success I suppose. Luckily one is still able to strap XFCE, LXDE, Cinnamon and so on onto the front of it so one doesn't have to use the awkward resource-sucker they push out as their "official" desktop. Ubuntu may just find that their uptake level suddenly goes right down. Richmond. On 1.07.2016 21:56, Richard Gaskin wrote: > Looks like Ubuntu will be joining Fedora and OpenSUSE in dropping > support for 32-bit editions in future versions. > > Given that 64-bit CPUs have been been dominant for more than a decade, > I think this is pretty good news for us LiveCoders. As new distros > drop support for older 32-bit CPUs eventually LC can follow suit, > allowing a more streamlined development and build process for modern > systems. > > End of an era: Linux distributions will soon stop supporting 32-bit PCs > > > From jacque at hyperactivesw.com Fri Jul 1 16:20:27 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 1 Jul 2016 15:20:27 -0500 Subject: [ANN] Release 8.1.0 DP 2 In-Reply-To: <43244061-3408-7a6a-ff12-acc68d04b7a4@livecode.com> References: <43244061-3408-7a6a-ff12-acc68d04b7a4@livecode.com> Message-ID: On 6/30/2016 8:00 AM, Peter TB Brett wrote: > We are pleased to announce the release of LiveCode 8.1.0-dp-2 Thank you for adding back the descriptions of bug fixes. For the last few releases all we had were numbers and it was difficult to know exactly what was fixed without clicking on each link and loading a web page. The revised report is much more useful. Good move. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Jul 1 16:44:36 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 1 Jul 2016 15:44:36 -0500 Subject: Navigation bar widget icons Message-ID: <4a2c43e8-6b26-55a7-66e1-eb76fabc0c00@hyperactivesw.com> Is there a way to add our own SVG icon paths to a navigation bar widget? It looks like we can't. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From nabble at mad.pink Fri Jul 1 16:55:26 2016 From: nabble at mad.pink (pink) Date: Fri, 1 Jul 2016 13:55:26 -0700 (PDT) Subject: Navigation bar widget icons In-Reply-To: <4a2c43e8-6b26-55a7-66e1-eb76fabc0c00@hyperactivesw.com> References: <4a2c43e8-6b26-55a7-66e1-eb76fabc0c00@hyperactivesw.com> Message-ID: <1467406526864-4706282.post@n4.nabble.com> technically we cannot theoretically if you can edit the "Icon SVG Library" you could add to it... I'm still tinkering with this concept myself https://github.com/madpink/livecode/blob/develop/extensions/libraries/iconsvg/iconsvg.lcb as far as I can tell, there are just three lines that make up each path: put the empty array into tArray["umbrella"] put "M896 892L896 1472Q896 ...DELETED MOST OF THE PATH... 896 192Z" into tArray["umbrella"]["svg"] put "f0e9" into tArray["umbrella"]["codepoint"] -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Navigation-bar-widget-icons-tp4706281p4706282.html Sent from the Revolution - User mailing list archive at Nabble.com. From nabble at mad.pink Fri Jul 1 17:01:55 2016 From: nabble at mad.pink (pink) Date: Fri, 1 Jul 2016 14:01:55 -0700 (PDT) Subject: Having major Livecode problems In-Reply-To: <1467376425581-4706249.post@n4.nabble.com> References: <1467371125582-4706247.post@n4.nabble.com> <1467376425581-4706249.post@n4.nabble.com> Message-ID: <1467406915350-4706283.post@n4.nabble.com> clearing those files did the trick my project browser works correctly now, and I haven't crashed all day -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Having-major-Livecode-problems-tp4706247p4706283.html Sent from the Revolution - User mailing list archive at Nabble.com. From peter.brett at livecode.com Fri Jul 1 18:15:00 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Fri, 1 Jul 2016 23:15:00 +0100 Subject: Navigation bar widget icons In-Reply-To: <4a2c43e8-6b26-55a7-66e1-eb76fabc0c00@hyperactivesw.com> References: <4a2c43e8-6b26-55a7-66e1-eb76fabc0c00@hyperactivesw.com> Message-ID: <3532c604-207e-ea64-b5f4-04331d7ba745@livecode.com> On 01/07/2016 21:44, J. Landman Gay wrote: > Is there a way to add our own SVG icon paths to a navigation bar widget? > It looks like we can't. It isn't, yet. The enhancement request is in bug 17685. Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From peter.brett at livecode.com Fri Jul 1 18:15:32 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Fri, 1 Jul 2016 23:15:32 +0100 Subject: [ANN] Release 8.1.0 DP 2 In-Reply-To: References: <43244061-3408-7a6a-ff12-acc68d04b7a4@livecode.com> Message-ID: On 01/07/2016 21:20, J. Landman Gay wrote: > On 6/30/2016 8:00 AM, Peter TB Brett wrote: >> We are pleased to announce the release of LiveCode 8.1.0-dp-2 > > Thank you for adding back the descriptions of bug fixes. For the last > few releases all we had were numbers and it was difficult to know > exactly what was fixed without clicking on each link and loading a web > page. The revised report is much more useful. Good move. They are literally back by popular demand. :-) Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From monte at appisle.net Fri Jul 1 18:53:00 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 2 Jul 2016 08:53:00 +1000 Subject: Having major Livecode problems In-Reply-To: <1467406915350-4706283.post@n4.nabble.com> References: <1467371125582-4706247.post@n4.nabble.com> <1467376425581-4706249.post@n4.nabble.com> <1467406915350-4706283.post@n4.nabble.com> Message-ID: <8A9FEDC0-821B-4D7E-9817-57450B3C0791@appisle.net> Did you happen to save the preference files? Creating a bug report with them attached would be helpful. Cheers Monte > On 2 Jul 2016, at 7:01 AM, pink wrote: > > clearing those files did the trick > > my project browser works correctly now, and I haven't crashed all day > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Having-major-Livecode-problems-tp4706247p4706283.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Fri Jul 1 18:55:19 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 1 Jul 2016 22:55:19 +0000 (UTC) Subject: Problem with custom functions References: <155a6fc07c3-17a0-7a58@webstg-m09.mail.aol.com> Message-ID: Quentin Long writes: > Recipe for the problem: > > 0--Open LiveCode (Community Edition 8.0.0... > ...What the heck is going on here? You've encountered a bug that's been fixed in more recent versions. I can confirm the problem with 8.0.0. Try downloading a later version. -- Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Fri Jul 1 19:00:47 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 1 Jul 2016 23:00:47 +0000 (UTC) Subject: web forum crash Message-ID: The web forum has crashed. General Error SQL ERROR [ mysql4 ] Table './lcuser_forums/phpbb_sessions' is marked as crashed and should be repaired [145] An sql error occurred while fetching this page. Please contact an administrator if this problem persists. Please notify the board administrator or webmaster: support at runrev.com -- Mark Wieder ahsoftware at gmail.com From monte at appisle.net Fri Jul 1 21:33:06 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 2 Jul 2016 11:33:06 +1000 Subject: Applying scripts that don't compile Message-ID: <0D210C48-9BF0-4320-9EDF-91B4F1BA652D@appisle.net> Hi Folks I?ve just submitted a patch for review that will mean that if the global gREVDevelopment is true then a script that doesn?t compile won?t actually be set on the object. Previously this check was just for the script editor but because suddenly removing the script of any IDE component can cause the IDE to become unstable thus making it hard to fix the compile error you just tried to apply this change makes it much easier to work on the IDE. I?m thinking this would be a nice script editor preference to add to the IDE because the IDE is not the only thing that can become unstable! However, it is a huge issue in the IDE while probably only a minor annoyance for general scripting. What do people think? If we did this we would need to add warnings on closing the script editor to ensure the user knows that the script has not actually been set on the object yet. Do people think this would be generally helpful as a preference? https://github.com/livecode/livecode-ide/pull/1269 Cheers Monte From mwieder at ahsoftware.net Fri Jul 1 22:23:16 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 1 Jul 2016 19:23:16 -0700 Subject: the detailed folders returning incorrect data In-Reply-To: <5776B3D0.5090500@researchware.com> References: <57756F92.20204@researchware.com> <5775779F.4010605@fourthworld.com> <097c978c-6c7b-595f-cb2d-6673e237a201@livecode.com> <57758B70.3080704@researchware.com> <0c980480f29fb7839288bd0503ba3649@livecode.com> <577688C3.9020502@researchware.com> <155a794e528.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5776B3D0.5090500@researchware.com> Message-ID: <57772594.10708@ahsoftware.net> On 07/01/2016 11:17 AM, Paul Dupuis wrote: > This, by definition, is a bug in LiveCode. It is either a documentation > bug that the dictionary entries for folders and files do not state that > the permissions data is invalid for Windows OR it is a technical bug > that the permission values are invalid for Windows. Agreed. Please file a bug report on this. -- Mark Wieder ahsoftware at gmail.com From brahma at hindu.org Fri Jul 1 22:32:34 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 2 Jul 2016 02:32:34 +0000 Subject: LC 8.1.0 (DP2) Stack opening on second monitor Message-ID: Hmmm. OS X I just installed 8.1.0 (DP2) and now all my stacks open on my second monitor. Which is actually my macbook PRO screen with the primary monitor set to the second, external, LG wide display With the external monitor plugged in, the working screen rects return values as expected: 0,23,3440,1436 -1440,0,0,900 # so why are stacks opening in this space, even if moved and saved on this screen? BR From mwieder at ahsoftware.net Fri Jul 1 22:34:29 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 1 Jul 2016 19:34:29 -0700 Subject: [ANN] Release 8.1.0 DP 2 In-Reply-To: References: <43244061-3408-7a6a-ff12-acc68d04b7a4@livecode.com> Message-ID: <57772835.1090801@ahsoftware.net> On 07/01/2016 03:15 PM, Peter TB Brett wrote: > They are literally back by popular demand. :-) Thank you. Much appreciated. -- Mark Wieder ahsoftware at gmail.com From brahma at hindu.org Fri Jul 1 22:41:17 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 2 Jul 2016 02:41:17 +0000 Subject: LC 8.1.0 (DP2) Stack opening on second monitor In-Reply-To: References: Message-ID: I deleted the livecode7 preferences file and things are working again. From: use-livecode on behalf of Brahmanathaswami Reply-To: How LiveCode Date: Friday, July 1, 2016 at 4:32 PM To: How LiveCode Subject: LC 8.1.0 (DP2) Stack opening on second monitor Hmmm. OS X I just installed 8.1.0 (DP2) and now all my stacks open on my second monitor. Which is actually my macbook PRO screen with the primary monitor set to the second, external, LG wide display With the external monitor plugged in, the working screen rects return values as expected: 0,23,3440,1436 -1440,0,0,900 # so why are stacks opening in this space, even if moved and saved on this screen? BR From warren at warrensweb.us Fri Jul 1 23:41:36 2016 From: warren at warrensweb.us (Warren Samples) Date: Fri, 1 Jul 2016 22:41:36 -0500 Subject: [ANN] Release 8.1.0 DP 2 In-Reply-To: <5776C95C.8080106@fourthworld.com> References: <5776B1AB.6070101@warrensweb.us> <5776C95C.8080106@fourthworld.com> Message-ID: <577737F0.4000108@warrensweb.us> On 07/01/2016 02:49 PM, Richard Gaskin wrote: > I would suggest filing the report. If anyone complains, I'll take the > heat. :) > > It may be that this is something we'll fix as a community effort, but at > least having it in the bug DB will give us a central place to share > notes and logs as we work toward a resolution. > > Please let me know the report ID/URL when you post it so I can add > myself to the CC list and review the info there to see if I can help > triage it. > > Thanks - > Thank you, Richard. Bug 17938 LiveCode fails to open in openSUSE Leap 42.1 From brahma at hindu.org Sat Jul 2 00:39:35 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 2 Jul 2016 04:39:35 +0000 Subject: Front and Back Scripts on Mobile Message-ID: <06542FB2-5D97-4183-968B-E11BFDB291B5@hindu.org> We are looking to use some back scripts on mobile. If I add this to a backscript command testMessagePath pMessage answer pMessage with "OK" end testMessagePath Add this to either a back OR front script. then add a button to the top of any card in the stack testMessagePath "Got it" save and reload the stack? it works on desktop, but not on mobile OTOH some other commands in the back script *are* firing? because we have some set up functions that are not failing. Are there caveats for using front and back scripts on mobile that we need understand? BR From brahma at hindu.org Sat Jul 2 00:42:33 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 2 Jul 2016 04:42:33 +0000 Subject: Front and Back Scripts on Mobile In-Reply-To: <06542FB2-5D97-4183-968B-E11BFDB291B5@hindu.org> References: <06542FB2-5D97-4183-968B-E11BFDB291B5@hindu.org> Message-ID: We are looking to use some back scripts on mobile. If I add this to a backscript command testMessagePath pMessage answer pMessage with "OK" end testMessagePath Add this to either a back OR front script. then add a button to the top of any card in the stack testMessagePath "Got it" save and reload the stack? it works on desktop, but not on mobile OTOH some other commands in the back script *are* firing? because we have some set up functions that are not failing. Are there caveats for using front and back scripts on mobile that we need understand? BR To add more failure points this works if we put everything in the stack script of the stack that has the scrolling group. but if we move the "createScroller" and isMobile and scrollerDidScroll commands to the back or front script? they fail. ?? on opencard set the vScroll of grp "portal-links" to 0 -- ensures correct initial alignment createScroller "portal-links" -- replaces any existing one end opencard command CreateScroller pName -- scrolling fields if not isMobile() then exit CreateScroller deleteMobileControl pName -- delete any existing put (the rect of control pName) into tRect mobileControlCreate "scroller", pName mobileControlSet pName, "rect", tRect put ("0,0," & (the formattedwidth of control pName) & "," & the formattedheight of control pName) into tRect mobileControlSet pName, "contentRect" , tRect mobileControlSet pName, "hScroll" , 0 mobileControlSet pName, "vScroll" , 0 mobileControlSet pName, "hIndicator" , false -- if pName = "quote" then -- mobileControlSet pName, "vIndicator", true -- end if mobileControlSet pName, "visible", true end CreateScroller on scrollerDidScroll hScrolled, vScrolled put mobileControlTarget() into tControlID set the vscroll of control tControlID to vscrolled pass scrollerDidScroll end scrollerDidScroll function isMobile -- jg, for convenience return the environment is "mobile" end isMobile From brahma at hindu.org Sat Jul 2 01:22:16 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 2 Jul 2016 05:22:16 +0000 Subject: SVG Icon Inclusion Causes iOS app to crash Message-ID: <21FECA03-BE46-451E-B58A-8C0D7292CBA5@hindu.org> 8.1.0 DP2 I had a lot of SVG icons on several stacks that are built into an iOS app. I had forgotten to set that as an inclusion and when I built for iOS, they were blank. I went back to the standalone settings for the loader stack, check "SVG Icon" in the inclusions; rebuilt the standalone and on iPhone 6 plus, it cause the app to immediately crash on opening. I removed the inclusion, built again, and it worked. Can anyone else confirm? BR From david at viral.academy Sat Jul 2 04:34:29 2016 From: david at viral.academy (David Bovill) Date: Sat, 2 Jul 2016 09:34:29 +0100 Subject: How to find the name of the recent card? Message-ID: In a preOpenCard handler I cannot find the name of the recent card - the card that you "came from". As far as i can tell this is a very basic bug that goes back to at least version 7. Does anyone have a work around The only thing i can think of is to do my own logging in an openCard or closeCard handler. is there a sane reason why preOpenCard is not reporting the value correctly or another way to get the value of the recent card? I filed this as a bug - http://quality.livecode.com/show_bug.cgi?id=17939 On 1 July 2016 at 19:39, David Bovill wrote: > on preOpenCard >> put the short name of recent card >> pass preOpenCard >> end preOpenCard > > > Why is the recent card when specified in a preOpenCard handler the name of > the current card, while it is the recent card if the same script is called: > > on openCard >> put the short name of recent card >> pass openCard >> end openCard > > Given that preOpenCard is called before actually displaying the card and > the openCard handler being called this seems wrong. Is this behavior > present in older versions of LC - or is this a bug? > > From admin at FlexibleLearning.com Sat Jul 2 04:35:37 2016 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Sat, 2 Jul 2016 09:35:37 +0100 Subject: the detailed folders returning incorrect data Message-ID: <002001d1d43c$b6257750$227065f0$@FlexibleLearning.com> As Paul Dupuis pointed out, SpecialFolderPath() also accepts numbers. These are for Win32... specialFolderPath (2) : Programs specialFolderPath (5) : Documents specialFolderPath (6) : Favorites specialFolderPath (7) : startup specialFolderPath (8) : Recent specialFolderPath (9) : SendTo specialFolderPath (11) : Start Menu specialFolderPath (13) : Music specialFolderPath (14) : Videos specialFolderPath (16) : Desktop specialFolderPath (19) : Network Shortcuts specialFolderPath (20) : Fonts specialFolderPath (21) : Templates specialFolderPath (22) : Start Menu specialFolderPath (23) : Programs specialFolderPath (24) : StartUp specialFolderPath (25) : Desktop specialFolderPath (26) : Roaming specialFolderPath (27) : Printer Shortcuts specialFolderPath (28) : Local specialFolderPath (29) : startup specialFolderPath (30) : StartUp specialFolderPath (31) : Favorites specialFolderPath (32) : INetCache specialFolderPath (33) : INetCookies specialFolderPath (34) : History specialFolderPath (35) : ProgramData specialFolderPath (36) : Windows specialFolderPath (37) : System32 specialFolderPath (38) : Program Files (x86) specialFolderPath (39) : Pictures specialFolderPath (40) : [UserName] specialFolderPath (41) : SysWOW64 specialFolderPath (42) : Program Files (x86) specialFolderPath (43) : Common Files specialFolderPath (44) : Common Files specialFolderPath (45) : Templates specialFolderPath (46) : Documents specialFolderPath (47) : Administrative Tools specialFolderPath (48) : Administrative Tools specialFolderPath (53) : Music specialFolderPath (54) : Pictures specialFolderPath (55) : Videos specialFolderPath (56) : Resources specialFolderPath (59) : Burn Hugh Senior FLCo From monte at appisle.net Sat Jul 2 04:47:24 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 2 Jul 2016 18:47:24 +1000 Subject: How to find the name of the recent card? In-Reply-To: References: Message-ID: <01994F3C-9C48-4D46-B248-C1ADDA293AFE@appisle.net> Looking at your report I'm not really sure if the bug is in the recent card or the current card. If preOpenCard is before the card is open then there's a good argument that it's the latter... Of course either may be an anomaly that may be difficult to do anything about. Cheers Monte Sent from my iPhone > On 2 Jul 2016, at 6:34 PM, David Bovill wrote: > > In a preOpenCard handler I cannot find the name of the recent card - the > card that you "came from". As far as i can tell this is a very basic bug > that goes back to at least version 7. > > Does anyone have a work around The only thing i can think of is to do my > own logging in an openCard or closeCard handler. is there a sane reason why > preOpenCard is not reporting the value correctly or another way to get the > value of the recent card? > > > I filed this as a bug - http://quality.livecode.com/show_bug.cgi?id=17939 > >> On 1 July 2016 at 19:39, David Bovill wrote: >> >> on preOpenCard >>> put the short name of recent card >>> pass preOpenCard >>> end preOpenCard >> >> >> Why is the recent card when specified in a preOpenCard handler the name of >> the current card, while it is the recent card if the same script is called: >> >> on openCard >>> put the short name of recent card >>> pass openCard >>> end openCard >> >> Given that preOpenCard is called before actually displaying the card and >> the openCard handler being called this seems wrong. Is this behavior >> present in older versions of LC - or is this a bug? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimolad at evergreeninfo.net Sat Jul 2 06:40:53 2016 From: rdimolad at evergreeninfo.net (Ralph DiMola) Date: Sat, 02 Jul 2016 06:40:53 -0400 Subject: Front and Back Scripts on Mobile Message-ID: I had this problem way back. ?Mark noted that that the scroller messages are sent to the stack that created the scroller. ? Ralph DiMola IT Director Evergreen Information Services
-------- Original message --------
From: Sannyasin Brahmanathaswami
Date:07/02/2016 00:42 (GMT-05:00)
To: How to use LiveCode
Subject: Re: Front and Back Scripts on Mobile
We are looking to use some back scripts on mobile. If I add this to a backscript command testMessagePath pMessage answer pMessage with "OK" end testMessagePath Add this to either a back OR front script. then add a button to the top of any card in the stack testMessagePath "Got it" save and reload the stack? it works on desktop, but not on mobile OTOH some other commands in the back script *are* firing? because we have some set up functions that are not failing. Are there caveats for using front and back scripts on mobile that we need understand? BR To add more failure points this works if we put everything in the stack script of the stack that has the scrolling group. but if we move the "createScroller" and isMobile and scrollerDidScroll commands to the back or front script? they fail. ?? on opencard set the vScroll of grp "portal-links" to 0 -- ensures correct initial alignment createScroller "portal-links" -- replaces any existing one end opencard command CreateScroller pName -- scrolling fields if not isMobile() then exit CreateScroller deleteMobileControl pName -- delete any existing put (the rect of control pName) into tRect mobileControlCreate "scroller", pName mobileControlSet pName, "rect", tRect put ("0,0," & (the formattedwidth of control pName) & "," & the formattedheight of control pName) into tRect mobileControlSet pName, "contentRect" , tRect mobileControlSet pName, "hScroll" , 0 mobileControlSet pName, "vScroll" , 0 mobileControlSet pName, "hIndicator" , false -- if pName = "quote" then -- mobileControlSet pName, "vIndicator", true -- end if mobileControlSet pName, "visible", true end CreateScroller on scrollerDidScroll hScrolled, vScrolled put mobileControlTarget() into tControlID set the vscroll of control tControlID to vscrolled pass scrollerDidScroll end scrollerDidScroll function isMobile -- jg, for convenience return the environment is "mobile" end isMobile _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Sat Jul 2 07:19:33 2016 From: paul at researchware.com (Paul Dupuis) Date: Sat, 02 Jul 2016 07:19:33 -0400 Subject: the detailed folders returning incorrect data In-Reply-To: <57772594.10708@ahsoftware.net> References: <57756F92.20204@researchware.com> <5775779F.4010605@fourthworld.com> <097c978c-6c7b-595f-cb2d-6673e237a201@livecode.com> <57758B70.3080704@researchware.com> <0c980480f29fb7839288bd0503ba3649@livecode.com> <577688C3.9020502@researchware.com> <155a794e528.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5776B3D0.5090500@researchware.com> <57772594.10708@ahsoftware.net> Message-ID: <5777A345.4080809@researchware.com> On 7/1/2016 10:23 PM, Mark Wieder wrote: > Agreed. Please file a bug report on this. Already done. 5 messages above in the thread: http://quality.livecode.com/show_bug.cgi?id=17927 From david at viral.academy Sat Jul 2 07:41:23 2016 From: david at viral.academy (David Bovill) Date: Sat, 2 Jul 2016 12:41:23 +0100 Subject: How to find the name of the recent card? In-Reply-To: <01994F3C-9C48-4D46-B248-C1ADDA293AFE@appisle.net> References: <01994F3C-9C48-4D46-B248-C1ADDA293AFE@appisle.net> Message-ID: Agreed - its' the inconsistency that is problematic. Also the inability to establish where you have come from before rendering the contents of the display is a fundamental hole in the language - as we simply have no access to the recent card here. Whether we get this by referring to the current card in a preOpenStack handler (makes sense to me), or by using the recent card is not so important - but we DO need to be able to know where we have come from. On 2 July 2016 at 09:47, Monte Goulding wrote: > Looking at your report I'm not really sure if the bug is in the recent > card or the current card. If preOpenCard is before the card is open then > there's a good argument that it's the latter... > > Of course either may be an anomaly that may be difficult to do anything > about. > > Cheers > > Monte > > Sent from my iPhone > > > On 2 Jul 2016, at 6:34 PM, David Bovill wrote: > > > > In a preOpenCard handler I cannot find the name of the recent card - the > > card that you "came from". As far as i can tell this is a very basic bug > > that goes back to at least version 7. > > > > Does anyone have a work around The only thing i can think of is to do my > > own logging in an openCard or closeCard handler. is there a sane reason > why > > preOpenCard is not reporting the value correctly or another way to get > the > > value of the recent card? > > > > > > I filed this as a bug - > http://quality.livecode.com/show_bug.cgi?id=17939 > > > >> On 1 July 2016 at 19:39, David Bovill wrote: > >> > >> on preOpenCard > >>> put the short name of recent card > >>> pass preOpenCard > >>> end preOpenCard > >> > >> > >> Why is the recent card when specified in a preOpenCard handler the name > of > >> the current card, while it is the recent card if the same script is > called: > >> > >> on openCard > >>> put the short name of recent card > >>> pass openCard > >>> end openCard > >> > >> Given that preOpenCard is called before actually displaying the card and > >> the openCard handler being called this seems wrong. Is this behavior > >> present in older versions of LC - or is this a bug? > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mark at livecode.com Sat Jul 2 08:39:05 2016 From: mark at livecode.com (Mark Waddingham) Date: Sat, 02 Jul 2016 14:39:05 +0200 Subject: the detailed folders returning incorrect data In-Reply-To: <577688C3.9020502@researchware.com> References: <57756F92.20204@researchware.com> <5775779F.4010605@fourthworld.com> <097c978c-6c7b-595f-cb2d-6673e237a201@livecode.com> <57758B70.3080704@researchware.com> <0c980480f29fb7839288bd0503ba3649@livecode.com> <577688C3.9020502@researchware.com> Message-ID: <6219d8dc059eecb5a38a09ba92f0fb19@livecode.com> On 2016-07-01 17:14, Paul Dupuis wrote: > The problem I am working on has to do with reading and writing a > preferences file and a license file across platforms and within > platforms across versions of the OS and even within a platform > (Windows) > and OS version, the wide range or ways corporate and university > customer > take to secure computers in their labs and on their networks where > "typical" folders may be read only or otherwise restricted. ... > I'm sure that's more background info that you either wanted or have > time > for Mark :-) It is interesting - I guess it would be nice if MS had designated a 'this folder must always be writable for application data' but, as you've found out, there are so many choices here now that it must be a bit of a nightmare for those managing networks of Windows computers too! The 'detailed files' dictionary entry is definitely wrong in that it should explain about the situation with Windows. The engine does map the MS-DOS read-only attribute into the permissions - as that is per-file and independent of user - however, in this case, the access is being controlled by the ACLs on the files (which, as mentioned before, are substantially more complicated!). I'd be concerned about trying to write something which maps ACLs into the UNIX permissions words as they are two entirely different models - and thus whilst such a thing might be useful for some use-cases, chances are there would be large number of use-cases where the mapping was 'not quite right'. As a point of reference, Cygwin (the port of lots GNU and related UNIX utilities to Win32) do use ACLs to emulate the POSIX user permissions - however, that mapping is heavily tied to the 'cygwin environment' i.e. it makes sense within Cygwin, but no so much sense outside. The best approach, perhaps, would be to work out how to return the ACL information for a file on Windows so Script can be written to process it and 'dig out' the specific information it requires (writing the checking routines in script makes the most sense, since it allows much easer tweaking for specific cases which might arise for your specific use-case). In your case this appears to be: - Can the currently running user read the given file - Can the currently running user write to the given file - Can the currently running user create a file in the given folder This is probably something somebody could tackle when Infinite LiveCode appears - although this is perhaps going to be an exercise in attempting to fully understand the ACL and DACL APIs Win32 have... They are not the most straightforward of beasts as Fraser and I discovered whilst trying to fix the 'elevated permissions' bug in the engine which appeared on Win7 and above (because MS removed one 'access-right' by default from a certain operation between Vista and 7 in order to apparently plug a security hole). Although, to be fair, reading the information is probably going to be easier than trying to setup ACLs for a specific operation - particularly one which has to work across privilege boundaries! So, anyway, the dictionary entry certainly needs to be made clearer on this point; and it is probably best for you to continue with the 'trying to write a file' type approach for now - with hopefully the potential for a 'nicer' solution in the future. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From sims at ezpzapps.com Sat Jul 2 08:46:35 2016 From: sims at ezpzapps.com (sims at ezpzapps.com) Date: Sat, 2 Jul 2016 15:46:35 +0300 Subject: a note from a friend Message-ID: <0000fd3ff410$14f3aaf3$44df5341$@ezpzapps.com> Hello, I wanted to tell you something but please make sure that no one finds aout about this. Please read the note here Thx, sims at ezpzapps.com From mark at livecode.com Sat Jul 2 09:01:33 2016 From: mark at livecode.com (Mark Waddingham) Date: Sat, 02 Jul 2016 15:01:33 +0200 Subject: How to find the name of the recent =?UTF-8?Q?card=3F?= In-Reply-To: References: <01994F3C-9C48-4D46-B248-C1ADDA293AFE@appisle.net> Message-ID: <37c84c0fe1361d467da817dd8bd3f981@livecode.com> On 2016-07-02 13:41, David Bovill wrote: > Agreed - its' the inconsistency that is problematic. Also the inability > to > establish where you have come from before rendering the contents of the > display is a fundamental hole in the language - as we simply have no > access > to the recent card here. Whether we get this by referring to the > current > card in a preOpenStack handler (makes sense to me), or by using the > recent > card is not so important - but we DO need to be able to know where we > have > come from. Is it an inconsistency? The 'recent' cards appear to be the list of cards that were visited before the current one - if openCard has not yet been reached then you could argue you haven't yet visited a new card. This appears to be by intent in the engine source after a quick look. (The recent card list is updated between preOpen and Open). The recent card list is also updated when window focus changes - so it can contain cards from any stack and will change as the user switches between windows. What is your use-case in this scenario? If you are wanting to know what card was 'come from' in a specific stack, then you could store that in a custom property of the stack at the end of OpenCard. Up until that point, the custom prop will have the previous card which is displayed. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From mark at livecode.com Sat Jul 2 09:17:56 2016 From: mark at livecode.com (Mark Waddingham) Date: Sat, 02 Jul 2016 15:17:56 +0200 Subject: Controls on mobile apps - am I missing =?UTF-8?Q?something=3F?= In-Reply-To: References: <46A716AA-B281-415C-A701-2ED4F656CE2F@icloud.com> <57769A40.6090602@fourthworld.com> Message-ID: On 2016-07-01 21:03, Terence Heaford wrote: > The button and popup button/menu. To me the text seems a little low > within the display. Please report any minor display discrepancies you see in the quality center with pictures for comparison and OS details. Fraser has done a lot of work to improve things, however Apple do have a tendency to 'evolve' their UI with every new version of the OS *and* we are trying to make sure we don't cause too much churn in people's existing stacks to keep up. > As a matter of interest the text display generally in LiveCode is not > as sharp/clear as a native Cocoa app. > What system does LiveCode use to present text. If it uses the The engine uses CoreText, but has to funnel its results through Skia (which we use to ensure the graphical capabilities you have are equivalent on all platforms). At the moment this means we only get grayscale antialiasing rather than the LCD-optimized 'color antialiasing' I believe. There is some work to do here, though, as supporting rendering of Emoji requires rendering things in color (http://quality.livecode.com/show_bug.cgi?id=17395). The first thing we need to do is to update Skia and see if it can now better support platform-specific text rendering than it used to. Failing that, we'll have to take a look at how we render the text to see if we can leverage both rendering Emoji and color antialiasing. We are aware this work needs to be done, however it is lower priority than many other things at the moment. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From mark at livecode.com Sat Jul 2 09:57:18 2016 From: mark at livecode.com (Mark Waddingham) Date: Sat, 02 Jul 2016 15:57:18 +0200 Subject: Controls on mobile apps - am I missing =?UTF-8?Q?something=3F?= In-Reply-To: <46A716AA-B281-415C-A701-2ED4F656CE2F@icloud.com> References: <57757229.8020106@fourthworld.com> <607079BE-6866-4558-9C67-563FBD5AAA54@icloud.com> <46A716AA-B281-415C-A701-2ED4F656CE2F@icloud.com> Message-ID: On 2016-07-01 11:49, Terence Heaford wrote: > I think I understand, a native field for iOS (plus other mobile > platforms) is a stretch goal. Well, actually, the 'stretch goal' (like all of stretches for Infinite LiveCode) are fully documented examples how to 'do that kind of thing' with Infinite LiveCode - of course, you also get a well-written, fully functional feature too. > I will have to roll my own in LCB (when available for this) or wait > for LiveCode to require to do it via a stretch goal? I'm minded of a well-known proverb: "Give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime" Which isn't me trying to patronising or glib, but is a succinct way to express our approach with LCB. The logic being that the more that can be done without touching C++ at all, the more people will be able to make LiveCode 'do more'. LiveCode Builder is not LiveCode Script, but it definitely sits in the same family. It is more strict, and has richer typing - which is precisely what you need when you want to write robust components which might need to hook in foreign APIs. Furthermore, as LCB evolves we'll add more ways you can extend LiveCode Script in more natural ways syntax-wise. Our main focus right now (beyond continuing improvements to LiveCode 8 as a whole) is getting Infinite LiveCode finished not only so that it opens up using Builder to a much wider audience, but also so the core dev team can use Builder to implement engine functionality. Not only should help speed up the pace of development for OS-related features, but also mean that the code for them is in a much more accessible form for contribution from third-parties. The latter point here is particularly pertinent to the Infinite LiveCode campaign - the stretch goals are not 'just feature additions' they will be documented examples of how to use LiveCode Builder to implement those kinds of features. To give an example, Monte recently posted this enhancement request: http://quality.livecode.com/show_bug.cgi?id=17874 Right now, this feature *could* be added as an external - the information about the 'focused screen' on both Mac and Windows is fully available without any state from the engine. However, writing an external (particularly a cross-platform one) takes quite a lot of time as you have to setup the projects, write the glue code, write the functionality and then compile and test the external. In contrast, this ability can actually be written in LCB *right now* although it does require more technical understanding of how the OS APIs work on the specific platforms, and knowledge of lower-level language formalisms than is appropriate for the goals of the language. But then, that is the goal of Infinite LiveCode: to make it as simple as we can possibly make it to call foreign APIs. The following took me about 20 mins end to end to write, and use in the IDE via the extension builder: ////////// library com.livecode.examples.focused_screen use com.livecode.foreign type ObjcId is Pointer type ObjcSel is Pointer type ObjcClass is ObjcId ---------- foreign handler _objc_getClass(in pName as ZStringUTF8) returns ObjcId binds to "libobjc.dylib>objc_getClass" foreign handler _sel_registerName(in pName as ZStringUTF8) returns ObjcSel binds to "libobjc.dylib>sel_registerName" foreign handler _objc_msgSend_id_v(in pSelf as ObjcId, in pSel as ObjcSel) returns ObjcId binds to "libobjc.dylib>objc_msgSend" foreign handler _objc_msgSend_int_id(in pSelf as ObjcId, in pSel as ObjcSel, in pArg as ObjcId) returns UIntSize binds to "libobjc.dylib>objc_msgSend" ---------- type NSArray is ObjcId type NSScreen is ObjcId handler NSScreenScreens() returns NSArray return _objc_msgSend_id_v(_objc_getClass("NSScreen"), _sel_registerName("screens")) end handler handler NSScreenMainScreen() returns NSScreen return _objc_msgSend_id_v(_objc_getClass("NSScreen"), _sel_registerName("mainScreen")) end handler handler NSArrayIndexOfObject(in pArray as NSArray, in pObject as ObjcId) returns Integer return _objc_msgSend_int_id(pArray, _sel_registerName("indexOfObject:"), pObject) end handler handler mac_focusedScreen() returns Integer return NSArrayIndexOfObject(NSScreenScreens(), NSScreenMainScreen()) + 1 end handler ---------- public handler focusedScreen() returns Integer return mac_focusedScreen() end handler end library ////////// I probably wouldn't have even got as far as setting up the Xcode project and the structure you need for C++ projects in that time - let alone write the C++ code, compile it, make it load into the IDE and test it. Then, if I wanted to add Windows, I'd have to setup a different project, split up the code so that it conditionally compiled based on platform and use two machines (VMs) to compile the external using different C++ IDEs. Adding Windows support in LCB, however, would be a case of adding the code to the same file and checking the platform to see which implementation to use (mac_focusedScreen() or win_focusedScreen()). Furthermore, I can do that on one machine, and just use a windows machine/VM to test that it works in the LiveCode IDE via the extension builder. (Also, critically I did to know how to program in C++ nor how to use C++ IDEs to do the above!). So, anyway, I cannot answer you question on 'how long you might have to wait' for 'native controls' for Mac - all I can say is that with LiveCode Builder and Infinite LiveCode, you should have to wait a great deal less time than you would have done without them. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From david at viral.academy Sat Jul 2 10:20:34 2016 From: david at viral.academy (David Bovill) Date: Sat, 2 Jul 2016 15:20:34 +0100 Subject: How to find the name of the recent card? In-Reply-To: <37c84c0fe1361d467da817dd8bd3f981@livecode.com> References: <01994F3C-9C48-4D46-B248-C1ADDA293AFE@appisle.net> <37c84c0fe1361d467da817dd8bd3f981@livecode.com> Message-ID: It is inconsistent. If the recent card is updated after preOpenCard - then the current card should behave the same. At the moment the recent cad and the current card return the same result in a preOpenCard handler. My use case is to create a quick handler which takes action depending on where you have come from - so I need access to either the recent card, or the current card in a perOpenCard handler. If I use and open card and let there will be a small glitch / delay between displaying the card and rendering the information the information. Sure I can write ways around it that are complex - but I just want access to the recent card or the current card :) On Saturday, 2 July 2016, Mark Waddingham wrote: > > > Is it an inconsistency? The 'recent' cards appear to be the list of cards > that were visited before the current one - if openCard has not yet been > reached then you could argue you haven't yet visited a new card. This > appears to be by intent in the engine source after a quick look. (The > recent card list is updated between preOpen and Open). The recent card list > is also updated when window focus changes - so it can contain cards from > any stack and will change as the user switches between windows. > What is your use-case in this scenario? > > If you are wanting to know what card was 'come from' in a specific stack, > then you could store that in a custom property of the stack at the end of > OpenCard. Up until that point, the custom prop will have the previous card > which is displayed. > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mark at livecode.com Sat Jul 2 10:46:15 2016 From: mark at livecode.com (Mark Waddingham) Date: Sat, 02 Jul 2016 16:46:15 +0200 Subject: Controls on mobile apps - am I missing =?UTF-8?Q?something=3F?= In-Reply-To: References: <57757229.8020106@fourthworld.com> Message-ID: On 2016-07-01 12:33, Ben Rubinstein wrote: > That's why I think "it would be better if" the existing basic controls > worked reasonably well on mobile platforms, and the existence of the > various libraries, widgets, and mobileControlxxx functions - while all > of them being extremely valuable - does not, for me, negate that > ambition. If by 'works well' you mean 'look less like they come from the age of the dinosaurs' then I cannot agree more. The main issue here is that of rendering the iOS/Android 'native themes'. There are no APIs for this on either platform (unlike for Mac, Windows and Linux) so they have to be written by hand using drawing APIs (just as we only had emulated Motif, Mac Classic and Win95 themes before Tuviah added the hooks to use 'native OS API based themes'). Fraser has done some experimentation here to see how this might work - basically it would be a library of LCB handlers which render the different parts of each control using its rich 2D canvas syntax. However, there is a still quite a lot of work to do it before it becomes a feature we can employ. > In my ideal future there would be no more "mobileXXX" terms in the > dictionary; just as most of the "iphoneXXX" terms were generalised to > be "mobileXXX", my dream would be for as many as possible of the > > camera (again with functions to tell me which features are available). > After all most 'desktops' are now laptops, many of which have > cameras, accelerometers, various density screens, idle timers, etc... Indeed, that is my ideal future too. We need english-like syntax for all these things, and as many as possible should work across all the platforms we support (or at least allow implementations for specific platforms to be added easily when/if such functionality is made available). The english-like syntax will have to wait until the Open Language project is completed, but the restructuring to allow the functionality to be iterated across all platforms can start with the Infinite LiveCode project. > I'm really hoping (though I'm not clear if this is true or not) that > the Native Field Object is not implemented as another new widget but > as a new presentation of the LiveCode field object. A new widget would > obviously be better than the using the mobileControlxxx functions > (themselves a welcome addition); but even better if we can drag a > field onto a stack, and have it work appropriately and according to > expectation on all platforms. Well, unfortunately, you will be disappointed in the first instance, but only because there is a logical and obvious path to achieving what you are talking about, and what everybody would really like. Whilst it is easy to talk about 'an iOS field object' and a 'Windows field object'; the fact is that there is no universal idea of 'field' which is implemented across all the platforms we support. All platforms have things which accept text input, for sure, but they all work in slightly different ways with (in many cases *largely*) varying feature set. So, if the goal is to have a "field control which uses the native 'field' control on all the platforms we support" then you start with the first logical step: you wrap each OSes 'field control' as faithfully as you can giving rise to an 'native ios field', a 'native android field', a 'native windows field' etc. This first step means that if you are writing an app *for only one platform* (which is not that rare, I know a number of significant commercial users of LiveCode who use it to write apps for only one platform as that is where the app has purpose) you can do so using specific native controls which give you full access to the features that specific platform presents. The next step is that you right a 'native field control' which exposes the features which *can* be implemented across all the platforms. This would essentially be a wrapper around the actual platform-specific widget - it would contain one as a child widget and its main concern (code-wise) would be mapping a 'universal' set of properties, commands and messages to the specific idiosyncrasies of the specific platform implementations. The icing 'on the cake', of course, would be that 'field' would be a 'native' field on all platforms. However, I'm not sure that is in any way practical. The LiveCode field's functionality is not a subset of any of the native field controls on any of the platforms - it has various specific features and ways of working which are heavily relied upon in people's scripts - therefore it is very unlikely you could just switch your fields to native fields without changing code. Which, in the first instance at least, suggests that having a separate control for 'nativeness' makes a good deal of sense - you only have to use it in projects it is explicitly designed for. (Although the news isn't all bad here - by introducing more specific, 'simpler' controls for specific purposes it should eventually make the 'automatic switching to use native controls' possible. For example, fields are used as labels, lists, rich text editing fields, single line entry fields, password fields, multi line entry fields and they are used in this way by adding script and setting various different properties in various different ways. By giving developers the option of using *specific* kinds of field control which are limited to doing precisely what they are meant to, and no more, it means they can be mapped to the platform specific controls which exist without loss of functionality, or lots of 'if the platform is' type constructs to deal with variant feature-set on each platform). I think it is important for me to point out that the use of 'native controls' is subject to hefty restrictions at the moment (they all 'float above' the card) - simply because the architecture of the engine was never designed to really work with them. Now, we do have a plan and an good understanding of how to change this (it will require restructuring the way the engine renders / manages its control tree), but even when we do there are a fair few features that will be lost - for example, on all but Mac you cannot composite together (via 'inks') native controls with anything other than 'blendSrcOver' mode. Similarly bitmap effects cannot be supported beyond simple drop-shadows, and even then on only some platforms. However, at the end of the day, this is something you just have to accept - if you want a truly native UI, then you can only do that within the remit of the platform the native UI is running on; otherwise it isn't really a native UI anymore, is it? Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From mwieder at ahsoftware.net Sat Jul 2 11:09:05 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 2 Jul 2016 08:09:05 -0700 Subject: How to find the name of the recent card? In-Reply-To: References: <01994F3C-9C48-4D46-B248-C1ADDA293AFE@appisle.net> <37c84c0fe1361d467da817dd8bd3f981@livecode.com> Message-ID: <5777D911.2040507@ahsoftware.net> On 07/02/2016 07:20 AM, David Bovill wrote: > It is inconsistent. Unsurprisingly, I find myself agreeing with Mark Waddingham here (we Mark Ws have to stick together). In preOpenCard you're still in transit, so you haven't yet arrived at the destination card. In that case the card you came from is still the current card. After the preOpenCard handler has finished, the card you came from is added to the recent cards list and the destination card becomes current. Does querying "the target" in the preOpenCard handler give you what you want in addition to "the current card"? -- Mark Wieder ahsoftware at gmail.com From paul at researchware.com Sat Jul 2 11:37:02 2016 From: paul at researchware.com (Paul Dupuis) Date: Sat, 02 Jul 2016 11:37:02 -0400 Subject: How to find the name of the recent card? In-Reply-To: <5777D911.2040507@ahsoftware.net> References: <01994F3C-9C48-4D46-B248-C1ADDA293AFE@appisle.net> <37c84c0fe1361d467da817dd8bd3f981@livecode.com> <5777D911.2040507@ahsoftware.net> Message-ID: <5777DF9E.9060700@researchware.com> On 7/2/2016 11:09 AM, Mark Wieder wrote: > On 07/02/2016 07:20 AM, David Bovill wrote: >> It is inconsistent. > > Unsurprisingly, I find myself agreeing with Mark Waddingham here (we > Mark Ws have to stick together). In preOpenCard you're still in > transit, so you haven't yet arrived at the destination card. In that > case the card you came from is still the current card. After the > preOpenCard handler has finished, the card you came from is added to > the recent cards list and the destination card becomes current. > > Does querying "the target" in the preOpenCard handler give you what > you want in addition to "the current card"? > Am I missing something. In a preOpenCard handler, "this card" should give you the card being opened. "recent card" gives you where you came from. A quick test in LC8 shows this works reliably. Put the following script in the stack script of a stack with a bunch of cards and navigate between the cards: on preOpenCard put "Recent:"&& the short name of recent card & cr into msg put "This:"&& the short name of this card & cr after msg end preOpenCard From david at viral.academy Sat Jul 2 11:41:09 2016 From: david at viral.academy (David Bovill) Date: Sat, 2 Jul 2016 16:41:09 +0100 Subject: How to find the name of the recent card? In-Reply-To: <5777D911.2040507@ahsoftware.net> References: <01994F3C-9C48-4D46-B248-C1ADDA293AFE@appisle.net> <37c84c0fe1361d467da817dd8bd3f981@livecode.com> <5777D911.2040507@ahsoftware.net> Message-ID: Yes true - I had second thoughts after posting. I think I also agree with Monte though :) Within the preOpenStack handler we haven't yet arrived - so the recent card should be as it is the recent card before actual going anywhere. But then the currentcard should not be already updated to return the value of the card you have not actually arrived at - the current card should return the value of the card you left. unfortunately the target returns the same as the current card - so we still have this informational hole in the middle where we cannot tell the value of the card we left before arriving so to speak - we get the one before and the one we will arrive to - but not the one we left. On 2 July 2016 at 16:09, Mark Wieder wrote: > On 07/02/2016 07:20 AM, David Bovill wrote: > >> It is inconsistent. >> > > Unsurprisingly, I find myself agreeing with Mark Waddingham here (we Mark > Ws have to stick together). In preOpenCard you're still in transit, so you > haven't yet arrived at the destination card. In that case the card you came > from is still the current card. After the preOpenCard handler has finished, > the card you came from is added to the recent cards list and the > destination card becomes current. > > Does querying "the target" in the preOpenCard handler give you what you > want in addition to "the current card"? > > -- > Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Sat Jul 2 11:52:35 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 2 Jul 2016 08:52:35 -0700 Subject: Applying scripts that don't compile In-Reply-To: <0D210C48-9BF0-4320-9EDF-91B4F1BA652D@appisle.net> References: <0D210C48-9BF0-4320-9EDF-91B4F1BA652D@appisle.net> Message-ID: <5777E343.3040103@fourthworld.com> Monte Goulding wrote: > I?ve just submitted a patch for review that will mean that if the > global gREVDevelopment is true then a script that doesn?t compile > won?t actually be set on the object. That's not normal behavior? Under what circumstances would someone prefer to set a script that can't be executed? However you handle this is fine by me; I'd say do whatever's easiest for you. If someone out there wants to set scripts that won't run it's not my place to tell them not to, but if it helps your development work to let that oddity go it won't affect anything I do since I prefer writing scripts that are at least possible to run. :) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Sat Jul 2 12:00:13 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 2 Jul 2016 09:00:13 -0700 Subject: How to find the name of the recent card? In-Reply-To: References: <01994F3C-9C48-4D46-B248-C1ADDA293AFE@appisle.net> <37c84c0fe1361d467da817dd8bd3f981@livecode.com> <5777D911.2040507@ahsoftware.net> Message-ID: <5777E50D.2020907@ahsoftware.net> On 07/02/2016 08:41 AM, David Bovill wrote: > Within the preOpenStack handler we haven't yet arrived - so the recent card > should be as it is the recent card before actual going anywhere. But then > the currentcard should not be already updated to return the value of the > card you have not actually arrived at - the current card should return the > value of the card you left. Current card *has to* be updated. Otherwise when you are performing actions in the preOpenCard handler you would be changing the card you just came from. > unfortunately the target returns the same as the current card - so we still > have this informational hole in the middle where we cannot tell the value > of the card we left before arriving so to speak - we get the one before and > the one we will arrive to - but not the one we left. Hmmm. I suppose a workaround would be to store the id of the current card before going to the new card, and then on preOpenCard using the stored id value to reference the starting card. -- Mark Wieder ahsoftware at gmail.com From bonnmike at gmail.com Sat Jul 2 12:33:06 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 2 Jul 2016 10:33:06 -0600 Subject: How to find the name of the recent card? In-Reply-To: <5777E50D.2020907@ahsoftware.net> References: <01994F3C-9C48-4D46-B248-C1ADDA293AFE@appisle.net> <37c84c0fe1361d467da817dd8bd3f981@livecode.com> <5777D911.2040507@ahsoftware.net> <5777E50D.2020907@ahsoftware.net> Message-ID: Closecard works pretty well for the "store the card just exited" workaround. ## stack script local sLastCard on closecard put the id of the target into sLastCard end closecard function getLastCd return sLastCard end getLastCd on preopencard put getLastCd() -- grabs the value stored by closecard put cr & the id of the current card after msg end preopencard On Sat, Jul 2, 2016 at 10:00 AM, Mark Wieder wrote: > On 07/02/2016 08:41 AM, David Bovill wrote: > > Within the preOpenStack handler we haven't yet arrived - so the recent card >> should be as it is the recent card before actual going anywhere. But then >> the currentcard should not be already updated to return the value of the >> card you have not actually arrived at - the current card should return the >> value of the card you left. >> > > Current card *has to* be updated. Otherwise when you are performing > actions in the preOpenCard handler you would be changing the card you just > came from. > > unfortunately the target returns the same as the current card - so we still >> have this informational hole in the middle where we cannot tell the value >> of the card we left before arriving so to speak - we get the one before >> and >> the one we will arrive to - but not the one we left. >> > > Hmmm. > I suppose a workaround would be to store the id of the current card before > going to the new card, and then on preOpenCard using the stored id value to > reference the starting card. > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From david at viral.academy Sat Jul 2 12:40:39 2016 From: david at viral.academy (David Bovill) Date: Sat, 2 Jul 2016 17:40:39 +0100 Subject: How to find the name of the recent card? In-Reply-To: References: <01994F3C-9C48-4D46-B248-C1ADDA293AFE@appisle.net> <37c84c0fe1361d467da817dd8bd3f981@livecode.com> <5777D911.2040507@ahsoftware.net> <5777E50D.2020907@ahsoftware.net> Message-ID: Yes this is the best solution I think. I still miss not having the information at engine level to cover cases in which you may arrive form a number of stacks - and you don't not want to use a library, nor have to worry about inadvertent blocking of closecard messages. On 2 July 2016 at 17:33, Mike Bonner wrote: > Closecard works pretty well for the "store the card just exited" > workaround. > > ## stack script > local sLastCard > on closecard > put the id of the target into sLastCard > end closecard > > function getLastCd > return sLastCard > end getLastCd > > on preopencard > put getLastCd() -- grabs the value stored by closecard > put cr & the id of the current card after msg > end preopencard > > > > > On Sat, Jul 2, 2016 at 10:00 AM, Mark Wieder > wrote: > > > On 07/02/2016 08:41 AM, David Bovill wrote: > > > > Within the preOpenStack handler we haven't yet arrived - so the recent > card > >> should be as it is the recent card before actual going anywhere. But > then > >> the currentcard should not be already updated to return the value of the > >> card you have not actually arrived at - the current card should return > the > >> value of the card you left. > >> > > > > Current card *has to* be updated. Otherwise when you are performing > > actions in the preOpenCard handler you would be changing the card you > just > > came from. > > > > unfortunately the target returns the same as the current card - so we > still > >> have this informational hole in the middle where we cannot tell the > value > >> of the card we left before arriving so to speak - we get the one before > >> and > >> the one we will arrive to - but not the one we left. > >> > > > > Hmmm. > > I suppose a workaround would be to store the id of the current card > before > > going to the new card, and then on preOpenCard using the stored id value > to > > reference the starting card. > > > > -- > > Mark Wieder > > ahsoftware at gmail.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Sat Jul 2 12:56:53 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 02 Jul 2016 11:56:53 -0500 Subject: Applying scripts that don't compile In-Reply-To: <5777E343.3040103@fourthworld.com> References: <0D210C48-9BF0-4320-9EDF-91B4F1BA652D@appisle.net> <5777E343.3040103@fourthworld.com> Message-ID: <155ac8a9c08.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On July 2, 2016 10:54:44 AM Richard Gaskin wrote: > Under what circumstances would someone > prefer to set a script that can't be executed? > > However you handle this is fine by me; I'd say do whatever's easiest for > you. I don't much care either since any change won't affect how I work, though I do tend slightly towards Monte's suggestion. But I can think of a reason why some might prefer to set a script that won't compile. If you've been writing a very long script and haven't saved it yet, you may want to preserve what you have and debug it later. Perhaps it's quitting time, or your wife's gone into labor, or Armageddon is nigh and you're hoping to survive it. Of course you could get around the problem by commenting out the entire script and setting that instead. So yeah, I don't see any down side to making the change. And it could well save more trouble than not. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brahma at hindu.org Sat Jul 2 13:42:57 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 2 Jul 2016 17:42:57 +0000 Subject: Front and Back Scripts on Mobile In-Reply-To: References: Message-ID: <166E7858-E991-4E23-9AFA-1A64DE31660B@hindu.org> Ralph wrote: I had this problem way back. Mark noted that that the scroller messages are sent to the stack that created the scroller. Does it makes sense to file this as an enhancement request? All modern CMV systems provide for a controller to push a single model across many views. And with most JS frameworks and even in old html "includes" the assumption is I can have a single script/code chunk and call this from anywhere and it works. This has also been the assumed behavior of front and back scripts for xTalk "forever" So, having X number of mobile functions that cannot be placed in a front/back script and then triggered from any open stack (not just substacks of a main stack) on mobile seems somehow broken to me. Am I missing something? BR From brahma at hindu.org Sat Jul 2 13:54:51 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 2 Jul 2016 17:54:51 +0000 Subject: SVG Icon Inclusion Causes iOS app to crash In-Reply-To: <21FECA03-BE46-451E-B58A-8C0D7292CBA5@hindu.org> References: <21FECA03-BE46-451E-B58A-8C0D7292CBA5@hindu.org> Message-ID: Bug report filed: http://quality.livecode.com/show_bug.cgi?id=17945 Subject: SVG Icon Inclusion Causes iOS app to crash 8.1.0 DP2 I had a lot of SVG icons on several stacks that are built into an iOS app. I had forgotten to set that as an inclusion and when I built for iOS, they were blank. I went back to the standalone settings for the loader stack, check "SVG Icon" in the inclusions; rebuilt the standalone and on iPhone 6 plus, it cause the app to immediately crash on opening. I removed the inclusion, built again, and it worked. Can anyone else confirm? BR From hh at hh.on-rev.com Sat Jul 2 13:22:51 2016 From: hh at hh.on-rev.com (-hh) Date: Sat, 2 Jul 2016 10:22:51 -0700 (PDT) Subject: Applying scripts that don't compile In-Reply-To: <155ac8a9c08.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <0D210C48-9BF0-4320-9EDF-91B4F1BA652D@appisle.net> <5777E343.3040103@fourthworld.com> <155ac8a9c08.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <1467480171390-4706321.post@n4.nabble.com> > Under what circumstances would someone > prefer to set a script that can't be executed? The 'not-compiling' could be a severe bug. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Applying-scripts-that-don-t-compile-tp4706289p4706321.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Sat Jul 2 14:05:24 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 2 Jul 2016 21:05:24 +0300 Subject: a note from a friend In-Reply-To: <0000fd3ff410$14f3aaf3$44df5341$@ezpzapps.com> References: <0000fd3ff410$14f3aaf3$44df5341$@ezpzapps.com> Message-ID: <57780264.90401@gmail.com> Compromised or what! Please sort this out, licketty-split. Richmond. On 2.07.2016 15:46, sims at ezpzapps.com wrote: > Hello, > > I wanted to tell you something but please make sure that no one finds aout about this. Please read the note here > > Thx, sims at ezpzapps.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Sat Jul 2 14:46:58 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 2 Jul 2016 11:46:58 -0700 Subject: How to find the name of the recent card? In-Reply-To: References: <01994F3C-9C48-4D46-B248-C1ADDA293AFE@appisle.net> <37c84c0fe1361d467da817dd8bd3f981@livecode.com> <5777D911.2040507@ahsoftware.net> <5777E50D.2020907@ahsoftware.net> Message-ID: <57780C22.1090308@ahsoftware.net> On 07/02/2016 09:40 AM, David Bovill wrote: > Yes this is the best solution I think. > > I still miss not having the information at engine level to cover cases in > which you may arrive form a number of stacks - and you don't not want to > use a library, nor have to worry about inadvertent blocking of closecard > messages. Yes, but I think as long as there's a workaround at scripting level it's unlikely to change. I can also think of complications if the recent list were to change, an error aborted the move to another card, and then the recent card would equal the current card after not moving. It has the possibility of breaking current behavior in the off chance that someone is relying on it now. -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Sat Jul 2 14:47:03 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 2 Jul 2016 11:47:03 -0700 Subject: Front and Back Scripts on Mobile In-Reply-To: <166E7858-E991-4E23-9AFA-1A64DE31660B@hindu.org> References: <166E7858-E991-4E23-9AFA-1A64DE31660B@hindu.org> Message-ID: <57780C27.2070407@fourthworld.com> Sannyasin Brahmanathaswami wrote: > Ralph wrote: >> I had this problem way back. Mark noted that that the scroller >> messages are sent to the stack that created the scroller. > > Does it makes sense to file this as an enhancement request? I believe a more accurate description is that the scrollerDidScroll message is sent to the *script* that created the scroller, which many not necessarily be a stack. In my case it's a backscript, and it works well. It seemed painfully tedious to even think about typing scroller instantiation code for every controls that needs it, so I don't. Instead, a backscript scans controls during preOpenCard and anything that needs a scroller gets one instantiated for it (along the way it also turns off scrollbars, since of course those are only useful on desktop). Because the backscript created the mobile scroller, it's also the recipient of the scrollerDidScroll message, where that handler obtains the mobileControlTarget to know which physical object to scroll, which it then does. All that takes place in a backscript, so the thing being scrolled needs no code at all. In this respect it seems a very xTalk way of working: When my LC objects have scrollbars, the user can scroll them. This happens automatically on desktop (via the engine) and mobile (via my backscript) alike. I never need to think about it. Whether it's running on desktop in the IDE or on my mobile device I get identical behavior. Just as LiveCode minimizes differences between desktop platforms, for many basic things a little time spent generalizing mobileControlWhatever handlers into a backscript can also minimize differences between desktop and mobile. Moving as much mobile-specific code as practical into a factored backscript like this has helped me regain the value of choosing an xTalk, by minimizing the differences between development and runtime. LiveCode is, after all, truly live code. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Sat Jul 2 14:49:12 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 2 Jul 2016 11:49:12 -0700 Subject: Applying scripts that don't compile In-Reply-To: <155ac8a9c08.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <0D210C48-9BF0-4320-9EDF-91B4F1BA652D@appisle.net> <5777E343.3040103@fourthworld.com> <155ac8a9c08.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <57780CA8.8060307@ahsoftware.net> On 07/02/2016 09:56 AM, J. Landman Gay wrote: > I don't much care either since any change won't affect how I work, > though I do tend slightly towards Monte's suggestion. But I can think of > a reason why some might prefer to set a script that won't compile. If > you've been writing a very long script and haven't saved it yet, you may > want to preserve what you have and debug it later. Perhaps it's quitting > time, or your wife's gone into labor, or Armageddon is nigh and you're > hoping to survive it. There's a difference between saving a stack with work in progress and setting a script. Setting a script that won't compile has numerous complications - the handlers will disappear from the message list, etc. -- Mark Wieder ahsoftware at gmail.com From mark at livecode.com Sat Jul 2 14:54:05 2016 From: mark at livecode.com (Mark Waddingham) Date: Sat, 02 Jul 2016 20:54:05 +0200 Subject: Applying scripts that don't compile In-Reply-To: <5777E343.3040103@fourthworld.com> References: <0D210C48-9BF0-4320-9EDF-91B4F1BA652D@appisle.net> <5777E343.3040103@fourthworld.com> Message-ID: <7ddf14d59bfdc9d98bdbf6a8a0e1c649@livecode.com> On 2016-07-02 17:52, Richard Gaskin wrote: > If someone out there wants to set scripts that won't run it's not my > place to tell them not to, but if it helps your development work to > let that oddity go it won't affect anything I do since I prefer > writing scripts that are at least possible to run. :) As far as I'm aware - the functionality of the LiveCode Script Editor has always been to set the script of the object *regardless* of whether it compiled or not. The reason here is that if you do not do that, then you could lose work that you have done as the version which doesn't compile is held in a state of 'limbo' (i.e. in the script editor window and nowhere else). Given that LiveCode is a dynamic environment, where you can easily do things 'behind the IDE's back' (perfectly legitimately) this errs on the side of caution - it means regardless of what might happen in the environment, if you have clicked 'Apply' in the script editor, then you will not lose the changes you have made. The reason I think this is 'okay' from the point of view of editing projects within the IDE is that a script edit operation should really be considered to be this: 1) Pause the running project (i.e. switch to Edit Mode) 2) Apply the edited script 3) Resume the running project (i.e. switch back to Run Mode) If (2) fails due to compilation errors then you can't really 'resume' the running project as it is not in a state it can be run (it is incomplete!). Obviously, the IDE doesn't enforce this at the moment but one can imagine that it could be enforced without too much 'interruption' to the current workflow. (Indeed, 'widgets' do actually have this distinction - they only 'run' in Browser mode, when in 'pointer' mode notionally they are considered to be being edited and thus processes that occur whilst 'running' do not occur). When considering the IDE case, however, the IDE is something which cannot be paused to edit itself, because it is editing itself - if it were paused you wouldn't be able to edit anything (it's turtles all the way down!). Hence, Monte's modification in the case of the IDE *right now* is probably reasonable, as long as it is specific to IDE stacks *and* the S/E shows a visual reminder that the script being edited is not applied to the script property). A more helpful approach in the future, however, might be that non-compiling scripts are stored in the object in a custom property and the script property of the object itself is not touched in this case. When you edit such an object: 1) the script editor would show the non-compiling script (and indicate that it is different from the actual set script) 2) you cannot set breakpoints, or 'run' handlers in that script - you need to switch to the actual set script view 3) if the debugger triggers on the object, it displays the actual set script view which would be visually distinct from the non-compiling script view. (The Visual Studio IDE has long had an 'Edit-and-Continue' option for C++ which works quite well as long as you don't violate various unwritten rules about modifications to the C++ code; if your edit and continue fails and the debugger triggers in this case you are clearly shown that it is not the actual code which you were editing and thus it is stale). Anyway, food for thought here I think! Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From ambassador at fourthworld.com Sat Jul 2 15:04:05 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 2 Jul 2016 12:04:05 -0700 Subject: Applying scripts that don't compile In-Reply-To: <7ddf14d59bfdc9d98bdbf6a8a0e1c649@livecode.com> References: <7ddf14d59bfdc9d98bdbf6a8a0e1c649@livecode.com> Message-ID: <57781025.4000405@fourthworld.com> Mark Waddingham wrote: > Indeed, 'widgets' do actually have this distinction - they only > 'run' in Browser mode, when in 'pointer' mode notionally they > are considered to be being edited and thus processes that occur > whilst 'running' do not occur). We can't use widgets as part of our custom drawing apps that use the pointer tool? I don't mind continuing to use custom controls for that if necessary, but I can imagine some instances where it might be nice to be able to use widgets instead. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mark at livecode.com Sat Jul 2 15:20:43 2016 From: mark at livecode.com (Mark Waddingham) Date: Sat, 02 Jul 2016 21:20:43 +0200 Subject: Applying scripts that don't compile In-Reply-To: <57781025.4000405@fourthworld.com> References: <7ddf14d59bfdc9d98bdbf6a8a0e1c649@livecode.com> <57781025.4000405@fourthworld.com> Message-ID: On 2016-07-02 21:04, Richard Gaskin wrote: > We can't use widgets as part of our custom drawing apps that use the > pointer tool? Heh - I perhaps should have been much more specific there. The tool used to interact with an object (its effective tool) is a function of the cantSelect property of it and its ancestors (the mode of the stack also affects this), and the currently selected tool. So, the 'mode' in which an object runs is specific to the object. If an object's effective tool is pointer, then it goes into 'edit mode' - you can see this in cards, in particular. Here, clicking on controls, or click-dragging on the canvas causes object selection to occur. Indeed, the behavior of most engine controls is slightly different if its effective tool is pointer (i.e. edit mode). Widgets follow this pattern (as widgets are, basically, engine controls). When a widget changes effective tool, it gets notified of this so it can change its behavior appropriately. A good example here is the browser widget. As native layers 'float above' all other objects and as such interfere with mouse events you want to handle somewhere else when editing, when it enters edit mode the native layer is hidden and you got a placeholder rendering. There's a fair bit more work to do here in the future to make it much easier to write widgets which can be edited with pointer - many of the widgets we have already would benefit from this... For example, when in edit mode, you should really be able to interact with the individual buttons on a header bar, for example, to change their properties. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From jacque at hyperactivesw.com Sat Jul 2 15:48:55 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 2 Jul 2016 14:48:55 -0500 Subject: Applying scripts that don't compile In-Reply-To: <57780CA8.8060307@ahsoftware.net> References: <0D210C48-9BF0-4320-9EDF-91B4F1BA652D@appisle.net> <5777E343.3040103@fourthworld.com> <155ac8a9c08.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <57780CA8.8060307@ahsoftware.net> Message-ID: <9b54dd3e-2fa7-8940-1a6e-f3ba25d06c22@hyperactivesw.com> On 7/2/2016 1:49 PM, Mark Wieder wrote: > On 07/02/2016 09:56 AM, J. Landman Gay wrote: > >> I don't much care either since any change won't affect how I work, >> though I do tend slightly towards Monte's suggestion. But I can think of >> a reason why some might prefer to set a script that won't compile. If >> you've been writing a very long script and haven't saved it yet, you may >> want to preserve what you have and debug it later. Perhaps it's quitting >> time, or your wife's gone into labor, or Armageddon is nigh and you're >> hoping to survive it. > > There's a difference between saving a stack with work in progress and > setting a script. Setting a script that won't compile has numerous > complications - the handlers will disappear from the message list, etc. > It is possible to save the stack with the script editor frontmost, and the uncompiled script will be set and saved as-is. I've done that by accident and, as you say, all the handlers disappeared from the handler list, meaning it was set during the save. I've only done that once, but it did cause some issues which is why I'm learning toward Monte's suggestion. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mark at livecode.com Sat Jul 2 16:07:12 2016 From: mark at livecode.com (Mark Waddingham) Date: Sat, 02 Jul 2016 22:07:12 +0200 Subject: Applying scripts that don't compile In-Reply-To: <9b54dd3e-2fa7-8940-1a6e-f3ba25d06c22@hyperactivesw.com> References: <0D210C48-9BF0-4320-9EDF-91B4F1BA652D@appisle.net> <5777E343.3040103@fourthworld.com> <155ac8a9c08.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <57780CA8.8060307@ahsoftware.net> <9b54dd3e-2fa7-8940-1a6e-f3ba25d06c22@hyperactivesw.com> Message-ID: On 2016-07-02 21:48, J. Landman Gay wrote: > It is possible to save the stack with the script editor frontmost, and > the uncompiled script will be set and saved as-is. I've done that by > accident and, as you say, all the handlers disappeared from the > handler list, meaning it was set during the save. I've only done that > once, but it did cause some issues which is why I'm learning toward > Monte's suggestion. I think the behavior of the IDE here needs some work - as Quitting with unapplied changes in the script editor *also* isn't 'safe' (in the same vein as your example) either. One way to perhaps improve this would be to have it work as follows: If a stack is to be saved, and it has unapplied changes to a script sitting in a script editor, the relevant script editor should pop up a dialog to ask the user what they want to do with the unsaved changes. That way, if you quit with a stack with unapplied changes you'd see this: 1) Dialog on script editor - "Do you want to apply the changes before saving?" - Apply, Don't Apply, Cancel Save. 2) Dialog on stack which has modifications - "Do you want to save the stack before quitting?", Save, Don't Save, Cancel Quit. This would mean that the user would get informed about each 'pending' change and be given an explicit chance to choose what to happen. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From mwieder at ahsoftware.net Sat Jul 2 20:12:05 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 2 Jul 2016 17:12:05 -0700 Subject: Applying scripts that don't compile In-Reply-To: References: <0D210C48-9BF0-4320-9EDF-91B4F1BA652D@appisle.net> <5777E343.3040103@fourthworld.com> <155ac8a9c08.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <57780CA8.8060307@ahsoftware.net> <9b54dd3e-2fa7-8940-1a6e-f3ba25d06c22@hyperactivesw.com> Message-ID: <57785855.3070207@ahsoftware.net> On 07/02/2016 01:07 PM, Mark Waddingham wrote: > On 2016-07-02 21:48, J. Landman Gay wrote: >> It is possible to save the stack with the script editor frontmost, and >> the uncompiled script will be set and saved as-is. I've done that by >> accident and, as you say, all the handlers disappeared from the >> handler list, meaning it was set during the save. I've only done that >> once, but it did cause some issues which is why I'm learning toward >> Monte's suggestion. > > I think the behavior of the IDE here needs some work - as Quitting with > unapplied changes in the script editor *also* isn't 'safe' (in the same > vein as your example) either. Hmmm. I guess I've gotten so used to the way glx2 works, where saving a stack and applying/compiling a script are separate actions, that I didn't realize the IDE's script editor conflated the two. That seems wrong. -- Mark Wieder ahsoftware at gmail.com From monte at appisle.net Sat Jul 2 20:38:13 2016 From: monte at appisle.net (Monte Goulding) Date: Sun, 3 Jul 2016 10:38:13 +1000 Subject: Applying scripts that don't compile In-Reply-To: <57785855.3070207@ahsoftware.net> References: <0D210C48-9BF0-4320-9EDF-91B4F1BA652D@appisle.net> <5777E343.3040103@fourthworld.com> <155ac8a9c08.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <57780CA8.8060307@ahsoftware.net> <9b54dd3e-2fa7-8940-1a6e-f3ba25d06c22@hyperactivesw.com> <57785855.3070207@ahsoftware.net> Message-ID: > On 3 Jul 2016, at 10:12 AM, Mark Wieder wrote: > > Hmmm. > I guess I've gotten so used to the way glx2 works, where saving a stack and applying/compiling a script are separate actions, that I didn't realize the IDE's script editor conflated the two. That seems wrong. Saving and setting the script *are* definitely separate actions in the IDE. I've tweaked my patch a little so that: ? the new behavior is only for IDE scripts ? the same dialog that appears when closing an unapplied tab or the editor with unapplied scripts is presented ? in the event that the user wants to save a work in progress on IDE scripts (there are many that won't break the IDE) then they can force apply from that dialog due to pIgnoreErrors being true ? because the status of the script is error rather than applied the icon on the tab is (and was in the previous commit) red and errors are displayed so it is clear that the script is not applied (green) or modified unapplied (yellow). I actually think this new IDE behavior would work well in all cases. The only significant hurdle would be crashes while sorting out compile errors but we would like to avoid them regardless? The script editor save handling probably needs some sorting out as at the moment it will appear to save but the erroring script won?t be applied. I?m looking into that now. I think in the event the script application couldn?t happen it should beep at you or something rather than save. Cheers Monte From monte at appisle.net Sat Jul 2 21:42:57 2016 From: monte at appisle.net (Monte Goulding) Date: Sun, 3 Jul 2016 11:42:57 +1000 Subject: Applying scripts that don't compile In-Reply-To: References: <0D210C48-9BF0-4320-9EDF-91B4F1BA652D@appisle.net> <5777E343.3040103@fourthworld.com> <155ac8a9c08.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <57780CA8.8060307@ahsoftware.net> <9b54dd3e-2fa7-8940-1a6e-f3ba25d06c22@hyperactivesw.com> <57785855.3070207@ahsoftware.net> Message-ID: <6B0E3350-BAFA-402C-A41A-C373B8A3DC7B@appisle.net> > The script editor save handling probably needs some sorting out as at the moment it will appear to save but the erroring script won?t be applied. I?m looking into that now. I think in the event the script application couldn?t happen it should beep at you or something rather than save. Having now done this I?m starting to wonder about just taking the is an IDE script checks out because you now get appropriate warnings and can apply uncompilable scripts if you want to during save from the script editor and when closing the editor / script tab. I suspect we don?t actually need a preference because this behavior is simply much more logical. The only worry I have is a crash causing loss of work however that is probably a general IDE concern rather than purely a script editor concern and some general crash recovery mechanism should be put in place if it is a big worry. Cheers Monte From brahma at hindu.org Sun Jul 3 00:36:13 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 3 Jul 2016 04:36:13 +0000 Subject: Front and Back Scripts on Mobile In-Reply-To: <57780C27.2070407@fourthworld.com> References: <166E7858-E991-4E23-9AFA-1A64DE31660B@hindu.org> <57780C27.2070407@fourthworld.com> Message-ID: @Richard: Thanks? confirmed? today it is working, yesterday it was not? go figure. create scroller and scrollerdidscroll now in our backscript. awesome! "Instead, a backscript scans controls during preOpenCard and anything that needs a scroller gets one instantiated for it (along the way it also turns off scrollbars, since of course those are only useful on desktop)." how does your scan "know" that a scroller is needed or not? And since I would prefer not to have scrollbars even on desktop? I am putting this in to the [field | group] (see below) I need to find a way to move this also to the back script so that it can work everywhere.. I guess "target" is my friend here. or perhaps this is a case for a behavior, but I'm unable to work out yet how to make this generic because "the target" returns the object under the mouse and not the name of the group that the object is part of. local sMouseLoc, sStartLoc, on mouseDown put the mouseloc into sMouseLoc put sMouseLoc into sStartLoc if not isMobile() then setScroll end if end mouseDown on setScroll if the mouse is down then lock screen if item 2 of sMouseLoc > the mouseV then set the vscroll of me to the vscroll of me - (the mouseV - item 2 of sMouseLoc) else set the vscroll of me to the vscroll of me + (item 2 of sMouseLoc - the mouseV) end if put the mouseloc into sMouseLoc send "setScroll" to me in 20 millisec unlock screen else put empty into sMouseLoc end if end setScroll Now? if we can get *this* working from the backscript also for any field/group that needs to scroll, that will be even more awesome. From: use-livecode on behalf of Richard Gaskin Reply-To: How LiveCode Date: Saturday, July 2, 2016 at 8:47 AM To: How LiveCode Subject: Re: Front and Back Scripts on Mobile I believe a more accurate description is that the scrollerDidScroll message is sent to the *script* that created the scroller, which many not necessarily be a stack. In my case it's a backscript, and it works well. It seemed painfully tedious to even think about typing scroller instantiation code for every controls that needs it, so I don't. Instead, a backscript scans controls during preOpenCard and anything that needs a scroller gets one instantiated for it (along the way it also turns off scrollbars, since of course those are only useful on desktop). From monte at appisle.net Sun Jul 3 04:11:12 2016 From: monte at appisle.net (Monte Goulding) Date: Sun, 3 Jul 2016 18:11:12 +1000 Subject: Applying scripts that don't compile In-Reply-To: <9b54dd3e-2fa7-8940-1a6e-f3ba25d06c22@hyperactivesw.com> References: <0D210C48-9BF0-4320-9EDF-91B4F1BA652D@appisle.net> <5777E343.3040103@fourthworld.com> <155ac8a9c08.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <57780CA8.8060307@ahsoftware.net> <9b54dd3e-2fa7-8940-1a6e-f3ba25d06c22@hyperactivesw.com> Message-ID: <67E0C00C-8F37-4A0F-B1AE-5F7E413F715E@appisle.net> > On 3 Jul 2016, at 5:48 AM, J. Landman Gay wrote: > > It is possible to save the stack with the script editor frontmost, and the uncompiled script will be set and saved as-is. I've done that by accident and, as you say, all the handlers disappeared from the handler list, meaning it was set during the save. I've only done that once, but it did cause some issues which is why I'm learning toward Monte's suggestion. I think the changes I made this morning would quite neatly cover this issue if enabled for all scripts (not just IDE). What it does is when you save from the script editor menu it will find all the open scripts that have the same mainstack and attempt to apply them before the save. If one fails it will ask you if you want to ignore errors or cancel the save. If you cancel it will present the uncompiled script and error. If you ignore it will silently ignore the rest of the compilation failures. Cheers Monte From david at viral.academy Sun Jul 3 05:20:28 2016 From: david at viral.academy (David Bovill) Date: Sun, 3 Jul 2016 10:20:28 +0100 Subject: Learning LCB: what's the reading list? Message-ID: What would you add to a reading list - preferably available online to give people the required background knowledge for being able to build things with LCB? I'm especially interested in learning how to wrap the functionality of existing libraries - so what should we read / learn before we get to see the fruits of the Infinite Livecode campaign? From admin at FlexibleLearning.com Sun Jul 3 06:40:26 2016 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Sun, 3 Jul 2016 11:40:26 +0100 Subject: Learning LCB: what's the reading list? Message-ID: <002701d1d517$508829c0$f1987d40$@FlexibleLearning.com> David Bovill wrote: > What would you add to a reading list - preferably available online to give > people the required background knowledge for being able to build things > with LCB? I'm especially interested in learning how to wrap the > functionality of existing libraries - so what should we read / learn before > we get to see the fruits of the Infinite Livecode campaign? Apart from "look at the scripts of existing widgets", please! +1 Hugh Senior FLCo From dsc at swcp.com Sun Jul 3 11:00:10 2016 From: dsc at swcp.com (Dar Scott) Date: Sun, 3 Jul 2016 09:00:10 -0600 Subject: Learning LCB: what's the reading list? In-Reply-To: References: Message-ID: <93C180A4-690C-4636-A26A-5081909C636E@swcp.com> I got a lot out of Dictionary > Guide in these guides: Extending LiveCode LiveCode Builder Language Reference LiveCode Builder Style Guide From that and examples, I am building modules that would otherwise be combinations of externals and stack libraries. Dar > On Jul 3, 2016, at 3:20 AM, David Bovill wrote: > > What would you add to a reading list - preferably available online to give > people the required background knowledge for being able to build things > with LCB? I'm especially interested in learning how to wrap the > functionality of existing libraries - so what should we read / learn before > we get to see the fruits of the Infinite Livecode campaign? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brahma at hindu.org Sun Jul 3 23:29:46 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 4 Jul 2016 03:29:46 +0000 Subject: Single Common Group Across Multiple Stacks Message-ID: Architecture Challenge (for me a least) Framework set up, where these are independent binary stacks? not substacks of a mainstack. /source-package Loader.livecode # sets up back script with common functions # reads json files for configurations settings # then opens "home.livecode" to start the app. home.livecode module1.livecode module2.livecode module3.livecode GOAL: have a object/group (think navigation bar at the bottom of the screen or some other elements you may want to be common across all the stacks?.) that can be displayed in all the stacks. For button icons? one can reserve a range of 4000-4500 in the loader.livecode stack then add images in the loader stack.. and you can later set the icon of any button in all the other stacks to e.g. 4032 and the icon appears-- assuming you never close the loader stack: tested.. .this works and on mobile also. So?is there a way to similarly instantiate the presence of a one-only group across multiple stacks? I think I'm asking for the moon, but I've asked for the moon before and sometimes a wizard on this list actually sends us the moon. BR From toolbook at kestner.de Mon Jul 4 05:43:15 2016 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 4 Jul 2016 11:43:15 +0200 Subject: Intel QSV H.264 codec for AVFoundation and DirectShow Message-ID: <001301d1d5d8$7d652d50$782f87f0$@kestner.de> Hello, I made some tests with LC 8.1.0 dp1 to find a video codec solution, as a replacement for QuickTime which fits for both platforms windows and OS X. I am looking for the most standardized state of the art codec to get a maximum of compatibility on both platforms, so I think H.264 is the right choice. My special requirement is, that I have to step thru the video frame by frame controlled by LC. My sorenson squeeze compressor offers 4 different H.264 codecs: "Intel QSV H.264", "MainConcept H.264", "Sorenson MPEG-4", "x264" My LC tests showed me, that I need to set a keyframe every single frame to be able to step thru the video framebased (at least with DirectShow). This option do only the intel QSV and the x264 codec offer. The x264 codec is a opensource codec and as far as I understand it is not preinstalled on any system and at least on my Mac a x264 video can't be played (perhaps there is a chance to manually install it, what I would like to avoid for my customers) So up to now it seems to me that only the intel QSV H.264 is left of my choices. It should be supported from Windows Vista on and from OS X 10.8 on. Has anybody experiences in this field of codecs, other experiences or tipps or would negate some of my conclusions? Thanks Tiemo From peter.brett at livecode.com Mon Jul 4 07:05:01 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 4 Jul 2016 12:05:01 +0100 Subject: [ANN] This Week in LiveCode 40 Message-ID: Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #40 here: https://goo.gl/GQlMgz This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! Are you doing something interesting with LiveCode Community Edition? Please get in touch and get it featured in "This Week in LiveCode"! Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode on reddit: https://reddit.com/r/livecode From benr_mc at cogapp.com Mon Jul 4 07:13:46 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 4 Jul 2016 12:13:46 +0100 Subject: Controls on mobile apps - am I missing something? In-Reply-To: References: <57757229.8020106@fourthworld.com> <607079BE-6866-4558-9C67-563FBD5AAA54@icloud.com> <46A716AA-B281-415C-A701-2ED4F656CE2F@icloud.com> Message-ID: <4adc192e-8189-e57b-b4cd-0eda382ebf85@cogapp.com> On 02/07/2016 14:57, Mark Waddingham wrote: > I'm minded of a well-known proverb: > > "Give a man a fish and you feed him for a day; teach a man to fish and you > feed him for a lifetime" Without suggesting that this detracts from your general remarks, I can't resist pointing out that in my view the true philosophy of LiveCode is something closer to "Give a woman a fish, she can go and develop a wheel instead of spending all day fishing" Ben From benr_mc at cogapp.com Mon Jul 4 07:13:56 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 4 Jul 2016 12:13:56 +0100 Subject: Controls on mobile apps - am I missing something? In-Reply-To: <57769A40.6090602@fourthworld.com> References: <46A716AA-B281-415C-A701-2ED4F656CE2F@icloud.com> <57769A40.6090602@fourthworld.com> Message-ID: On 01/07/2016 17:28, Richard Gaskin wrote: > Buttons are already quite good on macOS, as are fields, tabs, progress bars, > and most others. Does that mean that these items are drawn by LiveCode, rather than using native API calls? If so, couldn't the iOS default to this macOS "theme" rather than Motif? That would immediately represent a massive upgrade. Ben From mark at livecode.com Mon Jul 4 07:19:22 2016 From: mark at livecode.com (Mark Waddingham) Date: Mon, 04 Jul 2016 13:19:22 +0200 Subject: Controls on mobile apps - am I missing =?UTF-8?Q?something=3F?= In-Reply-To: References: <46A716AA-B281-415C-A701-2ED4F656CE2F@icloud.com> <57769A40.6090602@fourthworld.com> Message-ID: On 2016-07-04 13:13, Ben Rubinstein wrote: > On 01/07/2016 17:28, Richard Gaskin wrote: >> Buttons are already quite good on macOS, as are fields, tabs, progress >> bars, >> and most others. > > Does that mean that these items are drawn by LiveCode, rather than > using native API calls? If so, couldn't the iOS default to this macOS > "theme" rather than Motif? That would immediately represent a massive > upgrade. No, the Windows, Mac and Linux 'native' themes are rendered using platform-specific API calls - so they aren't available on any platforms apart from the platform they are for. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From benr_mc at cogapp.com Mon Jul 4 07:25:06 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 4 Jul 2016 12:25:06 +0100 Subject: Controls on mobile apps - am I missing something? In-Reply-To: References: <57757229.8020106@fourthworld.com> Message-ID: On 02/07/2016 15:46, Mark Waddingham wrote: >> I'm really hoping (though I'm not clear if this is true or not) that >> the Native Field Object is not implemented as another new widget but >> as a new presentation of the LiveCode field object. A new widget would >> obviously be better than the using the mobileControlxxx functions >> (themselves a welcome addition); but even better if we can drag a >> field onto a stack, and have it work appropriately and according to >> expectation on all platforms. > > Well, unfortunately, you will be disappointed in the first instance, but only > because there is a logical and obvious path to achieving what you are talking > about, and what everybody would really like. A quick question in regard to the NFO. The page describing the stretch goal says that LC will: > Write a widget which works just like every other engine control, but when run on Android and iOS presents a native input control. An obvious question is what will that widget present on Windows and Mac? Will it be some sort of field-like thing? Or a box with a label "on mobile this will be a field"? I can understand why it might be the latter. If it was the former, then this may make me not too disappointed in the first instance, if it means a lowest-common-denominator field that may not have all the richness of the classic LC field, but works reasonably well, within its limitations, on all platforms. Ben From iphonelagi at gmail.com Mon Jul 4 08:30:06 2016 From: iphonelagi at gmail.com (Lagi Pittas) Date: Mon, 4 Jul 2016 13:30:06 +0100 Subject: Stability of LC 8 DP2? Message-ID: I started using Livecode 8 (DP1) for a less critical project last week - so far so good. I decided to upgrade to DP2 today on my windows 7 system running parallels on a MAC. In the space of an hour I have had a blue screen of death in Win 7 (never happened in 2 years on this p[arallels setup). And 3 times the whole stack and livecode 8 just vanished without even a windows message to say it crashed or whatever (the usual when this happens). All I was doing at the time was increasing the font size on a tab Panel. Now I don't know if the universe is trying to tell me something - I've been meaning to ask for over a year now - and it's not fixed on version 8 either. - the tab panel text labels are STILL too big for the tab containers - it still looks like an afterthought as the descenders of the letter "g" "bleed" into the panel and the rest of the letters are sitting underneath by a pixel or 2 unless I make the text size about 17+ which cuts down - there is no way to adjust margins - you could say that's to show that they are not the "focused tab" but in the halcyon days we could change the colour and text styles of each tab and it's text - so we decided what looked good or not. Now if the tab panel is a widget I could go in and make it work the way I want without trying to fight with Visual Studio but I'm assuming it's not. Anyway I just left this for 10 minutes to work on my program added a graphic line to the tab panel - for some reason it get moving to the same place whatever i did - even locking it's position so I did the equivalent of switching it on and off again - press delete with the line selected - VOOM the whole stack and livecode 8 vanished again without a warning of no responding or a windows error message. Looks like I'm back to version 6 again for another 6 months. I really do Hope it's my setup so I will play around on my windows laptop with the same stack and see what happens. Regards Lagi p.s. Went back to do a bit more and got to a stage where I wanted to delete a two grouped lines and again pressed the delete key and voom again I lost the whole lot no windows error or no responibg dialog I'm using a Logitech K480 bluetooth keyboard which might have a few foibles but I can't belive pressing delete on a line would do that without some problem.. Ill plugin a wired keyboard and see what happens. Regards Lagi From ambassador at fourthworld.com Mon Jul 4 10:32:26 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 4 Jul 2016 07:32:26 -0700 Subject: Front and Back Scripts on Mobile In-Reply-To: References: Message-ID: <577A737A.2070008@fourthworld.com> Sannyasin Brahmanathaswami wrote: > @Richard: > > Thanks? confirmed? today it is working, yesterday it was not? go > figure. create scroller and scrollerdidscroll now in our backscript. > awesome! Once I got the hang of it I've been pretty pleased with LC's scroller handling. And fortunately it seems the Dict entry does a fair job of describing where the message goes: The scrollerDidScroll message is sent to the object containing the script that created the scroller control. > "Instead, a backscript scans controls during preOpenCard and anything > that needs a scroller gets one instantiated for it (along the way it > also turns off scrollbars, since of course those are only useful on > desktop)." > > how does your scan "know" that a scroller is needed or not? On the desktop, a scrollable object is distinguished by having scrollbars. On mobile, of course, we don't want the scrollbars shown since that's not how mobile scrolling interaction works there. But development occurs on the desktop, so having scrollbars lets me work with the objects in a way that makes sense in that environment, AND it provides a flag to let my backscript know which objects will need a scroller interaction overlay when run on mobile devices. My backscript walks through all fields and groups on preOpenCard when running on a mobile OS. When it finds an unlocked field it instantiates a mobile-native editable field, and when it finds a locked field it checks if it has scrollbars, and if so instantiates a scroller overlay. Similarly, when it find a group with scrollbars it also instantiates a scroller overlay. > And since I would prefer not to have scrollbars even on desktop? > I am putting this in to the [field | group] (see below) If that's working for you then who am I to suggest otherwise? But for my own projects I try to meet user expectations of how interactions work, and the LC team has done a good job of providing nice scrolling behaviors on desktop and mobile. The scrollBars in LC continue to impress me with the fluidity of their messaging, and on mobile the OS-native overlay is really the only way to deliver an experience that meets user expectations, smoothly responding to touch-and-drag operations and nicely supporting whatever end-of-scroll behavior the OS provides (the momentary translucent flash on Android or Apple's patented bounce-back on iOS*). One of the great things about LC is that it lets us craft nearly any UI we want. But when it comes to the basics with things like scrolling, I'm happy to adhere to OS conventions, with extra bonus points that LC generally makes that the easiest thing to do. As for generalizing your script, probably the simplest way would be to move the script to a button or stack and assign it to fields that use it as a behavior. With that one move it should continue to work for all fields that need it without modification. > local sMouseLoc, sStartLoc, > > on mouseDown > put the mouseloc into sMouseLoc > put sMouseLoc into sStartLoc > if not isMobile() then setScroll > end if > end mouseDown > > on setScroll > if the mouse is down then > lock screen > if item 2 of sMouseLoc > the mouseV then > set the vscroll of me to the vscroll of me - (the mouseV - item 2 of sMouseLoc) > else > set the vscroll of me to the vscroll of me + (item 2 of sMouseLoc - the mouseV) > end if > put the mouseloc into sMouseLoc > send "setScroll" to me in 20 millisec > unlock screen > else > put empty into sMouseLoc > end if > end setScroll * Note for devs making custom UIs: be very careful when using bounce-back as an end-of-scroll indicator. On iOS you're probably fine, but in a few jurisdictions Apple's design patent on that has been upheld. I'm obliged to note that I'm not an attorney; if you want to implement custom bounce-back it may be prudent to consult with an attorney licensed to practice in your area. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Mon Jul 4 10:42:37 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 4 Jul 2016 07:42:37 -0700 Subject: Single Common Group Across Multiple Stacks In-Reply-To: References: Message-ID: <577A75DD.2070202@fourthworld.com> Sannyasin Brahmanathaswami wrote: > GOAL: have a object/group (think navigation bar at the bottom of the > screen or some other elements you may want to be common across all > the stacks?.) that can be displayed in all the stacks. ... > So?is there a way to similarly instantiate the presence of a > one-only group across multiple stacks? I think I'm asking for > the moon, but I've asked for the moon before and sometimes a > wizard on this list actually sends us the moon. Gain Momentum was the only xTalk I've used that had a Viewer control, a rectangle which could be placed on any card in any stack to provide a view to any other stack. This would solve your need here quite handily (and a good many others), but allowing you to craft one set of controls that could then be easily placed anywhere, in any stack. Ben Rubinstein submitted a request for that: http://quality.livecode.com/show_bug.cgi?id=2786 In the meantime, the best we can do at the moment is to craft a tool that emulates the benefits of that workflow by automating the copying of a group to any stack that needs it. Not nearly as convenient as a viewer object, but only takes a few minutes to write, and if the group being copied uses a behavior script at least the code always remains centralized. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Mon Jul 4 11:13:40 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 4 Jul 2016 08:13:40 -0700 Subject: Intel QSV H.264 codec for AVFoundation and DirectShow In-Reply-To: <001301d1d5d8$7d652d50$782f87f0$@kestner.de> References: <001301d1d5d8$7d652d50$782f87f0$@kestner.de> Message-ID: <577A7D24.6010306@fourthworld.com> Tiemo Hollmann wrote: > I am looking for the most standardized state of the art codec to get a > maximum of compatibility on both platforms, so I think H.264 is the right > choice. > > My special requirement is, that I have to step thru the video frame by frame > controlled by LC. > > My sorenson squeeze compressor offers 4 different H.264 codecs: "Intel QSV > H.264", "MainConcept H.264", "Sorenson MPEG-4", "x264" > > My LC tests showed me, that I need to set a keyframe every single frame to > be able to step thru the video framebased (at least with DirectShow). This > option do only the intel QSV and the x264 codec offer. > > The x264 codec is a opensource codec and as far as I understand it is not > preinstalled on any system and at least on my Mac a x264 video can't be > played (perhaps there is a chance to manually install it, what I would like > to avoid for my customers) > > So up to now it seems to me that only the intel QSV H.264 is left of my > choices. It should be supported from Windows Vista on and from OS X 10.8 on. > > Has anybody experiences in this field of codecs, other experiences or tipps > or would negate some of my conclusions? Choosing a codec is a complex issues given the scope and variety of their patent licensing. My lay person's understanding is that x264 is available under GPL, so it's useful for GPL-governed works but as you've noted isn't as widely available across the many platforms we may choose to support. H.264 is a good codec technically and has wide distribution, but AFAIK remains mired in a patent pool so complex it needs an FAQ to try to explain it: This article describes some of the legal considerations with H.264 in lay terms: One of the open questions for us software developers is the case of distributing commercial tools that use H.264. Apple and Microsoft have their own license arrangements with the MPEG-LA consortium for distributing the codec with their respective OSes (perhaps easier for Apple since they're a member of that consortium), but we may need to review the OS EULA to determine the allowable scope of use for the codec in our own commercial software products. For example, here are relevant sections of the Final Cut Pro X EULA, which make it explicitly clear that despite the product's name professional use is disallowed: This product is licensed under the MPEG-4 Visual Patent Portfolio License for the personal and noncommercial use of a consumer for (i) encoding video in compliance with the MPEG-4 Visual Standard ("MPEG-4 Video") and/or (ii) decoding MPEG-4 video that was encoded by a consumer engaged in a personal and non-commercial activity and/or was obtained from a video provider licensed by MPEG LA to provide MPEG-4 video. No license is granted or shall be implied for any other use. Additional information including that relating to promotional, internal and commercial uses and licensing may be obtained from MPEG LA, LLC. See http://www.mpegla.com. D. H.264/AVC Notice. To the extent that the Apple Software contains AVC encoding and/or decoding functionality, commercial use of H.264/AVC requires additional licensing and the following provision applies: THE AVC FUNCTIONALITY IN THIS PRODUCT IS LICENSED HEREIN ONLY FOR THE PERSONAL AND NON-COMMERCIAL USE OF A CONSUMER TO (i) ENCODE VIDEO IN COMPLIANCE WITH THE AVC STANDARD ("AVC VIDEO") AND/OR (ii) DECODE AVC VIDEO THAT WAS ENCODED BY A CONSUMER ENGAGED IN A PERSONAL AND NON-COMMERCIAL ACTIVITY AND/OR AVC VIDEO THAT WAS OBTAINED FROM A VIDEO PROVIDER LICENSED TO PROVIDE AVC VIDEO. INFORMATION REGARDING OTHER USES AND LICENSES MAY BE OBTAINED FROM MPEG LA L.L.C. SEE HTTP://WWW.MPEGLA.COM. Given the wide variety of software components that play a role in H.264 decoding, it may be helpful to refer to this table of expiration dates to attempt to determine when the relevant H.264 patents will expire: When in doubt, it may be best to communicate directly with the MPEG-LA consortium to determine appropriate H.264 licensing requirements for your commercial app that requires the codec. It may be that the commercial-use restrictions apply only to encoding but not decoding, so depending on the specific features of your app the patent restrictions may or may not apply in your specific use-case. If you find that there's some sort of pass-through provision that can apply to us from the OS vendor's patent license, perhaps with the prohibition of commercial use by end-users as Final Cut Pro X has done, please let us know. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Mon Jul 4 11:56:12 2016 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 4 Jul 2016 18:56:12 +0300 Subject: Stability of LC 8 DP2? In-Reply-To: References: Message-ID: <577A871C.7000502@gmail.com> Well; I assume you mean 8.1 which IS a developer preview, so a bit daft to use for development: 8.0.1 is the Stable release. Richmond. On 4.07.2016 15:30, Lagi Pittas wrote: > I started using Livecode 8 (DP1) for a less critical project last week - so > far so good. > > I decided to upgrade to DP2 today on my windows 7 system running parallels > on a MAC. > > In the space of an hour I have had a blue screen of death in Win 7 (never > happened in 2 years on this p[arallels setup). > > And 3 times the whole stack and livecode 8 just vanished without even a > windows message to say it crashed or whatever (the usual when this happens). > > All I was doing at the time was increasing the font size on a tab Panel. > > Now I don't know if the universe is trying to tell me something - I've been > meaning to ask for over a year now - and it's not fixed on version 8 > either. - the tab panel text labels are STILL too big for the tab > containers - it still looks like an afterthought as the descenders of the > letter "g" "bleed" into the panel and the rest of the letters are sitting > underneath by a pixel or 2 unless I make the text size about 17+ which cuts > down - there is no way to adjust margins - you could say that's to show > that they are not the "focused tab" but in the halcyon days we could change > the colour and text styles of each tab and it's text - so we decided what > looked good or not. Now if the tab panel is a widget I could go in and make > it work the way I want without trying to fight with Visual Studio but I'm > assuming it's not. > > Anyway I just left this for 10 minutes to work on my program added a > graphic line to the tab panel - for some reason it get moving to the same > place whatever i did - even locking it's position so I did the equivalent > of switching it on and off again - press delete with the line selected - > VOOM the whole stack and livecode 8 vanished again without a warning of no > responding or a windows error message. > > Looks like I'm back to version 6 again for another 6 months. > > I really do Hope it's my setup so I will play around on my windows laptop > with the same stack and see what happens. > > > Regards Lagi > > p.s. > > Went back to do a bit more and got to a stage where I wanted to delete a > two grouped lines and again pressed the delete key and voom again I lost > the whole lot no windows error or no responibg dialog > > I'm using a Logitech K480 bluetooth keyboard which might have a few foibles > but I can't belive pressing delete on a line would do that without some > problem.. Ill plugin a wired keyboard and see what happens. > > Regards Lagi > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Jul 4 12:15:30 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 4 Jul 2016 09:15:30 -0700 Subject: Stability of LC 8 DP2? In-Reply-To: <577A871C.7000502@gmail.com> References: <577A871C.7000502@gmail.com> Message-ID: <577A8BA2.8090202@fourthworld.com> On the contrary, while I recommend using the most recent "Stable" build for deploying, for development I strongly recommend using the most recent build with any designation specifically so we can identify and resolve these issues ASAP. Waiting until after final release only guarantees a previously-unknown issue will remain in the final release. @Lagi: Please submit two bug reports, one for the crasher since of course crashers need to be resolved ASAP, and another for the text baseline since no one wants newcomers getting turned off from LiveCode the moment they drop a control onto a card because it looks wonky. -- Richard Gaskin Fourth World Systems Richmond wrote: > Well; I assume you mean 8.1 which IS a developer preview, so a bit daft to > use for development: 8.0.1 is the Stable release. > > Richmond. > > On 4.07.2016 15:30, Lagi Pittas wrote: >> I started using Livecode 8 (DP1) for a less critical project last week - so >> far so good. >> >> I decided to upgrade to DP2 today on my windows 7 system running parallels >> on a MAC. >> >> In the space of an hour I have had a blue screen of death in Win 7 (never >> happened in 2 years on this p[arallels setup). >> >> And 3 times the whole stack and livecode 8 just vanished without even a >> windows message to say it crashed or whatever (the usual when this happens). >> >> All I was doing at the time was increasing the font size on a tab Panel. >> >> Now I don't know if the universe is trying to tell me something - I've been >> meaning to ask for over a year now - and it's not fixed on version 8 >> either. - the tab panel text labels are STILL too big for the tab >> containers - it still looks like an afterthought as the descenders of the >> letter "g" "bleed" into the panel and the rest of the letters are sitting >> underneath by a pixel or 2 unless I make the text size about 17+ which cuts >> down - there is no way to adjust margins - you could say that's to show >> that they are not the "focused tab" but in the halcyon days we could change >> the colour and text styles of each tab and it's text - so we decided what >> looked good or not. Now if the tab panel is a widget I could go in and make >> it work the way I want without trying to fight with Visual Studio but I'm >> assuming it's not. >> >> Anyway I just left this for 10 minutes to work on my program added a >> graphic line to the tab panel - for some reason it get moving to the same >> place whatever i did - even locking it's position so I did the equivalent >> of switching it on and off again - press delete with the line selected - >> VOOM the whole stack and livecode 8 vanished again without a warning of no >> responding or a windows error message. >> >> Looks like I'm back to version 6 again for another 6 months. >> >> I really do Hope it's my setup so I will play around on my windows laptop >> with the same stack and see what happens. From richmondmathewson at gmail.com Mon Jul 4 12:24:55 2016 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 4 Jul 2016 19:24:55 +0300 Subject: Stability of LC 8 DP2? In-Reply-To: <577A8BA2.8090202@fourthworld.com> References: <577A871C.7000502@gmail.com> <577A8BA2.8090202@fourthworld.com> Message-ID: <577A8DD7.1030304@gmail.com> R. Gaskin is right (as usual): Develop on the Stable release. Try things out on the Developer Previews, get frustrated, and then file Bug reports; this is very important. R. On 4.07.2016 19:15, Richard Gaskin wrote: > On the contrary, while I recommend using the most recent "Stable" > build for deploying, for development I strongly recommend using the > most recent build with any designation specifically so we can identify > and resolve these issues ASAP. > > Waiting until after final release only guarantees a previously-unknown > issue will remain in the final release. > > @Lagi: Please submit two bug reports, one for the crasher since of > course crashers need to be resolved ASAP, and another for the text > baseline since no one wants newcomers getting turned off from LiveCode > the moment they drop a control onto a card because it looks wonky. > From jacque at hyperactivesw.com Mon Jul 4 12:31:09 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 04 Jul 2016 11:31:09 -0500 Subject: Front and Back Scripts on Mobile In-Reply-To: <577A737A.2070008@fourthworld.com> References: <577A737A.2070008@fourthworld.com> Message-ID: <155b6bfc4c8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On July 4, 2016 9:34:52 AM Richard Gaskin wrote: > On the desktop, a scrollable object is distinguished by having scrollbars. > > On mobile, of course, we don't want the scrollbars shown since that's > not how mobile scrolling interaction works there. But development > occurs on the desktop, so having scrollbars lets me work with the > objects in a way that makes sense in that environment, AND it provides a > flag to let my backscript know which objects will need a scroller > interaction overlay when run on mobile devices. If the backscript removes the scrollbar when creating a native scroller, how do you test when the user returns to the same card? The desktop scrollbar will now be gone. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Mon Jul 4 12:42:08 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 4 Jul 2016 09:42:08 -0700 Subject: Front and Back Scripts on Mobile In-Reply-To: <155b6bfc4c8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <155b6bfc4c8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <577A91E0.1050105@fourthworld.com> J. Landman Gay wrote: > On July 4, 2016 9:34:52 AM Richard Gaskin wrote: > >> On the desktop, a scrollable object is distinguished by having >> scrollbars. >> >> On mobile, of course, we don't want the scrollbars shown since that's >> not how mobile scrolling interaction works there. But development >> occurs on the desktop, so having scrollbars lets me work with the >> objects in a way that makes sense in that environment, AND it >> provides a flag to let my backscript know which objects will need a >> scroller interaction overlay when run on mobile devices. > > If the backscript removes the scrollbar when creating a native > scroller, how do you test when the user returns to the same card? > The desktop scrollbar will now be gone. Yep, encountered that first time I ran it on my phone. :) Since then the routines that instantiate naive mobile controls set a custom property in each LC control they relate to. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From paul at livecode.org Mon Jul 4 12:58:31 2016 From: paul at livecode.org (Paul Hibbert) Date: Mon, 4 Jul 2016 09:58:31 -0700 Subject: Stability of LC 8 DP2? In-Reply-To: <577A8DD7.1030304@gmail.com> References: <577A871C.7000502@gmail.com> <577A8BA2.8090202@fourthworld.com> <577A8DD7.1030304@gmail.com> Message-ID: <44B25A4C-EA44-4860-93C3-F10AA3FDC880@livecode.org> One other thing that may be worth trying is to remove any non-native plug-ins and try again. I and several others have had issues with plug-ins designed and built with previous versions of LC. For my home rolled plug-ins I checked them carefully and updated the ones I needed in LC8 and they are working fine now. For any third-party plug-ins, check to see if the developer has released an updated version for LC8. Since doing this I?m finding LC8 to be much more stable and I?m mainly using the DP to take advantage of and learn new features. Paul > On Jul 4, 2016, at 9:24 AM, Richmond wrote: > > R. Gaskin is right (as usual): > > Develop on the Stable release. > > Try things out on the Developer Previews, get frustrated, and then file Bug reports; > this is very important. > > R. > > On 4.07.2016 19:15, Richard Gaskin wrote: >> On the contrary, while I recommend using the most recent "Stable" build for deploying, for development I strongly recommend using the most recent build with any designation specifically so we can identify and resolve these issues ASAP. >> >> Waiting until after final release only guarantees a previously-unknown issue will remain in the final release. >> >> @Lagi: Please submit two bug reports, one for the crasher since of course crashers need to be resolved ASAP, and another for the text baseline since no one wants newcomers getting turned off from LiveCode the moment they drop a control onto a card because it looks wonky. >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Jul 4 13:14:39 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 4 Jul 2016 10:14:39 -0700 Subject: Stability of LC 8 DP2? In-Reply-To: <44B25A4C-EA44-4860-93C3-F10AA3FDC880@livecode.org> References: <44B25A4C-EA44-4860-93C3-F10AA3FDC880@livecode.org> Message-ID: <577A997F.8040408@fourthworld.com> Paul Hibbert wrote: > One other thing that may be worth trying is to remove any non-native > plug-ins and try again. I and several others have had issues with > plug-ins designed and built with previous versions of LC. > > For my home rolled plug-ins I checked them carefully and updated the > ones I needed in LC8 and they are working fine now. > > For any third-party plug-ins, check to see if the developer has > released an updated version for LC8. > > Since doing this I?m finding LC8 to be much more stable and I?m > mainly using the DP to take advantage of and learn new features. Excellent tip, though if you do see a problem with a third-party add-on please let the developer know. Ideally LC 8 should be completely backward-compatible with 7, so any issues may well be engine regressions the author of a plugin may want to report. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From brahma at hindu.org Mon Jul 4 13:48:11 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 4 Jul 2016 17:48:11 +0000 Subject: Single Common Group Across Multiple Stacks In-Reply-To: <577A75DD.2070202@fourthworld.com> References: <577A75DD.2070202@fourthworld.com> Message-ID: yep, that request has been on the books since 2005 and I upvoted in March of this year? So, it's back to a behavior script that is external to the binary stacks a subject we discussed in depth earlier. *unless* one can refer to a behavior in another stack that is not part of the same stack file? I'm not sure how that will work? to be tested. 'automate copying of the group" That's an interesting option. I should try it. Ideally it would look like this in the preopenstack handler of [pseudo code] Stack A copy group "navigation" of stack "loader" to me repeat for each card x in this stack, place the group and set it's rect. end repeat I wonder about performance. But if it worked this could be done dynamically and then it's "kinda like" setting the icon of a button? instead you are "setting the region of a stack" to that control by copying it and setting the rect. but on the fly, run time. Obviously bit hacky and a lot of work to get an "include" to work. Angular is so sweet in this regard with the ability to replace vars in the page with entire html "objects" BR Ben Rubinstein submitted a request for that: http://quality.livecode.com/show_bug.cgi?id=2786 In the meantime, the best we can do at the moment is to craft a tool that emulates the benefits of that workflow by automating the copying of a group to any stack that needs it. Not nearly as convenient as a viewer object, but only takes a few minutes to write, and if the group being copied uses a behavior script at least the code always remains centralized. From ambassador at fourthworld.com Mon Jul 4 14:10:26 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 4 Jul 2016 11:10:26 -0700 Subject: Single Common Group Across Multiple Stacks In-Reply-To: References: Message-ID: <577AA692.2090005@fourthworld.com> Sannyasin Brahmanathaswami wrote: > So, it's back to a behavior script that is external to the binary > stacks a subject we discussed in depth earlier. *unless* one can > refer to a behavior in another stack that is not part of the same > stack file? I'm not sure how that will work? to be tested. Yep. The only rule with behaviors is that the object containing the behavior definition script needs to be in memory before any object subscribing to it is loaded. And even then, that's only if you want automatic resolution of the behavior. If you load the behavior after the object that relies on it you can still get it going with: get the behavior of tSomeObj to the behavior of tSomeObj ..and that'll kick-start the resolution. > 'automate copying of the group" > > That's an interesting option. I should try it. > > Ideally it would look like this in the preopenstack handler of > > [pseudo code] > > Stack A > copy group "navigation" of stack "loader" to me > repeat for each card x in this stack, > place the group and set it's rect. > end repeat > > I wonder about performance. Personally, I'd do it just once during build time, or during development whenever I modify the master copy. But if you do find yourself with a need to dynamically create lots of controls at once, I think you'll be quite pleasantly surprised by the performance. A while back I was experimenting with a construction/layout language I was making in LC, loosely inspired by REBOL's VID: The goal was to have the simplest writing that could automatically produce meaningful layouts for certain types of apps that might lend themselves to that sort of thing (for example, the sorts of test stacks I make for unit tests). If you lock messages and lock screen before you create stuff, LC can whip up hundreds of objects in the blink of an eye. Remember, everything in revToolbar is created on the fly from script when LC launches. There's a lot of other stuff the IDE does during boot so maybe a more impressive example is the DataGrid: when you set the dgText or dgData it's building everything you see on screen in that moment. For others reading this: the "to" clause of the "copy" command specifying the destination as shown above is *very* useful for automated object copying. Not only does it eliminate the need for a separate "paste" command, but more importantly it doesn't affect the user's clipboard, saving a tiny amount of time but more importantly leaves whatever possibly-important data the user may have copied intact. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From warren at warrensweb.us Mon Jul 4 14:13:42 2016 From: warren at warrensweb.us (Warren Samples) Date: Mon, 4 Jul 2016 13:13:42 -0500 Subject: Intel QSV H.264 codec for AVFoundation and DirectShow In-Reply-To: <001301d1d5d8$7d652d50$782f87f0$@kestner.de> References: <001301d1d5d8$7d652d50$782f87f0$@kestner.de> Message-ID: <577AA756.8070803@warrensweb.us> On 07/04/2016 04:43 AM, Tiemo Hollmann TB wrote: > The x264 codec is a opensource codec and as far as I understand it is not > preinstalled on any system and at least on my Mac a x264 video can't be > played (perhaps there is a chance to manually install it, what I would like > to avoid for my customers) Tiemo, x264 is only an encoder and does not need to be installed on a client machine to enable playback if that's your concern. Whether or not the videos are compatible will depend on thoughtful selection of encoding options. In this regard x264 offers almost unlimited opportunity to experiment (glass half full) and choose badly (glass half empty). The Intel encoder has the advantage of using the gpu, where applicable, to accelerate encoding. If you've found something that works, it wouldn't be a bad decision to have a celebratory beverage of your choice and think about something else! Warren From jacque at hyperactivesw.com Mon Jul 4 15:36:40 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 4 Jul 2016 14:36:40 -0500 Subject: Single Common Group Across Multiple Stacks In-Reply-To: References: Message-ID: On 7/3/2016 10:29 PM, Sannyasin Brahmanathaswami wrote: > GOAL: have a object/group (think navigation bar at the bottom of the > screen or some other elements you may want to be common across all > the stacks?.) that can be displayed in all the stacks. This is exactly the setup I needed for the big project I've been working on for some time. We solved it by creating a one-card template stack that is used to create all new subsidiary stacks. The template has all shared groups placed on its single card. In our case we had several of those on each card that needed to appear everywhere. All new content stacks are created from this one-card template. As new cards are made they automatically inherit and place the shared groups. Having these already on every card eased layout as well, because the available space for new controls was readily apparent. The shared groups contained only the most basic scripts, usually a one-liner that called a handler. For example, each button has a "doX" handler call such as "doLookup" or "doNavFwd". The "doX" handler itself was in a backscript loaded by the main launcher stack, the one that becomes the app. This script is always in use and it controls virtually everything no matter what stack is currently loaded from the server. This has been working very well for us for some years now. To make changes, all you need to do is edit the backscript and release a new launcher app version. The content stacks never need to change. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Jul 4 15:37:24 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 4 Jul 2016 14:37:24 -0500 Subject: Front and Back Scripts on Mobile In-Reply-To: <577A91E0.1050105@fourthworld.com> References: <155b6bfc4c8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <577A91E0.1050105@fourthworld.com> Message-ID: On 7/4/2016 11:42 AM, Richard Gaskin wrote: > J. Landman Gay wrote: > >> On July 4, 2016 9:34:52 AM Richard Gaskin wrote: >> >>> On the desktop, a scrollable object is distinguished by having >>> scrollbars. >>> >>> On mobile, of course, we don't want the scrollbars shown since that's >>> not how mobile scrolling interaction works there. But development >>> occurs on the desktop, so having scrollbars lets me work with the >>> objects in a way that makes sense in that environment, AND it >>> provides a flag to let my backscript know which objects will need a >>> scroller interaction overlay when run on mobile devices. >> >> If the backscript removes the scrollbar when creating a native >> scroller, how do you test when the user returns to the same card? >> The desktop scrollbar will now be gone. > > Yep, encountered that first time I ran it on my phone. :) > > Since then the routines that instantiate naive mobile controls set a > custom property in each LC control they relate to. > Figured it had to be something like that. Thanks. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brahma at hindu.org Mon Jul 4 15:59:04 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 4 Jul 2016 19:59:04 +0000 Subject: "Responsive" Browser Widget Message-ID: <61F13392-5D56-46F0-AECF-463AB6B6D607@hindu.org> on Mobile if you open Safari (iOS) or Chrome (Android) and turn your phone sideways, the screen responds automatically by displaying/re-rendering the browser page at the new landscape width. If you turn your phone back to "upright" it switches back to portrait. my current methods to try to re-size the stack and browser widget run time are failing. We have a ticket in to HQ on this since February and the bug is confirmed? http://quality.livecode.com/show_bug.cgi?id=16965 yet to be fixed. In the meantime this is a blocker? has anyone found another method to get this done? Perhaps we need to create the browser widget to the new orientation/size, set the URL, *after* the stack is resized to the new rect, create the browser widget and then delete it again before switching orientations. If you have this working already please so share an example stack. use case is that our app will have modules (independent stacks) where some cards require the landscape orientation, others the portrait orientation, some will want to have portrait browser widget, others for movies or HTML 5 games will want to be in landscape orientation, and this, ideally, can be done in all in one stack with some magic? there is no problem with runtime re-orientation geometry for native LC controls? switching e.g. 414w X 736H to 736w x 414h (and thereby forcing the user to turn their phone) works? only the browser widget is mis-behaving. I haven't even tried to query mobileOrientation() yet? and "flip" the browser widget? we know it would fail and for we can live with a behavior that forces the user to stay in one orientation. So perhaps someone has a better architecture/method where it actually works? Thanks! BR From jacque at hyperactivesw.com Mon Jul 4 16:00:30 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 04 Jul 2016 15:00:30 -0500 Subject: Single Common Group Across Multiple Stacks In-Reply-To: References: Message-ID: <155b77f6f30.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> It occurs to me: since we can now use text-only stacks, the launcher app could simply download the latest version on launch and start using it. That way you wouldn't even need to build a new app when changes are needed. Our project was set up before that option was available, but I'm tempted to switch over to it. It seems cleaner and more convenient. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 4, 2016 2:37:38 PM "J. Landman Gay" wrote: > On 7/3/2016 10:29 PM, Sannyasin Brahmanathaswami wrote: >> GOAL: have a object/group (think navigation bar at the bottom of the >> screen or some other elements you may want to be common across all >> the stacks?.) that can be displayed in all the stacks. > > This is exactly the setup I needed for the big project I've been working > on for some time. We solved it by creating a one-card template stack > that is used to create all new subsidiary stacks. The template has all > shared groups placed on its single card. In our case we had several of > those on each card that needed to appear everywhere. > > All new content stacks are created from this one-card template. As new > cards are made they automatically inherit and place the shared groups. > Having these already on every card eased layout as well, because the > available space for new controls was readily apparent. > > The shared groups contained only the most basic scripts, usually a > one-liner that called a handler. For example, each button has a "doX" > handler call such as "doLookup" or "doNavFwd". > > The "doX" handler itself was in a backscript loaded by the main launcher > stack, the one that becomes the app. This script is always in use and it > controls virtually everything no matter what stack is currently loaded > from the server. > > This has been working very well for us for some years now. To make > changes, all you need to do is edit the backscript and release a new > launcher app version. The content stacks never need to change. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Mon Jul 4 16:09:06 2016 From: dsc at swcp.com (Dar Scott) Date: Mon, 4 Jul 2016 14:09:06 -0600 Subject: Stability of LC 8 DP2? In-Reply-To: <577A8BA2.8090202@fourthworld.com> References: <577A871C.7000502@gmail.com> <577A8BA2.8090202@fourthworld.com> Message-ID: <7D93CB10-6242-4474-BB5F-ABE8AB16C651@swcp.com> > On Jul 4, 2016, at 10:15 AM, Richard Gaskin wrote: > > On the contrary, while I recommend using the most recent "Stable" build for deploying, for development I strongly recommend using the most recent build with any designation specifically so we can identify and resolve these issues ASAP. Can you clarify this daring and exhilarating approach to programming? If, in a major run, I hop to 8.1, riding the edge, I am crossing-my-fingers hoping to jump to a stable 8.1 before the due date, but if there is no stable 8.1 as the due date approaches, and I use your deploy-on-stable approach, I need to flip back to 8.0, redoing that which depended on 8.1, making quick corrections, so that by the time I go through the delivery tunnel, all works and all is stable. Are you by any chance a snowboarder? From ambassador at fourthworld.com Mon Jul 4 17:10:00 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 4 Jul 2016 14:10:00 -0700 Subject: Stability of LC 8 DP2? In-Reply-To: <7D93CB10-6242-4474-BB5F-ABE8AB16C651@swcp.com> References: <7D93CB10-6242-4474-BB5F-ABE8AB16C651@swcp.com> Message-ID: <577AD0A8.5030005@fourthworld.com> Dar Scott wrote: >> On Jul 4, 2016, at 10:15 AM, Richard Gaskin wrote: >> >> On the contrary, while I recommend using the most recent "Stable" >> build for deploying, for development I strongly recommend using >> the most recent build with any designation specifically so we can >> identify and resolve these issues ASAP. > > Can you clarify this daring and exhilarating approach to programming? > > If, in a major run, I hop to 8.1, riding the edge, I am crossing- > my-fingers hoping to jump to a stable 8.1 before the due date, but > if there is no stable 8.1 as the due date approaches, and I use your > deploy-on-stable approach, I need to flip back to 8.0, redoing that > which depended on 8.1, making quick corrections, so that by the time > I go through the delivery tunnel, all works and all is stable. As a general rule I never make business plans involving anything dependent on unreleased software features. I've tested software for Adobe, Apple, Oracle, and many others, but I don't make any deployment schedules that involve features unique to any version of any software until two conditions have been met: 1. The final shipping version of the software exists. 2. I've been able to reasonably verify that it'll do what I need it to do. Everything prior to those two conditions being met is effectively just testing (though I tend to get a lot of work done along the way). I was a customer of Allegiant SuperCard for Windows, and worked with a company that invested in plans based around QuickTime's HyperCard 3 engine. Stuff happens. Sometimes that stuff is beyond anything anyone could have imagined when the project started. So until a feature is in my hands and verified as working, for any business planning purposes it doesn't exist. For learning and testing purposes, however, it's invaluable for helping to ensure the final version will do what I need it to do once it's ready. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dsc at swcp.com Mon Jul 4 18:06:45 2016 From: dsc at swcp.com (Dar Scott) Date: Mon, 4 Jul 2016 16:06:45 -0600 Subject: Stability of LC 8 DP2? In-Reply-To: <577AD0A8.5030005@fourthworld.com> References: <7D93CB10-6242-4474-BB5F-ABE8AB16C651@swcp.com> <577AD0A8.5030005@fourthworld.com> Message-ID: Ah, I get it. I think I misunderstood "development" in your first comment. I'm obtuse at times. However, I still want to emulate your daring do. I can take the conservative approach you described during the day as the mild mannered software developer, but at night, I can put on my cape and jump into trying out DPs. Of course, in my cave I can't tell night from day. Anyway, I have a better idea of what you are saying. > On Jul 4, 2016, at 3:10 PM, Richard Gaskin wrote: > > Dar Scott wrote: > > >> On Jul 4, 2016, at 10:15 AM, Richard Gaskin wrote: > >> > >> On the contrary, while I recommend using the most recent "Stable" > >> build for deploying, for development I strongly recommend using > >> the most recent build with any designation specifically so we can > >> identify and resolve these issues ASAP. > > > > Can you clarify this daring and exhilarating approach to programming? > > > > If, in a major run, I hop to 8.1, riding the edge, I am crossing- > > my-fingers hoping to jump to a stable 8.1 before the due date, but > > if there is no stable 8.1 as the due date approaches, and I use your > > deploy-on-stable approach, I need to flip back to 8.0, redoing that > > which depended on 8.1, making quick corrections, so that by the time > > I go through the delivery tunnel, all works and all is stable. > > As a general rule I never make business plans involving anything dependent on unreleased software features. > > I've tested software for Adobe, Apple, Oracle, and many others, but I don't make any deployment schedules that involve features unique to any version of any software until two conditions have been met: > > 1. The final shipping version of the software exists. > > 2. I've been able to reasonably verify that it'll do > what I need it to do. > > Everything prior to those two conditions being met is effectively just testing (though I tend to get a lot of work done along the way). > > I was a customer of Allegiant SuperCard for Windows, and worked with a company that invested in plans based around QuickTime's HyperCard 3 engine. Stuff happens. Sometimes that stuff is beyond anything anyone could have imagined when the project started. > > So until a feature is in my hands and verified as working, for any business planning purposes it doesn't exist. > > For learning and testing purposes, however, it's invaluable for helping to ensure the final version will do what I need it to do once it's ready. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Jul 4 18:53:13 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 4 Jul 2016 15:53:13 -0700 Subject: Stability of LC 8 DP2? In-Reply-To: References: Message-ID: <577AE8D9.7090106@fourthworld.com> Dar Scott wrote: > However, I still want to emulate your daring do. I can take the > conservative approach you described during the day as the mild > mannered software developer, but at night, I can put on my cape > and jump into trying out DPs. As I think about this more, given that the definition of "Stable" isn't in the dictionary sense but in the engineering sense of "no feature changes since last build", and given that all versions of 8.x carry fixes forward, I'm inclined to believe that the most robust build at any given time is usually the one most recently released. Of course new features introduced in a most recent build will still need some testing to make sure they're solid, but any existing features should be as good or better than the last "Stable" build given that any fixes recently completed will be in the more recent build. That doesn't account for regressions, but that's also a good argument to use the most recent build: any regression is one for which a test isn't already in the automated test system (they use a LOT of automated tools to check things before release). The sooner a bug is discovered and reported, the better for everyone. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From toolbook at kestner.de Tue Jul 5 03:14:49 2016 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 5 Jul 2016 09:14:49 +0200 Subject: AW: Intel QSV H.264 codec for AVFoundation and DirectShow In-Reply-To: <577A7D24.6010306@fourthworld.com> References: <001301d1d5d8$7d652d50$782f87f0$@kestner.de> <577A7D24.6010306@fourthworld.com> Message-ID: <002a01d1d68c$ec386760$c4a93620$@kestner.de> Hi Richard, thank you for your profund informations and helpful links. I wasn't aware of this complex matter. I have to think about if I want to let sleeping dogs lie. Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Richard Gaskin Gesendet: Montag, 4. Juli 2016 17:14 An: use-livecode at lists.runrev.com Betreff: Re: Intel QSV H.264 codec for AVFoundation and DirectShow Tiemo Hollmann wrote: > I am looking for the most standardized state of the art codec to get a > maximum of compatibility on both platforms, so I think H.264 is the > right choice. > > My special requirement is, that I have to step thru the video frame by > frame controlled by LC. > > My sorenson squeeze compressor offers 4 different H.264 codecs: "Intel > QSV H.264", "MainConcept H.264", "Sorenson MPEG-4", "x264" > > My LC tests showed me, that I need to set a keyframe every single > frame to be able to step thru the video framebased (at least with > DirectShow). This option do only the intel QSV and the x264 codec offer. > > The x264 codec is a opensource codec and as far as I understand it is > not preinstalled on any system and at least on my Mac a x264 video > can't be played (perhaps there is a chance to manually install it, > what I would like to avoid for my customers) > > So up to now it seems to me that only the intel QSV H.264 is left of > my choices. It should be supported from Windows Vista on and from OS X 10.8 on. > > Has anybody experiences in this field of codecs, other experiences or > tipps or would negate some of my conclusions? Choosing a codec is a complex issues given the scope and variety of their patent licensing. My lay person's understanding is that x264 is available under GPL, so it's useful for GPL-governed works but as you've noted isn't as widely available across the many platforms we may choose to support. H.264 is a good codec technically and has wide distribution, but AFAIK remains mired in a patent pool so complex it needs an FAQ to try to explain it: This article describes some of the legal considerations with H.264 in lay terms: One of the open questions for us software developers is the case of distributing commercial tools that use H.264. Apple and Microsoft have their own license arrangements with the MPEG-LA consortium for distributing the codec with their respective OSes (perhaps easier for Apple since they're a member of that consortium), but we may need to review the OS EULA to determine the allowable scope of use for the codec in our own commercial software products. For example, here are relevant sections of the Final Cut Pro X EULA, which make it explicitly clear that despite the product's name professional use is disallowed: This product is licensed under the MPEG-4 Visual Patent Portfolio License for the personal and noncommercial use of a consumer for (i) encoding video in compliance with the MPEG-4 Visual Standard ("MPEG-4 Video") and/or (ii) decoding MPEG-4 video that was encoded by a consumer engaged in a personal and non-commercial activity and/or was obtained from a video provider licensed by MPEG LA to provide MPEG-4 video. No license is granted or shall be implied for any other use. Additional information including that relating to promotional, internal and commercial uses and licensing may be obtained from MPEG LA, LLC. See http://www.mpegla.com. D. H.264/AVC Notice. To the extent that the Apple Software contains AVC encoding and/or decoding functionality, commercial use of H.264/AVC requires additional licensing and the following provision applies: THE AVC FUNCTIONALITY IN THIS PRODUCT IS LICENSED HEREIN ONLY FOR THE PERSONAL AND NON-COMMERCIAL USE OF A CONSUMER TO (i) ENCODE VIDEO IN COMPLIANCE WITH THE AVC STANDARD ("AVC VIDEO") AND/OR (ii) DECODE AVC VIDEO THAT WAS ENCODED BY A CONSUMER ENGAGED IN A PERSONAL AND NON-COMMERCIAL ACTIVITY AND/OR AVC VIDEO THAT WAS OBTAINED FROM A VIDEO PROVIDER LICENSED TO PROVIDE AVC VIDEO. INFORMATION REGARDING OTHER USES AND LICENSES MAY BE OBTAINED FROM MPEG LA L.L.C. SEE HTTP://WWW.MPEGLA.COM. Given the wide variety of software components that play a role in H.264 decoding, it may be helpful to refer to this table of expiration dates to attempt to determine when the relevant H.264 patents will expire: When in doubt, it may be best to communicate directly with the MPEG-LA consortium to determine appropriate H.264 licensing requirements for your commercial app that requires the codec. It may be that the commercial-use restrictions apply only to encoding but not decoding, so depending on the specific features of your app the patent restrictions may or may not apply in your specific use-case. If you find that there's some sort of pass-through provision that can apply to us from the OS vendor's patent license, perhaps with the prohibition of commercial use by end-users as Final Cut Pro X has done, please let us know. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Tue Jul 5 08:25:59 2016 From: panos.merakos at livecode.com (panagiotis merakos) Date: Tue, 5 Jul 2016 13:25:59 +0100 Subject: [ ANN ] Release 8.0.2 RC-3 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 8.0.2 RC-3. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 8.0.2 RC-3 contains bug fixes and stability improvements. The full release notes are available from: http://downloads.livecode.com/livecode/8_0_2/LiveCodeNotes-8_0_2_rc_3.pdf Feedback ======== Please report any bugs encountered on our BugZilla at http://quality.livecode.com/ We have a forum available for discussing LiveCode Builder at http://forums.livecode.com/viewforum.php?f=93 Have fun! The LiveCode Team -- From sritcp at gmail.com Tue Jul 5 08:09:46 2016 From: sritcp at gmail.com (Sri) Date: Tue, 5 Jul 2016 05:09:46 -0700 (PDT) Subject: "Responsive" Browser Widget In-Reply-To: <61F13392-5D56-46F0-AECF-463AB6B6D607@hindu.org> References: <61F13392-5D56-46F0-AECF-463AB6B6D607@hindu.org> Message-ID: <1467720586448-4706370.post@n4.nabble.com> Sannyasin Brahmanathaswami wrote > .... Perhaps we need to create the browser widget to the new > orientation/size, set the URL, *after* the stack is resized to the new > rect, create the browser widget and then delete it again before switching > orientations.... Why not have two (sub)stacks, one for each orientation, each updating the other, but only one of them visible, depending on the orientation? Is this a feasible strategy? Regards, Sri -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Responsive-Browser-Widget-tp4706362p4706370.html Sent from the Revolution - User mailing list archive at Nabble.com. From bogdanoff at me.com Tue Jul 5 16:19:27 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Tue, 05 Jul 2016 13:19:27 -0700 Subject: [ ANN ] Release 8.0.2 RC-3 In-Reply-To: References: Message-ID: <388754B7-1399-44D8-9B47-59D96D21095F@me.com> 8.0.2 RC-3: I?m finding that this version crashes repeatedly when in the IDE when working with controls?deleting or moving them. I?m also again seeing a bug that appeared in version 8.0.2 RC-2--a stack window sometimes is not redrawn correctly: The card is completely blank The card may show graphics from another card?the Inspector shows info for the current card, but you see another card. In that case, the card looks unresponsive to the the mouse or keyboard. Anyone else seeing this? I?m not finding a specific recipe to reproduce this, so I hesitated to file a bug report. IDE, Mac OSX 10.9.5 Peter Bogdanoff UCLA On Jul 5, 2016, at 5:25 AM, panagiotis merakos wrote: > Dear list members, > > > We are pleased to announce the release of LiveCode 8.0.2 RC-3. > > > > Getting the Release > > =================== > > You can get the release at https://downloads.livecode.com/livecode/ or via > the automatic updater. > > > > Release Contents > > ================ > > LiveCode 8.0.2 RC-3 contains bug fixes and stability improvements. > > > > The full release notes are available from: > > http://downloads.livecode.com/livecode/8_0_2/LiveCodeNotes-8_0_2_rc_3.pdf > > > > > Feedback > > ======== > > Please report any bugs encountered on our BugZilla at > http://quality.livecode.com/ > > > We have a forum available for discussing LiveCode Builder at > > http://forums.livecode.com/viewforum.php?f=93 > > > > Have fun! > > > The LiveCode Team > > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From skiplondon at gmail.com Tue Jul 5 17:22:13 2016 From: skiplondon at gmail.com (Skip Kimpel) Date: Tue, 5 Jul 2016 17:22:13 -0400 Subject: Windows shell craziness Message-ID: Before I go crazy trying to format this properly, how can I format a shell call to program with "options?" For instance I want to call fping.exe which is in the same folder as the standalone. However, the fping.exe command line should look like this: fping.exe 127.0.0.0 -l -n1 This is what is NOTworking: put fld "URL" into myURL set the hideConsoleWindows to true put "start c:\fping.exe "&myurl&"' -l -n 1'" into myShell replace "'" with quote in myShell get shell(myShell) answer it There is a need for quotes in order to make the switches work properly when calling it this way from LiveCode. It is something simple that I am missing but it is driving me nuts! Of course, I need to report back the results As always, ANY help is greatly appreciated! SKIP From brahma at hindu.org Tue Jul 5 18:04:43 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 5 Jul 2016 22:04:43 +0000 Subject: Front and Back Scripts on Mobile In-Reply-To: <57780C27.2070407@fourthworld.com> References: <166E7858-E991-4E23-9AFA-1A64DE31660B@hindu.org> <57780C27.2070407@fourthworld.com> Message-ID: <3E348F65-8876-466B-BF1C-EB87B221BEB7@hindu.org> Hmmm, today it's not working? not sure how to debug? but buildomh on stand alone with this in the backscript command CreateScroller pName -- scrolling regions,groups, fields if not isMobile() then exit CreateScroller deleteMobileControl pName -- delete any existing put (the rect of control pName) into tRect mobileControlCreate "scroller", pName mobileControlSet pName, "rect", tRect put ("0,0," & (the formattedwidth of control pName) & "," & the formattedheight of control pName) into tRect mobileControlSet pName, "contentRect" , tRect mobileControlSet pName, "hScroll" , 0 mobileControlSet pName, "vScroll" , 0 mobileControlSet pName, "hIndicator" , false mobileControlSet pName, "visible", true end CreateScroller on scrollerDidScroll hScrolled, vScrolled put mobileControlTarget() into tControlID set the vscroll of control tControlID to vscrolled pass scrollerDidScroll end scrollerDidScroll is failing? the control will not scroll From: use-livecode on behalf of Richard Gaskin Reply-To: How LiveCode Date: Saturday, July 2, 2016 at 8:47 AM To: How LiveCode Subject: Re: Front and Back Scripts on Mobile I believe a more accurate description is that the scrollerDidScroll message is sent to the *script* that created the scroller, which many not necessarily be a stack. In my case it's a backscript, and it works well. It seemed painfully tedious to even think about typing scroller instantiation code for every controls that needs it, so I don't. Instead, a backscript scans controls during preOpenCard and anything that needs a scroller gets one instantiated for it (along the way it also turns off scrollbars, since of course those are only useful on desktop). From ambassador at fourthworld.com Tue Jul 5 18:04:55 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 5 Jul 2016 15:04:55 -0700 Subject: Windows shell craziness In-Reply-To: References: Message-ID: <577C2F07.30805@fourthworld.com> Skip Kimpel wrote: > Before I go crazy trying to format this properly, how can I format a > shell call to program with "options?" > > For instance I want to call fping.exe which is in the same folder as > the standalone. However, the fping.exe command line should look like > this: > > fping.exe 127.0.0.0 -l -n1 > > This is what is NOTworking: > put fld "URL" into myURL > set the hideConsoleWindows to true > put "start c:\fping.exe "&myurl&"' -l -n 1'" into myShell > replace "'" with quote in myShell > get shell(myShell) > answer it > > There is a need for quotes in order to make the switches work > properly when calling it this way from LiveCode. It is something > simple that I am missing but it is driving me nuts! When in doubt about anything done with shell in LC, my first diagnostic step is to output the string being passed into shell and then copy it into Terminal to make sure it works there. I've discovered a lot of syntax errors in my shell calls doing that. :) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dsc at swcp.com Tue Jul 5 18:12:02 2016 From: dsc at swcp.com (Dar Scott) Date: Tue, 5 Jul 2016 16:12:02 -0600 Subject: Windows shell craziness In-Reply-To: References: Message-ID: <2F1264C7-38F4-4BFF-832B-9B82E57F9EE4@swcp.com> You have an extra single quote after the 1. > On Jul 5, 2016, at 3:22 PM, Skip Kimpel wrote: > > Before I go crazy trying to format this properly, how can I format a shell > call to program with "options?" > > For instance I want to call fping.exe which is in the same folder as the > standalone. However, the fping.exe command line should look like this: > > fping.exe 127.0.0.0 -l -n1 > > This is what is NOTworking: > put fld "URL" into myURL > set the hideConsoleWindows to true > put "start c:\fping.exe "&myurl&"' -l -n 1'" into myShell > replace "'" with quote in myShell > get shell(myShell) > answer it > > There is a need for quotes in order to make the switches work properly when > calling it this way from LiveCode. It is something simple that I am > missing but it is driving me nuts! > > Of course, I need to report back the results > > As always, ANY help is greatly appreciated! > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Tue Jul 5 18:18:52 2016 From: dsc at swcp.com (Dar Scott) Date: Tue, 5 Jul 2016 16:18:52 -0600 Subject: Windows shell craziness In-Reply-To: References: Message-ID: Did your really want quotes around the IP address? The space after -n? The... I guess Richard Gaskin's response is really the right one. > On Jul 5, 2016, at 3:22 PM, Skip Kimpel wrote: > > Before I go crazy trying to format this properly, how can I format a shell > call to program with "options?" > > For instance I want to call fping.exe which is in the same folder as the > standalone. However, the fping.exe command line should look like this: > > fping.exe 127.0.0.0 -l -n1 > > This is what is NOTworking: > put fld "URL" into myURL > set the hideConsoleWindows to true > put "start c:\fping.exe "&myurl&"' -l -n 1'" into myShell > replace "'" with quote in myShell > get shell(myShell) > answer it > > There is a need for quotes in order to make the switches work properly when > calling it this way from LiveCode. It is something simple that I am > missing but it is driving me nuts! > > Of course, I need to report back the results > > As always, ANY help is greatly appreciated! > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Jul 5 18:26:30 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 5 Jul 2016 15:26:30 -0700 Subject: Front and Back Scripts on Mobile In-Reply-To: <3E348F65-8876-466B-BF1C-EB87B221BEB7@hindu.org> References: <3E348F65-8876-466B-BF1C-EB87B221BEB7@hindu.org> Message-ID: <577C3416.3050004@fourthworld.com> Sannyasin Brahmanathaswami wrote: > Hmmm, today it's not working? not sure how to debug? ... > on scrollerDidScroll hScrolled, vScrolled > > put mobileControlTarget() into tControlID > > set the vscroll of control tControlID to vscrolled > > pass scrollerDidScroll > > end scrollerDidScroll > > is failing? the control will not scroll tControlID contains the ID of the mobile control, and what you want is the LiveCode object. In my backscript I maintain a script-local var for that, an array where the key is the mobile control ID and the value is the LC object long ID. I add new elements to it in the routine that instantiates mobile controls, and delete them in the closeCard handler that cleans up mobile controls. PS: What email client do you use? When pasting scripts it adds double-spaces between lines and removes leading tabs. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rdimola at evergreeninfo.net Tue Jul 5 18:41:38 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 5 Jul 2016 18:41:38 -0400 Subject: Front and Back Scripts on Mobile In-Reply-To: <3E348F65-8876-466B-BF1C-EB87B221BEB7@hindu.org> References: <166E7858-E991-4E23-9AFA-1A64DE31660B@hindu.org> <57780C27.2070407@fourthworld.com> <3E348F65-8876-466B-BF1C-EB87B221BEB7@hindu.org> Message-ID: <008901d1d70e$64e8fe00$2ebafa00$@net> This is what works for me. Note the commented out answer dialog of the scroller. Uncomment it so you know the message path is correct. I think you are missing==> [mobileControlSet sName , "scrollingEnabled" , true] command CreateScroll sName local crect if dev () then exit CreateScroll put (the rect of control sName) onto crect mobileControlCreate "scroller", sName mobileControlSet sName , "rect", crect mobileControlSet sName , "visible", false end CreateScroll command ActivateScroll sName , Xscroll , Yscroll Local crect , sRect if dev () then exit ActivateScroll put ("0,0," & (the formattedwidth of control sName) & "," & the formattedheight of control sName + 20 ) into sRect mobileControlSet sName , "contentRect" , sRect mobileControlSet sName , "vIndicator" , true mobileControlSet sName , "scrollingEnabled" , true mobileControlSet sName , "visible", true if Xscroll is not empty and Xscroll >= 0 then mobileControlSet sName , "hScroll" , round(Xscroll) end if if Yscroll is not empty and Yscroll >= 0 then --answer sName , Xscroll , Yscroll mobileControlSet sName , "vScroll" , round(Yscroll) end if end ActivateScroll on scrollerDidScroll hScrolled, vScrolled local ControlID --answer "Here!" try put mobileControlTarget() into ControlID set the vscroll of control ControlID of stack "xxx" to vscrolled set the hscroll of control ControlID of stack "xxx" to hscrolled end try pass scrollerDidScroll end scrollerDidScroll Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Sannyasin Brahmanathaswami Sent: Tuesday, July 05, 2016 6:05 PM To: How to use LiveCode Subject: Re: Front and Back Scripts on Mobile Hmmm, today it's not working? not sure how to debug? but buildomh on stand alone with this in the backscript command CreateScroller pName -- scrolling regions,groups, fields if not isMobile() then exit CreateScroller deleteMobileControl pName -- delete any existing put (the rect of control pName) into tRect mobileControlCreate "scroller", pName mobileControlSet pName, "rect", tRect put ("0,0," & (the formattedwidth of control pName) & "," & the formattedheight of control pName) into tRect mobileControlSet pName, "contentRect" , tRect mobileControlSet pName, "hScroll" , 0 mobileControlSet pName, "vScroll" , 0 mobileControlSet pName, "hIndicator" , false mobileControlSet pName, "visible", true end CreateScroller on scrollerDidScroll hScrolled, vScrolled put mobileControlTarget() into tControlID set the vscroll of control tControlID to vscrolled pass scrollerDidScroll end scrollerDidScroll is failing? the control will not scroll From: use-livecode on behalf of Richard Gaskin Reply-To: How LiveCode Date: Saturday, July 2, 2016 at 8:47 AM To: How LiveCode Subject: Re: Front and Back Scripts on Mobile I believe a more accurate description is that the scrollerDidScroll message is sent to the *script* that created the scroller, which many not necessarily be a stack. In my case it's a backscript, and it works well. It seemed painfully tedious to even think about typing scroller instantiation code for every controls that needs it, so I don't. Instead, a backscript scans controls during preOpenCard and anything that needs a scroller gets one instantiated for it (along the way it also turns off scrollbars, since of course those are only useful on desktop). _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Jul 5 19:02:32 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 5 Jul 2016 16:02:32 -0700 Subject: Front and Back Scripts on Mobile In-Reply-To: <008901d1d70e$64e8fe00$2ebafa00$@net> References: <008901d1d70e$64e8fe00$2ebafa00$@net> Message-ID: <577C3C88.9030007@fourthworld.com> Ralph DiMola wrote: > This is what works for me.... ... > on scrollerDidScroll hScrolled, vScrolled > local ControlID > --answer "Here!" > try > put mobileControlTarget() into ControlID > set the vscroll of control ControlID of stack "xxx" to vscrolled > set the hscroll of control ControlID of stack "xxx" to hscrolled > end try > pass scrollerDidScroll > end scrollerDidScroll Now I'm confused. If mobileControlTarget() returns the ID of the native scroller, how does that affect the scroll of a LiveCode object in the subsequent lines? Do we have control over mobile control IDs in a way that would allow them to match LC object names or IDs? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Tue Jul 5 19:14:52 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 Jul 2016 18:14:52 -0500 Subject: Front and Back Scripts on Mobile In-Reply-To: <577C3C88.9030007@fourthworld.com> References: <008901d1d70e$64e8fe00$2ebafa00$@net> <577C3C88.9030007@fourthworld.com> Message-ID: <155bd56fe78.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> If you assign a name to the native control, mobileControlTarget() returns it instead of the number. It's a handy way to match up native controls to their LC counterparts without keeping a reference list. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 5, 2016 6:03:49 PM Richard Gaskin wrote: > Ralph DiMola wrote: > > > This is what works for me.... > ... > > on scrollerDidScroll hScrolled, vScrolled > > local ControlID > > --answer "Here!" > > try > > put mobileControlTarget() into ControlID > > set the vscroll of control ControlID of stack "xxx" to vscrolled > > set the hscroll of control ControlID of stack "xxx" to hscrolled > > end try > > pass scrollerDidScroll > > end scrollerDidScroll > > Now I'm confused. If mobileControlTarget() returns the ID of the native > scroller, how does that affect the scroll of a LiveCode object in the > subsequent lines? > > Do we have control over mobile control IDs in a way that would allow > them to match LC object names or IDs? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Tue Jul 5 19:22:57 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 5 Jul 2016 17:22:57 -0600 Subject: Windows shell craziness In-Reply-To: References: Message-ID: Silly question, but.. you said the fping command is in the same folder as the standalone, yet you're referencing it with c:\... IS the standalone really in the root of c? Also, start will open a new console window but you're hiding it. For test purposes, don't hide the window, maybe you'll get more information so that you can debug. On Tue, Jul 5, 2016 at 4:18 PM, Dar Scott wrote: > Did your really want quotes around the IP address? The space after -n? > The... > > I guess Richard Gaskin's response is really the right one. > > > On Jul 5, 2016, at 3:22 PM, Skip Kimpel wrote: > > > > Before I go crazy trying to format this properly, how can I format a > shell > > call to program with "options?" > > > > For instance I want to call fping.exe which is in the same folder as the > > standalone. However, the fping.exe command line should look like this: > > > > fping.exe 127.0.0.0 -l -n1 > > > > This is what is NOTworking: > > put fld "URL" into myURL > > set the hideConsoleWindows to true > > put "start c:\fping.exe "&myurl&"' -l -n 1'" into myShell > > replace "'" with quote in myShell > > get shell(myShell) > > answer it > > > > There is a need for quotes in order to make the switches work properly > when > > calling it this way from LiveCode. It is something simple that I am > > missing but it is driving me nuts! > > > > Of course, I need to report back the results > > > > As always, ANY help is greatly appreciated! > > > > SKIP > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Tue Jul 5 19:27:44 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 5 Jul 2016 16:27:44 -0700 Subject: Front and Back Scripts on Mobile In-Reply-To: <155bd56fe78.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <155bd56fe78.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <577C4270.9070208@fourthworld.com> J. Landman Gay wrote: > If you assign a name to the native control, mobileControlTarget() > returns it instead of the number. Ah, nice. Must have missed that in the docs. Thanks. After all these years whenever I come across something called "ID" my instinctive response is to treat it as a black box integer, to be passed around but not messed with. The upside is this will take two lines out of my library. :) The downside is I have no idea why Bramanathaswami's code isn't working. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rdimola at evergreeninfo.net Tue Jul 5 19:42:46 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 5 Jul 2016 19:42:46 -0400 Subject: Front and Back Scripts on Mobile In-Reply-To: <155bd56fe78.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <008901d1d70e$64e8fe00$2ebafa00$@net> <577C3C88.9030007@fourthworld.com> <155bd56fe78.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <008a01d1d716$eeb97940$cc2c6bc0$@net> Thanks J! Yes exactly. I do all my coding around the LC field. When the user enters data in the native field I then move it to the LC field and work on it there. This allows IDE testing. Then when you start up the app set the visible of the LC field to true if in IDE (JLG's dev()) and to false when not in the IDE. In my case non-IDE is always mobile. You can layout the LC fields in the IDE and then set the rect of the native field to the rect of the now invisible LC field. Just a note: I created a library alias's for all the mobile specific commands I have used so far. For example if I need a lat/lon location in the IDE or mobile I just call My alias: Function SensorReading Local GPS if dev() then put 53.338960434184 into GPS["latitude"] put -43.6840746841539 into GPS["longitude"] else put mobileSensorReading("location", true) into GPS end if return GPS["Latitude"] , GPS["Longitude"] end SensorReading This has been mentioned before but I think all mobile specific commands should act this way in the IDE. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Tuesday, July 05, 2016 7:15 PM To: How to use LiveCode Subject: Re: Front and Back Scripts on Mobile If you assign a name to the native control, mobileControlTarget() returns it instead of the number. It's a handy way to match up native controls to their LC counterparts without keeping a reference list. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 5, 2016 6:03:49 PM Richard Gaskin wrote: > Ralph DiMola wrote: > > > This is what works for me.... > ... > > on scrollerDidScroll hScrolled, vScrolled > > local ControlID > > --answer "Here!" > > try > > put mobileControlTarget() into ControlID > > set the vscroll of control ControlID of stack "xxx" to vscrolled > > set the hscroll of control ControlID of stack "xxx" to hscrolled > > end try > > pass scrollerDidScroll > > end scrollerDidScroll > > Now I'm confused. If mobileControlTarget() returns the ID of the > native scroller, how does that affect the scroll of a LiveCode object > in the subsequent lines? > > Do we have control over mobile control IDs in a way that would allow > them to match LC object names or IDs? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Jul 5 19:49:08 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 5 Jul 2016 16:49:08 -0700 Subject: Front and Back Scripts on Mobile In-Reply-To: <008a01d1d716$eeb97940$cc2c6bc0$@net> References: <008a01d1d716$eeb97940$cc2c6bc0$@net> Message-ID: <577C4774.8030906@fourthworld.com> Ralph DiMola wrote: > Thanks J! Yes exactly. I do all my coding around the LC field. When the user > enters data in the native field I then move it to the LC field and work on > it there. This allows IDE testing. Then when you start up the app set the > visible of the LC field to true if in IDE (JLG's dev()) and to false when > not in the IDE. In my case non-IDE is always mobile. You can layout the LC > fields in the IDE and then set the rect of the native field to the rect of > the now invisible LC field. Aside from the ID pairing that's pretty much what I do - and Ken, and Dan, and most others I've talked to when I started playing with mobile, which makes me wonder: if everyone's writing the same library over and over to get an xTalk-like workflow for mobile in LC, why isn't it in the tin? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rdimola at evergreeninfo.net Tue Jul 5 21:23:22 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 5 Jul 2016 21:23:22 -0400 Subject: Front and Back Scripts on Mobile In-Reply-To: <577C4774.8030906@fourthworld.com> References: <008a01d1d716$eeb97940$cc2c6bc0$@net> <577C4774.8030906@fourthworld.com> Message-ID: <008b01d1d724$fce86c20$f6b94460$@net> Richard Gaskin wrote: >why isn't it in the tin? Maybe there should be a "MobileNative" property on a field. If set to true then all that stuff we've talked about would be invoked. Setting the vscrollbar to true would create the native scroller. When a field is not locked(for input) then only a limited subset of the field object would be available for native input. Or the more I think about it 2 properties "MobileNativeInput" and "MobileNativeOutput" to allow read-only native fields might be more appropriate. In the beginning all this fuss to make a mobile scroller got LC mobile off the ground, but it seems to me that it's time to fold it into the LC field object. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From rdimola at evergreeninfo.net Tue Jul 5 21:30:17 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 5 Jul 2016 21:30:17 -0400 Subject: Front and Back Scripts on Mobile In-Reply-To: <577C4774.8030906@fourthworld.com> References: <008a01d1d716$eeb97940$cc2c6bc0$@net> <577C4774.8030906@fourthworld.com> Message-ID: <008c01d1d725$f44ddb80$dce99280$@net> Richard Gaskin wrote: why isn't it in the tin? Maybe there should be a "MobileNative" property on a field. If set to true then all that stuff we've talked about would be invoked. Setting the vscrollbar to true would create the native scroller. When a field is not locked(for input) then only a limited subset of the field object would be available for native input. Or the more I think about it 2 properties "MobileNativeInput" and "MobileNativeOutput" to allow read-only native fields might be more appropriate. In the beginning all this fuss to make a mobile scroller got LC mobile off the ground, but it seems to me that it's time to fold it into the LC field object. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From ambassador at fourthworld.com Tue Jul 5 21:43:08 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 5 Jul 2016 18:43:08 -0700 Subject: Front and Back Scripts on Mobile In-Reply-To: <008c01d1d725$f44ddb80$dce99280$@net> References: <008c01d1d725$f44ddb80$dce99280$@net> Message-ID: <577C622C.4070509@fourthworld.com> Ralph DiMola wrote: > In the beginning all this fuss to make a mobile scroller got LC > mobile off the ground, but it seems to me that it's time to fold > it into the LC field object. The field part of it seems finally underway - that was the last of the stretch goals for the latest crowd funding, at $65,205 pledged of $55,000 goal. Or $15,016 of $15,000, depending on which page you happened to have stumbled across (seems kinda confusing to me, but at least both exceeded their goals): Just a shame to see it outstanding so long given that with just a few hours' work all of us had a very xTalk workflow in place on our own - everyone except newcomers not yet committed to the platform. :( Oh well, better late than never. One thing I'm not clear on about the new mobile-savvy field: will it provide styled text on mobile? I see so few mobile apps that support styled editable text that I'm not even sure if that's provided by the OS APIs or those devs rolled their own text engine. But if the former it would be super-cool to have options for styled text in some of our apps. Fields aside, there are still other areas where perhaps the community might pull together a best-of library for mobile support. For example, the pinch-to-zoom Lesson doesn't really work well, but there's a stack in the forums that's much better. And things like long-press, though not hard to script, would be welcome for newcomers getting started. And factoring mobile-specific language elements so they don't throw errors when working on the desktop, etc. And then there's testing. Lots that can be done there. I have error handlers in my test builds that might be handy, and I very rarely make test builds of the app per se at all - I made one app with all features enabled, and it downloads a menu stack from my server in which each button downloads an app I'm working on. In the IDE I have a one-button plugin that SCPs the stack file I'm working on to my server, and before I can pick up my phone to launch my launcher app it's uploaded and ready, just a click away (didn't take more than a few minutes in an emulator to realize that just won't work out, waaaaay to slow, makes me wonder how other app devs deal with working in toolkits that don't make streaming apps a one-liner). -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From brahma at hindu.org Tue Jul 5 22:13:31 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 6 Jul 2016 02:13:31 +0000 Subject: Front and Back Scripts on Mobile In-Reply-To: <577C4270.9070208@fourthworld.com> References: <155bd56fe78.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <577C4270.9070208@fourthworld.com> Message-ID: Thanks for all the input? meanwhile more sleuthing here? has revealed the problem (not the solution, yet?) Note the architecture? where I think the problem lies loader.livecode # inserts backscript with the create and delete mobile scroller pName where pName is the object, in this case, a group "portal-links" on card 1 of Stack A -- home.livecode? # card 1 and the open card handler fires: createScroller "portal-links" Stack B - "Surprise-Me" # card one of this stack uses the same model/objects as card 1 of the home stack: ergo another group "portal-links" but with different links? but group had the same name in Stack A as in Stack B OK so? when I load the app on the phone? the loader stack opens home.livecode and this runs command CreateScroller pName -- scrolling regions,groups, fields if not isMobile() then exit CreateScroller deleteMobileControl pName -- delete any existing put (the rect of control pName) into tRect etc? So far so good. I can scroll the portal links group on Stack A? ha. me thinks all is well? UNTIL I click the button on the portal links that opens the second Stack B "Surprise-me" which also issue another command in the card script (note that I am not closing stack home? perhaps I should) createScroller "portal-links" it fails? to scroll? and when I go back to stack A "home" the portal-links group also fails to scroll. ergo: deleteMobileControl pName has effectively wiped out the scroller "portal-links" in Stack A while at the same time failing to create a new scroller "portal-links on card 1 of Stack B Now neither the portal-links group on Stack A or B will scroll. So I'm off not to study all the posts you all made? this is interesting and important?because if we intend to use a template model for instantiating common elements across stack? we need some how for the backscript to know what object is *really* the target. (obviously) tks! BR From: use-livecode on behalf of Richard Gaskin Reply-To: How LiveCode Date: Tuesday, July 5, 2016 at 1:27 PM To: How LiveCode Subject: Re: Front and Back Scripts on Mobile The downside is I have no idea why Bramanathaswami's code isn't working. From brahma at hindu.org Tue Jul 5 22:53:36 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 6 Jul 2016 02:53:36 +0000 Subject: "Responsive" Browser Widget In-Reply-To: <1467720586448-4706370.post@n4.nabble.com> References: <61F13392-5D56-46F0-AECF-463AB6B6D607@hindu.org> <1467720586448-4706370.post@n4.nabble.com> Message-ID: <33D8EFB5-AEC4-4562-BB59-CE5D2359F0A6@hindu.org> Good suggestion? still very "hacky" I believe the challenge would be the "updating" part. I'm not really interested having this be dynamic in the sense of let the user change orientation like they would if they were browsing a web page. Our use case(s) will lock them into a specific orientation. So, yes, that was my next plan: try two different stacks in two different "shapes" and use one or the other? From: use-livecode on behalf of Sri Reply-To: How LiveCode Date: Tuesday, July 5, 2016 at 2:09 AM To: Use-Revolution OldRevListName Subject: Re: "Responsive" Browser Widget Why not have two (sub)stacks, one for each orientation, each updating the other, but only one of them visible, depending on the orientation? Is this a feasible strategy? Regards, Sri From brahma at hindu.org Tue Jul 5 23:21:38 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 6 Jul 2016 03:21:38 +0000 Subject: Front and Back Scripts on Mobile In-Reply-To: References: <155bd56fe78.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <577C4270.9070208@fourthworld.com> Message-ID: <8041CB08-3FBE-4CED-8F42-9A5AF5C746F6@hindu.org> See other post? the dictionary says Optional string to use to identify the control. The controlName must be unique amongst all existing controls and cannot be an integer. so I set the name of the group of links on Stack A home.livecode | card 1 | group "portal-links" on open card createScroller "portal-links" Stack B surprise-me.livecode t| card 2 | group "surprise-links" on open card createScroller "surprise-links" things improved somewhat? It does not matter whether I use this or Ralph's code (I did set the scrollingEnabled) And it does not matter whether if we put this in the back script or duplicate it in each stack script (not ideal.. but just to test?) go stack 1 # from button on Stack 0 -- scroller on stack 1 scrolls go stack 2 # from button on stack 1 -- scroller on stack 2 scrolls go stack 1 # from button on stack 2 -- scroller on stack 1 no longer scrolls go stack 2 # from button on stack 1 - scroller continues to scroll now on stack 2 ergo the scroller on Card 1 | Stack A "group "portal-links" has been deleted. theoretically on desktop, one would trap "resume stack" in the stack being re-activated. but "resume stack" is not amessage that fires on mobile? so when switching between stacks on mobile that are, presumably, still open in memory, how to fire a script in the stack being re-activated? (assuming this is the solution? to the scrolling problem we would delete and re-create the scroller on the fly, though this seems overkill?I don't see anything in the dictionary that says we cannot have multiple mobile scrollers open and funcational at the same time? though perhaps this is mandated but no documented? command CreateScroller pName -- scrolling regions,groups, fields if not isMobile() then exit CreateScroller deleteMobileControl pName -- delete any existing # it also doesn't help to comment out the above line? put (the rect of control pName) into tRect mobileControlCreate "scroller", pName mobileControlSet pName, "rect", tRect put ("0,0," & (the formattedwidth of control pName) & "," & the formattedheight of control pName) into tRect mobileControlSet pName, "contentRect" , tRect mobileControlSet pName, "hScroll" , 0 mobileControlSet pName, "vScroll" , 0 mobileControlSet pName, "hIndicator" , false mobileControlSet sName , "scrollingEnabled" , true mobileControlSet pName, "visible", true end CreateScroller on scrollerDidScroll hScrolled, vScrolled put mobileControlTarget() into tControlID set the vscroll of control tControlID to vscrolled pass scrollerDidScroll end scrollerDidScroll From brahma at hindu.org Wed Jul 6 00:59:37 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 6 Jul 2016 04:59:37 +0000 Subject: Stack files on Mobile How to open an external Behavior Stack Message-ID: We've been around this barn before. 1) create an external script only stack. e.g. mobileControls.livecode 2) set that as behavior for other stacks 3) add to stack files 4) go stack "movileControls.livecode" when starting the app. # dictionary says it will be found if it is in the stackfiles property 5) the behavior is now in the message path BUT: the stack files property is dimmed in the standalone settings for mobile. 8.1 DP2 yet the dictionary indicates StackFiles is a valid property for all platforms including mobile ?? From mwieder at ahsoftware.net Wed Jul 6 01:24:58 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 5 Jul 2016 22:24:58 -0700 Subject: [ANN] Release 8.1.0 DP 2 In-Reply-To: <57768B8F.5000308@fourthworld.com> References: <5775FA95.4050507@ahsoftware.net> <57768B8F.5000308@fourthworld.com> Message-ID: <577C962A.2060604@ahsoftware.net> On 07/01/2016 08:26 AM, Richard Gaskin wrote: > Mark Wieder wrote: > > The dictionary "works" for me in 64-bit linux, but only thusly: > > > > open the dictionary > > you get a blank pane > > close the dictionary > > open it again > > An electrician, an engineer, and a programmer are driving to Vegas when > the car suddenly shudders to a stop. > > The electrician suggests, "I think we should check the spark plugs." > > The engineer says, "I think we should check the intake valves." > > The programmer says, "I think we should get out of the car and then get > back into it again." > "Insanity is doing the same thing over and over again and expecting different results" - Albert Einstein -- Mark Wieder ahsoftware at gmail.com From ebeugelaar at gmail.com Wed Jul 6 04:57:03 2016 From: ebeugelaar at gmail.com (Erik Beugelaar) Date: Wed, 6 Jul 2016 10:57:03 +0200 Subject: Front and Back Scripts on Mobile In-Reply-To: <008c01d1d725$f44ddb80$dce99280$@net> References: <008a01d1d716$eeb97940$cc2c6bc0$@net> <577C4774.8030906@fourthworld.com> <008c01d1d725$f44ddb80$dce99280$@net> Message-ID: <001301d1d764$5d9d5af0$18d810d0$@gmail.com> On the LiveCode website there are a lot of lessons but they all dealing with different aspects how to do this or that and I miss a good example of an application showing how to structure and setup a LiveCode app from the start (database CRUD handling, update mechanism for the app etc.). In this thread samples about back- and frontscript which you can general use every time over again. Best ways to do this or that etc. I am thinking about a Kitchensink app or this available somewhere? Regards, Erik Sent from solidit -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Ralph DiMola Sent: woensdag 6 juli 2016 03:30 To: 'How to use LiveCode' Subject: RE: Front and Back Scripts on Mobile Richard Gaskin wrote: why isn't it in the tin? Maybe there should be a "MobileNative" property on a field. If set to true then all that stuff we've talked about would be invoked. Setting the vscrollbar to true would create the native scroller. When a field is not locked(for input) then only a limited subset of the field object would be available for native input. Or the more I think about it 2 properties "MobileNativeInput" and "MobileNativeOutput" to allow read-only native fields might be more appropriate. In the beginning all this fuss to make a mobile scroller got LC mobile off the ground, but it seems to me that it's time to fold it into the LC field object. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From iphonelagi at gmail.com Wed Jul 6 07:24:42 2016 From: iphonelagi at gmail.com (Lagi Pittas) Date: Wed, 6 Jul 2016 12:24:42 +0100 Subject: [ANN] Release 8.1.0 DP 2 In-Reply-To: <577C962A.2060604@ahsoftware.net> References: <5775FA95.4050507@ahsoftware.net> <57768B8F.5000308@fourthworld.com> <577C962A.2060604@ahsoftware.net> Message-ID: It was always and still is the same in version 6.x series for the application browser 99.99% of the time. It must have been an itch the devs didn't feel like scratching Gotta live with it now though. Lagi On 6 July 2016 at 06:24, Mark Wieder wrote: > On 07/01/2016 08:26 AM, Richard Gaskin wrote: > >> Mark Wieder wrote: >> > The dictionary "works" for me in 64-bit linux, but only thusly: >> > >> > open the dictionary >> > you get a blank pane >> > close the dictionary >> > open it again >> >> An electrician, an engineer, and a programmer are driving to Vegas when >> the car suddenly shudders to a stop. >> >> The electrician suggests, "I think we should check the spark plugs." >> >> The engineer says, "I think we should check the intake valves." >> >> The programmer says, "I think we should get out of the car and then get >> back into it again." >> >> > "Insanity is doing the same thing over and over again and expecting > different results" > > - Albert Einstein > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From hh at hh.on-rev.com Wed Jul 6 12:57:20 2016 From: hh at hh.on-rev.com (-hh) Date: Wed, 6 Jul 2016 09:57:20 -0700 (PDT) Subject: [ANN] Release 8.1.0 DP 2 In-Reply-To: References: <43244061-3408-7a6a-ff12-acc68d04b7a4@livecode.com> <577542AA.4090101@gmail.com> <57756872.5080005@fourthworld.com> <5775FA95.4050507@ahsoftware.net> <57768B8F.5000308@fourthworld.com> <577C962A.2060604@ahsoftware.net> Message-ID: <1467824240976-4706395.post@n4.nabble.com> Mark Wieder wrote: > The dictionary "works" for me in 64-bit linux, but only thusly: > > open the dictionary > you get a blank pane > close the dictionary > open it again Mark, honestly, for what else than opening and closing do *you* need the dictionary? :-) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Release-8-1-0-DP-2-tp4706199p4706395.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Wed Jul 6 13:44:56 2016 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 6 Jul 2016 20:44:56 +0300 Subject: [ANN] Release 8.1.0 DP 2 In-Reply-To: <577C962A.2060604@ahsoftware.net> References: <5775FA95.4050507@ahsoftware.net> <57768B8F.5000308@fourthworld.com> <577C962A.2060604@ahsoftware.net> Message-ID: <577D4398.2010307@gmail.com> Not true; Albert Einstein [The man who knew a lot about Physics and Maths and not much else and is quoted far too often out of context], Induction is bad reasoning ; yet we all do it all of the time. So, I always expect the unexpected; and, oddly enough, it seems to happen quite a lot. Richmond. On 6.07.2016 08:24, Mark Wieder wrote: > On 07/01/2016 08:26 AM, Richard Gaskin wrote: >> Mark Wieder wrote: >> > The dictionary "works" for me in 64-bit linux, but only thusly: >> > >> > open the dictionary >> > you get a blank pane >> > close the dictionary >> > open it again >> >> An electrician, an engineer, and a programmer are driving to Vegas when >> the car suddenly shudders to a stop. >> >> The electrician suggests, "I think we should check the spark plugs." >> >> The engineer says, "I think we should check the intake valves." >> >> The programmer says, "I think we should get out of the car and then get >> back into it again." >> > > "Insanity is doing the same thing over and over again and expecting > different results" > > - Albert Einstein > From brahma at hindu.org Wed Jul 6 13:46:09 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 6 Jul 2016 17:46:09 +0000 Subject: Front and Back Scripts on Mobile In-Reply-To: <001301d1d764$5d9d5af0$18d810d0$@gmail.com> References: <008a01d1d716$eeb97940$cc2c6bc0$@net> <577C4774.8030906@fourthworld.com> <008c01d1d725$f44ddb80$dce99280$@net> <001301d1d764$5d9d5af0$18d810d0$@gmail.com> Message-ID: Part of the solution is more examples/amd explanation(s) in the dictionary itself. For example, right now I'm struggling with getting a mobileCreateScroller to work from a backscript. I think it may do better using an external lc.livecodescript script only as a behavior but the dictionary gives no example of how to actually implement that in a portable fashion. There is no clear indication of exactly how an external stack is loaded into memory and made available on mobile. on infers that it should be part of your stack files and they in a preopen stack handler one should probably "go stack mybehavior.livecodescript" but the button to add stack files the standalone builder for mobile is dimmed. So this kind of thing is very, very costly in terms of time needed to do hit and miss testing? 2 days for me now?I think I have built and loaded my app nearly 75 times onto my iPhone? BR From: use-livecode on behalf of Erik Beugelaar Reply-To: How LiveCode Date: Tuesday, July 5, 2016 at 10:57 PM To: How LiveCode Subject: RE: Front and Back Scripts on Mobile On the LiveCode website there are a lot of lessons but they all dealing with different aspects how to do this or that and I miss a good example of an application showing how to structure and setup a LiveCode app from the start (database CRUD handling, update mechanism for the app etc.). In this thread samples about back- and frontscript which you can general use every time over again. Best ways to do this or that etc. I am thinking about a Kitchensink app or this available somewhere? Regards, Erik From MikeKerner at roadrunner.com Wed Jul 6 13:54:34 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 6 Jul 2016 13:54:34 -0400 Subject: Front and Back Scripts on Mobile In-Reply-To: References: <008a01d1d716$eeb97940$cc2c6bc0$@net> <577C4774.8030906@fourthworld.com> <008c01d1d725$f44ddb80$dce99280$@net> <001301d1d764$5d9d5af0$18d810d0$@gmail.com> Message-ID: San, I have only been paying light attention to this thread, so if I missed this, please ignore. Have you checked to find out if something else is silently killing your script cascade before it gets to the backscript? On Wed, Jul 6, 2016 at 1:46 PM, Sannyasin Brahmanathaswami wrote: > Part of the solution is more examples/amd explanation(s) in the dictionary > itself. For example, right now I'm struggling with getting a > mobileCreateScroller to work from a backscript. > > I think it may do better using an external lc.livecodescript script only > as a behavior but the dictionary gives no example of how to actually > implement that in a portable fashion. There is no clear indication of > exactly how an external stack is loaded into memory and made available on > mobile. on infers that it should be part of your stack files and they in a > preopen stack handler one should probably "go stack > mybehavior.livecodescript" but the button to add stack files the > standalone builder for mobile is dimmed. > > So this kind of thing is very, very costly in terms of time needed to do > hit and miss testing? 2 days for me now?I think I have built and loaded my > app nearly 75 times onto my iPhone? > > BR > > From: use-livecode on behalf of > Erik Beugelaar > Reply-To: How LiveCode > Date: Tuesday, July 5, 2016 at 10:57 PM > To: How LiveCode > Subject: RE: Front and Back Scripts on Mobile > > On the LiveCode website there are a lot of lessons but they all dealing > with > different aspects how to do this or that and I miss a good example of an > application showing how to structure and setup a LiveCode app from the > start > (database CRUD handling, update mechanism for the app etc.). > In this thread samples about back- and frontscript which you can general > use > every time over again. Best ways to do this or that etc. > > I am thinking about a Kitchensink app or this available somewhere? > > Regards, > Erik > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From ambassador at fourthworld.com Wed Jul 6 13:57:46 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 6 Jul 2016 10:57:46 -0700 Subject: Front and Back Scripts on Mobile In-Reply-To: References: Message-ID: <577D469A.3010401@fourthworld.com> Sannyasin Brahmanathaswami wrote: > Part of the solution is more examples/amd explanation(s) in the > dictionary itself. For example, right now I'm struggling with getting > a mobileCreateScroller to work from a backscript. > > I think it may do better using an external lc.livecodescript script > only as a behavior but the dictionary gives no example of how to > actually implement that in a portable fashion. There is no clear > indication of exactly how an external stack is loaded into memory and > made available on mobile. on infers that it should be part of your > stack files and they in a preopen stack handler one should probably > "go stack mybehavior.livecodescript" but the button to add stack > files the standalone builder for mobile is dimmed. That doesn't seem as much a documentation error as a Standalone Builder bug. Have you reported it? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dsc at swcp.com Wed Jul 6 14:20:02 2016 From: dsc at swcp.com (Dar Scott) Date: Wed, 6 Jul 2016 12:20:02 -0600 Subject: somewhat OT, funny (was Re: [ANN] Release 8.1.0 DP 2) In-Reply-To: <577C962A.2060604@ahsoftware.net> References: <5775FA95.4050507@ahsoftware.net> <57768B8F.5000308@fourthworld.com> <577C962A.2060604@ahsoftware.net> Message-ID: <3C2F57CD-60E6-429B-8BEE-11A886D053BF@swcp.com> Something like this actually happened to a friend of mine and the programmer's solution worked, though she had to apply it several times as the car kept stalling. She was able to get the car back to the mechanic, who apologized and said that he had had to set the car's computer back to factory settings in fixing the previous problems but there is a bug in factory default and it sets fuel levels too low after a few minutes. That computer is reset by disconnecting the battery or by locking the car (or sending an encrypted reset code), so by getting out and locking the car she had a few more minutes. He had neglected to take the next step and felt silly. The mechanic did something with the computer (applied updates? set elevation?) and the problem was fixed. She was happy. > On Jul 5, 2016, at 11:24 PM, Mark Wieder wrote: > > On 07/01/2016 08:26 AM, Richard Gaskin wrote: >> Mark Wieder wrote: >> > The dictionary "works" for me in 64-bit linux, but only thusly: >> > >> > open the dictionary >> > you get a blank pane >> > close the dictionary >> > open it again >> >> An electrician, an engineer, and a programmer are driving to Vegas when >> the car suddenly shudders to a stop. >> >> The electrician suggests, "I think we should check the spark plugs." >> >> The engineer says, "I think we should check the intake valves." >> >> The programmer says, "I think we should get out of the car and then get >> back into it again." >> > > "Insanity is doing the same thing over and over again and expecting different results" > > - Albert Einstein > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Jul 6 14:27:59 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 6 Jul 2016 13:27:59 -0500 Subject: Front and Back Scripts on Mobile In-Reply-To: <8041CB08-3FBE-4CED-8F42-9A5AF5C746F6@hindu.org> References: <155bd56fe78.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <577C4270.9070208@fourthworld.com> <8041CB08-3FBE-4CED-8F42-9A5AF5C746F6@hindu.org> Message-ID: On 7/5/2016 10:21 PM, Sannyasin Brahmanathaswami wrote: > Stack A home.livecode | card 1 | group "portal-links" > on open card > createScroller "portal-links" > > Stack B surprise-me.livecode t| card 2 | group "surprise-links" > > > on open card > createScroller "surprise-links" > > things improved somewhat? > > It does not matter whether I use this or Ralph's code (I did set the scrollingEnabled) > And it does not matter whether if we put this in the back script or duplicate it in each stack script (not ideal.. but just to test?) > > go stack 1 # from button on Stack 0 -- scroller on stack 1 scrolls > go stack 2 # from button on stack 1 -- scroller on stack 2 scrolls > go stack 1 # from button on stack 2 -- scroller on stack 1 no longer scrolls > go stack 2 # from button on stack 1 - scroller continues to scroll now on stack 2 > > ergo the scroller on Card 1 | Stack A "group "portal-links" has been deleted. It's more likely it's just not scrolling. It's best to delete all native controls on closecard and recreate them on preOpenCard (not sure about widgets, but this was true of controls created by script.) Otherwise behavior can be unreliable. I can't remember now if you're doing that or not. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brahma at hindu.org Wed Jul 6 15:06:50 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 6 Jul 2016 19:06:50 +0000 Subject: Front and Back Scripts on Mobile In-Reply-To: References: <008a01d1d716$eeb97940$cc2c6bc0$@net> <577C4774.8030906@fourthworld.com> <008c01d1d725$f44ddb80$dce99280$@net> <001301d1d764$5d9d5af0$18d810d0$@gmail.com> Message-ID: <8025E35C-F29B-4E47-8146-FE943ABAAA8F@hindu.org> Yes?Andre built a robust logging feature into the backscript. I can fire a log entry like this in the backscript on createScroller pName logRaw "Go this far!" etc. Also see other thread? with more detail on the issue. I *can* get the scroller to work on cd 1 of stack A, but then when we go to cd 1 of Stack B which also has a scroller, it will then work there? but not if I go back to cd 1 of stack A. So far the only way I can get it to work reliably is to put the same handlers into the stack script of each stack. So now I'm want to try a behavior instead? but I can't get the external script only stack into memory. All I can say is? at this rate trial and error fumbling I will never get Alzheimer's (ha) and the log shows this when run on desktop. ASIDE: FYI for the short form of my name you can use "Brahma" as in the bull -- or the beer brand in Brasil whichever is easiest to remember. From: use-livecode on behalf of Mike Kerner Reply-To: How LiveCode Date: Wednesday, July 6, 2016 at 7:54 AM To: How LiveCode Subject: Re: Front and Back Scripts on Mobile San, I have only been paying light attention to this thread, so if I missed this, please ignore. Have you checked to find out if something else is silently killing your script cascade before it gets to the backscript? From brahma at hindu.org Wed Jul 6 15:11:09 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 6 Jul 2016 19:11:09 +0000 Subject: Front and Back Scripts on Mobile In-Reply-To: <577D469A.3010401@fourthworld.com> References: <577D469A.3010401@fourthworld.com> Message-ID: This seems to "elementary" that I could not imagine the team would not see this before release. So I assumed it was by design. Plus I was recently scolded off list for reporting bugs that were actually my ignorance. (even though in fact 75% of my reports are legit bugs) So now I'm a bit gun shy about reporting bugs until I flog it to death on this list first. Once it stops moving (no more replies from anyone) then I bug report it. I assume you feel that we should be able add stack files on mobile? so, I will report it. BR Richard wrote: Subject: Re: Front and Back Scripts on Mobile but the button to add stack > files the standalone builder for mobile is dimmed. That doesn't seem as much a documentation error as a Standalone Builder bug. Have you reported it? From brahma at hindu.org Wed Jul 6 15:12:22 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 6 Jul 2016 19:12:22 +0000 Subject: Stack files on Mobile How to open an external Behavior Stack In-Reply-To: References: Message-ID: <11B87F9E-A712-4F83-8A12-02233D2F8ECC@hindu.org> Related post on the forums: http://forums.livecode.com/phpBB2/viewtopic.php?f=8&t=25730 We've been around this barn before. 1) create an external script only stack. e.g. mobileControls.livecode 2) set that as behavior for other stacks 3) add to stack files 4) go stack "movileControls.livecode" when starting the app. # dictionary says it will be found if it is in the stackfiles property 5) the behavior is now in the message path BUT: the stack files property is dimmed in the standalone settings for mobile. 8.1 DP2 yet the dictionary indicates StackFiles is a valid property for all platforms including mobile ?? From brahma at hindu.org Wed Jul 6 15:17:03 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 6 Jul 2016 19:17:03 +0000 Subject: Stack files on Mobile How to open an external Behavior Stack In-Reply-To: <11B87F9E-A712-4F83-8A12-02233D2F8ECC@hindu.org> References: <11B87F9E-A712-4F83-8A12-02233D2F8ECC@hindu.org> Message-ID: related bug report from April here: http://quality.livecode.com/show_bug.cgi?id=17409 still unresolved? my next attempt will be the "start using " method. We know where the script only stack is? so we can get the local path and get it into memory ? hopefully the behavior will fire. From: use-livecode on behalf of Brahmanathaswami Reply-To: How LiveCode Date: Wednesday, July 6, 2016 at 9:12 AM To: How LiveCode Subject: Re: Stack files on Mobile How to open an external Behavior Stack Related post on the forums: http://forums.livecode.com/phpBB2/viewtopic.php?f=8&t=25730 We've been around this barn before. 1) create an external script only stack. e.g. mobileControls.livecode 2) set that as behavior for other stacks 3) add to stack files 4) go stack "movileControls.livecode" when starting the app. # dictionary says it will be found if it is in the stackfiles property 5) the behavior is now in the message path BUT: the stack files property is dimmed in the standalone settings for mobile. 8.1 DP2 yet the dictionary indicates StackFiles is a valid property for all platforms including mobile ?? From rdimola at evergreeninfo.net Wed Jul 6 15:22:30 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 6 Jul 2016 15:22:30 -0400 Subject: Stack files on Mobile How to open an external Behavior Stack In-Reply-To: <11B87F9E-A712-4F83-8A12-02233D2F8ECC@hindu.org> References: <11B87F9E-A712-4F83-8A12-02233D2F8ECC@hindu.org> Message-ID: <003301d1d7bb$bdd368e0$397a3aa0$@net> I include all stacks(all library stacks and my "Main stack") in the "copy files" pane of the standalone settings. My main stack is just a stub. I then open the "main" stack from the stub and "start using" the library stacks. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Sannyasin Brahmanathaswami Sent: Wednesday, July 06, 2016 3:12 PM To: How to use LiveCode Subject: Re: Stack files on Mobile How to open an external Behavior Stack Related post on the forums: http://forums.livecode.com/phpBB2/viewtopic.php?f=8&t=25730 We've been around this barn before. 1) create an external script only stack. e.g. mobileControls.livecode 2) set that as behavior for other stacks 3) add to stack files 4) go stack "movileControls.livecode" when starting the app. # dictionary says it will be found if it is in the stackfiles property 5) the behavior is now in the message path BUT: the stack files property is dimmed in the standalone settings for mobile. 8.1 DP2 yet the dictionary indicates StackFiles is a valid property for all platforms including mobile ?? _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Wed Jul 6 15:36:14 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 6 Jul 2016 15:36:14 -0400 Subject: Front and Back Scripts on Mobile In-Reply-To: References: <577D469A.3010401@fourthworld.com> Message-ID: BR, why can't I just call you "4D wonk"? On Wed, Jul 6, 2016 at 3:11 PM, Sannyasin Brahmanathaswami wrote: > This seems to "elementary" that I could not imagine the team would not see > this before release. So I assumed it was by design. Plus I was recently > scolded off list for reporting bugs that were actually my ignorance. (even > though in fact 75% of my reports are legit bugs) So now I'm a bit gun shy > about reporting bugs until I flog it to death on this list first. Once it > stops moving (no more replies from anyone) then I bug report it. > > I assume you feel that we should be able add stack files on mobile? so, I > will report it. > > BR > > Richard wrote: > > Subject: Re: Front and Back Scripts on Mobile > > but the button to add stack > > files the standalone builder for mobile is dimmed. > > That doesn't seem as much a documentation error as a Standalone Builder > bug. Have you reported it? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From ambassador at fourthworld.com Wed Jul 6 15:38:41 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 6 Jul 2016 12:38:41 -0700 Subject: Front and Back Scripts on Mobile In-Reply-To: References: Message-ID: <577D5E41.3020104@fourthworld.com> Sannyasin Brahmanathaswami wrote: > Richard wrote: > That doesn't seem as much a documentation error as a Standalone > Builder bug. Have you reported it? > > This seems to "elementary" that I could not imagine the team would > not see this before release. There are some regressions that mystify me too. > So I assumed it was by design. Sometimes design decisions merit reconsideration (see File -> New Stack). > Plus I was recently scolded off list for reporting bugs that were > actually my ignorance. (even though in fact 75% of my reports are > legit bugs) So now I'm a bit gun shy about reporting bugs until I > flog it to death on this list first. Perhaps it's the tone during the flogging that the team found tiresome. Yours aren't nearly as bad as some of the stuff I see here and in the forums, where it's as though the Internet somehow precludes basic good manners, writing with a tone that appears to presume the team is either stupid, lazy, or both. It's exhausting to read such things, and more than a bit demotivating. Courteous results-focused professionalism goes a long way. I've submitted a few bugs which were later explained as unnecessary, but since I try to be respectful when communicating they return the favor. Good manners are the lubricant of teamwork. > I assume you feel that we should be able add stack files on mobile? > so, I will report it. I see no reason why it should be prevented. If there is a reason they'll close it with an explanation. If there's any heat feel free to mention that report was my suggestion. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Wed Jul 6 15:43:31 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 6 Jul 2016 12:43:31 -0700 Subject: Stack files on Mobile How to open an external Behavior Stack In-Reply-To: References: Message-ID: <577D5F63.8060604@fourthworld.com> Sannyasin Brahmanathaswami wrote: > related bug report from April here: > > http://quality.livecode.com/show_bug.cgi?id=17409 > > still unresolved? my next attempt will be the "start using " method. > We know where the script only stack is? so we can get the local path > and get it into memory ? hopefully the behavior will fire. You could load it yourself. One of the benefits of having spent years with the spartan MC IDE is that I learned that as long as the engine will let me do something I needn't ever be held back by limitations in other people's tools. The stackfiles is a scriptable property, and as we've discussed at length months ago a stack can be loaded into memory as simply as accessing a property within it, or as Ralph suggested perhaps it could be a library loaded with "start using". There are many ways to solve most problems in LC. Everything in the LC IDE is made with LC. Everything is scriptable. Let nothing hold you back. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From pete at lcsql.com Wed Jul 6 15:55:36 2016 From: pete at lcsql.com (Peter Haworth) Date: Wed, 06 Jul 2016 19:55:36 +0000 Subject: the templateControl Message-ID: When clicking an icon in the property inspector for a Navigation Bar widget, a newControl message is sent for the id "widget id 1002 of stack "Popup Widget" of the templateControl". I can't find an entry for templateControl in the dictionary. I'm also confused as to how a stack can be owned by anything other than another stack or a stack file. Finally, does anyone know of a way to reliable identify an IDE stack these days? Used to be they began with "rev" or "com.livecode" but "Pop Widget" doesn't follow any of those conventions. From richmondmathewson at gmail.com Wed Jul 6 17:08:47 2016 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 7 Jul 2016 00:08:47 +0300 Subject: [HC] USB Devices Message-ID: <577D735F.1040905@gmail.com> No: "HC" means 'hoary chestnut' here; not that ancient piece of software a lot of people seem to be still hung up on for no obvious good reason when Livecode has more than replaced it. My beloved Belkin Nostromo n52, when connected to a Mac, a PC running Linux, a PC running Windows, and PC running MorphOS, and an iPad via a powered USB hub (I enjoyed that one a lot) acts like the left quarter of a keyboard and delivers signals to the OS, and to Livecode readily detectable with keyUp and rawKeyUp routines. My slightly less beloved Belkin Nostromo n50 is useless in this respect [Mac and Windows will work with it with the (Ancient) Belkin software installed]. My juvenile Steering wheel + foot pedals combo and my gamepad just won't work without drivers. Now I know very well that when I press one of the buttons on those devices it sends a signal to the physical computer (after all, without that the drivers would produce nothing). What I would really like to know is what differentiates a keyboard (and my Nostromo n52) from all those other USB devices so profoundly that makes them effectively useless for cross-platform work with Livecode. This is a 'hoary chestnut' that keeps coming up (I've brought it up at least once before0, and never receives what can be reasonably called a proper answer. Richmond. From dsc at swcp.com Wed Jul 6 18:15:30 2016 From: dsc at swcp.com (Dar Scott) Date: Wed, 6 Jul 2016 16:15:30 -0600 Subject: [HC] USB Devices In-Reply-To: <577D735F.1040905@gmail.com> References: <577D735F.1040905@gmail.com> Message-ID: I'm not sure I understand the relevant conundrum. If a device meets certain standards, then a standard device driver (probably included in the OS) will translate something at the device to standard events at the computer. If some features are nonstandard, then a specialized driver is needed. Sometimes a more general driver can be used. This still needs user code that groks the general interface. I expect we will see some connections to general drivers for LiveCode in the near future. These might be useful to the few who are willing to dive into the more general standards. However, for specific things such as keyboards that have some nonstandard features, it seems to me the best thing is to simply install the driver for the device. If that driver converts (say) pressing a foot pedal press to keyboard codes, then use the key events. So, the best I can tell from your email, this is not really a LiveCode issue. LiveCode lives in an OS. You seem to say drivers are available. Just install them. Dar > On Jul 6, 2016, at 3:08 PM, Richmond wrote: > > No: "HC" means 'hoary chestnut' here; not that ancient piece of software a lot > of people seem to be still hung up on for no obvious good reason when Livecode > has more than replaced it. > > My beloved Belkin Nostromo n52, when connected to a Mac, a PC running Linux, > a PC running Windows, and PC running MorphOS, and an iPad via a powered USB hub > (I enjoyed that one a lot) acts like the left quarter of a keyboard and delivers signals to the OS, > and to Livecode readily detectable with keyUp and rawKeyUp routines. > > My slightly less beloved Belkin Nostromo n50 is useless in this respect [Mac and Windows > will work with it with the (Ancient) Belkin software installed]. My juvenile Steering wheel + > foot pedals combo and my gamepad just won't work without drivers. > > Now I know very well that when I press one of the buttons on those devices it sends a signal to the > physical computer (after all, without that the drivers would produce nothing). > > What I would really like to know is what differentiates a keyboard (and my Nostromo n52) from all > those other USB devices so profoundly that makes them effectively useless for cross-platform work > with Livecode. > > This is a 'hoary chestnut' that keeps coming up (I've brought it up at least once before0, and never > receives what can be reasonably called a proper answer. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Wed Jul 6 20:42:52 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 7 Jul 2016 00:42:52 +0000 Subject: Stack files on Mobile How to open an external Behavior Stack In-Reply-To: <577D5F63.8060604@fourthworld.com> References: <577D5F63.8060604@fourthworld.com> Message-ID: <8DDD9E6C-E7DF-4D1F-8299-5E86E5612C2A@hindu.org> Richard writes: There are many ways to solve most problems in LC. Everything in the LC IDE is made with LC. Everything is scriptable. Let nothing hold you back. Indeed? we are going in that direction on several counts 1) Start Using works? but clutters the message hierarchy 2) apparently, merely asking about the existence of a stack will put it into memory, without putting it into the message path?but it is now available for behaviors. 3) setting behaviors in the IDE works of course, but leaves you blind. So let's set them all dynamically in the pre0penstack handler(s) that's how the IDE seems to do it if you go sleuthing through the IDE files. Then you can see quickly in your stacks script all the behaviors and external files that may be in play.. (otherwise you have mystery set of objects with behaviors, could be anywhere) and you get the extra benefit of assuring your framework that paths are good. 4) some day we need a "map" for the IDE and then one could study it to better advantage but opening the files that open when it runs, one after another.. .I could not quit determine Who's On First" with the IDE, in terms of loading order.. From brahma at hindu.org Wed Jul 6 20:45:53 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 7 Jul 2016 00:45:53 +0000 Subject: Stack files on Mobile How to open an external Behavior Stack In-Reply-To: <003301d1d7bb$bdd368e0$397a3aa0$@net> References: <11B87F9E-A712-4F83-8A12-02233D2F8ECC@hindu.org> <003301d1d7bb$bdd368e0$397a3aa0$@net> Message-ID: <6E1A8858-4A33-4351-9C93-AC8045506848@hindu.org> RALPH: I include all stacks(all library stacks and my "Main stack") in the "copy files" pane of the standalone settings. My main stack is just a stub. I then open the "main" stack from the stub and "start using" the library stacks. BR: yes, I was about to do that, since adding stack files was dimmed (I reported it) but someone on my team explained that, for behaviors, then all the lib stacks are in the message hierarchy, so if you wanted to get them in memory, just ask if they exist, then they are in memory, but "private" to the "parent" objects that use them as behaviors. From brahma at hindu.org Wed Jul 6 20:48:32 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 7 Jul 2016 00:48:32 +0000 Subject: Front and Back Scripts on Mobile In-Reply-To: References: <577D469A.3010401@fourthworld.com> Message-ID: <0B3804D9-3DF9-4771-8F25-CC9B9E27224D@hindu.org> LOL! because I'm not the one that codes 4D? if you have been going to the annual 4D conference(s) and think you see me there.. that's actually Shanmuganathaswami and Siddhanathaswami, not me.. They are the 4D wizards? From: use-livecode on behalf of Mike Kerner Reply-To: How LiveCode Date: Wednesday, July 6, 2016 at 9:36 AM To: How LiveCode Subject: Re: Front and Back Scripts on Mobile BR, why can't I just call you "4D wonk"? On Wed, Jul 6, 2016 at 3:11 PM, Sannyasin Brahmanathaswami wrote: This seems to "elementary" that I could not imagine the team would not see this before release. So I assumed it was by design. Plus I was recently scolded off list for reporting bugs that were actually my ignorance. (even though in fact 75% of my reports are legit bugs) So now I'm a bit gun shy about reporting bugs until I flog it to death on this list first. Once it stops moving (no more replies from anyone) then I bug report it. I assume you feel that we should be able add stack files on mobile? so, I will report it. BR Richard wrote: Subject: Re: Front and Back Scripts on Mobile but the button to add stack > files the standalone builder for mobile is dimmed. That doesn't seem as much a documentation error as a Standalone Builder bug. Have you reported it? _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Wed Jul 6 20:54:44 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 7 Jul 2016 00:54:44 +0000 Subject: 8.1.0 DP2 suddently becomes unresponsive Message-ID: <8D20328D-0CE4-4F45-874F-5FEA2230E174@hindu.org> I'm spending literally 8-10 hours a day right now in LC (too much fun, I really need to get back to my magazine editorial work for this month!) Periodically, the whole IDE shuts down in the sense that the select tool will not select anything and there attempts to invoke the property inspector from the project browser or RevApplicationBrowser are greeted with "silence." script editor will magically go off to 0,-1400, (happens often enough that my msg box has set the rect of stack "revnewscripteditor 1" to 100,100,400,800 handy to get him back. Anyone else seeing this? I have no recipe. impossible to track From ambassador at fourthworld.com Wed Jul 6 21:24:29 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 6 Jul 2016 18:24:29 -0700 Subject: Stack files on Mobile How to open an external Behavior Stack In-Reply-To: <8DDD9E6C-E7DF-4D1F-8299-5E86E5612C2A@hindu.org> References: <8DDD9E6C-E7DF-4D1F-8299-5E86E5612C2A@hindu.org> Message-ID: <577DAF4D.4060906@fourthworld.com> Sannyasin Brahmanathaswami wrote: > 4) some day we need a "map" for the IDE and then one could study it > to better advantage but opening the files that open when it runs, one > after another.. .I could not quit determine Who's On First" with the > IDE, in terms of loading order.. "There's no place like home..." Everything in LiveCode begins with a startup message. The development engine looks for a home stack and attempts to load that. From there Home's startup handler takes over. To begin the journey, in the Message Box run: edit script of stack "home" -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Wed Jul 6 21:29:02 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 6 Jul 2016 18:29:02 -0700 Subject: Front and Back Scripts on Mobile In-Reply-To: References: <577D469A.3010401@fourthworld.com> Message-ID: <577DB05E.1000401@ahsoftware.net> On 07/06/2016 12:11 PM, Sannyasin Brahmanathaswami wrote: > Plus I was recently scolded off list for reporting bugs that were actually my ignorance. Whoever did the scolding (you know who you are) did no service to you, to the user base in general, and to LiveCode quality. If you think you have a bug you should report it. Having users hesitant to report bugs does nobody any good. It's up to the bug triage team to decide what's what. -- Mark Wieder ahsoftware at gmail.com From bogdanoff at me.com Wed Jul 6 21:29:08 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Wed, 06 Jul 2016 18:29:08 -0700 Subject: 8.1.0 DP2 suddently becomes unresponsive In-Reply-To: <8D20328D-0CE4-4F45-874F-5FEA2230E174@hindu.org> References: <8D20328D-0CE4-4F45-874F-5FEA2230E174@hindu.org> Message-ID: <49723DB0-5BA8-4256-B7D9-7548ACC7CF36@me.com> Yes, I?m seeing that kind of thing: 1. One of my stacks disappears, and I then find it offscreen below, or when the program opens the editor is down below, not where it was when I was last working. 2. A stack becomes unresponsive?either the screen image of the stack becomes totally grey, or the Inspector won?t show, or the Inspector shows info for another card. This possibly happens after working in the script editor for awhile, and then clicking to focus on the stack again, but it?s hard to reproduce. One time after leaving the script editor, several open stack windows each turned grey as I clicked on them in sequence?but there were also other open stack windows that didn?t do this (I typically have 5-7 stack windows open at once). 3. The issue seen in earlier versions of LC8 seems to remain?where the Inspector doesn?t show info for the topLevel stack, but another stack below. Peter On Jul 6, 2016, at 5:54 PM, Sannyasin Brahmanathaswami wrote: > I'm spending literally 8-10 hours a day right now in LC (too much fun, I really need to get back to my magazine editorial work for this month!) > > > Periodically, the whole IDE shuts down in the sense that the select tool will not select anything and there attempts to invoke the property inspector from the project browser or RevApplicationBrowser are greeted with "silence." script editor will magically go off to 0,-1400, (happens often enough that my msg box has > > set the rect of stack "revnewscripteditor 1" to 100,100,400,800 > > handy to get him back. > > Anyone else seeing this? I have no recipe. impossible to track > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Wed Jul 6 21:40:42 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 6 Jul 2016 18:40:42 -0700 Subject: [ANN] Release 8.1.0 DP 2 In-Reply-To: <577D4398.2010307@gmail.com> References: <5775FA95.4050507@ahsoftware.net> <57768B8F.5000308@fourthworld.com> <577C962A.2060604@ahsoftware.net> <577D4398.2010307@gmail.com> Message-ID: <577DB31A.6010005@ahsoftware.net> On 07/06/2016 10:44 AM, Richmond wrote: > Not true; Albert Einstein [The man who knew a lot about Physics and > Maths and not much else and Best to stick to things you know something about, yes? At any rate, the quote is variously ascribed to Einstein and to Benjamin Franklin, but probably originated with Voltaire: Lorsque l'on effectue une action, atteint un mauvais r?sultat, puis r?p?te l'action plusieurs fois attendent un meilleur r?sultat, on est un peu fou de singe, non? -- R?flexions sur la jonque -- Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Wed Jul 6 21:47:45 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 6 Jul 2016 18:47:45 -0700 Subject: [HC] USB Devices In-Reply-To: <577D735F.1040905@gmail.com> References: <577D735F.1040905@gmail.com> Message-ID: <577DB4C1.7020003@ahsoftware.net> On 07/06/2016 02:08 PM, Richmond wrote: > What I would really like to know is what differentiates a keyboard (and > my Nostromo n52) from all those other USB devices Well, unfortunately there's no such thing as "all those other USB devices". It's a wild untamed world of devices out there, and there are loose standards to act as guidelines, but there's a lot of leeway for the writers of usb drivers to improvise. Modern operating systems have generic usb driver support that will handle a wide variety of different types of devices (you probably don't need drivers to plug in thumb drives or CD/DVD devices or keyboards/mice) but there are still usb devices that need special handling. Your n52 seems to have firmware that allows it to be supported natively in more modern OS versions, but your n50 apparently doesn't, and so needs drivers installed. -- Mark Wieder ahsoftware at gmail.com From tfabacher at gmail.com Thu Jul 7 01:22:30 2016 From: tfabacher at gmail.com (Todd Fabacher) Date: Thu, 7 Jul 2016 01:22:30 -0400 Subject: Progress on WP REST API Message-ID: Here are two plugins that will allow WP to become a customizable DB server with little to no DB experience. Perfect for LC students and people who want to get a DB setup online, but don't have the experience or know-how. https://wordpress.org/plugins/advanced-custom-fields/ https://wordpress.org/plugins/acf-to-rest-api/ but also, I have found many Custom Post Type Plugins: https://wordpress.org/plugins/custom-post-type-ui/ https://wordpress.org/plugins/types/ https://wordpress.org/plugins/pods/ https://wordpress.org/plugins/custom-post-type-maker/ We can look to adding this to the LiveCode WP Rest API library. I get emails and I see some post of people asking how to setup a customized web data server. These would do the trick. Plus most are open source and FREE, but a few have a more feature rich commercial version. We would like to focus on creating a sample App in LiveCode that utilized WooCommerce. I think it is important to have several different example Apps before we start to pitch to the WP community at large...any ideas???? Any other questions [please let me know. I have had about 2 dozen people email with questions and express interest in integrating WP with LiveCode. --Todd From richmondmathewson at gmail.com Thu Jul 7 01:45:35 2016 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 7 Jul 2016 08:45:35 +0300 Subject: [HC] USB Devices In-Reply-To: References: <577D735F.1040905@gmail.com> Message-ID: <577DEC7F.4040908@gmail.com> Yes: drivers are available for these devices; rarely for Linux, sometimes for Macintosh and always for Windows. The problem is that this makes it extremely difficult if one wants to author a game which can be deployed cross-platform with predefined settings for gamepads. R. On 7.07.2016 01:15, Dar Scott wrote: > I'm not sure I understand the relevant conundrum. > > If a device meets certain standards, then a standard device driver (probably included in the OS) will translate something at the device to standard events at the computer. > > If some features are nonstandard, then a specialized driver is needed. > > Sometimes a more general driver can be used. This still needs user code that groks the general interface. I expect we will see some connections to general drivers for LiveCode in the near future. These might be useful to the few who are willing to dive into the more general standards. > > However, for specific things such as keyboards that have some nonstandard features, it seems to me the best thing is to simply install the driver for the device. If that driver converts (say) pressing a foot pedal press to keyboard codes, then use the key events. > > So, the best I can tell from your email, this is not really a LiveCode issue. LiveCode lives in an OS. > > You seem to say drivers are available. Just install them. > > Dar > > >> On Jul 6, 2016, at 3:08 PM, Richmond wrote: >> >> No: "HC" means 'hoary chestnut' here; not that ancient piece of software a lot >> of people seem to be still hung up on for no obvious good reason when Livecode >> has more than replaced it. >> >> My beloved Belkin Nostromo n52, when connected to a Mac, a PC running Linux, >> a PC running Windows, and PC running MorphOS, and an iPad via a powered USB hub >> (I enjoyed that one a lot) acts like the left quarter of a keyboard and delivers signals to the OS, >> and to Livecode readily detectable with keyUp and rawKeyUp routines. >> >> My slightly less beloved Belkin Nostromo n50 is useless in this respect [Mac and Windows >> will work with it with the (Ancient) Belkin software installed]. My juvenile Steering wheel + >> foot pedals combo and my gamepad just won't work without drivers. >> >> Now I know very well that when I press one of the buttons on those devices it sends a signal to the >> physical computer (after all, without that the drivers would produce nothing). >> >> What I would really like to know is what differentiates a keyboard (and my Nostromo n52) from all >> those other USB devices so profoundly that makes them effectively useless for cross-platform work >> with Livecode. >> >> This is a 'hoary chestnut' that keeps coming up (I've brought it up at least once before0, and never >> receives what can be reasonably called a proper answer. >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Thu Jul 7 03:16:31 2016 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 7 Jul 2016 09:16:31 +0200 Subject: AW: Intel QSV H.264 codec for AVFoundation and DirectShow In-Reply-To: <002a01d1d68c$ec386760$c4a93620$@kestner.de> References: <001301d1d5d8$7d652d50$782f87f0$@kestner.de> <577A7D24.6010306@fourthworld.com> <002a01d1d68c$ec386760$c4a93620$@kestner.de> Message-ID: <002401d1d81f$7d102190$773064b0$@kestner.de> FYI I asked Sorenson Media, whos video compressor I am using, if I have to pay license fees for the H.264 codec for encoding videos with Sorenson squeeze for a commercial product. They answered to me: " No, you do not need to pay any license fees to use any codecs included in Squeeze. Sorenson Media pays any license fees necessary for all the codecs contained in Squeeze. Once you have encoded your video with a licensed product, like Squeeze, you will never need to pay any licensing fees again." Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB Gesendet: Dienstag, 5. Juli 2016 09:15 An: 'How to use LiveCode' Betreff: AW: Intel QSV H.264 codec for AVFoundation and DirectShow Hi Richard, thank you for your profund informations and helpful links. I wasn't aware of this complex matter. I have to think about if I want to let sleeping dogs lie. Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Richard Gaskin Gesendet: Montag, 4. Juli 2016 17:14 An: use-livecode at lists.runrev.com Betreff: Re: Intel QSV H.264 codec for AVFoundation and DirectShow Tiemo Hollmann wrote: > I am looking for the most standardized state of the art codec to get a > maximum of compatibility on both platforms, so I think H.264 is the > right choice. > > My special requirement is, that I have to step thru the video frame by > frame controlled by LC. > > My sorenson squeeze compressor offers 4 different H.264 codecs: "Intel > QSV H.264", "MainConcept H.264", "Sorenson MPEG-4", "x264" > > My LC tests showed me, that I need to set a keyframe every single > frame to be able to step thru the video framebased (at least with > DirectShow). This option do only the intel QSV and the x264 codec offer. > > The x264 codec is a opensource codec and as far as I understand it is > not preinstalled on any system and at least on my Mac a x264 video > can't be played (perhaps there is a chance to manually install it, > what I would like to avoid for my customers) > > So up to now it seems to me that only the intel QSV H.264 is left of > my choices. It should be supported from Windows Vista on and from OS X 10.8 on. > > Has anybody experiences in this field of codecs, other experiences or > tipps or would negate some of my conclusions? Choosing a codec is a complex issues given the scope and variety of their patent licensing. My lay person's understanding is that x264 is available under GPL, so it's useful for GPL-governed works but as you've noted isn't as widely available across the many platforms we may choose to support. H.264 is a good codec technically and has wide distribution, but AFAIK remains mired in a patent pool so complex it needs an FAQ to try to explain it: This article describes some of the legal considerations with H.264 in lay terms: One of the open questions for us software developers is the case of distributing commercial tools that use H.264. Apple and Microsoft have their own license arrangements with the MPEG-LA consortium for distributing the codec with their respective OSes (perhaps easier for Apple since they're a member of that consortium), but we may need to review the OS EULA to determine the allowable scope of use for the codec in our own commercial software products. For example, here are relevant sections of the Final Cut Pro X EULA, which make it explicitly clear that despite the product's name professional use is disallowed: This product is licensed under the MPEG-4 Visual Patent Portfolio License for the personal and noncommercial use of a consumer for (i) encoding video in compliance with the MPEG-4 Visual Standard ("MPEG-4 Video") and/or (ii) decoding MPEG-4 video that was encoded by a consumer engaged in a personal and non-commercial activity and/or was obtained from a video provider licensed by MPEG LA to provide MPEG-4 video. No license is granted or shall be implied for any other use. Additional information including that relating to promotional, internal and commercial uses and licensing may be obtained from MPEG LA, LLC. See http://www.mpegla.com. D. H.264/AVC Notice. To the extent that the Apple Software contains AVC encoding and/or decoding functionality, commercial use of H.264/AVC requires additional licensing and the following provision applies: THE AVC FUNCTIONALITY IN THIS PRODUCT IS LICENSED HEREIN ONLY FOR THE PERSONAL AND NON-COMMERCIAL USE OF A CONSUMER TO (i) ENCODE VIDEO IN COMPLIANCE WITH THE AVC STANDARD ("AVC VIDEO") AND/OR (ii) DECODE AVC VIDEO THAT WAS ENCODED BY A CONSUMER ENGAGED IN A PERSONAL AND NON-COMMERCIAL ACTIVITY AND/OR AVC VIDEO THAT WAS OBTAINED FROM A VIDEO PROVIDER LICENSED TO PROVIDE AVC VIDEO. INFORMATION REGARDING OTHER USES AND LICENSES MAY BE OBTAINED FROM MPEG LA L.L.C. SEE HTTP://WWW.MPEGLA.COM. Given the wide variety of software components that play a role in H.264 decoding, it may be helpful to refer to this table of expiration dates to attempt to determine when the relevant H.264 patents will expire: When in doubt, it may be best to communicate directly with the MPEG-LA consortium to determine appropriate H.264 licensing requirements for your commercial app that requires the codec. It may be that the commercial-use restrictions apply only to encoding but not decoding, so depending on the specific features of your app the patent restrictions may or may not apply in your specific use-case. If you find that there's some sort of pass-through provision that can apply to us from the OS vendor's patent license, perhaps with the prohibition of commercial use by end-users as Final Cut Pro X has done, please let us know. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacques.clavel at gmail.com Thu Jul 7 04:09:52 2016 From: jacques.clavel at gmail.com (Jacques Clavel) Date: Thu, 7 Jul 2016 10:09:52 +0200 Subject: [ANN] Release 8.1.0 DP 2 In-Reply-To: <577DB31A.6010005@ahsoftware.net> References: <5775FA95.4050507@ahsoftware.net> <57768B8F.5000308@fourthworld.com> <577C962A.2060604@ahsoftware.net> <577D4398.2010307@gmail.com> <577DB31A.6010005@ahsoftware.net> Message-ID: Mark wrote : *At any rate, the quote is variously ascribed to Einstein and to Benjamin Franklin, but probably originated with Voltaire:Lorsque l'on effectue une action, atteint un mauvais r?sultat, puis r?p?te l'action plusieurs fois attendent un meilleur r?sultat, on est un peu fou de singe, non? -- R?flexions sur la jonque* I have found the Wikiquote english site, which says that... But this quote is not a correct sentence in french. Correct sentence would be : "Lorsque l'on effectue une action, atteint un mauvais r?sultat, puis r?p?te l'action plusieurs fois *en attendant* un meilleur r?sultat, on est un peu fou de *recommencer*, non?" And I have not found "R?flexion sur la Jonque" in the list of the text from Voltaire. Perhaps it exists, but I have not found it. Ah the Web data source... 2016-07-07 3:40 GMT+02:00 Mark Wieder : > On 07/06/2016 10:44 AM, Richmond wrote: > >> Not true; Albert Einstein [The man who knew a lot about Physics and >> Maths and not much else and >> > > Best to stick to things you know something about, yes? > > > At any rate, the quote is variously ascribed to Einstein and to Benjamin > Franklin, but probably originated with Voltaire: > > Lorsque l'on effectue une action, atteint un mauvais r?sultat, puis r?p?te > l'action plusieurs fois attendent un meilleur r?sultat, on est un peu fou > de singe, non? > > -- R?flexions sur la jonque > > -- > Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacques Clavel From mark at livecode.com Thu Jul 7 04:24:00 2016 From: mark at livecode.com (Mark Waddingham) Date: Thu, 07 Jul 2016 10:24:00 +0200 Subject: AW: Intel QSV H.264 codec for AVFoundation and DirectShow In-Reply-To: <002401d1d81f$7d102190$773064b0$@kestner.de> References: <001301d1d5d8$7d652d50$782f87f0$@kestner.de> <577A7D24.6010306@fourthworld.com> <002a01d1d68c$ec386760$c4a93620$@kestner.de> <002401d1d81f$7d102190$773064b0$@kestner.de> Message-ID: On 2016-07-07 09:16, Tiemo Hollmann TB wrote: > FYI > I asked Sorenson Media, whos video compressor I am using, if I have to > pay > license fees for the H.264 codec for encoding videos with Sorenson > squeeze > for a commercial product. They answered to me: > > " No, you do not need to pay any license fees to use any codecs > included in > Squeeze. Sorenson Media pays any license fees necessary for all the > codecs > contained in Squeeze. Once you have encoded your video with a licensed > product, like Squeeze, you will never need to pay any licensing fees > again." This is what I would expect. If you produce and distribute a program which includes an H.264 compressor or decompressor then you need to pay patent license fees (in actual fact, I suspect even if you don't distribute said program, and use it to generate compressed video, you still need to pay patent license fees). So, if you use a third-party product you have bought (like Squeeze), and OS included codecs to playback the video (like AVFoundation and DirectShow used in LiveCode) then that has already been taken care of for you. In regards to the 'stepping' - it might worth asking Sorenson (who sound very helpful!) about that. In particular with regards DirectShow. Having a key frame every frame I'd have thought would vastly reduce the effacy of compression - so I wonder if there's some other tricks to encoding which would let it work in DirectShow, the way you want. Alternatively, if you can find an open source program which *does* allow stepping through H.264 videos via DirectShow on Windows then let us know and we can see if it is possible to make DirectShow do that without special encoding options. (After all, if AVFoundation lets you do it for an arbitrary H.264 encoded video, then you'd think it would be possible for DirectShow to; on the other hand, AVFoundation I think is newer and perhaps 'better' than DirectShow due to that, so it is very hard to say!). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From richmondmathewson at gmail.com Thu Jul 7 05:11:42 2016 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 7 Jul 2016 12:11:42 +0300 Subject: [ANN] Release 8.1.0 DP 2 In-Reply-To: References: <5775FA95.4050507@ahsoftware.net> <57768B8F.5000308@fourthworld.com> <577C962A.2060604@ahsoftware.net> <577D4398.2010307@gmail.com> <577DB31A.6010005@ahsoftware.net> Message-ID: <577E1CCE.9050902@gmail.com> It is amazing how many "wise" sayings are attributed to many "Wise" people: Voltaire and Einstein included. This, I believe, is a human tendency to seek authority to their ideas by ascribing them to authority figures: like religious (and 'religious') people ascribing everything wise to their scripture. R. On 7.07.2016 11:09, Jacques Clavel wrote: > Mark wrote : > > > > > > *At any rate, the quote is variously ascribed to Einstein and to Benjamin > Franklin, but probably originated with Voltaire:Lorsque l'on effectue une > action, atteint un mauvais r?sultat, puis r?p?te l'action plusieurs fois > attendent un meilleur r?sultat, on est un peu fou de singe, non? -- > R?flexions sur la jonque* > > I have found the Wikiquote english site, which says that... > But this quote is not a correct sentence in french. Correct sentence would > be : > "Lorsque l'on effectue une action, atteint un mauvais r?sultat, puis r?p?te > l'action plusieurs fois *en attendant* un meilleur r?sultat, on est un peu > fou de *recommencer*, non?" > > And I have not found "R?flexion sur la Jonque" in the list of the text from > Voltaire. Perhaps it exists, but I have not found it. > Ah the Web data source... > > 2016-07-07 3:40 GMT+02:00 Mark Wieder : > >> On 07/06/2016 10:44 AM, Richmond wrote: >> >>> Not true; Albert Einstein [The man who knew a lot about Physics and >>> Maths and not much else and >>> >> Best to stick to things you know something about, yes? >> >> >> At any rate, the quote is variously ascribed to Einstein and to Benjamin >> Franklin, but probably originated with Voltaire: >> >> Lorsque l'on effectue une action, atteint un mauvais r?sultat, puis r?p?te >> l'action plusieurs fois attendent un meilleur r?sultat, on est un peu fou >> de singe, non? >> >> -- R?flexions sur la jonque >> >> -- >> Mark Wieder >> ahsoftware at gmail.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From ray at linkit.com Thu Jul 7 08:36:54 2016 From: ray at linkit.com (Ray) Date: Thu, 7 Jul 2016 08:36:54 -0400 Subject: How do you stop editing a data grid cell In-Reply-To: <573E070A.9020903@researchware.com> References: <2101aed6-08c7-4967-9470-526099320381@LinkIt.Com> <573E070A.9020903@researchware.com> Message-ID: <74a17682-2f41-5436-cc02-a82ac54269d5@LinkIt.Com> So a cell is open for editing in a data grid. Click outside of the cell, it closes up (keeping the new data) and a 'closeFieldEditor' message is sent to the data grid group. Good. The problem is user don't always click outside the cell to manually close it up. They may, for example, make a menu choice which opens a palette. If they do, the new data in the cell is lost. Sending 'closeFieldEditor' does no good. Ideas? From bonnmike at gmail.com Thu Jul 7 08:47:39 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 7 Jul 2016 06:47:39 -0600 Subject: android sdk fyi Message-ID: I recently started working with android again, and was having trouble building successfully. aapt.exe would crash every time. If you happen to run into this, go to the sdk manager and install the build tools 22.01, then backup the aapt.exe in the most recent build tools (just in case) and copy the aapt.exe from the 22.01 build tools in to replace it. A version other than 22.01 might work, but during research of the problem I ran across mention of that specific version. Unfortunately, I can't seem to find it again, but hey, it worked! From sritcp at gmail.com Thu Jul 7 08:35:55 2016 From: sritcp at gmail.com (Sri) Date: Thu, 7 Jul 2016 05:35:55 -0700 (PDT) Subject: What Newbies Expect In-Reply-To: References: Message-ID: <1467894955126-4706430.post@n4.nabble.com> I am reading this thread on the web and I find two other threads (by Ray Horsley-2) entangled with this one. What is going on? Do others see this? Regards, Sri -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/What-Newbies-Expect-tp4704871p4706430.html Sent from the Revolution - User mailing list archive at Nabble.com. From iphonelagi at gmail.com Thu Jul 7 09:45:52 2016 From: iphonelagi at gmail.com (Lagi Pittas) Date: Thu, 7 Jul 2016 14:45:52 +0100 Subject: [ANN] Release 8.1.0 DP 2 In-Reply-To: <577E1CCE.9050902@gmail.com> References: <5775FA95.4050507@ahsoftware.net> <57768B8F.5000308@fourthworld.com> <577C962A.2060604@ahsoftware.net> <577D4398.2010307@gmail.com> <577DB31A.6010005@ahsoftware.net> <577E1CCE.9050902@gmail.com> Message-ID: If we are going to bring up einstein , he is the "scientist" I think who everybody defers to and yet he was basically a 100% fraud and a plagiarist. His equation was publshed by the italian physicist De pretto and many others. While I was making sure I remembered my facts I found this - and other than a couple of new ones on me (Isaac Newton and Preston - all the others I had heard of) https://www.physicsforums.com/threads/einstein-did-not-derive-e-mc2-first.28362/ But he missed out Lorentz so I found this: naturalphilosophy.org/site/harryricker/2015/05/23/the-origin-of-the-equation-e-mc2/ One thing to not is that Poincare sent einstein a lecture he was going to give a few days before eistein publish his paper (using Poincare's paper - with no acknowledgement) in face His papers had no footnots, credits or anything and it was still published. Now here is the kicker Eienstein (the Genius ) didn't get his Nobel prize in 1906 or 1907 but in 1921 and not for the theory of relativity but for "for his services to Theoretical Physics, and especially for his discovery of the law of the photoelectric effect". Why? because although many of the people who knew he was a fraud had died - there where still people alive who knew the truth so they could't bring themselves to give it to him for "the greatest equation ever". ) Some years before he died he admitted that the equation stemmed from Maxwells equations (a true Genius if ever there was one, up their with R.P. Feynman Feynman and Nikola Tesla) |I know this is off topic but I have known about thus liar and fraud for so may years. When we say he's an Einstein we should be saying he's a TESLA. Einsteins wife Mileva was probably the brains read about his philandering and payment to here to keep quiet. In Walter Isaacson's biography we get a list of the conditions he gave to Mileva *A. You will make sure:* *1. that my clothes and laundry are kept in good order;* *2. that I will receive my three meals regularly in my room;* *3. that my bedroom and study are kept neat, and especially that my desk is left for my use only.* *B. You will renounce all personal relations with me insofar as they are not completely necessary for social reasons. Specifically, You will forego:* *1. my sitting at home with you;* *2. my going out or travelling with you.* *C. You will obey the following points in your relations with me:* *1. you will not expect any intimacy from me, nor will you reproach me in any way;* *2. you will stop talking to me if I request it;* *3. you will leave my bedroom or study immediately without protest if I request it.* *D. You will undertake not to belittle me in front of our children, either through words or behavior.* *http://www.openculture.com/2013/12/albert-einstein-imposes-on-his-first-wife-a-cruel-list-of-marital-demands.html * But Isaacson still drinks the coolaid of Einstein as a genius. One thing to note all other papers he ever wrote where with others - (probably totally written by the other) but using Einsteins name to add gravitas to the paper. I have not seen one quote attributed to Einstein that somebody else had not said before, but the one we are talking about here https://en.wikiquote.org/wiki/Rita_Mae_Brown Before I finish Here is where I check if a quote is attributable to someone. I found it years ago when I got so pissed off with yes you read my mind all these quotes from the Genius Einstein that I knew where either Voltaire, Twain, Disraeli and so many more (they do the same with Winston Churchill btw). http://quoteinvestigator.com/2013/04/06/fish-climb/ Thanks Richmond I have another hour or more of programming to catch up on. Now don't get me started on OBAMA with the Nobel peace prize - Cognitive Dissonance anyone? Kindest Regards Lagi btw read the book "Genius"by John Gribben about the real Genius Richard Feynman and you will find a few anecdotes that will add fuel to this particular funeral Pyre And While your at it "Surely your joking Mr Feynman" and "What do you care what other people think" both by Ralph Leighton. I don't care if you're not into science - you won't put them down they are that good (How to pick up Women and Crack safes - and the Space Shuttle Challenger story). https://www.youtube.com/watch?v=ZOzoLdfWyKw On 7 July 2016 at 10:11, Richmond wrote: > It is amazing how many "wise" sayings are attributed to many "Wise" > people: Voltaire and Einstein included. This, I believe, is a human > tendency to seek authority to their ideas by ascribing them to > authority figures: like religious (and 'religious') people ascribing > everything wise to their scripture. > > R. > > On 7.07.2016 11:09, Jacques Clavel wrote: > >> Mark wrote : >> >> >> >> >> >> *At any rate, the quote is variously ascribed to Einstein and to Benjamin >> Franklin, but probably originated with Voltaire:Lorsque l'on effectue une >> action, atteint un mauvais r?sultat, puis r?p?te l'action plusieurs fois >> attendent un meilleur r?sultat, on est un peu fou de singe, non? -- >> R?flexions sur la jonque* >> >> I have found the Wikiquote english site, which says that... >> But this quote is not a correct sentence in french. Correct sentence would >> be : >> "Lorsque l'on effectue une action, atteint un mauvais r?sultat, puis >> r?p?te >> l'action plusieurs fois *en attendant* un meilleur r?sultat, on est un peu >> fou de *recommencer*, non?" >> >> And I have not found "R?flexion sur la Jonque" in the list of the text >> from >> Voltaire. Perhaps it exists, but I have not found it. >> Ah the Web data source... >> >> 2016-07-07 3:40 GMT+02:00 Mark Wieder : >> >> On 07/06/2016 10:44 AM, Richmond wrote: >>> >>> Not true; Albert Einstein [The man who knew a lot about Physics and >>>> Maths and not much else and >>>> >>>> Best to stick to things you know something about, yes? >>> >>> >>> At any rate, the quote is variously ascribed to Einstein and to Benjamin >>> Franklin, but probably originated with Voltaire: >>> >>> Lorsque l'on effectue une action, atteint un mauvais r?sultat, puis >>> r?p?te >>> l'action plusieurs fois attendent un meilleur r?sultat, on est un peu fou >>> de singe, non? >>> >>> -- R?flexions sur la jonque >>> >>> -- >>> Mark Wieder >>> ahsoftware at gmail.com >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Thu Jul 7 09:51:20 2016 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 7 Jul 2016 09:51:20 -0400 Subject: How do you stop editing a data grid cell In-Reply-To: <74a17682-2f41-5436-cc02-a82ac54269d5@LinkIt.Com> Message-ID: <155c5a08986-4ca7-1806f@webprd-m29.mail.aol.com> Hi. If I leave a DG cell open for editing, it closes if I: open, say, the Application Manager from the menuBar select a menuItem from a comboBox Select any tool from the tool palette. What did you do, exactly, that kept the field open? Craig Newman -----Original Message----- From: Ray To: use-livecode Sent: Thu, Jul 7, 2016 8:39 am Subject: How do you stop editing a data grid cell So a cell is open for editing in a data grid. Click outside of the cell, it closes up (keeping the new data) and a 'closeFieldEditor' message is sent to the data grid group. Good. The problem is user don't always click outside the cell to manually close it up. They may, for example, make a menu choice which opens a palette. If they do, the new data in the cell is lost. Sending 'closeFieldEditor' does no good. Ideas? _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Jul 7 10:08:54 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 7 Jul 2016 07:08:54 -0700 Subject: AW: Intel QSV H.264 codec for AVFoundation and DirectShow In-Reply-To: <002401d1d81f$7d102190$773064b0$@kestner.de> References: <002401d1d81f$7d102190$773064b0$@kestner.de> Message-ID: <577E6276.5090901@fourthworld.com> Tiemo Hollmann wrote: > FYI > I asked Sorenson Media, whos video compressor I am using, if I have > to pay license fees for the H.264 codec for encoding videos with > Sorenson squeeze for a commercial product. They answered to me: > > " No, you do not need to pay any license fees to use any codecs > included in Squeeze. Sorenson Media pays any license fees necessary > for all the codecs contained in Squeeze. Once you have encoded your > video with a licensed product, like Squeeze, you will never need to > pay any licensing fees again." That would seem reasonable. My earlier comment was based around the misunderstanding that you were making software that included the codec. If you're just using other people's software then of course their EULA describes their software's use. It's nice to see that Sorensen has paid the extra multi-million dollar fee for their customers' commercial use that Apple didn't for Final Cut Pro. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From warren at warrensweb.us Thu Jul 7 10:12:48 2016 From: warren at warrensweb.us (Warren Samples) Date: Thu, 7 Jul 2016 09:12:48 -0500 Subject: What Newbies Expect In-Reply-To: <1467894955126-4706430.post@n4.nabble.com> References: <1467894955126-4706430.post@n4.nabble.com> Message-ID: <577E6360.5090609@warrensweb.us> On 07/07/2016 07:35 AM, Sri wrote: > I am reading this thread on the web and I find two other threads (by Ray > Horsley-2) entangled with this one. What is going on? Do others see this? > > Regards, > Sri > > > I see it in my current email client. There are several people on the list wose habit is to start new topics by replying to a message in a current thread rather than starting a new thread by posting a "new" message. Whether or not this results in disorganization or other issues is dependent on how (which email client or web interface) you view the list. Many email clients sort lists by subject rather than by the message ID in the headers, so not everybody is affected. I mentioned this once not too long ago and it didn't generate much response in general nor a positive response from those who do it. Warren From mikedoub at gmail.com Thu Jul 7 12:00:42 2016 From: mikedoub at gmail.com (Michael Doub) Date: Thu, 7 Jul 2016 12:00:42 -0400 Subject: Progress on WP REST API In-Reply-To: References: Message-ID: Todd, I think a good example app would be a simple membership management application that collects dues. This would allow you to demonstrate how a user could create an account, collect and edit personal contact information (address, phone, email...) and pay their membership dues online. You could also show how to do password recovery. You could have a admin side that would show membership management and the admin side of the payment system. I can see this being used a foundation for a lot of different online applications. It seems like most systems have the notion of user accounts, password recovery, payments, and even though we don't see it, they all have an admin side. Regards, Mike On 7/7/16 1:22 AM, Todd Fabacher wrote: > Here are two plugins that will allow WP to become a customizable DB server > with little to no DB experience. Perfect for LC students and people who > want to get a DB setup online, but don't have the experience or know-how. > > https://wordpress.org/plugins/advanced-custom-fields/ > https://wordpress.org/plugins/acf-to-rest-api/ > > > but also, I have found many Custom Post Type Plugins: > > https://wordpress.org/plugins/custom-post-type-ui/ > https://wordpress.org/plugins/types/ > https://wordpress.org/plugins/pods/ > https://wordpress.org/plugins/custom-post-type-maker/ > > We can look to adding this to the LiveCode WP Rest API library. I get > emails and I see some post of people asking how to setup a customized web > data server. These would do the trick. Plus most are open source and FREE, > but a few have a more feature rich commercial version. > > > We would like to focus on creating a sample App in LiveCode that utilized > WooCommerce. I think it is important to have several different example Apps > before we start to pitch to the WP community at large...any ideas???? > > Any other questions [please let me know. I have had about 2 dozen people > email with questions and express interest in integrating WP with LiveCode. > > --Todd > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sritcp at gmail.com Thu Jul 7 12:18:41 2016 From: sritcp at gmail.com (Sri) Date: Thu, 7 Jul 2016 09:18:41 -0700 (PDT) Subject: What Newbies Expect In-Reply-To: <577E6360.5090609@warrensweb.us> References: <1467894955126-4706430.post@n4.nabble.com> <577E6360.5090609@warrensweb.us> Message-ID: <1467908321301-4706436.post@n4.nabble.com> Warren Samples wrote > There are several people on the > list wose habit is to start new topics by replying to a message in a > current thread rather than starting a new thread by posting a "new" > message. Ah, that must be it! I don't see it too often, but now and again a thread has different subject titles for different messages in it! As I start reading them without really looking at the subject line each time, a message makes no sense to me and I feel I have fallen down a rabbit hole! Regards, Sri -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/What-Newbies-Expect-tp4704871p4706436.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacques.clavel at gmail.com Thu Jul 7 13:16:45 2016 From: jacques.clavel at gmail.com (Jacques Clavel) Date: Thu, 7 Jul 2016 19:16:45 +0200 Subject: [ANN] Release 8.1.0 DP 2 In-Reply-To: References: <5775FA95.4050507@ahsoftware.net> <57768B8F.5000308@fourthworld.com> <577C962A.2060604@ahsoftware.net> <577D4398.2010307@gmail.com> <577DB31A.6010005@ahsoftware.net> <577E1CCE.9050902@gmail.com> Message-ID: I don't know if Einstein was a genius or not, but if I had a quarter of the genius of Einstein, Ill be very, very, very happy :-)) 2016-07-07 15:45 GMT+02:00 Lagi Pittas : > If we are going to bring up einstein , he is the "scientist" I think who > everybody defers to and yet he was basically a 100% fraud and a plagiarist. > > His equation was publshed by the italian physicist De pretto and many > others. > > While I was making sure I remembered my facts I found this - and other than > a couple of new ones on me (Isaac Newton and Preston - all the others I had > heard of) > > > https://www.physicsforums.com/threads/einstein-did-not-derive-e-mc2-first.28362/ > > But he missed out Lorentz so I found this: > > > naturalphilosophy.org/site/harryricker/2015/05/23/the-origin-of-the-equation-e-mc2/ > > One thing to not is that Poincare sent einstein a lecture he was going to > give a few days before eistein publish his paper (using Poincare's paper - > with no acknowledgement) in face His papers had > no footnots, credits or anything and it was still published. > > Now here is the kicker Eienstein (the Genius ) didn't get his Nobel > prize in 1906 or 1907 but in 1921 and not for the theory of relativity but > for > > "for his services to Theoretical Physics, and especially for his discovery > of the law of the photoelectric effect". > > Why? because although many of the people who knew he was a fraud had died - > there where still people alive who knew the truth so they could't bring > themselves to give it to him for > "the greatest equation ever". > ) > Some years before he died he admitted that the equation stemmed from > Maxwells equations (a true Genius if ever there was one, up their with R.P. > Feynman Feynman and Nikola Tesla) > > |I know this is off topic but I have known about thus liar and fraud for so > may years. When we say he's an Einstein we should be saying he's a TESLA. > > Einsteins wife Mileva was probably the brains read about his philandering > and payment to here to keep quiet. > > In Walter Isaacson's biography we get a list of the conditions he gave to > Mileva > > *A. You will make sure:* > > *1. that my clothes and laundry are kept in good order;* > *2. that I will receive my three meals regularly in my room;* > *3. that my bedroom and study are kept neat, and especially that my desk is > left for my use only.* > > *B. You will renounce all personal relations with me insofar as they are > not completely necessary for social reasons. Specifically, You will > forego:* > > *1. my sitting at home with you;* > *2. my going out or travelling with you.* > > *C. You will obey the following points in your relations with me:* > > *1. you will not expect any intimacy from me, nor will you reproach me in > any way;* > *2. you will stop talking to me if I request it;* > *3. you will leave my bedroom or study immediately without protest if I > request it.* > > *D. You will undertake not to belittle me in front of our children, either > through words or behavior.* > > > > * > http://www.openculture.com/2013/12/albert-einstein-imposes-on-his-first-wife-a-cruel-list-of-marital-demands.html > < > http://www.openculture.com/2013/12/albert-einstein-imposes-on-his-first-wife-a-cruel-list-of-marital-demands.html > >* > > > But Isaacson still drinks the coolaid of Einstein as a genius. > > One thing to note all other papers he ever wrote where with others - > (probably totally written by the other) but using Einsteins name to add > gravitas to the paper. > > I have not seen one quote attributed to Einstein that somebody else had not > said before, but the one we are talking about here > > https://en.wikiquote.org/wiki/Rita_Mae_Brown > > Before I finish > > Here is where I check if a quote is attributable to someone. I found it > years ago when I got so pissed off with yes you read my mind all these > quotes from the Genius Einstein that I knew where either Voltaire, Twain, > Disraeli and so many more (they do the same with Winston Churchill btw). > > > http://quoteinvestigator.com/2013/04/06/fish-climb/ > > Thanks Richmond I have another hour or more of programming to catch up on. > > Now don't get me started on OBAMA with the Nobel peace prize - Cognitive > Dissonance anyone? > > > > Kindest Regards > > Lagi > > btw read the book "Genius"by John Gribben about the real Genius Richard > Feynman and you will find a few anecdotes that will add fuel to this > particular funeral Pyre > > And While your at it > "Surely your joking Mr Feynman" > and > "What do you care what other people think" both by Ralph Leighton. > > I don't care if you're not into science - you won't put them down they are > that good (How to pick up Women and Crack safes - and the Space Shuttle > Challenger story). > > https://www.youtube.com/watch?v=ZOzoLdfWyKw > > > On 7 July 2016 at 10:11, Richmond wrote: > > > It is amazing how many "wise" sayings are attributed to many "Wise" > > people: Voltaire and Einstein included. This, I believe, is a human > > tendency to seek authority to their ideas by ascribing them to > > authority figures: like religious (and 'religious') people ascribing > > everything wise to their scripture. > > > > R. > > > > On 7.07.2016 11:09, Jacques Clavel wrote: > > > >> Mark wrote : > >> > >> > >> > >> > >> > >> *At any rate, the quote is variously ascribed to Einstein and to > Benjamin > >> Franklin, but probably originated with Voltaire:Lorsque l'on effectue > une > >> action, atteint un mauvais r?sultat, puis r?p?te l'action plusieurs fois > >> attendent un meilleur r?sultat, on est un peu fou de singe, non? -- > >> R?flexions sur la jonque* > >> > >> I have found the Wikiquote english site, which says that... > >> But this quote is not a correct sentence in french. Correct sentence > would > >> be : > >> "Lorsque l'on effectue une action, atteint un mauvais r?sultat, puis > >> r?p?te > >> l'action plusieurs fois *en attendant* un meilleur r?sultat, on est un > peu > >> fou de *recommencer*, non?" > >> > >> And I have not found "R?flexion sur la Jonque" in the list of the text > >> from > >> Voltaire. Perhaps it exists, but I have not found it. > >> Ah the Web data source... > >> > >> 2016-07-07 3:40 GMT+02:00 Mark Wieder : > >> > >> On 07/06/2016 10:44 AM, Richmond wrote: > >>> > >>> Not true; Albert Einstein [The man who knew a lot about Physics and > >>>> Maths and not much else and > >>>> > >>>> Best to stick to things you know something about, yes? > >>> > >>> > >>> At any rate, the quote is variously ascribed to Einstein and to > Benjamin > >>> Franklin, but probably originated with Voltaire: > >>> > >>> Lorsque l'on effectue une action, atteint un mauvais r?sultat, puis > >>> r?p?te > >>> l'action plusieurs fois attendent un meilleur r?sultat, on est un peu > fou > >>> de singe, non? > >>> > >>> -- R?flexions sur la jonque > >>> > >>> -- > >>> Mark Wieder > >>> ahsoftware at gmail.com > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >>> > >> > >> > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacques Clavel From pmbrig at gmail.com Thu Jul 7 13:24:15 2016 From: pmbrig at gmail.com (Peter M. Brigham) Date: Thu, 7 Jul 2016 13:24:15 -0400 Subject: [ANN] Release 8.1.0 DP 2 In-Reply-To: <577E1CCE.9050902@gmail.com> References: <5775FA95.4050507@ahsoftware.net> <57768B8F.5000308@fourthworld.com> <577C962A.2060604@ahsoftware.net> <577D4398.2010307@gmail.com> <577DB31A.6010005@ahsoftware.net> <577E1CCE.9050902@gmail.com> Message-ID: <4A539A5D-83FE-4E79-A272-08D2E82EA291@gmail.com> On Jul 7, 2016, at 5:11 AM, Richmond wrote: > It is amazing how many "wise" sayings are attributed to many "Wise" people: Voltaire and Einstein included. This, I believe, is a human tendency to seek authority to their ideas by ascribing them to authority figures: like religious (and 'religious') people ascribing everything wise to their scripture. The trouble with quotes on the internet is that sometimes they are attributed to the wrong people. -- Benjamin Franklin -- Peter Peter M. Brigham pmbrig at gmail.com From brahma at hindu.org Thu Jul 7 13:32:36 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 7 Jul 2016 17:32:36 +0000 Subject: Tree Widget- Is it Working? + JSON Message-ID: <969DF3C2-6134-44A4-AAE5-3DB5E4CB76A1@hindu.org> we are seeing major caveats/issues with the new browser widget, so before I try using the new tree widget I wanted to ask 1) Is it working well on iOS and Android? 2) has anyone got a script that use the new JSON lib to read JSON and install that into the tree? BR From richmondmathewson at gmail.com Thu Jul 7 13:43:32 2016 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 7 Jul 2016 20:43:32 +0300 Subject: [ANN] Release 8.1.0 DP 2 In-Reply-To: <4A539A5D-83FE-4E79-A272-08D2E82EA291@gmail.com> References: <5775FA95.4050507@ahsoftware.net> <57768B8F.5000308@fourthworld.com> <577C962A.2060604@ahsoftware.net> <577D4398.2010307@gmail.com> <577DB31A.6010005@ahsoftware.net> <577E1CCE.9050902@gmail.com> <4A539A5D-83FE-4E79-A272-08D2E82EA291@gmail.com> Message-ID: <577E94C4.8050509@gmail.com> Personally I always ascribe everything to my Grandfather for a number of very good reasons: 1. He was a highly skilled surgeon of impeccable reputation, and read for pleasure in both Latin and Classical Greek. 2. He never wrote down anything except medical papers. 3. He died in 1975. 4. I love his memory still. There's absolutely no way of checking; so that's got to be good. R. On 7.07.2016 20:24, Peter M. Brigham wrote: > On Jul 7, 2016, at 5:11 AM, Richmond wrote: > >> It is amazing how many "wise" sayings are attributed to many "Wise" people: Voltaire and Einstein included. This, I believe, is a human tendency to seek authority to their ideas by ascribing them to authority figures: like religious (and 'religious') people ascribing everything wise to their scripture. > The trouble with quotes on the internet is that sometimes they are attributed to the wrong people. -- Benjamin Franklin > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Thu Jul 7 13:53:50 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 7 Jul 2016 10:53:50 -0700 Subject: revUpdateGeometry throwing error In-Reply-To: References: Message-ID: Hmm. Accidentally opened the new 8.0 RC from the other day, and I get a different error. lib:error occurred on line: 0 863,0,0,runtime 864,0,0,chunk index out of range 865,0,0,palleteactons.lcb 866,0,0,400 After the above dialog, my error dialog uses a custom answer with three choices. In 7, the breakpoint if "pause" is chosen is obeyed; in this RC, it is not. On Fri, Jul 1, 2016 at 9:42 AM, Dr. Hawkins wrote: > *bump* > > Does anyone have an idea for this? I've done everything I can to try to > find a way to debug it, but I'm stuck. > > It still throws the error on program load. > > I've even deleted all the live code configuration files and reinstalled, > yet the problem remains. > > > On Sat, Jun 25, 2016 at 4:09 PM, Dr. Hawkins wrote: > >> Sometime after processing the open scripts for my main stack, but before >> processing messages sent from there with "send0", there is an error thrown >> by revUpdateGeometry. As near as I can tell, its has to do with the >> message box. >> >> If I put >> >> >> answer "!!!";breakppoint >> >> >> at the beginning of the preOpenStack, the behavior doesn't manifest. >> >> Otherwise, >> >> whoops! 6/25/164:07 PM >> >> 1466896063910 >> >> >> lib: error occurred on line: 478 >> >> >> pParseError: >> >> >> >> pExecutionError: >> >> 573,478,1,revUpdateGeometry >> >> 587,478,1 >> >> 241,464,1,controlsExpand >> >> 353,0,0,stack "/Applications/LiveCode Indy >> 7.1.4.app/Contents/Tools/Toolset/palettes/revmessagebox.rev" >> >> 573,93,1,controlsExpand >> >> 253,93,1 >> >> 241,90,1,preOpenStack >> >> 353,0,0,stack "/Applications/LiveCode Indy >> 7.1.4.app/Contents/Tools/Toolset/palettes/revmessagebox.rev" >> >> >> context: >> >> stack >> "/Users/hawk/dhbk/16/1604/160404/dhLib.160404b.livecode",errorDialog,826 >> >> gets sent to the errorDialgo handler: >> >> *on* errorDialog pExecutionError, pParseError >> >> cck ("whoops! " & the date & the time & cr & the milliseconds & cr & >> cr \ >> >> & "lib: error occurred on line: " & item 2 of line 1 of >> pExecutionError & cr & cr \ >> >> & "pParseError:" & cr & pParseError & cr & cr \ >> >> & "pExecutionError:" & cr & pExecutionError & cr & cr & >> "context:" & cr & the executionContexts & cr) >> >> where cck is a hack that dumps into a watch window. >> >> I'm stumped; I've been fighting this all day. >> >> After the error is thrown, all seems to work. >> >> Note that now pParseError is sent by the engine . . . >> -- >> Dr. Richard E. Hawkins, Esq. >> (702) 508-8462 >> > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From brahma at hindu.org Thu Jul 7 16:27:16 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 7 Jul 2016 20:27:16 +0000 Subject: Get fillGradient props Message-ID: <0D115939-0AC5-4482-A2ED-E16AF4D46353@hindu.org> Goal: get an explicit list of gradient properties from an object. command getGradientProps set the defaultstack to the topstack put the fillGradient of graphic "portal-title-bkgnd" into lCurrentObjectProperties put the keys of tCurrentObjectProperties repeat for each key x in lCurrentObjectProperties put x & " | " & lCurrentObjectProperties[x] & cr after tCheckProperties end repeat put tCheckProperties end getGradientProps No matter how I try, I cannot fetch the keys of the gradient? the dictionary does not indicated that we cannot read this array any ideas? BR From scott at tactilemedia.com Thu Jul 7 17:41:27 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 07 Jul 2016 14:41:27 -0700 Subject: Get fillGradient props In-Reply-To: <0D115939-0AC5-4482-A2ED-E16AF4D46353@hindu.org> References: <0D115939-0AC5-4482-A2ED-E16AF4D46353@hindu.org> Message-ID: You have a typo in your variable name lCurrentObjectProperties when you put the keys but it looks like things should still work. This works here with a test graphic: on mouseUp put the fillGradient of graphic 1 into theCurrentObjectProperties repeat for each key x in theCurrentObjectProperties put x & " | " & theCurrentObjectProperties[x] & cr after theCheckProperties end repeat put theCheckProperties end mouseUp Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 7/7/16, 1:27 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami" wrote: >Goal: get an explicit list of gradient properties from an object. > > >command getGradientProps > >set the defaultstack to the topstack > >put the fillGradient of graphic "portal-title-bkgnd" into >lCurrentObjectProperties > >put the keys of tCurrentObjectProperties > >repeat for each key x in lCurrentObjectProperties > >put x & " | " & lCurrentObjectProperties[x] & cr after tCheckProperties > >end repeat > >put tCheckProperties > >end getGradientProps > >No matter how I try, I cannot fetch the keys of the gradient? the >dictionary does not indicated that we cannot read this array > >any ideas? > >BR > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Thu Jul 7 17:44:56 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 7 Jul 2016 21:44:56 +0000 (UTC) Subject: Get fillGradient props References: <0D115939-0AC5-4482-A2ED-E16AF4D46353@hindu.org> Message-ID: Sannyasin Brahmanathaswami writes: > > Goal: get an explicit list of gradient properties from an object. > > > command getGradientProps > > set the defaultstack to the topstack > > put the fillGradient of graphic "portal-title-bkgnd" into lCurrentObjectProperties > > put the keys of tCurrentObjectProperties > > repeat for each key x in lCurrentObjectProperties > > put x & " | " & lCurrentObjectProperties[x] & cr after tCheckProperties > > end repeat > > put tCheckProperties > > end getGradientProps > > No matter how I try, I cannot fetch the keys of the gradient? the dictionary does not indicated that we cannot read this array > > any ideas? Your code works fine. With the exception of a typo "tCurrentObjectProperties". You might try putting "after msg" after your put statements. ...and I know I keep saying this, but... setting "Strict compilation mode" and declaring your variables will help save you from this kind of error. That's what it's for. Just sayin. -- Mark Wieder ahsoftware at gmail.com From brahma at hindu.org Thu Jul 7 17:46:27 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 7 Jul 2016 21:46:27 +0000 Subject: Get fillGradient props In-Reply-To: References: <0D115939-0AC5-4482-A2ED-E16AF4D46353@hindu.org> Message-ID: <68DE485F-D4C8-4195-B6D2-2859D4A7F42C@hindu.org> Sheesh? I gotta stick to conventions better. I think I like jacque's using "s" as the being character for script local variable. "l" for "local" just disappeared or looks like a "t" sCurrentObjectProperties is better From: use-livecode on behalf of Scott Rossi Reply-To: How LiveCode Date: Thursday, July 7, 2016 at 11:41 AM To: How LiveCode Subject: Re: Get fillGradient props You have a typo in your variable name lCurrentObjectProperties when you put the keys but it looks like things should still work. This works here with a test graphic: on mouseUp put the fillGradient of graphic 1 into theCurrentObjectProperties From brahma at hindu.org Thu Jul 7 17:50:53 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 7 Jul 2016 21:50:53 +0000 Subject: Getting the immediate "parent" group of an object Message-ID: <6137BB04-BC0A-4EF3-9271-519FA2CFDB09@hindu.org> If you don't want to enter mouseup handlers all over the UI, the usual means is to trap for the target in the card script or stack script. is there a way to get the immediate "parent" group of a group object? In case like this I have a number of "portal-link-label" as the subgroups are all made from a template. but the group name itself is unique group "home-read" so the long name of the target is: field "portal-link-label" of group "home_read" of group "portal-links" of card "home" of stack "/Users/Brahmanathaswami/Documents/App-Development/SivaSivaAppWorking/_SivaSource/source/modules/home/home.livecode" So then you have to so some parsing magic to determine which is the send level group.. from this long string. Is there an easier way? It would be sweet if we could do something like get the parent group of the target where "parent" was the name of the group the object was in. BR From brahma at hindu.org Thu Jul 7 17:52:27 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 7 Jul 2016 21:52:27 +0000 Subject: Get fillGradient props In-Reply-To: References: <0D115939-0AC5-4482-A2ED-E16AF4D46353@hindu.org> Message-ID: <28AF0609-4565-4990-8393-936FEA5DB671@hindu.org> Thanks Mark? I'll try it? too many hours at the screen all the letters start looking the same.. so this could help guard against the "stupido's" From: use-livecode on behalf of Mark Wieder Reply-To: How LiveCode Date: Thursday, July 7, 2016 at 11:44 AM To: How LiveCode Subject: Re: Get fillGradient props setting "Strict compilation mode" and declaring your variables will help save you from this kind of error. That's what it's for. Just sayin. From scott at tactilemedia.com Thu Jul 7 17:52:41 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 07 Jul 2016 14:52:41 -0700 Subject: Get fillGradient props In-Reply-To: <68DE485F-D4C8-4195-B6D2-2859D4A7F42C@hindu.org> References: <0D115939-0AC5-4482-A2ED-E16AF4D46353@hindu.org> <68DE485F-D4C8-4195-B6D2-2859D4A7F42C@hindu.org> Message-ID: I've always thought lowercase "L" is a poor choice to prefix a variable name. Is it an L? It is a capital i? Is it a pipe? But that's just me. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 7/7/16, 2:46 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami" wrote: >Sheesh? I gotta stick to conventions better. > >I think I like jacque's using "s" as the being character for script local >variable. > >"l" for "local" just disappeared or looks like a "t" > > >sCurrentObjectProperties is better > > > >From: use-livecode on behalf of >Scott Rossi >Reply-To: How LiveCode >Date: Thursday, July 7, 2016 at 11:41 AM >To: How LiveCode >Subject: Re: Get fillGradient props > >You have a typo in your variable name lCurrentObjectProperties when you >put the keys but it looks like things should still work. > >This works here with a test graphic: > >on mouseUp > put the fillGradient of graphic 1 into theCurrentObjectProperties >_______________________________________________ > From scott at tactilemedia.com Thu Jul 7 17:54:01 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 07 Jul 2016 14:54:01 -0700 Subject: Getting the immediate "parent" group of an object In-Reply-To: <6137BB04-BC0A-4EF3-9271-519FA2CFDB09@hindu.org> References: <6137BB04-BC0A-4EF3-9271-519FA2CFDB09@hindu.org> Message-ID: Wouldn't "owner" work for this? Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 7/7/16, 2:50 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami" wrote: >If you don't want to enter mouseup handlers all over the UI, the usual >means is to trap for the target in the card script or stack script. > >is there a way to get the immediate "parent" group of a group object? >In case like this I have a number of "portal-link-label" as the subgroups >are all made from a template. > >but the group name itself is unique > >group "home-read" > >so the long name of the target is: > >field "portal-link-label" of group "home_read" of group "portal-links" of >card "home" of stack >"/Users/Brahmanathaswami/Documents/App-Development/SivaSivaAppWorking/_Siv >aSource/source/modules/home/home.livecode" > >So then you have to so some parsing magic to determine which is the >send level group.. from this long string. Is there an easier way? > >It would be sweet if we could do something like > >get the parent group of the target > >where "parent" was the name of the group the object was in. >BR > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Thu Jul 7 18:16:01 2016 From: monte at appisle.net (Monte Goulding) Date: Fri, 8 Jul 2016 08:16:01 +1000 Subject: Get fillGradient props In-Reply-To: References: <0D115939-0AC5-4482-A2ED-E16AF4D46353@hindu.org> <68DE485F-D4C8-4195-B6D2-2859D4A7F42C@hindu.org> Message-ID: <39091F2C-3913-40D3-944D-0816CF490CE4@appisle.net> > On 8 Jul 2016, at 7:52 AM, Scott Rossi wrote: > > I've always thought lowercase "L" is a poor choice to prefix a variable > name. Is it an L? It is a capital i? Is it a pipe? For what it?s worth we use `s` in the team for script locals. There are some older scripts like libURL that use some other prefixing conventions. Cheers Monte From jacque at hyperactivesw.com Thu Jul 7 19:20:03 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 07 Jul 2016 18:20:03 -0500 Subject: Get fillGradient props In-Reply-To: <68DE485F-D4C8-4195-B6D2-2859D4A7F42C@hindu.org> References: <0D115939-0AC5-4482-A2ED-E16AF4D46353@hindu.org> <68DE485F-D4C8-4195-B6D2-2859D4A7F42C@hindu.org> Message-ID: <155c7a934b8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On July 7, 2016 4:47:35 PM Sannyasin Brahmanathaswami wrote: > Sheesh? I gotta stick to conventions better. > > I think I like jacque's using "s" as the being character for script local > variable. > > "l" for "local" just disappeared or looks like a "t" I got it from Mark Waddingham. He's always right. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at tweedly.net Thu Jul 7 20:00:11 2016 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 8 Jul 2016 01:00:11 +0100 Subject: Get fillGradient props In-Reply-To: <39091F2C-3913-40D3-944D-0816CF490CE4@appisle.net> References: <0D115939-0AC5-4482-A2ED-E16AF4D46353@hindu.org> <68DE485F-D4C8-4195-B6D2-2859D4A7F42C@hindu.org> <39091F2C-3913-40D3-944D-0816CF490CE4@appisle.net> Message-ID: <3dfd0b96-ad97-6d5e-6b62-de054e79edfc@tweedly.net> What do you use for handler-local variables ? Thanks Alex On 07/07/2016 23:16, Monte Goulding wrote: >> On 8 Jul 2016, at 7:52 AM, Scott Rossi wrote: >> >> I've always thought lowercase "L" is a poor choice to prefix a variable >> name. Is it an L? It is a capital i? Is it a pipe? > For what it?s worth we use `s` in the team for script locals. There are some older scripts like libURL that use some other prefixing conventions. > > Cheers > > Monte > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pystcat at gmail.com Thu Jul 7 20:31:12 2016 From: pystcat at gmail.com (PystCat) Date: Thu, 7 Jul 2016 20:31:12 -0400 Subject: [ANN] Release 8.1.0 DP 2 In-Reply-To: <4A539A5D-83FE-4E79-A272-08D2E82EA291@gmail.com> References: <5775FA95.4050507@ahsoftware.net> <57768B8F.5000308@fourthworld.com> <577C962A.2060604@ahsoftware.net> <577D4398.2010307@gmail.com> <577DB31A.6010005@ahsoftware.net> <577E1CCE.9050902@gmail.com> <4A539A5D-83FE-4E79-A272-08D2E82EA291@gmail.com> Message-ID: "Use the Force, Harry." --Gandalf > On Jul 7, 2016, at 1:24 PM, Peter M. Brigham wrote: > >> On Jul 7, 2016, at 5:11 AM, Richmond wrote: >> >> It is amazing how many "wise" sayings are attributed to many "Wise" people: Voltaire and Einstein included. This, I believe, is a human tendency to seek authority to their ideas by ascribing them to authority figures: like religious (and 'religious') people ascribing everything wise to their scripture. > > The trouble with quotes on the internet is that sometimes they are attributed to the wrong people. -- Benjamin Franklin > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Thu Jul 7 20:54:32 2016 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 8 Jul 2016 01:54:32 +0100 Subject: Progress on WP REST API In-Reply-To: References: Message-ID: <9aff3ba6-7d07-50f3-f02f-30e287a5746c@tweedly.net> The problem I am having with understanding / using Custom Post Types (CPTs) isn't the defining of them - it's trying to use them in display of anything other than the simplest output format. Wordpress has grown organically to be extremely powerful - but that growth has left it un-architected in many ways. Themes work with only some plugins, which work with only some CPTs - and there is no proper templating sub-system to handle display of those CPTs. Visual Composer does indeed make it easy to define the layout / format for simple pages - but (in general) can't seem to handle CPTs. pods is pretty effective, and (at a reasonable price) includes a template output system; I happily paid for it, but then found that it is thoroughly self-contained - you have to stop using VC for either index or individual pages. types is (afaict from reading, haven;t yet tried it out) quite good - but they recommend using their "Views" tool to create templates for output - and that's a $150 cost. (OTOH it is (just in the couple of weeks) integrated with Visual Composer). If I had reasonable confidence that it would actually do what I want, I'd pay that without question - but I've had lots of experiences of themes / plugins / etc. in Wordpress that come with rather vague public documentation, and which turn out to require either premium add-ons, or shortcode programming, or even PHP programming, so I'm gun-shy of spending money to get to try something out. So I'd request that whatever example app we come up with, we make show both WP as a web site *and* LC- WP-rest-api to build an app. Michael's suggestion of a member system sounds good. Another possibility would be booking (e.g. appointments, or classes) with Woocommerce handling the payments. -- Alex. btw - would it be worth having a separate forum for the whole lc-wp discussion ? I would value benefitting from other' questions and your replies :-) (Personally, I'd prefer an email list - but I realize that forums seem to be more popular nowadays). On 07/07/2016 06:22, Todd Fabacher wrote: > Here are two plugins that will allow WP to become a customizable DB server > with little to no DB experience. Perfect for LC students and people who > want to get a DB setup online, but don't have the experience or know-how. > > https://wordpress.org/plugins/advanced-custom-fields/ > https://wordpress.org/plugins/acf-to-rest-api/ > > > but also, I have found many Custom Post Type Plugins: > > https://wordpress.org/plugins/custom-post-type-ui/ > https://wordpress.org/plugins/types/ > https://wordpress.org/plugins/pods/ > https://wordpress.org/plugins/custom-post-type-maker/ > > We can look to adding this to the LiveCode WP Rest API library. I get > emails and I see some post of people asking how to setup a customized web > data server. These would do the trick. Plus most are open source and FREE, > but a few have a more feature rich commercial version. > > > We would like to focus on creating a sample App in LiveCode that utilized > WooCommerce. I think it is important to have several different example Apps > before we start to pitch to the WP community at large...any ideas???? > > Any other questions [please let me know. I have had about 2 dozen people > email with questions and express interest in integrating WP with LiveCode. > > --Todd > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Thu Jul 7 21:41:24 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 7 Jul 2016 19:41:24 -0600 Subject: Get fillGradient props In-Reply-To: <3dfd0b96-ad97-6d5e-6b62-de054e79edfc@tweedly.net> References: <0D115939-0AC5-4482-A2ED-E16AF4D46353@hindu.org> <68DE485F-D4C8-4195-B6D2-2859D4A7F42C@hindu.org> <39091F2C-3913-40D3-944D-0816CF490CE4@appisle.net> <3dfd0b96-ad97-6d5e-6b62-de054e79edfc@tweedly.net> Message-ID: Somewhere I once ran across a list of suggested lc naming conventions, it helped me greatly. If I recall it was s for script locals, t for handler locals (t for temporary) g for globals, k for constants, c for custom properties. and I don't know if it was in the same list, but I add a trailing A for arrays. Sure makes it easy to keep track of whats what, so to whoever wrote that list.. Thank you! On Thu, Jul 7, 2016 at 6:00 PM, Alex Tweedly wrote: > What do you use for handler-local variables ? > > Thanks > > Alex > > > On 07/07/2016 23:16, Monte Goulding wrote: > >> On 8 Jul 2016, at 7:52 AM, Scott Rossi wrote: >>> >>> I've always thought lowercase "L" is a poor choice to prefix a variable >>> name. Is it an L? It is a capital i? Is it a pipe? >>> >> For what it?s worth we use `s` in the team for script locals. There are >> some older scripts like libURL that use some other prefixing conventions. >> >> Cheers >> >> Monte >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brahma at hindu.org Thu Jul 7 21:48:43 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 8 Jul 2016 01:48:43 +0000 Subject: Getting the immediate "parent" group of an object In-Reply-To: References: <6137BB04-BC0A-4EF3-9271-519FA2CFDB09@hindu.org> Message-ID: <79AF6F3F-C258-454B-BBF6-337B349ACF1B@hindu.org> Indeed? it would work? some day I should read the user guide from beginning to end? Scott: Wouldn't "owner" work for this? From stephenREVOLUTION2 at barncard.com Thu Jul 7 21:50:00 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 7 Jul 2016 18:50:00 -0700 Subject: Get fillGradient props In-Reply-To: References: <0D115939-0AC5-4482-A2ED-E16AF4D46353@hindu.org> <68DE485F-D4C8-4195-B6D2-2859D4A7F42C@hindu.org> <39091F2C-3913-40D3-944D-0816CF490CE4@appisle.net> <3dfd0b96-ad97-6d5e-6b62-de054e79edfc@tweedly.net> Message-ID: from Richard Gaskin: http://www.fourthworld.com/embassy/articles/scriptstyle.html Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Thu, Jul 7, 2016 at 6:41 PM, Mike Bonner wrote: > Somewhere I once ran across a list of suggested lc naming conventions, it > helped me greatly. If I recall it was s for script locals, t for handler > locals (t for temporary) g for globals, k for constants, c for custom > properties. and I don't know if it was in the same list, but I add a > trailing A for arrays. Sure makes it easy to keep track of whats what, so > to whoever wrote that list.. Thank you! > > On Thu, Jul 7, 2016 at 6:00 PM, Alex Tweedly wrote: > > > What do you use for handler-local variables ? > > > > Thanks > > > > Alex > > > > > > On 07/07/2016 23:16, Monte Goulding wrote: > > > >> On 8 Jul 2016, at 7:52 AM, Scott Rossi wrote: > >>> > >>> I've always thought lowercase "L" is a poor choice to prefix a variable > >>> name. Is it an L? It is a capital i? Is it a pipe? > >>> > >> For what it?s worth we use `s` in the team for script locals. There are > >> some older scripts like libURL that use some other prefixing > conventions. > >> > >> Cheers > >> > >> Monte > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From stephenREVOLUTION2 at barncard.com Thu Jul 7 21:51:35 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 7 Jul 2016 18:51:35 -0700 Subject: Get fillGradient props In-Reply-To: References: <0D115939-0AC5-4482-A2ED-E16AF4D46353@hindu.org> <68DE485F-D4C8-4195-B6D2-2859D4A7F42C@hindu.org> <39091F2C-3913-40D3-944D-0816CF490CE4@appisle.net> <3dfd0b96-ad97-6d5e-6b62-de054e79edfc@tweedly.net> Message-ID: RG: "You can quickly identify whether a variable is local or global, or whether it was passed in as an argument, if you preceed the descriptive name with a lower-case letter to determine its type." Char Meaning Example g Global variable gMyGlobal t Local ("temporary") variable tMyVar s Script-local var* (sometimes called "static") sMyVar p Parameter (also called an argument) pMyParam k Constant* kMyNumber u User-defined (or custom) properties uMyProp Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Thu, Jul 7, 2016 at 6:50 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > from Richard Gaskin: > > http://www.fourthworld.com/embassy/articles/scriptstyle.html > > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org > > On Thu, Jul 7, 2016 at 6:41 PM, Mike Bonner wrote: > >> Somewhere I once ran across a list of suggested lc naming conventions, it >> helped me greatly. If I recall it was s for script locals, t for handler >> locals (t for temporary) g for globals, k for constants, c for custom >> properties. and I don't know if it was in the same list, but I add a >> trailing A for arrays. Sure makes it easy to keep track of whats what, so >> to whoever wrote that list.. Thank you! >> >> On Thu, Jul 7, 2016 at 6:00 PM, Alex Tweedly wrote: >> >> > What do you use for handler-local variables ? >> > >> > Thanks >> > >> > Alex >> > >> > >> > On 07/07/2016 23:16, Monte Goulding wrote: >> > >> >> On 8 Jul 2016, at 7:52 AM, Scott Rossi wrote: >> >>> >> >>> I've always thought lowercase "L" is a poor choice to prefix a >> variable >> >>> name. Is it an L? It is a capital i? Is it a pipe? >> >>> >> >> For what it?s worth we use `s` in the team for script locals. There are >> >> some older scripts like libURL that use some other prefixing >> conventions. >> >> >> >> Cheers >> >> >> >> Monte >> >> _______________________________________________ >> >> use-livecode mailing list >> >> use-livecode at lists.runrev.com >> >> Please visit this url to subscribe, unsubscribe and manage your >> >> subscription preferences: >> >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> > >> > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From bonnmike at gmail.com Thu Jul 7 21:54:26 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 7 Jul 2016 19:54:26 -0600 Subject: Get fillGradient props In-Reply-To: References: <0D115939-0AC5-4482-A2ED-E16AF4D46353@hindu.org> <68DE485F-D4C8-4195-B6D2-2859D4A7F42C@hindu.org> <39091F2C-3913-40D3-944D-0816CF490CE4@appisle.net> <3dfd0b96-ad97-6d5e-6b62-de054e79edfc@tweedly.net> Message-ID: Ah, it was u not c thats right. Thanks richard, that and "extending the message path" stuff helped me get my grok on. I think I saw c being used for custom properties somewhere else and it stuck for some reason. On Thu, Jul 7, 2016 at 7:51 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > RG: > > "You can quickly identify whether a variable is local or global, or whether > it was passed in as an argument, if you preceed the descriptive name with a > lower-case letter to determine its type." > Char Meaning Example > > g > Global variable gMyGlobal > > t > Local ("temporary") variable tMyVar > > s > Script-local var* (sometimes called "static") sMyVar > > p > Parameter (also called an argument) pMyParam > > k > Constant* kMyNumber > > u > User-defined (or custom) properties uMyProp > > > > > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org > > On Thu, Jul 7, 2016 at 6:50 PM, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > > > from Richard Gaskin: > > > > http://www.fourthworld.com/embassy/articles/scriptstyle.html > > > > Stephen Barncard - Sebastopol Ca. USA - > > mixstream.org > > > > On Thu, Jul 7, 2016 at 6:41 PM, Mike Bonner wrote: > > > >> Somewhere I once ran across a list of suggested lc naming conventions, > it > >> helped me greatly. If I recall it was s for script locals, t for handler > >> locals (t for temporary) g for globals, k for constants, c for custom > >> properties. and I don't know if it was in the same list, but I add a > >> trailing A for arrays. Sure makes it easy to keep track of whats what, > so > >> to whoever wrote that list.. Thank you! > >> > >> On Thu, Jul 7, 2016 at 6:00 PM, Alex Tweedly wrote: > >> > >> > What do you use for handler-local variables ? > >> > > >> > Thanks > >> > > >> > Alex > >> > > >> > > >> > On 07/07/2016 23:16, Monte Goulding wrote: > >> > > >> >> On 8 Jul 2016, at 7:52 AM, Scott Rossi > wrote: > >> >>> > >> >>> I've always thought lowercase "L" is a poor choice to prefix a > >> variable > >> >>> name. Is it an L? It is a capital i? Is it a pipe? > >> >>> > >> >> For what it?s worth we use `s` in the team for script locals. There > are > >> >> some older scripts like libURL that use some other prefixing > >> conventions. > >> >> > >> >> Cheers > >> >> > >> >> Monte > >> >> _______________________________________________ > >> >> use-livecode mailing list > >> >> use-livecode at lists.runrev.com > >> >> Please visit this url to subscribe, unsubscribe and manage your > >> >> subscription preferences: > >> >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> >> > >> > > >> > > >> > _______________________________________________ > >> > use-livecode mailing list > >> > use-livecode at lists.runrev.com > >> > Please visit this url to subscribe, unsubscribe and manage your > >> > subscription preferences: > >> > http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at appisle.net Thu Jul 7 22:18:49 2016 From: monte at appisle.net (Monte Goulding) Date: Fri, 8 Jul 2016 12:18:49 +1000 Subject: Get fillGradient props In-Reply-To: <3dfd0b96-ad97-6d5e-6b62-de054e79edfc@tweedly.net> References: <0D115939-0AC5-4482-A2ED-E16AF4D46353@hindu.org> <68DE485F-D4C8-4195-B6D2-2859D4A7F42C@hindu.org> <39091F2C-3913-40D3-944D-0816CF490CE4@appisle.net> <3dfd0b96-ad97-6d5e-6b62-de054e79edfc@tweedly.net> Message-ID: > On 8 Jul 2016, at 10:00 AM, Alex Tweedly wrote: > > What do you use for handler-local variables ? `t` for temporary. I believe we fairly closely follow Richard?s scripting style guide http://fourthworld.com/embassy/articles/scriptstyle.html#Variables However the team does use `c` instead of `u` for custom properties. I?m not sure why there?s that variance but I vaguely recall a previous version of the style guide recommended `c` so we may continue to use it for historical reasons? That would be back in the dark ages of the Revolution 1.0 beta. When a wee little Kevin and his mates had a vision ;-) Cheers Monte > > Thanks > > Alex > > On 07/07/2016 23:16, Monte Goulding wrote: >>> On 8 Jul 2016, at 7:52 AM, Scott Rossi wrote: >>> >>> I've always thought lowercase "L" is a poor choice to prefix a variable >>> name. Is it an L? It is a capital i? Is it a pipe? >> For what it?s worth we use `s` in the team for script locals. There are some older scripts like libURL that use some other prefixing conventions. >> >> Cheers >> >> Monte >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Fri Jul 8 00:29:07 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 8 Jul 2016 04:29:07 +0000 Subject: Getting Library Stacks into Memory Message-ID: Our new app was loading nicely on the iPhone.. .we externalized a lot of code to scripts that are meant to be used in front, back and as behaviors? with the go stack cmd logInfo "Loading frontscript" && tStackPath go stack (getPathForSharedLibraries() & tStackPath) insert the script of stack tStackName into front and like this: put getPathForSharedLibraries() & "mobilecontrols.livecodescript" into tBehaviorStackPath logRaw "info",tBehaviorStackPath go invisible stack tBehaviorStackPath I have a gut feeling that this might not be happy on mobile. Any insights? sometimes my "suspicions" are completely wrong. But on the iPHone when it starts up we get a black screen? and a whole series of iPhone answer dialogs, one after another that are not in our code. all the groups on the home screen are being declared with an "OK" button. homeHeaderNavBat OK portal_links # a big group on card 1 OK home_gems # a subgroup of the above on cd 1 OK? ten of these, declaring every single group on the card of the stack that is trying to be loaded "home.livecode" and if we click OK on each one. finally the finish and the loader stack is sitting there, but not the stack that is supposed to be the first one to appear. Really weird. From ebeugelaar at gmail.com Fri Jul 8 00:40:28 2016 From: ebeugelaar at gmail.com (Erik Beugelaar) Date: Fri, 8 Jul 2016 06:40:28 +0200 Subject: Get fillGradient props In-Reply-To: References: <0D115939-0AC5-4482-A2ED-E16AF4D46353@hindu.org> <68DE485F-D4C8-4195-B6D2-2859D4A7F42C@hindu.org> <39091F2C-3913-40D3-944D-0816CF490CE4@appisle.net> <3dfd0b96-ad97-6d5e-6b62-de054e79edfc@tweedly.net> Message-ID: <000101d1d8d2$da403db0$8ec0b910$@gmail.com> According Richard's scripting guide the use of 'c' is used for objects containing behavior scripts to denote their special use as a sort of class definition as it is commonly done in lower-level languages. Regards, Erik Sent from solidit -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Monte Goulding Sent: vrijdag 8 juli 2016 04:19 To: How to use LiveCode Subject: Re: Get fillGradient props > On 8 Jul 2016, at 10:00 AM, Alex Tweedly wrote: > > What do you use for handler-local variables ? `t` for temporary. I believe we fairly closely follow Richard?s scripting style guide http://fourthworld.com/embassy/articles/scriptstyle.html#Variables However the team does use `c` instead of `u` for custom properties. I?m not sure why there?s that variance but I vaguely recall a previous version of the style guide recommended `c` so we may continue to use it for historical reasons? That would be back in the dark ages of the Revolution 1.0 beta. When a wee little Kevin and his mates had a vision ;-) Cheers Monte > > Thanks > > Alex > > On 07/07/2016 23:16, Monte Goulding wrote: >>> On 8 Jul 2016, at 7:52 AM, Scott Rossi wrote: >>> >>> I've always thought lowercase "L" is a poor choice to prefix a >>> variable name. Is it an L? It is a capital i? Is it a pipe? >> For what it?s worth we use `s` in the team for script locals. There are some older scripts like libURL that use some other prefixing conventions. >> >> Cheers >> >> Monte >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Jul 8 03:25:30 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 08 Jul 2016 02:25:30 -0500 Subject: Get fillGradient props In-Reply-To: References: <0D115939-0AC5-4482-A2ED-E16AF4D46353@hindu.org> <68DE485F-D4C8-4195-B6D2-2859D4A7F42C@hindu.org> <39091F2C-3913-40D3-944D-0816CF490CE4@appisle.net> <3dfd0b96-ad97-6d5e-6b62-de054e79edfc@tweedly.net> Message-ID: <155c965a610.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I think we're pretty evenly split between "c" and "u". I prefer "c" because it is, after all, a custom property. Those who migrated from SuperCard often prefer "u" because over there, I believe, they are called user properties. Richard's guide is pretty good and I follow the other conventions but I can't get used to writing a "u" for something that starts with a "c". Apparently the team feels the same. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 7, 2016 8:56:21 PM Mike Bonner wrote: > Ah, it was u not c thats right. Thanks richard, that and "extending the > message path" stuff helped me get my grok on. I think I saw c being used > for custom properties somewhere else and it stuck for some reason. > > On Thu, Jul 7, 2016 at 7:51 PM, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > >> RG: >> >> "You can quickly identify whether a variable is local or global, or whether >> it was passed in as an argument, if you preceed the descriptive name with a >> lower-case letter to determine its type." >> Char Meaning Example >> >> g >> Global variable gMyGlobal >> >> t >> Local ("temporary") variable tMyVar >> >> s >> Script-local var* (sometimes called "static") sMyVar >> >> p >> Parameter (also called an argument) pMyParam >> >> k >> Constant* kMyNumber >> >> u >> User-defined (or custom) properties uMyProp >> >> >> >> >> Stephen Barncard - Sebastopol Ca. USA - >> mixstream.org >> >> On Thu, Jul 7, 2016 at 6:50 PM, stephen barncard < >> stephenREVOLUTION2 at barncard.com> wrote: >> >> > from Richard Gaskin: >> > >> > http://www.fourthworld.com/embassy/articles/scriptstyle.html >> > >> > Stephen Barncard - Sebastopol Ca. USA - >> > mixstream.org >> > >> > On Thu, Jul 7, 2016 at 6:41 PM, Mike Bonner wrote: >> > >> >> Somewhere I once ran across a list of suggested lc naming conventions, >> it >> >> helped me greatly. If I recall it was s for script locals, t for handler >> >> locals (t for temporary) g for globals, k for constants, c for custom >> >> properties. and I don't know if it was in the same list, but I add a >> >> trailing A for arrays. Sure makes it easy to keep track of whats what, >> so >> >> to whoever wrote that list.. Thank you! >> >> >> >> On Thu, Jul 7, 2016 at 6:00 PM, Alex Tweedly wrote: >> >> >> >> > What do you use for handler-local variables ? >> >> > >> >> > Thanks >> >> > >> >> > Alex >> >> > >> >> > >> >> > On 07/07/2016 23:16, Monte Goulding wrote: >> >> > >> >> >> On 8 Jul 2016, at 7:52 AM, Scott Rossi >> wrote: >> >> >>> >> >> >>> I've always thought lowercase "L" is a poor choice to prefix a >> >> variable >> >> >>> name. Is it an L? It is a capital i? Is it a pipe? >> >> >>> >> >> >> For what it?s worth we use `s` in the team for script locals. There >> are >> >> >> some older scripts like libURL that use some other prefixing >> >> conventions. >> >> >> >> >> >> Cheers >> >> >> >> >> >> Monte >> >> >> _______________________________________________ >> >> >> use-livecode mailing list >> >> >> use-livecode at lists.runrev.com >> >> >> Please visit this url to subscribe, unsubscribe and manage your >> >> >> subscription preferences: >> >> >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> > >> >> > >> >> > _______________________________________________ >> >> > use-livecode mailing list >> >> > use-livecode at lists.runrev.com >> >> > Please visit this url to subscribe, unsubscribe and manage your >> >> > subscription preferences: >> >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > >> >> _______________________________________________ >> >> use-livecode mailing list >> >> use-livecode at lists.runrev.com >> >> Please visit this url to subscribe, unsubscribe and manage your >> >> subscription preferences: >> >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> > >> > >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Jul 8 03:48:22 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 08 Jul 2016 02:48:22 -0500 Subject: Getting Library Stacks into Memory In-Reply-To: References: Message-ID: <155c97a9570.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> These almost sound like undefined errors with the group name as the object hint. Mobile apps can only have one window at a time, and each "go" replaces the previous window. If you go to an invisible stack you'll see black. In general don't use "go" for that kind of thing, just using the stack will load it into RAM. So all you need is to get the path and then set a behavior to that, or insert the script of the stack into front or back.,etc. Mobile apps need to load quickly, so show the main card immediately and do as much of the other setup as possible after something visible is on screen. Avoid "go" except for user navigation. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 7, 2016 11:30:26 PM Sannyasin Brahmanathaswami wrote: > Our new app was loading nicely on the iPhone.. .we externalized a lot of > code to scripts that are meant to be used in front, back and as behaviors? > with the > > go stack > > cmd > > > logInfo "Loading frontscript" && tStackPath > > go stack (getPathForSharedLibraries() & tStackPath) > > insert the script of stack tStackName into front > > > and like this: > > > put getPathForSharedLibraries() & "mobilecontrols.livecodescript" into > tBehaviorStackPath > > logRaw "info",tBehaviorStackPath > > go invisible stack tBehaviorStackPath > > I have a gut feeling that this might not be happy on mobile. > > Any insights? sometimes my "suspicions" are completely wrong. > > But on the iPHone when it starts up we get a black screen? and a whole > series of iPhone answer dialogs, one after another that are not in our > code. all the groups on the home screen are being declared with an "OK" button. > > homeHeaderNavBat > OK > > portal_links # a big group on card 1 > OK > > home_gems # a subgroup of the above on cd 1 > OK? > > ten of these, declaring every single group on the card of the stack that is > trying to be loaded "home.livecode" and if we click OK on each one. > finally the finish and the loader stack is sitting there, but not the stack > that is supposed to be the first one to appear. > > Really weird. > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From nabble at mad.pink Fri Jul 8 06:55:27 2016 From: nabble at mad.pink (pink) Date: Fri, 8 Jul 2016 03:55:27 -0700 (PDT) Subject: [HC] USB Devices In-Reply-To: <577D735F.1040905@gmail.com> References: <577D735F.1040905@gmail.com> Message-ID: <1467975327313-4706465.post@n4.nabble.com> With the n52 if you don't have the software installed, it defaults to the "half keyboard" setup that you see. That's a feature of the device. My guess would be, that the older Nostromo doesn't, and requires the software to program. Once the software is installed and configured, that is what translates the keypress into the "raw" keypress(es). Some gaming devices have programmed into them default keyboard/mouse settings like the n52, but not all of them. Devices like a steering wheel I would presume that would not have default keyboard settings, and would completely rely on drivers to translate the input. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/HC-USB-Devices-tp4706411p4706465.html Sent from the Revolution - User mailing list archive at Nabble.com. From jhurley0305 at sbcglobal.net Fri Jul 8 10:11:29 2016 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Fri, 8 Jul 2016 07:11:29 -0700 Subject: Parsing a PDF file In-Reply-To: References: Message-ID: My County is now publishing the election results to the web as a PDF file: https://www.mynevadacounty.com/nc/elections/docs/2016%20Elections/June%207%2c%202016%2c%20Presidential%20Primary/Election%20Results/precinctreport.pdf Is there a way to parse these PDF files? Thanks, Jim From peter.brett at livecode.com Fri Jul 8 10:58:09 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Fri, 8 Jul 2016 15:58:09 +0100 Subject: Parsing a PDF file In-Reply-To: References: Message-ID: <71b83983-9183-3867-3646-4112cd53d598@livecode.com> On 08/07/2016 15:11, Jim Hurley wrote: > My County is now publishing the election results to the web as a PDF file: > > https://www.mynevadacounty.com/nc/elections/docs/2016%20Elections/June%207%2c%202016%2c%20Presidential%20Primary/Election%20Results/precinctreport.pdf > > Is there a way to parse these PDF files? The XPDF external, which is now available as part of LiveCode Business, is probably what you're looking for. Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ From paul at researchware.com Fri Jul 8 11:07:30 2016 From: paul at researchware.com (Paul Dupuis) Date: Fri, 08 Jul 2016 11:07:30 -0400 Subject: Parsing a PDF file In-Reply-To: References: Message-ID: <577FC1B2.1030001@researchware.com> On 7/8/2016 10:11 AM, Jim Hurley wrote: > My County is now publishing the election results to the web as a PDF file: > > https://www.mynevadacounty.com/nc/elections/docs/2016%20Elections/June%207%2c%202016%2c%20Presidential%20Primary/Election%20Results/precinctreport.pdf > > Is there a way to parse these PDF files? > The XPDF external will let you extract the text (and Images if there were any). You will need to write code to parse the fields (separated by white space) from each line if you want the numbers for analysis. From colinholgate at gmail.com Fri Jul 8 11:10:03 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Fri, 8 Jul 2016 11:10:03 -0400 Subject: Parsing a PDF file In-Reply-To: <71b83983-9183-3867-3646-4112cd53d598@livecode.com> References: <71b83983-9183-3867-3646-4112cd53d598@livecode.com> Message-ID: <535B7A81-34C2-4D67-8BF4-2A5F4C83C113@gmail.com> Doesn?t that just let you show PDFs? Would it help to parse the contents? I?m trying another approach, will report back soon. > On Jul 8, 2016, at 10:58 AM, Peter TB Brett wrote: > > On 08/07/2016 15:11, Jim Hurley wrote: >> My County is now publishing the election results to the web as a PDF file: >> >> https://www.mynevadacounty.com/nc/elections/docs/2016%20Elections/June%207%2c%202016%2c%20Presidential%20Primary/Election%20Results/precinctreport.pdf >> >> Is there a way to parse these PDF files? > > The XPDF external, which is now available as part of LiveCode Business, is probably what you're looking for. > > Peter > > -- > Dr Peter Brett > LiveCode Technical Project Manager > > LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Fri Jul 8 11:27:58 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 8 Jul 2016 15:27:58 +0000 Subject: Getting Library Stacks into Memory In-Reply-To: <155c97a9570.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: , <155c97a9570.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: We found a repeat loop deep inside an external behavior that was firing the answer disalog from the front script The IDE 's find feature did not find it since it was a behavior (i searched ) the the future i guess we need to run grep on the whole sourve tree from trrminal I fixed that but all the go invisible commands on start up are still breaking the loading. We'll fix that today Swasti Astu! Be Well ( from my mobile ) _____________________________ From: J. Landman Gay > Sent: Thursday, July 7, 2016 9:48 PM Subject: Re: Getting Library Stacks into Memory To: How to use LiveCode > These almost sound like undefined errors with the group name as the object hint. Mobile apps can only have one window at a time, and each "go" replaces the previous window. If you go to an invisible stack you'll see black. In general don't use "go" for that kind of thing, just using the stack will load it into RAM. So all you need is to get the path and then set a behavior to that, or insert the script of the stack into front or back.,etc. Mobile apps need to load quickly, so show the main card immediately and do as much of the other setup as possible after something visible is on screen. Avoid "go" except for user navigation. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 7, 2016 11:30:26 PM Sannyasin Brahmanathaswami > wrote: > Our new app was loading nicely on the iPhone.. .we externalized a lot of > code to scripts that are meant to be used in front, back and as behaviors... > with the > > go stack > > cmd > > > logInfo "Loading frontscript" && tStackPath > > go stack (getPathForSharedLibraries() & tStackPath) > > insert the script of stack tStackName into front > > > and like this: > > > put getPathForSharedLibraries() & "mobilecontrols.livecodescript" into > tBehaviorStackPath > > logRaw "info",tBehaviorStackPath > > go invisible stack tBehaviorStackPath > > I have a gut feeling that this might not be happy on mobile. > > Any insights? sometimes my "suspicions" are completely wrong. > > But on the iPHone when it starts up we get a black screen... and a whole > series of iPhone answer dialogs, one after another that are not in our > code. all the groups on the home screen are being declared with an "OK" button. > > homeHeaderNavBat > OK > > portal_links # a big group on card 1 > OK > > home_gems # a subgroup of the above on cd 1 > OK... > > ten of these, declaring every single group on the card of the stack that is > trying to be loaded "home.livecode" and if we click OK on each one. > finally the finish and the loader stack is sitting there, but not the stack > that is supposed to be the first one to appear. > > Really weird. > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Jul 8 11:31:34 2016 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 8 Jul 2016 18:31:34 +0300 Subject: A bit RTF-ed off. Message-ID: <577FC756.30900@gmail.com> So, I imported an RTF file into a list field and tired to look at char 3, but I have a feeling that the RTF was piling in as double-byte stuff as it didn't work at all. When I copy-pasted the stuff out of the original RTF file intil a text file and imported that (as Text rather than RTFtext) everything worked. Would be grateful if someone "in the know" could either confirm or put me right on this one. Richmond. From danoldboy at gmail.com Fri Jul 8 11:42:21 2016 From: danoldboy at gmail.com (Dan Brown) Date: Fri, 8 Jul 2016 16:42:21 +0100 Subject: Parsing a PDF file In-Reply-To: <535B7A81-34C2-4D67-8BF4-2A5F4C83C113@gmail.com> References: <71b83983-9183-3867-3646-4112cd53d598@livecode.com> <535B7A81-34C2-4D67-8BF4-2A5F4C83C113@gmail.com> Message-ID: > Doesn?t that just let you show PDFs? Would it help to parse the contents? Using the "pdftotext" component of Xpdf you can use a shell command to extract the text from a pdf and place it into for example a text file which you can then parse something like.. _______ put "C:\pdftotext" & " -layout" & " " & pPDF & " " & pTEXTFILE into tcommand PUT shell ( tcommand ) into meh ----------- pPDF is the location and filename of the PDF file you want to process, pTEXTFILE is the location and name of the text file you want to create On Fri, Jul 8, 2016 at 4:10 PM, Colin Holgate wrote: > Doesn?t that just let you show PDFs? Would it help to parse the contents? > > I?m trying another approach, will report back soon. > > >> On Jul 8, 2016, at 10:58 AM, Peter TB Brett wrote: >> >> On 08/07/2016 15:11, Jim Hurley wrote: >>> My County is now publishing the election results to the web as a PDF file: >>> >>> https://www.mynevadacounty.com/nc/elections/docs/2016%20Elections/June%207%2c%202016%2c%20Presidential%20Primary/Election%20Results/precinctreport.pdf >>> >>> Is there a way to parse these PDF files? >> >> The XPDF external, which is now available as part of LiveCode Business, is probably what you're looking for. >> >> Peter >> >> -- >> Dr Peter Brett >> LiveCode Technical Project Manager >> >> LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Fri Jul 8 11:44:50 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 8 Jul 2016 08:44:50 -0700 Subject: Parsing a PDF file In-Reply-To: References: Message-ID: <577FCA72.2040901@fourthworld.com> Jim Hurley wrote: > My County is now publishing the election results to the web as a PDF > file: > > https://www.mynevadacounty.com/nc/elections/docs/2016%20Elections/June%207%2c%202016%2c%20Presidential%20Primary/Election%20Results/precinctreport.pdf > > Is there a way to parse these PDF files? It's unfortunate that so many orgs release data useful to analysis in complex formats that inhibit such use. PDF is great when the goal is to preserve page layout, but a uniquely poor choice for sharing data to be used for analytics. Alas, that hasn't slowed its unfortunate use in such contexts. If this is to be done within an application for others to use, perhaps the smoothest user experience would be via the XPDF external, currently available only in LiveCode Business Edition at $1999/yr. While that may seem high, for commercial products of such scope it may be a good bargain. However, if this is only for use in tools you'll be using yourself, where an extra step or two is less important, there are many options. If it's just one file, perhaps the simplest is to use Save As Text from Adobe's PDF Viewer. If you'll need to automate this for reuse, here's a way to use Apple's Automator for that: I believe there may also be a command line option available on macOS, which could be called from within LC using the shell function. I don't know the name of the command line tool for that on macOS, but in Linux I use pdftotext, where the syntax is pretty simple: pdftotext e.g.: put "/Users/me/folder/SomeFile.pdf" into tSrc put "/Users/me/folder/SomeFile.txt" into tDest get shell("pdftotext "& tSrc && tDest) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From colinholgate at gmail.com Fri Jul 8 11:55:08 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Fri, 8 Jul 2016 11:55:08 -0400 Subject: Parsing a PDF file In-Reply-To: <577FCA72.2040901@fourthworld.com> References: <577FCA72.2040901@fourthworld.com> Message-ID: I was trying an export as spreadsheet from Acrobat Pro, but that didn?t work. Doing a Save as Text from Acrobat Reader was more successful, but the columns come out in a different order, and some columns get combined into a single string. > On Jul 8, 2016, at 11:44 AM, Richard Gaskin wrote: > > Jim Hurley wrote: > > > My County is now publishing the election results to the web as a PDF > > file: > > > > https://www.mynevadacounty.com/nc/elections/docs/2016%20Elections/June%207%2c%202016%2c%20Presidential%20Primary/Election%20Results/precinctreport.pdf > > > > Is there a way to parse these PDF files? > > It's unfortunate that so many orgs release data useful to analysis in complex formats that inhibit such use. PDF is great when the goal is to preserve page layout, but a uniquely poor choice for sharing data to be used for analytics. Alas, that hasn't slowed its unfortunate use in such contexts. > > If this is to be done within an application for others to use, perhaps the smoothest user experience would be via the XPDF external, currently available only in LiveCode Business Edition at $1999/yr. While that may seem high, for commercial products of such scope it may be a good bargain. > > However, if this is only for use in tools you'll be using yourself, where an extra step or two is less important, there are many options. > > If it's just one file, perhaps the simplest is to use Save As Text from Adobe's PDF Viewer. > > If you'll need to automate this for reuse, here's a way to use Apple's Automator for that: > > > I believe there may also be a command line option available on macOS, which could be called from within LC using the shell function. I don't know the name of the command line tool for that on macOS, but in Linux I use pdftotext, where the syntax is pretty simple: > > pdftotext > > e.g.: > > put "/Users/me/folder/SomeFile.pdf" into tSrc > put "/Users/me/folder/SomeFile.txt" into tDest > get shell("pdftotext "& tSrc && tDest) > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Fri Jul 8 11:59:15 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 8 Jul 2016 08:59:15 -0700 Subject: Get fillGradient props In-Reply-To: <155c965a610.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <155c965a610.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <577FCDD3.7030300@fourthworld.com> J. Landman Gay wrote: > I think we're pretty evenly split between "c" and "u". I prefer "c" because > it is, after all, a custom property. Those who migrated from SuperCard > often prefer "u" because over there, I believe, they are called user > properties. > > Richard's guide is pretty good and I follow the other conventions but I > can't get used to writing a "u" for something that starts with a "c". > Apparently the team feels the same. Back in those early days, when I first started noticing the relatively consistent naming conventions in use among some xTalk programmers that I later documented in that article, OOP was just coming into vogue and at the time several authors were commonly use a "c" prefix to denote class definitions in some language (perhaps I first got it from a Dave Mark book? Been so long I don't recall). Although it's been such a long time between my first proposal for parentScripts discussed with the Allegiant team for SuperCard and the xTalk world's first implementation in LC a few years ago, I've always held onto the belief that the feature's value would eventually be self-evident enough to see it happen in some xTalk or another. Since parentScripts (or as they're now unfortunately/ambiguously called, "behaviors") are in effect class definitions, all these years I've been holding out hope of using "c" as an identifier for those class definition objects. And indeed, now that we finally have what LC calls behaviors, I use "c" that way, in the names of the objects holding a behavior script. It's an admittedly small benefit, made even smaller by my habit of also coloring buttons with behavior scripts a bright yellow so they stand out even more. But sometimes that sort of OCD thing makes me happy. So while LC's nomenclature may make "c" a more natural-seeming fit for what it calls "custom properties" for the feature that premiered in the xTalk world as "user-defined properties" in SuperCard, for my own code (and Ken's and some others as you've noted) I still use "u" for those, at long last able to use "c" for the purpose I'd always hoped for. :) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From paul at researchware.com Fri Jul 8 12:30:17 2016 From: paul at researchware.com (Paul Dupuis) Date: Fri, 08 Jul 2016 12:30:17 -0400 Subject: Parsing a PDF file In-Reply-To: References: <577FCA72.2040901@fourthworld.com> Message-ID: <577FD519.7070305@researchware.com> On 7/8/2016 11:55 AM, Colin Holgate wrote: > I was trying an export as spreadsheet from Acrobat Pro, but that didn?t work. Doing a Save as Text from Acrobat Reader was more successful, but the columns come out in a different order, and some columns get combined into a single string. Over the few years, I have spent a ridiculous amount of time exploring PDF access via LiveCode is every way possible. Ultimately, for our needs we created the XPDF external and transferred it to LiveCode, but we explored javascript extraction from a browser. Interapplication communication, shell command line tools, etc., etc. The reality is the PDF format is great for visually representing a printed page and totally sucks for text content - that is actually getting the characters of the document rather than an image of the characters. There is NO really mapping of characters to their appearance in the PDF other than geometric position on the page. You get no font information, no size, no styles, zip. You get line breaks at the end of every visible line and you can get line breaks in what appears to be the middle of content depending upon how the original source document was rendered into a PDF. Headers and footers end up in the middle of paragraphs. You have no real way to tell a line break from a paragraph break and more. In truth a NEW portable document format needs to be invented that connects and preserves content to its appearance, but I suspect that people who want to keep both intact and portable are just using HTML5 and CSS3. From bonnmike at gmail.com Fri Jul 8 12:48:34 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 8 Jul 2016 10:48:34 -0600 Subject: Parsing a PDF file In-Reply-To: <577FD519.7070305@researchware.com> References: <577FCA72.2040901@fourthworld.com> <577FD519.7070305@researchware.com> Message-ID: Its ugly but, could you use pdf.js to extract the text in a browser widget showing the pdf? http://git.macropus.org/2011/11/pdftotext/example/ Not sure what else is in pdf.js but it looks interesting. On Fri, Jul 8, 2016 at 10:30 AM, Paul Dupuis wrote: > On 7/8/2016 11:55 AM, Colin Holgate wrote: > > I was trying an export as spreadsheet from Acrobat Pro, but that didn?t > work. Doing a Save as Text from Acrobat Reader was more successful, but the > columns come out in a different order, and some columns get combined into a > single string. > > Over the few years, I have spent a ridiculous amount of time exploring > PDF access via LiveCode is every way possible. Ultimately, for our needs > we created the XPDF external and transferred it to LiveCode, but we > explored javascript extraction from a browser. Interapplication > communication, shell command line tools, etc., etc. > > The reality is the PDF format is great for visually representing a > printed page and totally sucks for text content - that is actually > getting the characters of the document rather than an image of the > characters. > > There is NO really mapping of characters to their appearance in the PDF > other than geometric position on the page. You get no font information, > no size, no styles, zip. You get line breaks at the end of every visible > line and you can get line breaks in what appears to be the middle of > content depending upon how the original source document was rendered > into a PDF. Headers and footers end up in the middle of paragraphs. You > have no real way to tell a line break from a paragraph break and more. > > In truth a NEW portable document format needs to be invented that > connects and preserves content to its appearance, but I suspect that > people who want to keep both intact and portable are just using HTML5 > and CSS3. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Fri Jul 8 12:50:23 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 8 Jul 2016 10:50:23 -0600 Subject: Parsing a PDF file In-Reply-To: References: <577FCA72.2040901@fourthworld.com> <577FD519.7070305@researchware.com> Message-ID: Might read this one too: http://stackoverflow.com/questions/1554280/extract-text-from-pdf-in-javascript On Fri, Jul 8, 2016 at 10:48 AM, Mike Bonner wrote: > Its ugly but, could you use pdf.js to extract the text in a browser > widget showing the pdf? > http://git.macropus.org/2011/11/pdftotext/example/ > > Not sure what else is in pdf.js but it looks interesting. > > On Fri, Jul 8, 2016 at 10:30 AM, Paul Dupuis > wrote: > >> On 7/8/2016 11:55 AM, Colin Holgate wrote: >> > I was trying an export as spreadsheet from Acrobat Pro, but that didn?t >> work. Doing a Save as Text from Acrobat Reader was more successful, but the >> columns come out in a different order, and some columns get combined into a >> single string. >> >> Over the few years, I have spent a ridiculous amount of time exploring >> PDF access via LiveCode is every way possible. Ultimately, for our needs >> we created the XPDF external and transferred it to LiveCode, but we >> explored javascript extraction from a browser. Interapplication >> communication, shell command line tools, etc., etc. >> >> The reality is the PDF format is great for visually representing a >> printed page and totally sucks for text content - that is actually >> getting the characters of the document rather than an image of the >> characters. >> >> There is NO really mapping of characters to their appearance in the PDF >> other than geometric position on the page. You get no font information, >> no size, no styles, zip. You get line breaks at the end of every visible >> line and you can get line breaks in what appears to be the middle of >> content depending upon how the original source document was rendered >> into a PDF. Headers and footers end up in the middle of paragraphs. You >> have no real way to tell a line break from a paragraph break and more. >> >> In truth a NEW portable document format needs to be invented that >> connects and preserves content to its appearance, but I suspect that >> people who want to keep both intact and portable are just using HTML5 >> and CSS3. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From ambassador at fourthworld.com Fri Jul 8 12:52:55 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 8 Jul 2016 09:52:55 -0700 Subject: Parsing a PDF file In-Reply-To: <577FD519.7070305@researchware.com> References: <577FD519.7070305@researchware.com> Message-ID: <577FDA67.30406@fourthworld.com> Paul Dupuis wrote: > In truth a NEW portable document format needs to be invented that > connects and preserves content to its appearance, but I suspect that > people who want to keep both intact and portable are just using HTML5 > and CSS3. CSS is a wonderful solution. Being prone to idealism, I like to believe (admittedly in the absence of all current evidence) that we're only a few years away from the nearly complete abandonment of PDF as a popular format for everything except perhaps the subset of documents that truly must remain in form that emulates yesteryear's printed page, an ever-shrinking use-case. For everything else, content in HTML with formatting in CSS is a wonderful option. Better still might be for the world to adopt LiveCode stacks as a universal document format. For more programmer-accessible and feature-rich than PDF, and fully open source. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Fri Jul 8 12:57:02 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 08 Jul 2016 11:57:02 -0500 Subject: Get fillGradient props In-Reply-To: <577FCDD3.7030300@fourthworld.com> References: <155c965a610.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <577FCDD3.7030300@fourthworld.com> Message-ID: <155cb70e730.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> You old OCDer, you. :-) Since behavior scripts are only referenced in a "set the behavior" statement, I'm not sure where you'd use an initial flag. But if I ever need one, I'd use "b" for "behavior". For now I just name the button with a trailing "behavior" string,, i. e., "scrollBehavior". We are all odd in our own way, but as long as we're consistently odd it works. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 8, 2016 11:00:39 AM Richard Gaskin wrote: > J. Landman Gay wrote: > >> I think we're pretty evenly split between "c" and "u". I prefer "c" because >> it is, after all, a custom property. Those who migrated from SuperCard >> often prefer "u" because over there, I believe, they are called user >> properties. >> >> Richard's guide is pretty good and I follow the other conventions but I >> can't get used to writing a "u" for something that starts with a "c". >> Apparently the team feels the same. > > Back in those early days, when I first started noticing the relatively > consistent naming conventions in use among some xTalk programmers that I > later documented in that article, OOP was just coming into vogue and at > the time several authors were commonly use a "c" prefix to denote class > definitions in some language (perhaps I first got it from a Dave Mark > book? Been so long I don't recall). > > Although it's been such a long time between my first proposal for > parentScripts discussed with the Allegiant team for SuperCard and the > xTalk world's first implementation in LC a few years ago, I've always > held onto the belief that the feature's value would eventually be > self-evident enough to see it happen in some xTalk or another. > > Since parentScripts (or as they're now unfortunately/ambiguously called, > "behaviors") are in effect class definitions, all these years I've been > holding out hope of using "c" as an identifier for those class > definition objects. And indeed, now that we finally have what LC calls > behaviors, I use "c" that way, in the names of the objects holding a > behavior script. > > It's an admittedly small benefit, made even smaller by my habit of also > coloring buttons with behavior scripts a bright yellow so they stand out > even more. But sometimes that sort of OCD thing makes me happy. > > So while LC's nomenclature may make "c" a more natural-seeming fit for > what it calls "custom properties" for the feature that premiered in the > xTalk world as "user-defined properties" in SuperCard, for my own code > (and Ken's and some others as you've noted) I still use "u" for those, > at long last able to use "c" for the purpose I'd always hoped for. :) > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hh.on-rev.com Fri Jul 8 12:26:55 2016 From: hh at hh.on-rev.com (-hh) Date: Fri, 8 Jul 2016 09:26:55 -0700 (PDT) Subject: Parsing a PDF file In-Reply-To: References: <577FCA72.2040901@fourthworld.com> <577FD519.7070305@researchware.com> Message-ID: <1467995215714-4706481.post@n4.nabble.com> [Description for MacOS, works on Win/Linux similar.] The best results for extracting tables from PDF I had with the free "RAW" method: = Open the file with Preview. = Select All (menu Edit). Copy. = Go to a LC stack with a field "INCOMING" = Use by a button or the message box the line put clipboardData["Text"] into fld "INCOMING" If you use simply "paste" you get (probably unwanted) styles with your text. (If you have a lot of files: Preview is scriptable.) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Parsing-a-PDF-file-tp4706466p4706481.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Fri Jul 8 14:13:11 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 8 Jul 2016 11:13:11 -0700 Subject: Get fillGradient props In-Reply-To: <155cb70e730.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <155cb70e730.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <577FED37.9020102@fourthworld.com> J. Landman Gay wrote: > Since behavior scripts are only referenced in a "set the behavior" > statement, I'm not sure where you'd use an initial flag. Not in code, just in the object name. > But if I ever need one, I'd use "b" for "behavior". I could, but I'm still holding out hope that the original term LC first implemented this with, parentScript, will one day become the preferred token for that. Yep, I'm a dreamer. :) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Fri Jul 8 15:00:49 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 8 Jul 2016 19:00:49 +0000 (UTC) Subject: Get fillGradient props References: <155cb70e730.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <577FED37.9020102@fourthworld.com> Message-ID: Richard Gaskin writes: > > J. Landman Gay wrote: > > > Since behavior scripts are only referenced in a "set the behavior" > > statement, I'm not sure where you'd use an initial flag. > > Not in code, just in the object name. I use the word "behavior" in the object name, as in button "btnStorageFieldBehavior" or stack "PageObjectsBehavior" > > > But if I ever need one, I'd use "b" for "behavior". > > I could, but I'm still holding out hope that the original term LC first > implemented this with, parentScript, will one day become the preferred > token for that. I think "parent" has the possibility of becoming confused with "owner" when thinking of the message path, so I like "behavior" a bit better. I'd probably prefer "shadow", as I think of behavior/parent scripts as private backscripts for objects. -- Mark Wieder ahsoftware at gmail.com From dsc at swcp.com Fri Jul 8 15:03:47 2016 From: dsc at swcp.com (Dar Scott) Date: Fri, 8 Jul 2016 13:03:47 -0600 Subject: Parsing a PDF file In-Reply-To: <577FCA72.2040901@fourthworld.com> References: <577FCA72.2040901@fourthworld.com> Message-ID: <6BECBF8E-6E55-4142-BFB4-EED40CB0451B@swcp.com> > On Jul 8, 2016, at 9:44 AM, Richard Gaskin wrote: > > > My County is now publishing the election results to the web as a PDF > > file: > > > > https://www.mynevadacounty.com/nc/elections/docs/2016%20Elections/June%207%2c%202016%2c%20Presidential%20Primary/Election%20Results/precinctreport.pdf > > > > Is there a way to parse these PDF files? > > It's unfortunate that so many orgs release data useful to analysis in complex formats that inhibit such use. PDF is great when the goal is to preserve page layout, but a uniquely poor choice for sharing data to be used for analytics. Alas, that hasn't slowed its unfortunate use in such contexts. To make it worse, documents for human consumption are claimed to be the same when underneath there are big changes. Tables are moved around, rotated, have zeros converted to blanks, have commas added and so on. You know that party bosses get files in useful forms. I'd contact the right people in the state government and get the right files. One thing that has worked for me for onetime analysis is trying different file name extensions in downloading. The right file might be there. Dar From ambassador at fourthworld.com Fri Jul 8 15:12:21 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 8 Jul 2016 12:12:21 -0700 Subject: Parsing a PDF file In-Reply-To: <6BECBF8E-6E55-4142-BFB4-EED40CB0451B@swcp.com> References: <6BECBF8E-6E55-4142-BFB4-EED40CB0451B@swcp.com> Message-ID: <577FFB15.1000303@fourthworld.com> Dar Scott wrote: >> On Jul 8, 2016, at 9:44 AM, Richard Gaskin wrote: >> It's unfortunate that so many orgs release data useful to analysis >> in complex formats that inhibit such use. ... > To make it worse, documents for human consumption are claimed to be > the same when underneath there are big changes. Tables are moved > around, rotated, have zeros converted to blanks, have commas added > and so on. > > You know that party bosses get files in useful forms. I'd contact > the right people in the state government and get the right files. Amen, brother Dar! For all the people who pass around PDFs, when you ask them where it came from they just look a you with that flouride stare. But PDF isn't an authoring format, it's a delivery format - everything in that format began life in something more malleable. > One thing that has worked for me for onetime analysis is trying > different file name extensions in downloading. The right file might > be there. Good thought. Unfortunately with the URL Jim provided both .txt or .csv produce merely 404s. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Fri Jul 8 16:42:32 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 8 Jul 2016 15:42:32 -0500 Subject: A bit RTF-ed off. In-Reply-To: <577FC756.30900@gmail.com> References: <577FC756.30900@gmail.com> Message-ID: <7497ed3b-3b61-18e4-8196-b8bd89089cce@hyperactivesw.com> On 7/8/2016 10:31 AM, Richmond wrote: > So, I imported an RTF file into a list field and tired to look at char 3, > but I have a feeling that the RTF was piling in as double-byte stuff > as it didn't work at all. > > When I copy-pasted the stuff out of the original RTF file intil a text file > and imported that (as Text rather than RTFtext) everything worked. > Would be grateful if someone "in the know" could either confirm > or put me right on this one. What version of LC are you using for this? If it's before version 7 then you probably need to play with uniEncode/decode from or to UTF16/UTF8. (I don't remember the order of the transformations, you'd know better than I. My brain erased everything I used to know about it as soon as the ease of LC 7 appeared.) If it's LC 7 or higher then all text files are automatically converted to UTF16 when you import them, but an RTF file probably needs to go through textEncode before putting it into the field. It helps to know what unicode the original is saved as, but when in doubt, it's usually UTF8. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at appisle.net Fri Jul 8 16:48:44 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 9 Jul 2016 06:48:44 +1000 Subject: Get fillGradient props In-Reply-To: References: <155cb70e730.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <577FED37.9020102@fourthworld.com> Message-ID: This is all great fuel for the scripting style panel at the conference. Also we have: - strict compilation - being even stricter by also declaring repeat loop iteration variables (I do this) - declaring variables at the top of the handler or in the block they are used. Ali and I do the latter and Peter B thinks it's poor style because we don't have block scoped variables. - anything else we can come up with Cheers Monte Sent from my iPhone > On 9 Jul 2016, at 5:00 AM, Mark Wieder wrote: > > Richard Gaskin writes: > >> >> J. Landman Gay wrote: >> >>> Since behavior scripts are only referenced in a "set the behavior" >>> statement, I'm not sure where you'd use an initial flag. >> >> Not in code, just in the object name. > > I use the word "behavior" in the object name, as in > > button "btnStorageFieldBehavior" > or > stack "PageObjectsBehavior" > >> >>> But if I ever need one, I'd use "b" for "behavior". >> >> I could, but I'm still holding out hope that the original term LC first >> implemented this with, parentScript, will one day become the preferred >> token for that. > > I think "parent" has the possibility of becoming confused with "owner" > when thinking of the message path, so I like "behavior" a bit better. > I'd probably prefer "shadow", as I think of behavior/parent scripts as > private backscripts for objects. > > -- > Mark Wieder > ahsoftware at gmail.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Fri Jul 8 16:54:44 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 9 Jul 2016 06:54:44 +1000 Subject: Get fillGradient props In-Reply-To: <155cb70e730.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <155c965a610.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <577FCDD3.7030300@fourthworld.com> <155cb70e730.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <5EC34A70-7737-4D36-BC57-76809A7AAB6E@appisle.net> I think that is much more common than the c thing. Sent from my iPhone > On 9 Jul 2016, at 2:57 AM, J. Landman Gay wrote: > > For now I just name the button with a trailing "behavior" string,, i. e., "scrollBehavior". From dochawk at gmail.com Fri Jul 8 17:01:27 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 8 Jul 2016 14:01:27 -0700 Subject: Advertising in iOS or android apps Message-ID: Quite some time ago, I filled out the request for the semi-built in advertising program fro mobile. After ignoring it for weeks, I got a simple rejection from them. What are people doing, if anything, to put advertising in their mobile games? Are there other straightforward alternatives? I pretty much dropped development at that point, but am getting close to able to start again. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dsc at swcp.com Fri Jul 8 18:33:56 2016 From: dsc at swcp.com (Dar Scott) Date: Fri, 8 Jul 2016 16:33:56 -0600 Subject: Get fillGradient props In-Reply-To: References: <155cb70e730.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <577FED37.9020102@fourthworld.com> Message-ID: <85EAB8C0-9CA9-4FC1-972D-2040CF3B012D@swcp.com> > On Jul 8, 2016, at 2:48 PM, Monte Goulding wrote: > > This is all great fuel for the scripting style panel at the conference. Also we have: > > - strict compilation On some days I need this a lot. > - being even stricter by also declaring repeat loop iteration variables (I do this) One might interpret the repeat as the declaration. > - declaring variables at the top of the handler or in the block they are used. Ali and I do the latter and Peter B thinks it's poor style because we don't have block scoped variables. I usually write small handlers so it doesn't matter, but in a recent project I wrote some very long handlers and I switched to your way to stay organize and document. (I probably should have sat back and organized my thoughts and used small handlers.) I'm assuming "block" in a casual sense of a blank line or two and a line or two of comments followed by code. Are there some potential problems in declaring variables this way? > - anything else we can come up with I'm sorry I won't be there to throw candy when style suggestions seem legalistic. (Don't tell Richard and Ken, but I often use naming conventions for handlers over a few lines, and even sometimes for tiny ones. I guess I'm being won over as I get older. I had thrown candy in light-hearted protest against their talk on naming conventions, back in Monterey, causing a bit of confusion.) Dar From monte at appisle.net Fri Jul 8 19:08:31 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 9 Jul 2016 09:08:31 +1000 Subject: Get fillGradient props In-Reply-To: <85EAB8C0-9CA9-4FC1-972D-2040CF3B012D@swcp.com> References: <155cb70e730.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <577FED37.9020102@fourthworld.com> <85EAB8C0-9CA9-4FC1-972D-2040CF3B012D@swcp.com> Message-ID: > On 9 Jul 2016, at 8:33 AM, Dar Scott wrote: > >> - declaring variables at the top of the handler or in the block they are used. Ali and I do the latter and Peter B thinks it's poor style because we don't have block scoped variables. > > I usually write small handlers so it doesn't matter, but in a recent project I wrote some very long handlers and I switched to your way to stay organize and document. (I probably should have sat back and organized my thoughts and used small handlers.) > > I'm assuming "block" in a casual sense of a blank line or two and a line or two of comments followed by code. > > Are there some potential problems in declaring variables this way? Ah, sorry I should have said scope where I said block. What I mean is: on handler local tVarUsedEverywhereInHandler if something then local tVarJustUsedWithinThisCondition ... end if ... From dsc at swcp.com Fri Jul 8 19:24:52 2016 From: dsc at swcp.com (Dar Scott) Date: Fri, 8 Jul 2016 17:24:52 -0600 Subject: Get fillGradient props In-Reply-To: References: <155cb70e730.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <577FED37.9020102@fourthworld.com> <85EAB8C0-9CA9-4FC1-972D-2040CF3B012D@swcp.com> Message-ID: I think "block" is good in your usage. My sense is just twisted to fit my warped way of looking at things. > On Jul 8, 2016, at 5:08 PM, Monte Goulding wrote: > > >> On 9 Jul 2016, at 8:33 AM, Dar Scott wrote: >> >>> - declaring variables at the top of the handler or in the block they are used. Ali and I do the latter and Peter B thinks it's poor style because we don't have block scoped variables. >> >> I usually write small handlers so it doesn't matter, but in a recent project I wrote some very long handlers and I switched to your way to stay organize and document. (I probably should have sat back and organized my thoughts and used small handlers.) >> >> I'm assuming "block" in a casual sense of a blank line or two and a line or two of comments followed by code. >> >> Are there some potential problems in declaring variables this way? > > Ah, sorry I should have said scope where I said block. What I mean is: > > on handler > local tVarUsedEverywhereInHandler > if something then > local tVarJustUsedWithinThisCondition > ... > end if > ... > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Fri Jul 8 20:55:36 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 8 Jul 2016 17:55:36 -0700 Subject: Get fillGradient props In-Reply-To: <155cb70e730.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <155c965a610.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <577FCDD3.7030300@fourthworld.com> <155cb70e730.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <57804B88.6070509@ahsoftware.net> On 07/08/2016 09:57 AM, J. Landman Gay wrote: > We are all odd in our own way, but as long as we're consistently odd it > works. I want the t-shirt. -- Mark Wieder ahsoftware at gmail.com From brahma at hindu.org Fri Jul 8 21:28:58 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 9 Jul 2016 01:28:58 +0000 Subject: Getting Library Stacks into Memory In-Reply-To: <155c97a9570.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <155c97a9570.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Jacque wrote: "insert the script of the stack into front or back" The dictionary implies that this can only be done with an "object" , hence the assumption (probably wrong) that one needs to have the stack open? I assume you mean that we can do it like this now with script only stacks insert the script of stack ( [path-to-script-only-stacks]/api.livecodescript) into front OK? we will try that. BR From mwieder at ahsoftware.net Fri Jul 8 21:34:17 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 8 Jul 2016 18:34:17 -0700 Subject: Getting Library Stacks into Memory In-Reply-To: <155c97a9570.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <155c97a9570.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <57805499.3050409@ahsoftware.net> On 07/08/2016 12:48 AM, J. Landman Gay wrote: > insert the script of the stack into front or back Now *that* would be an interesting addition to the language "...surprise me, Trebek..." -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Fri Jul 8 21:39:03 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 8 Jul 2016 18:39:03 -0700 Subject: ICO image extraction lib? Message-ID: <578055B7.6070607@fourthworld.com> Someone in the forums was asking about retrieving the images from an ICO file. The format seems pretty straightforward, and the internal image sections are either BMP or PNG, so they'd work well in LC once extracted. Has anyone here written a library for extracting image data from ICOs? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Fri Jul 8 21:47:17 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 8 Jul 2016 18:47:17 -0700 Subject: Get fillGradient props In-Reply-To: References: <155cb70e730.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <577FED37.9020102@fourthworld.com> Message-ID: <578057A5.5010606@ahsoftware.net> On 07/08/2016 01:48 PM, Monte Goulding wrote: > - being even stricter by also declaring repeat loop iteration variables (I do this) I think that might lead to trouble in giving the sense that loop iterators are of the same class as other variables, whereas writing to a loop iterator can be a recipe for trouble. LiveCode seems to back up this position - even with strict compilation enabled declaring loop iterators is not required. But I will still declare loop variables if I need/want to add a comment explaining what it's for. -- Mark Wieder ahsoftware at gmail.com From mark.rauterkus at gmail.com Fri Jul 8 22:47:53 2016 From: mark.rauterkus at gmail.com (Mark Rauterkus) Date: Fri, 8 Jul 2016 22:47:53 -0400 Subject: Parsing a PDF file Message-ID: Hi, OT Tip: Go to the source of the data, the election board. Tell them you want the raw data made available PLUS the PDF. That is not an unreasonable request. Open Government advocates / folks would support that, IMHO. -- Ta. Mark Rauterkus Mark at Rauterkus.com From lan.kc.macmail at gmail.com Fri Jul 8 23:13:26 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 9 Jul 2016 11:13:26 +0800 Subject: A bit RTF-ed off. In-Reply-To: <577FC756.30900@gmail.com> References: <577FC756.30900@gmail.com> Message-ID: As I assume you are now using LC8 Indy (to that generous person, God bless you and your family) I'll point out two entries in the LC8 Dictionary which I know you're having trouble accessing: Under 'textDecode': It is highly recommended that any time you interface with things outside LiveCode (files, network sockets, processes, etc) that you explicitly textEncode any text you send outside LiveCode and textDecode all text received into LiveCode. If this doesn't happen, a platform-dependent encoding will be used (which normally does not support Unicode text). It is not, in general, possible to reliably auto-detect text encodings so please check the documentation for the programme you are communicating with to find out what it expects. If in doubt, try UTF-8. Under 'RTFText': Note: Unfortunately, OpenOffice does not have particularly good rtf import / export capabilities (it doesn't even round-trip correctly through itself!) and thus copying / pasting of lists between LiveCode and OpenOffice will not work reliably or correctly. Important: Because the RTF standard does not include the box, threeDbox, and link styles supported by LiveCode, the RTFText property does not necessarily include all information necessary to reproduce the style information in a chunk. To export and re-import field information without losing any style information, use the htmlTextproperty instead. So I think your script should look something like: set the RTFText of fld "myRTF" to textDecode(myFile,"CP1252") Obviously CP1252, could be UTF-16BE, UTF-8, ASCII or any of the other recognised formats like "ISO-8859-1" which I see is a Linux only format. HTH From monte at appisle.net Fri Jul 8 23:15:25 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 9 Jul 2016 13:15:25 +1000 Subject: ICO image extraction lib? In-Reply-To: <578055B7.6070607@fourthworld.com> References: <578055B7.6070607@fourthworld.com> Message-ID: <8ED2C6E8-E7B7-465E-9E2A-710D61525306@appisle.net> I have played with it a couple of times over the years. If you can find a copy of Revolution 2.3.. ish you might find something interesting in the standalone builder script as I had to extract all the bitmaps and rebuild the file in the order the engine needed. Thankfully Mark Waddingham sorted out the need for that a few years later. > On 9 Jul 2016, at 11:39 AM, Richard Gaskin wrote: > > Someone in the forums was asking about retrieving the images from an ICO file. The format seems pretty straightforward, and the internal image sections are either BMP or PNG, so they'd work well in LC once extracted. > > Has anyone here written a library for extracting image data from ICOs? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Jul 9 01:57:18 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 09 Jul 2016 00:57:18 -0500 Subject: Getting Library Stacks into Memory In-Reply-To: References: <155c97a9570.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <155ce3b3e48.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I seem to remember inserting the script of a stack into back at some point in the past. I know for sure you can start using the stack which is effectively the same thing. The main thing is that you don't need to "go" there to load the stack into RAM. Just putting it in use does that, as does accessing any property. Referring to it in almost any way loads it. The one exception I can think of is "there is a file" which only reads the file directory. But "there is a stack" does load it, because LC needs to open and read the file to ascertain its structure. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 8, 2016 8:30:01 PM Sannyasin Brahmanathaswami wrote: > Jacque wrote: "insert the script of the stack into front or back" > > The dictionary implies that this can only be done with an "object" , hence > the assumption (probably wrong) that one needs to have the stack open? > > I assume you mean that we can do it like this now with script only stacks > > insert the script of stack ( > [path-to-script-only-stacks]/api.livecodescript) into front > > OK? we will try that. > > BR > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Jul 9 04:10:37 2016 From: richmondmathewson at gmail.com (richmond) Date: Sat, 9 Jul 2016 11:10:37 +0300 Subject: A bit RTF-ed off. In-Reply-To: <7497ed3b-3b61-18e4-8196-b8bd89089cce@hyperactivesw.com> References: <577FC756.30900@gmail.com> <7497ed3b-3b61-18e4-8196-b8bd89089cce@hyperactivesw.com> Message-ID: <5780B17D.9010800@gmail.com> "What version of LC are you using for this?" I was using 7.1.4. I prepared the document to import in AbiWord ("Shabby Word"), and a second time in LibreOffice 5. Having said that: my last Stable release of my Devawriter Pro was authored with 4.5 and it imported RTF files that "Behaved themselves" completely. Richmond. On 07/08/2016 11:42 PM, J. Landman Gay wrote: > On 7/8/2016 10:31 AM, Richmond wrote: >> So, I imported an RTF file into a list field and tired to look at >> char 3, >> but I have a feeling that the RTF was piling in as double-byte stuff >> as it didn't work at all. >> >> When I copy-pasted the stuff out of the original RTF file intil a >> text file >> and imported that (as Text rather than RTFtext) everything worked. >> Would be grateful if someone "in the know" could either confirm >> or put me right on this one. > > What version of LC are you using for this? If it's before version 7 > then you probably need to play with uniEncode/decode from or to > UTF16/UTF8. (I don't remember the order of the transformations, you'd > know better than I. My brain erased everything I used to know about it > as soon as the ease of LC 7 appeared.) > > If it's LC 7 or higher then all text files are automatically converted > to UTF16 when you import them, but an RTF file probably needs to go > through textEncode before putting it into the field. It helps to know > what unicode the original is saved as, but when in doubt, it's usually > UTF8. > From richmondmathewson at gmail.com Sat Jul 9 04:13:47 2016 From: richmondmathewson at gmail.com (richmond) Date: Sat, 9 Jul 2016 11:13:47 +0300 Subject: A bit RTF-ed off. In-Reply-To: References: <577FC756.30900@gmail.com> Message-ID: <5780B23B.4070303@gmail.com> I was using 7.1.4 because I was attempting to set up an exercise for my progging pupils; and for various pretty obvious reasons we are working with 7.1.4 at the moment. I must find a 100% reliable RTF pumper-outer for Linux. Richmond. On 07/09/2016 06:13 AM, Kay C Lan wrote: > As I assume you are now using LC8 Indy (to that generous person, God > bless you and your family) I'll point out two entries in the LC8 > Dictionary which I know you're having trouble accessing: > > Under 'textDecode': > > It is highly recommended that any time you interface with things > outside LiveCode (files, network sockets, processes, etc) that you > explicitly textEncode any text you send outside LiveCode and > textDecode all text received into LiveCode. If this doesn't happen, a > platform-dependent encoding will be used (which normally does not > support Unicode text). > > It is not, in general, possible to reliably auto-detect text encodings > so please check the documentation for the programme you are > communicating with to find out what it expects. If in doubt, try > UTF-8. > > Under 'RTFText': > > Note: Unfortunately, OpenOffice does not have particularly good rtf > import / export capabilities (it doesn't even round-trip correctly > through itself!) and thus copying / pasting of lists between LiveCode > and OpenOffice will not work reliably or correctly. > > Important: Because the RTF standard does not include the box, > threeDbox, and link styles supported by LiveCode, the RTFText property > does not necessarily include all information necessary to reproduce > the style information in a chunk. To export and re-import field > information without losing any style information, use the > htmlTextproperty instead. > > So I think your script should look something like: > > set the RTFText of fld "myRTF" to textDecode(myFile,"CP1252") > > Obviously CP1252, could be UTF-16BE, UTF-8, ASCII or any of the other > recognised formats like "ISO-8859-1" which I see is a Linux only > format. > > HTH > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jhurley0305 at sbcglobal.net Sat Jul 9 10:43:58 2016 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Sat, 9 Jul 2016 07:43:58 -0700 Subject: Parsing a PDF file In-Reply-To: References: Message-ID: Thanks Richard. You are so right about releasing data in complex formats. I spoke to the election's off about posting election results in PDF format. I knew there was not use fighting them when they told me that it was now County "policy" to post everything in PDF--not unlike those 10 policies of renown that were carved in stone--and a metaphor was born. In the County's old system, each of the 50 election precincts were stored in 50 web pages as HTML documents. That was perfect for LiveCode's "get url". It was a matter of second to visit all 50 pages, parse the text, and store the data. Thankfully this new PDF web page has all the data for all 50 precincts on the one page. If I save the page to a pdf file, open than file in Adobe Acrobat, and save it as "Text (Accessible)" , as you suggested, I get a readable text file for LC to work its magic on. (The other two text options in Adobe are "Rich Text Format" and "Text (Plain)", neither of which works--only "Text (Accessible)" I was unaware of Apple's Automator. I'll look into it--but it is unnecessary for this project. Thanks again, Jim Hurley > Message: 9 > Date: Fri, 8 Jul 2016 08:44:50 -0700 > From: Richard Gaskin > To: use-livecode at lists.runrev.com > Subject: Re: Parsing a PDF file > Message-ID: <577FCA72.2040901 at fourthworld.com> > Content-Type: text/plain; charset=utf-8; format=flowed > > Jim Hurley wrote: > >> My County is now publishing the election results to the web as a PDF >> file: >> >> > https://www.mynevadacounty.com/nc/elections/docs/2016%20Elections/June%207%2c%202016%2c%20Presidential%20Primary/Election%20Results/precinctreport.pdf >> >> Is there a way to parse these PDF files? > > It's unfortunate that so many orgs release data useful to analysis in > complex formats that inhibit such use. PDF is great when the goal is to > preserve page layout, but a uniquely poor choice for sharing data to be > used for analytics. Alas, that hasn't slowed its unfortunate use in > such contexts. > > If this is to be done within an application for others to use, perhaps > the smoothest user experience would be via the XPDF external, currently > available only in LiveCode Business Edition at $1999/yr. While that may > seem high, for commercial products of such scope it may be a good bargain. > > However, if this is only for use in tools you'll be using yourself, > where an extra step or two is less important, there are many options. > > If it's just one file, perhaps the simplest is to use Save As Text from > Adobe's PDF Viewer. > > If you'll need to automate this for reuse, here's a way to use Apple's > Automator for that: > > > I believe there may also be a command line option available on macOS, > which could be called from within LC using the shell function. I don't > know the name of the command line tool for that on macOS, but in Linux I > use pdftotext, where the syntax is pretty simple: > > pdftotext > > e.g.: > > put "/Users/me/folder/SomeFile.pdf" into tSrc > put "/Users/me/folder/SomeFile.txt" into tDest > get shell("pdftotext "& tSrc && tDest) > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > From t.heaford at icloud.com Sat Jul 9 10:48:14 2016 From: t.heaford at icloud.com (Terence Heaford) Date: Sat, 09 Jul 2016 15:48:14 +0100 Subject: Printing a Browser widget Message-ID: <421BCC18-3F66-41DB-B2F6-91D0B2A8BFE5@icloud.com> Is there a way to print a browser widget yet? Print card does not print the contents. All the best Terry From ambassador at fourthworld.com Sat Jul 9 11:54:26 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 9 Jul 2016 08:54:26 -0700 Subject: Parsing a PDF file In-Reply-To: References: Message-ID: <57811E32.4080404@fourthworld.com> Jim Hurley wrote: > Thanks Richard. > > You are so right about releasing data in complex formats. > I spoke to the election's off about posting election results in PDF > format. > I knew there was not use fighting them when they told me that it was > now County "policy" to post everything in PDF--not unlike those 10 > policies of renown that were carved in stone--and a metaphor was born. Unfortunate, as it renders the data nearly useless. I agree you need to pick your battles, but it's dismaying in an ostensible democracy when the process of open data for civic-minded citizens is implemented in ways that ultimately deliver the opposite of the intended goal. Across the US we're beginning to see a revolution in government data sharing. At the municipal level one of the shining examples has been Raleigh, NC, in no small part due to the work of Jason Hibbets. He works as the Community Manager for Red Hat, and has devoted significant volunteer time working with city officials to make data available so local devs can deliver apps for the community. Notes on his work and a link to his excellent book, "The Foundation for an Open Source City" (I got a signed copy when I met him at the SoCal Linux Expo a couple years ago) is here: http://theopensourcecity.com/ The slides from the SCaLE talk where I met him are linked to from this page outlining his presentation: http://www.socallinuxexpo.org/scale12x/presentations/open-source-all-cities.html > In the County's old system, each of the 50 election precincts were > stored in 50 web pages as HTML documents. > That was perfect for LiveCode's "get url". It was a matter of second > to visit all 50 pages, parse the text, and store the data. So much for progress. ;) Too often we see Cargo Cult thinking in data management, where folks start using a tool or a format only because they hear about it others, but since they don't actually use the system they're delivering they never come to understand what's useful and what's an impedance. > (The other two text options in Adobe are "Rich Text Format" and "Text > (Plain)", neither of which works--only "Text (Accessible)" What is "Text (Accessible)"? > I was unaware of Apple's Automator. I'll look into it--but it is > unnecessary for this project. Warning: Automator is a lot of fun, and may be addictive. Be careful playing with it, since you may find yourself experimenting with all sorts of things and before you know it your Saturday is completely gone. :) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Sat Jul 9 12:09:35 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 09 Jul 2016 11:09:35 -0500 Subject: Get fillGradient props In-Reply-To: <85EAB8C0-9CA9-4FC1-972D-2040CF3B012D@swcp.com> References: <155cb70e730.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <577FED37.9020102@fourthworld.com> <85EAB8C0-9CA9-4FC1-972D-2040CF3B012D@swcp.com> Message-ID: <155d06bd218.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On July 8, 2016 5:35:16 PM Dar Scott wrote: > I'm sorry I won't be there to throw candy when style suggestions seem > legalistic. (Don't tell Richard and Ken, but I often use naming > conventions for handlers over a few lines, and even sometimes for tiny > ones. I guess I'm being won over as I get older. I had thrown candy in > light-hearted protest against their talk on naming conventions, back in > Monterey, causing a bit of confusion.) Those were the days. As a fellow objector, I too have been drawn to the dark side. The power was too much to resist. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sat Jul 9 12:40:17 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 Jul 2016 09:40:17 -0700 Subject: Parsing a PDF file In-Reply-To: <57811E32.4080404@fourthworld.com> References: <57811E32.4080404@fourthworld.com> Message-ID: <578128F1.704@ahsoftware.net> On 07/09/2016 08:54 AM, Richard Gaskin wrote: > Across the US we're beginning to see a revolution in government data > sharing. Except, of course, when it comes to actual data. Many of the laws we as citizens of the US are required to follow are not available for us to read without paying a fee. Cal Malamud, Public Resource, et al, are working to place the legal system in the public domain, but the legal establishment fights back. If you want access to the proceedings of U.S. federal courts, PACER is behind a paywall. The state of Georgia (in the US, not the more reasonable country) makes the claim of copyright in its lawsuit against publishing its laws: "Each of these annotations is an original and creative work of authorship that is protected by copyrights owned by the State of Georgia." -- Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Sat Jul 9 12:45:47 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 Jul 2016 09:45:47 -0700 Subject: Getting Library Stacks into Memory In-Reply-To: <155ce3b3e48.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <155c97a9570.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <155ce3b3e48.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <57812A3B.9040408@ahsoftware.net> On 07/08/2016 10:57 PM, J. Landman Gay wrote: > I seem to remember inserting the script of a stack into back at some > point in the past. Probably also worth pointing out here that if you assign a behavior to a control, the behavior acts as a backscript to that control. -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Sat Jul 9 13:09:57 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 9 Jul 2016 10:09:57 -0700 Subject: Get fillGradient props In-Reply-To: <155d06bd218.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <155d06bd218.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <57812FE5.5030004@fourthworld.com> J. Landman Gay wrote: > On July 8, 2016 5:35:16 PM Dar Scott wrote: > >> I'm sorry I won't be there to throw candy when style suggestions >> seem legalistic. (Don't tell Richard and Ken, but I often use >> naming conventions for handlers over a few lines, and even sometimes >> for tiny ones. I guess I'm being won over as I get older. I had >> thrown candy in light-hearted protest against their talk on naming >> conventions, back in Monterey, causing a bit of confusion.) > > Those were the days. As a fellow objector, I too have been drawn to > the dark side. The power was too much to resist. Don't tell Dar, but the main reason I maintain that article is in the hope that he'll throw more candy my way. Spoiled fruit would have been no fun, but his choice of snack-size M&Ms was perfect, a favorite. If he's taking requests I might suggest peanut M&Ms next time, or if he's looking out for my health perhaps >72% dark chocolate instead (all of chocolate's cardio benefits with minimal sugar impact). But Dar has good taste, any candy he wants to toss my way is welcome at any time. :) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sat Jul 9 13:13:14 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 9 Jul 2016 10:13:14 -0700 Subject: Getting Library Stacks into Memory In-Reply-To: <57812A3B.9040408@ahsoftware.net> References: <57812A3B.9040408@ahsoftware.net> Message-ID: <578130AA.1040801@fourthworld.com> Mark Wieder wrote: > On 07/08/2016 10:57 PM, J. Landman Gay wrote: >> I seem to remember inserting the script of a stack into back at some >> point in the past. > > Probably also worth pointing out here that if you assign a behavior > to a control, the behavior acts as a backscript to that control. But unlike a backscript, it's not at the back of the message path but immediately after the control it's assigned to. One might even say it becomes the "parent script" of the control. If only we had a word to describe that unique role clearly... ;) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Sat Jul 9 13:59:03 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 Jul 2016 10:59:03 -0700 Subject: Getting Library Stacks into Memory In-Reply-To: <578130AA.1040801@fourthworld.com> References: <57812A3B.9040408@ahsoftware.net> <578130AA.1040801@fourthworld.com> Message-ID: <57813B67.7040202@ahsoftware.net> On 07/09/2016 10:13 AM, Richard Gaskin wrote: > One might even say it becomes the "parent script" of the control. > > If only we had a word to describe that unique role clearly... ;) Ah... the problems of trying to set up a one-to-one correspondence between technical terms and natural language. If we want a technical word to describe that behavior then we would need to find something that closely mimic that behavior or at least find some behavior in real life that suggests the behavior of the behavior mechanism... ...let's see... what might that be? Besides, wouldn't we want to specify *two* parents? If you're going to go the single parent route, it's a short hop to Oswald acted alone, and from there to the CIA is behind 9/11, and we never went to the moon. -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Sat Jul 9 14:39:59 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 9 Jul 2016 11:39:59 -0700 Subject: Getting Library Stacks into Memory In-Reply-To: <57813B67.7040202@ahsoftware.net> References: <57813B67.7040202@ahsoftware.net> Message-ID: <578144FF.6090204@fourthworld.com> Mark Wieder wrote: > On 07/09/2016 10:13 AM, Richard Gaskin wrote: > >> One might even say it becomes the "parent script" of the control. >> >> If only we had a word to describe that unique role clearly... ;) > > Ah... the problems of trying to set up a one-to-one correspondence > between technical terms and natural language. Agreed: pursuit of natural language patterns in programming language design would be a distracting encumbrance. Indeed, I think Kamins himself would agree, given how much his HyperTalk is far more like the Smalltalk programming language than it ever attempted to be like English. Learnability and usability are much more productive goals for a programming language. Where serving those may also incidentally reflect natural language patterns so much the better. But natural languages and programming languages serve such very different goals that attempting the former when you're building the latter raises unmeetable expectations that tend toward frustrating games of "hunt the parser". Spend time in the forums to see this among newcomers every week. Thankfully, the team is using the phrase "English-like" less often these days and emphasizing the practical self-evident benefits, like readability, more. After all, how does one express an array in English? :) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Sat Jul 9 15:12:56 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 9 Jul 2016 14:12:56 -0500 Subject: Getting Library Stacks into Memory In-Reply-To: <578144FF.6090204@fourthworld.com> References: <57813B67.7040202@ahsoftware.net> <578144FF.6090204@fourthworld.com> Message-ID: On 7/9/2016 1:39 PM, Richard Gaskin wrote: > After all, how does one express an array in English? :) "Egg carton". Devin taught me that while brandishing a prop at one of our teaching sessions. put "abcd" into cup 1 of eggcarton "alphabetBlocks" At first I thought it was some kind of yolk but I cracked up when saw how apropos it was. It really should have been a shell structure but that term was already in use so the team was forced to ovoid it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From hh at hh.on-rev.com Sat Jul 9 14:37:40 2016 From: hh at hh.on-rev.com (-hh) Date: Sat, 9 Jul 2016 11:37:40 -0700 (PDT) Subject: Getting Library Stacks into Memory In-Reply-To: References: <155c97a9570.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <155ce3b3e48.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <57812A3B.9040408@ahsoftware.net> <578130AA.1040801@fourthworld.com> <57813B67.7040202@ahsoftware.net> <578144FF.6090204@fourthworld.com> Message-ID: <1468089460049-4706515.post@n4.nabble.com> RG wrote: > One might even say it becomes the "parent script" of the control. > If only we had a word to describe that unique role clearly... ;) Why not simply "the boss script"? This would also save JLG's "b"-prefix. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Getting-Library-Stacks-into-Memory-tp4706461p4706515.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Sat Jul 9 15:20:23 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 9 Jul 2016 12:20:23 -0700 Subject: Getting Library Stacks into Memory In-Reply-To: References: Message-ID: <57814E77.20701@fourthworld.com> J. Landman Gay wrote: > On 7/9/2016 1:39 PM, Richard Gaskin wrote: >> After all, how does one express an array in English? :) > > "Egg carton". Devin taught me that while brandishing a prop at one of > our teaching sessions. > > put "abcd" into cup 1 of eggcarton "alphabetBlocks" Conceptually the metaphor works well. But in code I think we're all grateful for the conciseness of: put "absc" into alphabetBlocks[1] Besides, as Mark Wieder suggested, if we were to pursue English-like patterns for that, once we introduce eggcarton objects we'd be obliged to add egg objects as well, and decide what a chicken object is. And after that we'd have to explain to new users which gets initialized first, the chicken or the egg. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From skiplondon at gmail.com Sat Jul 9 15:22:02 2016 From: skiplondon at gmail.com (Skip Kimpel) Date: Sat, 9 Jul 2016 15:22:02 -0400 Subject: LC 8 on Windows Message-ID: I have to ask.... has anybody actually tested LC8 on a Windows machine? It seems like so many features are missing or don't work that I am surprised there is not more outrage. A FEW examples: *Can't right click on a field to get options *Script window, after making changes, APPLY button does nothing and you have to force yourself out of the script to get it to save the changes (3 attempts to complete) *Selecting an object on the screen, clicking on it and trying to position it with the arrow keys does nothing. I spent 1/2 hour working with it before I gave up and went back to my trusty v7. In its current state it is unusable for me. Maybe it is just me. SKIP From dsc at swcp.com Sat Jul 9 16:14:35 2016 From: dsc at swcp.com (Dar Scott) Date: Sat, 9 Jul 2016 14:14:35 -0600 Subject: Getting Library Stacks into Memory In-Reply-To: <57814E77.20701@fourthworld.com> References: <57814E77.20701@fourthworld.com> Message-ID: <7A1D5059-C07F-4269-9F3B-D205C0EE367B@swcp.com> But LiveCode is not C. In LiveCode an array is a value, not a special kind of variable. put "abcd" into cup 1 of that egg carton in the box labeled "alphabetBlocks" (I know, Dar sees the world funny.) > On Jul 9, 2016, at 1:20 PM, Richard Gaskin wrote: > > J. Landman Gay wrote: > > > On 7/9/2016 1:39 PM, Richard Gaskin wrote: > >> After all, how does one express an array in English? :) > > > > "Egg carton". Devin taught me that while brandishing a prop at one of > > our teaching sessions. > > > > put "abcd" into cup 1 of eggcarton "alphabetBlocks" > > Conceptually the metaphor works well. But in code I think we're all grateful for the conciseness of: > > put "absc" into alphabetBlocks[1] > > Besides, as Mark Wieder suggested, if we were to pursue English-like patterns for that, once we introduce eggcarton objects we'd be obliged to add egg objects as well, and decide what a chicken object is. And after that we'd have to explain to new users which gets initialized first, the chicken or the egg. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From smudge.andy at googlemail.com Sat Jul 9 15:34:26 2016 From: smudge.andy at googlemail.com (AndyP) Date: Sat, 9 Jul 2016 12:34:26 -0700 (PDT) Subject: LC 8 on Windows In-Reply-To: References: Message-ID: <1468092866257-4706519.post@n4.nabble.com> Hi Skip, I'm using 8.0.1 on Win 10 and all of your examples that are giving you problems work fine here, so it looks like a problem with your installation? ----- Andy Piddock My software never has bugs. It just develops random features. Copy the new cloud space, get your free 15GB space now: Get Copy Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LC-8-on-Windows-tp4706517p4706519.html Sent from the Revolution - User mailing list archive at Nabble.com. From hh at hh.on-rev.com Sat Jul 9 15:38:57 2016 From: hh at hh.on-rev.com (-hh) Date: Sat, 9 Jul 2016 12:38:57 -0700 (PDT) Subject: LC 8 on Windows In-Reply-To: <1468092866257-4706519.post@n4.nabble.com> References: <1468092866257-4706519.post@n4.nabble.com> Message-ID: <1468093137687-4706520.post@n4.nabble.com> Usually I use more MacOS and Linux, but recently I tested a lot with LC 8 on both Win7 and Win10 for a contribution to "Sample Stacks". I had problems only with "windowshape" but these disappeared after enforcing a redraw just before unlocking the screen. Tried now again the actions you describe: No problems here with LC 8 on Win7/Win10. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LC-8-on-Windows-tp4706517p4706520.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Sat Jul 9 16:27:18 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 9 Jul 2016 13:27:18 -0700 Subject: LC 8 on Windows In-Reply-To: References: Message-ID: <57815E26.7070202@fourthworld.com> Skip Kimpel wrote: > I have to ask.... has anybody actually tested LC8 on a Windows > machine? It seems like so many features are missing or don't > work that I am surprised there is not more outrage. The members of this list are not known for shyness. If you're seeing obvious things in a build that aren't discussed here, it's not only managed to elude the core team while they were making it, but also the automated test tool and the human users here. Such cases may require us to dig a little deeper to understand what's going on. The following are my efforts to help confirm these in v8.1 dp2 under Windows 8.1: > A FEW examples: > *Can't right click on a field to get options Can't reproduce; works as expected. > *Script window, after making changes, APPLY button does nothing > and you have to force yourself out of the script to get it to > save the changes (3 attempts to complete) When I first tried this is failed as you described, but then I found that switching to the Browse tool allowed the Apply button to work. But weirder, subsequent attempts to use the Apply button all worked, regardless whether the Browse or Pointer tool was active. And in all cases Shift+Enter consistently worked (which is what I always use anyway, so I wouldn't have noticed this if I weren't testing from your recipe, and possibly why this has eluded others). So while I was able to confirm this once, I'm unable to come up with a recipe to reproduce it. Is the issue consistent in your install? > *Selecting an object on the screen, clicking on it and trying to > position it with the arrow keys does nothing. Can't reproduce; works as expected. SUMMARY: I was unable to reproduce two of three of these, and the other I was only able to reproduce once, but never again. Can anyone else here please test these recipes on Windows and report back what you find? If we see further variance we may want to explore our respective mix of plugins to see if those might be affecting things. FWIW my plugins folder is chock full o' stacks, but they're all ones I wrote. Also, which version of Windows are you running, and which version of :C? If your LC is not the most recent you may want to try LC 8.1 dp2, since that represents the most recent and most feature-rich version, and likely targeted to go to RC soon so let's get anything we need fixed identified and into the bug queue ASAP. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From skiplondon at gmail.com Sat Jul 9 16:37:28 2016 From: skiplondon at gmail.com (Skip Kimpel) Date: Sat, 9 Jul 2016 16:37:28 -0400 Subject: LC 8 on Windows In-Reply-To: <57815E26.7070202@fourthworld.com> References: <57815E26.7070202@fourthworld.com> Message-ID: I am running Windows 8.1 with LC 8.0.2 RC3 On Sat, Jul 9, 2016 at 4:27 PM, Richard Gaskin wrote: > Skip Kimpel wrote: > > > I have to ask.... has anybody actually tested LC8 on a Windows > > machine? It seems like so many features are missing or don't > > work that I am surprised there is not more outrage. > > The members of this list are not known for shyness. If you're seeing > obvious things in a build that aren't discussed here, it's not only managed > to elude the core team while they were making it, but also the automated > test tool and the human users here. Such cases may require us to dig a > little deeper to understand what's going on. > > The following are my efforts to help confirm these in v8.1 dp2 under > Windows 8.1: > > > A FEW examples: > > *Can't right click on a field to get options > > Can't reproduce; works as expected. > > > > *Script window, after making changes, APPLY button does nothing > > and you have to force yourself out of the script to get it to > > save the changes (3 attempts to complete) > > When I first tried this is failed as you described, but then I found that > switching to the Browse tool allowed the Apply button to work. > > But weirder, subsequent attempts to use the Apply button all worked, > regardless whether the Browse or Pointer tool was active. > > And in all cases Shift+Enter consistently worked (which is what I always > use anyway, so I wouldn't have noticed this if I weren't testing from your > recipe, and possibly why this has eluded others). > > So while I was able to confirm this once, I'm unable to come up with a > recipe to reproduce it. Is the issue consistent in your install? > > > > *Selecting an object on the screen, clicking on it and trying to > > position it with the arrow keys does nothing. > > Can't reproduce; works as expected. > > > SUMMARY: > > I was unable to reproduce two of three of these, and the other I was only > able to reproduce once, but never again. > > Can anyone else here please test these recipes on Windows and report back > what you find? > > If we see further variance we may want to explore our respective mix of > plugins to see if those might be affecting things. FWIW my plugins folder > is chock full o' stacks, but they're all ones I wrote. > > Also, which version of Windows are you running, and which version of :C? > > If your LC is not the most recent you may want to try LC 8.1 dp2, since > that represents the most recent and most feature-rich version, and likely > targeted to go to RC soon so let's get anything we need fixed identified > and into the bug queue ASAP. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From merakosp at gmail.com Sat Jul 9 17:01:22 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Sun, 10 Jul 2016 00:01:22 +0300 Subject: LC 8 on Windows In-Reply-To: References: <57815E26.7070202@fourthworld.com> Message-ID: Skip, What you describe is probably a result of corrupted Prefs. I would suggest to: 1. quit LiveCode 2. rename or remove the existing Prefs files 3. relaunch LiveCode On Windows, the LC Prefs are in C:/Users/your_user_name/AppData/Roaming/RunRev/Preferences/ There you should see one or two files: livecode.rev --> Prefs file for LC version <= 6.7.x livecode7.rev --> Prefs file for LC 7 and 8 I suggest renaming/removing *both* of them. Those files will be recreated once you launch LC. Regards, Panos -- On Sat, Jul 9, 2016 at 11:37 PM, Skip Kimpel wrote: > I am running Windows 8.1 with LC 8.0.2 RC3 > > On Sat, Jul 9, 2016 at 4:27 PM, Richard Gaskin > > wrote: > > > Skip Kimpel wrote: > > > > > I have to ask.... has anybody actually tested LC8 on a Windows > > > machine? It seems like so many features are missing or don't > > > work that I am surprised there is not more outrage. > > > > The members of this list are not known for shyness. If you're seeing > > obvious things in a build that aren't discussed here, it's not only > managed > > to elude the core team while they were making it, but also the automated > > test tool and the human users here. Such cases may require us to dig a > > little deeper to understand what's going on. > > > > The following are my efforts to help confirm these in v8.1 dp2 under > > Windows 8.1: > > > > > A FEW examples: > > > *Can't right click on a field to get options > > > > Can't reproduce; works as expected. > > > > > > > *Script window, after making changes, APPLY button does nothing > > > and you have to force yourself out of the script to get it to > > > save the changes (3 attempts to complete) > > > > When I first tried this is failed as you described, but then I found that > > switching to the Browse tool allowed the Apply button to work. > > > > But weirder, subsequent attempts to use the Apply button all worked, > > regardless whether the Browse or Pointer tool was active. > > > > And in all cases Shift+Enter consistently worked (which is what I always > > use anyway, so I wouldn't have noticed this if I weren't testing from > your > > recipe, and possibly why this has eluded others). > > > > So while I was able to confirm this once, I'm unable to come up with a > > recipe to reproduce it. Is the issue consistent in your install? > > > > > > > *Selecting an object on the screen, clicking on it and trying to > > > position it with the arrow keys does nothing. > > > > Can't reproduce; works as expected. > > > > > > SUMMARY: > > > > I was unable to reproduce two of three of these, and the other I was only > > able to reproduce once, but never again. > > > > Can anyone else here please test these recipes on Windows and report back > > what you find? > > > > If we see further variance we may want to explore our respective mix of > > plugins to see if those might be affecting things. FWIW my plugins > folder > > is chock full o' stacks, but they're all ones I wrote. > > > > Also, which version of Windows are you running, and which version of :C? > > > > If your LC is not the most recent you may want to try LC 8.1 dp2, since > > that represents the most recent and most feature-rich version, and likely > > targeted to go to RC soon so let's get anything we need fixed identified > > and into the bug queue ASAP. > > > > -- > > Richard Gaskin > > Fourth World Systems > > Software Design and Development for the Desktop, Mobile, and the Web > > ____________________________________________________________________ > > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From skiplondon at gmail.com Sat Jul 9 17:16:59 2016 From: skiplondon at gmail.com (Skip Kimpel) Date: Sat, 9 Jul 2016 17:16:59 -0400 Subject: LC 8 on Windows In-Reply-To: References: <57815E26.7070202@fourthworld.com> Message-ID: After some experimentation based upon what Panos suggested, something in my plugins folder is causing the issue. Yikes... I have LOTS of plugins. Any good way of diagnosing the culprit without doing having to drop my plugins one by one? By the way, I am VERY happy to see that it was just me! SKIP On Sat, Jul 9, 2016 at 5:01 PM, panagiotis merakos wrote: > Skip, > > What you describe is probably a result of corrupted Prefs. I would suggest > to: > > 1. quit LiveCode > 2. rename or remove the existing Prefs files > 3. relaunch LiveCode > > On Windows, the LC Prefs are in > C:/Users/your_user_name/AppData/Roaming/RunRev/Preferences/ > There you should see one or two files: > livecode.rev --> Prefs file for LC version <= 6.7.x > livecode7.rev --> Prefs file for LC 7 and 8 > > I suggest renaming/removing *both* of them. Those files will be recreated > once you launch LC. > > Regards, > Panos > -- > > On Sat, Jul 9, 2016 at 11:37 PM, Skip Kimpel wrote: > > > I am running Windows 8.1 with LC 8.0.2 RC3 > > > > On Sat, Jul 9, 2016 at 4:27 PM, Richard Gaskin < > ambassador at fourthworld.com > > > > > wrote: > > > > > Skip Kimpel wrote: > > > > > > > I have to ask.... has anybody actually tested LC8 on a Windows > > > > machine? It seems like so many features are missing or don't > > > > work that I am surprised there is not more outrage. > > > > > > The members of this list are not known for shyness. If you're seeing > > > obvious things in a build that aren't discussed here, it's not only > > managed > > > to elude the core team while they were making it, but also the > automated > > > test tool and the human users here. Such cases may require us to dig a > > > little deeper to understand what's going on. > > > > > > The following are my efforts to help confirm these in v8.1 dp2 under > > > Windows 8.1: > > > > > > > A FEW examples: > > > > *Can't right click on a field to get options > > > > > > Can't reproduce; works as expected. > > > > > > > > > > *Script window, after making changes, APPLY button does nothing > > > > and you have to force yourself out of the script to get it to > > > > save the changes (3 attempts to complete) > > > > > > When I first tried this is failed as you described, but then I found > that > > > switching to the Browse tool allowed the Apply button to work. > > > > > > But weirder, subsequent attempts to use the Apply button all worked, > > > regardless whether the Browse or Pointer tool was active. > > > > > > And in all cases Shift+Enter consistently worked (which is what I > always > > > use anyway, so I wouldn't have noticed this if I weren't testing from > > your > > > recipe, and possibly why this has eluded others). > > > > > > So while I was able to confirm this once, I'm unable to come up with a > > > recipe to reproduce it. Is the issue consistent in your install? > > > > > > > > > > *Selecting an object on the screen, clicking on it and trying to > > > > position it with the arrow keys does nothing. > > > > > > Can't reproduce; works as expected. > > > > > > > > > SUMMARY: > > > > > > I was unable to reproduce two of three of these, and the other I was > only > > > able to reproduce once, but never again. > > > > > > Can anyone else here please test these recipes on Windows and report > back > > > what you find? > > > > > > If we see further variance we may want to explore our respective mix of > > > plugins to see if those might be affecting things. FWIW my plugins > > folder > > > is chock full o' stacks, but they're all ones I wrote. > > > > > > Also, which version of Windows are you running, and which version of > :C? > > > > > > If your LC is not the most recent you may want to try LC 8.1 dp2, since > > > that represents the most recent and most feature-rich version, and > likely > > > targeted to go to RC soon so let's get anything we need fixed > identified > > > and into the bug queue ASAP. > > > > > > -- > > > Richard Gaskin > > > Fourth World Systems > > > Software Design and Development for the Desktop, Mobile, and the Web > > > ____________________________________________________________________ > > > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Sat Jul 9 17:39:12 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 9 Jul 2016 14:39:12 -0700 Subject: LC 8 on Windows In-Reply-To: References: Message-ID: <57816F00.9060407@fourthworld.com> Skip Kimpel wrote: > After some experimentation based upon what Panos suggested, something > in my plugins folder is causing the issue. Yikes... I have LOTS of > plugins. Any good way of diagnosing the culprit without doing having > to drop my plugins one by one? By halves. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dave at applicationinsight.com Sun Jul 10 06:27:26 2016 From: dave at applicationinsight.com (Dave Kilroy) Date: Sun, 10 Jul 2016 11:27:26 +0100 Subject: Get fillGradient props Message-ID: <822C4935-4C31-4E28-8B6E-99F754C921DC@applicationinsight.com> OK Monte how about naming convention for widgets? I currently prepend widget names with ?wj? - what do the rest of use This is all great fuel for the scripting style panel at the conference. Also we have: - strict compilation - being even stricter by also declaring repeat loop iteration variables (I do this) - declaring variables at the top of the handler or in the block they are used. Ali and I do the latter and Peter B thinks it's poor style because we don't have block scoped variables. - anything else we can come up with Cheers Monte Sent from my iPhone > On 9 Jul 2016, at 5:00 AM, Mark Wieder <mwieder@> wrote: > > Richard Gaskin <ambassador at ...> writes: > >> >> J. Landman Gay wrote: >> >>> Since behavior scripts are only referenced in a "set the behavior" >>> statement, I'm not sure where you'd use an initial flag. >> >> Not in code, just in the object name. > > I use the word "behavior" in the object name, as in > > button "btnStorageFieldBehavior" > or > stack "PageObjectsBehavior" > >> >>> But if I ever need one, I'd use "b" for "behavior". >> >> I could, but I'm still holding out hope that the original term LC first >> implemented this with, parentScript, will one day become the preferred >> token for that. > > I think "parent" has the possibility of becoming confused with "owner" > when thinking of the message path, so I like "behavior" a bit better. > I'd probably prefer "shadow", as I think of behavior/parent scripts as > private backscripts for objects. > > -- > Mark Wieder > ahsoftware@ > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at .runrev > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at .runrev Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Sun Jul 10 06:57:38 2016 From: monte at appisle.net (Monte Goulding) Date: Sun, 10 Jul 2016 20:57:38 +1000 Subject: Get fillGradient props In-Reply-To: <822C4935-4C31-4E28-8B6E-99F754C921DC@applicationinsight.com> References: <822C4935-4C31-4E28-8B6E-99F754C921DC@applicationinsight.com> Message-ID: You mean widget instances I presume because widgets have their own reverse domain based naming convention/kind. I suspect it would be useful to use some part of the widget name in the instance name of a widget given all widgets are referred to as widget so reading the code it may be hard to work out what kind of widget the script is dealing with. Using the entire kind string my be a bit much though. I'd suggest dropping the reverse domain/author part and using the rest as a suffix. So: . Instances are named: Eg. `com.livecode.browser` instance showing help info named `help browser` Cheers Monte Sent from my iPhone > On 10 Jul 2016, at 8:27 PM, Dave Kilroy wrote: > > OK Monte how about naming convention for widgets? From richmondmathewson at gmail.com Sun Jul 10 07:23:23 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 10 Jul 2016 14:23:23 +0300 Subject: Mental with maps. Message-ID: <5782302B.9010907@gmail.com> http://forums.livecode.com/viewtopic.php?f=25&t=27476&p=144504#p144504 Creative weekend. Richmond. From alex at tweedly.net Sun Jul 10 07:52:27 2016 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 10 Jul 2016 12:52:27 +0100 Subject: LC 8 on Windows In-Reply-To: <57816F00.9060407@fourthworld.com> References: <57816F00.9060407@fourthworld.com> Message-ID: <60144de7-6525-e95c-64e5-5fe26e298561@tweedly.net> [ this isn't yet a well-formed idea, but I'm sure there could be something ... ] Could there be a special "plugin diagnostic mode" ? When it is active, the IDE would - startup one plugin at a time - let you use it / try things out - and then (on some simple command) startup the next one, etc. -- Alex. On 09/07/2016 22:39, Richard Gaskin wrote: > Skip Kimpel wrote: > > > After some experimentation based upon what Panos suggested, something > > in my plugins folder is causing the issue. Yikes... I have LOTS of > > plugins. Any good way of diagnosing the culprit without doing having > > to drop my plugins one by one? > > By halves. > From tfabacher at gmail.com Sun Jul 10 09:44:27 2016 From: tfabacher at gmail.com (Todd Fabacher) Date: Sun, 10 Jul 2016 09:44:27 -0400 Subject: Draft LiveCode Conference App for 2016, but we have a bug Message-ID: At Digital Pomegranate, our team members wanted to do a simple App for the upcoming LiveCode conference and us it as a form of training. But we also came up with a simple, but great business plan to create a profitable business given the number of conferences that happen today, We found a few existing solution, but none automated ALL the functionality needed: web, admin, registration, speaker management and an App for Attendees. This is the topic of my talk at the LiveCode Conference. The junior programmers have come up with their first draft and you are free to check out the code on git hub: https://github.com/digitalpomegranate/LiveCodeConference2016 It is done in LC8 and uses widgets, so you will need that version. But....we have a potential bugs 1. it seems we were having trouble getting the mergJSON to work on Android. is there something special we must to other then just add it to the project? It is working on Windows. 2. Second bug is not so simple. We want people in the community to be able to take their picture and create a simple profile. That profile will use our new new WP REST API lib to save as WP Post. The problem is when we post the binary image using POST HTTP, it fine on the desktop, but is giving errors on Android. Is does the call and we see an entry in the media section of WP, but no image. We tried base64, but that did not work. Has anyone successful posted a binary image to an HTTP on an Android phone? Are we missing something. You can find that part of code in *card "addUser", *open the script of *button "done"*(on the top of the card) on *line 33 *we get the image binary, [the convert it in base64 line is commented out] and after post it, by calling *mediaCreate *function of the WP REST API To have the App on time for the conference, we are going to submit this with the bug, or we man not get approval in time for Aug 1st. Thanks, Todd From jhurley0305 at sbcglobal.net Sun Jul 10 10:13:11 2016 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Sun, 10 Jul 2016 07:13:11 -0700 Subject: Parsing a PDF file In-Reply-To: References: Message-ID: Richard Gaskin wrote: > > Jim Hurley wrote: > >> Thanks Richard. >> >> You are so right about releasing data in complex formats. >> I spoke to the election's off about posting election results in PDF >> format. >> I knew there was not use fighting them when they told me that it was >> now County "policy" to post everything in PDF--not unlike those 10 >> policies of renown that were carved in stone--and a metaphor was born. > > Unfortunate, as it renders the data nearly useless. I agree you need to > pick your battles, but it's dismaying in an ostensible democracy when > the process of open data for civic-minded citizens is implemented in > ways that ultimately deliver the opposite of the intended goal. Part of the problem in rural areas, such as the county I retired to, is budget. The Board Of Supervisors is ruled by budget considerations. They see it as the central issue in their reelection. They have cut back the budget for the elections office. That is not a good place to economize. There have been numerous screw ups recently. I get the feeling that the staff lives in constant terror of messing up. I served as the database manager for the current head of the department in his last election (it is an elected office?don?t ask) and I?m confident he had no idea what I did in that capacity. > > Across the US we're beginning to see a revolution in government data > sharing. At the municipal level one of the shining examples has been > Raleigh, NC, in no small part due to the work of Jason Hibbets. He > works as the Community Manager for Red Hat, and has devoted significant > volunteer time working with city officials to make data available so > local devs can deliver apps for the community. > > Notes on his work and a link to his excellent book, "The Foundation for > an Open Source City" (I got a signed copy when I met him at the SoCal > Linux Expo a couple years ago) is here: > http://theopensourcecity.com/ > > The slides from the SCaLE talk where I met him are linked to from this > page outlining his presentation: > http://www.socallinuxexpo.org/scale12x/presentations/open-source-all-cities.html > > >> In the County's old system, each of the 50 election precincts were >> stored in 50 web pages as HTML documents. >> That was perfect for LiveCode's "get url". It was a matter of second >> to visit all 50 pages, parse the text, and store the data. > > So much for progress. ;) > > Too often we see Cargo Cult thinking in data management, where folks > start using a tool or a format only because they hear about it others, > but since they don't actually use the system they're delivering they > never come to understand what's useful and what's an impedance. > > >> (The other two text options in Adobe are "Rich Text Format" and "Text >> (Plain)", neither of which works--only "Text (Accessible)" > > What is "Text (Accessible)?? I don?t know. It apparently is neither RTF nor ?Text?plain? . I tried to save the PDF file as ?Text?plain? and got this response: Acrobat was unable to make this document accessible because of the following error: Bad PDF; could not read page structure. [7] Please note that some pages of this document may have been changed. Because of this failure, you are advised to not save these changes. In the ?Text (Accessible)? format there seems to be an implied criticism of the ?Text?plain? format. Text (Accessible) really is accessible, the others, not so much. Apparently you can save it as plain text, its just not accessible. I love tech jargon. > >> I was unaware of Apple's Automator. I'll look into it--but it is >> unnecessary for this project. > > Warning: Automator is a lot of fun, and may be addictive. Be careful > playing with it, since you may find yourself experimenting with all > sorts of things and before you know it your Saturday is completely gone. :) Fair warning. Thanks. Jim Hurley > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > From jhurley0305 at sbcglobal.net Sun Jul 10 10:20:37 2016 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Sun, 10 Jul 2016 07:20:37 -0700 Subject: Parsing a PDF file In-Reply-To: References: Message-ID: <6C72ED29-1FBC-489F-9CEA-5B9D05CB746E@sbcglobal.net> Mark Wieder wrote: > > On 07/09/2016 08:54 AM, Richard Gaskin wrote: > >> Across the US we're beginning to see a revolution in government data >> sharing. > > > Except, of course, when it comes to actual data. Hi Mark. See my reply to Richard. The actual data I wanted was how the election turned out. The essential reply was: Sorry, we have limited access to our data. It is interesting that the County?s IT department is working overtime providing county parcel data, even though there has been no pressure to do so. I think it is because there are programmers there, and they love to program. A trait not uncommon among us LC folks. Jim Hurley > > Many of the laws we as citizens of the US are required to follow are not > available for us to read without paying a fee. Cal Malamud, Public > Resource, et al, are working to place the legal system in the public > domain, but the legal establishment fights back. If you want access to > the proceedings of U.S. federal courts, PACER is behind a paywall. > > > The state of Georgia (in the US, not the more reasonable country) makes > the claim of copyright in its lawsuit against publishing its laws: "Each > of these annotations is an original and creative work of authorship that > is protected by copyrights owned by the State of Georgia." > > > > > > -- > Mark Wieder > ahsoftware at gmail.com > > > From bonnmike at gmail.com Sun Jul 10 11:12:52 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 10 Jul 2016 09:12:52 -0600 Subject: LC 8 on Windows In-Reply-To: <60144de7-6525-e95c-64e5-5fe26e298561@tweedly.net> References: <57816F00.9060407@fourthworld.com> <60144de7-6525-e95c-64e5-5fe26e298561@tweedly.net> Message-ID: I don't have time to do it today but heres some possible pseudocode for a tool that would help. get revEnvironmentUserPluginsPath() -- the path to the users plugins folder click a button to move that folder to a new location (thereby removing all user plugins in one fel swoop) re-create an empty plugins folder where it belongs. At this point in use you would want to restart lc so that its fresh and any autostart plugins are out of memory Next, populate a list of plugins that exist in the moved plugin folder Choose a plugin, get its short name and store it for later use then.. revcopy it back to the users plugin folder call revideupdateplugins call revideopenplugin storedstackname At this point the just added plugin back in the system, and active Test as needed, then add another back in and test. Narrowing down would be faster of course using the binary method others have mentioned (half at a time) but shouldn't be to bad, and should be relatively easy to implement. On Sun, Jul 10, 2016 at 5:52 AM, Alex Tweedly wrote: > [ this isn't yet a well-formed idea, but I'm sure there could be something > ... ] > > Could there be a special "plugin diagnostic mode" ? > > When it is active, the IDE would > > - startup one plugin at a time > > - let you use it / try things out > > - and then (on some simple command) startup the next one, etc. > > -- Alex. > > > > On 09/07/2016 22:39, Richard Gaskin wrote: > >> Skip Kimpel wrote: >> >> > After some experimentation based upon what Panos suggested, something >> > in my plugins folder is causing the issue. Yikes... I have LOTS of >> > plugins. Any good way of diagnosing the culprit without doing having >> > to drop my plugins one by one? >> >> By halves. >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Sun Jul 10 11:14:46 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 10 Jul 2016 08:14:46 -0700 Subject: Advertising in iOS or android apps In-Reply-To: References: Message-ID: Here is the Interactive rejection. Does anyone know what the "criteria" are? If it's already having distributed the app, that's kind of a catch-22--and why would I switch over *after* coding to use something else? Thank you for your interest in Inneractive. Unfortunately, at this time, your registration has been rejected due to publisher criteria that were not met. We do look forward to working with you in the future. Thanks again for your interest in Inneractive. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From me at jerrydaniels.com Sun Jul 10 16:33:56 2016 From: me at jerrydaniels.com (me at jerrydaniels.com) Date: Sun, 10 Jul 2016 15:33:56 -0500 Subject: Markdown in 8.1dp2 Mac app builds Message-ID: Anyone know (from experience) whether the LC 8.1dp2 mergEXT markdown stuff will work in a Mac app? It has worked in the IDE, but could not be included in a build for Mac. Best, Jerry From monte at appisle.net Sun Jul 10 17:01:26 2016 From: monte at appisle.net (Monte Goulding) Date: Mon, 11 Jul 2016 07:01:26 +1000 Subject: Draft LiveCode Conference App for 2016, but we have a bug In-Reply-To: References: Message-ID: Hi Todd There was a bug that I recently found in our build process that was filtering out android externals for platforms other than Mac. If you are doing your android builds on Windows or Linux you could be bumping into that. You could try downloading the latest version from here instead: http://downloads.livecode.com/mergext/mergExt_Community_Latest.zip Please let me know if that doesn?t work as there may be something more sinister lurking I?m not aware of. Cheers Monte > On 10 Jul 2016, at 11:44 PM, Todd Fabacher wrote: > > At Digital Pomegranate, our team members wanted to do a simple App for the > upcoming LiveCode conference and us it as a form of training. But we also > came up with a simple, but great business plan to create a profitable > business given the number of conferences that happen today, We found a few > existing solution, but none automated ALL the functionality needed: web, > admin, registration, speaker management and an App for Attendees. > > This is the topic of my talk at the LiveCode Conference. The junior > programmers have come up with their first draft and you are free to check > out the code on git hub: > https://github.com/digitalpomegranate/LiveCodeConference2016 It is done in > LC8 and uses widgets, so you will need that version. > > But....we have a potential bugs > > 1. it seems we were having trouble getting the mergJSON to work on Android. > is there something special we must to other then just add it to the > project? It is working on Windows. > > 2. Second bug is not so simple. We want people in the community to be able > to take their picture and create a simple profile. That profile will use > our new new WP REST API lib to save as WP Post. The problem is when we post > the binary image using POST HTTP, it fine on the desktop, but is giving > errors on Android. Is does the call and we see an entry in the media > section of WP, but no image. We tried base64, but that did not work. > > Has anyone successful posted a binary image to an HTTP on an Android phone? > Are we missing something. You can find that part of code in *card > "addUser", *open the script of *button "done"*(on the top of the card) on *line > 33 *we get the image binary, [the convert it in base64 line is commented > out] and after post it, by calling *mediaCreate *function of the WP REST API > > To have the App on time for the conference, we are going to submit this > with the bug, or we man not get approval in time for Aug 1st. > > Thanks, > > Todd > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Sun Jul 10 17:05:16 2016 From: monte at appisle.net (Monte Goulding) Date: Mon, 11 Jul 2016 07:05:16 +1000 Subject: Markdown in 8.1dp2 Mac app builds In-Reply-To: References: Message-ID: <5D809565-F2DA-4D01-89B9-AF89A9A5FEC0@appisle.net> Hi Jerry It was the same bug as this one and has been fixed for dp-2: http://quality.livecode.com/show_bug.cgi?id=17754 Cheers Monte > On 11 Jul 2016, at 6:33 AM, me at jerrydaniels.com wrote: > > Anyone know (from experience) whether the LC 8.1dp2 mergEXT markdown stuff will work in a Mac app? It has worked in the IDE, but could not be included in a build for Mac. > > Best, Jerry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Sun Jul 10 17:25:49 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 10 Jul 2016 14:25:49 -0700 Subject: Markdown in 8.1dp2 Mac app builds In-Reply-To: <5D809565-F2DA-4D01-89B9-AF89A9A5FEC0@appisle.net> References: <5D809565-F2DA-4D01-89B9-AF89A9A5FEC0@appisle.net> Message-ID: BTW good to see you here again, Jerry. sqb Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Sun, Jul 10, 2016 at 2:05 PM, Monte Goulding wrote: > Hi Jerry > > It was the same bug as this one and has been fixed for dp-2: > http://quality.livecode.com/show_bug.cgi?id=17754 > > Cheers > > Monte > > > On 11 Jul 2016, at 6:33 AM, me at jerrydaniels.com wrote: > > > > Anyone know (from experience) whether the LC 8.1dp2 mergEXT markdown > stuff will work in a Mac app? It has worked in the IDE, but could not be > included in a build for Mac. > > > > Best, Jerry > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bvlahos at mac.com Sun Jul 10 17:33:16 2016 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 10 Jul 2016 14:33:16 -0700 Subject: Markdown in 8.1dp2 Mac app builds In-Reply-To: References: <5D809565-F2DA-4D01-89B9-AF89A9A5FEC0@appisle.net> Message-ID: <630134AA-3779-4496-B8AD-756AAFEACCA2@mac.com> Yes. Glad to see you back. Bill Vlahos Sent from my iPhone > On Jul 10, 2016, at 2:25 PM, stephen barncard wrote: > > BTW > good to see you here again, Jerry. > > sqb > > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org > >> On Sun, Jul 10, 2016 at 2:05 PM, Monte Goulding wrote: >> >> Hi Jerry >> >> It was the same bug as this one and has been fixed for dp-2: >> http://quality.livecode.com/show_bug.cgi?id=17754 >> >> Cheers >> >> Monte >> >>> On 11 Jul 2016, at 6:33 AM, me at jerrydaniels.com wrote: >>> >>> Anyone know (from experience) whether the LC 8.1dp2 mergEXT markdown >> stuff will work in a Mac app? It has worked in the IDE, but could not be >> included in a build for Mac. >>> >>> Best, Jerry >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bornstein at designeq.com Sun Jul 10 18:46:45 2016 From: bornstein at designeq.com (Howard Bornstein) Date: Sun, 10 Jul 2016 15:46:45 -0700 Subject: Has anyone gotten "set the icon of this stack" to work? Message-ID: I want to modify the icon in the dock (not the Finder) under script control. According to the dictionary, the proper command is "set the icon of this stack". I can successfully call this command and test that the icon of the stack is set to the image ID I specify, however, the dock icon never changes to the image I choose. It appears that everything works (i.e. no errors are thrown) except for the actual dock icon changing. Has anyone gotten this to work? -- Regards, Howard Bornstein ----------------------- www.designeq.com From me at jerrydaniels.com Sun Jul 10 19:08:42 2016 From: me at jerrydaniels.com (me at jerrydaniels.com) Date: Sun, 10 Jul 2016 18:08:42 -0500 Subject: Markdown in 8.1dp2 Mac app builds In-Reply-To: <630134AA-3779-4496-B8AD-756AAFEACCA2@mac.com> References: <5D809565-F2DA-4D01-89B9-AF89A9A5FEC0@appisle.net> <630134AA-3779-4496-B8AD-756AAFEACCA2@mac.com> Message-ID: <8bd15f31-af28-4c64-ac0b-30709cc31249@Spark> Thx Bill. Best, Jerry On Jul 10, 2016, 4:34 PM -0500, Bill Vlahos, wrote: > Yes. Glad to see you back. > > Bill Vlahos > > Sent from my iPhone > > > On Jul 10, 2016, at 2:25 PM, stephen barncardwrote: > > > > BTW > > good to see you here again, Jerry. > > > > sqb > > > > Stephen Barncard - Sebastopol Ca. USA - > > mixstream.org > > > > > On Sun, Jul 10, 2016 at 2:05 PM, Monte Gouldingwrote: > > > > > > Hi Jerry > > > > > > It was the same bug as this one and has been fixed for dp-2: > > > http://quality.livecode.com/show_bug.cgi?id=17754 > > > > > > Cheers > > > > > > Monte > > > > > > > On 11 Jul 2016, at 6:33 AM, me at jerrydaniels.com wrote: > > > > > > > > Anyone know (from experience) whether the LC 8.1dp2 mergEXT markdown > > > stuff will work in a Mac app? It has worked in the IDE, but could not be > > > included in a build for Mac. > > > > > > > > Best, Jerry > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From me at jerrydaniels.com Sun Jul 10 19:09:10 2016 From: me at jerrydaniels.com (me at jerrydaniels.com) Date: Sun, 10 Jul 2016 18:09:10 -0500 Subject: Markdown in 8.1dp2 Mac app builds In-Reply-To: References: <5D809565-F2DA-4D01-89B9-AF89A9A5FEC0@appisle.net> Message-ID: <5dccfe50-cd1c-4347-a0e3-1a6cab6efa75@Spark> Thx, Stephen. Best, Jerry On Jul 10, 2016, 4:27 PM -0500, stephen barncard, wrote: > BTW > good to see you here again, Jerry. > > sqb > > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org > > On Sun, Jul 10, 2016 at 2:05 PM, Monte Gouldingwrote: > > > Hi Jerry > > > > It was the same bug as this one and has been fixed for dp-2: > > http://quality.livecode.com/show_bug.cgi?id=17754 > > > > Cheers > > > > Monte > > > > > On 11 Jul 2016, at 6:33 AM, me at jerrydaniels.com wrote: > > > > > > Anyone know (from experience) whether the LC 8.1dp2 mergEXT markdown > > stuff will work in a Mac app? It has worked in the IDE, but could not be > > included in a build for Mac. > > > > > > Best, Jerry > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From me at jerrydaniels.com Sun Jul 10 19:09:36 2016 From: me at jerrydaniels.com (me at jerrydaniels.com) Date: Sun, 10 Jul 2016 18:09:36 -0500 Subject: Markdown in 8.1dp2 Mac app builds In-Reply-To: <5D809565-F2DA-4D01-89B9-AF89A9A5FEC0@appisle.net> References: <5D809565-F2DA-4D01-89B9-AF89A9A5FEC0@appisle.net> Message-ID: Thx, Monte. Best, Jerry On Jul 10, 2016, 4:07 PM -0500, wrote: > From me at jerrydaniels.com Sun Jul 10 19:17:22 2016 From: me at jerrydaniels.com (me at jerrydaniels.com) Date: Sun, 10 Jul 2016 18:17:22 -0500 Subject: Markdown in 8.1dp2 Mac app builds In-Reply-To: <5D809565-F2DA-4D01-89B9-AF89A9A5FEC0@appisle.net> References: <5D809565-F2DA-4D01-89B9-AF89A9A5FEC0@appisle.net> Message-ID: Does the markdown support tables? I know some do. Best, Jerry On Jul 10, 2016, 4:07 PM -0500, wrote: > From jhurley0305 at sbcglobal.net Sun Jul 10 19:18:31 2016 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Sun, 10 Jul 2016 16:18:31 -0700 Subject: Parsing a PDF file In-Reply-To: References: Message-ID: <6B5F785F-C25F-4E0D-94AD-AE460B82DA08@sbcglobal.net> hh wrote: > > [Description for MacOS, works on Win/Linux similar.] > > The best results for extracting tables from PDF I had with the free "RAW" > method: > > = Open the file with Preview. > = Select All (menu Edit). Copy. > = Go to a LC stack with a field "INCOMING" > = Use by a button or the message box the line > put clipboardData["Text"] into fld "INCOMING" > > If you use simply "paste" you get (probably unwanted) styles with your text. > (If you have a lot of files: Preview is scriptable.) > Thanks, that works well. I thought I would try to program your method within LC: on mouseUp get url "https://www.mynevadacounty.com/nc/elections/docs/2016%20Elections/June%207%2c%202016%2c%20Presidential%20Primary/Election%20Results/cumulativereport.pdf" set the clipboarddata["text"] to it put the clipboarddata["text"] into field 1 end mouseUp But, no dice. I'm guessing there is something about "Copy" in Preview that is missing in LC. Same applies to opening the file in Adobe and doing a "save as" and choosing "text (accessible)" Be nice if LC could beef-up "get url" to do whatever it is that Preview and Adobe do. Thanks again, Jim From monte at appisle.net Sun Jul 10 19:21:18 2016 From: monte at appisle.net (Monte Goulding) Date: Mon, 11 Jul 2016 09:21:18 +1000 Subject: Markdown in 8.1dp2 Mac app builds In-Reply-To: References: <5D809565-F2DA-4D01-89B9-AF89A9A5FEC0@appisle.net> Message-ID: <081D0E10-7192-41D4-A50F-2BEE9D963E7C@appisle.net> > On 11 Jul 2016, at 9:17 AM, me at jerrydaniels.com wrote: > > Does the markdown support tables? I know some do. Tables are optional. There?s parameters to turn on and off support for a heap of things ;-) Cheers Monte From m.schonewille at economy-x-talk.com Sun Jul 10 20:02:39 2016 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 11 Jul 2016 02:02:39 +0200 Subject: Advertising in iOS or android apps In-Reply-To: References: Message-ID: <2900018e-879e-726e-1964-78935dd33e81@economy-x-talk.com> AFAIK, currently there is no co-operation between RunRev/LiveCode and Inneractive. You'll have to make arrangements with Inneractive on your own behalf. Kind regards, Mark Schonewille http://economy-x-talk.com https://www.facebook.com/marksch Buy the most extensive book on the LiveCode language: http://livecodebeginner.economy-x-talk.com Op 10-Jul-16 om 17:14 schreef Dr. Hawkins: > Here is the Interactive rejection. Does anyone know what the "criteria" > are? > > If it's already having distributed the app, that's kind of a catch-22--and > why would I switch over *after* coding to use something else? > > > > Thank you for your interest in Inneractive. Unfortunately, at this time, > your registration has been rejected due to publisher criteria that were not > met. > We do look forward to working with you in the future. Thanks again for your > interest in Inneractive. > From me at jerrydaniels.com Sun Jul 10 20:11:27 2016 From: me at jerrydaniels.com (Jerry Daniels) Date: Sun, 10 Jul 2016 19:11:27 -0500 Subject: Markdown in 8.1dp2 Mac app builds In-Reply-To: <081D0E10-7192-41D4-A50F-2BEE9D963E7C@appisle.net> References: <5D809565-F2DA-4D01-89B9-AF89A9A5FEC0@appisle.net> <081D0E10-7192-41D4-A50F-2BEE9D963E7C@appisle.net> Message-ID: <8E5A78A6-5314-45E1-95F2-B2D3730FE121@jerrydaniels.com> Monte, As far as I can tell, mergMarkDown is not in the dictionary. Is it part of this build? I do need to know the syntax to use it. I did see what I think might be it (mergMarkdown-x64) in the new inclusions. Appreciate any help you can offer with this. JD > On Jul 10, 2016, at 6:21 PM, Monte Goulding wrote: > > >> On 11 Jul 2016, at 9:17 AM, me at jerrydaniels.com wrote: >> >> Does the markdown support tables? I know some do. > > Tables are optional. There?s parameters to turn on and off support for a heap of things ;-) > > Cheers > > Monte > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Sun Jul 10 20:19:49 2016 From: monte at appisle.net (Monte Goulding) Date: Mon, 11 Jul 2016 10:19:49 +1000 Subject: Markdown in 8.1dp2 Mac app builds In-Reply-To: <8E5A78A6-5314-45E1-95F2-B2D3730FE121@jerrydaniels.com> References: <5D809565-F2DA-4D01-89B9-AF89A9A5FEC0@appisle.net> <081D0E10-7192-41D4-A50F-2BEE9D963E7C@appisle.net> <8E5A78A6-5314-45E1-95F2-B2D3730FE121@jerrydaniels.com> Message-ID: <2DFBCCD8-D416-434A-BA7C-EBBC759DF5DF@appisle.net> Hi Jerry It looks like you?ve found a bug in my build tools. I?ll try and get a fix in dp-3. For the time being: Name: mergMarkdownToXHTML Type: function Syntax: mergMarkdownToXHTML(, [, , , , , , , ]) Summary: Returns the XHTML translation of the markdown document. Introduced: 8.0 OS: ios,android,linux,mac,windows Platforms: mobile,desktop,server Parameters: pMarkdown (string): The markdown text to translate. pNoIntraEmphasis (boolean): Don't add emphasis if there is no space on either side of the underscores. If true _this_ will be emphasized but_this_won't be. pTable (boolean): Support tables. pFencedCode (boolean): Support fenced code. pAutoLink (boolean): Auto link urls in the text pStrikethrough (boolean): Use a double tilde(~) either side of a word to indicate ~~strikethrough~~ pSpaceHeaders (boolean): If true forces a space after the # for headers pSuperscript (boolean): If true use ^ to indicate the start of a superscript word pLaxSpacing (boolean): If true allows lax spacing. For example it will allow no space between a paragraph and a list. Returns: XHTML Example: put mergMarkdownToXHTML(theMarkdownText,,true) into theHTML Cheers Monte > On 11 Jul 2016, at 10:11 AM, Jerry Daniels wrote: > > Monte, > > As far as I can tell, mergMarkDown is not in the dictionary. Is it part of this build? I do need to know the syntax to use it. I did see what I think might be it (mergMarkdown-x64) in the new inclusions. > > Appreciate any help you can offer with this. > > JD > >> On Jul 10, 2016, at 6:21 PM, Monte Goulding wrote: >> >> >>> On 11 Jul 2016, at 9:17 AM, me at jerrydaniels.com wrote: >>> >>> Does the markdown support tables? I know some do. >> >> Tables are optional. There?s parameters to turn on and off support for a heap of things ;-) >> >> Cheers >> >> Monte >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From me at jerrydaniels.com Sun Jul 10 20:21:36 2016 From: me at jerrydaniels.com (Jerry Daniels) Date: Sun, 10 Jul 2016 19:21:36 -0500 Subject: Markdown in 8.1dp2 Mac app builds In-Reply-To: <8E5A78A6-5314-45E1-95F2-B2D3730FE121@jerrydaniels.com> References: <5D809565-F2DA-4D01-89B9-AF89A9A5FEC0@appisle.net> <081D0E10-7192-41D4-A50F-2BEE9D963E7C@appisle.net> <8E5A78A6-5314-45E1-95F2-B2D3730FE121@jerrydaniels.com> Message-ID: Hopefully the documentation in gitHub will get me thru the night. JD > On Jul 10, 2016, at 7:11 PM, Jerry Daniels wrote: > > Monte, > > As far as I can tell, mergMarkDown is not in the dictionary. Is it part of this build? I do need to know the syntax to use it. I did see what I think might be it (mergMarkdown-x64) in the new inclusions. > > Appreciate any help you can offer with this. > > JD > >> On Jul 10, 2016, at 6:21 PM, Monte Goulding wrote: >> >> >>> On 11 Jul 2016, at 9:17 AM, me at jerrydaniels.com wrote: >>> >>> Does the markdown support tables? I know some do. >> >> Tables are optional. There?s parameters to turn on and off support for a heap of things ;-) >> >> Cheers >> >> Monte >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Sun Jul 10 20:44:57 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 10 Jul 2016 17:44:57 -0700 Subject: rotating the entire rendered playing field on mobile, and collisions Message-ID: As mentioned in the advertising section, I"m starting to work with my game again. I'm trying to figure out a sane way to rotate the entire playing field by a few degrees. I'll have probably a dozen or two objects (borders and groups) as well the player (a group). If it was all a png except for the player, i could just set the angle of it, but I'm using livecode objects. (I cheerfully set out figuring that I could set the angle of the group . . . whoops!). Is there a sane way to do this short of somehow rendering my groups as png (err, *is* there a way to do that), and the "track" as png, and individually rotating them and doing the vector math to reposition each? This also brings collision detection into play. It seems that the cleanest way to do this is to put the long id of each object in the play area into a line of a variable, and then looping through that with intersect(). Actually, I suppose, a two step process: lock the screen, move the player, check the intersects, and if any mean moving into something solid object, undo the move while the screen is still locked. I've been absorbing Swift the last fe days. If it wasn't for the bit about having to keep two versions (iOS & and Android; the main project doesn't support Android yet), it looks like a better tool for what I'm doing (although from what I see so far, Livecode's messaging to objects is *much* stronger). But I'm just not going to maintain two versions . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From roger.e.eller at sealedair.com Sun Jul 10 21:36:21 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 10 Jul 2016 21:36:21 -0400 Subject: Parsing a PDF file In-Reply-To: <6B5F785F-C25F-4E0D-94AD-AE460B82DA08@sbcglobal.net> References: <6B5F785F-C25F-4E0D-94AD-AE460B82DA08@sbcglobal.net> Message-ID: Since this seems to be Mac only, why not "do as Applescript" the select all, and Copy? ~Roger On Jul 10, 2016 7:18 PM, "Jim Hurley" wrote: > hh wrote: > > > > > [Description for MacOS, works on Win/Linux similar.] > > > > The best results for extracting tables from PDF I had with the free "RAW" > > method: > > > > = Open the file with Preview. > > = Select All (menu Edit). Copy. > > = Go to a LC stack with a field "INCOMING" > > = Use by a button or the message box the line > > put clipboardData["Text"] into fld "INCOMING" > > > > If you use simply "paste" you get (probably unwanted) styles with your > text. > > (If you have a lot of files: Preview is scriptable.) > > > > Thanks, that works well. > > I thought I would try to program your method within LC: > > on mouseUp > get url " > https://www.mynevadacounty.com/nc/elections/docs/2016%20Elections/June%207%2c%202016%2c%20Presidential%20Primary/Election%20Results/cumulativereport.pdf > " > set the clipboarddata["text"] to it > put the clipboarddata["text"] into field 1 > end mouseUp > > But, no dice. I'm guessing there is something about "Copy" in Preview that > is missing in LC. > > Same applies to opening the file in Adobe and doing a "save as" and > choosing "text (accessible)" > > Be nice if LC could beef-up "get url" to do whatever it is that Preview > and Adobe do. > > Thanks again, > > Jim > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From terry.judd at unimelb.edu.au Sun Jul 10 22:45:36 2016 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 11 Jul 2016 02:45:36 +0000 Subject: screen capture from LC as video? Message-ID: LC has some really nice export features allowing you to save the screen, bits of it or specific objects to images or PDF. What I?d really like to do however is to export LC ?presentations? direct to video, so that I can switch from delivering personalised but static PDFs (assessment/feedback reports) to personalised, and hopefully more engaging, videos. I?m investigating scripting PowerPoint and/or Keynote in conjunction with LC to populate and export from custom templates to achieve what I?m looking for but I?d much rather be working entirely in LC I know that video export from LC isn?t currently possible, and is unlikely to be on the LC team's development radar, but is this the sort of thing that could potentially be implemented as an external by someone with the right skills? Terry? Terry Judd | Senior Lecturer in Medical Education Department of Medical Education The University of Melbourne M: 0435 961 594 | E: terry.judd at unimelb.edu.au Publications From lan.kc.macmail at gmail.com Sun Jul 10 22:50:32 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 11 Jul 2016 10:50:32 +0800 Subject: Parsing a PDF file In-Reply-To: References: <6B5F785F-C25F-4E0D-94AD-AE460B82DA08@sbcglobal.net> Message-ID: On Mon, Jul 11, 2016 at 9:36 AM, Roger Eller wrote: > Since this seems to be Mac only, why not "do as Applescript" the select > all, and Copy? > Because Preview isn't properly scriptable and you can't "Select All" or "Copy". As Richard said, the answer is with Automator. If you open Automator, select a new 'application', then in the left hand column you'll see "PDF's", as an option. If you click on that and browse down the middle column you'll see 'Extract PDF Text', and if you click on that, in it's description you'll see that it can extract Plain or Rich text. So how can we get this to work with LC? 1) In Automator, drag the 'Extract PDF Text' action into the right hand workspace window. a) Choose the output type - most likely Plain Text b) Select a folder to save to - for convenience we'll use "Desktop" c) For the Output File Name you probably want to use a Custom Name - pdf2text or whatever. You do not need to specify the suffix. d) tick the Replace Existing files box. 2) Back in the left hand column where you clicked on the PDFs icon, now click on the 'Files & Folders' icon (looks like the Finder icon). >From the middle column drag 'Ask for Finder Items' into the right hand column, place it above 'Extract PDF Text'. a) Set the 'Start at: to a logical location, like Downloads, if that is where your PDFs are likely to be located. b) Type: should be left at files and do NOT tick the Allow Multiple Selection box as these instruction are for a single file only. 3) From the middle column drag 'Open Finder Items' and place it 'between' the last two actions - so the order will be Ask for Finder Items, Open Finder Items, Extract PDF Text. a) Set Open with: to Preview. 4) Optionally, if you don't always have Preview open and you don't want to be left with the PDF file open, in the left hand column click Utility, and from the middle column drag 'Quit Application' to the end of your workflow. a) set it to "Preview.app" You can now test this by clicking the Run button in the top right corner. What should happen is you should get a standard Open File dialog box to point to a file, you then select a file and shortly thereafter the Automator log window at the bottom should have all green ticks. You should then be able to navigate to the Desktop folder and the file 'pdf2text.txt' should be there. So to complete the LC integration process. Save your Automator workflow, and call it something like pdf2text. For this example we'll also save it to Desktop. Then in you LC script: on mouseUp set the defaultFolder to specialFolderPath("desktop") launch pdf2text.app --if file is large, consider a wait 1 or more here. put textDecode(URL "file:/Users/yourname/Desktop/pdf2text.txt","utf8") into tNotPDF --do what you have to after this --your Automator app will auto Quit once it's done it's thing so there is no need to balance the 'launch' command with a 'kill' command end mouseUp It should be noted that Automators Extract PDF Text typically does a better job of text extraction than manually Select All + Copy + Paste. Unfortunately I consider both these options about 30% or less accurate than using my old PPC G5 running Leopard and Devon Technologies old PDF2RTFService. I had not previously offered a solution to the OP because, get a PPC Mac, install Leopard and PDF2TEXTService is only really an option if you are handling many large, complex formatted pdfs day in, day out, as I am. Jim's problem sounds like a one off. From monte at appisle.net Sun Jul 10 23:14:05 2016 From: monte at appisle.net (Monte Goulding) Date: Mon, 11 Jul 2016 13:14:05 +1000 Subject: screen capture from LC as video? In-Reply-To: References: Message-ID: <4A431739-1E46-4782-91E4-464A53E92174@appisle.net> > On 11 Jul 2016, at 12:45 PM, Terry Judd wrote: > > I know that video export from LC isn?t currently possible, and is unlikely to be on the LC team's development radar, but is this the sort of thing that could potentially be implemented as an external by someone with the right skills? With a few extra features added to mergAV this would be quite feasible. Specifically you would want the following added to the video composition features: - some animation/transition support - the ability to add some text to the video - the ability to add an image to the video You may not actually need text because you could always export a snapshot of a field. AVFoundation is pretty awesome but only available on iOS and OS X unfortunately. If this sounds interesting then you might like to discuss with business services: business at livecode.com Cheers Monte From terry.judd at unimelb.edu.au Mon Jul 11 00:46:30 2016 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 11 Jul 2016 04:46:30 +0000 Subject: screen capture from LC as video? In-Reply-To: <4A431739-1E46-4782-91E4-464A53E92174@appisle.net> References: <4A431739-1E46-4782-91E4-464A53E92174@appisle.net> Message-ID: Thanks Monte - you?re right, it would need to include some support for animation/transition (e.g. text and graph builds). Text to speech capability would probably be fairly important as well for the sort of videos I?m looking to produce. I?ve applied for some funding to kickstart a new project on automated video feedback production within our department, which I should hear back on soon. If that comes off then I?ll definitely get in contact with the business services crew. Best regards, Terry? Terry Judd | Senior Lecturer in Medical Education Department of Medical Education The University of Melbourne M: 0435 961 594 | E: terry.judd at unimelb.edu.au Publications On 11/07/2016 1:14 pm, "use-livecode on behalf of Monte Goulding" wrote: > >> On 11 Jul 2016, at 12:45 PM, Terry Judd >>wrote: >> >> I know that video export from LC isn?t currently possible, and is >>unlikely to be on the LC team's development radar, but is this the sort >>of thing that could potentially be implemented as an external by someone >>with the right skills? > >With a few extra features added to mergAV this would be quite feasible. >Specifically you would want the following added to the video composition >features: >- some animation/transition support >- the ability to add some text to the video >- the ability to add an image to the video > >You may not actually need text because you could always export a snapshot >of a field. AVFoundation is pretty awesome but only available on iOS and >OS X unfortunately. > >If this sounds interesting then you might like to discuss with business >services: business at livecode.com > >Cheers > >Monte >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From me at jerrydaniels.com Mon Jul 11 01:10:49 2016 From: me at jerrydaniels.com (me at jerrydaniels.com) Date: Mon, 11 Jul 2016 00:10:49 -0500 Subject: Markdown in 8.1dp2 Mac app builds In-Reply-To: <2DFBCCD8-D416-434A-BA7C-EBBC759DF5DF@appisle.net> References: <5D809565-F2DA-4D01-89B9-AF89A9A5FEC0@appisle.net> <081D0E10-7192-41D4-A50F-2BEE9D963E7C@appisle.net> <8E5A78A6-5314-45E1-95F2-B2D3730FE121@jerrydaniels.com> <2DFBCCD8-D416-434A-BA7C-EBBC759DF5DF@appisle.net> Message-ID: I got it to work already, but I think it returns
for line breaks (which is the current way to do that) but LC doesn't like them. So I have to add my own. Also, dp2 may be too unstable for me to be productive. I'll probably write a basic translator myself, in the meantime. Thx for getting back to me on this. Best, Jerry On Jul 10, 2016, 7:21 PM -0500, Monte Goulding, wrote: > Hi Jerry > > It looks like you?ve found a bug in my build tools. I?ll try and get a fix in dp-3. For the time being: > > Name: mergMarkdownToXHTML > > Type: function > > Syntax: mergMarkdownToXHTML(, [,,,,,,,]) > > Summary: Returns the XHTML translation of the markdown document. > > Introduced: 8.0 > > OS: ios,android,linux,mac,windows > > Platforms: mobile,desktop,server > > Parameters: > pMarkdown (string): The markdown text to translate. > pNoIntraEmphasis (boolean): Don't add emphasis if there is no space on either > side of the > underscores. If true _this_ will be emphasized but_this_won't be. > pTable (boolean): Support tables. > pFencedCode (boolean): Support fenced code. > pAutoLink (boolean): Auto link urls in the text > pStrikethrough (boolean): Use a double tilde(~) either side of a word to > indicate ~~strikethrough~~ > pSpaceHeaders (boolean): If true forces a space after the # for headers > pSuperscript (boolean): If true use ^ to indicate the start of a superscript > word > pLaxSpacing (boolean): If true allows lax spacing. For example it will allow no > space between a paragraph and a list. > Returns: XHTML > > Example: > put mergMarkdownToXHTML(theMarkdownText,,true) into theHTML > > Cheers > > Monte > > > On 11 Jul 2016, at 10:11 AM, Jerry Danielswrote: > > > > Monte, > > > > As far as I can tell, mergMarkDown is not in the dictionary. Is it part of this build? I do need to know the syntax to use it. I did see what I think might be it (mergMarkdown-x64) in the new inclusions. > > > > Appreciate any help you can offer with this. > > > > JD > > > > > On Jul 10, 2016, at 6:21 PM, Monte Gouldingwrote: > > > > > > > > > > On 11 Jul 2016, at 9:17 AM, me at jerrydaniels.com wrote: > > > > > > > > Does the markdown support tables? I know some do. > > > > > > Tables are optional. There?s parameters to turn on and off support for a heap of things ;-) > > > > > > Cheers > > > > > > Monte > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Mon Jul 11 01:21:46 2016 From: monte at appisle.net (Monte Goulding) Date: Mon, 11 Jul 2016 15:21:46 +1000 Subject: Markdown in 8.1dp2 Mac app builds In-Reply-To: References: <5D809565-F2DA-4D01-89B9-AF89A9A5FEC0@appisle.net> <081D0E10-7192-41D4-A50F-2BEE9D963E7C@appisle.net> <8E5A78A6-5314-45E1-95F2-B2D3730FE121@jerrydaniels.com> <2DFBCCD8-D416-434A-BA7C-EBBC759DF5DF@appisle.net> Message-ID: <9FCEF767-7977-4F52-9997-F3C3C0C92E94@appisle.net> Yes it?s not intended as markdown to htmlText so if you need that you may need to fiddle with the output or roll your own. Reporting any issues with dp 2 would be very helpful. Cheers Monte > On 11 Jul 2016, at 3:10 PM, me at jerrydaniels.com wrote: > > I got it to work already, but I think it returns
for line breaks (which is the current way to do that) but LC doesn't like them. So I have to add my own. > > Also, dp2 may be too unstable for me to be productive. I'll probably write a basic translator myself, in the meantime. > > Thx for getting back to me on this. > > Best, Jerry > > On Jul 10, 2016, 7:21 PM -0500, Monte Goulding, wrote: >> Hi Jerry >> >> It looks like you?ve found a bug in my build tools. I?ll try and get a fix in dp-3. For the time being: >> >> Name: mergMarkdownToXHTML >> >> Type: function >> >> Syntax: mergMarkdownToXHTML(, [,,,,,,,]) >> >> Summary: Returns the XHTML translation of the markdown document. >> >> Introduced: 8.0 >> >> OS: ios,android,linux,mac,windows >> >> Platforms: mobile,desktop,server >> >> Parameters: >> pMarkdown (string): The markdown text to translate. >> pNoIntraEmphasis (boolean): Don't add emphasis if there is no space on either >> side of the >> underscores. If true _this_ will be emphasized but_this_won't be. >> pTable (boolean): Support tables. >> pFencedCode (boolean): Support fenced code. >> pAutoLink (boolean): Auto link urls in the text >> pStrikethrough (boolean): Use a double tilde(~) either side of a word to >> indicate ~~strikethrough~~ >> pSpaceHeaders (boolean): If true forces a space after the # for headers >> pSuperscript (boolean): If true use ^ to indicate the start of a superscript >> word >> pLaxSpacing (boolean): If true allows lax spacing. For example it will allow no >> space between a paragraph and a list. >> Returns: XHTML >> >> Example: >> put mergMarkdownToXHTML(theMarkdownText,,true) into theHTML >> >> Cheers >> >> Monte >> >>> On 11 Jul 2016, at 10:11 AM, Jerry Danielswrote: >>> >>> Monte, >>> >>> As far as I can tell, mergMarkDown is not in the dictionary. Is it part of this build? I do need to know the syntax to use it. I did see what I think might be it (mergMarkdown-x64) in the new inclusions. >>> >>> Appreciate any help you can offer with this. >>> >>> JD >>> >>>> On Jul 10, 2016, at 6:21 PM, Monte Gouldingwrote: >>>> >>>> >>>>> On 11 Jul 2016, at 9:17 AM, me at jerrydaniels.com wrote: >>>>> >>>>> Does the markdown support tables? I know some do. >>>> >>>> Tables are optional. There?s parameters to turn on and off support for a heap of things ;-) >>>> >>>> Cheers >>>> >>>> Monte >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Mon Jul 11 01:23:38 2016 From: monte at appisle.net (Monte Goulding) Date: Mon, 11 Jul 2016 15:23:38 +1000 Subject: screen capture from LC as video? In-Reply-To: References: <4A431739-1E46-4782-91E4-464A53E92174@appisle.net> Message-ID: <458925A1-842C-4D0A-A917-77F35B3F342C@appisle.net> OK, great. AVFoundation has text to speech so we could do that bit but I?m not sure about generating an asset from that to include in a video? would need some research to work out the feasibility of that. Cheers Monte > On 11 Jul 2016, at 2:46 PM, Terry Judd wrote: > > Thanks Monte - you?re right, it would need to include some support for > animation/transition (e.g. text and graph builds). Text to speech > capability would probably be fairly important as well for the sort of > videos I?m looking to produce. From monte at appisle.net Mon Jul 11 01:27:48 2016 From: monte at appisle.net (Monte Goulding) Date: Mon, 11 Jul 2016 15:27:48 +1000 Subject: screen capture from LC as video? In-Reply-To: <458925A1-842C-4D0A-A917-77F35B3F342C@appisle.net> References: <4A431739-1E46-4782-91E4-464A53E92174@appisle.net> <458925A1-842C-4D0A-A917-77F35B3F342C@appisle.net> Message-ID: <15AC1D4C-DE47-4A80-ADEA-3F88BCBE5D02@appisle.net> > On 11 Jul 2016, at 3:23 PM, Monte Goulding wrote: > > OK, great. AVFoundation has text to speech so we could do that bit but I?m not sure about generating an asset from that to include in a video? would need some research to work out the feasibility of that. Actually it looks like AVSpeechSynthesizer is iOS only unfortunately. Cheers Monte From peter.brett at livecode.com Mon Jul 11 07:05:19 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 11 Jul 2016 12:05:19 +0100 Subject: Application Transport Security deadline for iOS apps Message-ID: Hi all, Many LiveCode developers currently disable (Application Transport Security) ATS when deploying to iOS in order to access web resources over insecure HTTP, rather than HTTPS Apple will be requiring ATS for all iOS apps submitted to the app store from the beginning of 2017. At that point, we will remove the option to disable it from the standalone builder. If you distribute an iOS app and currently depend on disabling ATS, then you will need to take action. By the end of 2016, you will need to make sure that all of the servers that your app needs to communicate with have valid SSL certificates and can be accessed over HTTPS. The "Let's Encrypt" project may be useful. https://letsencrypt.org/ Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ From peter.brett at livecode.com Mon Jul 11 07:08:51 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 11 Jul 2016 12:08:51 +0100 Subject: [ANN] This Week in LiveCode 41 Message-ID: Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #41 here: https://goo.gl/yxN0VT This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! Are you doing something interesting with LiveCode Community Edition? Please get in touch and get it featured in "This Week in LiveCode"! Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode on reddit: https://reddit.com/r/livecode From paul at researchware.com Mon Jul 11 08:25:09 2016 From: paul at researchware.com (Paul Dupuis) Date: Mon, 11 Jul 2016 08:25:09 -0400 Subject: Application Transport Security deadline for iOS apps In-Reply-To: References: Message-ID: <57839025.10104@researchware.com> On 7/11/2016 7:05 AM, Peter TB Brett wrote: > Hi all, > > Many LiveCode developers currently disable (Application Transport > Security) ATS when deploying to iOS in order to access web resources > over insecure HTTP, rather than HTTPS > > Apple will be requiring ATS for all iOS apps submitted to the app > store from the beginning of 2017. At that point, we will remove the > option to disable it from the standalone builder. > > If you distribute an iOS app and currently depend on disabling ATS, > then you will need to take action. > > By the end of 2016, you will need to make sure that all of the servers > that your app needs to communicate with have valid SSL certificates > and can be accessed over HTTPS. The "Let's Encrypt" project may be > useful. https://letsencrypt.org/ > I realize that LiveCode has no influence over Apple, but this is one of the most bone-headed thing Apple has ever done to it's developers. There are millions of web servers out there without any logins, serving publicly available data or information, that do not need to be encrypted and the small organizations that run them will not add SSL certs for HTTPS service. They don't have the technical expertise, or time, and will not spend the money to pay to have it done. Developers who scrape data off web sites that they have no control over will have their apps break with no effective way to ever fix them. Aside from broken Apps, Apple will, in effect, be censoring a large part of the internet from it's iOS users unless their own browser still allows HTTP (in which case they are being hypocrites). I truly hope someone sues them over such censorship on 1st amendment (freedom of speech) grounds. From peter.brett at livecode.com Mon Jul 11 09:42:21 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 11 Jul 2016 14:42:21 +0100 Subject: Application Transport Security deadline for iOS apps In-Reply-To: <57839025.10104@researchware.com> References: <57839025.10104@researchware.com> Message-ID: <3bb79996-3d76-21d8-55b8-6257f08d3d45@livecode.com> On 11/07/2016 13:25, Paul Dupuis wrote: > I truly hope someone sues them over such > censorship on 1st amendment (freedom of speech) grounds. According to my recollection of judicial precedent, the 1st Amendment of the US Constitution enjoins state and federal from prior restraint of speech, and does not constrain individuals or private sector organisation. So Apple, by definition, can't violate the 1st Amendment even if they wanted to. Just supposing that someone did sue Apple, and the case didn't get immediately thrown out on procedural grounds, we live in a climate where unscrupulous service providers and other middlemen are intercepting insecure HTTP connections and inserting adverts or even malware, and sniffing passwords and other authentication tokens. If taken to court, I expect Apple would show evidence of the above and argue that they are taking much-needed steps to ensure users' security and safety, by making sure that the data the user receives is the same as the data that was sent, and that sensitive data cannot be sent over easily-intercepted links. Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ From mark at livecode.com Mon Jul 11 09:52:23 2016 From: mark at livecode.com (Mark Waddingham) Date: Mon, 11 Jul 2016 15:52:23 +0200 Subject: Application Transport Security deadline for iOS apps In-Reply-To: <57839025.10104@researchware.com> References: <57839025.10104@researchware.com> Message-ID: On 2016-07-11 14:25, Paul Dupuis wrote: > I realize that LiveCode has no influence over Apple, but this is one of > the most bone-headed thing Apple has ever done to it's developers. > There > are millions of web servers out there without any logins, serving > publicly available data or information, that do not need to be > encrypted > and the small organizations that run them will not add SSL certs for > HTTPS service. They don't have the technical expertise, or time, and > will not spend the money to pay to have it done. Developers who scrape > data off web sites that they have no control over will have their apps > break with no effective way to ever fix them. Aside from broken Apps, > Apple will, in effect, be censoring a large part of the internet from > it's iOS users unless their own browser still allows HTTP (in which > case > they are being hypocrites). I truly hope someone sues them over such > censorship on 1st amendment (freedom of speech) grounds. It seems that Apple are putting the infrastructure in place to deal with the situations you describe: http://www.techrepublic.com/article/how-to-migrate-to-https-using-app-transport-security-when-developing-ios-apps/ In particular, when ATS is enforced, you will still be able to request exceptions in the info plist - as long as you can justify them. For example, you might have a hard time justifying an exception for your own server for a new app you have just written; however, you won't have a hard time justifying the need to add an exception for www.somepublicsitewhichisnothttpsyet.org over which you have no control. Of course, Apple will likely become more and more strict over time - but it sounds like there is still 'plenty' of time for third-party HTTP-only services to upgrade. I imagine there will be a great deal less time for web services owned and controlled by the app vendor to do the same, however. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From paul at researchware.com Mon Jul 11 10:13:23 2016 From: paul at researchware.com (Paul Dupuis) Date: Mon, 11 Jul 2016 10:13:23 -0400 Subject: Application Transport Security deadline for iOS apps In-Reply-To: <3bb79996-3d76-21d8-55b8-6257f08d3d45@livecode.com> References: <57839025.10104@researchware.com> <3bb79996-3d76-21d8-55b8-6257f08d3d45@livecode.com> Message-ID: <5783A983.7040305@researchware.com> On 7/11/2016 9:42 AM, Peter TB Brett wrote: > If taken to court, I expect Apple would show evidence of the above and > argue that they are taking much-needed steps to ensure users' security > and safety, by making sure that the data the user receives is the same > as the data that was sent, and that sensitive data cannot be sent over > easily-intercepted links. If taken to court, I'd expect Apple to just out spend anyone else. Sadly, in the US, money can buy you the verdict you want! And yes, you are completely right. My "1st amendment" comment has no grounds and was just venting frustration at Apple taking away consumer choice - although I suppose the consumer still has a choice to switch to Android (until Google does the same dumb thing). I know a lot of people who have tiny webs sites - for home businesses, for hobby interests, for their own blogs among friends, and on and on. There folks are never going to update these web sites to HTTPS. In most cases, some one else set up the web sites for them and is no longer available and they know nothing about managing them. Unfortunately, they will simply notice that fewer people visit their sites OR perhaps discover they can no longer see their site from their own iPhone and have no idea why - even after reading any error messages - and just shrug it off as "tech stuff not working again". Not giving users a choice between HTTP and HTTPS will reduce user access to content regardless of what possible benefits the security may bring. From paul at researchware.com Mon Jul 11 10:15:39 2016 From: paul at researchware.com (Paul Dupuis) Date: Mon, 11 Jul 2016 10:15:39 -0400 Subject: Application Transport Security deadline for iOS apps In-Reply-To: References: <57839025.10104@researchware.com> Message-ID: <5783AA0B.8050208@researchware.com> On 7/11/2016 9:52 AM, Mark Waddingham wrote: > Of course, Apple will likely become more and more strict over time - > but it sounds like there is still 'plenty' of time for third-party > HTTP-only services to upgrade. I imagine there will be a great deal > less time for web services owned and controlled by the app vendor to > do the same, however. It is good to know that, at least for a time, some way to make exceptions exists. I still think, that all the benefits of HTTPS aside, taking choice away from consumers, is wrong and a "bad" move on Apple's part. From alex at tweedly.net Mon Jul 11 10:20:00 2016 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 11 Jul 2016 15:20:00 +0100 Subject: Application Transport Security deadline for iOS apps In-Reply-To: <5783A983.7040305@researchware.com> References: <57839025.10104@researchware.com> <3bb79996-3d76-21d8-55b8-6257f08d3d45@livecode.com> <5783A983.7040305@researchware.com> Message-ID: You (i.e. a developer who has one of these apps that scrapes from non-hhtp sites) could always provide a "relay" site that took https connections, made the request to the http site and then forwarded the end result. -- Alex. On 11/07/2016 15:13, Paul Dupuis wrote: > On 7/11/2016 9:42 AM, Peter TB Brett wrote: >> If taken to court, I expect Apple would show evidence of the above and >> argue that they are taking much-needed steps to ensure users' security >> and safety, by making sure that the data the user receives is the same >> as the data that was sent, and that sensitive data cannot be sent over >> easily-intercepted links. > If taken to court, I'd expect Apple to just out spend anyone else. > Sadly, in the US, money can buy you the verdict you want! > > And yes, you are completely right. My "1st amendment" comment has no > grounds and was just venting frustration at Apple taking away consumer > choice - although I suppose the consumer still has a choice to switch to > Android (until Google does the same dumb thing). > > I know a lot of people who have tiny webs sites - for home businesses, > for hobby interests, for their own blogs among friends, and on and on. > There folks are never going to update these web sites to HTTPS. In most > cases, some one else set up the web sites for them and is no longer > available and they know nothing about managing them. Unfortunately, they > will simply notice that fewer people visit their sites OR perhaps > discover they can no longer see their site from their own iPhone and > have no idea why - even after reading any error messages - and just > shrug it off as "tech stuff not working again". > > Not giving users a choice between HTTP and HTTPS will reduce user access > to content regardless of what possible benefits the security may bring. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Mon Jul 11 10:31:12 2016 From: mark at livecode.com (Mark Waddingham) Date: Mon, 11 Jul 2016 16:31:12 +0200 Subject: Application Transport Security deadline for iOS apps In-Reply-To: <5783AA0B.8050208@researchware.com> References: <57839025.10104@researchware.com> <5783AA0B.8050208@researchware.com> Message-ID: On 2016-07-11 16:15, Paul Dupuis wrote: > It is good to know that, at least for a time, some way to make > exceptions exists. I still think, that all the benefits of HTTPS aside, > taking choice away from consumers, is wrong and a "bad" move on Apple's > part. They aren't taking the choice away from consumers - they are forcing developers to take some responsibility for the security of the apps which they wish to offer through Apple's stores thus helping Apple to ensure that iOS and Mac continue to be a relatively 'safe' space with regards internet security and the consumer's usage of their devices. There are rules and regulations (often backed up by law) covering most things which are sold in most spheres - sometimes to ensure interoperability (e.g. certain radio bands are controlled to ensure wifi devices work); oftentimes to ensure safety (e.g. foods cannot be sold if they contain substances which have been found to be harmful). I must confess I'm generally glad that if I buy a wifi device, then it will be pretty much guaranteed *not* to break other wifi devices I have; and exceedingly glad that I'm exceptionally unlikely to be able to buy something to eat off a supermarket shelf which would kill me due to usage of unsafe additives. Good internet security, I think, should *definitely* be considered alongside these kinds of legislation-backed regulations. Of course, it should be pointed out here that ATS relates to app developers writing apps *not* general internet usage through browsers on iOS and Mac devices. i.e. Apple are saying - "if you have control over your servers and such then we expect you to follow best security practice if you want to benefit from our store ecosystem". Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From bonnmike at gmail.com Mon Jul 11 10:32:06 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 11 Jul 2016 08:32:06 -0600 Subject: Application Transport Security deadline for iOS apps In-Reply-To: References: <57839025.10104@researchware.com> <3bb79996-3d76-21d8-55b8-6257f08d3d45@livecode.com> <5783A983.7040305@researchware.com> Message-ID: Having a pass-through would work, it just always amazes me that "increased security" forces work arounds that in the end will decrease it. Forcing a developer to route all traffic through one hole in this manner so that they can actually keep things working basically sets up a huge clearinghouse target. It would end up being a single point of vulnerability that in turn compromises every single website on the back side for every single customer using the service. Scary. >> You (i.e. a developer who has one of these apps that scrapes from non-hhtp sites) could always provide a "relay" site that took https connections, made the request to the http site and then forwarded the end result. From ambassador at fourthworld.com Mon Jul 11 10:43:19 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 11 Jul 2016 07:43:19 -0700 Subject: Application Transport Security deadline for iOS apps In-Reply-To: <57839025.10104@researchware.com> References: <57839025.10104@researchware.com> Message-ID: <5783B087.1050802@fourthworld.com> Paul Dupuis wrote: > On 7/11/2016 7:05 AM, Peter TB Brett wrote: ... >> Apple will be requiring ATS for all iOS apps submitted to the app >> store from the beginning of 2017. ... >> The "Let's Encrypt" project may be useful. https://letsencrypt.org/ > > I realize that LiveCode has no influence over Apple, but this is one > of the most bone-headed thing Apple has ever done to it's developers. > There are millions of web servers out there without any logins, > serving publicly available data or information, that do not need to > be encrypted... HTTPS serves two purposes: one is encryption of data in transport, which may or may not be truly necessary. When when a server only hosts publicly-available information it may indeed seem overkill. But the other purpose is very useful for us all: it helps ensure that the site you think you're accessing is indeed what it claims to be. A self-signed certificate can provide encryption, but only a cert authenticated by a respected third party can verify the site's identity. Until recently Apple's requirement may have been seen as onerous, since the cost of deploying to the app store would effectively more than double, given that the cost of some good authenticated certs can be greater than the cost of Apple's dev program. Thankfully the Let's Encrypt project is now here to save the day, making our lives as site managers easier while protecting our site's visitors. Let's Encrypt is a consortium sponsored by Mozilla, Akamai, Cisco, the EFF, and many others, to provide an automated system with reliable, efficient certificate deployment, updates, and authentication servers, all at no cost. Those using shared hosting at Dreamhost will find Let's Encrypt available now right in their control panel, easily set up with just a couple clicks. Those using shared hosts running CPanel will have to wait just a few more weeks while that team's control panel support completes its beta testing. If you're using a VPS or dedicated server with Ubuntu 16.04, you'll find letsencrypt in the standard apt-get package repositories so it can be installed and updated as conveniently as anything else in the system. For other VPS or dedicated hosts you can also install and maintain Let's Encrypt through git; instructions for that are provided at the Let's Encrypt URL Peter shared above. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From peter.brett at livecode.com Mon Jul 11 10:49:33 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 11 Jul 2016 15:49:33 +0100 Subject: Application Transport Security deadline for iOS apps In-Reply-To: <5783B087.1050802@fourthworld.com> References: <57839025.10104@researchware.com> <5783B087.1050802@fourthworld.com> Message-ID: <6bbc200c-3070-7d34-ade1-8459d07b8fc7@livecode.com> On 11/07/2016 15:43, Richard Gaskin wrote: > Paul Dupuis wrote: > >> On 7/11/2016 7:05 AM, Peter TB Brett wrote: > ... >>> Apple will be requiring ATS for all iOS apps submitted to the app >>> store from the beginning of 2017. > ... >>> The "Let's Encrypt" project may be useful. https://letsencrypt.org/ >> >> I realize that LiveCode has no influence over Apple, but this is one >> of the most bone-headed thing Apple has ever done to it's developers. >> There are millions of web servers out there without any logins, >> serving publicly available data or information, that do not need to >> be encrypted... > > HTTPS serves two purposes: one is encryption of data in transport, which > may or may not be truly necessary. When when a server only hosts > publicly-available information it may indeed seem overkill. > > But the other purpose is very useful for us all: it helps ensure that > the site you think you're accessing is indeed what it claims to be. > As I mentioned previously, it serves a third purpose, even if the data is publicly available and you're communicating with the right server, by preventing middlemen from tampering with the data in transit. Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ From mark at livecode.com Mon Jul 11 10:57:46 2016 From: mark at livecode.com (Mark Waddingham) Date: Mon, 11 Jul 2016 16:57:46 +0200 Subject: Application Transport Security deadline for iOS apps In-Reply-To: <5783B087.1050802@fourthworld.com> References: <57839025.10104@researchware.com> <5783B087.1050802@fourthworld.com> Message-ID: On 2016-07-11 16:43, Richard Gaskin wrote: > HTTPS serves two purposes: one is encryption of data in transport, > which may or may not be truly necessary. When when a server only > hosts publicly-available information it may indeed seem overkill. I'd perhaps suggest that encryption of all internet traffic is actually quite important as a default to ensure people are guaranteed privacy unless they choose not to want it. Unencrypted traffic leaks information about the receiver - even for 'read-only' stores, patterns of access and what is accessed is information about which much can be potentially inferred for any interested in snooping. I guess the issue here is that people generally (rightly or wrongly!) assume things they do are private unless they have explicitly chosen to make them otherwise; using the internet unencrypted is a complete reversal of this situation. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From ambassador at fourthworld.com Mon Jul 11 11:11:23 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 11 Jul 2016 08:11:23 -0700 Subject: Application Transport Security deadline for iOS apps In-Reply-To: <6bbc200c-3070-7d34-ade1-8459d07b8fc7@livecode.com> References: <6bbc200c-3070-7d34-ade1-8459d07b8fc7@livecode.com> Message-ID: <5783B71B.6000306@fourthworld.com> Peter TB Brett wrote: > On 11/07/2016 15:43, Richard Gaskin wrote: >> Paul Dupuis wrote: >> >>> On 7/11/2016 7:05 AM, Peter TB Brett wrote: >> ... >>>> Apple will be requiring ATS for all iOS apps submitted to the app >>>> store from the beginning of 2017. >> ... >>>> The "Let's Encrypt" project may be useful. https://letsencrypt.org/ >>> >>> I realize that LiveCode has no influence over Apple, but this is one >>> of the most bone-headed thing Apple has ever done to it's developers. >>> There are millions of web servers out there without any logins, >>> serving publicly available data or information, that do not need to >>> be encrypted... >> >> HTTPS serves two purposes: one is encryption of data in transport, which >> may or may not be truly necessary. When when a server only hosts >> publicly-available information it may indeed seem overkill. >> >> But the other purpose is very useful for us all: it helps ensure that >> the site you think you're accessing is indeed what it claims to be. >> > > As I mentioned previously, it serves a third purpose, even if the data > is publicly available and you're communicating with the right server, by > preventing middlemen from tampering with the data in transit. Perhaps lazy writing on my part. In my own mind that seems a part of data encryption in transport, since a middleman won't be able to decrypt intercepted data, no encrypt new injected data with a key the recipient expects. Either way, yes, HTTPS is useful for many purposes. In a way it's kinda like Unicode: it's easy to think of Unicode as being useful only when you need to support non-English languages. But the more you think about it, the more it becomes clear that even English-language data is increasingly shared in Unicode, so it's not a question of foreign language support as much as it is merely of using modern conventions. With any luck, everything on the Web will be encrypted soon, and we'll look back on the days before universal encryption as a primitive learning period before we got truly serious about relying on the Internet. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jhurley0305 at sbcglobal.net Mon Jul 11 11:28:40 2016 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Mon, 11 Jul 2016 08:28:40 -0700 Subject: Parsing a PDF file In-Reply-To: References: Message-ID: Kay Lan wrote: In this particular case I found it much easier to open the PDF file in Adobe Acrobat and doing a ?Save as ? Text (Accessible)? Jim > > On Mon, Jul 11, 2016 at 9:36 AM, Roger Eller > > wrote: >> Since this seems to be Mac only, why not "do as Applescript" the select >> all, and Copy? >> > Because Preview isn't properly scriptable and you can't "Select All" > or "Copy". As Richard said, the answer is with Automator. > > If you open Automator, select a new 'application', then in the left > hand column you'll see "PDF's", as an option. If you click on that and > browse down the middle column you'll see 'Extract PDF Text', and if > you click on that, in it's description you'll see that it can extract > Plain or Rich text. > > So how can we get this to work with LC? > > 1) In Automator, drag the 'Extract PDF Text' action into the right > hand workspace window. > a) Choose the output type - most likely Plain Text > b) Select a folder to save to - for convenience we'll use "Desktop" > c) For the Output File Name you probably want to use a Custom Name - > pdf2text or whatever. You do not need to specify the suffix. > d) tick the Replace Existing files box. > > 2) Back in the left hand column where you clicked on the PDFs icon, > now click on the 'Files & Folders' icon (looks like the Finder icon). >> From the middle column drag 'Ask for Finder Items' into the right hand > column, place it above 'Extract PDF Text'. > a) Set the 'Start at: to a logical location, like Downloads, if that > is where your PDFs are likely to be located. > b) Type: should be left at files and do NOT tick the Allow Multiple > Selection box as these instruction are for a single file only. > > > 3) From the middle column drag 'Open Finder Items' and place it > 'between' the last two actions - so the order will be Ask for Finder > Items, Open Finder Items, Extract PDF Text. > a) Set Open with: to Preview. > > 4) Optionally, if you don't always have Preview open and you don't > want to be left with the PDF file open, in the left hand column click > Utility, and from the middle column drag 'Quit Application' to the end > of your workflow. > a) set it to "Preview.app" > > You can now test this by clicking the Run button in the top right > corner. What should happen is you should get a standard Open File > dialog box to point to a file, you then select a file and shortly > thereafter the Automator log window at the bottom should have all > green ticks. > > You should then be able to navigate to the Desktop folder and the file > 'pdf2text.txt' should be there. > > So to complete the LC integration process. Save your Automator > workflow, and call it something like pdf2text. For this example we'll > also save it to Desktop. > > Then in you LC script: > > on mouseUp > set the defaultFolder to specialFolderPath("desktop") > launch pdf2text.app > --if file is large, consider a wait 1 or more here. > put textDecode(URL > "file:/Users/yourname/Desktop/pdf2text.txt","utf8") into tNotPDF > --do what you have to after this > > --your Automator app will auto Quit once it's done it's thing so > there is no need to balance the 'launch' command with a 'kill' command > end mouseUp > > It should be noted that Automators Extract PDF Text typically does a > better job of text extraction than manually Select All + Copy + Paste. > > Unfortunately I consider both these options about 30% or less accurate > than using my old PPC G5 running Leopard and Devon Technologies old > PDF2RTFService. I had not previously offered a solution to the OP > because, get a PPC Mac, install Leopard and PDF2TEXTService is only > really an option if you are handling many large, complex formatted > pdfs day in, day out, as I am. Jim's problem sounds like a one off. > > > e-livecode at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-livecode > > ------------------------------ > > End of use-livecode Digest, Vol 154, Issue 21 > ********************************************* From admin at FlexibleLearning.com Mon Jul 11 11:29:55 2016 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Mon, 11 Jul 2016 16:29:55 +0100 Subject: screen capture from LC as video? Message-ID: <000601d1db89$14bc9200$3e35b600$@FlexibleLearning.com> On Win32, try Microsoft Expression. The free version does all you describe. Hugh Senior FLCo > Message: 4 > Date: Mon, 11 Jul 2016 02:45:36 +0000 > From: Terry Judd > To: How to use LiveCode > Subject: screen capture from LC as video? > Message-ID: > Content-Type: text/plain; charset="Windows-1252" > > LC has some really nice export features allowing you to save the screen, bits > of it or specific objects to images or PDF. What I?d really like to do however is > to export LC ?presentations? direct to video, so that I can switch from > delivering personalised but static PDFs (assessment/feedback reports) to > personalised, and hopefully more engaging, videos. I?m investigating > scripting PowerPoint and/or Keynote in conjunction with LC to populate and > export from custom templates to achieve what I?m looking for but I?d much > rather be working entirely in LC > > I know that video export from LC isn?t currently possible, and is unlikely to be > on the LC team's development radar, but is this the sort of thing that could > potentially be implemented as an external by someone with the right skills? > > Terry? From hh at hh.on-rev.com Mon Jul 11 11:04:17 2016 From: hh at hh.on-rev.com (-hh) Date: Mon, 11 Jul 2016 08:04:17 -0700 (PDT) Subject: Parsing a PDF file In-Reply-To: References: <6B5F785F-C25F-4E0D-94AD-AE460B82DA08@sbcglobal.net> Message-ID: <1468249457733-4706577.post@n4.nabble.com> > Roger E. wrote: > > Since this seems to be Mac only, why not "do as Applescript" then select > > all, and Copy? Kay C. L. wrote > Because Preview isn't properly scriptable and you can't "Select All" > or "Copy". As Richard said, the answer is with Automator. Automator is a GUI to "bundled" Applescript routines. May be an alternative way here to use directly Applescript, because that's easier to "adjust-if-needed": Here is a LC script and an AppleScript that together do the PDF2TXT job. It's pretty slow but it's delivering tables a little bit better "formatted" than pdfToText does and AcrobatReader's "Save as text" does. I prefer to separate the steps and watch the process (activated apps). [a] Download all files to a folder. [b] Convert all pdf files of that folder to text into that folder. [c] Work on the converted files. The following works here, running MacOS 10.11.5, with LC 6/7/8. Probably you need at least MacOS 10.6. To step [b]: [1] Allow "Accessibility" as described and put the following into a field "AScript" -- begin field -- Needs assistive access enabled: -- Before MacOS 10.11: -- System preferences/Accessibility --> Enable access for assistive d. -- MacOS 10.11 and later: -- System preferences/Security&Privacy/Accessibility --> add Livecode tell application "Preview" activate -- when activated you see menu "Edit" highlighting on/off set myPath to "xxxx" open myPath tell application "System Events" tell process "Preview" tell menu bar 1 click menu item "Select All" of menu "Edit" click menu item "Copy" of menu "Edit" end tell end tell end tell close document 1 end tell -- give Preview some time, else the script may appear "unstable" delay 7 -- (seconds) adjust to the speed of your machine tell application "Livecode" to activate --end field [2] Make a button "Convert PDFs" with the following script --begin script -- the path to the folder where all your PDFs reside local PDFfolder="/Users/admin/Downloads/precincts" on mouseUp set defaultfolder to PDFfolder put the files into ff filter ff with "*.pdf" put field "AS" into aScript repeat for each line f in ff put aScript into fScript put PDFfolder & "/" & f into f0 replace "//" with "/" in f0 do fScript as applescript go this stack set itemdelimiter to "." put "txt" into last item of f0 set itemdelimiter to comma put clipboardData["text"] into url ("file:" &f0) -- put f0 & cr before fld "jobsDone" -- for testing end repeat end mouseUp --end script -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Parsing-a-PDF-file-tp4706466p4706577.html Sent from the Revolution - User mailing list archive at Nabble.com. From hh at hh.on-rev.com Mon Jul 11 11:13:11 2016 From: hh at hh.on-rev.com (-hh) Date: Mon, 11 Jul 2016 08:13:11 -0700 (PDT) Subject: Parsing a PDF file In-Reply-To: <6B5F785F-C25F-4E0D-94AD-AE460B82DA08@sbcglobal.net> References: <6B5F785F-C25F-4E0D-94AD-AE460B82DA08@sbcglobal.net> Message-ID: <1468249991455-4706578.post@n4.nabble.com> Sorry, an essential line is missing: replace "xxxx" with f0 in fScript Here the full (correct) button-script: local PDFfolder="/Users/admin/Downloads/precincts" on mouseUp set defaultfolder to PDFfolder put the files into ff filter ff with "*.pdf" put field "AS" into aScript repeat for each line f in ff put aScript into fScript put PDFfolder & "/" & f into f0 replace "//" with "/" in f0 replace "xxxx" with f0 in fScript do fScript as applescript go this stack set itemdelimiter to "." put "txt" into last item of f0 set itemdelimiter to comma put clipboardData["text"] into url ("file:" &f0) put f0 & cr before fld "jobsDone" end repeat end mouseUp -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Parsing-a-PDF-file-tp4706466p4706578.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Mon Jul 11 16:55:35 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 11 Jul 2016 15:55:35 -0500 Subject: Application Transport Security deadline for iOS apps In-Reply-To: References: <57839025.10104@researchware.com> <5783AA0B.8050208@researchware.com> Message-ID: <7d7bbbe3-c6f9-7522-3203-2e8902de43c3@hyperactivesw.com> On 7/11/2016 9:31 AM, Mark Waddingham wrote: > Of course, it should be pointed out here that ATS relates to app > developers writing apps *not* general internet usage through browsers on > iOS and Mac devices. i.e. Apple are saying - "if you have control over > your servers and such then we expect you to follow best security > practice if you want to benefit from our store ecosystem". I wonder what happens if your app allows general browsing with, say, a browser widget? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at appisle.net Mon Jul 11 17:21:49 2016 From: monte at appisle.net (Monte Goulding) Date: Tue, 12 Jul 2016 07:21:49 +1000 Subject: Application Transport Security deadline for iOS apps In-Reply-To: <7d7bbbe3-c6f9-7522-3203-2e8902de43c3@hyperactivesw.com> References: <57839025.10104@researchware.com> <5783AA0B.8050208@researchware.com> <7d7bbbe3-c6f9-7522-3203-2e8902de43c3@hyperactivesw.com> Message-ID: <2D5FF23F-4AEE-49F9-BC03-54EB4AEE1A91@appisle.net> The browser widget will be blank. Sent from my iPhone > On 12 Jul 2016, at 6:55 AM, J. Landman Gay wrote: > > I wonder what happens if your app allows general browsing with, say, a browser widget? From rdimola at evergreeninfo.net Mon Jul 11 17:37:30 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 11 Jul 2016 17:37:30 -0400 Subject: Application Transport Security deadline for iOS apps In-Reply-To: <7d7bbbe3-c6f9-7522-3203-2e8902de43c3@hyperactivesw.com> References: <57839025.10104@researchware.com> <5783AA0B.8050208@researchware.com> <7d7bbbe3-c6f9-7522-3203-2e8902de43c3@hyperactivesw.com> Message-ID: <006c01d1dbbc$6d561e30$48025a90$@net> Jacqueline Landman Gay Wrote: > I wonder what happens if your app allows general browsing with, say, a browser widget? Good Question... All of my app's web services use https so this is good. But my app has a database of 3rd party URLs(3,000+) to various websites via the browser control. Some sites are https some are not. This DB has been compiled/updated for the last year. You can add specific exceptions to the plist (I would have a VERY large plist) or set NSAllowsArbitraryLoads to true. Setting NSAllowsArbitraryLoads to true will allow all of these URLs to work, but Apple was very clear in that they intend to reject apps who use this flag without a specific reason. One reason to use NSAllowsArbitraryLoads I can think of would be allow access to non secure 3rd party web sites. And in this case, Apple still expects you to include exceptions that enforce the ATS for these URLs. This would of course make my plist HUGE. I have a business model that could crumble under this rule. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Monday, July 11, 2016 4:56 PM To: How to use LiveCode Subject: Re: Application Transport Security deadline for iOS apps On 7/11/2016 9:31 AM, Mark Waddingham wrote: > Of course, it should be pointed out here that ATS relates to app > developers writing apps *not* general internet usage through browsers > on iOS and Mac devices. i.e. Apple are saying - "if you have control > over your servers and such then we expect you to follow best security > practice if you want to benefit from our store ecosystem". I wonder what happens if your app allows general browsing with, say, a browser widget? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Mon Jul 11 17:40:43 2016 From: paul at researchware.com (Paul Dupuis) Date: Mon, 11 Jul 2016 17:40:43 -0400 Subject: Application Transport Security deadline for iOS apps In-Reply-To: <2D5FF23F-4AEE-49F9-BC03-54EB4AEE1A91@appisle.net> References: <57839025.10104@researchware.com> <5783AA0B.8050208@researchware.com> <7d7bbbe3-c6f9-7522-3203-2e8902de43c3@hyperactivesw.com> <2D5FF23F-4AEE-49F9-BC03-54EB4AEE1A91@appisle.net> Message-ID: <5784125B.7070200@researchware.com> On 7/11/2016 5:21 PM, Monte Goulding wrote: > The browser widget will be blank. > > Sent from my iPhone > >> On 12 Jul 2016, at 6:55 AM, J. Landman Gay wrote: >> >> I wonder what happens if your app allows general browsing with, say, a browser widget? > And this is why I think what Apple is doing - regardless of the security benefits - is wrong. Someone tell their friend with the latest iPhone, "check out www.mysite.org" and their friend enters it in their iPhone browser and ... nothing ... because the site is not HTTPS. The folks here can say the site should be HTTPS for many good reasons, but the reality is that for many small legitimate content providers, Apple will forcible close off a large population (iPhone users) for being able to access their sites. This is a disservice to iPhone users and to those small content providers. Of course I also realize that my ranting about on this list in is not way going to effect any sort of change by Apple. From terry.judd at unimelb.edu.au Mon Jul 11 18:23:19 2016 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 11 Jul 2016 22:23:19 +0000 Subject: screen capture from LC as video? In-Reply-To: <000601d1db89$14bc9200$3e35b600$@FlexibleLearning.com> References: <000601d1db89$14bc9200$3e35b600$@FlexibleLearning.com> Message-ID: Thanks Hugh - I?m not much of a Windows user but I?ll check it out. Which version of Expression (design or web) should I be looking at? Regards, Terry... On 12/07/2016 1:29 am, "use-livecode on behalf of FlexibleLearning.com" wrote: >On Win32, try Microsoft Expression. The free version does all you >describe. > >Hugh Senior >FLCo > > >> Message: 4 >> Date: Mon, 11 Jul 2016 02:45:36 +0000 >> From: Terry Judd >> To: How to use LiveCode >> Subject: screen capture from LC as video? >> Message-ID: >> Content-Type: text/plain; charset="Windows-1252" >> >> LC has some really nice export features allowing you to save the screen, >bits >> of it or specific objects to images or PDF. What I?d really like to do >however is >> to export LC ?presentations? direct to video, so that I can switch from >> delivering personalised but static PDFs (assessment/feedback reports) to >> personalised, and hopefully more engaging, videos. I?m investigating >> scripting PowerPoint and/or Keynote in conjunction with LC to populate >>and >> export from custom templates to achieve what I?m looking for but I?d >>much >> rather be working entirely in LC >> >> I know that video export from LC isn?t currently possible, and is >>unlikely >to be >> on the LC team's development radar, but is this the sort of thing that >could >> potentially be implemented as an external by someone with the right >skills? >> >> Terry? > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Jul 11 18:53:40 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 11 Jul 2016 15:53:40 -0700 Subject: Application Transport Security deadline for iOS apps In-Reply-To: <5784125B.7070200@researchware.com> References: <5784125B.7070200@researchware.com> Message-ID: <57842374.305@fourthworld.com> Paul Dupuis wrote: >>> On 12 Jul 2016, at 6:55 AM, J. Landman Gay wrote: >>> >>> I wonder what happens if your app allows general browsing with, >>> say, a browser widget? > > And this is why I think what Apple is doing - regardless of the > security benefits - is wrong. Someone tell their friend with the > latest iPhone, "check out www.mysite.org" and their friend enters > it in their iPhone browser and ... nothing ... because the site > is not HTTPS. Oh, I think you can rest assured that Apple's own browser won't be limited by their rules. They'd break the utility of the iPhone if they did that. Then of course the question is: will they break Firefox and Chrome? Maybe there would be an exemption for browsers, but that only leads to another question: given that an ever larger number of major apps use a hybrid native-app-wrapped-around-an-embedded-browser approach, what exactly is a "browser"? I can't begin to guess how Apple will handle the inevitable demands for exemptions. But then again I've not read the full text of their notice myself, and in all fairness there's little in their history to suggest they're not bright. If this were a gambit to try to eliminate competing browsers, well, may God be with them because the courts won't. The world grew tired of that sort of control-freakishness when Microsoft used to pull it, and I wouldn't bet any judge today is any more interested in seeing that sort of restraint of trade. Fortunately I have nothing in the works right now that needs to provide access to arbitrary URLs, so I can sit on the sidelines with my popcorn and see how the story unfolds.... What's the date for this again? And is there a link to the policy, or is it like some earlier Apple policies where it's considered a violation of the SDK terms to disclose the full text publicly? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From benr_mc at cogapp.com Mon Jul 11 18:46:08 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 11 Jul 2016 23:46:08 +0100 Subject: portrait upside-down (iOS) Message-ID: <16a90f9a-f82d-ada6-076f-5aebeb6055fd@cogapp.com> Attempting to support portrait upside-down on iOS (specifically iPad); I've set the allowed orientations to portrait and portrait upside-down. Rotating the iPad has no effect. Tracking the orientationChanged message reports landscape left and right, but only "unknown" for the two portrait orientations. Am I doing something wrong? Does anyone else have this working? TIA, Ben From iowahengst at mac.com Mon Jul 11 19:05:36 2016 From: iowahengst at mac.com (Randy Hengst) Date: Mon, 11 Jul 2016 18:05:36 -0500 Subject: portrait upside-down (iOS) In-Reply-To: <16a90f9a-f82d-ada6-076f-5aebeb6055fd@cogapp.com> References: <16a90f9a-f82d-ada6-076f-5aebeb6055fd@cogapp.com> Message-ID: <92497133-5298-4580-8F18-E4546E0D06A5@mac.com> Ben, this works for me?. on startUp iphoneSetAllowedOrientations "portrait,portrait upside down" end startUp be well, randy Randy Hengst www.classroomFocusedSoftware.com > On Jul 11, 2016, at 5:46 PM, Ben Rubinstein wrote: > > Attempting to support portrait upside-down on iOS (specifically iPad); I've set the allowed orientations to portrait and portrait upside-down. Rotating the iPad has no effect. Tracking the orientationChanged message reports landscape left and right, but only "unknown" for the two portrait orientations. > > Am I doing something wrong? Does anyone else have this working? > > TIA, > > Ben > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From james at thehales.id.au Mon Jul 11 20:37:44 2016 From: james at thehales.id.au (jameshale) Date: Mon, 11 Jul 2016 17:37:44 -0700 (PDT) Subject: Application Transport Security deadline for iOS apps In-Reply-To: References: Message-ID: <1468283864438-4706587.post@n4.nabble.com> According to an article on TechRepublic ( http://www.how-to-migrate-to-https-using-app-transport-security-when-developing-ios-apps ) "If you're using WKWebView, an arbitrary connection will be allowed for websites that are not HTTPS-enabled." So arbitrary connections are ok in the Xcode/Swift world. Does the browser widget use a WKWebView on iOS? James -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Application-Transport-Security-deadline-for-iOS-apps-tp4706561p4706587.html Sent from the Revolution - User mailing list archive at Nabble.com. From colinholgate at gmail.com Mon Jul 11 21:29:16 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Mon, 11 Jul 2016 21:29:16 -0400 Subject: Application Transport Security deadline for iOS apps In-Reply-To: <1468283864438-4706587.post@n4.nabble.com> References: <1468283864438-4706587.post@n4.nabble.com> Message-ID: <00CA033E-3037-4549-8695-9AA654722277@gmail.com> I needed to use WKWebView not long ago, and started by making a native app test. As far as I could tell Xcode still uses UIWebView for Objective-C projects. I did find a Swift test project, and was able to prove how great WKWebView is. WKWebView requires iOS 8 or later, I think LiveCode still supports further back, doesn?t it? Also, do iOS widgets use Objective-C rather than Swift? So, there are a couple of reasons to think that LiveCode is using UIWebView, but hopefully I?m wrong about that. WKWebView performs a lot better, and also solves a couple of security related sound issues, that cannot be worked around using UIWebView. > On Jul 11, 2016, at 8:37 PM, jameshale wrote: > > According to an article on TechRepublic ( > http://www.how-to-migrate-to-https-using-app-transport-security-when-developing-ios-apps > > ) > > "If you're using WKWebView, an arbitrary connection will be allowed for > websites that are not HTTPS-enabled." > > So arbitrary connections are ok in the Xcode/Swift world. > Does the browser widget use a WKWebView on iOS? > > James > > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Application-Transport-Security-deadline-for-iOS-apps-tp4706561p4706587.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Mon Jul 11 21:52:03 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 11 Jul 2016 18:52:03 -0700 Subject: How we got to the moon Message-ID: <57844D43.2090700@ahsoftware.net> # PLEASE CRANK THE SILLY THING AROUND ... # "IT WILL BE PROVED TO THY FACT THAT THOU HAST MEN ABOUT THEE THAT # USUALLY TALK OF A NOUN AND A VERB, AND SUCH ABOMINABLE WORDS AS NO # CHRISTIAN EAR CAN ENDURE TO HEAR." # HENRY 6, ACT 2, SCENE 4 -- Mark Wieder ahsoftware at gmail.com From brahma at hindu.org Mon Jul 11 23:18:54 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 12 Jul 2016 03:18:54 +0000 Subject: Windows Equivalents for Shell: cp (copy) Message-ID: <9E51CFB1-5128-4675-A44A-D687E996E9F6@hindu.org> What alternatives do we have for basic shell commands on Windows? Rumors are out that later this year, Windows will support bash.. and perhaps then Livecode's shell calls to unix/bash commands will be cross platform-- like the one (cp) in this script below. But until then, can anyone provide an alternative that works on Windows? RevCopyFile (which works on Windows) doesn't offer the option to copy to a different filename? I suppose I can copy the file and then rename the copy at the new destination, using "rename" which is simple enough. But I was wondering if there are any native windows alternatives to unix "cp" that writes the same file to another file with a different name in "one go." on backupStack save the topstack # get a time stamp put the internet date into tDateTime convert tDateTime to dateitems delete the last item of tDateTime if item 4 of tDateTime > 12 then subtract 12 from item 4 of tDateTime put "pm" into the last item of tDateTime end if replace comma with "-" in tDateTime # get the path of the stack # set up the copy put the effective filename of the topstack into tCurrentPath put tCurrentPath into tCopyPath set the itemdel to "/" # always back up to one level above current working folder delete item -4 to -2 of tCopyPath put "/zArchives" after item -2 of tCopyPath # put tCopyPath; exit to top; replace ".livecode" with ("_" & tDateTime & ".bac") in tCopyPath put ("cp " & quote & tCurrentPath & quote &" "& quote & tCopyPath & quote) into tShell get shell(tShell) # auto fire every half hour send backupStack to me in 1800 seconds end backupStack From bonnmike at gmail.com Mon Jul 11 23:35:59 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 11 Jul 2016 21:35:59 -0600 Subject: Windows Equivalents for Shell: cp (copy) In-Reply-To: <9E51CFB1-5128-4675-A44A-D687E996E9F6@hindu.org> References: <9E51CFB1-5128-4675-A44A-D687E996E9F6@hindu.org> Message-ID: Windows has copy and xcopy as well as move and rename along with a bunch of other nifty things. On Mon, Jul 11, 2016 at 9:18 PM, Sannyasin Brahmanathaswami < brahma at hindu.org> wrote: > What alternatives do we have for basic shell commands on Windows? > > Rumors are out that later this year, Windows will support bash.. and > perhaps then Livecode's shell calls to unix/bash commands will be cross > platform-- like the one (cp) in this script below. But until then, can > anyone provide an alternative that works on Windows? > > RevCopyFile (which works on Windows) doesn't offer the option to copy to a > different filename? > > I suppose I can copy the file and then rename the copy at the new > destination, using "rename" which is simple enough. > > But I was wondering if there are any native windows alternatives to unix > "cp" that writes the same file to another file with a different name in > "one go." > > > on backupStack > > save the topstack > > # get a time stamp > > put the internet date into tDateTime > > convert tDateTime to dateitems > > delete the last item of tDateTime > > if item 4 of tDateTime > 12 then > > subtract 12 from item 4 of tDateTime > > put "pm" into the last item of tDateTime > > end if > > replace comma with "-" in tDateTime > > # get the path of the stack > > # set up the copy > > put the effective filename of the topstack into tCurrentPath > > put tCurrentPath into tCopyPath > > set the itemdel to "/" > > # always back up to one level above current working folder > > delete item -4 to -2 of tCopyPath > > put "/zArchives" after item -2 of tCopyPath > > # put tCopyPath; exit to top; > > replace ".livecode" with ("_" & tDateTime & ".bac") in tCopyPath > > put ("cp " & quote & tCurrentPath & quote &" "& quote & tCopyPath & quote) > into tShell > > get shell(tShell) > > # auto fire every half hour > > send backupStack to me in 1800 seconds > > end backupStack > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Mon Jul 11 23:44:03 2016 From: monte at appisle.net (Monte Goulding) Date: Tue, 12 Jul 2016 13:44:03 +1000 Subject: help wanted! Message-ID: <238F14E3-7B34-4C84-B059-07F9B7BDA31E@appisle.net> Hi LiveCoders I have just pushed a patch to the LiveCode docs which changes all 2625 files. The patch does the following: - hard wraps the docs where appropriate/possible to 72 columns (this will make it easier for us to review changes) - fixes a few file name anomalies - removes web as a platform due to the confusion between the browser plugin and html5 - orders all the lcdoc elements consistently Due to the number of files we are dealing with and the fact that the changes were scripted I wouldn?t mind a few extra eyes on it to ensure we aren?t losing data. If anyone has the time and inclination to take a look here?s a link: https://reviewable.io/reviews/livecode/livecode/4271#- I?m not looking for previously existing docs errors but data missing in the patch. I don?t believe there is any but it?s better safe than sorry ;-) Cheers Monte From monte at appisle.net Mon Jul 11 23:53:13 2016 From: monte at appisle.net (Monte Goulding) Date: Tue, 12 Jul 2016 13:53:13 +1000 Subject: Application Transport Security deadline for iOS apps In-Reply-To: <00CA033E-3037-4549-8695-9AA654722277@gmail.com> References: <1468283864438-4706587.post@n4.nabble.com> <00CA033E-3037-4549-8695-9AA654722277@gmail.com> Message-ID: LiveCode does use UIWebView. I can?t speak for the team but I would think it?s unlikely we would look at altering that until support for iOS 7 is dropped. Down the track with WKWebView having a common api on Mac 10.10 and iOS 8.0 it would make sense to share code when they are our minimum supported platforms. > On 12 Jul 2016, at 11:29 AM, Colin Holgate wrote: > > I needed to use WKWebView not long ago, and started by making a native app test. As far as I could tell Xcode still uses UIWebView for Objective-C projects. I did find a Swift test project, and was able to prove how great WKWebView is. > > WKWebView requires iOS 8 or later, I think LiveCode still supports further back, doesn?t it? Also, do iOS widgets use Objective-C rather than Swift? > > So, there are a couple of reasons to think that LiveCode is using UIWebView, but hopefully I?m wrong about that. > > WKWebView performs a lot better, and also solves a couple of security related sound issues, that cannot be worked around using UIWebView. > > >> On Jul 11, 2016, at 8:37 PM, jameshale wrote: >> >> According to an article on TechRepublic ( >> http://www.how-to-migrate-to-https-using-app-transport-security-when-developing-ios-apps >> >> ) >> >> "If you're using WKWebView, an arbitrary connection will be allowed for >> websites that are not HTTPS-enabled." >> >> So arbitrary connections are ok in the Xcode/Swift world. >> Does the browser widget use a WKWebView on iOS? >> >> James >> >> >> >> >> >> -- >> View this message in context: http://runtime-revolution.278305.n4.nabble.com/Application-Transport-Security-deadline-for-iOS-apps-tp4706561p4706587.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From admin at FlexibleLearning.com Tue Jul 12 02:03:11 2016 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Tue, 12 Jul 2016 07:03:11 +0100 Subject: screen capture from LC as video? Message-ID: <000901d1dc03$12fd5560$38f80020$@FlexibleLearning.com> Hi Terry Video screen capture is Expression Encoder (https://www.microsoft.com/en-gb/download/details.aspx?id=18974). Best regards Hugh Senior FLCo > Thanks Hugh - I?m not much of a Windows user but I?ll check it out. Which > version of Expression (design or web) should I be looking at? > > Regards, > > Terry... > > On 12/07/2016 1:29 am, "use-livecode on behalf of FlexibleLearning.com" > admin at FlexibleLearning.com> wrote: > > >On Win32, try Microsoft Expression. The free version does all you > >describe. > > > >Hugh Senior > >FLCo From terry.judd at unimelb.edu.au Tue Jul 12 02:37:45 2016 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 12 Jul 2016 06:37:45 +0000 Subject: screen capture from LC as video? In-Reply-To: <000901d1dc03$12fd5560$38f80020$@FlexibleLearning.com> References: <000901d1dc03$12fd5560$38f80020$@FlexibleLearning.com> Message-ID: Thanks Hugh - my current proposed workflow includes developing a Powerpoint ?template?, using LC to process and generate personalised audio files and graphics from ?raw? assessment data, using LC to ?merge? the personalised graphics and audio files into copies of the Powerpoint template file, and then using a 3rd party Powerpoint to video converter to batch convert the individual Powerpoint files to videos. Anything that could simplify and/or replace that process is certainly worth investigating! Best regards, Terry... On 12/07/2016 4:03 pm, "use-livecode on behalf of FlexibleLearning.com" wrote: >Hi Terry > >Video screen capture is Expression Encoder >(https://www.microsoft.com/en-gb/download/details.aspx?id=18974). > >Best regards > >Hugh Senior >FLCo > >> Thanks Hugh - I?m not much of a Windows user but I?ll check it out. >>Which >> version of Expression (design or web) should I be looking at? >> >> Regards, >> >> Terry... >> >> On 12/07/2016 1:29 am, "use-livecode on behalf of FlexibleLearning.com" >> > admin at FlexibleLearning.com> wrote: >> >> >On Win32, try Microsoft Expression. The free version does all you >> >describe. >> > >> >Hugh Senior >> >FLCo > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Jul 12 02:42:42 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 12 Jul 2016 01:42:42 -0500 Subject: Windows Equivalents for Shell: cp (copy) In-Reply-To: <9E51CFB1-5128-4675-A44A-D687E996E9F6@hindu.org> References: <9E51CFB1-5128-4675-A44A-D687E996E9F6@hindu.org> Message-ID: <53af90bb-d6d0-913e-cb9a-c7eef0b9888a@hyperactivesw.com> On 7/11/2016 10:18 PM, Sannyasin Brahmanathaswami wrote: > RevCopyFile (which works on Windows) doesn't offer the option to copy > to a different filename? > > I suppose I can copy the file and then rename the copy at the new > destination, using "rename" which is simple enough. This works: put into tCopyPath put the effective filename of this stack into tCurrentPath set the filename of this stack to tCopyPath save this stack set the filename of this stack to tCurrentPath save this stack -- reset -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bonnmike at gmail.com Tue Jul 12 03:43:44 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 12 Jul 2016 01:43:44 -0600 Subject: Windows Equivalents for Shell: cp (copy) In-Reply-To: <53af90bb-d6d0-913e-cb9a-c7eef0b9888a@hyperactivesw.com> References: <9E51CFB1-5128-4675-A44A-D687E996E9F6@hindu.org> <53af90bb-d6d0-913e-cb9a-c7eef0b9888a@hyperactivesw.com> Message-ID: or the url method put url "binfile:path/to/in/file into url "binfile:path/to/out/file" On Tue, Jul 12, 2016 at 12:42 AM, J. Landman Gay wrote: > On 7/11/2016 10:18 PM, Sannyasin Brahmanathaswami wrote: > >> RevCopyFile (which works on Windows) doesn't offer the option to copy >> to a different filename? >> >> I suppose I can copy the file and then rename the copy at the new >> destination, using "rename" which is simple enough. >> > > This works: > > put into tCopyPath > put the effective filename of this stack into tCurrentPath > set the filename of this stack to tCopyPath > save this stack > set the filename of this stack to tCurrentPath > save this stack -- reset > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hh.on-rev.com Tue Jul 12 03:18:14 2016 From: hh at hh.on-rev.com (-hh) Date: Tue, 12 Jul 2016 00:18:14 -0700 (PDT) Subject: Windows Equivalents for Shell: cp (copy) In-Reply-To: References: <9E51CFB1-5128-4675-A44A-D687E996E9F6@hindu.org> <53af90bb-d6d0-913e-cb9a-c7eef0b9888a@hyperactivesw.com> Message-ID: <1468307894735-4706598.post@n4.nabble.com> Or simply (works on each supported platform): save stack as -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Windows-Equivalents-for-Shell-cp-copy-tp4706590p4706598.html Sent from the Revolution - User mailing list archive at Nabble.com. From rolf.kocherhans at id.uzh.ch Tue Jul 12 04:03:17 2016 From: rolf.kocherhans at id.uzh.ch (Rolf Kocherhans) Date: Tue, 12 Jul 2016 10:03:17 +0200 Subject: Application Transport Security deadline for iOS apps In-Reply-To: References: Message-ID: <739B5923-3878-4EB2-BBA4-30370AD2AE67@id.uzh.ch> What does ATS mean for people using on-rev ? I am not at all familiar with this subject, therefor I have a couple of questions: Will it be a per person thing, do I have to install a cert just for me ? Or will LiveCode do this for all users ? Or will this be implemented into the cPanel ? > > Am 12.07.2016 um 00:53 schrieb use-livecode-request at lists.runrev.com: > > Those using shared hosts running CPanel will have to wait just a few > more weeks while that team's control panel support completes its beta > testing. From richmondmathewson at gmail.com Tue Jul 12 04:37:59 2016 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 12 Jul 2016 11:37:59 +0300 Subject: screen capture from LC as video? Message-ID: <5784AC67.5080000@gmail.com> As this is meant to be on Windows can one not just use revVideoGrabber ? or, with the end of Livecode's dependence on Quicktime has that stopped functioning? Richmond. From richmondmathewson at gmail.com Tue Jul 12 04:42:58 2016 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 12 Jul 2016 11:42:58 +0300 Subject: Getting 32-bit Livecode running on 64-bit Linux Message-ID: <5784AD92.3050103@gmail.com> The multiarch stuff does not seem to allow that with (x,l,z,q,w,j,h)ubuntu 16.04. Would be grateful for help here. Trying to access the Livecode 8 dictionary again, again, again. Richmond. From peter.brett at livecode.com Tue Jul 12 04:43:10 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Tue, 12 Jul 2016 09:43:10 +0100 Subject: screen capture from LC as video? In-Reply-To: <5784AC67.5080000@gmail.com> References: <5784AC67.5080000@gmail.com> Message-ID: <16c2cfea-23df-e064-c337-3172a92fb731@livecode.com> On 12/07/2016 09:37, Richmond wrote: > As this is meant to be on Windows can one not just use > > revVideoGrabber ? > > or, with the end of Livecode's dependence on Quicktime has that stopped > functioning? revVideoGrabber will still work iff you can get QuickTime installed and working. QuickTime on Windows 8+ is quite crashy, and on Windows 10 is very crashy. It's not a LiveCode issue, it's a QuickTime issue. Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ From peter.brett at livecode.com Tue Jul 12 05:46:17 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Tue, 12 Jul 2016 10:46:17 +0100 Subject: Getting 32-bit Livecode running on 64-bit Linux In-Reply-To: <5784AD92.3050103@gmail.com> References: <5784AD92.3050103@gmail.com> Message-ID: <2662d3ce-b5cf-2a13-1649-9825afc28f30@livecode.com> On 12/07/2016 09:42, Richmond wrote: > The multiarch stuff does not seem to allow that with > (x,l,z,q,w,j,h)ubuntu 16.04. > > Would be grateful for help here. > > Trying to access the Livecode 8 dictionary again, again, again. Hi Richmond, Here are the steps I followed to get the LiveCode 8 dictionary working on Ubuntu 16.04. 1. Install Ubuntu 16.04 with default settings. 2. Install LiveCode for All Users with default settings 3. Start LiveCode 4. Click "Dictionary" I just did this again, right now, just to make sure. What are the differences between your system and a default Ubuntu installation? Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ From klaus at major-k.de Tue Jul 12 05:59:32 2016 From: klaus at major-k.de (Klaus major-k) Date: Tue, 12 Jul 2016 11:59:32 +0200 Subject: OT, https <> http | WAS Application Transport Security deadline for iOS apps Message-ID: Hi friends, I have my website at ON-REV: and inspired by the ATS discussion I was curious and just entered this into the address line of my browser: I really did not exspect anything but an error like "Not configured" or whatever, but got a Certificate alert dialog and after clicking "Continue" I found myself on THIS page: ? But the address line still reads "www.major-k.de", even after I clicked some links to subpages on that page -> www.major-k.de/not_my_sub-page.html I'm completely puzzled, what the hell is going on here? Any insights highly welcome! :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From info at trevix.it Tue Jul 12 06:42:02 2016 From: info at trevix.it (Trevisan) Date: Tue, 12 Jul 2016 10:42:02 +0000 (UTC) Subject: Progress on WP REST API References: Message-ID: Todd Fabacher writes: > Here are two plugins that will allow WP to become a customizable DB server > with little to no DB experience. Perfect for LC students and people who > want to get a DB setup online, but don't have the experience or know-how. > > https://wordpress.org/plugins/advanced-custom-fields/ > https://wordpress.org/plugins/acf-to-rest-api/ > > but also, I have found many Custom Post Type Plugins: > > https://wordpress.org/plugins/custom-post-type-ui/ > https://wordpress.org/plugins/types/ > https://wordpress.org/plugins/pods/ > https://wordpress.org/plugins/custom-post-type-maker/ > > We can look to adding this to the LiveCode WP Rest API library. I get > emails and I see some post of people asking how to setup a customized web > data server. These would do the trick. Plus most are open source and FREE, > but a few have a more feature rich commercial version. > > We would like to focus on creating a sample App in LiveCode that utilized > WooCommerce. I think it is important to have several different example Apps > before we start to pitch to the WP community at large...any ideas???? > > Any other questions [please let me know. I have had about 2 dozen people > email with questions and express interest in integrating WP with LiveCode. > > --Todd Since you mentioned, as from your suggestion when I presented my App "FlowReminder" at the LC Pitch your App, my ideal example would be: - login (new and re-login) from inside the App - once logged, the user is able to upload categorized files to a web store, fixing their price with info details. - also, inside the App, the user should be able to buy files of other users and download them to the App. May be also to valuate them. But, being a one man band, I may have to resort externally to create such a web site. Roberto Trevisan From rolf.kocherhans at id.uzh.ch Tue Jul 12 07:36:51 2016 From: rolf.kocherhans at id.uzh.ch (Rolf Kocherhans) Date: Tue, 12 Jul 2016 13:36:51 +0200 Subject: OT: https <> http | WAS Application Transport Security deadline for iOS apps In-Reply-To: References: Message-ID: <7EC1A2FE-A849-4254-9F17-AD5AD3CDC336@id.uzh.ch> If I do the same I land on artisansofscotland.com :-( My original page: www.kangaroo.on-rev.com If I go here: https://www.kangaroo.on-rev.com I land here: https://artisansofscotland.com Whats going on ? > Am 12.07.2016 um 12:00 schrieb use-livecode-request at lists.runrev.com: > > Hi friends, > > I have my website at ON-REV: > > and inspired by the ATS discussion I was curious and just entered this into the address > line of my browser: > > > I really did not exspect anything but an error like "Not configured" or whatever, but got a > Certificate alert dialog and after clicking "Continue" I found myself on THIS page: > ? > > But the address line still reads "www.major-k.de", even after I clicked some links to subpages > on that page -> www.major-k.de/not_my_sub-page.html > > I'm completely puzzled, what the hell is going on here? > Any insights highly welcome! :-) > > > Best > > Klaus From klaus at major-k.de Tue Jul 12 07:46:17 2016 From: klaus at major-k.de (Klaus major-k) Date: Tue, 12 Jul 2016 13:46:17 +0200 Subject: OT: https <> http | WAS Application Transport Security deadline for iOS apps In-Reply-To: <7EC1A2FE-A849-4254-9F17-AD5AD3CDC336@id.uzh.ch> References: <7EC1A2FE-A849-4254-9F17-AD5AD3CDC336@id.uzh.ch> Message-ID: <746B4BF1-2E1B-4680-B518-62D815E9B842@major-k.de> Hi Rolf, > Am 12.07.2016 um 13:36 schrieb Rolf Kocherhans : > > If I do the same I land on artisansofscotland.com :-( > My original page: www.kangaroo.on-rev.com > > If I go here: https://www.kangaroo.on-rev.com > I land here: https://artisansofscotland.com thanks for checking, good to know I'm not alone! > Whats going on ? Yes, very good question! Hi mothership, any ideas? >> Am 12.07.2016 um 12:00 schrieb use-livecode-request at lists.runrev.com: >> >> Hi friends, >> >> I have my website at ON-REV: >> >> and inspired by the ATS discussion I was curious and just entered this into the address >> line of my browser: >> >> >> I really did not exspect anything but an error like "Not configured" or whatever, but got a >> Certificate alert dialog and after clicking "Continue" I found myself on THIS page: >> ? >> >> But the address line still reads "www.major-k.de", even after I clicked some links to subpages >> on that page -> www.major-k.de/not_my_sub-page.html >> >> I'm completely puzzled, what the hell is going on here? >> Any insights highly welcome! :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From peter.brett at livecode.com Tue Jul 12 07:47:09 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Tue, 12 Jul 2016 12:47:09 +0100 Subject: OT: https <> http | WAS Application Transport Security deadline for iOS apps In-Reply-To: <746B4BF1-2E1B-4680-B518-62D815E9B842@major-k.de> References: <7EC1A2FE-A849-4254-9F17-AD5AD3CDC336@id.uzh.ch> <746B4BF1-2E1B-4680-B518-62D815E9B842@major-k.de> Message-ID: <422723cd-dcaf-d7f6-414f-fdc55826375e@livecode.com> On 12/07/2016 12:46, Klaus major-k wrote: > Hi Rolf, > >> Am 12.07.2016 um 13:36 schrieb Rolf Kocherhans : >> >> If I do the same I land on artisansofscotland.com :-( >> My original page: www.kangaroo.on-rev.com >> >> If I go here: https://www.kangaroo.on-rev.com >> I land here: https://artisansofscotland.com > > thanks for checking, good to know I'm not alone! > >> Whats going on ? > > Yes, very good question! > Hi mothership, any ideas? Have you tried contacting LiveCode Support by e-mailing ? Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ From klaus at major-k.de Tue Jul 12 07:50:20 2016 From: klaus at major-k.de (Klaus major-k) Date: Tue, 12 Jul 2016 13:50:20 +0200 Subject: OT: https <> http | WAS Application Transport Security deadline for iOS apps In-Reply-To: <422723cd-dcaf-d7f6-414f-fdc55826375e@livecode.com> References: <7EC1A2FE-A849-4254-9F17-AD5AD3CDC336@id.uzh.ch> <746B4BF1-2E1B-4680-B518-62D815E9B842@major-k.de> <422723cd-dcaf-d7f6-414f-fdc55826375e@livecode.com> Message-ID: Hi Peter, > Am 12.07.2016 um 13:47 schrieb Peter TB Brett : > On 12/07/2016 12:46, Klaus major-k wrote: >> Hi Rolf, >> >>> Am 12.07.2016 um 13:36 schrieb Rolf Kocherhans : >>> >>> If I do the same I land on artisansofscotland.com :-( >>> My original page: www.kangaroo.on-rev.com >>> >>> If I go here: https://www.kangaroo.on-rev.com >>> I land here: https://artisansofscotland.com >> >> thanks for checking, good to know I'm not alone! >> >>> Whats going on ? >> >> Yes, very good question! >> Hi mothership, any ideas? > Have you tried contacting LiveCode Support by e-mailing ? not yet, just wanted to see if others are also experiencing this. But will do now! What will be more effective: or ? > Peter > > -- > Dr Peter Brett > LiveCode Technical Project Manager Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From klaus at major-k.de Tue Jul 12 08:23:08 2016 From: klaus at major-k.de (Klaus major-k) Date: Tue, 12 Jul 2016 14:23:08 +0200 Subject: OT: https <> http | WAS Application Transport Security deadline for iOS apps In-Reply-To: References: <7EC1A2FE-A849-4254-9F17-AD5AD3CDC336@id.uzh.ch> <746B4BF1-2E1B-4680-B518-62D815E9B842@major-k.de> <422723cd-dcaf-d7f6-414f-fdc55826375e@livecode.com> Message-ID: Hi all, OK, mail sent to support, wainting for a response now, I will keep you informed! > Am 12.07.2016 um 13:50 schrieb Klaus major-k : > > Hi Peter, > >> Am 12.07.2016 um 13:47 schrieb Peter TB Brett : >> > On 12/07/2016 12:46, Klaus major-k wrote: >>> Hi Rolf, >>> >>>> Am 12.07.2016 um 13:36 schrieb Rolf Kocherhans : >>>> >>>> If I do the same I land on artisansofscotland.com :-( >>>> My original page: www.kangaroo.on-rev.com >>>> >>>> If I go here: https://www.kangaroo.on-rev.com >>>> I land here: https://artisansofscotland.com >>> >>> thanks for checking, good to know I'm not alone! >>> >>>> Whats going on ? >>> >>> Yes, very good question! >>> Hi mothership, any ideas? Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From bonnmike at gmail.com Tue Jul 12 09:24:21 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 12 Jul 2016 07:24:21 -0600 Subject: OT: https <> http | WAS Application Transport Security deadline for iOS apps In-Reply-To: References: <7EC1A2FE-A849-4254-9F17-AD5AD3CDC336@id.uzh.ch> <746B4BF1-2E1B-4680-B518-62D815E9B842@major-k.de> <422723cd-dcaf-d7f6-414f-fdc55826375e@livecode.com> Message-ID: When I go to either of these pages i get: Your connection is not private Attackers might be trying to steal your information from *www.kangaroo.on-rev.com * (for example, passwords, messages, or credit cards). NET::ERR_CERT_COMMON_NAME_INVALID Automatically report details of possible security incidents to Google. Privacy policy On Tue, Jul 12, 2016 at 6:23 AM, Klaus major-k wrote: > Hi all, > > OK, mail sent to support, wainting for a response now, I will keep you > informed! > > > Am 12.07.2016 um 13:50 schrieb Klaus major-k : > > > > Hi Peter, > > > >> Am 12.07.2016 um 13:47 schrieb Peter TB Brett >: > >> > > On 12/07/2016 12:46, Klaus major-k wrote: > >>> Hi Rolf, > >>> > >>>> Am 12.07.2016 um 13:36 schrieb Rolf Kocherhans < > rolf.kocherhans at id.uzh.ch>: > >>>> > >>>> If I do the same I land on artisansofscotland.com :-( > >>>> My original page: www.kangaroo.on-rev.com > >>>> > >>>> If I go here: https://www.kangaroo.on-rev.com > >>>> I land here: https://artisansofscotland.com > >>> > >>> thanks for checking, good to know I'm not alone! > >>> > >>>> Whats going on ? > >>> > >>> Yes, very good question! > >>> Hi mothership, any ideas? > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From benr_mc at cogapp.com Tue Jul 12 09:22:46 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 12 Jul 2016 14:22:46 +0100 Subject: portrait upside-down (iOS) In-Reply-To: <92497133-5298-4580-8F18-E4546E0D06A5@mac.com> References: <16a90f9a-f82d-ada6-076f-5aebeb6055fd@cogapp.com> <92497133-5298-4580-8F18-E4546E0D06A5@mac.com> Message-ID: <385c7f9e-3fea-6d90-a2d1-3d790f3d7f82@cogapp.com> Thanks Randy, that did it for me too! So what is the effect, if any, of setting the "iPad supported initial orientations" in the standalone settings? On 12/07/2016 00:05, Randy Hengst wrote: > Ben, this works for me?. > > > on startUp > iphoneSetAllowedOrientations "portrait,portrait upside down" > end startUp > From iowahengst at mac.com Tue Jul 12 09:46:40 2016 From: iowahengst at mac.com (Randy Hengst) Date: Tue, 12 Jul 2016 08:46:40 -0500 Subject: portrait upside-down (iOS) In-Reply-To: <385c7f9e-3fea-6d90-a2d1-3d790f3d7f82@cogapp.com> References: <16a90f9a-f82d-ada6-076f-5aebeb6055fd@cogapp.com> <92497133-5298-4580-8F18-E4546E0D06A5@mac.com> <385c7f9e-3fea-6d90-a2d1-3d790f3d7f82@cogapp.com> Message-ID: <50282422-498A-424F-94A7-D230E9B32602@mac.com> Glad it worked. The settings are literally for setting the display when the user first starts the app? My, albeit, vague understanding is that setting is used even before the startUp handler is executed. In other words, the setting for the time the splash screen is being displayed. be well, randy Randy Hengst www.classroomFocusedSoftware.com > On Jul 12, 2016, at 8:22 AM, Ben Rubinstein wrote: > > Thanks Randy, that did it for me too! > > So what is the effect, if any, of setting the "iPad supported initial orientations" in the standalone settings? > > On 12/07/2016 00:05, Randy Hengst wrote: >> Ben, this works for me?. >> >> >> on startUp >> iphoneSetAllowedOrientations "portrait,portrait upside down" >> end startUp >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Jul 12 10:20:39 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Jul 2016 07:20:39 -0700 Subject: Windows Equivalents for Shell: cp (copy) In-Reply-To: <9E51CFB1-5128-4675-A44A-D687E996E9F6@hindu.org> References: <9E51CFB1-5128-4675-A44A-D687E996E9F6@hindu.org> Message-ID: <5784FCB7.8050106@fourthworld.com> Sannyasin Brahmanathaswami wrote: > What alternatives do we have for basic shell commands on Windows? > > Rumors are out that later this year, Windows will support bash.. and > perhaps then Livecode's shell calls to unix/bash commands will be > cross platform-- Ubuntu's bash environment is available for Windows 10 now - here's how to get started: Useful for many sysadmin tasks, but for just copying LC stack files from within the IDE the LC Script examples the others gave are probably simpler options. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From roger.e.eller at sealedair.com Tue Jul 12 10:28:36 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 12 Jul 2016 10:28:36 -0400 Subject: Windows Equivalents for Shell: cp (copy) In-Reply-To: <5784FCB7.8050106@fourthworld.com> References: <9E51CFB1-5128-4675-A44A-D687E996E9F6@hindu.org> <5784FCB7.8050106@fourthworld.com> Message-ID: Most Windows Server admins I know use xcopy. It has far more control over attributes than the standard copy command. http://commandwindows.com/xcopy.htm ~Roger On Tue, Jul 12, 2016 at 10:20 AM, Richard Gaskin wrote: > Sannyasin Brahmanathaswami wrote: > > > What alternatives do we have for basic shell commands on Windows? > > > > Rumors are out that later this year, Windows will support bash.. and > > perhaps then Livecode's shell calls to unix/bash commands will be > > cross platform-- > > Ubuntu's bash environment is available for Windows 10 now - here's how to > get started: > > > Useful for many sysadmin tasks, but for just copying LC stack files from > within the IDE the LC Script examples the others gave are probably simpler > options. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Tue Jul 12 11:24:53 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 12 Jul 2016 10:24:53 -0500 Subject: Windows Equivalents for Shell: cp (copy) In-Reply-To: <1468307894735-4706598.post@n4.nabble.com> References: <9E51CFB1-5128-4675-A44A-D687E996E9F6@hindu.org> <53af90bb-d6d0-913e-cb9a-c7eef0b9888a@hyperactivesw.com> <1468307894735-4706598.post@n4.nabble.com> Message-ID: <155dfb5f988.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> The problem with "save as" is that you end up working in the backup copy instead of the original. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 12, 2016 3:01:48 AM "[-hh]" wrote: > Or simply (works on each supported platform): > > save stack as > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Windows-Equivalents-for-Shell-cp-copy-tp4706590p4706598.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Tue Jul 12 11:35:00 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 12 Jul 2016 11:35:00 -0400 Subject: Windows Equivalents for Shell: cp (copy) In-Reply-To: <155dfb5f988.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <9E51CFB1-5128-4675-A44A-D687E996E9F6@hindu.org> <53af90bb-d6d0-913e-cb9a-c7eef0b9888a@hyperactivesw.com> <1468307894735-4706598.post@n4.nabble.com> <155dfb5f988.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: How about modifying the save option to automatically copy and rename as a versioned file. On Tue, Jul 12, 2016 at 11:24 AM, J. Landman Gay wrote: > The problem with "save as" is that you end up working in the backup copy > instead of the original. > > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > On July 12, 2016 3:01:48 AM "[-hh]" wrote: > > Or simply (works on each supported platform): >> >> save stack as >> >> >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/Windows-Equivalents-for-Shell-cp-copy-tp4706590p4706598.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paul at livecode.org Tue Jul 12 11:43:16 2016 From: paul at livecode.org (Paul Hibbert) Date: Tue, 12 Jul 2016 08:43:16 -0700 Subject: OT: https <> http | WAS Application Transport Security deadline for iOS apps In-Reply-To: References: <7EC1A2FE-A849-4254-9F17-AD5AD3CDC336@id.uzh.ch> <746B4BF1-2E1B-4680-B518-62D815E9B842@major-k.de> <422723cd-dcaf-d7f6-414f-fdc55826375e@livecode.com> Message-ID: I?m interested in the response too. Https requests to my on-rev site also link to legacytrees.org Paul > On Jul 12, 2016, at 5:23 AM, Klaus major-k wrote: > > Hi all, > > OK, mail sent to support, wainting for a response now, I will keep you informed! > >> Am 12.07.2016 um 13:50 schrieb Klaus major-k : >> >> Hi Peter, >> >>> Am 12.07.2016 um 13:47 schrieb Peter TB Brett : >>> >> On 12/07/2016 12:46, Klaus major-k wrote: >>>> Hi Rolf, >>>> >>>>> Am 12.07.2016 um 13:36 schrieb Rolf Kocherhans : >>>>> >>>>> If I do the same I land on artisansofscotland.com :-( >>>>> My original page: www.kangaroo.on-rev.com >>>>> >>>>> If I go here: https://www.kangaroo.on-rev.com >>>>> I land here: https://artisansofscotland.com >>>> >>>> thanks for checking, good to know I'm not alone! >>>> >>>>> Whats going on ? >>>> >>>> Yes, very good question! >>>> Hi mothership, any ideas? > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Jul 12 12:22:43 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Jul 2016 09:22:43 -0700 Subject: Getting 32-bit Livecode running on 64-bit Linux In-Reply-To: <5784AD92.3050103@gmail.com> References: <5784AD92.3050103@gmail.com> Message-ID: <57851953.7020104@fourthworld.com> Richmond wrote: > The multiarch stuff does not seem to allow that with > (x,l,z,q,w,j,h)ubuntu 16.04. Multiarch is a mess. In addition to LC, Google Earth and others suffer horribly under it. If your system is 64-bit why not use the 64-bit build of LC? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Tue Jul 12 12:38:32 2016 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 12 Jul 2016 19:38:32 +0300 Subject: Getting 32-bit Livecode running on 64-bit Linux In-Reply-To: <2662d3ce-b5cf-2a13-1649-9825afc28f30@livecode.com> References: <5784AD92.3050103@gmail.com> <2662d3ce-b5cf-2a13-1649-9825afc28f30@livecode.com> Message-ID: <57851D08.2060802@gmail.com> On 12.07.2016 12:46, Peter TB Brett wrote: > On 12/07/2016 09:42, Richmond wrote: >> The multiarch stuff does not seem to allow that with >> (x,l,z,q,w,j,h)ubuntu 16.04. >> >> Would be grateful for help here. >> >> Trying to access the Livecode 8 dictionary again, again, again. > > Hi Richmond, > > Here are the steps I followed to get the LiveCode 8 dictionary working > on Ubuntu 16.04. > > 1. Install Ubuntu 16.04 with default settings. > 2. Install LiveCode for All Users with default settings > 3. Start LiveCode > 4. Click "Dictionary" > > I just did this again, right now, just to make sure. > > What are the differences between your system and a default Ubuntu > installation? I wish I knew, beyond the fact it is is Xubuntu. R. > > Peter > From richmondmathewson at gmail.com Tue Jul 12 12:39:26 2016 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 12 Jul 2016 19:39:26 +0300 Subject: Getting 32-bit Livecode running on 64-bit Linux In-Reply-To: <57851953.7020104@fourthworld.com> References: <5784AD92.3050103@gmail.com> <57851953.7020104@fourthworld.com> Message-ID: <57851D3E.9020306@gmail.com> On 12.07.2016 19:22, Richard Gaskin wrote: > Richmond wrote: > > The multiarch stuff does not seem to allow that with > > (x,l,z,q,w,j,h)ubuntu 16.04. > > Multiarch is a mess. In addition to LC, Google Earth and others > suffer horribly under it. > > If your system is 64-bit why not use the 64-bit build of LC? > Because the dictionary does not work. Richmond. From hh at hh.on-rev.com Tue Jul 12 12:00:04 2016 From: hh at hh.on-rev.com (-hh) Date: Tue, 12 Jul 2016 09:00:04 -0700 (PDT) Subject: Windows Equivalents for Shell: cp (copy) In-Reply-To: References: <9E51CFB1-5128-4675-A44A-D687E996E9F6@hindu.org> <53af90bb-d6d0-913e-cb9a-c7eef0b9888a@hyperactivesw.com> <1468307894735-4706598.post@n4.nabble.com> <155dfb5f988.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <1468339204036-4706622.post@n4.nabble.com> Jacqueline LG wrote: > The problem with "save as" is that you end up working in the backup > copy instead of the original. Roger E. wrote > How about modifying the save option to automatically copy and rename > as a versioned file. Yes, one can simply decide which one to use as backup. I use it (similar in other apps) as follows. Start with a stack fileName1. Then save save as fileName2 After these two lines fileName1 is the "backUp" and fileName2 is the current exemplar for working. And so on. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Windows-Equivalents-for-Shell-cp-copy-tp4706590p4706622.html Sent from the Revolution - User mailing list archive at Nabble.com. From arul.selvan at gmail.com Tue Jul 12 12:46:32 2016 From: arul.selvan at gmail.com (arul selvan) Date: Tue, 12 Jul 2016 22:16:32 +0530 Subject: lc mentioned in ars technica in a swift article Message-ID: http://arstechnica.com/apple/2016/07/apple-swift-playgrounds-not-hypercard/ arul From peter.brett at livecode.com Tue Jul 12 12:49:56 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Tue, 12 Jul 2016 17:49:56 +0100 Subject: Windows Equivalents for Shell: cp (copy) In-Reply-To: References: <9E51CFB1-5128-4675-A44A-D687E996E9F6@hindu.org> <53af90bb-d6d0-913e-cb9a-c7eef0b9888a@hyperactivesw.com> <1468307894735-4706598.post@n4.nabble.com> <155dfb5f988.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <271712f9-b301-3349-cb20-a930a2e862c7@livecode.com> On 12/07/2016 16:35, Roger Eller wrote: > How about modifying the save option to automatically copy and rename as a > versioned file. A "save copy as" command? Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From ambassador at fourthworld.com Tue Jul 12 12:53:09 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Jul 2016 09:53:09 -0700 Subject: Getting 32-bit Livecode running on 64-bit Linux In-Reply-To: <57851D3E.9020306@gmail.com> References: <57851D3E.9020306@gmail.com> Message-ID: <57852075.7000206@fourthworld.com> Richmond wrote: > On 12.07.2016 19:22, Richard Gaskin wrote: >> Richmond wrote: >> > The multiarch stuff does not seem to allow that with >> > (x,l,z,q,w,j,h)ubuntu 16.04. >> >> Multiarch is a mess. In addition to LC, Google Earth and others >> suffer horribly under it. >> >> If your system is 64-bit why not use the 64-bit build of LC? >> > > Because the dictionary does not work. Seems better to fix 64-bit than to try to fix an odd and soon-to-be-obsolete mish-mash of CPU architectures. Is there a bug report for this? I don't have Xubuntu set up here, but I do run Ubuntu and Lubuntu so maybe I can help pin down what's happening with that 64-bit version. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dochawk at gmail.com Tue Jul 12 12:58:20 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 12 Jul 2016 09:58:20 -0700 Subject: Windows Equivalents for Shell: cp (copy) In-Reply-To: <1468307894735-4706598.post@n4.nabble.com> References: <9E51CFB1-5128-4675-A44A-D687E996E9F6@hindu.org> <53af90bb-d6d0-913e-cb9a-c7eef0b9888a@hyperactivesw.com> <1468307894735-4706598.post@n4.nabble.com> Message-ID: On Tue, Jul 12, 2016 at 12:18 AM, [-hh] wrote: > save stack as When I use this one, though, execution stops. I've been meaning to ask about this . . . I use it in a bmpVrsn routine to increment the file name of my various stacks (it also checks for and changes the date, making new directories as needed). Once it saves, though, it issues a dialog asking about the old/new stack names ("before saving, what do you want to do with . . . save/cancel/purge") What I *want* to happen is or the old stack to end up out of memory, and the new stack (which has the same name) to take its place. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Tue Jul 12 13:12:11 2016 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 12 Jul 2016 20:12:11 +0300 Subject: Getting 32-bit Livecode running on 64-bit Linux In-Reply-To: <57852075.7000206@fourthworld.com> References: <57851D3E.9020306@gmail.com> <57852075.7000206@fourthworld.com> Message-ID: <578524EB.5000305@gmail.com> On 12.07.2016 19:53, Richard Gaskin wrote: > Richmond wrote: > > > On 12.07.2016 19:22, Richard Gaskin wrote: > >> Richmond wrote: > >> > The multiarch stuff does not seem to allow that with > >> > (x,l,z,q,w,j,h)ubuntu 16.04. > >> > >> Multiarch is a mess. In addition to LC, Google Earth and others > >> suffer horribly under it. > >> > >> If your system is 64-bit why not use the 64-bit build of LC? > >> > > > > Because the dictionary does not work. > > Seems better to fix 64-bit than to try to fix an odd and > soon-to-be-obsolete mish-mash of CPU architectures. > > Is there a bug report for this? I don't have Xubuntu set up here, but > I do run Ubuntu and Lubuntu so maybe I can help pin down what's > happening with that 64-bit version. > 16848 R. From MikeKerner at roadrunner.com Tue Jul 12 13:23:41 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 12 Jul 2016 13:23:41 -0400 Subject: lc mentioned in ars technica in a swift article In-Reply-To: References: Message-ID: This reminds me: Whatever happened to the LC-on-ios project? I can write complex scripts in an app on ios and execute them, and I can load stacks remotely and execute them... On Tue, Jul 12, 2016 at 12:46 PM, arul selvan wrote: > http://arstechnica.com/apple/2016/07/apple-swift-playgrounds-not-hypercard/ > > arul > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Tue Jul 12 13:24:24 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 12 Jul 2016 13:24:24 -0400 Subject: lc mentioned in ars technica in a swift article In-Reply-To: References: Message-ID: and for Roger and the Android gang, is there really anything holding back LC from being worked to run full-out on Android? On Tue, Jul 12, 2016 at 1:23 PM, Mike Kerner wrote: > This reminds me: Whatever happened to the LC-on-ios project? I can write > complex scripts in an app on ios and execute them, and I can load stacks > remotely and execute them... > > On Tue, Jul 12, 2016 at 12:46 PM, arul selvan > wrote: > >> >> http://arstechnica.com/apple/2016/07/apple-swift-playgrounds-not-hypercard/ >> >> arul >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From mwieder at ahsoftware.net Tue Jul 12 13:39:06 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 12 Jul 2016 17:39:06 +0000 (UTC) Subject: =?utf-8?b?T1QsCWh0dHBz?= <> http =?utf-8?b?fA==?= WAS Application Transport Security deadline for =?utf-8?b?aU9TCWFwcHM=?= References: Message-ID: Klaus major-k writes: > I'm completely puzzled, what the hell is going on here? > Any insights highly welcome! That's the problem with shared servers. Try this in a terminal window: dig major-k.de dig legacytrees.org -- Mark Wieder ahsoftware at gmail.com From klaus at major-k.de Tue Jul 12 13:46:39 2016 From: klaus at major-k.de (Klaus major-k) Date: Tue, 12 Jul 2016 19:46:39 +0200 Subject: OT, https <> http | WAS Application Transport Security deadline for iOS apps In-Reply-To: References: Message-ID: <61915D6E-067E-4DAD-A0E4-261B1307752F@major-k.de> Hi Mark, > Am 12.07.2016 um 19:39 schrieb Mark Wieder : > > Klaus major-k writes: > >> I'm completely puzzled, what the hell is going on here? >> Any insights highly welcome! > > That's the problem with shared servers. > Try this in a terminal window: > > dig major-k.de > dig legacytrees.org ouch, SAME server and IP? Sounds like asking for trouble, isn't it!? > -- > Mark Wieder > ahsoftware at gmail.com Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From mwieder at ahsoftware.net Tue Jul 12 13:58:57 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 12 Jul 2016 17:58:57 +0000 (UTC) Subject: Unicode character recognition by drawing Message-ID: Possibly of interest: http://shapecatcher.com/ -- Mark Wieder ahsoftware at gmail.com From roger.e.eller at sealedair.com Tue Jul 12 14:03:25 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 12 Jul 2016 14:03:25 -0400 Subject: lc mentioned in ars technica in a swift article In-Reply-To: References: Message-ID: Especially with hardware like the Google Pixel C trying to let Android play laptop. Convergence is still happening. One of the first apps I built for Android was a script editor with a "Execute script" button using the do command. That allowed me to write and test limited code that I could later use in the IDE. ~Roger On Tue, Jul 12, 2016 at 1:24 PM, Mike Kerner wrote: > and for Roger and the Android gang, is there really anything holding back > LC from being worked to run full-out on Android? > > On Tue, Jul 12, 2016 at 1:23 PM, Mike Kerner > wrote: > > > This reminds me: Whatever happened to the LC-on-ios project? I can > write > > complex scripts in an app on ios and execute them, and I can load stacks > > remotely and execute them... > > > > On Tue, Jul 12, 2016 at 12:46 PM, arul selvan > > wrote: > > > >> > >> > http://arstechnica.com/apple/2016/07/apple-swift-playgrounds-not-hypercard/ > >> > >> arul > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Tue Jul 12 14:51:43 2016 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 12 Jul 2016 21:51:43 +0300 Subject: Unicode character recognition by drawing In-Reply-To: References: Message-ID: <57853C3F.1030806@gmail.com> That's a clever piece of work. I threw: ? , ?, ? and ? at it, and the only one it got wrong was the last [Devanagari 'ccha']; pretty good (well, better than Meatloaf in "Two out of three ain't bad."); unfortunately as my non-Latin writing systems are limited to about 6 (Old Cyrillic, Glagolitic, Hebrew, Devanagari, Grantha, Greek) I cannot remark how the thing might do with, say, either Chinese characters or Japanese Kanji, but I doubt it would do as well. Let's hope somebody who knows those systems "has a go" and reverts here. But, clever or not, one wonders what ultimate value that has embedded in a webpage. Of course, if one could "winkle the thing out" and fold it into a Livecode stack I'd be the first one to be having "spontaneous cough, cough, coughs" as I'm fairly bonkers about kinky writing systems. Thanks, Mark; that cheered me up after a rather "non" day! Richmond. On 12.07.2016 20:58, Mark Wieder wrote: > Possibly of interest: > > http://shapecatcher.com/ > From ambassador at fourthworld.com Tue Jul 12 14:56:53 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Jul 2016 11:56:53 -0700 Subject: lc mentioned in ars technica in a swift article In-Reply-To: References: Message-ID: <57853D75.9010605@fourthworld.com> Mike Kerner wrote: > This reminds me: Whatever happened to the LC-on-ios project? > I can write complex scripts in an app on ios and execute them, > and I can load stacks remotely and execute them... What is the LC-on-ios project? Who made it? Sounds like it might be a fun community project. Very challenging, with the single-window limitation, but perhaps a rudimentary IDE could be made as a group that could be dynamically copied into a stack as needed. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Tue Jul 12 15:01:18 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 12 Jul 2016 19:01:18 +0000 (UTC) Subject: Unicode character recognition by drawing References: <57853C3F.1030806@gmail.com> Message-ID: Richmond writes: > Thanks, Mark; that cheered me up after a rather "non" day! Cool. You were the one I thought would be the most interested in this. At the very least it's a fun toy to play with. The web page does say "Japanese, Korean and Chinese characters are currently not supported." so I guess it's (still|always) a work in progress. -- Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Tue Jul 12 15:04:28 2016 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 12 Jul 2016 22:04:28 +0300 Subject: Unicode character recognition by drawing In-Reply-To: References: <57853C3F.1030806@gmail.com> Message-ID: <57853F3C.9080504@gmail.com> Thinking, as one does, Livecodewards I wonder why this doesn't seem to work (7.1.4): put numToCodePoint(917504) That should not cause any problems . . . but. Richmond. On 12.07.2016 22:01, Mark Wieder wrote: > Richmond writes: > >> Thanks, Mark; that cheered me up after a rather "non" day! > Cool. You were the one I thought would be the most interested in this. > At the very least it's a fun toy to play with. > > The web page does say > "Japanese, Korean and Chinese characters are currently not supported." > > so I guess it's (still|always) a work in progress. > From MikeKerner at roadrunner.com Tue Jul 12 15:09:46 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 12 Jul 2016 15:09:46 -0400 Subject: lc mentioned in ars technica in a swift article In-Reply-To: <57853D75.9010605@fourthworld.com> References: <57853D75.9010605@fourthworld.com> Message-ID: http://livecode.com/homebrew-livecode-mobile-ide/#comment-68265 From ambassador at fourthworld.com Tue Jul 12 15:38:43 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Jul 2016 12:38:43 -0700 Subject: [OT]"Every version of Windows hit by critical security flaw" Message-ID: <57854743.2060801@fourthworld.com> Update ASAP. http://www.zdnet.com/article/every-version-of-windows-hit-by-critical-security-flaw/ -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dsc at swcp.com Tue Jul 12 15:43:43 2016 From: dsc at swcp.com (Dar Scott) Date: Tue, 12 Jul 2016 13:43:43 -0600 Subject: Unicode character recognition by drawing In-Reply-To: <57853F3C.9080504@gmail.com> References: <57853C3F.1030806@gmail.com> <57853F3C.9080504@gmail.com> Message-ID: put length ( numToCodepoint( 0xE0000 ) ) gives me 1 in 8.0. (BTW, I don't think 0xE0000 is assigned.) > On Jul 12, 2016, at 1:04 PM, Richmond wrote: > > Thinking, as one does, Livecodewards I wonder why this doesn't seem to work (7.1.4): > > put numToCodePoint(917504) > > That should not cause any problems . . . but. > > Richmond. > > On 12.07.2016 22:01, Mark Wieder wrote: >> Richmond writes: >> >>> Thanks, Mark; that cheered me up after a rather "non" day! >> Cool. You were the one I thought would be the most interested in this. >> At the very least it's a fun toy to play with. >> >> The web page does say >> "Japanese, Korean and Chinese characters are currently not supported." >> >> so I guess it's (still|always) a work in progress. >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Jul 12 15:45:15 2016 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 12 Jul 2016 22:45:15 +0300 Subject: Unicode character recognition by drawing In-Reply-To: References: <57853C3F.1030806@gmail.com> <57853F3C.9080504@gmail.com> Message-ID: <578548CB.1090006@gmail.com> On 12.07.2016 22:43, Dar Scott wrote: > put length ( numToCodepoint( 0xE0000 ) ) > > gives me > > 1 > > in 8.0. > > (BTW, I don't think 0xE0000 is assigned.) It isn't and I was having a "mental moment" . . . Richmond. > >> On Jul 12, 2016, at 1:04 PM, Richmond wrote: >> >> Thinking, as one does, Livecodewards I wonder why this doesn't seem to work (7.1.4): >> >> put numToCodePoint(917504) >> >> That should not cause any problems . . . but. >> >> Richmond. >> >> On 12.07.2016 22:01, Mark Wieder wrote: >>> Richmond writes: >>> >>>> Thanks, Mark; that cheered me up after a rather "non" day! >>> Cool. You were the one I thought would be the most interested in this. >>> At the very least it's a fun toy to play with. >>> >>> The web page does say >>> "Japanese, Korean and Chinese characters are currently not supported." >>> >>> so I guess it's (still|always) a work in progress. >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Jul 12 15:46:54 2016 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 12 Jul 2016 22:46:54 +0300 Subject: Do guinea pigs' eyes fall out if you hang them upside down by their tails? Message-ID: <5785492E.8080308@gmail.com> Ah: Got you :) Does anyone know what is the maximum number of lines one can have in a list field? Richmond. From ambassador at fourthworld.com Tue Jul 12 15:51:44 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Jul 2016 12:51:44 -0700 Subject: Do guinea pigs' eyes fall out if you hang them upside down by their tails? In-Reply-To: <5785492E.8080308@gmail.com> References: <5785492E.8080308@gmail.com> Message-ID: <57854A50.1080807@fourthworld.com> Richmond wrote: > Ah: Got you :) I don't understand. > Does anyone know what is the maximum number of lines one can have in > a list field? There is no hard-wired limit beyond an address size of 4GB, which is impractical for many reasons. FWIW I once put the Bible into a field just to see how long it would take to calculate the line wraps. So I can say with first-hand knowledge that it will accommodate at least as many lines as can be found in that text file from the Gutenberg Project. :) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Tue Jul 12 16:04:28 2016 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 12 Jul 2016 23:04:28 +0300 Subject: Do guinea pigs' eyes fall out if you hang them upside down by their tails? In-Reply-To: <57854A50.1080807@fourthworld.com> References: <5785492E.8080308@gmail.com> <57854A50.1080807@fourthworld.com> Message-ID: <57854D4C.3080400@gmail.com> Thanks. On 12.07.2016 22:51, Richard Gaskin wrote: > Richmond wrote: > > > Ah: Got you :) > > I don't understand. 1. Caught your attention to answer a very boring question: had I written "Lines in field" you might have ignored it. > > > Does anyone know what is the maximum number of lines one can have in > > a list field? > > There is no hard-wired limit beyond an address size of 4GB, which is > impractical for many reasons. > > FWIW I once put the Bible into a field just to see how long it would > take to calculate the line wraps. So I can say with first-hand > knowledge that it will accommodate at least as many lines as can be > found in that text file from the Gutenberg Project. :) > 2. Good: I'm filling the lines of a list field with ALL the characters in the first Unicode plane. 3. Guinea pigs don't have tails. Richmond. From chipsm at themartinz.com Tue Jul 12 16:15:40 2016 From: chipsm at themartinz.com (** Clarence P Martin **) Date: Tue, 12 Jul 2016 13:15:40 -0700 Subject: [OT]"Every version of Windows hit by critical security flaw" In-Reply-To: <57854743.2060801@fourthworld.com> References: <57854743.2060801@fourthworld.com> Message-ID: <04b701d1dc7a$2973a2a0$7c5ae7e0$@themartinz.com> I appreciate the notice! Sincerely, Clarence Martin Email: chipsm at themartinz.com Cell: 626 6965561 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richard Gaskin Sent: Tuesday, July 12, 2016 12:39 PM To: How to use LiveCode Subject: [OT]"Every version of Windows hit by critical security flaw" Update ASAP. http://www.zdnet.com/article/every-version-of-windows-hit-by-critical-securi ty-flaw/ -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Tue Jul 12 16:55:16 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 12 Jul 2016 20:55:16 +0000 Subject: Windows Equivalents for Shell: cp (copy) In-Reply-To: References: <9E51CFB1-5128-4675-A44A-D687E996E9F6@hindu.org> <53af90bb-d6d0-913e-cb9a-c7eef0b9888a@hyperactivesw.com> <1468307894735-4706598.post@n4.nabble.com> Message-ID: Actually I want the opposite. I want the original file to stay in memory? back ups are tagged with time and date surprise-me-2016-07-12-15-21-00.bac # 3:21 PM surprise-me-2016-07-12-15-36-00.bac # 15 minutes later BR From: use-livecode on behalf of "Dr. Hawkins" Reply-To: How LiveCode Date: Tuesday, July 12, 2016 at 6:58 AM To: How LiveCode Subject: Re: Windows Equivalents for Shell: cp (copy) What I *want* to happen is or the old stack to end up out of memory, and the new stack (which has the same name) to take its place. From brahma at hindu.org Tue Jul 12 16:56:15 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 12 Jul 2016 20:56:15 +0000 Subject: Windows Equivalents for Shell: cp (copy) In-Reply-To: <271712f9-b301-3349-cb20-a930a2e862c7@livecode.com> References: <9E51CFB1-5128-4675-A44A-D687E996E9F6@hindu.org> <53af90bb-d6d0-913e-cb9a-c7eef0b9888a@hyperactivesw.com> <1468307894735-4706598.post@n4.nabble.com> <155dfb5f988.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <271712f9-b301-3349-cb20-a930a2e862c7@livecode.com> Message-ID: which file is in memory after we do this, the original, or the copy with a new name? A "save copy as" command? Peter From mwieder at ahsoftware.net Tue Jul 12 17:04:20 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 12 Jul 2016 21:04:20 +0000 (UTC) Subject: Do guinea pigs' eyes fall out if you hang them upside down =?utf-8?b?YnkJdGhlaXI=?= tails? References: <5785492E.8080308@gmail.com> <57854A50.1080807@fourthworld.com> <57854D4C.3080400@gmail.com> Message-ID: Richmond writes: > 3. Guinea pigs don't have tails. Aaaaaarrrrrrgggggghhhhh! Got me! Good one! -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Tue Jul 12 17:08:34 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Jul 2016 14:08:34 -0700 Subject: Windows Equivalents for Shell: cp (copy) In-Reply-To: References: Message-ID: <57855C52.10905@fourthworld.com> Sannyasin Brahmanathaswami wrote: > which file is in memory after we do this, the original, or the copy > with a new name? > > A "save copy as" command? I was hoping to see how the Dictionary describes that, but the Dictionary entry for "save" doesn't seem to mention a "copy" option at all. The syntax guide for "save" is: save stack [as filePath] [with format stackFormat | with newest format] It does include this: Use the save command to save changes to a stack or to save a copy of a stack into another file. ...but it doesn't seem to offer any guidance on the syntax for copying. Did I miss something? When was "copy" introduced? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Tue Jul 12 17:07:21 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 12 Jul 2016 21:07:21 +0000 (UTC) Subject: [OT]"Every version of Windows hit by critical security flaw" References: <57854743.2060801@fourthworld.com> Message-ID: A security flaw in Windows? Hoodathunkit? -- Mark Wieder ahsoftware at gmail.com From peter.brett at livecode.com Tue Jul 12 17:16:01 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Tue, 12 Jul 2016 22:16:01 +0100 Subject: Windows Equivalents for Shell: cp (copy) In-Reply-To: <57855C52.10905@fourthworld.com> References: <57855C52.10905@fourthworld.com> Message-ID: <98c26faa-75c1-b307-4776-69276c1b58af@livecode.com> On 12/07/2016 22:08, Richard Gaskin wrote: > Sannyasin Brahmanathaswami wrote: > >> which file is in memory after we do this, the original, or the copy >> with a new name? >> >> A "save copy as" command? > > I was hoping to see how the Dictionary describes that, but the > Dictionary entry for "save" doesn't seem to mention a "copy" option at all. > > The syntax guide for "save" is: > > save stack [as filePath] [with format stackFormat | > with newest format] > > It does include this: > > Use the save command to save changes to a stack > or to save a copy of a stack into another file. > > ...but it doesn't seem to offer any guidance on the syntax for copying. > > Did I miss something? > > When was "copy" introduced? It wasn't. I was proposing that Brahmanathaswami might like to make an enhancement request! Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From jacque at hyperactivesw.com Tue Jul 12 17:18:55 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 12 Jul 2016 16:18:55 -0500 Subject: Windows Equivalents for Shell: cp (copy) In-Reply-To: <57855C52.10905@fourthworld.com> References: <57855C52.10905@fourthworld.com> Message-ID: On 7/12/2016 4:08 PM, Richard Gaskin wrote: > Sannyasin Brahmanathaswami wrote: > >> which file is in memory after we do this, the original, or the copy >> with a new name? >> >> A "save copy as" command? > ... > > Did I miss something? > > When was "copy" introduced? > It wasn't, it's being proposed. For now, the easiest way to make a backup stack is to use Mike's suggestion to "put URL x into URL y". I should have thought of that when I made my more verbose suggestion but it was the crack of noon when I answered and I hadn't had coffee yet. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From roger.e.eller at sealedair.com Tue Jul 12 17:19:58 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 12 Jul 2016 17:19:58 -0400 Subject: [OT]"Every version of Windows hit by critical security flaw" In-Reply-To: References: <57854743.2060801@fourthworld.com> Message-ID: I never had a virus while running Windows 8.1, other than the forced update to Windows 10. ~Roger On Tue, Jul 12, 2016 at 5:07 PM, Mark Wieder wrote: > A security flaw in Windows? > Hoodathunkit? > > -- > Mark Wieder > ahsoftware at gmail.com > From joseantoniorocha at gmail.com Tue Jul 12 17:19:58 2016 From: joseantoniorocha at gmail.com (=?UTF-8?Q?Jos=C3=A9_Antonio_Rocha?=) Date: Tue, 12 Jul 2016 18:19:58 -0300 Subject: Getting 32-bit Livecode running on 64-bit Linux In-Reply-To: <57852075.7000206@fourthworld.com> References: <57851D3E.9020306@gmail.com> <57852075.7000206@fourthworld.com> Message-ID: 2016-07-12 13:53 GMT-03:00 Richard Gaskin : > > Is there a bug report for this? I don't have Xubuntu set up here, but I > do run Ubuntu and Lubuntu so maybe I can help pin down what's happening > with that 64-bit version. ?I have this problem with U?buntu 16.04 in portuguese, too. At least, with LC 32-bits the dictionary open in Chrome, not blank. -- [image: Meira]nome: "Jos? Antonio Meira da Rocha " email: joseantoniorocha at gmail.com ve?culo: [ http://meiradarocha.jor.br ] fones: [ 55-8448-3866 55-3744-2994 ] ? ------------------------------ From bonnmike at gmail.com Tue Jul 12 18:00:07 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 12 Jul 2016 16:00:07 -0600 Subject: Windows Equivalents for Shell: cp (copy) In-Reply-To: References: <57855C52.10905@fourthworld.com> Message-ID: Can't you "save stack as.." and then set the filename of the stack back to what it was? On Tue, Jul 12, 2016 at 3:18 PM, J. Landman Gay wrote: > On 7/12/2016 4:08 PM, Richard Gaskin wrote: > >> Sannyasin Brahmanathaswami wrote: >> >> which file is in memory after we do this, the original, or the copy >>> with a new name? >>> >>> A "save copy as" command? >>> >> ... >> >> Did I miss something? >> >> When was "copy" introduced? >> >> > It wasn't, it's being proposed. > > For now, the easiest way to make a backup stack is to use Mike's > suggestion to "put URL x into URL y". I should have thought of that when I > made my more verbose suggestion but it was the crack of noon when I > answered and I hadn't had coffee yet. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From devin_asay at byu.edu Tue Jul 12 18:02:06 2016 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 12 Jul 2016 22:02:06 +0000 Subject: the defaultFolder in standalones: Changed in 8 Message-ID: <5FADC268-92F6-4C89-8EFF-6087F15A93F1@byu.edu> I just noticed this change today as I was moving a project to LC 8. On Mac OS X, in v. 7 and earlier when you saved a stack as a standalone, the defaultFolder would be set to the folder containing the .app bundle; e.g., /Users/me/myproject. In v. 8 when you save a stack as a standalone the defaultFolder is set to the app bundle itself; e.g., /Users/me/myproject/mystack.app. I have often used the pre-8 behavior to allow my standalone to easily access files in the enclosing folder. V. 8 breaks that functionality. So is this a bug or a feature? I usually read the release notes pretty closely, but don?t remember reading about this change? It can potentially break lots of projects like it did mine. (Although I can pretty easily come up with a workaround.) The main question is, was this an intentional change or a regression bug? Devin Devin Asay Office of Digital Humanities Brigham Young University From ali.lloyd at livecode.com Tue Jul 12 18:20:30 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Tue, 12 Jul 2016 22:20:30 +0000 Subject: the defaultFolder in standalones: Changed in 8 In-Reply-To: <5FADC268-92F6-4C89-8EFF-6087F15A93F1@byu.edu> References: <5FADC268-92F6-4C89-8EFF-6087F15A93F1@byu.edu> Message-ID: Speaking as the person who most likely caused the change, I'm pretty sure that wasn't intentional. Definitely worth filing a bug report. On Tue, Jul 12, 2016 at 11:02 PM Devin Asay wrote: > I just noticed this change today as I was moving a project to LC 8. > > On Mac OS X, in v. 7 and earlier when you saved a stack as a standalone, > the defaultFolder would be set to the folder containing the .app bundle; > e.g., /Users/me/myproject. > > In v. 8 when you save a stack as a standalone the defaultFolder is set to > the app bundle itself; e.g., /Users/me/myproject/mystack.app. > > I have often used the pre-8 behavior to allow my standalone to easily > access files in the enclosing folder. V. 8 breaks that functionality. > > So is this a bug or a feature? I usually read the release notes pretty > closely, but don?t remember reading about this change? It can potentially > break lots of projects like it did mine. (Although I can pretty easily come > up with a workaround.) > > The main question is, was this an intentional change or a regression bug? > > Devin > > > Devin Asay > Office of Digital Humanities > Brigham Young University > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Tue Jul 12 18:32:38 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 12 Jul 2016 15:32:38 -0700 Subject: Do guinea pigs' eyes fall out if you hang them upside down by their tails? In-Reply-To: <57854D4C.3080400@gmail.com> References: <5785492E.8080308@gmail.com> <57854A50.1080807@fourthworld.com> <57854D4C.3080400@gmail.com> Message-ID: On Tue, Jul 12, 2016 at 1:04 PM, Richmond wrote: > 3. Guinea pigs don't have tails. For the record, they start with one, but it's quite weak. Once Richard lifted it by the tail, it simply broke off, and brother Lamark never let another one have a tail . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From devin_asay at byu.edu Tue Jul 12 18:35:41 2016 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 12 Jul 2016 22:35:41 +0000 Subject: the defaultFolder in standalones: Changed in 8 In-Reply-To: References: <5FADC268-92F6-4C89-8EFF-6087F15A93F1@byu.edu> Message-ID: Done. http://quality.livecode.com/show_bug.cgi?id=18008 > On Jul 12, 2016, at 4:20 PM, Ali Lloyd wrote: > > Speaking as the person who most likely caused the change, I'm pretty sure > that wasn't intentional. Definitely worth filing a bug report. > > On Tue, Jul 12, 2016 at 11:02 PM Devin Asay wrote: > >> I just noticed this change today as I was moving a project to LC 8. >> >> On Mac OS X, in v. 7 and earlier when you saved a stack as a standalone, >> the defaultFolder would be set to the folder containing the .app bundle; >> e.g., /Users/me/myproject. >> >> In v. 8 when you save a stack as a standalone the defaultFolder is set to >> the app bundle itself; e.g., /Users/me/myproject/mystack.app. >> >> I have often used the pre-8 behavior to allow my standalone to easily >> access files in the enclosing folder. V. 8 breaks that functionality. >> >> So is this a bug or a feature? I usually read the release notes pretty >> closely, but don?t remember reading about this change? It can potentially >> break lots of projects like it did mine. (Although I can pretty easily come >> up with a workaround.) >> >> The main question is, was this an intentional change or a regression bug? >> >> Devin >> >> >> Devin Asay >> Office of Digital Humanities >> Brigham Young University >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Office of Digital Humanities Brigham Young University From hh at hh.on-rev.com Tue Jul 12 17:57:21 2016 From: hh at hh.on-rev.com (-hh) Date: Tue, 12 Jul 2016 14:57:21 -0700 (PDT) Subject: Windows Equivalents for Shell: cp (copy) In-Reply-To: References: <53af90bb-d6d0-913e-cb9a-c7eef0b9888a@hyperactivesw.com> <1468307894735-4706598.post@n4.nabble.com> <155dfb5f988.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <271712f9-b301-3349-cb20-a930a2e862c7@livecode.com> <57855C52.10905@fourthworld.com> Message-ID: <1468360641237-4706660.post@n4.nabble.com> The interesting question about that is now: What is in memory after [1] save? [2] save as? [3] save copy as (not yet implemented)? If I'm correct then it is ALWAYS the same, NOTHING is changed in memory. Only with [2] the file on disk is changed to which the object in memory links (and which is used for the next save or revert command). So we can use save and one or both of [2] or [3]. This yields of course different backup methods, but your work goes on in any case with an unchanged object in memory. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Windows-Equivalents-for-Shell-cp-copy-tp4706590p4706660.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Tue Jul 12 19:21:54 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 12 Jul 2016 23:21:54 +0000 (UTC) Subject: on-rev SSL certificates References: <61915D6E-067E-4DAD-A0E4-261B1307752F@major-k.de> Message-ID: Klaus major-k writes: > ouch, SAME server and IP? > Sounds like asking for trouble, isn't it!? Godaddy has a well-deserved reputation as a bottom-feeder. It looks like they issued an ssl certificate for ns1.on-rev.com. On-rev, for their part, charge a ridiculous $99/yr for an ssl certificate, which is why people get these from godaddy in the first place. -- Mark Wieder ahsoftware at gmail.com From roger.e.eller at sealedair.com Tue Jul 12 20:23:22 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 12 Jul 2016 20:23:22 -0400 Subject: Windows Equivalents for Shell: cp (copy) In-Reply-To: <9E51CFB1-5128-4675-A44A-D687E996E9F6@hindu.org> References: <9E51CFB1-5128-4675-A44A-D687E996E9F6@hindu.org> Message-ID: I thought the rename command allows for a different destination. Therefore, rename is actually "copy as new name" when the volumes or drive letters differ. ~Roger On Jul 11, 2016 11:19 PM, "Sannyasin Brahmanathaswami" wrote: > What alternatives do we have for basic shell commands on Windows? > > Rumors are out that later this year, Windows will support bash.. and > perhaps then Livecode's shell calls to unix/bash commands will be cross > platform-- like the one (cp) in this script below. But until then, can > anyone provide an alternative that works on Windows? > > RevCopyFile (which works on Windows) doesn't offer the option to copy to a > different filename? > > I suppose I can copy the file and then rename the copy at the new > destination, using "rename" which is simple enough. > > But I was wondering if there are any native windows alternatives to unix > "cp" that writes the same file to another file with a different name in > "one go." > > > on backupStack > > save the topstack > > # get a time stamp > > put the internet date into tDateTime > > convert tDateTime to dateitems > > delete the last item of tDateTime > > if item 4 of tDateTime > 12 then > > subtract 12 from item 4 of tDateTime > > put "pm" into the last item of tDateTime > > end if > > replace comma with "-" in tDateTime > > # get the path of the stack > > # set up the copy > > put the effective filename of the topstack into tCurrentPath > > put tCurrentPath into tCopyPath > > set the itemdel to "/" > > # always back up to one level above current working folder > > delete item -4 to -2 of tCopyPath > > put "/zArchives" after item -2 of tCopyPath > > # put tCopyPath; exit to top; > > replace ".livecode" with ("_" & tDateTime & ".bac") in tCopyPath > > put ("cp " & quote & tCurrentPath & quote &" "& quote & tCopyPath & quote) > into tShell > > get shell(tShell) > > # auto fire every half hour > > send backupStack to me in 1800 seconds > > end backupStack > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revdev at pdslabs.net Wed Jul 13 01:12:06 2016 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 12 Jul 2016 22:12:06 -0700 Subject: Windows Equivalents for Shell: cp (copy) In-Reply-To: References: <9E51CFB1-5128-4675-A44A-D687E996E9F6@hindu.org> Message-ID: <173debdb-65d4-0b1f-c9f1-9606b66547b8@pdslabs.net> From the dictionary: The rename command can be used to change a file's or folder's location only if the old and new locations are both on the same volume. Phil Davis On 7/12/16 5:23 PM, Roger Eller wrote: > I thought the rename command allows for a different destination. > Therefore, rename is actually "copy as new name" when the volumes or drive > letters differ. > > ~Roger > On Jul 11, 2016 11:19 PM, "Sannyasin Brahmanathaswami" > wrote: > >> What alternatives do we have for basic shell commands on Windows? >> >> Rumors are out that later this year, Windows will support bash.. and >> perhaps then Livecode's shell calls to unix/bash commands will be cross >> platform-- like the one (cp) in this script below. But until then, can >> anyone provide an alternative that works on Windows? >> >> RevCopyFile (which works on Windows) doesn't offer the option to copy to a >> different filename? >> >> I suppose I can copy the file and then rename the copy at the new >> destination, using "rename" which is simple enough. >> >> But I was wondering if there are any native windows alternatives to unix >> "cp" that writes the same file to another file with a different name in >> "one go." >> >> >> on backupStack >> >> save the topstack >> >> # get a time stamp >> >> put the internet date into tDateTime >> >> convert tDateTime to dateitems >> >> delete the last item of tDateTime >> >> if item 4 of tDateTime > 12 then >> >> subtract 12 from item 4 of tDateTime >> >> put "pm" into the last item of tDateTime >> >> end if >> >> replace comma with "-" in tDateTime >> >> # get the path of the stack >> >> # set up the copy >> >> put the effective filename of the topstack into tCurrentPath >> >> put tCurrentPath into tCopyPath >> >> set the itemdel to "/" >> >> # always back up to one level above current working folder >> >> delete item -4 to -2 of tCopyPath >> >> put "/zArchives" after item -2 of tCopyPath >> >> # put tCopyPath; exit to top; >> >> replace ".livecode" with ("_" & tDateTime & ".bac") in tCopyPath >> >> put ("cp " & quote & tCurrentPath & quote &" "& quote & tCopyPath & quote) >> into tShell >> >> get shell(tShell) >> >> # auto fire every half hour >> >> send backupStack to me in 1800 seconds >> >> end backupStack >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Davis From alex at harryscollar.com Wed Jul 13 02:47:51 2016 From: alex at harryscollar.com (Alex Shaw) Date: Wed, 13 Jul 2016 16:47:51 +1000 Subject: On-rev support problem Message-ID: Hi Anyone know what has happened to on-rev support? I have sent emails to on-rev at runrev.com and received a ticket but after nearly a month no answer. A few of our emails are bouncing back with the following.. 450-4.7.1 Client host rejected: cannot find your reverse hostname, [67.225.175.158] and.. 550 No RDNS entry for 67.225.175.158 This is really starting to cause a problem for us. regards alex From matthias_livecode_150811 at m-r-d.de Wed Jul 13 05:14:28 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 13 Jul 2016 11:14:28 +0200 Subject: On-rev support problem In-Reply-To: References: Message-ID: <310CC0E9-9B0D-41D0-A5C5-29D7343435A5@m-r-d.de> Hi Alex, in your case i would use the online form at http://on-rev.com/support/contact-us/ and send an emergency support request (select that in the dropdown for the subject). They should be able to add a reverse dns entry for you w/o problems. What i found out, but this might not cause your problem, is the following: A dns lookup for your domain wag.com.au shows the following information ;; QUESTION SECTION: ;wag.com.au. IN ANY ;; ANSWER SECTION: wag.com.au. 95 IN TXT "v=spf1 +a +mx +ip4:50.28.38.70 ~all" wag.com.au. 21395 IN SOA ns1.on-rev.com. kevin.livecode.com. 2016032201 3600 7200 1209600 86400 wag.com.au. 21395 IN NS ns1.on-rev.com. wag.com.au. 21395 IN NS ns3.on-rev.com. wag.com.au. 21395 IN NS ns2.on-rev.com. wag.com.au. 14195 IN A 67.225.175.158 First of all there is no mx entry in the dns for that domain. The mx entry is needed, because that entry defines the mail exchanger server(s) - the server(s) which are responsible for the mail exchange for a domain. You should correct that in your cPanel under Mail -> Mx Entry. The spf record, which defines the server(s) which are allowed to send emails for a domain, seems to be correct, although it includes the mx entries. But as i stated already, the mx entries do not exist in your dns settings. Regards, Matthias Matthias Rebbe Bramkampsieke 13 32312 L?bbecke Tel +49 5741 310000 +49 160 5504462 Fax: +49 5741 310002 eMail: matthias at m-r-d.de BR5 Konverter - BR5 -> MP3 > Am 13.07.2016 um 08:47 schrieb Alex Shaw : > > Hi > > Anyone know what has happened to on-rev support? > > I have sent emails to on-rev at runrev.com and received a ticket but after nearly a month no answer. > > A few of our emails are bouncing back with the following.. > > 450-4.7.1 Client host rejected: cannot find your reverse hostname, [67.225.175.158] > > and.. > > 550 No RDNS entry for 67.225.175.158 > > This is really starting to cause a problem for us. > > regards > alex > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at elementarysoftware.com Wed Jul 13 06:11:44 2016 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Wed, 13 Jul 2016 03:11:44 -0700 Subject: setting the hilited item of a navBar widget Message-ID: I?m trying to hook all my navBars widgets to a single behavior script (rather than putting them in a group set to behave like a background.) When setting the hilitedItem of a navBar widget inside a ?hiliteChanged? handler it triggers another ?hiliteChanged? message. This makes sense but I would like to keep it from happening. This message isn?t in the pendingMessages and Lock Messages doesn?t seem to work for this. on hiliteChanged set the hilitedItem of widget ?fooBar? to tHilitedItemNum ? triggers another ?hiliteChanged? message end hiliteChanged I can work around this but was wondering if I was just missing something obvious or using the widget incorrectly (Sort of like when I wasn?t holding my iPhone the right way.) Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com office 1-800-615-0867 ------------------------------------------------------ From MikeKerner at roadrunner.com Wed Jul 13 08:51:17 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 13 Jul 2016 08:51:17 -0400 Subject: setting the hilited item of a navBar widget In-Reply-To: References: Message-ID: Without getting into the "why", did you try setting lockMessages to true, first? From jbv at souslelogo.com Wed Jul 13 09:02:38 2016 From: jbv at souslelogo.com (jbv) Date: Wed, 13 Jul 2016 15:02:38 +0200 Subject: LC & robotics anyone ? In-Reply-To: <310CC0E9-9B0D-41D0-A5C5-29D7343435A5@m-r-d.de> References: <310CC0E9-9B0D-41D0-A5C5-29D7343435A5@m-r-d.de> Message-ID: Hi list Has anyone made experiments with LC as front end for programming / driving any robotic system ? What I have in mind is something like the logo turtle from the early 80s, but with some of those cheap robotic kits... This is for my nephew, to introduce him to coding via an immediate and pleasant application. Thanks in advance jbv From roger.e.eller at sealedair.com Wed Jul 13 09:48:34 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 13 Jul 2016 09:48:34 -0400 Subject: LC & robotics anyone ? In-Reply-To: References: <310CC0E9-9B0D-41D0-A5C5-29D7343435A5@m-r-d.de> Message-ID: This robot is old, and they don't make it anymore, but I have it, and have successfully driven it with LiveCode (when it was Revolution). http://www.geek.com/hwswrev/hardware/er1/ The ER1 has a built-in UI for programming it, but it also has a telnet interface. I found an old MetaCard Telnet.mc stack that I modified to send the ER1 commands like "move forward 3 feet", "turn left 30 degrees", move backward 6 inches", "say Hello there human". It was great fun! ~Roger On Wed, Jul 13, 2016 at 9:02 AM, jbv wrote: > Hi list > Has anyone made experiments with LC as front end for programming / driving > any robotic system ? > What I have in mind is something like the logo turtle from the early 80s, > but with some of those cheap robotic kits... This is for my nephew, to > introduce him to coding via an immediate and pleasant application. > > Thanks in advance > jbv > > From scott at elementarysoftware.com Wed Jul 13 09:55:10 2016 From: scott at elementarysoftware.com (Scott Morrow) Date: Wed, 13 Jul 2016 06:55:10 -0700 Subject: setting the hilited item of a navBar widget In-Reply-To: References: Message-ID: <42950D0D-804C-4B75-88CF-1AF14859AEC7@elementarysoftware.com> I did try 'lock messages' and had thought that worked? but now it doesn?t appear to. I coded around it but found the issue curious. > On Jul 13, 2016, at 5:51 AM, Mike Kerner wrote: > > Without getting into the "why", did you try setting lockMessages to true, > first? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ethan at lish.net Wed Jul 13 10:26:26 2016 From: ethan at lish.net (ethan at lish.net) Date: Wed, 13 Jul 2016 10:26:26 -0400 Subject: on-rev SSL certificates In-Reply-To: References: <61915D6E-067E-4DAD-A0E4-261B1307752F@major-k.de> Message-ID: hostm.com is a hosting service that includes livecode server. They also issue SSL certs for free or a nominal cost based on the CA selected We have used them for a few years. Its an all-you-can-eat plan. Happy to partner with anyone to host a site or help stand-up your sites, if a legit service E On 7/12/16 7:21 PM, Mark Wieder wrote: > Klaus major-k writes: > >> ouch, SAME server and IP? >> Sounds like asking for trouble, isn't it!? > Godaddy has a well-deserved reputation as a bottom-feeder. > It looks like they issued an ssl certificate for ns1.on-rev.com. > > On-rev, for their part, charge a ridiculous $99/yr for an ssl > certificate, which is why people get these from godaddy in the > first place. > From heather at livecode.com Wed Jul 13 12:09:08 2016 From: heather at livecode.com (Heather Laine) Date: Wed, 13 Jul 2016 17:09:08 +0100 Subject: [Blog] New 8.1 Files Function Message-ID: <5179D8E7-22EC-4441-A2D0-C778A08ADA9F@livecode.com> Interesting little quiz in this blog post: https://livecode.com/faff-free-files-function/ Cheers Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From andrew at midwestcoastmedia.com Wed Jul 13 13:09:02 2016 From: andrew at midwestcoastmedia.com (Andrew Bell) Date: Wed, 13 Jul 2016 13:09:02 -0400 Subject: mergSocial issues Message-ID: It seems that mergSocial is falling apart. The message field hasn't been auto-populating on the Facebook side for sometime, and now today Twitter is sending (returning "done" but also displaying a "Cannot Send Tweet because the connection to Twitter failed." error). Is anyone else seeing these problems? I know Monte's time is invested differently now, and the cross-platform mergSocial question has been beaten to death. --Andrew Bell From ambassador at fourthworld.com Wed Jul 13 15:23:26 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 13 Jul 2016 12:23:26 -0700 Subject: LC & robotics anyone ? In-Reply-To: References: Message-ID: <5786952E.9070907@fourthworld.com> jbv wrote: > Hi list > Has anyone made experiments with LC as front end for programming / > driving any robotic system ? The most popular platform for robotics today is Raspberry Pi. Small, lightweight, low-power, and cheap, they provide plenty of room for all the smarts you can program on top of the wonderfully rich and stable Debian base. The good news is we have a version of LiveCode available which works very well on the Pi when run from the command line, which for robotics and other forms of IoT is all you need. We have GPIO support via the handlers in Master Library (thank you Michael Doub), and I can confirm that sockets work very well in LC on Linux/ARM. The bad news is that until we can find members of the community with the intersection of time, skills, and interest to run a make file and fix at least one crasher (#17985), the GUI version of LiveCode for Raspberry Pi is effectively DOA. The Pi build was a personal gift from Fraser to the community, in hopes of helping the community hit the ground running with a build in which most of the work needed to compile for Linux/ARM had already been done. Unfortunately, my efforts to try to find folks who might be in a position to help build on Fraser's work have come up empty. So at the moment, if you have an interest in anything that requires a GUI on Raspberry Pi, learning Python with Qt is one of the better options available today. Hopefully we'll be able to find a community team for moving LiveCode forward on Pi soon. -- Richard Gaskin LiveCode Community Manager richard at livecode.org From MikeKerner at roadrunner.com Wed Jul 13 15:33:43 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 13 Jul 2016 15:33:43 -0400 Subject: 8.1 library inclusion Message-ID: Has anyone else noticed the auto detection of library inclusions taking forever? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From ambassador at fourthworld.com Wed Jul 13 15:47:58 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 13 Jul 2016 12:47:58 -0700 Subject: 8.1 library inclusion In-Reply-To: References: Message-ID: <57869AEE.3060600@fourthworld.com> Mike Kerner wrote: > Has anyone else noticed the auto detection of library inclusions > taking forever? I've never seen a version where it didn't take prohibitively long, so beyond an early test I've never used it. I did notice that in v8.1.x the inclusions list becomes different from whatever it may have been set to. In my case it included the Geometry Manager in an Android app I'm testing, though I'd previously set it to not include it as I never use it in any of my apps. Given the scope of work completed for the new inclusions pane of the Standalone Builder such changes are to be expected, and take only a couple seconds to reset as desired. But auto-detection is an area I have less familiarity with. Have you had a chance to explore those scripts to see where the slowdown is happening? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dsc at swcp.com Wed Jul 13 16:12:59 2016 From: dsc at swcp.com (Dar Scott) Date: Wed, 13 Jul 2016 14:12:59 -0600 Subject: LC & robotics anyone ? In-Reply-To: References: <310CC0E9-9B0D-41D0-A5C5-29D7343435A5@m-r-d.de> Message-ID: As Roger and Richard have mentioned, there are two directions to go. 1. You can provide communications handlers that talk to a robot to give it commands. These might use serial or sockets for communicating to the robot. There are lots of Arduino-based robots. USB "serial" comm is an essential part of Arduino. You can start out with a tethered turtle with a script that groks turtle-like commands. You can handlers handlers that send these with the LiveCode serial capability. Your nephew can write code that calls those. You can also get WiFi Arduino boards and WiFi shields. You can use LiveCode sockets to communicate with those. It is actually easier to use sockets than to use serial once you figure out the IP address. Or you can get a robot with WiFi and not worry about whether it is Arduino. Or consider BlueTooth (serial). (You don't have to go Arduino, there are lots of other ways to go.) Look at AdaFruit, SparkFun, Pololu, and Servo City. A friend of mine has mentioned Seeed a few times. I have also gotten stuff from the Robot Shop. 2. You can build the robot with a small board or box that can run LiveCode. However, then you have to figure out how to do the I/O which might bring you back to #1 above. Dar darzLab Dar Scott Consulting > On Jul 13, 2016, at 7:02 AM, jbv wrote: > > Hi list > Has anyone made experiments with LC as front end for programming / driving > any robotic system ? > What I have in mind is something like the logo turtle from the early 80s, > but with some of those cheap robotic kits... This is for my nephew, to > introduce him to coding via an immediate and pleasant application. > > Thanks in advance > jbv > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Wed Jul 13 16:59:20 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 13 Jul 2016 22:59:20 +0200 Subject: livecode server 8 under Xampp on Mac OS X Message-ID: <29D6BCFB-AE8D-4931-95DE-C98AC4DDCCD8@m-r-d.de> Hi! Today i tried to install livecode community server 8 under xampp on mac os x. Currently lcserver 6.7 is installed and running w/o problems under xampp here using the .htaccess method. With lcserver 8 i get the following error when i try to open a .lc file in the browser: "End of script output before headers: livecode-community-server" I searched the web and found several postings where other had the same error message with lcserver 7 and 8 under xampp (mac and win) and downgrading to lcserver 6.7 solved it. Is there a known problem with xampp and lcserver 7 and 8? Is there something i can do to get it running? Regards, Matthias From monte at appisle.net Wed Jul 13 17:31:32 2016 From: monte at appisle.net (Monte Goulding) Date: Thu, 14 Jul 2016 07:31:32 +1000 Subject: mergSocial issues In-Reply-To: References: Message-ID: Unfortunately the Facebook issue is a Facebook policy problem and isn't something I can do anything about. This is the first I've heard of the twitter issue so if you could post a bug report at quality.livecode.com I'll see if I can work out what the issue is. Cheers Monte Sent from my iPhone > On 14 Jul 2016, at 3:09 AM, Andrew Bell wrote: > > It seems that mergSocial is falling apart. The message field hasn't been auto-populating on the Facebook side for sometime, and now today Twitter is sending (returning "done" but also displaying a "Cannot Send Tweet because the connection to Twitter failed." error). > > Is anyone else seeing these problems? > > I know Monte's time is invested differently now, and the cross-platform mergSocial question has been beaten to death. > > --Andrew Bell > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Wed Jul 13 19:20:06 2016 From: paul at researchware.com (Paul Dupuis) Date: Wed, 13 Jul 2016 19:20:06 -0400 Subject: Datagrid control/method wanted... Message-ID: <5786CCA6.2030703@researchware.com> Does anyone have a good control or method for allowing users to resize the row height of the rows of a datagrid table? Obviously, I can provide a field (or inc/dec arrows) to adjust the row height, but I was wondering is someone had come up with something more like column resizing? From irog at mac.com Thu Jul 14 00:01:02 2016 From: irog at mac.com (Roger Guay) Date: Wed, 13 Jul 2016 21:01:02 -0700 Subject: [ANN] Sharing FontLab Plugin In-Reply-To: References: <310CC0E9-9B0D-41D0-A5C5-29D7343435A5@m-r-d.de> Message-ID: With recent urgings from Klaus in responding to ?Font Picker? questions, I decided it was time to build a new Plugin to address the difficulty of text editing and font selection in LiveCode (Especially LC 8). I?m quite happy with the result and you may find some goodness in it as well. You can download FontLab here and have your way with it as you wish: https://www.dropbox.com/sh/y99i9f337l1qd2e/AACGrJOOw_tia-0qP8lWVGBja?dl=0 Use Ctrl-e and Ctrl-p to edit and to palette FontLab. You can also click on special characters to add them to your selectedObject /Field. Hope you enjoy it and thank you, Klaus. Roger From matthias_livecode_150811 at m-r-d.de Thu Jul 14 03:41:42 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 14 Jul 2016 09:41:42 +0200 Subject: rename stack with datagrid in it. How? Message-ID: <24013132-9992-41A8-BFC3-FA28589DE55A@m-r-d.de> Hi, i need to rename a stack which contains a datagrid. So just renaming does not work, because the datagrid does not work after renaming the stack. What steps are needed to adjust the datagrid to work again after renaming the stack? Does anybody know? Regards, Matthias From peter.brett at livecode.com Thu Jul 14 04:14:57 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Thu, 14 Jul 2016 09:14:57 +0100 Subject: [ANN] Sharing FontLab Plugin In-Reply-To: References: <310CC0E9-9B0D-41D0-A5C5-29D7343435A5@m-r-d.de> Message-ID: <62955452-a8e1-2aae-dfd9-857b2867bc9b@livecode.com> On 14/07/2016 05:01, Roger Guay wrote: > With recent urgings from Klaus in responding to ?Font Picker? > questions, I decided it was time to build a new Plugin to address the > difficulty of text editing and font selection in LiveCode (Especially > LC 8). I?m quite happy with the result and you may find some goodness > in it as well. You can download FontLab here and have your way with > it as you wish: > > https://www.dropbox.com/sh/y99i9f337l1qd2e/AACGrJOOw_tia-0qP8lWVGBja?dl=0 > > Use Ctrl-e and Ctrl-p to edit and to palette FontLab. You can also > click on special characters to add them to your selectedObject > /Field. > > Hope you enjoy it and thank you, Klaus. Hi Roger, Thank you very much for sharing this! What copyright license are you distributing it with? Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ From scott at tactilemedia.com Thu Jul 14 05:17:58 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 14 Jul 2016 02:17:58 -0700 Subject: Detect Return From Mobile Keyboard Without Native Field? Message-ID: On Android... I have values in some standard fields (not native) that I need to send to a handler. How can I trap the return key event on the mobile keyboard without having focus on a native field? Neither inputReturnKey or returnInField appears to get triggered. Thanks for any suggestions. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From gWolfgang at gaich.de Thu Jul 14 06:17:56 2016 From: gWolfgang at gaich.de (G.W.Gaich) Date: Thu, 14 Jul 2016 12:17:56 +0200 Subject: Getting 32-bit Livecode running on 64-bit Linux In-Reply-To: References: <57851D3E.9020306@gmail.com> <57852075.7000206@fourthworld.com> Message-ID: <578766D4.2040406@gaich.de> I have a fresh installation of Linux Mint 18 64bit on my machine at home and a fresh installation of Ubuntu 16.04 64bit as a virtual machine with virtualbox. I installed LC 8.0.2 (rc3) for all users in both and have no dictionary. If I start LC with terminal I get this: Use of deprecated SAXv1 function setDocumentLocator Then clicked on the dictionary buttom I get this: [0714/121416:ERROR:browser_main_loop.cc(203)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on. Received signal 11 SEGV_MAPERR 00000000098c #0 0x7fa50c2c54cb base::debug::(anonymous namespace)::StackDumpSignalHandler() #1 0x7fa5106d34a0 #2 0x7fa4ff369bc7 r8: 00000002000e0001 r9: 000000000172f8c8 r10: 00007fa4ff393650 r11: 0000000000000246 r12: 0000000000000001 r13: 0000000000000000 r14: 0000000000000001 r15: 0000000000000000 di: 0000000000000000 si: 000000000000029a bp: 00007fa4e4001a60 bx: 0000000000000000 dx: 00000000000023e6 ax: 0000000000000000 cx: 00007fa51079ec19 sp: 00007fa4f7ffe6a0 ip: 00007fa4ff369bc7 efl: 0000000000010246 cgf: 0000000000000033 erf: 0000000000000004 trp: 000000000000000e msk: 0000000000000000 cr2: 000000000000098c [end of stack trace] [0714/121416:ERROR:command_buffer_proxy_impl.cc(196)] Could not send GpuCommandBufferMsg_Initialize. [0714/121416:ERROR:webgraphicscontext3d_command_buffer_impl.cc(208)] CommandBufferProxy::Initialize failed. [0714/121416:ERROR:webgraphicscontext3d_command_buffer_impl.cc(227)] Failed to initialize command buffer. [0714/121416:ERROR:gpu_channel_host.cc(244)] Failed to send GpuChannelMsg_CreateOffscreenCommandBuffer. [0714/121416:ERROR:webgraphicscontext3d_command_buffer_impl.cc(227)] Failed to initialize command buffer. ^C Got SIGIOT ^C Got SIGIOT Am 12.07.2016 um 23:19 schrieb Jos? Antonio Rocha: > 2016-07-12 13:53 GMT-03:00 Richard Gaskin : > >> Is there a bug report for this? I don't have Xubuntu set up here, but I >> do run Ubuntu and Lubuntu so maybe I can help pin down what's happening >> with that 64-bit version. > > ?I have this problem with U?buntu 16.04 in portuguese, too. > At least, with LC 32-bits the dictionary open in Chrome, not blank. > > > From peter.brett at livecode.com Thu Jul 14 06:27:27 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Thu, 14 Jul 2016 11:27:27 +0100 Subject: Getting 32-bit Livecode running on 64-bit Linux In-Reply-To: <578766D4.2040406@gaich.de> References: <57851D3E.9020306@gmail.com> <57852075.7000206@fourthworld.com> <578766D4.2040406@gaich.de> Message-ID: On 14/07/2016 11:17, G.W.Gaich wrote: > I have a fresh installation of Linux Mint 18 64bit on my machine at home > and a fresh installation of Ubuntu 16.04 64bit as a virtual machine with > virtualbox. I installed LC 8.0.2 (rc3) for all users in both and have no > dictionary. > > If I start LC with terminal I get this: > > Use of deprecated SAXv1 function setDocumentLocator > > Then clicked on the dictionary buttom I get this: > > > [0714/121416:ERROR:browser_main_loop.cc(203)] Running without the SUID > sandbox! See > https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for > more information on developing with the sandbox on. > Received signal 11 SEGV_MAPERR 00000000098c > #0 0x7fa50c2c54cb base::debug::(anonymous > namespace)::StackDumpSignalHandler() > #1 0x7fa5106d34a0 > #2 0x7fa4ff369bc7 > r8: 00000002000e0001 r9: 000000000172f8c8 r10: 00007fa4ff393650 r11: > 0000000000000246 > r12: 0000000000000001 r13: 0000000000000000 r14: 0000000000000001 r15: > 0000000000000000 > di: 0000000000000000 si: 000000000000029a bp: 00007fa4e4001a60 bx: > 0000000000000000 > dx: 00000000000023e6 ax: 0000000000000000 cx: 00007fa51079ec19 sp: > 00007fa4f7ffe6a0 > ip: 00007fa4ff369bc7 efl: 0000000000010246 cgf: 0000000000000033 erf: > 0000000000000004 > trp: 000000000000000e msk: 0000000000000000 cr2: 000000000000098c > [end of stack trace] > [0714/121416:ERROR:command_buffer_proxy_impl.cc(196)] Could not send > GpuCommandBufferMsg_Initialize. > [0714/121416:ERROR:webgraphicscontext3d_command_buffer_impl.cc(208)] > CommandBufferProxy::Initialize failed. > [0714/121416:ERROR:webgraphicscontext3d_command_buffer_impl.cc(227)] > Failed to initialize command buffer. > [0714/121416:ERROR:gpu_channel_host.cc(244)] Failed to send > GpuChannelMsg_CreateOffscreenCommandBuffer. > [0714/121416:ERROR:webgraphicscontext3d_command_buffer_impl.cc(227)] > Failed to initialize command buffer. That's very interesting. I also tested with a clean install of Ubuntu 16.04 in VirtualBox and I can run from the terminal without any problems. Could you please give me some more info that might help me replicate this? 1. Are you running VirtualBox on Linux (or Windows or Mac)? Which version of VirtualBox are you using? 2. What's the filename of the Ubuntu disk image you used to install? What's its SHA-1 hash? (You can use the sha1sum command to compute the hash). 3. What settings did you use in VirtualBox for your Ubuntu VM? 3. What's the filename of the LiveCode installer you used? What's its SHA-1 hash? 4. What are the *exact* steps you used to install LiveCode? 5. What is the exact command you used to start LiveCode? I would like to get to the bottom of this -- but first I need to be able to make the problem actually happen on one of our test systems. Thank you for your help! Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ From tfabacher at gmail.com Thu Jul 14 08:26:29 2016 From: tfabacher at gmail.com (Todd Fabacher) Date: Thu, 14 Jul 2016 08:26:29 -0400 Subject: 911 - We are having problems attaching an image on mobileComposeHtmlMail Message-ID: Hello All, We are trying to attach an image in an HTML email and use mobileComposeHtmlMail to send them on mobile devices. Here is the code. It send s the email, but the images are NOT attaching. We tried base64 encoding, but that did not work. We are on a tight deadline and can't get this to work. Help is MUCH appreciated. -->HTML Code -- Put image cid put " " after tBody -->HTML Code -- Get image binary data put getGraphImage() into tChartImg -- Put image binary data into attachment put tChartImg into tAttachment[1]["data"] -- Put image type into attachment put "image/png" into tAttachment[1][["type"] -- Put image name into attachment put "myimagecid.png" into tAttachment[1][["name"] put "myimagecid" into tAttachment[1][["cid"] -- Pass tAttachment parameter to mobileComposeHtmlMail function mobileComposeHtmlMail tSubject, tSendTo, , ,tBody, tAttachment Thanks Todd & Team From irog at mac.com Thu Jul 14 08:37:00 2016 From: irog at mac.com (Roger Guay) Date: Thu, 14 Jul 2016 05:37:00 -0700 Subject: [ANN] Sharing FontLab Plugin In-Reply-To: <62955452-a8e1-2aae-dfd9-857b2867bc9b@livecode.com> References: <310CC0E9-9B0D-41D0-A5C5-29D7343435A5@m-r-d.de> <62955452-a8e1-2aae-dfd9-857b2867bc9b@livecode.com> Message-ID: Open Source. Roger > On Jul 14, 2016, at 1:14 AM, Peter TB Brett wrote: > > > > On 14/07/2016 05:01, Roger Guay wrote: >> With recent urgings from Klaus in responding to ?Font Picker? >> questions, I decided it was time to build a new Plugin to address the >> difficulty of text editing and font selection in LiveCode (Especially >> LC 8). I?m quite happy with the result and you may find some goodness >> in it as well. You can download FontLab here and have your way with >> it as you wish: >> >> https://www.dropbox.com/sh/y99i9f337l1qd2e/AACGrJOOw_tia-0qP8lWVGBja?dl=0 >> >> Use Ctrl-e and Ctrl-p to edit and to palette FontLab. You can also >> click on special characters to add them to your selectedObject >> /Field. >> >> Hope you enjoy it and thank you, Klaus. > > Hi Roger, > > Thank you very much for sharing this! What copyright license are you distributing it with? > > Peter > > -- > Dr Peter Brett > LiveCode Technical Project Manager > > LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From iowahengst at mac.com Thu Jul 14 09:07:39 2016 From: iowahengst at mac.com (Randy Hengst) Date: Thu, 14 Jul 2016 08:07:39 -0500 Subject: 911 - We are having problems attaching an image on mobileComposeHtmlMail In-Reply-To: References: Message-ID: <8BFF7968-D969-4C3E-B338-CE807A2D08CE@mac.com> I hesitate to comment, since I?ve only used mobileComposeMail?. but, based on that experience it looks like you have one too many [ in these lines. Shouldn?t there only be one before ?type?? put "image/png" into tAttachment[1][["type"] put "myimagecid.png" into tAttachment[1][["name"] put "myimagecid" into tAttachment[1][["cid"] be well, randy > On Jul 14, 2016, at 7:26 AM, Todd Fabacher wrote: > > Hello All, > > We are trying to attach an image in an HTML email and > use mobileComposeHtmlMail to send them on mobile devices. Here is the code. > It send s the email, but the images are NOT attaching. We tried base64 > encoding, but that did not work. We are on a tight deadline and can't get > this to work. > > Help is MUCH appreciated. > > -->HTML Code > > -- Put image cid > > put " " after tBody > > -->HTML Code > > -- Get image binary data > > put getGraphImage() into tChartImg > > -- Put image binary data into attachment > > put tChartImg into tAttachment[1]["data"] > > -- Put image type into attachment > > put "image/png" into tAttachment[1][["type"] > > -- Put image name into attachment > > put "myimagecid.png" into tAttachment[1][["name"] > > put "myimagecid" into tAttachment[1][["cid"] > > -- Pass tAttachment parameter to mobileComposeHtmlMail function > > mobileComposeHtmlMail tSubject, tSendTo, , ,tBody, tAttachment > > > Thanks Todd & Team > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From iphonelagi at gmail.com Thu Jul 14 09:57:24 2016 From: iphonelagi at gmail.com (Lagi Pittas) Date: Thu, 14 Jul 2016 14:57:24 +0100 Subject: No Guinea pigs harmed with this repost on streaming Bundle Message-ID: Hi I asked a question on the forums and none of the "Gods" answered it so I'll ask it gain here Hi I purchased the livecode 2016 streaming bundle for the conference and since I just ran through Todd's schedule app and I saw a LOT of very interesting talks by some of the Gods of Livecode. I was wondering are ALL the talks going to be recorded (and if not why not)? and will we have access to them either for later streaming or downloading for later perusal. If any are going to be missed because of a lack of video equipment, I think even an Iphone/Android recording will be better than nothing - just a thought . Kindest Regards Lagi From matthias_livecode_150811 at m-r-d.de Thu Jul 14 09:58:30 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 14 Jul 2016 15:58:30 +0200 Subject: rename stack with datagrid in it. How? In-Reply-To: <24013132-9992-41A8-BFC3-FA28589DE55A@m-r-d.de> References: <24013132-9992-41A8-BFC3-FA28589DE55A@m-r-d.de> Message-ID: <1907FB10-682B-4838-8DC4-3C362B161C76@m-r-d.de> Forget my question. ;) I found out that the datagrid in my stack had a default column behavior set. After renaming the main stack i just had to change the ?path? to the behavior. Sorry, i don?t know how i should explain this correctly in english. Regards, Matthias > Am 14.07.2016 um 09:41 schrieb Matthias Rebbe : > > Hi, > > i need to rename a stack which contains a datagrid. So just renaming does not work, because the datagrid does not work after renaming the stack. > > What steps are needed to adjust the datagrid to work again after renaming the stack? Does anybody know? > > Regards, > Matthias > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From peter.brett at livecode.com Thu Jul 14 10:04:49 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Thu, 14 Jul 2016 15:04:49 +0100 Subject: No Guinea pigs harmed with this repost on streaming Bundle In-Reply-To: References: Message-ID: <03f3d419-c078-a16d-4593-342615bd25bb@livecode.com> On 14/07/2016 14:57, Lagi Pittas wrote: > Hi > > I asked a question on the forums and none of the "Gods" answered it so I'll > ask it gain here > > > > Hi > I purchased the livecode 2016 streaming bundle for the conference and since > I just ran through Todd's schedule app and I saw a LOT of very interesting > talks by some of the Gods of Livecode. > > I was wondering are ALL the talks going to be recorded (and if not why > not)? and will we have access to them either for later streaming or > downloading for later perusal. > > If any are going to be missed because of a lack of video equipment, I think > even an Iphone/Android recording will be better than nothing - just a > thought . Hi Lagi, As I understand it, pretty much everything on the main track and the secondary track will both be available for streaming and available as video-on-demand indefinitely. If you have the streaming package then you'll also get access to all the slides, training materials, etc. that conference attendees will get. Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ From ambassador at fourthworld.com Thu Jul 14 10:13:31 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 14 Jul 2016 07:13:31 -0700 Subject: Detect Return From Mobile Keyboard Without Native Field? In-Reply-To: References: Message-ID: <57879E0B.1090000@fourthworld.com> Scott Rossi wrote: > On Android... I have values in some standard fields (not native) > that I need to send to a handler. How can I trap the return key > event on the mobile keyboard without having focus on a native field? > Neither inputReturnKey or returnInField appears to get triggered. Testing here, the returnInField message goes to the target field as expected. Does your LC field have focus at that time? If not try trapping returnKey in the card script (though that raises the question, how does one bring up the keyboard without an editable field having focus?). Also, just curious: given the difficulty of emulating mobile text editing conventions in LC fields, why not use a mobile-native field there? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Thu Jul 14 10:16:45 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 14 Jul 2016 07:16:45 -0700 Subject: [ANN] Sharing FontLab Plugin In-Reply-To: References: Message-ID: <57879ECD.4010009@fourthworld.com> Roger Guay wrote: >> On Jul 14, 2016, at 1:14 AM, Peter TB Brett wrote: >> >> On 14/07/2016 05:01, Roger Guay wrote: >>> With recent urgings from Klaus in responding to ?Font Picker? >>> questions, I decided it was time to build a new Plugin to address >>> the difficulty of text editing and font selection in LiveCode >>> (Especially LC 8). I?m quite happy with the result and you may find >>> some goodness in it as well. You can download FontLab here and have >>> your way with it as you wish: >>> >>> https://www.dropbox.com/sh/y99i9f337l1qd2e/AACGrJOOw_tia-0qP8lWVGBja?dl=0 >>> >>> Use Ctrl-e and Ctrl-p to edit and to palette FontLab. You can also >>> click on special characters to add them to your selectedObject >>> /Field. >>> >>> Hope you enjoy it and thank you, Klaus. >> >> Hi Roger, >> >> Thank you very much for sharing this! What copyright license are you >> distributing it with? > > Open Source. Which one? GPLv3, v2, BSD, MIT, or something else? Also, what issues have you found with font selection/text editing in v8 that are not present in earlier versions? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From roger.e.eller at sealedair.com Thu Jul 14 10:17:53 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 14 Jul 2016 10:17:53 -0400 Subject: [ANN] Sharing FontLab Plugin In-Reply-To: References: <310CC0E9-9B0D-41D0-A5C5-29D7343435A5@m-r-d.de> <62955452-a8e1-2aae-dfd9-857b2867bc9b@livecode.com> Message-ID: This is Awesome! In OS X it works as expected, but in Windows 7 the Index fields, and point size field are shorter than the content. Clicking a letter takes you "near" the letter in the font list, but is off a few letters. Thanks for sharing this. ~Roger On Thu, Jul 14, 2016 at 8:37 AM, Roger Guay wrote: > Open Source. > > Roger > > > > On Jul 14, 2016, at 1:14 AM, Peter TB Brett > wrote: > > > > > > > > On 14/07/2016 05:01, Roger Guay wrote: > >> With recent urgings from Klaus in responding to ?Font Picker? > >> questions, I decided it was time to build a new Plugin to address the > >> difficulty of text editing and font selection in LiveCode (Especially > >> LC 8). I?m quite happy with the result and you may find some goodness > >> in it as well. You can download FontLab here and have your way with > >> it as you wish: > >> > >> > https://www.dropbox.com/sh/y99i9f337l1qd2e/AACGrJOOw_tia-0qP8lWVGBja?dl=0 > >> > >> Use Ctrl-e and Ctrl-p to edit and to palette FontLab. You can also > >> click on special characters to add them to your selectedObject > >> /Field. > >> > >> Hope you enjoy it and thank you, Klaus. > > > > Hi Roger, > > > > Thank you very much for sharing this! What copyright license are you > distributing it with? > > > > Peter > > > > -- > > Dr Peter Brett > > LiveCode Technical Project Manager > > > > LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Jul 14 10:34:54 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 14 Jul 2016 07:34:54 -0700 Subject: Sharing Stacks Message-ID: <5787A30E.1010709@fourthworld.com> Among the many venues our community uses for sharing stack files are Dropbox, Github, the forum DB, and web sites. But all the while we have a stack-sharing resource built into the IDE, RevOnline. Why is that not used? If folks prefer other venues, should we lighten the team's load and ditch RevOnline? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From paul at researchware.com Thu Jul 14 11:12:41 2016 From: paul at researchware.com (Paul Dupuis) Date: Thu, 14 Jul 2016 11:12:41 -0400 Subject: Sharing Stacks In-Reply-To: <5787A30E.1010709@fourthworld.com> References: <5787A30E.1010709@fourthworld.com> Message-ID: <5787ABE9.1050907@researchware.com> On 7/14/2016 10:34 AM, Richard Gaskin wrote: > Among the many venues our community uses for sharing stack files are > Dropbox, Github, the forum DB, and web sites. > > But all the while we have a stack-sharing resource built into the IDE, > RevOnline. > > Why is that not used? I don't know why more sample stack are not submitted. I have download stacks from RevOnline and found a number of them helpful. I personally have never submitted anything to it > > If folks prefer other venues, should we lighten the team's load and > ditch RevOnline? I find having to maintain all sorts of bookmarks OR saved emails with links to stacks I see talked about on the email lists or forums tedious. These are stacks that I don't need immediately, but consider important enough that I want to find them in the future. It really would be very nice to have a SINGLE place to look for all of them in, so if anything, I'd like to see revOnline improved as needed so that it is the most convenient and effective way to share stacks. Unrelated to revOnline but related to IDE resource, I really miss the Pre-LC8 Dictionary feature to allow users to add notes to the Dictionary. I both found a great many of the notes extremely helpful and contributes a few notes myself. I was sad to see this missing in LC8+. And Yes, I realize people can figure out github and contribute to the Dictionary there, but not nearly as conveniently as prior to LC8. From iphonelagi at gmail.com Thu Jul 14 11:16:06 2016 From: iphonelagi at gmail.com (Lagi Pittas) Date: Thu, 14 Jul 2016 16:16:06 +0100 Subject: No Guinea pigs harmed with this repost on streaming Bundle In-Reply-To: <03f3d419-c078-a16d-4593-342615bd25bb@livecode.com> References: <03f3d419-c078-a16d-4593-342615bd25bb@livecode.com> Message-ID: Thanks for that Peter. It would be nice if Hack Sessions were "unofficially recorded" and also the livecloud workshops.There should be some interesting stuff in there off the beaten path Lagi On 14 July 2016 at 15:04, Peter TB Brett wrote: > On 14/07/2016 14:57, Lagi Pittas wrote: > >> Hi >> >> I asked a question on the forums and none of the "Gods" answered it so >> I'll >> ask it gain here >> >> >> >> Hi >> I purchased the livecode 2016 streaming bundle for the conference and >> since >> I just ran through Todd's schedule app and I saw a LOT of very interesting >> talks by some of the Gods of Livecode. >> >> I was wondering are ALL the talks going to be recorded (and if not why >> not)? and will we have access to them either for later streaming or >> downloading for later perusal. >> >> If any are going to be missed because of a lack of video equipment, I >> think >> even an Iphone/Android recording will be better than nothing - just a >> thought . >> > > Hi Lagi, > > As I understand it, pretty much everything on the main track and the > secondary track will both be available for streaming and available as > video-on-demand indefinitely. If you have the streaming package then > you'll also get access to all the slides, training materials, etc. that > conference attendees will get. > > Peter > > -- > Dr Peter Brett > LiveCode Technical Project Manager > > LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From hh at hh.on-rev.com Thu Jul 14 11:18:21 2016 From: hh at hh.on-rev.com (-hh) Date: Thu, 14 Jul 2016 08:18:21 -0700 (PDT) Subject: Sharing Stacks In-Reply-To: <5787A30E.1010709@fourthworld.com> References: <5787A30E.1010709@fourthworld.com> Message-ID: <1468509501991-4706699.post@n4.nabble.com> Richard G. wrote: > Among the many venues our community uses for sharing stack files are > Dropbox, Github, the forum DB, and web sites. > But all the while we have a stack-sharing resource built into the IDE, > RevOnline. Also http://livecodeshare.runrev.com/ (what a name!) (links to the same stacks as revOnline) > Why is that not used? It is used. Downloads: The "staff pick" there hase close to 9000 downloads. Uploads: There are several stacks dating from this year. I think most people didn't realize that "Sample Stacks"(=revOnline) in the IDE is working again (very fast and without any crash on LC 6/7/8). If you mean that some people prefer dropBox: They could set a link in revOnline (if they won't use revOnline directly). ** This not-using-revOnline applies also to you. ** So I can't understand that you are getting angry about a few dropBox links here. Also the forum DB is used. One problem with it is sometimes the sizeLimit of 250K. I have a lot of stacks for download in the forum, mostly in the "Raspi"-collection. This started and grew up while revOnline was "dead" (for several years). The same may apply to other "collections" all around the web. Perhaps there should be more links to livecodeshare (and a description how to have this in the IDE). Even our livecode.org page (a lot of thanks to you for that) ignores majestically the revOnline/livecodeshare collection in the "community" tab ... -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Sharing-Stacks-tp4706696p4706699.html Sent from the Revolution - User mailing list archive at Nabble.com. From dunbarx at aol.com Thu Jul 14 12:05:17 2016 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 14 Jul 2016 12:05:17 -0400 Subject: Sharing Stacks In-Reply-To: <5787ABE9.1050907@researchware.com> Message-ID: <155ea27af43-6c5d-fc4@webprd-a25.mail.aol.com> What? User notes are not supported in the (still awful?) LC8 dictionary? Well, when they reconstitute that misery, maybe that feature will be reinstated. Craig Newman -----Original Message----- From: Paul Dupuis To: use-livecode Sent: Thu, Jul 14, 2016 11:14 am Subject: Re: Sharing Stacks On 7/14/2016 10:34 AM, Richard Gaskin wrote: > Among the many venues our community uses for sharing stack files are > Dropbox, Github, the forum DB, and web sites. > > But all the while we have a stack-sharing resource built into the IDE, > RevOnline. > > Why is that not used? I don't know why more sample stack are not submitted. I have download stacks from RevOnline and found a number of them helpful. I personally have never submitted anything to it > > If folks prefer other venues, should we lighten the team's load and > ditch RevOnline? I find having to maintain all sorts of bookmarks OR saved emails with links to stacks I see talked about on the email lists or forums tedious. These are stacks that I don't need immediately, but consider important enough that I want to find them in the future. It really would be very nice to have a SINGLE place to look for all of them in, so if anything, I'd like to see revOnline improved as needed so that it is the most convenient and effective way to share stacks. Unrelated to revOnline but related to IDE resource, I really miss the Pre-LC8 Dictionary feature to allow users to add notes to the Dictionary. I both found a great many of the notes extremely helpful and contributes a few notes myself. I was sad to see this missing in LC8+. And Yes, I realize people can figure out github and contribute to the Dictionary there, but not nearly as conveniently as prior to LC8. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Thu Jul 14 12:14:25 2016 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 14 Jul 2016 12:14:25 -0400 Subject: Sharing Stacks In-Reply-To: <1468509501991-4706699.post@n4.nabble.com> Message-ID: <155ea300c4b-6c5d-1041@webprd-a25.mail.aol.com> I vote for revOnLine. Accessible, friendly, comforting as in "Don't Panic" Craig -----Original Message----- From: [-hh] To: use-revolution Sent: Thu, Jul 14, 2016 12:03 pm Subject: Re: Sharing Stacks Richard G. wrote: > Among the many venues our community uses for sharing stack files are > Dropbox, Github, the forum DB, and web sites. > But all the while we have a stack-sharing resource built into the IDE, > RevOnline. Also http://livecodeshare.runrev.com/ (what a name!) (links to the same stacks as revOnline) > Why is that not used? It is used. Downloads: The "staff pick" there hase close to 9000 downloads. Uploads: There are several stacks dating from this year. I think most people didn't realize that "Sample Stacks"(=revOnline) in the IDE is working again (very fast and without any crash on LC 6/7/8). If you mean that some people prefer dropBox: They could set a link in revOnline (if they won't use revOnline directly). ** This not-using-revOnline applies also to you. ** So I can't understand that you are getting angry about a few dropBox links here. Also the forum DB is used. One problem with it is sometimes the sizeLimit of 250K. I have a lot of stacks for download in the forum, mostly in the "Raspi"-collection. This started and grew up while revOnline was "dead" (for several years). The same may apply to other "collections" all around the web. Perhaps there should be more links to livecodeshare (and a description how to have this in the IDE). Even our livecode.org page (a lot of thanks to you for that) ignores majestically the revOnline/livecodeshare collection in the "community" tab ... -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Sharing-Stacks-tp4706696p4706699.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From tfabacher at gmail.com Thu Jul 14 12:16:37 2016 From: tfabacher at gmail.com (Todd Fabacher) Date: Thu, 14 Jul 2016 12:16:37 -0400 Subject: 911 - We are having problems attaching an image on mobileComposeHtmlMail Message-ID: Sorry, we fixed that right after I posted it, But it is still NOT working. Thanks, Todd From: Randy Hengst > Subject: Re: 911 - We are having problems attaching an image on mobileComposeHtmlMail Newsgroups: gmane.comp.ide.revolution.user Date: 2016-07-14 13:07:39 GMT (3 hours and 6 minutes ago) I hesitate to comment, since I?ve only used mobileComposeMail?. but, based on that experience it looks like you have one too many [ in these lines. Shouldn?t there only be one before ?type?? put "image/png" into tAttachment[1][["type"] put "myimagecid.png" into tAttachment[1][["name"] put "myimagecid" into tAttachment[1][["cid"] From joseantoniorocha at gmail.com Thu Jul 14 12:23:51 2016 From: joseantoniorocha at gmail.com (=?UTF-8?Q?Jos=C3=A9_Antonio_Rocha?=) Date: Thu, 14 Jul 2016 13:23:51 -0300 Subject: Getting 32-bit Livecode running on 64-bit Linux In-Reply-To: <578766D4.2040406@gaich.de> References: <57851D3E.9020306@gmail.com> <57852075.7000206@fourthworld.com> <578766D4.2040406@gaich.de> Message-ID: 2016-07-14 7:17 GMT-03:00 G.W.Gaich : [0714/121416:ERROR:webgraphicscontext3d_command_buffer_impl.cc(227)] Failed > to initialize command buffer. > ?It seems some Chromium video related problem. My video card is Intel Haswell Mobile. -- [image: Meira] ------------------------------ nome: "Jos? Antonio Meira da Rocha " email: joseantoniorocha at gmail.com ve?culo: [ http://meiradarocha.jor.br ] fones: [ 55-8448-3866 55-3744-2994 ] ? ------------------------------ From klaus at major-k.de Thu Jul 14 12:24:34 2016 From: klaus at major-k.de (Klaus major-k) Date: Thu, 14 Jul 2016 18:24:34 +0200 Subject: OT: https <> http | WAS Application Transport Security deadline for iOS apps In-Reply-To: References: <7EC1A2FE-A849-4254-9F17-AD5AD3CDC336@id.uzh.ch> <746B4BF1-2E1B-4680-B518-62D815E9B842@major-k.de> <422723cd-dcaf-d7f6-414f-fdc55826375e@livecode.com> Message-ID: Hi all, FYI, here the response from on-rev support: ... Thank you for sending me this information. This was being caused by a glitch resulting from requesting a HTTPS page from the web server for a domain which was not configured to use HTTPS. This has now been fixed to direct to a more appropriate page. ... > Am 12.07.2016 um 17:43 schrieb Paul Hibbert : > > I?m interested in the response too. Https requests to my on-rev site also link to legacytrees.org > > Paul > >> On Jul 12, 2016, at 5:23 AM, Klaus major-k wrote: >> >> Hi all, >> >> OK, mail sent to support, wainting for a response now, I will keep you informed! >> >>> Am 12.07.2016 um 13:50 schrieb Klaus major-k : >>> >>> Hi Peter, >>> >>>> Am 12.07.2016 um 13:47 schrieb Peter TB Brett : >>>> >>> On 12/07/2016 12:46, Klaus major-k wrote: >>>>> Hi Rolf, >>>>> >>>>>> Am 12.07.2016 um 13:36 schrieb Rolf Kocherhans : >>>>>> >>>>>> If I do the same I land on artisansofscotland.com :-( >>>>>> My original page: www.kangaroo.on-rev.com >>>>>> >>>>>> If I go here: https://www.kangaroo.on-rev.com >>>>>> I land here: https://artisansofscotland.com >>>>> >>>>> thanks for checking, good to know I'm not alone! >>>>> >>>>>> Whats going on ? Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From iowahengst at mac.com Thu Jul 14 12:25:07 2016 From: iowahengst at mac.com (Randy Hengst) Date: Thu, 14 Jul 2016 11:25:07 -0500 Subject: 911 - We are having problems attaching an image on mobileComposeHtmlMail In-Reply-To: References: Message-ID: <3FAE4875-24B4-4278-A5FA-4953E6488E31@mac.com> As I recall, the other thing that tripped me up a bit was the actual call to mobileComposeMail? making sure I had the correct number of commas for parameters to skip? here?s the code I used. set the defaultFolder to specialFolderPath("Documents") export snapshot from rect (the rect of button "playingSurfaceBUTTON" of card "gameCard") to file "SENDdemo.jpg" as JPEG answer "Include screen shot?" with "No" or "YES" titled "Screen Shot" if it is "YES" then put specialfolderpath("documents") & "/SENDdemo.jpg" into tTheAttachments[1]["file"] put "application/jpg" into tTheAttachments[1]["type"] put "SENDdemo.jpg" into tTheAttachments[1]["name"] else put empty into tTheAttachments end if switch the environment case "mobile" case "simulator" mobileComposeMail tTheSubject,tTheAddress,,,tTheMessage,tTheAttachments break case "MacOS" case "development" revMail tTheAddress,,tTheSubject,tTheMessage break end switch be well, randy > On Jul 14, 2016, at 11:16 AM, Todd Fabacher wrote: > > Sorry, we fixed that right after I posted it, But it is still NOT working. > > Thanks, > > Todd > > From: Randy Hengst >> > Subject: Re: 911 - We are having problems attaching an image on > mobileComposeHtmlMail > > Newsgroups: gmane.comp.ide.revolution.user > > Date: 2016-07-14 13:07:39 GMT (3 hours and 6 minutes ago) > > I hesitate to comment, since I?ve only used mobileComposeMail?. but, > based on that experience it > looks like you have one too many [ in these lines. Shouldn?t there > only be one before ?type?? > > put "image/png" into tAttachment[1][["type"] > put "myimagecid.png" into tAttachment[1][["name"] > put "myimagecid" into tAttachment[1][["cid"] > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Thu Jul 14 12:44:38 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 14 Jul 2016 16:44:38 +0000 (UTC) Subject: Sharing Stacks References: <5787A30E.1010709@fourthworld.com> Message-ID: Richard Gaskin writes: > But all the while we have a stack-sharing resource built into the IDE, > RevOnline. > > Why is that not used? 1. Only stacks can be put on revOnline, not zipped files or associated files. This limits the amount of documentation that can be attached. 2. Uploading to revOnline can only be done through the IDE. This places a signature property on the stack. If that ever gets lost or corrupted you can't update the stack on revOnline any more, you have to upload it again. This happens. 3. Searching revOnline is awkward at best. I have a hard enough time trying to find stacks that I have uploaded, and that's starting from the point that I know they exist. 4. No single sign-on. I have different logins for the LC store, the web forum, and revOnline. 5. Why is revOnline still on runrev.com instead of livecode.org? For that matter, why is it still called revOnline? In its favor, revOnline has the blessing of the mothership, while none of the other options do. For years now I have been hearing stories about a better alternative coming down the line. While I would think that showcasing the contributions that users have placed online would be a boon in terms of spreading the word, that has yet to happen. Instead we have a plethora of third-party sites, which are quite wonderful in their own right, but there's no central clearinghouse prominently placed on the website. Try to find a link to revOnline anywhere on livecode.org. On livecode.com, it's https://livecode.com/links/livecode/revonline, which is a mouthful, but at least you only have to go through two levels of clicking to get there. -- Mark Wieder ahsoftware at gmail.com From hh at hh.on-rev.com Thu Jul 14 12:14:23 2016 From: hh at hh.on-rev.com (-hh) Date: Thu, 14 Jul 2016 09:14:23 -0700 (PDT) Subject: Sharing Stacks In-Reply-To: References: <5787A30E.1010709@fourthworld.com> Message-ID: <1468512863883-4706707.post@n4.nabble.com> > Searching revOnline is awkward at best. I have a hard enough > time trying to find stacks that I have uploaded, and that's starting > from the point that I know they exist. I wonder about that. If I type "Wieder" and click "GO" I have immediately a list or grid of 10 stacks, sorted by date ("Hollerith" to "LibSOAP"). -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Sharing-Stacks-tp4706696p4706707.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Thu Jul 14 12:57:55 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 14 Jul 2016 09:57:55 -0700 Subject: Sharing Stacks In-Reply-To: <1468509501991-4706699.post@n4.nabble.com> References: <1468509501991-4706699.post@n4.nabble.com> Message-ID: <5787C493.5030801@fourthworld.com> -hh wrote: > Richard G. wrote: >> Among the many venues our community uses for sharing stack files are >> Dropbox, Github, the forum DB, and web sites. >> But all the while we have a stack-sharing resource built into the >> IDE, RevOnline. > > Also http://livecodeshare.runrev.com/ (what a name!) > (links to the same stacks as revOnline) As a mirror of RevOnline, I would consider that just a second view to the one repository, rather than a different repository. >> Why is that not used? > > It is used. But is it used frequently enough to warrant the expense of maintenance by the core team? > If you mean that some people prefer dropBox: They could set a link > in revOnline (if they won't use revOnline directly). That sort of multi-source aggregation may be a good option. > ** This not-using-revOnline applies also to you. ** Of course, which is why I asked. I introduced the community's first common stack repository with the release of RevNet (now "LiveNet" with v8 forward) on Christmas Eve 2003. The team liked the idea so much they made an expanded version with RevOnline the following year. But today it seldom seems used. I use LiveNet because it's conveniently automated for distribution of curated stacks. Other use Dropbox, the forum DB, etc. Rather than try to force people to use one, I wonder if a more organic approach may be more useful, one that embraces what appears to be naturally diverse repo preferences. > So I can't understand that you are getting angry about a few dropBox > links here. I've expressed no anger, nor seen it in others. Did I miss some posts? What I do see is a frequent desire for a single place to find resources. The key here is that the place to find things need not be where the thing being found lives. People do what people do. If we embrace what appears to be a naturally divergent range of preferences into perhaps some sort of aggregate collection of links, maybe we'd have the best of both options: one-stop shopping to find things, but allowing folks to continue using whatever repositories they already clearly prefer. That would seem a useful approach, but there's a hitch: personally I would not want to see the core team take time away from engine work to do it. And it's worth noting that we've seen some aggregation efforts in the past, but each one was even more rarely used than RevOnline, and AFARIK none of them are maintained today. So if we want a central place to find things, who among us is in a position to lead such a project? I can help, but my schedule doesn't permit me to be the team lead. It may be that the current situation is not all that bad. This is just an exploratory question, to see if the desire for a centralized place to find LC resources is strong enough among the community that the community would undertake building and maintaining it, as the communities for other languages have done (CPAN, CRAN, etc.). > Even our livecode.org page (a lot of thanks to you for that) > ignores majestically the revOnline/livecodeshare collection > in the "community" tab ... One of the challenges with volunteer work is that it's expensive, requiring that the time for it is paid for by other work. The web lead for LC Ltd, Steven Crighton, has taken the first steps in allowing our nascent community web team to begin fleshing out the .org site. But unfortunately both Jacque and myself have been preoccupied with things outside of our volunteer work, so movement is beginning but more slowly than we'd prefer. But even at this relatively early phase, there's much we can do in terms of planning and prioritizing what we feel the .org site should be. So to support that process I've created a new thread in the Community Projects section of the forums where we can discuss ideas for what we'd like to see at the Community site, and for assembling the resources to make them happen: http://forums.livecode.com/viewtopic.php?f=108&t=27610 -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Thu Jul 14 13:07:25 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 14 Jul 2016 17:07:25 +0000 (UTC) Subject: OT: https <> http =?utf-8?b?fA==?= WAS Application Transport Security =?utf-8?b?ZGVhZGxpbmUJZm9y?= iOS apps References: <7EC1A2FE-A849-4254-9F17-AD5AD3CDC336@id.uzh.ch> <746B4BF1-2E1B-4680-B518-62D815E9B842@major-k.de> <422723cd-dcaf-d7f6-414f-fdc55826375e@livecode.com> Message-ID: Klaus major-k writes: > a more appropriate page. Heh. https://major-k.de --> https://major-k.de/cgi-sys/defaultwebpage.cgi The default certificate is now owned by diesel. It's a step in the right direction, though. -- Mark Wieder ahsoftware at gmail.com From nabble at mad.pink Thu Jul 14 12:26:10 2016 From: nabble at mad.pink (pink) Date: Thu, 14 Jul 2016 09:26:10 -0700 (PDT) Subject: Having major Livecode problems In-Reply-To: <1467371125582-4706247.post@n4.nabble.com> References: <1467371125582-4706247.post@n4.nabble.com> Message-ID: <1468513570249-4706710.post@n4.nabble.com> Things got better for a while, and now I am back to having Livecode crash constantly, but again, just on 2 of my 3 computers. (Unfortunately it's the 2 that I am working on most often.) I've started at least getting some crash reports, so i started putting them into a ticket, but these crashes can come as often as every 5 minutes, so I keep losing a lot of work. Deleteing my prefs file definitely helps short term, but besides being a pain it is only temporary. I also don't have anything to help pinpoint why it is happening. This morning, Livecode has crashed on me 6 times, and it happened (in order) when: -switching from "Point" to "Browse" via clicking the tools palette -(in browse mode) deleting a field off a card -switching from "Browse" to "Point" via shortcut (Command-Option-Tab) -(in browse mode) opening the property window of a navbar widget -(in point mode) clicking on a button which was supposed to send me to a different card -while editing a script I right clicked on a command and chose "Go to definition" (which was on the stack script) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Having-major-Livecode-problems-tp4706247p4706710.html Sent from the Revolution - User mailing list archive at Nabble.com. From irog at mac.com Thu Jul 14 13:14:24 2016 From: irog at mac.com (Roger Guay) Date: Thu, 14 Jul 2016 10:14:24 -0700 Subject: [ANN] Sharing FontLab Plugin In-Reply-To: <57879ECD.4010009@fourthworld.com> References: <57879ECD.4010009@fourthworld.com> Message-ID: <2B70100E-409C-41F9-AC33-67EA99532065@mac.com> Richard Gaskin wrote: > On Jul 14, 2016, at 7:16 AM, Richard Gaskin wrote: > > Also, what issues have you found with font selection/text editing in v8 that are not present in earlier versions? > An unwieldy font list for one. It would be great if it were typing reactive or if it had a letter index like I have in FontLab. Having to move from pane to pane when working on content and fonts etc. is a pain. I may have misspoke about v8 being different from earlier versions. Sorry if that?s the case, I didn?t mean to go over the differences in the properties inspector like we already did ad nauseum. Thanks, Roger From mwieder at ahsoftware.net Thu Jul 14 13:10:15 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 14 Jul 2016 17:10:15 +0000 (UTC) Subject: Sharing Stacks References: <5787A30E.1010709@fourthworld.com> <1468512863883-4706707.post@n4.nabble.com> Message-ID: [-hh] writes: > > > Searching revOnline is awkward at best. I have a hard enough > > time trying to find stacks that I have uploaded, and that's starting > > from the point that I know they exist. > > I wonder about that. If I type "Wieder" and click "GO" > I have immediately a list or grid of 10 stacks, sorted by date > ("Hollerith" to "LibSOAP"). Ah. I stand corrected indeed. I was trying to find my stacks based on tags. -- Mark Wieder ahsoftware at gmail.com From irog at mac.com Thu Jul 14 13:20:30 2016 From: irog at mac.com (Roger Guay) Date: Thu, 14 Jul 2016 10:20:30 -0700 Subject: [ANN] Sharing FontLab Plugin In-Reply-To: <57879ECD.4010009@fourthworld.com> References: <57879ECD.4010009@fourthworld.com> Message-ID: <640020FD-324D-4E4A-B016-13FFC7A0111E@mac.com> Richard Gasken wrote: > > Which one? GPLv3, v2, BSD, MIT, or something else? > > Also, what issues have you found with font selection/text editing in v8 that are not present in earlier versions? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Richard, Please help me out here. I just want to share my work without restrictions. I don?t have the patience to review, and I certainly will not be able to commit to memory these license nuances. Thanks, Roger From irog at mac.com Thu Jul 14 13:29:54 2016 From: irog at mac.com (Roger Guay) Date: Thu, 14 Jul 2016 10:29:54 -0700 Subject: [ANN] Sharing FontLab Plugin In-Reply-To: References: <310CC0E9-9B0D-41D0-A5C5-29D7343435A5@m-r-d.de> <62955452-a8e1-2aae-dfd9-857b2867bc9b@livecode.com> Message-ID: <916DBED5-4C73-4002-AA0A-DB4BA971502B@mac.com> Roger Eller Wrote: > On Jul 14, 2016, at 7:17 AM, Roger Eller wrote: > > This is Awesome! In OS X it works as expected, but in Windows 7 the Index > fields, and point size field are shorter than the content. Clicking a > letter takes you "near" the letter in the font list, but is off a few > letters. > > Thanks for sharing this. > > ~Roger > Thanks, Roger. Since I don?t have a Windows machine, I must leave it up to Windows users to fix these deficiencies, if they wish, of course. I expect Unix to have a few problems as well? I hope that if someone finds a universal fix . . . a distinct possibility given that I?m not a ?real programmer?, they will share it with me. Thanks, Roger From ambassador at fourthworld.com Thu Jul 14 13:36:50 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 14 Jul 2016 10:36:50 -0700 Subject: [ANN] Sharing FontLab Plugin In-Reply-To: <2B70100E-409C-41F9-AC33-67EA99532065@mac.com> References: <2B70100E-409C-41F9-AC33-67EA99532065@mac.com> Message-ID: <5787CDB2.4080205@fourthworld.com> Roger Guay wrote: > Richard Gaskin wrote: >> Also, what issues have you found with font selection/text editing in >> v8 that are not present in earlier versions? > > An unwieldy font list for one. It would be great if it were typing > reactive or if it had a letter index like I have in FontLab. ... > I may have misspoke about v8 being different from earlier versions. > Sorry if that?s the case, I didn?t mean to go over the differences > in the properties inspector like we already did ad nauseum. Au contraire, while tools like yours that provide additional functionality are very welcome, we also need to use experience in the core product to be as good as possible. I discovered this morning that I'd never gotten around to flagging the very short number of items visible in the Font list on Win and Linux in the bug DB (only five), now submitted: http://quality.livecode.com/show_bug.cgi?id=18029 The ability to type to select is so common on all platforms I flagged that as a bug some time ago: http://quality.livecode.com/show_bug.cgi?id=5512 There are also some other anomalies with option controls on non-Mac platforms, and like the previous one about type-to-select they're things my customers have complained to me about: Tabbing leave option control's menu up http://quality.livecode.com/show_bug.cgi?id=5513 menuhistory not updated when changing option controls via keyboard http://quality.livecode.com/show_bug.cgi?id=5505 I know the team has a long queue of high-priority items, but when time permits fine-tuning the option control to meet HIG specs on non-Mac platforms would go a long way toward making LiveCode shine for new users as a solution for making great multi-platform apps. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From irog at mac.com Thu Jul 14 13:38:14 2016 From: irog at mac.com (Roger Guay) Date: Thu, 14 Jul 2016 10:38:14 -0700 Subject: Sharing Stacks In-Reply-To: <5787A30E.1010709@fourthworld.com> References: <5787A30E.1010709@fourthworld.com> Message-ID: On Jul 14, 2016, at 7:34 AM, Richard Gaskin wrote: > Among the many venues our community uses for sharing stack files are Dropbox, Github, the forum DB, and web sites. > > But all the while we have a stack-sharing resource built into the IDE, RevOnline. > > Why is that not used? > > If folks prefer other venues, should we lighten the team's load and ditch RevOnline? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode I actually prefer RevOnline and used to use it regularly. Then, it broke and remained broke for so long that I got used to finding other solutions. I will return to RevOnline forthwith! Thanks, Roger From ambassador at fourthworld.com Thu Jul 14 13:45:11 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 14 Jul 2016 10:45:11 -0700 Subject: [ANN] Sharing FontLab Plugin In-Reply-To: <640020FD-324D-4E4A-B016-13FFC7A0111E@mac.com> References: <640020FD-324D-4E4A-B016-13FFC7A0111E@mac.com> Message-ID: <5787CFA7.4000306@fourthworld.com> Roger Guay wrote: > Richard, > > Please help me out here. I just want to share my work without > restrictions. I don?t have the patience to review, and I certainly > will not be able to commit to memory these license nuances. Gosh, Roger, there's only a hundred or so open source licenses to choose from - are you lazy? :) The options are indeed broad, ranging from GPL to WTFPL (which reads as one might imagine from its acronym ), and a good many in between (AGPL, Apache, BSD, and others). A popular choice of permissive license that's both GPL-compatible and works equally well for proprietary use is the MIT License, which FWIW Scott Raney had chosen for the MC IDE. A discussion of it with its full text is here: https://en.wikipedia.org/wiki/MIT_License In short, it retains your copyright and provides disclaimer of liability, but presents no restrictions on use. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From gWolfgang at gaich.de Thu Jul 14 13:58:50 2016 From: gWolfgang at gaich.de (G.W.Gaich) Date: Thu, 14 Jul 2016 19:58:50 +0200 Subject: Getting 32-bit Livecode running on 64-bit Linux In-Reply-To: References: <57851D3E.9020306@gmail.com> <57852075.7000206@fourthworld.com> <578766D4.2040406@gaich.de> Message-ID: <5787D2DA.2030903@gaich.de> That may be. My video card is a Geforce GTX 750Ti, nvidia 361.42 driver installed Am 14.07.2016 um 18:23 schrieb Jos? Antonio Rocha: > 2016-07-14 7:17 GMT-03:00 G.W.Gaich : > > [0714/121416:ERROR:webgraphicscontext3d_command_buffer_impl.cc(227)] Failed >> to initialize command buffer. >> > ?It seems some Chromium video related problem. My video card is Intel > Haswell Mobile. > > > From peter.brett at livecode.com Thu Jul 14 14:01:18 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Thu, 14 Jul 2016 19:01:18 +0100 Subject: Getting 32-bit Livecode running on 64-bit Linux In-Reply-To: <5787D2DA.2030903@gaich.de> References: <57851D3E.9020306@gmail.com> <57852075.7000206@fourthworld.com> <578766D4.2040406@gaich.de> <5787D2DA.2030903@gaich.de> Message-ID: <65f85a78-4d47-56d5-23c6-76cd1d0074a3@livecode.com> On 14/07/2016 18:58, G.W.Gaich wrote: > That may be. My video card is a Geforce GTX 750Ti, nvidia 361.42 driver > installed > > Am 14.07.2016 um 18:23 schrieb Jos? Antonio Rocha: >> 2016-07-14 7:17 GMT-03:00 G.W.Gaich : >> >> [0714/121416:ERROR:webgraphicscontext3d_command_buffer_impl.cc(227)] >> Failed >>> to initialize command buffer. >>> >> ?It seems some Chromium video related problem. My video card is Intel >> Haswell Mobile. Thank you for your help in working on the problem today! Panos downloaded your Ubuntu 16.04 VM image and we've (finally) been able to reproduce the problem, which is 75% of the way to fixing it! Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From devin_asay at byu.edu Thu Jul 14 14:04:53 2016 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 14 Jul 2016 18:04:53 +0000 Subject: Sharing Stacks In-Reply-To: <155ea27af43-6c5d-fc4@webprd-a25.mail.aol.com> References: <155ea27af43-6c5d-fc4@webprd-a25.mail.aol.com> Message-ID: <963CC60C-D230-4F78-B223-F3E95D293C44@byu.edu> > On Jul 14, 2016, at 10:05 AM, DunbarX at aol.com wrote: > > What? > > > User notes are not supported in the (still awful?) LC8 dictionary? Craig, Which version of LC 8 are you looking at? The latest DP of 8.1.0 (dp2) has lots of improvements. It?s not perfect, but now is a good opportunity to make enhancement requests. Regards, Devin Devin Asay Office of Digital Humanities Brigham Young University From irog at mac.com Thu Jul 14 14:39:03 2016 From: irog at mac.com (Roger Guay) Date: Thu, 14 Jul 2016 11:39:03 -0700 Subject: [ANN] Sharing FontLab Plugin In-Reply-To: <5787CFA7.4000306@fourthworld.com> References: <640020FD-324D-4E4A-B016-13FFC7A0111E@mac.com> <5787CFA7.4000306@fourthworld.com> Message-ID: On Jul 14, 2016, at 10:45 AM, Richard Gaskin wrote: > A popular choice of permissive license that's both GPL-compatible and works equally well for proprietary use is the MIT License, which FWIW Scott Raney had chosen for the MC IDE. > > A discussion of it with its full text is here: > https://en.wikipedia.org/wiki/MIT_License > > In short, it retains your copyright and provides disclaimer of liability, but presents no restrictions on use. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Cool! The MIT License it is then! Thanks, Roger From dunbarx at aol.com Thu Jul 14 14:40:46 2016 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 14 Jul 2016 14:40:46 -0400 Subject: Sharing Stacks In-Reply-To: <963CC60C-D230-4F78-B223-F3E95D293C44@byu.edu> Message-ID: <155eab608a1-6c5d-1807@webprd-a25.mail.aol.com> Devin. I will check it out, Thanks for the heads-up. I was pessimistic that the team would address this issue quickly, if at all. The original dictionary was, ugh, just terrible. And we already had a pretty good one, in spite of the fact that it could not be assembled in any form, or printed. Craig -----Original Message----- From: Devin Asay To: How to use LiveCode Sent: Thu, Jul 14, 2016 2:06 pm Subject: Re: Sharing Stacks > On Jul 14, 2016, at 10:05 AM, DunbarX at aol.com wrote: > > What? > > > User notes are not supported in the (still awful?) LC8 dictionary? Craig, Which version of LC 8 are you looking at? The latest DP of 8.1.0 (dp2) has lots of improvements. It?s not perfect, but now is a good opportunity to make enhancement requests. Regards, Devin Devin Asay Office of Digital Humanities Brigham Young University _______________________________________________use-livecode mailing listuse-livecode at lists.runrev.comPlease visit this url to subscribe, unsubscribe and manage your subscription preferences:http://lists.runrev.com/mailman/listinfo/use-livecode From mark at canelasoftware.com Thu Jul 14 14:42:04 2016 From: mark at canelasoftware.com (Mark Talluto) Date: Thu, 14 Jul 2016 11:42:04 -0700 Subject: No Guinea pigs harmed with this repost on streaming Bundle In-Reply-To: References: <03f3d419-c078-a16d-4593-342615bd25bb@livecode.com> Message-ID: > On Jul 14, 2016, at 8:16 AM, Lagi Pittas wrote: > > Thanks for that Peter. > > It would be nice if Hack Sessions were "unofficially recorded" and also > the livecloud workshops.There should be some interesting stuff in there > off the beaten path > > Lagi Hi Lagi, Hans and I will be doing the CassiaDB/LiveCloud talk. We will make all the material available to anyone that wants to recreate what we did in the workshop. I will make our Keynote available as well. This might be better than a 3 hour long video. It is hard to say until after we have actually finished the workshop. Happy to see you are interested. :) Best regards, Mark Talluto livecloud.io canelasoftware.com From jacque at hyperactivesw.com Thu Jul 14 14:54:25 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 14 Jul 2016 13:54:25 -0500 Subject: Sharing Stacks In-Reply-To: <963CC60C-D230-4F78-B223-F3E95D293C44@byu.edu> References: <155ea27af43-6c5d-fc4@webprd-a25.mail.aol.com> <963CC60C-D230-4F78-B223-F3E95D293C44@byu.edu> Message-ID: On 7/14/2016 1:04 PM, Devin Asay wrote: > The latest DP of 8.1.0 (dp2) has lots of improvements. It?s not > perfect, but now is a good opportunity to make enhancement requests. > Yup, it's way way way more better. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Thu Jul 14 15:19:00 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 14 Jul 2016 12:19:00 -0700 Subject: Detect Return From Mobile Keyboard Without Native Field? In-Reply-To: <57879E0B.1090000@fourthworld.com> References: <57879E0B.1090000@fourthworld.com> Message-ID: Thanks for checking Richard. How did you do your test? Using a Nexus 5X here, so recent hardware. I place a standard LiveCode field a card (nothing native), and in the card script: on returnInField answer millisecs() end returnInField When I press characters on the mobile keyboard, they appear in the field, but when I press return, the cursor moves in the field but nothing else happens. The result is the same in both LC 7.1.4 and 8.0.1. I must be missing something? To answer your question, focus has always been an issue for me on Android. I need to track characters and jump between multiple fields of a long registration key, which works as expected on iOS but unfortunately not on Android. The use of standard LC fields is a workaround. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 7/14/16, 7:13 AM, "use-livecode on behalf of Richard Gaskin" wrote: >Scott Rossi wrote: > > > On Android... I have values in some standard fields (not native) > > that I need to send to a handler. How can I trap the return key > > event on the mobile keyboard without having focus on a native field? > > Neither inputReturnKey or returnInField appears to get triggered. > >Testing here, the returnInField message goes to the target field as >expected. > >Does your LC field have focus at that time? If not try trapping >returnKey in the card script (though that raises the question, how does >one bring up the keyboard without an editable field having focus?). > >Also, just curious: given the difficulty of emulating mobile text >editing conventions in LC fields, why not use a mobile-native field there? > >-- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Jul 14 15:26:12 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 14 Jul 2016 12:26:12 -0700 Subject: Detect Return From Mobile Keyboard Without Native Field? In-Reply-To: References: Message-ID: <5787E754.9020802@fourthworld.com> Scott Rossi wrote: > Thanks for checking Richard. How did you do your test? I had the target field trap returnInField and display its text in a second field. > Using a Nexus 5X here, so recent hardware. I place a standard > LiveCode field a card (nothing native), and in the card script: > > on returnInField > answer millisecs() > end returnInField > > When I press characters on the mobile keyboard, they appear in the > field, but when I press return, the cursor moves in the field but > nothing else happens. Did you include the Answer Dialog in the build? > To answer your question, focus has always been an issue for me on > Android. > I need to track characters and jump between multiple fields of a long > registration key, which works as expected on iOS but unfortunately > not on Android. The use of standard LC fields is a workaround. You may want to go back to Plan A with a mobile-native field. With an LC field we have no copy-and-paste, and the text selection behaviors are just so non-mobile that it's likely to frighten and confuse users. I've had pretty good luck with focus in my Android builds, across a fairly wide range of devices (it's become a running gag in my house every time I come home with another cheap tablet to test on). What issues were you having with that? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From smudge.andy at googlemail.com Thu Jul 14 15:26:13 2016 From: smudge.andy at googlemail.com (AndyP) Date: Thu, 14 Jul 2016 12:26:13 -0700 (PDT) Subject: Sharing Stacks In-Reply-To: <5787A30E.1010709@fourthworld.com> References: <5787A30E.1010709@fourthworld.com> Message-ID: <1468524373681-4706727.post@n4.nabble.com> I still often browse through the stacks and scripts on RevOnline and have found them in many cases very useful. I have added a fair number of items myself (and have a few more to add) but do get frustrated at not being able to add zips which I believe would be the first item to be addressed in a project to update RevOnline. At the moment RevOnline is not easy to find on the LC website and this should be corrected to bring RevOnline to more users attention. ----- Andy Piddock My software never has bugs. It just develops random features. Copy the new cloud space, get your free 15GB space now: Get Copy Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Sharing-Stacks-tp4706696p4706727.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at tactilemedia.com Thu Jul 14 16:09:23 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 14 Jul 2016 13:09:23 -0700 Subject: Detect Return From Mobile Keyboard Without Native Field? In-Reply-To: <5787E754.9020802@fourthworld.com> References: <5787E754.9020802@fourthworld.com> Message-ID: On 7/14/16, 12:26 PM, "use-livecode on behalf of Richard Gaskin" wrote: >Scott Rossi wrote: > > > Thanks for checking Richard. How did you do your test? > >I had the target field trap returnInField and display its text in a >second field. Worth a try, but the second field remains empty. > > > > Using a Nexus 5X here, so recent hardware. I place a standard > > LiveCode field a card (nothing native), and in the card script: > > > > on returnInField > > answer millisecs() > > end returnInField > > > > When I press characters on the mobile keyboard, they appear in the > > field, but when I press return, the cursor moves in the field but > > nothing else happens. > >Did you include the Answer Dialog in the build? Not sure about your setup, but here, both Ask and Answer are default inclusions in Standalone Settings. Just for fun I enabled the manual "Select inclusions..." but the lack of result was the same. > > > To answer your question, focus has always been an issue for me on > > Android. > > I need to track characters and jump between multiple fields of a long > > registration key, which works as expected on iOS but unfortunately > > not on Android. The use of standard LC fields is a workaround. > >You may want to go back to Plan A with a mobile-native field. With an >LC field we have no copy-and-paste, and the text selection behaviors are >just so non-mobile that it's likely to frighten and confuse users. Well, native fields have been finicky for me on Android (and still are). Apparently unless native fields exceed a certain height dimension, they briefly show scrollbars when focused, even single line fields. Focus (perhaps only in my case) has been unreliable, and with the reg code I need to manage, the inability to auto-jump between fields is more likely to confuse users than the lack of cut and paste, so I'm not really concerned there. > >I've had pretty good luck with focus in my Android builds, across a >fairly wide range of devices (it's become a running gag in my house >every time I come home with another cheap tablet to test on). > >What issues were you having with that? The issues are what I described above. I may have gone about it ineffectively but I need to manage the entry of a reg code across 4 fields, such that: - After 4 characters are entered one a field, focus automatically jumps to the next field without the user having to do anything, and without the keyboard auto-removing itself - Text characters are automatically converted to caps - Pressing return triggers submission As I mentioned, all is working fine on iOS, so I'd like to think it's possible either with standard or native fields. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design > >-- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Thu Jul 14 16:42:07 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 14 Jul 2016 13:42:07 -0700 Subject: Detect Return From Mobile Keyboard Without Native Field? In-Reply-To: References: Message-ID: <5787F91F.5000800@fourthworld.com> Scott Rossi wrote: > Well, native fields have been finicky for me on Android (and still > are). > Apparently unless native fields exceed a certain height dimension, > they briefly show scrollbars when focused, even single line fields. > Focus (perhaps only in my case) has been unreliable, and with the > reg code I need to manage, the inability to auto-jump between fields > is more likely to confuse users than the lack of cut and paste, so > I'm not really concerned there. Those need to be fixed. I haven't seen those myself, but maybe I've just been lucky. If they're reproducible for you please submit the recipes with reports to be bug queue. Text entry is fundamental, and we need to make sure users have a good experience with that. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From brahma at hindu.org Thu Jul 14 18:08:39 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 14 Jul 2016 22:08:39 +0000 Subject: Having major Livecode problems In-Reply-To: <1468513570249-4706710.post@n4.nabble.com> References: <1467371125582-4706247.post@n4.nabble.com> <1468513570249-4706710.post@n4.nabble.com> Message-ID: Ditto all your issues here? mysterious? one thing seems to have helped and that is to set all stacks to destroyStack destroyWindow on close. I believe this is the same as choosing "Close and removed from memory" Although even now, occasionally I get the "stack XYZ is open do you want to purge" even though I *did* close that stack and removed it from memory. At any rate, it seems to help when working with many stacks, the ones you are not using are indeed not in memory. After setting this for ever and any stack I open/create, my crashes started to go down? From: use-livecode on behalf of pink Reply-To: How LiveCode Date: Thursday, July 14, 2016 at 6:26 AM To: Use-Revolution OldRevListName Subject: Re: Having major Livecode problems Things got better for a while, and now I am back to having Livecode crash constantly, but again, just on 2 of my 3 computers. (Unfortunately it's the 2 that I am working on most often.) I've started at least getting some crash reports, so i started putting them into a ticket, but these crashes can come as often as every 5 minutes, so I keep losing a lot of work. Deleteing my prefs file definitely helps short term, but besides being a pain it is only temporary. I also don't have anything to help pinpoint why it is happening. This morning, Livecode has crashed on me 6 times, and it happened (in order) when: -switching from "Point" to "Browse" via clicking the tools palette -(in browse mode) deleting a field off a card -switching from "Browse" to "Point" via shortcut (Command-Option-Tab) -(in browse mode) opening the property window of a navbar widget -(in point mode) clicking on a button which was supposed to send me to a different card -while editing a script I right clicked on a command and chose "Go to definition" (which was on the stack script) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Having-major-Livecode-problems-tp4706247p4706710.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Thu Jul 14 18:53:32 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 14 Jul 2016 22:53:32 +0000 Subject: Pass multiple strings as params via "command" Message-ID: working from the msg box: command in stack looks like this command fetchRandomMediaItem pCriteria, pValue # do stuff here end fetchRandomMediaItem from msg box: some callers work, some fail fetchRandomMediaItem cat, dog # this works fetchRandomMediaItem "cat", "dog" # this works #But this fails fetchRandomMediaItem "cat_species", "dog/canine" Message execution error: Error description: Handler: can't find handler Hint: fetchRandomMediaItem Why? BR From brahma at hindu.org Thu Jul 14 18:56:43 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 14 Jul 2016 22:56:43 +0000 Subject: Pass multiple strings as params via "command" In-Reply-To: References: Message-ID: <8890A651-9434-475D-91D9-5AEABF08BBDA@hindu.org> command in stack looks like this command fetchRandomMediaItem pCriteria, pValue # do stuff here end fetchRandomMediaItem from msg box: some callers work, some fail fetchRandomMediaItem cat, dog # this works fetchRandomMediaItem "cat", "dog" # this works #But this fails fetchRandomMediaItem "cat_species", "dog/canine" Message execution error: Error description: Handler: can't find handler Hint: fetchRandomMediaItem This also fails fetchRandomMediaItem "cat_species, dog/canine" Why? BR _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Thu Jul 14 19:01:38 2016 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 15 Jul 2016 00:01:38 +0100 Subject: Sharing Stacks In-Reply-To: <5787C493.5030801@fourthworld.com> References: <1468509501991-4706699.post@n4.nabble.com> <5787C493.5030801@fourthworld.com> Message-ID: <10c26cdf-7e6a-e1c0-c616-b92e2ec3865e@tweedly.net> On 14/07/2016 17:57, Richard Gaskin wrote: > > > >> Why is that not used? > > > > It is used. > > But is it used frequently enough to warrant the expense of maintenance > by the core team? I think it's not used because it's not reliable. I was an early, and enthusiastic, user of revOnline when it first appeared. I got some really useful stacks from it, and posted a few of mine. Then it broke, and stayed broken for a long time, and I got out of the habit. Then it started working again - but I had just got out of the habit of even looking there :-) Prompted by this thread, I tried it again (with 8.0.1 rc1 which is what I happened to be using). - some UI glitches - search was totally unreliable - either sorting was broken, or the available stacks were incomplete - .... So I decided I'd better get up to date before complaining :-) Downloaded 8.1.0 dp2, and tried again: much better - the UI glitches are still there, but other things seem much better. Then I closed the IDE down - and then went back to check on something - and now I can't get revOnline to open at all. Clicking on "Sample stacks" does nothing (except a quick flash of the button itself). I've checked the loc of stack "revonline" (in the middle of the screen, roughly), and the vis of it (true), and I'm struggling to think of anything else to check. If I had any more of a clue, I'd submit a bug :-) But about all I can say is "it doesn't work", and I know it did work, and I can't think of anything useful to say about what's different now from an hour ago. -- Alex. From dsc at swcp.com Thu Jul 14 19:09:53 2016 From: dsc at swcp.com (Dar Scott) Date: Thu, 14 Jul 2016 17:09:53 -0600 Subject: Pass multiple strings as params via "command" In-Reply-To: <8890A651-9434-475D-91D9-5AEABF08BBDA@hindu.org> References: <8890A651-9434-475D-91D9-5AEABF08BBDA@hindu.org> Message-ID: <020D74DC-9D10-4322-992E-8AA475740B40@swcp.com> For me this fails (with a shorter name), but when I take out the "/", it works. This also fails: test "cat_species", "dog" & slash & "canine" Not a solution, but a hint. I hope. > On Jul 14, 2016, at 4:56 PM, Sannyasin Brahmanathaswami wrote: > > > > command in stack looks like this > > > command fetchRandomMediaItem pCriteria, pValue > > # do stuff here > > end fetchRandomMediaItem > > from msg box: some callers work, some fail > > > fetchRandomMediaItem cat, dog # this works > > fetchRandomMediaItem "cat", "dog" # this works > > #But this fails > > fetchRandomMediaItem "cat_species", "dog/canine" > > > > Message execution error: > > Error description: Handler: can't find handler > > Hint: fetchRandomMediaItem > > This also fails > > > fetchRandomMediaItem "cat_species, dog/canine" > > Why? > > BR > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Thu Jul 14 19:35:37 2016 From: dsc at swcp.com (dsc at swcp.com) Date: Thu, 14 Jul 2016 17:35:37 -0600 Subject: Pass multiple strings as params via "command" In-Reply-To: <020D74DC-9D10-4322-992E-8AA475740B40@swcp.com> References: <8890A651-9434-475D-91D9-5AEABF08BBDA@hindu.org> <020D74DC-9D10-4322-992E-8AA475740B40@swcp.com> Message-ID: <0A48603E-B66C-4666-B094-A011CDFB4AAB@swcp.com> I get the error even with something like this: test "a", format("b" & slash & "c") It seems to occur when there are multiple parameters and one of the values of the 2nd or higher parameter includes a slash. I have seen "can't find handler" as the error string for other weird errors. I guess the workaround is to put a temporary test button on the stack and use that to test the command. > On Jul 14, 2016, at 5:09 PM, Dar Scott wrote: > > For me this fails (with a shorter name), but when I take out the "/", it works. > > This also fails: > test "cat_species", "dog" & slash & "canine" > > Not a solution, but a hint. I hope. > > > >> On Jul 14, 2016, at 4:56 PM, Sannyasin Brahmanathaswami wrote: >> >> >> >> command in stack looks like this >> >> >> command fetchRandomMediaItem pCriteria, pValue >> >> # do stuff here >> >> end fetchRandomMediaItem >> >> from msg box: some callers work, some fail >> >> >> fetchRandomMediaItem cat, dog # this works >> >> fetchRandomMediaItem "cat", "dog" # this works >> >> #But this fails >> >> fetchRandomMediaItem "cat_species", "dog/canine" >> >> >> >> Message execution error: >> >> Error description: Handler: can't find handler >> >> Hint: fetchRandomMediaItem >> >> This also fails >> >> >> fetchRandomMediaItem "cat_species, dog/canine" >> >> Why? >> >> BR >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hh.on-rev.com Thu Jul 14 19:15:39 2016 From: hh at hh.on-rev.com (-hh) Date: Thu, 14 Jul 2016 16:15:39 -0700 (PDT) Subject: Sharing Stacks In-Reply-To: <10c26cdf-7e6a-e1c0-c616-b92e2ec3865e@tweedly.net> References: <5787A30E.1010709@fourthworld.com> <1468509501991-4706699.post@n4.nabble.com> <5787C493.5030801@fourthworld.com> <10c26cdf-7e6a-e1c0-c616-b92e2ec3865e@tweedly.net> Message-ID: <1468538139522-4706736.post@n4.nabble.com> Give revOnline another chance. *** Kill all prefs *** and (re-)set the revOnline prefs tabs to your needs. I have always very fast displays and downloads here. Auto-login works, editing, download and upload. Meanwhile tested on LC 6/7/8 and virtual and 'real' OS: Mac 10.6-10.11/Win7-10/Linux/Linux-ARM. I had no single crash or misbehaviour since the "rebirth". Alex Tweedly wrote > On 14/07/2016 17:57, Richard Gaskin wrote: >> >> >> >> Why is that not used? >> > >> > It is used. >> >> But is it used frequently enough to warrant the expense of maintenance >> by the core team? > > I think it's not used because it's not reliable. > > I was an early, and enthusiastic, user of revOnline when it first > appeared. I got some really useful stacks from it, and posted a few of > mine. > Then it broke, and stayed broken for a long time, and I got out of the > habit. > > Then it started working again - but I had just got out of the habit of > even looking there :-) > > Prompted by this thread, I tried it again (with 8.0.1 rc1 which is what > I happened to be using). > - some UI glitches > - search was totally unreliable > - either sorting was broken, or the available stacks were incomplete > - .... > > So I decided I'd better get up to date before complaining :-) Downloaded > 8.1.0 dp2, and tried again: > much better - the UI glitches are still there, but other things seem > much better. > > Then I closed the IDE down - and then went back to check on something - > and now I can't get revOnline to open at all. > Clicking on "Sample stacks" does nothing (except a quick flash of the > button itself). > > I've checked the loc of stack "revonline" (in the middle of the screen, > roughly), and the vis of it (true), and I'm struggling to think of > anything else to check. > If I had any more of a clue, I'd submit a bug :-) > > But about all I can say is "it doesn't work", and I know it did work, > and I can't think of anything useful to say about what's different now > from an hour ago. > > -- Alex. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Sharing-Stacks-tp4706696p4706736.html Sent from the Revolution - User mailing list archive at Nabble.com. From hh at hh.on-rev.com Thu Jul 14 19:38:32 2016 From: hh at hh.on-rev.com (-hh) Date: Thu, 14 Jul 2016 16:38:32 -0700 (PDT) Subject: Pass multiple strings as params via "command" In-Reply-To: <0A48603E-B66C-4666-B094-A011CDFB4AAB@swcp.com> References: <8890A651-9434-475D-91D9-5AEABF08BBDA@hindu.org> <020D74DC-9D10-4322-992E-8AA475740B40@swcp.com> <0A48603E-B66C-4666-B094-A011CDFB4AAB@swcp.com> Message-ID: <1468539512690-4706737.post@n4.nabble.com> I don't have errors with LC 6/7/8 from a script (not msg). >From msg box I have also no errors when using LC 6 and 7. But from msg box with LC 8. This is probably a bug in LC 8, that msg box command tries to *evaluate* the second param. You can see this if you use for example fetchRandomMediaItem "a/b", "a=a" -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Pass-multiple-strings-as-params-via-command-tp4706731p4706737.html Sent from the Revolution - User mailing list archive at Nabble.com. From dsc at swcp.com Thu Jul 14 20:35:11 2016 From: dsc at swcp.com (Dar Scott) Date: Thu, 14 Jul 2016 18:35:11 -0600 Subject: Pass multiple strings as params via "command" In-Reply-To: <1468539512690-4706737.post@n4.nabble.com> References: <8890A651-9434-475D-91D9-5AEABF08BBDA@hindu.org> <020D74DC-9D10-4322-992E-8AA475740B40@swcp.com> <0A48603E-B66C-4666-B094-A011CDFB4AAB@swcp.com> <1468539512690-4706737.post@n4.nabble.com> Message-ID: <542067A8-E431-4815-AD45-F3E830064B33@swcp.com> Excellent detective work and clean simple response. > On Jul 14, 2016, at 5:38 PM, [-hh] wrote: > > I don't have errors with LC 6/7/8 from a script (not msg). >> From msg box I have also no errors when using LC 6 and 7. > > But from msg box with LC 8. > This is probably a bug in LC 8, that msg box command tries to *evaluate* > the second param. > > You can see this if you use for example > fetchRandomMediaItem "a/b", "a=a" > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Pass-multiple-strings-as-params-via-command-tp4706731p4706737.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hh.on-rev.com Thu Jul 14 20:23:00 2016 From: hh at hh.on-rev.com (-hh) Date: Thu, 14 Jul 2016 17:23:00 -0700 (PDT) Subject: Sharing Stacks In-Reply-To: <1468524373681-4706727.post@n4.nabble.com> References: <5787A30E.1010709@fourthworld.com> <1468524373681-4706727.post@n4.nabble.com> Message-ID: <1468542180324-4706739.post@n4.nabble.com> AndyP wrote > I still often browse through the stacks and scripts on RevOnline and have > found them in many cases very useful. I have added a fair number of items > myself (and have a few more to add) but do get frustrated at not being > able to add zips which I believe would be the first item to be addressed > in a project to update RevOnline. That's not true, you can upload zips. Simply use the zipContainer there: Drag your zip to the stack (=zipContainer) and upload the stack ;-) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Sharing-Stacks-tp4706696p4706739.html Sent from the Revolution - User mailing list archive at Nabble.com. From brahma at hindu.org Thu Jul 14 21:26:38 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 15 Jul 2016 01:26:38 +0000 Subject: Pass multiple strings as params via "command" In-Reply-To: <1468539512690-4706737.post@n4.nabble.com> References: <8890A651-9434-475D-91D9-5AEABF08BBDA@hindu.org> <020D74DC-9D10-4322-992E-8AA475740B40@swcp.com> <0A48603E-B66C-4666-B094-A011CDFB4AAB@swcp.com> <1468539512690-4706737.post@n4.nabble.com> Message-ID: <91C0B653-6F63-49BC-AEAC-89B62BA8C361@hindu.org> @ hh, good sleuth? OK thanks all for confirming.. .I will report this. ?. [pauses for a trip to the QA Center] Bug is in: http://quality.livecode.com/show_bug.cgi?id=18032 The context is working on a script only stack. there is are no buttons to use, hence the dependency on the msg box. For now I'm using a work around like this fetchRandomMediaItem ("media_type","art/painting") command FetchRandommediaItem pCriteria # do stuff with item 1 of pCriteria item 2 of pCriteria. Since it appears that param 1 can be anything and is not evaluated? yep? it fails because "art/painting" cannot be evaluated but "8/2" can command testParams pParam1, pParam2 put pParam1 & cr & pParam2 after tOutput put tOutput end testParams save and be sure the stack is open! (just because you are editing the script does not mean it is in the msg path... another possible bug) in msg box enter testParams "1+2", "3+4" result: 1+2 7 "nasty" I don't have errors with LC 6/7/8 from a script (not msg). From msg box I have also no errors when using LC 6 and 7. But from msg box with LC 8. This is probably a bug in LC 8, that msg box command tries to *evaluate* the second param. You can see this if you use for example fetchRandomMediaItem "a/b", "a=a" From brahma at hindu.org Thu Jul 14 23:14:19 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 15 Jul 2016 03:14:19 +0000 Subject: Getting Library Stacks into Memory In-Reply-To: <155ce3b3e48.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <155c97a9570.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <155ce3b3e48.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Amazing how hard this is for me? I must be super dense or something is really missing in the docs. OK , so you say we don't need to use "go" to get stacks into memory I have this in my loader stack put ( getPathForSharedLibraries() & "itemMetadataParser.livecodescript") into tMediaParser put tMediaParser # this returns: # /Users/Brahmanathaswami/Documents/App-Development/SivaSivaAppWorking/_SivaSource/source/shared/libs/itemMetadataParser.livecodescript insert the script of stack tMediaParser into back # this stack is a) not showing up in the project browser b) does not really appear to be in the back script because it is not answer any calls to commands that are in it after being added to backscript? What am I missing? I seem to remember inserting the script of a stack into back at some point in the past. I know for sure you can start using the stack which is effectively the same thing. The main thing is that you don't need to "go" there to load the stack into RAM. Just putting it in use does that, as does accessing any property. Referring to it in almost any way loads it. The one exception I can think of is "there is a file" which only reads the file directory. But "there is a stack" does load it, because LC needs to open and read the file to ascertain its structure. From brahma at hindu.org Thu Jul 14 23:21:48 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 15 Jul 2016 03:21:48 +0000 Subject: Getting Library Stacks into Memory In-Reply-To: References: <155c97a9570.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <155ce3b3e48.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Forget it? too long a day.. .I needed another segment my path? sorry for the noise Amazing how hard this is for me? I must be super dense or something is really missing in the docs. OK , so you say we don't need to use "go" to get stacks into memory I have this in my loader stack put ( getPathForSharedLibraries() & "itemMetadataParser.livecodescript") into tMediaParser put tMediaParser # this returns: # /Users/Brahmanathaswami/Documents/App-Development/SivaSivaAppWorking/_SivaSource/source/shared/libs/itemMetadataParser.livecodescript insert the script of stack tMediaParser into back # this stack is a) not showing up in the project browser b) does not really appear to be in the back script because it is not answer any calls to commands that are in it after being added to backscript? What am I missing? From brahma at hindu.org Fri Jul 15 00:05:14 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 15 Jul 2016 04:05:14 +0000 Subject: JSON commands are not in the dictionary Message-ID: <920358EF-C2DB-4B1C-AE40-5E830465D60E@hindu.org> I can't find the new JSON commands encode and decode to and from arrays in the dictionary. I thought they were part of the engine now in 8 An anyone point to docs? I look in release notes for 8.1 but no mention there. BR From brahma at hindu.org Fri Jul 15 00:21:26 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 15 Jul 2016 04:21:26 +0000 Subject: Script Only Stacks and Script Locals Message-ID: <91B52A19-1959-43B5-BC4F-AFE8DD650D02@hindu.org> yet to be tested, but interested in caveats assume script only stack(s) script "backScriptOne" " #saved text only as "backScriptOne.livecodescript" with script locals: local sMediaMetadata # more functions # save to disk # call and insert into back script am I correct that now "sMediaMetadata" is a live script local that is private to all functions in backscript? i.e not a globals as such, but still available to any other stack commands or functions that may be inserted into back? i.e. if we insert another lib script "someBackScriptTwo" #saved text only as "backScriptTwo.livecodescript" will sMediaMetadata be available for commands and functions in backScriptTwo.livecodescript From terry.judd at unimelb.edu.au Fri Jul 15 00:21:13 2016 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Fri, 15 Jul 2016 04:21:13 +0000 Subject: JSON commands are not in the dictionary In-Reply-To: <920358EF-C2DB-4B1C-AE40-5E830465D60E@hindu.org> References: <920358EF-C2DB-4B1C-AE40-5E830465D60E@hindu.org> Message-ID: Go to the ?section? menu in the top left corner of the dictionary window and select 'JSON Library?. Terry... On 15/07/2016 2:05 pm, "use-livecode on behalf of Sannyasin Brahmanathaswami" wrote: >I can't find the new JSON commands encode and decode to and from arrays >in the dictionary. > >I thought they were part of the engine now in 8 > >An anyone point to docs? I look in release notes for 8.1 but no mention >there. > >BR > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Fri Jul 15 01:25:53 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 15 Jul 2016 05:25:53 +0000 Subject: JSON commands are not in the dictionary In-Reply-To: References: <920358EF-C2DB-4B1C-AE40-5E830465D60E@hindu.org> Message-ID: <889E171F-7D1A-49E3-90D9-6B4885865EA5@hindu.org> found it the release notes also but the parts on json arrays/lists is esoteric? I'll start a different thread From: use-livecode on behalf of Terry Judd Reply-To: How LiveCode Date: Thursday, July 14, 2016 at 6:21 PM To: How LiveCode Subject: Re: JSON commands are not in the dictionary Go to the ?section? menu in the top left corner of the dictionary window and select 'JSON Library?. Terry... From brahma at hindu.org Fri Jul 15 01:28:53 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 15 Jul 2016 05:28:53 +0000 Subject: Extracting JSON Arrays from inside Json Objects Message-ID: given valid JSON like this: in a var called "someJsonData" { "file_id": "gr_1999-01-11_the-path-to-god", "file_size": null, "file_type": null, "format": null, "formats": [{ "filename": "gr_1999-01-11_the-path-to-god.mp3", "format_name": "mp3", "isbn": null, "item_format_id": 1009, "item_id": 1217, "sale_date": null, "url": null }], "framesize": null, "genre": null } if we import this put JsonImport(someJsonData) into aLiveCodeArray put the keys of tLiveCodeArray returns what we expect, file_id, file_size etc? But then how does one address the elements in the JSON array "formats"? aLiveCodeArray["formats"]["filename"] would be my expectation; but that is empty But I see from the dictionary that JSON arrays become lists, but documentation is too lean. So, just to see what we are getting I tried this: aLiveCodeArray["formats"} and still returns empty OK so we can parse the JSON object, but how do we address elements in its internal arrays? BR From stephenREVOLUTION2 at barncard.com Fri Jul 15 01:46:02 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 14 Jul 2016 22:46:02 -0700 Subject: Extracting JSON Arrays from inside Json Objects In-Reply-To: References: Message-ID: On Thu, Jul 14, 2016 at 10:28 PM, Sannyasin Brahmanathaswami < brahma at hindu.org> wrote: > aLiveCodeArray["formats"]["filename"] would be my expectation; but that > is empty > lose the quotes on array keys? Stephen Barncard - Sebastopol Ca. USA - mixstream.org From peter.brett at livecode.com Fri Jul 15 02:38:20 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Fri, 15 Jul 2016 07:38:20 +0100 Subject: Extracting JSON Arrays from inside Json Objects In-Reply-To: References: Message-ID: On 15/07/2016 06:28, Sannyasin Brahmanathaswami wrote: > aLiveCodeArray["formats"]["filename"] would be my expectation; but > that is empty aLiveCodeArray["formats"][1]["filename"] Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From smudge.andy at googlemail.com Fri Jul 15 05:00:29 2016 From: smudge.andy at googlemail.com (AndyP) Date: Fri, 15 Jul 2016 02:00:29 -0700 (PDT) Subject: Sharing Stacks In-Reply-To: <1468542180324-4706739.post@n4.nabble.com> References: <5787A30E.1010709@fourthworld.com> <1468524373681-4706727.post@n4.nabble.com> <1468542180324-4706739.post@n4.nabble.com> Message-ID: <1468573229078-4706750.post@n4.nabble.com> wasn't aware of that.. thanks for the hesds up. ----- Andy Piddock My software never has bugs. It just develops random features. Copy the new cloud space, get your free 15GB space now: Get Copy Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Sharing-Stacks-tp4706696p4706750.html Sent from the Revolution - User mailing list archive at Nabble.com. From bernd.niggemann at uni-wh.de Fri Jul 15 05:42:57 2016 From: bernd.niggemann at uni-wh.de (BNig) Date: Fri, 15 Jul 2016 02:42:57 -0700 (PDT) Subject: Pass multiple strings as params via "command" In-Reply-To: <91C0B653-6F63-49BC-AEAC-89B62BA8C361@hindu.org> References: <8890A651-9434-475D-91D9-5AEABF08BBDA@hindu.org> <020D74DC-9D10-4322-992E-8AA475740B40@swcp.com> <0A48603E-B66C-4666-B094-A011CDFB4AAB@swcp.com> <1468539512690-4706737.post@n4.nabble.com> <91C0B653-6F63-49BC-AEAC-89B62BA8C361@hindu.org> Message-ID: <1468575777243-4706751.post@n4.nabble.com> this seems to work: -------------------- put "media/type" into par1; put "art/paint" into par2; TestParams par1, par2 -------------------- from the message box. Kind regards Bernd Sannyasin Brahmanathaswami wrote > in msg box enter > > testParams "1+2", "3+4" > > result: > > 1+2 > 7 > > "nasty" > > > > I don't have errors with LC 6/7/8 from a script (not msg). > From msg box I have also no errors when using LC 6 and 7. > > But from msg box with LC 8. > This is probably a bug in LC 8, that msg box command tries to *evaluate* > the second param. > > You can see this if you use for example > fetchRandomMediaItem "a/b", "a=a" -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Pass-multiple-strings-as-params-via-command-tp4706731p4706751.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Fri Jul 15 13:07:08 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 15 Jul 2016 17:07:08 +0000 (UTC) Subject: Sharing Stacks References: <5787A30E.1010709@fourthworld.com> <1468524373681-4706727.post@n4.nabble.com> <1468542180324-4706739.post@n4.nabble.com> Message-ID: [-hh] writes: > That's not true, you can upload zips. Simply use the zipContainer there: > Drag your zip to the stack (=zipContainer) and upload the stack I don't understand this. The three options are Stack, Code, and External. What am I missing? -- Mark Wieder ahsoftware at gmail.com From brahma at hindu.org Fri Jul 15 13:31:38 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 15 Jul 2016 17:31:38 +0000 Subject: Extracting JSON Arrays from inside Json Objects In-Reply-To: References: Message-ID: <68300153-9B33-4FBB-A400-E6C09FAFB5C5@hindu.org> aLiveCodeArray["formats"][1]["filename"] Peter Thanks Peter.. I get it? I think? In the following we actually have a nested object. Hence the need to use [1]. As per the JSON "rules" for what an array may contain An array is an ordered collection of values. An array begins with [ (left bracket) and ends with ] (right bracket). Values are separated by , (comma). A value can be a string in double quotes, or a number, or true or false or null, or an object or an array. These structures can be nested. "formats": [{ "filename": "gr_1999-01-11_the-path-to-god.mp3", "format_name": "mp3", "isbn": null, "item_format_id": 1009, "item_id": 1217, "sale_date": null, "url": null }], From hh at hh.on-rev.com Fri Jul 15 12:59:49 2016 From: hh at hh.on-rev.com (-hh) Date: Fri, 15 Jul 2016 09:59:49 -0700 (PDT) Subject: Sharing Stacks In-Reply-To: References: <5787A30E.1010709@fourthworld.com> <1468524373681-4706727.post@n4.nabble.com> <1468542180324-4706739.post@n4.nabble.com> Message-ID: <1468601989109-4706754.post@n4.nabble.com> zipContainer is a "utility"-stack (I uploaded yesterday) that sets a zip as property of a stack, for uploading as stack. Uploader has nothing more to do than to select the zip, fill and save the container and upload it. Downloader of the filled container have only to click a button to extract the zip. mwieder wrote > [-hh] <hh at ...> writes: > >> That's not true, you can upload zips. Simply use the zipContainer there: >> Drag your zip to the stack (=zipContainer) and upload the stack > > I don't understand this. > The three options are Stack, Code, and External. > What am I missing? > > -- > Mark Wieder > > ahsoftware@ > > > > _______________________________________________ > use-livecode mailing list > use-livecode at .runrev > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Sharing-Stacks-tp4706696p4706754.html Sent from the Revolution - User mailing list archive at Nabble.com. From brahma at hindu.org Fri Jul 15 13:42:53 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 15 Jul 2016 17:42:53 +0000 Subject: Front and Backscripts During Development Message-ID: <57CD6321-486B-4378-8F87-B4E8DBED887F@hindu.org> Scenario: You have a text only stack/script/lib that you are editing, either in a text editor or in LC script editor. This file was previously saved on disk and is auto loaded into the backscript on start up. So now you are continuing work in "sesson 2" changes in the script will not be reflected in the backscript, because they are only made on disk. So you have to create a button or some utility (message box fails 50% of the time right now in 8.1) to fire a preopenstack handler that may have your "kickoff": put ( getPathForSharedLibraries() & "/backscripts/itemMetadataParser.livecodescript") into tMediaParser insert the script of stack tMediaParser into back every time you make a change, if you want to test? Question is: is the stack script replaced in the backscript? or do we start to duplicate it everytime we insert into back? Also, how can one inspect the backscript? put backscript returns nothing BR From mwieder at ahsoftware.net Fri Jul 15 13:46:44 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 15 Jul 2016 17:46:44 +0000 (UTC) Subject: Extracting JSON Arrays from inside Json Objects References: <68300153-9B33-4FBB-A400-E6C09FAFB5C5@hindu.org> Message-ID: Sannyasin Brahmanathaswami writes: > Thanks Peter.. I get it? I think? In the following we actually have a nested object. Hence the need to use [1]. Exactly. Although the [1] is not because it's a nested object, but because it's (in this case) a collection of one nested JSON object. You have several options to deal with this, depending on how much control you have over the system. You can stick with what you posted, and then for the case where you have multiple formats you would use the numeric order, as in [1] This will work, but I find it awkward to remember the order, 1 = mp3 2 = pdf etc. If you have control over the generation of the JSON object, then you could either generate a collection formats = {key:value, key:value, etc} but given the fact that the key is named in the plural I'm guessing that's not what you want. In that case you could do formats = { "mp3": { "file": "filePath", etc}, "pdf" : {"file": "filePath", etc} } and so on. If you don't have control over the JSON generation aspect of the system and are just consuming JSON objects that are generated externally then stick with the [1] format (and use constants). -- Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Fri Jul 15 14:10:29 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 15 Jul 2016 18:10:29 +0000 (UTC) Subject: Front and Backscripts During Development References: <57CD6321-486B-4378-8F87-B4E8DBED887F@hindu.org> Message-ID: Sannyasin Brahmanathaswami writes: > Question is: is the stack script replaced in the backscript? or do we start to duplicate it everytime we insert into back? The backscript reference is just a reference to the actual script. So yes, you can edit it live, apply the change, and the backscript will have the new change. If the order of backscripts matters then you might have to insert the script again, but that way lies madness. > Also, how can one inspect the backscript? ? which one ? put the backscripts shows you what's currently in use. Then you can say edit the script of -- Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Fri Jul 15 14:20:32 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 15 Jul 2016 18:20:32 +0000 (UTC) Subject: Sharing Stacks References: <5787A30E.1010709@fourthworld.com> <1468524373681-4706727.post@n4.nabble.com> <1468542180324-4706739.post@n4.nabble.com> <1468601989109-4706754.post@n4.nabble.com> Message-ID: [-hh] writes: > zipContainer is a "utility"-stack (I uploaded yesterday) that > sets a zip as property of a stack, for uploading as stack. Ah. OK - got it. That's clever. As an enhancement request, how about the ability to display text or README.md files before unzipping? -- Mark Wieder ahsoftware at gmail.com From brahma at hindu.org Fri Jul 15 14:28:08 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 15 Jul 2016 18:28:08 +0000 Subject: Extracting JSON Arrays from inside Json Objects In-Reply-To: References: <68300153-9B33-4FBB-A400-E6C09FAFB5C5@hindu.org> Message-ID: <7CCAB68D-9F65-4093-AA6B-46E6ED6328E0@hindu.org> We do have control over the formation of the JSON, which is done by our web server API. for every media item record in the "item" table, there is a corresponding series of records in the "item_formats" table. So the JSON is returning the values for all the records in the item_formats table that are related to the one record in the item table. one media item will have many item_format entries So the item_format column "filename" has the file name(s) for the media item on disk; "format_name" is a generic column that carries DCIM and W3C standard metadata about the that file (audio: mp3, books epub mobi, pdf; art: 300x500, 1000x1400 etc?) I actually think I like using a nested object, because then I don't have to wrap my head around thinking of it differently as a "string/list" We use a lot of deeply nested multi-dimensional arrays on the web server (revIgniter) so our brains are wired already for this style ["formats"][1]["filename"] keeps it all consistent too? no subtle nuanced change of methods needed in the parser code app side? BR mark wrote: Thanks Peter.. I get it? I think? In the following we actually have a nested object. Hence the need to use [1]. Exactly. Although the [1] is not because it's a nested object, but because it's (in this case) a collection of one nested JSON object. You have several options to deal with this, depending on how much control you have over the system. You can stick with what you posted, and then for the case where you have multiple formats you would use the numeric order, as in [1] This will work, but I find it awkward to remember the order, 1 = mp3 2 = pdf etc. If you have control over the generation of the JSON object, then you could either generate a collection formats = {key:value, key:value, etc} but given the fact that the key is named in the plural I'm guessing that's not what you want. In that case you could do formats = { "mp3": { "file": "filePath", etc}, "pdf" : {"file": "filePath", etc} } and so on. If you don't have control over the JSON generation aspect of the system and are just consuming JSON objects that are generated externally then stick with the [1] format (and use constants). -- Mark Wieder From hh at hh.on-rev.com Fri Jul 15 16:11:29 2016 From: hh at hh.on-rev.com (-hh) Date: Fri, 15 Jul 2016 13:11:29 -0700 (PDT) Subject: Sharing Stacks In-Reply-To: References: <5787A30E.1010709@fourthworld.com> <1468524373681-4706727.post@n4.nabble.com> <1468542180324-4706739.post@n4.nabble.com> <1468601989109-4706754.post@n4.nabble.com> Message-ID: <1468613489575-4706760.post@n4.nabble.com> I added an info field who's text should be deleted or replaced by a "readme" to the zip. The empty zipContainer is just a template. Of course everybody can add features to his filled container (for example the ability to extract parts of the zip only). *** It is at any rate now a method to upload (zipped) widgets to revOnline. *** p.s. How about a *control* that is a 'scripted zip container'? As part of 'PowerTools'? mwieder wrote > [-hh] <hh at ...> writes: > >> zipContainer is a "utility"-stack (I uploaded yesterday) that >> sets a zip as property of a stack, for uploading as stack. > > Ah. OK - got it. That's clever. > As an enhancement request, how about the ability to display > text or README.md files before unzipping? > > -- > Mark Wieder > > ahsoftware@ > > > > _______________________________________________ > use-livecode mailing list > use-livecode at .runrev > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Sharing-Stacks-tp4706696p4706760.html Sent from the Revolution - User mailing list archive at Nabble.com. From alex at tweedly.net Fri Jul 15 19:21:45 2016 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 16 Jul 2016 00:21:45 +0100 Subject: Using the files() function Message-ID: I've always just used the 'english' version, i.e. put the files into tVar rather than the function version, put files() into tVar but now that the function version allows an optional parameter, I'd rather use that. Is there a way to do the equivalent of "put the detailed files into tVar" ? Thanks -- Alex From hh at hh.on-rev.com Fri Jul 15 19:02:41 2016 From: hh at hh.on-rev.com (-hh) Date: Fri, 15 Jul 2016 16:02:41 -0700 (PDT) Subject: Using the files() function In-Reply-To: References: Message-ID: <1468623761033-4706762.post@n4.nabble.com> It's connected to that. You could add your enhancement request there? http://quality.livecode.com/show_bug.cgi?id=18010 Alex Tweedly wrote > I've always just used the 'english' version, i.e. > > put the files into tVar > > rather than the function version, > > put files() into tVar > > but now that the function version allows an optional parameter, I'd > rather use that. > > Is there a way to do the equivalent of "put the detailed files into tVar" > ? > > Thanks > > -- Alex > > > _______________________________________________ > use-livecode mailing list > use-livecode at .runrev > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Using-the-files-function-tp4706761p4706762.html Sent from the Revolution - User mailing list archive at Nabble.com. From alex at tweedly.net Fri Jul 15 19:49:09 2016 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 16 Jul 2016 00:49:09 +0100 Subject: New(ish) option on the filter command Message-ID: OK, so it's not that new - it was added in 6.1 :-) filter now allows you to specify a "target container", e.g. filter myVar with "*.livecode" into tStacks Would it be a reasonable enhancement request to allow not just "into", but also "after" and "before" ? e.g. put files() into t filter t with "*.jpg" into tFiles filter t with "*.jpeg" after tFiles etc. btw - if you are hopeful and just try the "after variant", it doesn't give you an error - it simply ignores the "after targetContainer" part, and filters the source container. Seems to me that's a bug - anyone agree and I'll enter it as such ? -- Alex. From alex at tweedly.net Fri Jul 15 19:51:21 2016 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 16 Jul 2016 00:51:21 +0100 Subject: Using the files() function In-Reply-To: <1468623761033-4706762.post@n4.nabble.com> References: <1468623761033-4706762.post@n4.nabble.com> Message-ID: <3e1413f2-c6a7-9133-59e7-13711be6f4da@tweedly.net> I see Mark Waddingham has already added an equivalent suggestion, so no need for me to do so. Thanks -- Alex. On 16/07/2016 00:02, [-hh] wrote: > It's connected to that. You could add your enhancement request there? > http://quality.livecode.com/show_bug.cgi?id=18010 > > > > Alex Tweedly wrote >> I've always just used the 'english' version, i.e. >> >> put the files into tVar >> >> rather than the function version, >> >> put files() into tVar >> >> but now that the function version allows an optional parameter, I'd >> rather use that. >> >> Is there a way to do the equivalent of "put the detailed files into tVar" >> ? >> >> Thanks >> >> -- Alex >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at .runrev >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Using-the-files-function-tp4706761p4706762.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hh.on-rev.com Fri Jul 15 19:22:11 2016 From: hh at hh.on-rev.com (-hh) Date: Fri, 15 Jul 2016 16:22:11 -0700 (PDT) Subject: New(ish) option on the filter command In-Reply-To: References: Message-ID: <1468624931053-4706765.post@n4.nabble.com> Usually one would do put cr & resultOfFilter2 after resultOfFilter1 So the problem could be: What should "filter .. after tVar" exactly do? Simply concatenate? Or use the current linedelimiter as "connector"? Alex Tweedly wrote > OK, so it's not that new - it was added in 6.1 :-) > > filter now allows you to specify a "target container", e.g. > > filter myVar with "*.livecode" into tStacks > > > Would it be a reasonable enhancement request to allow not just "into", > but also "after" and "before" ? > > e.g. > > put files() into t > > filter t with "*.jpg" into tFiles > > filter t with "*.jpeg" after tFiles > > etc. > > btw - if you are hopeful and just try the "after variant", it doesn't > give you an error - it simply ignores the "after targetContainer" part, > and filters the source container. Seems to me that's a bug - anyone > agree and I'll enter it as such ? > > -- Alex. > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at .runrev > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/New-ish-option-on-the-filter-command-tp4706763p4706765.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Fri Jul 15 20:45:44 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 15 Jul 2016 17:45:44 -0700 Subject: Extracting JSON Arrays from inside Json Objects In-Reply-To: <7CCAB68D-9F65-4093-AA6B-46E6ED6328E0@hindu.org> References: <68300153-9B33-4FBB-A400-E6C09FAFB5C5@hindu.org> <7CCAB68D-9F65-4093-AA6B-46E6ED6328E0@hindu.org> Message-ID: <578983B8.4010302@ahsoftware.net> On 07/15/2016 11:28 AM, Sannyasin Brahmanathaswami wrote: > I actually think I like using a nested object Right. I wasn't suggesting *not* using a nested object, just changing the format slightly: { "file_id": "gr_1999-01-11_the-path-to-god", "file_size": null, "file_type": null, "format": null, "formats": { "mp3": { "filename": "gr_1999-01-11_the-path-to-god.mp3", "isbn": null, "item_format_id": 1009, "item_id": 1217, "sale_date": null, "url": null }, "pdf": { "filename": "this_is_my_filename.pdf", "isbn": null, "item_format_id": 1009, "item_id": 1217, "sale_date": null, "url": null } }, "framesize": null, "genre": null } That way you pick out the information from the array as aLiveCodeArray["formats"]["mp3"]["filename"] -- Mark Wieder ahsoftware at gmail.com From monte at appisle.net Fri Jul 15 21:12:09 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 16 Jul 2016 11:12:09 +1000 Subject: Script Only Stacks and Script Locals In-Reply-To: <91B52A19-1959-43B5-BC4F-AFE8DD650D02@hindu.org> References: <91B52A19-1959-43B5-BC4F-AFE8DD650D02@hindu.org> Message-ID: > On 15 Jul 2016, at 2:21 PM, Sannyasin Brahmanathaswami wrote: > > yet to be tested, but interested in caveats > > assume script only stack(s) > > script "backScriptOne" " #saved text only as "backScriptOne.livecodescript" > > with script locals: > > local sMediaMetadata > > # more functions > # save to disk > # call and insert into back script > > am I correct that now "sMediaMetadata" is a live script local that is private to all functions in backscript? Yes > > i.e not a globals as such, but still available to any other stack commands or functions that may be inserted into back? > > i.e. if we insert another lib > > script "someBackScriptTwo" #saved text only as "backScriptTwo.livecodescript" > > will sMediaMetadata > > be available for commands and functions in backScriptTwo.livecodescript No A script only stack is a script file that when loaded is represented by a stack object. It (and its script) behaves the same as any other stack other than no properties of it or objects on it are saved when you save it and it defaults to invisible. I?m giving a talk on script only stacks at the conference if you are coming. Cheers Monte From brahma at hindu.org Fri Jul 15 21:34:05 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 16 Jul 2016 01:34:05 +0000 Subject: Script Only Stacks and Script Locals In-Reply-To: References: <91B52A19-1959-43B5-BC4F-AFE8DD650D02@hindu.org> Message-ID: <8D5260C6-03B5-4CA4-9885-CE1D59F86EFA@hindu.org> This is important "news" There is no such thing really as "a" backscript, singular. I was always under the impression that inserting into back would be like concatenating scripts into one giant "backscript" But what we see now is that every script inserted into "back" is encapsulated, if indeed, as you say? "No? the script locals from "inserted script 1" are not available to handlers in "inserted script 2". This is important in terms of architecture that seeks to avoid use of globals, but at the same time wants to try to follow "single instance/class " in a MVC framework as much as possible? which present a challenge in that script only stacks have no custom props which was the "other" way to store persistence data across session/stacks/handlers if you were trying to avoid globals. But now it seems we've come full circle. Again, it may be my limited vision? but if I have a backscript that, in the current scenario I am working on, fetches data from the server -- in this case an array with all the metadata about a media object we can call into the client side app (but it could be any data that wants to be globally persistant and available) with script only stacks, we have little choice but to start using Globals again? (with all the headaches that come with that scenario) if I want aMediaItemData (an array) to be available later or from an independent script only stack the only option will be to a) store as a custom props in the splash screen/loader stack, and make this a "convention" in your architecture OR b) declare in the stack that generates the data Global aMediaItemData c) Follow Code Igniter/RevIgniter's lead and set up a single giant global called "gData" array and then this is your spaceship/eggcarton/suitcase for *everything* that needs to persist across controllers/model/views at any time. If one is consistent in nomenclature you know what you have? So then we have gData[aMediaItemData] gData[someOtherArray2] gData[someOtherArray3] which may be the best way to go.. most of this data is comprise of small text chunks and not blobs, so from a memory angle it should not be problematic. I won't be at the conference? I hope it is recorded! BR From: use-livecode on behalf of Monte Goulding Reply-To: How LiveCode Date: Friday, July 15, 2016 at 3:12 PM To: How LiveCode Subject: Re: Script Only Stacks and Script Locals On 15 Jul 2016, at 2:21 PM, Sannyasin Brahmanathaswami > wrote: yet to be tested, but interested in caveats assume script only stack(s) script "backScriptOne" " #saved text only as "backScriptOne.livecodescript" with script locals: local sMediaMetadata # more functions # save to disk # call and insert into back script am I correct that now "sMediaMetadata" is a live script local that is private to all functions in backscript? Yes i.e not a globals as such, but still available to any other stack commands or functions that may be inserted into back? i.e. if we insert another lib script "someBackScriptTwo" #saved text only as "backScriptTwo.livecodescript" will sMediaMetadata be available for commands and functions in backScriptTwo.livecodescript No A script only stack is a script file that when loaded is represented by a stack object. It (and its script) behaves the same as any other stack other than no properties of it or objects on it are saved when you save it and it defaults to invisible. I?m giving a talk on script only stacks at the conference if you are coming. Cheers Monte From monte at appisle.net Fri Jul 15 21:53:18 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 16 Jul 2016 11:53:18 +1000 Subject: Script Only Stacks and Script Locals In-Reply-To: <8D5260C6-03B5-4CA4-9885-CE1D59F86EFA@hindu.org> References: <91B52A19-1959-43B5-BC4F-AFE8DD650D02@hindu.org> <8D5260C6-03B5-4CA4-9885-CE1D59F86EFA@hindu.org> Message-ID: <6E75FBB7-3759-48A8-B15B-1D10EE8DC147@appisle.net> > On 16 Jul 2016, at 11:34 AM, Sannyasin Brahmanathaswami wrote: > > This is important "news" > > There is no such thing really as "a" backscript, singular. I was always under the impression that inserting into back would be like concatenating scripts into one giant "backscript" > > But what we see now is that every script inserted into "back" is encapsulated, if indeed, as you say? "No? the script locals from "inserted script 1" are not available to handlers in "inserted script 2?. This isn?t anything new so I guess you had a mistaken understanding of the message path here. The same is true for frontScripts and library stacks. In fact there is also the issue that if multiple frontScripts implement the same handler then the one that gets to handle it is basically just the most recently inserted that gets to handle it. > > This is important in terms of architecture that seeks to avoid use of globals, but at the same time wants to try to follow "single instance/class " in a MVC framework as much as possible? > > which present a challenge in that script only stacks have no custom props which was the "other" way to store persistence data across session/stacks/handlers if you were trying to avoid globals. They do have custom properties the same as every other object but they aren?t saved. > > But now it seems we've come full circle. Again, it may be my limited vision? but if I have a backscript that, in the current scenario I am working on, fetches data from the server -- in this case an array with all the metadata about a media object we can call into the client side app (but it could be any data that wants to be globally persistant and available) with script only stacks, we have little choice but to start using Globals again? (with all the headaches that come with that scenario) if I want aMediaItemData (an array) to be available later or from an independent script only stack the only option will be to This is not true. You can use custom properties in script only stacks as I said above but my preference is to use a handler to get the data from a script local as custom properties suffer from the same issues as globals where it can be too flexible what scripts are messing with them. > > > I won't be at the conference? I hope it is recorded! It will be there is a simulcast available. Cheers Monte From brahma at hindu.org Fri Jul 15 22:03:23 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 16 Jul 2016 02:03:23 +0000 Subject: Extracting JSON Arrays from inside Json Objects In-Reply-To: <578983B8.4010302@ahsoftware.net> References: <68300153-9B33-4FBB-A400-E6C09FAFB5C5@hindu.org> <7CCAB68D-9F65-4093-AA6B-46E6ED6328E0@hindu.org> <578983B8.4010302@ahsoftware.net> Message-ID: mark wrote: BR: I actually think I like using a nested object M: Right. I wasn't suggesting *not* using a nested object, just changing the format slightly: { "file_id": "gr_1999-01-11_the-path-to-god", "file_size": null, "file_type": null, "format": null, "formats": { "mp3": { "filename": "gr_1999-01-11_the-path-to-god.mp3", "isbn": null, "item_format_id": 1009, "item_id": 1217, "sale_date": null, "url": null }, "pdf": { "filename": "this_is_my_filename.pdf", [snip] That way you pick out the information from the array as aLiveCodeArray["formats"]["mp3"]["filename"] ------------- That?s a tempting alternative. scenarios vary depending on media_type art/painting art/drawing art/vector records will all have associated item_format table records that current output like this: "formats": [ { "filename": "p6_rajam_ful.jpg", "format_name": "2531x4000", "isbn": null, "item_format_id": 43430, "item_id": 3268, "sale_date": "0000-00-00 00:00:00", "url": null }, { "filename": "p6_rajam_lrg.jpg", "format_name": "911x1440", "isbn": null, "item_format_id": 43429, "item_id": 3268, "sale_date": "0000-00-00 00:00:00", "url": null }, { "filename": "p6_rajam_med.jpg", "format_name": "316x500", "isbn": null, "item_format_id": 43428, "item_id": 3268, "sale_date": "0000-00-00 00:00:00", "url": null }, { "filename": "p6_rajam_sml.jpg", "format_name": "523x390", "isbn": null, "item_format_id": 43427, "item_id": 3268, "sale_date": "0000-00-00 00:00:00", "url": null }, { "filename": "p6_rajam_thm.jpg", "format_name": "149x111", "isbn": null, "item_format_id": 43426, "item_id": 3268, "sale_date": "0000-00-00 00:00:00", "url": null } so this would translated into, using your model {"file_id": "p6_rajam", "formats": [ { "2531x4000": { "filename": "p6_rajam_ful.jpg", "isbn": null, "item_format_id": 43430, "item_id": 3268, "sale_date": "0000-00-00 00:00:00", "url": null }, "911x1440" { "filename": "p6_rajam_lrg.jpg", "isbn": null, "item_format_id": 43429, "item_id": 3268, "sale_date": "0000-00-00 00:00:00", "url": null }, Actually there is some utility in that form. The second element in the array becomes intelligible vs "[1]" and would mean less parsing to find what we want, typically "format_name" does in fact tell us what file we want, in the case of art, the rect is "mission critical" on making a selection for any given view context, similarly for books (epub or pdf) thanks! From mwieder at ahsoftware.net Fri Jul 15 22:41:39 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 15 Jul 2016 19:41:39 -0700 Subject: Script Only Stacks and Script Locals In-Reply-To: <8D5260C6-03B5-4CA4-9885-CE1D59F86EFA@hindu.org> References: <91B52A19-1959-43B5-BC4F-AFE8DD650D02@hindu.org> <8D5260C6-03B5-4CA4-9885-CE1D59F86EFA@hindu.org> Message-ID: <57899EE3.10906@ahsoftware.net> On 07/15/2016 06:34 PM, Sannyasin Brahmanathaswami wrote: > But now it seems we've come full circle. Or just have getter/setter functions in the backscript and avoid global variables altogether: # aMediaItemData is private to the backscript local aMediaItemData -- but you can still get to it function MediaItemData pKey if pKey is empty then -- return the entire array return aMediaItemData else return aMediaItemData[pKey] end if end MediaItemData on SetMediaItemData pKey, pValue put pValue into aMediaItemData[pKey] end SetMediaItemData ...then from your stack: SetMediaItemData "KeyString", "ValueString" put MediaItemData() into aBigArray put MediaItemData(someKey) into aVariable -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Fri Jul 15 23:20:06 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 15 Jul 2016 22:20:06 -0500 Subject: Script Only Stacks and Script Locals In-Reply-To: <8D5260C6-03B5-4CA4-9885-CE1D59F86EFA@hindu.org> References: <91B52A19-1959-43B5-BC4F-AFE8DD650D02@hindu.org> <8D5260C6-03B5-4CA4-9885-CE1D59F86EFA@hindu.org> Message-ID: On 7/15/2016 8:34 PM, Sannyasin Brahmanathaswami wrote: > There is no such thing really as "a" backscript, singular. I was > always under the impression that inserting into back would be like > concatenating scripts into one giant "backscript" Actually, they have always been independently layered scripts. The most recently inserted backscript is "behind" other backscripts. Since commands usually go through the card layer first, you don't often notice the layering. But if you have the same handler name in two backscripts, their layer can make a difference, which is why that situation should be avoided. Frontscripts work the same way, but in the other direction. The most recently inserted frontscipt is "in front" of any others. > > But what we see now is that every script inserted into "back" is > encapsulated, if indeed, as you say? "No? the script locals from > "inserted script 1" are not available to handlers in "inserted script > 2". Right. A script-local variable's scope is limited to the script that contains it. > > This is important in terms of architecture that seeks to avoid use of > globals, but at the same time wants to try to follow "single > instance/class " in a MVC framework as much as possible? Aside from the three methods you mentioned (custom properties, globals, huge array) there's another one. I often create one-line functions that return the script local when requested: function getSMediaItemData return sMediaItemData end getSMediaItemData That gives you the limited scope of a script local but also provides accessibility from anywhere. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Fri Jul 15 23:25:38 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 15 Jul 2016 20:25:38 -0700 Subject: Script Only Stacks and Script Locals In-Reply-To: References: <91B52A19-1959-43B5-BC4F-AFE8DD650D02@hindu.org> <8D5260C6-03B5-4CA4-9885-CE1D59F86EFA@hindu.org> Message-ID: <5789A932.7060806@ahsoftware.net> On 07/15/2016 08:20 PM, J. Landman Gay wrote: > function getSMediaItemData > return sMediaItemData > end getSMediaItemData gmta On the other hand, Brahmanathaswami, if you're going to store the data in a backscript, why not put the functions that manipulate the array in the backscript as well? -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Fri Jul 15 23:35:16 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 15 Jul 2016 22:35:16 -0500 Subject: Script Only Stacks and Script Locals In-Reply-To: <5789A932.7060806@ahsoftware.net> References: <91B52A19-1959-43B5-BC4F-AFE8DD650D02@hindu.org> <8D5260C6-03B5-4CA4-9885-CE1D59F86EFA@hindu.org> <5789A932.7060806@ahsoftware.net> Message-ID: On 7/15/2016 10:25 PM, Mark Wieder wrote: > On 07/15/2016 08:20 PM, J. Landman Gay wrote: > >> function getSMediaItemData >> return sMediaItemData >> end getSMediaItemData > > gmta Yeah, and Monte too. Parallel evolution. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at appisle.net Fri Jul 15 23:52:17 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 16 Jul 2016 13:52:17 +1000 Subject: Script Only Stacks and Script Locals In-Reply-To: References: <91B52A19-1959-43B5-BC4F-AFE8DD650D02@hindu.org> <8D5260C6-03B5-4CA4-9885-CE1D59F86EFA@hindu.org> <5789A932.7060806@ahsoftware.net> Message-ID: > On 16 Jul 2016, at 1:35 PM, J. Landman Gay wrote: > >>> function getSMediaItemData >>> return sMediaItemData >>> end getSMediaItemData >> >> gmta > > Yeah, and Monte too. Parallel evolution. I think it makes the most sense when any of the following are true: - only want read only access - want to sanitise the value on set or take some other action - want to be able to change data storage without impacting any reliant code It should be noted that getProp and setProp handlers might seem ideal for this but they aren?t sent when lockmessages is true which generally means code that needs to be robust to that (code running in an unknown or complex environment) can?t use them at all. One of my concerns is that there is significant use of them in the IDE so that will need to get sorted at some point. For reference: http://quality.livecode.com/show_bug.cgi?id=226 I suspect this should be upgraded to an ANOMALY report meaning something we hope to one day work out how to resolve in a backwards compatible way. One way would perhaps be to declare a virtual property and declared properties would always call setProp and getProp and never set the custom property itself (depending on the script to do that if necessary): property myProp local sProp setProp myProp pVal put pVal into sProp end myProp getProp myProp return sProp end myProp Cheers Monte From iphonelagi at gmail.com Sat Jul 16 04:20:05 2016 From: iphonelagi at gmail.com (Iphonelagi) Date: Sat, 16 Jul 2016 09:20:05 +0100 Subject: Sharing Stacks In-Reply-To: <1468613489575-4706760.post@n4.nabble.com> References: <5787A30E.1010709@fourthworld.com> <1468524373681-4706727.post@n4.nabble.com> <1468542180324-4706739.post@n4.nabble.com> <1468601989109-4706754.post@n4.nabble.com> <1468613489575-4706760.post@n4.nabble.com> Message-ID: <0EC89067-3D7A-4CB6-9CAB-D4CFC4C467A1@gmail.com> How about they put the source on GitHub and then we can make it what we want ... And the core team can get on with the real work How about it Richard? Sent from my iPhone > On 15 Jul 2016, at 21:11, [-hh] wrote: > > I added an info field who's text should be > deleted or replaced by a "readme" to the zip. > > The empty zipContainer is just a template. > Of course everybody can add features to his > filled container (for example the ability > to extract parts of the zip only). > > *** It is at any rate now a method to upload > (zipped) widgets to revOnline. *** > > p.s. How about a *control* that is a > 'scripted zip container'? As part of > 'PowerTools'? > > > mwieder wrote >> [-hh] <hh at ...> writes: >> >>> zipContainer is a "utility"-stack (I uploaded yesterday) that >>> sets a zip as property of a stack, for uploading as stack. >> >> Ah. OK - got it. That's clever. >> As an enhancement request, how about the ability to display >> text or README.md files before unzipping? >> >> -- >> Mark Wieder > >> ahsoftware@ > >> >> >> >> _______________________________________________ >> use-livecode mailing list > >> use-livecode at .runrev > >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Sharing-Stacks-tp4706696p4706760.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From iphonelagi at gmail.com Sat Jul 16 04:20:05 2016 From: iphonelagi at gmail.com (Iphonelagi) Date: Sat, 16 Jul 2016 09:20:05 +0100 Subject: Sharing Stacks In-Reply-To: <1468613489575-4706760.post@n4.nabble.com> References: <5787A30E.1010709@fourthworld.com> <1468524373681-4706727.post@n4.nabble.com> <1468542180324-4706739.post@n4.nabble.com> <1468601989109-4706754.post@n4.nabble.com> <1468613489575-4706760.post@n4.nabble.com> Message-ID: <0EC89067-3D7A-4CB6-9CAB-D4CFC4C467A1@gmail.com> How about they put the source on GitHub and then we can make it what we want ... And the core team can get on with the real work How about it Richard? Sent from my iPhone > On 15 Jul 2016, at 21:11, [-hh] wrote: > > I added an info field who's text should be > deleted or replaced by a "readme" to the zip. > > The empty zipContainer is just a template. > Of course everybody can add features to his > filled container (for example the ability > to extract parts of the zip only). > > *** It is at any rate now a method to upload > (zipped) widgets to revOnline. *** > > p.s. How about a *control* that is a > 'scripted zip container'? As part of > 'PowerTools'? > > > mwieder wrote >> [-hh] <hh at ...> writes: >> >>> zipContainer is a "utility"-stack (I uploaded yesterday) that >>> sets a zip as property of a stack, for uploading as stack. >> >> Ah. OK - got it. That's clever. >> As an enhancement request, how about the ability to display >> text or README.md files before unzipping? >> >> -- >> Mark Wieder > >> ahsoftware@ > >> >> >> >> _______________________________________________ >> use-livecode mailing list > >> use-livecode at .runrev > >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Sharing-Stacks-tp4706696p4706760.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hh.on-rev.com Sat Jul 16 04:15:35 2016 From: hh at hh.on-rev.com (-hh) Date: Sat, 16 Jul 2016 01:15:35 -0700 (PDT) Subject: Sharing Stacks In-Reply-To: <0EC89067-3D7A-4CB6-9CAB-D4CFC4C467A1@gmail.com> References: <5787A30E.1010709@fourthworld.com> <1468524373681-4706727.post@n4.nabble.com> <1468542180324-4706739.post@n4.nabble.com> <1468601989109-4706754.post@n4.nabble.com> <1468613489575-4706760.post@n4.nabble.com> <0EC89067-3D7A-4CB6-9CAB-D4CFC4C467A1@gmail.com> Message-ID: <1468656935537-4706777.post@n4.nabble.com> The revonline stacks *ARE* on github. Last change revonlinelibrary.rev: a year ago Last change revonline.rev: 3 months ago I wonder why Richard speaks of work-"load" of the core team by revOnline? Who did it last did it *very* good, runs stable. The database handling is a well working script. The display works well after updating preferences (don't use the old one from before the "rebirth" 3 months ago). Not sent from anybody's iPhone Lagi Pittas wrote > How about they put the source on GitHub and then we can make it what we > want ... And the core team can get on with the real work > How about it Richard? > > Sent from my iPhone -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Sharing-Stacks-tp4706696p4706777.html Sent from the Revolution - User mailing list archive at Nabble.com. From bonnmike at gmail.com Sat Jul 16 10:26:20 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 16 Jul 2016 08:26:20 -0600 Subject: paypal encrypted buttons using lc Message-ID: Does anyone have experience using LC and openssl to create encrypted paypal buttons? If so, any chance I could see some sample code? From ambassador at fourthworld.com Sat Jul 16 11:15:26 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 16 Jul 2016 08:15:26 -0700 Subject: Sharing Stacks In-Reply-To: References: Message-ID: <578A4F8E.8070400@fourthworld.com> Mark Wieder wrote: > [-hh] writes: > >> zipContainer is a "utility"-stack (I uploaded yesterday) that >> sets a zip as property of a stack, for uploading as stack. > > Ah. OK - got it. That's clever. > As an enhancement request, how about the ability to display > text or README.md files before unzipping? A while back I started work on a pair of functions that use a stack file as a container for files compressed using LC's built-in gzip, storing things in a property set rather than a single property since of course gzip only handles single files. The advantage over Zip is minor, merely eliminating the need for an external. But it was simple enough that it seemed a good idea at the time. I got sidetracked while I was working on it and haven't been able to justify finishing it because I had no immediate use case for it and it didn't seem the sort of thing others would need. But if others would find it useful I could finish it. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sat Jul 16 11:20:27 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 16 Jul 2016 08:20:27 -0700 Subject: Sharing Stacks In-Reply-To: <1468656935537-4706777.post@n4.nabble.com> References: <1468656935537-4706777.post@n4.nabble.com> Message-ID: <578A50BB.20001@fourthworld.com> -hh wrote: > The revonline stacks *ARE* on github. > > Last change revonlinelibrary.rev: a year ago > Last change revonline.rev: 3 months ago > > I wonder why Richard speaks of work-"load" > of the core team by revOnline? I don't recall ever seeing pull requests on that from anyone else. > Who did it last did it *very* good, runs stable. > The database handling is a well working script. > The display works well after updating preferences > (don't use the old one from before the "rebirth" > 3 months ago). If no one's asking for changes then no changes would need to be made. > Not sent from anybody's iPhone Send from Thunderbird in Ubuntu on a custom-built PC :) (Why does Apple believe anyone cares about which email client was used to send a message?) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From alex at tweedly.net Sat Jul 16 15:40:03 2016 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 16 Jul 2016 20:40:03 +0100 Subject: Sharing Stacks In-Reply-To: <1468656935537-4706777.post@n4.nabble.com> References: <5787A30E.1010709@fourthworld.com> <1468524373681-4706727.post@n4.nabble.com> <1468542180324-4706739.post@n4.nabble.com> <1468601989109-4706754.post@n4.nabble.com> <1468613489575-4706760.post@n4.nabble.com> <0EC89067-3D7A-4CB6-9CAB-D4CFC4C467A1@gmail.com> <1468656935537-4706777.post@n4.nabble.com> Message-ID: <3b5ec87a-5adb-2352-123f-d2838bb74cad@tweedly.net> It's certainly much improved - but still feels under-developed, or under-resourced. Certainly under-tested. Five minutes playing shows up a variety of imperfections, ranging from trivial to fairly serious. All with 8.1.0 DP2, Macbook Pro, OSX 10.10.5 1. trivial 1a. Initial display shows : Sort by: A to That should of course be "A to Z" but the button isn't wide enough. 1b. Title (or headline) of the stack is "Livecode 7" 2. Minor. 2a. In list mode, the display shows a scrolling list of 10 items, plus on the right one larger one. This is often not upated when the selection/search changes - so it is displaying a stack which is nothing to do with the current selection or visible list. 2b. List of tags (I think that's what they are). They are completely random - no organization, not sorted (even alphabetic would be some help). And they appear to be any random tag someone entered; it's helpful to look fr a tag like "library" or "utility" - but how much use is it to tag something as "Awesome" or "0m3ga" ? 3. More serious. 3a. When there is no internet connection, this is very poorly indicated. It's easy to miss the small text on the bottom line, so a search will display (sometimes) some subset of (I think) the already cached stacks - leading to a user believing it has done a search, and that there is no matching stack - when in fact there is simply no internet connection, and hence the search results are totally invalid. The indicator of no connection should be MUCH more visible - and maybe even things like search / filter should be disabled in that context. 3b. Display when no connection, and no cached items. When in list mode, with nothing cached - the right hand (i.e. major) item shows a blank, incomplete template for a stack display. Looks really wrong. And the "download" button should be disabled (or preferably not visible). Clicking on it send the IDE out to lunch - windows and toolbar are unresponsive - though fortunately the menu bar is OK, so it's easy to Quit and restart. 4. Worrying. The "status" display says "431 stacks online" - but selecting "All / All" says "showing 10 of 362 results". Where are the other 71 ? I'll submit these as bugs when I have time - but I don't yet feel inspired enough to spend any longer on revOnline just yet ... -- Alex. On 16/07/2016 09:15, [-hh] wrote: > The revonline stacks *ARE* on github. > > Last change revonlinelibrary.rev: a year ago > Last change revonline.rev: 3 months ago > > I wonder why Richard speaks of work-"load" > of the core team by revOnline? > > Who did it last did it *very* good, runs stable. > The database handling is a well working script. > The display works well after updating preferences > (don't use the old one from before the "rebirth" > 3 months ago). > > Not sent from anybody's iPhone > > > Lagi Pittas wrote >> How about they put the source on GitHub and then we can make it what we >> want ... And the core team can get on with the real work >> How about it Richard? >> >> Sent from my iPhone > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Sharing-Stacks-tp4706696p4706777.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Sat Jul 16 16:11:38 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 16 Jul 2016 20:11:38 +0000 Subject: Script Only Stacks and Script Locals In-Reply-To: <5789A932.7060806@ahsoftware.net> References: <91B52A19-1959-43B5-BC4F-AFE8DD650D02@hindu.org> <8D5260C6-03B5-4CA4-9885-CE1D59F86EFA@hindu.org> <5789A932.7060806@ahsoftware.net> Message-ID: <8945F79A-2095-4A30-8290-E8BA39921955@hindu.org> @ mark: "put functions that manipulate the array in the backscript as well?" yes? that's the direction I'm working in now. @ Jacque.. that function is very useful idea. "get set props" make my eyes roll I have yet to grok what they do and how they actually work?a Video on that subject would be awesome, appropriate use cases, "how it works" and "how to" and "when and why not to use them " etc. OTOH perhaps not using them is a better, I worry that key operations may be too "cloaked" somehow.. and make debugging harder BR On 7/15/16, 5:25 PM, "use-livecode on behalf of Mark Wieder" wrote: On 07/15/2016 08:20 PM, J. Landman Gay wrote: >function getSMediaItemData > return sMediaItemData >end getSMediaItemData gmta On the other hand, Brahmanathaswami, if you're going to store the data in a backscript, why not put the functions that manipulate the array in the backscript as well? From bonnmike at gmail.com Sat Jul 16 16:32:00 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 16 Jul 2016 14:32:00 -0600 Subject: Script Only Stacks and Script Locals In-Reply-To: <8945F79A-2095-4A30-8290-E8BA39921955@hindu.org> References: <91B52A19-1959-43B5-BC4F-AFE8DD650D02@hindu.org> <8D5260C6-03B5-4CA4-9885-CE1D59F86EFA@hindu.org> <5789A932.7060806@ahsoftware.net> <8945F79A-2095-4A30-8290-E8BA39921955@hindu.org> Message-ID: Sannyasin, you might find this page of interest. *http://lessons.livecode.com/m/4071/l/13158-what-are-the-alternatives-to-using-global-variables * On Sat, Jul 16, 2016 at 2:11 PM, Sannyasin Brahmanathaswami < brahma at hindu.org> wrote: > @ mark: "put functions that manipulate the array in the backscript as > well?" > > yes? that's the direction I'm working in now. > > @ Jacque.. that function is very useful idea. > > "get set props" make my eyes roll > > I have yet to grok what they do and how they actually work?a Video on that > subject would be awesome, appropriate use cases, "how it works" and "how > to" and "when and why not to use them " etc. > > OTOH perhaps not using them is a better, I worry that key operations may > be too "cloaked" somehow.. and make debugging harder > > BR > > On 7/15/16, 5:25 PM, "use-livecode on behalf of Mark Wieder" < > use-livecode-bounces at lists.runrev.com on behalf of mwieder at ahsoftware.net> > wrote: > > On 07/15/2016 08:20 PM, J. Landman Gay wrote: > > >function getSMediaItemData > > return sMediaItemData > >end getSMediaItemData > > gmta > > On the other hand, Brahmanathaswami, if you're going to store the data > in a backscript, why not put the functions that manipulate the array in > the backscript as well? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hh.on-rev.com Sat Jul 16 17:36:29 2016 From: hh at hh.on-rev.com (-hh) Date: Sat, 16 Jul 2016 14:36:29 -0700 (PDT) Subject: Sharing Stacks In-Reply-To: <3b5ec87a-5adb-2352-123f-d2838bb74cad@tweedly.net> References: <5787A30E.1010709@fourthworld.com> <1468524373681-4706727.post@n4.nabble.com> <1468542180324-4706739.post@n4.nabble.com> <1468601989109-4706754.post@n4.nabble.com> <1468613489575-4706760.post@n4.nabble.com> <0EC89067-3D7A-4CB6-9CAB-D4CFC4C467A1@gmail.com> <1468656935537-4706777.post@n4.nabble.com> <3b5ec87a-5adb-2352-123f-d2838bb74cad@tweedly.net> Message-ID: <1468704989066-4706784.post@n4.nabble.com> Alex, after writing that you are already perfectly in the state to edit the revonline stacks and make a pull request? The next step could be to remove the database errors of the 71 "missing" stacks. Perhaps this can be made clear during or after the LC conference (Richard will manage that). In late August I have some time to assist you (if needed). Hermann Alex Tweedly wrote > It's certainly much improved - but still feels under-developed, or > under-resourced. Certainly under-tested. > > Five minutes playing shows up a variety of imperfections, ranging from > trivial to fairly serious. > > All with 8.1.0 DP2, Macbook Pro, OSX 10.10.5 > > 1. trivial > > 1a. Initial display shows : Sort by: A to > > That should of course be "A to Z" but the button isn't wide enough. > > 1b. Title (or headline) of the stack is "Livecode 7" > > > 2. Minor. > > 2a. In list mode, the display shows a scrolling list of 10 items, plus > on the right one larger one. This is often not upated when the > selection/search changes - so it is displaying a stack which is nothing > to do with the current selection or visible list. > > 2b. List of tags (I think that's what they are). They are completely > random - no organization, not sorted (even alphabetic would be some > help). And they appear to be any random tag someone entered; it's > helpful to look fr a tag like "library" or "utility" - but how much use > is it to tag something as "Awesome" or "0m3ga" ? > > 3. More serious. > > 3a. When there is no internet connection, this is very poorly indicated. > It's easy to miss the small text on the bottom line, so a search will > display (sometimes) some subset of (I think) the already cached stacks - > leading to a user believing it has done a search, and that there is no > matching stack - when in fact there is simply no internet connection, > and hence the search results are totally invalid. The indicator of no > connection should be MUCH more visible - and maybe even things like > search / filter should be disabled in that context. > > 3b. Display when no connection, and no cached items. > > When in list mode, with nothing cached - the right hand (i.e. major) > item shows a blank, incomplete template for a stack display. Looks > really wrong. And the "download" button should be disabled (or > preferably not visible). Clicking on it send the IDE out to lunch - > windows and toolbar are unresponsive - though fortunately the menu bar > is OK, so it's easy to Quit and restart. > > 4. Worrying. > > The "status" display says "431 stacks online" - but selecting "All / > All" says "showing 10 of 362 results". > > Where are the other 71 ? > > > I'll submit these as bugs when I have time - but I don't yet feel > inspired enough to spend any longer on revOnline just yet ... > > -- Alex. > > > On 16/07/2016 09:15, [-hh] wrote: >> The revonline stacks *ARE* on github. >> >> Last change revonlinelibrary.rev: a year ago >> Last change revonline.rev: 3 months ago >> >> I wonder why Richard speaks of work-"load" >> of the core team by revOnline? >> >> Who did it last did it *very* good, runs stable. >> The database handling is a well working script. >> The display works well after updating preferences >> (don't use the old one from before the "rebirth" >> 3 months ago). >> >> Not sent from anybody's iPhone >> >> >> Lagi Pittas wrote >>> How about they put the source on GitHub and then we can make it what we >>> want ... And the core team can get on with the real work >>> How about it Richard? >>> >>> Sent from my iPhone >> >> >> >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/Sharing-Stacks-tp4706696p4706777.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> > use-livecode at .runrev >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at .runrev > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Sharing-Stacks-tp4706696p4706784.html Sent from the Revolution - User mailing list archive at Nabble.com. From alex at tweedly.net Sat Jul 16 19:10:18 2016 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 17 Jul 2016 00:10:18 +0100 Subject: New(ish) option on the filter command In-Reply-To: <1468624931053-4706765.post@n4.nabble.com> References: <1468624931053-4706765.post@n4.nabble.com> Message-ID: <73707d0d-83e9-a886-c8be-e9da7d4411ba@tweedly.net> On 16/07/2016 00:22, [-hh] wrote: > Usually one would do > put cr & resultOfFilter2 after resultOfFilter1 Well, that depends ... if the first one had produced no matches, then this statement would introduce a spurious blank line. > So the problem could be: > > What should "filter .. after tVar" exactly do? It should simply concatenate. Just like put myVar after myOtherVar does. If I had done it the old-fashioned way, like filter t with "*.jpg" into t1 filter t with "*.jpeg" into t2 put t1 & CR & t2 into myFinalVar then I would have needed to know that files(), and filter, both omit the final CR, and deal with it accordingly. So there's no reason for "filter ... after myVar" to try to be any cleverer than "put ... after myVar" > Simply concatenate? > Or use the current linedelimiter as "connector"? -- Alex. P.S. I could, of course, revive my old rant about the need for *proper* lists in LC Script, rather than always mimicking them as lines where we need to deal with trailing, or intermediate, delimiters, etc. Then we could avoid complexities like function concatenateLines p1, p2 put p1 into tResult if p1 is not empty AND p2 is not empty AND the last char of p1 <> CR then put CR after tResult put p2 after tResult return tResult end concatenateLines > > Alex Tweedly wrote >> OK, so it's not that new - it was added in 6.1 :-) >> >> filter now allows you to specify a "target container", e.g. >> >> filter myVar with "*.livecode" into tStacks >> >> >> Would it be a reasonable enhancement request to allow not just "into", >> but also "after" and "before" ? >> >> e.g. >> >> put files() into t >> >> filter t with "*.jpg" into tFiles >> >> filter t with "*.jpeg" after tFiles >> >> etc. >> >> btw - if you are hopeful and just try the "after variant", it doesn't >> give you an error - it simply ignores the "after targetContainer" part, >> and filters the source container. Seems to me that's a bug - anyone >> agree and I'll enter it as such ? >> >> -- Alex. >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at .runrev >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/New-ish-option-on-the-filter-command-tp4706763p4706765.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Sun Jul 17 23:15:48 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 18 Jul 2016 03:15:48 +0000 Subject: Manage Memory Heap on Mobile Message-ID: Do we have any discussion anywhere on the memory heap occupied by LC objects as they correlated to the different spaces discussed here? https://developer.android.com/training/articles/memory.html ?? "In order for the garbage collector to reclaim memory from your app, you need to avoid introducing memory leaks (usually caused by holding onto object references in global members) and release any Reference objects at the appropriate time (as defined by lifecycle callbacks discussed further below). For most apps, the Dalvik garbage collector takes care of the rest: the system reclaims your memory allocations when the corresponding objects leave the scope of your app's active threads." I guess the question, in LC terms, becomes, what is retained "holding onto" and what is "released" as you display cards, images, instantiate "big data" into custom props/arrays, read text files into globals etc. My particular use case is this: The "quotes" table in our database has 20,500 records. Exported form MySQL as JSON, we get a 9.5 MB file. I prefer my "human readable" text format which uses a (cr & |) at the end of each record? and tabs in between columns | quote_id [tab] subject [tab] citation [tab] content [tab] source_item_id [tab] source_url [tab] author [tab]author_dates This is very lean, allows for line breaks inside the content column. and I can open and edit in any text editor with each record beginning on a new line. This format is a 7.2MB file, and easily to split into an LC array. split aAllQuotes with "|" & tab You just have to remember there is trailing CR at the end of each of the last column (in this case "author_dates") which is rarely an issue. In our previous "Gurudeva.app" we has a similar file, but it was only about 700k? we read it into memory on start up, parsed this into an array and kept it in a global for instant access. But I suspect keeping an 8MB global is bad thing on mobile? when we say "not much memory/RAM" what exactly are we talking about? I suppose the more apps the user has open, the smaller the heap for any one of them?? Insights on best way to go if you wanted to get a random quote from the 8 MB file? typically we don't really want a random quote from all 20,000+ records, but a random quote from a subset of those? so perhaps breaking it into smaller files is a better way to go.. but eventually the app will read each one of those? so are they do they stay in memory? with CPU speeds perhaps the I/O time to read from disk, get what you want and then "release" the space (how would you do that?) is the better way to go? Insights? BR From peter.brett at livecode.com Mon Jul 18 10:07:00 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 18 Jul 2016 15:07:00 +0100 Subject: [ANN] This Week in LiveCode 42 Message-ID: <44e711e0-d6b7-e0cd-efda-1bf7eb213f55@livecode.com> Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #42 here: https://goo.gl/bfNksI This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! Are you doing something interesting with LiveCode Community Edition? Please get in touch and get it featured in "This Week in LiveCode"! Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode on reddit: https://reddit.com/r/livecode From MikeKerner at roadrunner.com Mon Jul 18 11:11:03 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 18 Jul 2016 11:11:03 -0400 Subject: PB in 8 Wishlist Message-ID: 1) Bring thumbnails back 2) Open when I open LC Watch, there will be simple fixes to both of these. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From ambassador at fourthworld.com Mon Jul 18 11:49:06 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Jul 2016 08:49:06 -0700 Subject: [ANN] This Week in LiveCode 42 In-Reply-To: <44e711e0-d6b7-e0cd-efda-1bf7eb213f55@livecode.com> References: <44e711e0-d6b7-e0cd-efda-1bf7eb213f55@livecode.com> Message-ID: <578CFA72.9020903@fourthworld.com> Thanks for the update, Peter. One of the items in this week's newsletter was particularly intriguing: Allow global handlers to be overridden by scripted handlers https://github.com/livecode/livecode/pull/4265 ...where Monte has this note: Previously global handlers took priority over handlers scripted in LCS. This patch enables a LCS handler the handle the global handler instead. This is necessary for for overriding the libURL commands on mobile. Can you or Monte elaborate on that? Is a "global handler" and engine handler? Does this mean we can now override engine-defined functions? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dochawk at gmail.com Mon Jul 18 12:33:18 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 18 Jul 2016 09:33:18 -0700 Subject: New(ish) option on the filter command In-Reply-To: <73707d0d-83e9-a886-c8be-e9da7d4411ba@tweedly.net> References: <1468624931053-4706765.post@n4.nabble.com> <73707d0d-83e9-a886-c8be-e9da7d4411ba@tweedly.net> Message-ID: On Sat, Jul 16, 2016 at 4:10 PM, Alex Tweedly wrote: > It should simply concatenate. Just like > put myVar after myOtherVar > does. > I see the logic in that, but just about any conceivable use would be dealing with items separated by data. maybe filter tear with abc after myVar delim by cr ? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mwieder at ahsoftware.net Mon Jul 18 12:57:27 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 18 Jul 2016 16:57:27 +0000 (UTC) Subject: [ANN] This Week in LiveCode 42 References: <44e711e0-d6b7-e0cd-efda-1bf7eb213f55@livecode.com> <578CFA72.9020903@fourthworld.com> Message-ID: Richard Gaskin writes: > Can you or Monte elaborate on that? Is a "global handler" and engine > handler? Does this mean we can now override engine-defined functions? > Heh. I asked Monte the same question last week. No, it's very specific to the new libURL handlers. -- Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Mon Jul 18 14:34:49 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 18 Jul 2016 18:34:49 +0000 (UTC) Subject: How to report bugs Message-ID: Came across this wonderful writeup this morning: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html And it's available in 15 languages. If nothing else, at least read the Summary. -- Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Mon Jul 18 15:35:16 2016 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 18 Jul 2016 22:35:16 +0300 Subject: How to report bugs In-Reply-To: References: Message-ID: <578D2F74.2060303@gmail.com> Good stuff. Richmond. On 18.07.2016 21:34, Mark Wieder wrote: > Came across this wonderful writeup this morning: > > http://www.chiark.greenend.org.uk/~sgtatham/bugs.html > > And it's available in 15 languages. > If nothing else, at least read the Summary. > From mwieder at ahsoftware.net Mon Jul 18 15:59:03 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 18 Jul 2016 19:59:03 +0000 (UTC) Subject: Extracting JSON Arrays from inside Json Objects References: <68300153-9B33-4FBB-A400-E6C09FAFB5C5@hindu.org> <7CCAB68D-9F65-4093-AA6B-46E6ED6328E0@hindu.org> <578983B8.4010302@ahsoftware.net> Message-ID: Sannyasin Brahmanathaswami writes: > so this would translated into, using your model > > {"file_id": "p6_rajam", > "formats": [ > { > "2531x4000": { > "filename": "p6_rajam_ful.jpg", > "isbn": null, > "item_format_id": 43430, > "item_id": 3268, > "sale_date": "0000-00-00 00:00:00", > "url": null > }, > "911x1440" > { > "filename": "p6_rajam_lrg.jpg", > "isbn": null, > "item_format_id": 43429, > "item_id": 3268, > "sale_date": "0000-00-00 00:00:00", > "url": null > }, > > Ah, no... if you're going to insist on the JSON list format using the "[" and "]" delimiters, then you're going to have to use numeric indices. I was suggesting instead: > {"file_id": "p6_rajam", > "formats": > { > "2531x4000": { > "filename": "p6_rajam_ful.jpg", > "isbn": null, > "item_format_id": 43430, etc. (difference in the "formats": line) -- Mark Wieder ahsoftware at gmail.com From monte at appisle.net Mon Jul 18 16:11:47 2016 From: monte at appisle.net (Monte Goulding) Date: Tue, 19 Jul 2016 06:11:47 +1000 Subject: How to report bugs In-Reply-To: References: Message-ID: I?m sure Panos will fid this helpful for his talk! > On 19 Jul 2016, at 4:34 AM, Mark Wieder wrote: > > Came across this wonderful writeup this morning: > > http://www.chiark.greenend.org.uk/~sgtatham/bugs.html > > And it's available in 15 languages. > If nothing else, at least read the Summary. > > -- > Mark Wieder > ahsoftware at gmail.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Mon Jul 18 16:50:28 2016 From: monte at appisle.net (Monte Goulding) Date: Tue, 19 Jul 2016 06:50:28 +1000 Subject: [ANN] This Week in LiveCode 42 In-Reply-To: <578CFA72.9020903@fourthworld.com> References: <44e711e0-d6b7-e0cd-efda-1bf7eb213f55@livecode.com> <578CFA72.9020903@fourthworld.com> Message-ID: <3C665D02-B926-4206-B8B0-C4A0C8A520B4@appisle.net> > On 19 Jul 2016, at 1:49 AM, Richard Gaskin wrote: > > ...where Monte has this note: > > Previously global handlers took priority > over handlers scripted in LCS. This patch > enables a LCS handler the handle the global > handler instead. This is necessary for > for overriding the libURL commands on mobile. > > Can you or Monte elaborate on that? Is a "global handler" and engine handler? Does this mean we can now override engine-defined functions? Aha! Yes as Mark Wieder mentioned this pricked his interest also but it isn?t as exciting as it seems. The engine has some platform specific handlers (mainly used on mobile for mobile* handlers) that are resolved at runtime like script and external handlers but were previously getting dealt with first and the scripts in the message path weren?t getting a chance to implement handlers with those names. In the specific situation we were trying to resolve we wanted libURL to be able to handle the two libURL commands implemented in the engine on mobile. BTW I?m not sure why the term global handler was used because they are really platform handlers. Anyway? previously: object -> handle: is it a global handler? yes -> handle in engine no -> front scripts, object, behaviors, [owner, behavior ?] , libraries, back scripts, externals, error Now: front scripts, object, behaviors, [owner, behavior ?] , libraries, back scripts, externals is it a global handler? yes -> handle in engine no -> error So this means I could write an external that implemented one of the mobile* commands and then write a library that handled that command and redirected the parameters to my external. It?s worthwhile noting, however, that we currently haven?t allowed pass to work so you can?t: on mobileCommand if the platform is ?ios? then -- do something different else pass ?mobileCommand" end if end mobileCommand I think in hindsight we probably should have allowed that because I can think of some interesting use cases. For example, mergAVPick could override mobilePickPhoto on iOS and support a few extra things. Cheers Monte From merakosp at gmail.com Mon Jul 18 17:22:06 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 19 Jul 2016 00:22:06 +0300 Subject: How to report bugs In-Reply-To: References: Message-ID: Indeed very helpful :) :) On Mon, Jul 18, 2016 at 11:11 PM, Monte Goulding wrote: > I?m sure Panos will fid this helpful for his talk! > > > On 19 Jul 2016, at 4:34 AM, Mark Wieder wrote: > > > > Came across this wonderful writeup this morning: > > > > http://www.chiark.greenend.org.uk/~sgtatham/bugs.html > > > > And it's available in 15 languages. > > If nothing else, at least read the Summary. > > > > -- > > Mark Wieder > > ahsoftware at gmail.com > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brahma at hindu.org Mon Jul 18 18:35:05 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 18 Jul 2016 22:35:05 +0000 Subject: How to report bugs In-Reply-To: References: Message-ID: useful read? I think I need to take more screen shots of the IDE when it is acting up? because writing it down later? especially if it is hard to reproduce? turns your Bug into "vapor ware" but like this advice says "show it to him?" On 7/18/16, 10:11 AM, "use-livecode on behalf of Monte Goulding" wrote: I?m sure Panos will fid this helpful for his talk! From brahma at hindu.org Mon Jul 18 18:37:36 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 18 Jul 2016 22:37:36 +0000 Subject: Extracting JSON Arrays from inside Json Objects In-Reply-To: References: <68300153-9B33-4FBB-A400-E6C09FAFB5C5@hindu.org> <7CCAB68D-9F65-4093-AA6B-46E6ED6328E0@hindu.org> <578983B8.4010302@ahsoftware.net> Message-ID: <7667FE79-17F6-4CC9-84B4-8F3CFD06EBAF@hindu.org> hmm? the introduction of that left bracket was a typo? I don't know enough about this to insist on anything (hehe) just feeling my way. On 7/18/16, 9:59 AM, "use-livecode on behalf of Mark Wieder" wrote: Sannyasin Brahmanathaswami writes: > so this would translated into, using your model > > {"file_id": "p6_rajam", > "formats": [ > { > "2531x4000": { > "filename": "p6_rajam_ful.jpg", > "isbn": null, > "item_format_id": 43430, > "item_id": 3268, > "sale_date": "0000-00-00 00:00:00", > "url": null > }, > "911x1440" > { > "filename": "p6_rajam_lrg.jpg", > "isbn": null, > "item_format_id": 43429, > "item_id": 3268, > "sale_date": "0000-00-00 00:00:00", > "url": null > }, > > Ah, no... if you're going to insist on the JSON list format using the "[" and "]" delimiters, then you're going to have to use numeric indices. I was suggesting instead: > {"file_id": "p6_rajam", > "formats": > { > "2531x4000": { > "filename": "p6_rajam_ful.jpg", > "isbn": null, > "item_format_id": 43430, etc. (difference in the "formats": line) -- Mark Wieder ahsoftware at gmail.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From lan.kc.macmail at gmail.com Tue Jul 19 02:35:01 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 19 Jul 2016 14:35:01 +0800 Subject: [ANN] Sharing FontLab Plugin In-Reply-To: <5787CFA7.4000306@fourthworld.com> References: <640020FD-324D-4E4A-B016-13FFC7A0111E@mac.com> <5787CFA7.4000306@fourthworld.com> Message-ID: Roger Guay wrote: > >> Richard, >> >> Please help me out here. I just want to share my work ... > On Fri, Jul 15, 2016 at 1:45 AM, Richard Gaskin wrote: > Gosh, Roger, there's only a hundred or so open source licenses to choose > from - are you lazy? :) > > The options are indeed broad... > > A popular choice ... GPL-compatible and works > equally well for proprietary use is the MIT License... > > In short, it retains your copyright and provides disclaimer of liability, > but presents no restrictions on use. > I've come late to this discussion but this would seem to be an excellent topic for a blog post and even the basis for an official 'Guide' that can be accessed via the Guide tab of the LC8 Dictionary. And as you both (Peter and Richard) represent either side of the fence (The Company and The Community) who I understand are in weekly conference call communication, who better to draft up such a document. I can only see this sort of advise being required more and more - hopefully a direct reflection of the growth of LC Community. It's certainly not the first time 'What license are you distributing under' has been asked. I see that some 'gentle advise' which steers everyone in the correct direction will ultimately save time, confusion and possible embarrassment. What I suggest is the recommendation of a couple of OSS licenses; ie MIT, Apache >= v2, LGPL >= v3, GPL >= v3, EUPL. To these we need a description of what we can or can't do depending on what LC license we're using (Business, Indy, Community), what environment we are in (Standalone or IDE), what the 'item' is (Stack, plugin, handler, library stack, script only stack) and what our intended target is; $$$, 0$, Apple's App Store/proprietary, anyone who wants it? What would be really nice is some sort of matrix diagram that displays all the inter-relationships. This wikipedia page on OSS License compatibility ( https://en.wikipedia.org/wiki/License_compatibility ) has two nice diagrams to help explain - something similar but LC specific is what is needed. What the Blog/Guide/Matrix should answer: [I DO NOT NEED THE ANSWER TO THESE SCENARIOS, they are rhetorical] If I'm using LC Community, is there any point in attempting to release a standalone with any other license other than Community's own GPL v3? An LC Community user releases a Library stack under MIT. Can a LC Business user then incorporate that stack into their app and release it on the Apple App Store? If and LC Indy user releases a plugin under MIT, can I distribute the plugin with my LC Community App? An LC Community User releases a plugin under LGPL v3 for use with the IDE which auto includes troubleshooting code into your app code. A LC Business user writes an app, the app itself does not include the plugin, but there are many lines of code within the app that have been added automatically by the plugin. Is it OK to distribute this app via the Apple App Store. An LC Community User creates a community stack ShareNStore for storing and sharing handlers. The stack is released under the same GPL v3 as LC Community and a few community members add/modify to improve the stack itself. Many members of the community offer handlers to be included with the stack distribution. Some of the handlers include a remark line such as --released under MIT License Copyright (c) 2016 Pete Programmer, --released under CC BY-SA License Copyright (c) 2016 Henry Handler, but many have no License statement whatsoever. An LC Business user copies several different handlers from the ShareNStore stack into his own stack to be sold on the Apple App Store. Is this OK, particularly for the handlers with no specific license stated. Is it possible they inherit GPL v3 or as they have no License stated are they Public Domain? An LC Community user creates a Script Only stack and releases it to the Public Domain. An LC Community user has a bunch of useful database handlers which he's created and fully tested with Community and he's saved as a text file and licensed to CC BY-SA. On his website he provides instructions on how to convert the text file into a usable library stack. A LC Indy user follows the instructions and includes the library stack in an app to be released on the Apple App Store. These last two I raise because, like the situation of a Business License holder offering to help a Community User get their app past Apple, the official company line may differ to what certain community individuals think is fair or how the license should be interpreted. The License Guide being an ideal place for a statement that the Company does not approve of Business/Indy License holders engaging in this practise. [I DO NOT NEED THE ANSWER TO THESE SCENARIOS, they are rhetorical] In summary, I think a License Guide would be useful because LC is very unique in it's licensing options, how it is used (Standalone/IDE/plugin), the 'things' that it can produce and the way the community shares; all this creates an abundance of permutations that an honest contributor may trip over. As the Guides are now on Github, as OSS Licenses come in and out of favour, the recommendations can be updated, and as new 'scenarios' occur, the Company can provide it's interpretation of what is the right and wrong way to share LC Community created 'stuff' as it's their gift to the Community and they intend for it be shared a certain way. I WOULD LIKE TO AVOID A CLUBHOUSE LAWYERS DISCUSSION, if you'd like to comment I'd hope it would be along the lines of 'License Guide a waste or time, it's all too simple', or 'Yeah, a License Guide would be handy and I hope it covers this or that scenario'. If the majority of posts are 'Yeah', then hopefully the answers will come in the form of an official License Guide. From richmondmathewson at gmail.com Tue Jul 19 12:54:47 2016 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 19 Jul 2016 19:54:47 +0300 Subject: Dr Strangelove Message-ID: <578E5B57.7010608@gmail.com> Or, how I learnt to love my scroll-wheel mouse: http://forums.livecode.com/viewtopic.php?f=7&t=27642 Richmond. From dunbarx at aol.com Tue Jul 19 13:23:05 2016 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 19 Jul 2016 13:23:05 -0400 Subject: Dr Strangelove In-Reply-To: <578E5B57.7010608@gmail.com> References: <578E5B57.7010608@gmail.com> Message-ID: <156042eb6ff-b61-f0cd@webprd-a39.mail.aol.com> One of my three desert-island films. Craig -----Original Message----- From: Richmond To: How to use LiveCode Sent: Tue, Jul 19, 2016 12:56 pm Subject: Dr Strangelove Or, how I learnt to love my scroll-wheel mouse: http://forums.livecode.com/viewtopic.php?f=7&t=27642 Richmond. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jiml at netrin.com Tue Jul 19 15:21:48 2016 From: jiml at netrin.com (Jim Lambert) Date: Tue, 19 Jul 2016 12:21:48 -0700 Subject: [ANN] This Week in LiveCode 42 In-Reply-To: References: Message-ID: <9AEB5A48-45D8-4C20-98D1-47FF45557CDC@netrin.com> > I?m not sure why the term global handler was used ?Global Handler? is reserved for Atlas. ;) Jim Lambert From monte at appisle.net Tue Jul 19 16:11:33 2016 From: monte at appisle.net (Monte Goulding) Date: Wed, 20 Jul 2016 06:11:33 +1000 Subject: [ANN] This Week in LiveCode 42 In-Reply-To: <9AEB5A48-45D8-4C20-98D1-47FF45557CDC@netrin.com> References: <9AEB5A48-45D8-4C20-98D1-47FF45557CDC@netrin.com> Message-ID: Well the Cosmic Turtle won't be all that happy to hear that... Sent from my iPhone > On 20 Jul 2016, at 5:21 AM, Jim Lambert wrote: > > ?Global Handler? is reserved for Atlas. ;) From ambassador at fourthworld.com Tue Jul 19 17:06:00 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 19 Jul 2016 14:06:00 -0700 Subject: [ANN] Sharing FontLab Plugin In-Reply-To: References: Message-ID: <578E9638.3050101@fourthworld.com> Kay C Lan wrote: > I've come late to this discussion but this would seem to be an > excellent topic for a blog post and even the basis for an official > 'Guide' that can be accessed via the Guide tab of the LC8 Dictionary. > And as you both (Peter and Richard) represent either side of the fence > (The Company and The Community) who I understand are in weekly > conference call communication, who better to draft up such a document. I like the idea, but not sure when I'll have time. For now this very brief summary may help (note that I am not an attorney so nothing I write can be construed as legal advice): GPL - For when you want to encourage source sharing. required for anything made with LiveCode Community. MIT - For when you want to encourage source sharing but not require it, so a work can also be used in open source projects, including those governed under the GPL, and also as part of a proprietary software. Custom proprietary license - For proprietary works, but since no standard exists for that you'll need to consult your counsel t0 draft one that meets your business needs. Those three options will probably cover most use cases in our community. Others may be useful for more specialized needs (e.g., AGPL for server software where you want to require source sharing under more circumstances than GPL requires), but such cases are infrequent in our community. Those needing another license other than the ones above will know why they need it and therefore be able to find it easily. The main thing with any license is that its applicability for any given project requires careful review of the license with consideration for the goals of the work to be distributed under it. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Tue Jul 19 18:05:00 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 19 Jul 2016 22:05:00 +0000 (UTC) Subject: [ANN] This Week in LiveCode 42 References: <9AEB5A48-45D8-4C20-98D1-47FF45557CDC@netrin.com> Message-ID: Monte Goulding writes: > > Well the Cosmic Turtle won't be all that happy to hear that... I've heard some nicknames for Kevin Miller before, but that's a new one on me. -- Mark Wieder ahsoftware at gmail.com From lan.kc.macmail at gmail.com Wed Jul 20 01:09:28 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 20 Jul 2016 13:09:28 +0800 Subject: [ANN] Sharing FontLab Plugin In-Reply-To: <578E9638.3050101@fourthworld.com> References: <578E9638.3050101@fourthworld.com> Message-ID: On Wed, Jul 20, 2016 at 5:06 AM, Richard Gaskin wrote: > note that I am not an attorney so nothing I write can be > construed as legal advice > Neither am I, which is why I think it's important that Peter B (or a Company rep) is involved and ultimately provides the final sign-off of such a guide. I'm not even sure spending money on legal advise is required* > GPL - ... required for > anything made with LiveCode Community. And therein lies the rub, what exactly does 'made with LiveCode Community' mean? There are plenty of GPL text editors out there (GNU Emacs, jEdit, Vim) and you make plenty of stuff with them, a poem, a book, a perl script, a command line script, an application, and even an application that will end up on the Apple Store. The GPL license has no effect on what you make. I think most people here generally accept that if what you made includes the LC Engine (basically a stack) then the GPL applies. But what I've also interpreted from this List is that some correctly or incorrectly believe that if what I make does not include the LC engine, then I'm free to pick whatever license I choose. I believe the fringe cases are: sharing handlers tested and 'made with Community' sharing Library/Script Only Stacks as a text file, but were 'made with Community' the handlers that an IDE plugin outputs into some other user's (Indy or Business license) stack, the plugin itself 'made with Community' but the plugin is not bundled with the Business App, just the outputted handlers are permanently included. *As with the kind Business License holding sole who thought he was being generous by offering to help a poor Community user get their app into the App Store, a gentle plain English reminder from Kevin that this is not allowed under the LC license quickly set 99.99% of the community, who don't read the fine print of an EULA, straight. I think a Licence guide, which would basically be the Company's plain English 'What you Can and Can't Do with your License', would quickly set 99.99% of the community straight. *For the 0.01%, they can choose to fight it out with lawyers ;-( which would then be the time to spend money on legal counsel. PS. Another rhetorical scenario: a bunch of school children do a computer programming class and are blessed that it's with LiveCode Community. A small number of them catch the bug and build lots of little stacks which they share around. Eventually they come up with an awesome game idea 'Angry Teacher', which they jointly move forward, fine tuning scripts, solving problems together, until eventually they reach the point 'I think we could put this on the Apple App Store'. Fortunately one of the parents is extremely supportive and is happy to pony up for an LC Indy License. Is it kosher that this app, built by multiple people using Community, is now licensed by a single Indy holder? Can further game refinement be done by the gang using Community? From peter.brett at livecode.com Wed Jul 20 02:55:54 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Wed, 20 Jul 2016 07:55:54 +0100 Subject: [ANN] Sharing FontLab Plugin In-Reply-To: References: <578E9638.3050101@fourthworld.com> Message-ID: On 20/07/2016 06:09, Kay C Lan wrote: > On Wed, Jul 20, 2016 at 5:06 AM, Richard Gaskin > wrote: >> note that I am not an attorney so nothing I write can be >> construed as legal advice >> > Neither am I, which is why I think it's important that Peter B (or a > Company rep) is involved and ultimately provides the final sign-off of > such a guide. I'm not even sure spending money on legal advise is > required* Hi Kay, Does this cover all of your questions adequately? http://article.gmane.org/gmane.comp.ide.revolution.user/223575 Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From ebeugelaar at gmail.com Wed Jul 20 03:19:21 2016 From: ebeugelaar at gmail.com (beugelaar) Date: Wed, 20 Jul 2016 00:19:21 -0700 (PDT) Subject: paypal encrypted buttons using lc In-Reply-To: References: Message-ID: <1468999161927-4706809.post@n4.nabble.com> Mike, I do not know if this will help you further: 1. PayPal - http://www.hyperactivesw.com/cgipaypal/index.html 2. SSH - http://forums.livecode.com/viewtopic.php?f=7&t=23427 Goodluck, Erik ----- Erik Beugelaar Cross-platform developer www.solidit.eu nl.linkedin.com/in/beugelaar -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/paypal-encrypted-buttons-using-lc-tp4706778p4706809.html Sent from the Revolution - User mailing list archive at Nabble.com. From bonnmike at gmail.com Wed Jul 20 09:57:26 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 20 Jul 2016 07:57:26 -0600 Subject: paypal encrypted buttons using lc In-Reply-To: <1468999161927-4706809.post@n4.nabble.com> References: <1468999161927-4706809.post@n4.nabble.com> Message-ID: Thank you! I'll dig some more. Appreciate the links. On Wed, Jul 20, 2016 at 1:19 AM, beugelaar wrote: > Mike, > > I do not know if this will help you further: > > 1. PayPal - http://www.hyperactivesw.com/cgipaypal/index.html > 2. SSH - http://forums.livecode.com/viewtopic.php?f=7&t=23427 > > Goodluck, > Erik > > > > > > > > ----- > Erik Beugelaar > Cross-platform developer > > www.solidit.eu > nl.linkedin.com/in/beugelaar > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/paypal-encrypted-buttons-using-lc-tp4706778p4706809.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Wed Jul 20 10:13:51 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 20 Jul 2016 08:13:51 -0600 Subject: paypal encrypted buttons using lc In-Reply-To: References: <1468999161927-4706809.post@n4.nabble.com> Message-ID: Not exactly what i'm looking for, but definitely things in there I can use to improve what i'm doing. I think my biggest issue is i'm having a block. There is an exact example of what I want to do here: https://www.stellarwebsolutions.com/en/articles/paypal_button_encryption_php.php but for some reason the php is looking like greek to me, and staring at it for hours isn't helping! Its obvious that in the end its a simple shell call, but the lead up to the call melts my brain. (Not sure why. I built a complete P.O.System in php about 17 years back, but now php is just looking like gibberish to me) On Wed, Jul 20, 2016 at 7:57 AM, Mike Bonner wrote: > Thank you! I'll dig some more. Appreciate the links. > > On Wed, Jul 20, 2016 at 1:19 AM, beugelaar wrote: > >> Mike, >> >> I do not know if this will help you further: >> >> 1. PayPal - http://www.hyperactivesw.com/cgipaypal/index.html >> 2. SSH - http://forums.livecode.com/viewtopic.php?f=7&t=23427 >> >> Goodluck, >> Erik >> >> >> >> >> >> >> >> ----- >> Erik Beugelaar >> Cross-platform developer >> >> www.solidit.eu >> nl.linkedin.com/in/beugelaar >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/paypal-encrypted-buttons-using-lc-tp4706778p4706809.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From jacque at hyperactivesw.com Wed Jul 20 10:57:43 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 20 Jul 2016 09:57:43 -0500 Subject: paypal encrypted buttons using lc In-Reply-To: References: <1468999161927-4706809.post@n4.nabble.com> Message-ID: <15608cff670.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I didn't mention my PayPal script example earlier because it didn't sound like what you wanted to do, but I wondered why you'd want to create your own button. The ones that PayPal creates are encrypted already. They are using AES256 now. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 20, 2016 9:15:02 AM Mike Bonner wrote: > Not exactly what i'm looking for, but definitely things in there I can use > to improve what i'm doing. I think my biggest issue is i'm having a block. > > There is an exact example of what I want to do here: > https://www.stellarwebsolutions.com/en/articles/paypal_button_encryption_php.php > but for some reason the php is looking like greek to me, and staring at it > for hours isn't helping! Its obvious that in the end its a simple shell > call, but the lead up to the call melts my brain. (Not sure why. I built a > complete P.O.System in php about 17 years back, but now php is just looking > like gibberish to me) > > On Wed, Jul 20, 2016 at 7:57 AM, Mike Bonner wrote: > >> Thank you! I'll dig some more. Appreciate the links. >> >> On Wed, Jul 20, 2016 at 1:19 AM, beugelaar wrote: >> >>> Mike, >>> >>> I do not know if this will help you further: >>> >>> 1. PayPal - http://www.hyperactivesw.com/cgipaypal/index.html >>> 2. SSH - http://forums.livecode.com/viewtopic.php?f=7&t=23427 >>> >>> Goodluck, >>> Erik >>> >>> >>> >>> >>> >>> >>> >>> ----- >>> Erik Beugelaar >>> Cross-platform developer >>> >>> www.solidit.eu >>> nl.linkedin.com/in/beugelaar >>> -- >>> View this message in context: >>> http://runtime-revolution.278305.n4.nabble.com/paypal-encrypted-buttons-using-lc-tp4706778p4706809.html >>> Sent from the Revolution - User mailing list archive at Nabble.com. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Wed Jul 20 12:00:40 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 20 Jul 2016 10:00:40 -0600 Subject: paypal encrypted buttons using lc In-Reply-To: <15608cff670.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1468999161927-4706809.post@n4.nabble.com> <15608cff670.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Ah, so I need to find an updated guide. If it was a single, or even several buttons it would be easy. Use the button creator and voila' an encrypted button. Unfortunately I need a large number of buttons on multiple pages. (helping out a friend) The connections out here are sluggish. (theirs is worse than mine and thats saying something) so using the paypal interface to manage a large number of buttons is a huge pain. I don't necessarily need "on the fly" generation, but if I can get a handle on encrypting the buttons (locally) then I can generate complete pages to be uploaded. (or various ways, storing in an sqlite db or whatever) but the goals are mainly: a) using encrypted buttons so its harder to mess with my friends site, and b) limit the amount of click-- wait.. click-- wait. click-- wait required to manage the site. Currently most of the buttons are clear text. Its not too difficult for my friend to copy and paste an item listing and edit the form values to create a new item. (or to adjust prices etc) but the clear text part is bad because.. well.. People are involved. (cynical I know) I'll see if I can figure all this out. On Wed, Jul 20, 2016 at 8:57 AM, J. Landman Gay wrote: > I didn't mention my PayPal script example earlier because it didn't sound > like what you wanted to do, but I wondered why you'd want to create your > own button. The ones that PayPal creates are encrypted already. They are > using AES256 now. > > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > > On July 20, 2016 9:15:02 AM Mike Bonner wrote: > > Not exactly what i'm looking for, but definitely things in there I can use >> to improve what i'm doing. I think my biggest issue is i'm having a >> block. >> >> There is an exact example of what I want to do here: >> >> https://www.stellarwebsolutions.com/en/articles/paypal_button_encryption_php.php >> but for some reason the php is looking like greek to me, and staring at it >> for hours isn't helping! Its obvious that in the end its a simple shell >> call, but the lead up to the call melts my brain. (Not sure why. I built a >> complete P.O.System in php about 17 years back, but now php is just >> looking >> like gibberish to me) >> >> On Wed, Jul 20, 2016 at 7:57 AM, Mike Bonner wrote: >> >> Thank you! I'll dig some more. Appreciate the links. >>> >>> On Wed, Jul 20, 2016 at 1:19 AM, beugelaar wrote: >>> >>> Mike, >>>> >>>> I do not know if this will help you further: >>>> >>>> 1. PayPal - http://www.hyperactivesw.com/cgipaypal/index.html >>>> 2. SSH - http://forums.livecode.com/viewtopic.php?f=7&t=23427 >>>> >>>> Goodluck, >>>> Erik >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> ----- >>>> Erik Beugelaar >>>> Cross-platform developer >>>> >>>> www.solidit.eu >>>> nl.linkedin.com/in/beugelaar >>>> -- >>>> View this message in context: >>>> >>>> http://runtime-revolution.278305.n4.nabble.com/paypal-encrypted-buttons-using-lc-tp4706778p4706809.html >>>> Sent from the Revolution - User mailing list archive at Nabble.com. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>> >>> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From effendi at wanadoo.fr Wed Jul 20 13:42:39 2016 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Wed, 20 Jul 2016 19:42:39 +0200 Subject: Backspace unrecoverably deletes an object .... Message-ID: <744C3505-2860-4C9F-B5A4-CB0F14345AC1@wanadoo.fr> Mac OS X 10.9.5 - LiveCode 5.5 Hi from Beautiful Brittany, I?ve just done it again !!! I created a button, loaded it up with thoughtful script, and, instead of hitting return to continue writing the script, , I wanderered around the stack, checking names, etc,, and later, without thinking, I hit ?BackSpace? - and BING, an up and coming button and script hit the dust ??. It is not the first time I lose a button and script because I can?t control my fingers. Why can?t I recover a button and script (after Select-Delete), or, if I can, how do I do it ? Other apps respond to ?Undo? commands, even after a ?Delete?. Why can?t LiveCode do the same? Solutions, perhaps ?? -Francis From pete at lcsql.com Wed Jul 20 14:24:40 2016 From: pete at lcsql.com (Peter Haworth) Date: Wed, 20 Jul 2016 18:24:40 +0000 Subject: Backspace unrecoverably deletes an object .... In-Reply-To: <744C3505-2860-4C9F-B5A4-CB0F14345AC1@wanadoo.fr> References: <744C3505-2860-4C9F-B5A4-CB0F14345AC1@wanadoo.fr> Message-ID: I can only offer a third party solution. My lcStackbrowser plugin remembers all deleted objects (stacks, cards, controls) until you quit and you can undo the delete of any of them from either a contextual menu or the lcstackbrowser trash can icon. Pete On Wed, Jul 20, 2016 at 10:43 AM Francis Nugent Dixon wrote: > Mac OS X 10.9.5 - LiveCode 5.5 > > Hi from Beautiful Brittany, > > I?ve just done it again !!! I created a button, loaded it up > with thoughtful script, and, instead of hitting return to > continue writing the script, , I wanderered around the > stack, checking names, etc,, and later, without thinking, > I hit ?BackSpace? - and BING, an up and coming button > and script hit the dust ??. > > It is not the first time I lose a button and script because > I can?t control my fingers. > > Why can?t I recover a button and script (after Select-Delete), > or, if I can, how do I do it ? Other apps respond to ?Undo? > commands, even after a ?Delete?. Why can?t LiveCode do > the same? > > Solutions, perhaps ?? > > -Francis > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Wed Jul 20 14:35:53 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 20 Jul 2016 13:35:53 -0500 Subject: paypal encrypted buttons using lc In-Reply-To: References: <1468999161927-4706809.post@n4.nabble.com> <15608cff670.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: On 7/20/2016 11:00 AM, Mike Bonner wrote: > Ah, so I need to find an updated guide. I misspoke a bit -- it's SHA-256, and the cutover is just beginning. Test systems were put in place some time ago and the full transition will be completed Sept 30. Noncompliant servers will fail after that date. > Currently most of the buttons are clear text. Its not too difficult for my > friend to copy and paste an item listing and edit the form values to create > a new item. (or to adjust prices etc) but the clear text part is bad > because.. well.. People are involved. (cynical I know) Paypal does quite a bit to assure that the button hasn't been compromised. It sends a verification message to the CGI on file and your script must respond with "OK" if the information passes your tests. The script on your server needs to check that some or all of a dozen or so details are correct. Paypal will only allow a payout if your script has verified the info and returned permission. For example, you'd want to check that the payee is your Paypal merchant ID and that the product code and price are accurate. The Paypal script on my website checks nine variables before allowing the transaction to complete. But that does prohibit your friend from just modifying an existing button to add new products. If Paypal doesn't have the product code on file, the transaction will fail. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tfabacher at gmail.com Wed Jul 20 14:37:17 2016 From: tfabacher at gmail.com (Todd Fabacher) Date: Wed, 20 Jul 2016 14:37:17 -0400 Subject: WP - LiveCode Coding Webinar Message-ID: Hello LiveCoders, First, thanks again for supporting LC in getting all of the projects funded, and I am sure the dev team is hard at work. As we agreed, we divided the webinars into two, one hour webinars. The first was the overview: https://www.youtube.com/watch?v=D_6b04AltTQ. The next one is more code focuses and idea of how to use WP as a web cloud or data/media storage for your App. We are in the process of designing that now. Many of you have been emailing questions and we appreciate that. >From your feedback, we are going to add a section on all of the plugins to install and their setting to make sure the environment is setup correctly. Several have been struggling with that. Please forward you question or meet Gurgin or myself at the LiveCode conference next week. We will do the webinar after the conference. See you in Edinburg!! From bonnmike at gmail.com Wed Jul 20 14:59:17 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 20 Jul 2016 12:59:17 -0600 Subject: paypal encrypted buttons using lc In-Reply-To: References: <1468999161927-4706809.post@n4.nabble.com> <15608cff670.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: I just turned the corner on understanding the old method, I suspect i'll be able to make it work once sha-256 is implemented. And now I _think_ I have an inkling of what you mean re: the cgi on file and back confirming the correct info. I can see more reading in my immediate future. Thank you much for the guidance. On Wed, Jul 20, 2016 at 12:35 PM, J. Landman Gay wrote: > On 7/20/2016 11:00 AM, Mike Bonner wrote: > >> Ah, so I need to find an updated guide. >> > > I misspoke a bit -- it's SHA-256, and the cutover is just beginning. Test > systems were put in place some time ago and the full transition will be > completed Sept 30. Noncompliant servers will fail after that date. > > Currently most of the buttons are clear text. Its not too difficult for my >> friend to copy and paste an item listing and edit the form values to >> create >> a new item. (or to adjust prices etc) but the clear text part is bad >> because.. well.. People are involved. (cynical I know) >> > > Paypal does quite a bit to assure that the button hasn't been compromised. > It sends a verification message to the CGI on file and your script must > respond with "OK" if the information passes your tests. The script on your > server needs to check that some or all of a dozen or so details are > correct. Paypal will only allow a payout if your script has verified the > info and returned permission. For example, you'd want to check that the > payee is your Paypal merchant ID and that the product code and price are > accurate. The Paypal script on my website checks nine variables before > allowing the transaction to complete. > > But that does prohibit your friend from just modifying an existing button > to add new products. If Paypal doesn't have the product code on file, the > transaction will fail. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Wed Jul 20 15:12:01 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 20 Jul 2016 14:12:01 -0500 Subject: paypal encrypted buttons using lc In-Reply-To: References: <1468999161927-4706809.post@n4.nabble.com> <15608cff670.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <7202ab41-2434-1ad6-72a2-79d6665c9625@hyperactivesw.com> Just so you don't get too confused -- my example script returns "OK" before checking the data details. That's because some clients pay for programming work via PayPal without any button involved, and it sends me notifications for those. You don't have to do it in that order. On 7/20/2016 1:59 PM, Mike Bonner wrote: > I just turned the corner on understanding the old method, I suspect i'll be > able to make it work once sha-256 is implemented. And now I _think_ I have > an inkling of what you mean re: the cgi on file and back confirming the > correct info. I can see more reading in my immediate future. Thank you > much for the guidance. > > On Wed, Jul 20, 2016 at 12:35 PM, J. Landman Gay > wrote: > >> On 7/20/2016 11:00 AM, Mike Bonner wrote: >> >>> Ah, so I need to find an updated guide. >>> >> >> I misspoke a bit -- it's SHA-256, and the cutover is just beginning. Test >> systems were put in place some time ago and the full transition will be >> completed Sept 30. Noncompliant servers will fail after that date. >> >> Currently most of the buttons are clear text. Its not too difficult for my >>> friend to copy and paste an item listing and edit the form values to >>> create >>> a new item. (or to adjust prices etc) but the clear text part is bad >>> because.. well.. People are involved. (cynical I know) >>> >> >> Paypal does quite a bit to assure that the button hasn't been compromised. >> It sends a verification message to the CGI on file and your script must >> respond with "OK" if the information passes your tests. The script on your >> server needs to check that some or all of a dozen or so details are >> correct. Paypal will only allow a payout if your script has verified the >> info and returned permission. For example, you'd want to check that the >> payee is your Paypal merchant ID and that the product code and price are >> accurate. The Paypal script on my website checks nine variables before >> allowing the transaction to complete. >> >> But that does prohibit your friend from just modifying an existing button >> to add new products. If Paypal doesn't have the product code on file, the >> transaction will fail. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Wed Jul 20 15:12:55 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 20 Jul 2016 12:12:55 -0700 Subject: paypal encrypted buttons using lc In-Reply-To: References: Message-ID: Mike Bonner wrote: > I just turned the corner on understanding the old method, I suspect > i'll be able to make it work once sha-256 is implemented. If it helps, I've found Mark Smith's libHash-Hmac to be quite good, his sha256 function returning the same values I get when tested against the command-line tool installed with my OS: http://marksmith.on-rev.com/revstuff/ -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bonnmike at gmail.com Wed Jul 20 15:18:06 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 20 Jul 2016 13:18:06 -0600 Subject: paypal encrypted buttons using lc In-Reply-To: References: Message-ID: Thank you both. I think i'm in over my head actually, but stubborn makes up for a lot. On Wed, Jul 20, 2016 at 1:12 PM, Richard Gaskin wrote: > Mike Bonner wrote: > > > I just turned the corner on understanding the old method, I suspect > > i'll be able to make it work once sha-256 is implemented. > > If it helps, I've found Mark Smith's libHash-Hmac to be quite good, his > sha256 function returning the same values I get when tested against the > command-line tool installed with my OS: > > http://marksmith.on-rev.com/revstuff/ > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Wed Jul 20 15:47:06 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 20 Jul 2016 14:47:06 -0500 Subject: paypal encrypted buttons using lc In-Reply-To: References: Message-ID: Not to beat a stubborn dead horse, but...I don't think you can do what you want. Paypal makes it pretty hard to modify their buttons. If they didn't, anyone could copy and change the Paypal button on any site, which is kind of what you're describing. On 7/20/2016 2:18 PM, Mike Bonner wrote: > Thank you both. I think i'm in over my head actually, but stubborn makes > up for a lot. > > On Wed, Jul 20, 2016 at 1:12 PM, Richard Gaskin > wrote: > >> Mike Bonner wrote: >> >>> I just turned the corner on understanding the old method, I suspect >>> i'll be able to make it work once sha-256 is implemented. >> >> If it helps, I've found Mark Smith's libHash-Hmac to be quite good, his >> sha256 function returning the same values I get when tested against the >> command-line tool installed with my OS: >> >> http://marksmith.on-rev.com/revstuff/ >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From MikeKerner at roadrunner.com Wed Jul 20 15:47:32 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 20 Jul 2016 15:47:32 -0400 Subject: Backspace unrecoverably deletes an object .... In-Reply-To: References: <744C3505-2860-4C9F-B5A4-CB0F14345AC1@wanadoo.fr> Message-ID: Also bad, but a little more modern: lc8.0.3 crashed a moment ago, and three hours of work went with it. I was doing a find in the script editor when it closed its eyes. On Wed, Jul 20, 2016 at 2:24 PM, Peter Haworth wrote: > I can only offer a third party solution. My lcStackbrowser plugin remembers > all deleted objects (stacks, cards, controls) until you quit and you can > undo the delete of any of them from either a contextual menu or the > lcstackbrowser trash can icon. > Pete > > On Wed, Jul 20, 2016 at 10:43 AM Francis Nugent Dixon > wrote: > > > Mac OS X 10.9.5 - LiveCode 5.5 > > > > Hi from Beautiful Brittany, > > > > I?ve just done it again !!! I created a button, loaded it up > > with thoughtful script, and, instead of hitting return to > > continue writing the script, , I wanderered around the > > stack, checking names, etc,, and later, without thinking, > > I hit ?BackSpace? - and BING, an up and coming button > > and script hit the dust ??. > > > > It is not the first time I lose a button and script because > > I can?t control my fingers. > > > > Why can?t I recover a button and script (after Select-Delete), > > or, if I can, how do I do it ? Other apps respond to ?Undo? > > commands, even after a ?Delete?. Why can?t LiveCode do > > the same? > > > > Solutions, perhaps ?? > > > > -Francis > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From brahma at hindu.org Wed Jul 20 15:53:51 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 20 Jul 2016 19:53:51 +0000 Subject: [ANN] Sharing FontLab Plugin In-Reply-To: References: <578E9638.3050101@fourthworld.com> Message-ID: Kay C Lan wrote: " Fortunately one of the parents is extremely supportive and is happy to pony up for an LC Indy License. Is it kosher that this app, built by multiple people using Community, is now licensed by a single Indy holder? Can further game refinement be done by the gang using Community?" I have this same question.. @ Peter http://article.gmane.org/gmane.comp.ide.revolution.user/223575 doesn't really answer the above. i.e. i) a product that is pushed to the Apple app store under Indy via 1 user on the team ii) that includes code created by the team, many of whom are fall in the categories of volunteers |non-profit staffers | students et all such other "community" users put another way? to say the obvious? the use case is "all GPL top to bottom," with only Apple's rules forcing a closed source build for a single distribution channel context. BR PS? OT: but? why does Apple require this? From monte at appisle.net Wed Jul 20 17:11:18 2016 From: monte at appisle.net (Monte Goulding) Date: Thu, 21 Jul 2016 07:11:18 +1000 Subject: Backspace unrecoverably deletes an object .... In-Reply-To: <744C3505-2860-4C9F-B5A4-CB0F14345AC1@wanadoo.fr> References: <744C3505-2860-4C9F-B5A4-CB0F14345AC1@wanadoo.fr> Message-ID: <1D5B09EF-CB6B-4D89-B618-B506CD839136@appisle.net> I'm not sure I completely understand the recipe but could you create a bug report about this as the script editor undo should be able to undo a delete. Cheers Monte Sent from my iPhone > On 21 Jul 2016, at 3:42 AM, Francis Nugent Dixon wrote: > > Why can?t I recover a button and script (after Select-Delete), > or, if I can, how do I do it ? Other apps respond to ?Undo? > commands, even after a ?Delete?. Why can?t LiveCode do > the same? From monte at appisle.net Wed Jul 20 17:11:56 2016 From: monte at appisle.net (Monte Goulding) Date: Thu, 21 Jul 2016 07:11:56 +1000 Subject: Backspace unrecoverably deletes an object .... In-Reply-To: <744C3505-2860-4C9F-B5A4-CB0F14345AC1@wanadoo.fr> References: <744C3505-2860-4C9F-B5A4-CB0F14345AC1@wanadoo.fr> Message-ID: <43A1EC97-24A5-4D9A-8794-5AAD57A98777@appisle.net> Oh are you deleting the entire object? Sent from my iPhone > On 21 Jul 2016, at 3:42 AM, Francis Nugent Dixon wrote: > > Why can?t I recover a button and script (after Select-Delete), > or, if I can, how do I do it ? Other apps respond to ?Undo? > commands, even after a ?Delete?. Why can?t LiveCode do > the same? From bonnmike at gmail.com Wed Jul 20 17:13:15 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 20 Jul 2016 15:13:15 -0600 Subject: paypal encrypted buttons using lc In-Reply-To: References: Message-ID: That's the thing. It is easy to do things in the way I describe. Unless otherwise set (in the paypal profile.. one can choose to only accept encrypted buttons but this doesn't seem to be the default), any person anywhere (if they have access to the merchant id or merchant email address) can whip up a button buying figmentary items at a figmentary price. Currently we have a mix. Some buttons created with the button builder in paypal that leave the encryption in place, and others that are just properly formatted forms in clear text (the original of which was generated by paypal and choosing to not host on paypal,and not encrypt as part of the button build process). Paypal really isn't very picky as you can have multiple of the same item all with different prices etc. (We don't do it that way, each has a unique item name) This is why I'm looking in to doing the encryption on my own. (not necessarily on the fly) as described best here: https://www.stellarwebsolutions.com/en/articles/paypal_button_encryption_php.php Basically,generate public/private key pairs, upload a key to paypal, and download their public key, Encrypt the button fields,and change paypal settings to "only accept encrypted...." If done right (fingers crossed) I and my friend are the only one with all the information required to encrypt/decrypt my buttons. (and paypal of course since I'll be uploading a key to my friends paypal for this purpose) At this point people can create all the fake buttons they want but they won't work since they will not have been properly encrypted, and only encrypted buttons will be accepted. >From the sound of things, even after I figure out how to get the things encrypted I can add an additional layer of protection, and confirm that things have indeed have been submitted as they should have been by adding a backcheck as you described. I'm starting to wonder if the switch you mention is affecting this particular part.. The encryption of buttons.. Have I completely misunderstood how all this works? On Wed, Jul 20, 2016 at 1:47 PM, J. Landman Gay wrote: > Not to beat a stubborn dead horse, but...I don't think you can do what you > want. Paypal makes it pretty hard to modify their buttons. If they didn't, > anyone could copy and change the Paypal button on any site, which is kind > of what you're describing. > > > On 7/20/2016 2:18 PM, Mike Bonner wrote: > >> Thank you both. I think i'm in over my head actually, but stubborn makes >> up for a lot. >> >> On Wed, Jul 20, 2016 at 1:12 PM, Richard Gaskin < >> ambassador at fourthworld.com> >> wrote: >> >> Mike Bonner wrote: >>> >>> I just turned the corner on understanding the old method, I suspect >>>> i'll be able to make it work once sha-256 is implemented. >>>> >>> >>> If it helps, I've found Mark Smith's libHash-Hmac to be quite good, his >>> sha256 function returning the same values I get when tested against the >>> command-line tool installed with my OS: >>> >>> http://marksmith.on-rev.com/revstuff/ >>> >>> -- >>> Richard Gaskin >>> Fourth World Systems >>> Software Design and Development for the Desktop, Mobile, and the Web >>> ____________________________________________________________________ >>> Ambassador at FourthWorld.com http://www.FourthWorld.com >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From peter.brett at livecode.com Wed Jul 20 17:45:06 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Wed, 20 Jul 2016 22:45:06 +0100 Subject: Backspace unrecoverably deletes an object .... In-Reply-To: References: <744C3505-2860-4C9F-B5A4-CB0F14345AC1@wanadoo.fr> Message-ID: On 20/07/2016 20:47, Mike Kerner wrote: > Also bad, but a little more modern: lc8.0.3 crashed a moment ago, and > three hours of work went with it. I was doing a find in the script editor > when it closed its eyes. There's a known (and frustrating) crash regression in 8.0.2-rc-3 and we think we've got the fix for an 8.0.2-rc-4 release. TBH you're probably better off using 8.0.1 until we get that release out. Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From peter.brett at livecode.com Wed Jul 20 17:54:03 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Wed, 20 Jul 2016 22:54:03 +0100 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: References: <578E9638.3050101@fourthworld.com> Message-ID: <92769a54-b5d3-618f-7017-e1bf4b96c6cb@livecode.com> On 20/07/2016 20:53, Sannyasin Brahmanathaswami wrote: > Kay C Lan wrote: > > " Fortunately one of the parents is extremely supportive and is happy > to pony up for an LC Indy License. Is it kosher that this app, built > by multiple people using Community, is now licensed by a single Indy > holder? Can further game refinement be done by the gang using > Community?" > > I have this same question.. > > @ Peter > > http://article.gmane.org/gmane.comp.ide.revolution.user/223575 > > doesn't really answer the above. Well, I hope the following is sufficiently unambiguous. > > i) a product that is pushed to the Apple app store under Indy via 1 > user on the team This is exactly what LiveCode Indy is intended for. > ii) that includes code created by the team, many of whom are fall in > the categories of > > volunteers |non-profit staffers | students et all such other > "community" users > > put another way? to say the obvious? the use case is "all GPL top to > bottom," with only Apple's rules forcing a closed source build for a > single distribution channel context. - If the app is open source, this definitely violates either the Apple store agreement or the LiveCode Community copyright license (GPLv3). - If the app is closed-source, this definitely violates the LiveCode Indy end user license agreement and probably also the LiveCode Community copyright license. If you are doing this, stop doing so immediately and get a Business license seat for each person involved in developing your app. Apple's walled garden is not a fertile pasture for growing Free Software. If you want to make Free Software apps for mobile devices, target Android. Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From richmondmathewson at gmail.com Wed Jul 20 18:08:49 2016 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 21 Jul 2016 01:08:49 +0300 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: <92769a54-b5d3-618f-7017-e1bf4b96c6cb@livecode.com> References: <578E9638.3050101@fourthworld.com> <92769a54-b5d3-618f-7017-e1bf4b96c6cb@livecode.com> Message-ID: <73149ca1-93be-6787-724a-480c03ca3973@gmail.com> Or target those people who have jail-broken their iPads . . . Richmond. On 21.07.2016 00:54, Peter TB Brett wrote: > > > On 20/07/2016 20:53, Sannyasin Brahmanathaswami wrote: >> Kay C Lan wrote: >> >> " Fortunately one of the parents is extremely supportive and is happy >> to pony up for an LC Indy License. Is it kosher that this app, built >> by multiple people using Community, is now licensed by a single Indy >> holder? Can further game refinement be done by the gang using >> Community?" >> >> I have this same question.. >> >> @ Peter >> >> http://article.gmane.org/gmane.comp.ide.revolution.user/223575 >> >> doesn't really answer the above. > > Well, I hope the following is sufficiently unambiguous. > >> >> i) a product that is pushed to the Apple app store under Indy via 1 >> user on the team > > This is exactly what LiveCode Indy is intended for. > >> ii) that includes code created by the team, many of whom are fall in >> the categories of >> >> volunteers |non-profit staffers | students et all such other >> "community" users >> >> put another way? to say the obvious? the use case is "all GPL top to >> bottom," with only Apple's rules forcing a closed source build for a >> single distribution channel context. > > - If the app is open source, this definitely violates either the Apple > store agreement or the LiveCode Community copyright license (GPLv3). > > - If the app is closed-source, this definitely violates the LiveCode > Indy end user license agreement and probably also the LiveCode > Community copyright license. > > If you are doing this, stop doing so immediately and get a Business > license seat for each person involved in developing your app. > > Apple's walled garden is not a fertile pasture for growing Free > Software. If you want to make Free Software apps for mobile devices, > target Android. > > Peter > From devin_asay at byu.edu Wed Jul 20 18:36:48 2016 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 20 Jul 2016 22:36:48 +0000 Subject: Backspace unrecoverably deletes an object .... In-Reply-To: References: <744C3505-2860-4C9F-B5A4-CB0F14345AC1@wanadoo.fr> Message-ID: <9082325D-7575-464D-B00D-6CA9CB5FC42E@byu.edu> > On Jul 20, 2016, at 3:45 PM, Peter TB Brett wrote: > > > > On 20/07/2016 20:47, Mike Kerner wrote: >> Also bad, but a little more modern: lc8.0.3 crashed a moment ago, and >> three hours of work went with it. I was doing a find in the script editor >> when it closed its eyes. > > There's a known (and frustrating) crash regression in 8.0.2-rc-3 and we think we've got the fix for an 8.0.2-rc-4 release. > > TBH you're probably better off using 8.0.1 until we get that release out. Peter, Do you know whether that regression shows up in 8.1.0 dp2? Devin Devin Asay Office of Digital Humanities Brigham Young University From monte at appisle.net Wed Jul 20 18:44:08 2016 From: monte at appisle.net (Monte Goulding) Date: Thu, 21 Jul 2016 08:44:08 +1000 Subject: Backspace unrecoverably deletes an object .... In-Reply-To: <9082325D-7575-464D-B00D-6CA9CB5FC42E@byu.edu> References: <744C3505-2860-4C9F-B5A4-CB0F14345AC1@wanadoo.fr> <9082325D-7575-464D-B00D-6CA9CB5FC42E@byu.edu> Message-ID: <89FFBF97-A4A2-4445-8D3E-9546035A26A9@appisle.net> Yes it does Sent from my iPhone > On 21 Jul 2016, at 8:36 AM, Devin Asay wrote: > > Do you know whether that regression shows up in 8.1.0 dp2? From rman at free.fr Wed Jul 20 18:10:49 2016 From: rman at free.fr (Robert Mann) Date: Wed, 20 Jul 2016 15:10:49 -0700 (PDT) Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: <92769a54-b5d3-618f-7017-e1bf4b96c6cb@livecode.com> References: <62955452-a8e1-2aae-dfd9-857b2867bc9b@livecode.com> <57879ECD.4010009@fourthworld.com> <640020FD-324D-4E4A-B016-13FFC7A0111E@mac.com> <5787CFA7.4000306@fourthworld.com> <578E9638.3050101@fourthworld.com> <92769a54-b5d3-618f-7017-e1bf4b96c6cb@livecode.com> Message-ID: <1469052649308-4706833.post@n4.nabble.com> "" - If the app is open source, this definitely violates either the Apple store agreement or the LiveCode Community copyright license (GPLv3). - If the app is closed-source, this definitely violates the LiveCode Indy end user license agreement and probably also the LiveCode Community copyright license. If you are doing this, stop doing so immediately and get *a Business license seat for each person involved in developing your app.* Apple's walled garden is not a fertile pasture for growing Free Software. If you want to make Free Software apps for mobile devices, target Android. Peter "" Dear Peter, for centuries, the legal community and professionals have exercised their intelligence to taylor strict legal rules to make them fit to reality. English law is the legal system which empowers most the judges to complement strict rules by case law. So that case is precisely a case that calls for some kind of interpretation of the strict rule. To do so lawyers tend to enquire on the profound objectives of the law and see to what extend the fundamental points of a rule have been or not "trespassed" if I may say so. THis is a process with which programmers may not be very prepared : for us a rule is a rule and, unless you program in fuzzy logic is yes or no. So it may be that your rather strict point of view could perhaps be watered down, as the straight answer you'r given to the case of these youngsters may not be in the interest of the communiity : that each should get a business license just because they participate to a few lines of code is a rather unfriendly and perhaps not so human position. And that kind of position can also have the effect of just frightening people around. Also, on the legal ground, what seems to matters for licenses so far that might little background in English and french law can help me is not who coded what at what time, but who is the official owner of the stuff. So If student A writes down some code on text wrangle and gives it to student B who (thanks folks) have an indy license, that belongs to student B and he can dispose of it as he wishes, open sourced or closed source. In that case it seems to me that it is just a case of confidence between the group of happy co-contributers, co-thinkers. --- I really think we should A) take great care to simplify as much as possible all the complex rules that govern tend to govern more and more very little tiny step we make, and B) to apply them with human intelligence and adaptability, as this is the essence of the law, as is taught in the british common law. We definitely need a license guide for humans. This will be difficult as thinking about it will raise some fundamental issues, but, that must be addressed, and hopefully by the community and livecode hand in hands. -- Dr Peter Brett <peter.brett@> LiveCode Technical Project Manager LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ _______________________________________________ use-livecode mailing list use-livecode at .runrev Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/On-rev-support-problem-tp4706664p4706833.html Sent from the Revolution - User mailing list archive at Nabble.com. From bogdanoff at me.com Wed Jul 20 22:00:22 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Wed, 20 Jul 2016 19:00:22 -0700 Subject: Unicode and card names Message-ID: <563F7490-0731-4F82-B12D-4F61C1EE8354@me.com> Hi, Am I correct in thinking that with Unicode support, cards can now be named anything that uses Unicode characters? Formerly, I ran into trouble when trying to reference cards that had a name that contained an accented character. Is this now gone away? Peter Bogdanoff UCLA From mwieder at ahsoftware.net Wed Jul 20 22:10:41 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 20 Jul 2016 19:10:41 -0700 Subject: paypal encrypted buttons using lc In-Reply-To: References: Message-ID: <57902F21.1040309@ahsoftware.net> On 07/20/2016 02:13 PM, Mike Bonner wrote: > This is why I'm looking in to doing the encryption on my own. (not > necessarily on the fly) as described best here: > https://www.stellarwebsolutions.com/en/articles/paypal_button_encryption_php.php I'm coming in late to the party as usual, and I probably don't need to say it but I will anyway... I would never trust generating a private key to some anonymous website. Or any other website. Or anything that wasn't my own computer. Please don't do that. OK - I got that out of the way. From the looks of that web page, the openssl part looks pretty straightforward - set some local environment variables, then call openssl to encrypt the data, and send it on its way. On the other hand, if your call to paypal will require you to send a client certificate, LiveCode can't do that yet. But it's not obvious to me from the php code presented that you would need that, so I think you're good there. -- Mark Wieder ahsoftware at gmail.com From bonnmike at gmail.com Wed Jul 20 22:36:42 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 20 Jul 2016 20:36:42 -0600 Subject: paypal encrypted buttons using lc In-Reply-To: <57902F21.1040309@ahsoftware.net> References: <57902F21.1040309@ahsoftware.net> Message-ID: Yeah, I won't be generating the key through their site, it will be done by me on a system controlled by me. (I've been playing with a droplet on digitial ocean to try things out) I will probably end up with a virtual linux box on my local machine. As for sending a cert, no I don't believe that is necessary. Once the encryption is done its just a chunk of data embedded in a regular paypal add to cart form. (exactly as can be generated on the paypal site with their button builder.) I will also likely store my own buttons, pre-generated/encrypted.rather than generating them each page show. It did finally click with me that it is just a shell (exec) call to openssl to generate the encrypted part of the button data, so i'm pretty sure I can handle it now. Essentially I hope to end up with an easy way for my friend to get buttons set up, store them in a database and dynamically generate pages. Meeting with them tomorrow to work through their paypal settings and discuss options for getting this done. Thanks for all the input. Things are finally starting to gestalt. On Wed, Jul 20, 2016 at 8:10 PM, Mark Wieder wrote: > On 07/20/2016 02:13 PM, Mike Bonner wrote: > > This is why I'm looking in to doing the encryption on my own. (not >> necessarily on the fly) as described best here: >> >> https://www.stellarwebsolutions.com/en/articles/paypal_button_encryption_php.php >> > > I'm coming in late to the party as usual, and I probably don't need to say > it but I will anyway... I would never trust generating a private key to > some anonymous website. Or any other website. Or anything that wasn't my > own computer. Please don't do that. > > OK - I got that out of the way. > > From the looks of that web page, the openssl part looks pretty > straightforward - set some local environment variables, then call openssl > to encrypt the data, and send it on its way. On the other hand, if your > call to paypal will require you to send a client certificate, LiveCode > can't do that yet. But it's not obvious to me from the php code presented > that you would need that, so I think you're good there. > > -- > Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Thu Jul 21 01:27:03 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 20 Jul 2016 22:27:03 -0700 Subject: paypal encrypted buttons using lc In-Reply-To: References: <57902F21.1040309@ahsoftware.net> Message-ID: <57905D27.9060800@ahsoftware.net> On 07/20/2016 07:36 PM, Mike Bonner wrote: > It did finally click with me that it is just a shell (exec) call to openssl > to generate the encrypted part of the button data, so i'm pretty sure I can > handle it now. Yeah, I think just set the proper environment variables, issue the shell command, and you're set. -- Mark Wieder ahsoftware at gmail.com From peter.brett at livecode.com Thu Jul 21 02:35:21 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Thu, 21 Jul 2016 07:35:21 +0100 Subject: Unicode and card names In-Reply-To: <563F7490-0731-4F82-B12D-4F61C1EE8354@me.com> References: <563F7490-0731-4F82-B12D-4F61C1EE8354@me.com> Message-ID: On 21/07/2016 03:00, Peter Bogdanoff wrote: > Am I correct in thinking that with Unicode support, cards can now be named anything that uses Unicode characters? > > Formerly, I ran into trouble when trying to reference cards that had a name that contained an accented character. As I understan it, it should work fine as long as you use the 7.0 file format or newer. Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From mark at sorcery-ltd.co.uk Thu Jul 21 04:57:31 2016 From: mark at sorcery-ltd.co.uk (Mark Wilcox) Date: Thu, 21 Jul 2016 09:57:31 +0100 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: <1469052649308-4706833.post@n4.nabble.com> References: <62955452-a8e1-2aae-dfd9-857b2867bc9b@livecode.com> <57879ECD.4010009@fourthworld.com> <640020FD-324D-4E4A-B016-13FFC7A0111E@mac.com> <5787CFA7.4000306@fourthworld.com> <578E9638.3050101@fourthworld.com> <92769a54-b5d3-618f-7017-e1bf4b96c6cb@livecode.com> <1469052649308-4706833.post@n4.nabble.com> Message-ID: <1469091451.913719.672558561.3C5C04E8@webmail.messagingengine.com> > So If student A writes down some code on text wrangle and gives it to > student B who (thanks folks) have an indy license, that belongs to student B > and he can dispose of it as he wishes, open sourced or closed source. > In that case it seems to me that it is just a case of confidence between the > group of happy co-contributers, co-thinkers. If student A assigns his copyright in the code he has written to student B, and student B has an Indy license then student B can probably publish on the app store as long as he has written substantial portions of the whole app himself. Student A might not be able to assign all of the copyright in his code to student B (because LiveCode claim it is a derivative work - although I doubt a judge/jury would agree with them, this has not been tested). However, any copyright LiveCode claim in the work is OK because student B already has a license for this anyway. So the GPL is not an issue in this. The issue is the wording of the Indy license, which I was going to check but livecode.com seems to be down. I seem to remember there's an explicit clause against publishing the work of others, unless you've written substantial parts of it yourself. Confidence between co-contributors has no legal basis here. I continue to believe that despite the obvious struggles LiveCode is having getting enough licensing revenue, they're shooting themselves in the foot by trying to over-reach on claiming community users code is a derivative of the engine. Mark From peter.brett at livecode.com Thu Jul 21 07:09:01 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Thu, 21 Jul 2016 12:09:01 +0100 Subject: [ANN] Updates to LiveCode's platform support policy Message-ID: Hi all, Today, we are announcing some changes to the list of officially-supported platforms, i.e. the platforms that we use to test LiveCode, and that you can normally expect our support team will be able to help you with. Please read more this change on the LiveCode blog: https://livecode.com/updated-platform-support-policy/ Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From harrison at all-auctions.com Thu Jul 21 09:36:07 2016 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 21 Jul 2016 09:36:07 -0400 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: <1469091451.913719.672558561.3C5C04E8@webmail.messagingengine.com> References: <62955452-a8e1-2aae-dfd9-857b2867bc9b@livecode.com> <57879ECD.4010009@fourthworld.com> <640020FD-324D-4E4A-B016-13FFC7A0111E@mac.com> <5787CFA7.4000306@fourthworld.com> <578E9638.3050101@fourthworld.com> <92769a54-b5d3-618f-7017-e1bf4b96c6cb@livecode.com> <1469052649308-4706833.post@n4.nabble.com> <1469091451.913719.672558561.3C5C04E8@webmail.messagingengine.com> Message-ID: <40CF6CFE-778A-4E8E-91A3-AEF4CA53BC7A@all-auctions.com> Hi Mark, If student A wants to assign or sell student B all copyright rights for his work for let?s say $1.00 (which is consideration in the legal sense of then word.) then student B legally owns all copyright rights to that work. It is treated as though it was a work for hire even though only $1.00 changed hands. Student B, who owns an Indy License, may then publish the work as if he had written the entire code, because he legally owns the whole work. Any revenue then obtained all accrues to student B. If the LiveCode Indy license does not allow this - at least for the U.S.A. then there is a problem with the LiveCode license. Just my 2 cents on this. :-) Rick > On Jul 21, 2016, at 4:57 AM, Mark Wilcox wrote: > >> So If student A writes down some code on text wrangle and gives it to >> student B who (thanks folks) have an indy license, that belongs to student B >> and he can dispose of it as he wishes, open sourced or closed source. > >> In that case it seems to me that it is just a case of confidence between the >> group of happy co-contributers, co-thinkers. > > If student A assigns his copyright in the code he has written to student > B, and student B has an Indy license then student B can probably publish > on the app store as long as he has written substantial portions of the > whole app himself. > > Student A might not be able to assign all of the copyright in his code > to student B (because LiveCode claim it is a derivative work - although > I doubt a judge/jury would agree with them, this has not been tested). > However, any copyright LiveCode claim in the work is OK because student > B already has a license for this anyway. So the GPL is not an issue in > this. > > The issue is the wording of the Indy license, which I was going to check > but livecode.com seems to be down. I seem to remember there's an > explicit clause against publishing the work of others, unless you've > written substantial parts of it yourself. > > Confidence between co-contributors has no legal basis here. > > I continue to believe that despite the obvious struggles LiveCode is > having getting enough licensing revenue, they're shooting themselves in > the foot by trying to over-reach on claiming community users code is a > derivative of the engine. > > Mark > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Thu Jul 21 09:51:25 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 21 Jul 2016 09:51:25 -0400 Subject: [ANN] Updates to LiveCode's platform support policy In-Reply-To: References: Message-ID: In Chrome on Yosemite, clicking OSX opens the Linux list. OSX list will not open. Works fine in Safari. ~Roger On Thu, Jul 21, 2016 at 7:09 AM, Peter TB Brett wrote: > Hi all, > > Today, we are announcing some changes to the list of officially-supported > platforms, i.e. the platforms that we use to test LiveCode, and that you > can normally expect our support team will be able to help you with. > > Please read more this change on the LiveCode blog: > https://livecode.com/updated-platform-support-policy/ > > Peter > > -- > Dr Peter Brett > LiveCode Technical Project Manager > > LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mark at sorcery-ltd.co.uk Thu Jul 21 09:51:53 2016 From: mark at sorcery-ltd.co.uk (Mark Wilcox) Date: Thu, 21 Jul 2016 14:51:53 +0100 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: <40CF6CFE-778A-4E8E-91A3-AEF4CA53BC7A@all-auctions.com> References: <62955452-a8e1-2aae-dfd9-857b2867bc9b@livecode.com> <57879ECD.4010009@fourthworld.com> <640020FD-324D-4E4A-B016-13FFC7A0111E@mac.com> <5787CFA7.4000306@fourthworld.com> <578E9638.3050101@fourthworld.com> <92769a54-b5d3-618f-7017-e1bf4b96c6cb@livecode.com> <1469052649308-4706833.post@n4.nabble.com> <1469091451.913719.672558561.3C5C04E8@webmail.messagingengine.com> <40CF6CFE-778A-4E8E-91A3-AEF4CA53BC7A@all-auctions.com> Message-ID: <1469109113.971779.672796737.39AF510E@webmail.messagingengine.com> > If student A wants to assign or sell student B all copyright rights for > his work > for let?s say $1.00 (which is consideration in the legal sense of then > word.) > then student B legally owns all copyright rights to that work. It is > treated > as though it Work for hire is a separate (although related) issue. I completely agree that LiveCode cannot (with copyright law at least) prevent developers doing work for hire using a community license only. Of course morally if someone is making a living doing LiveCode contract development, then they ought to have their own license but if they don't need to publish their work themselves, the GPL doesn't place any restrictions on them. The only reason copyright assignment is required in the collaborative no-fee changing hands case with one license holder is because the GPL is incompatible with the App Store EULA and so whoever has the LiveCode license needs to own the copyright to the rest of the code to be able to distribute on the App Store GPL-free. -- Mark Wilcox mark at sorcery-ltd.co.uk From colinholgate at gmail.com Thu Jul 21 10:08:18 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Thu, 21 Jul 2016 10:08:18 -0400 Subject: [ANN] Updates to LiveCode's platform support policy In-Reply-To: References: Message-ID: <8F25F595-5727-40F7-BEC7-73F5468D12AC@gmail.com> A couple of comments about the OS X entry: 1. The description is unnecessarily political. Under linux you take the time to explain the support for several different version of Linux, all of which added together are not as popular as Mac OS. Under OS X you?re almost apologizing for taking away support time for other platforms. http://9to5mac.com/2016/03/18/os-x-versus-linux-developers/ 2. It could be worth changing the title to OS X / macOS, and including version 10.12 in the list. I know that it?s not released, but it is in public beta, and I?m pretty sure you intend to support it. LiveCode seems to be running well in 10.12. As far as I can tell LiveCode apps run under iOS 10 ok too, which again is not released, but would there be any harm in stating now that you intend to support it? > On Jul 21, 2016, at 7:09 AM, Peter TB Brett wrote: > > Hi all, > > Today, we are announcing some changes to the list of officially-supported platforms, i.e. the platforms that we use to test LiveCode, and that you can normally expect our support team will be able to help you with. > > Please read more this change on the LiveCode blog: > https://livecode.com/updated-platform-support-policy/ > > Peter > > -- > Dr Peter Brett > LiveCode Technical Project Manager > > LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Thu Jul 21 11:05:03 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 21 Jul 2016 11:05:03 -0400 Subject: [ANN] Updates to LiveCode's platform support policy In-Reply-To: <8F25F595-5727-40F7-BEC7-73F5468D12AC@gmail.com> References: <8F25F595-5727-40F7-BEC7-73F5468D12AC@gmail.com> Message-ID: There is political bias anytime the source of the info has "mac" in the name of the website. I think LiveCode was very thoughtful to detail their reasons, and I didn't consider it a political apology at all. ~Roger On Thu, Jul 21, 2016 at 10:08 AM, Colin Holgate wrote: > A couple of comments about the OS X entry: > > 1. The description is unnecessarily political. Under linux you take the > time to explain the support for several different version of Linux, all of > which added together are not as popular as Mac OS. Under OS X you?re almost > apologizing for taking away support time for other platforms. > > http://9to5mac.com/2016/03/18/os-x-versus-linux-developers/ < > http://9to5mac.com/2016/03/18/os-x-versus-linux-developers/> > > 2. It could be worth changing the title to OS X / macOS, and including > version 10.12 in the list. I know that it?s not released, but it is in > public beta, and I?m pretty sure you intend to support it. LiveCode seems > to be running well in 10.12. > > As far as I can tell LiveCode apps run under iOS 10 ok too, which again is > not released, but would there be any harm in stating now that you intend to > support it? > > > > On Jul 21, 2016, at 7:09 AM, Peter TB Brett > wrote: > > > > Hi all, > > > > Today, we are announcing some changes to the list of > officially-supported platforms, i.e. the platforms that we use to test > LiveCode, and that you can normally expect our support team will be able to > help you with. > > > > Please read more this change on the LiveCode blog: > > https://livecode.com/updated-platform-support-policy/ > > > > Peter > > > > -- > > Dr Peter Brett > > LiveCode Technical Project Manager > > > > LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Thu Jul 21 11:32:10 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 21 Jul 2016 08:32:10 -0700 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: <40CF6CFE-778A-4E8E-91A3-AEF4CA53BC7A@all-auctions.com> References: <40CF6CFE-778A-4E8E-91A3-AEF4CA53BC7A@all-auctions.com> Message-ID: <0a281f83-063f-ebe0-4cce-2fa1243b1453@fourthworld.com> Rick Harrison wrote: > If student A wants to assign or sell student B all copyright rights > for his work for let?s say $1.00 (which is consideration in the legal > sense of then word.) then student B legally owns all copyright rights > to that work. It is treated as though it was a work for hire even > though only $1.00 changed hands. Transfer of copyright may not require a financial transaction. Many open source projects use Contributor License Agreements to allow contributions while maintaining a single copyright holder: The CLA for the LiveCode project is linked to from this "Contribute to LiveCode" page: > Student B, who owns an Indy License, may then publish the work as > if he had written the entire code, because he legally owns the whole > work. > Any revenue then obtained all accrues to student B. > > If the LiveCode Indy license does not allow this - at least for the > U.S.A. then there is a problem with the LiveCode license. I'm not a lawyer, but the restrictions on building for others seem geared to prevent build farms, where any number of people may attempt use the Community Edition to build a work and then one Indy licensee makes all their standalones for them for proprietary distribution - see section 3, "No Competition", here: In my layman's reading this seems a reasonable restriction to prevent a single licensee from undermining the development of the platform by churning out proprietary works for people who have no proprietary license. As with the questions about the GPL, if the current wording of either license later proves unenforceable that will be a very brief moment, since as Mark Waddingham noted during the last tediously lengthy discussion on licensing a few months ago: I can say for certain that if that does happen then we will immediately change the license of the community version of LiveCode to that new iteration. As the computer world evolves so fast, it really doesn't matter what source code is out there in the wild under the current version as that source will become obsolete in a relatively short space of time. It may be possible to use loopholes in the current licenses against the intentions of the company, but personally I can't see spending my own time pursuing that. I understand how expensive it is to produce a tool like this for so many platforms, and even though I can use the Community Edition for two of my biggest projects right now I'm still prepaid on my Indy license many years in advance because I would like the platform to continue providing the unique value it delivers for my business and those of my clients. For myself (I do not offer legal advice for others), I especially appreciated this simple clarify from Mark's post linked to above: The fact of the matter is that it comes down to one of the following: 1) If you are happy to buy into the ideal of the GPL and abide by its terms then use the community edition. 2) If not, buy a commercial edition. I tend to follow that with all of my projects, whether LiveCode or Drupal or Wordpress or any others who hold a similar view of the GPL. After all, for most of LC's life there was no GPL option at all, so it's easy enough to ignore it whenever I prefer a project not to be bound to the GPL's terms and just keep using the proprietary edition as I've been doing for so many years. The company's intentions seem reasonable to me, and both LiveCode Ltd. and the previous owner of the engine, MetaCard Corp., have been reliable business partners for nearly two decades. In my own office I see no value in disrupting that, and much value in supporting it. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Thu Jul 21 11:39:49 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 21 Jul 2016 08:39:49 -0700 Subject: [ANN] Updates to LiveCode's platform support policy In-Reply-To: References: Message-ID: Roger Eller wrote: > On Thu, Jul 21, 2016 at 7:09 AM, Peter TB Brett wrote: > >> Please read more this change on the LiveCode blog: >> https://livecode.com/updated-platform-support-policy/ >> > In Chrome on Yosemite, clicking OSX opens the Linux list. OSX list > will not open. Works fine in Safari. Thanks for reporting that. FWIW it works well here on Chrome for Ubuntu. This is an especially useful report for the readers of a list about a multi-platform development tool: Those who do web development understand all too well that, despite using relatively limited APIs designed specifically for omni-platform interoperability and financed by some of the largest companies in history, inconsistencies between brands of browsers and versions of browsers and different OSes make for a tragically unpredictable world of development expense that not even the world's considerable investment in HTML5 as a common spec has yet eliminated. Warts and all, compared to the best work of the world's biggest companies, LC looks pretty good, even more so when we compare the amount of financing for the respective teams. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Thu Jul 21 12:00:57 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 21 Jul 2016 09:00:57 -0700 Subject: [ANN] Updates to LiveCode's platform support policy In-Reply-To: <8F25F595-5727-40F7-BEC7-73F5468D12AC@gmail.com> References: <8F25F595-5727-40F7-BEC7-73F5468D12AC@gmail.com> Message-ID: Colin Holgate wrote: > 1. The description is unnecessarily political. Under linux you take > the time to explain the support for several different version of > Linux, all of which added together are not as popular as Mac OS. > Under OS X you?re almost apologizing for taking away support time for > other platforms. I'm impressed by your sensitivity to the nuance there, but not surprised; you've always been among the more astute and considerate of us. In this case, though, it may be a cultural thing: Linux folks tend to have thick skins (well, except when they're arguing with other Linux folks), and generally accept the inherent complexity that comes with having so many distros to choose from. While folks managing end-user-focused distros like Ubuntu or Mint tend to be picky about nomenclature and how it may affect the gestalt of the UX, you'll almost never see a developer running Kali or Qubes complaining that they weren't sufficiently catered to. :) Like Roger, I didn't even notice it. I'm not sure what this has to do with LC's support page, but it was interesting just the same: > http://9to5mac.com/2016/03/18/os-x-versus-linux-developers/ That Linux has earned enough of an audience for that to be even a question is noteworthy in itself. But it's also worth noting that the survey only touches one side of the development workflow, the client. Most development work these days is client-server, and like Apple themselves, with most devs the server side is usually Linux, sometimes Windows, and rarely Mac. I had a good talk with a lead server engineer from Apple who had a booth at the SoCal Linux Expo looking for talent to help manage their ever-growing Linux installs, and Apple's investment in Linux to run so much of their backend infrastructure is impressive. > 2. It could be worth changing the title to OS X / macOS, and > including version 10.12 in the list. Seconded. Not only is it more au curant, but Apple's recent renaming back to a variant of its original name helps our humble language avoid a token change, since "macos" is the string constant returned with platform(). -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Thu Jul 21 12:36:25 2016 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 21 Jul 2016 19:36:25 +0300 Subject: Flipping Graphics Message-ID: <03391553-6aa2-ae97-5939-a99a0e818418@gmail.com> As it is possible to *flip* a *graphic* via the *revMenubar*: Menu/Object/Flip Graphic why does it not appear to be possible to *flip* using code: on mouseUp flip grc "XXX" horizontally end mouseUp ? Richmond. From klaus at major-k.de Thu Jul 21 12:39:33 2016 From: klaus at major-k.de (Klaus major-k) Date: Thu, 21 Jul 2016 18:39:33 +0200 Subject: Flipping Graphics In-Reply-To: <03391553-6aa2-ae97-5939-a99a0e818418@gmail.com> References: <03391553-6aa2-ae97-5939-a99a0e818418@gmail.com> Message-ID: Hi Richmond, > Am 21.07.2016 um 18:36 schrieb Richmond : > > As it is possible to *flip* a *graphic* via the *revMenubar*: Menu/Object/Flip Graphic why does it not > appear to be possible to *flip* using code: > > on mouseUp > flip grc "XXX" horizontally > end mouseUp > ? as the dicitonary states, "flip" only works with images. > Richmond. Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From richmondmathewson at gmail.com Thu Jul 21 12:45:03 2016 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 21 Jul 2016 19:45:03 +0300 Subject: Flipping Graphics In-Reply-To: References: <03391553-6aa2-ae97-5939-a99a0e818418@gmail.com> Message-ID: <79b42ed1-fca4-256b-3348-33b83bc641ae@gmail.com> Hi, Klaus: I am well aware what the dictionary states. However, as there seems a way to flip graphics within the menu system . . . Richmond. On 21.07.2016 19:39, Klaus major-k wrote: > Hi Richmond, > >> Am 21.07.2016 um 18:36 schrieb Richmond : >> >> As it is possible to *flip* a *graphic* via the *revMenubar*: Menu/Object/Flip Graphic why does it not >> appear to be possible to *flip* using code: >> >> on mouseUp >> flip grc "XXX" horizontally >> end mouseUp >> ? > as the dicitonary states, "flip" only works with images. > >> Richmond. > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Thu Jul 21 12:45:40 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 21 Jul 2016 10:45:40 -0600 Subject: Flipping Graphics In-Reply-To: References: <03391553-6aa2-ae97-5939-a99a0e818418@gmail.com> Message-ID: Here is code in the ide that flips graphics, you can probably use it to make your own version and stuff it in a library. on revIDEFlipGraphics pGraphics, pOrientation # Make sure targets are all graphics if not revIDEEnsureControlsOfType(pGraphics, "graphic") then exit revIDEFlipGraphics end if repeat for each line tGraphic in pGraphics local tPoints, tNewPoints put the points of tGraphic into tPoints if pOrientation is "Horizontal" then ## 2014-08-20 EJB [[Bug 13191]] --flip graphic horizontally local tLeft, tRight put the left of tGraphic into tLeft put the right of tGraphic into tRight repeat for each line tPoint in tPoints -- added BN in case a line is empty if tPoint is empty then put cr after tNewPoints next repeat end if put tLeft + tRight - item 1 of tPoint, item 2 of tPoint & cr after tNewPoints end repeat else --flip graphic vertically local tTop, tBottom put the top of tGraphic into tTop put the bottom of tGraphic into tBottom repeat for each line tPoint in tPoints -- added BN in case a line is empty if tPoint is empty then put cr after tNewPoints next repeat end if put item 1 of tPoint, tTop + tBottom - item 2 of tPoint & cr after tNewPoints end repeat end if set the points of tGraphic to tNewPoints end repeat end revIDEFlipGraphics On Thu, Jul 21, 2016 at 10:39 AM, Klaus major-k wrote: > Hi Richmond, > > > Am 21.07.2016 um 18:36 schrieb Richmond : > > > > As it is possible to *flip* a *graphic* via the *revMenubar*: > Menu/Object/Flip Graphic why does it not > > appear to be possible to *flip* using code: > > > > on mouseUp > > flip grc "XXX" horizontally > > end mouseUp > > ? > > as the dicitonary states, "flip" only works with images. > > > Richmond. > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Thu Jul 21 12:46:56 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 21 Jul 2016 10:46:56 -0600 Subject: Flipping Graphics In-Reply-To: <79b42ed1-fca4-256b-3348-33b83bc641ae@gmail.com> References: <03391553-6aa2-ae97-5939-a99a0e818418@gmail.com> <79b42ed1-fca4-256b-3348-33b83bc641ae@gmail.com> Message-ID: "flip" is a built in that only works on images. When the ide flips a graphic, it uses the preceeding code. Of course if you're only doing this in the ide you could use the message box and call revideflipgraphics directly. On Thu, Jul 21, 2016 at 10:45 AM, Richmond wrote: > Hi, Klaus: I am well aware what the dictionary states. > > However, as there seems a way to flip graphics within the menu system . . > . > > Richmond. > > > > On 21.07.2016 19:39, Klaus major-k wrote: > >> Hi Richmond, >> >> Am 21.07.2016 um 18:36 schrieb Richmond : >>> >>> As it is possible to *flip* a *graphic* via the *revMenubar*: >>> Menu/Object/Flip Graphic why does it not >>> appear to be possible to *flip* using code: >>> >>> on mouseUp >>> flip grc "XXX" horizontally >>> end mouseUp >>> ? >>> >> as the dicitonary states, "flip" only works with images. >> >> Richmond. >>> >> Best >> >> Klaus >> >> -- >> Klaus Major >> http://www.major-k.de >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Thu Jul 21 12:48:31 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 21 Jul 2016 10:48:31 -0600 Subject: Flipping Graphics In-Reply-To: References: <03391553-6aa2-ae97-5939-a99a0e818418@gmail.com> <79b42ed1-fca4-256b-3348-33b83bc641ae@gmail.com> Message-ID: DOH, or use the menu. On Thu, Jul 21, 2016 at 10:46 AM, Mike Bonner wrote: > "flip" is a built in that only works on images. When the ide flips a > graphic, it uses the preceeding code. > Of course if you're only doing this in the ide you could use the message > box and call revideflipgraphics directly. > > On Thu, Jul 21, 2016 at 10:45 AM, Richmond > wrote: > >> Hi, Klaus: I am well aware what the dictionary states. >> >> However, as there seems a way to flip graphics within the menu system . >> . . >> >> Richmond. >> >> >> >> On 21.07.2016 19:39, Klaus major-k wrote: >> >>> Hi Richmond, >>> >>> Am 21.07.2016 um 18:36 schrieb Richmond : >>>> >>>> As it is possible to *flip* a *graphic* via the *revMenubar*: >>>> Menu/Object/Flip Graphic why does it not >>>> appear to be possible to *flip* using code: >>>> >>>> on mouseUp >>>> flip grc "XXX" horizontally >>>> end mouseUp >>>> ? >>>> >>> as the dicitonary states, "flip" only works with images. >>> >>> Richmond. >>>> >>> Best >>> >>> Klaus >>> >>> -- >>> Klaus Major >>> http://www.major-k.de >>> klaus at major-k.de >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From klaus at major-k.de Thu Jul 21 12:48:51 2016 From: klaus at major-k.de (Klaus major-k) Date: Thu, 21 Jul 2016 18:48:51 +0200 Subject: Flipping Graphics In-Reply-To: <79b42ed1-fca4-256b-3348-33b83bc641ae@gmail.com> References: <03391553-6aa2-ae97-5939-a99a0e818418@gmail.com> <79b42ed1-fca4-256b-3348-33b83bc641ae@gmail.com> Message-ID: Hi Richmond, > Am 21.07.2016 um 18:45 schrieb Richmond : > > Hi, Klaus: I am well aware what the dictionary states. > > However, as there seems a way to flip graphics within the menu system . . . yes, sorry, my fault! What Mike wrote! :-) > Richmond. > > > On 21.07.2016 19:39, Klaus major-k wrote: >> Hi Richmond, >> >>> Am 21.07.2016 um 18:36 schrieb Richmond : >>> >>> As it is possible to *flip* a *graphic* via the *revMenubar*: Menu/Object/Flip Graphic why does it not >>> appear to be possible to *flip* using code: >>> >>> on mouseUp >>> flip grc "XXX" horizontally >>> end mouseUp >>> ? >> as the dicitonary states, "flip" only works with images. >> >>> Richmond. Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From richmondmathewson at gmail.com Thu Jul 21 13:04:00 2016 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 21 Jul 2016 20:04:00 +0300 Subject: Flipping Graphics In-Reply-To: References: <03391553-6aa2-ae97-5939-a99a0e818418@gmail.com> Message-ID: Thanks: I have just looked at that. Richmond. On 21.07.2016 19:45, Mike Bonner wrote: > Here is code in the ide that flips graphics, you can probably use it to > make your own version and stuff it in a library. > > on revIDEFlipGraphics pGraphics, pOrientation > # Make sure targets are all graphics > if not revIDEEnsureControlsOfType(pGraphics, "graphic") then > exit revIDEFlipGraphics > end if > > repeat for each line tGraphic in pGraphics > local tPoints, tNewPoints > put the points of tGraphic into tPoints > > if pOrientation is "Horizontal" then > ## 2014-08-20 EJB [[Bug 13191]] > --flip graphic horizontally > local tLeft, tRight > put the left of tGraphic into tLeft > put the right of tGraphic into tRight > > repeat for each line tPoint in tPoints > -- added BN in case a line is empty > if tPoint is empty then > put cr after tNewPoints > next repeat > end if > > put tLeft + tRight - item 1 of tPoint, item 2 of tPoint & cr > after tNewPoints > end repeat > else > --flip graphic vertically > local tTop, tBottom > put the top of tGraphic into tTop > put the bottom of tGraphic into tBottom > repeat for each line tPoint in tPoints > -- added BN in case a line is empty > if tPoint is empty then > put cr after tNewPoints > next repeat > end if > > put item 1 of tPoint, tTop + tBottom - item 2 of tPoint & cr > after tNewPoints > end repeat > end if > set the points of tGraphic to tNewPoints > end repeat > end revIDEFlipGraphics > > On Thu, Jul 21, 2016 at 10:39 AM, Klaus major-k wrote: > >> Hi Richmond, >> >>> Am 21.07.2016 um 18:36 schrieb Richmond : >>> >>> As it is possible to *flip* a *graphic* via the *revMenubar*: >> Menu/Object/Flip Graphic why does it not >>> appear to be possible to *flip* using code: >>> >>> on mouseUp >>> flip grc "XXX" horizontally >>> end mouseUp >>> ? >> as the dicitonary states, "flip" only works with images. >> >>> Richmond. >> Best >> >> Klaus >> >> -- >> Klaus Major >> http://www.major-k.de >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Jul 21 13:08:46 2016 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 21 Jul 2016 20:08:46 +0300 Subject: Flipping Graphics In-Reply-To: References: <03391553-6aa2-ae97-5939-a99a0e818418@gmail.com> <79b42ed1-fca4-256b-3348-33b83bc641ae@gmail.com> Message-ID: <2b58920f-338f-9c47-d818-d6f549cc43dc@gmail.com> On 21.07.2016 19:48, Mike Bonner wrote: > DOH, or use the menu. No? Really? Surely not? I have a pupil who is trying to make a 'shooter' game featuring a rectangular graphic in which he keeps changing the backPattern to get an animation effect, and a wiggly line graphic along which his "bullets" move: both of which are in a group. He cannot flip the group; but he'd like to be able to flip the bullet trajectory everytime the end-user send the animated figure in the "other direction" so he doesn't shoot in the wrong direction. I asked him why he didn't just duplicate the trajectory graphic and flip it initially . . . ah the joys of asking questions of that sort of a 15 year old. Richmond. > > On Thu, Jul 21, 2016 at 10:46 AM, Mike Bonner wrote: > >> "flip" is a built in that only works on images. When the ide flips a >> graphic, it uses the preceeding code. >> Of course if you're only doing this in the ide you could use the message >> box and call revideflipgraphics directly. >> >> On Thu, Jul 21, 2016 at 10:45 AM, Richmond >> wrote: >> >>> Hi, Klaus: I am well aware what the dictionary states. >>> >>> However, as there seems a way to flip graphics within the menu system . >>> . . >>> >>> Richmond. >>> >>> >>> >>> On 21.07.2016 19:39, Klaus major-k wrote: >>> >>>> Hi Richmond, >>>> >>>> Am 21.07.2016 um 18:36 schrieb Richmond : >>>>> As it is possible to *flip* a *graphic* via the *revMenubar*: >>>>> Menu/Object/Flip Graphic why does it not >>>>> appear to be possible to *flip* using code: >>>>> >>>>> on mouseUp >>>>> flip grc "XXX" horizontally >>>>> end mouseUp >>>>> ? >>>>> >>>> as the dicitonary states, "flip" only works with images. >>>> >>>> Richmond. >>>> Best >>>> >>>> Klaus >>>> >>>> -- >>>> Klaus Major >>>> http://www.major-k.de >>>> klaus at major-k.de >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Jul 21 13:29:31 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 21 Jul 2016 10:29:31 -0700 Subject: Flipping Graphics In-Reply-To: <79b42ed1-fca4-256b-3348-33b83bc641ae@gmail.com> References: <79b42ed1-fca4-256b-3348-33b83bc641ae@gmail.com> Message-ID: Richmond wrote: > Hi, Klaus: I am well aware what the dictionary states. > > However, as there seems a way to flip graphics within the menu > system . . . Everything in the LC IDE is written in LiveCode, and all of its scripts are available to learn from. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From peter.brett at livecode.com Thu Jul 21 14:03:56 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Thu, 21 Jul 2016 19:03:56 +0100 Subject: [ANN] Updates to LiveCode's platform support policy In-Reply-To: <8F25F595-5727-40F7-BEC7-73F5468D12AC@gmail.com> References: <8F25F595-5727-40F7-BEC7-73F5468D12AC@gmail.com> Message-ID: On 21/07/2016 15:08, Colin Holgate wrote: > 2. It could be worth changing the title to OS X / macOS, and > including version 10.12 in the list. I know that it?s not released, > but it is in public beta, and I?m pretty sure you intend to support > it. LiveCode seems to be running well in 10.12. > > As far as I can tell LiveCode apps run under iOS 10 ok too, which > again is not released, but would there be any harm in stating now > that you intend to support it? Thank you for bringing it up, since clearly some clarification is needed! We do not currently intend to officially support beta releases of Mac OS or Mac OS X or iOS. When I say this, I mean that we would like to know if there are any problems, and we will certainly investigate problems promptly; however, beta and/or preview releases are not included in the list of tests that must pass in order to release LiveCode, and we can't commit to providing technical support if you run into problems. LiveCode might well run fine on these preview releases! However, until Apple releases a version of Mac OS 10.12 to general availability, using LiveCode on it will not be officially supported. Realistically, we need time to get our systems and staff up to speed! I can happily state that we intend to extend official support to any new stable releases of OS X / Mac OS / iOS that Apple come out with. So, since 10.12 stable isn't out yet, it's not yet supported. I will clarify the text in the blog post. Note that Ubuntu Linux 16.10 alpha, and Fedora Linux "Rawhide", and Debian Unstable, and Android N previews and Windows are all _also_ not officially supported. But LiveCode, and apps made with it, may very well work perfectly on any or all of them! I hope that clarifies the situation. Please let me know if you have any further questions or concerns. Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From peter.brett at livecode.com Thu Jul 21 14:23:40 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Thu, 21 Jul 2016 19:23:40 +0100 Subject: [ANN] Updates to LiveCode's platform support policy In-Reply-To: <8F25F595-5727-40F7-BEC7-73F5468D12AC@gmail.com> References: <8F25F595-5727-40F7-BEC7-73F5468D12AC@gmail.com> Message-ID: <5f372ca0-05fe-45a2-80f3-f3735ec99da8@livecode.com> On 21/07/2016 15:08, Colin Holgate wrote: > A couple of comments about the OS X entry: > > 1. The description is unnecessarily political. Under linux you take > the time to explain the support for several different version of > Linux, all of which added together are not as popular as Mac OS. > Under OS X you?re almost apologizing for taking away support time for > other platforms. It was very difficult to decide which of the many, many, many versions and variants of Linux to which to extend official support. Some justification for that choice was required. It was dead easy to choose which versions of MacOS to support: the ones that Apple themselves support. Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From MikeKerner at roadrunner.com Thu Jul 21 14:25:44 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 21 Jul 2016 14:25:44 -0400 Subject: Backspace unrecoverably deletes an object .... In-Reply-To: <89FFBF97-A4A2-4445-8D3E-9546035A26A9@appisle.net> References: <744C3505-2860-4C9F-B5A4-CB0F14345AC1@wanadoo.fr> <9082325D-7575-464D-B00D-6CA9CB5FC42E@byu.edu> <89FFBF97-A4A2-4445-8D3E-9546035A26A9@appisle.net> Message-ID: I'll be happy to get the unresponsive window regression resolved :-) On Wed, Jul 20, 2016 at 6:44 PM, Monte Goulding wrote: > Yes it does > > Sent from my iPhone > > > On 21 Jul 2016, at 8:36 AM, Devin Asay wrote: > > > > Do you know whether that regression shows up in 8.1.0 dp2? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From mark at canelasoftware.com Thu Jul 21 14:46:16 2016 From: mark at canelasoftware.com (Mark Talluto) Date: Thu, 21 Jul 2016 11:46:16 -0700 Subject: Backspace unrecoverably deletes an object .... In-Reply-To: References: <744C3505-2860-4C9F-B5A4-CB0F14345AC1@wanadoo.fr> <9082325D-7575-464D-B00D-6CA9CB5FC42E@byu.edu> <89FFBF97-A4A2-4445-8D3E-9546035A26A9@appisle.net> Message-ID: > On Jul 21, 2016, at 11:25 AM, Mike Kerner wrote: > > I'll be happy to get the unresponsive window regression resolved :-) > > On Wed, Jul 20, 2016 at 6:44 PM, Monte Goulding wrote: > >> Yes it does >> >> Sent from my iPhone >> >>> On 21 Jul 2016, at 8:36 AM, Devin Asay wrote: >>> >>> Do you know whether that regression shows up in 8.1.0 dp2? >> I have learned that if you move the unresponsive window a little by its title bar, it responds again. Clearly this bug needs to be fixed, but this is the workaround I am using in development. Will have to wait for the bug to be fixed before shipping anything. Best regards, Mark Talluto livecloud.io canelasoftware.com From scott at tactilemedia.com Thu Jul 21 14:59:04 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 21 Jul 2016 11:59:04 -0700 Subject: Backspace unrecoverably deletes an object .... In-Reply-To: References: <744C3505-2860-4C9F-B5A4-CB0F14345AC1@wanadoo.fr> <9082325D-7575-464D-B00D-6CA9CB5FC42E@byu.edu> <89FFBF97-A4A2-4445-8D3E-9546035A26A9@appisle.net> Message-ID: I haven't paid close attention to this thread -- has anybody determined what actions trigger the non-responsiveness? I seem to be dealing with this exact issue in 7.1.4. Do a couple of updates in the stack, the window becomes unresponsive. Drag the window a few pixels or click in the menubar, and controls become responsive again. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 7/21/16, 11:46 AM, "use-livecode on behalf of Mark Talluto" wrote: >> On Jul 21, 2016, at 11:25 AM, Mike Kerner >>wrote: >> >> I'll be happy to get the unresponsive window regression resolved :-) >> >> On Wed, Jul 20, 2016 at 6:44 PM, Monte Goulding >>wrote: >> >>> Yes it does >>> >>> Sent from my iPhone >>> >>>> On 21 Jul 2016, at 8:36 AM, Devin Asay wrote: >>>> >>>> Do you know whether that regression shows up in 8.1.0 dp2? >>> > >I have learned that if you move the unresponsive window a little by its >title bar, it responds again. Clearly this bug needs to be fixed, but >this is the workaround I am using in development. Will have to wait for >the bug to be fixed before shipping anything. > >Best regards, > >Mark Talluto >livecloud.io >canelasoftware.com From merakosp at gmail.com Thu Jul 21 15:09:04 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 21 Jul 2016 22:09:04 +0300 Subject: Backspace unrecoverably deletes an object .... In-Reply-To: References: <744C3505-2860-4C9F-B5A4-CB0F14345AC1@wanadoo.fr> <9082325D-7575-464D-B00D-6CA9CB5FC42E@byu.edu> <89FFBF97-A4A2-4445-8D3E-9546035A26A9@appisle.net> Message-ID: You can find more info here: http://quality.livecode.com/show_bug.cgi?id=17953 Best, Panos -- On Thu, Jul 21, 2016 at 9:59 PM, Scott Rossi wrote: > I haven't paid close attention to this thread -- has anybody determined > what actions trigger the non-responsiveness? I seem to be dealing with > this exact issue in 7.1.4. Do a couple of updates in the stack, the > window becomes unresponsive. Drag the window a few pixels or click in the > menubar, and controls become responsive again. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 7/21/16, 11:46 AM, "use-livecode on behalf of Mark Talluto" > mark at canelasoftware.com> wrote: > > >> On Jul 21, 2016, at 11:25 AM, Mike Kerner > >>wrote: > >> > >> I'll be happy to get the unresponsive window regression resolved :-) > >> > >> On Wed, Jul 20, 2016 at 6:44 PM, Monte Goulding > >>wrote: > >> > >>> Yes it does > >>> > >>> Sent from my iPhone > >>> > >>>> On 21 Jul 2016, at 8:36 AM, Devin Asay wrote: > >>>> > >>>> Do you know whether that regression shows up in 8.1.0 dp2? > >>> > > > >I have learned that if you move the unresponsive window a little by its > >title bar, it responds again. Clearly this bug needs to be fixed, but > >this is the workaround I am using in development. Will have to wait for > >the bug to be fixed before shipping anything. > > > >Best regards, > > > >Mark Talluto > >livecloud.io > >canelasoftware.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mark at sorcery-ltd.co.uk Thu Jul 21 15:32:36 2016 From: mark at sorcery-ltd.co.uk (Mark Wilcox) Date: Thu, 21 Jul 2016 20:32:36 +0100 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: <0a281f83-063f-ebe0-4cce-2fa1243b1453@fourthworld.com> References: <40CF6CFE-778A-4E8E-91A3-AEF4CA53BC7A@all-auctions.com> <0a281f83-063f-ebe0-4cce-2fa1243b1453@fourthworld.com> Message-ID: <1469129556.1041224.672948729.1B09137A@webmail.messagingengine.com> So the important clause is this one: b) The ability to create and distribute Created Software is intended for You to use with applications You have created or been substantially involved in developing. You are prohibited from using the Licensed Edition to build standalone applications for others where You are not the author of the application, or confer on others the ability to build standalone applications by any means whatsoever. For the avoidance of doubt, You may not use the Licensed Edition to create or distribute Created Software for other users who are using the Community Edition of LiveCode. This clause is intended to prevent You from providing any facility or service which would reduce or eliminate the requirement for other LiveCode users, including users of the Community Edition, to purchase a Licensed Edition to distribute their own Created Software. My interpretation (not professional legal advice) is that if you have a commercial license and you decide to build an open source app released under the GPL, such that community edition users can use the code if they want, then you could take patches from community edition users and as long as they assign copyright you can still release the app on the App Store. The reverse situation, where a community edition user has a GPL app and you as a commercial license holder submit a patch, then offer to take a non-GPL copyright license (or ownership of the copyright) and publish on the App Store is clearly not allowed. Anything in between seems like a grey area and would need clarifying with HQ. I'm not interested in finding GPL loopholes but rather the health of the LiveCode ecosystem and removing FUD from open source licensing in general. My concern around LiveCode over-reaching with their derivative work claims (which are significantly stronger than those made by WordPress and Drupal) is that what constitutes a derivative work under copyright law is not in any way altered by the license applied. So, if the original code in an app written by a community edition user is judged not to be a derivative work, then there is nothing that can be altered in the license to fix that "loophole" in LiveCode's intended licensing scheme. Having the investment of a lifetime license, I'm not keen to see LiveCode basing part of their business model on a very dubious interpretation of copyright law, which also restricts the useful sharing of code between community edition users and commercial license holders. I'd really hope to see a more enlightened policy here. It's much like the question of trying to prevent app piracy. There's no point. The people who would pirate were never going to pay anyway. Give people good reasons to do the right thing and pay, rather than try to scare them into doing so with GPL-related FUD. -- Mark Wilcox mark at sorcery-ltd.co.uk From mwieder at ahsoftware.net Thu Jul 21 16:50:57 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 21 Jul 2016 20:50:57 +0000 (UTC) Subject: Backspace unrecoverably deletes an object .... References: <744C3505-2860-4C9F-B5A4-CB0F14345AC1@wanadoo.fr> <9082325D-7575-464D-B00D-6CA9CB5FC42E@byu.edu> <89FFBF97-A4A2-4445-8D3E-9546035A26A9@appisle.net> Message-ID: panagiotis merakos writes: > You can find more info here: > > http://quality.livecode.com/show_bug.cgi?id=17953 Will that get merged as a bugfix into the 7.1.x branch or is that branch just officially dead? -- Mark Wieder ahsoftware at gmail.com From merakosp at gmail.com Thu Jul 21 17:13:34 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 22 Jul 2016 00:13:34 +0300 Subject: Backspace unrecoverably deletes an object .... In-Reply-To: References: <744C3505-2860-4C9F-B5A4-CB0F14345AC1@wanadoo.fr> <9082325D-7575-464D-B00D-6CA9CB5FC42E@byu.edu> <89FFBF97-A4A2-4445-8D3E-9546035A26A9@appisle.net> Message-ID: Both the 6.7.x and the 7.1.x versionsof LC are officially EOLed. The fix will be included in 8.0.2 RC4 and then merged into 8.0.3 RC1 and 8.1.0 DP3 On Thu, Jul 21, 2016 at 11:50 PM, Mark Wieder wrote: > panagiotis merakos writes: > > > You can find more info here: > > > > http://quality.livecode.com/show_bug.cgi?id=17953 > > Will that get merged as a bugfix into the 7.1.x branch or is that branch > just officially dead? > > -- > Mark Wieder > ahsoftware at gmail.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at appisle.net Thu Jul 21 17:24:43 2016 From: monte at appisle.net (Monte Goulding) Date: Fri, 22 Jul 2016 07:24:43 +1000 Subject: Backspace unrecoverably deletes an object .... In-Reply-To: References: <744C3505-2860-4C9F-B5A4-CB0F14345AC1@wanadoo.fr> <9082325D-7575-464D-B00D-6CA9CB5FC42E@byu.edu> <89FFBF97-A4A2-4445-8D3E-9546035A26A9@appisle.net> Message-ID: <6D122BFA-64D5-4F1B-910D-E8A6ED7252B8@appisle.net> No. We aren't building 7 any more and also this issue is probably not the same as in 7. Sent from my iPhone > On 22 Jul 2016, at 6:50 AM, Mark Wieder wrote: > > Will that get merged as a bugfix into the 7.1.x branch or is that branch > just officially dead? From smaclean at madmansoft.com Thu Jul 21 20:58:51 2016 From: smaclean at madmansoft.com (Stephen MacLean) Date: Thu, 21 Jul 2016 20:58:51 -0400 Subject: [ANN] Updates to LiveCode's platform support policy In-Reply-To: References: <8F25F595-5727-40F7-BEC7-73F5468D12AC@gmail.com> Message-ID: <65158BEB-180F-4A20-B4FF-E504F4CAA820@madmansoft.com> > On Jul 21, 2016, at 2:03 PM, Peter TB Brett wrote: > > On 21/07/2016 15:08, Colin Holgate wrote: > >> 2. It could be worth changing the title to OS X / macOS, and >> including version 10.12 in the list. I know that it?s not released, >> but it is in public beta, and I?m pretty sure you intend to support >> it. LiveCode seems to be running well in 10.12. >> >> As far as I can tell LiveCode apps run under iOS 10 ok too, which >> again is not released, but would there be any harm in stating now >> that you intend to support it? > > Thank you for bringing it up, since clearly some clarification is needed! > > We do not currently intend to officially support beta releases of Mac OS > or Mac OS X or iOS. When I say this, I mean that we would like to know > if there are any problems, and we will certainly investigate > problems promptly; however, beta and/or preview releases are not included in the list of tests that must pass in order to release LiveCode, and we can't commit to providing technical support if you run into problems. > > LiveCode might well run fine on these preview releases! However, until Apple releases a version of Mac OS 10.12 to general availability, using LiveCode on it will not be officially supported. Realistically, we need time to get our systems and staff up to speed! > > I can happily state that we intend to extend official support to any new stable releases of OS X / Mac OS / iOS that Apple come out with. So, since 10.12 stable isn't out yet, it's not yet supported. I will clarify the text in the blog post. > > Note that Ubuntu Linux 16.10 alpha, and Fedora Linux "Rawhide", and Debian Unstable, and Android N previews and Windows are all _also_ not officially supported. But LiveCode, and apps made with it, may very well work perfectly on any or all of them! > > I hope that clarifies the situation. Please let me know if you have any further questions or concerns. > > Peter While I understand why you might want to limit support to ?released? OSes, I would say that LC needs to checking against each ?early? release, looking for issues and checking for new features that might be supported. LC should take bug reports against these early releases and, while maybe not acting right away on them, making sure that as they approach release status, those bugs get fixed. As a development tool it is imperative that LC be ready for a new OS release. If there is a change that breaks a LC app with a new OS release, it is imperative that LC be updated and ready to go so the developer can release an updated app on day one. Having to wait weeks or longer to update your LC app after the ?Official? release of an OS makes the developer and their app look bad at best. Both Apple and Microsoft (and any linux tools I?m sure) make sure that their tools support these early releases so that developers can keep their apps updated and ready as well as take advantage of any new features and technology that they are adding. By NOT keeping LC updated in the same fashion, LC becomes a second class citizen and choice for development. I really can?t stress this enough. Use VM?s, don?t mess with your production systems, but have LC ready for whatever NEW OS that LC supports when it comes out. Best, Steve MacLean From brahma at hindu.org Thu Jul 21 22:03:25 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 22 Jul 2016 02:03:25 +0000 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: <92769a54-b5d3-618f-7017-e1bf4b96c6cb@livecode.com> References: <578E9638.3050101@fourthworld.com> <92769a54-b5d3-618f-7017-e1bf4b96c6cb@livecode.com> Message-ID: <80FEED75-15F5-4E17-BE2D-103DD7D6D43A@hindu.org> Hmm. still a lot of gray edges here. but first Peter wrote: " - If the app is closed-source, this definitely violates the LiveCode Indy end user license agreement" ? https://livecode.com/products/livecode-platform/pricing/ has a check mark next to "Protect your source code" What are we missing there? --------- Re collaboration teams + making apps that go to Apple Store: Please don't take this as argumentative? imagine we are sitting in peaceful garden just "talking story" as we say in Hawaii for about the long term growth of LiveCode? a mutually agreed upon objective: The issue must still be incredibly dense or fairly intelligent people like Kay and myself would not still be asking these questions Apple does allow you to put up your apps up for free. ergo, the statement "Apple's walled garden is not a fertile pasture for growing Free Software. " ?? there are 10's of thousands of free apps in the app store. How is that an "unfertile pasture?" If your app has zero In-App purchases? it is really, really free. makes no sense ? unless: there is a difference between "Free Software" and "Free App." the concept of "business license" is also mute, as there is zero revenue involved? nothing, zilch? the entire "enterprise runs in the red, by design? even the terms of the Indy license from this perspective are "non-sensical" "For small businesses and startups with annual revenues up to $500K" (as stated on your web site) when a non-profit aka "class room full of students-- group of volunteers" obviously makes no money at all. By allowing at least one parent to pony up for an Indy license? doesn?t that help LiveCode Company by $699.00? Assuming the app distributed for free the question of "business" doesn't enter at any level. X number of those students will grow up, get inspired and once they have some earning power, by their own Indy license? wouldn't that be a good thing? I'm being an advocate here on Kay's behalf, because in fact all the people on our team but one, have an Indy license? so it's not as if I am "cheating" -- LiveCode is doing just fine with respect to our team? When I created the Gurudeva.app, which I built myself, top to bottom with help from another developer who had an indy license. If I had a third developer with an Indy license? that's $699 X 3 = $2,100 revenue for LiveCode enterprise? even more than the business license. So obviously Edinborough Mother Ship can't be complaining if 2-10 different Indy developer's collaborate on a single app. But for the poor teacher: Your clarification answer's Kay's question with a big "NO" So her classroom cannot generate code as a team and push it using a single Indy license for Apple. ergo LiveCode as a company is saying to them "You have to use some other tools for what you want to do? don't use LiveCode." And there are lots of them out there now. HTML 5 IDE's and Cloud platforms are growing rapidly. It would be a simple matter for the teacher to say "Sorry guys, we can use LiveCode, because of Apple's policies, let's use XYZ instead." I don't see how that is a useful strategy. Sad? Just because of Apple's policy you want me (or any indy owner) to stop being advocates of LiveCode? I have turned on quite a few new users to LC this past year since community came out? So if one of them sends me a really super ugly prototype stack with no code other than "go next, go previous" but their UX is brilliant? you're saying I can't clone a card from the stack, refine the UI and revise it for an app that we might push to the Apple store? Again, I don't mean to be argumentative? my interest is for LiveCode's long term growth potential. Also if the "widgets" text stacks/ LCB thing thing takes off, there could be (hopefully!) thousands of "plug-ins" any number of which may have been created, tested run from a community version, that an Indy author might add to his app that goes into the Apple store. How does that work? Again, not being critical/argumentative at all, just feeling Apple Thorn in the side and wondering if LiveCode's long term interests are best served by allowing Apple's rules become the ruling mandate for LiveCode spreading? the recent survey of popular language on GitHub? Livecode doesn't even appear. To make LiveCode as ubiquitous as Javascript (Kevin's declared goal some years back in an interview, of seeing it as one of the top 10 languages used in the world? I don't think we want teachers in any context telling students "We can't use it because of Apples rules" BR On 7/20/16, 11:54 AM, "use-livecode on behalf of Peter TB Brett" wrote: On 20/07/2016 20:53, Sannyasin Brahmanathaswami wrote: >Kay C Lan wrote: > >" Fortunately one of the parents is extremely supportive and is happy >to pony up for an LC Indy License. Is it kosher that this app, built >by multiple people using Community, is now licensed by a single Indy >holder? Can further game refinement be done by the gang using >Community?" > >I have this same question.. > >@ Peter > >http://article.gmane.org/gmane.comp.ide.revolution.user/223575 > >doesn't really answer the above. Well, I hope the following is sufficiently unambiguous. > >i) a product that is pushed to the Apple app store under Indy via 1 >user on the team This is exactly what LiveCode Indy is intended for. >ii) that includes code created by the team, many of whom are fall in >the categories of > >volunteers |non-profit staffers | students et all such other >"community" users > >put another way? to say the obvious? the use case is "all GPL top to >bottom," with only Apple's rules forcing a closed source build for a >single distribution channel context. - If the app is open source, this definitely violates either the Apple store agreement or the LiveCode Community copyright license (GPLv3). - If the app is closed-source, this definitely violates the LiveCode Indy end user license agreement and probably also the LiveCode Community copyright license. If you are doing this, stop doing so immediately and get a Business license seat for each person involved in developing your app. Apple's walled garden is not a fertile pasture for growing Free Software. If you want to make Free Software apps for mobile devices, target Android. Peter From rman at free.fr Thu Jul 21 21:49:49 2016 From: rman at free.fr (Robert Mann) Date: Thu, 21 Jul 2016 18:49:49 -0700 (PDT) Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: <1469129556.1041224.672948729.1B09137A@webmail.messagingengine.com> References: <578E9638.3050101@fourthworld.com> <92769a54-b5d3-618f-7017-e1bf4b96c6cb@livecode.com> <1469052649308-4706833.post@n4.nabble.com> <1469091451.913719.672558561.3C5C04E8@webmail.messagingengine.com> <40CF6CFE-778A-4E8E-91A3-AEF4CA53BC7A@all-auctions.com> <0a281f83-063f-ebe0-4cce-2fa1243b1453@fourthworld.com> <1469129556.1041224.672948729.1B09137A@webmail.messagingengine.com> Message-ID: <1469152189680-4706871.post@n4.nabble.com> Mark, your words reflect 100% my position on that epic subject. -- It seems to me a good thing to outline again and again, that any ruling on such a license matter will "set the law" and will most probably override any subsequent change in the license. I do have a legal background, and we're all in the same boat : there are some pieces of law that just apply. And in our field copyright is the basic block on which all licensing is built. If some ruling goes against the wish of LC, we'll just have to do with it. And I do not find particularly healthy and positive and worth quoting such thought as : " ?if that does happen then we will immediately change the license of the community version of LiveCode? " The issue at stake is the freedom to write/create something with a "tool". Can the maker of the tool impose some restrictions to the rights of the writer/creator? How much? how far? how long? So far the line seem to have been drawn in softwares with the inclusion test : does the created work include part of another work? "Work" in our context is something like a "piece of code that does something & and is original". And that does not seem to include the language tokens, nor the grammar that governs its use. This is directly derived from copyright law applicable to written materiel. And the position in that field in France where I have been a publisher seems clear : a word is not a work. A sentence can be in some circumstances, but a work will have to be something constant and original. That is why the language in itself will stay unprotected. Since a script can be written on any code editor and text editor there is little evidence to me that a script can be regarded as a derivative work, in itself. Requiring in the indie license that work published be created/drafted by the license owner himself, a) is kind of an evident ethical request. I assume that a vast majority of indies do share that point (so do I!). And the advantage of relying on a community here is that any commercial offering to do so will hopefully be reported by the community and would not be welcomed even if that turned out to be ruled legal. b) but, that clearly indicates that LC considered seriously that LC script could not be a derivative work. c) and it is in practice just not enforceable proof wise, unless you team with the NSA guys!!! d) and such a clause has little chance of surviving over here in France since it would contradicts the very basic rights built in the copyright law : a license between the indie and LC cannot restrict the rights of the initial author to dispose of his intellectual work as he wishes. So far I am acquainted with our french copyright law, that clause stands a high chance to be declared just not applicable. Copyright law is a very high level law, in france we call that "d'ordre public" : any contractual agreement that goes against it is just read as being void, null. And the right of the author to dispose of his work as he wishes is gold stone in the copyright construction, (provided it is not derivated work of course!) So as Mark points out, the assumption that this license is ok just because it is in line with LC wishes, maybe a little bold and i'm sure LC can and will find some elegant solutions as they always have done, coming up with something new eventually! hint : when the law does not cover you, there could be other ways. And to take back the example of some school kids who get together and eventually get an app to apple store (a kind of kid dream that I would not just kill like that... hence my stepping in the debate here again!) There could be a way to organize and actually help these rare cases by organizing a network of "LC coding uncles and taties" that would help these kids, in good understanding with LC in order to encourage theses wonderful things and accompany and monitor theses adventures, rather than firing at them! ? Some of us have acquired an indie license that they might not use much, it will not hurt the company if some of these guys that are in a good relation with LC since many years, find a way to help the community like that and become "LC code uncles or taties". ? Communicating over that would help reach attention of kids and schools, which is a huge challenge for LC community. ? and comunicating over such successful adventures would even better promote livecode where it should be promoted most : our kids. ? As I pointed out earlier in another much, much, much, debated thread, there are also some other negative drawbacks in trying to over reach with the derivative work claim : it creates a real mess concerning all medias that can be referenced or included (like text from an author) into a script file. And that mess, if not cleared out positively, will turn LC of little use in the education field, and that is not in the interest of the LC community. My 2 cents. As Mark wrote it down the road what matters now is health of the livecode ecosystem. Let's be creative! > I'm not interested in finding GPL loopholes but rather the health of the > LiveCode ecosystem and removing FUD from open source licensing in > general. My concern around LiveCode over-reaching with their derivative > work claims (which are significantly stronger than those made by > WordPress and Drupal) is that what constitutes a derivative work under > copyright law is not in any way altered by the license applied. So, if > the original code in an app written by a community edition user is > judged not to be a derivative work, then there is nothing that can be > altered in the license to fix that "loophole" in LiveCode's intended > licensing scheme. Having the investment of a lifetime license, I'm not > keen to see LiveCode basing part of their business model on a very > dubious interpretation of copyright law, which also restricts the useful > sharing of code between community edition users and commercial license > holders. > > I'd really hope to see a more enlightened policy here. It's much like > the question of trying to prevent app piracy. There's no point. The > people who would pirate were never going to pay anyway. Give people good > reasons to do the right thing and pay, rather than try to scare them > into doing so with GPL-related FUD. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/On-rev-support-problem-tp4706664p4706871.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Thu Jul 21 22:35:53 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 21 Jul 2016 19:35:53 -0700 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: <80FEED75-15F5-4E17-BE2D-103DD7D6D43A@hindu.org> References: <80FEED75-15F5-4E17-BE2D-103DD7D6D43A@hindu.org> Message-ID: Sannyasin Brahmanathaswami wrote: > but first Peter wrote: > > " - If the app is closed-source, this definitely violates the > LiveCode Indy end user license agreement" > > ? > > https://livecode.com/products/livecode-platform/pricing/ > > has a check mark next to "Protect your source code" > > What are we missing there? See my earlier reply about build farms: > Apple does allow you to put up your apps up for free. ergo, the > statement > > "Apple's walled garden is not a fertile pasture for growing Free > Software. " > > ?? there are 10's of thousands of free apps in the app store. How is > that an "unfertile pasture?" > > If your app has zero In-App purchases? it is really, really free. As has been mentioned here many times before, any discussion of "free" with regard to the GPL uses the word in the sense of "libre". not "gratis". The GPL expresses no opinion about price, but does grant the user specific freedoms. Some of those freedoms are widely viewed as incompatible with Apple's app store TOS, which among other things limits the number of downloads per account. With all the requests we see for a modestly-priced option for limited proprietary license allowing gratis software to be submitted to Apple's app store, it may be helpful to remember that LiveCode Ltd. offered exactly that not all that long ago. Apparently it wasn't the big "this will put LiveCode on the map!" success hoped for or it'd still be available. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Thu Jul 21 22:38:53 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 21 Jul 2016 19:38:53 -0700 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: <1469129556.1041224.672948729.1B09137A@webmail.messagingengine.com> References: <1469129556.1041224.672948729.1B09137A@webmail.messagingengine.com> Message-ID: Mark Wilcox wrote: > My concern around LiveCode over-reaching with their derivative > work claims (which are significantly stronger than those made > by WordPress and Drupal) In what way(s)? > I'd really hope to see a more enlightened policy here Apparently some clarification would be useful. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From lan.kc.macmail at gmail.com Fri Jul 22 00:57:23 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 22 Jul 2016 12:57:23 +0800 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: <92769a54-b5d3-618f-7017-e1bf4b96c6cb@livecode.com> References: <578E9638.3050101@fourthworld.com> <92769a54-b5d3-618f-7017-e1bf4b96c6cb@livecode.com> Message-ID: On Thu, Jul 21, 2016 at 5:54 AM, Peter TB Brett wrote: > > - If the app is closed-source, this definitely violates the LiveCode Indy > end user license agreement and probably also the LiveCode Community > copyright license. > Just to clarify, what you are saying is: if ANY Business or Indy license holder has taken ANY handler/script submitted to this List or the Forums, and that handler was the creation of a Community License holder, that handler is subject to GPLv3 so the released software CAN NOT be closed and can NOT end up on Apples' store. OR, to put it another way: Business and Indy license holders should ONLY accept help, in the form of scripts/handlers, from other Business and Indy license holders, if they intend to create a closed app that does not raise the ire of the FSF. OR, to put in another way: Business and Indy license holders who include scripts/handlers created by Community License holders, MUST release their work under GPL v3; which can NOT be released via Apple. It is important to understand that the Company's (LC) 'intention' can NOT deviate from the GPL v3 legal requirements which the FSF will enforce, i.e. just because the Company (LC) would like to interpret a paragraph one way, and allow a certain situations/circumstances, doesn't mean the FSF (court) will interpret it the same way. > Apple's walled garden is not a fertile pasture for growing Free Software. > If you want to make Free Software apps for mobile devices, target Android. Hmm, I think this is a common misconception of the situation. Apple is more than happy to distribute OSS. I think VLC is an important case to consider. Apple was more than happy to distribute it and many of the code contributors were more than happy for Apple to do that. It was a few zealots at the FSF who pointed out it was not legally possible under GPL v2. So the OSS contributors who wanted VLC on the App Store went ahead and, if I remember correctly, recoded VLC under the less restrictive LGPL v 2.1, but this still upset a few at the FSF (not Apple) so the only way the intention of the VLC community could be fulfilled was to abandon GPL and relicense under the OSS Mozilla Public License v 2.0. Apple is now happily distributing it for them and where it seems to be extremely popular and well received (this last bit based purely on my own assessment that VLC is one of the few apps that I've checked out on the App Store that comes with a bunch of ratings and reviews rather than the ubiquitous "We have not received enough ratings...." blurb). It was the FSF who stunted VLCs growth, not Apple. As Richard has stated, it's very important to consider which OSS license is right for you, some (MIT, BSD, MPL v2.0) offer you the freedom to do what you want, like distribute via Apple, whilst others, notably those from the FSF (GPL), are less permissive and the constraints are actively enforced in court. I think a blog post on this topic would be engaging, a License Guide that lived in the LC Dictionary helpful, using plain English and a infographic/matrix. From brahma at hindu.org Fri Jul 22 01:34:50 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 22 Jul 2016 05:34:50 +0000 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: <1469129556.1041224.672948729.1B09137A@webmail.messagingengine.com> References: <40CF6CFE-778A-4E8E-91A3-AEF4CA53BC7A@all-auctions.com> <0a281f83-063f-ebe0-4cce-2fa1243b1453@fourthworld.com> <1469129556.1041224.672948729.1B09137A@webmail.messagingengine.com> Message-ID: Mark Wilcox wrote: Having the investment of a lifetime license, I'm not keen to see LiveCode basing part of their business model on a very dubious interpretation of copyright law, which also restricts the useful sharing of code between community edition users and commercial license holders. @ Mark: well said. While I don't have a lifetime license I am paid through 2021 or something like that and have been on board since the beginning. All my advocacy of LiveCode has been geared to having possible collaborators. But having just now done a thorough reading of the EULA? it seems I will henceforth just keep my mouth shut because I can't be asking people to go spend $700.00 just to help design screens. This has very real consequences in this world. I'll have to get others to join a team on Lucid Chart, or use Balsamiq and other such tools to help develop UI; and the number of free or inexpensive options for this front end development is exploding, so it will not be difficult to find viable alternatives to LiveCode. or they can just make "boxes" in MS word. Off now to the web to look for the latest UI dev stuff, anyone have ideas on this? send me ideas off list. I was using Draw.io for a while? very cool? I'll get back into it. Easily adapted for mobile screens and can integrated into Google app/docs? Sadly, this it not direction the direction I wanted to go in, because in every case where someone "bit on the hook" and tried the community edition, they were smitten by Livecode within a few days? "wow, that easy! Awesome! Now how to I make a group that is a background?" and off they go to the LC newbie races? But now we have no choice but to ask these would be collaborators on front end stack development to use other tools. Exactly the opposite to contributing to the "health of the livecode ecosystem." Mahalo Brahmanathaswami From ebeugelaar at gmail.com Fri Jul 22 02:02:34 2016 From: ebeugelaar at gmail.com (Erik Beugelaar) Date: Fri, 22 Jul 2016 08:02:34 +0200 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: References: <578E9638.3050101@fourthworld.com> <92769a54-b5d3-618f-7017-e1bf4b96c6cb@livecode.com> Message-ID: <004401d1e3de$a498feb0$edcafc10$@gmail.com> Working as a hired consultant in many teams with colleague developers I have never met one developer who did not "steal" some code from whatever resource (internet, books etc) to use it in a project that's needs to get done. Every developer looks around to prevent inventing the wheel again over and over. To keep a tracklist of used handler/scripts from community license developers during the development process is for me an insane option. More insane to force to publish it under a GPL/3 license after if you are developing a commercial product with a paid closed source indy option. My grandfather who was a fighter (and surviver) in WorldWar II has told me one lesson to remember forever: If you stay between the lines you will never move on (that is what sheeps are doing), you have to walk on it and even sometimes you have to cross the lines to go further and take the consequences after and deal with it. Just my 2 cents. Erik -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Kay C Lan Sent: vrijdag 22 juli 2016 06:57 To: How to use LiveCode Subject: Re: Licensing AGAIN [was: Sharing FontLab Plugin] On Thu, Jul 21, 2016 at 5:54 AM, Peter TB Brett wrote: > > - If the app is closed-source, this definitely violates the LiveCode > Indy end user license agreement and probably also the LiveCode > Community copyright license. > Just to clarify, what you are saying is: if ANY Business or Indy license holder has taken ANY handler/script submitted to this List or the Forums, and that handler was the creation of a Community License holder, that handler is subject to GPLv3 so the released software CAN NOT be closed and can NOT end up on Apples' store. OR, to put it another way: Business and Indy license holders should ONLY accept help, in the form of scripts/handlers, from other Business and Indy license holders, if they intend to create a closed app that does not raise the ire of the FSF. OR, to put in another way: Business and Indy license holders who include scripts/handlers created by Community License holders, MUST release their work under GPL v3; which can NOT be released via Apple. It is important to understand that the Company's (LC) 'intention' can NOT deviate from the GPL v3 legal requirements which the FSF will enforce, i.e. just because the Company (LC) would like to interpret a paragraph one way, and allow a certain situations/circumstances, doesn't mean the FSF (court) will interpret it the same way. > Apple's walled garden is not a fertile pasture for growing Free Software. > If you want to make Free Software apps for mobile devices, target Android. Hmm, I think this is a common misconception of the situation. Apple is more than happy to distribute OSS. I think VLC is an important case to consider. Apple was more than happy to distribute it and many of the code contributors were more than happy for Apple to do that. It was a few zealots at the FSF who pointed out it was not legally possible under GPL v2. So the OSS contributors who wanted VLC on the App Store went ahead and, if I remember correctly, recoded VLC under the less restrictive LGPL v 2.1, but this still upset a few at the FSF (not Apple) so the only way the intention of the VLC community could be fulfilled was to abandon GPL and relicense under the OSS Mozilla Public License v 2.0. Apple is now happily distributing it for them and where it seems to be extremely popular and well received (this last bit based purely on my own assessment that VLC is one of the few apps that I've checked out on the App Store that comes with a bunch of ratings and reviews rather than the ubiquitous "We have not received enough ratings...." blurb). It was the FSF who stunted VLCs growth, not Apple. As Richard has stated, it's very important to consider which OSS license is right for you, some (MIT, BSD, MPL v2.0) offer you the freedom to do what you want, like distribute via Apple, whilst others, notably those from the FSF (GPL), are less permissive and the constraints are actively enforced in court. I think a blog post on this topic would be engaging, a License Guide that lived in the LC Dictionary helpful, using plain English and a infographic/matrix. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From lan.kc.macmail at gmail.com Fri Jul 22 02:35:40 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 22 Jul 2016 14:35:40 +0800 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: <80FEED75-15F5-4E17-BE2D-103DD7D6D43A@hindu.org> References: <578E9638.3050101@fourthworld.com> <92769a54-b5d3-618f-7017-e1bf4b96c6cb@livecode.com> <80FEED75-15F5-4E17-BE2D-103DD7D6D43A@hindu.org> Message-ID: On Fri, Jul 22, 2016 at 10:03 AM, Sannyasin Brahmanathaswami wrote: > > "Apple's walled garden is not a fertile pasture for growing Free Software. " > > ?? there are 10's of thousands of free apps in the app store. How is that an "unfertile pasture?" > You started so well and then fell into a common misconception. As Richard pointed out Free and Libre are two different things. > If your app has zero In-App purchases? it is really, really free. > > Just because of Apple's policy you want me.... > just feeling Apple Thorn in the side ... >allowing Apple's rules become the ruling mandate... Another common misconception is people incorrectly blame Apple. This has NOTHING to do with Apple and everything to do with what License you choose to use. It is the FSF who have INTENTIONALLY made the GPL incompatible with proprietary software and ergo Apple, not the other way around. Apple is more than happy to distribute OSS on it's website, and there are many examples of that. You the Developer just have to choose a license compatible with proprietary systems, of which there are several. As mentioned previously, the struggle with VLC and the eventual adoption of Mozilla Public License v2.0 is a perfected example of Apple doing absolutely nothing to it's rules and the developer choosing the right license so their app could be libre from the restrictions actively enforced (in court) by the FSF. In the case of LiveCode, you can buy your libre to choose the license you distribute you app with by purchasing a Business or Indy License. If you choose a Community License then you have no libre in the choice of license for your work I think a License Guide would be helpful to clear up some misconceptions, particularly that all OSS licenses offer the same libre and in particular with LC, some Buisness/Indy combined with Community contribution apps may be incompatible with the desired destination/audience/distribution method. From lan.kc.macmail at gmail.com Fri Jul 22 03:49:46 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 22 Jul 2016 15:49:46 +0800 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: <004401d1e3de$a498feb0$edcafc10$@gmail.com> References: <578E9638.3050101@fourthworld.com> <92769a54-b5d3-618f-7017-e1bf4b96c6cb@livecode.com> <004401d1e3de$a498feb0$edcafc10$@gmail.com> Message-ID: On Fri, Jul 22, 2016 at 2:02 PM, Erik Beugelaar wrote: > Working as a hired consultant in many teams with colleague developers I have > never met one developer who did not "steal" some code from whatever resource > (internet, books etc) to use it in a project that's needs to get done. Every > developer looks around to prevent inventing the wheel again over and over. I think a big problem for developers coming from another environment is that they have become accustomed to using a language that is 'open' or libre and very much inline with the FSF ideal of sharing the wheel rather than reinventing it. The thought that the language itself is propriety, not just the IDE you are using, is probably rather foreign. You can not copyright an idea, only the implementation of that idea. If your implementation method is libre, then all the credit is yours. If your implementation method uses licensed material, then you are bound by the license. It may be your voice and your guitar, but if you are singing Stairway to Heaven then copyright exists and royalties may be due. LiveCode the language, just like the AppleScript language, is proprietary subject to license terms and conditions. If you get 100 people to write 3 different versions of a Hello World app, one in C, one in LiveCode, and the last in AppleScript. Anyone familiar with all 3 will be able to accurately differentiate which is which - therefore the uniqueness is unquestionable and a license holder would be able to say 'hey that's mine, you haven't abided by the license agreement'. In much the same way that those familiar with the band Spirit and their song Taurus were able to claim that Stairway to Heaven was ripped off by Led Zeppelin. The license for use of the AppleScript language is fairly straight forward and rather similar to the MIT license. Basically you simple have to acknowledge that AppleScript is a product of Apple, Apple is a registered trademark, and Apple take no responsibility for the functionality of whatever the AppleScript does. If you write a book with a typewriter and include a snippet of AppleScript, the license requires you include the above acknowledgement in your book. If you have a website, the same thing. The license isn't restricted to just apps you build. I will happily admit that I've posted LC script examples on this List that use the 'do ..... as applescript' that have included snippets of AppleScript statements but have NOT posted the legally required acknowledgement. This is wrong of me, by the letter of the license if I post AppleScript code I should include the acknowledgement. It doesn't matter if I think it's hard/irrelevant/childish/illogical/inconsequential, I accepted the license terms and conditions. Any LC Business/Indy license holder whose app contains 'do .... as applescript' is legally required to include the Apple acknowledgement. As for LC Community licenses and the adversity of the FSF to proprietary software, I'm not sure of the compatibility of mixing AppleScript with GPL v3. My impression is that the AppleScript License in no way restricts the sharing or redistribution of code snippets, so it should be compatible with GPL v3. Although history tells me that I occasionally don't interpret the GPL in the same way as the FSF does ;-( In the case of LC Community, the language is licensed under GPL v3 and it's requirements are it's requirements. The idea may be yours, but if you've used LiveCode the language to implement that idea, even if it's pen on napkin, that implementation is subject to the GPL v3 license. These may seem unfair/counterproductive/counterintuitive but it doesn't matter, the license is what the license is, it's requirements are what they are and you either agree to them and use LC, or you don't. I think a plain English License Guide would be helpful, not just to those new to programming, OSS and LC Community, but also to seasoned coders who may have come from a lifelong background of libre languages where they may have never thought that the programming language itself my come with license requirements. AppleScript is a registered product of Apple. Apple is a registered Trademark. ;-) From mark at sorcery-ltd.co.uk Fri Jul 22 05:52:07 2016 From: mark at sorcery-ltd.co.uk (Mark Wilcox) Date: Fri, 22 Jul 2016 10:52:07 +0100 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: References: <1469129556.1041224.672948729.1B09137A@webmail.messagingengine.com> Message-ID: <1469181127.1999263.673619337.4A5596EF@webmail.messagingengine.com> On Fri, Jul 22, 2016, at 03:38 AM, Richard Gaskin wrote: > Mark Wilcox wrote: > > > My concern around LiveCode over-reaching with their derivative > > work claims (which are significantly stronger than those made > > by WordPress and Drupal) > > In what way(s)? OK, it's not wise to pull too hard on this thread, because LiveCode does potentially have an issue with people distributing stackfiles commercially, separate from a copy of the engine. That said, several noteworthy points exist in this regard: 1) First, the Software Freedom Law Centre - which tends to be rather biased in attempting to push copyright law interpretations in a way that strengthen's copyleft licenses - has only given an opinion on WordPress themes, not plugins. That analysis suggested that the PHP code in themes was essentially trivial, just calling a fixed set of APIs to enable the CSS and images to be used in the right places. It's debatable but not unreasonable to suggest that the PHP code in themes is subject to the GPL. The SFLC specifically said that the CSS and images were not subject to the GPL. 2) A core WordPress contributor, Mark Jaquith, publicly stated at the time of the SFLC statement on themes that the same argument applied to plugins as well. He has since reconsidered that opinion and isn't so convinced about themes any more either (see his comment on this blog: https://enriquesthoughts.wordpress.com/2014/01/05/wordpress-is-gpl-must-your-plugin-be-as-well/ - specifically: "Very well argued. My thinking on this matter has evolved since I wrote my post, 3+ years ago. The thing about the GPL is that it is a legal hack. For it to work, it relies on legal concepts like what constitutes a derivative work. And while some plugins could unambiguously be derivative works, I no longer think they must necessarily be so, and I suspect the majority would not be considered derivative works (by a US court, at least). Same goes with themes with the caveat that themes are more likely to contain code lifted from WordPress, so they might veer towards derivation more often than plugins do." Proprietary WordPress plugins are extremely common and largely tolerated. Proprietary themes do still exist but are slightly more frowned upon. 3) Drupal modules/plugins are frequently designed to modify the way that Drupal works. That does create some reasonable case for them being derivative works. The reality is probably that some Drupal plugins are derivative and some are not. 4) LiveCode is basically claiming that anything written in the language is derivative. There is no precedent for this anywhere. Also, large parts of the language itself are not really owned by LiveCode, it has been previously released under more permissive licenses. Effectively by creating a language, you create a new form of expressing creative works. It is almost certainly not possible to copyright everything expressed in a language. Add to this that the language is "English- like" and a lot of the time LiveCode are trying to claim copyright over English words... likely to be laughed out of court. 5) One of the most critical elements in a court's decision on whether or not any use of a copyrighted work is "fair use" is the degree of transformative nature of the work. The LiveCode engine is a general purpose runtime designed to execute arbitrary programs, on its own it doesn't "do" anything. The same broadly applies to any APIs it provides. It would be very easy to argue that creating almost any app that has a useful specific function is highly transformative of the engine code. 6) All is not lost for LiveCode in (5) because distributing a standalone would involve a direct copying of the entire engine, which would very likely override the transformative nature of the use in almost every conceivable case. However, the amount of LiveCode owned copyrightable material in a stackfile is likely very small and the amount in a script- only stack almost non-existent. 7) No-one can know the actual position for certain because this has never been tested in court. > > I'd really hope to see a more enlightened policy here > > Apparently some clarification would be useful. Don't try to force the GPL on stackfiles created with the community edition, only standalones. Encourage dual licensing or permissive licensing. Allow the community edition users to create valuable code that can also benefit commercial users. Even encourage them to dual license and sell that without getting a commercial license (we're not talking about a big market LiveCode would lose out on here). By all means suggest that anyone building a successful business around this practice should buy a license to support LiveCode but don't try to force them to do so with GPL FUD. Frankly, even with a commercial license, the idea that someone else owns copyright over the essence of my own creative works is abhorrent. My instinctive reaction to a tool vendor that claims that is not to use the tool at all. What if LiveCode the company fails? I understand very deeply the complexity and costs involved in creating such a tool and want to see LiveCode succeed commercially. I just think this is a terribly user-hostile way of going about it with a very unsound legal basis. Mark From admin at FlexibleLearning.com Fri Jul 22 08:15:08 2016 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Fri, 22 Jul 2016 13:15:08 +0100 Subject: [ANN] DatePicker for LiveCode LC8 update Message-ID: <001e01d1e412$b1542100$13fc6300$@FlexibleLearning.com> DatePicker for LiveCode A free update has been released that is LC8 compatible. You can download Build 33 from... www.FlexibleLearning.com/datepicker and see the What's New page here... www.flexiblelearning.com/datepicker/versioning/whatsnew.htm Note that DatePicker is not compatible with the free Community editions of LiveCode. From ambassador at fourthworld.com Fri Jul 22 10:02:25 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Jul 2016 07:02:25 -0700 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: References: Message-ID: Kay C Lan wrote: ... > wrote: >> Apple's walled garden is not a fertile pasture for growing Free >> Software. >> If you want to make Free Software apps for mobile devices, target >> Android. > > Hmm, I think this is a common misconception of the situation. Apple is > more than happy to distribute OSS. I think VLC is an important case to > consider. Apple was more than happy to distribute it and many of the > code contributors were more than happy for Apple to do that. It was a > few zealots at the FSF who pointed out it was not legally possible > under GPL v2. I don't think there's a bad guy here. The Apple's TOS and the GPL are simply incompatible. Just as it was possible to resolve the VLC situation by choosing a different license, it's also possible for Apple to choose to remove the download limits to bring it on par with Android. The GPL predates the Apple app store by decades; it certainly wasn't written with the app store in mind. Each org has its own reasons for preferring their terms as they've written them. I believe they do so because they reflect the organization's goals, and not all orgs have the same goals. Baking soda and vinegar are both useful things, each fine on its own. Just don't try to store them in the same container. :) > As Richard has stated, it's very important to consider which OSS > license is right for you, some (MIT, BSD, MPL v2.0) offer you the > freedom to do what you want, like distribute via Apple, whilst others, > notably those from the FSF (GPL), are less permissive and the > constraints are actively enforced in court. > > I think a blog post on this topic would be engaging, a License Guide > that lived in the LC Dictionary helpful, using plain English and a > infographic/matrix. What features of MPL or BSD interest you? There are so many licenses that it may be quite a task to outline them all. And the ROI for the effort would be minimal, since the only license relevant for the Community Edition is the GPL, and almost everyone using the proprietary Indy or Business Editions does so because they want a custom proprietary license, which can vary so broadly it would be beyond the achievable scope of such a document. The most common middle ground is MIT, so if we were to draft such an outline that was both useful and achievable it may well include little more than the summary I posted here the other day: Venturing beyond those may represent a significant effort, and one with diminishing returns. For the very small number of developers using the proprietary editions and who have specific reasons to want neither a custom proprietary license nor the MIT license, so many good descriptions of licenses exist across the Web that personally I'd be hard-pressed to decide which features I'd ask the team to set aside to replicate that documentation. In my 20 years in this community I've seen only two such cases, and both found existing materials satisfying to help them make their license decision. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From harrison at all-auctions.com Fri Jul 22 10:10:26 2016 From: harrison at all-auctions.com (Rick Harrison) Date: Fri, 22 Jul 2016 10:10:26 -0400 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: <1469181127.1999263.673619337.4A5596EF@webmail.messagingengine.com> References: <1469129556.1041224.672948729.1B09137A@webmail.messagingengine.com> <1469181127.1999263.673619337.4A5596EF@webmail.messagingengine.com> Message-ID: <3F44CD47-A733-417E-8FAC-88E9AB07D065@all-auctions.com> If the GPL license is overly restrictive perhaps LC should consider releasing the community version under a license similar to that used by PostgreSQL, MIT, or create it?s own Community License. Clearly what they are doing now is creating a mess that is causing confusion in the marketplace for them. Just my 2 cents for the day. ;-) Rick From mark at sorcery-ltd.co.uk Fri Jul 22 10:54:00 2016 From: mark at sorcery-ltd.co.uk (Mark Wilcox) Date: Fri, 22 Jul 2016 15:54:00 +0100 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: <3F44CD47-A733-417E-8FAC-88E9AB07D065@all-auctions.com> References: <1469129556.1041224.672948729.1B09137A@webmail.messagingengine.com> <1469181127.1999263.673619337.4A5596EF@webmail.messagingengine.com> <3F44CD47-A733-417E-8FAC-88E9AB07D065@all-auctions.com> Message-ID: <1469199240.3372422.673887057.6A3171D4@webmail.messagingengine.com> On Fri, Jul 22, 2016, at 03:10 PM, Rick Harrison wrote: > If the GPL license is overly restrictive perhaps LC should consider > releasing the > community version under a license similar to that used by PostgreSQL, > MIT, > or create it?s own Community License. Clearly what they are doing now is > creating a mess that is causing confusion in the marketplace for them. That would be fatal to LiveCode's business. No-one would need a commercial license if the engine was MIT licensed. I don't actually have any problem with the GPL for a dual-licensing model. It's pretty tried and tested. Qt has been doing it for very many years and yet they have never tried to claim any copyright in their users software, they just insist that a program distributed with the GPL version of the Qt libraries is released under a GPL-compatible license. Developers working with the GPL version can create plugins for others and sell them commercially, the user of those plugins would need to get their own commercial license to make use of them in a closed source app. The Qt company folks view this as very positive activity in their ecosystem. -- Mark Wilcox mark at sorcery-ltd.co.uk From dochawk at gmail.com Fri Jul 22 11:07:05 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 22 Jul 2016 08:07:05 -0700 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: References: <578E9638.3050101@fourthworld.com> <92769a54-b5d3-618f-7017-e1bf4b96c6cb@livecode.com> Message-ID: On Thu, Jul 21, 2016 at 9:57 PM, Kay C Lan wrote: > It is important to understand that the Company's (LC) 'intention' can > NOT deviate from the GPL v3 legal requirements which the FSF will > enforce, i.e. just because the Company (LC) would like to interpret a > paragraph one way, and allow a certain situations/circumstances, > doesn't mean the FSF (court) will interpret it the same way. > It's also important to understand that the the FSF's desire to interpret in a certain way does not suggest that a court will do the same. A fundamental rule of construction is that the author of a document has had its chance to speak in writing a document, and the opinion of the author carries no weight. In fact, documents are construed *against* the drafting party. That is,your opinion, my opinion, and the janitor's opinion each carry more weight than the FSF's. As a separate manner, as an attorney, I would be *shocked* to find a court agree with the claim that plain text code is a derivative work. An object or executable, certainly, but the form of the code was fixed by the time it hit the typist's fingers. (as an aside, autocorrect might change that--just a passing thought) All of that said, I won't touch GPL code with a 10 foot code; I won't even look at it. If I accidentally download a community version of LC, I delete it the moment I see that the icon is the wrong color. As an attorney, I think that any person or organization that owns or might own intellectual property in the future that goes near GPL3 code is just plain reckless. Almost 20 years ago, I wrote a mail merge function to control a word processor or editor. It danced circles around what MS word could do. It could have become part of LyX, but I wasn't willing to subject it to the GPL. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Fri Jul 22 11:16:19 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 22 Jul 2016 08:16:19 -0700 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: <3F44CD47-A733-417E-8FAC-88E9AB07D065@all-auctions.com> References: <1469129556.1041224.672948729.1B09137A@webmail.messagingengine.com> <1469181127.1999263.673619337.4A5596EF@webmail.messagingengine.com> <3F44CD47-A733-417E-8FAC-88E9AB07D065@all-auctions.com> Message-ID: On Fri, Jul 22, 2016 at 7:10 AM, Rick Harrison wrote: > If the GPL license is overly restrictive perhaps LC should consider > releasing the > community version under a license similar to that used by PostgreSQL, MIT, > or create it?s own Community License. Clearly what they are doing now is > creating a mess that is causing confusion in the marketplace for them. > I think the GPL is a horrid choice, as it's incompatible with every other license (except relabeled GPL). A non-viral license, however, would be a horrible choice for livecode--or any other company whose business is selling the code. When you look at the projects that have free rather than viral open source licenses and corporate "owners", you find things such as Darwin and Swift that the parent needs to exist, but is "in support" of the actual product. Apple needs such a language, and needs such a Unix under its Mac interface. If LC was put under a free license, a competitor could pop up overnight selling ZombieCode, with enhancements that it didn't share back to LiveCode. With a viral license, however, ZC has to stay under the same license. (A viral license that doesn't require revealing the code is conceivably possible, but I've never seen one, and don't see the point in one) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From rman at free.fr Fri Jul 22 10:57:05 2016 From: rman at free.fr (Robert Mann) Date: Fri, 22 Jul 2016 07:57:05 -0700 (PDT) Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: References: <640020FD-324D-4E4A-B016-13FFC7A0111E@mac.com> <5787CFA7.4000306@fourthworld.com> <578E9638.3050101@fourthworld.com> <92769a54-b5d3-618f-7017-e1bf4b96c6cb@livecode.com> <004401d1e3de$a498feb0$edcafc10$@gmail.com> Message-ID: <1469199425949-4706886.post@n4.nabble.com> Hi Kay! i'm "stunned" when I read this sentence : > LiveCode the language, just like the AppleScript language, is > proprietary subject to license terms and conditions. It would be helpful if you could precise your source, thanks Is that an extract from the LC license????? It would also be helpful if you could precise a little the consequences of that sentence : what does it mean? Does it mean that all Script Language scripts are in fact "owned" by LC?? So is that a total negation of the copyright law? *I double what I wrote a little above : to my knowledge in law, a language is not copyrightable BY ESSENCE, *and I really do hope that that is not the path that LC would try and make, because I personally totally disagree, on the ground (ethically) and technically as the law stands. The main reason for that strong line in copyrights is the notion of generative capacity : ?It is the infinitely generative capacity of a language, the ability to communicate new thoughts and ideas, that makes a set of sounds and grammatical rules into a language,? see:: the Klingon language case and copyright on a language would hijack all created work. *A language is regarded, and rightly to my view, as a tool for the mind to process information.* And it has long been accepted for the good balance of our societies, that tools maker cannot extend their ownership to goods created by one's tools. And we're talking humanism here and I can feel I'm not the only one around to be rather sensitive to these issues at some point. We all agree to pay for tools : hence the licensing policy of the indie and commercial versions. The script language needs money for tools to make it easier to build useful things. But LC is not only a tool, it's a framework, to promote the use of the script language : hence the move to the community edition on a parallel basis to* spread the use of the script language.* The Script Language (and i don't write the livecode language!) needs ENERGY from a group of users, just like a language needs people to talk it. -- The traditional balance and boundary between these 2 is about visibility : close source or "open" sources, as "readable" by all. That was dead simple and I thought quite operational from my user viewpoint. -- Enforcing some kind of "open source" license along the community version seemed a good move. *BUT Letting the GPL hijack that simple world and turn it into a LEGAL NIGHTMARE* looks to me a very bad move, as it just kills the ENERGY source in people's mind : People will poor energy into it if they feel the're free to think freely and do "ENOUGH THINGS" things freely with it. *And that discussion will reappear every time some LC community user will ask himself the question : ok i've invested some time, I like that, what can I do with that?* So far LC mantra is (hope I get it right though? it's not so clear!) -- you're free at your home -- if you communicate outside your home, then super hyper hard GPL to all content including text and media of a stack file that goes out of your home -- and could even extend to : "and by the way the language you think as common good, is in fact ours!" The mere understanding of the consequences of GPL onto stack content will already burn a lot of NRJ, and finally the awareness of consequences on media will considerably restrict that practicability, that "ENOUGH THINGS"- that matters. *In particular, to my humble view, use of the community in the education environment will stumble on that media GPL issue :* FSF strategy is defendable in the precise domain of reusable code to avoid recoding the wheel housands of time, but may not be applicable to all educative material and medias. We're into different worlds. And that would be a big pain since it is to my view again the main target of the community version, and *the Script language community needs to spread in education, or die out*. /[here in France NO geography teachers will EVER buy a livecode license to output stacks for the kids at their spare time, let that be clear - i've been a publisher of teaching media in France -- they MIGHT take that time on a free Community Version if it is dead simple, and if we put some efforts into that to reach over to them -- by the way, the french LC community just closed, most active members where now retired teachers who steeped in at the time they could freely distribute stacks to their classes, long ago!]/ So in practice, I do praise for *a much softer GPL interpretation* and a good sound clarification and communication on the subject. *That could actually boost Livecode along, or kill it!* -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/On-rev-support-problem-tp4706664p4706886.html Sent from the Revolution - User mailing list archive at Nabble.com. From harrison at all-auctions.com Fri Jul 22 11:53:02 2016 From: harrison at all-auctions.com (Rick Harrison) Date: Fri, 22 Jul 2016 11:53:02 -0400 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: <1469199240.3372422.673887057.6A3171D4@webmail.messagingengine.com> References: <1469129556.1041224.672948729.1B09137A@webmail.messagingengine.com> <1469181127.1999263.673619337.4A5596EF@webmail.messagingengine.com> <3F44CD47-A733-417E-8FAC-88E9AB07D065@all-auctions.com> <1469199240.3372422.673887057.6A3171D4@webmail.messagingengine.com> Message-ID: <8A9F36A6-4164-4B7F-9662-006D69EAEC78@all-auctions.com> Hi Mark, Like I said, LC should consider creating their own license then. After this little debate, I will never touch any GPL license ever in the future. In fact, I now consider the community version of LC to be worthless. I?ve always had an indy type license of LC which I?m fine with. I?m just now totally disappointed that I can?t even suggest the community version to my friends to try out since they wouldn?t be able to use any code generated by it to be used in a later commercial product after they have purchased an indy or business license. What a waste. I supported both the community version and the html5 kick starters. I?m now very sorry to have supported them as neither one has fulfilled what I felt were their intended goals. They are both useless to my friends, and for the many others who wanted to make use of them. Rick > On Jul 22, 2016, at 10:54 AM, Mark Wilcox wrote: > > On Fri, Jul 22, 2016, at 03:10 PM, Rick Harrison wrote: >> If the GPL license is overly restrictive perhaps LC should consider >> releasing the >> community version under a license similar to that used by PostgreSQL, >> MIT, >> or create it?s own Community License. Clearly what they are doing now is >> creating a mess that is causing confusion in the marketplace for them. > > That would be fatal to LiveCode's business. No-one would need a > commercial license if the engine was MIT licensed. > > I don't actually have any problem with the GPL for a dual-licensing > model. It's pretty tried and tested. Qt has been doing it for very many > years and yet they have never tried to claim any copyright in their > users software, they just insist that a program distributed with the GPL > version of the Qt libraries is released under a GPL-compatible license. > Developers working with the GPL version can create plugins for others > and sell them commercially, the user of those plugins would need to get > their own commercial license to make use of them in a closed source app. > The Qt company folks view this as very positive activity in their > ecosystem. > > -- > Mark Wilcox > mark at sorcery-ltd.co.uk > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Fri Jul 22 12:02:53 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Jul 2016 09:02:53 -0700 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: <3F44CD47-A733-417E-8FAC-88E9AB07D065@all-auctions.com> References: <3F44CD47-A733-417E-8FAC-88E9AB07D065@all-auctions.com> Message-ID: <4f98c733-c302-dc76-cc88-c26442b1d11a@fourthworld.com> Rick Harrison wrote: > If the GPL license is overly restrictive perhaps LC should consider > releasing the community version under a license similar to that used > by PostgreSQL, MIT, or create it?s own Community License. Clearly > what they are doing now is creating a mess that is causing confusion > in the marketplace for them. Very desirable indeed, and achievable as well if LiveCode had the level of support from their user base that PostgreSQL does: Many (perhaps most) full-time salaries of programmers contributing to PostgreSQL are paid by other companies. For example a friend who's a technical director at Heroku tells me they have two people on staff whose full-time job is to write code for PostgreSQL. And there are many companies doing that, like Google's staff that contributes to Python, the teams at Apple, Google, and other big companies coding for WebKit, and many others. If anyone here is in a position to pay a few salaries for full-time LiveCode engine developers then a more permissive license may well be achievable. But at the moment we don't see quite that level of support, so like most companies that offer dual licenses (MySQL, ownCloud, etc.) the open source edition uses GPL to provide a clear distinction: Those who embrace the spirit of proliferating software and contributing to the world's knowledge through sharing source code enjoy the GPL. The freedoms expressed in the GPL are among the reasons it remains one of the most popular open source licenses available. For anyone whose goals are different, a different license is available, as it has been for decades. This clarity tends to influence purchasing decisions, since those whose business model is based around the sale of proprietary work then share back with the core team to keep the LiveCode project going by purchasing licenses. Perhaps as community contributions to the code base increase, once it reaches a substantial level that reduces the core team's considerable overhead they may be in a position to consider different licensing. But at the moment, even with the ever-increasing community contributions we're beginning to see (kudos to all who've submitted pull requests for code and docs!), we're still quite some ways from making a material difference in operational costs. We may get there, but it'll take time. Here's an example of how more permissive licensing can kill a project that doesn't already have major companies covering payroll expense: Appcellerator used to be available for both desktop and mobile, but over time they decided to focus on mobile only. Rather than kill off the desktop edition altogether, they released that source under MIT license, and a new org was created to maintain and enhance it. The new toolkit was called TideSDK. In this blog post one of the project leaders described how they got only $600 in donations for the entire year, covering only a day or so of one programmer's development time: http://www.tidesdk.org/blog/2013/04/11/tidesdk-in-numbers/ Yes, it's 404. The project died not long after that post was made. This discussion is about a transition from TideSDK to a new team with a new version called TideKit: http://stackoverflow.com/questions/24440371/is-tidesdk-defunct ...which is also now defunct: https://news.ycombinator.com/item?id=9875553 Good software is expensive to make; great software very expensive. Having looked around for years for another tool that offers high-level scripting with integrated GUI elements in the language that runs on as many platforms, I've come up empty. No one else even dares to take on the expense. Fortunately we have enough licensees of the proprietary editions to cover the expenses for everyone, and supplemented by the community through pull requeats and crowd-funding both camps get a great LiveCode: those who want to participate in the libre software movement have a Community Edition supporting that, and everyone else has proprietary editions as we've always had. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From peter.brett at livecode.com Fri Jul 22 12:07:28 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Fri, 22 Jul 2016 17:07:28 +0100 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: <8A9F36A6-4164-4B7F-9662-006D69EAEC78@all-auctions.com> References: <1469129556.1041224.672948729.1B09137A@webmail.messagingengine.com> <1469181127.1999263.673619337.4A5596EF@webmail.messagingengine.com> <3F44CD47-A733-417E-8FAC-88E9AB07D065@all-auctions.com> <1469199240.3372422.673887057.6A3171D4@webmail.messagingengine.com> <8A9F36A6-4164-4B7F-9662-006D69EAEC78@all-auctions.com> Message-ID: On 22/07/2016 16:53, Rick Harrison wrote: > After this little debate, I will never touch any GPL license ever > in the future. In fact, I now consider the community version > of LC to be worthless. I?ve always had an indy type license of > LC which I?m fine with. I?m just now totally disappointed that > I can?t even suggest the community version to my friends to > try out since they wouldn?t be able to use any code generated > by it to be used in a later commercial product after they have > purchased an indy or business license. What a waste. The whole point of the open source version of LiveCode is that it's for making open source apps. I'm actually quite shocked that this seems to have come as a surprise to you. We have clearly been doing something very wrong in our communication about the open source version of LiveCode, and for that I am very sorry. Also, don't forget that open source and commercial are not necessarily conflicting things. There are many commercial products that are also Free Software distributed with the GPL license -- take the software running on your home's Internet router, for example; it is almost certainly running Linux which is GPL software _and_ also a commercial product. If someone wants to try out LiveCode with a view to making closed-source software, they can register for a free trial of LiveCode Indy here: https://livecode.com/trial/ Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ From mark at sorcery-ltd.co.uk Fri Jul 22 12:09:55 2016 From: mark at sorcery-ltd.co.uk (Mark Wilcox) Date: Fri, 22 Jul 2016 17:09:55 +0100 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: <8A9F36A6-4164-4B7F-9662-006D69EAEC78@all-auctions.com> References: <1469129556.1041224.672948729.1B09137A@webmail.messagingengine.com> <1469181127.1999263.673619337.4A5596EF@webmail.messagingengine.com> <3F44CD47-A733-417E-8FAC-88E9AB07D065@all-auctions.com> <1469199240.3372422.673887057.6A3171D4@webmail.messagingengine.com> <8A9F36A6-4164-4B7F-9662-006D69EAEC78@all-auctions.com> Message-ID: <1469203795.3571667.673962913.1E80A328@webmail.messagingengine.com> On Fri, Jul 22, 2016, at 04:53 PM, Rick Harrison wrote: > Like I said, LC should consider creating their own license then. > > After this little debate, I will never touch any GPL license ever > in the future. In fact, I now consider the community version > of LC to be worthless. I?ve always had an indy type license of > LC which I?m fine with. I?m just now totally disappointed that > I can?t even suggest the community version to my friends to > try out since they wouldn?t be able to use any code generated > by it to be used in a later commercial product after they have > purchased an indy or business license. What a waste. I really don't think there's anything wrong with the GPL for this kind of usage. The issue is with LiveCode (the company) and how they are attempting to interpret its application to their code. To be honest I very much doubt even the FSF and SFLC would support LiveCode's current position. From rman at free.fr Fri Jul 22 11:58:48 2016 From: rman at free.fr (Robert Mann) Date: Fri, 22 Jul 2016 08:58:48 -0700 (PDT) Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: <1469203795.3571667.673962913.1E80A328@webmail.messagingengine.com> References: <1469091451.913719.672558561.3C5C04E8@webmail.messagingengine.com> <40CF6CFE-778A-4E8E-91A3-AEF4CA53BC7A@all-auctions.com> <0a281f83-063f-ebe0-4cce-2fa1243b1453@fourthworld.com> <1469129556.1041224.672948729.1B09137A@webmail.messagingengine.com> <1469181127.1999263.673619337.4A5596EF@webmail.messagingengine.com> <3F44CD47-A733-417E-8FAC-88E9AB07D065@all-auctions.com> <1469199240.3372422.673887057.6A3171D4@webmail.messagingengine.com> <8A9F36A6-4164-4B7F-9662-006D69EAEC78@all-auctions.com> <1469203795.3571667.673962913.1E80A328@webmail.messagingengine.com> Message-ID: <1469203128027-4706891.post@n4.nabble.com> I also don't see anything wrong with the GPL license being attached to LC community. i've although thought it was a great way to differentiate. And i find absolutely right and positive that any standalone built with the community version be under GPL, as far as the code is concerned. But, having a little legal background, I never thought that LC would try and extend GPL by an interpretation of GPL which is highly debatable, both technically and on the ground of it. a) to Script language, script files and stack files. b) to media content of a stack So i double on that Mar Wilcox again : the issue is not on GPL & livecode but on the interpretation/extrapolation and revendication that Livecode seems to make on : a) to Script language, script files and stack files. b) to media content of a stack Choosing a basic minimalistic interpretation of GPL would -- make things fluid again eliminating all that fuss we (rightly) make here. -- allow LC and all of us to communicate and do things with the education community -- give back freedom to use code in many ways basically boost NRJ around!!! LC is totally in power on that point and can make the sky blue again in just one little paragraph! or keep it grayish for years and years and again, and again... -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/On-rev-support-problem-tp4706664p4706891.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Fri Jul 22 12:42:41 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Jul 2016 09:42:41 -0700 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: <1469181127.1999263.673619337.4A5596EF@webmail.messagingengine.com> References: <1469181127.1999263.673619337.4A5596EF@webmail.messagingengine.com> Message-ID: <3d64a68a-3a31-0427-1800-6b4f2f386b77@fourthworld.com> Mark - Thank you for taking the time to write up your views on the distinctions between LiveCode Ltd's interpretation of the GPL and those of the Drupal, Wordpress, and Joomla projects. I'm quoting it here in its entirety because I believe it's worth a second read; IMO it represents some of the most cogent thinking on the subject we've seen, well expressed in the spirit of fostering a healthy ecosystem for everyone. There is one difference between LC and Drupal/Wordpress/Joomla which is inherent though, rather than interpretive: LC is offered under dual license, while the others are not. Of course that only affects the questions specific to mixing license types, but those seem to comprise the majority of this discussion here. In this morning's Community meeting Peter and I spent the bulk of our time reviewing both sets of questions, those relating to GPL interpretation and those relating to possible mixing of the license types, and many other considerations as well. It was one of our longer meetings, in which we reviewed the specific examples Kay, Bramanathaswami, and others have presented. Peter, Kevin, Mark Waddingham, and the rest of the core team have the same goal as everyone here: an earnest embracing of open source while also making sure the project remains sustainable for the benefit of both open source and proprietary developers alike. They recognize that further guidance would be useful, but as a practical matter the conference planning is very much a key demand on their time right now, since we're just a couple weeks from kickoff of their biggest annual event. So the plan at the moment is to review the use-cases presented in light of precedent established by other GPL-governed projects, and to provide guidance on how that applies to the position LC is in with its dual licensing, sometime soon after the conference. This has been a useful discussion, touching on specifics that are important to all of us. So far, in my own view I haven't seen anything that can't be resolved to everyone's satisfaction, so I'm hopeful that once the core team has the conference behind them we'll be in a good position to reach a set of guidelines that will be productive for all. In the meantime, Mark Waddingham's earlier suggestion may suffice for now: If your project's goal is to share source code the GPL-governed Community Edition can be a good choice, and for any other goals the proprietary license as we've always had is available as well. If there's a pressing circumstance requiring immediate action with regard to licensing, please write to support AT livecode.com and they may be able to work out special licensing considerations for your use-case, as they've done with their EULA terms for developers facing unusual circumstances in the past. -- Richard Gaskin LiveCode Community Liaison richard at livecode.org Mark Wilcox wrote: > On Fri, Jul 22, 2016, at 03:38 AM, Richard Gaskin wrote: >> Mark Wilcox wrote: >> >> > My concern around LiveCode over-reaching with their derivative >> > work claims (which are significantly stronger than those made >> > by WordPress and Drupal) >> >> In what way(s)? > > OK, it's not wise to pull too hard on this thread, because LiveCode does > potentially have an issue with people distributing stackfiles > commercially, separate from a copy of the engine. > > That said, several noteworthy points exist in this regard: > 1) First, the Software Freedom Law Centre - which tends to be rather > biased in attempting to push copyright law interpretations in a way > that strengthen's copyleft licenses - has only given an opinion on > WordPress themes, not plugins. That analysis suggested that the PHP > code in themes was essentially trivial, just calling a fixed set of > APIs to enable the CSS and images to be used in the right places. > It's debatable but not unreasonable to suggest that the PHP code in > themes is subject to the GPL. The SFLC specifically said that the CSS > and images were not subject to the GPL. > > 2) A core WordPress contributor, Mark Jaquith, publicly stated at the > time of the SFLC statement on themes that the same argument applied > to plugins as well. He has since reconsidered that opinion and isn't > so convinced about themes any more either (see his comment on this > blog: > https://enriquesthoughts.wordpress.com/2014/01/05/wordpress-is-gpl-must-your-plugin-be-as-well/ > - specifically: > "Very well argued. My thinking on this matter has evolved since I wrote > my post, 3+ years ago. The thing about the GPL is that it is a legal > hack. For it to work, it relies on legal concepts like what constitutes > a derivative work. And while some plugins could unambiguously be > derivative works, I no longer think they must necessarily be so, and I > suspect the majority would not be considered derivative works (by a US > court, at least). Same goes with themes with the caveat that themes are > more likely to contain code lifted from WordPress, so they might veer > towards derivation more often than plugins do." > Proprietary WordPress plugins are extremely common and largely > tolerated. Proprietary themes do still exist but are slightly more > frowned upon. > > 3) Drupal modules/plugins are frequently designed to modify the way that > Drupal works. That does create some reasonable case for them being > derivative works. The reality is probably that some Drupal plugins > are derivative and some are not. > > 4) LiveCode is basically claiming that anything written in the language > is derivative. There is no precedent for this anywhere. Also, large > parts of the language itself are not really owned by LiveCode, it has > been previously released under more permissive licenses. Effectively > by creating a language, you create a new form of expressing creative > works. It is almost certainly not possible to copyright everything > expressed in a language. Add to this that the language is "English- > like" and a lot of the time LiveCode are trying to claim copyright > over English words... likely to be laughed out of court. > > 5) One of the most critical elements in a court's decision on whether or > not any use of a copyrighted work is "fair use" is the degree of > transformative nature of the work. The LiveCode engine is a general > purpose runtime designed to execute arbitrary programs, on its own it > doesn't "do" anything. The same broadly applies to any APIs it > provides. It would be very easy to argue that creating almost any app > that has a useful specific function is highly transformative of the > engine code. > > 6) All is not lost for LiveCode in (5) because distributing a standalone > would involve a direct copying of the entire engine, which would very > likely override the transformative nature of the use in almost every > conceivable case. However, the amount of LiveCode owned copyrightable > material in a stackfile is likely very small and the amount in a script- > only stack almost non-existent. > > 7) No-one can know the actual position for certain because this has > never been tested in court. > >> > I'd really hope to see a more enlightened policy here >> >> Apparently some clarification would be useful. > > Don't try to force the GPL on stackfiles created with the community > edition, only standalones. Encourage dual licensing or permissive > licensing. Allow the community edition users to create valuable code > that can also benefit commercial users. Even encourage them to dual > license and sell that without getting a commercial license (we're not > talking about a big market LiveCode would lose out on here). By all > means suggest that anyone building a successful business around this > practice should buy a license to support LiveCode but don't try to force > them to do so with GPL FUD. > > Frankly, even with a commercial license, the idea that someone else > owns copyright over the essence of my own creative works is > abhorrent. My instinctive reaction to a tool vendor that claims that > is not to use the tool at all. What if LiveCode the company fails? I > understand very deeply the complexity and costs involved in creating > such a tool and want to see LiveCode succeed commercially. I just > think this is a terribly user-hostile way of going about it with a > very unsound legal basis. > > Mark From andrewniemants at gmail.com Fri Jul 22 12:52:50 2016 From: andrewniemants at gmail.com (Andrew Niemantsverdriet) Date: Fri, 22 Jul 2016 10:52:50 -0600 Subject: Possible to use a mobile printer? Message-ID: Is is possible for LiveCode to communicate with a bluetooth mobile printer on Android? I have a Star Micronics SM-T300 Mobile Printer and would like to use LiveCode to print to it but have no idea where to even begin. Thanks, _ /-\ ndrew From rman at free.fr Fri Jul 22 12:35:55 2016 From: rman at free.fr (Robert Mann) Date: Fri, 22 Jul 2016 09:35:55 -0700 (PDT) Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: <3d64a68a-3a31-0427-1800-6b4f2f386b77@fourthworld.com> References: <92769a54-b5d3-618f-7017-e1bf4b96c6cb@livecode.com> <1469052649308-4706833.post@n4.nabble.com> <1469091451.913719.672558561.3C5C04E8@webmail.messagingengine.com> <40CF6CFE-778A-4E8E-91A3-AEF4CA53BC7A@all-auctions.com> <0a281f83-063f-ebe0-4cce-2fa1243b1453@fourthworld.com> <1469129556.1041224.672948729.1B09137A@webmail.messagingengine.com> <1469181127.1999263.673619337.4A5596EF@webmail.messagingengine.com> <3d64a68a-3a31-0427-1800-6b4f2f386b77@fourthworld.com> Message-ID: <1469205355393-4706894.post@n4.nabble.com> For the WE, you might find these links on the issue of applying copyright to programming languages, informative : Can Copyright Protect a Language? Google beats Oracle?Android makes ?fair use? of Java APIs Programming language can't be copyrighted: EU court -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/On-rev-support-problem-tp4706664p4706894.html Sent from the Revolution - User mailing list archive at Nabble.com. From kevin at livecode.com Fri Jul 22 13:32:30 2016 From: kevin at livecode.com (Kevin Miller) Date: Fri, 22 Jul 2016 10:32:30 -0700 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: <1469181127.1999263.673619337.4A5596EF@webmail.messagingengine.com> References: <1469129556.1041224.672948729.1B09137A@webmail.messagingengine.com> <1469181127.1999263.673619337.4A5596EF@webmail.messagingengine.com> Message-ID: Hi folks, We do review our licensing from time to time and I will at some point look again at whether we can clarify this further or introduce changes that make it clearer to our end users. I?m not a lawyer and until this stuff gets tested in court it seems hard to say what will and won?t stand up. A few comments on the statements below though. Firstly, the article Mark helpfully references is based on USA law. LiveCode is based in the UK. There isn?t the same concept of ?fair use? over here, and various other aspects of copyright law are different. It would be hard to say that the statements in that article, if correct in the USA (and as I say they haven?t been tested) would apply here. Secondly, LiveCode is very different from Wordpress. Stacks are executable binaries that incorporate aspects of the engine. That's even more the case now when they start to use and include widgets. There isn?t a good comparison with other text based languages. I personally doubt our script only components are GPL, but as I?ve said this hasn?t been tested in court and its not up to me. GPL does not alter the copyright assignment of the work that you create. Nor does it kick in at all on work on your own machine, it only applies at the point you distribute. When it applies, it simply requires that your work be distributed with certain additional freedoms. That does not remove your copyright, it just adds some rights for other people. You can change that any time by buying a commercial license. If all stacks were not GPL, then there would be far less need for standalones any more. Just build a commercial product and ship it, let the user install the IDE to run it. Maybe fork the source to add in password protection. That impact wouldn?t apply as quickly to iOS but it would take another chunk of our revenue away overnight on all other platforms. Which means less features for you, less bug fixes, less engineers and less progress on the platform. There are other ways to encourage commercial license use (e.g. by adding features) but we aren?t there yet to the extent we would need to be. Maybe when we get further down that path this sort of change might start to stack up economically. In the mean time it is surely in everyone?s interests that we are strong and healthy. Mark I?m very happy to sit down with you (and anyone else) over a whisky and debate all of this. If we can find a clearer license that continues to bring in sufficient revenue for our core team to develop the platform and grows our community even better, I?d be truly delighted. In order to have that debate, you would need to be more aware of the actual economics of our specific situation and that not something we can do on list. As yet I haven?t come up with a better license combination for where we are today and its not for lack of thought on the subject. Kind regards, Kevin Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps On 22/07/2016, 02:52, "use-livecode on behalf of Mark Wilcox" wrote: >On Fri, Jul 22, 2016, at 03:38 AM, Richard Gaskin wrote: >> Mark Wilcox wrote: >> >> > My concern around LiveCode over-reaching with their derivative >> > work claims (which are significantly stronger than those made >> > by WordPress and Drupal) >> >> In what way(s)? > >OK, it's not wise to pull too hard on this thread, because LiveCode does >potentially have an issue with people distributing stackfiles >commercially, separate from a copy of the engine. > >That said, several noteworthy points exist in this regard: >1) First, the Software Freedom Law Centre - which tends to be rather > biased in attempting to push copyright law interpretations in a way > that strengthen's copyleft licenses - has only given an opinion on > WordPress themes, not plugins. That analysis suggested that the PHP > code in themes was essentially trivial, just calling a fixed set of > APIs to enable the CSS and images to be used in the right places. > It's debatable but not unreasonable to suggest that the PHP code in > themes is subject to the GPL. The SFLC specifically said that the CSS > and images were not subject to the GPL. > >2) A core WordPress contributor, Mark Jaquith, publicly stated at the > time of the SFLC statement on themes that the same argument applied > to plugins as well. He has since reconsidered that opinion and isn't > so convinced about themes any more either (see his comment on this > blog: > >https://enriquesthoughts.wordpress.com/2014/01/05/wordpress-is-gpl-must-yo >ur-plugin-be-as-well/ > - specifically: >"Very well argued. My thinking on this matter has evolved since I wrote >my post, 3+ years ago. The thing about the GPL is that it is a legal >hack. For it to work, it relies on legal concepts like what constitutes >a derivative work. And while some plugins could unambiguously be >derivative works, I no longer think they must necessarily be so, and I >suspect the majority would not be considered derivative works (by a US >court, at least). Same goes with themes with the caveat that themes are >more likely to contain code lifted from WordPress, so they might veer >towards derivation more often than plugins do." >Proprietary WordPress plugins are extremely common and largely >tolerated. Proprietary themes do still exist but are slightly more >frowned upon. > >3) Drupal modules/plugins are frequently designed to modify the way that > Drupal works. That does create some reasonable case for them being > derivative works. The reality is probably that some Drupal plugins > are derivative and some are not. > >4) LiveCode is basically claiming that anything written in the language > is derivative. There is no precedent for this anywhere. Also, large > parts of the language itself are not really owned by LiveCode, it has > been previously released under more permissive licenses. Effectively > by creating a language, you create a new form of expressing creative > works. It is almost certainly not possible to copyright everything > expressed in a language. Add to this that the language is "English- > like" and a lot of the time LiveCode are trying to claim copyright > over English words... likely to be laughed out of court. > >5) One of the most critical elements in a court's decision on whether or > not any use of a copyrighted work is "fair use" is the degree of > transformative nature of the work. The LiveCode engine is a general > purpose runtime designed to execute arbitrary programs, on its own it > doesn't "do" anything. The same broadly applies to any APIs it > provides. It would be very easy to argue that creating almost any app > that has a useful specific function is highly transformative of the > engine code. > >6) All is not lost for LiveCode in (5) because distributing a standalone > would involve a direct copying of the entire engine, which would very > likely override the transformative nature of the use in almost every > conceivable case. However, the amount of LiveCode owned copyrightable > material in a stackfile is likely very small and the amount in a >script- > only stack almost non-existent. > >7) No-one can know the actual position for certain because this has > never been tested in court. > >> > I'd really hope to see a more enlightened policy here >> >> Apparently some clarification would be useful. > >Don't try to force the GPL on stackfiles created with the community >edition, only standalones. Encourage dual licensing or permissive >licensing. Allow the community edition users to create valuable code >that can also benefit commercial users. Even encourage them to dual >license and sell that without getting a commercial license (we're not >talking about a big market LiveCode would lose out on here). By all >means suggest that anyone building a successful business around this >practice should buy a license to support LiveCode but don't try to force >them to do so with GPL FUD. > >Frankly, even with a commercial license, the idea that someone else >owns copyright over the essence of my own creative works is >abhorrent. My instinctive reaction to a tool vendor that claims that >is not to use the tool at all. What if LiveCode the company fails? I >understand very deeply the complexity and costs involved in creating >such a tool and want to see LiveCode succeed commercially. I just >think this is a terribly user-hostile way of going about it with a >very unsound legal basis. > >Mark >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Fri Jul 22 13:56:18 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 22 Jul 2016 17:56:18 +0000 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: <3d64a68a-3a31-0427-1800-6b4f2f386b77@fourthworld.com> References: <1469181127.1999263.673619337.4A5596EF@webmail.messagingengine.com> <3d64a68a-3a31-0427-1800-6b4f2f386b77@fourthworld.com> Message-ID: <0BAB21BA-0D47-4834-89E4-7887F46B77C7@hindu.org> @ kevin Thanks for your careful attention to this. I am clearly out of my depth on licensing issues and have a naively, simplistic look at things. I do want to go on record that I am and always will be "on your side"?. if I were the CFO of Livecode and looked at a graph A) community downloads next to B) the annual revenue stream for licensed editions and if B <= (total operations budget, + reasonable compensation packages and party money for the team + funds for on-going development/innovation.) Then obviously, we have a problem. Good luck with finding a solution where we can freely advocate for LiveCode adoption, in an ocean where commercial and free code swim together virtual indistinguishable for 75% of the developers (students, teachers hobbyists, team leaders), like me who have no clue about licenses and just "go to work to get things done." What the solution is, I don?t know? but the current EULA clearly works against your stated goal (I recall that video interview) "make LiveCode one of the ten most popular languages in the world" BR Kevin wrote: It was one of our longer meetings, in which we reviewed the specific examples Kay, Bramanathaswami, and others have presented. From mark at canelasoftware.com Fri Jul 22 13:57:21 2016 From: mark at canelasoftware.com (Mark Talluto) Date: Fri, 22 Jul 2016 10:57:21 -0700 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: References: <1469129556.1041224.672948729.1B09137A@webmail.messagingengine.com> <1469181127.1999263.673619337.4A5596EF@webmail.messagingengine.com> <3F44CD47-A733-417E-8FAC-88E9AB07D065@all-auctions.com> <1469199240.3372422.673887057.6A3171D4@webmail.messagingengine.com> <8A9F36A6-4164-4B7F-9662-006D69EAEC78@all-auctions.com> Message-ID: <99D13F50-2EF5-442B-9E5D-5E89D2E88185@canelasoftware.com> > On Jul 22, 2016, at 9:07 AM, Peter TB Brett wrote: > > If someone wants to try out LiveCode with a view to making closed-source software, they can register for a free trial of LiveCode Indy here: https://livecode.com/trial/ Very cool! This should go a long way to introducing the value of the commercial versions of LiveCode. Best regards, Mark Talluto livecloud.io canelasoftware.com From peter.brett at livecode.com Fri Jul 22 14:02:50 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Fri, 22 Jul 2016 19:02:50 +0100 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: <99D13F50-2EF5-442B-9E5D-5E89D2E88185@canelasoftware.com> References: <1469129556.1041224.672948729.1B09137A@webmail.messagingengine.com> <1469181127.1999263.673619337.4A5596EF@webmail.messagingengine.com> <3F44CD47-A733-417E-8FAC-88E9AB07D065@all-auctions.com> <1469199240.3372422.673887057.6A3171D4@webmail.messagingengine.com> <8A9F36A6-4164-4B7F-9662-006D69EAEC78@all-auctions.com> <99D13F50-2EF5-442B-9E5D-5E89D2E88185@canelasoftware.com> Message-ID: On 22/07/2016 18:57, Mark Talluto wrote: > >> On Jul 22, 2016, at 9:07 AM, Peter TB Brett >> wrote: >> >> If someone wants to try out LiveCode with a view to making >> closed-source software, they can register for a free trial of >> LiveCode Indy here: https://livecode.com/trial/ > > Very cool! This should go a long way to introducing the value of the > commercial versions of LiveCode. > Note that the trial includes _all_ the "added-value" features of LiveCode Indy, including all the mergExt externals, stack protection, device camera support, etc. Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From gcanyon at gmail.com Fri Jul 22 14:40:00 2016 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 22 Jul 2016 14:40:00 -0400 Subject: [ANN] Updates to LiveCode's platform support policy In-Reply-To: References: Message-ID: On Thu, Jul 21, 2016 at 9:51 AM, Roger Eller wrote: > In Chrome on Yosemite, clicking OSX opens the Linux list. OSX list will > not open. Works fine in Safari. > > ~Roger > ?For me on Safari, changing from one accordion entry to a lower one scrolls up the content (because it's hiding the higher entry) meaning that the opened entry is off the top of the window. The accordion serves no purpose other than to be potentially buggy or mess with the user, and the list would be better as a simple page with sequential entries -- in other words roughly what you would get if all the accordion entries were open at once. From hh at hh.on-rev.com Fri Jul 22 15:25:39 2016 From: hh at hh.on-rev.com (-hh) Date: Fri, 22 Jul 2016 12:25:39 -0700 (PDT) Subject: [ANN] Updates to LiveCode's platform support policy In-Reply-To: References: Message-ID: <1469215539955-4706900.post@n4.nabble.com> Being a naive user I created a new stack with LC 8.0.1 and scripted it: on resizestack set rect of widget "browser" to the rect of this card end resizestack Then dragged the browser widget to the stack, pasted http://livecode.com/updated-platform-support-policy/ into the URL-field and everything works as a charme: *Responsive* page, wonderful overview, I have'nt seen such a clear list before. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Updates-to-LiveCode-s-platform-support-policy-tp4706840p4706900.html Sent from the Revolution - User mailing list archive at Nabble.com. From sundown at pacifier.com Fri Jul 22 18:04:32 2016 From: sundown at pacifier.com (JB) Date: Fri, 22 Jul 2016 15:04:32 -0700 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: References: <1469129556.1041224.672948729.1B09137A@webmail.messagingengine.com> <1469181127.1999263.673619337.4A5596EF@webmail.messagingengine.com> Message-ID: <2E8F466D-C34F-4DFE-AB42-E0C31FFA13E6@pacifier.com> Around a year or so ago I read Apple was thinking of making xCode open source. If they do then it seems like they could incorporate Livecode open source to develope similar features in xCode. With their money, attorneys, and laws in different countries they can pretty much use what they want. They need to simplify their interface whatever path they take. John Balgenorth > On Jul 22, 2016, at 10:32 AM, Kevin Miller wrote: > > Hi folks, > > We do review our licensing from time to time and I will at some point look > again at whether we can clarify this further or introduce changes that > make it clearer to our end users. I?m not a lawyer and until this stuff > gets tested in court it seems hard to say what will and won?t stand up. > > A few comments on the statements below though. Firstly, the article Mark > helpfully references is based on USA law. LiveCode is based in the UK. > There isn?t the same concept of ?fair use? over here, and various other > aspects of copyright law are different. It would be hard to say that the > statements in that article, if correct in the USA (and as I say they > haven?t been tested) would apply here. > > Secondly, LiveCode is very different from Wordpress. Stacks are executable > binaries that incorporate aspects of the engine. That's even more the case > now when they start to use and include widgets. There isn?t a good > comparison with other text based languages. I personally doubt our script > only components are GPL, but as I?ve said this hasn?t been tested in court > and its not up to me. > > GPL does not alter the copyright assignment of the work that you create. > Nor does it kick in at all on work on your own machine, it only applies at > the point you distribute. When it applies, it simply requires that your > work be distributed with certain additional freedoms. That does not remove > your copyright, it just adds some rights for other people. You can change > that any time by buying a commercial license. > > If all stacks were not GPL, then there would be far less need for > standalones any more. Just build a commercial product and ship it, let the > user install the IDE to run it. Maybe fork the source to add in password > protection. That impact wouldn?t apply as quickly to iOS but it would take > another chunk of our revenue away overnight on all other platforms. Which > means less features for you, less bug fixes, less engineers and less > progress on the platform. There are other ways to encourage commercial > license use (e.g. by adding features) but we aren?t there yet to the > extent we would need to be. Maybe when we get further down that path this > sort of change might start to stack up economically. In the mean time it > is surely in everyone?s interests that we are strong and healthy. > > Mark I?m very happy to sit down with you (and anyone else) over a whisky > and debate all of this. If we can find a clearer license that continues to > bring in sufficient revenue for our core team to develop the platform and > grows our community even better, I?d be truly delighted. In order to have > that debate, you would need to be more aware of the actual economics of > our specific situation and that not something we can do on list. As yet I > haven?t come up with a better license combination for where we are today > and its not for lack of thought on the subject. > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > > > > On 22/07/2016, 02:52, "use-livecode on behalf of Mark Wilcox" > mark at sorcery-ltd.co.uk> wrote: > >> On Fri, Jul 22, 2016, at 03:38 AM, Richard Gaskin wrote: >>> Mark Wilcox wrote: >>> >>>> My concern around LiveCode over-reaching with their derivative >>>> work claims (which are significantly stronger than those made >>>> by WordPress and Drupal) >>> >>> In what way(s)? >> >> OK, it's not wise to pull too hard on this thread, because LiveCode does >> potentially have an issue with people distributing stackfiles >> commercially, separate from a copy of the engine. >> >> That said, several noteworthy points exist in this regard: >> 1) First, the Software Freedom Law Centre - which tends to be rather >> biased in attempting to push copyright law interpretations in a way >> that strengthen's copyleft licenses - has only given an opinion on >> WordPress themes, not plugins. That analysis suggested that the PHP >> code in themes was essentially trivial, just calling a fixed set of >> APIs to enable the CSS and images to be used in the right places. >> It's debatable but not unreasonable to suggest that the PHP code in >> themes is subject to the GPL. The SFLC specifically said that the CSS >> and images were not subject to the GPL. >> >> 2) A core WordPress contributor, Mark Jaquith, publicly stated at the >> time of the SFLC statement on themes that the same argument applied >> to plugins as well. He has since reconsidered that opinion and isn't >> so convinced about themes any more either (see his comment on this >> blog: >> >> https://enriquesthoughts.wordpress.com/2014/01/05/wordpress-is-gpl-must-yo >> ur-plugin-be-as-well/ >> - specifically: >> "Very well argued. My thinking on this matter has evolved since I wrote >> my post, 3+ years ago. The thing about the GPL is that it is a legal >> hack. For it to work, it relies on legal concepts like what constitutes >> a derivative work. And while some plugins could unambiguously be >> derivative works, I no longer think they must necessarily be so, and I >> suspect the majority would not be considered derivative works (by a US >> court, at least). Same goes with themes with the caveat that themes are >> more likely to contain code lifted from WordPress, so they might veer >> towards derivation more often than plugins do." >> Proprietary WordPress plugins are extremely common and largely >> tolerated. Proprietary themes do still exist but are slightly more >> frowned upon. >> >> 3) Drupal modules/plugins are frequently designed to modify the way that >> Drupal works. That does create some reasonable case for them being >> derivative works. The reality is probably that some Drupal plugins >> are derivative and some are not. >> >> 4) LiveCode is basically claiming that anything written in the language >> is derivative. There is no precedent for this anywhere. Also, large >> parts of the language itself are not really owned by LiveCode, it has >> been previously released under more permissive licenses. Effectively >> by creating a language, you create a new form of expressing creative >> works. It is almost certainly not possible to copyright everything >> expressed in a language. Add to this that the language is "English- >> like" and a lot of the time LiveCode are trying to claim copyright >> over English words... likely to be laughed out of court. >> >> 5) One of the most critical elements in a court's decision on whether or >> not any use of a copyrighted work is "fair use" is the degree of >> transformative nature of the work. The LiveCode engine is a general >> purpose runtime designed to execute arbitrary programs, on its own it >> doesn't "do" anything. The same broadly applies to any APIs it >> provides. It would be very easy to argue that creating almost any app >> that has a useful specific function is highly transformative of the >> engine code. >> >> 6) All is not lost for LiveCode in (5) because distributing a standalone >> would involve a direct copying of the entire engine, which would very >> likely override the transformative nature of the use in almost every >> conceivable case. However, the amount of LiveCode owned copyrightable >> material in a stackfile is likely very small and the amount in a >> script- >> only stack almost non-existent. >> >> 7) No-one can know the actual position for certain because this has >> never been tested in court. >> >>>> I'd really hope to see a more enlightened policy here >>> >>> Apparently some clarification would be useful. >> >> Don't try to force the GPL on stackfiles created with the community >> edition, only standalones. Encourage dual licensing or permissive >> licensing. Allow the community edition users to create valuable code >> that can also benefit commercial users. Even encourage them to dual >> license and sell that without getting a commercial license (we're not >> talking about a big market LiveCode would lose out on here). By all >> means suggest that anyone building a successful business around this >> practice should buy a license to support LiveCode but don't try to force >> them to do so with GPL FUD. >> >> Frankly, even with a commercial license, the idea that someone else >> owns copyright over the essence of my own creative works is >> abhorrent. My instinctive reaction to a tool vendor that claims that >> is not to use the tool at all. What if LiveCode the company fails? I >> understand very deeply the complexity and costs involved in creating >> such a tool and want to see LiveCode succeed commercially. I just >> think this is a terribly user-hostile way of going about it with a >> very unsound legal basis. >> >> Mark >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at tactilemedia.com Fri Jul 22 18:05:49 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 22 Jul 2016 15:05:49 -0700 Subject: UN-FullScreen a Stack? Message-ID: OK, on OS X 10.11 I decided to see what happens when maximizing a stack. The window went fullscreen and my script for repositioning controls works great, but now the display is stuck in fullscreen mode. How do I get the view back to multi-window view? Setting the width/height of the stack resizes the stack but leaves a black OS backdrop in place and the display remains set the fullscreen mode. What's the command to un-fullscreen a stack? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From devin_asay at byu.edu Fri Jul 22 18:10:02 2016 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 22 Jul 2016 22:10:02 +0000 Subject: UN-FullScreen a Stack? In-Reply-To: References: Message-ID: <244E6187-F475-4014-A70A-1E3C9B9B4F61@byu.edu> > On Jul 22, 2016, at 4:05 PM, Scott Rossi wrote: > > OK, on OS X 10.11 I decided to see what happens when maximizing a stack. > The window went fullscreen and my script for repositioning controls works > great, but now the display is stuck in fullscreen mode. How do I get the > view back to multi-window view? Setting the width/height of the stack > resizes the stack but leaves a black OS backdrop in place and the display > remains set the fullscreen mode. What's the command to un-fullscreen a > stack? set the fullscreen of this stack to false Did that not work? (I?m still on 10.10.) Devin Devin Asay Office of Digital Humanities Brigham Young University From colinholgate at gmail.com Fri Jul 22 18:16:39 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Fri, 22 Jul 2016 18:16:39 -0400 Subject: UN-FullScreen a Stack? In-Reply-To: References: Message-ID: <31424F97-8737-42E5-9439-CA29062A4AE1@gmail.com> You mouse over the top of the screen, and the menu and titlebar will appear. Then click the green button to come out of full screen mode. Same thing works for all other Mac windows. > On Jul 22, 2016, at 6:05 PM, Scott Rossi wrote: > > OK, on OS X 10.11 I decided to see what happens when maximizing a stack. > The window went fullscreen and my script for repositioning controls works > great, but now the display is stuck in fullscreen mode. How do I get the > view back to multi-window view? Setting the width/height of the stack > resizes the stack but leaves a black OS backdrop in place and the display > remains set the fullscreen mode. What's the command to un-fullscreen a > stack? > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Fri Jul 22 18:19:59 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 23 Jul 2016 08:19:59 +1000 Subject: UN-FullScreen a Stack? In-Reply-To: References: Message-ID: I have a bug report open about this. Apple decided to just change the way windows worked in 10.11 and this has caused a number of issues we need to resolve. For the moment you can't script a way out of fullscreen mode so you need to use the widget again at the top of the screen. Cheers Monte Sent from my iPhone > On 23 Jul 2016, at 8:05 AM, Scott Rossi wrote: > > OK, on OS X 10.11 I decided to see what happens when maximizing a stack. > The window went fullscreen and my script for repositioning controls works > great, but now the display is stuck in fullscreen mode. How do I get the > view back to multi-window view? Setting the width/height of the stack > resizes the stack but leaves a black OS backdrop in place and the display > remains set the fullscreen mode. What's the command to un-fullscreen a > stack? > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Fri Jul 22 18:29:02 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 23 Jul 2016 08:29:02 +1000 Subject: UN-FullScreen a Stack? In-Reply-To: References: Message-ID: <06A924BE-F1DB-48B8-9C85-F66A508011D6@appisle.net> Here it is http://quality.livecode.com/show_bug.cgi?id=16946 Sent from my iPhone > On 23 Jul 2016, at 8:19 AM, Monte Goulding wrote: > > I have a bug report open about this. Apple decided to just change the way windows worked in 10.11 and this has caused a number of issues we need to resolve. For the moment you can't script a way out of fullscreen mode so you need to use the widget again at the top of the screen. > > Cheers > > Monte > > Sent from my iPhone > >> On 23 Jul 2016, at 8:05 AM, Scott Rossi wrote: >> >> OK, on OS X 10.11 I decided to see what happens when maximizing a stack. >> The window went fullscreen and my script for repositioning controls works >> great, but now the display is stuck in fullscreen mode. How do I get the >> view back to multi-window view? Setting the width/height of the stack >> resizes the stack but leaves a black OS backdrop in place and the display >> remains set the fullscreen mode. What's the command to un-fullscreen a >> stack? >> >> Thanks & Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Fri Jul 22 18:30:42 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 22 Jul 2016 15:30:42 -0700 Subject: UN-FullScreen a Stack? In-Reply-To: <31424F97-8737-42E5-9439-CA29062A4AE1@gmail.com> References: <31424F97-8737-42E5-9439-CA29062A4AE1@gmail.com> Message-ID: When the stack is maximized using the window decorations, setting the fullscreen to false doesn't revert the stack back to its original dimensions unless the fullScreen was enabled to begin with. But manually setting the stack's dimensions can resize/reposition it. Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 7/22/16, 3:16 PM, "use-livecode on behalf of Colin Holgate" wrote: >You mouse over the top of the screen, and the menu and titlebar will >appear. Then click the green button to come out of full screen mode. Same >thing works for all other Mac windows. > >> On Jul 22, 2016, at 6:05 PM, Scott Rossi wrote: >> >> OK, on OS X 10.11 I decided to see what happens when maximizing a stack. >> The window went fullscreen and my script for repositioning controls >>works >> great, but now the display is stuck in fullscreen mode. How do I get >>the >> view back to multi-window view? Setting the width/height of the stack >> resizes the stack but leaves a black OS backdrop in place and the >>display >> remains set the fullscreen mode. What's the command to un-fullscreen a >> stack? >> >> Thanks & Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Fri Jul 22 18:35:21 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 22 Jul 2016 15:35:21 -0700 Subject: UN-FullScreen a Stack? In-Reply-To: <31424F97-8737-42E5-9439-CA29062A4AE1@gmail.com> References: <31424F97-8737-42E5-9439-CA29062A4AE1@gmail.com> Message-ID: I eventually figured out the stack's decorations were hidden behind the LiveCode toolbar (and the green button was changed to grey an OS version or two back). But I'm still wondering if there's a command to exit the OS's fullscreen mode without making the menubar visible, like how most apps employ the escape key. Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 7/22/16, 3:16 PM, "use-livecode on behalf of Colin Holgate" wrote: >You mouse over the top of the screen, and the menu and titlebar will >appear. Then click the green button to come out of full screen mode. Same >thing works for all other Mac windows. > >> On Jul 22, 2016, at 6:05 PM, Scott Rossi wrote: >> >> OK, on OS X 10.11 I decided to see what happens when maximizing a stack. >> The window went fullscreen and my script for repositioning controls >>works >> great, but now the display is stuck in fullscreen mode. How do I get >>the >> view back to multi-window view? Setting the width/height of the stack >> resizes the stack but leaves a black OS backdrop in place and the >>display >> remains set the fullscreen mode. What's the command to un-fullscreen a >> stack? >> >> Thanks & Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Fri Jul 22 18:37:03 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 22 Jul 2016 15:37:03 -0700 Subject: UN-FullScreen a Stack? In-Reply-To: <06A924BE-F1DB-48B8-9C85-F66A508011D6@appisle.net> References: <06A924BE-F1DB-48B8-9C85-F66A508011D6@appisle.net> Message-ID: Thanks, good to know. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 7/22/16, 3:29 PM, "use-livecode on behalf of Monte Goulding" wrote: >Here it is http://quality.livecode.com/show_bug.cgi?id=16946 > >Sent from my iPhone > >> On 23 Jul 2016, at 8:19 AM, Monte Goulding wrote: >> >> I have a bug report open about this. Apple decided to just change the >>way windows worked in 10.11 and this has caused a number of issues we >>need to resolve. For the moment you can't script a way out of fullscreen >>mode so you need to use the widget again at the top of the screen. >> >> Cheers >> >> Monte >> >> Sent from my iPhone >> >>> On 23 Jul 2016, at 8:05 AM, Scott Rossi wrote: >>> >>> OK, on OS X 10.11 I decided to see what happens when maximizing a >>>stack. >>> The window went fullscreen and my script for repositioning controls >>>works >>> great, but now the display is stuck in fullscreen mode. How do I get >>>the >>> view back to multi-window view? Setting the width/height of the stack >>> resizes the stack but leaves a black OS backdrop in place and the >>>display >>> remains set the fullscreen mode. What's the command to un-fullscreen a >>> stack? >>> >>> Thanks & Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX/UI Design >>> >>> >>> >>> >>> >>> >>> From ambassador at fourthworld.com Fri Jul 22 21:45:27 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Jul 2016 18:45:27 -0700 Subject: copy/paste on mobile? Message-ID: <0e15817d-afda-7420-e9b3-96882e71ec60@fourthworld.com> The Dict says copy can be used with chunk expressions to copy text from a LiveCode field to the mobile OS clipboard, but I'm having no luck getting it to work. Is that working for you folks, or is the Dictionary wrong? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From paul at livecode.org Fri Jul 22 22:05:49 2016 From: paul at livecode.org (Paul Hibbert) Date: Fri, 22 Jul 2016 19:05:49 -0700 Subject: UN-FullScreen a Stack? In-Reply-To: References: <31424F97-8737-42E5-9439-CA29062A4AE1@gmail.com> Message-ID: <847607D4-887C-4C75-8A17-1B602DD5743E@livecode.org> I doubt this is any use for what you need, but strangely, setting the liveResizing of the stack to false does exit fullscreen mode, although the stack grows in height by 22px! Paul > On Jul 22, 2016, at 3:35 PM, Scott Rossi wrote: > > I eventually figured out the stack's decorations were hidden behind the > LiveCode toolbar (and the green button was changed to grey an OS version > or two back). > > But I'm still wondering if there's a command to exit the OS's fullscreen > mode without making the menubar visible, like how most apps employ the > escape key. > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 7/22/16, 3:16 PM, "use-livecode on behalf of Colin Holgate" > colinholgate at gmail.com> wrote: > >> You mouse over the top of the screen, and the menu and titlebar will >> appear. Then click the green button to come out of full screen mode. Same >> thing works for all other Mac windows. >> >>> On Jul 22, 2016, at 6:05 PM, Scott Rossi wrote: >>> >>> OK, on OS X 10.11 I decided to see what happens when maximizing a stack. >>> The window went fullscreen and my script for repositioning controls >>> works >>> great, but now the display is stuck in fullscreen mode. How do I get >>> the >>> view back to multi-window view? Setting the width/height of the stack >>> resizes the stack but leaves a black OS backdrop in place and the >>> display >>> remains set the fullscreen mode. What's the command to un-fullscreen a >>> stack? >>> >>> Thanks & Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX/UI Design >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Fri Jul 22 22:31:36 2016 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 23 Jul 2016 04:31:36 +0200 Subject: android sdk fyi In-Reply-To: References: Message-ID: <7b286227-28ba-ce11-7a0c-b1a847e70ca2@economy-x-talk.com> Thanks Mike! +1 Kind regards, Mark Schonewille http://economy-x-talk.com https://www.facebook.com/marksch Buy the most extensive book on the LiveCode language: http://livecodebeginner.economy-x-talk.com Op 07-Jul-16 om 14:47 schreef Mike Bonner: > I recently started working with android again, and was having trouble > building successfully. aapt.exe would crash every time. If you happen to > run into this, go to the sdk manager and install the build tools 22.01, > then backup the aapt.exe in the most recent build tools (just in case) and > copy the aapt.exe from the 22.01 build tools in to replace it. > > A version other than 22.01 might work, but during research of the problem I > ran across mention of that specific version. Unfortunately, I can't seem to > find it again, but hey, it worked! From dochawk at gmail.com Fri Jul 22 23:04:02 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 22 Jul 2016 20:04:02 -0700 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: <2E8F466D-C34F-4DFE-AB42-E0C31FFA13E6@pacifier.com> References: <1469129556.1041224.672948729.1B09137A@webmail.messagingengine.com> <1469181127.1999263.673619337.4A5596EF@webmail.messagingengine.com> <2E8F466D-C34F-4DFE-AB42-E0C31FFA13E6@pacifier.com> Message-ID: On Fri, Jul 22, 2016 at 3:04 PM, JB wrote: > Around a year or so ago I read Apple was thinking > of making xCode open source. If they do then it > seems like they could incorporate Livecode open > source to develope similar features in xCode. > If apple were to do that, it would be under a Free/BSD type license, not a viral/GPL type license. Conversely, it wouldn't make any sense for livecode to use a non-viral license. Xcode isn't the product; it's part of the support system, while livecode *is* the product. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From sundown at pacifier.com Fri Jul 22 23:46:36 2016 From: sundown at pacifier.com (JB) Date: Fri, 22 Jul 2016 20:46:36 -0700 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: References: <1469129556.1041224.672948729.1B09137A@webmail.messagingengine.com> <1469181127.1999263.673619337.4A5596EF@webmail.messagingengine.com> <2E8F466D-C34F-4DFE-AB42-E0C31FFA13E6@pacifier.com> Message-ID: <127AC1F2-B31E-4D4A-AE6D-C1FF69E45338@pacifier.com> I don?t know what is legal for sure but it seems to me once the code was sold and then Livecode made a commercial product using the code it opens the door for others to use the code in a similar fashion as Livecode since the sold the code and the similar rights went with it. What compiled code is allowed in a open source project now? Live code does not go out of the way to help people add any externals but they are allowed and Apple could easily add certain parts as externals and comply with the open source license. Apple also had hyperCard and using code that is similar would be legal. Whatever path they take Apple needs to simplify the xCode interface. John Balgenorth > On Jul 22, 2016, at 8:04 PM, Dr. Hawkins wrote: > > On Fri, Jul 22, 2016 at 3:04 PM, JB wrote: > >> Around a year or so ago I read Apple was thinking >> of making xCode open source. If they do then it >> seems like they could incorporate Livecode open >> source to develope similar features in xCode. >> > > If apple were to do that, it would be under a Free/BSD type license, not a > viral/GPL type license. Conversely, it wouldn't make any sense for > livecode to use a non-viral license. > > Xcode isn't the product; it's part of the support system, while livecode > *is* the product. > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From preid at reidit.co.uk Sat Jul 23 03:57:25 2016 From: preid at reidit.co.uk (Peter Reid) Date: Sat, 23 Jul 2016 08:57:25 +0100 Subject: Multi-level Undo? Message-ID: <82B7A8C7-97BB-4555-83D5-9443575EF83D@reidit.co.uk> Is there any way of supporting multi-level undo in LiveCode? My current project provides support for the user to manipulate objects (grouped vector objects). The user can grab objects, move them around the window, group/ungroup, align, cut, copy, paste and undo. However the undo is single level only. Can anyone suggest a way of providing multi-level undo, even if only 3 levels? Thanks. Peter -- Peter Reid Loughborough, UK From blueback09 at gmail.com Sat Jul 23 04:27:05 2016 From: blueback09 at gmail.com (Matt Maier) Date: Sat, 23 Jul 2016 11:27:05 +0300 Subject: Multi-level Undo? In-Reply-To: <82B7A8C7-97BB-4555-83D5-9443575EF83D@reidit.co.uk> References: <82B7A8C7-97BB-4555-83D5-9443575EF83D@reidit.co.uk> Message-ID: I looked into it a while back. A few basic options are: - rationalize all of the user's actions into a list of named actions, keep track of the actions in order, and then have the engine execute the list. if the user uses undo, just move a marker one item backwards in the list, so that the engine only gets up to the marker. If they use redo, move the marker ahead one item - save a complete copy of the working file after every change. use up as much space as you want and start overwriting the oldest version. if a user uses undo, load an older version. if they use redo, load a newer version. - carefully control your engine's options so that they are all perfectly undoable, with no remainders or side effects. if the user uses undo, just execute the exact opposite of the last operation. if they use redo, just execute the exact same operation again. You can mix and match among these options. I used the first one there and my files never got anywhere close to big enough that you'd notice they were being regenerated from scratch after every change. That depends on your task, though; mine was text and some simple vectors. On Sat, Jul 23, 2016 at 10:57 AM, Peter Reid wrote: > Is there any way of supporting multi-level undo in LiveCode? > > My current project provides support for the user to manipulate objects > (grouped vector objects). The user can grab objects, move them around the > window, group/ungroup, align, cut, copy, paste and undo. However the undo > is single level only. > > Can anyone suggest a way of providing multi-level undo, even if only 3 > levels? > > Thanks. > > Peter > -- > Peter Reid > Loughborough, UK > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sat Jul 23 04:38:09 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 23 Jul 2016 11:38:09 +0300 Subject: Multi-level Undo? In-Reply-To: <82B7A8C7-97BB-4555-83D5-9443575EF83D@reidit.co.uk> References: <82B7A8C7-97BB-4555-83D5-9443575EF83D@reidit.co.uk> Message-ID: <474f98ed-07e1-79c7-b6c2-d2e0c2942091@gmail.com> This is really the same sort of thing as being unable to hit command/control Z when one accidently deletes something. R. On 23.07.2016 10:57, Peter Reid wrote: > Is there any way of supporting multi-level undo in LiveCode? > > My current project provides support for the user to manipulate objects (grouped vector objects). The user can grab objects, move them around the window, group/ungroup, align, cut, copy, paste and undo. However the undo is single level only. > > Can anyone suggest a way of providing multi-level undo, even if only 3 levels? > > Thanks. > > Peter > -- > Peter Reid > Loughborough, UK > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hh.on-rev.com Sat Jul 23 04:41:43 2016 From: hh at hh.on-rev.com (-hh) Date: Sat, 23 Jul 2016 01:41:43 -0700 (PDT) Subject: UN-FullScreen a Stack? In-Reply-To: <847607D4-887C-4C75-8A17-1B602DD5743E@livecode.org> References: <31424F97-8737-42E5-9439-CA29062A4AE1@gmail.com> <847607D4-887C-4C75-8A17-1B602DD5743E@livecode.org> Message-ID: <1469263303929-4706918.post@n4.nabble.com> Paul_Hibbert wrote > ... setting the liveResizing of the stack to false does exit fullscreen > mode, > although the stack grows in height by 22px! The most useful bug of the year! Works in LC 6/7/8 and also this way: set liveresizing of this stack to the liveresizing of this stack Sadly liveresizing is in LC 8 no longer a "supported" property (deprecated). Perhaps it could be renamed to "exitFullscreen"? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/UN-FullScreen-a-Stack-tp4706902p4706918.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Sat Jul 23 07:58:30 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 23 Jul 2016 14:58:30 +0300 Subject: UN-FullScreen a Stack? In-Reply-To: <1469263303929-4706918.post@n4.nabble.com> References: <31424F97-8737-42E5-9439-CA29062A4AE1@gmail.com> <847607D4-887C-4C75-8A17-1B602DD5743E@livecode.org> <1469263303929-4706918.post@n4.nabble.com> Message-ID: <479c3fe3-da49-7c9c-9370-2d268617a852@gmail.com> And here is what the 7.1.4 dictionary has to say, blow an icon that says liveResizing IS a feature on Macintosh: "On Mac OS, Unix, and Windows systems, the liveResizing property has no effect." Ha, Ha, Ha: very nearly got a hernia laughing at that one. The BIG QUESTION has to be: "Where does this property have an effect?" Richmond. On 23.07.2016 11:41, [-hh] wrote: > Paul_Hibbert wrote >> ... setting the liveResizing of the stack to false does exit fullscreen >> mode, >> although the stack grows in height by 22px! > The most useful bug of the year! > Works in LC 6/7/8 and also this way: > > set liveresizing of this stack to the liveresizing of this stack > > Sadly liveresizing is in LC 8 no longer a "supported" property (deprecated). > Perhaps it could be renamed to "exitFullscreen"? > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/UN-FullScreen-a-Stack-tp4706902p4706918.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Jul 23 09:37:49 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 23 Jul 2016 16:37:49 +0300 Subject: Dictionary: repeat Message-ID: I was reading an incredibly tedious book about Visual BASIC 6 last night [ left over from my M.Sc. in "Computers and IT" from the University of Abertay ] and wondering about various things such as "step". Reading computer manuals is, in my experience, really great in the same sort of way banging one's head on the wall is: it feels just so good when it stops! 1. Funnily enough "step" doesn't seem to be listed in the 7.1.4 Dictionary. 2. I looked up "repeat" and found this: repeat with myLine = 20 down to 1 step -2 and "there 'step' was! 3. But, as usual with me, the main point I want to make has not got that much to do with "step" but a remark that struck me as rather odd in the "repeat" entry in the Dictionary: *Note:* It is possible to change the counter variable in a statement in the loop. However, doing this is not recommended, because it makes the loop logic difficult to follow: repeat with x = 1 to 20 -- this loop actually repeats ten times answer x add 1 to x -- not recommended end repeat Why is that "not recommended" [I do 'that' all the time and have never had a problem] ? 4. Now to the "crunchy bit": I have been telling the children who have been coming to Summer programming classes for the last 3 years that they should do this sort of thing the way the Dictionary states is "not recommended". If someone can explain in a way that makes reasonable sense, I will give up doing that and teach them the other way from now on. Richmond. From ambassador at fourthworld.com Sat Jul 23 10:04:08 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 23 Jul 2016 07:04:08 -0700 Subject: UN-FullScreen a Stack? In-Reply-To: <479c3fe3-da49-7c9c-9370-2d268617a852@gmail.com> References: <479c3fe3-da49-7c9c-9370-2d268617a852@gmail.com> Message-ID: <57937958.9080802@fourthworld.com> Richmond wrote: > And here is what the 7.1.4 dictionary has to say, blow an icon that > says liveResizing IS a feature > > on Macintosh: > "On Mac OS, Unix, and Windows systems, the liveResizing property has > no effect." > > Ha, Ha, Ha: very nearly got a hernia laughing at that one. > > The BIG QUESTION has to be: > > "Where does this property have an effect?" If you read the description of what liveResizing used to do, you may also have noticed that OS X never did that. The property was useful in Mac OS 9 and earlier, now long past EOL. With LC v8.0 and later the property is now officially deprecated, though I'm not sure why that isn't noted in the v8.1 Dictionary. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Sat Jul 23 10:05:14 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 23 Jul 2016 17:05:14 +0300 Subject: Find & Replace Message-ID: <39e3ff34-81fb-df5e-90a3-07d87b42bda0@gmail.com> I have to replace a very large number of instances of *uniencode* with either *nothing* or a *single space* in a very large number of faux buttons in my *Devawriter Pro*, which is currently being dragged, "screaming", from *Livecode 4.5* to something a spot more up-to-date. Cracking open the *Find & Replace* stacklet and entering "uniencode" in the *Find* field, and " " in the replace field is rather odd because the 'Find' button is visible; but the other 3 buttons: 'Find next', 'Replace' and 'Replace all' are greyed out. This won't do, will it? Richmond. From richmondmathewson at gmail.com Sat Jul 23 10:17:36 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 23 Jul 2016 17:17:36 +0300 Subject: Find & Replace In-Reply-To: <39e3ff34-81fb-df5e-90a3-07d87b42bda0@gmail.com> References: <39e3ff34-81fb-df5e-90a3-07d87b42bda0@gmail.com> Message-ID: This does work if I choose "Current Tab" [i.e. the script I have open at present]; but this is effectively useless as I have at least 2000 scripts to go through. R. On 23.07.2016 17:05, Richmond wrote: > > I have to replace a very large number of instances of > > *uniencode* > > with either *nothing* or a *single space* in a very large number of > > faux buttons in my *Devawriter Pro*, which is currently being > > dragged, "screaming", from *Livecode 4.5* to something a spot more > > up-to-date. > > Cracking open the *Find & Replace* stacklet and entering "uniencode" > > in the *Find* field, and " " in the replace field is rather odd because > > the 'Find' button is visible; but the other 3 buttons: > > 'Find next', 'Replace' and 'Replace all' are greyed out. > > This won't do, will it? > > Richmond. > From bonnmike at gmail.com Sat Jul 23 10:19:27 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 23 Jul 2016 08:19:27 -0600 Subject: Find & Replace In-Reply-To: <39e3ff34-81fb-df5e-90a3-07d87b42bda0@gmail.com> References: <39e3ff34-81fb-df5e-90a3-07d87b42bda0@gmail.com> Message-ID: If you're using find and replace in the script editor, when choosing the source either choose "current tab" or "all tabs" and the buttons will become available. If you're using the other find.. (from the edit menu, or while NOT in the script editor window, hit the keys to bring up search. Type in what you want to search for, then choose where you want to search. (such as in this stack file and its stack files) Click find, and it'll create a list detailing where the string was found. choose one, type in what you want to replace it with and click "replace all" You can probably select more than 1 line to "replace all" at a time but I didn't try it. On Sat, Jul 23, 2016 at 8:05 AM, Richmond wrote: > I have to replace a very large number of instances of > > *uniencode* > > with either *nothing* or a *single space* in a very large number of > > faux buttons in my *Devawriter Pro*, which is currently being > > dragged, "screaming", from *Livecode 4.5* to something a spot more > > up-to-date. > > Cracking open the *Find & Replace* stacklet and entering "uniencode" > > in the *Find* field, and " " in the replace field is rather odd because > > the 'Find' button is visible; but the other 3 buttons: > > 'Find next', 'Replace' and 'Replace all' are greyed out. > > This won't do, will it? > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sat Jul 23 10:24:33 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 23 Jul 2016 17:24:33 +0300 Subject: Find & Replace In-Reply-To: References: <39e3ff34-81fb-df5e-90a3-07d87b42bda0@gmail.com> Message-ID: Bless you! Richmond. On 23.07.2016 17:19, Mike Bonner wrote: > If you're using find and replace in the script editor, when choosing the > source either choose "current tab" or "all tabs" and the buttons will > become available. > > If you're using the other find.. (from the edit menu, or while NOT in the > script editor window, hit the keys to bring up search. > Type in what you want to search for, then choose where you want to search. > (such as in this stack file and its stack files) Click find, and it'll > create a list detailing where the string was found. choose one, type in > what you want to replace it with and click "replace all" > You can probably select more than 1 line to "replace all" at a time but I > didn't try it. > > On Sat, Jul 23, 2016 at 8:05 AM, Richmond > wrote: > >> I have to replace a very large number of instances of >> >> *uniencode* >> >> with either *nothing* or a *single space* in a very large number of >> >> faux buttons in my *Devawriter Pro*, which is currently being >> >> dragged, "screaming", from *Livecode 4.5* to something a spot more >> >> up-to-date. >> >> Cracking open the *Find & Replace* stacklet and entering "uniencode" >> >> in the *Find* field, and " " in the replace field is rather odd because >> >> the 'Find' button is visible; but the other 3 buttons: >> >> 'Find next', 'Replace' and 'Replace all' are greyed out. >> >> This won't do, will it? >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Sat Jul 23 11:01:03 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 23 Jul 2016 15:01:03 +0000 Subject: Understanding the ScriptExecution Error List Message-ID: The dictionary says: "Standard error descriptions are stored in the cErrorsList of the first card of stack "revErrorDisplay". The error-code refers to the line number in this custom property which contains the error description." but the RevErrorDisplay is now a script only stack and I can't find any custom prop on Card 1 as it appears to me the card is dynamically created runtime (interesting example for my future edification!) It looks to me like we have a new storage location, because we see this on lines 24-27 of the revErrorDisplay stacks script: if sLCBErrorCode is empty then # AL-2015-07-07: Calculate LCB error code put lineOffset(kExtensionError, the scriptExecutionErrors) into sLCBErrorCode end if so on hunch based on this statement, since "the scriptExecutionErrors" was not a property of this stack, I thought "hmmm must be an IDE global prop" and ran in the msg box Yes! there was the errorsList, copy and paste to a custom prop in our loader stack and good to go. Now: question: Some lines are blank? is it mission critical that those empty lines be retained if we want to use that list in our own stacks? I assume not because use of LineOffset doesn't really care? but I thought to check Any other caveats on the use of this list. How is the IDE setting a global property like this? One expects to see "the scriptExecutionError of [some object]" BR From richmondmathewson at gmail.com Sat Jul 23 11:06:18 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 23 Jul 2016 18:06:18 +0300 Subject: What I like about Livecode. Message-ID: <1bd4b2bc-ba76-b507-2055-eab14dda551b@gmail.com> http://forums.livecode.com/viewtopic.php?f=5&t=27663 Richmond. From roger.e.eller at sealedair.com Sat Jul 23 11:34:40 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 23 Jul 2016 11:34:40 -0400 Subject: Localized date time won't convert to dateItems In-Reply-To: References: Message-ID: I have an application running on Windows 7. Windows is localized for Spanish language, and resides in Mexico. Convert doesn't work. In their default format, convert VAR to dateItems returns the original unchanged VAR content. This is my workaround. Is there a better way? put "22/07/2016 05:22 p.m." into tMEXdate replace "a.m" with "AM" in tMEXdate replace "p.m" with "PM" in tMEXdate set the itemDel to "/" put item 1 of tMEXdate into tDD put item 2 of tMEXdate into tMM put tMM into item 1 of tMEXdate put tDD into item 2 of tMEXdate -- now it is the same as in USA -- "07/22/2016 05:22 PM" convert tMEXdate to dateItems ~Roger From klaus at major-k.de Sat Jul 23 11:46:08 2016 From: klaus at major-k.de (Klaus major-k) Date: Sat, 23 Jul 2016 17:46:08 +0200 Subject: Localized date time won't convert to dateItems In-Reply-To: References: Message-ID: Hi Roger, > Am 23.07.2016 um 17:34 schrieb Roger Eller : > > I have an application running on Windows 7. Windows is localized for > Spanish language, and resides in Mexico. Convert doesn't work. In their > default format, convert VAR to dateItems returns the original unchanged VAR > content. > > This is my workaround. Is there a better way? > > put "22/07/2016 05:22 p.m." into tMEXdate > replace "a.m" with "AM" in tMEXdate > replace "p.m" with "PM" in tMEXdate > set the itemDel to "/" > put item 1 of tMEXdate into tDD > put item 2 of tMEXdate into tMM > put tMM into item 1 of tMEXdate > put tDD into item 2 of tMEXdate > -- now it is the same as in USA > -- "07/22/2016 05:22 PM" > convert tMEXdate to dateItems don't know if that will work for you, but "usesystemdate" did the trick for a german date: ... set the usesystemdate to TRUE put "Samstag, 23. Juli 2016 17:44" into tDate convert tDate to dateitems put tDate ... -> 2016,7,23,17,44,0,7 > ~Roger Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From hh at hh.on-rev.com Sat Jul 23 11:02:45 2016 From: hh at hh.on-rev.com (-hh) Date: Sat, 23 Jul 2016 08:02:45 -0700 (PDT) Subject: Dictionary: repeat In-Reply-To: References: Message-ID: <1469286165067-4706929.post@n4.nabble.com> Richmond wrote > "not recommended". If someone can explain in > a way that makes reasonable sense ... Predict the result of the following loop and remove or not the "shiftkey-exit": on mouseUp repeat with x = 1 to 20 -- add -1 to x -- not recommended add -4/3 to x -- not recommended put x into fld 1 if the shiftkey is down then exit repeat end repeat end mouseUp "step" is especially useful in that you can do rather `complicated' subdivisions in a very simple way: on mouseUp repeat with x = 1/13 to 1-1/13 step 1/13 put cr & x after s end repeat put char 2 to -1 of s into fld 1 end mouseUp To the *precedence* of step in the repeat syntax see also: http://forums.livecode.com/viewtopic.php?f=8&t=27523 -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Dictionary-repeat-tp4706920p4706929.html Sent from the Revolution - User mailing list archive at Nabble.com. From roger.e.eller at sealedair.com Sat Jul 23 11:51:21 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 23 Jul 2016 11:51:21 -0400 Subject: Localized date time won't convert to dateItems In-Reply-To: References: Message-ID: Thanks Klaus! I will give it a try. ~Roger On Jul 23, 2016 11:46 AM, "Klaus major-k" wrote: > Hi Roger, > > > Am 23.07.2016 um 17:34 schrieb Roger Eller >: > > > > I have an application running on Windows 7. Windows is localized for > > Spanish language, and resides in Mexico. Convert doesn't work. In their > > default format, convert VAR to dateItems returns the original unchanged > VAR > > content. > > > > This is my workaround. Is there a better way? > > > > put "22/07/2016 05:22 p.m." into tMEXdate > > replace "a.m" with "AM" in tMEXdate > > replace "p.m" with "PM" in tMEXdate > > set the itemDel to "/" > > put item 1 of tMEXdate into tDD > > put item 2 of tMEXdate into tMM > > put tMM into item 1 of tMEXdate > > put tDD into item 2 of tMEXdate > > -- now it is the same as in USA > > -- "07/22/2016 05:22 PM" > > convert tMEXdate to dateItems > > don't know if that will work for you, but "usesystemdate" did the trick > for a german date: > ... > set the usesystemdate to TRUE > put "Samstag, 23. Juli 2016 17:44" into tDate > convert tDate to dateitems > put tDate > ... > -> 2016,7,23,17,44,0,7 > > > ~Roger > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Sat Jul 23 11:54:04 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 23 Jul 2016 08:54:04 -0700 Subject: Localized date time won't convert to dateItems In-Reply-To: References: Message-ID: <5793931C.2070504@fourthworld.com> Roger Eller wrote: > I have an application running on Windows 7. Windows is localized for > Spanish language, and resides in Mexico. Convert doesn't work. In > their default format, convert VAR to dateItems returns the original > unchanged VAR content. > > This is my workaround. Is there a better way? > > put "22/07/2016 05:22 p.m." into tMEXdate What format do you get when you run?: set the useSystemDate to false; put the date && the time -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Sat Jul 23 11:58:14 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 23 Jul 2016 18:58:14 +0300 Subject: Dictionary: repeat In-Reply-To: <1469286165067-4706929.post@n4.nabble.com> References: <1469286165067-4706929.post@n4.nabble.com> Message-ID: <5564c408-48be-42ed-d98b-9feca647047d@gmail.com> Erm . . . So what is the difference between: on mouseUp repeat with x = 1 to 20 --do something end repeat end mouseUp & on mouseUp put 1 into x repeat until x > 20 --do something add 1 to x end repeat on mouseUp R. On 23.07.2016 18:02, [-hh] wrote: > Richmond wrote >> "not recommended". If someone can explain in >> a way that makes reasonable sense ... > Predict the result of the following loop and > remove or not the "shiftkey-exit": > > on mouseUp > repeat with x = 1 to 20 > -- add -1 to x -- not recommended > add -4/3 to x -- not recommended > put x into fld 1 > if the shiftkey is down then exit repeat > end repeat > end mouseUp > > "step" is especially useful in that you can do > rather `complicated' subdivisions in a very simple way: > > on mouseUp > repeat with x = 1/13 to 1-1/13 step 1/13 > put cr & x after s > end repeat > put char 2 to -1 of s into fld 1 > end mouseUp > > To the *precedence* of step in the repeat syntax see also: > http://forums.livecode.com/viewtopic.php?f=8&t=27523 > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Dictionary-repeat-tp4706920p4706929.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hh.on-rev.com Sat Jul 23 11:27:51 2016 From: hh at hh.on-rev.com (-hh) Date: Sat, 23 Jul 2016 08:27:51 -0700 (PDT) Subject: Dictionary: repeat In-Reply-To: <5564c408-48be-42ed-d98b-9feca647047d@gmail.com> References: <1469286165067-4706929.post@n4.nabble.com> <5564c408-48be-42ed-d98b-9feca647047d@gmail.com> Message-ID: <1469287671817-4706934.post@n4.nabble.com> The first case is a template where x is an enumerator variable that is increased (or decreased resp.) for you by LC. It is not recommended to act on it because the template is idiot-proof but NOT academic-proof. In the second case x is your local variable that you use as an enumerator. This is even academic-proof. [p.s. I'm academic too.] Richmond wrote > Erm . . . > > So what is the difference between: > > on mouseUp > repeat with x = 1 to 20 > --do something > end repeat > end mouseUp > > & > > on mouseUp > put 1 into x > repeat until x > 20 > --do something > add 1 to x > end repeat > on mouseUp > > R. > > On 23.07.2016 18:02, [-hh] wrote: >> Richmond wrote >>> "not recommended". If someone can explain in >>> a way that makes reasonable sense ... >> Predict the result of the following loop and >> remove or not the "shiftkey-exit": >> >> on mouseUp >> repeat with x = 1 to 20 >> -- add -1 to x -- not recommended >> add -4/3 to x -- not recommended >> put x into fld 1 >> if the shiftkey is down then exit repeat >> end repeat >> end mouseUp >> >> "step" is especially useful in that you can do >> rather `complicated' subdivisions in a very simple way: >> >> on mouseUp >> repeat with x = 1/13 to 1-1/13 step 1/13 >> put cr & x after s >> end repeat >> put char 2 to -1 of s into fld 1 >> end mouseUp >> >> To the *precedence* of step in the repeat syntax see also: >> http://forums.livecode.com/viewtopic.php?f=8&t=27523 >> >> -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Dictionary-repeat-tp4706920p4706934.html Sent from the Revolution - User mailing list archive at Nabble.com. From bonnmike at gmail.com Sat Jul 23 12:12:13 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 23 Jul 2016 10:12:13 -0600 Subject: Dictionary: repeat In-Reply-To: <5564c408-48be-42ed-d98b-9feca647047d@gmail.com> References: <1469286165067-4706929.post@n4.nabble.com> <5564c408-48be-42ed-d98b-9feca647047d@gmail.com> Message-ID: There is no real difference between the 2 (repeat until, repeat with..) but.. if you repeat with x = 1 to 20 add 1 to x -- will only repeat 10 times because the repeat increments 1, and the add increments another -- pretty much the same as appending step 2 end repeat If you were to add -1 rather than 1, the loop would never end. Each repeat iteration adds 1, then its immediately subtracted again.The example from your first post, and the example from your most recent are not the same. On Sat, Jul 23, 2016 at 9:58 AM, Richmond wrote: > Erm . . . > > So what is the difference between: > > on mouseUp > repeat with x = 1 to 20 > --do something > end repeat > end mouseUp > > & > > on mouseUp > put 1 into x > repeat until x > 20 > --do something > add 1 to x > end repeat > on mouseUp > > R. > > > On 23.07.2016 18:02, [-hh] wrote: > >> Richmond wrote >> >>> "not recommended". If someone can explain in >>> a way that makes reasonable sense ... >>> >> Predict the result of the following loop and >> remove or not the "shiftkey-exit": >> >> on mouseUp >> repeat with x = 1 to 20 >> -- add -1 to x -- not recommended >> add -4/3 to x -- not recommended >> put x into fld 1 >> if the shiftkey is down then exit repeat >> end repeat >> end mouseUp >> >> "step" is especially useful in that you can do >> rather `complicated' subdivisions in a very simple way: >> >> on mouseUp >> repeat with x = 1/13 to 1-1/13 step 1/13 >> put cr & x after s >> end repeat >> put char 2 to -1 of s into fld 1 >> end mouseUp >> >> To the *precedence* of step in the repeat syntax see also: >> http://forums.livecode.com/viewtopic.php?f=8&t=27523 >> >> >> >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/Dictionary-repeat-tp4706920p4706929.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sat Jul 23 12:12:59 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 23 Jul 2016 19:12:59 +0300 Subject: Find & Replace In-Reply-To: References: <39e3ff34-81fb-df5e-90a3-07d87b42bda0@gmail.com> Message-ID: <0819aaea-61cb-8a96-e68c-c335c69fd462@gmail.com> Here's a puzzle: I need to replace thousands of lines like this: set the unicodeText of fld "fPROC" to numToCodePoint(57669) with this: put numToCodePoint(57669) into fld "fPROC" the problem is that the number of the codePoint is different in each case. Wildcards? Richmond. From jacque at hyperactivesw.com Sat Jul 23 13:24:23 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 23 Jul 2016 12:24:23 -0500 Subject: Find & Replace In-Reply-To: <0819aaea-61cb-8a96-e68c-c335c69fd462@gmail.com> References: <39e3ff34-81fb-df5e-90a3-07d87b42bda0@gmail.com> <0819aaea-61cb-8a96-e68c-c335c69fd462@gmail.com> Message-ID: <15618c95558.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I wonder if you really need to do that any more. What's the use case? Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 23, 2016 11:13:58 AM Richmond wrote: > Here's a puzzle: > > I need to replace thousands of lines like this: > > set the unicodeText of fld "fPROC" to numToCodePoint(57669) > > with this: > > put numToCodePoint(57669) into fld "fPROC" > > the problem is that the number of the codePoint is different in each case. > > Wildcards? > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Jul 23 13:31:34 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 23 Jul 2016 20:31:34 +0300 Subject: Find & Replace In-Reply-To: <15618c95558.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <39e3ff34-81fb-df5e-90a3-07d87b42bda0@gmail.com> <0819aaea-61cb-8a96-e68c-c335c69fd462@gmail.com> <15618c95558.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: The problem is that the stack using "set the unicodeText of fld "fPROC" to numToCodePoint(57669)" doesn't work. Tests with "put numToCodePoint(57669) into fld "fPROC"" do work. That's enough of a "case" for me. Richmond. On 23.07.2016 20:24, J. Landman Gay wrote: > I wonder if you really need to do that any more. What's the use case? > > > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > On July 23, 2016 11:13:58 AM Richmond > wrote: > >> Here's a puzzle: >> >> I need to replace thousands of lines like this: >> >> set the unicodeText of fld "fPROC" to numToCodePoint(57669) >> >> with this: >> >> put numToCodePoint(57669) into fld "fPROC" >> >> the problem is that the number of the codePoint is different in each >> case. >> >> Wildcards? >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hh.on-rev.com Sat Jul 23 12:52:31 2016 From: hh at hh.on-rev.com (-hh) Date: Sat, 23 Jul 2016 09:52:31 -0700 (PDT) Subject: Find & Replace In-Reply-To: <0819aaea-61cb-8a96-e68c-c335c69fd462@gmail.com> References: <39e3ff34-81fb-df5e-90a3-07d87b42bda0@gmail.com> <0819aaea-61cb-8a96-e68c-c335c69fd462@gmail.com> Message-ID: <1469292751127-4706939.post@n4.nabble.com> A simple (quick and dirty) non-regex solution (use LC 7 or LC 8) on mouseUp put replaceMyThings(fld 1) into fld 2 end mouseUp function replaceMyThings LL set itemdelimiter to "set the unicodeText of fld "& \ quote&"fPROC""e&" to numToCodePoint(" repeat for each line L in LL put item 2 of L into L2 if L2 is empty then put cr & L after MM else put cr & "put numToCodePoint(" & L2 & \ " into fld ""e&"fPROC""e after MM end if end repeat return char 2 to -1 of MM end replaceMyThings Richmond wrote > Here's a puzzle: > > I need to replace thousands of lines like this: > > set the unicodeText of fld "fPROC" to numToCodePoint(57669) > > with this: > > put numToCodePoint(57669) into fld "fPROC" > > the problem is that the number of the codePoint is different in each case. > > Wildcards? > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at .runrev > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Find-Replace-tp4706922p4706939.html Sent from the Revolution - User mailing list archive at Nabble.com. From hh at hh.on-rev.com Sat Jul 23 12:55:48 2016 From: hh at hh.on-rev.com (-hh) Date: Sat, 23 Jul 2016 09:55:48 -0700 (PDT) Subject: Find & Replace In-Reply-To: <1469292751127-4706939.post@n4.nabble.com> References: <39e3ff34-81fb-df5e-90a3-07d87b42bda0@gmail.com> <0819aaea-61cb-8a96-e68c-c335c69fd462@gmail.com> <1469292751127-4706939.post@n4.nabble.com> Message-ID: <1469292948699-4706940.post@n4.nabble.com> Nabble interprets somehow the chars "q u o t". So replace the rubbish around "fProc". -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Find-Replace-tp4706922p4706940.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Sat Jul 23 13:47:18 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 23 Jul 2016 20:47:18 +0300 Subject: Find & Replace In-Reply-To: <1469292751127-4706939.post@n4.nabble.com> References: <39e3ff34-81fb-df5e-90a3-07d87b42bda0@gmail.com> <0819aaea-61cb-8a96-e68c-c335c69fd462@gmail.com> <1469292751127-4706939.post@n4.nabble.com> Message-ID: <56bb2822-d32b-6db0-76e9-a5d0a7daf799@gmail.com> That looks good: but as I have a vast number of controls to work through that is still going to be extremely tedious. Livecode's "Find & Replace" does that is seconds through my stack, with its millions of lines of code. If I open the "Find & Replace" dialog from inside a script windows I get a different Finf & Replace stack to the revSearch stack I get outwith a scriptEditor. This one has an extremely cryptic check button at the bottom entitled "Wildcard" with no explanation at all. I am clinging to this like a drowning man, not even knowing quite why I am clinging to it . . . Richmond. On 23.07.2016 19:52, [-hh] wrote: > A simple (quick and dirty) non-regex solution (use LC 7 or LC 8) > > on mouseUp > put replaceMyThings(fld 1) into fld 2 > end mouseUp > > function replaceMyThings LL > set itemdelimiter to "set the unicodeText of fld "& \ > quote&"fPROC""e&" to numToCodePoint(" > repeat for each line L in LL > put item 2 of L into L2 > if L2 is empty then put cr & L after MM > else > put cr & "put numToCodePoint(" & L2 & \ > " into fld ""e&"fPROC""e after MM > end if > end repeat > return char 2 to -1 of MM > end replaceMyThings > > > Richmond wrote >> Here's a puzzle: >> >> I need to replace thousands of lines like this: >> >> set the unicodeText of fld "fPROC" to numToCodePoint(57669) >> >> with this: >> >> put numToCodePoint(57669) into fld "fPROC" >> >> the problem is that the number of the codePoint is different in each case. >> >> Wildcards? >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at .runrev >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Find-Replace-tp4706922p4706939.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Jul 23 13:51:17 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 23 Jul 2016 20:51:17 +0300 Subject: Wildcard Livecode 8 Message-ID: Looking up 'Wildcard' in the online Livecode Dictionary (because the 64-bit Linux version is non-functional) one gets this: > wildcard > > name > wildcard > type > glossary > synonyms > wild card,wildcard,wildcard expression,glob,globbing,globbed,globular > expansion,globular expression > Related > glossary: character > description > > A symbol that stands for one or more characters . > The process of expanding a wildcard to match all its possible strings > is called globbing (after "global"). > Which tells me nothing useful whatsoever; such as what the wildcard character might be, or how to use wildcards in Livecode. Richmond. From hh at hh.on-rev.com Sat Jul 23 13:14:09 2016 From: hh at hh.on-rev.com (-hh) Date: Sat, 23 Jul 2016 10:14:09 -0700 (PDT) Subject: Find & Replace In-Reply-To: <56bb2822-d32b-6db0-76e9-a5d0a7daf799@gmail.com> References: <39e3ff34-81fb-df5e-90a3-07d87b42bda0@gmail.com> <0819aaea-61cb-8a96-e68c-c335c69fd462@gmail.com> <1469292751127-4706939.post@n4.nabble.com> <56bb2822-d32b-6db0-76e9-a5d0a7daf799@gmail.com> Message-ID: <1469294049195-4706943.post@n4.nabble.com> Richmond: > but as I have a vast number of controls to work through > that is still going to be extremely tedious One click? on mouseUp repeat ... stacks ... repeat ... cards of stack repeat ... parts of card replaceMyThings(the script of part ...) end repeat end repeat end repeat end mouseUp The function has a performance 2Mbyte/second. No? You could try to use matchText ... -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Find-Replace-tp4706922p4706943.html Sent from the Revolution - User mailing list archive at Nabble.com. From dochawk at gmail.com Sat Jul 23 14:05:09 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 23 Jul 2016 11:05:09 -0700 Subject: "after after" for behaviors? Message-ID: I am trying to implement a generalized behavior that triggers after the entire execution path, rather than after the immediate script, but before the next script in the path. Actually, having control return to a handler after "pass someHandler" would also solve my issues. A control might be clicked on, or text entered in a field, and so forth, that triggers handlers that set values and dependent values. I would like a group that owns such controls to be able to take actions *after* all such calculations. So if someone enters "foo" in field "bar", the closeField handler currently figures out what to do with that value, and anything that depends. Similarly if I click on my custom checkboxes, the mouse handler does similar calculations. I want another handler to run *after* all such things--but if I have an "after closeField" in the behavior, it simply runs after closeField, but before closeFIeld gets passed. And as near as I can tell, even without a closeField handler for the object or group, the after closeField still gets called prior to working its way up. Is there a solution other than what would be ugly hacks at the end of my closeField and mouseUp handlers? (they would be ugly because it would be properties of the group that need to be accessed, and the control could be a child, grandchild, etc. of the actual group [which is why I want the behavior to belong to the group]). The "least ugly" idea I have so far is something like concluding the universal closeField with "send aftrClsFld to the target" -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bonnmike at gmail.com Sat Jul 23 14:25:56 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 23 Jul 2016 12:25:56 -0600 Subject: Find & Replace In-Reply-To: <1469294049195-4706943.post@n4.nabble.com> References: <39e3ff34-81fb-df5e-90a3-07d87b42bda0@gmail.com> <0819aaea-61cb-8a96-e68c-c335c69fd462@gmail.com> <1469292751127-4706939.post@n4.nabble.com> <56bb2822-d32b-6db0-76e9-a5d0a7daf799@gmail.com> <1469294049195-4706943.post@n4.nabble.com> Message-ID: If it will still work using "set" rather than "put.. into.." replace unicodetext with text so that this: set the unicodeText of fld "fPROC" to numToCodePoint(57669) becomes this: set the Text of fld "fPROC" to numToCodePoint(57669) Don't know if it will work, but it seems that if you can just put numocodepoint(blah) into.. that setting the text should work too. On Sat, Jul 23, 2016 at 11:14 AM, [-hh] wrote: > Richmond: > > but as I have a vast number of controls to work through > > that is still going to be extremely tedious > > One click? > > on mouseUp > repeat ... stacks ... > repeat ... cards of stack > repeat ... parts of card > replaceMyThings(the script of part ...) > end repeat > end repeat > end repeat > end mouseUp > > The function has a performance 2Mbyte/second. > > No? You could try to use matchText ... > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Find-Replace-tp4706922p4706943.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Sat Jul 23 14:40:57 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 23 Jul 2016 13:40:57 -0500 Subject: Find & Replace In-Reply-To: References: <39e3ff34-81fb-df5e-90a3-07d87b42bda0@gmail.com> <0819aaea-61cb-8a96-e68c-c335c69fd462@gmail.com> <15618c95558.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <156190f6ac0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> What I'm getting at is that generally you shouldn't need to do any unicode conversions at all anymore. So it would help to know how you are using the command and in what context. There isn't a need to specify unicode text, you can just treat everything the way we use plain ASCII. So, what does the script do? Does the field already contain text? Is it generating new text? The script editor supports unicode so you can just type the actual characters into the script if that's what you need to do. If this is for Devawriter, you should be able to name the keyboard keys with their unicode character and then insert text with a single line of code: put the short name of me into the selection Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 23, 2016 12:33:21 PM Richmond wrote: > The problem is that the stack using "set the unicodeText of fld "fPROC" > to numToCodePoint(57669)" > > doesn't work. > > Tests with "put numToCodePoint(57669) into fld "fPROC"" do work. > > That's enough of a "case" for me. > > Richmond. > > > On 23.07.2016 20:24, J. Landman Gay wrote: >> I wonder if you really need to do that any more. What's the use case? >> >> >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> >> On July 23, 2016 11:13:58 AM Richmond >> wrote: >> >>> Here's a puzzle: >>> >>> I need to replace thousands of lines like this: >>> >>> set the unicodeText of fld "fPROC" to numToCodePoint(57669) >>> >>> with this: >>> >>> put numToCodePoint(57669) into fld "fPROC" >>> >>> the problem is that the number of the codePoint is different in each >>> case. >>> >>> Wildcards? >>> >>> Richmond. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Jul 23 15:20:03 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 23 Jul 2016 22:20:03 +0300 Subject: Find & Replace In-Reply-To: References: <39e3ff34-81fb-df5e-90a3-07d87b42bda0@gmail.com> <0819aaea-61cb-8a96-e68c-c335c69fd462@gmail.com> <1469292751127-4706939.post@n4.nabble.com> <56bb2822-d32b-6db0-76e9-a5d0a7daf799@gmail.com> <1469294049195-4706943.post@n4.nabble.com> Message-ID: Yes; that really does solve a serious problem as all I have to do is go through searching for 'unicodeText' and replacing all the instances with 'text'. Thanks a million. Richmond. On 23.07.2016 21:25, Mike Bonner wrote: > If it will still work using "set" rather than "put.. into.." > replace unicodetext with text > so that this: set the unicodeText of fld "fPROC" to numToCodePoint(57669) > becomes this: set the Text of fld "fPROC" to numToCodePoint(57669) > Don't know if it will work, but it seems that if you can just put > numocodepoint(blah) into.. that setting the text should work too. > > On Sat, Jul 23, 2016 at 11:14 AM, [-hh] wrote: > >> Richmond: >>> but as I have a vast number of controls to work through >>> that is still going to be extremely tedious >> One click? >> >> on mouseUp >> repeat ... stacks ... >> repeat ... cards of stack >> repeat ... parts of card >> replaceMyThings(the script of part ...) >> end repeat >> end repeat >> end repeat >> end mouseUp >> >> The function has a performance 2Mbyte/second. >> >> No? You could try to use matchText ... >> >> >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/Find-Replace-tp4706922p4706943.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Sat Jul 23 15:26:53 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 23 Jul 2016 21:26:53 +0200 Subject: Localized date time won't convert to dateItems In-Reply-To: References: Message-ID: <7F78A2C6-47E1-4FCB-B4A4-B364DD11567A@m-r-d.de> did you try with the parameter from... convert tDate from ?. to dateitems where the parameter after from is the source date format. e.g. put the system date into tDate convert tDate from system date to dateitems. I remember that i had a similar problem when working with system dates which were not ?english?. Regards, Matthias > Am 23.07.2016 um 17:34 schrieb Roger Eller : > > I have an application running on Windows 7. Windows is localized for > Spanish language, and resides in Mexico. Convert doesn't work. In their > default format, convert VAR to dateItems returns the original unchanged VAR > content. > > This is my workaround. Is there a better way? > > put "22/07/2016 05:22 p.m." into tMEXdate > replace "a.m" with "AM" in tMEXdate > replace "p.m" with "PM" in tMEXdate > set the itemDel to "/" > put item 1 of tMEXdate into tDD > put item 2 of tMEXdate into tMM > put tMM into item 1 of tMEXdate > put tDD into item 2 of tMEXdate > -- now it is the same as in USA > -- "07/22/2016 05:22 PM" > convert tMEXdate to dateItems > > ~Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Jul 23 15:31:16 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 23 Jul 2016 22:31:16 +0300 Subject: Find & Replace In-Reply-To: <156190f6ac0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <39e3ff34-81fb-df5e-90a3-07d87b42bda0@gmail.com> <0819aaea-61cb-8a96-e68c-c335c69fd462@gmail.com> <15618c95558.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <156190f6ac0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: On 23.07.2016 21:40, J. Landman Gay wrote: > What I'm getting at is that generally you shouldn't need to do any > unicode conversions at all anymore. So it would help to know how you > are using the command and in what context. There isn't a need to > specify unicode text, you can just treat everything the way we use > plain ASCII. > > So, what does the script do? Does the field already contain text? Is > it generating new text? The script editor supports unicode so you can > just type the actual characters into the script if that's what you > need to do. > > If this is for Devawriter, you should be able to name the keyboard > keys with their unicode character and then insert text with a single > line of code: > > put the short name of me into the selection > Ha, Ha, Ha: Sanskrit when written in Devanagari employs thousands of glyphs called "conjunct consonants" which are composed of constituent consonants in a consonantal cluster: so my Devawriter does "all the clever knitting". http://www.omniglot.com/writing/devanagari.htm If Devanagari were as simple as "put the short name of me into the selection" the whole thing would have been completed in a month instead of 4 years of my spare time. I have similar programs fro Glagolitic, Old Church Slavonic and Gothic that took me about 2 days each. Richmond. > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > On July 23, 2016 12:33:21 PM Richmond > wrote: > >> The problem is that the stack using "set the unicodeText of fld "fPROC" >> to numToCodePoint(57669)" >> >> doesn't work. >> >> Tests with "put numToCodePoint(57669) into fld "fPROC"" do work. >> >> That's enough of a "case" for me. >> >> Richmond. >> >> >> On 23.07.2016 20:24, J. Landman Gay wrote: >>> I wonder if you really need to do that any more. What's the use case? >>> >>> >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> >>> >>> On July 23, 2016 11:13:58 AM Richmond >>> wrote: >>> >>>> Here's a puzzle: >>>> >>>> I need to replace thousands of lines like this: >>>> >>>> set the unicodeText of fld "fPROC" to numToCodePoint(57669) >>>> >>>> with this: >>>> >>>> put numToCodePoint(57669) into fld "fPROC" >>>> >>>> the problem is that the number of the codePoint is different in each >>>> case. >>>> >>>> Wildcards? >>>> >>>> Richmond. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Jul 23 15:50:32 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 23 Jul 2016 22:50:32 +0300 Subject: Find & Replace In-Reply-To: <156190f6ac0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <39e3ff34-81fb-df5e-90a3-07d87b42bda0@gmail.com> <0819aaea-61cb-8a96-e68c-c335c69fd462@gmail.com> <15618c95558.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <156190f6ac0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <385afcc9-a977-2d09-8987-abd8b885a1a4@gmail.com> Stick this one out to about 5 mins 40 seconds and things get really "nasty": https://www.youtube.com/watch?v=sbKEEYeDLyc Richmond. On 23.07.2016 21:40, J. Landman Gay wrote: > What I'm getting at is that generally you shouldn't need to do any > unicode conversions at all anymore. So it would help to know how you > are using the command and in what context. There isn't a need to > specify unicode text, you can just treat everything the way we use > plain ASCII. > > So, what does the script do? Does the field already contain text? Is > it generating new text? The script editor supports unicode so you can > just type the actual characters into the script if that's what you > need to do. > > If this is for Devawriter, you should be able to name the keyboard > keys with their unicode character and then insert text with a single > line of code: > > put the short name of me into the selection > > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > On July 23, 2016 12:33:21 PM Richmond > wrote: > >> The problem is that the stack using "set the unicodeText of fld "fPROC" >> to numToCodePoint(57669)" >> >> doesn't work. >> >> Tests with "put numToCodePoint(57669) into fld "fPROC"" do work. >> >> That's enough of a "case" for me. >> >> Richmond. >> >> >> On 23.07.2016 20:24, J. Landman Gay wrote: >>> I wonder if you really need to do that any more. What's the use case? >>> >>> >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> >>> >>> On July 23, 2016 11:13:58 AM Richmond >>> wrote: >>> >>>> Here's a puzzle: >>>> >>>> I need to replace thousands of lines like this: >>>> >>>> set the unicodeText of fld "fPROC" to numToCodePoint(57669) >>>> >>>> with this: >>>> >>>> put numToCodePoint(57669) into fld "fPROC" >>>> >>>> the problem is that the number of the codePoint is different in each >>>> case. >>>> >>>> Wildcards? >>>> >>>> Richmond. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Jul 23 16:33:08 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 23 Jul 2016 15:33:08 -0500 Subject: Understanding the ScriptExecution Error List In-Reply-To: References: Message-ID: On 7/23/2016 10:01 AM, Sannyasin Brahmanathaswami wrote: > so on hunch based on this statement, since "the > scriptExecutionErrors" was not a property of this stack, I thought > "hmmm must be an IDE global prop" and ran in the msg box > > Yes! there was the errorsList, copy and paste to a custom prop in our > loader stack and good to go. > > Now: question: Some lines are blank? is it mission critical that > those empty lines be retained if we want to use that list in our own > stacks? I assume not because use of LineOffset doesn't really care? > but I thought to check > > Any other caveats on the use of this list. How is the IDE setting a > global property like this? One expects to see "the > scriptExecutionError of [some object]" Good catch, this change also breaks the Error Lookup stack that Richard and I made some time ago. I'm not sure when the scriptExecutionErrors was implemented, but it is also there in LC 7.x so apparently it's been around for a while. My guess is that it's an undocumented function in the engine. I'll update our lookup stack to use it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Sat Jul 23 16:45:58 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 23 Jul 2016 13:45:58 -0700 Subject: Understanding the ScriptExecution Error List In-Reply-To: References: Message-ID: <6e69485e-d1e2-a3dd-dfac-2e18c11beb25@fourthworld.com> J. Landman Gay wrote: > Good catch, this change also breaks the Error Lookup stack that > Richard and I made some time ago. I'm not sure when the > scriptExecutionErrors was implemented, but it is also there in > LC 7.x so apparently it's been around for a while. > > My guess is that it's an undocumented function in the engine. I'll > update our lookup stack to use it. Thanks, Jacque. In your copious free time would you be able to update the MetaCard Setup stack as well? It seems it's not working well with v8. If you don't have time no worries, I can get to it sooner or later. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Sat Jul 23 17:03:10 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 23 Jul 2016 16:03:10 -0500 Subject: Find & Replace In-Reply-To: References: <39e3ff34-81fb-df5e-90a3-07d87b42bda0@gmail.com> <0819aaea-61cb-8a96-e68c-c335c69fd462@gmail.com> <15618c95558.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <156190f6ac0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <955f0c16-cba4-79dd-5021-c5b357690049@hyperactivesw.com> On 7/23/2016 2:31 PM, Richmond wrote: > Ha, Ha, Ha: Sanskrit when written in Devanagari employs thousands of > glyphs called "conjunct > consonants" which are composed of constituent consonants in a > consonantal cluster: so my > Devawriter does "all the clever knitting". Ah, I see. Okay. Well at least I provided some laughs. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brahma at hindu.org Sat Jul 23 17:04:45 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 23 Jul 2016 21:04:45 +0000 Subject: Initializing Libraries Message-ID: <5380E212-633D-4AD0-A529-815C2A0702F3@hindu.org> I'm still struggling with the initialization of text only stacks/libs into the message path A few questions. 1) if the extension of the text only stack is ".livecode" then you can boot that into the IDE or use GO or "start using" but if you use ".livecodescript" as the extension. then you can't actually open it in the IDE by double clicking. I not that the livecode IDE uses ".livecodescript" for behaviors is there a best practices concept here that may help us? What has the team discovered and "why" 2) we are doing stuff like this now? I think this maybe creating problems, the thought was, the "someTextOnlyStack.livecode" should be brought into ram by "Go" and only then can you insert it into the back or frontscript. From my review of the RevIDE stacks? I think this may be a misconception? OTOH: this does open those stacks in the IDE if you like to edit there? private command _initializeDependencies lock screen // load libraries repeat for each key x in sConfigA["libraries"] put sConfigA["libraries"][x] into tLibrary logInfo"Loading library" && tLibrary start using (getPathForSharedLibraries() & tLibrary) end repeat // load behavior stacks // be aware that those stacks are just loaded but not applied. repeat for each key x in sConfigA["behaviors"] put sConfigA["behaviors"][x] into tStackPath put token -1 of tStackPath into tStackName replace ".livecode" with empty in tStackName logInfo"Loading behavior" && tStackPath go stack (getPathForSharedLibraries() & tStackPath) end repeat // load backscripts repeat for each key x in sConfigA["backscripts"] put sConfigA["backscripts"][x] into tStackPath put token -1 of tStackPath into tStackName replace ".livecode" with empty in tStackName logInfo"Loading backscript" && tStackPath go stack (getPathForSharedLibraries() & tStackPath) insert the script of stack tStackName into back end repeat // load frontscripts repeat for each key x in sConfigA["frontscripts"] put sConfigA["frontscripts"][x] into tStackPath put token -1 of tStackPath into tStackName replace ".livecode" with empty in tStackName logInfo"Loading frontscript" && tStackPath go stack (getPathForSharedLibraries() & tStackPath) insert the script of stack tStackName into front end repeat end _initializeDependencies From jacque at hyperactivesw.com Sat Jul 23 17:29:37 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 23 Jul 2016 16:29:37 -0500 Subject: Initializing Libraries In-Reply-To: <5380E212-633D-4AD0-A529-815C2A0702F3@hindu.org> References: <5380E212-633D-4AD0-A529-815C2A0702F3@hindu.org> Message-ID: On 7/23/2016 4:04 PM, Sannyasin Brahmanathaswami wrote: > ) if the extension of the text only stack is ".livecode" then you can > boot that into the IDE or use GO or "start using" > > but if you use ".livecodescript" as the extension. then you can't > actually open it in the IDE by double clicking. > > I not that the livecode IDE uses ".livecodescript" for behaviors > > is there a best practices concept here that may help us? What has > the team discovered and "why" This is an OS association. On Mac, use the Get Info window on any livecodescript stack and "open with" the version of LC you're using. Click the checkbox to apply that association to all files of that type. > 2) > > we are doing stuff like this now? I think this maybe creating > problems, the thought was, the "someTextOnlyStack.livecode" should be > brought into ram by "Go" and only then can you insert it into the > back or frontscript. From my review of the RevIDE stacks? I think > this may be a misconception? OTOH: this does open those stacks in the > IDE if you like to edit there? Any reference to "stack" will load it into RAM, you don't need "go". File paths to stacks act like containers, just like any other stack. You can do anything to the file path that you can do with a stack that is already in RAM; the action will load the stack before applying the action. You're already doing this for "start using". You can do the same for behaviors, front and back scripts, etc.: insert the script of stack tStackPath into front set the behavior of btn x to the long ID of stack tStackPath start using stack tStackPath get the cMyProp of stack tStackPath Your example handler mentions that behaviors are loaded but not applied. In that case you can avoid "go" by just getting any property of the stack, like it's short name, which will load it into RAM but not place it into the message path: get the short name of stack tStackPath -- loads the stack into RAM -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Jul 23 17:31:43 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 23 Jul 2016 16:31:43 -0500 Subject: Understanding the ScriptExecution Error List In-Reply-To: <6e69485e-d1e2-a3dd-dfac-2e18c11beb25@fourthworld.com> References: <6e69485e-d1e2-a3dd-dfac-2e18c11beb25@fourthworld.com> Message-ID: <8793cd6c-5509-fff7-6f95-0e65b733a2ca@hyperactivesw.com> On 7/23/2016 3:45 PM, Richard Gaskin wrote: > In your copious free time would you be able to update the MetaCard Setup > stack as well? Is anyone still using that? Didn't we EOL it? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Jul 23 17:48:59 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 23 Jul 2016 16:48:59 -0500 Subject: Understanding the ScriptExecution Error List In-Reply-To: References: Message-ID: <0eb06fd8-ed79-5f12-1bc9-781ffa21447a@hyperactivesw.com> On 7/23/2016 3:33 PM, J. Landman Gay wrote: > I'm not sure when the scriptExecutionErrors was implemented, but it is > also there in LC 7.x so apparently it's been around for a while. > > My guess is that it's an undocumented function in the engine. I'll > update our lookup stack to use it. The scriptExecutionErrors is also in LC 6.x, btw. I've updated the LC Error Lookup stack. The revision has been uploaded to the user Sample Stacks online. Replace your existing copy with this new one. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Sat Jul 23 18:00:53 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 23 Jul 2016 15:00:53 -0700 Subject: Understanding the ScriptExecution Error List In-Reply-To: <8793cd6c-5509-fff7-6f95-0e65b733a2ca@hyperactivesw.com> References: <8793cd6c-5509-fff7-6f95-0e65b733a2ca@hyperactivesw.com> Message-ID: J. Landman Gay wrote: > On 7/23/2016 3:45 PM, Richard Gaskin wrote: >> In your copious free time would you be able to update the MetaCard >> Setup stack as well? > > Is anyone still using that? Didn't we EOL it? I'm not sure anyone ever declared it officially dead, but since the former maintainers haven't updated it in years and no one's complained since I suppose that tells us all we need to know about whether it's worth updating. :) In my case I used it twice last year to handle migration of some very old data in stacks that were dependent on MC IDE stacks. Yesterday I ran MetaCard Setup just to see if it would work in v8, and was surprised it didn't; seems something changed in the boot sequence since v6.x where I last ran it successfully. My only current interest is as a possible foundation for folks to use to make other tools from. If made into a plugin it would bypass the need for a completely separate install, and since it's licensed under MIT it's compatible with both the Community and proprietary editions of LC. But I think the licensing is about all it has going for it. The UI is so spartan and lacking support for gradients, graphic effects, etc., that it may be simpler to build a completely new UI from scratch than to money with what's there. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From monte at appisle.net Sat Jul 23 18:12:02 2016 From: monte at appisle.net (Monte Goulding) Date: Sun, 24 Jul 2016 07:42:02 +0930 Subject: Understanding the ScriptExecution Error List In-Reply-To: References: Message-ID: It has been around for a long time but it is only in the IDE and server engines so if you need the list in a standalone you should copy it in your savingStandalone script. The empty lines should be maintained otherwise the error line number won't match the right line. Cheers Monte Sent from my iPhone > On 24 Jul 2016, at 6:03 AM, J. Landman Gay wrote: > > My guess is that it's an undocumented function in the engine. I'll update our lookup stack to use it. From monte at appisle.net Sat Jul 23 18:29:21 2016 From: monte at appisle.net (Monte Goulding) Date: Sun, 24 Jul 2016 07:59:21 +0930 Subject: UN-FullScreen a Stack? In-Reply-To: <57937958.9080802@fourthworld.com> References: <479c3fe3-da49-7c9c-9370-2d268617a852@gmail.com> <57937958.9080802@fourthworld.com> Message-ID: <89F4B067-9D28-4174-B7BD-30BBB65ABCCE@appisle.net> Support for deprecation (at least in a consistent and visually obvious way) has only just been added to the dictionary. If anyone would like to contribute to adding depredation notes to the lcdoc files they are quite welcome! Cheers Monte Sent from my iPhone > On 23 Jul 2016, at 11:34 PM, Richard Gaskin wrote: > > With LC v8.0 and later the property is now officially deprecated, though I'm not sure why that isn't noted in the v8.1 Dictionary. From ambassador at fourthworld.com Sat Jul 23 18:34:14 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 23 Jul 2016 15:34:14 -0700 Subject: UN-FullScreen a Stack? In-Reply-To: <89F4B067-9D28-4174-B7BD-30BBB65ABCCE@appisle.net> References: <89F4B067-9D28-4174-B7BD-30BBB65ABCCE@appisle.net> Message-ID: <881a282f-c567-fb36-39ad-c98f5be14bd8@fourthworld.com> Monte Goulding wrote: > Support for deprecation (at least in a consistent and visually > obvious way) has only just been added to the dictionary. If anyone > would like to contribute to adding depredation notes to the lcdoc > files they are quite welcome! Thank, Monte. Fortunately it's so rare that a language token becomes deprecated that it's not much of an issue. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Sat Jul 23 21:58:26 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 23 Jul 2016 18:58:26 -0700 Subject: Understanding the ScriptExecution Error List In-Reply-To: <0eb06fd8-ed79-5f12-1bc9-781ffa21447a@hyperactivesw.com> References: <0eb06fd8-ed79-5f12-1bc9-781ffa21447a@hyperactivesw.com> Message-ID: <579420C2.5070803@ahsoftware.net> On 07/23/2016 02:48 PM, J. Landman Gay wrote: > The scriptExecutionErrors is also in LC 6.x, btw. > > I've updated the LC Error Lookup stack. The revision has been uploaded > to the user Sample Stacks online. Replace your existing copy with this > new one. > I don't quite know when the change happened, but I modified the lookup in PowerDebug quite a while ago to grab the global property, with a fallback to use the stack property if the global is empty, so that way it's backward compatible. -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Sun Jul 24 01:16:02 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 24 Jul 2016 00:16:02 -0500 Subject: Understanding the ScriptExecution Error List In-Reply-To: <579420C2.5070803@ahsoftware.net> References: <0eb06fd8-ed79-5f12-1bc9-781ffa21447a@hyperactivesw.com> <579420C2.5070803@ahsoftware.net> Message-ID: <1561b54de50.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On July 23, 2016 9:00:34 PM Mark Wieder wrote: > On 07/23/2016 02:48 PM, J. Landman Gay wrote: > >> The scriptExecutionErrors is also in LC 6.x, btw. >> >> I've updated the LC Error Lookup stack. The revision has been uploaded >> to the user Sample Stacks online. Replace your existing copy with this >> new one. >> > > I don't quite know when the change happened, but I modified the lookup > in PowerDebug quite a while ago to grab the global property, with a > fallback to use the stack property if the global is empty, so that way > it's backward compatible. Yeah, that's what I did too. The stack is saved in 2.7 format also for compatibility with any version. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sun Jul 24 03:38:39 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 24 Jul 2016 10:38:39 +0300 Subject: Find & Replace In-Reply-To: <955f0c16-cba4-79dd-5021-c5b357690049@hyperactivesw.com> References: <39e3ff34-81fb-df5e-90a3-07d87b42bda0@gmail.com> <0819aaea-61cb-8a96-e68c-c335c69fd462@gmail.com> <15618c95558.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <156190f6ac0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <955f0c16-cba4-79dd-5021-c5b357690049@hyperactivesw.com> Message-ID: Sanskrit is a non-stop laugh a minute; especially if you have a warped mind and enjoy recherche grammatical features. Richmond. On 24.07.2016 00:03, J. Landman Gay wrote: > On 7/23/2016 2:31 PM, Richmond wrote: >> Ha, Ha, Ha: Sanskrit when written in Devanagari employs thousands of >> glyphs called "conjunct >> consonants" which are composed of constituent consonants in a >> consonantal cluster: so my >> Devawriter does "all the clever knitting". > > Ah, I see. Okay. Well at least I provided some laughs. ;) > From richmondmathewson at gmail.com Sun Jul 24 03:39:25 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 24 Jul 2016 10:39:25 +0300 Subject: UN-FullScreen a Stack? In-Reply-To: <89F4B067-9D28-4174-B7BD-30BBB65ABCCE@appisle.net> References: <479c3fe3-da49-7c9c-9370-2d268617a852@gmail.com> <57937958.9080802@fourthworld.com> <89F4B067-9D28-4174-B7BD-30BBB65ABCCE@appisle.net> Message-ID: <938c4415-1b89-e084-92b3-956e19b344ee@gmail.com> "depredation" . . . Yum! R. On 24.07.2016 01:29, Monte Goulding wrote: > Support for deprecation (at least in a consistent and visually obvious way) has only just been added to the dictionary. If anyone would like to contribute to adding depredation notes to the lcdoc files they are quite welcome! > > Cheers > > Monte > > Sent from my iPhone > >> On 23 Jul 2016, at 11:34 PM, Richard Gaskin wrote: >> >> With LC v8.0 and later the property is now officially deprecated, though I'm not sure why that isn't noted in the v8.1 Dictionary. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Jul 24 05:24:58 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 24 Jul 2016 12:24:58 +0300 Subject: LiveCode changes its name back to Runtime Revolution Message-ID: <0631614a-d8e9-c0eb-3779-02fcec56f1ae@gmail.com> Presumably: Bug # *18073* Amazing how long this has been overlooked. Tsk, tsk. Richmond. From richmondmathewson at gmail.com Sun Jul 24 05:30:02 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 24 Jul 2016 12:30:02 +0300 Subject: 8.0.1 standalone builder being a bit silly Message-ID: <6eadccf7-3c1b-c641-aa41-862506070d11@gmail.com> The 8.0.1 standalone builder includes a copy of the source stack in the folders of standalones it generates on (X)ubuntu 64-bit. *Bug # 18074* Richmond. From merakosp at gmail.com Sun Jul 24 07:16:43 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Sun, 24 Jul 2016 14:16:43 +0300 Subject: LiveCode changes its name back to Runtime Revolution In-Reply-To: <0631614a-d8e9-c0eb-3779-02fcec56f1ae@gmail.com> References: <0631614a-d8e9-c0eb-3779-02fcec56f1ae@gmail.com> Message-ID: Hi Richmond, This is fixed in LC 8.1 dp1 Best, Panos On 24 Jul 2016 10:25, "Richmond" wrote: > Presumably: Bug # *18073* > > Amazing how long this has been overlooked. > > Tsk, tsk. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From merakosp at gmail.com Sun Jul 24 07:19:52 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Sun, 24 Jul 2016 14:19:52 +0300 Subject: 8.0.1 standalone builder being a bit silly In-Reply-To: <6eadccf7-3c1b-c641-aa41-862506070d11@gmail.com> References: <6eadccf7-3c1b-c641-aa41-862506070d11@gmail.com> Message-ID: Hi Richmond, This is already reported and it will be fixed in 8.1 dp3. I *think* it happens only if you build for multiple platforms at one go. Best, Panos On 24 Jul 2016 10:30, "Richmond" wrote: > The 8.0.1 standalone builder includes a copy of the source stack in the > folders of standalones > > it generates on (X)ubuntu 64-bit. > > *Bug # 18074* > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sun Jul 24 07:38:08 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 24 Jul 2016 14:38:08 +0300 Subject: LiveCode changes its name back to Runtime Revolution In-Reply-To: References: <0631614a-d8e9-c0eb-3779-02fcec56f1ae@gmail.com> Message-ID: <2052d78f-0c18-ae2e-3c11-c20cd224092c@gmail.com> Super! R. On 24.07.2016 14:16, panagiotis merakos wrote: > Hi Richmond, > This is fixed in LC 8.1 dp1 > Best, > Panos > On 24 Jul 2016 10:25, "Richmond" wrote: > >> Presumably: Bug # *18073* >> >> Amazing how long this has been overlooked. >> >> Tsk, tsk. >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Jul 24 07:39:09 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 24 Jul 2016 14:39:09 +0300 Subject: 8.0.1 standalone builder being a bit silly In-Reply-To: References: <6eadccf7-3c1b-c641-aa41-862506070d11@gmail.com> Message-ID: I did indeed build for Linux-32, Linux-64, Windows and MacTel all at once. Sorry for being "greedy". Richmond. On 24.07.2016 14:19, panagiotis merakos wrote: > Hi Richmond, > > This is already reported and it will be fixed in 8.1 dp3. I *think* it > happens only if you build for multiple platforms at one go. > > Best, > Panos > On 24 Jul 2016 10:30, "Richmond" wrote: > >> The 8.0.1 standalone builder includes a copy of the source stack in the >> folders of standalones >> >> it generates on (X)ubuntu 64-bit. >> >> *Bug # 18074* >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revolution at derbrill.de Sun Jul 24 08:18:01 2016 From: revolution at derbrill.de (Malte Brill) Date: Sun, 24 Jul 2016 14:18:01 +0200 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: References: Message-ID: I tried to follow this thread as closely as I can, however there are some things still not clear to me regarding TEXT ONLY scripts. This is in regards to the fora and this very list. If we are discussing scripts on here, how are we to judge if the person replying used a community version and thus making the script viral or not. I think we need a clear statement on what happens to snippets posted here and over at the fora, otherwise? THIS WAS WRITTEN IN THE COMMUNITY VERSION!!! ? all your script are belong to us on mouseUp end mouseUp on mouseDown end mouseDown on mouseMove end mouseMove on touchStart end touchStart ? pwned??? Cheers, Malte From richmondmathewson at gmail.com Sun Jul 24 10:00:10 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 24 Jul 2016 17:00:10 +0300 Subject: propertyNames Message-ID: <127be908-fc4d-72dd-6593-85ef53af5a57@gmail.com> Does anyone know why when I run this: on mouseUp put the propertyNames of btn "SuperTab" end mouseUp while a long list ends up in the messageBox the IDE "throws a bluey" and states: "button "Button": execution error at line 2 (Handler: can't find handler) near "of", char 12 and if I try this: on mouseUp put the propertyNames of btn "SuperTab" into fld "XYZ" end mouseUp nothing appears in the field at all? Richmond. From bonnmike at gmail.com Sun Jul 24 10:30:57 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 24 Jul 2016 08:30:57 -0600 Subject: propertyNames In-Reply-To: <127be908-fc4d-72dd-6593-85ef53af5a57@gmail.com> References: <127be908-fc4d-72dd-6593-85ef53af5a57@gmail.com> Message-ID: It should error on both, and probably shouldn't display the list on the first. the propertynames returns a list of engine wide properties, and (unless this has changed in a recent dp) can't be confined to an object. (meaning it doesn't know what to do with the object reference) Hopefully catching this sort of error (and the associated message) will become more reliable and consistent as versions progress. On Sun, Jul 24, 2016 at 8:00 AM, Richmond wrote: > Does anyone know why when I run this: > > on mouseUp > put the propertyNames of btn "SuperTab" > end mouseUp > > while a long list ends up in the messageBox > > the IDE "throws a bluey" and states: > > "button "Button": execution error at line 2 (Handler: can't find handler) > near "of", char 12 > > and if I try this: > > on mouseUp > put the propertyNames of btn "SuperTab" into fld "XYZ" > end mouseUp > > nothing appears in the field at all? > > Richmond. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Sun Jul 24 12:15:26 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 24 Jul 2016 11:15:26 -0500 Subject: propertyNames In-Reply-To: <127be908-fc4d-72dd-6593-85ef53af5a57@gmail.com> References: <127be908-fc4d-72dd-6593-85ef53af5a57@gmail.com> Message-ID: <1561db09130.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> What you want is "the properties of obj" which does take an object reference. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 24, 2016 9:02:04 AM Richmond wrote: > Does anyone know why when I run this: > > on mouseUp > put the propertyNames of btn "SuperTab" > end mouseUp > > while a long list ends up in the messageBox > > the IDE "throws a bluey" and states: > > "button "Button": execution error at line 2 (Handler: can't find > handler) near "of", char 12 > > and if I try this: > > on mouseUp > put the propertyNames of btn "SuperTab" into fld "XYZ" > end mouseUp > > nothing appears in the field at all? > > Richmond. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Sun Jul 24 12:30:36 2016 From: sundown at pacifier.com (JB) Date: Sun, 24 Jul 2016 09:30:36 -0700 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: References: Message-ID: <2217748F-32E4-4B6D-BE28-5A80D1EE84C1@pacifier.com> If that were the case Apple and Microsoft would own everything used on their code and OS. The bigger issues is can the community version be used to compile a project like the the commercial version and the answer is yes it can plus others are allowed to use the code they purchased to run a business similar to Livecode and charge like them or give it away. The standards of what can be done with the code purchased are being set by example of Livecode and how they uses the same code. If they fight this in court and lose then it is possible the ruling will say nobody is allowed to compile the code or charge a license fee and that could result in everyone being refunded their license fee. John Balgenorth > On Jul 24, 2016, at 5:18 AM, Malte Brill wrote: > > I tried to follow this thread as closely as I can, however there are some things still not clear to me regarding TEXT ONLY scripts. This is in regards to the fora and this very list. If we are discussing scripts on here, how are we to judge if the person replying used a community version and thus making the script viral or not. I think we need a clear statement on what happens to snippets posted here and over at the fora, otherwise? > > THIS WAS WRITTEN IN THE COMMUNITY VERSION!!! > > > ? all your script are belong to us > > on mouseUp > > end mouseUp > > on mouseDown > > end mouseDown > > on mouseMove > > end mouseMove > > on touchStart > > end touchStart > > ? pwned??? > > Cheers, > > Malte > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Sun Jul 24 12:57:30 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 24 Jul 2016 09:57:30 -0700 Subject: UN-FullScreen a Stack? In-Reply-To: <938c4415-1b89-e084-92b3-956e19b344ee@gmail.com> References: <479c3fe3-da49-7c9c-9370-2d268617a852@gmail.com> <57937958.9080802@fourthworld.com> <89F4B067-9D28-4174-B7BD-30BBB65ABCCE@appisle.net> <938c4415-1b89-e084-92b3-956e19b344ee@gmail.com> Message-ID: <5794F37A.5010105@ahsoftware.net> On 07/24/2016 12:39 AM, Richmond wrote: > "depredation" . . . Yum! Yeah, I was gonna let that pass. Figured somebody else would follow up on it. Ah... the wonders of mobile phone autocorrect. -- Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Sun Jul 24 12:58:34 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 24 Jul 2016 09:58:34 -0700 Subject: UN-FullScreen a Stack? In-Reply-To: <938c4415-1b89-e084-92b3-956e19b344ee@gmail.com> References: <479c3fe3-da49-7c9c-9370-2d268617a852@gmail.com> <57937958.9080802@fourthworld.com> <89F4B067-9D28-4174-B7BD-30BBB65ABCCE@appisle.net> <938c4415-1b89-e084-92b3-956e19b344ee@gmail.com> Message-ID: <5794F3BA.7030206@ahsoftware.net> On 07/24/2016 12:39 AM, Monte wrote: > Sent from my iPhone -- Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Sun Jul 24 13:27:12 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 24 Jul 2016 20:27:12 +0300 Subject: propertyNames In-Reply-To: <1561db09130.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <127be908-fc4d-72dd-6593-85ef53af5a57@gmail.com> <1561db09130.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: So: on mouseUp put the properties of btn "SuperTab" end mouseUp gives me nothing at all. Richmond. On 24.07.2016 19:15, J. Landman Gay wrote: > What you want is "the properties of obj" which does take an object > reference. > > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > On July 24, 2016 9:02:04 AM Richmond wrote: > >> Does anyone know why when I run this: >> >> on mouseUp >> put the propertyNames of btn "SuperTab" >> end mouseUp >> >> while a long list ends up in the messageBox >> >> the IDE "throws a bluey" and states: >> >> "button "Button": execution error at line 2 (Handler: can't find >> handler) near "of", char 12 >> >> and if I try this: >> >> on mouseUp >> put the propertyNames of btn "SuperTab" into fld "XYZ" >> end mouseUp >> >> nothing appears in the field at all? >> >> Richmond. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From peter.brett at livecode.com Sun Jul 24 13:31:15 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Sun, 24 Jul 2016 18:31:15 +0100 Subject: propertyNames In-Reply-To: References: <127be908-fc4d-72dd-6593-85ef53af5a57@gmail.com> <1561db09130.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: On 24/07/2016 18:27, Richmond wrote: > So: > > on mouseUp > put the properties of btn "SuperTab" > end mouseUp > > gives me nothing at all. It's an array. Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From richmondmathewson at gmail.com Sun Jul 24 13:43:08 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 24 Jul 2016 20:43:08 +0300 Subject: propertyNames In-Reply-To: References: <127be908-fc4d-72dd-6593-85ef53af5a57@gmail.com> <1561db09130.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <0d42742c-9622-efb0-6adf-0d25b84f2728@gmail.com> Indeed it is, and I'm half asleep. If I put the array into a variable, how do I get the components on the array into the lines of a listField? Richmond. On 24.07.2016 20:31, Peter TB Brett wrote: > On 24/07/2016 18:27, Richmond wrote: >> So: >> >> on mouseUp >> put the properties of btn "SuperTab" >> end mouseUp >> >> gives me nothing at all. > > It's an array. > > Peter > From peter.brett at livecode.com Sun Jul 24 13:56:10 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Sun, 24 Jul 2016 18:56:10 +0100 Subject: propertyNames In-Reply-To: <0d42742c-9622-efb0-6adf-0d25b84f2728@gmail.com> References: <127be908-fc4d-72dd-6593-85ef53af5a57@gmail.com> <1561db09130.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0d42742c-9622-efb0-6adf-0d25b84f2728@gmail.com> Message-ID: <12bee9a8-c05d-4716-2349-c894b3f077ce@livecode.com> On 24/07/2016 18:43, Richmond wrote: > Indeed it is, and I'm half asleep. > > If I put the array into a variable, how do I get the components on the > array > > into the lines of a listField? put the keys of (the properties of button "SuperTab") into Peter > > On 24.07.2016 20:31, Peter TB Brett wrote: >> On 24/07/2016 18:27, Richmond wrote: >>> So: >>> >>> on mouseUp >>> put the properties of btn "SuperTab" >>> end mouseUp >>> >>> gives me nothing at all. >> >> It's an array. >> >> Peter >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From richmondmathewson at gmail.com Sun Jul 24 14:03:03 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 24 Jul 2016 21:03:03 +0300 Subject: constraining Grab Message-ID: <776c9fb3-7d00-5492-3f4d-d436bd8398f4@gmail.com> I would like to be able to GRAM something on a card but constrain its movement so it could only slide laterally . . . Richmond. From richmondmathewson at gmail.com Sun Jul 24 14:03:36 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 24 Jul 2016 21:03:36 +0300 Subject: propertyNames In-Reply-To: <12bee9a8-c05d-4716-2349-c894b3f077ce@livecode.com> References: <127be908-fc4d-72dd-6593-85ef53af5a57@gmail.com> <1561db09130.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0d42742c-9622-efb0-6adf-0d25b84f2728@gmail.com> <12bee9a8-c05d-4716-2349-c894b3f077ce@livecode.com> Message-ID: <1934801f-379a-8ecc-364e-edbb39425c0d@gmail.com> Thanks, and sorry for spoiling your Sunday evening. Richmond. On 24.07.2016 20:56, Peter TB Brett wrote: > On 24/07/2016 18:43, Richmond wrote: >> Indeed it is, and I'm half asleep. >> >> If I put the array into a variable, how do I get the components on the >> array >> >> into the lines of a listField? > > put the keys of (the properties of button "SuperTab") into > > Peter > >> >> On 24.07.2016 20:31, Peter TB Brett wrote: >>> On 24/07/2016 18:27, Richmond wrote: >>>> So: >>>> >>>> on mouseUp >>>> put the properties of btn "SuperTab" >>>> end mouseUp >>>> >>>> gives me nothing at all. >>> >>> It's an array. >>> >>> Peter >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Sun Jul 24 14:16:18 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 24 Jul 2016 14:16:18 -0400 Subject: constraining Grab In-Reply-To: <776c9fb3-7d00-5492-3f4d-d436bd8398f4@gmail.com> References: <776c9fb3-7d00-5492-3f4d-d436bd8398f4@gmail.com> Message-ID: Is this something you do every 4 years? lol http://runtime-revolution.278305.n4.nabble.com/Constrained-grab-td4316798.html#a4317035 On Jul 24, 2016 2:03 PM, "Richmond" wrote: > I would like to be able to GRAM something on a card but constrain its > movement so it could only slide > > laterally . . . > > Richmond. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brahma at hindu.org Sun Jul 24 15:51:08 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 24 Jul 2016 19:51:08 +0000 Subject: Dismiss Browser Widget on Mobile Message-ID: a) create card 1? call it TOC or whatever b) put one button, Go to Card 2 c) create card 2 with a browser widget with a preset URL d) top of screen, have a button for "go to card 1" e) go to card 2.. Widget runs the web page, lovely.. f) click the button to go to cd 1 Results -- on desktop: you simply move to card 1, card 2 plus browser widget "disappear" as expected. -- on iOS, you move to card 1.. the browser window persists on top of card 1, I think this may happen on android as well. I believe this relates to mobile controls establishing a "region" that floats over the stack. In the case of scrollers, one is advised to explicitly delete the scroller as you move to other views. But in the dictionary, the API for the browser does not offer command to "dismiss" the browser widget. Any clues? short of deleting it on the fly and creating it on the fly? like we do with scrollers? meanwhile my next test is to see if you make it in an independents stack and close the stack? see if it then goes away? but this is a nuisance? and also doesn't cover other use cases where, for example you might want to, say on card 4 of a stack, use 1/3 of the bottom of the card for a browser window that is integrated into the UI design. When you move to cd 2 or cd 5 in that stack we really need the browser to go away. BR From bonnmike at gmail.com Sun Jul 24 16:47:30 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 24 Jul 2016 14:47:30 -0600 Subject: Dismiss Browser Widget on Mobile In-Reply-To: References: Message-ID: Does setting the visible of widget "browser" to false work? On Sun, Jul 24, 2016 at 1:51 PM, Sannyasin Brahmanathaswami < brahma at hindu.org> wrote: > a) create card 1? call it TOC or whatever > b) put one button, Go to Card 2 > c) create card 2 with a browser widget with a preset URL > d) top of screen, have a button for "go to card 1" > e) go to card 2.. Widget runs the web page, lovely.. > f) click the button to go to cd 1 > > Results > -- on desktop: you simply move to card 1, card 2 plus browser widget > "disappear" as expected. > -- on iOS, you move to card 1.. the browser window persists on top of > card 1, I think this may happen on android as well. > > I believe this relates to mobile controls establishing a "region" that > floats over the stack. In the case of scrollers, one is advised to > explicitly delete the scroller as you move to other views. > > But in the dictionary, the API for the browser does not offer command to > "dismiss" the browser widget. > > Any clues? short of deleting it on the fly and creating it on the fly? > like we do with scrollers? > > meanwhile my next test is to see if you make it in an independents stack > and close the stack? see if it then goes away? > > but this is a nuisance? and also doesn't cover other use cases where, for > example you might want to, say on card 4 of a stack, use 1/3 of the bottom > of the card for a browser window that is integrated into the UI design. > When you move to cd 2 or cd 5 in that stack we really need the browser to > go away. > > BR > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Sun Jul 24 16:59:41 2016 From: monte at appisle.net (Monte Goulding) Date: Mon, 25 Jul 2016 06:59:41 +1000 Subject: UN-FullScreen a Stack? In-Reply-To: <5794F3BA.7030206@ahsoftware.net> References: <479c3fe3-da49-7c9c-9370-2d268617a852@gmail.com> <57937958.9080802@fourthworld.com> <89F4B067-9D28-4174-B7BD-30BBB65ABCCE@appisle.net> <938c4415-1b89-e084-92b3-956e19b344ee@gmail.com> <5794F3BA.7030206@ahsoftware.net> Message-ID: <3ABA0CD1-C158-4D0D-AF5E-97366E9AC282@appisle.net> > On 25 Jul 2016, at 2:58 AM, Mark Wieder wrote: > > On 07/24/2016 12:39 AM, Monte wrote: > >> Sent from my iPhone > > I know how to change it Mark but thanks for your help. I don?t change it because I have fat fingers that always end up causing the typos that are now the topic of conversation here ;-) Cheers Monte From brahma at hindu.org Sun Jul 24 23:56:54 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 25 Jul 2016 03:56:54 +0000 Subject: Initializing Libraries In-Reply-To: References: <5380E212-633D-4AD0-A529-815C2A0702F3@hindu.org> Message-ID: <73C363F7-E512-4B05-92B4-2C1C586B6991@hindu.org> True: you can make the file association on hour mac (document/application binding) for .livecodescript/Livecode but LC handles it differently lf you use just use someStack.livecode when you open the "stack" (script only) it actually instantiates a window in the IDE that you can then do cmd-K and it auto opens the script. if you double click on the someStack.livecodescript from the finder, it *does* now appear in the open windows (hence it must be in RAM) but there is no stack window as such in the IDE for a .livecodescript stack?so I'm unable to edit this from inside the IDE. This presents a caveat (I think) if you were to edit that stack on disk? there is no way to ensure the stack by the same name in the IDE has the new code. I could be wrong, but open from disk someStack.livecodescript ? now in RAM edit someSTack.LiveCodescript with text editor? your changes are not live. this was causing me a lot of grief? so I changed them to ".livecode" and now open them in the IDE, edit and save.. and now, the code in RAM for that stack is also getting a live update. Because all open stack that have that backscript( for an example) can access any new handlers or changes you just made? But this does not appear to be the case when you edit a .livecodescript on disk. This is a bit of a snakepit? one day I'll get it all sorted. A guide would be great. POINT/QUESTION: Your list: insert the script of stack tStackPath into front set the behavior of btn x to the long ID of stack tStackPath start using stack tStackPath get the cMyProp of stack tStackPath is very useful? but if you have already done any of these and then edit the script only stack on disk? what is the status of that change? Does the IDE know about the change? I don't think so. On think I know for sure? if you edit a file on disk while you have that somestack.livecode open in the ID.. then save the stack open in the ID, it does wipe out your edits on disk? ergo, I'm pretty sure editing on disk will *not* be recognized by the ID? BR (still fumbling badly to find best practices?.) ------------- On 7/23/16, 11:29 AM, "use-livecode on behalf of J. Landman Gay" wrote: >but if you use ".livecodescript" as the extension. then you can't >actually open it in the IDE by double clicking. > >I not that the livecode IDE uses ".livecodescript" for behaviors > >is there a best practices concept here that may help us? What has >the team discovered and "why" This is an OS association. On Mac, use the Get Info window on any livecodescript stack and "open with" the version of LC you're using. Click the checkbox to apply that association to all files of that type. From brahma at hindu.org Mon Jul 25 01:03:51 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 25 Jul 2016 05:03:51 +0000 Subject: openBackground ID in Behavior Script Message-ID: I put this into a behavior for a group on a card on openBackground (the id of me) set the blendlevel of btn "home-logo" to 0 send hideLogo to me in 1 second end openBackground But the script editor flags the opening line with: compilation error at line 4 (Handler: not a valid parameter name) near "(", char 4 put I put farther down the behavior on mouseup put the id of me end mouseup and click on the group it returns the ID of the group to which the behavior is assigned. What am I missing? Why won't LC evaluate (the id of me) as a param? even if I hard wire the ID just as a test.. on openBackground 1076 set the blendlevel of btn "home-logo" to 0 send hideLogo to me in 1 second end openBackground I get the same error msg compilation error at line 4 (Handler: not a valid parameter name) near "1076", char 4 According to the dictionary, this should work. BR From peter.brett at livecode.com Mon Jul 25 04:27:50 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 25 Jul 2016 09:27:50 +0100 Subject: [ANN] Updates to LiveCode's platform support policy In-Reply-To: <65158BEB-180F-4A20-B4FF-E504F4CAA820@madmansoft.com> References: <8F25F595-5727-40F7-BEC7-73F5468D12AC@gmail.com> <65158BEB-180F-4A20-B4FF-E504F4CAA820@madmansoft.com> Message-ID: <63b17018-ee3a-414c-22a7-81c7899cc799@livecode.com> On 22/07/2016 01:58, Stephen MacLean wrote: > While I understand why you might want to limit support to ?released? > OSes, I would say that LC needs to checking against each ?early? > release, looking for issues and checking for new features that might > be supported. LC should take bug reports against these early releases > and, while maybe not acting right away on them, making sure that as > they approach release status, those bugs get fixed. Hi Stephen, Sorry for not replying to you earlier. You'll be pleased to hear that we already do this to the greatest extent that we are able. Best regards, Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ From richmondmathewson at gmail.com Mon Jul 25 05:32:39 2016 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 25 Jul 2016 12:32:39 +0300 Subject: Slip, sliding away Message-ID: I made a loooong rectangular image (3 times wider than my stack) and grouped it into a group the width of my stack and gave it a horizontal scrollbar; so I can scroll the image laterally using the scrollbar . . . surprise, surprise; and jolly s*xy it looks too. I would look even s*xier if it had NO scrollbar and I could do some sort of 'constrained grab'/scroll by doing a mouseDown & horizontal drag on the image within the group. Does anyone know how to do this. Just to stimulate interest, the reason is that I want to do this sort of thing in Livecode: http://www.stefanv.com/calculators/aristo970/index.html Richmond. From peter.brett at livecode.com Mon Jul 25 05:49:30 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 25 Jul 2016 10:49:30 +0100 Subject: [ANN] This Week in LiveCode 43 Message-ID: <85a1614d-2f4a-6e73-862a-70f977019cf4@livecode.com> Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #43 here: https://goo.gl/MNxKjs This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! Are you doing something interesting with LiveCode Community Edition? Please get in touch and get it featured in "This Week in LiveCode"! Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode on reddit: https://reddit.com/r/livecode From mark at sorcery-ltd.co.uk Mon Jul 25 06:03:45 2016 From: mark at sorcery-ltd.co.uk (Mark Wilcox) Date: Mon, 25 Jul 2016 11:03:45 +0100 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: References: <1469129556.1041224.672948729.1B09137A@webmail.messagingengine.com> <1469181127.1999263.673619337.4A5596EF@webmail.messagingengine.com> Message-ID: <1469441025.4068092.675778113.64C189FE@webmail.messagingengine.com> Hi Kevin & Richard, Thanks for engaging so positively with this discussion. Let me start by saying that I'm very much on the side of LiveCode succeeding and want to help not just complain from the sidelines. Open source licensing FUD tends to make my blood boil a little, although leaving that aside, I think this from Richard is absolutely the right starting point: > If your project's goal is to share source code the GPL-governed > Community Edition can be a good choice, and for any other goals the > proprietary license as we've always had is available as well. I think where the current licensing interpretation goes wrong is that it effectively creates two completely separate LiveCode communities, one using the Community Edition which has to license everything under the GPL and another using the commercial version which mostly cannot or will not touch anything licensed under the GPL. Given the explicit move towards an extensible architecture and widgets because LiveCode the company cannot possibly cater to the needs of all users, and the community needs to take the product forward in some directions, this seems like a terrible outcome. Unfortunately I can't make it to Edinburgh for the conference this year, otherwise I'd love to take you up on that whiskey-fuelled debate. I have some ideas for how to improve this but I don't want to use the list to build support for anything that might not be workable for the company, so I'll send them separately off-list. I must just comment on the approach to the GPL licensing, which I see as a classic example of the FUD approach that annoys me so much. > A few comments on the statements below though. Firstly, the article Mark > helpfully references is based on USA law. LiveCode is based in the UK. > There isn?t the same concept of ?fair use? over here, and various other > aspects of copyright law are different. It would be hard to say that the > statements in that article, if correct in the USA (and as I say they > haven?t been tested) would apply here. The fact the copyright law is different all over the world and the right jurisdiction for a copyright dispute is not always clear is another can of worms entirely. However, most people discuss the GPL in terms of US copyright law because that is largely what it was designed around. The US has one of the broadest copyright protections in the world, almost any copying at all is potentially copyright infringement and fair use is then similarly broadly defined in order to mitigate that. While it's true that in the UK we have fair dealing, which is much narrower than US fair use, the scope of what use is restricted in the first place is much narrower. So, under UK fair dealing, the only infringing use of LiveCode copyright that would likely be allowed is non-commercial research or study. However, UK copyright infringement requires much more substantial copying to take place and case law tends to focus on direct competition in the marketplace for smaller amounts of copying - e.g. if someone's app doesn't directly compete with LiveCode itself and only includes small portions of the code, then it's probably not considered copyright infringement at all. This is because copyright was never intended to prevent people from taking someone else's work and building on it to create new creative works. US copyright law got a bit lost here. From this perspective it's good that LiveCode has so many users in the US, where US copyright law could be applied. I believe German copyright law is much more like US copyright law than UK law too. Within the EU, you can bring a case in any country where the infringing software is accessible I believe - that might be helpful pre-Brexit. :) Simply saying, it's different and hard to say if the same would apply is classic uncertainty and doubt sowing, when the people releasing the code under a certain license should be trying to remove as much uncertainty and doubt amongst users as possible. Particularly when the license itself is as complex and controversial as the GPL. > Secondly, LiveCode is very different from Wordpress. Stacks are executable > binaries that incorporate aspects of the engine. That's even more the case > now when they start to use and include widgets. There isn?t a good > comparison with other text based languages. I personally doubt our script > only components are GPL, but as I?ve said this hasn?t been tested in court > and its not up to me. That LiveCode is different from WordPress is true. Also that a stackfile is more likely to be derivative (or at least subject to copyleft) than a WordPress plugin is also something I'd agree with - as you say - particularly if it includes widgets. However, what I don't like is the "it's not up to me" line. Although interpretation of the law is ultimately down to a judge (or possibly jury), that court test is pretty unlikely to happen. In the absence of an official ruling, it's up to the copyright holder more than anyone else. Only the copyright holder can enforce copyright, so they can also be clear about what they consider acceptable use and what likely to be infringement that they might choose to take legal action against. If they don't do that in writing, then there's no cover for users in the situation where someone else ends up owning the copyright in the future (as Google now face with Sun having encouraged proliferation of Java then been acquired by Oracle). Like I say, I want to help and I understand that genuine legal advice in this area is both expensive and extremely unlikely to be conclusive anyway. I'll send some more constructive thoughts off-list as soon as I get the time. Mark From hh at hh.on-rev.com Mon Jul 25 05:53:07 2016 From: hh at hh.on-rev.com (-hh) Date: Mon, 25 Jul 2016 02:53:07 -0700 (PDT) Subject: Slip, sliding away In-Reply-To: References: Message-ID: <1469440387146-4706997.post@n4.nabble.com> Script your grouped image with the following. local iAmDragged=false on mouseDown set lockloc of me to true put the loc of me into iL put item 1 of iL into i1 put item 2 of iL into i2 lock cursor; set cursor to hand put true into iAmDragged dragMeInGrp i1,i2,the mouseH-i1,the mouseV-i2 end mouseDown on dragMeInGrp L1,L2,dx,dy if not iAmDragged then exit dragMeInGrp if the shiftkey is down then -- drag only horizontal set loc of me to (-dx+the mouseH,L2) else if the optionkey is down then -- drag only vertical set loc of me to (L1,-dy+the mouseV) else -- drag in both directions set loc of me to (-dx+the mouseH,-dy+the mouseV) end if send "dragMeInGrp L1,L2,dx,dy" to me in 8 millisecs end dragMeInGrp on mouseUp unlock cursor; put false into iAmDragged end mouseUp on mouseRelease mouseUp end mouseRelease Richmond wrote > I made a loooong rectangular image (3 times wider than my stack) and > grouped it > > into a group the width of my stack and gave it a horizontal scrollbar; > so I can scroll the image > > laterally using the scrollbar . . . surprise, surprise; and jolly s*xy > it looks too. > > I would look even s*xier if it had NO scrollbar and I could do some sort > of > > 'constrained grab'/scroll by doing a mouseDown & horizontal drag on the > image within the group. > > > Does anyone know how to do this. > > Just to stimulate interest, the reason is that I want to do this sort of > thing > > in Livecode: http://www.stefanv.com/calculators/aristo970/index.html > > Richmond. > > > _______________________________________________ > use-livecode mailing list > use-livecode at .runrev > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Slip-sliding-away-tp4706994p4706997.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Mon Jul 25 07:00:54 2016 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 25 Jul 2016 14:00:54 +0300 Subject: Slip, sliding away In-Reply-To: <1469440387146-4706997.post@n4.nabble.com> References: <1469440387146-4706997.post@n4.nabble.com> Message-ID: <98da84e4-b8b5-536f-54aa-dfabe24f08b3@gmail.com> That's super; but it does seem a long-winded way to do things. I wonder if I cannot use scrollBarDrag in some way? R. On 25.07.2016 12:53, [-hh] wrote: > Script your grouped image with the following. > > local iAmDragged=false > > on mouseDown > set lockloc of me to true > put the loc of me into iL > put item 1 of iL into i1 > put item 2 of iL into i2 > lock cursor; set cursor to hand > put true into iAmDragged > dragMeInGrp i1,i2,the mouseH-i1,the mouseV-i2 > end mouseDown > > on dragMeInGrp L1,L2,dx,dy > if not iAmDragged then exit dragMeInGrp > if the shiftkey is down then -- drag only horizontal > set loc of me to (-dx+the mouseH,L2) > else if the optionkey is down then -- drag only vertical > set loc of me to (L1,-dy+the mouseV) > else -- drag in both directions > set loc of me to (-dx+the mouseH,-dy+the mouseV) > end if > send "dragMeInGrp L1,L2,dx,dy" to me in 8 millisecs > end dragMeInGrp > > on mouseUp > unlock cursor; put false into iAmDragged > end mouseUp > > on mouseRelease > mouseUp > end mouseRelease > > > Richmond wrote >> I made a loooong rectangular image (3 times wider than my stack) and >> grouped it >> >> into a group the width of my stack and gave it a horizontal scrollbar; >> so I can scroll the image >> >> laterally using the scrollbar . . . surprise, surprise; and jolly s*xy >> it looks too. >> >> I would look even s*xier if it had NO scrollbar and I could do some sort >> of >> >> 'constrained grab'/scroll by doing a mouseDown & horizontal drag on the >> image within the group. >> >> >> Does anyone know how to do this. >> >> Just to stimulate interest, the reason is that I want to do this sort of >> thing >> >> in Livecode: http://www.stefanv.com/calculators/aristo970/index.html >> >> Richmond. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at .runrev >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Slip-sliding-away-tp4706994p4706997.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Jul 25 07:42:08 2016 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 25 Jul 2016 14:42:08 +0300 Subject: Slip, sliding away In-Reply-To: <1469440387146-4706997.post@n4.nabble.com> References: <1469440387146-4706997.post@n4.nabble.com> Message-ID: Constrained grab? R. On 25.07.2016 12:53, [-hh] wrote: > Script your grouped image with the following. > > local iAmDragged=false > > on mouseDown > set lockloc of me to true > put the loc of me into iL > put item 1 of iL into i1 > put item 2 of iL into i2 > lock cursor; set cursor to hand > put true into iAmDragged > dragMeInGrp i1,i2,the mouseH-i1,the mouseV-i2 > end mouseDown > > on dragMeInGrp L1,L2,dx,dy > if not iAmDragged then exit dragMeInGrp > if the shiftkey is down then -- drag only horizontal > set loc of me to (-dx+the mouseH,L2) > else if the optionkey is down then -- drag only vertical > set loc of me to (L1,-dy+the mouseV) > else -- drag in both directions > set loc of me to (-dx+the mouseH,-dy+the mouseV) > end if > send "dragMeInGrp L1,L2,dx,dy" to me in 8 millisecs > end dragMeInGrp > > on mouseUp > unlock cursor; put false into iAmDragged > end mouseUp > > on mouseRelease > mouseUp > end mouseRelease > > > Richmond wrote >> I made a loooong rectangular image (3 times wider than my stack) and >> grouped it >> >> into a group the width of my stack and gave it a horizontal scrollbar; >> so I can scroll the image >> >> laterally using the scrollbar . . . surprise, surprise; and jolly s*xy >> it looks too. >> >> I would look even s*xier if it had NO scrollbar and I could do some sort >> of >> >> 'constrained grab'/scroll by doing a mouseDown & horizontal drag on the >> image within the group. >> >> >> Does anyone know how to do this. >> >> Just to stimulate interest, the reason is that I want to do this sort of >> thing >> >> in Livecode: http://www.stefanv.com/calculators/aristo970/index.html >> >> Richmond. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at .runrev >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Slip-sliding-away-tp4706994p4706997.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Jul 25 08:00:29 2016 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 25 Jul 2016 15:00:29 +0300 Subject: Slip, sliding away In-Reply-To: <1469440387146-4706997.post@n4.nabble.com> References: <1469440387146-4706997.post@n4.nabble.com> Message-ID: Stupid Richmond: on mouseDown set the idleRate to 0 grab me end mouseDown on mouseStillDown set the loc of me to (item 1 of the loc of me, 133) end mouseStillDown http://lists.runrev.com/pipermail/use-livecode/2012-January/166949.html Now: how does one prevent the 'wobble'? Richmond. From smaclean at madmansoft.com Mon Jul 25 08:09:50 2016 From: smaclean at madmansoft.com (Stephen MacLean) Date: Mon, 25 Jul 2016 08:09:50 -0400 Subject: [ANN] Updates to LiveCode's platform support policy In-Reply-To: <63b17018-ee3a-414c-22a7-81c7899cc799@livecode.com> References: <8F25F595-5727-40F7-BEC7-73F5468D12AC@gmail.com> <65158BEB-180F-4A20-B4FF-E504F4CAA820@madmansoft.com> <63b17018-ee3a-414c-22a7-81c7899cc799@livecode.com> Message-ID: > On Jul 25, 2016, at 4:27 AM, Peter TB Brett wrote: > > On 22/07/2016 01:58, Stephen MacLean wrote: > >> While I understand why you might want to limit support to ?released? >> OSes, I would say that LC needs to checking against each ?early? >> release, looking for issues and checking for new features that might >> be supported. LC should take bug reports against these early releases >> and, while maybe not acting right away on them, making sure that as >> they approach release status, those bugs get fixed. > > Hi Stephen, > > Sorry for not replying to you earlier. > > You'll be pleased to hear that we already do this to the greatest extent that we are able. > > Best regards, > > Peter > > Hi Peter, Thanks for the response and glad to hear it!! Best, Steve MacLean From paul at researchware.com Mon Jul 25 08:54:05 2016 From: paul at researchware.com (Paul Dupuis) Date: Mon, 25 Jul 2016 08:54:05 -0400 Subject: Slip, sliding away In-Reply-To: References: Message-ID: <57960BED.70003@researchware.com> Put the following in the script of the image that is inside the scrolling group. You may also want to change the cursor to a hand on mouseDown on mouseDown set the hMin of me to 0 set the hPos of me to item 1 of the mouseLoc set the hMax of me to the width of me end mouseDown on mouseStillDown get item 1 of the mouseloc put (the hPos of me - it) into tDelta set the hPos of me to it get the hScroll of the owner of me add tDelta to it if it < the hMin of me then put 0 into it if it > the hMax of me then put the hMax of me into it set the hScroll of the owner of me to it end mouseStillDown On 7/25/2016 5:32 AM, Richmond wrote: > I made a loooong rectangular image (3 times wider than my stack) and > grouped it > > into a group the width of my stack and gave it a horizontal scrollbar; > so I can scroll the image > > laterally using the scrollbar . . . surprise, surprise; and jolly s*xy > it looks too. > > I would look even s*xier if it had NO scrollbar and I could do some > sort of > > 'constrained grab'/scroll by doing a mouseDown & horizontal drag on > the image within the group. > > > Does anyone know how to do this. > > Just to stimulate interest, the reason is that I want to do this sort > of thing > > in Livecode: http://www.stefanv.com/calculators/aristo970/index.html > > Richmond. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Mon Jul 25 08:54:21 2016 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 25 Jul 2016 15:54:21 +0300 Subject: Slip, sliding away In-Reply-To: <1469440387146-4706997.post@n4.nabble.com> References: <1469440387146-4706997.post@n4.nabble.com> Message-ID: <29b7246e-62db-b82c-1de3-58510360e159@gmail.com> See daft effort here: http://forums.livecode.com/viewtopic.php?f=7&t=27672 Richmond. From irog at mac.com Mon Jul 25 09:22:20 2016 From: irog at mac.com (Roger Guay) Date: Mon, 25 Jul 2016 06:22:20 -0700 Subject: Slip, sliding away In-Reply-To: <29b7246e-62db-b82c-1de3-58510360e159@gmail.com> References: <1469440387146-4706997.post@n4.nabble.com> <29b7246e-62db-b82c-1de3-58510360e159@gmail.com> Message-ID: try putting the following script into each moving image: local tx, ty, dx on mousedown put item 1 of the loc of me into tx put item 2 of the loc of me into ty put tx- the mouseH into dx end mousedown on mouseMove x,y if the mouse is down then set the loc of me to x+dx, ty end mouseMove Cheers! > On Jul 25, 2016, at 5:54 AM, Richmond wrote: > > See daft effort here: > > http://forums.livecode.com/viewtopic.php?f=7&t=27672 > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Mon Jul 25 09:25:25 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 25 Jul 2016 07:25:25 -0600 Subject: Slip, sliding away In-Reply-To: References: <1469440387146-4706997.post@n4.nabble.com> <29b7246e-62db-b82c-1de3-58510360e159@gmail.com> Message-ID: Another mousemove version.. local sDragging, sLastX on mouseup put false into sDragging end mouseup on mouserelease put false into sDragging end mouserelease on mousedown put true into sDragging put item 1 of the mouseloc into sLastX end mousedown on mousemove px,py if the mouse is down and sDragging then put the hscroll of the owner of me - (px - sLastX) into tScroll if tscroll > the width of me then put the width of me into tscroll if tscroll < 0 then put 0 into tscroll set the hscroll of the owner of me to tScroll put px into sLastX end if end mousemove On Mon, Jul 25, 2016 at 7:22 AM, Roger Guay wrote: > try putting the following script into each moving image: > > local tx, ty, dx > > on mousedown > put item 1 of the loc of me into tx > > put item 2 of the loc of me into ty > > put tx- the mouseH into dx > > end mousedown > > > on mouseMove x,y > > if the mouse is down then set the loc of me to x+dx, ty > > end mouseMove > > > Cheers! > > > > > On Jul 25, 2016, at 5:54 AM, Richmond > wrote: > > > > See daft effort here: > > > > http://forums.livecode.com/viewtopic.php?f=7&t=27672 > > > > Richmond. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Mon Jul 25 11:46:53 2016 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 25 Jul 2016 18:46:53 +0300 Subject: [OT] Vertical Tab Message-ID: <028abadc-32a9-e5ba-e836-fd9963a767ec@gmail.com> I am a pinhead: I ended up dipping into that horrible VB6 book again. Any way I bumped up against ye olde ASCII codes and 'Vertical Tab' (ASCII 11) [something I had never heard of before]. So, "just for a laugh" I popped this into a button: on mouseUp set the text of fld "fText" to numToCodePoint(77) & numToCodePoint(11) & numToCodePoint(77) end mouseUp and started wondering what possible advantages Vertical Tab might have over a CR (13) or a LF (10): I set up 2 more buttons using CR and LF respectively and found that the behaved oddly in that on mouseUp set the text of fld "fText" to numToCodePoint(77) & numToCodePoint(13) & numToCodePoint(77) end mouseUp gave me a single 'M' in the field while LF, as far as I could see, was functionally the same as Vertical Teb. I am aware that historically Vertical Tab was used to play around with dot-matrix printers, but the only place I've seen one of them recently is in ALL the supermarkets in Bulgaria (!!!). Richmond. From scott at tactilemedia.com Mon Jul 25 12:07:12 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 25 Jul 2016 09:07:12 -0700 Subject: Slip, sliding away In-Reply-To: References: Message-ID: This should do what you want, in the script of the group (set the margins of the group to 0): local scrollX, clickX, allowDrag on mouseDown put hScroll of me into scrollX put mouseH() into clickX put true into allowDrag end mouseDown on mouseMove X,Y if not allowDrag then exit mouseMove set hScroll of me to scrollX + (clickX - X) end mouseMove on mouseUp put false into allowDrag end mouseUp on mouseRelease put false into allowDrag end mouseRelease Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 7/25/16, 2:32 AM, "use-livecode on behalf of Richmond" wrote: >I made a loooong rectangular image (3 times wider than my stack) and >grouped it > >into a group the width of my stack and gave it a horizontal scrollbar; >so I can scroll the image > >laterally using the scrollbar . . . surprise, surprise; and jolly s*xy >it looks too. > >I would look even s*xier if it had NO scrollbar and I could do some sort >of > >'constrained grab'/scroll by doing a mouseDown & horizontal drag on the >image within the group. > > >Does anyone know how to do this. > >Just to stimulate interest, the reason is that I want to do this sort of >thing > >in Livecode: http://www.stefanv.com/calculators/aristo970/index.html > >Richmond. From jacque at hyperactivesw.com Mon Jul 25 12:44:58 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 25 Jul 2016 11:44:58 -0500 Subject: [OT] Vertical Tab In-Reply-To: <028abadc-32a9-e5ba-e836-fd9963a767ec@gmail.com> References: <028abadc-32a9-e5ba-e836-fd9963a767ec@gmail.com> Message-ID: <15622f1f710.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On July 25, 2016 10:49:11 AM Richmond wrote: > and started wondering what possible advantages Vertical Tab might have over > a CR (13) or a LF (10): A vertical tab is not a line delimiter. That means you can add visual line breaks while still using normal line and text chunking syntax. MS Word and other apps insert these with shift-return. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Jul 25 12:59:23 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 25 Jul 2016 11:59:23 -0500 Subject: openBackground ID in Behavior Script In-Reply-To: References: Message-ID: <15622ff29f8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> This is a message sent by the engine and it will provide the id of the background, which you can't specify yourself. The handler needs to use a valid parameter variable to catch that id, and numbers won't work. It should be something like pID or similar which the engine can populate. You can also call it from another handler if you want and in that case you can provide the id: on doSometjing openBackground 1234 end doSomething Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 25, 2016 12:05:06 AM Sannyasin Brahmanathaswami wrote: > I put this into a behavior for a group on a card > > on openBackground (the id of me) > set the blendlevel of btn "home-logo" to 0 > send hideLogo to me in 1 second > end openBackground > > But the script editor flags the opening line with: > > compilation error at line 4 (Handler: not a valid parameter name) near "(", > char 4 > > put I put farther down the behavior > > on mouseup > put the id of me > end mouseup > > and click on the group > > it returns the ID of the group to which the behavior is assigned. > > What am I missing? Why won't LC evaluate (the id of me) as a param? > > even if I hard wire the ID just as a test.. > > on openBackground 1076 > set the blendlevel of btn "home-logo" to 0 > send hideLogo to me in 1 second > end openBackground > > I get the same error msg > > compilation error at line 4 (Handler: not a valid parameter name) near > "1076", char 4 > > According to the dictionary, this should work. > > BR > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Jul 25 14:07:54 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 25 Jul 2016 13:07:54 -0500 Subject: Initializing Libraries In-Reply-To: <73C363F7-E512-4B05-92B4-2C1C586B6991@hindu.org> References: <5380E212-633D-4AD0-A529-815C2A0702F3@hindu.org> <73C363F7-E512-4B05-92B4-2C1C586B6991@hindu.org> Message-ID: <873be796-f505-94bf-a4e7-55635584536e@hyperactivesw.com> On 7/24/2016 10:56 PM, Sannyasin Brahmanathaswami wrote: > lf you use just use > > someStack.livecode > > when you open the "stack" (script only) it actually instantiates a > window in the IDE that you can then do cmd-K and it auto opens the > script. > > if you double click on the someStack.livecodescript from the finder, > it *does* now appear in the open windows (hence it must be in RAM) > but there is no stack window as such in the IDE for a .livecodescript > stack?so I'm unable to edit this from inside the IDE. Try "toplevel " These stacks aren't any different from any other you open without using "go" -- they are in RAM but you need to specifically display them to work with them. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From david at viral.academy Mon Jul 25 14:34:47 2016 From: david at viral.academy (David Bovill) Date: Mon, 25 Jul 2016 19:34:47 +0100 Subject: Initializing Libraries In-Reply-To: <873be796-f505-94bf-a4e7-55635584536e@hyperactivesw.com> References: <5380E212-633D-4AD0-A529-815C2A0702F3@hindu.org> <73C363F7-E512-4B05-92B4-2C1C586B6991@hindu.org> <873be796-f505-94bf-a4e7-55635584536e@hyperactivesw.com> Message-ID: Script only stacks are designed from the IDE's point of view as not needing to show a stack window - as what would be the point as any changes to the visible appearance are discarded. Consequently the IDE loads the stack as an invisible stack, and will often open the script in the script editor without showing the stack window. If needed you can use "show" or "set the visible" - toplevel may work as well. Double clicking on a script-only stack in the finder never produced reliable results for me - so I do this from within the IDE. An aspect of this issue is that xxxx.livecodescript stacks are not registered with Spotlight on OSX - my guess is that the devs need to register this extension in the Livecode app bundle or similar as well? On 25 July 2016 at 19:07, J. Landman Gay wrote: > On 7/24/2016 10:56 PM, Sannyasin Brahmanathaswami wrote: > >> lf you use just use >> >> someStack.livecode >> >> when you open the "stack" (script only) it actually instantiates a >> window in the IDE that you can then do cmd-K and it auto opens the >> script. >> >> if you double click on the someStack.livecodescript from the finder, >> it *does* now appear in the open windows (hence it must be in RAM) >> but there is no stack window as such in the IDE for a .livecodescript >> stack?so I'm unable to edit this from inside the IDE. >> > > Try "toplevel " > > These stacks aren't any different from any other you open without using > "go" -- they are in RAM but you need to specifically display them to work > with them. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Tue Jul 26 01:46:03 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 25 Jul 2016 22:46:03 -0700 Subject: ANN: PowerDebug 2.0 Message-ID: <5796F91B.2050000@ahsoftware.net> I have released a new version of PowerDebug. PowerDebug completely supports LC8 and is backwards-compatible to at least version 4.x. Debugging of standalone applications is still supported on the same computer, cross-platform on multiple computers, and on different computers in the same local subnet. http://powerdebug.ahsoftware.net http://ahsoftware.net/PowerTools/BuyPowerDebug.lc The biggest new change here is the support for tracepoints as well as breakpoints: Adding a #trace comment to a breakpoint command will capture the current environment and keep going, allowing you to walk through the breakpoint history of your application. breakpoint #trace Note that this does not replace the existing breakpoint command: this is an addition to previous functionality. Also, the LC8 menubar has a new filename, so a minor change was necessary to bring up the configuration panel when PowerDebug is selected from the Development|Plugins menu. **** For current users (I've gotten some bounced emails, so if you didn't get an update email from me, read on) Note that the username and password have changed for the new version. The url remains the same, but you'll need the new information to download the new version. And as usual, your registration will never expire, so you have access to the latest versions. NOTE: even if you have a beta version of 2.0 you should download the most recent version. That's the only one guaranteed to have all the latest patches. -- Mark Wieder ahsoftware at gmail.com From rman at free.fr Tue Jul 26 04:38:20 2016 From: rman at free.fr (Robert Mann) Date: Tue, 26 Jul 2016 01:38:20 -0700 (PDT) Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: References: <578E9638.3050101@fourthworld.com> <92769a54-b5d3-618f-7017-e1bf4b96c6cb@livecode.com> <1469052649308-4706833.post@n4.nabble.com> <1469091451.913719.672558561.3C5C04E8@webmail.messagingengine.com> <40CF6CFE-778A-4E8E-91A3-AEF4CA53BC7A@all-auctions.com> <0a281f83-063f-ebe0-4cce-2fa1243b1453@fourthworld.com> <1469129556.1041224.672948729.1B09137A@webmail.messagingengine.com> Message-ID: <1469522300932-4707013.post@n4.nabble.com> > But now we have no choice but to ask these would be collaborators on front > end stack development to use other tools. Exactly the opposite to > contributing to the "health of the livecode ecosystem." @ Brahmanathaswami i've always felt concerned that GPL should NOT extend to media content in a stack and i'll make a demo stack in few days to make the point and give precise examples and explain how holding to a strict interpretation can be detrimental to the spread of livecode in the education domain. Your case-use about interface designing falls right in that pond : ? In EU the notion of interface is very seperated from the code of a piece of software. A graphic interface is protectable as a work of art under copyright (if original etc..) So it falls under the same set of rules than pictures, text. ?Your design will incorporate and use UI elements that have been designed by livecode. But in the world of graphics the notion of derivative work is much more restricted than that. MOna-lisa with a big smile has been questionned, but an original interface with UI elements will have enough original creativity. Not even taking into account that the essence of UI elements is to be used! ? There is also a clear distinction between DATA and PROGRAM in the EU (and livecode so far still is in the EU), a drawing, some text & data are not a program. In short, a Community edition stack file with only UI elements and no line of code, has little chance to be regarded as a computer program and should not be regarded as bearing GPL restrictions. In practice : we should be able to share publicly purely graphical stacks, or stacks containing only text "edited" with the community edition. And I call for Kevin & the team to clarify precisely that question. In practice, I cannot see how that could be detrimental to livecode business as nobody would ever get a commercial license just to fiddle around and design mockups. Same applies for a teacher to draft a memo card stack using livecode. On the other hand it would make it easier for a lot of practical uses as this case shows, getting closer to the original hypercard spirit : a little tool with which you can actually do usefuls things with. And I hope that the community version has been made in that spirit : empower people to make little practical things that are useful. And with the commercial version for "true" programming of "real" apps. Kevin in his answer to Mark Wilcox questionned the references to US case law, I guess Google versus Oracle. On the issues of claryfiying the status of the stackFile and its content, we are faced with the same problem : how does the US GPL legal stuff apply in EU within EU copyright tradition and regulations? When copyright was case law construction, the relationship between license contract and law was not so clear. But UE copyritgh and licensing stuff has been implemented in UK in various laws, between I recall 1994 and 2009? so that in that respect, UK is now fully "harmonized" with continental law. One thing is clear in continental copyright matters : UE regulations implemented in national law, apply first, because in UE copyright related stuff replaces and voids any non compliant license contract. A french guy point of view from the euro continent! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/On-rev-support-problem-tp4706664p4707013.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Tue Jul 26 08:00:23 2016 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 26 Jul 2016 15:00:23 +0300 Subject: Slip, sliding away In-Reply-To: References: Message-ID: <6e44aede-1b1d-482e-374c-515dee3e958e@gmail.com> Cuss me out: http://forums.livecode.com/viewtopic.php?f=7&t=27672&p=145011#p145011 Richmond. From paul at researchware.com Tue Jul 26 11:49:47 2016 From: paul at researchware.com (Paul Dupuis) Date: Tue, 26 Jul 2016 11:49:47 -0400 Subject: HELP with: open printing for pdf... Message-ID: <5797869B.7090004@researchware.com> I have very large application running under LC 6.7.11 for Windows and OSX I have code that does an "open printing for PDF", prints a field, and closes printing. Under OSX this works fine. Under Windows, in both the IDE and a standalone, I get an execution error on the open printing for pdf line with the message: execution error at line n/a (printing: Unknown destination) In the standalone, I might have interpreted this error as that the "revpdfprinter.dll" did not get added to the standalone, but it is (although why this dll is placed at the application level and not in the Externals folder continues to puzzle me). I also might have though the file path & name passed to open pritning for pdf may have been a problem, but I have checked via debugger and the file path & name is valid, in a writable location, plenty of disk space, etc. Also tried multiple files and locations, so that is not it However the fact that it happens in the IDE completely mystifies me. Can ANY one tell me what this error really means and what the cause may be? From camm29 at tesco.net Tue Jul 26 13:40:30 2016 From: camm29 at tesco.net (Camm) Date: Tue, 26 Jul 2016 17:40:30 +0000 (UTC) Subject: Moving from 6.6.1 to 8.0.0 Handlers vanished In-Reply-To: <695213247.107385.1469554692621.JavaMail.root@md01.topaz.synacor.com> Message-ID: <126404806.107451.1469554830473.JavaMail.root@md01.topaz.synacor.com> Hello , I may have missed something minor but had to stay with 6.6.1 until serial port issue addressed. This was addressed in version 8.0.0 so I upgraded. Now when 8.0.0 loads the stack no handlers appear in the handler list ? All the script was in "Stack Script" which can be seen but no handlers in the list. When the script runs " Handler :cannot find handler" error. Went back to 6.6.1 and all is fine. Thanks in advance. Camm From bonnmike at gmail.com Tue Jul 26 13:59:57 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 26 Jul 2016 11:59:57 -0600 Subject: Moving from 6.6.1 to 8.0.0 Handlers vanished In-Reply-To: <126404806.107451.1469554830473.JavaMail.root@md01.topaz.synacor.com> References: <695213247.107385.1469554692621.JavaMail.root@md01.topaz.synacor.com> <126404806.107451.1469554830473.JavaMail.root@md01.topaz.synacor.com> Message-ID: In 8, try some small edit in the script and then re-apply the changes and see if it solves the issue. On Tue, Jul 26, 2016 at 11:40 AM, Camm wrote: > Hello , > > > I may have missed something minor but had to stay with 6.6.1 until serial > port issue addressed. This was addressed in version 8.0.0 so I upgraded. > > > Now when 8.0.0 loads the stack no handlers appear in the handler list ? > All the script was in "Stack Script" which can be seen but no handlers in > the list. > > > When the script runs " Handler :cannot find handler" error. > > > Went back to 6.6.1 and all is fine. > > > Thanks in advance. > Camm > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paul at researchware.com Tue Jul 26 15:01:06 2016 From: paul at researchware.com (Paul Dupuis) Date: Tue, 26 Jul 2016 15:01:06 -0400 Subject: Moving from 6.6.1 to 8.0.0 Handlers vanished In-Reply-To: <126404806.107451.1469554830473.JavaMail.root@md01.topaz.synacor.com> References: <126404806.107451.1469554830473.JavaMail.root@md01.topaz.synacor.com> Message-ID: <5797B372.6070703@researchware.com> What you are seeing is a behavior where in LC 8 the engine sees something in the script that is a syntax error that LC6 regards as fine. Open the script in 8, make a small change and try to apply and it should tell you what it thing is the syntax error. On 7/26/2016 1:40 PM, Camm wrote: > Hello , > > > I may have missed something minor but had to stay with 6.6.1 until serial port issue addressed. This was addressed in version 8.0.0 so I upgraded. > > > Now when 8.0.0 loads the stack no handlers appear in the handler list ? > All the script was in "Stack Script" which can be seen but no handlers in the list. > > > When the script runs " Handler :cannot find handler" error. > > > Went back to 6.6.1 and all is fine. > > > Thanks in advance. > Camm > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brahma at hindu.org Tue Jul 26 18:28:07 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 26 Jul 2016 22:28:07 +0000 Subject: Initializing Libraries In-Reply-To: References: <5380E212-633D-4AD0-A529-815C2A0702F3@hindu.org> <73C363F7-E512-4B05-92B4-2C1C586B6991@hindu.org> <873be796-f505-94bf-a4e7-55635584536e@hyperactivesw.com> Message-ID: <03DAE112-2248-4CDD-AB5A-55E7296F1333@hindu.org> Thanks for everyone's patience in replyin to my tedious, repeated inquiries on this subject. I've been days and days fumbling with this. As of yesterday, the mists cleared and finally things are working? I must be super dense as one would think this could be easier. Any refinements to this feable attempt at a "guide" will be helpful. We have many issues, all of which lead to challenges during development for the text only stack newbie. Hopefully newbies lurking will find this useful: Here is what I have learned so far, the hard way this past week. (disclaimer this could be full of erroneous info, or be deprecated in a future release/with enhancements) 1) Loading text only stacks/behaviors, via some initialization process in stack A, (whether .livecode or .livecodescript) by any means (get name, go, toplevel etc), does not make them available in the inspector as a behavior that can be assigned to any object in stacks B, C, D that may also be open. 2) one can explicitly (obviously) set the behavior to any stack that you know is currently open: set the behavior of grc "testBehaviorTarget" to the long id of stack behavior_portal-links.livecode BUT: # the above will fail is the stack is not loaded you will go back and see that the property inspector shows the behavior is empty. # the above will fail later if your init methods do not force load those stacks. 3) you cannot set a behavior to a stack disk using a path: this does not work, even though the path resolves correctly to the right location/stack.. don't even bother trying this which would make intuitive sense as as the "natural" way to both set a behavior and call it into memory later? but wrong conclusions, setting the behavior of an object does not automatically load that behavior into memory later? set the behavior of grc "testBehaviorTarget" to the long id of stack (specialFolderPath("Resources")& "/shared/behaviors/behavior_portal-links.livecode") 4) if your environment uses a loader to force load, e.g. 10 different behaviors, by getting the name of each one (or any other method, start using, toplevel, go)? these -- may or may not available for editing anywhere in the IDE -- do not appear in the inspector (i.e. 1 above) as an assignable behavior to any object in the open stack(s) environment. 5) opening a stack in the IDE during development by double clicking (whether you set it or not) makes it available in the IDE in the project browser. the msg box is also a good place to edit front and backscripts. Now you can assign that behavior to any object in the globally open stacks space manually from the msg box. But, beware? if you have not included that stack in your loading initialization procedures, then later it will fail (goes to #2 above) duh, you assigned it while it was open but later when you re-boot your framework, it is not in memory. 6) Attempts to set behaviors via path to stack will fail: the behavior of grc "testBehaviorTarget" to the long id of stack (specialFolderPath("Resources")& "/shared/behaviors/behavior_portal-links.livecode") 7) BULLET PROOF 1 FOR THE VISUALLY ORIENTED: knowing all the above and being aware of all the possible headaches that can occur, one fool proof, "grunt" method is: explicitly set the stack files of stacks A, B, C, D, E etc to the same one and only behavior on disk, and now *for sure* the stack is available in the inspector? where you can look at your object, click and edit the behavior. TBD: does this add overhead? in theory you only need load the behavior once? but having it in the stack files prop for multiple stacks? any negatives? I think not. one assumes the stack files prop are based on relative paths and this is portable assuming you keep your original directory hierarchy intact for your builds. 8) BULLET PROOF 2 FOR NERDS: a make sure all your behavior stacks are force loaded on start up in some initialization handler; then manually the behavior in the message box for any given object I hope Monte is watching, because my enhancement request in this area was confirmed and I believe some fix is in the works? awaiting a new release. 9) EDITING CAVEAT: if you do use .livecode and it opens as a window, OR you edit the script of an invisible text only stack (not top window) via the script editor? doing cmd-S, will a) save changes to disk b) update your handlers live in the IDE? BUT! if you have a script open, inadvertently in the IDE and you edit that same script in a text editor.. if you then later inadvertently save that same stack from the IDE, all the changes you made in the text editor are overwritten. (ouch!) but I guess that makes logical sense. But still a caveat 11) editing text only stacks, that are loaded into memory with a text editor does not automatically, mean that your changes are live in RAM in the IDE? the IDE only knows the code that was loaded at the time it was loaded? so you can edit, save and have an expectation for a behavior to fire? but it does not? (bangs his head on his desk, again?) you have to issue a re-load of all stacks on disk? (i.e. fire your initialization calls, again, to force the loaders stack/IDE to re-read the code saved on disk. Serious nuisance 12) For a newbie to text only world of behaviors, start using, backscripts etc? editing these stack scripts with a text editor, regardless of extension? therein lies the road to madness (hehe) 12) SAFEST PATH for the newbie -- make sure all stacks are loaded somehow in the IDE; -- setting stack files is your best friend: only take a moment and you will finally see them in the IDE as available for assignment -- edit all scripts of all stacks in your framework, including even text only stacks, in the IDE and save them there. now everything works and I'm finally moving on to developing content instead of sorting out the architecture. Please feel free to edit/revise the above? some day we need an official guide from the mother ship.. Brahmanathaswami On 7/25/16, 8:34 AM, "use-livecode on behalf of David Bovill" wrote: Script only stacks are designed from the IDE's point of view as not needing to show a stack window - as what would be the point as any changes to the visible appearance are discarded. Consequently the IDE loads the stack as an invisible stack, and will often open the script in the script editor without showing the stack window. If needed you can use "show" or "set the visible" - toplevel may work as well. Double clicking on a script-only stack in the finder never produced reliable results for me - so I do this from within the IDE. An aspect of this issue is that xxxx.livecodescript stacks are not registered with Spotlight on OSX - my guess is that the devs need to register this extension in the Livecode app bundle or similar as well? From brahma at hindu.org Tue Jul 26 18:47:18 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 26 Jul 2016 22:47:18 +0000 Subject: Parsing the long ID or long Name Message-ID: Trying to avoid reinventing the wheel here: use Case: 1) you want to set a behavior to a common group to act on mouse events. 2) this group is present by different names (deliberately unique names) in different stacks 3) the behavior needs to act on the mouse event. The obvious param to send to the behavior is the long ID or long Name of the target, or the owner of the target? or the owner of the owner of the target? image "portal-link-image" of group "listen_music" of group "listen-links" of card "listen-links" of stack "/Users/Brahmanathaswami/Documents/App-Development/SivaSivaAppWorking/_SivaSource/source/modules/listen/listen.livecode" in this specific use case.. we the sub-info-param the behavior needs to act is "listen-music" I'm curious if anyone has written a generic parser for turning the long ID or long Name of the target into an array? I suppose some hacky trick like turning the word "of" into "|" or tab and then splitting the string.. but I can't figure out how to split image "someQuotedObjectName otherwise resort to old parsers like word 2 of the long name of the owner of the target? but this too is iffy because we can't assume that every name is a word.. the quoted string could have spaces? it would be easier to check the keys of an array # Owner name is our trigger put the keys of tTargetName (an array) into sMouseTarget switch sMouseTarget if "listen-music" is among the lines of sMouseTarget then # load some other stack or go to some card what do you do? BR From brahma at hindu.org Tue Jul 26 19:22:00 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 26 Jul 2016 23:22:00 +0000 Subject: Setting itemdelimiter in behavior is failing Message-ID: <908F2B64-28B5-4A57-AEDB-959EAE49E86E@hindu.org> I have this in a behavior put the short name of the owner of the target into tTargetAction # contains a string like "surprise_audio" # parse the owner set the itemdel to "_" put item 1 of tTargetAction into tModule put item 2 of tTargetAction into tAction put tAction set the itemdel to comma if abs(the mouseV - item 2 of sStartLoc) <= 10 then # user tapped result tAction contains "surprise_audio" if I comment out this line -- set the itemdel to comma it returns "audio" It is as if, within a given handler, the itemdel default to the last setting, even for constructs above that last setting that may set a different itemdel. I knew there were caveats on a repeat for each item scenario.. but I could have sworn and "in the old days" this would have worked. any workarounds? is this a bug? BR From mwieder at ahsoftware.net Tue Jul 26 19:44:37 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 26 Jul 2016 23:44:37 +0000 (UTC) Subject: Parsing the long ID or long Name References: Message-ID: Sannyasin Brahmanathaswami writes: > # Owner name is our trigger > put the keys of tTargetName (an array) into sMouseTarget > switch sMouseTarget > if "listen-music" is among the lines of sMouseTarget then > # load some other stack or go to some card > > what do you do? if "listen-music" is in tTargetName then... Am I missing something critical here? I figure I must be underthinking this. -- Mark Wieder ahsoftware at gmail.com From alex at tweedly.net Tue Jul 26 19:53:11 2016 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 27 Jul 2016 00:53:11 +0100 Subject: Parsing the long ID or long Name In-Reply-To: References: Message-ID: Not sure I understand the real problem - or why array could help - but one observation ... On 26/07/2016 23:47, Sannyasin Brahmanathaswami wrote: > Trying to avoid reinventing the wheel here: > ... > The obvious param to send to the behavior is the long ID or long Name of the target, or the owner of the target? or the owner of the owner of the target? > > image "portal-link-image" of group "listen_music" of group "listen-links" of card "listen-links" of stack "/Users/Brahmanathaswami/Documents/App-Development/SivaSivaAppWorking/_SivaSource/source/modules/listen/listen.livecode" > > in this specific use case.. we the sub-info-param the behavior needs to act is "listen-music" > > I'm curious if anyone has written a generic parser for turning the long ID or long Name of the target into an array? I suppose some hacky trick like turning the word "of" into "|" or tab and then splitting the string.. but I can't figure out how to split > > image "someQuotedObjectName > > otherwise resort to old parsers like > > word 2 of the long name of the owner of the target? > but this too is iffy because we can't assume that every name is a word.. the quoted string could have spaces? This isn't iffy. A quoted string is a single word - even if it contains spaces. Note that the word *does* contain the enclosing quotes, so you might want char 2 to -2 of word 2 of the long anme of the owner of the target -- Alex. From monte at appisle.net Tue Jul 26 23:31:59 2016 From: monte at appisle.net (Monte Goulding) Date: Wed, 27 Jul 2016 04:31:59 +0100 Subject: HELP with: open printing for pdf... In-Reply-To: <5797869B.7090004@researchware.com> References: <5797869B.7090004@researchware.com> Message-ID: <3B4409B7-D957-43F5-8289-A03FDD1CA9AA@appisle.net> Hi Paul I bumped into this in a project just before I started working for LiveCode. There?s an issue some of the latter 6.7 releases that requires you to set the default folder to the folder the pdf printer dll is in before opening printing for the first time. I believe this is fixe in LC 8. Cheers Monte > On 26 Jul 2016, at 4:49 PM, Paul Dupuis wrote: > > I have very large application running under LC 6.7.11 for Windows and OSX > > I have code that does an "open printing for PDF", prints a field, and > closes printing. Under OSX this works fine. > > Under Windows, in both the IDE and a standalone, I get an execution > error on the open printing for pdf line with the message: > execution error at line n/a (printing: Unknown destination) > > In the standalone, I might have interpreted this error as that the > "revpdfprinter.dll" did not get added to the standalone, but it is > (although why this dll is placed at the application level and not in the > Externals folder continues to puzzle me). > > I also might have though the file path & name passed to open pritning > for pdf may have been a problem, but I have checked via debugger and the > file path & name is valid, in a writable location, plenty of disk space, > etc. Also tried multiple files and locations, so that is not it > > However the fact that it happens in the IDE completely mystifies me. Can > ANY one tell me what this error really means and what the cause may be? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Wed Jul 27 02:10:30 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 27 Jul 2016 06:10:30 +0000 Subject: Parsing the long ID or long Name In-Reply-To: References: Message-ID: @ mark ? duh? no you are not underthinking? I was over thinking?sure..that works. @ Alex confirmed: put format ("group \"word with spaces\"") into tVar; put word 2 of tVar returns "word with spaces" Wow.. that's both unintuitive/unexpected and useful new knowledge! Thanks This use case turns out that? I can use the short name of the owner of the target? though that's not universally useful. On 7/26/16, 1:44 PM, "use-livecode on behalf of Mark Wieder" wrote: BR if "listen-music" is in tTargetName then... Am I missing something critical here? I figure I must be underthinking this. From brahma at hindu.org Wed Jul 27 02:17:12 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 27 Jul 2016 06:17:12 +0000 Subject: Licensing AGAIN [was: Sharing FontLab Plugin] In-Reply-To: <1469522300932-4707013.post@n4.nabble.com> References: <578E9638.3050101@fourthworld.com> <92769a54-b5d3-618f-7017-e1bf4b96c6cb@livecode.com> <1469052649308-4706833.post@n4.nabble.com> <1469091451.913719.672558561.3C5C04E8@webmail.messagingengine.com> <40CF6CFE-778A-4E8E-91A3-AEF4CA53BC7A@all-auctions.com> <0a281f83-063f-ebe0-4cce-2fa1243b1453@fourthworld.com> <1469129556.1041224.672948729.1B09137A@webmail.messagingengine.com> <1469522300932-4707013.post@n4.nabble.com> Message-ID: <45E7B510-31B2-4EAA-9F0D-79ACC91B2629@hindu.org> Merci, Robert Bien sur? le media et les lines de code n'est pas la meme chose? Others have contacted me off list about this with similar thoughts? seems worth pursuing with the Mothership.. but they are in conference prep mode right now. No better environment than LC for developing the UI/views/presentation layer. BR On 7/25/16, 10:38 PM, "use-livecode on behalf of Robert Mann" wrote: > But now we have no choice but to ask these would be collaborators on front > end stack development to use other tools. Exactly the opposite to > contributing to the "health of the livecode ecosystem." @ Brahmanathaswami i've always felt concerned that GPL should NOT extend to media content in a stack and i'll make a demo stack in few days to make the point and give precise examples and explain how holding to a strict interpretation can be detrimental to the spread of livecode in the education domain. Your case-use about interface designing falls right in that pond : ? In EU the notion of interface is very seperated from the code of a piece of software. A graphic interface is protectable as a work of art under copyright (if original etc..) So it falls under the same set of rules than pictures, text. ?Your design will incorporate and use UI elements that have been designed by livecode. But in the world of graphics the notion of derivative work is much more restricted than that. MOna-lisa with a big smile has been questionned, but an original interface with UI elements will have enough original creativity. Not even taking into account that the essence of UI elements is to be used! ? There is also a clear distinction between DATA and PROGRAM in the EU (and livecode so far still is in the EU), a drawing, some text & data are not a program. In short, a Community edition stack file with only UI elements and no line of code, has little chance to be regarded as a computer program and should not be regarded as bearing GPL restrictions. In practice : we should be able to share publicly purely graphical stacks, or stacks containing only text "edited" with the community edition. And I call for Kevin & the team to clarify precisely that question. In practice, I cannot see how that could be detrimental to livecode business as nobody would ever get a commercial license just to fiddle around and design mockups. Same applies for a teacher to draft a memo card stack using livecode. On the other hand it would make it easier for a lot of practical uses as this case shows, getting closer to the original hypercard spirit : a little tool with which you can actually do usefuls things with. And I hope that the community version has been made in that spirit : empower people to make little practical things that are useful. And with the commercial version for "true" programming of "real" apps. Kevin in his answer to Mark Wilcox questionned the references to US case law, I guess Google versus Oracle. On the issues of claryfiying the status of the stackFile and its content, we are faced with the same problem : how does the US GPL legal stuff apply in EU within EU copyright tradition and regulations? When copyright was case law construction, the relationship between license contract and law was not so clear. But UE copyritgh and licensing stuff has been implemented in UK in various laws, between I recall 1994 and 2009? so that in that respect, UK is now fully "harmonized" with continental law. One thing is clear in continental copyright matters : UE regulations implemented in national law, apply first, because in UE copyright related stuff replaces and voids any non compliant license contract. A french guy point of view from the euro continent! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/On-rev-support-problem-tp4706664p4707013.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From lan.kc.macmail at gmail.com Wed Jul 27 04:46:04 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 27 Jul 2016 16:46:04 +0800 Subject: Wildcard Livecode 8 In-Reply-To: References: Message-ID: On Sun, Jul 24, 2016 at 1:51 AM, Richmond wrote: > Which tells me nothing useful whatsoever; such as what the wildcard > character might be, or how to > > use wildcards in Livecode. > Lookup the online Dictionary for 'filter', it's in the 'command' folder. I think it is the only one that has it's own set of wildcard characters. Most other functions that use wildcards (ie matchText, replaceText) are those that require regex. LC uses PCRE so you can check that out here: https://regex101.com/#pcre Down in the bottom right corner is a 'Quick Reference', and 'most used tokens' is likely selected so you can see that: . = any character (a true wild card) \d = any digit \w = any word character etc etc From richmondmathewson at gmail.com Wed Jul 27 09:44:45 2016 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 27 Jul 2016 16:44:45 +0300 Subject: Move to the points Message-ID: <65f74ed6-789d-395e-0de8-fd9d473d256f@gmail.com> So I have a graphic object generated like this: on mouseUp put empty into fld "f1" put 0.1 into KOUNT repeat until KOUNT > 12.6 put (KOUNT * 10) into LYNE put ( ( ((sin (KOUNT)) * (cos (KOUNT)) ) * 300) + 400) into LR put ((((cos (KOUNT)) ) * 300) +400) into TB put (LR & "," & TB) into line LYNE of fld "f1" add 0.1 to KOUNT end repeat set the points of grc "c1" to fld "f1" end mouseUp (where grc "c1" is a pre-existing graphic) and a button containing this: on mouseUp move grc "g1" to the points of grc "c1" in 10 seconds end mouseUp and all should be fine, but it isn't, because on attempted execution of the button I get this: "button "GO": execution error at line 2 (move: end point is not a point), char 21". All very mysterious, Richmond. P.S. Before Mark, Jacque or Richard try it; there is a comma before my name! From richmondmathewson at gmail.com Wed Jul 27 09:46:30 2016 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 27 Jul 2016 16:46:30 +0300 Subject: Move to the points In-Reply-To: <65f74ed6-789d-395e-0de8-fd9d473d256f@gmail.com> References: <65f74ed6-789d-395e-0de8-fd9d473d256f@gmail.com> Message-ID: Of course part of this could be the problem that my initial curve generation script leaves empty lines in the listField that contains the points of the curve. R. On 27.07.2016 16:44, Richmond wrote: > So I have a graphic object generated like this: > > on mouseUp > put empty into fld "f1" > put 0.1 into KOUNT > repeat until KOUNT > 12.6 > put (KOUNT * 10) into LYNE > put ( ( ((sin (KOUNT)) * (cos (KOUNT)) ) * 300) + 400) into LR > put ((((cos (KOUNT)) ) * 300) +400) into TB > put (LR & "," & TB) into line LYNE of fld "f1" > add 0.1 to KOUNT > end repeat > set the points of grc "c1" to fld "f1" > end mouseUp > > (where grc "c1" is a pre-existing graphic) > > and a button containing this: > > on mouseUp > move grc "g1" to the points of grc "c1" in 10 seconds > end mouseUp > > and all should be fine, but it isn't, because on attempted execution > of the button I get this: > > "button "GO": execution error at line 2 (move: end point is not a > point), char 21". > > All very mysterious, Richmond. > > P.S. Before Mark, Jacque or Richard try it; there is a comma before my > name! > From richmondmathewson at gmail.com Wed Jul 27 09:57:20 2016 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 27 Jul 2016 16:57:20 +0300 Subject: Move to the points In-Reply-To: References: <65f74ed6-789d-395e-0de8-fd9d473d256f@gmail.com> Message-ID: <40789ab3-3283-7755-addc-60531ebe107e@gmail.com> Usual nonsense: replying to my own postings: The problem lies in my relying on put (KOUNT * 10) into LYNE to supply me with continuous line numbers for my listField, now sorted out: on mouseUp put empty into fld "f1" put 0.1 into KOUNT put 1 into LYNE repeat until KOUNT > 12.6 put ( ( ((sin (KOUNT)) * (cos (KOUNT)) ) * 300) + 400) into LR put ((((cos (KOUNT)) ) * 300) +400) into TB put (LR & "," & TB) into line LYNE of fld "f1" add 0.1 to KOUNT add 1 to LYNE end repeat set the points of grc "c1" to fld "f1" end mouseUp The IDE did not help with its cryptic message. R. On 27.07.2016 16:46, Richmond wrote: > Of course part of this could be the problem that my initial curve > generation script leaves empty lines in > > the listField that contains the points of the curve. > > R. > > > On 27.07.2016 16:44, Richmond wrote: >> So I have a graphic object generated like this: >> >> on mouseUp >> put empty into fld "f1" >> put 0.1 into KOUNT >> repeat until KOUNT > 12.6 >> put (KOUNT * 10) into LYNE >> put ( ( ((sin (KOUNT)) * (cos (KOUNT)) ) * 300) + 400) into LR >> put ((((cos (KOUNT)) ) * 300) +400) into TB >> put (LR & "," & TB) into line LYNE of fld "f1" >> add 0.1 to KOUNT >> end repeat >> set the points of grc "c1" to fld "f1" >> end mouseUp >> >> (where grc "c1" is a pre-existing graphic) >> >> and a button containing this: >> >> on mouseUp >> move grc "g1" to the points of grc "c1" in 10 seconds >> end mouseUp >> >> and all should be fine, but it isn't, because on attempted execution >> of the button I get this: >> >> "button "GO": execution error at line 2 (move: end point is not a >> point), char 21". >> >> All very mysterious, Richmond. >> >> P.S. Before Mark, Jacque or Richard try it; there is a comma before >> my name! >> > From dunbarx at aol.com Wed Jul 27 10:17:13 2016 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 27 Jul 2016 10:17:13 -0400 Subject: Move to the points In-Reply-To: <65f74ed6-789d-395e-0de8-fd9d473d256f@gmail.com> References: <65f74ed6-789d-395e-0de8-fd9d473d256f@gmail.com> Message-ID: <1562cb76bf9-1c99-12fee@webprd-a39.mail.aol.com> ,Richmond I get no errors at all with your handlers. The figure-8 draws fine, and the tracking is lovely. Craig -----Original Message----- From: Richmond To: How to use LiveCode Sent: Wed, Jul 27, 2016 9:46 am Subject: Move to the points So I have a graphic object generated like this: on mouseUp put empty into fld "f1" put 0.1 into KOUNT repeat until KOUNT > 12.6 put (KOUNT * 10) into LYNE put ( ( ((sin (KOUNT)) * (cos (KOUNT)) ) * 300) + 400) into LR put ((((cos (KOUNT)) ) * 300) +400) into TB put (LR & "," & TB) into line LYNE of fld "f1" add 0.1 to KOUNT end repeat set the points of grc "c1" to fld "f1" end mouseUp (where grc "c1" is a pre-existing graphic) and a button containing this: on mouseUp move grc "g1" to the points of grc "c1" in 10 seconds end mouseUp and all should be fine, but it isn't, because on attempted execution of the button I get this: "button "GO": execution error at line 2 (move: end point is not a point), char 21". All very mysterious, Richmond. P.S. Before Mark, Jacque or Richard try it; there is a comma before my name! _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Wed Jul 27 10:18:03 2016 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 27 Jul 2016 10:18:03 -0400 Subject: Move to the points In-Reply-To: <40789ab3-3283-7755-addc-60531ebe107e@gmail.com> Message-ID: <1562cb830f7-1c99-1300c@webprd-a39.mail.aol.com> ,,Richmond. I was using your first posts handlers. Craig -----Original Message----- From: Richmond To: How to use LiveCode Sent: Wed, Jul 27, 2016 9:59 am Subject: Re: Move to the points Usual nonsense: replying to my own postings: The problem lies in my relying on put (KOUNT * 10) into LYNE to supply me with continuous line numbers for my listField, now sorted out: on mouseUp put empty into fld "f1" put 0.1 into KOUNT put 1 into LYNE repeat until KOUNT > 12.6 put ( ( ((sin (KOUNT)) * (cos (KOUNT)) ) * 300) + 400) into LR put ((((cos (KOUNT)) ) * 300) +400) into TB put (LR & "," & TB) into line LYNE of fld "f1" add 0.1 to KOUNT add 1 to LYNE end repeat set the points of grc "c1" to fld "f1" end mouseUp The IDE did not help with its cryptic message. R. On 27.07.2016 16:46, Richmond wrote: > Of course part of this could be the problem that my initial curve > generation script leaves empty lines in > > the listField that contains the points of the curve. > > R. > > > On 27.07.2016 16:44, Richmond wrote: >> So I have a graphic object generated like this: >> >> on mouseUp >> put empty into fld "f1" >> put 0.1 into KOUNT >> repeat until KOUNT > 12.6 >> put (KOUNT * 10) into LYNE >> put ( ( ((sin (KOUNT)) * (cos (KOUNT)) ) * 300) + 400) into LR >> put ((((cos (KOUNT)) ) * 300) +400) into TB >> put (LR & "," & TB) into line LYNE of fld "f1" >> add 0.1 to KOUNT >> end repeat >> set the points of grc "c1" to fld "f1" >> end mouseUp >> >> (where grc "c1" is a pre-existing graphic) >> >> and a button containing this: >> >> on mouseUp >> move grc "g1" to the points of grc "c1" in 10 seconds >> end mouseUp >> >> and all should be fine, but it isn't, because on attempted execution >> of the button I get this: >> >> "button "GO": execution error at line 2 (move: end point is not a >> point), char 21". >> >> All very mysterious, Richmond. >> >> P.S. Before Mark, Jacque or Richard try it; there is a comma before >> my name! >> > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Wed Jul 27 11:43:23 2016 From: paul at researchware.com (Paul Dupuis) Date: Wed, 27 Jul 2016 11:43:23 -0400 Subject: AW: HELP with: open printing for pdf... In-Reply-To: <3B4409B7-D957-43F5-8289-A03FDD1CA9AA@appisle.net> References: <5797869B.7090004@researchware.com> <3B4409B7-D957-43F5-8289-A03FDD1CA9AA@appisle.net> Message-ID: <5798D69B.4010509@researchware.com> Monte, Thank you so much - exactly that - so for LC6.x I added the follow which address the problem whether in the IDE or standalone put the defaultFolder into tSaveDefaultFolder if (the environment is "development") then -- IDE set the defaultFolder to specialFolderPath("engine") else -- standalone set the defaultFolder to appPath() end if -- do my PDF printing set the defaultFolder to tSaveDefaultFolder If I every see you at a LiveCode Conference (I have to attend Edinburgh via webcast this year), I owe you drinks or a meal or both! On 7/26/2016 11:31 PM, Monte Goulding wrote: > Hi Paul > > I bumped into this in a project just before I started working for LiveCode. There?s an issue some of the latter 6.7 releases that requires you to set the default folder to the folder the pdf printer dll is in before opening printing for the first time. I believe this is fixe in LC 8. > > Cheers > > Monte >> On 26 Jul 2016, at 4:49 PM, Paul Dupuis wrote: >> >> I have very large application running under LC 6.7.11 for Windows and OSX >> >> I have code that does an "open printing for PDF", prints a field, and >> closes printing. Under OSX this works fine. >> >> Under Windows, in both the IDE and a standalone, I get an execution >> error on the open printing for pdf line with the message: >> execution error at line n/a (printing: Unknown destination) >> >> In the standalone, I might have interpreted this error as that the >> "revpdfprinter.dll" did not get added to the standalone, but it is >> (although why this dll is placed at the application level and not in the >> Externals folder continues to puzzle me). >> >> I also might have though the file path & name passed to open pritning >> for pdf may have been a problem, but I have checked via debugger and the >> file path & name is valid, in a writable location, plenty of disk space, >> etc. Also tried multiple files and locations, so that is not it >> >> However the fact that it happens in the IDE completely mystifies me. Can >> ANY one tell me what this error really means and what the cause may be? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Wed Jul 27 12:31:52 2016 From: monte at appisle.net (Monte Goulding) Date: Wed, 27 Jul 2016 17:31:52 +0100 Subject: HELP with: open printing for pdf... In-Reply-To: <5798D69B.4010509@researchware.com> References: <5797869B.7090004@researchware.com> <3B4409B7-D957-43F5-8289-A03FDD1CA9AA@appisle.net> <5798D69B.4010509@researchware.com> Message-ID: <1A7743C9-4C72-425A-9AB8-CD2ED1AC7AD3@appisle.net> No problem Paul. Looking forward to the beer next year ;-) > On 27 Jul 2016, at 4:43 PM, Paul Dupuis wrote: > > Monte, > > Thank you so much - exactly that - so for LC6.x I added the follow which > address the problem whether in the IDE or standalone > > put the defaultFolder into tSaveDefaultFolder > if (the environment is "development") then -- IDE > set the defaultFolder to specialFolderPath("engine") > else -- standalone > set the defaultFolder to appPath() > end if > > -- do my PDF printing > > set the defaultFolder to tSaveDefaultFolder > > If I every see you at a LiveCode Conference (I have to attend Edinburgh > via webcast this year), I owe you drinks or a meal or both! > > > On 7/26/2016 11:31 PM, Monte Goulding wrote: >> Hi Paul >> >> I bumped into this in a project just before I started working for LiveCode. There?s an issue some of the latter 6.7 releases that requires you to set the default folder to the folder the pdf printer dll is in before opening printing for the first time. I believe this is fixe in LC 8. >> >> Cheers >> >> Monte >>> On 26 Jul 2016, at 4:49 PM, Paul Dupuis wrote: >>> >>> I have very large application running under LC 6.7.11 for Windows and OSX >>> >>> I have code that does an "open printing for PDF", prints a field, and >>> closes printing. Under OSX this works fine. >>> >>> Under Windows, in both the IDE and a standalone, I get an execution >>> error on the open printing for pdf line with the message: >>> execution error at line n/a (printing: Unknown destination) >>> >>> In the standalone, I might have interpreted this error as that the >>> "revpdfprinter.dll" did not get added to the standalone, but it is >>> (although why this dll is placed at the application level and not in the >>> Externals folder continues to puzzle me). >>> >>> I also might have though the file path & name passed to open pritning >>> for pdf may have been a problem, but I have checked via debugger and the >>> file path & name is valid, in a writable location, plenty of disk space, >>> etc. Also tried multiple files and locations, so that is not it >>> >>> However the fact that it happens in the IDE completely mystifies me. Can >>> ANY one tell me what this error really means and what the cause may be? >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From camm29 at tesco.net Wed Jul 27 12:57:31 2016 From: camm29 at tesco.net (Camm) Date: Wed, 27 Jul 2016 16:57:31 +0000 (UTC) Subject: Moving from 6.6.1 to 8.0.0 Handlers vanished In-Reply-To: <5797B372.6070703@researchware.com> Message-ID: <861710345.119986.1469638651505.JavaMail.root@md01.topaz.synacor.com> No syntax error just all handlers missing LC8 So in LC6xx on Fish statement... statement... end Fish on Dog statement... statement... end Dog Fish and Dog appear in Handler List and Statements execute fine. In LC8 Fish and Dog do not appear in Handler List , so when called the "Handler :cannot find handler" error. Regards Camm ----- Original Message ----- From: "Paul Dupuis" To: use-livecode at lists.runrev.com Sent: Tuesday, 26 July, 2016 8:01:06 PM Subject: Re: Moving from 6.6.1 to 8.0.0 Handlers vanished What you are seeing is a behavior where in LC 8 the engine sees something in the script that is a syntax error that LC6 regards as fine. Open the script in 8, make a small change and try to apply and it should tell you what it thing is the syntax error. On 7/26/2016 1:40 PM, Camm wrote: > Hello , > > > I may have missed something minor but had to stay with 6.6.1 until serial port issue addressed. This was addressed in version 8.0.0 so I upgraded. > > > Now when 8.0.0 loads the stack no handlers appear in the handler list ? > All the script was in "Stack Script" which can be seen but no handlers in the list. > > > When the script runs " Handler :cannot find handler" error. > > > Went back to 6.6.1 and all is fine. > > > Thanks in advance. > Camm > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hh.on-rev.com Wed Jul 27 12:14:33 2016 From: hh at hh.on-rev.com (-hh) Date: Wed, 27 Jul 2016 09:14:33 -0700 (PDT) Subject: Move to the points In-Reply-To: <40789ab3-3283-7755-addc-60531ebe107e@gmail.com> References: <65f74ed6-789d-395e-0de8-fd9d473d256f@gmail.com> <40789ab3-3283-7755-addc-60531ebe107e@gmail.com> Message-ID: <1469636073599-4707036.post@n4.nabble.com> This kind of a points list is a typical application for "repeat with .. step", we had it here recently ... on mouseUp repeat with j=0.1 to 12.5 step 0.1 put cr & (sin(j)*cos(j)*300 + 400, cos(j)*300 + 400) after pts end repeat set points of grc "g1" to char 2 to -1 of pts end mouseUp Richmond wrote > Usual nonsense: replying to my own postings: > > The problem lies in my relying on put (KOUNT * 10) into LYNE > > to supply me with continuous line numbers for my listField, now sorted > out: > > on mouseUp > put empty into fld "f1" > put 0.1 into KOUNT > put 1 into LYNE > repeat until KOUNT > 12.6 > put ( ( ((sin (KOUNT)) * (cos (KOUNT)) ) * 300) + 400) into LR > put ((((cos (KOUNT)) ) * 300) +400) into TB > put (LR & "," & TB) into line LYNE of fld "f1" > add 0.1 to KOUNT > add 1 to LYNE > end repeat > set the points of grc "c1" to fld "f1" > end mouseUp > > The IDE did not help with its cryptic message. > > R. > > > On 27.07.2016 16:46, Richmond wrote: >> Of course part of this could be the problem that my initial curve >> generation script leaves empty lines in >> >> the listField that contains the points of the curve. >> >> R. >> >> >> On 27.07.2016 16:44, Richmond wrote: >>> So I have a graphic object generated like this: >>> >>> on mouseUp >>> put empty into fld "f1" >>> put 0.1 into KOUNT >>> repeat until KOUNT > 12.6 >>> put (KOUNT * 10) into LYNE >>> put ( ( ((sin (KOUNT)) * (cos (KOUNT)) ) * 300) + 400) into LR >>> put ((((cos (KOUNT)) ) * 300) +400) into TB >>> put (LR & "," & TB) into line LYNE of fld "f1" >>> add 0.1 to KOUNT >>> end repeat >>> set the points of grc "c1" to fld "f1" >>> end mouseUp >>> >>> (where grc "c1" is a pre-existing graphic) >>> >>> and a button containing this: >>> >>> on mouseUp >>> move grc "g1" to the points of grc "c1" in 10 seconds >>> end mouseUp >>> >>> and all should be fine, but it isn't, because on attempted execution >>> of the button I get this: >>> >>> "button "GO": execution error at line 2 (move: end point is not a >>> point), char 21". >>> >>> All very mysterious, Richmond. >>> >>> P.S. Before Mark, Jacque or Richard try it; there is a comma before >>> my name! >>> >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at .runrev > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Move-to-the-points-tp4707028p4707036.html Sent from the Revolution - User mailing list archive at Nabble.com. From merakosp at gmail.com Wed Jul 27 13:08:58 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Wed, 27 Jul 2016 18:08:58 +0100 Subject: Moving from 6.6.1 to 8.0.0 Handlers vanished In-Reply-To: <861710345.119986.1469638651505.JavaMail.root@md01.topaz.synacor.com> References: <5797B372.6070703@researchware.com> <861710345.119986.1469638651505.JavaMail.root@md01.topaz.synacor.com> Message-ID: Camm, Are you on Windows? It might be the case that some non-printable chars where added to the script editor if you copied the scripts from LC 6.x and pasted them into LC 8. I would suggest you submit a bug report and attach your stack that exhibits the problem. Best, Panos -- On Wed, Jul 27, 2016 at 5:57 PM, Camm wrote: > No syntax error just all handlers missing LC8 > > So in LC6xx > > on Fish > statement... > statement... > end Fish > > on Dog > statement... > statement... > end Dog > > Fish and Dog appear in Handler List and Statements execute fine. > > > In LC8 > > Fish and Dog do not appear in Handler List , so when called the "Handler > :cannot find handler" error. > > > Regards > Camm > > > ----- Original Message ----- > From: "Paul Dupuis" > To: use-livecode at lists.runrev.com > Sent: Tuesday, 26 July, 2016 8:01:06 PM > Subject: Re: Moving from 6.6.1 to 8.0.0 Handlers vanished > > What you are seeing is a behavior where in LC 8 the engine sees > something in the script that is a syntax error that LC6 regards as fine. > > Open the script in 8, make a small change and try to apply and it should > tell you what it thing is the syntax error. > > > > On 7/26/2016 1:40 PM, Camm wrote: > > Hello , > > > > > > I may have missed something minor but had to stay with 6.6.1 until > serial port issue addressed. This was addressed in version 8.0.0 so I > upgraded. > > > > > > Now when 8.0.0 loads the stack no handlers appear in the handler list ? > > All the script was in "Stack Script" which can be seen but no handlers > in the list. > > > > > > When the script runs " Handler :cannot find handler" error. > > > > > > Went back to 6.6.1 and all is fine. > > > > > > Thanks in advance. > > Camm > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Wed Jul 27 13:21:38 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 27 Jul 2016 11:21:38 -0600 Subject: Moving from 6.6.1 to 8.0.0 Handlers vanished In-Reply-To: References: <5797B372.6070703@researchware.com> <861710345.119986.1469638651505.JavaMail.root@md01.topaz.synacor.com> Message-ID: Camm, you did actually type something (almost anything) into the script (you said the script is there, but the handlers don't show) and then apply the changes? (even a space will work) This was mentioned elsewhere, and I've run across it in the past myself where a script can be set, but still have something wrong with it making the handlers list appear empty. I've also seen it where the script was fine, but its the same issue. The script is properly set, but not seen correctly. Usually making a tiny change in the script and then applying those changes will fix it. On Wed, Jul 27, 2016 at 11:08 AM, panagiotis merakos wrote: > Camm, > > Are you on Windows? It might be the case that some non-printable chars > where added to the script editor if you copied the scripts from LC 6.x and > pasted them into LC 8. > > I would suggest you submit a bug report and attach your stack that exhibits > the problem. > > Best, > Panos > -- > > > On Wed, Jul 27, 2016 at 5:57 PM, Camm wrote: > > > No syntax error just all handlers missing LC8 > > > > So in LC6xx > > > > on Fish > > statement... > > statement... > > end Fish > > > > on Dog > > statement... > > statement... > > end Dog > > > > Fish and Dog appear in Handler List and Statements execute fine. > > > > > > In LC8 > > > > Fish and Dog do not appear in Handler List , so when called the "Handler > > :cannot find handler" error. > > > > > > Regards > > Camm > > > > > > ----- Original Message ----- > > From: "Paul Dupuis" > > To: use-livecode at lists.runrev.com > > Sent: Tuesday, 26 July, 2016 8:01:06 PM > > Subject: Re: Moving from 6.6.1 to 8.0.0 Handlers vanished > > > > What you are seeing is a behavior where in LC 8 the engine sees > > something in the script that is a syntax error that LC6 regards as fine. > > > > Open the script in 8, make a small change and try to apply and it should > > tell you what it thing is the syntax error. > > > > > > > > On 7/26/2016 1:40 PM, Camm wrote: > > > Hello , > > > > > > > > > I may have missed something minor but had to stay with 6.6.1 until > > serial port issue addressed. This was addressed in version 8.0.0 so I > > upgraded. > > > > > > > > > Now when 8.0.0 loads the stack no handlers appear in the handler list ? > > > All the script was in "Stack Script" which can be seen but no handlers > > in the list. > > > > > > > > > When the script runs " Handler :cannot find handler" error. > > > > > > > > > Went back to 6.6.1 and all is fine. > > > > > > > > > Thanks in advance. > > > Camm > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Wed Jul 27 13:39:45 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 27 Jul 2016 10:39:45 -0700 Subject: Moving from 6.6.1 to 8.0.0 Handlers vanished In-Reply-To: <861710345.119986.1469638651505.JavaMail.root@md01.topaz.synacor.com> References: <861710345.119986.1469638651505.JavaMail.root@md01.topaz.synacor.com> Message-ID: Camm wrote: > No syntax error just all handlers missing LC8 You may want to double-check that the splitter at the bottom of the window isn't pulled all the way down. That's normally where compilation errors are reported, but if it's collapsed you may not see them. A single error preventing a script from compiling will exhibit the symptoms described. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From camm29 at tesco.net Wed Jul 27 13:43:43 2016 From: camm29 at tesco.net (Camm) Date: Wed, 27 Jul 2016 17:43:43 +0000 (UTC) Subject: Moving from 6.6.1 to 8.0.0 Handlers vanished In-Reply-To: Message-ID: <2017824289.120543.1469641423926.JavaMail.root@md01.topaz.synacor.com> Hi , Thanks all............. Yes , I put in a space , applied and saved. Opened again , no change , then put space in and apply this time error for using "until" in repeat. Put that right and all handlers appeared , as you said. Great !! Regards Camm ----- Original Message ----- From: "Richard Gaskin" To: use-livecode at lists.runrev.com Sent: Wednesday, 27 July, 2016 6:39:45 PM Subject: Re: Moving from 6.6.1 to 8.0.0 Handlers vanished Camm wrote: > No syntax error just all handlers missing LC8 You may want to double-check that the splitter at the bottom of the window isn't pulled all the way down. That's normally where compilation errors are reported, but if it's collapsed you may not see them. A single error preventing a script from compiling will exhibit the symptoms described. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mark at canelasoftware.com Wed Jul 27 15:10:12 2016 From: mark at canelasoftware.com (Mark Talluto) Date: Wed, 27 Jul 2016 12:10:12 -0700 Subject: Reading arrays, 3 methods tested, results Message-ID: <6882F0C8-CB60-4D01-B79B-133D4A1A5202@canelasoftware.com> Thought this might be interesting to those benchmarking reads on arrays. I was working to optimize one small section of code in our database and found that the method I figured would be the slowest ended up being the fastest. Maybe this will be helpful to others doing a lot of array work. Macbook Pro, macOS 10.11.5 LiveCode 8.1 dp2 Data: 135k records (method 1) 1.36 seconds --GET ALL THE RECORDS FROM THIS TABLE repeat for each element xRecordClusterA in gCSIdatabaseA[xTableID] repeat for each element xElement in xRecordClusterA put xElement into tRecordA[xTableID][(the keys of xRecordClusterA)] end repeat end repeat (method 2) 220 ms --GET ALL THE RECORDS FROM THIS TABLE repeat for each element xRecord in gCSIdatabaseA[xTableID] repeat for each key xRecordID in xRecord put xRecord [xRecordID] into tRecordA[xTableID][xRecordID] end repeat end repeat (method 3) 77 ms --GET ALL THE RECORDS FROM THIS TABLE repeat for each key xRecordCluster in gCSIdatabaseA[xTableID] put the keys of gCSIdatabaseA[xTableID][xRecordCluster] into tRecordID put gCSIdatabaseA[xTableID][xRecordCluster][tRecordID] into tRecordA[xTableID][tRecordID] end repeat Best regards, Mark Talluto livecloud.io canelasoftware.com From ambassador at fourthworld.com Wed Jul 27 15:48:39 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 27 Jul 2016 12:48:39 -0700 Subject: Reading arrays, 3 methods tested, results In-Reply-To: <6882F0C8-CB60-4D01-B79B-133D4A1A5202@canelasoftware.com> References: <6882F0C8-CB60-4D01-B79B-133D4A1A5202@canelasoftware.com> Message-ID: Thanks, Mark. You know I loves me some benchmarking. :) Do all three produce the same result? - rg Mark Talluto wrote: > Thought this might be interesting to those benchmarking reads on > arrays. I was working to optimize one small section of code in > our database and found that the method I figured would be the slowest > ended up being the fastest. Maybe this will be helpful to others > doing a lot of array work. > > Macbook Pro, macOS 10.11.5 > LiveCode 8.1 dp2 > Data: 135k records > > (method 1) 1.36 seconds > --GET ALL THE RECORDS FROM THIS TABLE > repeat for each element xRecordClusterA in gCSIdatabaseA[xTableID] > repeat for each element xElement in xRecordClusterA > put xElement into tRecordA[xTableID][(the keys of xRecordClusterA)] > end repeat > end repeat > > > (method 2) 220 ms > --GET ALL THE RECORDS FROM THIS TABLE > repeat for each element xRecord in gCSIdatabaseA[xTableID] > repeat for each key xRecordID in xRecord > put xRecord [xRecordID] into tRecordA[xTableID][xRecordID] > end repeat > end repeat > > > (method 3) 77 ms > --GET ALL THE RECORDS FROM THIS TABLE > repeat for each key xRecordCluster in gCSIdatabaseA[xTableID] > put the keys of gCSIdatabaseA[xTableID][xRecordCluster] into tRecordID > put gCSIdatabaseA[xTableID][xRecordCluster][tRecordID] into tRecordA[xTableID][tRecordID] > end repeat > From mark at canelasoftware.com Wed Jul 27 16:41:22 2016 From: mark at canelasoftware.com (Mark Talluto) Date: Wed, 27 Jul 2016 13:41:22 -0700 Subject: Reading arrays, 3 methods tested, results In-Reply-To: References: <6882F0C8-CB60-4D01-B79B-133D4A1A5202@canelasoftware.com> Message-ID: <94D4FC99-D477-4C3B-961C-5784FAE09107@canelasoftware.com> Yes. -Mark > On Jul 27, 2016, at 12:48 PM, Richard Gaskin wrote: > > Thanks, Mark. You know I loves me some benchmarking. :) > > Do all three produce the same result? > > - rg > > > Mark Talluto wrote: > > Thought this might be interesting to those benchmarking reads on > > arrays. I was working to optimize one small section of code in > > our database and found that the method I figured would be the slowest > > ended up being the fastest. Maybe this will be helpful to others > > doing a lot of array work. > > > > Macbook Pro, macOS 10.11.5 > > LiveCode 8.1 dp2 > > Data: 135k records > > > > (method 1) 1.36 seconds > > --GET ALL THE RECORDS FROM THIS TABLE > > repeat for each element xRecordClusterA in gCSIdatabaseA[xTableID] > > repeat for each element xElement in xRecordClusterA > > put xElement into tRecordA[xTableID][(the keys of xRecordClusterA)] > > end repeat > > end repeat > > > > > > (method 2) 220 ms > > --GET ALL THE RECORDS FROM THIS TABLE > > repeat for each element xRecord in gCSIdatabaseA[xTableID] > > repeat for each key xRecordID in xRecord > > put xRecord [xRecordID] into tRecordA[xTableID][xRecordID] > > end repeat > > end repeat > > > > > > (method 3) 77 ms > > --GET ALL THE RECORDS FROM THIS TABLE > > repeat for each key xRecordCluster in gCSIdatabaseA[xTableID] > > put the keys of gCSIdatabaseA[xTableID][xRecordCluster] into tRecordID > > put gCSIdatabaseA[xTableID][xRecordCluster][tRecordID] into tRecordA[xTableID][tRecordID] > > end repeat > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Jul 27 16:52:44 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 27 Jul 2016 13:52:44 -0700 Subject: Reading arrays, 3 methods tested, results In-Reply-To: <94D4FC99-D477-4C3B-961C-5784FAE09107@canelasoftware.com> References: <94D4FC99-D477-4C3B-961C-5784FAE09107@canelasoftware.com> Message-ID: Mark Talluto wrote: >> On Jul 27, 2016, at 12:48 PM, Richard Gaskin wrote: >> >> Thanks, Mark. You know I loves me some benchmarking. :) >> >> Do all three produce the same result? > > Yes. I get very different results here using this script to produce a small sample data set. I would expect them to be different given that Method 1 re-uses a single multi-line key, and Method 3 uses a multi-line key to retrieve a value that in the original data is a simpler key. Then again, I have to admit I'm not sure what the transformation is supposed to do. Where does this code go wrong?: on mouseUp -- Create small data set: repeat with i = 1 to 5 repeat with j = 1 to 5 repeat with k = 1 to 5 put "val-"& i &"-"& j &"-"& k into tVal put tVal into gCSIdatabaseA[i][j][k] end repeat end repeat end repeat -- Arbitrary ID for sub-array of interest: put 5 into xTableID -- --GET ALL THE RECORDS FROM THIS TABLE repeat for each element xRecordClusterA in gCSIdatabaseA[xTableID] repeat for each element xElement in xRecordClusterA put xElement into tRecordA1[xTableID][(the keys of xRecordClusterA)] end repeat end repeat --GET ALL THE RECORDS FROM THIS TABLE repeat for each element xRecord in gCSIdatabaseA[xTableID] repeat for each key xRecordID in xRecord put xRecord[xRecordID] into tRecordA2[xTableID][xRecordID] end repeat end repeat --GET ALL THE RECORDS FROM THIS TABLE repeat for each key xRecordCluster in gCSIdatabaseA[xTableID] put the keys of gCSIdatabaseA[xTableID][xRecordCluster] into tRecordID put gCSIdatabaseA[xTableID][xRecordCluster][tRecordID] into tRecordA3[xTableID][tRecordID] end repeat -- Display result: put arrayEncode(tRecordA1) into r1 put arrayEncode(tRecordA2) into r2 put arrayEncode(tRecordA3) into r3 put ( (r1 = r2) AND (r2 = r3) ) \ &cr&cr& "Set1 len="& len(r1) &cr&""& r1 &"" \ &cr&cr& "Set2 len="& len(r2) &cr&""& r2 &"" \ &cr&cr& "Set3 len="& len(r3) &cr&""& r3 &"" end mouseUp -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From revdev at pdslabs.net Wed Jul 27 17:28:14 2016 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 27 Jul 2016 14:28:14 -0700 Subject: Reading arrays, 3 methods tested, results In-Reply-To: References: <94D4FC99-D477-4C3B-961C-5784FAE09107@canelasoftware.com> Message-ID: Hey Richard, Wouldn't it give more accurate results to compare arrays without encoding them, rather than comparing the encoded arrays? Isn't encoded string way roughly 100% likely to be 'not equal'? Thanks - Phil Davis On 7/27/16 1:52 PM, Richard Gaskin wrote: > Mark Talluto wrote: > > >> On Jul 27, 2016, at 12:48 PM, Richard Gaskin wrote: > >> > >> Thanks, Mark. You know I loves me some benchmarking. :) > >> > >> Do all three produce the same result? > > > > Yes. > > I get very different results here using this script to produce a small > sample data set. I would expect them to be different given that > Method 1 re-uses a single multi-line key, and Method 3 uses a > multi-line key to retrieve a value that in the original data is a > simpler key. > > Then again, I have to admit I'm not sure what the transformation is > supposed to do. > > Where does this code go wrong?: > > > > on mouseUp > -- Create small data set: > repeat with i = 1 to 5 > repeat with j = 1 to 5 > repeat with k = 1 to 5 > put "val-"& i &"-"& j &"-"& k into tVal > put tVal into gCSIdatabaseA[i][j][k] > end repeat > end repeat > end repeat > -- Arbitrary ID for sub-array of interest: > put 5 into xTableID > -- > > --GET ALL THE RECORDS FROM THIS TABLE > repeat for each element xRecordClusterA in gCSIdatabaseA[xTableID] > repeat for each element xElement in xRecordClusterA > put xElement into tRecordA1[xTableID][(the keys of > xRecordClusterA)] > end repeat > end repeat > > > --GET ALL THE RECORDS FROM THIS TABLE > repeat for each element xRecord in gCSIdatabaseA[xTableID] > repeat for each key xRecordID in xRecord > put xRecord[xRecordID] into tRecordA2[xTableID][xRecordID] > end repeat > end repeat > > > --GET ALL THE RECORDS FROM THIS TABLE > repeat for each key xRecordCluster in gCSIdatabaseA[xTableID] > put the keys of gCSIdatabaseA[xTableID][xRecordCluster] into > tRecordID > put gCSIdatabaseA[xTableID][xRecordCluster][tRecordID] into > tRecordA3[xTableID][tRecordID] > end repeat > > > -- Display result: > put arrayEncode(tRecordA1) into r1 > put arrayEncode(tRecordA2) into r2 > put arrayEncode(tRecordA3) into r3 > put ( (r1 = r2) AND (r2 = r3) ) \ > &cr&cr& "Set1 len="& len(r1) &cr&""& r1 &"" \ > &cr&cr& "Set2 len="& len(r2) &cr&""& r2 &"" \ > &cr&cr& "Set3 len="& len(r3) &cr&""& r3 &"" > end mouseUp > > -- Phil Davis From ambassador at fourthworld.com Wed Jul 27 17:34:58 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 27 Jul 2016 14:34:58 -0700 Subject: Reading arrays, 3 methods tested, results In-Reply-To: References: Message-ID: Phil Davis wrote: > Hey Richard, > > Wouldn't it give more accurate results to compare arrays without > encoding them, rather than comparing the encoded arrays? Isn't > encoded string way roughly 100% likely to be 'not equal'? Is it? Modifying my code to come up with examples using different algos, I was able to get a "true" in my routine. Two benefits of arrayEncode there are that it makes the output visible, so you can see (at least roughly) how they're different, and it lets us get a length for the array data, which can be helpful given that many things in LC's binary encoded array format will display as non-printing characters (numbers, for example, as stored in binary form). Now that = can be used to recursively compare arrays that may not be a bad option, or even better to translate the output to JSON for even better visibility. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From brahma at hindu.org Wed Jul 27 19:25:14 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 27 Jul 2016 23:25:14 +0000 Subject: When is open stack sent on Mobile Message-ID: <4397501C-A88D-4ADA-B65D-220574B89F73@hindu.org> It appears on mobile you can issue go stack "stackOne" and then later go stack "stackTwo" and then you will only see "stackOne" But if you have links that go backto "stackOne" I'm not getting any open stack or open card messages handlers to fire. I suspect that's because they are still. Anyone else using multiple stacks in a mobile app?and found a way to trap for when a stack does into the background and the comes back into the foreground (takes over the screen() unfortunately, suspend and resume, are not available on mobile. BR From mwieder at ahsoftware.net Wed Jul 27 21:52:18 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 27 Jul 2016 18:52:18 -0700 Subject: Reading arrays, 3 methods tested, results In-Reply-To: References: <94D4FC99-D477-4C3B-961C-5784FAE09107@canelasoftware.com> Message-ID: <57996552.7090000@ahsoftware.net> On 07/27/2016 01:52 PM, Richard Gaskin wrote: > I get very different results here using this script to produce a small > sample data set. I would expect them to be different given that Method > 1 re-uses a single multi-line key, and Method 3 uses a multi-line key to > retrieve a value that in the original data is a simpler key. Yeah, I'm with Richard on this. Those are very different routines. The first one of course is wrong because it won't put anything into the result array. Even if it worked, I'd expect it to be the slowest because "the keys of xxxx" has to be evaluated at runtime, so it's essentially the same speed as a "do" statement. The third form is wrong for a similar reason as the first, just in a less intuitive and faster wrongness. > Then again, I have to admit I'm not sure what the transformation is > supposed to do. Nor I. -- Mark Wieder ahsoftware at gmail.com From paul at livecode.org Thu Jul 28 00:05:33 2016 From: paul at livecode.org (Paul Hibbert) Date: Wed, 27 Jul 2016 21:05:33 -0700 Subject: When is open stack sent on Mobile In-Reply-To: <4397501C-A88D-4ADA-B65D-220574B89F73@hindu.org> References: <4397501C-A88D-4ADA-B65D-220574B89F73@hindu.org> Message-ID: A quick test shows that suspendStack and resumeStack do appear to work on the iOS simulator despite the omission of mobile platforms in the dictionary. Sorry I don?t have Android set up for testing right now. LC 8.1.0 ? Mac OSX 10.11.6 ? iOS 9.3 Paul > On Jul 27, 2016, at 4:25 PM, Sannyasin Brahmanathaswami wrote: > > It appears on mobile you can issue > > go stack "stackOne" > > and then later > > go stack "stackTwo" > > and then you will only see "stackOne" > > But if you have links that go backto "stackOne" I'm not getting any open stack or open card messages handlers to fire. I suspect that's because they are still. > > Anyone else using multiple stacks in a mobile app?and found a way to trap for when a stack does into the background and the comes back into the foreground (takes over the screen() unfortunately, suspend and resume, are not available on mobile. > > > BR > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Thu Jul 28 10:41:31 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 28 Jul 2016 14:41:31 +0000 Subject: When is open stack sent on Mobile In-Reply-To: References: <4397501C-A88D-4ADA-B65D-220574B89F73@hindu.org> Message-ID: @ Paul: tks OK I'll test for that? the dictionary is behind for many entries? so perhaps this is one of them. Anyone doing Android? can you check to see if Suspend and Resume are passed to stacks that come and go from the foreground of the app? (but are not closed along the way..) BR On 7/27/16, 6:05 PM, "use-livecode on behalf of Paul Hibbert" wrote: A quick test shows that suspendStack and resumeStack do appear to work on the iOS simulator despite the omission of mobile platforms in the dictionary. Sorry I don?t have Android set up for testing right now. From ambassador at fourthworld.com Thu Jul 28 11:13:59 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 28 Jul 2016 08:13:59 -0700 Subject: When is open stack sent on Mobile In-Reply-To: References: Message-ID: Sannyasin Brahmanathaswami wrote: > Anyone doing Android? Only 80% of smartphone users, 70% of tablet users, and now 100& of current Chromebook users too. :) > can you check to see if Suspend and Resume are passed to stacks > that come and go from the foreground of the app? (but are not > closed along the way..) I just tested suspend, resume, suspendStack, and resumeStack - all no-go on Android in LC 8.1dp2. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From roger.e.eller at sealedair.com Thu Jul 28 12:32:42 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 28 Jul 2016 12:32:42 -0400 Subject: When is open stack sent on Mobile In-Reply-To: References: Message-ID: What kind of Mickey Mouse operation is this anyway?! On Thu, Jul 28, 2016 at 11:13 AM, Richard Gaskin wrote: > Sannyasin Brahmanathaswami wrote: > > > Anyone doing Android? > > Only 80% of smartphone users, 70% of tablet users, and now 100& of current > Chromebook users too. :) > > > can you check to see if Suspend and Resume are passed to stacks > > that come and go from the foreground of the app? (but are not > > closed along the way..) > > I just tested suspend, resume, suspendStack, and resumeStack - all no-go > on Android in LC 8.1dp2. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mark at livecode.com Thu Jul 28 12:43:15 2016 From: mark at livecode.com (Mark Waddingham) Date: Thu, 28 Jul 2016 18:43:15 +0200 Subject: When is open stack sent on Mobile In-Reply-To: <4397501C-A88D-4ADA-B65D-220574B89F73@hindu.org> References: <4397501C-A88D-4ADA-B65D-220574B89F73@hindu.org> Message-ID: On 2016-07-28 01:25, Sannyasin Brahmanathaswami wrote: > It appears on mobile you can issue > > go stack "stackOne" > > and then later > > go stack "stackTwo" > > and then you will only see "stackOne" > > But if you have links that go backto "stackOne" I'm not getting any > open stack or open card messages handlers to fire. I suspect that's > because they are still. > > Anyone else using multiple stacks in a mobile app?and found a way to > trap for when a stack does into the background and the comes back into > the foreground (takes over the screen() unfortunately, suspend and > resume, are not available on mobile. Stacks on mobile and desktop work in the same way so if you 'go stack' then it opens the new stack (if it is not already open) and moves it (notionally) to the top (just as happens on desktop - the window of the target of 'go' is brought to the front of that layer). If you use 'go stack ... in window ...' then it will close the current stack and open the new one. The suspend / resume messages would be inappropriate here as they are to do with switching applications rather than windows (and are not currently sent on mobile). The suspendStack / resumeStack messages are tied to window focus and aren't platform specific - they are sent when the stack with input focus changes. The fact they apparantly work on iOS and not Android is slightly strange, as that mechanism is implemented (on mobile) in the platform-independent code so it should work the same way on both. So, there is obviously something slightly amiss going on there. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From brahma at hindu.org Thu Jul 28 13:46:21 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 28 Jul 2016 17:46:21 +0000 Subject: When is open stack sent on Mobile In-Reply-To: References: <4397501C-A88D-4ADA-B65D-220574B89F73@hindu.org> Message-ID: <36678474-8846-4909-B2EE-8D4F724A85F6@hindu.org> @ Mark? thanks for the clarification The current app we have in progress is modular? many, many stacks being called all of which are independent LC stacks (not substacks of anything). it works quite well on the desktop but on mobile there are caveats that have to be dealt with explicitly and "immediately" so to speak, when: instantiating scrollers -- the standard implementation is to delete a scrolling regions when creating a new one, because you can't necessarily know where (what card, stack) the user is coming and going from and the ID and rect of the scroller that is required on any given card will differ. So if you are firing those on open stack, then you need to close it first. I'm a newbie at this mobile stuff, so perhaps over time we will find better architecture, but for now I've start issuing a "close this stack" on every move to a different "module" (stack) ? this works. switching from landscape to portrait -- similarly one must re-set up the UI explicitly and typically the old way of doing such would be in a preopen or open stack handlers? again, these need to fire when moving back and forth. Just this morning I successfully was able to go from a stack in portrait orientation lock to portrait, portrait upside down to a landscape stack, lock to landscape right, left? and back again? but it required specifically setting the rect of the stack to 0,0,414,716 in a preopen stack handler So I've taken to using things like this throughout, because the user could be on card 3 of Stack 2, (portrait) moves to card 5 of Stack 6 (landscape)? so "Back" requires command closeStopCloseGoRecent go recent close me # to ensure that future preopen and open stack handlers fire end closeStopCloseGoRecent so that when we go back to Stack 6.. the on preopenstack initializeInterfaceDefaults pOrientation # in which we explicitly set up card rect # mobileSetAllowedOrientation on the fly? end preopenstack I'm sure others could analyze the frame work and come up with more optimized methods? but so far it's working! I'm not sure that "go in window" gets us much more than what I'm doing now. Slowly finding ways to moving thing to common backscripts and behaviors. But "who gets the message" can be tricky. e.g. I'm told that "the script that creates mobile object gets it's subsequent messages? " OK? and it appears these message will not "cascade up" the message path. So still stuck on scrollers--I have the same script to instantiate scrollers in every stack, because the same methods that work in that context do not work if I move them to a single common behavior for the different stacks? I suspect because the preopencard handler is call the createScroller "portal-links" and since the messages about this are sent back to the card? the behavior never gets it? most significantly, the cmd to delete existing scroller with different ID for that same or different region. Still wrestling with that one? or rather, threw in the towel after two days wasted trying to optimize the architecture.. I bailed and copied that createScroller handler to all the stacks? learning slowly? On 7/28/16, 6:43 AM, "use-livecode on behalf of Mark Waddingham" wrote: Stacks on mobile and desktop work in the same way so if you 'go stack' then it opens the new stack (if it is not already open) and moves it (notionally) to the top (just as happens on desktop - the window of the target of 'go' is brought to the front of that layer). If you use 'go stack ... in window ...' then it will close the current stack and open the new one. From dan at clearvisiontech.com Thu Jul 28 14:11:17 2016 From: dan at clearvisiontech.com (Dan Friedman) Date: Thu, 28 Jul 2016 11:11:17 -0700 Subject: MORE HELP with: open printing for pdf... In-Reply-To: References: Message-ID: Monte (and Paul), Thanks for reporting your findings. I have been struggling with this issue for some time (with LC 7.0.1). Adding the default folder to the path to the DLL fixed the problem. However, now that it's PDFing, a new problem exists. If I "open printing to pdf" and then run multiple "print card" commands, each print comes out as a separate document and I am asked to select a location to save the output for each page. I haven't issues a "close printing" command yet, but it's still outputting separate PDFs. It works fine in the IDE, it works fine in the Mac Standalone, but I get this odd behavior on with the Windows standalone. One note... I "open printing to pdf" in stack A. Then, I open stack B and do the "print card" commands. Then, I close stack B and stack A issues the "close printing" command. I then repeat as needed. I don't think this matters as it works in the IDE and on the Mac. Any thoughts? Thank you in advance! -Dan > On 27 Jul 2016, at 4:43 PM, Paul Dupuis wrote: > > Monte, > > Thank you so much - exactly that - so for LC6.x I added the follow which > address the problem whether in the IDE or standalone > > put the defaultFolder into tSaveDefaultFolder > if (the environment is "development") then -- IDE > set the defaultFolder to specialFolderPath("engine") > else -- standalone > set the defaultFolder to appPath() > end if > > -- do my PDF printing > > set the defaultFolder to tSaveDefaultFolder > > If I every see you at a LiveCode Conference (I have to attend Edinburgh > via webcast this year), I owe you drinks or a meal or both! From ambassador at fourthworld.com Thu Jul 28 14:42:19 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 28 Jul 2016 11:42:19 -0700 Subject: When is open stack sent on Mobile In-Reply-To: <36678474-8846-4909-B2EE-8D4F724A85F6@hindu.org> References: <36678474-8846-4909-B2EE-8D4F724A85F6@hindu.org> Message-ID: <85fb0e07-d28e-3852-7a6e-3e84c496a1d0@fourthworld.com> Sannyasin Brahmanathaswami wrote: > switching from landscape to portrait > -- similarly one must re-set up the UI explicitly and typically > the old way of doing such would be in a preopen or open stack > handlers? I've been handling stack resizing with a resizeStack handler, sent to the card when the stack is first opened on mobile, and on all platforms whenever a stack is resized, such as via rotation of the device. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From paul at researchware.com Thu Jul 28 14:48:25 2016 From: paul at researchware.com (Paul Dupuis) Date: Thu, 28 Jul 2016 14:48:25 -0400 Subject: MORE HELP with: open printing for pdf... In-Reply-To: References: Message-ID: <579A5379.8080608@researchware.com> Hi Dan, i am using revPrintText in my printing to PDF. i.e. open printing to pdf tFile revPrintText theHTMLText close printing where theHTMLText is basically 'the htmlText" or a target field. This is working for me in *most* cases. Our field content that gets converted to a PDF ranges from plain text to very rich content, including embedded images in the field (via the imageSource of char x). This produces a single, properly paged, PDF. However with some content - we have yet to figure out what field content triggers it - we get a script execution error in revPrintText Object: property is not an integer: 4294907844 (Line 0, column 0) Chunk: can't set property: (Line 162, column 22) Object: can't set object property: 4294907844 (Line 162, column 7) set: can't set property: 4294907844 (Line 162, column 1) repeat: error in statement: (Line 141, column 1) Handler: error in statement: revPrintText (Line 141, column 1) Object ID: stack "revprintlibrary So, we may have to change to using print card or something else. I have no experience at using open printing for PDF with anything other than revPrintText, so I am sorry, but I don't know what may be the cause of the problem you've run into. -- Paul On 7/28/2016 2:11 PM, Dan Friedman wrote: > Monte (and Paul), > > Thanks for reporting your findings. I have been struggling with this issue for some time (with LC 7.0.1). Adding the default folder to the path to the DLL fixed the problem. > > However, now that it's PDFing, a new problem exists. If I "open printing to pdf" and then run multiple "print card" commands, each print comes out as a separate document and I am asked to select a location to save the output for each page. I haven't issues a "close printing" command yet, but it's still outputting separate PDFs. It works fine in the IDE, it works fine in the Mac Standalone, but I get this odd behavior on with the Windows standalone. > > One note... I "open printing to pdf" in stack A. Then, I open stack B and do the "print card" commands. Then, I close stack B and stack A issues the "close printing" command. I then repeat as needed. I don't think this matters as it works in the IDE and on the Mac. > > > Any thoughts? > > Thank you in advance! > -Dan > > >> On 27 Jul 2016, at 4:43 PM, Paul Dupuis wrote: >> >> Monte, >> >> Thank you so much - exactly that - so for LC6.x I added the follow which >> address the problem whether in the IDE or standalone >> >> put the defaultFolder into tSaveDefaultFolder >> if (the environment is "development") then -- IDE >> set the defaultFolder to specialFolderPath("engine") >> else -- standalone >> set the defaultFolder to appPath() >> end if >> >> -- do my PDF printing >> >> set the defaultFolder to tSaveDefaultFolder >> >> If I every see you at a LiveCode Conference (I have to attend Edinburgh >> via webcast this year), I owe you drinks or a meal or both! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Thu Jul 28 15:05:15 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 28 Jul 2016 14:05:15 -0500 Subject: When is open stack sent on Mobile In-Reply-To: <36678474-8846-4909-B2EE-8D4F724A85F6@hindu.org> References: <4397501C-A88D-4ADA-B65D-220574B89F73@hindu.org> <36678474-8846-4909-B2EE-8D4F724A85F6@hindu.org> Message-ID: On 7/28/2016 12:46 PM, Sannyasin Brahmanathaswami wrote: > switching from landscape to portrait -- similarly one must re-set up > the UI explicitly and typically the old way of doing such would be in > a preopen or open stack handlers? again, these need to fire when > moving back and forth. Just this morning I successfully was able to > go from a stack in portrait orientation lock to portrait, portrait > upside down to a landscape stack, lock to landscape right, left? and > back again? but it required specifically setting the rect of the > stack to 0,0,414,716 in a preopen stack handler Yeah, what Richard said. Use resizeStack to reset the UI. I think specifically setting the rect of the stack may cause issues when you run on Android where window sizes are all over the place. I'd let the engine manage the stack size by using the fullScreenMode property, and set up all your objects using relative coords rather than hard-coded ones. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brahma at hindu.org Thu Jul 28 16:28:51 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 28 Jul 2016 20:28:51 +0000 Subject: Destroy Browser Window Message-ID: <033F7947-6B82-4305-A0BB-65E3C6DD8BC4@hindu.org> I posted this, perhaps prematurely, as a bug.. I am unable to find the equivalent of revBrowserClose instanceID for the new browser widget. as such? the widget/window/rect and it's content persist on screen on mobile as you open and close other cards/stacks Am I missing something? I did my home work, studied the dictionary and even opened the browser.lcb file I don't see anything close But, there is this in the LCB file? perhaps all it takes is setting the URL of the browser to empty? will try that? but still seems like there should be a higher level "destroy browser instance" for the new browser widget private handler clearBrowser() setHtmlText(the empty string) end handler BR From brahma at hindu.org Thu Jul 28 16:58:42 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 28 Jul 2016 20:58:42 +0000 Subject: Destroy Browser Window In-Reply-To: <033F7947-6B82-4305-A0BB-65E3C6DD8BC4@hindu.org> References: <033F7947-6B82-4305-A0BB-65E3C6DD8BC4@hindu.org> Message-ID: <624C9239-9DB4-44E8-8FB1-87FAEAC4F81A@hindu.org> setting the URL for the browser widget to empty doesn't destroy the region? all it does it turns it "white" (empty) so now you have a white block overlaying the stack "permanently" with no means to dismiss. On 7/28/16, 10:28 AM, "use-livecode on behalf of Sannyasin Brahmanathaswami" wrote: But, there is this in the LCB file? perhaps all it takes is setting the URL of the browser to empty? will try that? but still seems like there should be a higher level "destroy browser instance" for the new browser widget private handler clearBrowser() setHtmlText(the empty string) end handler From brahma at hindu.org Thu Jul 28 17:06:50 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 28 Jul 2016 21:06:50 +0000 Subject: When is open stack sent on Mobile In-Reply-To: References: <4397501C-A88D-4ADA-B65D-220574B89F73@hindu.org> <36678474-8846-4909-B2EE-8D4F724A85F6@hindu.org> Message-ID: <1E4CBCDF-E74D-484D-9CA2-E453E7A6EE5E@hindu.org> Make sense, the dictionary doesn't state explicitly that a resizeStack msg is sent when orientation is changed.. that's why I did not go that route, but looking at the orientationChanged entry? which says " If you wish to perform an action after the interface has been rotated, then either do so on receipt of resizeStack, or by using a send in 0 milliseconds command." it infers that resizeStack is sent.. I'll try that. On 7/28/16, 9:05 AM, "use-livecode on behalf of J. Landman Gay" wrote: Yeah, what Richard said. Use resizeStack to reset the UI. I think specifically setting the rect of the stack may cause issues when you run on Android where window sizes are all over the place. I'd let the engine manage the stack size by using the fullScreenMode property, and set up all your objects using relative coords rather than hard-coded ones. From jemirandav at gmail.com Thu Jul 28 22:24:49 2016 From: jemirandav at gmail.com (Javier Miranda V.) Date: Thu, 28 Jul 2016 22:24:49 -0400 Subject: A DataGrid is not a spreadsheet Message-ID: Dear friends, is it safe to say that a data grid is not a spreadsheet? I mean, you can not create a new data grid and then just click in a empty cell and enter data.? With some practice and reading documentation, I am able to populate a?datagrid?with data from a database, and using a Table field in?situation in which the user must fill-in data seems limited. ? Saludos,? Javier Miranda V. From panos.merakos at livecode.com Fri Jul 29 09:14:00 2016 From: panos.merakos at livecode.com (panagiotis merakos) Date: Fri, 29 Jul 2016 14:14:00 +0100 Subject: [ANN] Release 8.0.2 RC-4 Message-ID: <79bd4015-a40c-bc70-641b-61faba554844@livecode.com> Dear list members, We are pleased to announce the release of LiveCode 8.0.2 RC-4. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 8.0.2 RC-4 contains bug fixes and stability improvements. In particular, the following serious regressions are fixed in this release: 17953: Regression in Mac OS moveStack handling 17962: Crash due to resetting defaultStack to a deleted stack 17981: Crash due to incorrect refcount operations in external API 18093: Crash due to incorrectly-cleared weak object reference All users of previous 8.0.2 RC releases are advised to update their copies of LiveCode as soon as possible. The full release notes are available from: http://downloads.livecode.com/livecode/8_0_2/LiveCodeNotes-8_0_2_rc_4.pdf Feedback ======== Please report any bugs encountered on our BugZilla at http://quality.livecode.com/ We have a forum available for discussing LiveCode Builder at http://forums.livecode.com/viewforum.php?f=93 Have fun! The LiveCode Team From MikeKerner at roadrunner.com Fri Jul 29 09:37:45 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 29 Jul 2016 09:37:45 -0400 Subject: A DataGrid is not a spreadsheet In-Reply-To: References: Message-ID: See chapter 6 of the datagrid manual. From ambassador at fourthworld.com Fri Jul 29 09:48:56 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 29 Jul 2016 06:48:56 -0700 Subject: [ANN] Release 8.0.2 RC-4 In-Reply-To: <79bd4015-a40c-bc70-641b-61faba554844@livecode.com> References: <79bd4015-a40c-bc70-641b-61faba554844@livecode.com> Message-ID: panagiotis merakos wrote: > We are pleased to announce the release of LiveCode 8.0.2 RC-4. I very much appreciate the frequent releases of the 8.0 series, but at the same time I really prefer to spend most of my development time with a version that keeps me testing new features, currently 8.1. In some respects it may appear to others as it does to me that maintaining two separate build series, 8.0 and 8.1, is only a very minor improvement over the expense of maintaining 7.x with 8.x. With the conference just days away I'd understand if you don't have time for this right now, but when you do it might be helpful to get a brief overview of the development process which helps us better understand the purpose of continuing 8.0 while 8.1 is in development, and to know if there's anything we can do to help see 8.1 builds more frequently so we can continue testing the new features without running into the ones already fixed in the 8.0 series. Thanks for considering this - -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From peter.brett at livecode.com Fri Jul 29 10:18:58 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Fri, 29 Jul 2016 15:18:58 +0100 Subject: [ANN] Release 8.0.2 RC-4 In-Reply-To: References: <79bd4015-a40c-bc70-641b-61faba554844@livecode.com> Message-ID: <97c7a4f4-ac15-cc7c-f160-9bd089d8c1e6@livecode.com> On 29/07/2016 14:48, Richard Gaskin wrote: > With the conference just days away I'd understand if you don't have time > for this right now, but when you do it might be helpful to get a brief > overview of the development process which helps us better understand the > purpose of continuing 8.0 while 8.1 is in development, and to know if > there's anything we can do to help see 8.1 builds more frequently so we > can continue testing the new features without running into the ones > already fixed in the 8.0 series. People have production applications that they need to deploy, and there are bugs in LiveCode that affect them. They need a maintenance branch of LiveCode where they get regular GM releases that they can rely on not to break their existing apps. Usually, we try to make maintenance branch releases at the same time as DP releases. The main things that have been blocking making any releases at all for the past couple of weeks have been some nasty crash problems (which were, ironically, introduced by a _fix_ for some nasty crash problems, but that's software development for you) and a build issue that meant we weren't able to reliably produce LiveCode Indy and Business engines for Windows. Panos is currently performing pre-release QA for a LiveCode 8.1.0 DP 3 release, and if there are no serious problems found, I expect that the release will be very soon! On the subject of frequency: the core dev team currently tries to make one maintenance branch release and one development branch release during each two week sprint. I don't expect that it will be sustainable to have a release cadence that's any faster than that. Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ From ambassador at fourthworld.com Fri Jul 29 10:34:32 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 29 Jul 2016 07:34:32 -0700 Subject: [ANN] Release 8.0.2 RC-4 In-Reply-To: <97c7a4f4-ac15-cc7c-f160-9bd089d8c1e6@livecode.com> References: <97c7a4f4-ac15-cc7c-f160-9bd089d8c1e6@livecode.com> Message-ID: Peter TB Brett wrote: > On 29/07/2016 14:48, Richard Gaskin wrote: > >> ...it might be helpful to get a brief overview of the development >> process which helps us better understand the purpose of continuing >> 8.0 while 8.1 is in development, and to know if there's anything >> we can do to help see 8.1 builds more frequently so we can continue >> testing the new features without running into the ones already >> fixed in the 8.0 series. > > People have production applications that they need to deploy, and > there are bugs in LiveCode that affect them. They need a maintenance > branch of LiveCode where they get regular GM releases that they can > rely on not to break their existing apps. > > Usually, we try to make maintenance branch releases at the same time > as DP releases. > > The main things that have been blocking making any releases at all > for the past couple of weeks have been some nasty crash problems > (which were, ironically, introduced by a _fix_ for some nasty crash > problems, but that's software development for you) and a build issue > that meant we weren't able to reliably produce LiveCode Indy and > Business engines for Windows. > > Panos is currently performing pre-release QA for a LiveCode 8.1.0 DP > 3 release, and if there are no serious problems found, I expect that > the release will be very soon! > > On the subject of frequency: the core dev team currently tries to > make one maintenance branch release and one development branch > release during each two week sprint. I don't expect that it will be > sustainable to have a release cadence that's any faster than that. Sounds good. Thanks for taking the time to write that. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From panos.merakos at livecode.com Fri Jul 29 12:14:53 2016 From: panos.merakos at livecode.com (panagiotis merakos) Date: Fri, 29 Jul 2016 17:14:53 +0100 Subject: [ ANN ] Release 8.1.0 DP-3 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 8.1.0-dp-3, a development preview of LiveCode 8.1. Developer Preview Release ========================= Warning: this is not a stable release. Please ensure that you back up your stacks before testing them. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/#8_1_0 or via the automatic updater. Release Contents ================ Full release notes: https://downloads.livecode.com/livecode/8_1_0/LiveCodeNotes-8_1_0_dp_3.pdf tsNet external -------------- LiveCode Indy and Business Editions now include the Tech Strategies tsNet external! * Faster than libURL (like, way faster... WAY FASTER) * Multiple simultaneous asynchronous requests to the same server * SFTP, SMTP, and SMTPS support (synchronous in Indy, async in Business) * SFTP key-based authentication (Business-only) * Seamless integration files() and folders() functions take an argument ------------------------------------------------ Avoid setting "the defaultFolder" by using "files()". LiveCode "Infinite" improvements to LCB --------------------------------------- * The deprecated "undefined" keyword has been "nothing"-ed. Graph widget upgrades --------------------- * Show points as well (or instead of) lines * Choose a variety of exciting point markers (circles, squares, etc.) More! ----- * Support for field paragraphs with > 32767 characters * New "tokenOffset()" function finds the offset of tokens * 26 LiveCode 8.1-specific bugs fixed Known issues ============ * HTML5 standalones don't obey standalone builder settings (bug 18103) * HTML5 standalones do not currently work when they contain extensions with dependencies * 64-bit standalones for Mac OS X do not have support for audio recording or the revVideoGrabber external * The default video is in .mov format which is not supported by the new Windows player (bug 17696) Feedback ======== Please report any bugs encountered either to our support team < support at livecode.com> or on our Bugzilla at http://quality.livecode.com/ Have fun! The LiveCode Team From MikeKerner at roadrunner.com Fri Jul 29 12:21:41 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 29 Jul 2016 12:21:41 -0400 Subject: [ ANN ] Release 8.1.0 DP-3 In-Reply-To: References: Message-ID: yay! On Fri, Jul 29, 2016 at 12:14 PM, panagiotis merakos < panos.merakos at livecode.com> wrote: > Dear list members, > We are pleased to announce the release of LiveCode 8.1.0-dp-3, a > development preview of LiveCode 8.1. > > Developer Preview Release > ========================= > Warning: this is not a stable release. Please ensure that you back up your > stacks before testing them. > > Getting the Release > =================== > You can get the release at https://downloads.livecode.com/livecode/#8_1_0 > or via the automatic updater. > > Release Contents > ================ > Full release notes: > https://downloads.livecode.com/livecode/8_1_0/LiveCodeNotes-8_1_0_dp_3.pdf > > tsNet external > -------------- > LiveCode Indy and Business Editions now include the Tech Strategies tsNet > external! > * Faster than libURL (like, way faster... WAY FASTER) > * Multiple simultaneous asynchronous requests to the same server > * SFTP, SMTP, and SMTPS support (synchronous in Indy, async in Business) > * SFTP key-based authentication (Business-only) > * Seamless integration > > files() and folders() functions take an argument > ------------------------------------------------ > Avoid setting "the defaultFolder" by using "files()". > > LiveCode "Infinite" improvements to LCB > --------------------------------------- > * The deprecated "undefined" keyword has been "nothing"-ed. > > Graph widget upgrades > --------------------- > * Show points as well (or instead of) lines > * Choose a variety of exciting point markers (circles, squares, etc.) > > More! > ----- > * Support for field paragraphs with > 32767 characters > * New "tokenOffset()" function finds the offset of tokens > * 26 LiveCode 8.1-specific bugs fixed > > Known issues > ============ > * HTML5 standalones don't obey standalone builder settings (bug 18103) > * HTML5 standalones do not currently work when they contain extensions with > dependencies > * 64-bit standalones for Mac OS X do not have support for audio recording > or the revVideoGrabber external > * The default video is in .mov format which is not supported by the new > Windows player (bug 17696) > > Feedback > ======== > Please report any bugs encountered either to our support team < > support at livecode.com> or on our Bugzilla at http://quality.livecode.com/ > > Have fun! > The LiveCode Team > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From ambassador at fourthworld.com Fri Jul 29 13:30:02 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 29 Jul 2016 10:30:02 -0700 Subject: [ ANN ] Release 8.1.0 DP-3 In-Reply-To: References: Message-ID: panagiotis merakos wrote: > We are pleased to announce the release of LiveCode 8.1.0-dp-3, a > development preview of LiveCode 8.1. Super-cool, thanks! Lots of nice new additions there. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From harrison at all-auctions.com Fri Jul 29 14:41:47 2016 From: harrison at all-auctions.com (Rick Harrison) Date: Fri, 29 Jul 2016 14:41:47 -0400 Subject: A DataGrid is not a spreadsheet In-Reply-To: References: Message-ID: <943DFA6F-25E1-4797-86B2-D80044C89771@all-auctions.com> Hi Javier, Your question prompted me to play with the data grid a little. I don?t know what specifically you are trying to do, but I do think you can do a lot with it. You?ve already hooked it into a database. You may have to write some scripts to get your database fields to update properly when the user types something into the field. My understanding was that the data grid was supposed to be more powerful than the table field. I think you just need to play with it some more to explore it?s full capabilities. Cheers Rick > On Jul 28, 2016, at 10:24 PM, Javier Miranda V. wrote: > > Dear friends, is it safe to say that a data grid is not a spreadsheet? I mean, you can not create a new data grid and then just click in a empty cell and enter data. > > With some practice and reading documentation, I am able to populate a datagrid with data from a database, and using a Table field in situation in which the user must fill-in data seems limited. > > > Saludos, > > Javier Miranda V. From brahma at hindu.org Fri Jul 29 15:05:54 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 29 Jul 2016 19:05:54 +0000 Subject: [ ANN ] Release 8.1.0 DP-3 In-Reply-To: References: Message-ID: <99C0AF08-6A0A-4C0F-87F3-CC7369E5F71A@hindu.org> Awesome update! Seeing so many of the bugs I reported recently fixed, is super encouraging? Thank you! On 7/29/16, 6:14 AM, "use-livecode on behalf of panagiotis merakos" wrote: We are pleased to announce the release of LiveCode 8.1.0-dp-3, a development preview of LiveCode 8.1. From MikeKerner at roadrunner.com Fri Jul 29 15:08:04 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 29 Jul 2016 15:08:04 -0400 Subject: LCB Message-ID: Is anybody doing anything significant with LCB, yet? I'm just getting back into messing with it after many months of ignoring it... -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From paul at researchware.com Fri Jul 29 15:57:01 2016 From: paul at researchware.com (Paul Dupuis) Date: Fri, 29 Jul 2016 15:57:01 -0400 Subject: A DataGrid is not a spreadsheet In-Reply-To: References: Message-ID: <579BB50D.3000400@researchware.com> On 7/28/2016 10:24 PM, Javier Miranda V. wrote: > Dear friends, is it safe to say that a data grid is not a spreadsheet? I mean, you can not create a new data grid and then just click in a empty cell and enter data. > > With some practice and reading documentation, I am able to populate a datagrid with data from a database, and using a Table field in situation in which the user must fill-in data seems limited. > Yes, a Datagrid can be used much like a Spreadsheet. If you create a new data grid on a card, you need to bring up the property inspector and add some columns ay 5 columns) and add some blank rows (say 10 cr's (i.e. 10 blank lines)) to the content property. If you then close the property inspector and select the run tool, you can click in any cell of the 10r x 5c spreadsheet you made and enter data. You can fetch the data as tab and return delimited text by getting the dgText propert of the group that is the datagrid OR as an array by getting the dgData property. You do need to add some external controls to add rows and column OR sort of like excel, you could prepopulate it with 65535 blank rows and 676 columns (A - ZZ) and trim off the blank columns and row on the right and bottom when you want to fetch the data. From dochawk at gmail.com Fri Jul 29 16:13:12 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 29 Jul 2016 13:13:12 -0700 Subject: "after after" for behaviors? In-Reply-To: References: Message-ID: *bump* any ideas, anyone? On Sat, Jul 23, 2016 at 11:05 AM, Dr. Hawkins wrote: > > I am trying to implement a generalized behavior that triggers after the > entire execution path, rather than after the immediate script, but before > the next script in the path. > > Actually, having control return to a handler after "pass someHandler" > would also solve my issues. > > A control might be clicked on, or text entered in a field, and so forth, > that triggers handlers that set values and dependent values. > > I would like a group that owns such controls to be able to take actions > *after* all such calculations. > > So if someone enters "foo" in field "bar", the closeField handler > currently figures out what to do with that value, and anything that > depends. Similarly if I click on my custom checkboxes, the mouse handler > does similar calculations. > > I want another handler to run *after* all such things--but if I have an > "after closeField" in the behavior, it simply runs after closeField, but > before closeFIeld gets passed. And as near as I can tell, even without a > closeField handler for the object or group, the after closeField still gets > called prior to working its way up. > > Is there a solution other than what would be ugly hacks at the end of my > closeField and mouseUp handlers? (they would be ugly because it would be > properties of the group that need to be accessed, and the control could be > a child, grandchild, etc. of the actual group [which is why I want the > behavior to belong to the group]). > > The "least ugly" idea I have so far is something like concluding the > universal closeField with "send aftrClsFld to the target" > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Fri Jul 29 16:41:26 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 29 Jul 2016 15:41:26 -0500 Subject: LCB In-Reply-To: References: Message-ID: <277b791d-2315-f532-1edf-981355c695a3@hyperactivesw.com> On 7/29/2016 2:08 PM, Mike Kerner wrote: > Is anybody doing anything significant with LCB, yet? I'm just getting back > into messing with it after many months of ignoring it... > I can't get much to work, significant or not. I apologize for hijacking your thread, but the subject was apropos... I agreed to test the LCB tutorial before it was given at the conference. I have not been able to make it past one of the earliest lessons, and the team is too busy right now to respond. I'd like to see if I can get a little farther. Can someone tell me what is wrong with this simple example: *** library community.livecode.jacque.helloworld metadata title is "Hello World Library" metadata author is "Jacqueline Landman Gay" metadata version is "1.0.0" public handler sayHello(in pNames as String) returns List variable tNameList as List variable tMessage as List variable tElement as String split pNames by "," put the result into tNameList repeat for each element tElement in tNameList push tElement onto tMessage end repeat return tMessage end handler end library *** It will compile with the Test button but when called from LCS this way: put sayHello("Adam,Brenda,Craig") into tArray it errors with the cryptic message: execution error at line 2 (extension: error occured with domain) near "runtime", char 7 I don't think it's the domain name because earlier versions worked. It started erroring after the lesson added the split and repeat loop. There is a discrepancy in the lessons where at one point it uses "split pNames by "," into tNameList". I tried that syntax as well, though it isn't in the dictionary, but got the same error. Does anyone see anything wrong? It is copied verbatim from the lesson, right down to the uppercase letters which I wasn't sure were required (is LCB case sensitive? The lesson doesn't say.) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Jul 29 16:47:42 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 29 Jul 2016 15:47:42 -0500 Subject: "after after" for behaviors? In-Reply-To: References: Message-ID: <8ffbcac6-5a1e-e986-4b69-a04019c6176b@hyperactivesw.com> Your "least ugly" idea is the only one I can think of too. Send the command at the end of the sequence. On 7/29/2016 3:13 PM, Dr. Hawkins wrote: > *bump* > > any ideas, anyone? > > On Sat, Jul 23, 2016 at 11:05 AM, Dr. Hawkins wrote: > >> >> I am trying to implement a generalized behavior that triggers after the >> entire execution path, rather than after the immediate script, but before >> the next script in the path. >> >> Actually, having control return to a handler after "pass someHandler" >> would also solve my issues. >> >> A control might be clicked on, or text entered in a field, and so forth, >> that triggers handlers that set values and dependent values. >> >> I would like a group that owns such controls to be able to take actions >> *after* all such calculations. >> >> So if someone enters "foo" in field "bar", the closeField handler >> currently figures out what to do with that value, and anything that >> depends. Similarly if I click on my custom checkboxes, the mouse handler >> does similar calculations. >> >> I want another handler to run *after* all such things--but if I have an >> "after closeField" in the behavior, it simply runs after closeField, but >> before closeFIeld gets passed. And as near as I can tell, even without a >> closeField handler for the object or group, the after closeField still gets >> called prior to working its way up. >> >> Is there a solution other than what would be ugly hacks at the end of my >> closeField and mouseUp handlers? (they would be ugly because it would be >> properties of the group that need to be accessed, and the control could be >> a child, grandchild, etc. of the actual group [which is why I want the >> behavior to belong to the group]). >> >> The "least ugly" idea I have so far is something like concluding the >> universal closeField with "send aftrClsFld to the target" >> -- >> Dr. Richard E. Hawkins, Esq. >> (702) 508-8462 >> > > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From peter.brett at livecode.com Fri Jul 29 16:48:46 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Fri, 29 Jul 2016 21:48:46 +0100 Subject: LCB In-Reply-To: <277b791d-2315-f532-1edf-981355c695a3@hyperactivesw.com> References: <277b791d-2315-f532-1edf-981355c695a3@hyperactivesw.com> Message-ID: <3e714f34-721b-a062-c182-33b838a485e8@livecode.com> On 29/07/2016 21:41, J. Landman Gay wrote: > Does anyone see anything wrong? It is copied verbatim from the lesson, > right down to the uppercase letters which I wasn't sure were required > (is LCB case sensitive? The lesson doesn't say.) Hi Jacque, Which version of LiveCode are you using? The LCB course you're trying out for us (thank you very much!) requires LCB features that are only in 8.1. Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From livfoss at mac.com Fri Jul 29 16:55:22 2016 From: livfoss at mac.com (Graham Samuel) Date: Fri, 29 Jul 2016 22:55:22 +0200 Subject: A DataGrid is not a spreadsheet In-Reply-To: <579BB50D.3000400@researchware.com> References: <579BB50D.3000400@researchware.com> Message-ID: <2D442D63-8B89-49AF-8E2B-9E2B8A90C2A2@mac.com> Do you mean that a standalone can allow text to be entered in cells like in a spreadsheet without further coding? Obviously one would need scripting to add spreadsheet-like functions such as arithmetic operations; and to extend the functionality to manipulation of formulae would be a major task. But just being able to ?click in an empty cell and enter data? would be a good start. I have always tried not to use Datagrids as the seem to me so extraordinarily complicated. But if one were to write a ?simplified spreadsheet? widget, would a Datagrid be the place to start? In a way I suppose the web of functionality in a Datagrid makes it a kind of proto-widget. Curious Graham > On 29 Jul 2016, at 21:57, Paul Dupuis wrote: > > On 7/28/2016 10:24 PM, Javier Miranda V. wrote: >> Dear friends, is it safe to say that a data grid is not a spreadsheet? I mean, you can not create a new data grid and then just click in a empty cell and enter data. >> >> With some practice and reading documentation, I am able to populate a datagrid with data from a database, and using a Table field in situation in which the user must fill-in data seems limited. >> > > Yes, a Datagrid can be used much like a Spreadsheet. If you create a new > data grid on a card, you need to bring up the property inspector and add > some columns ay 5 columns) and add some blank rows (say 10 cr's (i.e. 10 > blank lines)) to the content property. If you then close the property > inspector and select the run tool, you can click in any cell of the 10r > x 5c spreadsheet you made and enter data. > > You can fetch the data as tab and return delimited text by getting the > dgText propert of the group that is the datagrid OR as an array by > getting the dgData property. > > You do need to add some external controls to add rows and column OR sort > of like excel, you could prepopulate it with 65535 blank rows and 676 > columns (A - ZZ) and trim off the blank columns and row on the right and > bottom when you want to fetch the data. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Jul 29 17:06:39 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 29 Jul 2016 16:06:39 -0500 Subject: LCB In-Reply-To: <3e714f34-721b-a062-c182-33b838a485e8@livecode.com> References: <277b791d-2315-f532-1edf-981355c695a3@hyperactivesw.com> <3e714f34-721b-a062-c182-33b838a485e8@livecode.com> Message-ID: On 7/29/2016 3:48 PM, Peter TB Brett wrote: > On 29/07/2016 21:41, J. Landman Gay wrote: > >> Does anyone see anything wrong? It is copied verbatim from the lesson, >> right down to the uppercase letters which I wasn't sure were required >> (is LCB case sensitive? The lesson doesn't say.) > > Hi Jacque, > > Which version of LiveCode are you using? The LCB course you're trying > out for us (thank you very much!) requires LCB features that are only in > 8.1. I started originally with 8.1dp2 but everything broke. All buttons were unresponsive, the Builder froze up, nothing worked. (See my first report.) So I switched over to 8.0.x and it worked better. The Script button still did nothing but at least the Test button responded. I just downloaded the latest 8.1dp3 and you are right, it does work there. Thank you. I'll keep going. There are a number of discrepancies that are probably obvious to an experienced user but threw off a newbie like me. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jerry at jhjensen.com Fri Jul 29 17:15:24 2016 From: jerry at jhjensen.com (Jerry Jensen) Date: Fri, 29 Jul 2016 14:15:24 -0700 Subject: A DataGrid is not a spreadsheet In-Reply-To: References: Message-ID: Hello Javier, You might like looking at Bernd Niggemann?s modTableField. Its a lot simpler than the dataGrid and very useful for many purposes. It has built in manual editing of cells and much more. http://berndniggemann.on-rev.com/modTableField/modTableField_0_3_2.zip Its free and well documented. I?m a happy user. .Jerry > On Jul 28, 2016, at 7:24 PM, Javier Miranda V. wrote: > > Dear friends, is it safe to say that a data grid is not a spreadsheet? I mean, you can not create a new data grid and then just click in a empty cell and enter data. > > With some practice and reading documentation, I am able to populate a datagrid with data from a database, and using a Table field in situation in which the user must fill-in data seems limited. > > > Saludos, > > Javier Miranda V. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andrew at midwestcoastmedia.com Fri Jul 29 17:17:03 2016 From: andrew at midwestcoastmedia.com (Andrew Bell) Date: Fri, 29 Jul 2016 17:17:03 -0400 Subject: What is the Viewport of LiveCode browser? Message-ID: <39ea071aee0cd0b9d5fbcdbc87e38125@midwestcoastmedia.com> I'm getting really weird rendering of an external web page being loaded in a LiveCode browser. The page renders using 'desktop' sized CSS it seems, but in a 'mobile' size window. Formula: - create a stack - add a browser widget - set the fullscreenmode of the stack Error: - browser behaves like a desktop size screen This seems to occur when the fullscreenmode of the stack is changed in preOpenScript (had been using "letterbox"). When no fullscreenmode is not enabled, the web page loads like a 'mobile' size should occur. The "the rect of this card" doesn't change [0,0,375,667], but the "the rect of this stack" seems to change on fullscreenmode [581,265,956,932]. Is the stack actually presenting itself as a 956px wide Viewport to the web site? This would seem to explain the error. Also, in the IDE when in Edit mode the browser is on the card in proper location but in Run mode the browser seems to move. Here is the offending web page: https://indianaontap.com/events/ I tested with mobileControlCreate as well as the browser widget: both have the same effect. This was on my SCRUM board for fixing, but Apple just rejected my latest app update because of this failing "Performance - 2.4.1" so it has jumped ahead on my to-do list. Any ideas on the issue or a possible work around? --Andrew Bell From paul at researchware.com Fri Jul 29 17:25:27 2016 From: paul at researchware.com (Paul Dupuis) Date: Fri, 29 Jul 2016 17:25:27 -0400 Subject: A DataGrid is not a spreadsheet In-Reply-To: <2D442D63-8B89-49AF-8E2B-9E2B8A90C2A2@mac.com> References: <579BB50D.3000400@researchware.com> <2D442D63-8B89-49AF-8E2B-9E2B8A90C2A2@mac.com> Message-ID: <579BC9C7.7040406@researchware.com> The default behavior of a Datagrid is a table (or column) view (vs. the Form view Datagrid can also do). In that default mode, the default is that clicking in a cell will edit the contents However, when you drag a Datagrid control to a card, the default is that there are no rows and no columns until you add some. Just as an example, if you wanted a 10 row x 5 col "blank" editable table a user could put data into, you need to create the 5 empty columns and 10 rows. You can do this in the property inspector for the the data grid. In the popup list of property panes (pre-LC8), select Columns and add some columns by clicking the small plus sign button. Their default names will be Col1, Col2, etc. To add "rows". Add 5 of them. Then Select the Content pane in the Property Inspector and add 10 blank lines (enter 10 return characters). This creates 10 empty rows in the data grid. Close the property inspector and select the browse tool and click on one of the 50 cells (10 rows by 5 columns) and type in data. At any time to see a text view of the data (as tab and return delimited data), open the Message Box and enter put the dgText of group "" into msg and press return. Try it. On 7/29/2016 4:55 PM, Graham Samuel wrote: > Do you mean that a standalone can allow text to be entered in cells like in a spreadsheet without further coding? Obviously one would need scripting to add spreadsheet-like functions such as arithmetic operations; and to extend the functionality to manipulation of formulae would be a major task. But just being able to ?click in an empty cell and enter data? would be a good start. > > I have always tried not to use Datagrids as the seem to me so extraordinarily complicated. But if one were to write a ?simplified spreadsheet? widget, would a Datagrid be the place to start? In a way I suppose the web of functionality in a Datagrid makes it a kind of proto-widget. > > Curious > > Graham > >> On 29 Jul 2016, at 21:57, Paul Dupuis wrote: >> >> On 7/28/2016 10:24 PM, Javier Miranda V. wrote: >>> Dear friends, is it safe to say that a data grid is not a spreadsheet? I mean, you can not create a new data grid and then just click in a empty cell and enter data. >>> >>> With some practice and reading documentation, I am able to populate a datagrid with data from a database, and using a Table field in situation in which the user must fill-in data seems limited. >>> >> Yes, a Datagrid can be used much like a Spreadsheet. If you create a new >> data grid on a card, you need to bring up the property inspector and add >> some columns ay 5 columns) and add some blank rows (say 10 cr's (i.e. 10 >> blank lines)) to the content property. If you then close the property >> inspector and select the run tool, you can click in any cell of the 10r >> x 5c spreadsheet you made and enter data. >> >> You can fetch the data as tab and return delimited text by getting the >> dgText propert of the group that is the datagrid OR as an array by >> getting the dgData property. >> >> You do need to add some external controls to add rows and column OR sort >> of like excel, you could prepopulate it with 65535 blank rows and 676 >> columns (A - ZZ) and trim off the blank columns and row on the right and >> bottom when you want to fetch the data. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Jul 29 17:33:51 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 29 Jul 2016 16:33:51 -0500 Subject: LCB In-Reply-To: References: <277b791d-2315-f532-1edf-981355c695a3@hyperactivesw.com> <3e714f34-721b-a062-c182-33b838a485e8@livecode.com> Message-ID: <2606b73c-4d2c-e514-b480-f1433190f89f@hyperactivesw.com> On 7/29/2016 4:06 PM, J. Landman Gay wrote: > I just downloaded the latest 8.1dp3 and you are right, it does work there. And now I've just added in-line documentation and saw my (puny little) library syntax show up in the dictionary. This is just too cool. It's "eureka!" all over again, like when I discovered xtalk mumble-mumble years ago. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at tweedly.net Fri Jul 29 17:53:46 2016 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 29 Jul 2016 22:53:46 +0100 Subject: [ ANN ] Release 8.1.0 DP-3 In-Reply-To: References: Message-ID: On 29/07/2016 17:14, panagiotis merakos wrote: > Dear list members, > We are pleased to announce the release of LiveCode 8.1.0-dp-3, a > development preview of LiveCode 8.1. > tsNet external > -------------- > LiveCode Indy and Business Editions now include the Tech Strategies tsNet > external! > * Faster than libURL (like, way faster... WAY FASTER) > * Multiple simultaneous asynchronous requests to the same server > * SFTP, SMTP, and SMTPS support (synchronous in Indy, async in Business) > * SFTP key-based authentication (Business-only) > * Seamless integration > > What is tsNet ? Does it just happen ? Or do I need to do something to use it ? If so, what ? Where is it documented ? Thanks Alex. From livfoss at mac.com Fri Jul 29 18:04:35 2016 From: livfoss at mac.com (Graham Samuel) Date: Sat, 30 Jul 2016 00:04:35 +0200 Subject: A DataGrid is not a spreadsheet In-Reply-To: <579BC9C7.7040406@researchware.com> References: <579BB50D.3000400@researchware.com> <2D442D63-8B89-49AF-8E2B-9E2B8A90C2A2@mac.com> <579BC9C7.7040406@researchware.com> Message-ID: <4FCE3BF4-E418-455E-945D-267F02086D43@mac.com> I will try it, but I am trying to understand what can be done in a standalone - no property inspector etc. One of the things one might want to do is to let the user rather than the developer specify the number of rows and columns. Maybe I have missed some key point. Graham > On 29 Jul 2016, at 23:25, Paul Dupuis wrote: > > The default behavior of a Datagrid is a table (or column) view (vs. the > Form view Datagrid can also do). In that default mode, the default is > that clicking in a cell will edit the contents > > However, when you drag a Datagrid control to a card, the default is that > there are no rows and no columns until you add some. Just as an example, > if you wanted a 10 row x 5 col "blank" editable table a user could put > data into, you need to create the 5 empty columns and 10 rows. > > You can do this in the property inspector for the the data grid. In the > popup list of property panes (pre-LC8), select Columns and add some > columns by clicking the small plus sign button. Their default names will > be Col1, Col2, etc. To add "rows". Add 5 of them. Then Select the > Content pane in the Property Inspector and add 10 blank lines (enter 10 > return characters). This creates 10 empty rows in the data grid. > > Close the property inspector and select the browse tool and click on one > of the 50 cells (10 rows by 5 columns) and type in data. At any time to > see a text view of the data (as tab and return delimited data), open the > Message Box and enter > > put the dgText of group "" into msg > > and press return. > > Try it. > > On 7/29/2016 4:55 PM, Graham Samuel wrote: >> Do you mean that a standalone can allow text to be entered in cells like in a spreadsheet without further coding? Obviously one would need scripting to add spreadsheet-like functions such as arithmetic operations; and to extend the functionality to manipulation of formulae would be a major task. But just being able to ?click in an empty cell and enter data? would be a good start. >> >> I have always tried not to use Datagrids as the seem to me so extraordinarily complicated. But if one were to write a ?simplified spreadsheet? widget, would a Datagrid be the place to start? In a way I suppose the web of functionality in a Datagrid makes it a kind of proto-widget. >> >> Curious >> >> Graham >> >>> On 29 Jul 2016, at 21:57, Paul Dupuis wrote: >>> >>> On 7/28/2016 10:24 PM, Javier Miranda V. wrote: >>>> Dear friends, is it safe to say that a data grid is not a spreadsheet? I mean, you can not create a new data grid and then just click in a empty cell and enter data. >>>> >>>> With some practice and reading documentation, I am able to populate a datagrid with data from a database, and using a Table field in situation in which the user must fill-in data seems limited. >>>> >>> Yes, a Datagrid can be used much like a Spreadsheet. If you create a new >>> data grid on a card, you need to bring up the property inspector and add >>> some columns ay 5 columns) and add some blank rows (say 10 cr's (i.e. 10 >>> blank lines)) to the content property. If you then close the property >>> inspector and select the run tool, you can click in any cell of the 10r >>> x 5c spreadsheet you made and enter data. >>> >>> You can fetch the data as tab and return delimited text by getting the >>> dgText propert of the group that is the datagrid OR as an array by >>> getting the dgData property. >>> >>> You do need to add some external controls to add rows and column OR sort >>> of like excel, you could prepopulate it with 65535 blank rows and 676 >>> columns (A - ZZ) and trim off the blank columns and row on the right and >>> bottom when you want to fetch the data. >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Fri Jul 29 18:36:14 2016 From: pete at lcsql.com (Peter Haworth) Date: Fri, 29 Jul 2016 22:36:14 +0000 Subject: A DataGrid is not a spreadsheet In-Reply-To: References: Message-ID: +1 On Fri, Jul 29, 2016 at 2:15 PM Jerry Jensen wrote: > Hello Javier, > You might like looking at Bernd Niggemann?s modTableField. Its a lot > simpler than the dataGrid and very useful for many purposes. It has built > in manual editing of cells and much more. > http://berndniggemann.on-rev.com/modTableField/modTableField_0_3_2.zip > Its free and well documented. I?m a happy user. > .Jerry > > > On Jul 28, 2016, at 7:24 PM, Javier Miranda V. > wrote: > > > > Dear friends, is it safe to say that a data grid is not a spreadsheet? I > mean, you can not create a new data grid and then just click in a empty > cell and enter data. > > > > With some practice and reading documentation, I am able to populate a > datagrid with data from a database, and using a Table field in situation in > which the user must fill-in data seems limited. > > > > > > Saludos, > > > > Javier Miranda V. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Fri Jul 29 18:40:18 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 29 Jul 2016 15:40:18 -0700 Subject: A DataGrid is not a spreadsheet In-Reply-To: <2D442D63-8B89-49AF-8E2B-9E2B8A90C2A2@mac.com> References: <579BB50D.3000400@researchware.com> <2D442D63-8B89-49AF-8E2B-9E2B8A90C2A2@mac.com> Message-ID: yes there is a lot of handy stuff in a datagrid, all designed to not make you have to re-invent the wheel. I've created a proof of concept stack I made for myself called 'quicksheet' that uses simple text files and tab separated fields to set up and display columnar data. The text format is simple - the first line is column names and the last line is column widths so when the text file is loaded everything is labeled and spaced according to the last save. Double clicking over a field will open an entry dialog where detailed multi-line data can be entered. Returns in a field are converted to Decimal 11, just like Filemaker. perhaps I should make it available, as is.. I'd have to document a few things. On Fri, Jul 29, 2016 at 1:55 PM, Graham Samuel > wrote: > Do you mean that a standalone can allow text to be entered in cells like > in a spreadsheet without further coding? Obviously one would need scripting > to add spreadsheet-like functions such as arithmetic operations; and to > extend the functionality to manipulation of formulae would be a major task. > But just being able to ?click in an empty cell and enter data? would be a > good start. > > I have always tried not to use Datagrids as the seem to me so > extraordinarily complicated. But if one were to write a ?simplified > spreadsheet? widget, would a Datagrid be the place to start? In a way I > suppose the web of functionality in a Datagrid makes it a kind of > proto-widget. > > Curious > Stephen Barncard - Sebastopol Ca. USA - mixstream.org -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org From lists at mangomultimedia.com Fri Jul 29 18:43:50 2016 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 29 Jul 2016 18:43:50 -0400 Subject: LCB In-Reply-To: References: Message-ID: On Friday, July 29, 2016, Mike Kerner wrote: > Is anybody doing anything significant with LCB, yet? > I'm doing a lot of UI work with it. For custom controls I think widgets are fantastic (although I wish the team would get event messaging sorted out). I've experimented some with libraries in the last but the language wasn't quite mature enough to make it worth it. I ended up calling out to LCS to do a lot of things. -- Trevor DeVore ScreenSteps From ambassador at fourthworld.com Fri Jul 29 18:48:56 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 29 Jul 2016 15:48:56 -0700 Subject: A DataGrid is not a spreadsheet In-Reply-To: References: Message-ID: A DataGrid is a view of data, such as from a database. Databases and a spreadsheets are VERY different categories of applications. If you need a true spreadsheet, there are so many great ones available (LibreOffice is wonderful and free and open and runs on every platform) it'll probably be easier to just use one of those to get the job done. If there's a more specialized app you want to build in LC that requires a fixed grid of editable cells you may find the table field a better starting point, as its behavior is more akin to a spreadsheet and is simpler to work with as well. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From paul at researchware.com Fri Jul 29 18:57:10 2016 From: paul at researchware.com (Paul Dupuis) Date: Fri, 29 Jul 2016 18:57:10 -0400 Subject: A DataGrid is not a spreadsheet In-Reply-To: <4FCE3BF4-E418-455E-945D-267F02086D43@mac.com> References: <579BB50D.3000400@researchware.com> <2D442D63-8B89-49AF-8E2B-9E2B8A90C2A2@mac.com> <579BC9C7.7040406@researchware.com> <4FCE3BF4-E418-455E-945D-267F02086D43@mac.com> Message-ID: <579BDF46.9050201@researchware.com> Okay, I misunderstood, but the model is the same. In a standalone, you will need to add controls to add rows and columns. There are properties of the datagrid that can be via scripts to add or insert rows and the same for columns. If you are using LC8.1, then these datagrid properties are FINALLY in the dictionary. For any version of LC below 8.1, you can find them on the livecode.com web site. just search for data grid On 7/29/2016 6:04 PM, Graham Samuel wrote: > I will try it, but I am trying to understand what can be done in a standalone - no property inspector etc. One of the things one might want to do is to let the user rather than the developer specify the number of rows and columns. Maybe I have missed some key point. > > Graham > > >> On 29 Jul 2016, at 23:25, Paul Dupuis wrote: >> >> The default behavior of a Datagrid is a table (or column) view (vs. the >> Form view Datagrid can also do). In that default mode, the default is >> that clicking in a cell will edit the contents >> >> However, when you drag a Datagrid control to a card, the default is that >> there are no rows and no columns until you add some. Just as an example, >> if you wanted a 10 row x 5 col "blank" editable table a user could put >> data into, you need to create the 5 empty columns and 10 rows. >> >> You can do this in the property inspector for the the data grid. In the >> popup list of property panes (pre-LC8), select Columns and add some >> columns by clicking the small plus sign button. Their default names will >> be Col1, Col2, etc. To add "rows". Add 5 of them. Then Select the >> Content pane in the Property Inspector and add 10 blank lines (enter 10 >> return characters). This creates 10 empty rows in the data grid. >> >> Close the property inspector and select the browse tool and click on one >> of the 50 cells (10 rows by 5 columns) and type in data. At any time to >> see a text view of the data (as tab and return delimited data), open the >> Message Box and enter >> >> put the dgText of group "" into msg >> >> and press return. >> >> Try it. >> >> On 7/29/2016 4:55 PM, Graham Samuel wrote: >>> Do you mean that a standalone can allow text to be entered in cells like in a spreadsheet without further coding? Obviously one would need scripting to add spreadsheet-like functions such as arithmetic operations; and to extend the functionality to manipulation of formulae would be a major task. But just being able to ?click in an empty cell and enter data? would be a good start. >>> >>> I have always tried not to use Datagrids as the seem to me so extraordinarily complicated. But if one were to write a ?simplified spreadsheet? widget, would a Datagrid be the place to start? In a way I suppose the web of functionality in a Datagrid makes it a kind of proto-widget. >>> >>> Curious >>> >>> Graham >>> >>>> On 29 Jul 2016, at 21:57, Paul Dupuis wrote: >>>> >>>> On 7/28/2016 10:24 PM, Javier Miranda V. wrote: >>>>> Dear friends, is it safe to say that a data grid is not a spreadsheet? I mean, you can not create a new data grid and then just click in a empty cell and enter data. >>>>> >>>>> With some practice and reading documentation, I am able to populate a datagrid with data from a database, and using a Table field in situation in which the user must fill-in data seems limited. >>>>> >>>> Yes, a Datagrid can be used much like a Spreadsheet. If you create a new >>>> data grid on a card, you need to bring up the property inspector and add >>>> some columns ay 5 columns) and add some blank rows (say 10 cr's (i.e. 10 >>>> blank lines)) to the content property. If you then close the property >>>> inspector and select the run tool, you can click in any cell of the 10r >>>> x 5c spreadsheet you made and enter data. >>>> >>>> You can fetch the data as tab and return delimited text by getting the >>>> dgText propert of the group that is the datagrid OR as an array by >>>> getting the dgData property. >>>> >>>> You do need to add some external controls to add rows and column OR sort >>>> of like excel, you could prepopulate it with 65535 blank rows and 676 >>>> columns (A - ZZ) and trim off the blank columns and row on the right and >>>> bottom when you want to fetch the data. >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Fri Jul 29 19:04:24 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 29 Jul 2016 16:04:24 -0700 Subject: "after after" for behaviors? In-Reply-To: References: Message-ID: It's hard to tell from your description how you want the final script to be triggered. It sounds like there are multiple handlers that can initiate the final script, and because of that I imagine you DO need to add a trigger command to each handler. I was going mention the possibility chained behaviors in that you can have a sort of parent behavior that is chained to multiple child behaviors, but this still operates the same as the standard message path: anything not handled in the child behavior is passed along to the parent. So to initiate some action that that is supposed occur at the end of handler, you need to trigger it at that point, either using a command or "pass". Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 7/29/16, 1:13 PM, "use-livecode on behalf of Dr. Hawkins" wrote: >*bump* > >any ideas, anyone? > >On Sat, Jul 23, 2016 at 11:05 AM, Dr. Hawkins wrote: > >> >> I am trying to implement a generalized behavior that triggers after the >> entire execution path, rather than after the immediate script, but >>before >> the next script in the path. >> >> Actually, having control return to a handler after "pass someHandler" >> would also solve my issues. >> >> A control might be clicked on, or text entered in a field, and so forth, >> that triggers handlers that set values and dependent values. >> >> I would like a group that owns such controls to be able to take actions >> *after* all such calculations. >> >> So if someone enters "foo" in field "bar", the closeField handler >> currently figures out what to do with that value, and anything that >> depends. Similarly if I click on my custom checkboxes, the mouse >>handler >> does similar calculations. >> >> I want another handler to run *after* all such things--but if I have an >> "after closeField" in the behavior, it simply runs after closeField, but >> before closeFIeld gets passed. And as near as I can tell, even without >>a >> closeField handler for the object or group, the after closeField still >>gets >> called prior to working its way up. >> >> Is there a solution other than what would be ugly hacks at the end of my >> closeField and mouseUp handlers? (they would be ugly because it would >>be >> properties of the group that need to be accessed, and the control could >>be >> a child, grandchild, etc. of the actual group [which is why I want the >> behavior to belong to the group]). >> >> The "least ugly" idea I have so far is something like concluding the >> universal closeField with "send aftrClsFld to the target" >> -- >> Dr. Richard E. Hawkins, Esq. >> (702) 508-8462 >> > > > >-- >Dr. Richard E. Hawkins, Esq. >(702) 508-8462 >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Fri Jul 29 21:44:04 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 30 Jul 2016 01:44:04 +0000 Subject: styles for lines in a list Message-ID: <0F275789-2847-4B01-A9CD-75E1EAFE697C@hindu.org> With no expectation but just in the off chance the dictionary entry for graphic effects was incomplete or out of date with respect to what objects can receive graphic effects: I tried on mouseup set the dropshadow["color"] of word 1 of line 1 of fld "testGraphicEffects to "255,0,0" end mouseup of course it failed?a word or a line of a field is not an "object" subject to graphicEffects? silent error, no syntax wrong flag in the script editor either. Are the foreground and background colors (hilite for list behavior fields) the only "decorations" we have available for text in fields? beyond the textstyles. Use case: if you use buttons for a navigation list, you have all sorts of graphic effects options for those on rollover, mousedown etc? but if you are calling for example a JSON file from the server that you want to turn into a clickable tree/outline/navigation index , you won't have those "lovely" options. Just curious if anyone has found ways to do more decorations with text in fields/lists? I found possibly a bug while checking to see if the threeDBox style could be of service: on mouseUp set the bottomColor of fld "test3d" to "255,0,0" #result: red border top and left of field set the textStyle of line 1 of fld "test3d" to threeDbox # result: line one has red border right and bottom end mouseUp But the dictionary indicates the bottomColor should be applied to the box round the line on the top/left borders, just like the field itself?Can anyone confirm? Why BottomColor is applied to top/left is unintuitive? that seems backward? in this case it would seem like we have both a dictionary issue and engine issue: if Bottomcolor is applied to bottom and right border of a text chunk.. that makes sense and the dictionary should say so, and then setting the bottom color of a field should also set the bottom andright borders as well. Am I missing something? BR From brahma at hindu.org Fri Jul 29 23:01:32 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 30 Jul 2016 03:01:32 +0000 Subject: Customize Tree Lists/Indexes Message-ID: <6D66A9F2-F1E3-459B-89EE-0DFF55EE3978@hindu.org> Our new app has 12 different screens that are indices of other content Table(s) of content, mostly media called from the web server, audio, video, lists of books in categories etc. I was thinking to adopt Apple's model for iTunes/Music/Radio. Incoming data for setting these up will be dynamically generated from Dbase data, get delivered or be stored as JSON, easily converted to an array Playing with the new Tree widget? it's easy to populate. But limited for customization. No way to do custom styles on the top levels, change the default indents etc. On the web we would use JQuery accordions and you have a near infinite number of option to style anything based on CSS class. What are my best options inside LC/Mobile? the eye candy designers have high expectations on the "production values" (look and feel of the GUI) If I ramped up my LCB skills, could I hack the Tree Widget? I would pay for a plug-in if it did the job. BR From brahma at hindu.org Fri Jul 29 23:23:07 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 30 Jul 2016 03:23:07 +0000 Subject: Customize Tree Lists/Indexes In-Reply-To: <6D66A9F2-F1E3-459B-89EE-0DFF55EE3978@hindu.org> References: <6D66A9F2-F1E3-459B-89EE-0DFF55EE3978@hindu.org> Message-ID: <37B06451-DEA6-4AA4-8C05-E5930FD912B3@hindu.org> Is anyone using Mat Wilstrands rTree2 I see this in the extension store, but no reviews, no info on how to get a trial copy and no detail on compatibility with latest LC release. From mwieder at ahsoftware.net Sat Jul 30 00:59:30 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 29 Jul 2016 21:59:30 -0700 Subject: Customize Tree Lists/Indexes In-Reply-To: <37B06451-DEA6-4AA4-8C05-E5930FD912B3@hindu.org> References: <6D66A9F2-F1E3-459B-89EE-0DFF55EE3978@hindu.org> <37B06451-DEA6-4AA4-8C05-E5930FD912B3@hindu.org> Message-ID: <7103831b-8bf5-7fbc-bdaf-af38cb577bb5@ahsoftware.net> On 07/29/2016 08:23 PM, Sannyasin Brahmanathaswami wrote: > I see this in the extension store Really? Where the hell is the store? I just spent ten minutes on the web site and I can't find the thing. -- Mark Wieder ahsoftware at gmail.com From beugelaar at solidit.nl Sat Jul 30 02:37:58 2016 From: beugelaar at solidit.nl (Erik Beugelaar) Date: Sat, 30 Jul 2016 08:37:58 +0200 Subject: Customize Tree Lists/Indexes Message-ID: https://livecode.com/products/extensions Regards, Erik Mark Wieder wrote: >On 07/29/2016 08:23 PM, Sannyasin Brahmanathaswami wrote: > >> I see this in the extension store > >Really? Where the hell is the store? >I just spent ten minutes on the web site and I can't find the thing. > >-- > Mark Wieder > ahsoftware at gmail.com > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Sat Jul 30 04:38:39 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 30 Jul 2016 09:38:39 +0100 Subject: [ ANN ] Release 8.1.0 DP-3 In-Reply-To: References: Message-ID: > On 29 Jul 2016, at 10:53 PM, Alex Tweedly wrote: > > > > On 29/07/2016 17:14, panagiotis merakos wrote: >> Dear list members, >> We are pleased to announce the release of LiveCode 8.1.0-dp-3, a >> development preview of LiveCode 8.1. > >> tsNet external >> -------------- >> LiveCode Indy and Business Editions now include the Tech Strategies tsNet >> external! >> * Faster than libURL (like, way faster... WAY FASTER) >> * Multiple simultaneous asynchronous requests to the same server >> * SFTP, SMTP, and SMTPS support (synchronous in Indy, async in Business) >> * SFTP key-based authentication (Business-only) >> * Seamless integration >> >> > What is tsNet ? A curl external we have licensed from Tech Strategies > Does it just happen ? Yes > Or do I need to do something to use it ? > If so, what ? No, you don?t need to do anything unless you are explicitly selecting inclusions during the standalone build. Then if you don?t have the internet library (libURL) included you need to include it as an extra inclusion. tsNet is resolved as a dependency of libURL. At the moment we don?t have a facility for turning tsNet off in the event you want to use libURL (not really sure why you would want that but I guess it?s possible). You can turn tsNet off if you want to with `dispatch ?revUnloadLibrary" to stack ?tsNetLibURL?` > > Where is it documented ? In the documentation stack. Cheers Monte > > Thanks > Alex. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From charles at techstrategies.com.au Sat Jul 30 06:13:39 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Sat, 30 Jul 2016 20:13:39 +1000 Subject: [ ANN ] Release 8.1.0 DP-3 In-Reply-To: References: Message-ID: <9fd81450-cb9d-5e47-f327-47c22ab1d9b8@techstrategies.com.au> On 30/07/2016 6:38 pm, Monte Goulding wrote >> What is tsNet ? > A curl external we have licensed from Tech Strategies > >> Does it just happen ? > Yes > >> Or do I need to do something to use it ? >> If so, what ? > No, you don?t need to do anything unless you are explicitly selecting inclusions during the standalone build. Then if you don?t have the internet library (libURL) included you need to include it as an extra inclusion. tsNet is resolved as a dependency of libURL. At the moment we don?t have a facility for turning tsNet off in the event you want to use libURL (not really sure why you would want that but I guess it?s possible). You can turn tsNet off if you want to with `dispatch ?revUnloadLibrary" to stack ?tsNetLibURL?` To add to what Monte has said, the tsNet external wraps around the existing libURL library as well as providing its own set of commands and functions. This provides two ways of using the external. Using the standard networking commands (put x into URL y, post x to URL y, load URL x, etc... ) will now automatically use the tsNet external in DP3 when using the internet library. There are a quite a number of benefits of tsNet, however the four most obvious benefits you will see by using it in this fashion are: 1. you can use SFTP URLs in the format of "sftp://user:pass at host.domain.com". 2. multiple asynchronous requests to the same server (for example when using "load URL x" commands) are processed immediately rather than sequentially as would happen previously 3. a significant performance improvement particularly noticeable on large file transfers, or when executing multiple requests to the same server one after another 4. all processing of data is offloaded to the external, improving responsive of the LC application to other tasks during transfers (for example, other handlers being triggered) However, this only gives you access to a subset of the features of the tsNet external. There are a range of commands and functions available in the tsNet external, all starting with "tsNet", that can be found in the LC dictionary. These give you access to the additional features like sending e-mails via SMTP(S) and comprehensive asynchronous request types that are not available using the standard internet library (for example, firing off multiple HTTP POST requests asynchronously). I will be adding more documentation and examples over the coming weeks to assist with using this external. In the mean time, I have uploaded a very simple sample stack that demonstrates how to send multiple HTTP POST requests in an asynchronous manner here: https://downloads.techstrategies.com.au/tsnet/sample_async_post.livecode Hope that helps, Regards, Charles >> Where is it documented ? > In the documentation stack. > > Cheers > > Monte > >> Thanks >> Alex. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hh.on-rev.com Sat Jul 30 05:51:44 2016 From: hh at hh.on-rev.com (-hh) Date: Sat, 30 Jul 2016 02:51:44 -0700 (PDT) Subject: styles for lines in a list In-Reply-To: <0F275789-2847-4B01-A9CD-75E1EAFE697C@hindu.org> References: <0F275789-2847-4B01-A9CD-75E1EAFE697C@hindu.org> Message-ID: <1469872304871-4707100.post@n4.nabble.com> What you wish for chunks of a field may be partially intended to develop with the 'text-field-extension' of the last pledging. The possible 'bug': Did you check the threeD setting (true) of the field, that is *conditional* for the field's bottomColor to be affected? It's similar with the borderColor of a field to become affected, what has also the threeD setting (false) as conditional. Sannyasin Brahmanathaswami wrote > With no expectation but just in the off chance the dictionary entry for > graphic effects was incomplete or out of date with respect to what objects > can receive graphic effects: > > I tried > > on mouseup > set the dropshadow["color"] of word 1 of line 1 of fld > "testGraphicEffects to "255,0,0" > end mouseup > > of course it failed?a word or a line of a field is not an "object" subject > to graphicEffects? silent error, no syntax wrong flag in the script > editor either. > > Are the foreground and background colors (hilite for list behavior fields) > the only "decorations" we have available for text in fields? beyond the > textstyles. > > Use case: if you use buttons for a navigation list, you have all sorts of > graphic effects options for those on rollover, mousedown etc? but if you > are calling for example a JSON file from the server that you want to turn > into a clickable tree/outline/navigation index , you won't have those > "lovely" options. > > Just curious if anyone has found ways to do more decorations with text in > fields/lists? > > I found possibly a bug while checking to see if the threeDBox style could > be of service: > > > on mouseUp > > set the bottomColor of fld "test3d" to "255,0,0" > > #result: red border top and left of field > > set the textStyle of line 1 of fld "test3d" to threeDbox > > # result: line one has red border right and bottom > > end mouseUp > > But the dictionary indicates the bottomColor should be applied to the box > round the line on the top/left borders, just like the field itself?Can > anyone confirm? Why BottomColor is applied to top/left is unintuitive? > that seems backward? in this case it would seem like we have both a > dictionary issue and engine issue: if Bottomcolor is applied to bottom and > right border of a text chunk.. that makes sense and the dictionary should > say so, and then setting the bottom color of a field should also set the > bottom andright borders as well. Am I missing something? > BR -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/styles-for-lines-in-a-list-tp4707093p4707100.html Sent from the Revolution - User mailing list archive at Nabble.com. From roger.e.eller at sealedair.com Sat Jul 30 08:50:51 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 30 Jul 2016 08:50:51 -0400 Subject: [ ANN ] Release 8.1.0 DP-3 In-Reply-To: References: Message-ID: > * SFTP, SMTP, and SMTPS support (synchronous in Indy, async in Business) > * SFTP key-based authentication (Business-only) Why handicap the performance for all but the high-rollers? What does the open-source version get; the old half-baked libUrl? Was there no open-source FTP libs out in the expanse of the interwebs that could benefit all LC users? ~Roger On Jul 29, 2016 12:15 PM, "panagiotis merakos" wrote: > Dear list members, > We are pleased to announce the release of LiveCode 8.1.0-dp-3, a > development preview of LiveCode 8.1. > > Developer Preview Release > ========================= > Warning: this is not a stable release. Please ensure that you back up your > stacks before testing them. > > Getting the Release > =================== > You can get the release at https://downloads.livecode.com/livecode/#8_1_0 > or via the automatic updater. > > Release Contents > ================ > Full release notes: > https://downloads.livecode.com/livecode/8_1_0/LiveCodeNotes-8_1_0_dp_3.pdf > > tsNet external > -------------- > LiveCode Indy and Business Editions now include the Tech Strategies tsNet > external! > * Faster than libURL (like, way faster... WAY FASTER) > * Multiple simultaneous asynchronous requests to the same server > * SFTP, SMTP, and SMTPS support (synchronous in Indy, async in Business) > * SFTP key-based authentication (Business-only) > * Seamless integration > > files() and folders() functions take an argument > ------------------------------------------------ > Avoid setting "the defaultFolder" by using "files()". > > LiveCode "Infinite" improvements to LCB > --------------------------------------- > * The deprecated "undefined" keyword has been "nothing"-ed. > > Graph widget upgrades > --------------------- > * Show points as well (or instead of) lines > * Choose a variety of exciting point markers (circles, squares, etc.) > > More! > ----- > * Support for field paragraphs with > 32767 characters > * New "tokenOffset()" function finds the offset of tokens > * 26 LiveCode 8.1-specific bugs fixed > > Known issues > ============ > * HTML5 standalones don't obey standalone builder settings (bug 18103) > * HTML5 standalones do not currently work when they contain extensions with > dependencies > * 64-bit standalones for Mac OS X do not have support for audio recording > or the revVideoGrabber external > * The default video is in .mov format which is not supported by the new > Windows player (bug 17696) > > Feedback > ======== > Please report any bugs encountered either to our support team < > support at livecode.com> or on our Bugzilla at http://quality.livecode.com/ > > Have fun! > The LiveCode Team > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From kevin at livecode.com Sat Jul 30 09:18:56 2016 From: kevin at livecode.com (Kevin Miller) Date: Sat, 30 Jul 2016 14:18:56 +0100 Subject: [ ANN ] Release 8.1.0 DP-3 In-Reply-To: References: Message-ID: The new URL library is licensed with per-user costs so it can?t go into OSS. There are libraries out there. The platform is open source. That means that you can add any one you choose free of charge. Kind regards, Kevin Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps On 30/07/2016, 13:50, "use-livecode on behalf of Roger Eller" wrote: >> * SFTP, SMTP, and SMTPS support (synchronous in Indy, async in Business) >> * SFTP key-based authentication (Business-only) > >Why handicap the performance for all but the high-rollers? >What does the open-source version get; the old half-baked libUrl? >Was there no open-source FTP libs out in the expanse of the interwebs that >could benefit all LC users? > >~Roger >On Jul 29, 2016 12:15 PM, "panagiotis merakos" > >wrote: > >> Dear list members, >> We are pleased to announce the release of LiveCode 8.1.0-dp-3, a >> development preview of LiveCode 8.1. >> >> Developer Preview Release >> ========================= >> Warning: this is not a stable release. Please ensure that you back up >>your >> stacks before testing them. >> >> Getting the Release >> =================== >> You can get the release at >>https://downloads.livecode.com/livecode/#8_1_0 >> or via the automatic updater. >> >> Release Contents >> ================ >> Full release notes: >> >>https://downloads.livecode.com/livecode/8_1_0/LiveCodeNotes-8_1_0_dp_3.pd >>f >> >> tsNet external >> -------------- >> LiveCode Indy and Business Editions now include the Tech Strategies >>tsNet >> external! >> * Faster than libURL (like, way faster... WAY FASTER) >> * Multiple simultaneous asynchronous requests to the same server >> * SFTP, SMTP, and SMTPS support (synchronous in Indy, async in Business) >> * SFTP key-based authentication (Business-only) >> * Seamless integration >> >> files() and folders() functions take an argument >> ------------------------------------------------ >> Avoid setting "the defaultFolder" by using "files()". >> >> LiveCode "Infinite" improvements to LCB >> --------------------------------------- >> * The deprecated "undefined" keyword has been "nothing"-ed. >> >> Graph widget upgrades >> --------------------- >> * Show points as well (or instead of) lines >> * Choose a variety of exciting point markers (circles, squares, etc.) >> >> More! >> ----- >> * Support for field paragraphs with > 32767 characters >> * New "tokenOffset()" function finds the offset of tokens >> * 26 LiveCode 8.1-specific bugs fixed >> >> Known issues >> ============ >> * HTML5 standalones don't obey standalone builder settings (bug 18103) >> * HTML5 standalones do not currently work when they contain extensions >>with >> dependencies >> * 64-bit standalones for Mac OS X do not have support for audio >>recording >> or the revVideoGrabber external >> * The default video is in .mov format which is not supported by the new >> Windows player (bug 17696) >> >> Feedback >> ======== >> Please report any bugs encountered either to our support team < >> support at livecode.com> or on our Bugzilla at http://quality.livecode.com/ >> >> Have fun! >> The LiveCode Team >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From blueback09 at gmail.com Sat Jul 30 09:22:09 2016 From: blueback09 at gmail.com (Matt Maier) Date: Sat, 30 Jul 2016 16:22:09 +0300 Subject: typo Message-ID: It's off topic, but in the spirit of wanting Livecode to be as good as it can be, this sentence shouldn't have an "a" in it. https://livecode.com/services/ "Let us run the recruitment process to help you hire a the right new LiveCode developers onto your team" From matthias_livecode_150811 at m-r-d.de Sat Jul 30 10:01:10 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 30 Jul 2016 16:01:10 +0200 Subject: [ ANN ] Release 8.1.0 DP-3 In-Reply-To: <9fd81450-cb9d-5e47-f327-47c22ab1d9b8@techstrategies.com.au> References: <9fd81450-cb9d-5e47-f327-47c22ab1d9b8@techstrategies.com.au> Message-ID: <99E7A0DC-6480-4781-92F4-2B696C848109@m-r-d.de> Charles, is FTP with TLS/SSL (AUTH TLS - Explicit) also supported by your external? If so, could you add an example for that also, please? Regards, Matthias > Am 30.07.2016 um 12:13 schrieb Charles Warwick >: > > > To add to what Monte has said, the tsNet external wraps around the existing libURL library as well as providing its own set of commands and functions. This provides two ways of using the external. > > Using the standard networking commands (put x into URL y, post x to URL y, load URL x, etc... ) will now automatically use the tsNet external in DP3 when using the internet library. > > There are a quite a number of benefits of tsNet, however the four most obvious benefits you will see by using it in this fashion are: > > 1. you can use SFTP URLs in the format of "sftp://user:pass at host.domain.com ". > 2. multiple asynchronous requests to the same server (for example when using "load URL x" commands) are processed immediately rather than sequentially as would happen previously > 3. a significant performance improvement particularly noticeable on large file transfers, or when executing multiple requests to the same server one after another > 4. all processing of data is offloaded to the external, improving responsive of the LC application to other tasks during transfers (for example, other handlers being triggered) > > However, this only gives you access to a subset of the features of the tsNet external. > > There are a range of commands and functions available in the tsNet external, all starting with "tsNet", that can be found in the LC dictionary. These give you access to the additional features like sending e-mails via SMTP(S) and comprehensive asynchronous request types that are not available using the standard internet library (for example, firing off multiple HTTP POST requests asynchronously). > > I will be adding more documentation and examples over the coming weeks to assist with using this external. In the mean time, I have uploaded a very simple sample stack that demonstrates how to send multiple HTTP POST requests in an asynchronous manner here: > > https://downloads.techstrategies.com.au/tsnet/sample_async_post.livecode > > Hope that helps, > > Regards, > > Charles > From richmondmathewson at gmail.com Sat Jul 30 10:49:29 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 30 Jul 2016 17:49:29 +0300 Subject: typo In-Reply-To: References: Message-ID: <4b6d1966-df10-e991-2d60-cfb6ca44da34@gmail.com> Well, I would also take issue with 'onto' and replace it with 'for'. Richmond. On 30.07.2016 16:22, Matt Maier wrote: > It's off topic, but in the spirit of wanting Livecode to be as good as it > can be, this sentence shouldn't have an "a" in it. > > https://livecode.com/services/ > > "Let us run the recruitment process to help you hire a the right new > LiveCode developers onto your team" > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bogdanoff at me.com Sat Jul 30 11:15:04 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Sat, 30 Jul 2016 08:15:04 -0700 Subject: typo In-Reply-To: <4b6d1966-df10-e991-2d60-cfb6ca44da34@gmail.com> References: <4b6d1966-df10-e991-2d60-cfb6ca44da34@gmail.com> Message-ID: <2EDD3D3B-CEE2-4372-9004-A43ABCDDE9A8@me.com> It's Scots. Or maybe Scotch. > On Jul 30, 2016, at 7:49 AM, Richmond wrote: > > Well, I would also take issue with 'onto' and replace it with 'for'. > > Richmond. > > >> On 30.07.2016 16:22, Matt Maier wrote: >> It's off topic, but in the spirit of wanting Livecode to be as good as it >> can be, this sentence shouldn't have an "a" in it. >> >> https://livecode.com/services/ >> >> "Let us run the recruitment process to help you hire a the right new >> LiveCode developers onto your team" >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Sat Jul 30 11:25:28 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 30 Jul 2016 08:25:28 -0700 Subject: typo In-Reply-To: <2EDD3D3B-CEE2-4372-9004-A43ABCDDE9A8@me.com> References: <4b6d1966-df10-e991-2d60-cfb6ca44da34@gmail.com> <2EDD3D3B-CEE2-4372-9004-A43ABCDDE9A8@me.com> Message-ID: On Sat, Jul 30, 2016 at 8:15 AM, Peter Bogdanoff wrote: > It's Scots. Or maybe Scotch. For that matter, it could have been caused by bourbon to tequila . . . :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From hh at hh.on-rev.com Sat Jul 30 11:00:57 2016 From: hh at hh.on-rev.com (-hh) Date: Sat, 30 Jul 2016 08:00:57 -0700 (PDT) Subject: typo In-Reply-To: References: Message-ID: <1469890857571-4707108.post@n4.nabble.com> [1] As to the sentence you cite: Why should have "your team" no "a"? Or: What means "your tem?" [2] The sentence you cite is not there. https://livecode.com/services/ Matt Maier wrote > It's off topic, but in the spirit of wanting Livecode to be as good as it > can be, this sentence shouldn't have an "a" in it. > > https://livecode.com/services/ > > "Let us run the recruitment process to help you hire a the right new > LiveCode developers onto your team" > _______________________________________________ -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/typo-tp4707103p4707108.html Sent from the Revolution - User mailing list archive at Nabble.com. From klaus at major-k.de Sat Jul 30 11:52:56 2016 From: klaus at major-k.de (Klaus major-k) Date: Sat, 30 Jul 2016 17:52:56 +0200 Subject: typo In-Reply-To: <1469890857571-4707108.post@n4.nabble.com> References: <1469890857571-4707108.post@n4.nabble.com> Message-ID: Hi Hermann, > Am 30.07.2016 um 17:00 schrieb [-hh] : > > [1] As to the sentence you cite: > Why should have "your team" no "a"? > Or: What means "your tem?" there is an "a" too much right after "hire": >> ...to help you hire a the right new LiveCode developer... > [2] The sentence you cite is not there. > https://livecode.com/services/ It is! Just copied this paragraph from that webpage: ... Developer Recruitment Support Do you need more LiveCode developers on your team? Let us run the recruitment process to help you hire a the right new LiveCode developers onto your team. We can also provide optional training to the new developers. ... > Matt Maier wrote >> It's off topic, but in the spirit of wanting Livecode to be as good as it >> can be, this sentence shouldn't have an "a" in it. >> >> https://livecode.com/services/ >> >> "Let us run the recruitment process to help you hire a the right new >> LiveCode developers onto your team" Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From dochawk at gmail.com Sat Jul 30 11:56:03 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 30 Jul 2016 08:56:03 -0700 Subject: typo In-Reply-To: <1469890857571-4707108.post@n4.nabble.com> References: <1469890857571-4707108.post@n4.nabble.com> Message-ID: On Sat, Jul 30, 2016 at 8:00 AM, [-hh] wrote: > [2] The sentence you cite is not there. > https://livecode.com/services/ > > Were it Ireland instead of Scotland, I'd suggest the wee folk had taken care of it . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From hh at hh.on-rev.com Sat Jul 30 11:41:32 2016 From: hh at hh.on-rev.com (-hh) Date: Sat, 30 Jul 2016 08:41:32 -0700 (PDT) Subject: typo In-Reply-To: References: <1469890857571-4707108.post@n4.nabble.com> Message-ID: <1469893292665-4707111.post@n4.nabble.com> Hi Klus and Dr.Hwkins, sorry, searched without "a". But off topic is off topic, so I'll insist on that: Matt writes: '.. this sentence shouldn't have an "a" in it.' And this sentence(*) has two "a" in it. He could have written '.. this sentence shouldn't have an "a " in it.' Else we have two spaces (one too much) there and also the word "tem". Perhaps "onto your tem" makes sense? A hidden message? If we scramble the chars we get "to mentor you" ... (*)The sentence: "Let us run the recruitment process to help you hire a the right new LiveCode developers onto your team" Regrds, Hermnn Klaus major-k wrote > Hi Hermann, > >> Am 30.07.2016 um 17:00 schrieb [-hh] < > hh at .on-rev > >: >> >> [1] As to the sentence you cite: >> Why should have "your team" no "a"? >> Or: What means "your tem?" > > there is an "a" too much right after "hire": > >>> ...to help you hire a the right new LiveCode developer... > > >> [2] The sentence you cite is not there. >> https://livecode.com/services/ > > It is! Just copied this paragraph from that webpage: > ... > Developer Recruitment Support > Do you need more LiveCode developers on your team? > Let us run the recruitment process to help you hire a the right new > LiveCode developers > onto your team. We can also provide optional training to the new > developers. > ... > >> Matt Maier wrote >>> It's off topic, but in the spirit of wanting Livecode to be as good as >>> it >>> can be, this sentence shouldn't have an "a" in it. >>> >>> https://livecode.com/services/ >>> >>> "Let us run the recruitment process to help you hire a the right new >>> LiveCode developers onto your team" > > Best > > Klaus > -- > Klaus Major > http://www.major-k.de > klaus@ > > > _______________________________________________ > use-livecode mailing list > use-livecode at .runrev > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/typo-tp4707103p4707111.html Sent from the Revolution - User mailing list archive at Nabble.com. From MikeKerner at roadrunner.com Sat Jul 30 12:52:05 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 30 Jul 2016 12:52:05 -0400 Subject: LCB In-Reply-To: References: Message-ID: The thing I don't have my brain wrapped around, yet, is why one would use the LCB library-building functionality instead of building a library stack. I'm interested in what you're doing, Trevor, and how you're using LCB, as I have ideas on how to make adopting LCB easier, for me, anyway. On Fri, Jul 29, 2016 at 6:43 PM, Trevor DeVore wrote: > On Friday, July 29, 2016, Mike Kerner wrote: > > > Is anybody doing anything significant with LCB, yet? > > > > I'm doing a lot of UI work with it. For custom controls I think widgets are > fantastic (although I wish the team would get event messaging sorted > out). I've experimented some with libraries in the last but the language > wasn't quite mature enough to make it worth it. I ended up calling out to > LCS to do a lot of things. > > -- > Trevor DeVore > ScreenSteps > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From peter.brett at livecode.com Sat Jul 30 12:59:13 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Sat, 30 Jul 2016 17:59:13 +0100 Subject: LCB In-Reply-To: References: Message-ID: <1edba53f-7dc7-6af4-8873-138c100c9e98@livecode.com> On 30/07/2016 17:52, Mike Kerner wrote: > The thing I don't have my brain wrapped around, yet, is why one would use > the LCB library-building functionality instead of building a library > stack. I'm interested in what you're doing, Trevor, and how you're using > LCB, as I have ideas on how to make adopting LCB easier, for me, anyway. I prefer writing libraries in LCB because: - LCB libraries aren't in the message path; they get selected for dispatch in the same way that engine commands do - I find LCB libraries easier to test (built in unit test syntax) - LCB has block scoped, strongly-typed variables - LCB lets you pass handlers around as values - LCB has lists Peter -- Dr Peter Brett LiveCode Technical Project Manager LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From blueback09 at gmail.com Sat Jul 30 13:04:00 2016 From: blueback09 at gmail.com (Matt Maier) Date: Sat, 30 Jul 2016 20:04:00 +0300 Subject: typo In-Reply-To: <1469893292665-4707111.post@n4.nabble.com> References: <1469890857571-4707108.post@n4.nabble.com> <1469893292665-4707111.post@n4.nabble.com> Message-ID: Wasn't planning to make a habit out of this, but here's another one. Unles "variabable" was a punny easter egg. Maybe some kind of Freudian slip. http://samples.on-rev.com/get.irev "...added with the following syntax: http://www.yoururl.com?variabableName1=value&..." I'll stop if someone can point me towards a comprehensive explanation of how to connect Livecode scripts on all of the different platforms to each other. On Sat, Jul 30, 2016 at 6:41 PM, [-hh] wrote: > Hi Klus and Dr.Hwkins, > > sorry, searched without "a". > But off topic is off topic, so I'll insist on that: > > Matt writes: > '.. this sentence shouldn't have an "a" in it.' > And this sentence(*) has two "a" in it. > > He could have written > '.. this sentence shouldn't have an "a " in it.' > > Else we have two spaces (one too much) there and > also the word "tem". > > Perhaps "onto your tem" makes sense? A hidden message? > If we scramble the chars we get "to mentor you" ... > > (*)The sentence: > "Let us run the recruitment process to help you hire a the > right new LiveCode developers onto your team" > > Regrds, Hermnn > Klaus major-k wrote > > Hi Hermann, > > > >> Am 30.07.2016 um 17:00 schrieb [-hh] < > > > hh at .on-rev > > > >: > >> > >> [1] As to the sentence you cite: > >> Why should have "your team" no "a"? > >> Or: What means "your tem?" > > > > there is an "a" too much right after "hire": > > > >>> ...to help you hire a the right new LiveCode developer... > > > > > >> [2] The sentence you cite is not there. > >> https://livecode.com/services/ > > > > It is! Just copied this paragraph from that webpage: > > ... > > Developer Recruitment Support > > Do you need more LiveCode developers on your team? > > Let us run the recruitment process to help you hire a the right new > > LiveCode developers > > onto your team. We can also provide optional training to the new > > developers. > > ... > > > >> Matt Maier wrote > >>> It's off topic, but in the spirit of wanting Livecode to be as good as > >>> it > >>> can be, this sentence shouldn't have an "a" in it. > >>> > >>> https://livecode.com/services/ > >>> > >>> "Let us run the recruitment process to help you hire a the right new > >>> LiveCode developers onto your team" > > > > Best > > > > Klaus > > -- > > Klaus Major > > http://www.major-k.de > > > klaus@ > > > > > > > _______________________________________________ > > use-livecode mailing list > > > use-livecode at .runrev > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/typo-tp4707103p4707111.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Sat Jul 30 14:45:02 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 30 Jul 2016 14:45:02 -0400 Subject: LCB In-Reply-To: <1edba53f-7dc7-6af4-8873-138c100c9e98@livecode.com> References: <1edba53f-7dc7-6af4-8873-138c100c9e98@livecode.com> Message-ID: What I read is that you are saying that you prefer LCB because it is more of a traditional language. I am completely the other way. Traditional languages turn me off. So, for someone who can choose any tool there is, but chooses LC, why LCB for libraries over LCS? On Sat, Jul 30, 2016 at 12:59 PM, Peter TB Brett wrote: > On 30/07/2016 17:52, Mike Kerner wrote: > >> The thing I don't have my brain wrapped around, yet, is why one would use >> the LCB library-building functionality instead of building a library >> stack. I'm interested in what you're doing, Trevor, and how you're using >> LCB, as I have ideas on how to make adopting LCB easier, for me, anyway. >> > > I prefer writing libraries in LCB because: > > - LCB libraries aren't in the message path; they get selected for dispatch > in the same way that engine commands do > > - I find LCB libraries easier to test (built in unit test syntax) > > - LCB has block scoped, strongly-typed variables > > - LCB lets you pass handlers around as values > > - LCB has lists > > Peter > > -- > Dr Peter Brett > LiveCode Technical Project Manager > > LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jacque at hyperactivesw.com Sat Jul 30 15:32:38 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 30 Jul 2016 14:32:38 -0500 Subject: styles for lines in a list In-Reply-To: <1469872304871-4707100.post@n4.nabble.com> References: <0F275789-2847-4B01-A9CD-75E1EAFE697C@hindu.org> <1469872304871-4707100.post@n4.nabble.com> Message-ID: Sannyasin Brahmanathaswami wrote: > Why BottomColor is applied to top/left is unintuitive? > that seems backward? It does on first glance, but it's clear after you know what it's doing. TopColor and bottomColor only apply to 3D fields. The effect is like light shining onto a 3D frame, where the edges are hilighted on the parts that are "sticking out" and there are shadows underneath. The default light source is at the top left, which is the corner that will show hilighting effects. The bottom right corner will show an opposite effect; the "inside" of the frame will catch the light and the lower edge will be in shadow. The topColor is the hilighted color, the bottomColor is the shadow color. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Jul 30 15:42:55 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 30 Jul 2016 14:42:55 -0500 Subject: LCB In-Reply-To: References: <1edba53f-7dc7-6af4-8873-138c100c9e98@livecode.com> Message-ID: I agree with Mike, this hard going for me. I don't know any other language besides xtalk, in which I am fluent. Declaring variable types is foreign, to me a "list" is a sequence of delimited text, I don't know what "block scoped" or "passing handlers as values" means. I'll reserve judgement on "easier to test"; my experience so far is that error messages are opaque and vague, but that may be because I was testing in the wrong LC version. I think my inexperience makes me the ideal candidate for testing the lessons, but I could write a LCS library in a fraction of the time it would take me to write something in LCB. I will probably learn it but it will be a long journey. The "eureka" moments are rewarding though. People who are coming to LC from other languages would likely share Peter's view. On 7/30/2016 1:45 PM, Mike Kerner wrote: > What I read is that you are saying that you prefer LCB because it is more > of a traditional language. I am completely the other way. Traditional > languages turn me off. So, for someone who can choose any tool there is, > but chooses LC, why LCB for libraries over LCS? > > On Sat, Jul 30, 2016 at 12:59 PM, Peter TB Brett > wrote: > >> On 30/07/2016 17:52, Mike Kerner wrote: >> >>> The thing I don't have my brain wrapped around, yet, is why one would use >>> the LCB library-building functionality instead of building a library >>> stack. I'm interested in what you're doing, Trevor, and how you're using >>> LCB, as I have ideas on how to make adopting LCB easier, for me, anyway. >>> >> >> I prefer writing libraries in LCB because: >> >> - LCB libraries aren't in the message path; they get selected for dispatch >> in the same way that engine commands do >> >> - I find LCB libraries easier to test (built in unit test syntax) >> >> - LCB has block scoped, strongly-typed variables >> >> - LCB lets you pass handlers around as values >> >> - LCB has lists >> >> Peter >> >> -- >> Dr Peter Brett >> LiveCode Technical Project Manager >> >> LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Jul 30 15:59:25 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 30 Jul 2016 14:59:25 -0500 Subject: LCB In-Reply-To: <1edba53f-7dc7-6af4-8873-138c100c9e98@livecode.com> References: <1edba53f-7dc7-6af4-8873-138c100c9e98@livecode.com> Message-ID: <3708fab4-5a62-9157-55ca-86dd5ccad448@hyperactivesw.com> On 7/30/2016 11:59 AM, Peter TB Brett wrote: > > - LCB libraries aren't in the message path; they get selected for > dispatch in the same way that engine commands do I'm not seeing that. I have the "sayHello" lesson library loaded, and I put this script into a button in a new stack: on mouseUp put sayHello("jacque,peter") into tArray breakpoint end mouseUp function sayHello pNames put "Card function hit" end sayHello The function in the button script triggers and the message box shows "Card function hit." The tArray variable in the mouseUp handler is empty. The same thing happens if I put the sayHello LCS handler into the card script. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brahma at hindu.org Sat Jul 30 16:51:45 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 30 Jul 2016 20:51:45 +0000 Subject: Create and Delete Browser Widget? Message-ID: still struggling with "destroying" the browser widget on mobile. Go in Window, (where stack A with browser is closed and you go stack B in window) recommended by Mark, does not work. The browser persists on top of the screen even as the new stack is opened. Next attempt is to delete and create dynamically. what is the syntax to create a widget object? the dictionary create [invisible] objectType [objectName] [in group] does not list the different widgets under object types, so how do you refer to it? on mouseUp create browser "candy" end mouseUp" does not work (nor various other forms I tried?) The previous revBrowser language syntax options where robust and useful, these two in particular for this use case (moving from one stack to another) revBrowserOpen RevBrowserClose side note: Dictionary deprecates XBrowser? but says nothing about the relative merit or use cases for the new browser widget vs RevBrowser? Insights anyone? BR From merakosp at gmail.com Sat Jul 30 17:27:09 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Sun, 31 Jul 2016 00:27:09 +0300 Subject: Create and Delete Browser Widget? In-Reply-To: References: Message-ID: See the [create widget] command in the dictionary. You can do: create widget "MyBrowser" as "com.livecode.widget.browser" Maybe worth trying first to set the "visible" of the browser widget to false/true when you close/open the card that has the browser widget. If this does not work then try to delete/create the widget On Sat, Jul 30, 2016 at 11:51 PM, Sannyasin Brahmanathaswami < brahma at hindu.org> wrote: > still struggling with "destroying" the browser widget on mobile. > > Go in Window, (where stack A with browser is closed and you go stack B in > window) recommended by Mark, does not work. The browser persists on top of > the screen even as the new stack is opened. > > Next attempt is to delete and create dynamically. > > what is the syntax to create a widget object? the dictionary > create [invisible] objectType [objectName] [in group] > > does not list the different widgets under object types, so how do you > refer to it? > > > on mouseUp > > create browser "candy" > > end mouseUp" > does not work (nor various other forms I tried?) > > The previous revBrowser language syntax options where robust and useful, > these two in particular for this use case (moving from one stack to another) > > revBrowserOpen RevBrowserClose > > side note: Dictionary deprecates XBrowser? > > but says nothing about the relative merit or use cases for the new browser > widget vs RevBrowser? > > Insights anyone? > > BR > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Sat Jul 30 19:53:24 2016 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 31 Jul 2016 00:53:24 +0100 Subject: [ ANN ] Release 8.1.0 DP-3 In-Reply-To: References: Message-ID: Thanks Monte - but more questions open up .... On 30/07/2016 09:38, Monte Goulding wrote: > Or do I need to do something to use it ? >> If so, what ? > No, you don?t need to do anything unless you are explicitly selecting inclusions during the standalone build. Then if you don?t have the internet library (libURL) included you need to include it as an extra inclusion. tsNet is resolved as a dependency of libURL. At the moment we don?t have a facility for turning tsNet off in the event you want to use libURL (not really sure why you would want that but I guess it?s possible). You can turn tsNet off if you want to with `dispatch ?revUnloadLibrary" to stack ?tsNetLibURL?` Q. Why would I want to turn it off ? A. for testing. If I have a stack that uses libURL, and I want it to be usable with either Indy or Commercial version, then I *should* (IMO) test it with both tsNet and straight libURL. I do not have the Community version on any of my machines, and never will so long as that puts me at risk of unintentionally exposing my stacks to GPL - so I would need a way to turn off tsNet to allow such testing. If I do use some of the tsNet handlers, and then someone else downloads that stack and runs it in the Community version, do these calls simply fail, or are there 'stub' versions included in the community version ? Are there already other features that work in both versions, but do so differently ? >> Where is it documented ? > In the documentation stack. Ooops - got to stop looking in8.1 DP2 dictionry for DP3 features :-) Thanks -- Alex. From brahma at hindu.org Sat Jul 30 20:10:27 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 31 Jul 2016 00:10:27 +0000 Subject: Customize Tree Lists/Indexes In-Reply-To: References: Message-ID: <9EA3D5F1-72E0-4C0C-85E3-1577E0219E5C@hindu.org> RE: rTree2 (at the extensions shop) tapir.com seems dead. Email to developer Mal Walstrand (sp?) ) is bouncing as non-existent? (click on the site contact email address with attention to him) Only Ganesha knows if that thing is compatible with LC 8? or not? and there is no way to get a trial. So? back to designing our own. Perhaps a worthy widget for community funding? Requirements are not that complicated. Could almost take the project browser and tweak such that it could even serve on mobile. or advance the existing tree widget to the next level? Properties to expose: -- text style(s) per level -- indents space (none | px ) per indent level -- icon assignments. -- default fold state "collapsed |uncollapsed" -- elements count for next level below (at end of parent level-line) -- alternate line colors -- node level separators (horizontal rules between top level nodes only, second level, third level) color of separator. -- lines wrap yes | no Am I the only one thinking we need this? On 7/29/16, 8:37 PM, "use-livecode on behalf of Erik Beugelaar" wrote: https://livecode.com/products/extensions Regards, Erik From brahma at hindu.org Sat Jul 30 21:02:16 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 31 Jul 2016 01:02:16 +0000 Subject: [ ANN ] Release 8.1.0 DP-3 In-Reply-To: References: Message-ID: <6AE03CAD-CB4C-4C58-AB3D-43CE4C9BD24B@hindu.org> TS NET: Awesome! thank you? my begging bowl was out for this for soooo long! Monte Goulding wrote: > Or do I need to do something to use it ? >> If so, what ? > No, you don?t need to do anything unless you are explicitly selecting inclusions during the standalone build. Then if you don?t have the internet library (libURL) included you need to include it as an extra inclusion. tsNet is resolved as a dependency of libURL More examples would help.. a simple "na?ve" test for starters (assumes all works under the hood) was put url "sftp://tUser:tPwd at mydomainIP/home/mydomain/public_html/" returns no error for syntax in the script editor? result is empty and "it" is empty. 1) neither libURL nor TSNet has any command that explicitly contains "SFTP" if the URL we issue is (I assume this is the required form) "sftp://tUSER:tPWD at www.Mydomain.com/public_html/cool_pix" is SFTP automatically implemented? transparently handled? 2) does TSnet get fired transparently whenever libURL does it's job? OR 3) do we use one or the other? 4) what command do we issue which returns the pConnectionID that we see for all subsequent requests to the server. We see lots of cmds that require pConnectionID, but none that opens a connection are returns that value for subsequent use. one expects to see a function call like tsNetOpen # returns connection ID Maybe someone can post here a simple session example of script that does: -- open a remote directory by SFTP -- returns a directory listing -- upload/upload a file to that directory I think once we see one of these we can probably grok the rest. Again thanks to Kevin for this acquisition! BR From irog at mac.com Sat Jul 30 22:59:06 2016 From: irog at mac.com (Roger Guay) Date: Sat, 30 Jul 2016 19:59:06 -0700 Subject: Polygon Smoothing In-Reply-To: <6AE03CAD-CB4C-4C58-AB3D-43CE4C9BD24B@hindu.org> References: <6AE03CAD-CB4C-4C58-AB3D-43CE4C9BD24B@hindu.org> Message-ID: I thought this would be easy but I need help. Anybody know a good algorithm for smoothing polygons? Thanks, Roger From charles at techstrategies.com.au Sat Jul 30 23:26:17 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Sun, 31 Jul 2016 13:26:17 +1000 Subject: [ ANN ] Release 8.1.0 DP-3 In-Reply-To: References: Message-ID: <366077bb-b7fd-114c-0173-c4569a71db6f@techstrategies.com.au> On 31/07/2016 9:53 am, Alex Tweedly wrote: >> No, you don?t need to do anything unless you are explicitly selecting >> inclusions during the standalone build. Then if you don?t have the >> internet library (libURL) included you need to include it as an extra >> inclusion. tsNet is resolved as a dependency of libURL. At the moment >> we don?t have a facility for turning tsNet off in the event you want >> to use libURL (not really sure why you would want that but I guess >> it?s possible). You can turn tsNet off if you want to with `dispatch >> ?revUnloadLibrary" to stack ?tsNetLibURL?` > Q. Why would I want to turn it off ? > A. for testing. > If I have a stack that uses libURL, and I want it to be usable with > either Indy or Commercial version, then I *should* (IMO) test it with > both tsNet and straight libURL. I do not have the Community version on > any of my machines, and never will so long as that puts me at risk of > unintentionally exposing my stacks to GPL - so I would need a way to > turn off tsNet to allow such testing. I assume you mean "either Indy or Community version" above :-) To clarify Monte's comment above, if you include libURL in your standalone application, the tsNet external will automatically get included in the build. There is currently no way from within the "standalone application settings" to disable the use of tsNet with libURL. However, if you do need to completely disable the use of the tsNet libURL driver so that your standard networking calls which utilise libURL won't invoke the tsNet commands, you can issue the "dispatch" command Monte mentioned above. This also removes the dependancy links between tsNet and libURL, so that the tsNet external will not get included in any standalone build unless you manually select it (for example, if you just wanted to use it via the tsNet commands). Alternatively, if you just want disable the use of the tsNet libURL driver for testing purposes, but don't want to remove the dependancies themselves, you can simply issue: libUrlSetDriver "" Note that you can still use the tsNet commands directly (provided you include the external if you are building externals) even if you do this. > > If I do use some of the tsNet handlers, and then someone else > downloads that stack and runs it in the Community version, do these > calls simply fail, or are there 'stub' versions included in the > community version ? > Like any other external that is provided in the commercial versions only, the handler calls will fail. Regards, Charles From charles at techstrategies.com.au Sat Jul 30 23:37:34 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Sun, 31 Jul 2016 13:37:34 +1000 Subject: [ ANN ] Release 8.1.0 DP-3 In-Reply-To: <99E7A0DC-6480-4781-92F4-2B696C848109@m-r-d.de> References: <9fd81450-cb9d-5e47-f327-47c22ab1d9b8@techstrategies.com.au> <99E7A0DC-6480-4781-92F4-2B696C848109@m-r-d.de> Message-ID: On 31/07/2016 12:01 am, Matthias Rebbe wrote: > Charles, > > is FTP with TLS/SSL (AUTH TLS - Explicit) also supported by your external? Yes, FTPS is supported by the external, though you have to use the tsNet commands directly, rather than the standard libUrl calls. For explicit FTPS transfers, you can do something like this: local tEmptyHeaderVar, tData, tResultHeaders, tSettings put true into tSettings["use_ssl"] put "some data to upload" into tData put tsNetUploadSync("ftp://ftp.domain.com/path/to/file.dat", tEmptyHeaderVar, tData, tResultHeaders, tSettings) into tResult If you want to use the less common implicit transfers, you can do this instead: local tEmptyHeaderVar, tData, tResultHeaders, tSettings put "some data to upload" into tData put tsNetUploadSync("ftps://ftp.domain.com/path/to/file.dat", tEmptyHeaderVar, tData, tResultHeaders, tSettings) into tResult Hope that helps, Regards, Charles > If so, could you add an example for that also, please? > > Regards, > Matthias > > > >> Am 30.07.2016 um 12:13 schrieb Charles Warwick >: >> >> >> To add to what Monte has said, the tsNet external wraps around the existing libURL library as well as providing its own set of commands and functions. This provides two ways of using the external. >> >> Using the standard networking commands (put x into URL y, post x to URL y, load URL x, etc... ) will now automatically use the tsNet external in DP3 when using the internet library. >> >> There are a quite a number of benefits of tsNet, however the four most obvious benefits you will see by using it in this fashion are: >> >> 1. you can use SFTP URLs in the format of "sftp://user:pass at host.domain.com ". >> 2. multiple asynchronous requests to the same server (for example when using "load URL x" commands) are processed immediately rather than sequentially as would happen previously >> 3. a significant performance improvement particularly noticeable on large file transfers, or when executing multiple requests to the same server one after another >> 4. all processing of data is offloaded to the external, improving responsive of the LC application to other tasks during transfers (for example, other handlers being triggered) >> >> However, this only gives you access to a subset of the features of the tsNet external. >> >> There are a range of commands and functions available in the tsNet external, all starting with "tsNet", that can be found in the LC dictionary. These give you access to the additional features like sending e-mails via SMTP(S) and comprehensive asynchronous request types that are not available using the standard internet library (for example, firing off multiple HTTP POST requests asynchronously). >> >> I will be adding more documentation and examples over the coming weeks to assist with using this external. In the mean time, I have uploaded a very simple sample stack that demonstrates how to send multiple HTTP POST requests in an asynchronous manner here: >> >> https://downloads.techstrategies.com.au/tsnet/sample_async_post.livecode >> >> Hope that helps, >> >> Regards, >> >> Charles >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brahma at hindu.org Sat Jul 30 23:53:31 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 31 Jul 2016 03:53:31 +0000 Subject: Create and Delete Browser Widget? In-Reply-To: References: Message-ID: <4355DF29-097B-4E6D-90C8-3D6D9A5C4486@hindu.org> Thks for the tips. Results: Stack A has a mobileScroller on card 1 the group that scrolls has links, some to out to another stack that has the browser widget. Stack B The Browser Stack runs landscape? I pull a URL from our web server? runs beautifully. has button to go back to cd 1 of stack A If I set the now to vis = false? (hide) When we arrive back at stack A we don't see the browser occupying the space any more, at least visually. But the mobileScroller now is failing. I cannot scroll the group on the screen. I suspected that the invisible browser may still be trapping the touch events. OK? so then next test: on stack B, Delete browser on close and create browser on open. result: 1st problem is geometry? the stack is set to landscape? and when I create the browser as invisible and set the rect of the browser to 50,30,the width of this card, the height of this card after creating it? it fails and is drawn in the lower corner in a rect that is about 200px square in the lower left of the card. OK, setting that aside, on mobile, I can start the video, on iOS it expands (youtube behavior) to take the full screen and when I click DONE it drops back to my card view (with browser stuck in the lower left area)? So now I set the navigation in the behavior that is attached to the stack to delete the browers on exiting that card/stack and issue go recent. So now we are back at Stack A? I can see in the project browser ondesktop (which is now runtime responsive in 8.1 dp3 YAY!) that the browser object is indeed being created and deleted? BUT the scroller region on CD 1 of Stack A is still non responsive? I have to leave that stack, go to another stack and then back again? *now* the scroller is responsive. So, this is a bit tricky eating up a lot of time going no where? BR On 7/30/16, 11:27 AM, "use-livecode on behalf of panagiotis merakos" wrote: See the [create widget] command in the dictionary. You can do: create widget "MyBrowser" as "com.livecode.widget.browser" Maybe worth trying first to set the "visible" of the browser widget to false/true when you close/open the card that has the browser widget. If this does not work then try to delete/create the widget From charles at techstrategies.com.au Sun Jul 31 00:30:09 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Sun, 31 Jul 2016 14:30:09 +1000 Subject: [ ANN ] Release 8.1.0 DP-3 In-Reply-To: <6AE03CAD-CB4C-4C58-AB3D-43CE4C9BD24B@hindu.org> References: <6AE03CAD-CB4C-4C58-AB3D-43CE4C9BD24B@hindu.org> Message-ID: <1f24dfda-bf58-e2fe-eb17-71f8b897a700@techstrategies.com.au> On 31/07/2016 11:02 am, Sannyasin Brahmanathaswami wrote: > TS NET: > > > No, you don?t need to do anything unless you are explicitly selecting inclusions during the standalone build. Then if you don?t have the internet library (libURL) included you need to include it as an extra inclusion. tsNet is resolved as a dependency of libURL > > More examples would help.. Some more examples will be along soon :-) > a simple "na?ve" test for starters (assumes all works under the hood) was > > put url "sftp://tUser:tPwd at mydomainIP/home/mydomain/public_html/" > > returns no error for syntax in the script editor? result is empty and "it" is empty. hmmm... that should work and does here. I have uploaded a very simple "debug" stack that you can run along side any stack in the IDE which will capture all header data sent and received using libUrl (just makes a simple call to libUrlSetLogField). https://downloads.techstrategies.com.au/tsnet/debug_liburl.livecode If you download that, click "start debug", and then try your "put" command again, it would good to see the output. > > 1) neither libURL nor TSNet has any command that explicitly contains "SFTP" if the URL we issue is (I assume this is the required form) > > "sftp://tUSER:tPWD at www.Mydomain.com/public_html/cool_pix" > > is SFTP automatically implemented? transparently handled? Yes, SFTP is automatically implemented. Using libUrl, simply using a URL in the format you mentioned should work. All of the tsNet commands/functions determine which protocol to use from the URL as well. > 2) does TSnet get fired transparently whenever libURL does it's job? > > OR > > 3) do we use one or the other? tsNet gets fired transparently whenever libUrl does its job unless you choose to disable it. > 4) what command do we issue which returns the pConnectionID that we see for all subsequent requests to the server. We see lots of cmds that require pConnectionID, but none that opens a connection are returns that value for subsequent use. > > one expects to see a function call like > > tsNetOpen # returns connection ID My apologies here. There are some documentation updates that I have been working on that unfortunately didn't make it into DP3. This will be clearer in the next release. The value of the pConnectionID parameter is specified by the user whenever an asynchronous request is made (e.g. as the first parameter to the tsNetUpload function). The idea here was to make it easier to identify the individual connection by using a label that makes sense for the particular application and transfer, rather than some arbitrary value returned by the external. This is only relevant if you are using the tsNet handlers directly. An example of using asynchronous requests can be downloaded here: https://downloads.techstrategies.com.au/tsnet/sample_async_post.livecode This example uses HTTP POST requests, however the same concepts apply for all transfer types. > Maybe someone can post here a simple session example of script that does: > > -- open a remote directory by SFTP > -- returns a directory listing > -- upload/upload a file to that directory If you are using standard libUrl commands, you would do: local tData, tDirectoryListing, tInputFile, tData, tPath put URL "sftp://user:pass at host.domain.com/directory/path/" into tDirectoryListing put specialFolderPath("documents") into tPath put tPath & "/file.dat" into tInputFile put URL ("binfile:///" & tInputFile) into tData put tData into URL "sftp://user:pass at host.domain.com/directory/path/file.dat" If you want to use the tsNet functions which provide direct access to more specific transfer details (number of bytes transferred, headers received from server, etc...) , this would be: local tEmptyHeaderVar, tData, tResultHeaders, tResult, tBytes, tDirectoryListing, tInputFile, tPath put tsNetGetSync("sftp://user:pass at host.domain.com/directory/path/", tEmptyHeaderVar, tResultHeaders, tResult, tBytes) into tDirectoryListing put specialFolderPath("documents") into tPath put tPath & "/file.dat" into tInputFile put tsNetUploadFileSync(tInputFile, "sftp://user:pass at host.domain.com/directory/path/file.dat", tEmptyHeaderVar, tResultHeaders, tBytes) into tResult In both cases, the tsNet external will use a single connection for the whole script. It will not close and re-open the SFTP session for each request unless the server closes the session due to an inactivity timeout (or you force it to). Hope that helps, Regards, Charles > > I think once we see one of these we can probably grok the rest. > > Again thanks to Kevin for this acquisition! > > BR > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Jul 31 03:02:13 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 31 Jul 2016 10:02:13 +0300 Subject: Polygon Smoothing In-Reply-To: References: <6AE03CAD-CB4C-4C58-AB3D-43CE4C9BD24B@hindu.org> Message-ID: "Polygon smoothing" ? Do you mean: 1. rounding corners? http://stackoverflow.com/questions/24771828/algorithm-for-creating-rounded-corners-in-a-polygon https://rechneronline.de/pi/round-corner.php 2. curving the straight bits outwards? Richmond. On 31.07.2016 05:59, Roger Guay wrote: > I thought this would be easy but I need help. Anybody know a good algorithm for smoothing polygons? > > Thanks, > > Roger > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Sun Jul 31 03:21:00 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 31 Jul 2016 00:21:00 -0700 Subject: Polygon Smoothing In-Reply-To: References: <6AE03CAD-CB4C-4C58-AB3D-43CE4C9BD24B@hindu.org> Message-ID: Many years ago, Alejandro Tejada shared a demo stack for this. Doesn't seem to run quite right under LC7, but you might be able to update or make use of the algorithms. http://tactilemedia.com/download/Smooth_Polygon_Algorithms.rev.zip Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 7/30/16, 7:59 PM, "use-livecode on behalf of Roger Guay" wrote: >I thought this would be easy but I need help. Anybody know a good >algorithm for smoothing polygons? > >Thanks, > >Roger > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hh.on-rev.com Sun Jul 31 04:55:10 2016 From: hh at hh.on-rev.com (-hh) Date: Sun, 31 Jul 2016 01:55:10 -0700 (PDT) Subject: Polygon Smoothing In-Reply-To: References: <6AE03CAD-CB4C-4C58-AB3D-43CE4C9BD24B@hindu.org> Message-ID: <1469955310164-4707131.post@n4.nabble.com> Smoothing-(Bezier-)Algorithms. the usability depends on what you want to do: [1] Smooth draw or [2] approximate a few polygon lines by a smooth curve. HTML5 version (check "smoothing"). http://hh.on-rev.com/html5/krikelKrakel2a-8.0.0-dp-15X.html Runs much faster in the IDE, see how to download the stack in the HTML5 forum ("Successfull test"). Contains algorithms of Decasteljau (good for [1]) and of Chaikin and Shemanarev (may better for [2]). [1] is even fast enough for Raspi Raspi collection stack #30, runs also (faster) on all other desktop platforms. http://forums.livecode.com/viewtopic.php?p=104113#p104113 -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Release-8-1-0-DP-3-tp4707068p4707131.html Sent from the Revolution - User mailing list archive at Nabble.com. From beugelaar at solidit.nl Sun Jul 31 08:57:57 2016 From: beugelaar at solidit.nl (Erik Beugelaar) Date: Sun, 31 Jul 2016 14:57:57 +0200 Subject: Customize Tree Lists/Indexes Message-ID: Hi, Tapirsoft seems not to be dead: http://tapirsoft.on-rev.com/rtree/ Goodluck, Erik Sannyasin Brahmanathaswami wrote: RE: rTree2 (at the extensions shop) tapir.com seems dead. Email to developer Mal Walstrand (sp?) ) is bouncing as non-existent? (click on the site contact email address with attention to him) Only Ganesha knows if that thing is compatible with LC 8? or not? and there is no way to get a trial. So? back to designing our own. Perhaps a worthy widget for community funding? Requirements are not that complicated. Could almost take the project browser and tweak such that it could even serve on mobile. or advance the existing tree widget to the next level? Properties to expose: -- text style(s) per level -- indents space (none | px ) per indent level -- icon assignments. -- default fold state "collapsed |uncollapsed" -- elements count for next level below (at end of parent level-line) -- alternate line colors -- node level separators (horizontal rules between top level nodes only, second level, third level) color of separator. -- lines wrap yes | no Am I the only one thinking we need this? On 7/29/16, 8:37 PM, "use-livecode on behalf of Erik Beugelaar" wrote: https://livecode.com/products/extensions Regards, Erik _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From james at thehales.id.au Sun Jul 31 10:07:12 2016 From: james at thehales.id.au (James Hale) Date: Mon, 1 Aug 2016 00:07:12 +1000 Subject: Customize Tree Lists/Indexes Message-ID: <3BC1421C-5307-4592-8AA1-9B4BCE98A7A6@thehales.id.au> The web address for rTree is http://tapirsoft.on-rev.com/rtree/ It does work in LC 8 although I think there was one or two changes made. I contacted Mats last year to get the modified version. Think it was on mats.wilstrand at tapirsoft.com James From richmondmathewson at gmail.com Sun Jul 31 10:39:24 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 31 Jul 2016 17:39:24 +0300 Subject: "Pointless" Exercise Message-ID: Some person wrote something that doesn't make much sense about colourising (or, possibly "colorizing") points on a graphic curve/object, and, being pretty senseless myself I rose to the bait and made a fairly silly stack to park small blobs on every point on a curve. This really demonstrates a major lack of self-control as I should be packing my suitcase for my Summer trip . . . Go on, I dare you, go "potty with Richmond" for a few desperate minutes: http://forums.livecode.com/viewtopic.php?f=7&t=27694&p=145135#p145135 And don't forget to pack your toothbrush! Richmond. From irog at mac.com Sun Jul 31 11:24:28 2016 From: irog at mac.com (Roger Guay) Date: Sun, 31 Jul 2016 08:24:28 -0700 Subject: Polygon Smoothing In-Reply-To: References: <6AE03CAD-CB4C-4C58-AB3D-43CE4C9BD24B@hindu.org> Message-ID: <949511A5-0F40-42AD-9CE6-35717294116E@mac.com> Thanks, Scott. This is exactly what I need. I had a vague recollection of past effort but could not find this. Thanks also to Richmond. Cheers, Roger > On Jul 31, 2016, at 12:21 AM, Scott Rossi wrote: > > Many years ago, Alejandro Tejada shared a demo stack for this. Doesn't > seem to run quite right under LC7, but you might be able to update or make > use of the algorithms. > > http://tactilemedia.com/download/Smooth_Polygon_Algorithms.rev.zip > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 7/30/16, 7:59 PM, "use-livecode on behalf of Roger Guay" > on behalf of irog at mac.com > wrote: > >> I thought this would be easy but I need help. Anybody know a good >> algorithm for smoothing polygons? >> From christer at mindcrea.com Sun Jul 31 14:49:29 2016 From: christer at mindcrea.com (=?utf-8?Q?Pyyhti=C3=A4_Christer?=) Date: Sun, 31 Jul 2016 21:49:29 +0300 Subject: use-livecode Digest, Vol 154, Issue 55 In-Reply-To: References: Message-ID: <42B0CBFD-DB40-466E-850F-1AEA612DD4D3@mindcrea.com> Christer Pyyhti? MindCrea Ltd Mobile: +358-400-410216 Skype: christerp1 christer at mindcrea.com > On 31.7.2016, at 13:00 , use-livecode-request at lists.runrev.com wrote: > > Send use-livecode mailing list submissions to > use-livecode at lists.runrev.com > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.runrev.com/mailman/listinfo/use-livecode > or, via email, send a message with subject or body 'help' to > use-livecode-request at lists.runrev.com > > You can reach the person managing the list at > use-livecode-owner at lists.runrev.com > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of use-livecode digest..." > > > you can find the archives for this list at: > > http://lists.runrev.com/pipermail/use-livecode/ > > and search them using this link: > > http://www.google.com/advanced_search?q=site:lists.runrev.com > > Today's Topics: > > 1. Re: Customize Tree Lists/Indexes (Sannyasin Brahmanathaswami) > 2. Re: [ ANN ] Release 8.1.0 DP-3 (Sannyasin Brahmanathaswami) > 3. Polygon Smoothing (Roger Guay) > 4. Re: [ ANN ] Release 8.1.0 DP-3 (Charles Warwick) > 5. Re: [ ANN ] Release 8.1.0 DP-3 (Charles Warwick) > 6. Re: Create and Delete Browser Widget? (Sannyasin Brahmanathaswami) > 7. Re: [ ANN ] Release 8.1.0 DP-3 (Charles Warwick) > 8. Re: Polygon Smoothing (Richmond) > 9. Re: Polygon Smoothing (Scott Rossi) > 10. Re: Polygon Smoothing ([-hh]) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 31 Jul 2016 00:10:27 +0000 > From: Sannyasin Brahmanathaswami > To: How to use LiveCode > Subject: Re: Customize Tree Lists/Indexes > Message-ID: <9EA3D5F1-72E0-4C0C-85E3-1577E0219E5C at hindu.org> > Content-Type: text/plain; charset="utf-8" > > RE: > > rTree2 (at the extensions shop) > > tapir.com seems dead. Email to developer Mal Walstrand (sp?) ) is bouncing as non-existent? (click on the site contact email address with attention to him) Only Ganesha knows if that thing is compatible with LC 8? or not? and there is no way to get a trial. > > So? back to designing our own. Perhaps a worthy widget for community funding? > > Requirements are not that complicated. Could almost take the project browser and tweak such that it could even serve on mobile. or advance the existing tree widget to the next level? > > Properties to expose: > > -- text style(s) per level > -- indents space (none | px ) per indent level > -- icon assignments. > -- default fold state "collapsed |uncollapsed" > -- elements count for next level below (at end of parent level-line) > -- alternate line colors > -- node level separators (horizontal rules between top level nodes only, second level, third level) color of separator. > -- lines wrap yes | no > > Am I the only one thinking we need this? > > On 7/29/16, 8:37 PM, "use-livecode on behalf of Erik Beugelaar" wrote: > > https://livecode.com/products/extensions > > Regards, > Erik > > > > > ------------------------------ > > Message: 2 > Date: Sun, 31 Jul 2016 01:02:16 +0000 > From: Sannyasin Brahmanathaswami > To: How to use LiveCode > Subject: Re: [ ANN ] Release 8.1.0 DP-3 > Message-ID: <6AE03CAD-CB4C-4C58-AB3D-43CE4C9BD24B at hindu.org> > Content-Type: text/plain; charset="utf-8" > > TS NET: > > Awesome! thank you? my begging bowl was out for this for soooo long! > > Monte Goulding wrote: >> Or do I need to do something to use it ? >>> If so, what ? >> No, you don?t need to do anything unless you are explicitly selecting inclusions during the standalone build. Then if you don?t have the internet library (libURL) included you need to include it as an extra inclusion. tsNet is resolved as a dependency of libURL > > More examples would help.. > > a simple "na?ve" test for starters (assumes all works under the hood) was > > put url "sftp://tUser:tPwd at mydomainIP/home/mydomain/public_html/" > > returns no error for syntax in the script editor? result is empty and "it" is empty. > > > > 1) neither libURL nor TSNet has any command that explicitly contains "SFTP" if the URL we issue is (I assume this is the required form) > > "sftp://tUSER:tPWD at www.Mydomain.com/public_html/cool_pix" > > is SFTP automatically implemented? transparently handled? > > 2) does TSnet get fired transparently whenever libURL does it's job? > > OR > > 3) do we use one or the other? > > 4) what command do we issue which returns the pConnectionID that we see for all subsequent requests to the server. We see lots of cmds that require pConnectionID, but none that opens a connection are returns that value for subsequent use. > > one expects to see a function call like > > tsNetOpen # returns connection ID > > Maybe someone can post here a simple session example of script that does: > > -- open a remote directory by SFTP > -- returns a directory listing > -- upload/upload a file to that directory > > I think once we see one of these we can probably grok the rest. > > Again thanks to Kevin for this acquisition! > > BR > > > > > > > > > > > ------------------------------ > > Message: 3 > Date: Sat, 30 Jul 2016 19:59:06 -0700 > From: Roger Guay > To: How to use LiveCode > Subject: Polygon Smoothing > Message-ID: > Content-Type: text/plain; charset=us-ascii > > I thought this would be easy but I need help. Anybody know a good algorithm for smoothing polygons? > > Thanks, > > Roger > > > > ------------------------------ > > Message: 4 > Date: Sun, 31 Jul 2016 13:26:17 +1000 > From: Charles Warwick > To: use-livecode at lists.runrev.com > Subject: Re: [ ANN ] Release 8.1.0 DP-3 > Message-ID: > <366077bb-b7fd-114c-0173-c4569a71db6f at techstrategies.com.au> > Content-Type: text/plain; charset=utf-8; format=flowed > > > On 31/07/2016 9:53 am, Alex Tweedly wrote: >>> No, you don?t need to do anything unless you are explicitly selecting >>> inclusions during the standalone build. Then if you don?t have the >>> internet library (libURL) included you need to include it as an extra >>> inclusion. tsNet is resolved as a dependency of libURL. At the moment >>> we don?t have a facility for turning tsNet off in the event you want >>> to use libURL (not really sure why you would want that but I guess >>> it?s possible). You can turn tsNet off if you want to with `dispatch >>> ?revUnloadLibrary" to stack ?tsNetLibURL?` >> Q. Why would I want to turn it off ? >> A. for testing. >> If I have a stack that uses libURL, and I want it to be usable with >> either Indy or Commercial version, then I *should* (IMO) test it with >> both tsNet and straight libURL. I do not have the Community version on >> any of my machines, and never will so long as that puts me at risk of >> unintentionally exposing my stacks to GPL - so I would need a way to >> turn off tsNet to allow such testing. > > I assume you mean "either Indy or Community version" above :-) > > To clarify Monte's comment above, if you include libURL in your > standalone application, the tsNet external will automatically get > included in the build. There is currently no way from within the > "standalone application settings" to disable the use of tsNet with libURL. > > However, if you do need to completely disable the use of the tsNet > libURL driver so that your standard networking calls which utilise > libURL won't invoke the tsNet commands, you can issue the "dispatch" > command Monte mentioned above. > > This also removes the dependancy links between tsNet and libURL, so that > the tsNet external will not get included in any standalone build unless > you manually select it (for example, if you just wanted to use it via > the tsNet commands). > > Alternatively, if you just want disable the use of the tsNet libURL > driver for testing purposes, but don't want to remove the dependancies > themselves, you can simply issue: > > libUrlSetDriver "" > > Note that you can still use the tsNet commands directly (provided you > include the external if you are building externals) even if you do this. > >> >> If I do use some of the tsNet handlers, and then someone else >> downloads that stack and runs it in the Community version, do these >> calls simply fail, or are there 'stub' versions included in the >> community version ? >> > Like any other external that is provided in the commercial versions > only, the handler calls will fail. > > Regards, > > Charles > > > > ------------------------------ > > Message: 5 > Date: Sun, 31 Jul 2016 13:37:34 +1000 > From: Charles Warwick > To: use-livecode at lists.runrev.com > Subject: Re: [ ANN ] Release 8.1.0 DP-3 > Message-ID: > > Content-Type: text/plain; charset=windows-1252; format=flowed > > On 31/07/2016 12:01 am, Matthias Rebbe wrote: >> Charles, >> >> is FTP with TLS/SSL (AUTH TLS - Explicit) also supported by your external? > > Yes, FTPS is supported by the external, though you have to use the tsNet > commands directly, rather than the standard libUrl calls. > > For explicit FTPS transfers, you can do something like this: > > local tEmptyHeaderVar, tData, tResultHeaders, tSettings > put true into tSettings["use_ssl"] > put "some data to upload" into tData > put tsNetUploadSync("ftp://ftp.domain.com/path/to/file.dat", > tEmptyHeaderVar, tData, tResultHeaders, tSettings) into tResult > > If you want to use the less common implicit transfers, you can do this > instead: > > local tEmptyHeaderVar, tData, tResultHeaders, tSettings > put "some data to upload" into tData > put tsNetUploadSync("ftps://ftp.domain.com/path/to/file.dat", > tEmptyHeaderVar, tData, tResultHeaders, tSettings) into tResult > > Hope that helps, > > Regards, > > Charles > >> If so, could you add an example for that also, please? >> >> Regards, >> Matthias >> >> >> >>> Am 30.07.2016 um 12:13 schrieb Charles Warwick >: >>> >>> >>> To add to what Monte has said, the tsNet external wraps around the existing libURL library as well as providing its own set of commands and functions. This provides two ways of using the external. >>> >>> Using the standard networking commands (put x into URL y, post x to URL y, load URL x, etc... ) will now automatically use the tsNet external in DP3 when using the internet library. >>> >>> There are a quite a number of benefits of tsNet, however the four most obvious benefits you will see by using it in this fashion are: >>> >>> 1. you can use SFTP URLs in the format of "sftp://user:pass at host.domain.com ". >>> 2. multiple asynchronous requests to the same server (for example when using "load URL x" commands) are processed immediately rather than sequentially as would happen previously >>> 3. a significant performance improvement particularly noticeable on large file transfers, or when executing multiple requests to the same server one after another >>> 4. all processing of data is offloaded to the external, improving responsive of the LC application to other tasks during transfers (for example, other handlers being triggered) >>> >>> However, this only gives you access to a subset of the features of the tsNet external. >>> >>> There are a range of commands and functions available in the tsNet external, all starting with "tsNet", that can be found in the LC dictionary. These give you access to the additional features like sending e-mails via SMTP(S) and comprehensive asynchronous request types that are not available using the standard internet library (for example, firing off multiple HTTP POST requests asynchronously). >>> >>> I will be adding more documentation and examples over the coming weeks to assist with using this external. In the mean time, I have uploaded a very simple sample stack that demonstrates how to send multiple HTTP POST requests in an asynchronous manner here: >>> >>> https://downloads.techstrategies.com.au/tsnet/sample_async_post.livecode >>> >>> Hope that helps, >>> >>> Regards, >>> >>> Charles >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > > ------------------------------ > > Message: 6 > Date: Sun, 31 Jul 2016 03:53:31 +0000 > From: Sannyasin Brahmanathaswami > To: How to use LiveCode > Subject: Re: Create and Delete Browser Widget? > Message-ID: <4355DF29-097B-4E6D-90C8-3D6D9A5C4486 at hindu.org> > Content-Type: text/plain; charset="utf-8" > > Thks for the tips. > > Results: > > Stack A > has a mobileScroller on card 1 > the group that scrolls has links, some to out to another stack that has the browser widget. > > Stack B The Browser Stack > runs landscape? I pull a URL from our web server? runs beautifully. > has button to go back to cd 1 of stack A > > If I set the now to vis = false? (hide) > > When we arrive back at stack A we don't see the browser occupying the space any more, at least visually. But the mobileScroller now is failing. I cannot scroll the group on the screen. > > I suspected that the invisible browser may still be trapping the touch events. > > OK? so then next test: > > on stack B, Delete browser on close and create browser on open. > result: 1st problem is geometry? the stack is set to landscape? and when I create the browser as invisible and set the rect of the browser to 50,30,the width of this card, the height of this card after creating it? it fails and is drawn in the lower corner in a rect that is about 200px square in the lower left of the card. OK, setting that aside, on mobile, I can start the video, on iOS it expands (youtube behavior) to take the full screen and when I click DONE it drops back to my card view (with browser stuck in the lower left area)? > > So now I set the navigation in the behavior that is attached to the stack to delete the browers on exiting that card/stack and issue go recent. > > So now we are back at Stack A? I can see in the project browser ondesktop (which is now runtime responsive in 8.1 dp3 YAY!) that the browser object is indeed being created and deleted? BUT > > the scroller region on CD 1 of Stack A is still non responsive? I have to leave that stack, go to another stack and then back again? *now* the scroller is responsive. > > So, this is a bit tricky eating up a lot of time going no where? > > BR > > > On 7/30/16, 11:27 AM, "use-livecode on behalf of panagiotis merakos" wrote: > > See the [create widget] command in the dictionary. You can do: > > create widget "MyBrowser" as "com.livecode.widget.browser" > > Maybe worth trying first to set the "visible" of the browser widget to > false/true when you close/open the card that has the browser widget. If > this does not work then try to delete/create the widget > > > ------------------------------ > > Message: 7 > Date: Sun, 31 Jul 2016 14:30:09 +1000 > From: Charles Warwick > To: use-livecode at lists.runrev.com > Subject: Re: [ ANN ] Release 8.1.0 DP-3 > Message-ID: > <1f24dfda-bf58-e2fe-eb17-71f8b897a700 at techstrategies.com.au> > Content-Type: text/plain; charset=utf-8; format=flowed > > On 31/07/2016 11:02 am, Sannyasin Brahmanathaswami wrote: >> TS NET: >> >>> No, you don?t need to do anything unless you are explicitly selecting inclusions during the standalone build. Then if you don?t have the internet library (libURL) included you need to include it as an extra inclusion. tsNet is resolved as a dependency of libURL >> >> More examples would help.. > > Some more examples will be along soon :-) > >> a simple "na?ve" test for starters (assumes all works under the hood) was >> >> put url "sftp://tUser:tPwd at mydomainIP/home/mydomain/public_html/" >> >> returns no error for syntax in the script editor? result is empty and "it" is empty. > hmmm... that should work and does here. > > I have uploaded a very simple "debug" stack that you can run along side > any stack in the IDE which will capture all header data sent and > received using libUrl (just makes a simple call to libUrlSetLogField). > > https://downloads.techstrategies.com.au/tsnet/debug_liburl.livecode > > If you download that, click "start debug", and then try your "put" > command again, it would good to see the output. > >> >> 1) neither libURL nor TSNet has any command that explicitly contains "SFTP" if the URL we issue is (I assume this is the required form) >> >> "sftp://tUSER:tPWD at www.Mydomain.com/public_html/cool_pix" >> >> is SFTP automatically implemented? transparently handled? > > Yes, SFTP is automatically implemented. Using libUrl, simply using a > URL in the format you mentioned should work. > > All of the tsNet commands/functions determine which protocol to use from > the URL as well. > >> 2) does TSnet get fired transparently whenever libURL does it's job? >> >> OR >> >> 3) do we use one or the other? > > tsNet gets fired transparently whenever libUrl does its job unless you > choose to disable it. > >> 4) what command do we issue which returns the pConnectionID that we see for all subsequent requests to the server. We see lots of cmds that require pConnectionID, but none that opens a connection are returns that value for subsequent use. >> >> one expects to see a function call like >> >> tsNetOpen # returns connection ID > > My apologies here. There are some documentation updates that I have > been working on that unfortunately didn't make it into DP3. This will > be clearer in the next release. > > The value of the pConnectionID parameter is specified by the user > whenever an asynchronous request is made (e.g. as the first parameter to > the tsNetUpload function). The idea here was to make it easier to > identify the individual connection by using a label that makes sense for > the particular application and transfer, rather than some arbitrary > value returned by the external. > > This is only relevant if you are using the tsNet handlers directly. An > example of using asynchronous requests can be downloaded here: > > https://downloads.techstrategies.com.au/tsnet/sample_async_post.livecode > > This example uses HTTP POST requests, however the same concepts apply > for all transfer types. > >> Maybe someone can post here a simple session example of script that does: >> >> -- open a remote directory by SFTP >> -- returns a directory listing >> -- upload/upload a file to that directory > > If you are using standard libUrl commands, you would do: > > local tData, tDirectoryListing, tInputFile, tData, tPath > put URL "sftp://user:pass at host.domain.com/directory/path/" into > tDirectoryListing > put specialFolderPath("documents") into tPath > put tPath & "/file.dat" into tInputFile > put URL ("binfile:///" & tInputFile) into tData > put tData into URL > "sftp://user:pass at host.domain.com/directory/path/file.dat" > > If you want to use the tsNet functions which provide direct access to > more specific transfer details (number of bytes transferred, headers > received from server, etc...) , this would be: > > local tEmptyHeaderVar, tData, tResultHeaders, tResult, tBytes, > tDirectoryListing, tInputFile, tPath > put tsNetGetSync("sftp://user:pass at host.domain.com/directory/path/", > tEmptyHeaderVar, tResultHeaders, tResult, tBytes) into tDirectoryListing > put specialFolderPath("documents") into tPath > put tPath & "/file.dat" into tInputFile > put tsNetUploadFileSync(tInputFile, > "sftp://user:pass at host.domain.com/directory/path/file.dat", > tEmptyHeaderVar, tResultHeaders, tBytes) into tResult > > In both cases, the tsNet external will use a single connection for the > whole script. It will not close and re-open the SFTP session for each > request unless the server closes the session due to an inactivity > timeout (or you force it to). > > Hope that helps, > > Regards, > > Charles > >> >> I think once we see one of these we can probably grok the rest. >> >> Again thanks to Kevin for this acquisition! >> >> BR >> >> >> >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > ------------------------------ > > Message: 8 > Date: Sun, 31 Jul 2016 10:02:13 +0300 > From: Richmond > To: How to use LiveCode > Subject: Re: Polygon Smoothing > Message-ID: > Content-Type: text/plain; charset=windows-1252; format=flowed > > "Polygon smoothing" ? > > Do you mean: > > 1. rounding corners? > > http://stackoverflow.com/questions/24771828/algorithm-for-creating-rounded-corners-in-a-polygon > > https://rechneronline.de/pi/round-corner.php > > 2. curving the straight bits outwards? > > Richmond. > > > On 31.07.2016 05:59, Roger Guay wrote: >> I thought this would be easy but I need help. Anybody know a good algorithm for smoothing polygons? >> >> Thanks, >> >> Roger >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > ------------------------------ > > Message: 9 > Date: Sun, 31 Jul 2016 00:21:00 -0700 > From: Scott Rossi > To: LiveCode Mail List > Subject: Re: Polygon Smoothing > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > Many years ago, Alejandro Tejada shared a demo stack for this. Doesn't > seem to run quite right under LC7, but you might be able to update or make > use of the algorithms. > > http://tactilemedia.com/download/Smooth_Polygon_Algorithms.rev.zip > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 7/30/16, 7:59 PM, "use-livecode on behalf of Roger Guay" > wrote: > >> I thought this would be easy but I need help. Anybody know a good >> algorithm for smoothing polygons? >> >> Thanks, >> >> Roger >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > ------------------------------ > > Message: 10 > Date: Sun, 31 Jul 2016 01:55:10 -0700 (PDT) > From: "[-hh]" > To: use-revolution at lists.runrev.com > Subject: Re: Polygon Smoothing > Message-ID: <1469955310164-4707131.post at n4.nabble.com> > Content-Type: text/plain; charset=us-ascii > > Smoothing-(Bezier-)Algorithms. > the usability depends on what you want to do: > > [1] Smooth draw or > [2] approximate a few polygon lines by a smooth curve. > > HTML5 version (check "smoothing"). > http://hh.on-rev.com/html5/krikelKrakel2a-8.0.0-dp-15X.html > > Runs much faster in the IDE, see how to download the stack > in the HTML5 forum ("Successfull test"). > > Contains algorithms of Decasteljau (good for [1]) > and of Chaikin and Shemanarev (may better for [2]). > > [1] is even fast enough for Raspi > Raspi collection stack #30, runs also (faster) on all other > desktop platforms. > http://forums.livecode.com/viewtopic.php?p=104113#p104113 > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Release-8-1-0-DP-3-tp4707068p4707131.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-livecode > > ------------------------------ > > End of use-livecode Digest, Vol 154, Issue 55 > ********************************************* From matthias_livecode_150811 at m-r-d.de Sun Jul 31 17:04:48 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 31 Jul 2016 23:04:48 +0200 Subject: [ ANN ] Release 8.1.0 DP-3 In-Reply-To: References: <9fd81450-cb9d-5e47-f327-47c22ab1d9b8@techstrategies.com.au> <99E7A0DC-6480-4781-92F4-2B696C848109@m-r-d.de> Message-ID: <7C62C1E3-9469-4F1B-AEA1-D9722B1674E0@m-r-d.de> > Am 31.07.2016 um 05:37 schrieb Charles Warwick : > > Yes, FTPS is supported by the external, though you have to use the tsNet commands directly, rather than the standard libUrl calls. > > For explicit FTPS transfers, you can do something like this: > > local tEmptyHeaderVar, tData, tResultHeaders, tSettings > put true into tSettings["use_ssl"] > put "some data to upload" into tData > put tsNetUploadSync("ftp://ftp.domain.com/path/to/file.dat", tEmptyHeaderVar, tData, tResultHeaders, tSettings) into tResult > Charles, thanks for your script although it did not work. ;) But it put me in the right direction. I had to modify the put tsNetUploadSync?.. line as follows to get it working put tsNetUploadSync("ftp://ftp.domain.com/path/to/file.dat", tEmptyHeaderVar, tData, tResultHeaders, tBytes, tSettings) into tResult (the bytes variable tBytes was missing) Without that modification i always got the error "tsneterr: (28) Timeout was reached?. Your external is really awesome. I never thought that Livecode will support FTPES or FTPS in the near future. Now with FTPES i am able to connect to HostM ftp servers again. The provider HostM only supports FTPES (FTP with TLS/SSL) for the FTP sub accounts. Regards, Matthias Rebbe From brahma at hindu.org Sun Jul 31 17:19:40 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 31 Jul 2016 21:19:40 +0000 Subject: [ ANN ] Release 8.1.0 DP-3 In-Reply-To: <1f24dfda-bf58-e2fe-eb17-71f8b897a700@techstrategies.com.au> References: <6AE03CAD-CB4C-4C58-AB3D-43CE4C9BD24B@hindu.org> <1f24dfda-bf58-e2fe-eb17-71f8b897a700@techstrategies.com.au> Message-ID: Charles, first? let me congratulate you for getting this into LiveCode As it turns out, I was experiencing the infamous silent network API blocking when there is a failed network call? I think there is an error reporting bug somewhere as I believe in earlier versions a script error would be trigger with some expression like "last connection incomplete?." I don't remember the exact wording, I know I did see it the other day..but as long as this state persists, no further libURL commands will work. I must have run one test in the msg box with a bad password, I had a password with !! in it and I believe those need to be urlEncoded first before passing to the url string. So, after that silent failure, (socket still open but broken?) the network API was "stuck" and subsequent tests all failed? after rebooting this morning, everything is working. I swear I saw that old error message the other day? but today looking through all 893 lines of the scriptExecutionErrors I can' find it. I think the old method to clean up was to issue a close all sockets command or something, but it's vague? I haven't played with this for years since we turned off FTP on our servers. Thanks for your examples. When I get time to wrap my head around it? I will see if I can contribute to the dictionary. Still not sure how to go about that. If you can advise on the method to clean up the network interface after failures, that would be great. BR Charles Warwick" wrote: Some more examples will be along soon :-) >a simple "na?ve" test for starters (assumes all works under the hood) was > >put url "sftp://tUser:tPwd at mydomainIP/home/mydomain/public_html/" > >returns no error for syntax in the script editor? result is empty and "it" is empty. hmmm... that should work and does here. From jacque at hyperactivesw.com Sun Jul 31 18:26:06 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 31 Jul 2016 17:26:06 -0500 Subject: [ ANN ] Release 8.1.0 DP-3 In-Reply-To: References: <6AE03CAD-CB4C-4C58-AB3D-43CE4C9BD24B@hindu.org> <1f24dfda-bf58-e2fe-eb17-71f8b897a700@techstrategies.com.au> Message-ID: <15643107030.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On July 31, 2016 4:20:47 PM Sannyasin Brahmanathaswami wrote: > Charles, first? let me congratulate you for getting this into LiveCode Amen! > As it turns out, I was experiencing the infamous silent network API > blocking when there is a failed network call? I think there is an error > reporting bug somewhere as I believe in earlier versions a script error > would be trigger with some expression like "last connection incomplete?." I > don't remember the exact wording, I know I did see it the other day..but as > long as this state persists, no further libURL commands will work. It's "Previous request not completed" and my project hits that all the time. I've tried all kinds of workarounds with only some success. I'm very much hoping the new external will help eliminate those. We see it routinely on slow or unstable connections. I do hope the external throws the same error so it will show up in the log. BTW I'm not surprised you didn't see the error in the LC error list, it isn't an engine error but rather is sent directly from libURL. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brahma at hindu.org Sun Jul 31 23:46:51 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 1 Aug 2016 03:46:51 +0000 Subject: libURL and New TsNet Commands/Failures Message-ID: <2F05D262-D84A-43C9-BCB5-A59B78FE2529@hindu.org> I'm starting a new thread on this. I copied Charles response below? Discussion is about using the new libURL and TS Net and usage and dealing with failures jacque at hyperactivesw.com> wrote: It's "Previous request not completed" and my project hits that all the time. I've tried all kinds of workarounds with only some success. I'm very much hoping the new external will help eliminate those. We see it routinely on slow or unstable connections. I do hope the external throws the same error so it will show up in the log. BTW I'm not surprised you didn't see the error in the LC error list, it isn't an engine error but rather is sent directly from libURL. AHA.. Yes, "Previous request not complete" how do we get to these results? "show up in the log " what log? looking thru the dictionary, we would expect to see this in libURLErrordata(url) OK I think it is coming back? Disclaimer: there's usually a better way than anything I know how to do! perhaps if you need to reset the API we can issue something like command resetNetworkInterface put the openSockets() into tCurrentconnections repeat for each line x in tCurrentConnections close socket x end repeat end resetNetworkInterface maybe better practice would be to close the socket after every transfer operation. dictionary says : "Description Use the close socket command to release the connection when you're finished getting and sending data over it." So unless you had some complex multi-connection operation going you could just close all sockets at the end of every libURL operation. Assuming one or another failed, your next operation will not be blocked. ====== Charles Warwick wrote: On 31/07/2016 11:02 am, Sannyasin Brahmanathaswami wrote: TS NET: > No, you don?t need to do anything unless you are explicitly selecting inclusions during the standalone build. Then if you don?t have the internet library (libURL) included you need to include it as an extra inclusion. tsNet is resolved as a dependency of libURL More examples would help.. Some more examples will be along soon :-) a simple "na?ve" test for starters (assumes all works under the hood) was put url "sftp://tUser:tPwd at mydomainIP/home/mydomain/public_html/" returns no error for syntax in the script editor? result is empty and "it" is empty. hmmm... that should work and does here. I have uploaded a very simple "debug" stack that you can run along side any stack in the IDE which will capture all header data sent and received using libUrl (just makes a simple call to libUrlSetLogField). https://downloads.techstrategies.com.au/tsnet/debug_liburl.livecode If you download that, click "start debug", and then try your "put" command again, it would good to see the output. 1) neither libURL nor TSNet has any command that explicitly contains "SFTP" if the URL we issue is (I assume this is the required form) "sftp://tUSER:tPWD at www.Mydomain.com/public_html/cool_pix" is SFTP automatically implemented? transparently handled? Yes, SFTP is automatically implemented. Using libUrl, simply using a URL in the format you mentioned should work. All of the tsNet commands/functions determine which protocol to use from the URL as well. 2) does TSnet get fired transparently whenever libURL does it's job? OR 3) do we use one or the other? tsNet gets fired transparently whenever libUrl does its job unless you choose to disable it. 4) what command do we issue which returns the pConnectionID that we see for all subsequent requests to the server. We see lots of cmds that require pConnectionID, but none that opens a connection are returns that value for subsequent use. one expects to see a function call like tsNetOpen # returns connection ID My apologies here. There are some documentation updates that I have been working on that unfortunately didn't make it into DP3. This will be clearer in the next release. The value of the pConnectionID parameter is specified by the user whenever an asynchronous request is made (e.g. as the first parameter to the tsNetUpload function). The idea here was to make it easier to identify the individual connection by using a label that makes sense for the particular application and transfer, rather than some arbitrary value returned by the external. This is only relevant if you are using the tsNet handlers directly. An example of using asynchronous requests can be downloaded here: https://downloads.techstrategies.com.au/tsnet/sample_async_post.livecode This example uses HTTP POST requests, however the same concepts apply for all transfer types. Maybe someone can post here a simple session example of script that does: -- open a remote directory by SFTP -- returns a directory listing -- upload/upload a file to that directory If you are using standard libUrl commands, you would do: local tData, tDirectoryListing, tInputFile, tData, tPath put URL "sftp://user:pass at host.domain.com/directory/path/" into tDirectoryListing put specialFolderPath("documents") into tPath put tPath & "/file.dat" into tInputFile put URL ("binfile:///" & tInputFile) into tData put tData into URL "sftp://user:pass at host.domain.com/directory/path/file.dat" If you want to use the tsNet functions which provide direct access to more specific transfer details (number of bytes transferred, headers received from server, etc...) , this would be: local tEmptyHeaderVar, tData, tResultHeaders, tResult, tBytes, tDirectoryListing, tInputFile, tPath put tsNetGetSync("sftp://user:pass at host.domain.com/directory/path/", tEmptyHeaderVar, tResultHeaders, tResult, tBytes) into tDirectoryListing put specialFolderPath("documents") into tPath put tPath & "/file.dat" into tInputFile put tsNetUploadFileSync(tInputFile, "sftp://user:pass at host.domain.com/directory/path/file.dat", tEmptyHeaderVar, tResultHeaders, tBytes) into tResult In both cases, the tsNet external will use a single connection for the whole script. It will not close and re-open the SFTP session for each request unless the server closes the session due to an inactivity timeout (or you force it to). Hope that helps, Regards, Charles