Dagfinn Ilmari Mannsåker [Sun, 17 Mar 2013 18:39:24 +0000]
Document append behaviour of options setters
Dagfinn Ilmari Mannsåker [Sun, 17 Mar 2013 18:38:50 +0000]
Fix typos in error messages
Dagfinn Ilmari Mannsåker [Sun, 17 Mar 2013 18:26:49 +0000]
Don't reimplement perl's built-in default behaviour
Bare 'return;' is context sensitive already, and non-existing hash
elements return undef.
Dagfinn Ilmari Mannsåker [Sun, 17 Mar 2013 17:20:59 +0000]
Use accessor for table options in MySQL producer
Since the Mooification it returns the arrayref stored in the object in
scalar context, even if it hadn't been set originally.
Dagfinn Ilmari Mannsåker [Sun, 17 Mar 2013 14:07:55 +0000]
Clean up properly after Parser::DBI::PostgreSQL tests
Deleting the table in END {} after having disconnected isn't going to
work. Instead, take advantage of PostgreSQL's transactional DDL
support, and do the tests inside a transcation that is rolled back at
the end.
Dagfinn Ilmari Mannsåker [Sun, 17 Mar 2013 14:03:17 +0000]
Use the API to access extra attributes
Fabrice Gabolde [Wed, 3 Oct 2012 15:17:06 +0000]
Support for SET NULL, SET DEFAULT and NO ACTION in foreign key clauses for SQLite.
According to the documentation this should be all of them (with the existing
support of CASCADE and RESTRICT).
William Wolf [Sat, 2 Jun 2012 04:07:46 +0000]
Fix Pg diff issue with drop constraint on primary keys
Tina Mueller [Fri, 11 May 2012 16:22:38 +0000]
produce_diff_sql(): list context
rather change the calling of alter_field and the other methods to list context
so that if they return multiple statements produce_diff_sql() can return
them also seperately in list context
Tina Mueller [Fri, 11 May 2012 15:25:04 +0000]
fix diff for altering two things per column - add ; at the end
replaced /;$/xms with /;\s*\z/xms since alter_field can return
two or more statements
Ken Youens-Clark [Tue, 25 Sep 2012 21:33:57 +0000]
Allow VALUEs to be enclosed in double and single quotes, specifically
was a problem on ENUMs, so I added a test for this.
Peter Rabbitson [Sun, 9 Dec 2012 19:03:57 +0000]
Properly tag our XML namespace URI - it is not a real link
RT#81838
Dagfinn Ilmari Mannsåker [Tue, 16 Oct 2012 12:39:45 +0000]
Fix POD wording
Arthur Axel 'fREW' Schmidt [Tue, 9 Oct 2012 21:26:21 +0000]
release 0.11016
Mateu X Hunter [Tue, 9 Oct 2012 21:20:02 +0000]
Test Str and ArrayRef input for SQLT->filename
Dagfinn Ilmari Mannsåker [Tue, 9 Oct 2012 18:12:35 +0000]
Allow passing an arrayref to SQLT->filename
It was lost in the Mooification.
Arthur Axel 'fREW' Schmidt [Fri, 5 Oct 2012 21:30:34 +0000]
release 0.11015
Arthur Axel 'fREW' Schmidt [Fri, 5 Oct 2012 21:30:01 +0000]
Fix stupid missing version number in SQL::Translator::Schema::Object
Arthur Axel 'fREW' Schmidt [Fri, 5 Oct 2012 21:08:07 +0000]
Release 0.11014
Arthur Axel 'fREW' Schmidt [Fri, 5 Oct 2012 20:50:53 +0000]
switch to Perl Licensing
Arthur Axel 'fREW' Schmidt [Wed, 26 Sep 2012 00:10:18 +0000]
release 0.11013_03
Arthur Axel 'fREW' Schmidt [Wed, 26 Sep 2012 00:09:37 +0000]
add missing Changes
Arthur Axel 'fREW' Schmidt [Tue, 25 Sep 2012 18:54:54 +0000]
include Moo version in a single place
The reason we include this is that the bug fixed in the required version
of Moo has to do with memory leaks and people will certainly not notice
that very quickly
Peter Rabbitson [Sun, 23 Sep 2012 16:27:20 +0000]
No versions in use statements - encourages shit like autorequires
Peter Rabbitson [Sun, 23 Sep 2012 16:23:53 +0000]
XML writing is not strictly necessary for everything else to work
Peter Rabbitson [Sun, 23 Sep 2012 16:23:00 +0000]
Lose one more useless dependency
Peter Rabbitson [Sun, 23 Sep 2012 16:12:15 +0000]
Both of these are pre 5.8 coredeps
Peter Rabbitson [Sun, 23 Sep 2012 16:11:48 +0000]
Moo port makes both of these no longer needed
Peter Rabbitson [Sun, 23 Sep 2012 16:09:34 +0000]
Remove SQL::Translator::Schema::Graph as announced in 0.11011
Peter Rabbitson [Sun, 23 Sep 2012 16:02:03 +0000]
Remove old dist tarball which snuck in during
a14ab50e
Arthur Axel 'fREW' Schmidt [Sun, 23 Sep 2012 15:15:42 +0000]
release v0.11013_02
Dagfinn Ilmari Mannsåker [Sun, 23 Sep 2012 14:55:34 +0000]
Add missing List::MoreUtils dep
Arthur Axel 'fREW' Schmidt [Sat, 22 Sep 2012 16:59:14 +0000]
release 0.11013_01
Dagfinn Ilmari Mannsåker [Wed, 19 Sep 2012 09:43:32 +0000]
Make read-only SQLT::Schema::Table attributes carp instead of die
Dagfinn Ilmari Mannsåker [Mon, 17 Sep 2012 22:47:12 +0000]
Add carping wrapper to SQL::Translator->schema as well
Dagfinn Ilmari Mannsåker [Thu, 30 Aug 2012 23:31:14 +0000]
Carp instead of dying if arguments are passed to read-only accessors
Dagfinn Ilmari Mannsåker [Fri, 17 Aug 2012 14:20:01 +0000]
Add Changes entries for mooification and leak fix
Dagfinn Ilmari Mannsåker [Wed, 15 Aug 2012 22:15:07 +0000]
Add enum type
Dagfinn Ilmari Mannsåker [Fri, 17 Aug 2012 13:06:42 +0000]
Document new roles, types and utility functions
Dagfinn Ilmari Mannsåker [Thu, 16 Aug 2012 15:10:41 +0000]
Wrap some over-log has statements
Dagfinn Ilmari Mannsåker [Thu, 16 Aug 2012 13:55:49 +0000]
Use quote_sub for trivial coercions
Dagfinn Ilmari Mannsåker [Thu, 16 Aug 2012 13:21:44 +0000]
Check Moo version at runtime
Dagfinn Ilmari Mannsåker [Wed, 15 Aug 2012 16:39:19 +0000]
Use quote_sub for trivial defaults
Dagfinn Ilmari Mannsåker [Wed, 15 Aug 2012 15:57:39 +0000]
Factor list attributes into variant role
Dagfinn Ilmari Mannsåker [Tue, 14 Aug 2012 11:51:02 +0000]
Mooify SQL::Translator
Dagfinn Ilmari Mannsåker [Tue, 14 Aug 2012 11:46:19 +0000]
Fix broken reset attempt
Dagfinn Ilmari Mannsåker [Tue, 14 Aug 2012 11:47:49 +0000]
Make SQLT::Role::Error internals closer to Class::Base
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').
Dagfinn Ilmari Mannsåker [Tue, 14 Aug 2012 09:56:53 +0000]
Rename non-schema-specific roles to SQLT::Role::Foo
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.
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.
Dagfinn Ilmari Mannsåker [Wed, 8 Aug 2012 12:01:41 +0000]
Remove unused variables and module import
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.
Dagfinn Ilmari Mannsåker [Sat, 4 Aug 2012 17:39:56 +0000]
Remove unused base class
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.
Dagfinn Ilmari Mannsåker [Wed, 1 Aug 2012 14:48:43 +0000]
Mooify SQLT::Schema::Constraint
Dagfinn Ilmari Mannsåker [Wed, 1 Aug 2012 00:59:19 +0000]
Mooify SQLT::Schema::Trigger
Dagfinn Ilmari Mannsåker [Tue, 31 Jul 2012 23:42:02 +0000]
Mooify SQLT::Schema::View
Dagfinn Ilmari Mannsåker [Tue, 31 Jul 2012 23:23:19 +0000]
Mooify SQLT::Schema::Procedure
Dagfinn Ilmari Mannsåker [Tue, 31 Jul 2012 23:08:15 +0000]
Mooify SQLT::Schema::Table
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)
Dagfinn Ilmari Mannsåker [Tue, 31 Jul 2012 17:47:58 +0000]
Mooify SQLT::Schema::Index
Dagfinn Ilmari Mannsåker [Tue, 31 Jul 2012 17:53:45 +0000]
Mooify SQLT::Schema
Arthur Axel 'fREW' Schmidt [Sat, 22 Sep 2012 16:46:41 +0000]
release 0.11013
Arthur Axel 'fREW' Schmidt [Sat, 22 Sep 2012 16:41:52 +0000]
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.
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.
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
Dagfinn Ilmari Mannsåker [Tue, 31 Jul 2012 11:06:46 +0000]
Ignore editor droppings
Arthur Axel 'fREW' Schmidt [Mon, 2 Jul 2012 21:12:54 +0000]
Release 0.11012
Justin Hunter [Tue, 26 Jun 2012 18:30:04 +0000]
address some issues with Pg producer and quoting
Arthur Axel 'fREW' Schmidt [Mon, 21 May 2012 19:49:37 +0000]
Add missing quote function to SQLServer producer
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)
Arthur Axel 'fREW' Schmidt [Thu, 10 May 2012 00:42:54 +0000]
FINALLY A RELEASE!
Peter Rabbitson [Wed, 9 May 2012 06:20:25 +0000]
Moar documentation, shape up license/copyright notices
Peter Rabbitson [Wed, 9 May 2012 05:45:06 +0000]
This seems to no longer be used anywhere...?
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
Peter Rabbitson [Wed, 9 May 2012 05:25:45 +0000]
Hide deprecated stuff
Arthur Axel 'fREW' Schmidt [Mon, 30 Apr 2012 16:03:31 +0000]
fix excepted and scalarref quoting for DEFAULTS in SQLite (and SQL Server)
Arthur Axel 'fREW' Schmidt [Mon, 30 Apr 2012 14:50:02 +0000]
fix sizeless types and typemap 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
Arthur Axel 'fREW' Schmidt [Tue, 1 May 2012 13:01:58 +0000]
assign copyright to my new files
Peter Rabbitson [Sat, 28 Apr 2012 06:09:39 +0000]
Fix broken plan
Peter Rabbitson [Sat, 28 Apr 2012 03:59:38 +0000]
Add Jess as authority for new namespaces
Ken Youens-Clark [Tue, 28 Feb 2012 22:11:29 +0000]
Added "tables" and "options" methods to Schema::View
Updated MySQL parser tests
Ken Youens-Clark [Tue, 28 Feb 2012 22:11:29 +0000]
Some aesthetic changes
Ken Youens-Clark [Mon, 27 Feb 2012 17:48:21 +0000]
MySQL Parser now handles views more completely
Ken Youens-Clark [Mon, 27 Feb 2012 17:48:21 +0000]
sqlt-graph now has a --trace option.
Tina Mueller [Sat, 28 Apr 2012 01:31:49 +0000]
add support for "DEFAULT (\d+)::data_type" in PostgreSQL Parser
Peter Rabbitson [Sat, 28 Apr 2012 02:09:52 +0000]
Fix silly syntax error, introduced in
0c04c5a22
Peter Rabbitson [Sat, 28 Apr 2012 02:01:33 +0000]
Stop the DBI parser from disconnecting externally supplied DBI handles
Peter Rabbitson [Sat, 28 Apr 2012 01:12:15 +0000]
Switch to sane subcommand launch in tests
Jonathan Otsuka [Wed, 8 Feb 2012 05:32:27 +0000]
Honor supplied field order when adding fields to a table object
Peter Rabbitson [Sat, 28 Apr 2012 00:26:10 +0000]
Dependency cleanup
Peter Rabbitson [Fri, 27 Apr 2012 14:48:53 +0000]
Incomplete revert in
0eb3b94a5
Peter Rabbitson [Fri, 27 Apr 2012 14:42:08 +0000]
Silence prove -w warnings
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.
Arthur Axel 'fREW' Schmidt [Wed, 22 Feb 2012 02:12:21 +0000]
setting the quote accessors separately no longer makes sense
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
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