Activity log for bug #1158052

Date Who What changed Old value New value Message
2013-03-21 00:47:21 Paul J. Lucas bug added bug
2013-03-21 00:47:40 Paul J. Lucas description ItemFactory contains: Item createBase64Binary(const char* aBinData, size_t aLength) = 0; Item createBase64Binary(const unsigned char* aBinData, size_t aLength) = 0; The former expects base64-encoded data; the latter expected raw binary data that is then encoded. IMHO, the distinction between char* and unsigned char* is too subtle. You can't tell by looking at a call to either function whether it's calling the first or second -- you have to look up the type of the first argument. IMHO, it would be better to merge the two functions (that take a const char*) and add a 3rd argument: bool isEncoded that explicitly specifies whether the data is encoded or not. This API change should be done for Zorba 3.0. Initially assigned to Matthias for later reassignment. ItemFactory contains:   Item createBase64Binary(const char* aBinData, size_t aLength) = 0;   Item createBase64Binary(const unsigned char* aBinData, size_t aLength) = 0; The former expects base64-encoded data; the latter expected raw binary data that is then encoded. IMHO, the distinction between char* and unsigned char* is too subtle. You can't tell by looking at a call to either function whether it's calling the first or second -- you have to look up the type of the first argument. IMHO, it would be better to merge the two functions (that take a const char*) and add a 3rd argument:     bool isEncoded that explicitly specifies whether the data is encoded or not. This API change should be done for Zorba 3.0. Initially assigned to Matthias for later reassignment.
2013-06-12 22:58:03 Matthias Brantner zorba: assignee Matthias Brantner (matthias-brantner) Paul J. Lucas (paul-lucas)
2013-06-20 15:59:56 Paul J. Lucas branch linked lp:~zorba-coders/zorba/bug-1158052
2013-06-21 01:06:04 Paul J. Lucas zorba: status New In Progress
2013-06-28 13:57:33 Paul J. Lucas zorba: status In Progress Fix Committed