History log of /PHP_TRUNK/main/snprintf.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c081ce6 03-Jan-2014 Xinchen Hui <laruence@php.net> Bump year
/php-src/main/snprintf.c
a666285 01-Jan-2013 Xinchen Hui <laruence@php.net> Happy New Year
/php-src/main/snprintf.c
3728e50 14-Jul-2012 Felipe Pena <felipensp@gmail.com> Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
- Fixed bug #62525 (sigabrt while converting floating point to string)
63f3962 14-Jul-2012 Felipe Pena <felipensp@gmail.com> - Fixed bug #62525 (sigabrt while converting floating point to string)
/php-src/main/snprintf.c
e4ca0ed 01-Jan-2012 Felipe Pena <felipe@php.net> - Year++
/php-src/main/snprintf.c
4e19825 01-Jan-2012 Felipe Pena <felipe@php.net> - Year++
/php-src/main/snprintf.c
c32aa35 15-Sep-2011 Xinchen Hui <laruence@php.net> Fix warning "implicit declaration of function `vasprintf'"
If There is a better fix, plz fixme.
/php-src/main/snprintf.c
97ac5d3 09-Aug-2011 Pierrick Charron <pierrick@php.net> Remove unused variable
/php-src/main/snprintf.c
6290b88 09-Aug-2011 Pierrick Charron <pierrick@php.net> Remove unused variable
/php-src/main/snprintf.c
7d1eef4 11-Jul-2011 Dmitry Stogov <dmitry@php.net> Fixed bug #54332 (Crash in zend_mm_check_ptr // Heap corruption)
/php-src/main/snprintf.c
adb87c8 11-Jul-2011 Dmitry Stogov <dmitry@php.net> Fixed bug #54332 (Crash in zend_mm_check_ptr // Heap corruption)
/php-src/main/snprintf.c
2a6968e 21-Feb-2011 Gustavo André dos Santos Lopes <cataphract@php.net> - Fixed bug #54055 (buffer overrun with high values for precision ini
setting).
#This fix (for g/G/k/H modes) is done at a different level than that for the
#modes e/E/f/F, at a bit higher level and therefore with less coverage. I
#chose this because it addresses the problem where it is -- the calling function
#that passes a buffer too small to php_gcvt.
/php-src/main/snprintf.c
1b2d14c 21-Feb-2011 Gustavo André dos Santos Lopes <cataphract@php.net> - Fixed bug #54055 (buffer overrun with high values for precision ini
setting).
#This fix (for g/G/k/H modes) is done at a different level than that for the
#modes e/E/f/F, at a bit higher level and therefore with less coverage. I
#chose this because it addresses the problem where it is -- the calling function
#that passes a buffer too small to php_gcvt.
/php-src/main/snprintf.c
927bf09 01-Jan-2011 Felipe Pena <felipe@php.net> - Year++
/php-src/main/snprintf.c
0203cc3 01-Jan-2011 Felipe Pena <felipe@php.net> - Year++
/php-src/main/snprintf.c
159cd69 17-Aug-2010 Kalle Sommer Nielsen <kalle@php.net> Fixed compiler warnings in main/
/php-src/main/snprintf.c
9ba1e81 03-Jan-2010 Sebastian Bergmann <sebastian@php.net> sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
/php-src/main/snprintf.c
08659c2 31-Dec-2008 Sebastian Bergmann <sebastian@php.net> MFH: Bump copyright year, 3 of 3.
/php-src/main/snprintf.c
ceabdbb 27-Nov-2008 Scott MacVicar <scottmac@php.net> MFH Add asprintf, use regular system malloc and free and add checks in configure.in for the functions
/php-src/main/snprintf.c
bfbe9a3 21-Nov-2008 Scott MacVicar <scottmac@php.net> MFH Add vasprintf() so the buffer can be automatically calculated, you need to efree this when done though!
/php-src/main/snprintf.c
1474d9d 15-Sep-2008 Dmitry Stogov <dmitry@php.net> Fixed bug #43053 (Regression: some numbers shown in scientific notation). (int-e at gmx dot de)
some 64bit test files may need to be fixed
/php-src/main/snprintf.c
dff168c 07-Feb-2008 Marcus Boerger <helly@php.net> - MFH Add %Z to *printf
/php-src/main/snprintf.c
45e6d1e 07-Feb-2008 Marcus Boerger <helly@php.net> - MFH WS
/php-src/main/snprintf.c
d1dded8 31-Dec-2007 Sebastian Bergmann <sebastian@php.net> MFH: Bump copyright year, 2 of 2.
/php-src/main/snprintf.c
36cf6a2 01-Oct-2007 Ilia Alshanetsky <iliaa@php.net> Fixed bug #42785 (json_encode() formats doubles according to locale rather
then following standard syntax).
/php-src/main/snprintf.c
515aaed 03-Aug-2007 Antony Dovgal <tony2001@php.net> 'I32' and 'I' support
/php-src/main/snprintf.c
aa54d9e 25-Jun-2007 Dmitry Stogov <dmitry@php.net> Restore big exponent letter in var_export() ('1e300' -> '1E300')
/php-src/main/snprintf.c
3b481ce 19-Jun-2007 Derick Rethans <derick@php.net> - MFH: Added the H modifier to create non-locale-aware non-fixed-precision
float representations.
- MFH: Fixed var_export() to use the new H modifier so that it can generate
parsable PHP code for floats again, independent of the locale.
/php-src/main/snprintf.c
73aa351 12-Apr-2007 Antony Dovgal <tony2001@php.net> MFH: add support for %I64(u|d) to sprintf() utilities
/php-src/main/snprintf.c
7939691 26-Feb-2007 Antony Dovgal <tony2001@php.net> fix ws/cs and make the ugly code less ugly..
/php-src/main/snprintf.c
1345740 24-Feb-2007 Marcus Boerger <helly@php.net> - Add [v]slprintf to overcome the returnvalues issue of snprintf
/php-src/main/snprintf.c
4223aa4 01-Jan-2007 Sebastian Bergmann <sebastian@php.net> MFH: Bump year.
/php-src/main/snprintf.c
4307af8 19-Dec-2006 Antony Dovgal <tony2001@php.net> MFH
/php-src/main/snprintf.c
c34d863 19-Dec-2006 Antony Dovgal <tony2001@php.net> MFH
/php-src/main/snprintf.c
5d8183f 19-Dec-2006 Dmitry Stogov <dmitry@php.net> Support for systems without locale.h
/php-src/main/snprintf.c
c43fc2a 19-Dec-2006 Dmitry Stogov <dmitry@php.net> Fixed bug #39815 (SOAP double encoding is not locale-independent)
/php-src/main/snprintf.c
9ef3575 18-Dec-2006 Hannes Magnusson <bjori@php.net> MFH:
- make %f locale aware again
- fix precision loss with %F (noticed by Sebastian Nohn)
- add new tests
/php-src/main/snprintf.c
4d44a5b 06-Dec-2006 Antony Dovgal <tony2001@php.net> MFH: use BSD licensed implementation of double-to-string utilities instead of LGPL one
this patch also fixes thread safety issues in zend_strtod()
/php-src/main/snprintf.c
c018b83 07-May-2006 Marcus Boerger <helly@php.net> - MFH %v for s[np]printf
/php-src/main/snprintf.c
9cb7d29 24-Jan-2006 Marcus Boerger <helly@php.net> - MFH Bug #35978 %n format string specifier wrongly implemented
/php-src/main/snprintf.c
5bd9322 01-Jan-2006 foobar <sniper@php.net> bump year and license version
/php-src/main/snprintf.c
22ee7f8 26-Dec-2005 Marcus Boerger <helly@php.net> - MFH Support full range of floats
/php-src/main/snprintf.c
ec1a7e0 26-Dec-2005 Marcus Boerger <helly@php.net> - SWH (WS + memory corruption fix)
/php-src/main/snprintf.c
23e671a 03-Aug-2005 foobar <sniper@php.net> - Bumber up year
/php-src/main/snprintf.c
816bcd3 15-Nov-2004 Frank M. Kromann <fmk@php.net> Fix win32 build.
/php-src/main/snprintf.c
61364b5 15-Nov-2004 Derick Rethans <derick@php.net> - MFH4.3: Cleaned up some of the locale mess:
* all internal use of sprintf, snprintf and the like will always
use the . as thousands seperator (if php.h is included only!).
* echo, printf() and sprintf() always render locale-aware
* added the %F modifier for non-locale aware rendering for floats
/php-src/main/snprintf.c
43e44e4 15-Apr-2004 Marcus Boerger <helly@php.net> Bugfix #28012, now for snprintf
/php-src/main/snprintf.c
dbeb415 08-Jan-2004 Andi Gutmans <andi@php.net> - A belated happy holidays and PHP 5
/php-src/main/snprintf.c
2c454d7 21-Oct-2003 Marcus Boerger <helly@php.net> Bugfix #25930 Can't compile snprintf.c
/php-src/main/snprintf.c
6ac36d1 29-Sep-2003 Ilia Alshanetsky <iliaa@php.net> More NaN & INF handling fixes.
/php-src/main/snprintf.c
9f329ad 14-Sep-2003 Marcus Boerger <helly@php.net> Add length modifier L
/php-src/main/snprintf.c
9b98e42 14-Sep-2003 Marcus Boerger <helly@php.net> - Add length modifiers(ll, j, t, h, hh)
# Still missing formats (%a, %A)
# Still missing modifier (l) in (%lc, %ls)
# Still missing modifier (L) in (%La, %LA, %Le, %LE, %Lf, %LF, %Lg, %LG)
# C99 requires any conversion to be able to produce at least 4095
# characters. Implementation only allows less then 512.
#
# Only inside ext/mbstring etc. we could use %lc and %ls. And none of the
# rest should affect us until we stay with double and avoid long double.
/php-src/main/snprintf.c
af574b9 13-Sep-2003 Marcus Boerger <helly@php.net> - Fix %p to prepend '0x' as suggested by C99.
- Add 'z' prefix.
# Now you can use '%zd' in [v]spprintf() and everything that utilizes it
# like error messages BUT you still cannot rely on it in [v]s[n]printf()
# calls.
/php-src/main/snprintf.c
4ea2599 08-Aug-2003 Marcus Boerger <helly@php.net> Clearify
/php-src/main/snprintf.c
2ede480 08-Aug-2003 Marcus Boerger <helly@php.net> Bugfix #24063 (marcus/ilia)
/php-src/main/snprintf.c
244795a 17-Jul-2003 Marcus Boerger <helly@php.net> Fix text output of numbers with absolute exponent greater than or equal 80.
#
# Probably not last conclusion on wisdom. But i looked up current apache
# sources and they have the same error and so this must do the trick.
#
/php-src/main/snprintf.c
8cb5c9c 30-Jun-2003 Ilia Alshanetsky <iliaa@php.net> Fixed bug #24063 (*printf() did not handle scientific notation correctly)
/php-src/main/snprintf.c
f68c7ff 10-Jun-2003 James Cox <imajes@php.net> updating license information in the headers.
/php-src/main/snprintf.c
4f4cc4f 05-May-2003 Ilia Alshanetsky <iliaa@php.net> Sanity check that ensures proper handling of 'E' doubles/floats as well as
prevents an unlikely buffer overflow.
/php-src/main/snprintf.c
411478e 25-Feb-2003 foobar <sniper@php.net> Fixed bug #20256 (snprintf() not defined)
/php-src/main/snprintf.c
8e3f23e 19-Feb-2003 foobar <sniper@php.net> ws fixes + missing $Id$ tags, headers added
/php-src/main/snprintf.c
f9669f6 13-Feb-2003 Ilia Alshanetsky <iliaa@php.net> Modified fix for bug #22187 so that it does not affect handling of numbers
represented in scientific notation.
/php-src/main/snprintf.c
f924aaf 12-Feb-2003 Ilia Alshanetsky <iliaa@php.net> Fixed bug #22187 (spprintf function did not handle floats correctly).
/php-src/main/snprintf.c
b6cf2bb 21-Aug-2002 Marcus Boerger <helly@php.net> make snprintf and f,g,G converions of snprintf/spprintf C99 complient
/php-src/main/snprintf.c
76aa60d 23-Jun-2002 Marcus Boerger <helly@php.net> -compiler warning (missing data type)
/php-src/main/snprintf.c
66036ea 07-May-2002 Sascha Schumann <sas@php.net> use thread-safe functions unconditionally
/php-src/main/snprintf.c
946fca9 07-May-2002 Sascha Schumann <sas@php.net> Add thread-safety to some conversion functions and sync a bit with
APR.
/php-src/main/snprintf.c
e76b401 11-Apr-2002 Marcus Boerger <helly@php.net> fix build (hopefully for BSD, too)
/php-src/main/snprintf.c
4e1a645 10-Apr-2002 Marcus Boerger <helly@php.net> fix a warnig and an error (found by Sebastioan)
/php-src/main/snprintf.c
d3e9752 10-Apr-2002 Marcus Boerger <helly@php.net> -preface for new vpprintf
#reordered and renamed some functions and removed some static
/php-src/main/snprintf.c
78747bd 09-Sep-2001 Derick Rethans <derick@php.net> - Don't wrap lines... this is annoying while coding.
/php-src/main/snprintf.c
81e2cf0 06-Jun-2001 Rasmus Lerdorf <rasmus@php.net> Fix folding and clean up some extensions
/php-src/main/snprintf.c
9e5b0de 05-Jun-2001 Jason Greene <jason@php.net> Add the capibility to to allow ap_php_(v)snprintf to replace (v)snprintf
if the platform has a broken (v)snprintf, or in my case, if a library included
by a module redifines snprintf incorrectly.
/php-src/main/snprintf.c
25c3a3a 05-Jun-2001 Rasmus Lerdorf <rasmus@php.net> vim-6 does folding - clean up a bunch of missing folding tags plus
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
/php-src/main/snprintf.c
ab9a7a5 01-May-2001 Andi Gutmans <andi@php.net> - Remove C++ comment
/php-src/main/snprintf.c
d04562e 01-May-2001 Andi Gutmans <andi@php.net> - Fix snprintf() to work with nan and inf properly
/php-src/main/snprintf.c
6d0ab61 10-Feb-2000 Zeev Suraski <zeev@php.net> SAPIfication, Episode VI: Return of the SAPI
Remove mostly all references to APACHE and CGI_BINARY from the code.

- Apache include files are no longer included by any PHP code, except for the Apache SAPI module.
- No server specific code is in any of the base PHP code.

Still left to be done:
- Eliminate any references to APACHE from the few remaining modules.
- Move request_info.c's logic to SAPI
- Modify the regex function names, and globals, so that we can always
include them, without having to fear any interference with Apache;
Always use the bundled regex library
/php-src/main/snprintf.c
2639ab7 31-Jul-1999 Zeev Suraski <zeev@php.net> Fix another compile warning
/php-src/main/snprintf.c
0b77132 11-May-1999 Zeev Suraski <zeev@php.net> * Get Apache to work. POST doesn't work yet.
* There are now -I directives for the absolute path of php4, php4/libzend and the builddir for
the Apache module, so we can #include any php/Zend header.
* Rename config.h to php_config.h
/php-src/main/snprintf.c
aceaabc 07-Apr-1999 Zeev Suraski <zeev@php.net> PHP 4.0
/php-src/main/snprintf.c