SVN Migration
3c48e01f14
This commit was manufactured by cvs2svn to create tag 'php_4_0RC1'.
2000-03-27 20:00:52 +00:00
Zeev Suraski
a3ac1e5e59
That's one thing @ missed...
2000-03-27 20:00:51 +00:00
Sterling Hughes
0340340673
Slight change for time on the return side.
...
@-Added 'I' switch to test whether or not DST is active.
2000-03-27 18:11:33 +00:00
Sterling Hughes
3f029b61e8
*** empty log message ***
2000-03-27 16:35:01 +00:00
Sterling Hughes
6fb861d7a8
*** empty log message ***
2000-03-27 16:21:15 +00:00
Rasmus Lerdorf
df03379b4e
GNU make is not required
2000-03-27 01:35:17 +00:00
Sam Ruby
4ce6480745
Remove debug libraries from debug build
2000-03-27 01:00:21 +00:00
Sam Ruby
fea19e97db
Whoops! Not everybody want Java included by default!
2000-03-27 00:55:18 +00:00
Rasmus Lerdorf
a582ce8735
Update the INSTALL docs
2000-03-27 00:33:47 +00:00
Sam Ruby
69d7ea4f30
Remove debug runtime libraries from Release builds
2000-03-27 00:18:59 +00:00
Sam Ruby
e4b86c2cd5
support non-debug builds
2000-03-26 20:24:55 +00:00
Sam Ruby
b280bec492
support non-debug builds
2000-03-26 20:01:59 +00:00
Sascha Schumann
5d568a2e22
PHP_EXTENSION sets $ext_src_base
2000-03-26 19:51:10 +00:00
Sascha Schumann
b4db46606e
Some white-space changes
2000-03-26 19:47:28 +00:00
Sascha Schumann
6da32c3314
Ignore errors at this place
2000-03-26 19:46:42 +00:00
Sascha Schumann
491792e0d0
Allow MySQL to be compiled against extern mysqlclient library
2000-03-26 19:46:11 +00:00
Zeev Suraski
8419dc332b
Use compression for makedist
2000-03-26 19:26:09 +00:00
Zeev Suraski
8c79054ad2
Package RC1
2000-03-26 19:18:59 +00:00
Andi Gutmans
7fd92b524d
- Stop zend_func_args() and co. from crashing
2000-03-26 18:40:24 +00:00
Zeev Suraski
b43f85d641
- Change new -> result. Using C++ keywords isn't too hot
2000-03-26 17:06:19 +00:00
Andi Gutmans
9df63e183e
- Didn't see Thies' commit message although I can't really see how it would
...
make a difference
2000-03-26 16:28:37 +00:00
Andi Gutmans
b763b25c96
- Include Andrea's fix for alloca.h
2000-03-26 16:00:35 +00:00
Sascha Schumann
3b2bcf3c41
Fix internal_functions.c screwup for people not using --with-mm
2000-03-26 15:26:15 +00:00
Thies C. Arntzen
7ec4e5e21b
<alloca.h> needs to be included before we define macros calling alloca()
...
atleast using SGI's cc - should not harm other platforms (i hope)
2000-03-26 14:46:25 +00:00
Sterling Hughes
6a048bfd64
Return value corrected.
2000-03-26 14:43:24 +00:00
Thies C. Arntzen
7b31a19305
no c++ comments // please
2000-03-26 14:27:10 +00:00
Thies C. Arntzen
70003624fa
fix cast
2000-03-26 14:25:20 +00:00
Chuck Hagenbuch
db546462b6
imap_clearflag_full now returns true appropriately.
2000-03-26 04:34:05 +00:00
Sam Ruby
fcd82d34c5
JAVA_LIBPATH was not allways being added to the LIBPATH
2000-03-26 04:31:53 +00:00
Sascha Schumann
a2d42419a5
Revamp session's config.m4 and reenable support for mm. The shared memory
...
module works now successfully again under Apache and other web servers.
2000-03-26 02:47:00 +00:00
Zeev Suraski
a0f70aa618
@- Fix a data corruption bug in mysql_result(), if used in table.fieldname mode (Zeev)
...
Hopefully that settles this one.
2000-03-26 02:01:11 +00:00
Sascha Schumann
04daa555aa
Add MSIE 5-specific Cache-Control fields
2000-03-26 00:43:56 +00:00
Sterling Hughes
b880fb5bcc
Tid Bit More.
2000-03-25 22:27:30 +00:00
Zeev Suraski
96f01b1414
Update .dsp's
2000-03-25 20:25:10 +00:00
Sterling Hughes
a9f0e0176b
- snmpwalkoid is an alias now
...
- small optimizations
- delete that switch case in php_snmp
=The different functions are now in the PHP_FUNCTION declaration thingies
- If-else blocks have brackets
2000-03-25 19:58:19 +00:00
Andi Gutmans
2572b088d0
*** empty log message ***
2000-03-25 19:23:16 +00:00
Zeev Suraski
863e6fd242
- Update dsp
...
- Remove unnecessary includes
2000-03-25 19:17:41 +00:00
Zeev Suraski
5dba477467
- Some header dependencies cleanup
...
- Generalize zval_print() and zval_print_r()
2000-03-25 19:10:07 +00:00
Andi Gutmans
18e1e63e78
- Support getcwd() semantics.
...
- We need to change this whole business to work with ZTS globals
2000-03-25 16:28:16 +00:00
Sam Ruby
6a7bc777ca
Dynamically load java support, for better error messages
2000-03-25 15:57:04 +00:00
Sam Ruby
1e4e9b34e2
RTLD_NOW => RTLD_LAZY|RTLD_GLOBAL
2000-03-25 15:40:08 +00:00
Zeev Suraski
7e576d36e8
Update dsp's
2000-03-25 15:35:35 +00:00
Thies C. Arntzen
c8d0be50c5
andrei, i'm sure we're missing some @ entries in NEWS (this one is one of them)
2000-03-25 12:12:04 +00:00
Sterling Hughes
c0cede82f1
Fixed a few protos and ...
2000-03-25 04:05:13 +00:00
Zeev Suraski
1239651126
@- Modified the registry INI entry reader (Win32) to work with drive letters. For
...
@ example, if you wish to wish to specify INI entries for C:\foo\bar, you should
@ create HKLM\PHP\Per Directory Values\C\foo\bar in the registry, and add
@ string values for each directive you want to override in this directory (Zeev)
2000-03-25 01:32:47 +00:00
Zeev Suraski
5bdd53972f
- Fixed a crash when sending a non-variable expression to a runtime-bound function
...
that expected a reference.
2000-03-24 23:51:34 +00:00
Andrei Zmievski
7b02e9fc35
@- Fixed extract() for EXTR_PREFIX_SAME and EXTR_SKIP cases. (Andrei)
2000-03-24 14:56:19 +00:00
Andi Gutmans
5b2bad3825
- Nuke hash_*_ptr() functions
2000-03-24 11:16:24 +00:00
Andi Gutmans
6db18997bb
- Nuke hash_*_ptr functions
2000-03-24 11:12:30 +00:00
Uwe Steinmann
334bde365c
- several clean ups
2000-03-23 19:00:21 +00:00
Andrei Zmievski
0eaa79e4eb
Use WRONG_PARAM_COUNT.
2000-03-23 18:40:55 +00:00
Zeev Suraski
7bd5794a07
- Make it compile
2000-03-23 18:31:18 +00:00
Andrei Zmievski
92ca446e47
Added get_class_methods().
2000-03-23 17:54:02 +00:00
Andrei Zmievski
40e99c5e9f
Added get_class_methods().
2000-03-23 17:47:28 +00:00
Andi Gutmans
326f69f54e
- Change Zend version as API has changed
2000-03-22 19:07:47 +00:00
Zeev Suraski
2e68fc59e3
- Wrong fix
2000-03-22 18:43:25 +00:00
Zeev Suraski
4d68c944d9
- Only free when result != op1
2000-03-22 18:36:02 +00:00
Thies C. Arntzen
3e99a228df
@- stristr() no longer modifies it's arguments. (Thies)
...
fix #3890
2000-03-22 08:14:00 +00:00
Andrei Zmievski
7c003f8c0c
Attribution.
2000-03-21 20:50:56 +00:00
Andi Gutmans
7acbcc9601
- Adjust for change in zend_startup()
2000-03-21 19:04:34 +00:00
Andi Gutmans
13e7413182
- Change zend_startup to accept a flag for starting builtin functions
2000-03-21 19:01:19 +00:00
Andi Gutmans
bf18f87644
- Move #defines
2000-03-21 18:48:28 +00:00
65ccee97a6
ChangeLog update
2000-03-21 02:09:09 +00:00
6bd7d3db64
NEWS update
2000-03-21 02:09:06 +00:00
Andrei Zmievski
4ab3d2d22c
Please use @ in front of _all_ lines intended for NEWS file.
2000-03-20 14:50:56 +00:00
Rasmus Lerdorf
c32e09f791
As it turns out, there are some browsers that can't handle default
...
charsets. I think forcing this on is going to cause us a lot of headache,
so turn it off by default.
@ Don't default to iso-8859-1 since this confuses some browsers
2000-03-20 08:19:51 +00:00
Rasmus Lerdorf
49c32728af
Make it possible to specify both a port and a socket in mysql_[p]connect
...
@ Make it possible to specify both a port and a socket in mysql_[p]connect
2000-03-20 07:40:56 +00:00
Egon Schmid
48fc7c447f
Fixed a proto.
2000-03-20 06:46:58 +00:00
7ef5212400
ChangeLog update
2000-03-20 02:09:10 +00:00
Chuck Hagenbuch
36912e5ff9
initial function prototypes
2000-03-19 23:39:05 +00:00
Rasmus Lerdorf
82aa0d1404
Leave sendmail_path commented out to pick up compiled-in default
2000-03-19 23:07:57 +00:00
Ted Rolle Jr
d5ad9de048
Added new function: imap_mime_header_decode
...
Decodes mime header elements in accordance with RFC 2047.
2000-03-19 22:59:08 +00:00
Andi Gutmans
1c8c9ad231
- Quick fopen() support. The code needs some cleaning up and we might
...
need to think of performance issues with the strdup()'s (definitely
use strndup() and maybe try to do with less string copies).
2000-03-19 21:10:48 +00:00
Shane Caraveo
073b7acc90
I suppose errors should be printed prior to endthread
2000-03-19 18:24:09 +00:00
Shane Caraveo
42c874ba5f
do this only on win32
2000-03-19 18:22:11 +00:00
Shane Caraveo
0bf6633452
just a little more detail in exception report
2000-03-19 17:59:05 +00:00
Shane Caraveo
90ad09dc1d
libmysql must use USE_TLS for multithreaded compilation on windows.
2000-03-19 17:34:01 +00:00
Sascha Schumann
e5ceb99a1e
Fix build problems with UCD-SNMP 4.1.x.
...
First, we need to include default_store.h.
Second, UCD-SNMP supports OpenSSL now, so we additionally need to
link against that.
The changes should be completely backwards-compatible.
Partly suggested by: thor2001@gmx.net
PR: #3451 , #3668 , #3868
2000-03-19 12:38:53 +00:00
Sascha Schumann
5366478e18
Cleanup
2000-03-19 12:09:01 +00:00
Thies C. Arntzen
7db7884e8c
(var_dump) removed "refcount-hack" - comiles without warning again (&works).
2000-03-19 11:08:07 +00:00
Thies C. Arntzen
245428b241
fix some protos
2000-03-19 10:56:40 +00:00
Thies C. Arntzen
3b88c31bfc
kill warning
2000-03-19 10:50:48 +00:00
d015d47527
ChangeLog update
2000-03-19 02:09:13 +00:00
6e6eb6002b
NEWS update
2000-03-19 02:09:10 +00:00
Sander Steffann
ec52ce44a9
A small fix when checking for libjpeg
2000-03-18 23:23:39 +00:00
Sascha Schumann
827ad656cb
@- Added --disable-pic for disabling generating PIC for shared objects
...
on platforms which support it (i.e. Linux) (Sascha)
Additionally, we enforce passing pthread_cflags to the compiler, if
libtool chooses it as linker.
2000-03-18 17:58:09 +00:00
Sascha Schumann
608b96a8aa
Make it compile
2000-03-18 17:50:43 +00:00
Andi Gutmans
e88bde0a73
- Fix compile problem on FreeBSD.
2000-03-18 16:16:15 +00:00
Andi Gutmans
8b8077709e
- Fix compile problem on FreeBSD
2000-03-18 16:11:42 +00:00
Andi Gutmans
512ff32f87
- No reason for refcount to be signed and move to zend_* typedefs
2000-03-18 16:00:30 +00:00
Thies C. Arntzen
f5a77d04ff
*** empty log message ***
2000-03-18 15:05:19 +00:00
Thies C. Arntzen
e4df84a8da
(serialize/unserialize) _sleep_() -> __sleep(), _wakeup_() -> __wakeup() rename.
2000-03-18 15:04:02 +00:00
Thies C. Arntzen
3092c10e93
renamed _string_value_() to __string_value().
2000-03-18 14:55:29 +00:00
Zeev Suraski
c059cd6181
*** empty log message ***
2000-03-18 14:51:58 +00:00
Zeev Suraski
caf9049ae1
The third argument to define() wasn't working right, fixed
2000-03-18 14:45:29 +00:00
Zeev Suraski
0b8ea28832
false wouldn't automaticaly switch to an array type, which resulted in an
...
incompatibility with PHP 3. Fixed.
2000-03-18 14:28:03 +00:00
cf6a2b1621
ChangeLog update
2000-03-18 02:09:09 +00:00
Hartmut Holzgraefe
1e0b71df1f
is_executable() for root fixed
...
this is an intermediate patch, switching from stat() to
access() for is_(readable|writable|executable) shall
fix the whole topic once and for all
2000-03-17 12:41:55 +00:00
Andi Gutmans
959a550780
- Fix Win32 compile
2000-03-17 10:25:23 +00:00
0979233f5a
ChangeLog update
2000-03-17 02:09:19 +00:00
9d3ca44e4d
NEWS update
2000-03-17 02:09:16 +00:00
Sterling Hughes
b3ecf2feaf
ftruncate returns 1 on success and 0 on failure instead of 0 on success and -1 on failure.
2000-03-17 00:44:55 +00:00
Andi Gutmans
cd83fb18c0
- Last one for today.
2000-03-16 22:46:53 +00:00
Andi Gutmans
b46c44b485
- Allow passing of a verify function. This way we can easily create
...
chdir() and expandpath() wrappers.
2000-03-16 22:37:59 +00:00
Andi Gutmans
1bcdb436c1
- Note quite sure why this wasn't done.
2000-03-16 21:23:24 +00:00
Sascha Schumann
2a3fdcb73d
Cleanup
2000-03-16 19:19:14 +00:00
Sascha Schumann
8c9388c984
Merge in local changes
2000-03-16 19:14:13 +00:00
Andi Gutmans
14f76028aa
- php_is_dir_ok() should work on Windows now.
2000-03-16 19:10:01 +00:00
Andi Gutmans
c46d1e3402
- Fix a leak (I think)
2000-03-16 18:56:08 +00:00
Andi Gutmans
5c281c6116
- Make it compile on Windows.
2000-03-16 18:52:15 +00:00
Sascha Schumann
f0d631ad8f
Use old_state
2000-03-16 18:41:02 +00:00
Sascha Schumann
1ed113d925
(php_check_dots) we don't need len
2000-03-16 18:37:34 +00:00
Sascha Schumann
3cb7cf43de
virtual_chdir:
...
* added error handling
* fixed the special case where there were more DIRECTORY_UPs than
directory parts (i.e. cwd is d:\foo and path is ../..)
* no spaces between # and preprocessor directive - breaks some compilers
# added directory-existence check (not activated)
2000-03-16 18:25:47 +00:00
Sam Ruby
74169f5fc4
restore compilation on ZTS enabled environments (like Windows)
2000-03-16 18:24:43 +00:00
Andi Gutmans
0583ae2648
- Add initial virtual_getcwd() and virtual_chdir() for discussing with the
...
rest of the folks
2000-03-16 16:54:42 +00:00
Andrei Zmievski
ddf3740cf9
@ Added is_numeric() that returns true if the argument is a number
...
@ or a numeric string. (Andrei)
2000-03-16 16:02:23 +00:00
Thies C. Arntzen
033209b061
share some thoughts
2000-03-16 03:14:03 +00:00
Thies C. Arntzen
f856855efd
*** empty log message ***
2000-03-16 02:18:24 +00:00
Thies C. Arntzen
0fe5aef05e
@- serialize()/unserialize() now call _sleep_() and _wakeup_() when
...
@ working on objects. (Thies)
@- renamed to_string() method to _string_value_() for consistency.
@ (Thies, Zend library)
2000-03-16 02:15:41 +00:00
Thies C. Arntzen
a4bf381557
renamed "to_string" -> "_string_value_"
2000-03-16 02:09:47 +00:00
b28d6b50c2
ChangeLog update
2000-03-16 02:09:06 +00:00
Joey Smith
73b732a31c
Adding .cvsignore to ext/recode
2000-03-15 23:27:23 +00:00
Sascha Schumann
7658768705
Use CPPFLAGS for reentrancy/thread flags
2000-03-15 21:40:03 +00:00
Andi Gutmans
c56df5cac0
- WIN32 -> PHP_WIN32
2000-03-15 19:12:41 +00:00
Zeev Suraski
15dd8e61a2
- Fix newly introduced problem reported by Sam Ruby
2000-03-15 17:32:29 +00:00
Andrei Zmievski
ee286febe7
Make zend_hash_move_forward()/zenv_hash_move_backwards() a little smarter.
2000-03-15 16:25:59 +00:00
Zeev Suraski
f30765e1a0
- Fix warning (I thought I fixed this one before)
2000-03-15 16:18:21 +00:00
Uwe Steinmann
83304f3d2c
- support for libxml 2.0 beta
2000-03-15 15:08:08 +00:00
Sam Ruby
cc64b583fb
Update README to indicate improvements in overload resolution and
...
easier configuration.
Add an entry for the Blackdown JDK on Linux, and a note as to why the Sun
JDK on Linux can't be supported at this time.
2000-03-15 14:28:34 +00:00
Sam Ruby
2702340dd9
Emulate user/group/other on Windows
2000-03-15 11:52:07 +00:00
Sam Ruby
3e5398ffba
Cleanup, better error recovery, easier configuration
2000-03-15 10:35:38 +00:00
Uwe Steinmann
6ac297fbc1
- changed libgz to libz (Bug #3614 )
2000-03-15 08:09:14 +00:00
Thies C. Arntzen
77b158159f
.
2000-03-15 02:12:02 +00:00
Sam Ruby
2cb6e338a1
Get Blackdown support to compile. Doesn't seem to be able to find
...
classes yet...
It looks like the current Sun JDK 1.2.2 won't be able to be supported.
Green_threads don't work with JVM Initialization, and Sun doesn't support
native_threads yet...
2000-03-15 02:11:27 +00:00
ca7fcf038f
ChangeLog update
2000-03-15 02:09:11 +00:00
95fa99702c
NEWS update
2000-03-15 02:09:08 +00:00
Egon Schmid
ae67ddc318
One space character is enough.
2000-03-14 21:47:47 +00:00
Andrei Zmievski
26eaf668e7
Implemented external list traversing.
2000-03-14 21:20:38 +00:00
Egon Schmid
29c41fe46d
Thies, please check the function names and descriptions.
2000-03-14 21:17:07 +00:00
Uwe Steinmann
db065413d1
- fixed invalid class names
...
- added standalone, encoding attribute to DocDocument class
2000-03-14 20:58:10 +00:00
Hartmut Holzgraefe
553eb2391d
I SHALL NOT TOUCH MY EMACS BETWEEN COMPILE AND CHECKIN !!!
...
I SHALL NOT TOUCH MY EMACS BETWEEN COMPILE AND CHECKIN !!!
I SHALL NOT TOUCH MY EMACS BETWEEN COMPILE AND CHECKIN !!!
2000-03-14 20:41:31 +00:00
Hartmut Holzgraefe
b19d1bdb0f
imap_utf7_encode didn't expand international characters to 16bit
...
before coding
imap_fetch_overview could crash when some fields where missing
imap_fetch_overview will now take msg indices for default and
UIDs by optional flag, as the other functions in the family
2000-03-14 20:20:43 +00:00
Andi Gutmans
bc8e138250
- Allow array(1,2,3,) i.e. with trailing comma. You can only have one
...
trailing comma.
2000-03-14 15:37:15 +00:00
Thies C. Arntzen
49cc8a7805
@- fixed possible crash in unserialize if the serailized data was
...
@ damaged. (Thies)
2000-03-14 07:49:42 +00:00
Andi Gutmans
50a2574e97
- ELS are passed to internal functions
2000-03-14 05:15:33 +00:00
adc620708b
ChangeLog update
2000-03-14 02:09:11 +00:00
4e21e2ee2e
NEWS update
2000-03-14 02:09:08 +00:00
Egon Schmid
69c2faf510
Fixed some protos.
2000-03-13 20:36:59 +00:00
Zeev Suraski
84569c08fc
-
2000-03-13 18:01:43 +00:00
Zeev Suraski
fe37f4bca9
- Spare a byte :)
2000-03-13 17:59:30 +00:00
Andi Gutmans
e7eccd2438
- Change Zend license version
2000-03-13 17:08:18 +00:00
Andi Gutmans
61379fe0c3
- Another zend_uchar
2000-03-13 15:59:24 +00:00
Andi Gutmans
7fc5c94478
*** empty log message ***
2000-03-13 15:49:47 +00:00
Andrei Zmievski
ac7d60ecec
Changed HTTP_STATE_VARS to HTTP_SESSION_VARS.
...
@ Changed $HTTP_STATE_VARS to $HTTP_SESSION_VARS. Use only the latter
@ version now! (Andrei)
2000-03-13 15:49:13 +00:00
Andi Gutmans
e92f6f15cb
- define zend_uint and zend_uchar and use them in a few places
2000-03-13 15:43:40 +00:00
Andrei Zmievski
a32c54bdbb
Introduced a way to traverse hashes through external pointers.
2000-03-13 15:25:18 +00:00
Andreas Karajannis
773d0560f2
odbc_close() and odbc_close_all() working again
2000-03-13 15:22:47 +00:00
Andi Gutmans
712ffd4c14
- Change type from int -> char
2000-03-13 15:11:07 +00:00
Zeev Suraski
ea033715a9
- Fix filename/lineno initialization for do_return
2000-03-13 14:15:23 +00:00
Sam Ruby
9c146016d3
remove java.library from the README
2000-03-13 11:51:17 +00:00
Rasmus Lerdorf
9c192f526e
# Oops - functions with multiple optional args suck
2000-03-13 10:09:02 +00:00
Andi Gutmans
70eb0c78f8
- Also check module API number
2000-03-13 06:00:36 +00:00
Rasmus Lerdorf
da4f3edac4
gd-jpeg support
...
@Add GD-JPEG Support (Rasmus)
2000-03-13 05:58:50 +00:00
2f23538ba0
ChangeLog update
2000-03-13 02:09:09 +00:00
Sam Ruby
6e2c7e5137
Eliminate java.library ini option in favor of rpath
2000-03-13 01:11:36 +00:00
Chuck Hagenbuch
65b6639481
Adding imap_rfc822_parse_headers(). This function lets you grab mail headers
...
from anywhere - a saved message in an archive, a pop server, a database, etc
- and parse them into an object similar to what imap_headerinfo() returns.
It's just missing the flag info and other things that only come from the
IMAP server.
In the process of doing this, I seperated some more code out into a support
function - _php_make_header_object() - since it was used in multiple
functions. The module is slowly getting well organized.
2000-03-12 20:47:21 +00:00
Chuck Hagenbuch
20cc50db4c
spelling correction, and rename make_event_object to _php_make_event_object
...
for consistency.
2000-03-12 20:02:41 +00:00
Jouni Ahto
bd1140e71d
# Compiles. Doesn't work yet. Unless leaking memory counts as 'working'.
...
# Trying to finish before RC1...
2000-03-12 19:44:23 +00:00
Kristian Köhntopp
85940d676f
Finished porting recode module.
2000-03-12 19:42:29 +00:00
Chuck Hagenbuch
fa5ab18f2e
pval->zval
...
use the *_ex() functions
use zend_get_parameters_ex
Tested on my calendar code, and seems to be crash free. But I think I'll
wait on converting the IMAP module, since this was quite a pain. :)
2000-03-12 19:28:53 +00:00
Kristian Köhntopp
63fb0326e9
- using _ex() functions now, thanks to Andrej.
2000-03-12 19:08:52 +00:00
Zeev Suraski
d0b9a3989b
- Define these ones and declare them in modules.h
2000-03-12 18:13:01 +00:00
Zeev Suraski
05cf4423b9
-
2000-03-12 18:08:46 +00:00
Andi Gutmans
05aa5cb831
- Guessing this is the problem
2000-03-12 17:49:08 +00:00
Sascha Schumann
bb09ee9505
Use sprintf everywhere and define sprintf to php_sprintf, if sprintf is broken.
2000-03-12 17:18:21 +00:00
Sascha Schumann
00c14f7413
Also search for freetype headers in $prefix/include/freetype
...
PR: #3775
2000-03-12 15:52:14 +00:00
Sascha Schumann
caeaaf4d98
Fix build on systems which lack snprintf or vsnprintf.
...
PR: #3786
2000-03-12 15:47:34 +00:00
e20b13751b
ChangeLog update
2000-03-12 02:09:12 +00:00
61b1fe45d2
NEWS update
2000-03-12 02:09:09 +00:00
Leo Baschy
355eda0cf3
remove recent patch to _close_odbc_conn calling _free_odbc_result
2000-03-12 01:03:23 +00:00
Andrei Zmievski
7cd40d3a53
Nuke DEBUG.
2000-03-11 22:22:31 +00:00
Kristian Köhntopp
1aba4ea9d0
- Added additional DEFER macro.
...
- First stab at porting the recode module. Still having problems
with the _ex() functions, they core - why?
2000-03-11 22:05:41 +00:00
Andi Gutmans
649d8721db
- Oops I commited a name change for consistency of Zend/modules.h to
...
Zend/zend_modules.h before it being finished. Revert it
2000-03-11 20:57:35 +00:00
Andi Gutmans
9dca788ca0
- Don't define DEBUG anymore. Everyone should use PHP_DEBUG.
...
There are 2-3 third-party libs in PHP which use DEBUG and I left them
this way (primary example is pcrelib).
- Please test things and Andrei, can you check that pcrelib stopped
printing the warning messages?
2000-03-11 20:48:49 +00:00
Andi Gutmans
fe558092e4
- Don't load modules which have different debug and ZTS information than
...
PHP() (untested). Not sure how to handle API version. Should it also not
load? It probably should but it might bite us at some point.
@ Prevent from loading dynamic PHP modules which were compiled with different
debug and thread safety modes than PHP, which resulted in a crash (Andi)
2000-03-11 16:23:30 +00:00
Sascha Schumann
781b6e9435
Upgrade to libtool 1.3.4
2000-03-11 12:33:10 +00:00
Sam Ruby
d63341ea5f
Unix classpath fixes
2000-03-11 12:05:17 +00:00
Sascha Schumann
4a50fde509
mkextlib is not created anymore
2000-03-11 11:36:46 +00:00
Sascha Schumann
cc14640f17
We don't need mkextlib anymore
2000-03-11 11:20:09 +00:00
Chuck Hagenbuch
7b346d0a12
switching the order of arguments of mcal_week_of_day() to be more flexible -
...
day, month, year now so that month and year can be defaulted at some point.
this is also consistent with the library function.
2000-03-11 05:40:22 +00:00
Chuck Hagenbuch
f42a770f65
Add mcal_week_of_year(), submitted by jtaskine@hit.fi.
2000-03-11 02:15:14 +00:00
b460dcfa0a
ChangeLog update
2000-03-11 02:09:12 +00:00
c405b64e57
NEWS update
2000-03-11 02:09:09 +00:00
Andi Gutmans
51c10e49dd
- Remove inline from functions which are pretty large and besides eating up
...
memory in compile time probably doesn't boost performance.
2000-03-11 01:13:10 +00:00
Andrei Zmievski
715aa0388c
Add generated file.
2000-03-10 22:23:17 +00:00
Andrei Zmievski
8ad55cbd94
Reminder.
2000-03-10 22:23:01 +00:00
Andi Gutmans
88c98d3e3f
- Seems to be a problem here with the return value not being set
2000-03-10 21:22:48 +00:00
Andi Gutmans
eedd3ac4d0
- Use strlcpy() insted of strcpy()
2000-03-10 18:19:08 +00:00
Andi Gutmans
f3cd07fe7d
*** empty log message ***
2000-03-10 16:50:53 +00:00
Andi Gutmans
5951b166c8
- Quick way of supporting include_once().
...
Good enough for RC1.
2000-03-10 16:36:30 +00:00
Andi Gutmans
b5de395367
- Support require_once().
2000-03-10 16:04:16 +00:00
Andi Gutmans
9cc704421a
- Cleanup old IMPORT stuff
2000-03-10 15:05:00 +00:00
Andi Gutmans
d609112c0e
- Nuke import, add include_once and include_require scanner/parser rules.
...
Hope to nuke use too :)
2000-03-10 15:01:21 +00:00
Andi Gutmans
cf89b8db5a
- That broke the Win32 build
2000-03-10 12:26:59 +00:00
Uwe Steinmann
fc1bc7102f
- replaced some old code to access server variables
2000-03-10 11:36:27 +00:00
Andi Gutmans
29ed30f77c
- Fix a bug and define an API_NO for the ZEND_MODULE_API
2000-03-10 10:14:05 +00:00
Andi Gutmans
ab5ca792e4
- zend_config.h is enough
2000-03-10 08:36:04 +00:00
Andi Gutmans
909f3af8dc
- Weird that this wasn't caught earlier
2000-03-10 08:34:13 +00:00
Andi Gutmans
3bd9e02380
- Save ZEND_DEBUG, ZTS, ZEND_API information
2000-03-10 08:28:54 +00:00
Thies C. Arntzen
9d0c2484c0
@- connection_aborted() and friends work again. (Thies)
2000-03-10 03:09:49 +00:00
ce562b6280
ChangeLog update
2000-03-10 02:09:08 +00:00
Leo Baschy
db33bb8ff6
_close_odbc_conn calls _free_odbc_result if possible
2000-03-09 22:19:57 +00:00
Sascha Schumann
f6460bfe6f
VPATH builds were broken, if the user specified the path to configure
...
using an absolute path. With this change, absolute and relative paths
are accepted and processed correctly.
2000-03-09 22:07:10 +00:00
Stig Bakken
81ff62c271
PEAR now uses "use" instead of "include".
2000-03-09 21:57:14 +00:00
Sascha Schumann
e8cf4a40d4
Fix build problem on systems where ulong is not defined.
...
There ulong was defined to `unsigned long long' resulting
in compile-time problems in libmysql. The client library
uses `ulong' an `unsigned long' interchangeable.
The removed tests are performed by the Zend library, thus
this change has no negative impact.
Reported by: Dan Larsson <dl@tyfon.net >
2000-03-09 17:30:08 +00:00
Andi Gutmans
5b570ecc01
- Fix bug in syntax highlighter
2000-03-09 16:02:05 +00:00
Uwe Steinmann
bf87ec7aeb
- fixed cpdf_set_font() error
2000-03-09 14:59:05 +00:00
Uwe Steinmann
69ee40691f
- ups, fixed stupid compile errors
2000-03-09 14:53:30 +00:00
Uwe Steinmann
045653dfed
- dropped support for version of pdflib < 3.0
...
- better detection of libs required for pdflib
2000-03-09 14:41:15 +00:00
Sam Ruby
e24e95bdec
Both PHP and Java can't read Post data - let java do it and reconstruct for
...
PHP.
2000-03-09 13:07:25 +00:00
Uwe Steinmann
ff2443eb67
- bug fix, insertion of links back into HTML document
...
- smarter test script
2000-03-09 12:45:55 +00:00
Sam Ruby
ba50898123
remove duplicate line
2000-03-09 04:04:05 +00:00
Thies C. Arntzen
9abeb4819f
(OCILogon) fixed crash in OCILogon if username was not valid (newly introduced - no need for a NEWS entry)
2000-03-09 02:42:38 +00:00
1a3864b15c
ChangeLog update
2000-03-09 02:09:09 +00:00
Uwe Steinmann
d037fdc8be
- several fixes and cleanups in hw module
2000-03-08 17:51:58 +00:00
Andrei Zmievski
b5e13a0f97
Typo.
2000-03-08 15:04:19 +00:00
Andrei Zmievski
96351ba5ee
blah
2000-03-08 15:02:41 +00:00
Andrei Zmievski
5f883e802a
Anything in $HTTP_SESSION_VARS[] is auto-registered, if register_globals
...
is turned off.
2000-03-08 14:57:26 +00:00
3852f8076f
ChangeLog update
2000-03-08 02:09:10 +00:00
Uwe Steinmann
70a6f84862
- support for pdflib 3.0
2000-03-07 20:51:15 +00:00
David Hedbor
71a4bdc882
Changed typo (interpretor->interpreter)
2000-03-07 20:20:42 +00:00
Sascha Schumann
77fb7d2b64
Write configuration parameters into `config.nice', so you can redo the
...
same configuration with exactly one command.
2000-03-07 18:05:16 +00:00
Uwe Steinmann
bd418f0741
- quick hack to support pdflib 3.0 (not tested)
2000-03-07 17:29:25 +00:00
Sascha Schumann
9b98d3ca0b
Try to locate the mysql.sock
2000-03-07 16:56:17 +00:00
Sascha Schumann
a2121549aa
Move the sincludes outside of AC_DEFUN(), so PHP can use the macros
2000-03-07 16:49:17 +00:00
Andi Gutmans
6e1ad8c00d
- Enable MySQL by default
2000-03-07 16:33:30 +00:00
Andrei Zmievski
213491a146
Expanded checking for pcre.h and libpcre.a.
2000-03-07 16:12:35 +00:00
Andi Gutmans
2d2c494970
- Thies, it is crucial :)
2000-03-07 15:50:51 +00:00
Sam Ruby
fa56e42b08
Sapi/servlet build on Unix broken
2000-03-07 15:41:34 +00:00
Uwe Steinmann
a9f7101365
- some cleanups and fixed memory leak
2000-03-07 14:53:02 +00:00
Sam Ruby
acdeb47444
Include metaphone on win32 builds
2000-03-07 14:43:39 +00:00
Sam Ruby
57f3e61220
Unresolved external php_if_ftruncate on Win32
2000-03-07 14:41:33 +00:00
Sascha Schumann
1ceb19f196
Use threads.m4
2000-03-07 13:27:37 +00:00
Sascha Schumann
05024cb094
Use improved POSIX threads check from threads.m4
...
This is shared between some projects (currently Apache 2.0, mhash, mcrypt)
2000-03-07 13:24:12 +00:00
Uwe Steinmann
4cb71a069b
- switch to zend's double link list finished
2000-03-07 13:16:01 +00:00
Sam Ruby
ec8add1a4c
Only define crypt if it is present
2000-03-07 12:28:06 +00:00
Andrei Zmievski
ae11f08d69
Can't believe it hasn't been done yet.
2000-03-07 04:28:43 +00:00
Andrei Zmievski
9f870d1e6c
Kill warning.
2000-03-07 04:28:29 +00:00
Thies C. Arntzen
3b6d718f18
(php: dl) fixed MAXPATHLEN bug
...
# now it's /* SAFE */ !
2000-03-07 03:43:03 +00:00
f5c0eb98c4
ChangeLog update
2000-03-07 02:09:12 +00:00
d5005ff5d7
NEWS update
2000-03-07 02:09:09 +00:00
Sam Ruby
fa7f4d1e6a
It looks like a number of "standard" extensions are now truly builtin...
2000-03-07 01:50:02 +00:00
Sascha Schumann
d69b38ea65
Change default UNIX sock to /tmp/mysql.sock
2000-03-06 23:12:56 +00:00
Sascha Schumann
12b2f2af8f
Build fixes - MySQL now actually works
2000-03-06 22:38:49 +00:00
Stig Bakken
99e0b36321
@Cleaned up extension namespace (Stig)
...
Cleaned up extension namespace, and changed ext/standard into one single
extension.
2000-03-06 20:37:11 +00:00
Sascha Schumann
031808cd1b
update
2000-03-06 20:14:18 +00:00
Stig S. Bakken
b6bc7dcd10
added GINIT_FUNC_ARGS and GINIT_FUNC_ARGS_PASSTHRU
2000-03-06 20:13:04 +00:00
Sascha Schumann
5864290d20
Finish config.m4 changes
2000-03-06 20:12:12 +00:00
Sascha Schumann
0c3b839af9
Build always against embedded library
2000-03-06 20:06:55 +00:00
Sascha Schumann
4bc0565d14
Modularize mysql autoconf stuff
2000-03-06 20:06:23 +00:00
David Hedbor
42ca607e71
Use php_module_shutdown_wrapper as the shutdown function
2000-03-06 19:27:59 +00:00
David Hedbor
09ab7fc6ca
Use
2000-03-06 19:26:39 +00:00
Zeev Suraski
ca737cc01f
- Bump up Zend's API version
2000-03-06 19:25:08 +00:00
Stig S. Bakken
4562f7b6d7
Added ZEND_MODULE_INFO_FUNC_ARGS_PASSTHRU.
2000-03-06 18:46:10 +00:00
Stig Bakken
d02fe90b00
Change extension names in all extensions' zend_module_entry to their
...
directory name.
2000-03-06 18:44:01 +00:00
Andi Gutmans
31c9ad1831
- Fix memory leak
2000-03-06 17:13:38 +00:00
Sascha Schumann
d7f21375d4
"User interface" for removing all files which are ignored by cvs
...
(i.e. object files, Makefiles)
2000-03-06 16:02:01 +00:00
Egon Schmid
0beaaa9356
Hartmut don't touch protos. Only two lines are allowed.
2000-03-06 16:01:54 +00:00
Andi Gutmans
6ef9f9fe9c
- Missed one
2000-03-06 15:58:50 +00:00
Hartmut Holzgraefe
36abfe1121
off-by-one error (bug id #3741 ) fixed
2000-03-06 15:32:05 +00:00
Andrei Zmievski
898ff287f2
Need to pass PLS_DC.
2000-03-06 14:37:48 +00:00
Andrei Zmievski
29c133f11d
(php_get_session_var)
...
The variables are now serialized either from globals or from
$HTTP_STATE_VARS[] array, depending on register_globals and track_vars
settings.
2000-03-06 14:36:11 +00:00
Sam Ruby
edb2b71387
Cleanup
2000-03-06 13:19:58 +00:00
Uwe Steinmann
92943a0c3f
- root property in Dom Doc class is now reference to array element in
...
children property
2000-03-06 13:11:21 +00:00
Sam Ruby
fc173b6ace
Unresolved externs
2000-03-06 10:46:40 +00:00
Thies C. Arntzen
ad5b022ed1
@- OCINLogon() sessions are now closed again. (Thies)
...
# happy hacking in hongkong!
2000-03-06 08:02:15 +00:00
Zeev Suraski
5e55e47f7f
It's official now...
2000-03-06 05:26:39 +00:00
331d0fd83c
ChangeLog update
2000-03-06 02:09:09 +00:00
Sam Ruby
dc70a25a1d
Eliminate "wrong number of parameters" warning
2000-03-05 23:59:56 +00:00
Andi Gutmans
fbea48211e
- Make some fixes although there is a problem with getpid() being defined
...
in process.h as getpid(void) and thus having an arugment. We might need to
define a php_getpid() function to wrap getpid().
2000-03-05 21:40:40 +00:00
Sam Ruby
64df92e053
Fix traps due to sapi_global not being initialized when ZTS is set
...
Don't trap if php.ini can't be read
2000-03-05 21:37:47 +00:00
Sam Ruby
313de641eb
Add support for PHP syntax highlighting
...
Remove debug output
Fix trap when string to be output is not null terminated
Add a MS workspace for project level dependencies
Match case of contentType header
2000-03-05 21:35:24 +00:00
Zeev Suraski
56251a7239
Wrap some commonly unused callbacks
2000-03-05 19:50:10 +00:00
Hartmut Holzgraefe
dedd0eb898
SuSE 6.3 imap.rpm puts the library into /usr/lib and the include files into /usr/include/imap
2000-03-05 19:48:23 +00:00
Sascha Schumann
2897c6fe25
Avoid the side-effect of defining function names, so that the PHP functions
...
are not renamed to their prefixed variants.
PR: #3535
2000-03-05 17:39:41 +00:00
Egon Schmid
79e36bd365
Protos fixed.
2000-03-05 07:00:16 +00:00
Chuck Hagenbuch
e7d03185c4
Attribute list support ported from php3.
2000-03-05 05:36:34 +00:00
Andrei Zmievski
b4b82e05d8
Remove warning.
2000-03-05 04:25:12 +00:00
Andrei Zmievski
6cbb9fa288
*** empty log message ***
2000-03-05 02:18:52 +00:00
ceb247762f
ChangeLog update
2000-03-05 02:09:09 +00:00
76d027d3e7
NEWS update
2000-03-05 02:09:06 +00:00
Andi Gutmans
0a092b6226
- Fix Win32 build
2000-03-04 19:58:59 +00:00
Andrei Zmievski
b1de472ba3
Don't need this check.
2000-03-04 19:26:27 +00:00
Andrei Zmievski
0e18779e8b
@Added ip2long() and long2ip() courtesy of Faisal Nasim <faisal@nasim.org>
2000-03-04 17:28:16 +00:00
Andrei Zmievski
5610800a7b
@Added ftruncate() and fstat(), courtesy of Faisal Nasim <faisal@nasim.org>
2000-03-04 17:23:03 +00:00
Sascha Schumann
315999da94
Prefix some symbols with php_
...
^(pcre|Xml|XML).*
2000-03-04 14:44:01 +00:00
Sascha Schumann
365f379435
Don't export Lookahead
2000-03-04 14:22:15 +00:00
Sascha Schumann
84bafc1002
Remove outdated PHP 3.1 stuff
2000-03-04 14:21:22 +00:00
Zeev Suraski
99d782cf60
The default return value from include() and eval() changed from 1 to 0
...
unintentionally after the old return-reference patches - fixed
2000-03-04 03:12:17 +00:00
Zeev Suraski
d34b144061
@- Added parse_ini_file(). Currently implemented in non thread safe version
...
@ of PHP, and currently lacks section support (Zeev)
- Bring the non thread safe .dsp's uptodate
2000-03-04 02:59:14 +00:00
0d19142fc2
ChangeLog update
2000-03-04 02:09:13 +00:00
Chuck Hagenbuch
9ade072706
adding the fix for bug #3685 to php4 as well.
2000-03-03 21:57:26 +00:00
Stig Bakken
9dd0086785
crazy idea brought on by someone at FAST
2000-03-03 17:08:18 +00:00
Sascha Schumann
3bfe29fddb
Support HP-UX 10.x non-standard time-related reentrant functions
2000-03-03 16:10:38 +00:00
Jouni Ahto
b053e6422f
(imagearc) - Fix #3706 .
2000-03-03 14:15:05 +00:00
Uwe Steinmann
dd4f37a4cf
- tiny changes to testscript and domxml
2000-03-03 12:38:20 +00:00
Uwe Steinmann
9318964f25
- more changes to use zend_llist
2000-03-03 12:37:10 +00:00
Sascha Schumann
6401dc10b2
make it work
2000-03-03 12:12:01 +00:00
Sascha Schumann
51e6ab21d7
Better lib check
2000-03-03 11:54:07 +00:00
Sascha Schumann
2139099781
Also consider $i/include while searching for rfc822.h
2000-03-03 11:47:13 +00:00
Uwe Steinmann
8afd1b1d97
- xmltree() now returns an 'Dom Document' object with prop root and
...
children. root contains just the root element, children is an array
with all nodes on root level, e.g. comment, pi, element
2000-03-03 08:44:25 +00:00
Uwe Steinmann
bd09614526
- added property type to obejct xml doc
2000-03-03 08:02:22 +00:00
eeb9e688f2
ChangeLog update
2000-03-03 02:09:44 +00:00
f14a3042be
NEWS update
2000-03-03 02:09:28 +00:00
Zeev Suraski
70bd8c71b5
Fix spelling
2000-03-03 01:58:15 +00:00
Joe Martin
68c10efe1b
Added functions to retrieve scale, precision and raw oracle data type for
...
columns.
2000-03-03 01:28:27 +00:00
David Hedbor
ffd70dca19
Now recommend --enable-roxen-zts...
2000-03-02 22:13:24 +00:00
Uwe Steinmann
9e0ae58772
- using zend llist instead of dlist (not tested)
2000-03-02 19:56:50 +00:00
Sascha Schumann
fc636abfa7
adjust comment II
2000-03-02 19:39:05 +00:00
Sascha Schumann
aa52ee54c1
adjust comment
2000-03-02 19:38:27 +00:00
Sascha Schumann
4682085405
Enable by default
2000-03-02 19:35:41 +00:00
Uwe Steinmann
11c654bbcd
- some minor changes, cleanups
2000-03-02 18:56:06 +00:00
Uwe Steinmann
2552876786
- dom class now distinguishes between $dom->root() and $dom->children()
...
$dom->root() returns just the element, $dom->children() all nodes e.g.
comments
2000-03-02 16:58:07 +00:00
Uwe Steinmann
ad311c35c7
- The root node of a xml doc is now an array since it is possible
...
to have a comment or pi and an element on root level.
2000-03-02 16:39:50 +00:00
Stig Bakken
74fba75ca0
@"none" is now equivalent with "" in Apache config directives (Stig)
...
"none" is now equivalent with "" in Apache config directives.
2000-03-02 14:32:24 +00:00
Sam Ruby
14c223b2c7
Eliminate 62 warnings
2000-03-02 02:55:01 +00:00
Sam Ruby
906b922051
Fix Win32 build breakage
2000-03-02 02:39:21 +00:00
f8aec3164c
ChangeLog update
2000-03-02 02:09:12 +00:00
8b55704887
NEWS update
2000-03-02 02:09:09 +00:00
Evan Klinger
bf8f42835f
Add appropriate check for mckcrypto lib
2000-03-02 02:05:39 +00:00
Uwe Steinmann
d693d6b2cb
- started to implement overload class for xml node
2000-03-01 21:16:24 +00:00
David Hedbor
52eebff6f8
Removal of printf-debug, changed sp/fp to Pike_sp / Pike_fp instead of
...
using a define.
2000-03-01 20:43:12 +00:00
Egon Schmid
70893ff7af
Only two lines are allowed here.
2000-03-01 19:56:46 +00:00
Hartmut Holzgraefe
33cb181af2
round(-0.1) will now return 0 instead of -0
2000-03-01 19:36:37 +00:00
Andi Gutmans
4dd71d4cfe
- Upgrade to year 2000
2000-03-01 17:24:43 +00:00
Andi Gutmans
110b670d44
- Fix typos
2000-03-01 17:10:45 +00:00
Thies C. Arntzen
e38c4ae3ad
.
2000-03-01 14:09:26 +00:00
Thies C. Arntzen
4e5acab610
now
2000-03-01 13:59:51 +00:00
Thies C. Arntzen
490569ca28
@- OCINLogon no longer crashes. (Thies)
2000-03-01 08:17:33 +00:00
Evan Klinger
ae552c39fd
get rid of warning when $url["port"] isn't set
2000-03-01 07:03:33 +00:00
44a52bcd9b
ChangeLog update
2000-03-01 02:09:07 +00:00
Chuck Hagenbuch
9f3c8ffeb0
Fix compile warnings.
2000-03-01 01:43:26 +00:00
Chuck Hagenbuch
f19fe37dec
Add _php_imap_parse_address(), which replaces a lot of duplicated,
...
hard-to-follow code in imap_headerinfo(). This code also happened to be
broken, causing the $h->to, $h->from, etc arrays to contain only the first
address, not every address. This is fixed now.
2000-03-01 01:35:15 +00:00
Chuck Hagenbuch
c87f13951f
Show the minor MCAL version if we have it.
2000-03-01 01:34:05 +00:00
Chuck Hagenbuch
e37ddc1368
Fix Bug #3632 - sanity check to not access a message that doesn't exist.
2000-02-29 19:58:31 +00:00
Jouni Ahto
aeb6f86fe6
(image(createfrom?)png) Fix a typo & remove unused variable.
2000-02-29 18:45:47 +00:00
Sascha Schumann
cc91e5ea64
Automatically try to symlink c-client.a to libc-client.a, so people
...
can avoid changing things.
2000-02-29 13:21:51 +00:00
Sascha Schumann
a05db57374
Rewrite IMAP checks. This should solve the problems people had with
...
shared imap libs
2000-02-29 13:12:48 +00:00
Sascha Schumann
c5977f6503
AD_ADD_LIBRARY_DEFER allows people to add libraries in a deferred way
...
(needed for imap and recode)
2000-02-29 13:02:29 +00:00
Andrei Zmievski
4c7af667a7
Made php_escape_html_entities() as a separate function for export.
2000-02-29 04:38:14 +00:00
b7c1735cb8
ChangeLog update
2000-02-29 02:09:11 +00:00
4711a6113d
NEWS update
2000-02-29 02:09:08 +00:00
David Hedbor
08427debe8
Fixed a compilation problem with roxen.c due to a change in Pike to fix a
...
conflict with embedded Perl.
2000-02-29 01:12:28 +00:00
David Hedbor
3e616b5a31
roxen.c
2000-02-29 01:11:16 +00:00
David Hedbor
97cea1b933
Removed warning about ZTS since it works fine now.
2000-02-29 01:10:37 +00:00
Chuck Hagenbuch
d3d45277a1
fixing segfaults in imap_getmailboxes and imap_getsubscribed.
2000-02-28 21:03:08 +00:00
Andrei Zmievski
0e7e4d30f6
WDDX header comments now conform to the latest DTD.
2000-02-28 17:16:12 +00:00
Sam Ruby
6189e219ff
Improved handing of instances of private classes. Added servlet examples.
2000-02-28 17:02:28 +00:00
Jouni Ahto
bafbbea051
- Use *_ex-API and *_RESOURCE-macros (partial).
...
# Yell if this breaks all the hell loose. Otherwise I'll continue with the
# wonderful experience of learning PHP4/Zend-APIS.
2000-02-28 16:52:03 +00:00
Andrei Zmievski
fd629e6ee0
(php_set_session_var)
...
$foo and $HTTP_SESSION_VARS["foo"] are no longer references to the same
value.
2000-02-28 16:00:46 +00:00
Sascha Schumann
250118b1b1
.
2000-02-28 16:00:23 +00:00
Andrei Zmievski
78c9eaccd9
WDDX additions.
2000-02-28 14:04:57 +00:00
Zeev Suraski
583556a3c2
@- Switched back to the old $HTTP_*_VARS[] behavior - $HTTP_GET_VARS["foo"]
...
@ and $foo are no longer references to each other, but separate variables
@ like they were prior to PHP 4.0 Beta 4 (Zeev)
2000-02-28 05:33:43 +00:00
45315698d8
ChangeLog update
2000-02-28 02:09:33 +00:00
Chuck Hagenbuch
556e2b9c6e
fixing number of arguments to be consistent with php3 code.
2000-02-28 01:37:21 +00:00
Chuck Hagenbuch
d91d3bbee2
mcal_next_recurrence() actually works again now (in addition to not
...
crashing).
Also, cleaned up the formatting.
2000-02-28 01:16:35 +00:00
Andi Gutmans
e45c1af8b4
- Hopefully fix browscap problem
2000-02-27 20:23:31 +00:00
Andi Gutmans
a4ea1d6826
- Bye bye Perl.
2000-02-27 19:40:19 +00:00
Egon Schmid
68ab1d3d07
Fixed some protos.
2000-02-27 18:41:19 +00:00
Thies C. Arntzen
42d553c8ae
.
2000-02-27 18:21:18 +00:00
Sascha Schumann
ff84e15146
.
2000-02-27 18:12:57 +00:00
Thies C. Arntzen
68df5c5019
*** empty log message ***
2000-02-27 18:06:12 +00:00
Thies C. Arntzen
08055feffa
out of space in private (brain) memory;-)
2000-02-27 18:02:14 +00:00
Zeev Suraski
865b7ac545
*** empty log message ***
2000-02-27 17:43:35 +00:00
Zeev Suraski
863651dff1
Compile fix
2000-02-27 17:11:03 +00:00
Stig Bakken
67cc918c3c
Avoid E_NOTICE errors in PEAR code.
2000-02-27 14:46:27 +00:00
Thies C. Arntzen
48bc90a8aa
just so that i don't forget
2000-02-27 14:31:04 +00:00
Andi Gutmans
312071bd08
- Fix bug 3640
2000-02-27 05:22:48 +00:00
908cdfafe1
ChangeLog update
2000-02-27 02:09:13 +00:00
c33fa392de
NEWS update
2000-02-27 02:09:10 +00:00
Chuck Hagenbuch
4beb8a0d7d
Some formatting, and fix the crashes in mcal_next_recurrence (finally!)
2000-02-27 01:38:31 +00:00
Zeev Suraski
7a955aa1c1
@- Fixed a (fairly common) situation where error_reporting values would not be
...
@ properly restored after a call to error_reporting(), in between requests (Zeev)
2000-02-26 23:50:11 +00:00
Zeev Suraski
5222c8872d
Verified $HTTP_*[] protection
2000-02-26 22:14:49 +00:00
Zeev Suraski
ece1369191
Fix Sybase DB compilation
2000-02-26 21:35:15 +00:00
Andrei Zmievski
137e1a1379
(php_hash_environment)
...
Fixed a bunch of memory leaks from the recent HTTP_*_VARS[] protection
patch.
2000-02-26 21:20:38 +00:00
Sam Ruby
f1d0753f71
compilation error - Win32
2000-02-26 21:12:44 +00:00
Zeev Suraski
e5c8aeb3f1
- Protect $HTTP_POST_FILES[] as well
2000-02-26 18:59:29 +00:00
Andrei Zmievski
f7f7094bcf
Added notice about new functions.
2000-02-26 17:58:28 +00:00
Andrei Zmievski
685fd42965
Added get_class_vars() and get_object_vars() functions.
2000-02-26 17:54:00 +00:00
Zeev Suraski
0e90b9dc83
@- The various $HTTP_*_VARS[] are now protected, and cannot be manipulated by
...
@ user input (Zeev)
This patch is untested! I'll only have time to test it thoroughly in a couple of hours...
2000-02-26 16:36:57 +00:00
Andrei Zmievski
e6146d6bf3
Fix typo.
2000-02-26 16:21:29 +00:00
Andrei Zmievski
051a30bc65
Add a couple of entries.
2000-02-26 16:14:34 +00:00
Zeev Suraski
1bcdcebe67
Compile fix
2000-02-26 16:07:05 +00:00
Stig Bakken
3b783ef57b
register package
2000-02-26 16:03:50 +00:00
Zeev Suraski
1261271839
Allow the INI callbacks to know at what stage PHP is
2000-02-26 15:36:23 +00:00
Zeev Suraski
fd344d3602
@- Added ini_set() as an alias to ini_alter() (Zeev)
2000-02-26 14:53:18 +00:00
Zeev Suraski
88b31ecb28
@- The string None is now recognized as a keyword by the php.ini processor, and
...
@ can be used to denote an empty string (Zeev)
- Added None keyword support to the INI parser
- Removed specialized "none" code
2000-02-26 14:29:27 +00:00
Thies C. Arntzen
ae08e0500e
(sapi_send_headers) fix leak
2000-02-26 14:21:10 +00:00
Uwe Steinmann
a86e27db95
- More function in php module
2000-02-26 11:58:49 +00:00
Thies C. Arntzen
6131b78748
correct
2000-02-26 10:36:06 +00:00
Chuck Hagenbuch
3a59390e9d
fixing imap_undelete to accept 2 or 3 arguments, not 3 or 4.
2000-02-26 06:58:15 +00:00
Zeev Suraski
a508bec819
- From CODING_STANDARDS:
...
[6] NEVER USE strncat(). If you're absolutely sure you know what you're doing,
check its man page again, and only then, consider using it, and even then,
try avoiding it.
strncat() is your enemy!
- Fix several SAPI services, get rid of the default_content_type (it's always
composed of the mime type and charset now).
- Win32 works again
2000-02-26 05:03:41 +00:00
Zeev Suraski
c7843d3b4e
*** empty log message ***
2000-02-26 04:09:16 +00:00
Zeev Suraski
80782eff1f
Fix comparisons of "inf"=="inf" and "-inf"=="-inf"
...
@- Comparing the string "inf" with "inf" returned false - fixed (Zeev)
2000-02-26 04:07:03 +00:00
Stig Bakken
4d7150657c
Added simple HTTP utility class, currently with Date() and
...
negotiateLanguage().
2000-02-26 03:38:27 +00:00
Zeev Suraski
bf5cb890b0
- Convert 'PHP3' to 'PHP'
...
- Avoid declaring crypt() related salt types twice
2000-02-26 03:20:55 +00:00
Chuck Hagenbuch
1841e77906
- Removing the code that checks for Zend, since this is distinctly
...
php4-specific now.
- bringing it up to date with the mcal functions in php3
- cleanups
Unfortunately, it still segfaults. I'll file a bug report about that...
2000-02-26 03:09:11 +00:00
d4fd66687d
ChangeLog update
2000-02-26 02:09:11 +00:00
1b42c94968
NEWS update
2000-02-26 02:09:08 +00:00
Sam Ruby
bc3a6ebae0
Need to include php_ticks.c in the windows build
2000-02-25 23:37:00 +00:00
Sam Ruby
28a6ba5fc0
Win32 build error:
...
warning C4020: 'sapi_activate' : too many actual parameters
2000-02-25 23:31:42 +00:00
Sam Ruby
937db8cc80
Build failure on Win32:
...
error C2198: 'sapi_apply_default_charset' : too few actual parameters
2000-02-25 23:12:51 +00:00
Stig Bakken
3f6e1be9da
let's not ignore Zend/TSRM
2000-02-25 21:38:16 +00:00
Stig Bakken
d23e5d837a
@- Implemented default_charset and default_mimetype config directives (Stig)
...
Implemented default_charset and default_mimetype configuration directives.
Started implementing ticks in PHP.
2000-02-25 21:27:03 +00:00
Stig Bakken
1170876974
add a note about include return values
2000-02-25 21:18:01 +00:00
Zeev Suraski
33a564c971
Use the fast cache here too
2000-02-25 17:55:33 +00:00
Zeev Suraski
99d572ad14
Make 4-diogit date RFC 2068 compliant
2000-02-25 16:45:52 +00:00
Egon Schmid
10f52b4805
Breaks funclist.txt
2000-02-25 11:28:41 +00:00
Thies C. Arntzen
83d20ab305
fix obvious crash.
...
stig, in sgi-mode i still "only" get:
(haven't touched my .ini file in ages - and don't plan to)
X-Powered-By: PHP/4.0b5-dev
Content-type: iso-8859-1 <<< where is text/html?
2000-02-25 10:10:43 +00:00
Egon Schmid
c0b3d86d91
More protos.
2000-02-25 08:54:12 +00:00
Jouni Ahto
ab7bbbb160
Ported T1lib support from PHP3.
...
@- Ported T1lib support from PHP3. (Jouni)
# That's almost a lie... needs still some work.
2000-02-25 06:43:51 +00:00
f0cfb4aee8
ChangeLog update
2000-02-25 02:09:12 +00:00
8fa4f7d83f
NEWS update
2000-02-25 02:09:09 +00:00
Stig Bakken
ba03c9f2aa
started implementing directives for default mimetype/charset
2000-02-24 22:00:47 +00:00
Zeev Suraski
b51805caeb
Update .dsp
2000-02-24 20:03:58 +00:00
Egon Schmid
e387105e35
Thies I will give up until tomorrow.
2000-02-24 17:23:04 +00:00
Egon Schmid
35a5c6f192
More protos.
2000-02-24 16:53:39 +00:00
Egon Schmid
c846de3fb4
More protos.
2000-02-24 16:36:07 +00:00
Egon Schmid
0178fb1ab5
More protos.
2000-02-24 16:30:42 +00:00
Egon Schmid
76ec07c402
Is it ok, Andrei.
2000-02-24 16:03:27 +00:00
Zeev Suraski
5520a43b77
- Fix Win32 build in Release_TS* modes
2000-02-24 15:56:48 +00:00
Egon Schmid
478abf57d4
More protos.
2000-02-24 15:55:10 +00:00
Andrei Zmievski
7a22bb09d7
Revert the y2k ini patches.
...
# Adam's right, it shouldn't be here
2000-02-24 15:41:34 +00:00
Andrei Zmievski
f5cc1929eb
Turn on y2k_compliance by default.
2000-02-24 15:16:07 +00:00
Kristian Köhntopp
8481cdf62f
Set y2k_compliance to "On" by default, as we do have y2k now.
2000-02-24 15:13:28 +00:00
Egon Schmid
971a6f1702
More protos.
2000-02-24 15:11:09 +00:00
Egon Schmid
284491887f
There are more '|' and should be mixed.
2000-02-24 15:06:33 +00:00
Egon Schmid
c07b5282af
More protos.
2000-02-24 14:43:53 +00:00
Andrei Zmievski
2b9b11d3af
Fix bug #3599 .
2000-02-24 14:37:05 +00:00
Andrei Zmievski
c401bbe22e
Fix proto.
2000-02-24 14:07:35 +00:00
Sascha Schumann
3bd34bf386
@- Fixed -DEAPI inheritance from APXS. (Sascha)
2000-02-24 13:48:44 +00:00
Sascha Schumann
59d1066525
Improve APXS_CFLAGS checks
2000-02-24 13:43:28 +00:00
Thies C. Arntzen
4a37c618e6
@-Fixed possible crash in request-shutdown. (Thies)
...
(pvalue_config_destructor) gets a zval* not a zval**
2000-02-24 13:39:36 +00:00
Sascha Schumann
d64c1652e2
Define EAPI, if Apache uses EAPI
2000-02-24 13:38:03 +00:00
Sascha Schumann
fca41d2752
Remove XML_INCLUDE, we use the embedded expat always
2000-02-24 13:35:07 +00:00
Sascha Schumann
189847996d
Revert last commit (cybercash has its own version of base64.h)
2000-02-24 10:58:21 +00:00
Egon Schmid
0275e4f665
Will watch the diffs as much as I can.
2000-02-24 10:11:42 +00:00
Thies C. Arntzen
88b903da66
zorro does a Z - egon does an e?
2000-02-24 09:32:50 +00:00
Egon Schmid
fe615efb5c
More protos.
2000-02-24 08:39:02 +00:00
Egon Schmid
7da7a50c69
More protos.
2000-02-24 08:07:29 +00:00
Egon Schmid
3b5efa05f7
More protos.
2000-02-24 07:49:43 +00:00
Egon Schmid
dcf5f1a8d5
Most functions don't have protos.
2000-02-24 07:46:56 +00:00
Egon Schmid
5bccee70ae
More protos.
2000-02-24 07:38:19 +00:00
Egon Schmid
9c94a2b971
More protos.
2000-02-24 07:27:39 +00:00
Sascha Schumann
ac22cb771b
WTF?
2000-02-24 03:05:28 +00:00
1200b075dc
ChangeLog update
2000-02-24 02:09:09 +00:00
Zeev Suraski
b82f261918
Fix name
2000-02-23 22:50:57 +00:00
David Hedbor
9d1847cdd4
The Roxen PHP4 module is now a part of the Roxen CVS which makes more sense.
2000-02-23 22:27:56 +00:00
Zeev Suraski
6981775d23
Remove obsolete code
2000-02-23 21:52:23 +00:00
Stig Bakken
b275477b76
(PHP getrusage) don't define this function at all if the getrusage() function
...
is not available on the system.
2000-02-23 21:37:43 +00:00
Danny Heijl
4eae85673a
- Win32 compile fixes
2000-02-23 21:18:06 +00:00
Andi Gutmans
de6c9f35a1
- MySQL now compiles right into the PHP 4 binary on Windows
2000-02-23 21:10:18 +00:00
Sascha Schumann
ccc386c8e3
Kill another warning
2000-02-23 20:56:18 +00:00
Sascha Schumann
a965c2d73b
Remove warning message
2000-02-23 20:48:12 +00:00
Sascha Schumann
fcd0c2a03f
.
2000-02-23 20:22:55 +00:00
Stig Bakken
c475b6112a
shut up cross compiling warnings
2000-02-23 19:26:31 +00:00
Sascha Schumann
1e1e162e31
Define SQL_SUCCEEDED for Solid.
...
PR: #3383
2000-02-23 19:16:34 +00:00
Thies C. Arntzen
a8c7a9deb8
bump version number
2000-02-23 18:57:08 +00:00
Sascha Schumann
027512320f
Include <sys/types.h> and <sys/time.h> before <sys/resource.h>
2000-02-23 17:39:58 +00:00
Egon Schmid
7bc9ea2b9f
More protos.
2000-02-23 16:57:09 +00:00
Egon Schmid
11e2405489
More protos.
2000-02-23 16:38:38 +00:00
Andreas Karajannis
324391bc30
uodbc now uses zend's reference system. The crashes on request shutdown should be gone.
2000-02-23 16:34:08 +00:00
Egon Schmid
1970a527ff
More protos.
2000-02-23 16:33:01 +00:00
Egon Schmid
ecb74a01a1
More protos.
2000-02-23 16:26:10 +00:00
Egon Schmid
6aff02506e
Thies, it looks now a little bit better.
...
Please correct my dummy entries.
2000-02-23 15:54:23 +00:00
Sascha Schumann
53e1ea7728
php.h should be the first file included, so that HAVE_* are defined
2000-02-23 15:44:02 +00:00
Egon Schmid
86c96359f3
More protos.
2000-02-23 15:04:36 +00:00
Egon Schmid
eb1cc78be8
Changed here also.
2000-02-23 14:50:40 +00:00
Sascha Schumann
21ca719293
Include <sys/resource.h> for getrusage(2)
...
PR: #3479
2000-02-23 14:13:34 +00:00
Sascha Schumann
9dc605afe5
Fix include file path
...
Suggested by: stephen@ecoverage.com
PR: #3542
2000-02-23 14:08:16 +00:00
Sascha Schumann
b828e6971c
Speling mistake, fix suggested by zeekamotay@hotmail.com in #3558
2000-02-23 14:05:56 +00:00
Sascha Schumann
da8c6bea46
Proper check for getrusage(), it somehow disappeared.
2000-02-23 13:57:06 +00:00
Egon Schmid
835fb93f63
More protos.
2000-02-23 09:29:10 +00:00
Andi Gutmans
4c0058f44a
- Make libmsyql.lib compile. It fails with two unresolved symbols on link
...
with PHP 4 so I am not commiting the .dsw quite yet.
2000-02-23 05:25:28 +00:00
f788b6743b
ChangeLog update
2000-02-23 02:09:12 +00:00
e3d76db455
NEWS update
2000-02-23 02:09:09 +00:00
Sascha Schumann
67f6945e8a
Revert part of the last commit
2000-02-22 22:52:14 +00:00
Andrew Skalski
ceebb2db61
added the ftp_site() function
2000-02-22 20:50:00 +00:00
Uwe Steinmann
5283b0b821
- added support for namespaces
...
- made entities in attributes possible
2000-02-22 20:24:56 +00:00
Andrei Zmievski
98674b73bd
(PHP exec) Return last line of output properly.
2000-02-22 18:00:32 +00:00
Uwe Steinmann
9133a9b8b0
- some tiny changes to the test routine
2000-02-22 17:03:36 +00:00
Uwe Steinmann
5f34cfddbc
- dom tree isn't editable anymore. Will probably change back in the future
2000-02-22 17:03:01 +00:00
Egon Schmid
18fee17d38
More protos.
2000-02-22 16:46:40 +00:00
Egon Schmid
e06c2021c9
More protos.
2000-02-22 15:48:43 +00:00
Sascha Schumann
3b74bbe999
Print out a warning, if writing the session data failed. This might
...
happen in a request shutdown handler; php_error() worked for me in the
CGI version.
2000-02-22 14:44:29 +00:00
Sam Ruby
b117adeded
add proper dependencies
2000-02-22 14:37:45 +00:00
Andrei Zmievski
1e5749f47f
Added phpextdist script for making external extension packages.
2000-02-22 14:26:12 +00:00
Andrei Zmievski
838bab821c
Use 'cp' instead of 'install'.
2000-02-22 14:23:45 +00:00
Andrei Zmievski
e9abf023b4
Typo.
2000-02-22 14:23:09 +00:00
Andrei Zmievski
d5f6f5cb50
Remove duplicates.
2000-02-22 14:20:54 +00:00
74c94b2b1a
ChangeLog update
2000-02-22 14:14:45 +00:00
485d10cb13
NEWS update
2000-02-22 14:14:42 +00:00
Thies C. Arntzen
e0b0919375
@- Fixed OCI8 crash when returning cursors from stored-procedures. (Thies)
2000-02-22 13:56:48 +00:00
MySQL Team
da98cacafc
Ignore more
2000-02-21 18:54:27 +00:00
MySQL Team
a75a9fb8ef
Autogenerated file.
2000-02-21 16:42:14 +00:00
Zeev Suraski
2fb4209083
*** empty log message ***
2000-02-21 16:41:15 +00:00
Zeev Suraski
a763da63ad
Prepare a package
2000-02-21 16:34:50 +00:00
Uwe Steinmann
aa7efd11b7
- Ups,
2000-02-21 16:24:05 +00:00
Uwe Steinmann
5dd0055c77
- pdf_set_text_matrix() disappeared in pdflib 2.30. Put in another ifdef
...
- small fix in testdom to suppress error msg.
2000-02-21 16:23:09 +00:00
Andi Gutmans
9ff0159bf4
- Update CVS with right version
2000-02-21 16:19:02 +00:00
Chuck Hagenbuch
13f27d8063
being accountable for the imap and mcal work that I've done (and adding an
...
MCAL credits line)
2000-02-21 14:50:41 +00:00
Andrew Skalski
b99722ddf5
added myself to the FTP/IMAP credits
2000-02-21 14:35:28 +00:00
Thies C. Arntzen
b7e53b12f6
compile-fix
2000-02-21 14:01:19 +00:00
Thies C. Arntzen
361ae6886e
@- Fixed crash when magic_quotes were switched off. (Thies)
2000-02-21 12:13:27 +00:00
Thies C. Arntzen
ef1ea9c895
the next baby is likely to be RC1, but...
2000-02-21 11:02:02 +00:00
22099d934e
ChangeLog update
2000-02-21 02:09:03 +00:00
MySQL Team
8a61125a54
Some small changes for readability
2000-02-21 00:07:09 +00:00
MySQL Team
bac6df0475
Autogenerated!
2000-02-21 00:03:28 +00:00
MySQL Team
349e81e468
Update for libmysql.
2000-02-20 22:50:57 +00:00
MySQL Team
c3db2fe705
Update for libmysql.
2000-02-20 22:49:31 +00:00
Zeev Suraski
021836efcb
Go B4, go!
2000-02-20 21:30:33 +00:00
Sam Ruby
c764f2e3ab
php4ts.lib => php4ts_debug.lib when building for Debug_TS target
2000-02-20 14:27:17 +00:00
Sam Ruby
9a7909c983
Potential trap when cookies are sent
2000-02-20 13:43:51 +00:00
Sam Ruby
6e7b5172ea
Added support for arrays
...
Better support for instances of non-public classes (based on a suggestion
by Patrick Beard of NetScape)
2000-02-20 12:09:34 +00:00
Zeev Suraski
e3f95d1c5f
Win32 compile fix
2000-02-20 07:27:46 +00:00
Evan Klinger
7763337255
Eliminate compile errors relating to signals.
2000-02-20 05:32:51 +00:00
1ce2132b97
ChangeLog update
2000-02-20 02:09:08 +00:00
7eb1f5b28c
NEWS update
2000-02-20 02:09:05 +00:00
Zeev Suraski
ccaff4461b
Win32 compile fix
2000-02-19 23:43:27 +00:00
Zeev Suraski
86fa2aade2
the pipe is breaking all the time
2000-02-19 23:41:32 +00:00
Zeev Suraski
17129a0deb
It didn't all go through
2000-02-19 23:40:09 +00:00
Zeev Suraski
9b621d1c8f
Get the license right... (this won't make it to RC1 of B4)
2000-02-19 23:21:46 +00:00
Zeev Suraski
80ca00005f
Prepare for B4-RC1
2000-02-19 22:49:38 +00:00
Zeev Suraski
0ac9536d99
(c) patch
2000-02-19 22:46:42 +00:00
Zeev Suraski
43819ff6b2
*** empty log message ***
2000-02-19 22:45:49 +00:00
Zeev Suraski
bf25d1cec9
Restore the singal protection in the MySQL module
2000-02-19 22:41:53 +00:00
MySQL Team
d7c9624c5b
Add missing files to Makefile
2000-02-19 21:45:44 +00:00
MySQL Team
71613cbd57
First version from the MySQL team.
2000-02-19 21:35:02 +00:00
Zeev Suraski
739bdec582
Worked on beautifying rfc1867.c a bit
...
@- Introduced $HTTP_POST_FILES[], that contains information about files uploaded
@ through HTTP upload (Zeev)
2000-02-19 20:12:26 +00:00
Andi Gutmans
4f8ae75f4f
- Add two missing files
2000-02-19 19:51:47 +00:00
Zeev Suraski
ceba50b6ed
- Fix a nasty bug in the hash, introduced in the recent migration to macros
...
- Make array_init() and friends trackable
2000-02-19 19:21:45 +00:00
Andi Gutmans
eb9d799876
- One more fix to link with Release_TS_inline
2000-02-19 19:01:09 +00:00
Andi Gutmans
e4cc1ad900
- Link with the right php4ts library in Release_TS_inline mode.
2000-02-19 17:36:46 +00:00
Andrei Zmievski
6c330bd6bf
New function instead of fix.
2000-02-19 16:05:26 +00:00
Zeev Suraski
f77e6a4499
Generalize macros
2000-02-19 13:11:39 +00:00
Zeev Suraski
1c4532dcbf
*** empty log message ***
2000-02-19 13:11:02 +00:00
Andi Gutmans
0cda28f77b
- Add libmysql to the tree
2000-02-19 10:10:46 +00:00
fe9abd3219
ChangeLog update
2000-02-19 02:09:08 +00:00
Zeev Suraski
c54864e3af
*** empty log message ***
2000-02-18 21:15:48 +00:00
Sascha Schumann
d7e34cf6ea
Get rid of second declaration of compare_func_t. Either put in a common
...
header file or prefix it with i.e. zend_llist_
2000-02-18 20:04:32 +00:00
Zeev Suraski
f1dac01f11
- Fix some issues with the ISAPI module, made it friendlier to non Win32 platforms
...
- Added .reg file for PWS setup
- Reordered some stuff in phpinfo()
2000-02-18 17:59:44 +00:00
Andi Gutmans
e6b768105d
- Quick and dirty hack for supporting sorts. Improve later on when I wake up.
2000-02-18 14:33:28 +00:00
Sascha Schumann
02d647b5f9
Fix warnings when compiling static Apache module
2000-02-18 10:13:15 +00:00
Sascha Schumann
9935ddee99
File is found in $(srcdir)
2000-02-18 09:59:42 +00:00
Andi Gutmans
ee26ec5e9c
- Didn't compile on Win32
2000-02-18 09:18:19 +00:00
51ef369d45
ChangeLog update
2000-02-18 02:09:14 +00:00
466e30c83e
NEWS update
2000-02-18 02:09:11 +00:00
Chuck Hagenbuch
f27920214c
fixing imap_delete. All of the argcount checks were against one integer too
...
high.
2000-02-18 01:56:01 +00:00
Zeev Suraski
ae22fe4c52
- Update .dsp's
...
- Fix a possible crash bug in failed file open error message
- Fix SAPI initialization issue that could lead to a crash
2000-02-18 01:52:11 +00:00
Andi Gutmans
a0f2e9bf34
- Tiny change (I know I don't have to cast malloc() to void * but I like
...
casting my malloc()'s)
2000-02-18 00:22:20 +00:00
Andi Gutmans
18b8440c95
- Preliminary support for dynamic arrays. I need it on order to try out a
...
new hash implementation. It isn't used anywhere.
2000-02-18 00:14:23 +00:00
Andrei Zmievski
8f6a42f11b
The list grows.
2000-02-17 23:36:10 +00:00
Andrei Zmievski
087e39a7ef
Don't need dlist.h anymore.
2000-02-17 23:08:33 +00:00
Andrei Zmievski
588ea96deb
Updated to use Zend's internal doubly-linked list instead of dlist.[ch]
...
implementation.
Also fixed serialization to always output objects as struct. In the past,
if the object did not have any member variables initialized it would've
been output as array of length 0.
2000-02-17 23:07:47 +00:00
Zeev Suraski
4549b969f9
Fix duplicate freeing
2000-02-17 20:46:13 +00:00
Stig Bakken
2f633d91ca
typo
2000-02-17 20:32:51 +00:00
Uwe Steinmann
d526de3fa8
- fixed bug if attribute value is entity
2000-02-17 20:30:00 +00:00
Zeev Suraski
9eef999b38
No need for a value (not that it seems to work anyway...)
2000-02-17 20:25:08 +00:00
Zeev Suraski
a6393de6f7
Make POST handling the way it should be. RFC1867, and any future POST handlers we might
...
have in the future now obey to the variables_order directive, and there's a real way modular
way to handle POST content.
This is all untested, BEFORE_SAPI_POST_PATCH_17_FEB_2000 tagged before submission
@- Made multipart/form-data content obey to the variables_order directive (Zeev)
2000-02-17 20:23:59 +00:00
Stig Bakken
8805f09d87
install DB_pgsql and DB_storage
2000-02-17 20:22:56 +00:00
Stig Bakken
64057e992b
* prepare/execute emulation moved into DB_common
...
* returning references everywhere in DB_mysql and DB_pgsql
* added a todo note to DB_pgsql
2000-02-17 20:21:01 +00:00
Uwe Steinmann
995c565fba
- change some function name into php style
2000-02-17 15:05:24 +00:00
Andi Gutmans
f1a2ee55e0
- Add ZEND_API
2000-02-17 08:03:13 +00:00
Sam Ruby
08dc9ba24f
Allow non-public enumerations to be accessed
2000-02-17 06:44:14 +00:00
18f57df605
ChangeLog update
2000-02-17 02:09:12 +00:00
3a6dfeaa76
NEWS update
2000-02-17 02:09:09 +00:00
Frank M. Kromann
6062f199d9
Fixing up TS-modes. Non TS-modes will bee added later
2000-02-16 21:20:10 +00:00
Frank M. Kromann
b770a07e9c
Fixing up TS-modes. Non TS-modes will bee added later
2000-02-16 21:18:47 +00:00
Zeev Suraski
75b1316e70
@- Updated the browscap module to work with PHP 4.0 (Zeev)
2000-02-16 17:46:14 +00:00
Andi Gutmans
9bb9221642
-Fix bug 3504 concerning leaks with unset()
2000-02-16 16:49:44 +00:00
Zeev Suraski
a5c143f415
- Update .dsp's
...
- Fix auth_user issue
2000-02-16 16:46:01 +00:00
Andrew Skalski
2ba009c0f1
recognize 125 as success for put/get commands
2000-02-16 16:07:27 +00:00
Sascha Schumann
1ed56d5d08
Add test to avoid recursion, if the build environment is not
...
correctly set up.
2000-02-16 16:06:12 +00:00
Andi Gutmans
9b840c5f59
- Hopefully fix Thies' bug report.
2000-02-16 16:00:02 +00:00
Andrei Zmievski
fc74c302be
I'd really like that.
2000-02-16 14:50:48 +00:00
Zeev Suraski
2a4d65f3b8
ZEND_TEST_EXCEPTIONS should be defined/undefined before it's checked
2000-02-16 13:55:22 +00:00
Andi Gutmans
6b51b3f92f
Add to the news
2000-02-16 13:35:58 +00:00
Andi Gutmans
d66d7c6e3a
- In IIS ISAPI when the user presses the STOP button while the script is
...
running make sure it stops gracefully. Before it stuck the server.
2000-02-16 13:34:07 +00:00
Thies C. Arntzen
af220872b9
speedup parse_url!
2000-02-16 11:48:58 +00:00
Thies C. Arntzen
9819391442
(url_parse) only free regex if compile worked.
2000-02-16 11:47:20 +00:00
Thies C. Arntzen
1fae341a98
(url_parse) fix memory leak ( #3495 )
2000-02-16 11:41:49 +00:00
Andi Gutmans
6dba297a79
- OK, for a change I remember to put my changes in the NEWS file.
2000-02-16 09:37:04 +00:00
Andi Gutmans
c854703ad6
- PHP_WIN32
2000-02-16 09:33:19 +00:00
Andi Gutmans
f79688e848
- Fix bug #3309
2000-02-16 09:20:10 +00:00
acddf10f80
ChangeLog update
2000-02-16 02:09:10 +00:00
74daa1d74a
NEWS update
2000-02-16 02:09:07 +00:00
Zeev Suraski
e9dcdb8f97
@- Improved ISAPI module - it should no longer be necessary to set PHP as
...
@ an ISAPI filter, only as an ISAPI extension, unless you wish to perform
@ authentication using PHP. This didn't yet get enough testing, but it
@ should work (Zeev)
- Fixed auth_user/auth_password memory leak (I didn't have time to test it under
Apache, feedback welcome!)
2000-02-15 23:31:10 +00:00
Andrei Zmievski
1f19c43d9d
Fix enable again.
2000-02-15 22:55:45 +00:00
Zeev Suraski
4a211a80fb
@- Fixed RFC1867 file upload under Windows (Zeev)
...
Fixed a memory leak
2000-02-15 22:51:18 +00:00
Chuck Hagenbuch
ea459657d1
adding a missing PHP_FALIAS to imap_listsubscribed()
2000-02-15 20:06:53 +00:00
Andrei Zmievski
530bb8ec9e
Changed --with-wddx to --enable-wddx.
2000-02-15 14:43:32 +00:00
Andrei Zmievski
4661030b38
Test for --enable-xml.
2000-02-15 14:24:59 +00:00
Andrei Zmievski
24150ded0d
Changing the header.
2000-02-15 14:24:46 +00:00
Andrei Zmievski
42bcac7a18
Little correction.
2000-02-15 14:23:54 +00:00
Uwe Steinmann
385b6a22a4
- initial support for pdflib 2.20, little testing till now
2000-02-15 08:10:32 +00:00
Andi Gutmans
f331c22623
- Get rid of mistake
2000-02-15 04:54:20 +00:00
69e950ecfc
ChangeLog update
2000-02-15 02:09:11 +00:00
167f772966
NEWS update
2000-02-15 02:09:08 +00:00
Andi Gutmans
7fa17e8e08
- Put in the infrastructure for the unset() fix. Right now it has the old
...
behavior but I just need time tomorrow to add the correct behavior.
2000-02-14 20:31:01 +00:00
Andi Gutmans
95c7788747
- Fix bug in func_get_arg()
...
- Get rid of compiler warnings for unused function crash()
2000-02-14 19:08:51 +00:00
Stig Bakken
e24bb8c492
@Re-introduced "none" for disabling auto_prepend/append_file (Stig)
...
Made auto_prepend_file and auto_append_file accept "none" as parameter
to disable, like in PHP 3.0.
2000-02-14 15:36:45 +00:00
Stig Bakken
475b31f1e0
@Added DB/storage to PEAR
...
@Introduced DB warnings
Added DB/storage to PEAR.
Introduced DB warnings
Revert to using Javadoc-style comments.
DB_common now returns references in the appropriate places
2000-02-14 15:12:20 +00:00
Andrei Zmievski
f71098906b
Fix for filesize() and others on sockets.
2000-02-14 14:18:17 +00:00
b881578f67
ChangeLog update
2000-02-14 14:06:49 +00:00
0811dfe257
NEWS update
2000-02-14 14:06:42 +00:00
Hartmut Holzgraefe
f4c778ff04
imap_delet(),imap_undelete() and imap_move() will now optionaly accept UDIs
2000-02-14 13:09:51 +00:00
David Hedbor
12315f78a2
Use sapi_free_header.
2000-02-14 08:11:48 +00:00
Zeev Suraski
1cca60e704
Fix a few memory leaks
2000-02-13 22:17:09 +00:00
Zeev Suraski
603aca0bb3
Fix a memory leak
2000-02-13 22:15:06 +00:00
Frank M. Kromann
7fa7c8a8e3
Fixing compile and link with current cvs.
2000-02-13 19:06:51 +00:00
Andi Gutmans
bac7a5085e
- Not sure if len can be zero but it's better to check it once then
...
rechecking for it every loop and having an extra variable do nothing.
2000-02-13 15:59:32 +00:00
Andi Gutmans
7441ee5175
- Beautify a bit.
2000-02-13 15:56:07 +00:00
Zeev Suraski
6ae0902498
- Hopefully fix strip_tags bug
...
@- Fix overrun in strip_tags (Stas, Zend library)
2000-02-13 15:35:51 +00:00
Thies C. Arntzen
017a6353d1
@- Fixed crash in strip_tags() and related functions. (Thies)
2000-02-13 14:56:35 +00:00
Andi Gutmans
e578fad099
- Save a function call one very hash_add
2000-02-13 13:31:29 +00:00
Andi Gutmans
3811b58a7d
- Improve startup speed a bit by using the hash_*_ptr() functions
2000-02-13 13:25:01 +00:00
Andi Gutmans
bb302a755c
- Make startup a bit faster by changing some hash_update()'s and hash_add()'s
...
to hash_update_ptr()/hash_add_ptr()
2000-02-13 13:22:02 +00:00
Andi Gutmans
920b7b2841
- Fix a couple of potential bugs where we were using emalloc/efree instead
...
of pemalloc/pefree.
- Fix a bug were we potentially would be freeing the key by mistake
2000-02-13 12:45:36 +00:00
Danny Heijl
9d4e4545fe
- PHP_WIN32
2000-02-13 11:24:14 +00:00
Zeev Suraski
23b633e071
Report access violations
2000-02-13 01:24:51 +00:00
Zeev Suraski
81662eb8f4
*** empty log message ***
2000-02-13 01:22:11 +00:00
Zeev Suraski
b08f85aeef
Make all of the ISAPI variables register themselves as Server variables
2000-02-13 01:14:45 +00:00
Zeev Suraski
0b1c8b455a
Make (array) false == array() and not array(false)
2000-02-13 00:52:33 +00:00
Zeev Suraski
003ef1aa74
Trap bailout of shutdown functions
2000-02-13 00:26:54 +00:00
Andi Gutmans
bbb25255b0
- Update the C file to use PHP_WIN32
2000-02-12 19:47:49 +00:00
Andi Gutmans
d997d485ff
- Update the project file with the Win32 defines.
2000-02-12 19:46:45 +00:00
Thies C. Arntzen
d1db3691a1
having HTTP_UPLOAD_FILES[] seems logical to me
2000-02-12 18:03:09 +00:00
Thies C. Arntzen
829f4f334b
@- Workaround for bogus POST-Data from IE/Mac. (Thies)
...
@ Patch by Alain Malek <alain@virtua.ch >
fix #2944
2000-02-12 17:37:11 +00:00
Andi Gutmans
e781caf962
- Support wddx by default on Windows
2000-02-12 15:47:51 +00:00
Sascha Schumann
883c62b5e9
$ext_src_base is the source dir of the extension
2000-02-12 15:13:44 +00:00
Sascha Schumann
e7a4d5f18d
Tell expat the byte order
2000-02-12 15:08:32 +00:00
Sascha Schumann
bfe09e8305
Never use Apache regex stuff
2000-02-12 14:48:09 +00:00
Sascha Schumann
0036b8bba0
#if WIN.* => #ifdef PHP_WIN32
...
#if !(WIN.* => #ifndef PHP_WIN32
2000-02-12 14:38:31 +00:00
Sascha Schumann
f6eb750183
Use bundled expat library on UNIX. Note: Need to fix --enable-xml=shared
2000-02-12 14:28:49 +00:00
Andi Gutmans
b1a00f722e
- Fix the Release_inline part.
2000-02-12 11:41:19 +00:00
Sam Ruby
34723d02f8
on WIN32, PHP_WIN32 and ZEND_WIN32 need to be defined
2000-02-11 23:50:01 +00:00
Andrei Zmievski
a60e91b313
(request_shutdown) Prevent infinite loop on shutdown if there is an error
...
in shutdown function.
(php_array_walk) Print a warning if the walk function doesn't exist.
Split shutdown function call into a separate function that's called with
zend_hash_apply() instead of as destructor to keep hash consistent.
This fixes bug #3419 .
2000-02-11 21:14:42 +00:00
Andrei Zmievski
94be61fde5
Made a couple of typedefs for zend_hash_apply_*() calls.
2000-02-11 21:12:49 +00:00
Andrei Zmievski
0f4b9aa812
Fix prototype.
2000-02-11 19:19:06 +00:00
Thies C. Arntzen
6a79c379cc
backed out some stuff that got committed by accident & broke things:(!
...
uwe: please read twice what you are commiting!
2000-02-11 19:17:57 +00:00
Andrei Zmievski
055645b079
(PHP passthru) Shouldn't return anything.
...
This fixes bugs #3428 and #3430 .
2000-02-11 19:16:36 +00:00
Andrei Zmievski
fe93919b48
request_info.h is gone.
2000-02-11 19:02:07 +00:00
Zeev Suraski
2e7093d5ef
Update .dsp's
2000-02-11 16:28:50 +00:00
Zeev Suraski
80bdd19e03
Fine tune Andi's patch
2000-02-11 15:59:30 +00:00
Andrei Zmievski
80f4886c5a
Define phpext_oracle_ptr properly.
2000-02-11 15:34:11 +00:00
Sascha Schumann
12d3e3d775
More cosmetic things
2000-02-11 13:41:30 +00:00
Sascha Schumann
fe416bd353
Kill warnings
2000-02-11 13:25:26 +00:00
Sascha Schumann
89553f5df6
Some style(9) cosmetics
2000-02-11 12:59:08 +00:00
Andi Gutmans
f9e0d94a65
- Baby steps with PHP_WIN32 :)
2000-02-11 12:56:54 +00:00
Andrei Zmievski
a4c68caedd
Avoid the 'unexpected end of file' error.
2000-02-10 22:19:02 +00:00
Andi Gutmans
1c7f36465b
- A few more
2000-02-10 22:00:52 +00:00
Andi Gutmans
8d012c45e2
- A bit more PHP_WIN32 work
2000-02-10 21:55:30 +00:00
Andi Gutmans
29280bb9ec
- Get rid of some more evil MSVC5's and switch standard/ to use PHP_WIN32
2000-02-10 21:53:56 +00:00
Zeev Suraski
732eeeabd9
Final build fixes - that's enough for now...
2000-02-10 20:24:28 +00:00
Zeev Suraski
8709369720
Update .dsp's
2000-02-10 20:18:57 +00:00
Zeev Suraski
49e98c3ddd
request_info.c is dead! long live SAPI
...
@- Finished the server abstraction layer; All of the PHP code is now shared
@ across different servers (Apache, CGI, IIS, etc.), except for thin
@ interface modules (Zeev)
2000-02-10 20:13:08 +00:00
Zeev Suraski
6723bdd920
request_info.c is giving up
2000-02-10 20:03:17 +00:00
Zeev Suraski
6d0ab6166c
SAPIfication, Episode VI: Return of the SAPI
...
Remove mostly all references to APACHE and CGI_BINARY from the code.
- Apache include files are no longer included by any PHP code, except for the Apache SAPI module.
- No server specific code is in any of the base PHP code.
Still left to be done:
- Eliminate any references to APACHE from the few remaining modules.
- Move request_info.c's logic to SAPI
- Modify the regex function names, and globals, so that we can always
include them, without having to fear any interference with Apache;
Always use the bundled regex library
2000-02-10 19:41:21 +00:00
Zeev Suraski
9709f7ec73
The last patch wasn't that good, fix
2000-02-10 19:29:21 +00:00
Zeev Suraski
25b5cb9599
More protection...
2000-02-10 19:28:05 +00:00
Zeev Suraski
79726c8864
Make the CVS compile again
2000-02-10 19:24:44 +00:00
Zeev Suraski
42765d50e0
Only activate if we're inside an actual request
2000-02-10 19:22:36 +00:00
Zeev Suraski
5bdd18caf1
Yes, you guessed it... More cleanup
2000-02-10 18:44:33 +00:00
Zeev Suraski
41f6bca92f
More cleanup!
2000-02-10 18:19:04 +00:00
Sascha Schumann
aa50e6368a
Set ext_base, a common prefix to the per-extension build directory
...
(ext/<ext-name> for in-tree builds, "" for rest)
2000-02-10 18:07:30 +00:00
Sascha Schumann
c59993005c
- Fixed ^#[ ]+preprocessor directive$ constructions which break
...
some compilers
- Made php_xml.h useable without having xmltok.h/xmlparse.h in the include
path
2000-02-10 18:03:55 +00:00
Zeev Suraski
0fd89aa20d
More cleanup - move getenv() to SAPI
2000-02-10 17:55:01 +00:00
Zeev Suraski
7d926a0e0c
More cleanup...
2000-02-10 17:26:57 +00:00
Andi Gutmans
ec0e2d7312
- Little fix
2000-02-10 17:22:25 +00:00
Andi Gutmans
b48eebb114
- #define ZEND_WIN32 differently
2000-02-10 17:19:10 +00:00
Andi Gutmans
091acff312
- PHP_WIN32
2000-02-10 17:15:49 +00:00
Andi Gutmans
f452c7762f
- Introduce PHP_WIN32
2000-02-10 17:14:05 +00:00
Andi Gutmans
bc5c9d8d7b
- Finally beautify those WIN32|WINNT checks
2000-02-10 17:03:53 +00:00
Zeev Suraski
945e9c3f20
More cleanup
2000-02-10 16:52:07 +00:00
Andrei Zmievski
681f352a9d
Should be 'deactivate' rather than the opposite.
2000-02-10 16:48:22 +00:00
Zeev Suraski
073b148167
More abstraction
2000-02-10 16:44:59 +00:00
Zeev Suraski
59b53ea2c8
Always use getopt with CGI, never use it for anything else
2000-02-10 16:27:28 +00:00
Zeev Suraski
404bbe1f26
Move the logging mechanism to SAPI
2000-02-10 15:55:10 +00:00
Thies C. Arntzen
4a824eb8cb
@- Added NULL-support in gettype(). (Thies)
2000-02-10 15:51:50 +00:00
Uwe Steinmann
992e808451
- added funktion xmltree(), renamed dom() to xmldoc() and domfile()
...
to xmldocfile().
- testdom covers most of the functionality
2000-02-10 15:24:13 +00:00
Uwe Steinmann
e79c87aca0
- added pdf_open_tiff()
2000-02-10 10:20:31 +00:00
Thies C. Arntzen
c59c663619
@- base64_decode() will decode POST data correct. (Thies)
...
@ Patch submitted by: Turadg Aleahmad <turadg@wise.berkeley.edu >
2000-02-10 09:44:22 +00:00
Andi Gutmans
c8b321c678
- Shouldn't be there
2000-02-10 05:41:28 +00:00
Andi Gutmans
39c4687816
- Cleanup the code
2000-02-10 05:41:05 +00:00
ba256fb835
ChangeLog update
2000-02-10 02:09:09 +00:00
Zeev Suraski
de8471ab4e
Fix last known nasty bugs in Zend. It'll be cool if there are no new ones :)
2000-02-09 21:48:16 +00:00
Uwe Steinmann
e548a31510
- removed stupid leftover in testdom
...
- added more functions to domxml
2000-02-09 20:06:23 +00:00
Andrei Zmievski
ab465c5857
Return by reference, where necessary.
2000-02-09 19:41:13 +00:00
Stig Bakken
338608ab31
Added three get modes: DB_GETMODE_ORDERED, DB_GETMODE_ASSOC and
...
DB_GETMODE_FLIPPED. Docs are within.
2000-02-09 19:04:17 +00:00
Thies C. Arntzen
12f9173c6d
*** empty log message ***
2000-02-09 15:43:14 +00:00
Thies C. Arntzen
2e7f24a487
foreach() works now for objects as well.
2000-02-09 15:38:56 +00:00
Uwe Steinmann
9603c7cc83
- new function to read and parse xml doc from file
2000-02-09 14:07:44 +00:00
Uwe Steinmann
06c586932a
- fixed several bugs an did some testing. Parsing and creating simple
...
XML docs should work. See the script testdom.
2000-02-09 12:46:32 +00:00
Thies C. Arntzen
7ddde45863
shut-up CVS
2000-02-09 12:12:19 +00:00
01c532dc22
ChangeLog update
2000-02-09 02:09:10 +00:00
236db28a93
NEWS update
2000-02-09 02:09:07 +00:00
Zeev Suraski
2460569ccb
Change string->str where possible; string is basic a C++ class, so gdb can't look
...
inside variables named 'string'.
2000-02-08 22:21:43 +00:00
Zeev Suraski
ebddd16c75
Fix declaration
2000-02-08 22:18:21 +00:00
Zeev Suraski
489b705d4b
@- Fixed memory corruption in fgetss(), strip_tags() and gzgetss() (Zeev)
2000-02-08 21:29:18 +00:00
Zeev Suraski
ca5622c711
Fix an elusive bug
2000-02-08 20:10:47 +00:00
Andrei Zmievski
a7063b1aee
New function notice.
2000-02-08 18:03:19 +00:00
Andrei Zmievski
0f1c2504b1
Fix up the patch.
2000-02-08 17:59:28 +00:00
Andrei Zmievski
c2fd6752cf
Patches from Walter for strncmp() stuff.
2000-02-08 17:19:43 +00:00
Uwe Steinmann
3b5659ae92
- made hyperwave extension compile again
2000-02-08 09:47:55 +00:00
ed04cedecc
ChangeLog update
2000-02-08 02:09:10 +00:00
018072529a
NEWS update
2000-02-08 02:09:07 +00:00
Zeev Suraski
d5abab7322
Remove old unnecessary check
2000-02-07 18:53:43 +00:00
Zeev Suraski
0c470af314
Syntax highlighting was erronously emitting more than one semicolon and/or garbage with heredocs
2000-02-07 18:39:14 +00:00
Thies C. Arntzen
de0774041c
@- Made the output of var_dump() more informative. (Thies)
2000-02-07 18:00:16 +00:00
Hartmut Holzgraefe
ce62bbb674
another re-sync with the PHP3 tree
...
imap_mail deactivated for win builds, as the files
win32/imap_sendmail.c win32/imap_sendmail.h from
PHP3 are still missing
2000-02-07 15:52:47 +00:00
Thies C. Arntzen
aee1dd9ec0
kill warning
...
@- Fixed some OCIBindByName() problems. (Thies)
2000-02-07 10:31:43 +00:00
5194ebe6a8
ChangeLog update
2000-02-07 02:09:10 +00:00
264bf67584
NEWS update
2000-02-07 02:09:07 +00:00
Zeev Suraski
2da5f17e52
Fix buglet
2000-02-06 22:14:34 +00:00
Zeev Suraski
6a75df6cd7
@- Protect the ISAPI module against exceptions. Stack overflows in scripts are
...
@ now nicely detected and handled (Zeev)
2000-02-06 21:59:58 +00:00
Andi Gutmans
4b0da428e7
- Support the string offset syntax $a{2} with the regular array opcodes.
...
Will need to write new opcodes sometime but right now it's good enough
to announce the change to this string offset syntax for beta 4.
2000-02-06 20:18:35 +00:00
Thies C. Arntzen
aa539466f7
*** empty log message ***
2000-02-06 16:02:30 +00:00
Danny Heijl
44c0f591f7
- Make it compile again with new (p)list globals.
2000-02-06 15:36:44 +00:00
Thies C. Arntzen
90ac20ebb5
@- Fixed possible buffer-overflow in base64_decode. (Thies)
...
fix #3226
2000-02-06 15:18:59 +00:00
Thies C. Arntzen
59e466d54c
fix for #3413
...
@- Fixed possible buffer-overflow in setcookie(). (Thies)
2000-02-06 14:36:27 +00:00
bc8c90f0d2
ChangeLog update
2000-02-06 02:09:10 +00:00
5aae762143
NEWS update
2000-02-06 02:09:07 +00:00
Zeev Suraski
c630fe664f
Standardize
2000-02-05 22:58:59 +00:00
Andi Gutmans
7f48989be6
- This hopefully fixes the list($a, $a) = array(1,2) crash, i.e. when list
...
by mistake contains the same variable twice.
- BTW, there is no defined order of assignment. The value of $a after the
previous example is undefined, and should not be assumed to be either 1
nor 2.
2000-02-05 20:19:46 +00:00
Thies C. Arntzen
1616b5193c
@- Fixed signal() bug that could cause the Apache master process to
...
@ die. (Thies)
the problem was that we *did* register the signal in the apache
master process as well.
php_module_startup() -> REGISTER_INI_ENTRIES() -> OnChangeMaxExecutionTime() -> php_set_timeout().
from now on the .ini mechanism only sets PG(max_execution_time) and that gets
"converted" to a timeout-signal() in php_request_startup()!
we still need to think about the ZTS timeout mechanism.
2000-02-05 19:32:27 +00:00
Zeev Suraski
82dbc9c74f
Get Win32 IMAP DLL to compile
2000-02-05 19:22:17 +00:00
Andi Gutmans
8c813dbb96
- Make Win32 compile again
2000-02-05 17:58:11 +00:00
Zeev Suraski
39cb8fe0ac
Fix PostgreSQL startup routine in thread-safe mode
2000-02-05 17:26:35 +00:00
Zeev Suraski
bf609338ae
Fix
2000-02-05 17:09:00 +00:00
Zeev Suraski
b1a837ad17
More cleanup
2000-02-05 16:38:50 +00:00
Thies C. Arntzen
b29ad75564
fix compile
2000-02-05 16:36:15 +00:00
Zeev Suraski
3d297cfe81
*** empty log message ***
2000-02-05 16:31:02 +00:00
Andrei Zmievski
9d34140191
Add default registration of server vars.
...
# Zeev, what the hell is 'B'?
2000-02-05 16:13:39 +00:00
Zeev Suraski
212e25e4be
PostgreSQL compile fixes
2000-02-05 16:12:23 +00:00
Zeev Suraski
c12aa454ff
Compile fixes
2000-02-05 15:44:20 +00:00
Zeev Suraski
f207b3623e
Pass the executor globals to internal functions
2000-02-05 15:40:05 +00:00
Zeev Suraski
3a816341f9
Cleanup patches
2000-02-05 15:16:12 +00:00
Zeev Suraski
9f51f154aa
- Stop passing list/plist to internal functions
...
- Add a typedef for the pCopyConstructor function pointer
- Minor hacks
2000-02-05 15:11:24 +00:00
5ac1ee403b
ChangeLog update
2000-02-05 02:09:42 +00:00
1755f655db
NEWS update
2000-02-05 02:09:26 +00:00
Zeev Suraski
ef5d72cc37
That was the broken downcasting that prevented the interactive C++ mode from working properly under UNIX
2000-02-05 01:26:15 +00:00
Andrei Zmievski
c77aa759ea
Implemented setting of session cookie parameters.
...
@ Added session_set_cookie_params() function. (Andrei)
2000-02-04 23:34:24 +00:00
Zeev Suraski
8055da9830
Use the new state functions
...
@- If header information is sent after output has already been sent, the warning
@ message will now state the filename and line number at which the first output
@ was made (Zeev)
2000-02-04 14:54:30 +00:00
Zeev Suraski
b6197bcf90
Maintain a state of whether we're compiling and/or executing
2000-02-04 14:45:58 +00:00
2e90a7a368
ChangeLog update
2000-02-04 02:09:09 +00:00
Andi Gutmans
600e4a11c7
- Sounds nicer
2000-02-03 22:31:56 +00:00
Andi Gutmans
68413a7452
- Add some news
2000-02-03 22:29:12 +00:00
Uwe Steinmann
38fb57f9d6
- some more testing
2000-02-03 21:12:30 +00:00
Uwe Steinmann
fb46032cbb
- fixed several bugs, left some for tomorrow :-)
2000-02-03 21:11:58 +00:00
Andrei Zmievski
e0628436f3
*** empty log message ***
2000-02-03 18:51:33 +00:00
Uwe Steinmann
a6869f2333
- more functions added but none of them tested
2000-02-03 17:21:23 +00:00
Uwe Steinmann
0b414c4e4e
- fixed segm fault in hw_docbyanchor()
2000-02-03 17:20:49 +00:00
Stig Bakken
a04a28fbb5
* Started playing around with alternatives to javadoc.
...
* Fixed the "make install" rule so it doesn't temporarily break the
installed scripts.
* implemented prepare/execute emulation for MySQL including file-reference
parameters (only binmode/binfetchlen remains now)
* started fixing up the ODBC backend
2000-02-03 10:49:03 +00:00
Zeev Suraski
ddc0f79f50
fix
2000-02-03 05:06:31 +00:00
cf20c54292
ChangeLog update
2000-02-03 02:09:07 +00:00
Zeev Suraski
8b9e07dace
- Fix built-in classes with more than 5 methods
2000-02-02 22:23:37 +00:00
Andrei Zmievski
1a4e39838f
(PHP wddx_deserialize) Fixed a problem with deserializing empty values.
...
(php_addslashes) Guard against NULL data.
2000-02-02 21:53:27 +00:00
Uwe Steinmann
ef4cd692e0
- support libxml installed in gnome
2000-02-02 20:57:49 +00:00
Zeev Suraski
e1a753c3d0
Add expat to the distribution
...
Add expat support to Win32 builds
2000-02-02 18:42:04 +00:00
Andrei Zmievski
0c535aa355
(php_sock_fgets) Respect timeout event.
2000-02-02 18:00:44 +00:00
Andrei Zmievski
a6748c555e
Fixed SAPI modules to properly register their related modules.
2000-02-02 17:19:36 +00:00
Andrei Zmievski
254fdd754c
Initialize apache properly.
2000-02-02 16:49:39 +00:00
Zeev Suraski
b3ec6d5d05
- Fix the annoying problem with list(), that surfaced up after our recent cleaning
...
patches
2000-02-02 16:47:43 +00:00
Andrei Zmievski
b4864206aa
Remove crud.
2000-02-02 15:33:14 +00:00
Andrei Zmievski
625828657a
Forgot to add the actual file.
2000-02-02 14:29:27 +00:00
Andrei Zmievski
1258fbb077
Some rearranging.
2000-02-02 14:15:46 +00:00
Thies C. Arntzen
0ce0db5158
foreach note
2000-02-02 11:37:22 +00:00
Thies C. Arntzen
3ccff40306
use FREE_ZVAL where appropiate
2000-02-02 11:31:37 +00:00
Uwe Steinmann
22c5c021f0
- several minor cleanups like removing unused variables
2000-02-02 11:18:06 +00:00
Andrei Zmievski
f0f00daa92
Moved ext/apache into sapi/apache.
2000-02-02 06:09:00 +00:00
135eb22124
ChangeLog update
2000-02-02 02:09:10 +00:00
bee49753c8
NEWS update
2000-02-02 02:09:07 +00:00
Andrei Zmievski
b995d2cc2f
Added add_property_unset() and add_property_bool().
2000-02-01 23:12:48 +00:00
Andrei Zmievski
83a0278171
Not needed.
2000-02-01 22:17:06 +00:00
Zeev Suraski
c47452f729
Compile fix
2000-02-01 22:13:13 +00:00
Zeev Suraski
485412ecb1
Improve dependencies
2000-02-01 22:04:52 +00:00
Andrei Zmievski
a753430fb9
- Implemented socket_get_status() function. Some more stuff can be added
...
to it in the future.
- Renamed set_socket_timeout() to socket_set_timeout()
- Renamed set_socket_blocking() to socket_set_blocking() but kept the
old name for compatibility. It now outputs a warning that
set_socket_timeout() is deprecated but still goes through.
@ Added socket_get_status() function. Renamed:
@ set_socket_timeout() -> socket_set_timeout()
@ set_socket_blocking() -> socket_set_blocking(). (Andrei)
2000-02-01 20:02:44 +00:00
Zeev Suraski
5cabf74445
Sort out a gdb problem
2000-02-01 19:22:59 +00:00
Zeev Suraski
39adeaf4f4
Fix warning
2000-02-01 18:54:01 +00:00
Andrei Zmievski
01e6ca33ab
Socket note.
2000-02-01 17:17:08 +00:00
Sam Ruby
e30b061a06
Servlets work again! OK, so it crashes on shutdown, apparently trying to
...
report a memory leak, but it is worth committing the progress so far.
2000-02-01 16:25:43 +00:00
Andi Gutmans
131e3a06fb
- Get rid of remains of garbage.
...
- This should fix Thies' UMR
2000-02-01 16:02:38 +00:00
Thies C. Arntzen
c145f85638
make it work without the zend_hash_pointer*() functions. some work on the shutdown issues (more to follow)
2000-02-01 14:39:59 +00:00
Thies C. Arntzen
11f53347c7
moved destroying of garbage before resource-list gets destroyed - (see my previous mail)
...
zeev, andi - please comment!
2000-02-01 11:41:15 +00:00
Thies C. Arntzen
8c4ab98e17
added missing break.
2000-02-01 11:37:33 +00:00
Thies C. Arntzen
d6afe4bac7
took out zend_hash_pointer_update() & zend_hash_pointer_index_update_or_next_insert() - i really prefer link-errors instead of runtime-errors, don't you?
2000-02-01 10:40:05 +00:00
Andrei Zmievski
91bb21c522
Implemented realpath().
...
@ Added realpath() function. (Andrei)
2000-02-01 06:06:03 +00:00
79daecb7d5
ChangeLog update
2000-02-01 02:09:10 +00:00
ca48239da1
NEWS update
2000-02-01 02:09:07 +00:00
Zeev Suraski
86a19f4714
Add the complement to the putenv() security
2000-01-31 22:31:00 +00:00
Andrei Zmievski
1d1b59da76
Another todo.
2000-01-31 22:10:04 +00:00
Andi Gutmans
45686e3a55
- This has to always be done.
2000-01-31 21:09:14 +00:00
Zeev Suraski
f2d3ce4170
- Optimized garbage mechanism
...
- Fixed another buglet in the parser
2000-01-31 19:18:07 +00:00
Zeev Suraski
0517436bf9
- Fix foreach()
...
- Fix indirect reference with object properties
2000-01-31 18:21:54 +00:00
Sascha Schumann
f8e1457be0
(PHP mktime) Added windowing support for 0..70
...
@- mktime interprets years in the range 0-70 now as 2000-2070. You can
@ continue to specify the complete year (i.e. 1920) (Sascha)
2000-01-31 17:22:17 +00:00
Andrei Zmievski
409f06b330
Another point.
2000-01-31 15:37:22 +00:00
11fdbdf427
NEWS update
2000-01-31 15:35:06 +00:00
Andrei Zmievski
2f50aaa349
*** empty log message ***
2000-01-31 15:09:09 +00:00
Zeev Suraski
53a0d6fb9d
Fix typo
2000-01-30 22:14:58 +00:00
Zeev Suraski
5540028340
@- Added the ability to prevent the user from overriding certain environment
...
@ variables in Safe Mode (Zeev)
- Finished work, more or less
2000-01-30 22:10:30 +00:00
Andi Gutmans
fdbca7526f
- Fix the bug Thies found where I forgot to change a break; to NEXT_OPCODE();
...
- If you find anymore let me know
2000-01-30 21:17:29 +00:00
Zeev Suraski
01362974d6
Some more work, I'll finish this when I get home
2000-01-30 20:49:16 +00:00
Sam Ruby
54259250e5
PHP can install and run as a servlet again on Unix.
...
Still todo: allow access to ext/java functionality from within servlet.
2000-01-30 20:48:33 +00:00
Zeev Suraski
430571d62c
Initial work on the protected env vars stuff
2000-01-30 20:31:41 +00:00
Andi Gutmans
0296bba808
- Run it on align_test
2000-01-30 04:49:43 +00:00
Sam Ruby
b32b8d0d44
add installation
2000-01-30 00:42:26 +00:00
Zeev Suraski
8a2f6c5e60
@- Fixed a crash bug in strtr() working on large input strings (Zeev)
2000-01-29 17:54:30 +00:00
Sam Ruby
8a75e48bd4
Progress: sapi/servlet now builds again on Unix
2000-01-29 17:53:58 +00:00
Zeev Suraski
400f464307
Fix ``'s
2000-01-29 17:49:05 +00:00
Zeev Suraski
ad115d2088
Fix require()
2000-01-29 17:19:47 +00:00
Sam Ruby
c60c1b8172
First steps towards restoring sapi/servlet on Unix.
...
Cosmetic improvements to allow README to be read on systems with tabstop=8
2000-01-29 13:22:47 +00:00
Zeev Suraski
680d2dae32
Fix buglets in the argv/argc code
2000-01-29 12:57:08 +00:00
Rasmus Lerdorf
796ce90c1e
No comment - will explain next week
2000-01-29 12:46:59 +00:00
Zeev Suraski
b2449f929c
- Change the argument order of php_register_variable() to something more
...
intuitive.
- Make the authentication variables be a part of the HTTP_SERVER_VARS[] array
2000-01-29 11:55:44 +00:00
Andi Gutmans
6864e05ae3
- Get rid of another rule which isn't needed.
2000-01-29 10:20:05 +00:00
Andi Gutmans
7663e4f65e
- Add parser support for string offsets. This added three shift/reduce
...
conflicts but they all seem to be fine.
- Cleaned up the parsing rules a bit and made them much more compact and
elegant.
- Please CVS update and see that I didn't break anything.
2000-01-29 10:16:04 +00:00
Andi Gutmans
b862a8b728
- This will save some memory w/ GCC compilers on some platforms
2000-01-29 09:14:22 +00:00
Andi Gutmans
5da185594c
- Yet another tiny optimization.
2000-01-29 00:33:07 +00:00
Andi Gutmans
336bf35a2c
- Make loop a bit faster.
2000-01-28 22:23:28 +00:00
Andi Gutmans
059b64efbe
- Make sure its use is understood.
2000-01-28 21:46:07 +00:00
Andi Gutmans
c23056719e
- Double the speed of some key switch() tests for Win32.
2000-01-28 21:43:46 +00:00
Zeev Suraski
99f079a349
- A few fixes
...
- Added register_argv_argc directive to allow disabling of argv/argc
2000-01-28 18:29:37 +00:00
Zeev Suraski
ab16816eb8
Rename gpc_globals to register_globals
2000-01-28 17:43:41 +00:00
Zeev Suraski
7723bdbaa7
Apache module compile fixes
2000-01-28 17:38:08 +00:00
Andrei Zmievski
e02d610df8
Use sizeof on the proper string.
2000-01-28 17:29:37 +00:00
Zeev Suraski
9ab35ae393
Tried to centralize global variable registration as much as possible:
...
- Added $HTTP_ENV_VARS[] and $HTTP_SERVER_VARS[] support, which similarly
to $HTTP_GET_VARS[], contain environment and server variables. Setting
register_globals to Off will now also prevent registration of the
environment and server variables into the global scope (Zeev)
- Renamed gpc_globals to register_globals (Zeev)
- Introduced variables_order that deprecates gpc_order, and allows control
over the server and environment variables, in addition to GET/POST/Cookies
(Zeev)
2000-01-28 17:24:53 +00:00
Zeev Suraski
270eff1dfe
Use a more general and descriptive name
2000-01-28 14:57:19 +00:00
Zeev Suraski
d231293832
dsp updates
2000-01-28 14:46:19 +00:00
Andi Gutmans
a8bb0a452d
- Make Win32 compile again
2000-01-28 13:53:06 +00:00
Zeev Suraski
fc678100cd
post.c really had nothing to do with POST anymore, and it belongs to the top level directory
2000-01-28 13:31:12 +00:00
Andi Gutmans
6f63373bb2
- This makes the switch() statement twice as quick. Moving to enum
...
might make this a general speed up for other platforms too
2000-01-28 13:25:55 +00:00
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
Sascha Schumann
d0cb4d09aa
Allow shared libraries to be built everywhere
2000-01-26 21:58:46 +00:00
Andi Gutmans
8b9765a917
- Keep objects as references.
2000-01-26 21:10:46 +00:00
Uwe Steinmann
87f72a4b06
- add another comment to the script
2000-01-26 06:31:29 +00:00
Uwe Steinmann
49be46409c
- test script for domxml
2000-01-26 06:22:44 +00:00
Andi Gutmans
4585f7bf1f
- Allow is_ref to become 0 in case the refcount is back to 1.
2000-01-26 05:03:22 +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
Andi Gutmans
58a0844b1c
- Make foreach() now copy the array but use the original array. It can
...
still be optimized A LOT but it's only a performance issue and not
a feature issue.
2000-01-24 19:04:07 +00:00
Zeev Suraski
97f64988e2
NULL out the ticks callback until Stig implements it
2000-01-24 19:03:50 +00:00
Zeev Suraski
fafbf6d8da
- Implement declare() with declarables framework
...
- Implement ticks - Germany&Norway - 5 points!
2000-01-24 19:00:30 +00:00
Zeev Suraski
adec56938e
Fixes
2000-01-24 17:29:15 +00:00
Zeev Suraski
e6ba28b680
Fix an elusive bug
2000-01-22 17:02:48 +00:00
Zeev Suraski
c3677ca907
Add some order...
2000-01-20 14:26:31 +00:00
Zeev Suraski
92633067af
Indentation fixes
2000-01-20 05:27:57 +00:00
Andi Gutmans
af2ef0830a
- Optimize zend_hash_del a tiny bit.
2000-01-19 19:47:16 +00:00
Andi Gutmans
aa73f6b68f
- Hopefully fix the hash problem.
2000-01-19 19:44:32 +00:00
Andreas Karajannis
2b6d84ff37
Fix for wrong library ordering with adabas
2000-01-19 18:21:53 +00:00
Andi Gutmans
7271c050a3
- Hrm I'm not concentrating
2000-01-19 18:14:20 +00:00
Andi Gutmans
99783fe795
- Actually the destructor should run after the data is already detached
...
from the hash but before the bucket is freed.
2000-01-19 18:12:05 +00:00
Andi Gutmans
d3690efffe
- Rollback hash_apply and friends. They assume now that hash_del is reentrant
...
as it first applies the destructor and only later nukes the bucket
2000-01-19 18:05:16 +00:00
Andi Gutmans
b7b97df93f
- Run destructor before the hash structure is modified, thus, making
...
hash_del, reentrant (BLOCK_INTERRUPTIONS needs to be made a counter now).
2000-01-19 17:39:55 +00:00
Andi Gutmans
58fb1a3922
- Undo a bug we introduced. (Another one out there).
2000-01-19 17:31:33 +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
Zeev Suraski
549cf0381a
Leak fix
2000-01-18 22:18:17 +00:00
Zeev Suraski
f6ac18841d
Make the phpinfo() images work properly again
2000-01-18 19:15:45 +00:00
Thies C. Arntzen
cd377b646d
RETURN_NULL & RETVAL_NULL don't need ().
2000-01-18 08:40:45 +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
Thies C. Arntzen
bbe2172c38
use defines
2000-01-17 19:17:58 +00:00
Zeev Suraski
19d978d1c7
Get rid of the IsPointer functionality in the hash.
2000-01-17 18:45:46 +00:00
Zeev Suraski
a965dc5b40
- Fixes a newly introduced bug in the hash
2000-01-17 18:09:03 +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
ee08b81aab
- Make zend_hash_apply() (and friends) reentrant and much, much quicker
...
- Introduce zend_hash_graceful_destroy(), which allows the destructor functions to
use zend_hash_apply() and/or zend_hash_graceful_destroy()
- Switch to zend_hash_graceful_destroy() in the resource list shutdowns
2000-01-16 20:59:03 +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
Zeev Suraski
dc0e663241
Allow module startup to be separate from the compiler/executor startup
2000-01-16 19:41:15 +00:00
Thies C. Arntzen
4352cb55f1
move call to php_execute_pre_request_shutdown() into php_request_shutdown()
...
so it will be called when script terminated due to call to exit().
2000-01-16 14:34:28 +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
Thies C. Arntzen
83097f136a
fixes #3220 , #3221 finally
2000-01-16 12:34:18 +00:00
Thies C. Arntzen
437e396455
nother go on #3220 , #3221
2000-01-16 11:12:44 +00:00
Thies C. Arntzen
840697c69b
hopfully fixes #3220 , #3221
2000-01-16 10:51:55 +00:00
Thies C. Arntzen
bd375505f7
make the ht->inconsistent stuff less ugly:)
2000-01-16 09:45:10 +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
Zeev Suraski
caaeb9ff12
Fix a bug in call_user_function_ex()
2000-01-15 22:52:24 +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
Zeev Suraski
470fe972f5
Added support for $foo->{$bar}["foobar"] notation (was supported in PHP 3)
2000-01-15 17:17:32 +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
c93a189028
if ZEND_DEBUG mode is on we'll now see warnings when a HashTable is accessed
...
while it's inconsistent.
Zeev, Andi - you welcome to revert this patch if you don't like it - i find it
useful! accesssing inconsistent hashtables is one of the hardest things to track!
2000-01-15 13:40:17 +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
c7667cec62
Initialize/destroy hook lists implicitly.
2000-01-15 13:30:32 +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
Thies C. Arntzen
3ff75e5b8b
- don't set php_errormsg on errors that will cause a zend_bailout().
...
using zend_hash_update() can make things worse in this situation.
- new function php_register_pre_request_shutdown(). this way modules
can register callbacks that will be called as soon as execution of
the script is done but *before* any cleanup (global symbol_table etc)
has taken place.
2000-01-15 13:02:54 +00:00
Sascha Schumann
e078a04fd0
Complain verbosely, if a destroy failed
2000-01-15 12:17:18 +00:00
Andrei Zmievski
7d425f38ee
Since we're highlighting code, put <code> and </code> around the code.
2000-01-14 19:35:29 +00:00
Zeev Suraski
24156db252
@- Added implicit_flush INI directive (Zeev)
2000-01-13 20:39:33 +00:00
Zeev Suraski
f24931222c
Make Win32 compile again
2000-01-13 20:34:45 +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
c658fc5cbd
Only suppress including dlfcn.h when we are in PHP.
2000-01-12 19:56:12 +00:00
Sascha Schumann
bf7b292db9
Move dl stuff from acconfig.h into zend.h. That allows us finer control
...
when it comes to suppressing dlfcn.h.
2000-01-12 19:52:33 +00:00
Sascha Schumann
da67577ed3
Avoid including dlfcn.h, if we are compiling as an Apache module.
2000-01-12 19:44:35 +00:00
Sascha Schumann
4d83b0a315
Full gear backwards. We still need acconfig.h.in for additional acconfig.h
...
files (from TSRM/Zend).
2000-01-12 19:09:59 +00:00
Sascha Schumann
d67a4cec24
Add description for AC_DEFINEs
2000-01-12 19:03:34 +00:00
Sascha Schumann
03505c7226
acconfig.h.in became superflicious when we removed the config.h.stubs.
...
Let's get rid of it.
2000-01-12 19:02:23 +00:00
Sascha Schumann
3164ac7217
Fix compile on AIX, #2071
2000-01-12 18:21:39 +00:00
Sascha Schumann
0dab12ec9f
Make cvsclean work on AIX
2000-01-12 16:52:57 +00:00
Zeev Suraski
736570923d
@- Fixed a crash in pfsockopen() (Zeev)
2000-01-10 19:56:23 +00:00
Andrei Zmievski
0aeeb7b169
*** empty log message ***
2000-01-10 15:17:16 +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
d3cad4f289
Functionality & crash fixes
2000-01-09 19:16:34 +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
Rasmus Lerdorf
e8b74e56c9
# Fix silly typo
2000-01-08 14:36:12 +00:00
Thies C. Arntzen
e1334ec9bb
fix solaris compile
2000-01-07 13:30:53 +00:00
Sascha Schumann
7d5ba9d058
Add another point
2000-01-07 11:12:29 +00:00
Sascha Schumann
c32a44111f
Recognize UnixWare 7
...
Patch submitted by: opoplawski@cqg.com
2000-01-07 11:04:00 +00:00
18a476686d
ChangeLog update
2000-01-07 02:09:40 +00:00
b29063a1ea
NEWS update
2000-01-07 02:09:36 +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
3559dc0037
ChangeLog update
2000-01-06 02:09:34 +00:00
Sascha Schumann
4bd0b72b98
Fix namespace pollution
2000-01-05 19:37:13 +00:00
Sascha Schumann
b645013ee5
`cp' will do the job everywhere, even on AIX
2000-01-05 19:33:02 +00:00
Sascha Schumann
304d60c8f3
Move reentrancy initialisation/destruction into SAPI.
...
These calls only do something, if reentrancy emulation is required.
2000-01-05 19:25:19 +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
abd545682e
ChangeLog update
2000-01-05 02:09:32 +00:00
3076a86685
NEWS update
2000-01-05 02:09:26 +00:00
Andrei Zmievski
16a35c234e
Fix IS_UNSET -> IS_NULL rename.
2000-01-04 14:41:56 +00:00
Andi Gutmans
44e9e95933
- Rename IS_BC to FLAG_IS_BC. We will probably nuke it.
2000-01-04 14:25:42 +00:00
Thies C. Arntzen
af22085c51
added ZVAL_*() macros.
2000-01-04 13:56:17 +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
b8cebe32e3
- 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
there data types.
2000-01-04 13:52:52 +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
95cd75dce7
Fix typo
2000-01-04 03:01:43 +00:00
Sascha Schumann
2602a59e87
Replace all += constructs with equivalent ones
2000-01-04 02:58:46 +00:00
Rasmus Lerdorf
a2f46f8e68
# Grr
2000-01-04 02:45:42 +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
a241a80d68
ChangeLog update
2000-01-04 02:09:39 +00:00
576df38f59
NEWS update
2000-01-04 02:09:32 +00:00
Zeev Suraski
f29ee8f7ee
Fix a bug when using [] on a string
2000-01-03 20:01:54 +00:00
Joey Smith
c5589a9dd5
# There is no functions/ directory in PHP4.
...
@ number.h comes from ext/bcmath, not functions/
number.h comes from ext/bcmath, not functions/
2000-01-03 18:53:29 +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
Zeev Suraski
8e99c415ab
Fix
2000-01-03 17:26:24 +00:00
Thies C. Arntzen
f04aeeb649
even better;-)
2000-01-03 16:02:13 +00:00
Thies C. Arntzen
a667251458
yes sir!
2000-01-03 15:57:18 +00:00
Sascha Schumann
cd2b3616bb
FreeBSD 2.x/3.x fix.
2000-01-03 12:39:44 +00:00
Thies C. Arntzen
35286e2922
*** empty log message ***
2000-01-03 11:55:00 +00:00
Thies C. Arntzen
c91ecdb1a0
forgot
2000-01-03 10:57:56 +00:00
Andi Gutmans
da8ad4f20f
- Fix compare_function() for IS_UNSET
2000-01-03 05:28:34 +00:00
a51deb5371
ChangeLog update
2000-01-03 02:09:36 +00:00
7b0b368fc3
NEWS update
2000-01-03 02:09:33 +00:00
Thies C. Arntzen
c4b6a034f1
nice to have.
2000-01-02 17:56:02 +00:00
Zeev Suraski
990ac99c97
Fix
2000-01-02 16:47:00 +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
Thies C. Arntzen
bc6811ec90
renamed RET???_UNSET -> RET???_NULL
2000-01-02 11:44:33 +00:00
6570dc0e31
ChangeLog update
2000-01-02 02:09:27 +00:00
Sascha Schumann
e2961b5e11
Add some points
2000-01-01 21:20:35 +00:00
Sascha Schumann
890c1de998
Remove second (equal) definition of isleap()
2000-01-01 20:50:37 +00:00
Sascha Schumann
800ffda01c
Some cleanup
2000-01-01 20:49:34 +00:00
Sascha Schumann
6bdbd306b1
Y2K updates
2000-01-01 20:48:42 +00:00
Andi Gutmans
4a4fe0974f
- IS_NULL should be 0 when converted to a long although I don't think it
...
really should be documented.
2000-01-01 18:47:03 +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
Zeev Suraski
a6d4b30d19
Fix buglet
2000-01-01 15:31:59 +00:00
Sascha Schumann
2fd8cbff2a
Declare timezone only, if the system fails to do so.
2000-01-01 02:22:01 +00:00
3dce6028f7
ChangeLog update
2000-01-01 02:08:50 +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
4765396846
.dsp updates
1999-12-31 16:20:04 +00:00
Zeev Suraski
61b9e78e1b
- Add Release_inline builds
1999-12-31 15:41:18 +00:00
Zeev Suraski
fce126bcb1
Add new Release_inline builds to Win32. Standard release versions will not use
...
inline under Win32.
1999-12-31 15:39:54 +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
Zeev Suraski
f2d703e916
- Nuke undefined_variable_string
...
- Introduce IS_UNSET
1999-12-31 13:56:59 +00:00
Andi Gutmans
400ee6caa0
- Fix bug #3073 . continue in do..while() loops should work now
1999-12-31 12:56:48 +00:00
a95547478a
ChangeLog update
1999-12-31 02:08:59 +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
Sascha Schumann
a4e1579afa
Synchronize with rules.mk
1999-12-31 00:18:08 +00:00
Sascha Schumann
6bbe440f6d
Perform manual interpolation for EXTRA_INCLUDES and EXTRA_CFLAGS
1999-12-31 00:15:27 +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
5b2ecc5b82
Typedef socklen_t, if it is not available
1999-12-30 16:09:17 +00:00
Sascha Schumann
701a00d391
THREAD_T refers to thread ids, not attributes
1999-12-30 15:52:08 +00:00
Sascha Schumann
5a5ef06c57
Fix for Solaris incapability
1999-12-30 15:05:04 +00:00
Sascha Schumann
0c46c25633
Append liblber to satisfy symbols in libldap
1999-12-30 14:49:17 +00:00
Sascha Schumann
afe0e5601b
Let m4 decide what to do
1999-12-30 14:48:26 +00:00
Sascha Schumann
2a7fb51466
Remove second {}, that shouldn't be there
1999-12-30 14:47:32 +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
48c35eaeaa
Define to 1
1999-12-30 08:03:55 +00:00
Sascha Schumann
b92aadb6ee
Proper protection for GNU make's parallel build
1999-12-30 07:15:43 +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
6e1884a352
Rebuild config.h.in whenever configure changes
1999-12-30 06:07:56 +00:00
Sascha Schumann
531b5ecbfc
Add distclean target
1999-12-30 05:53:27 +00:00
Zeev Suraski
5864b57eec
This should enable people to use ALLOC_ZVAL() in code outside the php4.dll
1999-12-30 05:25:44 +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
e3af8ed321
We build in regex as well, create empty .deps
1999-12-30 03:23:05 +00:00
Sascha Schumann
7070605a17
Let genfiles work in the new environment
1999-12-30 03:13:21 +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
6bf3529919
Macro syntax has changed
1999-12-30 02:21:21 +00:00
Sascha Schumann
9aef66711e
Rewrite TSRM_CHECK_GCC_ARG to cache its result
1999-12-30 02:19:39 +00:00
06dda03a98
ChangeLog update
1999-12-30 02:08:57 +00:00
Sascha Schumann
d93da3c1c3
Solaris' sed does not like this expression. Since -O0 is the default,
...
we can also omit it.
1999-12-30 01:13:42 +00:00
Sascha Schumann
85a5a2873e
Let check succeed on systems which don't need special flags for pthreads.
...
Also change the message to be more informative.
1999-12-30 00:48:45 +00:00
Sascha Schumann
f62473e8c1
Don't search for config.h.stubs in sapi
1999-12-29 21:25:01 +00:00
Sascha Schumann
289dc0b6ed
Get rid of some config.h.stubs. Comments are placed into AC_DEFINE()
1999-12-29 21:24:43 +00:00
Zeev Suraski
80e20b5fea
- Change var_reset() to set bool(0) instead of string("")
...
Authors should go over their code and change it to use var_reset() instead of manually
setting it to string(""), in case they're interested in the false value.
1999-12-29 17:29:26 +00:00
Zeev Suraski
8f88443aba
time_t is an int under Linux... this should always work.
1999-12-29 17:22:47 +00:00
381349a8cd
ChangeLog update
1999-12-29 02:09:03 +00:00
Sascha Schumann
eb0971609b
Make sapi_module static. This is was the majority of SAPI modules uses.
...
I wonder how this has worked up to now..
1999-12-28 23:48:39 +00:00
Sascha Schumann
aec0bb339b
Fix -Wall warnings
1999-12-28 20:50:34 +00:00
Sascha Schumann
32ef59b290
Fix warnings
1999-12-28 20:33:02 +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
3238c7ec2c
*** empty log message ***
1999-12-28 15:23:24 +00:00
Thies C. Arntzen
155fd22de0
not too bad: i can see phpinfo()!
1999-12-28 14:09:58 +00:00
Thies C. Arntzen
fbff71727b
shut up
1999-12-28 13:59:17 +00:00
Thies C. Arntzen
f3240be016
SAPI module for phttpd - found at ftp://ftp.netuse.de/pub/phttpd/, ftp://ftp.signum.se/pub/phttpd/
...
(DOES NOT WORK YET!!)
1999-12-28 13:58:52 +00:00
Thies C. Arntzen
eb1927d94e
non-ZTS fix
1999-12-28 12:14:18 +00:00
Thies C. Arntzen
546af70783
new constant: SQL_NULL
...
new macros: RETURN_SQLNULL,RETVAL_SQLNULL,IS_SQLNULL
1999-12-28 12:05:48 +00:00
Sascha Schumann
5d65261362
Remove unneccessary include to make stand-alone build work
1999-12-28 07:54:21 +00:00
Sascha Schumann
8395516b7d
Move .PHONY special target to the end
1999-12-28 05:38:43 +00:00
53da0c2fba
ChangeLog update
1999-12-28 02:09:03 +00:00
5a0e5b7fc6
NEWS update
1999-12-28 02:08:58 +00:00
Ryan Bloom
28ef78e4cb
Beginning work to get PHP 4 to work with Apache 2.0. This change detects
...
Apache 2.0 properly.
# This is extremely experimental because neither project is release
# quality yet. I expect this to drive bugs out of Apache 2.0's configure
# process as well as provide a useful version of PHP for Apache 2.0, so it
# may take some time for this to become stable. I will commit changes to
# PHP as needed although more modifications will be on the Apache side.
1999-12-27 23:42:46 +00:00
Zeev Suraski
39d9a93acc
Fix
1999-12-27 22:03:25 +00:00
Zeev Suraski
b640c27a08
@- Fixed -c support in the standalone CGI binary (Zeev)
...
Fixed -c support in the standalone CGI binary (Zeev)
1999-12-27 21:21:26 +00:00
Andi Gutmans
c34a062f5c
- Get rid of warning
1999-12-27 19:17:40 +00:00
Zeev Suraski
b7a5b3c309
- Generalize the fast cache mechanism
...
- Add the HashTable struct to the fast cache mechanism
1999-12-27 19:07:33 +00:00
Andi Gutmans
27daca31f3
- Make zend_internal_function allocate a full zend_function structure so
...
that we don't get memory overruns and Thies doesn't get angry :)
1999-12-27 17:29:35 +00:00
Zeev Suraski
1ad06e428d
*** empty log message ***
1999-12-27 17:24:33 +00:00
Zeev Suraski
ebd4445ba2
Add cache statistics support
1999-12-27 16:42:59 +00:00
Andrei Zmievski
8eb145a3be
Format fix.
1999-12-27 14:18:30 +00:00
Thies C. Arntzen
9cf1a98d0e
fix UMR in ZTS mode
1999-12-27 11:22:57 +00:00
Sascha Schumann
7e156e73b5
Build correctly on systems which lack localtime_r
1999-12-27 10:52:46 +00:00
Sascha Schumann
4e1baf3a4e
Save a few lines while checking for -pthread[s]?
1999-12-27 09:54:12 +00:00
a770520bff
ChangeLog update
1999-12-27 02:09:03 +00:00
Zeev Suraski
3c50b7ee45
- Enable the new zval cache on debug too. No real reason not to, and it keeps
...
the code cleaner.
- ZTS compile fixes
1999-12-26 23:20:18 +00:00
Zeev Suraski
b90bc0b15c
Fix buglet
1999-12-26 22:50:08 +00:00
Zeev Suraski
90e1b0734e
Add missing file
1999-12-26 22:41:20 +00:00
Sascha Schumann
068596552d
Cache results of crypt capability checks
1999-12-26 22:35:55 +00:00
Zeev Suraski
10dd60795c
*** empty log message ***
1999-12-26 21:58:46 +00:00
Zeev Suraski
aec33aa753
Introduce a zval-specific cache - 5-15% speed improvement
1999-12-26 21:56:59 +00:00
Sascha Schumann
14f915ece6
Makefile.am: Add dummy target for dependencies
...
acinclude.m4: Cache result of broken sprintf check
1999-12-26 21:45:53 +00:00
Zeev Suraski
235386b245
Change ALLOC_ZVAL() semantics
1999-12-26 21:21:33 +00:00
Zeev Suraski
c517633b49
namespace protection
1999-12-26 20:45:42 +00:00
809a2c6254
ChangeLog update
1999-12-26 02:08:58 +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
Zeev Suraski
7f27821c5f
inline functions cannot accept varargs
1999-12-25 23:52:00 +00:00
Andi Gutmans
88b7ed053f
- Prepare Zend for the new $a{2} string offset syntax.
1999-12-25 16:46:32 +00:00
Andi Gutmans
d6f788f56a
- Get rid of two warnings
1999-12-25 09:06:55 +00:00
50e49b4a5f
ChangeLog update
1999-12-25 02:09:05 +00:00
e0690e4e12
NEWS update
1999-12-25 02:09:00 +00:00
Sascha Schumann
e3ff6b561d
Update .cvsignore, make build.mk more verbose
1999-12-24 23:29:39 +00:00
Sascha Schumann
9120a4231c
Enable dependencies for UNIX. Because this only works, if you use
...
GNU make and GCC, you need to enable it manually by running
$ touch php4/want_dependencies
1999-12-24 22:55:33 +00:00
Zeev Suraski
e25e3f092a
Use __forceinline under Win32 (inlining under Win32 gives roughly 30% performance
...
increase)
1999-12-24 21:27:55 +00:00
Zeev Suraski
735efc17f3
php3_realpath.c -> php_realpath.c
1999-12-24 20:47:35 +00:00
Zeev Suraski
21b403d4d9
Fix warnings
1999-12-24 20:47:01 +00:00
Zeev Suraski
57fbbf2036
Shut gcc up
1999-12-24 20:19:37 +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
Zeev Suraski
e28aff2f7a
Optimize
1999-12-24 16:03:44 +00:00
Sascha Schumann
fc6c531ec2
Add -rdynamic, if supported by gcc and static Apache build is used
1999-12-24 15:56:40 +00:00
Sascha Schumann
0ef049d707
Remove --enable-low-memory, and preserve LIBS from TSRM
1999-12-24 15:47:44 +00:00
Sascha Schumann
69f8907a29
Put -pthreads? into CFLAGS; libtool still filters it out during shared
...
library linking; need to find a way to prevent that.
1999-12-24 15:44:58 +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
Andi Gutmans
62b2087a84
- Create two new macro's. ALLOC_ZVAL() and FREE_ZVAL(z) and make Zend use
...
them.
1999-12-24 15:22:11 +00:00
Zeev Suraski
946df29029
- Use function_add_ref() here too
1999-12-24 14:49:57 +00:00
Zeev Suraski
af925f0a14
- Beef up the INI file reader - it now supports PHP constants, as well as
...
bitwise operators on them (no more error_reporting = 7, from now on you
can use error_reporting = E_ALL & ~E_NOTICE
@- Improved the php.ini reader to support constants and bitwise operators (Zeev)
1999-12-24 13:46:24 +00:00
9903bb93a2
ChangeLog update
1999-12-24 02:09:08 +00:00
eab451e6e8
NEWS update
1999-12-24 02:09:03 +00:00
Andi Gutmans
7a2471ede0
- Make the project compile again
1999-12-23 22:21:37 +00:00
Zeev Suraski
b996436b4c
Fix a class inheritence leak, when using static varibles in a parent class member function
1999-12-23 19:23:36 +00:00
Zeev Suraski
3b86ea7dc0
This one slipped away
1999-12-23 18:07:52 +00:00
Sascha Schumann
44ffdc182f
Rename option to match description string
1999-12-23 17:48:56 +00:00
Thies C. Arntzen
3c8990eb36
clean up basic_functions
1999-12-23 15:18:56 +00:00
Zeev Suraski
67b4b3a634
- require() of a dynamic expression now has the standard require() semantics
...
- Fixed a memory leak in require() of a dynamic expression
1999-12-23 15:03:25 +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
Sascha Schumann
9156d86009
Compile zend_execute.c with special CFLAGS. For GCC, INLINE_CFLAGS
...
contains -O0 to disable optimizations. This can be disabled by using
the appropiate parameter.
1999-12-23 13:29:26 +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
Sascha Schumann
458f3e427f
Also remove files which are ignored by default by CVS.
1999-12-23 12:34:55 +00:00
Thies C. Arntzen
4e095276af
digital cc doe not like whitespaces before a # mark
1999-12-23 08:18:35 +00:00
34075d480e
ChangeLog update
1999-12-23 02:09:10 +00:00
dd2a2a8072
NEWS update
1999-12-23 02:09:06 +00:00
Sascha Schumann
5eeb9db457
Kill compiler warning
1999-12-22 22:47:18 +00:00
Sascha Schumann
473632bf0d
Kill compiler warning
1999-12-22 22:43:55 +00:00
Sascha Schumann
81913fc35c
Clear LIBS as well, otherwise later linking checks (TSRM) might fail
1999-12-22 22:38:10 +00:00
Sascha Schumann
a1160a3eb9
Add TSRM's LDFLAGS to EXTRA_LDFLAGS
1999-12-22 22:24:20 +00:00
Sascha Schumann
aa3737e6e1
Improved check for GCC's -pthread and -pthreads flag
1999-12-22 22:23:06 +00:00
Sascha Schumann
b0e1f9ca2f
Enable --with-oci8 to use relative paths as input parameters
1999-12-22 22:16:47 +00:00
Sascha Schumann
304f1ebcb2
Don't set DEBUG_CFLAGS to -g, if -g is already in CFLAGS
1999-12-22 21:04:34 +00:00
Sascha Schumann
23f92bfa20
Limit _POSIX_PTHREAD_SEMANTICS to Solaris, and stop appending -O2. This
...
is automatically done by autoconf's AC_PROG_CC.
1999-12-22 21:02:31 +00:00
Sascha Schumann
1601a2dac9
Ignore these directory entries
1999-12-22 20:27:53 +00:00
Zeev Suraski
5ba5f00f65
export
1999-12-22 20:24:52 +00:00
Sascha Schumann
3ae459b83e
Fix ltconfig, ltmain.sh
...
Update config.sub, config.guess from libtool-1.3.4
1999-12-22 20:24:30 +00:00
David Hedbor
41392f5497
unlock the serializing lock a tad bit later
1999-12-22 20:11:48 +00:00
Zeev Suraski
11967c94fc
Those void's don't belong in there
1999-12-22 19:21:15 +00:00
Zeev Suraski
1fe57c9505
- Fix function_exists()
1999-12-22 18:49:23 +00:00
Zeev Suraski
5939b3d702
- Fix a very old legacy memory leak in break(n) statements
1999-12-22 18:10:38 +00:00
Zeev Suraski
5c56fd4793
Fix for the array() initialization bug Stas found
1999-12-22 15:34:38 +00:00
Andrei Zmievski
3d7d75cef8
Little fix.
1999-12-22 14:54:21 +00:00
Thies C. Arntzen
ec33704c39
@- Fixed buffer overruns in iptcembed(). (Thies)
1999-12-22 14:46:31 +00:00
Andi Gutmans
ff737b6090
- Remove unused variable.
1999-12-22 14:38:00 +00:00
David Hedbor
f4d14ad69c
Catch errors in the pike version-check script to avoid potential problems
1999-12-22 05:02:07 +00:00
19f0603885
ChangeLog update
1999-12-22 02:09:13 +00:00
6f5f74da55
NEWS update
1999-12-22 02:09:09 +00:00
David Hedbor
c07a14a01f
Removed C++ style comment
1999-12-22 01:09:08 +00:00
David Hedbor
4674b6d652
Some fixes in thread safe (ie ZTS) mode - now it actually seems to
...
work perfectly. Also fixed a couple of typos.
1999-12-22 01:00:30 +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
Zeev Suraski
f0888ccaef
Fix the highlighting problem. STR_REALLOC() should be used instead of plain erealloc()
...
whenever you're dealing with strings that might be coming back from the engine - there seem
to be a few other places like this in PHP.
1999-12-21 20:30:04 +00:00
Andrei Zmievski
42847f7d5c
Some more php3->php stuff.
1999-12-21 20:02:26 +00:00
Andrei Zmievski
0f1acb60a1
php3 -> php prefix work
1999-12-21 19:43:38 +00:00
Andrei Zmievski
cc205c60ae
Correct PHP's mime type.
1999-12-21 19:40:27 +00:00
Andrei Zmievski
99b83a38de
*** empty log message ***
1999-12-21 18:56:09 +00:00
Sascha Schumann
23e5aedd37
Move TSRM checks, so that additional flags can be considered
...
@- Added GNU Pth support (Sascha, TSRM library)
1999-12-21 18:04:31 +00:00
Sascha Schumann
fa1f318d74
Enable TSRM to use Pth
1999-12-21 18:03:35 +00:00
Andrei Zmievski
80bab9d939
We're using ZVAL's now.
1999-12-21 17:14:31 +00:00
Thies C. Arntzen
ff7a79c6cf
some more thoughts
1999-12-21 16:55:07 +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
Sascha Schumann
4fb1e2788f
Improve Pthreads check
1999-12-21 16:29:30 +00:00
Zeev Suraski
8a4170e6bd
- Fix Sascha's leak. Good report!
1999-12-21 15:55:46 +00:00
Zeev Suraski
3a47431122
No need to block for interruptions so early
1999-12-21 15:48:56 +00:00
Andi Gutmans
5ae205fb41
- This should have made it into the NEWS
1999-12-21 15:25:13 +00:00
Andrei Zmievski
5c3666eb00
Optimize.
1999-12-21 15:16:21 +00:00
1a48d4d155
ChangeLog update
1999-12-21 15:12:04 +00:00
07bb5d89b3
NEWS update
1999-12-21 15:11:58 +00:00
Thies C. Arntzen
51bea21b3b
would be nice & clean
1999-12-21 14:51:41 +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
Sascha Schumann
a31237a21f
Only add additional include paths, if building in a separate directory
...
(cosmetic change)
1999-12-21 02:35:07 +00:00
Sascha Schumann
12f9894f54
Workaround for broken trs
1999-12-21 02:34:26 +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
931bbca113
Change order to avoid system prototype mismatch (sprint is defined to
...
php_sprintf by php_config.h)
1999-12-21 01:22:31 +00:00
Sascha Schumann
2e07f02451
Propagate ZTS setting correctly
1999-12-21 00:15:51 +00:00
Sascha Schumann
efeadf086b
Explicitly check for C++ preprocessor, otherwise autoconf forces it onto
...
us at the wrong place (subsequent autoconf checks failed).
1999-12-21 00:02: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
Zeev Suraski
469966917b
Use Critical Sections under Win32 - shows roughly 40% performance increase under
...
multithreaded Win32!
1999-12-20 20:02:25 +00:00
Zeev Suraski
a2cc070fc2
- Fix @expr
1999-12-20 20:01:19 +00:00
Andrei Zmievski
1ad5180f28
getParameters -> zend_get_parameters
1999-12-20 17:34:55 +00:00
Zeev Suraski
be1bb28355
- Fix the crash Thies was experiencing (returning a function call could cause a crash)
...
- Fix the leak Thies was experiencing (@fcall() leaked)
1999-12-20 16:05:36 +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
724e4e2259
Fix typo
1999-12-20 08:10:38 +00:00
Sascha Schumann
839390c19c
Add and fix a few entries
1999-12-20 07:37:38 +00:00
Sascha Schumann
0d70a91b6d
Add information about chosen SAPI module to phpinfo()
1999-12-20 07:12:27 +00:00
Sascha Schumann
56a5e84f9d
Add SAPI module for thttpd server. Quote from the README:
...
This is a SAPI module for PHP 4.0 supporting thttpd, the tiny,
turbo, throttling HTTP server by Jef Poskanzer.
The module contains a patch against version 2.10 of thttpd. The patch
adds hooks to thttpd to call PHP, if a filename matches *.php. This
patch will be applied when you install PHP.
While functional, this module exists primarily to demonstrate the
ability of PHP to work in almost every web server environment.
1999-12-20 07:11:14 +00:00
Evan Klinger
f5d5637f72
Ex API
1999-12-20 02:09:58 +00:00
665078d0c4
ChangeLog update
1999-12-20 02:09:17 +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
8224207b26
Some updates
1999-12-19 21:29:24 +00:00
Zeev Suraski
4148381dff
Win32 updates
1999-12-19 21:29:06 +00:00
Zeev Suraski
2d87ae9ab6
Make these work again
1999-12-19 21:17:32 +00:00
Zeev Suraski
4d2b0715d1
libzend -> Zend
1999-12-19 21:02:54 +00:00
Sascha Schumann
b4b39c6886
Fix broken sprintf handling in PHP
1999-12-19 20:08:40 +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
Zeev Suraski
223c674c2a
- Made things work again (Thies, everybody - please check the latest CVS and see if you're
...
still getting any problems)
- Changed the interface of call_user_function_ex() to support returning of references
1999-12-19 18:54:40 +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
Sascha Schumann
143b02d8a4
Fix for missing RAND_MAX on SunOS 4.1
1999-12-19 14:27:45 +00:00
Sascha Schumann
48fb8ba3cd
Refine PEAR option. Since it does not reference anything external, it should be
...
AC_ARG_ENABLE instead of AC_ARG_WITH.
1999-12-19 13:59:29 +00:00
Andi Gutmans
213d0e2fb2
- More fixes related to the return references patch
...
- eval_string() and call_user_function_ex() still don't work.
- The libzend tree is untested and might not be stabl yet.
1999-12-19 06:39:17 +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
Evan Klinger
497b3fe2c5
Fix for #2994
1999-12-19 02:04:20 +00:00
Sascha Schumann
b3c440c06a
Add zend_sprintf.c
1999-12-19 01:50:10 +00:00
Sascha Schumann
2185831922
configure sets ZEND_BROKEN_SPRINTF
1999-12-19 01:47:43 +00:00
Sascha Schumann
bf1effa4bc
Variables are not interpolated unless we use _UNQUOTED
1999-12-19 00:10:08 +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
Andrei Zmievski
ce10927efb
Added --without-pear option.
1999-12-18 23:25:55 +00:00
Zeev Suraski
a1ad2872ee
- The tree compiles again
1999-12-18 22:40:35 +00:00
Sascha Schumann
f1fcb022be
Let autoconf check for the proper inline keyword
1999-12-18 22:37:22 +00:00
Sascha Schumann
11c9545416
automake created illegal target names due to the ZEND_SCANNER definition.
...
We now substitute @ZEND_SCANNER@ directly
1999-12-18 22:30:23 +00:00
Zeev Suraski
cd7d5546ae
- Introduce ZEND_NUM_ARGS(), to replace ARG_COUNT(ht)
...
- Rename getParameters() and friends for consistency and namespace cleanliness
1999-12-18 22:23:23 +00:00
Zeev Suraski
21e53485dd
getParameters() and friends changed for consistency and namespace cleanliness
1999-12-18 22:21:51 +00:00
Sascha Schumann
47b49c8a68
Get rid of all GNUisms in build.mk. Verified to work with BSD make,
...
SysV make, and GNU make (tested on FreeBSD-current, Solaris 7, Linux with
GNU make 3.78).
1999-12-18 22:20:05 +00:00
Andi Gutmans
28bfab716b
- Make Win32 compile again
1999-12-18 17:44:56 +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
Sascha Schumann
6c3477c003
some style changes
1999-12-18 11:14:26 +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
cce755591b
ChangeLog update
1999-12-18 02:09:18 +00:00
2ad04e47c5
NEWS update
1999-12-18 02:09:12 +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
71dddd7db7
- Made PHP_VERSION and PHP_OS work again
...
- More php3_ cleanup
@- Restored the PHP_VERSION and PHP_OS constants (Zeev)
1999-12-17 20:01:47 +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
Sascha Schumann
fb61a2c944
Define inline to inline explicitly
1999-12-17 17:50:14 +00:00
Sascha Schumann
13b2c79f6a
Remove passthru, it is not needed anymore
1999-12-17 14:36:53 +00:00
Sascha Schumann
a4c484a4d8
Build structure change. Instead of using an external configure for libzend
...
and TSRM, the core code of these configures was separated into extra m4
files which we can now include into PHP's configure. Advantages:
- better integrated
- faster
- distribution becomes smaller (only one set of libtool files)
1999-12-17 14:28:35 +00:00
Sascha Schumann
1687075373
Make Apache SAPI module compile in ZTS mode
1999-12-17 14:24:39 +00:00
Sascha Schumann
91549cfa4f
Move config code into separate file
1999-12-17 13:36:15 +00:00
Andi Gutmans
7fe808ea02
- By mistake commited this to the branch. It fixes a bug we introduced with
...
the return reference patch.
1999-12-17 08:24:10 +00:00
Andrei Zmievski
6aa9078d16
Fix up screw up.
1999-12-17 03:15:58 +00:00
5c95a044dd
ChangeLog update
1999-12-17 03:08:01 +00:00
6dcfd23eeb
NEWS update
1999-12-17 03:07:58 +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
Andrei Zmievski
17b74af457
A little renaming.
1999-12-16 17:48:32 +00:00
Sam Ruby
5da8a25c5c
force ext/java to be built as a shared library
1999-12-16 17:15:02 +00:00
Sascha Schumann
d787ea5346
(php_ns_request_handler) set SG(server_context) to non-NULL
1999-12-16 17:07:19 +00:00
5b4306d183
ChangeLog update
1999-12-16 03:08:02 +00:00
db67fc0cfd
NEWS update
1999-12-16 03:07:58 +00:00
Andrei Zmievski
679bfd11aa
And still more stuff.
1999-12-15 23:39:52 +00:00
Andrei Zmievski
43e0ef5e72
More stuff for me to do.
1999-12-15 23:38:42 +00:00
Andrei Zmievski
8a879b8fc5
Doh! I'm an idiot.
1999-12-15 22:37:05 +00:00
Andrei Zmievski
9201cfdd81
NEWS notice.
1999-12-15 22:36:24 +00:00
Andrei Zmievski
c9c6446aa1
- s/inheritence/inheritance/g
...
- Added is_subclass_of() function
1999-12-15 21:26:43 +00:00
Zeev Suraski
d8000684bf
- Implement ability to turn off support for call-time pass by reference
1999-12-15 21:20:34 +00:00
Zeev Suraski
ced9cee10c
- Implement return by reference:
...
- In function declaration instead of the return statement
- In the assignment phase
- Implement ability to turn off support for call-time pass by reference
1999-12-15 20:15:32 +00:00
Uwe Steinmann
3c700f9260
switched to Ex Api
1999-12-15 19:10:54 +00:00
Andrei Zmievski
158979f838
(return_one) removed.
...
(OnChangeMemoryLimit) Only defined if MEMORY_LIMIT is defined.
1999-12-15 17:41:19 +00:00
Andrei Zmievski
b68f3af503
Added date/time stamping to PHP error log file. Idea credit goes
...
to Joey.
@ Added date/time stamping to PHP error log file. (Andrei, Joey)
1999-12-15 17:37:05 +00:00
Andrei Zmievski
22344ea595
val->len
1999-12-15 16:54:46 +00:00
Andrei Zmievski
005c9d0341
Fixing.
1999-12-15 16:07:04 +00:00
Andrei Zmievski
46b14f85c3
Faster, must go faster.
1999-12-15 15:59:04 +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
795295206b
Not yet, Joey.
1999-12-15 03:41:01 +00:00
7bb95460d5
ChangeLog update
1999-12-15 03:08:10 +00:00
704151ca19
NEWS update
1999-12-15 03:08:05 +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
Andrei Zmievski
3fdf0dbedc
- Added class_exists()
...
- Moved function_exists() here from from the basic_functions.c
- Modified method_exists() to convert method name to lowercase
when checking
1999-12-14 21:15:24 +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
dfe01a37a4
ChangeLog update
1999-12-14 02:08:05 +00:00
660e392458
NEWS update
1999-12-14 02:08:01 +00:00
Sascha Schumann
63e8df2320
Postpone the execution of post request startup handlers until the symbol_table is populated
1999-12-14 00:01:08 +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
9ac3e94dcc
Reapply configuration for each request
1999-12-13 16:45:54 +00:00
Sascha Schumann
08d762cb0c
(php_ns_config) use 3.0's Ns_ConfigGetPath instead of Ns_ConfigPath
1999-12-13 16:23:57 +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
00e3bb678d
ChangeLog update
1999-12-13 02:08:11 +00:00
050835e955
NEWS update
1999-12-13 02:08:07 +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
Stig Bakken
f30278b96b
- Documented classes, methods and constants in the source
...
- Defined DB_ERROR_NOSUCHTABLE and DB_ERROR_NOSUCHFIELD
- Renamed DB_common::capableOf to DB_common::provides
- Cleaned up the error code mapping
- Added simpleQuery method in DB_mysql
- Changed getXxx methods in DB_common to use simpleQuery
- Fixed bug in DB_common::getAssoc
1999-12-12 15:55:56 +00:00
Sascha Schumann
1627a57d96
Remove trailing white-spaces
1999-12-12 14:22:55 +00:00
Sascha Schumann
591cdd1cfb
Reformat ini entries and add new options (cache_limiter, cache_expire).
1999-12-12 14:17:22 +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
Sascha Schumann
4762285e40
Disable global lock for now. We will have to find a way to test subsystems
...
for thread-safety, and lock them appropiately, if they aren't thread-safe.
1999-12-12 10:49:03 +00:00
Stig Bakken
5d00c366e7
"setup" is obsolete
1999-12-12 08:38:10 +00:00
696ab2b0e6
ChangeLog update
1999-12-12 02:08:09 +00:00
a42bf72ec0
NEWS update
1999-12-12 02:08:06 +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
Sascha Schumann
7365698268
Moving APXS-specific checks into respective config.m4. The placement of
...
`%APXS -q..` caused error messages, if APXS was not used.
1999-12-11 17:48:41 +00:00
Andreas Karajannis
4bd855e69f
Don't include functions not supported by Solid
1999-12-11 10:56:42 +00:00
e8c6e01dc5
ChangeLog update
1999-12-11 02:08:09 +00:00
Andrei Zmievski
2b2e6ff6cb
Fixed #2952 .
1999-12-10 14:27:19 +00:00
Stig Bakken
4b6a03236b
Added makerpm by Samuel Liddicott <sam@campbellsci.co.uk>
1999-12-10 13:00:13 +00:00
Sascha Schumann
969c727b1e
Output information about HTTP headers
1999-12-10 13:00:09 +00:00
Sascha Schumann
e08b2e7b0f
Export sapi_free_header()
1999-12-10 12:38:20 +00:00
Stig Bakken
415d53e751
remove uninteresting NEWS entries
1999-12-10 08:13:15 +00:00
Andrei Zmievski
d18ff45c4c
A few more fixes for php_strtolower().
1999-12-10 04:44:32 +00:00
a14d2ce1b2
ChangeLog update
1999-12-10 02:08:33 +00:00
a70d0097c9
NEWS update
1999-12-10 02:08:28 +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
Zeev Suraski
7bbe67d25a
@- Fix a crash in the Apache syntax highlighting mode (Zeev)
1999-12-09 17:13:20 +00:00
Thies C. Arntzen
06489b6ebe
just went thru string.c and wrote down the functions that are obviously NOT binary-safe
1999-12-09 14:44:54 +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
f8df1e98d9
ChangeLog update
1999-12-09 02:08:13 +00:00
580dd72a24
NEWS update
1999-12-09 02:08:10 +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
Stig Bakken
208696f489
Added some more error defines (CANNOT_CREATE/DELETE/DROP).
...
Folded up the methods in DB.php.
Started adding documentation for DB_result methods.
Added doOne() doRow() and doAssoc() methods in DB_common.
Added numCols() to DB_mysql.
1999-12-08 13:49:09 +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
9e2cd01ac5
ChangeLog update
1999-12-08 02:08:15 +00:00
dac598790b
NEWS update
1999-12-08 02:08:12 +00:00
Andrei Zmievski
c2eae47a23
Oops.
1999-12-07 21:41:34 +00:00
Andrei Zmievski
44f6f66bd2
(DB::parseDSN) check for an extra / at the end purely to guard against
...
user error
1999-12-07 21:38:51 +00:00
Andrei Zmievski
9c89f731e8
(DB::parseDSN) Remove extraneous / at the end of the spec if no database
...
is specified.
1999-12-07 21:30:38 +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
Sam Ruby
8abf724678
Provide basis for shared libraries/dlls to contain internal extensions
1999-12-07 20:49:01 +00:00
Andrei Zmievski
6068b5bdac
Apparently already implemented by Thies.
1999-12-07 19:18:04 +00:00
Andrei Zmievski
be197551c7
Revert the patch.
1999-12-07 18:18:17 +00:00
Rasmus Lerdorf
7284ec7ab4
Add check for broken apxs script
1999-12-07 16:52:13 +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
Andi Gutmans
e36be38140
- opened_path should not be freed here as the zend_file_dtor() takes care
...
of it. This doesn't fix the bug report for the crash of highlight_file()
though.
1999-12-07 16:00:39 +00:00
Sascha Schumann
7ac99e5aa3
Move it to the right place
1999-12-07 15:22:49 +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
Sascha Schumann
c89b7e195c
Ignore generated files
1999-12-07 12:17:53 +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
Zeev Suraski
3d160b5b7c
Support ZTS definition in zend_config.h
1999-12-07 06:19:42 +00:00
ee1b5bdcec
Email change.
1999-12-07 03:20:29 +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
2b843e37a0
ChangeLog update
1999-12-07 02:08:16 +00:00
32f91f5e6b
NEWS update
1999-12-07 02:08:13 +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
ef596bbafb
Move the #include of zend-parser.h out of zend_compile.h
1999-12-06 20:42:44 +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
Zeev Suraski
291066c459
More localization
1999-12-06 19:03:57 +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
Sascha Schumann
b47cb50ccd
Separate libpaths into PHP_LDFLAGS, so that we can address them
...
separately (required for Apache build).
1999-12-06 15:32:01 +00:00
Zeev Suraski
00c3ac908b
Localize a couple of macros
1999-12-06 15:31:06 +00:00
Zeev Suraski
5df43c134f
opened_path could end up uninitialized - fixed
1999-12-06 15:30:44 +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
Sam Ruby
eee0bdadc4
Hmmm...must have misplaced the getcwd/chdir logic...
1999-12-06 04:58:55 +00:00
Evan Klinger
94bf353b51
*** empty log message ***
1999-12-06 02:24:01 +00:00
983ea2696e
ChangeLog update
1999-12-06 02:08:20 +00:00
5aeba52b34
NEWS update
1999-12-06 02:08:14 +00:00
Sascha Schumann
e793b11363
Give it a nicer looking module name
1999-12-05 23:38:25 +00:00
Zeev Suraski
624117e5e4
*** empty log message ***
1999-12-05 23:32:21 +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
Sascha Schumann
420b11a0fd
Allow AC_ADD_LIBRARY to append library
1999-12-05 23:10:51 +00:00
Sascha Schumann
f2a090c6f1
Add rpaths to LDFLAGS during configure, drop them later.
1999-12-05 22:41:08 +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
Sascha Schumann
4a445c1bb7
Fix leak in pthreads, and add initial support for GNU Pth
1999-12-05 21:55:43 +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
d9a86285f6
Fix some warnings
1999-12-05 16:43:32 +00:00
Sascha Schumann
4a60eed469
Fix some warnings
1999-12-05 16:25:32 +00:00
Sascha Schumann
9417570dc1
Prepend added libraries and separate LDFLAGS handling
1999-12-05 16:24:20 +00:00
Sascha Schumann
70df2d7478
Fix some warnings
1999-12-05 16:23:45 +00:00
Sascha Schumann
e5d956dbac
Add ts_allocate_dtor, use ts_allocate_[cd]tor where appropiate.
1999-12-05 16:21:37 +00:00
Rasmus Lerdorf
45f9527518
More maintainer-mode cleanups
1999-12-05 14:37:38 +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
2aaece2db6
ChangeLog update
1999-12-05 02:08:16 +00:00
289543b5f9
NEWS update
1999-12-05 02:08:13 +00:00
Zeev Suraski
8bd56f2b7e
Win32 .dsp update
1999-12-04 23:53:08 +00:00
Zeev Suraski
f362208033
That one is actually supposed to have 'php3' on it - it's the PHP 3.0 compatibility defines for 4.0
1999-12-04 23:03:01 +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
Sascha Schumann
68aa4997e3
Create ``libs'' subdirectory as the current user and add /usr/ucblib
...
always to the libpath, if it exists (#2752 ).
1999-12-04 19:56:08 +00:00
Sam Ruby
0d96b8da6b
Build error
1999-12-04 19:48:08 +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
83ce7c13d1
*** empty log message ***
1999-12-04 18:57:44 +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
Sascha Schumann
7fc583f7ff
Don't overwrite EXTRA_LIBS, some ext config.m4s access it directly
1999-12-04 18:20:55 +00:00
Sascha Schumann
8713ce5d38
Remove code references to serverapi
1999-12-04 18:06:15 +00:00
Sascha Schumann
d1820e47af
Use LIBS instead of EXTRA_LIBS, so that inter-library dependences can
...
be tested for using standard autoconf macros.
1999-12-04 18:03:00 +00:00
Thies C. Arntzen
b1eb7855cd
some more ideas
1999-12-04 17:30:39 +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
Andrei Zmievski
f962a35df7
Added zend_set_hash_symbol() function.
1999-12-04 16:50:18 +00:00
Thies C. Arntzen
0a276c2ff3
backed out last change after andi decided on a different approach.
1999-12-04 16:08:43 +00:00
Andi Gutmans
4c8259b538
- Call ZEND_SET_SYMBOL_WITH_LENGTH() with refcount 1 from the standard
...
ZEND_SET_SYMBOL()
1999-12-04 14:56:44 +00:00
Stig Bakken
8f91051dda
Fix shared mode for gd/xml/mysql extensions.
1999-12-04 14:45:38 +00:00
Zeev Suraski
efc84af940
- Implement get_used_files() and get_imported_files()
1999-12-04 14:26:26 +00:00
Zeev Suraski
ad30b198d4
- Added get_used_files() function - returns a hash mapping the use()'d files
...
to their full path (Zeev)
1999-12-04 14:24:36 +00:00
Zeev Suraski
9baad80459
- Break the zend->PHP dependency introduced by the .php extension for use(),
...
by providing an API
- Enable Stig's patch for use() extensions (it wasn't refered to by the parser)
- Fix a memory leak in that code
1999-12-04 13:26:57 +00:00
Zeev Suraski
da5464b145
- zend_file_handles must now flag whether their .filename property should be
...
free by Zend or not (uses e*() functions)
1999-12-04 13:25:41 +00:00
Thies C. Arntzen
502bb337fe
the new SET_VAR_* macros forgot to set the refcount!
1999-12-04 13:18:08 +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
Sam Ruby
6fb3b8c66f
build error - windows
1999-12-04 13:13:45 +00:00
Thies C. Arntzen
f6e8a597a9
fixed tiny leak
1999-12-04 12:06:32 +00:00
Stig S. Bakken
aaadc71d5d
Fix typo, add prototype for use_filename().
1999-12-04 11:45:14 +00:00
Stig S. Bakken
3570e8891d
"use" should use arg+".php" as parameter to require
1999-12-04 11:43:07 +00:00
Zeev Suraski
cad92c80cc
This should fix the fd leak with include()/require()
1999-12-04 10:59:30 +00:00
2b3f80b776
ChangeLog update
1999-12-04 02:08:21 +00:00
34e71e378c
NEWS update
1999-12-04 02:08:18 +00:00
Sascha Schumann
689265145a
Fix for #2909
1999-12-03 22:08:32 +00:00
Sam Ruby
70b97864f8
windows build errors
1999-12-03 20:08:24 +00:00
Sascha Schumann
7c43bda4fb
inet_aton is in libresolv on Solaris 2.5.1
1999-12-03 18:53:41 +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
Andrei Zmievski
e345066140
*** empty log message ***
1999-12-03 17:03:35 +00:00
Andrei Zmievski
fec413c557
Added ZEND_SET_GLOBAL_VAR_WITH_LENGTH_EX() macro.
1999-12-03 16:59:04 +00:00
Sascha Schumann
2e024a0005
Improve locking when O_EXCL is available
1999-12-03 16:19:38 +00:00
Rasmus Lerdorf
c7b4d3cbf1
# I hate these * empty log message * notes that get added to the changelog
...
# telling us that nothing was added to the changelog. The very fact that
# this empty log message is added to the changelog makes the message
# invalid.
1999-12-03 15:52:22 +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
39a99dd695
2<<30 (== 1<<31) overflows 32-bit signed int, reverting to 1<<30
1999-12-03 15:16:32 +00:00
Sascha Schumann
f19426e412
Solaris needs -D_REENTRANT to define prototypes for localtime_r etc.
1999-12-03 15:12:20 +00:00
Sascha Schumann
7c209d774c
Use socklen_t where appropiate
1999-12-03 14:57:29 +00:00
Sascha Schumann
ebaeb919da
Add check for socklen_t (we cannot use AC_CHECK_TYPE, because socklen_t
...
is defined in sys/socket.h).
1999-12-03 14:50:32 +00:00
Thies C. Arntzen
0d7e971355
revert my last patch - WARNING: we leak fd's again.
...
add initialzation of opened_path highlight_file()
1999-12-03 14:07:00 +00:00
Stig Bakken
6728e8e8d5
forgot the "@"
1999-12-03 13:35:10 +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
Sascha Schumann
639c491da4
Add X-Powered-By header in all configurations to ease PHP usage metering
1999-12-03 12:21:57 +00:00
Sascha Schumann
964bf9f288
(php_ns_sapi_header_handler): use sapi_free_header()
1999-12-03 11:46:04 +00:00
Andi Gutmans
c34560b53d
- Remove _EX and make it the old _LENGTH
1999-12-03 07:54:17 +00:00
Rasmus Lerdorf
a050e023df
# Here you go Andrei
1999-12-03 06:01:30 +00:00
Rasmus Lerdorf
162adb778e
@ PHP 4 scripts will now obey the max_execution_time setting and actually
...
@ time out (Rasmus)
# Note that Apache clears all signal handler including SIGPROF before
# calling the content handler, so even though we set our itimer before
# this in the PHP_INI stuff, Apache kicks sand in our face and we need
# to set the timer again just before we start parsing
1999-12-03 05:03:16 +00:00
Sam Ruby
1e13f0fd20
Support DATE_to_pval and DISPATCH_to_pval
1999-12-03 02:25:22 +00:00
0c75839820
ChangeLog update
1999-12-03 02:08:24 +00:00
7107266d7c
NEWS update
1999-12-03 02:08:21 +00:00
Andi Gutmans
2f5efbdea6
- Add _EX macro for Andrei
1999-12-02 20:38:41 +00:00
Rasmus Lerdorf
c92db34492
# just some symbol cleanup while I am browsing through looking for this
...
# timeout problem
1999-12-02 20:00:16 +00:00
Rasmus Lerdorf
67f4cfe1aa
@ Add optional socket path to the mysql_?connect() functions
1999-12-02 19:09:01 +00:00
Zeev Suraski
fdcaba4096
Solve a couple of compile issues
1999-12-02 18:59:29 +00:00
Thies C. Arntzen
b92d70aabe
php_fopen_wrapper_for_zend() does *NOT* insert the opened files into any list - the caller needs to fclose() the file. (not sure if this is desired)
...
fixed "Uninitialized memory read" when including URLs
1999-12-02 14:37:16 +00:00
Andrei Zmievski
6fa71d811b
*** empty log message ***
1999-12-02 03:44:06 +00:00
Sascha Schumann
117d6a4151
Let user override default setting of ``make''
1999-12-02 02:14:06 +00:00
ccd5da30be
ChangeLog update
1999-12-02 02:08:24 +00:00
1b6bead88f
NEWS update
1999-12-02 02:08:17 +00:00
Sascha Schumann
23a1a8246e
Define COMPILE_DL_MODNAME, if module is built as dynamic module
1999-12-01 23:46:17 +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
Stig S. Bakken
93536507f6
Fix warnings surfacing in maintainer-mode.
1999-12-01 22:55:20 +00:00
Zeev Suraski
2ddc4fe4f5
Make it possible to explicitly set refcount in ZEND_SET_SYMBOL_WITH_LENGTH(), part 2
1999-12-01 22:00:58 +00:00
Zeev Suraski
158088ca1a
Allow to set the reference count explicitly for ZEND_SET_SYMBOL_WITH_LENGTH()
1999-12-01 21:47:47 +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
Stig Bakken
9bba81c296
remove some debug output
1999-12-01 19:17:48 +00:00
Sascha Schumann
3b515617a4
Make array.c thread-safe
1999-12-01 17:21:52 +00:00
Sascha Schumann
fce775e8a3
Remove fsock-specific members
1999-12-01 17:07:54 +00:00
Sascha Schumann
94c36e8846
Make fsock module thread-safe
1999-12-01 17:07:25 +00:00
Andi Gutmans
14382523bf
- Forgot to check for BP_VAR_IS in the fix made for Thies' string offset
...
problem.
1999-12-01 14:55:58 +00:00
Sam Ruby
4f6a88aa9f
use new PHP_BUILD_THREAD_SAFE macro
1999-12-01 14:26:01 +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
d1056090dc
ChangeLog update
1999-12-01 02:08:23 +00:00
9ee28d537f
NEWS update
1999-12-01 02:08:18 +00:00
Rasmus Lerdorf
ff9b75314f
# Fix broken files
1999-12-01 01:26:02 +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
Sascha Schumann
adf12b60d3
Add '--enable-low-memory' option.
1999-11-30 21:22:02 +00:00
Sascha Schumann
cfc7e27a7f
Add PHPAPI for Windows.
1999-11-30 20:46:07 +00:00
Andi Gutmans
3a17630121
- Applied Thies' bug fix. Great work!
1999-11-30 20:37:52 +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
Andi Gutmans
5463dd5b38
- Add use support (behaves like require, but will not use the same file twice)
...
- Add import support (behaves like include, but requires parentheses; will not
use the same file twice; Currently, it is not yet properly implemented, and
only behaves like include)
1999-11-30 20:15:04 +00:00
Andi Gutmans
08304a3c93
- Fix problem Thies reported. We by mistake separated variables which were
...
being fetched for read only.
1999-11-30 17:10: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
Thies C. Arntzen
bc38c052e9
the Zeus-Guys were nice enoug to give us a call similar to DllMain()!
1999-11-30 06:49:00 +00:00
Shane Caraveo
1e6c79bc15
need to prevent multiple usage
1999-11-30 03:54:51 +00:00
2086e31aa8
ChangeLog update
1999-11-30 02:08:31 +00:00
558c3272f5
NEWS update
1999-11-30 02:08:26 +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
Thies C. Arntzen
d1f21493e1
ISAPI wants to run in ZTS
1999-11-29 21:32:11 +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
Andrei Zmievski
8f39384d91
Modified to use preg_* functions.
1999-11-29 18:10:05 +00:00
Sam Ruby
e3b5b98813
add .cvsignore
1999-11-29 15:49:26 +00:00
Sam Ruby
fd9265362c
Initial alpha-level of sapi/servlet. See README for details.
1999-11-29 15:36:25 +00:00
Stig Bakken
a76c133df1
more PECL -> PEAR renaming
1999-11-29 15:18:01 +00:00
Stig Bakken
4ba143907b
- DB classes now inherit DB_common
...
- Added DB_ERROR_NODBSELECTED
- Added DB::connect($dsn[, $persistent] which creates a DB object and connects
$dsn is a "data source name" in a format specific to DB:
phptype(dbsyntax)://username:password@protocol+hostspec/database
Don't worry, such a dsn can be as short as "mysql"
- Added mysql support
1999-11-29 15:13:55 +00:00
Andrei Zmievski
e4191245cd
*** empty log message ***
1999-11-29 14:43:31 +00:00
Andrei Zmievski
85d8128be8
Name update.
1999-11-29 14:42:57 +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
6c6c0a630c
Remove some more redundant checks. buildconf is not but a simple wrapper
...
for build.mk & co.
1999-11-29 10:22:34 +00:00
Sascha Schumann
80cb563d0a
Revert last patch (leak in libzend is fixed now)
1999-11-29 07:28:12 +00:00
33394b1d57
ChangeLog update
1999-11-29 02:08:25 +00:00
3c6fb15d55
NEWS update
1999-11-29 02:08:21 +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
Stig Bakken
d9eb533c80
@Renamed "PECL" to "PEAR" (PHP Extension and Add-on Repository).
...
Renamed "PECL" to "PEAR" (PHP Extension and Add-on Repository).
New name courtesy of Peter Bowen <pzb@ARISTOTLE.ORG >.
1999-11-28 23:01:57 +00:00
Stig Bakken
263c6856dd
@buildconf now uses build.mk
...
Removed redundancy in buildconf/build.mk, buildconf now runs "make -f build.mk"
1999-11-28 22:51:50 +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
Sascha Schumann
d3c941fc5f
Add buildmk.stamp
1999-11-28 13:47:17 +00:00
Sascha Schumann
6803c62507
Add version checks from buildconf
1999-11-28 13:45:17 +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
236cd42699
ChangeLog update
1999-11-28 02:08:24 +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
93bd6bc9de
*** empty log message ***
1999-11-27 21:26:18 +00:00
Andrei Zmievski
82fb207f44
Don't cry, CVS.
1999-11-27 21:19:14 +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
Zeev Suraski
d7f3b5a182
- Win32 thread unsafe build updates
1999-11-27 21:08:49 +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
Zeev Suraski
33bdf19051
Update Win32 build
1999-11-27 17:11:20 +00:00
Sascha Schumann
b6e6dddc30
Only compile the scanner, if trans_sid is enabled
1999-11-27 16:15:35 +00:00
Sascha Schumann
64a9858874
Test for PHP_THREAD_SAFETY
1999-11-27 12:04:14 +00:00
Sascha Schumann
c73e2731c7
PERL_PATH is used nowhere
1999-11-27 11:58:16 +00:00
Sascha Schumann
e4812c0fa3
Add --enable-experimental-zts
1999-11-27 11:33:13 +00:00
8812857f35
ChangeLog update
1999-11-27 02:08:29 +00:00
Zeev Suraski
85210ed9bf
Get Win32 to compile again
1999-11-27 00:48:50 +00:00
Zeev Suraski
4481898ff7
Add ability to disable the memory cache
1999-11-27 00:04:36 +00:00
Zeev Suraski
6cdebd85a2
*** empty log message ***
1999-11-26 23:56:15 +00:00
Zeev Suraski
74f6202aa6
- Fix fd leak in ZTS mode
1999-11-26 23:54:05 +00:00
Zeev Suraski
6be3723f3d
UNIX/non ZTS compile fixes
1999-11-26 23:48:04 +00:00
Zeev Suraski
58153dfed0
- Improve the file handle closing code
1999-11-26 23:45:22 +00:00
Zeev Suraski
cd53944435
- Modify zend_llist_del() to receive a comparison function
1999-11-26 23:44:41 +00:00
Sascha Schumann
1a851b5d03
Kill undefined reference
1999-11-26 22:37:45 +00:00
Sascha Schumann
56a9e10b73
Enable _POSIX_THREAD_SEMANTICS for all configurations testwise
1999-11-26 21:45:57 +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
Zeev Suraski
71b1219ee3
This request_shutdown() is no longer needed (never was needed really)
1999-11-26 20:19:28 +00:00
Sascha Schumann
3d092da662
unposixfy calls to TSRM
1999-11-26 19:27:08 +00:00
Sascha Schumann
1f9a496601
Define macros only, if one of the locking _r functions is used
1999-11-26 19:09:57 +00:00
Sascha Schumann
6d97609a31
Avoid fd leak which appears when using ZEND_HANDLE_FILENAME
1999-11-26 19:01:26 +00:00
Zeev Suraski
b53bc48847
This should get the file to close properly
1999-11-26 18:37:06 +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
ac8736c8ee
Rebuild libzend.la, if the scanner was rebuilt
1999-11-26 17:53:56 +00:00
Sascha Schumann
ec18b99d86
Fix typo (shutdown -> startup)
1999-11-26 17:37:22 +00:00
Sascha Schumann
524f0b1b0a
- move strtok_r into reentrancy.c
...
- add rand_r()
1999-11-26 17:33:53 +00:00
Sascha Schumann
a64691615a
Add/update copyright headers
1999-11-26 17:12:01 +00:00
Sascha Schumann
e56e63a6e4
Back out last commit.
1999-11-26 17:08:23 +00:00
Sascha Schumann
35b30a8d0c
Add reentrant versions of ctime, localtime, gmtime, asctime.
...
These cannot be implemented platform-independent, so we fall back to the native
non-reentrant versions, but lock during each access (only if ZTS is used).
To initialize/destroy the used data structures, you need to call
reentrancy_startup() before sapi_startup(), and reentrancy_shutdown() after
sapi_shutdown().
1999-11-26 17:07:41 +00:00
Sascha Schumann
2f6ded9ac9
Convert more source files to use thread-safe functions
1999-11-26 16:51:57 +00:00
Sascha Schumann
fe48f6ed6a
Use thread-safe versions of asctime and localtime
1999-11-26 16:32:02 +00:00
Sascha Schumann
1c6173619e
Use thread-safe versions of localtime and gmtime
1999-11-26 16:29:00 +00:00
Sascha Schumann
2f10b7ede8
Close a resource leak.
1999-11-26 15:33:42 +00:00
Zeev Suraski
957b079232
Undo previous bogus commit
1999-11-26 14:57:50 +00:00
Zeev Suraski
061cfea2ac
*** empty log message ***
1999-11-26 13:56:33 +00:00
Zeev Suraski
94b5119898
Remove request_started, increase thread safety
1999-11-26 13:53:18 +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
Sascha Schumann
9fc9502ecc
Add strtok_r replacement function from FreeBSD-current.
1999-11-26 13:34:02 +00:00
Sascha Schumann
5d34e43f8d
Include php_config.h in both files, otherwise HAVE_STRLCAT/HAVE_STRLCPY
...
will never be defined, even on systems which have these functions.
1999-11-26 13:33:41 +00:00
327e8f7e06
ChangeLog update
1999-11-26 02:08:34 +00:00
Zeev Suraski
f617a46305
That's a more thorough fix...
1999-11-25 16:21:01 +00:00
Zeev Suraski
f62a08c2ae
Fix bug #2817 - assignments to string offsets could erronously modify unrelated strings
1999-11-25 16:11:34 +00:00
Zeev Suraski
442f8b3c3c
*** empty log message ***
1999-11-25 15:24:49 +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
David Hedbor
cad85534c6
Now the new direct write is enabled too...
1999-11-25 02:15:59 +00:00
419f2a2511
ChangeLog update
1999-11-25 02:08:34 +00:00
David Hedbor
5f5bd0954b
Implemented direct writing to the client's FD if RXML parsing of the result isn't selected.
1999-11-25 02:05:35 +00:00
David Hedbor
353686c9c5
Now ZTS can be used. Unless --enable-roxen-zts is specified at the
...
configure line the default process global Roxen PHP lock will be
used. In tests this was a lot faster for some reason and until the
reasons are figured out, it's recommended to use the non-thead-safe
version.
Cvs: ----------------------------------------------------------------------
1999-11-25 00:28:19 +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
Sascha Schumann
3b2a88d4d4
some cosmetical changes
1999-11-24 17:36:23 +00:00
Egon Schmid
2671eaa33b
Descriptions should be different for different function names.
1999-11-24 12:10:15 +00:00
Thies C. Arntzen
3d4bef49b2
fix typo
1999-11-24 09:49:30 +00:00
David Hedbor
9284f73f4f
Removed some forgotten C++ style comments
1999-11-24 07:28:17 +00:00
David Hedbor
df5308e502
Now actually correctly checks for Pike paths etc.
1999-11-24 07:17:17 +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
19f88f097c
Mention new select(), fd_set() and fd_isset() functions
1999-11-24 05:53:12 +00:00
Andrei Zmievski
98d6afb90b
Cleaning up remnants of ChangeLog manipulations.
1999-11-24 05:15:24 +00:00
Evan Klinger
633d18de0f
Can't forget fd_isset()
1999-11-24 03:47:58 +00:00
Sascha Schumann
a4c75707fb
- add PHP_BUILD_THREAD_SAFE
...
- move #undef HAVE_AOLSERVER into its own config.h.stub
1999-11-24 03:27:53 +00:00
Evan Klinger
769e25e168
First attempt at fd_set() and select()
...
# Please test thoroughly
1999-11-24 03:05:10 +00:00
David Hedbor
b86acfd3a2
- Added a couple of static for functions that don't need to be public.
...
- Removed some unused code.
- Started writing better comments.
1999-11-24 02:36:39 +00:00
David Hedbor
6262280ad4
Don't create a new thread for each php-script - use the handler thread.
1999-11-24 02:34:50 +00:00
bb557d26fe
ChangeLog update
1999-11-24 02:08:39 +00:00
a69fb4b5e9
NEWS update
1999-11-24 02:08:35 +00:00
David Hedbor
1973990286
Moved HAVE_ROXEN to sapi/roxen/config.h.stub
1999-11-24 00:25:14 +00:00
David Hedbor
dcd9bd9aa8
Added .cvsignore
1999-11-24 00:24:49 +00:00
David Hedbor
30476d6d21
Added the wrong file.
1999-11-24 00:02:13 +00:00
David Hedbor
ec873323d2
Added HAVE_ROXEN for the Roxen sapi module
1999-11-23 23:08:34 +00:00
David Hedbor
8fb4122333
First version of Pike/Roxen module for embedding PHP.
1999-11-23 23:08:10 +00:00
Andrei Zmievski
96e1d4a4b1
*** empty log message ***
1999-11-23 22:46:41 +00:00
Andrei Zmievski
cbf3bc3267
Re-arranging a bit.
1999-11-23 22:35:23 +00:00
59d34af972
Fixing results of an infelicity in ChangeLog generation.
1999-11-23 22:29:19 +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
Sascha Schumann
368e1960ea
add some points
1999-11-23 20:53:20 +00:00
Andrei Zmievski
9781bf59cb
(main) In this special case, free path_translated. Fix for #2795 .
1999-11-23 20:25:55 +00:00
Sascha Schumann
6a25e05d95
Only create regex/Makefile, if we use the bundled regex library
1999-11-23 19:54:51 +00:00
Sascha Schumann
2681a6b169
(main) Remove redundant statement, this is part of the initialization
...
function.
1999-11-23 15:39:09 +00:00
Thies C. Arntzen
92aaf17ba2
*** empty log message ***
1999-11-23 13:02:55 +00:00
Sascha Schumann
1d593a89da
Don't bail out, if PECL cannot be installed. PHP is often only an
...
intermediate step of the installation, so it is often not performed
by root.
1999-11-23 12:41:02 +00:00
Thies C. Arntzen
b48b0734ca
Getting Zeus-Support in place - i can already see phpinfo()!
1999-11-23 11:22:45 +00:00
Uwe Steinmann
503e97a66d
- inform everybody about cpdf support
1999-11-23 10:05:32 +00:00
Uwe Steinmann
39a389d855
- extended test script for cpdf by GD image insertion
1999-11-23 09:04:31 +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
Andrei Zmievski
43d857f5e5
Formatting.
1999-11-23 03:08:46 +00:00
Andrei Zmievski
d580b7da3e
Add .cvsignore.
1999-11-23 03:08:10 +00:00
ef7e7ebfc8
ChangeLog update
1999-11-23 02:08:41 +00:00
4733395538
NEWS update
1999-11-23 02:08:37 +00:00
Zeev Suraski
b264733bc1
Fix compile problem with enable-memory-limit
1999-11-22 22:27:04 +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
Andrei Zmievski
103b5cb285
Don't forget the pickle.
1999-11-22 20:47:37 +00:00
Andrei Zmievski
4da3f0cc9a
Reformatting.
1999-11-22 19:45:42 +00:00
Frank M. Kromann
b5c521c3f8
add MS SQL module seams to be working
1999-11-22 19:11:42 +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
Zeev Suraski
3b9673ca58
Fix inconsistencies with here-docs implementation
1999-11-22 17:11:36 +00:00
Zeev Suraski
1a34aa8d73
*** empty log message ***
1999-11-22 17:10:42 +00:00
Zeev Suraski
86a0efcff5
Fix #2744
1999-11-22 16:30:23 +00:00
Uwe Steinmann
e8b05d1137
- test for hyperwave module
1999-11-22 16:09:07 +00:00
Uwe Steinmann
7966dbc01c
- test for cpdf module
1999-11-22 16:08:27 +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
Stig Bakken
541087d17a
@Introduced PECL - PHP Extension and Code Library (prounounced "picke")
...
Introduced PECL - PHP Extension and Code Library (prounounced "picke"), in
the "pecl" subdir. "make install" will now install the database abstraction
layer in PREFIX/lib/php.
I hereby dedicate this part of PHP to my daughter-of-yesterday Malin. :-)
1999-11-22 11:00:53 +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
78dd178857
ChangeLog update
1999-11-22 02:08:40 +00:00
fb50f7da29
NEWS update
1999-11-22 02:08:37 +00:00
Sascha Schumann
fc95f04b10
(php_ns_hash_environment) Ns_ConnHost() may return NULL, check for it
1999-11-22 01:30:28 +00:00
Sascha Schumann
63a3e9ac45
(PHP getallheaders) added function for AOLserver
...
(php_ns_hash_environment) added REMOTE_PORT, SERVER_PORT, SERVER_NAME,
PATH_TRANSLATED, GATEWAY_INTERFACE variables
1999-11-22 00:42:06 +00:00
Sascha Schumann
11030ee410
(PHP urldecode) Fix for #2788 , function changed parameter in place
1999-11-21 20:08:43 +00:00
Andi Gutmans
f3ca328b34
That slipped away
1999-11-21 18:19:08 +00:00
Zeev Suraski
6358c6631b
- Optimize class instanciation
...
- Fix constant instanciation for array elements inside objects
1999-11-21 18:11:10 +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
64eac40e77
ChangeLog update
1999-11-21 02:08:45 +00:00
450bd9c164
NEWS update
1999-11-21 02:08:42 +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
Sascha Schumann
51c83e9f4b
--enable-versioning can now be used with CGI/AOLserver as well. Note that
...
we do not use versioning per se anymore, but export only the required
symbols.
1999-11-20 19:00:17 +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
Thies C. Arntzen
111c24b5b1
*** empty log message ***
1999-11-20 10:11:36 +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
22aeaedc0e
ChangeLog update
1999-11-20 02:08:40 +00:00
f4767f385a
NEWS update
1999-11-20 02:08:37 +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
1f11e07fc6
- Moved var_uninit() for return_value to the beginning of DO_FCALL.
...
We forgot to do it for overloaded methods
1999-11-19 17:04:54 +00:00
Andi Gutmans
817a11e7ed
- Functions whose return values aren't used have them freed in DO_FCALL
...
and don't need a special ZEND_FREE opcode following them anymore
1999-11-19 16:55:25 +00:00
Andi Gutmans
0094b765eb
- Make it consistent with the rest of the stuff there.
1999-11-19 16:42:19 +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
8e34f69c09
ChangeLog update
1999-11-19 02:08:42 +00:00
Andrew Skalski
0cb70ef9bb
Removed stdio wrapper from sockets; added timeouts to socket ops.
1999-11-18 20:29:32 +00:00
Sascha Schumann
111cedbbea
Moving apMakefile.{libdir,tmpl} to sapi/apache directory.
1999-11-18 14:21:50 +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
cee88d3852
ChangeLog update
1999-11-18 02:09:04 +00:00
Sascha Schumann
4bb5e353d5
Add post request startup handlers. These are called at the end of the
...
request startup function, and can use the initialized structures like
the symbol table.
1999-11-17 23:01:27 +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
Sascha Schumann
b416e57770
Remove --enable-thread-safety. There is no reason people should be able
...
to set this manually; most likely, they will burn themselves by using it.
1999-11-17 21:06:32 +00:00
Andi Gutmans
52045afb08
- If a function's return value is unused then don't create a ZEND_FREE
...
opcode but free it after the function call in zend_execute.
1999-11-17 17:21:15 +00:00
Stig Bakken
3150bd63e9
Bump version to 4.0b4-dev.
1999-11-17 13:25:44 +00:00
Thies C. Arntzen
927260bf57
b3 is already tagged in CVS
1999-11-17 09:38:21 +00:00
Andi Gutmans
800e00727a
- Forgot this
1999-11-17 04:38:38 +00:00
51d018d292
ChangeLog update
1999-11-17 02:08:50 +00:00
407a1fbe66
NEWS update
1999-11-17 02:08:46 +00:00
Andrei Zmievski
e46198bf7b
(PHP substr_replace) New function.
...
@- Added substr_replace() function. (Andrei)
1999-11-16 22:44:13 +00:00
Andi Gutmans
3cd140cdef
- Weird that this compiled for me.
1999-11-16 20:31:29 +00:00
Andrei Zmievski
61142e4341
Just some rearranging.
1999-11-16 20:14:55 +00:00
Andi Gutmans
247d3d3345
- CHange used_return_value -> return_value_used
1999-11-16 19:12:46 +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
Andi Gutmans
b7b614d0b5
- In any case create the free opcode. Need to allow the functions to
...
create a hint.
1999-11-16 18:46:32 +00:00
Andi Gutmans
dbb67ab9dc
- Add support for used_return_value passed to internal functions.
1999-11-16 18:30:06 +00:00
Stig Bakken
87d6372a14
final news update before 4.0b3
1999-11-16 15:58:38 +00:00
Stig Bakken
bb6dacfb69
final changelog update before 4.0b3
1999-11-16 15:52:32 +00:00
Stig Bakken
65557ffe88
4.0b3 coming up
1999-11-16 15:37:31 +00:00
dca71900c1
ChangeLog update
1999-11-16 02:08:50 +00:00
Andrei Zmievski
c1e3f5cb17
cleaning up
1999-11-15 14:35:08 +00:00
6c51d44141
ChangeLog update
1999-11-15 02:08:54 +00:00
30cfeece94
NEWS update
1999-11-15 02:08:51 +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
Andi Gutmans
f3bcc012c6
- Remove ISAPI project from main dir as it's been copied to sapi/isapi
1999-11-14 19:46:31 +00:00
Thies C. Arntzen
6755a85a38
clearify
1999-11-14 19:44:29 +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
Andi Gutmans
4ebf7b85ad
- Fix comment as to Joey's findings
1999-11-14 10:30:39 +00:00
db59169015
ChangeLog update
1999-11-14 02:08:53 +00:00
Andrei Zmievski
c898d87aad
These are inserted automatically now.
1999-11-13 20:47:33 +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
d35ea24fc0
- Fix crash with string offset assignments.
1999-11-13 18:11:34 +00:00
Andi Gutmans
3c1b362235
- Make Win32 compile again
1999-11-13 18:03:07 +00:00
Sascha Schumann
677bf03f07
Allow --with-apxs and --with-regex=apache
1999-11-13 17:29:43 +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
c166a6fb83
Remove libtool targets
1999-11-13 16:04:56 +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
942c0b3521
Export CPPFLAGS to propagate additional flags
1999-11-13 12:55:47 +00:00
Sascha Schumann
194d75c3a8
Fix typo (escape sign was one off)
1999-11-13 12:51:25 +00:00
Sascha Schumann
c810659379
preparing 4.0b3-RC5
1999-11-13 12:48:57 +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
7dd7f38003
(AC_EXPAND_PATH) Expand relative paths completely
1999-11-13 12:38:23 +00:00
e82ad7e9c3
ChangeLog update
1999-11-13 02:08:56 +00:00
64070d9474
NEWS update
1999-11-13 02:08:53 +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
d8d8b30972
ChangeLog update
1999-11-12 02:08:57 +00:00
ea3d47b804
NEWS update
1999-11-12 02:08:54 +00:00
Rasmus Lerdorf
4a22643375
# Add some ext's here
1999-11-11 21:45:59 +00:00
Thies C. Arntzen
639354357f
@- RFC-854 fix for internal FTP-Code. Commands have to end in "\r\n" (Thies)
...
(PHP fopen) commands send to a FTP-server need to end in "\r\n" (RFC 854)
1999-11-11 13:49:42 +00:00
78e6e79a65
ChangeLog update
1999-11-11 02:08:57 +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
Stig Bakken
6e4114daf0
"import" libtool file preservation code from build.mk
1999-11-10 15:26:39 +00:00
Stig Bakken
044789447c
Shut up warning from automake.
1999-11-10 13:12:30 +00:00
Rasmus Lerdorf
392659fabe
# Fix comments
1999-11-10 05:50:20 +00:00
Andrei Zmievski
f3fb441979
Remove duplicates.
1999-11-10 05:04:56 +00:00
3f1a9fd706
ChangeLog update
1999-11-10 02:08:58 +00:00
ab5c4e2230
NEWS update
1999-11-10 02:08:55 +00:00
Sam Ruby
2cc9f1d377
add Java and MSDev outputs
1999-11-10 00:48:53 +00:00
Frank M. Kromann
cc5304a9d9
Adding default mssql ini-setings
1999-11-09 20:58:43 +00:00
Stig Bakken
45c254d89c
#if -> #ifdef changes for the ODBC extension (for consistency)
1999-11-09 19:53:38 +00:00
Thies C. Arntzen
f6f74737d3
IRIX ld likes this order better
1999-11-09 19:48:56 +00:00
Sascha Schumann
5bb017f6d4
Move only, if the file exists.
1999-11-09 18:18:16 +00:00
Sascha Schumann
16ea76a880
automake overwrites libtool's files, if
...
- --add-missing was used
- *_LTLIBRARIES targets are used
Thus, we preserve our customized files while automake runs
1999-11-09 18:06:58 +00:00
Sascha Schumann
e07220a006
Add libtool helper files
1999-11-09 18:04:17 +00:00
Sam Ruby
5a7943c9ed
add mergesort into build
1999-11-09 17:37:35 +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
Stig Bakken
ef941dd700
4.0b3-RC4
1999-11-09 17:03:46 +00:00
Stig Bakken
2204607b10
Preserve the CVS versions of ltconfig/ltmain.sh during makedist.
...
#This is a temporary fix!
1999-11-09 16:57:26 +00:00
Rasmus Lerdorf
5c28619f51
Better lib detection for ucd-snmp
1999-11-09 16:01:31 +00:00
Sam Ruby
751e5d15f9
location of output.c moved.
1999-11-09 16:01:30 +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
Sam Ruby
eb231bb180
add java
1999-11-09 14:21:18 +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
Stig Bakken
9e1cfb4f6e
Bump version to 4.0b3-RC3.
...
# We release RC2 just minutes before Sam Ruby commits his Java extension.
# What timing!
1999-11-09 12:20:34 +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
60766eff5a
Makedist can now be run from outside the CVS tree.
1999-11-09 11:56:27 +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
86418fde5b
ChangeLog update
1999-11-09 02:09:01 +00:00
e95fe291d4
NEWS update
1999-11-09 02:08:58 +00:00
Jakub Skopal
ce8e31be71
"sybase" is definitelly six characters long :-)
1999-11-08 20:57:59 +00:00
Stig Bakken
ecf83739f4
Cleaned up makedist a bit more.
...
# Also changed 4.0B3-RC2 to 4.0b3-RC2. I don't see why we should start
# using capital letters in 4.0.
1999-11-08 16:17:53 +00:00
Stig Bakken
9542dbaf54
ignore distribution files
1999-11-08 14:41:57 +00:00
Sascha Schumann
7bc251058a
Add libtool files to CVS. Advantages:
...
- PHP-specific changes are easier to maintain
- it removes one dependency for users (i.e. GNU vs. FreeBSD ports)
I have not removed the libtool check in buildconf, since libzend/TSRM still
depend on a local version of libtool.
1999-11-08 11:04:14 +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
Stig Bakken
63d47b7735
(PHP tempnam) now uses mkstemp() if available
...
@- tempnam() now uses mkstemp() if available (Stig)
1999-11-08 09:18:57 +00:00
d1ecda53b7
ChangeLog update
1999-11-08 02:09:00 +00:00
Sascha Schumann
e5983e9ef5
(php_ns_request_ctor) enable HTTP Access Authentication
...
(php_ns_hash_environment) supply PATH_TRANSLATED to scripts
1999-11-07 13:16:14 +00:00
880d7666ab
ChangeLog update
1999-11-07 02:09:04 +00:00
c2e062c843
NEWS update
1999-11-07 02:09:00 +00:00
Sascha Schumann
14a870e940
- limit find to PHP's automake Makefiles
...
- check whether patches were applied correctly
1999-11-06 13:05:14 +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
512f4519c6
Version update
1999-11-06 10:06:37 +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
b1f13fcc35
ChangeLog update
1999-11-06 02:09:09 +00:00
abac416be7
NEWS update
1999-11-06 02:09:06 +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
Sam Ruby
d5233c482b
configuration failures trap server
1999-11-05 17:52:00 +00:00
Rasmus Lerdorf
f8d111d153
# Fix group email address
1999-11-05 15:37:34 +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
1890a59cd6
ChangeLog update
1999-11-05 02:09:27 +00:00
Andrei Zmievski
602cb959fc
(PHP multisort) More work, not yet done though.
1999-11-04 21:55:47 +00:00
Andrei Zmievski
3964c92f8b
Made zend_hash_rehash() callable from outside.
1999-11-04 21:02:35 +00:00
Rasmus Lerdorf
0d5a9358f0
Try to avoid IBM/Berkeley DB2 confusion
1999-11-04 20:47:19 +00:00
Stig Bakken
aa3123e87b
# Updated to work with the new build system.
1999-11-04 09:52:44 +00:00
Stig Bakken
f2099fccfb
# First shot at 4.0b3.
1999-11-04 09:40:44 +00:00
Stig Bakken
a4c8d7dddc
# Workaround needed to run automake in makedist.
1999-11-04 09:34:35 +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
35e82edf47
ChangeLog update
1999-11-04 02:09:55 +00:00
Andrei Zmievski
2fb2c11c09
*** empty log message ***
1999-11-03 20:48:42 +00:00
Frank M. Kromann
1746a30108
Added MS SQL server module
1999-11-03 20:41:24 +00:00
Frank M. Kromann
d400f52ca4
Changed directory names to match project
1999-11-03 20:37:51 +00:00
Frank M. Kromann
e5ca107a3d
Adding MS SQL Server module for Win32
1999-11-03 20:35:58 +00:00
Andi Gutmans
a79bdcc28f
#- Added support for forcing a variable number of internal function arguments
...
# by reference.
#- This is done by using BYREF_FORCE_REST as the last arg_types value.
1999-11-03 20:15:50 +00:00
Andi Gutmans
6d988ec694
- Add support for BYREF_FORCE_REST
1999-11-03 19:21:56 +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
af07e331ac
ChangeLog update
1999-11-03 02:09:28 +00:00
1e0bc24992
NEWS update
1999-11-03 02:09:21 +00:00
Sascha Schumann
358af8b9eb
Add <FORM ACTION=...> tag
1999-11-02 18:35:59 +00:00
Sascha Schumann
11287bba4d
Additional check for concurrent use of --with-{apache,apxs}
1999-11-02 18:27:38 +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
3ab5606732
ChangeLog update
1999-11-02 02:09:28 +00:00
81c24791e1
NEWS update
1999-11-02 02:09:23 +00:00
Andrei Zmievski
1fe76945f7
*** empty log message ***
1999-11-01 20:58:50 +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
Andrei Zmievski
1fd576485f
Added new session configuration directives.
...
# Sascha, please document them here.
1999-11-01 16:13:41 +00:00
Sascha Schumann
fb52cb2d30
Fix for #2631
1999-11-01 11:48:31 +00:00
27b22a7ee3
ChangeLog update
1999-11-01 02:09:20 +00:00
ce63a5b611
NEWS update
1999-11-01 02:09:11 +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
Sam Ruby
242631c4bb
@Continue processing PHP_INI_SYSTEM knownDirectives after extension=
...
#
# Never saw a response to PHP-DEV post of 25-OCT
#
# Given the existence of knownDirectives, I figured that option 2
# was closest to the original design intent.
1999-10-31 11:56:22 +00:00
91f068e4c5
ChangeLog update
1999-10-31 01:09:17 +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
bbb1a4f8eb
ChangeLog update
1999-10-30 01:09:07 +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
a3a7413be8
Looked like this was done by RedHat the way I wrote it.
1999-10-29 17:08:46 +00:00
88ca873f3a
ChangeLog update
1999-10-29 01:09:23 +00:00
5d291c8ea5
NEWS update
1999-10-29 01:09:20 +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
Sascha Schumann
9704cd4873
Remove set-if-not-set colon, since CPPFLAGS is never set by automake.
1999-10-28 17:33:36 +00:00
Andrei Zmievski
e921d0feab
Fix bug #2623 .
1999-10-28 16:41:17 +00:00
Andi Gutmans
83c79bb154
- Fix for Thies' leak and Andrei's crash
1999-10-28 15:53:31 +00:00
Andrei Zmievski
10fa640f5c
New function.
1999-10-28 01:40:14 +00:00
8fd99b071d
ChangeLog update
1999-10-28 01:09:21 +00:00
e8bccbdca9
NEWS update
1999-10-28 01:09:18 +00:00
Sam Ruby
329de3041b
look for output.c in its new location in the windows build
1999-10-28 00:18:51 +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
c885fc1f53
ChangeLog update
1999-10-27 01:09:20 +00:00
Thies C. Arntzen
6b69ebf2b8
eliminated warinigs
1999-10-26 20:09:59 +00:00
Andrei Zmievski
138d5e0f79
No tabs please.
1999-10-26 19:57:27 +00:00
Andrei Zmievski
21ce8b7c64
(PHP array_map) Away with it.
1999-10-26 19:57:10 +00:00
Andrei Zmievski
377ed94b2f
Some todo things.
1999-10-26 19:49:36 +00:00
ad922a272d
ChangeLog update
1999-10-26 01:09:27 +00:00
Zeev Suraski
7f35cfda71
*** empty log message ***
1999-10-25 16:07:14 +00:00
Thies C. Arntzen
5d70df50ba
added some more options
1999-10-25 08:23:54 +00:00
d5b0e6d820
ChangeLog update
1999-10-25 01:09:29 +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
Sam Ruby
a29baa30c8
Allow CYGWIN directory to be specified as via environment variable
1999-10-24 16:32:46 +00:00
Sascha Schumann
51ea5cc70a
(PHP session_register, session_unregister) always return true
1999-10-24 16:17:45 +00:00
7305cb156c
ChangeLog update
1999-10-24 01:09:36 +00:00
Sam Ruby
6576719dcb
Allow CYGWIN directory to be specified as via environment variable
1999-10-23 19:27:24 +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
dfbf2ea001
ChangeLog update
1999-10-23 01:09:32 +00:00
Andi Gutmans
9b83d1ca5d
- Fix isset() with string offsets.
1999-10-22 22:35:16 +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
280f379186
ChangeLog update
1999-10-22 01:09:30 +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
230556b646
ChangeLog update
1999-10-21 01:09:59 +00:00
1747a5e505
NEWS update
1999-10-21 01:09:52 +00:00
Sascha Schumann
d5bde1d658
(php_ns_hash_environment): provide more CGI/1.1 variables to scripts.
...
Added REQUEST_METHOD, QUERY_STRING, REMOTE_ADDR
1999-10-20 19:30:37 +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
Sascha Schumann
90087382e4
(php_info_aolserver): add more information from the server context
1999-10-20 15:53:23 +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
Andrei Zmievski
af8f84a27c
Ignore shared modules directory.
1999-10-20 14:23:19 +00:00
Andrei Zmievski
1dd908b102
Ignore generated libs.
1999-10-20 14:11:59 +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
Sascha Schumann
b31ef32c1d
(php_ns_hash_environment) add SERVER_SOFTWARE, SERVER_BOOTTIME, SERVER_BUILDDATE, SERVER_PROTOCOL
1999-10-20 13:49:19 +00:00
c4d21e7632
ChangeLog update
1999-10-20 01:09:25 +00:00
1e2bf3960b
NEWS update
1999-10-20 01:09:19 +00:00
Andrei Zmievski
26c019eaa1
Revert my patches to error functions.
1999-10-19 19:11:02 +00:00
Thies C. Arntzen
65b152948e
added === operator support (type *and* value match) . samples:
...
(1 == "1") is true
(1 === "1") is false (integer != string)
(0 == false) is true
(0 === false) is false (integer != boolean)
1999-10-19 16:00:57 +00:00
Thies C. Arntzen
816627b16c
fixed is_identicat_function()
1999-10-19 15:48:25 +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
Andi Gutmans
98f025430e
- Move IS_IDENTICAL next to IS_EQUAL
1999-10-19 14:19:42 +00:00
Andi Gutmans
70b41809f2
- Fix is_identical function
1999-10-19 14:11:39 +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
Andi Gutmans
7a205f6087
- Preliminary submit of Thie's patch. Will fix the rest on Windows
...
as this was added on UNIX with patch. Changed IS_SAME -> IS_IDENTICAL
1999-10-19 13:33:17 +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
b69656177b
ChangeLog update
1999-10-19 01:09:32 +00:00
a3f5afb1c0
NEWS update
1999-10-19 01:09:26 +00:00
Egon Schmid
4fe14a780c
More forgotten prototypes.
1999-10-18 20:00:42 +00:00
Stefan Roehrich
20a7232d95
Added zlib module to list of maintained extensions. (Stefan).
1999-10-18 19:27:56 +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
Andrei Zmievski
52a30fd21b
Be safe, use ().
1999-10-18 14:17:36 +00:00
670654ea87
ChangeLog update
1999-10-18 13:42:43 +00:00
1d66fd7a94
NEWS update
1999-10-18 13:42:35 +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
133c95cf8c
- It's OK if we link dynamically.
1999-10-16 11:57:52 +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
db69449d9f
Update mergesort() proto.
1999-10-15 21:23:37 +00:00
Andrei Zmievski
c279668168
unstatic'fy is_numeric_string()
1999-10-15 20:42:26 +00:00
Andrei Zmievski
e956a266e2
*** empty log message ***
1999-10-15 20:37:53 +00:00
Andrei Zmievski
ce1f3a7d83
Make string copying a little more efficient.
1999-10-15 20:36:10 +00:00
Andrei Zmievski
e906d4548a
Small tweak in the error format.
1999-10-15 20:32:47 +00:00
Andrei Zmievski
b625bbd14a
(php3_log_err): Don't output error message to stderr when
...
running as CGI binary.
1999-10-15 20:27:38 +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
3ee9dbea0c
(php_error): finally get rid of those annoying html tags
...
when running as CGI binary
1999-10-15 19:55:18 +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
Andrei Zmievski
c5149f12b6
Add mergesort.c to compilation list.
1999-10-15 19:25:04 +00:00
Andrei Zmievski
86e031d9e8
Added mergesort.c from FreeBSD.
1999-10-15 19:23:04 +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
Andrei Zmievski
62c1407a4d
*** empty log message ***
1999-10-15 13:45:28 +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
Andi Gutmans
4d7c162d16
- Add convert_to_number_ex()
1999-10-15 06:25:42 +00:00
Sascha Schumann
e77485a8f7
Add "--disable-inline" for low-memory machines (be it limited
...
RAM or virtual memory). It's also useful for Digital C where
the C++ compiler thinks "inline" is an invalid specifier.
1999-10-14 22:17:22 +00:00
Sascha Schumann
d58e6f2b00
Use sources from $(srcdir)
1999-10-14 17:20:25 +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
ead9008644
forgot
1999-10-14 15:20:56 +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
Sascha Schumann
a4e9a5ca8f
Add dba and mcrypt extensions to list.
1999-10-13 21:01:37 +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
Andrei Zmievski
dea3d7527a
Add mhash module.
1999-10-13 18:03:38 +00:00
Sascha Schumann
2170fa6dea
Do not use $< for anything but implicit rules.
1999-10-13 16:16:09 +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
6e07d060fc
(zend_fetch_resource) added warinig if resource is of wrong type
1999-10-13 12:59:48 +00:00
489a49d2fe
ChangeLog update
1999-10-13 01:07:57 +00:00
8819b58a65
NEWS update
1999-10-13 01:07:54 +00:00
Sascha Schumann
8cc4fc6111
Disable ZEND_EXTENSIONS_SUPPORT, if RTLD_NOW is not defined.
...
Note that this part could be made platform independent by using
libltdl (for Solaris, Linux, *BSD, HP-UX, Win16/32, BeOS).
1999-10-13 00:17:01 +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
4a39d66973
made nice
1999-10-12 15:32:40 +00:00
Thies C. Arntzen
837596dc21
add myself
1999-10-12 15:30:38 +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
Thies C. Arntzen
6d7c18c1f5
new improved resource-API
1999-10-12 14:51:17 +00:00
Sascha Schumann
fc48083437
Use DL_LAZY for OpenBSD. This seems to be a compatibility flag which
...
should be used for the 2nd parameter to dlopen.
http://www.openbsd.org/cgi-bin/cvsweb/src/share/man/man3/dlfcn.3?rev=1.8
1999-10-12 14:48:32 +00:00
Andrei Zmievski
d6feb3c1d2
Just some formatting.
1999-10-12 13:22:30 +00:00
Andi Gutmans
faa1891782
- object.ptr was made NULL in DO_FCALL but wasn't restored. Right now I
...
push it in DO_FCALL and at the end of do_fcall_common it always gets
popped. We might be able to optimize it out.
1999-10-12 11:41:17 +00:00
Danny Heijl
290db7ace3
Added Informix driver to list of maintained extensions. (Danny).
...
@- Added Informix driver to list of maintained extensions. (Danny).
1999-10-12 06:49:34 +00:00
ff4a3a6a94
*** empty log message ***
1999-10-12 04:14:04 +00:00
79977b7fcf
ChangeLog update
1999-10-12 01:08:06 +00:00
d070e7e557
NEWS update
1999-10-12 01:08:03 +00:00
Andrei Zmievski
9e773dfde2
Modified sorting functions to use updated zend_hash() prototype.
1999-10-11 21:42:42 +00:00
Andrei Zmievski
531bc520c1
*** empty log message ***
1999-10-11 21:38:18 +00:00
Andrei Zmievski
8864313c48
Modified zend_hash() to accept a pointer to sort function.
1999-10-11 21:30:23 +00:00
Andrei Zmievski
4d52ee2bc6
Added notice about LXR and Bonsai.
1999-10-11 20:45:03 +00:00
Andi Gutmans
81aa9a36b6
- No idea why this bug didn't exist before. But I'm too tired to think of it.
...
During a regular do_fcall we need to set object.ptr to NULL and, thus,
push it in the beginning and pop it in the end.
I hope this fix more or less cuts it. I just want to sleep :)
1999-10-11 20:29:55 +00:00
Andrei Zmievski
cab346f50c
First revision.
1999-10-11 19:36:13 +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
4f4e2bd506
ChangeLog update
1999-10-11 01:08:08 +00:00
Andi Gutmans
3a88d5a68e
- Didn't lower refcount when doing an internal function call linked to a regular object.
1999-10-10 18:31:42 +00:00
Thies C. Arntzen
283dd53bf5
added some more autoconf/libtool stuff to be ignored
1999-10-10 18:12:41 +00:00
Sascha Schumann
c42142bc03
automake scans aclocal.m4 as well
1999-10-10 18:08:31 +00:00
Thies C. Arntzen
f961f0e976
(build.mk) fix suggested by sascha.
1999-10-10 17:34:13 +00:00
Thies C. Arntzen
93f294b76f
(build.mk) make cvsclean now also deletes the libzend & TSRM symlinks.
1999-10-10 17:24:26 +00:00
Sascha Schumann
ee06ab4069
Add stub.c for helper library.
1999-10-10 17:15:19 +00:00
Thies C. Arntzen
8a23f7e215
(build.mk) added target cvsclean: removed all files listed in all .cvsignore files found in the current tree.
1999-10-10 17:14:29 +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
Zeev Suraski
40cc9d9d7a
This should fix the deadlock
1999-10-10 13:30:03 +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
Andi Gutmans
274ce69429
- Clean up a bit. Separate before the locking so that we can use SEPARATE_ZVAL
...
macro.
1999-10-10 04:38:51 +00:00
Sascha Schumann
ea567a73f1
Add clean target which removes standard targets
1999-10-10 02:02:13 +00:00
Sascha Schumann
f2608c3fdb
build.mk can be used to generate build tools. It is usually
...
faster than buildconf, since it rebuilds only components, if
it is necessary. To use it, run
$ make -f build.mk
1999-10-10 01:23:15 +00:00
f331865e3b
ChangeLog update
1999-10-10 01:08:21 +00:00
Sascha Schumann
c2d127b3ed
Clean up and add 'clean' target which removes standard targets recursively
1999-10-10 01:04:39 +00:00
Sascha Schumann
aab49be24a
build.mk can be used to generate build tools. It is usually
...
faster than buildconf, since it rebuilds only components, if
it is necessary. To use it, run
$ make -f build.mk
1999-10-10 00:22:05 +00:00
Andi Gutmans
ec04c922aa
- Shouldn't be needed
1999-10-09 20:37:08 +00:00
Andi Gutmans
37159e7863
- God damn this sucked. I hopefully fixed the problems with classes although
...
we might need to clean stuff up a bit.
1999-10-09 20:29:36 +00:00
Sascha Schumann
1df149ec1a
Define RTLD_NOW to DL_NOW, if RTLD_NOW is not defined (for OpenBSD).
1999-10-09 18:03:23 +00:00
Sascha Schumann
4c920d1da6
Remove redundant library declaration. All libtool libraries
...
are referenced through DEPENDENCIES now.
1999-10-09 16:50:14 +00:00
Sascha Schumann
92a10866a9
Only link with bundled regex, if the user wants it.
1999-10-09 16:45:12 +00:00
Sascha Schumann
8090041fbb
POSIX_MISTAKE is enabled by default.
1999-10-09 16:44:39 +00:00
Thies C. Arntzen
a19f5933d5
fix suggested by sascha for xml-build in apxs mode
1999-10-09 13:43:27 +00:00
afdb73e62f
ChangeLog update
1999-10-09 05:41:53 +00:00
200052b51c
NEWS update
1999-10-09 05:41: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
Andrei Zmievski
405934a483
Mention php-cvs-daily list.
1999-10-08 18:05:59 +00:00
Sascha Schumann
965c9c2187
Use correct data type for mutex.
1999-10-08 16:29:33 +00:00
Sascha Schumann
9c995e93d7
Implement temporary workaround for thread-safety issues. This
...
serializes all request accesses. To disable, define NO_GLOBAL_LOCK
1999-10-08 16:24:31 +00:00
Andrei Zmievski
3f6108b646
More emphasis on ChangeLog and NEWS daily updates.
1999-10-08 16:09:52 +00:00
442628d935
mailing list test
1999-10-08 16:00:10 +00:00
9e870afa39
testing
1999-10-08 15:29:13 +00:00
0bbe641a91
test
1999-10-08 15:23:58 +00:00
Andrei Zmievski
85575e9a2c
More information on how to use the special prefixes and the frequency
...
of NEWS and ChangeLog updates.
1999-10-08 13:59:27 +00:00
Sascha Schumann
3909ab4195
(php_info_aolserver): Show information about the SAPI module
...
(php_ns_module_main): Return early, if request startup failed
1999-10-08 13:06:28 +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
d6fd672624
ChangeLog update
1999-10-08 03:51:25 +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
5a6fe43d58
Apparently, we did too much cleanup. The server survives now much longer.
1999-10-07 21:47:39 +00:00
Andrei Zmievski
02795f9961
NEWS update
1999-10-07 21:41:37 +00:00
Andrei Zmievski
3652bc01ab
New files.
...
Please read README.CVS-RULES!
1999-10-07 21:38:22 +00:00
Sascha Schumann
02553b5e7c
POST works now and does not block anymore.
1999-10-07 21:23:55 +00:00
Sascha Schumann
3f1c010615
Remove SAPI_TARGET and use PHP_SAPI completely.
...
The target filename is now available as SAPI_PROGRAM, SAPI_SHARED, and
SAPI_STATIC.
1999-10-07 21:04:26 +00:00
Sascha Schumann
93b12f5fbd
(ns_globals_struct): remove content_type member
...
(php_ns_request_dtor): remove content_type destructor, re-add path_translated destructor
1999-10-07 20:21:55 +00:00
Sascha Schumann
483a4642f0
Add comments to the source code and fix POST-read-data bug.
1999-10-07 20:15:26 +00:00
Andrei Zmievski
cfec25f3b2
Some ChangeLog surgery.
1999-10-07 19:53:33 +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
Sascha Schumann
2a6d170dc0
nsapi => aolserver changes
1999-10-07 18:46:40 +00:00
Sascha Schumann
743b3851b1
nsapi => aolserver
...
"NSAPI" suggests Netscape too often.
1999-10-07 18:45:30 +00:00
Andrei Zmievski
017aff4f6d
Renaming ChangeLog to NEWS. All future entries intended for public should
...
go into NEWS.
1999-10-07 16:56:42 +00:00
Sascha Schumann
9b654728ef
PHP_SHOW_LD_LIBRARY_PATH leaked out of my test environment.
1999-10-07 16:47:53 +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
ca6cf936b8
Test commit again.
...
# add white space
1999-10-07 14:32:07 +00:00
Andrei Zmievski
91dffe9126
Testing commit.
...
@ Removed white space.
1999-10-07 14:24:18 +00:00
Andrei Zmievski
3562eb2999
Ignore generated files.
1999-10-07 14:05:08 +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
Andrei Zmievski
0d89395481
Fix for #2457 .
1999-10-07 13:23:33 +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
f352444541
added zval_del_ref() function
1999-10-07 12:20:40 +00:00
Sascha Schumann
d480d23e97
(php_ns_request_handler): call ts_free_thread() to clean up
1999-10-07 12:00:32 +00:00
Thies C. Arntzen
b6a90547f6
compiles again - and gets compiled
1999-10-07 10:56:04 +00:00
Sascha Schumann
712105cd5d
Pass -avoid-version when building a shared library to avoid problems
...
with "installing" symbolic links. We need to do this conditional, since
some libtool versions imply --disable-static with this option.
1999-10-07 10:03:24 +00:00
Thies C. Arntzen
601b837c56
SET_VAR_STR* expect a emalloc'ed copy of the string!
1999-10-07 09:13:39 +00:00
Andi Gutmans
5fed1466ef
- Reverse my patch
1999-10-07 04:38:03 +00:00
Sascha Schumann
966b87e814
Enable hardcoding runpaths for more platforms and allow Solaris' patch to run
...
buildconf.
1999-10-06 23:26:36 +00:00
Sascha Schumann
1606365a12
Ignore already applied patches.
...
If somebody could make this work on Solaris, I'd appreciate it.
1999-10-06 19:34:36 +00:00
Sascha Schumann
b2edf87b39
Allow *.a and *.o as libtool objects, and hardcode runpaths into
...
shared libraries.
(Both taken from FreeBSD's libtool port.)
1999-10-06 18:58:14 +00:00
Andi Gutmans
e3d0c91dbb
- Fixed memory leak with this pointer. It was somtimes initialized with refcount
...
of 2 instead of 1.
- Also fixed a place where object.ptr_ptr is set to pointing to a zval* instead
of zval**. I don't think this is ever used so we might be able to remove it
altogether.
1999-10-06 17:45:15 +00:00
Andrei Zmievski
8959144837
Move random functions related defines into its own header file.
1999-10-06 16:34:36 +00:00
Thies C. Arntzen
781a53b807
*** empty log message ***
1999-10-06 15:09:44 +00:00
Thies C. Arntzen
c6b91f789d
fix for using resources as array indices
1999-10-06 15:09:26 +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
4fee036f43
unidiff isn't widely recognized, change to context format.
1999-10-06 13:18:12 +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
Sascha Schumann
4b212d1ce6
* --copy always, since we need to change ltmain.sh
...
* make patch on some obscure UNIX happy
1999-10-06 12:06:48 +00:00
Uwe Steinmann
3ec401ec84
- fixed some memory leaks
1999-10-06 05:31:24 +00:00
Uwe Steinmann
0817d2a8db
- as always forgot the Changelog entry
1999-10-06 05:29:18 +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
6dea22808e
FreeBSD's libtool port seems to contain a bug which is triggered by
...
-avoid-version. Removing it, since we don't absolutely need this option.
1999-10-05 20:59:21 +00:00
Sascha Schumann
dff6e711ce
Apply patch automatically at buildconf time
1999-10-05 17:43:45 +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
Sascha Schumann
f48a4916ea
Explicit casts to ulong. Some compiler don't like pointers in %
1999-10-05 15:15:01 +00:00
Sascha Schumann
b510a6d11f
More portability stuff
1999-10-05 15:13:22 +00:00
Thies C. Arntzen
35e7bcbb9d
dir modules is now resourcified & thread-safe!
1999-10-05 14:36:00 +00:00
Sascha Schumann
693207a845
Generate files for distribution (also adds parsedate.c)
1999-10-05 14:12:43 +00:00
Sascha Schumann
2dd9f01a69
Fix typo.
1999-10-05 13:55:23 +00:00
Sascha Schumann
2785fbce1e
OSF/1 V4.0 wants -lcxx
1999-10-05 13:50:13 +00:00
Sascha Schumann
60d87e1914
Add $automake_flags, to allow propagation of --copy
1999-10-05 13:47:16 +00:00
Sascha Schumann
7976bcbd28
Get rid of *_SHLIB variables. Our config scripts don't need Perl,
...
unfortunately the "apxs" utility does. Someone slap the creator of apxs.
1999-10-05 13:46:52 +00:00
Andrei Zmievski
f71789ee71
Remove _A.
1999-10-05 13:33:57 +00:00
Sascha Schumann
84df96ef37
Fix automake dependencies
1999-10-05 13:27:37 +00:00
Thies C. Arntzen
e0fe7b9c03
*** empty log message ***
1999-10-05 12:11:26 +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
c36bff57ca
Fix logic.
1999-10-05 12:06:35 +00:00
Sascha Schumann
e0d561a35b
Use libtool
1999-10-05 11:48:05 +00:00
Sascha Schumann
1a4f22e4ed
automake does not find all subdirectories automatically.
1999-10-05 11:33:00 +00:00
Sascha Schumann
1877b0779c
This causes link problems with anything higher than -O0.
1999-10-05 11:17:04 +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
Sascha Schumann
e74b985432
100% speedup in buildconf.
...
We have a top-level Makefile.am, so find becomes superflicious
1999-10-05 10:23:48 +00:00
Sascha Schumann
2e32234461
Build program static.
1999-10-05 09:51:25 +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
Andrei Zmievski
cec7e90996
*** empty log message ***
1999-10-04 20:35:28 +00:00
Andrei Zmievski
95c970030b
test
1999-10-04 20:34:46 +00:00
Andrei Zmievski
6b2003dd2a
test
1999-10-04 20:28:44 +00:00
Andrei Zmievski
cbddc54b6f
test
1999-10-04 19:55:16 +00:00
Sascha Schumann
337541636b
-module is already set in Makefile.am
1999-10-04 19:31:36 +00:00
Andrew Skalski
f1f8b8a9a2
Added delete and rename functions.
1999-10-04 18:30:37 +00:00
Sascha Schumann
7aed3d51fc
* Fix header("HTTP/..") behaviour
...
* Fix leak WRT http_status_line
* Update sapi/README
* Remove %PHP_OUTPUT_FILES sort
1999-10-04 18:07:46 +00:00
Sascha Schumann
cfaf694afa
Move %(EXTRA_LIBS).
1999-10-04 17:18:17 +00:00
Sascha Schumann
afc51baaa3
The .sym format isn't that complex.
1999-10-04 15:42:32 +00:00
Sascha Schumann
590f9c1dee
Add necessary rule.
1999-10-04 15:35:16 +00:00
Sascha Schumann
f18254e433
Forgot these..
1999-10-04 15:22:18 +00:00
Sascha Schumann
e67005e748
Use libtool.
1999-10-04 15:21:39 +00:00
Sascha Schumann
8ae3f4b027
Use libtool to build.
1999-10-04 15:20:12 +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
Sascha Schumann
ec01d01400
Whoops, OSF/1 has -lpthread and -lpthreads, but defines most
...
pthread_* as __pthread*. According to pthread(3), -lpthread is the
correct choice.
1999-10-04 15:00:38 +00:00
Sascha Schumann
3e202d75ff
Polish this.
1999-10-04 14:29:18 +00:00
Thies C. Arntzen
95d49b10b4
upgraded the former basic_functions.c code to use new API.
1999-10-04 13:31:36 +00:00
Thies C. Arntzen
ca1d1f832a
use getParametersEx for all builtin functions
1999-10-04 13:27:12 +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
Sascha Schumann
8266f8a515
-lpthreads is needed on OSF/1 aka Digital Unix aka Tru64
1999-10-04 12:34:04 +00:00
Thies C. Arntzen
6847fefad9
added add_*_resource() and add_*_bool() functions
1999-10-04 11:42:46 +00:00
Thies C. Arntzen
b357d0eaf8
i swear, i compiled (at least) before i committed!
1999-10-04 10:39:32 +00:00
Sascha Schumann
3f1465a66e
Object files are usually not found in the srcdir.
1999-10-04 09:57:00 +00:00
Thies C. Arntzen
0dbabb9871
"cc -32" on IRIX 6.4 does not like (PHP_TRACK_VARS?"1":"0") - at least not if PHP_TRACK_VARS is 0.
1999-10-04 09:56:52 +00:00
Sascha Schumann
0fe632bcee
Fix typo. This caused strange errors when using --with-apxs.
1999-10-04 09:51:46 +00:00
Andi Gutmans
1c0f136405
- Hooray. This might actually work. (I hope)
1999-10-03 20:06:21 +00:00
Andi Gutmans
f114050fc8
- Update changelog
1999-10-03 19:05:25 +00:00
Sascha Schumann
8617cc60ad
Make config executable
1999-10-03 16:10:15 +00:00
Sascha Schumann
a0296da876
Make it executable.
1999-10-03 15:49:27 +00:00
Sascha Schumann
27fb752fce
*_config are executable, thus we don't need %(SHELL)
1999-10-03 15:07:41 +00:00
Sascha Schumann
079d9711ac
Fix Apache-module build
1999-10-03 14:06:06 +00:00
Sascha Schumann
9e4b5f7c3a
Test commit II.
1999-10-02 21:16:34 +00:00
Sascha Schumann
9009c4481b
Test commit.
1999-10-02 21:16:04 +00:00
Sascha Schumann
55218a98f2
Reactivate autoheader
1999-10-02 21:14:23 +00:00
Andrei Zmievski
68d423b3ee
test commit
1999-10-02 21:13:06 +00:00
Andrei Zmievski
e721e560e5
test commit
1999-10-02 21:06:30 +00:00
Andi Gutmans
b7e248dd06
*** empty log message ***
1999-10-02 20:50:20 +00:00
Andrei Zmievski
56af2d063e
test commit
1999-10-02 20:46:41 +00:00
Andrei Zmievski
bbc72d6eb6
test commit
1999-10-02 20:38:09 +00:00
Andrei Zmievski
26b5ef7435
test commit
1999-10-02 20:26:17 +00:00
Andrei Zmievski
debf741e82
commit test
1999-10-02 20:22:29 +00:00
Andrei Zmievski
9387719dac
test
1999-10-02 20:10:35 +00:00
Andrei Zmievski
62f0dbb0c4
test commit
1999-10-02 20:07:07 +00:00
Andrei Zmievski
34e4269172
test commit 1
1999-10-02 20:03:07 +00:00
Andrei Zmievski
32604578de
test commit
1999-10-02 19:22:47 +00:00
Andi Gutmans
56834ff66a
- Another locking fix.
1999-10-02 18:02:10 +00:00
Andi Gutmans
e40667440d
- Fixed locking problem when fetching string offsets
1999-10-02 16:40:25 +00:00
Zeev Suraski
77ddd3a35b
Fix the leak reported on the PHP 3 list (isset() on string offsets)
1999-10-02 15:56:49 +00:00
Sascha Schumann
be2668c027
Use the already compiled `mod_php4.o'. This avoids the trouble
...
apxs has with VPATH builds (assumes source dir = build dir).
1999-10-02 12:11:52 +00:00
Andi Gutmans
86357a9c27
- Move is_ref back to being an unsigned char and not a bit field.
1999-10-01 23:31:39 +00:00
Andi Gutmans
4dd47ffbc1
- Remove locking support completely
1999-10-01 23:26:00 +00:00
Andi Gutmans
f67a65543d
- I forgot this
1999-10-01 19:53:27 +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
Andi Gutmans
03d354dcf9
- For Andrei. Implement references in array() initializations
1999-10-01 10:00:05 +00:00
Andrei Zmievski
6f34f1a68d
test commit
1999-09-30 23:00:39 +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
Sascha Schumann
d926d95066
Test commit II.
1999-09-30 19:19:19 +00:00
Andrei Zmievski
7982d27528
No need for this anymore.
1999-09-30 18:56:46 +00:00
Sascha Schumann
33ba4ec2a9
Test commit.
1999-09-30 18:54:10 +00:00
Sascha Schumann
5320c897f5
Automatically add the SAPI target's Makefile to the list. This
...
frees us from doing this in each config.m4.
1999-09-30 12:56:24 +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
Sascha Schumann
4db370ab9c
* VPATH work
...
* add "--local" switch to buildconf which only recrates the local
autoconf scripts.
1999-09-29 21:49:32 +00:00
Zeev Suraski
dbccd75b06
*** empty log message ***
1999-09-29 21:46:37 +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
Sascha Schumann
174c79dcba
Fix a VPATH issue.
1999-09-29 18:35:45 +00:00
Andi Gutmans
202d7dd216
Fix leak in += with arrays
1999-09-29 17:45:44 +00:00
Andi Gutmans
06d04d15a8
- Fix SEND_VAR problem after fetch'ing a variable and not knowing the fetch type
1999-09-29 17:18:36 +00:00
Thies C. Arntzen
446e5d0fff
added add_property_resource
1999-09-29 15:25:06 +00:00
Stig Bakken
16ff84429a
*** empty log message ***
1999-09-29 15:17:29 +00:00
Stig Bakken
1cb0d88186
Decent configure speedup. Makefiles are now generated only for the
...
extensions you are including. Got rid of configure.in.in.
Moved the last Apache-specific files into sapi/apache and made both
static and DSO build work again (it still doesn't run properly).
1999-09-29 15:17:02 +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
59d5462a6a
- Stop using the locking mechanism and start using refcount.
...
Now we know when we need to free but we still need to support it
1999-09-28 17:37:14 +00:00
Andi Gutmans
cf6c92949c
- Get rid of warning
1999-09-28 17:37:06 +00:00
Andi Gutmans
b56fd4602f
- First part of the patch which makes reads use ptr and not ptr_ptr.
1999-09-28 16:03:09 +00:00
Stig Bakken
f83ff3eb73
disable --with-zeus for now.
1999-09-28 12:55:49 +00:00
Stig Bakken
4c4c8555eb
Started working on the Zeus support. Zeus's ISAPI obviously differs from
...
Windows's, does someone have docs for the Windows API?
1999-09-28 12:08:34 +00:00
Sascha Schumann
7ed68c0f53
Provide alternative istdiostream.
...
This has been tested with Sun WorkShop 4.2 C++ which does not
contain class istdiostream.
1999-09-28 11:54:02 +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
Andi Gutmans
20ba4ec0bd
- Update project.
1999-09-27 19:42:53 +00:00
Sascha Schumann
9442b13939
Make an extra copy of input parameter.
1999-09-27 18:00:30 +00:00
Sascha Schumann
e846baa14b
* include from $(srcdir)
...
* use proper target for nsapi
1999-09-27 16:49:23 +00:00
Sascha Schumann
288c73580b
Create directories, if they do not exist (for VPATH builds).
1999-09-27 16:42:34 +00:00
Stig Bakken
402b2a5d6d
added README file with very brief docs
1999-09-27 16:37:33 +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
Sascha Schumann
154663e9a2
Remove C++ style comments from C source file.
1999-09-27 15:37:00 +00:00
Andrey Hristov
7665e9ef27
Fix for bug #2199 . Redirect was returning http:// which resulted in a crash.
1999-09-27 15:17:28 +00:00
Andrey Hristov
375c85e27f
I will follow portability guidelines.
...
I will follow portability guidelines.
I will follow portability guidelines.
I will follow...
1999-09-27 14:15:15 +00:00
Andrew Skalski
0413f52480
Added functions ftp_{pasv,size,mdtm,fget,fput}
...
PASV mode is now supported; file size and last-modified time can now
be fetched from servers that support them; files now may be stored to and
retrieved from open files, in addition to disk files.
1999-09-27 14:07:09 +00:00
Andrey Hristov
10591231ca
Make it portable.
1999-09-27 14:05:18 +00:00
Stig Bakken
3bc6f8155c
added AC_SYS_LFS from fileutils
1999-09-27 13:15:20 +00:00
Sascha Schumann
b7a1130143
Actually allow to set CXXFLAGS
1999-09-26 20:59:47 +00:00
Sascha Schumann
96b6bdff27
Now thread safe version builds out of the box. libzend/TSRM
...
contain extra config scripts which pass the necessary libs back
to our Makefile.
1999-09-26 20:17:28 +00:00
Sascha Schumann
0ac169b474
Build communication channel and add checks for C++ library
1999-09-26 20:12:05 +00:00
Sascha Schumann
a5dbe81a76
Do not let PACKAGE/VERSION escape from tsrm_config.h.
1999-09-26 19:47:35 +00:00
Sascha Schumann
feccd9f104
Undefine previously PACKAVE/VERSION macros. We should find a way
...
to suppress these from automake
1999-09-26 19:46:35 +00:00
Sascha Schumann
806abdb87c
Use new tsrm_config script to determine libraries.
1999-09-26 19:26:54 +00:00
Sascha Schumann
17df2892bd
Use helper script to determine compile time configuration for TSRM
1999-09-26 19:09:24 +00:00
Stig Bakken
1d9f6b8a57
Have to keep using AM_PROG_LIBTOOL to keep all automake versions happy.
1999-09-26 16:27:25 +00:00
Sascha Schumann
09ad17f67e
Avoid specifying standard paths. This might result in compiler problems
...
(see #1937 , #2367 )
1999-09-26 15:38:58 +00:00
Sascha Schumann
182ac10749
Expand relative paths properly, otherwise build process will fail.
1999-09-26 15:00:12 +00:00
Sascha Schumann
8b462c1acf
Do nothing, if PHP_RPATHS is empty.
1999-09-26 09:12:55 +00:00
Sascha Schumann
df42e494d7
Disable rpaths optionally.
1999-09-26 09:05:56 +00:00
Andi Gutmans
4fff0386ac
- Changed Ts{}.var to Ts{}.var.ptr_ptr.
1999-09-26 05:45:18 +00:00
Sascha Schumann
57668a27cf
* Use per-thread structure for request data
...
* Update ChangeLog
1999-09-25 21:08:36 +00:00
Sascha Schumann
7922481919
Do not try to free NULLs.
1999-09-25 21:06:11 +00:00
Sascha Schumann
b5524a0981
* use faster Ns_ConnWrite()
...
* access cookies correctly
* set HTTP_* variables for script
1999-09-25 18:51:38 +00:00
Sascha Schumann
104209a328
* cleanup
...
* make cookies work
1999-09-25 16:51:18 +00:00
Thies C. Arntzen
091e91c051
fixed callback code -> now $parser is passed as a resource!
1999-09-25 16:42:31 +00:00
Sascha Schumann
f8b9b0db69
* use consistent php_ns prefix
...
* improve configuration code
* shutdown SAPI/TSRM correctly
1999-09-25 16:06:55 +00:00
Sascha Schumann
dd7b4680da
Add entry for AOLserver.
1999-09-25 15:41:51 +00:00
Sascha Schumann
e6006d03ca
* remove debugging message
...
* use SAPI's http response code
* improve POST read (still blocks in Ns_ConnRead, even if there is enough
data to read)
* improve config data handling
1999-09-25 15:37:02 +00:00
Sascha Schumann
00b2df7b8f
New Zend API
1999-09-25 12:09:50 +00:00
Sascha Schumann
9d1c26481a
Use new Zend API
1999-09-25 11:55:42 +00:00
Andreas Karajannis
3ce44b1046
*** empty log message ***
1999-09-25 11:36:34 +00:00
Andreas Karajannis
7588b1bd81
odbc now uses the new Zend function api
1999-09-25 11:30:28 +00:00
Stefan Roehrich
2c9ee99743
Use new Zend API.
1999-09-25 11:23:02 +00:00
Sascha Schumann
eb754de807
- support POST and HEAD requests
...
- clean up module_main()
- allow arbitrary mappings
1999-09-25 01:06:33 +00:00
Sascha Schumann
4e8c8fd992
Initial AOLserver support. Note that the current way of creating
...
the shared library works only with GNU utilities. Some features
have to be added yet (i.e. POST and cookie support).
1999-09-25 00:32:25 +00:00
Andrey Hristov
bfa7b6b145
- Updated array functions to use high-performance API
...
- Updated preg_split() to allow returning only non-empty pieces
1999-09-24 22:44:41 +00:00
Sascha Schumann
a412eb08cb
PTHREADS is a custom symbol
1999-09-24 20:52:46 +00:00
Sascha Schumann
5453d0be3c
Additionally check libc_r (*BSD) for pthread functions
1999-09-24 20:14:44 +00:00
Andrey Hristov
0c02153bb9
*** empty log message ***
1999-09-24 20:12:28 +00:00
Andrey Hristov
ba01cefc0c
Update to new high-performance function API.
1999-09-24 20:11:06 +00:00
Sascha Schumann
7a1fff1441
Use new Zend API.
1999-09-24 19:35:25 +00:00
Sascha Schumann
d8895c02f7
Add _ex API implementation for booleans.
1999-09-24 19:22:25 +00:00
Sascha Schumann
e303647058
Use new Zend API and some minor cleanup.
1999-09-24 19:15:17 +00:00
Andrey Hristov
5a35438c21
*** empty log message ***
1999-09-24 18:58:36 +00:00
Andrey Hristov
54fed6c652
Extended var_dump to handle IS_RESOURCE somewhat.
1999-09-24 18:57:02 +00:00
Andrey Hristov
be0eeccdbc
Update WDDX for new high-performance function API.
1999-09-24 18:43:34 +00:00
Thies C. Arntzen
8ad2f4a2e8
we want to know who to "blame";-)
1999-09-24 18:07:26 +00:00
Thies C. Arntzen
c626d9e47b
updated XML (only partly tested)
1999-09-24 18:02:58 +00:00
Stig Bakken
79e729d6b2
more high-tech shared building
1999-09-24 15:35:35 +00:00
Stig Bakken
a4bc9478f8
kill another warning
1999-09-24 15:34:54 +00:00
Stig Bakken
63b101f36d
kill warning
1999-09-24 15:34:30 +00:00
Stig Bakken
701bd7cfad
set "phplibdir" in configure so it doesn't have to be set in Makefile.am
1999-09-24 15:34:06 +00:00
Thies C. Arntzen
032b459205
use getParameterEx
1999-09-24 15:10:13 +00:00
Stig Bakken
33a946d317
#if !HAVE_FOO -> #ifndef HAVE_FOO
1999-09-24 14:41:27 +00:00
Stig Bakken
bd3132bcda
AM_PROG_LIBTOOL is obsolete in libtool 1.3.3, which we now require.
...
Using AC_PROG_LIBTOOL instead.
1999-09-24 14:36:43 +00:00
Stig Bakken
56654596a3
Detect automake/libtool that are installed with different prefixes.
1999-09-24 14:29:28 +00:00
Thies C. Arntzen
10ec822b59
fixed warning
1999-09-24 14:18:33 +00:00
Zeev Suraski
360675cee3
Compile fixes for WDDX, XML and Zlib (untested)
1999-09-24 14:14:47 +00:00
Zeev Suraski
83a5bfdd04
This should make the Sybase CT module compile again (untested)
1999-09-24 14:11:53 +00:00
Zeev Suraski
e99e7c04ba
This should make the mSQL module compile again (untested)
1999-09-24 14:09:37 +00:00
Zeev Suraski
86133ef45e
Ok guys, the prototype for zend_fetch_resource*() has changed - it now
...
accepts a zval ** instead of a zval *, to be suitable for use with the
getParametersEx() API.
You don't have to switch to the getParametersEx() API, but you will have to
go over your code and add &'s where it's applicable (of course, if you have
the mental strength to go over your code and convert it to use the Ex API,
it's best).
The MySQL module now uses the getParametersEx() API completely.
1999-09-24 14:07:15 +00:00
Zeev Suraski
85844ace95
Exify the standardized resource stuff
1999-09-24 14:03:45 +00:00
Sascha Schumann
c8ac4bb069
Link with libtsrm.a, if thread-safety is chosen.
1999-09-23 20:27:17 +00:00
Sascha Schumann
f0ee629b04
Exit, if subsequent configure scripts fail.
1999-09-23 20:17:07 +00:00
Sascha Schumann
8bf4fe02db
Try to find ANSI/STDC compatible mode of host compiler
1999-09-23 19:34:42 +00:00
Andrew Skalski
1e573a9acd
fixed php3 code problem
1999-09-23 17:54:26 +00:00
Andi Gutmans
63c15d292a
- Fix bug #2364 .
...
I haven't checked all of the conversion macros yet but there's a change
there are more such bugs there.
1999-09-23 16:13:31 +00:00
Sascha Schumann
4efa22c84e
Fix vpath build w/ thread-safe enabled on Unix.
1999-09-23 16:07:16 +00:00
Andrey Hristov
9f07657b48
Small clarification.
1999-09-23 15:37:01 +00:00
Sascha Schumann
de8120f5d0
This version is finally the standard one. The last one was created
...
using the 'nested ifs mode' which seems to be the source of the problem.
1999-09-23 14:53:39 +00:00
Nick Gorham
7d759e6781
Added support for Easysoft ODBC-ODBC Bridge
...
Fixed bug in odbc_setoption
1999-09-23 14:46:35 +00:00
Andrew Skalski
1e13eb646e
fixed typo in mcal_list_alarms()
1999-09-23 14:34:00 +00:00
Sascha Schumann
ba8b703ba1
re2c's bit vectors appear to be not binary clean. Revert to
...
standard mode for the moment.
1999-09-23 14:09:42 +00:00
Thies C. Arntzen
edb2032c4e
tiny optimisation
1999-09-23 11:20:56 +00:00
Thies C. Arntzen
820adaddf1
Ora_Fetch_Into now resets the returned array in all cases
1999-09-23 10:23:12 +00:00
Thies C. Arntzen
ed731497fe
fixed NULL column
...
cleanups
1999-09-23 09:15:38 +00:00
Nick Gorham
fd3f26c100
Added odbc metadata update log
1999-09-22 21:15:35 +00:00
Nick Gorham
21d8c984da
Added support for metadata functions, odbc_tables, odbc_columns,
...
odbc_columnprivileges, odbc_foreignkeys, odbc_gettypeinfo,
odbc_primarykeys, odbc_procedurecolumns, odbc_procedures,
odbc_procedurecolumns, odbc_procedures, odbc_specialcolumns,
odbc_statistics, odbc_tableprivileges
1999-09-22 21:14:03 +00:00
Andrew Skalski
1220513252
mcal fix
1999-09-22 20:23:34 +00:00
Andrew Skalski
4a35689b48
added null-checking in make_event_object
1999-09-22 20:21:40 +00:00
Andrew Skalski
4b0707cf32
Added optional port argument to ftp_connect()
1999-09-22 16:07:41 +00:00
Thies C. Arntzen
33de7a2ea4
i always forget something;-)
1999-09-22 15:26:16 +00:00
Thies C. Arntzen
24c5143122
fixed Ora_PLogon (rewrote ora_do_logon using php_mysql.c)
...
oracle_hack.c should no longer be needed!
1999-09-22 15:16:19 +00:00
Thies C. Arntzen
49c891f2cf
preliminary fix for each until andi & zeev clean up!
1999-09-22 09:57:42 +00:00
Thies C. Arntzen
8c6da509f2
resourcified Oracle
1999-09-22 09:52:19 +00:00
Thies C. Arntzen
5f3515652a
if you pass NULL as the resource_type_name to zend_fetch_resource*&friends the functions will not print any warnings if the resource is not found!
1999-09-22 09:46:44 +00:00
Stefan Roehrich
8b4000f4cb
Added new allowable_tags for gzgetss() in ChangeLog, too.
1999-09-22 08:11:17 +00:00
Stefan Roehrich
0b1226219c
Fixed gzgetss() with new _php3_strip_tags, corrected prototype.
1999-09-22 07:43:36 +00:00
Uwe Steinmann
cc31ea96a5
- fixed misleading explaination of fdftk option
1999-09-22 05:27:55 +00:00
Andi Gutmans
7e5ef04b13
- Get rid of warning on win32, non-threadsafe mode.
1999-09-22 05:26:22 +00:00
Andrew Skalski
709286c0d2
removed NULL reference
1999-09-21 23:37:26 +00:00
Andrew Skalski
773a26bb22
added missing "addr.sin_family = AF_INET" to socket routines
1999-09-21 23:34:45 +00:00
Andrey Hristov
9ea5e71a75
*** empty log message ***
1999-09-21 21:39:20 +00:00
Andrey Hristov
33eb7d83ca
WDDX can now serialize and deserialize objects. It uses a variable named
...
'php_classname' to store the class name as part of the structure. This way
WDDX modules in other languages don't get broken by extensions to DTD
we would have had to make otherwise.
1999-09-21 21:38:51 +00:00
Rasmus Lerdorf
1e57766b11
Slightly redundant to check for crypt() here again, but the TRY_RUN stuff
...
needs it defined in the same m4 file or it won't work, and it will just
get pulled out of the cache anyway, so it isn't a big deal.
1999-09-21 20:10:53 +00:00
Andi Gutmans
228a537bbe
- Fix problem where function parameter fetches were created too late.
1999-09-21 20:00:01 +00:00
Rasmus Lerdorf
cd0957112b
fgetss/gzgetss fixes
1999-09-21 17:50:51 +00:00
Andrey Hristov
53fb0ea075
A couple of fixes.
1999-09-21 17:06:30 +00:00
Sascha Schumann
8771472210
AC_CRYPT_CAP depends on symbol checks performed later.
1999-09-21 15:00:22 +00:00
Sascha Schumann
5d70fbf6c1
* Do not check explicitly for symbols in the C library ( fixes #2339 )
...
* sort function checks
1999-09-21 14:51:24 +00:00
Thies C. Arntzen
8638a61df9
added krsort() function
1999-09-21 14:36:41 +00:00
Sascha Schumann
3f684e77a7
Continue, if re2c is not available.
...
Using the ".new" suffix, we prevent the shell from zeroing the file.
1999-09-21 12:24:41 +00:00
Sascha Schumann
240d17f12f
Fix typo.
...
catched by: ssb
1999-09-21 08:41:31 +00:00
Sascha Schumann
d47b44e3c2
Use install-sh (autoconf) script to install php. This automatically
...
creates the bindir path, so that the effect described in #2304 disappears.
1999-09-21 08:37:27 +00:00
Sascha Schumann
cf00d75980
On at least Win32, gettimeofday() returns values in tv_usec which exceed
...
1,000,000.
For portability reasons we set the integer part of our result to 0.
This is equivalent to using tv_usec % 1000000.
1999-09-21 08:22:33 +00:00
Zeev Suraski
8b1195ffcc
*** empty log message ***
1999-09-21 07:32:50 +00:00
Zeev Suraski
a30f028a12
Add get_func_args()
1999-09-21 07:31:24 +00:00
Zeev Suraski
9f1d0dec47
*** empty log message ***
1999-09-21 00:46:22 +00:00
Rasmus Lerdorf
1324095627
woops
1999-09-21 00:21:01 +00:00
Rasmus Lerdorf
08389808ee
Fix zlib compile problem
1999-09-21 00:15:21 +00:00
Andi Gutmans
6735ebb271
- Move some more language specific functions over to Zend.
...
get_class() and friends.
1999-09-20 21:29:41 +00:00
Andi Gutmans
68217ef564
- Move some more Zend internal functions from PHP
1999-09-20 21:28:37 +00:00
Sascha Schumann
7e686b1b95
Timestamp commit. I do consider removing the rule from Makefile.am
1999-09-20 21:17:26 +00:00
Egon Schmid
565c322797
Here was also something missing.
1999-09-20 20:05:26 +00:00
Andi Gutmans
5e3bbea0ff
- Next part of locking fix.
...
$var = expr; and $var += expr; first create code for expr and later on
for the fetch_w of $var.
1999-09-20 18:17:32 +00:00
Andrew Skalski
678c204e32
added FTP module
1999-09-20 18:12:55 +00:00
Andi Gutmans
7831d30265
- Newline for Sun's compiler
1999-09-20 17:01:38 +00:00
Andi Gutmans
06a18f169b
- Add some internal functions to Zend
1999-09-20 16:56:09 +00:00
Andi Gutmans
96a19593b2
- Internal functions which are basic language functions should be in Zend
...
and not in PHP. I.e. strlen(), each(), error_reporting(), count(),
get_class_name().
1999-09-20 16:56:02 +00:00
Rasmus Lerdorf
c0dcedcafc
Added optional allowable_tags arguments to strip_tags() and fgetss() to
...
allow you to specify a string of tags that are not to be stripped
Could have used flex for this, and Andrew sent me a flex file to do this,
but I could do the same thing with only minor additions to the existing
state machine and the resulting code is much smaller and tighter.
1999-09-20 15:50:56 +00:00
Andi Gutmans
babad2694e
- First step in fixing locking problem. Array fetches are now always done last.
...
Later on we will want to delay the write fetches even longer until after their
resulting expression is parsed. The way it is now, will make it very easy
to delay as long as we need.
1999-09-20 15:44:30 +00:00
Andrew Skalski
4247839610
php3 compatibility added
1999-09-20 15:40:22 +00:00
Andi Gutmans
82c8a9e745
- Indirect references had all of the fetches by mistakenly backpatched.
...
Actually all of the fetches are supposed to be read, except for the last
one.
1999-09-20 14:45:36 +00:00
Andrey Hristov
eb66458ed9
*** empty log message ***
1999-09-20 14:14:46 +00:00
Andrey Hristov
f84ba1b039
- Upgraded var_dump() to take multiple arguments
...
- php3api_ is changed to php_
1999-09-20 14:14:26 +00:00
Andrew Skalski
85ca1dfb08
Replaced ftplib because of incompatible license.
1999-09-20 14:10:25 +00:00
Stig Bakken
fffbcf5297
logic fix
1999-09-20 13:11:34 +00:00
Zeev Suraski
7a4a5944f9
Added zend_num_args() and zend_get_arg()
1999-09-20 13:00:35 +00:00
Thies C. Arntzen
6c0c410acf
resource API & ZTS stuff
1999-09-20 12:51:20 +00:00
Zeev Suraski
13d840bc3f
Add a file in which we can put Zend builtin functions
1999-09-20 12:24:39 +00:00
Zeev Suraski
8c75ad3dd3
*** empty log message ***
1999-09-20 11:56:45 +00:00
Zeev Suraski
ee382ca76a
Fixed a memory leak in the Apache per-directory directives handler
1999-09-20 11:54:06 +00:00
Thies C. Arntzen
4bb329eafb
added array_count_values function.
1999-09-20 10:09:57 +00:00
Thies C. Arntzen
22d6f64f54
new API for var_dump
1999-09-20 09:34:39 +00:00
Zeev Suraski
4dcb388c0c
*** empty log message ***
1999-09-19 11:07:49 +00:00
Andi Gutmans
3bfef7eef1
- Fix bug #2278
1999-09-18 23:21:33 +00:00
Andi Gutmans
1ac04fe9f4
- Try to fix the leak Rasmus reported. It's pretty sucky code so I'm really
...
not sure this fix is OK.I can't remember all of what we did there.
1999-09-18 22:07:12 +00:00
Andi Gutmans
a5783da8a9
- Make Win32 compile again
1999-09-18 19:13:38 +00:00
Stefan Roehrich
de13056307
Fixed prototype.
1999-09-18 19:03:35 +00:00
Zeev Suraski
6ddd686141
Safer behavior
1999-09-18 13:07:45 +00:00
Sascha Schumann
39dbe1d41b
Aline escape signs in macro definitions.
1999-09-18 12:16:16 +00:00
Sascha Schumann
a4838358f3
Pipe header names through sort and put only one on each line. This
...
makes them better accessible.
Add stdlib.h to check headers.
1999-09-18 12:14:49 +00:00
Sascha Schumann
dbc6964fbb
There is no reason to define malloc() to xmalloc() in this context.
1999-09-18 12:13:48 +00:00
Andrey Hristov
8dbbeaf55a
Make CVS quiet.
1999-09-17 22:25:00 +00:00
Thies C. Arntzen
aa5102490a
make SUNs c89 happy
1999-09-17 13:57:24 +00:00
Thies C. Arntzen
ab185b11b5
SUN c89 doesn't like } direct after a label;-(
1999-09-17 12:32:18 +00:00
Thies C. Arntzen
20ee106672
no // in the sources please
1999-09-17 12:16:21 +00:00
Thies C. Arntzen
83bbb90d10
added newline at end of file
1999-09-17 12:14:31 +00:00
Gergely Madarász
32c7eaa9e3
note the shared modules in the changelog
1999-09-17 12:12:56 +00:00
Sascha Schumann
6780b649c6
Convert to Ex API. Does anyone have a better name for it?
1999-09-17 09:56:30 +00:00
Sascha Schumann
7d519f2f84
Use Ex API here as well.
1999-09-17 09:40:51 +00:00
Sascha Schumann
c051b3868b
Convert module to use Ex API.
1999-09-17 09:26:03 +00:00
Thies C. Arntzen
128b733eca
fix #2316 - fetching empty LOBs via OCI8
1999-09-17 08:25:03 +00:00
Sascha Schumann
5a5646dce1
don't call empty function names
1999-09-17 05:45:52 +00:00
Sascha Schumann
55272d3df8
add user-level callbacks
1999-09-17 05:40:59 +00:00
Zeev Suraski
567b3cef6b
- Fix bug #2318
1999-09-17 02:06:12 +00:00
Zeev Suraski
d01370cdc2
*** empty log message ***
1999-09-17 02:06:08 +00:00
Sascha Schumann
09af5f967f
supply path to xml include dir for APXS and APACI
1999-09-17 01:47:15 +00:00
Sascha Schumann
5a468e740c
This format is also used by the XML module
...
allows us to compile with Apache's expat-lite dir
1999-09-17 01:38:10 +00:00
Sascha Schumann
61f288ced3
0' flag ignored with precision specifier and X' format
1999-09-17 01:16:54 +00:00
Sascha Schumann
79fd46c3a1
If available, use Apache's embedded expat
1999-09-17 00:57:28 +00:00
Sascha Schumann
51ad9501d1
fix Unix build
1999-09-17 00:12:58 +00:00
Zeev Suraski
98d95dd88e
- Added support for unknown POST content types (Zeev)
...
- Introduce the convert_to_*_ex() API in strlen()
1999-09-16 23:18:15 +00:00
Zeev Suraski
52e769d883
Introduce convert_to_*_ex()
1999-09-16 23:15:34 +00:00
Zeev Suraski
ec50085da3
*** empty log message ***
1999-09-16 22:42:21 +00:00
Zeev Suraski
71a4740847
*** empty log message ***
1999-09-16 22:31:33 +00:00
Zeev Suraski
13e67642fa
Generalize SAPI a bit
1999-09-16 22:15:43 +00:00
Andrey Hristov
f52ffb8943
Fixed memory leak.
1999-09-16 20:59:44 +00:00
Andrew Skalski
359a3af2a1
Added documentation hooks to ftp.c
1999-09-16 19:39:44 +00:00
Andrew Skalski
13a74e6979
added ftp_pwd() ftp_cdup() ftp_mkdir() and ftp_rmdir()
1999-09-16 19:03:27 +00:00
Andrew Skalski
93313c576c
added ftp_systype() and ftp_listraw() functions
1999-09-16 18:38:11 +00:00
Andrew Skalski
f0688ad7e2
Added rudimentary FTP support.
1999-09-16 15:57:51 +00:00
Sascha Schumann
e20af627c2
improve short help messages
1999-09-16 15:35:49 +00:00
Sascha Schumann
cf0ea12384
this was twice here
1999-09-16 14:07:56 +00:00
Sascha Schumann
119b85b736
this helps compiling on non-ANSI C compliant platforms
1999-09-16 14:06:35 +00:00
Rasmus Lerdorf
39df209ddd
libtool check fix
1999-09-16 13:52:19 +00:00
Sascha Schumann
823a48558c
.
1999-09-16 13:41:38 +00:00
Sascha Schumann
0320532962
Make some things accessible from outside for session module
1999-09-16 13:25:54 +00:00
Sascha Schumann
8ea07b1fd2
.
1999-09-16 13:00:06 +00:00
Sascha Schumann
fa0f9ed367
wddx decode works as well
1999-09-16 12:55:31 +00:00
Sascha Schumann
a597f24b5e
wddx serialization works now
1999-09-16 12:00:58 +00:00
Sascha Schumann
92896a9945
Since Thies fixed var.c, objects work now, too.
1999-09-16 09:14:06 +00:00
Sascha Schumann
efea424869
use AM_PROG_CC_STDC which covers AIX, Ultrix, OSF/1, HP-UX, and SVR4
1999-09-16 08:42:25 +00:00
Sascha Schumann
e23d66fb5c
silence libtool
1999-09-16 08:26:46 +00:00
Thies C. Arntzen
6ecd417b34
php4 now deserialized php3 objects correctly!
...
php3 will ignore objects serialized by php4 (that's the price we have to pay!)
small fix in deserializing objects with static initializers (thanx boris)
1999-09-16 08:05:17 +00:00
Thies C. Arntzen
de73bd0123
when unserializing classes:
...
if the class is not known the standard class (no methods) will be used.
if the class is known - the created object will functional again!
1999-09-15 15:03:06 +00:00
Andrey Hristov
b287aa2cf4
Fixed printf format.
1999-09-15 13:37:11 +00:00
Andrey Hristov
22ce3af972
HASH_OF is now in php.h.
1999-09-15 13:28:33 +00:00
Thies C. Arntzen
e7ad3bbec2
use new API in var.c
1999-09-15 11:42:28 +00:00
Thies C. Arntzen
21a0c57cb1
i love id-strings
1999-09-15 11:09:32 +00:00
Thies C. Arntzen
3491633aa0
made serialize/unserialize work with classes! (also made the code "shorter")
...
CHANGES:
- the serialized string now also contains the class name (was not available in PHP3)!
- when unserializing php will create a fully working object of that class again
therby the class has to be defined when unserializing - else you get a warning!
1999-09-15 11:08:25 +00:00
Stig Bakken
093e9f5e97
add LIBOBJS, used by AC_REPLACE_FUNCS
1999-09-15 11:08:00 +00:00
Thies C. Arntzen
328d08bd63
HASH_OF is usable enough (i hate duplicating macros all over the place)
1999-09-15 09:51:20 +00:00
Stig Bakken
1740e6ee4e
Clean up the strlcat/strlcpy checks.
1999-09-15 09:35:20 +00:00
Andi Gutmans
36101a55ad
- Leave this for now.
1999-09-15 05:44:59 +00:00
Andi Gutmans
100148168a
- Thread-unsafe win32 compiles again
...
- Some strlcpy changes including one bug fix.
1999-09-15 05:42:36 +00:00
Andi Gutmans
0a7fc83253
- gettimeofday wasn't registered.
1999-09-15 05:08:45 +00:00
Andi Gutmans
0b601a7bea
- Another small one. I'll leave the rest for now...
1999-09-14 20:15:32 +00:00
Andi Gutmans
37d7b91d48
- First go at using strlcat().
1999-09-14 20:12:46 +00:00
Andi Gutmans
6a836bee6f
- Support strlcpy/strlcat in windows.
1999-09-14 20:02:47 +00:00
Andrey Hristov
870a6679ff
- Updated bundled PCRE library to version 2.08
...
- Made it possible to specify external location of the PCRE library
- Reworked PCRE extension to use updated PCRE library API
Hopefully now everything behaves just like Perl..
1999-09-14 19:24:37 +00:00
Andi Gutmans
61a3c147c3
Add strlcpy/strlcat to the build process
1999-09-14 19:12:57 +00:00
Uwe Steinmann
4b6328e052
- fixed memory leaks in pdf_open_memory_image() and pdf_add_bookmark()
1999-09-14 14:47:14 +00:00
Thies C. Arntzen
cdd360043e
forgot
1999-09-14 14:18:57 +00:00
Thies C. Arntzen
da599af7cb
is_array & friens speedups
1999-09-14 14:18:18 +00:00
Rasmus Lerdorf
0fd0323956
Fix a warning
1999-09-14 14:09:57 +00:00
Thies C. Arntzen
41da939988
count() now uses the new getParamertersEx API.
1999-09-14 13:34:27 +00:00
Thies C. Arntzen
ac1a484c84
i'm sure this was left-over debugging code!
1999-09-14 13:32:54 +00:00
Thies C. Arntzen
598aaba8ca
you can now position when doing lob-writes.
1999-09-14 12:41:00 +00:00
Andi Gutmans
331221eec6
- X-* is probably more standard.
1999-09-13 20:03:56 +00:00
Stig Bakken
809198b916
Added PHP_WITH_SHARED for checking "shared,*" prefix when configuring
...
extensions.
1999-09-13 17:17:51 +00:00
Thies C. Arntzen
95303a4bb2
added Metaphone support
1999-09-13 15:48:32 +00:00
Thies C. Arntzen
c2042b1561
got rid of the define-callback stuff there's a bug in oracle-oci8!
1999-09-13 15:19:29 +00:00
Andrey Hristov
93c35c3352
Per Stig's suggestion.
1999-09-13 14:15:22 +00:00
Thies C. Arntzen
c21663b3e7
ported $lob->savefile($filename) method from PHP3
1999-09-13 11:49:07 +00:00
Stig S. Bakken
af1e5ad881
Make sure HAVE_LIBDL gets defined.
...
Disable more C++ tests when not configured for thread safety.
1999-09-13 11:29:44 +00:00
Thies C. Arntzen
f858b6891c
cleanups
1999-09-13 11:13:53 +00:00
Thies C. Arntzen
d5bafdaa20
ported oci8 to use new class API
...
var_dump no longer tries to traverse avr->value.ht for objects but uses var->value.obj.properties instead
1999-09-13 10:52:54 +00:00
Zeev Suraski
b88ef58a9f
Modified phpinfo() to show the contents of arrays in HTTP_*_VARS[]
1999-09-13 01:11:41 +00:00
Zeev Suraski
3f0696dada
Fix a buglet, and avoid crashing in phpinfo() (fixes an elusive legacy bug too)
1999-09-13 00:35:03 +00:00
Zeev Suraski
b2c0acb9ec
- Rewrote the GET/POST/Cookie data reader to support multi-dimensional
...
arrays! (Zeev)
This still needs a lot of more testing, but it seems to work more or less.
1999-09-12 23:51:12 +00:00
Zeev Suraski
ce5a09ea40
Add PHP-Version header in IIS
1999-09-12 21:07:53 +00:00
Zeev Suraski
9e3315799c
That's important enough to be cached
1999-09-12 20:36:48 +00:00
Zeev Suraski
5f1793e21c
Make this class instanciatable
1999-09-12 19:27:50 +00:00
Sascha Schumann
c656292b96
check for c++ only, if thread safety is enabled
1999-09-12 14:14:34 +00:00
Sascha Schumann
96559e91fe
use static buffer for URLs instead of allocating/freeing memory
...
for each one
1999-09-12 13:03:10 +00:00
Sascha Schumann
ac524d4b94
calculate length of cookie string correctly
1999-09-12 12:27:11 +00:00
Sascha Schumann
2e844a0799
add missing result msg
1999-09-12 12:20:59 +00:00
Sascha Schumann
691881a505
move session URL stuff to the last place before SAPI takes over
1999-09-12 11:36:45 +00:00
Sascha Schumann
f2ff18e71e
These shouldn't be here
1999-09-12 10:25:26 +00:00
Andi Gutmans
d5968b8f21
- Oops
1999-09-12 09:57:51 +00:00
Andi Gutmans
da973fe6bf
- Make it compile on Win32
1999-09-12 09:55:53 +00:00
Zeev Suraski
a1784083e9
Time to do that - rename the output layer prefix
1999-09-12 03:25:02 +00:00
Zeev Suraski
5a6b8653b9
*** empty log message ***
1999-09-12 03:08:29 +00:00
Sascha Schumann
036cc83ed6
expand version number
1999-09-12 00:45:38 +00:00
Sascha Schumann
3a9f68eb11
update
1999-09-12 00:44:08 +00:00
Andrey Hristov
b203fb3481
Reverting to previous state.
1999-09-12 00:32:22 +00:00
Sascha Schumann
276c815f04
update macro
1999-09-12 00:31:23 +00:00
Andrey Hristov
0ac98aa95a
Use global symbol table instead..
1999-09-12 00:07:10 +00:00
Andrey Hristov
0c3ada7dd4
Use TRANS_SID macro for selective compilation..
1999-09-12 00:05:45 +00:00
Andrey Hristov
d8fc73b5c4
- Fixed mem leak when undefined variable was passed in for serialization
...
- Made it properly serialize object properties
1999-09-12 00:04:29 +00:00
Sascha Schumann
9531846163
add rule for url_scanner.c
1999-09-12 00:00:44 +00:00
Sascha Schumann
b0f01a4778
- add standard disclaimer
...
- regenerate scanner with re2c -s
1999-09-11 23:53:40 +00:00
Sascha Schumann
f040ce584d
add transparent session id propagation
...
this uses a custom scanner which detects relative URIs and changes
them appropiately.
must be explicitly enabled with --enable-trans-sid
(normal case is not affected, since session_adapt_uris defaults to
void statement. Compiler should eliminate dead code in output.c then.)
1999-09-11 23:47:16 +00:00
Andrey Hristov
9706aa1daa
- Added session_unset() function
...
- Fixed double session globals shutdown crash
- Added warning when session_destroy() is called without session_start()
1999-09-11 22:31:04 +00:00
Andrey Hristov
99caa5d43b
Use OnUpdateBool for Boolean entries.
1999-09-11 20:36:47 +00:00
Sascha Schumann
2f39b484f5
avoid mmap overhead for small files
1999-09-11 18:38:34 +00:00
Sascha Schumann
dda0b783df
optimize fpassthru/readfile to use mmap instead of fread
...
which especially increases speed on large files.
1999-09-11 18:15:39 +00:00
Sascha Schumann
533ef3988b
- support for external entropy sources
...
- extern_referer_chk => extern_referer_check
- kill a warning in mod_files.c
1999-09-11 17:20:31 +00:00
Zeev Suraski
7afbcb4fef
Rename allow_builtin_links to expose_php
1999-09-11 16:32:08 +00:00
Zeev Suraski
27afe4e49b
More cleanup
1999-09-11 16:16:16 +00:00
Zeev Suraski
7f42813ad8
Except for this small bug fix - it works
1999-09-11 15:36:00 +00:00
Zeev Suraski
15fee4d3a6
- Seriously optimize and clean php_parse_gpc_data()
...
- Added gpc_globals directive to turn global definitions of GPC variables on/off
(untested)
1999-09-11 15:04:45 +00:00
Zeev Suraski
1b6ccfe86c
Cleanups & optimizations
1999-09-11 14:09:29 +00:00
Zeev Suraski
fb910c64cd
Cleanups
1999-09-11 13:44:23 +00:00
Sascha Schumann
177341f899
Move Linux check => more general --version-script check
1999-09-10 23:36:04 +00:00
Sascha Schumann
b5c6dfdd0c
add info about php3/php4 apache modules
1999-09-10 23:22:16 +00:00
Sascha Schumann
494defe52b
tweak the INSTALL document a little bit
1999-09-10 22:55:32 +00:00
Sascha Schumann
9ae2115123
pass flag correctly to linker
1999-09-10 22:05:58 +00:00
Sascha Schumann
7cb18f7109
- better use of scoping
...
- support Solaris 2.x
1999-09-10 21:51:17 +00:00
Andrey Hristov
b87e105411
Workaround for m4 weirdness.
1999-09-10 18:53:55 +00:00
Mark Musone
b147536a10
lets not go down that road..were onyl going to use the internal event structure. No passing objects
1999-09-10 18:25:19 +00:00
Mark Musone
75b03f5f72
wrong preprocessor command
1999-09-10 18:21:41 +00:00
Mark Musone
c8f88a0c0b
ported the php3 stuff to php4. This module should work intechangably between the two versions also
1999-09-10 18:15:29 +00:00
Zeev Suraski
d7357c0649
*** empty log message ***
1999-09-10 16:27:13 +00:00
Zeev Suraski
ca1b3ffbc8
Shut up a warning
1999-09-10 16:16:24 +00:00
Uwe Steinmann
055472d3b4
- wrong use of php_print corrected
1999-09-10 05:23:02 +00:00
Zeev Suraski
2f9260fe4c
Lost functionality in earlier fix... That should really work.
1999-09-10 02:59:37 +00:00
Zeev Suraski
7dc2579bfe
That should do the trick (untested)
1999-09-10 02:55:28 +00:00
Mark Musone
f2b3c3c2f6
my bad, sorry
1999-09-10 02:47:49 +00:00
Mark Musone
63243be5ac
fixed memory leak
1999-09-10 02:37:46 +00:00
Andi Gutmans
22f066e708
- Add foreach() freeing code.
...
- Fix switch() freeing code to only free current function's switch expressions.
- I have a feeling break expr; in a switch where expr > 1 leaks because it
won't free all of the expressions. Fix is probably not trivial.
1999-09-09 14:15:17 +00:00
Andi Gutmans
7567b96c22
- Add mcal to TS project. It seems that mcal needs to be patched a bit in
...
order to work TSRM. Right now it has globals.
1999-09-09 13:00:07 +00:00
Andi Gutmans
f0a988a26a
- Fix leak when decrementing strings which actually are longs.
1999-09-09 12:59:09 +00:00
Uwe Steinmann
ca4005f623
forgot to change prototype
1999-09-09 06:41:15 +00:00
Uwe Steinmann
6bcb8eb1be
pdf_setfont got optional parameter to embed fonts
1999-09-09 06:19:01 +00:00
Andi Gutmans
67daaa7aac
- Fix for floating point array offsets. Same behaviour as in PHP 3.0. We
...
casted to (long).
1999-09-08 20:38:08 +00:00
Andrey Hristov
42e39d474b
Remove extraneous debug dlerror() call which results in the subsequent
...
dlerror() returning NULL.
1999-09-08 19:36:18 +00:00
Andi Gutmans
afecff3aa4
- Add -b option to flex++
1999-09-08 17:16:22 +00:00
Gergely Madarász
d4b10839b3
remove -Wl,--version-script from RPATHS, put it into a separate
...
variable
1999-09-08 14:31:57 +00:00
Danny Heijl
558d287af9
Be consistent.
1999-09-08 14:09:05 +00:00
Uwe Steinmann
66a636a6ae
- add posibility to specify how objrec to objarr conversion
...
is performed (not ready yet)
1999-09-08 12:29:13 +00:00
Sascha Schumann
b43cf1a583
add versioning support
1999-09-08 12:26:31 +00:00
Jakub Skopal
bb4bc40cf9
Correct compiler warning.
1999-09-08 11:53:16 +00:00
Andi Gutmans
e4e39b8263
- Update non-threadsafe project file
1999-09-07 20:42:20 +00:00
Andi Gutmans
48ab0fb57d
- Fix warnings and win32 compile
1999-09-07 20:29:31 +00:00
Andrey Hristov
6101d108e0
Here you go, Egon.
1999-09-07 19:41:28 +00:00
Stefan Roehrich
06362129fa
Fixed behavior with empty doc_root.
...
gzgetss() now uses _php3_strip_tags.
1999-09-07 19:05:37 +00:00
Stig Bakken
5c40e7c41e
Add thread-safety notice here. The solution is using gethostbyname_r,
...
but it seems that it takes different parameters on Solaris and
Linux. ;-P We should probably make a wrapper function, and make a
configure test that checks if there is a reentrant version available,
and if not protect gethostbyname and similar calls with a mutex until
the results have been copied. Ugly.
1999-09-07 18:46:25 +00:00
Andrey Hristov
7aacff63c9
Added second parameter to array_keys() which allows returning keys
...
only for a specific value in an array.
1999-09-07 18:29:59 +00:00
Andrey Hristov
cff218cf54
Kill compiler warning.
1999-09-07 18:26:36 +00:00
Andrey Hristov
d6c9c23ff5
Shut up, CVS.
1999-09-07 16:09:48 +00:00
Andrey Hristov
209fe717b1
Kill warnings.
1999-09-07 16:09:18 +00:00
Uwe Steinmann
51b01ca9b7
- uniqid() used the additional parameter even if it was not provided
...
this caused an segm fault. fixed it.
1999-09-07 10:34:17 +00:00
Stig S. Bakken
928863f85b
define tests first, use after.
1999-09-07 09:02:41 +00:00
Zeev Suraski
959ad0e9ea
A couple of BoundsChecker fixes
1999-09-06 22:40:27 +00:00
Andi Gutmans
4bc3097e6f
- Fix win32 compile
1999-09-06 20:43:35 +00:00
Andi Gutmans
f1afd5796c
- Should fix Win32 compile
1999-09-06 20:43:25 +00:00
Andi Gutmans
a0bad70bd1
- Make zend compile again in Win32.
1999-09-06 20:33:40 +00:00
Egon Schmid
f0f7b9de53
File should here be string.
1999-09-06 20:13:23 +00:00
Danny Heijl
c7cdb687da
Forgot to update ChangeLog
1999-09-06 19:24:47 +00:00
Stefan Roehrich
e4b7bf4ae8
Removed remaining PHP_31 defines.
...
First try with ZTS support, can someone with a working ZTS enabled setup test this, please?
1999-09-06 19:09:47 +00:00
Gergely Madarász
8ee14c990b
Enabled shared build of gd module
1999-09-06 16:50:11 +00:00
Stig S. Bakken
2829eaeee8
ignore zend-scanner.cc
1999-09-06 16:15:52 +00:00
Stig S. Bakken
623406cf2b
hand-patched some MSVC files
1999-09-06 16:15:27 +00:00
Stig S. Bakken
009025e00d
* header file cleanup
...
* fixed --enable-thread-safety build for UNIX
I don't have a Win32 environment available, could someone please try
compiling on Win32 to see if I got all the header file stuff right there?
1999-09-06 16:14:08 +00:00
Stig S. Bakken
4d5491e285
Workaround to prevent TSRM from defining PACKAGE and VERSION.
...
No longer using autoheader.
1999-09-06 15:32:19 +00:00
Danny Heijl
dad0716e37
- "Resourcified" the Informix driver.
1999-09-06 13:55:43 +00:00
Stig Bakken
af2dca818c
untabified
1999-09-06 13:35:37 +00:00
Jakub Skopal
a38995a832
Workaround for crypt() getting too few characters for salt.
1999-09-06 13:24:36 +00:00
Stefan Roehrich
93252bd556
Fixed prototype.
1999-09-06 08:59:48 +00:00
Zeev Suraski
f3e63d9e71
Fix the 4.0 tree (forgot to commit)
1999-09-06 05:21:45 +00:00
Jakub Skopal
cb25b1222e
Corrected the argument-list for getopt. -c expects argument.
1999-09-06 01:33:13 +00:00
Jakub Skopal
5cc16d86b0
Added addcslashes(), stripcslashes().
...
Reverted addslashes() to the very original behaviour.
1999-09-05 20:55:13 +00:00
Sascha Schumann
8aa0c92bc6
fix warning
1999-09-05 19:59:28 +00:00
Andi Gutmans
7ebbe20fb0
- Should fix short_tags and co. problem.
1999-09-05 19:49:54 +00:00
Andi Gutmans
2807ba18e1
- Oops
1999-09-05 19:37:24 +00:00
Andi Gutmans
52cb8bb275
- Make Win32 compile once again.
1999-09-05 19:36:04 +00:00
Andi Gutmans
14d9a59f1c
- Make dir functions compile in Win32
...
- Fix too early memory manager initialization (For you Thies)
1999-09-05 19:04:40 +00:00
Andi Gutmans
99947a251e
- Shift around header files.
1999-09-05 19:03:35 +00:00
Stefan Roehrich
5bcc067687
Find debian umich-ldap libraries/include files.
1999-09-05 16:28:16 +00:00
Andreas Karajannis
dd509608a1
Changes for updated odbc module
1999-09-05 13:06:24 +00:00
Andreas Karajannis
361a09e5fa
Renaming odbc files
1999-09-05 13:03:22 +00:00
Andreas Karajannis
8a7d806054
New resource handling for odbc module
1999-09-05 13:01:42 +00:00
Sascha Schumann
5a2189f3d3
work around gcc bug, otherwise compiler would die with
...
toplev.c:2261: Internal compiler error in function float_signal
in basic_functions.c
1999-09-05 11:38:01 +00:00
Andi Gutmans
04b0bc4c70
- php_error(E_ERROR,...) won't ever return so change the connection_status
...
before it is called.
1999-09-05 05:15:42 +00:00
Jakub Skopal
8c2f752c3d
C++ comment fix... sorry.
1999-09-05 00:58:59 +00:00
Jakub Skopal
06545c3364
Appended second argument of addslashes(),
...
Changed php_addslashes() to add \000 instead of just \0
1999-09-05 00:55:48 +00:00
Rasmus Lerdorf
bcb0020705
Forgot one
1999-09-04 22:18:43 +00:00
Rasmus Lerdorf
f42659a8f1
Kill a warning
1999-09-04 22:15:51 +00:00
Zeev Suraski
ce4e09daff
This was actually intentional... put it back in and improve
1999-09-04 22:13:41 +00:00
Rasmus Lerdorf
54ec3a8e2f
Cleanups
...
What the heck was that dangling (c) for in the PUTC macros? Were they
supposed to serve some sort of purpose, because I sure don't see one for
them.
1999-09-04 22:06:12 +00:00
Zeev Suraski
7d33215124
Fix a stupid bug (from stefan@roehri.ch)
1999-09-04 21:58:51 +00:00
Stefan Roehrich
fcd55e03cb
First try with new resource handling in zlib module.
1999-09-04 21:51:54 +00:00
Rasmus Lerdorf
045aaef644
Oops, set_time_limit() would never have worked becase HAVE_SETITIMER
...
never got defined anywhere.
1999-09-04 21:33:18 +00:00
Rasmus Lerdorf
56b75920b4
Oops
1999-09-04 21:16:41 +00:00
Rasmus Lerdorf
d3439023d3
Catch a timeout and add user-level interface for connection handling
1999-09-04 21:10:39 +00:00
Rasmus Lerdorf
82d975d671
Might as well bail as soon as we know we should since this is now
...
possible. We still need to set our connection status bit field so a
shutdown function can figure out if a script was terminated due to an
abort, timeout or finished normally.
1999-09-04 20:37:24 +00:00
Rasmus Lerdorf
0bede914ab
First part of the connection_status work. No user-callable functions
...
yet. That is coming next. Have also only done Apache and CGI so far.
Will have to crack open my ISAPI book to do that one.
Also changed the SAPI output functions to return an int. We'll check
the connection status inside each one, but we might need the return
code at some other level and I don't see a good reason for just tossing
these return codes.
1999-09-04 20:12:47 +00:00
Andrey Hristov
8e9cd1e4ae
Oops, don't need those commented out blocks.
1999-09-04 19:09:37 +00:00
Andrey Hristov
3af5f84c9d
Kill compiler warnings.
1999-09-04 19:08:19 +00:00
Andrey Hristov
ef943e75a5
Conform to new resource handling guidelines.
1999-09-04 19:07:57 +00:00
Zeev Suraski
c12d4bc7d4
*** empty log message ***
1999-09-04 13:18:59 +00:00
Zeev Suraski
6d4ab7372d
Add resource support to the Sybase CT module
1999-09-04 13:03:09 +00:00
Sascha Schumann
62fc17983a
First try at WDDX serializer
...
(not active currently)
1999-09-04 11:25:43 +00:00
Zeev Suraski
81301ad2a9
A few fixes
1999-09-04 11:05:34 +00:00
Sascha Schumann
7e70c1ad91
cleanup
1999-09-04 08:33:31 +00:00
Sascha Schumann
c49cdc9a64
remove superflicious enumaration
1999-09-04 08:21:36 +00:00
Sascha Schumann
7796f4d995
bail out, if ps_mm_instance wasn't initialized correctly
...
(should take place in global startup)
1999-09-04 08:21:09 +00:00
Sascha Schumann
7e50dda96b
implement single directory garbage collector
1999-09-04 08:20:43 +00:00
Zeev Suraski
43523e9854
Update the mSQL module with the latest tech
1999-09-04 00:37:31 +00:00
Zeev Suraski
63b272998c
Damn, forgot to commit that
1999-09-03 23:54:41 +00:00
Zeev Suraski
0d66693cc3
*** empty log message ***
1999-09-03 23:40:44 +00:00
Andrey Hristov
5e4a85f2e3
Static is good...
1999-09-03 21:12:10 +00:00
Zeev Suraski
3160cab22b
Final MySQL tweaks
1999-09-03 19:54:12 +00:00
Danny Heijl
a9fd483aff
- backed out IS_RESOURCE stuff in favour of old php3-style IS_LONG
...
for now. This makes the Informix driver work again.
1999-09-03 19:50:14 +00:00
Zeev Suraski
90f67c6245
More cleanups
1999-09-03 19:37:46 +00:00
Zeev Suraski
d7d966f7c6
Use the new API for resources in MySQL
1999-09-03 19:13:37 +00:00
Zeev Suraski
3feb4b3bdd
Add new API for resources
1999-09-03 19:12:07 +00:00
Stefan Roehrich
c1a4861eb1
Added detection of Oracle 8.1 (aka 8i) from PHP3.
1999-09-03 19:04:35 +00:00
Andrey Hristov
f72897c29d
Practice what you preach, I guess.
1999-09-03 19:01:19 +00:00
Sascha Schumann
3e591dabbd
Add global startup/shutdown functions in Win32 version as well
1999-09-03 18:33:30 +00:00
Sascha Schumann
8e8d923fea
Add prototypes for new functions in internal_functions.c.in
1999-09-03 18:32:34 +00:00
Sascha Schumann
5b293ecd4d
- add global startup/shutdown handlers
...
- improve genif.sh to also consider all header files for inclusion
(checks for phpext_)
- use vsnprintf in main.c to avoid buffer overflows
- improve sessions's mm module to cope better with OOM situations
within the shared memory segment
- fix typo wrt session.auto_start
1999-09-03 17:46:39 +00:00
Sascha Schumann
690575e51f
Add global startup/shutdown functions
1999-09-03 17:43:10 +00:00
Sascha Schumann
331823337c
Makefile.in and other generated do not belong under CVS control
1999-09-03 17:41:58 +00:00
Gergely Madarász
bc53807a17
Enabled shared build of mysql module
1999-09-03 17:13:53 +00:00
Gergely Madarász
9a17e7b6f5
Small cleanup
1999-09-03 16:37:00 +00:00
Gergely Madarász
d447d17602
Enabled shared build of snmp module
1999-09-03 16:04:28 +00:00
Zeev Suraski
18d11eea40
Revert the IS_RESOURCE patch. It had some unintended behavior.
1999-09-03 15:22:04 +00:00
Gergely Madarász
94bc5f6c55
Enabled shared build of pgsql module
1999-09-03 14:58:51 +00:00
Andrey Hristov
f8d9ef14b5
Fixed resource handling to conform to PHP4 guidelines.
1999-09-03 14:17:10 +00:00
Uwe Steinmann
303558e6cf
- complete rewrite of object to array conversion
1999-09-03 10:21:55 +00:00
Zeev Suraski
ee56524324
Version update
1999-09-03 08:26:13 +00:00
Zeev Suraski
276c876171
- Fixed several problems with output buffering and HEAD requests (Zeev)
...
- Fixed HTTP Status code issue with ISAPI module (Zeev)
1999-09-03 02:39:36 +00:00
Zeev Suraski
69fa5199bc
Let $GLOBALS actually work...
1999-09-03 01:34:52 +00:00
Zeev Suraski
2521b5550a
*** empty log message ***
1999-09-03 00:18:52 +00:00
Zeev Suraski
7b083fe5d1
Release resources when converting to other types (fix Thies's reported problem)
1999-09-03 00:11:47 +00:00
Zeev Suraski
a3f77686ef
Use \0NameFilenameLineno as key instead of numeric index for runtime defined functions
1999-09-02 21:06:05 +00:00
Stig Bakken
1bce4ebfd8
clean up library naming
1999-09-02 18:22:07 +00:00
Thies C. Arntzen
9e959a0b8a
newest GetImageSize renamed header-file
1999-09-02 11:58:23 +00:00
Andi Gutmans
5b52d07ea6
- Small fix but it's important for people to know when B3 is released.
1999-09-02 04:26:48 +00:00
Mark Musone
ed74428ca1
Added mcal module
1999-09-01 20:30:27 +00:00
Andi Gutmans
b6789ae332
- Add sessions module to standard win32 build.
1999-09-01 19:28:07 +00:00
Andrey Hristov
7894c0cc1a
Fix lcg.h location.
1999-09-01 14:20:15 +00:00
Uwe Steinmann
26415d0465
- Group-attribute may now appear multiple times in objrec record.
1999-09-01 06:15:46 +00:00
Stig Bakken
4092f4b8c0
ext/lcg -> ext/standard in various places
1999-08-31 18:05:22 +00:00
Stig Bakken
b5375a323d
oops
1999-08-31 15:57:30 +00:00
Thies C. Arntzen
fb981b9650
we need DEFS when compiling this dir
1999-08-31 15:42:12 +00:00
Stig Bakken
788b25ccf8
fix for bug #2165
1999-08-31 15:39:13 +00:00
Stig Bakken
b55d490ef0
fix for bug #2191
1999-08-31 15:27:31 +00:00
Stig Bakken
0e5f26c6bb
compat fix, bug #2201
1999-08-31 15:20:21 +00:00
Thies C. Arntzen
e8e88afd11
"fix" for #2202
1999-08-31 13:10:55 +00:00
Andreas Karajannis
125da02aa7
Add support for unixODBC
1999-08-30 10:48:23 +00:00
Stig Bakken
5600f889b2
moved lcg stuff to ext/standard
1999-08-29 20:12:12 +00:00
Sascha Schumann
869eeb62f4
PATH_TRANSLATED was not used at all, even if one comment implied
...
it should be used. After adding this, the CGI version works for me
w/ Apache + suexec
1999-08-29 18:25:37 +00:00
Egon Schmid
621fe70048
This one was nonesense.
1999-08-29 15:07:54 +00:00
Egon Schmid
db44261039
Missing return type.
1999-08-29 15:00:18 +00:00
Egon Schmid
2c0b8b5ac8
Oops, file should be string here.
1999-08-29 09:59:12 +00:00
Rasmus Lerdorf
7c08c88a87
This check actually doesn't make a whole lot of sense. We need
...
something here, but if a mod_auth_* module declines, the type is
still set. So, we need a check to see if there have been a
non-declined auth hook previously for this request. I will ponder
a good approach to this.
1999-08-28 23:30:37 +00:00
Zeev Suraski
a27ed294df
Add -d switch
1999-08-28 23:06:07 +00:00
Zeev Suraski
3a52ee44f5
*** empty log message ***
1999-08-28 21:51:12 +00:00
Zeev Suraski
81e0131bc9
*** empty log message ***
1999-08-28 21:43:24 +00:00
Philippe Verdy
ce6db81dce
semicolon syntax error
1999-08-28 17:01:32 +00:00
Philippe Verdy
1dcee0c840
Bug in gmmktime():
...
it produced wrong results in New Foundland,
Central Australia, India, Iran, and Java, with
half-hour timezones.
1999-08-28 16:19:14 +00:00
Sascha Schumann
053712c95d
when "track_vars" is disabled and a script which contains <?php_track_vars?> is
...
accessed for the first time, track vars were not created properly.
1999-08-28 14:00:44 +00:00
Sascha Schumann
52cd153723
merge in fix from php3
1999-08-28 13:53:46 +00:00
Zeev Suraski
4628f3021b
New relay code
1999-08-28 11:17:28 +00:00
Sascha Schumann
563cb21539
If we stick to this style, parsing becomes easier (for humans and computers).
1999-08-28 10:31:54 +00:00
Zeev Suraski
cda27ae9ac
Beef up debug macros
1999-08-28 10:18:54 +00:00
Zeev Suraski
023cb6474b
Fix a crash bug in case of aborted execution
1999-08-27 21:21:04 +00:00
Sascha Schumann
49824ee8cb
- fix potential buffer problem in send_cookie
...
- fix gc probability algorithm
- don't access mod_data directly
- initial version of mm support for session data storage
This works pretty good, but we need to create the initial mm pool
from the parent process/thread. Still looking for a clean way to do that.
1999-08-27 21:03:22 +00:00
Zeev Suraski
aa8b27ba1d
Better debug macros
1999-08-27 19:17:19 +00:00
Andreas Karajannis
9eea00c086
Typo fix
1999-08-27 08:46:23 +00:00
Zeev Suraski
f681b37c7b
*** empty log message ***
1999-08-27 04:51:49 +00:00
Zeev Suraski
afb0c684dc
Tiny fixes
1999-08-27 04:39:19 +00:00
Zeev Suraski
1dadb97552
Log date&time on script logs
1999-08-27 04:31:53 +00:00
Mark Musone
6821da54f8
lets not make global functions unless we need to..actually this should be taken out someday
1999-08-27 04:22:39 +00:00
Mark Musone
a92788ddd9
cleand up storing new events
1999-08-27 04:21:47 +00:00
Rasmus Lerdorf
8ccce347a3
Missing return types in prototypes
1999-08-26 14:13:14 +00:00
Andrey Hristov
e0166ebc06
shut up CVS
1999-08-26 13:27:26 +00:00
Andrey Hristov
aa147184ba
*** empty log message ***
1999-08-26 13:26:57 +00:00
Andrey Hristov
1a218328da
Fix for #2161
1999-08-26 13:25:53 +00:00
Andi Gutmans
02822cbc33
- Damn. It wasn't a correct fix. This should do it.
...
When the zval ** are equal we don't want to assign_ref, in any other case
I can think of we do want to assign_ref.
1999-08-26 07:33:53 +00:00
Andi Gutmans
2c88f2950c
- Fix leak when global is used in the global scope.
1999-08-26 07:26:15 +00:00
Andi Gutmans
f297719cdb
- Make Win32 compile again.
1999-08-26 06:49:42 +00:00
Andi Gutmans
1bfb1f7958
- Fix when redefining classes at run-time.
1999-08-26 06:47:45 +00:00
Sascha Schumann
8b44285b90
make it compile with gcc again
1999-08-25 21:54:00 +00:00
Andi Gutmans
746ce67b66
- Add hash_apply_with_arguments()
1999-08-25 19:02:13 +00:00
Sascha Schumann
3b408ce516
.
1999-08-25 16:58:01 +00:00
Sascha Schumann
33ed504ef4
AIX wants the value, not the pointer to the value.
...
Fixes #2149
1999-08-25 16:53:57 +00:00
Andi Gutmans
7a9ad9d0c8
Make fopen() work with URL's in Win32
1999-08-25 16:24:14 +00:00
Andi Gutmans
c5d640d8af
- More elegant fix for Win32 include_path
1999-08-25 13:46:52 +00:00
Andi Gutmans
f065529b6d
- Fix for include_path for Win32 (Zend library)
1999-08-25 12:22:45 +00:00
Andi Gutmans
c7f7b1c3d6
- Temporary fix to allow Win32 MT safe version to use zend_fopen().
1999-08-25 12:20:50 +00:00
Zeev Suraski
7e250d06f5
Add output_buffering directive
1999-08-24 23:12:50 +00:00
Mark Musone
d8a322e7be
argh..Finally
1999-08-24 20:56:02 +00:00
Sascha Schumann
9aea8d5bdc
suppress error exit status on non Rhapsody systems
1999-08-23 23:02:09 +00:00
Sascha Schumann
d9bf422f12
don't print out error message
1999-08-23 22:43:18 +00:00
Sascha Schumann
a05e8e7a75
malloc.h is deprecated, use stdlib.h instead
1999-08-23 19:43:01 +00:00
Andi Gutmans
48a8b14a47
- Fixed a specific memory leak linked to locking.
1999-08-23 19:02:28 +00:00
Mark Musone
196b2350f4
changed to use the new, soon to be public libicap 0.99
1999-08-23 17:19:06 +00:00
Sascha Schumann
0e43d751ea
return true to match documentation
1999-08-23 15:37:11 +00:00
Sascha Schumann
d82728c4d0
This changes makes it work on egcs 1.1.2/Alpha
1999-08-22 19:43:04 +00:00
Andi Gutmans
d13f6d754f
- Add lcg to windows project.
1999-08-22 19:19:42 +00:00
Sascha Schumann
306c8a7fc8
.
1999-08-22 18:48:57 +00:00
Sascha Schumann
85151a61ce
remove all references to RAW_RPATHs
...
Apache builds now correctly when shared core is used
1999-08-22 18:47:27 +00:00
Sascha Schumann
433880bc6e
remove checks
1999-08-22 18:34:40 +00:00
Sascha Schumann
1dd31c38a6
- cleanup code
...
- add script which creates the directory tree for better scaling
of mod_files
I have to decide yet whether we implement the garbage collection in the
module or if we simply let the user do
find path -ctime +1 | xargs rm
1999-08-22 14:14:46 +00:00
Sascha Schumann
02d6ec2a6b
Use O_EXCL where possible.
1999-08-22 13:43:23 +00:00
Sascha Schumann
070dfe0833
- add session.extern_referer_chk
...
- use combined lcg in session id creation
1999-08-21 20:48:40 +00:00
Sascha Schumann
f9b8901791
.
1999-08-21 17:34:55 +00:00
Sascha Schumann
c9bb8db0ad
get rid of that usleep() and add some entropy using the combined lcg
1999-08-21 17:22:08 +00:00
Zeev Suraski
6313238c63
Fix for Thies's UMR
1999-08-20 17:02:11 +00:00
Andrey Hristov
e5aa4c844f
*** empty log message ***
1999-08-20 13:04:05 +00:00
Andrey Hristov
01ed90ccef
Fix bug #2025
1999-08-20 13:03:22 +00:00
Egon Schmid
17f132f9ee
Here was also something missing
1999-08-19 20:31:57 +00:00
Mark Musone
67e81da36b
*smack*...must..initialize...return...value..
1999-08-19 19:02:22 +00:00
Uwe Steinmann
c3fe95d971
On the way to make configure more robust
1999-08-19 17:07:27 +00:00
Andi Gutmans
aeec4e198a
- Fixed memory leaks. tsrm resource id deallocation still needs to be implemented.
1999-08-19 16:52:53 +00:00
Andi Gutmans
e5fbf4414a
- Make sure expr_list and echo_list are either empty or comma seperated
...
expressions
1999-08-19 15:15:34 +00:00
Uwe Steinmann
4747a40964
- fixed several memory leaks
...
- fixed broken hw_cp and hw_mv functions
1999-08-19 15:03:15 +00:00
Andrey Hristov
2bcf787a29
*** empty log message ***
1999-08-19 13:19:47 +00:00
Uwe Steinmann
7d52d5b786
missing return type
1999-08-19 06:43:44 +00:00
Rasmus Lerdorf
314f107498
TTF support tested and working now
1999-08-19 06:32:07 +00:00
Rasmus Lerdorf
7f97086631
This should fix TTF support - untested
1999-08-19 05:23:02 +00:00
Andi Gutmans
fd28fec38b
- Fixed typo in oci8 error message
1999-08-19 04:13:56 +00:00
Andrey Hristov
c10c675f5b
Fixed bug #2105
1999-08-18 17:23:01 +00:00
Chuck Hagenbuch
869c196fa0
cjh: fixing the imap_add_body crash in php4.
1999-08-18 17:19:20 +00:00
Thies C. Arntzen
c1218de0d2
ZTS
1999-08-18 16:48:59 +00:00
Andrey Hristov
3f48a5524d
Ported fixed for bug #2103 from PHP3.
1999-08-18 16:43:57 +00:00
Thies C. Arntzen
f63da06238
ZTS fix
1999-08-18 15:40:54 +00:00
Thies C. Arntzen
bed72caf06
some ZTS stuff
1999-08-18 15:39:46 +00:00
Thies C. Arntzen
9e9050a428
on unix ZTS gets defined in zend_config.h
1999-08-18 15:26:39 +00:00
Thies C. Arntzen
e3aeb15678
ocifetchinto fix
1999-08-18 12:51:51 +00:00
Zeev Suraski
50bfff5502
Fix #2012
1999-08-17 22:31:45 +00:00
Zeev Suraski
cd2006f8b7
Fix #2090
1999-08-17 22:06:55 +00:00
Zeev Suraski
39f6b22dae
*** empty log message ***
1999-08-17 22:01:10 +00:00
Zeev Suraski
65e6d82771
Fix #2096
1999-08-17 22:00:02 +00:00
Zeev Suraski
96fd258d07
Fix #2070
1999-08-17 21:36:30 +00:00
Andi Gutmans
acd6114fa7
- Add some ZENDAPI's
1999-08-17 19:25:22 +00:00
Sascha Schumann
71e3f6fde3
merge in change:
...
Date: Monday June 28, 1999 @ 4:40
Author: bjh
Update of /repository/php3/functions
In directory php:/tmp/cvs-serv5697
Modified Files:
crypt.c
Log Message:
Stop core dump using crypt() with standard DES. When PHP3_MAX_SALT_LEN = 2
adding the null terminator to the salt exceeds allocated space causing
stack corruption.
1999-08-17 18:21:04 +00:00
Sascha Schumann
52d6ab608f
update
1999-08-17 18:08:37 +00:00
Sascha Schumann
1f4d09c09f
HAVE_FREETYPE_H isn't defined anywhere. HAVE_LIBTTF should be sufficient
1999-08-17 18:06:39 +00:00
Sascha Schumann
4ceffd7131
fix persistency of mhash_* constants
1999-08-17 17:31:27 +00:00
Mark Musone
01b178292e
dont have these library functiosn yet
1999-08-17 16:55:01 +00:00
Mark Musone
b9d17aaab4
argh..heh..par for the course..
1999-08-17 16:51:04 +00:00
Mark Musone
f08430ec65
argh..bad day..
1999-08-17 16:50:27 +00:00
Mark Musone
1d9a7c2623
please work...
1999-08-17 16:44:17 +00:00
Mark Musone
4136916e2f
hrmmm
1999-08-17 15:17:01 +00:00
Mark Musone
8339e8c81d
last few compile fixes
1999-08-17 15:07:22 +00:00
Mark Musone
4d738adb38
maybe it'll compile now..more php3->php4 conversions
1999-08-17 15:03:51 +00:00
Mark Musone
90e2bc1580
more changes
1999-08-17 14:41:23 +00:00
Thies C. Arntzen
3d05a0d9cc
ZTS stuff
1999-08-17 14:40:28 +00:00
Mark Musone
0e1db64f8d
thanks Andrey!
1999-08-17 14:31:39 +00:00
Sascha Schumann
ba78cb9c53
fix flushing cached information to disk
1999-08-17 14:18:27 +00:00
Thies C. Arntzen
f93ce67426
cleanups & ZTS stuff (ZTS untested!)
1999-08-17 13:54:25 +00:00
Thies C. Arntzen
e30a2740cf
imported diskfreespace from 3.0
1999-08-17 12:32:23 +00:00
Uwe Steinmann
a5a5902fbc
fixed potential segm faults
1999-08-17 09:59:19 +00:00
Andrey Hristov
a0bf6b0923
Removed internal pointer reset from array_walk.
1999-08-16 14:19:49 +00:00
Philippe Verdy
236d54114c
make pcre test program compile again with Zeev's
...
additions in the pcre_exec() function parameters
1999-08-15 23:52:37 +00:00
Andi Gutmans
a08dc937c7
- Oopsie
1999-08-15 19:38:10 +00:00
Andi Gutmans
b5f5e9a6d1
- Optimize the execute stack a bit.
1999-08-15 19:29:39 +00:00
Thies C. Arntzen
94ce166244
added a few PLS_FETCH()
1999-08-15 18:52:10 +00:00
Zeev Suraski
4e33a1d677
Close bug #1742
1999-08-14 16:52:28 +00:00
Andrey Hristov
796c4a021a
*** empty log message ***
1999-08-14 16:45:51 +00:00
Andrey Hristov
c85209985a
Forgot to have internal pointer reset.
1999-08-14 16:43:38 +00:00
Danny Heijl
f12728f13e
more of the new ini stuff
1999-08-14 15:30:48 +00:00
Zeev Suraski
96d4220a5d
Fix several class issues
1999-08-14 12:54:17 +00:00
Zeev Suraski
ef5b7e212d
Generate better warnings for class/function redefinitions
1999-08-14 11:50:36 +00:00
Zeev Suraski
2560bfd5f9
Rename TestClass to OverloadedTestClass
1999-08-14 11:08:26 +00:00
Zeev Suraski
55a6c270dd
Fix thread unsafe version
1999-08-14 10:04:04 +00:00
Andi Gutmans
7145d1a21a
- Make the non-threadsafe version compile again
1999-08-14 09:55:43 +00:00
Zeev Suraski
25829488c4
Add new-thread handlers
1999-08-14 09:35:52 +00:00
Zeev Suraski
58e24ac18a
- Add PHP Modules workspace
...
- Get the MySQL module to compile&work under thread-safe Win32
- Fix various thread safety issues with dynamic modules
1999-08-13 21:03:27 +00:00
Andrey Hristov
5ae3f32b24
Fixed bug #2023 .
1999-08-13 20:28:27 +00:00
Sascha Schumann
e8f465f3d4
rerun checks if buildconf is newer than the time stamp file
1999-08-13 11:57:40 +00:00
Zeev Suraski
5fbe27828b
Separate Sybase-CT from Sybase, and fix build process for Sybase-CT
1999-08-13 00:14:17 +00:00
Uwe Steinmann
d13824b0bc
fixed unresolved symbol pdf_open_memory_image when pdflib 2.01 is used
1999-08-12 17:45:01 +00:00
Philippe Verdy
2d3ef1b8ae
no return warning removed. fixed TSRM constructor prototype
1999-08-12 11:05:43 +00:00
Philippe Verdy
646db4f072
signed/unsigned warning removed
1999-08-12 10:53:29 +00:00
Philippe Verdy
443b99805e
Bison generated files
1999-08-12 10:49:04 +00:00
Uwe Steinmann
d4346da6cb
config for pdf module should now be similar to php3
1999-08-12 06:23:28 +00:00
Mark Musone
e6241dc703
whoops, forgot to actually return the alarms :^)
1999-08-11 19:56:18 +00:00
Uwe Steinmann
205309f1c1
slight changes to config of pdf module
1999-08-10 17:07:00 +00:00
Andi Gutmans
28f9dc6e56
- Got rid of the C++ comments.
1999-08-10 15:43:32 +00:00
Stig Bakken
50f0a1b5d8
Makefile.in should not be added to CVS
1999-08-10 15:23:00 +00:00
Thies C. Arntzen
269785f95e
starting to clean up
1999-08-10 14:33:59 +00:00
Thies C. Arntzen
63931ff4e8
you can now override the CFLAGS while doing make - eg:
...
make CFLAGS="-g"
1999-08-10 09:16:19 +00:00
Mark Musone
0076374125
more ports
1999-08-09 22:02:42 +00:00
Mark Musone
f0552d929f
ports to php4
1999-08-09 21:39:29 +00:00
Mark Musone
c356371437
more moudle stuff
1999-08-09 21:34:52 +00:00
Mark Musone
fdc253e99d
added icap files from php3 sources
1999-08-09 21:22:11 +00:00
Egon Schmid
8588b58a5e
More typos.
1999-08-09 20:52:58 +00:00
Egon Schmid
17bd995568
I missed that also.
1999-08-09 20:18:00 +00:00
Egon Schmid
d8ad991022
Another typo.
1999-08-09 20:06:15 +00:00
Zeev Suraski
4bfcb29c46
that too
1999-08-09 18:33:22 +00:00
Andi Gutmans
c791d60ad9
Go beta 2 (final)
1999-08-09 18:29:40 +00:00
Andi Gutmans
3516ee485a
Fix HTTP/ header handling
1999-08-09 17:40:28 +00:00
Andi Gutmans
11781bdaa8
- Thies's crash fix.
1999-08-09 16:39:13 +00:00
Andreas Karajannis
da536e8a32
Fixed odbc_fetch_into, added prototype return values.
...
Pconnects are not working
1999-08-09 16:35:47 +00:00
Thies C. Arntzen
5d2206d3af
fixed sysv_shm*
1999-08-09 15:03:09 +00:00
Uwe Steinmann
3d8bd038d2
add changelog entries which I forget a couple of days ago
1999-08-09 08:39:28 +00:00
Philippe Verdy
26b123b7f9
solve infinite recursion error when including <signal.h>
1999-08-08 17:42:12 +00:00
Andreas Karajannis
daa7982110
First shot at odbc for PHP4
...
Problems with LONGs to be investigated
1999-08-08 16:26:26 +00:00
Thies C. Arntzen
78f8d04e63
fix for #1995 (this module needs some more work.)
1999-08-08 11:37:50 +00:00
Zeev Suraski
720d32f581
Fix a few leaks
1999-08-07 23:04:01 +00:00
Danny Heijl
7ceaa82d30
More zend-izing.
1999-08-07 20:32:54 +00:00
Zeev Suraski
1e6c159422
Built-in phpinfo() links are now turned off by default. They can be
...
turned on using the allow_builtin_links INI directive
1999-08-07 18:21:35 +00:00
Zeev Suraski
9b09f412bf
- Changed phpinfo() to list modules that have no info function
1999-08-07 17:52:11 +00:00
Andrey Hristov
a7d6450ea1
*** empty log message ***
1999-08-07 16:44:32 +00:00
Andrey Hristov
fd87bb3321
Modified array_walk() function so that the userland callback is passed
...
a key and possible user data in addition to the value. It's still backward
compatible with one argument version.
1999-08-07 16:43:25 +00:00
Zeev Suraski
1701a9e22f
Fix for bug #1980
1999-08-07 16:32:50 +00:00
Zeev Suraski
9f2e9c5140
Fix for bug #1754
1999-08-07 16:02:48 +00:00
Philippe Verdy
6c40fa15b6
unreferenced variable warning
1999-08-07 15:58:51 +00:00
Stefan Roehrich
4f3f4699ea
Corrected spelling.
1999-08-07 15:50:26 +00:00
Zeev Suraski
125300b563
Fix&improve conversion scripts
1999-08-07 15:31:57 +00:00
Zeev Suraski
0487650536
Fix a bug in call_user_func_ex()
1999-08-06 21:43:49 +00:00
Zeev Suraski
6393ab1486
Now that's an annoying bug.
1999-08-06 16:54:32 +00:00
Zeev Suraski
53aea140df
bump up the version number
1999-08-06 15:55:34 +00:00
Zeev Suraski
edabed5604
count/sizeof had their arguments setup wrong (messup between Beta 1 and 2)
1999-08-06 15:34:51 +00:00
Zeev Suraski
37d7d08482
- Improved register_shutdown_function() - you may now supply arguments that
...
will be passed to the shutdown function
- Improved call_user_func() and call_user_method() - they now support passing
arguments by reference
- Fixed usort() and uksort()
1999-08-06 15:25:11 +00:00
Zeev Suraski
f95edc016b
Introduce call_user_func_ex()
1999-08-06 15:24:10 +00:00
Zeev Suraski
65ee58da41
*** empty log message ***
1999-08-06 13:41:27 +00:00
Zeev Suraski
4f2dd59e24
*** empty log message ***
1999-08-06 11:12:08 +00:00
Uwe Steinmann
7ef3076a56
Made Hypwerwave module threat safe
1999-08-06 10:42:00 +00:00
Thies C. Arntzen
4b8a100ec9
fix for #1947
1999-08-06 08:56:15 +00:00
Uwe Steinmann
104de20298
Fdf module should now be up to date
1999-08-06 06:52:06 +00:00
Uwe Steinmann
96ab2781ab
Order of freeing memory cause segm fault since efree seems to wipe
...
out the memory.
1999-08-06 06:39:55 +00:00
Uwe Steinmann
6b5f0dde77
renamed file
1999-08-05 19:28:07 +00:00
Uwe Steinmann
f81c6b18f4
zend_hash_update() seems to be a bit different form php3_hash_update
1999-08-05 17:39:35 +00:00
Uwe Steinmann
d172a6b581
Huge patch to update the hyperwave and pdflib module.
...
Only pdflib >2.0 is supported.
None is tested yet. Hyperwave seems to be broken now.
1999-08-05 16:25:10 +00:00
Andrey Hristov
48c3643753
Fixed.
1999-08-05 13:41:17 +00:00
Thies C. Arntzen
2c73cc3b29
hope i haven't missed anything - but we're no longer in the 3.x tree
1999-08-05 07:42:46 +00:00
Zeev Suraski
b56086ae33
*** empty log message ***
1999-08-04 22:34:39 +00:00
Zeev Suraski
1a6f498b8c
Fix makedist to work with the libtool enabled distribution
1999-08-04 22:33:18 +00:00
Zeev Suraski
7c7fe83615
* Fix bug #1963
...
* Support large ISAPI server variables
1999-08-04 22:21:29 +00:00
Steven Lawrance
9a1edceb46
Added a note about the SNMP changes
1999-08-04 21:47:56 +00:00
Steven Lawrance
f09d8b68ab
Fixed a little boo-boo I made during the PHP3->PHP4 conversion.
1999-08-04 21:12:57 +00:00
Steven Lawrance
2aa4138668
Updated the files so that they have all the functionality of
...
PHP 3.0.12. These include snmpwalkoid, snmp_get_quick_print, snmp_set_quick_print, and snmpset.
1999-08-04 20:56:33 +00:00
Mike Gerdts
1570c5b30e
Fix bug #1949 : -rdynamic not handled properly with Sun's C compiler
1999-08-03 20:56:13 +00:00
Rasmus Lerdorf
f2fe56ff69
[s]printf fix for bug #1952
...
(note, [s]printf doesn't work in PHP4 yet)
1999-08-03 20:08:33 +00:00
Andi Gutmans
bbe27ffae9
- Initialize extended value's and put the fetch_type in it's own variable
...
name.
1999-08-03 18:54:49 +00:00
Mike Gerdts
ecc1aa80e7
Last character of file not a newline, causing problems with Sun's C compiler
1999-08-03 16:49:33 +00:00
Mike Gerdts
a36fa329a2
file did not end with a newline, causing problems for Sun's C compiler
1999-08-03 15:27:19 +00:00
Zeev Suraski
1207465e59
This should sort the buildconf bug...
1999-08-02 21:43:37 +00:00
Stefan Roehrich
5d10addd01
Fix for Redhat libc 2.1 and dynamic loading in zlib module.
...
Adapted zlib module to new PHP_Mxxx macros.
1999-08-02 21:12:16 +00:00
Zeev Suraski
dcf9114329
AIX needs this include...
1999-08-02 19:59:04 +00:00
Zeev Suraski
30569aac45
Go Beta 2
1999-08-02 19:20:54 +00:00
Zeev Suraski
3cb1eb0471
Removed '3' from key functions in PHP (maintained compatibility through
...
php3_compat.h)
1999-08-02 19:17:14 +00:00
Andi Gutmans
07e0885519
Make set_compiled_filename() return a pointer to the allocated file name
1999-08-02 18:40:10 +00:00
Andrey Hristov
42c586b97c
Fix function declarations.
1999-08-02 17:28:32 +00:00
Andrey Hristov
33d27f5bfe
More symbol work.
1999-08-02 16:06:13 +00:00
Andrey Hristov
05585132ca
More symbol work.
1999-08-02 15:02:52 +00:00
Andrey Hristov
98037c425d
Updated proto
1999-08-02 14:31:41 +00:00
Egon Schmid
b55a6c9185
Another forgotten prototype. Andrey, why is preg_grep in PHP3 missing?
1999-08-01 18:18:40 +00:00
Andi Gutmans
91ec4763fd
Support resource type in gettype()
1999-08-01 17:56:09 +00:00
Zeev Suraski
e2f17b298c
Fix bug #1872
1999-08-01 00:33:03 +00:00
Zeev Suraski
7297f5196e
Final IMAP fixes
1999-08-01 00:25:58 +00:00
Zeev Suraski
2dda8d7f97
More IMAP fixes
1999-07-31 20:21:07 +00:00
Zeev Suraski
2639ab7d03
Fix another compile warning
1999-07-31 19:53:02 +00:00
Zeev Suraski
41cf3b96db
That should fix bug #1903
1999-07-31 19:23:22 +00:00
Zeev Suraski
698459ea93
Fix problem with include/require of URLs (bug #1832 )
1999-07-31 19:06:36 +00:00
Zeev Suraski
afeb7704c9
Fix problem with include/require of URLs
1999-07-31 18:57:41 +00:00
Zeev Suraski
01c2701a0f
These aren't necessary
1999-07-31 18:48:47 +00:00
Zeev Suraski
eb3d12c6dd
Fix bug #1914
1999-07-31 16:20:06 +00:00
Zeev Suraski
338405d343
Declaration fix
1999-07-31 10:38:33 +00:00
Zeev Suraski
ba290e05a8
Ok, that should be a good start. Can somebody verify that this actually compiles,
...
and perhaps check if it runs?
1999-07-30 23:36:20 +00:00
Zeev Suraski
6aefb8bae3
Early steps towards making the IMAP module PHP 4.0 compatible
...
(and readable - indent people, INDENT)
1999-07-30 23:14:01 +00:00
Zeev Suraski
3ee8c8f0da
This should fix the implode() problem
1999-07-30 22:17:51 +00:00
Zeev Suraski
620d013499
Support symbols in any symbol table, not just the active one
1999-07-30 14:17:08 +00:00
Andrey Hristov
e1a84e442e
Fix for bug #1907 .
1999-07-30 13:17:29 +00:00
Andi Gutmans
447eb3b031
- Damn that's more like it.
1999-07-30 12:27:04 +00:00
Andi Gutmans
2c32cc81dd
- Cut&paste crap
1999-07-30 12:23:12 +00:00
Andi Gutmans
e9e7bc6db3
- Add ptr_stack_n_{push,pop} in order to speed up function calls a bit.
...
There seems to be no reason for stack->top in the ptr_stack except for
when realloc()'in the stack. I think I'll remove it.
1999-07-30 11:55:53 +00:00
Zeev Suraski
48ffdd79f7
* Setting variables in the global scope wasn't handling is_ref's properly
1999-07-30 02:49:12 +00:00
Andi Gutmans
739132e58d
- Fixed a leak when doing inheritance. The parent class name wasn't being freed.
...
- Fixed a stack leak. Functions that had late argument binding were set up as
INIT_FCALL_BY_NAME but were using DO_FCALL and not the corresponding
DO_FCALL_BY_NAME.
1999-07-29 12:24:58 +00:00
Andi Gutmans
e3246872e3
-Tiny fix
1999-07-29 04:03:03 +00:00
Andi Gutmans
7d0715d53d
- Added function documentation prototypes. Thanks to Egon Schmid for
...
straightening me out :)
1999-07-29 03:48:29 +00:00
Andi Gutmans
741ca16711
- Fixed various inheritance problems & Andrey's leak
1999-07-28 17:59:55 +00:00
Andi Gutmans
a7af382874
- Added get_class($obj), get_parent_class($obj) and method_exists($obj,"name")
1999-07-28 17:58:38 +00:00
Andrey Hristov
5aa3eff94f
Fix link functions problem.
1999-07-28 13:59:35 +00:00
Danny Heijl
d69ec49dc6
Make it compile again
1999-07-28 11:26:58 +00:00
Philippe Verdy
e1b5df4b55
Commited changes in php3 function/soundex 1.32
1999-07-28 07:04:26 +00:00
Zeev Suraski
fc478e5935
License update
1999-07-27 21:01:41 +00:00
Zeev Suraski
879bfc7a34
Inherit parent's constructor
1999-07-27 20:34:31 +00:00
Zeev Suraski
d49b53b5e1
*** empty log message ***
1999-07-27 20:33:42 +00:00
Zeev Suraski
c4bc4871ee
Fix runtime inheritence (child functions/members should have higher precedence)
1999-07-27 20:14:58 +00:00
Andrey Hristov
07d691174b
Symbol work.
1999-07-27 19:44:46 +00:00
Andi Gutmans
bb8046c4a9
- Update Changelog
1999-07-27 18:38:01 +00:00
Andi Gutmans
348b2f0730
- Add missing lock
1999-07-27 18:35:22 +00:00
Andi Gutmans
71ffa09f41
- strttotime is compiled in on win32 again.
1999-07-27 17:30:45 +00:00
Andi Gutmans
88322d2ea0
- Fix up the new operator a bit more.
1999-07-27 17:30:16 +00:00
Andrey Hristov
a99ccfc6ef
Oops.
1999-07-27 17:17:05 +00:00
Andrey Hristov
c6840056a9
More symbol work.
1999-07-27 17:09:35 +00:00
Andrey Hristov
15d87d2452
check for nKeyLength not arKey
1999-07-27 16:26:30 +00:00
Andrey Hristov
6b79bbe842
*** empty log message ***
1999-07-27 16:19:10 +00:00
Andrey Hristov
cd0dd562f0
Fix for bug #1887 .
1999-07-27 16:17:58 +00:00
Andrey Hristov
ad671669ce
Fix for bug #1891
1999-07-27 13:40:54 +00:00
Stig Bakken
55b31d5103
forgot to mention the password
1999-07-27 13:10:15 +00:00
Stig Bakken
9bee15a080
spoonfeed
1999-07-27 13:09:23 +00:00
Danny Heijl
3bea592273
>... If you can, please update your module to use these macros.
...
I could, so I did.
1999-07-27 11:29:36 +00:00
Zeev Suraski
9d0d2e5a69
Set reference count and is_ref values for new objects
1999-07-27 00:14:34 +00:00
Zeev Suraski
09628fd51e
- Fixed a memory leak when using assignment-op operators with lvalue of type
...
string (or array/object)
1999-07-26 21:56:45 +00:00
Zeev Suraski
4215a17639
Fix bug #1867
1999-07-26 21:55:51 +00:00
Zeev Suraski
075146773f
*** empty log message ***
1999-07-26 21:31:40 +00:00
Zeev Suraski
41308d4b43
Fix a bug in inheritence from classes defined in include files, that are
...
inherited from require()'d files
1999-07-26 21:18:35 +00:00
Zeev Suraski
980c803cd7
Fix bug #1851
1999-07-26 21:17:05 +00:00
Andrey Hristov
1b2c932cc2
More symbol work.
...
I've defined a few macros to help with module/request init/startup function definitions.
Basically:
PHP_MINIT_FUNCTION(module)
PHP_MSHUTDOWN_FUNCTION(module)
PHP_RINIT_FUNCTION(module)
PHP_RSHUTDOWN_FUNCTION(module)
PHP_MINFO_FUNCTION(module)
These will expand to proper function prototypes.
Now to specify these in the module entry, use:
PHP_MINIT(module)
PHP_MSHUTDOWN(module)
PHP_RINIT(module)
PHP_RSHUTDOWN(module)
PHP_MINFO(module)
I've updated all modules in ext/standard and everything from ext/apache to ext/db.
If you can, please update your module to use these macros.
1999-07-26 20:09:08 +00:00
Andi Gutmans
7af5579e3f
- Oops I erased this by mistake
1999-07-26 19:35:57 +00:00
Andi Gutmans
7d77a63342
- Should be a complete fix now. This break away code should maybe be made
...
somewhat generic
1999-07-26 19:32:13 +00:00
Andi Gutmans
fe0fbdc5b6
- Temporary fix for "this". Have to fix it tomorrow.
1999-07-26 19:24:54 +00:00
Andi Gutmans
221c80d26d
- Fix compile error. Weird that Visual didn't catch this one.
1999-07-26 18:56:54 +00:00
Andi Gutmans
8f51f72dc6
- Fix the new operator incompatibility.
...
- I commented PHP_FUNCTION(strtotime) in datetime.c because it stopped
win32 from compiling. This needs to be fixed!!!
- Check out libzend to compile the tree now.
1999-07-26 16:57:06 +00:00
Stig Bakken
bc781c94ed
"gd", not "-lgd"
1999-07-25 15:06:49 +00:00
Stig Bakken
c901d4c528
use AC_ADD_ macros
1999-07-25 14:46:33 +00:00
Stig Bakken
ac7768adbf
final php3.ini -> php.ini renaming?
1999-07-25 12:57:50 +00:00
Andrey Hristov
736f4831a5
A bunch of grunt work updating function entries and declarations.
1999-07-24 22:16:54 +00:00
Sascha Schumann
f6f0f285cc
overlooked them
1999-07-24 21:40:37 +00:00
Andrey Hristov
97c496fc9d
Remove buildconf.stamp on make distclean
1999-07-24 21:19:54 +00:00
Zeev Suraski
fff675c448
Congrats Andrey
1999-07-24 20:36:31 +00:00
Stig Bakken
46783929a3
more Solaris fun
1999-07-24 19:10:17 +00:00
Stig Bakken
7c2f1384d4
added workaround for Solaris PIC weirdness.
...
added RPM spec file for a future "official" RPM, work-in-progress
1999-07-24 19:02:38 +00:00
Stig Bakken
b81789eb1e
temporary icon for RPMs until Colin gets back and can make us a spiffy new one
1999-07-24 19:00:06 +00:00
Zeev Suraski
68e32f6ac3
* Make Win32 build work again
...
* Make error_reporting value prior to the standard initialization be
set so that errors show up
1999-07-24 16:52:00 +00:00
Stig Bakken
24eb90c524
Solaris 7 fix
1999-07-24 14:54:24 +00:00
Zeev Suraski
ae64b9096e
*** empty log message ***
1999-07-24 14:40:08 +00:00
Zeev Suraski
0cdb7d6a29
Fix that memory leak... nested function issue remains
1999-07-24 14:38:05 +00:00
Zeev Suraski
2b2bda778e
* Fix a warning
...
* Update ChangeLog
1999-07-24 14:36:48 +00:00
Danny Heijl
4199c6d6a0
Get rid of most compiler warnings.
1999-07-24 14:28:29 +00:00
Zeev Suraski
9c754da0fc
Fix RETURN & SWITCH memory leak issue
1999-07-24 11:43:21 +00:00
Zeev Suraski
1b6fae101a
Thoroughly fix the SWITCH problem. No RETURN handling yet.
1999-07-24 11:24:19 +00:00
Rasmus Lerdorf
b0c60bd249
Changelog
1999-07-24 02:44:53 +00:00
Rasmus Lerdorf
d9f6ea2fc3
Fix broken build
1999-07-24 02:43:22 +00:00
Rasmus Lerdorf
8de073782c
Bring rand.c up to date
1999-07-24 02:30:37 +00:00
Sascha Schumann
cd8d7c7c8a
fix for missing include path in CFLAGS
1999-07-24 00:56:56 +00:00
Sascha Schumann
cb2ab20a11
Bourne Shell does not have -nt.
1999-07-24 00:46:47 +00:00
Andrey Hristov
974f278257
Added function entry for similar_text().
1999-07-23 22:47:24 +00:00
Andrey Hristov
244cc30c14
Added function entry for strip_tags.
1999-07-23 22:35:14 +00:00
Andrey Hristov
a30af3e355
Ignore generated file.
1999-07-23 21:24:53 +00:00
Andrey Hristov
ecc51ad6de
*** empty log message ***
1999-07-23 21:24:30 +00:00
Andrey Hristov
1d3b055eba
Ignore parsedate.c
1999-07-23 21:22:20 +00:00
Andrey Hristov
a100c51f51
Fixed a bug in WDDX that occured when a number was passed in instead
...
of a variable name.
1999-07-23 21:21:33 +00:00
Stig Bakken
e4252b8092
generated and not required by windows
1999-07-23 20:47:59 +00:00
Stig Bakken
830be36b56
required for the Windows build, re-adding
1999-07-23 20:47:17 +00:00
Andrey Hristov
58cb2362c6
*** empty log message ***
1999-07-23 19:52:18 +00:00
Andrey Hristov
9dd45ec800
Ported strtotime() function.
1999-07-23 19:51:27 +00:00
Sascha Schumann
270be258d3
Improve speed on subsequent runs of buildconf
1999-07-23 19:37:59 +00:00
Andrey Hristov
63a48afcd5
Fix for compatibility.
1999-07-23 19:22:28 +00:00
Zeev Suraski
028cf1a368
Fix bug #1812
1999-07-23 18:41:58 +00:00
Zeev Suraski
76bef75836
Fix bug #1807 (requires libzend update)
1999-07-23 16:03:18 +00:00
Zeev Suraski
84aa8cce64
* Add an API macro users can use to ensure an array member can be modifed
...
before they modify it.
* Fix a bug and remove redundant code in convert_to_long() (booleans and
resources weren't changing their types
1999-07-23 16:02:51 +00:00
Sascha Schumann
33f30aee64
gdttf update
1999-07-23 15:56:47 +00:00
Stig Bakken
2c2e4c463f
run libtoolize during buildconf since we depend on libtool anyway
1999-07-23 15:53:50 +00:00
Stig Bakken
8bf949b5d6
generated file
1999-07-23 15:32:07 +00:00
Stig Bakken
beceb905cd
in case ltconfig isn't checked out executable
1999-07-23 15:29:57 +00:00
Stig Bakken
083b2df569
good boy
1999-07-23 15:22:36 +00:00
Stig Bakken
6d0fa9bdae
updated the docstring for --with-xml
1999-07-23 15:20:48 +00:00
Zeev Suraski
00238ad1ba
Added check for freetype.h
1999-07-23 15:18:37 +00:00
Stig Bakken
b291b0902d
small fix to libtool check
1999-07-23 15:13:22 +00:00
Stig Bakken
6c856de82d
require libtool to be installed as well
1999-07-23 15:08:54 +00:00
Andi Gutmans
6cdea551cc
- Make Win32 compile again.
1999-07-23 14:14:42 +00:00
Andrey Hristov
64ed8f7141
Changeloggin'
1999-07-23 13:47:57 +00:00
Danny Heijl
78d420e9fe
ChangeLog
1999-07-23 12:26:26 +00:00
Danny Heijl
f110b97975
New ini-stuff incorporated. Porting to PHP4 and ZTS hopefully complete.
1999-07-23 09:34:14 +00:00
Sascha Schumann
c927593c6d
ChangeLog
1999-07-23 00:04:24 +00:00
Zeev Suraski
d3e8858413
Please add in any changes/bug fixes you've made - we need to keep a details ChangeLog...
1999-07-22 23:54:54 +00:00
Zeev Suraski
5bae591f88
New constants
1999-07-22 22:17:49 +00:00
Zeev Suraski
de1acfe33a
Time to remove the PHP 3.0 ChangeLog
1999-07-22 21:49:53 +00:00
Sascha Schumann
3ccb07f34b
add the HPUX ANSI detection from php3
1999-07-22 21:11:09 +00:00
Stig Bakken
84656f113e
add checks for autoconf, automake and whether libzend/TSRM is around
1999-07-22 20:21:07 +00:00
Stig S. Bakken
f5bfd16b0b
identify ourselves
1999-07-22 20:20:11 +00:00
Sascha Schumann
c640f3d8c8
Implement additional heuristic for session id search. Now looks into
...
REQUEST_URI as well.
1999-07-22 17:55:13 +00:00
Stig Bakken
7ae27b5bcd
temporary hack-fix
1999-07-22 15:55:13 +00:00
Andrey Hristov
64dae03eea
-Ported all remaining date() options
...
-Made array_walk() work somewhat, but it's not
possible to change array values from inside the
walk function yet
1999-07-22 15:15:41 +00:00
Andrey Hristov
a5a07063d2
*** empty log message ***
1999-07-22 14:22:32 +00:00
Danny Heijl
925d48dae6
Blobs now working too.
1999-07-22 09:58:02 +00:00
Danny Heijl
dc7cffcd43
Blobs don't work, hash problems.
1999-07-22 07:31:27 +00:00
Stig Bakken
d9f52fe0a7
First cut at standard way of making dynamically loadable extensions on UNIX.
...
Examples on how to test:
./configure --with-xml static
./configure --with-xml=/opt static
./configure --with-xml=shared shared
./configure --with-xml=shared,/opt shared
The difference between these two is that when the extension is shared, it
is not merged into libphpext.a. The shared extension is currently always
built. I can't find a way to do just one or the other with automake/libtool,
if someone has a clever idea, please come forward. :-)
"make install" installs the .so (as well as a lot of other cruft) in
$prefix/lib/php.
1999-07-21 21:56:25 +00:00
Zeev Suraski
57323801f8
Fixed the Apache cookie problem (untested)
1999-07-21 20:31:07 +00:00
Andrey Hristov
e6fadabf43
Fix for bug #1806
1999-07-21 19:55:24 +00:00
Andrey Hristov
56402ec375
*** empty log message ***
1999-07-21 19:47:40 +00:00
Danny Heijl
f857a77e2f
Informix extension now works but php_ini stuff still needs rewriting.
1999-07-21 18:23:13 +00:00
Sascha Schumann
9a910ed353
sync with 1.133
1999-07-21 16:12:13 +00:00
Sascha Schumann
7ac7537776
since we all seem to use different tabwidths, reformat this with :set tw=4
1999-07-21 15:47:41 +00:00
Sascha Schumann
0de0ad6348
update
1999-07-21 15:42:18 +00:00
Sascha Schumann
f78caff762
merge in change from php3
1999-07-21 15:39:28 +00:00
Sascha Schumann
b33d0fd7e7
initial import of DBA
1999-07-21 15:12:32 +00:00
Sascha Schumann
3843821d11
the ; is superflicious
1999-07-21 15:12:22 +00:00
Andrey Hristov
adbf932744
*** empty log message ***
1999-07-21 15:10:04 +00:00
Stig Bakken
f9b0f60098
that's better
1999-07-21 14:49:17 +00:00
Stig Bakken
57f0f15b9f
Debian fixes
1999-07-21 14:43:12 +00:00
Stig Bakken
968d6d9f8d
change version number to 4.0b2-dev
1999-07-21 14:42:22 +00:00
Stig Bakken
2ab934bfc2
fix to reiterate that one should _always_ use braces around if/else/for/while
1999-07-21 14:27:05 +00:00
Andrey Hristov
8c63ef0605
It really does work.
1999-07-21 14:19:49 +00:00
Stig S. Bakken
4c285ecdf5
ignore more files
1999-07-21 13:31:52 +00:00
Danny Heijl
575d8541db
Started php4/ZTS port of Informix driver.
1999-07-21 12:48:35 +00:00
Sascha Schumann
58bb4adae1
use the same version as in php3
1999-07-21 09:31:48 +00:00
Sascha Schumann
63f7648fdc
use reverse lookup array, submitted by bfranklin@dct.com, #1755
1999-07-21 09:02:05 +00:00
Sascha Schumann
a7e3a952e7
fix for #1748
1999-07-21 08:55:20 +00:00
Sascha Schumann
dbe9e99213
disable broken sprintf test
1999-07-21 08:37:59 +00:00
Sascha Schumann
76cf93994c
defaults to empty string
1999-07-21 08:26:51 +00:00
Andrey Hristov
6b82192bf7
Added locale support.
1999-07-20 20:57:04 +00:00
Mike Gerdts
72f675be50
exec() can now properly handle lines longer than (EXEC_INPUT_BUF-2) bytes.
...
Lines being returned via the array that that contain only "\n" now are
trimmed down to "" to be consistent with exec's whitespace trimming
behavior for all other lines.
1999-07-20 20:19:58 +00:00
Andrey Hristov
3ff606a934
Added 'n' option to date().
1999-07-20 19:11:32 +00:00
Andi Gutmans
acb9cae36d
- Include alloca.h when need and available.
1999-07-20 18:26:56 +00:00
Andrey Hristov
2d1b6f0801
Added headers_sent() function
1999-07-20 18:03:27 +00:00
Andrey Hristov
f8fdee1c66
Fix for bug #1750 .
1999-07-20 16:59:30 +00:00
Sascha Schumann
07e30106b9
get rid of --with-shared-apache
...
it's currently broken and redundant (use APXS instead)
1999-07-20 16:54:05 +00:00
Andi Gutmans
bf8c6dbd99
- Get rid of C++ comments
1999-07-20 13:01:30 +00:00
James Gingerich
e0e331967f
Remove a bunch of old junk.
1999-07-20 01:15:34 +00:00
Egon Schmid
ea28db8625
The last forgotten prototypes I know.
1999-07-19 20:37:17 +00:00
Andrey Hristov
40de81a5d9
Updated status
1999-07-19 20:27:49 +00:00
Andrey Hristov
a04521b4f2
Don't forget .cvsignore
1999-07-19 20:24:21 +00:00
Andrey Hristov
ced8e51328
Ported WDDX module.
1999-07-19 20:24:03 +00:00
Egon Schmid
b64eaf737b
It's in PHP 3 and 4.
1999-07-19 20:09:05 +00:00
Zeev Suraski
8d1de13aef
0.91 update
1999-07-19 20:02:12 +00:00
Andi Gutmans
e78fc33c35
* Fix Zend version
...
* Fix a method call bug
1999-07-19 19:58:44 +00:00
Egon Schmid
5fdd45695b
Test, will document this soon.
1999-07-19 19:10:13 +00:00
Andrey Hristov
2bc33cbba1
Updating cvsignore
1999-07-19 18:59:05 +00:00
Andrey Hristov
851ee7b598
Moving dlist stuff into core.
1999-07-19 18:58:44 +00:00
Zeev Suraski
c1853b5628
*** empty log message ***
1999-07-19 18:37:42 +00:00
Zeev Suraski
e19abb96dd
*** empty log message ***
1999-07-19 17:58:51 +00:00
Andi Gutmans
8a9d0fa9eb
License update
1999-07-19 17:52:38 +00:00
Andi Gutmans
353a2d38d8
Make error codes PHP 3.0 compatible
1999-07-19 16:17:40 +00:00
Andi Gutmans
a064237fc0
Fix Win32 compilation
1999-07-19 16:08:43 +00:00
Andrey Hristov
d1b1e3513f
Kill compiler warnings.
1999-07-19 15:07:17 +00:00
Danny Heijl
951f65f6ed
license change
1999-07-19 14:24:09 +00:00
Sascha Schumann
afb16a5818
update
1999-07-19 14:07:10 +00:00
Andrey Hristov
18579a5f64
More credits.
1999-07-19 13:35:13 +00:00
Andi Gutmans
e3daad2d67
- Should fix the memory leak when returning from the main scope.
1999-07-18 17:33:51 +00:00
Sascha Schumann
99a2aa0f80
allow access to std{in,out,err} by using the php domain
1999-07-18 15:53:50 +00:00
Sascha Schumann
3b7d588f40
more to do
1999-07-18 01:20:38 +00:00
Sascha Schumann
e5cfc70f7d
add session config to php.ini and adapt the naming scheme for it
1999-07-18 01:00:42 +00:00
Andrey Hristov
715dc6b23a
Update credits a bit.
...
"Overall Work" line should probably be extended.
1999-07-17 20:38:14 +00:00
Andrey Hristov
3335c8ea0d
-Kill compile warnings in apache.c
...
-Make preg_grep() work with copies of array entries
1999-07-17 20:03:10 +00:00
Andrey Hristov
4518351648
Proto change
1999-07-17 19:23:32 +00:00
Zeev Suraski
5a3e983fa4
*** empty log message ***
1999-07-17 19:22:27 +00:00
Zeev Suraski
614b4b781e
I was sure I committed these already. Weird
1999-07-17 19:17:42 +00:00
Zeev Suraski
fbe571a43a
One more necessary .dsp update
1999-07-17 17:35:44 +00:00
Zeev Suraski
cbcf7c66bc
*** empty log message ***
1999-07-17 17:33:42 +00:00
Zeev Suraski
bc29ceef1b
* Turn on debug by default
...
* Remove CREDITS file, point to web page instead
1999-07-17 16:43:11 +00:00
Zeev Suraski
101e1f4c0f
Debug on by default
1999-07-17 13:24:53 +00:00
Zeev Suraski
dd14884877
Update DSPs
1999-07-17 13:05:43 +00:00
Sascha Schumann
fc268e1c7e
void some warnings
1999-07-17 12:56:38 +00:00
Sascha Schumann
3736b9b7ce
use optional copy
1999-07-17 12:28:17 +00:00
Sascha Schumann
8a7784d462
make copy optional
1999-07-17 12:27:54 +00:00
Zeev Suraski
7af3ce63a6
Oki doki
1999-07-17 11:59:37 +00:00
Zeev Suraski
9bb36e9cfe
Some work on makedist
1999-07-17 11:22:17 +00:00
Zeev Suraski
a6dc6b88d2
Handle BCMath
...
Add a license pointer
1999-07-17 10:59:22 +00:00
Zeev Suraski
3b142d5a3d
We'll have to live without these files somehow.
1999-07-17 10:34:01 +00:00
Zeev Suraski
51aa31b671
Dummies
1999-07-17 10:15:42 +00:00
Zeev Suraski
35b3b03fe4
We need to disable bcmath by default
1999-07-17 10:14:04 +00:00
Zeev Suraski
af58c35f5c
Remove MEMORY_LIMIT from PHP, it's a Zend issue...
1999-07-17 00:05:09 +00:00
Zeev Suraski
8a15917de1
Get the Sybase modules uptodate
1999-07-16 22:00:53 +00:00
Zeev Suraski
a316ff791c
*** empty log message ***
1999-07-16 21:53:17 +00:00
Andrey Hristov
459ed2b1ad
A little change in how array_splice/array_slice handle length parameter.
...
Makes it compatible with Perl.
1999-07-16 20:47:20 +00:00
Andrey Hristov
7201cdac96
Updated the functionality of array_splice.
1999-07-16 20:08:06 +00:00
Sascha Schumann
538e1cd230
the regex check relies on a previously set APXS variable,
...
so it needs to be after the apxs check
1999-07-16 19:28:33 +00:00
Sascha Schumann
bd07cce770
merge fix
1999-07-16 19:07:13 +00:00
Sascha Schumann
36cf6cf22a
unnecessary, breaks the build
1999-07-16 18:23:38 +00:00
Sascha Schumann
68b0f0b418
This is so ugly, I hate myself for committing it
1999-07-16 18:05:24 +00:00
Zeev Suraski
1671424a5f
Get the LDAP module uptodate
1999-07-16 18:01:55 +00:00
Sascha Schumann
064a4ea88a
avoid nameclash
1999-07-16 18:00:06 +00:00
Sascha Schumann
e20424e45f
fix detection
1999-07-16 17:44:11 +00:00
Zeev Suraski
a6a09f7e98
*** empty log message ***
1999-07-16 17:27:42 +00:00
Zeev Suraski
916f2f2927
*** empty log message ***
1999-07-16 17:26:16 +00:00
Zeev Suraski
58a6d48014
Get postgresql module uptodate
1999-07-16 17:19:11 +00:00
Zeev Suraski
dc09865f4a
Oops #2
1999-07-16 17:16:31 +00:00
Zeev Suraski
f17bbb9014
Oops
1999-07-16 17:10:02 +00:00
Zeev Suraski
4e6c2b468c
* Get the mSQL module up to date
1999-07-16 17:06:48 +00:00
Zeev Suraski
2c91f1d91b
Minor fix
1999-07-16 16:50:49 +00:00
Zeev Suraski
d66fad5fcd
Ignore T_PHP_TRACK_VARS in the parser (handled in the scanner)
1999-07-16 16:42:49 +00:00
Zeev Suraski
e7e2af5d78
Fix TS version
1999-07-16 16:09:01 +00:00
Zeev Suraski
b5b1117760
License update
1999-07-16 14:58:16 +00:00
Zeev Suraski
c5724cbd14
License update
1999-07-16 13:13:16 +00:00
Sascha Schumann
42736999bc
define sid to "", if we are in cookie mode
1999-07-15 21:14:46 +00:00
Andi Gutmans
91d7ba7610
Change true/false back to 1/""
1999-07-15 20:38:00 +00:00
Andi Gutmans
da648c0fb1
Fix a lock issue
1999-07-15 19:59:18 +00:00
Sascha Schumann
2a39219142
we don't need php_sid
1999-07-15 19:51:13 +00:00
Sascha Schumann
30c131c8ae
that should be included 1st
1999-07-15 19:43:26 +00:00
Sascha Schumann
4ea29a808d
define SID appropiately
1999-07-15 19:37:35 +00:00
Andi Gutmans
f5ffc630aa
*** empty log message ***
1999-07-15 19:34:26 +00:00
Sascha Schumann
68de8a2842
that should be included 1st
1999-07-15 19:31:39 +00:00
Andi Gutmans
527a7429bc
*** empty log message ***
1999-07-15 19:31:29 +00:00
Andi Gutmans
eaebc48e5e
More 3->4 changes
1999-07-15 19:28:49 +00:00
Andi Gutmans
1db7f1a910
* PHP 3.0 -> 4.0 changes
...
* Add php_admin Apache directives
1999-07-15 19:26:25 +00:00
Andi Gutmans
2a43afd2ce
Sooner than you think, Sascha :)
1999-07-15 18:33:41 +00:00
Andi Gutmans
5fc8562b5d
*** empty log message ***
1999-07-15 17:49:55 +00:00
Andrey Hristov
582f6d032e
Added .cvsignore
1999-07-15 14:55:01 +00:00
Rasmus Lerdorf
895cab2838
A useless check
1999-07-15 12:42:46 +00:00
Sascha Schumann
138dd94c8d
disable zend_handle_sigsegv
1999-07-15 12:17:34 +00:00
Zeev Suraski
b7fe07d8dc
php3.ini -> php.ini
1999-07-14 23:34:30 +00:00
Zeev Suraski
e883283590
* Update logos
...
* Move from PreAlpha 1 to Beta 1.
1999-07-14 23:33:00 +00:00
Rasmus Lerdorf
75f62dc415
How did this ever work without this #define ?
1999-07-14 21:49:35 +00:00
Andi Gutmans
762158aa65
Fix thread unsafe constants startup
1999-07-14 19:49:19 +00:00
Rasmus Lerdorf
2beb929311
Remove some useless stuff
1999-07-14 19:21:43 +00:00
Rasmus Lerdorf
0fa438a22a
Fix imap build problem
1999-07-14 19:16:59 +00:00
Rasmus Lerdorf
549dfc78e2
Small grammar fix
1999-07-14 17:09:09 +00:00
Andi Gutmans
db2594ff13
*** empty log message ***
1999-07-14 16:06:11 +00:00
Andi Gutmans
3e6bce59b3
- Add a bitwise flag to phpinfo()
...
- Import a draft of the new PHP license
1999-07-14 16:02:10 +00:00
Andi Gutmans
fec59d3b4d
- License update
...
- Fix multithreaded constants startup
1999-07-14 16:00:47 +00:00
Rasmus Lerdorf
d22cbad17d
Fix logic here - the error message was bogus when it couldn't find the
...
imap lib
1999-07-14 15:22:02 +00:00
Rasmus Lerdorf
ce6faf02f6
Woops, this was in the wrong place
1999-07-14 15:15:42 +00:00
Zeev Suraski
05e4d7bb33
change php4_value and php4_flag to php_value and php_flag
1999-07-14 10:26:43 +00:00
Andi Gutmans
078c3ce198
- Fix for boolean convert to number
1999-07-14 09:10:14 +00:00
Thies C. Arntzen
f03ad4c7d6
*** empty log message ***
1999-07-13 13:22:15 +00:00
Sascha Schumann
8f29babc8e
add some which are always substituted
1999-07-12 20:21:14 +00:00
Rasmus Lerdorf
fa7605f289
Tested imap, and had a look at ldap. ldap should be working, but my
...
ldap server is currently in a box.
1999-07-12 20:20:56 +00:00
Rasmus Lerdorf
2b2b3147de
Finish porting aspell - tested and works ok now
1999-07-12 19:18:07 +00:00
Andi Gutmans
4dc22e32b6
- Fixed a purify warning
1999-07-12 18:07:01 +00:00
Sascha Schumann
fa764cb027
update
1999-07-12 17:21:49 +00:00
Andrey Hristov
be66f224b0
*** empty log message ***
1999-07-12 17:16:14 +00:00
Andrey Hristov
c37ceccb54
*** empty log message ***
1999-07-12 17:07:34 +00:00
Andi Gutmans
fdce4ae1da
*** empty log message ***
1999-07-12 17:04:55 +00:00
Sascha Schumann
81b5402a16
test commit (new format inspired by FreeBSD cvs-all)
1999-07-12 14:19:27 +00:00
Thies C. Arntzen
f40a16bac9
destructors should return 1, shouldn't they?
1999-07-12 13:56:29 +00:00
Thies C. Arntzen
9b85ba490e
par with 3.0
1999-07-12 13:26:56 +00:00
Thies C. Arntzen
d4fb7d9e37
fixed mem-problem
1999-07-12 11:49:32 +00:00
Thies C. Arntzen
5a288ffdc8
small php4 fixes
1999-07-12 10:36:19 +00:00
Sascha Schumann
a80609c773
typo
1999-07-11 10:52:14 +00:00
Sascha Schumann
f0febf044f
merge in some autoconf stuff
1999-07-11 10:51:41 +00:00
Zeev Suraski
3b037ebbe9
Oh, that dumb bug.
1999-07-10 22:50:44 +00:00
Andi Gutmans
44947bf563
Ok, so we do have to lock in there
1999-07-10 18:46:20 +00:00
Andi Gutmans
fb7a4b6486
Fix assignments of reference variables
1999-07-10 16:56:56 +00:00
Zeev Suraski
dc933fc50b
Woops, fix.
1999-07-10 12:44:56 +00:00
Zeev Suraski
909590ba7b
Put the garbage in the garbage bin
1999-07-10 11:47:16 +00:00
Zeev Suraski
cccd2445ee
Get rid of AiCount completely
1999-07-10 11:45:23 +00:00
Zeev Suraski
82563bde60
Final tweaks
1999-07-10 10:55:55 +00:00
Zeev Suraski
03d33b2f88
More locking work
1999-07-10 09:29:02 +00:00
Zeev Suraski
6fcf8aa12c
*** empty log message ***
1999-07-09 21:00:24 +00:00
Zeev Suraski
0fadd053fa
More stuff
1999-07-09 20:57:29 +00:00
Zeev Suraski
c43c235427
Don't touch refcount and EA directly
1999-07-09 20:45:55 +00:00
Zeev Suraski
2a6da7814c
Step 4:
...
Move to a 7-bit counter (not fully implemented yet)
1999-07-09 20:43:59 +00:00
Zeev Suraski
6ec1acbe32
Phase 3:
...
Use a single bit to mark IS_REF variables
1999-07-09 18:19:48 +00:00
Zeev Suraski
5f62c347c7
Step 2:
...
Rename is_ref to EA
1999-07-09 17:44:41 +00:00
Zeev Suraski
3a9cb0220c
Step 1 in nuking the garbage collector:
...
- Change the hash destructor to return int
1999-07-09 17:36:12 +00:00
Zeev Suraski
81d901b14d
Step 1 in nuking the garbage collector:
...
- Change the hash destructor to return int
- Don't kill the bucket on hash_destroy if the destructor returns 0
1999-07-09 17:24:47 +00:00
Rasmus Lerdorf
db1e0bc820
Add Aspell module
1999-07-09 14:56:33 +00:00
Zeev Suraski
cdce334c56
*** empty log message ***
1999-07-09 11:19:38 +00:00
Zeev Suraski
cc26d0e609
Send a SIGSEGV instead of exiting, to trigger a core dump
1999-07-09 11:10:19 +00:00
Zeev Suraski
6abe9c34d9
* Support recoverable failure from erealloc()
...
* Fix the shutdown code on an unrecoverable erealloc() failure
1999-07-09 11:03:56 +00:00
Zeev Suraski
81f5522210
Fix the mess in SIGSEGV handling, hopefully
1999-07-09 07:35:13 +00:00
Andrey Hristov
743935ca8e
More cleanup.
1999-07-08 21:56:19 +00:00
Andrey Hristov
cef4df1fee
Reduce clutter a bit.
1999-07-08 21:42:29 +00:00
Zeev Suraski
cb2a2ea9d3
*** empty log message ***
1999-07-08 19:18:42 +00:00
Zeev Suraski
1a33277e3d
Avoid sending NULL argument to printf
1999-07-08 17:15:43 +00:00
Zeev Suraski
d894cf44d8
Support definition of classes that are derived from classes that are defined in runtime
1999-07-08 16:55:27 +00:00
Thies C. Arntzen
ff9407b56b
on par with latest php3
1999-07-08 14:12:07 +00:00
Andrey Hristov
e88d121be1
Fix a memory leak by not allowing session_start() to be called more than once.
1999-07-07 21:50:33 +00:00
Sascha Schumann
fdc1b9262d
enable it, until we find a better way
1999-07-06 21:02:07 +00:00
Sascha Schumann
da155aae1c
add sendmail
1999-07-06 20:29:16 +00:00
Zeev Suraski
5baaa716dc
Support PCRE under Win32
1999-07-06 19:49:48 +00:00
Zeev Suraski
8ee9fd5768
avoid two copies of pcre.c in the repository
1999-07-06 19:24:13 +00:00
Sascha Schumann
52308cd368
make Solaris gcc happy
1999-07-05 17:05:38 +00:00
Andrey Hristov
7aa981f5b7
Correct option caching
1999-07-05 15:25:51 +00:00
Sascha Schumann
f6164dbf3a
use void * instead of long for 64-bit test
1999-07-05 10:51:11 +00:00
Thies C. Arntzen
0e3f5a69f7
ups
1999-07-05 09:33:47 +00:00
Thies C. Arntzen
8788f30c12
fixed mem-leak
1999-07-05 08:49:13 +00:00
Thies C. Arntzen
ad0076ee53
ported IPTC fro php3
1999-07-05 07:42:07 +00:00
Thies C. Arntzen
e9cb3539ad
added RESOURCE-returning
1999-07-05 07:03:44 +00:00
Thies C. Arntzen
cab8290b8e
up to php3 version
...
returns resources now!
1999-07-05 06:29:04 +00:00
Thies C. Arntzen
eb5c6da5a4
added RETVAL_RESOURCE and RETURN_RESOURCE
1999-07-05 06:26:29 +00:00
Zeev Suraski
d189972737
Make convert_to_string() regard false as "" instead of "0"
1999-07-04 23:50:58 +00:00
Thies C. Arntzen
745c5efc37
updated to latest php3
1999-07-04 13:30:13 +00:00
Zeev Suraski
dbb24c2e0e
*** empty log message ***
1999-07-03 23:43:02 +00:00
Zeev Suraski
6132bc3111
Support x-httpd-php-source
1999-07-03 23:15:10 +00:00
Sascha Schumann
377d7d599d
*** empty log message ***
1999-07-03 22:05:56 +00:00
Sascha Schumann
6dd7254b39
remove cvsignore files as well
1999-07-03 19:46:32 +00:00
Sascha Schumann
c2b8a4667b
don't wipe files for distributions
1999-07-03 19:37:55 +00:00
Sascha Schumann
012e1abb4f
'make dist' builds an easy distributable tarball
1999-07-03 19:35:08 +00:00
Sascha Schumann
c56116029d
add missing include
1999-07-03 19:08:03 +00:00
Sascha Schumann
d6169276dd
checking for ints won't work, since they are 32 bit on both platforms
1999-07-03 18:46:10 +00:00
Sascha Schumann
9fbbc53008
ignore this
1999-07-03 18:31:58 +00:00
Sascha Schumann
daca96353e
would be logical to enable display source mode
1999-07-03 18:13:43 +00:00
Zeev Suraski
baa75917c8
Support isset()/empty() for string offsets
1999-07-03 18:03:02 +00:00
Sascha Schumann
a010baa18d
ar t is a little bit noisy on Rhapsody
1999-07-03 17:44:20 +00:00
Zeev Suraski
063051d6ac
Fix a crash
1999-07-03 16:05:58 +00:00
Sascha Schumann
22ba66b7f6
almost no config.m4 substitutes these anymore.
1999-07-03 15:42:28 +00:00
Sascha Schumann
6f3b0f799b
work around the Apache problem that it pollutes the namespace
1999-07-03 03:34:47 +00:00
Sascha Schumann
7bbd454143
add usual rhapsody hack
1999-07-03 02:45:46 +00:00
Sascha Schumann
e0fff74d41
missing DL_HANDLE broke build
1999-07-03 02:44:11 +00:00
Sascha Schumann
e08182156e
there must be a better way
1999-07-03 02:36:56 +00:00
Sascha Schumann
8b51ad8157
typo
1999-07-03 02:34:09 +00:00
Sascha Schumann
081da5006e
let's start OS X hacking
1999-07-03 01:28:31 +00:00
Sascha Schumann
2f92fc0326
..
1999-07-02 23:56:02 +00:00
Sascha Schumann
73b9beff19
...
1999-07-02 23:55:45 +00:00
Sascha Schumann
eef062572a
.
1999-07-02 23:51:01 +00:00
Sascha Schumann
aa485e9161
test commit
1999-07-02 23:32:55 +00:00
Sascha Schumann
72aa9e2e2b
test commit
1999-07-02 23:31:25 +00:00
Sascha Schumann
2a44f45cbe
workaround for 64-bit platforms
1999-07-02 21:12:03 +00:00
Thies C. Arntzen
45386d8af4
added some refcount stuff
1999-07-02 15:45:52 +00:00
Thies C. Arntzen
d00b516f84
losses memory like hell, but seems to work!
...
3 things (this is a bad hack as of now!):
- xml.c uses _php3_strtoupper
is #include "../standard/php3_string.h" the right way to get the prototype?
- i've copied php3i_long_pval/php3i_string_pval from the php3 tree into
xml.c (this is defnetly WRONG, but where do i find those?)
- as php3tls_pval_destructor is not available in zend, i've
#define php3tls_pval_destructor(a) pval_destructor(a) which is maybe not what we want!
1999-07-02 15:31:02 +00:00
Sascha Schumann
c42305c54e
fix from php3
1999-07-02 14:37:36 +00:00
Zeev Suraski
9ece796086
define zend_bool
1999-07-02 14:10:57 +00:00
Sascha Schumann
900850497d
suppress No such file or directory
1999-07-02 13:59:51 +00:00
Sascha Schumann
03e16899bc
someone please try whether the autoconf stuff works
...
for sybase and sybase-ct - I've neither one.
1999-07-01 15:48:57 +00:00
Sascha Schumann
2d185cc7e2
maybe fix, following Joey's description
1999-07-01 15:42:29 +00:00
Sascha Schumann
973f679df0
--with-zlib should work now
1999-07-01 15:39:58 +00:00
Thies C. Arntzen
fe4efa91c3
changed boolean behaviour:
...
var_dump(
1999-07-01 09:26:05 +00:00
Sascha Schumann
2e690ac4b5
some additional consts
1999-07-01 05:47:06 +00:00
Sascha Schumann
2397e5d419
vpath thingie
1999-07-01 05:45:58 +00:00
Sascha Schumann
1f02914005
implement a simple API in the case someone wants to define his/her own serialization stuff
1999-07-01 05:45:48 +00:00
Zeev Suraski
49d98c5a3f
Make require accept any parameter
1999-06-30 17:17:39 +00:00
Zeev Suraski
258d427647
No need for a PSLS_FETCH() if PSLS_D/PSLS_DC are supplied as function arguments
1999-06-29 22:08:07 +00:00
Andrey Hristov
3e5f7a806f
*** empty log message ***
1999-06-29 15:40:11 +00:00
Andrey Hristov
88ed2002da
Added session expiration.
1999-06-29 15:39:59 +00:00
Thies C. Arntzen
d5fc465a67
synced with 3.0.11
...
ora_bind works!
1999-06-29 15:16:38 +00:00
Zeev Suraski
6a2b28ba51
No need for that either...
1999-06-28 21:42:29 +00:00
Rasmus Lerdorf
335078b4fd
Don't break the tree
1999-06-28 18:59:44 +00:00
Andrey Hristov
a6aacfd2b6
Added session_is_registered(varname) function.
1999-06-28 15:46:56 +00:00
Andrey Hristov
17f725d21a
Ported MYSQL_NUM, MYSQL_ASSOC, and MYSQL_BOTH additions from php3.
1999-06-28 15:08:28 +00:00
Andrey Hristov
26a7fe78f2
oops
1999-06-28 13:46:58 +00:00
Andrey Hristov
db400222ff
*** empty log message ***
1999-06-28 13:39:52 +00:00
Sascha Schumann
650986c8d1
work around that solaris bug
1999-06-28 13:37:59 +00:00
Sascha Schumann
bd031b0422
ugly and working
1999-06-28 03:01:48 +00:00
Sascha Schumann
30e80d1a8c
BSD derived tests want -h for symlink test
1999-06-28 02:57:08 +00:00
Sascha Schumann
8ba3889572
port
1999-06-27 21:46:34 +00:00
Sascha Schumann
e205a6749d
more porting
1999-06-27 21:45:06 +00:00
Sascha Schumann
d819da4897
port Rasmus' APXS changes for AIX
1999-06-27 21:36:00 +00:00
Sascha Schumann
fa7cba7d5d
port over from php3
1999-06-27 21:23:17 +00:00
Sascha Schumann
adde17749b
lex optimizations
1999-06-27 21:18:43 +00:00
Sascha Schumann
3b36670df1
add dbase_replace_record
1999-06-27 21:15:12 +00:00
Sascha Schumann
aa4e00b33c
port over autoconf fixes from php3
1999-06-27 21:14:00 +00:00
Zeev Suraski
d1169e735e
Win32/general patches
1999-06-26 23:21:18 +00:00
Zeev Suraski
d4f24f19ad
* Get rid of another request_info element (filename)
...
* CGI through Apache should work now
1999-06-26 19:14:26 +00:00
Zeev Suraski
320541430b
*** empty log message ***
1999-06-26 18:01:21 +00:00
Zeev Suraski
36416f1109
Protect against NULL arguments in filename
1999-06-26 12:27:49 +00:00
Zeev Suraski
98b6ddda90
* Make the memory leak reporting code much better with repeats
...
* Remove useless variables
1999-06-26 11:48:22 +00:00
Sascha Schumann
6ec7163796
add dmalloc
1999-06-26 00:34:36 +00:00
Sascha Schumann
f3ef2ff1d0
- APXS link thingie
...
- functions/ game obsolete. Should make compiling faster on slow machines (hi Kristian :-)
1999-06-25 23:40:26 +00:00
Andrey Hristov
d41af4b7eb
*** empty log message ***
1999-06-23 15:04:21 +00:00
Thies C. Arntzen
18962f1993
gettype now reports "boolean" correct
1999-06-22 21:37:43 +00:00
Zeev Suraski
c471c77c58
Fix Thies's bug report
1999-06-22 20:24:51 +00:00
Andrey Hristov
df86725019
Making function accessible.
1999-06-22 19:37:26 +00:00
Andrey Hristov
226f75e0f3
Making the function accessible.
1999-06-22 19:36:52 +00:00
Zeev Suraski
acddd0f13c
Fix compile-time definition of track_vars default
1999-06-22 19:07:01 +00:00
Zeev Suraski
3eac45ea80
* Fix concatenation of arrays (it was PHP 3.0 style, copying zval's instead
...
of zval *, and it wasn't using reference counting)
* Fix a memory leak in static array()'s with textual indices
1999-06-22 19:05:40 +00:00
Andrey Hristov
31c8ec4c80
Made preg_split() consistent with split().
...
Added a new /e modifier for preg_replace
Kill a warning in pcrelib.
1999-06-22 14:56:32 +00:00
Thies C. Arntzen
5fa6882567
urlencode and decode return an empty-string if the input-string is empty (matches php3 behaviour "more" closly)
...
Please read my previous mail and comment!
1999-06-22 13:35:28 +00:00
Stig Bakken
8139b776e9
cosmetics
1999-06-22 11:04:35 +00:00
Danny Heijl
bc50e68a1b
Bad html in ifx_htmltbl_result().
1999-06-22 07:14:55 +00:00
Stig Bakken
7f8e11d6d3
fix some potential buffer overflows
1999-06-22 01:59:30 +00:00
Andrey Hristov
2b8c85bd0b
Backing out changes.
1999-06-21 23:07:46 +00:00
Thies C. Arntzen
8052667684
fixed implode "again" -
1999-06-21 15:57:20 +00:00
Sascha Schumann
af56b0f936
whoops, kill debugging message
1999-06-20 18:54:08 +00:00
Sascha Schumann
43a466a076
Introduce AC_ADD_* macros
...
The use of AC_EXPAND_PATH makes it possible to continue
to use relative paths when configuring PHP.
(e.g. --with-apache=../apache-1.3.x works again)
1999-06-20 18:52:46 +00:00
Sascha Schumann
2b97cb1f88
avoid error message
1999-06-20 17:15:29 +00:00
Sascha Schumann
c3151f742b
use standard autoconf variables
1999-06-20 17:04:30 +00:00
Zeev Suraski
943a911485
*** empty log message ***
1999-06-19 22:56:34 +00:00
Zeev Suraski
d035af4af1
*** empty log message ***
1999-06-19 20:42:15 +00:00
Zeev Suraski
138d601ab1
Add a standard get_ini_entry() to interface between Zend and the outside world
1999-06-19 20:22:56 +00:00
Zeev Suraski
bb190f8565
Implement new get_ini_entry() for Zend
1999-06-19 19:23:24 +00:00
Zeev Suraski
8def18813f
*** empty log message ***
1999-06-19 14:07:48 +00:00
Zeev Suraski
57882d58e1
Use php.ini instead of php3.ini
1999-06-19 13:18:48 +00:00
Zeev Suraski
63a845f2f6
*** empty log message ***
1999-06-19 13:13:28 +00:00
Zeev Suraski
f88464ee6d
Win32/ZTS compiles again
1999-06-19 13:04:55 +00:00
Andrey Hristov
cd74a455dd
for struct sockaddr
1999-06-18 15:54:14 +00:00
Stig Bakken
62fc2f5f7f
update php3 sync info
1999-06-18 14:45:48 +00:00
Stig Bakken
d92c591514
optimize php3_fopen_url_wrapper() a bit (fewer recv() and send() calls)
1999-06-18 14:22:59 +00:00
Stig Bakken
467523bac5
Apply Sascha's fsock fixes to php4.
1999-06-18 13:42:21 +00:00
Stig Bakken
2ca5404046
make CGI version work again
1999-06-18 13:02:34 +00:00
Sascha Schumann
5d62d88ece
typo
1999-06-17 15:45:26 +00:00
Andrey Hristov
14463b1ba8
Need to check if it exists first.
1999-06-17 15:17:17 +00:00
Zeev Suraski
a22d6b980e
Win32 patches (does not compile still)
1999-06-17 03:45:20 +00:00
Stig Bakken
27f1799b68
MIME headers may be 512 characters long.
1999-06-16 18:43:59 +00:00
Stig Bakken
117a2fba07
* fixed some #if/#ifdef issues
...
* hand-patched in php3 changes from 3.0.6 to HEAD in these files:
fopen-wrappers.[ch] ext/standard/file.[ch] ext/standard/fsock.[ch]
ext/standard/php3_string.h ext/standard/string.c
* added some new file/socket macros for more readable code:
FP_FGETS(buf,len,sock,fp,issock)
FP_FREAD(buf,len,sock,fp,issock)
FP_FEOF(sock,fp,issock)
FP_FGETC(sock,fp,issock)
1999-06-16 17:06:53 +00:00
Stig S. Bakken
5d4579a1f4
added INIT_FUNC_ARGS_PASSTHRU and SHUTDOWN_FUNC_ARGS_PASSTHRU
1999-06-16 11:03:57 +00:00
Stig S. Bakken
80f1ce5eed
* added zend_binary_strcasecmp()
1999-06-15 22:32:51 +00:00
Stig Bakken
8eec7a022f
reversing another patch that slipped
1999-06-15 21:56:11 +00:00
Stig Bakken
8c4411b5da
* reverse fsock/string import patches
1999-06-15 21:51:00 +00:00
Zeev Suraski
f86fb810a0
Change four spaces back to tabs (Why the hell did you change the tabs to four spaces?!)
1999-06-15 19:05:01 +00:00
Stig Bakken
336392ea6c
* now using php4.ini instead of php3.ini
...
* re-imported fopen-wrappers, fsock and string code from php3
NB! I have not tested all of the imported functions yet.
1999-06-15 17:06:22 +00:00
Stig Bakken
7719f86292
fix some .cvsignore files
1999-06-15 17:00:39 +00:00
Rasmus Lerdorf
bdbdaa4369
gmmktime() fix
1999-06-15 12:31:29 +00:00
Andrey Hristov
215a88ade1
Need to test for directory.
1999-06-14 15:05:55 +00:00
Stig Bakken
a916379c21
make symlinks if they are not present already
1999-06-14 13:59:18 +00:00
Zeev Suraski
96bfbc7904
First attempt at moving the old RFC1867 support to the right place
1999-06-12 17:50:39 +00:00
Zeev Suraski
c50cd2df99
We can't quite go with expr there (shift/reduce conflict), go with scalar.
1999-06-12 07:43:36 +00:00
Zeev Suraski
4bf413e358
require() improvement as per Andi's suggestion
1999-06-12 06:59:54 +00:00
Sascha Schumann
be14ccadf1
it's obj.properties, not ht
1999-06-11 19:29:10 +00:00
Andrey Hristov
8c43c5f708
Fix up var.c a bit.
1999-06-11 15:54:06 +00:00
Zeev Suraski
0d560de1b7
Make the concatenation operator use make_printable as well
1999-06-11 15:37:43 +00:00
Zeev Suraski
9f106c61ec
Don't take failing on an include file so badly
1999-06-11 14:51:44 +00:00
Zeev Suraski
d6595d628c
Support <?=
1999-06-11 13:56:04 +00:00
Zeev Suraski
d47d83511a
E_ERROR -> E_COMPILE_ERROR in the compiler
1999-06-11 13:40:18 +00:00
Zeev Suraski
54d210427a
Two fixes:
...
* The error generated by a failed class inheritence wasn't properly
displaying the file in which he error occured.
* Inheritence didn't work if the parent class had uppercase letters in it.
1999-06-11 13:37:29 +00:00
Rasmus Lerdorf
f8bac0f8ad
Same Fix here
1999-06-11 12:48:22 +00:00
Stig Bakken
6b16188db0
append DEBUG_CFLAGS to CFLAGS
1999-06-11 12:22:53 +00:00
Zeev Suraski
4b062fdfec
Print out include_path in include/require failures
1999-06-11 11:59:35 +00:00
Zeev Suraski
963a004481
* Use to_string() instead of __print()
...
* Support boolean casts ((bool) and (boolean))
1999-06-11 11:17:43 +00:00
Zeev Suraski
99fd17df63
Change __print into to_string()
1999-06-11 11:02:38 +00:00
Zeev Suraski
da9faa2c3a
* Make the output handling of variables much, much cooler.
...
Uses zend_make_printable_zval() instead of convert_to_string() now:
$foo = true;
print "\$foo is $foo";
will now print
$foo is true
(instead of "$foo is 1", earlier).
Also, with objects, it automatically tries to call __print() and use it as a printing
function.
For example:
class foo {
function __print() { return "Foo Object"; }
};
$foo = new foo;
print $foo;
will print "Foo Object".
1999-06-11 10:44:26 +00:00
Zeev Suraski
1798a0183a
* Fix a buglet in the session module
...
* Make some renames in the session module - avoid having a function called 'delete'
so that we don't piss any C++ compilers. Also rename the {startup,shutdown}_globals
to {startup,shutdown}_session_globals, so that they're a bit less general names,
and made them static.
* Remove uselss variables
1999-06-11 09:23:00 +00:00
Zeev Suraski
c1f75b6fda
Now THAT's an annoying bug.
1999-06-10 23:03:35 +00:00
Sascha Schumann
83de88e90c
make serialize work
...
unserialize does not work yet
1999-06-10 15:34:20 +00:00
Andrey Hristov
2bb01b6f81
Fixing serialize a bit.
1999-06-10 15:13:26 +00:00
Andrey Hristov
3b1843bc9f
Added preg_grep() function.
1999-06-10 14:41:38 +00:00
Frank M. Kromann
f6ad4b09c1
Sync. with php3. Only add Date: and From: if not supplied by user
1999-06-10 09:10:07 +00:00
Andrey Hristov
f7072fbf87
Make array_shift/array_pop work better.
1999-06-09 22:03:15 +00:00
Zeev Suraski
2fb5e56123
Fix
1999-06-09 21:40:52 +00:00
Zeev Suraski
95c9e3014a
* Fix cases where you assign an array element to the parent array (the array was
...
being erased before the assignment, so the element was being smashed).
1999-06-09 21:39:12 +00:00
Andrey Hristov
b331ead5bf
A fix for a fix.
1999-06-09 21:21:27 +00:00
Andrey Hristov
3d45dd58b8
Fixed a bug in preg_split.
...
Fixed a bug in array_shift/array_pop.
1999-06-09 21:13:05 +00:00
Zeev Suraski
b484f40c31
* Fix foreach() that receives a non array argument
...
* Clean up some C++ comments
1999-06-09 21:02:59 +00:00
Thies C. Arntzen
a3464b7c11
oci8 to 3.0.9
...
implode works!
1999-06-09 19:47:06 +00:00
Andi Gutmans
7ed4923441
- Fix the static array() initializing
1999-06-09 19:26:54 +00:00
Andrey Hristov
835b0d8823
*** empty log message ***
1999-06-09 15:39:56 +00:00
Andrey Hristov
2a64925a67
Fixed a bug in preg_replace.
1999-06-09 15:02:57 +00:00
Thies C. Arntzen
e5da9fc10a
up to 3.0.9
1999-06-09 10:40:08 +00:00
Danny Heijl
f3d179ff99
resync informix driver with php 3.09 version
1999-06-09 07:44:52 +00:00
Zeev Suraski
230846f6dd
Replace error messages
1999-06-08 19:37:40 +00:00
Andi Gutmans
04b2c1d422
* Fix a by-name call/method call bug
...
* Clean and optimize the whole function call process
1999-06-08 18:33:31 +00:00
Zeev Suraski
fd4650b540
Add zend_hash_get_current_key_type()
1999-06-07 22:49:33 +00:00
Sascha Schumann
4b023c157a
better scaling for large servers using many session ids
1999-06-07 19:51:54 +00:00
Andrey Hristov
bc1e4a5a10
Don't set is_ref in _phpi_splice()
...
More checking in array_merge()
Added keys() and values() array functions.
1999-06-07 18:52:20 +00:00
Sascha Schumann
d8a9548cb2
- some cleanups
...
- add gc logic
- add session_destroy()
1999-06-07 16:43:24 +00:00
Zeev Suraski
b886985d63
Fix an ereg_replace() crash bug
1999-06-07 15:01:25 +00:00
Zeev Suraski
34b3dc9b47
- Fix PSLS issues
...
- Add a standard info function for the session module (use them!)
- Replace PATH_MAX with MAXPATHLEN (that's our platform indepedent constant)
1999-06-06 19:53:59 +00:00
Sascha Schumann
82806ea254
one C too much
1999-06-06 19:26:31 +00:00
Sascha Schumann
e9b28fe29c
avoid unnecessary PSLS_FETCH() in internal functions
1999-06-06 19:25:39 +00:00
Andi Gutmans
f5dbfbae84
-Init tsrm on minit
1999-06-06 18:56:11 +00:00
Andi Gutmans
ed97964fbe
- Use PS() everywhere.
1999-06-06 18:39:48 +00:00
Andi Gutmans
c329da5d25
- Make sessions compile on win32 but it still doesn't link.
1999-06-06 18:36:42 +00:00
Andi Gutmans
c5fd7244dd
- Add some *_FETCH()'s. Still some work to be done so that it'll compile on win32.
1999-06-06 18:22:17 +00:00
Andi Gutmans
5b0ae2dff3
Work around a compiler bug - mark variables that are sent to functions that aren't yet
...
defined as FETCH_W (because they might end up being sent by reference)
1999-06-06 17:35:42 +00:00
Sascha Schumann
605756de7f
- s/encoded/encode/
...
- new TODO entry
1999-06-06 15:18:51 +00:00
Andi Gutmans
d5dc2cd22c
- Remove the is_ref =1 from the push() function.
1999-06-06 15:00:49 +00:00
Sascha Schumann
a821a185e4
add some protos
1999-06-06 14:19:55 +00:00
Sascha Schumann
2f79ba1abf
add some thoughts
1999-06-06 14:02:13 +00:00
Sascha Schumann
19a2a02f8e
- auto startup when calling register
...
- auto startup using a configuration option
1999-06-05 22:24:59 +00:00
Sascha Schumann
f830cf7d15
moving start code into its own function
1999-06-05 22:15:49 +00:00
Andrey Hristov
f8f8defb42
Added array_merge() function.
1999-06-05 21:19:25 +00:00
Sascha Schumann
2db1d61718
SAPI does not want line endings
1999-06-05 20:51:29 +00:00
Andrey Hristov
421414df03
Added push(), pop(), shift(), unshift(), splice(), and slice() array functions.
...
The first 5 work like their Perl counterparts. slice() returns a chunk of the array
specified by offset and length arguments.
Backport to PHP3 and docs will be coming soon.
1999-06-05 20:43:36 +00:00
Zeev Suraski
ed06a70f7f
* Centralized shutdown
...
* Change shutdown order again
1999-06-05 20:00:00 +00:00
Sascha Schumann
a1b42e3f5e
first import of session module
1999-06-05 19:52:58 +00:00
Zeev Suraski
89f139d3b0
Call the request_shutdown on modules before destroying symbol tables, so that
...
the session module can be implemented
1999-06-05 19:10:40 +00:00
Zeev Suraski
bbce669cea
Move shutdown order into Zend
1999-06-05 19:00:56 +00:00
Zeev Suraski
8b2fe60467
- Fixed Karl's bug report. It's not really a thorough fix, we really need to rethink the INIT_FCALL/DO_FCALL issue.
...
- Fixed numerous AiCount problems
1999-06-05 18:47:36 +00:00
Zeev Suraski
e49aafcf57
I got the order wrong earlier :I
1999-06-05 17:47:16 +00:00
Zeev Suraski
e586468a4e
Not sure that's the right fix, but at least it fixes the symptom
1999-06-05 13:56:18 +00:00
Sascha Schumann
92f986787b
add some .cvsignores
1999-06-05 10:48:05 +00:00
Andrey Hristov
dbfeaabb16
Added preg_quote() function.
1999-06-04 13:56:23 +00:00
Andrey Hristov
c7a606c4a3
*** empty log message ***
1999-06-04 13:37:44 +00:00
Zeev Suraski
1b4b5c4a88
New $GLOBALS init
1999-06-04 13:09:24 +00:00
Zeev Suraski
1ecca4b8e8
Fix UNIX MySQL build
1999-06-04 12:51:41 +00:00
Zeev Suraski
cf757f7c89
Fix that GLOBALS leak. We were explicitly adding GLOBALS to the main symbol table,
...
but there's no reason to do it (INIT_GLOBALS takes care of it if necessary.)
1999-06-04 12:22:19 +00:00
Zeev Suraski
b6315d1c9b
Remove old workspaces
1999-06-04 12:13:18 +00:00
Zeev Suraski
9108abc287
Minor updates (mostly __declspec() stuff)
1999-06-04 11:44:02 +00:00
Zeev Suraski
3cad348509
* Add a new workspace for dynamic PHP extensions.
...
* Add a few functions to PHP's API.
* Get the MySQL extension up-to-date and thread safe.
* Add a project for building the MySQL extension under Win32.
1999-06-04 10:45:54 +00:00
Thies C. Arntzen
a3a60dd4e7
added is_ref=0 and refcount=1 to SET_VAR_* macros
1999-06-04 09:04:05 +00:00
Zeev Suraski
66a48f2131
T_BAD_CHARACTER is actually a string.
1999-06-03 23:59:33 +00:00
Andi Gutmans
1225d0307b
- We weren't counting newlines in heredocs. The only place which is still questionable
...
is when there's a \ followed by a newline but it seems we have a parse error in this
case anyways.
- Fixed the alloca() macros so that the alloca() #define in win32 mode won't clash
with the real win32 alloca().
1999-06-03 21:06:03 +00:00
Andrey Hristov
0f99eeb29f
function dir doesn't exist anymore
1999-06-01 21:01:02 +00:00
Andrey Hristov
aea7498779
*** empty log message ***
1999-06-01 20:31:39 +00:00
Andi Gutmans
c4b7426ec1
- Make execute() use less stack in thread-safe win32 due to Microsoft's shitty 256kb stack.
1999-06-01 18:47:53 +00:00
Sascha Schumann
d57ffd3646
avoid touching libraries which have not changed
1999-06-01 17:53:15 +00:00
Andi Gutmans
250d803c31
- Fix for exec to use API
1999-06-01 16:41:56 +00:00
Zeev Suraski
4ea6d477ec
thread-safety fix
1999-05-31 19:58:20 +00:00
Zeev Suraski
63f2cc9fe9
*** empty log message ***
1999-05-31 18:39:29 +00:00
Andi Gutmans
52ec64359c
Fixes
1999-05-31 18:33:12 +00:00
Andi Gutmans
f153896de5
*** empty log message ***
1999-05-31 17:41:41 +00:00
Zeev Suraski
5f12a05aa3
*** empty log message ***
1999-05-31 17:40:15 +00:00
Andrey Hristov
aba3ea97cd
preg_match_all() now returns the number of global matches.
1999-05-30 14:48:39 +00:00
Sascha Schumann
88029643d0
* fix some casts
...
* introduce unary_op_type - cleaner than casting data voids to function ptrs
1999-05-30 13:28:56 +00:00
Sascha Schumann
31da7331fe
kill some warnings
1999-05-30 12:00:06 +00:00
Sascha Schumann
577340bb9f
zend_hash_merge was changed
1999-05-30 11:57:28 +00:00
Zeev Suraski
cf4a2c3bfc
That got fucked up when we went back to using uninitialized_zval
1999-05-29 23:37:26 +00:00
Sascha Schumann
b5dd397459
another VPATH related change
1999-05-29 23:20:55 +00:00
Zeev Suraski
f78d4f1a56
Fix a bug
1999-05-29 22:26:28 +00:00
Andrey Hristov
a88b37788e
Updated preg_split().
1999-05-29 20:45:00 +00:00
Andrey Hristov
70dc46892a
Fix preg_match_all to do proper matching with \b.
1999-05-29 20:04:05 +00:00
Andrey Hristov
9c970e1910
Fixed PCRE so that global matching with patterns with \b works.
1999-05-29 19:38:50 +00:00
Zeev Suraski
e058cccfc1
* Changed the way INI entries work in Apache to allow .conf entries to work right too.
...
* vpath fixes for standard Apache build
1999-05-29 19:06:22 +00:00
Zeev Suraski
bcc1337d8c
Support overwrite mode in zend_hash_merge()
1999-05-29 18:59:58 +00:00
Zeev Suraski
274f3aa727
Fix
1999-05-29 18:28:46 +00:00
Sascha Schumann
33507acca5
- clean is not called from automake. use CLEANFILES instead
...
- allow VPATH compilation
1999-05-29 18:13:14 +00:00
Sascha Schumann
03d2a11e27
more VPATH work
1999-05-29 18:11:49 +00:00
Sascha Schumann
6ebb2c80e0
kill warning
1999-05-29 16:20:55 +00:00
Sascha Schumann
941bdd57a3
- fix APXS VPATH build
...
- libzend/TSRM build in their own directories
- ext/Makefile was generated twice
****NOTE******
If you use any kind of VPATH, you need to do a "make distclean" in your
libzend/TSRM directory, before running configure again.
1999-05-29 16:15:21 +00:00
Zeev Suraski
e9c646e7dd
avoid crashing with php4 directives in .conf files (they still don't work)
1999-05-29 16:03:49 +00:00
Zeev Suraski
873763473f
fixes
1999-05-29 15:10:06 +00:00
Sascha Schumann
52463124be
getopt.h conflicted with system include file
1999-05-29 13:53:59 +00:00
Sascha Schumann
b219d491b9
.
1999-05-29 12:15:04 +00:00
Zeev Suraski
b7ee45e13c
Correct fix
1999-05-29 12:00:32 +00:00
Zeev Suraski
7068d4a201
*** empty log message ***
1999-05-29 11:02:37 +00:00
Zeev Suraski
24a21ca2e1
Fix a leak
1999-05-29 11:01:50 +00:00
Zeev Suraski
c1dc4efc3b
no need for those
1999-05-28 22:42:17 +00:00
Zeev Suraski
0eb1498fa8
* Get Apache module to compile again with the regex stuff.
...
* Get Apache to propertly work with POST, and some SAPI fixes
1999-05-28 22:41:48 +00:00
Sascha Schumann
dfce358a5b
that seems to fix it
1999-05-28 21:41:17 +00:00
Sascha Schumann
7401ef12fb
Either I'm playing the EG(symbol_table) game wrong or var.c leaks memory
...
when unserializing arrays/objects. Still testing
1999-05-28 21:27:19 +00:00
Andrey Hristov
3fe94e5b37
-Modified PCRE library slightly to do what needs to be done
...
-Updated preg_replace() code to handle stuff properly
-Removed ability to specify external PCRE library source to link against
(since our bundled version is patched now)
1999-05-28 20:54:52 +00:00
Sascha Schumann
62a9f2137c
I think that is the preferred way as of now
1999-05-28 18:51:51 +00:00
Zeev Suraski
cd789db6f2
*** empty log message ***
1999-05-28 13:28:50 +00:00
Zeev Suraski
741b816136
* Support getThis() for internal functions.
...
* Fix 'new object or die' and AiCount issue thoroughly (earlier fix didn't
work with the optimizer).
* Add new macros for standardized definition of classes.
* Only report AiCount problems if shutdown was not silent.
1999-05-28 12:06:59 +00:00
Zeev Suraski
7a167cd0c1
* Use new Zend macros for standardized definition of classes.
...
* Reverse bogus shutdown order.
* Use the new object/class support of Zend to make the dir functions work again.
1999-05-28 11:09:39 +00:00
Rasmus Lerdorf
f1f4e6f478
Some innocent cleanups
1999-05-28 03:54:15 +00:00
Andrey Hristov
a5138d2724
We don't need those there.
1999-05-27 14:02:29 +00:00
Andrey Hristov
e10e4dbe10
Really fix the configuration now so that it's possible to compile both
...
against the bundled PCRE library and the one external to the source tree.
Crossing my fingers while Zeev compiles this. :)
1999-05-27 13:59:39 +00:00
Stig Bakken
96434e4899
self-contained extensions please :-)
1999-05-27 08:53:21 +00:00
Zeev Suraski
83cdc9476d
Generate Visual Studio compatible error messages when compiling under Win32
1999-05-27 03:14:57 +00:00
Zeev Suraski
3b5972ed4a
Fix the AiCount issue with objects
1999-05-27 03:11:08 +00:00
Zeev Suraski
1f985ede74
Moved all #define's for SET_ and RETURN_ to zend_API.h
1999-05-27 01:44:17 +00:00
Sascha Schumann
5d0a7599a9
- fix CGI build (at least)
1999-05-27 01:34:18 +00:00
Sascha Schumann
16ec4608ac
add rfc1867.c
1999-05-27 01:20:52 +00:00
Zeev Suraski
36947fc45a
Fix pcre build
1999-05-27 01:19:00 +00:00
Zeev Suraski
064a16c7b2
Moved all SET_ and RETURN_ macros to Zend
...
Fixed all RETVAL_ macros
1999-05-27 00:45:31 +00:00
Andrey Hristov
66f850e5b7
-Added PCRE library source
...
-Updated configuration process
1999-05-26 21:47:57 +00:00
Andrey Hristov
d73c638526
Added preg_split. Same syntax as regular split().
1999-05-26 18:59:04 +00:00
Andrey Hristov
ff29e85724
Fixing a couple of long standing bugs.
1999-05-26 18:45:53 +00:00
Andrey Hristov
0062ae6218
A few changes here.
...
First of all, as per extensive discussion on the list, the functions are now
prefixed with "preg" instead of "pcre".
Secondly, global matching is now possible using preg_match_all. Please, give
suggestions on a better name if this one doesn't sit well with you. Possible
names are preg_global_match and preg_gmatch.
preg_match_all takes 4 arguments: a regex pattern, a subject string,
the array for capturing subpatterns, and a parameter that tells how the results
in the subpatterns array are arranged.
Basically, preg_match_all will go through the subject string and try to capture
all the matches that it finds, not just the first one like preg_match.
4th parameter can be PREG_PATTERN_ORDER (default) or PREG_SET_ORDER.
Example:
preg_match_all("|</?([^>]+)>|", "<div align=left>a test</div>", $out, PREG_PATTERN_ORDER);
This returns results so that $out[0] is an array of full pattern matches, $out[1] is an array
of first captured subpattern matches, and so on.
$out[0] -> ("<div align=left>", "</div>")
$out[1] -> ("div align=left", "div")
Example:
preg_match_all("|</?([^>]+)>|", "<div align=left>a test</div>", $out, PREG_SET_ORDER);
This returns results so that $out[0] is an array of first full pattern match and subpatterns,
$out[1] is an array of second full pattern match and subpatterns.
$out[0] -> ("<div align=left>", "div align=left")
$out[1] -> ("</div>", "div")
If anyone has a better name for these PREG_ constants and also which one should be the default,
I'd like to hear it.
1999-05-26 15:22:02 +00:00
Zeev Suraski
033858e13d
Avoid crashing if an error occurs before we open the first file.
1999-05-25 22:55:13 +00:00
Zeev Suraski
cf58b7ef16
Add container for file-upload. It's not quite implemented yet.
1999-05-25 22:28:24 +00:00
Andrey Hristov
6155d91e7a
Just a little sanity check.
1999-05-25 21:47:58 +00:00
Zeev Suraski
4f545f9c6b
Allow unregistering content types as well.
1999-05-25 21:19:46 +00:00
Zeev Suraski
72f6e823f9
* Add generic POST content-type support. Only application/x-www-form-urlencoded
...
supported at this time, but the framework allows for any other types, including
runtime addition of types.
1999-05-25 21:14:54 +00:00
Zeev Suraski
7b98592282
include regex in Win32 build
1999-05-24 18:02:42 +00:00
Zeev Suraski
e115fdc6d6
The last fix was wrong
1999-05-24 16:48:01 +00:00
Zeev Suraski
cbcd462d46
Another operators fix
1999-05-24 16:43:47 +00:00
Zeev Suraski
97107dc440
boolean comparison didn't work with smaller-than and greater-than, something that
...
fucked up berber's site a bit. fixed.
1999-05-23 22:07:04 +00:00
Zeev Suraski
0eb500cef5
Thou shalt use the API, and thou shalt be safe
1999-05-23 20:32:19 +00:00
Andrey Hristov
57b22c8b64
Some comments.
1999-05-22 19:46:27 +00:00
Sascha Schumann
3165710b77
- add -lregex
...
- change module name to php4
1999-05-22 19:41:28 +00:00
Andrey Hristov
912f17d278
Added ability to pass array parameters to pcre_replace.
1999-05-22 19:14:57 +00:00
Zeev Suraski
ee7032f069
Sigh, another leak bites the dust. FREE_OP missing in case of a SEND_VAR.
1999-05-22 18:02:30 +00:00
Zeev Suraski
84bb91d762
I'm on a roll. Fix a nasty yet stupid AiCount bug
1999-05-22 17:30:09 +00:00
Zeev Suraski
05f6cf54f0
Warn about AiCount not zeroing out
1999-05-22 16:48:23 +00:00
Sascha Schumann
7b58930456
add a $(srcdir)
1999-05-22 16:13:10 +00:00
Sascha Schumann
13c3c4012e
fix compile issues in LDAP/XML exts
1999-05-22 16:12:09 +00:00
Zeev Suraski
1250c43a39
* Add struct name to all typedef's so that they can be debugged with MSVC
...
* Fix an AiCount bug - list(...) = $var was using $var multiple times, and thus
causing AiCount to be decreased multiple times even though it was increased only
once for $var. Mark all FETCH_DIM's so that they won't decrease AiCount, and only
decrease AiCount on the last FETCH_DIM.
* Fix a stupid bug - forgot to pass CLS_C to some compiler function. For some reason
MSVC doesn't report these :I
1999-05-22 16:10:51 +00:00
Sascha Schumann
1652802641
fix APXS compile
1999-05-22 15:48:29 +00:00
Zeev Suraski
d62a739cca
More fixes. Should hopefully work well now.
1999-05-22 12:19:57 +00:00
Zeev Suraski
9df57a2263
php_ini fixes
1999-05-22 11:34:21 +00:00
Zeev Suraski
080105f79f
Give more information and save log lines in memory leak reports
1999-05-22 11:20:56 +00:00
Zeev Suraski
9b4d71205b
* Minor fixes
...
* Better handling for multiple repeated memory leaks (libzend updated)
1999-05-22 10:56:36 +00:00
Zeev Suraski
a08e3925b1
Time to rename the child
1999-05-22 09:24:21 +00:00
Zeev Suraski
87ba08d1d0
Avoid leaking fd's in case of failures
1999-05-22 02:13:01 +00:00
Zeev Suraski
58a0ae7b35
Small fix
1999-05-22 01:15:25 +00:00
Zeev Suraski
ac94c83867
more fixes
1999-05-22 01:07:50 +00:00
Zeev Suraski
9e862c11ec
Fix a memory leak
1999-05-21 23:51:19 +00:00
Zeev Suraski
d56ae4f670
That wasn't supposed to slip in
1999-05-21 23:48:24 +00:00
Zeev Suraski
be8b9778e0
This should be centralized...
1999-05-21 23:25:46 +00:00
Zeev Suraski
9dc0842e58
* Properly handle failed file opens in C++
...
* Properly handle failed require()'s within libzend
1999-05-21 20:20:32 +00:00
Sascha Schumann
00cb03bd49
add support for mhash 0.5.0
...
see http://sasweb.de/mhash/
1999-05-21 20:09:23 +00:00
Andrey Hristov
e3a70c1f04
-Added regex cache
...
-Made module thread-safe
1999-05-21 19:27:44 +00:00
Zeev Suraski
c57c0e9cd5
* Fix error handling startup on the thread-safe CGI version
...
* A failed require() is a compile-time error, consider it as one
1999-05-21 19:22:17 +00:00
Zeev Suraski
f33c22c055
* Fix the comments issue. yymore() worked like a charm.
...
* Change all flex states to be prefixed with ST_
1999-05-21 17:31:49 +00:00
Andrey Hristov
be9dc58cfe
Get rid of debug printf's.
1999-05-21 13:29:05 +00:00
Andrey Hristov
17bbbf2963
Initial check-in of PCRE (Perl Compatible Regular Expressions) extension.
...
PCRE library can be found at ftp://ftp.cus.cam.ac.uk/pub/software/programs/pcre/
config.m4 will be updated to be more robust later on.
perl_match() takes a regular expression, the source string, and the array
for subpattern matches.
perl_replace() takes a regular expression, the search string, and the replacement
string.
Regular expression is specified using delimiters and options. Example:
perl_match("/<[a-z]*>/i", $text, $tags);
More stuff is coming soon.
1999-05-21 13:17:23 +00:00
Sascha Schumann
b57dc27595
- run ext sources through conv_proto
...
- add necessary phpext_*_ptr
1999-05-21 10:06:25 +00:00
Sascha Schumann
4fe8fe715e
merge in some PHP3 stuff
1999-05-21 08:37:48 +00:00
Sascha Schumann
6f06b11679
incorporate YP/NIS support
1999-05-21 08:29:51 +00:00
Sascha Schumann
fb407676a2
- fix compile issues for various packages (dbase, sysv*, zlib)
...
- some cleanup in mhash/mcrypt
1999-05-21 08:20:13 +00:00
Sascha Schumann
0fe7fe30b5
- add phpext_pgsql_ptr
...
- semaphore update for glibc-2.1 systems
1999-05-21 08:04:38 +00:00
Sascha Schumann
672e38da93
Add default path for binary mysql distributions
1999-05-21 07:52:12 +00:00
Sascha Schumann
286fef1ce4
remove debug messages
1999-05-21 07:04:48 +00:00
Zeev Suraski
9cb2cf1393
Optimize allocations into uninitialized_zval assignments
1999-05-20 20:00:59 +00:00
Zeev Suraski
59a539f6ad
Use OutputDebugString() or fprintf(stderr,) for memory leaks
1999-05-20 19:06:28 +00:00
Sascha Schumann
27fc61c4dc
Apply the fix for feof()
1999-05-20 13:56:19 +00:00
Andi Gutmans
3facf7cb7c
- Updates we did today
1999-05-20 13:04:59 +00:00
Andi Gutmans
7eef22472c
- Small fixes
1999-05-20 12:06:45 +00:00
Andi Gutmans
d79292d52b
- Fix a small problem with class decelerations.
1999-05-20 09:08:29 +00:00
Andi Gutmans
0bc950bcd5
-Open curly braces fix?
1999-05-20 09:02:03 +00:00
Sascha Schumann
db6ce2f2a9
add mhash support
1999-05-16 12:01:25 +00:00
Sascha Schumann
4e08c66771
kill another 64-bit issue.
...
this affected at least md5 which produced wrong values on 64-bit platforms
1999-05-16 11:55:34 +00:00
Sascha Schumann
a37a5e5c4a
char * => unsigned char *
1999-05-16 11:32:51 +00:00
Sascha Schumann
39691bed9e
conv_proto *.[ch]
1999-05-16 11:19:26 +00:00
Sascha Schumann
5a4c63db53
this script automatically converts the ugly void php3_... prototypes
...
to PHP_FUNCTION(...) prototypes. Also kills some unnecessary extern
declarations in front of function prototypes.
1999-05-16 11:14:52 +00:00
Sascha Schumann
ed8a7dff62
add fast bin2hex string function
1999-05-16 11:12:23 +00:00
Sascha Schumann
d886b84ef4
kill some compiler warnings
1999-05-16 11:10:41 +00:00
Zeev Suraski
b0bfa458b5
* Fix all hash checks that checked Bucket.arKey for NULL, when it was changed
...
to char[1], these checks should have been changed to Bucket.nKeyLength==0
* Support runtime declaration of functions. I ended up changing the grammar
to catch top level functions vs. nested functions. The reason is simple -
if we don't have functions properly declared at compile-time, function calls
cannot be resolved at compile time, and have to be resolved at runtime, which
ends up being much much slower (without the optimizer, that is).
It's no biggy though, the grammar change isn't that bad.
1999-05-15 15:47:24 +00:00
Zeev Suraski
d2c16bf5bd
*** empty log message ***
1999-05-15 14:56:23 +00:00
Zeev Suraski
b9fb0b8e4d
If a require() dies, we must bail out (since it corrupts an existing op_array
1999-05-14 20:16:22 +00:00
Zeev Suraski
53f98a66cf
Fix a bug
1999-05-14 19:04:37 +00:00
Stig S. Bakken
695b4f4d5e
don't install Zend on the system
1999-05-14 18:42:06 +00:00
Zeev Suraski
1fb61df8a5
* Include all of the standard modules in internal_functions.c.in. Stig - is that
...
the way you intended it to be? How does the basic_functions module get in there?
* Fix to get MySQL objects working, even though I'll probably make a dedicated
MySQL object in the future.
1999-05-14 18:25:16 +00:00
Zeev Suraski
67296f0704
Add \012 and \xff missing support to constant quoted string
1999-05-14 11:29:34 +00:00
Zeev Suraski
df0906f7c0
Release fix
1999-05-13 16:48:49 +00:00
Zeev Suraski
5eaed486e1
* HTTP-auth bugfix
...
* Patch the regex thread safe code to compile in thread safe mode
1999-05-13 15:54:49 +00:00
Zeev Suraski
0b873a7899
*** empty log message ***
1999-05-12 23:05:17 +00:00
Zeev Suraski
52ac2e67c1
Enable Apache HTTP Auth
1999-05-12 22:49:23 +00:00
Zeev Suraski
49b01a4b3d
Support HTTP Auth under ISAPI. Now, these short pieces of code took *A LOT* of
...
research :(
1999-05-12 21:35:16 +00:00
Stig S. Bakken
cefca57c9c
install libzend.a and header files on "make install"
1999-05-12 20:12:15 +00:00
Stig S. Bakken
97ea66a045
add --enable-thread-safety option
1999-05-12 20:11:42 +00:00
Zeev Suraski
853d6c6206
Added prepend to llist
1999-05-12 18:06:14 +00:00
Andrey Hristov
89a56a139b
It's been there long enough.
1999-05-12 17:29:51 +00:00
Thies C. Arntzen
6c2c3a9587
compiles
1999-05-12 16:12:22 +00:00
Thies C. Arntzen
d470b4cfe0
added _php3_hash_next_index_pointer_insert
1999-05-12 16:11:35 +00:00
Sascha Schumann
a4d20864a6
- regex cache (needs some work)
...
- str_replace changes from php3
1999-05-12 15:40:15 +00:00
Thies C. Arntzen
3031862b24
up-to-date with 3.0.8
1999-05-12 14:28:01 +00:00
Thies C. Arntzen
dc8d4f89c7
move oci8 from oracle to it's own ext-directory - configure stuff needs more work - but it configures and compiles
1999-05-12 14:21:38 +00:00
Thies C. Arntzen
f04567b09e
builds and configures again
1999-05-12 13:44:09 +00:00
Rasmus Lerdorf
fbeeb8f29c
substr() fix
1999-05-12 12:53:45 +00:00
Rasmus Lerdorf
43d93b6533
substr() fix for PHP4 as well
1999-05-12 12:43:03 +00:00
Zeev Suraski
6bc6dacf5c
Fixes:
...
* Avoid closing stdin (I could have sworn I've committed that already)
* unclean_shutdown patches
1999-05-11 21:39:48 +00:00
Zeev Suraski
e22cce0dda
Easier Win32 debug code
1999-05-11 21:38:39 +00:00
Zeev Suraski
0997fcdc2b
Fix
1999-05-11 21:27:44 +00:00
Zeev Suraski
ceeb9b38ba
* Finally commit that -q patch
...
* Refine SAPI built in header support
* Use DllMain() in ISAPI to clean after threads and initialize tsrm/sapi as soon as possible.
1999-05-11 20:38:16 +00:00
Andrey Hristov
702829709c
Added compact() function.
1999-05-11 19:31:37 +00:00
Zeev Suraski
9fd708a313
Handle the Location: header centrally for all SAPI modules.
1999-05-11 18:36:35 +00:00
Zeev Suraski
473d1d7cf1
* Fix a bug that occured in case of parse errors. We need to restore the lexical state
...
even if the compilation failed.
1999-05-11 17:50:37 +00:00
Zeev Suraski
ba88c0c47c
* Move unclean_shutdown from PHP to Zend.
...
* The Master/Local headers in the phpinfo() table were reversed.
* Fix a gpc bug
1999-05-11 16:52:58 +00:00
Zeev Suraski
24dff20afa
Support POST in Apache
1999-05-11 12:52:17 +00:00
Zeev Suraski
dc5ed5a3fb
beatify Apache's info func
1999-05-11 00:43:46 +00:00
Zeev Suraski
3e98dc5edc
Memory leak fix
1999-05-11 00:09:22 +00:00
Zeev Suraski
0b77132507
* Get Apache to work. POST doesn't work yet.
...
* There are now -I directives for the absolute path of php4, php4/libzend and the builddir for
the Apache module, so we can #include any php/Zend header.
* Rename config.h to php_config.h
1999-05-11 00:01:47 +00:00
Andrey Hristov
957616cd2d
Minor updates.
1999-05-10 21:14:43 +00:00
Andrey Hristov
d7ed9c1455
Added in_array() function.
1999-05-10 21:10:48 +00:00
Zeev Suraski
74a9ed7b3f
Weed out all BoundsChecker-found bugs (including a serious file descriptor leak
...
in the C++ scanner)
1999-05-10 20:46:42 +00:00
Andrey Hristov
ea0f19850e
A couple of fixes.
1999-05-10 20:41:42 +00:00
Zeev Suraski
928e322038
Weed out all BoundsChecker-found bugs
1999-05-10 19:48:23 +00:00
Zeev Suraski
8f48b83df4
Only read POST info if the request method is POST.
1999-05-09 20:58:26 +00:00
Andi Gutmans
4079f914bd
* Make read_post() read input by chunks instead of returning a single string.
...
This will allow us to efficiently support file upload through SAPI in the future.
* Fixes
1999-05-09 18:40:59 +00:00
Zeev Suraski
14a8e9b6c3
Change argument name
1999-05-09 14:56:38 +00:00
Zeev Suraski
60fcac8f2a
A few other minor fixes
1999-05-09 13:57:09 +00:00
Zeev Suraski
5ba4b3311d
Several minor fixes
1999-05-09 13:55:15 +00:00
Zeev Suraski
bfbe86187e
Almost forgot to commit those
1999-05-09 12:24:21 +00:00
Zeev Suraski
bc415d5a88
* Finalizing the PHP version of SAPI. Support POST and cookies among other things.
...
* Fully implement ISAPI support - POST and cookies among other things.
* Almost completely rewrote phpinfo(). Allow modules to easily display their
information in phpinfo() without modifying phpinfo() itself (prototype for
the module info function was changed, thus the large amount of updated module
files).
* Initial extended SAPI support for Apache, completely untested.
* CGI now uses SAPI fully as well.
1999-05-09 08:48:05 +00:00
Sascha Schumann
91cf2e59c4
get rid of the binary character, execute sed only once
1999-05-08 22:00:02 +00:00
Sascha Schumann
17a36c37d1
this is faster than parsing the file line by line
1999-05-08 21:44:12 +00:00
Andrey Hristov
a0b94fccbb
-Added extract() function
...
-Added function_exists() function
1999-05-08 21:18:06 +00:00
Andrey Hristov
cd901e8586
-fixed configure.in.in to use genif.sh instead of genif.pl
...
-fixed genif.sh
-updated php3_mysql.h to have phpext_mysql_ptr
1999-05-08 18:16:30 +00:00
Zeev Suraski
ae6f852cb6
Oh yeah, wrong license
1999-05-06 22:31:46 +00:00
Zeev Suraski
ade1117ebd
* Get output buffering to work again
...
* Warn about adding header information after headers are sent
* Several fixes
1999-05-06 21:58:49 +00:00
Sascha Schumann
324593224d
calloc et al need stdlib.h according to ANSI-C
1999-05-06 21:13:26 +00:00
Sascha Schumann
2c42111694
add compat #define
1999-05-06 20:54:56 +00:00
Sascha Schumann
a793fea1f7
Do we really want to depend on Perl? Shell scripts are handy and run on
...
virtually every Unix box whereas Perl does not. I don't think Perl should
be required when actually configuring PHP4. Open to comments...
1999-05-06 20:52:19 +00:00
Zeev Suraski
c5d8c389a5
Ok, I tested it now. It works very nicely!
1999-05-06 19:13:13 +00:00
Zeev Suraski
465c94ce18
* Optimize _php3_parse_gpc_data() and clean it up, plus fix a couple of Zend related memory leaks in it
1999-05-06 18:09:50 +00:00
Zeev Suraski
842b5ee941
vpath fix
...
Apache compatability fix
1999-05-05 21:47:04 +00:00
Zeev Suraski
6f1c611868
Fixes
1999-05-05 21:29:26 +00:00
Zeev Suraski
54fa0e5d16
fix
1999-05-05 21:11:27 +00:00
Zeev Suraski
aee864e9d8
Get CGI to work with the new headers code.
...
Now Apache is the only interface that doesn't use it.
1999-05-05 21:05:44 +00:00
Zeev Suraski
2740382c2c
ISAPI WORKS!
1999-05-05 19:53:15 +00:00
Andi Gutmans
c8b2bf0a1d
llist improvements
1999-05-05 19:24:46 +00:00
Andi Gutmans
537cc54acd
Added initial headers support in SAPI
...
*untested*
It definitely broke the thread-safe CGI, it may have broken other stuff as well.
1999-05-05 18:25:20 +00:00
Zeev Suraski
9e67cded5e
Get Win32 to compile again
1999-05-04 20:27:30 +00:00
Zeev Suraski
95af652d2b
An initial default builtin modules file for Win32
1999-05-04 03:43:49 +00:00
Zeev Suraski
18742324b3
ZTS fixes
...
Stig - --enable-thread-safety belongs in libzend, since libzend doesn't #include config.h, whereas
PHP does #include zend_config.h
1999-05-04 03:42:19 +00:00
Zeev Suraski
1401cd52fc
vpath patches (cool job Stig!)
1999-05-03 19:59:55 +00:00
Stig Bakken
9a66ffbaee
* added --enable-thread-safety switch
...
* now generating internal_functions.c
1999-05-03 11:11:23 +00:00
Zeev Suraski
9a4031ad64
Get apache uptodate
1999-05-02 20:04:18 +00:00
Zeev Suraski
a5ab6b9638
Move path_info to the SAPI structure
1999-05-02 19:54:02 +00:00
Zeev Suraski
7071131f81
Get rid of request_info.path_translated
1999-05-02 19:31:56 +00:00
Zeev Suraski
bc004fb062
Apache compile fix
1999-05-02 19:16:21 +00:00
Andi Gutmans
fcaf734f94
- Don't support interactive mode when thread safe.
1999-05-02 19:07:46 +00:00
Zeev Suraski
e6257bc388
UNIX CGI build fix
1999-05-02 19:01:45 +00:00
Andi Gutmans
5dbe924660
- Make ISAPI hook in as an extension too.
...
- Some work on moving stuff to SAPI.
1999-05-02 18:07:41 +00:00
Sascha Schumann
7e0ee50ed4
func name changes, remove arbitrary limit
1999-05-01 14:41:46 +00:00
Sascha Schumann
8baa86ed51
mcrypt 2.1.18 support, better autoconf checking
1999-05-01 11:14:22 +00:00
Zeev Suraski
064f75fd1b
Several operator fixes. Should fix the MySQL problem.
1999-05-01 01:04:13 +00:00
Andi Gutmans
5dd7f27f0b
- Free refcount when destroying the last class reference.
1999-04-30 23:32:03 +00:00
Andi Gutmans
202135bfac
- Missed one place
1999-04-30 21:44:27 +00:00
Andi Gutmans
0e1f8ed58e
- First try at fixing $a->foo[] syntax.
1999-04-30 20:27:36 +00:00
Thies C. Arntzen
75bc4593ff
forward port of current oracle.c + fixes to make it actually work;-)!!!
1999-04-30 18:59:15 +00:00
Thies C. Arntzen
23917484ad
oracle links again (at least on linux!!!)
1999-04-30 18:02:09 +00:00
Andi Gutmans
91371c4340
- Move back to yyless(). I haven't tested it yet because it's taking too long
...
to compile and I have to disconnect
1999-04-30 17:35:38 +00:00
Zeev Suraski
9dd66bc2ae
Fix Boris's problem (in my never ending struggle to show I never mean what I say
...
when I say something's not gonna happen :)
1999-04-30 17:29:18 +00:00
Zeev Suraski
bc3686c14a
* Fix a problem with constant quoted strings, that was causing Thies's problem
...
* Remove a development-time printf
1999-04-30 10:46:48 +00:00
Andi Gutmans
95e2e023fb
- No reason to handle newlines here.
1999-04-29 20:58:29 +00:00
Zeev Suraski
d90ea1a136
Make the C++ scanner support interactive input
1999-04-28 23:18:57 +00:00
Zeev Suraski
e22a1a08a5
Get the MySQL module to use the new INI mechanism feature
1999-04-28 21:37:54 +00:00
Zeev Suraski
d843632629
Remove redundant code
1999-04-28 21:29:31 +00:00
Zeev Suraski
a877f6d380
Additional generalization of the INI mechanism. Avoid needing specialized
...
message handlers in 99% of the cases.
1999-04-28 21:14:47 +00:00
Zeev Suraski
66476011dd
A step towards generalizing the INI mechanism even more
1999-04-28 20:26:33 +00:00
Zeev Suraski
1aaf98e54b
get rid of some stupid warnings
1999-04-28 20:18:25 +00:00
Andi Gutmans
cef5243b64
- export patch
1999-04-28 18:35:42 +00:00
Andi Gutmans
a74b342612
- Small startup fix.
1999-04-28 17:38:24 +00:00
Andi Gutmans
8423f8f1d3
dsp update
1999-04-28 16:13:09 +00:00
Rasmus Lerdorf
92905543f1
Add fgetcsv() here as well
1999-04-27 13:06:58 +00:00
Zeev Suraski
2493f68018
* Fix debugger+interactive mode bug
...
* Recognize whether an extension is with debug information or not
1999-04-27 11:00:59 +00:00
Zeev Suraski
1245356128
* Get rid of the memory leak messages in case of fatal errors or exit()
...
* .dsp fixes
* Minor fixes
1999-04-27 10:00:54 +00:00
Zeev Suraski
9b56453566
* Small startup fix
...
* Fix min() and max()
1999-04-26 20:20:12 +00:00
Zeev Suraski
7375ca5588
Temporary fix for CGI compilation under UNIX
1999-04-26 19:48:10 +00:00
Zeev Suraski
48de4ce0dd
Somehow the rules for the configuration parser/scanners disappeared
1999-04-26 19:02:59 +00:00
Andrey Hristov
b9d3a80709
Fixing a few thing to make AC_CHECK_CC_OPTION work.
1999-04-26 18:06:04 +00:00
Zeev Suraski
3cd0af11ee
* Get the Apache module to compile again
...
* Get rid of php3_rqst, use SG(server_context) instead (there's still Apache-specific code,
but it nuked a global)
1999-04-26 17:26:37 +00:00
Zeev Suraski
0f195a79cd
fix
1999-04-26 15:16:06 +00:00
Zeev Suraski
c55a67657f
Match the CVS name
1999-04-26 14:11:20 +00:00
Zeev Suraski
7c4a08381e
Various thread safety fixes and DLL updates
1999-04-26 14:10:42 +00:00
Zeev Suraski
7942eaf381
* Plenty of thread safety and Win32 work.
...
* Changed PHP4 to compile as a DLL, both ISAPI and the the CGI run with the same DLL.
* Switched to using the DLL runtime library under Win32. PHP will NOT work if
compiled against the static library!
* Removed yesterday's php4libts project (with php4dllts, it's obsolete).
This *does* affect thread-unsafe Windows as well - the thread unsafe CGI is also
dependant on the thread-unsafe DLL.
1999-04-26 14:00:49 +00:00
Andi Gutmans
050cb7cfe3
-Add .dsp file
1999-04-26 03:04:29 +00:00
Andi Gutmans
df6134bc42
-More commits
1999-04-26 03:03:39 +00:00
Andi Gutmans
9c51acdc17
-More
1999-04-26 03:03:36 +00:00
Rasmus Lerdorf
5c09d8e616
Make GD config fail if it doesn't find the gd files
1999-04-25 23:29:52 +00:00
Sascha Schumann
1e54412bdc
PHP3 compat stuff
1999-04-25 22:22:13 +00:00
Rasmus Lerdorf
8ffbed7d7e
Ok, apxs build works nicely now
1999-04-25 22:16:44 +00:00
Sascha Schumann
c62ffa7e01
oops, the 0th byte should be set, too
1999-04-25 21:50:24 +00:00
Sascha Schumann
77baa4ebb4
final change (?), add get_algorithms_name
1999-04-25 21:49:01 +00:00
Sascha Schumann
12a76342ed
make code more compact
1999-04-25 21:32:52 +00:00
Sascha Schumann
5ed41f31af
remove some redundant code
1999-04-25 21:24:07 +00:00
Sascha Schumann
5883d6c221
that was a silly one
1999-04-25 21:13:21 +00:00
Sascha Schumann
22d720e00c
add OFB mode, the final one
1999-04-25 21:11:29 +00:00
Sascha Schumann
a1a41504c7
add mcrypt_create_iv()
1999-04-25 21:09:07 +00:00
Zeev Suraski
23a1d3fb91
Win32 isn't a good os to commit uppercase files with...
1999-04-25 21:04:17 +00:00
Sascha Schumann
6b890309ef
cleanup, add new stream mode, allow IV for CBC mode
1999-04-25 20:44:52 +00:00
Sascha Schumann
7d1ee82d79
add get_(key|block)_size
1999-04-25 20:32:15 +00:00
Andi Gutmans
10710c046d
Ah, these too
1999-04-25 19:36:57 +00:00
Andi Gutmans
4ebb4060f9
* Fix a couple of thread safety issues
...
* Add initial ISAPI support. Very very experimental.
* In the thread safe version, generate php4 as a library so that we can link it with both
php.exe and the ISAPI dll. We should probably consider doing that under all circumstances,
under UNIX as well.
The thread-unsafe version *should* be unharmed.
1999-04-25 19:35:44 +00:00
Sascha Schumann
1db171deb8
add CBC
1999-04-25 17:04:56 +00:00
Sascha Schumann
11fc109ca6
add mcrypt module
1999-04-25 16:50:40 +00:00
Rasmus Lerdorf
c4442ed7c5
Ok, this beast compiles via --with-apxs
...
Not sure if it actually works yet though. I have a feeling there are
some -fpic flags missing in the libzend build. Will test later on
today.
1999-04-25 14:10:23 +00:00
Sascha Schumann
ac9c0d03e0
-f tests for plain files only. We need a way to find out whether we could do any damage to existing files. If we cannot write to them, we probably cannot do harmful things hopefully.
1999-04-25 14:08:41 +00:00
Thies C. Arntzen
9cace18e10
serialize & unserialize working (with mem-leak)
1999-04-25 12:41:18 +00:00
Rasmus Lerdorf
0704064cdf
Argh! That typo took me over an hour to find. Grr..
1999-04-25 04:03:36 +00:00
Andrey Hristov
ef7a4db341
test -e fails in sh. Used test -f instead.
1999-04-25 00:55:01 +00:00
Sascha Schumann
6955cacb21
unreliable check whether cc option can be used really
1999-04-24 23:36:25 +00:00
Zeev Suraski
5974d84bc6
Fixes
1999-04-24 23:22:09 +00:00
Sascha Schumann
a156a47187
security check and disclaimer for generated files
1999-04-24 22:16:06 +00:00
Rasmus Lerdorf
2d78e4779e
Oops, would be a good idea to edit the .in file instead of acconfig.h
1999-04-24 21:55:44 +00:00
Rasmus Lerdorf
ecc1dce8f5
libbind check
1999-04-24 21:52:53 +00:00
Sascha Schumann
d558f56ba0
add function checks
1999-04-24 21:39:33 +00:00
Andrey Hristov
4aeb630539
Change cmp'risons to be cross-shell compatible.
1999-04-24 21:21:35 +00:00
Sascha Schumann
3b195581db
bugfix port
1999-04-24 20:48:12 +00:00
Sascha Schumann
bec518a62d
port from PHP3
1999-04-24 20:43:58 +00:00
Sascha Schumann
8036c5fbf1
include some header files explicitly
1999-04-24 20:26:31 +00:00
Zeev Suraski
c09e7de63a
Use relative paths
1999-04-24 19:10:02 +00:00
Thies C. Arntzen
d0d3316128
forward-port of php3-CVS version
...
my 1st zend-array stuff (ocifetchinto) is WORKING!!
1999-04-24 18:54:02 +00:00
Thies C. Arntzen
992e6a429d
made var_dump zend-aware....
...
<?
$ar = array("hallo" => "tubu");
var_dump($ar);
?>
works again!!!
zeev, andi -> please review what i've done!!!
(no i can start "debugging" other stuff, as i often use var_dump)
1999-04-24 18:39:41 +00:00
Zeev Suraski
208e81696f
Another small fix
1999-04-24 17:16:39 +00:00
Zeev Suraski
1ab3e00bc0
Add my API letters to the CVS
1999-04-24 16:57:46 +00:00
Zeev Suraski
f6971f17a9
dsp update
1999-04-24 16:52:40 +00:00
Zeev Suraski
125275b084
Small fixes
1999-04-24 16:51:15 +00:00
Zeev Suraski
6ecc81c097
We'd have to find a different way of allowing timeouts in Win32
1999-04-24 16:17:04 +00:00
Zeev Suraski
e06a1ed265
Thread safety fixes
1999-04-24 16:16:11 +00:00
Stig S. Bakken
3b516557f2
set up automake
1999-04-24 16:14:18 +00:00
Zeev Suraski
8dd4a63366
Remove redundant includes
1999-04-24 09:26:09 +00:00
Zeev Suraski
cd07879f2d
g++ compile fix
1999-04-24 09:08:03 +00:00
Zeev Suraski
1e9ce9528d
*** empty log message ***
1999-04-24 09:01:30 +00:00
Zeev Suraski
5a5806e02a
Cleanups, remove old ts code
1999-04-24 00:12:55 +00:00
Zeev Suraski
0818d96c97
A lot of cleanups... Removed old thread-safe code and other redundant code and files
1999-04-24 00:12:00 +00:00
Zeev Suraski
05d24c6022
Remove redundant code
1999-04-23 22:45:01 +00:00
Zeev Suraski
09946676d2
Thread-safe header_is_being_sent
1999-04-23 20:20:30 +00:00
Zeev Suraski
6f7c0edee3
Remove tls.[ch]
1999-04-23 20:06:01 +00:00
Zeev Suraski
f53afa6edd
cleanups
1999-04-23 19:50:29 +00:00
Zeev Suraski
b2c5ef42d3
Arithmetics bug fix
1999-04-23 13:25:33 +00:00
Zeev Suraski
bce60f0fe6
* MySQL fix (thanks Stig)
...
* Remove reundant includes from bcmath
1999-04-23 12:38:45 +00:00
Stig Bakken
94cde33459
use only EXTRA_LIBS
1999-04-23 12:11:37 +00:00
Zeev Suraski
43c9b540d7
Minor MySQL thread safety issues
1999-04-23 11:12:41 +00:00
Zeev Suraski
5be8dd9712
License
1999-04-23 11:00:02 +00:00
Zeev Suraski
f9cdc88471
Testing unified diffs
1999-04-23 10:26:49 +00:00
Zeev Suraski
a458b4f6bd
Support eval() and highlight_string() in the C++ scanner
1999-04-23 10:21:00 +00:00
Andi Gutmans
01575b9d9d
- Use yyless() instead of unput() where possible. I'll erase the commented
...
out code in a day or so.
1999-04-23 06:14:06 +00:00
Rasmus Lerdorf
7440bc50da
Ok, finally.. These now work nicely on a RH-5.2 box:
...
--with-mysql --with-ldap --with-imap --with-zlib --with-snmp
1999-04-23 04:54:31 +00:00
Rasmus Lerdorf
806dfc2a76
Make zlib compile
1999-04-23 04:12:13 +00:00
Zeev Suraski
8a2f6371fe
*** empty log message ***
1999-04-23 03:36:17 +00:00
Zeev Suraski
1aa2c5c0b4
Ok, call me crazy, because I probably am.
...
Thread safe version now uses a C++ scanner object. Works fully.
1999-04-23 03:32:33 +00:00
Rasmus Lerdorf
cad2318a54
Module work
1999-04-23 03:28:47 +00:00
Zeev Suraski
551fe7780b
Make token names uniform, they all begin with T_ now.
1999-04-22 23:08:42 +00:00
Zeev Suraski
327fc20243
vpath fix
1999-04-22 22:28:17 +00:00
Rasmus Lerdorf
af3f73f7a3
This is generated
1999-04-22 04:42:58 +00:00
Rasmus Lerdorf
77cdb5f483
Bring imap build rules up to date. We still have a problem here though.
...
In this new build structure we are adding libraries to $LIBS as we add
modules instead of doing an AC_SUBST into the Makefile. One reason for
doing the subst in php3 was to get around the libraries that could not
be included in $LIBS because doing so would mess up the various configure
tests. For example, you can't do a -limap as part of the various simple
configure compile programs because -limap requires a bunch of callback
symbols to be present.
1999-04-22 04:21:08 +00:00
Andi Gutmans
916692f4ad
- Update the regular VC project file.
1999-04-22 03:58:37 +00:00
Stig Bakken
e109756121
db was not linked in
1999-04-22 03:03:35 +00:00
Stig Bakken
09d047f8b1
db was not linked in
1999-04-22 03:01:32 +00:00
Stig Bakken
2c0ad3ee25
last bunch of extensions moving to ext/
...
fhttpd module taken out of functions, functions is ready to go.
The only extensions I have tested are gd+freetype and odbc(solid).
Please try compiling in your favourite extensions and let me know how it
works.
1999-04-22 02:48:28 +00:00
Stig Bakken
2a78f92804
moved imap and ldap
1999-04-22 00:45:14 +00:00
Stig Bakken
ff37732997
moved fdf, hyperwave, informix and some smaller files
1999-04-22 00:25:57 +00:00
Stig Bakken
f582bec9db
moved db
1999-04-21 23:37:47 +00:00
Stig Bakken
f9f82960d9
moved bcmath
1999-04-21 23:28:00 +00:00
Stig Bakken
a297b95c9d
moved apache, com and hyperwave into ext/
1999-04-21 23:11:20 +00:00
Stig Bakken
f67a9bdc52
moved dav, msql and oracle to ext/
1999-04-21 22:49:16 +00:00
Stig Bakken
96660d9a8c
moved filepro to ext
1999-04-21 22:11:15 +00:00
Stig Bakken
71c71a4732
moved filepro to ext
1999-04-21 22:05:45 +00:00
Stig Bakken
7d013383e9
mysql should work again now, can someone with mysql installed test it?
1999-04-21 21:34:57 +00:00
Stig Bakken
5d75ccdcff
gd compile fix
1999-04-21 21:27:18 +00:00
Stig Bakken
3789ac7ea0
moving mysql to ext/
1999-04-21 21:26:10 +00:00
Stig Bakken
f9d169c812
create .cvsignore only once :-)
1999-04-21 21:13:40 +00:00
Stig Bakken
3a3e18728c
create .cvsignore as well
1999-04-21 20:39:22 +00:00
Stig S. Bakken
d9144155f5
state which aclocal.m4 and configure files are created
1999-04-21 20:33:33 +00:00
Stig Bakken
72c2d04d72
state which aclocal.m4 and configure files are created
1999-04-21 20:32:56 +00:00
Stig Bakken
8335a61d74
merge the object files in a temporary directory
1999-04-21 20:30:47 +00:00
Stig S. Bakken
1ee30e61fc
zend-parser.o and zend-scanner.o were included twice in libzend.a
1999-04-21 20:30:37 +00:00
Zeev Suraski
942f409292
* Change the thread safe project to create a C++ scanner.
...
* Add in a slightly modified skeleton file (only a couple of #if's for #include's
that we dont have in Windows)
It does NOT compile or work yet :)
1999-04-21 20:13:02 +00:00
Zeev Suraski
1573412776
Thread safe project update
1999-04-21 19:40:16 +00:00
Stig Bakken
23280d0a75
added PHP_API_VERSION, simply set it to 19990421 for now
1999-04-21 19:39:21 +00:00
Zeev Suraski
937270f319
Fix
1999-04-21 19:10:54 +00:00
Zeev Suraski
7d34d425be
Minor fixes
1999-04-21 19:10:18 +00:00
Zeev Suraski
751709a469
* Rename php_compat.[ch] to flock_compat.[ch] and move it to ext/standard
...
* Fix Win32 compilation
1999-04-21 19:01:38 +00:00
Sascha Schumann
065636be85
forgot that one
1999-04-21 18:10:39 +00:00
Sascha Schumann
08c6298af9
cleanup, flock() support
1999-04-21 18:10:18 +00:00
Sascha Schumann
f06cb4deb6
crypt constants
1999-04-21 17:57:40 +00:00
Sascha Schumann
2873f446f2
cleanup
1999-04-21 17:48:11 +00:00
Zeev Suraski
7aad231327
Thread safety patch. It works now with just-in-time resource initialization!
1999-04-21 17:28:54 +00:00
Zeev Suraski
a9f9ae7920
Thread safety patch. It works now with 'just in time' resource initialization!
1999-04-21 17:26:37 +00:00
Sascha Schumann
48e350a94d
incorporate gettext support
1999-04-21 17:26:16 +00:00
Sascha Schumann
dcc16af80c
port some fixes, add compat routines
1999-04-21 17:11:01 +00:00
Sascha Schumann
a6e4ef3e31
str_replace fix
1999-04-21 16:31:27 +00:00
Stig Bakken
9b3c1ca2c3
make config.h.stub as well
1999-04-21 16:23:47 +00:00
Stig Bakken
43ed903949
remove old libtool and automake stuff that was borrowed using 3.0
1999-04-21 15:52:42 +00:00
Zeev Suraski
52fcaa443b
Thread-safe project
1999-04-21 15:35:57 +00:00
Zeev Suraski
763ed6a4fb
Update thread-safe projects
1999-04-21 15:34:31 +00:00
Sascha Schumann
4908dbdf36
config.h.in is a generated file and should be ignored by CVS
1999-04-21 15:16:30 +00:00
Stig Bakken
f8fe0ad29c
move automake back to before autoconf
1999-04-21 14:07:07 +00:00
Stig S. Bakken
a9d3d0832a
move automake back to before autoconf
1999-04-21 14:06:58 +00:00
Stig Bakken
02f9dc6460
autoheader must be called after autoconf, automake after autoheader
1999-04-21 13:47:05 +00:00
Stig S. Bakken
9003b9a261
autoheader must be called after autoconf, automake after autoheader
1999-04-21 13:45:46 +00:00
Stig S. Bakken
bb74a94fa5
think before one commits
1999-04-21 13:26:27 +00:00
Stig S. Bakken
f68609b50f
doh. cvs appears to ignore .in files by default
1999-04-21 13:24:39 +00:00
Sascha Schumann
8489ea5414
generates basic skeleton for new extension
1999-04-21 10:24:41 +00:00
Zeev Suraski
c5af324ec3
More thread safety work
1999-04-21 04:02:11 +00:00
Zeev Suraski
7a87fcbbda
Thread safety patch. We're still not quite there but it compiles again, and
...
more logic has been implemented.
1999-04-21 03:49:09 +00:00