]> granicus.if.org Git - php/log
php
19 years agoUnicode support for range()
Dmitry Stogov [Wed, 17 Aug 2005 15:12:03 +0000 (15:12 +0000)]
Unicode support for range()

19 years agoProper handling of unicode strings with \0 in the middle
Dmitry Stogov [Wed, 17 Aug 2005 15:11:41 +0000 (15:11 +0000)]
Proper handling of unicode strings with \0 in the middle

19 years agoUnicode support
Dmitry Stogov [Wed, 17 Aug 2005 14:16:05 +0000 (14:16 +0000)]
Unicode support

19 years agoUnicode support
Dmitry Stogov [Wed, 17 Aug 2005 14:01:06 +0000 (14:01 +0000)]
Unicode support

19 years agoUnicode support
Dmitry Stogov [Wed, 17 Aug 2005 13:10:04 +0000 (13:10 +0000)]
Unicode support

19 years agoFixed bug #32981 (ReflectionMethod::getStaticVariables() causes apache2.0.54 seg...
Dmitry Stogov [Wed, 17 Aug 2005 11:57:10 +0000 (11:57 +0000)]
Fixed bug #32981 (ReflectionMethod::getStaticVariables() causes apache2.0.54 seg fault)

19 years agotrim() should accept objects with __toString() method
Dmitry Stogov [Wed, 17 Aug 2005 11:36:32 +0000 (11:36 +0000)]
trim() should accept objects with __toString() method

19 years agophp_u_trim_range(): Alloc UChar32 units rather than UChar
Rolland Santimano [Wed, 17 Aug 2005 10:26:02 +0000 (10:26 +0000)]
php_u_trim_range(): Alloc UChar32 units rather than UChar

19 years agoUnicode support
Dmitry Stogov [Wed, 17 Aug 2005 10:24:38 +0000 (10:24 +0000)]
Unicode support

19 years agoFixed implode() bugs
Dmitry Stogov [Wed, 17 Aug 2005 07:59:31 +0000 (07:59 +0000)]
Fixed implode() bugs

19 years agoFix EOLs under winblows
foobar [Wed, 17 Aug 2005 07:52:17 +0000 (07:52 +0000)]
Fix EOLs under winblows

19 years agoUpdated implode() impl as per Andrei's comments
Rolland Santimano [Wed, 17 Aug 2005 07:14:12 +0000 (07:14 +0000)]
Updated implode() impl as per Andrei's comments
[http://news.php.net/php.cvs/33457]

19 years agoAdd SoapClient::__setSoapHeaders()
Zeev Suraski [Wed, 17 Aug 2005 07:04:50 +0000 (07:04 +0000)]
Add SoapClient::__setSoapHeaders()

19 years agoChangeLog update
<changelog@php.net> [Wed, 17 Aug 2005 05:32:47 +0000 (05:32 +0000)]
ChangeLog update

19 years agoProvide a common handler for "close".
Ilia Alshanetsky [Tue, 16 Aug 2005 23:10:36 +0000 (23:10 +0000)]
Provide a common handler for "close".
Macro the name validation.

19 years ago- TSRM Fix
Marcus Boerger [Tue, 16 Aug 2005 20:22:33 +0000 (20:22 +0000)]
- TSRM Fix

19 years ago- TSRM Fix
Marcus Boerger [Tue, 16 Aug 2005 20:15:21 +0000 (20:15 +0000)]
- TSRM Fix

19 years agomd5() and md5_file() should return binary strings when raw_output is
Andrei Zmievski [Tue, 16 Aug 2005 19:45:00 +0000 (19:45 +0000)]
md5() and md5_file() should return binary strings when raw_output is
set.

19 years agoAnd here
Andrei Zmievski [Tue, 16 Aug 2005 19:43:23 +0000 (19:43 +0000)]
And here

19 years agoAnd here.
Andrei Zmievski [Tue, 16 Aug 2005 18:22:22 +0000 (18:22 +0000)]
And here.

19 years agoFix it here too
Andrei Zmievski [Tue, 16 Aug 2005 18:21:04 +0000 (18:21 +0000)]
Fix it here too

19 years agoZ_UNI* are the right macros to use.
Andrei Zmievski [Tue, 16 Aug 2005 18:10:40 +0000 (18:10 +0000)]
Z_UNI* are the right macros to use.

19 years ago- Prevent E_STRICT from ending up as exception
Marcus Boerger [Tue, 16 Aug 2005 18:09:27 +0000 (18:09 +0000)]
- Prevent E_STRICT from ending up as exception

19 years ago- Fixed a couple of bugs in the new smart_str macros, and allow them to
Derick Rethans [Tue, 16 Aug 2005 18:02:41 +0000 (18:02 +0000)]
- Fixed a couple of bugs in the new smart_str macros, and allow them to
  allocate two extra bytes (so that we can pad them with two \0's for UTF-16)
- Fixed usage of smart_str's in the PAD and INS_STRING macros.

19 years agonuke unused vars
Antony Dovgal [Tue, 16 Aug 2005 16:57:59 +0000 (16:57 +0000)]
nuke unused vars

19 years agoUnicode support
Dmitry Stogov [Tue, 16 Aug 2005 16:29:16 +0000 (16:29 +0000)]
Unicode support

19 years agoUnicode support
Dmitry Stogov [Tue, 16 Aug 2005 15:09:51 +0000 (15:09 +0000)]
Unicode support

19 years agoUnicode support
Dmitry Stogov [Tue, 16 Aug 2005 14:33:02 +0000 (14:33 +0000)]
Unicode support

19 years agoFixed bug #34148 (+,- and . not supported as parts of scheme).
Ilia Alshanetsky [Tue, 16 Aug 2005 14:10:13 +0000 (14:10 +0000)]
Fixed bug #34148 (+,- and . not supported as parts of scheme).

19 years agoUnicode capable impl of implode()
Rolland Santimano [Tue, 16 Aug 2005 12:04:13 +0000 (12:04 +0000)]
Unicode capable impl of implode()

19 years agoFixed memory leak
Dmitry Stogov [Tue, 16 Aug 2005 10:49:38 +0000 (10:49 +0000)]
Fixed memory leak

19 years agoUnicode support
Dmitry Stogov [Tue, 16 Aug 2005 10:18:43 +0000 (10:18 +0000)]
Unicode support

19 years agoUnicode support
Dmitry Stogov [Tue, 16 Aug 2005 09:25:04 +0000 (09:25 +0000)]
Unicode support

19 years agoUnicode support
Dmitry Stogov [Tue, 16 Aug 2005 09:11:00 +0000 (09:11 +0000)]
Unicode support

19 years agoUpdated calls to php_trim() to provide arg for returned string type
Rolland Santimano [Tue, 16 Aug 2005 06:04:59 +0000 (06:04 +0000)]
Updated calls to php_trim() to provide arg for returned string type

19 years agophp_trim() takes extra arg to determine string type to be returned
Rolland Santimano [Tue, 16 Aug 2005 06:02:56 +0000 (06:02 +0000)]
php_trim() takes extra arg to determine string type to be returned

19 years agoChangeLog update
<changelog@php.net> [Tue, 16 Aug 2005 05:37:39 +0000 (05:37 +0000)]
ChangeLog update

19 years agoInput validation part 2.
Ilia Alshanetsky [Tue, 16 Aug 2005 00:25:21 +0000 (00:25 +0000)]
Input validation part 2.

19 years agoFail gracefully if icu-config is not found
foobar [Mon, 15 Aug 2005 23:36:52 +0000 (23:36 +0000)]
Fail gracefully if icu-config is not found

19 years agoMFH: Chunk the output
Ilia Alshanetsky [Mon, 15 Aug 2005 23:24:47 +0000 (23:24 +0000)]
MFH: Chunk the output

19 years agoeliminate compile warning
Antony Dovgal [Mon, 15 Aug 2005 23:01:42 +0000 (23:01 +0000)]
eliminate compile warning

19 years agoThis is like a virus..spread everywhere :)
foobar [Mon, 15 Aug 2005 22:34:37 +0000 (22:34 +0000)]
This is like a virus..spread everywhere :)

19 years agoDONE
foobar [Mon, 15 Aug 2005 22:33:46 +0000 (22:33 +0000)]
DONE

19 years agoThese are not defined anymore
foobar [Mon, 15 Aug 2005 22:31:59 +0000 (22:31 +0000)]
These are not defined anymore

19 years agoGoodbye PEAR
foobar [Mon, 15 Aug 2005 22:30:40 +0000 (22:30 +0000)]
Goodbye PEAR

19 years ago- if questions, rtfm
Pierre Joye [Mon, 15 Aug 2005 22:18:15 +0000 (22:18 +0000)]
- if questions, rtfm

19 years agoNuke PEAR
foobar [Mon, 15 Aug 2005 22:17:04 +0000 (22:17 +0000)]
Nuke PEAR

19 years ago- add a little doc to redirect people to go-pear
Pierre Joye [Mon, 15 Aug 2005 22:16:01 +0000 (22:16 +0000)]
- add a little doc to redirect people to go-pear

19 years ago- remove files
Pierre Joye [Mon, 15 Aug 2005 22:08:52 +0000 (22:08 +0000)]
- remove files

19 years ago- cvs delete is not recursive...
Pierre Joye [Mon, 15 Aug 2005 22:05:55 +0000 (22:05 +0000)]
- cvs delete is not recursive...

19 years ago- some other (#1 out 2)
Pierre Joye [Mon, 15 Aug 2005 22:00:26 +0000 (22:00 +0000)]
- some other (#1 out 2)

19 years ago- these files are outdated, /pear-core is the repository for pear and
Pierre Joye [Mon, 15 Aug 2005 21:59:06 +0000 (21:59 +0000)]
- these files are outdated, /pear-core is the repository for pear and
  respectivelly /pear for other pacakges.
  The install procedure has to be changed as well, as planed. (#1 out 2)

19 years ago- No c comment (+ old non unicode way not needed any longer)
Marcus Boerger [Mon, 15 Aug 2005 19:16:30 +0000 (19:16 +0000)]
- No c comment (+ old non unicode way not needed any longer)

19 years ago- Fix leak with explode of empty unicode string
Johannes Schlüter [Mon, 15 Aug 2005 19:12:59 +0000 (19:12 +0000)]
- Fix leak with explode of empty unicode string

19 years agoUnicode support
Dmitry Stogov [Mon, 15 Aug 2005 17:29:07 +0000 (17:29 +0000)]
Unicode support

19 years agoFixed bug #34103 (line numbering not maintained in dom document)
Rob Richards [Mon, 15 Aug 2005 17:13:15 +0000 (17:13 +0000)]
Fixed bug #34103 (line numbering not maintained in dom document)

19 years agoUnicode support
Dmitry Stogov [Mon, 15 Aug 2005 16:13:02 +0000 (16:13 +0000)]
Unicode support

19 years agoinput validation.
Ilia Alshanetsky [Mon, 15 Aug 2005 16:01:43 +0000 (16:01 +0000)]
input validation.

19 years agoFixed memory leak
Dmitry Stogov [Mon, 15 Aug 2005 14:41:31 +0000 (14:41 +0000)]
Fixed memory leak

19 years agoFixed several unicode related bugs
Dmitry Stogov [Mon, 15 Aug 2005 14:39:18 +0000 (14:39 +0000)]
Fixed several unicode related bugs

19 years agoTest engine is improved to support unicode mode
Dmitry Stogov [Mon, 15 Aug 2005 14:37:55 +0000 (14:37 +0000)]
Test engine is improved to support unicode mode

19 years agoFixed trim()'s memory leak in unicode mode
Dmitry Stogov [Mon, 15 Aug 2005 08:11:35 +0000 (08:11 +0000)]
Fixed trim()'s memory leak in unicode mode

19 years agoTests are fixed according to new var_dump()/pront_r() format (to pass in non-unicode...
Dmitry Stogov [Mon, 15 Aug 2005 07:55:41 +0000 (07:55 +0000)]
Tests are fixed according to new var_dump()/pront_r() format (to pass in non-unicode mode)

19 years agoFixed var_dump() identation bug
Dmitry Stogov [Mon, 15 Aug 2005 07:19:10 +0000 (07:19 +0000)]
Fixed var_dump() identation bug

19 years agoFixed another print_r() bug
Dmitry Stogov [Mon, 15 Aug 2005 07:12:52 +0000 (07:12 +0000)]
Fixed another print_r() bug

19 years agoFixed print_r() in unicode mode.
Dmitry Stogov [Mon, 15 Aug 2005 06:34:20 +0000 (06:34 +0000)]
Fixed print_r() in unicode mode.

19 years agoChangeLog update
<changelog@php.net> [Mon, 15 Aug 2005 05:41:46 +0000 (05:41 +0000)]
ChangeLog update

19 years ago- Simplify and make work in all modes
Marcus Boerger [Sun, 14 Aug 2005 21:26:01 +0000 (21:26 +0000)]
- Simplify and make work in all modes

19 years ago- Need to terminate [v]uspprintf() with two \0
Marcus Boerger [Sun, 14 Aug 2005 21:04:52 +0000 (21:04 +0000)]
- Need to terminate [v]uspprintf() with two \0

19 years agoFixed build.
Ilia Alshanetsky [Sun, 14 Aug 2005 20:24:34 +0000 (20:24 +0000)]
Fixed build.

19 years ago- Where did my backslash vanish?
Marcus Boerger [Sun, 14 Aug 2005 20:12:51 +0000 (20:12 +0000)]
- Where did my backslash vanish?

19 years ago- Handle different cases of the actual strings correctly
Marcus Boerger [Sun, 14 Aug 2005 20:11:05 +0000 (20:11 +0000)]
- Handle different cases of the actual strings correctly

19 years ago- Initial support of easy way to generate unicode strings: [v]uspprinf()
Marcus Boerger [Sun, 14 Aug 2005 17:14:42 +0000 (17:14 +0000)]
- Initial support of easy way to generate unicode strings: [v]uspprinf()
# Same semantics as [v]spprintf, only it prints unicode strings instead of
# native strings. Atm it has a little problem since it length doesn't take
# the difference between UTF-16 code points vs units into account. But as
# long as no 4 byte codes are involved it should already run everything.

19 years ago- Treat class_name in the exact same manner as prop_name before
Marcus Boerger [Sun, 14 Aug 2005 15:19:45 +0000 (15:19 +0000)]
- Treat class_name in the exact same manner as prop_name before

19 years ago- If prop_name is printed as unicode then class_name needs to be treated
Marcus Boerger [Sun, 14 Aug 2005 15:18:46 +0000 (15:18 +0000)]
- If prop_name is printed as unicode then class_name needs to be treated
  in the exact same manner

19 years ago- Show classname very needed
Marcus Boerger [Sun, 14 Aug 2005 15:08:38 +0000 (15:08 +0000)]
- Show classname very needed
- No 3rd " which doesn't help parsing
# Does the class name need to be printed as u"<name>" ?

19 years agotidy up implicit_mode handling; spotted by Nuno
Wez Furlong [Sun, 14 Aug 2005 13:48:29 +0000 (13:48 +0000)]
tidy up implicit_mode handling; spotted by Nuno
There's probably a much more efficient way to do this than the current strchr stuff.

19 years ago- Fix tab-completion in unicode mode and for constants.
Johannes Schlüter [Sun, 14 Aug 2005 13:09:34 +0000 (13:09 +0000)]
- Fix tab-completion in unicode mode and for constants.

19 years agoChangeLog update
<changelog@php.net> [Sun, 14 Aug 2005 05:35:00 +0000 (05:35 +0000)]
ChangeLog update

19 years agofix protos
foobar [Sun, 14 Aug 2005 02:03:02 +0000 (02:03 +0000)]
fix protos

19 years agoMissed some "de" to "un" changes
foobar [Sun, 14 Aug 2005 01:17:52 +0000 (01:17 +0000)]
Missed some "de" to "un" changes

19 years ago- consistency fix, part 1/inf
foobar [Sun, 14 Aug 2005 00:46:51 +0000 (00:46 +0000)]
- consistency fix, part 1/inf

19 years ago- ntive is better than standard (Andrei)
Marcus Boerger [Sat, 13 Aug 2005 21:18:47 +0000 (21:18 +0000)]
- ntive is better than standard (Andrei)

19 years agoa bit of pedantic ws
Wez Furlong [Sat, 13 Aug 2005 19:22:03 +0000 (19:22 +0000)]
a bit of pedantic ws

19 years agounicode enable COM parameters (but not method/property names yet)
Wez Furlong [Sat, 13 Aug 2005 19:03:58 +0000 (19:03 +0000)]
unicode enable COM parameters (but not method/property names yet)

19 years agoFixup config.w32.
Wez Furlong [Sat, 13 Aug 2005 13:43:31 +0000 (13:43 +0000)]
Fixup config.w32.

Implement unicode_decode() and unicode_encode(), as described in README.UNICODE.

Still need to decide how to handle errors here, since there is no error return,
and a conversion error is not necessarily fatal.

19 years agocould have sworn that I did this already
Wez Furlong [Sat, 13 Aug 2005 12:33:00 +0000 (12:33 +0000)]
could have sworn that I did this already

19 years ago- IS_STRING does not necessarily mean ascii so 'standard' is better
Marcus Boerger [Sat, 13 Aug 2005 10:19:31 +0000 (10:19 +0000)]
- IS_STRING does not necessarily mean ascii so 'standard' is better
# Maybe we call them legacy strings

19 years agoAdd is_unicode(), is_binary() and is_buffer()
Marcus Boerger [Sat, 13 Aug 2005 10:16:04 +0000 (10:16 +0000)]
Add is_unicode(), is_binary() and is_buffer()

19 years agoChangeLog update
<changelog@php.net> [Sat, 13 Aug 2005 05:32:26 +0000 (05:32 +0000)]
ChangeLog update

19 years agomake the icu library detection more friendly.
Wez Furlong [Sat, 13 Aug 2005 02:47:24 +0000 (02:47 +0000)]
make the icu library detection more friendly.
Also note that we can only probe for libraries after we've set up the
implicit php_build path.

19 years agovs.net 2005 introduces 64-bit time_t.
Wez Furlong [Sat, 13 Aug 2005 02:23:29 +0000 (02:23 +0000)]
vs.net 2005 introduces 64-bit time_t.

I can't say that I think this is a great idea, but it does highlight a couple
of dodgy areas where we assume that ints and longs are the same thing as
time_t's.  Let's try to ensure that we declare structure fields and function
parameters with the correct type when we're talkingabout time_t's, to avoid
possibly nasty problems with passing the wrong sized thing around.

19 years ago- Unicode
Marcus Boerger [Sat, 13 Aug 2005 01:31:14 +0000 (01:31 +0000)]
- Unicode
# We probably might want to move spprintf.c/h into Zend now

19 years ago- This might already be defined
Marcus Boerger [Sat, 13 Aug 2005 00:37:08 +0000 (00:37 +0000)]
- This might already be defined

19 years agowhat they totally screw up on one hand, MS compilers almost compensate with on
Wez Furlong [Fri, 12 Aug 2005 23:59:59 +0000 (23:59 +0000)]
what they totally screw up on one hand, MS compilers almost compensate with on
the other.

19 years agosizeof(time_t) !== sizeof(int)
Wez Furlong [Fri, 12 Aug 2005 23:46:42 +0000 (23:46 +0000)]
sizeof(time_t) !== sizeof(int)

also, sizeof(timelib_sll) != sizeof(int)

We get loads of truncation errors int this code when we assign 64 values into smaller ints.

19 years agozts fixes
Wez Furlong [Fri, 12 Aug 2005 23:32:31 +0000 (23:32 +0000)]
zts fixes

19 years agomake valgrind and gcc happy
Antony Dovgal [Fri, 12 Aug 2005 23:21:29 +0000 (23:21 +0000)]
make valgrind and gcc happy

19 years agoinitialize key type when adding next index
Antony Dovgal [Fri, 12 Aug 2005 22:53:13 +0000 (22:53 +0000)]
initialize key type when adding next index

19 years agoallow default_charset & default_mimetype to be changed during runtime
Antony Dovgal [Fri, 12 Aug 2005 21:46:14 +0000 (21:46 +0000)]
allow default_charset & default_mimetype to be changed during runtime