21 years agoLet's check before we assume this is a ref, eh?
Darren Chamberlain [Thu, 17 Apr 2003 13:40:47 +0000]
Let's check before we assume this is a ref, eh?

21 years agoFixes to help with Oracle data types, also fixes with table constraints.
Ken Youens-Clark [Mon, 14 Apr 2003 19:20:26 +0000]
Fixes to help with Oracle data types, also fixes with table constraints.

21 years agoAdded Oracle parser to MANIFEST.
Ken Youens-Clark [Thu, 10 Apr 2003 22:53:11 +0000]
Added Oracle parser to MANIFEST.

21 years agoSmall fix.
Ken Youens-Clark [Thu, 10 Apr 2003 03:09:47 +0000]
Small fix.

21 years agoHey, new Oracle parser!
Ken Youens-Clark [Thu, 10 Apr 2003 03:09:28 +0000]
Hey, new Oracle parser!

21 years agoUpdated README to reflect changes to SQL/Translator.pm POD.
Darren Chamberlain [Tue, 8 Apr 2003 12:59:26 +0000]
Updated README to reflect changes to SQL/Translator.pm POD.

21 years agoMoving tests to Test::More
Darren Chamberlain [Tue, 8 Apr 2003 12:57:28 +0000]
Moving tests to Test::More

21 years agoAdded Spreadsheet::ParseExcel
Darren Chamberlain [Tue, 8 Apr 2003 12:56:17 +0000]
Added Spreadsheet::ParseExcel

21 years agoAdded missing stuff. Remember folks, anything not in MANIFEST will not be part of...
Darren Chamberlain [Tue, 8 Apr 2003 12:55:51 +0000]
Added missing stuff.  Remember folks, anything not in MANIFEST will not be part of a distribution!

21 years agoAdded stub test.
Darren Chamberlain [Tue, 8 Apr 2003 12:55:09 +0000]
Added stub test.

21 years agoAnd again, with the globals. Yeesh.
Darren Chamberlain [Mon, 7 Apr 2003 16:31:55 +0000]
And again, with the globals. Yeesh.

21 years agoWhy make these globals?
Darren Chamberlain [Mon, 7 Apr 2003 16:27:30 +0000]
Why make these globals?

21 years agoHey, this could never have worked as advertised. *blush*.
Darren Chamberlain [Mon, 7 Apr 2003 16:18:15 +0000]
Hey, this could never have worked as advertised. *blush*.

21 years agoadded a text spreadsheet, hopefully in the right directory and such
Mikey Melillo [Mon, 7 Apr 2003 15:41:08 +0000]
added a text spreadsheet, hopefully in the right directory and such

21 years agoSome syntax fixes, package name was wrong, added Mikey's name to AUTHORS.
Ken Youens-Clark [Sun, 6 Apr 2003 19:08:49 +0000]
Some syntax fixes, package name was wrong, added Mikey's name to AUTHORS.
This parser is still broken.  The data structure I see coming back from
Spreadsheet::ParseExcel is not the same that is being examined by the code.

21 years agoInit Check in. This follows closely along the lines of xSV.pm but its cooler
Mikey Melillo [Sun, 6 Apr 2003 14:29:52 +0000]
Init Check in. This follows closely along the lines of xSV.pm but its cooler
because I used map. Hsan't been tested yet becuase I won't have access to
suitable testing area til monday. Oh BTW, the map doesn't work syntactially.
Someone want to tell me whats wrong with that line?

21 years agoAdding "auto-graph.pl" to automatically create graphs (via GraphViz) from
Ken Youens-Clark [Thu, 3 Apr 2003 19:30:48 +0000]
Adding "auto-graph.pl" to automatically create graphs (via GraphViz) from
schema definitions.

21 years agoShortened "natural-join-fk-only" option to "natural-join-fk,"
Ken Youens-Clark [Thu, 3 Apr 2003 19:29:08 +0000]
Shortened "natural-join-fk-only" option to "natural-join-fk,"
accepting args to "image-type" now, added wider left margin (+10
pixels), added pre-processing of fields to find if the ones that acts
as FKs in other tables in order to support the "show-fk-only" option,
added debug option and warn statements to aid coding, added ability to
make connecting lines directed when established with proper FOREIGN
KEY/REFERENCES statements, added some colors.

21 years agoAdded grammar for "REFERENCES" (foreign keys).
Ken Youens-Clark [Wed, 2 Apr 2003 01:46:36 +0000]
Added grammar for "REFERENCES" (foreign keys).

21 years agoGot foreign key references basically working now.
Ken Youens-Clark [Wed, 2 Apr 2003 01:46:16 +0000]
Got foreign key references basically working now.

21 years agoAdded options for natual joins only, made code work with proper FK
Ken Youens-Clark [Wed, 2 Apr 2003 01:45:45 +0000]
Added options for natual joins only, made code work with proper FK
references.

21 years agoAdded color option.
Ken Youens-Clark [Tue, 1 Apr 2003 18:08:02 +0000]
Added color option.

21 years agoAdded mark for unique constraint and legend to explain extra markings.
Ken Youens-Clark [Tue, 1 Apr 2003 17:06:22 +0000]
Added mark for unique constraint and legend to explain extra markings.

21 years agoAdded font options, made default font size 'small' instead of 'tiny.'
Ken Youens-Clark [Tue, 1 Apr 2003 16:43:34 +0000]
Added font options, made default font size 'small' instead of 'tiny.'

21 years ago:)
Mikey Melillo [Thu, 27 Mar 2003 19:07:00 +0000]
:)

21 years agoadded need for Excel Spreadsheet parser module
Mikey Melillo [Thu, 27 Mar 2003 18:03:50 +0000]
added need for Excel Spreadsheet parser module
which I will write in the near future per Darren's request

21 years ago- load now sets $ERROR on failure.
Darren Chamberlain [Wed, 12 Mar 2003 14:19:52 +0000]
- load now sets $ERROR on failure.

- list_parsers and list_producers are a little more robust, and look
in every directory in @INC.

21 years agoAdded SQLite producer and Utils.
Darren Chamberlain [Wed, 12 Mar 2003 14:17:35 +0000]
Added SQLite producer and Utils.

21 years agoAdded Utils package with debug method, shared between MySQL and SQLite producers.
Darren Chamberlain [Wed, 12 Mar 2003 14:17:11 +0000]
Added Utils package with debug method, shared between MySQL and SQLite producers.

21 years agoAdded code to kill field qualifiers in index field declarations.
Ken Youens-Clark [Fri, 7 Mar 2003 16:08:22 +0000]
Added code to kill field qualifiers in index field declarations.

21 years agoAdded SQLite producer, basic knock-off of MySQL producer, made some mods
Ken Youens-Clark [Tue, 4 Mar 2003 21:24:13 +0000]
Added SQLite producer, basic knock-off of MySQL producer, made some mods
to MySQL producer to add "DROP TABLE" statements, fixed POD a bit.

21 years agoSome minor mods to POD.
Ken Youens-Clark [Tue, 4 Mar 2003 21:20:17 +0000]
Some minor mods to POD.

21 years agoturning off debugging in t/08
Allen Day [Mon, 3 Mar 2003 20:52:57 +0000]
turning off debugging in t/08

21 years agoA README, which is required by CPAN. v0.01
Darren Chamberlain [Wed, 26 Feb 2003 13:12:40 +0000]
A README, which is required by CPAN.

21 years agoo Added bin/auto-dia.pl to scripts list
Darren Chamberlain [Wed, 26 Feb 2003 13:11:42 +0000]
o Added bin/auto-dia.pl to scripts list

o Added a test for auto-dia (which might be questionable).

o Added GD to module prerequisite list

o Changed VERSION number, in anticipation of an intial release.

21 years agoSome doc changes; added Allen to AUTHORS section
Darren Chamberlain [Wed, 26 Feb 2003 13:08:59 +0000]
Some doc changes; added Allen to AUTHORS section

21 years agoHandle "on [delete|update] action" differently
Ken Youens-Clark [Wed, 26 Feb 2003 05:17:49 +0000]
Handle "on [delete|update] action" differently

21 years agoAdded more rule (alter table) to be able handle Chado schema.
Ken Youens-Clark [Wed, 26 Feb 2003 05:17:21 +0000]
Added more rule (alter table) to be able handle Chado schema.

21 years agoDeleted "index" rules, allowed fore and aft comments in fields and
Ken Youens-Clark [Tue, 25 Feb 2003 21:58:46 +0000]
Deleted "index" rules, allowed fore and aft comments in fields and
table constraints (unique, PK, etc.).

21 years agoAdded t/08postgres-to-mysql.t
Darren Chamberlain [Tue, 25 Feb 2003 21:42:56 +0000]
Added t/08postgres-to-mysql.t

21 years agoAdded production to field rule to handle embedded comments.
Ken Youens-Clark [Tue, 25 Feb 2003 21:25:14 +0000]
Added production to field rule to handle embedded comments.

21 years agoAdded some documentation to PG and MySQL; the "eofile" rule to MySQL.
Ken Youens-Clark [Tue, 25 Feb 2003 14:55:36 +0000]
Added some documentation to PG and MySQL; the "eofile" rule to MySQL.

21 years agoMods to handles FK references.
Ken Youens-Clark [Tue, 25 Feb 2003 05:02:06 +0000]
Mods to handles FK references.

21 years agoA working PG parser!
Ken Youens-Clark [Tue, 25 Feb 2003 05:01:35 +0000]
A working PG parser!

21 years agoi forget what i did, but i found more bugs. we need to be able to support 'varchar'
Allen Day [Tue, 25 Feb 2003 03:24:56 +0000]
i forget what i did, but i found more bugs.  we need to be able to support 'varchar'
as implying 'varchar(255)' for both field and index declarations.  also 'double precision'
as a synonym for 'double'.  also, mysql doesn't support boolean datatype, but postgres does,
so we need to find a way to deal with this.

that's all for now.

-ad

21 years agoBUG. the parser cannot handle 'precision' as a qualifier for 'double'. this also...
Allen Day [Tue, 25 Feb 2003 02:03:55 +0000]
BUG.  the parser cannot handle 'precision' as a qualifier for 'double'.  this also applies to the mysql parser.

21 years agoadded a serial->int auto_increment fix, a varchar->varchar(255) workaround.
Allen Day [Tue, 25 Feb 2003 01:01:30 +0000]
added a serial->int auto_increment fix, a varchar->varchar(255) workaround.

21 years agomoving files around per ky's request
Allen Day [Fri, 21 Feb 2003 19:35:17 +0000]
moving files around per ky's request

21 years agohere is the pgsql test script. NOTE: it will not work right now b/c i've
Allen Day [Fri, 21 Feb 2003 17:56:49 +0000]
here is the pgsql test script.  NOTE: it will not work right now b/c i've
just changed ::PostGreSQL to ::PostgreSQL, but haven't renamed the module
itself yet.  will do so later this morning, unless someone beats me to it
:-)

21 years agoAdded new files to MANIFEST.
Darren Chamberlain [Fri, 21 Feb 2003 15:19:04 +0000]
Added new files to MANIFEST.

Started updating tests to use Test::More, rather than the homegrown
print stuff I'd started with (bad darren!).

The load test uses SQL::Translator::load, to both exercise load() and
to perform the actual test (I've intentionally used load instead of
Test::More::use_ok).

Added more dependencies to Makefile.PL.

Sorted the dependencies in PREREQ_PM, and the file list in MANIFEST,
because I'm obsessive about those sorts of silly things.

21 years agoan adaptor for postgres. this works, but i think my primary key and
Allen Day [Fri, 21 Feb 2003 08:42:29 +0000]
an adaptor for postgres.  this works, but i think my primary key and
foreign key parses are hackish.  they require the pk/fk clause
_right_after_ the field declaration, which i don't think is how postgres
requires it.

also i've found a bug in the mysql parser that is in the postgres parser
as well that doesn't allow comments in the middle of table create
statements.  this will cause a failed parse:

create table x (
x int,
-- a comment
);

21 years agoadded Class::Base preq
Allen Day [Fri, 21 Feb 2003 03:23:33 +0000]
added Class::Base preq

21 years agoLots o' bug fixes. Added "join-pk-only" option.
Ken Youens-Clark [Sat, 15 Feb 2003 23:38:35 +0000]
Lots o' bug fixes.  Added "join-pk-only" option.

21 years agoMade it better.
Ken Youens-Clark [Sat, 15 Feb 2003 02:31:23 +0000]
Made it better.

21 years agoAdded fulltext index.
Ken Youens-Clark [Sat, 15 Feb 2003 02:30:59 +0000]
Added fulltext index.

21 years agoAdded "auto-dia.pl" script for generating ER diagrams.
Ken Youens-Clark [Fri, 14 Feb 2003 20:29:12 +0000]
Added "auto-dia.pl" script for generating ER diagrams.

21 years agoDid you forget what year it is, Ken?
Darren Chamberlain [Wed, 29 Jan 2003 13:32:44 +0000]
Did you forget what year it is, Ken?

21 years agoMoved all POD to the end of the module, to make it easier
Darren Chamberlain [Wed, 29 Jan 2003 13:29:49 +0000]
Moved all POD to the end of the module, to make it easier
to modify and find.

Added a bunch of inline documentation.

Refactored a few of the duplicated methods, such as producer_args
and parser_args.

21 years agoSet $DEBUG to 0 by default.
Darren Chamberlain [Wed, 29 Jan 2003 13:28:28 +0000]
Set $DEBUG to 0 by default.

21 years agoRemoved extra unused junk.
Darren Chamberlain [Wed, 29 Jan 2003 13:27:44 +0000]
Removed extra unused junk.

21 years agoAdded SQL::Translator::Producer::Raw to MANIFEST.
Darren Chamberlain [Wed, 29 Jan 2003 13:27:12 +0000]
Added SQL::Translator::Producer::Raw to MANIFEST.

21 years agoAdded "Raw" to be able to get to raw parser output.
Ken Youens-Clark [Wed, 29 Jan 2003 02:43:44 +0000]
Added "Raw" to be able to get to raw parser output.

21 years agoDocumentation fixes; added Chris' name to copyright notice; updated copyright year.
Darren Chamberlain [Mon, 27 Jan 2003 17:04:48 +0000]
Documentation fixes; added Chris' name to copyright notice; updated copyright year.

21 years agoFixed bug where it was truncating table name needlessly.
Ken Youens-Clark [Thu, 2 Jan 2003 17:47:59 +0000]
Fixed bug where it was truncating table name needlessly.

21 years agoFixed problem with truncating an identifier when it was exactly the
Ken Youens-Clark [Wed, 11 Dec 2002 01:44:54 +0000]
Fixed problem with truncating an identifier when it was exactly the
$max_id_length and no "type" was supplied to "mk_name."

21 years agoFixed a bug in Oracle producer that allowed for identifiers longer than the
Ken Youens-Clark [Wed, 4 Dec 2002 01:53:51 +0000]
Fixed a bug in Oracle producer that allowed for identifiers longer than the
maximum allowed length, also there was a problem with not using the
unreserved table name.  Added decent amount of functionality to PG producer.

21 years agoMANIFEST.SKIP takes a regex, not a list. Some of the .pm files weren't in the MANIFESt.
Darren Chamberlain [Tue, 3 Dec 2002 16:20:08 +0000]
MANIFEST.SKIP takes a regex, not a list.  Some of the .pm files weren't in the MANIFESt.

21 years agoMoved MANIFEST.skip to MANIFEST.SKIP
Darren Chamberlain [Tue, 3 Dec 2002 16:17:48 +0000]
Moved MANIFEST.skip to MANIFEST.SKIP

21 years agoMore generic clean macro
Darren Chamberlain [Tue, 3 Dec 2002 16:05:25 +0000]
More generic clean macro

21 years agoAdded a rule to MySQL parser to disregard "DROP...;" statements, filled out
Ken Youens-Clark [Thu, 28 Nov 2002 04:21:07 +0000]
Added a rule to MySQL parser to disregard "DROP...;" statements, filled out
XML producer to generate hand-crafted XML.

21 years agoAdded "show_warnings" and "add_drop_table" options to sql_translator.pl and
Ken Youens-Clark [Tue, 26 Nov 2002 03:59:58 +0000]
Added "show_warnings" and "add_drop_table" options to sql_translator.pl and
to SQL::Translator/Oracle producer.  Fixed bug in Oracle producer that
duplicated identifiers.  Adding a lot of Oracle producer's logic to new
PostgreSQL producer.

21 years agoUpdated an example to make it happier.
Darren Chamberlain [Mon, 25 Nov 2002 14:49:44 +0000]
Updated an example to make it happier.

21 years agoAdded some comments (comments?)
Darren Chamberlain [Mon, 25 Nov 2002 14:48:34 +0000]
Added some comments (comments?)

21 years agoFixed spelling of "indices" in various files, finished adding all of Tim
Ken Youens-Clark [Sat, 23 Nov 2002 01:26:56 +0000]
Fixed spelling of "indices" in various files, finished adding all of Tim
Bunce's logic from his "mysql2ora" script, Oracle producer is now a bit
smarter, converting from MySQL to Oracle (or back to MySQL) should all
work really well now.

21 years agoRolled in Darren's new list_[producers|parsers], lots of cosmetic changes,
Ken Youens-Clark [Fri, 22 Nov 2002 03:03:40 +0000]
Rolled in Darren's new list_[producers|parsers], lots of cosmetic changes,
working in Tim Bunce's "mysql2ora" grammar and producer logic into
appropriate modules, making output of producers more consistent, added
table order to MySQL parser, using it in Oracle producer to maintain
original ordering.

21 years agoAdded list_parsers and list_producers methods, in response to <Pine.LNX.4.44.02112111...
Darren Chamberlain [Thu, 21 Nov 2002 17:45:17 +0000]
Added list_parsers and list_producers methods, in response to <Pine.LNX.4.44.0211211124100.4042-100000@localhost.localdomain>

21 years agoAdded PostgreSQL producer.
Ken Youens-Clark [Wed, 20 Nov 2002 04:03:56 +0000]
Added PostgreSQL producer.

21 years agoFixed a lot of little things in modules, docs, etc. Bugs in sql_translator.pl.
Ken Youens-Clark [Wed, 20 Nov 2002 04:03:04 +0000]
Fixed a lot of little things in modules, docs, etc.  Bugs in sql_translator.pl.

22 years ago*** empty log message ***
Chris Mungall [Fri, 11 Oct 2002 21:09:49 +0000]
*** empty log message ***

22 years agoChanged error_out usage to error
Darren Chamberlain [Tue, 23 Jul 2002 19:22:11 +0000]
Changed error_out usage to error

22 years agoSubclasses Class::Base. Removed error_out, error, in favor Class::Base::error.
Darren Chamberlain [Tue, 23 Jul 2002 19:21:16 +0000]
Subclasses Class::Base. Removed error_out, error, in favor Class::Base::error.

22 years agoShitload of changes. Still passes all tests, such as they are.
Darren Chamberlain [Mon, 8 Jul 2002 14:42:56 +0000]
Shitload of changes.  Still passes all tests, such as they are.

22 years agoFixed some typos, added some basic re-logicing (is that even a word?)
Darren Chamberlain [Tue, 11 Jun 2002 12:09:13 +0000]
Fixed some typos, added some basic re-logicing (is that even a word?)

22 years agoAdded generation of PRIMARY KEY and KEY clauses to CREATE statements.
Darren Chamberlain [Fri, 29 Mar 2002 13:08:19 +0000]
Added generation of PRIMARY KEY and KEY clauses to CREATE statements.
Reorganized where CR are put.

22 years agoAdded MySQL producer (still in a pretty alpha stage, only barely functional).
Darren Chamberlain [Wed, 27 Mar 2002 12:41:53 +0000]
Added MySQL producer (still in a pretty alpha stage, only barely functional).
Updated Validator.pm.
Added a few new bugs to BUGS.
Added file, filename, and data methods to Translator.pm.
Silly change to Makefile.PL that will most likely come out.

22 years agoAdded support for producer_args and parser_args.
Darren Chamberlain [Tue, 26 Mar 2002 12:46:54 +0000]
Added support for producer_args and parser_args.
Added test for producer_args and parser_args.
Added t/07p_test.t to MANIFEST.
Added validator_test.pl to bin (though not to MANIFEST).

22 years agoAdded CSV parser and a test.
Darren Chamberlain [Mon, 25 Mar 2002 14:27:23 +0000]
Added CSV parser and a test.

22 years agoAdded extra files to MANIFEST.skip. Updated MANIFEST.
Darren Chamberlain [Mon, 25 Mar 2002 14:26:57 +0000]
Added extra files to MANIFEST.skip.  Updated MANIFEST.

22 years agoAdded test structure.
Darren Chamberlain [Mon, 25 Mar 2002 14:26:25 +0000]
Added test structure.

22 years agoAdded 'order' to data structure description
Darren Chamberlain [Mon, 25 Mar 2002 14:25:58 +0000]
Added 'order' to data structure description

22 years agoAutomatically generated by cvs2cl.pl
Darren Chamberlain [Thu, 21 Mar 2002 18:55:28 +0000]
Automatically generated by cvs2cl.pl

22 years agoMerged changes from darren-1_0 tag into HEAD branch (hopefully!).
Darren Chamberlain [Thu, 21 Mar 2002 18:50:54 +0000]
Merged changes from darren-1_0 tag into HEAD branch (hopefully!).

22 years agoRemoved in anticipation of a merge.
Darren Chamberlain [Thu, 21 Mar 2002 18:48:36 +0000]
Removed in anticipation of a merge.

22 years agoTest changes
Darren Chamberlain [Thu, 21 Mar 2002 18:07:46 +0000]
Test changes

22 years agoAccidentally PREREQ_PM'ed XML::Writer instead fo XML::Dumper
Darren Chamberlain [Thu, 21 Mar 2002 17:52:18 +0000]
Accidentally PREREQ_PM'ed XML::Writer instead fo XML::Dumper

22 years agoRe-added
Darren Chamberlain [Thu, 21 Mar 2002 17:48:58 +0000]
Re-added

22 years agoUpdated filelist
Darren Chamberlain [Thu, 21 Mar 2002 15:54:34 +0000]
Updated filelist

22 years agoAdded some basic files, removed unused data file (the contents were moved into the...
Darren Chamberlain [Thu, 21 Mar 2002 15:53:21 +0000]
Added some basic files, removed unused data file (the contents were moved into the test that used the data).

22 years agoRemoved comment lines (the parser chokes on these, I think).
Darren Chamberlain [Thu, 21 Mar 2002 15:52:03 +0000]
Removed comment lines (the parser chokes on these, I think).
Changed DEFAULT x NOT NULL lines to NOT NULL DEFAULT x, so overcompensate for a bug in the MySQL parser.
Removed references to FULLTEXT indexes, because the MySQL grammar doesn't know about them.

22 years agoRemoved warns and debugging, so this test will actually pass when run as part of...
Darren Chamberlain [Thu, 21 Mar 2002 15:50:10 +0000]
Removed warns and debugging, so this test will actually pass when run as part of make test.