Changesets: FreeCAD

master cd9488da

2015-05-18 06:44:38

Alexander Golubev


Committer: wmayer Details Diff
Mod/Sketcher: add missing brackets in conditions

Warning was:
src/Mod/Sketcher/Gui/CommandConstraints.cpp|131 col 99| warning: '&&' within '||' [-Wlogical-op-parentheses]
mod - src/Mod/Sketcher/Gui/CommandConstraints.cpp Diff File
mod - src/Mod/Sketcher/Gui/EditDatumDialog.cpp Diff File

master 95f0deca

2015-05-18 06:43:22

Alexander Golubev


Committer: wmayer Details Diff
Mod/Robot: fix missing return statement

Warning was:
src/Mod/Robot/App/kdl_cp/chainjnttojacsolver.cpp|46 col 5| warning: control may reach end of non-void function [-Wreturn-type]
mod - src/Mod/Robot/App/kdl_cp/chainjnttojacsolver.cpp Diff File

master cd0ae20e

2015-05-17 19:41:35

Alexander Golubev


Committer: wmayer Details Diff
Mod/Robot: fix some spaces and a couple of warnings

Warnings wsa:
src/Mod/Robot/App/kdl_cp/chaindynparam.cpp|105 col 5| warning: control may reach end of non-void function [-Wreturn-type]
src/Mod/Robot/App/kdl_cp/chainidsolver_recursive_newton_euler.cpp|82 col 5| warning: control may reach end of non-void function [-Wreturn-type]
mod - src/Mod/Robot/App/kdl_cp/chaindynparam.cpp Diff File
mod - src/Mod/Robot/App/kdl_cp/chainidsolver_recursive_newton_euler.cpp Diff File

master 691b1af9

2015-05-17 19:22:24

yorik

Details Diff
Arch: Added pref option to IFC import to treat materials with same name as one
mod - src/Mod/Arch/Resources/ui/preferences-ifc.ui Diff File
mod - src/Mod/Arch/importIFC.py Diff File

master efb08237

2015-05-17 19:18:47

Alexander Golubev


Committer: wmayer Details Diff
Mod/Robot: fix spacing and add a couple of FIXME's

It's to be considered to delete the class ChainIkSolverVel_pinv_nso:
it seems it's not used anythere and unmantained/unfinished for many years.
mod - src/Mod/Robot/App/kdl_cp/chainiksolvervel_pinv_nso.hpp Diff File

master cf652c84

2015-05-17 18:39:10

Alexander Golubev


Committer: wmayer Details Diff
Mod/Mesh: suppress bunch of warnings on C++11 usage

Warnings was like:
src/Mod/Mesh/App/WildMagic4/Wm4Vector4.cpp|21 col 49| warning: first declaration of static data member specialization of 'ZERO' outside namespace 'Wm4' is a C++11 extension [-Wc++11-extensions]
mod - src/Mod/Mesh/App/WildMagic4/Wm4Math.cpp Diff File
mod - src/Mod/Mesh/App/WildMagic4/Wm4Matrix2.cpp Diff File
mod - src/Mod/Mesh/App/WildMagic4/Wm4Matrix3.cpp Diff File
mod - src/Mod/Mesh/App/WildMagic4/Wm4Matrix4.cpp Diff File
mod - src/Mod/Mesh/App/WildMagic4/Wm4Vector2.cpp Diff File
mod - src/Mod/Mesh/App/WildMagic4/Wm4Vector3.cpp Diff File
mod - src/Mod/Mesh/App/WildMagic4/Wm4Vector4.cpp Diff File

master 4326c965

2015-05-17 18:25:46

Alexander Golubev


Committer: wmayer Details Diff
Gui: fix constructor arguments due to prototype change

Warning message was:
src/Gui/DownloadManager.cpp|295 col 54| warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
mod - src/Gui/DownloadManager.cpp Diff File

master de2f8a26

2015-05-17 17:57:59

Alexander Golubev


Committer: wmayer Details Diff
Mod/Spreadsheet: suppress warnings

Warnings was:
src/Mod/Spreadsheet/App/Expression.cpp|788 col 20| warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
mod - src/Mod/Spreadsheet/App/Expression.cpp Diff File

master b714b8f4

2015-05-17 17:39:48

Alexander Golubev


Committer: wmayer Details Diff
salomsmesh: fix more bad conditions

warning was:
src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_Penta_3D.cpp|832 col 9| warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
mod - src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_Penta_3D.cpp Diff File

master a48d05e2

2015-05-17 17:25:45

Alexander Golubev


Committer: wmayer Details Diff
salomesmesh: fix an error because of bad priorities in logial operators
mod - src/3rdParty/salomesmesh/src/Controls/SMESH_Controls.cpp Diff File

master 75ce52f6

2015-05-17 17:16:01

Alexander Golubev


Committer: wmayer Details Diff
salomesmesh: fix broken conditions

Warnings was:
src/3rdParty/salomesmesh/src/SMESH/SMESH_Mesh.cpp|617 col 19| warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
|| bool isAlgo = ( !anHyp->GetType() == SMESHDS_Hypothesis::PARAM_ALGO );
|| ^ ~~
src/3rdParty/salomesmesh/src/Controls/SMESH_Controls.cpp|2165 col 31| warning: '&&' within '||' [-Wlogical-op-parentheses]
|| if ( !aMinStr.IsEmpty() && !aMinStr.IsIntegerValue() ||
mod - src/3rdParty/salomesmesh/src/Controls/SMESH_Controls.cpp Diff File
mod - src/3rdParty/salomesmesh/src/SMESH/SMESH_Mesh.cpp Diff File

master 09c71793

2015-05-17 16:42:05

Alexander Golubev


Committer: wmayer Details Diff
salomesmesh: fix function missing return statement

3rdParty/salomesmesh/src/SMESHDS/SMESHDS_GroupOnGeom.cpp|95 col 3| warning: control may reach end of non-void function [-Wreturn-type]
|| }
mod - src/3rdParty/salomesmesh/src/SMESHDS/SMESHDS_GroupOnGeom.cpp Diff File

master 5aa46798

2015-05-17 16:33:29

Alexander Golubev


Committer: wmayer Details Diff
salomesmesh: fix tests in conditions

Lots of warnings like:
src/3rdParty/salomesmesh/src/SMESHDS/SMESHDS_Command.cpp|57 col 6| warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
|| if (!myType == SMESHDS_AddNode)
||

Most of them resulted in conditions being always false.
mod - src/3rdParty/salomesmesh/src/SMESHDS/SMESHDS_Command.cpp Diff File

master 774dac17

2015-05-17 16:28:00

Alexander Golubev


Committer: wmayer Details Diff
salomesmesh: suppress several warnings

Warning was like:
src/3rdParty/salomesmesh/src/SMESHDS/SMESHDS_Mesh.cpp|1028 col 5| warning: add explicit braces to avoid dangling else [-Wdangling-else]
src/3rdParty/salomesmesh/src/SMESH/SMESH_MeshEditor.cpp|7377 col 27| warning: '&&' within '||' [-Wlogical-op-parentheses]
mod - src/3rdParty/salomesmesh/src/Controls/SMESH_Controls.cpp Diff File
mod - src/3rdParty/salomesmesh/src/SMESH/SMESH_MeshEditor.cpp Diff File
mod - src/3rdParty/salomesmesh/src/SMESH/SMESH_subMesh.cpp Diff File
mod - src/3rdParty/salomesmesh/src/SMESHDS/SMESHDS_GroupOnGeom.cpp Diff File
mod - src/3rdParty/salomesmesh/src/SMESHDS/SMESHDS_Mesh.cpp Diff File
mod - src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_Hexa_3D.cpp Diff File
mod - src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_ProjectionUtils.cpp Diff File

master f5cd28fc

2015-05-17 16:26:44

Alexander Golubev


Committer: wmayer Details Diff
Pivy: suppress warning

Warning was:
src/3rdParty/salomesmesh/src/SMDS/SMDS_Mesh.cpp|2303 col 31| warning:
'&&' within '||' [-Wlogical-op-parentheses]
|| !hasConstructionFaces() && elem->GetType() == SMDSAbs_Face ||
|| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mod - src/3rdParty/salomesmesh/src/SMDS/SMDS_Mesh.cpp Diff File

master 4b992c27

2015-05-17 15:43:57

Alexander Golubev


Committer: wmayer Details Diff
Pivy: fix several warnings

Warnings like:
warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds]

All was due to small defined size of the onstack array.
mod - src/3rdParty/Pivy-0.5/coin_wrap.cpp Diff File

master 554d8f40

2015-05-17 15:30:53

Alexander Golubev


Committer: wmayer Details Diff
Pivy: Fix a compiller warning with wrong check

Warning was:
src/3rdParty/Pivy-0.5/coin_wrap.cpp|244969 col 15| warning: comparison of function 'time' not equal to a null pointer is always true [-Wtautological-pointer-compare]
|| if (time != NULL) {
|| ^~~~ ~~~~

This one supposed to be a copy-paste typo.
mod - src/3rdParty/Pivy-0.5/coin_wrap.cpp Diff File

master 9431d301

2015-05-17 13:53:22

wmayer

Details Diff
+ for VRML and OpenInventor export only selection, fix whitespaces
mod - src/Gui/ApplicationPy.cpp Diff File
mod - src/Gui/View3DInventor.cpp Diff File
mod - src/Gui/View3DInventor.h Diff File
mod - src/Gui/View3DInventorViewer.cpp Diff File
mod - src/Gui/View3DInventorViewer.h Diff File
mod - src/Gui/View3DPy.cpp Diff File
mod - src/Gui/View3DPy.h Diff File

master 994fbd07

2015-05-17 12:53:00

wmayer

Details Diff
+ whitespace fixes
mod - src/Gui/ApplicationPy.cpp Diff File

master f8eb61fd

2015-05-16 21:41:53

wmayer

Details Diff
+ prepare OCAF document to keep placement
mod - src/Mod/Import/App/ImportOCAF.cpp Diff File

master 854b4be5

2015-05-16 18:01:57

wmayer

Details Diff
+ prepare OCAF document to keep placement
mod - src/Mod/Import/App/ImportOCAF.cpp Diff File

master 00a124ce

2015-05-16 14:19:20

wmayer

Details Diff
+ Pad type UpToFirst and UpToFace doesn't produce expected results.
mod - src/Mod/PartDesign/App/FeaturePad.cpp Diff File

master a6436f7d

2015-05-16 12:44:07

wmayer

Details Diff
+ fixes 0001655: Pocket type UpToFirst and UpToFace doesn't produce expected results. Affected Issues
0001655
mod - src/Mod/PartDesign/App/FeaturePocket.cpp Diff File

master 78671cb2

2015-05-15 20:20:37

wmayer

Details Diff
+ raise exceptions in TopoShape::makeOffsetShape if needed
mod - src/Mod/Part/App/TopoShape.cpp Diff File

master 4fe99f26

2015-05-15 20:07:55

wmayer

Details Diff
+ whitespace improvement
mod - src/Mod/Part/App/TopoShape.cpp Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 552 553 554 555 556 557 558 ... 560 ... 630 ... 649 650 651  Next  Last