Pyrus Install

Download

IMPORTANT
User Guide(s) (offline and online) will not be update until final stable release 2.3.0
If you want some informations about AJAX progress bar, and how to do it, please
read the mini guide HOWTO_AJAX.txt (available only for alpha releases of version 2.3.0).
See also examples in directory examples/ajax.

Pyrus Install

Download

IMPORTANT
User Guide(s) (offline and online) will not be update until final stable release 2.3.0
If you want some informations about AJAX progress bar, and how to do it, please
read the mini guide HOWTO_AJAX.txt (available only for alpha releases of version 2.3.0).
See also examples in directory examples/ajax.

Contribution to improve part of guide are welcome ! Do not hesitate to give your
feedback.

HTML_Progress2 2.3.0 requires now minimum PHP version 4.3.0 to work.

* news
- all alpha releases of version 2.3.0 are related to request #3985: Ajax progress bar
- add PEAR::HTML_AJAX 0.5.0 as an optional dependency
- HTML_Progress2::getScript() method has a new (optional) parameter to handle
custom HTML_Progress2 package installation.
If you do not used PEAR installer, parameter #2 ($path) identify location of
directory where to find the HTML_Progress2.js file.
It will search first in PEAR/data dir, then in same directory where HTML_Progress2
is installed or in your user dir ($path).
DO NOT add a trailing directory separator at end of the path !

Pyrus Install

Download

IMPORTANT
User Guide(s) (offline and online) will not be update until final stable release 2.3.0
If you want some informations about Ajax progress bar, and how to do it, please
read the mini guide HOWTO_AJAX.txt (available only for alpha releases of version 2.3.0).
See also the two examples in directory examples/ajax.
Contribution to improve part of guide and perharps drivers are welcome !

* news
- rewrites of HTML_Progress2_Generator to fully separate code from design
its now easy to change skin with a simple stylesheet (see examples/generator/generatorcus2.php)
- add alpha version of QF tableless renderer for HTML_Progress2_Generator
- addListener() and removeListener() signatures changed. Adds notification name serves as a filter.
- new methods get and set StyleSheet into default QF renderer (Generator/Default.php)
- All renderers (Default, Tableless, HTMLPage2, ITDynamic, SmartyDynamic) used now the new architecture with external stylesheet
- All remaining code (css class selector still in default renderer was moved to external CSS file: 'default.css')
- fixed value return by apiVersion()
- progress meter use now its own event dispatcher (called "ProgressMeter")

Pyrus Install

Download

---
i will open another one month timeframe until stable release, or if a bug is found
until third release candidate.
Please, test it as much as possible, and report all you think important.
---

* bugs
- fixed Monitor stops before end when setMaximum is set to value higher than 200 (bug #4885)
Thanks to Roman Stachura.

* changes
- observer pattern is now built with Event_Dispatcher package
- removes all HTML_CSS dependencies
- getStyle() and getScript() optimized now when its request the html stream generation
(raw data only or data with script tags)

* improvements
- generation of stylesheet is (average) 20 times faster without HTML_CSS

* QA
- dependencies has been revisited to higher level
- all Examples are now back into main package. No more additional package.
- Fix wrong project links into documentation (README, ReleaseVersion)
Thanks to Christian Roy to have noticed me.

Pyrus Install

Download

---
It is important to notice that even if i will continue to maintains the HTML_Progress
for possible bugs, no features will be added in this package. Even if it will not marks
as deprecated, i suggest to migrate to HTML_Progress2 (see docs/migrationGuide.txt).
---
* news
- The HTML_Progress2 package has now a series of mini guides (see docs/ directory)
- The HTML_Progress2_Lite class is recommended to users that does not want to install PEAR.
This class has no dependencies.
- News examples are available: See Multiple, Label, Lite version, Preload.
- Adds the *autorun* option on HTML_Progress2_Monitor to run a progress monitor
without need to push the Start button.

* changes
- DM and UI classes (from HTML_Progress 1.x) were merged into the main class.
- Model class (from HTML_Progress 1.x) was removed.
- A new error handling system that support native PEAR_Error (default), but also PEAR_ErrorStack,
and any other system you might want to plug-in.
- Progress2 and Generator does not support anymore external pre-set config file.
- All examples have been revisited (removed those who have the same goals).
- HTML_Progress2::getPercentComplete() method has an optional parameter.
Return may be float (default) or integer.
- HTML_Progress2 API changed a bit to include the new label system:
. setCellCount() accept now zero as minimum value for smooth progress meter
(see also HTML_Progress2_Lite).
. moveNext() should replace incValue() (still exists)
. moveStep() should replace setValue() (still exists)
. setLabelAttributes() replaced setStringAttributes() (was removed)
. isStringPainted() and setStringPainted() were removed
. getString() was also removed
. setString() was removed and replaced by addLabel()
- HTML_Progress2_Monitor::callProgressHandler() public method was removed.
- HTML_Progress2 included now the features of HTML_Progress_Lite:
window frame, buttons, labels (text, step, crossbar).

* QA
- Updates headers comment block on all files
- Dependencies has been revisited to higher level
- Examples were removed from main package and moved into the optional package
available at http://pear.laurent-laville.org/HTML_Progress2/