Commit Graph
100 Commits
Author SHA1 Message Date
Vojtech Kral 0ded335488 build: Add source file encoding check
Source files are checked using a small utility in src/build-utils
This is done to prevent bugs in build and localization caused
by weird non-UTF-8 encodings interpreted by MSVC in terms of local codepages
rather than UTF-8.
2019-08-19 17:04:14 +02:00
Vojtech Kral f937209619 Refactor catch(...) handlers in Http, OctoPrint, PrintHost, and Serial 2019-08-19 17:04:14 +02:00
Vojtech Kral baaf66d138 avrdude: conf-generate: Fix line endings - always generate LF endings
avrdude configuration embedding tool was generating platform
specific line endings in avrdude-slic3r.conf.h
2019-08-19 17:04:14 +02:00
Vojtech Kral 745182988d Refactor: Move Semver from slice3r to libslic3r
A static symbol Slic3r::SEMVER is introduced, which holds
the running slicer's Semver object.

This is mainly done to make testing updater behaviour
_much_ easier. Additionaly to cleanup some questionable code
(Semver was being parsed multiple times / in multiple places
in the frontend.)
2019-08-19 17:04:14 +02:00
Vojtech Kral b5dd13b987 PresetUpdater: Fix index installation having broken incompatibility check
This fixes a problem where old slicer having found newer incompatible bundle
would not report an incompatibility.

The installed index check was performed too early before
bundle compatibility check. This fix moves the installed index check
to the point where a bundle would've been update (as it should be).
2019-08-19 17:04:14 +02:00
Vojtech Kral bfb135bcc3 Comment out stale implementation in Serial, fix #2150 2019-08-02 15:20:52 +02:00
Vojtech Kral fca2fc0d97 Deprecate the How to build on Windows doc for now 2019-07-29 14:51:35 +02:00
Vojtech Kral dda7b3fc52 Merge branch 'vk-bugfixes':
- Fix a ternary op type error in Tab
- Build: Remove SLIC3R_SYNTAXONLY
2019-07-26 14:28:01 +02:00
Vojtech Kral ba21d606af Fix a ternary op type error in Tab
Fix #2668
Fix #2676
2019-07-26 14:27:37 +02:00
Vojtech Kral 26c2b16f61 Build: Remove SLIC3R_SYNTAXONLY 2019-07-26 14:27:37 +02:00
Vojtech Kral ab677bad41 Mac OS: Fix gettext lookup in deps build 2019-07-22 16:00:52 +02:00
Vojtech Kral 99e2fe20a5 Fix a memory access bug in ObjectManipulation 2019-07-19 17:58:46 +02:00
Vojtech Kral f09fb92b61 Fix build against system-provided qhull 2019-07-02 11:43:07 +02:00
Vojtech Kral 1a529cb778 PresetUpdater: Fix: Index installed too early 2019-07-01 11:35:02 +02:00
Vojtech Kral 61080bcff6 Merge branch 'bugfixes': avrdude warnings cleanup 2019-06-28 15:21:45 +02:00
Vojtech Kral a38bcdde66 avrdude: Fix types in embedded config 2019-06-25 18:16:54 +02:00
Vojtech Kral 85575e5615 Fix: IsTriviallyCopyable on clang 2019-06-25 18:16:53 +02:00
Vojtech Kral 4fb904357f Warnings cleanup in BonjourDialog, ConfigWizard, FirmwareDialog,
GLGizmoCut, ImGuiWrapper
2019-06-25 18:16:53 +02:00
Vojtech Kral f7d4a35c3d semver: warnings cleanup 2019-06-25 18:16:53 +02:00
Vojtech Kral 84027a3d3b avrdude: warnings cleanup 2019-06-25 18:16:49 +02:00
Vojtech Kral 1eb7634af7 Merge branch 'updating': Index installation 2019-06-24 11:09:55 +02:00
Vojtech Kral 767dcb9607 Merge branch 'bugfixes': Fixes in fw updater UI 2019-06-24 11:09:07 +02:00
Vojtech Kral 503212181c Updating: Index installation
Prevents cancelled updates from popping up repeatedly
on each application startup
2019-06-20 14:26:29 +02:00
Vojtech Kral 8208da0a7b Firmware updater: Fix MMU flashing in GUI 2019-06-20 11:17:35 +02:00
Vojtech Kral 09da7a84b5 Firmware updater: Prevent empty flashing jobs 2019-06-20 11:17:35 +02:00
Vojtech Kral 3c8024bddd BonjourDialog: Fix dialog flags 2019-06-03 17:41:02 +02:00
Vojtech Kral 053a0af374 Add missing header 2019-06-03 17:41:02 +02:00
Vojtech Kral 28d28a54bf Preset updating: Judge dev version based on version online, not current 2019-05-20 18:36:55 +02:00
Vojtech Kral 032cf3cd47 Merge pull request #2272 from wavexx/do_not_refresh_until_initialized
Delay refresh until initialized
2019-05-20 14:48:47 +02:00
Vojtech Kral 8133aa1324 Fix wxSpinCtrl in settings on Mac OS, cf. #2237 2019-05-20 14:39:42 +02:00
Vojtech Kral b234a1b7a7 Use mac_max_scaling_factor() in create_scaled_bitmap() 2019-05-17 19:16:03 +02:00
Vojtech Kral 8c862ade29 Revert 6b379428d4 2019-05-17 19:11:11 +02:00
Vojtech Kral eebb9e3fe7 Fix double wizard on incompatible bundle, for real this time 2019-05-17 19:09:06 +02:00
Vojtech Kral b205daa437 Revert "Fix double wizard on incompatible bundle"
This reverts commit 9c288df1b6.
2019-05-17 17:50:06 +02:00
Vojtech Kral 9c288df1b6 Fix double wizard on incompatible bundle 2019-05-17 15:04:37 +02:00
Vojtech Kral 83bdb46209 Firmware updater: Make device names consistent 2019-05-17 13:23:21 +02:00
Vojtech Kral 11662f87b8 Updating: dev_version based on build_id as well 2019-05-14 13:30:55 +02:00
Vojtech Kral 6c5bdeadc3 Updating: Add localized links 2019-05-14 13:30:55 +02:00
Vojtech Kral 658e9c2b1b Refactor language switch, infer user's language on fresh startup 2019-05-06 11:58:06 +02:00
Vojtech Kral ba297a929a Prompt language selection on fresh startup 2019-05-06 11:51:08 +02:00
Vojtech Kral 8098c09589 MainFrame: Maximize by default (at first start) 2019-04-29 16:57:08 +02:00
Vojtech Kral 9d67804d10 ConfigWizard: Finish DPI resizing (MSW) 2019-04-29 12:22:44 +02:00
Vojtech Kral b158598393 Detect dank mode on Mac OS 2019-04-29 11:36:01 +02:00
Vojtech Kral fb0836b0b2 ConfigWizard: Select an appropriate printer based on the bundle order 2019-04-29 11:36:00 +02:00
Vojtech Kral 3f978f6afe ConfigWizard: Fix app name interpolation 2019-04-25 10:47:15 +02:00
Vojtech Kral 98c8cef657 ConfigWizard: Don't blow up if a printer bitmap is missing 2019-04-24 16:03:32 +02:00
Vojtech Kral cfa7802a8a ConfigWizard: Attempt to fix width hint 2019-04-24 16:03:32 +02:00
Vojtech Kral 5fd2e573a0 GUI_App: Add a language code getter 2019-04-24 16:03:32 +02:00
Vojtech Kral e9d629f248 Build: Don't add imgui dir when SLIC3R_GUI is off 2019-04-23 14:57:26 +02:00
Vojtech Kral 2088abdc31 Build: Don't add slic3r dir when SLIC3R_GUI is off #1050 2019-04-23 14:19:13 +02:00
Vojtech Kral eae6576162 Fix default bitmap loading in Field 2019-04-17 17:31:00 +02:00
Vojtech Kral 79e71cb8d3 ConfigWizard: Fix index width 2019-04-17 16:48:01 +02:00
Vojtech Kral b57452d090 Fix a bunch of race conditions between arrange and bg processing, fix #1770 2019-04-17 15:40:58 +02:00
Vojtech Kral 00ed0de815 Fix a format string in UpdateDialogs.cpp 2019-04-17 14:26:07 +02:00
Vojtech Kral 554176b97f Http: Fix redirecting of post requests, fix #2018 2019-04-16 12:09:51 +02:00
Vojtech Kral bf3a52925b doc: Mac build: Add note about XCode SDK version lock 2019-04-15 11:57:49 +02:00
Vojtech Kral 5522ed9574 Also revert high DPI bitmaps in ObjectList for now 2019-04-12 11:28:07 +02:00
Vojtech Kral 2fe63e0b04 Revert high DPI bitmaps in Preset and PresetBundle for now
due to bugs in wxBitmapComboBox et al.
2019-04-12 11:04:42 +02:00
Vojtech Kral 62d9a44a03 Update SL1 icon 2019-04-10 12:11:47 +02:00
Vojtech Kral 81f4ce5f2e Bitmaps: Pass wxWindow context in a few more places 2019-04-09 18:01:45 +02:00
Vojtech Kral d399ebacc9 Bitmaps: Fix: Use scaling factor on Mac only 2019-04-09 18:01:45 +02:00
Vojtech Kral c17e8602ed Factor out load_scaled_bitmap 2019-04-09 15:16:10 +02:00
Vojtech Kral 64ce604ff4 GUI_App: Refactor exception handling 2019-04-09 15:16:10 +02:00
Vojtech Kral 2494dc6706 Fix SVG & bitmap scaling on Mac depending on Retina scaling 2019-04-09 15:16:10 +02:00
Vojtech Kral d97037e246 GLCanvas3D: Fix an assert in _set_current() 2019-04-09 15:16:10 +02:00
Vojtech Kral ffc5a43c33 More fixes in the Readme 2019-04-08 13:05:45 +02:00
Vojtech Kral 7e32f2df71 Implement per-screen DPI on Windows, DPI change event, wxDialog & wxFrame mixin base classes 2019-04-08 11:34:46 +02:00
Vojtech Kral 5eca68eeeb Readme: Add logo link 2019-04-08 10:16:50 +02:00
Vojtech Kral ecbf4b51eb Tidy up Readme a little bit 2019-04-08 10:14:05 +02:00
Vojtech Kral 5977d7fcfa Merge pull request #2083 from lf-/readme-update2
Initial fixes on README to bring it up to date with Prusa changes
2019-04-08 10:11:16 +02:00
Vojtech Kral 814471c890 doc: Fix line break issue 2019-04-08 10:09:35 +02:00
Vojtech Kral a8a2125069 Windows deps & build doc: Fix msbuild parallelism, cf. #2078 2019-04-08 10:04:40 +02:00
Vojtech Kral edebfe5345 Merge pull request #2078 from lf-/doc-note
Add a note for users of newer VS versions in build guide
2019-04-08 09:20:35 +02:00
Vojtech Kral 70ce79c86e SLA export: Finalize filename when exporting & uploading,
set correct project name when uploading
2019-04-04 13:10:11 +02:00
Vojtech Kral 251747e6fa GLGizmoCut: Scale input field 2019-04-04 12:31:13 +02:00
Vojtech Kral 703b9bda32 imgui: Fix scaling 2019-04-03 16:39:28 +02:00
Vojtech Kral c99fe20504 imgui: Yet another font size fix 2019-04-03 16:31:49 +02:00
Vojtech Kral 1979baf619 imgui: Fix font size and scaling on Windows 2019-04-02 15:28:14 +02:00
Vojtech Kral 9d5eb2cd48 Fix build 2019-04-02 10:56:30 +02:00
Vojtech Kral c542413962 imgui: More refactoring, cut gizmo window positioning 2019-04-02 10:36:24 +02:00
Vojtech Kral 145b8fd0df Firmware updater: Improve logging 2019-04-02 10:33:37 +02:00
Vojtech Kral 75990923f7 Firmware updater: Support for CW1 2019-04-02 10:33:37 +02:00
Vojtech Kral 88cc93cdc9 imgui: Refactor font size, font initialization 2019-04-01 14:28:39 +02:00
Vojtech Kral 3cfb234e86 imgui: Get font size from wxWidgets, fix #2043 2019-03-29 14:58:32 +01:00
Vojtech Kral 1e9e378659 Fix string access in Preferences.cpp 2019-03-27 13:53:00 +01:00
Vojtech Kral 734d57a714 Fix build on MSVC with PCH off 2019-03-27 12:14:34 +01:00
Vojtech Kral 8dbbfc140b Merge pull request #2005 from SijmenSchoon/fix-assertions
Fix tree-related assertions on startup on Linux
2019-03-27 11:29:32 +01:00
Vojtech Kral 937f6112ce imgui: Fix assert caused by set_language() while new frame is open 2019-03-26 17:57:54 +01:00
Vojtech Kral dc30242cad doc: Building on Windows: Add more detail 2019-03-26 16:38:13 +01:00
Vojtech Kral d0171b5687 doc: typo 2019-03-26 09:54:05 +01:00
Vojtech Kral ba66f34c45 Build: Add an option to choose GTK version on Linux, fix #1937 2019-03-25 15:50:57 +01:00
Vojtech Kral ccafc43874 deps: Link wxWidgets against system zlib on Unix 2019-03-25 15:39:12 +01:00
Vojtech Kral aca2ffcdfb doc: Warn about build dir being too nested on Windows 2019-03-25 15:07:03 +01:00
Vojtech Kral ea6e6023f9 deps: Fix: remove dep_libpng 2019-03-25 12:31:14 +01:00
Vojtech Kral 8e2ec38670 deps: Remove libpng 2019-03-25 11:44:07 +01:00
Vojtech Kral 6c7120a291 Build: Fix libz dependency required by libcurl 2019-03-25 11:40:45 +01:00
Vojtech Kral 456d09be76 Fix out of bounds selection in ObjectList, fix #1890 2019-03-18 16:19:19 +01:00
Vojtech Kral aaf5c6c663 MsgDialog: Make resizable 2019-03-14 14:54:12 +01:00
Vojtech Kral 5c9cede9bf Fix HiDPI in Bonjour Dialog 2019-03-14 14:46:31 +01:00
Vojtech Kral 2c49dcb9be Bonjour: Add txt key-val extraction, filtering based on printer tech 2019-03-14 14:46:31 +01:00