12 years agoBoth of these are pre 5.8 coredeps
Peter Rabbitson [Sun, 23 Sep 2012 16:12:15 +0000]
Both of these are pre 5.8 coredeps

12 years agoMoo port makes both of these no longer needed
Peter Rabbitson [Sun, 23 Sep 2012 16:11:48 +0000]
Moo port makes both of these no longer needed

12 years agoRemove SQL::Translator::Schema::Graph as announced in 0.11011
Peter Rabbitson [Sun, 23 Sep 2012 16:09:34 +0000]
Remove SQL::Translator::Schema::Graph as announced in 0.11011

12 years agoRemove old dist tarball which snuck in during a14ab50e
Peter Rabbitson [Sun, 23 Sep 2012 16:02:03 +0000]
Remove old dist tarball which snuck in during a14ab50e

12 years agorelease v0.11013_02 v0.11013_02
Arthur Axel 'fREW' Schmidt [Sun, 23 Sep 2012 15:15:42 +0000]
release v0.11013_02

12 years agoAdd missing List::MoreUtils dep
Dagfinn Ilmari Mannsåker [Sun, 23 Sep 2012 14:55:34 +0000]
Add missing List::MoreUtils dep

12 years agorelease 0.11013_01 v0.11013_01
Arthur Axel 'fREW' Schmidt [Sat, 22 Sep 2012 16:59:14 +0000]
release 0.11013_01

12 years agoMake read-only SQLT::Schema::Table attributes carp instead of die
Dagfinn Ilmari Mannsåker [Wed, 19 Sep 2012 09:43:32 +0000]
Make read-only SQLT::Schema::Table attributes carp instead of die

12 years agoAdd carping wrapper to SQL::Translator->schema as well
Dagfinn Ilmari Mannsåker [Mon, 17 Sep 2012 22:47:12 +0000]
Add carping wrapper to SQL::Translator->schema as well

12 years agoCarp instead of dying if arguments are passed to read-only accessors
Dagfinn Ilmari Mannsåker [Thu, 30 Aug 2012 23:31:14 +0000]
Carp instead of dying if arguments are passed to read-only accessors

12 years agoAdd Changes entries for mooification and leak fix
Dagfinn Ilmari Mannsåker [Fri, 17 Aug 2012 14:20:01 +0000]
Add Changes entries for mooification and leak fix

12 years agoAdd enum type
Dagfinn Ilmari Mannsåker [Wed, 15 Aug 2012 22:15:07 +0000]
Add enum type

12 years agoDocument new roles, types and utility functions
Dagfinn Ilmari Mannsåker [Fri, 17 Aug 2012 13:06:42 +0000]
Document new roles, types and utility functions

12 years agoWrap some over-log has statements
Dagfinn Ilmari Mannsåker [Thu, 16 Aug 2012 15:10:41 +0000]
Wrap some over-log has statements

12 years agoUse quote_sub for trivial coercions
Dagfinn Ilmari Mannsåker [Thu, 16 Aug 2012 13:55:49 +0000]
Use quote_sub for trivial coercions

12 years agoCheck Moo version at runtime
Dagfinn Ilmari Mannsåker [Thu, 16 Aug 2012 13:21:44 +0000]
Check Moo version at runtime

12 years agoUse quote_sub for trivial defaults
Dagfinn Ilmari Mannsåker [Wed, 15 Aug 2012 16:39:19 +0000]
Use quote_sub for trivial defaults

12 years agoFactor list attributes into variant role
Dagfinn Ilmari Mannsåker [Wed, 15 Aug 2012 15:57:39 +0000]
Factor list attributes into variant role

12 years agoMooify SQL::Translator
Dagfinn Ilmari Mannsåker [Tue, 14 Aug 2012 11:51:02 +0000]
Mooify SQL::Translator

12 years agoFix broken reset attempt
Dagfinn Ilmari Mannsåker [Tue, 14 Aug 2012 11:46:19 +0000]
Fix broken reset attempt

12 years agoMake SQLT::Role::Error internals closer to Class::Base
Dagfinn Ilmari Mannsåker [Tue, 14 Aug 2012 11:47:49 +0000]
Make SQLT::Role::Error internals closer to Class::Base

12 years agoReinstate schema object base class
Dagfinn Ilmari Mannsåker [Fri, 17 Aug 2012 13:07:45 +0000]
Reinstate schema object base class

This class consumes the roles common to all the schema classes, and
maintains backwards compatibilty for DarkPAN code checking
$obj->isa('SQL::Translator::Schema::Object').

12 years agoRename non-schema-specific roles to SQLT::Role::Foo
Dagfinn Ilmari Mannsåker [Tue, 14 Aug 2012 09:56:53 +0000]
Rename non-schema-specific roles to SQLT::Role::Foo

12 years agoUse weak refs for schema object attributes
Dagfinn Ilmari Mannsåker [Wed, 8 Aug 2012 19:27:06 +0000]
Use weak refs for schema object attributes

This fixes the leaks that the destructors removed in the previous commit
were ineffectually trying to fix.

Bump the Moo prereq for fixed return value of weak_ref setters.

12 years agoRemove pointless DESTROY methods
Dagfinn Ilmari Mannsåker [Wed, 8 Aug 2012 18:41:32 +0000]
Remove pointless DESTROY methods

You can't break circular references in the destructor when those very
references keep the destructor from beeing called in the first place.

12 years agoRemove unused variables and module import
Dagfinn Ilmari Mannsåker [Wed, 8 Aug 2012 12:01:41 +0000]
Remove unused variables and module import

12 years agoFilter undef from all constructor args
Dagfinn Ilmari Mannsåker [Sat, 4 Aug 2012 17:44:41 +0000]
Filter undef from all constructor args

This was the old behaviour, but only Field and Constraint seemed
to require it in the tests.  Better put it back anyway.

12 years agoRemove unused base class
Dagfinn Ilmari Mannsåker [Sat, 4 Aug 2012 17:39:56 +0000]
Remove unused base class

12 years agoMooify SQLT::Schema::Field
Dagfinn Ilmari Mannsåker [Sat, 4 Aug 2012 17:32:16 +0000]
Mooify SQLT::Schema::Field

This changes the default of ->is_nullable to actually respect
->is_primary_key in all cases, which it wasn't doing, and the MySQL
producer test was relying on, so fix that too.

12 years agoMooify SQLT::Schema::Constraint
Dagfinn Ilmari Mannsåker [Wed, 1 Aug 2012 14:48:43 +0000]
Mooify SQLT::Schema::Constraint

12 years agoMooify SQLT::Schema::Trigger
Dagfinn Ilmari Mannsåker [Wed, 1 Aug 2012 00:59:19 +0000]
Mooify SQLT::Schema::Trigger

12 years agoMooify SQLT::Schema::View
Dagfinn Ilmari Mannsåker [Tue, 31 Jul 2012 23:42:02 +0000]
Mooify SQLT::Schema::View

12 years agoMooify SQLT::Schema::Procedure
Dagfinn Ilmari Mannsåker [Tue, 31 Jul 2012 23:23:19 +0000]
Mooify SQLT::Schema::Procedure

12 years agoMooify SQLT::Schema::Table
Dagfinn Ilmari Mannsåker [Tue, 31 Jul 2012 23:08:15 +0000]
Mooify SQLT::Schema::Table

12 years agoUse 'isa' checks for attribute validation
Dagfinn Ilmari Mannsåker [Tue, 31 Jul 2012 22:52:14 +0000]
Use 'isa' checks for attribute validation

To maintain compatibility with the existing set-error-and-return-undef
API, we must jump through some hoops:

  1) Throw an object that won't be mangled by Moo's isa error prefixing
  2) Wrap things that might throw that to set ->error and return undef
  3) Store errors in the class when there is no object (i.e. ->new)

12 years agoMooify SQLT::Schema::Index
Dagfinn Ilmari Mannsåker [Tue, 31 Jul 2012 17:47:58 +0000]
Mooify SQLT::Schema::Index

12 years agoMooify SQLT::Schema
Dagfinn Ilmari Mannsåker [Tue, 31 Jul 2012 17:53:45 +0000]
Mooify SQLT::Schema

12 years agorelease 0.11013 v0.11013
Arthur Axel 'fREW' Schmidt [Sat, 22 Sep 2012 16:46:41 +0000]
release 0.11013

12 years agofix a test broken by ad071409cb8f526337abbe025a63aa1e67716165
Arthur Axel 'fREW' Schmidt [Sat, 22 Sep 2012 16:41:52 +0000]
fix a test broken by ad071409cb8f526337abbe025a63aa1e67716165

12 years agoMake MySQL producer add NULL for every nullable field
André Walker [Thu, 6 Sep 2012 14:34:39 +0000]
Make MySQL producer add NULL for every nullable field

If the field is nullable, but it isn't followed by the NULL keyword,
MySQL can not accept the field definition in some specific cases.

12 years agoRevert "Adding DECIMAL_DIGITS to SQLServer size field for scale info: http://msdn...
Jonathan C. Otsuka [Sat, 18 Aug 2012 13:51:24 +0000]
Revert "Adding DECIMAL_DIGITS to SQLServer size field for scale info: msdn.microsoft.com/en-us/library/aa258832(v=sql.80).aspx"

This reverts commit 7d970ab2f075db388df497e896510a971000b8ad.

12 years agoAdding DECIMAL_DIGITS to SQLServer size field for scale info: http://msdn.microsoft...
Jonathan C. Otsuka [Sat, 18 Aug 2012 00:16:04 +0000]
Adding DECIMAL_DIGITS to SQLServer size field for scale info: msdn.microsoft.com/en-us/library/aa258832(v=sql.80).aspx

12 years agoIgnore editor droppings
Dagfinn Ilmari Mannsåker [Tue, 31 Jul 2012 11:06:46 +0000]
Ignore editor droppings

12 years agoRelease 0.11012 v0.11012
Arthur Axel 'fREW' Schmidt [Mon, 2 Jul 2012 21:12:54 +0000]
Release 0.11012

12 years agoaddress some issues with Pg producer and quoting
Justin Hunter [Tue, 26 Jun 2012 18:30:04 +0000]
address some issues with Pg producer and quoting

12 years agoAdd missing quote function to SQLServer producer
Arthur Axel 'fREW' Schmidt [Mon, 21 May 2012 19:49:37 +0000]
Add missing quote function to SQLServer producer

12 years agoFixor borked docs (we already test for this in t/66-postgres-dbi-parser.t)
Peter Rabbitson [Thu, 10 May 2012 06:42:23 +0000]
Fixor borked docs (we already test for this in t/66-postgres-dbi-parser.t)

12 years agoFINALLY A RELEASE! v0.11011
Arthur Axel 'fREW' Schmidt [Thu, 10 May 2012 00:42:54 +0000]
FINALLY A RELEASE!

12 years agoMoar documentation, shape up license/copyright notices
Peter Rabbitson [Wed, 9 May 2012 06:20:25 +0000]
Moar documentation, shape up license/copyright notices

12 years agoThis seems to no longer be used anywhere...?
Peter Rabbitson [Wed, 9 May 2012 05:45:06 +0000]
This seems to no longer be used anywhere...?

12 years agoResurrect the DB2 precompiled grammar to which we lost the source
Peter Rabbitson [Wed, 9 May 2012 06:39:18 +0000]
Resurrect the DB2 precompiled grammar to which we lost the source
While this is not optimal, at least things will somewhat work
Khisanth is writing a replacement

12 years agoHide deprecated stuff
Peter Rabbitson [Wed, 9 May 2012 05:25:45 +0000]
Hide deprecated stuff

12 years agofix excepted and scalarref quoting for DEFAULTS in SQLite (and SQL Server)
Arthur Axel 'fREW' Schmidt [Mon, 30 Apr 2012 16:03:31 +0000]
fix excepted and scalarref quoting for DEFAULTS in SQLite (and SQL Server)

12 years agofix sizeless types and typemap for SQLite
Arthur Axel 'fREW' Schmidt [Mon, 30 Apr 2012 14:50:02 +0000]
fix sizeless types and typemap for SQLite

12 years agofix list of numeric types for SQLite
Arthur Axel 'fREW' Schmidt [Mon, 30 Apr 2012 14:45:04 +0000]
fix list of numeric types for SQLite

See http://www.sqlite.org/datatype3.html

12 years agoassign copyright to my new files
Arthur Axel 'fREW' Schmidt [Tue, 1 May 2012 13:01:58 +0000]
assign copyright to my new files

12 years agoFix broken plan
Peter Rabbitson [Sat, 28 Apr 2012 06:09:39 +0000]
Fix broken plan

12 years agoAdd Jess as authority for new namespaces
Peter Rabbitson [Sat, 28 Apr 2012 03:59:38 +0000]
Add Jess as authority for new namespaces

12 years agoAdded "tables" and "options" methods to Schema::View
Ken Youens-Clark [Tue, 28 Feb 2012 22:11:29 +0000]
Added "tables" and "options" methods to Schema::View

Updated MySQL parser tests

12 years agoSome aesthetic changes
Ken Youens-Clark [Tue, 28 Feb 2012 22:11:29 +0000]
Some aesthetic changes

12 years agoMySQL Parser now handles views more completely
Ken Youens-Clark [Mon, 27 Feb 2012 17:48:21 +0000]
MySQL Parser now handles views more completely

12 years agosqlt-graph now has a --trace option.
Ken Youens-Clark [Mon, 27 Feb 2012 17:48:21 +0000]
sqlt-graph now has a --trace option.

12 years agoadd support for "DEFAULT (\d+)::data_type" in PostgreSQL Parser
Tina Mueller [Sat, 28 Apr 2012 01:31:49 +0000]
add support for "DEFAULT (\d+)::data_type" in PostgreSQL Parser

12 years agoFix silly syntax error, introduced in 0c04c5a22
Peter Rabbitson [Sat, 28 Apr 2012 02:09:52 +0000]
Fix silly syntax error, introduced in 0c04c5a22

12 years agoStop the DBI parser from disconnecting externally supplied DBI handles
Peter Rabbitson [Sat, 28 Apr 2012 02:01:33 +0000]
Stop the DBI parser from disconnecting externally supplied DBI handles

12 years agoSwitch to sane subcommand launch in tests
Peter Rabbitson [Sat, 28 Apr 2012 01:12:15 +0000]
Switch to sane subcommand launch in tests

12 years agoHonor supplied field order when adding fields to a table object
Jonathan Otsuka [Wed, 8 Feb 2012 05:32:27 +0000]
Honor supplied field order when adding fields to a table object

12 years agoDependency cleanup
Peter Rabbitson [Sat, 28 Apr 2012 00:26:10 +0000]
Dependency cleanup

12 years agoIncomplete revert in 0eb3b94a5
Peter Rabbitson [Fri, 27 Apr 2012 14:48:53 +0000]
Incomplete revert in 0eb3b94a5

12 years agoSilence prove -w warnings
Peter Rabbitson [Fri, 27 Apr 2012 14:42:08 +0000]
Silence prove -w warnings

12 years agoDefault SQLite quoting to off until we are capable of disabling it everywhere
Arthur Axel 'fREW' Schmidt [Wed, 22 Feb 2012 02:15:42 +0000]
Default SQLite quoting to off until we are capable of disabling it everywhere

Currently the diffing routines are either "always on" or "always off" with
no ability to pass around a setting (they are all class methods, never
looking at the $translator object). Until we can allow a user to say
quote_identifiers => 0, and not have to change any of the old tests, it
makes little sense to change the default.

12 years agosetting the quote accessors separately no longer makes sense
Arthur Axel 'fREW' Schmidt [Wed, 22 Feb 2012 02:12:21 +0000]
setting the quote accessors separately no longer makes sense

12 years agofix for when we are adding /dropping columns in sqlite and need to roundtrip via...
John Napiorkowski [Fri, 17 Feb 2012 17:02:47 +0000]
fix for when we are adding /dropping columns in sqlite and need to roundtrip via a temp table

12 years agoBack out bdf60588b to disable P::RD grammar precompilation - until P::RD is fixed
Peter Rabbitson [Tue, 7 Feb 2012 10:53:34 +0000]
Back out bdf60588b to disable P::RD grammar precompilation - until P::RD is fixed

While renewed activity on P::RD is great, the downside is that
incompatible changes were introduced which render precompiled
grammars useless. Furthermore since things are currently in the
air it is very likely things will change yet again, hence just
disable the whole thing for the time being. Reference RT#74593

12 years agoMerge branch 'people/frew/mega-refactor'
Peter Rabbitson [Sat, 4 Feb 2012 21:06:03 +0000]
Merge branch 'people/frew/mega-refactor'

12 years agomigrate duplicated code into role
Arthur Axel 'fREW' Schmidt [Wed, 25 Jan 2012 02:13:46 +0000]
migrate duplicated code into role

12 years agolazify things
Arthur Axel 'fREW' Schmidt [Wed, 25 Jan 2012 02:02:37 +0000]
lazify things

12 years agobetter
Arthur Axel 'fREW' Schmidt [Tue, 24 Jan 2012 23:47:32 +0000]
better

12 years agomigrate almost all code to Generator::Role::DDL
Arthur Axel 'fREW' Schmidt [Fri, 11 Mar 2011 04:05:20 +0000]
migrate almost all code to Generator::Role::DDL

12 years agoadd unique_constraints_multiple and indices
Arthur Axel 'fREW' Schmidt [Fri, 11 Mar 2011 03:58:25 +0000]
add unique_constraints_multiple and indices

12 years agoadd foreign_key_constraints
Arthur Axel 'fREW' Schmidt [Fri, 11 Mar 2011 03:53:09 +0000]
add foreign_key_constraints

12 years agoadd table_comments
Arthur Axel 'fREW' Schmidt [Fri, 11 Mar 2011 02:53:53 +0000]
add table_comments

12 years agoadd header_comment
Arthur Axel 'fREW' Schmidt [Fri, 11 Mar 2011 02:53:29 +0000]
add header_comment

12 years agoadd drop_tables method
Arthur Axel 'fREW' Schmidt [Fri, 11 Mar 2011 02:44:25 +0000]
add drop_tables method

12 years agorefactor table into more methods
Arthur Axel 'fREW' Schmidt [Fri, 11 Mar 2011 02:44:10 +0000]
refactor table into more methods

12 years agoless accumulators more reduction
Arthur Axel 'fREW' Schmidt [Thu, 10 Mar 2011 04:14:01 +0000]
less accumulators more reduction

12 years agoadd remove_table_constraints to future
Arthur Axel 'fREW' Schmidt [Thu, 10 Mar 2011 04:11:43 +0000]
add remove_table_constraints to future

12 years agodead
Arthur Axel 'fREW' Schmidt [Thu, 10 Mar 2011 04:01:59 +0000]
dead

12 years agomigrate drop_table to future
Arthur Axel 'fREW' Schmidt [Thu, 10 Mar 2011 04:01:51 +0000]
migrate drop_table to future

12 years agorearrange pod
Arthur Axel 'fREW' Schmidt [Thu, 10 Mar 2011 03:54:29 +0000]
rearrange pod

12 years agodelete dead code
Arthur Axel 'fREW' Schmidt [Thu, 10 Mar 2011 03:49:18 +0000]
delete dead code

12 years agomigrate table to Generator::Role::DDL
Arthur Axel 'fREW' Schmidt [Thu, 10 Mar 2011 03:49:33 +0000]
migrate table to Generator::Role::DDL

12 years agoless accumulators more reduction
Arthur Axel 'fREW' Schmidt [Thu, 10 Mar 2011 03:37:08 +0000]
less accumulators more reduction

12 years agoadd enum_constraint
Arthur Axel 'fREW' Schmidt [Thu, 10 Mar 2011 01:38:11 +0000]
add enum_constraint

12 years agoadd foreign_key_constraint
Arthur Axel 'fREW' Schmidt [Tue, 8 Mar 2011 05:15:48 +0000]
add foreign_key_constraint

12 years agofactor out unique constraints
Arthur Axel 'fREW' Schmidt [Tue, 8 Mar 2011 04:57:01 +0000]
factor out unique constraints

12 years agofactor out some basic constraints
Arthur Axel 'fREW' Schmidt [Tue, 8 Mar 2011 03:59:42 +0000]
factor out some basic constraints

12 years agouse future stuff for SQLite field generation
Arthur Axel 'fREW' Schmidt [Tue, 8 Mar 2011 02:29:55 +0000]
use future stuff for SQLite field generation

12 years agoinitial SQLite Producer object
Arthur Axel 'fREW' Schmidt [Tue, 8 Mar 2011 02:19:03 +0000]
initial SQLite Producer object

12 years agoadd comments, better default handling
Arthur Axel 'fREW' Schmidt [Tue, 8 Mar 2011 02:18:36 +0000]
add comments, better default handling