From f13335ff6972a37f7ad2bb1114df3c1361d596c7 Mon Sep 17 00:00:00 2001 From: Oliver Schoenborn Date: Fri, 28 Oct 2016 21:31:27 -0400 Subject: [PATCH] Replace contents of branch by svn+ssh://schoenborno@svn.code.sf.net/p/pypubsub/code/tags/rel_3_3_0_feb_2_2014 --- .gitignore | 5 +- .idea/.gitignore | 1 - .idea/codeStyleSettings.xml | 9 - .idea/encodings.xml | 7 +- .idea/inspectionProfiles/Project_Default.xml | 28 -- .../inspectionProfiles/profiles_settings.xml | 7 - .idea/misc.xml | 21 +- .idea/modules.xml | 3 +- .idea/pypubsub.iml | 21 +- .../Build_Wheel_and_Source.xml | 20 - .idea/runConfigurations/Gen_docs.xml | 20 - .idea/runConfigurations/advanced_main.xml | 20 - .idea/runConfigurations/console_main.xml | 20 - .idea/runConfigurations/perf.xml | 20 - .idea/runConfigurations/py_test_in_suite.xml | 27 -- .idea/runConfigurations/wx_main.xml | 20 - .idea/vagrant.xml | 11 - .idea/vcs.xml | 5 +- .travis.yml | 20 - MANIFEST.in | 2 +- README.txt | 29 +- README_WxPython.txt | 28 +- docs/Makefile | 8 +- docs/about.rst | 166 +++---- docs/changelog.rst | 11 - docs/conf.py | 92 ++-- docs/development/dev_index.rst | 3 - docs/development/py2exe.rst | 11 +- docs/development/setup-cxfreeze.py | 1 + docs/index.rst | 87 ++-- docs/installation.rst | 90 +++- docs/make.bat | 25 +- docs/usage/core_classes.rst | 3 + docs/usage/howtos/arg1_to_kwargs.rst | 287 ++++++++++++ docs/usage/howtos/index.rst | 38 +- docs/usage/howtos/upgrade_v1tov3.rst | 254 +++++++++++ docs/usage/module_pub.rst | 7 +- docs/usage/reference.rst | 1 + docs/usage/setup_modules.rst | 80 ++++ docs/usage/types_of_errors.rst | 9 + docs/usage/usage_advanced_maintain.rst | 9 +- docs/usage/usage_advanced_other.rst | 102 +++-- docs/usage/usage_basic.rst | 1 + docs/usage/usage_basic_tasks.rst | 56 +-- examples/advanced/README.txt | 15 + examples/advanced/advanced_main.py | 43 -- examples/advanced/arg1_listeners.py | 39 ++ examples/advanced/arg1_senders.py | 19 + examples/advanced/arg1_topics.py | 32 ++ examples/advanced/arg1_topics_out.py | 32 ++ examples/advanced/exchandle.py | 7 +- examples/advanced/kwargs_listeners.py | 10 +- examples/advanced/kwargs_topics_out.py | 2 +- examples/advanced/main_arg1.py | 51 +++ examples/advanced/main_kwargs.py | 50 +++ examples/advanced/notifhandle.py | 5 +- examples/basic_arg1/README.txt | 17 + examples/basic_arg1/console_listeners.py | 41 ++ examples/basic_arg1/console_main.py | 23 + examples/basic_arg1/console_senders.py | 22 + examples/basic_arg1/wx_main.py | 107 +++++ examples/basic_kwargs/README.txt | 12 +- examples/basic_kwargs/console_listeners.py | 10 +- examples/basic_kwargs/console_main.py | 4 +- examples/basic_kwargs/console_senders.py | 9 +- examples/basic_kwargs/wx_main.py | 8 +- examples/basic_kwargs/wx_win2.py | 5 +- examples/multithreadloop.py | 25 +- examples/runall.bat | 43 +- ez_setup.py | 222 +++++++++ release.bat | 33 +- setup.py | 51 ++- src/contrib/netpubsub.py | 117 ++--- src/contrib/wx_monitor.py | 323 ++++++-------- src/pubsub/RELEASE_NOTES.txt | 87 +++- src/pubsub/__init__.py | 13 +- src/pubsub/core/__init__.py | 59 ++- src/pubsub/core/annotations.py | 41 -- src/pubsub/core/callables.py | 170 +++---- src/pubsub/core/listener.py | 324 +------------- src/pubsub/core/notificationmgr.py | 178 ++++---- src/pubsub/core/publisher.py | 216 --------- src/pubsub/core/topicargspec.py | 294 ++---------- src/pubsub/core/topicdefnprovider.py | 410 ++++++++--------- src/pubsub/core/topicexc.py | 56 +-- src/pubsub/core/topicmgr.py | 359 +++++++-------- src/pubsub/core/topicobj.py | 422 +++++++----------- src/pubsub/core/topictreetraverser.py | 154 +++---- src/pubsub/core/topicutils.py | 87 ++-- src/pubsub/core/weakmethod.py | 98 +++- src/pubsub/pub.py | 166 ++++--- src/pubsub/utils/__init__.py | 12 +- src/pubsub/utils/exchandling.py | 66 ++- src/pubsub/utils/misc.py | 75 +++- src/pubsub/utils/notification.py | 250 +++++------ src/pubsub/utils/topictreeprinter.py | 196 +++++++- src/pubsub/utils/xmltopicdefnprovider.py | 70 +-- tests/config_no_auto/testsel_arg1.py | 4 + .../testsel_default.py} | 2 +- tests/config_no_auto/testsel_kwargs.py | 4 + tests/perf.py | 198 ++++---- tests/perf_filter.py | 134 ++++++ tests/profile10000Py27.txt | 68 +++ tests/profile10000Py33.txt | 68 +++ tests/pubsub_arg1/test_arg1.py | 59 +++ .../my_import_topics.py | 0 .../raisinglistener.py | 0 .../test1_listener.py | 227 +++++----- tests/{suite => pubsub_kwargs}/test2_spec.py | 19 +- .../{suite => pubsub_kwargs}/test2a_topic.py | 30 +- .../test2b_topicmgr.py | 91 ++-- .../{suite => pubsub_kwargs}/test2c_notify.py | 19 +- .../test2c_notify2.py | 39 +- .../{suite => pubsub_kwargs}/test2d_except.py | 23 +- .../test3c_pubsub3.py | 202 ++++----- .../test3d_defaultlog.py | 6 +- .../test4_prov_module_expect.py | 0 .../test4_provider.py | 111 ++--- .../test5_xmlprovider.py | 58 ++- .../xmlprovider_topics.xml | 0 tests/py24.patch | 266 +++++++++++ tests/py27and33compare.xlsx | Bin 0 -> 17150 bytes tests/pytest.ini | 2 - tests/readme.txt | 7 + tests/runperf.bat | 4 + tests/runtests.bat | 61 +++ tests/test4_prov_module_actual.py | 36 ++ .../trans_arg1_to_kwargs/test_trans_step_1.py | 79 ++++ .../trans_arg1_to_kwargs/test_trans_step_2.py | 84 ++++ .../trans_arg1_to_kwargs/test_trans_step_3.py | 91 ++++ .../trans_arg1_to_kwargs/test_trans_step_4.py | 74 +++ .../trans_arg1_to_kwargs/test_trans_step_5.py | 62 +++ tools/compare_timings.py | 93 ---- tools/depgraph.py | 147 ------ tools/depgraph2dot.py | 196 -------- tools/deps.py | 8 - tools/py2depgraph.py | 62 --- tox.ini | 23 +- 138 files changed, 5255 insertions(+), 4267 deletions(-) delete mode 100644 .idea/.gitignore delete mode 100644 .idea/codeStyleSettings.xml delete mode 100644 .idea/inspectionProfiles/Project_Default.xml delete mode 100644 .idea/inspectionProfiles/profiles_settings.xml delete mode 100644 .idea/runConfigurations/Build_Wheel_and_Source.xml delete mode 100644 .idea/runConfigurations/Gen_docs.xml delete mode 100644 .idea/runConfigurations/advanced_main.xml delete mode 100644 .idea/runConfigurations/console_main.xml delete mode 100644 .idea/runConfigurations/perf.xml delete mode 100644 .idea/runConfigurations/py_test_in_suite.xml delete mode 100644 .idea/runConfigurations/wx_main.xml delete mode 100644 .idea/vagrant.xml delete mode 100644 .travis.yml create mode 100644 docs/usage/howtos/arg1_to_kwargs.rst create mode 100644 docs/usage/howtos/upgrade_v1tov3.rst create mode 100644 docs/usage/setup_modules.rst create mode 100644 examples/advanced/README.txt delete mode 100644 examples/advanced/advanced_main.py create mode 100644 examples/advanced/arg1_listeners.py create mode 100644 examples/advanced/arg1_senders.py create mode 100644 examples/advanced/arg1_topics.py create mode 100644 examples/advanced/arg1_topics_out.py create mode 100644 examples/advanced/main_arg1.py create mode 100644 examples/advanced/main_kwargs.py create mode 100644 examples/basic_arg1/README.txt create mode 100644 examples/basic_arg1/console_listeners.py create mode 100644 examples/basic_arg1/console_main.py create mode 100644 examples/basic_arg1/console_senders.py create mode 100644 examples/basic_arg1/wx_main.py create mode 100644 ez_setup.py delete mode 100644 src/pubsub/core/annotations.py delete mode 100644 src/pubsub/core/publisher.py create mode 100644 tests/config_no_auto/testsel_arg1.py rename tests/{suite/test3b_sel_default.py => config_no_auto/testsel_default.py} (58%) create mode 100644 tests/config_no_auto/testsel_kwargs.py create mode 100644 tests/perf_filter.py create mode 100644 tests/profile10000Py27.txt create mode 100644 tests/profile10000Py33.txt create mode 100644 tests/pubsub_arg1/test_arg1.py rename tests/{suite => pubsub_kwargs}/my_import_topics.py (100%) rename tests/{suite => pubsub_kwargs}/raisinglistener.py (100%) rename tests/{suite => pubsub_kwargs}/test1_listener.py (65%) rename tests/{suite => pubsub_kwargs}/test2_spec.py (90%) rename tests/{suite => pubsub_kwargs}/test2a_topic.py (85%) rename tests/{suite => pubsub_kwargs}/test2b_topicmgr.py (87%) rename tests/{suite => pubsub_kwargs}/test2c_notify.py (91%) rename tests/{suite => pubsub_kwargs}/test2c_notify2.py (75%) rename tests/{suite => pubsub_kwargs}/test2d_except.py (88%) rename tests/{suite => pubsub_kwargs}/test3c_pubsub3.py (66%) rename tests/{suite => pubsub_kwargs}/test3d_defaultlog.py (85%) rename tests/{suite => pubsub_kwargs}/test4_prov_module_expect.py (100%) rename tests/{suite => pubsub_kwargs}/test4_provider.py (75%) rename tests/{suite => pubsub_kwargs}/test5_xmlprovider.py (60%) rename tests/{suite => pubsub_kwargs}/xmlprovider_topics.xml (100%) create mode 100644 tests/py24.patch create mode 100644 tests/py27and33compare.xlsx delete mode 100644 tests/pytest.ini create mode 100644 tests/readme.txt create mode 100644 tests/runperf.bat create mode 100644 tests/runtests.bat create mode 100644 tests/test4_prov_module_actual.py create mode 100644 tests/trans_arg1_to_kwargs/test_trans_step_1.py create mode 100644 tests/trans_arg1_to_kwargs/test_trans_step_2.py create mode 100644 tests/trans_arg1_to_kwargs/test_trans_step_3.py create mode 100644 tests/trans_arg1_to_kwargs/test_trans_step_4.py create mode 100644 tests/trans_arg1_to_kwargs/test_trans_step_5.py delete mode 100644 tools/compare_timings.py delete mode 100644 tools/depgraph.py delete mode 100644 tools/depgraph2dot.py delete mode 100644 tools/deps.py delete mode 100644 tools/py2depgraph.py diff --git a/.gitignore b/.gitignore index 583d76c..b8e1e48 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ -__pycache__ -/build +/.idea/workspace.xml +/docs/html +/src/PyPubSub.egg-info diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 98f4b2f..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/workspace.xml diff --git a/.idea/codeStyleSettings.xml b/.idea/codeStyleSettings.xml deleted file mode 100644 index c4c9543..0000000 --- a/.idea/codeStyleSettings.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml index f758959..e206d70 100644 --- a/.idea/encodings.xml +++ b/.idea/encodings.xml @@ -1,6 +1,5 @@ - - - - \ No newline at end of file + + + diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml deleted file mode 100644 index 3c7e03b..0000000 --- a/.idea/inspectionProfiles/Project_Default.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml deleted file mode 100644 index 3b31283..0000000 --- a/.idea/inspectionProfiles/profiles_settings.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index f52aab8..0ebd9a7 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,8 +1,21 @@ - - - \ No newline at end of file + + diff --git a/.idea/modules.xml b/.idea/modules.xml index daf0eaa..73bd944 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -5,4 +5,5 @@ - \ No newline at end of file + + diff --git a/.idea/pypubsub.iml b/.idea/pypubsub.iml index 5da76a7..aca9c85 100644 --- a/.idea/pypubsub.iml +++ b/.idea/pypubsub.iml @@ -3,23 +3,16 @@ - - - - - - + - - - -