Commit graph

3928 commits

Author SHA1 Message Date
schmonz
e16b509e2d Fix build on NetBSD (4.0, at least): include <signal.h> and avoid
RLIMIT_AS on systems without it. Also fix path to Perl interpreter
in installed scripts, and as a result, bump PKGREVISION.
2008-07-27 04:06:00 +00:00
schmonz
99833e8c26 Add and enable xapian, xapian-omega, p5-Search-Xapian. 2008-07-26 23:44:26 +00:00
schmonz
8754fb378d Initial import of Search::Xapian, a Perl XS frontend to the Xapian
C++ search library.
2008-07-26 23:39:21 +00:00
schmonz
c2e477db4a Initial import of Omega, which operates on a set of Xapian databases.
Each database is created and updated separately using either omindex
or scriptindex. You can search these databases (or any other Xapian
database with suitable contents) via a web front-end provided by
omega, a CGI application.  A search can also be done over more than
one database at once.
2008-07-26 23:37:29 +00:00
schmonz
a3b44764a9 Initial import of Xapian, an Open Source Search Engine Library,
released under the GPL. It's written in C++, with bindings to allow
use from Perl, Python, PHP, Java, Tcl, C# and Ruby (so far!)

Xapian is a highly adaptable toolkit which allows developers to
easily add advanced indexing and search facilities to their own
applications. It supports the Probabilistic Information Retrieval
model and also supports a rich set of boolean query operators.

If you're after a packaged search engine for your website, you
should take a look at Omega: an application we supply built upon
Xapian. Unlike most other website search solutions, Xapian's
versatility allows you to extend Omega to meet your needs as they
grow.
2008-07-26 23:35:05 +00:00
rhaen
03e3a8d07f updated to 2.26
took maintainership

ChangeLog:
# Revision history for Perl extension Encode.
#
# $Id: Changes,v 2.26 2008/07/01 20:56:17 dankogai Exp dankogai $
#
$Revision: 2.26 $ $Date: 2008/07/01 20:56:17 $
! Encode.pm
  Absense of Encode::ConfigLocal no longer carps no matter what.
  https://bugzilla.redhat.com/show_bug.cgi?id=435505#c2
  https://rt.cpan.org/Ticket/Display.html?id=28638
  https://rt.cpan.org/Ticket/Display.html?id=11511
! lib/Encode/JIS7.pm
  use encoding 'utf8' and 'iso-2022-jp' glitches on perl 5.10
  Thanks, MIYAGAWA
  Message-Id: <693254b90807011224h3ab50d76v50c6fea87baf223c@mail.gmail.com>
! lib/Encode/Alias.pm t/Aliases.t
  macintosh' not recognize as MacRoman
  http://rt.cpan.org/Ticket/Display.html?id=36326
! Makefile.PL
  s{INC => "-I./Encode"}
   {INC         => '-I' . File::Spec->catfile( '.', 'Encode' )}
  To prevent some platforms from forgetting to include Encode/encode.h.
  http://rt.cpan.org/Ticket/Display.html?id=36348

2.25 2008/05/07 20:56:05
! Encode.pm
  added ':default' to Exporter option.
! lib/Encode/GSM0338.pm
  GSM0338 now handles coderef in CHECK
  http://rt.cpan.org/Ticket/Display.html?id=31335
! Makefile.PL
  Perl 5.10/Encode 2.24: Tiny typo in Encode's Makefile.PL arg processing
  Message-Id: <961C2A4F-92B3-416D-A9F9-E7B0ADA9F134@fsck.com>
! lib/Encode/Alias.pm
  "This fix for Encode::Alias should make Solaris happy:"
  Message-ID: <47D886D9.6060001@iki.fi>

2.24 2008/03/12 09:51:11
! lib/Encode/Config.pm
  adds and  fixes also adds cp858 support.
! Encode.pm encoding.pm lib/Encode/Alias.pm ucm/cp858.ucm
  Merged perl@33486.
  > Change 33486 by rgs@scipion on 2008/03/12 08:50:11
    An unfortunate side-effect of Encode and Encode::Alias use'ing each
    other, and Encode::Alias exporting functions into Encode for it to use
    as methods, broke the loading of the find_alias() Encode method in some
    cases since 5.10. Breaking the recursive inheritance fixes it.
  Message-Id: <b77c1dce0803120151o4166c3a0gfcfd14681ab7e10d@mail.gmail.com>
! Encode.pm
  POD fix by tels
  Message-Id: <200711281835.36125@bloodgate.com>
! bin/ucmlint
  Fix by MIYAGAWA via CodeRepos
  http://coderepos.org/share/changeset/1791
! encoding.pm t/mime_header_iso2022jp.t
  ported back from Perl 5.10-RC1

2.23 2007/05/29 18:15:32
! Encode.xs
  got rid of global fallback_cb; encode_method() now takes one more
  argument which is a coderef to fallback.  This should make
  encode_method() thread-safe.
! Encode.pm
  Added perluniintro, perlunifaq, and perlunitut to POD
! Encode.xs
  Plug a memory leak in Encode -- by rgs
  Message-Id: <b77c1dce0705290858v2be239c3o2d726e3d59091493@mail.gmail.com>
! Unicode/Unicode.pm
  POD fixes on UTF-16LE
  http://aspn.activestate.com/ASPN/Mail/Message/perl5-porters/3486118
! Makefile.PL
  man page generation is now conditional; yes by default but no if $PERL_CORE
  Message-Id: <b77c1dce0705290237h5c4667cdlf79a48b839170add@mail.gmail.com>

2.22 2007/05/29 07:35:27
! Encode.pm
  from_to() does not honor the check while decoding.  That's a feature.
  To make sure it is a feature it is mentioned in the POD.
  http://rt.cpan.org/NoAuth/Bug.html?id=27277
! Makefile.pl
  Encode used to suppress man page generation.  Now it does.
  http://rt.cpan.org/NoAuth/Bug.html?id=27200
! Encode.pm Encode.xs t/fallback.t
  Addressed: (de|en)code("ascii", "\x{3000}", sub{ $_[0] }) segfaults
  Reported by MIYAGAWA

2.21 2007/05/12 06:42:19
+ lib/Encode/MIME/Name.pm t/mime-name.t
! Encode.pm Encode.xs lib/Encode/Encoding.pm
  new method: mime_name()
  inspired by: MIYAGAWA
! t/encoding.t
  Subject: Re: Compress::Zlib, pack "C" and utf-8 [PATCH]
  From: Marc Lehmann <schmorp@schmorp.de>
  Date: Thu, 12 Apr 2007 08:41:53 +0200
  Message-ID: <20070412064153.GA22475@schmorp.de>
  http://public.activestate.com/cgi-bin/perlbrowse/p/31194
! Unicode/Unicode.pm
  POD fix.
  Message-Id: <20070417220547.GA11999@zetta.zet>

2.20  2007/04/22 14:56:12
! Encode.pm
  Pod fixes.  Now find_encoding() is explained more in details.
+ lib/Encode/GSM0338.pm
- ucm/gsm0338.ucm
! lib/Encode/Supported.pod lib/Encode/Config.pm Bytes/Makefile.PL t/gsm0338.t
  ESTI GSM 03.38 support is relocated from Encode::Byte to Encode::GSM0338.
  This encoding is so kaputt it is unfit for Encode::XS!
  Though it was okay for general cases and escape sequences,
  '\0' => '@' IFF '\0\0' => '\0' had gliches.
  So kaputt even t/gsm0338 wrongly interpreted that.
  ref. http://www.csoft.co.uk/sms/character_sets/gsm.htm
! encoding.pm t/Aliases.t
  Imported from bleedperl #31015

2.19 2007/04/06 12:53:41
! lib/Encode/JP/JIS7.pm
+ t/jis7-fallback.t
  encode('iso-2022-jp') fallback support added by MIYAGAWA++
  decode()'s fallback remains unchanged (FB_PERLQQ) since UTF-8
  contains all characters in iso-2022-jp so there's no need for fancy stuff.
  Message-Id: <693254b90704060526s6d850320h71cdda50dfbf7eba@mail.gmail.com>
! Encode.pm
  #25216 ([PATCH] Encode.pm: postpone the load of Encode::Encoding)
  http://rt.cpan.org/NoAuth/Bug.html?id=25216
! lib/Encode/MIME/Header.pm t/mime-header.t
  #24418 (Encode::MIME::Header: wrong encoding with latin1 characters)
  http://rt.cpan.org/NoAuth/Bug.html?id=24418
! Encode.pm
  #23876 (Add documentation for LEAVE_SRC)
  http://rt.cpan.org/NoAuth/Bug.html?id=23876
! lib/Encode/Alias.pm t/Aliases.t
  #20781: Thai encoding needs alias for tis-620
  http://rt.cpan.org/NoAuth/Bug.html?id=20781
! bin/piconv AUTHORS
  #20344: piconv: wrong conversion of utf-16le encoded files (with PATCH)
  http://rt.cpan.org/NoAuth/Bug.html?id=20344
! Encode.pm Encode.xs bin/enc2xs encoding.pm t/Aliases.t t/utf8strict.t
  Imported from bleedperl's 2.18_01
2008-07-22 13:39:18 +00:00
joerg
aa935bca20 Fix typo. 2008-07-21 19:20:39 +00:00
rhaen
f074f44af5 updated to 1.05
oked by bad

ChangeLog:
[Changes for 1.05 (JSON::Syck 0.29) - 2008-06-09]

* Loading a YAML stream containing Regexp nodes under -d:DProf should
  not fail with "panic: Devel::DProf inconsistent subroutine return".
  Reported by: Richard Jelinek
2008-07-21 14:44:37 +00:00
rhaen
435fec6a3d updated to 1.20
took maintainership

ChangeLog:
1.20  26 Jun 2008
      [ENHANCEMENTS]
      - Support for Type 2 encryption (just reading, not writing)
      - Support for reading PDFs where the owner and user passwords
        are different
      - Improvement to performance of node traversal, inspired by
        RT #35555 (credit Eric Hall and his anonymous employee).

1.13  23 Apr 2008
      [FIXES]
      - setpdfbackground.pl computed RGB values incorrectly.  Thanks to
        Andrew Cadman for finding the bug and suggesting a fix

1.12  27 Nov 2007
      [FIXES]
      - I just realized that CAM::PDF::Renderer::Text was useless
        because it just printed to STDOUT.  Fixed to offer a
        toString() method instead.  Fuse::PDF wants this feature.
      - Fixed a typo in the Synopsis of CAM::PDF::Content

1.11  20 Nov 2007
      [ENHANCEMENTS]
      - added previousRevision() and allRevisions() [invented in Fuse::PDF]
      [INTERNALS]
      - Compliance with Perl::Critic v1.080
2008-07-21 13:10:49 +00:00
abs
40cf07da8f fix PLIST 2008-07-20 23:54:06 +00:00
heinz
545db81a7c Roman Kulik cannot maintain those packages anymore (he told me in
private mail some months ago).
2008-07-20 16:09:34 +00:00
ahoka
c4ffbd0cdb Add hunspell-id_ID 2008-07-20 13:02:56 +00:00
ahoka
b90fcb4ebe Import hunspell-id_ID-20040410 as textproc/hunspell-id_ID.
Indonesian dictionary for hunspell.
2008-07-20 12:49:47 +00:00
ahoka
50ef8dc4fb Added textproc/hunspell-fo_FO
Added textproc/hunspell-es_ES
Added textproc/hunspell-es_MX
2008-07-19 18:49:12 +00:00
ahoka
9ff7e5cd71 Import hunspell-fo_FO-20050307 as textproc/hunspell-fo_FO.
Faroese dictionary for hunspell.
2008-07-19 18:23:46 +00:00
ahoka
98f6ee8c65 Import hunspell-es_MX-20050505 as textproc/hunspell-es_MX.
Spanish (Mexico) dictionary for hunspell.
2008-07-19 18:06:15 +00:00
ahoka
5259349828 Import hunspell-es_ES-20050510 as textproc/hunspell-es_ES.
Spanish (Spain) dictionary for hunspell.
2008-07-19 18:00:51 +00:00
ahoka
630335001d Add hunspell-cs_CZ
Add hunspell-da_DK
2008-07-19 17:54:52 +00:00
ahoka
3121a3069e Import hunspell-da_DK-20070106 as textproc/hunspell-da_DK.
Danish dictionary for hunspell.
2008-07-19 17:48:04 +00:00
ahoka
42cc4593ab Import hunspell-cs_CZ-20061030 as textproc/hunspell-cs_CZ.
Czech dictionary for hunspell.
2008-07-19 17:08:35 +00:00
ahoka
509458c339 Add hunspell-af_ZA, hunspell-bg_BG, hunspell-ca_ES, hunspell-fr_FR,
hunspell-sv_SE.
2008-07-19 15:33:30 +00:00
ahoka
e6f90c7587 Import hunspell-ca_ES-20080427 as textproc/hunspell-ca_ES.
Catalan dictionary for hunspell.
2008-07-19 15:28:57 +00:00
ahoka
2f1059eb9a Import hunspell-bg_BG-20040405 as textproc/hunspell-bg_BG.
Bulgarian dictionary for hunspell.
2008-07-19 15:19:46 +00:00
ahoka
e63f0813d8 Import hunspell-af_ZA-20060117 as textproc/hunspell-af_ZA.
Afrikaans dictionary for hunspell.
2008-07-19 15:14:45 +00:00
ahoka
35a91a6d56 Add skeleton makefiles for handling OO.org supplied dictionaries.
While here: change my email address.
2008-07-19 15:06:36 +00:00
ahoka
c29bec9562 Import hunspell-fr_FR-2.3.2 as textproc/hunspell-fr_FR.
French (Classic + 1990 Reform) dictionary for hunspell.
2008-07-19 15:02:06 +00:00
ahoka
c5e5bbbb20 Import hunspell-sv_SE-1.27 as textproc/hunspell-sv_SE.
Swedish dictionary for hunspell.
2008-07-19 14:46:43 +00:00
rhaen
fd8edc03d9 - updated to 1.16
- no ChangeLog provided by upstream
2008-07-19 11:53:17 +00:00
rhaen
7fc4af8abb - updated to 0.97
- added dependency to textproc/p5-Encode

ChangeLog:
0.97  August 08 2007
    - Added the README (Kwalitee)
    - Specified the LICENSE (as "perl") explicitly in the Makefile.PL.
      (Kwalitee)
    - Added t/pod.t. (Kwalitee).
        - fixed the POD in the process.
    - Created a Build.PL script based on the Makefile.PL in order to
      make sure the META.yml is according to the SPEC. (Kwalitee).
    - Added the t/pod-coverage.t file and made sure the files have
      full POD coverage. (Kwalitee)
    - Made sure the second argument in compare can accept a processed
      XML result, and refactored the code in the process. Added the
      t/13to-doc-read.t test file.
    - Converted the "PathFinder" package in lib/XML/SemanticDiff.pm
      to "XML::SemanticDiff::PathFinder" to maintain namespace
      purity.
    - Converted the Pkg to use an object using Non-Expat-Options. Made the
      global variables as class members using accessors.

0.96  July 03 2007
    - Fixed the warning emitted with the namespaces being undefined.
      (t/8nonexist_ns.t)
        - fixes http://rt.cpan.org/Public/Bug/Display.html?id=1379
    - Fixed the search algorithm so it will identify the location of the
      XML tags properly. (t/09two-tags.t)
    - Applied a modified version of:
        http://rt.cpan.org/Ticket/Display.html?id=24715
        - Fixes an exception when comparing XML with multi-byte
          characters.
        - Thanks to RMBARKER
        - t/10wide-chars.t
    - Applied a modified version of:
        http://rt.cpan.org/Ticket/Display.html?id=18491
        - Fixes a case where the same tags in different places with
        identical contents, are not considered semantically identical.
        - Thanks to CLOTHO for reporting it and suggesting a
        fix.
        - t/11tag-in-different-locations.t
    - Added a regression test against bug:
        http://rt.cpan.org/Ticket/Display.html?id=2322
        - Seems to already have been fixed.
        - t/12missing-element-has-o-as-cdata.t
2008-07-18 14:56:01 +00:00
rhaen
3128195771 - updated to 0.40
ChangeLog:
0.40	2008-06-30 08:00
    - small Kwalitee improvements
2008-07-18 14:52:36 +00:00
rhaen
e7b6116ac0 - updated to 1.44
- took maintainership
- added dependency to p5-XML-Parser

ChangeLog:
1.44 (tjmather) 07/25/2005
- Only use 'use bytes' where needed (by XML::RegExp) (Gisle Aas)
2008-07-18 14:42:57 +00:00
rhaen
1ebf6184a5 - updated to 4.61
- added dependency to p5-Email-Valid
- corrected version of dependency to p5-Date-Calc
- added dependency to p5-Perl6-Junction
- corrected PERL5_MODULE_TYPE to Module::Build

ChangeLog:

4.61 Mon Jun 16 14:37:31 EDT 2008

    [INTERNALS]
    - packaging issue from Perl 4.60 resolved.

4.60 Mon Jun 16 14:10:14 EDT 2008

    [NEW FEATURES]
    - Dependencies can now be specified using a code ref.
      Thanks to Bradley C Bailey, via RT#24935.

    [BUG FIXES]
    - length constraints for min, max and 'between' now work for lengths
       of 32k and longer. (Carl Vincent).
    - We now use Email::Valid to validate e-mail addresses instead of
      our own regrex. Email::Valid passed all our our existing regression
      tests for e-mail addresses that should pass and fail. Email::Valid
      also correctly recognizes emails with single quote characters in them.
      These are valid, but our regex didn't recognize them.  (Mark Stosberg)

    [INTERNALS]
    - Typo in Constraints documentation corrected by K B Shiv Kumar (RT#32358)
    - Add some tests and docs for "date_and_time" constraint, from
      Data::FormValidator:::Constraints::Dates.  It appears  there may still
      exist a leap-year bug with the date parser. See the TODO test in
      t/dates_closure.t for details. An alternative is to use
      Data::FormValidator::Constraints::DateTime
      (Mark Stosberg, Matt Christian)

4.57 Thu Nov  1 22:47:13 EDT 2007
    [BUG FIXES]
    - The min max and length_between constraints now allow multi-line input,
      Thanks to Carl Vincent. RT##30221. If we had only used the Regex style
      prescribed by the Perl Best Practices book in the first place, this
      wouldn't have been a problem!

    [INTERNALS]
    - Makefile.PL to updated to explicitly require 5.008;
    - Fix doc link to "Old School Constraints", thanks to rjbs.

4.56 Wed Oct 31 12:34:32 EDT 2007
    [INTERNALS]
    - declare that we rely on 5.8, because some 5.6 tests were failing.
      A patch for 5.6 compatibility would be welcome. Thanks to rjbs for the prod.

4.55 Sun Oct 21 11:41:41 EDT 2007
    [BUG FIXES]
    - Constraints in Upload.pm now apply to filtered data, not raw data.
     (Graham TerMarsch, Mark Stosberg, RT#24702)

4.54 Sun Oct 21 09:27:07 EDT 2007
    [INTERNALS]
    - It looks like 4.53 got uploaded wrong, appearing as the code for 4.50.

4.53 Sat Oct 20 15:57:56 EDT 2007
    [BUG FIXES]
    - Invalid fields should still be invalid, even when missing_optional_valid is true.
      Patch thanks to Robert Juliano. [RT#28860]

    [INTERNALS]
    - Improve documentation link, thanks to Robert Stockdale [RT#29510]
    - Give a plug to Data::FormValidator::Constraints::MethodsFactory. Recommended!
    - s/foreach /for /g throughout the code, per Perl Best Practices

4.52 Fri Oct 19 15:39:14 EDT 2007
    No code changes.

    [INTERNALS]
    - Fix PERL5LIB issue with untaint.t, Thanks to Matt Trout and others [RT#30126]

4.51 Fri Jul 13 23:31:43 EDT 2007
    [BUG FIXES]
    - Quit assuming that because the first element of an array is undef, the
      the whole thing is undef. (RT#24703, GTERMARS, Paul Blair)

    - For the "file_format" file upload constraint, File::MMagic sometimes
      wrongly returns the generic "application/octet-stream" MIME type instead
      of the correct MIME type. We now this return value as meaning "I don't
      know" and try the MIME type sent by the browser if this happens.
      (Mark Stosberg)

    - for the "file_format" file upload constraint, we now do a
      case-insensitive comparison of the MIME type provided by the browser,
      following the MIME standard. This bug was masked because we check the
      returned MIME type by File::MMagic first. Because it generally works
      and returns a lower-case result, it didn't matter. However, it some cases
      File::MMagic misbehaves under mod_perl, causing the the issue to matter.
      (Matt Christian, Mark Stosberg)

    [INTERNALS]
    - Start requiring and using Scalar::Util, which prevents UNIVERSAL::can() form generating warnings.
      (RT#25873, Dave O'Neill)

    - Start requiring Perl6::Junction, which we had previously copy/pasted a bit
      of into DFV. (Unlike some of the other Perl6 namespace modules, this one
      does /not/ use a source filter, and is addictively simple and useful.

4.50 Mon Dec  4 21:28:09 EST 2006

    [ENHANCEMENTS]
    - New method for constraint writing: get_filtered_data().
      (Graham TerMarsch, Mark Stosberg, RT#22589)

    - Stronger profile checking, to insure that all constraint_method values
      are code references. Note: This explicitly simplifies things compared to
      the 'constraints' system. Bare strings declarations are not allowed with
      'constraint_methods'. (Mark Stosberg)

    - Numerous documentation and comment typo fixes (Evan Zacks)

    - Clarified the docs for overriding msgs (RT#18050)

    [BUG FIXES]
    - ':all' was documented as a group of constraints to import, but it didn't
      work.  The documentation was updated to recommend ':closures' instead.
      (PURDY, RT#21052)

    - FV_eq_with now works with CGI.pm-style objects as input. (Jason Crummack)

    - Fix documented example of using constraint methods. (Brian Lozier)

    - When a constraint and a constraint_regexp_map matched the same field,
      only the ones from the map where being used in one case. This was a
      regression since the 4.0 release. A new regression test was also added
      for this case.  (Matt Christian)

4.49_01 Tue Oct  3 14:13:59 EDT 2006

    [ENHANCEMENTS]
    - New defaults_regexp_map profile key, useful for dynamically generated
      checkbox fields. (Mark Stosberg)
2008-07-18 12:11:11 +00:00
rhaen
875d4c9d1d - updated to 3.32
- took maintainership
- updated DEPENDS for testing purposes (not required)

ChangeLog:
version: 3.32
date: $Date: 2007-11-13T18:10:03.393214Z $
# minor maintenance release with a bug fix
fix:  change to the regexp that parses XPath-like conditions so
      it can accept leading non-ascii letters ([^\W\d] does not
      work), not used in perl 5.005
fix:  set use utf8 (except in 5.005), which gets rid of the dreaded
      "SWASHNEW" error in 5.6. fixed things that then broke in 5.6.


version: 3.31
# minor maintenance release, fixing some tests
tests: fixes to stop tests from failing in various configurations


Changes in 3.30


      fixed a couple of bugs in namespace handling, spotted by
      Shlomo Yonas (see https://rt.cpan.org/Ticket/Display.html?id=27617
      and http://www.perlmonks.org/?node_id=624830)

      added the XML::Twig::Elt fields method which returns a list of
      fields

      added the normalize method in XML::Twig and XML::Twig::Elt,
      which merge together consecutive pcdata elements. As much as
      possible (so far after a cut, delete or erase), the twig is
      kept normalized, eg there are no consecutive #PCDATA elements
      in it. Suggestion of someone whose name (and emails) I can't
      find at the moment.

      added the indented_a / cvs format for pretty_print, that makes the
      output friendly to line-oriented version control tools, as described
      in http://tinyurl.com/2kwscq (RT #24954). Thanks to Sjur Moshagen
      for a patch that I adapted to the current version.

      fixed bug RT #25113: system entities were not properly resolved
      if the XML file was not in the current directory. Thanks to
      Dave Charness for the patch.

      Added the XML::Twig method finish_now that terminates parsing
      immediately, without checking the rest of the XML. This feature was
      half suggested by Nick Clayton

      added the -s option to xml_split, which splits when the given
      size is reached for a file, suggested by Radek Saturka.

      added the -g option to xml_split, which groups elements to be
      split, suggested and tested by Dhirendra Singh Kholia.

      added the safe_parsefile_html and safe_parseurl_html methods,
      and a --html option to xml_grep. Suggested by Bill Ricker.

      by default xml_grep now skips non well-formed files, the
      --strict option makes it die when it finds one

      fixed a bunch of bugs in xml_grep

      fixed a warning when using optional modules with a version
      number that includes an _, spotted and fix suggested by
      Bill Ricker.

      Fixed test failure on cygwin, thanks to Erik Rantapaa for the
      patch.

      Fixed a bunch of typos in docs, RT #25836, spotted and fixed by David
      Steinbrunner

      Improved re-use of XML::Twig objects for repetitive parsing. It
      looks like it should be OK now , but I am sure I haven't tested
      all cases yet (especially when DTDs and entities are involved).

      HTML parsing improved: XML::Twig now tries to find the proper
      encoding for the document (that's not done by HTML::TreeBuilder
      at the moment).

      XML::Twig::Elt purge and flush methods now only purge/flush up to
      the element, not up to the current element in the twig (duh!)

      Fixed bug in handlers of the form elt[string(subelt)="foo"] and
      elt[string(subelt)=1] which did not work at all

      fixed bug in parameter entity output, spotted by BenHopkins on
      perlmonks (see http://www.perlmonks.org/?node_id=618360)

      fixed bug in xml_string: options were not used

      improved error reporting for missing SYSTEM entities, including
      the option to set twig_expand_external_ents to -1, which makes
      missing SYSTEM entities not fatal, but reports them in
      $t->{twig_missing_system_entities} Thanks to Frank Wegmann for
      his suggestions and for testing the various versions of the feature

      fixed internals so new versions of Pod::Coverage won't barf

Changes in 3.29

      fixed a bug in the handling of handlers after an ignore (RT #24392,
      reported by Robert Eden).

Changes in 3.28

      now builds on Windows and OS2

      refactored the code that triggers handlers,
      more complex expressions can now be handled,
      such as '/doc/section[@def="1"]/title'

      COMPATIBILITY WARNING

      Up to version 3.26, you could change the attribute
      of a parent of a node on which you had a handler,
      and be able to trigger a handler on that parent node
      based on the new attribute value:
      XML::Twig->new( twig_handlers =>
        { 'sect/title'          => sub { $_->parent->set_att( has_title => 1)},
          'sect[@has_title="1"]'=> sub { ... }, # called for any sect that has
        }                                       # a title
                    );
      This won't work now. The trigger expression ('sect[@has_title="1"]')
      is evaluated strictly against the input XML. This is more logical and
      consistent (if you changed the element name, the new name was never
      used in the evaluation of the trigger).
      The only exception to that rule is if you use "private attributes":
      attributes which name starts with a '#'. By definition this in an invalid
      XML name, so it can't be in the input, and has to have been created . In
      that case the code that evaluates the trigger looks at the attribute in
      the element in the tree in memory (if it exists).
      So in the example above, if you replace 'has_title' by '#has_title',
      everything will work fine. Note that private attributes are not output
      when using the print/sprint/xml_string... methods.

      fixed xml_pp so it does not leave a tempfile
      and a broken original file all when the original
      file is not well-formed.

      added the nparse_pp method that does an nparse
      with pretty_print set to 'indented', nparse_e
      that sets error_context, and nparse_ppe that
      does both

      added XML::Twig::Elt tag_to_span and tag_to_div
      methods (turn an element into a span/div and
      set its class to the old tag name)

      added the quote option for XML::Twig new, which
      sets the output quote character for attributes
      ('single' or 'double')

      added the text_only and xml_text_only methods
      that return the text of the element, but not of
      the sub-elements.

      added outer_xml method (synonym for sprint)

      fixed bug where entity names were not matched
      properly (RT #22854, spotted by Bob Faist)

      fixed bug  on some DOCTYPE config with
      twig_print_outside_roots

      fixed bug in set_keep_encoding (the method,
      not the option).

      fixed bug in simplify: the code attempted to
      replace variables in attribute values even if no
      option required it, spotted by Klaus Rush

      clean-up and fixed bugs in ignore: the method
      can now be called from a regular handler (it
      always could but the docs did not say so,
      thanks to kudra for noticing this). It can
      also be called to ignore a parent of the current
      element. There were bugs there, and the tree
      was not built properly

      added error message when an XPath query with
      a leading / is used on a node that does not
      belong to a whole twig (because it's been cut
      or because the twig itself went out of scope)

      when parsing HTML with error_context set, the
      HTML is indented, in order to give better error
      report
2008-07-16 12:06:07 +00:00
rhaen
15cb8b57eb - updated to 1.3022
- took maintainership

ChangeLog:
1.3022July 18 2007
    - Changed XML::RAI::Object's date handler to avoid an apparent bug in
      Date::Format::strftime. Thanks to Tim Sweetman.

1.301Nov 20 2005
    - Fixed Makefile dependencies

1.3  Nov 18 2005
    - Seperated out XML::RSS::Parser reversing a bad idea.
    - Introduced add_mapping method to all objects.
    - Now requires XML::RSS::Parser 4.0.
    - Various mapping tweaks.
    - Numerous bug fixes.
    - Test. A lot of them.

1.21 Jul 16 2005
    - Replaced use of Style param in XML::RSS::Parser constructor with
      standard Handlers param. This lowered the prerequisite version of
      XML::Parser needed.

1.2  Jan 16 2005
    - POTENTIAL BREAK: XML::RAI::Object::source has been renamed src. This fixes
      a boneheaded oversight where XML::RAI::Item had two documented source
      methods. The source method for retreiving any RSS source attributes
      was overloading the XML::RAI::Object source method to retreive the
      underlying XML::RSS::Parser::Element object. This was completely fouling
      up retreival in an ARRAY context for all the RSS methods in the
      XML::RAI::Item class. This change required numerous modifications
      throughout the XML::RAI classes to reflect this naming change.

1.11 Jan 09 2005
    - Fixed condition that was generating "Use of uninitialized value in
      localtime" warning.

1.1  Jan 09 2005
    - Dropped POSIX dependency in favor of Date::Format.
    - Added EPOCH time formatting option
    - Fixed time_format bug were PASS_THRU could not be set. (Kevin Frost)
    - Fixed PASS_THRU bug were an XML::RSS::Parser::Element object would be
      returned instead of a string. (Kevin Frost)
    - Fixed bug were date normalization was ignoring timezone and using the
      local system timezone instead. (Kevin Frost)

1.04 Nov 22 2004
    - Added the Technorati API namespace to XML::Parser::Element.

1.03 Nov 06 2004
    - Fixed RAI->item_count bug that was returning one less then the
      actual count. (Jason Swan)

1.02 Oct 16 2004
    - Added missing Class::XPath dependency to Makefile.PL

1.01 Sep 30 2004
    - Corrected XML::RSS::Parser prerequisite version to 3.
    - Added prerequisite version of Date::Parse to 2.26 in RAI::Object.
    - Switched use of deprecated value method to text_content in
      RAI::Object.

1.00 Sep 29 2004
    - Integrated XML::RSS::Parser package into RAI.
    - Refactored XML::RSS::Parser to use XML::Elemental package and
      true tree structure.
    - Introduced XML::RSS::Parser::Characters class
    - Exposed internal methods for use with Class::XPath in Element
    - Added more graceful handling of unrecognized namespace URIs
    - Deprecated value and append_value. BREAKAGE: Regretfully value method
      will not work the same as version 2x of the RSS Parser in some cases.
      This is due to the adoption of a tree model and how text is handled.
    - Added as_xml method for reimplementing the version 2x pass-thru
      functionality under the tree structure.

0.52 Aug 14 2004
    - Removed lastBuildDate from the RAI::Item created and modified mappings. A
      good idea gone bad if you are trying to merge feeds and list out entries
      chronological order.
    - Added minimum version of 0 to POSIX an Date::Parse in Makefile.PL.
    - Time handlers (created, modified etc) return UTC rather then local time
2008-07-16 09:47:47 +00:00
rhaen
15dd3ff48c - added needed dependency to textproc/p5-XML-Elemental
- took maintainership
- bumped pkgrevision
2008-07-16 09:30:37 +00:00
seb
d7f96b55be This Perl module requires the Date::Calc module. Hence add a
dependency on devel/p5-Date-Calc package.

Bump PKGREVISION to 1.
2008-07-16 00:13:02 +00:00
rhaen
d4cb143992 - added new package p5-XML-Elemental to SUBDIR 2008-07-15 23:08:28 +00:00
rhaen
e2c0a6d1bf XML::Elemental is a SAX-based package for easily parsing XML documents
into a more native and mostly object-oriented perl form.

The development of this package grew out of the desire for something
more object-oriented then XML::Simple and was more simplistic and
perlish then the various standard XML API modules such as XML::DOM.
Easier installation of modules was also a contributing factor.
2008-07-15 23:07:03 +00:00
rhaen
13e4e3af97 - updated to 0.11
- took maintainership

Changelog:

Revision history for Perl extension XML::Node
0.11  Dec 10 Mon 2:07:06 2001
	- added support for relative paths
	- rename XML::Node.sgml to XML-Node.sgml so that Windows people can
          unzip the package.
2008-07-15 22:29:16 +00:00
rhaen
0fadc54227 - updated to 2.03
- changed location of distfile to a more generic form
- changed location of homepage to a generic form

Changelog:
2.03 08 Jul 2008
	- Improved POD formatting of compile_encoding and make_encmap manual pages,
	  courtesy of a patch from Daniel Leidert <daniel.leidert@wgdd.de>.
2.02 29 Jun 2008
	- Added manual pages supplied by Daniel Leidert <daniel.leidert@wgdd.de>
	  for compile_encoding and make_encmap.
2008-07-15 17:51:20 +00:00
mishka
c1c9887eb8 Use my NetBSD.org email - I read it much more regulary than any others. 2008-07-15 15:33:45 +00:00
rhaen
fa8297b984 - update to 0.604
ChangeLog:

0.604 Thu Feb 21 00:42:06 GMT 2008    <joe@kafsemo.org>
        - Patch from Andreas Koenig for lc(undef) warning in 5.11 (#32874).
        - Include example code.
2008-07-15 12:16:09 +00:00
joerg
f605fec2db Mark as destdir ready. 2008-07-14 12:55:56 +00:00
abs
cf9ec1641b +p5-FormValidator-Simple 2008-07-14 09:38:59 +00:00
abs
828b7b30d9 Added textproc/p5-FormValidator-Simple version 0.23
This module provides you a sweet way of form data validation with
simple constraints chains. You can write constraints on single line
for each input data.

This idea is based on Sledge::Plugin::Validator, and most of
validation code is borrowed from this plugin.

(Sledge is a MVC web application framework: http://sl.edge.jp
[Japanese] )

The result object this module returns behaves like
Data::FormValidator::Results.
2008-07-14 09:32:12 +00:00
adrianp
ab9dda3c28 +pear-Console_Table
+pear-File_Find
2008-07-08 20:49:53 +00:00
adrianp
91f4ac87ef Provides methods such as addRow(), insertRow(), addCol() etc. to build console
tables with or without headers and with user defined table rules and padding.
2008-07-08 20:46:54 +00:00
adrianp
11f09224e0 File_Find, created as a replacement for its Perl counterpart, also named
File_Find, is a directory searcher, which handles, globbing, recursive
directory searching, as well as a slew of other cool features.
2008-07-08 20:36:16 +00:00
obache
0006ae2970 Fix PLIST and really bump PKGREVISION.
Previous commit for Ruby 1.8.7 seems incomplete.
(note bump, but not, PLIST use site, not vendor)
Noticed by Hasso Tepper in PR 39073.
2008-07-03 08:12:20 +00:00
he
d03e3bb7f9 Update from 1.32 to 1.33. Changes:
1.33 - June 8, 2008
       - Allowed the end-user to customise the _encode() routine in
       XML::RSS::Private::Output::Base from XML::RSS using the
       encode_cb key.
2008-06-22 17:27:44 +00:00