www/p5-Test-WWW-Mechanize into the NetBSD Packages Collection.
Test::WWW::Mechanize Perl5 module provides a subclass of WWW::Mechanize
that incorporates features for web application testing.
as www/p5-HTTP-Server-Simple-Mason into the NetBSD Packages Collection.
HTTP::Server::Simple::Mason Perl5 module provides an abstract baseclass
for a standalone mason server.
www/p5-HTTP-Server-Simple into the NetBSD Packages Collection.
HTTP::Server::Simple Perl5 module is a very simple standalone HTTP
daemon with no non-core module dependencies. It's ideal for building
a standalone http-based UI to your existing tools.
Seamonkey 1.0) don't have regchrome anymore, but Mozilla 1.7.x still does.
Patch the INSTALL script (used by all those) to run regchrome only if it's
installed.
Ok with wiz.
NOTABLE CHANGES
* "Fixed" libxml2's change in UTF8Toisolat1() return value
Bernhard Weisshuhn supplied a patch to parser.c for checking the
return value of UTF8Toisolat1(). Seems that libxml2 now returns
the number of characters converted instead of zero for success.
http://bugzilla.gnome.org/show_bug.cgi?id=153937
* Added swish-config and pkg-config
Swish now provides a swish-config script and config file for the
pkg-config utility. These tools help when building programs that
link with the swish-e library.
* Added SwishFuzzy function
SwishFuzzy function (SWISH::API::Fuzzy) lets you stem a word
without first searching. This might be helpful for playing with
queries prior to the search.
* Fixed Buzzwords (and other word lists entered in the config)
Words entered in config were not converted to lower case before
storing in the index.
* Fixed metaname mapping problem in Merge
Peter Karman found an error when merging indexes where the source
indexes had the same metanames, but listed in a different order in
their config files. Words would then be indexed under the wrong
metaID number in the output index.
* Added -R option to support IDF word weighting in ranking. (karman)
Added Inverse Document Frequency calculation to the getrank()
routine. This will allow the relative frequency of a word in
relationship to other words in the query to impact the ranking of
documents.
* Swish.cgi now kills swish-e on time out
The example script swish.cgi uses an alarm (on platforms that
support alarm) to abort processing after some number of seconds,
but it was not killing the child process, swish-e. Bill Schell
submitted a patch to kill the child when the alarm triggers.
* The template search.tt was renamed to swish.tt
The template was renamed because it's used by swish.cgi, not by
search.cgi, which was confusing.
* Updates to the search.cgi
The example script search.cgi was updated to work better with
mod_perl and to use external template files and style sheets.
* New MS Word Filter
James Job provided the SWISH::Filter::Doc2html filter that uses
the wvWare ([59]http://wvware.sourceforge.net/) program for
filtering MS Word documents. If both catdoc and wvWare are
installed then wvWare will be used.
* Change in way symbolic links are followed
John-Marc Chandonia pointed out that if a symlink is skipped by
FileRules, then the actual file/directory is marked as "already
seen" and cannot be indexed by other links or directly.
Now, files and directories are not marked "already seen" until
after passing FileRules (i.e after a file is actually indexed or a
directory is processed).
* UseStemming didn't take no for an answer
UseStemming was coded as an alias for FuzzyIndexingMode when
Snowball was compiled in (the default), but "no" doesn't always
mean no when the Norwegian stemmer is available.
* Updated the index_hypermail.pl
Updated to work with latest version of hypermail (pre-2.1.9).
* Fixed segfault when generating warnings while parsing
Parser.c was incorrectly calling warning() incorrectly. And -Wall
was not catching this!
The complete list of revisions is at http://swish-e.org/docs/changes.html
COMPATIBILITY
FormBuilder 3.0 should be completely compatible with FormBuilder 2.x,
with the singular exception that you can no longer use the shortcut
autoload style of getting to fields:
$form->field(name => 'category', options => \@opt);
$form->category(options => \@opt); # WRONG
In order to allow the second form, you must specify the "fieldsubs"
option to "new()".
VERSION 3.0202
This is a bugfix release that patches the following problems:
- missing $form->name accessor
- $form->confirm displaying wrong value for radio groups
- $form->new(messages => $file) not reading file (tries to bless directly)
- added $form->field(delete => 1) option
- disabling field comment on static fields
- fixing $form->field(disabled => 0)
- redone messages joiner on array passing (internals thing)
The changed files are:
CGI/FormBuilder.pm
CGI/FormBuilder/Field.pm
CGI/FormBuilder/Messages.pm
All other sub-modules shipped are identical to the 3.02 versions; those
modules retain the same version and signature.
VERSION 3.02
Multi-Page Form Support
A new module, "CGI::FormBuilder::Multi", has been added to handle the
navigation and state of multi-page forms. A multi-page form is actually
composed of several individual forms, tied together with the special CGI
param "_page":
my $multi = CGI::FormBuilder::Multi->new(
# first args are hashrefs per-form
\%form1_opts,
\%form2_opts,
\%form3_opts,
# remaining options apply to all forms
header => 1,
method => 'POST',
);
my $form = $multi->form; # current form
if ($form->submitted && $form->validate) {
# you write this
do_data_update($form->fields);
# last page?
if ($multi->page == $multi->pages) {
print $form->confirm;
exit;
}
$multi->page++; # next page counter
$form = $multi->form; # fetch next page's form
}
print $form->render;
For more details, see CGI::FormBuilder::Multi.
External Source File
Inspired by Peter Eichman's "Text::FormBuilder", the new "source" option
has been added to "new()" which enables the use of an external config
file to initialize FormBuilder. This file takes the format:
# sample config file
method: POST
header: 1
submit: Update, Delete
fields:
fname:
label: First Name
size: 50
validate: NAME
lname:
label: Last Name
size: 40
validate: NAME
sex:
label: Gender
options: M=Male, F=Female
jsclick: javascript:alert("Change your mind??");
validate: M,F
required: ALL
messages:
form_invalid_text: Please correct the following fields:
form_required_text: Please fill in all <b>bold</b> fields.
You can even pre-parse this file, and generate a module from it which
you can then reuse in multiple scripts using the "write_module()"
function. For more details, see CGI::FormBuilder::Source::File.
"Other" Fields
The new "other" option has been added to "field()". If specified, a text
box will be added to the right of the field, and its value will be used
if the main field is not filled in. It will be subject to the same
required and validation checks as the main field:
$form->field(name => 'favorite_color',
options => [qw(Red Green Blue)],
validate => 'NAME',
other => 1); # allow "other"
This would create HTML something like this:
Favorite Color: []Red []Green []Blue []Other: [____________]
The text "Other:" is controlled by the message "form_other_default".
Growable Fields
Thanks to a patch from Peter Eichman, "field()" now also accepts a
"growable" option. This option enables some JavaScript hooks that add an
"Additional [label]" button on text and file fields:
Data File: [______________] [Additional Data File]
When you click on the "Additional Data File" button, another box will be
appended, allowing you to add more files. The values are then retrieved
in the usual fashion:
my @files = $form->field('data_file');
Like "other" fields, all elements are subject to validation checks. The
text "Additional %s" is controlled by the message "form_grow_default".
Support for "CGI::FastTemplate"
Thanks once again to Peter Eichman (busy guy), the module
"CGI::FormBuilder::Template::Fast" has been included. This adds the
template type "Fast" as an interface to "CGI::FastTemplate":
my $form = CGI::FormBuilder->new(
template => {
type => 'Fast',
define => {
form => 'form.tmpl',
field => 'field.tmpl',
}
}
See CGI::FormBuilder::Template::Fast for more details. Thanks again
Peter!
Subclassable Templates and tmpl_param()
The 2.x "tmpl_param()" method has been reimplemented finally. In
addition, the included template modules are now completely subclassable,
meaning that you can create an entire template engine with something
like this:
package My::HTML::Template;
use CGI::FormBuilder::Template::HTML;
use base 'CGI::FormBuilder::Template::HTML';
# new() is inherited
sub render {
my $self = shift;
my $form = shift; # complete form object
# do any special actions here
$self->SUPER::render;
}
For more details, see CGI::FormBuilder::Template.
Message Changes
All messages were reworded to make them shorter and easier to read. The
phrase "You must" was removed from all of them. To see the new messages,
cut-and-paste this code:
perl -MCGI::FormBuilder::Messages \
-e 'CGI::FormBuilder::Messages->messages'
In addition, the "form_submit_default" and "form_reset_default" messages
were not even being used, and field labels were not being properly
highlighted on error. These problems have been fixed.
Autoloaded Fields
The 2.x feature of "$form->$fieldname()" has been reimplemented, but
using it requires the "fieldsubs" option:
my $form = CGI::FormBuilder->new(fields => \@f, fieldsubs => 1);
Read the docs for some caveats.
Disabled Form
Similar to a static form, you can set "disabled => 1" in "new()" or
"render()" to display a form with grayed-out input boxes. You can also
set this on a per-field basis using "field()".
Verbatim HTML Options
If you want to include HTML in your field options, set "cleanopts" to 0
in "field()" (for one field) or "new()" (for all fields).
Compatibility Methods
For compatibility with other modules, FormBuilder now includes
"param()", "query_string()", "self_url()", and "script_name()".
VERSION 3.01
This was a bugfix release, including the following changes:
- fixed major problems with keepextras, including a reversed ismember test
- added debug messages to keepextras and changed a few other debugs
- added patch from Peter Eichman to fix scalar $field->tag and $field->tag_value
- converted most all XHTML generation methods to only returning scalars
- fixed the columns option which was totally broken for radio buttons
- added a feature to plop in {border => 0} in columns as well
- added the 2.x 'override' alias for field() 'force' which was missing
- also added a 'defaults' alias for field() 'value' for CGI.pm happiness
- more tests since there were way too many bugs
In addition there were many documentation updates and changes.
VERSION 3.00
Internals
The internals have been completely rewritten, nearly from the ground up.
All of the major functions have been split into methods, and objects
have been created for the form, fields, messages, CGI params, and so on.
Several new sub-modules have been created, including:
CGI::FormBuilder::Field
CGI::FormBuilder::Messages
CGI::FormBuilder::Template
CGI::FormBuilder::Template::HTML
CGI::FormBuilder::Template::Text
CGI::FormBuilder::Template::TT2
Many of these modules can be subclassed and overridden if desired. In
addition, the template engine has been rewritten to allow "plugging in"
of additional template modules, simply by specifying the name of the
module to the 'template' option in new().
For more details, see the man pages for the individual modules above.
Style Sheets
Stylesheets are now generated if the "stylesheet" option is specified to
FormBuilder. This can either be 1 to turn it on, or a full path to a
style sheet to include. When used, all tags are then output with a
"class" attribute, named "styleclass" plus the name of the tag:
my $form = CGI::FormBuilder->new(
fields => [qw/name email/],
styleclass => 'myFB', # default is "fb_"
stylesheet => 1, # turn on style
);
print $form->render;
# HTML will include
# <input class="myFBname" id="name" name="name" type="text" />
# <input class="myFBemail" id="email" name="email" type="text" />
Compliant XHTML
The output should be fully-compliant XHTML finally. Really. Maybe.
Attributes and Field Objects
Individual accessors have been added for every attribute that
FormBuilder maintains. For example, here's a snippet of code to
demonstrate:
if ($form->stylesheet) {
# loop thru fields, changing class
for ($form->fields) {
next if /_date$/; # skip fields named "XXX_date"
# each field is a stringifiable object with accessors
if ($_->options) {
# has options
$_->class('my_opt_style');
} else {
# plain text box
$_->class('my_text_style');
}
}
}
This code checks to see if the "stylesheet" property has been set on the
main $form. If so, then it loops thru all the fields, skipping those
named "XXX_date". Of the remaining fields, those that have options have
their "class" attribute changed to "my_opt_style", and those without
options have it set to "my_text_style".
In addition, you can individually render every part of the form
yourself. by calling the appropriate method. For example:
print $form->header; # just the header
print $form->script; # opening JavaScript
print $form->title; # form title
print $form->start; # opening <form> tag
for ($form->fields) {
print $_->label; # each field's human label
print $_->tag; # each field's <input> tag
}
print $form->end; # closing </form> tag
For a complete list of accessors, see the documentation for both
CGI::FormBuilder and CGI::FormBuilder::Field.
Messages
Many messages have been reworded, and several new messages were added to
make it easier to customize individual text. In addition, you can now
specify messages to individual fields:
$form->field(name => 'email',
message => 'Please enter a valid email address');
For more details, see "CGI::FormBuilder::Messages".
HTML::Entities encoding
HTML character encoding is now dispatched to "HTML::Entities", if
available. This can be downloaded as part of the "HTML::Parser" module
set on CPAN.
Documentation
Documentation has been updated and somewhat reorganized, which was long
overdue.
AUTHOR
Copyright (c) 2000-2005 Nathan Wiger, Sun Microsystems <nate@sun.com>.
All Rights Reserved.
This module is free software; you may copy this under the terms of the
GNU General Public License, or the Artistic License, copies of which
should have accompanied your Perl kit.
- New translations: Basque, Slovak
- Updated translations: Chinese, French, German, Italian, Japanese, Polish,
Portuguese, Spanish, Swedish
- Fixes a critical feature bug in the Undo/Redo function, which can lead to
data loss.
- Man-pages are now installed by default in every distribution not only
Debian.
- Improves behaviour of font drop down list.
- Improves the "Link to stylesheet" dialog.
- Makes the splash screen a runtime user option.
- Fixes the untitled windows issue, when starting bluefish several times
using the -n option.
- Fixes and updates to C, ChangeLog, CSS, SQL, Perl and PHP highlighting
patterns.
- Fixes an issue where the "Highlight Syntax" menu entry could show a wrong
state.
- Fixes a crash in the spellcheck dialog.
- Fixes for the quickstart dialog, especially a crash observed with
GTK >= 2.8.
- Fixes for the find dialog. So choosing "Bookmark results" does not longer
lead to a search in the whole document even if "Search selection" is used.
- Fixes the moving replace dialog.
- Fixes and improvements for the PCRE UTF-8 support.
- Fixes an inconsistency in the analysis of LC_MESSAGES and LANG leading to
menus in different languages.
- Fixes and language additions for GNOME 2.12 (and above) integration and the
menu tooltip.
- Fixes for the <link>, <meta> and <http-equiv> dialogs.
- Fixes for the custom menu.
- We do not longer ship the Debian packaging files with the source.
What's new:
* Improved stability.
* Improved support for Mac OS X.
* International Domain Name support for Iceland (.is) is now enabled.
* Fixes for several memory leaks.
* Several security enhancements.
For a more detailed list changes, see http://www.squarefree.com/burningedge/releases/1.5.0.1.html
Ok with wiz.
The most important improvements are listed here:
* You can now order prints straight from JAlbum albums using UK's
best rated printing service, PhotoBox. They deliver within a
couple of days over Europe
* New "Server mode" Tool added that enables JAlbum to automatically
make albums as soon as a change to the file system is detected.
This allows JAlbum to run as a server and update albums as soon
as new images are uploaded under the image directory.
* JAlbum now warns if unsaved changes has been made when quitting,
loading projects or requesting new projects
* The JAlbum title bar now also tells the name of the current
project
* New and updated languages
* Updated skins
* Fixes to common bugs and minor internal updates
ELinks 0.11.1:
--------------
* Native FSP protocol support (replaces CGI program in contrib/cgi/)
ELinks 0.11.0 (Elated):
-----------------------
* SSL support via GNUTLS now requires 1.2 or higher
* support for Lua 4.x was dropped, we only support Lua 5.x now
* Python scripting back-end (experimental)
* Spidermonkey based ECMAScript scripting back-end (experimental)
* 88 colors support
* default URI-rewrite rule, used when no other rules match but the string that
was entered in the Go to URL box does not resemble a URI
* support prefixes for add-bookmark-link, document-info, goto-url-current-link,
history-move-back, and history-move-forward
* BitTorrent protocol (experimental)
* FSP protocol via a CGI script (see contrib/cgi/README.FSP) (experimental)
* sysmouse support on the BSD console
* new GNU make based build system (aclocal from automake is still required)
* move from CVS to GIT
ELinks 0.10.6:
--------------
* external editor is configurable at run-time
* Improved stability.
* Improved support for Mac OS X.
* International Domain Name support for Iceland (.is) is now enabled.
* Fixes for several memory leaks.
* Several security enhancements.
Firefox is called "Deerpark" and has the blue globe logo without the fox.
As of currently, we do not have permission of The Mozilla Foundation to
redistribute builds with official branding, but users are allowed to build it
for themselves, hence the option. Once we've got this permission from Mozilla
(Hubert and I are working on this), this option will become a default.
The same will apply to Thunderbird once we've updated it to 1.5.
Ok by hubertf.
Changes:
New
- Continuous browser display when selecting in History panel.
- Use final stable version of external library.
- Record working directory for all subsequent file access within
the same Paros instance.
- Improved spider capability to crawl forms with textarea and handle
links with "&"
- Improved check for cross-site script without bracket.
- Improved check for PHP error and MySQL.
- Improved blind sql check on double quotes.
Fix
- if request body contain certain binary bytes it may cause unnecessary
encoding and corrupt the request. Fixed to always submit contain
binary bytes.
- better handling of accepted-encoding.
Changes:
* Quanta Plus
o better handling of quotation marks when editing tags inside a
script area
o don't show the file changed dialog after using save as and save
again
o crash fixes in VPL
o don't loose the comment closing character when formatting the XML
code
o insert valid img tag for XHTML documents
o don't show the Pages tab in DTEP editing dialog more than once
o set the DTEP of the document to the one selected in the Quick Start
dialog
o don't have two Close actions
o don't show CSS pseudo-classes in autocompletion for the class
attribute
o avoid deadlock when loading the DTEPs
o add XHTML 1.1 and XHTML 1.0 Basic to the quickstart dialog
o new DCOP interfaces/methods: WindowManagerIf::setDtep
o Doesn't parse PHP class methods which returns references
This adds as weather button in your Kwiki toolbar. Users must specify
a zip code in their preferences first.
Additionally, this plugin adds a WAFL phrase you can use to generate
a weather report from KwikiText.