Mercurial > p > roundup > code
comparison CHANGES.txt @ 7866:9bbc1d951677
issue2551331 - Fix repeat first/last methods.
The first() and last() methods for a variable defined by tal:repeat
now work as documented.
There is an undocumented same_part() method for repeat. It is called
by first/last and can cause them to return true when not at an end of
the Iterator sequence. I wrote a treatise on that function and what it
does. I have no idea why it does what it does.
Added tests for roundup/cgi/ZTUtils/Iterator.py
Also fixes issue with roman() found while writing tests. lower wasn't
being called and it was printing the lower() method signature.
Doc updates in references.txt to come in a future checkin. Clarifying
the repeat methods led to finding/fixing this.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 07 Apr 2024 20:52:17 -0400 |
| parents | 8b31893f5930 |
| children | a363bb8c0ed4 |
comparison
equal
deleted
inserted
replaced
| 7865:ee586ff074ed | 7866:9bbc1d951677 |
|---|---|
| 116 Malav and Bharath Kanama of the UMass-Boston CS682 Spring 2024 | 116 Malav and Bharath Kanama of the UMass-Boston CS682 Spring 2024 |
| 117 class; fix John Rouillard) | 117 class; fix John Rouillard) |
| 118 - issue2551264 - REST X-Total-Count header and @total_size count | 118 - issue2551264 - REST X-Total-Count header and @total_size count |
| 119 incorrect when paginated - correct values are now returned. | 119 incorrect when paginated - correct values are now returned. |
| 120 (John Rouillard) | 120 (John Rouillard) |
| 121 - issue2551331 - Fix repeat first/last methods. (John Rouillard) | |
| 121 | 122 |
| 122 | 123 |
| 123 Features: | 124 Features: |
| 124 | 125 |
| 125 - issue2551103 - add pragma 'display_protected' to roundup-admin. If | 126 - issue2551103 - add pragma 'display_protected' to roundup-admin. If |
