Commit Graph

255 Commits

Author SHA1 Message Date
Mateusz Skowroński
6942c23895 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
c275b35d48 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
0695552cff QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:06:48 +01:00
wmayer
991394dc76 + improve exception handling in initialization scripts 2015-12-29 23:42:29 +01:00
wmayer
b45f321f9c + issue: #0002350, handle Python's SystemExit exceptions and do not exit application when running from macro dialog or Python editor 2015-12-27 23:00:59 +01:00
wmayer
21e44f274b + extend Inventor builder to support material nodes 2015-12-16 16:09:31 +01:00
wmayer
65f72237d7 Fix element A41 in 4x4 Matrix class 2015-12-10 17:35:54 +01:00
wmayer
8c239cd39b + add restart method to timer 2015-12-07 17:31:05 +01:00
wmayer
c633ec4075 + make API of InventorBuilder more flexible and add new methods 2015-11-26 15:27:40 +01:00
wmayer
123f182c96 + support of drag'n'drop for custom view provider 2015-11-03 16:21:51 +01:00
wmayer
31046e127a + replace || operator in BoundBox2D with real function names 2015-10-14 18:45:13 +02:00
wmayer
f6023d36d2 + rework BoundingBox class and its Python binding 2015-10-11 00:18:53 +02:00
wmayer
5f5817b033 + Prefer prefix ++/-- operators for non-primitive types 2015-10-07 14:29:49 +02:00
wmayer
de41dc46ec + Prefer prefix ++/-- operators for non-primitive types 2015-10-07 13:38:17 +02:00
wmayer
51e4eebbc6 + Prefer prefix ++/-- operators for non-primitive types 2015-10-06 21:16:44 +02:00
wmayer
fa2cf93da0 + fix clang warnings, fix wrong characters 2015-10-05 17:59:19 +02:00
wmayer
c114c648fc + use dedicated exception classes for expression and parsing errors 2015-09-27 23:17:33 +02:00
wmayer
6b67d4a4e7 + replace old C casts with static_cast in generated C++ code, remove unused parent structure of Python classes, support of -1 as return value of setCustomAttributes 2015-09-27 22:08:08 +02:00
Mateusz Skowroński
05f95c0506 Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
Eivind Kvedalen
ffa304e4f9 Base: Added toStdString and fromStdString, to convert std::string to/from QString,
assuming std::string is utf-8 encoded.
2015-09-21 14:51:00 +02:00
Eivind Kvedalen
7b11426bff Added Base::freecad_dynamic_cast(...) 2015-09-21 14:50:59 +02:00
wmayer
7063176cfa + fixes #0002126: Fails to load .FCStd file which contains many MultiByte-Char strings 2015-09-20 12:29:05 +02:00
wmayer
eb05da7cd7 + fixes #0001237: the project file is not saved when the /tmp directory is full, but the user is not aware of it 2015-09-19 18:59:22 +02:00
wmayer
718b766737 + for file-based recovery write the data files in worker threads 2015-09-19 13:12:59 +02:00
wmayer
193abe75da + make RecoveryWriter more robust 2015-09-18 15:32:33 +02:00
wmayer
698f964aa3 + implement FileWriter class based on files and a specialized sub-class for recovery purposes 2015-09-17 21:37:47 +02:00
wmayer
22b7fb660c + save Brep in binary format for recovery files 2015-09-16 22:58:47 +02:00
wmayer
0530114522 + fix build for FreeBSD 2015-09-02 18:06:37 +02:00
wmayer
c1f96b20b1 + fix strict-aliasing warnings 2015-08-29 19:48:08 +02:00
wmayer
896b566dd9 + test command to show race conditions in Console class
+ fix race conditions in Console class
2015-08-13 18:57:52 +02:00
wwmayer
6bf065c097 + fix many minor warnings, activate -Wall for gcc 2015-08-02 22:32:18 +02:00
Przemo Firszt
288fc3d5c1 Units: Add Density to internal schema
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-31 14:04:14 -03:00
wmayer
c2c83a353b + harmonize XercesC cmake variables with official check 2015-07-28 14:17:49 +02:00
wmayer
d2b7b730d3 + replace deprecated PYTHON_INCLUDE_PATH 2015-07-25 18:29:42 +02:00
wmayer
a7e9c06686 + eliminate cmake variable Boost_DEBUG_LIBRARIES 2015-07-17 11:05:25 +02:00
wmayer
d3bcb204a5 + replace PYTHON_LIBRARY with correct variable PYTHON_LIBRARIES 2015-07-16 19:29:56 +02:00
Eivind Kvedalen
492ede70f9 Unit: Added overflow/underflow checking. 2015-06-25 10:40:00 +02:00
Kirill Gavrilov
f023c98eda + fixes: #0002109: Matrix4D - add missing constructor body 2015-05-19 20:10:48 +02:00
Przemo Firszt
dc0ab6f20e Base: Handle Unit::Stress tha same way as Unit::Pressure in UnitsSchema
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-18 16:43:45 +01:00
Przemo Firszt
8f8ed63119 Base: Fix GPa/MPa units in UnitsSchemaMKS.cpp
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-18 16:37:09 +01:00
wmayer
859d76faf8 + fixes #0002075: Analysis of FreeCAD by PVS-Studio static analyzer 2015-05-01 16:56:31 +02:00
wmayer
d03daf3773 + fix build failure for zipios++ from Fedora 2015-04-29 10:31:10 +02:00
Ian Rees
1b57b8d78a Refactored PropertyEnumeration 2015-04-24 23:33:33 +02:00
wmayer
bbd5a882b3 + extend Inventor builder, project curve on mesh 2015-04-22 17:15:49 +02:00
wmayer
d57395c755 + fixes #0001831: FreeCAD can start only once 2015-04-12 02:02:30 +02:00
wmayer
3fd44cf3f0 + make XML parser more robust against unexpected structure 2015-04-11 13:11:12 +02:00
Przemo Firszt
813d30904f Base: Fix pressure unit problem in internal unit schema
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:09 +02:00
wmayer
bb89cbdb87 + fix compiler warning 2015-04-04 14:09:00 +02:00
Sebastian Hoogen
ba0f2a765c document the convention used for Euler angles (XY'Z'')
in the Placement dialog and the docstrings of the Rotation python class.
fixes #2007
2015-03-21 13:29:32 +01:00
wmayer
9d70e9c0ce + issue #0002007: Base::Rotation::get/setYawPitchRoll uses wrong euler convention 2015-03-15 18:53:03 +01:00