15 years agoSomewhat working global roundtrip test
Peter Rabbitson [Tue, 28 Apr 2009 07:34:49 +0000]
Somewhat working global roundtrip test

15 years agoMerge 'trunk' into 'roundtrip'
Peter Rabbitson [Tue, 28 Apr 2009 07:25:20 +0000]
Merge 'trunk' into 'roundtrip'

r1510@Thesaurus (orig r1509):  ribasushi | 2009-04-28 09:20:34 +0200
Minor POD fix
Fix a possible undef dereference in SQLite producer

15 years agoMinor POD fix
Peter Rabbitson [Tue, 28 Apr 2009 07:20:34 +0000]
Minor POD fix
Fix a possible undef dereference in SQLite producer

15 years agoPg producer improvements by mo: ALTER TABLE / ALTER COLUMN / DROP DEFAULT
Peter Rabbitson [Fri, 24 Apr 2009 00:20:41 +0000]
Pg producer improvements by mo: ALTER TABLE / ALTER COLUMN / DROP DEFAULT

15 years agoMake minor adjustments to the grammars in order to work around https://rt.cpan.org...
Peter Rabbitson [Thu, 23 Apr 2009 23:49:52 +0000]
Make minor adjustments to the grammars in order to work around https://rt.cpan.org/Ticket/Display.html?id=45262
PS: Unable to adjust the DB2 parser as the grammar seems to be lost, only the compiled parser is present
PPS: The (s?) in all changes above is probably bogus and should be (s). Leaving intact just in case

15 years agoAdded CREATE VIEW subrules for mysql parser
Wallace Reis [Thu, 23 Apr 2009 15:37:12 +0000]
Added CREATE VIEW subrules for mysql parser

15 years agoUse three-arg open.
Ken Youens-Clark [Mon, 20 Apr 2009 21:22:29 +0000]
Use three-arg open.

15 years agoUse three-arg open.
Ken Youens-Clark [Mon, 20 Apr 2009 21:21:48 +0000]
Use three-arg open.

15 years agoFixed "database_events."
Ken Youens-Clark [Wed, 15 Apr 2009 18:47:32 +0000]
Fixed "database_events."

15 years agoFixed "database_events."
Ken Youens-Clark [Wed, 15 Apr 2009 18:47:12 +0000]
Fixed "database_events."

15 years agoDatabase events now returns a list.
Ken Youens-Clark [Wed, 15 Apr 2009 18:30:33 +0000]
Database events now returns a list.

15 years agoFixed "database_events."
Ken Youens-Clark [Wed, 15 Apr 2009 18:29:37 +0000]
Fixed "database_events."

15 years agoTemplate version doesn't matter.
Ken Youens-Clark [Wed, 15 Apr 2009 18:29:22 +0000]
Template version doesn't matter.

15 years agoNo warnings on test.
Ken Youens-Clark [Wed, 15 Apr 2009 18:28:58 +0000]
No warnings on test.

15 years agoNo warnings during tests -- it's ugly.
Ken Youens-Clark [Wed, 15 Apr 2009 18:27:17 +0000]
No warnings during tests -- it's ugly.

15 years agoNow passes.
Ken Youens-Clark [Wed, 15 Apr 2009 18:23:54 +0000]
Now passes.

15 years agoCleaned up, fixed db events.
Ken Youens-Clark [Wed, 15 Apr 2009 18:20:31 +0000]
Cleaned up, fixed db events.

15 years agoChecked for interactive so no ugly messages during test suite.
Ken Youens-Clark [Wed, 15 Apr 2009 18:12:51 +0000]
Checked for interactive so no ugly messages during test suite.

15 years agoCleaned up a bit, checked for interactive tty so that ugly warning
Ken Youens-Clark [Wed, 15 Apr 2009 18:08:44 +0000]
Cleaned up a bit, checked for interactive tty so that ugly warning
doesn't show up in test suite.

15 years agoChanged database_events to return an arrayref.
Ken Youens-Clark [Wed, 15 Apr 2009 17:39:25 +0000]
Changed database_events to return an arrayref.

15 years agoCleaned up, Template version no longer a problem(?).
Ken Youens-Clark [Wed, 15 Apr 2009 17:37:08 +0000]
Cleaned up, Template version no longer a problem(?).

15 years agoFixed "database_events."
Ken Youens-Clark [Wed, 15 Apr 2009 17:34:54 +0000]
Fixed "database_events."

15 years agoFixed to pass tests.
Ken Youens-Clark [Wed, 15 Apr 2009 16:37:15 +0000]
Fixed to pass tests.

15 years agoFixed up "equals" to be more informative when there's a problem.
Ken Youens-Clark [Wed, 15 Apr 2009 16:36:19 +0000]
Fixed up "equals" to be more informative when there's a problem.

15 years agoFixed "database_events".
Ken Youens-Clark [Wed, 15 Apr 2009 16:19:48 +0000]
Fixed "database_events".

15 years agoLots of cleanup, removal of "foo" variables which are opaque.
Ken Youens-Clark [Wed, 15 Apr 2009 16:19:18 +0000]
Lots of cleanup, removal of "foo" variables which are opaque.

15 years agoLots of cleanup.
Ken Youens-Clark [Wed, 15 Apr 2009 16:18:28 +0000]
Lots of cleanup.

15 years agoReturn lines of input in a list context, fixed my name.
Ken Youens-Clark [Tue, 14 Apr 2009 21:25:28 +0000]
Return lines of input in a list context, fixed my name.

15 years agoFixed my name, Perl shebang.
Ken Youens-Clark [Tue, 14 Apr 2009 21:24:25 +0000]
Fixed my name, Perl shebang.

15 years agoFixed name, perl.
Ken Youens-Clark [Tue, 14 Apr 2009 21:23:55 +0000]
Fixed name, perl.

15 years agoReturn lines of output in a list context per user request.
Ken Youens-Clark [Tue, 14 Apr 2009 21:21:11 +0000]
Return lines of output in a list context per user request.

15 years agoUpped version to 0.10.
Ken Youens-Clark [Tue, 14 Apr 2009 21:17:09 +0000]
Upped version to 0.10.

15 years agoSome code cleanup, added clustering of tables, fixed a bug that kept circular
Ken Youens-Clark [Tue, 14 Apr 2009 21:14:38 +0000]
Some code cleanup, added clustering of tables, fixed a bug that kept circular
arrows from being drawn, tried to figure out how to add ports to connect the
fields in a FK relationship rather than just the tables, but gave up.

15 years agoAdded test for fulltext.
Ken Youens-Clark [Tue, 14 Apr 2009 19:39:08 +0000]
Added test for fulltext.

15 years agoAdded "FULLTEXT" as valid index type.
Ken Youens-Clark [Tue, 14 Apr 2009 16:54:59 +0000]
Added "FULLTEXT" as valid index type.

15 years agoAdded patch from user.
Ken Youens-Clark [Tue, 14 Apr 2009 16:54:36 +0000]
Added patch from user.

15 years agoUpped requirement of Parse::RecDescent.
Ken Youens-Clark [Fri, 10 Apr 2009 13:25:36 +0000]
Upped requirement of Parse::RecDescent.

15 years agoFixed typos.
Ken Youens-Clark [Fri, 3 Apr 2009 20:53:03 +0000]
Fixed typos.

15 years agoPer a suggestion from Darren, changed the skipping of tables in the GraphViz
Ken Youens-Clark [Fri, 3 Apr 2009 20:07:45 +0000]
Per a suggestion from Darren, changed the skipping of tables in the GraphViz
producer to either skip on table names or regular expressions:
For example, if there are tables named foo, bar, and baz, with join
tables foo_bar and foo_baz, and you only want to skip foo but not
foo_bar and foo_baz, you would need to use the regex foo$, but this
contradicts the "table name" part of the docs.

15 years agoNew method to clear out extra attributes
Johannes Plunien [Tue, 17 Mar 2009 09:48:06 +0000]
New method to clear out extra attributes

15 years agoAdded semi-colon for (DROP|CREATE) TYPE statements in the Pg producer (wreis)
Ash Berlin [Mon, 16 Mar 2009 23:59:52 +0000]
Added semi-colon for (DROP|CREATE) TYPE statements in the Pg producer (wreis)

15 years agoAdded double quote rule for table/field identifiers, cleaned up some code
Ken Youens-Clark [Thu, 12 Mar 2009 14:04:00 +0000]
Added double quote rule for table/field identifiers, cleaned up some code
per Perl Best Practices and my own biases.

15 years agoPut double quotes and backticks around table identifiers to test rules.
Ken Youens-Clark [Thu, 12 Mar 2009 14:03:19 +0000]
Put double quotes and backticks around table identifiers to test rules.

15 years agoAdding option for skipping tables.
Ken Youens-Clark [Wed, 11 Mar 2009 21:48:37 +0000]
Adding option for skipping tables.

15 years agoAdding option to skip tables.
Ken Youens-Clark [Wed, 11 Mar 2009 21:48:06 +0000]
Adding option to skip tables.

15 years agoMySQL parser patch by Tokuhiro Matsuno
Peter Rabbitson [Mon, 9 Mar 2009 01:54:37 +0000]
MySQL parser patch by Tokuhiro Matsuno

15 years agoSupport for mysql fully qualified table names (db.table) by Debolaz
Peter Rabbitson [Sun, 15 Feb 2009 22:38:03 +0000]
Support for mysql fully qualified table names (db.table) by Debolaz

15 years agoWhop - forgot to commit 9004 changes
Peter Rabbitson [Sun, 15 Feb 2009 22:35:46 +0000]
Whop - forgot to commit 9004 changes

15 years agoDowngrade global version - highest version in 9002 on cpan is 1.58 - thus go with...
Peter Rabbitson [Fri, 13 Feb 2009 08:15:01 +0000]
Downgrade global version - highest version in 9002 on cpan is 1.58 - thus go with 1.59

15 years agoSchema::Graph - switch ugly use of Log4perl to an even uglier (but at least available...
Peter Rabbitson [Fri, 13 Feb 2009 07:41:51 +0000]
Schema::Graph - switch ugly use of Log4perl to an even uglier (but at least available) use of Class::Base for debug messages
Lose l4p dependency

15 years agoForgot to up one VERSION
Peter Rabbitson [Thu, 12 Feb 2009 08:51:31 +0000]
Forgot to up one VERSION

15 years agoRemove all expansion $XX tags (isolated commit, easily revertable)
Peter Rabbitson [Thu, 12 Feb 2009 01:35:44 +0000]
Remove all expansion $XX tags (isolated commit, easily revertable)

15 years agoCleanup part 2
Peter Rabbitson [Thu, 12 Feb 2009 01:33:21 +0000]
Cleanup part 2

15 years agoMinor test cleanup
Peter Rabbitson [Thu, 12 Feb 2009 01:32:39 +0000]
Minor test cleanup

15 years agoReduce $Id to its normal form
Peter Rabbitson [Thu, 12 Feb 2009 01:22:27 +0000]
Reduce $Id to its normal form

15 years agoForce everything to 1.99, hopefully will work
Peter Rabbitson [Thu, 12 Feb 2009 00:35:06 +0000]
Force everything to 1.99, hopefully will work

15 years agoActually there was an empty test for it as well :)
Peter Rabbitson [Thu, 12 Feb 2009 00:33:06 +0000]
Actually there was an empty test for it as well :)

15 years agoThis file is empty, tests seem fine... deleting
Peter Rabbitson [Thu, 12 Feb 2009 00:29:39 +0000]
This file is empty, tests seem fine... deleting

15 years agoStrip evil svn:keywords
Peter Rabbitson [Wed, 11 Feb 2009 23:38:14 +0000]
Strip evil svn:keywords

15 years agoAnother chunk of the GraphViz rewrite:
Peter Rabbitson [Tue, 10 Feb 2009 11:48:37 +0000]
Another chunk of the GraphViz rewrite:
- Remove internal VALID_OUTPUT check - determine whether valid by calling GraphViz directly
- Streamline the handling of the out_file parameter (now can be a string, a FH or undef

15 years agoUpdate autogenerated makefile
Peter Rabbitson [Mon, 9 Feb 2009 23:26:51 +0000]
Update autogenerated makefile

15 years agoTranslate bytea to BLOB in MySQL producer. This fixes a few tests of DBIC if you...
Johannes Plunien [Mon, 9 Feb 2009 12:25:32 +0000]
Translate bytea to BLOB in MySQL producer. This fixes a few tests of DBIC if you run the full test-suite against MySQL instead of SQLite

15 years agoRelease 0.09003
Peter Rabbitson [Sat, 7 Feb 2009 18:32:52 +0000]
Release 0.09003

15 years agoMove XMI stuff to branches/xmi since no one has worked on them and the tests have...
Ash Berlin [Sat, 7 Feb 2009 18:01:44 +0000]
Move XMI stuff to branches/xmi since no one has worked on them and the tests have failed for years, and they've been skipped from dists for an equally long time

15 years agoFix tests! historic/state_before_xmi_deletion_47b3b29f
Ash Berlin [Sat, 7 Feb 2009 17:50:03 +0000]
Fix tests!

15 years agosvk-commitTn2OH.tmp
Ash Berlin [Sat, 7 Feb 2009 15:53:56 +0000]
svk-commitTn2OH.tmp

15 years agoAdd sqlite roundtrip test (probably need to do the same for the rest of the parser...
Peter Rabbitson [Tue, 3 Feb 2009 14:16:27 +0000]
Add sqlite roundtrip test (probably need to do the same for the rest of the parser/producer combos, possibly using a known xml schema as a starting point)

15 years agoReverted VERSION so it was no longer dependent on $Revision$, the semantics of which...
Jonathan Yu [Thu, 29 Jan 2009 16:29:37 +0000]
Reverted VERSION so it was no longer dependent on $Revision$, the semantics of which are different under SVN

15 years agoChanged show_index_name to show_index_names to make it better match the other options
Jonathan Yu [Sat, 17 Jan 2009 17:08:06 +0000]
Changed show_index_name to show_index_names to make it better match the other options

15 years ago- Removed use of $Revision$ SVN keyword to generate VERSION variables; now sub-module...
Jonathan Yu [Sat, 17 Jan 2009 16:31:57 +0000]
- Removed use of $Revision$ SVN keyword to generate VERSION variables; now sub-modules are unversioned.

I'm not sure if this is the right thing to do, but svn doesn't provide version numbers like CVS used to. I think module versions, if necessary, should be adjusted manually.

15 years agoAdded a Module::Build::Compat 'passthrough' Makefile.PL
Jonathan Yu [Sat, 17 Jan 2009 16:29:20 +0000]
Added a Module::Build::Compat 'passthrough' Makefile.PL

15 years ago- Updated copyright, added myself to contributors list
Jonathan Yu [Sat, 17 Jan 2009 16:08:55 +0000]
- Updated copyright, added myself to contributors list

15 years ago- Merged some changes by myself, and also from ribasushi
Jonathan Yu [Sat, 17 Jan 2009 16:07:48 +0000]
- Merged some changes by myself, and also from ribasushi

15 years ago- Added myself to the SQL::Translator file as an author
Jonathan Yu [Sat, 17 Jan 2009 15:36:16 +0000]
- Added myself to the SQL::Translator file as an author

15 years ago- Added myself to the AUTHORS file
Jonathan Yu [Sat, 17 Jan 2009 15:35:25 +0000]
- Added myself to the AUTHORS file

15 years ago- Some minor cosmetic changes
Jonathan Yu [Sat, 17 Jan 2009 15:32:51 +0000]
- Some minor cosmetic changes
- Added meta_merge for META.yml data

15 years ago- Added some stuff to MANIFEST.SKIP
Jonathan Yu [Sat, 17 Jan 2009 15:10:56 +0000]
- Added some stuff to MANIFEST.SKIP
- Enabled svn:keyword's: Revision, Id, LastChangedBy

15 years ago- Fixed POD producer
Jonathan Yu [Wed, 14 Jan 2009 15:56:38 +0000]
- Fixed POD producer
Bug: constraints were not providing two newlines \n\n after each item; the =back command was not put on a different line, causing POD errors

15 years ago- Add support for 'extended' friendly ints (the nonstandard extensions provided by...
Jonathan Yu [Wed, 14 Jan 2009 15:41:55 +0000]
- Add support for 'extended' friendly ints (the nonstandard extensions provided by MySQL)

15 years ago- Fixes a bug where _apply_default_value is not found (due to it being part of SQL...
Jonathan Yu [Wed, 14 Jan 2009 15:00:41 +0000]
- Fixes a bug where _apply_default_value is not found (due to it being part of SQL::Translator::Producer); does this by simply making this PostgreSQL producer a subclass of the SQLT::Producer base.

15 years ago- Added a show_index_name parameter which determines whether index names should be...
Jonathan Yu [Sat, 10 Jan 2009 16:56:50 +0000]
- Added a show_index_name parameter which determines whether index names should be shown. If false, then the module will just print a list of tuples of indexed fields.
- Fixed a bug where unindexed tables would have an extra empty box

15 years agoSince Oracle understands a double precision floating point type, I added "double...
Jonathan Yu [Sat, 10 Jan 2009 02:49:06 +0000]
Since Oracle understands a double precision floating point type, I added "double" to the ora_data_type file.

Per: http://www.ss64.com/orasyntax/datatypes.html [refer to the NUMBER section; double is an alias of that]
Closes: Bug #2100879 - http://sourceforge.net/tracker2/?func=detail&aid=2100879&group_id=47619&atid=450052

15 years ago- Minor documentation changes. Namely, noted that the index types are stored internal...
Jonathan Yu [Fri, 9 Jan 2009 04:18:06 +0000]
- Minor documentation changes. Namely, noted that the index types are stored internally as uppercase; this is the only way to ensure the Producer modules still work properly.
- Cosmetic change to avoid bareword 'NORMAL' for index types - simply surrounded the return value with single quotes

15 years ago- Updated GraphViz producer module per the modifications discussed on the sqlfairy...
Jonathan Yu [Fri, 9 Jan 2009 04:16:38 +0000]
- Updated GraphViz producer module per the modifications discussed on the sqlfairy-developers mailing list (mail-archive.com/sqlfairy-developers@lists.sourceforge.net/msg00223.html)
- Cleaned up map{} code
- Added show_indexes and friendly_ints options.

TODO: the revision still needs to be updated. I'm using SVN, so it will have to be updated manually.

15 years agoSupport for temporary tables in Pg, from nachos
Jess Robinson [Mon, 29 Dec 2008 00:53:08 +0000]
Support for temporary tables in Pg, from nachos

15 years agoadded release-date to Changes
Johannes Plunien [Fri, 5 Dec 2008 13:20:00 +0000]
added release-date to Changes

15 years agoremoved semicolon from CREATE VIEW in oracle producer
Johannes Plunien [Fri, 5 Dec 2008 13:19:34 +0000]
removed semicolon from CREATE VIEW in oracle producer

15 years agofixed *old regex, added *tar.gz regex in MANIFEST.SKIP
Johannes Plunien [Fri, 5 Dec 2008 13:18:45 +0000]
fixed *old regex, added *tar.gz regex in MANIFEST.SKIP

15 years agofixed 51-xml-to-oracle.t
Johannes Plunien [Fri, 5 Dec 2008 13:18:27 +0000]
fixed 51-xml-to-oracle.t

15 years agoSince MANIFEST.SKIP is in svn, this file does not belong
Ash Berlin [Fri, 5 Dec 2008 12:37:59 +0000]
Since MANIFEST.SKIP is in svn, this file does not belong

15 years agoPgSQL diff patch from wries
Ash Berlin [Thu, 4 Dec 2008 16:45:46 +0000]
PgSQL diff patch from wries
(also fixed line lengths in Changes)

15 years agofix test expectations
Ricardo Signes [Tue, 2 Dec 2008 20:21:40 +0000]
fix test expectations

15 years agoproperly compare fields
Ricardo Signes [Tue, 2 Dec 2008 20:18:20 +0000]
properly compare fields

15 years agoreverting r1413 and r1414 in favor of passing a scalar ref to parser which the produc...
John Goulah [Tue, 2 Dec 2008 15:15:39 +0000]
reverting r1413 and r1414 in favor of passing a scalar ref to parser which the producer outputs correctly without quotes

15 years agoneeded to tighten up regex added in last commit
John Goulah [Mon, 1 Dec 2008 21:19:50 +0000]
needed to tighten up regex added in last commit

15 years agoadd param to _apply_default_value so that certain values can output without quotes
John Goulah [Mon, 1 Dec 2008 17:26:36 +0000]
add param to _apply_default_value so that certain values can output without quotes

16 years agoadded ignore_opts parser arg to ignore table options
John Goulah [Wed, 26 Nov 2008 17:50:10 +0000]
added ignore_opts parser arg to ignore table options

16 years agoSkip tests for buggy Spreadsheet::ParseExcel versions (rbo)
Johannes Plunien [Mon, 24 Nov 2008 15:08:18 +0000]
Skip tests for buggy Spreadsheet::ParseExcel versions (rbo)

16 years agoadd support for a skip option to the parser
John Goulah [Thu, 20 Nov 2008 22:52:46 +0000]
add support for a skip option to the parser

16 years agoadded notes about changed behaviour when calling oracle producer in array/scalar...
Johannes Plunien [Tue, 4 Nov 2008 09:22:56 +0000]
added notes about changed behaviour when calling oracle producer in array/scalar context