Commit Graph

22029 Commits

Author SHA1 Message Date
wmayer
af42f439d9 PVS: V612 The '(4) / 3' expression was implicitly cast from 'int' type to 'float' type. Consider utilizing an explicit type cast to avoid the loss of a fractional part 2020-07-18 10:59:28 +02:00
wmayer
67a986bb2d PVS: V601 The bool type is implicitly cast to the double type 2020-07-18 10:59:28 +02:00
wmayer
05d4496d96 PVS: V688 The local variable possesses the same name as one of the class members, which can result in a confusion 2020-07-18 10:59:28 +02:00
wmayer
6c94ed51ab PVS: V690 The copy constructor is declared as private in the 'PropertySheet' class, but the default copy assignment operator will still be generated by compiler. It is dangerous to use such a class. 2020-07-18 10:59:28 +02:00
wmayer
2a50ac2252 PVS: V595 A pointer was utilized before it was verified against nullptr 2020-07-18 10:59:28 +02:00
wmayer
d8ee57c0a1 PVS: V590 Consider inspecting this expression. The expression is excessive or contains a misprint. 2020-07-18 10:59:28 +02:00
wmayer
103f094088 PVS: V1762 It is possible a virtual function was overridden incorrectly 2020-07-18 10:59:28 +02:00
wmayer
50e5495ce3 PVS: V1023 A pointer without owner is added to the container by the 'emplace_back' method. A memory leak will occur in case of an exception. 2020-07-18 10:59:28 +02:00
wmayer
13c2fae81c PVS: V575 The null pointer is passed into 'strcpy' function. Inspect the first argument 2020-07-18 10:59:28 +02:00
wmayer
6426161ed8 PVS: V572 It is odd that the object which was created using 'new' operator is immediately cast to another type 2020-07-18 10:59:28 +02:00
wmayer
9424395afc PVS: V1004 A pointer was used unsafely after it was verified against nullptr 2020-07-18 10:59:27 +02:00
wmayer
9ee3cd222b PVS: V678 An object is used as an argument to its own method. Consider checking the first actual argument of the 'setupUi' function.
Avoid to include ui generated header files within other header files but use forward declarations instead. This reduces dependencies between files and compile time considerably
2020-07-18 10:59:27 +02:00
wmayer
9e2dc54094 PVS: V560 A part of conditional expression is always true 2020-07-18 10:59:27 +02:00
wmayer
b09d02a576 PVS: V570 A variable is assigned to itself 2020-07-18 10:59:27 +02:00
wmayer
1b2a7ef6fc PVS: V547 Expression is always true/false 2020-07-18 10:59:27 +02:00
wmayer
02f45721d6 PVS: V529 Odd semicolon ';' after 'for' operator. 2020-07-18 10:59:27 +02:00
wmayer
07d2e08920 PVS: V524 It is odd that the body of 'getLastUKnotIndex' function is fully equivalent to the body of 'getFirstUKnotIndex' function 2020-07-18 10:59:27 +02:00
wmayer
8ceac9cf55 PVS: V523 The 'then' statement is equivalent to the 'else' statement 2020-07-18 10:59:27 +02:00
wmayer
1ae38aea04 PVS: V522 There might be dereferencing of a potential null pointer 2020-07-18 10:59:27 +02:00
wmayer
e005972466 PVS: V519 A variable is assigned values twice successively. 2020-07-18 10:59:27 +02:00
wmayer
8a7b4a145b PVS: V773 The exception was thrown without releasing the pointer. A memory leak is possible. 2020-07-18 10:59:27 +02:00
wmayer
94dbcc83ce PVS: V517 The use of 'if (A) {...} else if (A) {...}' pattern was detected. 2020-07-18 10:59:27 +02:00
wmayer
2ebd1c3518 PVS: V501 There are identical sub-expressions to the left and to the right 2020-07-18 10:59:27 +02:00
wmayer
4807fd3b33 PVS: V730 Not all members of a class are initialized inside the constructor 2020-07-18 10:59:27 +02:00
vocx-fc
72b8d36457 Draft: add module getSVG to the proper Doxygen group
Only one module `getSVG` added to the `getSVG` Doxygen group.

Probably at some point the module will be broken into smaller
modules to organize the code better.
2020-07-17 13:01:45 +02:00
vocx-fc
8e9fb40fa3 Draft: add modules of draftviewproviders to the proper Doxygen group
This includes `view_array`, `view_base`, `view_bezcurve`,
`view_bspline`, `view_circulararray`, `view_clone`, `view_dimension`,
`view_draft_annotation`, `view_draftlink`, `view_facebinder`,
`view_fillet`, `view_label`, `view_orthoarray`, `view_point`,
`view_polararray`, `view_rectangle`, `view_text`, `view_wire`,
`view_wpproxy`.

These are added to the `draftviewproviders` Doxygen group
so that the functions and classes contained in each module
are listed appropriately in the automatically generated
documentation.
2020-07-17 13:01:45 +02:00
vocx-fc
dd70caa723 Draft: add modules of draftutils to the proper Doxygen group
This includes `gui_utils`, `init_draft_statusbar`, `init_tools`,
`messages`, `todo`, `translate`, `utils`.

These are added to the `draftutils` Doxygen group
so that the functions contained in each module are listed
appropriately in the automatically generated documentation.
2020-07-17 13:01:45 +02:00
vocx-fc
e853503907 Draft: add modules of drafttests to the proper Doxygen group
This includes `auxiliary`, `draft_test_objects`, `test_airfoildat`,
`test_creation`, `test_dwg`, `test_dxf`, `test_import`,
`test_import_gui`, `test_import_tools`, `test_modification`,
`test_oca`, `test_pivy`, `test_svg`.

These are added to the `drafttests` Doxygen group
so that the functions and classes contained in each module
are listed appropriately in the automatically generated
documentation.
2020-07-17 13:01:45 +02:00
vocx-fc
e9b72b5be7 Draft: add modules of drafttaskpanels to the proper Doxygen group
This includes `task_circulararray`, `task_orthoarray`,
`task_polararray`, `task_scale`, `task_selectplane`,
`task_shapestring`.

These are added to the `drafttaskpanels` Doxygen group
so that the functions and classes contained in each module
are listed appropriately in the automatically generated
documentation.
2020-07-17 13:01:45 +02:00
vocx-fc
27fc2e89fb Draft: add modules of draftobjects to the proper Doxygen group
This includes `array`, `base`, `bezcurve`, `block`, `bspline`,
`circle`, `clone`, `dimension`, `draft_annotation`, `draftlink`,
`drawingview`, `ellipse`, `facebinder`, `fillet`, `label`,
`patharray`, `point`, `pointarray`, `polygon`, `rectangle`,
`shape2dview`, `shapestring`, `text`, `wire`, `wwproxy`.

These are added to the `draftobjects` Doxygen group
so that the functions and classes contained in each module
are listed appropriately in the automatically generated
documentation.
2020-07-17 13:01:45 +02:00
vocx-fc
a82d6b9801 Draft: add modules of draftmake to the proper Doxygen group
This includes `make_arc_3points`, `make_array`, `make_bezcurve`,
`make_block`, `make_bspline`, `make_circle`, `make_circulararray`,
`make_clone`, `make_copy`, `make_dimension`, `make_drawingview`,
`make_ellipse`, `make_facebinder`, `make_fillet`, `make_label`,
`make_line`, `make_orthoarray`, `make_patharray`, `make_point`,
`make_pointarray`, `make_polararray`, `make_polygon`,
`make_rectangle`, `make_shape2dview`, `make_shapestring`,
`make_sketch`, `make_text`, `make_wire`, `make_wpproxy`.

These are added to the `draftmake` Doxygen group
so that the functions contained in each module are listed
appropriately in the automatically generated documentation.
2020-07-17 13:01:45 +02:00
vocx-fc
f4611f0a31 Draft: add modules of draftguitools to the proper Doxygen group
This includes `gui_annotationstyleeditor`, `gui_arcs`, `gui_array_simple`,
`gui_arrays`, `gui_base`, `gui_base_original`, `gui_beziers`,
`gui_circles`, `gui_circulararray`, `gui_clone`, `gui_circulararray`,
`gui_clone`, `gui_dimension_ops`, `gui_dimensions`, `gui_downgrade`,
`gui_draft2sketch`, `gui_drawing`, `gui_edit`, `gui_edit_arch_objects`,
`gui_edit_draft_objects`, `gui_edit_part_objects`, `gui_edit_sketcher_objects`,
`gui_ellipses`, `gui_facebinders`, `gui_fillets`, `gui_grid`,
`gui_groups`, `gui_heal`, `gui_join`, `gui_labels`, `gui_line_add_delete`,
`gui_lineops`, `gui_lines`, `gui_lineslope`, `gui_mirror`,
`gui_move`, `gui_offset`, `gui_orthoarray`, `gui_patharray`,
`gui_planeproxy`, `gui_pointarray`, `gui_points`, `gui_polararray`,
`gui_polygons`, `gui_rectangles`, `gui_rotate`, `gui_scale`,
`gui_selectplane`, `gui_shape2dview`, `gui_shapestrings`, `gui_snapper`,
`gui_snaps`, `gui_splines`, `gui_split`, `gui_stretch`, `gui_styles`,
`gui_subeleemnts`, `gui_texts`, `gui_togglemodes`, `gui_tools_utils`,
`gui_trackers`, `gui_trimex`, `gui_upgrade`, `gui_wire2spline`.

These are added to the `draftguitools` Doxygen group
so that the functions and classes contained in each module
are listed appropriately in the automatically generated
documentation.
2020-07-17 13:01:45 +02:00
vocx-fc
44f09d6777 Draft: add modules of draftgeoutils to the proper Doxygen group
This includes `arcs`, `circle_inversion`, `circles`, `circles_apollonius`,
`circles_incomplete`, `cuboids`, `edges`, `faces`, `fillets`,
`general`, `geometry`, `intersections`, `linear_geometry`,
`offsets`, `sort_edges`, `wires`.

These are added to the `draftgeoutils` Doxygen group so that
the functions contained in each module are listed appropriately
in the automatically generated documentation.
2020-07-17 13:01:45 +02:00
vocx-fc
1d48e9fb47 Draft: add modules of draftfunctions to the proper Doxygen group
This includes `array`, `cut`, `downgrade`, `draftiffy`, `extrude`,
`fuse`, `heal`, `join`, `mirror`, `move`, `offset`, `rotate`,
`scale`, `split` and `upgrade`.

These are added to the `draftfunction` Doxygen group
so that the functions contained in each module are listed
appropriately in the automatically generated documentation.
2020-07-17 13:01:45 +02:00
vocx-fc
9591135cbf Draft: remove documentation in Draft.py
The Doxygen documentation paragraphs in `Draft.py` are no longer necessary,
as this information is already added to the `draft.dox` file
which can be used to consolidate the general documentation of the workbench.
2020-07-17 13:01:45 +02:00
vocx-fc
ee2977938d Draft: add Doxygen information to draft.dox
More information is added to the main `draft.dox` Doxygen file
so that this information appears when creating
the HTML documentation.
2020-07-17 13:01:45 +02:00
vocx-fc
1c65c7dc92 Draft: add Doxygen strings to the packages' __init__ files
The packages are `draftfunctions`, `draftgeoutils`, `draftguitools`,
`draftmake`, `draftobjects`, `drafttaskpanels`, `drafttests`,
`draftutils`, `draftviewproviders`.
2020-07-17 13:01:45 +02:00
wandererfan
0e9fd6c6b1 [TD]multiple faces in GeomHatch 2020-07-16 08:14:16 -04:00
paul lee
be46c0e25d [ArchWall] Fix #0004400 - Archwall creation from certain wire fails.
Forum Discussion - https://forum.freecadweb.org/viewtopic.php?f=23&t=47505
2020-07-16 13:53:11 +02:00
Bernd Hahnebach
4c94a53458 FEM: elmer tasks, add TODO comments 2020-07-16 00:09:35 +02:00
Bernd Hahnebach
a936aa8744 FEM: elmer solver, improve binary handling on Linux 2020-07-16 00:09:28 +02:00
Bernd Hahnebach
46164a2b2b FEM: elmer equations, delete wrong tool tips 2020-07-16 00:09:19 +02:00
Bernd Hahnebach
eaad0c1310 FEM: examples selfweight, comments 2020-07-16 00:09:11 +02:00
wmayer
79e8562f9b Gui: [skip ci] avoid to write several time stamps to a single line 2020-07-15 12:49:20 +02:00
wmayer
03fa5cf92b Netgen: [skip ci] force C++17 if netgen >= 6.2 is used 2020-07-15 10:50:16 +02:00
Bernd Hahnebach
b5dc95359d FEM: constraint transform task panel, fix warning message 2020-07-15 09:21:53 +02:00
Bernd Hahnebach
7da0ff6490 FEM: elmer solver, code formating 2020-07-15 08:57:51 +02:00
Bernd Hahnebach
d1701285f6 FEM: elmer equations, code formatting 2020-07-14 22:55:33 +02:00
Bernd Hahnebach
5f766aa8cd FEM: examples self weight, add comment 2020-07-14 20:58:01 +02:00
Sudhanshu Dubey
7e943a80ae FEM: unit tests, add calculix test for ccx_cantilever_selfweight example 2020-07-14 20:46:53 +02:00