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

13 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 $_

13 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)

13 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 :)

13 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

13 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

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

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

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

13 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)

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

13 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

13 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)

13 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

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

13 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

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

13 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.

13 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

13 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)

13 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

13 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

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

13 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

13 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)

13 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.

13 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

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

13 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

13 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

13 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

13 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

13 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, ... )

13 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

13 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

13 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

13 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)

13 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

13 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.

13 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

13 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

13 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 :)

13 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

13 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

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

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

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

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

13 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

13 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

13 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

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

13 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

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

13 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

13 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

13 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//)

13 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.

13 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

13 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

13 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.

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

13 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

13 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

13 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)

13 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

13 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)

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

13 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

13 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

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

13 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

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

13 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)

13 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

13 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

13 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)

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

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

13 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.

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

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

13 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

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

13 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

13 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)

13 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

13 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)

13 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

13 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.

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

13 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)

13 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

13 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

13 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)

13 years agoFix the taint mode test to correctly work under local-lib or similar
Peter Rabbitson [Tue, 24 Aug 2010 07:38:11 +0000]
Fix the taint mode test to correctly work under local-lib or similar

13 years agoMerge branch 'people/riba/retire_sqla_limit'
Peter Rabbitson [Fri, 27 Aug 2010 10:58:15 +0000]
Merge branch 'people/riba/retire_sqla_limit'

13 years agoRename SQLAHacks to SQLMaker, shuffle around files, add extensive
Peter Rabbitson [Fri, 27 Aug 2010 10:49:38 +0000]
Rename SQLAHacks to SQLMaker, shuffle around files, add extensive
POD.

13 years agoDrop-in legacy code for DB2-AS/400
Peter Rabbitson [Sat, 14 Aug 2010 11:04:14 +0000]
Drop-in legacy code for DB2-AS/400

13 years agoFactor out the limit implementations into a separate file
Peter Rabbitson [Sat, 14 Aug 2010 11:02:03 +0000]
Factor out the limit implementations into a separate file