Changesets: FreeCAD

master eaedcfea

2020-06-12 10:20:20

wmayer

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
Attach Issues:
mod - src/Gui/MainWindow.cpp Diff File
mod - src/Gui/Thumbnail.cpp Diff File

master fbf0b23e

2020-06-12 01:42:29

uwestoehr


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.
Attach Issues:
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

uwestoehr


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
Attach Issues:
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

wmayer


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]
Attach Issues:
mod - src/App/ApplicationPy.cpp Diff File
mod - src/Gui/Selection.cpp Diff File

master 73663392

2020-06-11 23:35:22

uwestoehr


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
Attach Issues:
mod - src/Mod/TechDraw/Gui/TaskGeomHatch.ui Diff File

master ce7c3a42

2020-06-11 23:27:32

wmayer


Committer: wwmayer Details Diff
replace use of deprecated function ftime with gettimeofday
Attach Issues:
mod - src/Base/TimeInfo.cpp Diff File

master ab36a05f

2020-06-11 21:54:46

wmayer


Committer: wwmayer Details Diff
Fix -Wdeprecated-copy
Attach Issues:
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

wmayer


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]
Attach Issues:
mod - src/Gui/Command.cpp Diff File
mod - src/Mod/TechDraw/Gui/QGVPage.cpp Diff File

master 6d0a136a

2020-06-11 20:37:39

wmayer


Committer: wwmayer Details Diff
Qt5: 'void Q[Plain]TextEdit::setTabStopWidth(int)' is deprecated [-Wdeprecated-declarations]
Attach Issues:
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.
Attach Issues:
mod - src/Mod/Draft/draftguitools/gui_dimension_ops.py Diff File

master 0ca65a50

2020-06-11 20:21:21

wmayer


Committer: wwmayer Details Diff
Qt5: QDialog extension/orientation is deprecated [-Wdeprecated-declarations]
Attach Issues:
mod - src/Gui/FileDialog.cpp Diff File
mod - src/Gui/FileDialog.h Diff File

master 7ae2fc7b

2020-06-11 18:14:19

abdullah


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.
Attach Issues:
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

abdullah


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.
Attach Issues:
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

wmayer


Committer: wwmayer Details Diff
Qt5: 'void QFileDialog::setNameFilterDetailsVisible(bool)' is deprecated: Use setOption(HideNameFilterDetails, not enabled) instead [-Wdeprecated-declarations]
Attach Issues:
mod - src/Gui/FileDialog.cpp Diff File

master ec5547aa

2020-06-11 16:38:24

wmayer


Committer: wwmayer Details Diff
Qt5: 'void QFileDialog::setConfirmOverwrite(bool)' is deprecated: Use setOption(DontConfirmOverwrite, not enabled) instead [-Wdeprecated-declarations]
Attach Issues:
mod - src/Gui/CommandView.cpp Diff File
mod - src/Gui/FileDialog.cpp Diff File

master 4d0cd751

2020-06-11 16:30:21

uwestoehr


Committer: wandererfan Details Diff
[TD] detail view: add missing tooltip
Attach Issues:
mod - src/Mod/TechDraw/Gui/TaskDetail.ui Diff File

master 66cbcdec

2020-06-11 16:25:21

wmayer


Committer: wwmayer Details Diff
Qt5: 'QVariant qVariantFromValue(const T&)' is deprecated: Use QVariant::fromValue() instead. [-Wdeprecated-declarations]
Attach Issues:
mod - src/Gui/CallTips.cpp Diff File
mod - src/Mod/TechDraw/App/QDomNodeModel.cpp Diff File

master c19fae2c

2020-06-11 14:30:46

wandererfan

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

wandererfan

Details Diff
[TD]change misleading prop name - Shape
Attach Issues:
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

wandererfan

Details Diff
[TD]missing prefix/suffix for compound schema
Attach Issues:
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

yorik

Details Diff
Arch: Allow to export structural analysis model to IFC
Attach Issues:
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

yorik

Details Diff
Draft: Allow to define rounding value in DraftVecUtils.rounded
Attach Issues:
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.
Attach Issues:
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

wmayer


Committer: wwmayer Details Diff
Qt5: QDesktopWidget is deprecated use QScreen [-Wdeprecated-declarations]
Attach Issues:
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

master 7cbed523

2020-06-10 21:42:32

lambda


Committer: yorik Details Diff
Arch: importIFCHelper: Fix spurious message
Attach Issues:
mod - src/Mod/Arch/importIFCHelper.py Diff File
 First  Prev  1 2 3 ... 47 48 49 50 51 52 53 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 571 572 573  Next  Last