Search found 14 matches

by mdoub
Wed Mar 25, 2015 11:06 pm
Forum: LiveCode Builder
Topic: LCB Debugging Strategies
Replies: 9
Views: 32255

LCB Debugging Strategies

I am clearly spoiled by having used the LCS environment for so long. What are the recommended debugging strategies to be used when developing complex libraries? Are there any LCB debugging tools in the roadmap?

-= Mike
by mdoub
Tue Mar 24, 2015 2:33 pm
Forum: LiveCode Builder
Topic: Foreign handlers
Replies: 6
Views: 6671

Re: Foreign handlers

Thanks Mark. I figured that it was still very early in the implementation and this is one of the more complicated areas. I do think that you are going need a mechanism to allow the user to specify the path to the desired library. It might be reasonable to make assumptions of the locations of the sys...
by mdoub
Sun Mar 22, 2015 9:29 pm
Forum: LiveCode Builder
Topic: Foreign handlers
Replies: 6
Views: 6671

Re: Foreign handlers

@ Mark I am also interested in the taking advantage of the ability to build wrappers to get access to native libraries. Can you elaborate a bit on how this is envisioned to work at the architectural level. I think I see what you are trying to do at the language level with the data type bindings. Wha...
by mdoub
Fri Dec 12, 2014 3:57 pm
Forum: Raspberry Pi
Topic: Raspberry Pi GPIO
Replies: 18
Views: 43311

Re: Raspberry Pi GPIO

I have added some routines that will do Raspberry Pi GPIO to my MasterLibrary. There are instructions for getting around the permissions issue in the comments.

Enjoy...

https://www.dropbox.com/s/3wpwn3hfbmpl7 ... ecode?dl=0
by mdoub
Wed Dec 03, 2014 5:25 pm
Forum: Feature Proposals
Topic: New Field Property for accurate rendering information
Replies: 10
Views: 5528

Re: New Field Property for accurate rendering information

Here is a link to my MasterLibrary. Field formatting is an area that you can test forever, but I think it is good enough to share If there is a corner case that I missed, please let me know. https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 I included a soft break function as wel...
by mdoub
Wed Dec 03, 2014 4:06 pm
Forum: Feature Proposals
Topic: New Field Property for accurate rendering information
Replies: 10
Views: 5528

Re: New Field Property for accurate rendering information

I am very happy to say that I was proven wrong. We ARE able get the information needed to understand how the engine calculated the soft line wraps. Many thanks to Bernd for his tip. If you put the formattedtext of a line that has be wrapped into a variable, the variable will contain the text of each...
by mdoub
Tue Dec 02, 2014 6:18 pm
Forum: Feature Proposals
Topic: New Field Property for accurate rendering information
Replies: 10
Views: 5528

Re: New Field Property for accurate rendering information

I was contacted directly with an idea that I will explore further. Apparently we can put the formattedText of a line of a field into a variable and it will retain the soft wrap characteristics of the original line. We might be able to derive the formatting information of each soft line as we should ...
by mdoub
Tue Dec 02, 2014 2:19 am
Forum: Feature Proposals
Topic: New Field Property for accurate rendering information
Replies: 10
Views: 5528

Re: New Field Property for accurate rendering information

Craig, you are correct. All lines don't have returns. So much for my specification writing career. The work that I did trying to address the Scrolling in a Field was a big part of the research that worked up to this proposal. I rarely use fields with fixed line heights to line wrapping is a big deal...
by mdoub
Mon Dec 01, 2014 10:04 pm
Forum: Feature Proposals
Topic: New Field Property for accurate rendering information
Replies: 10
Views: 5528

New Field Property for accurate rendering information

I would like the forums assistance in flushing out a enhancement request proposal that I would like to make to the development team. Because of a bug in the pageranges function where it did not take into account the spaceabove and spacebelow properties, i attempted to do this manually. I quickly lea...
by mdoub
Tue Nov 18, 2014 6:44 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Scrolling a field
Replies: 15
Views: 12034

Re: Scrolling a field

A few of the solutions in the thread don't take into account a bug in livecode where the spaceabove and space below properties are not taken into account. Specifically (put the formattedHeight of line 1 to tLOS of fld 1 into tScroll) is a problem and it has been reported. Here is my generalized solu...
by mdoub
Thu Oct 09, 2014 7:03 pm
Forum: Raspberry Pi
Topic: Raspberry Pi GPIO
Replies: 18
Views: 43311

Re: Raspberry Pi GPIO

Is there anything you need to do regarding permissions? I seem to be able to do step ! successfully, but I get a folder not found error when I attempt step 2. The interesting part is that when I do this from the terminal it all seems to work fine. I am just having difficult doing it thru livecode. P...
by mdoub
Sun Nov 27, 2011 4:47 pm
Forum: iOS Deployment
Topic: dg first row
Replies: 1
Views: 2411

Re: dg first row

Take advantage of the dgVScroll scroll property of the datagrid. When the grid is initialized it is set to 0 and the first line is at the top.
by mdoub
Tue Apr 24, 2007 2:45 am
Forum: Databases
Topic: Don't find SQLite in 2.8.1 Beta
Replies: 6
Views: 9054

SQLite

It looks like Sqlite 3.2.8. This is a bit dissapointing as it is over 2 years old. :(
by mdoub
Mon Apr 23, 2007 1:37 am
Forum: Databases
Topic: Don't find SQLite in 2.8.1 Beta
Replies: 6
Views: 9054

What version of SQLite is supported?

What version of SQLite is supported in Rev? 3.x I hope. Anyone know for sure?