14 years agoadd changes from last few commits
Arthur Axel 'fREW' Schmidt [Wed, 27 Oct 2010 23:25:30 +0000]
add changes from last few commits

14 years agoView-dep cleanups (really paper overs, code needs a rewrite)
Amiri Barksdale at Home [Mon, 12 Jul 2010 02:58:41 +0000]
View-dep cleanups (really paper overs, code needs a rewrite)

Tighter check for ref type in resolver (this was broken but unnoticed)
Skip table result classes in view part of resolver.
No uninitialized warnings in resolver where it expects some misses (ugh!)
Cleanup viewdeps test (and correct incorrect comparison)

This should have not merged as is, but time is short to fix it properly.
Hopefully next iter.

14 years agoBring back deleted classes
Peter Rabbitson [Wed, 27 Oct 2010 22:39:55 +0000]
Bring back deleted classes

The idea was to move them into a separate dist, but ENOTIME

14 years agoLatest DBD::SQLite really went to shit >:(
Peter Rabbitson [Wed, 27 Oct 2010 18:01:35 +0000]
Latest DBD::SQLite really went to shit >:(

14 years agoThis test in fact requires DT::F::SQLite
Peter Rabbitson [Wed, 27 Oct 2010 17:59:15 +0000]
This test in fact requires DT::F::SQLite

14 years agoAdd a fix to cookbook recipe
Peter Rabbitson [Wed, 27 Oct 2010 11:57:39 +0000]
Add a fix to cookbook recipe

14 years agoFix load_namespaces fail when classes tinker with $_
Peter Rabbitson [Wed, 27 Oct 2010 10:39:22 +0000]
Fix load_namespaces fail when classes tinker with $_

14 years agoFixed a prefetch bug (o2m->prefetch_o2m+order_by+rows)
Norbert Buchmuller [Fri, 22 Oct 2010 12:21:28 +0000]
Fixed a prefetch bug (o2m->prefetch_o2m+order_by+rows)

14 years agoAdd undocumented ability to disable the join optimizer
Peter Rabbitson [Wed, 27 Oct 2010 10:18:41 +0000]
Add undocumented ability to disable the join optimizer

The capability system in its current form is insufficient - pending a
redesign/rewrite. In the meantime remove mention of it from Changes
and add an extra cap to disable the join-optimizer on request (prodded
by timbunce :)

14 years agoAutomatically mark the cap. framework methods as unimplemented for replication
Peter Rabbitson [Wed, 27 Oct 2010 10:11:15 +0000]
Automatically mark the cap. framework methods as unimplemented for replication

14 years agoFail gracefully on Config::Any PROFILE-loading errors
Peter Rabbitson [Tue, 26 Oct 2010 17:42:29 +0000]
Fail gracefully on Config::Any PROFILE-loading errors

14 years agorelease 0.08123_02
Arthur Axel 'fREW' Schmidt [Tue, 26 Oct 2010 15:00:05 +0000]
release 0.08123_02

14 years agobump version for dev users
Arthur Axel 'fREW' Schmidt [Tue, 26 Oct 2010 14:49:05 +0000]
bump version for dev users

14 years ago$sth->{Active} may throw during destruction >.<
Peter Rabbitson [Tue, 26 Oct 2010 12:12:06 +0000]
$sth->{Active} may throw during destruction >.<

14 years agoExtra adjustments of find() documentation and code (as suggested by freetime)
Peter Rabbitson [Tue, 26 Oct 2010 11:59:56 +0000]
Extra adjustments of find() documentation and code (as suggested by freetime)

14 years agoExtra authordeps
Peter Rabbitson [Tue, 26 Oct 2010 11:55:50 +0000]
Extra authordeps

14 years agoPatch up weird MRO fail on 5.8 perls
Peter Rabbitson [Tue, 26 Oct 2010 11:51:24 +0000]
Patch up weird MRO fail on 5.8 perls

14 years agoTemporary fixes for 5.13.x $@ handling
Peter Rabbitson [Tue, 26 Oct 2010 11:16:26 +0000]
Temporary fixes for 5.13.x $@ handling

Some patchups to mitigate fallout from
http://perl5.git.perl.org/perl.git/commitdiff/96d9b9cd

Included several "time-bombs" set to go off when 5.13.8
is available (the "Contentious Changes freeze" release)

14 years agoBreak out the txn_scope_guard tests, some cleanup
Peter Rabbitson [Mon, 25 Oct 2010 03:15:02 +0000]
Break out the txn_scope_guard tests, some cleanup

14 years agogitignore MYMETA
Peter Rabbitson [Tue, 26 Oct 2010 09:30:00 +0000]
gitignore MYMETA

14 years agoGet test suite to pass under 5.13.6 (peepeeness!)
Peter Rabbitson [Tue, 26 Oct 2010 09:25:17 +0000]
Get test suite to pass under 5.13.6 (peepeeness!)

A regression slipped into 5.13.6 introduced by
http://perl5.git.perl.org/perl.git/commit/304474c3
Fixed by: http://perl5.git.perl.org/perl.git/commit/cefd5c7c

14 years ago-ident implementation
Peter Rabbitson [Thu, 21 Oct 2010 18:04:21 +0000]
-ident implementation

14 years agoRemove useless use of Storable from t/100extra_source.t
Peter Rabbitson [Tue, 17 Aug 2010 05:18:06 +0000]
Remove useless use of Storable from t/100extra_source.t

Cleanup needed before merging extended rels (Storable chokes on
the coderefs). Rewrite the test while we are here.

14 years agoReturn a unique list of k/vs from get_inflated_columns
Peter Rabbitson [Fri, 22 Oct 2010 18:28:55 +0000]
Return a unique list of k/vs from get_inflated_columns

14 years agoMassive cleanup of transaction handlers
Peter Rabbitson [Thu, 21 Oct 2010 22:37:06 +0000]
Massive cleanup of transaction handlers

Audit the txn_do/scope_guard/txn_begin|txn_commit codepaths to make
sure they can be interchangeably used and still just DTRT.
Write a ton of tests to codify current behavior

In the process revert d8a5a2340b0ac0dbf1c3e7779e7951b1bec2ccd5 which
introduces a regression (now poperly caught by tests)

14 years agoMake sure t/storage/debug.t passes with DBIC_TRACE_PROFILE set
Peter Rabbitson [Thu, 21 Oct 2010 14:49:18 +0000]
Make sure t/storage/debug.t passes with DBIC_TRACE_PROFILE set

14 years agoAdd Hash::Merge exception to the leak test
Peter Rabbitson [Sun, 10 Oct 2010 18:36:47 +0000]
Add Hash::Merge exception to the leak test

This is so that a user with a DBIC_TRACE_PROFILE in the env will
still be able to pass the tests/install

14 years agoadd SEE ALSO
Arthur Axel 'fREW' Schmidt [Wed, 20 Oct 2010 14:57:32 +0000]
add SEE ALSO

14 years agoDoc fix: DBIx::Class::Row->discard_changes documented twice
Aaron Crane [Mon, 18 Oct 2010 12:20:25 +0000]
Doc fix: DBIx::Class::Row->discard_changes documented twice

14 years agoSkip cross-schema tests for Oracle 8i (no clear fix yet)
Robert Bohne [Sun, 17 Oct 2010 18:24:16 +0000]
Skip cross-schema tests for Oracle 8i (no clear fix yet)

14 years agoFixed test for hierarchical queries with Oracle 8i.
Robert Bohne [Sun, 13 Jun 2010 16:56:13 +0000]
Fixed test for hierarchical queries with Oracle 8i.

14 years agoMerge branch 'people/riba/find_cleanup' into people/riba/master_cherry
Peter Rabbitson [Sun, 17 Oct 2010 15:47:27 +0000]
Merge branch 'people/riba/find_cleanup' into people/riba/master_cherry

14 years agoTest for already fixed RT#59219
Peter Rabbitson [Sat, 16 Oct 2010 23:51:33 +0000]
Test for already fixed RT#59219

14 years agoExtensive updates to find/key related documentation
Peter Rabbitson [Sat, 16 Oct 2010 22:46:18 +0000]
Extensive updates to find/key related documentation

14 years agoFix find() with an explicit constraint name (... { key => $cname } )
Peter Rabbitson [Sat, 16 Oct 2010 16:40:53 +0000]
Fix find() with an explicit constraint name (... { key => $cname } )

Fix the code being overly lax on evaluation of the combined
condition (user supplied + $rs inherited). If we can not prove
that a constraint is deteministic - we throw

Also fix the heuristics invoked without a key attr. to not
consider constraints for which NULL values have been supplied

14 years agoDe-golf _is_deterministic_value, add more tests for create() with $rs conds
Peter Rabbitson [Sat, 16 Oct 2010 00:14:03 +0000]
De-golf _is_deterministic_value, add more tests for create() with $rs conds

14 years agoReduce mount of perlgolf in ResultSet.pm
Peter Rabbitson [Fri, 15 Oct 2010 22:11:37 +0000]
Reduce mount of perlgolf in ResultSet.pm

14 years agoRemove support for find( col1 => $val1, col2 => $val2, ... )
Peter Rabbitson [Fri, 15 Oct 2010 20:53:14 +0000]
Remove support for find( col1 => $val1, col2 => $val2, ... )

14 years agoAdd a unique constraint to artist.name in the test schema
Peter Rabbitson [Sat, 16 Oct 2010 14:18:29 +0000]
Add a unique constraint to artist.name in the test schema

While at it adjust tests that assume the name is not unique

14 years agoSwitch t/relationship/core.t $@ checks to Test::Exception
Peter Rabbitson [Fri, 15 Oct 2010 15:56:10 +0000]
Switch t/relationship/core.t $@ checks to Test::Exception

14 years agoAdd deprecation warning to DBIx::Class::ResultSetProxy
Peter Rabbitson [Sun, 12 Sep 2010 18:49:06 +0000]
Add deprecation warning to DBIx::Class::ResultSetProxy

14 years agoRemove _is_unique_query (more dead code from 2006)
Peter Rabbitson [Sat, 16 Oct 2010 15:01:00 +0000]
Remove _is_unique_query (more dead code from 2006)

14 years agoDeleting long forgotten ::Storage::DBI:Role:QueryCounter
Peter Rabbitson [Sun, 12 Sep 2010 17:03:51 +0000]
Deleting long forgotten ::Storage::DBI:Role:QueryCounter

Added in 62fa8aecef5887b274659ebfb4233a37cff5a3e6

Then development backed out in
  b0ca666f56fbdac8c0b4a08a292eed26ba8a21be
  72305dab8d827fdddba16d79f0ca31f9b5d5e735

14 years agoFix bug in update of resultset using qualified condition in "-or"
Aaron Crane [Thu, 7 Oct 2010 14:58:33 +0000]
Fix bug in update of resultset using qualified condition in "-or"

DBIx::Class::Storage::DBIHacks::_strip_cond_qualifiers was failing to
recurse down "-or" conditions.  Add minimal support for that, including a
test.

14 years agofixed oracle test sequence detection from a different schema
Robert Bohne [Sat, 16 Oct 2010 15:17:16 +0000]
fixed oracle test sequence detection from a different schema

14 years agofixed wrong sequence returned when multiple triggers for a table exist + tests
Alexander Hartmaier [Wed, 13 Oct 2010 12:18:52 +0000]
fixed wrong sequence returned when multiple triggers for a table exist + tests

14 years agoStop adding GROUP BY's to subqueries that do not contain 1:M joins
Peter Rabbitson [Sun, 18 Jul 2010 15:03:47 +0000]
Stop adding GROUP BY's to subqueries that do not contain 1:M joins

siracusa++ for spotting the incorrect SQL in the first place,
and pointing out that the competition sucks :)

14 years agoFix spotty handling of complex order_by relationship attrs while prefetching
Peter Rabbitson [Thu, 14 Oct 2010 05:06:28 +0000]
Fix spotty handling of complex order_by relationship attrs while prefetching

14 years agoSet name_sep by default (even if unused). Simplify raw-sql scanner code
Peter Rabbitson [Thu, 14 Oct 2010 05:06:28 +0000]
Set name_sep by default (even if unused). Simplify raw-sql scanner code

14 years agoThat's an embarrasing c/p :(
Peter Rabbitson [Thu, 14 Oct 2010 04:18:30 +0000]
That's an embarrasing c/p :(

14 years agoUndocument lies
Peter Rabbitson [Wed, 13 Oct 2010 18:37:03 +0000]
Undocument lies

14 years agoRequire unborked CAG
Peter Rabbitson [Tue, 12 Oct 2010 09:00:31 +0000]
Require unborked CAG

14 years agoClarify $rs->update/delete documentation
Peter Rabbitson [Mon, 11 Oct 2010 06:50:52 +0000]
Clarify $rs->update/delete documentation

14 years agoClarify ResultSet RV docs, bring set_cache RV in line with tests
Peter Rabbitson [Mon, 11 Oct 2010 06:28:11 +0000]
Clarify ResultSet RV docs, bring set_cache RV in line with tests

14 years agoImprove the leak tracer - hook bless() as early as possible
Peter Rabbitson [Sun, 10 Oct 2010 18:17:42 +0000]
Improve the leak tracer - hook bless() as early as possible

14 years agoLoad sqlite backup required modules on demand only
Peter Rabbitson [Sun, 10 Oct 2010 18:13:07 +0000]
Load sqlite backup required modules on demand only

14 years agoRename vaguely named internal method
Peter Rabbitson [Fri, 8 Oct 2010 10:41:54 +0000]
Rename vaguely named internal method

14 years agoEntire test suite passes under DBIC_TRACE=1
Peter Rabbitson [Tue, 31 Aug 2010 12:13:19 +0000]
Entire test suite passes under DBIC_TRACE=1

Explicitly disable debug on some noisy tests (when dealing with blobs)
Bump Test::Exception to a version that does not go bizarre copy on you

14 years agofeature doc map
Arthur Axel 'fREW' Schmidt [Sat, 10 Jul 2010 07:11:48 +0000]
feature doc map

14 years agoRemove a stack frame from the SQLA Carp overrides
Peter Rabbitson [Sun, 3 Oct 2010 23:15:35 +0000]
Remove a stack frame from the SQLA Carp overrides

14 years agoDelay construction of try block until an active $sth is asserted
Peter Rabbitson [Sat, 2 Oct 2010 13:25:00 +0000]
Delay construction of try block until an active $sth is asserted

14 years agoRemove deprecated use of qw// as (qw//)
Peter Rabbitson [Thu, 30 Sep 2010 09:59:46 +0000]
Remove deprecated use of qw// as (qw//)

14 years agoMake Data::Page total count evaluation lazy
Peter Rabbitson [Mon, 27 Sep 2010 07:27:39 +0000]
Make Data::Page total count evaluation lazy

The short version is - now you can do $rs->pager->total_entries($satanic_num)
and DBIC will never even try to fire a COUNT query

This may seem to be a *lot* of code to do something that could
be done with a trivial subclass. However keep in mind that this
is a proof-of-concept of what do we do when we can *not* (or do
not want to) subclass.

14 years agoFix compose_namespace rsrc leaks, introduce a badass leaktracer
Peter Rabbitson [Sun, 26 Sep 2010 17:36:41 +0000]
Fix compose_namespace rsrc leaks, introduce a badass leaktracer

14 years agoMinor cleanup of memory cycle tracing and IC::DT inflator selector logic
Peter Rabbitson [Sun, 26 Sep 2010 16:59:57 +0000]
Minor cleanup of memory cycle tracing and IC::DT inflator selector logic

14 years agoReorganize runmode detection a bit
Peter Rabbitson [Sun, 26 Sep 2010 16:39:21 +0000]
Reorganize runmode detection a bit

Add two helpers: is_smoker and is_plain, to make it easier to indicate which
test should run when. Note that cpanm sets AUTOMATED_TESTING to trick modules
that expect input, so is_smoker isn't as simple as it should have been.

14 years agoChanges/author for a1e1a51
Peter Rabbitson [Sun, 26 Sep 2010 04:56:58 +0000]
Changes/author for a1e1a51

14 years agoExtend proxy rel attr
wreis [Thu, 23 Sep 2010 13:39:39 +0000]
Extend proxy rel attr

The proxy rel attribute can be specified as a hashref and arrayref,
in order to create delegation methods to a related class.

- Test cases for extending proxy rel attr
- Update Relationship::Base docs and Changes file

14 years agoexample for columns explaining correlation to select/as
David Schmidt [Sat, 2 Oct 2010 11:12:48 +0000]
example for columns explaining correlation to select/as

14 years agoAdded ontes on where to override store_column (request from kd)
Jess Robinson [Sat, 25 Sep 2010 12:27:05 +0000]
Added ontes on where to override store_column (request from kd)

14 years agofix precedence error in Row->_is_column_numeric
Mark Dominus [Tue, 21 Sep 2010 17:31:55 +0000]
fix precedence error in Row->_is_column_numeric

14 years agoFix RT61503 (bump DateTime::Format::Pg dep)
Peter Rabbitson [Tue, 21 Sep 2010 04:36:04 +0000]
Fix RT61503 (bump DateTime::Format::Pg dep)

14 years agoDisable author mode during cpanX --installdeps .
Peter Rabbitson [Tue, 21 Sep 2010 04:32:10 +0000]
Disable author mode during cpanX --installdeps .

14 years agoMake test suite pass under DBICTEST_SQLITE_USE_FILE=1
Peter Rabbitson [Sat, 18 Sep 2010 01:08:06 +0000]
Make test suite pass under DBICTEST_SQLITE_USE_FILE=1

14 years agoFix leak of $sth during populate() on perls < 5.10
Peter Rabbitson [Fri, 17 Sep 2010 15:18:04 +0000]
Fix leak of $sth during populate() on perls < 5.10

The removal of the explicit ->disconnect on $storage DESTROY
revealed a problem with older perls and nesting of try blocks

14 years agoFix forgotten external-$dbh test warnings
Peter Rabbitson [Fri, 17 Sep 2010 09:44:33 +0000]
Fix forgotten external-$dbh test warnings

14 years agoNo longer explicitly disconnect on ::Storage DESTROY
Peter Rabbitson [Tue, 14 Sep 2010 22:15:46 +0000]
No longer explicitly disconnect  on ::Storage DESTROY

14 years agoFix the exception-hungry exception_action
Peter Rabbitson [Mon, 13 Sep 2010 00:21:37 +0000]
Fix the exception-hungry exception_action

14 years agoRemove duplicate test (same as end of t/storage/error.t)
Peter Rabbitson [Mon, 13 Sep 2010 00:17:08 +0000]
Remove duplicate test (same as end of t/storage/error.t)

14 years agoRemove bogus pre-txn_begin first-connect call
Peter Rabbitson [Sun, 12 Sep 2010 16:48:36 +0000]
Remove bogus pre-txn_begin first-connect call
Rename the txn-retry debug envvar

14 years agoOptimize RowNum limit dialect as per suggestion in RT#61277
Peter Rabbitson [Sun, 12 Sep 2010 12:14:43 +0000]
Optimize RowNum limit dialect as per suggestion in RT#61277

14 years agoRename incorrectly named internal method (has nothing to do with MySQL)
Peter Rabbitson [Sun, 5 Sep 2010 10:49:37 +0000]
Rename incorrectly named internal method (has nothing to do with MySQL)
Add an extra test (written due to a false-alarm)

14 years agoMake _server_info() _determine_driver-bound
Peter Rabbitson [Wed, 8 Sep 2010 08:51:48 +0000]
Make _server_info() _determine_driver-bound

14 years agoDBIC_TRACE_PROFILE
Arthur Axel 'fREW' Schmidt [Thu, 9 Sep 2010 03:32:08 +0000]
DBIC_TRACE_PROFILE

14 years agoFilterColumn tweaks - docs and parameter tests
Nigel Metheringham [Thu, 16 Sep 2010 11:17:22 +0000]
FilterColumn tweaks - docs and parameter tests

Now throws exception if no filter parameters passed.
Documentation tweaked slightly.

14 years agoModernising/updating of the ::Manual::FAQ
Jess Robinson [Mon, 6 Sep 2010 13:26:32 +0000]
Modernising/updating of the ::Manual::FAQ

14 years agoAdding twitter account link to docs
Jess Robinson [Mon, 6 Sep 2010 12:42:32 +0000]
Adding twitter account link to docs

14 years agoAdding more manual bits to main Manual.pod
Jess Robinson [Sun, 5 Sep 2010 10:57:46 +0000]
Adding more manual bits to main Manual.pod
Updating/adding glossary definitions

14 years agoPreserve unblessed reference exceptions
Arthur Axel 'fREW' Schmidt [Wed, 1 Sep 2010 17:42:58 +0000]
Preserve unblessed reference exceptions

14 years agoDon't try to load DBIx::Class during the Makefile.PL stage, just
Peter Rabbitson [Tue, 31 Aug 2010 14:44:35 +0000]
Don't try to load DBIx::Class during the Makefile.PL stage, just
to detemrine its version

14 years agoFix mysterious ::Storage::DBI goto-shim failures on older
Peter Rabbitson [Tue, 31 Aug 2010 10:39:01 +0000]
Fix mysterious ::Storage::DBI goto-shim failures on older
perl versions (tested on 5.8.1)

14 years agoRemove forgotten frame from Storage-method overrides (was missing
Peter Rabbitson [Tue, 31 Aug 2010 10:22:45 +0000]
Remove forgotten frame from Storage-method overrides (was missing
a goto in the driver-already-determined shim)
Simplify the DBI Cursor DESTROY a little

14 years agoMake CDBICompat keep a stable oder of columns in each column-group
Peter Rabbitson [Tue, 31 Aug 2010 10:19:57 +0000]
Make CDBICompat keep a stable oder of columns in each column-group
(was relying on order of %{} until now)

14 years agoMassive cleanup of DateTime test dependencies, other interim
Peter Rabbitson [Mon, 30 Aug 2010 04:38:34 +0000]
Massive cleanup of DateTime test dependencies, other interim
janitorial work

14 years agoEnable pg test disabled god knows why, minor cleanup.
Peter Rabbitson [Mon, 30 Aug 2010 03:50:46 +0000]
Enable pg test disabled god knows why, minor cleanup.

14 years agoMinor cleanup of ::Optional::Dependencies innards
Peter Rabbitson [Mon, 30 Aug 2010 03:17:35 +0000]
Minor cleanup of ::Optional::Dependencies innards

14 years agoReformat Changes (features listed as fix/misc)
Peter Rabbitson [Mon, 30 Aug 2010 03:11:13 +0000]
Reformat Changes (features listed as fix/misc)

14 years agoDisable t/zzzzzzz_sqlite_deadlock.t for regular installs
Peter Rabbitson [Fri, 27 Aug 2010 14:57:29 +0000]
Disable t/zzzzzzz_sqlite_deadlock.t for regular installs

14 years agoMake running test under DBIC_TRACE=1 bearable
Peter Rabbitson [Fri, 11 Jun 2010 16:26:14 +0000]
Make running test under DBIC_TRACE=1 bearable

14 years agoFix RT#58554 (make sure FOR X is always the last part of a select)
Peter Rabbitson [Fri, 27 Aug 2010 14:29:30 +0000]
Fix RT#58554 (make sure FOR X is always the last part of a select)