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
jriegel
884ae139fa
Several enhancements
...
+ PLMXML Reader
+ Some meta information sorting
+ Making ProductRefs invisibly in Tree
2016-04-12 18:12:03 +02:00
jrheinlaender
b7fe543ca9
Fix compile error after rebase
2016-04-12 18:11:49 +02:00
jrheinlaender
6654b859eb
Fixed build error on Ubuntu
2016-04-12 18:11:47 +02:00
Stefan Tröger
474fbbcb3e
basic infrastructure
2016-04-12 18:11:46 +02:00
jriegel
fbd763a8f4
switch PartDesign to Bodies
2016-04-12 18:11:45 +02:00
jriegel
9396e5e02d
First work for LibPack8 and PropertyUUID
2016-04-12 18:11:44 +02:00
Eivind Kvedalen
d6052a5a27
Quantity: Added -= and += operators.
2016-04-02 12:01:04 +02:00
Ian Rees
bc71c6e64b
More fixes around Python exit codes
2016-03-27 13:01:04 +13:00
wmayer
7df94ca9af
+ fix crash when raising SystemExitException if not called inside Python function
2016-03-21 18:50:57 +01:00
Bruce Lacey
9816e48b07
Propagate sys.exit(code) up the call stack to the shell
...
SystemExitException is instantiated and thrown by Base::Interpreter
whenever the python interpreter executes a sys.exit(<exitCode>) call.
However, in the current implementation, the SystemExitException
effectively swallows the <exitCode> hence under this change,
SystemExitException has been extended to save the <exitCode> passed to
the sys.exit() call when it is instantiated and provides a new
getExitCode() accessor method to retrieve the <exitCode> in a
try/catch block. MainGui.cpp was change to pass the corresponding
<exitCode> to the system exit() call so it is accessible in the shell.
2016-03-21 18:28:29 +01:00
wmayer
3ca1ec2c28
+ issue #0002468 : freecad-0.15.4671/src/Base/Handle.cpp:61: bad test ?
2016-03-09 22:13:05 +01:00
wmayer
2e43774c2f
+ terminate xerces at program exit
2016-03-09 15:52:42 +01:00
vginkeo
f14758d5e5
FEM: C++98 compatible fix to constraint displacement reference deletion, update vertice, edge, face selection
2016-02-29 13:06:16 +01:00
Yorik van Havre
577f208da7
Revert "FEM: Updated fix to constraint displacement reference deletion, update hide show, remove custom input writer, update vertice, edge, face selection."
...
This reverts commit ac4d466443 .
2016-02-19 00:05:55 -02:00
vginkeo
ac4d466443
FEM: Updated fix to constraint displacement reference deletion, update hide show, remove custom input writer, update vertice, edge, face selection.
2016-02-18 19:15:16 -02:00
Yorik van Havre
c25595266b
Fixed non dereferenced py pointer in ParameterPy
2016-02-01 13:34:37 -02:00
Yorik van Havre
2cb06c6f65
Fixed wrong value returned by ParameterPy::GetUnsigned
2016-01-30 17:24:28 -02:00
wmayer
173f19eff4
+ move handwritten Python classes to PyCXX
2016-01-27 18:07:48 +01:00
wmayer
dec030b34e
+ base ParameterGrpPy class on PyCXX and fix usage of unsigned values
2016-01-27 18:05: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
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