wmayer
bd88162b9d
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
985def3416
Base: apply clang format
2023-11-13 12:01:26 -05:00
wmayer
59760c723f
Base: modernize C++: return braced init list
2023-08-18 00:36:24 +02:00
wmayer
98a4b1d399
Base: add helper function to quote a string and join a list of strings
2023-05-15 23:40:07 +02:00
wmayer
4e42ff7baa
Base: modernize C++: replace 'typedef' with 'using'
2022-08-29 11:42:09 +02:00
berniev
15419982d4
Base: Modernise ctors dtors defs etc
2022-08-02 12:37:46 +02:00
wmayer
040b67634e
Base: [skip ci] Optimize includes to reduce compile time
2022-03-07 16:49:01 +01:00
wmayer
4a343ab31e
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
wmayer
a40d37a980
Base: split export/import macros from FCConfig.h and move them to FCGlobal.h
...
The FCGlobal.h can be included in a Global.h header file of an extension module.
The reason is that some IDEs (e.g. QtCreator) fails to detect the export/import macros when only defined in the PreCompiled.h files and thus raise a parser warning.
2021-09-14 16:40:30 +02:00
Chris Hennes
5592548e2e
[Base] Remove deprecated Qt < 5.9 code
2021-04-01 19:28:43 +02:00
Mateusz Skowroński
98f63ba60f
Fix build warnings from deprecated Boost headers (they are used internally by Boost). Thanks @wwmayer for the hint.
2020-12-29 10:20:53 +01:00
luz paz
01b21e0d06
Base: Fix header uniformity, whitespace, and doxygen
...
[skip ci]
2020-11-22 18:12:16 +01:00
luz.paz
ae72e2c762
Trivial code formatting for some {.cpp,.h} files
2020-04-06 12:55:27 +02:00
wmayer
9e5f602acd
add function to escape special characters in strings
2019-10-03 01:43:08 +02:00
wmayer
504590902d
add function to escape special characters in file names
2019-09-28 19:32:34 +02:00
Zheng, Lei
2d9ca92594
Base: misc patches
...
Convenience macros/function (in Interpreter.h)
* FC_PY_GetObject/Callable(), look for callables in a python object,
which will be used in future patch to improve performance in various
python observer/features.
* pyCall(WithKeywords)(), helper function to invoke the callable
Matrix4D:
* hasScale(), check if there is any scale in the transformation. If so,
further check if the scale is uniform or not. This will be used in
future patch for Part::TopoShape to decide which type of transform to
apply.
Placement:
* translate/rotate(), new convenience API
Rotation:
* isSame/multiVec(), new convenience API
Polygon2d:
* Intersect(), GetCenter(), new convenience API.
FlagToggler:
* New class for exception safe flag toggling, similar to StateLocker
but with template (actually, FlagToggler is added earlier by me).
BitsetLocker:
* New class for exception manipulation of a std::bitset variable.
2019-08-17 14:52:08 +02:00
wmayer
66b889044b
fixes 0003689: Snap to grid checkbox in edit control widget does not update
2018-11-14 12:40:39 +01:00
wmayer
36271b4052
move from deprecated boost.signals to boost.signals2 library
2018-10-30 19:09:03 +01:00
wmayer
4520aeb5ea
fix -Wunused-private-field
2018-10-28 18:58:38 +01:00
wmayer
ec15e76006
fix ObjectStatusLocker and StateLocker to support nested calls
2018-10-07 22:04:27 +02:00
wmayer
2a36f5c944
fix infinite recursion in case of non-DAG documents
2018-08-06 18:52:48 +02:00
wmayer
495c048ece
add helper class to tmp. block a boost signal/slot connection
2017-12-21 22:22:33 +01:00
wmayer
a519a34299
remove export macro from template class
2017-11-30 17:37:51 +01:00
Eivind Kvedalen
8b4adfa513
Moved ObjectStatusLocker template class to Base/Tools.h
2017-11-30 16:28:41 +01:00
wmayer
66dffafe88
implement method to convert escaped unicode to utf-8 encoded string
2016-07-24 16:14:40 +02:00
wmayer
8c239cd39b
+ add restart method to timer
2015-12-07 17:31:05 +01:00
Eivind Kvedalen
ffa304e4f9
Base: Added toStdString and fromStdString, to convert std::string to/from QString,
...
assuming std::string is utf-8 encoded.
2015-09-21 14:51:00 +02:00
Sebastian Hoogen
01cf0f5872
issue #1027 use unicode filepaths
2014-10-11 13:32:06 +02:00
wmayer
0035d9fc76
Add utility functions to convert between string/wstring
2013-04-26 17:07:18 +02:00
logari81
e1326a9760
+ simplify arc and circle trimming implementation in the Sketcher
...
+ fix a memory leak in freegcs
+ small improvements and typo fixes in freegcs
+ homogenize coding style, strip trailing spaces
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5044 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-21 09:45:19 +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