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.
20 years ago
Dmitry Stogov
663ba73ca2
Fixed bug #36568 (memory_limit setting on win32 has no effect)
21 years ago
Ilia Alshanetsky
27e175eef0
So long safe_mode mode.
Also removed the magic_quotes configure option, no longer relevant since
the magic is gone :-).
21 years ago
Johannes Schlüter
c8c6dfc436
- Fix charset
21 years ago
Johannes Schlüter
c416b927f0
- It's 2006 and PHP 6
21 years ago
Dmitry Stogov
9e7ddd51ee
Fixed first-chance exception during request shutdown
21 years ago
Marcus Boerger
d8a53905e9
- Add short size info
21 years ago
foobar
bc8333c42a
- Cleanups:
* unify the address handling to always strip leading whitespace
* ws fixes
21 years ago
foobar
251c5173fd
bump year and license version
21 years ago
foobar
8fa72be4ee
- Nuke php3_compat.h
21 years ago
Frank M. Kromann
720938f4ad
/Gz and /RTC1 is for debug builds
21 years ago
Sebastian Bergmann
ebd645e438
MFB: Use /RTC1 instead of /GZ for MS VisualStudio 2005.
21 years ago
Rob Richards
459b318a56
fix configure - reflection is its own extension
21 years ago
Edin Kadribasic
0a4395a360
MFB: Fix building of extensions that inlcude extname/header.h
21 years ago
Derick Rethans
772af6a3cf
- Fixed definition in correct file. (Patch by Nuno)
21 years ago
Edin Kadribasic
9250fda033
MFB
21 years ago
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.
21 years ago
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).
21 years ago
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.
21 years ago
foobar
45ce16454f
Not used
21 years ago
Andrei Zmievski
264cec8be6
Unicode support.
21 years ago
Frank M. Kromann
f3030472de
avoid version changes for future versions
21 years ago
Frank M. Kromann
64433c46ca
rename dll's to php6
21 years ago
foobar
df5cfe27b4
- Fixed bug #29334 (mail() provides incorrect message time header)
21 years ago
foobar
23e671a51e
- Bumber up year
21 years ago
Edin Kadribasic
88fcc4859f
Allow building gd on windows systems without t1lib (M. Sisolak) #33620
21 years ago
Anantha Kesari H Y
0a89e44ed7
NetWare cleanup
--Kamesh
21 years ago
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).
21 years ago
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...
21 years ago
Wez Furlong
fc92678b05
add --enable-memory-manager switch for win32 too
21 years ago
Frank M. Kromann
1f33f5cb96
USE_ZEND_ALLOC should be defined here too.
21 years ago
Wez Furlong
05cec1dbce
don't screw up the default fd set size when --disable-all is used
21 years ago
Wez Furlong
b227a51201
make "nmake install" more verbose.
21 years ago
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.
21 years ago
Wez Furlong
2a8107ce69
tweaks for a recent addition to cygwin
21 years ago
foobar
e2999b154f
nuked file
21 years ago
foobar
ac53cdfb2f
- Nuked some PECLed extensions
21 years ago
foobar
ab5072df2a
Removed non-existing sapi/activescript dsp
21 years ago
Edin Kadribasic
2d45bbb9cf
Updated install instructions from the documentation project (Philip Olson)
22 years ago
Edin Kadribasic
35f051b502
Use PEAR bundle from the build template
22 years ago
Zeev Suraski
6e6a1f0e69
Merge registry fix
22 years ago
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!
22 years ago
Edin Kadribasic
b8a6661c81
Allow arbitrary files to be added to distro with ADD_DIST_FILE(filename)
22 years ago
Edin Kadribasic
bf3ec794f1
Added .reg files to the disto (were added manually)
22 years ago
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
22 years ago
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.
22 years ago
Edin Kadribasic
e2974d755d
Offical zip files have -Win32 suffix
22 years ago
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
22 years ago
Wez Furlong
a92ae61cb8
fix snaps
22 years ago
Rui Hirokawa
c7ebef660a
added --enable-zend-multibute for win32
22 years ago