Changesets: FreeCAD
master 449edf98 2020-06-12 11:32:59 Details Diff |
C++: [skip ci] fix -Wredundant-move This change was part of 0002720 but has been skipped in order to not complicate a pending PR of an upgrade of the SMESH sources. However, this other PR 0002706 has been closed by its author. Since this warning is reported on latest Fedora version using gcc 10 it will be fixed now. |
||
mod - src/3rdParty/salomesmesh/src/SMESH/GEOMUtils.cpp | Diff File | ||
mod - src/3rdParty/salomesmesh/src/SMESH/SMESH_subMesh.cpp | Diff File | ||
master eaedcfea 2020-06-12 10:20:20 Details Diff |
Gui: [skip ci] fix some thread issues: avoid to crash the application when trying to create thumbnail from worker thread avoid that application behaves weirdly when triggering an action update from worker thread |
||
mod - src/Gui/MainWindow.cpp | Diff File | ||
mod - src/Gui/Thumbnail.cpp | Diff File | ||
master fbf0b23e 2020-06-12 01:42:29 Committer: wandererfan Details Diff |
[TD] make all hatch patters plain SVG - everything that is part of the drawing should be plain SVG (strictly following the SVG specification) to assure that every SVG program can handle it (e.g. Internet browsers). The hatch patterns however contained old stuff like traces of Sodipodi that might be a problem in the future. |
||
mod - src/Mod/TechDraw/Patterns/aluminium.svg | Diff File | ||
mod - src/Mod/TechDraw/Patterns/brick01.svg | Diff File | ||
mod - src/Mod/TechDraw/Patterns/concrete.svg | Diff File | ||
mod - src/Mod/TechDraw/Patterns/cross.svg | Diff File | ||
mod - src/Mod/TechDraw/Patterns/cuprous.svg | Diff File | ||
mod - src/Mod/TechDraw/Patterns/diagonal1.svg | Diff File | ||
mod - src/Mod/TechDraw/Patterns/diagonal2.svg | Diff File | ||
mod - src/Mod/TechDraw/Patterns/earth.svg | Diff File | ||
mod - src/Mod/TechDraw/Patterns/general_steel.svg | Diff File | ||
mod - src/Mod/TechDraw/Patterns/glass.svg | Diff File | ||
mod - src/Mod/TechDraw/Patterns/hatch45L.svg | Diff File | ||
mod - src/Mod/TechDraw/Patterns/hatch45R.svg | Diff File | ||
mod - src/Mod/TechDraw/Patterns/hbone.svg | Diff File | ||
mod - src/Mod/TechDraw/Patterns/line.svg | Diff File | ||
mod - src/Mod/TechDraw/Patterns/plastic.svg | Diff File | ||
mod - src/Mod/TechDraw/Patterns/plus.svg | Diff File | ||
mod - src/Mod/TechDraw/Patterns/simple.svg | Diff File | ||
mod - src/Mod/TechDraw/Patterns/solid.svg | Diff File | ||
mod - src/Mod/TechDraw/Patterns/square.svg | Diff File | ||
mod - src/Mod/TechDraw/Patterns/steel.svg | Diff File | ||
mod - src/Mod/TechDraw/Patterns/titanium.svg | Diff File | ||
mod - src/Mod/TechDraw/Patterns/wood.svg | Diff File | ||
mod - src/Mod/TechDraw/Patterns/woodgrain.svg | Diff File | ||
mod - src/Mod/TechDraw/Patterns/zinc.svg | Diff File | ||
master 9726ad3f 2020-06-12 01:04:28 Committer: wandererfan Details Diff |
[TD] add dialog for hatches as discussed in the forum, the hatch feature misses a dialog. So here it is. The code is more or less just the one of the existing GeomHatch dialog |
||
mod - src/Mod/TechDraw/App/DrawHatch.cpp | Diff File | ||
mod - src/Mod/TechDraw/Gui/CMakeLists.txt | Diff File | ||
mod - src/Mod/TechDraw/Gui/CommandDecorate.cpp | Diff File | ||
add - src/Mod/TechDraw/Gui/TaskHatch.cpp | Diff File | ||
add - src/Mod/TechDraw/Gui/TaskHatch.h | Diff File | ||
add - src/Mod/TechDraw/Gui/TaskHatch.ui | Diff File | ||
mod - src/Mod/TechDraw/Gui/ViewProviderHatch.cpp | Diff File | ||
mod - src/Mod/TechDraw/Gui/ViewProviderHatch.h | Diff File | ||
master 033ddff0 2020-06-11 23:40:20 Committer: wwmayer Details Diff |
cast between incompatible function types from 'PyObject* (*)(PyObject*, PyObject*, PyObject*)' {aka '_object* (*)(_object*, _object*, _object*)'} to 'PyCFunction' {aka '_object* (*)(_object*, _object*)'} [-Wcast-function-type] | ||
mod - src/App/ApplicationPy.cpp | Diff File | ||
mod - src/Gui/Selection.cpp | Diff File | ||
master 73663392 2020-06-11 23:35:22 Committer: wandererfan Details Diff |
[TD] GeomHatch dialog: use sensible hatch limits - negative scale and line width is not sensible and lead to strange effects thus set a minimum - set the minimum reasonably above 0 since e.g. a hatch scale of 0.01 fills 8 GB RAM -> out of RAM error - disable KeyboardTracking since we don't want a time-consuming recomputation while the user changes a value |
||
mod - src/Mod/TechDraw/Gui/TaskGeomHatch.ui | Diff File | ||
master ce7c3a42 2020-06-11 23:27:32 Committer: wwmayer Details Diff |
replace use of deprecated function ftime with gettimeofday | ||
mod - src/Base/TimeInfo.cpp | Diff File | ||
master ab36a05f 2020-06-11 21:54:46 Committer: wwmayer Details Diff |
Fix -Wdeprecated-copy | ||
mod - src/Mod/Mesh/App/Core/Elements.cpp | Diff File | ||
mod - src/Mod/Mesh/App/Core/Elements.h | Diff File | ||
mod - src/Mod/Mesh/App/Core/KDTree.cpp | Diff File | ||
master c5358814 2020-06-11 21:09:13 Committer: wwmayer Details Diff |
Qt5: Replace deprecated functions of QString: 'QString& QString::vsprintf(const char*, __va_list_tag*)' is deprecated: Use vasprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] |
||
mod - src/Gui/Command.cpp | Diff File | ||
mod - src/Mod/TechDraw/Gui/QGVPage.cpp | Diff File | ||
master 6d0a136a 2020-06-11 20:37:39 Committer: wwmayer Details Diff |
Qt5: 'void Q[Plain]TextEdit::setTabStopWidth(int)' is deprecated [-Wdeprecated-declarations] | ||
mod - src/Gui/PythonConsole.cpp | Diff File | ||
mod - src/Gui/ReportView.cpp | Diff File | ||
mod - src/Gui/TextEdit.cpp | Diff File | ||
mod - src/Mod/TechDraw/Gui/mrichtextedit.cpp | Diff File | ||
master dd526ef4 2020-06-11 20:22:38 vocx-fc Committer: yorik Details Diff |
Draft: fix FlipDimension for LinearDimension During the re-organization of the `Dimension` classes, a new class `LinearDimension` was created. So this `FlipDimension` is updated to handle it. |
||
mod - src/Mod/Draft/draftguitools/gui_dimension_ops.py | Diff File | ||
master 0ca65a50 2020-06-11 20:21:21 Committer: wwmayer Details Diff |
Qt5: QDialog extension/orientation is deprecated [-Wdeprecated-declarations] | ||
mod - src/Gui/FileDialog.cpp | Diff File | ||
mod - src/Gui/FileDialog.h | Diff File | ||
master 7ae2fc7b 2020-06-11 18:14:19 Committer: wwmayer Details Diff |
Sketcher: ViewProviderSketch delay updateData on undo/redo transactions ======================================================================= On App:Document::undo, applchn is called on every transactional object (e.g. properties) affected, which calls Paste on the property. Each of the properties of SketchObject cause a call to SketchObject::OnChanged, and App::DocumentObject::OnChanged, the latter calling onChangeProperty, which signals the viewprovider from Gui::Document::slotChangedObject via ViewProviderSketch::updateData. This causes that the ViewProvider is updated when Constraints and Geometry indexes are not matching. The solution proposed has three parts: 1. First, at ViewProvider::updateData update is prevented while undo/redo transaction is performed by checking isPerformingTransaction() 2. Second, the onUndoRedoFinished() mechanism of SketchObject causes the call of updateData when it solves the sketch (and sets the solved geometry) 3. Third, Gui::Document::signalUndoDocument and Gui::Document::signalRedoDocument (via the slots in ViewProviderSketch) are used to perform the recompute of the ViewProvider when the undo/redo transaction is finished if needed. |
||
mod - src/Mod/Sketcher/Gui/ViewProviderSketch.cpp | Diff File | ||
mod - src/Mod/Sketcher/Gui/ViewProviderSketch.h | Diff File | ||
master 58e459cd 2020-06-11 18:09:02 Committer: wwmayer Details Diff |
TaskDlgEditSketch: Remove unnecessary recompute =============================================== On Undo/Redo there should not be an unconditional recompute. The need for this recompute is probably related to the fact that PropertyConstraintList has invalid geometry keys. |
||
mod - src/Mod/Sketcher/Gui/TaskDlgEditSketch.cpp | Diff File | ||
mod - src/Mod/Sketcher/Gui/TaskDlgEditSketch.h | Diff File | ||
master 81f815d3 2020-06-11 16:42:21 Committer: wwmayer Details Diff |
Qt5: 'void QFileDialog::setNameFilterDetailsVisible(bool)' is deprecated: Use setOption(HideNameFilterDetails, not enabled) instead [-Wdeprecated-declarations] | ||
mod - src/Gui/FileDialog.cpp | Diff File | ||
master ec5547aa 2020-06-11 16:38:24 Committer: wwmayer Details Diff |
Qt5: 'void QFileDialog::setConfirmOverwrite(bool)' is deprecated: Use setOption(DontConfirmOverwrite, not enabled) instead [-Wdeprecated-declarations] | ||
mod - src/Gui/CommandView.cpp | Diff File | ||
mod - src/Gui/FileDialog.cpp | Diff File | ||
master 4d0cd751 2020-06-11 16:30:21 Committer: wandererfan Details Diff |
[TD] detail view: add missing tooltip | ||
mod - src/Mod/TechDraw/Gui/TaskDetail.ui | Diff File | ||
master 66cbcdec 2020-06-11 16:25:21 Committer: wwmayer Details Diff |
Qt5: 'QVariant qVariantFromValue(const T&)' is deprecated: Use QVariant::fromValue() instead. [-Wdeprecated-declarations] | ||
mod - src/Gui/CallTips.cpp | Diff File | ||
mod - src/Mod/TechDraw/App/QDomNodeModel.cpp | Diff File | ||
master c19fae2c 2020-06-11 14:30:46 Details Diff |
[TD]Treat Imperial1/USCustomary as single value schema |
Affected Issues 0004340 |
|
mod - src/Mod/TechDraw/App/DrawViewDimension.cpp | Diff File | ||
master 6632921e 2020-06-11 13:25:31 Details Diff |
[TD]change misleading prop name - Shape | ||
mod - src/Mod/TechDraw/App/DrawViewBalloon.cpp | Diff File | ||
mod - src/Mod/TechDraw/App/DrawViewBalloon.h | Diff File | ||
mod - src/Mod/TechDraw/Gui/QGIViewBalloon.cpp | Diff File | ||
mod - src/Mod/TechDraw/Gui/TaskBalloon.cpp | Diff File | ||
master 9fb162f5 2020-06-11 12:40:33 Details Diff |
[TD]missing prefix/suffix for compound schema | ||
mod - src/Mod/TechDraw/App/DrawViewDimension.cpp | Diff File | ||
mod - src/Mod/TechDraw/App/DrawViewDimension.h | Diff File | ||
master 6271887c 2020-06-11 12:15:38 Details Diff |
Arch: Allow to export structural analysis model to IFC | ||
mod - src/Mod/Arch/CMakeLists.txt | Diff File | ||
mod - src/Mod/Arch/Resources/ui/preferences-ifc-export.ui | Diff File | ||
mod - src/Mod/Arch/exportIFC.py | Diff File | ||
mod - src/Mod/Arch/exportIFCHelper.py | Diff File | ||
add - src/Mod/Arch/exportIFCStructuralTools.py | Diff File | ||
master 415b0dce 2020-06-11 12:15:04 Details Diff |
Draft: Allow to define rounding value in DraftVecUtils.rounded | ||
mod - src/Mod/Draft/DraftVecUtils.py | Diff File | ||
master 28778703 2020-06-11 04:14:18 vocx-fc Committer: yorik Details Diff |
Draft: new make_radial_dimension function for more precision A single `make_dimension` handles three types of dimensions, (1) simple linear, (2) linear linked to an object, and (3) linked to a circular edge. So, we provide a new function, `make_radial_dimension_obj`, to handle the third case. In this way we can check the input parameters much better. We adjust the `Draft_Dimension` Gui Command accordingly. |
||
mod - src/Mod/Draft/Draft.py | Diff File | ||
mod - src/Mod/Draft/draftguitools/gui_dimensions.py | Diff File | ||
mod - src/Mod/Draft/draftmake/make_dimension.py | Diff File | ||
mod - src/Mod/Draft/drafttests/draft_test_objects.py | Diff File | ||
mod - src/Mod/Draft/drafttests/test_creation.py | Diff File | ||
master eced0cb5 2020-06-11 00:21:57 Committer: wwmayer Details Diff |
Qt5: QDesktopWidget is deprecated use QScreen [-Wdeprecated-declarations] | ||
mod - src/Gui/Action.cpp | Diff File | ||
mod - src/Gui/DlgPreferencesImp.cpp | Diff File | ||
mod - src/Gui/MainWindow.cpp | Diff File | ||
mod - src/Gui/Splashscreen.cpp | Diff File | ||
mod - src/Mod/Spreadsheet/Gui/qtcolorpicker.cpp | Diff File | ||
mod - src/Mod/Web/Gui/BrowserView.cpp | Diff File |