SubSonic Developers: shawn.oster

Login name:
shawn.oster
Total Commits:
140 (2.8%)
Lines of Code:
2623 (1.6%)
Most Recent Commit:
2008-04-19 01:47

Activity by Clock Time

Activity by Hour of Day for shawn.oster

Activity by Day of Week for shawn.oster

Activity in Directories

Directory Changes Lines of Code Lines per Change
Totals 140 (100.0%) 2623 (100.0%) 18.7
SubSonic/Migrations/ 11 (7.9%) 529 (20.2%) 48.0
SubSonic.Tests/Migrations/ 11 (7.9%) 402 (15.3%) 36.5
SubSonic/SqlQuery/SqlGenerators/ 17 (12.1%) 389 (14.8%) 22.8
SubSonic.Migrations/ 9 (6.4%) 306 (11.7%) 34.0
SubSonic.Tests/SqlGenerators/ 4 (2.9%) 278 (10.6%) 69.5
SubSonic.Tests/Query2/ 6 (4.3%) 156 (5.9%) 26.0
SubSonic/DataProviders/ 17 (12.1%) 151 (5.8%) 8.8
SubSonic/Query2/ 4 (2.9%) 93 (3.5%) 23.2
SubSonic.Tests/SqlQuery/ 4 (2.9%) 83 (3.2%) 20.7
SubSonic.Tests/ 9 (6.4%) 65 (2.5%) 7.2
SubSonic/Controls/ 2 (1.4%) 51 (1.9%) 25.5
SubCommander/ 3 (2.1%) 30 (1.1%) 10.0
SubSonic.Tests/Migrations/MigrationFiles/ 5 (3.6%) 26 (1.0%) 5.2
SubSonic/CodeGeneration/ 4 (2.9%) 16 (0.6%) 4.0
SubSonic/ActiveRecord/ 6 (4.3%) 16 (0.6%) 2.6
SubSonic/SqlQuery/ 20 (14.3%) 12 (0.5%) 0.6
SubSonic/Sql Tools/ 5 (3.6%) 12 (0.5%) 2.4
SubSonic/Query2/SqlGenerators/ 1 (0.7%) 6 (0.2%) 6.0
SubSonic/Sugar/ 2 (1.4%) 2 (0.1%) 1.0

Activity of shawn.oster

Most Recent Commits

shawn.oster 2008-04-19 01:47 Rev.: 419

ADDED: Test for MySqlGenerator.BuildDropTable.

9 lines of code changed in 2 files:

  • SubSonic.Tests/SqlGenerators: MySqlGeneratorTests.cs (+9 -1), SqlServerGeneratorTests.cs (-2)
shawn.oster 2008-04-18 21:37 Rev.: 418

ADDED: MySqlGenerator class.
ADDED: Tests to support MySqlGenerator.
CHANGED: Cleaned up migration test names.
CHANGED: Renamed SqlServerParserTests.cs to SqlServerGeneratorTests.cs to better reflect actual usage.
CHANGED: Changed some methods in ANSISqlGenerator to virtual to allow descendant classes to do their thing.
ADDED: DataService.GetGenerator() overload to accept a Provider for performance.

419 lines of code changed in 10 files:

  • SubSonic.Tests: SubSonic.Tests.csproj (+2 -1)
  • SubSonic.Tests/Migrations: MigrationTests.cs (+2 -2)
  • SubSonic.Tests/SqlGenerators: MySqlGeneratorTests.cs (new 21), SqlServerGeneratorTests.cs (new 248)
  • SubSonic/DataProviders: DataService.cs (+11 -7)
  • SubSonic/Migrations: Migration.cs (+1 -1)
  • SubSonic/SqlQuery: SqlQuery.cs (+1 -1)
  • SubSonic/SqlQuery/SqlGenerators: ANSISqlGenerator.cs (+20 -12), MySqlGenerator.cs (+113)
shawn.oster 2008-04-18 01:50 Rev.: 417

CHANGED: Correctly implemented IDisposable in Migration (thanks FxCop).
ADDED: Test to make sure MySql generator works with migrations (it doesn't yet).

40 lines of code changed in 2 files:

  • SubSonic.Tests/Migrations: MigrationTests.cs (+28 -6)
  • SubSonic/Migrations: Migration.cs (+12 -3)
shawn.oster 2008-04-15 01:07 Rev.: 413

ADDED: Execute() method to Migrations to support ad-hoc SQL and supporting test.
ADDED: Support for Migrate-On-Dispose, Rob-style, and supporting test.

109 lines of code changed in 2 files:

  • SubSonic.Tests/Migrations: MigrationTests.cs (+34)
  • SubSonic/Migrations: Migration.cs (+75 -54)
shawn.oster 2008-04-07 02:19 Rev.: 406

FIXED: GetTypeName() in CodeRunner always assumed a curly brace would be on the same line as the namespace.
CHANGED: Minor code cleanup in Migrator.cs.

11 lines of code changed in 2 files:

  • SubSonic.Migrations: CodeRunner.cs (+7 -8), Migrator.cs (+4 -4)
shawn.oster 2008-04-04 19:00 Rev.: 405

Added: migrate command to SubCommander command-line help output.
Fixed: When running migrations SubSonic.dll wasn't correctly referenced in dynamic compiled code. Needed the full path.
Fixed: Getting relative migration directory in tests failed under different test runners.

79 lines of code changed in 3 files:

  • SubCommander: Program.cs (+7 -3)
  • SubSonic.Migrations: CodeRunner.cs (+40 -20)
  • SubSonic.Tests/Migrations: MigrationTests.cs (+32 -24)
shawn.oster 2008-04-04 15:29 Rev.: 404

Added: Migration test directory is now dynamically determined during tests vs. being hard coded.

20 lines of code changed in 1 file:

  • SubSonic.Tests/Migrations: MigrationTests.cs (+20 -13)
shawn.oster 2008-04-04 15:03 Rev.: 403

Changed: Tightened up migration error handling and console output.
Changed: SqlServerParserTests to use Assert.AreEqual vs. Assert.IsTrue when comparing strings.
Fixed: DropColumn generation wasn't accounting for dropping defaults.

115 lines of code changed in 8 files:

  • SubSonic.Migrations: Migrator.cs (+34 -22)
  • SubSonic.Tests/Migrations: MigrationTests.cs (+30 -2)
  • SubSonic.Tests/Migrations/MigrationFiles: 001_MigrationTest.cs (-1), 002_MigrationTest.cs (+8 -13)
  • SubSonic.Tests/SqlQuery: SqlServerParserTests.cs (+32 -20)
  • SubSonic/Migrations: Migration.cs (+3 -2)
  • SubSonic/SqlQuery/SqlGenerators: ANSISqlGenerator.cs (+7 -16), ISqlGenerator.cs (+1 -1)
shawn.oster 2008-04-03 04:40 Rev.: 400

Added: SubCommander now supports the migrate command (and it works).
Added: Reference to SubSonic.Migrations to SubCommander.
Changed: Minor code cleanup in Migrator.cs.

31 lines of code changed in 3 files:

  • SubCommander: Program.cs (+19 -84), SubSonic.SubCommander.csproj (+4)
  • SubSonic.Migrations: Migrator.cs (+8 -8)
shawn.oster 2008-04-03 04:06 Rev.: 399

Changed: Migrator class can now handle an unspecified toVersion.
Changed: Migrator code refactoring.

158 lines of code changed in 1 file:

  • SubSonic.Migrations: Migrator.cs (+158 -88)
shawn.oster 2008-04-02 03:57 Rev.: 398

Fixed: Migrator now correctly calls the Migrate() method vs. Up() or Down();
Fixed: Migrator was instancing a CSharp CodeDOM for .cs files.
Added: GetGenerator() method to DataService, may move.

133 lines of code changed in 7 files:

  • SubSonic.Migrations: Migrator.cs (+46 -240)
  • SubSonic.Tests/Migrations: MigrationTests.cs (+23 -19)
  • SubSonic.Tests/Migrations/MigrationFiles: 001_MigrationTest.cs (+1 -1)
  • SubSonic/DataProviders: DataService.cs (+57 -4)
  • SubSonic/Migrations: Migration.cs (+4 -39)
  • SubSonic/SqlQuery: SqlQuery.cs (+1 -29)
  • SubSonic/SqlQuery/SqlGenerators: ISqlGenerator.cs (+1 -1)
shawn.oster 2008-04-01 21:25 Rev.: 397

Changed: Updated migration tests so all now pass.
Added: AlterColumn support to migrations.
Added: Tests to support AlterColumn.
Fixed: Minor bug in TableSchema.AddPrimaryKeyColumn that appended "Id" to end of column name twice.

116 lines of code changed in 3 files:

  • SubSonic.Tests/Migrations: MigrationTests.cs (+45 -4)
  • SubSonic/Migrations: Migration.cs (+70 -2)
  • SubSonic/Sql Tools: TableSchema.cs (+1 -1)
shawn.oster 2008-04-01 20:25 Rev.: 396

Added: AddColumn & RemoveColumn migrations.
Added: Tests to support AddColumn & RemoveColumn migrations.

119 lines of code changed in 2 files:

  • SubSonic.Tests/Migrations: MigrationTests.cs (+38 -1)
  • SubSonic/Migrations: Migration.cs (+81 -11)
shawn.oster 2008-04-01 19:08 Rev.: 395

Changed: Moved MigrationDirection enum from Migrator to Migration.
Added: More migration tests.
Added: Migration CreateTable adds a PrimaryKey when creating if missing.
Removed: Unused migration support code.

153 lines of code changed in 3 files:

  • SubSonic.Migrations: Migrator.cs (+8 -11)
  • SubSonic.Tests/Migrations: MigrationTests.cs (+99 -36)
  • SubSonic/Migrations: Migration.cs (+46 -98)
shawn.oster 2008-03-31 21:52 Rev.: 393

Changed: Altering migration test file to reflect migrations final form.
Added: A mock migration class in MigrationTes.
Changed: Renamed BuildRemoveColumnStatement to BuildDropColumnStatement in ISqlGenerator.cs to reflect that it's building a SQL DROP COLUMN statement.
Added: The concept of steps into the migration class.

272 lines of code changed in 7 files:

  • SubSonic.Tests/Migrations: MigrationTests.cs (+51)
  • SubSonic.Tests/Migrations/MigrationFiles: 001_MigrationTest.cs (+6 -20), 002_MigrationTest.cs (+11 -18)
  • SubSonic.Tests/SqlQuery: SqlServerParserTests.cs (+1 -1)
  • SubSonic/Migrations: Migration.cs (+201 -24)
  • SubSonic/SqlQuery/SqlGenerators: ANSISqlGenerator.cs (+1 -1), ISqlGenerator.cs (+1 -1)
shawn.oster 2008-03-31 18:58 Rev.: 392

Added: Column generation abstract methods to ISqlGenerator.cs.
Added: Column generation concrete methods to ANSISqlGenerator.cs.
Added: Tests to support column generation methods in ISqlGenerator.cs.
Removed: Abstract column methods from DataProvider and descendents, generation code moving to generators.
Removed: Abstract column methods from DataService, generation code moving to generators.

208 lines of code changed in 12 files:

  • SubSonic.Migrations: Migrator.cs (+1 -1)
  • SubSonic.Tests/SqlQuery: SqlServerParserTests.cs (+34)
  • SubSonic/DataProviders: DataProvider.cs (+1 -36), DataService.cs (-84), MySqlDataProvider.cs (+1 -48), OracleDataProvider.cs (-48), SQLiteDataProvider.cs (+2 -48), SqlCEProvider.cs (+6 -185), SqlDataProvider.cs (+21 -213)
  • SubSonic/Migrations: Migration.cs (+35 -11)
  • SubSonic/SqlQuery/SqlGenerators: ANSISqlGenerator.cs (+103 -54), ISqlGenerator.cs (+4 -2)
shawn.oster 2008-03-28 19:34 Rev.: 390

Changed: Moving Migration support from Providers to Generators.
Added: Drop_Table & Create_Table tests.

154 lines of code changed in 4 files:

  • SubSonic.Tests/SqlQuery: SqlServerParserTests.cs (+16)
  • SubSonic/SqlQuery/SqlGenerators: ANSISqlGenerator.cs (+138), ISqlGenerator.cs (new)
shawn.oster 2008-03-16 23:52 Rev.: 359

ADDED: Test to support ActiveList serialization discussion. See: http://forums.subsonicproject.com/forums/t/2822.aspx

20 lines of code changed in 1 file:

  • SubSonic.Tests: ActiveListTests.cs (+20)
shawn.oster 2008-03-03 02:25 Rev.: 347

FIXED: Multiple INs in a SqlQuery caused the first set of IN parameters to be used for the any subsequent INs. See: http://forums.subsonicproject.com/forums/t/2795.aspx

13 lines of code changed in 4 files:

  • SubSonic.Tests/Query2: SelectTests.cs (+12)
  • SubSonic/SqlQuery: SqlQuery.cs (+1 -1)
  • SubSonic/SqlQuery/SqlGenerators: ANSISqlGenerator.cs (changed)
shawn.oster 2008-02-29 20:03 Rev.: 346

CHANGED: Removed several empty ctors marked as private, there is no default ctor when other ctors are present.

1 lines of code changed in 4 files:

  • SubSonic/SqlQuery: Aggregate.cs (+1 -4), Join.cs (changed), Update.cs (-2)

(10 more)

Generated by StatSVN 0.4.1