Commit Graph

31982 Commits

Author SHA1 Message Date
Bernd Waibel
8fde3e3cd0 properly report Shiboken and PySide if found
The patch fixes a small issue, with the PrintFinalReport macro, where
Shiboken and PySide where not properly reported.

Closes: https://github.com/FreeCAD/FreeCAD/issues/8573
Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
2023-02-21 14:57:01 -06:00
Chris Hennes
eeb481207f Addon Manager: Fix bug in dependency installer 2023-02-21 13:33:20 -06:00
Chris Hennes
3826042529 Addon Manager: pylint cleanup of devmode 2023-02-21 12:11:35 -06:00
Uwe
d13926baa8 [FEM] add example for flux equation
- also fine-tune flow example
2023-02-21 13:01:14 +01:00
Chris Hennes
381f534c47 Core: Update Mac Spacemouse calls
The old call was deprecated by 3DConnexion.
2023-02-20 23:48:39 -06:00
Chris Hennes
40e3cc57bf Merge pull request #8568 from chennes/cmakeFixFmt
cMake: Add manual find_package() for fmt
2023-02-20 23:39:56 -06:00
Chris Hennes
b3766e5c42 cMake: Add manual find_package() for fmt 2023-02-20 21:42:55 -06:00
Chris Hennes
43cc8b12c1 Addon Manager: Cleanup package_details.py 2023-02-20 21:09:51 -06:00
Chris Hennes
4d6e7cd3a4 Addon Manager: pylint cleanup of package_list.py 2023-02-20 21:09:51 -06:00
Chris Hennes
892c0a95f6 Addon Manager: Remove direct FreeCAD import in tests 2023-02-20 21:09:51 -06:00
Chris Hennes
2e2153813f Addon Manager: Silence linter test setup complaints 2023-02-20 21:09:51 -06:00
Chris Hennes
b4ac20b50b Addon Manager: HTML standard compliance 2023-02-20 21:09:51 -06:00
marioalexis
976b0b8d3f Fem: Implement getNodeElements function 2023-02-21 03:13:13 +01:00
Chris Hennes
9c6164bc07 Addon Manager: Add SPDX license ID to all files 2023-02-20 15:39:47 -06:00
Uwe
b6d186ef73 [FEM] [skip ci] Command.cpp: fix loo long line 2023-02-20 03:13:19 +01:00
Uwe
60e089d52a [FEM] fix typo in command
- to be uniform as all other commands begin with "CmdFem..."
2023-02-20 02:45:14 +01:00
Uwe
2bf7ccab68 [FEM] fix reported typos and inconsistencies 2023-02-20 02:07:33 +01:00
Uwe
1f8f2bf6cb [FEM] add new example file for flow and heat
- also extend examples libraries for (more to come) examples with multiphysics (multiple equations)
2023-02-20 02:06:48 +01:00
Uwe
cd88d3888c [App] License.h: fix compiler warning
- as discussed here: https://forum.freecad.org/viewtopic.php?t=76184
2023-02-20 00:57:19 +01:00
Chris Hennes
b00572548f Addon Manager: Refactor macro
Reduce coupling with FreeCAD core.
2023-02-19 15:49:24 -06:00
Chris Hennes
7b590eace0 Addon Manager: Refactor interface to FreeCAD 2023-02-19 15:49:24 -06:00
wmayer
519d26e13c CMake: fix linking error in test function when linking Python statically 2023-02-19 20:51:44 +01:00
luzpaz
c14f58d6f3 Fix various trailing whitespace issues and typos 2023-02-19 10:59:14 -06:00
Uwe
902566c6ce [FEM] improve pvtu file filtering
- only filter when necessary
- avoid unnecessary function calls
- fix bug that objects were not made visible but invisible
2023-02-19 17:37:11 +01:00
Uwe
14de59ec35 [Material] fix card selection bug
- fixes bug number 7 of this list: https://forum.freecad.org/viewtopic.php?style=5&p=489666#p489666

- also fix warning about too short variable name
2023-02-19 07:46:52 +01:00
Uwe
8a16e01e39 [FEM] fix material dialog logic
- when the option "use this task panel" is not checked the edit fields must be disabled.
  This also fixes the often hard to understand issue that while scrolling to the end of the dialog the material suddenly changes to "_transient" because the scroll wheel can trigger to change the edit fields.
2023-02-19 04:44:07 +01:00
Uwe
b31d9d1e34 [FEM] fix material handling of fluids
- the material editor failed for Fluid materials because this info was not passed to it. Instead always solid materials were loaded.

- also fix warning about too long variable name and remove unnecessary debug code
2023-02-19 02:57:12 +01:00
Uwe
4b99ce1aac [Material] fix bugs with missing icons
- at the moment you get several warnings about missing icons when starting the Material editor
  The reason is that they are not registered in CMake

- also remove icon from Material icon editor. As it is a child of FreeCAD it should have the same FreeCAD icon as all other FreeCAD widgets.

- also fix warning about too short variable name
2023-02-19 00:47:44 +01:00
Uwe
65195d99b0 [FEM] update Elmer examples
- active already the analysis
- generate the mesh preferably directly, also if this fails, load the rough meshes
- use value for Air is they are in our Air material card
- apply material to the body (not necessary but good practice, the examples are there to teach people and for more complex models setting the material to a body is important)
2023-02-19 00:45:57 +01:00
Uwe
585de7c8a0 [Gui] second hotfix for NotificationBox.cpp
- #include "PreCompiled.h" is missing, see https://github.com/FreeCAD/FreeCAD/pull/8536#issuecomment-1435782841

- also remove unused headers
2023-02-19 00:43:52 +01:00
Pesc0
9d7c8b1326 Cleanup root directory 2023-02-18 16:09:56 -06:00
Uwe
a7c5fde0e3 [FEM] fix analysis activation issue
- after activating an analysis the FEM toolbar buttons did not become active
2023-02-18 22:28:35 +01:00
Uwe
043b8cf2d6 [Gui] hotfix for NotificationBox.cpp
- master in uncompilable on Windows, see https://github.com/FreeCAD/FreeCAD/pull/8352#issuecomment-1435769625
 and we already got reports about this. Thus a hotfix for the meantime.

- (the formatting change was automatically done by MSVC according to our clang file)
2023-02-18 22:18:46 +01:00
Chris Hennes
1900613b6f Core: FetchContent zip download instead of git 2023-02-18 12:43:48 -06:00
Chris Hennes
59c95496b4 Core: Add libfmt via FetchContent 2023-02-18 12:43:48 -06:00
Abdullah Tahiri
c98022e7fd Gui: NotificationBox - review changes
=====================================

Changes consquence of the review by OpenBrain:
- Use smart pointer for NotificationLabel (QT deleteLater compatible)
- Consistent use of measurement units in parameter naming.
- Consistent wording of code documentation.
- Improvements in branching of QTootTip based code.
- Remove redundant stop on singleshot qtimer.
- Improved filtering of click events.
2023-02-18 16:58:43 +01:00
Abdullah Tahiri
6532098308 Gui: NotificationBox - New non-intrusive auto-closing notification box
======================================================================

In short, a "tooltip" alike notification, where the user can continue working without having
to interact with the notification. If the user is interested in the notification, he or she can
stop to read it. If not interested, the user can ignore it and continue working. The notification
will automatically disappear when the timer lapses or before that time, as described below.

A new widget similar to QToolTip, to have a similar look and feel
and interface, while avoiding early closing on user action.

QToolTip is not intended for notifications, but to provide contextual help. While
QToolTip could have been used for part of the functionality (by filtering out events),
other parts required additional changes to the interface

Gui::NotificationBox is a reimplementation intended to provide user notifications. It
relies on the proven code of QToolTip for the wanted behaviour.

Additional functionality:
- A notification box has a minimum time for which it won't close, unless popped out (click inside
the notification).
- After the minimum time, if left mouse button is clicked (anywhere) it auto-closes, as it is
understood the user has continued working.
- After a maximum time, it will automatically close (even in nothing is clicked).
2023-02-18 16:58:43 +01:00
Uwe
2690118711 [App] sort includes in PreCompiled.h
- also remove a superfluous private: statement
- also remove an unnecessary include
2023-02-18 14:53:11 +01:00
Uwe
de95a22eae [FEM] connect CCX solver to results pipeline
- it was often criticized that our default solver CCX is not connected to the results pipeline system. One had to connect it manually, the create the different filter etc. but as soon as one changed a constraint and re-run the solver the whole work was gone and one had to recreate the pipeline.
This PR solves this by creating a pipeline and by reloading new results to it on a solver re-run.
The CCX results dialog feature is not touched, since the pipeline is hidden when the dialog is active.
2023-02-18 04:05:05 +01:00
berniev
124a03f508 AlwaysBreakTemplateDeclarations
Previous setting was not keeping the template<...> on a line by itself which get hard to read.

Changing to Yes.
2023-02-18 03:02:47 +01:00
Przemo Firszt
5d8c247c2a [COPR] tighten grep to avoid catching some random stuff
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2023-02-17 15:41:08 +01:00
luzpaz
c48b426182 Fix source comment and documentation typos
[skip ci]
2023-02-17 08:32:03 -06:00
0penBrain
a69f656c61 CI: improve tests reporting (extract failed tests + uncaught tracebacks) 2023-02-17 08:08:40 -06:00
0penBrain
3a6c9ffc69 CI: add crash dumps to log artifacts for Linux builds 2023-02-17 08:08:40 -06:00
0penBrain
6316fed5d9 CI: uniformize sed usage 2023-02-17 08:08:40 -06:00
0penBrain
551e70f3bb CI: improve reporting for line endings check 2023-02-17 08:08:40 -06:00
0penBrain
c1631e0d03 CI: fix a bug in getting codespell problem count 2023-02-17 08:08:40 -06:00
0penBrain
cd9280cd08 CI: improve Prepare reporting by using 'continue-on-error' for silent failing 2023-02-17 08:08:40 -06:00
0penBrain
2a1422e453 CI: improve Lint reporting by using 'continue-on-error' for silent failing 2023-02-17 08:08:40 -06:00
0penBrain
fb818a81cf CI: Improve Cmake build reporting, print built targets (and only this) 2023-02-17 08:08:40 -06:00