Commit Graph

1285 Commits

Author SHA1 Message Date
Pierre Joye
1ec3ec1326 -disable the analyzer for the snapshot in 5.3 too 2011-01-13 19:44:00 +00:00
Pierre Joye
f9c61024a5 - do not enable analyzer for snapshot 2011-01-10 21:04:50 +00:00
Pierre Joye
639d3fbcfb - possible NULL deref 2011-01-10 08:07:38 +00:00
Pierre Joye
f25ab1bf9c - possible NULL deref 2011-01-10 08:07:38 +00:00
Pierre Joye
10a1f90ab0 - local redeclaration 2011-01-10 01:04:36 +00:00
Pierre Joye
f45b9c4a0b - local redeclaration 2011-01-10 01:04:36 +00:00
Pierre Joye
eddd9b7510 - new sec flags should not be on by default for 5.3, yet 2011-01-09 21:41:54 +00:00
Pierre Joye
eda798fd7a - add configure option to enable the builtin static analyzer (will be enabled for snaps' log) 2011-01-09 21:38:46 +00:00
Pierre Joye
0d3c6914ad - add configure option to enable the builtin static analyzer (will be enabled for snaps' log) 2011-01-09 21:38:46 +00:00
Pierre Joye
92894b3a81 - debug code-- 2011-01-09 15:19:03 +00:00
Pierre Joye
7c6310852e - let try to fix pecl header install so we can do the same than unix, install them in ext/<extname> instead of pecl<extname> 2011-01-09 14:01:21 +00:00
Pierre Joye
fb6778c241 - let try to fix pecl header install so we can do the same than unix, install them in ext/<extname> instead of pecl<extname> 2011-01-09 14:01:21 +00:00
Pierre Joye
f3a4bfee8f - enable ASLR and NXCOMPAT by default 2011-01-07 20:50:33 +00:00
Pierre Joye
55077a81f5 - define the php*.lib/dll names 2011-01-07 15:51:36 +00:00
Pierre Joye
cc6bb66dcd - define the php*.lib/dll names 2011-01-07 15:51:36 +00:00
Pierre Joye
84b854a603 - revert rev. 307044 2011-01-05 00:59:31 +00:00
Pierre Joye
09d73b67e2 - revert rev. 307044 2011-01-05 00:59:31 +00:00
Kalle Sommer Nielsen
ec040e9657 Fixed linking of extensions that would use a static .lib file (libname_a.lib rather than libname.lib)
# This fixes `configure --with-mcrypt=shared' to properly find and 
# link against libmcrypt.lib rather than libmcrypt_a.lib
2011-01-03 23:08:47 +00:00
Kalle Sommer Nielsen
79b997d7ba Fixed linking of extensions that would use a static .lib file (libname_a.lib rather than libname.lib)
# This fixes `configure --with-mcrypt=shared' to properly find and 
# link against libmcrypt.lib rather than libmcrypt_a.lib
2011-01-03 23:08:47 +00:00
Pierre Joye
b059dfa1e7 - prevent php(version)lib.(dll|lib) to be overriden 2011-01-03 01:22:07 +00:00
Pierre Joye
e9bb7bbbd1 - missing file 2011-01-03 01:22:00 +00:00
Pierre Joye
b4ae112dae - we need the core config.w32 only once 2011-01-03 01:08:21 +00:00
Pierre Joye
7444576047 - we need the core config.w32 only once 2011-01-03 01:08:21 +00:00
Pierre Joye
f7176f9cf0 - silent copy 2011-01-03 01:07:28 +00:00
Pierre Joye
bfb9b6d06e - use the ext deps list for phpize's ADD_EXTENSION_DEP function 2011-01-02 18:29:56 +00:00
Pierre Joye
17d05d0d57 - use the ext deps list for phpize's ADD_EXTENSION_DEP function 2011-01-02 18:29:56 +00:00
Pierre Joye
ec3003ade1 - typo, and remove undesired committed part 2011-01-02 18:14:50 +00:00
Pierre Joye
6008152caa - typo 2011-01-02 18:13:20 +00:00
Pierre Joye
5bd1fd410f - typo 2011-01-02 18:13:20 +00:00
Pierre Joye
163780af56 - generate a list of ext and how they are built, should be updated by phpize'd make (un)install as well, later 2011-01-02 18:03:00 +00:00
Pierre Joye
f62ca3e4bf - generate a list of ext and how they are built, should be updated by phpize'd make (un)install as well, later 2011-01-02 18:03:00 +00:00
Pierre Joye
e13c26a141 - fix ADD_EXTENSION_DEP detection 2011-01-01 20:00:21 +00:00
Pierre Joye
97c5d74d78 - missing file 2011-01-01 20:00:10 +00:00
Felipe Pena
927bf09c29 - Year++ 2011-01-01 02:19:59 +00:00
Felipe Pena
0203cc3d44 - Year++ 2011-01-01 02:17:06 +00:00
Pierre Joye
c4f631b275 - we don't bundled fbclient, system version is used 2010-12-15 02:01:21 +00:00
Pierre Joye
18deebed4b - we don't bundled fbclient, system version is used 2010-12-15 02:01:21 +00:00
Pierre Joye
c05b1228db - typo 2010-12-15 00:39:07 +00:00
Pierre Joye
b25ded66ea - sync with 5.3 2010-12-14 23:21:53 +00:00
Pierre Joye
f56ab54feb - devel must be done before dist 2010-12-14 23:21:01 +00:00
Pierre Joye
f7b5a73383 - fix build with out of src obj dir 2010-12-14 23:09:31 +00:00
Pierre Joye
e2ea0f5d98 - we just reached the tiny cmd lenght limit, let reduce the size of dirs 2010-12-14 18:49:15 +00:00
Pierre Joye
e79ed6359d - add nmake install-sdk (create the devel package) and related sub rules 2010-12-14 02:55:26 +00:00
Pierre Joye
d14417f8ea - add nmake install-sdk (create the devel package) and related sub rules 2010-12-14 02:55:26 +00:00
Pierre Joye
12a3e339f4 - MFH trailing slashes detection 2010-12-13 20:57:06 +00:00
Pierre Joye
31f97e2440 - no need to diplay that 2010-12-13 20:56:44 +00:00
Pierre Joye
4df03c1ded - phpize support merge from 5.3 2010-12-13 20:55:13 +00:00
Kalle Sommer Nielsen
15ee70e8e0 * Don't print the shared headers table after enabling each extension (cleaner configure output)
* Fix double slashes for directory targets in PHP_INSTALL_HEADERS()
2010-12-13 20:46:57 +00:00
Pierre Joye
aea6771d19 - add phpize support for windows, need a nmake install for now (nmake devel-pkg version is coming), works exactly the same as on unix, or should :) 2010-12-13 18:43:10 +00:00
Pierre Joye
a7ffa09e18 - add PHP_INSTALL_HEADERS to all parts (core&exts) exposing headers, generate the install-headers cmd 2010-12-11 22:18:10 +00:00
Pierre Joye
d94744649f - add install-lib(s), remove header for now, will be genarated 2010-12-11 16:36:27 +00:00
Pierre Joye
6f3cad91d0 - install headers, missed that one 2010-12-10 17:11:58 +00:00
Pierre Joye
ff60a98755 - add initial PHP_INSTALL_HEADERS, one step closer to phpize 2010-12-10 16:10:08 +00:00
Pierre Joye
63d87a0adb - Fix #29085, bad default include_path on Windows 2010-12-02 23:23:14 +00:00
Pierre Joye
d687186b58 - Fix #29085, bad default include_path on Windows 2010-12-02 23:23:14 +00:00
Pierre Joye
722457594b - Fixed #53409, sleep() return NULL on Windows 2010-11-26 18:25:13 +00:00
Pierre Joye
c70397b3a9 - Fixed #53409, sleep() return NULL on Windows 2010-11-26 18:25:13 +00:00
Pierre Joye
4574844c52 - cleanup broken double definition of php_win_err and rename it while being there 2010-11-25 23:06:12 +00:00
Dmitry Stogov
ab93d8c621 Added multibyte suppport by default. Previosly php had to be compiled with --enable-zend-multibyte. Now it can be enabled or disabled throug zend.multibyte directive in php.ini 2010-11-24 05:41:23 +00:00
Gustavo André dos Santos Lopes
ae5704272e - Fixed bug #53297 (gettimeofday implementation in php/win32/time.c can return
1 million microsecs). (ped at 7gods dot org)
- Moved line out of order in NEWS.
2010-11-12 18:37:02 +00:00
Gustavo André dos Santos Lopes
3332c5be08 - Fixed bug #53297 (gettimeofday implementation in php/win32/time.c can return
1 million microsecs). (ped at 7gods dot org)
- Moved line out of order in NEWS.
2010-11-12 18:37:02 +00:00
Pierre Joye
b1fcb740a7 - not there anymore 2010-09-15 22:11:28 +00:00
Pierre Joye
f4da90705b - use php_sys_sat 2010-09-13 11:17:40 +00:00
Pierre Joye
e5e089950b - use php_sys_sat 2010-09-13 11:17:40 +00:00
Pierre Joye
25ac985422 - ws 2010-09-13 11:06:18 +00:00
Pierre Joye
196e45aa5c - ws 2010-09-13 11:06:18 +00:00
Pierre Joye
013727e1c7 - MFH 2010-09-13 10:30:21 +00:00
Pierre Joye
da4d4cef5e - silent warning 2010-09-13 10:28:45 +00:00
Pierre Joye
e5323bde9a - silent warning 2010-09-13 10:28:45 +00:00
Pierre Joye
8a18e0b716 - use php_sys_lstat 2010-09-13 10:27:55 +00:00
Pierre Joye
ffd60af473 - use php_sys_lstat 2010-09-13 10:27:55 +00:00
Pierre Joye
f25cbae9b1 - remove dummy wrapper for readfile 2010-09-11 19:07:43 +00:00
Pierre Joye
d97c07c265 - remove dummy wrapper for readfile 2010-09-11 19:07:43 +00:00
Kalle Sommer Nielsen
0655d34070 Fixed compiler warning 2010-08-17 12:57:04 +00:00
Pierre Joye
7dd694ec15 - #52607, fix ENV conflit with win SDK 7.1 2010-08-15 13:54:03 +00:00
Pierre Joye
4588d5d79f - #52607, fix ENV conflit with win SDK 7.1 2010-08-15 13:54:03 +00:00
Pierre Joye
bb669f2c1b - year++ 2010-08-15 13:40:29 +00:00
Pierre Joye
1bd381890d - #52607, fix ENV conflit with win SDK 7.1 2010-08-15 03:38:08 +00:00
Pierre Joye
cf7d0fb4e7 - #52523, fix logic (0 is perfectly valid as part of the data, bin data) 2010-08-09 08:14:14 +00:00
Pierre Joye
c2ea73542f - #52523, fix logic (0 is perfectly valid as part of the data, bin data) 2010-08-09 08:14:14 +00:00
Pierre Joye
1e26362d4b - WS 2010-08-09 07:32:21 +00:00
Pierre Joye
ab8e74a0c8 - WS 2010-08-09 07:32:21 +00:00
Pierre Joye
68cd943189 - add striped down version of RNG layer to have a reliable random src on windows 2010-06-08 13:00:54 +00:00
Pierre Joye
85140991be - add striped down version of RNG layer to have a reliable random src on windows 2010-06-08 13:00:11 +00:00
Pierre Joye
5afc8e2c83 - add striped down version of RNG layer to have a reliable random src on windows 2010-06-08 13:00:11 +00:00
Pierre Joye
48073dd7f6 - Adieu VC6/7/8, merci pour les bons et loyaux services 2010-04-29 08:13:15 +00:00
Rob Richards
0a34d10783 revert change #298288: Remove old dsp/dsw/makefile files 2010-04-28 14:41:51 +00:00
Kalle Sommer Nielsen
dd8e59da8f Removed safe_mode
* Removed ini options, safe_mode*
 * Removed --enable-safe-mode --with-exec-dir configure options on Unix
 * Updated extensions, SAPI's and core
 * php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Kalle Sommer Nielsen
518a17e7bf Remove old dsp/dsw/makefile files, these arent used by the build system anymore and are barely updated nor available for all extensions 2010-04-21 23:36:49 +00:00
Kalle Sommer Nielsen
c8a7cb6a45 Updated copyright year 2010-04-21 23:07:54 +00:00
Kalle Sommer Nielsen
febee11285 Removed register_globals 2010-04-21 01:27:22 +00:00
Dmitry Stogov
dd5c478be6 Added concept of interned strings. All strings constants known at compile time are allocated in a single copy and never changed. 2010-04-20 11:05:54 +00:00
Pierre Joye
658e86b847 - prevent unexpectable behaviors (for the user) with invalid path 2010-02-07 20:15:58 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Pierre Joye
f59f7a3f49 - #50334, add define on win as well 2009-12-10 14:08:19 +00:00
Pierre Joye
bf377f6aab - #50334, add missing file 2009-12-09 10:39:03 +00:00
Kalle Sommer Nielsen
1063c8346b MFT: VC10 build support 2009-12-03 11:50:32 +00:00
Pierre Joye
8109abba8b - MFH: vs2010 detection support, restore /W3 2009-11-30 09:52:33 +00:00
Kalle Sommer Nielsen
df0252a399 Set WINVER to Windows 2000 like in config.w32.h.in 2009-10-30 14:20:15 +00:00
Pierre Joye
bcf7db5f92 - #49986, fix ICU DLLs path 2009-10-24 19:52:23 +00:00
Pierre Joye
3766730f3c - we don't distribute the crt9 dll, don't try to add it 2009-10-19 19:58:45 +00:00
Pierre Joye
97595a14a5 - add custom DLL to the package and fix the path to the deps bin (needs absolute path in some cases) 2009-10-19 19:02:12 +00:00
Stanislav Malyshev
dd15b8810c add safeguard for UpdateIniFromRegistry on NULL arg 2009-10-13 20:10:07 +00:00
Pierre Joye
a4cbecd20c - restore W3 flag to get usefull errors (unused vars, etc.) 2009-09-30 11:53:29 +00:00
Pierre Joye
ad2bb4bcb1 - fix TS build 2009-09-01 19:41:51 +00:00
Pierre Joye
12a7305e21 - #48746, fix regression in readdir/scandir and mounted points or junctions on windows 2009-09-01 17:46:17 +00:00
Pierre Joye
5d017c3e2d - silent warning (fix for #28038) 2009-08-26 21:59:54 +00:00
Ilia Alshanetsky
cc8cacd80e Fixed a compiler warning (variable clobbering) 2009-08-25 12:47:28 +00:00
Pierre Joye
e877e1280c - fix object dir usage (ie: relative path called from a symlinked dir), also fix nmake test for similar cases 2009-08-24 14:18:19 +00:00
Garrett Serack
827469c94e - Fixed bug #28038 (Sent incorrect RCPT TO commands to SMTP server) 2009-08-18 18:58:33 +00:00
Jani Taskinen
ae492897c6 - Removed unused code (replaced long time ago by url_scanner_ex.* 2009-07-26 22:59:46 +00:00
Derick Rethans
fb5d7e4748 - Added - to the list of "unsafe" characters so that the pecl dir can have the
- character in the name.
2009-07-24 16:30:48 +00:00
Pierre Joye
6f9c84f844 - cvs > svn 2009-07-15 17:08:50 +00:00
Pierre Joye
9c18f65572 - cvs > svn 2009-07-15 16:52:21 +00:00
Pierre Joye
06033b5845 - rename to svn 2009-07-13 16:10:59 +00:00
Pierre Joye
dffe3d8d21 - cvs to svn changes 2009-07-13 16:02:34 +00:00
Pierre Joye
8faa7980f3 - remove ZendEngine* detection, we always have Zend now (svn) 2009-07-13 00:26:52 +00:00
Rasmus Lerdorf
1f53affe7a MFB cvs->svn 2009-07-11 04:24:45 +00:00
Kalle Sommer Nielsen
51f8b64752 MFH: Fixed bug #38091 (Mail() does not use FQDN when sending SMTP helo)
# Note, this does not go in 5.2 because the inet ports for VC6 are not in that branch
2009-06-30 11:39:15 +00:00
Pierre Joye
b8f295a6d3 - add readme.redist.bins as .txt 2009-06-24 11:51:05 +00:00
Kalle Sommer Nielsen
220c68d54a MFH: Move these defines to config.w32.h
Also credit Pierre for the inet_ntop()/inet_pton() implementations
2009-06-23 06:56:45 +00:00
Kalle Sommer Nielsen
3410350caa MFH:
Use %* instead of a range + WS
2009-06-23 02:14:27 +00:00
Kalle Sommer Nielsen
1f5e20c33e MFH:
* Fix deprecation warning when building deplister
* Fix some mkdir warnings if "nmake build-dist" is executed twice
2009-06-23 01:37:23 +00:00
Greg Beaver
f7246e2086 add phar.phar creation on windows 2009-06-11 14:39:37 +00:00
Matt Wilmas
b907aa4331 MFH:
Restored double->long conversion behavior to that of PHP 5.2 (on most platforms) and prior:
 * Out-of-range numbers overflow/preserve least significant bits (no LONG_MAX/MIN limit)
 * See bug #42868 (presumably-rare platform with different results in 5.2)
 * On 32-bit platforms with 64-bit long type, a zend_long64 cast has been added,
    otherwise it's the same as 5.2
 * Use this conversion method everywhere instead of some plain (long) casts

Added 'L' parameter parsing specifier to ensure a LONG_MAX/MIN limit:
 * Essentially what 5.3's new conversion was doing in most cases
 * Functions with "limit" or "length" type params could be updated to use this,
    and prevent confusing overflow behavior with huge numbers (*also* in 5.2)
  - See bug #47854, for example; or even #42868 again

# Test updates coming
2009-06-04 18:20:45 +00:00
Kalle Sommer Nielsen
3dcd2b6ace MFH:
* We dont need to wrap to two lines here, its small enough to show with a standard sized cmd window
* Bump copyright year in the .rc
2009-06-03 01:14:58 +00:00
Pierre Joye
469d4938fc - MF52: #42143, the constant NAN is reported as 0 on Windows 2009-05-29 08:11:36 +00:00
Kalle Sommer Nielsen
953cf4c217 MFH: If we don't have a comment (for the 3rd argument in ARG_[ENABLE|WITH], then don't print a comment say "undefined" 2009-05-29 07:43:07 +00:00
Kalle Sommer Nielsen
e9d289289b MFH: Lets pass the built php binary to run-tests.php's -p parameter 2009-05-27 01:46:48 +00:00
Kalle Sommer Nielsen
4ab4b6817d MFH: Silent dl() if it fails 2009-05-27 01:38:13 +00:00
Pierre Joye
ffca50ca0d - revert last commit and fix inline 2009-05-04 21:03:20 +00:00
Pierre Joye
e274a01620 - a macro will just do it too 2009-05-04 20:31:02 +00:00
Pierre Joye
65a9530849 - add llabs 2009-05-04 17:09:33 +00:00
Pierre Joye
30b30dda11 - make MP survive --disable-all (=disable to disable it) 2009-04-24 15:18:37 +00:00
Pierre Joye
f4c90952b0 - fix logic 2009-04-24 11:34:38 +00:00
Pierre Joye
375bbd497d - allow to set or disable the multithreaded build (n, auto or disable) 2009-04-23 20:19:06 +00:00
Kalle Sommer Nielsen
49e4959a6d MFH: Fix redef warnings
Kill warning about php_localtime_r not being defined
2009-04-06 09:14:54 +00:00
Kalle Sommer Nielsen
e45c0bb900 MFH:
Fixed a few warnings from copy():
* If $item is empty then skip to next entry, this fixes the "The first argument cannot be a directory" warnings
* If file does not exist then dont try to copy it
2009-04-01 09:21:31 +00:00
Kalle Sommer Nielsen
02fe66d1e0 MFH:
* Bypass the date/timezone warning by forcing UTC when running mkdist.php
* Don't run the copy list for PECL if theres no PECL extensions to copy (fixes a few copy() warnings)
2009-03-30 14:32:52 +00:00
Pierre Joye
1d177508c8 - new php.ini names 2009-03-24 22:15:46 +00:00
Pierre Joye
8235286324 - some cleanup, more to come 2009-03-18 18:40:44 +00:00
Pierre Joye
989b9d7c43 - php.ini-dev/prod 2009-03-18 17:58:09 +00:00
Dmitry Stogov
31c0af245e Fixed floating point mathematic speed degradation (Christian) 2009-03-18 10:18:10 +00:00
Pierre Joye
10bf149a60 - define HAVE_SOCKLEN_T as it exists (vc6+) 2009-02-02 09:40:55 +00:00
Pierre Joye
a5af8a7ec2 - prevent redefinition 2009-01-27 21:53:31 +00:00
Kalle Sommer Nielsen
73b17408fb MFH: Windows support for stream_socket_pair(), by moving the socketpair() implementation from ext/sockets to win32/ 2009-01-23 15:49:49 +00:00
Pierre Joye
f8aff4ad07 - add fnmatch() support on windows (C API), using the BSD implementation 2009-01-20 01:37:48 +00:00
Pierre Joye
274dad3b83 - MFH:
- add nanosleep
 - expose nanosleep and usleep
 - [DOC] time_ nanosleep and time_ sleep_ until available on windows
 - change nanosleep signature to match posix one
2009-01-19 02:35:22 +00:00
Stanislav Malyshev
5d8c9f8c56 Build IDs 2009-01-17 02:05:13 +00:00
Pierre Joye
c83e0d50d0 - add multi threaded build support (automatic detection of the number of cpus, add a custom number if you prefer to use only a few of your available cores) 2009-01-06 20:50:57 +00:00
Pierre Joye
86ae6a2676 - add DNSApi for the DNS functions 2009-01-06 20:46:36 +00:00
Kalle Sommer Nielsen
46dc120cdc MFH: Check if configure script was copied, and output an error if it wasn't 2009-01-02 12:18:21 +00:00
Pierre Joye
438c4cfacc - MFH: expose glob and globfree on wi ndows, can be used by shared ext (core or extern) 2009-01-01 12:32:49 +00:00
Pierre Joye
e266d17a44 - enable gehostname on windows [DOC] 2008-12-31 19:47:13 +00:00
Ilia Alshanetsky
540242dc2d [DOC]
Added gethostname() to return the current system host name.
2008-12-31 14:30:38 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Pierre Joye
b593dfa388 - MFB:
- usual suspects must be in the default include/lib path (thx Rob for the notice!)
  - fix the --wtih-php-build doc, remove dead url, update the name of the deps dir
2008-12-26 14:11:44 +00:00
Pierre Joye
63fe8179d0 - MFH: be sure that at least one SAPI has been selected 2008-12-25 00:09:49 +00:00
Pierre Joye
15fa3c1d93 - MFH: the config summary is a must, do not allow to disable it 2008-12-25 00:08:51 +00:00
Pierre Joye
c310143ac7 - MFH: no need to look for bindlib_w32, not used anymore 2008-12-18 23:21:22 +00:00
Pierre Joye
d4b63c8d7e - fix builds for VC8+, strnlen is available in vc8 and later (used in spprintf.c) 2008-12-13 11:47:06 +00:00
Pierre Joye
33d110f8f8 - do not add .cvsignore to the tests package 2008-12-13 11:46:23 +00:00
Pierre Joye
d6f27e909c - c/p error. 2008-12-10 09:49:59 +00:00
Pierre Joye
10f2b1519b - MFH: add configure script 2008-12-08 22:39:55 +00:00
Scott MacVicar
49a15f0bd4 MFH Better fix for va_copy since some architectures like to do a deep copy. 2008-11-22 15:16:47 +00:00
Pierre Joye
bbb88024ec - make va_copy safer using () around arguments 2008-11-22 13:34:15 +00:00
Scott MacVicar
add2b6df3a MFH Fix build on Windows 2008-11-22 12:39:16 +00:00
Jani Taskinen
80d5100309 MFH 2008-11-21 16:41:04 +00:00
Pierre Joye
67d86010ae - MFH:
- expose PHP_BUILD in the Makefile
 - ICU 3.8/4.0 are dynamically linked, add $PHP_BUILD\bin to the PATH so php.exe can find them (nmake test, nmake snaps)
2008-11-21 14:18:27 +00:00
Pierre Joye
941749f5ec - MFH: add build type (debug/release) and TS info to the summary 2008-11-21 14:17:33 +00:00
Kalle Sommer Nielsen
e61c2e8c17 MFH: Fix typo 2008-11-20 16:06:26 +00:00
Pierre Joye
710638db54 - revert previous commit (borked editor) 2008-11-06 13:30:18 +00:00
Pierre Joye
11f6df597a - bump year 2008-11-06 13:11:56 +00:00
Elizabeth Marie Smith
d4e4cebd65 MFH 2008-11-03 19:25:42 +00:00
Pierre Joye
7376ddb66a - add php-test-pack-[version].zip to nmake snap so we can distribute the tests as single zip
TODO: add run-tests.bat to the package
2008-10-26 00:14:23 +00:00
Pierre Joye
16bda08080 - add strto*i64 (VC6, decent compilers/crt have them) 2008-10-20 14:47:33 +00:00
Pierre Joye
61aeb63e8a - add strto*i64 support (VC6 only, decent compilers/crt have them) 2008-10-20 14:47:01 +00:00
Kalle Sommer Nielsen
12bd1eae9f [DOC] Deprecate define_syslog_variables() in 5.3 2008-10-15 18:41:57 +00:00
Pierre Joye
142ee7a89d - add nts to the zip names 2008-09-26 13:29:11 +00:00
Pierre Joye
1b5a8cc258 - MFH: add VC version and architecture to the created zip(s) names 2008-09-25 15:00:59 +00:00
Pierre Joye
0f701b8d31 - fix typo and icu bundling 2008-09-01 18:19:58 +00:00
Pierre Joye
41a3bf43c9 - support for copy of ICU DLLS for all ICU versions 2008-08-26 09:10:39 +00:00
Pierre Joye
2620304003 - MFH:
- drop bindlib usage on windows
 - inet_pton, inet_ntop and inet_aton are always available (VC9 uses the CRT implementation, VC6 our own)
2008-08-23 19:22:10 +00:00
Pierre Joye
6b2be7c7e9 - quick fix for ICU dlls (better fix with n level deps will be done later) 2008-08-20 20:09:13 +00:00
Kalle Sommer Nielsen
49494bed8b MFH:
* Last _WIN32_WINNT macro redef
* Include <config.w32.h> where _WIN32_WINNT was
2008-08-14 23:29:25 +00:00
Kalle Sommer Nielsen
540326c31f MFH:
* Remove NTDDI_VERSION declaring and use the one in config.w32.h
* Remove another _WIN32_WINNT macro redef in win32/time.c
2008-08-13 22:40:39 +00:00
Pierre Joye
62b18f019b - MFH: add dll path to mkdist default path 2008-08-05 11:47:17 +00:00
Pierre Joye
cb10c3be61 - MFH: add new default dir (old still works) 2008-08-01 11:25:42 +00:00
Pierre Joye
c501d5f2a4 - MFH: new usual suspects 2008-07-31 23:05:52 +00:00
Pierre Joye
1e820eca02 -MFH:
- #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:50:35 +00:00
Pierre Joye
473a96ba3d - MFH: 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:45 +00:00
Kalle Sommer Nielsen
04be84748f Fix macro redef 2008-07-20 20:17:48 +00:00
Steph Fox
6931789f31 - Happy New Year!
(better late than never, eh?)
2008-07-20 02:20:31 +00:00
Steph Fox
aca8bb5757 - Update get_define() calls to reflect earlier change in return value on failure
- Rename output files (to avoid that build option for "php5ts.exe")
- Add libpath to intermediate dir path (avoids a naming collision that wasn't there last week)
- Don't make assumptions about trailing whitespace in incoming data
2008-07-20 01:19:45 +00:00
Steph Fox
9a5f2e1b79 - Fix logic in get_define() 2008-07-19 19:02:59 +00:00
Steph Fox
e19914f5b5 - Rejig REMOVE_TARGET
- Tidy ADD_EXTENSION_DEP
- Put summary output in alphabetical order
2008-07-19 16:57:58 +00:00
Steph Fox
130c53263c - Make SAPI include paths work (on my box at least) 2008-07-18 17:35:37 +00:00
Steph Fox
18911142e2 - Make REMOVE_TARGET work in all cases 2008-07-18 15:45:03 +00:00
Steph Fox
893c55f2bc - SAPIs are go.
Caveat: aolserver, isapi, nsapi, pi3web and (obviously) Linux-specific modules not tested.
2008-07-18 02:53:06 +00:00
Pierre Joye
1fdd27500b - MFH: CS/WS 2008-07-17 17:31:35 +00:00
Steph Fox
640270c4dc Update README to reflect current state of play 2008-07-16 22:30:12 +00:00
Steph Fox
3dcb59a05a - A bit more finesse for .dsp generation
- Builds (on my box) for cgi or cli
- This is still VC6-only at present
2008-07-16 22:25:46 +00:00
Matt Wilmas
bc8b11ce02 MFH: Prevent build failure after closures 2008-07-14 10:15:31 +00:00
Pierre Joye
8c7c445404 - wrong bracket position while mergin 2008-07-13 09:34:08 +00:00
Pierre Joye
92f5c267f6 - MFH: support for new naming 2008-07-12 23:42:25 +00:00
Steph Fox
9e2f3c57d0 This looks more than it is due to ws/cs and minor fixes in it...
- Fixes logic in dependency check
- Fixes logic in AC_DEFINE error message
- Prevents shared extensions from building if a hard dependency is missing altogether
- Cleans up errors/warnings/messages for all scenarios
- Changes a function call to the new project support
2008-07-12 15:04:39 +00:00
Steph Fox
bcff952f23 - It's amazing the havoc one little misplaced bracket can cause... 2008-07-09 15:47:06 +00:00
Steph Fox
4fd2b80786 - Clean up ws/cs a bit and add some comments 2008-07-09 14:57:14 +00:00
Steph Fox
208d851444 - Embryonic project file generation. Use buildconf --add-project-files and hopefully it'll work.
- Please read the README before complaining.

@Stas, Rob - please test.
2008-07-09 08:15:46 +00:00
Pierre Joye
09e0bc6c90 - MFH:
- use ARG_ENABLE for the summary option
 - move test if summary function
2008-07-07 13:51:35 +00:00
Pierre Joye
5d04f639de - move common functions to confutils
- rename the summary option to reflect its usage (Enable Sumamry, yes)
2008-07-07 13:32:55 +00:00
Steph Fox
e22ec182ed - Fix up some bits and pieces.
- Always report re2c version.
- Head towards making it possible for all platforms to have compiler info in phpinfo() output.
- Make it possible to switch off configure summary (--without-summary).
2008-07-07 01:23:56 +00:00
Pierre Joye
21bca5add3 - correctly test the VCVERS (four digits now) 2008-07-06 09:55:44 +00:00
Pierre Joye
e78d5ac5c4 -MFH: improve detection of VC version and summary (2k2 and 2k3 are 1300 and resp. 1310) (Thx Marcus) 2008-07-05 19:53:04 +00:00
Pierre Joye
55d2b5862a - add summary function and VC version info 2008-07-02 20:50:18 +00:00
Pierre Joye
1224a66f7d - MFH: re2c detection, PHP_VERSION 2008-07-02 20:49:12 +00:00
Rui Hirokawa
c3286f32ef implemented again zend-multibyte for PHP 5.3 2008-06-29 08:21:35 +00:00
Pierre Joye
9118a7c671 - use stdout for MESSAGE (thx Steph) 2008-06-23 11:44:21 +00:00
Pierre Joye
cb417c55ac - add a MESSAGE function
[DOC] to be used instead of STDOUT in config.w32, it allows them to be redirected (like in a quiet mode)
- add the list of enabled SAPI
- improve the table output
2008-06-23 08:11:31 +00:00
Pierre Joye
4dcfb9a03f - fix ADD_EXTENSION_DEP detection so it can match it anywhere in a line 2008-06-23 07:55:03 +00:00
Pierre Joye
1c0dbe6e09 - bindlib has its own package 2008-06-22 23:16:31 +00:00
Pierre Joye
b613e76c8b - return true/false when a dep addition was succeeded or not 2008-06-22 23:15:54 +00:00
Pierre Joye
2c8f57778c - add a list of the enabled extensions and how they are built (shared or static
list of SAPIs and libs used will follow shortly (to be used as QA check during the builds and as convenience)
2008-06-22 20:51:57 +00:00
Steph Fox
fd10eb318e - ext/standard currently has a dependency on ext/ereg thanks to browscap.c 2008-06-19 17:43:38 +00:00
Steph Fox
05ce8031ad - '' != 'no' 2008-06-19 17:14:43 +00:00
Elizabeth Marie Smith
7d4dfa8ee4 Windows configure fixes, a few additional lib names allowed, apache2 only on for zts builds since apache on win is always threaded, isapi no longer stops configure in non-zts mode, look for _debug for debug libraries when debug is enabled 2008-05-14 03:13:17 +00:00
Steph Fox
a439cc70c6 - s/rmdir/rd
- Patch supplied by Richard Quadling
2008-05-09 11:20:09 +00:00
Steph Fox
fe4a9a3fc4 - Introducing nmake clean-all
- This should probably be merged with nmake clean, but I've no way to test the impact on distro builds.
2008-05-03 21:12:55 +00:00
Steph Fox
d19418e53c - re2c requirement update
(sorry, I thought I'd committed this ages ago)
2008-04-24 16:04:59 +00:00
Steph Fox
5d9e5bbd8d - Workarounds are no longer needed - thanks PECLers! 2008-04-14 17:55:02 +00:00
Hannes Magnusson
5881476266 MFH: Update URL for go-pear 2008-04-11 21:57:58 +00:00
Steph Fox
b4103c390f - Allow most of the existing strangely-named headers to get by 2008-03-31 09:17:25 +00:00
Steph Fox
36db7c60c9 Revert "minimum version requirement" until there's a version to match it 2008-03-31 00:28:16 +00:00
Steph Fox
2b27e2c8a4 Another thing version_compare() allows... 2008-03-24 15:11:46 +00:00
Steph Fox
0726c79d7e - Extend that regexp (again)
- Revert the changes affecting external template.rc files
2008-03-23 21:59:31 +00:00
Steph Fox
ab8ddf1b78 Don't break PECL extensions that are oh-so-nearly doing The Right Thing [TM]
(mcve, runkit, win32ps)
2008-03-22 22:16:55 +00:00
Marcus Boerger
0893c3e2c9 - Another re2c version bump and scanner regeneration
# It appears no one has used re2c in the way we do
2008-03-22 17:59:52 +00:00
Steph Fox
fc2eed70ef Allow Stas his "1.0.0RC1-dev" 2008-03-22 09:33:31 +00:00
Steph Fox
a007d591bf Independent versioning for PECL extensions (and only PECL, for now)
This affects the RC template used to ship information with the DLL in Windows distributions - nothing else.
It will potentially affect 13 PECL modules at present (and yes I do know which ones!)
2008-03-22 09:07:59 +00:00
Steph Fox
b72b4ce87e Allow Elizabeth's favourite function to accept 2-4 sets of digits in version. 2008-03-20 15:03:20 +00:00
Rasmus Lerdorf
10afe5d96b Make the sigsetjmp change more robust. On systems that don't have
sigsetjmp use setjmp.  Windows is of course weird in that it seems to
have sigsetjmp but not sigjmp_buf (??) so force it to use setjmp in
config.w32.h.in
2008-03-18 21:14:28 +00:00
Steph Fox
7e38f9b2af Generic function for binary probes, kill the other two. And get rid of the annoying double check for CL. 2008-03-18 17:10:20 +00:00
Steph Fox
7c8ff91218 You might as well have 'the Steph special' too :-)
I can never remember the cscript line, so let's just have 'configure' instead.
2008-03-18 03:23:14 +00:00
Steph Fox
766b6b606e re2c checking.
If it's not installed, the least scary of messages goes out.
If it's installed but older than the required version, the download link is given.
2008-03-18 03:12:42 +00:00
Stanislav Malyshev
e345eb5e38 fix win32 build 2008-03-17 17:29:13 +00:00
Scott MacVicar
bd4c0ced50 Fix build on Windows 2008-03-17 17:06:51 +00:00
Scott MacVicar
b89071ec06 Make re2c required 2008-03-16 23:54:06 +00:00
Marcus Boerger
33da0b6a7b - No more flex underwindows either 2008-03-16 22:26:42 +00:00
Marcus Boerger
31ee06f0aa - Update windows build script 2008-03-16 22:16:56 +00:00
Marcus Boerger
af316021e8 - Rewrite scanner to be based on re2c instead of flex
The full patch is available as:
  http://php.net/~helly/php-re2c-5.3-20080316.diff.txt
  This is against php-re2c repository version 98
  An older patch against version 97 is available under:
  http://php.net/~helly/php-re2c-97-20080316.diff.txt
2008-03-16 21:06:55 +00:00
Pierre Joye
af15fe6531 - 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:26:15 +00:00
Stanislav Malyshev
529c17665f fix build 2008-01-23 19:55:37 +00:00
Rob Richards
38ac30162f MFH: add errors when missing dependencies (Steph) 2008-01-10 18:21:56 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Elizabeth Marie Smith
bcc718d971 Allow passing additional configuration parameters to config.nice.bat 2007-11-14 19:38:57 +00:00
Stanislav Malyshev
186e34c875 add glob wrapper 2007-11-07 19:47:38 +00:00
Edin Kadribasic
f1bcbb97ea MFH (and build fix) 2007-10-12 07:58:32 +00:00
Jani Taskinen
aa3eee1dce MFH:- Moved the old regex functions to own extension: ereg 2007-10-05 15:00:09 +00:00
Jani Taskinen
2bc631fb40 MFH:- Added common getopt implementation to core.
MFH:- Added long-option feature to getopt().
MFH:- Made getopt() available on win32 systems.
MFH:  Patch by: David Soria Parra <dsp@php.net>
[DOC]: These changes will be available from 5.3+

# Note: Fixed also tests and synced basic_functions.c with HEAD.
2007-10-01 12:40:54 +00:00
Jani Taskinen
8684e7495f MFH: - Made build system less major version dependant to ease MFB/MFH 2007-07-26 22:45:59 +00:00
Derick Rethans
51431a7660 - MFH: 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:53 +00:00
Johannes Schlüter
dc8d09bbbd - MFH: Always enable mail() function 2007-07-11 17:36:56 +00:00
Dmitry Stogov
c327dec913 Fixed bug #41192 (Per Directory Values only work for one key) 2007-05-02 10:16:34 +00:00
Dmitry Stogov
6a8b3db8bc Fixed buffer overflow 2007-04-22 10:25:18 +00:00
Nuno Lopes
b6fac40b3a update install instructions (auto-generated from phpdoc XML sources) 2007-04-20 14:13:47 +00:00
Rob Richards
b6b312c020 add file locking under windows
change win build to use common clock compat files
2007-04-18 09:38:59 +00:00
Dmitry Stogov
e1814f0dbe WIN64 support 2007-04-16 08:09:56 +00:00
Dmitry Stogov
08daab9d1c Initial WIN64 support 2007-04-10 06:22:28 +00:00
Edin Kadribasic
e77f670ba0 Make DLL only once (Wez) 2007-03-19 03:15:48 +00:00
Edin Kadribasic
730a77f19b Check that manifest file exists before trying to embed it 2007-03-04 00:41:16 +00:00
Marcus Boerger
50ea26760d - Avoid sprintf, even when checked copy'n'paste or changes lead to errors 2007-02-24 02:17:47 +00:00
Nuno Lopes
3e45bc0a51 update install instructions from phpdoc XMl sources 2007-01-19 19:25:02 +00:00
Frank M. Kromann
2cca49ac01 MFH: Kill warnings when mt is not installed or is found as the tape command under cygwin 2007-01-13 03:32:28 +00:00
Edin Kadribasic
fec9895fc3 MFH: Make mt more silent 2007-01-08 00:27:06 +00:00
Ilia Alshanetsky
2df7386475 Update copyright year
# The rest of the files were already updated by Sebastian
2007-01-01 19:32:10 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Dmitry Stogov
53b088e60c Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make any 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:49:33 +00:00
Edin Kadribasic
7e77d79b3c Enable full build with newer Microsoft compilers 2006-12-19 10:26:01 +00:00
Dmitry Stogov
8f5786b6e8 Removed unused zend_mm.* 2006-12-05 08:07:57 +00:00
Frank M. Kromann
a6b3682dba Fix win32 build 2006-12-01 20:17:50 +00:00
Dmitry Stogov
c1ba4fc989 Fixed VC2005 support 2006-11-14 14:20:26 +00:00
Dmitry Stogov
9b5a57f548 Fixed problem with spaces in libpath 2006-11-14 14:10:53 +00:00
Dmitry Stogov
532b02cd19 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:07 +00:00
Dmitry Stogov
41c81f20e1 opendir() is reimplemented using GetFistFile/GetNextFile those are faster then _findfirst/_findnext 2006-11-10 11:20:48 +00:00
Dmitry Stogov
fedc06d290 Fix warnings 2006-11-10 10:38:07 +00:00
Dmitry Stogov
bcfc501ca6 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:46 +00:00
Dmitry Stogov
9fd2b6deb4 Simplify the code base as this getpwd() was used only once 2006-11-10 09:56:16 +00:00
Stanislav Malyshev
dd48748f5a fix VC build:
- update PCRE defines
- create timelib_config.h
- update .def dependencies
2006-09-13 17:33:24 +00:00
Stanislav Malyshev
286a9db9df fix fcgi build 2006-09-13 17:23:16 +00:00
Edin Kadribasic
8251f8b8d0 MFH: Obsolete, prepaing for new installer script 2006-09-01 20:25:32 +00:00
Nuno Lopes
e43dc5c95b sync install instructions with the phpdoc xml sources 2006-08-09 23:22:49 +00:00
Dmitry Stogov
58c2278284 Added version specific registry keys to allow different configurations for different php version. 2006-08-03 13:54:05 +00:00
Dmitry Stogov
29ed52ffa4 New memory manager 2006-07-18 09:06:33 +00:00
Dmitry Stogov
6c310f9c0a New crypt() implementation for win32 which is about 10 times faster and has more friendly license. 2006-06-16 05:57:18 +00:00
Stanislav Malyshev
1ebb0590bd improve .dsp build 2006-06-05 09:02:28 +00:00
Edin Kadribasic
ff27860a66 Enable separate build dir for SAPIs, the same way it is possible for EXTENSIONs 2006-05-07 00:04:56 +00:00
Frank M. Kromann
fa94d911df Revert patch for pdb files. No need to have it twice! 2006-04-29 14:33:46 +00:00
Frank M. Kromann
6ba807db50 Add new configure option --enable-pdb-files
This will generate .pdb files for debugging
2006-04-29 06:24:38 +00:00
Dmitry Stogov
9d6e4964a1 Fixed bug #36568 (memory_limit setting on win32 has no effect) 2006-03-14 14:19:00 +00:00
Marcus Boerger
5a69b29082 - Warning fixes by Steph 2006-02-26 10:57:00 +00:00
Johannes Schlüter
b0f0192f0c - MFH: Fix charset 2006-02-08 21:09:18 +00:00
Johannes Schlüter
991c753bc5 - MFH: It's 2006 and PHP 5 2006-02-08 21:03:36 +00:00
Dmitry Stogov
bc410c3863 Fixed first-chance exception during request shutdown 2006-01-16 14:26:07 +00:00
Marcus Boerger
1cfcdf6612 - MFH 2006-01-11 20:31:05 +00:00
foobar
6486069a3f MFH 2006-01-06 02:04:33 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
Wez Furlong
b041abbb4e Fixes for building with vs.net 2005. 2005-12-14 02:01:13 +00:00
Rob Richards
673dc5ee5f fix build - zend_reflection_api.c is no more 2005-12-01 11:11:46 +00:00
foobar
d23ad35375 sync with docs (?) 2005-12-01 00:42:13 +00:00
Frank M. Kromann
a6a9dc2eec /Gz and /RTC1 is for debug builds 2005-11-22 00:29:56 +00:00
Sebastian Bergmann
abe364335b Use /RTC1 instead of /GZ for MS VisualStudio 2005. 2005-11-20 17:03:14 +00:00
Edin Kadribasic
f0c27e68b2 Fix building of extensions that inlcude extname/header.h 2005-09-22 13:16:30 +00:00
Derick Rethans
5e33a09f20 - MFH: Fixed definition in correct file. (Patch by Nuno) 2005-09-21 08:41:16 +00:00
Edin Kadribasic
87071cf1d6 Added --add-modules-dir option to buidconf.js:
If this option is not specified buildconf.js will search for PECL
in the usual places (pecl, ../pecl).
Now it is possible to specify in which dirs additional modules reside
with say:
cscript /nologo win32/build/buildconf.js --add-modules-dir=../pecl_5_1 \
  --add-modules-dir=../php-gtk2
2005-09-17 20:00:01 +00:00
Wez Furlong
812c1e0475 MFH, compiler detection 2005-08-12 20:08:14 +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
Edin Kadribasic
60a2ea476b Nuke references to InstallShield 2004-07-30 12:40:35 +00:00
Edin Kadribasic
6b8544ace5 Update for php5 2004-07-30 09:59:26 +00:00
Edin Kadribasic
bef5858483 s/php.exe/php-cgi.exe 2004-07-30 09:29:43 +00:00
Wez Furlong
dafda8936b Missing return statement 2004-07-29 03:58:00 +00:00
Wez Furlong
cde7423cde Misc. win32 thread safety fixes. 2004-07-29 02:59:44 +00:00
Zeev Suraski
2682bbd2b0 Fix Windows build 2004-07-22 08:06:52 +00:00
Edin Kadribasic
5e605e6dc2 Added memory-limit to the list of excluded force-on options 2004-07-07 12:25:10 +00:00
Ilia Alshanetsky
ccc580f408 Fixed memory leak on error in win32's opendir() emulation. (Patch by Wez) 2004-06-09 14:18:14 +00:00
Wez Furlong
32956a25bf add "clean-pecl" rule for nuking pecl objects 2004-05-25 12:57:45 +00:00
Wez Furlong
8d9ced8282 Fix #27638: not cleaning up object files in win32 build 2004-05-18 21:07:01 +00:00
Wez Furlong
0460174a0d Primitive support for probing headers for functions using a regexp 2004-05-18 09:58:45 +00:00
Wez Furlong
6571a32c87 Add --enable-memory-limit configure option (defaults to off) 2004-05-13 12:14:56 +00:00
Zeev Suraski
9518107e8e Fix Win32 build 2004-05-10 12:06:09 +00:00
Wez Furlong
38795b88ed Add "--disable-all" switch, which will force all arguments to "no" if
they are not specified explicitly. (like the snapshot build, but in
reverse).
2004-04-29 00:17:09 +00:00
Wez Furlong
8307c0204c Fix bug that prevented --without-gd from working 2004-04-15 16:09:36 +00:00
Frank M. Kromann
b2913063e0 Remove debug output 2004-04-08 19:08:37 +00:00
Wez Furlong
5e8d0919cf Add code to fetch the pear bundle based on pear/go-pear-list.php
For the moment, this is turned off, but it should be turned on ready for
the next RC.
(waiting for feedback from Edin and the PEAR guys)
2004-04-08 13:36:11 +00:00
Frank M. Kromann
d956e33ed2 avoid deleting needed files when the .cvsignore file contains empty lines (mysqli) 2004-04-07 18:48:23 +00:00
Sara Golemon
60baea9671 Update sample SAPI locations. BugFix# 27829 2004-04-02 20:32:41 +00:00
Marcus Boerger
96b6c7f5f8 Windows part of NAN/INF 2004-03-29 18:58:28 +00:00
Marcus Boerger
861790dede atof("NAN")/atof("INF") do not work there 2004-03-27 01:00:52 +00:00
foobar
44dfac9d96 - Fixed bug #27368 (php.ini-* has lone CR in the end)
# regex taken from win32/sendmail.c (suggested by Sara)
# And Andrei invited Wez to his speech on the cruise.. :)
2004-02-25 23:38:03 +00:00
Wez Furlong
6d131cefc0 name the pecl bundle pecl-foo instead of php-foo-pecl. 2004-02-12 17:58:52 +00:00
Wez Furlong
2c3c75ae55 ensure that install exists before copying files. 2004-02-12 13:01:14 +00:00
Wez Furlong
08a1b6c476 Tidy up "nmake clean" for people that don't have a PECL checkout.
Be paranoid when building a snapshot: if the module is not a core
module (eg: it comes from outside of ext or sapi) and it defaults to "yes",
then force it to become shared.  This will prevent a pecl ext from
accidentally being compiled statically into the core, and prevent that
ext from breaking the core build.  You can still manually force a static
build by explicitly specifying the args for that extension on your configure
line.
2004-02-12 12:30:41 +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
848684fa96 make usleep actually work properly 2004-01-13 02:07:04 +00:00
Wez Furlong
4a7577e4ab include PECL targets in snap build... 2004-01-10 01:11:42 +00:00
Wez Furlong
143ca63846 let informix build 2004-01-09 15:11:31 +00:00
Wez Furlong
fc1d460a99 add a rule to clean pecl things; split up the command line into 3 to
try to avoid possible problems with line-length under VC6
2004-01-09 13:32:20 +00:00
Wez Furlong
2aa33945fc Separate pecl extensions and sapi into their own target, and have mkdist.php
create a separate pecl dir and zip when building a win32 snapshot.
2004-01-09 13:17:58 +00:00
Wez Furlong
af1522ad2d fix PHP_SPL problem when you don't have a pecl checkout. 2004-01-09 11:19:40 +00:00
Wez Furlong
510dd7cca5 add optional dep on spl for simplexml.
Fix dep handling in buildconf
2004-01-08 21:53:48 +00:00
foobar
ccfc46b0aa - Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Wez Furlong
611c69b816 update copyright year in win32 resource template 2004-01-08 10:58:27 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
foobar
8d236fc234 - remove non-existing project 2004-01-08 01:46:13 +00:00
Wez Furlong
4a17522353 Change ordering of CFLAGS for built sources, so that extension specific include dirs
occur before more global include dirs.
This avoids problems when building a bundled lib and you have headers from an
external version of that lib in your global include dir.
2004-01-08 00:25:48 +00:00
Frank M. Kromann
b4fab399f7 Adding new com_dotnet source files to project 2004-01-08 00:22:20 +00:00
Wez Furlong
772875537f win32 build:
gd should build shared by default
don't use php.ini when running mkdist.php
2004-01-07 23:36:36 +00:00
Wez Furlong
f5e4590fd5 tweak snap build 2004-01-07 23:11:54 +00:00
Wez Furlong
48b96c10d2 glob-ify lib checks; this simplifies writing of config.w32 files a little. 2004-01-07 20:06:32 +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
03d426f6a6 implement our own tiny little dependcy tracker and use
it to build distros.
2003-12-23 15:33:13 +00:00
Wez Furlong
8f3f09f315 Attempt to work around apparent problems with WshShell.CurrentDirectory.
# Andi, please try this now
2003-12-23 13:10:54 +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
Wez Furlong
475821225d Implement a glob() function for use by win32 configure. 2003-12-23 01:55:33 +00:00
Wez Furlong
482ae86d1f win32 buildconf now honours extension dependencies and will
try its best to ensure that the config.w32 files are amalgamated
in such a way that modules are processed before their dependents.
2003-12-23 01:54:07 +00:00
Frank M. Kromann
86c302f590 Use a variable name so this actually works. 2003-12-23 00:36:32 +00:00
Frank M. Kromann
3a6a3dd816 Fix build when both a path and the keyword shared is given
Now works for both <path>,shared and shared,<path>
2003-12-23 00:17:15 +00:00
Wez Furlong
4b76493f1e Don't annoy people building snaps/dists using VC6 2003-12-22 22:48:29 +00:00
Wez Furlong
fc292fc259 For GD, build the extension as php_gd2.dll instead of php_gd.dll.
Thanks again Frank :-)
2003-12-22 22:33:43 +00:00
Wez Furlong
42ed91f94c Fix bug #26692; Could not find GetLongPathNameA under NT4.
This fix relies on you having the Platform SDK headers.
Using the new build system, the NewAPIs.h header will be detected
automatically, however, for people building using .dsp files,
you will need to add /DHAVE_NEWAPIS_H=1 to the TSRM project
if you have those newer headers.
2003-12-22 15:01:05 +00:00
Wez Furlong
113165bd95 Add --enable-snapshot-build configure option for win32 build.
Using it will attempt to switch on any configure options that
were left to their default value of "no".

Add a "snap" target to the makefile which will run a sub-process
to make each SAPI and EXT independently, so that the whole process
does not bail out if a particular extension is broken.

Add a way to specify dependencies between extensions in the
config.w32 files so that the makefile will include appropriate rules
and linkage.
2003-12-22 13:13:39 +00:00
Wez Furlong
deb3bff21a Forgot to add embed config.w32, and tweak version resource when CREDITS file is missing. 2003-12-19 23:19:19 +00:00
Wez Furlong
4084ed9edf Export flock for win32 2003-12-19 23:18:14 +00:00
Wez Furlong
331dc79254 More things for the new build system.
Pi3Web and aolserver build untested (no headers and libs for those here)
2003-12-19 20:39:04 +00:00
Wez Furlong
9ecd238b6b don't overwrite internal_functions.c if the content did not change;
this saves re-linking php*.dll when you add shared extensions to
your config.
2003-12-19 16:55:59 +00:00
Wez Furlong
ee44dd3d79 "Real" cvsclean, works as the unix version does 2003-12-19 12:51:19 +00:00
Wez Furlong
a3075773ee Refinements for new build system:
- Add major + minor version to .dll and .exe headers during linking
- Handle pecl build dir correctly when pecl is a sibling of php-src
- try and guess where your cygwin utils are installed (if you have them)
  so that we can detect bison, flex etc.
- other little refinements
2003-12-19 12:50:11 +00:00
Wez Furlong
7027baee22 this should be an int 2003-12-19 12:44:22 +00:00
Wez Furlong
33ed73cb51 make it totally safe again 2003-12-18 11:32:19 +00:00
Wez Furlong
8959c7bc0d make sure this is initialized to NULL as we don't check the return
value of the FormatMessage function; we could end up using a stale
pointer.
2003-12-18 11:16:16 +00:00
Marcus Boerger
e649692565 Leak for b3 and find a better solution until RC1 2003-12-18 11:05:20 +00:00
Marcus Boerger
490fd0eaf2 Fix a memleak: A second call to *nix version of dlerror() frees the error
string. This behavior is also adapted to the win build so that the buffer
returned by FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER) can be freed too.
2003-12-17 11:20:35 +00:00
Ilia Alshanetsky
c3043fb2e4 Removed unused variable. 2003-12-15 03:15:50 +00:00
Frank M. Kromann
819b2e56f9 Exporting symbols used in the imap extension 2003-12-08 22:10:42 +00:00
Rob Richards
c821c5b189 export libxml2 and iconv symbols
extensions no longer link against either of those
2003-12-08 12:56:47 +00:00
Wez Furlong
72f73b7785 tweak build so that it mirrors the source filesystem layout under the build dir. This allows GD extension to build. 2003-12-07 02:58:56 +00:00
Wez Furlong
3be2b8d7e4 Add dist target to makefile that will generate the file layout for
a win32 binary distro under build_dir/_dist_.
This isn't finalized yet, and you need Edin's distro template.
2003-12-06 16:14:03 +00:00
Wez Furlong
fcdda2e8f8 Fix a problem resolving the php.ini path under win32 terminal services environment.
Remove config-file-path option from configure under win32; it is not used except to display what might have been chosen, so lets default to the getenv() thingy.
2003-12-06 16:04:34 +00:00
Wez Furlong
6b679cd6ef fix ipv6 stuff under vc6 2003-12-06 10:32:35 +00:00
Wez Furlong
dbb152b96a Detect and enable IPv6 support under win32.
The ws2tcpip.h header links to IPv6 functions dynamically
and the generated binary will run on win98 and later.
2003-12-06 00:00:31 +00:00