Commit Graph

75 Commits

Author SHA1 Message Date
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
wmayer
e8724884d0 + add further log messages at startup for better troubleshooting, fix possible crash, fix typos 2014-07-01 11:03:55 +02:00
wmayer
0bcd95416a + fixes #0001039: Add the property PropertyBoolList 2014-03-09 17:10:11 +01:00
jriegel
565fb8c003 higher level exception handling on Windows 2014-02-20 22:54:30 +01:00
jriegel
2a4e8baa28 fix and test handler for DIVZERO 2014-02-20 20:31:42 +01:00
jriegel
204bff802f fix commit 2014-02-20 20:08:47 +01:00
jriegel
56d5e193bb Test case for system exceptions in FeatureTest and try to catch more of them 2014-02-20 20:03:43 +01:00
jriegel
0fbe570f9e switch the physical Properties to Quantity and add Pressure and Force 2014-02-16 22:19:56 +01:00
wmayer
1cf7da2b6d + Add PropertyQuantity to type system 2014-02-11 19:20:31 +01:00
jriegel
3a3afa0783 Switching the UnitsApi to the new Quantity system 2013-12-03 19:03:08 +01:00
jriegel
15ecd1ffe8 Adding Unit definition to the python modul 2013-11-30 21:46:36 +01:00
Yorik van Havre
782cae1d22 Updated forum links to the new subdomain 2013-11-11 11:42:34 -02:00
Yorik van Havre
355942355f Updated links to the new forum 2013-11-06 19:32:45 -02:00
jriegel
44c07da571 integrate Quantities into PropertyView and activate preferences again 2013-09-25 21:59:24 +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
2780372bc3 Support -psn as hidden program option on MacOSX 2013-08-29 10:06:34 +02:00
jriegel
950d9093e9 Merge branch 'refs/heads/jriegel/develop-fem' 2013-06-27 16:47:40 +02:00
jriegel
b7523b63af Some fixes in python ViewProvider handling 2013-06-09 17:52:03 +02:00