Commit Graph

219 Commits

Author SHA1 Message Date
Moriyoshi Koizumi
0bd11e2a05 Add regression test for iconv_mime_decode_headers() 2003-12-02 00:05:54 +00:00
Moriyoshi Koizumi
ca2aaeee5e Loosen error check. There's no reason to forbid a single '=' occurrence
in an unencoded string.
Fix white space handing. Meaningful spaces have got stripped wrongly
before this patch.
2003-12-01 23:49:20 +00:00
Moriyoshi Koizumi
1b8dd3ba21 Allow iconv_mime_decode_headers() to handle multiple occurence of a header. 2003-12-01 23:25:06 +00:00
Moriyoshi Koizumi
36f5926434 Update test. 2003-12-01 22:59:28 +00:00
Moriyoshi Koizumi
344c29e0c7 Forgot about this one 2003-12-01 22:47:03 +00:00
Moriyoshi Koizumi
869493d4e6 Add iconv_mime_decode_headers() to parse multiple MIME headers.
A few trivial fixes.
2003-12-01 22:46:45 +00:00
Moriyoshi Koizumi
93e0d690ee More RFC2047 conformance. Add ability to forcefully continue processing
on error.
2003-12-01 21:47:19 +00:00
Moriyoshi Koizumi
fd28ad3e8c Fixed bug #26194 (iconv() not properly defined with libiconv).
# Thank you Steph and Frank!
2003-11-22 13:36:55 +00:00
Moriyoshi Koizumi
8e1bbd9aea Proto fix 2003-11-02 18:54:08 +00:00
Moriyoshi Koizumi
86e2c16d9c Add further check for "#include MACRO" style syntax 2003-08-28 06:04:48 +00:00
Moriyoshi Koizumi
fd8411635e Slight improvement. Hope this will make some difference. 2003-08-13 18:21:06 +00:00
Ilia Alshanetsky
025c35a58b Fix compiler warnings. 2003-08-12 04:19:06 +00:00
foobar
57ca69c014 Revert the fix for now 2003-07-30 21:56:45 +00:00
foobar
81c5e49a68 Fix build on certain platforms which do not accept #include FOOBAR 2003-07-30 14:09:42 +00:00
Moriyoshi Koizumi
e661d9e22a Updated test so it won't fail if the extension has been built with libiconv. 2003-07-06 21:44:44 +00:00
Moriyoshi Koizumi
80a8ff3a43 Fixed segfault due to reference to the already free'd block :) 2003-07-06 21:30:23 +00:00
Moriyoshi Koizumi
9fbd2f44ec Modified the test so it reflects the change to iconv_mime_decode() 2003-07-06 21:19:38 +00:00
Moriyoshi Koizumi
8d850b4c3a Improved iconv_mime_encode() interface 2003-07-06 21:19:08 +00:00
Moriyoshi Koizumi
c5e123f584 oops 2003-07-06 21:10:02 +00:00
Moriyoshi Koizumi
716a34a4d0 Avoid miscellaneous conflicts between glibc's iconv and libiconv. 2003-07-06 21:08:50 +00:00
Moriyoshi Koizumi
f4b24b82f2 Added missing includes 2003-07-06 17:52:42 +00:00
Moriyoshi Koizumi
6b4a5bfd8c Simplified config scripts 2003-07-06 17:51:46 +00:00
Andrey Hristov
3e95de04a9 proto fix 2003-06-16 13:32:00 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Moriyoshi Koizumi
0f1f635d00 Fixed ob_iconv_handler() type mismatch issue on 64bit platforms.
Patch by Joe Orton <jorton@redhat.com>
2003-06-04 14:29:43 +00:00
Moriyoshi Koizumi
2efc619dae Fix test 2003-05-31 07:17:35 +00:00
Stig Bakken
0e6fca4f22 * email address change 2003-03-18 12:06:09 +00:00
David Hill
5c90216d2c 64-bit correction to variables passed to zend_parse_parameters
@64-bit correction to variables passed to zend_parse_parameters (Dave)
2003-03-06 23:07:28 +00:00
Moriyoshi Koizumi
aa40a02de8 64bit long fix 2003-03-04 17:18:40 +00:00
Wez Furlong
20d886da50 Credits for iconv 2003-02-05 08:15:07 +00:00
Ilia Alshanetsky
a7b91019e9 Removed pointless memory allocation checks. 2003-01-18 19:49:28 +00:00
Moriyoshi Koizumi
3ae7d13bc9 Appended my name to the list of authors 2003-01-14 19:26:00 +00:00
Moriyoshi Koizumi
ac66d4481e Test update for new feature 2003-01-14 19:25:10 +00:00
Moriyoshi Koizumi
6a1d69d4ba Added missing cast operators 2003-01-10 04:32:25 +00:00
Moriyoshi Koizumi
4c2d6cfea8 Moved php_quot_print_decode() to quot_print.c so that it can be used
outside the iconv module
2003-01-06 15:47:25 +00:00
Moriyoshi Koizumi
d0570815af Added more RFC2047-compliancy check in iconv_mime_decode() 2003-01-06 15:40:22 +00:00
Moriyoshi Koizumi
6f44489b68 Fixed iconv_mime_decode() so that it comforms to RFC2231 2003-01-06 15:35:42 +00:00
Moriyoshi Koizumi
0d0127fbfb Fixed cut'n'paste failure 2003-01-04 13:52:54 +00:00
Moriyoshi Koizumi
b13a6276e1 Added test case for iconv_mime_encode() 2003-01-04 13:39:59 +00:00
Moriyoshi Koizumi
cd2b0fe706 Added test case for iconv_mime_decode() 2003-01-03 20:33:53 +00:00
Moriyoshi Koizumi
07dcab60f0 Added test cases for iconv_strpos() and iconv_strrpos() 2003-01-03 20:02:23 +00:00
Moriyoshi Koizumi
006b455c6a Fixed an iconv_strrpos() bug that the function doesn't return accurate
position of last occurrence
2003-01-03 20:01:13 +00:00
Moriyoshi Koizumi
3149fc7c40 Added offset validity check for iconv_strpos() 2003-01-03 14:29:49 +00:00
Moriyoshi Koizumi
f76df0ba1b Added test cases for iconv_strlen() and iconv_substr() 2003-01-03 05:48:51 +00:00
Moriyoshi Koizumi
a3330b5ab3 Fixed iconv_mime_decode() so it would give more awareness to stateful codesets 2003-01-03 05:38:50 +00:00
Moriyoshi Koizumi
e1dd919204 Fixed infinite loop of iconv_mime_encode() in case the specified line length is too short to contain a proper mime-encoded string 2003-01-03 05:34:05 +00:00
Moriyoshi Koizumi
c703ad78d0 Give mo' shift-sequence awareness to iconv_mime_encode 2003-01-03 05:32:13 +00:00
Moriyoshi Koizumi
354a42fd5f More shift-sequence awareness for iconv_substr() 2003-01-03 05:28:25 +00:00
Moriyoshi Koizumi
1f8cee7666 Added missing casting operators 2003-01-03 05:26:44 +00:00
Moriyoshi Koizumi
bf48e7bc9f MFB 2003-01-03 05:16:12 +00:00
Moriyoshi Koizumi
6144a7288e MFB: fixed shift-out sequence unawareness issue 2003-01-03 05:14:34 +00:00
Moriyoshi Koizumi
c4e8b2baab Added various functions that relies on the iconv facility:
iconv_strlen(), iconv_substr(), iconv_strpos(), iconv_strrpos(),
iconv_mime_encode(), iconv_mime_decode()

# hope this be a new year gift for you. Happy new year!
2002-12-31 19:13:16 +00:00
Sebastian Bergmann
b506f5c8f8 Bump year. 2002-12-31 16:08:15 +00:00
Moriyoshi Koizumi
e7f1bbf0f2 Iconv extension is no longer experimental 2002-12-02 21:29:06 +00:00
Moriyoshi Koizumi
5ca953b10f Fixed a problem that ICONV_IMPL doesn't give a correct value in win32 build. 2002-11-14 23:07:53 +00:00
Moriyoshi Koizumi
8e1f89bc6f Use proper types 2002-11-08 18:40:54 +00:00
Moriyoshi Koizumi
5b62dc07e1 Fixed typo 2002-11-08 18:06:31 +00:00
Moriyoshi Koizumi
5c7b062d6f Cosmetics 2002-11-06 16:58:08 +00:00
Moriyoshi Koizumi
c22c2e4772 Added a test case to check the behaviour on failure 2002-11-06 16:57:53 +00:00
Moriyoshi Koizumi
0228d5bdcb Clean up 2002-11-06 16:54:18 +00:00
Moriyoshi Koizumi
cac70c5523 Stricter SKIPIF conditions 2002-11-06 16:37:10 +00:00
Moriyoshi Koizumi
49f15ab314 Fixed segfaults in case the specified encoding is not acceptable to iconv. 2002-11-06 16:29:16 +00:00
Moriyoshi Koizumi
a00abb6850 Fixed library capability detection behaviour.
# Whew! I've fixed all the known problems.
# And should I become a maintainer of this module?
2002-10-31 20:23:53 +00:00
Moriyoshi Koizumi
b3e3420120 Prevent unnecessary notices on success 2002-10-30 19:21:56 +00:00
Marcus Boerger
6663f2cd0a -do not dl() load
-magic_quotes_runtime
2002-10-29 21:51:32 +00:00
Moriyoshi Koizumi
21e8efbb87 It's better to know the version is "unknown", rather than "" 2002-10-29 19:09:27 +00:00
Moriyoshi Koizumi
630a4ff924 Removed dl() stuff 2002-10-29 16:28:12 +00:00
Moriyoshi Koizumi
e8cf2253fb Improved library identification 2002-10-29 16:18:12 +00:00
Marcus Boerger
51ed05cc3d -php_error => php_error_docref 2002-10-29 11:56:46 +00:00
Ilia Alshanetsky
4b6640be45 Fixed compile warning. 2002-10-29 01:28:21 +00:00
Marcus Boerger
6829a7a5b1 fix this tests
-they did not dl load module in test....
-disable E_NOTICE
2002-10-28 17:15:21 +00:00
Moriyoshi Koizumi
e13c936bd3 Clean-ups 2002-10-26 08:52:17 +00:00
Moriyoshi Koizumi
905d95fa03 Renamed the test 2002-10-26 08:50:05 +00:00
Moriyoshi Koizumi
d883bf51df Added a test case for ob_iconv_handler() 2002-10-26 08:45:49 +00:00
Moriyoshi Koizumi
6537b7b21a Fixed typo... what did this "#" sign mean? 2002-10-26 07:49:46 +00:00
Marcus Boerger
63a9d4fa2e fix ZTS build 2002-10-25 11:50:35 +00:00
Moriyoshi Koizumi
34aa59baf9 Added two new rows to MINFO that describes iconv library info. 2002-10-25 08:51:59 +00:00
Moriyoshi Koizumi
d953754d74 Let them say why they are skipped 2002-10-21 10:35:02 +00:00
foobar
9618e4e854 This test should not print out the error (which is correct). 2002-10-14 23:09:48 +00:00
Moriyoshi Koizumi
f5b53c17ab Improved the test cases so that they will be skipped rather than failed, if libiconv is not used. 2002-10-11 18:07:47 +00:00
Moriyoshi Koizumi
764df05768 *** empty log message *** 2002-10-11 17:48:39 +00:00
Moriyoshi Koizumi
adbdd71dc8 Fixed possible compile-time failure 2002-10-11 17:01:34 +00:00
foobar
0654763cc6 ws fix 2002-10-11 15:25:36 +00:00
foobar
edc755aa54 fix typo. 2002-10-11 13:43:24 +00:00
Derick Rethans
03b3478754 - Style polizei :) 2002-10-11 08:15:05 +00:00
Moriyoshi Koizumi
d2f99493a0 Reformatted.
# Still bad?
2002-10-11 08:01:18 +00:00
Moriyoshi Koizumi
1a867685a0 Added ICONV_IMPL and ICONV_VERSION constants.
@- Added ICONV_IMPL and ICONV_VERSION constants to iconv extension to
@  indicate which iconv implementation is used. (Moriyoshi)
2002-10-11 07:50:47 +00:00
Moriyoshi Koizumi
fe79eaf08f Added set_time_limit(); We should stop it in some time. See the comment in the script for detail. 2002-10-11 07:38:18 +00:00
Melvyn Sopacua
641f346cf6 Another small test for iconv transliteration, from GNU libiconv testkit 2002-10-10 19:06:00 +00:00
Melvyn Sopacua
e4e53bb4b3 It used to be 003 2002-10-10 16:49:33 +00:00
Melvyn Sopacua
418908f994 Test for standard transliteration.
Original check-translit from GNU libiconv-1.8
2002-10-09 23:16:39 +00:00
Derick Rethans
c10b169670 - Use a more descriptive filename 2002-10-09 20:30:30 +00:00
Moriyoshi Koizumi
cfcfd094e9 Renamed the test case files in order to avoid confusion 2002-10-09 20:19:13 +00:00
Rui Hirokawa
382a92cc5a added @ to suppress a notice. 2002-10-09 12:54:52 +00:00
Marcus Boerger
9be7455fe0 Synch with README.TESTING 2002-09-28 13:59:17 +00:00
Yasuo Ohgaki
69cc47358e Fixed errno hanlding. Patch by Moriyoshi Koizumi <readjust@deneb.freemail.ne.jp> 2002-09-07 21:08:47 +00:00
Yasuo Ohgaki
38ef35e5b0 Fixed undefiend referece at build time.
Fixed transilit test script.
Make fixes available on Windows.
Patch by Yoshimori Koizumi<readjust@deneb.freemail.ne.jp>
2002-09-04 05:17:16 +00:00
Yasuo Ohgaki
4b7ad8104e Forgot this one. Fix build 2002-08-08 01:50:23 +00:00
Yasuo Ohgaki
19df86f388 Fix build 2002-08-08 01:46:07 +00:00
Marko Karppinen
7498f56852 Updated proto to match the function (fix compile bustage on osx) 2002-08-06 19:39:12 +00:00