209 Commits

Author SHA1 Message Date
Martin Šach
21116995d7 Refactor CMake and improve #includes.
* 1. Remove all global include_directories.
* 2. Move 3d party dependencies from src to budled deps if possible.
* Unify and enforce one way of including headers:
    e.g. #include "libslic3r/GCode.hpp" vs #include "GCode.hpp"
    (always use the "libslic3r/GCode.hpp" option).
* Make all dependencies (also header only) a cmake target.
2024-07-08 15:36:46 +02:00
David Kocik
3e9c9d9558 Minor fixes downloading preset repo assets
Author: barzto@gmail.com
2024-06-12 15:11:10 +02:00
Lukas Matena
a8f573d1d9 Deps: copy WebView2Loader.dll into the binary folder 2024-04-12 09:27:35 +02:00
enricoturri1966
1112fca688 Tech ENABLE_OPENGL_ES replaced by build option SLIC3R_OPENGL_ES 2024-03-26 14:41:57 +01:00
David Kocik
2276cedc10 WebView prototype
Web View has working panel with Connect webpage with Auth token login.
Webview2 is used on windows. It uses small dll to find its runtime.

WebViewDialog.cpp, WebViewDialog.hpp, WebView.cpp and WebView.hpp were taken from https://github.com/bambulab/BambuStudio and used as protype for future WebView Development. Thank you.

Co-authored-by: cmguo <chunmao.guo@bambulab.com>

Co-authored-by: lane.wei <lane.wei@bambulab.com>
2024-03-25 12:05:55 +01:00
David Kocik
f624c55f6f Store PrusaLink passwords in wxsecretstore 2024-03-25 10:22:30 +01:00
Lukas Matena
a42223f963 Merge branch 'master_27x' 2024-01-26 13:07:19 +01:00
Martin Šach
f2868767ab Remove obsolete perl files 2024-01-08 10:27:38 +01:00
tamasmeszaros
bffa3f8578 Get rid of in-source boost::nowide. Use upstream instead 2023-12-18 12:10:37 +01:00
tamasmeszaros
71aca4f448 Fix problems with finding libexpat
fixes #9581
fixes #10390
2023-12-14 17:27:34 +01:00
tamasmeszaros
a4d5244fb2 Re-enable OCCT support 2023-10-26 11:13:06 +02:00
tamasmeszaros
0436acc7d9 Add presets and deps autobuild 2023-10-24 16:31:02 +02:00
tamasmeszaros
22536e0bc1 Temporarily disable OCCT to speed up builds 2023-10-24 15:07:34 +02:00
tamasmeszaros
a8ba4f7ca9 Fix build on windows
Remove DEP_DEBUG feature on non MSVC platforms, it does not work nicely (due to Qhull)
2023-10-24 15:07:34 +02:00
Lukas Matena
af7230e496 Rename 'NetFabb' to 'Windows repair algorithm' (related to #11199) 2023-10-03 15:14:14 +02:00
ps_copyright
dd123e5650 Add copyright header to CMakeLists.txt
Also complement SupportMaterial.cpp with legacy Perl counterpart
2023-09-04 09:50:37 +02:00
tamasmeszaros
61dba4e1c9 Remove legacy comment 2023-09-04 09:46:39 +02:00
Ben Greiner
287e1e28cd Drop wxWidgets 3.0 and SLIC3R_WX_STABLE 2023-07-24 10:22:04 +02:00
Vojtech Bubnik
3b9037b442 nlopt in RelWithDebInfo now compiles as release. 2023-05-04 15:27:09 +02:00
Vojtech Bubnik
9cde96993e Reworked the ClipperLib / Polygon types to use
the tbb::scallable_allocator to better scale on multiple threads.
2023-04-20 11:31:44 +02:00
YuSanka
cf0f257d05 Merge remote-tracking branch 'PRIVATE/ys_cut' into master 2022-10-27 10:21:23 +02:00
Vojtech Bubnik
ba22eb600e MSVC specific: Enabled /permissive- to enforce C++ standards. 2022-10-26 19:19:28 +02:00
YuSanka
484eae7a1c Merge remote-tracking branch 'PRIVATE/master' into ys_cut 2022-09-08 13:32:14 +02:00
Vojtech Bubnik
7e77048593 Removed shiny profiler. The Shiny profiler was only working on MSVC
and nowadays the sampling profiler inside Visual Studio is better.
2022-08-24 16:32:01 +02:00
YuSanka
79e9df4b64 Merge remote-tracking branch 'PRIVATE/master' into ys_cut 2022-08-17 10:05:44 +02:00
Lukas Matena
deac513faa Fixed conflicts after merge 2022-08-15 15:23:59 +02:00
Lukas Matena
bce2b148f4 Merged 2.5.0-beta1 into master (NO CONFLICTS FIXED) 2022-08-15 13:41:40 +02:00
tamasmeszaros
1fd4659f0e Use resources dir for occt shared lib 2022-08-11 16:49:13 +02:00
YuSanka
89a7f6bdb1 Merge remote-tracking branch 'origin/ys_wx317_master' into ys_cut 2022-06-29 11:44:11 +02:00
tamasmeszaros
c316a9f3e3 Revert CMAKE_FIND_PACKAGE_PREFER_CONFIG as its from cmake > 3.13
Do the overriding in the appropriate find modules in cmake/modules
2022-06-02 09:03:52 +02:00
tamasmeszaros
e2007e41ba Try to fix linking of expat 2022-06-02 09:03:52 +02:00
tamasmeszaros
97a9c1ae1d Revamp CURL integration. Exclude it from APPLE 2022-06-02 09:03:52 +02:00
tamasmeszaros
b458477d13 Use upstream expat, remove duplication in deps and src
Fix clash of builtin findEXPAT with config scripts
2022-06-02 09:03:52 +02:00
tamasmeszaros
f8ec5fc9e7 Revert CMAKE_FIND_PACKAGE_PREFER_CONFIG as its from cmake > 3.13
Do the overriding in the appropriate find modules in cmake/modules
2022-05-23 10:55:23 +02:00
tamasmeszaros
7129ee3829 Merge branch 'tm_curl_new' (cherry-picked from master) 2022-05-19 09:34:31 +02:00
tamasmeszaros
1554d6a2c7 Try to fix linking of expat 2022-05-16 14:58:17 +02:00
tamasmeszaros
3a7cdeeae4 Revamp CURL integration. Exclude it from APPLE 2022-05-16 14:02:46 +02:00
tamasmeszaros
7dc4a57d63 Fix build of RelWithDebInfo on Win 2022-04-13 13:59:31 +02:00
tamasmeszaros
41397f90a4 Use upstream GLEW, remove duplication in deps and src
Also update glew to 2.2 where NOGDI is properly unset before windows.h is included. This was a patch in our copy of GLEW 1.13
2022-04-04 12:43:25 +02:00
tamasmeszaros
e50a408e2e Use upstream expat, remove duplication in deps and src
Fix clash of builtin findEXPAT with config scripts
2022-04-04 12:43:25 +02:00
Lukas Matena
e058f794d9 Merge branch 'stable' 2022-02-24 13:05:05 +01:00
tamasmeszaros
cc788ebb64 Fix and merge PR #7809 2022-02-22 11:36:27 +01:00
Yuri D'Elia
0ffcfd8393 Use namespaces to link against libcereal >= 1.3.1
Create an alias for previous versions.
2022-02-22 11:20:03 +01:00
YuSanka
d52807ccaf Localization: Updated POT.
+ Changed a script of the merging new POT with existing PO files.
  Now it processes just a PO-files which are provided by community.

Community PO-files are updated from the new POT
2022-02-09 12:52:50 +01:00
Lukáš Hejl
5f0fea4d58 Added option to enable UndefinedBehaviorSanitizer on Clang and GCC. 2022-01-28 14:52:22 +01:00
Lukáš Hejl
46c827c7fc Fixed Clang 12 compiler warnings. 2022-01-28 14:52:22 +01:00
Vojtech Bubnik
38af8c5563 Fixed wording inside a CMAke comment 2022-01-27 15:59:39 +01:00
YuSanka
c9dbc1cbba Localization: Added missed phrases -> Updated POT and dictionaries for CZ, PL, IT, ES, DE, FR
+ Command to remove obsolite lines is added to gettext_concat_wx_po_with_po and gettext_merge_po_with_pot scripts
+ POs for CA, KR, NL, BR, RU, TR, UK, ZH are merged with new POT
+ Updated all MO files
2022-01-21 15:31:01 +01:00
Vojtech Bubnik
5d7901c2f3 Fixed typo in CMake comment, thanks @n8bot 2022-01-10 08:43:15 +01:00
YuSanka
34d9fbdc35 Fixes for localization of the PrusaSlicer - 2.4.0
* Added some missed phrases.
* Added some missed files to the list.txt
* Fix for https://github.com/prusa3d/PrusaSlicer/issues/7114 - Reword of the "Ask for unsaved changes..."

* Fix for https://github.com/prusa3d/PrusaSlicer/issues/7542 - Added localization for default buttons Yes/No
  Note: For some default buttons/labels/dialogs/... is used localization in wxWidgets.
        But dictionaries have to contain this strings, otherwise texts wouldn't be localized.
        "wxWidgets/local" contains dictionaries for all this default phrases.
        So, a copy of this field is added as a "wx_local" field to the "resources/localization" field.
        And a "gettext_concat_wx_po_with_po" script is written to concatenate strings from wx_local/lang_code.po to resources/localization/lang_code/PrusaSlicer_lang_code.po.
        So, to create a MO file from updated PO we have to execute "gettext_concat_wx_po_with_po" and only then execute a "gettext_po_to_mo" script.
2022-01-04 16:31:27 +01:00