Giter Site home page Giter Site logo

mui_ports_to_os4's Issues

LibMaker: need find out a way how to keep "require('base')" in lua code

Currently, lua generation scripts have at top:

require('io')
require('string')
require('base').

On morphos they all done as separate shared modules, which loads only when lua code call them. On aos3 and aos4, 'io' and 'string' code are inbuild staticaly, but 'base' module are pure morphos's module, which isn't present on any other oses.

So, to keep compatibility with morphos, we need to find a way how "ifdefs" that require('base') string, so for morphos it will be in use, for aos3/aos4 is not. Lua may not have analogue of such directives (need checking), so need to think how to deal with if lua not have that.

ChocolateCastle frees iconification icon in wrong method

According to http://www.amigans.net/modules/xforum/viewtopic.php?post_id=105942#forumpost105942 a crash happens when closing a project window. This happens, because the icon is freed for every removed code generator in the CAAM_RemoveGenerator method, even while the icon is still in use by the application. Even worse, once freed the icon pointer is NOT set to NULL so that the next invokation of the method will free it again.

Since the icon is obtained during OM_NEW it would be better to implement a dedicated OM_DISPOSE method and free the icon there and only once.

LibMaker: add amigaos4 library generation

Need to add libgen.lua and all those skeleton files for aos4 library generation code.

Also, probably worth to structure items for the generate button in that way: if we compile it for morphos, then by default button morphos, if compiled for os4, then by default os4 button, of for os3, os3 button.

So making that mean 2 parts : a little change mui code, and create lua generation scrpt with all that skeleton's codes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.