Commit 06a5d19c authored by Michael Fairchild's avatar Michael Fairchild
Browse files

Merge branch '4.1' of git.unl.edu:iim/UNL_Search into 4.1

parents 3d97e547 7559ea0b
<?xml version="1.0" encoding="UTF-8"?>
<channel version="1.0" xmlns="http://pear.php.net/channel-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/channel-1.0http://pear.php.net/dtd/channel-1.0.xsd">
<name>pecl.php.net</name>
<suggestedalias>pecl</suggestedalias>
<summary>PHP Extension Community Library</summary>
<validatepackage version="1.0">PEAR_Validator_PECL</validatepackage>
<servers>
<primary>
<xmlrpc>
<function version="1.0">logintest</function>
<function version="1.0">package.listLatestReleases</function>
<function version="1.0">package.listAll</function>
<function version="1.0">package.info</function>
<function version="1.0">package.getDownloadURL</function>
<function version="1.0">package.getDepDownloadURL</function>
<function version="1.0">package.search</function>
<function version="1.0">channel.listAll</function>
</xmlrpc>
<rest>
<baseurl type="REST1.0">http://pecl.php.net/rest/</baseurl>
<baseurl type="REST1.1">http://pecl.php.net/rest/</baseurl>
</rest>
</primary>
</servers>
</channel>
htmlpurifier.org
\ No newline at end of file
pear.php.net
\ No newline at end of file
pear2.php.net
\ No newline at end of file
pecl.php.net
\ No newline at end of file
pear.unl.edu
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<package xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" packagerversion="1.8.0alpha1" version="2.0" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
<name>UNL_Autoload</name>
<channel>pear.unl.edu</channel>
<summary>An autoloader implementation for UNL PEAR packages</summary>
<description>This package provides an autoloader for classes beginning
with UNL_ and is mainly used for autoloading package files from http://pear.unl.edu/.</description>
<lead>
<name>Brett Bieber</name>
<user>saltybeagle</user>
<email>brett.bieber@gmail.com</email>
<active>yes</active>
</lead>
<date>2010-04-15</date>
<time>09:16:05</time>
<version>
<release>0.5.0</release>
<api>0.5.0</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www1.unl.edu/wdn/wiki/Software_License">BSD License</license>
<notes>* First release.</notes>
<contents>
<dir name="/">
<file baseinstalldir="/" md5sum="2d13c44763ebe506f915d211dcd8f00a" name="UNL/Autoload.php" role="php"/>
</dir>
</contents>
<dependencies>
<required>
<php>
<min>5.2.0</min>
</php>
<pearinstaller>
<min>1.4.3</min>
</pearinstaller>
</required>
</dependencies>
<phprelease>
<changelog>
<release>
<version>
<release>0.5.0</release>
<api>0.5.0</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<date>2008-11-10</date>
<license uri="http://www1.unl.edu/wdn/wiki/Software_License">BSD License</license>
<notes>* First release.</notes>
</release>
</changelog>
</phprelease>
</package>
<?xml version="1.0" encoding="UTF-8"?>
<package xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" packagerversion="1.9.0" version="2.0" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
<name>UNL_Cache_Lite</name>
<channel>pear.unl.edu</channel>
<summary>Basic caching library</summary>
<description>This is a port of the Cache_Lite package from PEAR, with support for PHP 5 and
exceptions.
This package is a little cache system optimized for file containers. It is fast
and safe (because it uses file locking and/or anti-corruption tests).</description>
<lead>
<name>Brett Bieber</name>
<user>saltybeagle</user>
<email>brett.bieber@gmail.com</email>
<active>yes</active>
</lead>
<date>2011-03-10</date>
<time>14:06:49</time>
<version>
<release>0.1.0</release>
<api>0.1.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="http://www.gnu.org/licenses/lgpl-3.0.txt">LGPL</license>
<notes>
Port of cache lite, remove PEAR dependency, use exceptions instead of PEAR_Error.
</notes>
<contents>
<dir name="/">
<file baseinstalldir="/" md5sum="ea88bd9816a106e30ac2939a28679fc7" name="UNL/Cache/Lite/Output.php" role="php"/>
<file baseinstalldir="/" md5sum="537413f3d9e949be31a1dd9f42c1dd5c" name="UNL/Cache/Lite/NestedOutput.php" role="php"/>
<file baseinstalldir="/" md5sum="95bccdc3a6ec0d54ab4adf3ce03d4b55" name="UNL/Cache/Lite/Function.php" role="php"/>
<file baseinstalldir="/" md5sum="33a3fc682d63cef8f5cf126637001662" name="UNL/Cache/Lite/File.php" role="php"/>
<file baseinstalldir="/" md5sum="7f02fa5030fe224535a8849aa0d98741" name="UNL/Cache/Lite.php" role="php"/>
<file baseinstalldir="/" md5sum="4c638b951a7c8a4dcb94f10abf1d818b" name="TODO" role="data"/>
<file baseinstalldir="/" md5sum="085e7fb76fb3fa8ba9e9ed0ce95a43f9" name="LICENSE" role="data"/>
<file baseinstalldir="/" md5sum="934071f21c17611811e01396ca604c79" name="docs/technical" role="doc"/>
<file baseinstalldir="/" md5sum="516beafae66ea4b9fd7d29ab9c90845d" name="docs/examples" role="doc"/>
</dir>
</contents>
<dependencies>
<required>
<php>
<min>5.1.2</min>
</php>
<pearinstaller>
<min>1.5.4</min>
</pearinstaller>
</required>
</dependencies>
<phprelease>
<changelog>
<release>
<version>
<release>0.1.0</release>
<api>0.1.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2009-10-20</date>
<license uri="http://www.gnu.org/licenses/lgpl-3.0.txt">LGPL</license>
<notes>
Port of cache lite, remove PEAR dependency, use exceptions instead of PEAR_Error.
</notes>
</release>
</changelog>
</phprelease>
</package>
<?xml version="1.0" encoding="UTF-8"?>
<package xmlns="http://pear.php.net/dtd/package-2.1" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.1" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.1 http://pear.php.net/dtd/package-2.1.xsd" packagerversion="2.0.0">
<name>UNL_DWT</name>
<channel>pear.unl.edu</channel>
<summary>This package generates php class files (objects) from Dreamweaver template files.
</summary>
<description>
This package generates php class files (objects) from Dreamweaver template files.
</description>
<lead>
<name>Brett Bieber</name>
<user>saltybeagle</user>
<email>brett.bieber@gmail.com</email>
<active>yes</active>
</lead>
<date>2014-04-14</date>
<time>09:00:33</time>
<version>
<release>0.9.0</release>
<api>0.7.1</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="http://www1.unl.edu/wdn/wiki/Software_License">BSD</license>
<notes>Feature Release
* Add support for immedaitely rendering a scanned DWT [saltybeagle]
Bug Fixes
* Prevent greedy matching of template regions [spam38]
</notes>
<contents>
<dir name="/">
<file role="php" name="php/UNL/DWT/Scanner.php" md5sum="276e82e5db587c9c18a100e1e877082e"/>
<file role="php" name="php/UNL/DWT/Region.php" md5sum="858136d43bf29868dca876783e51d196"/>
<file role="php" name="php/UNL/DWT/Generator.php" md5sum="a3b933a0d7f8d81f72836bb2c5fb6914"/>
<file role="php" name="php/UNL/DWT/Exception.php" md5sum="5b99b44fbfde7349c6b9e6d9be78e9dc"/>
<file role="php" name="php/UNL/DWT/createTemplates.php" md5sum="9089565d275b52e0cd65c52edd50ef18"/>
<file role="php" name="php/UNL/DWT.php" md5sum="ca9d707c266ad9150e39d1a9a60c5643"/>
<file role="doc" name="doc/pear.unl.edu/UNL_DWT/examples/scanner_example.php" md5sum="2d16f0e62c4227aa28108bf78d74156a"/>
<file role="doc" name="doc/pear.unl.edu/UNL_DWT/examples/basic/Template_style1.tpl" md5sum="b524ef4684be7dba47ed8c245577347a"/>
<file role="doc" name="doc/pear.unl.edu/UNL_DWT/examples/basic/Template_style1.php" md5sum="096998b112a1e27bddc6c171380d590e"/>
<file role="doc" name="doc/pear.unl.edu/UNL_DWT/examples/basic/template_style1.dwt" md5sum="0d5a4f5ca86e9c2a3c0050f39acbb034"/>
<file role="doc" name="doc/pear.unl.edu/UNL_DWT/examples/basic/example_style1.php" md5sum="d3f43ac017b9bdf1819cf05a4c4a33a2"/>
<file role="doc" name="doc/pear.unl.edu/UNL_DWT/examples/basic/example.test.ini" md5sum="28a080af44b5db3f28c73fa91cdabe99"/>
<file role="doc" name="doc/pear.unl.edu/UNL_DWT/examples/basic/example.ini" md5sum="d5f99a1b621d226611d2fe93761db93d"/>
</dir>
</contents>
<dependencies>
<required>
<php>
<min>5.0.0</min>
</php>
<pearinstaller>
<min>2.0.0a1</min>
</pearinstaller>
<package>
<name>UNL_Templates</name>
<channel>pear.unl.edu</channel>
<max>0.5.2</max>
<conflicts/>
</package>
</required>
</dependencies>
<phprelease>
<changelog>
<release>
<version>
<release>0.1.0</release>
<api>0.1.0</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<date>2006-01-26</date>
<license>PHP License</license>
<notes>
First release, only basic functionality.
</notes>
</release>
<release>
<version>
<release>0.1.1</release>
<api>0.1.0</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<date>2006-02-06</date>
<license>PHP License</license>
<notes>
Added generator options generator_include/eclude_regex and extends and extends_location.
Create dwt_location and tpl_location if it does not exist yet.
Remove editable region tags for locked regions.
</notes>
</release>
<release>
<version>
<release>0.1.2</release>
<api>0.1.0</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<date>2006-02-24</date>
<license>PHP License</license>
<notes>
* Added missing setOption function. Initially only debug option is available.
* Renamed internally used function between to UNL_DWT_between
* created externally callable replaceRegions function.
* debug function for outputting messages levels 0-5.
</notes>
</release>
<release>
<version>
<release>0.5.0</release>
<api>0.1.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2006-08-15</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* Fix Bug #16: Locked regions aren't detected correctly.
* Fix Bug #1: Include path modified incorrectly.
</notes>
</release>
<release>
<version>
<release>0.5.1</release>
<api>0.1.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2008-02-07</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* Switch to using static properties, PHP 5, add docheader.
</notes>
</release>
<release>
<version>
<release>0.6.0</release>
<api>0.2.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2008-03-26</date>
<license uri="http://www1.unl.edu/wdn/wiki/Software_License">BSD</license>
<notes>
Move code around. DWT.php is now in UNL/DWT.php instead of UNL/DWT/DWT.php = not compatible with old versions of UNL_Templates!
* Switch to using static properties
* Upgrade a lot of code to PHP 5
* Add phpdoc headers and coding standards fixes
* Switch to BSD license.
</notes>
</release>
<release>
<version>
<release>0.6.1</release>
<api>0.2.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2008-04-08</date>
<license uri="http://www1.unl.edu/wdn/wiki/Software_License">BSD</license>
<notes>
Change is_a() to instanceof to fix warning.
</notes>
</release>
<release>
<version>
<release>0.7.0</release>
<api>0.7.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2008-06-30</date>
<license uri="http://www1.unl.edu/wdn/wiki/Software_License">BSD</license>
<notes>
Move region class into separate file.
Add scanner for simply scanning a dwt for regions, this does not replace the
generator, but supplements it.
</notes>
</release>
<release>
<version>
<release>0.7.1</release>
<api>0.7.1</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2009-07-01</date>
<license uri="http://www1.unl.edu/wdn/wiki/Software_License">BSD</license>
<notes>
Declare debug method correctly as static.
</notes>
</release>
</changelog>
</phprelease>
</package>
This diff is collapsed.
Patrick O'Lone suggests the following idea which sounds interesting to
add as an optional mode of Cache_Lite class.
(still not tested in the Cache_Lite context)
-------------------------------------------------------------------------
If you use the flags:
ignore_user_abort(true);
$fd = dio_open($szFilename, O_CREATE | O_EXCL | O_TRUNC | O_WRONLY,
0644);
if (is_resource($fd)) {
dio_fcntl($fd, F_SETLKW, array('type' => F_WRLCK));
dio_write($fd, $szBuffer);
dio_fcntl($fd, F_SETLK, array('type' => F_UNLCK));
dio_close($fd);
}
ignore_user_abort(false);
Only the first process will attempt to create a file. Additional
processes will see that a file already exists (at the system level), and
will fail. Another thing to note is that the file descriptor must be
opened using dio_open(), and certain features, like fgets() won't work
with it. If your just doing a raw write, dio_write() should be just
fine. The dio_read() function should be used like:
$fd = dio_open($szFilename, O_RDONLY|O_NONBLOCK, 0644);
if (is_resource($fd)) {
dio_fcntl($fd, F_SETLKW, array('type' => F_RDLCK));
$szBuffer = dio_read($fd, filesize($szFilename));
dio_fcntl($fd, F_SETLK, array('type' => F_UNLCK));
dio_close($fd);
}
You still use locking to ensure that a write process can finish before
another attempts to read the file. We also set non-blocking mode in read
mode so that multiple readers can access the same resource at the same
time. NOTE: Direct I/O support must be compiled into PHP for these
features to work (--enable-dio).
-------------------------------------------------------------------------
;php -d include_path=`pwd`/../vendor/php ../vendor/php/UNL/DWT/createTemplates.php cssUNLTemplates.ini
[UNL_DWT]
dwt_location = /Users/bbieber/Documents/workspace/wdntemplates/Templates/
class_location = /Users/bbieber/Documents/workspace/UNL_Templates/src/UNL/Templates/Version4
tpl_location = /Users/bbieber/Documents/workspace/UNL_Templates/data/tpl_cache/Version4
class_prefix = UNL_Templates_Version4_
generator_exclude_regex = "/^(asp|php)/i"
extends = UNL_Templates
extends_location = "UNL/Templates.php"
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" ><!-- InstanceBegin template="/Templates/document.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>UNL | Document Template</title>
<!-- InstanceEndEditable -->
<!-- Codebase:UNLFramework 20070105 -->
<link rel="stylesheet" type="text/css" media="screen" href="/ucomm/templatedependents/templatecss/layouts/main.css" />
<link rel="stylesheet" type="text/css" media="print" href="/ucomm/templatedependents/templatecss/layouts/print.css"/>
<script type="text/javascript" src="/ucomm/templatedependents/templatesharedcode/scripts/all_compressed.js"></script>
<!--#include virtual="/ucomm/templatedependents/templatesharedcode/includes/browsersniffers/ie.html" -->
<!--#include virtual="/ucomm/templatedependents/templatesharedcode/includes/comments/developersnote.html" -->
<!--#include virtual="/ucomm/templatedependents/templatesharedcode/includes/metanfavico/metanfavico.html" -->
<!-- InstanceBeginEditable name="head" -->
<script type="text/javascript">
var navl2Links = 0; //Default navline2 links to display (zero based counting)
</script>
<!-- InstanceEndEditable -->
</head>
<body id="doc">
<p class="skipnav"> <a class="skipnav" href="#maincontent">Skip Navigation</a> </p>
<!--#include virtual="/ucomm/templatedependents/templatesharedcode/includes/siteheader/siteheader.shtml" -->
<div id="red-header">
<div class="clear">
<h1>University of Nebraska&ndash;Lincoln</h1>
<div id="breadcrumbs">
<!-- InstanceBeginEditable name="breadcrumbs" -->
<!-- InstanceEndEditable -->
</div>
</div>
</div>
<!-- close red-header -->
<div id="container">
<div class="clear">
<div id="title">
<!-- InstanceBeginEditable name="collegenavigationlist" -->
<!-- InstanceEndEditable -->
<div id="titlegraphic">
<!-- WDN: see glossary item 'title graphics' -->
<!-- InstanceBeginEditable name="titlegraphic" -->
<h1>Department</h1>
<h2>Taglines - We Do The Heavy Lifting</h2>
<!-- InstanceEndEditable -->
</div>
<!-- maintitle -->
</div>
<!-- close title -->
<div id="navigation">
<h4 id="sec_nav">Navigation</h4>
<div id="nav_end"></div>
<!-- WDN: see glossary item 'sidebar links' -->
<div id="leftcollinks">
<!-- WDN: see glossary item 'sidebar links' -->
</div>
</div>
<!-- close navigation -->
<div id="main_right" class="mainwrapper">
<!--THIS IS THE MAIN CONTENT AREA; WDN: see glossary item 'main content area' -->
<div id="maincontent">
<!--#include virtual="/ucomm/templatedependents/templatesharedcode/includes/browsersniffers/noscript.html" -->
<!--THIS IS THE MAIN CONTENT AREA; WDN: see glossary item 'main content area' -->
<!-- InstanceBeginEditable name="maincontentarea" -->
<p style="margin:20px; border:3px solid #CC0000;padding:10px; text-align:center"> <strong>Delete this box and place your content here.</strong><br />
Remember to validate your pages before publishing! Sample layouts are available through the <a href="http://www.unl.edu/webdevnet/">Web Developer Network</a>. <br />
<a href="http://validator.unl.edu/check/referer">Click here to check Validation</a> </p>
<!-- InstanceEndEditable -->
<!--THIS IS THE END OF THE MAIN CONTENT AREA.-->
</div>
</div>
<!-- close main right -->
</div>
</div>
<!-- close container -->
<div id="footer">
<div id="footer_floater">
<!-- InstanceBeginEditable name="optionalfooter" -->
<!-- InstanceEndEditable -->
<div id="copyright">
<!-- InstanceBeginEditable name="footercontent" -->
<!--#include virtual="../sharedcode/footer.html" -->
<!-- InstanceEndEditable -->
<span><a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> <a href="http://validator.unl.edu/check/referer">W3C</a> <a href="http://www1.unl.edu/feeds/">RSS</a> </span><a href="http://www.unl.edu/" title="UNL Home"><img src="/ucomm/templatedependents/templatecss/images/wordmark.png" alt="UNL's wordmark" id="wordmark" /></a></div>
</div>
</div>
<!-- close footer -->
<!-- sifr -->
<script type="text/javascript" src="/ucomm/templatedependents/templatesharedcode/scripts/sifr_replacements.js"></script>
</body>
<!-- InstanceEnd --></html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" ><!-- InstanceBegin template="/Templates/fixed.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>UNL | Department | New Page</title>
<!-- InstanceEndEditable -->
<!-- Codebase:UNLFramework 20070105 -->
<link rel="stylesheet" type="text/css" media="screen" href="/ucomm/templatedependents/templatecss/layouts/main.css" />
<link rel="stylesheet" type="text/css" media="print" href="/ucomm/templatedependents/templatecss/layouts/print.css"/>
<script type="text/javascript" src="/ucomm/templatedependents/templatesharedcode/scripts/all_compressed.js"></script>
<!--#include virtual="/ucomm/templatedependents/templatesharedcode/includes/browsersniffers/ie.html" -->
<!--#include virtual="/ucomm/templatedependents/templatesharedcode/includes/comments/developersnote.html" -->
<!--#include virtual="/ucomm/templatedependents/templatesharedcode/includes/metanfavico/metanfavico.html" -->
<!-- InstanceBeginEditable name="head" -->
<script type="text/javascript">
var navl2Links = 0; //Default navline2 links to display (zero based counting)
</script>
<!-- InstanceEndEditable -->
</head>