summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Tagging 0.6 Release Candidate 2luke@maurits.id.au2012-05-020-0/+0
|
* Copied trunk to 0.6 branch and updated non-source files in preparation for 0.6.luke@maurits.id.au2012-05-023-10/+49
|
* Minor tests, tweaks and changes.luke@maurits.id.au2012-05-022-5/+42
|
* Reimplemented slicing with __getitem__ instead of __getslice__luke@maurits.id.au2012-05-021-8/+7
|
* Fixed lots of small assorted bugs. Fixed table slicing, which has ↵luke@maurits.id.au2012-05-022-4/+27
| | | | apparently been broken forever(!). Wrote some tests for slicing, in preparation for rewriting it using __getitem__.
* Very minor tidy up of Python 3 compatibility stuff.luke@maurits.id.au2012-05-021-6/+4
|
* Float format can now be specified on a per-column basis. Also, integer ↵luke@maurits.id.au2012-05-012-16/+46
| | | | formatting is now available using a similar interfact, by setting table.int_format.
* Added a _format_value method to handle float formatting. This reduces code ↵luke@maurits.id.au2012-04-301-6/+8
| | | | duplication and opens up the path to easier adding of more formatting options, like decimal formatting and per-column number formatting.
* Several changes in the interests of Python 3 compatibility. I believe that ↵luke@maurits.id.au2012-04-302-18/+31
| | | | right now, everything works as expected in Python 2.7 *and* Python 3. There are probably much nicer/better/more conventional ways of achieving this dual compatibility, and I will look into those and work on it, but for now at least stuff works.
* Did further tidying up of unnecessary width recalculations, and fixed a bug ↵luke@maurits.id.au2012-04-301-8/+12
| | | | that earlier tidying up introduced.
* Tidied up width computation considerably. Widths are no longer recomputed ↵luke@maurits.id.au2012-04-301-23/+11
| | | | each time a row is added or a fieldname is changed, etc. This was so wasteful! Widths are now computed once at the beginning of get_string(). This let me get rid of the ugly hack that had been in place to handle the case with no headers.
* get_html_string() included a table header even if the header option was set ↵luke@maurits.id.au2012-04-301-6/+8
| | | | to False. Fixed.
* Wrote _get_rows() function which returns rows to be printed, taking into ↵luke@maurits.id.au2012-04-301-24/+23
| | | | account sorting, slicing, etc. Replaced 3 basically identical blocks of code which all implemented this logic, reducing code duplication.
* Only call _stringify_hrule() once per call to get_string(), for speed/efficiencyluke@maurits.id.au2012-04-301-8/+10
|
* 1) Removed printt() and print_html() functions. In retrospect, they were ↵luke@maurits.id.au2012-04-302-109/+82
| | | | | | stupid and unnecessary. People can just use get_string() and get_html_string() together with Python's inbuilt print function. This cuts down on module size and removes one source of 2.x / 3.x tension (different inbuilt print syntax) 2) Removed everything to do with caching strings. In retrospect, this was stupid and unnecessary. People are relatively unlikely to call get_string() multiple times without changing the table contents or settings. If they do, they can just keep track of this themselves and "cache" the table by storing its string in a variable.
* Implemented the ability to set a sort key function.luke@maurits.id.au2012-03-242-6/+81
|
* Added support for floating point data formatting.luke@maurits.id.au2012-03-242-14/+83
|
* Fixed issue 6 in Google Code issue tracker ("no true unicode support").luke@maurits.id.au2011-07-091-32/+45
|
* Fixed issue 8 in Google Code issue tracker ("Changing fields_names does not ↵luke@maurits.id.au2011-07-091-7/+11
| | | | recompute the column widths").
* Fixed issue 3 in Google Code issue tracker ("html tables don't get sorted").luke@maurits.id.au2011-07-091-2/+3
|
* Fix issue 4 : tr tags not closed in table body rowsklein.stephane2010-03-112-2/+66
|
* Fix issue 5 : « feature need : support break line in cell »klein.stephane2010-03-112-39/+146
| | | | | Now, prettytable support break line in HTML and ASCII output mode
* Corrected documentation of alignment setting.luke.maurits2009-06-020-0/+0
|
* Tagging 0.6 release candidate 01luke.maurits2009-06-020-0/+0
|
* Updated CHANGELOG for 0.6luke.maurits2009-06-020-0/+0
|
* Branching 0.6luke.maurits2009-06-020-0/+0
|
* Implemented setter-less control of column alignments.luke.maurits2009-06-022-58/+54
|
* Documented copy method.luke.maurits2009-05-300-0/+0
|
* Added copy method.luke.maurits2009-05-301-0/+7
|
* Documented del_row, clear_rows and clear methods.luke.maurits2009-05-300-0/+0
|
* Made del_row method actually work, added clear_rows and clear methods, added ↵luke.maurits2009-05-301-1/+28
| | | | rowcount and colcount attributes.
* Added del_row method.luke.maurits2009-05-301-27/+43
|
* Made it clear that HTML methods support all the same non-style related ↵luke.maurits2009-05-300-0/+0
| | | | options as the ASCII methods.
* Added stuff about fields, start and end arguments.luke.maurits2009-05-300-0/+0
|
* Test HTML methods, added property stuff for a few missed options.luke.maurits2009-05-292-45/+111
|
* Tutorial0.6 page just about finished now, I think.luke.maurits2009-05-290-0/+0
|
* Created wiki page through web user interface.luke.maurits2009-05-280-0/+0
|
* Tidying up of docstrings related to setting of options.luke.maurits2009-05-281-22/+77
|
* Removed some deprecated setters. Restored original handling of ↵luke.maurits2009-05-282-120/+108
| | | | left/right/combined padding widths. Can now set any option in constructor.
* Added change log file.luke.maurits2009-05-281-0/+84
|
* Most of the grunt work involved in migrating to "property" managed ↵luke.maurits2009-05-282-43/+233
| | | | attributes has been done. Still some tidying up to do, though.
* Changed upper case __VERSION__ to standard __version__ (see ↵clach042009-05-282-2/+2
| | | | http://www.python.org/dev/peps/pep-0008/ )
* Added some unit tests to replace the previous ad-hoc testing system.luke.maurits2009-05-272-3/+121
|
* Implemented set_style method and some example pre-sets.luke.maurits2009-05-271-0/+66
|
* All options are now read from class attributes with method argument over-rides.luke.maurits2009-05-271-176/+124
|
* Set the "version" variable in setup.py to match the value of a __VERSION__ ↵luke.maurits2009-05-272-2/+4
| | | | variable imported from prettytable.py
* Use a method decorator to clear the caches - reduces code duplication.luke.maurits2009-05-271-12/+15
|
* Created wiki page through web user interface.luke.maurits2009-05-270-0/+0
|
* Tagging PrettyTable 0.5 releaseluke.maurits2009-05-260-0/+0
|
* Finalised 0.5 branch.luke.maurits2009-05-260-0/+0
|