Commit Graph

158 Commits

Author SHA1 Message Date
David Kocik
2826162b5d Parse hints.ini for translatable text as part of gettext_make_pot 2021-08-23 16:27:51 +02:00
David Kocik
158c0f5746 Allow Desktop Integration by default on Linux 2021-08-23 10:16:26 +02:00
tamasmeszaros
3ba9d5a748 Possibility to link curl and glew dynamically in static mode. 2021-08-19 16:56:22 +02:00
David Kocik
510bb3f54f Desktop integration changes
empty catch block fix
internal namespace fix
wrong app config var
Desktop integration for regular executables
cmake option SLIC3R_DESKTOP_INTEGRATION
cmake dependent option
escape executable path in desktop file by adding /'
Error messages instead of notifications.
2021-08-19 10:18:40 +02:00
Lukas Matena
9431446ce2 Moved flatpak files from resources/data to src/platform/unix (#6774) 2021-08-12 08:49:24 +02:00
tamasmeszaros
5b7f9e45d9 Fix issues with finding new deps on win 2021-07-26 13:07:20 +02:00
tamasmeszaros
6f83ce1f0b Search for a better openvdb find module if available
Solves #6681, alternative path for openvdb installation can be specified via cache variable
2021-07-15 09:36:28 +02:00
Super-intelligent Shade of the Color Blue
a6f66631e4 Fix FHS install dirs (#5930)
Install .desktop files into /usr/share/applications.
Install PNGs for the above into /usr/share/icons.
Install udev rules into /lib/udev/rules.d.
2021-07-09 17:44:58 +02:00
Vojtech Bubnik
cc170585ec -fno-omit-frame-pointer disabled for Windows ASAN builds 2021-06-01 11:12:14 +02:00
Vojtech Bubnik
e912da36eb Convincing ClipperLib to use Slic3r's own Point type internally. 2021-04-21 20:15:49 +02:00
Vojtech Bubnik
c869a1a952 Enabling ASAN on MSVC 2021-03-25 10:12:02 +01:00
enricoturri1966
1c68f04095 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_window 2021-03-15 11:27:43 +01:00
Vojtech Bubnik
1c0c2a2077 Detection of Win10 3D printing API from the default Visual Studio env
variables.
2021-03-08 09:38:14 +01:00
enricoturri1966
e17a8f579e G-code window uses file mapping 2021-03-08 08:35:32 +01:00
Vojtech Bubnik
29c851eba0 Commented on the unsigned/signed char CMake changes 2021-02-11 18:02:10 +01:00
tamasmeszaros
d7ccaf4fcb Force signed char on all GCC platforms 2021-02-11 09:58:04 +01:00
Vojtech Bubnik
d62aace663 Reduction on compiler warnings, mainly on MSVC.
Fix of the new gap_fill_enable flag: Take it into account when comparing
regions.
2021-02-10 17:29:07 +01:00
Vojtech Bubnik
bf90548516 Squashed commit of the following:
commit 61b3ca0b4b4a0b4cfbbc706ede94ef7ccec4c91f
Author: Vojtech Bubnik <bubnikv@gmail.com>
Date:   Wed Feb 10 15:42:27 2021 +0100

    Fix of fuzzy skin

commit d971ed51a5bb65e8bdfd326bc41b9d7ab2e20834
Author: Vojtech Bubnik <bubnikv@gmail.com>
Date:   Wed Feb 10 14:12:51 2021 +0100

    CMake adjustment of MINIMUM_BOOST_VERSION

commit 5d8aa2c59ecf7e32456f2e43e07dedc7d24eb21c
Author: Vojtech Bubnik <bubnikv@gmail.com>
Date:   Wed Feb 10 14:12:33 2021 +0100

    Fix of debug compilation after warning removal.

commit 5e339b3078f0c9d75b6fac28ed3c295ae9fbbef5
Author: Vojtech Bubnik <bubnikv@gmail.com>
Date:   Wed Feb 10 14:11:34 2021 +0100

    Fuzzy Skin changes:
    1) Moved the parameters to region
    2) Removed experimental code.
    3) Allowed fuzzyfication of both outer perimeter and holes.
2021-02-10 16:02:43 +01:00
Vojtěch Bubník
3a446764e4 Merge pull request #5508 from pmjdebruijn/minimum_boost_version
CMakeLists: set MINIMUM_BOOST_VERSION to 1.66.0 (due to Base64, #3375)
2021-02-10 11:21:35 +01:00
Vojtech Bubnik
daf8e7fdeb Enabling /utf-8 on MSVC.
Hopefully a fix of fix some msvc compile error under Chinese Windows system. #5583
Hopefully it will not break any localization.
2021-02-10 11:05:02 +01:00
Vojtech Bubnik
60cc12002e Removal of not numerically robust libraries "poly2tree" and "polypartition".
Adjustment of GUI/3DBed.cpp,hpp to use the more stable triangulation algoritm
derived from SGI glut.
Fix of an extremely slow bridging calculation, caused by an extremely
slow bridged area detection function, of which the results were never used.
Fixes "slicing fails or takes too long #5974"
2021-02-09 18:36:28 +01:00
Lukas Matena
c5b19648ec Clang: silence -Wdeprecated-declarations for now
RPi: hopefully silence a warning
2021-02-08 17:52:29 +01:00
tamasmeszaros
0fc08e1626 Disable tests and encoding check when cross compiling 2021-02-03 15:27:39 +01:00
Pascal de Bruijn
861f9150b9 CMakeLists: set MINIMUM_BOOST_VERSION to 1.66.0 (due to Base64, #3375) 2020-12-18 15:32:33 +01:00
David Kocik
932aa90d7d Set boost to use utf8 for system messages (in cmake). Fix of #5180. 2020-12-01 12:06:10 +01:00
tamasmeszaros
33417c3999 Add gcodeviewer desktop file
Also install it with `make install`
2020-10-27 08:45:04 +01:00
tamasmeszaros
162252cc01 Use legacy OpenGL linkage on Linux
GLVND based libOpenGL.so is not present on every supported Linux, despite that appimage exclude list says so. It should be enough to just link to system specific libGL.so.
2020-10-26 10:09:01 +01:00
Vojtech Bubnik
c6e9f39a8e Documentation of CMAKE_INSTALL_FULL_DATAROOTDIR in CMakeLists.txt 2020-10-24 17:38:11 +02:00
tamasmeszaros
b2841e154f Add installing of the desktop file to cmake 2020-10-19 14:44:45 +02:00
Lukas Matena
3e093bb97d Changed cmake minimal version to 3.13 (#4720) 2020-10-05 12:10:19 +02:00
tamasmeszaros
2ed93f291c Try to override mac library search order to find static dep libs 2020-08-27 23:14:42 +02:00
tamasmeszaros
8f0746fece SLA archive import will now recover the model's original position. 2020-08-27 23:14:42 +02:00
David Kocik
4102c86b5d 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
tamasmeszaros
94895dc3da Follow up, make png non required for now 2020-04-28 20:43:46 +02:00
tamasmeszaros
74006cc678 Add PNG and wxWidgets 3.1.3 uniformly to all platforms with cmake build.
wx is built with png as a dependency, wxpng is disabled.
2020-04-28 15:01:56 +02:00
bubnikv
8f9709609e New shorcut _L() for _(L())
New shorcut _u8L() for _utf8(L())
2020-03-14 17:51:56 +01:00
tamasmeszaros
5d616c7304 Link libcurl and wxWidgets to libslic3r_gui
Also enhance and remove duplicate CURL search in cmake
2020-03-06 15:16:46 +01:00
bubnikv
cfb00edd5d Disabled implicit conversion of wxString to std::string or const char*
and vice versa. Fixed one last implicit wxString conversion.
2020-02-27 17:02:08 +01:00
tamasmeszaros
6757b2f099 Add check for cereal library in CMake
Fixes #3547, replaces #3613
2020-02-07 11:07:22 +01:00
tamasmeszaros
bde62b091a Fix dll copying 2020-02-06 11:59:02 +01:00
Lukas Matena
a5ccb7a6c2 Merge branch 'master' into lm_tm_hollowing 2020-01-21 13:00:07 +01:00
tamasmeszaros
588d707805 Fix build issues on Windows 2020-01-16 14:25:01 +01:00
bubnikv
2d9fff3018 MSVC specific: Disable STL4007: Many result_type typedefs and
all argument_type, first_argument_type, and second_argument_type
typedefs are deprecated in C++17.

Remove this warning disable after eigen library adapts to the new C++17 adaptor rules.
2020-01-13 16:01:20 +01:00
Lukas Matena
9aaf7a8c13 Merge branch 'master' into lm_tm_hollowing 2020-01-06 12:41:29 +01:00
bubnikv
b62f9058d6 Fix of #3366
Fixed crash due to incorrect localization of the percent sign in
"The %1% infill pattern is not supposed to work at 100%% density."
This happens for ES, FR, IT, UK and ZH_TW localizations.

Also added a new CMake target "gettext_po_to_mo" to convert
all po files to mo files,
and renamed the "pot" target to "gettext_make_pot".
2019-12-22 11:54:23 +01:00
Lukas Matena
51050f4a29 Merge branch 'master' into lm_tm_hollowing 2019-12-20 10:33:53 +01:00
tamasmeszaros
84b248745d Officially move to C++17 for the whole PrusaSlicer source tree; 2019-12-18 11:53:28 +01:00
tamasmeszaros
26c1fac08d Only consider openvdb debug if necessary. Add REQUIRED to openvdb 2019-12-17 16:53:45 +01:00
Lukas Matena
11feb259a3 Merge branch 'master' into lm_tm_hollowing 2019-12-12 11:37:33 +01:00
tamasmeszaros
c4d4993f74 Merge branch 'tm_opencsg' 2019-12-11 12:52:03 +01:00