Commit Graph

288 Commits

Author SHA1 Message Date
Eivind Kvedalen
d7d184e198 Removed PropertyExpressionEngine::getPaths() method. 2015-09-30 15:54:16 +02:00
wmayer
c114c648fc + use dedicated exception classes for expression and parsing errors 2015-09-27 23:17:33 +02:00
wmayer
343c915569 + reimplement virtual methods in PropertyExpressionEngine 2015-09-25 00:52:44 +02:00
wmayer
922ea13b54 + register python type if its dict doesn't exist 2015-09-25 00:51:38 +02:00
wmayer
469d085b6d + fixes unicode support in expression engine 2015-09-24 13:10:54 +02:00
Eivind Kvedalen
417fdcf565 Expression parser: Fixed parsing of numbers like 2e3 (with e/E, but without decimal part). 2015-09-23 20:05:01 +02:00
wmayer
e5348c743d + rename signal to signalRelabelObject and remove unused code 2015-09-22 17:13:03 +02:00
wmayer
c4c34d2998 Fix warnings: -Wuninitialized in expression engine 2015-09-22 10:12:17 +02:00
Mateusz Skowroński
05f95c0506 Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
131dee9db7 + get Label directly 2015-09-21 14:51:13 +02:00
wmayer
e0bdf24c95 + fix build problems with MSVC and libpack 2015-09-21 14:51:12 +02:00
Eivind Kvedalen
e21c2eff62 Updated Document::exportGraphviz() to visualize expression dependencies. 2015-09-21 14:51:07 +02:00
Eivind Kvedalen
402705f7c2 Modified Document::recompute() to take expressions into account. 2015-09-21 14:51:06 +02:00
Eivind Kvedalen
e17ece22c1 Added PropertyExpressionEngine to DocumentObject class. 2015-09-21 14:51:05 +02:00
Eivind Kvedalen
bcbec533db Added PropertyExpressionEngine class. 2015-09-21 14:51:05 +02:00
Eivind Kvedalen
bef2e0cea0 DocumentObject: Added getOldLabel() method, preparation for renaming of object identifiers. 2015-09-21 14:51:04 +02:00
Eivind Kvedalen
a45a663655 Added setValue/getValue/canonicalPath/getPaths/verifyPath methods to various Property classes. 2015-09-21 14:51:03 +02:00
Eivind Kvedalen
ae388d26ea Added Expression classes to App directory. Added Expression interface to Property base class. 2015-09-21 14:51:02 +02:00
wmayer
eb05da7cd7 + 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
ef203bc260 + fixes #0001238: Preferences: set temp files directory 2015-09-19 16:07:33 +02:00
wmayer
0bb008bb09 + fix inconsistencies between license note and url 2015-09-08 19:17:36 +02:00
wmayer
1748818495 + fixes #0002238: Python: Environment Variable 'path' with mutated vowel 2015-09-05 14:52:06 +02:00
Yorik van Havre
e122ea8bf7 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
c30aeb06c1 App/DocumentObserver: make slot methods unimplemented rather pure-virtual and clenup derived classes accordingly 2015-09-02 13:54:44 +02:00
wmayer
5088d72407 + fix flaws in class PropertyVectorDistance 2015-09-01 13:49:01 +02:00
Yorik van Havre
4fd3a15b98 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
c1f96b20b1 + fix strict-aliasing warnings 2015-08-29 19:48:08 +02:00
wmayer
88eabf40b5 + replace assert() to avoid crash 2015-08-29 16:34:36 +02:00
wmayer
7d7c8e6991 + handle single quote when writing XML 2015-07-30 11:52:50 +02:00
wmayer
c2c83a353b + harmonize XercesC cmake variables with official check 2015-07-28 14:17:49 +02:00
wmayer
d2b7b730d3 + replace deprecated PYTHON_INCLUDE_PATH 2015-07-25 18:29:42 +02:00
wmayer
afe2f10eff + use variables instead of hard-coded library names 2015-07-17 14:54:02 +02:00
wmayer
ee4a767f13 + simplify dependencies in CMakeLists.txt files 2015-07-17 12:18:44 +02:00
wmayer
a7e9c06686 + eliminate cmake variable Boost_DEBUG_LIBRARIES 2015-07-17 11:05:25 +02:00
wmayer
c9fda649ea + eliminate cmake variable QT_DEBUG_LIBRARIES 2015-07-16 19:06:20 +02:00
wmayer
e4aa8b0e8c + support user template parameter file for branding 2015-07-11 12:46:55 +02:00
wmayer
f45602424d + move branding stuff from main() to FreeCADApp 2015-07-07 00:52:13 +02:00
Csaba Nagy
dda8608fd5 + Add command line options dump-config and get-config 2015-07-02 13:22:13 +02:00
Eivind Kvedalen
4ec5710d56 Added zoom and automatic refresh of dependency graph view. 2015-06-15 11:32:24 +02:00
Przemo Firszt
e3ec5b5f90 FEM: fix white space
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-09 13:07:49 -03:00
Przemo Firszt
df9cf537af App: fix typo
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-09 13:07:49 -03:00
wmayer
859d76faf8 + fixes #0002075: Analysis of FreeCAD by PVS-Studio static analyzer 2015-05-01 16:56:31 +02:00
wmayer
79aa9574b5 + always keep digits at end when using copyObject, remove deprecated third parameter 2015-04-29 16:33:20 +02:00
wmayer
d03daf3773 + fix build failure for zipios++ from Fedora 2015-04-29 10:31:10 +02:00
wmayer
7c7cfc60b3 + preserve current index when setting enumeration 2015-04-26 22:10:40 +02:00
Ian Rees
a01bb06f49 Now with more Property properties! 2015-04-25 23:43:15 +12:00
wmayer
42e351e830 + fix gcc build failure 2015-04-25 10:21:32 +02:00
Ian Rees
1b57b8d78a Refactored PropertyEnumeration 2015-04-24 23:33:33 +02:00
Przemo Firszt
4232ab88d8 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
968fdf6a34 + fixes #0002029: VRML inline ignored 2015-03-30 02:23:49 +02:00