Search found 429 matches

by bwmilby
Sat Mar 06, 2021 9:03 pm
Forum: iOS Deployment
Topic: IOS Deployment
Replies: 11
Views: 6038

Re: IOS Deployment

You can also use XCode to manage test certificates if not a paid Dev. You will need to create a project in XCode and set a few options (match the info used in LC) and let it manage the certificate. You need to renew it every week, but it is good enough to test on device. You will also need to select...
by bwmilby
Thu Feb 25, 2021 10:55 pm
Forum: Windows
Topic: Line endings when copying & pasting to notepad
Replies: 4
Views: 5570

Re: Line endings when copying & pasting to notepad

You could try this: -- PR 6293 for bug 19206 should mostly eliminate the need for this -- handler since the developer can specify what type of data to copy. -- This handler will copy the UTF8 plain text representation off the -- clipboard, clear the clipboard, and place that representation back -- a...
by bwmilby
Tue Feb 09, 2021 10:35 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: A question about call by reference
Replies: 23
Views: 10413

Re: A question about call by reference

Bernd,
That is a not-so-insignificant improvement. I wonder if that would be something to suggest to the team as an improvement? I have not looked at the code in that handler though.
Thanks,
Brian
by bwmilby
Sun Feb 07, 2021 11:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: A question about call by reference
Replies: 23
Views: 10413

Re: A question about call by reference

Probably a question for LCMark. I'll try... the type of data that you are passing is immutable and the handler requires a mutable variable. Try it with any other constant and you get the same thing. When the interpreter gets to setting up the call to testhandler, it is trying to create a pointer to ...
by bwmilby
Sun Feb 07, 2021 7:23 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: A question about call by reference
Replies: 23
Views: 10413

Re: A question about call by reference

That is what I was saying. The @ means that you must use a variable when calling the function/handler.
by bwmilby
Sun Feb 07, 2021 5:31 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: A question about call by reference
Replies: 23
Views: 10413

Re: A question about call by reference

In another script are statements to create a new instance of the class and then get mBeta from that instance for the purpose of using it as a parameter to handler MyHandler . Something like this: ... put newClassName() into tInstanceVariable ... MyHandler getBeta(tInstanceVariable), tOtherParameter...
by bwmilby
Mon Feb 01, 2021 10:27 pm
Forum: iOS Deployment
Topic: Problem with iPad test
Replies: 1
Views: 1978

Re: Problem with iPad test

Generally I will start the proper emulated device before attempting to test from LC. So, from Xcode I would launch the simulator and then launch the correct device/OS combination that I wanted to test on.
by bwmilby
Sat Jan 23, 2021 1:52 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: "split as set" documentation mystifying
Replies: 6
Views: 3313

Re: "split as set" documentation mystifying

I think that “as set” is still part of the first form (where a delimiter is provided). I agree that the example should be moved. I’ll probably submit a PR on it this weekend unless someone else does it first.
by bwmilby
Sat Jan 23, 2021 12:12 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: "split as set" documentation mystifying
Replies: 6
Views: 3313

Re: "split as set" documentation mystifying

The second form comment is correct. The first form allows specifying the delimiter(s) and the second uses the rowDelimiter and the columnDelimiter.
by bwmilby
Sat Jan 16, 2021 10:35 pm
Forum: iOS Deployment
Topic: No matter the Launch image, I get 320x480
Replies: 2
Views: 2810

Re: No matter the Launch image, I get 320x480

Did you manually modify the plist at any point? If so, that could be retaining old splash screen info.
by bwmilby
Wed Dec 30, 2020 4:35 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Copying scripts to text file
Replies: 18
Views: 8914

Re: Copying scripts to text file

So at the moment I'm drafting the UI for this, a way to drop two different versions of a stack file into the window and review a list of property and script diffs, applying them selectively as one sees fit. This sounds very interesting. The goal of my tool is just to allow tracking of differences i...
by bwmilby
Tue Dec 15, 2020 3:09 pm
Forum: CGIs and the Server
Topic: JSON encoding / decoding for LiveCode only with livecode-script
Replies: 6
Views: 9835

Re: JSON encoding / decoding for LiveCode only with livecode-script

I’ve opened a few minor issues there. I can submit one or multiple PRs if needed (edits needed are very simple). Thanks for posting this code.
by bwmilby
Mon Nov 23, 2020 12:36 am
Forum: Engine Contributors
Topic: gyp debugging help?
Replies: 2
Views: 7673

Re: gyp debugging help?

It is part of the build system to actually compile the project (LC engine).
by bwmilby
Fri Oct 30, 2020 3:43 am
Forum: Software Engineering
Topic: if else vs switch
Replies: 14
Views: 24821

Re: if else vs switch

There is some code in use for LCFM that will eventually make it over to the main LC product that will improve switch performance in some cases even more. Probably wouldn’t make a difference unless you had a large number of options to check in the switch though. With that in mind, it probably would b...
by bwmilby
Thu Oct 29, 2020 2:14 pm
Forum: iOS Deployment
Topic: Suddenly resizing for a different size device
Replies: 20
Views: 11184

Re: Suddenly resizing for a different size device

iOS will automatically scale an app to fit the screen if designed for an older device. This comes from the days of the transition from 3GS to the 4 and the 4 to the 5. The size that the app is designed for used to be taken from the splash images. If you didn’t provide a splash for a certain size, th...

Go to advanced search