Commit Graph

128 Commits

Author SHA1 Message Date
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
tamasmeszaros
1f623fdae6 Finding GLEW work in release and debug.
Make building in release and debug in one cmake run on msvc with the prusaslicer_add_cmake_project function.
2019-12-11 12:32:29 +01:00
tamasmeszaros
89023ef06f Add dll copy after targets for gmp and mpfr 2019-12-10 17:42:25 +01:00
tamasmeszaros
eb21bd8d6f According to cmake, minimum required call shall go before project().
BTW This will make boost config detect the right toolset on every platform.
2019-11-25 10:56:50 +01:00
tamasmeszaros
6ff5d02bcc Merge branch 'master' into lm_tm_hollowing 2019-11-18 17:50:56 +01:00
Enrico Turri
eb7522985c Added missing boost libraries into CMakeLists.txt 2019-11-12 12:05:13 +01:00
tamasmeszaros
39468d25de Bump up C++ to 14 2019-11-12 10:28:00 +01:00
Lukas Matena
95b74b8a81 Merge branch 'tm_openvdb_integration' into lm_hollow_gizmo 2019-11-05 11:16:51 +01:00
Vojtech Kral
5b6a398d45 build: Fix linking on Mac OS with ASAN on 2019-11-01 10:11:50 +01:00
tamasmeszaros
5aab1e83ca Simple openvdb conversion test. 2019-10-29 16:27:53 +01:00
tamasmeszaros
6fb9f06c66 Fix openvdb dependency in libslic3r 2019-10-25 15:48:01 +02:00
tamasmeszaros
7f1a7b5ea7 Completely disable openvdb for now 2019-10-25 13:38:18 +02:00
tamasmeszaros
d9f3174434 Disable OpenVDB until deps get updated 2019-10-25 13:23:05 +02:00
tamasmeszaros
299798130d Merge branch 'tm_openvdb_integration' 2019-10-25 13:16:26 +02:00
tamasmeszaros
29024d2b69 Add OpenVDB to dependencies
* Add Linux openvdb integration
* Add Mac openvdb integration and enable in ALL
* Create openvdb sandbox to test integration.
* Additional fixes in the patches
* Remove slabasebed sandbox as it has no relevance now
* Provide FindOpenVDB module and fix build issues
2019-10-25 13:15:21 +02:00
tamasmeszaros
f68ed680e4 Fix RelWithDebInfo build on Linux 2019-10-24 17:32:58 +02:00
tamasmeszaros
310fe26319 Fix for unsupported cmake feature 2019-10-23 16:26:28 +02:00
tamasmeszaros
efe82ef290 another cleanup 2019-10-22 17:04:32 +02:00
tamasmeszaros
19d8638709 Remove cmake debug messages 2019-10-22 16:42:40 +02:00
tamasmeszaros
3b492d2ff4 Solve build fail in RelWithDebInfo config with several imported targets. 2019-10-22 16:32:57 +02:00
Lukas Matena
3dbb915d83 CMakeLists.txt: turning off -W-ignored-attributes, there are loads of those with newer GCC, originating from Eigen (https://eigen.tuxfamily.org/bz/show_bug.cgi?id=1221) 2019-10-17 09:56:38 +02:00
Lukas Matena
2e0b8e7845 Revert "CMakeLists.txt: turning off Wno-ignored-attributes on GCC and Clang again"
That change breaks compilation on the old buildserver (gcc 5.4). We'll deal with the warning later somehow.

This reverts commit 50448bf4dd.
2019-10-16 12:53:25 +02:00
Lukas Matena
acbf91eb54 CMakeLists.txt: turning off Wno-ignored-attributes on GCC and Clang again
Eigen still produces tons of those warnings on newer gcc
2019-10-15 15:10:52 +02:00
tamasmeszaros
1a16d5f0e7 Fix cmake with msvc generator.
* Remove unused libnest2d files. Make it use the global build script targets.
* Modify FindTBB to address multi-config builds and take care of __TBB_NO_IMPLICIT_LINKAGE
* Move FindNLopt to project common cmake module dir
* Rename libnest.hpp to nester.hpp and libnest.h to libnest.hpp 
* Clean up common test suite build scripts
2019-10-14 12:50:08 +02:00
tamasmeszaros
6342bbba2f Time conversion functions with tests.
Fixes issue with incorrect characters in time strings on UI.
Fix platform dependency


Fix return value with incorrect strings.


Just use strptime and strftime on all platforms.

Emulate strptime on msvc... because they don't have it and their get_time is buggy.
2019-10-02 14:44:11 +02:00
Vojtech Kral
a11e3b8067 Merge pull request #2646 from labsin/no_FHS_build
Only set SLIC3R_FHS_RESOURCES when SLIC3R_FHS is set
2019-09-02 12:16:15 +02:00
bubnikv
6d3f7fd6f8 Plurals for number of Undo / Redo actions. 2019-08-28 16:19:46 +02:00
bubnikv
d25cc2aadf Refreshed the dictionaries.
Introduced a new localization macro L_CONTEXT(string, context)
to define context dependent translations.

The only strings - "Top" and "Bottom" were already using context, but
until now the context had to be added to the PrusaSlicer.pot file
manually, while the context is being generated automatically now.
2019-08-27 17:14:03 +02:00
tamasmeszaros
a02a929b17 more clang warnings enabled, performance measuring
Succesfull build on mingw-w64


fix sandboxes


Mingw fixes and full parallel support tree gen.
2019-08-16 16:17:37 +02:00
tamasmeszaros
73254ba3dd Can build with (original llvm) clang-cl on windows 2019-08-01 16:03:52 +02:00
Vojtech Kral
19dca7da1c Build: Remove SLIC3R_SYNTAXONLY 2019-07-26 14:27:37 +02:00