Commit Graph

21 Commits

Author SHA1 Message Date
00d02b8291 Issue #36: Fix possible memory leak of async status message, if rendering finishes, before message could be displayed 2020-04-03 20:53:32 +02:00
de9066f181 Add translation markers to all messages except for the gds parser's messages 2019-12-12 21:22:14 +01:00
4970585cee Remove call to g_task_set(). It is not available under debian 2019-11-19 01:33:44 +01:00
2e8e258b49 Style improvements 2019-10-25 21:16:31 +02:00
94ef879a94 Refactoring: rename progress update func of output renderer to gds_output_renderer_update_async_progress() 2019-09-28 23:16:48 +02:00
977547d91d Enable status upgrades from Cairo renderer to activity bar. 2019-09-28 23:16:48 +02:00
3489b74027 Add warning about unused parameters to CMake config and fix code accordingly 2019-08-26 20:01:32 +02:00
ea27443b39 Fix #21: Rename layer-info files to layer-settings 2019-08-24 14:17:24 +02:00
a2bcda6752 Update doxygen 2019-08-24 13:50:55 +02:00
17af08b04d GdsOutputrenderer: progress-changed signal: Status message is now freed inside the GdsOutputRenderer.
This is safe because the signals are handled back to back inside the emit function. Therefore, it can be freed directly after emission. This solves the problem of the status message not being freed if no handler is connected to the signal.
2019-08-24 13:49:33 +02:00
94ac44ddc5 Set task name of rendering GTask 2019-08-23 21:50:16 +02:00
1cbacef56c Fix reference counting issue of the LayerSettings inside the
GdsOutputRenderer class.

The LayerSettings element is now disposed of properly.
2019-08-23 21:40:21 +02:00
c908a8be47 Fix bug in progress update from rendering thread which results in the creation of multipe idel callbacks at the same time. 2019-08-22 19:31:47 +02:00
7aa7a0c773 Fix unnecessary whitespace 2019-08-22 19:01:45 +02:00
4115fd97af Add progress updated signal to gds output renderer that can be used when called asynchronously 2019-08-22 18:55:14 +02:00
1584769a51 fix deadlock in mutex usage 2019-08-21 19:30:19 +02:00
92506485e0 Output renderer base class: Fix wrong assigned property name 2019-08-20 19:03:59 +02:00
a4f9be1ef4 Add async rendering option. Not yet functional 2019-08-19 20:39:25 +02:00
731e377b6e Implement new layer rendering object and add it to the CLI. 2019-08-19 19:54:53 +02:00
3ffd63115f Issue #19: Add LayerSettings Class
* Remove Command line and GUI rendering code
* Add LayerSettings Class with all options
* Prepare to remove mapping parser. Is now integrated in LayerSettings
* Adopt all renderers to check if the supplied layer_info struct has to be rendered.

Further todos:
* Implement correct command line parsing.
* Implement Layerselector and GUI to use new LayerSettings class
2019-06-21 21:41:38 +02:00
302d462cda Issue #19:
Create a base class GdsOutputRenderer with a virtual function render_output,
which can be derived by the different output renderers.
2019-06-17 22:59:27 +02:00