Commit Graph

1983 Commits

Author SHA1 Message Date
wandererfan
4310b49a8b [TD]replace GeometryObject only after all changes are done 2022-08-28 15:52:23 -04:00
wandererfan
4bdbacda75 [TD]clazy warning re 3 parameter QObject::connect 2022-08-28 15:52:23 -04:00
wandererfan
3e7a22daef [TD]cosmetic vertex size consistency 2022-08-28 13:13:20 -04:00
wandererfan
dd95969695 [TD]fix crash in Preferences
- QGVPage was not detaching the parameter observer when
  deleted, leaving a stale pointer in the list of observers.
2022-08-27 15:50:48 -04:00
berniev
6953310116 Mod: Single arg ctors must be explicit 2022-08-24 16:55:20 +02:00
wmayer
a899f078bd CMake: [skip ci] remove trailing whitespaces 2022-08-24 07:46:07 +02:00
Jonas Bähr
a1776d3e74 Fix build on MacOS-X 10.14: missing Xerces include dir
This undoes most of the Xerces related part of the commits listed below.
The issue resolved here is that the Xerces include dir *is* set in the
CMakeLists.txt of src/Base, but it got removed from various App and Gui
dirs in src/Mod. If those now include a header from src/Base, which
itself includes xercesc, the build fails using Apple clang version 11.0.0
(clang-1100.0.33.17) on Mojave, configured using cmake 3.22.1, with
errors like the following:

In file included from .../src/Mod/Part/App/FeaturePartBoolean.cpp:34:
In file included from .../src/App/Application.h:33:
.../src/Base/Parameter.h:54:10: fatal error: 'xercesc/util/XercesDefs.hpp' file not found
 #include <xercesc/util/XercesDefs.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

Finally, a full list of the commits that introduced this spurious include
dir optimization for reference:
- Drawing: commit 96ad045b91
- Image: commit dde71a21d5
- Import: commit c9d28b542f
- Inspection: commit d41f55f382
- Mesh: commit 19072b0538
- Part: commit fe213a48f0
- PartDesign: commit b037d8e240
- Path: commit f23fa31f42
- Points: commit bec723ba17
- Raytracing: commit 08d4ac63a3
- ReverseEnginering: commit 5ca787cb0e
- Robot: commit bad4809a1c
- Sketcher: commit 3c96daf105
- Spreadsheet: commit 66e8a2bef3
- Start: commit c9dee5e70a
- Surface: commit 6b04215be6
- TechDraw: commit 5e6699e48d
- Test: commit ea5b45b92c
- Web: commit ee6d631531
2022-08-24 07:40:04 +02:00
berniev
d66df602ad App: Single arg ctors must be explicit 2022-08-24 07:20:57 +02:00
luz paz
1a7ddfdc24 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
91830933d7 TD: [skip ci] fix warnings of checkers about whitespaces 2022-08-22 08:37:08 +02:00
Wanderer Fan
4ad52a5778 [TD]use Label in waiting for thread message 2022-08-21 21:18:26 -04:00
Wanderer Fan
1494b8288a [TD]use new style QObject::connect 2022-08-21 21:18:26 -04:00
wmayer
5014bab534 Mod: replace std::ifstream/std::ofstream with Base::ifstream/Base::ofstream 2022-08-21 12:46:53 +02:00
wmayer
ff01905f0b TD: fix UTF-8 handling in LineGroup 2022-08-20 16:00:36 +02:00
Benjamin Bræstrup Sayoc
8f067e02f3 [TechDraw] Remove uneeded redefinitions of inherited functions 2022-08-19 09:14:10 -04:00
Wanderer Fan
f5c5eec3bb [TD]code review changes for Gui 2022-08-18 19:43:04 -04:00
Wanderer Fan
f9d62da307 [TD]code review changes for dvp, dvs 2022-08-18 19:43:04 -04:00
Wanderer Fan
e8a25a8fdf [TD]code review changes for dgh, dpg, dpgi, dra 2022-08-18 19:43:04 -04:00
Wanderer Fan
644b4991e2 [TD]code review changes for dvp and dvd 2022-08-18 19:43:04 -04:00
Wanderer Fan
d6806167e1 [TD]fix typo in message 2022-08-18 13:02:50 -04:00
Wanderer Fan
2d7d882235 [TD]prevent running threads on object delete 2022-08-18 09:34:32 -04:00
Wanderer Fan
74cdc6db61 [TD]code clean ups
- QtConcurrent include and CMake for Win

- include clean up dvp, dvs, dvd

- variable names and nested if clean up

- remove debug code
2022-08-18 09:34:32 -04:00
Wanderer Fan
b1dd0bd2d0 [TD]add preference for progress reporting 2022-08-18 09:34:32 -04:00
Wanderer Fan
f12846599d [TD]fix detail of section not displayed on restore 2022-08-18 09:34:32 -04:00
Wanderer Fan
00b671e370 [TD]fix projectShape for shape outline 2022-08-18 09:34:32 -04:00
Wanderer Fan
6677cd4d8f [TD]clazy warnings and duplicate setter/getter
- clazy warning re missing Q_OBJECT

- include TechDrawGlobal.h in headers

- resolve duplicate setter/getters
2022-08-18 09:34:32 -04:00
Wanderer Fan
006cf78c7a [TD]fix segfault on repeated open/close
[TD]fix memory leak in ViewProviderPage

[TD]fix QGView redraws at idle
2022-08-18 09:34:32 -04:00
Wanderer Fan
6df801ed96 [TD]respect AutoDistribute on load 2022-08-18 09:34:32 -04:00
Wanderer Fan
a2b09d37c5 [TD]move section cut and detail common to thread 2022-08-18 09:34:32 -04:00
Wanderer Fan
ac63550122 [TD]add progress reporting framework 2022-08-18 09:34:32 -04:00
Wanderer Fan
7e701969af [TD]run hlr and extractFaces in threads 2022-08-18 09:34:32 -04:00
Wanderer Fan
bdf4cea14e [TD]refactor scene/view/mdi
- move scene related functions out of mdiViewPage
  and QGVPage.
- route requests for scene/view/mdi through
  ViewProviderPage
2022-08-18 09:34:32 -04:00
Wanderer Fan
99120c2c74 [TD]include clean up continued 2022-08-14 10:29:25 -04:00
Wanderer Fan
f2ba030ebb [TD]remove precompiled from *.h 2022-08-14 09:20:38 -04:00
Benjamin Bræstrup Sayoc
aa9a667506 [TechDraw] Clean up precompile in Gui 2022-08-14 09:20:38 -04:00
Wanderer Fan
4407dde179 [TD]hatch file default handling 2022-08-13 19:45:56 -04:00
Wanderer Fan
4962c3da15 [TD]fix merge conflicts 2022-08-12 18:13:52 -04:00
Benjamin Bræstrup Sayoc
9905e17ba1 [TechDraw] Remove uneeded redefinitions of inherited functions 2022-08-12 18:13:52 -04:00
Wanderer Fan
2f49a93292 [TD]fix LineFormat ctor line color 2022-08-12 13:00:21 -04:00
grubertechnic
2a434e3b2e [TechDraw] fix up button in TaskProjGroup 2022-08-12 10:40:33 -04:00
Tobias Frost
9311e2913e Replace edit-cut.svg
Replace 2 instances of edit-cut.svg with the version from the tango icon
library to reslove license issue. Closes #7347.

Tango Icon Library used: http://tango.freedesktop.org/releases/tango-icon-theme-0.8.90.tar.gz
Location within the tarball:
./tango-icon-theme-0.8.90/scalable/actions/edit-cut.svg
2022-08-11 10:23:02 -04:00
Wanderer Fan
cb96332a64 [TD]fix multiple dimension drag 2022-08-10 14:09:08 -04:00
wmayer
2062f9ce87 clang: fix warnings [-Winconsistent-missing-override] 2022-08-09 17:36:25 +02:00
berniev
ddafb98813 Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
berniev
915369d8a2 Mod: Redundant_string_initialization 2022-08-08 16:52:42 +02:00
wmayer
617f213d2f TD: [skip ci] help code analyzers with export macro 2022-08-08 12:03:25 +02:00
berniev
da9ebc572f Mod: redundant void 2 2022-08-08 10:27:50 +02:00
berniev
b796a0d376 Mod: use empty 2022-08-06 19:30:13 +02:00
berniev
2d4c5a4cfb Mod: use emplace_back 2022-08-05 10:36:16 +02:00
Benjamin Bræstrup Sayoc
953625d74b [TechDraw] Use inherited isShow
Remove uneeded redefinitions of inherited functions
2022-08-04 10:02:47 -04:00