Commit Graph

62 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
25c3ba7338 All: Reformat according to new standard 2025-11-11 13:49:01 +01:00
PhoneDroid
78447d9800 Updated SPDX License Identifiers 2025-10-08 19:10:28 -05:00
Markus Reitböck
550786e6b0 Cloud: 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-24 20:08:54 +02:00
Markus Reitböck
c3805ecf4a fix duplicate include guards in precompiled headers 2025-09-23 00:51:00 +02:00
bofdahof
998f4e4d45 Console: rename PascalCase named methods to camelCase 2025-05-06 17:50:21 +02:00
Benjamin Nauck
1dc1cc8d1b Cloud: Add #include <limits> where used 2025-03-31 23:50:57 +02:00
Andrea
85179089b1 [mod] clean
code clean
2025-03-31 11:01:39 -05:00
tritao
6c2c6847eb CMake: Cleanup targets with transitive dependencies 2025-03-17 12:12:06 +00:00
Andrea
cd5c46ba18 Remove unnecessary check (duplicated)
before including the library, it is uselessly checked if the variable __QtAll__ and __InventorAll__ have been defined. The same check is performed again once the library is included
2025-03-10 21:53:00 +01:00
Benjamin Bræstrup Sayoc
755229df23 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
cc6ffb44de Core: Move PyCXX library to src/3rdParty. 2025-02-24 16:36:06 +00:00
Joao Matos
27ebc68a11 CMake: Modernize build files using outdated Python variables. 2025-02-16 10:21:26 -06:00
tritao
9636068460 Base: Move zipios library to 3rdParty folder. 2025-02-14 13:08:28 -06:00
wmayer
b346720ab2 Cloud: fixes #12888: Build on Linux fails because of Cloud component 2024-03-13 12:45:46 +01:00
Ladislav Michl
de1305413e Base: Move currentDateTimeString out of TimeInfo
currentDateTimeString does not have anything in common
with TimeInfo class, move it into Tools.
2024-03-05 12:22:40 +01:00
pre-commit-ci[bot]
222a2520b1 [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
wmayer
8b7c75f226 Cloud: Apply clang format 2023-09-10 11:10:12 +02:00
luzpaz
129d5882a7 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
wmayer
1a0801a23f Qt6: port template and Cloud module to Qt6 2023-03-06 12:25:55 +01:00
wmayer
97330443a2 All: modernize C++11
* replace deprecated headers
2022-03-23 22:44:18 +01:00
wmayer
fb4e8e871b Cloud: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
d7aac0ed60 Mod: [skip ci] add needed headers to fix build failure 2022-03-21 12:04:04 +01:00
Uwe
d6a9a941ac [Cloud] remove some includes and sorting 2022-03-21 00:13:22 +01:00
wmayer
0054cbddaa Fix coverity issue:
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01:00
Uwe
bda12907de [Gui] rename the Qt header list 2022-03-07 20:35:38 +01:00
Uwe
0ead5a793b fix more typos to silence the spellchecker CI 2022-02-21 13:20:06 +01:00
marioalexis
30cb87a8c5 Cloud: Call PyMem_Free() to free allocated buffer 2022-02-09 16:03:57 +01:00
vejmarie
f5710fb5cf Fix MacOS build with boost 1.73 and updated Homebrew packages 2020-09-19 19:35:39 +02:00
Jean-Marie Verdun
4851947bc0 Remove unnecessary pre-processor directive
Signed-off-by: Jean-Marie Verdun <jmverdun3@gmail.com>
2020-07-23 13:47:21 +02:00
Jean-Marie Verdun
0b1af7c838 Add App::Link support to Cloud module
ONLY enabled if the Cloud Module is compiled into FreeCAD
    ALL files must be saved into a Cloud Based storage
    Add a Signal to the PropertyLink to enable support of external storage
    Put the Assembly Document as active document

Signed-off-by: Jean-Marie Verdun <jmverdun3@gmail.com>
2020-07-23 13:47:21 +02:00
wmayer
87c0365add Cloud: [skip ci] add missing closing curly brace 2020-06-18 12:33:27 +02:00
Jean-Marie Verdun
575df24435 Retab 2020-06-17 13:05:01 +02:00
Jean-Marie Verdun
b393cf67df Add Amazon v4 API support as to take into consideration
the end of life of SHA1 signing from OpenSSL which is used by v2 API
2020-06-17 13:05:01 +02:00
Jean-Marie Verdun
94bfa8af9c Introduce ComputeDigestAmzS3v4 and BuildHeaderAmzS3v4
into the Cloud code (WIP)
2020-06-17 13:05:01 +02:00
Jean-Marie Verdun
cf230c930c Add SHA256 sum function 2020-06-17 13:05:01 +02:00
Jean-Marie Verdun
1883bf560f Add Amazon protocol version as a parameter
as to smooth the transition from SHA-1 to SHA-256 signing
2020-06-17 13:05:01 +02:00
Jean-Marie Verdun
f692494ada Use "simpler" naming convention per user request 2020-04-13 11:39:14 +02:00
wmayer
815db40a9c Cloud: [skip ci] fix linking issues on macOS 2020-04-07 15:52:29 +02:00
wmayer
60ac500048 Cloud: [skip ci] restore old CMake variable to link to OpenSSL to fix build failure on Linux and Windows 2020-04-06 17:58:08 +02:00
wmayer
7a06067150 Cloud: fix broken CMake file 2020-04-06 17:07:09 +02:00
Jean-Marie Verdun
5e84d3238b Fix MacOS build with Catalina and latest homebrew
Add support for self signed certificate in the case the end user wants
to use minio or any other self hosted s3 storage
2020-04-06 12:57:44 +02:00
wmayer
261c4a6890 Cloud: fix build failure under Linux caused by 287050be41 2020-03-16 15:22:26 +01:00
MA-LAPTOP\apeltauer
287050be41 merge cloud wb modfications 2020-03-16 12:24:40 +01:00
wmayer
f4dcd0a5f9 Cloud: [skip ci] add build option to compile Cloud module 2020-02-20 22:10:17 +01:00
Jean-Marie Verdun
223d41c676 Fix Apple build 2019-11-01 17:48:14 -03:00
Jean-Marie Verdun
1aeea67f42 Introduce support of multiple entries bucket directory list
Needed for FreeCAD files which generate thousands of BRep files
(most of the time assemblies or STEP)
2019-11-01 17:46:29 -03:00
Jean-Marie Verdun
820ad876cb Fix bad object allocation which was creating a crash on linux and strangly was working on MacOS 2019-10-22 17:08:36 +02:00
luz.paz
1c981e8f14 Fix typos and misc. formatting [skip ci]
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,currenty,dof,doubleclick,dum,eiter,elemente,feld,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml`
2019-10-21 16:02:23 -03:00
wmayer
ccb5787ed5 move OpenSSL and curl checks from Mod directory to Cloud module 2019-10-20 16:08:13 +02:00
Jean-Marie Verdun
f911796046 Fix auth base64 computation when HMAC return string contains \0 character 2019-10-18 10:16:35 +02:00