Re: Android API Level 31

2022-08-09 Thread Dan Friedman via use-livecode
Panos,

THANK YOU for the quick reply and the information!   If we're talking days or 
early next week, I can probably wait.  Anything later than that and I'll need 
something to give my client.

Thank you!
Dan 


On 8/9/22, 11:47 AM, "use-livecode on behalf of panagiotis m via use-livecode" 
 wrote:

Hello Dan,

This is a new requirement of the Google Play Store, i.e. new apps should
target Android API 31. We are preparing a build of LC 9.6.9 RC-1 that among
other bugfixes includes support for API31 too, it is currently in testing
and should be good for release very soon. If you are urgently affected
please contact support and we can offer an interim (test) build to try.

Kind regards,
Panos
--

On Tue, 9 Aug 2022 at 20:34, Dan Friedman via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I am trying to upload an AAB to Google Play Condole and I am getting this
> error:
>
> "Your app currently targets API level 30 and must target at least API
> level 31 to ensure it is built on the latest APIs optimized for security
> and performance. Change your app's target API level to at least 31."
>
> I have enabled the "Android 12.0 (S)" SDK (API Level 31) in Android Studio
> and restarted LC and rebuilt the app.  Still getting the error from Google
> Play.   Anyone have any ideas as to the LC/Studio settings needed to get
> Google to accept the app?
>
> Thank you in advance!
> 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

___
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: Android API Level 31

2022-08-09 Thread panagiotis m via use-livecode
Hello Dan,

This is a new requirement of the Google Play Store, i.e. new apps should
target Android API 31. We are preparing a build of LC 9.6.9 RC-1 that among
other bugfixes includes support for API31 too, it is currently in testing
and should be good for release very soon. If you are urgently affected
please contact support and we can offer an interim (test) build to try.

Kind regards,
Panos
--

On Tue, 9 Aug 2022 at 20:34, Dan Friedman via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I am trying to upload an AAB to Google Play Condole and I am getting this
> error:
>
> "Your app currently targets API level 30 and must target at least API
> level 31 to ensure it is built on the latest APIs optimized for security
> and performance. Change your app's target API level to at least 31."
>
> I have enabled the "Android 12.0 (S)" SDK (API Level 31) in Android Studio
> and restarted LC and rebuilt the app.  Still getting the error from Google
> Play.   Anyone have any ideas as to the LC/Studio settings needed to get
> Google to accept the app?
>
> Thank you in advance!
> 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


Android API Level 31

2022-08-09 Thread Dan Friedman via use-livecode
I am trying to upload an AAB to Google Play Condole and I am getting this error:

"Your app currently targets API level 30 and must target at least API level 31 
to ensure it is built on the latest APIs optimized for security and 
performance. Change your app's target API level to at least 31."

I have enabled the "Android 12.0 (S)" SDK (API Level 31) in Android Studio and 
restarted LC and rebuilt the app.  Still getting the error from Google Play.   
Anyone have any ideas as to the LC/Studio settings needed to get Google to 
accept the app?

Thank you in advance!
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


Summer Bundle table/grid widgets....

2022-08-09 Thread Paul Dupuis via use-livecode
I am in need of a control to display a table of numbers. The top ROW are 
column labels (text, sometimes up to 255 characters). The left COLUMN is 
row labels (text, sometime up to 255 characters). I'd like a widget that:
1) Can display this with the top row (or headers) fixed so they remain 
visible when the data is scrolled
2) Can display this with the left column fixed to they remain visible 
when the data is scrolled
3) Provides built in abilities to sort the numbers in all the data of 
the grid/table, by any column, ascending or descending as the user desires.


I have already built this with a grouped field (for the fixed left 
column) and Datagrid (for the remained of the table).


Do any of the new widgets in the Summer Bundle do this inherently 
without me having to make a custom object (as I had to do with the field 
+ Datagrid)?



___
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: Datagrid internal error

2022-08-09 Thread Bob Sneidar via use-livecode
I believe there is a property you set, after which you programmatically control 
the population of the datagrid. I am in a hurry so I can't look it up right 
now, but it is in the datagrid API in livecode lessons. 

Bob S


> On Aug 9, 2022, at 05:09 , Paul Dupuis via use-livecode 
>  wrote:
> 
> I can only image that the customer entered a name with some characters that 
> Datagrid has a problem with as a column name OR that the shear number of 
> columns (as the customer is working with a very large dataset) exceeds some 
> practical Datagrid limit, but what would that be?


___
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: Code Signing Certificates: Where to put?

2022-08-09 Thread matthias rebbe via use-livecode
My certificates are stored under Login in my Keychain.  I created them using 
Xcode (Preferences/Account) and Xcode installed them directly in Login.

So give it a try and move (if this is possible) the certs to Login or just 
delete the 2 and reinstall them.

If you still run into a problem then could you try to create a simple 
standalone without any external/extension and see if it is possible to sign and 
notarize that? 

Matthias


> Am 08.08.2022 um 23:59 schrieb Bob Sneidar via use-livecode 
> :
> 
> I went through the process of creating the 2 certs needed to sign, notarize 
> and staple an app bundle. I imported the certs into my Keychain in System 
> (login didn't seem like the place to put it) and now MrSign'n'Notarize Helper 
> V3 is generating an error which seems to indicate it cannot find the 
> certificate. 
> Codesigning app...
> 
> executing: codesign --deep --force --verify --verbose --sign "Robert Sneidar 
> (9PV38Bl27Y)" --options runtime --entitlements 
> /private/var/folders/dy/zctnynys6mg69880fpzrmsy0gr/T/TemporaryItems/entitlements.plist
>  "/Users/bobsneidar/Documents/Livecode Projects/Builds/slySQL Agent 
> MAC/slySQL Agent.app"
> /Users/bobsneidar/Documents/Livecode Projects/Builds/slySQL Agent MAC/slySQL 
> Agent.app: replacing existing signature
> Warning: unable to build chain to self-signed root for signer "Developer ID 
> Application: "
> /Users/bobsneidar/Documents/Livecode Projects/Builds/slySQL Agent MAC/slySQL 
> Agent.app: errSecInternalComponent
> In subcomponent: /Users/bobsneidar/Documents/Livecode Projects/Builds/slySQL 
> Agent MAC/slySQL Agent.app/Contents/MacOS/revsecurity.dylib
> process aborted
> 
> Is this an issue caused by where I put the certificates? 
> 
> Bob S
> 
> 
> ___
> 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: Datagrid internal error

2022-08-09 Thread Paul Dupuis via use-livecode
comma delimited or cr delimited, without looking it up, I am sure it is 
in the right format since it work 99.99% of the time.


The names that would be in the column list all go through a name check 
function. That function prevents names that are all spaces, longer than 
255 characters, or are a handful of "reserved words" and checks that 
each name does not contain the following characters


    if (it < 32)  then return false -- all control characters (0x 
to 0x0031)
    if (it = 34)  then return false -- "    quote (0x0034) 
-- LC string encapsulator
    if (it = 40)  then return false -- ( left parenthesis (0x0040) 
-- used in filter and theory criteria
    if (it = 41)  then return false -- )    right parenthesis (0x0041) 
-- used in filter and theory criteria
    if (it = 44)  then return false -- ,    comma (0x0044) 
-- LC item delimiter
    if (it = 60)  then return false -- <   less than sign (0x0060) 
-- htmlText tag delimiter
    if (it = 62)  then return false -- >    greater than sign (0x0062) 
-- htmlText tag delimiter
    if (it = 91)  then return false -- [  left square bracket (0x0091) 
-- LC merge delimiter
    if (it = 92)  then return false -- \    backslash (0x0092) 
-- regex string escape character
    if (it = 93)  then return false -- ] right square bracket (0x0093) 
-- LC merge delimiter
    if (it = 124) then return false -- | vertical bar (0x0124) 
-- used in code

    if (it = 127) then return false -- DEL delete (0x0127)

So, comma's are excluded, as are [ and ], and control characters, etc.. 
However all Unicode characters, codepoints 128 and up are allowed. 
Testing shows you can have a Datagrid where you can set the columns to 
empty, so that is not the cause of the error.


I can only image that the customer entered a name with some characters 
that Datagrid has a problem with as a column name OR that the shear 
number of columns (as the customer is working with a very large dataset) 
exceeds some practical Datagrid limit, but what would that be?


I don't really want to have to carve out time to build test stacks to 
try names with every possible characters or ever increasing numbers of 
column names until the error occurs or those possibilities are ruled 
out. I was hoping there might be someone on the list who was familiar 
enough with the internals of the Datagrid to have some idea what might 
have caused the error.


Unfortunately, the customer's data is confidential, so they do not want 
to provide the data to us to use for testing. And the customer is either 
not technically savvy or does not have time (they have said they are 
under a deadline) to help much in troubleshooting. They can get the 
analysis this Datagrid provides by exporting some data to Excel and 
doing the analysis in Excel, so the error is not a show-stopper for them 
as well. Definitely not as convenient as the report in our app, but a 
viable work-around.


See my original post for the executionContexts and the specific error.


On 8/8/2022 7:56 PM, Bob Sneidar via use-livecode wrote:

Nope I take that back it's lines. I remember now wondering why that was.

Bob S



On Aug 8, 2022, at 16:53 , Bob Sneidar  wrote:

I believe dgProp ["columns"] is a comma delimited list.

Bob S



On Aug 8, 2022, at 09:26 , Paul Dupuis via use-livecode 
 wrote:

A customer encountered the following execution error (below) in our app (built on 
Livecode 9.6.7, MacOS 12.5). This error is occurring in the scrips for the Datagrid 
itself, rather than our code. At the end, it is one of our handler, 
"populateMe", where line 139 is where the error starts.
Line 139 set the dgProp["columns"] of grp "rwMatrixObj_DataGrid" to tColumnNames


___
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