luzpaz
f3bf8fe919
Misc. typos
...
+ some are doxy others are just comment code.
+ some minor whitespace and grammatical tweaks.
+ app/SCL/* typos have also been submitted upstream (https://github.com/stepcode/stepcode/pull/366 ). So it's ok to merge them in to master.
2017-10-04 17:59:11 +02:00
wmayer
6a063778c1
property editor for PropertyLinkList
2017-09-23 18:03:03 +02:00
wmayer
d7aabc1a80
don't exit FreeCAD when Ext directory doesn't exist
2017-09-22 10:37:11 +02:00
Stefan Tröger
e6c2bfd205
Maintain backlinks on dynamic property removal. fixes #0003189
2017-09-21 13:29:20 +02:00
Stefan Tröger
84667e46f0
Expose global placement calculation to python API
2017-09-21 12:58:01 +02:00
Stefan Tröger
ca74544959
Don't check for multiple groups when performing a transaction. fixes #0003150
...
During undo/redo the order in which objects are removed from a group and added to annother is arbitrary, hence it cannot comply to the single Group rule. Not echking for it in this case is unproblematic, as undo/redo only recrete former states, and those states have been checked in normal operation.
2017-09-21 12:48:39 +02:00
Stefan Tröger
892301367a
Expressions: Prevent backlink creation to same objects. fixes #0003192
2017-09-21 12:11:13 +02:00
Stefan Tröger
59684cfa4c
Fix wrong detection of multiple GeoFeatureGroups
2017-09-21 11:14:21 +02:00
looooo
c7a4541722
new-style-modules: adding the possebility to import from "freecad"
...
(this mostly aims at new modules and extension modules which want to use pip)
- any module having problems with nameclashes can use this syntax (from freecad import module)
- current imports still work (backward cobatibility)
- python extension moduels can be installed (pip) to python std path (eg.: site-packages)
- adding app, gui to the new freecad package:
```
from freecad import app
from freecad import gui
```
- syntax for importing c++ extension will not change
```
import FreeCAD as App
import FreeCADGui as Gui
```
2017-09-20 23:25:12 +02:00
Peter Lama
9187919bb8
Attacher UX enhancements
...
- New editor for MapMode with button to open attacher dialog
- Hide attachment properties when they are not applicable
- Disable super placement ui in attacher dialog when object is not attached
- Always select used mode in mode list
2017-09-20 19:24:35 +02:00
wmayer
fde42545ba
fix various coverity issues
2017-09-15 11:48:38 +02:00
luzpaz
a3953e95df
misc typos
...
misc-typos
2017-09-15 09:54:14 +02:00
wmayer
506ce6b5f5
fix override warnings
2017-09-15 01:49:12 +02:00
wmayer
c68112977e
fix override warnings
2017-09-15 00:58:21 +02:00
wmayer
712966ff50
rename method from remObject to removeObject to be more readable
2017-09-13 18:57:38 +02:00
wmayer
9d83bf8c12
mark document objects with Destroy flag before deleting them and handle this in the link properties
2017-09-13 16:14:19 +02:00
wmayer
ca77c54d10
rename status bit 'Delete' to 'Remove' as it fits better for its purpose, add new bit 'Destroy'
2017-09-13 15:47:48 +02:00
wmayer
071763d464
fix access of dangling pointer (in case undo/redo is off)
...
use unique_ptr to delete object before leaving remoObject
2017-09-13 15:11:29 +02:00
wmayer
f52b54e4f3
add method to remove elements from PropertyLinkSubList
2017-09-13 12:19:09 +02:00
wmayer
72c2ea5e6a
add missing return
2017-09-12 16:42:46 +02:00
wmayer
f59db97ac2
when accessing view provider of object make sure the object hasn't been removed from the document, raise an exception otherwise
2017-09-12 16:28:31 +02:00
wmayer
8e21d98a9a
do some security checks to avoid accessing invalid data
2017-09-12 15:21:07 +02:00
Zheng, Lei
15994d7287
OriginGroupExtension: fix wrong static_cast
2017-09-12 13:51:47 +02:00
wmayer
cebe4d17ab
in repr() of DocumentObjectPy return the full class name
2017-09-10 12:41:14 +02:00
wmayer
4ca7224312
support of loading old projects with shape binder or PartDesign boolean
2017-09-09 22:47:28 +02:00
wmayer
7c93459ec2
copy check for disabled or nested recomputes from old implementation of recompute()
2017-09-09 19:11:28 +02:00
wmayer
3a0c3499e5
improve whitespaces
2017-09-09 18:07:46 +02:00
Stefan Tröger
a03000cc68
Ensure touched features, which override mustExecute(), are recomputed.
2017-09-09 16:55:55 +02:00
Stefan Tröger
c14e508c74
Fix GeoFeatureGroup claimChildren in case some out-of-group item links to a child
2017-09-09 16:55:55 +02:00
Stefan Tröger
a65856c022
Ensure that GeoFeatureGroup claims children when a parent of it is deleted. fixes #0003150
2017-09-09 16:55:55 +02:00
Stefan Tröger
f293cf2b3b
Ensure finding the correct parent GeoFeatureGroup
2017-09-09 16:55:55 +02:00
Stefan Tröger
efe33757ee
Make sure all relevant links are found for object in GeoFeatureGroup. issue0003150
2017-09-09 16:55:55 +02:00
Stefan Tröger
b2874ec0dc
Keep backlink consitent during undo/redo. issue 0003150
2017-09-09 16:55:55 +02:00
Stefan Tröger
7829849104
Fix deleting a Part
2017-09-09 16:55:55 +02:00
Stefan Tröger
700741471f
Make Origins work well with scoped links
2017-09-09 16:55:55 +02:00
Stefan Tröger
8841fb0805
Make PartDesign::Boolean work with new Link structure
...
This is the first feature that used GeoFeatureGroupExtension and required links to the groups inside as well as to things on the same level. Hence a few modifications to link scopes have been nesseccary.
2017-09-09 16:55:55 +02:00
Stefan Tröger
4fa3005343
Make Group searching robust for cyclic dependencies. fixes #0002567
2017-09-09 16:55:55 +02:00
Stefan Tröger
b80e0b6191
DependencyGraph: show invalid links in red
2017-09-09 16:47:07 +02:00
Stefan Tröger
9cda1b53bc
Allow interchangable use of link properties and their derivatives
2017-09-09 16:47:07 +02:00
Stefan Tröger
d5633c37bf
Create special scope properties
2017-09-09 16:47:07 +02:00
Stefan Tröger
7d1560443c
Introduce Scoped links to prevent cross cs links
2017-09-09 16:47:07 +02:00
Stefan Tröger
7b72973ba6
Fix _inList tracking in case of link removal
2017-09-09 16:47:07 +02:00
Stefan Tröger
7f34cbe733
Ensure objects to be in a single GeoFeatureGroup only
2017-09-09 16:47:07 +02:00
Stefan Tröger
2b7e0dc327
Prevent cross GeoFeatureGroup links on recompute
2017-09-09 16:47:07 +02:00
Stefan Tröger
85125f2a49
Make InList hadling and topological sort more robust. fixes #0002871
2017-09-09 16:47:07 +02:00
wmayer
13b3abef35
direct support of Volt in units framework
2017-09-04 12:08:29 +02:00
wmayer
5242f47473
Port to occ7.2:
...
+ replace use of StlMesh classes as they have been removed
2017-09-02 00:26:04 +02:00
wmayer
a5bf15b55d
remove properties from transactions when being deleted
2017-08-28 21:20:17 +02:00
wmayer
88304ebfd0
Fix crash in enum property due to index out of range
2017-08-28 12:55:19 +02:00
Zheng, Lei
8ffcb3215a
App::Document: fix breakDependency
...
Fixed breakDependency to handle repetitive entries inside
PropertyLinkList
2017-08-19 18:56:24 +02:00