From bb47b580104052a6c1cfaf46fde4570060d1a19c Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Sat, 22 Jan 2022 01:14:16 +0100 Subject: init --- .gitignore | 2 + LICENSE | 674 +++++++++++++++++++++++++++++++++++++++++ README.rst | 55 ++++ build.sh | 12 + convert_icons.sh | 16 + feather/LICENSE | 21 ++ feather/activity.svg | 1 + feather/airplay.svg | 1 + feather/alert-circle.svg | 1 + feather/alert-octagon.svg | 1 + feather/alert-triangle.svg | 1 + feather/align-center.svg | 1 + feather/align-justify.svg | 1 + feather/align-left.svg | 1 + feather/align-right.svg | 1 + feather/anchor.svg | 1 + feather/aperture.svg | 1 + feather/archive.svg | 1 + feather/arrow-down-circle.svg | 1 + feather/arrow-down-left.svg | 1 + feather/arrow-down-right.svg | 1 + feather/arrow-down.svg | 1 + feather/arrow-left-circle.svg | 1 + feather/arrow-left.svg | 1 + feather/arrow-right-circle.svg | 1 + feather/arrow-right.svg | 1 + feather/arrow-up-circle.svg | 1 + feather/arrow-up-left.svg | 1 + feather/arrow-up-right.svg | 1 + feather/arrow-up.svg | 1 + feather/at-sign.svg | 1 + feather/award.svg | 1 + feather/bar-chart-2.svg | 1 + feather/bar-chart.svg | 1 + feather/battery-charging.svg | 1 + feather/battery.svg | 1 + feather/bell-off.svg | 1 + feather/bell.svg | 1 + feather/bluetooth.svg | 1 + feather/bold.svg | 1 + feather/book-open.svg | 1 + feather/book.svg | 1 + feather/bookmark.svg | 1 + feather/box.svg | 1 + feather/briefcase.svg | 1 + feather/calendar.svg | 1 + feather/camera-off.svg | 1 + feather/camera.svg | 1 + feather/cast.svg | 1 + feather/check-circle.svg | 1 + feather/check-square.svg | 1 + feather/check.svg | 1 + feather/chevron-down.svg | 1 + feather/chevron-left.svg | 1 + feather/chevron-right.svg | 1 + feather/chevron-up.svg | 1 + feather/chevrons-down.svg | 1 + feather/chevrons-left.svg | 1 + feather/chevrons-right.svg | 1 + feather/chevrons-up.svg | 1 + feather/chrome.svg | 1 + feather/circle.svg | 1 + feather/clipboard.svg | 1 + feather/clock.svg | 1 + feather/cloud-drizzle.svg | 1 + feather/cloud-lightning.svg | 1 + feather/cloud-off.svg | 1 + feather/cloud-rain.svg | 1 + feather/cloud-snow.svg | 1 + feather/cloud.svg | 1 + feather/code.svg | 1 + feather/codepen.svg | 1 + feather/codesandbox.svg | 1 + feather/coffee.svg | 1 + feather/columns.svg | 1 + feather/command.svg | 1 + feather/compass.svg | 1 + feather/copy.svg | 1 + feather/corner-down-left.svg | 1 + feather/corner-down-right.svg | 1 + feather/corner-left-down.svg | 1 + feather/corner-left-up.svg | 1 + feather/corner-right-down.svg | 1 + feather/corner-right-up.svg | 1 + feather/corner-up-left.svg | 1 + feather/corner-up-right.svg | 1 + feather/cpu.svg | 1 + feather/credit-card.svg | 1 + feather/crop.svg | 1 + feather/crosshair.svg | 1 + feather/database.svg | 1 + feather/delete.svg | 1 + feather/disc.svg | 1 + feather/divide-circle.svg | 1 + feather/divide-square.svg | 1 + feather/divide.svg | 1 + feather/dollar-sign.svg | 1 + feather/download-cloud.svg | 1 + feather/download.svg | 1 + feather/dribbble.svg | 1 + feather/droplet.svg | 1 + feather/edit-2.svg | 1 + feather/edit-3.svg | 1 + feather/edit.svg | 1 + feather/external-link.svg | 1 + feather/eye-off.svg | 1 + feather/eye.svg | 1 + feather/facebook.svg | 1 + feather/fast-forward.svg | 1 + feather/feather.svg | 1 + feather/figma.svg | 1 + feather/file-minus.svg | 1 + feather/file-plus.svg | 1 + feather/file-text.svg | 1 + feather/file.svg | 1 + feather/film.svg | 1 + feather/filter.svg | 1 + feather/flag.svg | 1 + feather/folder-minus.svg | 1 + feather/folder-plus.svg | 1 + feather/folder.svg | 1 + feather/framer.svg | 1 + feather/frown.svg | 1 + feather/gift.svg | 1 + feather/git-branch.svg | 1 + feather/git-commit.svg | 1 + feather/git-merge.svg | 1 + feather/git-pull-request.svg | 1 + feather/github.svg | 1 + feather/gitlab.svg | 1 + feather/globe.svg | 1 + feather/grid.svg | 1 + feather/hard-drive.svg | 1 + feather/hash.svg | 1 + feather/headphones.svg | 1 + feather/heart.svg | 1 + feather/help-circle.svg | 1 + feather/hexagon.svg | 1 + feather/home.svg | 1 + feather/image.svg | 1 + feather/inbox.svg | 1 + feather/info.svg | 1 + feather/instagram.svg | 1 + feather/italic.svg | 1 + feather/key.svg | 1 + feather/layers.svg | 1 + feather/layout.svg | 1 + feather/life-buoy.svg | 1 + feather/link-2.svg | 1 + feather/link.svg | 1 + feather/linkedin.svg | 1 + feather/list.svg | 1 + feather/loader.svg | 1 + feather/lock.svg | 1 + feather/log-in.svg | 1 + feather/log-out.svg | 1 + feather/mail.svg | 1 + feather/map-pin.svg | 1 + feather/map.svg | 1 + feather/maximize-2.svg | 1 + feather/maximize.svg | 1 + feather/meh.svg | 1 + feather/menu.svg | 1 + feather/message-circle.svg | 1 + feather/message-square.svg | 1 + feather/mic-off.svg | 1 + feather/mic.svg | 1 + feather/minimize-2.svg | 1 + feather/minimize.svg | 1 + feather/minus-circle.svg | 1 + feather/minus-square.svg | 1 + feather/minus.svg | 1 + feather/monitor.svg | 1 + feather/moon.svg | 1 + feather/more-horizontal.svg | 1 + feather/more-vertical.svg | 1 + feather/mouse-pointer.svg | 1 + feather/move.svg | 1 + feather/music.svg | 1 + feather/navigation-2.svg | 1 + feather/navigation.svg | 1 + feather/octagon.svg | 1 + feather/package.svg | 1 + feather/paperclip.svg | 1 + feather/pause-circle.svg | 1 + feather/pause.svg | 1 + feather/pen-tool.svg | 1 + feather/percent.svg | 1 + feather/phone-call.svg | 1 + feather/phone-forwarded.svg | 1 + feather/phone-incoming.svg | 1 + feather/phone-missed.svg | 1 + feather/phone-off.svg | 1 + feather/phone-outgoing.svg | 1 + feather/phone.svg | 1 + feather/pie-chart.svg | 1 + feather/play-circle.svg | 1 + feather/play.svg | 1 + feather/plus-circle.svg | 1 + feather/plus-square.svg | 1 + feather/plus.svg | 1 + feather/pocket.svg | 1 + feather/power.svg | 1 + feather/printer.svg | 1 + feather/radio.svg | 1 + feather/refresh-ccw.svg | 1 + feather/refresh-cw.svg | 1 + feather/repeat.svg | 1 + feather/rewind.svg | 1 + feather/rotate-ccw.svg | 1 + feather/rotate-cw.svg | 1 + feather/rss.svg | 1 + feather/save.svg | 1 + feather/scissors.svg | 1 + feather/search.svg | 1 + feather/send.svg | 1 + feather/server.svg | 1 + feather/settings.svg | 1 + feather/share-2.svg | 1 + feather/share.svg | 1 + feather/shield-off.svg | 1 + feather/shield.svg | 1 + feather/shopping-bag.svg | 1 + feather/shopping-cart.svg | 1 + feather/shuffle.svg | 1 + feather/sidebar.svg | 1 + feather/skip-back.svg | 1 + feather/skip-forward.svg | 1 + feather/slack.svg | 1 + feather/slash.svg | 1 + feather/sliders.svg | 1 + feather/smartphone.svg | 1 + feather/smile.svg | 1 + feather/speaker.svg | 1 + feather/square.svg | 1 + feather/star.svg | 1 + feather/stop-circle.svg | 1 + feather/sun.svg | 1 + feather/sunrise.svg | 1 + feather/sunset.svg | 1 + feather/tablet.svg | 1 + feather/tag.svg | 1 + feather/target.svg | 1 + feather/terminal.svg | 1 + feather/thermometer.svg | 1 + feather/thumbs-down.svg | 1 + feather/thumbs-up.svg | 1 + feather/toggle-left.svg | 1 + feather/toggle-right.svg | 1 + feather/tool.svg | 1 + feather/trash-2.svg | 1 + feather/trash.svg | 1 + feather/trello.svg | 1 + feather/trending-down.svg | 1 + feather/trending-up.svg | 1 + feather/triangle.svg | 1 + feather/truck.svg | 1 + feather/tv.svg | 1 + feather/twitch.svg | 1 + feather/twitter.svg | 1 + feather/type.svg | 1 + feather/umbrella.svg | 1 + feather/underline.svg | 1 + feather/unlock.svg | 1 + feather/upload-cloud.svg | 1 + feather/upload.svg | 1 + feather/user-check.svg | 1 + feather/user-minus.svg | 1 + feather/user-plus.svg | 1 + feather/user-x.svg | 1 + feather/user.svg | 1 + feather/users.svg | 1 + feather/video-off.svg | 1 + feather/video.svg | 1 + feather/voicemail.svg | 1 + feather/volume-1.svg | 1 + feather/volume-2.svg | 1 + feather/volume-x.svg | 1 + feather/volume.svg | 1 + feather/watch.svg | 1 + feather/wifi-off.svg | 1 + feather/wifi.svg | 1 + feather/wind.svg | 1 + feather/x-circle.svg | 1 + feather/x-octagon.svg | 1 + feather/x-square.svg | 1 + feather/x.svg | 1 + feather/youtube.svg | 1 + feather/zap-off.svg | 1 + feather/zap.svg | 1 + feather/zoom-in.svg | 1 + feather/zoom-out.svg | 1 + mbgui/__init__.py | 0 mbgui/__main__.py | 7 + mbgui/icons/eye-off-16.png | Bin 0 -> 624 bytes mbgui/icons/file-16.png | Bin 0 -> 520 bytes mbgui/icons/flag-16.png | Bin 0 -> 521 bytes mbgui/icons/folder-16.png | Bin 0 -> 478 bytes mbgui/icons/inbox-16.png | Bin 0 -> 559 bytes mbgui/icons/mail-16.png | Bin 0 -> 543 bytes mbgui/icons/trash-16.png | Bin 0 -> 482 bytes mbgui/main.py | 272 +++++++++++++++++ mbgui/mblaze.py | 137 +++++++++ mbgui/tkapp.py | 59 ++++ run.sh | 10 + setup.py | 21 ++ 306 files changed, 1572 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSE create mode 100644 README.rst create mode 100755 build.sh create mode 100755 convert_icons.sh create mode 100644 feather/LICENSE create mode 100644 feather/activity.svg create mode 100644 feather/airplay.svg create mode 100644 feather/alert-circle.svg create mode 100644 feather/alert-octagon.svg create mode 100644 feather/alert-triangle.svg create mode 100644 feather/align-center.svg create mode 100644 feather/align-justify.svg create mode 100644 feather/align-left.svg create mode 100644 feather/align-right.svg create mode 100644 feather/anchor.svg create mode 100644 feather/aperture.svg create mode 100644 feather/archive.svg create mode 100644 feather/arrow-down-circle.svg create mode 100644 feather/arrow-down-left.svg create mode 100644 feather/arrow-down-right.svg create mode 100644 feather/arrow-down.svg create mode 100644 feather/arrow-left-circle.svg create mode 100644 feather/arrow-left.svg create mode 100644 feather/arrow-right-circle.svg create mode 100644 feather/arrow-right.svg create mode 100644 feather/arrow-up-circle.svg create mode 100644 feather/arrow-up-left.svg create mode 100644 feather/arrow-up-right.svg create mode 100644 feather/arrow-up.svg create mode 100644 feather/at-sign.svg create mode 100644 feather/award.svg create mode 100644 feather/bar-chart-2.svg create mode 100644 feather/bar-chart.svg create mode 100644 feather/battery-charging.svg create mode 100644 feather/battery.svg create mode 100644 feather/bell-off.svg create mode 100644 feather/bell.svg create mode 100644 feather/bluetooth.svg create mode 100644 feather/bold.svg create mode 100644 feather/book-open.svg create mode 100644 feather/book.svg create mode 100644 feather/bookmark.svg create mode 100644 feather/box.svg create mode 100644 feather/briefcase.svg create mode 100644 feather/calendar.svg create mode 100644 feather/camera-off.svg create mode 100644 feather/camera.svg create mode 100644 feather/cast.svg create mode 100644 feather/check-circle.svg create mode 100644 feather/check-square.svg create mode 100644 feather/check.svg create mode 100644 feather/chevron-down.svg create mode 100644 feather/chevron-left.svg create mode 100644 feather/chevron-right.svg create mode 100644 feather/chevron-up.svg create mode 100644 feather/chevrons-down.svg create mode 100644 feather/chevrons-left.svg create mode 100644 feather/chevrons-right.svg create mode 100644 feather/chevrons-up.svg create mode 100644 feather/chrome.svg create mode 100644 feather/circle.svg create mode 100644 feather/clipboard.svg create mode 100644 feather/clock.svg create mode 100644 feather/cloud-drizzle.svg create mode 100644 feather/cloud-lightning.svg create mode 100644 feather/cloud-off.svg create mode 100644 feather/cloud-rain.svg create mode 100644 feather/cloud-snow.svg create mode 100644 feather/cloud.svg create mode 100644 feather/code.svg create mode 100644 feather/codepen.svg create mode 100644 feather/codesandbox.svg create mode 100644 feather/coffee.svg create mode 100644 feather/columns.svg create mode 100644 feather/command.svg create mode 100644 feather/compass.svg create mode 100644 feather/copy.svg create mode 100644 feather/corner-down-left.svg create mode 100644 feather/corner-down-right.svg create mode 100644 feather/corner-left-down.svg create mode 100644 feather/corner-left-up.svg create mode 100644 feather/corner-right-down.svg create mode 100644 feather/corner-right-up.svg create mode 100644 feather/corner-up-left.svg create mode 100644 feather/corner-up-right.svg create mode 100644 feather/cpu.svg create mode 100644 feather/credit-card.svg create mode 100644 feather/crop.svg create mode 100644 feather/crosshair.svg create mode 100644 feather/database.svg create mode 100644 feather/delete.svg create mode 100644 feather/disc.svg create mode 100644 feather/divide-circle.svg create mode 100644 feather/divide-square.svg create mode 100644 feather/divide.svg create mode 100644 feather/dollar-sign.svg create mode 100644 feather/download-cloud.svg create mode 100644 feather/download.svg create mode 100644 feather/dribbble.svg create mode 100644 feather/droplet.svg create mode 100644 feather/edit-2.svg create mode 100644 feather/edit-3.svg create mode 100644 feather/edit.svg create mode 100644 feather/external-link.svg create mode 100644 feather/eye-off.svg create mode 100644 feather/eye.svg create mode 100644 feather/facebook.svg create mode 100644 feather/fast-forward.svg create mode 100644 feather/feather.svg create mode 100644 feather/figma.svg create mode 100644 feather/file-minus.svg create mode 100644 feather/file-plus.svg create mode 100644 feather/file-text.svg create mode 100644 feather/file.svg create mode 100644 feather/film.svg create mode 100644 feather/filter.svg create mode 100644 feather/flag.svg create mode 100644 feather/folder-minus.svg create mode 100644 feather/folder-plus.svg create mode 100644 feather/folder.svg create mode 100644 feather/framer.svg create mode 100644 feather/frown.svg create mode 100644 feather/gift.svg create mode 100644 feather/git-branch.svg create mode 100644 feather/git-commit.svg create mode 100644 feather/git-merge.svg create mode 100644 feather/git-pull-request.svg create mode 100644 feather/github.svg create mode 100644 feather/gitlab.svg create mode 100644 feather/globe.svg create mode 100644 feather/grid.svg create mode 100644 feather/hard-drive.svg create mode 100644 feather/hash.svg create mode 100644 feather/headphones.svg create mode 100644 feather/heart.svg create mode 100644 feather/help-circle.svg create mode 100644 feather/hexagon.svg create mode 100644 feather/home.svg create mode 100644 feather/image.svg create mode 100644 feather/inbox.svg create mode 100644 feather/info.svg create mode 100644 feather/instagram.svg create mode 100644 feather/italic.svg create mode 100644 feather/key.svg create mode 100644 feather/layers.svg create mode 100644 feather/layout.svg create mode 100644 feather/life-buoy.svg create mode 100644 feather/link-2.svg create mode 100644 feather/link.svg create mode 100644 feather/linkedin.svg create mode 100644 feather/list.svg create mode 100644 feather/loader.svg create mode 100644 feather/lock.svg create mode 100644 feather/log-in.svg create mode 100644 feather/log-out.svg create mode 100644 feather/mail.svg create mode 100644 feather/map-pin.svg create mode 100644 feather/map.svg create mode 100644 feather/maximize-2.svg create mode 100644 feather/maximize.svg create mode 100644 feather/meh.svg create mode 100644 feather/menu.svg create mode 100644 feather/message-circle.svg create mode 100644 feather/message-square.svg create mode 100644 feather/mic-off.svg create mode 100644 feather/mic.svg create mode 100644 feather/minimize-2.svg create mode 100644 feather/minimize.svg create mode 100644 feather/minus-circle.svg create mode 100644 feather/minus-square.svg create mode 100644 feather/minus.svg create mode 100644 feather/monitor.svg create mode 100644 feather/moon.svg create mode 100644 feather/more-horizontal.svg create mode 100644 feather/more-vertical.svg create mode 100644 feather/mouse-pointer.svg create mode 100644 feather/move.svg create mode 100644 feather/music.svg create mode 100644 feather/navigation-2.svg create mode 100644 feather/navigation.svg create mode 100644 feather/octagon.svg create mode 100644 feather/package.svg create mode 100644 feather/paperclip.svg create mode 100644 feather/pause-circle.svg create mode 100644 feather/pause.svg create mode 100644 feather/pen-tool.svg create mode 100644 feather/percent.svg create mode 100644 feather/phone-call.svg create mode 100644 feather/phone-forwarded.svg create mode 100644 feather/phone-incoming.svg create mode 100644 feather/phone-missed.svg create mode 100644 feather/phone-off.svg create mode 100644 feather/phone-outgoing.svg create mode 100644 feather/phone.svg create mode 100644 feather/pie-chart.svg create mode 100644 feather/play-circle.svg create mode 100644 feather/play.svg create mode 100644 feather/plus-circle.svg create mode 100644 feather/plus-square.svg create mode 100644 feather/plus.svg create mode 100644 feather/pocket.svg create mode 100644 feather/power.svg create mode 100644 feather/printer.svg create mode 100644 feather/radio.svg create mode 100644 feather/refresh-ccw.svg create mode 100644 feather/refresh-cw.svg create mode 100644 feather/repeat.svg create mode 100644 feather/rewind.svg create mode 100644 feather/rotate-ccw.svg create mode 100644 feather/rotate-cw.svg create mode 100644 feather/rss.svg create mode 100644 feather/save.svg create mode 100644 feather/scissors.svg create mode 100644 feather/search.svg create mode 100644 feather/send.svg create mode 100644 feather/server.svg create mode 100644 feather/settings.svg create mode 100644 feather/share-2.svg create mode 100644 feather/share.svg create mode 100644 feather/shield-off.svg create mode 100644 feather/shield.svg create mode 100644 feather/shopping-bag.svg create mode 100644 feather/shopping-cart.svg create mode 100644 feather/shuffle.svg create mode 100644 feather/sidebar.svg create mode 100644 feather/skip-back.svg create mode 100644 feather/skip-forward.svg create mode 100644 feather/slack.svg create mode 100644 feather/slash.svg create mode 100644 feather/sliders.svg create mode 100644 feather/smartphone.svg create mode 100644 feather/smile.svg create mode 100644 feather/speaker.svg create mode 100644 feather/square.svg create mode 100644 feather/star.svg create mode 100644 feather/stop-circle.svg create mode 100644 feather/sun.svg create mode 100644 feather/sunrise.svg create mode 100644 feather/sunset.svg create mode 100644 feather/tablet.svg create mode 100644 feather/tag.svg create mode 100644 feather/target.svg create mode 100644 feather/terminal.svg create mode 100644 feather/thermometer.svg create mode 100644 feather/thumbs-down.svg create mode 100644 feather/thumbs-up.svg create mode 100644 feather/toggle-left.svg create mode 100644 feather/toggle-right.svg create mode 100644 feather/tool.svg create mode 100644 feather/trash-2.svg create mode 100644 feather/trash.svg create mode 100644 feather/trello.svg create mode 100644 feather/trending-down.svg create mode 100644 feather/trending-up.svg create mode 100644 feather/triangle.svg create mode 100644 feather/truck.svg create mode 100644 feather/tv.svg create mode 100644 feather/twitch.svg create mode 100644 feather/twitter.svg create mode 100644 feather/type.svg create mode 100644 feather/umbrella.svg create mode 100644 feather/underline.svg create mode 100644 feather/unlock.svg create mode 100644 feather/upload-cloud.svg create mode 100644 feather/upload.svg create mode 100644 feather/user-check.svg create mode 100644 feather/user-minus.svg create mode 100644 feather/user-plus.svg create mode 100644 feather/user-x.svg create mode 100644 feather/user.svg create mode 100644 feather/users.svg create mode 100644 feather/video-off.svg create mode 100644 feather/video.svg create mode 100644 feather/voicemail.svg create mode 100644 feather/volume-1.svg create mode 100644 feather/volume-2.svg create mode 100644 feather/volume-x.svg create mode 100644 feather/volume.svg create mode 100644 feather/watch.svg create mode 100644 feather/wifi-off.svg create mode 100644 feather/wifi.svg create mode 100644 feather/wind.svg create mode 100644 feather/x-circle.svg create mode 100644 feather/x-octagon.svg create mode 100644 feather/x-square.svg create mode 100644 feather/x.svg create mode 100644 feather/youtube.svg create mode 100644 feather/zap-off.svg create mode 100644 feather/zap.svg create mode 100644 feather/zoom-in.svg create mode 100644 feather/zoom-out.svg create mode 100644 mbgui/__init__.py create mode 100644 mbgui/__main__.py create mode 100644 mbgui/icons/eye-off-16.png create mode 100644 mbgui/icons/file-16.png create mode 100644 mbgui/icons/flag-16.png create mode 100644 mbgui/icons/folder-16.png create mode 100644 mbgui/icons/inbox-16.png create mode 100644 mbgui/icons/mail-16.png create mode 100644 mbgui/icons/trash-16.png create mode 100644 mbgui/main.py create mode 100644 mbgui/mblaze.py create mode 100644 mbgui/tkapp.py create mode 100755 run.sh create mode 100644 setup.py diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f284d11 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/build +__pycache__ diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..9cecc1d --- /dev/null +++ b/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + {one line to give the program's name and a brief idea of what it does.} + Copyright (C) {year} {name of author} + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + {project} Copyright (C) {year} {fullname} + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..cd6f489 --- /dev/null +++ b/README.rst @@ -0,0 +1,55 @@ +mbgui +===== + +Maildir GUI based on `mblaze `_ + + +Requirements +------------ + +* python3 +* mblaze + + +Install +------- + +:: + + $ pip install mbgui + + +Run +--- + +:: + + $ mbgui path/to/maildir ... + +All command line arguments are passed to ``mdirs`` command (with additional +``-a`` argument). + +By double clicking on single message in messages list, selected message is +printed to standard output. This can be used for piping ``mbgui`` with +other mblase commands. + + +License +------- + +mbgui - Maildir GUI based on mblaze + +Copyright (C) 2022 Bozo Kopic + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..d03adf8 --- /dev/null +++ b/build.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +cd $(dirname -- "$0") + +PYTHON=${PYTHON:-python3} + +$PYTHON setup.py \ + build --build-base build \ + egg_info --egg-base build \ + bdist_wheel --dist-dir build diff --git a/convert_icons.sh b/convert_icons.sh new file mode 100755 index 0000000..ae9a204 --- /dev/null +++ b/convert_icons.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +set -e + +ROOT_DIR=$(dirname -- "$0") +ICONS_DIR=$ROOT_DIR/mbgui/icons +FEATHER_DIR=$ROOT_DIR/feather + +ICONS_16="inbox folder mail trash flag file eye-off" + +mkdir -p $ICONS_DIR + +for i in $ICONS_16; do + convert -background none $FEATHER_DIR/$i.svg \ + -geometry 16x16 $ICONS_DIR/$i-16.png +done diff --git a/feather/LICENSE b/feather/LICENSE new file mode 100644 index 0000000..b869713 --- /dev/null +++ b/feather/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2013-2017 Cole Bemis + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/feather/activity.svg b/feather/activity.svg new file mode 100644 index 0000000..669a57a --- /dev/null +++ b/feather/activity.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/airplay.svg b/feather/airplay.svg new file mode 100644 index 0000000..7ce7302 --- /dev/null +++ b/feather/airplay.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/alert-circle.svg b/feather/alert-circle.svg new file mode 100644 index 0000000..8d02b7d --- /dev/null +++ b/feather/alert-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/alert-octagon.svg b/feather/alert-octagon.svg new file mode 100644 index 0000000..de9b03f --- /dev/null +++ b/feather/alert-octagon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/alert-triangle.svg b/feather/alert-triangle.svg new file mode 100644 index 0000000..6dcb096 --- /dev/null +++ b/feather/alert-triangle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/align-center.svg b/feather/align-center.svg new file mode 100644 index 0000000..5b8842e --- /dev/null +++ b/feather/align-center.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/align-justify.svg b/feather/align-justify.svg new file mode 100644 index 0000000..0539876 --- /dev/null +++ b/feather/align-justify.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/align-left.svg b/feather/align-left.svg new file mode 100644 index 0000000..9ac852a --- /dev/null +++ b/feather/align-left.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/align-right.svg b/feather/align-right.svg new file mode 100644 index 0000000..ef139ff --- /dev/null +++ b/feather/align-right.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/anchor.svg b/feather/anchor.svg new file mode 100644 index 0000000..e01627a --- /dev/null +++ b/feather/anchor.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/aperture.svg b/feather/aperture.svg new file mode 100644 index 0000000..9936e86 --- /dev/null +++ b/feather/aperture.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/archive.svg b/feather/archive.svg new file mode 100644 index 0000000..428882c --- /dev/null +++ b/feather/archive.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/arrow-down-circle.svg b/feather/arrow-down-circle.svg new file mode 100644 index 0000000..3238091 --- /dev/null +++ b/feather/arrow-down-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/arrow-down-left.svg b/feather/arrow-down-left.svg new file mode 100644 index 0000000..7248358 --- /dev/null +++ b/feather/arrow-down-left.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/arrow-down-right.svg b/feather/arrow-down-right.svg new file mode 100644 index 0000000..81d9822 --- /dev/null +++ b/feather/arrow-down-right.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/arrow-down.svg b/feather/arrow-down.svg new file mode 100644 index 0000000..4f84f62 --- /dev/null +++ b/feather/arrow-down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/arrow-left-circle.svg b/feather/arrow-left-circle.svg new file mode 100644 index 0000000..3b19ff8 --- /dev/null +++ b/feather/arrow-left-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/arrow-left.svg b/feather/arrow-left.svg new file mode 100644 index 0000000..a5058fc --- /dev/null +++ b/feather/arrow-left.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/arrow-right-circle.svg b/feather/arrow-right-circle.svg new file mode 100644 index 0000000..ff01dd5 --- /dev/null +++ b/feather/arrow-right-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/arrow-right.svg b/feather/arrow-right.svg new file mode 100644 index 0000000..939b57c --- /dev/null +++ b/feather/arrow-right.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/arrow-up-circle.svg b/feather/arrow-up-circle.svg new file mode 100644 index 0000000..044a75d --- /dev/null +++ b/feather/arrow-up-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/arrow-up-left.svg b/feather/arrow-up-left.svg new file mode 100644 index 0000000..cea55e8 --- /dev/null +++ b/feather/arrow-up-left.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/arrow-up-right.svg b/feather/arrow-up-right.svg new file mode 100644 index 0000000..95678e0 --- /dev/null +++ b/feather/arrow-up-right.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/arrow-up.svg b/feather/arrow-up.svg new file mode 100644 index 0000000..16b13ab --- /dev/null +++ b/feather/arrow-up.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/at-sign.svg b/feather/at-sign.svg new file mode 100644 index 0000000..5a5e5d0 --- /dev/null +++ b/feather/at-sign.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/award.svg b/feather/award.svg new file mode 100644 index 0000000..be70d5a --- /dev/null +++ b/feather/award.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/bar-chart-2.svg b/feather/bar-chart-2.svg new file mode 100644 index 0000000..864167a --- /dev/null +++ b/feather/bar-chart-2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/bar-chart.svg b/feather/bar-chart.svg new file mode 100644 index 0000000..074d7c1 --- /dev/null +++ b/feather/bar-chart.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/battery-charging.svg b/feather/battery-charging.svg new file mode 100644 index 0000000..644cb59 --- /dev/null +++ b/feather/battery-charging.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/battery.svg b/feather/battery.svg new file mode 100644 index 0000000..7fe8771 --- /dev/null +++ b/feather/battery.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/bell-off.svg b/feather/bell-off.svg new file mode 100644 index 0000000..4b07c84 --- /dev/null +++ b/feather/bell-off.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/bell.svg b/feather/bell.svg new file mode 100644 index 0000000..bba561c --- /dev/null +++ b/feather/bell.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/bluetooth.svg b/feather/bluetooth.svg new file mode 100644 index 0000000..cebed7b --- /dev/null +++ b/feather/bluetooth.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/bold.svg b/feather/bold.svg new file mode 100644 index 0000000..d1a4efd --- /dev/null +++ b/feather/bold.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/book-open.svg b/feather/book-open.svg new file mode 100644 index 0000000..5e0ca0a --- /dev/null +++ b/feather/book-open.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/book.svg b/feather/book.svg new file mode 100644 index 0000000..12ffcbc --- /dev/null +++ b/feather/book.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/bookmark.svg b/feather/bookmark.svg new file mode 100644 index 0000000..2239cc5 --- /dev/null +++ b/feather/bookmark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/box.svg b/feather/box.svg new file mode 100644 index 0000000..d89be30 --- /dev/null +++ b/feather/box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/briefcase.svg b/feather/briefcase.svg new file mode 100644 index 0000000..e3af050 --- /dev/null +++ b/feather/briefcase.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/calendar.svg b/feather/calendar.svg new file mode 100644 index 0000000..6c7fd87 --- /dev/null +++ b/feather/calendar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/camera-off.svg b/feather/camera-off.svg new file mode 100644 index 0000000..daa3e25 --- /dev/null +++ b/feather/camera-off.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/camera.svg b/feather/camera.svg new file mode 100644 index 0000000..0e7f060 --- /dev/null +++ b/feather/camera.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/cast.svg b/feather/cast.svg new file mode 100644 index 0000000..63c954d --- /dev/null +++ b/feather/cast.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/check-circle.svg b/feather/check-circle.svg new file mode 100644 index 0000000..f2f4fd1 --- /dev/null +++ b/feather/check-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/check-square.svg b/feather/check-square.svg new file mode 100644 index 0000000..72ab7a8 --- /dev/null +++ b/feather/check-square.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/check.svg b/feather/check.svg new file mode 100644 index 0000000..1c20989 --- /dev/null +++ b/feather/check.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/chevron-down.svg b/feather/chevron-down.svg new file mode 100644 index 0000000..278c6a3 --- /dev/null +++ b/feather/chevron-down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/chevron-left.svg b/feather/chevron-left.svg new file mode 100644 index 0000000..747d46d --- /dev/null +++ b/feather/chevron-left.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/chevron-right.svg b/feather/chevron-right.svg new file mode 100644 index 0000000..258de41 --- /dev/null +++ b/feather/chevron-right.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/chevron-up.svg b/feather/chevron-up.svg new file mode 100644 index 0000000..4eb5ecc --- /dev/null +++ b/feather/chevron-up.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/chevrons-down.svg b/feather/chevrons-down.svg new file mode 100644 index 0000000..e67ef2f --- /dev/null +++ b/feather/chevrons-down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/chevrons-left.svg b/feather/chevrons-left.svg new file mode 100644 index 0000000..c32e398 --- /dev/null +++ b/feather/chevrons-left.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/chevrons-right.svg b/feather/chevrons-right.svg new file mode 100644 index 0000000..f506814 --- /dev/null +++ b/feather/chevrons-right.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/chevrons-up.svg b/feather/chevrons-up.svg new file mode 100644 index 0000000..0eaf518 --- /dev/null +++ b/feather/chevrons-up.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/chrome.svg b/feather/chrome.svg new file mode 100644 index 0000000..9189815 --- /dev/null +++ b/feather/chrome.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/circle.svg b/feather/circle.svg new file mode 100644 index 0000000..b009088 --- /dev/null +++ b/feather/circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/clipboard.svg b/feather/clipboard.svg new file mode 100644 index 0000000..ccee454 --- /dev/null +++ b/feather/clipboard.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/clock.svg b/feather/clock.svg new file mode 100644 index 0000000..ea3f5e5 --- /dev/null +++ b/feather/clock.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/cloud-drizzle.svg b/feather/cloud-drizzle.svg new file mode 100644 index 0000000..13af6bb --- /dev/null +++ b/feather/cloud-drizzle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/cloud-lightning.svg b/feather/cloud-lightning.svg new file mode 100644 index 0000000..32d154c --- /dev/null +++ b/feather/cloud-lightning.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/cloud-off.svg b/feather/cloud-off.svg new file mode 100644 index 0000000..1e1e7d6 --- /dev/null +++ b/feather/cloud-off.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/cloud-rain.svg b/feather/cloud-rain.svg new file mode 100644 index 0000000..3e0b85b --- /dev/null +++ b/feather/cloud-rain.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/cloud-snow.svg b/feather/cloud-snow.svg new file mode 100644 index 0000000..e4eb820 --- /dev/null +++ b/feather/cloud-snow.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/cloud.svg b/feather/cloud.svg new file mode 100644 index 0000000..0ee0c63 --- /dev/null +++ b/feather/cloud.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/code.svg b/feather/code.svg new file mode 100644 index 0000000..c4954b5 --- /dev/null +++ b/feather/code.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/codepen.svg b/feather/codepen.svg new file mode 100644 index 0000000..ab2a815 --- /dev/null +++ b/feather/codepen.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/codesandbox.svg b/feather/codesandbox.svg new file mode 100644 index 0000000..49848f5 --- /dev/null +++ b/feather/codesandbox.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/coffee.svg b/feather/coffee.svg new file mode 100644 index 0000000..32905e5 --- /dev/null +++ b/feather/coffee.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/columns.svg b/feather/columns.svg new file mode 100644 index 0000000..d264b55 --- /dev/null +++ b/feather/columns.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/command.svg b/feather/command.svg new file mode 100644 index 0000000..93f554c --- /dev/null +++ b/feather/command.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/compass.svg b/feather/compass.svg new file mode 100644 index 0000000..3296260 --- /dev/null +++ b/feather/compass.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/copy.svg b/feather/copy.svg new file mode 100644 index 0000000..4e0b09f --- /dev/null +++ b/feather/copy.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/corner-down-left.svg b/feather/corner-down-left.svg new file mode 100644 index 0000000..9fffb3e --- /dev/null +++ b/feather/corner-down-left.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/corner-down-right.svg b/feather/corner-down-right.svg new file mode 100644 index 0000000..b27d408 --- /dev/null +++ b/feather/corner-down-right.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/corner-left-down.svg b/feather/corner-left-down.svg new file mode 100644 index 0000000..24b8375 --- /dev/null +++ b/feather/corner-left-down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/corner-left-up.svg b/feather/corner-left-up.svg new file mode 100644 index 0000000..e54527c --- /dev/null +++ b/feather/corner-left-up.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/corner-right-down.svg b/feather/corner-right-down.svg new file mode 100644 index 0000000..a49e6d6 --- /dev/null +++ b/feather/corner-right-down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/corner-right-up.svg b/feather/corner-right-up.svg new file mode 100644 index 0000000..a5c5dce --- /dev/null +++ b/feather/corner-right-up.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/corner-up-left.svg b/feather/corner-up-left.svg new file mode 100644 index 0000000..0a1ffd6 --- /dev/null +++ b/feather/corner-up-left.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/corner-up-right.svg b/feather/corner-up-right.svg new file mode 100644 index 0000000..0b8f961 --- /dev/null +++ b/feather/corner-up-right.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/cpu.svg b/feather/cpu.svg new file mode 100644 index 0000000..2ed16ef --- /dev/null +++ b/feather/cpu.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/credit-card.svg b/feather/credit-card.svg new file mode 100644 index 0000000..1b7fd02 --- /dev/null +++ b/feather/credit-card.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/crop.svg b/feather/crop.svg new file mode 100644 index 0000000..ffbfd04 --- /dev/null +++ b/feather/crop.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/crosshair.svg b/feather/crosshair.svg new file mode 100644 index 0000000..ba39401 --- /dev/null +++ b/feather/crosshair.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/database.svg b/feather/database.svg new file mode 100644 index 0000000..c296fbc --- /dev/null +++ b/feather/database.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/delete.svg b/feather/delete.svg new file mode 100644 index 0000000..8c6074b --- /dev/null +++ b/feather/delete.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/disc.svg b/feather/disc.svg new file mode 100644 index 0000000..2595b44 --- /dev/null +++ b/feather/disc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/divide-circle.svg b/feather/divide-circle.svg new file mode 100644 index 0000000..03a50b7 --- /dev/null +++ b/feather/divide-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/divide-square.svg b/feather/divide-square.svg new file mode 100644 index 0000000..852f776 --- /dev/null +++ b/feather/divide-square.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/divide.svg b/feather/divide.svg new file mode 100644 index 0000000..3cbff3a --- /dev/null +++ b/feather/divide.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/dollar-sign.svg b/feather/dollar-sign.svg new file mode 100644 index 0000000..1a124d2 --- /dev/null +++ b/feather/dollar-sign.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/download-cloud.svg b/feather/download-cloud.svg new file mode 100644 index 0000000..f3126fc --- /dev/null +++ b/feather/download-cloud.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/download.svg b/feather/download.svg new file mode 100644 index 0000000..76767a9 --- /dev/null +++ b/feather/download.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/dribbble.svg b/feather/dribbble.svg new file mode 100644 index 0000000..bb8577d --- /dev/null +++ b/feather/dribbble.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/droplet.svg b/feather/droplet.svg new file mode 100644 index 0000000..ca09301 --- /dev/null +++ b/feather/droplet.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/edit-2.svg b/feather/edit-2.svg new file mode 100644 index 0000000..06830c9 --- /dev/null +++ b/feather/edit-2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/edit-3.svg b/feather/edit-3.svg new file mode 100644 index 0000000..d728efc --- /dev/null +++ b/feather/edit-3.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/edit.svg b/feather/edit.svg new file mode 100644 index 0000000..ec7b4ca --- /dev/null +++ b/feather/edit.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/external-link.svg b/feather/external-link.svg new file mode 100644 index 0000000..6236df3 --- /dev/null +++ b/feather/external-link.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/eye-off.svg b/feather/eye-off.svg new file mode 100644 index 0000000..77c54cb --- /dev/null +++ b/feather/eye-off.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/eye.svg b/feather/eye.svg new file mode 100644 index 0000000..9cde243 --- /dev/null +++ b/feather/eye.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/facebook.svg b/feather/facebook.svg new file mode 100644 index 0000000..2570f56 --- /dev/null +++ b/feather/facebook.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/fast-forward.svg b/feather/fast-forward.svg new file mode 100644 index 0000000..fa39877 --- /dev/null +++ b/feather/fast-forward.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/feather.svg b/feather/feather.svg new file mode 100644 index 0000000..ac3b868 --- /dev/null +++ b/feather/feather.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/figma.svg b/feather/figma.svg new file mode 100644 index 0000000..66fd217 --- /dev/null +++ b/feather/figma.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/file-minus.svg b/feather/file-minus.svg new file mode 100644 index 0000000..345756e --- /dev/null +++ b/feather/file-minus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/file-plus.svg b/feather/file-plus.svg new file mode 100644 index 0000000..eed1200 --- /dev/null +++ b/feather/file-plus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/file-text.svg b/feather/file-text.svg new file mode 100644 index 0000000..4197ddd --- /dev/null +++ b/feather/file-text.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/file.svg b/feather/file.svg new file mode 100644 index 0000000..378519a --- /dev/null +++ b/feather/file.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/film.svg b/feather/film.svg new file mode 100644 index 0000000..ac46360 --- /dev/null +++ b/feather/film.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/filter.svg b/feather/filter.svg new file mode 100644 index 0000000..38a47e0 --- /dev/null +++ b/feather/filter.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/flag.svg b/feather/flag.svg new file mode 100644 index 0000000..037737c --- /dev/null +++ b/feather/flag.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/folder-minus.svg b/feather/folder-minus.svg new file mode 100644 index 0000000..d5b7af6 --- /dev/null +++ b/feather/folder-minus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/folder-plus.svg b/feather/folder-plus.svg new file mode 100644 index 0000000..898f2fc --- /dev/null +++ b/feather/folder-plus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/folder.svg b/feather/folder.svg new file mode 100644 index 0000000..134458b --- /dev/null +++ b/feather/folder.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/framer.svg b/feather/framer.svg new file mode 100644 index 0000000..3e66347 --- /dev/null +++ b/feather/framer.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/frown.svg b/feather/frown.svg new file mode 100644 index 0000000..f312254 --- /dev/null +++ b/feather/frown.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/gift.svg b/feather/gift.svg new file mode 100644 index 0000000..d2c14bd --- /dev/null +++ b/feather/gift.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/git-branch.svg b/feather/git-branch.svg new file mode 100644 index 0000000..4400372 --- /dev/null +++ b/feather/git-branch.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/git-commit.svg b/feather/git-commit.svg new file mode 100644 index 0000000..e959d72 --- /dev/null +++ b/feather/git-commit.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/git-merge.svg b/feather/git-merge.svg new file mode 100644 index 0000000..c65fffd --- /dev/null +++ b/feather/git-merge.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/git-pull-request.svg b/feather/git-pull-request.svg new file mode 100644 index 0000000..fc80bdf --- /dev/null +++ b/feather/git-pull-request.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/github.svg b/feather/github.svg new file mode 100644 index 0000000..ff0af48 --- /dev/null +++ b/feather/github.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/gitlab.svg b/feather/gitlab.svg new file mode 100644 index 0000000..85d54a1 --- /dev/null +++ b/feather/gitlab.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/globe.svg b/feather/globe.svg new file mode 100644 index 0000000..0a0586d --- /dev/null +++ b/feather/globe.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/grid.svg b/feather/grid.svg new file mode 100644 index 0000000..8ef2e9d --- /dev/null +++ b/feather/grid.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/hard-drive.svg b/feather/hard-drive.svg new file mode 100644 index 0000000..8e90fa1 --- /dev/null +++ b/feather/hard-drive.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/hash.svg b/feather/hash.svg new file mode 100644 index 0000000..c9c8d41 --- /dev/null +++ b/feather/hash.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/headphones.svg b/feather/headphones.svg new file mode 100644 index 0000000..fd8915b --- /dev/null +++ b/feather/headphones.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/heart.svg b/feather/heart.svg new file mode 100644 index 0000000..a083b7e --- /dev/null +++ b/feather/heart.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/help-circle.svg b/feather/help-circle.svg new file mode 100644 index 0000000..51fddd8 --- /dev/null +++ b/feather/help-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/hexagon.svg b/feather/hexagon.svg new file mode 100644 index 0000000..eae7f25 --- /dev/null +++ b/feather/hexagon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/home.svg b/feather/home.svg new file mode 100644 index 0000000..7bb31b2 --- /dev/null +++ b/feather/home.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/image.svg b/feather/image.svg new file mode 100644 index 0000000..a7d84b9 --- /dev/null +++ b/feather/image.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/inbox.svg b/feather/inbox.svg new file mode 100644 index 0000000..03a13b4 --- /dev/null +++ b/feather/inbox.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/info.svg b/feather/info.svg new file mode 100644 index 0000000..a09fa5f --- /dev/null +++ b/feather/info.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/instagram.svg b/feather/instagram.svg new file mode 100644 index 0000000..9fdb8e3 --- /dev/null +++ b/feather/instagram.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/italic.svg b/feather/italic.svg new file mode 100644 index 0000000..a123d37 --- /dev/null +++ b/feather/italic.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/key.svg b/feather/key.svg new file mode 100644 index 0000000..e778e74 --- /dev/null +++ b/feather/key.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/layers.svg b/feather/layers.svg new file mode 100644 index 0000000..ea788c2 --- /dev/null +++ b/feather/layers.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/layout.svg b/feather/layout.svg new file mode 100644 index 0000000..28743d9 --- /dev/null +++ b/feather/layout.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/life-buoy.svg b/feather/life-buoy.svg new file mode 100644 index 0000000..54c2bd7 --- /dev/null +++ b/feather/life-buoy.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/link-2.svg b/feather/link-2.svg new file mode 100644 index 0000000..8cc7f6d --- /dev/null +++ b/feather/link-2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/link.svg b/feather/link.svg new file mode 100644 index 0000000..c89dd41 --- /dev/null +++ b/feather/link.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/linkedin.svg b/feather/linkedin.svg new file mode 100644 index 0000000..3953109 --- /dev/null +++ b/feather/linkedin.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/list.svg b/feather/list.svg new file mode 100644 index 0000000..5ce38ea --- /dev/null +++ b/feather/list.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/loader.svg b/feather/loader.svg new file mode 100644 index 0000000..e1a70c1 --- /dev/null +++ b/feather/loader.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/lock.svg b/feather/lock.svg new file mode 100644 index 0000000..de09d9d --- /dev/null +++ b/feather/lock.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/log-in.svg b/feather/log-in.svg new file mode 100644 index 0000000..ba0da59 --- /dev/null +++ b/feather/log-in.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/log-out.svg b/feather/log-out.svg new file mode 100644 index 0000000..c9002c9 --- /dev/null +++ b/feather/log-out.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/mail.svg b/feather/mail.svg new file mode 100644 index 0000000..2af169e --- /dev/null +++ b/feather/mail.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/map-pin.svg b/feather/map-pin.svg new file mode 100644 index 0000000..d5548e9 --- /dev/null +++ b/feather/map-pin.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/map.svg b/feather/map.svg new file mode 100644 index 0000000..ecebd7b --- /dev/null +++ b/feather/map.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/maximize-2.svg b/feather/maximize-2.svg new file mode 100644 index 0000000..e41fc0b --- /dev/null +++ b/feather/maximize-2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/maximize.svg b/feather/maximize.svg new file mode 100644 index 0000000..fc30518 --- /dev/null +++ b/feather/maximize.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/meh.svg b/feather/meh.svg new file mode 100644 index 0000000..6f57fff --- /dev/null +++ b/feather/meh.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/menu.svg b/feather/menu.svg new file mode 100644 index 0000000..e8a84a9 --- /dev/null +++ b/feather/menu.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/message-circle.svg b/feather/message-circle.svg new file mode 100644 index 0000000..4b21b32 --- /dev/null +++ b/feather/message-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/message-square.svg b/feather/message-square.svg new file mode 100644 index 0000000..6a2e4e5 --- /dev/null +++ b/feather/message-square.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/mic-off.svg b/feather/mic-off.svg new file mode 100644 index 0000000..0786219 --- /dev/null +++ b/feather/mic-off.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/mic.svg b/feather/mic.svg new file mode 100644 index 0000000..dc5f780 --- /dev/null +++ b/feather/mic.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/minimize-2.svg b/feather/minimize-2.svg new file mode 100644 index 0000000..a720fa6 --- /dev/null +++ b/feather/minimize-2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/minimize.svg b/feather/minimize.svg new file mode 100644 index 0000000..46d6119 --- /dev/null +++ b/feather/minimize.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/minus-circle.svg b/feather/minus-circle.svg new file mode 100644 index 0000000..80c0de1 --- /dev/null +++ b/feather/minus-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/minus-square.svg b/feather/minus-square.svg new file mode 100644 index 0000000..4862832 --- /dev/null +++ b/feather/minus-square.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/minus.svg b/feather/minus.svg new file mode 100644 index 0000000..93cc734 --- /dev/null +++ b/feather/minus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/monitor.svg b/feather/monitor.svg new file mode 100644 index 0000000..6c3556d --- /dev/null +++ b/feather/monitor.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/moon.svg b/feather/moon.svg new file mode 100644 index 0000000..dbf7c6c --- /dev/null +++ b/feather/moon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/more-horizontal.svg b/feather/more-horizontal.svg new file mode 100644 index 0000000..dc6a855 --- /dev/null +++ b/feather/more-horizontal.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/more-vertical.svg b/feather/more-vertical.svg new file mode 100644 index 0000000..cba6958 --- /dev/null +++ b/feather/more-vertical.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/mouse-pointer.svg b/feather/mouse-pointer.svg new file mode 100644 index 0000000..f5af559 --- /dev/null +++ b/feather/mouse-pointer.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/move.svg b/feather/move.svg new file mode 100644 index 0000000..4e251b5 --- /dev/null +++ b/feather/move.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/music.svg b/feather/music.svg new file mode 100644 index 0000000..7bee2f7 --- /dev/null +++ b/feather/music.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/navigation-2.svg b/feather/navigation-2.svg new file mode 100644 index 0000000..ae31db9 --- /dev/null +++ b/feather/navigation-2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/navigation.svg b/feather/navigation.svg new file mode 100644 index 0000000..f600a41 --- /dev/null +++ b/feather/navigation.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/octagon.svg b/feather/octagon.svg new file mode 100644 index 0000000..124c548 --- /dev/null +++ b/feather/octagon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/package.svg b/feather/package.svg new file mode 100644 index 0000000..f1e09ee --- /dev/null +++ b/feather/package.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/paperclip.svg b/feather/paperclip.svg new file mode 100644 index 0000000..b1f69b7 --- /dev/null +++ b/feather/paperclip.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/pause-circle.svg b/feather/pause-circle.svg new file mode 100644 index 0000000..f6b1a8d --- /dev/null +++ b/feather/pause-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/pause.svg b/feather/pause.svg new file mode 100644 index 0000000..4e78038 --- /dev/null +++ b/feather/pause.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/pen-tool.svg b/feather/pen-tool.svg new file mode 100644 index 0000000..0d26fa1 --- /dev/null +++ b/feather/pen-tool.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/percent.svg b/feather/percent.svg new file mode 100644 index 0000000..2cb9719 --- /dev/null +++ b/feather/percent.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/phone-call.svg b/feather/phone-call.svg new file mode 100644 index 0000000..8b86660 --- /dev/null +++ b/feather/phone-call.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/phone-forwarded.svg b/feather/phone-forwarded.svg new file mode 100644 index 0000000..aa21bef --- /dev/null +++ b/feather/phone-forwarded.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/phone-incoming.svg b/feather/phone-incoming.svg new file mode 100644 index 0000000..b2d523a --- /dev/null +++ b/feather/phone-incoming.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/phone-missed.svg b/feather/phone-missed.svg new file mode 100644 index 0000000..4950f09 --- /dev/null +++ b/feather/phone-missed.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/phone-off.svg b/feather/phone-off.svg new file mode 100644 index 0000000..4d00fb3 --- /dev/null +++ b/feather/phone-off.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/phone-outgoing.svg b/feather/phone-outgoing.svg new file mode 100644 index 0000000..fea27a3 --- /dev/null +++ b/feather/phone-outgoing.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/phone.svg b/feather/phone.svg new file mode 100644 index 0000000..2a35154 --- /dev/null +++ b/feather/phone.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/pie-chart.svg b/feather/pie-chart.svg new file mode 100644 index 0000000..b5bbe67 --- /dev/null +++ b/feather/pie-chart.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/play-circle.svg b/feather/play-circle.svg new file mode 100644 index 0000000..8766dc7 --- /dev/null +++ b/feather/play-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/play.svg b/feather/play.svg new file mode 100644 index 0000000..fd76e30 --- /dev/null +++ b/feather/play.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/plus-circle.svg b/feather/plus-circle.svg new file mode 100644 index 0000000..4291ff0 --- /dev/null +++ b/feather/plus-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/plus-square.svg b/feather/plus-square.svg new file mode 100644 index 0000000..c380e24 --- /dev/null +++ b/feather/plus-square.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/plus.svg b/feather/plus.svg new file mode 100644 index 0000000..703c5b7 --- /dev/null +++ b/feather/plus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/pocket.svg b/feather/pocket.svg new file mode 100644 index 0000000..a3b2561 --- /dev/null +++ b/feather/pocket.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/power.svg b/feather/power.svg new file mode 100644 index 0000000..598308f --- /dev/null +++ b/feather/power.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/printer.svg b/feather/printer.svg new file mode 100644 index 0000000..8a9a7ac --- /dev/null +++ b/feather/printer.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/radio.svg b/feather/radio.svg new file mode 100644 index 0000000..5abfcd1 --- /dev/null +++ b/feather/radio.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/refresh-ccw.svg b/feather/refresh-ccw.svg new file mode 100644 index 0000000..10cff0e --- /dev/null +++ b/feather/refresh-ccw.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/refresh-cw.svg b/feather/refresh-cw.svg new file mode 100644 index 0000000..06c358d --- /dev/null +++ b/feather/refresh-cw.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/repeat.svg b/feather/repeat.svg new file mode 100644 index 0000000..c7657b0 --- /dev/null +++ b/feather/repeat.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/rewind.svg b/feather/rewind.svg new file mode 100644 index 0000000..7b0fa3d --- /dev/null +++ b/feather/rewind.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/rotate-ccw.svg b/feather/rotate-ccw.svg new file mode 100644 index 0000000..ade5dc4 --- /dev/null +++ b/feather/rotate-ccw.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/rotate-cw.svg b/feather/rotate-cw.svg new file mode 100644 index 0000000..83dca35 --- /dev/null +++ b/feather/rotate-cw.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/rss.svg b/feather/rss.svg new file mode 100644 index 0000000..c9a1368 --- /dev/null +++ b/feather/rss.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/save.svg b/feather/save.svg new file mode 100644 index 0000000..46c7299 --- /dev/null +++ b/feather/save.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/scissors.svg b/feather/scissors.svg new file mode 100644 index 0000000..fd0647f --- /dev/null +++ b/feather/scissors.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/search.svg b/feather/search.svg new file mode 100644 index 0000000..8710306 --- /dev/null +++ b/feather/search.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/send.svg b/feather/send.svg new file mode 100644 index 0000000..42ef2a2 --- /dev/null +++ b/feather/send.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/server.svg b/feather/server.svg new file mode 100644 index 0000000..54ce094 --- /dev/null +++ b/feather/server.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/settings.svg b/feather/settings.svg new file mode 100644 index 0000000..19c2726 --- /dev/null +++ b/feather/settings.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/share-2.svg b/feather/share-2.svg new file mode 100644 index 0000000..09b1c7b --- /dev/null +++ b/feather/share-2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/share.svg b/feather/share.svg new file mode 100644 index 0000000..df38c14 --- /dev/null +++ b/feather/share.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/shield-off.svg b/feather/shield-off.svg new file mode 100644 index 0000000..18692dd --- /dev/null +++ b/feather/shield-off.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/shield.svg b/feather/shield.svg new file mode 100644 index 0000000..c7c4841 --- /dev/null +++ b/feather/shield.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/shopping-bag.svg b/feather/shopping-bag.svg new file mode 100644 index 0000000..eaa39e8 --- /dev/null +++ b/feather/shopping-bag.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/shopping-cart.svg b/feather/shopping-cart.svg new file mode 100644 index 0000000..17a40bf --- /dev/null +++ b/feather/shopping-cart.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/shuffle.svg b/feather/shuffle.svg new file mode 100644 index 0000000..8cfb5db --- /dev/null +++ b/feather/shuffle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/sidebar.svg b/feather/sidebar.svg new file mode 100644 index 0000000..8ba817e --- /dev/null +++ b/feather/sidebar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/skip-back.svg b/feather/skip-back.svg new file mode 100644 index 0000000..88d024e --- /dev/null +++ b/feather/skip-back.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/skip-forward.svg b/feather/skip-forward.svg new file mode 100644 index 0000000..f3fdac3 --- /dev/null +++ b/feather/skip-forward.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/slack.svg b/feather/slack.svg new file mode 100644 index 0000000..5d97346 --- /dev/null +++ b/feather/slack.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/slash.svg b/feather/slash.svg new file mode 100644 index 0000000..f4131b8 --- /dev/null +++ b/feather/slash.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/sliders.svg b/feather/sliders.svg new file mode 100644 index 0000000..19c9385 --- /dev/null +++ b/feather/sliders.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/smartphone.svg b/feather/smartphone.svg new file mode 100644 index 0000000..0171a95 --- /dev/null +++ b/feather/smartphone.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/smile.svg b/feather/smile.svg new file mode 100644 index 0000000..24dc8a2 --- /dev/null +++ b/feather/smile.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/speaker.svg b/feather/speaker.svg new file mode 100644 index 0000000..75d5ff9 --- /dev/null +++ b/feather/speaker.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/square.svg b/feather/square.svg new file mode 100644 index 0000000..6eabc77 --- /dev/null +++ b/feather/square.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/star.svg b/feather/star.svg new file mode 100644 index 0000000..bcdc31a --- /dev/null +++ b/feather/star.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/stop-circle.svg b/feather/stop-circle.svg new file mode 100644 index 0000000..c10d9d4 --- /dev/null +++ b/feather/stop-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/sun.svg b/feather/sun.svg new file mode 100644 index 0000000..7f51b94 --- /dev/null +++ b/feather/sun.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/sunrise.svg b/feather/sunrise.svg new file mode 100644 index 0000000..eff4b1e --- /dev/null +++ b/feather/sunrise.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/sunset.svg b/feather/sunset.svg new file mode 100644 index 0000000..a5a2221 --- /dev/null +++ b/feather/sunset.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/tablet.svg b/feather/tablet.svg new file mode 100644 index 0000000..9c80b40 --- /dev/null +++ b/feather/tablet.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/tag.svg b/feather/tag.svg new file mode 100644 index 0000000..7219b15 --- /dev/null +++ b/feather/tag.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/target.svg b/feather/target.svg new file mode 100644 index 0000000..be84b17 --- /dev/null +++ b/feather/target.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/terminal.svg b/feather/terminal.svg new file mode 100644 index 0000000..af459c0 --- /dev/null +++ b/feather/terminal.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/thermometer.svg b/feather/thermometer.svg new file mode 100644 index 0000000..33142cc --- /dev/null +++ b/feather/thermometer.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/thumbs-down.svg b/feather/thumbs-down.svg new file mode 100644 index 0000000..3e7bcd6 --- /dev/null +++ b/feather/thumbs-down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/thumbs-up.svg b/feather/thumbs-up.svg new file mode 100644 index 0000000..226c44d --- /dev/null +++ b/feather/thumbs-up.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/toggle-left.svg b/feather/toggle-left.svg new file mode 100644 index 0000000..240be29 --- /dev/null +++ b/feather/toggle-left.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/toggle-right.svg b/feather/toggle-right.svg new file mode 100644 index 0000000..fc6e81c --- /dev/null +++ b/feather/toggle-right.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/tool.svg b/feather/tool.svg new file mode 100644 index 0000000..f3cbf3d --- /dev/null +++ b/feather/tool.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/trash-2.svg b/feather/trash-2.svg new file mode 100644 index 0000000..f24d55b --- /dev/null +++ b/feather/trash-2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/trash.svg b/feather/trash.svg new file mode 100644 index 0000000..55650bd --- /dev/null +++ b/feather/trash.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/trello.svg b/feather/trello.svg new file mode 100644 index 0000000..b2f599b --- /dev/null +++ b/feather/trello.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/trending-down.svg b/feather/trending-down.svg new file mode 100644 index 0000000..a9d4cfa --- /dev/null +++ b/feather/trending-down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/trending-up.svg b/feather/trending-up.svg new file mode 100644 index 0000000..52026a4 --- /dev/null +++ b/feather/trending-up.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/triangle.svg b/feather/triangle.svg new file mode 100644 index 0000000..274b652 --- /dev/null +++ b/feather/triangle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/truck.svg b/feather/truck.svg new file mode 100644 index 0000000..3389837 --- /dev/null +++ b/feather/truck.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/tv.svg b/feather/tv.svg new file mode 100644 index 0000000..955bbff --- /dev/null +++ b/feather/tv.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/twitch.svg b/feather/twitch.svg new file mode 100644 index 0000000..1706249 --- /dev/null +++ b/feather/twitch.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/twitter.svg b/feather/twitter.svg new file mode 100644 index 0000000..f8886ec --- /dev/null +++ b/feather/twitter.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/type.svg b/feather/type.svg new file mode 100644 index 0000000..c6b2de3 --- /dev/null +++ b/feather/type.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/umbrella.svg b/feather/umbrella.svg new file mode 100644 index 0000000..dc77c0c --- /dev/null +++ b/feather/umbrella.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/underline.svg b/feather/underline.svg new file mode 100644 index 0000000..044945d --- /dev/null +++ b/feather/underline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/unlock.svg b/feather/unlock.svg new file mode 100644 index 0000000..01dc359 --- /dev/null +++ b/feather/unlock.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/upload-cloud.svg b/feather/upload-cloud.svg new file mode 100644 index 0000000..a1db297 --- /dev/null +++ b/feather/upload-cloud.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/upload.svg b/feather/upload.svg new file mode 100644 index 0000000..91eaff7 --- /dev/null +++ b/feather/upload.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/user-check.svg b/feather/user-check.svg new file mode 100644 index 0000000..42f91b2 --- /dev/null +++ b/feather/user-check.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/user-minus.svg b/feather/user-minus.svg new file mode 100644 index 0000000..44b75f5 --- /dev/null +++ b/feather/user-minus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/user-plus.svg b/feather/user-plus.svg new file mode 100644 index 0000000..21460f6 --- /dev/null +++ b/feather/user-plus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/user-x.svg b/feather/user-x.svg new file mode 100644 index 0000000..0c41a48 --- /dev/null +++ b/feather/user-x.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/user.svg b/feather/user.svg new file mode 100644 index 0000000..7bb5f29 --- /dev/null +++ b/feather/user.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/users.svg b/feather/users.svg new file mode 100644 index 0000000..aacf6b0 --- /dev/null +++ b/feather/users.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/video-off.svg b/feather/video-off.svg new file mode 100644 index 0000000..08ec697 --- /dev/null +++ b/feather/video-off.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/video.svg b/feather/video.svg new file mode 100644 index 0000000..8ff156a --- /dev/null +++ b/feather/video.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/voicemail.svg b/feather/voicemail.svg new file mode 100644 index 0000000..5d78a8e --- /dev/null +++ b/feather/voicemail.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/volume-1.svg b/feather/volume-1.svg new file mode 100644 index 0000000..150e875 --- /dev/null +++ b/feather/volume-1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/volume-2.svg b/feather/volume-2.svg new file mode 100644 index 0000000..03d521c --- /dev/null +++ b/feather/volume-2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/volume-x.svg b/feather/volume-x.svg new file mode 100644 index 0000000..be44240 --- /dev/null +++ b/feather/volume-x.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/volume.svg b/feather/volume.svg new file mode 100644 index 0000000..53bfe15 --- /dev/null +++ b/feather/volume.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/watch.svg b/feather/watch.svg new file mode 100644 index 0000000..a1099da --- /dev/null +++ b/feather/watch.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/wifi-off.svg b/feather/wifi-off.svg new file mode 100644 index 0000000..35eae43 --- /dev/null +++ b/feather/wifi-off.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/wifi.svg b/feather/wifi.svg new file mode 100644 index 0000000..748c285 --- /dev/null +++ b/feather/wifi.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/wind.svg b/feather/wind.svg new file mode 100644 index 0000000..82b3646 --- /dev/null +++ b/feather/wind.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/x-circle.svg b/feather/x-circle.svg new file mode 100644 index 0000000..94aad5e --- /dev/null +++ b/feather/x-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/x-octagon.svg b/feather/x-octagon.svg new file mode 100644 index 0000000..8543198 --- /dev/null +++ b/feather/x-octagon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/x-square.svg b/feather/x-square.svg new file mode 100644 index 0000000..7677c38 --- /dev/null +++ b/feather/x-square.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/x.svg b/feather/x.svg new file mode 100644 index 0000000..7d5875c --- /dev/null +++ b/feather/x.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/youtube.svg b/feather/youtube.svg new file mode 100644 index 0000000..c482438 --- /dev/null +++ b/feather/youtube.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/zap-off.svg b/feather/zap-off.svg new file mode 100644 index 0000000..c636f8b --- /dev/null +++ b/feather/zap-off.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/zap.svg b/feather/zap.svg new file mode 100644 index 0000000..8fdafa9 --- /dev/null +++ b/feather/zap.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/zoom-in.svg b/feather/zoom-in.svg new file mode 100644 index 0000000..da4572d --- /dev/null +++ b/feather/zoom-in.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/feather/zoom-out.svg b/feather/zoom-out.svg new file mode 100644 index 0000000..fd678d7 --- /dev/null +++ b/feather/zoom-out.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mbgui/__init__.py b/mbgui/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/mbgui/__main__.py b/mbgui/__main__.py new file mode 100644 index 0000000..9d5f7b2 --- /dev/null +++ b/mbgui/__main__.py @@ -0,0 +1,7 @@ +import sys + +from mbgui.main import main + + +if __name__ == '__main__': + sys.exit(main()) diff --git a/mbgui/icons/eye-off-16.png b/mbgui/icons/eye-off-16.png new file mode 100644 index 0000000..1165e76 Binary files /dev/null and b/mbgui/icons/eye-off-16.png differ diff --git a/mbgui/icons/file-16.png b/mbgui/icons/file-16.png new file mode 100644 index 0000000..a0c6a66 Binary files /dev/null and b/mbgui/icons/file-16.png differ diff --git a/mbgui/icons/flag-16.png b/mbgui/icons/flag-16.png new file mode 100644 index 0000000..85c8a93 Binary files /dev/null and b/mbgui/icons/flag-16.png differ diff --git a/mbgui/icons/folder-16.png b/mbgui/icons/folder-16.png new file mode 100644 index 0000000..a77576d Binary files /dev/null and b/mbgui/icons/folder-16.png differ diff --git a/mbgui/icons/inbox-16.png b/mbgui/icons/inbox-16.png new file mode 100644 index 0000000..bb82fb1 Binary files /dev/null and b/mbgui/icons/inbox-16.png differ diff --git a/mbgui/icons/mail-16.png b/mbgui/icons/mail-16.png new file mode 100644 index 0000000..53c53b8 Binary files /dev/null and b/mbgui/icons/mail-16.png differ diff --git a/mbgui/icons/trash-16.png b/mbgui/icons/trash-16.png new file mode 100644 index 0000000..46d5920 Binary files /dev/null and b/mbgui/icons/trash-16.png differ diff --git a/mbgui/main.py b/mbgui/main.py new file mode 100644 index 0000000..a944ade --- /dev/null +++ b/mbgui/main.py @@ -0,0 +1,272 @@ +from pathlib import Path +from tkinter import ttk +import sys +import tkinter as tk +import tkinter.font + +from mbgui import mblaze +from mbgui.tkapp import TkApp + + +conf = {'fonts': {'regular': {'family': 'Inter', + 'size': 12, + 'weight': 'normal'}, + 'monospace': {'family': 'Roboto Mono', + 'size': 12, + 'weight': 'normal'}}} + + +def main(): + app = App(conf) + app.run(sys.argv[1:]) + + +class App: + + def __init__(self, conf): + self._directories = set() + self._selected_directory = None + self._selected_message = None + + self._app = TkApp() + + self._fonts = {name: tk.font.Font(name=f'{name}Font', **values) + for name, values in conf['fonts'].items()} + + self._icons = { + path.stem: tk.PhotoImage(file=str(path)) + for path in (Path(__file__).parent / 'icons').glob('*.png')} + + self._app.root.columnconfigure(0, weight=1) + self._app.root.rowconfigure(0, weight=1) + + self._app.style.configure('Treeview', font=self._fonts['regular']) + + frame = ttk.Frame(self._app.root) + frame.columnconfigure(0, weight=1) + frame.rowconfigure(0, weight=1) + frame.grid(row=0, column=0, sticky='nswe') + + horizontal_pane = ttk.Panedwindow(frame, orient="horizontal") + horizontal_pane.grid(row=0, column=0, sticky='nswe') + + directories_frame = ttk.Frame(horizontal_pane) + directories_frame.columnconfigure(0, weight=1) + directories_frame.rowconfigure(0, weight=1) + horizontal_pane.add(directories_frame, weight=1) + + self._directories_tree = ttk.Treeview(directories_frame, + selectmode='browse', + columns=('unseen', 'total')) + self._directories_tree.column('unseen', width=32, anchor='e') + self._directories_tree.column('total', width=32, anchor='e') + self._directories_tree.bind('<>', + self._on_directories_tree_select) + self._directories_tree.grid(row=0, column=0, sticky='nswe') + + directories_scroll = ttk.Scrollbar( + directories_frame, orient='vertical', + command=self._directories_tree.yview) + self._directories_tree.configure(yscrollcommand=directories_scroll.set) + directories_scroll.grid(row=0, column=1, sticky='nswe') + + vertical_pane = ttk.Panedwindow(horizontal_pane, orient="vertical") + horizontal_pane.add(vertical_pane, weight=2) + + messages_frame = ttk.Frame(vertical_pane) + messages_frame.columnconfigure(0, weight=1) + messages_frame.rowconfigure(0, weight=1) + vertical_pane.add(messages_frame, weight=1) + + self._messages_tree = ttk.Treeview(messages_frame, + selectmode='browse', + columns=('sender', 'date')) + self._messages_tree.column('sender', width=32, anchor='w') + self._messages_tree.column('date', width=32, anchor='w') + self._messages_tree.bind('<>', + self._on_messages_tree_select) + self._messages_tree.bind('', + self._on_messages_tree_double) + self._messages_tree.grid(row=0, column=0, sticky='nswe') + + messages_scroll = ttk.Scrollbar( + messages_frame, orient='vertical', + command=self._messages_tree.yview) + self._messages_tree.configure(yscrollcommand=messages_scroll.set) + messages_scroll.grid(row=0, column=1, sticky='nswe') + + message_frame = ttk.Frame(vertical_pane) + message_frame.columnconfigure(0, weight=1) + message_frame.rowconfigure(0, weight=1) + vertical_pane.add(message_frame, weight=1) + + self._message_text = tk.Text(message_frame, + font=self._fonts['monospace']) + self._message_text.grid(row=0, column=0, sticky='nswe') + + message_scroll_vertical = ttk.Scrollbar( + message_frame, orient='vertical', + command=self._message_text.yview) + self._message_text.configure( + yscrollcommand=message_scroll_vertical.set) + message_scroll_vertical.grid(row=0, column=1, sticky='nswe') + + def run(self, args): + self._get_directories(args) + self._app.run() + + def _get_directories(self, paths): + def on_done(f): + self._app.call_main(self._on_directories, f.result()) + + f = self._app.call_worker(mblaze.get_directories, paths) + f.add_done_callback(on_done) + + def _get_directory_unseen(self, path): + def on_done(f): + self._app.call_main(self._on_directory_unseen, path, f.result()) + + f = self._app.call_worker(mblaze.get_directory_unseen, path) + f.add_done_callback(on_done) + + def _get_directory_total(self, path): + def on_done(f): + self._app.call_main(self._on_directory_total, path, f.result()) + + f = self._app.call_worker(mblaze.get_directory_total, path) + f.add_done_callback(on_done) + + def _get_messages(self, path): + def on_done(f): + self._app.call_main(self._on_messages, path, f.result()) + + f = self._app.call_worker(mblaze.get_messages, path) + f.add_done_callback(on_done) + + def _get_message(self, path): + def on_done(f): + self._app.call_main(self._on_message, path, f.result()) + + f = self._app.call_worker(mblaze.get_message, path) + f.add_done_callback(on_done) + + def _on_directories(self, directories): + self._directories = set() + directory_ids = self._directories_tree.get_children() + if directory_ids: + self._directories_tree.delete(*directory_ids) + + def add_directory(parent_id, directory): + directory_id = (str(Path(parent_id) / directory.name) if parent_id + else directory.name) + if directory.is_leaf: + self._directories.add(directory_id) + icon = self._icons['inbox-16' if directory.is_leaf + else 'folder-16'] + self._directories_tree.insert(parent_id, 'end', + id=directory_id, + text=f' {directory.name}', + image=icon, + values=('', ''), + open=True) + if directory.is_leaf: + self._get_directory_unseen(directory_id) + self._get_directory_total(directory_id) + for child in directory.children: + add_directory(directory_id, child) + + for directory in directories: + add_directory('', directory) + + def _on_directory_unseen(self, directory, count): + values = self._directories_tree.item(directory, 'values') + values = str(count), values[1] + self._directories_tree.item(directory, values=values) + + def _on_directory_total(self, directory, count): + values = self._directories_tree.item(directory, 'values') + values = values[0], str(count) + self._directories_tree.item(directory, values=values) + + def _on_directories_tree_select(self, evt): + selection = self._directories_tree.selection() + directory = selection[0] if selection else None + directory = directory if directory in self._directories else None + if directory == self._selected_directory: + return + + self._selected_directory = directory + + message_ids = self._messages_tree.get_children() + if message_ids: + self._messages_tree.delete(*message_ids) + + if not directory: + return + + self._get_messages(directory) + + def _on_messages(self, directory, messages): + if directory != self._selected_directory: + return + + def add_message(parent_id, message): + icon = _status_icon(message.status) + icon = self._icons[f'{icon}-16'] if icon else '' + self._messages_tree.insert(parent_id, 'end', + id=message.path, + text=f' {message.subject}', + image=icon, + values=(message.sender, message.date)) + for child in message.children: + add_message(message.path, child) + + for message in messages: + add_message('', message) + + def _on_messages_tree_select(self, evt): + selection = self._messages_tree.selection() + message = selection[0] if selection else None + if message == self._selected_message: + return + + self._selected_message = message + self._message_text.delete('1.0', 'end') + + if not message: + return + + self._get_message(message) + + def _on_messages_tree_double(self, evt): + if self._selected_message: + print(self._selected_message) + + def _on_message(self, message, text): + if message != self._selected_message: + return + + self._message_text.insert('1.0', text) + + +def _status_icon(status): + if status == mblaze.Status.SEEN: + return 'file' + + if status == mblaze.Status.FLAGGED: + return 'flag' + + if status == mblaze.Status.UNSEEN: + return 'mail' + + if status == mblaze.Status.TRASHED: + return 'trash' + + if status == mblaze.Status.VIRTUAL: + return 'eye-off' + + raise ValueError('unsupported status') + + +if __name__ == '__main__': + main() diff --git a/mbgui/mblaze.py b/mbgui/mblaze.py new file mode 100644 index 0000000..89841b3 --- /dev/null +++ b/mbgui/mblaze.py @@ -0,0 +1,137 @@ +from pathlib import Path +import itertools +import subprocess +import typing +import enum + + +class Status(enum.Enum): + SEEN = ' ' + FLAGGED = '*' + UNSEEN = '.' + TRASHED = 'x' + VIRTUAL = 'v' + + +class Directory(typing.NamedTuple): + name: str + is_leaf: bool + children: typing.List['Directory'] + + +class Message(typing.NamedTuple): + path: str + status: Status + subject: str + sender: str + date: str + children: typing.List['Message'] + + +def get_directories(roots: typing.Iterable[str]) -> typing.List[Directory]: + paths = _cmd(['mdirs', '-a', *roots]) + directories = (_get_directory(Path(path).parts) for path in paths) + directories = _group_directories(directories) + directories = [_reduce_directory(directory) for directory in directories] + return directories + + +def get_directory_total(dir_path: str) -> int: + paths = _cmd(['mlist', dir_path]) + return len(paths) + + +def get_directory_unseen(dir_path: str) -> int: + paths = _cmd(['mlist', '-s', dir_path]) + return len(paths) + + +def get_messages(dir_path: str) -> typing.List[Message]: + paths = _cmd(['mlist', dir_path]) + paths = _cmd(['mthread', '-r'], paths) + lines = _cmd(['mscan', '-f', r'%i%R\n%u\n%s\n%f\n%D'], paths) + messages = _parse_messages(lines) + return messages + + +def get_message(msg_path: str) -> str: + if not Path(msg_path).exists(): + return '' + lines = _cmd(['mshow', msg_path]) + return '\n'.join(lines) + + +def _cmd(args, stdin_lines=[]): + p = subprocess.run(args, + input='\n'.join(stdin_lines), + stdout=subprocess.PIPE, + encoding='utf-8', + check=True) + stdout = p.stdout.removesuffix('\n') + if not stdout: + return [] + return stdout.split('\n') + + +def _get_directory(path_parts): + name, path_parts = path_parts[0], path_parts[1:] + is_leaf = not path_parts + children = [_get_directory(path_parts)] if path_parts else [] + return Directory(name=name, + is_leaf=is_leaf, + children=children) + + +def _group_directories(directories): + name_directories = {} + for i in directories: + name_directories.setdefault(i.name, []).append(i) + + for name, directories in name_directories.items(): + is_leaf = any(i.is_leaf for i in directories) + children = list(_group_directories( + itertools.chain.from_iterable(i.children for i in directories))) + yield Directory(name=name, + is_leaf=is_leaf, + children=children) + + +def _reduce_directory(directory): + while not directory.is_leaf and len(directory.children) == 1: + child = directory.children[0] + directory = child._replace(name=str(Path(directory.name) / child.name)) + + return directory._replace(children=[_reduce_directory(child) + for child in directory.children]) + + +def _parse_messages(lines): + messages = [] + while lines: + path = lines[0] + depth = 0 + while path[0] == ' ': + depth += 1 + path = path[1:] + + status = Status(lines[1]) + if not Path(path).exists(): + status = Status.VIRTUAL + + message = Message(path=path, + status=status, + subject=lines[2], + sender=lines[3], + date=lines[4], + children=[]) + lines = lines[5:] + + children = messages + while depth: + if children: + children = children[-1].children + depth -= 1 + + children.append(message) + + return messages diff --git a/mbgui/tkapp.py b/mbgui/tkapp.py new file mode 100644 index 0000000..fe16545 --- /dev/null +++ b/mbgui/tkapp.py @@ -0,0 +1,59 @@ +from tkinter import ttk +import collections +import concurrent.futures +import threading +import tkinter as tk +import typing + + +class TkApp: + + def __init__(self): + self._root = tk.Tk() + self._style = ttk.Style(self._root) + self._executor = concurrent.futures.ThreadPoolExecutor() + self._call_main_queue = collections.deque() + self._call_main_lock = threading.Lock() + + self._root.bind('<>', self._on_app_call) + + @property + def root(self) -> tk.Tk: + return self._root + + @property + def style(self) -> ttk.Style: + return self._style + + def call_main(self, + fn: typing.Callable, + *args, + **kwargs): + with self._call_main_lock: + self._call_main_queue.append((fn, args, kwargs)) + self._root.event_generate('<>') + + def call_worker(self, + fn: typing.Callable, + *args, + **kwargs + ) -> concurrent.futures.Future: + return self._executor.submit(fn, *args, **kwargs) + + def run(self): + try: + self._root.mainloop() + + finally: + self._executor.shutdown() + + def _on_app_call(self, evt): + with self._call_main_lock: + if not self._call_main_queue: + return + + queue = self._call_main_queue + self._call_main_queue = collections.deque() + + for fn, args, kwargs in queue: + fn(*args, **kwargs) diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..a13fa5c --- /dev/null +++ b/run.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +PYTHON=${PYTHON:-python3} +ROOT_DIR=$(dirname -- "$0") + +export PYTHONPATH=$ROOT_DIR + +exec $PYTHON -m mbgui "$@" diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..3e29191 --- /dev/null +++ b/setup.py @@ -0,0 +1,21 @@ +from pathlib import Path +from setuptools import setup + + +readme = (Path(__file__).parent / 'README.rst').read_text() + + +setup( + name='mbgui', + version='0.0.1', + description='Maildir GUI based on mblaze', + long_description=readme, + long_description_content_type='text/x-rst', + url='https://github.com/bozokopic/mbgui', + packages=['mbgui'], + package_data={'mbgui': ['icons/*.png']}, + license='GPLv3', + classifiers=[ + 'Programming Language :: Python :: 3', + 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)'], + entry_points={'console_scripts': ['mbgui = mbgui.main:main']}) -- cgit v1.2.3-70-g09d2