Commit Graph

8562 Commits

Author SHA1 Message Date
47b54673f8 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-05-04 09:37:29 +02:00
7a84d8ed1b GCodeViewer -> Fixed visualization of travel paths 2020-05-04 09:37:06 +02:00
ccbfab56b4 ASCII folding applied over the matched string 2020-05-03 15:45:47 +02:00
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
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
eef2666df0 FDM supports gizmo is aware of the clipping plane 2020-04-30 16:57:09 +02:00
0a52040af9 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
b34419175e Fixed compilation warning. 2020-04-30 12:04:49 +02:00
0f46bc28cc Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-04-30 12:04:03 +02:00
d89651693b Search: Fixed returning of a pointer to temporary. 2020-04-30 12:03:49 +02:00
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
a4b1d48bd9 Merge remote-tracking branch 'origin/master' into ys_imperial_unit 2020-04-30 09:49:15 +02:00
2b86793943 Added missing namespace qualification for Slic3r::GUI::format in Http.cpp 2020-04-30 08:37:48 +02:00
d706b0e106 Merge remote-tracking branch 'origin/master' into ys_imperial_unit 2020-04-29 19:17:20 +02:00
ced8e42504 Imperial units: Implemented just for the object's position and size 2020-04-29 19:10:13 +02:00
1141732404 Fixed spelling of "sidebar" 2020-04-29 15:58:57 +02:00
1e6fdf6d80 Merge remote-tracking branch 'origin/master' into ys_search 2020-04-29 14:56:31 +02:00
5d1356203f Localization fixes. 2020-04-29 14:42:43 +02:00
0043ce1a80 GCodeViewer -> Added ironing extrusion role 2020-04-29 13:51:20 +02:00
201dbbd64d Selection rectangle is supressed when FDM custom supports gizmo is active 2020-04-29 13:36:11 +02:00
c293c6e75f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-04-29 12:53:55 +02:00
9116edb469 Fix build on OSX with new wxWidgets in deps 2020-04-29 12:32:00 +02:00
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
fcb24124df GCodeViewer -> Fixed z slider in initial preview 2020-04-29 10:18:29 +02:00
eece68965b GCodeViewer -> Code cleanup 2020-04-29 08:24:39 +02:00
b8cdee2abb Fix librt linking for wxWidgets 2020-04-28 21:01:09 +02:00
3c47b54c64 Try to fix build with old wxwidgets builtin png and expat 2020-04-28 20:39:47 +02:00
41d69e546b Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-04-28 19:31:18 +02:00
7325be0e7d fixing a compilation issue on a buggy GCC on R-PI 2020-04-28 18:28:11 +02:00
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
8156379ec1 Ironing and Monotonous infill - first working implementation. 2020-04-28 17:19:11 +02:00
a5fd9ab48a GCodeViewer -> Use glMultiDrawElements() in place of glDrawElements() to draw all entities 2020-04-28 15:49:01 +02:00
d0fbed86e2 GCodeViewer -> Use glMultiDrawElements() in place of glDrawElements() to draw extrude and travel paths 2020-04-28 15:08:36 +02:00
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
8c4f5be711 GCodeViewer -> Refactoring 2020-04-28 12:24:03 +02:00
cf2f45c5ca Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-04-28 10:29:44 +02:00
51da59603f GCodeProcessor::MoveVertex -> added placeholder for time 2020-04-28 10:29:25 +02:00
f06ea4064f GCodeViewer -> Fixed synchronization between legend and bottom toolbar 2020-04-28 09:09:24 +02:00
59e88baf9d GCodeViewer -> Toggle extrusion role visibility by clicking on legend 2020-04-28 08:50:52 +02:00
9ac1bfd9be Custom support blockers are now working 2020-04-27 17:45:55 +02:00
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
19c0c83cef GCodeViewer -> Added debug statistics imgui dialog 2020-04-27 14:10:18 +02:00
c583877568 Fix app crash on startup under Linux/GTK3/Wayland config 2020-04-27 13:02:16 +02:00
fcc4e52218 GCodeViewer -> Refactoring 2020-04-27 12:43:51 +02:00
ea8724a3ad Fixing debug build broken after recent merge 2020-04-27 12:15:45 +02:00
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
89db03f6a4 GCodeViewer -> Layers z slider wip 2020-04-27 11:44:29 +02:00
8ddc1758b0 GCodeViewer -> Shortcut to show/hide legend 2020-04-27 08:19:48 +02:00
893effc814 GCodeViewer -> Draw alphed extrusion paths into legend when set as not visible 2020-04-25 12:24:56 +02:00
47c5140a98 GCodeViewer -> Add travel paths to legend 2020-04-25 11:16:28 +02:00