Commit Graph

68 Commits

Author SHA1 Message Date
Jani Taskinen
41c6375840 - Moved the old regex functions to it's own extension: ereg 2007-07-15 19:50:07 +00:00
Stanislav Malyshev
dbfe5d3173 fix build on msvc 8 2007-05-29 19:44:24 +00:00
Rob Richards
c88e2b7618 MFB: add file locking under windows
change win build to use common clock compat files
2007-04-18 09:48:07 +00:00
Dmitry Stogov
2908322c14 WIN64 support 2007-04-16 09:43:53 +00:00
Dmitry Stogov
0e0cc2ef52 Initial WIN64 support 2007-04-10 06:22:45 +00:00
Marcus Boerger
ebf98e261a - Add glob stream to win build 2007-03-03 21:40:23 +00:00
Dmitry Stogov
a7c536fbcd Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make a
ny significant slowdown, but incrise maintainability a lot. Note that the setting of memory_limit wasn't changes (neither in main/main.c nor in php.ini) and it
still set to 16M.
2006-12-20 10:50:46 +00:00
Edin Kadribasic
d39271c01c MFB: Enable full build with newer Microsoft compilers 2006-12-19 10:26:44 +00:00
Dmitry Stogov
08f035bbac Removed unused zend_mm.* 2006-12-05 08:08:33 +00:00
Dmitry Stogov
6d7989a23d Fixed VC2005 support 2006-11-14 14:20:41 +00:00
Dmitry Stogov
8983879bdd Fixed problem with spaces in libpath 2006-11-14 14:11:05 +00:00
Dmitry Stogov
dc34d34230 Simplify the code base as this getpwd() was used only once 2006-11-10 09:56:37 +00:00
Dmitry Stogov
6687f0377b New memory manager 2006-07-18 09:08:06 +00:00
Frank M. Kromann
611d8b7cfa Revert patch for pdb files. No need to have it twice! 2006-04-29 14:33:35 +00:00
Frank M. Kromann
9c0b090705 Add new configure option --enable-pdb-files
This will generate .pdb files for debugging
2006-04-29 06:24:21 +00:00
Sara Golemon
30a2bd1d11 Another (and hopefully last) major streams commit.
This moves unicode conversion to the filter layer
(rather than at the lower streams layer)
unicode_filter.c has been moved from ext/unicode to main/streams
as it's an integral part of the streams unicode conversion process.

There are now three ways to set encoding on a stream:

(1) By context
$ctx = stream_context_create(NULL,array('encoding'=>'latin1'));
$fp = fopen('somefile', 'r+t', false, $ctx);

(2) By stream_encoding()
$fp = fopen('somefile', 'r+');
stream_encoding($fp, 'latin1');

(3) By filter
$fp = fopen('somefile', 'r+');
stream_filter_append($fp, 'unicode.from.latin1', STREAM_FILTER_READ);
stream_filter_append($fp, 'unicode.to.latin1', STREAM_FILTER_WRITE);

Note: Methods 1 and 2 are convenience wrappers around method 3.
2006-03-29 01:20:43 +00:00
Ilia Alshanetsky
27e175eef0 So long safe_mode mode.
Also removed the magic_quotes configure option, no longer relevant since
the magic is gone :-).
2006-03-08 14:41:45 +00:00
Frank M. Kromann
720938f4ad /Gz and /RTC1 is for debug builds 2005-11-22 00:29:30 +00:00
Sebastian Bergmann
ebd645e438 MFB: Use /RTC1 instead of /GZ for MS VisualStudio 2005. 2005-11-20 17:03:58 +00:00
Rob Richards
459b318a56 fix configure - reflection is its own extension 2005-11-18 02:50:46 +00:00
Edin Kadribasic
0a4395a360 MFB: Fix building of extensions that inlcude extname/header.h 2005-09-22 13:18:14 +00:00
Wez Furlong
c2d2151654 make the icu library detection more friendly.
Also note that we can only probe for libraries after we've set up the
implicit php_build path.
2005-08-13 02:47:24 +00:00
Wez Furlong
4375c3fd7a /GB option is the default; remove it.
Add compiler version checks, as vs.net 2005 has dropped support for /YX and /GB
options, and deprecated ANSI stdio (in favour of more secure, non-standard
versions).
2005-08-12 20:05:19 +00:00
Edin Kadribasic
95e4b75811 Added --enable-static-icu / --disable-static-icu windows configure
options that allow you to pick weather you want to link against static
or DLL version of the ICU library.
2005-08-12 11:37:44 +00:00
foobar
45ce16454f Not used 2005-08-12 00:08:28 +00:00
Andrei Zmievski
264cec8be6 Unicode support. 2005-08-11 23:36:07 +00:00
Frank M. Kromann
f3030472de avoid version changes for future versions 2005-08-11 03:21:50 +00:00
Frank M. Kromann
64433c46ca rename dll's to php6 2005-08-11 03:16:08 +00:00
Wez Furlong
fc92678b05 add --enable-memory-manager switch for win32 too 2005-06-09 13:09:04 +00:00
Wez Furlong
664faf8411 Add option for placing the big binaries outside of the source tree.
I find that having Debug_TS sitting in the source tree makes cvs seem much slower.
2005-06-05 01:57:03 +00:00
Wez Furlong
2a8107ce69 tweaks for a recent addition to cygwin 2005-06-05 01:39:07 +00:00
Edin Kadribasic
dec1c86ab6 Added --enable-debug-pack which will create a zip file with *.pdb debug
symbol files. Could be used to allow windows users to use free Microsoft
debugging tools to generate useful backtraces.

Debug tools can be found at:
http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx

CLAGS used described in:
http://support.microsoft.com/default.aspx?scid=kb;en-us;291585

Only tested on VC 6.0.
2005-02-25 00:20:19 +00:00
Edin Kadribasic
8ff4a1002c Really disable zend multibyte by default. mbstring is using #ifdef all over the place so defining to '0' doesn't help much 2005-02-15 13:57:49 +00:00
Rui Hirokawa
c7ebef660a added --enable-zend-multibute for win32 2005-02-13 13:03:03 +00:00
Frank M. Kromann
e1e29cefc4 Adding php_sprintf.c to Win32 build 2004-11-15 18:27:10 +00:00
Edin Kadribasic
34e4dae95c Added zend_strtod.c to the new build 2004-11-04 02:06:04 +00:00
Wez Furlong
ff4e970fb1 Make new poll stuff work on win32 (and still be safe on unix) 2004-09-17 14:36:55 +00:00
Wez Furlong
99e290f882 Fix for Bug #24189: possibly unsafe select(2) usage.
We avoid the problem by using poll(2).

On systems without poll(2) (older bsd-ish systems, and win32), we emulate
poll(2) using select(2) and check for valid descriptors before attempting
to access them via the descriptor sets.

If an out-of-range descriptor is detected, an E_WARNING is raised suggesting
that PHP should be recompiled with a larger FD_SETSIZE (and also with a
suggested value).

Most uses of select(2) in the source are to poll a single descriptor, so
a couple of handy wrapper functions have been added to make this easier.

A configure option --enable-fd-setsize has been added to both the unix and
win32 builds; on unix we default to 16384 and on windows we default to 256.
Windows FD_SETSIZE imposes a limit on the maximum number of descriptors that
can be select()ed at once, whereas the unix FD_SETSIZE limit is based on the
highest numbered descriptor; 256 should be plenty for PHP scripts under windows
(the default OS setting is 64).

The win32 specific parts are untested; will do that now.
2004-09-17 12:44:56 +00:00
Wez Furlong
bfbd57905e Explicitly check PATH before cygwin for mc.exe, as we want MS message compiler,
not GNU Midnight Commander.
2004-08-03 01:03:32 +00:00
Wez Furlong
8085f48575 Enable usleep under win32 2004-08-01 00:29:50 +00:00
Wez Furlong
2c9d87c2f6 Fix bug #8314: sane syslog output to the WinNT event log.
Big fat note: if you're building from a .dsp, you need to replicate
the custom build step that uses MC to generate the message catalog

To make use of this fix, you need to register the event source; running "nmake
install" will handle this for you (if you also build the win32std extension
from pecl).

I'll arrange with Phil to have the installer handle this registration too.
2004-07-31 23:59:46 +00:00
Wez Furlong
cde7423cde Misc. win32 thread safety fixes. 2004-07-29 02:59:44 +00:00
Wez Furlong
6571a32c87 Add --enable-memory-limit configure option (defaults to off) 2004-05-13 12:14:56 +00:00
Wez Furlong
fed6471bb7 Fix build; line continuation character should be the very last character
on a line, otherwise things b0rk.
2004-02-12 11:55:16 +00:00
Edin Kadribasic
5979799de0 Added zend_exceptions.c to the build 2004-02-12 10:53:08 +00:00
foobar
f4983c0d3f - Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5 2004-01-17 13:00:38 +00:00
Wez Furlong
9720a31bd6 A more general check for dirs under Release or Debug. 2003-12-23 17:20:50 +00:00
Wez Furlong
5d5f2619b3 Proper check for resolv.lib 2003-12-23 16:01:41 +00:00
Wez Furlong
b8978cad26 Better implementation of the prefix thing 2003-12-23 12:40:41 +00:00
Frank M. Kromann
835f6beab8 Adding install target that follows the prefix 2003-12-23 05:43:19 +00:00