Commit Graph

33728 Commits

Author SHA1 Message Date
Benjamin Bræstrup Sayoc
da2ae719f2 [Everywhere] FileInfo::hasExtension for multiple values (#9774)
* [Base] Add hasExtension for multiple values

* [Gui] Use hasExtension for multiple values

* [Drawing] Use hasExtension for multiple values

* [Fem] Use hasExtension for multiple values

* [Import] Use hasExtension for multiple values

* [Mesh] Use hasExtension for multiple values

* [Part] Use hasExtension for multiple values

* [TechDraw] Use hasExtension for multiple values
2023-08-07 09:55:19 -06:00
tomate44
8b2c2dab51 Surface: fix BlendCurve relative size
values independent of the number of control points are more intuitive
2023-08-07 09:53:00 -06:00
Petter Reinholdtsen
278224777b Avoid Debian specific binary name and path and only include argument change. 2023-08-07 09:38:42 -06:00
Petter Reinholdtsen
06c4d72ed6 Change XDG desktop entry to only run single instance of FreeCAD.
This ensure invoking it to open different files only start the
program once, and load new files into the already running instance.

Patch by Håvard Flaget Aasen <haavard_aasen@yahoo.no> and
Tobias Frost <tobi@debian.org>.

Related to https://bugs.debian.org/1029846 and
bb3bda1349 .

Been part of the Debian edition of FreeCAD since 2021.
2023-08-07 09:38:42 -06:00
wmayer
b6f331f4fa modernize C++: use transparent functors 2023-08-07 16:08:35 +02:00
wmayer
31ed14db83 modernize C++: use noexcept 2023-08-07 16:06:58 +02:00
wmayer
df93b14ec0 modernize C++: use emplace 2023-08-06 20:29:56 -06:00
wmayer
dbad96d43e modernize C++: use using 2023-08-06 23:17:10 +02:00
Benjamin Bræstrup Sayoc
630554f251 [Repo] Always break parameters and arguments
If the line is too long, parameters and arguments will now wrap on the next lines with one block indent, one arguments or parameter per line.
2023-08-06 14:39:54 -06:00
wmayer
7a3106d31b modernize C++: use bool literals 2023-08-06 01:35:39 +02:00
0penBrain
5be3ad33aa Gui: convert TreeView prefs in General/Selection to PrefCheckBox 2023-08-05 16:29:39 -06:00
0penBrain
6fdabd9651 Gui: move pre/-selection prefs to General/Selection + clarify behavior 2023-08-05 16:29:39 -06:00
wmayer
23375dcd0f Mesh: for invalid neighbour facet indexes explicitly use -1
The underlying C++ class use an unsigned long to reference neighbour facets. ULONG_MAX is used to indicate a missing neighbour facet.
Since the value of ULONG_MAX is platform dependent and can be confusing in Python the Python wrapper FacetPy now explicitly uses -1 to indicate missing neighbour facets
2023-08-05 15:32:11 -06:00
tomate44
529f791c78 Part: add optional tolerance to python sortEdges() 2023-08-05 15:17:26 -06:00
Tobias Falk
529f9401f7 added PDF/A-1b compliancy to all PDF export functions
for more details about this look at: https://www.kdab.com/creating-pdfa-documents-qt/
2023-08-05 14:46:11 -06:00
Chris Hennes
ba1171f7c1 Update SECURITY.md to v0.21 2023-08-05 11:29:31 -06:00
Connor Worrell
3ed8e884be [GUI] QuantitySpinBox: Regex optimization. 2023-08-05 11:23:46 -06:00
wmayer
9f99285d59 modernize C++: use nullptr 2023-08-05 11:23:12 -06:00
sliptonic
4f3729b872 Remove the version select in the github issue template.
We already ask for the full version info so this is redundant.
Also, it requires updating every time there's a new version.
2023-08-05 09:45:48 -06:00
wmayer
2b3d48176c Mods: modernize C++: redundant void arg 2023-08-05 16:50:31 +02:00
wmayer
bf5059bf76 Sheet: modernize C++: redundant void arg 2023-08-05 16:50:31 +02:00
wmayer
22e6e2cd40 Part/PD: modernize C++: redundant void arg 2023-08-05 16:50:31 +02:00
wmayer
702f3b4ddd Core: modernize C++: redundant void arg 2023-08-05 16:50:31 +02:00
andrea
d37099fcbf remove qt4 references
Removed find and include mocked files (QT4)
2023-08-04 21:24:36 -06:00
wmayer
7d0926d0b3 Qt6 port:
Fix deprecation warnings with version 6.3 or 6.4
2023-08-04 21:23:14 -06:00
andrea
68101ac933 removed old OCC <7 references
removed OCC <7 references
2023-08-04 21:22:40 -06:00
andrea
18e1883284 removed coin<3 references 2023-08-04 21:19:29 -06:00
berniev
703689955f link gmock 2023-08-04 18:48:33 -06:00
wmayer
cf5e6825aa Core: report the real error of a failed feature after a recompute 2023-08-04 18:47:44 -06:00
Morgan 'ARR\!' Allen
3d5a58b591 add cstdint behind ifdef __GNUC__ for compiling under alpine linux
note: in other headers there is a mix of including the ifdef
2023-08-04 18:45:22 -06:00
Chris Hennes
12f7dff7a6 GUI: Add prominent dev build indicators 2023-08-04 18:21:39 -06:00
luzpaz
57b9442df7 Fix various typos 2023-08-04 19:46:12 +02:00
berniev
ac7dc4faf6 clang format InsertBraces true 2023-08-04 13:40:55 -04:00
wmayer
b8a7849dd3 Misc: modernize C++: use override 2023-08-04 17:09:53 +02:00
wmayer
ed251a914b TD: modernize C++: use override 2023-08-04 17:09:53 +02:00
wmayer
6ff3ee9951 Sketch: modernize C++: use override 2023-08-04 17:09:53 +02:00
wmayer
6f142d250a Fem: modernize C++: use override 2023-08-04 17:09:53 +02:00
wmayer
52ef3a540c Part: modernize C++: use override 2023-08-04 17:09:53 +02:00
wmayer
fb5ca8a60b Robot: modernize C++: use override 2023-08-04 17:09:53 +02:00
wmayer
88c6f05d06 Path: modernize C++: use override 2023-08-04 17:09:53 +02:00
wmayer
fb75ab6e10 Mesh: modernize C++: use override 2023-08-04 17:09:53 +02:00
wmayer
054a0997e8 Base: modernize C++: use override 2023-08-04 17:09:53 +02:00
wmayer
c05091885e App: modernize C++: use override 2023-08-04 17:09:53 +02:00
wmayer
4d4267481f Gui: modernize C++: use override 2023-08-04 17:09:53 +02:00
wmayer
b441870b5b Gui: modernize C++: use override 2023-08-04 17:09:53 +02:00
wmayer
640467aa49 Gui: modernize C++: use override 2023-08-04 17:09:53 +02:00
Chris Hennes
da8b9fd65d Tools: Add script to sign and notarize on Mac OS 2023-08-03 00:07:25 +00:00
wmayer
6d95d8fc9c Gui: expose grabFramebuffer to Python 2023-08-03 01:31:15 +02:00
wmayer
567b34419a Gui: support of wrapping QImage 2023-08-03 01:31:15 +02:00
0penBrain
b2911de02a [Bugfix]Gui: in draggers, remove/detach all callbacks + add checks and asserts, hopefully fixes #9465 2023-08-02 21:04:22 +00:00