5294 Commits

Author SHA1 Message Date
Arjan Molenaar
9174682e5a
Undo manager records ids for attribute undo commands 2021-01-09 21:19:38 +01:00
Arjan Molenaar
d1b1a6d845
Fix ObjectNodeItem upperBound visibility 2021-01-09 21:19:38 +01:00
Arjan Molenaar
96c2491e9d
Fix issue in ObjectNodeItem when hiding ordering 2021-01-09 21:19:37 +01:00
Arjan Molenaar
a4747a8555
Fix error when reversing association direction 2021-01-09 21:19:36 +01:00
Arjan Molenaar
4ea861a499
Implement AssociationItem.show_direction as attribute 2021-01-09 21:19:35 +01:00
Arjan Molenaar
31feff33f0
Replace ObjectNodeItem.show_ordering by attribute 2021-01-09 21:19:35 +01:00
Arjan Molenaar
bfebaab266
Replace Decision/ForkNodeItem.combined with an association 2021-01-09 21:19:34 +01:00
Arjan Molenaar
55ded08cf7
Add decision/fork node example model 2021-01-09 21:19:33 +01:00
dependabot[bot]
474c0a30a3
Bump sphinx from 3.4.2 to 3.4.3 in /docs (#597)
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 3.4.2 to 3.4.3.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/3.x/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v3.4.2...v3.4.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-08 11:34:42 -05:00
dependabot[bot]
c5f07ea095
Bump sphinx from 3.4.2 to 3.4.3 (#596)
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 3.4.2 to 3.4.3.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/3.x/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v3.4.2...v3.4.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-08 11:32:49 -05:00
dependabot[bot]
54b66dfa0f
Bump sphinx from 3.4.1 to 3.4.2 (#591)
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 3.4.1 to 3.4.2.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/3.x/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v3.4.1...v3.4.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-05 19:55:51 -05:00
dependabot[bot]
74b94ebce7
Bump sphinx-rtd-theme from 0.5.0 to 0.5.1 in /docs (#594)
Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/readthedocs/sphinx_rtd_theme/releases)
- [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst)
- [Commits](https://github.com/readthedocs/sphinx_rtd_theme/compare/0.5.0...0.5.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-05 17:31:20 -05:00
dependabot[bot]
443e1bf5e8
Bump sphinx-rtd-theme from 0.5.0 to 0.5.1 (#592)
Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/readthedocs/sphinx_rtd_theme/releases)
- [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst)
- [Commits](https://github.com/readthedocs/sphinx_rtd_theme/compare/0.5.0...0.5.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-05 17:19:54 -05:00
dependabot[bot]
b69c36fb2d
Bump sphinx from 3.4.1 to 3.4.2 in /docs (#593)
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 3.4.1 to 3.4.2.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/3.x/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v3.4.1...v3.4.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-05 16:25:35 -05:00
pre-commit-ci[bot]
98fcec85e7
[pre-commit.ci] pre-commit autoupdate (#590)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-01-04 12:54:02 -05:00
Dan Yeaw
24376a22a0
Merge pull request #586 from gaphor/fix/undo-errors
Fix element dispatcher warnings
2021-01-02 22:26:06 -05:00
Arjan Molenaar
4488139927
Add test to check for excessive output when performing an undo 2021-01-01 11:49:30 +01:00
Arjan Molenaar
cc76d3516d
Use logger like we do for all modules in elementdispatcher.py 2021-01-01 11:37:24 +01:00
Arjan Molenaar
ffa3e6213f
Remove unused method Presentation.unsubscribe_all()
This is done from unlink().
2021-01-01 11:32:19 +01:00
Arjan Molenaar
b4cdf5fc87
Unregistering non-existant handlers is not an error
Reduce log level to debug
2021-01-01 11:32:19 +01:00
Arjan Molenaar
dbb8e9c654
Merge pull request #584 from gaphor/dependabot/pip/isort-5.7.0
Bump isort from 5.6.4 to 5.7.0
2020-12-31 10:09:50 +01:00
dependabot[bot]
b9f45dc673
Bump isort from 5.6.4 to 5.7.0
Bumps [isort](https://github.com/pycqa/isort) from 5.6.4 to 5.7.0.
- [Release notes](https://github.com/pycqa/isort/releases)
- [Changelog](https://github.com/PyCQA/isort/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/pycqa/isort/compare/5.6.4...5.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-31 05:27:11 +00:00
Dan Yeaw
b573bfc853
Merge pull request #582 from gaphor/everything-transactional
Everything transactional
2020-12-30 20:56:23 +00:00
Arjan Molenaar
22e814c41c
Clean up: naming, remove todo's 2020-12-30 17:51:42 +01:00
Arjan Molenaar
b731fa601a
Ensure associations are reverted when an error occurs 2020-12-30 17:51:42 +01:00
Arjan Molenaar
c2a22a3e68
Clean up test_undomanager.py 2020-12-30 17:51:41 +01:00
Arjan Molenaar
a960fa0548
Instantly restore state when it's changed outside of a transaction 2020-12-30 17:51:40 +01:00
Arjan Molenaar
48259e49e5
Raise error when a change happens outside a transaction 2020-12-30 17:51:37 +01:00
Arjan Molenaar
29571034ff
Add conftest 2020-12-30 17:48:45 +01:00
Arjan Molenaar
9627c0431f
Add transactions to tests that use undo manager 2020-12-30 17:48:45 +01:00
Arjan Molenaar
31b09ccabf
Convert test_undomanager to pytest 2020-12-30 17:48:44 +01:00
Arjan Molenaar
2185a86558
Refactor test_copyservice to pytest 2020-12-30 17:48:43 +01:00
Dan Yeaw
b6fc3d1b91
Merge pull request #583 from gaphor/fix/stylesheet-creation
Create style sheet on load and on new model
2020-12-29 22:22:26 -05:00
Arjan Molenaar
c097467726
Create style sheet on load and on new model
Do no longer create it instantly, as it can cause problems with model
loading.
2020-12-29 20:54:08 +01:00
Arjan Molenaar
4a8f3da252
Improve help function for Console plugin 2020-12-29 18:26:43 +01:00
Arjan Molenaar
2bef2887ea
Only connect opposite handle if it's connectable 2020-12-29 15:15:15 +01:00
Arjan Molenaar
95ae392bc7
Fix issue with opposite handle not connecting on placement
An invalid v2i transformation happened.
2020-12-29 15:12:14 +01:00
Arjan Molenaar
5606a93c32
Use Cairo context protocol 2020-12-29 10:37:09 +01:00
Dan Yeaw
ccbd1f352e
Merge pull request #579 from freddii/master
Fix misspelled words in docs
2020-12-28 22:56:04 -05:00
allcontributors[bot]
a6fe308277
docs: add freddii as a contributor (#580)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-12-28 22:53:27 -05:00
freddii
fd52e8c481 fixed typing mistakes 2020-12-28 21:15:24 +01:00
pre-commit-ci[bot]
d25b37d2ce
[pre-commit.ci] pre-commit autoupdate (#577)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2020-12-28 14:36:57 -05:00
dependabot[bot]
272cf8f2b4
Bump toolmantim/release-drafter from v5.12.1 to v5.13.0 (#575)
Bumps [toolmantim/release-drafter](https://github.com/toolmantim/release-drafter) from v5.12.1 to v5.13.0.
- [Release notes](https://github.com/toolmantim/release-drafter/releases)
- [Commits](https://github.com/toolmantim/release-drafter/compare/v5.12.1...4d1215c66d92eba9557a55da848b2281a1a19235)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-28 09:24:14 -05:00
Arjan Molenaar
a847d2c2b0
Merge pull request #574 from gaphor/instant-matrix-i2c
Presentation instantly updates `matrix_i2c`
2020-12-27 17:44:53 +01:00
Arjan Molenaar
d00c05ac01
Select current parent as dropzone on start move 2020-12-27 15:48:57 +01:00
Arjan Molenaar
e02ae7605a
Presentation now instantly updates matrix_i2c
No need for update phase.
2020-12-27 15:35:47 +01:00
Arjan Molenaar
fc604f0edc
Merge pull request #572 from gaphor/presentation-requires-diagram
Presentation requires diagram
2020-12-26 23:36:22 +01:00
Arjan Molenaar
bc5c0a33d3
Fix grammar 2020-12-26 23:00:42 +01:00
Sourcery AI
533154f4e8 'Refactored by Sourcery' 2020-12-26 17:13:48 +01:00
Arjan Molenaar
543a609eff
Let Presentation inherit from Gaphas' Matrices
We need those anyway.
2020-12-26 17:10:01 +01:00