Commit Graph

281 Commits

Author SHA1 Message Date
wmayer
a8507628fa Fix warnings: -Wuninitialized in expression engine 2015-09-22 10:12:17 +02:00
Mateusz Skowroński
43a4a5938c Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
14b15ac095 + get Label directly 2015-09-21 14:51:13 +02:00
wmayer
b936514937 + fix build problems with MSVC and libpack 2015-09-21 14:51:12 +02: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
Eivind Kvedalen
8259ec6764 Added PropertyExpressionEngine class. 2015-09-21 14:51:05 +02:00
Eivind Kvedalen
b052c21b16 DocumentObject: Added getOldLabel() method, preparation for renaming of object identifiers. 2015-09-21 14:51:04 +02:00
Eivind Kvedalen
ddc22a4101 Added setValue/getValue/canonicalPath/getPaths/verifyPath methods to various Property classes. 2015-09-21 14:51:03 +02:00
Eivind Kvedalen
722a40dd41 Added Expression classes to App directory. Added Expression interface to Property base class. 2015-09-21 14:51:02 +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
wmayer
4da63d1d03 + fixes #0002238: Python: Environment Variable 'path' with mutated vowel 2015-09-05 14:52:06 +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
Alexander Golubev
0603c3fb61 App/DocumentObserver: make slot methods unimplemented rather pure-virtual and clenup derived classes accordingly 2015-09-02 13:54:44 +02:00
wmayer
9846e52ed9 + fix flaws in class PropertyVectorDistance 2015-09-01 13:49:01 +02:00
Yorik van Havre
e19e7336cd Added new property type: App::PropertyVectorDistance
This works exactly as a normal PropertyVector, but it
uses the Units-enabled GUI editor instead.
2015-08-31 22:57:29 -03:00
wmayer
1a12d109e9 + fix strict-aliasing warnings 2015-08-29 19:48:08 +02:00
wmayer
c3656ad646 + replace assert() to avoid crash 2015-08-29 16:34:36 +02:00
wmayer
d71d8943cb + handle single quote when writing XML 2015-07-30 11:52:50 +02:00
wmayer
7d98705396 + harmonize XercesC cmake variables with official check 2015-07-28 14:17:49 +02:00
wmayer
d95003e92c + replace deprecated PYTHON_INCLUDE_PATH 2015-07-25 18:29:42 +02:00
wmayer
36249a64ce + use variables instead of hard-coded library names 2015-07-17 14:54:02 +02:00
wmayer
1b58ec8bb7 + simplify dependencies in CMakeLists.txt files 2015-07-17 12:18:44 +02:00
wmayer
bb9f43746f + eliminate cmake variable Boost_DEBUG_LIBRARIES 2015-07-17 11:05:25 +02:00
wmayer
0b1da87302 + eliminate cmake variable QT_DEBUG_LIBRARIES 2015-07-16 19:06:20 +02:00
wmayer
7bd6dccac7 + support user template parameter file for branding 2015-07-11 12:46:55 +02:00
wmayer
cc281d482e + move branding stuff from main() to FreeCADApp 2015-07-07 00:52:13 +02:00
Csaba Nagy
6b01685808 + Add command line options dump-config and get-config 2015-07-02 13:22:13 +02:00
Eivind Kvedalen
f99fd100e6 Added zoom and automatic refresh of dependency graph view. 2015-06-15 11:32:24 +02:00
Przemo Firszt
6de28c158d FEM: fix white space
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-09 13:07:49 -03:00
Przemo Firszt
f5146b8d43 App: fix typo
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-09 13:07:49 -03:00
wmayer
dd2b39ddd6 + fixes #0002075: Analysis of FreeCAD by PVS-Studio static analyzer 2015-05-01 16:56:31 +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
wmayer
c84ce15054 + preserve current index when setting enumeration 2015-04-26 22:10:40 +02:00
Ian Rees
74c9a3dc4e Now with more Property properties! 2015-04-25 23:43:15 +12:00
wmayer
070198ecf2 + fix gcc build failure 2015-04-25 10:21:32 +02:00
Ian Rees
f1b75dbe29 Refactored PropertyEnumeration 2015-04-24 23:33:33 +02:00
Przemo Firszt
54ae984650 FEM: Read materials from user settings directory
That commit also adds python function getUserAppDataDir that calls
Application::getUserAppDataDir()

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-14 15:25:34 +02:00
wmayer
dadc87eff8 + fixes #0002029: VRML inline ignored 2015-03-30 02:23:49 +02:00
wmayer
995de944c8 + fixes #0002029: VRML inline ignored 2015-03-29 23:35:39 +02:00
wmayer
f3cd3e4ce8 + fixes #0002029: VRML inline ignored 2015-03-28 14:51:03 +01: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
wmayer
a869033925 + add slots for undo/redo to Python document observer 2015-02-18 21:36:47 +01:00
Eivind Kvedalen
524e982b5e Added tracking of external documents to dependency tracking code. 2015-02-13 21:53:57 +01:00
Eivind Kvedalen
e70b859395 Made Property::encodeAttribute static. 2015-02-13 21:53:56 +01:00
Sebastian Hoogen
faac8c36ba add encoding parameter to .as_std_string()
to handle PyUnicode Objects. Usually ASCII for object names and Utf-8
for file names and console output.
issue #995
2015-02-08 15:37:00 +01:00