Wolfgang E. Sanyer
4f264cff28
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
3feaef3d2e
+ unify method names
2016-05-18 23:43:58 +02:00
DeepSOIC
7d7cf5c723
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
f3226a0867
+ fix == operator of Rotation class, + add method isSame()
2016-05-18 18:08:40 +02:00
wmayer
c3c11a9b81
+ implement rich compare protocol of Python interface for Placement & Rotation
2016-05-18 11:26:27 +02:00
David Pello
21ffb0305f
BSD Porting fixes, conditional compilation and use of gettimeofday()
2016-05-15 12:08:43 +02:00
wmayer
bb342d88a3
+ fixes #0002554 : Py Quantity Constructor Angles
2016-05-14 19:30:43 +02:00
wmayer
a399368684
+ if getcwd fails then use '.'
2016-05-11 09:24:29 +02:00
wmayer
2f3a793faf
+ 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
5540dd81c2
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
62ef3dd923
+ add new class ParameterSerializer to load and save parameter files
2016-04-29 17:43:07 +02:00
jriegel
c88a8336dc
Several enhancements
...
+ PLMXML Reader
+ Some meta information sorting
+ Making ProductRefs invisibly in Tree
2016-04-12 18:12:03 +02:00
jrheinlaender
b5bc152839
Fix compile error after rebase
2016-04-12 18:11:49 +02:00
jrheinlaender
f63a8d9ea6
Fixed build error on Ubuntu
2016-04-12 18:11:47 +02:00
Stefan Tröger
d50f7f1787
basic infrastructure
2016-04-12 18:11:46 +02:00
jriegel
5f8ebafd7d
switch PartDesign to Bodies
2016-04-12 18:11:45 +02:00
jriegel
a037ffa728
First work for LibPack8 and PropertyUUID
2016-04-12 18:11:44 +02:00
Eivind Kvedalen
d62f9425fb
Quantity: Added -= and += operators.
2016-04-02 12:01:04 +02:00
Ian Rees
7f42b2b8fb
More fixes around Python exit codes
2016-03-27 13:01:04 +13:00
wmayer
8675778a68
+ fix crash when raising SystemExitException if not called inside Python function
2016-03-21 18:50:57 +01:00
Bruce Lacey
05076993d6
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
3f2d1e458d
+ issue #0002468 : freecad-0.15.4671/src/Base/Handle.cpp:61: bad test ?
2016-03-09 22:13:05 +01:00
wmayer
ff5e147f5e
+ terminate xerces at program exit
2016-03-09 15:52:42 +01:00
vginkeo
8ec2665c1c
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
17522b7b2f
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
555382e8be
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
227c9bf488
Fixed non dereferenced py pointer in ParameterPy
2016-02-01 13:34:37 -02:00
Yorik van Havre
4a146e5fc7
Fixed wrong value returned by ParameterPy::GetUnsigned
2016-01-30 17:24:28 -02:00
wmayer
f9694de1a8
+ move handwritten Python classes to PyCXX
2016-01-27 18:07:48 +01:00
wmayer
8a3dbc5d09
+ base ParameterGrpPy class on PyCXX and fix usage of unsigned values
2016-01-27 18:05:56 +01:00
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