Commit Graph

128 Commits

Author SHA1 Message Date
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
foobar
e4a946b3f4 I missed this function.. 2001-01-03 16:53:00 +00:00
foobar
31a1c0aca6 Trying to bring pdf extension a bit more up to date. 2001-01-03 16:05:45 +00:00
Daniel Beulshausen
2f6a05ecb8 fix filepath handling 2001-01-03 15:50:20 +00:00
Daniel Beulshausen
795025e0dc fix bug 8341 & 8394 2001-01-03 11:41:31 +00:00
Daniel Beulshausen
fda42b034f fix PDF image open under Win32 2000-11-21 07:08:01 +00:00
Hartmut Holzgraefe
1f6878e912 2nd step towards auto-credits 2000-11-20 10:33:33 +00:00
Joey Smith
90f2f64ca8 Include header file for phpi_get_le_gd() 2000-11-03 20:13:46 +00:00
Joey Smith
8e9967be00 Include header file for php_file_le_fopen() 2000-11-03 20:11:38 +00:00
Andi Gutmans
91622ad7cb - Beautify 2000-11-01 19:55:13 +00:00