Wez Furlong
ce432004be
Fix bcmath build under win32.
...
# These problems occur because winsock2.h MUST be included before
# windows.h.
2003-02-16 12:46:16 +00:00
Sara Golemon
874661a66e
bc_raise() can return a scale lower than that passed into it. While most other bcmath calls won't, it's safest to do a quick check that we're only
...
reducing n_scale, not increasing it.
2003-02-06 22:18:41 +00:00
Andi Gutmans
8603feb6fa
- Please follow coding standards (this isn't java :)
2003-02-04 21:07:40 +00:00
Marcus Boerger
1af77be5fd
fix ZTS build
2003-02-04 21:01:54 +00:00
Sara Golemon
3eab32163c
Bug#13551 bcmath functions should not apply scale to arguments, only to result
2003-02-04 19:03:30 +00:00
Harald Radi
77f7ae3814
revert previous commit
2003-01-16 22:08:00 +00:00
Harald Radi
76adb58b7a
unbreak the build
2003-01-16 21:52:06 +00:00
Sebastian Bergmann
b506f5c8f8
Bump year.
2002-12-31 16:08:15 +00:00
Sara Golemon
04d6f6ab50
Renamed bc_powmod to bcpowmod to keep it inline with existing module
...
functions. Fixed whitespace problem.
2002-12-11 16:28:16 +00:00
Frank M. Kromann
62fb872a4d
Fixing ZTS Build
2002-12-10 19:28:04 +00:00
Sara Golemon
51c9f2c64b
Added support for libbcmath's bc_raisemod function as bc_powmod()
2002-12-10 19:04:27 +00:00
Marcus Boerger
4ce4a1c32c
php_error -> php_error_docref
2002-12-05 21:53:25 +00:00
Sander Roobol
348b429b5b
Remove all traces of _bc_Free_list - it's not used anymore
2002-11-29 17:59:30 +00:00
Martin Kraemer
f3845c3ae0
Portability: The header contains the declaration; while the source ext/bcmath/libbcmath/src/init.c has the definition
...
(otherwise some compilers complain about 'duplicate symbols')
2002-11-28 08:26:14 +00:00
Sander Roobol
f200f739d8
Made bcmath extension thread safe.
...
@Made bcmath extension thread safe. (Sander)
2002-11-22 09:25:29 +00:00
Sander Roobol
b8cf1a369f
Hardcode the bcmath.scale ini-entry
2002-11-21 16:16:38 +00:00
Sander Roobol
f4ffead6fa
Adding tests for the bcmath extension
2002-11-21 15:24:45 +00:00
Andi Gutmans
32fcc74395
- CVS nuked number.* so we'll nuke it from the build:)
2002-11-20 21:16:39 +00:00
Andi Gutmans
b0528dbe5e
- Revert previous patch
2002-11-20 20:03:01 +00:00
Andi Gutmans
e6b7ab9db8
- Intermediate commit which works on making bcmath thread-safe.
2002-11-20 19:48:12 +00:00
Anantha Kesari H Y
06e2fabc02
To include the NetWare config file
2002-09-04 11:20:18 +00:00
Dan Kalowsky
4e3cb1d3c5
Bug Fix #18960 - Submitted by alan_k@php.net
2002-08-18 04:33:10 +00:00
Derick Rethans
8967b5725b
Unify error messages
2002-06-26 07:24:47 +00:00
Andi Gutmans
52c941dc01
- Nuke use of persist_alloc(). This can't be used with a new memory manager
2002-06-18 18:51:33 +00:00
Sascha Schumann
94a3c1e7a4
empty files, let them go
2002-03-18 14:37:22 +00:00
jim winstead
d3400b2b5f
the 'setup' script was removed more than two years ago.
...
these can be safely removed from the 4.2 branch, too.
2002-03-16 00:21:40 +00:00
Sascha Schumann
9d9d39a0de
Please welcome the new build system.
...
If you encounter any problems, please make sure to email sas@php.net
directly.
An introduction can be found on
http://schumann.cx/buildv5.txt
2002-03-07 14:20:02 +00:00
Sebastian Bergmann
90613d2282
Maintain headers.
2002-02-28 08:29:35 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
foobar
f1397d5339
Unified the configure messages.
2001-11-30 19:00:13 +00:00
Stig Bakken
689252082c
* zend_module_entry change: apino, debug and zts are moved first,
...
see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)
2001-10-11 23:33:59 +00:00
Jeroen van Wolffelaar
c033288573
Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.
2001-09-25 21:58:48 +00:00
Derick Rethans
78747bd2df
- Don't wrap lines... this is annoying while coding.
2001-09-09 13:29:31 +00:00
Zeev Suraski
f6f6c4d7e6
Whitespace
2001-08-11 16:39:07 +00:00
Zeev Suraski
797a079a95
More TSRMLS_FETCH work, and a bit of cleanup
2001-07-30 06:18:13 +00:00
Rasmus Lerdorf
81e2cf03ac
Fix folding and clean up some extensions
2001-06-06 13:06:12 +00:00
Stig Bakken
1beda9ee1e
* include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build)
2001-05-24 10:07:29 +00:00
Wilfredo Sanchez
cb71c4c2d0
Separate CPPFLAGS from CFLAGS.
2001-04-03 23:30:49 +00:00
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
2001-02-26 06:11:02 +00:00
Sascha Schumann
7e28784de3
Fix indentation of configure output
2000-12-06 17:34:58 +00:00
Sterling Hughes
4daab7c982
fix configure --help option name...
2000-11-30 15:20:40 +00:00
Zeev Suraski
8a03f3062f
- Add bcmath to the standard UNIX build
...
- Change a couple of malloc()'s and free()'s to emalloc()'s and efree()'s
2000-11-26 09:34:01 +00:00
Zeev Suraski
c476bce2f1
At long last, import the bcmath library, by Phil Nelson
2000-11-22 20:20:02 +00:00
Hartmut Holzgraefe
1f6878e912
2nd step towards auto-credits
2000-11-20 10:33:33 +00:00
Zeev Suraski
82952f8830
Persist these numbers so that they stay for the duration of the entire process
2000-11-18 12:48:31 +00:00
Zeev Suraski
66c667c974
Fix thread-safety bug in bcmath
2000-11-18 02:59:31 +00:00
Daniel Beulshausen
d667e05543
more cleanup of info code
2000-10-08 11:45:18 +00:00
David Croft
83513d9580
Changed lots of PHP 3 licence headers to PHP 4, mainly in .h files.
...
Added a few RCS $Id$ tags.
# Note: I have avoided changing any .h files if the corresponding .c file
# had not already been changed as I am not sure if there are any legal
# issues here. So some extensions still have PHP 3 headers.
2000-07-24 01:40:02 +00:00
Sascha Schumann
16017f6d78
Change header protection macros to conform to standard.
...
Draft 3 of IEEE 1003.1 200x, "2.2 The Compilation Environment"
All identifiers that begin with an underscore and either an uppercase
letter or another underscore are always reserved for any use by the
implementation.
2000-07-02 23:46:51 +00:00
Andi Gutmans
a9d4cf9023
- Nuke COMPILE_DL. Modules that need to be compiled as dll's in Windows
...
- need to define both COMPILE_DL_MODULE and HAVE_MODULE=1
2000-06-10 08:48:01 +00:00
Andi Gutmans
3701bc4207
- ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
2000-06-05 19:47:54 +00:00
Sascha Schumann
4686a3b50e
Use #ifdef COMPILE_DL_EXTNAME solely.
2000-05-23 09:33:51 +00:00
Zeev Suraski
e043439ff6
Update the license with the new clause 6
2000-05-18 15:34:45 +00:00
Joey Smith
0022a2f81a
I am going to move README-BCMATH to README.BCMATH for consistency.
2000-05-03 04:55:19 +00:00
Sascha Schumann
79a89ef8fe
Make bcmath buildable as shared module
2000-05-02 21:35:08 +00:00
Sascha Schumann
fe50664d4d
#if COMPILE_DL
...
becomes
#if defined(COMPILE_DL) || defined(COMPILE_DL_EXTENSION_NAME)
2000-05-02 00:44:35 +00:00
Sascha Schumann
0d383d9373
Replace the various get_module() functions with a uniform
...
ZEND_GET_MODULE(name) macro.
2000-05-02 00:30:36 +00:00
Sascha Schumann
7613e064f8
Remove trailing empty lines
2000-05-01 22:38:42 +00:00
Sascha Schumann
0d36199cf9
Large test commit IV
2000-05-01 22:04:52 +00:00
Sascha Schumann
de2cea47c0
Large commit test III
2000-05-01 22:00:09 +00:00
Sascha Schumann
a493cdc92c
Large test commit II
2000-05-01 21:57:01 +00:00
Sascha Schumann
fc4b7bac9c
Large test commit I
2000-05-01 21:55:45 +00:00
Joey Smith
b2266104b1
Forgot to mention: Added configure time checking for bcmath package. (Thanks, Sascha!)
...
@ Added configure time checking for bcmath package
2000-05-01 04:02:43 +00:00
Joey Smith
c07dcd1b8d
There was already a perfectly good README-BCMATH, I just found the different naming confusing.
2000-05-01 03:59:55 +00:00
Sascha Schumann
a481fddfb3
Improved in-tree shared libraries build system
...
The following new/revived shared modules are available now:
... MySQL (*)
... PCRE (*)
... Session
... SWF
(*) capable of using bundled library or external library
All changes:
The m4 macro PHP_EXTENSION was revamped. Uses LIB_BUILD now.
This effectively means that all extensions have to use dynlib.
ext/mysql/config.m4 was revamped.
Uses LIB_BUILD for building bundled library.
ext/pcre/config.m4 was revamped.
Uses LIB_BUILD for building bundled library.
ext/ext_skel was changed to reflect that more modules should be
compileable as shared module.
ext/Makefile.in has been simplified enormously.
Dependencies are now stored in the build tree.
Empty dependencies are not generated by buildconf anymore. They
are now dynamically created during the build process.
Implicit rules for .S were removed.
The NO_RECURSION feature was removed.
"libs.mk" has been added to all cvsignore files in ext.
2000-05-01 02:42:55 +00:00
Sascha Schumann
952f58b66d
(The first part of this commit died with a SIGPIPE from the CVS server.)
...
Overall UNIX build system improvements:
* Makefile header is now completely dynamic
* Absolute paths in (top_)?(src|build)dir and VPATH
(fixes Tru64 support)
* VPATH does not contain variables anymore
(fixes UnixWare support)
2000-04-30 03:12:38 +00:00
Egon Schmid
e06c2021c9
More protos.
2000-02-22 15:48:43 +00:00
Zeev Suraski
9b621d1c8f
Get the license right... (this won't make it to RC1 of B4)
2000-02-19 23:21:46 +00:00
Sascha Schumann
d67a4cec24
Add description for AC_DEFINEs
2000-01-12 19:03:34 +00:00
Sascha Schumann
43ae2bffbb
Happy Y2K patch! Happy new year (or the new millennium, depending on whether
...
you start counting at 0 or 1).
2000-01-01 01:32:05 +00:00
Sascha Schumann
2c99bef442
Get rid of config.h.stub. Note that you should embed a comment about
...
what the respective define does into the AC_DEFINE macro. I.e.
AC_DEFINE(HAVE_FOO, 1, [Whether you have FOO])
1999-12-30 04:07:46 +00:00
Sascha Schumann
f2f8d38efa
Integration of -ng changes. Changes:
...
- added support for externally built modules,
- improved support for in-tree shared modules,
- fixed diversion bugs,
- configure displays some informative messages,
- faster static build
(libtool isn't used anymore for compiling non-PIC objects),
- dependencies comparable to automake's without requiring GNU make or GCC,
- working make clean for non-GNU makes.
1999-12-30 02:59:53 +00:00
Evan Klinger
8306501e48
Ex API
1999-12-21 06:11:52 +00:00
Andrei Zmievski
1ad5180f28
getParameters -> zend_get_parameters
1999-12-20 17:34:55 +00:00
Zeev Suraski
4d2b0715d1
libzend -> Zend
1999-12-19 21:02:54 +00:00
Zeev Suraski
fb1c77bd4f
- Made PHP_VERSION and PHP_OS work again
...
- More php3_ cleanup
@- Restored the PHP_VERSION and PHP_OS constants (Zeev)
1999-12-17 20:55:31 +00:00
Danny Heijl
88892c6792
(bcmath) Name of header changed from php3 to php but include forgotten.
1999-12-14 21:44:35 +00:00
Joey Smith
7dfeb4fd21
# Added date/time stamping to php3_log_error
...
@ Preliminary support for date/time stamping in error logs
Preliminary support for date/time stamping in error logs
1999-12-14 18:37:14 +00:00
Sascha Schumann
5b983c944f
Clean up php3.*\.h files. The files itself are renamed, and references in all
...
.*\.[ch] files were changed. There is a slight chance that my script missed
a few changes, please correct them manually.
1999-12-04 19:19:57 +00:00
Sascha Schumann
3dc7757a99
Remove the extra INCLUDES line from most automake Mafiles. This is not
...
necessary, because we can change the value of INCLUDES globally in one
place (configure.in).
Also add two defines in thread-safe mode
(_REENTRANT and POSIX_PTHREAD_SEMANTICS)
1999-11-13 12:41:09 +00:00
Sascha Schumann
232afa4816
* archive-based convenience libraries completely replaced
...
with libtool components
* SAPI targets can enable thread-safe mode and define
shared/static/program build target
* all configure scripts use the same config.cache
* phplibdir is $(top_builddir)/modules to avoid
permission problems
* sapi/*/Makefile.inc are gone
* runpath handling cleaned up
* top-level Makefile.in obsoleted through Makefile.am
* --enable-versioning uses libtool's cleaner and more
portable -export-symbols feature
1999-10-04 15:18:26 +00:00
Stig Bakken
809198b916
Added PHP_WITH_SHARED for checking "shared,*" prefix when configuring
...
extensions.
1999-09-13 17:17:51 +00:00
Zeev Suraski
3cb1eb0471
Removed '3' from key functions in PHP (maintained compatibility through
...
php3_compat.h)
1999-08-02 19:17:14 +00:00
Andrey Hristov
1b2c932cc2
More symbol work.
...
I've defined a few macros to help with module/request init/startup function definitions.
Basically:
PHP_MINIT_FUNCTION(module)
PHP_MSHUTDOWN_FUNCTION(module)
PHP_RINIT_FUNCTION(module)
PHP_RSHUTDOWN_FUNCTION(module)
PHP_MINFO_FUNCTION(module)
These will expand to proper function prototypes.
Now to specify these in the module entry, use:
PHP_MINIT(module)
PHP_MSHUTDOWN(module)
PHP_RINIT(module)
PHP_RSHUTDOWN(module)
PHP_MINFO(module)
I've updated all modules in ext/standard and everything from ext/apache to ext/db.
If you can, please update your module to use these macros.
1999-07-26 20:09:08 +00:00
Zeev Suraski
3b142d5a3d
We'll have to live without these files somehow.
1999-07-17 10:34:01 +00:00
Zeev Suraski
51aa31b671
Dummies
1999-07-17 10:15:42 +00:00
Zeev Suraski
35b3b03fe4
We need to disable bcmath by default
1999-07-17 10:14:04 +00:00
Zeev Suraski
c5724cbd14
License update
1999-07-16 13:13:16 +00:00
Sascha Schumann
b57dc27595
- run ext sources through conv_proto
...
- add necessary phpext_*_ptr
1999-05-21 10:06:25 +00:00
Stig Bakken
9a66ffbaee
* added --enable-thread-safety switch
...
* now generating internal_functions.c
1999-05-03 11:11:23 +00:00
Zeev Suraski
0818d96c97
A lot of cleanups... Removed old thread-safe code and other redundant code and files
1999-04-24 00:12:00 +00:00
Zeev Suraski
6f7c0edee3
Remove tls.[ch]
1999-04-23 20:06:01 +00:00
Zeev Suraski
bce60f0fe6
* MySQL fix (thanks Stig)
...
* Remove reundant includes from bcmath
1999-04-23 12:38:45 +00:00
Stig Bakken
f9f82960d9
moved bcmath
1999-04-21 23:28:00 +00:00