wmayer
39337ea12e
fix bugprone-*
...
* bugprone-throw-keyword-missing
* bugprone-unhandled-self-assignment
* bugprone-suspicious-string-compare
* bugprone-reserved-identifier
* bugprone-narrowing-conversions
* bugprone-macro-parentheses
* bugprone-implicit-widening-of-multiplication-result
* bugprone-exception-escape
* bugprone-copy-constructor-init
2023-11-16 01:22:09 +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
e85c383bff
Base: apply clang format
2023-11-13 12:01:26 -05:00
wmayer
4fb07bcfd6
Base: modernize C++: use default member init
2023-08-23 19:51:44 +02:00
wmayer
2bc90e6090
Base: modernize C++: return braced init list
2023-08-18 00:36:24 +02:00
berniev
8aff4a7503
Base: Modernise ctors dtors defs etc
2022-08-02 12:37:46 +02:00
wmayer
31047be9fb
Base: improve initialization according to cpp core guidelines
2022-06-04 13:17:27 +02:00
wmayer
60ee579fb4
Base: fix warnings reported by code analysers
...
* disable copy-constructor and assignment operator for Stream classes
* remove destructor of sub-classes of SequencerBase
* fix some old C-style cast warnings
2022-03-01 12:20:27 +01:00
Uwe
f20840442f
[Base] Quantity, Rotation, Stream: remove unused includes
2022-03-01 11:27:54 +01:00
wmayer
af16ab02a0
Base: remove some more deprecated Py2 code
...
and remove deprecated void from function signature and replace 0 or NULL with nullptr
2021-04-26 10:29:48 +02:00
luz paz
142c2c2c4d
Base: remove Py2 code
2021-04-26 09:23:58 +02:00
wmayer
410e65ce2f
Coverity: Suppress false-positives
2020-07-20 17:34:28 +02:00
wmayer
2b5ef38a86
Base: fix build failure for Py2
2020-06-30 10:27:53 +02:00
wmayer
864555bc93
Base: let PyStreambuf figure out if String or Bytes object must be written to file
2020-06-29 18:04:32 +02:00
wmayer
1fcfbcf1ab
+ move implementation of Base::ifstream and Base::ofstream to header and remove export macro.
...
This is needed for VS 2013 to avoid that it exports methods of the base class and thus causing linker errors for modules that link FreeCADBase
2018-07-25 17:50:30 +02:00
wmayer
f408f3180b
fix -Wextra in FreeCADBase
2016-09-21 15:02:02 +02:00
wmayer
e487633bc6
+ support of seek operation on PyStreambuf
2016-06-14 13:59:02 +02:00
wmayer
dea884ab6a
+ enable buffered writing in PyStreambuf
2016-06-13 19:22:15 +02:00
wmayer
c3318a3fff
+ prepare PyStreambuf for buffered writing
2016-06-12 18:20:31 +02:00
wmayer
0d4be03f4b
+ optimize PyStreambuf::underflow() and fix failure for large files/buffers
2016-06-12 14:50:02 +02:00
wmayer
051a9fce73
+ fix bug in PyStreambuf when reading binary data
2016-06-11 15:38:51 +02:00
wmayer
432dcb5833
+ extend PyStreambuf to write data
2016-06-11 11:54:01 +02:00
wmayer
3b5cdda879
+ fix flaws found with code analyzer tool
2014-05-07 13:09:44 +02:00
wmayer
a75fb03407
0000572: add a method to Part module to read BRep data from string
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5410 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-16 20:23:26 +00: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