This week went by pretty fast but I was able to get a lot accomplished. Things that were completed include:
- New save/load scheme for objects - persistence files are only created after an object is saved, not when the object is created in the RDE.
- Made saving objects work correctly, which included implementing primitive modification detection for objects. This will be made more elegant in the future as right now it's a rather simplistic and ugly way of doing things.
- Made all of the object editing panels load from XRC files to make it easier to get more complex layouts of widgets and modify the layouts later.
- Made it possible to view and edit the TPCL Cost functions associated with the Properties that Components affect.
- I imported the Minisec Components and Properties and made it its own project to test code generation with.
- Got code generation working for tpserver-cpp. This involved getting tpserver-cpp to compile in the first place, which was somewhat frustrating. But once that was done code generation went along without all too much of a hitch, just a few typos that were easily fixed.
- Added the Category object to the RDE and gave it code generation support. This is incomplete at the moment and will require editing of tpserver-cpp to provide support for multiple categories on an object.
My plans for the following week are as follows:
- Fix performance issues with panels being loaded. Right now processor usage spikes to insane levels. I'm pretty sure this is due to STC's being generated for every panel at every change in object selection, so it won't be too hard to fix.
- Adjust code generation so that the code that it can be used by making only one function call.
- Work on supporting multiple categories in both the RDE and tpserver-cpp
- Whatever else comes up throughout the week. I'm quite satisfied with the progress that I made at this point, with the midterm approaching in one week's time. I'll be looking just to polish things up before moving on to working on a TPCL expression editor.
-Fro
No comments:
Post a Comment