Commit Graph

6268 Commits

Author SHA1 Message Date
wmayer
64a20a83cc + PrintError is not part of FreeCAD but FreeCAD.Console 2016-01-09 21:21:17 +01:00
Yorik van Havre
fa3d8c4824 Arch: updated license block 2016-01-09 16:13:05 -02:00
Yorik van Havre
6121e8dea4 Arch: new presets system for structures 2016-01-09 16:04:11 -02:00
Abdullah Tahiri
81f216f9e3 Sketcher Bug fix: Solver information update on over-constrained situation
==================================================================================

Why?
if lastDoF<0, then an over-constrained situation has ensued and geometry is not to be updated, as geometry can not follow the constraints.
However, solver information needs to be updated.

Solution:
Just trigger a constraint change so that signaling is sent to ViewProviderSketch via boost and the solver information updated, using
Constraints.touch().
2016-01-09 13:42:12 +01:00
Eivind Kvedalen
3aa44e6b0c Issue #2389: ObjectIdentifiers constructed from a property sometimes do not
resolve correctly, because the resolver may fail if a different document
objects has a Label equal to the property's document object's identifier.
2016-01-08 23:09:00 +01:00
Eivind Kvedalen
d53cb8146e Spreadsheet: Issue #2388: The SheetObserver should ignore changed properties that don't have a name. 2016-01-08 23:09:00 +01:00
Eivind Kvedalen
48b699071c ExpressionCompleter: Remove '=' before tokenizing string, to improve completer when used in the spreadsheet. 2016-01-08 23:09:00 +01:00
Eivind Kvedalen
a760487ad2 Spreadsheet: Don't update line edit on top unless we have to. 2016-01-08 23:09:00 +01:00
Eivind Kvedalen
160d88c883 Spreadsheet: Clear line edit on top when current cell is cleared. 2016-01-08 23:09:00 +01:00
Eivind Kvedalen
5f26cd9d7c ObjectIdentifier: Resolve document name on both identifier and Label. 2016-01-08 23:09:00 +01:00
Eivind Kvedalen
9cc45e6ff2 ObjectIdentifier::resolve() should set documentName to internal name, not the Label property. 2016-01-08 23:09:00 +01:00
Eivind Kvedalen
e523638c75 Spreadsheet: Enable tooltip for error messages. 2016-01-08 23:09:00 +01:00
Eivind Kvedalen
009d0c03b4 Document/PropertyExpressionEngine: Added onDocumentRestored function, to update internals of PropertyExpressionEngine after loading a document from disk. 2016-01-08 23:08:55 +01:00
Eivind Kvedalen
905cd3b1d2 App: Added template<class P> class AtomicPropertyChangeInterface. 2016-01-08 23:08:39 +01:00
Yorik van Havre
e740a42075 Removed workbench keyboard shortcut W+0. Now only W+1-9 work. 2016-01-08 10:30:44 -02:00
Yorik van Havre
bf19e80de1 Arch: fixed encoding bugs 2016-01-07 15:27:49 -02:00
Yorik van Havre
7691e22c59 Arch: handle ifcopenshell error when shape is not available 2016-01-07 12:09:17 -02:00
Yorik van Havre
7886675faa Changed shortcuts of workbenches to W + number 2016-01-07 11:47:53 -02:00
wmayer
0b3f60a68c + replace use of accessibleName with custom property 2016-01-06 16:59:11 +01:00
Bernd Hahnebach
edac98b7ee FEM: small improvements in the regard of flake8 compatiblity 2016-01-06 11:13:38 -02:00
Bernd Hahnebach
c60c70eb7b FEM: delete no longer needed EditorMode Setting
the properties are set to read only in the C++ constructor allready.
See commit 1a8c643d50
2016-01-06 11:13:38 -02:00
Bernd Hahnebach
0ba0f7a55d FEM: set solver type property to read only the hard way 2016-01-06 11:13:38 -02:00
Bernd Hahnebach
feb8c0685e FEM: make result stats read only in property editor 2016-01-06 11:13:38 -02:00
Yorik van Havre
fd14c1e3c3 Draft: small change in DXF pref page layout 2016-01-06 10:56:25 -02:00
Yorik van Havre
5c2ed74292 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2016-01-05 20:20:42 -02:00
Yorik van Havre
87397a2512 Drawing: support for text alignment in Spreadheetview 2016-01-05 20:20:25 -02:00
wmayer
061c67cbf8 + expose onDocumentRestored to Python feature classes 2016-01-05 19:05:48 +01:00
wmayer
53024a6140 + do not include from .qrc generated .cpp file from other .cpp file but add it to build system 2016-01-05 17:35:58 +01:00
wmayer
a9189fb052 + use TRUE and FALSE for Vrml output (reverts part of commit 7d0e892d3) 2016-01-05 17:27:56 +01:00
Mateusz Skowroński
7d0e892d36 Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
158f39ec78

This change is Qt4/Qt5 neutral.
2016-01-05 16:43:33 +01:00
Mateusz Skowroński
db345cb624 Change includes in Spreadsheet to be compatible with Qt5.
This change is Qt4/Qt5 neutral.
2016-01-05 16:10:40 +01:00
Mateusz Skowroński
0aa944a1b7 Change includes in Quarter to be compatible with Qt5.
This change is Qt4/Qt5 neutral.
2016-01-05 16:10:02 +01:00
Mateusz Skowroński
ab26271756 QAbstractItemModel::reset() is obsolete in Qt5. Use beginResetModel() and endResetModel() instead.
This change is Qt4/Qt5 neutral.
2016-01-05 16:09:12 +01:00
Mateusz Skowroński
9beb7d21f3 QKeySequence::operator QString() is obsolete in Qt5. Use toString(QKeySequence::NativeText) instead.
This change is Qt4/Qt5 neutral.
2016-01-05 16:08:31 +01:00
Mateusz Skowroński
3b463f2138 Qt::WFlags is obsolete in Qt5. Replace it with Qt::WindowFlags.
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:58 +01:00
Mateusz Skowroński
cd2db00f22 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
Mateusz Skowroński
d5c074f80d QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:06:48 +01:00
Yorik van Havre
e55ba2d24d Added script to check download stats on github 2016-01-05 12:24:57 -02:00
Yorik van Havre
c5b8b7c0a4 Draft: fixed bug in DXF export because of last commit - fixes #2391 2016-01-05 12:15:44 -02:00
Yorik van Havre
1e578c4f1a Draft: don't check anymore for python DXF libs if using the C++ importer 2016-01-04 22:19:13 -02:00
Yorik van Havre
273131c088 Draft: finished new DXF importer - fixes #2205 2016-01-04 18:01:34 -02:00
wmayer
da83100728 + fix major flaw in Spreadsheet module: do not include precompiled header in other header files
+ fix linking errors in drawing module
2016-01-04 16:03:00 +01:00
wmayer
1d05f9c66e + support cutting of coloured mesh 2016-01-04 14:39:54 +01:00
Jon Neal
f46a6965d2 Change name prefix in the VRML exporter to one that is allowed in the standards. 2016-01-04 01:03:18 -05:00
Yorik van Havre
1747fb643f Updated ts files prior to translation cycle 2016-01-03 19:45:29 -02:00
Yorik van Havre
85fdc8c76b Drawing: Add SpreadsheetView command - fixes #1805 2016-01-03 16:44:56 -02:00
wmayer
145fe4a364 + fix build failure with gcc 2016-01-03 19:30:03 +01:00
wmayer
b6faaefaf8 + handling of colored mesh in view provider 2016-01-03 01:16:00 +01:00
wmayer
dd9e8c5bb1 + make faster reading ply mesh files 2016-01-03 01:14:48 +01:00
wmayer
0ea477b420 + fix rendering bug for colored 2016-01-01 15:37:05 +01:00