Commit Graph

40 Commits

Author SHA1 Message Date
Chris Hennes
516595fbce Merge pull request #18594 from Flast/performance/base/find_element
Base: Improved FindElement performance by reducing call of transcode
2025-02-10 14:33:49 -06:00
tritao
e94d1cf872 Base: Remove Boost-based filesystem and switch to standard <filesystem> 2025-02-10 10:48:54 -06:00
Kohei Takahashi
f032b44f44 Base: Added helper macro for caching transcode-ed string literal 2024-12-26 17:16:45 +09:00
wmayer
4e82a0af48 App: Apply clang format (part 1) 2024-11-21 07:54:24 +01:00
huguesdpdn-aerospace
3795904a00 PD: Xerces-C++ - Prepare for the latest version (backward compatible) 2024-09-08 20:31:25 -05:00
wmayer
ee0fad4c90 App: modernize C++: use default member init 2023-08-23 19:51:44 +02:00
Paddle
a0438de381 Add 'type' to MetaData 2023-08-07 10:52:08 -06:00
Uwe
2690118711 [App] sort includes in PreCompiled.h
- also remove a superfluous private: statement
- also remove an unnecessary include
2023-02-18 14:53:11 +01:00
marioalexis
d8d3bb8120 App: Fix warnings -Wignored-qualifiers 2023-02-11 14:16:46 -08:00
Chris Hennes
b75c7c8388 App: Add basic test for new Metadata code 2023-02-10 12:40:55 -07:00
Chris Hennes
6db8887983 App: Cleanup Metadata 2023-02-10 12:40:55 -07:00
Chris Hennes
65513b48d0 App: Add support for in-memory Metadata creation 2023-02-10 12:40:55 -07:00
luz paz
7637d58df0 Add missing brackets + change indentation to spaces 2022-12-12 11:38:06 +01:00
luz paz
80efe8191e Cleanup: move return statement to new line + trailing
Follow-up to #6497
2022-12-12 11:38:06 +01:00
Uwe
9869a2c3d7 [Build] output point release version
- to Splashscreen, About, MainWindow and Console
2022-12-05 00:26:43 +01:00
Chris Hennes
b5e29c20dc App: Reformat Metadata per clang-tidy 2022-09-26 11:04:42 -05:00
Chris Hennes
1d11c5805a App: Add support for <pythonmin> XML tag in metadata 2022-09-26 11:04:42 -05:00
wmayer
414ff3fb35 App: [skip ci] improve whitespaces 2022-09-24 17:02:23 +02:00
Uwe
3eb9207639 [App] silence some CI whitespace warnings 2022-09-24 04:59:38 +02:00
Chris Hennes
cc17bd4335 App: Add support for 'discussion' URL attribute 2022-09-22 10:53:59 -05:00
Chris Hennes
4f51123626 App: Add support for <date> metadata element 2022-09-22 10:27:47 -05:00
Chris Hennes
49e37dd611 Core: Add missing xml namespace property to metadata output 2022-09-21 08:44:38 -05:00
Chris Hennes
139b99d371 Addon Manager: Cleanup 2022-09-09 13:00:11 -05:00
Chris Hennes
cb1f6bffa8 Addon Manager: DevMode content implementation 2022-09-09 13:00:10 -05:00
berniev
65a356835b App: Modernise ctors dtors defs etc 2022-08-01 00:34:46 +02:00
wmayer
9b165e6fca App: fixes #7112: Addon manager does not work on windows with special characters in the username 2022-07-29 12:43:05 +02:00
wmayer
c2667384bd Replace std::ignore with boost::ignore_unused()
According to https://isocpp.org/blog/2016/09/quick-q-stdignore-for-ignoring-unused-variable std::ignore is not supposed to be used for this
2022-07-15 13:15:47 +02:00
Uwe
063fd56f5f [App] remove unnecessary Boolean comparisons 2022-06-19 15:18:34 +02:00
Chris Hennes
1d74892f34 App: Fix missing ignored variable 2022-03-21 09:40:28 -05:00
Chris Hennes
9fe1bdb092 App: Add Metadata content type test 2022-03-21 09:24:51 -05:00
wmayer
32e9984751 App: [skip ci] lgtm: Large object passed by value
This parameter of type pair<const basic_string<char, char_traits<char>, allocator<char>>, Metadata> is 672 bytes - consider passing a const pointer/reference instead.
2022-03-20 16:42:48 +01:00
wmayer
a93cec09bc App: [skip ci] fix warning 2022-03-20 13:41:45 +01:00
Chris Hennes
2fc9c93235 App: Improve Metadata error handling
Report XML parse exception details.
2022-03-13 21:01:47 -05:00
wmayer
2dc78804b6 Core: Fix several coverity issues:
* CID 350582: Big parameter passed by value
* CID 350639: Big parameter passed by value
* CID 305234: Uncaught exception
* CID 316529: Uncaught exception
* CID 350597: Uncaught exception
* CID 350623: Uncaught exception
* CID 332690: Uncaught exception
* CID 332700: Unchecked return value
* CID 350576: Uninitialized scalar field
* CID 350587: Uninitialized scalar variable
* CID 192606: Uninitialized scalar field
* CID 332699: Uninitialized pointer field
* CID 350561: Dereference null return value
* CID 350610: Dereference null return value
* CID 350567: Dereference after null check
2022-03-13 13:53:32 +01:00
wmayer
ae94c8489c App: [skip ci] fix bug in Metadata::supportsCurrentFreeCAD()
clang prints the warning: operator '?:' has lower precedence than '<<'; '<<' will be evaluated first [-Wparentheses]
2022-03-09 22:05:14 +01:00
Chris Hennes
f122061424 Core: Support disabling Addon by FreeCAD version
If package.xml metadata file exists, it is scanned for FreeCAD version
compatibility before the Addon is loaded. If the Addon specifies that it is
explicitly not compatible with the current version of FreeCAD, the Addon is
not loaded.
2022-03-08 23:19:04 -06:00
Uwe
178e082271 [App] Object, Meta, Merge: remove unused includes 2022-02-28 01:02:06 +01:00
Chris Hennes
7a566ea4d8 Gui: Add interface for managing preference packs 2022-02-17 19:51:24 -06:00
Chris Hennes
1844a0161e Core: Modify metadata Python handling to use dict
Rather than trying to use a generic Py::Object and assigning properties
to it, use a Py::Dict object for simple data structures like Url,
Maintainer, and Author.

Update metadata standard to include subdirectory
2021-12-18 20:29:42 -06:00
Chris Hennes
30fd2ce5b8 [App] Add metadata handling class 2021-05-13 09:08:28 -05:00