Commit Graph

31 Commits

Author SHA1 Message Date
Uwe
b514f47c21 [TD] Gui: remove some superfluous nullptr checks 2022-07-19 02:49:46 +02:00
Benjamin Bræstrup Sayoc
0bf342b1d8 [TechDraw] Improve readability of commands 2022-07-09 13:07:30 -04:00
Wanderer Fan
031bca185d [TD]fix dimension special characters 2022-05-11 14:16:56 -04:00
Wanderer Fan
b9969abc70 [TD]add blank space for legibility 2022-05-11 14:16:56 -04:00
wmayer
ccc0d54d97 TD: [skip ci] activate PCH of TechDraw (Gui) and use forward declarations
For MSVC this reduces compile time by ~20%
2022-03-25 13:54:47 +01:00
wmayer
e8f9c8a1d3 TD: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
883012e4b0 TD: Fix several coverity issues:
* CID 316569: Uninitialized scalar variable
* CID 350651: Unchecked dynamic_cast
* CID 350565: Unchecked dynamic_cast
* CID 350595: Unchecked dynamic_cast
* CID 350638: Unchecked dynamic_cast
* CID 350547: Division or modulo by float zero
2022-03-13 15:40:49 +01:00
wmayer
8f786ea6ef Gui: Optimize includes to reduce compile time 2022-03-07 20:29:18 +01:00
Wanderer Fan
ae79d2155f [TD]update menu text and tip to std 2022-03-05 14:30:14 -05:00
Uwe
98692e4b63 [TD] CommandExtensionDims: remove unused includes 2022-02-28 01:42:39 +01:00
edi271
3b16914a9c Update CommandExtensionDims.cpp 2022-02-17 10:05:56 -05:00
edi271
7efa2d69d5 Update CommandExtensionDims.cpp 2022-02-17 10:05:56 -05:00
edi271
2a30032c7d New extension tool: cutomize format 2022-02-17 10:05:56 -05:00
edi271
4744ec5103 Force tree update 2022-02-17 10:05:56 -05:00
luz paz
6718d8797e Fix some typos and whitespace 2022-02-12 19:33:28 +01:00
edi271
5279eddc33 Issue Y-position of dim labels 2022-02-02 08:35:34 -05:00
edi271
d5177b09cc New tool remove prefix characters 2022-02-02 08:35:34 -05:00
Roy-043
af7d7f6b40 Update CommandExtensionDims.cpp
Modifications as suggested by Edi.
2022-01-26 08:48:42 -05:00
Roy
b974da4ea6 TechDraw: Ext. Tools: Improve menu texts and tooltips 2022-01-26 08:48:42 -05:00
edi271
d7357410a2 [TD] add right/left baseline in Parallel Dimension tools 2022-01-21 11:22:40 -05:00
luz paz
b686a51bc3 TD: fix 'praefix' typo in source and source comments 2022-01-12 14:50:39 -06:00
luz paz
6394fed4e6 Fix various typos
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,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,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,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,./build/doc/SourceDocu`
2022-01-12 14:50:39 -06:00
Uwe
2db409659e [TD] coding style fixes for new extensions
all done by MSVC

I do this since on one hand the readability is in this case really improved and because whenever I made a change, MSVC tries to fix the style and then the diffs are unnecessarily large. Also the MSVC style is almost what we use as the "standard" coding style.
2022-01-07 21:35:46 +01:00
Uwe
af094bb0b0 [TD] fix compiler warning and use predefined M_PI
- fixes:
CommandExtensionPack.cpp(1702,38): warning C4305: 'initializing': truncation from 'double' to 'float'

- uses our predefined M_PI constant
2022-01-07 21:21:51 +01:00
Wanderer Fan
a67e78bda0 [TD]use smart pointers in Extensions 2022-01-07 13:34:20 -05:00
wandererfan
8e86c4473e [TD]fix typo in command name 2022-01-07 08:58:10 -05:00
wandererfan
dffa7040b9 [TD]combine @wmayer and edi271 changes re command extensions 2022-01-07 08:58:10 -05:00
edi271
9981e27f92 Changes caused by PR5231 2022-01-07 08:58:10 -05:00
edi271
64419b26a0 Cascade spacing added 2022-01-07 08:58:10 -05:00
edi271
747884a5f8 Inserted undo/redo commands 2022-01-07 08:58:10 -05:00
edi271
d09d0b6036 Next31TechDrawTools 2022-01-07 08:58:10 -05:00