Derick Rethans
b1d60772d8
- Let it also work with pdflib 3 again
2001-11-08 23:37:34 +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
Rainer Schaaf
06111162cf
added new configure option --with-pdflib3
...
Therefore --with-pdflib will only work with PDFlib 4.x from now on, if one wants
to build PHP with PDFlib V3.x he has to use the new option --with-pdflib3.
This makes configuration of PDFlib much easier, as no additional libraries
are needed anymore. This is possible, because PDFlib has built in libraries
for tiff/jpg/zlib since V4.
2001-10-09 12:24:44 +00:00
Rainer Schaaf
6a0dce93af
fixed PDF_get_value for parameters
...
- capheight
- ascender
- descender
had to ajust modifier by PDFLIB_FONT_OFFSET
2001-10-08 16:12:12 +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
Hartmut Holzgraefe
03f7406711
proto fixes "double" -> "float"
2001-09-21 21:59:27 +00:00
Daniel Beulshausen
1f9629d466
fix resource destruction
2001-09-10 19:28:50 +00:00
Derick Rethans
a4f9a16225
- Fix for bug #13230
2001-09-10 17:14:38 +00:00
Derick Rethans
78747bd2df
- Don't wrap lines... this is annoying while coding.
2001-09-09 13:29:31 +00:00
foobar
032b263129
Fixes commit / link problems with certain compilers.
...
# Please use PHP_CHECK_LIBRARY() always instead of AC_CHECK_LIB
# if you need to pass extra libs/libpaths to the test.
2001-09-05 13:18:09 +00:00
Ulf Wendel
1ffed2e53f
Added two new functions:
...
int pdf_get_minorversion()
int pdf_get_majorversion()
Both functions are taken from the C-Library. You should be able to determine
the API version of the extension/library using pdf_get_value() or
pdf_get_parameter() but these functions need a pdf object to work on. This
means that you have to create an pdf object before you can find out the
API version. Using pdf_get_minorversion() and pdf_get_majorversion() there's
no need for this.
2001-08-21 13:33:16 +00:00
Sascha Schumann
95347cd868
Further work on autoconf-2.5x support
2001-08-21 11:45:33 +00:00
Harald Radi
516e769d5b
TSRM fix
2001-08-07 17:26:37 +00:00
Sascha Schumann
b349df6364
some more eliminate-fetches-or-escalate-them-at-least
2001-08-05 16:21:33 +00:00
Zeev Suraski
1159c84ab7
- TSRMLS_FETCH work
...
- whitespace fixes
2001-08-05 01:43:02 +00:00
Zeev Suraski
aa1772ca72
More TSRMLS_FETCH annihilation
2001-07-31 05:44:11 +00:00
Zeev Suraski
1c25b8dd53
Avoid TSRMLS_FETCH()'s, and clean up a bit of stale extern's and layout on the way
2001-07-30 01:56:43 +00:00
Zeev Suraski
d87cc976e1
Redesigned thread safety mechanism - nua nua
2001-07-28 11:36:37 +00:00
Rainer Schaaf
b18dd1bab3
- fixed bug in pdf_open_image_file when using images as masks.
...
- clean up some comments
2001-07-03 14:35:08 +00:00
foobar
32de53b7f5
Fixed proto. (also bug #10334 )
2001-06-15 10:44:50 +00:00
foobar
97a98c6888
This extension works with pdflib 4.x too..
2001-06-14 04:35:11 +00:00
Rasmus Lerdorf
9c55882133
Fold a bit more code
2001-06-06 14:32:27 +00:00
Wez Furlong
94ea334dce
Prevent problems with PDFlib 3.00 when setting the imagewarning parameter.
...
# I don't know if this is in later minors of PDF 3.x; someone please check!
2001-06-06 09:58:22 +00:00
Rasmus Lerdorf
25c3a3a39d
vim-6 does folding - clean up a bunch of missing folding tags plus
...
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
2001-06-05 13:12:10 +00:00
Rasmus Lerdorf
7ee4c793c3
Note to self - stop coding on planes
2001-05-30 12:30:14 +00:00
Rasmus Lerdorf
8ca880265e
Make c2-4 optional since they aren't needed in all cases
2001-05-27 00:01:55 +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
Derick Rethans
5512466878
- Nuke warning
2001-05-21 22:37:47 +00:00
Derick Rethans
31404981d3
- No need to include "zend" in include line
...
#- This broke compile because Unices want Zend instead of zend
2001-05-21 22:35:56 +00:00
James Moore
b68965f62f
Fix for #8539
2001-05-21 21:06:08 +00:00
foobar
4e545c1d73
A few modifications to make the ZLIB checks work better.
2001-05-20 23:00:44 +00:00
Sascha Schumann
afdaee9e47
Nuke more quotes
2001-05-12 11:09:05 +00:00
foobar
14e883c3a0
Cleaned up this a bit..
2001-05-10 00:55:48 +00:00
James Moore
7056620699
Give correct warnings if certain libaries/verisons are not avalible
2001-05-08 00:23:59 +00:00
foobar
8a26918ed1
Renamed the AC_ prefixed macros defined in acinclude.m4 to PHP_* prefixes.
...
# Heads up people! I tested this before committing but you never know..
2001-03-27 20:35:04 +00:00
Rainer Schaaf
9444df9e0b
Beta2 of PDFlib V4.0 will introduce on new function (PDF_place_pdi_page)
...
and PDF_close_pdi_page will lose one parameter.
These changes are done for the phpwrapper now.
This has no impact on PDFlib V3.x.
2001-03-21 20:55:35 +00:00
Sascha Schumann
59eb57e42a
Don't do anything, if the user wants no PDF.
2001-03-16 12:23:31 +00:00
foobar
48545dd7b9
ws fixes. Plus removed unnecessary AC_MSG_ calls.
2001-03-12 01:20:16 +00:00
Rui Hirokawa
0e9581bddb
just reversed a previous patch.
2001-03-10 02:21:39 +00:00
Rui Hirokawa
f3c9c8dd07
initialized some strings in global variable structure.
2001-03-10 02:03:26 +00:00
Rainer Schaaf
929551891e
fixed bug in PDF_getbuffer (happend only on Windows)
...
When using PDFlib V4.0 the pdf_set(grey/rgbcolor) functions are replaced
by the PDFlib V4.0 function pdf_setcolor
2001-03-05 16:18:51 +00:00
Rainer Schaaf
fa0085b495
- integrated new functions vor PDFlib V4.0 (beta1)
...
- all functions accepting strings now support binary strings, by calling
the appropriate PDF*2() functions.
2001-03-01 19:51:55 +00:00
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
2001-02-26 06:11:02 +00:00
Rainer Schaaf
28ed45fa72
When using pdf_get_buffer() and doing a correct cleanup by calling pdf_delete()
...
this always resulted in a coredump (after everything was finished, so only
visible in the logfile).
So it seems to be neccesary to copy the contents of the result of get_buffer,
to avoid this coredump.
2001-02-21 23:30:21 +00:00
Thies C. Arntzen
8499b430cf
@- Fixed some modules to allow using output-buffering. (Thies)
...
i nuked all unneded calls to php_header() - i'm not too sure how we do
handle HEAD Requests as they were only detected via php_header(). but calling
php_header from a module makes output-buffering unusable.
NOTICE: there is some EBSDIC stuff in gd.c - i think it's obsolete.
2001-02-15 14:49:01 +00:00
Rainer Schaaf
4c21de658f
added module support (for dl()) for PDFlib
...
the PDF files now tell that they are generated by the PHP binding.
2001-02-12 17:50:39 +00:00
Uwe Steinmann
485c8fb570
some modification from Rainer Schaaf
...
* fixed prototype for pdf_new()
* MINFO: included Revision of pdf.c, removed info about CJK + in-memory, this is
standard with V3.x)
* repaired PDF_open_CCITT
* repaired PDF_setfont
* eliminated many compiler warnings.
* former resource "pdf document" is now called "pdf object"
2001-02-01 07:07:10 +00:00
Daniel Beulshausen
04267de3a1
fix typo
2001-01-31 17:00:11 +00:00
Egon Schmid
a06f392ae4
Fixed some protos.
2001-01-26 18:52:38 +00:00
Uwe Steinmann
dc1bcb790e
- This is major change of the php pdf api to be closer to the pdflib api
...
done by Rainer Schaaf from pdflib GmbH.
- Some more functions has been implemented as well.
- backwards compatibility has been maintained a much as possible
2001-01-26 08:20:24 +00:00