Commit Graph

18574 Commits

Author SHA1 Message Date
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
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
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
wmayer
eb6a405c17 abort hyperbola creation when angles are NaN 2019-10-17 00:22:39 +02:00
Yorik van Havre
432d4f2552 AddonManager: Fixed bug in non-git update 2019-10-16 16:52:06 -03:00
Zheng, Lei
8952306088 PartDesign: fix Body getSubObject() 2019-10-16 10:55:53 +02:00
dabomian
fa5d34508b obj transparency fix d->Tr and its value/100 2019-10-15 14:11:29 -03:00
sliptonic
b479a4c420 Merge pull request #2617 from mlampert/bugfix/path-ocl-warning
Path: couple of minor bug fixes
2019-10-15 08:48:23 -05:00
wandererfan
2b2210543c [TD]Fix slow GC of QGIPrimPath 2019-10-15 06:29:37 -04:00
wmayer
ee63c324c1 Add an XSD validation scheme and implement ParameterManager::CheckDocument(), function is used in the parameter editor 2019-10-14 22:56:03 +02:00
wmayer
e4f8d98079 add new CMake macro generate_from_any and extend PythonToCPP script to create source file from any text file 2019-10-14 22:20:59 +02:00
paullee0
a785660f59 [Arch] Introduce Refine attribute to Select whether or not and the method to remove splitter
Currently Draft removeSplitter and Part removeSplitter available but may not work on complex sketch

Forum Discussion - https://forum.freecadweb.org/viewtopic.php?f=23&t=38527
2019-10-14 16:49:33 -03:00
Francesco Fantoni
61435b30f9 [Arch] suggested feature: add the ability to choose whether an Arch BuildingPart transmits its height value to children 2019-10-14 16:48:07 -03:00
vocx-fc
1b044e91df Draft: DraftGui, use boolean values to set up an option instead of numeric values 1 and 0 2019-10-14 16:45:33 -03:00
luz.paz
a9bf9ba263 tooltip: rename python-git to GitPython 2019-10-14 16:36:07 -03:00
luz.paz
7f696bd60f AddonManager: tooltips and minor code formatting 2019-10-14 16:36:07 -03:00
Markus Lampert
4dc50edf55 Fixed holding tags restore 2019-10-14 11:11:16 -07:00
Markus Lampert
641f615bf5 Restrict loading of ocl and PathSurface to enabling experimental features. 2019-10-14 10:09:05 -07:00
wmayer
891f8953fe improve strict ISO C++11 (-Wpedantic) 2019-10-14 10:54:57 +02:00
wmayer
1f5f00e655 remove the built-in tree widget from the tessellation task panel 2019-10-13 18:12:05 +02:00
Zheng, Lei
c98549a40a Gui: fix python documents in Gui.Selection methods 2019-10-13 17:02:32 +02:00
Zheng, Lei
bf27b115c0 Gui: fix SelectionSingleton::checkSelection()
This affects sub-object selection detection
2019-10-13 17:02:32 +02:00