Rev |
Age |
Author |
Path |
Log message |
Diff |
793 |
3916d 09h |
werner |
/branches/port_qt5_64bit/src/ |
Move from QScriptEngine to QJSEngine (=V8). Most of the stuff was quite smooth, but there are some open issues.
• Global functions (“print”, “include”, “alert”) are commented out (could be solved by moving functions to the “Globals” object and by creating alias JS-functions, i.e. function alert(x) {Globals.alert(x); } )
• Object creation: “new XXX”, XXX=ClimateConverter, CSVFile, … does not work now
possible solution: factory-pattern (i.e. var csv = Globals.newCSV()) |
|
779 |
4040d 10h |
werner |
/branches/port_qt5_64bit/ |
|
|
701 |
4579d 02h |
werner |
/trunk/src/ |
Kickoff for the implementation of the wind module. It started with copying the stuff from the fire module.
This commit includes the basic framework (i.e. plugin, ...), some basic drawing and a first version of the "edge-detection" (which is copied from the seed dispersal routine). Promising... |
|
674 |
4623d 07h |
werner |
/trunk/src/ |
added scripting capabilities (JavaScript) to the "Modules". Now a module can add own objects/properties to the global javascript object. The fire module adds a "FireScript" ("Fire" in JS) object that can be used e.g. to manually "ignite" fires. |
|
671 |
4623d 11h |
werner |
/trunk/src/ |
Necessary changes for GPL licence (i.e. headers in all source files) |
|
649 |
4763d 04h |
werner |
/trunk/src/ |
the fire module is growing functional, which actually means: the Interfaces/plugin/thingy is getting more stable ;)
Now the fire module can: calculate drought indices and even start a fire event.
Nice: the mechanism to push grids from the model to the GUI for means of visualization works like a charm. |
|
646 |
4764d 12h |
werner |
/trunk/src/ |
reorganized the fire module code and other stuff.
* added new interfaces and linked some of them already (setup(), ...)
* separated the plugin from the implementation (fireplugin.h vs. FireModule)
* worked on finding a way to create "layeredgrids" (how to avoid the templates...)- i have a solution now but still not sure if it really works |
|
645 |
4769d 08h |
werner |
/trunk/src/ |
Fire disturbance: started fire drought index calculation. Still not sure how to design the plug in system... |
|
641 |
4771d 04h |
werner |
/trunk/src/ |
started development of the plugin / module system.
this includes playing around with qmake and the QPluginLoader.
Now the plan is to build a static library for each module and use the Qt mechanism to load them. The fire module is a kind of a test pilot - lets see how the needed interfaces etc. develop. |
|