Commit Graph

34803 Commits

Author SHA1 Message Date
Paddle
efd7e9034b SetStylesheet: Remove comparaison to current stylesheet as now we have variables in stylesheet. This check is done in the Theme pref page now. 2023-08-15 14:35:39 +02:00
Paddle
3e6c4acd0b Move the stylesheet combobox to the end of the page and change name/tooltip. 2023-08-15 14:35:39 +02:00
Paddle
66697eaec4 Stylesheet : Replace Dark-color by single Dark stylesheet. 2023-08-15 14:35:34 +02:00
Paddle
ecc16958e6 Core: Stylesheets: Adds support for variables in stylesheets. 2023-08-15 14:35:29 +02:00
wmayer
9b5314bd87 Start: modernize C++: use range-based for loop 2023-08-15 14:00:43 +02:00
wmayer
aeeeaa3783 Web: modernize C++: use range-based for loop 2023-08-15 14:00:43 +02:00
wmayer
953a59d17b MeshPart: modernize C++: use range-based for loop 2023-08-15 12:52:52 +02:00
Chris Mayo
c68c876169 Remove duplicate model/iges MimeType entry 2023-08-15 10:58:49 +02:00
wmayer
7f49080952 Mesh: modernize C++: use range-based for loop 2023-08-15 10:56:30 +02:00
wmayer
452aee7c6f Inspection: modernize C++: use range-based for loop 2023-08-15 08:37:17 +02:00
wmayer
89b9a7ae0f FEM: modernize C++: use range-based for loop 2023-08-15 01:09:53 +02:00
wmayer
26ea9e4ea4 Import: modernize C++: use range-based for loop 2023-08-15 01:09:53 +02:00
Florian Foinant-Willig
06cd311acd Fix the fix o:-) 2023-08-14 22:31:36 +02:00
Florian Foinant-Willig
f120c7a317 Fix menu and ressource file 2023-08-14 22:12:18 +02:00
wmayer
e09d8aaba6 Gui: modernize C++: use range-based for loop 2023-08-14 19:42:18 +02:00
Chris Hennes
ddaa34f0fc Draft: Translate Dimension and axis labels 2023-08-14 08:14:32 -07:00
wmayer
4991475341 App: modernize C++: use range-based for loop 2023-08-14 16:40:25 +02:00
Florian Foinant-Willig
0a02aaea51 Merge branch 'master' into arc_helper_gui 2023-08-14 16:24:28 +02:00
wmayer
761905dbc2 Base: modernize C++: use range-based for loop 2023-08-14 14:09:29 +02:00
Paddle
55c45b62ca Pref Theme : Change name of colors. 2023-08-14 08:11:58 +02:00
sliptonic
2dbeb68e6d Merge pull request #10216 from chennes/removePRBoilerplate
Remove the PR template text
2023-08-13 16:42:21 -07:00
Chris Hennes
047448bc7b Merge pull request #10125 from cjmayo/desktopfilename
Finish renaming desktop filename to org.freecad.FreeCAD
2023-08-13 14:24:18 -07:00
Chris Hennes
edda57292c Merge pull request #10146 from marioalexis84/app-string_hasher_py
App: Fix crash and undefined behavior in StringHasherPy and StringIDPy
2023-08-13 13:45:06 -07:00
Chris Hennes
2025ed1152 Remove the PR template text
Closes https://github.com/FreeCAD/FreeCAD/discussions/10196 and https://github.com/FreeCAD/FreeCAD/discussions/10195
2023-08-13 13:38:12 -07:00
qewer33
ee0cdc773d Tweak StartPage new file template descriptions and make arch template work with the BIM workbench 2023-08-13 21:42:19 +03:00
Harald Hartmann
65444bf3ce add estlcam_post.py 2023-08-13 17:31:03 +02:00
luzpaz
5b698e6b68 Fix various typos 2023-08-13 08:17:01 -07:00
Roy-043
c409d3b788 Arch: Avoid dictionary.keys() where possible (#10159) 2023-08-13 11:46:51 +02:00
Roy-043
b83e401836 Draft: Avoid dictionary.keys() where possible (#10160) 2023-08-13 11:46:25 +02:00
Roy-043
a32ed5c315 Draft: make_sketch should not change Autoconstraints of sketch (#10181) 2023-08-13 11:16:22 +02:00
Chris Hennes
5418e39c01 Gui: Translate 'page' for new pages 2023-08-12 17:54:26 -04:00
Chris Hennes
dfb6ca367e TD: Correct use of TRANSLATE_NOOP
Direct UI access should use translate()
2023-08-12 17:53:26 -04:00
Chris Hennes
62087c2561 TD: Correct translation in TaskComplexSection 2023-08-12 17:52:16 -04:00
Roy-043
07e4d34b04 AddonManager: Avoid dictionary.keys() where possible 2023-08-12 10:24:25 -07:00
Chris Hennes
6541e13294 Gui: Tweak size of developer warning
Ensure that the warning adapts to the font size and text length as needed.
2023-08-12 10:24:05 -07:00
Chris Hennes
00b45b14d5 Test: Begin QuantitySpinBox QTests 2023-08-12 10:23:43 -07:00
Roy-043
7d15cee092 Draft: Fix SVG "Edges not ordered" issue (#10116) 2023-08-12 15:30:54 +02:00
David Kaufman
29f80b723a [Path] Make RampDressup accept other dressups as its base operation 2023-08-11 21:58:59 -04:00
qewer33
5d3e023e4f Fix StartPage javascript error when switching tabs 2023-08-11 20:02:33 +03:00
qewer33
0d522e16b9 Add new file section and file templates to StartPage 2023-08-11 19:50:26 +03:00
Jonas Bähr
7c7ea461b0 Fix build of "tests" on macOS
Building the C++ unit tests failed for
 tests/src/Mod/Sketcher/App/SketchObject.cpp
because some XML headers were not found. This was because the XercesC
include dir was not in the search list for headers.

Details:
> In file included from /Users/jonas/src/FreeCAD/FreeCAD-git/tests/src/Mod/Sketcher/App/SketchObject.cpp:7:
> In file included from /Users/jonas/src/FreeCAD/FreeCAD-git/src/App/Application.h:33:
> /Users/jonas/src/FreeCAD/FreeCAD-git/src/Base/Parameter.h:55:10: fatal error: 'xercesc/util/XercesDefs.hpp' file not found
> #include <xercesc/util/XercesDefs.hpp>
>          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This is the same issue as already adresses previously with PR9657 [1] but
the test for SketchObject was added later [2].

[1]: https://github.com/FreeCAD/FreeCAD/pull/9657
[2]: 03bb503283
2023-08-11 06:33:38 -07:00
Jonas Bähr
2e1259482f minor reformat: break lines, one per item 2023-08-11 06:33:38 -07:00
Jonas Bähr
dee56c32d4 Spreadsheet: fix build on macOS
The recent migration from boost::bind to std::bind [1] broke the build
on Mac (Apple clang version 13.0.0 (clang-1300.0.29.30) on macOS-11.7.8).

In all other cases the `boost::bind` was replaced by `std::bind` (among
with the place holders) but in these two spread sheet files
  src/Mod/Spreadsheet/Gui/SheetModel.cpp
  src/Mod/Spreadsheet/Gui/SpreadsheetView.cpp
the original code only referenced `bind`, which used to get resolved to
`boost::bind` but now raises this error:
> /Users/jonas/src/FreeCAD/FreeCAD-git/src/Mod/Spreadsheet/Gui/SheetModel.cpp:50:36: error: use of undeclared identifier 'bind'; did you mean 'boost::bind'?
>         sheet->cellUpdated.connect(bind(&SheetModel::cellUpdated, this, sp::_1));
>                                    ^~~~
>                                    boost::bind

This commit changes this to `std::bind` expicitly, just like it's done in
the other files. This works on my system/compiler.

[1]: 4ffe0c3218
2023-08-11 06:15:51 -07:00
Paddle
37ad74519f Pref: Theme: Make sure theme has changed before saving the setting. 2023-08-11 13:19:19 +02:00
Paddle
c547e3cddf Pref: Theme: Solves #10136 2023-08-11 13:19:19 +02:00
marioalexis
d7ed0d5433 Base: Explicitly avoid parameters in PrecisionPy methods 2023-08-11 13:15:58 +02:00
berniev
a72bdd40bb restore prev setting 2023-08-11 13:14:12 +02:00
wmayer
e2aa8660a3 Test: avoid to expand test dialog if label text is too long 2023-08-10 19:51:48 +02:00
wmayer
7fe0d5b9a6 modernize C++: use equals delete 2023-08-10 17:29:05 +02:00
bdieterm
c9d0a90633 add initialization of locales with native environment settings to the main function 2023-08-10 17:28:00 +02:00