Commit Graph

33891 Commits

Author SHA1 Message Date
Benjamin Bræstrup Sayoc
575489b816 [TechDraw] Improve DimensionFormatter.cpp typing
Make type safe by using const keywords when appropriate and improve memory handling by using references when appropriate.
2023-08-19 13:28:53 -04:00
Benjamin Bræstrup Sayoc
d0d0a6f923 [TechDraw] Improve CosmeticVertex.cpp typing
Make type safe by using const keywords when appropriate and improve memory handling by using references when appropriate.
2023-08-19 13:28:53 -04:00
Benjamin Bræstrup Sayoc
4051e29188 [TechDraw] Improve CosmeticExtension.cpp typing
Make type safe by using const keywords when appropriate and improve memory handling by using references when appropriate.
2023-08-19 13:28:53 -04:00
Benjamin Bræstrup Sayoc
5cb05ce3c1 [TechDraw] Improve Cosmetic.cpp typing
Make type safe by using const keywords when appropriate and improve memory handling by using references when appropriate.
2023-08-19 13:28:53 -04:00
Benjamin Bræstrup Sayoc
78ef7a8f39 [TechDraw] Improve CenterLine.cpp typing
Make type safe by using const keywords when appropriate and improve memory handling by using references when appropriate.
2023-08-19 13:28:53 -04:00
sliptonic
6ab40695f2 Merge pull request #10140 from Ondsel-Development/camoticsbug
fixes #10113
2023-08-19 09:00:34 -05:00
wandererfan
3e164a5700 [TD]split GeometryObject 2023-08-18 15:18:42 -04:00
wandererfan
d23ca906b0 [TD]fix #9265 - memory leak in cosmetic features 2023-08-18 15:18:42 -04:00
sliptonic
cc603e2788 fixes #10113
packaging.version.parse() will raise InvalidVersion in some cases but the error isn't caught.
2023-08-18 11:16:44 -05:00
Damiano Lombardi
d443a1d37a TechDraw: Check for valid selection before asking for destination page 2023-08-18 10:29:52 -04:00
Damiano Lombardi
8303c79c47 TechDraw: Check for valid selection before asking for destination page 2023-08-18 10:29:52 -04:00
Benjamin Bræstrup Sayoc
45232752fd [TechDraw] CenterLine should use enums 2023-08-18 10:22:17 -04:00
wandererfan
0e201064f1 [TD]Fix wrong export macro 2023-08-18 16:14:34 +02:00
Chris Hennes
09edbbebaf Merge pull request #10258 from chennes/translations20230814
Update translations
2023-08-18 08:52:13 -05:00
Chris Hennes
661b6da0cb Merge pull request #10238 from Ondsel-Development/pref_theme_2
[Preferences] theme : Variables in stylesheet and more.
2023-08-18 08:49:34 -05:00
wmayer
7750ff78b7 Start: the Start workbench should show the basic commands in the various context-menus.
See also https://forum.freecad.org/viewtopic.php?t=80498
2023-08-18 08:45:02 -05:00
wmayer
93d878c0ca Lint: fix several issues discovered by clang-tidy 2023-08-18 08:44:49 -05:00
wmayer
8f08d8c7cd Lint: fix several issues discovered by clazy 2023-08-18 08:44:49 -05:00
wandererfan
49a9442d61 [TD]add label translation for Page and Template 2023-08-17 19:23:29 -04:00
wandererfan
414e06d54d [TD]apply translateLabel after all addObject calls 2023-08-17 19:23:29 -04:00
wandererfan
6595ed01d1 [TD]add view name translation tokens 2023-08-17 19:23:29 -04:00
wandererfan
bb08f70d04 [TD]Add method to translate View labels 2023-08-17 19:23:29 -04:00
Chris Hennes
94426e1f54 TD: Translate default labels 2023-08-17 19:23:29 -04:00
wmayer
54bb9c9c62 Gui: modernize C++: return braced init list 2023-08-18 00:36:24 +02:00
wmayer
e444f86619 Tools: modernize C++: return braced init list 2023-08-18 00:36:24 +02:00
wmayer
89bdd489b0 App: modernize C++: return braced init list 2023-08-18 00:36:24 +02:00
wmayer
2bc90e6090 Base: modernize C++: return braced init list 2023-08-18 00:36:24 +02:00
Connor Worrell
2636e164f3 [GUI] QuantitySpinBox Regex Optimization #10067 Ammendum 2023-08-17 15:57:43 -05:00
0penBrain
f57627aa10 [Bugfix]Plot: reintroduce patch removed by #9103
While FC don't depend on PyQt anymore, patch is needed to have
 matplotlib working correctly

 876601d34d (r108628060)
2023-08-17 11:56:23 -04:00
marioalexis
2cfada7601 Gui: Change ExpressionBindingPy to new PyCXX extension type 2023-08-17 16:02:07 +02:00
Chris Hennes
997b8eff5c Draft: Translate task titles for draft tools (#10227) 2023-08-17 16:01:15 +02:00
Chris Hennes
ddf8c47f40 App: clang-tidy cleanup of Expression::_renameObjectIdentifier 2023-08-17 15:59:45 +02:00
Chris Hennes
f4c348464c Draft: Translate label type combobox (#10228) 2023-08-17 15:36:37 +02:00
Chris Hennes
28f396cc75 Update translations
Adds the ten units strings from Base as well.
2023-08-16 22:50:39 -05:00
wmayer
312975edba Part: modernize C++: use range-based for loop 2023-08-16 21:56:32 -05:00
wmayer
9a1f8a11d6 PD: modernize C++: use range-based for loop 2023-08-16 21:54:56 -05:00
Djuro Drljaca
c311bab053 Keep the label of a variable in expression on spreadsheet alias rename (#10222)
Fixes #5800
2023-08-16 21:35:58 -05:00
Rexbas
fcbee3ad49 Gui: Improve object center rotation mode 2023-08-16 16:02:32 -05:00
Chris Hennes
7d92236c22 Merge pull request #10171 from qewer33/master
StartPage: Add new file templates and fix javascript error
2023-08-16 15:02:18 -05:00
sliptonic
0658e42a35 Merge pull request #10214 from haraldhartmann/PathAddEstlcamPP-patch-1
Path: add estlcam_post.py to CMakeList.txt
2023-08-16 10:44:13 -05:00
Roy-043
b9d48c20a0 Draft: Add Justification option to ShapeString (#10233) 2023-08-16 17:08:49 +02:00
Roy-043
aebc302937 Reverted change for sifio.py 2023-08-16 16:47:27 +02:00
Roy-043
3e2c766800 FEM: Avoid dictionary.keys() where possible 2023-08-16 16:47:27 +02:00
Pieter Hijma
d07dd67ba1 Gui: Cleanup Python varargs
Various function existed that had no arguments but were still treated as
if they were vararg functions.  This has no been changed to
add_noargs_method declarations, cleaning up the code.
2023-08-16 15:07:09 +02:00
bdieterm
5a58c5a084 ignore whole selected objects for Part linear/angular measurement tool
Whole objects selected in the model tree will be ignored for the measurement element selection.
This allows for selecting and toggling the visibility of an object in the model tree.
2023-08-16 15:01:45 +02:00
qewer33
58b9a9f65e Remove StartPage new file button gradient option 2023-08-16 14:33:55 +03:00
howie-j
8da37ae635 Update DlgSettings3DView.ui 2023-08-16 13:29:35 +02:00
Jonas Bähr
3e68d6fd50 Remove C++ escaping from *Py.xml templates
Now all escaping required for the C++ code generation is done when the
.cpp/.h files are generated. Previously, only newlines were escaped
automatically. This was a) inconsistent and b) leaked c++ details into
the xml data.
In addition, the escaping is now done in one central place, harmonizing
the three previous implementations.

Pre-existing c++ escape sequences in the XML files have been replaced by
their literal equivalent so that the resulting python doc sting remains
unchanged.
2023-08-16 13:17:25 +02:00
marioalexis
05df2da6b4 Gui: Change SelectionFilterPy to new PyCXX extension type 2023-08-16 08:39:14 +02:00
Paddle
acb63fa79d Theme: Fix the issue that the stylesheet combobox did not update when theme changed. 2023-08-16 08:14:07 +02:00