[yaala] Back into game
qMax
yaala@verplant.org
Tue, 2 Nov 2004 18:11:13 +0600
------------FCD7CC2BF7578
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
First patch just fixes option "use_persistent" which was ignored when
saving data.
Another patch implements option "classic_ignore_empty" for combined
report (should it now be just "ignore_empty"?).
The header of 1st key is not rowspanned when enables.
Good luck.
--
qMax
------------FCD7CC2BF7578
Content-Type: application/octet-stream; name="Option_use_persistent.diff"
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="Option_use_persistent.diff"
LS0tIHlhYWxhLm9yaWcvbGliL1lhYWxhL0RhdGEvUGVyc2lzdGVudC5wbQlUaHUgRGVjIDEx
IDIwOjEzOjMzIDIwMDMKKysrIHlhYWxhL2xpYi9ZYWFsYS9EYXRhL1BlcnNpc3RlbnQucG0J
VHVlIE5vdiAgMiAxNDowNjowMyAyMDA0CkBAIC0yMTgsNyArMjE4LDcgQEAKIAogRU5ECiB7
Ci0JaWYgKCRIQVZFX1NUT1JBQkxFKQorCWlmICgkSEFWRV9TVE9SQUJMRSBhbmQgJFdBTlRf
UEVSU0lTVEVOQ1kpCiAJewogCQlwcmludCBTVERFUlIgJC8sIF9fRklMRV9fLCAiOiBXcml0
aW5nIHBlcnNpc3RlbnQgZGF0YSB0byBgYCRGSUxFTkFNRScnIiBpZiAoJDo6REVCVUcpOwog
CQlzdG9yZSAoJERBVEFfU1RSVUNUVVJFLCAkRklMRU5BTUUpOwo=
------------FCD7CC2BF7578
Content-Type: application/octet-stream; name="Option_ignore_empty_in_combined.patch"
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="Option_ignore_empty_in_combined.patch"
LS0tIHlhYWxhLm9yaWcvbGliL1lhYWxhL1JlcG9ydC9Db21iaW5lZC5wbQlUaHUgRGVjIDEx
IDIwOjEzOjMzIDIwMDMKKysrIHlhYWxhL2xpYi9ZYWFsYS9SZXBvcnQvQ29tYmluZWQucG0J
VHVlIE5vdiAgMiAxNzo1OToyOSAyMDA0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