Commit Graph

460 Commits

Author SHA1 Message Date
Mario Hüttel 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
Mario Hüttel 7aa7a0c773 Fix unnecessary whitespace 2019-08-22 19:01:45 +02:00
Mario Hüttel a10c09c674 Add preliminary status upograde outputs to cairo and latex renderers 2019-08-22 18:56:18 +02:00
Mario Hüttel a0d19bee39 Add progress updated callback to gui to update titlebar 2019-08-22 18:55:56 +02:00
Mario Hüttel 4115fd97af Add progress updated signal to gds output renderer that can be used when called asynchronously 2019-08-22 18:55:14 +02:00
Mario Hüttel 32b8c4ccd3 Add simple multithreading support. Activity bar is not yet used for rendering status updates 2019-08-21 19:30:52 +02:00
Mario Hüttel 1584769a51 fix deadlock in mutex usage 2019-08-21 19:30:19 +02:00
Mario Hüttel dc4b377b13 Add preliminary set_busy fuinction to activity bar 2019-08-21 19:29:22 +02:00
Mario Hüttel 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
Mario Hüttel 4b238c55ea Replace 0 by 0.0 for double value comparison. This is nicer. 2019-08-20 22:42:44 +02:00
Mario Hüttel 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
Mario Hüttel 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
Mario Hüttel 92506485e0 Output renderer base class: Fix wrong assigned property name 2019-08-20 19:03:59 +02:00
Mario Hüttel 3ec91ab322 Cairo Renderer: Fix bug introduced in 3ffd63115f due to the introduction of the LayerSettings class 2019-08-20 19:01:03 +02:00
Mario Hüttel 92da653368 Merge branch 'dev' of git.shimatta.de:mhu/gds-render into dev 2019-08-20 18:14:32 +02:00
Mario Hüttel a38946b803 LayerSelector: Rewrite layer_selector_export_rendered_layer_info() to return LayerSettings object. 2019-08-20 18:12:40 +02:00
Mario Hüttel 943e924337 gds-parser.h: Fix typo 2019-08-20 18:12:09 +02:00
Mario Hüttel e0f2e7d605 gds-parser.h: Fix psoition of ifdef guards compared to doxygen group 2019-08-20 18:11:38 +02:00
Mario Hüttel bd64e13d87 GUI: render callback: Remove unnecessary variable layer_list 2019-08-20 18:09:15 +02:00
Mario Hüttel 0123385b40 Command line: Improve code style in function 2019-08-20 18:08:15 +02:00
Mario Hüttel a4f9be1ef4 Add async rendering option. Not yet functional 2019-08-19 20:39:25 +02:00
Mario Hüttel 731e377b6e Implement new layer rendering object and add it to the CLI. 2019-08-19 19:54:53 +02:00
Mario Hüttel 0d0b692960 Fix memory leak in color palette due to missing dispose function 2019-08-19 19:52:50 +02:00
Mario Hüttel c2323ab43d Fix typo 2019-08-19 19:51:40 +02:00
Mario Hüttel 7fa769806a Merge branch 'master' into dev 2019-07-26 22:05:17 +02:00
Mario Hüttel 17c9d088cc Merge branch 'master' into output-renderer-rework 2019-07-03 21:35:18 +02:00
Mario Hüttel 5f40f148b6 Update doxygen: Windows compilation 2019-07-03 21:33:16 +02:00
Mario Hüttel 86566a038f Update version information in Compilation doxygen site 2019-07-03 21:14:17 +02:00
Mario Hüttel 4ca1f75813 Fix typo 2019-06-22 14:20:00 +02:00
Mario Hüttel 4d2f3b0d70 Issue #19: Restructure code 2019-06-22 14:17:08 +02:00
Mario Hüttel ed37fc0222 Issue #19: Fix bug in Latex renderer 2019-06-22 14:16:51 +02:00
Mario Hüttel d4f14c52ed Issue #19: Replace g_errors because these errors are not fatal 2019-06-22 14:04:11 +02:00
Mario Hüttel 58d3f5c57c Fix function prototype description for external renderer 2019-06-22 14:03:33 +02:00
Mario Hüttel 2510a54aac Fix compiler warning about uninitialized variable 2019-06-22 01:28:58 +02:00
Mario Hüttel 02a59c4cc5 Merge branch 'dev' into output-renderer-rework 2019-06-22 01:27:25 +02:00
Mario Hüttel 40c4c8b4fb Fix compiler warning about uninitialized variable 2019-06-22 01:27:03 +02:00
Mario Hüttel 01c9701492 Issue #19: Implement first draft of command line rendering (synchronous-mode). Not yet fully tested!! 2019-06-22 01:21:26 +02:00
Mario Hüttel 01ab56e07a Issue #19: Remove unused variable from layer settings 2019-06-22 01:20:45 +02:00
Mario Hüttel 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
Mario Hüttel 31c4efe99b Update GUI image in doxygen documentation to show new button style 2019-06-19 20:57:07 +02:00
Mario Hüttel f5bc8de86e Issue #19: Edit usage site in doxygen because the command line parameters have severly changed 2019-06-19 20:50:12 +02:00
Mario Hüttel d107954859 Issue #19: Finish integration of renderers to into command line interface 2019-06-19 20:47:19 +02:00
Mario Hüttel 5c994f892a Issue #19: Implement CairoRenderer as GObject 2019-06-19 19:21:20 +02:00
Mario Hüttel 96f1347b2c Issue #19: rename renderer source files and implement latex renderer new functions 2019-06-19 19:01:40 +02:00
Mario Hüttel 2d2ca67c48 Issue #19: Move LaTeX Renderer to GObject 2019-06-18 21:46:43 +02:00
Mario Hüttel d9282d8e5a Issue #19: Add dispose to ExternalRenderer class in order to free the path to the shared object 2019-06-18 21:46:02 +02:00
Mario Hüttel d5f1b2edf4 Issue #19: Implement external_renderer_new_with_so() 2019-06-18 21:10:53 +02:00
Mario Hüttel f224b28613 Issue #19: Add property shared-object-path to ExternalRenderer 2019-06-18 21:08:29 +02:00
Mario Hüttel 7b10d41160 Issue #19: Convert external renderer to GObject. Not yet fully integrated 2019-06-18 19:43:00 +02:00
Mario Hüttel 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