ickby
d5cbee5543
Persistence: Test cases for content dump
...
It turned our that the document could not be dumped as the xml specifier was used as first element. As the dumping added the <content> element around it was invalid. However, content is required to read properties. Hence the xml element generation was moved.
2018-10-27 16:15:30 +02:00
ickby
59283c40b8
Persistence: Enable binary dumps of properties
2018-10-27 16:15:09 +02:00
luz.paz
5f34122514
Another typo fix
2018-10-25 11:06:28 -03:00
luz.paz
7e221ab15d
Misc. typos and whitespace fixes
...
Found via `codespell -q 3 --skip="*.po,*.ts,./.git,./src/3rdParty,./src/CXX,./src/zipios++,./src/Mod/Assembly/App/opendcm" -I ../fc-word-whitelist.txt` and `grep`
2018-10-25 11:06:28 -03:00
wmayer
4310b745ea
improve whitespaces
2018-10-24 19:41:21 +02:00
wmayer
d88860a4c1
rework error handling mechanism
2018-10-24 19:38:43 +02:00
wmayer
f004858fe5
implement a direct way to set single or double precision when writing/reading properties using floating point numbers
2018-10-23 19:38:03 +02:00
wmayer
5f6a6cde9c
fix bug in PropertyPlacementList::RestoreDocFile
2018-10-22 12:06:54 +02:00
wmayer
9c86a3918f
put USE_OLD_DAG around use of backlinks
2018-10-22 12:06:22 +02:00
wmayer
8a421b8e2e
improve whitespaces
2018-10-19 22:25:55 +02:00
wmayer
869fb99595
improve whitespaces
2018-10-18 23:31:55 +02:00
wmayer
c290b9fe6e
add option to save document directly to target file
2018-10-15 20:09:43 +02:00
luz.paz
ce91b1f766
Misc. typo fix
...
Found via `codespell`
2018-10-11 16:21:28 -04:00
wmayer
ff82dc81d1
fixes 0003632: Drawing lines on top of an image will not save the work (Reason: ' &' in the file name)
2018-10-11 21:50:32 +02:00
wmayer
bf4dd7920e
emit signal when starting and finishing to save a document
2018-10-08 14:03:00 +02:00
wmayer
addb742b3c
minor fixes
2018-10-08 12:27:03 +02:00
luz.paz
fc91ba8ad9
typo/grammar fixes
2018-10-08 11:06:41 +02:00
ickby
835c75421f
Add python document observer for GUI documents
2018-10-08 11:04:56 +02:00
ickby
7a71379c58
Expose dynamic property signals to python observer
2018-10-08 11:02:31 +02:00
ickby
b08738c15b
Expose document property changes to python document observer
2018-10-08 11:01:07 +02:00
ickby
617114a072
Fix and test the new signals
2018-10-08 10:58:39 +02:00
ickby
65d6d5cc33
Expose onBeforeChange to python document observer
2018-10-08 10:52:52 +02:00
Stefan Tröger
e338fe6b70
Expose transaction events to document observer
2018-10-08 10:49:39 +02:00
Stefan Tröger
e571a6e07a
Add signals for recomputed objects
2018-10-08 10:43:32 +02:00
wmayer
18b8a66bc8
print warning also in release mode if an object is still touched after recompute
2018-10-07 22:09:44 +02:00
wmayer
25c7b1e9be
in topologicalSort check for valid iterator
2018-10-04 00:33:19 +02:00
wmayer
7bf4c9d96f
fixes 0003410: 0.17 Regression: recompute will make parts lose color and take a longer delay compared to FC0.16
2018-10-02 19:04:44 +02:00
wmayer
822421ddd9
fix infinite recursion when creating dependency graph with loops
2018-09-30 14:56:47 +02:00
wmayer
2951d0901a
store Python attributes of all extension types in one dict
2018-09-27 21:48:30 +02:00
wmayer
4181e1c2a7
fixes 0003465: Groups breaking dependency graph
2018-09-26 22:21:52 +02:00
wmayer
1c28e4b883
fixes 0003373: 'Save a copy' of a document with a spreadsheet mark the document as touched
2018-09-26 15:22:21 +02:00
wmayer
54128ed41c
fixes 0003513: Can't open file - some exceptions are shown in the log
2018-09-25 13:21:53 +02:00
luz.paz
360e581672
Misc. typo and whitespace fixes
...
ref: https://forum.freecadweb.org/viewtopic.php?f=3&t=30988#p256964
along with other misc. fixes
2018-09-19 17:26:03 +02:00
wmayer
9e8be1aa23
extend QuantityFormat to set denominator independent of user settings
2018-09-17 12:38:46 +02:00
hokieengr
f8dcd64fa2
Added support for fractional inch user setting.
2018-09-17 10:32:04 +02:00
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