Commit Graph

5342 Commits

Author SHA1 Message Date
bubnikv
bfdb9afa24 Bumped up version number to 2.3.0-alpha0 2020-05-05 13:11:32 +02:00
bubnikv
c11f001f61 Fuzzy matching:
1) Handle localized and English searches as equivalent.
2) Search the whole section : group : label string, still give
   precedence to just the label.
2020-05-04 21:22:56 +02:00
bubnikv
2d73802f58 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-05-04 16:18:32 +02:00
bubnikv
8be8f5c56e Fuzzy matching of parameters in the search box:
Fix of https://github.com/forrestthewoods/lib_fts/issues/21 finally applied,
disabled CamelCase matching as we are not using CamelCase in Slicer parameters.
2020-05-04 16:18:20 +02:00
tamasmeszaros
adba95dbdb Fix font size on windows with wx3.1.3 2020-05-04 15:00:17 +02:00
bubnikv
ccbfab56b4 ASCII folding applied over the matched string 2020-05-03 15:45:47 +02:00
bubnikv
de76c19d75 fts_fuzzy_match fixes:
Recursive fix https://github.com/forrestthewoods/lib_fts/issues/21
End of string penalty fix https://github.com/forrestthewoods/lib_fts/issues/24

Some refactoring for succintness (based on Vojtech's taste)
2020-05-03 14:14:40 +02:00
bubnikv
3a44399df1 WIP Fuzzy search rework.
1) fts_fuzzy_match has been extended to support wchar_t for a char
   type and uint16_t for an index type for the match indices.
2) fts_fuzzy_match has been extended to place a proper stopper character
   into the match buffer.
3) Slicer integration now uses the fuzzy match indices for highlighting.
4) Slicer integration now correctly highlights the matched word.
5) Slicer search dialog now sorts based on match AND category.

Further modifications are planned:
1) Matching in local language vs. English: Just show the English variant
   if matched in English. Don't mix the two together.
2) Matching the group or category: Continue matching the label.
3) For matches with equal match quality and category sort alphanumerically.
2020-05-01 08:57:24 +02:00
bubnikv
b34419175e Fixed compilation warning. 2020-04-30 12:04:49 +02:00
bubnikv
0f46bc28cc Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-04-30 12:04:03 +02:00
bubnikv
d89651693b Search: Fixed returning of a pointer to temporary. 2020-04-30 12:03:49 +02:00
Lukas Matena
3c2c7b040f Follow-up of previous commit (Slic3r::GUI::format issues)
Another missing namespace qualification caused infinite recursion
2020-04-30 11:32:17 +02:00
Lukas Matena
2b86793943 Added missing namespace qualification for Slic3r::GUI::format in Http.cpp 2020-04-30 08:37:48 +02:00
bubnikv
1141732404 Fixed spelling of "sidebar" 2020-04-29 15:58:57 +02:00
YuSanka
1e6fdf6d80 Merge remote-tracking branch 'origin/master' into ys_search 2020-04-29 14:56:31 +02:00
bubnikv
5d1356203f Localization fixes. 2020-04-29 14:42:43 +02:00
tamasmeszaros
9116edb469 Fix build on OSX with new wxWidgets in deps 2020-04-29 12:32:00 +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
b8cdee2abb Fix librt linking for wxWidgets 2020-04-28 21:01:09 +02:00
tamasmeszaros
3c47b54c64 Try to fix build with old wxwidgets builtin png and expat 2020-04-28 20:39:47 +02:00
bubnikv
41d69e546b Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-04-28 19:31:18 +02:00
bubnikv
7325be0e7d fixing a compilation issue on a buggy GCC on R-PI 2020-04-28 18:28:11 +02:00
bubnikv
789fcc93ca Fixed handling of fill_pattern field if not all patterns are allowed
for the internal infill.
2020-04-28 18:00:42 +02:00
bubnikv
8156379ec1 Ironing and Monotonous infill - first working implementation. 2020-04-28 17:19:11 +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
Lukas Matena
9ac1bfd9be Custom support blockers are now working 2020-04-27 17:45:55 +02:00
YuSanka
a0ef2a3cdb Implemented workaround for the mouse wheel in Search Window and Undo/Redo lists on the Plater
Workaround is used because of ImGui::GetIO().MouseWheel returns zero always!
2020-04-27 16:00:54 +02:00
tamasmeszaros
c583877568 Fix app crash on startup under Linux/GTK3/Wayland config 2020-04-27 13:02:16 +02:00
Lukas Matena
ea8724a3ad Fixing debug build broken after recent merge 2020-04-27 12:15:45 +02:00
YuSanka
0be8b66746 Fixed update(clear) of the search_line, when search dialog was opened and closed without changing 2020-04-27 11:51:17 +02:00
bubnikv
805cc03894 Introduction of Monotonous infill type. Fill no-sort only for monotonous
and ironing infills.
2020-04-25 08:15:04 +02:00
Lukas Matena
0709d361d1 Merge branch 'lm_fdm_custom_supports_backend' 2020-04-24 15:16:33 +02:00
YuSanka
bc45c3bffa Fix to the last commit f9b3f2d45e 2020-04-24 11:33:00 +02:00
YuSanka
4674cec006 Search: Code cleaning
+ Reverted "Plater" tab to the Settings Notepad
2020-04-24 11:01:14 +02:00
bubnikv
775ceb6037 WIP: Monotonous infill 2020-04-24 09:41:48 +02:00
tamasmeszaros
774aa1bab3 Merge branch 'tm_sl1_import_2' 2020-04-24 08:27:49 +02:00
Lukas Matena
b13efbcc81 Optimization of the custom support projection algorithm
- transformation matrix is precalculated for each volume
- number of heap allocations was reduced
2020-04-24 01:26:13 +02:00
YuSanka
5ea4416033 Fixed an update of the search list after the change of the print technology 2020-04-23 21:32:12 +02:00
YuSanka
58bbe6e0d2 Collapse_toolbar: fixed draw items
+ Extended toolbar
2020-04-23 21:00:00 +02:00
tamasmeszaros
33ab0eb660 Add ui job for SLA import 2020-04-23 19:45:55 +02:00
tamasmeszaros
f930587f43 SLA archive import with miniz, marching square bugfixes
Fix compilation on Windows


Fix array subscript out of range error in MarchingSquares


Fix normals of mesh constructed from slices


Improve performance of mesh construction from slices
2020-04-23 19:12:07 +02:00
tamasmeszaros
4e4efeef31 Initial version of sl1 import with sla::Raster refactor. 2020-04-23 19:05:32 +02:00
tamasmeszaros
82aa16d123 Move ui jobs into separate folder 2020-04-23 18:56:09 +02:00
tamasmeszaros
190bf40434 Separate jobs from Plater, re-add big bed workaround 2020-04-23 18:47:51 +02:00
tamasmeszaros
2275698f1b Add ModelArrange.hpp as extension to Model.hpp, use it for duplicating
Refactored Arrange interface: remove the union based BedShapeHint, replace it with proper function overloads

WARN: this commit is only intermediate, it does not compile.
2020-04-23 18:19:03 +02:00
tamasmeszaros
7e510b6118 Add universal method to get bed shape from Config objects 2020-04-23 18:18:23 +02:00
tamasmeszaros
0f2d3180ab Add libnest tests for various basic object functions 2020-04-23 18:17:58 +02:00
tamasmeszaros
f44d172715 Integrate scaling and unscaling into Point.hpp 2020-04-23 18:17:50 +02:00
tamasmeszaros
8ca136d003 Add min_object_distance method as free function taking ConfigBase argument 2020-04-23 18:17:37 +02:00
YuSanka
7805778ab8 First implementation of the separate plater from the settings tabs
+ Added collapse_toolbar
2020-04-23 17:11:49 +02:00