Commit Graph

78 Commits

Author SHA1 Message Date
Eivind Kvedalen
778abe9072 Expressions: Added App::BooleanExpression class. 2016-03-08 16:09:27 +01:00
wmayer
d3a5c55f57 + bug fix similar to idea of pull request 111 2016-03-07 15:12:00 +01:00
wmayer
ab0aaa4cb4 + fix some weirdness in Application class 2016-02-24 21:04:47 +01:00
wmayer
047cf5cd9c + make code more readable 2016-01-21 16:07:07 +01:00
Abdullah Tahiri
2c884ab5f5 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
c275b35d48 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
0fe51d5d2a Application.cpp English editing
Edit English in comments and warning messages
2015-12-12 01:22:14 +01:00
wmayer
ea252c7426 + implement mechanism to allow only a single application instance 2015-11-05 15:56:50 +01:00
wmayer
24815ac196 + 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
4295301957 + fixes #0001368: Subclassing Matrix silently fails 2015-10-12 18:29:00 +02:00
wmayer
5f5817b033 + Prefer prefix ++/-- operators for non-primitive types 2015-10-07 14:29:49 +02:00
wmayer
e5348c743d + rename signal to signalRelabelObject and remove unused code 2015-09-22 17:13:03 +02:00
Eivind Kvedalen
bcbec533db Added PropertyExpressionEngine class. 2015-09-21 14:51:05 +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
ef203bc260 + fixes #0001238: Preferences: set temp files directory 2015-09-19 16:07:33 +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
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
wmayer
859d76faf8 + fixes #0002075: Analysis of FreeCAD by PVS-Studio static analyzer 2015-05-01 16:56:31 +02:00
wmayer
37c881c9b5 + 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
bddf8d30de + improve whitespaces 2014-12-01 11:36:33 +01:00
jriegel
65352f28b8 fix in destruction of the application 2014-11-22 16:41:22 +01:00
Peter Lama
7d30188d01 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
128613bae1 + make sure to set unique labels for newly created documents 2014-10-27 13:11:50 +01:00
wmayer
9fb670ae16 + fixes #0001794: new defined as a macro sometimes conflicts with boost 2014-10-22 12:39:43 +02:00
wmayer
7ade19fde2 + support of home path with non-ASCII chars 2014-10-19 17:27:02 +02:00
wmayer
be949a054d + harmonize API 2014-10-19 14:25:51 +02:00
Sebastian Hoogen
01cf0f5872 issue #1027 use unicode filepaths 2014-10-11 13:32:06 +02:00
Yorik van Havre
a9b363af0e Fixed label of document - fixes #453 2014-09-18 20:17:50 -03:00
Sebastian Hoogen
af50cbf964 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
721cb21b42 + do not abort if user.cfg or system.cfg is empty 2014-08-31 16:10:45 +02:00
wmayer
222bcf39c4 + improve OCC version macro, fix build failure with MinGW, fix build failure with Coin2 2014-08-18 11:34:02 +02:00
wmayer
7262c8b278 + fix author note, fix various crashes, improve mesh selection stuff 2014-08-01 16:39:59 +02:00
wmayer
c2fd97318a 0001638: Not possible to draw anything. 2014-07-30 18:21:53 +02:00
wmayer
25defd5699 + support comparison with double in quantity number protocol 2014-07-14 17:17:41 +02:00
wmayer
bda933a1ca + add further log messages at startup for better troubleshooting, fix possible crash, fix typos 2014-07-01 11:03:55 +02:00
wmayer
bbdbf10304 + fixes #0001039: Add the property PropertyBoolList 2014-03-09 17:10:11 +01:00
jriegel
2e1a84c149 higher level exception handling on Windows 2014-02-20 22:54:30 +01:00
jriegel
e54f0e1903 fix and test handler for DIVZERO 2014-02-20 20:31:42 +01:00
jriegel
60177f66e5 fix commit 2014-02-20 20:08:47 +01:00
jriegel
15fa1f525b Test case for system exceptions in FeatureTest and try to catch more of them 2014-02-20 20:03:43 +01:00
jriegel
aca751daf4 switch the physical Properties to Quantity and add Pressure and Force 2014-02-16 22:19:56 +01:00
wmayer
83ab31f917 + Add PropertyQuantity to type system 2014-02-11 19:20:31 +01:00
jriegel
87c8d5b022 Switching the UnitsApi to the new Quantity system 2013-12-03 19:03:08 +01:00
jriegel
0612ebcb28 Adding Unit definition to the python modul 2013-11-30 21:46:36 +01:00
Yorik van Havre
70bc2446a1 Updated forum links to the new subdomain 2013-11-11 11:42:34 -02:00
Yorik van Havre
4c500237db Updated links to the new forum 2013-11-06 19:32:45 -02:00
jriegel
c8cc4a179a integrate Quantities into PropertyView and activate preferences again 2013-09-25 21:59:24 +02:00
Yorik van Havre
4005b199e0 0001102: Updated all links to old freecad homepage and wiki to the new ones 2013-09-15 17:04:42 -03:00