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
Dan Yeaw
176c52f7dc
Add wheel to build-system dependencies
...
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-04-13 18:00:41 -04:00
Arjan Molenaar
442b4a816a
Remove UIManager service
...
It was a weird one, inheriting from Gtk.UIManager and working in close
collaboration with the ActionManager. Now everything is in ActionManager.
Note: this change will require a `poetry install`.
2019-04-10 15:11:52 +02:00
Dan Yeaw
9c6604f5f0
Add setuptools to dependencies
...
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-04-08 22:32:20 -04:00
Dan Yeaw
829d941504
Make build system require setuptools to fix PEP517 BackendUnavailable
...
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-04-07 23:01:31 -04:00
Dan Yeaw
7778f8255e
Bump version to 1.0.0.post2
...
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-04-07 22:24:43 -04:00
Dan Yeaw
2eba9134ff
Bump version to 1.0.0.post1, fix version in about dialog
...
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-04-04 18:29:44 -04:00
Dan Yeaw
d49a87c002
Bump version to 1.0.0
...
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-04-03 21:47:39 -04:00
Dan Yeaw
aad026d3ca
Add scripts and plugins to pyproject.toml
...
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-03-30 23:13:32 -04:00
Dan Yeaw
6f37e1c318
Undo change to pyproject.toml
...
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-03-30 20:21:51 -04:00
Dan Yeaw
dabf1cdb64
Correctly display License on GitHub
...
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-03-30 20:10:32 -04:00
Arjan Molenaar
5b744e865f
Merge remote-tracking branch 'origin/apache-license'
2019-03-30 18:57:20 +01:00
Dan Yeaw
10c5c9e3a6
Upgrade Briefcase to get dmg generation support
...
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-03-29 12:26:45 -04:00
Dan Yeaw
acec8dfdcb
Fix poetry publish needs username, tag not detected, release 1.0.0rc5
...
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-03-22 23:30:15 -04:00
Dan Yeaw
49d471af0a
Fix pacman command not found, run tests with coverage, release 1.0.0rc4
...
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-03-22 22:45:02 -04:00
Dan Yeaw
0b3bc4a79c
Update deployment pipeline, Release 1.0.0rc3
...
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-03-21 22:21:48 -04:00
Dan Yeaw
6efff62c9c
Update NEWS for version 1.0.0, release 1.0.0rc2
...
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-03-21 21:59:19 -04:00
Dan Yeaw
fdab1aa9ef
Merge branch 'master' into briefcase-squashed
...
# Conflicts:
# gaphor/__init__.py
2019-03-17 22:03:06 -04:00
Dan Yeaw
f075598919
Add briefcase dependency to pyproject.toml
...
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-03-17 22:00:27 -04:00
Dan Yeaw
8e7dc615c5
Update project to be compatible with Briefcase for packaging
...
Signed-off-by: Dan Yeaw <dan@yeaw.me>
Fix re not found and no command build_py_with_sub_commands
Signed-off-by: Dan Yeaw <dan@yeaw.me>
Fix command not found utils.command.run
Signed-off-by: Dan Yeaw <dan@yeaw.me>
Fix AttributeError: 'list' object has no attribute 'split'
Signed-off-by: Dan Yeaw <dan@yeaw.me>
Fix FileNotFound with relative path to __init__.py
Signed-off-by: Dan Yeaw <dan@yeaw.me>
Fix FileNotFound with relative path to README
Signed-off-by: Dan Yeaw <dan@yeaw.me>
Remove icons for linux and windows
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-03-17 22:00:21 -04:00
Dan Yeaw
1bf639ef5b
Update README and pyproject.toml with Apache License
...
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-03-16 21:43:12 -04:00
Dan Yeaw
db1878e6b3
Merge branch 'master' into apache-license
2019-03-16 21:37:24 -04:00
Dan Yeaw
94878b2231
Fix poetry install fail due to readme file name change
...
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-03-15 22:39:47 -04:00
Dan Yeaw
b0dea9f162
Update LICENSE from LGPL 2.0 to Apache 2.0
...
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-03-12 21:20:22 -04:00
Dan Yeaw
48c2bcff5a
Update version to 1.0.0rc1
2019-03-02 22:02:20 -05:00
Arjan Molenaar
3c966620ec
Remove errorous bit from pyproject.toml
2019-02-28 22:02:55 +01:00
Dan Yeaw
c1a7d11c3d
Remove legacy Python from Poetry dependencies
...
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-02-25 14:46:35 -05:00
Dan Yeaw
0da0f1fd0c
Remove tox as a dependency
...
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-02-25 14:44:12 -05:00
Dan Yeaw
f55e582299
Remove futurize dependency, drop support for Python 2
...
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-02-23 22:06:02 -05:00
Dan Yeaw
9a55a28fa0
Add Gaphas 1.0.0 to dependencies and update dependencies
...
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-01-06 09:48:46 -05:00
Dan Yeaw
db55ccdd2e
Add and update configuration files, update project to version 1.0.0
...
Supports pyproject.toml and poetry.lock. Add configuration file for
Travis CI. Update pytest so that doctests are only run in Python 3.7.
Update pre-commit configuration to work with Python 3.7.1. Remove
pylintrc (replaced by black), tox.ini, MANIFEST.in, and ez_setup.py
which are replaced by pyproject.toml.
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2018-12-02 20:56:52 -05:00