Dan Kalowsky
55e43151d5
clearing up some code to remove any possible confusion in variable counts
2002-04-24 22:07:29 +00:00
foobar
e46f57b6fb
- Fixed a typo..
...
# not related to the localhost.localdomain thing..
2002-04-24 18:00:39 +00:00
foobar
0d7b1a4e94
- Do the ssl_onceonlyinit() as last. This is how c-client creates
...
the linkage.c (used by Pine).
2002-04-24 15:29:52 +00:00
Andrei Zmievski
5ff970ba7d
Fix Bug #14795 .
2002-04-24 15:23:43 +00:00
Andrei Zmievski
4fc01022e6
Fix unwanted type conversion in array_merge_recursive (Bug #14990 ).
2002-04-24 15:01:53 +00:00
foobar
712c85eddc
One big mess is a bit less mess now.
2002-04-24 12:45:55 +00:00
foobar
0a1f795271
Fix ZTS build.
2002-04-24 05:49:57 +00:00
foobar
c3a6cbbc42
Fixed the extension name.
2002-04-23 23:30:20 +00:00
foobar
4586a989ef
Wrong variable used here..
2002-04-23 23:17:41 +00:00
Markus Fischer
a8b633bfa2
- Fix proto.
2002-04-23 22:22:17 +00:00
Markus Fischer
be013212bc
- Fix pcntl_waitpid() [ Fixes #16766 ].
2002-04-23 21:21:41 +00:00
Sascha Schumann
1d22766fb1
Add #ifdef.. around F_SETFD.
2002-04-23 19:58:31 +00:00
Derick Rethans
e31793414d
Fix TSRMLS_CC thingies.
2002-04-23 19:01:31 +00:00
Uwe Steinmann
fc851f342a
- replace_child() will not add a child twice
...
- domxml_open_mem() drops old optional parameter to switch between reading
from a string or a file.
- new optional parameter for domxml_open_mem() which set the mode how the
document shall be parsed
2002-04-23 13:24:25 +00:00
Yasuo Ohgaki
417f299d0e
Remove unneeded 'return'.
2002-04-23 08:10:45 +00:00
Yasuo Ohgaki
e6780384ad
Fix possible wide char prolem.
...
Fix empty output when no conversion is performed.
# Derick, this needs to be merged.
2002-04-23 08:07:19 +00:00
Uwe Steinmann
1e9000e315
- added new function DomDocument->ids (subject to change)
2002-04-23 06:26:46 +00:00
Uwe Steinmann
d4c273c3a7
- get_element_by_id() doesn't use xpath anymore but searches in
...
xmlDoc->ids as provided by libxml.
- New function DomDocument->ids() returns a list of ids (subject to change)
- replace_node() doesn't make a copy of the new node if it has no parents
2002-04-23 06:05:38 +00:00
Yasuo Ohgaki
e7e0eddadd
Make pg_convert/pg_insert/pg_select/pg_update/pg_delete a bit more flexible.
...
pg_convert() may ignore, NOT NULL and/or DEFAULT.
pg_insert/pg_update/pg_select/pg_update may return query string.
2002-04-23 03:42:26 +00:00
Sascha Schumann
303a784822
remove unnecessary casts
...
# if you mind the bogus warnings, you can either switch the compiler
# or decrease the warning level
2002-04-22 20:42:01 +00:00
Sascha Schumann
5a83ad6dc1
Set the close-on-exec flag for fds. Child processes should not inherit
...
the fd.
Also rip out the broken O_EXCL use. Our file names are not unique and
this left a small window open where creating a session file would fail
(a, b notice that the file does not exist; a creates the file successfully;
b tries to create, but fails due to O_EXCL).
2002-04-22 20:39:24 +00:00
Harald Radi
894aac6e19
set up a proxy object when requesting a reference to a variable
2002-04-22 19:40:01 +00:00
Harald Radi
b29604fefc
fixes a warning when compiling under win32
2002-04-22 18:02:01 +00:00
Harald Radi
94ba23998f
changes related to the latest commit of the zend engine
2002-04-22 14:25:46 +00:00
Sascha Schumann
ebd957f69e
hash keys lengths include the NUL-byte, so we need to copy one byte less.
...
also add missing commas in the INSERT clause.
Noticed by: Yasuo Ohgaki
2002-04-22 08:18:19 +00:00
Rui Hirokawa
aa9cf268db
small performance improvement when pass is selected as input encoding.
2002-04-21 22:06:55 +00:00
Wez Furlong
6d1dc8141c
Apply that patch I wrote ages ago that fixes some problems with true-color
...
vs palette based handling.
Also implements the gdImageStringFTEx function.
2002-04-21 13:48:22 +00:00
Sascha Schumann
d1a1f17628
refactoring in pgsql_do_connect and some "leaner" code in pgsql_add_quotes
2002-04-21 11:29:17 +00:00
Sascha Schumann
c2c23ff6df
Avoid allocating resources, if we know that the input array is empty.
...
Also pass tsrmls to do_exec.
2002-04-21 10:44:31 +00:00
Sascha Schumann
bf87992040
speling fix and s/FAILURE/HASH_KEY_NON_EXISTANT/
2002-04-21 10:37:40 +00:00
Sascha Schumann
c6016fcfd2
The default has been changed to assume failure, because there were 5-10
...
cases of failure and one success.
2002-04-21 10:28:01 +00:00
Sascha Schumann
db24a14b9b
Add PGSQL_RETURN_OID which encapsulates the LONG_MAX check etc.
...
Add a few missing smart_str_0's.
Remove a "(" in a probably less-tested #ifdef.. branch
2002-04-21 10:22:31 +00:00
Sascha Schumann
9a7418906c
Also support --disable-shared installations of pgsql
2002-04-21 10:18:34 +00:00
Sascha Schumann
7e597b260a
My patch as posted to php-dev + warnings/errors fixed as seen in
...
Yasuo's reply.
2002-04-21 09:46:29 +00:00
foobar
65078f3b50
Tiny typo..
2002-04-21 02:50:38 +00:00
Sascha Schumann
d30fc27e5a
simplify and improve speed of smart_str_print_long.
...
also add a variant for unsigned numbers.
2002-04-21 01:17:49 +00:00
Sterling Hughes
5db5498f90
expletives deleted.
2002-04-21 00:41:38 +00:00
Sterling Hughes
dc3b3fa302
some more fixes towards making it work again
2002-04-21 00:27:05 +00:00
Sascha Schumann
5e25c15d6c
allocate space for NUL
2002-04-20 18:58:20 +00:00
Derick Rethans
6075a65319
- initialize globals properly
2002-04-20 18:33:54 +00:00
jim winstead
36751953d4
include the checks for various support libraries to --with-gd=php section. the
...
libgd stuff needs some additional checks to handle the presence/absence of
things like libpng, but this helps when most things are included.
2002-04-20 18:02:14 +00:00
jim winstead
95e9eb35d8
s/.o/.c/
2002-04-20 17:24:37 +00:00
Sterling Hughes
a8504dc592
realloc buffer down
2002-04-20 16:08:30 +00:00
Sascha Schumann
20c0fed127
If I don't want mbstring, I also don't want this transparent encoding
...
thingee which caused an undefined reference in main.o.
2002-04-20 15:17:57 +00:00
Yasuo Ohgaki
3087b96ece
Make pg_lo_import()/pg_lo_unlink()/pg_lo_open()/pg_lo_export() work with oid larger than 2^31.
...
@Added large OID value (2^31 to 2^32) support for pg_lo_import()/pg_lo_unlink()/pg_lo_open()/pg_lo_export(). (Yasuo)
2002-04-20 14:06:47 +00:00
Yasuo Ohgaki
29e3175f97
Added comment to fix large OID value handling later.
...
Fixed wrong conversion specifiers.
2002-04-20 04:17:17 +00:00
Yasuo Ohgaki
3ee7591ae9
Added missing 'd'.
2002-04-20 03:50:21 +00:00
Yasuo Ohgaki
d845ba2077
Some cleanup.
...
More OID range related fixes.
# Need a little more work for OID
2002-04-20 03:37:01 +00:00
Yasuo Ohgaki
07125ea9f4
Fixed OID overflow. If value is larger than MAX_LONG,
...
pg_last_oid() returns string to keep correct value.
2002-04-20 03:03:42 +00:00
Yasuo Ohgaki
04fb5ef2e3
Added API version for C programs
2002-04-20 02:38:30 +00:00
Yasuo Ohgaki
c53c212da6
Remove warnings.
...
Fixed OID overflow bug.
Fixed type convertion bug.
# Thank you Edin.
2002-04-20 02:31:48 +00:00
Sterling Hughes
c53003575a
throw a warning if encoding support not available...
2002-04-19 23:46:09 +00:00
Sterling Hughes
8912735d86
make it work with dom processing, this allows DOM tree caching to avoid
...
re-parsing the same data. Currently very beta -- DO NOT USE. Will be cleaning
this up over the next few days... Need this in here for version history, and
to show other people
2002-04-19 22:17:23 +00:00
Adam Dickmeiss
4bf2f16771
Indentation;)
2002-04-19 20:15:40 +00:00
Adam Dickmeiss
6ad3b2bf43
fix warning
2002-04-19 20:03:47 +00:00
Andrei Zmievski
4acbbcf5a9
Revert bogus patch.
2002-04-19 17:23:22 +00:00
Derick Rethans
18a3f085aa
- Fix warnings in VC
2002-04-19 14:57:46 +00:00
Yasuo Ohgaki
e64696d729
Fixed pg_insert/update/select/delete overflow.
2002-04-19 13:09:09 +00:00
Yasuo Ohgaki
825e011805
Update tests
2002-04-19 12:24:58 +00:00
Yasuo Ohgaki
7a8ad06121
Added "NOT NULL" check and do not add converted variable when field is NULL and HAS DEFAULT.
...
(php_pgsql_convert)
2002-04-19 12:24:14 +00:00
Yasuo Ohgaki
8d8ca2602b
Changed "default" -> "has default" (metadata)
...
Fixed comment. Do not use magic number.
2002-04-19 12:19:29 +00:00
Wez Furlong
928bae9cf8
Make scheme part decoding rfc2396 compliant.
...
Change zlib:// and bzip2:// to compress.zlib:// and compress.bzip2://
Tidy up old socket/network code/comments.
2002-04-19 10:06:41 +00:00
Yasuo Ohgaki
fe6990cc6b
Remove compiler warnings
2002-04-19 07:56:41 +00:00
Yasuo Ohgaki
c1ae59c588
Fixed file include error
2002-04-19 07:55:24 +00:00
Yasuo Ohgaki
ec11233183
Remove warning.
2002-04-19 07:54:52 +00:00
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