1
0
mirror of https://github.com/php/php-src.git synced 2026-04-23 16:08:35 +02:00
Commit Graph

220 Commits

Author SHA1 Message Date
Hartmut Holzgraefe d3b94f4bd1 required ext. header files may be specified in <deps> 2003-04-23 16:24:24 +00:00
Hartmut Holzgraefe 18829205ca enable resource lookup by name 2003-04-23 16:20:48 +00:00
Hartmut Holzgraefe c1fb09e34e Resource handling fixed and improved:
- resources may have an additional type specifier in prototypes
- the 'alloc' attribute specifies whether to emalloc/efree
  the resource payload in generated code or not

Example code generation for function return types

Small docbook generation fixes in function documentation
2003-04-23 16:19:08 +00:00
Hartmut Holzgraefe e52ba40084 start to parse the <deps> tag -> support both C and C++ extensions 2003-04-23 16:09:23 +00:00
Hartmut Holzgraefe 31d5ab51b0 Project programming language may be specified in <deps> tag
for now only 'c' and 'cpp' for c++ are supported
2003-04-23 15:55:00 +00:00
Hartmut Holzgraefe c75f3e6e88 protect string from CVS keyword expansionCVS: ---------------------------------------------------------------------- 2003-03-20 20:20:37 +00:00
Hartmut Holzgraefe 4cb4676ac9 docbook fixes 2003-03-15 22:38:01 +00:00
Hartmut Holzgraefe 9b178b52ee thinko fix to kill warnings 2003-03-15 22:37:03 +00:00
Hartmut Holzgraefe bd43d88905 docbook typo fix 2003-03-15 22:35:34 +00:00
Hartmut Holzgraefe e2b1372088 make sure the function name in the proto matches the function 2003-03-15 22:34:32 +00:00
foobar 3c9155e0cb Renamed OnUpdateInt -> OnUpdateLong to prevent further misunderstandings.
# Intentionally left out any 'alias' for it, this way 3rd party extension
# maintainers will really NOTICE the change.
2003-03-07 05:15:28 +00:00
Wez Furlong 57f114969a Add streams headers to those used for shared extensions. 2003-03-01 13:52:11 +00:00
Hartmut Holzgraefe 5810393142 callbacks are now supported
(although there's still room for improvements)
2003-02-28 10:30:40 +00:00
Hartmut Holzgraefe 40a3530d8e - support for "callback" type
- proto syntax errors are now passed back to the top level parser
2003-02-28 06:37:05 +00:00
Hartmut Holzgraefe e9787cd2fd support for passing description file name on command line 2003-02-28 06:33:07 +00:00
Hartmut Holzgraefe 86572bd830 "on line #", not "in line #" 2003-02-28 06:30:59 +00:00
Hartmut Holzgraefe 06e43b97a8 added "callback" type (and fixed a stupid typo) 2003-02-28 06:28:53 +00:00
Hartmut Holzgraefe b042f45465 some DTD fixes and <code> as a toplevel element for .c and .h code snippets 2003-02-28 06:28:14 +00:00
Hartmut Holzgraefe f7490c405b forgot to add these two on my last commit :( 2003-02-26 10:06:47 +00:00
Hartmut Holzgraefe edbc369721 - code generation: resources and phpinfo logo
- duplicate code elimination for prototype parsing
- improved phpinfo block (incl. logo)
- some input error checking
- documentation generation for ini-directives, constants
  and resources
2003-02-24 10:57:48 +00:00
Hartmut Holzgraefe 30212544c3 put constants into C output
do not limit int constants to numbers, C #defines are ok as strings
foobar(void) needs special treatment in code generation
2003-02-20 15:19:14 +00:00
Hartmut Holzgraefe 843e3449cf code for the special functions MINIT, MSHUTDOWN, RINIT, RSHUTDOWN, MINFO
and for private internal C helper functions may now be embedded into
the XML specification
2003-02-19 16:02:45 +00:00
Hartmut Holzgraefe f7d6212b9c test specifications for MINIT and friends 2003-02-19 14:50:43 +00:00
Hartmut Holzgraefe 714a6d727e <code> inside <function> was supported but missing from the DTD,
added "role" attribute to support "internal" functions like
MINIT and stuff, "private" C functions not to be published as
PHP functions and "public" implemenations of PHP functions
2003-02-19 14:48:17 +00:00
Hartmut Holzgraefe 889bb70a3f Microsoft Developer Studio project file (.dsp) generation added
for now both config.m4 and .dsp files are generated for the simples
case only (one .c file, one .h file, no external dependencies)
2003-02-19 10:12:28 +00:00
Hartmut Holzgraefe 1dc3726ff2 next generation ext_skel script - initial checkin 2003-02-19 10:07:22 +00:00
foobar 20c43285f7 - Fixed bug: #13561 (--without-pear prevents install of phpize, php-config) 2003-01-28 10:59:12 +00:00
Derick Rethans 32254e0938 - Remove double "Win32 COM" functions line 2003-01-03 10:48:38 +00:00
foobar 11a1519e51 - Add one 'level' more (0 first, 9 last)
# Sascha, maybe we should use that apache2 config-stubs instead?
2002-10-21 03:07:23 +00:00
Jason Greene 94e6810a2a Ignore extensions/sapis named skeleton 2002-03-13 18:39:42 +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
Jeroen van Wolffelaar d85b39e532 Typo 2001-09-26 09:11:49 +00:00
Jeroen van Wolffelaar 6a8a5767c2 4rd run... now also var.Z_* 2001-09-26 08:53:37 +00:00
Jeroen van Wolffelaar b0468809ff Now fixes virtually everything.
Sorry, but I assumed that the original script was correct. Unfortunately, that
wasn't the case.
2001-09-26 08:32:55 +00:00
Jeroen van Wolffelaar f9d71bc3fb And now correctly... and up until 3 levels 2001-09-26 07:58:32 +00:00
Jeroen van Wolffelaar fe000a7391 This fixes most var->Z_* problems 2001-09-26 07:55:13 +00:00
Jeroen van Wolffelaar 0ddd124d1d Should've used my own script... 3rd try. 2001-09-25 22:34:57 +00:00
Jeroen van Wolffelaar eb9390771c Just in case... 2001-09-25 16:06:39 +00:00
Jeroen van Wolffelaar ab0acab993 Enhance to also process objects, and be more verbose 2001-09-25 15:57:58 +00:00
Zeev Suraski 25394d7c0a Whitespace 2001-08-11 20:18:22 +00:00
Sascha Schumann 7566cf7f27 Fix special treatment of zlib by introducing the Apache concept
of config.m4 hierarchies.
2001-05-11 20:09:31 +00:00
Andi Gutmans eb6ba01d1c - Fix copyright notices with 2001 2001-02-26 06:11:02 +00:00
Hartmut Holzgraefe c534109bce filename wildcards in a c comment were a bad idea 2000-11-23 06:58:14 +00:00
Hartmut Holzgraefe e3dae1013d added a "DO NOT EDIT!" header and regenerated the credits_*h files 2000-11-22 23:20:35 +00:00
Hartmut Holzgraefe e7101eb193 this little scripts will collect the CREDITS files from
all the ext/ and sapi/ subdirectories and put them all
together into ext/standard/credit_[ext|sapi].h
2000-11-22 22:53:33 +00:00
Sascha Schumann 8dad7a5cab A little script for converting source files to the Z_* macros 2000-09-06 14:12:53 +00:00
Sascha Schumann 9c86c11abf These scripts are not in use anymore. RIP. 2000-08-24 13:26:58 +00:00
Stig Bakken 1cb0d88186 Decent configure speedup. Makefiles are now generated only for the
extensions you are including.  Got rid of configure.in.in.
Moved the last Apache-specific files into sapi/apache and made both
static and DSO build work again (it still doesn't run properly).
1999-09-29 15:17:02 +00:00
Stig Bakken 2a854ca8b9 Generalized server-API build process on UNIX. Each SAPI
implementation now has its own directory under sapi/, just like
extensions have theirs under ext/.  To make the final targets appear
in the main dir, the top-level Makefile includes sapi/NN/Makefile.inc
from the selected sapi backend.  This is a plan Makefile stub without
any autoconf substitutions.  Each SAPI backend also has its own
config.m4 like extensions (read at the end of diversion 2) and
config.h.stub files.

Each SAPI backend has to contain:

config.m4: just like for extensions, this file contains
autoconf/automake directives that end up in the configure script.  The
only difference is that the sapi config.m4 files are read in diversion
(output block) 2 instead of 3.  The sapi config.m4 files should set
two variables: PHP_SAPI (which sapi backend to choose) and SAPI_TARGET
(the name of the resulting library or program, previously BINNAME).
If they are not specified, they will default to "cgi" and "php",
respectively.

Makefile.inc: has to exist, has to define "INSTALL_IT" to the command
used to install the final target (or ":" for no operation).  It also
has to define a plain Makefile rule (without autoconf substitutions)
to build $(SAPI_TARGET)

Makefile.am: just what you think.  Make sure your target is called
"libphpsapi_NNN.a", where NNN is the value of PHP_SAPI.

Some testing and fixing probably remains.  To make everything hang
together, I've done some ugly tricks that I can imagine causing some
problems.  I've built and run the CGI version and built the Apache
DSO.
1999-09-27 16:34:28 +00:00