Commit Graph

49 Commits

Author SHA1 Message Date
554b73c406 Fix hard crash in case of a unwritable Latex Output file. Print warnign instead of hard stop 2022-02-11 21:56:54 +01:00
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
2d389342fd cairo-renderer: Update coding style and add comment explaining how to use the inter process communication to update the GUI with rendering status updates 2020-01-14 14:09:24 +01:00
de9066f181 Add translation markers to all messages except for the gds parser's messages 2019-12-12 21:22:14 +01:00
55799b2266 Merge branch 'master' into dev 2019-11-19 01:33:56 +01:00
4970585cee Remove call to g_task_set(). It is not available under debian 2019-11-19 01:33:44 +01:00
efb1af7ee0 Complete chain of passing command line parameters to external renderer 2019-11-15 21:11:41 +01:00
fa1a78e54c Edit comments 2019-11-15 21:06:41 +01:00
0417784877 Add property for command line parameters to external renderer 2019-11-15 21:04:59 +01:00
f153485996 Implement base construct of new external renderer. CLI parameters still not implemented. Currently NULL is passed to init func. Forking implemented but not tested 2019-11-12 21:15:36 +01:00
f15e82b5dc Modify External Renderer: External renderer docu updated for future changes, restructuring. Not that the changes in the documentation are not yet implemented in code 2019-11-12 20:52:42 +01:00
2e8e258b49 Style improvements 2019-10-25 21:16:31 +02:00
00d6710922 Doxygen error fixes 2019-09-28 23:16:48 +02:00
67b8dc2443 Doxygen fix 2019-09-28 23:16:48 +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
5ec7832ac4 Cairo Renderer: Add function that reads a line from a file descriptor (pipe) 2019-09-28 23:16:48 +02:00
52fb07bea6 Add warning for fallthrough to switch-case 2019-09-28 23:16:48 +02:00
7cbde0f30a Fixup round for doxygen 2019-09-28 22:57:31 +02:00
6c840b8bd1 Fixup doxygen groups and LaTeX symbol 2019-08-26 20:37: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
a10c09c674 Add preliminary status upograde outputs to cairo and latex renderers 2019-08-22 18:56:18 +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
3ec91ab322 Cairo Renderer: Fix bug introduced in 3ffd63115f due to the introduction of the LayerSettings class 2019-08-20 19:01:03 +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
4ca1f75813 Fix typo 2019-06-22 14:20:00 +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
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
d107954859 Issue #19: Finish integration of renderers to into command line interface 2019-06-19 20:47:19 +02:00
5c994f892a Issue #19: Implement CairoRenderer as GObject 2019-06-19 19:21:20 +02:00
96f1347b2c Issue #19: rename renderer source files and implement latex renderer new functions 2019-06-19 19:01:40 +02:00
2d2ca67c48 Issue #19: Move LaTeX Renderer to GObject 2019-06-18 21:46:43 +02:00
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
d5f1b2edf4 Issue #19: Implement external_renderer_new_with_so() 2019-06-18 21:10:53 +02:00
f224b28613 Issue #19: Add property shared-object-path to ExternalRenderer 2019-06-18 21:08:29 +02:00
7b10d41160 Issue #19: Convert external renderer to GObject. Not yet fully integrated 2019-06-18 19:43:00 +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
c146bcd094 Output renderers: Move existing renderers to common folder 2019-06-17 21:50:49 +02:00