6.1.0 (2014-12-07)

- The method TCPDF_STATIC::getRandomSeed() was improved.
This commit is contained in:
nicolaasuni 2014-12-09 08:05:14 +00:00
parent 95960170a2
commit 3d5921442e
5 changed files with 12 additions and 16 deletions

View File

@ -1,3 +1,6 @@
6.1.0 (2014-12-07)
- The method TCPDF_STATIC::getRandomSeed() was improved.
6.1.0 (2014-12-07) 6.1.0 (2014-12-07)
- The method TCPDF_STATIC::getRandomSeed() was improved. - The method TCPDF_STATIC::getRandomSeed() was improved.
- The disk caching feature was removed. - The disk caching feature was removed.

View File

@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076
------------------------------------------------------------ ------------------------------------------------------------
Name: TCPDF Name: TCPDF
Version: 6.1.0 Version: 6.1.1
Release date: 2014-12-07 Release date: 2014-12-09
Author: Nicola Asuni Author: Nicola Asuni
Copyright (c) 2002-2014: Copyright (c) 2002-2014:

View File

@ -1,6 +1,6 @@
{ {
"name": "tecnick.com/tcpdf", "name": "tecnick.com/tcpdf",
"version": "6.1.0", "version": "6.1.1",
"homepage": "http://www.tcpdf.org/", "homepage": "http://www.tcpdf.org/",
"type": "library", "type": "library",
"description": "TCPDF is a PHP class for generating PDF documents and barcodes.", "description": "TCPDF is a PHP class for generating PDF documents and barcodes.",

View File

@ -55,7 +55,7 @@ class TCPDF_STATIC {
* Current TCPDF version. * Current TCPDF version.
* @private static * @private static
*/ */
private static $tcpdf_version = '6.1.0'; private static $tcpdf_version = '6.1.1';
/** /**
* String alias for total number of pages. * String alias for total number of pages.

View File

@ -1,7 +1,7 @@
<?php <?php
//============================================================+ //============================================================+
// File name : tcpdf.php // File name : tcpdf.php
// Version : 6.1.0 // Version : 6.1.1
// Begin : 2002-08-03 // Begin : 2002-08-03
// Last Update : 2014-12-07 // Last Update : 2014-12-07
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com // Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
@ -104,7 +104,7 @@
* Tools to encode your unicode fonts are on fonts/utils directory.</p> * Tools to encode your unicode fonts are on fonts/utils directory.</p>
* @package com.tecnick.tcpdf * @package com.tecnick.tcpdf
* @author Nicola Asuni * @author Nicola Asuni
* @version 6.1.0 * @version 6.1.1
*/ */
// TCPDF configuration // TCPDF configuration
@ -128,7 +128,7 @@ require_once(dirname(__FILE__).'/include/tcpdf_static.php');
* TCPDF project (http://www.tcpdf.org) has been originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.<br> * TCPDF project (http://www.tcpdf.org) has been originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.<br>
* @package com.tecnick.tcpdf * @package com.tecnick.tcpdf
* @brief PHP class for generating PDF documents without requiring external extensions. * @brief PHP class for generating PDF documents without requiring external extensions.
* @version 6.1.0 * @version 6.1.1
* @author Nicola Asuni - info@tecnick.com * @author Nicola Asuni - info@tecnick.com
*/ */
class TCPDF { class TCPDF {
@ -1985,7 +1985,7 @@ class TCPDF {
$this->custom_xmp = ''; $this->custom_xmp = '';
// Call cleanup method after script execution finishes or exit() is called. // Call cleanup method after script execution finishes or exit() is called.
// NOTE: This will not be executed if the process is killed with a SIGTERM or SIGKILL signal. // NOTE: This will not be executed if the process is killed with a SIGTERM or SIGKILL signal.
register_shutdown_function(array($this, '_destroyAll')); register_shutdown_function(array($this, '_destroy'), true);
} }
/** /**
@ -1999,7 +1999,7 @@ class TCPDF {
mb_internal_encoding($this->internal_encoding); mb_internal_encoding($this->internal_encoding);
} }
// cleanup // cleanup
$this->_destroyAll(); $this->_destroy(true);
} }
/** /**
@ -7766,13 +7766,6 @@ class TCPDF {
} }
return ''; return '';
} }
/**
* Destroy all objects and delete temp files.
* @protected
*/
protected function _destroyAll() {
$this->_destroy(true);
}
/** /**
* Unset all class variables except the following critical variables. * Unset all class variables except the following critical variables.