Zeev Suraski
3a35a6955d
Get rid of the old implementation
2000-01-28 12:53:05 +00:00
Sam Ruby
137765c95a
accomodate old versions of kaffe which don't support jar
2000-01-28 10:53:06 +00:00
Sam Ruby
302ccb0d97
Shutdown cleanly (prevents Kaffe from trapping on exit)
2000-01-28 00:32:28 +00:00
Chuck Hagenbuch
b87e48802e
Mcal cleanup, stage 1: it compiles again (the php3 syntax to php4/zend
...
syntax conversion left a lot of: PHP_FUNCTION void ... definitions, giving
two types to every function).
However, it's still segfaulting. I'll look into that next.
2000-01-27 16:38:45 +00:00
Sam Ruby
5924c920ec
PHP now starts up in CGI mode with Kaffe on RedHat Linux 6.1.
...
status: segfault atexit, npe in jawt - but otherwise both samples work!
Installation needs more work
2000-01-27 13:44:45 +00:00
Sam Ruby
31e3466556
Forward progress, thanks to Sascha Schumann.
...
libphp_java.so is now built again - it just refuses to load.
At least I now have something I can debug!
2000-01-27 02:13:21 +00:00
Uwe Steinmann
5c3917478a
- resumed work on domxml and found a way to circumwent a segm fault
...
(see the source). No solution to fix it, yet. Probably needs some
understanding of zend, which I don't have.
- added more functions
2000-01-25 17:00:09 +00:00
Egon Schmid
99ff6e3b76
Proper indentation here also.
2000-01-24 20:25:57 +00:00
Andreas Karajannis
2b6d84ff37
Fix for wrong library ordering with adabas
2000-01-19 18:21:53 +00:00
Sam Ruby
e6c203832e
First step to restoring the ability to build Java support on Unix:
...
1) Restore the ability to build CGI as a shared library
2) Correct make dependency rule so that the jar files are included
3) Search for jar executable, and use it, if found
Left TODO: actually build the shared libraries
2000-01-19 14:45:26 +00:00
Thies C. Arntzen
fb6a1b8b83
RETURN_NULL -> RETURN_NULL() // we don't want macros without an argumnet
2000-01-19 09:38:45 +00:00
Zeev Suraski
4b006cb8b0
This doesn't seem to be necessary, and causes a leak in case of output_buffering=on
2000-01-18 22:25:48 +00:00
Thies C. Arntzen
c6df8ab565
@- Ora_GetColumn()/Ora_FetchInto() now return NULL for NULL-Columns. (Thies)
...
also changed return-type for list-dtor
2000-01-18 08:35:55 +00:00
Zeev Suraski
df138c2e2f
- MS-SQL fix
...
- Fix a crash bug in session_register()
2000-01-17 22:41:59 +00:00
Zeev Suraski
62114c1806
Destructors no longer return ints, the low level problem it was intended to solve is long gone now...
2000-01-17 17:33:37 +00:00
Zeev Suraski
ec386cc9fd
- Remove the pre-request-shutdown hooks, they should no longer be necessary.
...
The session module may not work due to an unknown (and until now, IMO, misdiagnosed) problem,
if it does, please report it!
2000-01-16 21:03:49 +00:00
Zeev Suraski
97e1ad136a
Fix
2000-01-16 20:37:09 +00:00
Zeev Suraski
2dea694ab4
Remove the post-startup callback support. Modules are now started only after
...
the entire engine is started. People - please make sure that the session module
works properly for you.
2000-01-16 19:43:34 +00:00
Thies C. Arntzen
8950aa75c4
@- OCI8 now supports binding of NULL-values. Module cleanups. (Thies)
...
lots of cleanup - all invisible to the user (i hope;-)
- full refcounting of connections & statements
- cleanup of the descriptor-code (descriptors are now real resources)
- we now use SQLT_CHR instead of SQLT_STR (no trailing \0) - smarter & faster
- ocifetchinto(OCI_BOTH) will use references.
2000-01-16 13:30:57 +00:00
Andrei Zmievski
3e5dc58f35
(wddx_stack_destroy) Properly free the dangling varname.
...
(php_wddx_deserialize_ex) There should be only 1 value on the stack after
parser is done.
2000-01-15 23:34:51 +00:00
Andrei Zmievski
878906fbb8
Another idea I had today.
2000-01-15 21:35:50 +00:00
Andrei Zmievski
2fc0dac01e
(php_sockwait_for_data) timeout is not assigned yet, so check the right one.
2000-01-15 20:39:06 +00:00
Sascha Schumann
44a712d810
(php_sockwait_for_data) clean up
2000-01-15 19:51:44 +00:00
Andrei Zmievski
bfc85c288a
Fix prototype.
2000-01-15 19:42:40 +00:00
Andrei Zmievski
4423bf9d10
Added ability to set timeout on socket read operations. New function
...
set_socket_timeout(socket, seconds, microseconds) sets the timeout.
@- Added ability to set timeout on socket read operations through
@ set_socket_timeout() function. (Andrei)
2000-01-15 19:41:17 +00:00
Zeev Suraski
a0591b32c7
Fix logic
2000-01-15 17:23:18 +00:00
Sascha Schumann
b83739945e
Initialize flag correctly
2000-01-15 17:16:21 +00:00
Zeev Suraski
259c05829b
Compile fixes for ZTS
2000-01-15 16:56:30 +00:00
Thies C. Arntzen
bf4d20aaa8
just add a remark. zend_hash_apply can & will cause problems here unless
2000-01-15 13:39:19 +00:00
Thies C. Arntzen
b42603eee6
in an rshutdown function we should not access the regular_list like this.
2000-01-15 13:35:06 +00:00
Sascha Schumann
a0b08b5e0b
Be more verbose, if headers were already sent and remove RSHUTDOWN handler
2000-01-15 13:20:39 +00:00
Thies C. Arntzen
64c6e1e90e
sessions are now written via a _php_session_shutdown which is registered
...
via php_register_pre_request_shutdown().
2000-01-15 13:09:32 +00:00
Sascha Schumann
e078a04fd0
Complain verbosely, if a destroy failed
2000-01-15 12:17:18 +00:00
Zeev Suraski
3f74baed02
Woops, forgot to commit the right version of the file...
2000-01-13 17:54:51 +00:00
Zeev Suraski
972631be71
- Added flush() support to SAPI
...
- Got rid of the old flush() implemenetation in favour of the new one
- Added implicit_flush() support to the output buffering layer.
@- Added implicit_flush() to control whether flush() should be called
@ implicitly after any output (Zeev)
2000-01-13 17:37:25 +00:00
Sascha Schumann
d67a4cec24
Add description for AC_DEFINEs
2000-01-12 19:03:34 +00:00
Sascha Schumann
3164ac7217
Fix compile on AIX, #2071
2000-01-12 18:21:39 +00:00
Zeev Suraski
736570923d
@- Fixed a crash in pfsockopen() (Zeev)
2000-01-10 19:56:23 +00:00
Uwe Steinmann
78e84f9da3
- changed cpdf_global_set_document_settings() to cpdf_global_set_document_limits()
2000-01-10 12:42:05 +00:00
Uwe Steinmann
a4dc650d11
- added cpdf_global_set_document_limits()
2000-01-10 11:01:56 +00:00
Zeev Suraski
8acd3e3818
@- Fixed a possible crash in phpinfo() (Zeev)
...
phpinfo() now ensures that HTTP_*_VARS[] are actually arrays before it tries
to access them...
2000-01-09 18:32:13 +00:00
Thies C. Arntzen
e1334ec9bb
fix solaris compile
2000-01-07 13:30:53 +00:00
Thies C. Arntzen
48e10ec9c4
@- Applied safe-mode patch to popen(). (Patch by Kristian Köhntopp)
2000-01-06 15:27:03 +00:00
Sascha Schumann
4bd0b72b98
Fix namespace pollution
2000-01-05 19:37:13 +00:00
Jouni Ahto
9a07df6c4a
(php_setlocale) Fixed memory leak (bug #3105 ).
...
# Must have been thinking something else when originally wrote this.
2000-01-05 12:26:41 +00:00
Andrei Zmievski
16a35c234e
Fix IS_UNSET -> IS_NULL rename.
2000-01-04 14:41:56 +00:00
Andi Gutmans
60841f1231
- Separate the overloaded objects' types from Zend's data types.
...
There is no reason for them to be the same, and IS_METHOD just cluttered
the data types.
- Overloaded elements should now use OE_IS_OBJECT, OE_IS_ARRAY, and
OE_IS_METHOD
2000-01-04 13:56:13 +00:00
Andi Gutmans
bdefd5da15
- Change IS_UNSET -> IS_NULL
2000-01-04 13:22:58 +00:00
Thies C. Arntzen
402a9db2fe
@- str_repeat() now returns correct length. (Thies)
2000-01-04 09:45:28 +00:00
Sascha Schumann
2602a59e87
Replace all += constructs with equivalent ones
2000-01-04 02:58:46 +00:00
Rasmus Lerdorf
ed3c962b39
@ Don't assume libz and libpng are installed for the GD checks (Rasmus)
2000-01-04 02:42:27 +00:00
Andrei Zmievski
4595bf1e20
* Implemented <boolean> and <null> types. We now support WDDX version 1.0
...
as best as we can.
* Cleaned up the API function names, _ was really not needed.
* Cleaned up the repetitive stack var name stuff with a macro.
* WDDX now no longer converts numbers to strings in arrays when during
serialization.
@Implemented support for <boolean> and <null> types according
@to WDDX version 1.0 (Andrei)
2000-01-03 18:10:27 +00:00
Andreas Karajannis
0ab3cda84a
Statements get closed before connection shutdown.
...
Disabled fetching all errors for Adabas.
2000-01-02 15:59:01 +00:00
Thies C. Arntzen
953bf8bbf6
(var_dump, serialize, unserialize) support NULL
...
@- Added new NULL constant (Zeev, Zend library)
2000-01-02 11:49:27 +00:00
Sascha Schumann
890c1de998
Remove second (equal) definition of isleap()
2000-01-01 20:50:37 +00:00
Thies C. Arntzen
8edf2b88dc
tiny optimisation
2000-01-01 16:54:55 +00:00
Thies C. Arntzen
e81d9aaca3
Happy new year (especially to Zeev :)
2000-01-01 16:52:14 +00:00
Sascha Schumann
2fd8cbff2a
Declare timezone only, if the system fails to do so.
2000-01-01 02:22:01 +00:00
Sascha Schumann
43ae2bffbb
Happy Y2K patch! Happy new year (or the new millennium, depending on whether
...
you start counting at 0 or 1).
2000-01-01 01:32:05 +00:00
Sascha Schumann
3762f2d25c
Be as portable as possible
2000-01-01 01:20:59 +00:00
Zeev Suraski
ccb4b18348
Happy new year (especially to Thies :)
...
- Zend branch patches merged in - get the PHP tree uptodate
- Clean
1999-12-31 14:06:31 +00:00
Sascha Schumann
f5bf967660
Fix linking problems with iODBC. This is from the Adabas section, so
...
this might work for iODBC.
1999-12-31 00:38:22 +00:00
Sascha Schumann
797b8885c5
First try at getting the ODBC stuff right
1999-12-31 00:21:01 +00:00
Andreas Karajannis
7c88c6fce1
Replaced some ODBC 3 stuff to be backwards compatible to ODBC 2
1999-12-30 17:11:47 +00:00
Sascha Schumann
0c46c25633
Append liblber to satisfy symbols in libldap
1999-12-30 14:49:17 +00:00
Sascha Schumann
7948fe36c4
Fix define.
...
This should be the last one, my earlier search didn't find macro names
contain numbers.
1999-12-30 13:19:56 +00:00
Thies C. Arntzen
c76f23420e
fix AC_DEFINE
1999-12-30 12:27:09 +00:00
Sascha Schumann
163f5f4993
Propagate error condition correctly
1999-12-30 06:16:55 +00:00
Sascha Schumann
3a82ae9244
Ease include file selection. Let's see which cpps support this construct.
1999-12-30 06:09:46 +00:00
Sascha Schumann
cf5a5fb1dd
Whoops, defining them to empty values generates many parse errors.
...
Defaulting to 1.
1999-12-30 04:52:19 +00:00
Sascha Schumann
2c99bef442
Get rid of config.h.stub. Note that you should embed a comment about
...
what the respective define does into the AC_DEFINE macro. I.e.
AC_DEFINE(HAVE_FOO, 1, [Whether you have FOO])
1999-12-30 04:07:46 +00:00
Sascha Schumann
f2f8d38efa
Integration of -ng changes. Changes:
...
- added support for externally built modules,
- improved support for in-tree shared modules,
- fixed diversion bugs,
- configure displays some informative messages,
- faster static build
(libtool isn't used anymore for compiling non-PIC objects),
- dependencies comparable to automake's without requiring GNU make or GCC,
- working make clean for non-GNU makes.
1999-12-30 02:59:53 +00:00
Sascha Schumann
aec0bb339b
Fix -Wall warnings
1999-12-28 20:50:34 +00:00
Sascha Schumann
09d2e3d159
Move include into source file
1999-12-28 18:47:59 +00:00
Sascha Schumann
a20c76fcbc
Add neccessary includes
1999-12-28 18:45:10 +00:00
Thies C. Arntzen
eb1927d94e
non-ZTS fix
1999-12-28 12:14:18 +00:00
Sascha Schumann
5d65261362
Remove unneccessary include to make stand-alone build work
1999-12-28 07:54:21 +00:00
Sascha Schumann
7e156e73b5
Build correctly on systems which lack localtime_r
1999-12-27 10:52:46 +00:00
Sascha Schumann
068596552d
Cache results of crypt capability checks
1999-12-26 22:35:55 +00:00
Zeev Suraski
235386b245
Change ALLOC_ZVAL() semantics
1999-12-26 21:21:33 +00:00
Zeev Suraski
90f1218fbb
- Change uint32 to php_uint32 (PostgreSQL defines uint32, and perhaps other packages too)
...
- PostgreSQL finally compiles&links
1999-12-26 00:18:44 +00:00
Zeev Suraski
7d2d48e116
Make PostgreSQL compile again
1999-12-25 23:59:14 +00:00
Andi Gutmans
d6f788f56a
- Get rid of two warnings
1999-12-25 09:06:55 +00:00
Andi Gutmans
3bf1b04cb4
- Move more stuff to ALLOC_ZVAL(). We need to add those FREE_ZVAL()'s now.
1999-12-24 17:39:27 +00:00
Andi Gutmans
3f6e00e48d
- Use ALLOC_ZVAL() in PHP. Finding the places to put FREE_ZVAL(z) is much
...
more tricky and I'm not sure how many places this is. zval allocations
were only made directly in 11 places.
1999-12-24 15:43:39 +00:00
Thies C. Arntzen
63d0849403
pval->zval
1999-12-23 14:59:01 +00:00
Thies C. Arntzen
a94721fc4c
@- strrev() no longer modifies arg1. (Thies)
1999-12-23 14:55:50 +00:00
Thies C. Arntzen
a04805ce88
killed warning + added reminder
1999-12-23 12:52:12 +00:00
Thies C. Arntzen
337bcc7014
ZTS fix
1999-12-23 12:46:25 +00:00
Thies C. Arntzen
4e095276af
digital cc doe not like whitespaces before a # mark
1999-12-23 08:18:35 +00:00
Sascha Schumann
5eeb9db457
Kill compiler warning
1999-12-22 22:47:18 +00:00
Sascha Schumann
b0e1f9ca2f
Enable --with-oci8 to use relative paths as input parameters
1999-12-22 22:16:47 +00:00
Thies C. Arntzen
ec33704c39
@- Fixed buffer overruns in iptcembed(). (Thies)
1999-12-22 14:46:31 +00:00
Sascha Schumann
095909be79
Logic fix, improved comments, better SID checking
1999-12-22 00:38:04 +00:00
Sascha Schumann
f889148335
Warn users, if they have disabled gpc_globals and track_vars. Also work
...
correctly, if users have enabled track_vars/disabled gpc_globals.
1999-12-22 00:11:04 +00:00
Sascha Schumann
a2276107ab
Some cleanup
1999-12-21 22:58:04 +00:00
Zeev Suraski
e538fcbf10
@- Fixed a bug in ODBC error reporting (Zeev)
...
@- Added PHP_Logo_GUID() and Zend_Logo_GUID() functions, that return the GUIDs
@ of the PHP and Zend logos used in phpinfo() (Zeev)
1999-12-21 20:35:43 +00:00
Andrei Zmievski
42847f7d5c
Some more php3->php stuff.
1999-12-21 20:02:26 +00:00
Andrei Zmievski
cc205c60ae
Correct PHP's mime type.
1999-12-21 19:40:27 +00:00
Andrei Zmievski
80bab9d939
We're using ZVAL's now.
1999-12-21 17:14:31 +00:00
Thies C. Arntzen
e96c5401f1
commented out select() & friends for now - we need to come up with a good API for those!
1999-12-21 16:51:27 +00:00
Evan Klinger
8306501e48
Ex API
1999-12-21 06:11:52 +00:00
Zeev Suraski
06ab44337f
This should get it to compile...
1999-12-21 05:22:43 +00:00
Sam Ruby
8a34d1a7e0
Further cleanup as including php.h is no longer harmful
...
- thanks to Sascha for noticing it.
Tested on Linux and WinNT, should work everywhere.
1999-12-21 02:34:20 +00:00
Sascha Schumann
ed0a307ccd
Use sapi_module_struct to contain SAPI module name
1999-12-20 23:09:54 +00:00
Andrei Zmievski
742c58c240
(PHP preg_quote) Made binary-safe.
...
@ Made preg_quote() binary-safe. (Andrei)
1999-12-20 20:49:56 +00:00
Andrei Zmievski
6e1dbe497c
Made quotemeta() binary-safe.
...
@ Made quotemeta() binary-safe. (Andrei)
1999-12-20 20:43:47 +00:00
Andrei Zmievski
1ad5180f28
getParameters -> zend_get_parameters
1999-12-20 17:34:55 +00:00
Zeev Suraski
f455a484bd
Make the Win32 tree compile again
1999-12-20 15:38:44 +00:00
Andrei Zmievski
2603f1c419
Zend fixups.
1999-12-20 15:23:38 +00:00
Egon Schmid
5eba3fbd34
Corrected some protos.
1999-12-20 13:28:17 +00:00
Hartmut Holzgraefe
a4c22c8b3a
IMAP should now be in sync with its PHP3 counterpart
1999-12-20 11:10:33 +00:00
Sascha Schumann
0d70a91b6d
Add information about chosen SAPI module to phpinfo()
1999-12-20 07:12:27 +00:00
Evan Klinger
f5d5637f72
Ex API
1999-12-20 02:09:58 +00:00
Evan Klinger
eb54c032c8
Ex API
1999-12-20 01:23:15 +00:00
Evan Klinger
9ea9ca32ba
Ex API and UDP support.
...
@- Added UDP support in fsockopen() (Evan).
# UDP activated with "udp://hostname"
1999-12-20 00:55:58 +00:00
Zeev Suraski
dc0a5f9c24
Fix PostgreSQL build
1999-12-19 22:44:55 +00:00
Zeev Suraski
4d2b0715d1
libzend -> Zend
1999-12-19 21:02:54 +00:00
Danny Heijl
4dbf758f4c
(ext/informix) function name changes: zend_get_parameters_ex (danny)
1999-12-19 20:05:53 +00:00
Zeev Suraski
489de5dce2
Support the latest update to call_user_function_ex()
1999-12-19 18:58:27 +00:00
Hartmut Holzgraefe
9947223800
replaced PHP_FE by PHP_FALIAS in imap_functions[] where appropriate
1999-12-19 16:31:26 +00:00
Sascha Schumann
cb45c2ea55
Use zend_sprintf by default (which is defined to sprintf, if the system's
...
sprintf is useable).
1999-12-19 14:39:41 +00:00
Evan Klinger
e760c2b3b9
DAV extension now compiles.
1999-12-19 02:15:18 +00:00
Sascha Schumann
63d4411560
Use workaround function for sprintf, if the return value of sprintf is needed
1999-12-19 02:12:31 +00:00
Sascha Schumann
d15e7a5ec2
Fix for missing RAND_MAX on SunOS 4.1
...
Reported by: Brian Lalor <blalor@netDrives.com>
1999-12-18 23:28:43 +00:00
Zeev Suraski
a1ad2872ee
- The tree compiles again
1999-12-18 22:40:35 +00:00
Danny Heijl
6bdcfc745d
(ext/informix) : remove traces of php3 (danny)
1999-12-18 17:08:41 +00:00
Andrei Zmievski
74dcad5107
Fix #2999 .
1999-12-18 17:05:21 +00:00
Thies C. Arntzen
69c046e53b
compiles again
1999-12-18 15:10:04 +00:00
Zeev Suraski
e1e08ae506
Some more php3_ cleanup
1999-12-18 12:03:53 +00:00
Zeev Suraski
ea20775565
More php3_ cleanup
1999-12-18 11:59:43 +00:00
Zeev Suraski
e18a883796
More php3_ cleanup
1999-12-18 11:49:31 +00:00
Zeev Suraski
3db6716761
More php3_ annihilation
1999-12-18 11:38:04 +00:00
Zeev Suraski
83fef4866d
More php3_ cleanup
1999-12-18 04:08:03 +00:00
Zeev Suraski
3ee4e65c95
More php3_ annihilation
1999-12-18 04:01:20 +00:00
Zeev Suraski
8a581c3536
More php3_ annihilation
1999-12-18 03:20:53 +00:00
Zeev Suraski
396bccfb1d
More php3_ cleanup
1999-12-17 22:34:04 +00:00
Zeev Suraski
878ed4934c
More cleanup
1999-12-17 22:01:09 +00:00
Zeev Suraski
bb3ca12629
More cleanup...
1999-12-17 21:50:07 +00:00
Zeev Suraski
502bb9c746
More php3 cleanup
1999-12-17 21:34:28 +00:00
Zeev Suraski
59a3b83bf5
More php3 cleanup
1999-12-17 21:19:59 +00:00
Zeev Suraski
66f5e50050
More cleanup...
1999-12-17 21:13:15 +00:00
Zeev Suraski
2d0b84ee30
More work on php3_ annihilation...
1999-12-17 20:55:32 +00:00
Zeev Suraski
fb1c77bd4f
- Made PHP_VERSION and PHP_OS work again
...
- More php3_ cleanup
@- Restored the PHP_VERSION and PHP_OS constants (Zeev)
1999-12-17 20:55:31 +00:00
Zeev Suraski
a3c6514332
More php3_ annihilation
1999-12-17 19:51:39 +00:00
Zeev Suraski
02d3b39420
More php3_ annihilation
1999-12-17 19:16:50 +00:00
Hartmut Holzgraefe
9ebd037226
merged in imap_search() from the PHP3 tree
...
more ( like imap_lasterror() ) will follow
1999-12-17 18:30:06 +00:00
Andrei Zmievski
8f17fbb900
Added get_loaded_extensions(), extension_loaded(), and
...
get_extension_funcs() functions.
@ Added get_loaded_extensions(), extension_loaded(), and
get_extension_funcs() functions. (Andrei)
1999-12-16 23:47:10 +00:00
Sam Ruby
5da8a25c5c
force ext/java to be built as a shared library
1999-12-16 17:15:02 +00:00
Uwe Steinmann
3c700f9260
switched to Ex Api
1999-12-15 19:10:54 +00:00
Uwe Steinmann
1ccad1ab7d
fixed some compile errors.
1999-12-15 15:27:51 +00:00
Evan Klinger
4e86f5d754
Ex API
1999-12-15 05:21:28 +00:00
Evan Klinger
5ca6da5ae8
I would've compiled first, I swear...
1999-12-15 03:51:25 +00:00
Evan Klinger
bc7b3fc745
Ex API
1999-12-15 03:46:00 +00:00
Andrei Zmievski
1be7a8d461
Moved function_exists() to Zend library.
1999-12-14 22:15:55 +00:00
Danny Heijl
88892c6792
(bcmath) Name of header changed from php3 to php but include forgotten.
1999-12-14 21:44:35 +00:00
Joey Smith
7dfeb4fd21
# Added date/time stamping to php3_log_error
...
@ Preliminary support for date/time stamping in error logs
Preliminary support for date/time stamping in error logs
1999-12-14 18:37:14 +00:00
Uwe Steinmann
7af301be55
always check if output is ok after php3_header()
1999-12-14 12:50:21 +00:00
Mark Musone
32486ef0b3
whoops..need to allow 7 parameters also
1999-12-14 06:22:41 +00:00
Thies C. Arntzen
1cad06afda
(getimagesize) grrr, fixed newly (30 min ago) introduced NPR
1999-12-14 04:32:54 +00:00
Thies C. Arntzen
ad764253ca
use ex-API
1999-12-14 04:10:01 +00:00
Thies C. Arntzen
6553540153
@- implemented count_chars(). (Thies)
1999-12-14 03:52:12 +00:00
Thies C. Arntzen
8267934235
use ex-API
1999-12-14 03:49:42 +00:00
Thies C. Arntzen
d90daba134
use _ex-API
1999-12-14 03:48:46 +00:00
Andrei Zmievski
8ebba516a3
Boo.
1999-12-14 03:25:04 +00:00
Andrei Zmievski
a15916a47a
Made strspn() and strcspn() binary-safe.
...
# Please test if you can, especially cases with embedded chr(0).
@ Made strspn() and strcspn() binary-safe.
1999-12-13 23:40:36 +00:00
Andrei Zmievski
457a13dac5
Finished array_multisort() function. Basically it sorts multiple arrays
...
similar to ORDER BY SQL clause.
@ Added array_multisort() function. (Andrei)
# Docs are coming soon
1999-12-13 19:42:26 +00:00
Sascha Schumann
e911ee38bd
Make rand.c thread-safe.
1999-12-13 18:31:29 +00:00
Sascha Schumann
75db7e91c6
(_ps_files_path_create) terminate string correctly and append the whole key instead of the rest key
1999-12-13 15:55:49 +00:00
Sascha Schumann
61a6a92618
Make filestat.c thread-safe
1999-12-12 16:48:54 +00:00
Sascha Schumann
d9258da42e
@- Made pageinfo.c thread-safe (Sascha)
1999-12-12 16:14:40 +00:00
Sascha Schumann
1627a57d96
Remove trailing white-spaces
1999-12-12 14:22:55 +00:00
Sascha Schumann
996216b499
Add cache_limiter and cache_expire options. Rename extern_referer_check
...
to referer_check.
1999-12-12 14:16:55 +00:00
Sascha Schumann
5928624a1c
Kill a warning
1999-12-12 11:02:24 +00:00
Sascha Schumann
ecb6e75add
Initialize variables
1999-12-12 11:02:07 +00:00
Sascha Schumann
0233d7cf82
Initialize value properly
1999-12-12 10:55:27 +00:00
Sascha Schumann
db27dadf27
Call SLS_FETCH() only, if it is needed
1999-12-12 10:53:45 +00:00
Sascha Schumann
58a33274c9
Make it compile in ZTS mode
1999-12-12 10:51:44 +00:00
Sascha Schumann
9279df2025
Include header file for php_file_le_fopen()
1999-12-12 10:51:13 +00:00
Sascha Schumann
9278d9d911
Remove unnecessary ARRAYLS_FETCH() calls
1999-12-12 10:50:30 +00:00
Andrei Zmievski
dbaf6c5c65
Added array globals in preparation for multisort() changes.
1999-12-11 22:42:01 +00:00
Andrei Zmievski
0c779c51c9
(PHP php_implode) Made binary-safe.
...
@ Made implode() binary-safe (Andrei)
1999-12-11 20:00:40 +00:00
Andrei Zmievski
33d82cb6d1
get_meta_tags() was using php_stristr() so it needed to be changed.
...
Optimized it to use php_memnstr() directly.
1999-12-11 19:51:04 +00:00
Andrei Zmievski
17ff0f3af3
Made strstr(), stristr(), and ucwords() binary-safe(). Also corrected
...
stristr() behavior to match that of strstr() if needle is not a string.
@ Made strstr(), stristr(), and ucwords() binary-safe() (Andrei)
1999-12-11 19:50:01 +00:00
Andreas Karajannis
4bd855e69f
Don't include functions not supported by Solid
1999-12-11 10:56:42 +00:00
Andrei Zmievski
2b2e6ff6cb
Fixed #2952 .
1999-12-10 14:27:19 +00:00
Andrei Zmievski
d18ff45c4c
A few more fixes for php_strtolower().
1999-12-10 04:44:32 +00:00
Andrei Zmievski
7e4bd9fb60
(PHP strtoupper, strtolower, substr_replace) Made binary-safe.
...
@Made strtoupper(), strtolower(), substr_replace() binary-safe. (Andrei)
1999-12-09 23:45:30 +00:00
Sascha Schumann
2a794e8205
(php_set_session_var): logic fix:
...
gpc_globals set? Add it to the global symbol table
track_vars set? Add it to the HTTP_STATE_VARS array
1999-12-09 18:57:57 +00:00
Thies C. Arntzen
0489895d0b
(unserialize) closed mem-leak
1999-12-09 11:24:51 +00:00
Thies C. Arntzen
99b5652f40
small cleanups in MINIT code
...
OCIInitialize is now called at the "right" spot again
1999-12-09 11:02:41 +00:00
Nick Gorham
25096ac9e9
Report all ODBC error's not just the top of the stack
1999-12-09 09:59:17 +00:00
Uwe Steinmann
ec7088e1df
- improved configuration due to compile problems which suddently show up
1999-12-09 07:15:36 +00:00
Zeev Suraski
e19e57d2f7
- Use Set-Cookie for consistency with SetCookie() (and possibly for adherence with
...
with some clients?)
- Remove unnecessary directive from configuration-parser.y
1999-12-08 22:22:20 +00:00
Sascha Schumann
01c7fc6c8f
Use global ctor in non-ZTS mode as well
1999-12-08 19:07:58 +00:00
Thies C. Arntzen
276c0a378d
(unserialize) now cleans up better on failure!
1999-12-08 14:40:46 +00:00
Thies C. Arntzen
f7089e600f
make non-ZTS happy again
1999-12-08 14:18:28 +00:00
Thies C. Arntzen
40340b5aa0
@- OCI8 now returns NULL values in LONG columns correct. (Thies)
1999-12-08 14:04:55 +00:00
Thies C. Arntzen
19023f3a05
ZTS compile fixes
1999-12-08 11:48:10 +00:00
Thies C. Arntzen
5fad6deb65
this is the "right" ZTS-fix
1999-12-08 11:47:50 +00:00
Sam Ruby
b9f27a4743
Fill in empty constructor in order to appease Sascha ;-)
...
More seriously, uninitialized values cause MSHUTDOWN to trap.
Only an issue because assert was added to internal_functions.
1999-12-07 21:07:42 +00:00
Thies C. Arntzen
7b7192dda3
added assert.quiet_eval plus a bit of cleaning (docs to follow!)
1999-12-07 16:45:46 +00:00
Sam Ruby
8fdd352404
fixed just enough to enable assert to build on win32 and Linux/ZTS
1999-12-07 16:28:27 +00:00
Andrei Zmievski
4f52bab52f
Need to check for __inet_aton on Solaris.
1999-12-07 16:26:42 +00:00
Thies C. Arntzen
f02f67e83c
fixed NPR
1999-12-07 13:33:37 +00:00
Thies C. Arntzen
ccb7e4fa03
the order *does* matter!
1999-12-07 13:11:19 +00:00
Thies C. Arntzen
2f7693963d
@- Added support for a C-like assert() function. (Thies)
1999-12-07 13:08:17 +00:00
Thies C. Arntzen
19ce7e05db
getting there
1999-12-07 12:33:36 +00:00
Thies C. Arntzen
a807dd31e9
new assert() module. (Not yet finished!)
1999-12-07 11:37:30 +00:00
Uwe Steinmann
512c641794
- Several small corrections, typos, ...
1999-12-07 10:49:19 +00:00
Thies C. Arntzen
5cdb16ad09
(explode) fixed newly introduced bug (them shall check twice *before* committing!)
1999-12-07 08:14:00 +00:00
Evan Klinger
1fe899d8cd
Mention CyberCash.
1999-12-07 02:49:03 +00:00
Sam Ruby
e3cbafdda6
-kludges -warning +reentrancy(more) +compiles(Unix)
1999-12-07 02:47:35 +00:00
Evan Klinger
091c58f734
More clean up.
1999-12-07 02:26:51 +00:00
Evan Klinger
76207d5de8
Now it compiles - couldn't find lib before.
1999-12-07 02:02:05 +00:00
Evan Klinger
998a9ed0ff
Eliminate some warnings.
1999-12-07 01:41:25 +00:00
Evan Klinger
540f780735
Minor changes and clean up.
1999-12-07 01:17:25 +00:00
Evan Klinger
0d993a8c42
@- Added CyberCash support. (Evan)
...
CyberCash support.
1999-12-07 00:56:25 +00:00
Zeev Suraski
40eb2bb5b0
First step in making parsedate.y thread safe - use a pure parser
1999-12-06 19:04:01 +00:00
Thies C. Arntzen
beb9723617
fixed warning
1999-12-06 19:01:21 +00:00
Thies C. Arntzen
1095f8a502
@- explode() is now binary-safe. (Thies)
...
we save one buffer-copy as well (hehe)
1999-12-06 18:29:22 +00:00
Thies C. Arntzen
db3cf21e55
@- strpos() is now binary-safe. (Thies)
1999-12-06 17:37:59 +00:00
Andrei Zmievski
a9a5f24029
Add another item.
1999-12-06 16:41:55 +00:00
Zeev Suraski
02d76f8b86
This is no longer needed. Note that we'll always need to undefine YYSTYPE, since
...
the template bison generated .h file defines it if it's not already defined.
1999-12-06 15:34:05 +00:00
Thies C. Arntzen
5201f90588
removed unneded CLS_FETCH()
1999-12-06 13:08:16 +00:00
Sam Ruby
7ae5d271b6
build error: wrong num parms to date_parse
1999-12-06 05:28:26 +00:00
Sam Ruby
0d7c37b0bf
first pass at method overloading
1999-12-06 05:00:40 +00:00
Sascha Schumann
e793b11363
Give it a nicer looking module name
1999-12-05 23:38:25 +00:00
Sascha Schumann
d24a718b57
php3_* => php_*
1999-12-05 23:12:00 +00:00
Sascha Schumann
6d4c75202c
Create helper library during configure time
1999-12-05 23:11:38 +00:00
Evan Klinger
2e7c800e06
Revert changes.
1999-12-05 22:19:13 +00:00
Evan Klinger
9d975ee69e
@- Fix Informix compile (Evan)
...
Fix --with-informix. Was adding wrong library.
1999-12-05 22:14:01 +00:00
Egon Schmid
6f41683925
Thies, can you provide some docs? I need something to show to my German translators.
...
Is the &obj correct?
1999-12-05 16:59:15 +00:00
Thies C. Arntzen
f17f3e4fa1
@- added XML_Set_Object() function, now you can use the XML-Parser from
...
@ within an object. (Thies)
(XML_Set_Object) new function.
1999-12-05 16:43:42 +00:00
Sascha Schumann
4a60eed469
Fix some warnings
1999-12-05 16:25:32 +00:00
Rasmus Lerdorf
dfd0f8824c
More maintainer-mode cleanups
1999-12-05 14:16:37 +00:00
Rasmus Lerdorf
ca362445c4
Fix a maintainer-mode warning
1999-12-05 13:41:42 +00:00
Stig Bakken
ae1b7bf4b8
@Fix warnings compiling in maintainer mode. (Stig)
...
Fix warnings compiling in maintainer mode.
Install DB/common.php and DB/mysql.php on "make install".
# We still have a warning from http_config.h:97. Rasmus? :-)
1999-12-05 10:29:06 +00:00
Stig Bakken
0dd9658485
#if -> #ifdef change for HAVE_LIBDL (to be consistent with the same symbol
...
in libzend).
1999-12-04 20:55:33 +00:00
Andrei Zmievski
0d885602f4
Cast val to (char *) to avoid compile warning.
...
Forgot ; at the end and need to derefence the ent pointer.
1999-12-04 19:46:12 +00:00
Sascha Schumann
5b983c944f
Clean up php3.*\.h files. The files itself are renamed, and references in all
...
.*\.[ch] files were changed. There is a slight chance that my script missed
a few changes, please correct them manually.
1999-12-04 19:19:57 +00:00
Andrei Zmievski
43047fdca6
(php_set_session_var) Initialize the refcount here.
1999-12-04 18:56:17 +00:00
Sascha Schumann
7532393c1a
ZTS fixes
1999-12-04 18:40:06 +00:00
Sascha Schumann
4993f93c7c
Remove custom LDFLAGS/LIBS changes
1999-12-04 18:30:53 +00:00
Andrei Zmievski
7347ca9a08
(PHP session_register) Correct calling convention.
1999-12-04 17:05:45 +00:00
Andrei Zmievski
20190c966d
Session variables now obey track_vars and gpc_globals settings.
...
If track_vars is on then decoded variables appear in $HTTP_STATE_VARS
array. If gpc_globals is on, then session vars are decoded into global
variables. If both are on, then globals and $HTTP_STATE_VARS contents
are references to each other.
The /decoder functions now just need to call php_set_session_var()
this behavior.
@ -Session vars are now decoded into $HTTP_STATE_VARS[] array and the
@ globals, depending on track_vars and gpc_globals settings (Andrei)
# Encoding source is currently only globals. We may want to change this
# in the future.
1999-12-04 17:02:04 +00:00
Stig Bakken
8f91051dda
Fix shared mode for gd/xml/mysql extensions.
1999-12-04 14:45:38 +00:00
Sascha Schumann
b978a64ebb
Check for htonl in libsocket (sol251), and move inet_aton check in libbind to configure.in, so that our later AC_CHECK_FUNCS(inet_aton) will find inet_aton in libbind (if it is there).
1999-12-04 13:16:04 +00:00
Thies C. Arntzen
f6e8a597a9
fixed tiny leak
1999-12-04 12:06:32 +00:00
Sam Ruby
70b97864f8
windows build errors
1999-12-03 20:08:24 +00:00
David Hedbor
b40afedd7e
Added credit notes for Roxen SAPI module
1999-12-03 17:10:18 +00:00
Andrei Zmievski
99df46fa62
Include errno.h.
...
# Please try compiling before committing
1999-12-03 17:05:23 +00:00
Sascha Schumann
2e024a0005
Improve locking when O_EXCL is available
1999-12-03 16:19:38 +00:00
Sascha Schumann
1a77231633
PHP_BUILD_* m4 macros are not intended to be used by extensions.
...
If you want to tell the user that the current choice of a specific SAPI
module is bad, check $php_build_target.
1999-12-03 15:28:51 +00:00
Sascha Schumann
7c209d774c
Use socklen_t where appropiate
1999-12-03 14:57:29 +00:00
Stig Bakken
a8f71d621f
Add configure command to phpinfo() output (Stig)
1999-12-03 13:31:41 +00:00
Sascha Schumann
992eb497bf
Add configure stuff
...
(note that --with-xxx should be only used, if it references something
external.)
1999-12-03 13:24:30 +00:00
Sascha Schumann
401580a716
Add posix module
1999-12-03 13:13:48 +00:00
Sam Ruby
1e13f0fd20
Support DATE_to_pval and DISPATCH_to_pval
1999-12-03 02:25:22 +00:00
Rasmus Lerdorf
67f4cfe1aa
@ Add optional socket path to the mysql_?connect() functions
1999-12-02 19:09:01 +00:00
Stig Bakken
7e9a1bc5e7
Back out PIC/COMPILE_DL hack from gd/mysql.
1999-12-01 23:14:54 +00:00
Stig Bakken
2467dd6d05
@Fix some warnings when compiling in maintainer-mode (Stig)
...
@Made mysql and gd work as shared extensions again (Stig)
- Fixed some warnings in maintainer-mode.
- Made mysql and gd work as shared extensions again by defining
COMPILE_DL if PIC is defined.
# We need a better solution for building .so extensions than this
# PIC/COMPILE_DL hack!
1999-12-01 22:59:45 +00:00
Zeev Suraski
15d47e551a
Test commit, ignore
1999-12-01 21:30:45 +00:00
Zeev Suraski
3467337217
@- Made the GET/POST/Cookie and their HTTP_*_VARS[] counterparts be references
...
@ to each other (Zeev)
1999-12-01 21:29:09 +00:00
Zeev Suraski
d6fd485692
@- Make the global GET/POST/Cookie variables and their $HTTP_*_VARS[] counterparts
...
@ be references to each other (Zeev)
1999-12-01 20:42:56 +00:00
Sascha Schumann
3b515617a4
Make array.c thread-safe
1999-12-01 17:21:52 +00:00
Sascha Schumann
94c36e8846
Make fsock module thread-safe
1999-12-01 17:07:25 +00:00
Sam Ruby
933c3121c5
libzend/zend_compile.h's #define YYSTYPE causes parsedate to barf on Windows
1999-12-01 14:24:45 +00:00
Thies C. Arntzen
126756d728
just a remark
1999-12-01 07:34:06 +00:00
Sascha Schumann
00f8f24d74
Avoid Apache's regex.h, if system regex was chosen
1999-11-30 23:19:33 +00:00
Rasmus Lerdorf
b9e59b296d
# another oops
1999-11-30 22:54:16 +00:00
Rasmus Lerdorf
51572c2dcd
# Oops
1999-11-30 22:24:11 +00:00
Rasmus Lerdorf
3bbe1e6a55
Kill some warnings
1999-11-30 22:18:40 +00:00
Andi Gutmans
2337d110f9
- Added opened_path to php_fopen_wrapper() and the URL fopen wrapper (it's not
...
always properly set, it's a TODO for all of us). This enables us to implement
true 'use' support.
@- Added support for the 'use' keyword - behaves like 'require', but will not
@ use the same file more than once (Andi & Zeev, Zend library)
1999-11-30 20:18:11 +00:00
Nick Gorham
2df67b7c9e
Added check in the ODBC module that a connection is still valid before
...
reuse in a persistent connection.
1999-11-30 12:41:36 +00:00
Sander Steffann
fc56fc8ae0
Show some extra info for GD with phpinfo()
1999-11-29 23:21:52 +00:00
Sascha Schumann
5c0f205383
Clean up code
1999-11-29 23:07:20 +00:00
Sander Steffann
f0eebb3e58
Oops, forgot to check for GIF support. Fixed.
1999-11-29 21:26:52 +00:00
Danny Heijl
1bb69dcf2d
Typo
1999-11-29 20:04:02 +00:00
Sam Ruby
fd9265362c
Initial alpha-level of sapi/servlet. See README for details.
1999-11-29 15:36:25 +00:00
Sam Ruby
0383909477
Use thread-safe versions of localtime and gmtime on Win32 too
1999-11-29 14:04:16 +00:00
Stig Bakken
bd8b285a9e
@Added DBMaker support (patch by Pax Tsai <paxtsai@lion.syscom.com.tw>)
...
Added DBMaker support (patch by Pax Tsai <paxtsai@lion.syscom.com.tw>)
1999-11-29 00:45:28 +00:00
Andi Gutmans
0ab2c37540
- Add OLS_C so that we can call php_output_init_globals() with it.
1999-11-28 20:38:44 +00:00
Sascha Schumann
efddcd8313
Prevent mod_ssl's ap_hook.h from being included.
1999-11-28 17:09:59 +00:00
Rasmus Lerdorf
7cefad61ed
# check link() as well
1999-11-28 16:35:26 +00:00
Rasmus Lerdorf
6132f85c8d
(symlink) Disable symlinks to urls
...
@- Disable symlinks to urls
1999-11-28 16:23:30 +00:00
Danny Heijl
97a44d2643
(ext/informix/ifx.ec) Reflect ESQL/C version used (Danny)
...
@- Informix driver now reflects version of ESQL/C used (Danny)
1999-11-28 12:08:21 +00:00
Sascha Schumann
bad23a1286
Remove INCLUDES line from Makefile.am skeleton
1999-11-28 00:55:39 +00:00
Sascha Schumann
6216edda44
Make basic/string functions thread-safe
1999-11-28 00:31:02 +00:00
Sascha Schumann
883e219bef
ZTS fix
1999-11-28 00:13:46 +00:00
Sascha Schumann
77963c8d2b
Improved build (now sets also runtime library search paths, works
...
out-of-the-box with Apache)
1999-11-27 22:04:26 +00:00
Andrei Zmievski
10be07ab19
(PHP session_register) Modified to accept variable number of arguments,
...
any of which can be either string holding the variable name or an array
consisting of such variable names or other arrays.
1999-11-27 21:18:41 +00:00
Sascha Schumann
8573448db2
one tmbuf is enough
1999-11-27 21:18:01 +00:00
Andrew Skalski
ecc77c81cc
typecast void pointer to char* for pointer arithmetic
1999-11-27 20:58:33 +00:00
Jouni Ahto
3e8303abf0
Use thread-safe versions of localtime and gmtime
1999-11-27 20:51:17 +00:00
Sascha Schumann
b6e6dddc30
Only compile the scanner, if trans_sid is enabled
1999-11-27 16:15:35 +00:00
Sascha Schumann
1a851b5d03
Kill undefined reference
1999-11-26 22:37:45 +00:00
Sascha Schumann
9f386181f5
Undefine HAVE_PUTENV, if ZTS is used
1999-11-26 21:20:40 +00:00
Sascha Schumann
2ec047e1ec
Kill one race.
1999-11-26 21:04:40 +00:00
Sascha Schumann
f0187ef3c9
Use php_init_output_globals() also in non-ZTS mode
1999-11-26 18:34:27 +00:00
Sascha Schumann
a64691615a
Add/update copyright headers
1999-11-26 17:12:01 +00:00
Sascha Schumann
2f6ded9ac9
Convert more source files to use thread-safe functions
1999-11-26 16:51:57 +00:00
Sascha Schumann
1c6173619e
Use thread-safe versions of localtime and gmtime
1999-11-26 16:29:00 +00:00
Zeev Suraski
061cfea2ac
*** empty log message ***
1999-11-26 13:56:33 +00:00
Sascha Schumann
8696442671
(PHP_RINIT(session)) Never return FAILURE on trivial issues from a request
...
startup handler
1999-11-26 13:43:55 +00:00
Sascha Schumann
38819040b6
Replace strtok with strtok_r
1999-11-26 13:34:31 +00:00
Uwe Steinmann
7e3563c1c2
- changed encoding parameter of cpdf_set_font to string on advice from
...
fastio to better support asian fonts.
1999-11-25 07:00:27 +00:00
Uwe Steinmann
5d3ae9c2b2
- made domxml compile
1999-11-25 06:56:40 +00:00
Egon Schmid
4b8b9705e4
I'm dreaming that someone else can format this when he/she is looking at it.
1999-11-24 22:04:49 +00:00
Sander Steffann
0f7444c4a8
Some patched versions of GD support both GIF and PNG. The GD module now
...
checks for both instead of assuming that PNG support means that there is no
GIF support anymore.
1999-11-24 21:43:54 +00:00
Sander Steffann
9ed5ad0c58
Removed an empty -L from LDFLAGS which caused errors in configure when
...
running it with --with-gd (without path). Because of this configure detected
every GD as GD-1.2.
1999-11-24 18:50:10 +00:00
Sascha Schumann
d462115341
Killing some unused variable warnings
1999-11-24 17:56:31 +00:00
Egon Schmid
2671eaa33b
Descriptions should be different for different function names.
1999-11-24 12:10:15 +00:00
Uwe Steinmann
ad9b5927dc
- new xml parser with dom support
1999-11-24 06:21:48 +00:00
Evan Klinger
18fb96efb4
Freeing the memory would be a good idea...
1999-11-24 06:16:37 +00:00
Evan Klinger
633d18de0f
Can't forget fd_isset()
1999-11-24 03:47:58 +00:00
Evan Klinger
769e25e168
First attempt at fd_set() and select()
...
# Please test thoroughly
1999-11-24 03:05:10 +00:00
Zeev Suraski
db0fcc6d11
Use the unified notation...
1999-11-23 22:10:44 +00:00
Zeev Suraski
e9742f5458
Cosmetic changes
1999-11-23 21:08:51 +00:00
Evan Klinger
42f8f2516d
Convert to Ex API
...
# If someone could please check these I'd appreciate it
1999-11-23 06:46:40 +00:00
Sam Ruby
5385610450
errors during startup trap server
1999-11-23 03:10:46 +00:00
Zeev Suraski
9820dd0927
Fixed a leak when using automatic output buffering
...
@ Fixed a leak when using automatic output buffering (Zeev)
1999-11-22 20:58:56 +00:00
Frank M. Kromann
8aed1627c0
add MS SQL module to credit info
1999-11-22 19:10:14 +00:00
Frank M. Kromann
62ed6e2c06
Project changed to allow compilation for MS SQL 6.5 or 7.0
1999-11-22 19:01:00 +00:00
Uwe Steinmann
62f7420001
- port of clibpdf module based on ClibPDF 2.x.
...
This module is not tested yet, it just compiles.
I don't expect any real problem since the api hasn't changed.
ClibPDF 1.x isn't support anymore.
1999-11-22 15:28:26 +00:00
Evan Klinger
be6dde2639
Optimize a tiny bit
1999-11-22 02:38:00 +00:00
Evan Klinger
7bda9c0a2e
Optimize LDAP a little with Ex API
1999-11-22 02:31:32 +00:00
Sascha Schumann
11030ee410
(PHP urldecode) Fix for #2788 , function changed parameter in place
1999-11-21 20:08:43 +00:00
Thies C. Arntzen
5cc10ecec2
@- Fixed float-compare in min(),max(),a[r]sort(),[r]sort(). (Thies)
...
convert_to_long() after compare_function() destroys float-compares!
1999-11-21 17:13:39 +00:00
Egon Schmid
0929985414
Maybe later on today. Must buy some beer first.
1999-11-21 14:06:30 +00:00
Thies C. Arntzen
f24db304ee
@- Implemented get_html_translation_table() function. (Thies)
...
(PHP get_html_translation_table) new function.
1999-11-21 13:25:04 +00:00
Thies C. Arntzen
2451ff5368
@- Implemented array_flip() function. Returns input-array with key, value
...
@ flipped. (Thies)
(PHP array_flip) new function. no clash detection, only works for IS_STRING and IS_LONG datatypes in src-array.
1999-11-21 12:37:53 +00:00
Thies C. Arntzen
ee1380e6b0
-renamed some macros
...
-return_value_used now used in a few more functions
1999-11-21 12:13:44 +00:00
Thies C. Arntzen
9788129e0e
(PHP strtr) little smarter
1999-11-21 12:05:39 +00:00
Stefan Roehrich
afcd361117
Java module now works with Linux jdk 1.2pre2.
1999-11-21 10:45:01 +00:00
Rasmus Lerdorf
1831279f0c
# Fix ColorResolve bogosity
...
Fix gd problems
1999-11-21 04:07:56 +00:00
Sascha Schumann
9a047652cc
add Berkeley DB3 support
...
@- Added Berkeley DB3 support in DBA (Sascha)
1999-11-20 22:50:42 +00:00
Andrei Zmievski
90ecf41b19
(PHP substr_replace) Changed the order of the arguments.
1999-11-20 22:09:27 +00:00
Andi Gutmans
e4e8c3539f
- Changed path to MySQL library in Win32 project
1999-11-20 16:56:41 +00:00
Thies C. Arntzen
2013026c14
@- Implemented 2-Arg version of strtr($str,$translation_array). This can be used
...
@ to revert what htmlspecialchars() did. (Thies)
(PHP strtr) new 2-Arg version.
1999-11-20 15:53:18 +00:00
Andi Gutmans
9e26d8a3c9
- Fixed a typo in the name of the project file. It links now
1999-11-20 09:17:30 +00:00
Andi Gutmans
b89689f2ef
- More PGSQL thread-safe updates. It still doesn't work though. Crashes for
...
some reason at .dll load time
1999-11-20 01:14:36 +00:00
Andi Gutmans
0c65c8a23c
- Should pretty much work now
1999-11-20 01:04:45 +00:00
Andi Gutmans
770ef718c5
- Add project file
1999-11-20 00:45:44 +00:00
Andi Gutmans
cc3d636f66
- Start PostgreSQL support for Win32. Just added preliminary ZTS support.
...
Still need to make minit ZTS.
1999-11-20 00:30:08 +00:00
Andrei Zmievski
3ae0f5fdc4
(PHP preg_replace) Fixed a bug that cause backreferences to lose
...
their value after the first occurrence.
1999-11-19 22:59:12 +00:00
Andrei Zmievski
71a8c018cb
Fixed a bug that would replace only the first occurrence and result in
...
a parse error for the rest when using /e modifier.
1999-11-19 22:28:06 +00:00
Thies C. Arntzen
3e59135a5c
<sys/time.h> is needed on linux
1999-11-19 18:33:21 +00:00
Andi Gutmans
3bffcbef5b
- Add array.c to the Win32 project
1999-11-19 15:06:57 +00:00
Thies C. Arntzen
b712c9360d
@- Fixed mem-overwrite in XML_Parse_Into_Struct. (Thies)
...
(PHP xml_parse_into_struct) buffer was sometimes short by 1.
1999-11-19 14:11:15 +00:00
Zeev Suraski
1f41ddfe7f
Optimize a bit
1999-11-19 13:06:12 +00:00
Zeev Suraski
049b74b88f
Fix a bug in sybase_fetch_hash()
1999-11-19 13:00:57 +00:00
Andrew Skalski
0cb70ef9bb
Removed stdio wrapper from sockets; added timeouts to socket ops.
1999-11-18 20:29:32 +00:00
Sam Ruby
560c0c4308
arg! alphabetize correctly!
1999-11-18 03:03:24 +00:00
Sam Ruby
fd41750d87
add Java module to credit info
1999-11-18 02:40:52 +00:00
Sascha Schumann
abe0176840
(php_rinit_session): use post request startups to reenable session.auto_start
1999-11-17 22:59:27 +00:00
Andrei Zmievski
e46198bf7b
(PHP substr_replace) New function.
...
@- Added substr_replace() function. (Andrei)
1999-11-16 22:44:13 +00:00
Andrei Zmievski
61142e4341
Just some rearranging.
1999-11-16 20:14:55 +00:00
Andi Gutmans
9e14736315
- Change used_return_value to return_value_used
1999-11-16 19:12:29 +00:00
Andi Gutmans
7239aad9c4
- Initial support for Thies' idea of passing functions a flag telling them
...
they don't need to return a value. Adjusted reset() to work with this.
It is a bit problematic because if internal functions don't look at the
flag and still return a value orginally this leaked. So I free the value
in any case, which kind of makes the speed gain a bit smaller
1999-11-16 18:47:47 +00:00
Sascha Schumann
897127d44a
(php_minit_mcrypt): Also allow never versions of mcrypt
1999-11-15 00:27:47 +00:00
Sascha Schumann
d019ed533f
(php_minit_mhash): Don't use REGISTER_LONG_CONSTANT macro, because we
...
don't have a fixed size array of chars (this used to work nevertheless).
1999-11-15 00:26:35 +00:00
Sascha Schumann
b85f2cba43
(PHP mhash): don't segfault, if mhash_end() returns NULL
1999-11-14 23:11:31 +00:00
Sascha Schumann
13582b4fe2
Check for db1/ndbm.h and use it in db. Fixes #2647
1999-11-14 23:03:45 +00:00
Andi Gutmans
25c56d15cd
- Fixing warnings in regex
1999-11-14 20:13:54 +00:00
Thies C. Arntzen
2b08dfec28
(PHP k[r]sort) now use compare_function from libzend to be consistent with the language-core.
1999-11-14 19:59:52 +00:00
Thies C. Arntzen
4127b34a0a
@- ucfirst()/ucwords() no longer modify arg1. (Thies)
...
(PHP ucfirst,ucwords) no longer modify arg1
1999-11-14 17:20:56 +00:00
Thies C. Arntzen
f2b0c70512
@- Fixed strtr() not to modify arg1. (Thies)
...
(PHP strtr) no longer modifies arg1.
1999-11-14 15:34:50 +00:00
Danny Heijl
2327b6b954
(ext/informix) Added WIN32 build files for informix driver
...
and make it compile with ZTS
@ -Added Win32 build files for Informix driver
@ and make it compile with ZTS (danny)
1999-11-14 12:55:36 +00:00
Stig Bakken
5f8f410e51
@Added tmpfile() function (Stig)
...
Removed the mkstemp stuff and added tmpfile() function instead.
1999-11-14 11:05:37 +00:00
Andrei Zmievski
62eeb9278c
It's in array.c now.
1999-11-13 20:32:49 +00:00
Andrei Zmievski
438addf331
Split array functions into separate module.
1999-11-13 20:31:54 +00:00
Sascha Schumann
afc9e1257b
Suck in prototypes correctly with applied aliases
...
(otherwise php_reg* would not be prototyped)
1999-11-13 18:33:28 +00:00
Andi Gutmans
3c1b362235
- Make Win32 compile again
1999-11-13 18:03:07 +00:00
Sascha Schumann
bcb2214e99
Improve regex library selection. It lets user specify whether they want
...
system, apache, or php's regex library by using the --with-regex option.
"php" is the default; if you use --with-apache in combination with
Apache 1.3.x, the default is "apache".
1999-11-13 16:51:33 +00:00
Sascha Schumann
117ebf3ca6
- remove extra CPPFLAGS from top-level Makefile
...
- HSREGEX defaults to what the user wants, but can be changed now internally
1999-11-13 13:27:49 +00:00
Sascha Schumann
3dc7757a99
Remove the extra INCLUDES line from most automake Mafiles. This is not
...
necessary, because we can change the value of INCLUDES globally in one
place (configure.in).
Also add two defines in thread-safe mode
(_REENTRANT and POSIX_PTHREAD_SEMANTICS)
1999-11-13 12:41:09 +00:00
Sascha Schumann
ceae3847b8
Enable selective regex library compilation.
1999-11-12 20:56:30 +00:00
Sascha Schumann
6f57224890
upgrade regex library to alpha3.8
...
@- Upgraded regex library to alpha3.8 (Sascha)
1999-11-12 20:27:52 +00:00
Thies C. Arntzen
e20e9786b3
added missing function-alias
1999-11-12 17:05:57 +00:00
Thies C. Arntzen
d64e09a322
oops, didn't mean to activate this!
1999-11-12 14:34:50 +00:00
Thies C. Arntzen
e61fea3029
@- Fixed selecting nested-tables in OCI8. (Thies)
...
fixed mested-tables again (broke it when resourcified the driver)
1999-11-12 14:31:01 +00:00
Frank M. Kromann
3581f0d037
Fixing the use of mssql.textsize in pconnect()
1999-11-10 19:58:07 +00:00
Rasmus Lerdorf
7a4e1a9b0f
# Improve the GD lib detection when GD is on the ld_path and it is
...
# configure using just --with-gd
1999-11-10 19:22:35 +00:00
Rasmus Lerdorf
2de9baf655
This arg is optional
1999-11-10 18:57:19 +00:00
Rasmus Lerdorf
392659fabe
# Fix comments
1999-11-10 05:50:20 +00:00
Thies C. Arntzen
f6f74737d3
IRIX ld likes this order better
1999-11-09 19:48:56 +00:00
Stig Bakken
a5317327c7
- substitute JAVA_LFLAGS (not set, but used in libphp_java_la_LIBADD)
...
- add .cvsignore file
1999-11-09 17:32:05 +00:00
Rasmus Lerdorf
5c28619f51
Better lib detection for ucd-snmp
1999-11-09 16:01:31 +00:00
Rasmus Lerdorf
20c9a79432
Find ucd-snmp include files more intelligently
1999-11-09 15:55:37 +00:00
Stig Bakken
fd056d0c01
Clean up ODBC HAVE_XXX symbols, compile fixes for OpenLink and Solid.
...
#The Solid support still does not link, though (looks like a side-effect of
#the way the Solid libs are named and our stubborn friend libtool).
#This can wait until after 4.0b3.
1999-11-09 14:28:59 +00:00
Sascha Schumann
a4ff16dd68
- set default path for cookie to the root directory ("/")
...
- complete session documentation in php.ini-dist
1999-11-09 14:27:56 +00:00
Sascha Schumann
0c2e3e4e7d
Include proper header files (replacement functions were not used).
1999-11-09 13:57:11 +00:00
Stig Bakken
a14d96ef72
Fix OpenLink ODBC support
...
@Fix OpenLink ODBC support (Stig)
1999-11-09 13:31:16 +00:00
Sam Ruby
d17a12319f
@ Added Zend OO syntax overloading support for Java components
...
#
# My lawyer made me do this:
#
Users of PHP are hereby granted a non-exclusive, irrevocable, world-wide,
royalty-free, non-transferable license to use, execute, prepare derivative
works of, and distribute (internally and externally, and including derivative
works) the code accompanying this license as part of, and integrated into PHP.
WARRANTY OF ANY KIND EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
THE IMPLIED WARRANTY OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
AND ANY WARRANTY OF NON-INFRINGEMENT. THE ENTIRE RISK ARISING OUT OF THE USE
OR PERFORMANCE OF THIS CODE REMAINS WITH USERS OF PHP. The owner of this code
represents and warrants that it is legally entitled to grant the above license.
1999-11-09 12:02:22 +00:00
Stig Bakken
fdc6d630db
@Fix min/max behaviour (Thies)
...
#Andrei: I left the convert_to_long() in there, it doesn't really make
#much of a difference.
1999-11-09 07:59:50 +00:00
Jakub Skopal
ce8e31be71
"sybase" is definitelly six characters long :-)
1999-11-08 20:57:59 +00:00
Sascha Schumann
b87228e491
Remove prototype. The prototype was not necessary for UCD SNMP 3.5.3, and
...
broke the build for UCD SNMP 4.0.1.
1999-11-08 10:33:06 +00:00
Sascha Schumann
9738fdff44
Disable auto_start until we find a way to access the necessary data fields.
1999-11-06 10:14:36 +00:00
Zeev Suraski
0700ad3417
- Win32 fixes
...
- COM module improvements from Boris Wedl
1999-11-06 10:01:55 +00:00
Thies C. Arntzen
c6b05b2e6b
(PHP var_dump, serialize) now use php.ini's precision size when displying/serializing doubles
...
@- serialize() and var_dump() now honor the precision as set in php.ini
@ for doubles. (Thies)
1999-11-06 08:16:25 +00:00
Rasmus Lerdorf
84f8583426
We need to use mysql_field_count() instead of mysql_num_fields() if
...
we are using MySQL 3.22.24 or newer when we want to check a mysql struct
instead of a result struct. The reference is here:
http://www.mysql.com/Manual_chapter/manual_Clients.html#mysql_num_fields
1999-11-05 21:43:53 +00:00
Thies C. Arntzen
ce4f149734
(php3_sybase_get_column_content) initialize buffer before call to dbconvert()
...
@- Fixed garbage returned at the end of certain Sybase-Columns (Thies)
@ Patch submitted by: neal@wanlink.com
1999-11-05 08:48:09 +00:00
Andrei Zmievski
602cb959fc
(PHP multisort) More work, not yet done though.
1999-11-04 21:55:47 +00:00
Rasmus Lerdorf
0d5a9358f0
Try to avoid IBM/Berkeley DB2 confusion
1999-11-04 20:47:19 +00:00
Andi Gutmans
170db8b580
- Add include path. Used relative include path assuming php4 and bindlib_w32
...
are in the same directory.
1999-11-04 04:48:32 +00:00
Frank M. Kromann
e5ca107a3d
Adding MS SQL Server module for Win32
1999-11-03 20:35:58 +00:00
Evan Klinger
b1c4f8978d
#I hope this is the correct way to 'fix' this.
...
Fix compile warning
1999-11-03 02:53:52 +00:00
Sascha Schumann
358af8b9eb
Add <FORM ACTION=...> tag
1999-11-02 18:35:59 +00:00
Andrei Zmievski
f31c9d7d2a
Remove extraneous comment.
...
# Pay no attention to multisort() at the moment.
1999-11-02 14:39:12 +00:00
Evan Klinger
229a26a497
(PHP getprotoby{name,number}) New Functions
...
@- Implemented getprotoby{name,number} (Evan)
1999-11-02 03:47:09 +00:00
Andrei Zmievski
92f6a8b20e
Added array_pad() function.
...
# Ignore multisort() for now.
@- Added array_pad() function. (Andrei)
1999-11-01 20:51:04 +00:00
Chuck Hagenbuch
fa09e56a43
Trying to clean up the last of the body->id/body->description confusion.
1999-11-01 16:44:36 +00:00
Sascha Schumann
fb52cb2d30
Fix for #2631
1999-11-01 11:48:31 +00:00
Evan Klinger
f7440c020d
(PHP getservby{name,port}) New functions.
...
@- Added new getservby{name,port} functions. (Evan)
1999-11-01 01:07:51 +00:00
Sascha Schumann
093aaaa23e
Add missing initialization entry
1999-10-31 13:29:00 +00:00
Sascha Schumann
82798e99c8
Support current mcrypt. Tested with libmcrypt-2.2.4
1999-10-31 13:27:35 +00:00
Sascha Schumann
6a30ec5343
Change session.lifetime to session.cookie_lifetime. And:
...
@ - Added session.cookie_path and session.cookie_domain (Sascha)
1999-10-31 13:26:40 +00:00
Rasmus Lerdorf
5a391e843a
typing in the dark
1999-10-30 14:26:42 +00:00
Rasmus Lerdorf
3bfc215091
Damn, can't see underscores correctly on this silly terminal I am on
1999-10-30 14:24:36 +00:00
Rasmus Lerdorf
cf0868fec8
Clean up regex header file mess. php.h now explicitly includes php_regex.h
...
and php_regex.h figures out which regex header files to include and
defines symbols that prevents other stuff from including the wrong versions
of regex header files.
1999-10-30 14:22:10 +00:00
Rasmus Lerdorf
5175c71cc0
Fix typo found by hholzgra@media-engineering.de
1999-10-29 21:00:43 +00:00
Rasmus Lerdorf
f160ee8782
Kill the regex header file warnings
1999-10-29 17:33:19 +00:00
Rasmus Lerdorf
990d5d72ea
(IBM DB2 Support) Fix stuff to allow IBM DB2 to work with PHP 4.
...
Tested against DB2 6.1 UDB on Linux (RH-6.0)
@- Enable IBM DB2 support - Tested against DB2 6.1 UDB on Linux (RH-6.0)
1999-10-28 20:33:43 +00:00
Andrei Zmievski
e921d0feab
Fix bug #2623 .
1999-10-28 16:41:17 +00:00
Andrei Zmievski
b8ecfa18c1
(PHP str_repeat) New function.
1999-10-27 22:06:05 +00:00
Thies C. Arntzen
ea880d2b86
moved output.c into ext/standart and made it thread-safe.
...
moved output-buffering related functions from basic_functions to output.c
Win32 project need to be updated to reflect new position.
# i'm not really happy with this solution, but it seemed the easiest one!
# the whole output code is a bit hard to understand...
@- Output-Buffering system is now Thread-Safe. (Thies)
1999-10-27 18:30:41 +00:00
Thies C. Arntzen
c171eecd7a
@- implemented OCI8 $lob->WriteToFile() function - very useful for streaming
...
@ large amounts of LOB-Data without to need of a huge buffer. (Thies)
1999-10-27 17:51:22 +00:00
Andrei Zmievski
1a2f656816
Forgot to remove function entry.
1999-10-27 02:19:53 +00:00
Thies C. Arntzen
6b69ebf2b8
eliminated warinigs
1999-10-26 20:09:59 +00:00
Andrei Zmievski
21ce8b7c64
(PHP array_map) Away with it.
1999-10-26 19:57:10 +00:00
Thies C. Arntzen
5d70df50ba
added some more options
1999-10-25 08:23:54 +00:00
Thies C. Arntzen
31b1a8fc7f
kill warning
1999-10-24 18:16:16 +00:00
Thies C. Arntzen
6581d11cea
folding fix (xemacs 21 loads the file again;-)
1999-10-24 18:15:42 +00:00
Sascha Schumann
387f15d895
Define USE_BCOPY, if memmove is not found (i.e. SunOS 4). Fix for #2480
1999-10-24 16:41:07 +00:00
Sascha Schumann
51ea5cc70a
(PHP session_register, session_unregister) always return true
1999-10-24 16:17:45 +00:00
Thies C. Arntzen
a9dcde33e2
one can now use callbacks for custom completion functions (still work-in-progress)
1999-10-23 17:36:45 +00:00
Sascha Schumann
23882d31c4
Add session.use_cookies option
1999-10-22 08:10:08 +00:00
Thies C. Arntzen
3e307aacc4
unserialize no longer complaints about unserializing empty-strings (started that just a few days ago)
1999-10-22 06:59:05 +00:00
Sascha Schumann
e9fc8bb300
Add <AREA HREF=...
1999-10-21 20:22:12 +00:00
Sascha Schumann
31f38edf35
(_ps_files_valid_key): small logic fix
1999-10-21 18:51:57 +00:00
Uwe Steinmann
01400c0c15
Added hw_mapid(), read comment in hg_comm.c
1999-10-21 15:15:27 +00:00
Sascha Schumann
4703eb404d
(_ps_files_open): evaluate key (session id) before path creation
1999-10-21 12:28:36 +00:00
Andi Gutmans
8a3e0ced12
- Make COM compile again
1999-10-20 19:16:17 +00:00
Andi Gutmans
5212b2fe5b
- Make CVS compile on Win32.
...
- Rename php3_COM.h -> php_COM.h
1999-10-20 18:09:44 +00:00
Thies C. Arntzen
33ebd52387
(PHP getcwd()) added, needs to porting to Win32
...
@- added getcwd() function. (Thies)
# as we do have chdir() now we have getcwd() - i think we *should* restore the
# working directory in RSHUTDOWN!
1999-10-20 16:17:30 +00:00
Sascha Schumann
df6d06def4
(_display_module_info): Add anchor for module names
1999-10-20 16:16:58 +00:00
Thies C. Arntzen
604c14ab00
(PHP xml_parse_into_struct) sometimes the value was truncated
...
@- XML_Parse_Into_Struct no longer eats data. (Thies)
1999-10-20 14:58:03 +00:00
Thies C. Arntzen
41b87a238e
(PHP var_dump, serialize) fixed mem_leak.
1999-10-20 14:34:16 +00:00
Thies C. Arntzen
c799969a81
(PHP xml_parse_into_struct): fixed mem-leak when encountering invalid XML.
1999-10-20 14:02:32 +00:00
Andrei Zmievski
ee6c1ea743
(PHP extract): Fixed bug that would mess up global and referenced
...
variables in certain cases.
1999-10-19 14:43:48 +00:00
Andrei Zmievski
f3127955ba
(PHP ldap_get_entries): Fix string function name.
1999-10-19 14:42:54 +00:00
Uwe Steinmann
24d2325ecb
- some tiny changes to possible improve link extraction/insertion of HTML-docs
1999-10-19 13:54:45 +00:00
Thies C. Arntzen
578c6035c8
(parse_url) fix for #2569 : parse_url('-') crashes
...
@- Fixed parse_url('-') crash. (Thies)
1999-10-19 11:02:05 +00:00
Egon Schmid
4fe14a780c
More forgotten prototypes.
1999-10-18 20:00:42 +00:00
Thies C. Arntzen
4f013f8e2d
@- unserialize() now gives a notice when passed invalid data. (Thies)
1999-10-18 17:46:33 +00:00
Thies C. Arntzen
cf1134787a
(PHP unserialize) - fixed mem-leak.
1999-10-18 15:03:29 +00:00
Sascha Schumann
51b1d2af6a
Add PNG support. Tested with gd 1.7.3.
1999-10-17 14:57:49 +00:00
Egon Schmid
515206ec4e
Looks better, but isn't wrong
1999-10-17 08:07:50 +00:00
Egon Schmid
6025dd0bda
One typo corrected.
1999-10-17 07:38:35 +00:00
Andrei Zmievski
d8868ab205
Fix bug #2548 .
1999-10-17 00:20:17 +00:00
Andrei Zmievski
9e0017536d
_php3/_php3i -> php rename
1999-10-16 16:35:20 +00:00
Andi Gutmans
ad84f02efb
- Get windows version to compile again. No biggy if array_map is not #if 0'd
...
out even if it doesn't work.
1999-10-16 10:14:47 +00:00
Andrei Zmievski
e74d81f2ed
*** empty log message ***
1999-10-15 22:04:59 +00:00
Andrei Zmievski
0a829ab104
(PHP array_map) Temporarily #if 0 this.
1999-10-15 21:24:15 +00:00
Andrei Zmievski
ce1f3a7d83
Make string copying a little more efficient.
1999-10-15 20:36:10 +00:00
Andrei Zmievski
22fb5f281a
Renamed a couple of functions to have proper php_ prefix.
1999-10-15 20:04:31 +00:00
Andrei Zmievski
c671332b29
Massive change of zend_error() to php_error().
1999-10-15 19:37:44 +00:00
Andrei Zmievski
738c36932a
@- Fixed shuffle() so that it no longer breaks on Solaris. (Andrei)
1999-10-15 19:25:27 +00:00
Thies C. Arntzen
ac997bb6c2
(is_resource, is_bool) new functions
...
@- Added is_resource(), is_bool() functions. (Thies)
1999-10-15 18:15:02 +00:00
Andrei Zmievski
d3a39771c1
(_php_replace_in_subject)
...
(PHP preg_replace):
Fixed a bug that happened when regex was an array and replacement was a
single non-string value. Also changed conversions to use
convert_to_string_ex().
(PHP preg_grep): use convert_to_string_ex() for proper conversion
1999-10-15 16:57:54 +00:00
Thies C. Arntzen
b5c3c7bfc9
files are now resources, file.c is thread-safe, the le_ vars are no longer shared,
...
but they are accessible thru "php_file_le_socket(), php_file_le_uploads()..."
i also updated the ftp, pdf and file-upload stuff to match the new requirements.
@- Cleaned up File-Module (Thies)
1999-10-15 15:22:25 +00:00
Andrei Zmievski
d69d118cbd
(PHP implode): Properly separate zval for another case.
1999-10-15 14:53:56 +00:00
Zeev Suraski
231fe2e1aa
That should do the trick - fix implode() not to modify its arguments
1999-10-15 14:45:54 +00:00
Zeev Suraski
9295bd2577
Make ODBC work under Win32
1999-10-15 12:28:20 +00:00
Andi Gutmans
4a8cac0878
- Converted math.c to use new convert_to_number_ex() macro.
1999-10-15 06:31:40 +00:00
Thies C. Arntzen
185d90fe22
configure works for me (RH 6.1)
...
@- Added readline support. Works *only* in standalone mode! (Thies)
1999-10-14 16:53:51 +00:00
Thies C. Arntzen
1d9584c087
interface to GNU-Readline! (not yet active, autoconf needs to be done)
...
very neat - but only usable in standalone (command-promt) mode!
1999-10-14 15:20:40 +00:00
Thies C. Arntzen
e2d66a6d28
new api fo dl() - renamed php3_dl to php_dl (added compat header)
1999-10-13 19:55:25 +00:00
Thies C. Arntzen
f5fa29184c
(PHP: htmlspecialchars, htmlentities): new zend-api for html-function (not worth mentioning in NEWS)
1999-10-13 19:51:11 +00:00
Thies C. Arntzen
8bafcd3aa7
@- Upgraded math-funtions to use new Zend function API (Thies)
1999-10-13 19:43:36 +00:00
Thies C. Arntzen
e6ffafa264
(shell_exec) use pclose for FILE* that has been opened via popen!
...
@- Fixed zombie problem in shell_exec() and $a = `some_command`
@ constructs. (Thies)
1999-10-13 14:01:47 +00:00
Thies C. Arntzen
0cc1641447
starting to clean-up/new API'ize and resourcify the file-stuff - nothing happened yet - just renaming things around.
1999-10-12 18:50:05 +00:00
Danny Heijl
4fe8a2c1bd
(Informix driver) Thies introduced ZEND_FETCH_RESOURCE2 (Danny).
...
@- Thies introduced ZEND_FETCH_RESOURCE2 (Danny).
1999-10-12 17:38:19 +00:00
Thies C. Arntzen
a02ac0c1fc
(wddx_add_vars) adjusted to new resource-API
1999-10-12 15:23:59 +00:00
Thies C. Arntzen
7dfbf440ef
(php sybase_close) fixed obvious bug.
1999-10-12 15:00:10 +00:00
Thies C. Arntzen
86bb3fa0c0
new improved resource-API (i hope everything still compiles)
1999-10-12 14:53:15 +00:00
Andrei Zmievski
9e773dfde2
Modified sorting functions to use updated zend_hash() prototype.
1999-10-11 21:42:42 +00:00
Danny Heijl
e1b77165c9
*** empty log message ***
1999-10-11 16:54:41 +00:00
Danny Heijl
c72b97bf5b
(ext/informix) Changed ifx.ec to use the new high-performance
...
ZEND API now that it compiles with libtool. (Danny)
@- Informix driver : Changed ifx.ec to use the new high-performance
@ ZEND API. (Danny)
1999-10-11 15:56:01 +00:00
Danny Heijl
f2939ffadd
(configure) Allow IFX_LIBDIR environment variable to specify the
...
Informix library path to allow linking with the static
libraries (libtool related). (Danny).
@- IXF_LIBDIR environment variable specifies alternate Informix library
path for configure (Danny).
1999-10-11 11:53:09 +00:00
Sascha Schumann
ee06ab4069
Add stub.c for helper library.
1999-10-10 17:15:19 +00:00
Sascha Schumann
7573b236ea
Workaround for Informix set of libraries. One library depends on
...
another "library" (an object file). We build a standard library
out of this object here, so that we can link it in at the right place
later.
1999-10-10 17:12:23 +00:00
Sascha Schumann
00bcd72637
Remove -DPIC preprocessor macros. This is defined by libtool
...
automatically, if a shared library is built. This would lead
to multiple definitions of get_module(). If you want to build
modules, add -DCOMPILE_DL to your CFLAGS.
1999-10-10 12:41:56 +00:00
Sascha Schumann
594f61521b
Link in IFX_LIBS properly.
1999-10-10 12:10:41 +00:00
Sascha Schumann
8090041fbb
POSIX_MISTAKE is enabled by default.
1999-10-09 16:44:39 +00:00
Andreas Karajannis
05ed227dde
Forgot to remove workaround for SQLANY_BUG which is no longer needed
1999-10-08 19:43:27 +00:00
Andreas Karajannis
2051682665
Moved Environment handle to connection struct for thread safety
1999-10-08 19:35:50 +00:00
Jouni Ahto
cfd2a241da
Added the files for t1lib support. No porting from PHP3 done yet.
1999-10-08 07:56:43 +00:00
Jouni Ahto
379889339f
(PHP gmmktime) Should now give right values. Note that there was never need for
...
the acrobacy adjusting the time for GMT. mktime() fills
tm_gmtoff with just the right offset to add.
@- Fixed gmmktime() so that the following should always be true:
gmmktime([args]) == mktime([args]) + date('Z', mktime([args])) (Jouni)
# Heh, conforming to the rules anyway...
1999-10-08 03:08:44 +00:00
Jouni Ahto
9109d8dcdd
(PHP setlocale) Locale settings are now correctly restored to the values
...
set in environment at request shutdown.
@- setlocale doesn't anymore screw up things if you forgot to change it back
to the original settings. (Jouni)
# Trying to conform to the rules set up by Andrei. Let's hope this works.
1999-10-08 02:10:57 +00:00
Sascha Schumann
36ff78d232
Add help to get people started.
1999-10-07 19:53:20 +00:00
Andreas Karajannis
6cd07c5165
Made henv a real global var. Seems to work basically when multithreaded
1999-10-07 18:49:41 +00:00
Uwe Steinmann
60b2d65b2b
- new functions pdf_get_font, pdf_get_fontsize, pdf_get_fontname
1999-10-07 16:00:48 +00:00
Andrei Zmievski
ac4a798570
Put PLS_FETCH() in the correct place.
1999-10-07 14:00:18 +00:00
Andrei Zmievski
718351f882
Ignore generated files.
1999-10-07 13:53:35 +00:00
Thies C. Arntzen
2148fe61a0
fix ZTS compile
1999-10-07 12:49:25 +00:00
Thies C. Arntzen
b311342faf
fixed hopefully last XML problem. that one was hard!
1999-10-07 12:27:40 +00:00
Thies C. Arntzen
b6a90547f6
compiles again - and gets compiled
1999-10-07 10:56:04 +00:00
Andrei Zmievski
8959144837
Move random functions related defines into its own header file.
1999-10-06 16:34:36 +00:00
Sascha Schumann
bf61827518
Fix "make clean". automake does not define an extra target for clean.
1999-10-06 14:41:36 +00:00
Sascha Schumann
bd62c63c3b
Fixed pg_fetch_array() with three arguments.
...
Submitted by: brian@soda.berkeley.edu
1999-10-06 13:15:23 +00:00
Thies C. Arntzen
657edcd50e
- replaced most getParamters against getParamtersEx calls
...
- removed ParamterPassedByReference where appropiate
1999-10-06 12:54:45 +00:00
Uwe Steinmann
3ec401ec84
- fixed some memory leaks
1999-10-06 05:31:24 +00:00
Uwe Steinmann
8c473e1f47
- support for mimetype application/vnd.fdf needed by fdf module
...
(only active if fdf support is compiled in)
1999-10-06 05:26:25 +00:00
Uwe Steinmann
6f4cca9cff
- fix to work with new version of FdfTk
1999-10-06 05:23:28 +00:00
Sascha Schumann
d71eb7bbe6
Fix typo (xml_globals => dir_globals)
1999-10-05 16:18:40 +00:00
Thies C. Arntzen
7fe8812d3e
use reference counting for emulating child<->parent (cursor<->connection) relationships.
1999-10-05 16:06:54 +00:00
Thies C. Arntzen
35e7bcbb9d
dir modules is now resourcified & thread-safe!
1999-10-05 14:36:00 +00:00
Andrei Zmievski
f71789ee71
Remove _A.
1999-10-05 13:33:57 +00:00
Thies C. Arntzen
7b8ee930f4
fixed ora_close again
1999-10-05 12:10:52 +00:00
Thies C. Arntzen
5a605ae6f4
fix some warnings
1999-10-05 12:09:08 +00:00
Sascha Schumann
e0d561a35b
Use libtool
1999-10-05 11:48:05 +00:00
Sascha Schumann
c27bbc4086
* Get rid of libphp_util.la
...
* Don't build CGI from convenience library
* Add additional checks to regex.h (Apache build broke)
1999-10-05 11:00:48 +00:00
Marko Karppinen
537aefdb26
Fix a typo? (compile bustage on Solaris 2.6)
1999-10-05 07:00:10 +00:00
Andrei Zmievski
cb78ebc0de
Taken from PHP3 source.
1999-10-04 21:10:26 +00:00
Andrew Skalski
f1f8b8a9a2
Added delete and rename functions.
1999-10-04 18:30:37 +00:00
Sascha Schumann
232afa4816
* archive-based convenience libraries completely replaced
...
with libtool components
* SAPI targets can enable thread-safe mode and define
shared/static/program build target
* all configure scripts use the same config.cache
* phplibdir is $(top_builddir)/modules to avoid
permission problems
* sapi/*/Makefile.inc are gone
* runpath handling cleaned up
* top-level Makefile.in obsoleted through Makefile.am
* --enable-versioning uses libtool's cleaner and more
portable -export-symbols feature
1999-10-04 15:18:26 +00:00
Thies C. Arntzen
008810dc29
ereg now returns a continious array 0..9 again - empty values are returned as false.
...
i think this is *more* compatible with PHP3 - unless anybody really dislikes it i'd prefer it like this.
1999-10-04 13:04:32 +00:00
Andrei Zmievski
23e8d1762d
Added array_reverse() function.
1999-10-01 17:36:54 +00:00
Andrei Zmievski
a92fb5fe3d
rename.
1999-10-01 14:54:55 +00:00
Thies C. Arntzen
7e75bf8f88
one zval fix - cleanups
1999-10-01 13:44:07 +00:00
Andrei Zmievski
7258842c29
preg_replace() now makes copies of array entries if arrays are passed in,
...
so that convert_to_string() preserves the originals. Is this the correct way to do it?
1999-09-30 21:59:46 +00:00
Sascha Schumann
7ed678f819
Fix typo--GD_* is for shared build mode.
1999-09-30 20:04:52 +00:00
Andrei Zmievski
97f105e450
Fix nl2br crash.
1999-09-30 20:03:32 +00:00
Thies C. Arntzen
16e1cbee07
major rework here - the refcount stuff gets better and better!
1999-09-30 08:41:45 +00:00
Sascha Schumann
cf4afd61f0
* create Makefiles for ext, pcrelib, sapi/*
...
* copy files for Apache from $(srcdir)
1999-09-29 22:18:43 +00:00
Chuck Hagenbuch
9221981fa3
cjh: closing bug #2407 .
1999-09-29 21:18:35 +00:00
Thies C. Arntzen
02c0ab8d0c
fix the order.. (thanx, andi)
1999-09-29 19:13:08 +00:00
Stig Bakken
db4820447f
The $shared variable should normally never be used outside of a call to
...
AC_ARG_(ENABLE|WITH). If it is necessary anyway, make sure it is set to
"no" before starting.
1999-09-29 15:13:25 +00:00
Andrey Hristov
2fa5e6dd6a
Fix for my fix.
1999-09-29 14:25:40 +00:00
Thies C. Arntzen
284bc523d6
fixed crash in connection shutdown!
1999-09-29 14:20:27 +00:00
Thies C. Arntzen
73c8429282
just some renaming.
1999-09-29 13:35:12 +00:00
Andi Gutmans
cf6c92949c
- Get rid of warning
1999-09-28 17:37:06 +00:00
Thies C. Arntzen
74bc24d9d5
initialize OCI in threaded mode if ZTS is defined.
1999-09-28 11:12:32 +00:00
Thies C. Arntzen
9156c2c8d1
init in thread-safe mode if ZTS isdefined
1999-09-28 11:09:03 +00:00
Thies C. Arntzen
4c3f393743
fixed startup-deadlock.
1999-09-28 10:54:42 +00:00
Thies C. Arntzen
a054e6e61e
found a typo!
1999-09-28 09:59:59 +00:00
Sascha Schumann
9442b13939
Make an extra copy of input parameter.
1999-09-27 18:00:30 +00:00
Stig Bakken
2a854ca8b9
Generalized server-API build process on UNIX. Each SAPI
...
implementation now has its own directory under sapi/, just like
extensions have theirs under ext/. To make the final targets appear
in the main dir, the top-level Makefile includes sapi/NN/Makefile.inc
from the selected sapi backend. This is a plan Makefile stub without
any autoconf substitutions. Each SAPI backend also has its own
config.m4 like extensions (read at the end of diversion 2) and
config.h.stub files.
Each SAPI backend has to contain:
config.m4: just like for extensions, this file contains
autoconf/automake directives that end up in the configure script. The
only difference is that the sapi config.m4 files are read in diversion
(output block) 2 instead of 3. The sapi config.m4 files should set
two variables: PHP_SAPI (which sapi backend to choose) and SAPI_TARGET
(the name of the resulting library or program, previously BINNAME).
If they are not specified, they will default to "cgi" and "php",
respectively.
Makefile.inc: has to exist, has to define "INSTALL_IT" to the command
used to install the final target (or ":" for no operation). It also
has to define a plain Makefile rule (without autoconf substitutions)
to build $(SAPI_TARGET)
Makefile.am: just what you think. Make sure your target is called
"libphpsapi_NNN.a", where NNN is the value of PHP_SAPI.
Some testing and fixing probably remains. To make everything hang
together, I've done some ugly tricks that I can imagine causing some
problems. I've built and run the CGI version and built the Apache
DSO.
1999-09-27 16:34:28 +00:00