Commit Graph

32425 Commits

Author SHA1 Message Date
Roy-043
0b58b7ba5a Draft: make_sketch should not change Autoconstraints of sketch (#10181) 2023-08-13 11:16:22 +02:00
Chris Hennes
614c01c0b1 Gui: Translate 'page' for new pages 2023-08-12 17:54:26 -04:00
Chris Hennes
2536c0d855 TD: Correct use of TRANSLATE_NOOP
Direct UI access should use translate()
2023-08-12 17:53:26 -04:00
Chris Hennes
05442206ac TD: Correct translation in TaskComplexSection 2023-08-12 17:52:16 -04:00
Roy-043
2f534dee4a AddonManager: Avoid dictionary.keys() where possible 2023-08-12 10:24:25 -07:00
Chris Hennes
2ee7a9266a 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
Roy-043
8a4e8ca60e Draft: Fix SVG "Edges not ordered" issue (#10116) 2023-08-12 15:30:54 +02:00
David Kaufman
7785d101e8 [Path] Make RampDressup accept other dressups as its base operation 2023-08-11 21:58:59 -04:00
qewer33
74d02a69f2 Fix StartPage javascript error when switching tabs 2023-08-11 20:02:33 +03:00
qewer33
0e606ec1d1 Add new file section and file templates to StartPage 2023-08-11 19:50:26 +03: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
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
marioalexis
f1445ed315 Test: Add StringHasher test 2023-08-10 11:55:21 -03:00
marioalexis
594ebe54d8 App: Change indentation to 4 spaces in String*PyImp.cpp 2023-08-10 11:55:21 -03:00
marioalexis
cd521d77eb App: Fix crash and undefined behavior in StringHasherPy and StringIDPy 2023-08-10 11:55:21 -03:00
marioalexis
818a4f1cc8 App: Initialize StringHasher and StringID classes 2023-08-10 11:55:21 -03: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
778653825b Drawing: fix build failure 2023-08-10 10:51:34 +02:00
jffmichi
32e10828d4 add unit test for flipEdge with FirstParameter and LastParameter 2023-08-10 01:17:36 +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
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
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
Chris Mayo
1ea0f22c61 Fix hicolor theme application icon names
Fixed-size icons were not available as org.freecad.FreeCAD and
XDGData/org.freecad.FreeCAD.svg was a duplicate of Gui/Icons/freecad.svg.
2023-08-08 19:25:14 +01:00
Chris Mayo
9b562a4e0a Finish renaming desktop filename to org.freecad.FreeCAD
The QGuiApplication::setDesktopFileName() call was changed in [1] but
the desktop file and other files that reference it were not.

As shown by Looking Glass [2] on X11 updating these files is still
not enough for GNOME to associate the process with the desktop file,
a StartupWMClass entry is added to the desktop file to fix this.

[1]
129d5882a7 ("Migrate domain name from freecadweb to freecad (#9352)", 2023-04-24)

[2]
https://blogs.gnome.org/mclasen/2016/11/15/help-my-app-icon-is-missing/
2023-08-08 19:25:14 +01: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