Commit Graph

114 Commits

Author SHA1 Message Date
foobar
c43d558700 Fixed bug #24207: phpize wrong exit code 2003-06-16 21:44:29 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Hartmut Holzgraefe
90be6aa546 new TODO item: VisualStudio.net project files 2003-06-10 17:48:10 +00:00
foobar
755eccf82a - Moved scan_makefile_in.awk to better suitable place for it.
(other build related scripts are under build/ too..)
2003-06-09 00:17:03 +00:00
Hartmut Holzgraefe
bad4e6c3d7 doing the trick like in extension_parser.php 2003-05-20 14:02:12 +00:00
Hartmut Holzgraefe
b3562b9bd9 - experimental streams support
- more file types: conf and doc
- requirements/install/configure documentation in configure.xml
- auto-generated PEAR/PECL package.xml files
- auto-generated CREDITS file
- auto-generated EXPERIMENTAL file if release state != stable
- beginning support for test file generation
2003-05-20 13:51:29 +00:00
Hartmut Holzgraefe
6c074dfb7c example for "stream" as parameter and return type 2003-05-20 13:47:31 +00:00
Hartmut Holzgraefe
c9744519cd no RCS keyword expansion in template, 2nd try 2003-05-20 13:46:02 +00:00
Hartmut Holzgraefe
2f31208beb - new method to generate test cases for functions
- beginning support for "pass by reference" parameters
2003-05-20 13:43:43 +00:00
Hartmut Holzgraefe
450d46ce4f just a method name change 2003-05-20 13:42:04 +00:00
Hartmut Holzgraefe
5e3b5bce0a additional tags for experimental streams support 2003-05-20 13:40:21 +00:00
Hartmut Holzgraefe
488363b657 create CREDITS, package.xml and maybe EXPERIMENTAL files
create tests
2003-05-20 13:39:35 +00:00
Hartmut Holzgraefe
123ac00a0f updated TODOs 2003-05-20 13:38:08 +00:00
Sascha Schumann
444d769bd3 MFB move awk detection 2003-05-19 01:44:40 +00:00
Hartmut Holzgraefe
5c782a6f50 'stream' parameter support in proto parser and code generation 2003-05-09 12:11:01 +00:00
Hartmut Holzgraefe
78eeccb798 new proto data type: stream 2003-05-09 12:01:21 +00:00
Hartmut Holzgraefe
a874c33eb1 more todo items 2003-05-08 11:16:42 +00:00
Hartmut Holzgraefe
8c6a712a65 unfinished work towards towards refactoring of extension_parser.php 2003-05-06 16:55:20 +00:00
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
f4e89c56ab stupido :( 2003-05-06 16:51:09 +00:00
Hartmut Holzgraefe
249d85b2b0 - make sure we are running on PHP 5
- prevent warnings if no known license given
2003-05-06 16:50:39 +00:00
Hartmut Holzgraefe
93894a4e21 new TODO iten: specify "pass by reference" in protos 2003-05-06 16:48:10 +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
2bf4b3f293 constructor proto change 2003-04-26 16:08:48 +00:00
Hartmut Holzgraefe
67df62c0b1 cmdline parameter parsing improved
uses license classes to write LICENSE file
config.m4 and *.dsp file are only written if their platform is supported
2003-04-26 15:54:50 +00:00
Hartmut Holzgraefe
545022872d constructor prototype changed
code and documentation header and footer for constants block
now generated by static class methods
2003-04-26 15:42:59 +00:00
Hartmut Holzgraefe
ac22872006 better 'name' regex 2003-04-26 15:34:10 +00:00
Hartmut Holzgraefe
5b665eb367 php 5 constructor style and whitespace 2003-04-26 15:27:28 +00:00
Hartmut Holzgraefe
f8f4e04909 support arrays of error messages in addition to single strings
use PHP 5 style __constructor
2003-04-26 15:20:18 +00:00
Hartmut Holzgraefe
5e5ddac9f1 use PHP 5 style constructor
plus whitespace/coding style changes
2003-04-26 15:15:28 +00:00
Hartmut Holzgraefe
76d82c53bb module global variables and ini parameters now have
their own generator classes
2003-04-26 15:05:01 +00:00
Hartmut Holzgraefe
ddefccd04a license comment headers and license files are now created
by seperate classes for each license
2003-04-26 15:01:31 +00:00
Hartmut Holzgraefe
8314828451 platform specification now possible for libraries and extension 2003-04-26 14:58:37 +00:00
Hartmut Holzgraefe
e5d762f9ff whitespace changes in generated code 2003-04-24 18:04:17 +00:00
Hartmut Holzgraefe
28f39fba95 <![CDATA[ generates additional linefeeds?
-> trim these ...
2003-04-24 18:03:12 +00:00
Hartmut Holzgraefe
580115b589 use PEAR::System instead of system() to remove directories
... plus some whitespace/indent changes :/
2003-04-24 18:01:57 +00:00
Hartmut Holzgraefe
084c6c0d15 todo list update 2003-04-24 18:00:49 +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
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