Commit Graph

324 Commits

Author SHA1 Message Date
Stefan Tröger
258be36aad Extensions: Handle new dynamic_cast's 2016-10-08 12:48:34 +02:00
Stefan Tröger
c5a2419e14 Extensions: Introduce classes and port App groups 2016-10-08 12:48:34 +02:00
wmayer
f944ab3846 replace deprecated auto_ptr with unique_ptr 2016-09-22 13:01:20 +02:00
wmayer
f19d424d8b fix -Wextra in FreeCADGui 2016-09-21 20:54:52 +02:00
wmayer
f408f3180b fix -Wextra in FreeCADBase 2016-09-21 15:02:02 +02:00
wmayer
fb9fb9873f fix possible crashes in Tools::escapedUnicodeFromUtf8 2016-09-14 15:18:19 +02:00
Yorik van Havre
ecb3759178 Implemented python method ParameterGrpPy::GetContents() : lists all the parameters inside a group 2016-09-03 19:49:59 -03:00
wmayer
848a685c53 fx wrong cast 2016-09-03 14:58:03 +02:00
wmayer
3c88edd007 fix Coverity issues 2016-09-03 14:51:28 +02:00
wmayer
464a8f3860 Coverity issues:
129643
129654
129689
129714
2016-08-16 14:05:52 +02:00
wmayer
1e12b54a7b Coverity issues:
129202: replace dynamic_cast with static_cast
129421, 129422: fix Py_Return macro
128928: Unchecked return value
129488, 129490: uninitialized scalar variable
129567, 129661: uninitialized scalar field
129665: uninitialized pointer field
2016-08-15 21:28:41 +02:00
wmayer
aea769af3d use a stricter tolerance to check for equal points
add method IsEqual to Vector3 class to support user-defined tolerance
2016-08-15 14:09:26 +02:00
wmayer
4790648065 adjust fix for BSD for time info from commit 5f0073b 2016-08-12 14:03:16 +02:00
wmayer
f39b89a54d add class QuantityFormat to control user string of Quantity
do some code refactoration to reduce duplicate code
2016-08-06 19:06:29 +02:00
wmayer
7979ec275b fix bug in factor for Pa in units system 2016-08-05 13:57:27 +02:00
wmayer
1eca045744 use the unicode symbol for mu 2016-08-05 10:38:33 +02:00
wmayer
6176756b28 use const reference in schemaTranslate to avoid tmp. copy 2016-08-05 10:33:41 +02:00
wmayer
5cb8873794 improve whitespaces, fix typos 2016-08-05 10:00:12 +02:00
wmayer
1c89c566c9 whitespace improvements 2016-08-04 17:45:04 +02:00
vdwalts
f9c5661096 Base: Units: add units for thermomechanical analysis 2016-08-04 17:45:04 +02:00
wmayer
1e2e24b652 + rename methods in Vector3 class
+ add convenience methods Cross and Dot to Vector3 class
+ fix bug in DistanceToLineSegment in Vector3 class
2016-07-30 15:14:47 +02:00
wmayer
5c095de599 + extend InventorBuilder to add an SoPolygonOffset node 2016-07-30 14:20:00 +02:00
wmayer
732eb7fee3 support any sequence type in init method of Vector class 2016-07-27 09:23:20 +02:00
wmayer
1101623760 implement method to convert escaped unicode to utf-8 encoded string 2016-07-24 16:14:40 +02:00
WandererFan
eabc483c6c Use Units Decimals pref in Quantity::getUserString 2016-07-21 12:55:39 -04:00
wmayer
7544444d63 issue #0002625: Wrong dimension (str) from Unit 2016-07-17 13:14:06 +02:00
wmayer
09e1483f10 improve whitespaces 2016-07-17 12:46:46 +02:00
Yorik van Havre
223725ca82 Temporary workaround for the fractions issue in new imperial unit schema (using + between inches and fractions) 2016-07-09 14:01:07 -03:00
Yorik van Havre
1e333f4ef3 Draft: Fixed buggy units display in Draft widgets 2016-07-03 18:41:33 -03:00
wmayer
e487633bc6 + support of seek operation on PyStreambuf 2016-06-14 13:59:02 +02:00
wmayer
dea884ab6a + enable buffered writing in PyStreambuf 2016-06-13 19:22:15 +02:00
wmayer
c3318a3fff + prepare PyStreambuf for buffered writing 2016-06-12 18:20:31 +02:00
wmayer
0d4be03f4b + optimize PyStreambuf::underflow() and fix failure for large files/buffers 2016-06-12 14:50:02 +02:00
wmayer
f8c0d2f05d + fix possible crash when throw file exception 2016-06-11 16:25:06 +02:00
wmayer
051a9fce73 + fix bug in PyStreambuf when reading binary data 2016-06-11 15:38:51 +02:00
wmayer
432dcb5833 + extend PyStreambuf to write data 2016-06-11 11:54:01 +02:00
Yorik van Havre
d6f31d5c4b Fixed buggy Building-US units schema 2016-05-29 12:15:35 -03:00
Yorik van Havre
ad92a2df25 Added new units schema: US building (feet + inches + fraction) 2016-05-26 20:37:53 -03:00
Yorik van Havre
ee9452a8ee Added new units schema: Building Euro (everything in centimeters, areas/volumes in meters) 2016-05-25 19:10:48 -03:00
Wolfgang E. Sanyer
6ff95b9043 Bug fix for ID#0002453
Note that the version of Bison and Flex used to generate the two .c files are newer than
in the last commit from 2010. Also,for anyine working on tbis in the future, dont forget
to run flex and bison on the .l and .y files respectively.
2016-05-20 10:05:18 +02:00
wmayer
c81aca0902 + unify method names 2016-05-18 23:43:58 +02:00
DeepSOIC
7f5197695d Attacher: add general purpose editor UI (python)
Added as PartGui.AttachmentEditor, and Part_EditAttachment gui command
2016-05-18 23:05:51 +02:00
wmayer
885050d33e + fix == operator of Rotation class, + add method isSame() 2016-05-18 18:08:40 +02:00
wmayer
6a66073928 + implement rich compare protocol of Python interface for Placement & Rotation 2016-05-18 11:26:27 +02:00
David Pello
5f0073b9e0 BSD Porting fixes, conditional compilation and use of gettimeofday() 2016-05-15 12:08:43 +02:00
wmayer
948bd3f646 + fixes #0002554: Py Quantity Constructor Angles 2016-05-14 19:30:43 +02:00
wmayer
d7d347b2d6 + if getcwd fails then use '.' 2016-05-11 09:24:29 +02:00
wmayer
f3a5deec5e + on Windows use the unicode version to get cwd
+ on other platforms use getcwd in a platform independent way
2016-05-10 22:47:14 +02:00
Wolfgang E. Sanyer
4ebb62be79 Fixed bug ID0002513, where Mesh.export failed.
The failure occered when Mesh.export was passed just a filename, such as 'out.stl'. If
'/some/path/out.stl' was passed it succeeded.
2016-05-10 22:29:40 +02:00
wmayer
00eaab0522 + add new class ParameterSerializer to load and save parameter files 2016-04-29 17:43:07 +02:00