@all
After a while ported LibMaker as well!
Don't skip, its more than just generator :) You can save/load "projects", so you always can remove/add new functions/arguments/etc to your library. Original part from readme:
Quote:
LibMaker is a GUI based tool generating code skeletons of shared libraries. As such it is the successor of old ChocolateCastle program. After entering specifications of a library and its set of function, LibMaker generates a complete, ready to compile project template, with makefile and standard include files. Version 0.11 can generate a shared library skeleton for MorphOS or for AmigaOS 3 (M68k). Defined library projects may be saved for later reuse or adding new functions. LibMaker preserves existing functions, so library can be developed incrementally. The program features extensive bubble help, so there is less need to look at the manual. Future versions of the program will handle BOOPSI and MUI classes, as well as generation of code for AmigaOS 4.
The code generation is performed by Lua scripts, which may be modified by users. New scripts can be added without program recompilation, for example using SDI macros, or generating static libraries.
Porting wasn't very easy, as it based on morphos lua implementation, where it implemented as shared library (lua.library), and all the functions are morphos specific (through most of them are the same equavalents of originals). So what i do in end:
-- make it builds for os4: relevant makefile for os4, rewrite hooks and dispatchers, added missing functions and so on.
-- replaced all lua.library morphos functionality on usual lua's ones which inbuild staticaly to binary.
-- fixed a bit lua scripts so they works on os4. Changes are just remove of "require('base')" as on morphos that module done as shared one, and have no needs to be required on os4 version of statically builded lua.
-- os4 version of stack cookie
-- added code to have iconification on WB with app's icon and not with default mui one.
-- os4 native icons
-- fixed some mui related bugs with help of Thore (like transparency of some checkmark objects, trashed memory in some situations and co).
-- usuall stuff which make no sense to point out.
Through, currently it generate libraries skeletons for OS3 and MORPHOS only, adding of AOS4 support there is kind of trivial, just need to make the same lua script (see libgen.lua in os3 or mos scripts directory). And if anybody can help me with, that will be helpfull. Adding AOS4 button for generator will be trivial.
There is:
http://kas1e.mikendezign.com/aos4/LibMaker_01.lha Also,
New version of ChocolateCastle:
- Fixed transparency of some checkmark objects, thanks Thore
- Added italian catalog by Samo
There is:
http://kas1e.mikendezign.com/aos4/ChocolateCastle_02.lhaAlso, all source code with aos4 changes uploaded to my github acc:
https://github.com/kas1e/mui_ports_to_os4 , from where if all will be going well Krashan will integrate to latest versions of his apps. But in meantime for checking and maybe for learning purposes that can be helpfull.
Everything done with "amigaos4 ifdefs", so it is easy to see what i change.
Enjoy !
Edited by kas1e on 2017/2/10 19:44:59