Commit Graph

13269 Commits

Author SHA1 Message Date
bubnikv
e27c6c7928 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
07ab5c31e6 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
Lukas Matena
377c7d3086 FDM supports gizmo is aware of the clipping plane 2020-04-30 16:57:09 +02:00
Lukas Matena
04cfd5f832 Fix updating of gizmos when instances are added
Gizmos were in fact updated after an instance was added, but before it was selected
2020-04-30 15:21:11 +02:00
tamasmeszaros
e5c5ee6636 deps: disable wxWidgets library internal asserts 2020-04-30 14:33:23 +02:00
bubnikv
f479b77e01 Fixed compilation warning. 2020-04-30 12:04:49 +02:00
bubnikv
18d08cc5cb Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-04-30 12:04:03 +02:00
bubnikv
cc2d33f6a0 Search: Fixed returning of a pointer to temporary. 2020-04-30 12:03:49 +02:00
Lukas Matena
bc34928ea8 Follow-up of previous commit (Slic3r::GUI::format issues)
Another missing namespace qualification caused infinite recursion
2020-04-30 11:32:17 +02:00
YuSanka
c717b16526 Merge remote-tracking branch 'origin/master' into ys_imperial_unit 2020-04-30 09:49:15 +02:00
Lukas Matena
5679438e64 Added missing namespace qualification for Slic3r::GUI::format in Http.cpp 2020-04-30 08:37:48 +02:00
YuSanka
bf09d8f93a Merge remote-tracking branch 'origin/master' into ys_imperial_unit 2020-04-29 19:17:20 +02:00
YuSanka
495db2ff2e Imperial units: Implemented just for the object's position and size 2020-04-29 19:10:13 +02:00
bubnikv
2875bc685c Fixed spelling of "sidebar" 2020-04-29 15:58:57 +02:00
YuSanka
d9c121a19c Merge remote-tracking branch 'origin/ys_search' 2020-04-29 15:36:31 +02:00
YuSanka
99d49a74d0 Merge remote-tracking branch 'origin/master' into ys_search 2020-04-29 14:56:31 +02:00
bubnikv
8a82e3d5be Localization fixes. 2020-04-29 14:42:43 +02:00
Enrico Turri
8a7e1e3e04 Merge branch 'et_gcode_viewer' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-04-29 13:51:53 +02:00
enricoturri1966
9f2f798ea2 GCodeViewer -> Added ironing extrusion role 2020-04-29 13:51:20 +02:00
Lukas Matena
5b15e778ef Selection rectangle is supressed when FDM custom supports gizmo is active 2020-04-29 13:36:11 +02:00
Enrico Turri
02e46bf689 Merge branch 'et_gcode_viewer' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-04-29 13:03:37 +02:00
enricoturri1966
05e4476808 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-04-29 12:53:55 +02:00
tamasmeszaros
b91c3d26e3 Fix build on OSX with new wxWidgets in deps 2020-04-29 12:32:00 +02:00
David Kocik
d828a1e80b 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
enricoturri1966
cd5d70d5e1 GCodeViewer -> Fixed z slider in initial preview 2020-04-29 10:18:29 +02:00
tamasmeszaros
9cb5975956 bring back required switch for opengl with dep_GLEW 2020-04-29 09:44:46 +02:00
Enrico Turri
5d1e851218 Merge branch 'et_gcode_viewer' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-04-29 08:25:52 +02:00
enricoturri1966
c9bd0840b3 GCodeViewer -> Code cleanup 2020-04-29 08:24:39 +02:00
tamasmeszaros
2a8c485b32 suppress unnecessary test output in release mode 2020-04-28 21:11:54 +02:00
tamasmeszaros
6f7fa4bc09 Fix librt linking for wxWidgets 2020-04-28 21:01:09 +02:00
tamasmeszaros
f3c154a88a Merge branch 'tm_fix_master' 2020-04-28 20:46:21 +02:00
tamasmeszaros
98f0cc0dec Follow up, make png non required for now 2020-04-28 20:43:46 +02:00
tamasmeszaros
985225cd38 Try to fix build with old wxwidgets builtin png and expat 2020-04-28 20:39:47 +02:00
bubnikv
4de4d765ee Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-04-28 19:31:18 +02:00
bubnikv
ef89c73fd5 fixing a compilation issue on a buggy GCC on R-PI 2020-04-28 18:28:11 +02:00
bubnikv
b8e02a5405 Fixed handling of fill_pattern field if not all patterns are allowed
for the internal infill.
2020-04-28 18:00:42 +02:00
tamasmeszaros
db49a4516e Merge branch 'tm_deps_wxcmake'
EXPAT had to be moved to deps due to build errors with wxexpat.
2020-04-28 17:47:58 +02:00
bubnikv
ec81de7553 Ironing and Monotonous infill - first working implementation. 2020-04-28 17:19:11 +02:00
Enrico Turri
bd9ada6d68 Merge branch 'et_gcode_viewer' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-04-28 15:52:30 +02:00
enricoturri1966
d8f6a9179f GCodeViewer -> Use glMultiDrawElements() in place of glDrawElements() to draw all entities 2020-04-28 15:49:01 +02:00
Enrico Turri
32178dd06d Merge branch 'et_gcode_viewer' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-04-28 15:09:29 +02:00
enricoturri1966
3267d3368f GCodeViewer -> Use glMultiDrawElements() in place of glDrawElements() to draw extrude and travel paths 2020-04-28 15:08:36 +02:00
tamasmeszaros
572b5ba8bb 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
enricoturri1966
d265c84b76 GCodeViewer -> Refactoring 2020-04-28 12:24:03 +02:00
enricoturri1966
a00c391f0f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-04-28 10:29:44 +02:00
enricoturri1966
1cb0f044db GCodeProcessor::MoveVertex -> added placeholder for time 2020-04-28 10:29:25 +02:00
Enrico Turri
569b872423 Merge branch 'et_gcode_viewer' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-04-28 09:19:07 +02:00
enricoturri1966
a77461b467 GCodeViewer -> Fixed synchronization between legend and bottom toolbar 2020-04-28 09:09:24 +02:00
Enrico Turri
6cd6c9ccb1 Merge branch 'et_gcode_viewer' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-04-28 08:51:53 +02:00
enricoturri1966
2a4d011817 GCodeViewer -> Toggle extrusion role visibility by clicking on legend 2020-04-28 08:50:52 +02:00