Bas Ruigrok
165c46413a
Part: Remove use of adjustCameraPosition()
2025-06-23 19:27:09 +02:00
Chris Hennes
272c3034b4
Merge pull request #21659 from 3x380V/gui_fixes
...
Gui: random fixes
2025-06-03 19:23:21 -05:00
Yorik van Havre
94144ecd99
Translations: Merged crowdin translations
2025-06-02 11:48:26 +02:00
Yorik van Havre
bba4a7b990
Translations: updated ts files
2025-06-02 11:07:28 +02:00
wmayer
5d11b2938f
Gui: Replace calls of FCMD_SET_EDIT with Gui::cmdSetEdit
2025-05-30 18:04:33 +02:00
theo-vt
13e7952ccc
PartDesign: Fix hole centered on point edge case ( #21257 )
...
* Light refactor of getTopoShape function
* Fix hole edge case
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update src/Mod/Part/App/PartFeature.cpp
Co-authored-by: Kacper Donat <kadet1090@gmail.com >
* Update src/Mod/Part/App/PartFeature.cpp
Co-authored-by: Kacper Donat <kadet1090@gmail.com >
* Update src/Mod/Part/App/PartFeature.cpp
Co-authored-by: Kacper Donat <kadet1090@gmail.com >
* Update src/Mod/Part/App/PartFeature.cpp
Co-authored-by: Kacper Donat <kadet1090@gmail.com >
* Refactor simplifyCompound()
* Use Base::Flags<GetShapeOption>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Shorten enum name and move it from class scope to namespace scope
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Kacper Donat <kadet1090@gmail.com >
2025-05-29 22:37:54 +02:00
Chris Hennes
f2e78e53e9
UI: Remove qPixmapFromMimeSource pixmap function
...
This function dates back to Qt3, and was removed in Qt4. Modern Qt no
longer uses this ui file entry, and in some circumstances the uic
complains about its presence.
2025-05-15 00:56:30 +02:00
bofdahof
998f4e4d45
Console: rename PascalCase named methods to camelCase
2025-05-06 17:50:21 +02:00
Ladislav Michl
c293d74566
Base: rename Exception's PascalCase methods to camelCase
2025-05-05 23:50:01 +02:00
bofdahof
838178bb1c
Base: simplify Exception
...
Remove repetition. Add functions to replace macros, but keep macros
in use for now as some compilers have broken std::source_location
support.
2025-05-05 23:50:01 +02:00
Benjamin Nauck
b9ee64792d
Part: use empty() and isEmpty() instead of count() where possible
2025-05-03 22:22:10 +02:00
Pieter Hijma
50bf1cf120
[Core] Allow creating an editor with a frame
...
The default is to not have a frame as is custom before this change.
2025-04-22 23:56:07 +02:00
theo-vt
774ec2cc93
PartDesign: Center holes on sketch points as well as circles and arcs ( #20583 )
...
Co-authored-by: Kacper Donat <kadet1090@gmail.com >
2025-04-21 23:30:57 +02:00
Frank Martinez
23190abeb2
[Core] Fix Color transparency misinterpretation
2025-04-21 11:12:37 -05:00
Benjamin Nauck
f932c7e4e0
Use Base::toRadians() instead of manually converting
2025-04-15 07:16:36 +02:00
Kacper Donat
a86c300688
Gui: Disable Show Placement for Body Features
2025-04-13 17:54:01 +02:00
Kacper Donat
b300c80b90
Base: Use explicit pointer syntax for freecad_cast ( #20694 )
...
* Base: Use explicit pointer syntax for freecad_cast
This aligns our custom cast with other casts
* All: Use explicit pointer syntax for freecad_cast
2025-04-11 14:11:33 +00:00
Kacper Donat
35a9673a75
Base: Rename Base::freecad_dynamic_cast into freecad_cast
...
This is to make it shorter and easier to use. QT does the same thing
with their qobject_cast.
2025-04-07 10:32:28 -05:00
tritao
7986ea0cba
PartGui: Convert XML bindings to Python bindings model.
2025-04-04 23:00:34 +02:00
Benjamin Nauck
d5447df72d
Part: Add #include <limits> where used
2025-03-31 23:52:08 +02:00
Benjamin Nauck
aad5e58955
Part: Use std::numeric_limits and std::numbers instead of defines
2025-03-29 13:32:38 +01:00
Roy-043
996fbe5410
Part: remove rogue margins from ui file
...
Added margin=0. Same as in DlgExportStep.ui:
718ac63365/src/Mod/Part/Gui/DlgExportStep.ui (L17-L19)
2025-03-23 14:09:11 +01:00
mosfet80
3dd7a1cc52
Remove support to oldest occ <7.5 ( #20084 )
...
* remove support to oldest occ <7.5
The os ubuntu 22.04 not supported use occ 7.5.1.
There is a lot of code implemented to support even older versions.
The patch removes support for versions lower than occ 7.5.0
* .
* move include library
#pieterhijma change request :
* removed deprecated functions
get/setAngle functions has been removed with OCC 7.5
2025-03-21 13:06:47 +01:00
tritao
6c2c6847eb
CMake: Cleanup targets with transitive dependencies
2025-03-17 12:12:06 +00:00
Chris Hennes
5f623390fb
Merge pull request #20142 from bofdahof/ranges
...
Apply C++20 std::ranges (mainly to std::find)
2025-03-17 03:08:27 -05:00
Chris Hennes
b89ad30bc0
Merge pull request #19917 from tritao/refactor-document-recompute
...
Core: Refactor code around document and feature recompute
2025-03-16 23:59:12 -05:00
bofdahof
de16fe094a
Part: apply std::ranges
2025-03-16 17:17:37 -05:00
Luz Paz
17102251e5
Fix various typos
2025-03-14 12:37:12 -04:00
Chris Hennes
dced463dc6
Merge pull request #19428 from tritao/base-tracy-profiler
...
Base: Add Tracy frame profiling support.
2025-03-14 04:12:05 +00:00
Joao Matos
7ae14d6bd5
Base: Add build support and instrumentation for the Tracy profiler.
2025-03-14 03:41:30 +00:00
Chris Hennes
be8b92182c
Merge pull request #19921 from mosfet80/QT_CLEAN
...
REMOVE old QT<= 5.14 code
2025-03-11 20:54:59 +00:00
Andrea
cd5c46ba18
Remove unnecessary check (duplicated)
...
before including the library, it is uselessly checked if the variable __QtAll__ and __InventorAll__ have been defined. The same check is performed again once the library is included
2025-03-10 21:53:00 +01:00
Andrea
da66720d3a
REMOVE old QT<= 5.14 code
...
Ubuntu 22.04 use qt 1.15.3.
In the code is still used qt code <5.10.
A cleanup was done by removing qT code version used in ubuntu 18.04.
2025-03-05 09:32:06 +01:00
Joao Matos
8710bbd825
Part/PartDesign/TechDraw: Simplify calls to DocumentObject::recomputeFeature.
2025-03-03 21:22:22 +00:00
Chris Hennes
7f1c43a335
Merge pull request #19636 from kadet1090/color-in-base
...
Base: Move App::Color to Base
2025-03-02 16:36:40 -06:00
Chris Hennes
cf477695f9
Merge pull request #19671 from kadet1090/placement-indicator
...
Gui: Add Show Placement helper
2025-02-25 17:40:58 +00:00
Benjamin Bræstrup Sayoc
755229df23
Build: suppress warnings from 3rd party libraries
...
Warnings from 3rd parties are not relevant and are only polluting the warning output. Marking these libraries as SYSTEM suppresses warning.
https://gcc.gnu.org/onlinedocs/cpp/Invocation.html#index-I
https://gcc.gnu.org/onlinedocs/cpp/System-Headers.html
2025-02-25 14:39:05 +00:00
Joao Matos
cc6ffb44de
Core: Move PyCXX library to src/3rdParty.
2025-02-24 16:36:06 +00:00
Kacper Donat
62432046bf
Gui: Fix empty sketch plane rendering
2025-02-24 17:30:27 +01:00
Kacper Donat
2f35f1c561
Base: Add fromPercent and toPercent helpers
2025-02-23 22:51:13 +01:00
Kacper Donat
12a69fe296
Base: Add isNullOrEmpty string helper
...
This adds isNullOrEmpty string helper that cheks if string is... well
null or empty. It is done to improve readability of the code and better
express intent.
2025-02-21 15:04:43 +01:00
Benjamin Bræstrup Sayoc
dda05369c4
Base: remove unneeded includes
2025-02-18 11:07:57 -06:00
Kacper Donat
a72a63232a
Base: Move App::Color to Base
...
Every basic data type is stored in Base module, color is standing out as
one that does not. Moving it to Base opens possibilities to integrate it
better with the rest of FreeCAD.
2025-02-17 21:10:26 +01:00
Joao Matos
27ebc68a11
CMake: Modernize build files using outdated Python variables.
2025-02-16 10:21:26 -06:00
tritao
9636068460
Base: Move zipios library to 3rdParty folder.
2025-02-14 13:08:28 -06:00
Chris Hennes
a4901e2ccb
Merge pull request #19142 from hyarion/refactor/add-template-addobject
...
Add new addObject<T>() function
2025-02-11 09:42:47 -06:00
Benjamin Nauck
8cc98b9a88
Mod: Use new addObject<T>(...) that requires additional changes
2025-02-10 18:35:38 +01:00
Benjamin Nauck
a1c5767643
Mod: Use new addObject<T>(...) using regex
2025-02-10 18:35:38 +01:00
Benjamin Bræstrup Sayoc
bada65edc3
Part: Use QStringLiteral
2025-02-10 18:32:44 +01:00
tritao
65466d580b
Gui: Reorganize the selection files into a top Selection folder.
2025-02-03 17:56:57 +01:00