Commit Graph

18572 Commits

Author SHA1 Message Date
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
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
vocx-fc
8c2ff4ca8a Draft: clone icon with the light comming from above left 2019-10-17 17:44:19 -03:00
carlopav
f3a4dda5b3 [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
6f676f06ab 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
c128ff999d [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
cd37773d8e Make the OpenSCAD Workbench dropdown tooltip more verbose for beginners 2019-10-17 17:37:12 -03:00
luz.paz
893868b539 Swap http:// for https:// 2019-10-17 17:37:12 -03:00
luz.paz
5e46b1c597 More code format fixes 2019-10-17 17:37:12 -03:00
luz.paz
f1c811032c Adjust whitespace, convert double quotes to single 2019-10-17 17:37:12 -03:00
luz.paz
1db846be69 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
50a8c070b7 Draft: Fixed non-appearing texts in TechDraw views + support for ShowLine property 2019-10-17 15:33:59 -03:00
wmayer
31ced049d9 abort hyperbola creation when angles are NaN 2019-10-17 00:22:39 +02:00
Yorik van Havre
d83f8bc2da AddonManager: Fixed bug in non-git update 2019-10-16 16:52:06 -03:00
Zheng, Lei
38fd061716 PartDesign: fix Body getSubObject() 2019-10-16 10:55:53 +02:00
dabomian
9d8e9f3f56 obj transparency fix d->Tr and its value/100 2019-10-15 14:11:29 -03:00
sliptonic
9f83e0f055 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
9144e8b938 [TD]Fix slow GC of QGIPrimPath 2019-10-15 06:29:37 -04:00
wmayer
bd76bbd625 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
eff400620c 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
f7bff20ca6 [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
1b212feffb [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
ac0e74b220 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
354a71318f tooltip: rename python-git to GitPython 2019-10-14 16:36:07 -03:00
luz.paz
fbae2b3db9 AddonManager: tooltips and minor code formatting 2019-10-14 16:36:07 -03:00
Markus Lampert
8aec8cbebd Fixed holding tags restore 2019-10-14 11:11:16 -07:00
Markus Lampert
209c96a791 Restrict loading of ocl and PathSurface to enabling experimental features. 2019-10-14 10:09:05 -07:00
wmayer
84648aea62 improve strict ISO C++11 (-Wpedantic) 2019-10-14 10:54:57 +02:00
wmayer
23b9dfcd59 remove the built-in tree widget from the tessellation task panel 2019-10-13 18:12:05 +02:00
Zheng, Lei
00213cf855 Gui: fix python documents in Gui.Selection methods 2019-10-13 17:02:32 +02:00
Zheng, Lei
c5784de286 Gui: fix SelectionSingleton::checkSelection()
This affects sub-object selection detection
2019-10-13 17:02:32 +02:00
wmayer
284bd7253e fix description of 'resolve' in Selection 2019-10-13 14:32:23 +02:00
wmayer
ea824a6d7f fix -Winconsistent-missing-override -Wunused-variable 2019-10-13 14:29:52 +02:00