aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command/html.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a bug in the be html command.gian2010-02-101-1/+1
| | | | | | File "/usr/lib/python2.5/site-packages/libbe/command/html.py", line 371, in _escape return xml.sax.saxutils.escape(char) NameError: global name 'char' is not defined
* Merged Eric Kow's HTML escaping patchW. Trevor King2010-02-091-8/+1
|
* Sort comments in `be html`.W. Trevor King2010-02-021-0/+2
|
* libbe.command.html.HTMLGen._long_to_linked_user() handles failed conversion.W. Trevor King2010-01-301-2/+34
| | | | | | | Before, anything matching libbe.util.id.REGEXP was convert-or-die. Now it's convert-or-no-op. Much safer ;). The new _long_to_linked_user doctest would have failed with the old implementation.
* `be html` links (<a href="...) #-delimited references in text/* bodies.W. Trevor King2010-01-271-5/+34
|
* Added shortname (.id.user()) data to `be html`s comment dataW. Trevor King2010-01-191-2/+3
|
* Updated copyright informationW. Trevor King2010-01-011-2/+2
|
* Added UserInterface and other improved abstractions for command handlingW. Trevor King2009-12-311-5/+7
|
* Don't chdir() in libbe/command/html.py doctests.W. Trevor King2009-12-291-10/+7
|
* Remove libbe.ui.util.cmdutilW. Trevor King2009-12-291-11/+4
| | | | All of its functionality has moved off into more focused modules.
* Fixed libbe.command.diff + ugly BugDir.duplicate_bugdir implementationW. Trevor King2009-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | duplicate_bugdir() works, but for the vcs backends, it could require shelling out for _every_ file read. This could, and probably will, be horribly slow. Still it works ;). I'm not sure what a better implementation would be. The old implementation checked out the entire earlier state into a temporary directory pros: single shell out, simple upgrade implementation cons: wouldn't work well for HTTP backens I think a good solution would run along the lines of the currently commented out code in duplicate_bugdir(), where a VersionedStorage.changed_since(revision) call would give you a list of changed files. diff could work off of that directly, without the need to generate a whole duplicate bugdir. I'm stuck on how to handle upgrades though... Also removed trailing whitespace from all python files.
* Transitioned severity to Command-format, also added Command._get_*()W. Trevor King2009-12-141-3/+4
| | | | | | | | | | | | | | The old .requires_* thing was rediculous. The new ._get_*() callbacks allow the caller to provide a means for getting the expensive structures, which the command can use, or not, as required. This will also make it easier to implement the completion callbacks. The callbacks should probably have matching .set_*() methods, to avoid the current cache tweaking cmd._storage = ... etc. But that can wait for now...
* Transitioned new to Command-formatW. Trevor King2009-12-141-0/+1
|
* Transitioned html to Command-formatW. Trevor King2009-12-141-118/+146
|
* Transitioned comment to Command formatW. Trevor King2009-12-141-7/+5
|
* Initial directory restructuring to clarify dependenciesW. Trevor King2009-12-071-0/+609