Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-09-17 | Moved Curl_rand() and Curl_srand() code from formdata.c and formdata.h | Yang Tse | |
into curl_rand.c and curl_rand.h | |||
2009-06-15 | Replaced use of standard C library rand()/srand() by our own pseudo-random ↵ | Patrick Monnerat | |
number generator. | |||
2009-06-09 | initialize fread callback pointer to avoid compiler warning | Yang Tse | |
2009-04-21 | libcurl's memory.h renamed to curl_memory.h | Yang Tse | |
2008-12-20 | malloc+memset => calloc | Daniel Stenberg | |
2008-11-18 | Avoid creating garbage on an OOM error | Dan Fandrich | |
2008-11-14 | Added .xml as one of the few common file extensions known by the multipart | Dan Fandrich | |
form generator. Made the extensions part of the MIME type struct to reduce the size and run-time relocations necessary to build the table. | |||
2008-11-14 | fix an OOM problem detected by Jim Meyering | Daniel Stenberg | |
2008-10-20 | added a NULL pointer check for the name field as it can in fact be NULL when | Daniel Stenberg | |
dereferenced here, if the app passes in a funny combo. Detected by coverity.com | |||
2008-09-24 | ntoa() and inet_ntoa_r() no longer used | Yang Tse | |
2008-09-06 | remove unnecessary typecasting of malloc() | Yang Tse | |
2008-09-06 | remove unnecessary typecasting of calloc() | Yang Tse | |
2008-09-02 | Made some variables const which eliminated some casts | Dan Fandrich | |
2008-08-16 | Library internal only C preprocessor macros FORMAT_OFF_T and FORMAT_OFF_TU | Yang Tse | |
remain in use as internal curl_off_t print formatting strings for the internal *printf functions which still cannot handle print formatting string directives such as "I64d", "I64u", and others available on MSVC, MinGW, Intel's ICC, and other DOS/Windows compilers. This reverts previous commit part which did: FORMAT_OFF_T -> CURL_FORMAT_CURL_OFF_T FORMAT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU | |||
2008-08-15 | For congruency sake with the naming of other CURL_XXXXXX_CURL_OFF_T macros, | Yang Tse | |
the names of the curl_off_t formatting string directives now become CURL_FORMAT_CURL_OFF_T and CURL_FORMAT_CURL_OFF_TU. CURL_FMT_OFF_T -> CURL_FORMAT_CURL_OFF_T CURL_FMT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU Remove the use of an internal name for the curl_off_t formatting string directives and use the common one available from the inside and outside of the library. FORMAT_OFF_T -> CURL_FORMAT_CURL_OFF_T FORMAT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU | |||
2008-07-08 | Fixed test 554 to pass the torture test. | Dan Fandrich | |
2008-03-31 | - Added CURLFORM_STREAM as a supported option to curl_formadd() to allow an | Daniel Stenberg | |
application to provide data for a multipart with the read callback. Note that the size needs to be provided with CURLFORM_CONTENTSLENGTH when the stream option is used. This feature is verified by the new test case 554. This feature was sponsored by Xponaut. | |||
2007-11-05 | removed space after if and while before the parenthesis for better source code | Daniel Stenberg | |
consistency | |||
2007-09-27 | Enabled a few more gcc warnings with --enable-debug. Renamed a few | Dan Fandrich | |
variables to avoid shadowing global declarations. | |||
2007-08-27 | Fixed some minor type mismatches and missing consts mainly found by splint. | Dan Fandrich | |
2007-08-05 | Patrick Monnerat updated the _FORM_DEBUG-enabled code, and I updated comments | Daniel Stenberg | |
based on his comments/suggestions. | |||
2007-03-31 | Better deal with NULL pointers. | Daniel Stenberg | |
CID 3 and 4 from the coverity.com scan. | |||
2007-02-26 | Removed inclusion of <sys/types.h> and <sys/stat.h> in .c-files | Gisle Vanem | |
since they're already included through "setup.h". | |||
2007-01-27 | update copyright year notice | Yang Tse | |
2007-01-14 | - David McCreedy provided libcurl changes for doing HTTP communication on | Daniel Stenberg | |
non-ASCII platforms. It does add some complexity, most notably with more #ifdefs, but I want to see this supported added and I can't see how we can add it without the extra stuff added. | |||
2006-08-29 | Avoid Metaware's High-C warning "'=' encountered where '==' may have been ↵ | Gisle Vanem | |
intended." | |||
2006-07-27 | Yves Lejeune fixed so that replacing Content-Type: when doing multipart | Daniel Stenberg | |
formposts work exactly the way you want it (and the way you'd assume it works) | |||
2006-07-20 | David McCreedy fixed a build error when building libcurl with HTTP disabled, | Daniel Stenberg | |
problem added with the curl_formget() patch. | |||
2006-06-28 | fix minor compiler warning | Yang Tse | |
2006-06-24 | Michael Wallner added curl_formget(), which allows an application to extract | Daniel Stenberg | |
(serialise) a previously built formpost (as with curl_formadd()). | |||
2006-04-26 | Fixed signed/unsigned convertion errors in Salford-C. | Gisle Vanem | |
#ifdef around WSAEDISCON in strerror.c. | |||
2005-11-24 | Yang Tse: fix compilation errors when SSL is not disabled and HTTP is | Daniel Stenberg | |
disabled | |||
2005-05-02 | corrected copyright year | Daniel Stenberg | |
2005-04-26 | Cory Nelson's work on nuking compiler warnings when building on x64 with | Daniel Stenberg | |
VS2005. | |||
2004-12-22 | C ensures that static variables are initialized to 0 | Dan Fandrich | |
2004-12-16 | moved the lseek() and stat() magic defines to setup.h and now take advantage | Daniel Stenberg | |
of struct_stat in formdata.c as well, to support formpost uploads of large files on Windows too | |||
2004-12-15 | Add 'const' to immutable arrays. | Dan Fandrich | |
2004-11-02 | Paul Nolan fix to make libcurl build nicely on Windows CE | Daniel Stenberg | |
2004-10-24 | Mohun Biswas found out that formposting a zero-byte file didn't work very | Daniel Stenberg | |
good. I fixed. | |||
2004-10-08 | if basename was found, check for a prototype and if none was found, provide | Daniel Stenberg | |
our own in the formdata.c file to prevent warnings on systems without it | |||
2004-10-06 | removed tabs and trailing whitespace from source | Daniel Stenberg | |
2004-10-05 | Only include libgen.h if we have a basename as well. | Daniel Stenberg | |
Mainly meant to deal with the IRIX case which seems to requrie a "-lgen" lib to find the basename function and thus without the gen lib, it finds the header but not the function and our replacement function has a prototype that doesn't match the IRIX one. A different approach would be to make configure detect and use -lgen for the systems that require it. | |||
2004-10-05 | let our basename() be static | Daniel Stenberg | |
2004-10-01 | someone should hit me | Daniel Stenberg | |
2004-10-01 | fixed the basename() replacement, reported by Gisle | Daniel Stenberg | |
2004-10-01 | - Based on Fedor Karpelevitch's formpost path basename patch, file parts in | Daniel Stenberg | |
formposts no longer include the path part. If you _really_ want them, you must provide your preferred full file name with CURLFORM_FILENAME. Added detection for libgen.h and basename() to configure. My custom basename() replacement function for systems without it, might be a bit too naive... Updated 6 test cases to make them work with the stripped paths. | |||
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-06-24 | Source cleanups. The major one being that we now _always_ use a Curl_addrinfo | Daniel Stenberg | |
linked list for name resolved data, even on hosts/systems with only IPv4 stacks as this simplifies a lot of code. | |||
2004-06-14 | Allow formposting of files larger than what fits in memory by not reading the | Daniel Stenberg | |
file until it is actually being uploaded. Make sure we build and still work with HTTP disabled - the SSL code might use the boundary string for some random seeding. | |||
2004-06-13 | provide curl_formfree() even when http is disabled, it does nothing then | Daniel Stenberg | |