Commit Graph

67 Commits

Author SHA1 Message Date
wmayer
02578c4e6b + suppress warnings when copying an object 2016-02-09 16:01:23 +01:00
Eivind Kvedalen
009d0c03b4 Document/PropertyExpressionEngine: Added onDocumentRestored function, to update internals of PropertyExpressionEngine after loading a document from disk. 2016-01-08 23:08:55 +01:00
wmayer
b3bfdaafcf + add overloaded addObject() method to Document class to add existing DocumentObject 2015-12-31 15:32:47 +01:00
DeepSOIC
dd8027a839 API: fix document.copyObject not working when with dependencies
copyObject failed with an error when attempting to copy an object with
dependencies from one document to another.

http://forum.freecadweb.org/viewtopic.php?f=22&t=13533&p=108288#p108288
2015-12-16 20:45:53 +03:00
wmayer
69a6970975 + fix crash when undoing creation of spreadsheet 2015-12-09 13:18:58 +01:00
Mateusz Skowroński
43a4a5938c Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
Eivind Kvedalen
d7cbdf6a31 Updated Document::exportGraphviz() to visualize expression dependencies. 2015-09-21 14:51:07 +02:00
Eivind Kvedalen
a8328ec092 Modified Document::recompute() to take expressions into account. 2015-09-21 14:51:06 +02:00
Eivind Kvedalen
fb2b1a6ec0 Added PropertyExpressionEngine to DocumentObject class. 2015-09-21 14:51:05 +02:00
wmayer
7d09444dd9 + fixes #0001237: the project file is not saved when the /tmp directory is full, but the user is not aware of it 2015-09-19 18:59:22 +02:00
wmayer
2991bbf033 + fixes #0001238: Preferences: set temp files directory 2015-09-19 16:07:33 +02:00
wmayer
bd94486c7e + fix inconsistencies between license note and url 2015-09-08 19:17:36 +02:00
Yorik van Havre
da2c497671 Added SaveCopy command
This command saves a copy of the current document under a new name,
without modifying the document itself.

Available in menu File -> Save a Copy or from python with
FreeCAD.ActiveDocument.saveCopy(filename)
2015-09-02 13:38:14 -03:00
Eivind Kvedalen
f99fd100e6 Added zoom and automatic refresh of dependency graph view. 2015-06-15 11:32:24 +02:00
wmayer
11239b034c + always keep digits at end when using copyObject, remove deprecated third parameter 2015-04-29 16:33:20 +02:00
wmayer
1811795e41 + fix build failure for zipios++ from Fedora 2015-04-29 10:31:10 +02:00
Sebastian Hoogen
89117e2c6d set FileName property to transient
in order no to leak information in the FCStd file
2015-03-21 13:29:29 +01:00
Eivind Kvedalen
524e982b5e Added tracking of external documents to dependency tracking code. 2015-02-13 21:53:57 +01:00
wmayer
97987db462 + fix problems on unit tests, open transaction when creating distance object, layout warning, ... 2015-01-25 14:04:33 +01:00
wmayer
2cff92a73e + fixes #0001776: Illegal character when opening project 2015-01-25 12:36:24 +01:00
Yorik van Havre
645d176a13 Added preference setting to set default Author & License - fixes #1883
* added fields in Prefereces->Default->Document
* new documents take the values of those fields
2015-01-20 20:01:14 -02:00
wmayer
ff7e33b95d + reimplement copyObject based on merge document 2014-12-13 21:43:20 +01:00
wmayer
f9986e54e4 + get full dependency when copying an object 2014-12-13 19:35:28 +01:00
Sebastian Hoogen
7a8492fddc use ISO 8601 timestamps including timezone
for creation and last changed properties
2014-12-10 12:52:06 +01:00
wmayer
3de3aa49d3 + make sure to use valid compression level 2014-12-02 23:02:04 +01:00
wmayer
8fb596221f + fixes #0001794: new defined as a macro sometimes conflicts with boost 2014-10-22 12:39:43 +02:00
wmayer
f62ff52302 + fixes #0001501: Add Ability to Export Dependency Graph as SVG and PNG 2014-04-07 14:26:43 +02:00
wmayer
aaeba38e78 + Fix crash when editing the linear pattern feature, suppress some warnings in release mode 2014-03-31 14:42:55 +02:00
wmayer
23d8820582 + Fix segmentation fault 2014-02-15 14:08:33 +01:00
wmayer
020181a96c + Fix typo 2013-12-30 12:57:08 +01:00
wmayer
365099a2bd + Keep trailing digits when loading project file 2013-12-30 12:54:45 +01:00
wmayer
5b665418bb + Avoid too lenthy object names in document 2013-12-29 11:38:12 +01:00
wmayer
7bd7ed8dda + Remove unused method 2013-09-26 18:47:25 +02:00
jriegel
30b189c1da Merge branch 'refs/heads/double-precision-werner'
Conflicts:
	src/App/Document.cpp
	src/App/PropertyGeo.cpp
	src/App/PropertyStandard.cpp
	src/Base/Reader.cpp
	src/Base/Reader.h
	src/Gui/propertyeditor/PropertyItem.cpp
	src/Mod/Fem/Gui/ViewProviderFemMesh.cpp
	src/Mod/Inspection/Gui/ViewProviderInspection.cpp
	src/Mod/Mesh/App/MeshProperties.cpp
	src/Mod/Part/App/TopoShapeFacePyImp.cpp
	src/Mod/PartDesign/App/FeatureRevolution.cpp
2013-09-26 00:05:05 +02:00
jriegel
29c3fa6458 small fixes 2013-09-24 11:01:06 +02:00
Yorik van Havre
42fdbefc54 0001102: Updated all links to old freecad homepage and wiki to the new ones 2013-09-15 17:04:42 -03:00
wmayer
0900025e2d + better check for opening a transaction when removing an object from document 2013-08-15 16:47:56 +02:00
Yorik van Havre
a836759ebd Revert "Set default license for new files to All rights reserved"
This reverts commit f5cbde11d2.
2013-08-01 17:04:39 -03:00
Yorik van Havre
f5cbde11d2 Set default license for new files to All rights reserved 2013-08-01 12:31:17 -03:00
wmayer
8c6f77bb2b Fix weird behaviour for 64-bit version on Windows 2013-07-02 14:52:32 +02:00
wmayer
33fbb0ed8d Ask user what to do if objects with unselected dependency get copied 2013-05-08 14:45:52 +02:00
wmayer
9a9510d9e3 Make file read-only once assigned to a PropertyFileIncluded instance 2013-05-07 22:42:58 +02:00
wmayer
62710779a7 Rename transient directory when saving document under new file 2013-05-06 11:28:13 +02:00
wmayer
1aff25a62d Fix data loss in PropertyFileIncluded 2013-05-06 08:27:25 +02:00
wmayer
cb03da1d5c Improve UUID handling of documents 2013-05-04 18:05:39 +02:00
wmayer
2bbe465229 + Make transient directory of the form ExeName_Doc_{UUID}_{HASH}_{PID}
+ Set some properties in Document read-only

+ Implement Document::saveAs

+ Fix PropertyUUID::setValue()

+ Add a field for UUID in document information panel
2013-05-04 03:16:34 +02:00
wmayer
f69b57459b Support to write vector list and float lists in old format, fix issues in property editor, move back to float for curvature type 2013-03-30 12:32:53 +01:00
jrheinlaender
fdc3e50811 Added FileVersion attribute to XML format to distinguish legacy float binary files from new double binary files 2013-03-27 11:47:18 +04:30
wmayer
18355cdd25 0001019: Crash on document recompute 2013-03-03 12:24:44 +01:00
jriegel
d739a2e41b Add all base system changes from the Assembly branch 2013-02-10 20:02:33 +01:00