11580 Commits

Author SHA1 Message Date
Thomas Karl Pietrowski
4b8d05092d Adding preRun and move last commandline argument check to it. 2017-12-09 15:56:06 +01:00
Thomas Karl Pietrowski
c62b04089f Moving setActiveStage("PrepareStage") to initializeEngine() in UM 2017-12-09 15:43:05 +01:00
Thomas Karl Pietrowski
3e775f71fd Typo 2017-12-09 13:00:41 +01:00
Thomas Karl Pietrowski
bae6f2cfb5 Typo 2017-12-09 12:43:41 +01:00
Thomas Karl Pietrowski
97196190d6 cura_app: Adding help text for debug 2017-12-09 12:04:53 +01:00
Thomas Karl Pietrowski
f9554475be CuraApplication: Allow getting kwargs and pass them to super().__init__() 2017-12-09 11:47:23 +01:00
Thomas Karl Pietrowski
74be22e682 Adding the application name
Maybe it is possible to set this value later. Eg. in Uranium, so we can get the name from .getApplicationName().
2017-12-09 11:26:04 +01:00
Thomas Karl Pietrowski
e578014a2e Passing the already parsed args 2017-12-09 11:25:01 +01:00
Thomas Karl Pietrowski
63acaed0a5 Correcting if clause
We don't want logs, when debugging.
2017-12-09 02:52:51 +01:00
Thomas Karl Pietrowski
2614c8a623 Don't hook to CrashHandler, if we are debugging
Getting an early crash here. Hope that one helps.
2017-12-09 02:40:46 +01:00
Thomas Karl Pietrowski
bc7cb1491d Removing "Embedding" option again 2017-12-09 02:13:47 +01:00
Thomas Karl Pietrowski
ab6508657d Creating an argparser early and add a "debug" option
Makes sure we don't log anything at the moment, when debug is passed. Otherwise early errors are not displayed and passed to log files.
2017-12-09 02:13:31 +01:00
Thomas Karl Pietrowski
61b6831e62 CuraApplication: Making it one line again
Don't know why the pylint marker is here..
2017-12-09 01:21:58 +01:00
Thomas Karl Pietrowski
1a9c152041 CuraApplication: Don't parse -h or --help before last check 2017-12-09 00:08:13 +01:00
Thomas Karl Pietrowski
b098b167e5 Fixing name 2017-12-08 22:31:04 +01:00
Thomas Karl Pietrowski
044c538887 CuraApplication: Allow unknown arguments 2017-12-08 22:09:49 +01:00
Thomas Karl Pietrowski
35ed042a72 Revert "CuraApplication: Making use of Uranium commandline tools"
This reverts commit 315efae53b68c9530bc2a2c15f46b876081cfd30.
2017-12-08 21:49:00 +01:00
Thomas Karl Pietrowski
9210d38412 Revert "CuraApplication: Getting argparser from Uranium"
This reverts commit 8c74092f48d3b9322dbca3b9abf1c7bdbaf816a2.
2017-12-08 21:31:41 +01:00
Thomas Karl Pietrowski
0967651a49 CuraApplication: Adding last check for unknown arguments into _onEngineCreated
So after everything is loaded, we can blame the user about wrong arguments.
2017-12-08 20:28:46 +01:00
Thomas Karl Pietrowski
315efae53b CuraApplication: Making use of Uranium commandline tools 2017-12-08 20:27:25 +01:00
Thomas Karl Pietrowski
8c74092f48 CuraApplication: Getting argparser from Uranium 2017-12-08 20:18:38 +01:00
Thomas Karl Pietrowski
abc2cdb701 CuraApplication: Adding important note about the argparser 2017-12-08 20:18:11 +01:00
Thomas Karl Pietrowski
b22981d089 It is cls not self! 2017-12-08 16:12:56 +01:00
Thomas Karl Pietrowski
11cf642a6e COM: Prevent splash screen, when Embedding is set.
So when dispatching our service we won't see any splash screen. Just like we want for headless applications.
2017-12-08 15:43:28 +01:00
Thomas Karl Pietrowski
85e84a5745 Merge remote-tracking branch 'upstream/thopiekar-early-logs' into master-prepare-for-com-support 2017-12-08 15:39:30 +01:00
Thomas Karl Pietrowski
83d8c693bc CuraApplication: Removing superflous check
Imagine that there was no "single_instance" in parsed_command_line, then the second half of the if-clause would automatically crash.
Also we defined single_instance to be False, whenever not set. Therefore it is always there.
Also since no issues ever happened here, let's remove this check.
2017-12-08 15:23:35 +01:00
Thomas Karl Pietrowski
00a77da9d4 COM: Adding missing argument for DCOM 2017-12-08 15:19:28 +01:00
Thomas Karl Pietrowski
a2d327af7f Merge remote-tracking branch 'upstream/master' 2017-12-08 15:10:12 +01:00
Thomas Karl Pietrowski
e5096f731c
cura_app: We store logs now at "Roaming" 2017-12-08 14:58:24 +01:00
ChrisTerBeke
baea9eb1e0 Merge branch 'master' of https://github.com/Ultimaker/Cura 2017-12-08 14:56:18 +01:00
Thomas Karl Pietrowski
6d190479ac
Getting logs earlier!
Have currently the issue here, that when running Cura as a COM service, that the Cura.exe is popping up for (feels like) 1s or less and crashes.
2017-12-08 14:56:09 +01:00
ChrisTerBeke
c4d7a33c31 Monitor view component loader should have width and height from parent 2017-12-08 14:56:03 +01:00
ChrisTerBeke
8cd9439497 ignore octoprint plugin 2017-12-08 14:33:21 +01:00
Lipu Fei
b4e7216f5b Always show extruder tabs in Machine Settings dialog
CURA-4693
2017-12-08 11:08:24 +01:00
Lipu Fei
21fffcc099 Compare linux distro names in lower cases 2017-12-08 10:40:20 +01:00
Lipu Fei
39e301833e
Merge pull request #2903 from AndrewDonaldson/fedora-nvidia-test
Add Fedora to test for nvidia driver work around.
2017-12-08 10:36:35 +01:00
Lipu Fei
fbc267244e
Merge pull request #2926 from gitname/patch-1
Fix typo
2017-12-08 10:32:31 +01:00
ChrisTerBeke
7a6330fd08 Merge branch 'master' of https://github.com/Ultimaker/Cura 2017-12-08 09:52:06 +01:00
Diego Prado Gesto
012b8aef62 Merge branch 'feature_sidebar_plugin_target' 2017-12-08 09:45:52 +01:00
ChrisTerBeke
c6e72abfbe Add switch to monitor support for legacy plugin that emit signal to switch 2017-12-07 12:00:07 +01:00
ChrisTerBeke
9bf954643c Use new method of setting active stage when needing to switch to monitor 2017-12-07 11:56:52 +01:00
ChrisTerBeke
acbef72b68 Cleanup 2017-12-07 11:52:15 +01:00
ChrisTerBeke
faf77b2795 Cleanup 2017-12-07 11:50:01 +01:00
ChrisTerBeke
b6e84fb814 Merge branch 'master' of https://github.com/Ultimaker/Cura 2017-12-07 11:21:19 +01:00
ChrisTerBeke
7a6d75fd08 Fix sidebar top margin for um3 network monitor controls 2017-12-07 11:02:52 +01:00
ChrisTerBeke
71ae78f7b6 Fix monitoring sidebar top margin 2017-12-07 10:45:54 +01:00
ChrisTerBeke
f91a4db617 Set stage icon for monitor depending on output device state, prevent crash when accessing back-end from unloaded component 2017-12-07 10:38:06 +01:00
gitname
9d2529c6d4
Fix typo 2017-12-07 00:54:20 -08:00
ChrisTerBeke
dd92d8d5e0 Re-implement monitor view overlay when there is no monitor component 2017-12-07 09:22:02 +01:00
ChrisTerBeke
f6b570e299 Back to QUrl, fix monitor view overlay 2017-12-07 09:13:46 +01:00