Commit Graph

418 Commits

Author SHA1 Message Date
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
8a3721dc53 Fix reference counting issue of the LayerSettings inside the
GdsOutputRenderer class.

The LayerSettings element is now disposed of properly.
2019-08-23 21:58:02 +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
cae6a9c6c3 LayerSettings: Fix memory leak: GList of layer infos was not freed. Add
dispose to LayerSettings which takes care of this task.
2019-08-23 21:38:59 +02:00
fe98499ce7 Enable Release build in PKGBUILD and also use this configuration in the compilation guide 2019-08-23 18:21:25 +02:00
d5dde3658d Enable Release build in PKGBUILD and also use this configuration in the compilation guide 2019-08-23 18:19:46 +02:00
b6bf0c30bf Fix uninitialized variable warning 2019-08-22 19:37:26 +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
a10c09c674 Add preliminary status upograde outputs to cairo and latex renderers 2019-08-22 18:56:18 +02:00
a0d19bee39 Add progress updated callback to gui to update titlebar 2019-08-22 18:55:56 +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
32b8c4ccd3 Add simple multithreading support. Activity bar is not yet used for rendering status updates 2019-08-21 19:30:52 +02:00
1584769a51 fix deadlock in mutex usage 2019-08-21 19:30:19 +02:00
dc4b377b13 Add preliminary set_busy fuinction to activity bar 2019-08-21 19:29:22 +02:00
08722cd6f9 Add function in GUI to determine the current button states to prevent multiple triggers for rendering/reloading the library during rendering 2019-08-21 18:34:40 +02:00
4b238c55ea Replace 0 by 0.0 for double value comparison. This is nicer. 2019-08-20 22:42:44 +02:00
1b62427770 Merge branch 'multithread-dev' into dev
Current progess: Changed output renderers to GObjects derived from a base class. Furthermore, added base structure for future multithreading
2019-08-20 19:05:58 +02:00
85f037ce59 Fix #19: Renderers are now implemented as objects. Implementation of asynchronous functionality can begin. Feature needs further testing to be considered stable 2019-08-20 19:05:14 +02:00
92506485e0 Output renderer base class: Fix wrong assigned property name 2019-08-20 19:03:59 +02:00
3ec91ab322 Cairo Renderer: Fix bug introduced in 3ffd63115f due to the introduction of the LayerSettings class 2019-08-20 19:01:03 +02:00
92da653368 Merge branch 'dev' of git.shimatta.de:mhu/gds-render into dev 2019-08-20 18:14:32 +02:00
a38946b803 LayerSelector: Rewrite layer_selector_export_rendered_layer_info() to return LayerSettings object. 2019-08-20 18:12:40 +02:00
943e924337 gds-parser.h: Fix typo 2019-08-20 18:12:09 +02:00
e0f2e7d605 gds-parser.h: Fix psoition of ifdef guards compared to doxygen group 2019-08-20 18:11:38 +02:00
bd64e13d87 GUI: render callback: Remove unnecessary variable layer_list 2019-08-20 18:09:15 +02:00
0123385b40 Command line: Improve code style in function 2019-08-20 18:08:15 +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
0d0b692960 Fix memory leak in color palette due to missing dispose function 2019-08-19 19:52:50 +02:00
c2323ab43d Fix typo 2019-08-19 19:51:40 +02:00
7fa769806a Merge branch 'master' into dev 2019-07-26 22:05:17 +02:00
17c9d088cc Merge branch 'master' into output-renderer-rework 2019-07-03 21:35:18 +02:00
5f40f148b6 Update doxygen: Windows compilation 2019-07-03 21:33:16 +02:00
86566a038f Update version information in Compilation doxygen site 2019-07-03 21:14:17 +02:00
4ca1f75813 Fix typo 2019-06-22 14:20:00 +02:00
4d2f3b0d70 Issue #19: Restructure code 2019-06-22 14:17:08 +02:00
ed37fc0222 Issue #19: Fix bug in Latex renderer 2019-06-22 14:16:51 +02:00
d4f14c52ed Issue #19: Replace g_errors because these errors are not fatal 2019-06-22 14:04:11 +02:00
58d3f5c57c Fix function prototype description for external renderer 2019-06-22 14:03:33 +02:00
2510a54aac Fix compiler warning about uninitialized variable 2019-06-22 01:28:58 +02:00
02a59c4cc5 Merge branch 'dev' into output-renderer-rework 2019-06-22 01:27:25 +02:00
40c4c8b4fb Fix compiler warning about uninitialized variable 2019-06-22 01:27:03 +02:00
01c9701492 Issue #19: Implement first draft of command line rendering (synchronous-mode). Not yet fully tested!! 2019-06-22 01:21:26 +02:00
01ab56e07a Issue #19: Remove unused variable from layer settings 2019-06-22 01:20:45 +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
31c4efe99b Update GUI image in doxygen documentation to show new button style 2019-06-19 20:57:07 +02:00
f5bc8de86e Issue #19: Edit usage site in doxygen because the command line parameters have severly changed 2019-06-19 20:50:12 +02:00
d107954859 Issue #19: Finish integration of renderers to into command line interface 2019-06-19 20:47:19 +02:00