Commit Graph

33802 Commits

Author SHA1 Message Date
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
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
wmayer
12bd92cdf5 Gui: fix another tabstop compilation warning
See also #10105
2023-08-10 17:01:45 +02:00
wandererfan
6565732207 [TD]move dvp cosmetic functions to extension 2023-08-10 10:17:22 -04:00
wandererfan
77ef529c5a [TD]provide result of detail to other views 2023-08-10 10:17:22 -04:00
wandererfan
08237b6c2c [TD]remove unused code dvp & sections 2023-08-10 10:17:22 -04:00
wandererfan
5df5be3774 [TD]refactor QGIViewPart 2023-08-10 10:17:22 -04:00
wmayer
95e8c5d5a5 gcc: support to build with v7.5 2023-08-10 11:22:08 +02:00
wmayer
5cf79a3a17 Drawing: fix build failure 2023-08-10 10:51:34 +02:00
Roy-043
85c2c973d8 Material: Avoid dictionary.keys() where possible 2023-08-10 00:59:02 +02:00
Roy-043
64df36ba5c PartDesign: Avoid dictionary.keys() where possible 2023-08-10 00:54:21 +02:00
Roy-043
79936038ac Tools: Avoid dictionary.keys() where possible 2023-08-10 00:50:18 +02:00
wmayer
15c41e81d1 fixes #10063: Part_SectionCut does not work if the view is in perspective 2023-08-10 00:48:21 +02:00
sliptonic
7a1db14045 Merge pull request #10118 from Roy-043/Path-Avoid-dictionary.keys()-if-possible
Path: Avoid dictionary.keys() if possible
2023-08-09 14:32:49 -05:00
wmayer
1ab94d290e MSVC: fix build failure caused by PR #10138 2023-08-09 18:17:32 +02:00
wmayer
efe323395e TD: fix possible crash in QGIWeldSymbol::customBoundingRect()
Forum thread: https://forum.freecad.org/viewtopic.php?t=80203
2023-08-09 10:48:11 -04:00
wmayer
c15be7d714 fixes #10105: Tabstop assignment compilation warning 2023-08-09 16:29:31 +02:00
wmayer
30ae3e6b5c fixes #10127: Usage of std::filesystem in test bumps minimum GCC version to GCC 8 2023-08-09 13:52:42 +02:00
Syres916
2d4f379d9d Improve Sliders with some colour 2023-08-09 10:53:29 +02:00
Syres916
d5feaae615 Improve grammar and remove whitespace 2023-08-09 10:53:29 +02:00
Syres916
d34ceeae26 Improve Visibility for Urls and Expressions 2023-08-09 10:53:29 +02:00
Paddle
7e833518b3 Preference Page Theme : remove jun from .ui file. 2023-08-09 10:19:29 +02:00
Roy-043
9e178dbcb8 Drawing: Avoid dictionary.keys() where possible 2023-08-09 10:15:01 +02:00
Roy-043
e23c56e6c8 Import: Avoid dictionary.keys() where possible 2023-08-09 10:10:35 +02:00
Roy-043
df95050687 Merge branch 'master' into Path-Avoid-dictionary.keys()-if-possible 2023-08-09 08:22:46 +02:00
Chris Hennes
3bad74fe7d Update translations 2023-08-08 17:52:59 -06:00
wmayer
948cbfccd9 modernize C++: avoid bind
In many cases std::bind() is kept because the code is much simpler
2023-08-08 21:10:16 +02:00
Pieter Hijma
c765d64891 Gui: Expose the upDirection vector to Python 2023-08-08 13:53:50 -04:00
wmayer
52e1c7c33b modernize C++: move from boost::bind to std::bind 2023-08-08 17:36:13 +02:00
Roy-043
2bb3dd1c7e Mesh: Avoid dictionary.keys() where possible 2023-08-08 17:29:05 +02:00
wmayer
40a9f47489 Path: make export macro accessible in header file
It's not recommended any more to keep the export macro in the PreCompiled.h because many IDEs fail to fetch the export macro and raise a parsing error instead.
2023-08-08 17:27:28 +02:00