Commit Graph

18805 Commits

Author SHA1 Message Date
Yorik van Havre
92d1ff8fbe Arch: Added option to allow import of invalid IFC geometry 2019-10-21 17:00:53 -03:00
luz.paz
30a717beac Fix typos and misc. formatting [skip ci]
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-10-21 16:02:23 -03:00
carlopav
5783027945 [Draft] Edit: pick radius according to user preferences (issue #4162)
Reference tracker issue #4162 https://freecadweb.org/tracker/view.php?id=4162
Reference topic. https://forum.freecadweb.org/viewtopic.php?f=23&t=40060.
Changed ui file to insert edit preferences (at the moment inside draft and grid, for the affinity with snap). Created a new draft preference: DraftEditPickRadius.
2019-10-21 16:00:36 -03:00
luz.paz
6c5bf999c2 add comment 2019-10-21 15:59:40 -03:00
luz.paz
044b2643fa Fix regression found in obsolete addon function
Variable `message` was used instead of `desc`
2019-10-21 15:59:40 -03:00
luz.paz
b7024c7695 AddonManager: Tweak UI to return friendlier HTML formatted responses
Make the Addon Manager GUI friendlier by adding more color and uniformity to the UI for Addons that have a: pending-update, no-update, or are obsolete.
2019-10-21 15:59:40 -03:00
Yorik van Havre
7c556b5daa Removed tabs 2019-10-21 15:58:44 -03:00
paullee0
f1219d5e7f [Draft - DraftGeoUtils] Refine isReallyClosed() : Part of ArchWall / DraftGeomUtils Multi-Width Support Improvement Proposal 2019-10-21 15:58:44 -03:00
SurajDadral
d901ed9a29 Fix editing of OffsetStart of rebar object
Problem:
Unable to set OffsetStart value to greater than (size of structure
object along direction of expansion of rebars)/2 for rebar object

Solution:
Drop check if(OffsetStart + OffsetEnd > size)
2019-10-21 15:57:19 -03:00
SurajDadral
2cda516109 Fix editing of single rebar object
Problem:
Unable to set OffsetStart value to greater than (size of structure
object along direction of expansion of rebars)/2 for single rebar object

Solution:
Drop check if(OffsetStart + OffsetEnd > size), when there is only one
rebar object.
2019-10-21 15:57:19 -03:00
Yorik van Havre
cfc58340ce Added LGTM quality badge 2019-10-21 15:51:57 -03:00
wmayer
35b9131adb for the moment uncomment changes of commit d0f95449ea 2019-10-21 12:25:40 +02:00
wmayer
210601c2be [skip ci] remove unused variable 2019-10-21 12:04:23 +02:00
wmayer
617a8d7598 Support for Frequency in quantity parser 2019-10-21 11:49:55 +02:00
wandererfan
542379124a [TD]Avoid Spanish char issue in SVG Export (4170) 2019-10-20 15:36:59 -04:00
wandererfan
4b55f53334 [TD]Fix Dimension prefix/suffix 2019-10-20 15:36:59 -04:00
wmayer
4d831ea442 Basic support for Frequency as unit 2019-10-20 18:14:56 +02:00
howetuft
3e5d3460c7 Fix -Wdeprecated-copy warnings (rule of 5/3/0)
Fix -Wdeprecated-copy warnings in various places. Consists in enforcing
rule of five/three/zero (https://en.cppreference.com/w/cpp/language/rule_of_three)
mainly by deleting redundant copy constructors or copy assignment operators
that replicate default constructors/operators, or more rarely by adding
missing copy/move constructors/operators.
See also https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#c20-if-you-can-avoid-defining-default-operations-do
2019-10-20 17:02:17 +02:00
sgrogan
554ae45e27 Remove py2/qt5 build, disable py3.7/flake8 build 2019-10-20 16:10:38 +02:00
wmayer
bb1aaa1299 move OpenSSL and curl checks from Mod directory to Cloud module 2019-10-20 16:08:13 +02:00
Jean-Marie Verdun
edf5d4575b Fix linuxbuild 2019-10-20 16:05:30 +02:00
wmayer
d7a659f7d6 DocumentObjectGroup: do not touch group on child change 2019-10-20 15:53:35 +02:00
Zheng, Lei
cdca061ca1 Gui: fix box selection 2019-10-20 14:56:58 +02:00
sliptonic
fb03502469 Merge pull request #2631 from mlampert/feature/holding-tags-copy
Path: Added support for copying holding tags from another holding tags dressup
2019-10-20 07:52:58 -05:00
wmayer
77bc9cd8d5 restore old behaviour of Python wrapper of Console class to increase flexibility when using in worker threads 2019-10-20 13:51:53 +02:00
wmayer
4a6b80dbb6 in RedirectStdOutput/RedirectStdError/RedirectStdLog only flush when last character is newline to avoid garbled output in log file 2019-10-20 13:42:51 +02:00
wmayer
c642768756 fix regressions in SplashObserver::SendLog and ReportOutput::SendLog 2019-10-20 13:41:10 +02:00
wmayer
c71c893a50 fix -Winconsistent-missing-override 2019-10-20 13:23:41 +02:00
wmayer
5ba9bc6a16 minor optimization in ConsoleObserverFile, if prefix is unknown then still write passed message 2019-10-20 12:52:08 +02:00
ezzieyguywuf
9fcc18b08e Refactor and rename ConsoleObserver...
...Renamed to "ILogger", to designate that this is an Interface for a
Logger. This "Interface" is pure virtual, so that it cannot be
instantiated directly. This makes it clear that it is intended to be
derived.

Finally, got rid of all the individual log-style methods and replaced
with SendLog. The idea here is that day-to-day users will only interact
with ILogger through ConsoleSingleton (or, likely, LoggerSingleton in
the future). This singleton will manage an arbirtary collection of
ILogger, and call SendLog with the appropriate parameters based on what
the user requests.

Therefore, the singleton itself will have the individual Log, Message,
Error, etc... methods, while stil allowing us to simplify the code base
of ILogger and its derived classes.
2019-10-20 11:46:15 +02:00
looooo
7416055dbb cmake: pyside2: use imported targets if available 2019-10-20 11:25:19 +02:00
mlampert
898a5a06bc Merge branch 'master' into feature/holding-tags-copy 2019-10-19 19:08:08 -07:00
wmayer
d0a7bcc672 Adjust unit test of deleting a parameter group to new behaviour 2019-10-19 22:38:07 +02:00
luz.paz
b877cc49a7 Doxygen: Base/Parameter.h description
Adding a cursory description for `Parameter.h` + typo fix for it's companion .cpp file. 

.
2019-10-19 16:14:53 -03:00
wmayer
091375a993 fix gcc/clang build failure 2019-10-19 15:18:26 +02:00
wmayer
fd2940ead7 replace some old C style casts with static_cast or reinterpret_cast 2019-10-18 15:50:15 +02:00
wmayer
944c9224e1 change deletion order in parameter editor to avoid that a parameter group isn't deleted 2019-10-18 15:46:02 +02:00
wmayer
4642913b61 fix several memory leaks in ParameterGrp when removing nodes from DOM document 2019-10-18 15:43:22 +02:00
wmayer
7a45d74bc7 + implement a correct cleaning of a parameter group without creating ghost instances of ParameterGrp 2019-10-18 15:38:58 +02:00
wmayer
4dedd32031 + before creating element in DOM document check if the group node still has the correct name 2019-10-18 15:34:20 +02:00
wandererfan
b7c6b34c44 [TD]Fix duplicate Arbitrary dim text 2019-10-18 09:13:06 -04:00
wandererfan
218e11df7f [IMP]Fix Dxf handle conflict on export 2019-10-18 09:10:44 -04:00
Bernd Hahnebach
60c01f329c OpenSCAD: fix py syntax error 2019-10-18 13:04:25 +02:00
Jean-Marie Verdun
491355229a Fix auth base64 computation when HMAC return string contains \0 character 2019-10-18 10:16:35 +02:00
Jean-Marie Verdun
f8a9226d76 Add Content-MD% into the header as to be able to retrieve it from the ETag answer of the server 2019-10-18 10:16:35 +02:00
Jean-Marie Verdun
e4d7d4dd7a Fix mistackes done during refactoring 2019-10-18 10:16:35 +02:00
Jean-Marie Verdun
4e348a4bb3 Refactor code to prepare Amazon s3 v4 API support
We do support currently only v2 which will be EOL in june 2020
according to Amazon
2019-10-18 10:16:35 +02:00
donovaly
5ae2d6a149 several installer fixes and improvements:
- fix bug that registry uninstaller settings of the previous version are not replaced when installing new version of the same series

- avoid explicit calls of the name "FreeCAD"

- update example code and description to MSVC 2017 and FreeCAD 0.19git
2019-10-18 10:14:46 +02:00
Richard
f53baef54a Update swigpyrun.in for Python 3.8
In Python 3.8 some functions related to thread state were intentionally made private.

This fix (specific to FreeCAD) was suggested here:

https://bugs.python.org/issue35886
2019-10-18 10:12:59 +02:00
mlampert
ef0d2dccba Merge branch 'master' into feature/holding-tags-copy 2019-10-17 19:17:54 -07:00