Anatol Belski
4b3e198023
removed *.dsw and *.dsp files
2014-09-28 19:02:09 +02:00
Anatol Belski
14eefc82b5
cleanup after the removed PHP_OUTPUT_TSRMLS
2014-09-26 12:11:07 +02:00
Nikita Popov
e33f3d3b7c
Move smart_str implementation into Zend/
...
So we can use it there as well...
For now I've retained the zend_smart_str_public.h header, though
it would probably be better to just move that one struct into
zend_types.h.
2014-09-21 20:49:39 +02:00
Florian MARGAINE
8eb7e7bf7f
Merge branch 'master' into issue-67910
...
Conflicts:
README.PARAMETER_PARSING_API
ext/gmp/tests/001.phpt
2014-09-20 10:09:21 +02:00
Florian MARGAINE
cf0303e782
Replaces php5 with php7, without whitespace changes.
2014-09-20 10:01:44 +02:00
Nikita Popov
37aaccad7d
Use inline functions for most of smart_str
...
smart_str_free_ex no longer exists, always use smart_str_free instead.
smart_str_alloc no longer requires a newlen variable to be in scope,
instead it returns the new length.
2014-09-19 23:39:07 +02:00
Johannes Schlüter
d0cb715373
s/PHP 5/PHP 7/
2014-09-19 18:33:14 +02:00
Anatol Belski
95132bee40
redo the fix casting to size_t
2014-09-16 21:17:21 +02:00
Anatol Belski
8b2f15551d
fix signed/unsigned mismatch warnings
2014-09-15 19:46:33 +02:00
Anatol Belski
e056d52acf
fix type
2014-09-15 11:30:23 +02:00
Anatol Belski
140d99b467
fix condition
2014-09-15 11:30:22 +02:00
Anatol Belski
d65ead6471
fix type
2014-09-15 10:43:39 +02:00
Anatol Belski
be9408f71a
fix condition
...
comparsion of two unsigned
2014-09-13 23:21:43 +02:00
Xinchen Hui
8002e2c06a
Fixed discards qualifiers from pointer target type
2014-09-05 09:31:05 +08:00
Dmitry Stogov
88d7ca44f6
Refactored INI subsystem to use zend_string* instead of char*
2014-09-01 20:57:33 +04:00
Xinchen Hui
88fdb5f084
Fixed iconv MINFO
2014-08-28 13:11:07 +08:00
Anatol Belski
3234480827
first show to make 's' work with size_t
2014-08-27 20:49:31 +02:00
Anatol Belski
af59e92b24
master renames phase 7
2014-08-25 21:51:49 +02:00
Anatol Belski
4d997f63d9
master renames phase 3
2014-08-25 20:22:49 +02:00
Anatol Belski
c3e3c98ec6
master renames phase 1
2014-08-25 19:24:55 +02:00
Anatol Belski
79f888a602
Merge remote-tracking branch 'weltling/master'
...
* weltling/master: (725 commits)
fix zpp
fixed array_pad()
fix zpp
fix zpp
fix zpp
fix zpp and a bit more
fix zpp
fix zpp
fix zpp
fix zpp
fix zpp
fix zpp
fix zpp
fix zpp
fix zpp
fix zpp
fix zpp
fix zpp
fix zpp
fixed the test
...
2014-08-22 08:58:03 +02:00
Xinchen Hui
da35db3ec5
Fixed complier error
2014-08-22 10:20:44 +08:00
Anatol Belski
79b2852da4
fixed the test
...
the cause for this to fail now was that _php_iconv_strpos had int for
the offset, but the int from userland is 64 bit, that was an overflow
cusing wrong behaviour
2014-08-21 13:49:09 +02:00
Anatol Belski
b3198b6845
more fixes to ext/iconv
2014-08-20 21:29:04 +02:00
Anatol Belski
30e0aa5b6b
fixes to iconv
2014-08-19 09:09:43 +02:00
Anatol Belski
63d3f0b844
basic macro replacements, all at once
2014-08-19 08:07:31 +02:00
Felipe Pena
920d298f4a
- Fixed ZTS build
2014-05-13 00:34:10 -03:00
Xinchen Hui
cd00ea9993
Port iconv (all tests passes)
2014-05-05 13:58:23 +08:00
Dmitry Stogov
f9927a6c97
Merge mainstream 'master' branch into refactoring
...
During merge I had to revert:
Nikita's patch for php_splice() (it probably needs to be applyed again)
Bob Weinand's patches related to constant expression handling (we need to review them carefully)
I also reverted all our attempts to support sapi/phpdbg (we didn't test it anyway)
Conflicts:
Zend/zend.h
Zend/zend_API.c
Zend/zend_ast.c
Zend/zend_compile.c
Zend/zend_compile.h
Zend/zend_constants.c
Zend/zend_exceptions.c
Zend/zend_execute.c
Zend/zend_execute.h
Zend/zend_execute_API.c
Zend/zend_hash.c
Zend/zend_highlight.c
Zend/zend_language_parser.y
Zend/zend_language_scanner.c
Zend/zend_language_scanner_defs.h
Zend/zend_variables.c
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
ext/date/php_date.c
ext/dom/documenttype.c
ext/hash/hash.c
ext/iconv/iconv.c
ext/mbstring/tests/zend_multibyte-10.phpt
ext/mbstring/tests/zend_multibyte-11.phpt
ext/mbstring/tests/zend_multibyte-12.phpt
ext/mysql/php_mysql.c
ext/mysqli/mysqli.c
ext/mysqlnd/mysqlnd_reverse_api.c
ext/mysqlnd/php_mysqlnd.c
ext/opcache/ZendAccelerator.c
ext/opcache/zend_accelerator_util_funcs.c
ext/opcache/zend_persist.c
ext/opcache/zend_persist_calc.c
ext/pcre/php_pcre.c
ext/pdo/pdo_dbh.c
ext/pdo/pdo_stmt.c
ext/pdo_pgsql/pgsql_driver.c
ext/pgsql/pgsql.c
ext/reflection/php_reflection.c
ext/session/session.c
ext/spl/spl_array.c
ext/spl/spl_observer.c
ext/standard/array.c
ext/standard/basic_functions.c
ext/standard/html.c
ext/standard/mail.c
ext/standard/php_array.h
ext/standard/proc_open.c
ext/standard/streamsfuncs.c
ext/standard/user_filters.c
ext/standard/var_unserializer.c
ext/standard/var_unserializer.re
main/php_variables.c
sapi/phpdbg/phpdbg.c
sapi/phpdbg/phpdbg_bp.c
sapi/phpdbg/phpdbg_frame.c
sapi/phpdbg/phpdbg_help.c
sapi/phpdbg/phpdbg_list.c
sapi/phpdbg/phpdbg_print.c
sapi/phpdbg/phpdbg_prompt.c
2014-04-26 00:32:51 +04:00
Dmitry Stogov
050d7e38ad
Cleanup (1-st round)
2014-04-15 15:40:40 +04:00
Yasuo Ohgaki
a84e5dc37d
Remove unneeded string copy.
...
Allow to set ''(empty string values) internal/input/output_encoding for better compatibility. i.e. Runtime INI value changes.
More compliance to the RFC. Improve/add encoding handling tests. i.e. Rather than set encoding automagic way, detect it.
2014-03-27 17:20:57 +09:00
Yasuo Ohgaki
ca927bb47e
Add missing E_DEPRECATED error for https://wiki.php.net/rfc/default_encoding
2014-03-12 17:54:22 +09:00
Yasuo Ohgaki
cbd108abf1
Implement RFC https://wiki.php.net/rfc/default_encoding
2014-02-13 11:54:52 +09:00
Xinchen Hui
c081ce628f
Bump year
2014-01-03 11:08:10 +08:00
Xinchen Hui
47c9027772
Bump year
2014-01-03 11:06:16 +08:00
Christopher Jones
c6d977dd39
Fix long-standing visual pain point: the misalignment of './configure help' text.
...
Whitespace changes and a couple of grammar fixes.
2013-08-06 11:06:09 -07:00
Xinchen Hui
a666285bc2
Happy New Year
2013-01-01 16:37:09 +08:00
Xinchen Hui
e081c55fb5
Merge branch 'PHP-5.3' into PHP-5.4
2012-10-10 10:31:31 +08:00
Xinchen Hui
610c7fbe7b
Remove executable permission on phpt
2012-10-10 10:27:49 +08:00
Stanislav Malyshev
ed6ce83101
fix bug #55042 - erealloc without updating pointer
2012-05-30 22:26:26 -07:00
David Soria Parra
c918ca57a7
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Replace $Revision$ with $Id$ in keyword expansion enable files
Enable $Id$ expansion for files with the $Revision$ keyword
Conflicts:
ext/mysqlnd/mysqlnd.h
2012-03-20 17:58:58 +01:00
David Soria Parra
f7b10abae9
Replace $Revision$ with $Id$ in keyword expansion enable files
2012-03-20 17:53:47 +01:00
Felipe Pena
e4ca0ed09f
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
4e19825281
- Year++
2012-01-01 13:15:04 +00:00
Pierre Joye
50fc27d119
- missing --SKIPIF--
2011-09-06 09:28:23 +00:00
Pierre Joye
380aac7189
- add skipif
2011-09-06 06:42:11 +00:00
Hannes Magnusson
c6f9556f37
Fix the test in 5.4 and trunk.
...
older libraries will emmit error here, while new won't. So lets just suppress it rather then making the test uselessly fail for random people.
2011-09-05 11:07:38 +00:00
Hannes Magnusson
3d6fcf06d1
Fix the test in 5.4 and trunk.
...
older libraries will emmit error here, while new won't. So lets just suppress it rather then making the test uselessly fail for random people.
2011-09-05 11:07:38 +00:00
Matteo Beccati
953b10c59c
Fixed test. Apparently it was already fixed on PHP_5_3 98% of the cases and
...
the fix wasn't ported to trunk/PHP_5_4. However the very same test was failing
on my FreeBSD 6.2 box, that appears to also decode the "ks_c_5601-1987" parts,
so I've made the test more generic.
2011-08-31 22:38:20 +00:00
Matteo Beccati
e9e2357436
Fixed test. Apparently it was already fixed on PHP_5_3 98% of the cases and
...
the fix wasn't ported to trunk/PHP_5_4. However the very same test was failing
on my FreeBSD 6.2 box, that appears to also decode the "ks_c_5601-1987" parts,
so I've made the test more generic.
2011-08-31 22:38:20 +00:00
Stanislav Malyshev
3b7cdd0227
fix failing tests
2011-08-01 01:00:57 +00:00
Felipe Pena
23e438594d
- Make usage of new PHP_FE_END macro
2011-07-25 11:42:53 +00:00
Felipe Pena
4b30846b50
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Pierre Joye
45420bb669
- remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ, missing tests changes in 5.4
2011-07-22 11:56:20 +00:00
Felipe Pena
927bf09c29
- Year++
2011-01-01 02:19:59 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Pierre Joye
aea6771d19
- add phpize support for windows, need a nmake install for now (nmake devel-pkg version is coming), works exactly the same as on unix, or should :)
2010-12-13 18:43:10 +00:00
Pierre Joye
a7ffa09e18
- add PHP_INSTALL_HEADERS to all parts (core&exts) exposing headers, generate the install-headers cmd
2010-12-11 22:18:10 +00:00
Ilia Alshanetsky
d506ce8d94
Fixed bug #51250 (iconv_mime_decode() does not ignore malformed Q-encoded words)
2010-12-01 14:03:36 +00:00
Ilia Alshanetsky
19a0263e65
Fixed bug #51250 (iconv_mime_decode() does not ignore malformed Q-encoded words)
2010-12-01 14:03:36 +00:00
Ilia Alshanetsky
523da85c11
Fixed bug #53304 (quot_print_decode does not handle lower-case hex digits)
2010-11-25 21:38:06 +00:00
Ilia Alshanetsky
8f85ff3dd6
Fixed bug #53304 (quot_print_decode does not handle lower-case hex digits)
2010-11-25 21:38:06 +00:00
Patrick Allaert
817776d1b9
- Fixed tests not passing under windows because of the directory separator
...
difference (thanks Eyal Teutsch for reporting)
2010-11-08 09:29:15 +00:00
Patrick Allaert
e2e76d40e3
- Fixed tests not passing under windows because of the directory separator
...
difference (thanks Eyal Teutsch for reporting)
2010-11-08 09:29:15 +00:00
Adam Harvey
5f9956397f
Fixed bug #52941 (The 'iconv_mime_decode_headers' function is skipping
...
headers).
2010-09-30 11:04:21 +00:00
Adam Harvey
750d835b70
Fixed bug #52941 (The 'iconv_mime_decode_headers' function is skipping
...
headers).
2010-09-30 11:04:21 +00:00
Ilia Alshanetsky
a532eefe29
Fixed bogus char
2010-08-22 18:17:19 +00:00
Ilia Alshanetsky
e9735b92a4
Fixed bug #52599 (iconv output handler outputs incorrect content type when flags are used).
2010-08-19 12:27:13 +00:00
Ilia Alshanetsky
06c460c995
Fixed bug #52599 (iconv output handler outputs incorrect content type when flags are used).
2010-08-19 12:27:13 +00:00
Felipe Pena
e3fdf31b0b
- Fixed bug #52211 (iconv() returns part of string on error)
2010-07-01 01:11:08 +00:00
Michael Wallner
11d24c1593
* implement new output API, fixing some bugs and implementing some feature
...
requests--let's see what I can dig out of the bugtracker for NEWS--
and while crossing the road:
* implemented new zlib API
* fixed up ext/tidy (what was "s&" in zend_parse_parameters() supposed to do?)
Thanks to Jani and Felipe for pioneering.
2010-05-31 10:29:43 +00:00
Adam Harvey
5c5fd74fdb
Fix for bug #48289 (iconv_mime_encode() quoted-printable scheme is broken).
...
Thanks to Hiroaki Kawai for the original patch.
2010-05-04 11:56:59 +00:00
Adam Harvey
73ddb79613
Fix for bug #48289 (iconv_mime_encode() quoted-printable scheme is broken).
...
Thanks to Hiroaki Kawai for the original patch.
2010-05-04 11:56:59 +00:00
Rob Richards
0a34d10783
revert change #298288 : Remove old dsp/dsw/makefile files
2010-04-28 14:41:51 +00:00
Kalle Sommer Nielsen
518a17e7bf
Remove old dsp/dsw/makefile files, these arent used by the build system anymore and are barely updated nor available for all extensions
2010-04-21 23:36:49 +00:00
Jani Taskinen
af49e58f51
- Reverted r296062 and r296065
2010-03-12 10:28:59 +00:00
Jani Taskinen
06f072cb5e
MFH: Improved / fixed output buffering (Michael Wallner)
2010-03-11 10:24:29 +00:00
Kalle Sommer Nielsen
62f087df75
Rename the HAVE_LIBICONV_IN_LIBICONV macro to ICONV_ALIASED_LIBICONV, making it less cryptic
2010-03-08 15:51:08 +00:00
Kalle Sommer Nielsen
b961634c5a
Fix linking of iconv on Windows
2010-03-08 14:04:35 +00:00
Moriyoshi Koizumi
8481fd7c3b
- Fixed bug #49267 (linking fails for iconv)
2010-03-05 09:12:13 +00:00
Rasmus Lerdorf
fcf1058d6b
Fix bug #43314
...
Assume worst case all-encoded case here
2010-03-01 23:49:01 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Jani Taskinen
f0c1cd512f
- ws
2009-12-23 21:06:26 +00:00
Jani Taskinen
50a24392e9
- Fix tests assuming wrong ini options and extensions that might not be there
2009-11-30 20:31:52 +00:00
Zoe Slattery
1c98e49afd
Test from 2009 testfest
2009-08-26 17:17:58 +00:00
Rasmus Lerdorf
7e32cc59f7
Give this test more headroom since it needs to allocate a 90M block
2009-08-02 23:08:21 +00:00
Rasmus Lerdorf
ee01362c98
Get rid of this platform-specific test
2009-07-28 14:56:08 +00:00
andy wharmby
642b84cd83
New iconv extension tests. Tested on Windows, Linux and Linux 64 bit.
2009-06-13 12:17:42 +00:00
andy wharmby
092562b263
New iconv extension tests. Tested on Windows, Linux and Linux 64 bit.
2009-06-12 18:57:09 +00:00
andy wharmby
c48a3ddea8
New iconv extension tests. Tested on Windows, Linux and Linux 64 bit
2009-06-12 17:16:01 +00:00
Moriyoshi Koizumi
6e265a738e
- Add a new test for the additional delimiter of the encoding conversion filter
2009-05-14 19:06:20 +00:00
Moriyoshi Koizumi
cc547c86df
- Update the test as newer libc gets the bogus input through rather than
...
rejecting it.
2009-05-14 19:02:38 +00:00
Moriyoshi Koizumi
d8a22d0b05
- MFH: Make iconv filter accept '.' as the delimiter between encoding names as
...
well as '/'. It's impossible to specify the filter in php://filter without
this fix.
# I hope this to be merged to 5.2 as well. This doesn't break BC as there is
# no such encoding name that contains '.'. (Andif there were to be such one,
# the filter is failed in the first place since it also uses '.' for the
# delimiter between the filter name and the "from" encoding name.
2009-03-17 05:31:04 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Felipe Pena
fc2fb50d09
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-11-17 11:28:01 +00:00
Felipe Pena
7a37fa2d6b
- Revert ZEND_BEGIN_ARG_INFO change
2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-10-24 14:35:40 +00:00
Arnaud Le Blanc
d69dfa4b9f
MFH: initialize optional vars
2008-10-21 22:08:38 +00:00
Nuno Lopes
8a77e55566
clean some dead code (with static analysis help)
2008-09-23 15:18:26 +00:00
Pierre Joye
4ef36bc364
- MFH: update lib detection and does not enable it when lib/headers are missing
2008-07-06 16:59:13 +00:00
Antony Dovgal
a894ab2a00
MFH
2008-05-21 15:03:20 +00:00
Dmitry Stogov
240fa244c3
Improved PHP binary size and startup speed with GCC4 visibility control (Nuno)
2008-01-30 09:41:12 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Antony Dovgal
550b617be1
MFH: detect IBM iconv implementation and use correct encoding names
2007-12-04 11:27:25 +00:00
Antony Dovgal
e60e9ae5c8
MFH: initialize correct variable
2007-11-01 19:13:39 +00:00
Yiduo (David) Wang
4b4d634cb9
MFH: Added macros for managing zval refcounts and is_ref statuses
2007-10-07 05:22:07 +00:00
Dmitry Stogov
6c810b0d4c
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
2007-09-27 18:00:48 +00:00
Antony Dovgal
84195223ec
MFH: fix coverity issue #412
2007-09-27 09:18:50 +00:00
Antony Dovgal
366c113156
MFH: plug leak on error (coverity issue #407 )
2007-09-21 13:37:30 +00:00
Stanislav Malyshev
7985002fc6
better fix for iconv_substr
2007-09-20 22:35:24 +00:00
Stanislav Malyshev
c70e307e77
fix potential overflow (Mattias Bengtsson)
2007-09-20 21:55:14 +00:00
Stanislav Malyshev
f7e4ff1054
one more test
2007-09-19 00:49:02 +00:00
Stanislav Malyshev
2fe9599880
limit iconv parameter sizes - workaround for glibc bug
2007-09-19 00:30:52 +00:00
Stanislav Malyshev
15a715ae73
add length tests for iconv functions
2007-09-19 00:18:01 +00:00
Ilia Alshanetsky
c8a694eb45
Avoid strlen()
2007-05-19 17:52:30 +00:00
Antony Dovgal
1f65545121
fix test names
2007-05-07 18:03:01 +00:00
foobar
0d5a13ddda
MFH
2007-05-05 19:26:39 +00:00
Antony Dovgal
5088614ea1
synchronize iconv_substr() behavior with substr()
...
no MFB so far, since substr() changes are not MFBed either
2007-03-12 19:34:26 +00:00
Antony Dovgal
acd14f802c
MFH
2007-03-01 11:29:43 +00:00
Antony Dovgal
7255b4b953
fix tests on AIX
2007-02-21 19:52:20 +00:00
Antony Dovgal
6e8654aae1
plug leak
2007-02-01 14:02:35 +00:00
Antony Dovgal
d32dc5bda0
MFH
2007-01-24 00:33:51 +00:00
Antony Dovgal
fc9970a6e9
MFH: fix #40129 (iconv extension doesn't compile with CodeWarrior on Netware)
...
patch by gk at gknw dot de
2007-01-17 20:32:53 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Antony Dovgal
2e3cd64566
MFH
2006-12-25 20:44:45 +00:00
Hannes Magnusson
1e19ee8785
- Fixed incorrect function names on FreeBSD where inet_pton() was named
...
__inet_pton() and inet_ntop() was named __inet_ntop()
- Fixed bug #39685 (iconv() - undefined function)
- Fixed bug #38852 (XML-RPC Breaks iconv)
2006-12-20 10:34:36 +00:00
Ilia Alshanetsky
82fb3e00b8
Fixed bug #37773 (iconv_substr() gives "Unknown error" when string length =
...
1").
2006-11-15 18:34:57 +00:00
Antony Dovgal
03c7bbd33b
MFH: improve spelling ( fixes #38780 )
2006-09-12 17:26:34 +00:00
Michael Wallner
01ee23d980
- MFH: fix warnings
2006-09-07 14:24:42 +00:00
Antony Dovgal
7d7f84562c
do not search for empty strings with strpos() and strrpos()
2006-09-06 12:07:32 +00:00
Antony Dovgal
c4e9ee2586
minor changes in iconv_substr() to avoid zval converting
2006-08-31 11:17:47 +00:00
Antony Dovgal
a8a3701ba6
fix leak
2006-08-30 16:12:43 +00:00
Hannes Magnusson
aaa1d62614
MFH: fix/add SKIPIF
2006-06-27 00:09:43 +00:00
Hannes Magnusson
aae5df3ffd
MFH: arg ifno
2006-06-17 13:06:06 +00:00
Dmitry Stogov
1dbaae2795
Added automatic module globals management
2006-06-15 18:33:09 +00:00
Moriyoshi Koizumi
522ce80071
- MFH: fix bug #37176 (iconv_strpos() fails to find a string)
2006-04-27 00:50:54 +00:00
Marcus Boerger
c4b81d8720
- Fix warning
2006-02-28 02:22:57 +00:00
Derick Rethans
016dbe414e
- MFH: Fixed issue with iconv_mime_decode where the "encoding" would only allow
...
upper case specifiers.
#- See RFC 2047, section 2.
2006-02-24 16:05:38 +00:00
Michael Wallner
92ac0940d3
- fix misleading proto (confused out and in charset)
2006-02-18 16:02:43 +00:00
foobar
22f4a05149
- prevent pontential failure with stupid compilers
2006-01-03 13:25:06 +00:00
foobar
bcc1654de3
- Fixed bug #35288 (iconv() function defined as libiconv())
2006-01-03 13:21:07 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
Antony Dovgal
c92ae847c7
add missing skipif conditions
...
fix existing ones
2005-12-21 11:42:06 +00:00
Antony Dovgal
33c87b395f
MFH: fix #35692(iconv_mime_decode() segfault, with libiconv only)
2005-12-15 22:49:22 +00:00
foobar
3e669bc950
MFH: nuke php3 legacy
2005-12-06 02:28:41 +00:00
Ilia Alshanetsky
cce5e8c9ea
Updated tests to use [] instead of {}
2005-11-16 15:13:20 +00:00
foobar
f803888510
MFH: Hiding bugs is not purpose of the regression tests.
2005-11-01 14:36:37 +00:00
Ilia Alshanetsky
2dc3862c7f
Improve iconv skip conditions
2005-10-30 18:07:47 +00:00
Ilia Alshanetsky
9490f1c847
Do not run tests if iconv extension is unavailable.
2005-10-25 14:22:56 +00:00
Antony Dovgal
159bae3d99
MFH: use constants instead of their values
2005-10-20 16:51:03 +00:00
foobar
7e2bccf776
MFH
2005-10-13 19:28:58 +00:00
Antony Dovgal
c47fb30b5b
MFH: fix #34856 (configure fails to detect libiconv's type)
2005-10-13 15:23:11 +00:00
Antony Dovgal
ad73bdcbe0
fix #34757 (iconv_substr() gives "Unknown error" when offset > string length)
2005-10-11 13:50:52 +00:00
Derick Rethans
46854447c5
- Fix skip-if comment.
2005-08-07 12:48:31 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Dmitry Stogov
c3e2f113f3
Fixed bug in test file
2005-06-22 08:33:43 +00:00
foobar
6a58298bf6
- Plain path passed to PHP_INSTALL_HEADERS needs to have trailing /
2005-06-20 00:52:59 +00:00
Ilia Alshanetsky
0c6368d44b
Fixed bug #33268 (iconv_strlen() works only with a parameter of < 3 in length)
2005-06-08 23:49:38 +00:00
foobar
626253940e
- Added PHP_INSTALL_HEADERS() macro
...
- Fixed several VPATH build issues
- Changed all awk calls to use $AWK
- Changed all mkdir calls to use "$php_shtool mkdir"
2005-05-07 02:51:53 +00:00
Moriyoshi Koizumi
3b39b2237f
- Add test case for iconv_mime_encode().
2005-03-23 23:07:42 +00:00
Moriyoshi Koizumi
8f14211e13
- Add sanity check in iconv_mime_encode(). Leaving the third parameter
...
unspecified would yield bus error.
2005-03-23 23:06:38 +00:00
foobar
34805e8d39
- Fixed all buildconf warnings + cross-compiling issues
2005-02-24 19:27:10 +00:00
Antony Dovgal
6074423330
fix Konstantin's last name Chugeuv -> Chuguev
2005-01-10 21:37:17 +00:00
Derick Rethans
48b118968f
- MF43: Install the iconv extension headers to <installpath>/ext/iconv so that
...
external extensions can use them.
2004-12-06 20:39:20 +00:00
Ilia Alshanetsky
07db7765a1
Fixed compilation when PHP is built in separate directory.
2004-11-24 23:12:18 +00:00
Derick Rethans
9b9ae8ee70
- We need to install the headers too.
2004-11-23 13:05:24 +00:00
Edin Kadribasic
6d23aae34e
Only dllexport during the compilation of iconv.c
2004-11-23 12:04:07 +00:00
Derick Rethans
ce022d2723
- Export "php_iconv_string()".
2004-11-23 09:44:54 +00:00
Dmitry Stogov
139933fe59
Test was fixed.
2004-11-22 17:43:03 +00:00
Joe Orton
2685ca935f
Update extensions to use /path/to/$PHP_LIBDIR rather than /path/to/lib
...
to support multi-ABI platforms.
2004-11-03 14:32:52 +00:00
Antony Dovgal
f370d0290f
fix compile warning
2004-08-13 14:52:27 +00:00
Frank M. Kromann
3944483cac
Move iconv exports to the iconv extension
2004-08-04 16:46:48 +00:00
Moriyoshi Koizumi
f89486a3a0
- Fix possible leaks / segfaults in persistent filter
2004-07-20 18:46:39 +00:00
Moriyoshi Koizumi
967c72865f
- Fix a bug in iconv stream filter that prevents pending buckets from being
...
processed on flush operation (same issue pollita fixed several days ago).
2004-07-19 08:34:18 +00:00
Derick Rethans
edce707f3b
- Fixed text.
2004-07-14 09:54:02 +00:00
Derick Rethans
3c28fbd6dd
- Enable iconv by default
2004-04-14 07:42:38 +00:00
foobar
f4983c0d3f
- Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5
2004-01-17 13:00:38 +00:00
foobar
ccfc46b0aa
- Happy new year and PHP 5 for rest of the files too..
...
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Moriyoshi Koizumi
06232e4818
Prevent a character from being wrongly doubled in the buffer.
2004-01-06 14:22:54 +00:00
Moriyoshi Koizumi
3d618a2f00
Just laugh at me :)
2003-12-27 23:07:47 +00:00
Moriyoshi Koizumi
07469af0d9
- Add missing sanity check.
2003-12-27 23:05:23 +00:00
Moriyoshi Koizumi
529dd348b6
- Supply some comments. Hope those help when you have to debug this dead beef.
...
- Fix iconv_mime_decode() to correctly handle "malformed" headers :)
- Fix iconv_mime_decode() bug, that the result is mangled when
ICONV_MIME_CONTINUE_ON_ERROR is enabled and the function encounters an
unconvertable encoded chunk.
2003-12-24 02:36:21 +00:00
Moriyoshi Koizumi
3b7dcf5e65
Those are not structures :-)
2003-12-23 17:10:54 +00:00
Ilia Alshanetsky
cf40d9243d
Fixed compiler warnings.
2003-12-23 17:05:43 +00:00
Moriyoshi Koizumi
1b239fc970
- Fix multibyte handling errors in iconv_mime_encode() when quoted-printable
...
encoding scheme is used.
- Fix segfault that occurs in iconv_mime_encode() when input_charset or
output_charset parameter is not specified in the associative array.
2003-12-22 01:30:00 +00:00
Rob Richards
c821c5b189
export libxml2 and iconv symbols
...
extensions no longer link against either of those
2003-12-08 12:56:47 +00:00
Moriyoshi Koizumi
dcbc570649
Fix iconv stream filter to properly handle multibyte characters that
...
span at the alignment of a hunk.
2003-12-08 00:38:00 +00:00
Moriyoshi Koizumi
a682e0a5c6
Add missing iconv_close() call
2003-12-06 11:10:13 +00:00
Wez Furlong
952e0db997
Use Rob's static libxml+libiconv library; new build no longer
...
requires libxml2.dll or iconv.dll at runtime.
Since we have iconv built in, enable iconv extension by
default too.
2003-12-05 20:17:47 +00:00
Moriyoshi Koizumi
3980fd822e
A trivial implement for dos-like platforms
2003-12-05 18:39:04 +00:00
Moriyoshi Koizumi
fe20585443
Add regression test for iconv stream filters
2003-12-05 18:35:17 +00:00
Moriyoshi Koizumi
f9470dafe0
Add a missing marker
2003-12-05 09:35:21 +00:00
Wez Furlong
1982ae6246
fix zts build
2003-12-05 03:14:54 +00:00
Moriyoshi Koizumi
4f14ee67fb
Type-punning is evil.
2003-12-04 23:46:53 +00:00
Moriyoshi Koizumi
6fc73dda11
Add iconv stream filter.
...
# a quick synopsis:
#
# <?php
# stream_filter_append(STDIN, 'convert.iconv.UTF-8/ISO-8859-15');
#
# fpassthru(STDIN);
# ?>
#
2003-12-04 23:31:31 +00:00
Wez Furlong
4ffdb4253a
This should solve a few problems with static vs. shared builds for extensions (such as mssql) that require certain CFLAGS to be defined, but not pull in other flags that would affect DLL linkage.
...
Also fix the iconv file; MSVC doesn't seem to like the #include SYMBOL syntax.
2003-12-03 22:59:48 +00:00
Moriyoshi Koizumi
110044b5f1
Add a win32 build script. Not tested, but should work :)
2003-12-03 19:46:27 +00:00
Moriyoshi Koizumi
9fd1395546
Fix test so it fits the expected behaviour
2003-12-02 07:38:11 +00:00
Moriyoshi Koizumi
3c02eb1ffe
all '_' (underscores) should be replaced by '\x20' (whitespaces)
...
in encoding.
# should I bump API version?
2003-12-02 07:36:42 +00:00