Yasuo Ohgaki
2efc8847cd
Fixed test title (strlen -> mb_strlen)
2002-04-19 07:51:00 +00:00
Yasuo Ohgaki
f463be8408
Leave "" (null string) when converting.
2002-04-19 07:47:53 +00:00
Yasuo Ohgaki
3b75b606d8
Remove warnings
2002-04-19 07:33:51 +00:00
Yasuo Ohgaki
26bf419778
Fixed messages
2002-04-19 07:08:26 +00:00
Yasuo Ohgaki
6c8bcadf76
Enable mbstring by default.
...
@ mbstring module is enabled by default (Yasuo)
2002-04-19 06:32:26 +00:00
Sebastian Bergmann
c57ab20ac8
Make use of HAVE_MYSQL. Reviewed by: Sterling.
2002-04-18 16:48:03 +00:00
Sander Roobol
fd167a7d42
Removed redefinition of MIN()
2002-04-18 14:05:28 +00:00
Sander Roobol
151bc2a082
Removing unused variable
2002-04-18 14:04:10 +00:00
Derick Rethans
c0c9279c0a
- MFH: Make DBA compile as a shared module again
2002-04-18 12:30:18 +00:00
Harald Radi
f246e23799
whitespace fixes
2002-04-18 10:05:47 +00:00
Alan Brown
ad9f90a223
Missing break; causes fallthrough which actually causes heap corruption in the debugging version despite being just plain wrong. Also placed a default "Unavailable" message when the object does not populate the EXCEPINFO structure. Also removed a minor memory leak.
2002-04-18 01:56:29 +00:00
Alan Brown
bbb133f292
When V_BSTR() is NULL, we pass a NULL pointer into php_OLECHAR_to_char() which reports an exception. Better to map a NULL string pointer to ZVAL_NULL.
2002-04-18 01:52:07 +00:00
Uwe Steinmann
4a2c9980b8
- fixed memory leak
2002-04-17 07:33:39 +00:00
Sebastian Bergmann
208c52fda6
Beautify.
2002-04-17 05:19:10 +00:00
Wez Furlong
b10b24d50c
Always initialize wrappers, regardless of PG(allow_url_fopen).
...
Add is_url field to wrapper structure; the stream wrapper openers
will disallow opening is is_url && !PG(allow_url_fopen).
Add infrastructure for stat($url) and opendir($url).
Tidy up/centralize code that locates and instantiates wrappers for the
various operations.
Implement opendir for plain files.
Make the PHP opendir and dir functions use the streams implementations.
Add modelines for syntax highlighting the pear scripts in vim
2002-04-16 22:14:27 +00:00
Sterling Hughes
651c00718a
move xslt_error and xslt_errno down to functions, in order to
...
make logical room for the xslt_dom_* functions
# (xslt_dom_* will be a basic api, allowing no dom manipulation,
# however, one of these days I'll write a message/extension that
# handles xslt/dom/sax in a coherent manner -- just you watch :)
2002-04-16 15:54:59 +00:00
Wez Furlong
1f4d4873dc
remove old code
2002-04-16 14:47:20 +00:00
Sander Roobol
c18338b84e
Added missing function to function_entry
2002-04-16 14:19:09 +00:00
foobar
01ae2f026e
removed ws pollution
2002-04-16 12:58:23 +00:00
foobar
6394a85af8
Added 2 new tokens: T_CLASS_C and T_FUNC_C
2002-04-16 12:53:07 +00:00
Derick Rethans
561552cb4d
- MFB: Remove version number
2002-04-16 10:14:08 +00:00
Sterling Hughes
e937ad5adf
update these docs, phpdoc will lag a bit :)
2002-04-16 06:41:05 +00:00
Sterling Hughes
2b5a95b54b
Prefix current functions with "sax" in order to make way for dom interface
...
backwards compatibility is maintained via function aliases
xslt_sax_set_sax_handlers is a bit wierd, i guess...
2002-04-16 06:37:19 +00:00
Sterling Hughes
59f3ba1490
clean up the error code a tidbit
2002-04-16 06:04:17 +00:00
Stig Bakken
e07f7cce08
* build tokenizer by default
2002-04-16 05:37:51 +00:00
Frank M. Kromann
1c111b5d3f
Fixing Win32 compilation of mbstring
2002-04-15 23:03:48 +00:00
Frank M. Kromann
45881d2b40
Fixing Win32 compilation of exit
2002-04-15 22:23:20 +00:00
Mark L. Woodward
c000d491d7
Chages for beta3
2002-04-15 22:00:56 +00:00
Uwe Steinmann
de2ef69032
- DomNode->replace_node() now returns the node that was replace and
...
not the new node
- fixes Bug #15949
2002-04-15 15:39:10 +00:00
Uwe Steinmann
c7e391637c
- added DomNode->replace_child()
2002-04-15 14:45:38 +00:00
Marcus Boerger
ef5c0f7cc6
support for WinXP tags (thanks to Rui Carmo)
2002-04-14 20:47:21 +00:00
Thies C. Arntzen
136240ae46
fix crash bug introduced by last commit
2002-04-14 18:27:27 +00:00
Derick Rethans
069d83c68a
- Fix null-termination problem
2002-04-14 08:49:57 +00:00
Rui Hirokawa
d5158c20a4
fixed error output handler when 'pass' is choosed as output encoding.
2002-04-14 08:18:55 +00:00
Frank M. Kromann
cd0b3ea491
/usr/lib is the default install dir on Mandrake
2002-04-14 02:28:09 +00:00
foobar
72c40cdf42
- Use the correct javac/jar binaries.
2002-04-14 00:40:36 +00:00
Thies C. Arntzen
12541a481e
ocibind: avoid warning in debug mode if an outbound variable is NULL
2002-04-13 18:58:18 +00:00
Thies C. Arntzen
33a493cf82
@- Mixing OCIPlogon and OCINLogon no longer leak Oracle-Sessions. (thies)
2002-04-13 12:10:03 +00:00
Christian Stocker
67292ee205
@- old $node->append_child() is now $node->append_sibling(), since
...
@ new append_child() now behaves like excepted (= W3C standard) (chregu, uwe)
2002-04-13 10:23:46 +00:00
Sascha Schumann
83719f5cd8
s/==/=/
2002-04-13 09:26:29 +00:00
Rasmus Lerdorf
be2078bb73
oops
2002-04-13 05:43:14 +00:00
Markus Fischer
c7a1d96f8a
- Fix a possible memory leak in xml_set_handler().
...
I stumbled over this while trying out 'pear package' which, while doing
xml parsing, re-assigns the variaous callback handlers depending
on the version during xml processing.
If this check causes problems, let me know.
2002-04-13 05:06:33 +00:00
Rasmus Lerdorf
7a8cade379
Initial commit of the built-in libgd based on GD-2.0.1
...
This initial checkin has no changes to any of the libgd code so it can
be used as a basis for diffs. It also will not build currently because
of this. The PHP gd checks need to be incorporated along with a bit of
other config magic. It also shouldn't break the build and will only
take effect if you use --with-gd=php right now.
2002-04-13 02:03:09 +00:00
foobar
c46199f5b9
Do NOT use c++ comments in c code!!!!!
2002-04-13 00:31:55 +00:00
foobar
8581de0fe2
Fix the build.
...
# Marcus, do you TEST build at all before you commit?!
2002-04-12 22:02:28 +00:00
foobar
067ca4e813
Do NOT use C++ comments in C code.
2002-04-12 21:19:59 +00:00
Wez Furlong
4df5076d2f
fix build with ZE2
2002-04-12 19:26:08 +00:00
Jan Lehnardt
9b09fba139
- MFB (4_2_0)
2002-04-12 16:54:01 +00:00
Marcus Boerger
50d957cd7a
Ini settings for internal encoding and decoding of Unicode and JIS formatted user comments.
...
@- Ini settings for encoding/decoding Unicode/JIS user comments (Marcus)
2002-04-12 16:35:56 +00:00
Frank M. Kromann
7ff43f040f
Removing a unused local variable.
...
Setting the size before returning the value in readgzfile
2002-04-12 16:25:31 +00:00
Marcus Boerger
0f0a5dddf3
-new function php_mb_check_encoding_list
...
-mark module globals as const (thread safety)
2002-04-12 16:17:16 +00:00
Sander Roobol
fa8e2db095
This test should be skipped if(!cgi)
2002-04-12 15:25:54 +00:00
Marcus Boerger
df82b2ec75
-fix mb_detect_order
...
-php_mbstring_parse_encoding_list/array return 0 on any illegal input
2002-04-12 14:24:54 +00:00
Uwe Steinmann
ce00085cdd
- added method DomNode->remove_child()
2002-04-12 13:23:07 +00:00
Uwe Steinmann
53de1218fd
- fixed stupid compile error
2002-04-12 11:47:48 +00:00
Uwe Steinmann
9b0564beb5
- insert_before(): copy node before doing the insert
...
- append_child(): actually do an append child and not and add sibling
- what is called xmlDtd in libxml is actually the class DocumentType
in DOM. The domxml extension used a class DomDtd which is not defined
in the DOM standard. Instead of using DomDtd DomDocumentType is now
used. DomDtd has been renamed to Dtd but has not meaning anymore.
- added more functions
2002-04-12 11:32:23 +00:00
Rasmus Lerdorf
eb43795ccb
This exif test was failing because the \0's in the expected output had
...
disappeared. It may be CVS doing this. I have put the nulls back, but we
may have to mark this as a binary file in th cvswrappers, or rewrite the
test to not output nulls.
2002-04-12 01:07:46 +00:00
Yasuo Ohgaki
0c9182ad71
Update Sablotron version supported.
2002-04-12 00:44:59 +00:00
Marcus Boerger
fffb1a5d21
interpret empty to_encoding as encoding not set what results in current_internal_encoding
2002-04-11 22:52:43 +00:00
Rui Hirokawa
adf58908e4
fixed a bug which causes crash when charset is not set.
2002-04-11 22:27:00 +00:00
Harald Radi
6f22159aa2
fixed type
2002-04-11 20:32:03 +00:00
Jan Lehnardt
49d6f53007
- add quotes. Cought by: Roman Neuhauser <neuhauser@mail.cz>
2002-04-11 17:20:47 +00:00
Yasuo Ohgaki
25db882a77
Fix ZTS build
...
# Please check caller when you add TSRMLS_DC. Especically if it's PHPAPI function...
# find . -name "*.c" | xargs grep php_mail
2002-04-11 13:40:19 +00:00
Wez Furlong
4adb1e58eb
Fix declarations (Thanks Sebastian)
2002-04-11 12:13:17 +00:00
Marcus Boerger
4407312d4f
thread safe
2002-04-11 08:07:22 +00:00
Marcus Boerger
628e639c08
fix warning
2002-04-11 07:26:53 +00:00
Marcus Boerger
42dc682626
fix testproblem
2002-04-11 06:41:55 +00:00
Yasuo Ohgaki
932e33e259
TSRMG => TSRMLS
2002-04-11 05:06:16 +00:00
Wez Furlong
8dd62722c4
fix warning
2002-04-10 23:51:48 +00:00
Wez Furlong
e1d0a14790
Implement stream context and status notification system.
...
Bump the BC for zlib notice to a warning
# See my RFC to php-dev a few days ago
2002-04-10 22:42:32 +00:00
Uwe Steinmann
281b5d96e2
- extension to access a Hyperwave Server based on the official
...
Hypwerwave SDK. The function of this module is similar to the
existing hyperwave extension but the api is very different.
2002-04-10 13:33:59 +00:00
Rui Hirokawa
1f847267e7
changed mbstring to make thread safe.
2002-04-10 12:47:41 +00:00
Sascha Schumann
297ee300de
ws changes
2002-04-10 12:22:36 +00:00
Sascha Schumann
dc56d2d050
Replace all memsets with variable initializations
...
Change flow of code in functions to end in the "positive" branch.
Changes verified using the original php3 dba tests.
2002-04-10 12:16:31 +00:00
Sascha Schumann
1eb8ee6f6d
too quick. full speed back.
2002-04-10 11:12:19 +00:00
Sascha Schumann
1ed150172a
Please test patches which are merged into the release branch.
...
db2 has a standard UNIX API which in turn means that
it returns non-zero in error conditions.
2002-04-10 11:10:17 +00:00
Derick Rethans
a19078870e
- Fix defines
2002-04-10 06:22:12 +00:00
Marcus Boerger
f140a8dd0d
fix exif using vspprintf
2002-04-10 01:18:52 +00:00
jim winstead
f5b7d979c0
Fix bug #15835 .
2002-04-09 20:18:09 +00:00
Stig Bakken
704713caf8
* remove extra end-fold
2002-04-09 17:32:39 +00:00
Mark L. Woodward
5e5bccccaa
Added new features for msession beta 2
2002-04-08 23:07:23 +00:00
foobar
7cafcc1ef5
ws fix
2002-04-08 22:54:06 +00:00
foobar
edead0523b
CPP directives must start on the beginning of line
2002-04-08 22:21:08 +00:00
foobar
e3cc458d25
- Revert that change. Added a warning about this.
2002-04-08 18:43:35 +00:00
foobar
77c058a06a
There's really no point in allowing using the system regex library.
2002-04-08 07:47:17 +00:00
foobar
23a3cc71e3
Using system regex lib seems not to work quite well when compiled with Apache.
2002-04-08 06:45:52 +00:00
Derick Rethans
cbed0567aa
- Fix wrong logic (Thanks to Alan for noticing it)
2002-04-08 06:36:03 +00:00
Yasuo Ohgaki
34625daf18
Remove unneeded conversions from pg_convert.
2002-04-08 04:21:04 +00:00
Yasuo Ohgaki
d023a96cc6
Make it compile with ZTS.
...
# Forgot to test with ZTS
2002-04-08 02:01:45 +00:00
Yasuo Ohgaki
8fab36f99c
Update README
2002-04-08 01:50:06 +00:00
Yasuo Ohgaki
4ac70c6821
Added pg_metadate(), pg_convert(), pg_insert(), pg_select(), pg_update()
...
and pg_delete().
@ Added pg_metadate(), pg_convert(), pg_insert(), pg_select(), pg_update()
@ and pg_delete(). (Yasuo)
2002-04-08 01:37:38 +00:00
Yasuo Ohgaki
7d48177f37
Return proper result.
2002-04-08 00:50:44 +00:00
foobar
7770fd5710
Some ws fixes and general cleanup.
2002-04-08 00:46:23 +00:00
Yasuo Ohgaki
994cdb4b14
Added 2nd parameter for pg_result_status(). PGSQL_STATUS_LONG is for LONG result status.
...
PGSQL_STATUS_STRING is for SQL command name successfully executed for this result.
@ Added 2nd parameter for pg_result_status() to specify return type. (Yasuo)
2002-04-08 00:43:58 +00:00
Marcus Boerger
59f332800f
correcting some more whitespace
...
#hope that's it
2002-04-07 23:30:01 +00:00
foobar
e034d43ccf
Fixed compile failure with ZTS build.
2002-04-07 22:43:17 +00:00
Andi Gutmans
35befd3eb3
- Fix build with Visual Studio .NET. The MySQL team said they'll commit
...
- their fix a long time ago and never did. One day they'll update the
- whole MySQL client library.
2002-04-07 20:49:10 +00:00
Hartmut Holzgraefe
954dbb2d35
fix and regression test for Bug #16473
2002-04-07 19:46:45 +00:00
Marcus Boerger
bba604b3d8
-fix warnings
...
-fix layout
2002-04-07 18:45:30 +00:00
Marcus Boerger
0743669f1c
-fix warnings
2002-04-07 18:09:31 +00:00
Wez Furlong
1f2344104f
fix for #16469
2002-04-07 10:56:30 +00:00
Yasuo Ohgaki
dbe3dfda5f
Nuke waring with ZTS build
2002-04-07 05:21:43 +00:00
Yasuo Ohgaki
0cace44107
Fixed ZTS build
2002-04-07 05:20:16 +00:00
Wez Furlong
62538caa86
Added BC support for old style zlib: wrapper.
...
Added notice when a requested wrapper is not found.
# This BC thing was giving me nightmares.
# It took me 10 minutes to realize I hadn't compiled in zlib support also.
2002-04-06 17:29:39 +00:00
Derick Rethans
d449021900
- Fix zzip_entry_read
2002-04-06 17:28:58 +00:00
Yasuo Ohgaki
179a52b025
Chages for new pg_last_notice()
2002-04-06 06:42:02 +00:00
Yasuo Ohgaki
b2fce9e893
Make pg_last_notice() work as it is designed. It returns last notice message for connection resource specified.
...
Added "pgsql.ignore_notice" ini entry.
Added "pgsql.log_notice" ini entry.
@ Make pg_last_notice() work as it is designed. It returns notice message PostgreSQL connection resource specified.
@ Added "pgsql.ignore_notice" ini entry.
@ Added "pgsql.log_notice" ini entry.
2002-04-06 05:52:52 +00:00
Andrei Zmievski
0141256493
- Fixed a leak in xml_decode().
...
- Fixed it so it's possible to compile as a shared extension.
2002-04-06 03:50:28 +00:00
Yasuo Ohgaki
65ba307319
Use get_active_function_name() for error messages.
2002-04-06 01:01:41 +00:00
Joseph Tate
5ae6b3e17a
Added test suite for domxml extension.
...
#eventually I'll separate all the tests into separate files, but until
#then, I'll commit it so that everyone can use it.
2002-04-05 20:55:37 +00:00
Joseph Tate
7954c7bafe
Added unlink_node alias for consistency
2002-04-05 18:18:23 +00:00
Marcus Boerger
313503aa92
-testing unicode user-comment
2002-04-05 18:05:48 +00:00
Marcus Boerger
8a388954ea
-correct length for ASCII
...
-global encoding variables
#will become ini settings explanation on what to set follows then
2002-04-05 17:59:29 +00:00
Marcus Boerger
1185a30687
include comma separated encoding lists in test
2002-04-05 16:25:05 +00:00
Marcus Boerger
cbb96206be
no space for comma separated encoding lists
2002-04-05 16:24:08 +00:00
Marcus Boerger
b3a96ba509
aligning #
...
#mentioned by derick
2002-04-05 16:02:54 +00:00
Christian Stocker
672586726e
oops. that was an error not detected in shared library mode ...
2002-04-05 15:47:08 +00:00
Christian Stocker
e448122bd5
added domxml_parser(), domxml_parser_add_chunk() and domxml_parser_end().
...
It provides access to the PushParser interface of libxml2.
2002-04-05 15:27:52 +00:00
Stig Bakken
dedf2a4c39
@Add zlib.output_compression_level option (Stig)
2002-04-05 13:07:43 +00:00
Zeev Suraski
385b233040
Fix gzip/bz2 builds for Windows
2002-04-05 11:51:43 +00:00
Yasuo Ohgaki
1abb9cd02c
Add error message from _notice_handler()
...
# Currently, it always logs whennever notice message is
# recieved. I'll change error log optional later.
2002-04-05 07:57:33 +00:00
Yasuo Ohgaki
7f2446e7de
Fix pg_last_notice() double free.
...
# This should be merged
2002-04-05 06:37:26 +00:00
Yasuo Ohgaki
a9452edac7
Add notice message test
...
# Need to figure out why estrduped string is not null terminated
2002-04-05 06:30:18 +00:00
Yasuo Ohgaki
d84f0e5530
Update message
2002-04-05 06:07:46 +00:00
Yasuo Ohgaki
04691a516b
Add bytea field to test table.
...
Use table name variable.
2002-04-05 06:06:21 +00:00
Yasuo Ohgaki
22007a29de
Add real pg_escape_bytea() test.
2002-04-05 06:05:28 +00:00
Yasuo Ohgaki
eb7ed9105a
Fixed way of exporing functions. (Need PHPAPI for Win)
...
Fixed if statement format. ("if () stmt;" should be "if () \n {stmt;}")
Fixed error message so that appropriate function names are
displayed.
2002-04-05 02:13:32 +00:00
Marcus Boerger
d0de28ece4
Unicode is now based on php_mb_convert_encoding if available
...
#currently only ISO-8859-15 is supported as result
#maybe this will become an ini setting
2002-04-05 01:25:53 +00:00
Marcus Boerger
cb51e72c46
new function php_mb_convert_encoding
2002-04-05 01:23:22 +00:00
Marcus Boerger
bc6d302fcf
removed calls to wctomb, wcstombs
...
#leave UNICODE to user
2002-04-04 20:45:53 +00:00
jim winstead
e7d5c0e253
mailparse moved to pear/PECL.
2002-04-04 18:43:59 +00:00
Sander Roobol
cebaafba15
Fixed build with multiple concurrent jobs (make -j)
2002-04-04 18:15:52 +00:00
Yasuo Ohgaki
24b76bba21
Fix tests
2002-04-04 15:25:46 +00:00
foobar
d658b1a8d7
Revert the bogus patch.
2002-04-04 14:33:05 +00:00
Yasuo Ohgaki
68f8029fbb
Added pg_escape_*() test
2002-04-04 13:59:44 +00:00
Yasuo Ohgaki
fafea27a2d
Clean up pg_escape_*()
2002-04-04 13:54:51 +00:00
Christian Stocker
afeda57153
- fixed a lot of memory leaks (by Lukas Schroeder)
...
- get_attribute() returns False instead of empty string, if attribute not found
2002-04-04 12:16:48 +00:00
Yasuo Ohgaki
186823957a
Fixed crash with pg_escape_*()
...
# I'll MFH later.
2002-04-04 10:25:12 +00:00
Daniela Mariaschi
c02a5dcc1d
Fixed sigfault in ibase_close(). Bug #15419 #15992
...
@- Fixed sigfault in ibase_close() if user doesn't free resultset
@ (Bug #15419 , #15992 ) (daniela)
2002-04-04 02:15:47 +00:00
foobar
97ba30ba5c
- OS X support for dynamically loaded extensions. (patch by Marko)
...
# NEWS entry coming up..
2002-04-04 00:24:34 +00:00
Sterling Hughes
7201d8b54e
fix bug #15150 , thanks to daniel at haxx.se for the fix
2002-04-03 23:59:36 +00:00
Derick Rethans
755b8542e4
- Fix as suggested my Marcus
2002-04-03 19:50:02 +00:00
Wez Furlong
fea3b0a7f8
fix TS build
2002-04-03 13:47:21 +00:00
Wez Furlong
27d1f7db16
Tidy up win32 implementation of proc_open.
...
Respect safe_mode_exec_dir.
Implement proc_close and return process return code under win32.
2002-04-03 13:39:35 +00:00
Wez Furlong
74dd73711b
add test for mailparse_extract_part_file
2002-04-03 13:38:43 +00:00
Wez Furlong
a0f165a5cb
main/streams.c
2002-04-02 16:46:33 +00:00
Derick Rethans
b0970a3b27
- Fix layout
2002-04-02 12:54:21 +00:00
Derick Rethans
f71adad3cf
- Whitespace
2002-04-02 06:41:23 +00:00
foobar
8d151063d3
Be a bit more verbose about what was not found.
2002-04-02 00:04:53 +00:00
Kirill Maximov
33ed30fce8
(PHP quoted_printable_decode) Fixed CR/LF processing for Windows/OS2
...
@ Fixed CR/LF processing for Windows/OS2 in quoted_printable_decode (kir)
2002-04-01 17:03:01 +00:00