* FH7 - Testing homemade plugins

For users to report plugin bugs and request plugin enhancements; and for authors to test new/new versions of plugins, and to discuss plugin development (in the Programming Technicalities sub-forum). If you want advice on choosing or using a plugin, please ask in General Usage or an appropriate sub-forum.
Post Reply
avatar
shoshk
Famous
Posts: 242
Joined: 13 May 2015 16:28
Family Historian: V7
Location: Mitzpe Jericho, Israel

FH7 - Testing homemade plugins

Post by shoshk » 11 Dec 2020 06:28

Hi all,

I'm getting ready to test the (more than I thought) plugins that I have written over the years.

I'll being going through and checking the items mentioned in the Plugin help 'Converting Lua 5.1 plugins to Lua 5.3.'

Is IUP 3.28 backwards compatible with the previous version of IUP? Am I going to need to make changes here?

Since notes are now rich text, I'm assuming that I will need to convert all instances of note handling.

I'd appreciate hearing from others who have already been doing this. What other kinds of general problems did you find?

Thanks,
Shosh
Shosh Kalson

User avatar
tatewise
Megastar
Posts: 27082
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: FH7 - Testing homemade plugins

Post by tatewise » 11 Dec 2020 10:31

I have attached +a Backwards Compatibility Code Snippets.fh_lua which is my annotated crib sheet for updating plugins.
[ EDIT: Attachment deleted as now covered in KB. ]

There are a few backwards compatibility issues with both Lua and IUP but whether they affect your plugins is TBD.

If anything in the crib sheet is unclear just ask.

BTW: Where did you find that Plugin help for converting. I search the new KB for that and found nothing.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
shoshk
Famous
Posts: 242
Joined: 13 May 2015 16:28
Family Historian: V7
Location: Mitzpe Jericho, Israel

Re: FH7 - Testing homemade plugins

Post by shoshk » 11 Dec 2020 11:00

Hi Mike,

Thank you for the crib sheet.

I'm referring to the 'How to write plugins' help accessed from the plugins screen in fh.

Regards,
Shosh
Shosh Kalson

User avatar
tatewise
Megastar
Posts: 27082
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: FH7 - Testing homemade plugins

Post by tatewise » 11 Dec 2020 11:58

Ah, yes! I'd overlooked that, but unfortunately, it is incomplete and contains mistakes.

Hopefully, before too long, there will be a KB page covering the topic.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
ColeValleyGirl
Megastar
Posts: 4853
Joined: 28 Dec 2005 22:02
Family Historian: V7
Location: Cirencester, Gloucestershire
Contact:

Re: FH7 - Testing homemade plugins

Post by ColeValleyGirl » 11 Dec 2020 12:04

I've set aside this afternoon to make a start on updating the Plugins section in the KB.

Post Reply