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
Pierre Joye
1da1e3e719
- fix EXT_FOO_SHARED usage as dep mgt broke it (one more hack but we can clean them after alpha)
2008-07-25 12:40:13 +00:00
Pierre Joye
7db72f36f9
- MFB: sync changes with 5.3...
2008-07-21 17:00:34 +00:00
Steph Fox
9a7b2f0b9f
MFH project file generation + a few small fixes made along the way
2008-07-21 09:56:37 +00:00
Kalle Sommer Nielsen
afb7bea13c
MFB
2008-07-20 20:18:28 +00:00
Pierre Joye
367b22b84b
- CS/WS
2008-07-17 17:31:15 +00:00
Pierre Joye
57f6647ce1
- MFB: wrong bracket position while merging
2008-07-13 09:34:46 +00:00
Pierre Joye
620b9b0341
- support for new naming
2008-07-12 23:42:09 +00:00
Scott MacVicar
229fffff03
Fix windows build
2008-07-09 10:39:11 +00:00
Pierre Joye
5838590f16
- move common functions to confutil
...
- MFB: allow to disable the summary (and move test in the function)
2008-07-07 13:48:23 +00:00
Pierre Joye
453e502236
- MFB: correctly test the VCVERS (four digits now)
2008-07-06 09:56:01 +00:00
Pierre Joye
ddf346adbe
- improve detection of VC version and summary (2k2 and 2k3 are 1300 and resp. 1310) (Thx Marcus)
2008-07-05 19:52:45 +00:00
Rob Richards
d5aa1b02f1
- Removed ntest and utest
...
- Removed -U flag to `make test' just to test once each test
2008-07-04 11:09:06 +00:00
Pierre Joye
35930ac54b
- MFB: compiler version and architecture detections
2008-07-02 20:55:33 +00:00
Pierre Joye
d5eecce990
- MFB: Add summary info
2008-07-02 20:54:10 +00:00
Pierre Joye
09a8217c98
- MFB: improve ADD_EXTENSION_DEP detection
2008-07-02 20:53:36 +00:00
Matt Wilmas
da8845b626
MFB: The "Steph special" :-) to allow plain 'configure' to be used
2008-05-14 11:32:28 +00:00
Matt Wilmas
e974ce74e4
MFB: Steph's changes; to fix build failure after confutils.js changes (PRODUCT_NAME being undefined)
2008-05-14 11:18:08 +00:00
Elizabeth Marie Smith
132ecdfa7d
MFB and steph's pecl fixes into confutils
2008-05-14 03:32:27 +00:00
Matt Wilmas
c108f3a797
Remove old references to flex.skl
2008-05-08 04:52:30 +00:00
Hannes Magnusson
3a0776965a
Update url for go-pear
2008-04-11 21:57:19 +00:00
Scott MacVicar
56352d1a2f
MFB 5.3: Rest of the changes for re2c merge
2008-03-26 14:46:17 +00:00
Rasmus Lerdorf
b911467d1d
MFB
...
Here are the signal changes from the 5.3 branch that optimizes signal
handler registration and switches from longjmp to siglongjmp in order
to make signal mask handling consistent across different UNIX operating
systems.
2008-03-19 16:37:49 +00:00
Pierre Joye
00150da5b6
- MFB: add PHP_PHP_BUILD\bin to the path in PATH_PROG (option set with --with-php-builds=[PATH] the zip.zip contains all we need (except re2c! )
2008-02-17 01:29:16 +00:00
Dmitry Stogov
ca7ecde26d
Fixed win32 build
2008-01-24 18:08:23 +00:00
Rob Richards
c803ef3b1b
add errors when missing dependencies (Steph)
2008-01-10 18:21:23 +00:00
Sebastian Bergmann
9b620d50b4
Bump copyright year, 2 of 2.
2007-12-31 07:12:20 +00:00
Elizabeth Marie Smith
354dad75f6
MFB
2007-11-14 19:44:24 +00:00
Yiduo (David) Wang
95da0dc570
Added macros for managing zval refcounts and is_ref statuses
2007-10-07 05:15:07 +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
452ace5e14
- Made build system less dependant for the PHP major version to also
...
ease MFB/MFH as acinclude.m4 and Makefile.global are identical in both
branches.
2007-07-26 22:45:22 +00:00
Derick Rethans
eb54bbdd5c
- Allow the use of a user defined template.rc file to override the
...
default ones. This makes it possible to include the extension's version
inside the version properties of the generated extension DLL instead
of the PHP version the extension is build against.
2007-07-21 11:24:36 +00:00
Jani Taskinen
41c6375840
- Moved the old regex functions to it's own extension: ereg
2007-07-15 19:50:07 +00:00
Johannes Schlüter
c91907a515
- Always enable mail() function
2007-07-11 17:39:04 +00:00
Dmitry Stogov
0b642b977a
PCRE unicode/binary support
2007-07-06 23:06:51 +00:00
Stanislav Malyshev
dbfe5d3173
fix build on msvc 8
2007-05-29 19:44:24 +00:00
Dmitry Stogov
02d24cc512
Fixed bug #41192 (Per Directory Values only work for one key)
2007-05-02 10:16:48 +00:00
Dmitry Stogov
11275cb2aa
Fixed buffer overflow
2007-04-22 10:25:51 +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
Edin Kadribasic
23bf3c93a5
MFB: Make DLL only once (Wez)
2007-03-19 03:16:18 +00:00
Edin Kadribasic
2bdf721f63
MFB: Check that manifest file exists before trying to embed it
2007-03-04 00:41:36 +00:00
Marcus Boerger
ebf98e261a
- Add glob stream to win build
2007-03-03 21:40:23 +00:00
Marcus Boerger
20a40063c5
- avoid sprintf
2007-02-24 16:25:58 +00:00
Ilia Alshanetsky
ce8285d289
Copyright update
2007-01-29 04:40:46 +00:00
Frank M. Kromann
00b5f0d0ad
Kill warnings when mt is not installed or is found as the tape command under cygwin
2007-01-13 03:32:14 +00:00
Edin Kadribasic
9f206ec4c4
Make mt more silent
2007-01-08 00:26:35 +00:00
Sebastian Bergmann
3717df72ae
Bump year.
2007-01-01 09:29:37 +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
Frank M. Kromann
8fba0806cd
MFB: Fix win32 build
2006-12-01 20:22:11 +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
768185e58f
Implemented registry cache that prevent registry lookup on each request. In case of modification of corresponding registry-tree PHP will reload it automatic.
2006-11-10 11:42:40 +00:00
Dmitry Stogov
a68d5f0a89
opendir() is reimplemented using GetFistFile/GetNextFile those are faster then _findfirst/_findnext
2006-11-10 11:20:58 +00:00
Dmitry Stogov
41912f3076
Fix warnings
2006-11-10 10:38:23 +00:00
Dmitry Stogov
6f1c5a7701
Use $(CC) for linking instead of $(LD). This allows usage of advansed optimization techniques (like Intel's inner-procedure optimization)
2006-11-10 10:30:56 +00:00
Dmitry Stogov
dc34d34230
Simplify the code base as this getpwd() was used only once
2006-11-10 09:56:37 +00:00
Edin Kadribasic
b765958e7a
Obsolete, prepaing for new installer script
2006-09-01 20:24:48 +00:00
Dmitry Stogov
30a2f9d219
Added version specific registry keys to allow different configurations for different php version.
2006-08-03 13:54:20 +00:00
Rob Richards
418288ddba
enable native and unicode tests
...
add ntest and utest build targets
2006-07-22 13:13:18 +00:00
Dmitry Stogov
6687f0377b
New memory manager
2006-07-18 09:08:06 +00:00
Dmitry Stogov
a1bdb59275
New crypt() implementation for win32 which is about 10 times faster and has more friendly license.
2006-06-16 05:57:41 +00:00
Edin Kadribasic
fd959ad30a
MFB: Enable separate build dir for SAPIs, the same way it is possible for EXTENSIONs
2006-05-07 00:07:53 +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
foobar
6af3218f81
more cleanup (lingering ini settings which do not exist anymore, etc.)
2006-04-10 15:09:15 +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
Dmitry Stogov
663ba73ca2
Fixed bug #36568 (memory_limit setting on win32 has no effect)
2006-03-14 14:19:19 +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
Johannes Schlüter
c8c6dfc436
- Fix charset
2006-02-08 21:07:41 +00:00
Johannes Schlüter
c416b927f0
- It's 2006 and PHP 6
2006-02-08 21:03:00 +00:00
Dmitry Stogov
9e7ddd51ee
Fixed first-chance exception during request shutdown
2006-01-16 14:26:35 +00:00
Marcus Boerger
d8a53905e9
- Add short size info
2006-01-11 20:24:07 +00:00
foobar
bc8333c42a
- Cleanups:
...
* unify the address handling to always strip leading whitespace
* ws fixes
2006-01-06 02:04:22 +00:00
foobar
251c5173fd
bump year and license version
2006-01-01 13:10:10 +00:00
foobar
8fa72be4ee
- Nuke php3_compat.h
2005-12-06 00:44:22 +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
Derick Rethans
772af6a3cf
- Fixed definition in correct file. (Patch by Nuno)
2005-09-21 08:40:52 +00:00
Edin Kadribasic
9250fda033
MFB
2005-09-17 22:07:20 +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
foobar
df5cfe27b4
- Fixed bug #29334 (mail() provides incorrect message time header)
2005-08-07 22:06:29 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Edin Kadribasic
88fcc4859f
Allow building gd on windows systems without t1lib (M. Sisolak) #33620
2005-08-01 21:57:09 +00:00
Anantha Kesari H Y
0a89e44ed7
NetWare cleanup
...
--Kamesh
2005-07-28 09:44:13 +00:00
Wez Furlong
09d433a349
If asked to populate a set of cflags for a header check, only populate the
...
flags and don't fill in an entry into config.w32.h, UNLESS explicitly told
what to do.
This prevents leakage of things like HAVE_SQLCLI1_H from one pecl into another
(or the core) and confusing the build (as has happened with ibm_db2 and
pdo_odbc).
2005-07-07 13:22:38 +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
Wez Furlong
fc92678b05
add --enable-memory-manager switch for win32 too
2005-06-09 13:09:04 +00:00
Frank M. Kromann
1f33f5cb96
USE_ZEND_ALLOC should be defined here too.
2005-06-08 20:50:44 +00:00
Wez Furlong
05cec1dbce
don't screw up the default fd set size when --disable-all is used
2005-06-05 19:19:09 +00:00
Wez Furlong
b227a51201
make "nmake install" more verbose.
2005-06-05 02:33:26 +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
foobar
e2999b154f
nuked file
2005-05-24 15:16:24 +00:00
foobar
ac53cdfb2f
- Nuked some PECLed extensions
2005-04-08 21:17:07 +00:00
foobar
ab5072df2a
Removed non-existing sapi/activescript dsp
2005-04-08 21:10:27 +00:00
Edin Kadribasic
2d45bbb9cf
Updated install instructions from the documentation project (Philip Olson)
2005-03-30 13:15:05 +00:00
Edin Kadribasic
35f051b502
Use PEAR bundle from the build template
2005-03-26 21:32:20 +00:00
Zeev Suraski
6e6a1f0e69
Merge registry fix
2005-03-14 12:42:05 +00:00
Andrey Hristov
9e939133d2
FR 32275 - fifth parameter to preg_replace() to count number of replaces
...
made.
#it would be nice if someone of the doc team documents it. thanks!
2005-03-12 12:03:50 +00:00
Edin Kadribasic
b8a6661c81
Allow arbitrary files to be added to distro with ADD_DIST_FILE(filename)
2005-02-26 01:07:48 +00:00
Edin Kadribasic
bf3ec794f1
Added .reg files to the disto (were added manually)
2005-02-26 00:37:10 +00:00
Anantha Kesari H Y
147dab1b57
time.h is available in NetWare LibC.
...
path sperator has been changed from \ to / while including netware\sendmail_nw.h
2005-02-25 05:57:41 +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
e2974d755d
Offical zip files have -Win32 suffix
2005-02-24 23:28:49 +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
Wez Furlong
a92ae61cb8
fix snaps
2005-02-13 21:38:39 +00:00
Rui Hirokawa
c7ebef660a
added --enable-zend-multibute for win32
2005-02-13 13:03:03 +00:00
Wez Furlong
668740aada
even less noise
2005-02-06 23:23:05 +00:00
Wez Furlong
c3eae192dc
less noise
2005-02-06 22:48:36 +00:00
Edin Kadribasic
afcd94f22d
Generate files needed for php5ts.dll build
2005-01-22 03:36:38 +00:00
Wez Furlong
968d2ef830
A couple more adjustments for building multiple output variants of the same
...
extension source.
2005-01-20 03:24:50 +00:00
Ilia Alshanetsky
e8300c82a0
Stricter cc header check.
2005-01-19 18:54:23 +00:00
foobar
9feb47d70e
- Fixed bug #28976 (use From: from headers if sendmail_from is empty)
2005-01-19 17:38:20 +00:00
Frank M. Kromann
e296197362
Allow the build system to generate multiple extensions from the same extension directory
2005-01-18 22:37:12 +00:00
Frank M. Kromann
b1c6c89d97
Fix one-shot builds.
2004-11-15 23:59:22 +00:00
Frank M. Kromann
e1e29cefc4
Adding php_sprintf.c to Win32 build
2004-11-15 18:27:10 +00:00
Frank M. Kromann
fb543df1a8
No need to ude /Fo twice.
...
Unbreak the build be readding the compile only flag
2004-11-10 23:52:56 +00:00
Frank M. Kromann
d589e61204
Make sure files are stored in the right directory
2004-11-10 20:12:42 +00:00
Edin Kadribasic
34e4dae95c
Added zend_strtod.c to the new build
2004-11-04 02:06:04 +00:00
Edin Kadribasic
c48f96a790
MFB: bugfix #30133
2004-09-27 22:23:11 +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
Andi Gutmans
b4faef2fe3
- MFB
2004-08-10 05:42:21 +00:00
Wez Furlong
a60a6c5209
Generate a .reg file for the syslog stuff
...
NB: still need a solution for zts and non-zts on the same machine.
2004-08-05 12:15:17 +00:00
Wez Furlong
93cdab8b96
Catch exceptions from broken config.w32 files
2004-08-03 01:23:35 +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
bb099765a3
Revert the search path tweak; it broke the snap build for ming
2004-08-03 00:58:29 +00:00
Wez Furlong
e7aeb7a4c8
A better fix for the VC 2k max literal string limit
...
(also affects vc7)
2004-08-03 00:02:48 +00:00
Frank M. Kromann
30cad86a8d
VC6 hack to avoid CONFIGURE_COMMAND string length over 2048 when building many extensions
2004-08-02 18:48:49 +00:00
Frank M. Kromann
07979b3ce4
Search in PATH before explicit_path. This resolves conflict between Microsoft and cygwin tools with the same name.
2004-08-02 17:54:49 +00:00
Wez Furlong
d898a7418b
More hoops for VC6
2004-08-01 12:32:03 +00:00
Wez Furlong
f93193ccff
snap this rule in half for vc6
2004-08-01 11:33:58 +00:00
Wez Furlong
2a90ba3642
Juggle deps
2004-08-01 11:19:33 +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
d45d690164
Go with new go-pear infrastructure
2004-07-31 18:59:50 +00:00
Wez Furlong
47e7fef08e
Allow win32 stuff to build non-zts.
...
Fix stream crypto func (again? didn't I already commit that?)
2004-07-31 17:28:27 +00:00
Andi Gutmans
79279dce97
- Add globals.c
2004-07-30 22:52:32 +00:00