20 years agoFixed some spacing and POD.
Ken Youens-Clark [Wed, 15 Oct 2003 16:36:28 +0000]
Fixed some spacing and POD.

20 years agoMade $0 a little nicer.
Darren Chamberlain [Wed, 15 Oct 2003 13:46:29 +0000]
Made $0 a little nicer.

20 years agoPOD update for m:n stuff.
Mark Addison [Tue, 14 Oct 2003 23:29:19 +0000]
POD update for m:n stuff.

20 years agoAdded m:n joins. Can now model m:n association in your class diag and the
Mark Addison [Tue, 14 Oct 2003 23:19:44 +0000]
Added m:n joins. Can now model m:n association in your class diag and the
parser will create a link table for it when creating the schema :)

20 years agoMinor changes.
Ken Youens-Clark [Tue, 14 Oct 2003 17:03:45 +0000]
Minor changes.

20 years agouse DBI and a recent revision of DBD::Pg
Paul Harrington [Mon, 13 Oct 2003 19:51:31 +0000]
use DBI and a recent revision of DBD::Pg

20 years agoPKeys automatically generated for Classes that don't set them explicitly with
Mark Addison [Mon, 13 Oct 2003 17:05:55 +0000]
PKeys automatically generated for Classes that don't set them explicitly with
<<PK>>.

Re-wrote datatypes section in the docs.

20 years agoInitial code for SQLFairy UML profile for the XMI parser. The name may need
Mark Addison [Fri, 10 Oct 2003 20:03:24 +0000]
Initial code for SQLFairy UML profile for the XMI parser. The name may need
changing but I wanted to get it in cvs so its safe and I can work on it and
worry about the name later.

20 years agoContext fix. Rar.
Darren Chamberlain [Fri, 10 Oct 2003 16:44:27 +0000]
Context fix.  Rar.

20 years agoWork in filter mode -- accept data on standard input.
Darren Chamberlain [Fri, 10 Oct 2003 16:38:43 +0000]
Work in filter mode -- accept data on standard input.

20 years agoFix to size of float field.
Ken Youens-Clark [Fri, 10 Oct 2003 15:59:03 +0000]
Fix to size of float field.

20 years agoPOD fixes, fix to field size for a float.
Ken Youens-Clark [Fri, 10 Oct 2003 15:58:11 +0000]
POD fixes, fix to field size for a float.

20 years agoAdded PG support, more POD.
Ken Youens-Clark [Fri, 10 Oct 2003 15:52:07 +0000]
Added PG support, more POD.

20 years agoAdding a DBI-Pg parser based on DBIx::DBSchema, but I'm not sure if I'm
Ken Youens-Clark [Fri, 10 Oct 2003 15:24:04 +0000]
Adding a DBI-Pg parser based on DBIx::DBSchema, but I'm not sure if I'm
very happy with this approach.  It seems to get all the internal PG tables
(which I don't need) and fails to get the PK and index defs (which I do need).

20 years agoFixing up "view_field" to use all the field attributes.
Ken Youens-Clark [Thu, 9 Oct 2003 21:51:08 +0000]
Fixing up "view_field" to use all the field attributes.

20 years agoPOD fixes.
Ken Youens-Clark [Thu, 9 Oct 2003 21:50:29 +0000]
POD fixes.

20 years agoTrying to be smarter about intuiting field types and sizes.
Ken Youens-Clark [Thu, 9 Oct 2003 21:49:53 +0000]
Trying to be smarter about intuiting field types and sizes.

20 years agoPOD fix.
Ken Youens-Clark [Thu, 9 Oct 2003 21:49:19 +0000]
POD fix.

20 years agoFix PK info if available.
Ken Youens-Clark [Thu, 9 Oct 2003 21:48:55 +0000]
Fix PK info if available.

20 years agoFixed normalize_name per DLC.
Ken Youens-Clark [Thu, 9 Oct 2003 18:09:07 +0000]
Fixed normalize_name per DLC.

20 years agoPOD changes, small change to prevent "use of uninitialized value" warning.
Ken Youens-Clark [Thu, 9 Oct 2003 16:38:51 +0000]
POD changes, small change to prevent "use of uninitialized value" warning.

20 years agoSmall change to prevent "use of uninitialized value" warnings.
Ken Youens-Clark [Thu, 9 Oct 2003 16:35:55 +0000]
Small change to prevent "use of uninitialized value" warnings.

20 years agoNeeded semicolon on end of constraint def.
Ken Youens-Clark [Wed, 8 Oct 2003 23:00:42 +0000]
Needed semicolon on end of constraint def.

20 years agoNo reason to see Excel parser.
Ken Youens-Clark [Wed, 8 Oct 2003 22:55:10 +0000]
No reason to see Excel parser.

20 years agoFleshing out.
Ken Youens-Clark [Wed, 8 Oct 2003 22:46:17 +0000]
Fleshing out.

20 years agoFixed syntax errors.
Ken Youens-Clark [Wed, 8 Oct 2003 22:38:38 +0000]
Fixed syntax errors.

20 years agoBasic tests for SQLite, will expand later.
Ken Youens-Clark [Wed, 8 Oct 2003 22:38:26 +0000]
Basic tests for SQLite, will expand later.

20 years agoFixed bug that wasn't maintaining table order.
Ken Youens-Clark [Wed, 8 Oct 2003 22:37:59 +0000]
Fixed bug that wasn't maintaining table order.

20 years agoNew test data for SQLite parser.
Ken Youens-Clark [Wed, 8 Oct 2003 22:14:54 +0000]
New test data for SQLite parser.

20 years agoAdding SQLite parser test.
Ken Youens-Clark [Wed, 8 Oct 2003 22:14:06 +0000]
Adding SQLite parser test.

20 years agostill a bit hacky .. would like to use a method that will work on either "store"...
Paul Harrington [Wed, 8 Oct 2003 20:35:52 +0000]
still a bit hacky .. would like to use a method that will work on either "store" or "freeze" data. This will still break if you are passed in a file that contains the result of a freeze

20 years agostore in network order
Paul Harrington [Wed, 8 Oct 2003 20:33:31 +0000]
store in network order

20 years agoreverting to previous revision as I had duplicated some of the subroutines to handle...
Paul Harrington [Wed, 8 Oct 2003 18:35:15 +0000]
reverting to previous revision as I had duplicated some of the subroutines to handle procedures... sorry about that!

20 years agoadd methods for dealing with procedures
Paul Harrington [Wed, 8 Oct 2003 18:30:15 +0000]
add methods for dealing with procedures

20 years agoload test for sybase DBI parser
Paul Harrington [Wed, 8 Oct 2003 18:28:36 +0000]
load test for sybase DBI parser

20 years agoStorable stuff
Paul Harrington [Wed, 8 Oct 2003 18:24:25 +0000]
Storable stuff

20 years agoAdded tests for procedures, expanded view and trigger tests.
Ken Youens-Clark [Wed, 8 Oct 2003 17:36:22 +0000]
Added tests for procedures, expanded view and trigger tests.

20 years agoAdded support for adding procedures, getting procedures and triggers.
Ken Youens-Clark [Wed, 8 Oct 2003 17:35:18 +0000]
Added support for adding procedures, getting procedures and triggers.

20 years agoFixed spacing.
Ken Youens-Clark [Wed, 8 Oct 2003 17:34:23 +0000]
Fixed spacing.

20 years agoAdded "schema" method, added to object initialization and destruction.
Ken Youens-Clark [Wed, 8 Oct 2003 17:33:47 +0000]
Added "schema" method, added to object initialization and destruction.

20 years agoFixed POD, added "schema" method, fixed DESTROY.
Ken Youens-Clark [Wed, 8 Oct 2003 17:32:16 +0000]
Fixed POD, added "schema" method, fixed DESTROY.

20 years agoAdding Paul's Procedure class.
Ken Youens-Clark [Wed, 8 Oct 2003 17:31:24 +0000]
Adding Paul's Procedure class.

20 years agoA better YAML producer, actually using the YAML module. Updated test
Darren Chamberlain [Wed, 8 Oct 2003 17:27:40 +0000]
A better YAML producer, actually using the YAML module.  Updated test

20 years agoAdded YAML stuff
Darren Chamberlain [Wed, 8 Oct 2003 16:35:14 +0000]
Added YAML stuff

20 years agoAdded YAML parser, producer, and basic test. All need more work!
Darren Chamberlain [Wed, 8 Oct 2003 16:33:13 +0000]
Added YAML parser, producer, and basic test.  All need more work!

20 years agoFixed a problem with POD.
Ken Youens-Clark [Wed, 8 Oct 2003 16:03:01 +0000]
Fixed a problem with POD.

20 years agoMade debugging work and it now exports its parse method.
Mark Addison [Mon, 6 Oct 2003 15:43:41 +0000]
Made debugging work and it now exports its parse method.

20 years agoChanged ends to associationEnds in the Association's spec.
Mark Addison [Mon, 6 Oct 2003 15:06:20 +0000]
Changed ends to associationEnds in the Association's spec.

20 years agoRemoved TODO comment- cos its done
Mark Addison [Mon, 6 Oct 2003 15:05:17 +0000]
Removed TODO comment- cos its done

20 years agoFixed broken otherEnd linking for assoctionEnds.
Mark Addison [Mon, 6 Oct 2003 15:03:07 +0000]
Fixed broken otherEnd linking for assoctionEnds.

20 years agoRemoved some unneeded, commented out code.
Mark Addison [Mon, 6 Oct 2003 13:29:45 +0000]
Removed some unneeded, commented out code.

20 years agoAdded multiplicity to AssociationEnds.
Mark Addison [Mon, 6 Oct 2003 13:28:36 +0000]
Added multiplicity to AssociationEnds.

20 years agoFixed serious bug in xmiDeref: was only working for tags with xmi.idref
Mark Addison [Mon, 6 Oct 2003 13:23:04 +0000]
Fixed serious bug in xmiDeref: was only working for tags with xmi.idref
attrib, tags with xmi.id blew up XPath!

20 years agoNo longer require file arg here -- let modules decide.
Ken Youens-Clark [Sat, 4 Oct 2003 01:22:46 +0000]
No longer require file arg here -- let modules decide.

20 years agoDisabling some suspect code.
Ken Youens-Clark [Sat, 4 Oct 2003 01:22:04 +0000]
Disabling some suspect code.

20 years agoLots o' refinements.
Ken Youens-Clark [Sat, 4 Oct 2003 01:21:36 +0000]
Lots o' refinements.

20 years agoDon't make up unnecessary monikers, added support for table options that
Ken Youens-Clark [Sat, 4 Oct 2003 01:21:10 +0000]
Don't make up unnecessary monikers, added support for table options that
DDL::Oracle has.

20 years agoNow parsing and adding views and triggers to schema.
Ken Youens-Clark [Sat, 4 Oct 2003 01:16:39 +0000]
Now parsing and adding views and triggers to schema.

20 years agoextract out text of stored procedures and triggers
Paul Harrington [Sat, 4 Oct 2003 00:10:00 +0000]
extract out text of stored procedures and triggers

20 years agodump out views and stored procedures
Paul Harrington [Sat, 4 Oct 2003 00:06:39 +0000]
dump out views and stored procedures

20 years agoTests for triggers.
Ken Youens-Clark [Fri, 3 Oct 2003 23:56:54 +0000]
Tests for triggers.

20 years agoNew trigger class.
Ken Youens-Clark [Fri, 3 Oct 2003 23:56:41 +0000]
New trigger class.

20 years agoAdded "add_trigger" method.
Ken Youens-Clark [Fri, 3 Oct 2003 23:56:21 +0000]
Added "add_trigger" method.

20 years agoBasic test for SQL::Translator::Shell
Darren Chamberlain [Fri, 3 Oct 2003 21:17:53 +0000]
Basic test for SQL::Translator::Shell

20 years agoCommand-line wrapper for SQL::Translator::Shell.
Darren Chamberlain [Fri, 3 Oct 2003 21:15:55 +0000]
Command-line wrapper for SQL::Translator::Shell.

20 years agoSQL::Translator::Shell - and interactive Schema browser. This is a placeholder commit.
Darren Chamberlain [Fri, 3 Oct 2003 21:13:37 +0000]
SQL::Translator::Shell - and interactive Schema browser.  This is a placeholder commit.

20 years agoAdding new Sybase entries -- should the full "use" statement be used or
Ken Youens-Clark [Fri, 3 Oct 2003 20:58:18 +0000]
Adding new Sybase entries -- should the full "use" statement be used or
should I defer to Translator->load?

20 years agoFixed syntax error.
Ken Youens-Clark [Fri, 3 Oct 2003 20:56:40 +0000]
Fixed syntax error.

20 years agoAdding Sybase parser for Paul.
Ken Youens-Clark [Fri, 3 Oct 2003 20:48:38 +0000]
Adding Sybase parser for Paul.

20 years agoSome mods.
Ken Youens-Clark [Fri, 3 Oct 2003 20:39:53 +0000]
Some mods.

20 years agoRemoved definedness check for file-based data, for the DBI-based parsers, which will...
Darren Chamberlain [Fri, 3 Oct 2003 20:17:48 +0000]
Removed definedness check for file-based data, for the DBI-based parsers, which will not pass a data or file element.

20 years agoTabs suck! Die 0x09, die!
Darren Chamberlain [Fri, 3 Oct 2003 20:09:37 +0000]
Tabs suck!  Die 0x09, die!

20 years agoFixing AUTHORS.
Ken Youens-Clark [Fri, 3 Oct 2003 19:47:19 +0000]
Fixing AUTHORS.

20 years agoAdding a MySQL/DBI parser that talks to the db for the structures.
Ken Youens-Clark [Fri, 3 Oct 2003 19:29:31 +0000]
Adding a MySQL/DBI parser that talks to the db for the structures.

20 years agoStreamlined.
Ken Youens-Clark [Fri, 3 Oct 2003 18:13:32 +0000]
Streamlined.

20 years agoAdded tagged values to DataType's
Mark Addison [Fri, 3 Oct 2003 18:07:13 +0000]
Added tagged values to DataType's

20 years agoAdded options for DBI parser.
Ken Youens-Clark [Fri, 3 Oct 2003 17:08:46 +0000]
Added options for DBI parser.

20 years agoMade dataType a proper obj instead of just a name.
Mark Addison [Fri, 3 Oct 2003 13:17:28 +0000]
Made dataType a proper obj instead of just a name.

20 years agoAdding new DBI and experimental DBI::SQLite parsers.
Ken Youens-Clark [Fri, 3 Oct 2003 00:21:41 +0000]
Adding new DBI and experimental DBI::SQLite parsers.

20 years agoNew SQLite parser.
Ken Youens-Clark [Fri, 3 Oct 2003 00:20:51 +0000]
New SQLite parser.

20 years agoAdded test for the Rational profile.
Mark Addison [Thu, 2 Oct 2003 01:41:32 +0000]
Added test for the Rational profile.
Removed product table from test DB.

20 years agoRemoved debug warning
Mark Addison [Thu, 2 Oct 2003 01:40:06 +0000]
Removed debug warning

20 years agoTidy up, as they seemed to be a bit of a mess.
Mark Addison [Wed, 1 Oct 2003 21:55:05 +0000]
Tidy up, as they seemed to be a bit of a mess.

20 years agoMoved visibility test to its own .t
Mark Addison [Wed, 1 Oct 2003 21:12:00 +0000]
Moved visibility test to its own .t

20 years agoAdded some test xmi files for rational profile (tests coming soon ;-)
Mark Addison [Wed, 1 Oct 2003 17:51:54 +0000]
Added some test xmi files for rational profile (tests coming soon ;-)

20 years agoAdded FKeys from associations
Mark Addison [Wed, 1 Oct 2003 17:47:02 +0000]
Added FKeys from associations

20 years agoAssociationEnds gets an 'otherEnd' ref added so you can navigate associations
Mark Addison [Wed, 1 Oct 2003 17:45:47 +0000]
AssociationEnds gets an 'otherEnd' ref added so you can navigate associations
from class to class easily.

20 years agoChanged debug to dump xmi model data and not just classes.
Mark Addison [Wed, 1 Oct 2003 17:17:24 +0000]
Changed debug to dump xmi model data and not just classes.

20 years agoKill size attribute if field data type is "text."
Ken Youens-Clark [Mon, 29 Sep 2003 14:55:26 +0000]
Kill size attribute if field data type is "text."

20 years agoDifferent versions of XMI now handled by sub-classes (still generating methods
Mark Addison [Mon, 29 Sep 2003 12:02:36 +0000]
Different versions of XMI now handled by sub-classes (still generating methods
from specs) with the Parser mod returning the appropriate sub class. This keeps
the specs in sperate files and allows for overrides of the generated methods for
tweaking porpoises.

20 years agoThe data, as it is being parsed, is added to $self->{model}. Anything seen before
Mark Addison [Mon, 29 Sep 2003 11:17:04 +0000]
The data, as it is being parsed, is added to $self->{model}. Anything seen before
is then looked up in here and reffed so we don't go round in circles! Allows
parser to build up self referncing data structure for the model.

Added associations for classes, linked by the ends.

20 years agoAdded comment for FKs (if necessary).
Ken Youens-Clark [Fri, 26 Sep 2003 22:54:48 +0000]
Added comment for FKs (if necessary).

20 years agoPush foreign key defs to end of file to avoid errors with referenced tables
Ken Youens-Clark [Fri, 26 Sep 2003 22:48:53 +0000]
Push foreign key defs to end of file to avoid errors with referenced tables
not existing yet.

20 years agoNo need to create constraint names if they don't already exist (and PG
Ken Youens-Clark [Fri, 26 Sep 2003 22:35:23 +0000]
No need to create constraint names if they don't already exist (and PG
might still complain about existing ones);  leave off 'Constraint "name"'
when no name is present;  remove default values for date/timestamp fields
(a real mess when moving from MySQL);  max precision for a timestamp is
"6," not "13."

20 years agoFixed "parse_list_args" to not stringify reference arguments.
Ken Youens-Clark [Fri, 26 Sep 2003 21:04:32 +0000]
Fixed "parse_list_args" to not stringify reference arguments.

20 years agoRemoved unnecessary code.
Ken Youens-Clark [Fri, 26 Sep 2003 21:04:07 +0000]
Removed unnecessary code.

20 years agoAdded some rules to better handle the output of DDL::Oracle, now saving
Ken Youens-Clark [Fri, 26 Sep 2003 21:03:28 +0000]
Added some rules to better handle the output of DDL::Oracle, now saving
table options

20 years agooops, missing }
Allen Day [Thu, 25 Sep 2003 17:29:25 +0000]
oops, missing }

20 years agofix for strange interpretation of 1liner
Allen Day [Thu, 25 Sep 2003 17:28:37 +0000]
fix for strange interpretation of 1liner

20 years agothis is pretty stable, and is ( i think ) generating usable class::dbi
Allen Day [Thu, 25 Sep 2003 01:31:28 +0000]
this is pretty stable, and is ( i think ) generating usable class::dbi
code.  still template problems for other output formats.