wmayer
d1d470c149
fixes #0003588 : The path to the Addons does not allow special characters
2018-09-14 00:00:22 +02:00
wmayer
398fc8ce80
issue #0003588 : The path to the Addons does not allow special characters
2018-09-13 21:40:30 +02:00
wmayer
bc6045d160
add missing header files
2018-09-07 11:46:32 +02:00
looooo
acb5fb83af
reduce line-length to 80 characters
2018-09-05 11:06:26 +02:00
looooo
4d82b87c20
new style modules: print traceback as error and as log.
2018-09-05 11:06:12 +02:00
Michal Ulianko
2e2b8cba6a
py3.7 fix
...
PyUnicode_AsUTF8() returns const char* in py3.7 instead of char*. Making
changes to reflect that which should also be safe in
other Python versions.
2018-09-01 22:44:39 +02:00
wmayer
8f1ef0d90c
get rid of private function _PyImport_FixupBuiltin for FreeCAD and FreeCADGui modules
2018-09-01 19:57:15 +02:00
wmayer
ab7346b216
get rid of private function _PyImport_FixupBuiltin for __FreeCADBase__ module
2018-09-01 16:26:18 +02:00
wmayer
78efe74229
number of used decimals in UnitsApi must already be set when initializing App
2018-08-29 23:35:38 +02:00
wmayer
1d11f742ca
now each module registers its unit tests itself
2018-08-28 13:14:16 +02:00
wmayer
0b3db26b24
reduce compile time after each time cmake configure is executed
2018-08-21 13:53:33 +02:00
wmayer
1c7a41af58
fix -Wignored-qualifiers
2018-08-19 12:38:57 +02:00
Oliver Oxtoby
62d33fc0d5
Base: Make units of PropertyQuantity settable from Python code
...
The previous implementation did not allow the unit to be set after it
is initialised by the default constructor - this fix makes it possible
to set the unit by explicitly assigning a Unit object.
2018-08-11 16:12:17 +02:00
wmayer
d3b69b582d
improve handling as library if used by another application
2018-08-09 17:01:46 +02:00
wmayer
ddfa3c8843
remove kwd argument for functions only with flag METH_VARARGS
2018-08-08 17:39:32 +02:00
Markus Lampert
e13c09235f
Changed all catch types to references for polymorphic exceptions.
2018-08-08 15:45:30 +02:00
luz.paz
424cd49398
Typos and whitespace fixes
2018-08-07 11:13:31 -04:00
wmayer
4ec1c8c29f
fix exception raised on project load for invalid enums
2018-08-07 15:23:56 +02:00
Zheng, Lei
3f924c0cbe
App::Document: enable saving with binary brep
2018-08-06 19:01:21 +02:00
wmayer
228b63e1f9
fix possible UNICODE related build failure due to OCCT cmake flags
2018-08-06 12:29:43 +02:00
wmayer
0260370b65
+ add option to switch off precompiled header
2018-07-25 20:17:11 +02:00
wmayer
1f2302141d
+ implement direct and queued mode in console class
2018-07-25 17:25:32 +02:00
wmayer
b0e869174d
fix possible crash when reverting a document
2018-06-09 23:22:56 +02:00
wmayer
21ec6f0b86
Some fixes for PropertyEnumeration:
...
+ when reading an enumeration ignore negative indexes and print a warning
+ raise an exception when trying to get the current value of an invalid enumeration
2018-06-09 20:00:28 +02:00
wmayer
790a4201ff
properly handle failure of loading a module
2018-06-09 15:55:20 +02:00
wmayer
920a4e62b2
add missing newlines
2018-06-09 11:47:12 +02:00
looooo
59e06142dc
Arch: Survey: fix py3 unicode problems
2018-06-04 19:23:42 +02:00
Yorik van Havre
ce9ad27eb0
Fixed wrong encoding in App.openTransaction
2018-05-21 12:11:46 -03:00
luz.paz
43244aa762
More misc. typos
2018-05-19 12:17:52 -04:00
luz.paz
69b3b0b7f2
Misc. typos
2018-05-19 12:06:34 -04:00
luz.paz
a463c94796
Crowdin: fix in different WBs
2018-05-02 00:50:06 -04:00
luz.paz
9167064fc1
Misc. typos
...
Found via `codespell`
2018-04-25 09:41:33 -03:00
Eivind Kvedalen
51b422ead0
Expressions: Fixed issue #3432 ; aggregate functions sometimes ignore some of their arguments.
...
Also updated regression tests in Spreadsheet module.
2018-04-21 22:33:54 +02:00
wmayer
911fedbbac
behave like standard Python interpreter in console mode if no file name is passed
2018-04-21 16:42:54 +02:00
DeepSOIC
73fc672909
App: fix py return of propertyLinkSubList
...
fixes #0002602
Now, it won't bunch up same object entries if they are not adjacent. I.e., same object can appear twice and more, for example:
[(object1, ('Edge2', 'Edge3')), (object2, ('Edge1',)), (object1, ('Edge4', 'Edge5'))]
Complete bunching causes information loss, and it's impossible to fix the bug with keeping the bunching complete.
2018-04-13 09:42:26 -03:00
wmayer
8a16eec936
fixes #0003424 : 'basic_string::_M_construct null not valid' when opening a v0.16 project with v0.17
2018-04-10 10:51:34 +02:00
Zheng, Lei
2cbc7232f3
PropertyContainer: fix false hit when searching property
...
PropertyContainer uses a static member of type PropertyData to register
static properties. PropertyData uses a short variable to record the
offset of the property against its container.
Because of possible 'short' truncation, when searching of property that
in fact is from another container, we must check if the pointer within
boundary. Otherwise, truncation will result in effectively random
number, and possibly causing a false hit.
2018-04-02 14:17:16 +02:00
wmayer
ef864f2c15
fix bug and possible crash in overloaded method PropertyLinkSubList::setValues
2018-03-30 11:37:42 +02:00
looooo
74d7adef10
py3: make __FreeCADBase__ importable
...
https://forum.freecadweb.org/viewtopic.php?f=10&t=12534&start=510#p220765
2018-03-30 11:28:15 +02:00
Eivind Kvedalen
53d4757ba7
Spreadsheet/Expressions: Fixed issue #3363 .
2018-03-25 11:53:35 +02:00
luz.paz
46d32d78a3
Misc. typos: Please merge right before 0.17 release
...
I'm still finding typos in the source code. I propose that you keep this PR open prior ro relaese and then merge so that if I find other typos in the meantime they will be part this release.
2018-03-18 15:15:16 +01:00
wmayer
14bf380e03
support to handle changed types when reading dynamic properties
2018-03-14 17:20:03 +01:00
Abdullah Tahiri
74375f6623
Dependency graph crash minimum fix
2018-03-11 21:31:28 +01:00
wmayer
c9f25d75d3
fix typo
2018-03-11 18:34:18 +01:00
luz.paz
bb9d49dd18
Weekly misc. typo fixes
2018-03-05 09:25:48 -05:00
luz.paz
57ca6b366b
Misc. source and comment typos
2018-02-26 22:02:52 -05:00
wmayer
3b8bb6a41c
expose getHelpDir to Python
2018-02-10 16:29:57 +01:00
wmayer
5e16cb9792
fixes #0003323 : Crash when clearing transaction list
2018-01-31 23:39:13 +01:00
wmayer
004206aa0b
0003279: Error 'invalid DAG' after deleting sketch using expressions
2018-01-31 00:27:38 +01:00
wmayer
f9b04b1551
#3325 : DlgPropertyLink as editor of Tip property
2018-01-28 22:37:03 +01:00