Commit Graph

18625 Commits

Author SHA1 Message Date
vocx-fc
210dfbf13a Draft: change DisplayMode only if the interface is up (FreeCAD.GuiUp) 2019-10-25 10:54:31 -03:00
luz.paz
1bc33025d6 LGTM: various fixes for using string operator instead of numeric 2019-10-25 10:33:12 -03:00
luz.paz
e4c8890d52 Arch: Dice3DS/dom3ds.py LGTM fix
Following recommendations from https://lgtm.com/rules/6770081/
2019-10-25 10:29:15 -03:00
luz.paz
892db1a770 Draft: whitespace fix [skip-ci] 2019-10-25 10:25:31 -03:00
luz.paz
bec8e1befd Draft: use string operator instead of numeric LGTM fix 2019-10-25 10:25:31 -03:00
luz.paz
cf854a52a5 Draft: DraftEdit.py use string operator instead of numeric LGTM fix [skip ci] 2019-10-25 10:25:31 -03:00
luz.paz
6084bbfb1b Draft: Draft.py missing translate() context LGTM fixes [skip ci] 2019-10-25 10:25:31 -03:00
luz.paz
5c1cae14b9 Arch: use string operator instead of numeric LGTM fix 2019-10-25 10:23:24 -03:00
luz.paz
95af9ed202 Arch: ArchSectionPlane.py LGTM incorrect variable fix [skip ci]
LGTM reported `For loop variable 'objs' is not used in the loop body.`
2019-10-25 10:23:24 -03:00
luz.paz
0c038dfbee Arch: ImportOBJ.py LGTM fixes [skip ci]
Fixes recommended via LGTM report
2019-10-25 10:23:24 -03:00
triplus
a801ff5a23 Travis - delete LibPack to preserve more space
https://forum.freecadweb.org/viewtopic.php?f=4&t=38657
2019-10-24 23:23:07 +02:00
wandererfan
efd55884ad [TD]fix regression in multi source selection 2019-10-23 20:00:33 -04:00
wandererfan
f3ae1aaf49 [TD]prevent bleed through on angled details 2019-10-23 14:19:52 -04:00
wandererfan
789733d691 [TD]fix Detail orientation from DPG source 2019-10-23 14:19:52 -04:00
wandererfan
5bb659e7e2 [TD]Transition to on demand page updates ph1 2019-10-23 14:19:52 -04:00
Jean-Marie Verdun
820ad876cb Fix bad object allocation which was creating a crash on linux and strangly was working on MacOS 2019-10-22 17:08:36 +02:00
Zheng, Lei
42987f8612 Gui: fix ViewProviderPythonFeature getDetail() 2019-10-22 17:07:28 +02:00
wmayer
8421443129 fix -Winconsistent-missing-override 2019-10-22 14:12:10 +02:00
wmayer
8e17c8c4ba fix -Wimplicit-fall-through, -Wpedantic 2019-10-22 10:54:03 +02:00
looooo
7222b32cde cmake: pyside2: try other solution 2019-10-21 23:33:26 +02:00
Yorik van Havre
7767103f9c Arch: Added option to allow import of invalid IFC geometry 2019-10-21 17:00:53 -03:00
luz.paz
1c981e8f14 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
d87e6324e5 [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
b58019c365 add comment 2019-10-21 15:59:40 -03:00
luz.paz
7ea1a7e45e Fix regression found in obsolete addon function
Variable `message` was used instead of `desc`
2019-10-21 15:59:40 -03:00
luz.paz
4fe9cb3938 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
c6b79dd23f Removed tabs 2019-10-21 15:58:44 -03:00
paullee0
bbff21935a [Draft - DraftGeoUtils] Refine isReallyClosed() : Part of ArchWall / DraftGeomUtils Multi-Width Support Improvement Proposal 2019-10-21 15:58:44 -03:00
SurajDadral
c331ce29f1 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
544e85ff3f 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
c77937e6c5 Added LGTM quality badge 2019-10-21 15:51:57 -03:00
wmayer
762f0656e0 for the moment uncomment changes of commit bf7e50d803 2019-10-21 12:25:40 +02:00
wmayer
8d5bc7eb09 [skip ci] remove unused variable 2019-10-21 12:04:23 +02:00
wmayer
d7ca604c99 Support for Frequency in quantity parser 2019-10-21 11:49:55 +02:00
wandererfan
c6cd65916c [TD]Avoid Spanish char issue in SVG Export (4170) 2019-10-20 15:36:59 -04:00
wandererfan
5021f3777b [TD]Fix Dimension prefix/suffix 2019-10-20 15:36:59 -04:00
wmayer
3500451a04 Basic support for Frequency as unit 2019-10-20 18:14:56 +02:00
howetuft
b858757bb2 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
e31f84f5d5 Remove py2/qt5 build, disable py3.7/flake8 build 2019-10-20 16:10:38 +02:00
wmayer
ccb5787ed5 move OpenSSL and curl checks from Mod directory to Cloud module 2019-10-20 16:08:13 +02:00
Jean-Marie Verdun
9fad0a768f Fix linuxbuild 2019-10-20 16:05:30 +02:00
wmayer
d63b294586 DocumentObjectGroup: do not touch group on child change 2019-10-20 15:53:35 +02:00
Zheng, Lei
4ea3200629 Gui: fix box selection 2019-10-20 14:56:58 +02:00
sliptonic
165302a729 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
f98446e5cb 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
3613d834fc 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
867f22d3c8 fix regressions in SplashObserver::SendLog and ReportOutput::SendLog 2019-10-20 13:41:10 +02:00
wmayer
f94bf69a3c fix -Winconsistent-missing-override 2019-10-20 13:23:41 +02:00
wmayer
aa011746e5 minor optimization in ConsoleObserverFile, if prefix is unknown then still write passed message 2019-10-20 12:52:08 +02:00
ezzieyguywuf
f27e4590a6 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