Search found 171 matches

by livecodeali
Tue Apr 11, 2017 9:37 pm
Forum: LiveCode Builder
Topic: Unable to understand Java FFI example
Replies: 7
Views: 2101

Re: Unable to understand Java FFI example

It is not currently possible to compile your own class and call into it from LiveCode Builder - at the moment you can only use the java standard libraries. The battery percentage example is complicated by the hoops it has to jump through to get the Intent - probably better to look at the BigInteger ...
by livecodeali
Fri Mar 31, 2017 8:14 am
Forum: LiveCode Builder
Topic: Java Infinite LiveCode
Replies: 12
Views: 3246

Re: Java Infinite LiveCode

It seems that

Code: Select all

573,3,1,AddBigIntegers
also happens when the library is not loaded. The other numbers are slightly bizarre, in particular error 896 doesn't exist...

(ps you can make sense of the error code using

Code: Select all

put line 573 of the scriptexecutionerrors
)
by livecodeali
Fri Mar 31, 2017 8:07 am
Forum: LiveCode Builder
Topic: Java Infinite LiveCode
Replies: 12
Views: 3246

Re: Java Infinite LiveCode

OK, 219,3,11,GetBatteryPercentage 223,3,11 means the function was not found, i.e. the library is not loaded in the standalone. You could confirm this by checking the loadedExtensions in the standalone. I suspect there is just a problem with including the module. Note it will not be included automati...
by livecodeali
Fri Mar 31, 2017 7:59 am
Forum: LiveCode Builder
Topic: Java Infinite LiveCode
Replies: 12
Views: 3246

Re: Java Infinite LiveCode

Thanks for testing - I'll try and work out what's going on! They both work for me here, although I don't have a device at hand to test right now, just simulator.
by livecodeali
Wed Mar 29, 2017 3:49 pm
Forum: LiveCode Builder
Topic: Java Infinite LiveCode
Replies: 12
Views: 3246

Re: Java Infinite LiveCode

Regarding the error using the Java BigInteger class, the only reason I can think of why it wouldn't work would be that the value of JAVA_HOME was not set correctly (note the blurb about launching LC from the command line to make it work at the moment). We have scheduled an item to be done asap which...
by livecodeali
Wed Mar 29, 2017 3:43 pm
Forum: LiveCode Builder
Topic: Java Infinite LiveCode
Replies: 12
Views: 3246

Java Infinite LiveCode

Paul McClernan has had trouble getting the examples in my blog ( https://livecode.com/livecode-9-0-dp-6-infinite-livecode-preview/#comment-36573 ) to work, so here is a thread for ironing out any issues. Firstly, here is a single library that should add the GetBatteryPercentage function to the messa...
by livecodeali
Wed Mar 08, 2017 11:06 pm
Forum: LiveCode Builder
Topic: "Identifier 'ScriptObject' not declared"
Replies: 2
Views: 1310

Re: "Identifier 'ScriptObject' not declared"

Hi Dick,

The ScriptObject type is implemented in the (optional) engine module, so you'll need to

Code: Select all

use com.livecode.engine
to be able to use that code.
by livecodeali
Fri Feb 10, 2017 8:52 am
Forum: Engine Contributors
Topic: How is this test failing?
Replies: 8
Views: 2867

Re: How is this test failing?

I think the only way that could happen is if your lc-compile is out of date. Try trashing the cached build products (lc-compile, lc-bootstrap-compile, etc) and make all again.
by livecodeali
Mon Jan 09, 2017 10:44 am
Forum: Talking LiveCode
Topic: Random Sudden Quits in 8.1.2, Mac OS
Replies: 2
Views: 953

Re: Random Sudden Quits in 8.1.2, Mac OS

There have been some issues with setting player filenames, but IIRC they were on Linux only (http://quality.livecode.com/show_bug.cgi?id=14427).

Are you getting a crash log? If so, please file a bug report and attach it.
by livecodeali
Mon Nov 21, 2016 6:44 pm
Forum: Bug Triage
Topic: MCCodeunitEvalIsAmongTheCodeunitsOf not found
Replies: 6
Views: 2091

Re: MCCodeunitEvalIsAmongTheCodeunitsOf not found

Hi Hermann, The C++ implementation of MCCodeunitEvalIsAmongTheCodeunitsOf was indeed removed for 9.0 dp 2 - it was originally bound to the <String> is in <String> syntax but would never have been called anyway (see here: https://github.com/livecode/livecode/pull/4464/commits/19bc1a959428923fcc3bfe49...
by livecodeali
Thu Oct 27, 2016 3:41 pm
Forum: IDE Contributors
Topic: Proposal for changing a bit the Inspector
Replies: 6
Views: 2823

Re: Proposal for changing a bit the Inspector

An earlier iteration of the new property inspector had a 'subsection' concept, I think it would be possible to do it. Essentially it would just have to create a separate container group for each of the sections. The code is quite fiddly though (especially wrt resizing).
by livecodeali
Fri Oct 21, 2016 9:33 am
Forum: Engine Contributors
Topic: Proposal for changing a bit the Tools Palette
Replies: 18
Views: 6920

Re: Proposal for changing a bit the Tools Palette

Hi Mag,

That looks really great! I would love the tools palette to look like that. Some of your improvements are things we have intended to get done for a while, but I love the general design.
by livecodeali
Thu Oct 06, 2016 8:26 am
Forum: Engine Contributors
Topic: colornames
Replies: 4
Views: 2194

Re: colornames

The mapping from engine color names to rgb values and back again in the text files is only used for translating to and from RGB values when interfacing between LCS and LCB (see http://quality.livecode.com/show_bug.cgi?id=16011). I hadn't noticed that they are now not up to date because of https://gi...
by livecodeali
Wed Oct 05, 2016 11:33 am
Forum: LiveCode Builder
Topic: Documentation
Replies: 7
Views: 1994

Re: Documentation

It is also part of the auto-generated user guide pdf (Help -> User Guide), although beware http://quality.livecode.com/show_bug.cgi?id=18479 - the user guide generation failed in 8.1.1-rc-1 Indy & Business
by livecodeali
Tue Oct 04, 2016 5:03 pm
Forum: Engine Contributors
Topic: colornames
Replies: 4
Views: 2194

Re: colornames

The text files are there so that the IDE knows how the engine maps colour names to colours and vice versa. The reason they were moved in the first place is that they used to reside in custom properties of an IDE stack that was subsequently scriptified. Your B is indeed the ideal solution, but it did...

Go to advanced search