Commit Graph

1559 Commits

Author SHA1 Message Date
marioalexis
209c78d43e App: Replace C cast 2022-09-18 11:06:51 -05:00
wmayer
1309b86ea5 App: move from float to double for accuracy parameter, add a virtual method to determine a default accuracy 2022-09-15 09:52:14 +02:00
wmayer
e76358caaf App: [skip ci] fix -Wsometimes-uninitialized 2022-09-12 14:20:41 +02:00
Chris Hennes
53a642db40 Addon Manager: Cleanup 2022-09-09 13:00:11 -05:00
Chris Hennes
9348486a1f Addon Manager: DevMode content implementation 2022-09-09 13:00:10 -05:00
wmayer
656890be38 App: modernize C++: replace 'typedef' with 'using' 2022-08-29 12:58:39 +02:00
wmayer
3cb3c099bb App: minor improvements:
* use 'using' instead of 'typedef' [modernize-use-using]
* fix bugprone-reserved-identifier
* fix whitespace/comma
2022-08-28 16:15:57 +02:00
wmayer
2fcecb643a App: replace some while loops with range-based for loops to increase readability 2022-08-28 15:42:57 +02:00
berniev
5fc5d3a996 App: use auto - strange iterator (PR #7405) 2022-08-28 15:29:52 +02:00
berniev
705a77673a App use explicit 2022-08-25 15:56:23 +02:00
wmayer
8328264690 App: [skip ci] whitespace improvements 2022-08-24 10:43:56 +02:00
wmayer
04222d7549 App: [skip ci] improve whitespaces 2022-08-24 07:37:41 +02:00
berniev
d2babf0eb5 App: Single arg ctors must be explicit 2022-08-24 07:20:57 +02:00
luz paz
7b10713d6f Fix typos and whitespace
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,anormal,apoints,ba,beginn,behaviour,bloaded,bottome,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childrens,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,inout,ist,itsel,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oce,oder,ontop,orgin,orginx,orginy,ot,pard,parm,parms,pres,programm,que,rady,recurrance,ro,rougly,seperator,serie,sinc,siz,strack,substraction,te,technic,thist,thru,tread,uint,unter,uptodate,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,./src/Base/StackWalker.cpp,./build/doc/SourceDocu`
2022-08-23 18:49:47 +02:00
wmayer
3f07755a8f Test: add test feature for unit tests 2022-08-22 15:46:40 +02:00
wmayer
9ce0b6f113 App: fix possible dangling pointer in Document::removeObject() 2022-08-22 11:15:14 +02:00
wmayer
b485f7943c Base: expose enum NumberFormat to Python 2022-08-15 11:12:53 +02:00
berniev
810c3780de App: Use override etc 2 2022-08-09 12:42:02 +02:00
wmayer
00bdd16dff Base: extend Placement/Rotation API
* Add Placement::isSame() and expose to Python
* Add Placement::multRight/Placement::multLeft
* Fix PlacementPy::rotate
* Add Rotation::multRight/Rotation::multLeft
* Add a test feature FeatureTestPlacement for uni tests
* Add unit tests
2022-08-09 11:54:05 +02:00
berniev
2fcd8c0a6d App: Redundant_string_initialization 2022-08-08 16:50:25 +02:00
wmayer
979fad404e App: [skip ci] improve whitespace 2022-08-08 10:11:22 +02:00
berniev
d9ac252982 App: redundant void 2 2022-08-08 09:45:36 +02:00
Uwe
e324532cd8 [App] [Spreadsheet] fix compilation errors
- introduced by #7318 and #7319
2022-08-06 19:59:06 +02:00
berniev
22dcf5866f App: use empty 2022-08-06 19:29:59 +02:00
berniev
ac81a8380f App: use emplace_back 2022-08-05 10:31:51 +02:00
wmayer
0b424620d6 App: changes in ComplexGeoData:
* rename some methods
* distinguish between Point and Vector
* support of arrays of Point or Vector
2022-08-03 16:18:14 +02:00
wmayer
a7172cd730 App: improve whitespaces 2022-08-01 01:29:47 +02:00
wmayer
1a457d0fb9 App: fix -Winconsistent-missing-override 2022-08-01 01:14:19 +02:00
berniev
b6cae3bfdf App: Modernise ctors dtors defs etc 2022-08-01 00:34:46 +02:00
Uwe
c2eee172eb [App] [skip CI] Document: some .clang style fixes
- for better readability
2022-07-31 17:14:43 +02:00
berniev
d6bd08248f App: Use https 2022-07-31 17:11:14 +02:00
berniev
85170b2879 remove redundant void 2022-07-31 10:27:44 +02:00
Uwe
8d41fdb1c4 [App] Application: add a comment
- also some style fixes by MSVC
2022-07-30 19:09:32 +02:00
Uwe
0fc5e7405e [App] Application: revert init sorting
- apparently the order of initialization matters.
2022-07-30 18:59:51 +02:00
Uwe
35e50597f4 [App] sort properties
- to quickly get an overview
2022-07-30 17:34:36 +02:00
wmayer
7628569b43 Base: add Precision class
and move the Python binding from Part to Base module
2022-07-30 17:10:56 +02:00
wmayer
fb49e0da89 App: fixes #7277: Write to network drive fails on Windows 2022-07-30 12:11:14 +02:00
wmayer
c5a0f64f19 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
f9bdc3aca7 App: use namespace prefix for classes in Base 2022-07-28 14:18:12 +02:00
marioalexis
c38a6759d9 Base: Clean up code and improve docstrings in Python Console module 2022-07-28 13:30:01 +02:00
andrea
513661772a Remove 2 deprecate PyCFunction 2022-07-28 01:50:15 +02:00
Chris Hennes
3ea737b31b Switch to Boost regex
In some circumstances Boost regex is substantially faster than std::regex, so we currently standardize on using Boost. This also fixes a compilation error on Windows, since std::regex is not included in our precompiled headers.
2022-07-27 09:59:25 -05:00
berniev
ba06e203be Fix column number calc
(cherry picked from commit 0a8b875751c9469a52548730539dfd4b4fc51acc)
2022-07-27 13:45:33 +02:00
wmayer
f3b02a487f App/Test: implement unit test for PR #7250 2022-07-27 13:22:00 +02:00
Uwe
1f0181cdcc [App] remove check for Python 2 2022-07-27 01:55:52 +02:00
andrea
e3adea272c Remove deprecated function 2022-07-26 08:52:04 -04:00
wmayer
25483b78be Fix several clazy issue:
* Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference]
2022-07-24 22:29:06 +02:00
wmayer
9b30f9328b Fix several clazy issue:
* Suppress non-POD static [-Wclazy-non-pod-global-static]
* Call to temporary is a no-op: [-Wclazy-writing-to-temporary]
* Unused QString [-Wclazy-unused-non-trivial-variable]
2022-07-24 21:39:59 +02:00
andrea
187772de7c fix warning :unused variables 2022-07-23 14:27:50 +02:00
andrea
61a5551940 Remove unused code into App 2022-07-23 14:27:50 +02:00