Commit Graph

33792 Commits

Author SHA1 Message Date
Roy-043
8a4e8ca60e Draft: Fix SVG "Edges not ordered" issue (#10116) 2023-08-12 15:30:54 +02:00
Jonas Bähr
321c448c39 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]: 532b391b69
2023-08-11 06:33:38 -07:00
Jonas Bähr
e3de4f217c minor reformat: break lines, one per item 2023-08-11 06:33:38 -07:00
Jonas Bähr
22b173d0e2 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]: 68d22d864b
2023-08-11 06:15:51 -07:00
Paddle
58ef6c244e Pref: Theme: Make sure theme has changed before saving the setting. 2023-08-11 13:19:19 +02:00
Paddle
3899304b37 Pref: Theme: Solves #10136 2023-08-11 13:19:19 +02:00
marioalexis
b6444b5164 Base: Explicitly avoid parameters in PrecisionPy methods 2023-08-11 13:15:58 +02:00
berniev
8f75442a91 restore prev setting 2023-08-11 13:14:12 +02:00
wmayer
e2597aa77b Test: avoid to expand test dialog if label text is too long 2023-08-10 19:51:48 +02:00
wmayer
9f456d712b modernize C++: use equals delete 2023-08-10 17:29:05 +02:00
bdieterm
664c4ab1ac add initialization of locales with native environment settings to the main function 2023-08-10 17:28:00 +02:00
wmayer
8bb0edc9f0 Gui: fix another tabstop compilation warning
See also #10105
2023-08-10 17:01:45 +02:00
wandererfan
b7f149864b [TD]move dvp cosmetic functions to extension 2023-08-10 10:17:22 -04:00
wandererfan
a379f17b1c [TD]provide result of detail to other views 2023-08-10 10:17:22 -04:00
wandererfan
d087a8fea4 [TD]remove unused code dvp & sections 2023-08-10 10:17:22 -04:00
wandererfan
0f504fc9da [TD]refactor QGIViewPart 2023-08-10 10:17:22 -04:00
wmayer
1dd8680b11 gcc: support to build with v7.5 2023-08-10 11:22:08 +02:00
wmayer
778653825b Drawing: fix build failure 2023-08-10 10:51:34 +02:00
Roy-043
79a31d7483 Material: Avoid dictionary.keys() where possible 2023-08-10 00:59:02 +02:00
Roy-043
2e835349d2 PartDesign: Avoid dictionary.keys() where possible 2023-08-10 00:54:21 +02:00
Roy-043
f5595097dd Tools: Avoid dictionary.keys() where possible 2023-08-10 00:50:18 +02:00
wmayer
a8a730bf6d fixes #10063: Part_SectionCut does not work if the view is in perspective 2023-08-10 00:48:21 +02:00
sliptonic
a12a44823d 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
57c213b464 MSVC: fix build failure caused by PR #10138 2023-08-09 18:17:32 +02:00
wmayer
a4e8ed4217 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
c664cbc941 fixes #10105: Tabstop assignment compilation warning 2023-08-09 16:29:31 +02:00
wmayer
3b6a01095f fixes #10127: Usage of std::filesystem in test bumps minimum GCC version to GCC 8 2023-08-09 13:52:42 +02:00
Syres916
675877fcad Improve Sliders with some colour 2023-08-09 10:53:29 +02:00
Syres916
6d5cb8ef54 Improve grammar and remove whitespace 2023-08-09 10:53:29 +02:00
Syres916
c6eb321f54 Improve Visibility for Urls and Expressions 2023-08-09 10:53:29 +02:00
Paddle
e1094724db Preference Page Theme : remove jun from .ui file. 2023-08-09 10:19:29 +02:00
Roy-043
bc22e34b91 Drawing: Avoid dictionary.keys() where possible 2023-08-09 10:15:01 +02:00
Roy-043
beaf4ccb71 Import: Avoid dictionary.keys() where possible 2023-08-09 10:10:35 +02:00
Roy-043
67ce237651 Merge branch 'master' into Path-Avoid-dictionary.keys()-if-possible 2023-08-09 08:22:46 +02:00
Chris Hennes
d3c08a2da9 Update translations 2023-08-08 17:52:59 -06:00
wmayer
d150fa7164 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
292196a606 Gui: Expose the upDirection vector to Python 2023-08-08 13:53:50 -04:00
wmayer
68d22d864b modernize C++: move from boost::bind to std::bind 2023-08-08 17:36:13 +02:00
Roy-043
7bb6f48dbd Mesh: Avoid dictionary.keys() where possible 2023-08-08 17:29:05 +02:00
wmayer
662e305dc3 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
Roy-043
4f7bca2f65 Path: Avoid dictionary.keys() if possible 2023-08-08 15:56:22 +02:00
luzpaz
93ddce5008 Fix various typos 2023-08-08 14:25:00 +02:00
Paddle
8431d13bef Move DlgSettingsTheme 2023-08-08 11:12:48 +02:00
Paddle
ccb9d7faeb Move all the preference pages to PreferencePages subfolder. 2023-08-08 11:12:48 +02:00
Paddle
7c83085491 Change DlgEditor file name 2023-08-08 11:12:48 +02:00
Paddle
aec3d3cb1d Change DlgEditor to DlgSettingsEditor 2023-08-08 11:12:48 +02:00
Paddle
cf72ebcc57 Change DlgReportView file names. 2023-08-08 11:12:48 +02:00
Paddle
b49e786bcf Replace DlgReportView by DlgSettingsReportView in the files. 2023-08-08 11:12:48 +02:00
Paddle
9ddf44bb92 Change the 'DlgGeneral' file names. 2023-08-08 11:12:48 +02:00
Paddle
6eb72e2696 Replace DlgGeneralImp by DlgSettingsGeneral. 2023-08-08 11:12:48 +02:00