Commit Graph

280 Commits

Author SHA1 Message Date
Arjan Molenaar
2e0e17ad26
Use Gaphas 3.0.0a1
This may fix the windows build.
2020-12-05 16:03:14 +01:00
Arjan Molenaar
2fdc86b0af
Merge branch 'master' into gaphas-3 2020-12-01 20:07:02 +01:00
Dan Yeaw
55b5316a2e
Bump version
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2020-11-30 20:55:37 -05:00
Dan Yeaw
666777eb6a
Bump version and update dependencies
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2020-11-29 13:50:03 -05:00
dependabot[bot]
b81d0461d7
Bump pre-commit from 2.8.2 to 2.9.0
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.8.2 to 2.9.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v2.8.2...v2.9.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-23 06:57:09 +00:00
Arjan Molenaar
42c0521124 Merge branch 'master' into gaphas-3 2020-11-20 16:46:44 +01:00
dependabot[bot]
19b8371c88
Bump babel from 2.8.1 to 2.9.0
Bumps [babel](https://github.com/python-babel/babel) from 2.8.1 to 2.9.0.
- [Release notes](https://github.com/python-babel/babel/releases)
- [Changelog](https://github.com/python-babel/babel/blob/master/CHANGES)
- [Commits](https://github.com/python-babel/babel/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-13 06:10:59 +00:00
Arjan Molenaar
a5f36cd816
First pass at synching Gaphor with Gaphas 3 2020-11-12 22:09:21 -05:00
dependabot[bot]
c9478cbf83
Bump babel from 2.8.0 to 2.8.1
Bumps [babel](https://github.com/python-babel/babel) from 2.8.0 to 2.8.1.
- [Release notes](https://github.com/python-babel/babel/releases)
- [Changelog](https://github.com/python-babel/babel/blob/master/CHANGES)
- [Commits](https://github.com/python-babel/babel/compare/v2.8.0...v2.8.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-12 06:14:49 +00:00
dependabot[bot]
bb6c197609
Bump sphinx from 3.2.1 to 3.3.0
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 3.2.1 to 3.3.0.
- [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.2.1...v3.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-03 06:13:57 +00:00
dependabot[bot]
d2aaabadf5
Bump pre-commit from 2.7.1 to 2.8.1
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.7.1 to 2.8.1.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v2.7.1...v2.8.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-29 22:50:41 +00:00
Arjan Molenaar
2d3c1ae37b Remove PyInstaller from pyproject.toml 2020-10-18 10:03:02 +02:00
Arjan Molenaar
4c1d0ec511 Add pefile since pyinstaller needs it. 2020-10-17 22:25:21 +02:00
Dan Yeaw
a1eec28d87
Fix cannot uninstall distlib error in Windows
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2020-10-17 14:47:00 -04:00
Arjan Molenaar
1c18214168 Regenerate lock file 2020-10-17 18:22:10 +02:00
Arjan Molenaar
b400c436ec Make Windows build more alike Linux and Mac 2020-10-17 17:42:46 +02:00
dependabot[bot]
2fd0972ac2
Bump mypy from 0.782 to 0.790
Bumps [mypy](https://github.com/python/mypy) from 0.782 to 0.790.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.782...v0.790)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-12 06:44:12 +00:00
dependabot[bot]
64bd83a1cf
Bump isort from 5.5.5 to 5.6.1
Bumps [isort](https://github.com/pycqa/isort) from 5.5.5 to 5.6.1.
- [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.5.5...5.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-09 06:13:06 +00:00
dependabot[bot]
5c65cde614
Bump pytest from 6.1.0 to 6.1.1
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/6.1.0...6.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-05 06:41:02 +00:00
Dan Yeaw
62349a3b43 Update poetry version 2020-10-03 15:14:02 -04:00
Arjan Molenaar
559d7c091e Update pre-commit hooks 2020-09-26 11:41:50 +02:00
Dan Yeaw
1d127a5df3 Fix distlib install update error in MSYS2 2020-09-19 13:29:23 -04:00
Arjan Molenaar
67f8a46a6f Move Diagrams component to it's own module 2020-09-11 21:59:07 +02:00
Arjan Molenaar
6ad09e6e26 Emit application and session create events
Now Application works in line (sort of) of now a session works.
2020-09-09 21:19:32 +02:00
dependabot[bot]
bfabe89334
Bump isort from 5.4.2 to 5.5.0
Bumps [isort](https://github.com/pycqa/isort) from 5.4.2 to 5.5.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.4.2...5.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-04 06:03:31 +00:00
Dan Yeaw
20c1abd5d9 Update poetry version used 2020-08-29 15:16:12 -04:00
Dan Yeaw
61ef9e2537
Bump version and add news for version 2.0.1
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2020-08-27 21:02:34 -04:00
dependabot[bot]
21dbabd4bc
Bump black from 19.10b0 to 20.8b1
Bumps [black](https://github.com/psf/black) from 19.10b0 to 20.8b1.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/master/CHANGES.md)
- [Commits](https://github.com/psf/black/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-27 06:11:11 +00:00
Dan Yeaw
6dc430f397
Merge pull request #418 from gaphor/update-readme
Update readme
2020-08-26 20:02:17 -04:00
Arjan Molenaar
e0773f3f14 Update homepage to gaphor.org 2020-08-26 10:25:19 +02:00
Arjan Molenaar
a7ec7b41c3 And run the doctests 2020-08-25 10:02:38 +02:00
Arjan Molenaar
6fd21d633c Run console tests as well 2020-08-25 09:07:35 +02:00
dependabot[bot]
4165757959
Bump pre-commit from 2.6.0 to 2.7.1
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.6.0 to 2.7.1.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v2.6.0...v2.7.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-24 06:16:51 +00:00
dependabot[bot]
4d00c98e4a
Bump pytest-cov from 2.10.0 to 2.10.1
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 2.10.0 to 2.10.1.
- [Release notes](https://github.com/pytest-dev/pytest-cov/releases)
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v2.10.0...v2.10.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-18 01:16:42 +00:00
dependabot[bot]
6e3569f717
Bump isort from 5.3.2 to 5.4.2
Bumps [isort](https://github.com/timothycrosley/isort) from 5.3.2 to 5.4.2.
- [Release notes](https://github.com/timothycrosley/isort/releases)
- [Changelog](https://github.com/timothycrosley/isort/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/timothycrosley/isort/compare/5.3.2...5.4.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-17 01:59:44 +00:00
Dan Yeaw
5b9d1b5e2d
Fix Coverage omit value should be list
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2020-08-10 20:18:00 -04:00
Dan Yeaw
2f7aea1257
Update dependencies
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2020-08-09 21:08:37 -04:00
Dan Yeaw
ea0a42f00d
Fix unknown config option warning
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2020-08-09 20:30:42 -04:00
Dan Yeaw
5d7b2d4abc
Move coveragerc to pyproject.toml
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2020-08-09 19:15:04 -04:00
Dan Yeaw
115d323988
Move pytest.ini in to pyproject.toml
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2020-08-09 19:02:13 -04:00
Dan Yeaw
720db35193
Update pytest to version 6.0
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2020-08-09 18:53:30 -04:00
Dan Yeaw
6ccd395a68
Bump version and update change log
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2020-07-19 22:19:38 -04:00
Arjan Molenaar
135ea1ef01 Move remaining preferences to settings pane
Saves one more dialog.
2020-07-13 22:46:25 +02:00
Arjan Molenaar
b3cf3ccff9 Upgrade Gaphas to 2.1.1 2020-07-11 11:36:13 +02:00
Arjan Molenaar
4ddda24e84 Upgrade isort to 5.0.7 2020-07-10 12:05:07 +02:00
Arjan Molenaar
96c7a2a1c6 Move gaphorconvert to diagramexport package 2020-07-10 11:29:19 +02:00
Arjan Molenaar
851f457aa9 Use Gaphas master for a while 2020-07-05 17:23:09 +02:00
Dan Yeaw
4559d549da
Merge branch 'master' into css-selectors
# Conflicts:
#	poetry.lock
2020-07-03 09:58:22 -04:00
Arjan Molenaar
77cd0e3c27 Add cssselect2's parser code 2020-07-01 21:18:17 +02:00
Arjan Molenaar
f338c8bc5c Change core.styling into a package
Now parser, selector and all can be put in separate modules.
2020-06-30 20:23:32 +02:00
Arjan Molenaar
be660e1980 Add some basic rules for CSS selectors 2020-06-29 22:48:46 +02:00
Arjan Molenaar
15d0ed6965 Bump Gaphas dependency to 2.1 2020-06-22 08:21:40 +02:00
Arjan Molenaar
bcb276d09e First attempt at parsing CSS 2020-06-04 22:19:00 +02:00
Arjan Molenaar
90b4a0e927 Add dependency to tinycss2 2020-06-04 22:19:00 +02:00
Arjan Molenaar
bd10c37cf2 Remove old reminiscent from setup.py era 2020-05-17 22:33:55 +02:00
Arjan Molenaar
7b4ad946b7 Merge Initial and History pseudostate items in to one
They differentiate mainly on "kind" attribute.
2020-05-09 23:14:12 +02:00
Arjan Molenaar
7a170c0790 Update version for Flake8 and MyPy 2020-05-09 22:57:28 +02:00
Arjan Molenaar
f9bb095c49 Clean up diagram item imports 2020-05-05 14:16:43 +02:00
Arjan Molenaar
5c6dea490b Rename ModelProvider to ModelingLanguage 2020-04-16 20:40:54 +02:00
Arjan Molenaar
82012b99e4 Add simple SysML model provider 2020-04-16 20:35:12 +02:00
Arjan Molenaar
41e0cc6258 Define ElementDispatcher as a service again
Since we do not want to pass dependencies along through ElementFactory.

Cleaned up unit tests
2020-04-16 20:35:12 +02:00
Arjan Molenaar
bdade85d69 Remove uml model provider as a service
It's now exclusively accesisble through the ModelProvider service.
2020-04-16 20:35:12 +02:00
Arjan Molenaar
b1dd9d093e Let ModelProvider load modelProviders
Model providers do not need to be services.
They do not have behaviour, only provider data to other services.
2020-04-16 20:33:07 +02:00
Arjan Molenaar
93cf5f6d6e Move Sanitizer service to gaphor.UML package 2020-04-16 20:32:35 +02:00
Arjan Molenaar
6faa2cf7ff ElementDispatcher and storage now use ModelProvider
No Generic model provider implementation yet, so all defaults to
implementations of the UMLModelProvider.
2020-04-16 20:32:35 +02:00
Arjan Molenaar
13d2dac447 First take on a UML Model Provider 2020-04-16 20:29:34 +02:00
Arjan Molenaar
f84d7b8e31 Move EventManager to gaphor.core 2020-04-08 21:48:49 +02:00
Arjan Molenaar
f4591d7de9 Move ElementFactory to gaphor.core.modeling 2020-04-08 21:23:45 +02:00
Dan Yeaw
3635bf3556
Bump version to 1.2.0, update change log
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2020-03-14 13:44:03 -04:00
Arjan Molenaar
db9cf776e1
Merge pull request #269 from gaphor/win-installer
Windows installer fixes
2020-02-26 08:55:58 +01:00
Dan Yeaw
4ef319fd75
Use poetry 1.0.0b7 until MSYS2 issues are fixed 2020-02-23 12:41:43 -05:00
Arjan Molenaar
f44a0b4a04 Update isort config 2020-02-17 21:44:25 +01:00
Arjan Molenaar
6dc17e17dd Formatting 2020-02-17 21:10:16 +01:00
Arjan Molenaar
3a345ee40d Add Console, but removed completer import from console.py 2020-02-16 12:17:15 +01:00
Arjan Molenaar
993f553022 Bump version to 1.2.0rc2
To test releases.
2020-02-15 09:02:52 +01:00
Arjan Molenaar
c2db57433a Do not add pyinstaller via poetry
Windows-specific dependencies seem to be not picked up.
2020-02-13 21:50:41 +01:00
Arjan Molenaar
e79b3f628c Bump version to 1.2.0rc1 2020-02-12 00:01:24 +01:00
Arjan Molenaar
618eeabc06 Load models in a new window
In case of an untouched new model, the model is loaded in the current
window.
2020-01-22 21:41:55 +01:00
Arjan Molenaar
6cd64043d8 Keep active session in sync with active window 2020-01-22 21:41:55 +01:00
Arjan Molenaar
54e456451c Create session with Application.new_session() 2020-01-22 21:41:55 +01:00
Arjan Molenaar
79d52af373 Move Gaphor main code to gaphor.ui
Now all startup code is closer together.
2020-01-22 21:41:55 +01:00
Dan Yeaw
f5a316c453
Update to latest gaphas dependency
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2020-01-11 22:16:34 -05:00
Dan Yeaw
3139a11f77
Update dependencies
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2020-01-11 20:05:07 -05:00
Arjan Molenaar
567071a5d1 Fix deprecated statement in pyproject file 2020-01-09 20:03:14 +01:00
Dan Yeaw
53ba894dd0
Merge pull request #239 from gaphor/github-actions
Migrate to GitHub Actions
2019-11-29 12:58:09 -05:00
Dan Yeaw
c84874b656
Fix segmentation faults during Pytest runs
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-11-27 15:23:00 -05:00
Dan Yeaw
cd90d959bd
Remove azure pipelines
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-11-26 10:59:01 -05:00
Arjan Molenaar
8cc286320b Add both about and shortcuts window in the help service
Both screens are alike. Now the about window is also rendered from a
Glade file.
2019-11-25 18:32:13 +01:00
Arjan Molenaar
537a19e7a9
Merge pull request #236 from gaphor/i18n
Internationalization/Localization support
2019-11-19 17:52:10 +01:00
Arjan Molenaar
21c8663b68 Use babel-glade extractor 0.6.0
no longer need my fork.
2019-11-19 16:14:22 +01:00
Arjan Molenaar
efa49fdbd9 Add Keyboard Shortcuts window 2019-11-18 23:24:14 +01:00
Arjan Molenaar
1547dfe8ad Merge branch 'master' into i18n 2019-11-17 22:26:43 +01:00
Arjan Molenaar
6ab9c7f29a Use our custom version of babel-glade
Drop lxml dependency.
2019-11-16 21:55:08 +01:00
Arjan Molenaar
a521d065be Add some infra to build po and mo files 2019-11-11 07:53:06 +01:00
Arjan Molenaar
c7fd56a20c Add Babel as dev dependency 2019-11-10 21:29:35 +01:00
Dan Yeaw
9dd58fc52b
Remove unneeded isort config value
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-11-09 20:31:33 -05:00
Dan Yeaw
1d8d657a83
Add flake8, isort, check-toml, and check-yaml to pre-commit
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-11-09 20:23:55 -05:00
Arjan Molenaar
032fef4b43 Use generic library instead of a copy 2019-11-09 09:57:22 +01:00
Arjan Molenaar
86a87f1476 install typing_extensions
Should not rely on the one mypy installs
2019-11-04 22:27:15 +01:00
Dan Yeaw
60a3caa96d
Fix: key hashes does not exist
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-11-02 17:06:22 -04:00
Dan Yeaw
3ea8335c46
Bump version to 1.1.1 2019-11-01 21:08:19 -04:00
Dan Yeaw
27ae9d11c7
Add doc dependencies to dev dependencies 2019-10-27 10:28:40 -04:00
Dan Yeaw
eb40c6f308
Update pytest and remove pytest-sugar 2019-10-27 10:12:31 -04:00
Dan Yeaw
08c401fd1c
Merge pull request #218 from gaphor/1.1.0-release
1.1.0 Release
2019-10-26 18:43:30 -04:00
Arjan Molenaar
21e01a51a9 Separate console as a plugin
It's not strictly part of the core.
2019-10-25 09:04:14 +02:00
Dan Yeaw
369ba17021
Merge master
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-10-23 21:32:36 -04:00
Arjan Molenaar
1f444d5c4a Remove "Import" menu entry
It's empty by default. If someone wants to create an import plugin, put
it under "Tools".
2019-10-23 10:11:17 +02:00
Arjan Molenaar
48c3601e14 Remove diagramlayout plugin 2019-10-23 10:11:17 +02:00
Arjan Molenaar
d9bc736132 Remove PyNSource plugin 2019-10-23 10:11:17 +02:00
Dan Yeaw
015d258b5b
Update sub-module to latest
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-10-22 21:50:26 -04:00
Dan Yeaw
03dc9def29
Pin mypy to previous version to fix mypy errors
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-10-19 13:33:19 -04:00
Dan Yeaw
997d872999
Upgrade mypy dependency
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-10-18 22:19:59 -04:00
Dan Yeaw
5efb5f0de2
Replace requirements.txt for docs with pyproject.toml
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-10-15 22:12:59 -04:00
Arjan Molenaar
e54f1192ba Remove unused imports throughout the code base
Thanks to autoflake.
2019-10-13 15:03:07 +02:00
Arjan Molenaar
a839cb878e
Merge pull request #207 from gaphor/menu-upgrade
Menu upgrade
2019-10-11 10:00:34 +02:00
Arjan Molenaar
86933ea3a4 Upgrade dependencies
Should fix build issue on Macos
2019-10-11 09:46:07 +02:00
Arjan Molenaar
f8a35c884e Reove alignment plugin
The functionality has been superseeded by guides on the canvas.
2019-10-08 22:49:34 +02:00
Arjan Molenaar
3132570def Move diagram export to plugins
It's a plugin, not a (core) service.
2019-10-08 22:27:15 +02:00
Arjan Molenaar
fdb71fc53b Remove all use of action_manager 2019-10-04 17:08:51 +02:00
Arjan Molenaar
b50a2f24e5 Add a preferences dialog to house the settings
Now they do not need a place in the menu anymore.
2019-10-03 23:23:59 +02:00
Arjan Molenaar
1ad4be0798 Create menu extension points for import, export and tools.
Let's see if we need more.
2019-10-02 22:46:43 +02:00
Arjan Molenaar
a6aa6532d0 Moved filemanager to ui package 2019-10-01 23:55:32 +02:00
Arjan Molenaar
e95e3a7241 Handle recent files through the GTK facility
This saves me some headaches synching files with GUI and it's done GNOME
wide.
2019-09-27 00:08:59 +02:00
Arjan Molenaar
b01652773c Update dependencies
Make tomlkit a dev dependency.
2019-09-09 13:38:26 +02:00
Arjan Molenaar
4de35bc855 Bump Poetry version to 1.0.0b1 2019-09-09 13:34:52 +02:00
Arjan Molenaar
6af402df1a Add MyPy as a dev dependency
This should help if you need to run mypy for some reason, or use it as your
linter in VSCode for example.
2019-09-02 16:46:15 +02:00
Arjan Molenaar
a148c464eb Bump version to 1.1.0 2019-08-05 22:00:06 +02:00
Dan Yeaw
86749c740c
Pin poetry version 2019-07-30 20:55:59 -04:00
Dan Yeaw
7a293ceb3c
Bump gaphor version
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-07-08 21:39:09 -04:00
Dan Yeaw
dbf595fc1f
Merge branch 'master' into pytest-conversion
# Conflicts:
#	gaphor/application.py
#	poetry.lock
#	pyproject.toml
2019-07-08 20:55:29 -04:00
Arjan Molenaar
67fc8ac2e5 Update dependency version for Gaphas and Black 2019-07-08 09:05:02 +02:00
Dan Yeaw
c7d7890d33
Add tomlkit to dependencies
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-06-16 15:19:54 -04:00
Arjan Molenaar
b1d0bfa292 Remove build-system dependency on setuptools and wheel 2019-06-14 22:31:07 +02:00
Arjan Molenaar
8650d9d3d8 Remove briefcase as a dependency 2019-06-08 16:58:40 +02:00
Arjan Molenaar
17c319d4bb Use importlib_metadata instead of pkg_resources
We're no longer depending on setuptools.
2019-06-07 23:51:31 +02:00
Arjan Molenaar
6048cf331f What if UI components are just services
Management of services can be arranged centrally and DI works without a hassle.
2019-06-03 21:47:01 +02:00
Arjan Molenaar
f575fad018 Let ElementFactory manage the ElementDispatcher
The dispatcher is only used in model elements and therefore does not need to be available as system wide service.
2019-06-02 22:23:05 +02:00
Arjan Molenaar
f77d3f8f75 move ElementDispatcher in Gaphor.UML
This functionality is very model related (used by gaphor.diagram code) and therefore should deserve a place in gaphor.UML.
2019-06-02 22:23:05 +02:00
Arjan Molenaar
b345c1784b Merge ElementFactory and ElementFactoryService into ElementFactory
With DI sorted out, there's no need for having two classes.
2019-06-01 18:07:29 +02:00
Arjan Molenaar
7026772caa Move event management into a separate service 2019-05-09 09:22:32 +02:00
Arjan Molenaar
f83a3d6554 Remove zope imports :) 2019-05-06 21:24:21 +02:00
Arjan Molenaar
11b94376d1 Rename ZopeComponentRegistry to ComponentRegistry
Since we're dropping the Zope dependency.
2019-05-05 21:46:09 +02:00
Arjan Molenaar
5952903f88 Remove AdapterLoader service
It didn't do a thing.
2019-05-05 21:46:09 +02:00
Dan Yeaw
c4f9d7eaf6
Rename msvc9compiler instead of excluding it from Black
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-04-19 22:45:12 -04:00
Dan Yeaw
8e3af5c14c
Include default directories to exclude with Black
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-04-19 22:33:15 -04:00
Dan Yeaw
9e14321648
Exclude patched Python 3 file from Black
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-04-19 22:20:42 -04:00
Dan Yeaw
e3fb4af05b Revert "Remove pyproject.toml for packaging"
This reverts commit 669cab09ba.
2019-04-19 21:35:55 -04:00
Dan Yeaw
669cab09ba
Remove pyproject.toml for packaging
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-04-17 20:34:01 -04:00
Dan Yeaw
4a035b2f99
Bump version to 1.0.1
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-04-15 21:20:29 -04:00
Dan Yeaw
9d932066bf
Relax pycairo and setuptools version requirements for Flatpak builds
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-04-14 11:23:53 -04:00