Commit Graph

18857 Commits

Author SHA1 Message Date
JeromeL63
61de21bfbb Added Linecut function 2019-12-09 15:25:22 -03:00
wmayer
a57014a86c [skip ci] when converting from SoSFImage to QImage check that the internal buffer is not null 2019-12-09 17:53:52 +01:00
Zheng, Lei
cc85d1a1d3 Part: fix Compound2 placement lost after restore 2019-12-09 15:30:34 +01:00
wmayer
097d5ab64d handle possibly set Python error flag in DocumentPy::recompute() to avoid crash in debug mode 2019-12-09 12:29:07 +01:00
wmayer
1e33567a99 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
4d61820060 Gui: fix Gui.addCommand() in Python3 2019-12-09 00:37:34 +00:00
Zheng, Lei
227a6d3e93 App: fix pyObjectToAny() in Python3 2019-12-09 00:37:34 +00:00
Bernd Hahnebach
44d74c49a1 FEM: code formating in some headers 2019-12-08 22:53:50 +01:00
donovaly
fade9156b1 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
f29b07c143 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
fce44f1423 Gui: track editing object placement change 2019-12-08 14:46:34 +01:00
wandererfan
f9e492ccb6 [TD]DrawViewBalloon OriginX/Y to PropertyDistance 2019-12-07 15:44:48 -05:00
wandererfan
77bac6dd54 [TD]fix merge resolution error 2019-12-07 15:44:48 -05:00
Mikhaylov-yv
b6a7b7960c Edit A4 2019-12-07 12:59:56 -05:00
donovaly
bb2db008ad 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
70be2a2bff TechDraw: add unit for rotation 2019-12-07 07:29:07 -05:00
Zheng, Lei
737eec13d4 Fix copy/paste objects through temp file 2019-12-06 14:43:02 -03:00
Zheng, Lei
a17f38fb74 Do not reserve memory when copy/paste objects through file 2019-12-06 14:43:02 -03:00
donovaly
a0f5206a2e DlgUnitsCalculator: tweaks requested by vocx-fc and luzpaz 2019-12-06 14:42:02 -03:00
donovaly
a82ba07886 DlgUnitsCalculatorImp.cpp: some cleanup 2019-12-06 14:42:02 -03:00
donovaly
d255744684 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
90825d290a Improve Inkscape version parsing in SVG import 2019-12-06 14:35:59 -03:00
vocx-fc
d65225124f PartDesign: rename icon, and organize resource file 2019-12-06 14:35:14 -03:00
vocx-fc
6777f91e40 Gui: PartDesign: remove execute bit from icons, now 644 2019-12-06 14:34:25 -03:00
Zheng, Lei
65bc3ae5c0 Draft: support linked transform and color override in link array 2019-12-06 14:33:59 -03:00
wmayer
c7a1854701 fix broken XML syntax in .ui file 2019-12-06 14:58:48 +01:00
wmayer
18a4a3b3ab fix broken XML syntax in .ui files 2019-12-05 17:45:39 +01:00
luz.paz
a45d3f743d 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
ed6adae509 [TD]fix dim text for multi value schemas 2019-12-05 07:10:08 -05:00
wmayer
33f1511039 fix -Wformat-pedantic 2019-12-05 12:23:51 +01:00
WandererFan
ed30896648 [TD]Prevent crash when base view deleted
- happened during creation of DVSection
2019-12-04 20:44:13 -05:00
Zheng, Lei
bad5a31327 Draft: signal icon change in Layer 2019-12-04 18:59:28 +01:00
Zheng, Lei
ee418c1281 Draft: fix Layer for Python2 2019-12-04 18:59:28 +01:00
wandererfan
8b3d33b349 [TD]Annotation icon to standards
- by @bitacovir
2019-12-04 10:16:19 -05:00
wandererfan
cc1b5736d9 [TD]fix jumping Rich Text Annotation 2019-12-04 10:16:19 -05:00
wandererfan
2fbf35eb50 [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
ea0868a433 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
f4c7c9bc25 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
a89e55e1e7 DrawViewAnnotation: also call the handleChangedPropertyType of the base class 2019-12-01 21:48:46 -05:00
donovaly
f7ca1d91d3 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
c782990010 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
c946320175 Set feed rate on vertical boundary moves. 2019-11-29 22:15:38 -08:00
wmayer
11e64ed3df for restored view providers of a redo again call handleChildren3D() to update scene graph 2019-11-29 22:24:16 +01:00
wmayer
e96cf55949 fetch undo/redo stack for active MDI view, not active document 2019-11-29 20:46:38 +01:00
wmayer
a4724b3e69 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
3bbd415523 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
47dfe708d9 Improve Python compatibility
According remark which I agree with
2019-11-29 14:52:29 +01:00
0penBrain
82931b4368 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@469e01d (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
b41c6a4113 InstallerStructure: update according to current state 2019-11-29 14:44:12 +01:00
triplus
ccb5f1e6f7 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