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
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.
Brian Cassidy [Thu, 27 Sep 2007 18:37:15 +0000]
ResultSetColumn::func() now returns all results if called in list context
Ash Berlin [Tue, 25 Sep 2007 15:39:52 +0000]
Throw if "foreign." and "self." are wrong way round in conditions for relationships
Matt S Trout [Fri, 14 Sep 2007 20:42:29 +0000]
Merge 'trunk' into 'cdbicompat_integration'
r11217@jules (orig r3705): tomboh | 2007-08-22 11:28:58 +0100
Fix the behaviour of code refs within array refs for on_(dis)?connect_do
and enhance tests to spot the previous mistake.
r11218@jules (orig r3706): tomboh | 2007-08-22 11:57:14 +0100
Add myself to the list of contributors
r11232@jules (orig r3709): gphat | 2007-08-24 18:11:46 +0100
Fix typos.
r14025@jules (orig r3720): ilmari | 2007-09-04 17:44:41 +0100
Fix return value for DBIC::ResultSource::Table->table($table)
r14026@jules (orig r3721): ash | 2007-09-04 20:14:02 +0100
Bump for New relase
r14027@jules (orig r3722): semifor | 2007-09-05 04:49:46 +0100
r1185@titanic: mjm | 2007-09-04 20:11:07 -0700
Updated email address
r14029@jules (orig r3723): castaway | 2007-09-06 21:07:52 +0100
Doc patch from wreis
r14030@jules (orig r3724): castaway | 2007-09-06 22:35:49 +0100
Add more about accessors to doc
r14031@jules (orig r3725): tomboh | 2007-09-07 17:54:00 +0100
Small POD fix
r14032@jules (orig r3726): semifor | 2007-09-08 17:58:56 +0100
r1191@titanic: mjm | 2007-09-08 09:20:32 -0700
discard_changes is also "refresh from storage"
r14035@jules (orig r3729): castaway | 2007-09-12 00:23:20 +0100
Much doch shuffling and more argument explanations (due to initself ;)
Jess Robinson [Tue, 11 Sep 2007 23:23:20 +0000]
Much doch shuffling and more argument explanations (due to initself ;)
Marc Mims [Sat, 8 Sep 2007 14:20:32 +0000]
discard_changes is also "refresh from storage"
Tom Hukins [Fri, 7 Sep 2007 16:54:00 +0000]
Small POD fix
Jess Robinson [Thu, 6 Sep 2007 21:35:49 +0000]
Add more about accessors to doc
Jess Robinson [Thu, 6 Sep 2007 20:07:52 +0000]
Doc patch from wreis
Marc Mims [Wed, 5 Sep 2007 01:11:07 +0000]
Updated email address
Ash Berlin [Tue, 4 Sep 2007 19:14:02 +0000]
Bump for New relase
Dagfinn Ilmari Mannsåker [Tue, 4 Sep 2007 16:44:41 +0000]
Fix return value for DBIC::ResultSource::Table->table($table)
Michael G Schwern [Fri, 31 Aug 2007 06:39:40 +0000]
$schema isn't defined if the test is skipped.
Michael G Schwern [Fri, 31 Aug 2007 06:39:19 +0000]
Add POD to new CDBICompat modules so they pass POD coverage.
Michael G Schwern [Fri, 10 Aug 2007 07:56:14 +0000]
Pull in some tests from CDBI 3.16 that already work.
Try to fix some issues with the testlibs.
Michael G Schwern [Fri, 10 Aug 2007 07:54:30 +0000]
Document that we're doing AbstractSearch, too
Split out the customization recepie a bit.
Document some limitations.
Cory G Watson [Fri, 24 Aug 2007 17:11:46 +0000]
Fix typos.
Tom Hukins [Wed, 22 Aug 2007 10:57:14 +0000]
Add myself to the list of contributors
Tom Hukins [Wed, 22 Aug 2007 10:28:58 +0000]
Fix the behaviour of code refs within array refs for on_(dis)?connect_do
and enhance tests to spot the previous mistake.
Matt S Trout [Tue, 21 Aug 2007 19:56:43 +0000]
Merge 'trunk' into 'cdbicompat_integration'
r11194@jules (orig r3695): matthewt | 2007-08-21 19:24:53 +0100
r10460@jules (orig r3640): tomboh | 2007-08-01 12:27:38 +0100
Add an 'on_disconnect_do' argument to
DBIx::Class::Storage::DBI::connect_info that, on disconnection, do what
'on_connect_do' does on connection. Currently, this only works if the
code explicitly calls disconnect() on the Storage object.
While I'm here, make both 'on_connect_do' and 'on_disconnect_do' accept
code references as well as strings containing SQL statements.
Finally, remove code to call compose_connection() from DBICTest.pm that
never gets called any more.
r11195@jules (orig r3696): matthewt | 2007-08-21 19:24:57 +0100
r11152@jules (orig r3678): tomboh | 2007-08-15 09:24:32 +0100
Restore code that I removed in revision 3640 that tests still need
r11196@jules (orig r3697): matthewt | 2007-08-21 19:25:00 +0100
r11153@jules (orig r3679): tomboh | 2007-08-15 09:25:47 +0100
Let on_connect_do() and on_disconnect_do() take code references.
Provide tests and documentation for this.
r11197@jules (orig r3698): matthewt | 2007-08-21 19:25:33 +0100
r11199@jules (orig r3700): matthewt | 2007-08-21 19:50:00 +0100
arrayrefs for on_connect_do
r11200@jules (orig r3701): matthewt | 2007-08-21 19:53:44 +0100
note on_connect_do changes
r11201@jules (orig r3702): matthewt | 2007-08-21 20:17:22 +0100
oracle datetime inflator patch
r11202@jules (orig r3703): matthewt | 2007-08-21 20:52:09 +0100
force CDBICompat deps for developers, fix tests to work with latest Class::Trigger
Matt S Trout [Tue, 21 Aug 2007 19:52:09 +0000]
force CDBICompat deps for developers, fix tests to work with latest Class::Trigger
Matt S Trout [Tue, 21 Aug 2007 19:17:22 +0000]
oracle datetime inflator patch
Matt S Trout [Tue, 21 Aug 2007 18:53:44 +0000]
note on_connect_do changes