13 years agominor changes to table/column comment code
Rafael Kitover [Tue, 2 Aug 2011 10:07:38 +0000]
minor changes to table/column comment code

Updates Changes.

Mentions Oracle support in generate_pod POD in ::Loader::Base.

Adds checking for generic comments via ->next::method in ::DBI::Oracle
as well.

Wraps table/column comment queries for MySQL on information_schema in
try blocks, as not all versions of MySQL have information_schema (5.0+
 do.)

Changes MySQL comment tests to use the new slurp_file util.

Makes the test messages in t/30_*.t more clear.

13 years agogeneric comments mechanism, MySQL specific support
Ben Tilly [Fri, 22 Jul 2011 23:03:34 +0000]
generic comments mechanism, MySQL specific support

Adds support for the table_comments and column_comments tables, which
override the db-specific metadata comment support in ::Loader::DBI.

Documents these tables in ::Loader::Base .

Also adds support for MySQL table and column comments from
information_schema.

13 years agofucking pigs broke my Win32 perl
Rafael Kitover [Mon, 25 Jul 2011 19:28:28 +0000]
fucking pigs broke my Win32 perl

The fucking pigs did something to my Win32 perl so that command line
args with special characters like [] and {} are not parsed correctly.
This problem does not show up for CPAN testers running these tests,
t/23dumpmore.t and t/26dump_use_moose.t .

This commit adds a check for refs in loader options or connect_info in
the t/lib/dbixcsl_dumper_tests.pm test lib, and skips tests on Win32 if
the FUCKING_PIGS environment variable is set.

13 years agosupport alternate line endings
Rafael Kitover [Mon, 25 Jul 2011 13:02:55 +0000]
support alternate line endings

Adds a utility method slurp_file to ::Utils for reading files in UTF-8
and converting the CRLFs or LFs inside to the platform \n. Changes all
uses of File::Slurp::read_file to slurp_file and changes some regexes to
match \r? at line ends.

13 years agofix t/10_11msaccess_common.t on non-Win32
Rafael Kitover [Sun, 24 Jul 2011 17:04:15 +0000]
fix t/10_11msaccess_common.t on non-Win32

Changes a "use Win32::OLE" to a require where needed.

13 years agofix backcompat tests
Rafael Kitover [Sun, 24 Jul 2011 16:30:17 +0000]
fix backcompat tests

Updates the RelBuilder classes to take into account that
->_inflect_singular and ->_inflect_plural return a list instead of a
scalar now.

13 years agoadd quiet option
Rafael Kitover [Sun, 24 Jul 2011 05:23:03 +0000]
add quiet option

Also adds some improvements to the t/lib/dbixcsl_dumper_tests.pm test
library:

- list warnings if warning count doesn't match

- fixes undefined warning if there are more expected warnings than
  received warnings

13 years agomake $schema->loader a public method
Rafael Kitover [Sat, 23 Jul 2011 18:15:44 +0000]
make $schema->loader a public method

Also adds some TODO entries, adds Task::Weaken to dependencies and
removes a duplicate dependency on List::MoreUtils.

13 years agoRemoving these files from master because they are not for the next release.
Ben Tilly [Sat, 9 Jul 2011 19:19:03 +0000]
Removing these files from master because they are not for the next release.

I will recreate them on a branch, as I originally intended to.

13 years agoAdd failing test for feature I want.
Ben Tilly [Thu, 7 Jul 2011 23:46:55 +0000]
Add failing test for feature I want.

13 years agoadd schema_components option
Rafael Kitover [Tue, 5 Jul 2011 09:30:55 +0000]
add schema_components option

13 years agosort relationships
Rafael Kitover [Tue, 5 Jul 2011 08:00:05 +0000]
sort relationships

13 years agobetter option validation for result_component_map, result_role_map and rel_collision_map
Rafael Kitover [Fri, 3 Jun 2011 21:24:55 +0000]
better option validation for result_component_map, result_role_map and rel_collision_map

13 years agoadd handle for Ben Tilly in CONTRIBUTORS
Rafael Kitover [Tue, 14 Jun 2011 14:53:55 +0000]
add handle for Ben Tilly in CONTRIBUTORS

13 years agoadd rel_name_map option
Rafael Kitover [Tue, 14 Jun 2011 04:37:54 +0000]
add rel_name_map option

13 years agofix syntax error in common tests
Rafael Kitover [Fri, 10 Jun 2011 17:37:16 +0000]
fix syntax error in common tests

13 years agofix the decimal data type for MS Access over ODBC
Rafael Kitover [Fri, 10 Jun 2011 16:54:56 +0000]
fix the decimal data type for MS Access over ODBC

13 years agohandle MySQL enums/sets containing elements with single quotes
Rafael Kitover [Fri, 10 Jun 2011 14:24:08 +0000]
handle MySQL enums/sets containing elements with single quotes

13 years agoanother enum test for MySQL
Rafael Kitover [Fri, 10 Jun 2011 10:52:55 +0000]
another enum test for MySQL

13 years agofix enum/set detection for MySQL (RT#68717)
Rafael Kitover [Fri, 10 Jun 2011 04:55:58 +0000]
fix enum/set detection for MySQL (RT#68717)

13 years agodocument dumping a remote host
Caleb Cushing [Thu, 9 Jun 2011 21:07:20 +0000]
document dumping a remote host

Signed-off-by: Caleb Cushing <xenoterracide@gmail.com>

13 years agofix is_nullable detection on MS Access
Rafael Kitover [Thu, 9 Jun 2011 13:44:50 +0000]
fix is_nullable detection on MS Access

13 years agofix POD for scalarref tables
Rafael Kitover [Tue, 7 Jun 2011 08:44:02 +0000]
fix POD for scalarref tables

13 years agofix backcompat tests
Rafael Kitover [Tue, 7 Jun 2011 07:55:46 +0000]
fix backcompat tests

13 years agofix uniq_to_primary test on DB2 and SQLAnywhere
Rafael Kitover [Tue, 7 Jun 2011 07:49:52 +0000]
fix uniq_to_primary test on DB2 and SQLAnywhere

13 years agoimprove uniq_to_primary test
Rafael Kitover [Tue, 7 Jun 2011 06:02:22 +0000]
improve uniq_to_primary test

13 years agoonly promote uniqs with non-nullable columns to pks
Rafael Kitover [Mon, 6 Jun 2011 10:37:11 +0000]
only promote uniqs with non-nullable columns to pks

13 years agorun col_accessor_map tests with skip_rels too
Rafael Kitover [Fri, 3 Jun 2011 20:22:35 +0000]
run col_accessor_map tests with skip_rels too

13 years agoupdate Changes
Rafael Kitover [Wed, 1 Jun 2011 04:43:25 +0000]
update Changes

13 years agofix test counts, cleanup new test table
Rafael Kitover [Mon, 30 May 2011 20:05:15 +0000]
fix test counts, cleanup new test table

13 years agoadded uniq_to_primary option to promote unique keys to primary keys (RT#25944)
Rafael Kitover [Mon, 30 May 2011 15:29:23 +0000]
added uniq_to_primary option to promote unique keys to primary keys (RT#25944)

13 years agoreset _uniqs_started for POD on rescan
Rafael Kitover [Mon, 30 May 2011 14:23:26 +0000]
reset _uniqs_started for POD on rescan

13 years agogenerate POD for unique constraints, set_primary_key and table
Rafael Kitover [Mon, 30 May 2011 14:08:11 +0000]
generate POD for unique constraints, set_primary_key and table

13 years agofix t/backcompat/0.04006/23dumpmore.t
Rafael Kitover [Sun, 29 May 2011 21:12:04 +0000]
fix t/backcompat/0.04006/23dumpmore.t

13 years agofix Oracle
Rafael Kitover [Sun, 29 May 2011 20:38:50 +0000]
fix Oracle

13 years agofix t/23dumpmore.t
Rafael Kitover [Sun, 29 May 2011 20:36:12 +0000]
fix t/23dumpmore.t

13 years agosupport arrayrefs for result_namespace and resultset_namespace (RT#40214)
Rafael Kitover [Sun, 29 May 2011 15:49:47 +0000]
support arrayrefs for result_namespace and resultset_namespace (RT#40214)

13 years agofix clasing test dbs
Rafael Kitover [Sun, 29 May 2011 13:34:35 +0000]
fix clasing test dbs

13 years agofixup POD
Rafael Kitover [Sat, 28 May 2011 20:20:36 +0000]
fixup POD

13 years agoadd more naming options
Rafael Kitover [Sat, 28 May 2011 15:04:23 +0000]
add more naming options

13 years agofix warning, fix test counts
Rafael Kitover [Sat, 28 May 2011 01:46:05 +0000]
fix warning, fix test counts

13 years agorun the preserve rel name test on MySQL too
Rafael Kitover [Sat, 28 May 2011 00:40:42 +0000]
run the preserve rel name test on MySQL too

13 years agosupport quoted PostgreSQL schema names with special chars (RT#64766)
Rafael Kitover [Fri, 27 May 2011 14:50:17 +0000]
support quoted PostgreSQL schema names with special chars (RT#64766)

13 years agoautomatically turn on quoting for MySQL (RT#60469)
Rafael Kitover [Thu, 26 May 2011 20:54:46 +0000]
automatically turn on quoting for MySQL (RT#60469)

13 years agobecome utf8-aware (RT#67920)
Rafael Kitover [Thu, 26 May 2011 19:50:56 +0000]
become utf8-aware (RT#67920)

13 years agocheck for relname accessor collisions on duplicate disambiguation
Rafael Kitover [Thu, 26 May 2011 13:48:08 +0000]
check for relname accessor collisions on duplicate disambiguation

13 years agoworkaround for common tests for MySQL on Win32
Rafael Kitover [Thu, 26 May 2011 04:26:12 +0000]
workaround for common tests for MySQL on Win32

13 years agohandle duplicate relationship names (RT#64041)
Rafael Kitover [Wed, 18 May 2011 02:24:16 +0000]
handle duplicate relationship names (RT#64041)

13 years agoRevert "set cascade_update => 0 on might_have relationships"
Rafael Kitover [Tue, 24 May 2011 15:24:33 +0000]
Revert "set cascade_update => 0 on might_have relationships"

This reverts commit 9b1dd93554ec8f70923940e2ae88e2e0260d0b55.

13 years agoset cascade_update => 0 on might_have relationships
Rafael Kitover [Tue, 24 May 2011 15:15:28 +0000]
set cascade_update => 0 on might_have relationships

13 years agochange a couple references in Base POD to links
Rafael Kitover [Fri, 20 May 2011 10:26:44 +0000]
change a couple references in Base POD to links

13 years agoFixed typo in S::L::Base POD
Mark A. Stratman [Thu, 19 May 2011 14:46:51 +0000]
Fixed typo in S::L::Base POD

13 years agoadd asterisks to items in POD class lists
Rafael Kitover [Wed, 18 May 2011 02:30:05 +0000]
add asterisks to items in POD class lists

13 years agogenerate POD for result_base_class as well
Rafael Kitover [Tue, 17 May 2011 21:02:24 +0000]
generate POD for result_base_class as well

13 years agogenerate POD for additional_classes, additional_base_classes, left_base_classes,...
Rafael Kitover [Tue, 17 May 2011 20:34:38 +0000]
generate POD for additional_classes, additional_base_classes, left_base_classes, components, result_components_map, result_roles and result_roles_map

13 years agomove roles to the end of the generated class so that "requires" works with columns...
Rafael Kitover [Tue, 17 May 2011 18:59:41 +0000]
move roles to the end of the generated class so that "requires" works with columns/rels

13 years agoadd an extra symbol to the rt59849 test
Rafael Kitover [Tue, 17 May 2011 18:43:19 +0000]
add an extra symbol to the rt59849 test

13 years agofix CONTRIBUTORS
Rafael Kitover [Tue, 17 May 2011 18:41:01 +0000]
fix CONTRIBUTORS

13 years agosupport ->use_namespaces(0) in Loader.pm, fix tests for new dynamic schema behavior
Rafael Kitover [Mon, 16 May 2011 14:44:12 +0000]
support ->use_namespaces(0) in Loader.pm, fix tests for new dynamic schema behavior

13 years agologic fail in naming_set check
Rafael Kitover [Mon, 16 May 2011 13:50:14 +0000]
logic fail in naming_set check

13 years agonaming_set went into the readonly accessor group by accident, fixed
Rafael Kitover [Mon, 16 May 2011 13:21:56 +0000]
naming_set went into the readonly accessor group by accident, fixed

13 years agoonly set use_namespaces=1 if naming is set for dynamic schemas
Rafael Kitover [Mon, 16 May 2011 13:13:04 +0000]
only set use_namespaces=1 if naming is set for dynamic schemas

13 years agoadded result_roles and result_roles_map options, fixed a bug with accessor collision...
Mark A. Stratman [Fri, 13 May 2011 17:57:42 +0000]
added result_roles and result_roles_map options, fixed a bug with accessor collision detection from result_components_map components, fixed some common tests

13 years agorename t/50addl_base_classes.t from Mark Hedges to t/50rt59849.t
Rafael Kitover [Mon, 16 May 2011 09:34:07 +0000]
rename t/50addl_base_classes.t from Mark Hedges to t/50rt59849.t

13 years agohandle "use warnings FATAL => 'all' and set use_namespaces=1 for dynamic schemas...
Rafael Kitover [Mon, 16 May 2011 08:00:38 +0000]
handle "use warnings FATAL => 'all' and set use_namespaces=1 for dynamic schemas not in backcompat mode (RT#59849)

13 years agofix mysql rel detection for mixed-case tables on mixed-case filesystems
Rafael Kitover [Thu, 12 May 2011 09:48:29 +0000]
fix mysql rel detection for mixed-case tables on mixed-case filesystems

13 years agosupport for unicode Firebird data types
Rafael Kitover [Thu, 21 Apr 2011 02:22:39 +0000]
support for unicode Firebird data types

13 years agomove Firebird ODBC driver ->type_info override into driver
Rafael Kitover [Wed, 20 Apr 2011 14:54:58 +0000]
move Firebird ODBC driver ->type_info override into driver

13 years ago->type_info fix for buggy Firebird ODBC driver
Rafael Kitover [Wed, 20 Apr 2011 14:45:41 +0000]
->type_info fix for buggy Firebird ODBC driver

13 years agobump MooseX::NonMoose dep up to 0.16
Rafael Kitover [Thu, 14 Apr 2011 03:02:14 +0000]
bump MooseX::NonMoose dep up to 0.16

13 years agoremove Class::Load dependency
Rafael Kitover [Wed, 13 Apr 2011 09:17:18 +0000]
remove Class::Load dependency

13 years agouse sprintf for floating point comparisons in common tests
Rafael Kitover [Wed, 13 Apr 2011 08:38:16 +0000]
use sprintf for floating point comparisons in common tests

13 years agosupport for DBD::Firebird
Rafael Kitover [Sat, 9 Apr 2011 20:12:49 +0000]
support for DBD::Firebird

13 years agoremove special case for 'meta' method in col accessor collision checks
Rafael Kitover [Tue, 29 Mar 2011 00:01:05 +0000]
remove special case for 'meta' method in col accessor collision checks

13 years agoinitialize result_component_map to empty hash if unset 0.07010
Rafael Kitover [Fri, 4 Mar 2011 09:07:56 +0000]
initialize result_component_map to empty hash if unset

13 years agorelease 0.07010
Rafael Kitover [Fri, 4 Mar 2011 08:27:24 +0000]
release 0.07010

13 years agosupport for fully-qualified components in result_component_map and tests
Rafael Kitover [Fri, 4 Mar 2011 08:25:26 +0000]
support for fully-qualified components in result_component_map and tests

13 years agoAdded result_component_map option to Schema::Loader::Base
Mark A. Stratman [Tue, 1 Mar 2011 22:10:10 +0000]
Added result_component_map option to Schema::Loader::Base

13 years agobump up Class::C3::Componentised dep 0.07009
Rafael Kitover [Fri, 25 Feb 2011 11:13:03 +0000]
bump up Class::C3::Componentised dep

13 years agorelease 0.07009
Rafael Kitover [Fri, 25 Feb 2011 11:07:30 +0000]
release 0.07009

13 years agofix a syntax error in MS Access ADO driver
Rafael Kitover [Fri, 25 Feb 2011 11:02:44 +0000]
fix a syntax error in MS Access ADO driver

13 years agorelease 0.07008 0.07008
Rafael Kitover [Fri, 25 Feb 2011 01:55:22 +0000]
release 0.07008

13 years agofix up Informix data types
Rafael Kitover [Fri, 25 Feb 2011 01:45:14 +0000]
fix up Informix data types

13 years agosupport MSSQL over DBD::ADO
Rafael Kitover [Fri, 18 Feb 2011 09:05:33 +0000]
support MSSQL over DBD::ADO

13 years agoMS Access support over DBD::ODBC and DBD::ADO
Rafael Kitover [Thu, 17 Feb 2011 14:44:15 +0000]
MS Access support over DBD::ODBC and DBD::ADO

13 years agorename vendor tests
Rafael Kitover [Tue, 15 Feb 2011 18:14:32 +0000]
rename vendor tests

13 years agoadd Windows example to dbicdump doc
Rafael Kitover [Sat, 19 Feb 2011 16:26:58 +0000]
add Windows example to dbicdump doc

13 years agoadd link to dbicdump in ::Loader docs
Rafael Kitover [Sat, 19 Feb 2011 16:15:42 +0000]
add link to dbicdump in ::Loader docs

13 years agorename column_accessor_map -> col_accessor_map
Rafael Kitover [Sat, 19 Feb 2011 11:38:54 +0000]
rename column_accessor_map -> col_accessor_map

13 years agorelease 0.07007 0.07007
Rafael Kitover [Tue, 15 Feb 2011 10:01:06 +0000]
release 0.07007

13 years agoMSSQL data type fixes for native client and EasySoft driver
Rafael Kitover [Tue, 15 Feb 2011 09:40:40 +0000]
MSSQL data type fixes for native client and EasySoft driver

13 years agobump DBIC dep to 0.08127
Rafael Kitover [Wed, 2 Feb 2011 13:24:22 +0000]
bump DBIC dep to 0.08127

13 years agorelease 0.07006 0.07006
Rafael Kitover [Tue, 1 Feb 2011 02:19:04 +0000]
release 0.07006

13 years agoupdate Changes, namespace::clean dep
Rafael Kitover [Wed, 26 Jan 2011 23:14:25 +0000]
update Changes, namespace::clean dep

13 years agoturn relbuilder temp class cleanup back on, use Class::Inspector->loaded to check...
Rafael Kitover [Wed, 26 Jan 2011 22:58:21 +0000]
turn relbuilder temp class cleanup back on, use Class::Inspector->loaded to check for class existance

13 years agorelease 0.07005 0.07005
Rafael Kitover [Tue, 25 Jan 2011 23:28:09 +0000]
release 0.07005

13 years agosupport extra connect_info options like quote_char for dbicdump
Rafael Kitover [Tue, 25 Jan 2011 23:05:17 +0000]
support extra connect_info options like quote_char for dbicdump

13 years agofix breakage on perl 5.8.x related to unloading temporary classes
Rafael Kitover [Tue, 25 Jan 2011 17:47:38 +0000]
fix breakage on perl 5.8.x related to unloading temporary classes

13 years agorelease 0.07004 0.07004
Rafael Kitover [Mon, 24 Jan 2011 03:43:39 +0000]
release 0.07004

13 years agofix bug with result class methods being cached on in a closure instead of the object...
Rafael Kitover [Sat, 22 Jan 2011 15:22:10 +0000]
fix bug with result class methods being cached on in a closure instead of the object, which breaks for multiple dynamic schemas in a single perl instance