Commit Graph

92 Commits

Author SHA1 Message Date
wmayer
a175c4884d + simplify initialization of some Python types 2016-05-07 21:18:47 +02:00
wmayer
7179280138 + expose Material class to Python 2016-05-07 21:15:01 +02:00
wmayer
317b447f88 + implement PropertyMaterialList 2016-05-07 14:41:24 +02:00
wmayer
00eaab0522 + add new class ParameterSerializer to load and save parameter files 2016-04-29 17:43:07 +02:00
Alexander Golubev
2c2d155ee9 OriginGroup: add new abstraction layer between the Part and the GeoFeatureGroup 2016-04-12 18:12:18 +02:00
Alexander Golubev
797d6d3a11 App/Origin: big refactoring
- Rebase App::Origin on App::DocumentObject
 - Keep all control over the Origin structure inside the Origin and it's
   ViewProvider
 - Add OriginFeature class as common base for App::Plane and App::Line
 - Rebase App::Plane and App::Line on top of newly created class and
   move to the file.
 - Change Origin's ViewProvider API associated with temporary display
 - Lots of associated changes to files
 - Several minor fixes
 - Lots of new bugs
2016-04-12 18:12:18 +02:00
Alexander Golubev
dbb5786ffd App/GeoFeatureGroup: derive from DocumentObjectGroup
Refactor GeoFeatureGroup and derive it from DocumentObjectGroup rather
than GeoFeatureObject to unify code of those two classes.
2016-04-12 18:12:17 +02:00
Stefan Tröger
3f5caa2181 group coordinate planes and lines 2016-04-12 18:12:05 +02:00
Stefan Tröger
915b8ef446 add base lines 2016-04-12 18:12:05 +02:00
jriegel
51b46e1e37 Assembly: Add GeoFeatureGroup and helpers 2016-04-12 18:12:02 +02:00
jriegel
e9744c842d Make Part working 2016-04-12 18:12:02 +02:00
jriegel
95c9259765 Run arbitrary scripts from Cmd command line 2016-04-12 18:11:44 +02:00
Eivind Kvedalen
08692f811b Expressions: Added support for aggregate functions and ranges. 2016-04-02 12:01:04 +02:00
wmayer
2e43774c2f + terminate xerces at program exit 2016-03-09 15:52:42 +01:00
Eivind Kvedalen
26f4d1ae8e Expressions: Added App::BooleanExpression class. 2016-03-08 16:09:27 +01:00
wmayer
007a00b7f1 + bug fix similar to idea of pull request 111 2016-03-07 15:12:00 +01:00
wmayer
660a30ce01 + fix some weirdness in Application class 2016-02-24 21:04:47 +01:00
wmayer
f47cc169ae + make code more readable 2016-01-21 16:07:07 +01:00
Abdullah Tahiri
7fc7bdc302 Gui Enhancement: Support for macros in AppUserHome/Macro
=====================================================

What?
It was suggested that the macros should be moved to AppUserHome/Macro
http://forum.freecadweb.org/viewtopic.php?f=10&t=13433

Solution:
The solution is backwards compatible in the sense that if you have a running
configuration, updating should not change anything.

For new installations the macro directory will default to AppUserHome/Macro. However
this would break all the installation scripts (probably also ME's plugin manager).

Conflicts:
	src/Mod/Path/Gui/AppPathGuiPy.cpp
2016-01-11 19:24:22 +01:00
Mateusz Skowroński
cd2db00f22 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
Timothy Hobbs
7da3c663c6 Application.cpp English editing
Edit English in comments and warning messages
2015-12-12 01:22:14 +01:00
wmayer
3d8d6eca5e + implement mechanism to allow only a single application instance 2015-11-05 15:56:50 +01:00
wmayer
5cc7f8b10c + remove Py_TPFLAGS_BASETYPE flag for all generated Python bindings because they can't be sub-classed in Python 2015-10-12 19:59:58 +02:00
wmayer
706d159339 + fixes #0001368: Subclassing Matrix silently fails 2015-10-12 18:29:00 +02:00
wmayer
7ca6bb4072 + Prefer prefix ++/-- operators for non-primitive types 2015-10-07 14:29:49 +02:00
wmayer
b33be62bb6 + rename signal to signalRelabelObject and remove unused code 2015-09-22 17:13:03 +02:00
Eivind Kvedalen
8259ec6764 Added PropertyExpressionEngine class. 2015-09-21 14:51:05 +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
2991bbf033 + fixes #0001238: Preferences: set temp files directory 2015-09-19 16:07:33 +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
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
wmayer
dd2b39ddd6 + fixes #0002075: Analysis of FreeCAD by PVS-Studio static analyzer 2015-05-01 16:56:31 +02:00
wmayer
fa4f8b0735 + do not throw exception from inside signal handler to get useful stack trace for segmentation faults 2015-01-13 22:01:59 +01:00
wmayer
dd3412b159 + improve whitespaces 2014-12-01 11:36:33 +01:00
jriegel
7d30060c4e fix in destruction of the application 2014-11-22 16:41:22 +01:00
Peter Lama
f13f5dc520 Add support for CLbundler created LibPack
* New 'UseLibPack' cmake file sets CMAKE_PREFIX_PATH so that find_package
  can be used for most packages.
* Mimic fc_wrap_cpp defined in other 'UseLibPack' files. Some file
  dependencies did not get set correctly otherwise.
* OCE 0.16 does not have Standard_ctype.hxx
* shfolder.h can't be used with Win SDK 7.0
2014-11-14 08:01:09 -08:00
wmayer
429e55d744 + make sure to set unique labels for newly created documents 2014-10-27 13:11:50 +01:00
wmayer
8fb596221f + fixes #0001794: new defined as a macro sometimes conflicts with boost 2014-10-22 12:39:43 +02:00
wmayer
5912342e3f + support of home path with non-ASCII chars 2014-10-19 17:27:02 +02:00
wmayer
f233a50a00 + harmonize API 2014-10-19 14:25:51 +02:00
Sebastian Hoogen
a53a239f2f issue #1027 use unicode filepaths 2014-10-11 13:32:06 +02:00
Yorik van Havre
fbeb7beba3 Fixed label of document - fixes #453 2014-09-18 20:17:50 -03:00
Sebastian Hoogen
5e51a6cdf7 fixes #0001422: Subclass Exception
inherit Base.FreeCADError form RuntimeError
inherit Part.OCCError from Base.FreeCADError
inherit OCCDomainError from Part.OCCError
inherit OCCRangeError from Part.OCCError
inherit OCCConstructionError from OCCDomainError
inherit OCCDimensionError from OCCDomainError
Added PY_CATCH_OCC macro
replace PyExc_Exception
use FreeCADError in makeWireString
catch exception in BSplineCurve.increasedegree
2014-09-17 11:15:56 +02:00
wmayer
f2319de49d + do not abort if user.cfg or system.cfg is empty 2014-08-31 16:10:45 +02:00
wmayer
967566acf1 + improve OCC version macro, fix build failure with MinGW, fix build failure with Coin2 2014-08-18 11:34:02 +02:00
wmayer
7a3ddd5bae + fix author note, fix various crashes, improve mesh selection stuff 2014-08-01 16:39:59 +02:00
wmayer
e327662d28 0001638: Not possible to draw anything. 2014-07-30 18:21:53 +02:00
wmayer
8aec46fbaf + support comparison with double in quantity number protocol 2014-07-14 17:17:41 +02:00