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

101 Commits

Author SHA1 Message Date
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
Andrei Zmievski f1dcb32c9f Use zend_register_list_destructors_ex() instead. 2000-10-25 17:44:02 +00:00
Andrei Zmievski 7b4983c8f8 Mega-patch to get better resource information for modules.
* Fixed a bug in zend_rsrc_list_get_rsrc_type()
  * Switched register_list_destructors() to use
    zend_register_list_destructors_ex() instead
  * Updated all relevant modules to provide the resource type name
    to register_list_destructors() call
  * Updated var_dump() to output resource type name instead of number

@- Made resource type names visible, e.g. var_dump() and
@  get_resource_type() display "file" for file resources. (Andrei)
2000-10-20 18:25:16 +00:00
Uwe Steinmann e9ba352023 - added optional argument pdf_show_boxed() to determine if text is
actually shown or not.
2000-10-10 07:42:55 +00:00
Daniel Beulshausen c7c8ed155c removed zendts.lib from link options 2000-09-30 13:29:20 +00:00
foobar 24b2feff63 Fixed typo. Changed php3_error to php_error. 2000-09-08 12:28:00 +00:00
foobar 4f0842663f Changed // to /* */ comments. 2000-09-08 11:50:24 +00:00
Uwe Steinmann 81fb5a7682 - last parameter of pdf_get_parameter(), pdf_get_value() optional
- fixes to make it compile with sun cc
2000-09-08 06:47:04 +00:00
Uwe Steinmann ed50eba46d - updated on new zend_api 2000-08-28 15:19:23 +00:00
Daniel Beulshausen b6f0d041f9 deleted a few unnecceasary defines and added the Release_TS_Inline path to the libpath 2000-08-24 17:48:30 +00:00
Daniel Beulshausen d22ebb3cb6 projectfile to build the pdf extension 2000-08-22 15:06:55 +00:00
Joey Smith a44137974b Setting "compatibility" parameter requires having a PDF structure that
has NOT had PDF_open_*() called on it, according to the documentation.

There is not currently any way to obtain such from user-land in PHP.
@ Catch users trying to set "compatibility" parameter, which is not
@ supported from user-land.
#
# Not sure this is the best way to do this...
# Uwe, could you please double check this?
2000-07-23 08:31:13 +00:00
Uwe Steinmann 055c523702 - Support for pdflib 3.01 2000-07-05 14:30:51 +00:00
Sascha Schumann 16017f6d78 Change header protection macros to conform to standard.
Draft 3 of IEEE 1003.1 200x, "2.2 The Compilation Environment"

  All identifiers that begin with an underscore and either an uppercase
  letter or another underscore are always reserved for any use by the
  implementation.
2000-07-02 23:46:51 +00:00
Joey Smith b952c2c95a Added note about creating PDF documents in memory.
This is not quite complete, due to a bug in pdflib 3.0.
2000-06-28 11:44:32 +00:00
Sascha Schumann 0c03253635 Stop including dl/phpdl.h. 2000-06-24 15:36:04 +00:00
Uwe Steinmann ffbb3c8bd8 - minor changes 2000-06-19 19:46:24 +00:00
Andi Gutmans 2987d5216e - More #if WIN32|WINNT -> #ifdef PHP_WIN32 conversions 2000-06-15 23:45:05 +00:00
Uwe Steinmann 467b5e4892 - fixed compilation error 2000-06-07 20:01:12 +00:00
Uwe Steinmann 169606602b - more removal of obsolete pdflib functions, but no changes to the php
api
2000-06-07 19:44:47 +00:00
Uwe Steinmann 4a81e8c111 - new function pdf_set_info() to replace pdf_set_info_xxx() 2000-06-07 18:06:11 +00:00
Uwe Steinmann 6a8fdc6c5c - add functions pdf_get_value(), pdf_set_value(), pdf_get_parameter(),
pdf_set_border_dash()
- some prototype fixes
2000-06-06 19:59:30 +00:00
Andi Gutmans 3701bc4207 - ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch 2000-06-05 19:47:54 +00:00
Sascha Schumann 4686a3b50e Use #ifdef COMPILE_DL_EXTNAME solely. 2000-05-23 09:33:51 +00:00
Zeev Suraski e043439ff6 Update the license with the new clause 6 2000-05-18 15:34:45 +00:00
Uwe Steinmann 4099600941 - fixed bug #4076 2000-05-18 05:35:11 +00:00
Sascha Schumann fe50664d4d #if COMPILE_DL
becomes

    #if defined(COMPILE_DL) || defined(COMPILE_DL_EXTENSION_NAME)
2000-05-02 00:44:35 +00:00
Sascha Schumann 0d383d9373 Replace the various get_module() functions with a uniform
ZEND_GET_MODULE(name) macro.
2000-05-02 00:30:36 +00:00