Commit Graph

24 Commits

Author SHA1 Message Date
wmayer
08b10cd287 fix cppcoreguidelines-*
* cppcoreguidelines-init-variables
* cppcoreguidelines-c-copy-assignment-signature
* cppcoreguidelines-macro-usage
* cppcoreguidelines-non-private-member-variables-in-classes
* cppcoreguidelines-pro-type-member-init
* cppcoreguidelines-slicing
* cppcoreguidelines-special-member-functions
* cppcoreguidelines-virtual-class-destructor
2023-11-16 01:22:09 +01:00
wmayer
7c00932fa0 fix readability-isolate-declarations 2023-11-16 01:22:08 +01:00
wmayer
f539138dd9 fix readability-*:
* readability-const-return-type
* readability-container-data-pointer
* readability-container-size-empty
* readability-delete-null-pointer
* readability-else-after-return
* readability-inconsistent-declaration-parameter-name
* readability-redundant-member-init
* readability-redundant-smartptr-get
* readability-redundant-string-cstr
* readability-use-anyofallof
* readability-static-definition-in-anonymous-namespace
* readability-static-accessed-through-instance
* readability-simplify-boolean-expr
2023-11-16 01:22:08 +01:00
wmayer
73a1e90e45 fix readability-identifier-length 2023-11-16 01:22:08 +01:00
wmayer
e85c383bff Base: apply clang format 2023-11-13 12:01:26 -05:00
Chris Hennes
3fe026f3c9 Remove various sys.version_info >= 3 checks 2022-11-09 14:08:54 +01:00
wmayer
34432c09f7 Base: fix build failure because number_long() has been removed in PyCXX 2022-08-02 12:41:04 +02:00
berniev
8aff4a7503 Base: Modernise ctors dtors defs etc 2022-08-02 12:37:46 +02:00
berniev
4043d049bc remove redundant void from Base 2022-07-31 14:10:34 +02:00
wmayer
e0e523e626 Base: fix possible Python type mismatch for Base::Vector2dPy
when using FreeCAD as a pure Python module.

See forum topic: https://forum.freecadweb.org/viewtopic.php?f=10&t=67617
2022-03-31 15:08:48 +02:00
Chris Hennes
3b42d4afac Base: PR6497 move return statement to new line 2022-03-29 12:34:34 -05:00
wmayer
e4435cdcba Base/App: fix warnings from code analysers:
* convert old-style-casts to explicit C++ casts where possible
* make some implicit conversions explicit
2022-03-06 23:49:30 +01:00
Uwe
6afab502ca [Base] Geometry etc.: remove unused includes 2022-03-01 13:56:02 +01:00
wmayer
03dd79c155 Base: add methods to Vector2dPy 2021-11-14 20:05:22 +01:00
wmayer
3c1ea5883c Base: implement number protocol for Vector2dPy 2021-11-14 19:25:29 +01:00
wmayer
50523fe951 Base: add factory method to Vector2dPy 2021-11-14 18:18:38 +01:00
wmayer
e0db5b62be workaround in PyCXX classes due to removed support of old-style classes 2019-06-25 18:15:10 +02:00
wmayer
95768acf65 declare some PyCXX functions for export, add PyCXX wrapper for Vector2dPy class 2016-11-24 15:25:48 +01:00
wmayer
03ab1a4a4d fix build problems on Linux/OSX 2016-11-22 16:16:48 +01:00
wmayer
9bdad96a69 add Python wrappers for Geom2d classes 2016-11-22 14:09:19 +01:00
wmayer
14594dde32 add simple Python wrapper for Vector2d class 2016-11-21 22:01:34 +01:00
wmayer
732eb7fee3 support any sequence type in init method of Vector class 2016-07-27 09:23:20 +02:00
wmayer
3b5cdda879 + fix flaws found with code analyzer tool 2014-05-07 13:09:44 +02:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00