Commit Graph

18853 Commits

Author SHA1 Message Date
wmayer
fd741e4338 check returned value of PyUnicode_AsUTF8() before passing to a std::string to avoid possible segfaults 2019-12-09 12:23:58 +01:00
Zheng, Lei
8516c6fbe3 Gui: fix Gui.addCommand() in Python3 2019-12-09 00:37:34 +00:00
Zheng, Lei
13fd54a42f App: fix pyObjectToAny() in Python3 2019-12-09 00:37:34 +00:00
Bernd Hahnebach
22e9133dd0 FEM: code formating in some headers 2019-12-08 22:53:50 +01:00
donovaly
0721f7f1e4 TD: DrawView.cpp: add routine for PropertyDistance change
X and Y were changed at first by me to PropertyLength and later by Wandererfan to PropertyDistance. For this second change there is handleChangedPropertyType() code missing. This PR adds this.

- also some code formatting improvements automatically done by MSVC
2019-12-08 15:42:07 -05:00
Zheng, Lei
50f4c012b4 Gui: change tree view select all behavior
Only select all objects of the current document
2019-12-08 15:07:36 +01:00
Zheng, Lei
719c11e714 Gui: track editing object placement change 2019-12-08 14:46:34 +01:00
wandererfan
ceeb776fff [TD]DrawViewBalloon OriginX/Y to PropertyDistance 2019-12-07 15:44:48 -05:00
wandererfan
efed66da15 [TD]fix merge resolution error 2019-12-07 15:44:48 -05:00
Mikhaylov-yv
c1f177b528 Edit A4 2019-12-07 12:59:56 -05:00
donovaly
de1be3b381 TD: add units for line widths
- this also prevents negative values
- also fix an issue in DrawViewBalloon introduced by me recently
2019-12-07 08:37:56 -05:00
donovaly
2fa9369d42 TechDraw: add unit for rotation 2019-12-07 07:29:07 -05:00
Zheng, Lei
004d6061e0 Fix copy/paste objects through temp file 2019-12-06 14:43:02 -03:00
Zheng, Lei
63edea3ea4 Do not reserve memory when copy/paste objects through file 2019-12-06 14:43:02 -03:00
donovaly
653a5e4302 DlgUnitsCalculator: tweaks requested by vocx-fc and luzpaz 2019-12-06 14:42:02 -03:00
donovaly
58967193be DlgUnitsCalculatorImp.cpp: some cleanup 2019-12-06 14:42:02 -03:00
donovaly
fafbe533bb Fix the broken UnitsCalculator dialog
see https://forum.freecadweb.org/viewtopic.php?f=3&t=41331&p=351289#p351289 for details why and how
2019-12-06 14:42:02 -03:00
0penBrain
0e96abb891 Improve Inkscape version parsing in SVG import 2019-12-06 14:35:59 -03:00
vocx-fc
008ef2f1ed PartDesign: rename icon, and organize resource file 2019-12-06 14:35:14 -03:00
vocx-fc
a61a779a2e Gui: PartDesign: remove execute bit from icons, now 644 2019-12-06 14:34:25 -03:00
Zheng, Lei
8e4685fb2e Draft: support linked transform and color override in link array 2019-12-06 14:33:59 -03:00
wmayer
68f998c6db fix broken XML syntax in .ui file 2019-12-06 14:58:48 +01:00
wmayer
f533e3bf87 fix broken XML syntax in .ui files 2019-12-05 17:45:39 +01:00
luz.paz
e7ee5fe777 Tooltips: added missing tooltips + refined pre-existing
Some pre-existing tooltips needed to be a compound of lines instead of 1 long one.
Removed bold text from tooltip  
Removed URL from tooltip
2019-12-05 17:07:44 +01:00
wandererfan
186d52ffd4 [TD]fix dim text for multi value schemas 2019-12-05 07:10:08 -05:00
wmayer
ad8668a9f3 fix -Wformat-pedantic 2019-12-05 12:23:51 +01:00
WandererFan
85ba410276 [TD]Prevent crash when base view deleted
- happened during creation of DVSection
2019-12-04 20:44:13 -05:00
Zheng, Lei
8c9d67c2c0 Draft: signal icon change in Layer 2019-12-04 18:59:28 +01:00
Zheng, Lei
d77b569c9c Draft: fix Layer for Python2 2019-12-04 18:59:28 +01:00
wandererfan
0c71537a67 [TD]Annotation icon to standards
- by @bitacovir
2019-12-04 10:16:19 -05:00
wandererfan
afc2da43a8 [TD]fix jumping Rich Text Annotation 2019-12-04 10:16:19 -05:00
wandererfan
0935aa9f5c [TD]fix Jumping Dimensions
- X,Y were changed to PropertyLength (>0), but some X,Y
  are relative, so X,Y sb PropertyDistance.
2019-12-03 17:12:01 -05:00
luz.paz
379d041664 Fix typos and some trailing whitespace
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-12-03 12:22:59 +01:00
donovaly
e583b2a468 DrawViewBalloon: add units there as well
since OriginX/Y depend on DrawView base X/Y

- also adapt the balloon test accordingly
2019-12-01 21:48:46 -05:00
donovaly
7ef0d476b5 DrawViewAnnotation: also call the handleChangedPropertyType of the base class 2019-12-01 21:48:46 -05:00
donovaly
deac1d8595 TechDraw: add units for position
see https://forum.freecadweb.org/viewtopic.php?f=35&t=40608 for details
2019-12-01 21:48:46 -05:00
sliptonic
6d79dbea43 Merge pull request #2745 from mlampert/bugfix/path-boundary-dressup-feed-rate
Path: bugfix/path-boundary-dressup-feed-rate
2019-11-30 08:51:21 -06:00
Markus Lampert
e1d1f01991 Set feed rate on vertical boundary moves. 2019-11-29 22:15:38 -08:00
wmayer
bf4bf624a4 for restored view providers of a redo again call handleChildren3D() to update scene graph 2019-11-29 22:24:16 +01:00
wmayer
73aa2a23fe fetch undo/redo stack for active MDI view, not active document 2019-11-29 20:46:38 +01:00
wmayer
5e36da5c5a Fix some regressions in Python editor:
* show again asterisk when modifying the content
* show still only filename in tab when modifying from outside
2019-11-29 20:02:34 +01:00
wmayer
ead9c5c670 Build option: do not force PCL to be always enabled on Win32, add option to allow to disable it 2019-11-29 16:15:16 +01:00
0penBrain
b809867021 Improve Python compatibility
According remark which I agree with
2019-11-29 14:52:29 +01:00
0penBrain
0a8c73f325 Fix bad 'pt' unit definition
'pt' unit has been defined as 1.25 px while it is 4/3 px (~1.33 px).
Relates to issue #4200
Relates to Syres916@3db7496 (despite bug always existed, even before this commit)
Source : https://oreillymedia.github.io/Using_SVG/guide/units.html
2019-11-29 14:52:29 +01:00
donovaly
98b61485ab InstallerStructure: update according to current state 2019-11-29 14:44:12 +01:00
triplus
37ca8cb3bc Travis - re-enable incremental ccache builds
Each build job should now have an unique cache entry. This should increase the reliability and success rate for build jobs, when the maximum time limit is exceeded.
2019-11-29 14:42:57 +01:00
triplus
d2bcb7be7c Travis - create a unique cache entry
https://forum.freecadweb.org/viewtopic.php?f=10&t=40324&start=30#p350421
https://docs.travis-ci.com/user/caching#caches-and-build-matrices
2019-11-29 14:42:57 +01:00
triplus
fab86e6d32 Travis - upgrade to GCC 9 and Clang 9
Use latest and greatest compilers in the toolchain.
2019-11-29 14:42:57 +01:00
wmayer
83ecb8a5ec set default deflection of 0.01 when exporting shape as STL 2019-11-29 13:46:30 +01:00
wmayer
281a2772f3 Add option to copy required plugins from LibPack to build directory 2019-11-29 13:38:06 +01:00