Michael G Schwern [Sun, 24 Feb 2008 07:22:57 +0000]
Fix the pod coverage failure.
Michael G Schwern [Sun, 24 Feb 2008 07:20:41 +0000]
Greatly speed up result_source_instance() and all the many things which
use it by eliminating the calls to $self->result_class.
Michael G Schwern [Fri, 22 Feb 2008 03:04:31 +0000]
The infinite loop with sub DESTROY { $_[0]->discard_changes } is a DBIC
thing.
Michael G Schwern [Sun, 24 Feb 2008 09:12:46 +0000]
Ensure that has_many() loads the foreign class.
Michael G Schwern [Thu, 21 Feb 2008 06:34:10 +0000]
Add in a warning if a column is declared as TEMP but it's already declared
real.
Michael G Schwern [Thu, 21 Feb 2008 08:03:47 +0000]
Merge 'trunk' into 'cdbicompat_integration'
r54378@windhund (orig r3954): matthewt | 2008-01-18 05:03:08 -0800
added strict and warnings to HashRefInflator, fixed inflation for empty has_many rels
r54379@windhund (orig r3955): matthewt | 2008-01-20 04:28:55 -0800
made search_rs smarter about when to preserve the cache to fix mm prefetch usage
r54389@windhund (orig r3965): semifor | 2008-01-22 07:13:11 -0800
Added build_datetime_parser method for MSSQL over ODBC.
r54394@windhund (orig r3970): castaway | 2008-01-24 05:19:52 -0800
Oops, fix joining manual to be correct
r54395@windhund (orig r3971): castaway | 2008-01-24 15:22:49 -0800
Version 0.08009
r54396@windhund (orig r3972): castaway | 2008-01-24 15:36:59 -0800
0.08009 released
r54399@windhund (orig r3975): tomboh | 2008-01-25 09:20:38 -0800
Fix a typo and a couple of links.
r54448@windhund (orig r4024): oyse | 2008-02-05 00:42:32 -0800
Added Øystein Torget to the list of contributers
r54474@windhund (orig r4050): ash | 2008-02-10 09:31:27 -0800
Add txn_scope_guard method/object
Michael G Schwern [Thu, 14 Feb 2008 10:23:57 +0000]
Implement cascade => "None"
Michael G Schwern [Thu, 14 Feb 2008 09:57:52 +0000]
cascade delete test from Class-DBI 3.0.17
Michael G Schwern [Thu, 14 Feb 2008 07:43:24 +0000]
Put the stringification back, older versions of DateTime string equality are
still broken. But don't bother to stringify anything that's not a reference.
Michael G Schwern [Wed, 13 Feb 2008 22:10:33 +0000]
Expand the CDBICompat docs to show of it's features, the fact that you're
getting DBIC objects and to be more oriented towards CDBI users.
Michael G Schwern [Wed, 13 Feb 2008 22:10:06 +0000]
Emulate $CDBI::Weaken_Not_Available and CDBI::Plugin::NoCache
Michael G Schwern [Wed, 13 Feb 2008 08:14:34 +0000]
Forgot to set up the relationship between Actor and Film. Turns it out
was working because create() was holding onto the given values but once
we changed it to throw them out it (properly) broke.
Michael G Schwern [Wed, 13 Feb 2008 07:41:26 +0000]
Fix create() in the same way as update() so it throws out the new values and
reloads them from the database on demand.
Michael G Schwern [Wed, 13 Feb 2008 07:11:54 +0000]
Fix the test to skip if MyFoo won't load.
Michael G Schwern [Wed, 13 Feb 2008 07:06:42 +0000]
Test that DateTime objects can safely be updated twice (which is what triggers
the equality check).
Remove the stringification to shield broken equality since DateTime seems
to work.
This also shuts up a warning in GetSet when you set to an undef value.
Test that.
Change from bitwise xor to regular xor since bitwise is overkill and nobody
knows what ^ is.
Michael G Schwern [Wed, 13 Feb 2008 07:04:38 +0000]
Quiet a warning
Michael G Schwern [Wed, 13 Feb 2008 06:51:47 +0000]
Fix update() so it throws out inflated values, too
Michael G Schwern [Wed, 13 Feb 2008 05:22:51 +0000]
POD mistake.
Michael G Schwern [Wed, 13 Feb 2008 05:21:28 +0000]
Document the relationship declaration limitation.
Michael G Schwern [Wed, 13 Feb 2008 05:16:34 +0000]
Remove the big, out of date list of CDBICompat components
Document the limits of CDBI::Relationship support
Michael G Schwern [Wed, 13 Feb 2008 05:14:09 +0000]
Emulate that CDBI throws out all changed columns and reloads them on
request in case the database modifies the new value (say, via a trigger)
Michael G Schwern [Wed, 13 Feb 2008 01:46:17 +0000]
Emulate that Class::DBI inflates immediately
Michael G Schwern [Wed, 13 Feb 2008 01:26:10 +0000]
Hash access no works despite lack of existing accessor method.
Michael G Schwern [Wed, 13 Feb 2008 01:20:26 +0000]
Localize the warning tests.
Michael G Schwern [Wed, 13 Feb 2008 01:16:29 +0000]
When emulating $obj->{column} do not call any custom column method, just
access the data directly with get/set_column().
Michael G Schwern [Wed, 13 Feb 2008 00:33:57 +0000]
Fix the POD coverage test.
Michael G Schwern [Tue, 12 Feb 2008 08:32:29 +0000]
Merge HasA, HasMany and MightHave into one file, Relationships, for easier
development.
Implement meta_info() and emulate the basic CDBI::Relationship object.
Michael G Schwern [Tue, 12 Feb 2008 08:29:30 +0000]
Remove stray $DB::single
Michael G Schwern [Tue, 12 Feb 2008 08:27:53 +0000]
Not going to do DeepAbstractSearch after all.
Michael G Schwern [Tue, 12 Feb 2008 01:21:42 +0000]
Test "like" in search_where()
Michael G Schwern [Tue, 12 Feb 2008 01:17:45 +0000]
Original tests from Class::DBI::Plugin::DeepAbstractSearch
Ash Berlin [Sun, 10 Feb 2008 17:31:27 +0000]
Add txn_scope_guard method/object
Øystein Torget [Tue, 5 Feb 2008 08:42:32 +0000]
Added Øystein Torget to the list of contributers
Tom Hukins [Fri, 25 Jan 2008 17:20:38 +0000]
Fix a typo and a couple of links.
Jess Robinson [Thu, 24 Jan 2008 23:36:59 +0000]
0.08009 released
Jess Robinson [Thu, 24 Jan 2008 23:22:49 +0000]
Version 0.08009
Jess Robinson [Thu, 24 Jan 2008 13:19:52 +0000]
Oops, fix joining manual to be correct
Marc Mims [Tue, 22 Jan 2008 15:13:11 +0000]
Added build_datetime_parser method for MSSQL over ODBC.
Matt S Trout [Sun, 20 Jan 2008 12:28:55 +0000]
made search_rs smarter about when to preserve the cache to fix mm prefetch usage
Matt S Trout [Fri, 18 Jan 2008 13:03:08 +0000]
added strict and warnings to HashRefInflator, fixed inflation for empty has_many rels
Michael G Schwern [Thu, 17 Jan 2008 21:57:39 +0000]
Make the hash-key warning dependent on DBIC_CDBICOMPAT_HASH_WARN because
boy is it annoying!
Michael G Schwern [Thu, 17 Jan 2008 19:31:44 +0000]
Make freeze/thaw and dclone work as functions on CDBICompat objects.
Michael G Schwern [Wed, 16 Jan 2008 10:27:08 +0000]
Merge 'trunk' into 'cdbicompat_integration'
r52292@windhund (orig r3942): schwern | 2008-01-16 02:25:36 -0800
Declare dep on JSON::Any rather than JSON.
No reason JSON::Any should prefer JSON.pm over it's default ordering.
r52293@windhund (orig r3943): schwern | 2008-01-16 02:26:26 -0800
And fix the check in the dbicadmin test to look for JSON::Any.
Michael G Schwern [Wed, 16 Jan 2008 10:26:26 +0000]
And fix the check in the dbicadmin test to look for JSON::Any.
Michael G Schwern [Wed, 16 Jan 2008 10:25:36 +0000]
Declare dep on JSON::Any rather than JSON.
No reason JSON::Any should prefer JSON.pm over it's default ordering.
Michael G Schwern [Wed, 16 Jan 2008 08:17:30 +0000]
freeze/thaw/dclone as functions can't be made to reliably work. I'll
have to change the calling code in my app.
Michael G Schwern [Wed, 16 Jan 2008 08:19:42 +0000]
Merge 'trunk' into 'cdbicompat_integration'
r52127@windhund (orig r3782): ash | 2007-09-25 08:39:52 -0700
Throw if "foreign." and "self." are wrong way round in conditions for relationships
r52139@windhund (orig r3794): bricas | 2007-09-27 11:37:15 -0700
ResultSetColumn::func() now returns all results if called in list context
r52140@windhund (orig r3795): castaway | 2007-09-28 00:51:40 -0700
Tests from captainL, find_or_new_related fails on belongs_to rels.
r52141@windhund (orig r3796): wreis | 2007-09-28 17:35:55 -0700
select for patch from justin
r52142@windhund (orig r3797): castaway | 2007-09-29 15:37:07 -0700
Fix "redefined" errors resulting from loading a Schema twice.
r52143@windhund (orig r3798): captainL | 2007-10-02 08:38:21 -0700
fixed find_or_new_related bug
r52144@windhund (orig r3799): captainL | 2007-10-02 08:43:16 -0700
added comment explaining change
r52145@windhund (orig r3800): ash | 2007-10-03 13:00:32 -0700
Many-to-many relationships now warn if the utility methods would clash
r52148@windhund (orig r3803): semifor | 2007-10-04 09:29:15 -0700
r1357@titanic: mjm | 2007-10-04 08:48:06 -0700
- Doc patch for using an SQL function on the left side of a comparison.
- Which lead to the discovery of a bind args ordering bug. TODO tests added
for that.
- Fixed =for hidden with =begin hidden / =end hidden elsewhere.
- Added myself to the contributors list.
r52149@windhund (orig r3804): captainL | 2007-10-04 13:54:08 -0700
fixed search_related from object with unset FK behaviour
r52150@windhund (orig r3805): semifor | 2007-10-05 14:30:19 -0700
r1365@titanic: mjm | 2007-10-05 13:49:20 -0700
Fixed warning on uninitialized value.
r52154@windhund (orig r3809): ash | 2007-10-07 14:50:33 -0700
Timezone support for InflateColumn::DateTime (sergio)
r52158@windhund (orig r3813): ash | 2007-10-12 03:26:55 -0700
Add an add_index method on ResultSource (and proxy classes)
r52159@windhund (orig r3814): ash | 2007-10-12 03:32:41 -0700
s/indices/indexes/ to keep Jess happy.
r52160@windhund (orig r3815): ash | 2007-10-12 10:46:55 -0700
Remove add_index and replace it with sqlt_deploy_hook
r52161@windhund (orig r3816): ash | 2007-10-12 11:20:43 -0700
Test sqlt_deploy_hook on the Schema level
r52162@windhund (orig r3817): ash | 2007-10-13 05:33:33 -0700
Add docs about sqlt_deploy_hook, and reorganise/reorder the Cookbook
r52166@windhund (orig r3821): nigel | 2007-10-17 08:59:12 -0700
Added reference to RH perl bug at appropriate points
r52169@windhund (orig r3824): ash | 2007-10-20 04:01:07 -0700
Added startup checks to warn loudly if we appear to be running on RedHat systems from perl-5.8.8-10 and up that have the bless/overload patch applied (badly) which causes 2x -> 100x performance penalty. (Jon Schutz)
r52170@windhund (orig r3825): castaway | 2007-10-21 04:46:56 -0700
Documentation clarifications
r52174@windhund (orig r3829): captainL | 2007-10-22 12:45:46 -0700
fixed problem with duplicate related objects for Row::new/insert
r52185@windhund (orig r3840): bert | 2007-10-25 03:04:42 -0700
r10510@beetle: bert | 2007-10-25 11:22:07 +0200
Merged with replication branch (fixed wrong object-function calls preventing set_schema to work rev3823). Added myself to contributors.
r52186@windhund (orig r3841): captainL | 2007-10-26 03:53:26 -0700
the checks in reverse_relationship_info are less ambiguous
r52187@windhund (orig r3842): ash | 2007-10-27 10:53:39 -0700
Reorder Changes file. (New changes go at bottom of block please!)
r52188@windhund (orig r3843): tomboh | 2007-10-29 10:19:01 -0700
Improve Documentation.
r52189@windhund (orig r3844): captainL | 2007-10-29 13:26:02 -0700
fixed _merge_attr bug
r52190@windhund (orig r3845): captainL | 2007-10-29 13:28:45 -0700
spelt Zby's name properly
r52197@windhund (orig r3852): castaway | 2007-11-02 19:17:11 -0700
Improve inflatecolumn docs
r52198@windhund (orig r3853): matthewt | 2007-11-06 06:53:48 -0800
make belongs_to accept an [] join cond
r52217@windhund (orig r3872): castaway | 2007-11-12 13:13:33 -0800
Added cookbook recipe for using dual, thanks Richard
r52224@windhund (orig r3879): ash | 2007-11-15 04:49:53 -0800
Fix is_foreign_key_constraint - thanks Jon Schutz
r52225@windhund (orig r3880): ash | 2007-11-15 05:02:15 -0800
Adding missing file
r52226@windhund (orig r3881): ash | 2007-11-15 05:52:58 -0800
Fix t/82cascade_copy.t
r52228@windhund (orig r3883): tomboh | 2007-11-15 07:05:12 -0800
Remove an unneeded requirement.
r52230@windhund (orig r3885): ash | 2007-11-16 06:30:51 -0800
Version bump
r52231@windhund (orig r3886): ash | 2007-11-19 10:11:53 -0800
Fix END block
r52232@windhund (orig r3887): wreis | 2007-11-21 05:57:35 -0800
minor fixes for ResultSet docs
r52233@windhund (orig r3888): ash | 2007-11-22 07:27:23 -0800
Fix mistakes
r52234@windhund (orig r3889): ash | 2007-11-24 13:24:53 -0800
Sort tables for consistent output
r52242@windhund (orig r3897): wreis | 2007-12-10 17:29:51 -0800
minor doc fix
r52246@windhund (orig r3901): ash | 2007-12-20 03:02:15 -0800
Add proper thaw hooks so schema gets re-attached
r52253@windhund (orig r3908): perigrin | 2008-01-02 12:52:13 -0800
move dbicadmin to JSON::Any
r52254@windhund (orig r3909): semifor | 2008-01-02 14:24:23 -0800
Added Storage::DBI subclass for MSSQL auto PK over ODBC.
r52255@windhund (orig r3910): nothingmuch | 2008-01-03 05:18:36 -0800
failing test for inflate not being triggerred with copy()
r52256@windhund (orig r3911): nothingmuch | 2008-01-03 05:31:49 -0800
test plan
r52257@windhund (orig r3912): nothingmuch | 2008-01-03 05:35:20 -0800
introduce set_inflated_columns
r52258@windhund (orig r3913): nothingmuch | 2008-01-03 05:36:07 -0800
pod coverage for Storage::DBI::ODBC::Microsoft_SQL_Server
r52259@windhund (orig r3914): nothingmuch | 2008-01-03 05:53:00 -0800
dbicadmin printed even when quiet
r52260@windhund (orig r3915): nothingmuch | 2008-01-03 05:54:38 -0800
make the dbicadmin test portable to JSON modules that do not support single quotes and bare strings, even on windaz
r52261@windhund (orig r3916): nothingmuch | 2008-01-03 06:50:52 -0800
changelog
r52263@windhund (orig r3918): tomboh | 2008-01-07 07:23:15 -0800
Fix class name typo
r52270@windhund (orig r3925): nigel | 2008-01-11 04:55:17 -0800
Copied documentation for id & discard_charges methods from Pk.pm
into Row.pm as few people think to look in Pk.pm. Put reference
back to original source.
Michael G Schwern [Wed, 16 Jan 2008 05:56:23 +0000]
mst pointed out that my $val = $obj->{col}; $obj->col(23); print $val; will reflect the change because of the deferring. Using a tied scalar as the value is much, much simpler.
Michael G Schwern [Wed, 16 Jan 2008 00:23:19 +0000]
Allow CDBI objects to be accessed like hashes as people tend to do for
performance reasons.
Nigel Metheringham [Fri, 11 Jan 2008 12:55:17 +0000]
Copied documentation for id & discard_charges methods from Pk.pm
into Row.pm as few people think to look in Pk.pm. Put reference
back to original source.
Tom Hukins [Mon, 7 Jan 2008 15:23:15 +0000]
Fix class name typo
Yuval Kogman [Thu, 3 Jan 2008 14:50:52 +0000]
changelog
Yuval Kogman [Thu, 3 Jan 2008 13:54:38 +0000]
make the dbicadmin test portable to JSON modules that do not support single quotes and bare strings, even on windaz
Yuval Kogman [Thu, 3 Jan 2008 13:53:00 +0000]
dbicadmin printed even when quiet
Yuval Kogman [Thu, 3 Jan 2008 13:36:07 +0000]
pod coverage for Storage::DBI::ODBC::Microsoft_SQL_Server
Yuval Kogman [Thu, 3 Jan 2008 13:35:20 +0000]
introduce set_inflated_columns
Yuval Kogman [Thu, 3 Jan 2008 13:31:49 +0000]
test plan
Yuval Kogman [Thu, 3 Jan 2008 13:18:36 +0000]
failing test for inflate not being triggerred with copy()
Marc Mims [Wed, 2 Jan 2008 22:24:23 +0000]
Added Storage::DBI subclass for MSSQL auto PK over ODBC.
Chris Prather [Wed, 2 Jan 2008 20:52:13 +0000]
move dbicadmin to JSON::Any
Ash Berlin [Thu, 20 Dec 2007 11:02:15 +0000]
Add proper thaw hooks so schema gets re-attached
Wallace Reis [Tue, 11 Dec 2007 01:29:51 +0000]
minor doc fix
Ash Berlin [Sat, 24 Nov 2007 21:24:53 +0000]
Sort tables for consistent output
Ash Berlin [Thu, 22 Nov 2007 15:27:23 +0000]
Fix mistakes
Wallace Reis [Wed, 21 Nov 2007 13:57:35 +0000]
minor fixes for ResultSet docs
Ash Berlin [Mon, 19 Nov 2007 18:11:53 +0000]
Fix END block
Ash Berlin [Fri, 16 Nov 2007 14:30:51 +0000]
Version bump
Tom Hukins [Thu, 15 Nov 2007 15:05:12 +0000]
Remove an unneeded requirement.
Ash Berlin [Thu, 15 Nov 2007 13:52:58 +0000]
Fix t/82cascade_copy.t
Ash Berlin [Thu, 15 Nov 2007 13:02:15 +0000]
Adding missing file
Ash Berlin [Thu, 15 Nov 2007 12:49:53 +0000]
Fix is_foreign_key_constraint - thanks Jon Schutz
Jess Robinson [Mon, 12 Nov 2007 21:13:33 +0000]
Added cookbook recipe for using dual, thanks Richard
Matt S Trout [Tue, 6 Nov 2007 14:53:48 +0000]
make belongs_to accept an [] join cond
Jess Robinson [Sat, 3 Nov 2007 02:17:11 +0000]
Improve inflatecolumn docs
Luke Saunders [Mon, 29 Oct 2007 20:28:45 +0000]
spelt Zby's name properly
Luke Saunders [Mon, 29 Oct 2007 20:26:02 +0000]
fixed _merge_attr bug
Tom Hukins [Mon, 29 Oct 2007 17:19:01 +0000]
Improve Documentation.
Ash Berlin [Sat, 27 Oct 2007 17:53:39 +0000]
Reorder Changes file. (New changes go at bottom of block please!)
Luke Saunders [Fri, 26 Oct 2007 10:53:26 +0000]
the checks in reverse_relationship_info are less ambiguous
Norbert Csongradi [Thu, 25 Oct 2007 16:22:07 +0000]
Merge 'replication' into 'trunk'
r10510@beetle: bert | 2007-10-25 11:22:07 +0200
Merged with replication branch (fixed wrong object-function calls preventing set_schema to work rev3823). Added myself to contributors.
Luke Saunders [Mon, 22 Oct 2007 19:45:46 +0000]
fixed problem with duplicate related objects for Row::new/insert
Jess Robinson [Sun, 21 Oct 2007 11:46:56 +0000]
Documentation clarifications
Ash Berlin [Sat, 20 Oct 2007 11:01:07 +0000]
Added startup checks to warn loudly if we appear to be running on RedHat systems from perl-5.8.8-10 and up that have the bless/overload patch applied (badly) which causes 2x -> 100x performance penalty. (Jon Schutz)
Norbert Csongradi [Sat, 20 Oct 2007 15:27:52 +0000]
Added set_schema and fixed previously bad calls ($self->$_).
Nigel Metheringham [Wed, 17 Oct 2007 15:59:12 +0000]
Added reference to RH perl bug at appropriate points
Ash Berlin [Sat, 13 Oct 2007 12:33:33 +0000]
Add docs about sqlt_deploy_hook, and reorganise/reorder the Cookbook
Ash Berlin [Fri, 12 Oct 2007 18:20:43 +0000]
Test sqlt_deploy_hook on the Schema level
Ash Berlin [Fri, 12 Oct 2007 17:46:55 +0000]
Remove add_index and replace it with sqlt_deploy_hook
Ash Berlin [Fri, 12 Oct 2007 10:32:41 +0000]
s/indices/indexes/ to keep Jess happy.
Ash Berlin [Fri, 12 Oct 2007 10:26:55 +0000]
Add an add_index method on ResultSource (and proxy classes)
Ash Berlin [Sun, 7 Oct 2007 21:50:33 +0000]
Timezone support for InflateColumn::DateTime (sergio)
Marc Mims [Fri, 5 Oct 2007 18:49:20 +0000]
Fixed warning on uninitialized value.
Luke Saunders [Thu, 4 Oct 2007 20:54:08 +0000]
fixed search_related from object with unset FK behaviour
Marc Mims [Thu, 4 Oct 2007 13:48:06 +0000]
- Doc patch for using an SQL function on the left side of a comparison.
- Which lead to the discovery of a bind args ordering bug. TODO tests added
for that.
- Fixed =for hidden with =begin hidden / =end hidden elsewhere.
- Added myself to the contributors list.
Ash Berlin [Wed, 3 Oct 2007 20:00:32 +0000]
Many-to-many relationships now warn if the utility methods would clash
Luke Saunders [Tue, 2 Oct 2007 15:43:16 +0000]
added comment explaining change
Luke Saunders [Tue, 2 Oct 2007 15:38:21 +0000]
fixed find_or_new_related bug
Jess Robinson [Sat, 29 Sep 2007 22:37:07 +0000]
Fix "redefined" errors resulting from loading a Schema twice.
Wallace Reis [Sat, 29 Sep 2007 00:35:55 +0000]
select for patch from justin
Jess Robinson [Fri, 28 Sep 2007 07:51:40 +0000]
Tests from captainL, find_or_new_related fails on belongs_to rels.