[Bps-public-commit] dbix-searchbuilder annotated tag, 1.56_03, created. 1.56_03

Ruslan Zakirov ruz at bestpractical.com
Thu Jul 22 19:05:12 EDT 2010


The annotated tag, 1.56_03 has been created
        at  a4cfc3e28e4d62aefd6eac65b22e37c0f7da449d (tag)
   tagging  5a881750b244d161d148409a19cf62bf285d24f1 (commit)
 tagged by  Ruslan Zakirov
        on  Fri Jul 23 03:06:20 2010 +0400

- Log -----------------------------------------------------------------
version 1.56_03
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)

iEYEABECAAYFAkxIzuwACgkQvH6dkeDZaS+ZFgCeJTkv7Y22i3R+4u8+1izy5TJE
Y1cAnitRCbOhmFjBeIN3pXvfuyX2IOyy
=VHKl
-----END PGP SIGNATURE-----

Alex Vandiver (9):
      RE-Ticket: 5719
      ->foo_id now returns just a number if it is a reference; ->foo
      Working statement logging (to memory, not file)
      _DistinctQuery (and hence SB::Handle::DistinctQuery) are now
      (empty commit message)
      Support for NOT STARTSWITH and NOT ENDSWITH
      Fix sequence to handle both 8.1 and 7.x
      Remove references to old, no longer used, internal structures
      Allor ->Join to pre-existing collection object

Audrey Tang (2):
      Use memoization for ->id instead of explicitly assigning it.
      Initialize the _Class cache only when we are actually using it.

Chia-liang Kao (2):
      When aborting transactions for SQLite, we need to flush our cache,
      last_insert_rowid bug workaround for sqlite, though not enabled.

David Glasser (62):
      Grammar fixes to POD.
      make a DBIx::SearchBuilder local branch to work on reblessing, etc
      New feature: $h = DBIx::SearchBuilder::Handle->new;
      Doc fixes, and refactor into RecordCount
      A few more doc changes
      Patch from Ruslan:
      Fix from Ruslan to the reblessing code.
      From Ruslan: for numeric types, make the empty check be "null or 0", not "null or ''"
      Basic sketch of SchemaGenerator.  Doesn't do columns yet
      Columns, primary keys work in SchemaGen.
      Make schema generation an optional feature
      Stub support for REFERENCES
      Generate _ClassAccessible from Schema, if there is a Schema
      Wrong argument to Connect
      Add Postgres versions of the new tests
      New feature: $h = DBIx::SearchBuilder::Handle->new;
      Document the new 'make test' stuff, and add a README. (And update copyright to 2005.)
      Doc fixes, and refactor into RecordCount
      A few more doc changes
      Patch from Ruslan:
      From Ruslan: for numeric types, make the empty check be "null or 0", not "null or ''"
      Merge commit
      Basic sketch of SchemaGenerator.  Doesn't do columns yet
      Columns, primary keys work in SchemaGen.
      Make schema generation an optional feature
      Stub support for REFERENCES
      Branch CreateTableSQL into a single-text-blob returning method and a list-of-statements
      (empty commit message)
      (empty commit message)
      (empty commit message)
      (empty commit message)
      (empty commit message)
      (empty commit message)
      (empty commit message)
      (empty commit message)
      (empty commit message)
      (empty commit message)
      (empty commit message)
      (empty commit message)
      (empty commit message)
      Branch CreateTableSQL into a single-text-blob returning method and a list-of-statements
      Basic sketch of SchemaGenerator.  Doesn't do columns yet
      Columns, primary keys work in SchemaGen.
      Make schema generation an optional feature
      Schema tests were testing for 0 when they wanted to test for falseness
      (empty commit message)
      (empty commit message)
      (empty commit message)
      (empty commit message)
      (empty commit message)
      Sorry about all the madness. I think everything is good now.
      got ->1 REFERENCES working
      Reading and writing to (non-foreign) references.  Recognition of foreign-collections,
      Add Class::Accessor as a prereq if we're doing schema gen
      change a whole bunch of $sb->{'table'} to $sb->Table
      Support DEFAULT in schema.
      Fix Readable/WritableAttributes to notice REFERENCES.
      Fix group by / order by bug (http://rt.cpan.org/NoAuth/Bug.html?id=13060)
      Don't add columns for foreign keys!
      For Pg, don't try to lowercase quoted numbers either.
      RT::Record::_Accessible doesn't actually work like SB::Record's (it returns 0
      Because SearchBuilder has the unfortunate historical feature of adding

Jesse Vincent (214):
      Initial import
      Adding commit-rollback support
      Bumping the revision to 0.60
      Overhauling DBIx::SearchBuilder::Record::Cachable
      Reporting SQL failures up the chain
      Fixing a db connect error
      none
      Transactions are now nestable
      Made IsSQL work
      Fixed a caching bug in record::Cachable
      none
      Initial port to DBD::SQLite
      Adding support for mysqlpp
      Applying RobRT's perens magice
      Fixing warnings on cache misses
      DBIx-SearchBuilder.1.0
      Making sure the version stuff is ok
      i18n patch from autrijus
      Dealing with cache miss warnings
      Count fix from robrt
      More accessors for ClassAccessible data
      Search paging fix
      Oracle DISTINCT patch from Brook
      Attempting to change postgres' join behavior
      Oracle updates from Brook Schofield
      DISTINCT fix
      Attempting to fix postgres quoting.
      Trying to speed up cache checks
      Bumping to 0.82
      Additional work on SQLite port
      Applying stan's DESTROY fix
      Record AUTOLOAD patch from mat at mat.cc
      Oracle insert fix from Brook
      Fix to stan's fix from autrijus
      Fixing hash value downcasing
      adding functionality to determine if we're inside a DB txn
      fixing version #
      Bumping version to 0.84
      0.85 - The 'disconnect on DESTROY' fix in 0.84 was wrong
      Fixed a connection issue with postgres. Bumping to 0.86
      none
      Proper distinct on left joins
      Patch from Brook for better distinct queries and more oracle support
      Patch from Grant DeGraw to allow ordering by multiple columns
      Performance fixes (Don't perform unnecessary stacktraces)
      none
      updating the build infrastructure
      Case insensitive improvements for postgres
      ODBC support
      Allowing order based on functions
      CPAN# 4167: Allow multiple handles in one application
      Need to add new files to the manifest
      Initial Informix import
      Version # was incorrect
      Bumping to 0.93
      Fix for autrijus' multi-handle code; 0.94
      Removed unfortunate escaping.
      Updating manifest skip file and signatures
      Altered case insensitive matching behaviour for postgres to be more forgiving and use ILIKE.
      Bumped the version
      postgres fixes
      bumping to .95
      signing, upgrading Module::Install
      Removed the inc cirectory from the trunk, as svn gets confused when Module::Install blows it away
      Cachable records cache lookups are now much more effective.
      0.96_01 - Fix a couple of spurious warnings in Record::Cachable
      Bumped to 0.96_01
      Fixing a bug in Record.pm that allowed for LoadByValue with an array of values for an article. Or well, didn't allow it, but didn't cope well with the attempt
      Bumping to 0.96
      Patch for oracle's non-support of binary-safe blobs
      GroupBy and Delayed load support from autrijus tang
      Bumping version to 0.97
      Fixed record::cachable key generation for Postres
      Better support for != on Postgres
      New test infrastructure from andy lester.
      0.98_04 - New mysql/oracle "Join" code that allows more complex bundling of
      Updated release notes
      Manifest updates for Union.
      Switching postgres query builder to prefer LOWER() to ILIKE
      Updated SearchBuilder support for SQLite's COUNT (DISTINCT)
      1.00_01 - Better handling of case insensitive comparisons on Postgres
      Updated signatures
      fsck.com #5638: SearchBuilder->GotoPage had inefficient code. Cleaned up
      Fixing query generation to be more oracle friendly. Oracle hated "AS" in table name aliases
      First cut at sybase support
      Postgres patch from autrijus
      1.00_06 - Pg/Oracle: Don't attempt to do case insensitive comparisons on
      Now when joining two tables to each other, postgres will no longer try to LOWER() one of them
      Revision history for Perl extension DBIx::SearchBuilder.
      1.02_02 Tue Jul 20 13:06:06 EDT 2004
      1.02_03 Thu Jul 22 13:29:17 EDT 2004
      Signatures updated
      Checking in the sybase handle. Doesn't work well yet.
      - Reimplemented DBIx::SearchBuilder:::Record::Cachable
      Updated to new Cache::Simple::TimedExpiry API. some code cleanups
      Sanity fixes to the caching layer from autrijus
      Revision history for Perl extension DBIx::SearchBuilder.
      helps if I bump the version
      -   Reworked the _Accessible mechanism in DBIx::SearchBuilder::Record to
      Fixing the code that handles the old _Accessible layer to be more robust. (It may want to be made faster, but if you are using code that needs the emulation code, you can get more speed by upgrading to a newer app ;)
      Merge commit
      Bumped to 1.10
      Bumped Cache::Simple::TimedExpiry version dependency
      Beginning of significant refactoring (without published API change) in SearchBuilder.pm
      Removed bogus "->id" cache
      Applied new functionality patch from Ruslan which gives us a __Delete method, so that a subclass can easily ACL "Delete"
      From:     simonm at cavalletto.org
      More refactoring! This time to make it easier to just shove things into searchbuilder collections
      Bumping to 1.12_1
      This be 1.12
      - Silenced warnings about uninitialized warnings when inserting null cols
      Added some more _ aliases for the CamelCase functions
      Updated Delete method to
      - Minor refactoring of 'id' method for a stupid, tiny perf improvement
      - Refactoring of DBIx::SearchBuilder::Record::Cachable for performance
      a couple tiny bug fixes
      Added a FlushCache method to DBIx::SearchBuilder::Record::Cachable
      Perltidied Record->Create
      Start of a test suite
      - SearchBuilder now truncates strings before inserting them into character
      Manfiest update - bumped version
      manifest fix
      (empty commit message)
      Bumping to 1.13_3
      No need to truncate empty things
      Fixing a couple potential warnings in the new truncation code
      Bumped to 1.13_04
      Date: Fri, 12 Nov 2004 20:58:15 -0500
      bumped to 1.14
      Fix a test bug when SQLite isn not installed
      This be 1.16. cache coherency fixes
      Test suite additions from ruz
      Fixed automatic Object Mapping code (automatic resolution of object relations based on column naming) -- From Ruslan
      Added a test to records_object while debugging
      _Accessible fixes from Ruslan
      Oracle blob fixes
      Fixes for smoke testing without DBD::Oracle from Ruslan
      - Properly mark BLOB columns in UPDATE calls. (DBD::Oracle 1.16 broke without this)
      1.18
      This be 1.19
      Corion's cpansmoker pointed out that we were hardcoding /tmp.  Now we use File::Spec
      1.20 / minor test fixes from cubic
      Bumping to 1.21, fix for blob value corruption after update with oracle
      turn off utf8 flag on data just before inserting it, as that could make
      Require Encode since we require Encode
      Patch from Ruslan to use the DBI to better quote identifiers
      Attached patch is ready to apply, but part of the work to make SB tests
      00.load didn't deal gracefully if you had cache::memcached isntalled
      Added inc
      Slight refactoring to work around weirdness in perl's debugger
      Moved a deprecation warning from a comment to POD
      Added a SearchBuilder::Unique subclass
      1.24
      Backing out change to use DBI->quote_identifier on table and column names, as it breaks Pg
      1.26 Sun Apr 17 19:22:23 EDT 2005
      Signature update
      group by functions improvements
      1.27
      Signature for 1.27
      Switch from manual subroutine aliases to capitalize.pm
      Tests for the no-capitalization API
      1.30_01
      1.30_01 really
      third time. charm.
      Significant testing updates from ruslan to support multi-handle testing.
      AUTOLOAD refactoring from ruslan
      Better test coverage for record objects from Ruslan
      _LoadFromSQL never reported error when PK fields are missed. Fixed.
      Changelog from ruslan
      1.30_02
      New search tests from ruslan
      From ruslan:
      Ruslan added an init_data method to t/utils.pl
      Schema tests were testing for 0 when they wanted to test for falseness
      Note a minimum Test::More dependency for testing. Thanks to Ruslan
      Fix a typo
      1.30_03
      Patch from ruslan to remove outdated fold markers
      ROADMAP from Ruslan
      More fleshing out of how validation is supposed to work
      make _ClassAccessibleFromSchema respect _PrimaryKeys
      When loading a foriegn record, bypass access control, as it leads to a small
      1.31 - fix manifest
      Added a build_requires on SQLite
      This be 1.32
      1.33
      cpan#6892 - Typo in Record.pm from Stephen Quinney
      rt.cpan.org: Update ticket #3057 (rollback problems)
      Clone patch from ruz
      1.34
      (empty commit message)
      1.35
      (empty commit message)
      1.38
      OR on left joins; 1.39
      (empty commit message)
      Default entry aggregator for LEFTJOIN is AND
      Updated manifest
      Pg sequence parsing from Daniel Tabuenca
      (empty commit message)
      1.42
      1.43
      1.44_01
      Removed CVS (!) version string from ::Handle
      Patch from Todd Chapman to document the LEFTJOIN argument to LIMIT
      1.45
      When doing a union, we need to actually search, rather than just doing a count
      Switch File::Spec to File::Temp for proper tempfile creation
      1.49 releng
      Update svnignore property
      1.54
      Updated t/utils.t to put sqlite databases in a tempdir for better GC
      update changelog
      small grammar nits to Changes

Kevin Riggle (1):
      Doc'ced the SUBCLAUSE argument to Limit.  Thanks to Jason Fenner.

Robert Spier (3):
      Sync back to trunk so Linda can experiment with it.
      r90:  rspier | 2004-03-24T06:00:43.432212Z
      [fsck.com #5879] - DBIx::SearchBuilder should treat 'IS' as case insensitive, since most databases do too.

Ruslan Zakirov (144):
      OrderBy:
      coding style fix
      exit silently from rollback if we have no connection yet
      EndTransaction method
      fix typo
      tests for joins with two failing (TODO) tests
      code refactoring without functionality changes
      backport DatabaseVersion enhancements from JDBI
      update manifest
      Changes update
      M::I path update
      (empty commit message)
      nocap API test
      add inc/ file for auto install feature
      test suit changes:
      sorry, a little bit messy change log, but svk fails
      indent
      ::Handle and ::Handle::Pg
      ::Handle::InsertQueryString
      test manipulations with integer columns
      ::Record::Create and ::Record::__Set
      update changes
      rm inc/ExtUtils/AutoInstall.pm it's no required anymore
      deprecate DEBUG method
      minor
      do things at once
      make strings a little bit shorter with local variable, required for further refactoring
      switch to arrays and hashes for conditions, so later we'll be
      minor
      fix CleanSlate method
      add tests for ENTYAGGREGATOR and CleanSlate
      we use Encode module without perl version check for a long time, so
      add tests for CleanSlate functionality
      revert cleaning order_by during CleanSlate as it brakes RT,
      use \Q\E where it's expected
      use a shorter local $meta variable to make code readable
      switch to { field => ..., op => ..., value => ...} for conditions
      ok, let's build joins from the new internal structure that is
      implement MayBeNull
      use MayBeNull to optimize left joins
      minor
      fix a long standing bug we had, we didn't write depends_on data about a join
      get rid of warning about useless use
      handle join conditions in MayBeNull
      "FIELD1 => 'main'" was there for a long time what is most probably is a bug
      fix a bug with a test marked with TODO keyword
      all simple joins(aliases without join conditions) should go first,
      add tests that should fail on Pg without the previouse fix
      test still fails for Pg
      make an inprovement in identification of influence of a condition on null results
      minor
      minor
      make failing tests pass
      add tests for LJ optmizations
      implement cascading left join optimization
      update change log
      bump 1.45_01
      minor
      get rid of useless criterion\d+ and criterion_count
      add warnings everywhere
      get rid of 'use vars' in db sepcific handles
      get rid of parens around joins, this fix TODO test on Pg
      this should fix order by field not in main table on Oracle.
      bump version
      add another crazy test with joins
      add schemas for oracle and connect_oracle function
      add DatabaseVersion to oracle's handle
      Try to use 'CROSS JOIN' instead of ',' for simple aliases, this should
      bump version
      revert Joop's patch as RT users report missing records in a result set
      new version
      no index 'ex'
      do the search only if we must do it
      bump version 1.47
      people put aggregators in lower case too, uc it during fetching
      version bump
      Oracle::DistinctQuery()
      minor, don't assign to local variable, just return it
      ::Union::Next
      change Makefile a little to make META better
      update M::I and META
      bump version, update meta, changelog and signature
      SearchBuilder::CountAll()
      bump version
      add tests for ordering by outer column
      fix order by outer column in Pg
      allow empty alias in OrderBy what means no table alias
      add support for order by outer column
      drop comment about Oracle from SQLite
      fix sorting by outer column on Pg
      update manifest
      bump version, update changes and meta
      fix version check
      fix test, it should fail when queries don't return any results
      update test
      allow to use SB_TEST_ORACLE, SB_TEST_ORACLE_SID, SB_TEST_ORACLE_HOST
      move comment to the place where it must be
      order on Oracle in the same way we do on other DBs
      bump version, update metadata
      remove inc/.author from the repo
      we need Encode 1.99 at least because of prototype of decode_utf8 function
      implement generic Fields method in SB::Handle
      heh, generic method should be portable, but as usually it's not true,
      switch Fields in SB.pm to handle's method
      Pg can not guaranty order in the following queries:
      test Handle->Fields
      update Module::Install
      bump version - 1.55
      update META
      sign
      update M::I
      let's move group_by vs. distinct to upper level
      we can avoid group by checks as we do it earlier in the caller
      bump version, 1.55_01
      Don't use case-insensetive search on dates
      update M::I
      bump version, 1.56
      * spread regexp we use in Pg to generic Handle
      git ignore
      update M::I
      fix Record->PrimaryKeys, field names in values hash are lc'ed
      update Changelog
      Document RowsPerPage( 0 || undef )
      test Record->RowsPerPage(0)
      update code comment to make it clear why old approach didn't work
      make debugging problems easier by passing errors back
      update deprecated methods
      shuffle paging functions and document them
      force RedoSearch if page size changed
      don't RedoSearch when FirstRow is set to the same value
      fix very long standing bug in NextPage and PrevPage
      test pages walking
      update Changelog
      use rindex instead of regexp for starts_with match
      handle LOWER() in redundant LEFT joins optimizer
      update changelog
      bump version, 1.56_01
      unify set of case insensitive patch and fix generic case
      fix case insensetivity handling for Pg
      update changelog
      bump version, 1.56_02
      custom Fields implementation for Oracle handle
      update M::I
      version bump, 1.56_03

Shawn Moore (2):
      Override EndTransaction instead of Rollback because users can (and do) use EndTransaction directly
      Flush the cache on any rollback, not just in SQLite

Somebody at Best Practical (30):
      Create directories to load project into.
      Load DBIx-SearchBuilder-0.05 into DBIx-SearchBuilder/trunk.
      To prepare to load DBIx-SearchBuilder-0.1.0 into
      Load DBIx-SearchBuilder-0.1.0 into DBIx-SearchBuilder/trunk.
      Load DBIx-SearchBuilder-0.12 into DBIx-SearchBuilder/trunk.
      Load DBIx-SearchBuilder-0.13 into DBIx-SearchBuilder/trunk.
      Load DBIx-SearchBuilder-0.15 into DBIx-SearchBuilder/trunk.
      Load DBIx-SearchBuilder-0.18 into DBIx-SearchBuilder/trunk.
      Load DBIx-SearchBuilder-0.19 into DBIx-SearchBuilder/trunk.
      Load DBIx-SearchBuilder-0.20 into DBIx-SearchBuilder/trunk.
      Load DBIx-SearchBuilder-0.21 into DBIx-SearchBuilder/trunk.
      Load DBIx-SearchBuilder-0.22 into DBIx-SearchBuilder/trunk.
      Load DBIx-SearchBuilder-0.23 into DBIx-SearchBuilder/trunk.
      Load DBIx-SearchBuilder-0.24 into DBIx-SearchBuilder/trunk.
      Load DBIx-SearchBuilder-0.25 into DBIx-SearchBuilder/trunk.
      Load DBIx-SearchBuilder-0.26 into DBIx-SearchBuilder/trunk.
      Load DBIx-SearchBuilder-0.30 into DBIx-SearchBuilder/trunk.
      Load DBIx-SearchBuilder-0.31 into DBIx-SearchBuilder/trunk.
      Load DBIx-SearchBuilder-0.33 into DBIx-SearchBuilder/trunk.
      Load DBIx-SearchBuilder-0.34 into DBIx-SearchBuilder/trunk.
      Load DBIx-SearchBuilder-0.37 into DBIx-SearchBuilder/trunk.
      Load DBIx-SearchBuilder-0.38 into DBIx-SearchBuilder/trunk.
      Load DBIx-SearchBuilder-0.39 into DBIx-SearchBuilder/trunk.
      Load DBIx-SearchBuilder-0.40 into DBIx-SearchBuilder/trunk.
      Load DBIx-SearchBuilder-0.41 into DBIx-SearchBuilder/trunk.
      Load DBIx-SearchBuilder-0.43 into DBIx-SearchBuilder/trunk.
      Load DBIx-SearchBuilder-0.45 into DBIx-SearchBuilder/trunk.
      Load DBIx-SearchBuilder-0.46 into DBIx-SearchBuilder/trunk.
      Load DBIx-SearchBuilder-0.47 into DBIx-SearchBuilder/trunk.
      Load DBIx-SearchBuilder-0.48 into DBIx-SearchBuilder/trunk.

Thomas Sibley (1):
      Fix bug in Limit that caused a lowercase "startswith" or "endswith" not to be replaced by "like"

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list