Commit Graph

17690 Commits

Author SHA1 Message Date
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
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
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
looooo
bf7e50d803 cmake: pyside2: use imported targets if available 2019-10-20 11:25:19 +02:00
mlampert
50c8af012d Merge branch 'master' into feature/holding-tags-copy 2019-10-19 19:08:08 -07:00
wmayer
c903de8af7 Adjust unit test of deleting a parameter group to new behaviour 2019-10-19 22:38:07 +02:00
luz.paz
788a509184 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
4614eb92a2 fix gcc/clang build failure 2019-10-19 15:18:26 +02:00
wmayer
f8f52e6fcf replace some old C style casts with static_cast or reinterpret_cast 2019-10-18 15:50:15 +02:00
wmayer
ee912a5f16 change deletion order in parameter editor to avoid that a parameter group isn't deleted 2019-10-18 15:46:02 +02:00
wmayer
81b615bfb9 fix several memory leaks in ParameterGrp when removing nodes from DOM document 2019-10-18 15:43:22 +02:00
wmayer
736511e5b6 + implement a correct cleaning of a parameter group without creating ghost instances of ParameterGrp 2019-10-18 15:38:58 +02:00
wmayer
9a6824a3fe + 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
a1de871e93 [TD]Fix duplicate Arbitrary dim text 2019-10-18 09:13:06 -04:00
wandererfan
5512d5490c [IMP]Fix Dxf handle conflict on export 2019-10-18 09:10:44 -04:00
Bernd Hahnebach
c4a2be3a14 OpenSCAD: fix py syntax error 2019-10-18 13:04:25 +02:00
Jean-Marie Verdun
f911796046 Fix auth base64 computation when HMAC return string contains \0 character 2019-10-18 10:16:35 +02:00
Jean-Marie Verdun
d0e1305ac8 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
b39e642aeb Fix mistackes done during refactoring 2019-10-18 10:16:35 +02:00
Jean-Marie Verdun
42717d3b39 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
c2c41bf655 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
6eacb17b3e 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
2b8248c5e8 Merge branch 'master' into feature/holding-tags-copy 2019-10-17 19:17:54 -07:00
vocx-fc
443b948a64 Draft: clone icon with the light comming from above left 2019-10-17 17:44:19 -03:00
carlopav
f3f15b1a9b [Draft] Edit: preview node with mouseover
Preview editing nodes with mouse move.
Modified edit trackers to store in self.color the value. Also added a method to it to set color.
2019-10-17 17:43:57 -03:00
luz.paz
d599de41d1 AddonManager: Add DesignSPHysics workbench icon
Closes https://github.com/DualSPHysics/DesignSPHysics/issues/14 
Note: Swapped out logo from upstream with one that we've modified downstream. Forum thread: https://forum.freecadweb.org/viewtopic.php?f=34&t=40136
2019-10-17 17:38:58 -03:00
carlopav
1d0bf0e5bc [Arch] Add Section plane context menu for CutView
Added Section plane context menu to toggle cutview property
2019-10-17 17:37:59 -03:00
luz.paz
2d5ecbd28f Make the OpenSCAD Workbench dropdown tooltip more verbose for beginners 2019-10-17 17:37:12 -03:00
luz.paz
879c814409 Swap http:// for https:// 2019-10-17 17:37:12 -03:00
luz.paz
3532b91526 More code format fixes 2019-10-17 17:37:12 -03:00
luz.paz
9603a9e639 Adjust whitespace, convert double quotes to single 2019-10-17 17:37:12 -03:00
luz.paz
7530537128 OpenSCAD: Add IncreaseToleranceFeature icon to toolbar
Adds icon to toolbar, which lives in `src/Mod/OpenSCAD/Resources/icons/OpenSCAD_IncreaseToleranceFeature.svg`
2019-10-17 17:37:12 -03:00
Yorik van Havre
387885aa2f Draft: Fixed non-appearing texts in TechDraw views + support for ShowLine property 2019-10-17 15:33:59 -03:00
mlampert
63f5961a3d Merge branch 'master' into feature/holding-tags-copy 2019-10-16 20:25:18 -07:00