That's some scary code there, Sara. What about endianness and
portability?
-Andrei
On Dec 4, 2006, at 8:52 PM, Sara Golemon wrote:
+ if (str_type == IS_UNICODE) {
+ UChar udelim = ',', uenc = '"', uesc = '\\';
+
+ /* Non-passed params would need to be upconverted, but we
pollita Tue Dec 5 04:52:44 2006 UTC
Modified files:
/php-srcNEWS
/php-src/ext/standard basic_functions.c file.c php_string.h
string.c
Log:
Add str_getcsv() and fix a couple cases in recent fgetcsv() reimplementation
pollita Mon Oct 9 02:48:06 2006 UTC
Modified files:
/php-src/ext/standard basic_functions.c streamsfuncs.c
streamsfuncs.h
/php-srcNEWS
Log:
Add stream_resolve_include_path()
http://cvs.php.net/viewvc.cgi/php-sr
hholzgraFri May 19 10:44:34 2006 UTC
Modified files:
/php-srcNEWS
/php-src/ext/standard basic_functions.c file.c file.h
Log:
Name change: php_get_tmpdir() renamed to sys_get_temp_dir()
http://cvs.php.net/viewcvs.cgi/php-src/NEWS?r1=1.21
Either of these works for me.
At 11:02 AM 5/7/2006, Pierre wrote:
On 5/7/06, Antony Dovgal <[EMAIL PROTECTED]> wrote:
On 07.05.2006 21:26, Wez Furlong wrote:
> sys_tmpdir()?
> I vote for sys_ as the prefix, as we've started down that path with
> sys_getloadavg().
Yeah, sys_tmpdir() sounds good
On 5/7/06, Antony Dovgal <[EMAIL PROTECTED]> wrote:
On 07.05.2006 21:26, Wez Furlong wrote:
> sys_tmpdir()?
> I vote for sys_ as the prefix, as we've started down that path with
> sys_getloadavg().
Yeah, sys_tmpdir() sounds good.
For the record, php_get_temporary_directory is the internal name
On 07.05.2006 21:26, Wez Furlong wrote:
sys_tmpdir()?
I vote for sys_ as the prefix, as we've started down that path with
sys_getloadavg().
Yeah, sys_tmpdir() sounds good.
On 5/7/06, Pierre <[EMAIL PROTECTED]> wrote:
On 5/7/06, Andi Gutmans <[EMAIL PROTECTED]> wrote:
> Hartmut,
>
> This is a
sys_tmpdir()?
I vote for sys_ as the prefix, as we've started down that path with
sys_getloadavg().
--Wez.
On 5/7/06, Pierre <[EMAIL PROTECTED]> wrote:
On 5/7/06, Andi Gutmans <[EMAIL PROTECTED]> wrote:
> Hartmut,
>
> This is a very odd name to be using and doesn't follow our naming conventions
On 5/7/06, Andi Gutmans <[EMAIL PROTECTED]> wrote:
Hartmut,
This is a very odd name to be using and doesn't follow our naming conventions.
Maybe something like sys_get_tmpdir()?
I like to go with system_get_temp_dir(). I know it is a long dir but I
hate to ask myself, is it sys or system? tmp
Hartmut,
This is a very odd name to be using and doesn't follow our naming conventions.
Maybe something like sys_get_tmpdir()?
Andi
At 02:59 AM 5/6/2006, Hartmut Holzgraefe wrote:
hholzgraSat May 6 09:59:02 2006 UTC
Modified files:
/php-srcNEWS
/php-src/ext/sta
hholzgraSat May 6 09:59:02 2006 UTC
Modified files:
/php-srcNEWS
/php-src/ext/standard basic_functions.c file.c file.h
Log:
Added php_get_tmpdir() function that returns the default directory for
temporary files (as requested in bug #35380)
dmitry Thu Mar 16 16:53:10 2006 UTC
Modified files:
/php-srcNEWS
/php-src/ext/standard basic_functions.c dl.c dl.h
/php-src/main main.c php_globals.h php_main.h
/php-src/sapi/cgi cgi_main.c
/php-src/sapi/cli php_cli.c
/php-s
iliaa Mon Mar 6 14:27:46 2006 UTC
Modified files:
/php-src/ext/standard basic_functions.c basic_functions.h file.c
/php-srcNEWS
Log:
Fixed bug #36630 (umask not reset at the end of the request).
# This needs to be MFHed, but since it requires
dmitry Wed Aug 10 08:02:17 2005 EDT
Modified files:
/php-srcNEWS
/ZendEngine2zend_compile.c zend_compile.h
/php-src/ext/standard basic_functions.c
Log:
Fixed bug #25359 (array_multisort() doesn't work in a function if array is
global o
iliaa Tue Aug 9 10:41:01 2005 EDT
Modified files:
/php-srcNEWS
/php-src/ext/standard basic_functions.c
Log:
News and constants for parse_url().
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.2028&r2=1.2029&ty=u
Index: php-src/NEWS
diff -u php
andrey Mon May 2 08:12:04 2005 EDT
Modified files:
/php-srcNEWS
/php-src/ext/standard basic_functions.c math.c php_math.h
/php-src/ext/standard/tests/mathmath_std_dev.phpt
Log:
add also math_variance() which uses the same calculation as ma
On Sun, Apr 10, 2005 at 04:25:11PM -, Ilia Alshanetsky wrote:
> iliaa Sun Apr 10 12:25:11 2005 EDT
>
> Modified files:
> /php-src NEWS
> /php-src/ext/standard basic_functions.c basic_functions.h
> Log:
> Added time_sleep_until() function, which is a
iliaa Sun Apr 10 12:25:11 2005 EDT
Modified files:
/php-srcNEWS
/php-src/ext/standard basic_functions.c basic_functions.h
Log:
Added time_sleep_until() function, which is a high precision mechanism of
making a script sleep until specified timesta
iliaa Wed Apr 6 10:19:14 2005 EDT
Modified files:
/php-srcNEWS
/php-src/ext/standard basic_functions.c basic_functions.h
Log:
Removed php_check_syntax() function, it never worked properly. For now
use shell_exec("php -l script_name") or similar.
On 2005/03/08, at 4:37, Ilia Alshanetsky wrote:
+/* {{{ proto string htmlspecialchars(string string [, int
quote_style])
+ Convert special HTML entities back to characters */
Proto is wrong.. and do you have any good name in mind except
"htmlspecialchars_decode" ? :)
Moriyoshi
--
PHP CVS Mailing
iliaa Mon Mar 7 14:37:28 2005 EDT
Modified files:
/php-src/ext/standard basic_functions.c html.c html.h
/php-srcNEWS
Log:
Added htmlspecialchars_decode() function for fast conversion from
htmlspecialchars() generated entities back to characters.
pollita Mon Sep 13 23:48:17 2004 EDT
Modified files:
/php-src/ext/standard basic_functions.c streamsfuncs.c
streamsfuncs.h
/php-src/main php_streams.h
/php-src/main/streams filter.c php_stream_filter_api.h str
pollita Fri Sep 10 16:45:36 2004 EDT
Modified files:
/php-srcNEWS
/php-src/ext/standard basic_functions.c streamsfuncs.h
/php-src/main php_streams.h
/php-src/main/streams streams.c userspace.c
Log:
Add stream_wrapper_unregister(
pollita Sat Aug 7 00:50:25 2004 EDT
Modified files:
/php-src/ext/standard basic_functions.c basic_functions.h
/php-srcNEWS
Log:
New Functions inet_pton() and inet_ntop()
http://cvs.php.net/diff.php/php-src/ext/standard/basic_functions.c?r1=1.679&
derick Fri May 28 06:45:19 2004 EDT
Modified files:
/php-srcNEWS
/php-src/ext/standard basic_functions.c
Log:
- Fixed ip2long() behavior if an invalid IP address was passed to the
function. This makes it possible to distingiush between "255.255.
derick Sat Jan 3 08:51:03 2004 EDT
Modified files:
/php-srcNEWS
/ZendEngine2zend.c zend_API.c zend_compile.c zend_compile.h
zend_execute.c zend_object_handlers.c
zend_reflection_api.c
/php-src/ext
helly Sat Dec 27 16:10:35 2003 EDT
Added files:
/php-src/ext/standard/tests/general_functions bug25038.phpt
Modified files:
/php-src/ext/standard basic_functions.c
/php-srcNEWS
Log:
Bugfix #25038 (call_user_func issue
iliaa Sun Nov 23 20:17:28 2003 EDT
Modified files:
/php-srcNEWS
/php-src/ext/standard basic_functions.c basic_functions.h
Log:
Added php_strip_whitespace() and php_check_syntax() functions.
Index: php-src/NEWS
diff -u php-src/NEWS:1.1500 php-
As Andi might say: "Why not call this http_headers()?" :)
(and also rename 'headers_sent' -> http_headers_sent() :)
--Jani
On Wed, 19 Nov 2003, Sara Golemon wrote:
>pollitaWed Nov 19 16:10:34 2003 EDT
>
> Modified files:
>/php-src/ext/stan
pollita Wed Nov 19 16:10:34 2003 EDT
Modified files:
/php-src/ext/standard head.c head.h basic_functions.c
/php-srcNEWS
Log:
New function: headers_list(). Ennumerate headers sent to SAPI engine
Index: php-src/ext/standard/head.c
diff -u php-src/
Thanks.
At 10:55 PM 11/14/2003 +, Ilia Alshanetsky wrote:
iliaa Fri Nov 14 17:55:55 2003 EDT
Modified files:
/php-srcNEWS
/php-src/ext/standard basic_functions.c basic_functions.h
Log:
Rename nanosleep() to time_nanosleep().
Index: php-src/NEWS
diff -u php-sr
iliaa Fri Nov 14 17:55:55 2003 EDT
Modified files:
/php-srcNEWS
/php-src/ext/standard basic_functions.c basic_functions.h
Log:
Rename nanosleep() to time_nanosleep().
Index: php-src/NEWS
diff -u php-src/NEWS:1.1498 php-src/NEWS:1.1499
--- php
At 02:12 PM 11/14/2003 -0500, Ilia Alshanetsky wrote:
On November 14, 2003 06:19 am, Andi Gutmans wrote:
> Yes, but that is concerning legacy functions when we were too dumb to do
> the right thing.
I don't think the old method of function naming is necessarily bad. If
anything it helps people who
On November 14, 2003 06:19 am, Andi Gutmans wrote:
> Yes, but that is concerning legacy functions when we were too dumb to do
> the right thing.
I don't think the old method of function naming is necessarily bad. If
anything it helps people who come from C/C++ environment since the functions
the
At 06:24 PM 11/13/2003 -0500, Ilia Alshanetsky wrote:
On November 13, 2003 05:54 pm, you wrote:
> Again, this is breaking our naming conventions. (yeah I know there's legacy
> stuff).
> How about time_nanosleeop()?
Heh, I can't ever seem to get the names right. That said, I think in this
case
it w
On 2003/11/14, at 8:24, Ilia Alshanetsky wrote:
On November 13, 2003 05:54 pm, you wrote:
Again, this is breaking our naming conventions. (yeah I know there's
legacy
stuff).
How about time_nanosleeop()?
Heh, I can't ever seem to get the names right. That said, I think in
this case
it would be be
On November 13, 2003 05:54 pm, you wrote:
> Again, this is breaking our naming conventions. (yeah I know there's legacy
> stuff).
> How about time_nanosleeop()?
Heh, I can't ever seem to get the names right. That said, I think in this case
it would be better to keep the function name as is. So, f
At 06:50 PM 11/12/2003 -0500, Ilia Alshanetsky wrote:
On November 12, 2003 06:34 pm, Moriyoshi Koizumi wrote:Moriyoshi
> I think it'd rather belong to a matter of stupidity that the user has to
> choose the available function in order to accomplish a common purpose.
> Actually they don't act like o
At 06:14 PM 11/12/2003 -0500, Ilia Alshanetsky wrote:
On November 12, 2003 06:02 pm, Moriyoshi Koizumi wrote:
> Hmm, did you ever think of an idea of allowing float values for usleep()
> instead of adding one more redundancy to the existing two look-alikes?
Actually I have, but you'll notice that u
On November 12, 2003 06:58 pm, Nathan Sullivan wrote:
> In my opinion as a user, I would say allow sleep() to accept floats, and
> depreciate usleep(). If sleep() is implemented with nanosleep() anyway,
> is there a point to having both?
Yes, some systems do not have nanosleep, in those cases slee
Ilia Alshanetsky wrote:
On November 12, 2003 06:34 pm, Moriyoshi Koizumi wrote:Moriyoshi
I think it'd rather belong to a matter of stupidity that the user has to
choose the available function in order to accomplish a common purpose.
Actually they don't act like one another though.
Well, th
On November 12, 2003 06:34 pm, Moriyoshi Koizumi wrote:Moriyoshi
> I think it'd rather belong to a matter of stupidity that the user has to
> choose the available function in order to accomplish a common purpose.
> Actually they don't act like one another though.
Well, the 3 sleep functions we now
On 2003/11/13, at 8:31, Ilia Alshanetsky wrote:
On November 12, 2003 06:16 pm, Moriyoshi Koizumi wrote:
Well, then it looks like I have to wonder, if there is any option to
get them combined into an unified function, hopefully by deprecating
two of those?
What would be the advantage of such an app
On November 12, 2003 06:16 pm, Moriyoshi Koizumi wrote:
> Well, then it looks like I have to wonder, if there is any option to
> get them combined into an unified function, hopefully by deprecating
> two of those?
What would be the advantage of such an approach? Code wise you won't gain any
reduc
On 2003/11/13, at 8:14, Ilia Alshanetsky wrote:
On November 12, 2003 06:02 pm, Moriyoshi Koizumi wrote:
Hmm, did you ever think of an idea of allowing float values for
usleep()
instead of adding one more redundancy to the existing two look-alikes?
Actually I have, but you'll notice that unlike ot
On November 12, 2003 06:02 pm, Moriyoshi Koizumi wrote:
> Hmm, did you ever think of an idea of allowing float values for usleep()
> instead of adding one more redundancy to the existing two look-alikes?
Actually I have, but you'll notice that unlike other sleep functions
nanosleep() can return a
On Wed, Nov 12, 2003 at 10:02:38PM -, Ilia Alshanetsky wrote:
> iliaa Wed Nov 12 17:02:38 2003 EDT
>
> Modified files:
> /php-src NEWS
> /php-src/ext/standard basic_functions.c basic_functions.h
> Log:
> Added nanosleep(), in addition to allowing sett
Hmm, did you ever think of an idea of allowing float values for usleep()
instead of adding one more redundancy to the existing two look-alikes?
Moriyoshi
On 2003/11/13, at 7:02, Ilia Alshanetsky wrote:
iliaa Wed Nov 12 17:02:38 2003 EDT
Modified files:
/php-src NEWS
/php-src/ext/stand
iliaa Wed Nov 12 17:02:38 2003 EDT
Modified files:
/php-srcNEWS
/php-src/ext/standard basic_functions.c basic_functions.h
Log:
Added nanosleep(), in addition to allowing setting of very short states.
This function is signal safe.
Index: php
iliaa Wed Oct 29 19:49:34 2003 EDT
Modified files:
/php-srcNEWS
/php-src/ext/standard string.c php_string.h basic_functions.c
Log:
Added substr_compare().
Index: php-src/NEWS
diff -u php-src/NEWS:1.1484 php-src/NEWS:1.1485
--- php-src/NEWS:1.
iliaa Mon Oct 27 23:02:12 2003 EDT
Modified files:
/php-srcNEWS
/php-src/ext/standard php_uuencode.h uuencode.c basic_functions.c
Log:
By popular demand renaming uu(encode/decode) to convert_uu(encode/decode).
Index: php-src/NEWS
diff -u php-
At 02:19 AM 10/27/2003 -0400, Ilia Alshanetsky wrote:
On October 27, 2003 01:09 am, Andi Gutmans wrote:
> Please use the naming conventions using a prefix. Maybe in this case str_
> or mime_
Does uu_* sound acceptable?
It's better and I haven't been able to think of something better. It would
be s
On October 27, 2003 01:09 am, Andi Gutmans wrote:
> Please use the naming conventions using a prefix. Maybe in this case str_
> or mime_
Does uu_* sound acceptable?
Ilia
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Please use the naming conventions using a prefix. Maybe in this case str_
or mime_
Andi
At 05:35 AM 10/27/2003 +, Ilia Alshanetsky wrote:
iliaa Mon Oct 27 00:35:42 2003 EDT
Added files:
/php-src/ext/standard uuencode.c php_uuencode.h
Modified files:
/php-srcN
iliaa Mon Oct 27 00:35:42 2003 EDT
Added files:
/php-src/ext/standard uuencode.c php_uuencode.h
Modified files:
/php-srcNEWS
/php-src/ext/standard basic_functions.c config.m4
Log:
Added uuencode() & uudecode() functio
pollita Fri Sep 5 20:35:22 2003 EDT
Added files:
/php-src/ext/standard http.c http.h
Modified files:
/php-src/ext/standard basic_functions.c config.m4
/php-srcNEWS
Log:
Introducing php_url_encode_hash_ex() internal fun
56 matches
Mail list logo