berniev
d2e5a12190
change ALL_UPPER_CASE constexpr definitions to camelCase
2022-11-19 16:00:36 +01:00
wmayer
c3b38bda08
App: [skip ci] fix warnings reported by GH actions
2022-11-17 23:50:34 +01:00
wmayer
2614a1cec6
App: [skip ci] fix typo
2022-11-17 20:00:00 +01:00
wmayer
1f83094b44
App: fix endless-loop in DocumentObject::getParents
2022-11-17 19:05:32 +01:00
wmayer
e10b23ca70
App: replace boolean with enum
2022-11-17 17:38:31 +01:00
wmayer
07711bb8a8
App: fix endless-loop when recursively determining placement of an object
2022-11-17 15:46:06 +01:00
wmayer
d793a182c4
App: fix possible stack overflow in GroupExtension::hasObject()
2022-11-17 00:30:44 +01:00
wmayer
61dee6b8ad
App: fix memory leak and consistently use Py::asObject() in DocumentObserverPython
2022-11-15 11:04:41 +01:00
wmayer
6e7ee14062
App: [skip ci] fix memory leak
2022-11-14 19:42:33 +01:00
wmayer
3d7b116358
App: implement option to set config key
2022-11-13 19:54:30 +01:00
Chris Hennes
3fe026f3c9
Remove various sys.version_info >= 3 checks
2022-11-09 14:08:54 +01:00
wmayer
0c7c427b7e
+ fix build failure if SMESH support is disabled
2022-11-06 20:23:13 +01:00
Uwe
f3c0cfbd59
output SMESH version number in about dialog
...
- in order to get this info when user reports bugs
2022-11-05 17:46:34 +01:00
Chris Hennes
9e481f1ac1
Addon Manager: use versioned Python package dirs
2022-11-05 11:45:02 -05:00
Chris Hennes
2f7be9e782
cMake: Add support for compiling against Qt6 ( #7647 )
...
Removes the BUILD_QT5 flag and adds a new FREECAD_QT_VERSION option,
which can be set to either "Auto" (default), 5, or 6. Auto detects which
version of Qt is installed on the system and chooses it. If both version
are installed, Qt5 is used.
Note that this DOES NOT implement compiling against Qt6, it only adds
the necessary cMake infrastructure to begin work on the source code
changes that will be required.
2022-10-31 09:24:09 -05:00
wmayer
72af60c22e
App: fixes issue #7628 : Crash after creating Sketch for Body
...
The problem is that inside Transaction::addObjectNew() a transaction object is deleted before removing it from the container. When deleting the corresponding transactional object (i.e. a DocumentObject or ViewProvider)
it can happen that it e.g. calls Transaction::addOrRemoveProperty() that now finds the dangling pointer in the container.
The safe way is to first remove the object from the container before deleting it.
2022-10-24 16:49:29 +02:00
luz paz
2d4482cdf3
Fix source comment typo
2022-10-23 09:14:44 -05:00
wmayer
916891c3fc
App: simplify code in Application::newDocument
2022-10-21 21:15:21 +02:00
wmayer
4fff36b550
App: [skip ci] fix string literal
2022-10-21 13:43:26 +02:00
Kuzemko Alexsandr
63174d487f
[App] Fix of untranslated first document's name ( #7156 )
...
* Change no need function newDocument("Unnamed") call to variant without parameter. "Unnamed" set in App newDocument function instead.
* Refactor New Document command to run without parameter.
* Translate new document's userName. Internal name = "Unnamed".
* Crowdin Add to updatets.py App.ts. Create new file App.ts
* Fix error where document name is set with one function parameter. In this situation set internal and user name to string variable. For default function call (without parameter) set internal name to Unnamed, userName = translate ("Unnamed")
2022-10-20 21:35:09 -05:00
wmayer
67679b8a0f
App: [skip ci] use curly braces for if/else-statements and for loops
2022-10-14 13:55:11 +02:00
wmayer
9282fffa07
App: add tests for cell rows and absolute cells
2022-10-13 20:16:48 +02:00
Uwe
a96a3a505f
use explicit prefix std:: for vectors
...
- also add potentially missing include
- this commit is an attempt to fix #7585
2022-10-11 01:44:24 +02:00
Uwe
4a2aff82a6
[TD] Gui, Dlg*: remove unused includes
...
- also sort includes
- also two whitespace changes
2022-10-09 19:14:31 +02:00
wmayer
ea5a5ff363
App: [skip ci] for the dependency graph use orange color to indicate links that go out of scope
2022-10-08 16:29:36 +02:00
wmayer
f4b4aabc32
App: add option '--pass' to ignore arguments by the application and handle them by a script
2022-09-29 12:30:31 +02:00
Chris Hennes
b5e29c20dc
App: Reformat Metadata per clang-tidy
2022-09-26 11:04:42 -05:00
Chris Hennes
1d11c5805a
App: Add support for <pythonmin> XML tag in metadata
2022-09-26 11:04:42 -05:00
wmayer
198ce19e46
App: Consider using getpwuid_r(...) instead of getpwuid(...) for improved thread safety. [runtime/threadsafe_fn]
2022-09-25 11:43:15 +02:00
Uwe
5df9546907
[App] Application.cpp: silence some CI warnings
...
about whitespace, line length etc.
2022-09-24 20:44:07 +02:00
berniev
94a686f348
redundant
2022-09-24 20:36:21 +02:00
wmayer
414ff3fb35
App: [skip ci] improve whitespaces
2022-09-24 17:02:23 +02:00
marioalexis
5cb31ece93
App: Check Python types using Base::PyTypeCheck
2022-09-24 05:10:34 +02:00
Uwe
3eb9207639
[App] silence some CI whitespace warnings
2022-09-24 04:59:38 +02:00
Chris Hennes
cc17bd4335
App: Add support for 'discussion' URL attribute
2022-09-22 10:53:59 -05:00
Chris Hennes
4f51123626
App: Add support for <date> metadata element
2022-09-22 10:27:47 -05:00
Chris Hennes
49e37dd611
Core: Add missing xml namespace property to metadata output
2022-09-21 08:44:38 -05:00
marioalexis
9ccb9eecb2
App: Replace C cast
2022-09-18 11:06:51 -05:00
wmayer
2462f4c7a0
App: move from float to double for accuracy parameter, add a virtual method to determine a default accuracy
2022-09-15 09:52:14 +02:00
wmayer
64784232ab
App: [skip ci] fix -Wsometimes-uninitialized
2022-09-12 14:20:41 +02:00
Chris Hennes
139b99d371
Addon Manager: Cleanup
2022-09-09 13:00:11 -05:00
Chris Hennes
cb1f6bffa8
Addon Manager: DevMode content implementation
2022-09-09 13:00:10 -05:00
wmayer
5240a30431
App: modernize C++: replace 'typedef' with 'using'
2022-08-29 12:58:39 +02:00
wmayer
cf399afe87
App: minor improvements:
...
* use 'using' instead of 'typedef' [modernize-use-using]
* fix bugprone-reserved-identifier
* fix whitespace/comma
2022-08-28 16:15:57 +02:00
wmayer
e809295342
App: replace some while loops with range-based for loops to increase readability
2022-08-28 15:42:57 +02:00
berniev
2a2062ec46
App: use auto - strange iterator (PR #7405 )
2022-08-28 15:29:52 +02:00
berniev
85ec32c60e
App use explicit
2022-08-25 15:56:23 +02:00
wmayer
949b43aabb
App: [skip ci] whitespace improvements
2022-08-24 10:43:56 +02:00
wmayer
3c8a268355
App: [skip ci] improve whitespaces
2022-08-24 07:37:41 +02:00
berniev
d66df602ad
App: Single arg ctors must be explicit
2022-08-24 07:20:57 +02:00