1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00
Commit Graph

16 Commits

Author SHA1 Message Date
Lukas Matena a47e94ebd5 Fix of #4889 (malfunctioning single instance detection on macOS):
This was hapenning because the datadir did not exist yet, which was interpreted as another instance running.
2020-10-19 11:08:03 +02:00
David Kocik 7531da603b boost::filesystem::canonical at non windows instance check path to binary 2020-10-15 15:22:46 +02:00
Vojtech Bubnik 263759aca6 Fix of Compile error in InstanceCheck.cpp on Linux (#4877) 2020-10-15 07:45:36 +02:00
David Kocik 6eee0c043c order of checking lockfile in instance check 2020-10-14 18:17:42 +02:00
David Kocik 83bd7ce7ab instance check - command line analysis - not return if only 1 argument 2020-10-14 14:46:52 +02:00
David Kocik 2f5bce3d53 bug fix std::optional on mac 2020-10-14 09:26:06 +02:00
David Kocik 453408143f switching from slicer to gcode viewer - unlocking lock file 2020-10-14 08:48:38 +02:00
Lukas Matena 04e18025f9 Fix build on macOS
std::optional<T>::value() not yet available
2020-10-13 13:51:47 +02:00
Vojtech Bubnik 8c0b8f89d0 Updated the command line single-instance processing and help text.
Updated escaping of the command line arguments when passed to the other
instance.
2020-10-12 17:06:03 +02:00
David Kocik 54fbbb1a23 InstanceCheck: typo in DBus function name 2020-09-25 15:13:01 +02:00
David Kocik 8ea4b5fd78 instance check - bug fixes and refactoring based on code review. 2020-09-24 17:19:19 +02:00
Lukas Matena 48c186331a Includes cleanup:
GUI_App.hpp      (should not include) MainFrame.hpp
MainFrame.hpp    Plater.hpp
ModelArrange.hpp Model.hpp
Slicing.hpp      PrintConfig.hpp
FillBase.hpp     PrintConfig.hpp
GUI_App.hpp      PrintConfig.hpp
OptionsGroup.hpp GUI_App.hpp
2020-05-27 14:01:47 +02:00
David Kocik 9ec83d5210 instance check: bux fix in shutdown() - repairs falling at assert when reiniting otherInstanceMessageHandler 2020-05-18 08:33:55 +02:00
David Kocik 69e9805982 Own implementation of lockfile instead of wx on linux/mac. Wx version keeps poping up messege boxes after crash. Own implementation doesnt delete lockfile after use. 2020-05-15 09:34:53 +02:00
David Kocik 65a37ffaa1 single instance check
processing paths with whitespaces
unified lock for all systems - wxInstanceChecker
checking a messaging only for same binaries
2020-05-15 09:34:53 +02:00
David Kocik d828a1e80b single slicer instance
check for other instances during startup
send message with command line arguments if found and terminate
listen for those messages and load objects from paths in messages from them
2020-04-29 10:53:48 +02:00