Commit Graph

24808 Commits

Author SHA1 Message Date
markus
d6fa0b1d18 Fix generation and build of python classes for 3.9 2021-04-27 00:41:53 +02:00
wmayer
0ff70c61ed Sketcher: [skip ci] fix memory leak in GeometryFacade 2021-04-27 00:20:57 +02:00
wmayer
5e2abd4f80 Sketcher: [skip ci] remove superfluous semicolons 2021-04-26 23:05:18 +02:00
wmayer
3347c5e632 Base: [skip ci] do not make PyBaseProxy class declaration dependent on ATTR_TRACKING 2021-04-26 15:57:17 +02:00
Yorik van Havre
3a3fe0c778 Added KiCAD Corp to the credits 2021-04-26 12:55:57 +02:00
wmayer
01d621406f Sketcher: [skip ci] fix memory leak in GeometryFacadePy 2021-04-26 12:30:02 +02:00
wmayer
8371162427 Base: remove obsolete swig source files 2021-04-26 11:20:13 +02:00
wmayer
58f72ccc80 Part: remove some more deprecated Py2 code 2021-04-26 11:13:22 +02:00
wmayer
76fb44c2d8 Image: remove some more deprecated Py2 code 2021-04-26 11:12:51 +02:00
wmayer
1e589f05df Drawing: remove some more deprecated Py2 code 2021-04-26 11:12:34 +02:00
wmayer
adc5ffa803 Path: remove some more deprecated Py2 code 2021-04-26 11:11:35 +02:00
wmayer
cca3981b3f Points: remove some more deprecated Py2 code 2021-04-26 11:04:53 +02:00
wmayer
83dcfae0f6 Raytracing: remove some more deprecated Py2 code 2021-04-26 11:04:26 +02:00
wmayer
72a3b9cb51 Spreadsheet: remove some more deprecated Py2 code 2021-04-26 11:03:48 +02:00
wmayer
b831d9d7f2 TD: remove some more deprecated Py2 code 2021-04-26 11:01:59 +02:00
wmayer
2c0ce4eda4 Gui: remove some more deprecated Py2 2021-04-26 10:59:32 +02:00
wmayer
e92325c9c9 App: remove some more deprecated Py2 code
and remove deprecated void from function signature and replace 0 or NULL with nullptr
2021-04-26 10:55:56 +02:00
wmayer
c563198b35 Base: remove some more deprecated Py2 code
and remove deprecated void from function signature and replace 0 or NULL with nullptr
2021-04-26 10:29:48 +02:00
luz paz
59b7e9fdd0 Base: remove Py2 code 2021-04-26 09:23:58 +02:00
bitacovir
1d4722f32c [UI] Replace SVG icon files for Plain SVG format 2021-04-25 22:04:17 +02:00
wmayer
5626bab055 App: [skip ci] fix memory leaks:
Found two memory leaks in class Enumeration
* method tearDown() always ignored to free the memory of the first element
* assignment operator didn't call tearDown() when needed
2021-04-25 21:58:24 +02:00
wmayer
8c4d77f2ca TD: do not delete mtextedit.h for in-source builds 2021-04-25 13:15:20 +02:00
luz paz
e0ab0382b3 Part: remove py2 code 2021-04-25 11:29:35 +02:00
luz paz
17ffa8255b Gui: remove py2 code 2021-04-25 11:27:48 +02:00
luz paz
2321c90c76 Mesh: remove py2 code 2021-04-25 11:26:39 +02:00
luz paz
1212bef4cd [FEM] remove Py2 code 2021-04-25 11:25:29 +02:00
0penBrain
5c10c586cd [Sketcher] Visibility automation : add ability to open sketch in Section View mode 2021-04-24 16:22:46 +02:00
Abdullah Tahiri
841c328eb3 Sketcher: Changes to split edge functionality
=============================================

This commit is directed to external functionality of the split() function.

1. getAppliedConstraints renamed to getConstraintIndices

This is just for clarity being a general function

2. SwapInvolvedGeometry functionality moved to Constraint class

Why?
i. Because it is a specific operation on a constraint, it must not be
a public function, as it does not define interface of the Sketch.
ii. It could be a lambda or a private utility function, but them it would not be reusable.
iii. It could be part of a helper class, but then, it is would be less reusable.

3. renaming of the flag passed to transferConstraints function
2021-04-24 14:38:44 +02:00
Tomas Pavlicek
a7d83b5e15 Sketcher - Add new Split Edge action 2021-04-24 14:30:35 +02:00
wmayer
9209d35390 TD: fix memory leaks in BaseGeom::baseFactory() and make code more readable 2021-04-23 17:05:13 +02:00
Yorik van Havre
8d7281e97b Draft: Fixed default color for new dimensions (now uses DefautTextColor instead of DefaultLineColor) 2021-04-23 15:46:39 +02:00
Andrew White
57c708a4d6 Add human readable version to mac app bundle
CFBundleVersion is used by the system to identify
app versions, but CFBundleShortVersionString is
what Finder shows about the app when using the Get
Info screen. Having the version available there
makes it easer to check app versions without
launching FreeCAD
2021-04-23 15:32:45 +02:00
wmayer
0edbea1316 Base: use Python's weak reference mechanism to avoid memory leaks due to cyclic dependencies 2021-04-23 11:02:19 +02:00
wmayer
1d34fc0aa1 Gui: fix memory leak in SelectionParser::yyparse() 2021-04-22 23:16:03 +02:00
sliptonic
5bc11fe66f Merge pull request #4749 from sliptonic/feature/inspecttool
[Path] adjust tool position during inspect
2021-04-22 08:33:14 -05:00
luz paz
9e6fe284ed Sketcher: remove Py2 code from Sketcher wb 2021-04-22 14:11:04 +02:00
luz paz
738a697d94 [TD] remove Py2 code from TD 2021-04-22 13:08:56 +02:00
Yorik van Havre
ba99b72984 Merge pull request #4748 from steelman/material-color-dialog
Arch: Fix material color pickers
2021-04-22 11:05:11 +02:00
Yorik van Havre
d88ac32a45 Merge pull request #4747 from SniperCZE/master
AddonManager cannot download anything if working dir is on ecryptfs (aka ubuntu's encrypted home)
2021-04-22 11:03:13 +02:00
Yorik van Havre
89893fba89 Merge pull request #4745 from steelman/opening-modes
Arch: Parse window opening modes with more than one digit
2021-04-22 11:01:08 +02:00
Yorik van Havre
c52e55c75b Merge pull request #4724 from Syres916/patch-15
[Techdraw] Fix minor bug changing Image Crop...
2021-04-22 10:59:23 +02:00
wmayer
3fd643d3ee fixes #0003844: PVS: The pointer was not released in destructor. A memory leak is possible. 2021-04-21 21:46:14 +02:00
Ondrej Flidr
823c21b3be Merge branch 'master' into master 2021-04-21 21:30:56 +02:00
wmayer
f66bc8fc90 Gui: use public methods in Command sub-classes 2021-04-21 19:34:50 +02:00
steelman
dbf1927f77 Merge branch 'master' into opening-modes 2021-04-21 17:16:30 +02:00
Łukasz Stelmach
e3df634a20 Arch: Fix material color pickers
Provide currently set color as initial value for getColor() to enable
convenient incremental changes.

Do not change the colour if the Cancel buton was pressed.

Signed-off-by: Łukasz Stelmach <stlman@poczta.fm>
2021-04-21 17:11:10 +02:00
Ondrej Flidr
7d0f808b9c tabs to spaces 2021-04-21 15:31:40 +02:00
wmayer
5ee0a355dd Mesh: [skip ci] fixes #0004430: Mesh_BuildRegularSolid: parametric mesh props have no units in Property editor 2021-04-21 14:50:45 +02:00
Chris Hennes
ef60a73cb5 [OpenSCAD] Fix regression with angle specification
Correct mistake introduced in 0e66abcab.
2021-04-21 14:20:10 +02:00
Ondrej Flidr
b457dc4062 revert dynamic char limit 2021-04-21 13:38:51 +02:00