Commit Graph

29 Commits

Author SHA1 Message Date
ᴩʜᴏɴᴇᴅʀᴏɪᴅ
f620d68c19 Removed outdated UTF8 declaration [ Other ] (#24528)
* Removed outdated UTF8 declaration

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-13 18:34:43 +02:00
Markus Reitböck
65d4088c9e cleanup remaining implementations of precompiled headers 2025-09-24 20:08:57 +02:00
Markus Reitböck
c003f7915b fix duplicate include guards in precompiled headers 2025-09-23 00:51:00 +02:00
Markus Reitböck
496b31b087 do not use precompiled header for setting global compiler definitions and to disable compiler warnings
only 4 of these warnings are still relevant, CMake shall be used to disable them

Compiler definitions:

  NOMINMAX:
    * is already globally defined in SetGlobalCompilerAndLinkerSettings.cmake

  WIN32_LEAN_AND_MEAN:
    * use CMake target_compile_options on relevant targets

Warnings that still occur:

  C4251, C4273, C4275: all related to dllimport / export
    * use CMake target_compile_options on relevant targets

  C4661: no suitable definition provied for explicit template instantiation request
    * triggered in Mesh because of Vector3D in Base - not all functions are defined in header
    * use CMake target_compile_options on relevant targets

Warnings that are Currently not triggered (fix code if they appear again):

  C4005: macro redefinition

  C4244: argument conversion, possible loss of data

  C4267: conversion from size_t to type, possible loss of data

  C4305: truncation from type1 to type2
    * only occurrence disabled in Reader.cpp

  C4522: multiple assignment operator specified

  C5208: unnamed class in typedef name

Obsolete Compiler warnings:

  C4181: not mentioned in Microsoft docs anymore

  C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
    * throw(optional_type_list)  deprecated in C++17

  C4482: nonstandard extension used: enum 'enumeration' used in qualified name
    * not generated for compilers that support C++11

  C4503: 'identifier': decorated name length exceeded, name was truncated
    * obsolete since Visual Studio 2017

  C4786: not mentioned in Microsoft docs anymore
2025-09-11 20:21:04 -05:00
Benjamin Bræstrup Sayoc
ee1c73cd04 Build: suppress warnings from 3rd party libraries
Warnings from 3rd parties are not relevant and are only polluting the warning output. Marking these libraries as SYSTEM suppresses warning.

https://gcc.gnu.org/onlinedocs/cpp/Invocation.html#index-I
https://gcc.gnu.org/onlinedocs/cpp/System-Headers.html
2025-02-25 14:39:05 +00:00
Joao Matos
15076cb504 Core: Move PyCXX library to src/3rdParty. 2025-02-24 16:36:06 +00:00
Joao Matos
aace8f7bee CMake: Modernize build files using outdated Python variables. 2025-02-16 10:21:26 -06:00
Chris Hennes
43849667b2 Remove WebKit SVG renderer. 2024-04-21 22:27:50 -05:00
Chris Hennes
0f6ef9571f Precommit: formatting fixes after Black update 2024-04-04 23:24:37 -05:00
pre-commit-ci[bot]
e92ed45df9 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-09-12 13:02:35 -04:00
Chris Hennes
d9a6a2b51d Tools: Reformat to current clang-format standard 2023-09-03 09:51:22 -05:00
luzpaz
38a01939e0 Migrate domain name from freecadweb to freecad (#9352)
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files

Closes #6415
2023-04-24 15:19:20 -05:00
Chris Hennes
99cd277a93 Tools: Apply pre-commit autoformatting 2023-04-22 13:07:06 -05:00
luzpaz
01e8bbc2bf Fix various typos and whitespace 2023-03-10 14:40:46 +01:00
luzpaz
fa3841774e Fix various trailing whitespace issues and typos 2023-02-19 10:59:14 -06:00
mosfet80
90fabf4dd4 Delete src/Tools/embedded/wxWidgets directory
Remove unused library
2023-01-23 21:59:46 -07:00
wmayer
859a9ce75c Tools: lgtm: removes unused imports in Python scripts 2022-03-20 21:41:30 +01:00
Uwe
3b395ed856 [skip CI] fix inconsistent line endings in 2 files
was reported by MSVC
2022-03-12 20:12:19 +01:00
Uwe
4dab2eeca3 [skip CI] [Tools] wxWidgets: fix inconsistent line endings 2022-03-12 19:42:07 +01:00
wmayer
b067a13a91 Tools: port example of embedding to Py3 2021-09-19 18:01:24 +02:00
wmayer
8e7d521db7 PySide: [skip ci] add minimal example of embedding 2020-05-20 13:23:18 +02:00
wmayer
288aac462d [skip ci] Port glib embedding example to Py3 and Gtk3 2020-05-20 12:47:17 +02:00
wmayer
f6e61ab410 [skip ci] part Qt embedding test application to Py3 and implement workaround for Qt5 2020-04-30 21:03:53 +02:00
luz.paz
7af7c10cf1 Fix misc. typos, whitespace, and http:// to https:// issues 2019-09-03 11:11:43 -03:00
wmayer
c8dc989a51 remove some more boost.signals leftover 2018-11-07 11:42:44 +01:00
wmayer
2d2aaac130 example using C++ API of FreeCAD in external application 2018-08-09 22:12:18 +02:00
wmayer
5427fad693 + Add Python example of embedding FreeCAD 2015-11-20 22:35:26 +01:00
Yorik van Havre
4005b199e0 0001102: Updated all links to old freecad homepage and wiki to the new ones 2013-09-15 17:04:42 -03: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