Monday, June 4, 2018

All Memory Leaks Crushed and the Start of a new Feature

Date: 6/4/2018

Author: Tyler Murray

In the previous week I was successful in getting all the memory leak clean on Linux side, thus being the last piece in the puzzle for cleaning all the memory leaks. Release R4F is now out for user use that not only contain memory leak fixes, but many GAudio bug fixes too. After this my next task is to add a simple feature where the user can call a function "GetLastEvent" to get the last event that was called by the winproc() and be able to use this function to determine the states for the window.

My goal/plan for this week is to finish this feature and have it work on all platforms, then preform a release. Currently i'm running into a bug where the Maximize and Resize events will only be called if certain conditions are met. For an example if you minimize then maximize you would think the last event would be "Maximize" but its "Resize". To get the Maximize event after you call minimize you will then have to change the window style to Windowed Boarder then call maximize. I hope I can fix this problem without needing to follow these conditions. If I can get finished on Windows it will be a nice base to go by when working on Linux since it has a similar function like Windows that runs like winproc(). Mac side maybe another story, needing to do more research on that.

No comments:

Post a Comment