Before we can start coding on Amiga specific classes, we first had to do some work on the object model of Neat. As with a lot of frameworks, we needed a base object, in our case, called “NObject”. At this moment, it does not have much functionality. A very important step was to make a static “instance container”, which keeps track of all objects created in your code. With the static method “NObject::FindObject()” you can trace back any instance of an object by its name. We will implement some more helper functions for instance tracking later, but this first one is just there to give you an idea of what we are doing. Please check the documentation for an example on this method. NObject is not in the framework version 0.8 which went public last week. It will take some more time to make it public, so check our weekly announcement update here to see if you can start using it.
NObject first implementation steps
February 21st, 2010What is going to happen the next weeks…
February 10th, 2010After accomplishing “the basics”, we are now going into more “Amiga-like” things. The next steps will be going towards files and sockets. Together with these “IO” classes, we will also be working on task and process classes, to automate the use of tasks and processes on the Amiga. I think IO and this “multitasking” thing will go hand in hand. Starting from this moment, a lot of research and testing has to be done on the Amiga, so I presume it will take a bit of time until you can see the result in new “Neat” classes. Have some patience, we are working very hard on these matters. We want rock solid classes (as usual), and this cooking will definitely take some time. Please make a weekly visit, I will get you posted in the general announcements, and if some work has been done, you will find the new classes (as usual) in the class announcement section.
Updated class NMath
February 10th, 2010I invested some efforts in NMath. All C and C++ math operations are implemented as static functions. A new exception was created, called “NArithmeticException”. This exception will make sure things like trying to divide by zero are caught. On some other methods, the NArithmeticException will also be raised if the result is infinite, nan, … Now you can catch runtime errors on mathematic operations in your code by simply catching this exception and react on it, without an abrupt termination of your application (and possible loss of data).
New class NDateTime
February 7th, 2010Another effort is accomplished. Based on NDate and NTime, I created NDateTime. It will combine functionality of date and time functions, allowing you also to do conversions from localtime to utctime, etc…
New Class NTime
January 31st, 2010I have to admit, it was overdue. But finally it is done. NTime ready for usage.
New class NDate
January 17th, 2010It is done as promised. NDate ready for use. The NDate class will open up a lot of possibilities calculating, creating and checking dates in your Amiga development projects. It was a major job, so I hope you will have a lot of fun with it!
Update on distcode
January 17th, 2010Users of the “distcode” package should now update to V0.93.b. This update solved the binding problem of the server socket on linux. The -lport will now automatically be increased if the last port is still in TIME_WAIT. You will not need to adapt the sysctl.conf file of your linux distribution anymore. We strongly advice to use this new version, because the update of your sysctl.conf file will open a security issue (DOS attacks possible) on your local linux machine.
NDate coming up soon
January 15th, 2010No new classes this week. Actually, we are working hard on the NDate class. As you probably know (or not), date calculations can be a pain in the *ss, a lot of research had to be done to get information on the internals of date calculations. God, one could write a whole book about it. Anyway, we are working hard on this one, including the localisation of weekday and monthnames from the local settings of your Amiga. As soon as we get it up and running, we will also run a couple of tests against AOS 4.1 update 1 to see everything is OK (as soon as we can obtain it from Hyperion, because this morning at 9:19 the site was still down). So please come back and visit us again, we will keep you informed.
New template class NMultiMap
January 9th, 2010Derived from NMap, this class will enable you to save multiple key/value pairs with the same key.
Some extra methods and operators were added too.
New template class NMap
January 9th, 2010We added a new template class NMap, which is a template class to hold pairs of keys and values.
A lot of usefull functions are implemented in NMap, such as lookup key to value (or vice versa), get list of keys or values, …
As with the STL, maps cannot hold duplicate key values. Instead use NMultiMap which will be published soon.