Ilia Alshanetsky
99f2fc81f3
Fixed a bug (introduced in previous patch) that caused non-double values to
...
be converted to 0 by printf/sprint functions when %f format is specified.
2002-10-14 16:03:16 +00:00
Sebastian Bergmann
fcf35e7b4c
Fix ZTS build.
2002-10-11 04:44:14 +00:00
Ilia Alshanetsky
bc14a6f133
This patch fixes handling of floats on locales where decimal point is not a
...
'.'. Problem is best demonstrated by bug #17079 .
2002-10-10 16:29:35 +00:00
Sascha Schumann
30f038be18
Add '+' modifier.
...
+ A sign (+ or -) always be placed before a number
produced by a signed conversion. By default a sign
is used only for negative numbers. A + overrides a
space if both are used.
2002-09-21 15:08:59 +00:00
Marcus Boerger
149ad05b4f
php_error_docref
...
#New conversion available at: http://docref.txt.marcus-boerger.de
2002-08-24 01:19:28 +00:00
Derick Rethans
728f2de442
Unify error messages
2002-07-08 12:52:22 +00:00
Hartmut Holzgraefe
efdde5efe5
making printf/sprintf locale-aware without external dependencies
2002-06-17 11:50:25 +00:00
Hartmut Holzgraefe
0170e42763
reverted patch depending on not yet commited work
2002-06-16 21:22:10 +00:00
Hartmut Holzgraefe
7686d43737
make sprinf() locale-aware (Bug# 12647)
2002-06-16 13:14:21 +00:00
Derick Rethans
25b42ae3b6
- Fix handling of zero'th argument for sprintf()'s argument swapping code
...
(Patch by Morten Poulsen <morten@afdelingp.dk>)
2002-03-22 09:09:18 +00:00
Sebastian Bergmann
90613d2282
Maintain headers.
2002-02-28 08:29:35 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
Hartmut Holzgraefe
c1626365f9
proto fixes
2001-12-06 18:59:22 +00:00
Jeroen van Wolffelaar
6cfba2a3ea
2nd phase in back-substitution those macro's
...
I've got pretty much everything now...
2001-09-25 22:49:04 +00:00
Jeroen van Wolffelaar
c033288573
Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.
2001-09-25 21:58:48 +00:00
Derick Rethans
78747bd2df
- Don't wrap lines... this is annoying while coding.
2001-09-09 13:29:31 +00:00
Zeev Suraski
c0404f4631
Whitespace
2001-08-11 17:03:37 +00:00
Andrei Zmievski
c4555f9f55
@- Added vprintf() and vsprintf() functions that allow passing all arguments
...
@ after format as an array. (Andrei)
2001-08-07 19:44:45 +00:00
Zeev Suraski
c43806f415
Zend compatibility patch
2001-07-30 08:24:42 +00:00
Zeev Suraski
7b1c400631
More TSRMLS_FETCH annihilation (Zend compatibility patch)
2001-07-30 04:58:07 +00:00
Stanislav Malyshev
dfe15ad070
Fix warnings
2001-07-19 08:12:12 +00:00
Stanislav Malyshev
f0c879bb26
Make variables receiving long be long
...
Fix binary (x,o,b) formats - they should not be signed
2001-07-18 16:48:52 +00:00
Rasmus Lerdorf
81e2cf03ac
Fix folding and clean up some extensions
2001-06-06 13:06:12 +00:00
Rasmus Lerdorf
25c3a3a39d
vim-6 does folding - clean up a bunch of missing folding tags plus
...
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
2001-06-05 13:12:10 +00:00
Derick Rethans
dc43b9f574
- Reversed 'fix' for #9698
...
- Fix for bug #9698/#10681 (patch by kettler@gmx.net )
@- Added the 'u' modifier to printf/sprintf which prints unsigned longs.
@ (Derick)
2001-05-20 00:23:49 +00:00
Rasmus Lerdorf
e8e6828863
- Make the printf functions binary clean
...
@ - Make the printf family of functions binary clean
2001-04-25 21:05:59 +00:00
Rasmus Lerdorf
334cba47b9
printf argnum (parameter swapping) support from Morten Poulsen
2001-04-09 15:44:24 +00:00
Derick Rethans
c713967de3
- 'Fix' for bug 10002
2001-03-27 17:21:45 +00:00
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
2001-02-26 06:11:02 +00:00
Sascha Schumann
4ba16a1169
Make use of zend_isinf and zend_isnan.
2000-08-20 06:08:14 +00:00
Stanislav Malyshev
159abaa900
Fix print length - again
...
# I hope _this_ is the right fix...
2000-08-14 15:54:57 +00:00
Stanislav Malyshev
821042278e
Fix another crash with long formats ( #6145 )
...
# From strncpy manual:
# In the case where the length of src is less than that of
# n, the remainder of dest will be padded with nulls.
2000-08-14 11:07:28 +00:00
Stanislav Malyshev
97c200b170
Fix non-numbers printing ( #6142 )
...
# Please, somebody knowing about floats - check if there's more non-numbers
# seems we should check for all of them
2000-08-14 10:02:14 +00:00
Ken Coar
f869e47eae
Undo numerical format regression introduced by the fix of the
...
zero-precison %s formatting.
2000-07-21 03:21:56 +00:00
Ken Coar
0ca493768b
Bring forward the zero-precision (%.0s) string formatting fix
...
from PHP3. (After being nagged by Thies. :-) Whee! My first
PHP4 commit..
2000-07-18 16:34:30 +00:00
Egon Schmid
9f0eba9f10
It was Jouni: Prevent Hartmut finding this until it is actually implemented...
2000-06-25 17:21:04 +00:00
Andi Gutmans
3701bc4207
- ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
2000-06-05 19:47:54 +00:00
Jouni Ahto
8fe69306dc
Correct fix this time... (?)
2000-05-31 22:44:29 +00:00
Jouni Ahto
1e7c5b8562
Fix a nasty off-by-one with negative numbers.
...
# Hey, this has been there for years undetected.
2000-05-31 22:27:09 +00:00
Zeev Suraski
e043439ff6
Update the license with the new clause 6
2000-05-18 15:34:45 +00:00
Zeev Suraski
86fa2aade2
the pipe is breaking all the time
2000-02-19 23:41:32 +00:00
Sascha Schumann
43ae2bffbb
Happy Y2K patch! Happy new year (or the new millennium, depending on whether
...
you start counting at 0 or 1).
2000-01-01 01:32:05 +00:00
Zeev Suraski
a1ad2872ee
- The tree compiles again
1999-12-18 22:40:35 +00:00
Zeev Suraski
3ee4e65c95
More php3_ annihilation
1999-12-18 04:01:20 +00:00
Zeev Suraski
fb1c77bd4f
- Made PHP_VERSION and PHP_OS work again
...
- More php3_ cleanup
@- Restored the PHP_VERSION and PHP_OS constants (Zeev)
1999-12-17 20:55:31 +00:00
Sascha Schumann
5b983c944f
Clean up php3.*\.h files. The files itself are renamed, and references in all
...
.*\.[ch] files were changed. There is a slight chance that my script missed
a few changes, please correct them manually.
1999-12-04 19:19:57 +00:00
Evan Klinger
42f8f2516d
Convert to Ex API
...
# If someone could please check these I'd appreciate it
1999-11-23 06:46:40 +00:00
Egon Schmid
4fe14a780c
More forgotten prototypes.
1999-10-18 20:00:42 +00:00
Rasmus Lerdorf
f2fe56ff69
[s]printf fix for bug #1952
...
(note, [s]printf doesn't work in PHP4 yet)
1999-08-03 20:08:33 +00:00
Zeev Suraski
3cb1eb0471
Removed '3' from key functions in PHP (maintained compatibility through
...
php3_compat.h)
1999-08-02 19:17:14 +00:00
Zeev Suraski
c5724cbd14
License update
1999-07-16 13:13:16 +00:00
Zeev Suraski
0818d96c97
A lot of cleanups... Removed old thread-safe code and other redundant code and files
1999-04-24 00:12:00 +00:00
Zeev Suraski
6f7c0edee3
Remove tls.[ch]
1999-04-23 20:06:01 +00:00
Stig Bakken
ff37732997
moved fdf, hyperwave, informix and some smaller files
1999-04-22 00:25:57 +00:00
Zeev Suraski
5e8c322859
Make Win32 happy with the recent changes.
1999-04-18 15:58:27 +00:00
Stig Bakken
257de2bade
First commit of re-structuring phase one. We have started using automake in
...
sub-directories and started to move extension code into ext/<name>. For now,
I have moved the "standard" extension (which is quite a mix of everything
right now) and the GD extension into their own subdirs in ext/.
The configure script now also runs configure in the libzend directory
automatically and makes sure php4 and libzend use the same config.cache file.
To avoid running configure in libzend, use the --no-recursion option.
"make" in php4 also builds libzend now.
The Apache module doesn't compile right now, but a fix for that is
coming up.
1999-04-17 00:37:12 +00:00