Re: How to deploy app from Mac to Linux (with Browser widget) ?

2021-07-22 Thread panagiotis m via use-livecode
Hello Ben,

Unfortunately the browser widget is still broken on most Linux distros. You
might be able to work this around in your app by using "launch url .." if
the platform is Linux, to use the default browser instead of the browser
widget.

Kind regards,
Panos
--

On Thu, 22 Jul 2021 at 10:53, Ben Rubinstein via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> I've made a little utility that's been working for me on Mac (actually
> I've
> just been running it in the IDE). I wanted to share it with a colleague
> who
> uses Linux, so I selected Mac, Windows, Linux in the standalone settings,
> selected "auto-detect" for inclusions, built it.
>
> Tested the standalone Mac app on my computer, works fine.
>
> Zipped up the Linux64 package, sent my colleague the zip. She said
> "something
> froze and i cannot close it".
>
> Two questions:
>
> - do I need to do something special to package up the Linux app before
> sending
> it? Does my colleague need to do something special to install/run it?
> She's
> using "5.4.0-80-generic #90-Ubuntu".
>
> - this uses the browser widget. I've seen something on the list about will
> we
> ever get CEF browser on Linux - but the widget was listed as for linux in
> the
> Standalone Builder,  and indeed a folder "CEF" is the bulk of the
> "Externals"
> folder that the Standalone Builder created. So I'm guessing that was an
> historical problem.
>
> Please enlighten me!
>
> TIA,
>
> Ben
>
> ___
> 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


How to deploy app from Mac to Linux (with Browser widget) ?

2021-07-22 Thread Ben Rubinstein via use-livecode



I've made a little utility that's been working for me on Mac (actually I've 
just been running it in the IDE). I wanted to share it with a colleague who 
uses Linux, so I selected Mac, Windows, Linux in the standalone settings, 
selected "auto-detect" for inclusions, built it.


Tested the standalone Mac app on my computer, works fine.

Zipped up the Linux64 package, sent my colleague the zip. She said "something 
froze and i cannot close it".


Two questions:

- do I need to do something special to package up the Linux app before sending 
it? Does my colleague need to do something special to install/run it? She's 
using "5.4.0-80-generic #90-Ubuntu".


- this uses the browser widget. I've seen something on the list about will we 
ever get CEF browser on Linux - but the widget was listed as for linux in the 
Standalone Builder,  and indeed a folder "CEF" is the bulk of the "Externals" 
folder that the Standalone Builder created. So I'm guessing that was an 
historical problem.


Please enlighten me!

TIA,

Ben

___
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: Develop on 9.5 DP1 and Deploy in 9.0.4 Stable?

2019-06-02 Thread J. Landman Gay via use-livecode
Switch to 9.0.5 where a large number of memory leaks were fixed. I find it 
to be far more stable, with one exception - - tracing through scripts in 
the debugger can eventually crash. I've submitted several crash logs about 
that and hopefully the remaining leaks can be found and fixed.


Aside from that, 9.0.5 is standing up well for me.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On June 2, 2019 10:44:12 AM Sannyasin Brahmanathaswami via use-livecode 
 wrote:


I have already submitted crash reports on the QA list but want to ask the 
group, in case someone works this way.


I am getting random crashes in 9.0.4.

At any time. I could just be sitting with a module (stack) open in my app, 
thinking, no attempt to send messages or interaction with the stack, 
suddenly LC crashes. I suspect it is deep in the engine with some of the 
memory issues that were fixed. Hard to know...


Perhaps this is fixed in 9.5.DP1... but there are issues with deployment in 
9.5 DP1


Can I do this without penalty:

1) use 9.5.DP1 in the IDE
2) switch to 9.0.4 when building standalones for iOS and Android

?

BR

PS at least this get me on board the  "Join the regression extermination 
effort! __ " mentioned in the thread " Seeking confirmation of a bug." at 
least for the latest DP's in the IDE.


___
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: Develop on 9.5 DP1 and Deploy in 9.0.4 Stable?

2019-06-02 Thread Brian Milby via use-livecode
You should be able to do that unless you take advantage of any new features of 
the TreeView widget (preferences will get removed when saving from an earlier 
version).  The one possible issue would be with data grids (and other groups 
using container mode) - not sure how the container mode setting on the parent 
group would be handled.  Shouldn’t be too hard to figure out though.  The other 
adjustments (like putting an outline behind the DG as a separate object) should 
be fine in an earlier version.

I think that the accelerated rendering bug that impacts the browser widget 
probably shouldn’t be a factor in most cases.  If the majority of the screen is 
the widget and the controls outside are going to be static then there would 
probably be a performance hit using AR anyway.  In that case, the bug is 
avoided by turning AR off and that would actually be the better setting.

Thanks,
Brian
On Jun 2, 2019, 11:43 AM -0400, Sannyasin Brahmanathaswami via use-livecode 
, wrote:
> I have already submitted crash reports on the QA list but want to ask the 
> group, in case someone works this way.
>
> I am getting random crashes in 9.0.4.
>
> At any time. I could just be sitting with a module (stack) open in my app, 
> thinking, no attempt to send messages or interaction with the stack, suddenly 
> LC crashes. I suspect it is deep in the engine with some of the memory issues 
> that were fixed. Hard to know...
>
> Perhaps this is fixed in 9.5.DP1... but there are issues with deployment in 
> 9.5 DP1
>
> Can I do this without penalty:
>
> 1) use 9.5.DP1 in the IDE
> 2) switch to 9.0.4 when building standalones for iOS and Android
>
> ?
>
> BR
>
> PS at least this get me on board the "Join the regression extermination 
> effort! __ " mentioned in the thread " Seeking confirmation of a bug." at 
> least for the latest DP's in the IDE.
>
> ___
> 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

Develop on 9.5 DP1 and Deploy in 9.0.4 Stable?

2019-06-02 Thread Sannyasin Brahmanathaswami via use-livecode
I have already submitted crash reports on the QA list but want to ask the 
group, in case someone works this way.

I am getting random crashes in 9.0.4. 

At any time. I could just be sitting with a module (stack) open in my app, 
thinking, no attempt to send messages or interaction with the stack, suddenly 
LC crashes. I suspect it is deep in the engine with some of the memory issues 
that were fixed. Hard to know...

Perhaps this is fixed in 9.5.DP1... but there are issues with deployment in 9.5 
DP1

Can I do this without penalty:

1) use 9.5.DP1 in the IDE
2) switch to 9.0.4 when building standalones for iOS and Android

?

BR

PS at least this get me on board the  "Join the regression extermination 
effort! __ " mentioned in the thread " Seeking confirmation of a bug." at least 
for the latest DP's in the IDE.

___
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: Exploring A Single File Deploy on Windows

2017-06-23 Thread Bob Sneidar via use-livecode
I've got a really, really bad feeling about this...

Bob S


> On Jun 23, 2017, at 10:56 , Dan Friedman via use-livecode 
>  wrote:
> 
> I second this motion!   PLEASE!   We must have some way to work BEFORE the 
> eternals are loaded.  Furthermore, we should be able to define where the 
> externals will be saved and loaded.  Requiring that externals must be in the 
> same directory as the exe is far to limiting!
> 
> New DataGrids and fancy new features are fine.  But this seems like a core 
> feature that has been overlooked!
> 
> We have to deliver our app in the next few weeks.  I hope LC offers a 
> solution in time!
> 
> -Dan


___
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: Exploring A Single File Deploy on Windows

2017-06-23 Thread Dan Friedman via use-livecode
I second this motion!   PLEASE!   We must have some way to work BEFORE the 
eternals are loaded.  Furthermore, we should be able to define where the 
externals will be saved and loaded.  Requiring that externals must be in the 
same directory as the exe is far to limiting!

New DataGrids and fancy new features are fine.  But this seems like a core 
feature that has been overlooked!

We have to deliver our app in the next few weeks.  I hope LC offers a solution 
in time!

-Dan


On 2017-06-21 22:47, J. Landman Gay via use-livecode wrote:
> Could you expand on this a little bit? StandaloneSaving/Saved are only
> sent during a build, so I'm not sure how I'd use those to intercept a
> startup message.

Yes but they could be used at standalone building time (probably will
require a little bit of reordering of processes slightly) so stacks
could embed their resources in a stackfile.

> Also, when do the externals actually load? If they load at startup
> before any messages are sent, then won't the externals already be done
> with before the stack receives the startup message?

At present they are bound before the startup message - which is the
problem as there is no opportunity for script to run.

Currently, you can do the suck up and spit out method - you just mustn't
mark the externals as 'included' in the s/b... And then add code to
standaloneSaving / standaloneSaved:

standaloneSaving (to augment your stackfile with what is needed)
create a substack of your mainstack file which contains the externals
you want in custom props
a library stack handler in the substack which spits out and sets the
externals property of itself

standaloneSaved (to reset your stackfile to what it was before)
   delete the substack

Then in the startup handler of your standalone mainstack, 'start using'
the substack if it is present. That should then load the externals which
you've spat out to disk in an appropriate place.

Warmest Regards,

Mark.

--
Mark Waddingham ~ mark at 
livecode.com ~ 
http://www.livecode.com/
LiveCode: Everyone can create apps

___
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: Exploring A Single File Deploy on Windows

2017-06-22 Thread Mark Waddingham via use-livecode

On 2017-06-21 22:47, J. Landman Gay via use-livecode wrote:

Could you expand on this a little bit? StandaloneSaving/Saved are only
sent during a build, so I'm not sure how I'd use those to intercept a
startup message.


Yes but they could be used at standalone building time (probably will 
require a little bit of reordering of processes slightly) so stacks 
could embed their resources in a stackfile.



Also, when do the externals actually load? If they load at startup
before any messages are sent, then won't the externals already be done
with before the stack receives the startup message?


At present they are bound before the startup message - which is the 
problem as there is no opportunity for script to run.


Currently, you can do the suck up and spit out method - you just mustn't 
mark the externals as 'included' in the s/b... And then add code to 
standaloneSaving / standaloneSaved:


standaloneSaving (to augment your stackfile with what is needed)
   create a substack of your mainstack file which contains the externals 
you want in custom props
   a library stack handler in the substack which spits out and sets the 
externals property of itself


standaloneSaved (to reset your stackfile to what it was before)
  delete the substack

Then in the startup handler of your standalone mainstack, 'start using' 
the substack if it is present. That should then load the externals which 
you've spat out to disk in an appropriate place.


Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
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: Exploring A Single File Deploy on Windows

2017-06-21 Thread Mark Talluto via use-livecode
> On Jun 21, 2017, at 11:31 AM, Mark Waddingham via use-livecode 
>  wrote:
> 
> Since 8, standalones have loaded their externals on startup - so no script 
> runs before the standalone expects them to be where they should. One way to 
> resolve this is to send a message *before* the externals are bound, allowing 
> the 'spit out' solution to work again by intercepting standaloneSaving / 
> Saved and handling an appropriate message on startup.

I am just working on this problem today. I need to be able to spit out the 
needed externals before the engine tries to use them. Otherwise I am getting an 
'Initialization Error' dialog stating 'failed to load external'.


Best regards,

Mark Talluto
livecloud.io 
nursenotes.net 
canelasoftware.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: Exploring A Single File Deploy on Windows

2017-06-21 Thread J. Landman Gay via use-livecode

On 6/21/17 1:31 PM, Mark Waddingham via use-livecode wrote:
Since 8, standalones have loaded their externals on startup - so no 
script runs before the standalone expects them to be where they should. 
One way to resolve this is to send a message *before* the externals are 
bound, allowing the 'spit out' solution to work again by intercepting 
standaloneSaving / Saved and handling an appropriate message on startup.


Could you expand on this a little bit? StandaloneSaving/Saved are only 
sent during a build, so I'm not sure how I'd use those to intercept a 
startup message.


Also, when do the externals actually load? If they load at startup 
before any messages are sent, then won't the externals already be done 
with before the stack receives the startup message?



--
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: Exploring A Single File Deploy on Windows

2017-06-21 Thread Mark Waddingham via use-livecode

On 2017-06-21 19:42, Richard Gaskin via use-livecode wrote:

One of the things I liked about SuperCard was that Bill Appleton had
written his own resource fork into his data file format.  This allowed
SC to store any number of data and even code (XCMDs and DFCNs) within
the data fork, without relying on the Mac's old file system resource
fork.


Mac Classic was a decidedly simpler OS than modern OS's...


Would it be worth considering some means of being able to store
externals directly in the stack file?


You mean like storing them in a custom property and spitting them out on 
startup into an appropriate folder (one which the OS clears out at 
appropriate times)?


What magic is dependent on having an external be a separate file on 
disk?


Dynamic linker magic - neither Windows nor Linux (where the 'problem' 
arises) have system APIs which allow shared libraries to be loaded from 
sections of a file. This is quite reasonable from an OS maker's point of 
view - after all, the point of shared libraries is that they can be 
shared.


Admittedly, systems like LiveCode use shared libraries for extensibility 
so the sharing aspect isn't actually all that interesting for this case.


However, the systems which don't have a 'bundle' type abstraction (i.e. 
Windows and Linux) have good stories for installation - there are 
numerous Windows Installer creators, and all Linux distros have their 
own package management system.



Couldn't the entry point for that code be found at least as easily
(and perhaps slightly more efficiently) if stored within the stack
file?


There's a lot more to it than that - a shared library is mostly linked, 
but the OS does a final link step at the point they are loaded. There 
are all kinds of things which go on there - resolution of dependent 
libraries, versioning, rewriting various bits of memory to ensure 
everything references the right addresses, allocated per-thread storage, 
etc.


Whilst it would be possible to do, it would be a huge sink of resources 
to solve a problem which has been solved by the relevant OSes in their 
own way - i.e. installers / packages. It would also be a huge 
maintenance burden - i.e. lets spend our time solving problems which 
haven't already been solved perfectly well.


Since 8, standalones have loaded their externals on startup - so no 
script runs before the standalone expects them to be where they should. 
One way to resolve this is to send a message *before* the externals are 
bound, allowing the 'spit out' solution to work again by intercepting 
standaloneSaving / Saved and handling an appropriate message on startup.


Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
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: Exploring A Single File Deploy on Windows

2017-06-21 Thread Richard Gaskin via use-livecode

Dan Friedman wrote:

> With LC 8.1 and later, we’re now using tsNet rather than libURL.
> That’s fine.  However, a Windows standalone that uses tsNet cannot
> even launch unless tsNet.dll is in the same directory as the
> standalone.exe.  This makes deploying a single file on Windows
> impossible.

The others here have offered good suggestions for suck-up-and-spit-out 
solutions to solve the problem for now. but looking ahead:


One of the things I liked about SuperCard was that Bill Appleton had 
written his own resource fork into his data file format.  This allowed 
SC to store any number of data and even code (XCMDs and DFCNs) within 
the data fork, without relying on the Mac's old file system resource fork.


I really really really prefer to deliver truly stand-alone standalones 
whenever practical, but with more and more new features being 
implemented in bundled externals the number of apps I can do this for is 
shrinking with each release.


Would it be worth considering some means of being able to store 
externals directly in the stack file?


What magic is dependent on having an external be a separate file on disk?

Couldn't the entry point for that code be found at least as easily (and 
perhaps slightly more efficiently) if stored within the stack file?


--
 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: Exploring A Single File Deploy on Windows

2017-06-19 Thread Roger Eller via use-livecode
On Mon, Jun 19, 2017 at 3:31 PM, Dan Friedman via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Greetings…
>
> With LC 8.1 and later, we’re now using tsNet rather than libURL.  That’s
> fine.  However, a Windows standalone that uses tsNet cannot even launch
> unless tsNet.dll is in the same directory as the standalone.exe.  This
> makes deploying a single file on Windows impossible.  Which means you have
> to zip everything up and hope your client double-clicks with correct file,
> or use an installer. Yuck!
>
> Now, we know that we can create a standalone that uses libURL instead of
> tsNet (thank you Matthias, http://lists.runrev.com/
> pipermail/use-livecode/2017-April/236013.html).  But, can you switch
> systems after launch?  If you can, then you could create a standalone that
> uses libURL -- which will launch.  During the app’s startup you could then
> save any DLLs, files or whatever either from custom properties or download
> from the net.  Once all that was done you would then switch to tsNet.  Or,
> even require that the user simply restart the app and it will re-launch and
> use tsNet.
>
> So, when the app launches if it doesn’t find tsNet.dll in the correct
> location, then it continues using libURL and downloads/saves tsNet.  If it
> does find tsNet in the correct location, then it uses tsNet.
>
> What do you think?  Is this possible?
>
>

That is exactly what I would try.

~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

Exploring A Single File Deploy on Windows

2017-06-19 Thread Dan Friedman via use-livecode
Greetings…

With LC 8.1 and later, we’re now using tsNet rather than libURL.  That’s fine.  
However, a Windows standalone that uses tsNet cannot even launch unless 
tsNet.dll is in the same directory as the standalone.exe.  This makes deploying 
a single file on Windows impossible.  Which means you have to zip everything up 
and hope your client double-clicks with correct file, or use an installer. Yuck!

Now, we know that we can create a standalone that uses libURL instead of tsNet 
(thank you Matthias, 
http://lists.runrev.com/pipermail/use-livecode/2017-April/236013.html).  But, 
can you switch systems after launch?  If you can, then you could create a 
standalone that uses libURL -- which will launch.  During the app’s startup you 
could then save any DLLs, files or whatever either from custom properties or 
download from the net.  Once all that was done you would then switch to tsNet.  
Or, even require that the user simply restart the app and it will re-launch and 
use tsNet.

So, when the app launches if it doesn’t find tsNet.dll in the correct location, 
then it continues using libURL and downloads/saves tsNet.  If it does find 
tsNet in the correct location, then it uses tsNet.

What do you think?  Is this possible?

-Dan
___
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: Single File Deploy on Windows?

2017-04-04 Thread Dan Friedman via use-livecode
Thanks Paul.  That’s just what I’ve done in versions prior to LC 9.  I can tell 
you that it does work in LC 7 and 8.  Not sure what the issue is with LC 9, but 
maybe somone in the know from LiveCode will see this post and share the magic 
formula!?!

-Dan

>>That look to me like it should work. Here is my code below which does
>>work. That said, it works under 6.7.x and earlier. I have not tested my
>>code under LC7+. In my case I have only 1 external but I want to load
>>the correct one for OSX or Window.

___
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: Single File Deploy on Windows?

2017-04-04 Thread Paul Dupuis via use-livecode
Hi Dan,

That look to me like it should work. Here is my code below which does
work. That said, it works under 6.7.x and earlier. I have not tested my
code under LC7+. In my case I have only 1 external but I want to load
the correct one for OSX or Window.

The whole "put (there is a folder tExtFile) into tExtExists" is just a
safety check on someone removing the external or a failure of my
installer to install it.

on preOpenStack
   -- so substacks do not execute the code after this when opened
   if the owner of the target is not me then
  exit preOpenStack
   end if
   -- Load the XPDF Externals by loading an external stack, updating its
externals list, saving that stack and loading the stack
   put AppPath() into tExtPath
   switch the platform
  case "MacOS"
 put tExtPath & "XPDF.bundle" into tExtFile
 put (there is a folder tExtFile) into tExtExists
 break
  case "Win32"
 put tExtPath & "XPDF.dll" into tExtFile
 put (there is a file tExtFile) into tExtExists
 break
   end switch
   if (tExtExists is true)  then
  set the externals of the templateStack to tExtFile
  create invisible stack "XPDFViewer External Library"
  start using "XPDFViewer External Library"
   end if
 end preOpenStack

function AppPath
  put the fileName of me into tPath -- on OSX, file is report inside the
bundle /MyApp.app/Contents/MacOS/MyApp
  set the itemDel to slash
  if (the platform is "MacOS") AND ("dev" is not in the environment) then
get offset(".app/Contents/MacOS/",tPath)
if it > 0 then -- 'filename' returned path to executable in package
  delete char it to len(tPath) of tPath
end if
  end if
  delete last item of tPath
  if last char of tPath is not slash then put slash after tPath
  return tPath
end AppPath


On 4/4/2017 5:54 PM, Dan Friedman via use-livecode wrote:
> Paul,
>
> Thank you for the advice.  But, either it didn’t work, or I’m doing it wrong. 
>  Here’s what I did:
>
> on startUp
> new inv stack "myExternals"
> set the mainStack of stack "myExternals" to "myGreatApp"
> set the externals of stack "myExternals" to pExternals
>
> -- pExternals is a list of all the dll’s that LC created when the app was 
> built with all extensions selected:
> -- C:/Users/MyPC/aFolder/revpdfprinter.dll
> -- C:/Users/MyPC/aFolder/revsecurity.dll
> -- C:/Users/MyPC/aFolder/Externals/revbrowser.dll
> -- C:/Users/MyPC/aFolder/Externals/revzip.dll
> -- C:/Users/MyPC/aFolder/Externals/tsNet.dll
> -- C:/Users/MyPC/aFolder/Externals/CEF/dedcompiler_43.dll
> -- C:/Users/MyPC/aFolder/Externals/CEF/dedcompiler_47.dll
> -- C:/Users/MyPC/aFolder/Externals/CEF/libcef.dll
> -- C:/Users/MyPC/aFolder/Externals/CEF/libEGL.dll
> -- C:/Users/MyPC/aFolder/Externals/CEF/libEGLSv2.dll
>
> start using stack "myExternals"
> end startUp
>
> I checked the externals of stack “myExternals” and they are set correctly.
> I checked that “myExternals” is in the stacksInUse
>
> However, a simple “put url” doesn’t work.
>
> Sorry if I’m being stupid.
>
> -Dan
>
>
> Externals (.dll files that an a LC external) can be added to a created
> substack on startup by setting the externals of that new sustack to the
> approriate names and paths and then the substack started as a Library
> stack via 'start using' which will load the externals.
>
> ___
> 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: Single File Deploy on Windows?

2017-04-04 Thread Dan Friedman via use-livecode
Matthias,

Thank you, but I would like to use the new tsNet.  Just want to deploy a single 
file.  Can’t believe there isn’t a way to do that!?!

-Dan


> there is a way to use the old libURL instead of the new tsNet external…

___
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: Single File Deploy on Windows?

2017-04-04 Thread Dan Friedman via use-livecode
Paul,

Thank you for the advice.  But, either it didn’t work, or I’m doing it wrong.  
Here’s what I did:

on startUp
new inv stack "myExternals"
set the mainStack of stack "myExternals" to "myGreatApp"
set the externals of stack "myExternals" to pExternals

-- pExternals is a list of all the dll’s that LC created when the app was built 
with all extensions selected:
-- C:/Users/MyPC/aFolder/revpdfprinter.dll
-- C:/Users/MyPC/aFolder/revsecurity.dll
-- C:/Users/MyPC/aFolder/Externals/revbrowser.dll
-- C:/Users/MyPC/aFolder/Externals/revzip.dll
-- C:/Users/MyPC/aFolder/Externals/tsNet.dll
-- C:/Users/MyPC/aFolder/Externals/CEF/dedcompiler_43.dll
-- C:/Users/MyPC/aFolder/Externals/CEF/dedcompiler_47.dll
-- C:/Users/MyPC/aFolder/Externals/CEF/libcef.dll
-- C:/Users/MyPC/aFolder/Externals/CEF/libEGL.dll
-- C:/Users/MyPC/aFolder/Externals/CEF/libEGLSv2.dll

start using stack "myExternals"
end startUp

I checked the externals of stack “myExternals” and they are set correctly.
I checked that “myExternals” is in the stacksInUse

However, a simple “put url” doesn’t work.

Sorry if I’m being stupid.

-Dan


Externals (.dll files that an a LC external) can be added to a created
substack on startup by setting the externals of that new sustack to the
approriate names and paths and then the substack started as a Library
stack via 'start using' which will load the externals.

___
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: Single File Deploy on Windows?

2017-04-04 Thread Matthias Rebbe via use-livecode
Hi Dan,

there is a way to use the old libURL instead of the new tsNet external. If that 
is sufficient for you then you just have to unload the tsNet library before 
building the standalone.
To do this just execute this from within the message box:  

dispatch "revUnloadLibrary" to stack “tsNetLibURL”

If you have set the standalone settings  to automatically search for inclusion, 
then you´re done.
If you have set the inclusions manually you have to make sure that tsNet is not 
checked. 

If you now create a standalone the standard libURL library is used instead of 
tsNet. 


Regards,
Matthias


> Am 04.04.2017 um 19:29 schrieb Dan Friedman via use-livecode 
> mailto:use-livecode@lists.runrev.com>>:
> 
> Thank you everyone for your suggestions.  I’ve been doing it that way for 
> years (save the dll’s as needed at runtime).  The problem is that it seems 
> that an EXE made from LC 9.0 won’t even launch if you include any items 
> related to the internet (Broswer, Internet, SSL, etc) unless the tsNet.dll is 
> present and in the same directory as the exe.  Now, I can fool LC by 
> unchecking these items in the Inclusions panel.  Now the exe launches.  In my 
> “startup” script, I save the dll’s to disk (from custom props) which works 
> fine.   However, the exe errors when you try to access the internet.  Then I 
> thought that it doesn’t know they are there unless you set the externals of 
> the mainStack.  So, when the app launches, in the startup script, I set the 
> externals of the mainStack to the path to the DLLs, but it still fails.  Now 
> I am sad.
> 
> Any thoughts?
> 
> Also, what’s with this ginormous DLL “libcef.dll”?  It’s 47.5MB.  Anyone know 
> what that’s related to?
> 
> -Dan
> 
> ___
> 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: Single File Deploy on Windows?

2017-04-04 Thread Paul Dupuis via use-livecode
On 4/4/2017 3:57 PM, Dan Friedman via use-livecode wrote:
> Anyone have any insight?

Externals (.dll files that an a LC external) can be added to a created
substack on startup by setting the externals of that new sustack to the
approriate names and paths and then the substack started as a Library
stack via 'start using' which will load the externals.



___
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: Single File Deploy on Windows?

2017-04-04 Thread Dan Friedman via use-livecode
Ok, when we last left our hero….  I was able to save all the dlls and whatnot 
into custom properties and save them at app launch (exact same structure as 
when LC made them).  The problem is, the EXE doesn’t recognize that the dlls 
are in place.  How do you tell the exe that they are there and to use them?  I 
tried setting the externals of my mainStack to the paths of the new dlls, but 
that didn’t work.

Interestingly, I created a standalone of the app with all the inclusions and it 
runs fine.  But, when I check the externals of the mainStack (or any other 
stack) they are all empty.  ??How does a dll get referenced (and therefore 
used) in a Windows standalone made from LC 9?

Anyone have any insight?

-Dan


___
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: Single File Deploy on Windows?

2017-04-04 Thread Richard Gaskin via use-livecode

Dan Friedman wrote:
> Also, what’s with this ginormous DLL “libcef.dll”?  It’s 47.5MB.
> Anyone know what that’s related to?

It's the CEF browser engine used by the browser widget.

--
 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: Single File Deploy on Windows?

2017-04-04 Thread Dan Friedman via use-livecode
Thank you everyone for your suggestions.  I’ve been doing it that way for years 
(save the dll’s as needed at runtime).  The problem is that it seems that an 
EXE made from LC 9.0 won’t even launch if you include any items related to the 
internet (Broswer, Internet, SSL, etc) unless the tsNet.dll is present and in 
the same directory as the exe.  Now, I can fool LC by unchecking these items in 
the Inclusions panel.  Now the exe launches.  In my “startup” script, I save 
the dll’s to disk (from custom props) which works fine.   However, the exe 
errors when you try to access the internet.  Then I thought that it doesn’t 
know they are there unless you set the externals of the mainStack.  So, when 
the app launches, in the startup script, I set the externals of the mainStack 
to the path to the DLLs, but it still fails.  Now I am sad.

Any thoughts?

Also, what’s with this ginormous DLL “libcef.dll”?  It’s 47.5MB.  Anyone know 
what that’s related to?

-Dan

___
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: Single File Deploy on Windows?

2017-04-03 Thread Roger Eller via use-livecode
Can an empty file placeholder be created within preOpenStack, then extract
the real DLL when it is really needed?

On Apr 3, 2017 6:34 PM, "Dan Friedman via use-livecode" <
use-livecode@lists.runrev.com> wrote:

> So, I deliver a single file for my LC standalones on Windows.  Any
> required DLLs or other needed files are downloaded at runtime and put in
> place on launch.  However, in LC 9.0.0 it seems there is a dll, “tsNet.dll”
> that must be in place to even launch!  UG!!  Is there a way to deploy a
> Windows EXE that is a single file?   For god’s sake, please don’t make be
> use an installer!!
>
> -Dan
>
> ___
> 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: Single File Deploy on Windows?

2017-04-03 Thread Richard Gaskin via use-livecode

Dan Friedman wrote:

> So, I deliver a single file for my LC standalones on Windows.  Any
> required DLLs or other needed files are downloaded at runtime and put
> in place on launch.  However, in LC 9.0.0 it seems there is a dll,
> “tsNet.dll” that must be in place to even launch!  UG!!  Is there a
> way to deploy a Windows EXE that is a single file?   For god’s sake,
> please don’t make be use an installer!!

Long-term dream:  I would LOVE to see some way to embed externals within 
the executable file the way SuperCard does (no, SC doesn't use the 
resource fork; never did, everything is mapped in its data fork).  I'm 
not sure why we can't, since AFAIK the code within a DLL is what's 
important to LC, not necessarily that it exists in a physically separate 
file, no?  I long to be able to return to truly stand-alone standalones.


Short-term reality: You can download via HTTP/HTTPS using only libURL, 
no externals needed.  HTTPS will require the revSecurity DLL, but 
conceivably (as I've done on one project) you could download that via 
HTTP and then use it for anything needing HTTPS.


All that said, I think I've given up on the dream of stand-alone 
standalones, and have gotten back to finishing my installer. Drag.  I 
used to love sending people a single file they could just unzip-and-go.


--
 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

Single File Deploy on Windows?

2017-04-03 Thread Dan Friedman via use-livecode
So, I deliver a single file for my LC standalones on Windows.  Any required 
DLLs or other needed files are downloaded at runtime and put in place on 
launch.  However, in LC 9.0.0 it seems there is a dll, “tsNet.dll” that must be 
in place to even launch!  UG!!  Is there a way to deploy a Windows EXE that is 
a single file?   For god’s sake, please don’t make be use an installer!!

-Dan

___
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: deploy?

2017-02-23 Thread Monte Goulding via use-livecode

> On 24 Feb 2017, at 1:19 pm, Richard Gaskin via use-livecode 
>  wrote:
> 
> Sounds useful for automating build systems.  At least part of it is 
> documented in the latest Release Notes - where can I find the rest of the 
> docs on that?

It isn’t part of the engine I know much about nor am I sure if/where the 
documentation might be. You would probably be better working with standalone 
builder scripts to automate building anyway.

Have a look at the standalone builder tests for command line building 
https://github.com/livecode/livecode-ide/tree/develop/tests/standalonebuilder 

___
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: deploy?

2017-02-23 Thread Richard Gaskin via use-livecode

Monte Goulding wrote:

>> On 24 Feb 2017, at 12:51 pm, Richard Gaskin wrote:
>>
>> What's the "deploy" command?  It's not in the Dictionary.
>
> It’s an IDE only internal command for creating standalone engines.

Sounds useful for automating build systems.  At least part of it is 
documented in the latest Release Notes - where can I find the rest of 
the docs on that?


--
 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: deploy?

2017-02-23 Thread Monte Goulding via use-livecode
It’s an IDE only internal command for creating standalone engines.

> On 24 Feb 2017, at 12:51 pm, Richard Gaskin via use-livecode 
>  wrote:
> 
> The v9dp5 Release Notes include:
> 
>  Script-only deploy (9.0.0-dp-5)
>  It is now possible to use script-only stacks in the mainstack
>  and auxiliary stack parameters to the deploy command.
> 
> Sounds cool. What's the "deploy" command?  It's not in the Dictionary.
> 
> -- 
> 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

deploy?

2017-02-23 Thread Richard Gaskin via use-livecode

The v9dp5 Release Notes include:

  Script-only deploy (9.0.0-dp-5)
  It is now possible to use script-only stacks in the mainstack
  and auxiliary stack parameters to the deploy command.

Sounds cool. What's the "deploy" command?  It's not in the Dictionary.

--
 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: How to Deploy Apps to Android Devices

2015-07-21 Thread J. Landman Gay
On July 21, 2015 6:51:16 AM CDT, Jana Doughty  wrote:
>Hi LiveCode Community,
>
>Lots of you have asked about Android. Did you know you can deploy apps
>to
>Android Devices and it takes just one click?
>
>Here's how to do it and how to avoid errors in doing so:
>
>http://livecode.com/how-to-deploy-apps-to-android-devices/

Just excellent, thanks very much. This is exactly what we need, info that isn't 
explained anywhere else and which no one but the team knows. It would be great 
if this could be documented in a more permanent location in the IDE somewhere. 
-- 
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: How to Deploy Apps to Android Devices

2015-07-21 Thread Roger Eller
Excellent troubleshooting tips! Thank you Jana!


On Tue, Jul 21, 2015 at 7:51 AM, Jana Doughty 
wrote:

> Hi LiveCode Community,
>
> Lots of you have asked about Android. Did you know you can deploy apps to
> Android Devices and it takes just one click?
>
> Here's how to do it and how to avoid errors in doing so:
>
> http://livecode.com/how-to-deploy-apps-to-android-devices/
>
> Enjoy!
>
> Jana
>
>
> ___
> 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


How to Deploy Apps to Android Devices

2015-07-21 Thread Jana Doughty
Hi LiveCode Community,

Lots of you have asked about Android. Did you know you can deploy apps to
Android Devices and it takes just one click?

Here's how to do it and how to avoid errors in doing so:

http://livecode.com/how-to-deploy-apps-to-android-devices/

Enjoy!

Jana


___
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


Last Chance to Get VDN for 50% Off: Deploy Valentina Server to Your Customers

2015-02-16 Thread Lynn Fredricks
Hi all,

Our VDN special ends the end of today. Its 50% off VDN, our Oem'd server
that can be  bundled with your solutions (there's a native VCLIENT for
pulling data from LiveCode). The server serves both data and reports.

http://valentina-db.com/en/valentina-developer-network-overview

Best regards,

Lynn Fredricks
Paradigma Software
http://www.paradigmasoft.com

Valentina SQL Server: The Ultra-fast, Royalty Free Database Server 


___
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: May be OT: where is iOS 5.1 SDK and how can I deploy it?

2012-03-28 Thread Graham Samuel
Tom thanks - 

The charm of living in Europe and getting the LiveCode digest is that you wake 
up in the morning and someone has answered your question!  Sadly though in this 
case it doesn't work: when I do exactly what you suggest, LC pops up a dialog 
box which says:

"The chosen folder is not a valid iOS SDK for 5.0 or later. It must be one that 
ships with XCode 4.2 or later."

Actually it does it the first time, but after that it seems to accept it, but 
on trying to do 'Test' (i.e. run the Simulator), I get:

"unknown development platform"

This despite this version of XCode reporting itself as 4.3.2 and containing (as 
I suppose is normal) a folder called 'Contents' which itself many folders 
including one called 'Developer'. So I tried to copy all of this contents to a 
new folder in my Developer folder (how the heck this got populated in the 
previous version I can't remember, and I can't imagine why it doesn't just get 
updated during the download). This didn't work either, because LC wouldn't 
accept any of the stuff within the new folder or the new folder itself (it just 
wanted to keep on opening the folders without allowing me to choose one). If I 
left the thing pointing at my old 'Developer' folder, all I got was the 
previous stuff.

I am still totally puzzled. I was thinking of either downloading 4.3.2 again 
(although frankly I don't see what that would do) or writing to support - I 
have just composed a note to them as I have run out of ideas. If the reply is 
of general interest I will post it to the list. Meanwhile I will just carry on 
with iOS 5.0.

There must obviously be a difference between your setup and mine.

Thanks anyway for replying

Graham


On Tue, 27 Mar 2012 17:35:08 -0400, Thomas McGrath III  wrote:

> Graham,
> 
> Just point the top button in device preferences to the xCode.app in you 
> applications folder. That's it. It will find it itself.
> 
> 
> -- Tom McGrath III
> http://lazyriver.on-rev.com
> 3mcgr...@comcast.net
> 
> On Mar 27, 2012, at 3:39 PM, Graham Samuel wrote:
> 
>> As I have LC5.5, I downloaded Xcode 4.3.2 from Apple. It shows up in my 
>> Applications folder and I can run it, but it doesn't seem to have altered my 
>> Developer folder at all - all the file dates seem to be earlier, and there 
>> is no sign of the 5.1 SDK. The simulator there also seems to be 5.0.
>> 
>> When I open the LC mobile preferences, I am asked what version of XCode I'm 
>> running. If I answer "4.3" I am asked to point LC at the 4.3 App Bundle 
>> (this is the same as "location of developer root for iOS 5.0 and above" I 
>> think), but I can't find it. I thought it might be in the actual XCode app 
>> itself (of course this is really a folder), which naturally enough is in the 
>> Applications folder, but all I can point to is
>> 
>> /Applications/Xcode.app/Contents/Developer
>> 
>> which results in "unknown deployment platform" when I try to test an app. If 
>> I actually look at the contents of the XCode application folder with the 
>> Finder, it does seem to have everything I need, including a new SDK and a 
>> new simulator, but I don't know what to do to tell LC to look for it (I 
>> suppose I could copy everything which  has the same name as the stuff in my 
>> current Developer folder so as to replace it, but I am not keen to try this).
>> 
>> I am totally at sea and so far have not found any documentation to help me. 
>> Can anyone point me in the right direction. I'd be more than grateful.
>> 
>> Confused
>> 
>> Graham

___
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: May be OT: where is iOS 5.1 SDK and how can I deploy it?

2012-03-27 Thread Thomas McGrath III
Graham,

Just point the top button in device preferences to the xCode.app in you 
applications folder. That's it. It will find it itself.


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Mar 27, 2012, at 3:39 PM, Graham Samuel wrote:

> As I have LC5.5, I downloaded Xcode 4.3.2 from Apple. It shows up in my 
> Applications folder and I can run it, but it doesn't seem to have altered my 
> Developer folder at all - all the file dates seem to be earlier, and there is 
> no sign of the 5.1 SDK. The simulator there also seems to be 5.0.
> 
> When I open the LC mobile preferences, I am asked what version of XCode I'm 
> running. If I answer "4.3" I am asked to point LC at the 4.3 App Bundle (this 
> is the same as "location of developer root for iOS 5.0 and above" I think), 
> but I can't find it. I thought it might be in the actual XCode app itself (of 
> course this is really a folder), which naturally enough is in the 
> Applications folder, but all I can point to is
> 
> /Applications/Xcode.app/Contents/Developer
> 
> which results in "unknown deployment platform" when I try to test an app. If 
> I actually look at the contents of the XCode application folder with the 
> Finder, it does seem to have everything I need, including a new SDK and a new 
> simulator, but I don't know what to do to tell LC to look for it (I suppose I 
> could copy everything which  has the same name as the stuff in my current 
> Developer folder so as to replace it, but I am not keen to try this).
> 
> I am totally at sea and so far have not found any documentation to help me. 
> Can anyone point me in the right direction. I'd be more than grateful.
> 
> Confused
> 
> Graham
> 
> 
> ___
> 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


May be OT: where is iOS 5.1 SDK and how can I deploy it?

2012-03-27 Thread Graham Samuel
As I have LC5.5, I downloaded Xcode 4.3.2 from Apple. It shows up in my 
Applications folder and I can run it, but it doesn't seem to have altered my 
Developer folder at all - all the file dates seem to be earlier, and there is 
no sign of the 5.1 SDK. The simulator there also seems to be 5.0.

When I open the LC mobile preferences, I am asked what version of XCode I'm 
running. If I answer "4.3" I am asked to point LC at the 4.3 App Bundle (this 
is the same as "location of developer root for iOS 5.0 and above" I think), but 
I can't find it. I thought it might be in the actual XCode app itself (of 
course this is really a folder), which naturally enough is in the Applications 
folder, but all I can point to is

/Applications/Xcode.app/Contents/Developer

which results in "unknown deployment platform" when I try to test an app. If I 
actually look at the contents of the XCode application folder with the Finder, 
it does seem to have everything I need, including a new SDK and a new 
simulator, but I don't know what to do to tell LC to look for it (I suppose I 
could copy everything which  has the same name as the stuff in my current 
Developer folder so as to replace it, but I am not keen to try this).

I am totally at sea and so far have not found any documentation to help me. Can 
anyone point me in the right direction. I'd be more than grateful.

Confused

Graham


___
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: How to develop and deploy with ListMagic within the GLX application framework?

2011-03-08 Thread zryip theSlug
On Mon, Mar 7, 2011 at 11:55 AM, Keith Clarke
 wrote:

Hi Keith,

> Great lesson - I have a checkbox in a cell. I did have to divert from your 
> lesson slightly. So, below are the additional steps that I took - just in 
> case you want to update your lesson for the following scenario...
>
> I wanted a row 'Select' column of (just) checkboxes, centrally aligned under 
> the Select column heading. To:
>
> 1. Hide the checkbox name, clear the checkbox control's Basic Properties 
> 'Show name' checkbox
> 2. Align the checkbox centrally within the column's cell, simply drag the 
> checkbox control around in the DGH Column Builder's 'Column Content' view - 
> to over the middle of the underlying _ColumnData_ control, as shown here 
> http://dl.dropbox.com/u/1909531/checkbox%20in%20DGH%20cell.png
>
> It works, though I'm not sure if it's best practice?!?

You are right. By keeping the "_ColumnData_" field you will be able to
center the checkbox "by hand" in the column.
When the column has not this field, the check box is drawn on the left
of the column.
So it is the best way to come if you not want to script the position
of the button in the layoutControl handler of the column script.

I'm going to update the lesson according to your observation. Thanks!

>
> BTW For this list, I want these Row-Select checkboxes to be 
> mutually-exclusive - so that if one is set to true, those in all other rows 
> are cleared. Where should I place such a script - against the _ColumnData_ 
> object or the data grid group level?
> Best,
> Keith..


Best,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc

___
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: How to develop and deploy with ListMagic within the GLX application framework?

2011-03-07 Thread Keith Clarke
...with Pete's help I've backed-off the embedded controls within a data grid 
table for now - my brain's hurting enough, already!

On 7 Mar 2011, at 17:24, Bob Sneidar wrote:

> I believe you will need to use form style datagrids then, I'm sure you know. 
> I have no experience in those, but at some point I will want to jump in 
> because the notion of checkboxes in a table are very appealing to what I am 
> going to be doing later on. 
> 
> Bob
> 
> 
> On Mar 5, 2011, at 12:35 AM, Keith Clarke wrote:
> 
>> ...thanks Bob - very useful stuff - and I'll definitely be referencing this 
>> as I work through the lessons again and DGH documentation. 
>> 
>> However, before I get to manipulating data, I need to learn how to use 
>> non-data UI elements within data grids - to replicate ListMagic's row-select 
>> checkboxes.
> 
> 
> ___
> 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: How to develop and deploy with ListMagic within the GLX application framework?

2011-03-07 Thread Bob Sneidar
I believe you will need to use form style datagrids then, I'm sure you know. I 
have no experience in those, but at some point I will want to jump in because 
the notion of checkboxes in a table are very appealing to what I am going to be 
doing later on. 

Bob


On Mar 5, 2011, at 12:35 AM, Keith Clarke wrote:

> ...thanks Bob - very useful stuff - and I'll definitely be referencing this 
> as I work through the lessons again and DGH documentation. 
> 
> However, before I get to manipulating data, I need to learn how to use 
> non-data UI elements within data grids - to replicate ListMagic's row-select 
> checkboxes.


___
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: How to develop and deploy with ListMagic within the GLX application framework?

2011-03-07 Thread Keith Clarke
You read my mind, Sir. I was just defining the pair of buttons under the 
simplified data grid as your post popped into my inbox! :-)

On 7 Mar 2011, at 16:45, Peter Haworth wrote:

> No problem Keith.  Also saw your other post about a button in the datagrid. 
> Once again, it might be worth considering a combination of the dghilitedline 
> and one button outside the datagrid that would launch your processing of the 
> currently selected datagrid row.  I have some code I use that floats a button 
> next to whatever row the user clicks on so it's right next to their selected 
> line, but a static button works too..
> 
> Hope that helps.  
> 
> Pete Haworth


___
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: How to develop and deploy with ListMagic within the GLX application framework?

2011-03-07 Thread Peter Haworth
No problem Keith.  Also saw your other post about a button in the datagrid. 
Once again, it might be worth considering a combination of the dghilitedline 
and one button outside the datagrid that would launch your processing of the 
currently selected datagrid row.  I have some code I use that floats a button 
next to whatever row the user clicks on so it's right next to their selected 
line, but a static button works too..

Hope that helps.  

Pete Haworth


On Mar 7, 2011, at 8:32 AM, Keith Clarke wrote:

> Hi Peter,
> Thanks for the tip and for reframing the problem to provide mutually 
> exclusive row selection, without the complexity of dealing with the checkbox. 
> Nice! :-)
> Best,
> Keith..
> 
> On 7 Mar 2011, at 16:22, Peter Haworth wrote:
> 
>> Hi Keith,
>> You might want to consider another approach than checkboxes in this 
>> situation, depending on what you want to do with the checked row.  If you 
>> just want to carry out some processing on the data in the selected row, you 
>> can use the dghilitedline property of the datagrid to find out which row the 
>> user has clicked on and take whatever action you want.  Make sure the 
>> multiple lines property  for the datagrid is not selected and use the 
>> selectionChanged event to check the dghilitedline.  If there are multiple 
>> things you might want to do with the selected row, use a popup menu 
>> activated by a right click (more complicated).
>> 
>> Pete Haworth
>> 
>> On Mar 7, 2011, at 2:55 AM, Keith Clarke wrote:
>> 
>>> BTW For this list, I want these Row-Select checkboxes to be 
>>> mutually-exclusive - so that if one is set to true, those in all other rows 
>>> are cleared. Where should I place such a script - against the _ColumnData_ 
>>> object or the data grid group level?
>> 
>> 
>> ___
>> 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: How to develop and deploy with ListMagic within the GLX application framework?

2011-03-07 Thread Keith Clarke
Hi Peter,
Thanks for the tip and for reframing the problem to provide mutually exclusive 
row selection, without the complexity of dealing with the checkbox. Nice! :-)
Best,
Keith..
 
On 7 Mar 2011, at 16:22, Peter Haworth wrote:

> Hi Keith,
> You might want to consider another approach than checkboxes in this 
> situation, depending on what you want to do with the checked row.  If you 
> just want to carry out some processing on the data in the selected row, you 
> can use the dghilitedline property of the datagrid to find out which row the 
> user has clicked on and take whatever action you want.  Make sure the 
> multiple lines property  for the datagrid is not selected and use the 
> selectionChanged event to check the dghilitedline.  If there are multiple 
> things you might want to do with the selected row, use a popup menu activated 
> by a right click (more complicated).
> 
> Pete Haworth
> 
> On Mar 7, 2011, at 2:55 AM, Keith Clarke wrote:
> 
>> BTW For this list, I want these Row-Select checkboxes to be 
>> mutually-exclusive - so that if one is set to true, those in all other rows 
>> are cleared. Where should I place such a script - against the _ColumnData_ 
>> object or the data grid group level?
> 
> 
> ___
> 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: How to develop and deploy with ListMagic within the GLX application framework?

2011-03-07 Thread Peter Haworth
Hi Keith,
You might want to consider another approach than checkboxes in this situation, 
depending on what you want to do with the checked row.  If you just want to 
carry out some processing on the data in the selected row, you can use the 
dghilitedline property of the datagrid to find out which row the user has 
clicked on and take whatever action you want.  Make sure the multiple lines 
property  for the datagrid is not selected and use the selectionChanged event 
to check the dghilitedline.  If there are multiple things you might want to do 
with the selected row, use a popup menu activated by a right click (more 
complicated).

Pete Haworth

On Mar 7, 2011, at 2:55 AM, Keith Clarke wrote:

> BTW For this list, I want these Row-Select checkboxes to be 
> mutually-exclusive - so that if one is set to true, those in all other rows 
> are cleared. Where should I place such a script - against the _ColumnData_ 
> object or the data grid group level?


___
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: How to develop and deploy with ListMagic within the GLX application framework?

2011-03-07 Thread william humphrey
I have to chime in here too. I love listMagic but it isn't compatible with
Remo. The library for listMagic freezes a quit from your app when your
running Remo. The only real solution would be for the listMagic folks to
release it's library unlocked (probably not  ever happen) so I'm gradually
replacing all my listMagic objects with datagrids too and I recommend the
same for everyone.
___
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: How to develop and deploy with ListMagic within the GLX application framework?

2011-03-07 Thread Keith Clarke
Hi Zryip,
Great lesson - I have a checkbox in a cell. I did have to divert from your 
lesson slightly. So, below are the additional steps that I took - just in case 
you want to update your lesson for the following scenario...

I wanted a row 'Select' column of (just) checkboxes, centrally aligned under 
the Select column heading. To:

1. Hide the checkbox name, clear the checkbox control's Basic Properties 'Show 
name' checkbox
2. Align the checkbox centrally within the column's cell, simply drag the 
checkbox control around in the DGH Column Builder's 'Column Content' view - to 
over the middle of the underlying _ColumnData_ control, as shown here 
http://dl.dropbox.com/u/1909531/checkbox%20in%20DGH%20cell.png  

It works, though I'm not sure if it's best practice?!?

BTW For this list, I want these Row-Select checkboxes to be mutually-exclusive 
- so that if one is set to true, those in all other rows are cleared. Where 
should I place such a script - against the _ColumnData_ object or the data grid 
group level?
Best,
Keith..

On 7 Mar 2011, at 07:46, Keith Clarke wrote:
> Don't go thinking that this has exhausted my list of questions on DG/DGH 
> though! ;-)


___
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: How to develop and deploy with ListMagic within the GLX application framework?

2011-03-06 Thread Keith Clarke
Hi Zryip,
Thanks for the lesson - very timely!

And you have anticipated my follow-up question which was to be how to embed a 
button within a row - brilliant!

Don't go thinking that this has exhausted my list of questions on DG/DGH 
though! ;-)
Best,
Keith..
 
On 6 Mar 2011, at 22:53, zryip theSlug wrote:

> It was the good occasion to write our first lesson presenting how to
> create a checkbox in a data grid using the DGH plugin:
> 
> http://lessons.runrev.com/spaces/lessons/manuals/3060/lessons/28472-How-Do-I-Create-a-Checkbox-in-a-Column-
> 
> 
> Best regards,
> -- 
> -Zryip TheSlug- wish you the best! 8)
> http://www.aslugontheroad.co.cc


___
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: How to develop and deploy with ListMagic within the GLX application framework?

2011-03-06 Thread zryip theSlug
On Sat, Mar 5, 2011 at 9:35 AM, Keith Clarke
 wrote:
> ...thanks Bob - very useful stuff - and I'll definitely be referencing this 
> as I work through the lessons again and DGH documentation.
>
> However, before I get to manipulating data, I need to learn how to use 
> non-data UI elements within data grids - to replicate ListMagic's row-select 
> checkboxes.

Hi Keith,

It was the good occasion to write our first lesson presenting how to
create a checkbox in a data grid using the DGH plugin:

http://lessons.runrev.com/spaces/lessons/manuals/3060/lessons/28472-How-Do-I-Create-a-Checkbox-in-a-Column-


Best regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc

___
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: How to develop and deploy with ListMagic within the GLX application framework?

2011-03-05 Thread Keith Clarke
...thanks Bob - very useful stuff - and I'll definitely be referencing this as 
I work through the lessons again and DGH documentation. 

However, before I get to manipulating data, I need to learn how to use non-data 
UI elements within data grids - to replicate ListMagic's row-select checkboxes.

On 4 Mar 2011, at 18:24, Bob Sneidar wrote:

> What really helped me take hold of the reigns of datagrids is the notion of 
> getting the index (or line) of a data control, getting the array associated 
> with that line, altering the array, and then setting the array in the 
> datagrid when I was done. 


___
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: How to develop and deploy with ListMagic within the GLX application framework?

2011-03-04 Thread Bob Sneidar
What really helped me take hold of the reigns of datagrids is the notion of 
getting the index (or line) of a data control, getting the array associated 
with that line, altering the array, and then setting the array in the datagrid 
when I was done. 

This process is actually quite simple. Lets say a user clicked on a line in a 
table form and you want to process it somehow. Consider the following:

put the dgHilitedIndex of group "myDataGrid" into theIndexNumber -- a 
number referencing the row array

if theIndexNumber is empty then  -- nothing selected
exit mouseUp
end if

put the dgDataOfIndex[theIndexNumber] of group "myDataGrid" into aMyData -- 
an array
put aMyData["column1"] into theFirstValue -- a value. column1 is the actual 
name of your column. 
put aMyData["column2"] into theSecondValue
put aMyData["column3"] into theThirdValue

Now go do some stuff with the data, and when you are done: 

put theFirstValue aMyData["column1"] into aMyData["column1"]
put theSecondValue aMyData["column2"] into aMyData["column2"]
put theThirdValue aMyData["column3"] into aMyData["column3"]
set the dgDataOfIndex[theIndexNumber] of group "myDataGrid" to aMyData -- 
update the row

Sometimes it is easier to work with the data grid data as a chunk of text:

put the dgtext ["false"] of group "myDataGrid" into theGridData -- tab/cr 
delimited list

false means the first row does not contain the column names. In this mode it 
will simply use the position of the column as the index to the data in the 
column. If you use true, then the first line of your text needs to be the 
column names. This can be handy when you want to update only certain columns 
but leave the others intact. When done processing: 

set the dgtext ["false"] of group "myDataGrid" to theGridData -- put the 
data back

While the Datagrid tutorial and API is very useful, and I recommend it for the 
first time use of data grids, it doesn't actually list everything you can do 
with a datagrid. To see all the commands and functions available to the data 
grid, issue this command:

edit the script of the behavior of group "myDataGrid". 

Simple huh? What would be nice is if I could pass the column names off to 
dgText so that I only got the columns I wanted. The beauty is though, that I 
can copy the behavior scripts to a new button, set the behavior of the datagrid 
to that button, and then make it do things the way I want to. 

Bob


On Mar 4, 2011, at 8:34 AM, Keith Clarke wrote:

> Hi Trevor,
> Thanks for confirming that this behaviour is not coming from the GLX 
> framework. 
> Maybe it's time to bite the bullet and replace my simple ListMagic controls 
> with data grids - and learn how to drive them and DGH properly! ;-)  


___
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: How to develop and deploy with ListMagic within the GLX application framework?

2011-03-04 Thread Keith Clarke
Hi Trevor,
Thanks for confirming that this behaviour is not coming from the GLX framework. 
Maybe it's time to bite the bullet and replace my simple ListMagic controls 
with data grids - and learn how to drive them and DGH properly! ;-)  

On 4 Mar 2011, at 15:25, Trevor DeVore wrote:

> The framework never tries to visually open (using 'go stack') any stacks
> that you add to it. It only loads the stack files into memory by executing
> the following code:
> 
> if there is a stack PATH_TO_STACK_FILE...
> 
> If a stack file is marked as being a library then the framework will also
> issue the "start using" command for the stack and substacks in the stack
> file.
> 
> There must be some code somewhere else that is opening the window (either in
> the ListMagic code or your code).


___
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: How to develop and deploy with ListMagic within the GLX application framework?

2011-03-04 Thread Trevor DeVore
On Fri, Mar 4, 2011 at 7:07 AM, Keith Clarke <
keith.cla...@clarkeandclarke.co.uk> wrote:

> Is there a trick to have the GLX application framework launcher load
> ListMagic in the background but not open its admin window?
>
> If ListMagic.rev isn't open whilst working on my app in the IDE, debug
> errors are thrown when the mouse enters any ListMagic fields. So, I've added
> ListMagic to the GLX Application configuration as a stack, with 'Required'
> and 'Load at Startup' set to prevent the debug errors. However, as ListMagic
> has substacks, it has to be loaded as a Window, which mean that the
> ListMagic configuration window opens.
>

Keith,

The framework never tries to visually open (using 'go stack') any stacks
that you add to it. It only loads the stack files into memory by executing
the following code:

if there is a stack PATH_TO_STACK_FILE...

If a stack file is marked as being a library then the framework will also
issue the "start using" command for the stack and substacks in the stack
file.

There must be some code somewhere else that is opening the window (either in
the ListMagic code or your code).

-- 

Trevor DeVore

Blue Mango Learning Systems

ScreenSteps: http://www.screensteps.com

LiveCode Resources for Developers: http://livecode.bluemangolearning.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


How to develop and deploy with ListMagic within the GLX application framework?

2011-03-04 Thread Keith Clarke
Hi folks,
Is there a trick to have the GLX application framework launcher load ListMagic 
in the background but not open its admin window?  

If ListMagic.rev isn't open whilst working on my app in the IDE, debug errors 
are thrown when the mouse enters any ListMagic fields. So, I've added ListMagic 
to the GLX Application configuration as a stack, with 'Required' and 'Load at 
Startup' set to prevent the debug errors. However, as ListMagic has substacks, 
it has to be loaded as a Window, which mean that the ListMagic configuration 
window opens.

This is an inconvenience during development but I need to prevent this once the 
app gets deployed as a stand-alone.

What am I missing here?
Best,
Keith..


___
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


How server deploy works?

2010-12-01 Thread Giuseppe Luigi Punzi
Hi,

How exactly Server deploy works?

I understand there are a server thath interprets irev files like PHP
does, but...

If I do a web application, and I sell this application to various
customers, I need to buy server license for each server? or once I have
Server deploy bouht, I can deploy as far as I want?

Cheers.
___
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