Commit Graph

92 Commits

Author SHA1 Message Date
Jani Taskinen
c20a11231c - Nuke unncessary checks already done elsewhere (ZEND)
- Use the correct type header files if available. (win32 does what it does)
- inline definition is in php_config.h, so include it always.
2008-08-25 13:42:46 +00:00
Jani Taskinen
d3b358cf3d - Nuke duplicate macro call 2008-08-25 12:14:48 +00:00
Arnaud Le Blanc
ceb0e0ee64 Fix build on solaris 2008-08-23 13:57:01 +00:00
Pierre Joye
5ba946926f - #45430, windows implementation of crypt is not TS
- add Blowfish (using implementation from Solar Designer <solar at openwal dot com>) and extended DES support
- Make crypt features portable:
  - if no crypt_r, php's implemetation is used (all algo and TS), php can't be used with unsafe crypt anymore
  - if one algo is missing, php's implemetation is used
  - Windows always use php's implementation
- removed old code in windows/
2008-07-28 11:34:53 +00:00
Jani Taskinen
44cbb46246 - Added common getopt implementation to core.
- Added long-option feature to getopt().
- Made getopt() available on win32 systems.
Patch by: David Soria Parra <dsp@php.net>
[DOC]: These changes will be available from 5.3+
2007-10-01 12:32:39 +00:00
Jani Taskinen
41c6375840 - Moved the old regex functions to it's own extension: ereg 2007-07-15 19:50:07 +00:00
Jani Taskinen
518d6ff11b - Nuke extra AC_MSG_CHECKING 2007-07-11 11:55:46 +00:00
Jani Taskinen
82dc2c505f - Cleanup, nuked some unnecessary macros. 2007-07-11 10:27:16 +00:00
Antony Dovgal
8bb1361f23 this fixes segfault in strptime() on 64bit Linuxes, caused by the missing declaration
unfortunately defining _XOPEN_SOURCE breaks the build (some odd dependencies in glibc headers) and this seems to be the best solution
2006-08-24 11:05:38 +00:00
Derick Rethans
648e20c1b6 - New implementation of the sunset algorithm. Fixes bugs #33789, #33671, #32820
and #30937.
#- Didn't add it to news yet, as we'll merge this to PHP 5.1.x (just need to
#  wait for Ilia to approve it for 5.1.2).
2006-01-04 12:57:04 +00:00
Antony Dovgal
ddf87742ec change -o to || to be more portable 2005-12-22 11:02:51 +00:00
foobar
bcade7ced4 - Fixed header installing under phpize builds 2005-11-21 23:07:36 +00:00
Derick Rethans
3cdc895213 - Added backward compability wrapper "php_parse_date()".
- Changed WDDX extension to use new date parsing code.
- Removed all remnants to the old parser.
#- I hope that I didn't break the .dsp's...
2005-06-19 22:15:27 +00:00
foobar
a20383ba06 - Unify the "configure --help" texts 2005-05-29 23:17:16 +00:00
foobar
69eec3f3b9 MFB_4_3: Quote macro names in AC_DEFUN() 2004-12-30 07:08:39 +00:00
Joe Orton
0f858fc744 Make the "rounding fuzz" check work again with gcc 3.3 and later,
fixing the bug24142 test.
2004-11-09 15:58:16 +00:00
foobar
72b2d1c9ee MFB: - Fixed bug #30205 (Missing <unistd.h> in crypt() configure test). 2004-09-28 20:42:56 +00:00
Marcus Boerger
b0d27f9e85 - Decouple NAN and INF 2004-05-10 07:23:38 +00:00
Marcus Boerger
8fd505f4b4 Add a comment why it is in 2004-04-04 12:31:12 +00:00
Ard Biesheuvel
e7eccf10e6 That should do it 2004-04-03 16:38:10 +00:00
Ard Biesheuvel
5367158046 MFB: more elaborate HUGE_VAL test 2004-04-03 10:42:42 +00:00
Marcus Boerger
dddf796edf NAN==NAN doest work (Ard) 2004-03-29 23:08:36 +00:00
Marcus Boerger
8b15b46aa8 Found a NAN/INF solution that should be portable everywhere(?) (Ard,Marcus) 2004-03-29 18:51:47 +00:00
Marcus Boerger
e4a6365181 Move defines to proper location 2004-03-27 01:41:32 +00:00
Marcus Boerger
bc0373b880 Portable solution for bug #27646 that works correct on Windows, too 2004-03-27 00:50:41 +00:00
Ilia Alshanetsky
17b9b2dc85 Added uuencode() & uudecode() functions. 2003-10-27 05:35:41 +00:00
Moriyoshi Koizumi
10961114ad Fix autoconf(2.13) build 2003-10-04 12:23:11 +00:00
Moriyoshi Koizumi
921e5b47c5 Fix fgetcsv() to correctly support international characters
# note: mblen() is not a mbstring function, but is part of the ANSI standard
# which is even supported by Microsoft's libc.
2003-10-04 02:51:19 +00:00
Sara Golemon
0be65c49d3 Introducing php_url_encode_hash_ex() internal function
and http_build_query() userspace function.
2003-09-06 00:35:21 +00:00
Marcus Boerger
66b910e87c Bugfix #24142, part 2 2003-08-09 01:12:41 +00:00
foobar
8dca948cf9 - Moved the PEAR check after the extensions.
. added checks for the dependancies PEAR has.
- Moved PHP_REGEX checks to ext/standard/config.m4

# If someone knows the reason for PHP_REGEX macro being where it was,
# please tell..
2003-06-30 16:33:50 +00:00
Sebastian Bergmann
10ec176f69 Buckle your seatbelt, Dorothy, 'cause Aggregation is going bye-bye. 2003-06-28 05:38:52 +00:00
foobar
89e2d04ab9 Fix the regex issues with apache2handler 2003-06-05 04:14:43 +00:00
Wez Furlong
0cec0bd8a9 streams.c -> streamsfuncs.c
# argh!
2003-02-27 22:48:13 +00:00
Wez Furlong
5def83df0b Move streams specific stuff from ext/standard/file.c -> ext/standard/streams.c
Move win32 select implementation into win32/.
Will update win32 build in a moment.
2003-02-27 22:23:39 +00:00
foobar
28f4cb18ec nice() is part of libc, use AC_CHECK_FUNCS instead 2003-02-18 03:22:47 +00:00
Ilia Alshanetsky
0fd1009fcc Added nice() function, which allows changing of priority for the current
process.
2003-02-18 01:07:57 +00:00
Moshe Doron
ea8d11cc87 @ new idate() function.
@ new date_sunrise() function.
@ new date_sunset() function.
#since i have no premission updating the win32 project file, i'm sending patch on the list.
2003-02-16 22:28:01 +00:00
foobar
f9f4644a84 - Don't add libcrypt if the crypt() function is provided already.
(by libc, like in HP-UX)
2003-02-14 01:27:15 +00:00
Wez Furlong
b81ea669a0 cli should be allowed to have the chroot() function. 2003-02-13 13:35:55 +00:00
Anil Madhavapeddy
dea44dfc9a typo 2003-01-22 20:41:28 +00:00
Wez Furlong
1a314027d3 - Move proc_open code to a source file of it's own.
- Tidy up that netware mess by performing a configure check which will
  define the symbol PHP_CAN_SUPPORT_PROC_OPEN if PHP can support proc_open.
- Protected the proc_open specific code with #ifdef PHP_CAN_SUPPORT_PROC_OPEN
  so that user-space scripts can use function_exists and react accordingly.

** Heads Up Win32: You need to add ext/standard/proc_open.c to the DSP and
** #define PHP_CAN_SUPPORT_PROC_OPEN in the w32 config header.
2003-01-15 16:29:00 +00:00
Wez Furlong
f58628ca4d Move rot13 filter into a new filters.c source file.
Tidy up some other filter related code.

# win32 -> someone please add user_filters.c and filters.c to the .dsp
2003-01-01 11:04:44 +00:00
Wez Furlong
350b0bbeac Implement user-space filters.
See ext/standard/tests/file/userfilters.phpt for an example of their use.
2002-12-31 18:39:36 +00:00
Marcus Boerger
3ca6344e57 -rename checkdnsrr to dns_check_record, keep old name as alias
-rename getmxrr to dns_get_mx, keep old name as alias
-added dns_get_record
@Added dns_get_record() which allows to retrieve DNS information about
@a host. (Marcus, Pollita)
2002-11-19 02:34:13 +00:00
Hartmut Holzgraefe
d8837750de getopt with long options reverted to configure problems
(may find the wrong getopt.h so needed structures are not defined :(   )
2002-10-30 15:11:11 +00:00
Hartmut Holzgraefe
0e28eaf550 trying to fix #20063 2002-10-24 20:04:16 +00:00
Sascha Schumann
6bf422d62e Make PHP compile out-of-the-box with uClibc 2002-10-24 12:21:07 +00:00
foobar
f93096ecb6 Removed tabs and combined those multiple AC_CHECK_FUNCS calls to one. 2002-10-21 23:41:38 +00:00
Hartmut Holzgraefe
b67b00efcd getopt() now supports long options on platforms that have getopt_long()
getopt() now working independant of register_argc_argv settings
2002-10-21 16:07:21 +00:00