19 years agomysql_table_type extra data and InnoDB derivation fix.
Mark Addison [Thu, 13 Jan 2005 11:50:24 +0000]
mysql_table_type extra data and InnoDB derivation fix.

19 years agoMade extra interface more context sensative.
Mark Addison [Thu, 13 Jan 2005 09:44:15 +0000]
Made extra interface more context sensative.

19 years agoFixed test name
Mark Addison [Thu, 13 Jan 2005 09:02:15 +0000]
Fixed test name

19 years agoreplaced by TT producer
Allen Day [Tue, 21 Dec 2004 01:47:34 +0000]
replaced by TT producer

19 years agoRemoved (annoying) warning when order attributes are not used.
Mark Addison [Tue, 21 Dec 2004 01:29:23 +0000]
Removed (annoying) warning when order attributes are not used.

19 years agolocalised setting of %Data::Dumper::Maxdepth (and Indent), to stop it polluting
Mark Addison [Tue, 21 Dec 2004 01:28:39 +0000]
localised setting of %Data::Dumper::Maxdepth (and Indent), to stop it polluting
the rest of perl and breaking Module::Build!

19 years agoAccepted changes from Eric Just.
Ken Youens-Clark [Mon, 20 Dec 2004 17:18:42 +0000]
Accepted changes from Eric Just.

19 years agoTests moved from 13graph.t.
Ken Youens-Clark [Mon, 20 Dec 2004 16:36:40 +0000]
Tests moved from 13graph.t.

19 years agoMoved graph tests out.
Ken Youens-Clark [Mon, 20 Dec 2004 16:36:22 +0000]
Moved graph tests out.

19 years agoRe-added proper error trapping and reporting when trying to set the parser,
Mark Addison [Mon, 13 Dec 2004 16:32:07 +0000]
Re-added proper error trapping and reporting when trying to set the parser,
producer or a filter to un unknown module/sub (accidently removed by filter
work).

19 years agoAdded schema filters
Mark Addison [Sun, 12 Dec 2004 18:38:11 +0000]
Added schema filters

19 years agoClean up
Mark Addison [Sun, 12 Dec 2004 18:34:43 +0000]
Clean up

19 years agoDrop functions
Jess Robinson [Sat, 27 Nov 2004 16:33:33 +0000]
Drop functions

19 years agoAdded TTSchema changes.
Mark Addison [Fri, 26 Nov 2004 00:41:56 +0000]
Added TTSchema changes.

19 years agoAdded tt-conf option
Mark Addison [Fri, 26 Nov 2004 00:34:09 +0000]
Added tt-conf option

19 years agoTemplate config is now passed using tt_conf producer arg. Deprecated passing
Mark Addison [Fri, 26 Nov 2004 00:28:06 +0000]
Template config is now passed using tt_conf producer arg. Deprecated passing
it in the producer_args directly.

19 years agoAdded tt-vars to pass variables to templates.
Mark Addison [Thu, 25 Nov 2004 23:15:23 +0000]
Added tt-vars to pass variables to templates.

19 years agoDeprecated ttargs producer arg in favour of tt_vars
Mark Addison [Thu, 25 Nov 2004 23:10:59 +0000]
Deprecated ttargs producer arg in favour of tt_vars

19 years agoApplied Dave Howorth's MySQL parser patches
Mark Addison [Thu, 25 Nov 2004 22:32:48 +0000]
Applied Dave Howorth's MySQL parser patches
- ignore INSERT statements
- permit ALTER TABLE ADD FOREIGN KEY
- allow trailing comma on last field in CREATE statements
- collect the database name

19 years agoDB2.pm the first
Jess Robinson [Sat, 20 Nov 2004 15:47:39 +0000]
DB2.pm the first

19 years agoDB2 P::RD grammar
Jess Robinson [Sat, 20 Nov 2004 15:45:21 +0000]
DB2 P::RD grammar

19 years agoRe-added ttvars. Added docs and test for ttvars.
Mark Addison [Tue, 16 Nov 2004 21:06:35 +0000]
Re-added ttvars. Added docs and test for ttvars.

19 years agoI needed to be able to pass in additional information to the templates (beyond the...
Brian O'Connor [Tue, 16 Nov 2004 09:15:36 +0000]
I needed to be able to pass in additional information to the templates (beyond the schema object)
processed by this producer. Before it only passed one argument through to the template but now I pass
all items in the template args hash.

19 years agoFactored _load_sub() out of _tool(). Ground work for adding filters.
Mark Addison [Tue, 9 Nov 2004 05:27:45 +0000]
Factored _load_sub() out of _tool(). Ground work for adding filters.

19 years agoRefactored producer() and parser() to use a sub, _tool(), implimenting their
Mark Addison [Tue, 9 Nov 2004 02:09:52 +0000]
Refactored producer() and parser() to use a sub, _tool(), implimenting their
shared functionality, in much the same way producer_args() and
parser_args() use _args().

load() now also supports checking a path of base packages. Ground work for adding
a producer and parser paths feature, to make it easier to load them from
different namespaces.

19 years agoAdded extra and Schema::Object stuff
Mark Addison [Fri, 5 Nov 2004 16:41:09 +0000]
Added extra and Schema::Object stuff

19 years agoAdded writing of extra data for all objects to XML producer.
Mark Addison [Fri, 5 Nov 2004 16:37:01 +0000]
Added writing of extra data for all objects to XML producer.

19 years agoAll Schema objects now have an extra attribute. Added parsing support (and
Mark Addison [Fri, 5 Nov 2004 15:03:11 +0000]
All Schema objects now have an extra attribute. Added parsing support (and
tests) for this to the SQLF XML parser.

19 years agoAdded _attributes class data to SQL::Translator::Schema::Object for sub classes
Mark Addison [Fri, 5 Nov 2004 13:19:31 +0000]
Added _attributes class data to SQL::Translator::Schema::Object for sub classes
to declare their attributes with and an init method to initialize the class from
this data.

19 years agoAdded diagnostics on fail.
Mark Addison [Fri, 5 Nov 2004 13:16:49 +0000]
Added diagnostics on fail.

19 years agoAdded SQL::Translator::Schema::Object, a base class for all the Schema
Mark Addison [Thu, 4 Nov 2004 16:29:56 +0000]
Added SQL::Translator::Schema::Object, a base class for all the Schema
objects and made them all use it.

19 years agoFixing the error "Can't use an undefined value as a HASH reference at
Ken Youens-Clark [Tue, 26 Oct 2004 00:00:41 +0000]
Fixing the error "Can't use an undefined value as a HASH reference at
/Users/kclark/Work/sqlf/sqlfairy/lib/SQL/Translator/Producer/TTSchema.pm
line 123."

19 years agothrows error if a comment is placed on a non-existent column
Chris Mungall [Sat, 23 Oct 2004 20:18:44 +0000]
throws error if a comment is placed on a non-existent column

19 years agofixed parsing of Pg COMMENT ON ... syntax
Chris Mungall [Sat, 23 Oct 2004 19:58:32 +0000]
fixed parsing of Pg COMMENT ON ... syntax

previously only recognised comments on TABLE and COLUMN
also would not recognise comment_phrases split over multiple lines

now accept all comment types; however, it does not add information
to the datamodel except for TABLE and COLUMN

accepts comments split over multiple lines

will barf if comment includes escaped singlequote ''

test 08 extended to deal with parsing comments gracefully
(does not check contents of datamodel however)

19 years agoProducer::Turnkey obsolete. now rely on TTSchema parser (see concommitant
Allen Day [Fri, 15 Oct 2004 03:52:51 +0000]
Producer::Turnkey obsolete.  now rely on TTSchema parser (see concommitant
turnkey commit).

modified TTschema to accept 'ttargs' in addition to already present 'ttfile'
so arbitrary template args can be interpolated.

added Schema::Graph unit test (!).  minimal.

introduced Log::Log4perl dependency.

modified Schema to have translator() slot to hold parent ref.  needed to
get at producer_args(), parser_args(), and _format_name() from Graph.pm

19 years agopatch for parser/producer args courtesy of darren (w/ embellishments by me)
Allen Day [Fri, 15 Oct 2004 02:23:30 +0000]
patch for parser/producer args courtesy of darren (w/ embellishments by me)

19 years agosome refactoring. moving to being able to call $schema->as_graph to do
Allen Day [Wed, 13 Oct 2004 23:14:06 +0000]
some refactoring.  moving to being able to call $schema->as_graph to do
an OM translation.

19 years agolc the template files... flipflop
Allen Day [Wed, 13 Oct 2004 22:31:59 +0000]
lc the template files... flipflop

19 years agoalmost working. there is a package name mangling problem where the
Allen Day [Wed, 13 Oct 2004 22:24:49 +0000]
almost working.  there is a package name mangling problem where the
upcasing doesn't happen properly... i think it's the lack of callback
calling in the right places, or an erroneous callback.

19 years agoFixed POD.
Ken Youens-Clark [Fri, 24 Sep 2004 14:06:46 +0000]
Fixed POD.

19 years agoFixed syntax error.
Ken Youens-Clark [Thu, 23 Sep 2004 15:08:03 +0000]
Fixed syntax error.

19 years agoModifications to the Turnkey producer to support file split in the Turnkey install...
Brian O'Connor [Wed, 22 Sep 2004 23:46:53 +0000]
Modifications to the Turnkey producer to support file split in the Turnkey install process

19 years agoOK, I really got it this time.
Ken Youens-Clark [Mon, 20 Sep 2004 20:48:19 +0000]
OK, I really got it this time.

19 years agoThat last commit wasn't very thought-out.
Ken Youens-Clark [Mon, 20 Sep 2004 20:32:18 +0000]
That last commit wasn't very thought-out.

19 years agoThe default too often was "tinyint," changed to only make it that when
Ken Youens-Clark [Mon, 20 Sep 2004 20:22:47 +0000]
The default too often was "tinyint," changed to only make it that when
necessary and default non-float number fields to "int."

19 years agoTrying to be smarter and stricter on translating FKs.
Ken Youens-Clark [Fri, 17 Sep 2004 21:54:43 +0000]
Trying to be smarter and stricter on translating FKs.

19 years agoMoved "interval" rule.
Ken Youens-Clark [Fri, 17 Sep 2004 21:53:35 +0000]
Moved "interval" rule.

19 years agoBug fix to keep FK constraints from being created twice, expanded a couple
Ken Youens-Clark [Fri, 17 Sep 2004 21:52:46 +0000]
Bug fix to keep FK constraints from being created twice, expanded a couple
of rules to handle screwy input.

19 years agoAdd Triggers
Jess Robinson [Wed, 15 Sep 2004 21:16:02 +0000]
Add Triggers

19 years agoNew column_info definition, correct nullable
Jess Robinson [Wed, 15 Sep 2004 21:13:43 +0000]
New column_info definition, correct nullable

19 years agoSome updates to tests to skip when required dependencies are missing.
Ken Youens-Clark [Mon, 13 Sep 2004 18:16:48 +0000]
Some updates to tests to skip when required dependencies are missing.

19 years agoAllow "gutter" to be set by producer arg (Markus Törnqvist). v0.06
Ken Youens-Clark [Mon, 30 Aug 2004 19:05:32 +0000]
Allow "gutter" to be set by producer arg (Markus Törnqvist).

19 years agoAllow "gutter" to be set by producer arg (Markus Törnqvis).
Ken Youens-Clark [Mon, 30 Aug 2004 19:04:59 +0000]
Allow "gutter" to be set by producer arg (Markus Törnqvis).

19 years agoFixed problems in POD.
Ken Youens-Clark [Mon, 30 Aug 2004 18:59:09 +0000]
Fixed problems in POD.

19 years agoApplying patches from Markus Törnqvis.
Ken Youens-Clark [Mon, 30 Aug 2004 18:54:58 +0000]
Applying patches from Markus Törnqvis.

19 years agoAdding Jess's DB2 DBI parser.
Ken Youens-Clark [Mon, 30 Aug 2004 18:51:00 +0000]
Adding Jess's DB2 DBI parser.

19 years agoDoc tweaks.
Mark Addison [Fri, 20 Aug 2004 11:01:48 +0000]
Doc tweaks.

19 years agoDoc tweaks
Mark Addison [Fri, 20 Aug 2004 00:58:35 +0000]
Doc tweaks

19 years agoDoc tweaks
Mark Addison [Thu, 19 Aug 2004 20:58:05 +0000]
Doc tweaks

19 years agoDoc tweaks
Mark Addison [Thu, 19 Aug 2004 20:41:32 +0000]
Doc tweaks

19 years agoDoc tweaks
Mark Addison [Thu, 19 Aug 2004 19:55:36 +0000]
Doc tweaks

19 years agoAdded collection tags for the Schemas objects (tables, views, etc)
Mark Addison [Thu, 19 Aug 2004 14:09:00 +0000]
Added collection tags for the Schemas objects (tables, views, etc)

19 years agoMove the list of methods to write as elements out into a global.
Mark Addison [Wed, 18 Aug 2004 20:27:58 +0000]
Move the list of methods to write as elements out into a global.

19 years agoDOAP for SQL::Translator
Darren Chamberlain [Fri, 13 Aug 2004 16:48:07 +0000]
DOAP for SQL::Translator

19 years agoXML test file changed
Mark Addison [Thu, 12 Aug 2004 16:43:23 +0000]
XML test file changed

19 years agoAdded "version" argument to show SQLT::VERSION.
Ken Youens-Clark [Thu, 12 Aug 2004 16:18:00 +0000]
Added "version" argument to show SQLT::VERSION.

19 years agoTake the defined field size if present.
Ken Youens-Clark [Wed, 11 Aug 2004 22:00:39 +0000]
Take the defined field size if present.

19 years agoCheck for >255 field size for all char fields (not just varchar); turn a
Ken Youens-Clark [Wed, 11 Aug 2004 21:55:34 +0000]
Check for >255 field size for all char fields (not just varchar); turn a
boolean field into an ENUM; make sure double/float fields have a precision
value (even if it's just "0").

19 years agoAdd indexes for FKs as necessary.
Ken Youens-Clark [Thu, 5 Aug 2004 21:13:03 +0000]
Add indexes for FKs as necessary.

19 years agoMake sure there's some size value for a character-based field.
Ken Youens-Clark [Thu, 5 Aug 2004 18:15:12 +0000]
Make sure there's some size value for a character-based field.

19 years agoRemoved some old code, make table type "InnoDB" if there's a FK constraint.
Ken Youens-Clark [Thu, 5 Aug 2004 15:41:46 +0000]
Removed some old code, make table type "InnoDB" if there's a FK constraint.

19 years agoChanges to the Turnkey producer to better support IE.
Brian O'Connor [Thu, 5 Aug 2004 02:05:46 +0000]
Changes to the Turnkey producer to better support IE.

19 years agoJust some cosmetic changes to the docs.
Ken Youens-Clark [Fri, 30 Jul 2004 22:04:25 +0000]
Just some cosmetic changes to the docs.

19 years agoRemoving commented-out code.
Ken Youens-Clark [Fri, 30 Jul 2004 21:56:18 +0000]
Removing commented-out code.

19 years agosp_columns on Sybase 12.5.2 (and, perhaps, earlier) needs to be passed nulls explicit...
Paul Harrington [Fri, 30 Jul 2004 16:13:52 +0000]
sp_columns on Sybase 12.5.2 (and, perhaps, earlier) needs to be passed nulls explicitly so pass in list of undefs to column_info

19 years agoFixed naming of file.
Ken Youens-Clark [Fri, 30 Jul 2004 15:34:16 +0000]
Fixed naming of file.

19 years agoUpdated.
Ken Youens-Clark [Fri, 30 Jul 2004 15:31:29 +0000]
Updated.

19 years agoChanging to use Build.PL/Module::Build.
Ken Youens-Clark [Fri, 30 Jul 2004 15:28:49 +0000]
Changing to use Build.PL/Module::Build.

19 years agoAdding new Module::Build-based build script.
Ken Youens-Clark [Fri, 30 Jul 2004 15:27:36 +0000]
Adding new Module::Build-based build script.

19 years agoCorrectly produces settings file for soap Turnkey components.
Brian O'Connor [Mon, 26 Jul 2004 20:49:34 +0000]
Correctly produces settings file for soap Turnkey components.

19 years agoFixed docs.
Ken Youens-Clark [Mon, 26 Jul 2004 13:55:51 +0000]
Fixed docs.

19 years agoFixed documentation in template.
Ken Youens-Clark [Fri, 23 Jul 2004 15:38:20 +0000]
Fixed documentation in template.

19 years agoUpdates to include special comments for Atom and Model classes to make
Brian O'Connor [Fri, 23 Jul 2004 01:11:23 +0000]
Updates to include special comments for Atom and Model classes to make
it easier to split these files as part of a Turnkey install.

19 years agoChanges to the Turnkey producer related to soap output, AutoDBI output, and comment...
Brian O'Connor [Wed, 21 Jul 2004 03:02:57 +0000]
Changes to the Turnkey producer related to soap output, AutoDBI output, and comment syntax.

19 years agoClass::MakeMethods prereq for Turnkey producer.
Allen Day [Tue, 20 Jul 2004 23:49:04 +0000]
Class::MakeMethods prereq for Turnkey producer.

19 years agoAdded 'date' to "string" types.
Ken Youens-Clark [Tue, 20 Jul 2004 17:44:43 +0000]
Added 'date' to "string" types.

19 years agoAdded "enum" to string types.
Ken Youens-Clark [Wed, 14 Jul 2004 19:37:41 +0000]
Added "enum" to string types.

19 years agoFixed break due to XML Parser now supporting field.extra
Mark Addison [Fri, 9 Jul 2004 00:51:35 +0000]
Fixed break due to XML Parser now supporting field.extra

19 years agoAdded parsing of field.extra
Mark Addison [Fri, 9 Jul 2004 00:50:47 +0000]
Added parsing of field.extra

19 years agoAllow extra to be set via constructor.
Mark Addison [Fri, 9 Jul 2004 00:46:28 +0000]
Allow extra to be set via constructor.

19 years agoAdded writing of field.extra
Mark Addison [Thu, 8 Jul 2004 23:39:38 +0000]
Added writing of field.extra

19 years agoUpdated with the new XML producer args.
Mark Addison [Thu, 8 Jul 2004 20:37:53 +0000]
Updated with the new XML producer args.

19 years agoAdded producer args to control indenting, newlines and namespace prefixing.
Mark Addison [Thu, 8 Jul 2004 20:37:26 +0000]
Added producer args to control indenting, newlines and namespace prefixing.

19 years agoAdded items about the change of XML format and additional TT based producers.
Mark Addison [Thu, 8 Jul 2004 19:52:27 +0000]
Added items about the change of XML format and additional TT based producers.

19 years agoAdded docs about the legacy format xml.
Mark Addison [Thu, 8 Jul 2004 19:34:29 +0000]
Added docs about the legacy format xml.

19 years ago*** empty log message ***
Mark Addison [Thu, 8 Jul 2004 19:33:46 +0000]
*** empty log message ***

19 years agoXML test src changed name.
Mark Addison [Thu, 8 Jul 2004 19:08:16 +0000]
XML test src changed name.

19 years agoUpdated to test the new, single format sqlf xml.
Mark Addison [Thu, 8 Jul 2004 19:07:30 +0000]
Updated to test the new, single format sqlf xml.

19 years agoUpdated to parse the new, single format sqlf xml and emit warnings when the old style...
Mark Addison [Thu, 8 Jul 2004 19:06:24 +0000]
Updated to parse the new, single format sqlf xml and emit warnings when the old style is used (but still parse it).

19 years agoUpdated to produce the new, single format sqlf xml.
Mark Addison [Thu, 8 Jul 2004 19:05:26 +0000]
Updated to produce the new, single format sqlf xml.