OS X document icon missing

2023-10-17 Thread J. Landman Gay via use-livecode
How do I force Finder to show a custom document icon? I've created .icns files for both the app 
and its documents. I entered a custom extension in standalone settings. In a built standalone 
the app icon appears normally but an associated stack document has only a generic blank icon.


I used Get Info to set the document stacks to always open with my app (and it does) but the 
icon still does not appear. The plist does contain the correct icon info and both .icns files 
are present in the app's Contents/Resources/ folder.


It looks like a Finder problem but relaunching Finder didn't fix it. Ideas?

LC 9.6.10.
--
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: All Versions of LC crashing in Sonoma

2023-10-17 Thread Bill Vlahos via use-livecode
Heather,

I appreciate your answer.

Thank you,
Bill Vlahos

> On Oct 16, 2023, at 3:31 AM, Heather Laine via use-livecode 
>  wrote:
> 
> Yes, that was the question I was answering.
> 
> Best Regards,
> 
> Heather
> 
> Heather Laine
> Customer Services Manager
> LiveCode Ltd
> www.livecode.com
> 
> 
> 
>> On 13 Oct 2023, at 18:58, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> Yes that is definitely the case.
>> 
>> But Bill asked if Apple will "fix that in Sonoma" so his old standalones 
>> will still work under Sonoma without building them again with 9.6.10 or 
>> 10.0.6. At least that was my understanding. ;) 
>> 
>> 
>> 
>>> Am 13.10.2023 um 18:32 schrieb Bob Sneidar via use-livecode 
>>> :
>>> 
>>> Heather, just to be clear, I was under the implression that 9.6.10 and 
>>> 10.0.6 WAS the fix for this. 
>>> 
>>> Bob S
>>> 
>>> 
>>> -Original Message-
>>> From: use-livecode  On Behalf Of 
>>> Heather Laine via use-livecode
>>> Sent: Friday, October 13, 2023 1:37 AM
>>> To: How to use LiveCode 
>>> Cc: Heather Laine 
>>> Subject: Re: All Versions of LC crashing in Sonoma
>>> 
>>> I don't think you can hope for that. It's not a bug, its a change in the 
>>> way they are implementing menus.
>>> 
>>> Best Regards,
>>> 
>>> Heather
>>> 
>>> Heather Laine
>>> Customer Services Manager
>>> LiveCode Ltd
>>> www.livecode.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


___
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: arrayToJSON on lc server

2023-10-17 Thread Ralph DiMola via use-livecode
I've been using fastJson. I do a "start using" to include it as a library. To 
date I have not had any problems encoding an LC array to JSON and decoding it 
to a JavaScript array on the client browser.

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 
Mike Kerner via use-livecode
Sent: Monday, October 16, 2023 11:03 PM
To: How to use LiveCode
Cc: Mike Kerner
Subject: Re: arrayToJSON on lc server

let's see: in the public repo, there's the json.lcb source:
https://github.com/livecode/livecode/blob/4606a10ea10b16d5071d0f9f263ccdd7ede8b31d/extensions/libraries/json/json.lcb#L4
also, references to the "fastjson" library:
https://github.com/bhall2001/fastjson

On Mon, Oct 16, 2023 at 10:49 PM Mike Kerner 
wrote:

> the externalfunctions doesn't seem to be returning anything for a 
> project i just opened (never tested it, before). that project has a 
> lot of standalone inclusions, some of which have external functions, 
> so i don't know if it means externals that are directly attached to 
> the stack (like old xcmd's/xfcn's).
> grasping at straws, because i'm not deploying to lc server on linux
> * i assume you manually included mergjson in your standalone (assuming 
> you're building your project). if not, try that.
> * have you tried embedding the source from the 
> mergJSONLibrary.livecodescript into your main stack and then stepping 
> through the code? it's available in the oss repo or any of the forks 
> of that repo. that's just the library, not the mergjsonencode 
> external, but it might get you closer.
> * if that doesn't work, there are at least two other oss lc json 
> codebases, the most popular being mark smith's, which, i think, is 
> what monte used when he wrote mergjson.
>
> On Mon, Oct 16, 2023 at 7:21 PM Neville Smythe via use-livecode < 
> use-livecode@lists.runrev.com> wrote:
>
>> I am having a problem with the function arrayToJSON on LC Server 
>> 9.6.10 pro (Linux host) (I couldn't get it to work on earlier 
>> versions either)
>>
>> I get the error
>>
>> Function: error in function handler (arrayToJSON) The mergJSON.so 
>> file is in the Externals folder, which resides in the same directory 
>> as livecode-server. Since revdb calls work, which I assume use the 
>> revdb.so library, evidently Externals are loading, and permissions 
>> for mergJSON.so are the same as for revdb.so.
>>
>> This is supposed to work out of the box, so I must be missing 
>> something obvious.
>>
>> BTW, the call "the externalFunctions of this stack" return empty - is 
>> that correct, should it not return the functions available in the 
>> Externals .so libraries?
>>
>> Neville Smythe
>>
>>
>>
>>
>> ___
>> 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
>>
>
>
> --
> On the first day, God created the heavens and the Earth On the second 
> day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
>


--
On the first day, God created the heavens and the Earth On the second day, God 
created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@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