Re: Need help with a project

2018-06-18 Thread Lagi Pittas via use-livecode
HI Peter,

The fact that it is a subscription system is the best protection you have.
Use the simplest protection that will tell you if the system has been
"pirated" - simple encryption of the company/institution address/details
for instance. Don't allow them to change the address/telephone number etc
in the program - so they have to "patch" the exe. When you notice this has
happened (5 lines of code) set a timer.
In 8 Months time you have a screen that comes up at boot time that says
"Problem with your program please call  before any lasting damage is done"
at -xxx-". If they don't call in say a month the program stops
working with your number on the front screen and How they can get a legal
copy".

Sage Payroll used to not protect their payroll, so come April when rates
changed, Sage always Got (gets?) a spike in sales - No questions asked as
long as the user can transfer his data from the "pirated" version.   The
people who will buy your program will buy it - the people who will copy
your program will copy it anyway - you didn't lose a sale you got free
advertising. How do you think microsoft replaced Lotus 123 - they removed
protection from Office then gave a £90 upgrade from any version (even non
legal version) after a couple of years.

Making your program indispensable (without too many barriers) to your
paying customers is the best way of building a loyal customer base.

Save yourself a lot of time hassle and money and make the subscription/name
the protection

My 2 pence worth

Lagi

p.s. If it can be read it can be broken

A 5 minute google search and a bit of memory 
You'll be glad to hear no decompilers for Livecode - we are not on the
radar.

// If you lose your sourcecode in the future .
http://www.javadecompilers.com/
https://forum.xda-developers.com/android/software-hacking/tool-apk-easy-tool-v1-02-windows-gui-t960
https://www.yeahhub.com/best-19-tools-used-reverse-engineering-2018-update/
http://www.refox.net/
http://www.iphonehacks.com/2018/05/ios-11-3-1-jailbreak-updates.html
http://www.decompiler.net/
https://www.vb-decompiler.org/
https://www.thoughtco.com/decompiling-delphi-1-3-1057974
http://www.dvdsmith.com/remove-sony-arccos-protection.html
https://www.roojs.com/blog.php/View/117/Recovering_encoded_php_files.html

//Even hardware dongles are not immune
https://www.brstudio.com/dongles/deskey-dk2-dk3-dongle-emulator/
http://www.dongleservice.com/dongle-bypass.phtml




On Fri, 15 Jun 2018 at 02:08, Peter Bogdanoff via use-livecode <
use-livecode@lists.runrev.com> wrote:

> > you want to include some of the advanced capabilities like restricted
> trial,
> Yes, I do want to use advanced capabilities.
>
> > Does it just wrap the executable or does it encapsulate the entire
> directory?
> It can do either.
>
> I am using pw protection on all stacks, which is is working well. More
> important is the license activation and management because it is a
> subscription product—there is a single version which has a free, limited
> status or a full, paid status—the program needs the capability to shift to
> either. Also I need to control the installations of the program. It will be
> used in educational institutions, by individuals, sometimes in iffy
> locations (China) where I need to minimize piracy.
>
> Peter
>
>
> > On Jun 14, 2018, at 4:23 PM, Brian Milby via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Are you saying that you have the standard mode working but you want to
> include some of the advanced capabilities like restricted trial, etc?
> >
> > Does it just wrap the executable or does it encapsulate the entire
> directory? I’m assuming you have decided that the password protection of
> the stack isn’t sufficient.
> >
> > Brian
> > On Jun 14, 2018, 4:28 PM -0500, Peter Bogdanoff via use-livecode <
> use-livecode@lists.runrev.com>, wrote:
> >> Hi,
> >>
> >> I’m working on a project that we are getting ready to publish as a
> desktop application for Mac and Windows.
> >>
> >> It is content heavy and I'm wanting to protect it, and am using a
> product called SoftwareShield/GameShield:
> >>
> >> http://softwareshield.com 
> >> http://gameshield.com 
> >>
> >> It puts a wrapping around the executable and offers license management
> that works well in its basic form. There are more advanced features that I
> want to take advantage of that seem to go beyond the capabilities of
> LiveCode script and my own personal abilities. It seems that LiveCode can
> work with SoftwareShield, but I don’t know where to begin, nor can I
> program anything besides LiveCode script.
> >>
> >> This is an example of where I get lost about figuring out how to
> progress:
> >>
> >> "Because the kernel of SoftwareShield is developed in C++ and the
> gsCore exposes flat API in standard way, any language (such as Object-C,
> Java, NodeJS, Perl, Python, etc.) that can make api call to Windows DLL or
> MacOS dylib can integrated wi

Re: Need help with a project

2018-06-18 Thread Lagi Pittas via use-livecode
Hi

Just to be clear - Time trials and demos are a good use of this program -
It was the "copy protection" I was referring to

Lagi

On Fri, 15 Jun 2018 at 02:24, Peter Bogdanoff via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Also, I want to add this: Yummy Interactive who is behind SoftwareShield
> has responded to my tech support questions about what to do, but I’m
> somewhat flummoxed with their responses. They assume I have more technical
> chops. This is the kind of thing:
>
> > 1. Is it possible to create a project that allows a user to have
> “unlimited” use for two weeks, then reverts to a “limited” version? Does
> this require use of a generated serial number, and an entity on your server?
> >
> >
> > The requirement can be implemented as following:
> >
> > (1) create a project, the default/first entity's license model is
> "Expire By Period" (
> http://doc.softwareshield.com/UG/license_action.html#expire-by-period <
> http://doc.softwareshield.com/UG/license_action.html#expire-by-period>)
> license model, set the periodInSeconds to 1209600 (two weeks).
> >
> > (2) in your app code, checks if the entity status is expired, run app in
> "unlimited" mode if not, switch to "limited" mode if expired.
> >
> >
> >
> > if (entity->isLocked()){
> >   //this entity is locked or trial already expired.
> >   //we may pop up info to prompt for purchase.
> >   run_in_limited_mode();
> > } else {
> >   //this entity still in two-weeks trial period
> >   run_in_unlimited_mode();
> > }
> >
> >   please refer to (http://doc.softwareshield.com/PG/index.html#pg_index
> ) for SDK
> programming.
> >
> > (3) use the license model's action ACT_SET_EXPIRE_PERIOD /
> ACT_ADD_EXPIRE_PERIOD (
> http://doc.softwareshield.com/UG/license_action.html#act_set_expire_period
> <
> http://doc.softwareshield.com/UG/license_action.html#act_set_expire_period>)
> to manipulate the customer's trial period. Basically it means you create
> serial numbers (with ACT_XXX_EXPIRE_PERIOD) on our web portal, send a
> serial number to the customer after payment, the user input the serial
> number on the license UI page so the app can run in "unlimited" mode again.
> >
>
>
>
>
>
> ___
> 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] This Week in LiveCode 133

2018-06-18 Thread panagiotis merakos via use-livecode
Hi all,

Read about new developments in LiveCode open source and the open source
community in today's edition of the "This Week in LiveCode" newsletter!

Read issue #133 here: https://goo.gl/JLuWLG

This is a weekly newsletter about LiveCode, focussing on what's been
going on in and around the open source project. New issues will be
released weekly on Mondays. We have a dedicated mailing list that will
deliver each issue directly to you e-mail, so you don't miss any!

If you have anything you'd like mentioned (a project, a discussion
somewhere, an upcoming event) then please get in touch.


-- 
Panagiotis Merakos 
LiveCode Software Developer

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: 8.1.10 Reporting the ScreenSize of a iPhone7: 0,0,375,667

2018-06-18 Thread Sannyasin Brahmanathaswami via use-livecode
Well, the problem is the SA builder in 8.1.10 does not has a "slot" for iPhone 
7+

I wonder if I can add it after the SA is built...

I will definitely check out your stack.

BR 


 

On 6/17/18, 6:28 PM, "use-livecode on behalf of Brian Milby via use-livecode" 
 wrote:

For iOS, you must have a splash screen image for every native resolution
that you need to access.  If you don't have a 7+ splash, then you won't get
a true 7+ rect.  What happens is that automatic scaling kicks in at the
device level, so your stack only gets one of the splash images sizes.  So,
the app is telling the phone what resolutions it supports via those splash
screens and then the OS is adjusting to ensure that the full screen gets
used.

You can download my mobileProfile demo stack from the forum.  It uses
profiles and GM to take care of resize when device rotates.  You can do it
without profiles/GM, but it would at least let you see how it can work.

http://forums.livecode.com/viewtopic.php?f=7&t=30018

One note is that GM/PM both work on mobile now without having to manually
include any code (common library didn't get included when the post was
written).

I have not looked at this code in a while though.

Thanks,
Brian

On Sun, Jun 17, 2018 at 10:03 PM, Sannyasin Brahmanathaswami via
use-livecode  wrote:

> [my early post in pending due to length. I put the stack script in it.
> Better to give the stack}
>
> Hmm. Trying to a little responsive design (works on any device/mobile
> screen size)
>
> 1) Make a very stack with a widget "body" as browser that fill the whole
> screen but for 50 at the bottom
> 2) Fill the whole screen -50 at the bottom for a navigation/tool  - group
> "footer"
>
> But we the need to hide the group footer when they turn in landscape.
> (for view full screen video)
> And show it again when when orientationChanges to Portrait.
>
> Just winging it, first time try to do this, no doubt all my methods need a
> lot helps,  (missing the proper way to use resize and the browser widget
> does not turn)
>
> But, first problem :
>
> I get a screenRect 0,0,375,667 on an iPhone 7+ and there is no way I can
> add 7+ screen…
>
> Thanks, Apple!  (can't report screenrect from the hardware) They depend on
> the splash screens, so I been told.
>
> What to do?
>
> And, all of the code in the stack script
>
> Available here (39k)
>
> Go stack url "http://wiki.hindu.org/uploads/BrowserLandscapeTest.livecode";
>
> Brahmanathaswami
>
> PS. If one can tell me where to "resize" message. … I have been staying
> away from that for years!
>
>
> ___
> 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: 8.1.10 Reporting the ScreenSize of a iPhone7: 0,0,375,667

2018-06-18 Thread Randy Hengst via use-livecode
Hi BR,

The iPhone 6 screen is the same size as the 7. I load a splash screen at 
750x1134.

be well,
randy
-
> On Jun 18, 2018, at 9:05 AM, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> Well, the problem is the SA builder in 8.1.10 does not has a "slot" for 
> iPhone 7+
> 
> I wonder if I can add it after the SA is built...
> 
> I will definitely check out your stack.
> 
> BR 
> 
> 
> 
> 
> On 6/17/18, 6:28 PM, "use-livecode on behalf of Brian Milby via 
> use-livecode"  use-livecode@lists.runrev.com> wrote:
> 
>For iOS, you must have a splash screen image for every native resolution
>that you need to access.  If you don't have a 7+ splash, then you won't get
>a true 7+ rect.  What happens is that automatic scaling kicks in at the
>device level, so your stack only gets one of the splash images sizes.  So,
>the app is telling the phone what resolutions it supports via those splash
>screens and then the OS is adjusting to ensure that the full screen gets
>used.
> 
>You can download my mobileProfile demo stack from the forum.  It uses
>profiles and GM to take care of resize when device rotates.  You can do it
>without profiles/GM, but it would at least let you see how it can work.
> 
>http://forums.livecode.com/viewtopic.php?f=7&t=30018
> 
>One note is that GM/PM both work on mobile now without having to manually
>include any code (common library didn't get included when the post was
>written).
> 
>I have not looked at this code in a while though.
> 
>Thanks,
>Brian
> 
>On Sun, Jun 17, 2018 at 10:03 PM, Sannyasin Brahmanathaswami via
>use-livecode  wrote:
> 
>> [my early post in pending due to length. I put the stack script in it.
>> Better to give the stack}
>> 
>> Hmm. Trying to a little responsive design (works on any device/mobile
>> screen size)
>> 
>> 1) Make a very stack with a widget "body" as browser that fill the whole
>> screen but for 50 at the bottom
>> 2) Fill the whole screen -50 at the bottom for a navigation/tool  - group
>> "footer"
>> 
>> But we the need to hide the group footer when they turn in landscape.
>> (for view full screen video)
>> And show it again when when orientationChanges to Portrait.
>> 
>> Just winging it, first time try to do this, no doubt all my methods need a
>> lot helps,  (missing the proper way to use resize and the browser widget
>> does not turn)
>> 
>> But, first problem :
>> 
>> I get a screenRect 0,0,375,667 on an iPhone 7+ and there is no way I can
>> add 7+ screen…
>> 
>> Thanks, Apple!  (can't report screenrect from the hardware) They depend on
>> the splash screens, so I been told.
>> 
>> What to do?
>> 
>> And, all of the code in the stack script
>> 
>> Available here (39k)
>> 
>> Go stack url "http://wiki.hindu.org/uploads/BrowserLandscapeTest.livecode";
>> 
>> Brahmanathaswami
>> 
>> PS. If one can tell me where to "resize" message. … I have been staying
>> away from that for years!
>> 
>> 
>> ___
>> 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

Re: Listfield Questions

2018-06-18 Thread Sannyasin Brahmanathaswami via use-livecode
More ideas/solution. 

 ON arrowkey
  send postImage to me in 0 seconds
  pass arrowkey
END arrowkey


ON postImage
  put the hilitedline of fld "FileList" into gLastLine 
  put the hilitedtext of fld "FileList"into fld "currentImage"
  showPhoto (the hilitedtext of fld "FileList") 
END postImage


ON  mouseUp #in case you want to options
   IF (the hilite of btn "Reorder") THEN 
  put word 2 of the clickline into gCapWriterLastLineHandled
   end if
   IF the optionkey = "down" THEN 
  answer "Are you sure you want to delete" && the clicktext & "?" with 
"delete" and "no"
  if it is "no" then
 exit to top
  end if
  delete file (gCurrentSlideShowFolder& the clicktext)
  delete file (gCurrentSlideShowFolder & "/thumb/" & the clicktext)
  buildList gCurrentSlideShowFolder
  exit MouseUp
   END IF
   put the hilitedline of me into gLastLine
   showPhoto the clicktext
END mouseup



Brahmanathaswami
 

On 6/15/18, 6:31 PM, "use-livecode on behalf of Charles Szasz via 
use-livecode"  wrote:

Thanks Richard for your help. Unfortunately, using keyboard arrow keys may 
hilite a line but it does not put a value associated with the line into an 
input field.  



___
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: 8.1.10 Reporting the ScreenSize of a iPhone7: 0,0,375,667

2018-06-18 Thread Brian Milby via use-livecode
Correct... the 6/7/8 are all the same size, the plus sizes are also the same. X 
is also available as a size.
On Jun 18, 2018, 9:20 AM -0500, Randy Hengst via use-livecode 
, wrote:
> Hi BR,
>
> The iPhone 6 screen is the same size as the 7. I load a splash screen at 
> 750x1134.
>
> be well,
> randy
> -
> > On Jun 18, 2018, at 9:05 AM, Sannyasin Brahmanathaswami via use-livecode 
> >  wrote:
> >
> > Well, the problem is the SA builder in 8.1.10 does not has a "slot" for 
> > iPhone 7+
> >
> > I wonder if I can add it after the SA is built...
> >
> > I will definitely check out your stack.
> >
> > BR
> >
> >
> >
> >
> > On 6/17/18, 6:28 PM, "use-livecode on behalf of Brian Milby via 
> > use-livecode"  > use-livecode@lists.runrev.com> wrote:
> >
> > For iOS, you must have a splash screen image for every native resolution
> > that you need to access. If you don't have a 7+ splash, then you won't get
> > a true 7+ rect. What happens is that automatic scaling kicks in at the
> > device level, so your stack only gets one of the splash images sizes. So,
> > the app is telling the phone what resolutions it supports via those splash
> > screens and then the OS is adjusting to ensure that the full screen gets
> > used.
> >
> > You can download my mobileProfile demo stack from the forum. It uses
> > profiles and GM to take care of resize when device rotates. You can do it
> > without profiles/GM, but it would at least let you see how it can work.
> >
> > http://forums.livecode.com/viewtopic.php?f=7&t=30018
> >
> > One note is that GM/PM both work on mobile now without having to manually
> > include any code (common library didn't get included when the post was
> > written).
> >
> > I have not looked at this code in a while though.
> >
> > Thanks,
> > Brian
> >
> > On Sun, Jun 17, 2018 at 10:03 PM, Sannyasin Brahmanathaswami via
> > use-livecode  wrote:
> >
> > > [my early post in pending due to length. I put the stack script in it.
> > > Better to give the stack}
> > >
> > > Hmm. Trying to a little responsive design (works on any device/mobile
> > > screen size)
> > >
> > > 1) Make a very stack with a widget "body" as browser that fill the whole
> > > screen but for 50 at the bottom
> > > 2) Fill the whole screen -50 at the bottom for a navigation/tool - group
> > > "footer"
> > >
> > > But we the need to hide the group footer when they turn in landscape.
> > > (for view full screen video)
> > > And show it again when when orientationChanges to Portrait.
> > >
> > > Just winging it, first time try to do this, no doubt all my methods need a
> > > lot helps, (missing the proper way to use resize and the browser widget
> > > does not turn)
> > >
> > > But, first problem :
> > >
> > > I get a screenRect 0,0,375,667 on an iPhone 7+ and there is no way I can
> > > add 7+ screen…
> > >
> > > Thanks, Apple! (can't report screenrect from the hardware) They depend on
> > > the splash screens, so I been told.
> > >
> > > What to do?
> > >
> > > And, all of the code in the stack script
> > >
> > > Available here (39k)
> > >
> > > Go stack url "http://wiki.hindu.org/uploads/BrowserLandscapeTest.livecode";
> > >
> > > Brahmanathaswami
> > >
> > > PS. If one can tell me where to "resize" message. … I have been staying
> > > away from that for years!
> > >
> > >
> > > ___
> > > 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
___
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

Changing backgroundColor of a button changes its style ?

2018-06-18 Thread Alex Tweedly via use-livecode

1. create a new stack

2. drag a 'standard button' from the toolbar onto it

(you now have a nicely rounded-corner button)

3. set its script to

on mouseup
   set the backgroundcolor of me to "200,50,50"
end mouseup

4, click on 'browse mode' so the stack is "live"

4a. observe the button still has nicely rounded corners :-)

5. click on it

 the backgroundcolor changes to red

AND the rounded corners disappear - it's now a rectangular button.

What am I doing wrong or missing ?

(LC 9.0.0, MacOS 10.13.2)

Thanks

Alex.



___
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: LiveCode - Andoid SDK - Java compatibility chart?

2018-06-18 Thread Douglas Ruisaard via use-livecode
While I agree that the Java "install" is not necessarily a true bug in LC, is 
there a reason why LC could not "host" the "current" working set of install 
files? ...  and (can you imagine???) even semi-automate the installation 
process when the user chooses to employ EITHER iOS or Android?

I recently went through a similar experience when installing LC v9 on an new 
desktop.  It took the best part of 1 hour (or maybe it was more... it was so 
much fun!) and THAT knowing the specific files I was looking for and needing to 
install.

It definitely tops my list of "most annoying pop-up's" to go through the 
Java/Android hope-I-can-find-the right-file search process, fetch the files, 
run the installs and have LC announce ... "WRONG SDK, SUCKER!".  Good thing my 
monitors are anchored to my desk!

Douglas Ruisaard
Trilogy Software
(250) 573-3935

> Hi Folks
> 
> Just to clarify as I have looked into this.
> 
> Android SDK itself requires you to install Java 8 max. So while we have a bug 
> about this in our db
> it?s not really fixable by us. We do have some ideas about presenting dialogs 
> if you have the wrong
> one installed though. Note this mainly impacts Windows because Java 9 & 10 
> use different registry
> entries to find the java home folder and dx.bat uses a javac option that is 
> no longer supported. Still
> I would not recommend installing higher than 8 on macOS or Linux.
> 
> Cheers
> 
> Monte
> 
> > On 15 Jun 2018, at 11:26 pm, panagiotis merakos via use-livecode 
> > 
> wrote:
> >
> > So this is a bug in LC, not a compatibility issue. There is a bug
> > report
> > here:
> >
> > https://quality.livecode.com/show_bug.cgi?id=20719
> > 
> 
> 


___
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: 8.1.10 Reporting the ScreenSize of a iPhone7: 0,0,375,667

2018-06-18 Thread Sannyasin Brahmanathaswami via use-livecode
I have a 750 X 1134 in the iPhone 6 "slot" But LC 8.1.10 still be reports that 
the screenrect is 0,0,375,667

" Correct... the 6/7/8 are all the same size, the plus sizes are also the same. 
X is also available as a size."

Hmmm

https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/launch-screen/

Says otherwise

What you need, for iPhone 7+, is the same as 6 Plus but not the same as  6. 

Now I think we have a bug: if you have the 1242 X 2208 loaded in the 6 Plus 
slot, but LC thinks, on an iPhone 7+, that it should report the wrong size 
(that of 6) as the screenrect.

3 / 1242x2208 = 0,0,414,736 not 0,0,375,667

BR


On 6/18/18, 4:27 AM, "use-livecode on behalf of Brian Milby via use-livecode" 
 wrote:

Correct... the 6/7/8 are all the same size, the plus sizes are also the 
same. X is also available as a size.
On Jun 18, 2018, 9:20 AM -0500, Randy Hengst via use-livecode 
, wrote:
>Hi BR,
>
>The iPhone 6 screen is the same size as the 7. I load a splash screen at 
750x1134.
>

___
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: 8.1.10 Reporting the ScreenSize of a iPhone7: 0,0,375,667

2018-06-18 Thread panagiotis merakos via use-livecode
Hi Brahmanathaswami,

If your device is iPhone7 Plus, then you have to put the appropriate splash
screens in the "iPhone 6 Plus Portrait" and "iPhone 6 Plus Lscape" slots in
the standalone iOS settings.

Best,
Panos
--

On Mon, Jun 18, 2018 at 4:25 PM, Sannyasin Brahmanathaswami via
use-livecode  wrote:

> I have a 750 X 1134 in the iPhone 6 "slot" But LC 8.1.10 still be reports
> that the screenrect is 0,0,375,667
>
> " Correct... the 6/7/8 are all the same size, the plus sizes are also the
> same. X is also available as a size."
>
> Hmmm
>
> https://developer.apple.com/design/human-interface-
> guidelines/ios/icons-and-images/launch-screen/
>
> Says otherwise
>
> What you need, for iPhone 7+, is the same as 6 Plus but not the same as
> 6.
>
> Now I think we have a bug: if you have the 1242 X 2208 loaded in the 6
> Plus slot, but LC thinks, on an iPhone 7+, that it should report the wrong
> size (that of 6) as the screenrect.
>
> 3 / 1242x2208 = 0,0,414,736 not 0,0,375,667
>
> BR
>
>
> On 6/18/18, 4:27 AM, "use-livecode on behalf of Brian Milby via
> use-livecode"  use-livecode@lists.runrev.com> wrote:
>
> Correct... the 6/7/8 are all the same size, the plus sizes are also
> the same. X is also available as a size.
> On Jun 18, 2018, 9:20 AM -0500, Randy Hengst via use-livecode <
> use-livecode@lists.runrev.com>, wrote:
> >Hi BR,
> >
> >The iPhone 6 screen is the same size as the 7. I load a splash screen
> at 750x1134.
> >
>
> ___
> 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: 8.1.10 Reporting the ScreenSize of a iPhone7: 0,0,375,667

2018-06-18 Thread Brian Milby via use-livecode
Sorry, I meant that the 6 plus/7 plus/8 plus were all the same size (not that 
they were the same as the 6/7/8)
On Jun 18, 2018, 10:48 AM -0500, panagiotis merakos via use-livecode 
, wrote:
> Hi Brahmanathaswami,
>
> If your device is iPhone7 Plus, then you have to put the appropriate splash
> screens in the "iPhone 6 Plus Portrait" and "iPhone 6 Plus Lscape" slots in
> the standalone iOS settings.
>
> Best,
> Panos
> --
>
> On Mon, Jun 18, 2018 at 4:25 PM, Sannyasin Brahmanathaswami via
> use-livecode  wrote:
>
> > I have a 750 X 1134 in the iPhone 6 "slot" But LC 8.1.10 still be reports
> > that the screenrect is 0,0,375,667
> >
> > " Correct... the 6/7/8 are all the same size, the plus sizes are also the
> > same. X is also available as a size."
> >
> > Hmmm
> >
> > https://developer.apple.com/design/human-interface-
> > guidelines/ios/icons-and-images/launch-screen/
> >
> > Says otherwise
> >
> > What you need, for iPhone 7+, is the same as 6 Plus but not the same as
> > 6.
> >
> > Now I think we have a bug: if you have the 1242 X 2208 loaded in the 6
> > Plus slot, but LC thinks, on an iPhone 7+, that it should report the wrong
> > size (that of 6) as the screenrect.
> >
> > 3 / 1242x2208 = 0,0,414,736 not 0,0,375,667
> >
> > BR
> >
> >
> > On 6/18/18, 4:27 AM, "use-livecode on behalf of Brian Milby via
> > use-livecode"  > use-livecode@lists.runrev.com> wrote:
> >
> > Correct... the 6/7/8 are all the same size, the plus sizes are also
> > the same. X is also available as a size.
> > On Jun 18, 2018, 9:20 AM -0500, Randy Hengst via use-livecode <
> > use-livecode@lists.runrev.com>, wrote:
> > > Hi BR,
> > >
> > > The iPhone 6 screen is the same size as the 7. I load a splash screen
> > at 750x1134.
> > >
> >
> > ___
> > 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: Changing backgroundColor of a button changes its style ?

2018-06-18 Thread Richard Gaskin via use-livecode

Alex Tweedly wrote:
> 1. create a new stack
> 2. drag a 'standard button' from the toolbar onto it
> (you now have a nicely rounded-corner button)
> 3. set its script to
>
> on mouseup
> set the backgroundcolor of me to "200,50,50"
> end mouseup
>
> 4, click on 'browse mode' so the stack is "live"
> 4a. observe the button still has nicely rounded corners :-)
> 5. click on it
>
>   the backgroundcolor changes to red
>
> AND the rounded corners disappear - it's now a rectangular button.
>
> What am I doing wrong or missing ?

If you apply a non-standard color, it's no longer a standard button.

We have a roundrect style that may work for the type of non-standard 
button you're looking for.


But AFAIK the "standard" button relies on OS routines to render its 
shape, gradient fill, etc., and the OS APIs provide little support for 
non-HIG alterations.


--
 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: LiveCode - Andoid SDK - Java compatibility chart?

2018-06-18 Thread Richard Gaskin via use-livecode

Douglas Ruisaard wrote:

> I recently went through a similar experience when installing LC v9 on
> an new desktop.  It took the best part of 1 hour (or maybe it was
> more... it was so much fun!) and THAT knowing the specific files I was
> looking for and needing to install.
>
> It definitely tops my list of "most annoying pop-up's" to go through
> the Java/Android hope-I-can-find-the right-file search process, fetch
> the files, run the installs and have LC announce ... "WRONG SDK,
> SUCKER!".  Good thing my monitors are anchored to my desk!

It would be great to have ONE single page describing a reliable recipe 
for setting up a system for Android builds in v9.  I suppose we'd need 
one for macOS, Win, and Linux.  It would need to be tech-edited for 
completeness, to make sure steps very familiar to the author are not 
glossed over for newcomers.


Y'all know how much I like LC, and how long I've been using it.  But 
somewhere in the v9 cycle I lost the ability to generate builds for 
Android, and piecing a recipe together from various parts of lessons and 
posts on this list has thus far failed to fix that for me.


If I'm having such difficulty, it seems safe to imagine a hundred others 
have the same, and many aren't as hooked as I am so they just uninstall 
LC and move on to anything with a more integrated build experience.


--
 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: Changing backgroundColor of a button changes its style ?

2018-06-18 Thread Alex Tweedly via use-livecode

On 18/06/2018 18:17, Richard Gaskin via use-livecode wrote:


>
> What am I doing wrong or missing ?

If you apply a non-standard color, it's no longer a standard button.

We have a roundrect style that may work for the type of non-standard 
button you're looking for.


I should probably take it as a good reason why I shouldn't be changing 
the button colour :-)
But AFAIK the "standard" button relies on OS routines to render its 
shape, gradient fill, etc., and the OS APIs provide little support for 
non-HIG alterations.



OK - UI changed to something better  Thank You !

-- Alex.

___
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: 8.1.10 Reporting the ScreenSize of a iPhone7: 0,0,375,667

2018-06-18 Thread Sannyasin Brahmanathaswami via use-livecode
Aloha Panos

But if you have entered (in the SA settings)

 iPhone Initial orientation

the option to choose

  iPhone 6 plus Lscape

is not available

BR


From: panagiotis merakos 
Date: Monday, June 18, 2018 at 5:48 AM
To: How LiveCode 
Cc: Brahma Nathaswami 
Subject: Re: 8.1.10 Reporting the ScreenSize of a iPhone7: 0,0,375,667

Hi Brahmanathaswami,

If your device is iPhone7 Plus, then you have to put the appropriate splash 
screens in the "iPhone 6 Plus Portrait" and "iPhone 6 Plus Lscape" slots in the 
standalone iOS settings.

Best,
Panos
--

On Mon, Jun 18, 2018 at 4:25 PM, Sannyasin Brahmanathaswami via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:
I have a 750 X 1134 in the iPhone 6 "slot" But LC 8.1.10 still be reports that 
the screenrect is 0,0,375,667

" Correct... the 6/7/8 are all the same size, the plus sizes are also the same. 
X is also available as a size."

Hmmm

https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/launch-screen/

Says otherwise

What you need, for iPhone 7+, is the same as 6 Plus but not the same as  6.

Now I think we have a bug: if you have the 1242 X 2208 loaded in the 6 Plus 
slot, but LC thinks, on an iPhone 7+, that it should report the wrong size 
(that of 6) as the screenrect.

3 / 1242x2208 = 0,0,414,736 not 0,0,375,667

BR


On 6/18/18, 4:27 AM, "use-livecode on behalf of Brian Milby via use-livecode" 
mailto:use-livecode-boun...@lists.runrev.com>
 on behalf of 
use-livecode@lists.runrev.com> wrote:

Correct... the 6/7/8 are all the same size, the plus sizes are also the 
same. X is also available as a size.
On Jun 18, 2018, 9:20 AM -0500, Randy Hengst via use-livecode 
mailto:use-livecode@lists.runrev.com>>, wrote:
>Hi BR,
>
>The iPhone 6 screen is the same size as the 7. I load a splash screen at 
750x1134.
>
___
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: 8.1.10 Reporting the ScreenSize of a iPhone7: 0,0,375,667

2018-06-18 Thread Ralph DiMola via use-livecode
BR,

"iPhone Initial orientation" applies only to phones that support landscape
splash images. At this point it's only the iPhone6 Plus and the iPhone X.
All other iPhones will start in portrait. IPads start in the orientation the
device is in when the app is launched.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Sannyasin Brahmanathaswami via use-livecode
Sent: Monday, June 18, 2018 3:10 PM
To: How to use LiveCode
Cc: Sannyasin Brahmanathaswami
Subject: Re: 8.1.10 Reporting the ScreenSize of a iPhone7: 0,0,375,667

Aloha Panos

But if you have entered (in the SA settings)

 iPhone Initial orientation

the option to choose

  iPhone 6 plus Lscape

is not available

BR


From: panagiotis merakos 
Date: Monday, June 18, 2018 at 5:48 AM
To: How LiveCode 
Cc: Brahma Nathaswami 
Subject: Re: 8.1.10 Reporting the ScreenSize of a iPhone7: 0,0,375,667

Hi Brahmanathaswami,

If your device is iPhone7 Plus, then you have to put the appropriate splash
screens in the "iPhone 6 Plus Portrait" and "iPhone 6 Plus Lscape" slots in
the standalone iOS settings.

Best,
Panos
--

On Mon, Jun 18, 2018 at 4:25 PM, Sannyasin Brahmanathaswami via use-livecode
mailto:use-livecode@lists.runrev.com>> wrote:
I have a 750 X 1134 in the iPhone 6 "slot" But LC 8.1.10 still be reports
that the screenrect is 0,0,375,667

" Correct... the 6/7/8 are all the same size, the plus sizes are also the
same. X is also available as a size."

Hmmm

https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-
images/launch-screen/

Says otherwise

What you need, for iPhone 7+, is the same as 6 Plus but not the same as  6.

Now I think we have a bug: if you have the 1242 X 2208 loaded in the 6 Plus
slot, but LC thinks, on an iPhone 7+, that it should report the wrong size
(that of 6) as the screenrect.

3 / 1242x2208 = 0,0,414,736 not 0,0,375,667

BR


On 6/18/18, 4:27 AM, "use-livecode on behalf of Brian Milby via
use-livecode"
mailto:use-livecode-boun...@lists.run
rev.com> on behalf of
use-livecode@lists.runrev.com> wrote:

Correct... the 6/7/8 are all the same size, the plus sizes are also the
same. X is also available as a size.
On Jun 18, 2018, 9:20 AM -0500, Randy Hengst via use-livecode
mailto:use-livecode@lists.runrev.com>>,
wrote:
>Hi BR,
>
>The iPhone 6 screen is the same size as the 7. I load a splash screen
at 750x1134.
>
___
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: Need help with a project

2018-06-18 Thread Peter Bogdanoff via use-livecode
Thanks, Lagi, for your suggestions.

In my case the program will be used in higher ed classrooms by students sitting 
side by side, often sharing the software keys. Also we are breaking into the 
Chinese education market with potentially tens of thousands, or more customers, 
where we have little control over who they are (we are working with a local 
distributor), and zero direct contact with them. An easy-going protection 
system is not appropriate, nor is something that I have the option of choosing. 

The SoftwareShield system is quite robust with serial key management and 
fingerprinting, and it seems to meet our needs. I just have to find someone on 
the LC list or elsewhere who can help me implement it. LC, the company, asks 
for $1000/day, which we might pay if they could do the job in a timely manner, 
but they are too busy now.

I believe the job is not very difficult, just JavaScript, and possibly some LC 
Builder, both of which are beyond me right now.

Peter Bogdanoff
ArtsInteractive


> On Jun 18, 2018, at 3:31 AM, Lagi Pittas via use-livecode 
>  wrote:
> 
> HI Peter,
> 
> The fact that it is a subscription system is the best protection you have.
> Use the simplest protection that will tell you if the system has been
> "pirated" - simple encryption of the company/institution address/details
> for instance. Don't allow them to change the address/telephone number etc
> in the program - so they have to "patch" the exe. When you notice this has
> happened (5 lines of code) set a timer.
> In 8 Months time you have a screen that comes up at boot time that says
> "Problem with your program please call  before any lasting damage is done"
> at -xxx-". If they don't call in say a month the program stops
> working with your number on the front screen and How they can get a legal
> copy".
> 
> Sage Payroll used to not protect their payroll, so come April when rates
> changed, Sage always Got (gets?) a spike in sales - No questions asked as
> long as the user can transfer his data from the "pirated" version.   The
> people who will buy your program will buy it - the people who will copy
> your program will copy it anyway - you didn't lose a sale you got free
> advertising. How do you think microsoft replaced Lotus 123 - they removed
> protection from Office then gave a £90 upgrade from any version (even non
> legal version) after a couple of years.
> 
> Making your program indispensable (without too many barriers) to your
> paying customers is the best way of building a loyal customer base.
> 
> Save yourself a lot of time hassle and money and make the subscription/name
> the protection
> 
> My 2 pence worth
> 
> Lagi
> 
> p.s. If it can be read it can be broken
> 
> A 5 minute google search and a bit of memory 
> You'll be glad to hear no decompilers for Livecode - we are not on the
> radar.
> 
> // If you lose your sourcecode in the future .
> http://www.javadecompilers.com/
> https://forum.xda-developers.com/android/software-hacking/tool-apk-easy-tool-v1-02-windows-gui-t960
> https://www.yeahhub.com/best-19-tools-used-reverse-engineering-2018-update/
> http://www.refox.net/
> http://www.iphonehacks.com/2018/05/ios-11-3-1-jailbreak-updates.html
> http://www.decompiler.net/
> https://www.vb-decompiler.org/
> https://www.thoughtco.com/decompiling-delphi-1-3-1057974
> http://www.dvdsmith.com/remove-sony-arccos-protection.html
> https://www.roojs.com/blog.php/View/117/Recovering_encoded_php_files.html
> 
> //Even hardware dongles are not immune
> https://www.brstudio.com/dongles/deskey-dk2-dk3-dongle-emulator/
> http://www.dongleservice.com/dongle-bypass.phtml
> 
> 
> 
> 
> On Fri, 15 Jun 2018 at 02:08, Peter Bogdanoff via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>>> you want to include some of the advanced capabilities like restricted
>> trial,
>> Yes, I do want to use advanced capabilities.
>> 
>>> Does it just wrap the executable or does it encapsulate the entire
>> directory?
>> It can do either.
>> 
>> I am using pw protection on all stacks, which is is working well. More
>> important is the license activation and management because it is a
>> subscription product—there is a single version which has a free, limited
>> status or a full, paid status—the program needs the capability to shift to
>> either. Also I need to control the installations of the program. It will be
>> used in educational institutions, by individuals, sometimes in iffy
>> locations (China) where I need to minimize piracy.
>> 
>> Peter
>> 
>> 
>>> On Jun 14, 2018, at 4:23 PM, Brian Milby via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> Are you saying that you have the standard mode working but you want to
>> include some of the advanced capabilities like restricted trial, etc?
>>> 
>>> Does it just wrap the executable or does it encapsulate the entire
>> directory? I’m assuming you have decided that the password protection of
>> the stack isn’t sufficient.
>>> 
>>> Brian
>>> O

Re: Listfield Questions

2018-06-18 Thread Charles Szasz via use-livecode
Brahmanathaswami,

Thanks for tour script suggestion!  But I am not sure what it does!  You give 
postImage in the script.  Does this script have anything to with images?

Sent from my iPad
___
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: Optimization can be tricky

2018-06-18 Thread Geoff Canyon via use-livecode
Thanks for all the suggestions -- I tried multiple ideas without much
improvement, then decided to rethink the problem. Roughly:

I have a bunch of source data that I categorized by two numbers, the first
from 1-N where N might be anywhere from 100-5,000, and the second from
1-100. For any given first number, there might be about fifty entries, with
varying values for the second number.

Then for a given query I was trying to:

1. Take a list of 20-100 values for the first number, and for each of
those, a value for the second number,
2. Return a set of about 10-20 entries, where each entry matches one of the
first numbers from the list, and then probabilistically selected based on
the proximity of the second number from the list to the second number of
the item.

(The userSeen aspect was an additional wrinkle)

Since there are about 50 entries for each of the first numbers, the entries
that *might* be returned number [20-100] * 50, or about 1,000-5,000
entries. And everything I tried was too slow, since ideally I want to be
able to do this anywhere from 10-100 times per second.

So I reframed at the source. Instead of keeping all the candidates in a
single array keyed by the first number, I kept them in sub-arrays keyed by
the first digit of the second number.

Then, instead of gathering all the possible values based on the first
number matches, I rotate the list of first number matches each time I
retrieve, and then parse through the resulting matches in order, gathering
any that work, until I have enough to return.

This is certainly not identical to the original method, but it's close
enough, and runs in a small fraction of a second.

thanks again,

gc

On Tue, Jun 12, 2018 at 6:04 PM, Tom Glod via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Thanks for the tip Ralphlove the sound of that filer function.
>
> On Tue, Jun 12, 2018 at 7:00 PM, Curry Kenworthy via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> >
> > Optimizing scripts in LC is not the same as running reports in other
> > software suites. If you only need 10 results, you probably don't want to
> > handle all items twice.
> >
> > I hate to loop through all items even once. But if I do, I may be done!
> > I'm not making a full report to print out; I'm just getting my 10 items.
> If
> > I use sort or filter, likewise, I will do whatever necessary to keep it
> > short and sweet, even if that means adjusting some of the starting
> > assumptions.
> >
> > If the sort really is taking more time than the loop, something is
> bogging
> > it down. Look at the random() and arithmetic attached to the sort. That's
> > potentially like running a whole lot of LCS. So if you sort, try a plain
> > numeric sort with no fancy stuff added. Then go grab your 10 - the other
> > requirements can be addressed before or after the sort.
> >
> > Best wishes,
> >
> > Curry Kenworthy
> >
> > Custom Software Development
> > LiveCode Training and Consulting
> > http://livecodeconsulting.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
>
___
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


Must have flexible row height for Datagrid Table

2018-06-18 Thread Tom Glod via use-livecode
Hi everyone

I'm willing to go into the weeds and work with the library code.. but I
really need flexible row heights for a table datagrid.  Has anyone tried
making that modification before?  Any last words of wisdom before I embark
on this journey? Trevor? Mark?

Thanks,

Tom
___
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: Must have flexible row height for Datagrid Table

2018-06-18 Thread Paul Dupuis via use-livecode
On 6/18/2018 8:39 PM, Tom Glod via use-livecode wrote:
> Hi everyone
>
> I'm willing to go into the weeds and work with the library code.. but I
> really need flexible row heights for a table datagrid.  Has anyone tried
> making that modification before?  Any last words of wisdom before I embark
> on this journey? Trevor? Mark?
>

I have NO idea how to modify a Datagrid for flexible row heights for a
table view, but I could really really really use such an enhancement as
well!!!

___
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


(somewhat) OT: Bill Atkinson on HC

2018-06-18 Thread Mark Wieder via use-livecode

http://www.mondo2000.com/2018/06/18/the-inspiration-for-hypercard/

--
 Mark Wieder
 ahsoftw...@gmail.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: (somewhat) OT: Bill Atkinson on HC

2018-06-18 Thread Tom Glod via use-livecode
the man . the legend.

i watched this on triangulation originally ...a great interview. some
time ago before this I actually emailed Bill to ask if the invention of HC
was an unusal experience for him...so i'm glad he told this story.  thanks
for posting this ... a classic interview.

On Mon, Jun 18, 2018 at 10:01 PM, Mark Wieder via use-livecode <
use-livecode@lists.runrev.com> wrote:

> http://www.mondo2000.com/2018/06/18/the-inspiration-for-hypercard/
>
> --
>  Mark Wieder
>  ahsoftw...@gmail.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: Must have flexible row height for Datagrid Table

2018-06-18 Thread Tom Glod via use-livecode
10-4 ..good to hear. def going on github when i am donei don't need
it super urgent, but sooner than later. I've hacked around in the library
before, i hope to do it in a reasonable amount of time.



On Mon, Jun 18, 2018 at 8:57 PM, Paul Dupuis via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 6/18/2018 8:39 PM, Tom Glod via use-livecode wrote:
> > Hi everyone
> >
> > I'm willing to go into the weeds and work with the library code..
> but I
> > really need flexible row heights for a table datagrid.  Has anyone tried
> > making that modification before?  Any last words of wisdom before I
> embark
> > on this journey? Trevor? Mark?
> >
>
> I have NO idea how to modify a Datagrid for flexible row heights for a
> table view, but I could really really really use such an enhancement as
> well!!!
>
> ___
> 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: 8.1.10 Reporting the ScreenSize of a iPhone7: 0,0,375,667

2018-06-18 Thread Sannyasin Brahmanathaswami via use-livecode
Right, we know that, or so I thought...

but Panos said, "mysteriously"

"If your device is iPhone7 Plus, then you have to put the appropriate splash 
screens in the "iPhone 6 Plus Portrait" and "iPhone 6 Plus Lscape" slots in the 
standalone iOS settings."

I deem this a bug, continue to comment here or at:

https://quality.livecode.com/show_bug.cgi?id=21369

BR

Whose goal was to do a simple responsive design, my code for that is "ground 
zero, never coded this aspect of LC in 25 years"   and get to working on iOS 
and then submit for testing while the team it working on Android orientation 
"bugs" to test with before 9.1beta1 comes out.

I did not get even to first base!  If you have time, want to some fun, have at 
it

Go stack url "http://wiki.hindu.org/uploads/BrowserLandscapeTest.livecode";

The goal: get in a working first in iOS and turn into test in Android.

Remember: any screen size of any device, the group "Footer" and you remain the 
same size, just be centered at bottom the screen. The browser widget should be 
"dynamically" re-sized.

___
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] v2.2 of DB Lib

2018-06-18 Thread Andre Garzia via use-livecode
Friends,

After ages without updating my tools, I've resumed working on them. Today I
am releasing a tentative version of DB Lib v2.2 which has better Unicode
handling. Basically I've replaced old uniencode/unidecode based code with
the new textencode/textdecode stuff.

I've tried with some Cyrillic and Tamil text and it worked well.

You can grab a GPL version from:

  https://github.com/soapdog/livecode-dblib/releases/tag/v2.2

And you can buy a commercial version from:

  https://sowl.co/YpT7k

 I will redo my own home page soon and list the LC stuff it is just not
ready and I know some people needs these patches. I will work now on the
new 3.0 release in which I will rewrite the remote database library PHP
code to be better.

om om
andre



-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.
___
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: Optimization can be tricky

2018-06-18 Thread Curry Kenworthy via use-livecode



Geoff wrote:

> This is certainly not identical to the original method, but it's
> close enough, and runs in a small fraction of a second.

Good approach! Optimized code rules.

Best wishes,

Curry K.


___
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