Author: bugman Date: Thu Mar 7 22:21:51 2013 New Revision: 18688 URL: http://svn.gna.org/viewcvs/relax?rev=18688&view=rev Log: Merged revisions 18662-18687 via svnmerge from svn+ssh://bugman@xxxxxxxxxxx/svn/relax/trunk ........ r18662 | bugman | 2013-03-07 15:39:38 +0100 (Thu, 07 Mar 2013) | 5 lines Created the lib.text package for text manipulation. The first module will be the text formatting of tables. ........ r18663 | bugman | 2013-03-07 15:46:56 +0100 (Thu, 07 Mar 2013) | 6 lines Created the lib.geometry.lines module for performing geometric operations with lines. This has one stub of a function lib.geometry.lines.closest_point() which will be used to find the closest point on a line to a given point. ........ r18664 | bugman | 2013-03-07 15:56:54 +0100 (Thu, 07 Mar 2013) | 3 lines Added the package checking unit tests for the lib package. ........ r18665 | bugman | 2013-03-07 16:24:24 +0100 (Thu, 07 Mar 2013) | 5 lines Improved the base class unit test for the package __all__ list. Subpackages are now also checked. ........ r18666 | bugman | 2013-03-07 16:25:46 +0100 (Thu, 07 Mar 2013) | 3 lines Blacklisted a number of files in the maths_fns package for the package __all__ list unit test. ........ r18667 | bugman | 2013-03-07 16:26:32 +0100 (Thu, 07 Mar 2013) | 3 lines Added a unit test for the lib.geometry package __all__ list. ........ r18668 | bugman | 2013-03-07 16:27:05 +0100 (Thu, 07 Mar 2013) | 3 lines Created a unit test for the lib.geometry.lines.closest_point() function. ........ r18669 | bugman | 2013-03-07 16:28:40 +0100 (Thu, 07 Mar 2013) | 6 lines Created the lib.text.table module. This originates from the prompt.uf_docstring module as most of that module is functions for creating formatted text tables. ........ r18670 | bugman | 2013-03-07 17:00:44 +0100 (Thu, 07 Mar 2013) | 3 lines Updated the lib package __all__ list for the lib.text package. ........ r18671 | bugman | 2013-03-07 17:15:53 +0100 (Thu, 07 Mar 2013) | 6 lines Implemented the closest_point() and closest_point_ax() functions of lib.geometry.lines. These two functions do the same thing - find the closest point on a line to any given point - but take different arguments to define the line. ........ r18672 | bugman | 2013-03-07 17:16:45 +0100 (Thu, 07 Mar 2013) | 3 lines Improved the package __all__ list base unit test by skipping all hidden files and directories. ........ r18673 | bugman | 2013-03-07 17:58:11 +0100 (Thu, 07 Mar 2013) | 7 lines Refactored the lib.text.table module. The create_table() function is now called format_table() and the table_line() function has been made private. All references to the user function tables and the relax status object have been removed and replaced by arguments to format_table(). ........ r18674 | bugman | 2013-03-07 17:59:09 +0100 (Thu, 07 Mar 2013) | 5 lines The prompt.uf_docstring module now uses lib.text.table.format_table(). This significantly simplifies the module. ........ r18675 | bugman | 2013-03-07 18:01:12 +0100 (Thu, 07 Mar 2013) | 3 lines Removed a number of unused imports in prompt.uf_docstring. ........ r18676 | bugman | 2013-03-07 18:04:55 +0100 (Thu, 07 Mar 2013) | 3 lines Deleted prompt.uf_docstring.table_line() as this is now a private function of lib.text.table. ........ r18677 | bugman | 2013-03-07 18:08:19 +0100 (Thu, 07 Mar 2013) | 3 lines Fix for lib.text.table.format_table() as table_line() is now private. ........ r18678 | bugman | 2013-03-07 18:09:38 +0100 (Thu, 07 Mar 2013) | 6 lines Added the spacing argument to lib.text.table.format_table(). This removes the reference to the user function table spacing variable from this function and shifts it to the prompt.uf_docstring.create_table() function. ........ r18679 | bugman | 2013-03-07 18:16:08 +0100 (Thu, 07 Mar 2013) | 3 lines Created the framework for the unit tests of the lib.text package. ........ r18680 | bugman | 2013-03-07 18:23:51 +0100 (Thu, 07 Mar 2013) | 3 lines Created two unit tests for the lib.text.table.format_table() function. ........ r18681 | bugman | 2013-03-07 18:26:34 +0100 (Thu, 07 Mar 2013) | 3 lines Fix for the lib.text package __all__ list - the module is 'table', not 'tables'. ........ r18682 | bugman | 2013-03-07 18:33:30 +0100 (Thu, 07 Mar 2013) | 5 lines Fix for the unit tests of the lib.text.table.format_table() function. The function currently expects all table contents to be strings. ........ r18683 | bugman | 2013-03-07 18:39:22 +0100 (Thu, 07 Mar 2013) | 3 lines Fix for the lib.text.table.format_table() function - the column width calculation was broken. ........ r18684 | bugman | 2013-03-07 21:03:53 +0100 (Thu, 07 Mar 2013) | 3 lines Updates to the unit tests of the lib.text.table.format_table() function. ........ r18685 | bugman | 2013-03-07 22:05:06 +0100 (Thu, 07 Mar 2013) | 7 lines Many improvements to the lib.text.table module. The format_table() function now accepts arguments for text to prefix and postfix to each line, the text padding to the left and right inside the table, and the text used to separate the columns. The _blank() and _rule() private functions have been added to create distinct table elements. ........ r18686 | bugman | 2013-03-07 22:05:26 +0100 (Thu, 07 Mar 2013) | 3 lines Removed a debugging printout. ........ r18687 | bugman | 2013-03-07 22:06:07 +0100 (Thu, 07 Mar 2013) | 3 lines Fixes for the unit tests of the lib.text.table.format_table() function. ........ Added: branches/frame_order_testing/lib/geometry/lines.py - copied unchanged from r18687, trunk/lib/geometry/lines.py branches/frame_order_testing/lib/text/ - copied from r18687, trunk/lib/text/ branches/frame_order_testing/test_suite/unit_tests/_lib/_geometry/test___init__.py - copied unchanged from r18687, trunk/test_suite/unit_tests/_lib/_geometry/test___init__.py branches/frame_order_testing/test_suite/unit_tests/_lib/_geometry/test_lines.py - copied unchanged from r18687, trunk/test_suite/unit_tests/_lib/_geometry/test_lines.py branches/frame_order_testing/test_suite/unit_tests/_lib/_text/ - copied from r18687, trunk/test_suite/unit_tests/_lib/_text/ branches/frame_order_testing/test_suite/unit_tests/_lib/test___init__.py - copied unchanged from r18687, trunk/test_suite/unit_tests/_lib/test___init__.py Modified: branches/frame_order_testing/ (props changed) branches/frame_order_testing/lib/__init__.py branches/frame_order_testing/lib/geometry/__init__.py branches/frame_order_testing/prompt/uf_docstring.py branches/frame_order_testing/test_suite/unit_tests/_maths_fns/test___init__.py branches/frame_order_testing/test_suite/unit_tests/package_checking.py [This mail would be too long, it was shortened to contain the URLs only.] Modified: branches/frame_order_testing/lib/__init__.py URL: http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/lib/__init__.py?rev=18688&r1=18687&r2=18688&view=diff Modified: branches/frame_order_testing/lib/geometry/__init__.py URL: http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/lib/geometry/__init__.py?rev=18688&r1=18687&r2=18688&view=diff Modified: branches/frame_order_testing/prompt/uf_docstring.py URL: http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/prompt/uf_docstring.py?rev=18688&r1=18687&r2=18688&view=diff Modified: branches/frame_order_testing/test_suite/unit_tests/_maths_fns/test___init__.py URL: http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/test_suite/unit_tests/_maths_fns/test___init__.py?rev=18688&r1=18687&r2=18688&view=diff Modified: branches/frame_order_testing/test_suite/unit_tests/package_checking.py URL: http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/test_suite/unit_tests/package_checking.py?rev=18688&r1=18687&r2=18688&view=diff