15 years agopatch ->delete to die if args
Simon Elliott [Thu, 16 Oct 2008 13:41:18 +0000]
patch ->delete to die if args

15 years agoFix omission in pg test
Peter Rabbitson [Sun, 12 Oct 2008 21:56:50 +0000]
Fix omission in pg test

15 years agoDowngrading multi-prefetch exception to a warning as per Moritz Onken, adjusting...
Peter Rabbitson [Sun, 12 Oct 2008 21:54:53 +0000]
Downgrading multi-prefetch exception to a warning as per Moritz Onken, adjusting tests

15 years agoTODOify the 'upgrade twice within a second' problem in Schema::Versioned
Peter Rabbitson [Sun, 12 Oct 2008 21:26:54 +0000]
TODOify the 'upgrade twice within a second' problem in Schema::Versioned

15 years agoModernised and rearranged docs massively into a saner order.
Jess Robinson [Sat, 11 Oct 2008 17:07:00 +0000]
Modernised and rearranged docs massively into a saner order.

15 years agoModernise docs
Jess Robinson [Sat, 11 Oct 2008 14:56:14 +0000]
Modernise docs

15 years agoAdd new column with a default to Artist, adjust tests as necessary (no functional...
Peter Rabbitson [Thu, 9 Oct 2008 11:47:39 +0000]
Add new column with a default to Artist, adjust tests as necessary (no functional changes)

15 years agoRegenerate (finally\!) t/lib/sqlite.sql
Peter Rabbitson [Thu, 9 Oct 2008 11:19:28 +0000]
Regenerate (finally\!) t/lib/sqlite.sql
Fix maint/gen-schema to work correctly with newer SQL::Translators

15 years agoMinor documentation patch by Flavio Poletti - remove useless prefetch from examples
Peter Rabbitson [Wed, 8 Oct 2008 09:46:18 +0000]
Minor documentation patch by Flavio Poletti - remove useless prefetch from examples

15 years agoAdd documentation to indicate that calling find, find_or_new, find_or_create or updat...
Jess Robinson [Tue, 7 Oct 2008 22:17:14 +0000]
Add documentation to indicate that calling find, find_or_new, find_or_create or update_or_create with primary key values of undef, is a bad idea.

15 years agoincrease Test::Warn dependency
Matt S Trout [Tue, 7 Oct 2008 17:32:00 +0000]
increase Test::Warn dependency

15 years agoSilence SQLite ->disconnect warnings
Peter Rabbitson [Tue, 7 Oct 2008 14:15:03 +0000]
Silence SQLite ->disconnect warnings

15 years agoMerge 'warnfree' into 'trunk'
Peter Rabbitson [Tue, 7 Oct 2008 14:02:04 +0000]
Merge 'warnfree' into 'trunk'

Another round of warning-squashing:
Fix source registration/unregistration in several places
Accomodate postgres being really load on CREATE
Move the taint tests to a non-mainstream schema - hopefully this one will not be disturbed for a while
Fix warning due to File::Copy being sloppy
Test for TxnScopeGuard warnings
Test for multiple register_class warnings
Blindly silence a weird warning within a TODO in t/47bind_attribute.t. Hopefully when the TODO is resolved, it will be obvious what was causing it

15 years agoduh
Peter Rabbitson [Tue, 7 Oct 2008 12:51:09 +0000]
duh

15 years agoSchema::Versioned test cleanups:
Peter Rabbitson [Tue, 7 Oct 2008 10:25:36 +0000]
Schema::Versioned test cleanups:
- Add a test exposing a lapse in design resulting in intermittent test failures
- Add a number of tests to trap expected warnings
- Cleanup the temp dir after the test, set DBICTEST_KEEP_VERSIONING_DDL to override

15 years agoRemove superfluous TODO test
Marc Mims [Mon, 6 Oct 2008 20:04:50 +0000]
Remove superfluous TODO test

15 years agocosmincx's patch to show relationship attr filtering in cookbook
Jess Robinson [Mon, 6 Oct 2008 18:16:07 +0000]
cosmincx's patch to show relationship attr filtering in cookbook

15 years agoUse DBI->last_insert_id for ODBC base class.
Marc Mims [Mon, 6 Oct 2008 16:43:06 +0000]
Use DBI->last_insert_id for ODBC base class.

This closes RT #21260: Problem with last_insert_rowid:
http://rt.cpan.org/Public/Bug/Display.html?id=21260

15 years agoFix incorrect relationship docs!
Jess Robinson [Sun, 5 Oct 2008 20:46:56 +0000]
Fix incorrect relationship docs!

15 years agoRename _merge_attr args to something saner than $a, $b
Jess Robinson [Sun, 5 Oct 2008 11:26:30 +0000]
Rename _merge_attr args to something saner than $a, $b

15 years agofix new_related on uninserted objects to handle has_manys correctly
Matt S Trout [Tue, 30 Sep 2008 23:25:33 +0000]
fix new_related on uninserted objects to handle has_manys correctly

15 years agoBetter docs about single()
Peter Rabbitson [Tue, 30 Sep 2008 12:48:35 +0000]
Better docs about single()

15 years agoAdd cookbook discussion of single() vs first()
Peter Rabbitson [Mon, 29 Sep 2008 17:36:43 +0000]
Add cookbook discussion of single() vs first()

15 years agoDoc patch from jhannah
Jess Robinson [Mon, 29 Sep 2008 12:16:24 +0000]
Doc patch from jhannah

15 years agomst is right: there is no sane way to allow automatic inflation with HRI, as most...
Peter Rabbitson [Sun, 28 Sep 2008 18:46:08 +0000]
mst is right: there is no sane way to allow automatic inflation with HRI, as most core inflation components rely on being passed a live row object. Ripping all related code away

15 years agonew_related works again
Matt S Trout [Sun, 28 Sep 2008 16:07:23 +0000]
new_related works again

15 years agothanks to ribasushi for _sqlite_dbname and fixing 93storage_replication.t
Johannes Plunien [Wed, 24 Sep 2008 22:07:22 +0000]
thanks to ribasushi for _sqlite_dbname and fixing 93storage_replication.t

15 years agonot checking if t/var/DBIxClass.db was created anymore (since we use :memory:)
Johannes Plunien [Wed, 24 Sep 2008 21:27:05 +0000]
not checking if t/var/DBIxClass.db was created anymore (since we use :memory:)

15 years agodoing ->init_schema( sqlite_use_file => 1 ) in 92storage.t 89dbicadmin.t 33storage_re...
Johannes Plunien [Wed, 24 Sep 2008 21:26:06 +0000]
doing ->init_schema( sqlite_use_file => 1 ) in 92storage.t 89dbicadmin.t 33storage_reconnect.t 32connect_code_ref.t

15 years agodefault sqlite storage ":memory:", possible to switch back to file storage using...
Johannes Plunien [Wed, 24 Sep 2008 21:24:27 +0000]
default sqlite storage ":memory:", possible to switch back to file storage using ->init_schema( sqlite_use_file => 1 )

15 years agofirst cut at sanitising multi-create/new_related etc., a couple things don't work...
Matt S Trout [Wed, 24 Sep 2008 13:12:51 +0000]
first cut at sanitising multi-create/new_related etc., a couple things don't work that -mostly- worked before but what does work is now reliable

15 years agoFAQ patch from Alex, how to make oracle searches case insensitive
Jess Robinson [Mon, 22 Sep 2008 12:35:06 +0000]
FAQ patch from Alex, how to make oracle searches case insensitive

15 years agoMerge 'trunk' into 'warnfree'
Peter Rabbitson [Mon, 22 Sep 2008 01:00:53 +0000]
Merge 'trunk' into 'warnfree'

Blindly silence a weird warning within a TODO in t/47bind_attribute.t. Hopefully when the TODO is resolved, it will be obvious what was causing it
Merge the t/93single_accessor_object.t fix from trunk

15 years agoMake t/93single_accessor_object.t work under DBICTEST_SQLT_DEPLOY=1, although I am...
Peter Rabbitson [Mon, 22 Sep 2008 00:34:54 +0000]
Make t/93single_accessor_object.t work under DBICTEST_SQLT_DEPLOY=1, although I am not quite sure how and why it passed with the stock sqlite.sql

15 years agowarning tests at t/81transactions.t
Peter Rabbitson [Mon, 22 Sep 2008 00:10:14 +0000]
warning tests at t/81transactions.t

15 years agoAdd a test for another expected warning
Peter Rabbitson [Sun, 21 Sep 2008 23:22:23 +0000]
Add a test for another expected warning

15 years agoSQLite is rather peculiar on disconnection as described at http://www.perlmonks.org...
Peter Rabbitson [Sun, 21 Sep 2008 22:37:45 +0000]
SQLite is rather peculiar on disconnection as described at perlmonks.org/?node_id=666210. Add an ugly workaround to Storage::DBI, and add a TODO test to detect if the problem is resolved

15 years agoFix warning due to File::Copy being sloppy
Peter Rabbitson [Sun, 21 Sep 2008 22:35:22 +0000]
Fix warning due to File::Copy being sloppy

15 years agoMove the taint tests to a non-mainstream schema - hopefully this one will not be...
Peter Rabbitson [Sun, 21 Sep 2008 22:34:44 +0000]
Move the taint tests to a non-mainstream schema - hopefully this one will not be disturbed for a while

15 years agoAccomodate postgres being really load on CREATE
Peter Rabbitson [Sun, 21 Sep 2008 22:33:18 +0000]
Accomodate postgres being really load on CREATE

15 years agoUnregister a source before registering it again
Peter Rabbitson [Sun, 21 Sep 2008 22:31:38 +0000]
Unregister a source before registering it again

15 years agoRevert r482[45], by implementing a better version of r4760
Peter Rabbitson [Sun, 21 Sep 2008 17:36:58 +0000]
Revert r482[45], by implementing a better version of r4760

15 years agodelete mention of broken HashRefInflator global
Matt S Trout [Fri, 19 Sep 2008 12:39:47 +0000]
delete mention of broken HashRefInflator global

15 years agoremoved retarded global; if you want this feature, make it a bloody constructor argum...
Matt S Trout [Fri, 19 Sep 2008 12:39:23 +0000]
removed retarded global; if you want this feature, make it a bloody constructor argument, what I'm deleting is -not- DBIC core quality code

15 years agofixup get_from_storage and delete to use original ident
Matt S Trout [Tue, 16 Sep 2008 18:58:25 +0000]
fixup get_from_storage and delete to use original ident

15 years agogetting rid of warns about undefined value for accessor
Wallace Reis [Tue, 16 Sep 2008 13:14:20 +0000]
getting rid of warns about undefined value for accessor

15 years agoAdd myself to CONTRIBUTORS.
Florian Ragwitz [Mon, 15 Sep 2008 19:49:18 +0000]
Add myself to CONTRIBUTORS.

15 years agouse unlike in test to make error report more useful
Matt S Trout [Sat, 13 Sep 2008 16:28:48 +0000]
use unlike in test to make error report more useful

15 years agoConsistent skip messages throughout the test suite (consists of a simple reordering...
Peter Rabbitson [Tue, 9 Sep 2008 22:59:42 +0000]
Consistent skip messages throughout the test suite (consists of a simple reordering of prerequisite eval checks)

15 years agoAlign self-deploying tests with the CD schema changes introduced by r4773
Peter Rabbitson [Tue, 9 Sep 2008 22:56:22 +0000]
Align self-deploying tests with the CD schema changes introduced by r4773

15 years agoFixed wrong field names: cd.cdid -> cd.id, artist.artistid ->
g [Wed, 3 Sep 2008 12:02:52 +0000]
Fixed wrong field names: cd.cdid -> cd.id, artist.artistid ->
artist.id.
Removed use of table aliases in examples.
Fixed redundant & inconsistent brackets on ON clauses in SQL examples.
Added info about multiple joins as well as multi-step joins.
Fixed where 'JOIN' was used instead of 'LEFT JOIN'.

15 years agoAdded doc patches from g about cascade_delete
Jess Robinson [Sun, 31 Aug 2008 12:01:25 +0000]
Added doc patches from g about cascade_delete

15 years agoAdedd TODO test demonstrating $rs->delete failure for file_columns.
Marc Mims [Sun, 31 Aug 2008 01:55:17 +0000]
Adedd TODO test demonstrating $rs->delete failure for file_columns.

15 years agoForgot to modify Changes - looks good to castaway :D
Peter Rabbitson [Thu, 28 Aug 2008 22:16:26 +0000]
Forgot to modify Changes - looks good to castaway :D

15 years agodoh2
Peter Rabbitson [Thu, 28 Aug 2008 16:12:16 +0000]
doh2

15 years agodoh
Matt S Trout [Thu, 28 Aug 2008 15:50:58 +0000]
doh

15 years agoadding contact details per lukes request; added docs on how to get db/schema version
John Goulah [Wed, 27 Aug 2008 14:15:07 +0000]
adding contact details per lukes request; added docs on how to get db/schema version

15 years agofixed braindead typo in docs telling people to use a version of Moose that does not...
John Napiorkowski [Wed, 27 Aug 2008 13:40:07 +0000]
fixed braindead typo in docs telling people to use a version of Moose that does not exist yet

15 years agovirtual method so user can create upgrade path across multiple versions
John Goulah [Tue, 26 Aug 2008 20:43:04 +0000]
virtual method so user can create upgrade path across multiple versions

15 years agofix related resultsets and multi-create
Matt S Trout [Tue, 26 Aug 2008 01:36:09 +0000]
fix related resultsets and multi-create

15 years agoForce on_delete/on_update arguments to upper case for consistency with the rest of...
Peter Rabbitson [Mon, 25 Aug 2008 09:19:10 +0000]
Force on_delete/on_update arguments to upper case for consistency with the rest of SQLT

15 years ago- Allow explicit specification of ON DELETE/ON UPDATE constraints when using the...
Peter Rabbitson [Fri, 22 Aug 2008 12:48:18 +0000]
- Allow explicit specification of ON DELETE/ON UPDATE constraints when using the SQLT parser
- Minor refactor of the parser (needs more work)

15 years agoMultiple HashRefInflator improvements:
Peter Rabbitson [Fri, 22 Aug 2008 12:46:11 +0000]
Multiple HashRefInflator improvements:
- rewrite the inflator logic to work correctly with some weird cases of prefetch
- it is now possible to automatically inflate the leaf values in the resulting hash (via a global variable)
- a simple benchmark script for testing future mk_hash implementations

15 years agoAlign arguments of $schema->deployment_statements() with these of $schema->deploy()
Peter Rabbitson [Thu, 21 Aug 2008 15:24:54 +0000]
Align arguments of $schema->deployment_statements() with these of $schema->deploy()

15 years agoProperly local()ize several $SIG{__WARN__} handlers
Peter Rabbitson [Thu, 21 Aug 2008 15:22:58 +0000]
Properly local()ize several $SIG{__WARN__} handlers

15 years agoAdd metadata about the license and repository used by the code
Tom Hukins [Thu, 14 Aug 2008 16:39:12 +0000]
Add metadata about the license and repository used by the code

15 years agoODBC fixes: superfluous connection in rebless; undef PK on first insert in MSSQL
Marc Mims [Tue, 12 Aug 2008 17:36:14 +0000]
ODBC fixes: superfluous connection in rebless; undef PK on first insert in MSSQL

15 years agoAdd saner warning when non-source classes encountered in schema subdir by load_classes.
Jess Robinson [Tue, 12 Aug 2008 13:14:10 +0000]
Add saner warning when non-source classes encountered in schema subdir by load_classes.
Also skip the broken ones.

15 years agoseparated upgrade statement execution to new method
Luke Saunders [Thu, 7 Aug 2008 18:35:52 +0000]
separated upgrade statement execution to new method

15 years agoproxying new storage method
Luke Saunders [Thu, 7 Aug 2008 15:33:24 +0000]
proxying new storage method

15 years agoreverted back to previous compose_namespace method with minor change
Luke Saunders [Thu, 7 Aug 2008 15:24:40 +0000]
reverted back to previous compose_namespace method with minor change

15 years agofurther simplified compose_namespace
Luke Saunders [Thu, 7 Aug 2008 01:31:51 +0000]
further simplified compose_namespace

15 years agorefactored compose_namepspace
Luke Saunders [Thu, 7 Aug 2008 00:07:20 +0000]
refactored compose_namepspace

15 years agoadded with_deferred_fk_checks functionality to storage
Luke Saunders [Wed, 6 Aug 2008 18:36:01 +0000]
added with_deferred_fk_checks functionality to storage

15 years agofixed failing extra_source test
Luke Saunders [Wed, 6 Aug 2008 18:32:00 +0000]
fixed failing extra_source test

15 years agofixed clone bug
Luke Saunders [Fri, 1 Aug 2008 11:29:34 +0000]
fixed clone bug

15 years agoswitched to just registering extra source rather than removing and reregistering
Luke Saunders [Thu, 31 Jul 2008 18:26:59 +0000]
switched to just registering extra source rather than removing and reregistering

15 years agoadded register_extra_source
Luke Saunders [Thu, 31 Jul 2008 11:15:58 +0000]
added register_extra_source

15 years agouse sub::name to fix compat with moose method modifiers
Guillermo Roditi [Tue, 29 Jul 2008 18:44:01 +0000]
use sub::name to fix compat with moose method modifiers

15 years agoskipped test which relies on module if module isn't present
Luke Saunders [Thu, 24 Jul 2008 09:58:26 +0000]
skipped test which relies on module if module isn't present

15 years agoAdded doc patch about race condition in find_or_create from MNDRIX
Jess Robinson [Thu, 24 Jul 2008 06:58:45 +0000]
Added doc patch about race condition in find_or_create from MNDRIX

15 years agoAdded 98rows_prefetch.t from Christopher Davaz, todo test for prefetch with rows
Jess Robinson [Thu, 24 Jul 2008 06:42:34 +0000]
Added 98rows_prefetch.t from Christopher Davaz, todo test for prefetch with rows

15 years agoincremented version number in prep for dist
Luke Saunders [Thu, 24 Jul 2008 00:19:27 +0000]
incremented version number in prep for dist

15 years agopodcoverage test now requires minimum 0.19 version for Pod::Coverage and changed...
John Napiorkowski [Wed, 23 Jul 2008 22:30:34 +0000]
podcoverage test now requires minimum 0.19 version for Pod::Coverage and changed another bad title in replication

15 years agochanged some replication POD so that we get correctly formatted titles
John Napiorkowski [Wed, 23 Jul 2008 22:21:03 +0000]
changed some replication POD so that we get correctly formatted titles

15 years agoSkipping this unless we have Clone
J. Shirley [Wed, 23 Jul 2008 22:03:08 +0000]
Skipping this unless we have Clone

15 years agomore author requirements
Matt S Trout [Wed, 23 Jul 2008 20:11:13 +0000]
more author requirements

15 years agofix cycle, reformat to 80 cols
Matt S Trout [Wed, 23 Jul 2008 20:09:26 +0000]
fix cycle, reformat to 80 cols

15 years agoreplication tests needs Test::Moose
John Napiorkowski [Wed, 23 Jul 2008 20:09:22 +0000]
replication tests needs Test::Moose

15 years agofix skip
Matt S Trout [Wed, 23 Jul 2008 19:36:53 +0000]
fix skip

15 years agoMerge 'replication_dedux' into 'trunk'
John Napiorkowski [Mon, 21 Jul 2008 21:09:21 +0000]
Merge 'replication_dedux' into 'trunk'

15 years agoAdding datetime_undef_if_invalid to squelch errors on DateTime inflation of bogus...
J. Shirley [Fri, 18 Jul 2008 16:48:10 +0000]
Adding datetime_undef_if_invalid to squelch errors on DateTime inflation of bogus values.

15 years agoupdated CHANGES, removed debug code left by accident, added a bit of POD regarding...
John Napiorkowski [Fri, 18 Jul 2008 14:14:28 +0000]
updated CHANGES, removed debug code left by accident, added a bit of POD regarding the word "replicant"

15 years agoMerge 'trunk' into 'replication_dedux'
John Napiorkowski [Fri, 18 Jul 2008 13:19:10 +0000]
Merge 'trunk' into 'replication_dedux'

r15115@dev (orig r4575):  plu | 2008-07-15 03:36:20 -0500
Skip custom query sources

r15119@dev (orig r4579):  lukes | 2008-07-15 17:13:08 -0500
 r9099@luke-mbp (orig r4573):  lukes | 2008-07-14 13:11:13 +0100
 new branch
 r9100@luke-mbp (orig r4574):  lukes | 2008-07-14 15:01:50 +0100
 reordered methods of Versioned.pm and factored the initialisation stuff from upgrade to install
 r9128@luke-mbp (orig r4576):  lukes | 2008-07-15 23:07:38 +0100
 major versioning doc refactor
 r9129@luke-mbp (orig r4577):  lukes | 2008-07-15 23:11:10 +0100
 removed EXPERIMENTAL notices

r15120@dev (orig r4581):  ash | 2008-07-16 11:41:52 -0500
Update docs re txn_scope_guard
r15158@dev (orig r4590):  groditi | 2008-07-17 15:22:40 -0500
 r20694@martha (orig r4588):  groditi | 2008-07-16 16:17:07 -0400
 _is_deteministic_value

r15159@dev (orig r4591):  groditi | 2008-07-17 15:22:50 -0500
 r20836@martha (orig r4589):  groditi | 2008-07-17 16:21:07 -0400
 Changes and AUTHORS

15 years agoMerge 'complex_join_rels' into 'trunk'
Guillermo Roditi [Thu, 17 Jul 2008 21:21:07 +0000]
Merge 'complex_join_rels' into 'trunk'

15 years agoChanges and AUTHORS
Guillermo Roditi [Thu, 17 Jul 2008 20:21:07 +0000]
Changes and AUTHORS

15 years ago_is_deteministic_value
Guillermo Roditi [Wed, 16 Jul 2008 20:17:07 +0000]
_is_deteministic_value

15 years agoMerge 'trunk' into 'complex_join_rels'
Guillermo Roditi [Wed, 16 Jul 2008 17:35:07 +0000]
Merge 'trunk' into 'complex_join_rels'

r20681@martha (orig r4575):  plu | 2008-07-15 04:36:20 -0400
Skip custom query sources

r20685@martha (orig r4579):  lukes | 2008-07-15 18:13:08 -0400
 r9099@luke-mbp (orig r4573):  lukes | 2008-07-14 13:11:13 +0100
 new branch
 r9100@luke-mbp (orig r4574):  lukes | 2008-07-14 15:01:50 +0100
 reordered methods of Versioned.pm and factored the initialisation stuff from upgrade to install
 r9128@luke-mbp (orig r4576):  lukes | 2008-07-15 23:07:38 +0100
 major versioning doc refactor
 r9129@luke-mbp (orig r4577):  lukes | 2008-07-15 23:11:10 +0100
 removed EXPERIMENTAL notices

r20687@martha (orig r4581):  ash | 2008-07-16 12:41:52 -0400
Update docs re txn_scope_guard

15 years agoUpdate docs re txn_scope_guard
Ash Berlin [Wed, 16 Jul 2008 16:41:52 +0000]
Update docs re txn_scope_guard

15 years agoMerge 'versioning' into 'trunk'
Luke Saunders [Tue, 15 Jul 2008 22:13:08 +0000]
Merge 'versioning' into 'trunk'