PhoneDroid
2a56489feb
[ Base ]: Updated SPDX
2025-10-14 10:00:04 -05:00
Markus Reitböck
f0eca551b3
Base: use CMake to generate precompiled headers on all platforms
...
"Professional CMake" book suggest the following:
"Targets should build successfully with or without compiler support for precompiled headers. It
should be considered an optimization, not a requirement. In particular, do not explicitly include a
precompile header (e.g. stdafx.h) in the source code, let CMake force-include an automatically
generated precompile header on the compiler command line instead. This is more portable across
the major compilers and is likely to be easier to maintain. It will also avoid warnings being
generated from certain code checking tools like iwyu (include what you use)."
Therefore, removed the "#include <PreCompiled.h>" from sources, also
there is no need for the "#ifdef _PreComp_" anymore
2025-09-14 09:47:01 +02:00
Ladislav Michl
47c1565edf
Base: remove explicit namespace-name qualifier from *PyImp.cpp
...
Explicit Base namespace-name is used randomly across PyImp sources.
Remove it.
2025-04-27 00:05:32 +02:00
Ladislav Michl
24d55dc616
Base: cleanup includes in *PyImp.cpp
...
Sort includes and implicitely add missing ones. While there
consistently explain where generated files some from.
2025-04-27 00:05:32 +02:00
Jacob Oursland
5b81cd741a
python: apply const method annotations to impls.
2025-04-16 20:32:04 -07:00
Benjamin Nauck
27222321c6
Base: Use constant for Type::BadType instead Type::badType()
2025-02-24 08:30:18 +01:00
Benjamin Nauck
a9828d6fea
Base: Use isBad() instead of comparing types with ==
2025-02-24 08:30:18 +01:00
Benjamin Bræstrup Sayoc
dda05369c4
Base: remove unneeded includes
2025-02-18 11:07:57 -06: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
wmayer
010dca8303
Base: C++ core guidelines: init variables
2023-08-24 18:48:52 +02:00
wmayer
2bc90e6090
Base: modernize C++: return braced init list
2023-08-18 00:36:24 +02:00
wmayer
367cdb36ed
Base: modernize C++: use range-based for loop
2023-08-14 14:09:29 +02:00
wmayer
313525a012
Core: [skip ci] ignore some code spell checks and filter all '_rc_.py' files
2022-12-05 10:12:49 +01:00
berniev
4043d049bc
remove redundant void from Base
2022-07-31 14:10:34 +02:00
wmayer
201f4c9a5a
Core: replace PyObject_IsTrue with Base::asBoolean
2022-07-16 14:04:05 +02:00
marioalexis
de59bce3b3
Base: Add 'getTypeIfDerivedFrom' member function to Type class
2022-01-19 08:14:41 +01:00
wmayer
56d86df5bb
Base: fix memory leak when creating object with factory method
2021-12-11 14:26:40 +01:00
luz paz
d5f6c096b8
Base: Fix header uniformity, whitespace, and doxygen
...
[skip ci]
2020-11-22 18:12:16 +01:00
wmayer
0371a67dae
Base: [skip ci] expose Type::createInstance and Type::createInstanceByName to Python
2020-10-29 17:18:10 +01:00
wmayer
228f89638d
Python: change generation of callback functions for class or static methods
2019-12-19 17:55:12 +01:00
wmayer
d2032da93d
Enhabce TypePy:
...
add convenience method getAllDerived()
support TypePy asrgument in getAllDerivedFrom() and isDerivedFrom()
return TypePy instead of str in getAllDerivedFrom()
2019-11-13 10:41:04 +01:00
wmayer
d61bf15c42
declare getAllDerivedFrom as static method
2019-11-13 00:57:21 +01:00
wmayer
e1f85cd091
export typeid system to Python
2019-11-13 00:43:23 +01:00