[Joypy-announce] joypy/Joypy: 2 new changesets

アーカイブの一覧に戻る
scmno****@osdn***** scmno****@osdn*****
Thu May 28 13:10:05 JST 2020


changeset d3aeb3661dc4 in joypy/Joypy
details: http://hg.osdn.jp/view/joypy/Joypy?cmd=changeset;node=d3aeb3661dc4
user: Simon Forman <sform****@hushm*****>
date: Wed May 27 18:05:57 2020 -0700
description: Utils docs.
changeset 1048aa2cb1ab in joypy/Joypy
details: http://hg.osdn.jp/view/joypy/Joypy?cmd=changeset;node=1048aa2cb1ab
user: Simon Forman <sform****@hushm*****>
date: Wed May 27 21:09:50 2020 -0700
description: A bit more docs.

diffstat:

 docs/GUI-docs/source/controllerlistbox.rst |   3 ++
 docs/GUI-docs/source/index.rst             |   8 ++++--
 docs/GUI-docs/source/init_joy_home.rst     |   3 ++
 docs/GUI-docs/source/mousebindings.rst     |   3 ++
 docs/GUI-docs/source/utils.rst             |   3 ++
 xerblin/gui/controllerlistbox.py           |  36 +++++++++++++++++------------
 xerblin/gui/init_joy_home.py               |  31 +++++++++++++++++++++++--
 xerblin/gui/mousebindings.py               |  16 ++++++++++---
 xerblin/gui/textwidget.py                  |   1 +
 xerblin/gui/utils.py                       |  28 ++++++++++++++++++++++-
 10 files changed, 106 insertions(+), 26 deletions(-)

diffs (234 lines):

diff -r 14269904230b -r 1048aa2cb1ab docs/GUI-docs/source/controllerlistbox.rst
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/GUI-docs/source/controllerlistbox.rst	Wed May 27 21:09:50 2020 -0700
@@ -0,0 +1,3 @@
+
+.. automodule:: xerblin.gui.controllerlistbox
+   :members:
\ No newline at end of file
diff -r 14269904230b -r 1048aa2cb1ab docs/GUI-docs/source/index.rst
--- a/docs/GUI-docs/source/index.rst	Wed May 27 17:45:39 2020 -0700
+++ b/docs/GUI-docs/source/index.rst	Wed May 27 21:09:50 2020 -0700
@@ -1,7 +1,5 @@
 .. Xerblin documentation master file, created by
    sphinx-quickstart on Mon May 25 20:33:57 2020.
-   You can adapt this file completely to your liking, but it should at least
-   contain the root `toctree` directive.
 
 Xerblin Documentation
 ===================================
@@ -126,8 +124,12 @@
 .. toctree::
    :maxdepth: 2
 
+   controllerlistbox
+   mousebindings
+   textwidget
+   utils
    world
-   textwidget
+   init_joy_home
 
 
 Indices and tables
diff -r 14269904230b -r 1048aa2cb1ab docs/GUI-docs/source/init_joy_home.rst
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/GUI-docs/source/init_joy_home.rst	Wed May 27 21:09:50 2020 -0700
@@ -0,0 +1,3 @@
+
+.. automodule:: xerblin.gui.init_joy_home
+   :members:
diff -r 14269904230b -r 1048aa2cb1ab docs/GUI-docs/source/mousebindings.rst
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/GUI-docs/source/mousebindings.rst	Wed May 27 21:09:50 2020 -0700
@@ -0,0 +1,3 @@
+
+.. automodule:: xerblin.gui.mousebindings
+   :members:
diff -r 14269904230b -r 1048aa2cb1ab docs/GUI-docs/source/utils.rst
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/GUI-docs/source/utils.rst	Wed May 27 21:09:50 2020 -0700
@@ -0,0 +1,3 @@
+
+.. automodule:: xerblin.gui.utils
+   :members:
diff -r 14269904230b -r 1048aa2cb1ab xerblin/gui/controllerlistbox.py
--- a/xerblin/gui/controllerlistbox.py	Wed May 27 17:45:39 2020 -0700
+++ b/xerblin/gui/controllerlistbox.py	Wed May 27 21:09:50 2020 -0700
@@ -1,21 +1,27 @@
+# -*- coding: utf-8 -*-
+#
+#    Copyright © 2014-2020 Simon Forman
+#
+#    This file is part of Xerblin.
+#
+#    Xerblin 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.
+#
+#    Xerblin 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 Xerblin.  If not see <http://www.gnu.org/licenses/>.
+#
 '''
-	Copyright (C) 2004 - 2008 Simon Forman
-
-	This file is part of Xerblin.
 
-	Xerblin 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 2 of the License, or
-	(at your option) any later version.
+Stack Viewer
+===========================================================
 
-	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, write to the Free Software
-	Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
 '''
 from tkinter import Listbox, SINGLE
diff -r 14269904230b -r 1048aa2cb1ab xerblin/gui/init_joy_home.py
--- a/xerblin/gui/init_joy_home.py	Wed May 27 17:45:39 2020 -0700
+++ b/xerblin/gui/init_joy_home.py	Wed May 27 21:09:50 2020 -0700
@@ -1,12 +1,37 @@
+# -*- coding: utf-8 -*-
+#
+#    Copyright © 2014-2020 Simon Forman
+#
+#    This file is part of Xerblin.
+#
+#    Xerblin 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.
+#
+#    Xerblin 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 Xerblin.  If not see <http://www.gnu.org/licenses/>.
+#
 '''
+
+Home Directory Initialization
+===========================================================
+
 Utility module to help with setting up the initial contents of the
 JOY_HOME directory.
 
 These contents are kept in this Python module as a base64-encoded zip
-file, so you can just do, e.g.:
+file, so you can just do, e.g.::
 
-    import init_joy_home
-    init_joy_home.initialize(JOY_HOME)
+
+	import init_joy_home
+	init_joy_home.initialize(JOY_HOME)
+
 
 '''
 from __future__ import print_function
diff -r 14269904230b -r 1048aa2cb1ab xerblin/gui/mousebindings.py
--- a/xerblin/gui/mousebindings.py	Wed May 27 17:45:39 2020 -0700
+++ b/xerblin/gui/mousebindings.py	Wed May 27 21:09:50 2020 -0700
@@ -2,21 +2,29 @@
 #
 #    Copyright © 2014, 2015 Simon Forman
 #
-#    This file is part of joy.py
+#    This file is part of Xerblin.
 #
-#    joy.py is free software: you can redistribute it and/or modify
+#    Xerblin 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.
 #
-#    joy.py is distributed in the hope that it will be useful,
+#    Xerblin 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 joy.py.  If not see <http://www.gnu.org/licenses/>.
+#    along with Xerblin.  If not see <http://www.gnu.org/licenses/>.
 #
+'''
+
+Mouse Bindings
+===========================================================
+
+
+
+'''
 from builtins import object
 
 
diff -r 14269904230b -r 1048aa2cb1ab xerblin/gui/textwidget.py
--- a/xerblin/gui/textwidget.py	Wed May 27 17:45:39 2020 -0700
+++ b/xerblin/gui/textwidget.py	Wed May 27 21:09:50 2020 -0700
@@ -18,6 +18,7 @@
 #    along with joy.py.  If not see <http://www.gnu.org/licenses/>.
 #
 '''
+
 Text Viewer
 ===========================================================
 
diff -r 14269904230b -r 1048aa2cb1ab xerblin/gui/utils.py
--- a/xerblin/gui/utils.py	Wed May 27 17:45:39 2020 -0700
+++ b/xerblin/gui/utils.py	Wed May 27 21:09:50 2020 -0700
@@ -1,3 +1,29 @@
+# -*- coding: utf-8 -*-
+#
+#    Copyright © 2014, 2015 Simon Forman
+#
+#    This file is part of Xerblin
+#
+#    Xerblin 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.
+#
+#    Xerblin 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 Xerblin.  If not see <http://www.gnu.org/licenses/>.
+#
+'''
+
+Utilities
+===================================
+
+
+'''
 from __future__ import print_function
 from builtins import object
 import argparse, os, sys
@@ -71,7 +97,7 @@
 
 
 argparser = argparse.ArgumentParser(
-	prog='joy.gui',
+	prog='xerblin',
 	description='Experimental Brutalist UI for Joy.',
 	)
 


More information about the Joypy-announce mailing list
アーカイブの一覧に戻る