Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-08-24 | base64: fix Curl_base64_encode and Curl_base64_decode interfaces | Yang Tse | |
Previous interfaces for these libcurl internal functions did not allow to tell apart a legitimate zero size result from an error condition. These functions now return a CURLcode indicating function success or otherwise specific error. Output size is returned using a pointer argument. All usage of these two functions, and others closely related, has been adapted to the new interfaces. Relative error and OOM handling adapted or added where missing. Unit test 1302 also adapted. | |||
2011-07-26 | stdio.h, stdlib.h, string.h, stdarg.h and ctype.h inclusion done in setup_once.h | Yang Tse | |
2011-06-10 | unittest: mark all unit tested functions | Daniel Stenberg | |
With "@unittest: [num]" in the header comment for each tested function. Shows we have a log way to go still... | |||
2011-05-23 | compiler warning: fix | Yang Tse | |
Fix compiler warning: expression has no effect Fix OOM handling | |||
2011-04-27 | source cleanup: unify look, style and indent levels | Daniel Stenberg | |
By the use of a the new lib/checksrc.pl script that checks that our basic source style rules are followed. | |||
2011-04-20 | CURL_DOES_CONVERSIONS: cleanup | Daniel Stenberg | |
Massively reduce #ifdefs all over (23 #ifdef lines less so far) Moved conversion-specific code to non-ascii.c | |||
2011-04-17 | base64.c: removed wrong comment | Daniel Stenberg | |
2010-03-24 | remove the CVSish $Id$ lines | Daniel Stenberg | |
2010-02-22 | convert Curl_ultous() and Curl_ultouc() functions to curlx_ultous() and | Yang Tse | |
curlx_ultouc(), exposing them through curlx.h to allow proper code reuse later in our test harness. | |||
2010-02-22 | add header inclusion | Yang Tse | |
2010-02-22 | fix compiler warning | Yang Tse | |
2010-02-21 | fix compiler warning | Yang Tse | |
2010-02-20 | fix compiler warning | Yang Tse | |
2010-02-20 | fix compiler warning | Yang Tse | |
2010-02-20 | fix compiler warning | Yang Tse | |
2009-06-04 | fix shadowing of a global declaration | Yang Tse | |
2009-04-21 | libcurl's memory.h renamed to curl_memory.h | Yang Tse | |
2008-11-14 | Remove a chunk of unused code that was #ifdef'de on defines we never set. | Daniel Stenberg | |
We do testing of code functions using the test suite instead! | |||
2008-09-06 | remove unnecessary typecasting of malloc() | Yang Tse | |
2008-09-06 | remove unnecessary typecasting of realloc() | Yang Tse | |
2008-09-04 | fix print formatting string directives | Yang Tse | |
2008-09-02 | Removed some redundant type casts | Dan Fandrich | |
2008-08-17 | libcurl internal base64.h header file renamed to curl_base64.h | Yang Tse | |
2007-11-05 | removed space after if and while before the parenthesis for better source code | Daniel Stenberg | |
consistency | |||
2007-08-30 | Renamed several libcurl error codes and options to make them more general | Dan Fandrich | |
and allow reuse by multiple protocols. Several unused error codes were removed. In all cases, macros were added to preserve source (and binary) compatibility with the old names. These macros are subject to removal at a future date, but probably not before 2009. An application can be tested to see if it is using any obsolete code by compiling it with the CURL_NO_OLDIES macro defined. Documented some newer error codes in libcurl-error(3) | |||
2007-04-25 | Steve Little's fixes to allow compilation on VMS 64-bit mode | Yang Tse | |
2007-04-13 | proper fix for compiler warning | Yang Tse | |
2007-04-13 | fix compiler warning | Yang Tse | |
2007-04-04 | Fixes some more out of memory handling bugs. | Dan Fandrich | |
2007-02-01 | Suppress the "'convbuf' might be used uninitialized in this function" warning. | Gisle Vanem | |
2007-01-03 | - David McCreedy made changes to allow base64 encoding/decoding to work on | Daniel Stenberg | |
non-ASCII platforms. | |||
2006-10-17 | Avoid typecasting a signed char to an int when using is*() functions, as that | Daniel Stenberg | |
could very well cause a negate number get passed in and thus cause reading outside of the array usually used for this purpose. We avoid this by using the uppercase macro versions introduced just now that does some extra crazy typecasts to avoid byte codes > 127 to cause negative int values. | |||
2006-07-19 | Fix compiler warnings | Yang Tse | |
2005-03-31 | Updated the copyright year since changes have been this year. | Daniel Stenberg | |
2005-02-28 | Fix for a base64 decode heap buffer overflow vulnerability. | Dan Fandrich | |
2005-02-22 | Curl_base64_decode() now returns an allocated buffer | Daniel Stenberg | |
2004-12-15 | Add 'const' to immutable arrays. | Dan Fandrich | |
2004-06-24 | Replaced all uses of sprintf() with the safer snprintf(). It is just a | Daniel Stenberg | |
precaution to prevent mistakes to lead to buffer overflows. | |||
2004-05-12 | make sure the returned pointer is NULL when encoding fails | Daniel Stenberg | |
2004-05-11 | curl_global_init_mem() allows the memory functions to be replaced. | Daniel Stenberg | |
memory.h is included everywhere for this. | |||
2004-03-01 | removed an unnecessary shift and splut up som weird two-statements-per-line | Daniel Stenberg | |
code | |||
2004-02-23 | oops, the decode() function got its arguments reversed in my cleanup | Daniel Stenberg | |
operation! | |||
2004-02-23 | More size_t cleanups in the base64 functions. | Daniel Stenberg | |
2004-02-23 | The base64 encode function now takes a size_t for size, not an int as | Daniel Stenberg | |
previously. | |||
2004-01-07 | updated year in the copyright string | Daniel Stenberg | |
2003-06-26 | We noe use CURLDEBUG instead of MALLOCDEBUG | Daniel Stenberg | |
2003-06-11 | made a nicer output for the decode test, as it served as a nice tool for me ;-) | Daniel Stenberg | |
2003-06-11 | Initial take at NTLM authentication. It doesn't really work at this point | Daniel Stenberg | |
but the infrastructure is there. | |||
2003-02-13 | Christopher R. Palmer fixed Curl_base64_encode() to deal with zeroes in the | Daniel Stenberg | |
data to encode. | |||
2003-01-29 | removed the local variables for emacs and vim, use the new sample.emacs | Daniel Stenberg | |
way for emacs, and vim users should provide a similar non-polluting style |