Quartz Compositions

2015-04-14 Thread David Bovill
Previously I had some success playing Quart Composer compositions in
LiveCode's player object - not able to get it working now. Is this
something that we could easily build in Livecode Builder?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LiveNode Server

2015-04-14 Thread Mark Wilcox
This is an interesting thread. Let me add a few comments:

The CGI / FastCGI thing is a red herring. CGI is slow and so is FastCGI.
:)
Slighter faster options (e.g. for things like PHP and Python) implement
the language runtime via a plugin module to the web server.
However, things like Node.js and Go are fast because they don't have
Apache or similar in the way. I once saw a presentation by a guy that
had built the most carefully optimised (and very popular) HTTP proxy in
Python and then discovered that a very simplistic implementation with
Node.js was more than an order of magnitude faster. This was because
Apache was out of the loop, not because JavaScript is so much faster
than Python (it is faster but nowhere near that much).

Now Apache and other web servers are really good at serving up files but
these days we often want to build APIs. If you've got static files
you're better off putting them on Amazon S3 or similar. For getting a
chunk of JSON querying a database and spitting some more JSON back the
other way you're better off with something architecturally like Node.js.
The fact that the whole ecosystem has been forced to do everything
asynchronously is a big help. JavaScript and its single threaded nature
are not virtues here but not a fatal handicap either. Someone mentioned
Meteor.js - that's built on Node.js but they actually use Node Fibers,
basically lightweight threads (that have to yield explicitly - no
pre-emption) - it makes the code a whole lot more readable.

Not having real threads is bad when it comes to processor intensive
operations but Node.js got a very long way without them and I think a
Node-like LiveCode server could too. It would need to have proper
asynchronous I/O everywhere though and that's not trivial from where we
are now. It is definitely a project worth pursuing if anyone has the
time. The quickest way to get their might be to integrate libevent (as
used in Chromium) rather than libuv (as used in Node.js) because it
comes with DNS, HTTP and SSL support - you really want all of those in
the C/C++ layer, not implemented in LiveCode on top of a raw socket . It
might not be the best way overall but alternatives probably involve
quite a lot more work.

Adding something like blocks in Objective-C (very closure-like), or
Node's TAGG, to enable real multi-threaded programming but limited to
avoid all the usual thread synchronisation headaches would also be
fantastic for LiveCode but another big chunk of work. There didn't seem
much point in even looking at any of these things while the engine was
undergoing a major architectural overhaul but maybe things are starting
to stabilise enough now that it'll make sense to think about them again
soon.

Mark

-- 
  Mark Wilcox
  m...@sorcery-ltd.co.uk

On Wed, Apr 8, 2015, at 02:47 PM, Andrew Kluthe wrote:
 To clarify just a little bit further. The code and objects weren't
 holding
 onto memory, the variables used in that code were due to weird scoping.
 Big
 chunks of db results, etc that persist after I've already done my
 business
 with them and tried to move on.
 
 If I can recommend a book on Javascript, I can't speak highly enough of
 the
 insights given by  JavsScript: the Good Parts from O'Reilly. He
 provides
 some history behind some of the design choices in javascript and some of
 the problems still being worked around today in regards to the bad parts.
 

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


New Way To Deal With Custom Fonts on iOS?

2015-04-14 Thread Scott Rossi
Hi All:

I just spent two hours with a colleague trying to track down why a custom
font wasn't rendering correctly on iOS, and apparently it seems that
something changed with either the way LiveCode 7 or iOS 8 handles font
names.

It used to be that grabbing the installed name of a font on iOS was all
that was needed to get a custom font to work, but now it seems one has to
manually combine the font name and any desired style/s into a string
separated by a dash:

Installed name = American Typewriter Condensed Bold
becomes --- AmericanTypewriter-CondensedBold

I know about the fontStyles function, but that only appears to return
available styles for font, it doesn't return a properly formatted fontName.

Looking up font related terms/issues in the docs, forums, and mail list I
haven't seen any reference to this anywhere.  Is this documented, and even
more importantly, is there a function or script to automate this so we
don't have to maintain a stored list of styles and compare/replace words
in the font name?

I'm also worried about what caused this change: is this a LiveCode change
or an iOS change?  An iOS change would seem to mean that we need to code
around the system version to handle older versions of iOS.

Thanks for any info/advice here.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Bug [15118] native scroller

2015-04-14 Thread John Dixon





  

This is addressed to a number of members of the liveCode team in Edinburgh...
To three members of the team in particular...

Hanson, Sebastien and Panos...

After having read your email, there is nothing I can say except that 'I am an 
idiot'... 
I have no excuse whatsoever for missing such a fundamental line as setting the 
visible of the 'scroller' to true.

I was absolutely convinced that I was correct, as I was using the same code 
that is already in a stack on the Apple app store...  I must have deleted the 
line whilst preparing a facelift for the app...:-(

   iphoneControlSet scrollID, visible, true

this is the missing line that caused me to think that the scroller in LC 6.7.4 
 LC 7.0.4 was not working and prompted me to file a 'bug' report...

I apologise to Hanson, Sebastien and Panos for putting up with my 'bug' report, 
completely wasting their time and for getting me out of the 'massive' hole that 
I have manged to dig for myself...

Gentlemen... I thank you..

John Dixon



  [Bug 15118] native scroller‏  




   To:  dixo...@hotmail.co.uk   


 



  

 Panos Merakos
 changed
  bug 15118


 
  
What
Removed
Added
  

 
   Status
   CONFIRMED
   
   PENDING_AWAITING_FOLLOW_UP
   
 

 
   CC
   

   
   panos.mera...@livecode.com
   
 
  


Comment # 9
  on bug 15118
  from  Panos Merakos

Hi John,

We had a deeper look in the scripts of the sample stacks you have attached, and
found the problem. You have not set the visible of the scroller to true, and
this is why it does not scroll. This is what we did to resolve the issue:

1. In stack local directory copy.livecode:
Go to card id 1011, and add the following line in the buildScroller handler (at
the point where you set the scroller properties)

iphoneControlSet scrollID, visible, true

2. In stacks textScroll.livecode and PicsHorz copy.livecode, this line already
exists, and thus the scrollers work as expected.

3. In stack scroll704.livecode:
Go to card id 1002, and add the following line in the buildScroller handler (at
the point where you set the scroller properties):

iphoneControlSet scrollID, visible, true

Can you please let us know if this fixes the problem for you?

Warmest regards,
Panos
--

  
  
  You are receiving this mail because:
  
  You are on the CC list for the bug.You reported the bug.

























  



  

  

  
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: New LiveCode book

2015-04-14 Thread Ray

Stephen,

I'd love to take a look at your book but I'm getting a 403 error, 
access is forbidden as I click the link below.  I'm in Granada, Spain 
if that makes a difference.  Any suggestions?


  www.medmaster/livecode.html

Thanks,

Ray Horsley
LinkIt! Software

On 4/13/2015 6:49 PM, Tim Selander wrote:

Stephen,

I have just downloaded the book and tutorial -- have not looked at 
them yet, but even so you deserve great thanks from the community for 
creating them and making them available freely to us all! Truly the 
spirit of HyperCard!


Blessings.

Tim Selander
Tokyo, Japan


On 15/04/14 0:52, stgoldb...@aol.com wrote:


I am pleased to announce my new book, LiveCode Lite: Computer 
Programming Made Ridiculously Simple.



It is temporarily available as a free PDF download at 
www.medmaster/livecode.html, along with a LiveCode scripting tutorial 
for Mac or Windows.



The original HyperCard language had only about 150 words, while 
LiveCode, which is far more powerful, has close to 2000.  This can be 
intimidating to newcomers. The book, 165 pgs, is designed for 
individuals with little or no background in LiveCode or computer 
programming, providing a brief, clear, hopefully enjoyable approach 
to LiveCode and computer programming in a simple, linear step-by-step 
fashion. The book follows the format of other Medmaster titles.  I 
hope to receive feedback so that the book can be improved, and I 
thank all the LiveCode gurus on the forum, which I have followed for 
years.




Stephen Goldberg
Prof. Emeritus, Univ Miami Miller School of Medicine
President, Medmaster Publishing Co.
www.medmaster.net


___
use-livecode mailing list
use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


New LiveCode book

2015-04-14 Thread stgoldb...@aol.com
Just a reminder that the corrected URL for downloading my book, LiveCode Lite: 
Computer Programming Made Ridiculously Simple, is 
www.medmaster.net/livecode.html.
Dave Kilroy wrote (Mon, 13 Apr 2015 17:32:45 -0700 (PDT)
d...@applicationinsight.com
Roughly how many hours did it take?

It actually took several years to write, trying to sort out the most useful 
aspects of LiveCode to get the newcomer started. This is based on my own 
experience over 25 years of programming with HyperCard and LiveCode, and I hope 
that those in the forum who read the book may offer their own suggestions for 
improvement.

Stephen Goldberg
www.medmaster.net

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Release: LiveCode 8.0.0 DP 2

2015-04-14 Thread Klaus major-k

 Am 13.04.2015 um 18:31 schrieb Ali Lloyd a...@runrev.com:
 
 Dear list members,
 
 We are pleased to announce the release of LiveCode 8.0 DP 2.
 
 ...
 
 LiveCode 8 is in an early stage of development so we’d love to hear any
 feedback you have on it. There are a number of features that we’d like to
 implement but aren’t ready yet  and the existing features are subject to
 change during development - we can’t guarantee that extensions written in
 DP1 will continue to work in later versions.
 
 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

can anyone please shed some light on how to use the new „Icon Picker“ widget?

The dictionary show an awsome description: A widget to display icons for 
picking“ :-D
But no mention about syntax, params etc...

Thanks!


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: LiveNode Server

2015-04-14 Thread David Bovill
Yes - thanks for the input Mark.

How about having Livecode as a Node extension that we could install with
NPM? Is that not a much easier first step? I still would like to get to the
bottom of not being fork able means?

It would be fantastic to get add Live code to a Node server with a couple
of lines. Particularly for serving dynamically created images. I guess this
route will also be possible when we have JavaScript export?

On Tuesday, April 14, 2015, Jim Lambert j...@netrin.com wrote:


  Mark Wilcox wrote:
 
  This is an interesting thread.


 Indeed it is. Thanks for your informative comments.

 Jim Lambert
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com javascript:;
 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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Release: LiveCode 8.0.0 DP 2

2015-04-14 Thread Klaus major-k
Hi Roger,


 Am 14.04.2015 um 19:00 schrieb Roger Eller roger.e.el...@sealedair.com:
 
 On Tue, Apr 14, 2015 at 12:50 PM, Klaus major-k kl...@major-k.de wrote:
 
 
 Am 13.04.2015 um 18:31 schrieb Ali Lloyd a...@runrev.com:
 
 Dear list members,
 
 We are pleased to announce the release of LiveCode 8.0 DP 2.
 ...
 can anyone please shed some light on how to use the new „Icon Picker“
 widget?
 
 The dictionary show an awsome description: A widget to display icons for
 picking“ :-D
 But no mention about syntax, params etc...
 
 Thanks!

 It appears to work in conjunction with the Navigation Bar widget.  When
 both are dragged onto a stack, when you click on an icon of the Navigation
 Bar, you can pick an icon for that spot on the bar.

yep, thanks a lot! 
Looks great!

Never would have thought of THAT 8-)

 ~Roger

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Bug [15118] native scroller

2015-04-14 Thread Matthias Rebbe | M-R-D
Don´t know, why my last post was empty…


John,

you´re not alone. I also ran into such situation.
I reported a bug that sometimes LC5 did not attach the database drivers to the 
standalones, but LC 4 did.

My fault was i forgot to add a „pass savestackrequest“ to the SaveStackRequest 
handler.

I am sure you will never forget to set the visible of a scroller to true, like 
i ever won´t forget to add that „pass savestackrequest“ thing. ;)


Matthias

 Am 14.04.2015 um 14:17 schrieb John Dixon dixo...@hotmail.co.uk:
 
 
 
 
 
 
 
 
 This is addressed to a number of members of the liveCode team in Edinburgh...
 To three members of the team in particular...
 
 Hanson, Sebastien and Panos...
 
 After having read your email, there is nothing I can say except that 'I am an 
 idiot'... 
 I have no excuse whatsoever for missing such a fundamental line as setting 
 the visible of the 'scroller' to true.
 
 I was absolutely convinced that I was correct, as I was using the same code 
 that is already in a stack on the Apple app store...  I must have deleted the 
 line whilst preparing a facelift for the app...:-(
 
   iphoneControlSet scrollID, visible, true
 
 this is the missing line that caused me to think that the scroller in LC 
 6.7.4  LC 7.0.4 was not working and prompted me to file a 'bug' report...
 
 I apologise to Hanson, Sebastien and Panos for putting up with my 'bug' 
 report, completely wasting their time and for getting me out of the 'massive' 
 hole that I have manged to dig for myself...
 
 Gentlemen... I thank you..
 
 John Dixon
 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Bug [15118] native scroller

2015-04-14 Thread J. Landman Gay

On 4/14/2015 11:23 AM, Richard Gaskin wrote:

Is this obsolete?
http://lessons.runrev.com/m/4069/l/94412-creating-a-native-scroller-to-scroll-a-field


Does the LC field object take on the appropriate scrolling behavior when
rendered on mobile?

Are there other cases where we don't really need to write the same lines
of code over and over to instantiate every object as a mobile control
that the docs suggest we do?


The concept is that the content rect has to be larger than the visible 
area. One way to do that is to set the field height/width the same as 
its formattedHeight/width and then group it to provide a smaller viewing 
area.


The other way is to set the content rect of the native scroller to the 
formattedrect of the field, and lock the visible field rect at a smaller 
size. You can still set the scroll of the field regardless of how much 
is visible at any time.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Release: LiveCode 8.0.0 DP 2

2015-04-14 Thread Roger Eller
I like to use a backdrop in the IDE to eliminate distractions.  So I type
set backDrop to gray in the message box.  When I quit and reopen
LiveCode, the backdrop defaults to black.  It used to retain the last
backdrop color that was set.

~Roger


On Mon, Apr 13, 2015 at 12:31 PM, Ali Lloyd a...@runrev.com wrote:

 Dear list members,

 We are pleased to announce the release of LiveCode 8.0 DP 2.

 Warning: this is not a stable release. Please ensure you back up your
 stacks before testing them.

 Known issues with 8.0.0 DP 2:
 - The new property inspector lacks some properties present in the old
 property inspector
 - The supplied widgets are examples and lack features and general
 robustness
 - The extension builder plugin “Test” feature fails if the widget being
 tested is already installed - uninstalling the widget and restarting the
 IDE should help
 - All installed widgets are built into any standalones produced - this will
 be addressed in DP 3

 This release contains the following changes:

 LiveCode Builder
 LiveCode Builder is a variant of the current LiveCode scripting language
 (LiveCode Script) which has been designed for 'systems' building. It is
 statically compiled with optional static typing and direct foreign code
 interconnect (allowing easy access to APIs written in other languages). The
 compiled bytecode can then be packaged together with any required resources
 (icons, documentation, images, etc) into a .lce extension package.

 IDE
 The property inspector has been rewritten to allow properties of widgets to
 be inspected and edited. It has been implemented with flexibility and
 extensibility in mind, since it must be able to control the values of
 widget properties in any way required by the widget developer.

 The dictionary has been replaced, now using the CEF browser object in order
 to be able to display dynamically generated content, namely the API and/or
 user guide of installed widgets and libraries.

 Also we are starting to replace controls in the IDE with widgets. All the
 palettes now use widgets for their headers and footers, and the variable
 viewer in the debugger has been replaced by a tree view widget.

 We are aware that as the IDE undergoes this transition there may be
 features you rely on which are missing or which don't function as expected.
 Please report any such issues so that we can fix them as soon as possible.

 Image metadata
 A new read only image property has been added to access the metadata in the
 image file.

 Feature: Popup Widgets
 Added the ability to use widgets within popup dialog windows.

 50 Bug fixes:
 Engine
 [15056] Read from file for (x | x chars | x bytes) returns empty
 [14996] LCB-Canvas: polyline path
 [14961] Gradient - Quality set to good makes LC crash

 IDE
 [15130] IDE: Extension builder should remember selected application for
 opening lcb files
 [15048] Extension manager displays incorrect icon for libraries
 [15014] PI chokes on objects with margins property set to different numbers
 [15008] Copy lci file to appropriate place when installing library
 [15007] Extension Plugin: Library interface files not included in package
 [14998] Extensions Plugin doesn't display resources
 [14968] IDE: Message box doesn't report errors correctly
 [14934] Tools palette does not generate fully on first run.
 [14917] New substack of com.livecode.pi.titler
 [14911] After Adding Widget, Toolbox Is The Wrong Height
 [14907] Break into stack revPaletteBehavior
 [14754] Extension Manager: All extensions show in the widgets tab whether
 they are one or not when first downloaded
 [14742] PI Editor: Text align
 [14740] PI Editor: Custom Properties
 [13475] in the openstack handler dispatching a mouseUp to a btn does not
 work correctly
 [13447] Project Browser control layer display
 [13417] IDE systemVersion comparison no longer works with Yosemite
 [13398] Sample - Book Library.livecode edit and delete features broken
 [13362] Script editor opens revmenubar script when no other stack is open
 [13343] Cannot install Android standalone on some devices
 [13215] Can't type in output field of message box
 [13191] FIX: flip graphic horizontally and vertically for complex graphics
 [13159] Palettes not observing decorations under certain circumstances
 [12880] File-Exit should be File-Quit
 [11755] flip graphic gives erroneous results with complex graphics

 LiveCode Builder Tools
 [14893] Emit warnings for identifiers that may cause problems.
 [14939] Compiler truncates integer literals if too big.
 [14950] Integer literal pattern is too general.
 [14956] Do not warn for metadata before use.
 [15029] Ensure that exit repeat works correctly in nested repeat up to /
 down to / for each loops.

 LiveCode Builder Language
 [14906] Change 'as Type' to 'returns nothing' or 'returns Type' in
 handler return type definitions.
 [14933] Make identifiers case-insensitive.

 LiveCode Builder Host Library
 [14541] Widgets should be able to popup system menus
 [14805] 

Re: Why can't LC do what PencilCase does?

2015-04-14 Thread Geoff Canyon
No idea. Their basic projects don't have code -- just a bunch of
properties that include things like when this happens, do this, but then
you can open the project up and write javascript. Maybe the end result is a
specialized web page? I'll experiment more.

gc

On Tue, Apr 14, 2015 at 10:56 AM, Dr. Hawkins doch...@gmail.com wrote:

 On Tue, Apr 14, 2015 at 8:17 AM, Geoff Canyon gcan...@gmail.com wrote:

 
  If they can do it, shouldn't LC be able to as well? Or is there something
  I'm not thinking of?
 

 How are they getting past Apple's ban on downloading code???


 --
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462
 ___
 use-livecode mailing list
 use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Bug [15118] native scroller

2015-04-14 Thread William Prothero
Richard:
When I looked at the link you posted, the very last comment in the comments 
section had a question of whether the field really needed to be in a group. 
Elanor Buchanan answered that it was not necessary.
Best,
Bill

 On Apr 14, 2015, at 9:23 AM, Richard Gaskin ambassa...@fourthworld.com 
 wrote:
 
 J. Landman Gay wrote:
 
  On April 14, 2015 9:58:25 AM CDT, Richard Gaskin wrote:
 
  Now that I'm doing mobile work in earnest I found it tedious to
  create groups around fields,
 
  I've scrolled fields directly without grouping them in the past.
  Unless something changed, I don't think you need to group a single
  field.
 
 Is this obsolete?
 http://lessons.runrev.com/m/4069/l/94412-creating-a-native-scroller-to-scroll-a-field
 
 Does the LC field object take on the appropriate scrolling behavior when 
 rendered on mobile?
 
 Are there other cases where we don't really need to write the same lines of 
 code over and over to instantiate every object as a mobile control that the 
 docs suggest we do?
 
 -- 
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com
 
 ___
 use-livecode mailing list
 use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Bug [15118] native scroller

2015-04-14 Thread Richard Gaskin
But does the native field object have the appropriate scrolling 
behaviors when rendered on mobile (bounce-back/glow, etc.)?


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com


William Prothero wrote:
 Richard:
 When I looked at the link you posted, the very last comment in the
 comments section had a question of whether the field really needed
 to be in a group. Elanor Buchanan answered that it was not necessary.
 Best,
 Bill

 On Apr 14, 2015, at 9:23 AM, Richard Gaskin wrote:

 J. Landman Gay wrote:

  On April 14, 2015 9:58:25 AM CDT, Richard Gaskin wrote:
 
  Now that I'm doing mobile work in earnest I found it tedious to
  create groups around fields,
 
  I've scrolled fields directly without grouping them in the past.
  Unless something changed, I don't think you need to group a single
  field.

 Is this obsolete?
 
http://lessons.runrev.com/m/4069/l/94412-creating-a-native-scroller-to-scroll-a-field


 Does the LC field object take on the appropriate scrolling behavior
 when rendered on mobile?

 Are there other cases where we don't really need to write the same
 lines of code over and over to instantiate every object as a mobile
 control that the docs suggest we do?




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Bug [15118] native scroller

2015-04-14 Thread J. Landman Gay

On 4/14/2015 11:44 AM, Richard Gaskin wrote:

But does the native field object have the appropriate scrolling
behaviors when rendered on mobile (bounce-back/glow, etc.)?


Yes.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Bug [15118] native scroller

2015-04-14 Thread J. Landman Gay

On 4/14/2015 11:23 AM, Richard Gaskin wrote:

Are there other cases where we don't really need to write the same lines
of code over and over to instantiate every object as a mobile control
that the docs suggest we do?


Since all native controls are created dynamically, you do need to repeat 
the commands for every control you create. A library script or a shared 
handler is handy for that. Pass it a field reference and just call that.


Do I remember right that LC is going to simplify this for us when Open 
Language happens? Or maybe it's a widget thing? If so, that may be why 
it hasn't been streamlined yet.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Release: LiveCode 8.0.0 DP 2

2015-04-14 Thread Roger Eller
On Tue, Apr 14, 2015 at 12:50 PM, Klaus major-k kl...@major-k.de wrote:


  Am 13.04.2015 um 18:31 schrieb Ali Lloyd a...@runrev.com:
 
  Dear list members,
 
  We are pleased to announce the release of LiveCode 8.0 DP 2.
 
  ...
 
  LiveCode 8 is in an early stage of development so we’d love to hear any
  feedback you have on it. There are a number of features that we’d like to
  implement but aren’t ready yet  and the existing features are subject to
  change during development - we can’t guarantee that extensions written in
  DP1 will continue to work in later versions.
 
  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

 can anyone please shed some light on how to use the new „Icon Picker“
 widget?

 The dictionary show an awsome description: A widget to display icons for
 picking“ :-D
 But no mention about syntax, params etc...

 Thanks!


 Best

 Klaus

 --
 Klaus Major
 http://www.major-k.de
 kl...@major-k.de


It appears to work in conjunction with the Navigation Bar widget.  When
both are dragged onto a stack, when you click on an icon of the Navigation
Bar, you can pick an icon for that spot on the bar.

~Roger
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: LiveNode Server

2015-04-14 Thread Jim Lambert

 Mark Wilcox wrote:
 
 This is an interesting thread.


Indeed it is. Thanks for your informative comments.

Jim Lambert
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: copying from password protected substacks

2015-04-14 Thread Dr. Hawkins
On Sat, Apr 11, 2015 at 5:26 PM, Scott Rossi sc...@tactilemedia.com wrote:

 If you set the passkey of the protected stack (to the password) before
 copying, you should be able to copy what you want


This is getting infuriating . . .

 what *is* the scope of the passkey?

I've tried setting it during stack initialization, even dumbing the
password down to abc, and I'm still getting the can't cut error.

Do I need to be setting it before every copy?


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Release: LiveCode 8.0.0 DP 2

2015-04-14 Thread Ali Lloyd
Hi Klaus,
As Roger noticed, the icon picker widget is meant to be used with the LCB
syntax popup widget to return the name of an icon, whose SVG path can
then be obtained using the iconSVGPathFromName function in the iconSVG
library. It is not particularly useful as a widget in its own right, except
for seeing what icons are available (essentially just fontawesome).

The Navigation Bar widget is in something of an experimental state, whereby
it has an editMode property - when true you can click on the icons and
change them, and add a 'nav item', and then with editMode false it changes
to a more user-oriented display.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Bug [15118] native scroller

2015-04-14 Thread Richard Gaskin

John Dixon wrote:

 I was absolutely convinced that I was correct, as I was using the
 same code that is already in a stack on the Apple app store...  I
 must have deleted the line whilst preparing a facelift for the
 app...:-(

iphoneControlSet scrollID, visible, true

 this is the missing line that caused me to think that the scroller in
 LC 6.7.4  LC 7.0.4 was not working and prompted me to file a 'bug'
 report...

 I apologise to Hanson, Sebastien and Panos for putting up with my
 'bug' report, completely wasting their time and for getting me out of
 the 'massive' hole that I have manged to dig for myself...

That was very gentlemanly of you, but in all fairness I've always 
wondered why the engine doesn't just instantiate those for us.


Now that I'm doing mobile work in earnest I found it tedious to create 
groups around fields, so I've been experimenting with having those 
dynamically created at runtime via script, and then calling the 
appropriate native instantiation calls.


But to be honest it feels a little silly having to do that:  the engine 
knows the rect of the object, and it knows the object is visible, and it 
knows the object is scrolling. If I can write a script to look for those 
and automatically instantiate scrollers as needed, is it really too hard 
for the engine to do?  After all, scripts are run by the engine.


Whingeing aside, there was another bit of good news from this thread - 
earlier I'd noted that we can't paste text from LiveCode into programs 
that expect styled text, and I got notice this morning that now the lead 
engineer, Mark Waddingham, is looking into that.


Good to see progress like this.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Quartz Compositions

2015-04-14 Thread David Bovill
Another way of asking the same question - but maybe more work - is how easy
is it to create a widget that takes live video input from Syphon -
http://syphon.v002.info/FrameworkDocumentation/

On 14 April 2015 at 07:17, David Bovill david.bov...@gmail.com wrote:

 Previously I had some success playing Quart Composer compositions in
 LiveCode's player object - not able to get it working now. Is this
 something that we could easily build in Livecode Builder?

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Why can't LC do what PencilCase does?

2015-04-14 Thread Dr. Hawkins
On Tue, Apr 14, 2015 at 8:17 AM, Geoff Canyon gcan...@gmail.com wrote:


 If they can do it, shouldn't LC be able to as well? Or is there something
 I'm not thinking of?


How are they getting past Apple's ban on downloading code???


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: Bug [15118] native scroller

2015-04-14 Thread John Dixon


Jacque..

You are correct about scrolling fields... 

I create a group and copy the required number of groups to a master group that 
I wish to display..
for example... show in the image below, I have a group that consists of 2 
images, 2 fields... there are 140 of these that are scrolled..
http://www.ihouse.on-rev.com/showstuff/scrollgroupshot.png
One just must remember to make the scroller visible in order to see the whole 
lot..:-)


John Dixon


 
 On April 14, 2015 9:58:25 AM CDT, Richard Gaskin ambassa...@fourthworld.com 
 wrote:
 
 Now that I'm doing mobile work in earnest I found it tedious to create 
 groups around fields, 
 I've scrolled fields directly without grouping them in the past. Unless 
 something changed, I don't think you need to group a single field.  
 -- 
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | http://www.hyperactivesw.com
 
 ___
 use-livecode mailing list
 use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Why can't LC do what PencilCase does?

2015-04-14 Thread Geoff Canyon
PencilCase http://www.pencilcase.io has a player app on iOS
http://appstore.com/pencilcaseplayer so you can:

1. Design your app on a Mac
2. Upload it to their system and get a code
3. Give that code to anyone
4. Anyone can install the PencilCase iOS app
5. Anyone can put in your code to run your app immediately.

If they can do it, shouldn't LC be able to as well? Or is there something
I'm not thinking of?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Bug [15118] native scroller

2015-04-14 Thread Richard Gaskin

J. Landman Gay wrote:

 On April 14, 2015 9:58:25 AM CDT, Richard Gaskin wrote:

 Now that I'm doing mobile work in earnest I found it tedious to
 create groups around fields,

 I've scrolled fields directly without grouping them in the past.
 Unless something changed, I don't think you need to group a single
 field.

Is this obsolete?
http://lessons.runrev.com/m/4069/l/94412-creating-a-native-scroller-to-scroll-a-field

Does the LC field object take on the appropriate scrolling behavior when 
rendered on mobile?


Are there other cases where we don't really need to write the same lines 
of code over and over to instantiate every object as a mobile control 
that the docs suggest we do?


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: New Way To Deal With Custom Fonts on iOS?

2015-04-14 Thread Chris Sheffield
Scott,

Could this possibly be related to this issue bug 14116 
http://quality.runrev.com/show_bug.cgi?id=14116?

Mark W. stated in a comment there that the screen loading times may have 
something to do with a change in the way that fonts were handled between LC 6.6 
and LC 6.7. I wonder if the issue you described is related somehow. Maybe it’s 
also caused by this change to using CoreText in iOS. Specifically, see his 
comment from February 27.

Chris



 On Apr 14, 2015, at 1:27 AM, Scott Rossi sc...@tactilemedia.com wrote:
 
 Hi All:
 
 I just spent two hours with a colleague trying to track down why a custom
 font wasn't rendering correctly on iOS, and apparently it seems that
 something changed with either the way LiveCode 7 or iOS 8 handles font
 names.
 
 It used to be that grabbing the installed name of a font on iOS was all
 that was needed to get a custom font to work, but now it seems one has to
 manually combine the font name and any desired style/s into a string
 separated by a dash:
 
 Installed name = American Typewriter Condensed Bold
 becomes --- AmericanTypewriter-CondensedBold
 
 I know about the fontStyles function, but that only appears to return
 available styles for font, it doesn't return a properly formatted fontName.
 
 Looking up font related terms/issues in the docs, forums, and mail list I
 haven't seen any reference to this anywhere.  Is this documented, and even
 more importantly, is there a function or script to automate this so we
 don't have to maintain a stored list of styles and compare/replace words
 in the font name?
 
 I'm also worried about what caused this change: is this a LiveCode change
 or an iOS change?  An iOS change would seem to mean that we need to code
 around the system version to handle older versions of iOS.
 
 Thanks for any info/advice here.
 
 Regards,
 
 Scott Rossi
 Creative Director
 Tactile Media, UX/UI Design
 
 
 
 
 ___
 use-livecode mailing list
 use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Bug [15118] native scroller

2015-04-14 Thread J. Landman Gay
On April 14, 2015 9:58:25 AM CDT, Richard Gaskin ambassa...@fourthworld.com 
wrote:

Now that I'm doing mobile work in earnest I found it tedious to create 
groups around fields, 
I've scrolled fields directly without grouping them in the past. Unless 
something changed, I don't think you need to group a single field.  
-- 
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: copying from password protected substacks

2015-04-14 Thread J. Landman Gay

On 4/14/2015 8:26 PM, Peter Haworth wrote:

Unless there's a bug somewhere in the decryption routines, it still feels
like the passkey you are supplying is not the same one you specified in the
standalone settings.


That's what it sounds like to me too. I wonder how the standalone 
builder handles that. Maybe it uses a different kind of encryption than 
a plain passworded stack uses. That sounds unlikely, but setting the 
passkey should work otherwise.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: copying from password protected substacks

2015-04-14 Thread Peter M. Brigham
You can use this:

function expandError pErr
   -- expands LC runtime error numbers, with explanatory text
   -- probably based on a handler from someone on the use-LC list, not sure who
   -- revised by Peter M. Brigham, pmb...@gmail.com — freeware
   
   -- requires sr()
   
   repeat for each line e in pErr
  put item 1 of e into errNbr
  put item 2 of e into tLineNbr
  put item 3 of e into tCharNbr
  put item 4 to -1 of e into tHint
  put • line  tLineNbr  ,  char  tCharNbr  :  into tErrMsg
  put error #  errNbr  ,  after tErrMsg
  put sr(line errNbr of the cErrorsList of card 1 of stack 
revErrorDisplay) \
after tErrMsg
  if tHint  empty then
 put  — hint:  tHint after tErrMsg
  end if
  put tErrMsg  cr after errorlist
   end repeat
   return sr(errorlist)
end expandError

function sr str
   -- sr = strip returns -- actually, strips all white space fore and aft
   -- place this handler in a library stack,
   -- where it will be available everywhere
   return word 1 to -1 of str
end sr

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig

On Apr 14, 2015, at 9:59 PM, J. Landman Gay wrote:

 On 4/14/2015 8:17 PM, Dr. Hawkins wrote:
 However, where can I find the list of those codes, and what that error box
 means in general?
 
 User Sample Stacks (in the toolbar) - LC Error Lookup
 
 or here:
 
 http://livecodeshare.runrev.com/stack/712/LiveCode-Error-Lookup
 
 Or make your own, the location of the error codes is listed in the 
 ErrorDialog entry in the dictionary.
 
 -- 
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | http://www.hyperactivesw.com
 
 ___
 use-livecode mailing list
 use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: copying from password protected substacks

2015-04-14 Thread Dr. Hawkins
On Tue, Apr 14, 2015 at 2:50 PM, Peter Haworth p...@lcsql.com wrote:

 Error 558 is stack: invalid key.  Not much help but perhaps the passkey
 you're supplying isn't the correct one?  Not likely I guess since it
 apparently works in the IDE.


There is no password set in the IDE; it's all at compile time.

However, where can I find the list of those codes, and what that error box
means in general?

thanks


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: copying from password protected substacks

2015-04-14 Thread Richard Gaskin

Peter Haworth wrote:

 I'm still not sure in my mind whether encryption is the same thing
 as password protecting a stack.  I've only ever used the latter.
 Anybody know?

AFAIK there is only one form of script encryption, set with the password 
property and unlocked during the session with the passkey property.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for Desktop, Mobile, and Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: copying from password protected substacks

2015-04-14 Thread Peter Haworth
Right.  I'm still not sure in my mind whether encryption is the same
thing as password protecting a stack.  I've only ever used the latter.
Anybody know?

Pete
lcSQL Software http://www.lcsql.com
Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and
SQLiteAdmin http://www.lcsql.com/sqliteadmin.html

On Tue, Apr 14, 2015 at 7:01 PM, J. Landman Gay jac...@hyperactivesw.com
wrote:

 On 4/14/2015 8:26 PM, Peter Haworth wrote:

 Unless there's a bug somewhere in the decryption routines, it still feels
 like the passkey you are supplying is not the same one you specified in
 the
 standalone settings.


 That's what it sounds like to me too. I wonder how the standalone builder
 handles that. Maybe it uses a different kind of encryption than a plain
 passworded stack uses. That sounds unlikely, but setting the passkey should
 work otherwise.

 --
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | http://www.hyperactivesw.com

 ___
 use-livecode mailing list
 use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: copying from password protected substacks

2015-04-14 Thread Peter Haworth
The first item of each line refers to a line number in an error messages
table.  The table is in the cErrorsList custom property of card 1 of stack
revErrorDisplay.

Sounds like you set the encrypt with password field in the standalone
settings.  Make sure you do that for every stack you want to be encrypted.

Unless there's a bug somewhere in the decryption routines, it still feels
like the passkey you are supplying is not the same one you specified in the
standalone settings.

Pete
lcSQL Software http://www.lcsql.com
Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and
SQLiteAdmin http://www.lcsql.com/sqliteadmin.html

On Tue, Apr 14, 2015 at 6:17 PM, Dr. Hawkins doch...@gmail.com wrote:

 On Tue, Apr 14, 2015 at 2:50 PM, Peter Haworth p...@lcsql.com wrote:

  Error 558 is stack: invalid key.  Not much help but perhaps the passkey
  you're supplying isn't the correct one?  Not likely I guess since it
  apparently works in the IDE.
 

 There is no password set in the IDE; it's all at compile time.

 However, where can I find the list of those codes, and what that error box
 means in general?

 thanks


 --
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462
 ___
 use-livecode mailing list
 use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Bug [15118] native scroller

2015-04-14 Thread Matthias Rebbe | M-R-D



 Am 14.04.2015 um 14:17 schrieb John Dixon dixo...@hotmail.co.uk:
 
 
 
 
 
 
 
 
 This is addressed to a number of members of the liveCode team in Edinburgh...
 To three members of the team in particular...
 
 Hanson, Sebastien and Panos...
 
 After having read your email, there is nothing I can say except that 'I am an 
 idiot'... 
 I have no excuse whatsoever for missing such a fundamental line as setting 
 the visible of the 'scroller' to true.
 
 I was absolutely convinced that I was correct, as I was using the same code 
 that is already in a stack on the Apple app store...  I must have deleted the 
 line whilst preparing a facelift for the app...:-(
 
   iphoneControlSet scrollID, visible, true
 
 this is the missing line that caused me to think that the scroller in LC 
 6.7.4  LC 7.0.4 was not working and prompted me to file a 'bug' report...
 
 I apologise to Hanson, Sebastien and Panos for putting up with my 'bug' 
 report, completely wasting their time and for getting me out of the 'massive' 
 hole that I have manged to dig for myself...
 
 Gentlemen... I thank you..
 
 John Dixon
 
   
   
  [Bug 15118] native scroller‏ 
   
   
   
   
 To:  
 dixo...@hotmail.co.uk 
   
  
 
 
 
 
 Panos Merakos
 changed
  bug 15118
 
 
 
 
What
Removed
Added
 
 
 
   Status
   CONFIRMED
 
   PENDING_AWAITING_FOLLOW_UP
 
 
 
 
   CC
 
 
 
   panos.mera...@livecode.com
 
 
 
 
 
Comment # 9
  on bug 15118
  from  Panos Merakos
 
Hi John,
 
 We had a deeper look in the scripts of the sample stacks you have attached, 
 and
 found the problem. You have not set the visible of the scroller to true, and
 this is why it does not scroll. This is what we did to resolve the issue:
 
 1. In stack local directory copy.livecode:
 Go to card id 1011, and add the following line in the buildScroller handler 
 (at
 the point where you set the scroller properties)
 
 iphoneControlSet scrollID, visible, true
 
 2. In stacks textScroll.livecode and PicsHorz copy.livecode, this line already
 exists, and thus the scrollers work as expected.
 
 3. In stack scroll704.livecode:
 Go to card id 1002, and add the following line in the buildScroller handler 
 (at
 the point where you set the scroller properties):
 
 iphoneControlSet scrollID, visible, true
 
 Can you please let us know if this fixes the problem for you?
 
 Warmest regards,
 Panos
 --
 
 
 
  You are receiving this mail because:
 
  You are on the CC list for the bug.You reported the bug.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
   
   
 
 ___
 use-livecode mailing list
 use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: copying from password protected substacks

2015-04-14 Thread Dr. Hawkins
On Tue, Apr 14, 2015 at 2:09 PM, Scott Rossi sc...@tactilemedia.com wrote:

 Does it work for you in the IDE?


Yes.  However,  the password only gets set at compile time.


 Also, you're not using the Community Edition are you?


*shudder*, no.  Far too much work into this to risk GPL
contamination/taiint of my code.






-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: copying from password protected substacks

2015-04-14 Thread Peter Haworth
Error 558 is stack: invalid key.  Not much help but perhaps the passkey
you're supplying isn't the correct one?  Not likely I guess since it
apparently works in the IDE.

Pete
lcSQL Software http://www.lcsql.com
Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and
SQLiteAdmin http://www.lcsql.com/sqliteadmin.html

On Tue, Apr 14, 2015 at 1:50 PM, Dr. Hawkins doch...@gmail.com wrote:

 On Tue, Apr 14, 2015 at 12:03 PM, Scott Rossi sc...@tactilemedia.com
 wrote:

  There shouldn't be anything infuriating about it.
 
  You have a password protected stack.  You set the passkey of that stack
 to
  your password value.  You should then be able to access/copy objects from
  that stack.
 

 but that doesn't seem to be the case for me.

 on mouseUp
answer in the button scrpt  cr  exists (stack rawForms)
set the passkey of stack rawForms to blahBlahBlah
answer the result
send yeehaw2 to stack rawForms
answer yeehaw2 sent
 end mouseUp

  the first answer confirms true for the existence.

 THe next line causes 
 an error occurred on line 0

 558,0,0,password
 535,3,1
 241,3,1, mouseup
 353,0,0,long name of button


  The passkey stays in effect for the current editing session.  When you
  close stack (or otherwise remove it from memory), your stack contents
  should not be accessible the next time you open stack.  Passkey is
  temporary, password is persistent.
 


 I'm only setting the password itself in the Standalone Application Settings
 window, if that matters, so the problem ony happens once I make a
 standaone.



 --
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462
 ___
 use-livecode mailing list
 use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Release: LiveCode 8.0.0 DP 2

2015-04-14 Thread Klaus major-k
Hi Ali,

 Am 14.04.2015 um 20:38 schrieb Ali Lloyd a...@runrev.com:
 
 Hi Klaus,
 As Roger noticed, the icon picker widget is meant to be used with the LCB
 syntax popup widget to return the name of an icon, whose SVG path can
 then be obtained using the iconSVGPathFromName function in the iconSVG
 library. It is not particularly useful as a widget in its own right, except
 for seeing what icons are available (essentially just fontawesome).
 
 The Navigation Bar widget is in something of an experimental state, whereby
 it has an editMode property - when true you can click on the icons and
 change them, and add a 'nav item', and then with editMode false it changes
 to a more user-oriented display.

thanks for the detailed info!


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Why can't LC do what PencilCase does?

2015-04-14 Thread Mark Wilcox
Apple added another exception to the code downloading rule, using 
JavaScriptCore you can download JavaScript and run it. So it probably is just a 
WebView but it doesn't have to be.

Sent from my iPhone

 On 14 Apr 2015, at 17:24, Geoff Canyon gcan...@gmail.com wrote:
 
 No idea. Their basic projects don't have code -- just a bunch of
 properties that include things like when this happens, do this, but then
 you can open the project up and write javascript. Maybe the end result is a
 specialized web page? I'll experiment more.
 
 gc
 
 On Tue, Apr 14, 2015 at 10:56 AM, Dr. Hawkins doch...@gmail.com wrote:
 
 On Tue, Apr 14, 2015 at 8:17 AM, Geoff Canyon gcan...@gmail.com wrote:
 
 
 If they can do it, shouldn't LC be able to as well? Or is there something
 I'm not thinking of?
 
 How are they getting past Apple's ban on downloading code???
 
 
 --
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462
 ___
 use-livecode mailing list
 use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: copying from password protected substacks

2015-04-14 Thread Scott Rossi
There shouldn't be anything infuriating about it.

You have a password protected stack.  You set the passkey of that stack to
your password value.  You should then be able to access/copy objects from
that stack.

The passkey stays in effect for the current editing session.  When you
close stack (or otherwise remove it from memory), your stack contents
should not be accessible the next time you open stack.  Passkey is
temporary, password is persistent.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 4/14/15, 11:20 AM, Dr. Hawkins doch...@gmail.com wrote:

On Sat, Apr 11, 2015 at 5:26 PM, Scott Rossi sc...@tactilemedia.com
wrote:

 If you set the passkey of the protected stack (to the password) before
 copying, you should be able to copy what you want


This is getting infuriating . . .

 what *is* the scope of the passkey?

I've tried setting it during stack initialization, even dumbing the
password down to abc, and I'm still getting the can't cut error.

Do I need to be setting it before every copy?


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Why can't LC do what PencilCase does?

2015-04-14 Thread Colin Holgate
That’s interesting to know about. Another factor may be the $30 you have to pay 
to remove apps. That’s $9 to Apple for each user who does that.



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: LiveNode Server

2015-04-14 Thread Mark Wilcox
 On 14 Apr 2015, at 18:17, David Bovill david@viral.academy wrote:
 
 Yes - thanks for the input Mark.
 
 How about having Livecode as a Node extension that we could install with
 NPM? Is that not a much easier first step? I still would like to get to the
 bottom of not being fork able means?
Unless you want to ban most of the language then you'd still have to replace or 
integrate the event loop with libuv, which is probably not a small or easy job. 
If a future LiveCode has a more modular core you might be able to take just the 
bits you need.

 
 It would be fantastic to get add Live code to a Node server with a couple
 of lines. Particularly for serving dynamically created images. I guess this
 route will also be possible when we have JavaScript export?
 
I think it would be possible with JavaScript export but that's a very 
heavyweight solution. Dynamically creating images is the sort of processor 
intensive task where Node performs badly. It would probably make more sense to 
have a separate LiveCode executable that can run in another process on another 
CPU core on the same server. You could signal it via sockets from the Node 
server, or even just communicate via the file system.

 On Tuesday, April 14, 2015, Jim Lambert j...@netrin.com wrote:
 
 
 Mark Wilcox wrote:
 
 This is an interesting thread.
 
 
 Indeed it is. Thanks for your informative comments.
 
 Jim Lambert
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com javascript:;
 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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


New LiveCode book

2015-04-14 Thread stgoldb...@aol.com
Ray Horsley r...@linkit.com wrote:
Date: Tue, 14 Apr 2015 13:15:34 -0400
Stephen,

I'd love to take a look at your book but I'm
getting a 403 error, 
access is forbidden as I click the link below.  I'm in
Granada, Spain 
if that makes a difference.  Any suggestions?

The corrected URL for download of LiveCode Lite: Computer Programming Made 
Ridiculously SImple is
www.medmaster.net/livecode.html

Stephen Goldberg
stgoldb...@aol.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Why can't LC do what PencilCase does?

2015-04-14 Thread Geoff Canyon
Interesting, I didn't know that.

On Tue, Apr 14, 2015 at 1:44 PM, Mark Wilcox m...@sorcery-ltd.co.uk wrote:

 Apple added another exception to the code downloading rule, using
 JavaScriptCore you can download JavaScript and run it. So it probably is
 just a WebView but it doesn't have to be.

 Sent from my iPhone

  On 14 Apr 2015, at 17:24, Geoff Canyon gcan...@gmail.com wrote:
 
  No idea. Their basic projects don't have code -- just a bunch of
  properties that include things like when this happens, do this, but
 then
  you can open the project up and write javascript. Maybe the end result
 is a
  specialized web page? I'll experiment more.
 
  gc
 
  On Tue, Apr 14, 2015 at 10:56 AM, Dr. Hawkins doch...@gmail.com
 wrote:
 
  On Tue, Apr 14, 2015 at 8:17 AM, Geoff Canyon gcan...@gmail.com
 wrote:
 
 
  If they can do it, shouldn't LC be able to as well? Or is there
 something
  I'm not thinking of?
 
  How are they getting past Apple's ban on downloading code???
 
 
  --
  Dr. Richard E. Hawkins, Esq.
  (702) 508-8462
  ___
  use-livecode mailing list
  use-livecode@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


apns windows

2015-04-14 Thread Mike Kerner
did anybody ever get apns to work from windows?  I have always run into a
problem with not being able to send the signal to the server that we're
done, and I finally gave up, but now it would be nice to be able to make it
work, again, instead of having to do it all from a Mac.

-- 
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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: copying from password protected substacks

2015-04-14 Thread Dr. Hawkins
On Tue, Apr 14, 2015 at 12:03 PM, Scott Rossi sc...@tactilemedia.com
wrote:

 There shouldn't be anything infuriating about it.

 You have a password protected stack.  You set the passkey of that stack to
 your password value.  You should then be able to access/copy objects from
 that stack.


but that doesn't seem to be the case for me.

on mouseUp
   answer in the button scrpt  cr  exists (stack rawForms)
   set the passkey of stack rawForms to blahBlahBlah
   answer the result
   send yeehaw2 to stack rawForms
   answer yeehaw2 sent
end mouseUp

 the first answer confirms true for the existence.

THe next line causes 
an error occurred on line 0

558,0,0,password
535,3,1
241,3,1, mouseup
353,0,0,long name of button


 The passkey stays in effect for the current editing session.  When you
 close stack (or otherwise remove it from memory), your stack contents
 should not be accessible the next time you open stack.  Passkey is
 temporary, password is persistent.



I'm only setting the password itself in the Standalone Application Settings
window, if that matters, so the problem ony happens once I make a standaone.



-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: copying from password protected substacks

2015-04-14 Thread Scott Rossi
Does it work for you in the IDE?

Also, you're not using the Community Edition are you?  You can't password
protect with that version of LiveCode even though it shows the option in
the Standalone Builder.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 4/14/15, 1:50 PM, Dr. Hawkins doch...@gmail.com wrote:

On Tue, Apr 14, 2015 at 12:03 PM, Scott Rossi sc...@tactilemedia.com
wrote:

 There shouldn't be anything infuriating about it.

 You have a password protected stack.  You set the passkey of that stack
to
 your password value.  You should then be able to access/copy objects
from
 that stack.


but that doesn't seem to be the case for me.

on mouseUp
   answer in the button scrpt  cr  exists (stack rawForms)
   set the passkey of stack rawForms to blahBlahBlah
   answer the result
   send yeehaw2 to stack rawForms
   answer yeehaw2 sent
end mouseUp

 the first answer confirms true for the existence.

THe next line causes 
an error occurred on line 0

558,0,0,password
535,3,1
241,3,1, mouseup
353,0,0,long name of button


 The passkey stays in effect for the current editing session.  When you
 close stack (or otherwise remove it from memory), your stack contents
 should not be accessible the next time you open stack.  Passkey is
 temporary, password is persistent.



I'm only setting the password itself in the Standalone Application
Settings
window, if that matters, so the problem ony happens once I make a
standaone.



-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[ANN] Installer Maker 1.8.8

2015-04-14 Thread Mark Schonewille
Dear Livecode users,

Economy-x-Talk released Installer Maker 1.8.8 today. This is a maintenance 
release, which accepts recently issued license keys. We have also removed a 
spurious error message from the Uninstaller. This update is free for everyone 
who bought a license after 1 November 2014. This is an update for OSX and 
Windows. Let me know if you have an urgent need for a Linux version.

You can download the Installer Maker plug-in for LiveCode (commercial version) 
at http://rrinstallermaker.economy-x-talk.com
The standalone version of Installer Maker can be found at 
http://installermaker.economy-x-talk.com

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour 
spaces. http://www.color-converter.com

We have time for new software development projects. Contact me for a quote.







___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode