Commit graph

22 commits

Author SHA1 Message Date
Hartmut Holzgraefe
30ff14a2fc add 'extern "C"' where needed for C++
(TODO: shouldn't this be done in the appropriate php headers
and Zend macros themselves?)
2003-05-06 16:53:18 +00:00
Hartmut Holzgraefe
91ab37755f - more code moved to the appropriate php_*.php helper classes
- support for different licenses using the new license classes
- support for platform dependant library dependencies
- coding style/whitespace changes
2003-04-26 16:20:59 +00:00
Hartmut Holzgraefe
28f39fba95 <![CDATA[ generates additional linefeeds?
-> trim these ...
2003-04-24 18:03:12 +00:00
Hartmut Holzgraefe
c9b4c8f85b config.m4 generation revisited 2003-04-23 16:40:52 +00:00
Hartmut Holzgraefe
7c220887fa parse <deps> content 2003-04-23 16:39:50 +00:00
Hartmut Holzgraefe
da57d29526 reorganized code generation
- source file includes generated header only,
  generated header includes anything else
	and is able to prepend include statements
	to files that need to be included *before*
	any php delivered header files
- 'private' functions are now moved up in the
  generated source file so we do not add extra
	C protos for them before use
2003-04-23 16:38:22 +00:00
Hartmut Holzgraefe
9736a76171 make sure .dsp files have DOS line endings when generated on Unix 2003-04-23 16:34:30 +00:00
Hartmut Holzgraefe
7fd32f3632 don't forget to add the function list delimiter entry ... :/ 2003-04-23 16:32:11 +00:00
Hartmut Holzgraefe
587e7dd693 documentation generation improvements 2003-04-23 16:29:32 +00:00
Hartmut Holzgraefe
12241236bb version number and copyright year update 2003-04-23 16:27:36 +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
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
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
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
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
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