Commit Graph

114 Commits

Author SHA1 Message Date
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
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
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
Pierre Joye
a4cbecd20c - restore W3 flag to get usefull errors (unused vars, etc.) 2009-09-30 11:53:29 +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
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
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
Dmitry Stogov
31c0af245e Fixed floating point mathematic speed degradation (Christian) 2009-03-18 10:18:10 +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
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
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
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
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
16bda08080 - add strto*i64 (VC6, decent compilers/crt have them) 2008-10-20 14:47:33 +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
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
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
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
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
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
1c0dbe6e09 - bindlib has its own package 2008-06-22 23:16:31 +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
36db7c60c9 Revert "minimum version requirement" until there's a version to match it 2008-03-31 00:28:16 +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
b72b4ce87e Allow Elizabeth's favourite function to accept 2-4 sets of digits in version. 2008-03-20 15:03:20 +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
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