Subject: CVS commit: pkgsrc/databases/p5-DBIx-SearchBuilder
To: None <>
From: Thomas Klausner <>
List: pkgsrc-changes
Date: 11/24/2005 18:54:21
Module Name:	pkgsrc
Committed By:	wiz
Date:		Thu Nov 24 18:54:21 UTC 2005

Modified Files:
	pkgsrc/databases/p5-DBIx-SearchBuilder: Makefile distinfo

Log Message:
Update to 1.35:

1.35 Wed Nov  2 22:36:02 EST 2005
* Doc fixes and OrderBy cleanup from ruslan

1.34 Wed Nov  2 22:26:15 EST 2005

* Clone support from Ruslan

1.33 Thu Sep 22 14:27:46 EDT 2005

* Better SQL statement logging from alex

1.32 Thu Sep  1 06:52:42 EDT 2005

* DBD::SQLite is necessary for the test suite to run correctl

1.31 Fri Jul 29 12:47:25 EDT 2005

* Updated MANIFEST to fix a build issue -
    Thanks to Andy Lester and David Glasser

1.30 Thu Jul 28 10:17:27 EDT 2005

*  Removed {{{ and  }}} fold markers. Patch from Ruslan

1.30_03 Thu Jun  9 01:35:49 EDT 2005
* Significant new tests from Ruslan Zakirov and Dave Glasser

* You no longer need to explicitly bless a DBIx::SearchBuilder::Handle subclass

* Start of a major overhaul of the subclass API for DBIx::SearchBuilder::Record objects.
  A new "schema" method will define the data in _ClassAccessible and also generate database
  schema using DBIx::DBSchema.

Fixes from Ruslan:

    * for numeric types, make the empty check be "null or 0", not "null or ''"
    * New search tests from ruslan
    * added an init_data method to t/
    * CleanSlate doesnt init show_rows
    * CleanSlate doesnt clean _{open|close}_parens
    * get rid of stupid ifs in CleanSlate
    * get rid of evals in _DoSearch and _DoCount, use Handle methods to control DBI error handling
    * rewrite LoadByPrimaryKeys args handling to consistent with other Load* methods
    * report error when PK filed is missing in LoadByPrimaryKeys
    * fix warning in __Set methods when newvalue is undef
    * small code cleanups
    * test coverage grows from 75.2% to 84.7% for

1.30_02 Sun May 22 15:21:19 EDT 2005

 - Lots of patches from Ruslan:

   First and main change is using of `goto &$AUTOLOAD` syntax, that helps
   avoid code duplication and hides AUTOLOAD sub from stack trace. I think
   this also would help implement CompileAllAutoSubs method easier.

 - It's also one of the steps to better tests coverage.

 - Test coverage for grows from 66% to 75.2%.

 - _LoadFromSQL never reported error when PK fields are missed. Fixed.

 - fetchrow_hashref dies only when RaiseErrors is true, because we can
   control this from Handle obj so we should die according to
   $Handle->RaiseErrors property. Fixed.
 - When RaiseErrors is "false" then fetchrow_hashref returns undef and we
   should check $sth->err(see `perldoc DBI`). Fixed.

 - After call to fetchrow we should clean "fetched" internal hash and fill
   it only when we return successful result. Fixed.

 - If SimpleQuery fails, _LoadFromSQL method doesn't return any error
   message. Fixed.

1.30_01 Mon May 16 21:37:03 BST 2005

    - Patches from Ruslan to switch to using '' for our regular_case subroutine aliases

1.27 Sun May  8 22:49:30 EDT 2005

    - Added supoprt for functions containing "?" to represent the parameter
        in ->Column()
    - Added better support for functional columns in search listings and
      group by clauses

1.26 Sun Apr 17 19:22:23 EDT 2005
    - Added support for expression based left joins

1.25 Sat Apr  9 12:33:30 EDT 2005

    - Backed out a change introduced in 1.23 that caused table and column names
      to be quoted, causing Postgres to flip out.

1.24 Wed Apr  6 22:54:37 EDT 2005
    - Added a new "SearchBuilder::Unique" module for uniquifying search results

    - Now use DBI->quote_identifier to quote column and table names (Ruslan)
    - Test suite updates (Ruslan)

To generate a diff of this commit:
cvs rdiff -r1.24 -r1.25 pkgsrc/databases/p5-DBIx-SearchBuilder/Makefile
cvs rdiff -r1.15 -r1.16 pkgsrc/databases/p5-DBIx-SearchBuilder/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.