Commit Graph

836 Commits

Author SHA1 Message Date
luz.paz
125f41e3e8 Misc. typo fix
Found via `codespell`
2018-10-11 16:21:28 -04:00
wmayer
22ddbe0f8d 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
dc023afc84 emit signal when starting and finishing to save a document 2018-10-08 14:03:00 +02:00
wmayer
4ac34d06a8 minor fixes 2018-10-08 12:27:03 +02:00
luz.paz
1f3905810c typo/grammar fixes 2018-10-08 11:06:41 +02:00
ickby
a0de8c9a62 Add python document observer for GUI documents 2018-10-08 11:04:56 +02:00
ickby
fb95e3247d Expose dynamic property signals to python observer 2018-10-08 11:02:31 +02:00
ickby
f68e36de41 Expose document property changes to python document observer 2018-10-08 11:01:07 +02:00
ickby
e91de65df0 Fix and test the new signals 2018-10-08 10:58:39 +02:00
ickby
238c8a8567 Expose onBeforeChange to python document observer 2018-10-08 10:52:52 +02:00
Stefan Tröger
0edf6892b3 Expose transaction events to document observer 2018-10-08 10:49:39 +02:00
Stefan Tröger
2a15d8fc3a Add signals for recomputed objects 2018-10-08 10:43:32 +02:00
wmayer
84280330aa print warning also in release mode if an object is still touched after recompute 2018-10-07 22:09:44 +02:00
wmayer
93d9f16588 in topologicalSort check for valid iterator 2018-10-04 00:33:19 +02:00
wmayer
93f06f8256 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
dfe734f3f1 fix infinite recursion when creating dependency graph with loops 2018-09-30 14:56:47 +02:00
wmayer
3d2d4bdfcb store Python attributes of all extension types in one dict 2018-09-27 21:48:30 +02:00
wmayer
7fc487ae6f fixes 0003465: Groups breaking dependency graph 2018-09-26 22:21:52 +02:00
wmayer
dd492d7484 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
b112ac0ec1 fixes 0003513: Can't open file - some exceptions are shown in the log 2018-09-25 13:21:53 +02:00
luz.paz
b214f606c4 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
189a729027 extend QuantityFormat to set denominator independent of user settings 2018-09-17 12:38:46 +02:00
hokieengr
77060a75a6 Added support for fractional inch user setting. 2018-09-17 10:32:04 +02:00
wmayer
62910898dd fixes #0003588: The path to the Addons does not allow special characters 2018-09-14 00:00:22 +02:00
wmayer
3386567d99 issue #0003588: The path to the Addons does not allow special characters 2018-09-13 21:40:30 +02:00
wmayer
fbcecfb139 add missing header files 2018-09-07 11:46:32 +02:00
looooo
599e59059b reduce line-length to 80 characters 2018-09-05 11:06:26 +02:00
looooo
b20d1bc09c new style modules: print traceback as error and as log. 2018-09-05 11:06:12 +02:00
Michal Ulianko
faf8834484 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
b79e1bfee4 get rid of private function _PyImport_FixupBuiltin for FreeCAD and FreeCADGui modules 2018-09-01 19:57:15 +02:00
wmayer
8c08635d30 get rid of private function _PyImport_FixupBuiltin for __FreeCADBase__ module 2018-09-01 16:26:18 +02:00
wmayer
3d70f9ed4f number of used decimals in UnitsApi must already be set when initializing App 2018-08-29 23:35:38 +02:00
wmayer
67b5ee0931 now each module registers its unit tests itself 2018-08-28 13:14:16 +02:00
wmayer
4211defb4a reduce compile time after each time cmake configure is executed 2018-08-21 13:53:33 +02:00
wmayer
557fee3dc6 fix -Wignored-qualifiers 2018-08-19 12:38:57 +02:00
Oliver Oxtoby
de282ad5ce 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
34172c851c improve handling as library if used by another application 2018-08-09 17:01:46 +02:00
wmayer
a9c4bcb5d6 remove kwd argument for functions only with flag METH_VARARGS 2018-08-08 17:39:32 +02:00
Markus Lampert
0b40519f3f Changed all catch types to references for polymorphic exceptions. 2018-08-08 15:45:30 +02:00
luz.paz
baa6d89328 Typos and whitespace fixes 2018-08-07 11:13:31 -04:00
wmayer
9faa7fc57f fix exception raised on project load for invalid enums 2018-08-07 15:23:56 +02:00
Zheng, Lei
8548d72492 App::Document: enable saving with binary brep 2018-08-06 19:01:21 +02:00
wmayer
2e4d2dff03 fix possible UNICODE related build failure due to OCCT cmake flags 2018-08-06 12:29:43 +02:00
wmayer
d3ef6905ff + add option to switch off precompiled header 2018-07-25 20:17:11 +02:00
wmayer
b298e63bcc + implement direct and queued mode in console class 2018-07-25 17:25:32 +02:00
wmayer
75a6c68185 fix possible crash when reverting a document 2018-06-09 23:22:56 +02:00
wmayer
8f19b46d26 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
cb13376746 properly handle failure of loading a module 2018-06-09 15:55:20 +02:00
wmayer
833c2c601e add missing newlines 2018-06-09 11:47:12 +02:00
looooo
e80b5678cc Arch: Survey: fix py3 unicode problems 2018-06-04 19:23:42 +02:00