Jouni Ahto
3d1b363967
Fix #5817 and really, really check what gets passed further...
2000-07-29 06:07:26 +00:00
Jouni Ahto
ecb7b4d271
Removed an extra tab, it caused problems for Digital Unix' poor native make...
2000-07-29 04:45:38 +00:00
Jouni Ahto
d88fe953ae
This should fix #5826 .
2000-07-29 04:24:11 +00:00
foobar
7c84d6a082
Fixes bug which caused crash, if result_entry wasn't valid.
2000-07-28 22:39:22 +00:00
foobar
9f25b9c1f7
# Oops..where did those creep in? =(
2000-07-28 21:48:16 +00:00
foobar
40b89f34fb
@- Made ldap_add(), ldap_modify(), ldap_mod_add(), ldap_mod_replace()
...
@ binary-safe. Original patch: Terrence Miao <terrence_miao@email.com> (Jani)
#Thanks go to Terrence for making a patch correcting this bug in php3.0.12...
#A patch, which somehow wasn't included at all in it?-) I wonder why..?
2000-07-28 21:31:02 +00:00
foobar
c8b8281e22
@- Fixed bug in ldap_get_values_len() which makes it NULL-safe. (Jani)
...
@ Bug-report and fix submitted by Michel Alexeline <alexel@dr15.cnrs.fr>
# Plus I added missing ldap_value_free_len().
2000-07-28 00:09:33 +00:00
Sam Ruby
ed2b68a9c3
Fix bug 5619 - explain how to add to the classpath on Win32 machines.
...
Reported by: "Carl S. in 't Veld" <cveld@bigfoot.com>
2000-07-27 18:57:23 +00:00
Rasmus Lerdorf
3bca4e220d
Make ext_skel create a Makefile.in set up to handle shared extension
...
support automatically
@ Make ext_skel create a Makefile.in set up to handle shared extension
@ support automatically (Rasmus)
2000-07-27 17:56:02 +00:00
Jon Parise
021ad113ef
Reworded some of the php_error messages for grammar and clarity.
...
(For example, settled on "cannot" instead of "can't" in all case)
2000-07-27 16:43:38 +00:00
Stanislav Malyshev
f24c8c6f4b
Fix safe mode handling by touch
2000-07-27 13:47:03 +00:00
Stanislav Malyshev
9aa854dc6e
Fix memory leak in touch when safety check fails
2000-07-27 13:28:21 +00:00
Kristian Köhntopp
cd2929aead
Access to global variable safe_mode fixed.
2000-07-26 21:38:21 +00:00
Vlad Krupin
3d3d238021
Changed syntax of pspell_new() (one more parameter - mode)
...
pspell_new() parameters that are empty ("") are now ignored
Removed pspell_mode() and pspell_runtogether() - their
functionality moved to pspell_new() because the ability
to dynamically change those settings is not in ISPELL, and
is likely do disappear from ASPELL, according to ASPELL
author.
Created a new constant - PSPELL_RUN_TOGETHER for pspell_new()
fixed a bug in pspell_new() that caused non-English dictionaries
to be ignored
removed a bogus line from pspell_new() that could result in
a memory leak
2000-07-26 21:32:29 +00:00
Kristian Köhntopp
102156298a
Added seteuid and setegid functions on request by max@valkyrie.sscf.ucsb.edu.
...
Also fixed the function detection for the HAVE_ functions.
2000-07-26 21:25:01 +00:00
Vlad Krupin
f1f91467fa
Removed pspell_mode() and pspell_runtogether()
2000-07-26 21:24:17 +00:00
Sascha Schumann
08f7586031
Get rid of unnecessary preprocessor constructs.
2000-07-26 16:42:04 +00:00
Sascha Schumann
30472a1cc1
Use the lcg as another entropy source for seeding the PRNG when creating
...
a salt for crypt().
2000-07-26 16:35:32 +00:00
Egon Schmid
e4b7e9e916
Protos fixed.
2000-07-26 11:43:01 +00:00
Egon Schmid
9bb4011d06
Proto fixed.
2000-07-26 11:28:14 +00:00
Stanislav Malyshev
79527dd539
Make proper object initialization
2000-07-26 11:21:03 +00:00
foobar
123d745249
@- Added new function: ldap_compare(). (Jani)
...
# Documentation is coming right after this.
2000-07-26 11:01:44 +00:00
Sterling Hughes
56b7b7a8a9
* EXTENSIONS -- update status on CURL & SWF
...
* NEWS --
1. Change wording for the ibase and sybase DB announcement.
2. Remove second pfpro announcement, if pfpro is being released with 4.0.2
entries about new features before 4.0.2 shouldn't be in there.
3. Joey, that entry just doesn't seem incredibly relevant to the NEWS file,
I'll backport it if you want (or add a new entry).
* ext/standard/info.c -- Add a CREDIT_LINE() for CURL.
2000-07-26 05:41:38 +00:00
Sterling Hughes
2aff369398
Add CURLOPT_TRANSFERTEXT option to curl_setopt().
2000-07-26 05:25:37 +00:00
Sascha Schumann
79186d4fe9
Read from /dev/u?random until the buffer is filled.
...
Submitted by: Derick Rethans <d.rethans@jdimedia.nl>
2000-07-25 22:17:20 +00:00
Kristian Köhntopp
19687ea1ed
Trivial change to add access to CURL version information for
...
user programs in order to have them react appropriately.
2000-07-25 22:15:26 +00:00
Vlad Krupin
b3305dab64
added several functions for manipulating wordlists:
...
pspell_store_replacement()
pspell_add_to_personal()
pspell_add_to_session()
pspell_clear_session()
2000-07-25 22:09:52 +00:00
Vlad Krupin
29ab69a767
- added several functions for manipulating wordlists - pspell_store_replacement(), pspell_add_to_personal(), pspell_add_to_session(), pspell_clear_session().
...
- fixed a few confusing typos in comments
2000-07-25 22:06:38 +00:00
Stanislav Malyshev
104b4f38df
Fix more bugs in browscap
...
# now it shoudl work, but leaks like hell, so don't use it yet
2000-07-25 18:50:02 +00:00
foobar
e5f6dcb9c2
@- Fixed a bug in ldap_get_entries() and ldap_get_attributes. (Jani)
...
Fixes bugs #5433 and #5603 .
2000-07-25 15:34:28 +00:00
Stanislav Malyshev
85eb0bb29d
Report configuration path that is really used, not that is compiled in
...
# it does matter when using -c option
2000-07-25 10:54:07 +00:00
Hartmut Holzgraefe
772c4026bb
htmlspecialchars and htmlentities will now
...
encode single quotes to '
(due to feature request in BUG ID#5254)
2000-07-25 10:18:06 +00:00
Stanislav Malyshev
005d4c4deb
Default section name should be uppercase, I guess
2000-07-25 08:09:00 +00:00
Sterling Hughes
c9167fa9df
remove comments for consistency.
2000-07-25 00:29:52 +00:00
Sterling Hughes
cb44d1b30a
1. Move from experimental -> production
...
2. Thread safety
3. Set some initial options
4. Redo the placement of some functions and options.
2000-07-24 20:00:00 +00:00
Joey Smith
9d6d8bf1fa
@- Fix #4591 . Register the appname as PHP 4.0, not 3.0
...
@ Credit to andrew@digitalpulp.com . (Joey)
sybase.globals was still using PHP 3.0 as the appname.
2000-07-24 19:12:32 +00:00
Dan Kalowsky
f6d891674d
Patched to work for Solid/Linux libc5 and glibc2 without the need for renaming the lib files, thanks to Kevin Way... fixed typo from GLIHC to GLIBC
2000-07-24 18:01:42 +00:00
John Donagher
d805076ac2
# Added code to pfpro.c and php_pfpro.h to parse defaults out of php.ini
...
@- For the pfpro extension: defaulthost, defaultport, defaulttimeout, and
@ all of the default proxy settings can now be defined in php.ini
2000-07-24 17:57:05 +00:00
Dan Kalowsky
ebe6dbbbae
Patched to work for Solid/Linux libc5 and glibc2 without the need for renaming the lib files, thanks to Kevin Way
2000-07-24 14:21:18 +00:00
David Croft
0836e10a15
various version 2.0 and 2.01 licenses -> 2.02
2000-07-24 05:41:02 +00:00
David Croft
83513d9580
Changed lots of PHP 3 licence headers to PHP 4, mainly in .h files.
...
Added a few RCS $Id$ tags.
# Note: I have avoided changing any .h files if the corresponding .c file
# had not already been changed as I am not sure if there are any legal
# issues here. So some extensions still have PHP 3 headers.
2000-07-24 01:40:02 +00:00
foobar
428eb46f78
It's better not touch those ldap->ld_* when they aren't given as parameters.
...
(Now using -1 the parameters not wanted can be omitted)
# Plus some source-polishing.
2000-07-23 21:32:02 +00:00
Thies C. Arntzen
9752d1a089
(getimagesize) fix FORCE_REF.
2000-07-23 16:49:42 +00:00
Stanislav Malyshev
7c296bd9cc
Add another check for broken browscap object
...
# I do not know how it could get broken, but just in case...
2000-07-23 11:32:18 +00:00
Stanislav Malyshev
a172147a91
Try to fix some get_browser crashes and clean it up
...
# Probably needs more work, just what I could see immediately
2000-07-23 11:11:35 +00:00
Joey Smith
a44137974b
Setting "compatibility" parameter requires having a PDF structure that
...
has NOT had PDF_open_*() called on it, according to the documentation.
There is not currently any way to obtain such from user-land in PHP.
@ Catch users trying to set "compatibility" parameter, which is not
@ supported from user-land.
#
# Not sure this is the best way to do this...
# Uwe, could you please double check this?
2000-07-23 08:31:13 +00:00
Sterling Hughes
8aadb68db1
@ Fixed dbase_add_record. (Sterling)
...
Fixed dbase_add_record
2000-07-23 03:45:24 +00:00
Sam Ruby
f4e94a5030
Complete the work mapping arrays and hashtables
2000-07-22 20:36:11 +00:00
Sam Ruby
668af98d75
Fix regression in passing strings as parameters
2000-07-22 18:09:28 +00:00
Sterling Hughes
d69d04cf75
fix bug 5322.
2000-07-22 17:47:30 +00:00
Sam Ruby
3f4c7c8359
Allow java.lang.Hashtables to be passed into PHP as arrays.
2000-07-22 17:32:32 +00:00
Sam Ruby
7893c72965
Verify that a classname is actually passed on a new Java() call.
2000-07-22 16:13:20 +00:00
Sam Ruby
3e4a4f2376
Respect the object type the user specified (i.e., never automatically
...
convert the result of "new Java()" to a primitive type)
2000-07-22 13:43:46 +00:00
Sam Ruby
313ca6b5e8
Don't assume that Java byte arrays are null terminated.
2000-07-22 12:40:49 +00:00
David Croft
a5a9a4928b
# zeev is god
2000-07-22 04:23:41 +00:00
David Croft
89153d9c05
fixed socket_set blocking in windows
...
(bug 3845)
2000-07-22 01:53:16 +00:00
David Croft
8dd1fdb1a0
wordwrap function from Chris Russel <russel@yorku.ca>
...
differences from his patch:
- wordwrap width and wrap-string now optional parameters
(default to 75 and "\n" respectively)
- wordwrap_byte is now just an automatic special case of wordwrap
- Zend API compliant
@- Added new function "wordwrap" to wordwrap long strings from Chris
@ Russel <russel@yorku.ca> (David Croft)
2000-07-22 01:12:24 +00:00
foobar
01d5aec3aa
Forgot those constants.
2000-07-22 00:34:22 +00:00
Sam Ruby
eb8a55893d
Pass PHP arrays to Java as hash tables; minor cleanup
2000-07-21 22:08:50 +00:00
Joey Smith
be6c3d8b62
INI stuff labelled sybase.* should be sybct.*.
...
Thanks to dean.bennett@home.com .
2000-07-21 19:58:38 +00:00
foobar
549aec4500
@- Added four additional arguments: attrsonly, sizelimit, timelimit, deref which
...
@ were missing in ldap_search(), ldap_list() and ldap_read() functions (Jani)
@- Fixed a bug in ldap_search/list/read() which prevented returning the partial
@ results when 'Sizelimit exceeded' error occurred. (Jani Taskinen)
# And nuked some compile time warnings. Took a while to get this commit message
# written..I hope I got it right. =)
2000-07-21 19:00:21 +00:00
Hartmut Holzgraefe
d4936d8fcf
column size for date in imap_headers increased (see bug id #5699 )
2000-07-21 15:50:37 +00:00
Andrei Zmievski
fbced1b9cc
(php_addslashes) Fixed stop condition - it should only take into account
...
the length of the string, not the characters.
2000-07-21 15:29:59 +00:00
Ken Coar
f869e47eae
Undo numerical format regression introduced by the fix of the
...
zero-precison %s formatting.
2000-07-21 03:21:56 +00:00
Hartmut Holzgraefe
5390b6a291
fix for bug #5707
2000-07-20 23:08:26 +00:00
Sterling Hughes
0690bca499
fix 5705
...
.
2000-07-20 17:15:25 +00:00
Andrei Zmievski
9de5b9e04a
# There you go, Wico.
...
Fix bug $5676.
@- Fixed preg_replace() to automatically escape quotes in matched
@ strings when using /e modifier. (Andrei)
2000-07-20 15:27:16 +00:00
Sterling Hughes
8a6f3f80f2
Fix dbase_create() for real.
2000-07-20 02:48:44 +00:00
David Croft
4e526516e2
automatically initialise library at first use if necessary
...
automatically cleanup library at request end if user hasn't done so
libpfpro library version shown on phpinfo()
2000-07-19 18:55:12 +00:00
David Croft
89874a4b0d
# remove leading _ from #define
2000-07-19 18:51:55 +00:00
Rasmus Lerdorf
30c81ea5c5
Itanium patch from Steve Robb <steve@eu.c2.net>
...
@ Itanium patch (Steve Robb)
2000-07-19 16:19:40 +00:00
Sascha Schumann
0216ab891b
typo
2000-07-18 22:38:22 +00:00
Sascha Schumann
6da67bf234
Fix building ingres_ii as a shared module
2000-07-18 22:34:42 +00:00
Zeev Suraski
327e33972b
Shutup a gcc warning
2000-07-18 20:40:23 +00:00
Andrei Zmievski
7edad11a74
Fixed compilation errors.
2000-07-18 19:13:14 +00:00
Ken Coar
0ca493768b
Bring forward the zero-precision (%.0s) string formatting fix
...
from PHP3. (After being nagged by Thies. :-) Whee! My first
PHP4 commit..
2000-07-18 16:34:30 +00:00
Stig Bakken
7bb67a6200
@Set default include_path so PEAR files can be reached (Stig)
2000-07-18 11:02:28 +00:00
Sterling Hughes
bb5987fe74
Patch STDOUT support.
2000-07-18 05:52:03 +00:00
Hénot David
63a31786b6
Added new function ii_autocommit()
2000-07-17 23:57:36 +00:00
Hénot David
00d67abd30
Made ingres_ii module compile with its new name
2000-07-17 23:21:42 +00:00
Egon Schmid
41d3f4dbbf
Fixed some protos. Only one line for the description.
2000-07-17 21:50:35 +00:00
Hénot David
15ff1d211b
Added extension ii for Ingres II native support.
...
@- Added extension ii for Ingres II native support. See README in ext/ii
@ directory. (David H)
2000-07-17 21:29:30 +00:00
Zeev Suraski
896d64be10
Build fixes
2000-07-17 21:13:44 +00:00
Zeev Suraski
1237a33c79
- Made Interbase compile under Win32, cleaned warnings
...
@- Added Win32 project for the Interbase module (Zeev)
2000-07-17 20:51:47 +00:00
Uwe Steinmann
eb3bc5aba6
- Cannot see any good reason why the test script in the dir of
...
the extension, though it is in tests as well
2000-07-17 15:44:24 +00:00
Andrei Zmievski
8f96ea6b20
*** empty log message ***
2000-07-17 13:37:26 +00:00
Stanislav Malyshev
7b9d2e33bf
Fix crash in stripcslashes("") ( #5628 )
2000-07-17 10:22:30 +00:00
Sterling Hughes
6787071417
Add CURL support ( http://curl.haxx.se ).
...
# Currently pretty experimental, and labeled so, it
# only really works with the CGI version. I wanted
# to get the sources in CVS, so I could give a
# reference point for some issues, and get more
# extensive testing...
#
# Does anyone know how long it is going to be till
# the next minor release?
2000-07-16 19:37:33 +00:00
Rasmus Lerdorf
246999a51f
Tiny wording fix
2000-07-16 18:51:00 +00:00
Egon Schmid
7a0d047a68
Some cosmetic changes.
2000-07-15 16:09:18 +00:00
Thies C. Arntzen
cef6cc1ec0
fixed uninitilized var in ZTS mode.
2000-07-15 14:54:04 +00:00
Egon Schmid
23b56e3c64
Some cosmetic changes.
2000-07-15 14:35:41 +00:00
Thies C. Arntzen
31dae9e367
@- You can now call Ora_Error() without prameters to get the reason
...
@ for a failed connection attempt. (Kirill Maximov)
2000-07-15 14:15:10 +00:00
Egon Schmid
9194a0fb12
Some cosmetic changes.
2000-07-15 13:00:41 +00:00
David Croft
09c9d44399
merged changes from Signio module by John Donagher <john@webmeta.com>
2000-07-15 05:08:22 +00:00
David Croft
9ee9eaab3a
test file for pfpro
2000-07-15 03:07:49 +00:00
David Croft
467917cbde
@- New extension "pfpro" for interface with Signio Payflow Pro (David Croft)
...
New extension pfpro to interface with Signio Payflow Pro library for
credit card processing etc
2000-07-15 01:13:40 +00:00
Rasmus Lerdorf
3c10e038e2
Add IMG_GIF, IMG_JPG, IMG_JPEG, IMG_PNG and IMG_WBMP constants for
...
imagetypes() function
@ Add IMG_GIF, IMG_JPG, IMG_JPEG, IMG_PNG and IMG_WBMP constants for
@ imagetypes() function (Rasmus)
2000-07-14 22:07:57 +00:00
Rasmus Lerdorf
2f960d70b9
Add ImageTypes() function which returns a bitfield with the supported
...
image formats. 1=gif, 2=jpeg, 4=png and 8=wbmp
@ Add ImageTypes() function which returns a bitfield with the supported
@ image formats. 1=gif, 2=jpeg, 4=png and 8=wbmp (Rasmus)
2000-07-14 21:51:31 +00:00
Rasmus Lerdorf
e3fd1edc49
Make it possible to specify an empty string as a thousands-seperator
...
in number_format()
@ Make it possible to specify an empty string as a thousands-seperator
@ in number_format()
2000-07-14 18:46:13 +00:00
Egon Schmid
0bba8eeae1
Protos fixed.
2000-07-14 18:42:35 +00:00
Rasmus Lerdorf
c78d180231
Shared module support for LDAP extension
...
@ Shared module support for LDAP extension (Troels Arvin)
2000-07-14 13:13:25 +00:00
Mike Waychison
99b85d1919
(imap_mail) Fixed a sizing of the arg parameter array. Was causing
...
Seg-Faults if rpath was specified.
@ Fixed a bug with imap_mail where apache would segfault if the rpath
@ parameter was specified.
# ouch.
2000-07-14 08:12:53 +00:00
Rasmus Lerdorf
1d0ae2cde4
Use dashes and short day name in cookies since some browsers seem picky
...
about this
@ Use dashes and short day name in cookies since some browsers seem picky
@ about this (Rasmus)
2000-07-14 01:08:59 +00:00
Egon Schmid
411280eb9d
The description for protos need no period.
2000-07-13 20:55:22 +00:00
Vlad Krupin
9936548993
- Making pspell compile as a shared module
...
- fix a couple typos
@ Making pspell compile as a shared module
2000-07-13 20:39:14 +00:00
Egon Schmid
d041052428
Fixed protos.
2000-07-13 19:09:32 +00:00
Egon Schmid
28f38ea4fe
Fixed protos.
2000-07-13 18:44:57 +00:00
Egon Schmid
7ad2213278
Forgotten to change.
2000-07-13 18:27:10 +00:00
Egon Schmid
86dfb4c292
Corrected some protos.
2000-07-13 18:21:40 +00:00
Danny Heijl
641b0aa2d3
- typo
2000-07-11 17:53:02 +00:00
Danny Heijl
ec6861733b
- Work-around for ESQL/C bug with BLOBs and NULL values (Danny).
2000-07-11 17:47:16 +00:00
Sam Ruby
4ef7cb0700
Fix for problem noted by Jay Greenspan on TurboLinux machines
2000-07-11 17:33:14 +00:00
Andrei Zmievski
c9c425d625
Updated comments.
2000-07-11 16:51:04 +00:00
Andrei Zmievski
3ac0ae9dff
@- Improved array_multisort() to be able to specify sort type as well sort
...
@ order. Incidentally, it can be used to sort multi-dimensional arrays
@ as well. (Andrei)
2000-07-11 16:48:03 +00:00
Zeev Suraski
168ccfc133
Disable the hash_apply() protection on hashes that persist across requests - it's unsafe
...
because we may be aborted at any point
@- Fixed a possible data corruption in case of a huge amount of aborted requests (Zeev)
2000-07-11 14:29:38 +00:00
Sascha Schumann
b74e079ce7
The official product name is PostgreSQL, so s/PostgresSQL/PostgreSQL/
2000-07-11 12:38:06 +00:00
Sascha Schumann
c917e170f6
Always use the current DIR_DELIMITER to create the session file path
2000-07-11 12:29:19 +00:00
Andi Gutmans
f5401b43b5
- Don't need extern for functions
2000-07-11 04:11:15 +00:00
Vlad Krupin
ece6962f06
- PS_* constants changed to PSPELL_*
...
- zval is used instead of pval
(as Andrei Zmievski suggested)
Modified Files:
ext/pspell/pspell.c
2000-07-10 23:18:27 +00:00
Vlad Krupin
a58ca45b2e
Initial release. Includes:
...
- Functionality of aspell
- 3 modes of spellchecking (fast, normal, bad_spellers)
- support for run-together words
2000-07-10 21:29:19 +00:00
Egon Schmid
96675e9d58
Changed the descriptions.
2000-07-10 20:00:02 +00:00
Egon Schmid
6efcc50176
Changed some protos and the authors email address.
2000-07-10 19:46:29 +00:00
Danny Heijl
42693bb820
- Fix the case of NULL BYTE and TEXT columns. (Danny).
...
ESQL/C (sometimes ?) does not set the indicator variable,
but the locator->loc_indicator instead.
2000-07-10 19:08:27 +00:00
Sascha Schumann
e8101d4f7b
Unify use of my email address
2000-07-10 10:09:15 +00:00
Sascha Schumann
eb0cbbd2d9
Also output the name of the save_handler when reporting a failed write
...
attempt.
2000-07-10 08:35:03 +00:00
Egon Schmid
1231a3e473
Fixed other protos.
2000-07-09 19:33:19 +00:00
Egon Schmid
d7b554ee11
Fixed a proto.
2000-07-09 14:26:50 +00:00
Egon Schmid
11b749e047
Corrected a mispelled word.
2000-07-09 14:14:51 +00:00
Stanislav Malyshev
ad271a2b33
Fix stupid bug.
2000-07-09 10:31:47 +00:00
Jouni Ahto
af343ca8a1
- Left debugging accidentally on...
2000-07-09 10:30:52 +00:00
Jouni Ahto
ccb216ce49
(ibase_blob_import) It's good to have link handle available, if you want to
...
use it...
(_php_ibase_exec) On error situations, only xsqlda was freed, not its
contents.
2000-07-09 10:27:41 +00:00
Jouni Ahto
a63013bfbf
- I must be getting demented. Forgot to add and register list destructor
...
function when creating new list entry type. Several other modifications
too related to this. Blobs still not working.
2000-07-09 07:30:15 +00:00
Sam Ruby
629bc67086
Reentrancy fixes
2000-07-09 04:16:31 +00:00
Egon Schmid
ee513d6ed5
Eliminated a typo.
2000-07-08 22:55:40 +00:00
Andrei Zmievski
885e40db05
@- Updated str_pad() to be able to pad on left/right/both sides. (Andrei)
2000-07-08 20:38:23 +00:00
Egon Schmid
2bd5ad3131
Uncomplete proto.
2000-07-08 19:31:16 +00:00
Egon Schmid
81f59f0949
Aren't there some function names conflicts?
2000-07-08 15:13:31 +00:00
Sam Ruby
ee36612cef
Add experimental APIs to get and clear the last exception
2000-07-08 10:35:50 +00:00
Chris Vandomelen
fd3d84ee52
* php4/ext/sockets.c, php4/ext/php_sockets.h:
...
Numerous changes. Many prototypes changed to be more like the
appropriate *NIX counterparts. Many new prototypes defining many
more advanced socket routines. Better AF_UNIX socket support.
bind() now recognizes the socket type and acts appropriately,
instead of needing the AF_* for the socket passed in.
# Something I'd like to write yet is proper signal() support. Unfortunately,
# the last time I tried, doing anything with the signal except ignoring it
# caused PHP to segfault. And to have decent socket support.. at least, from
# my experience, having signals is a good thing. Only problem.. to implement
# it, some changes would have to be made to the parser - since that is where
# the problems lie on handling asynchronous signals.
2000-07-08 01:50:34 +00:00
Jouni Ahto
1df6557b49
- Restore testing for Unicode charmap to what it was, it was working(?), this
...
shouldn't have any effect on other charmaps.
- Remove bogus message about not finding any Unicode mapping table.
2000-07-07 14:00:50 +00:00
Jouni Ahto
99c6e63e66
- Move away from encoding transaction number into link_id and use properly
...
resources instead for both.
- Some cleaning.
2000-07-07 12:06:05 +00:00
Stanislav Malyshev
4d41c8ba49
Fix fgets re-allocation (add +1 to accomondate ending \0).
2000-07-07 09:06:47 +00:00
Stanislav Malyshev
6ace712438
Fix add_assoc_string functions.
...
add_assoc_string(l) last parameter is "duplicate", not string length.
2000-07-07 08:47:11 +00:00
Uwe Steinmann
5bb19f7a9c
- still an error in my last patch (thanks Andi)
2000-07-06 14:56:52 +00:00
Andi Gutmans
3247b9a207
- Use #ifdef PHP_WIN32 to detect Windows
2000-07-06 14:47:02 +00:00
Thies C. Arntzen
2b70aaf12d
@- Fixed crash in gzopen(). (Thies)
...
# hmm - this should be rethought as one should be able to do
# gzopen("http://..")
2000-07-06 11:25:24 +00:00
Stig Bakken
81ded022e0
Applied DBMaker patch by Jeffrey Lin <clin@lion.syscom.com.tw>
2000-07-06 08:38:12 +00:00
Stig Bakken
6fd156b481
Applied multiple character set support diff by Rob Goodwin
...
@Multiple character set support in gdttf.c (Rob Goodwin)
2000-07-06 08:13:33 +00:00
Uwe Steinmann
e4eb807516
- last commit indroduced a new compile warning, should be fixed now
2000-07-06 05:36:54 +00:00
Uwe Steinmann
e1d9d149ab
- fixed compile problems on win32 (thanks to Gabriel Weisz <gweisz@l-speed.com>)
2000-07-06 05:30:06 +00:00
Jouni Ahto
344955d020
- Still one misssing zend_list_addref() and small fix in pg_close.
...
Fixes #5349 (but not the way reporter wants...).
# There's something in the way database_connect/close functions behave when
# implemented the way as in mysql module that I find a bit strange... because
# of that extra zend_list_addref() there to prevent default link disappearing
# if it's not assigned to variable, when it is, I guess its' reference count
# is at this point 2, I can do: open a db link and assign it to a variable,
# close the link and still use it afterwards.
2000-07-05 22:17:30 +00:00
Jouni Ahto
bcb7639fb3
- Test pg_encoding_to_char instead (it's existence in libpq means that
...
PostgreSQL was compiled with multibyte support and client encoding
functions do something meaningful). Fixes #5417 .
2000-07-05 21:28:16 +00:00
Zeev Suraski
37de6635b4
That's no bug, it's quite fine the way it is (if id is
...
set to -1, it's ignored, and the passed_id argument is used).
If you're experiencing trouble with mysql_close(), please give me a
reproducing script. If there's a bug, it's not as simple as that.
2000-07-05 20:41:06 +00:00
Uwe Steinmann
46a9e6c23f
- Discoverd possible bug. Could somebody have a look.
2000-07-05 19:48:24 +00:00
Uwe Steinmann
f6347145ff
- Link is now of type RESOURCE and not LONG
2000-07-05 19:47:43 +00:00
Danny Heijl
9f4c3eac9d
- Increase allowed number of columns from 256 to 384.
2000-07-05 19:37:45 +00:00
Egon Schmid
80f13900f7
Fixed some protos.
2000-07-05 18:33:32 +00:00
Andrei Zmievski
057264d6ed
Fix attribution on NEWS.
2000-07-05 15:18:26 +00:00
Uwe Steinmann
055c523702
- Support for pdflib 3.01
2000-07-05 14:30:51 +00:00
Jouni Ahto
ec62b2d1cd
- First try at getting interbase to compile and work in ZTS-mode. Compiles.
2000-07-05 04:21:00 +00:00
Sascha Schumann
277b0e15b8
(PHP session_destroy) return the error condition from storage handler's
...
session_destroy method.
Submitted by: juhl@eisenstein.dk
2000-07-05 01:26:22 +00:00
Egon Schmid
cd3973612b
Not every argument type is mixed.
2000-07-04 20:31:54 +00:00
Egon Schmid
f2457db5f3
Missed a two liner.
2000-07-04 19:41:31 +00:00
Mike Waychison
4604031b84
(PHP date) Added new 'O' format modifier for printing out the GMT Offset in
...
the same manner as emails have in their Date: header. The format
is similar to [+-]HHMM of offset.
@- Added new 'O' format modifier that will output the GMT offset as "[+-]HHMM"
@ (eg: Pacific time is -0700). This is useful for things such as Date: mail
@ headers.
# Um, this should have existed LONG time ago... much better than that gmt
# offset in seconds modifier :)
2000-07-04 16:16:32 +00:00
Sascha Schumann
f34c1fbee2
Make script work on POSIX sh
2000-07-04 05:15:33 +00:00
Zeev Suraski
510adfc2a2
Fix logic (thanks to Dean Bennett)
2000-07-03 22:04:10 +00:00
Danny Heijl
017cde1d11
- Informix driver : Changes for new "main" directory (win32 build)
2000-07-03 19:27:28 +00:00
Sam Ruby
bea9651995
Fix typo. Thanks to Adam Trachtenberg for noticing it!
2000-07-03 17:34:41 +00:00
Thies C. Arntzen
d58ff645ff
@- Fixed crash on OCI?Logon() failure. (thies)
2000-07-03 15:05:46 +00:00
Sam Ruby
1a6116c1f2
Add suggestions for dealing with difficult installations, based on feedback
...
from multiple people. The .bashrc suggestion was from Rael Dornfest.
2000-07-03 09:00:54 +00:00
Sascha Schumann
e24f505bf9
Identifiers which begin with an underscore are reserved. Changed
...
_PHP_SOCKETS_H to PHP_SOCKETS_H.
2000-07-03 06:45:07 +00:00
Rasmus Lerdorf
78ec5a54a0
Use AC_CHECK_HEADERS(unistd.h) instead
2000-07-03 05:25:00 +00:00
Chris Vandomelen
21abde5ca1
* Makefile.in
...
config.m4
php_sockets.h
sockets.c
sockets.php:
- Added files needed for Unix-style sockets support in PHP.
2000-07-03 04:35:57 +00:00
Sascha Schumann
cd754d7825
Rename macros which begin with underscore to appropiate macros. The general
...
rule is:
macro_name=`echo $filename|tr a-z A-Z|sed 's/\./_/'`
2000-07-03 00:41:19 +00:00
Sascha Schumann
16017f6d78
Change header protection macros to conform to standard.
...
Draft 3 of IEEE 1003.1 200x, "2.2 The Compilation Environment"
All identifiers that begin with an underscore and either an uppercase
letter or another underscore are always reserved for any use by the
implementation.
2000-07-02 23:46:51 +00:00
Stanislav Malyshev
4d1f03839c
Fix couple of crashes on error conditions
...
Make session_module_name really work
2000-07-02 16:27:39 +00:00
Andi Gutmans
b9037f7d69
- Make PHP compile again under Windows.
...
- Please be careful when you make such changes.
2000-07-02 15:12:34 +00:00
Kristian Köhntopp
0249137148
unlink() is not a function related to HAVE_SYMLINK. It is being
...
used to delete files (actually, in Unix, names of files, as in
Unix nobody has deleted a file, ever).
2000-07-02 13:41:26 +00:00
Rui Hirokawa
074f52f382
added new functions: pg_setclientencoding, pg_clientencoding in Postgres-7.0.
2000-07-02 08:59:44 +00:00
Sterling Hughes
b87f5e93a3
revert + note.
2000-07-01 22:39:27 +00:00
Sterling Hughes
a43572123c
- strdup -> estrdup
...
- check whether return_value array is initialized.
2000-07-01 21:34:45 +00:00
Andi Gutmans
50e9b1fe36
- Commit tiny patch to remove redundant code by Amit Schreiber.
2000-07-01 12:23:09 +00:00
Sterling Hughes
f5385608c1
stylistic modifications.
2000-07-01 01:43:37 +00:00
Sterling Hughes
8745b71fc6
definition.
2000-07-01 01:42:51 +00:00
Sterling Hughes
51370ab76c
@- Allow cybercash to compile as a DL module. (Sterling)
...
-Allow cybercash to compile as a DL module.
-Stylistic changes.
-Add RETURN_STRINGL + Z_*_PP macros
2000-07-01 01:37:11 +00:00
Sterling Hughes
857e80f5c6
Fix bug 4813. Fixed by greg@darkphoton.com
2000-06-30 22:44:20 +00:00
Sterling Hughes
7f7c14d9f5
@- Fixed the dbase_create function. (Sterling)
...
Fixed the dbase_create function.
2000-06-30 21:21:17 +00:00
Andrei Zmievski
1ca7f07d1a
Typo.
2000-06-30 19:40:42 +00:00
Dan Kalowsky
5f81cba573
updates for the SolidEE to work for 3.5 with PHP4.0.1. Still causes warning of "integer from pointer used without typecast" but does not seem to effect the final build any. have not found a correction yet. has not shown the SQLParamData bug either, but unknown if it is closed as i was unable to reproduce it.
...
basically fixed the config.m4 file, and added a #define of HAVE_SOLID_35, due to the solidee 3.5 vs all other solidee systems being drastically different. and solidtech providing no means for testing what version you are using.
does not include fixes for the linux users of glibc2 (automatically assumes libc5). temporary work around, link your /usr/local/solid/lib files from a scll2x23 or scll2x30 to a scllux30 or scllux23 name... suggestions to automate this are welcome.
2000-06-30 19:22:52 +00:00
Zeev Suraski
5660a80cfc
First Sybase-DB fix patch
2000-06-30 16:24:17 +00:00
Uwe Steinmann
33471de02a
- using more of the zend API
2000-06-30 09:46:39 +00:00
Sam Ruby
2d8b72535f
Fix garbage in warning strings, and IllegalArgumentException on
...
assignments which require data type conversions.
2000-06-30 04:48:46 +00:00
Zeev Suraski
7fb72c1726
Fixed opendir() thoroughly
2000-06-29 21:51:40 +00:00
Andi Gutmans
1dcee33866
- Get rid of absolute path
2000-06-29 16:08:02 +00:00
Andi Gutmans
bd8aeb5342
- Make pgsql compile on Windows.
2000-06-29 16:00:30 +00:00
Stanislav Malyshev
a6b31f04cd
Lowercase class name before checking for it
...
# I didn't really check it - have no WDDX
2000-06-29 14:50:23 +00:00
Stanislav Malyshev
740fc2f5de
Lowercase class name before looking for it
2000-06-29 14:49:23 +00:00
Kristian Köhntopp
02cad904ee
ezmlm_hash() function also available for php4.
2000-06-29 14:07:10 +00:00
Stanislav Malyshev
e8c219fef2
Make fgets not use maximal buffer length always, but shrink buffer
...
if it's too big.
2000-06-29 13:34:55 +00:00
Stanislav Malyshev
1d46433bfa
Try to fix #5271 - crash when $HTTP_SESSION_VARS is already defined
...
via "global"
# I'm not sure it's fastest fix possible, but at least it should remove the
# crash
2000-06-29 13:09:27 +00:00
Andrei Zmievski
49365eea79
Oops, didn't mean to commit that.
2000-06-28 20:09:04 +00:00
Andrei Zmievski
29e8e565c6
@- Added an optional parameter to preg_replace() that can be used to
...
@ specify how many replacements to make. (Andrei)
2000-06-28 20:07:26 +00:00
Joey Smith
b952c2c95a
Added note about creating PDF documents in memory.
...
This is not quite complete, due to a bug in pdflib 3.0.
2000-06-28 11:44:32 +00:00
Sascha Schumann
50595370e0
Cosmetic name change
2000-06-27 23:09:49 +00:00
Jouni Ahto
8b8f191e59
# Reverting as requested.
2000-06-27 22:25:27 +00:00
Jouni Ahto
1dfe76f5f6
- dba_[p]open accepts now a new parameter, which kind of database to create
...
(DBA_BTREE or DBA_HASH), if the handler is either 'db2' or 'db3' and
mode 'c' or 'n'. It is ignored if mode is 'c' and the db already exists.
# Asked on the list 4 1/2 hours ago if anyone's got to say something to this,
# no response, so I'm assuming it's ok. And yes, I did test this.
2000-06-27 21:36:26 +00:00
Zeev Suraski
c860633741
Fixed a bug in opendir(), which prevented readdir() from working properly if
...
the $dir argument wasn't explicitly specified
2000-06-27 18:44:30 +00:00
Jouni Ahto
9322b9d9a5
(pg_loreadall) Was using zval ** but forgot to convert to use
...
zend_get_parameters_ex(). Fixes #5244 .
2000-06-27 13:26:04 +00:00
Thies C. Arntzen
e834812a06
(fgetcsv) fixed leak
2000-06-27 09:55:52 +00:00
Thies C. Arntzen
9eb2c1efb1
@- Fixed a possible crash in the LDAP modify code. (Eric Kilfoil)
2000-06-27 09:28:05 +00:00
Zeev Suraski
52dd20177c
Removed 8KB limit on line length of the file() function
2000-06-26 20:52:04 +00:00
Zeev Suraski
33d4092590
- Disabled dl() when PHP is being used as a module inside a multithreaded web
...
server - it didn't work before, and caused weird results (Zeev)
2000-06-26 18:27:12 +00:00
Andi Gutmans
229b170885
- Don't depend on USE_PATH being equal to 1. Use #define value
2000-06-26 18:19:35 +00:00
Andrei Zmievski
4010b422dd
Separate plain name returned by php_sapi_module() and pretty name
...
used for output.
2000-06-26 18:05:55 +00:00
Egon Schmid
bcb308c522
Fixed some protos.
2000-06-26 17:57:46 +00:00
Zeev Suraski
90feef368b
- Please NEVER copy fopen_wrappers.c functions to modules. They are ugly
...
- enough as is and need cleaning up. Duplicating the mess makes things just
- worse and prevents bug fixes in the functions from propogating throughout
- PHP.
- This fix is untested so someone who uses zlib, please test it and report
- back.
2000-06-26 17:40:24 +00:00
Stanislav Malyshev
8fd20c3ec7
Make exec() fwork on Unix again
2000-06-26 17:12:38 +00:00
Jouni Ahto
92b963bb2e
- Fixed another missing test for existing functions in libgd.
...
# This too should go in 4.0.1 if just possible.
2000-06-26 15:23:52 +00:00
Kristian Köhntopp
2c32d120b2
Corrected a syntax error: Macro requires braces.
2000-06-26 14:55:38 +00:00
Kristian Köhntopp
c54fa54e36
Added function php_sapi_name() as written by Stefan Livieratos.
2000-06-26 14:43:37 +00:00
Jouni Ahto
29e5cf81bf
- Test gdImagePaletteCopy and define HAVE_LIBGD15 if found.
...
- s/HAVE_LIBGD13/HAVE_LIBGD15/ in ImagePaletteCopy, ImageCopyMerge.
# This really should go into 4.0.1 or we'll get a lot of complaints from
# people using older versions of gd (because it still supports gif).
2000-06-26 12:23:02 +00:00
Stefan Roehrich
ca7d7dbc01
Fix for configure not setting the library path.
2000-06-26 08:53:36 +00:00
Zeev Suraski
4afe6d0f60
Make the zlib DLL work with the stock zlib library
2000-06-25 19:00:38 +00:00
Zeev Suraski
7da710c060
- Update .dsp
...
- Add Win32 'spec' file
2000-06-25 18:54:55 +00:00
Zeev Suraski
1be47784eb
imap_sendmail.[ch] are missing... Whomever added them, please cvs add them and then
...
readd them to the project...
2000-06-25 18:29:05 +00:00
Egon Schmid
2deed22e5c
Now its a todo.
2000-06-25 17:55:13 +00:00
Zeev Suraski
10e0303620
Get rid of a warning
2000-06-25 17:54:52 +00:00
Zeev Suraski
a6b201c18c
PHPAPI is invalid here...
2000-06-25 17:54:14 +00:00
Egon Schmid
9f0eba9f10
It was Jouni: Prevent Hartmut finding this until it is actually implemented...
2000-06-25 17:21:04 +00:00
Zeev Suraski
6614e8edb4
- I wrote a long msg but the commit didn't go through.
...
- So here is the short version:
- a) Start moving to binary opens in Windows
- b) Give checkuid_mode() a small face lift including the fopen-wrappers.c
- The mode to this function should at least be a #define but that is for
- another day. Anyway this whole stuff should be given more face lifts in
- the future.
2000-06-25 17:02:59 +00:00
Egon Schmid
5f98304f55
The second array_merge() is now array_merge_recursive().
2000-06-25 13:21:37 +00:00
Egon Schmid
b0d0aff6a8
A droto is not a proto.
2000-06-25 10:59:42 +00:00
Sterling Hughes
5a241ca1af
Add version checking.
2000-06-25 03:26:49 +00:00
Jouni Ahto
3d5fd994e7
# Missing ;
2000-06-25 03:12:38 +00:00
Sterling Hughes
3d75fcae68
Proto.
2000-06-25 03:06:38 +00:00
Sterling Hughes
ff1b4be80c
@- Added the ImageCopyMerge, ImagePaletteCopy and ImageColorClosestHWB functions. (Sterling)
...
-Added the ImageCopyMerge, ImagePaletteCopy and ImageColorClosestHWB functions
2000-06-25 02:55:31 +00:00
Jouni Ahto
4dfdac7fba
- Added imagecreatefromwbmp().
...
- Fixed missing parenthesis when calling function get_active_function_name.
@- Added function imagecreatefromwbmp(). (Jouni)
2000-06-25 01:44:15 +00:00
Egon Schmid
ac523aa37e
Correct protos call_user_func() and call_user_method().
2000-06-24 18:46:17 +00:00
Sascha Schumann
66e4f71040
Revice winsnmp.c from repo-copy
2000-06-24 17:10:57 +00:00
Jouni Ahto
8f1ff9e85e
- Close cursor immediately before reuse so that calling ibase_free_result is
...
not necessary anymore. Seems to also prevent a a situation where at request
shutdown cursor was first dropped and tried to close it afterwards when
all the resources were not manually freed, and could occasionally segfault.
2000-06-24 16:24:29 +00:00
Sascha Schumann
5b315e1304
Get rid of files in the dl directory hierarchy.
...
PHP compiles without them under Unix, please test this also under Win32.
2000-06-24 15:41:46 +00:00
Sascha Schumann
0c03253635
Stop including dl/phpdl.h.
2000-06-24 15:36:04 +00:00
Zeev Suraski
d1a6a64675
- Make the output globals accessible from the outside world
...
- Fix Win32 compilation
2000-06-24 13:27:34 +00:00
Joey Smith
d47e4b8617
Fix for bug #3983
2000-06-24 09:01:51 +00:00
Hartmut Holzgraefe
a67157c2c2
<funcprototype> added to xml generation
2000-06-24 07:40:32 +00:00
Zeev Suraski
89efa59e98
Fix Win32 compilation
2000-06-23 23:13:35 +00:00
Egon Schmid
e9484d5c37
Added a description to get_browser().
2000-06-23 19:55:49 +00:00
Egon Schmid
d049d4a6bd
Fixed protos.
2000-06-23 17:37:49 +00:00
Egon Schmid
10249f2dfb
Typos.
2000-06-23 17:09:54 +00:00
Sascha Schumann
eadbbec532
Make use of incomplete class API
2000-06-23 17:00:47 +00:00
Sascha Schumann
1702067ac0
API change: Use zval * instead of zval **
2000-06-23 16:58:30 +00:00
Sascha Schumann
091dc3840d
Move the incomplete class stuff into its own file, so that we can
...
make it easier accessible to WDDX.
2000-06-23 16:46:04 +00:00
Sascha Schumann
2297f670b1
Change the serialization semantics to:
...
* if a certain object is of class INCOMPLETE_CLASS, the serializer will
lookup the previously stored original class name of that object, and
use that class name to serialize the object.
Change the deserialization semantics to:
* if the class of an object, which is to be instantiated, is not found
in the current context, the class name will be stored for later
retrieval, and the class of that object is changed to INCOMPLETE_CLASS.
All function calls, property gets, and property sets operating on an
object of class INCOMPLETE_CLASS cause the execution to halt and to
output an informative error message.
2000-06-23 16:21:31 +00:00
Thies C. Arntzen
cfa7028d66
@- added spliti() function. (Thies)
2000-06-23 11:48:02 +00:00
Hartmut Holzgraefe
7d3341bee3
debug-code removed
2000-06-23 05:49:32 +00:00
Hartmut Holzgraefe
234f029727
this change should solve all problems regarding trans_sid_id and
...
"empty" href urls like "", "#name", "?param=val" ...
2000-06-23 05:42:41 +00:00
Sascha Schumann
2456af596f
Remove some unnecessary CLS_FETCH()s.
2000-06-23 00:53:33 +00:00
Rasmus Lerdorf
9b9ab1793f
Fix spacing and say that --with-oracle uses the oci7 interface
2000-06-23 00:46:05 +00:00
Rasmus Lerdorf
777f8dccca
Add a crc32 checksum function - used by the udm_search search engine
...
and currently run through a system call. This will speed up the udm_search
php frontend significantly.
@ Add a crc32 checksum function - used by the udm_search search engine
@ and currently run through a system call. This will speed up the udm_search
@ php frontend significantly. (Rasmus)
2000-06-21 22:51:29 +00:00
Sascha Schumann
9d640cc990
Revert earlier commit.
2000-06-21 18:35:54 +00:00
Thies C. Arntzen
bc8d0782dd
unserialize() and wddx_deserialize() now create an empty class if they enconter
...
a class which's code is yet unknown. this makes sessionized data retain the
class name of objects even if you visited pages that don't have the classes
code available.
2000-06-21 18:22:22 +00:00
Zeev Suraski
35e3efbd41
Warn about using the built-in MySQL library
2000-06-20 22:12:22 +00:00
Zeev Suraski
d57210fb0b
This is no longer needed
2000-06-20 21:50:57 +00:00
Ben Mansell
6a449f2b02
Initialise lcg_globals correctly
...
# Fixes bug 5075
2000-06-20 11:35:12 +00:00
Egon Schmid
772e4fa41a
Canged back to uppercase. Are all the backslashes on line 69 to 111 really needed?
2000-06-19 22:12:57 +00:00
Sascha Schumann
8741aa825d
Unbreak imap by fixing the assignment
2000-06-19 21:35:01 +00:00
Uwe Steinmann
ffbb3c8bd8
- minor changes
2000-06-19 19:46:24 +00:00
Uwe Steinmann
c454a4156e
- added prototype
2000-06-19 19:45:53 +00:00
Andrei Zmievski
ff3b0c84a3
Call __wakeup() after all the instance variables are initialized.
2000-06-19 14:04:57 +00:00
Thies C. Arntzen
f8c0f76881
kill warinig
2000-06-19 12:56:30 +00:00
Thies C. Arntzen
8c9e222689
good morning, thies!
2000-06-19 09:27:17 +00:00
Thies C. Arntzen
388195de8b
some adjustments to the sysliblist
...
# still needs some fixing - sascha?
2000-06-19 09:16:58 +00:00
Thies C. Arntzen
520602ae4e
(fsockopen) fix #5090
2000-06-19 09:02:48 +00:00
Andi Gutmans
b831ca7d64
- Fixed problem in imap_fetch_overview
2000-06-19 04:33:40 +00:00
Andi Gutmans
baadf90fb5
- Nuke warning
2000-06-18 20:09:17 +00:00
Egon Schmid
c3cc31c745
No response from Sascha so changed to lowercase.
2000-06-18 20:01:45 +00:00
Egon Schmid
dd43255b27
More protos.
2000-06-18 19:18:30 +00:00
Jouni Ahto
98087ab562
- Fix return type in proto once again...
2000-06-18 17:36:31 +00:00
Egon Schmid
6e815b76ea
Some protos fixed.
2000-06-18 16:31:52 +00:00
Jouni Ahto
153ef54498
- Fix return type in proto.
2000-06-18 16:07:06 +00:00
Thies C. Arntzen
5b1f7bc8ac
(implode), (strtr) no longer touch the internal array-pointer.
2000-06-18 10:37:01 +00:00
Thies C. Arntzen
405d07de96
(serialize) no longer touches the internal array-pointer
2000-06-18 10:25:39 +00:00
Andrei Zmievski
10b5f74855
One more place.
2000-06-18 03:45:08 +00:00
Andrei Zmievski
789aa48043
@- Modified in_array() to not touch array pointer. (Andrei)
2000-06-18 03:43:58 +00:00
Zeev Suraski
da66298659
- Fix a couple of wranings in the FTP code and in parsedate.y
...
- Be safer with LC_MESSAGES
- Align with the latest Zend change in call_user_function_ex()
2000-06-17 16:49:03 +00:00
Andrei Zmievski
6e1dee8c1e
Have to use zval_ptr_dtor() on values returned from user functions.
2000-06-17 15:53:33 +00:00
Andi Gutmans
1e5a405c5c
- Make Windows compile
...
- Windows doesn't support LC_MESSAGES
2000-06-17 14:48:03 +00:00
Sascha Schumann
9b509a3bad
Make use of the new macros PHP_EVAL_LIBLINE and PHP_EVAL_INCLINE
2000-06-17 10:51:26 +00:00
Jouni Ahto
3fb9b8f42d
- Missed one if() and cosmetic changes.
2000-06-17 10:10:20 +00:00
Hartmut Holzgraefe
1d92510032
changed default cell alignment to "left" (see bug id #5048 )
2000-06-17 07:08:53 +00:00
Hartmut Holzgraefe
34cc1de229
setlocale didn't recognize LC_MESSAGES (BUG ID#3957)
2000-06-17 06:25:47 +00:00
Andrei Zmievski
39aa0c4d3a
Just to make extra sure.
2000-06-16 19:55:51 +00:00
Andrei Zmievski
f14961b005
Plug a memory leak: retval_ptr should be destroyed.
2000-06-16 19:53:06 +00:00
Andrei Zmievski
fa9b168161
@- Enhanced WDDX functions to call __sleep() and __wakeup() when working on
...
@ objects. (Andrei)
2000-06-16 19:50:45 +00:00
Hartmut Holzgraefe
d19a44a6aa
typo fix
2000-06-16 18:46:57 +00:00
Hartmut Holzgraefe
95ca9db755
retro-patch from // comments, theese where private experimental changes
2000-06-16 18:42:56 +00:00
Andrei Zmievski
71d4206074
Typo.
2000-06-16 18:36:30 +00:00
Hartmut Holzgraefe
87a491d7b6
C++ // comments are evil ...
2000-06-16 18:24:02 +00:00
Egon Schmid
c6ddfd4440
Protos looks now equal in both versions.
2000-06-16 18:14:51 +00:00
Thies C. Arntzen
43d91224f6
@- Changed WDDX to serialize arrays as structs only if needed. (Thies)
2000-06-16 14:11:01 +00:00
Jouni Ahto
f5888acfba
- Forgot to test check for errors in two places.
2000-06-16 10:09:12 +00:00
Zeev Suraski
f29eae1302
Move timeout code to Zend, allow Win32 timeouts
...
@- Implemented max_execution_time under Win32 (Zeev)
2000-06-16 01:53:35 +00:00
Andi Gutmans
2987d5216e
- More #if WIN32|WINNT -> #ifdef PHP_WIN32 conversions
2000-06-15 23:45:05 +00:00
Andrei Zmievski
e48192fbb5
Use hardcoded 3600 seconds offset instead of altzone which may not be present
...
on all systems.
2000-06-15 22:23:08 +00:00
Brian Moon
e38d7accb7
set_file_buffer was not being exported. This is now fixed.
2000-06-15 19:02:02 +00:00
Andrei Zmievski
59b455cf2f
@- Updated strtotime() to handle many more formats. It now has complete
...
@ feature parity with GNU date command. (Andrei)
2000-06-15 16:24:10 +00:00
Thies C. Arntzen
bd06de9ae9
fixed typo
2000-06-15 14:13:53 +00:00
Uwe Steinmann
785fd93311
- fixed problems with missing attributes due to a change
...
in libxml 2.0.0
2000-06-15 07:05:38 +00:00
Chuck Hagenbuch
2db5dc37c8
patch from jtaskine@hit.fi - add deleted info to imap_mailboxmsginfo() and
...
fix some prototype info.
2000-06-15 03:02:36 +00:00
Jouni Ahto
495a957c99
- Fixed incorrect code generated when all parameters are optional.
...
- Fixed handling of grouped optional parameters.
- Added an option to generate xml documentation.
- Added an option not to be nice and helpful and create all kinds
of comments and testing functions.
- Added on option to create function stubs only.
- Added options --assing-params and --string-lens that change
the generated code.
- Updated documentation.
2000-06-15 01:57:23 +00:00
Hartmut Holzgraefe
9ded807a20
return FALSE from strftime on negative timestamp values
...
they do not make sense anyway and seem to crash win2k
2000-06-14 22:11:10 +00:00
Rasmus Lerdorf
f38e760c39
Refine checkdate() fix to accept numeric strings and floating point as well
2000-06-14 20:31:31 +00:00
Rasmus Lerdorf
0b5ca3f7d5
Require the year arg to checkdate to be an integer - fix for bug #5034
...
@Require the year arg to checkdate to be an integer (Rasmus)
2000-06-14 16:35:48 +00:00
Thies C. Arntzen
4292f89345
no c++ comments, please
2000-06-14 12:28:21 +00:00
Jouni Ahto
3ca7eb7485
# Prevent Hartmut finding this until it is actually implemented...
2000-06-14 05:11:16 +00:00
Sam Ruby
f775d18b2c
Export the necessary functions to enable servlet support to be subclassed
...
This is in preparation for xml-cocoon support
2000-06-14 01:41:13 +00:00
Stig Venaas
a2bdc522f5
Also need to 0-terminate when adding/modifying an array of values.
2000-06-13 19:50:05 +00:00
Stig Venaas
aa5c0ffcbf
Think have to 0-terminate mod_values strings, got trailing garbage,
...
this fixes bug #5001 I think.
2000-06-13 19:35:56 +00:00
Andrei Zmievski
e5360259a4
We should define symlink functions only when HAVE_SYMLINK is defined.
...
Otherwise, they should be aliased as not available.
2000-06-13 18:07:19 +00:00
Sascha Schumann
3ce3e9ba27
Include <math.h> in php_math.h. This is necessary, because we might
...
otherwise redefine system macros.
2000-06-13 16:35:40 +00:00
Sascha Schumann
66175ef9fe
Delete phpdir.h. Someone moved this to php_dir.h in the past and
...
forgot to delete it.
2000-06-13 16:34:18 +00:00
Sascha Schumann
d1c1e99d98
Rename phpmath.h to php_math.h.
2000-06-13 16:31:57 +00:00
Thies C. Arntzen
7dca298b21
copy() now creates the destination file with mode 0777 again. this is
...
the way it used to be in PHP 3
2000-06-13 15:48:38 +00:00
Jim Jagielski
981e1ae7b8
O_APPEND breaks 'c' for DBM files - this is handled
...
correctly by PHP3, so it's almost a forward'' port :)
2000-06-13 14:37:34 +00:00
Sascha Schumann
6caf633cf7
Proper casts
2000-06-13 09:17:06 +00:00
Sascha Schumann
5bbc4114f1
Remove extra cast. ch' is already of type
char *'.
...
This unbreaks the build with xlc on AIX.
2000-06-13 09:09:33 +00:00
Sascha Schumann
165361a515
Remove single ;
2000-06-13 09:06:31 +00:00
Andrei Zmievski
c85390a691
(php_math_number_format) Simplifying the logic also fixed bugs #4954
...
and #4998 .
2000-06-13 04:31:02 +00:00
Chuck Hagenbuch
d6a55b532c
Check more locations. Submitted by Anil Madhavapeddy <anil@recoil.org>
2000-06-13 00:57:58 +00:00
Zeev Suraski
1f0049158a
@- Fixed an initialization problem in the MS-SQL problem that could cause
...
@ a crash in mssql_query() (Zeev)
2000-06-12 21:39:51 +00:00
Zeev Suraski
6bbf0105af
Fix a bug in extension_dir, where PG(extension_dir) is not yet initialized by the time php_dl() is called
2000-06-12 21:01:03 +00:00
Frank M. Kromann
8cae0bf725
making zlib module compile on win32 with new directory structure
2000-06-12 20:34:35 +00:00
Frank M. Kromann
16380b0155
making oracle module compile on win32 with new directory structure
2000-06-12 20:34:17 +00:00
Frank M. Kromann
3afe0e2ed1
making oci8 module compile on win32 with new directory structure
2000-06-12 20:33:55 +00:00
Frank M. Kromann
0d3085944f
making ldap module compile on win32 with new directory structure
2000-06-12 20:33:32 +00:00
Frank M. Kromann
d973e2c25b
making java module compile on win32 with new directory structure
2000-06-12 20:33:12 +00:00
Frank M. Kromann
a52af6cd7c
making imap module compile on win32 with new directory structure
2000-06-12 20:32:52 +00:00
Frank M. Kromann
66a172c9b4
making ftp module compile on win32 with new directory structure
2000-06-12 20:32:23 +00:00
Frank M. Kromann
618c98179b
making exif module compile on win32 with new directory structure
2000-06-12 20:31:45 +00:00
Frank M. Kromann
28b8d17c28
making calendar module compile on win32 with new directory structure
2000-06-12 20:31:03 +00:00
Zeev Suraski
fce92e3ca2
Avoid using E_CORE_* errorlevels in any place which is not in the global startup sequence
2000-06-12 20:22:17 +00:00
Frank M. Kromann
2c5c26f205
making MSSQL module compile with new directory structure
2000-06-12 20:16:07 +00:00
Andrei Zmievski
7ef638aa30
@- Upgraded PCRE to version 3.2 and fixed a bug when anchored pattern
...
@ matched an empty string. (Andrei)
2000-06-12 19:55:58 +00:00
Andrei Zmievski
318a59d302
Document change.
2000-06-12 19:41:33 +00:00
Andi Gutmans
719d995a9d
- On UNIX support popen() which works with current working directory
...
- when in VIRTUAL_DIR mode.
2000-06-12 19:39:04 +00:00
Andrei Zmievski
5d51452545
Make gdttf.c work with virtual dir support.
2000-06-12 19:13:21 +00:00
Andrei Zmievski
ab99eb59fb
(PHP str_pad) Terminate string with a null.
2000-06-12 16:06:27 +00:00
Egon Schmid
e465e94a12
Fixed a proto.
2000-06-12 15:17:08 +00:00
Egon Schmid
1769d69ca3
Fixed protos.
2000-06-12 14:44:16 +00:00