January 2008 Commit Log

Number of Commits:
54
Number of Active Developers:
2
canofunk 2008-01-31 19:08 Rev.: 296

ADDED: SubStage - Internal scaffold support

463 lines of code changed in 7 files:

canofunk 2008-01-31 16:17 Rev.: 295

ADDED: Scaffold - New property: "UseEmbeddedStyles". When enabled (disabled by default) will emit a dynamic CSS at runtime that results in a more visually refined appearance for the scaffolds.
ADDED: Scaffold - New configurable CSS attributes, "DropDownCssClass" and "CheckBoxCssClass";

177 lines of code changed in 5 files:

canofunk 2008-01-31 11:25 Rev.: 294

ADDED: Scaffold - New property, ScaffoldType. Default is "Normal", but when set to "Auto" will add AutoScaffold functionality, with drop downs that allow user to select a provider and table. Note: For the moment, AutoScaffold.aspx is still a separate entity, but very shortly will be move to use the standard Scaffold control with ScaffoldType set to Auto.
ADDED: Scaffold - New property, AutoGenerateManyToMany. Default is "true". If no tables are set in the property ManyToManyMap and AutoGenerateManyToMany is set to true, the scaffolds will automatically add M2M checkboxes in the bottom of the edit form for any related tables identified as part of generation-time identification of M2M objects.
ADDED: SqlQuery/Insert - Value(column, value) method which allows insert statements to be set individually rather than only as part of a entire array of all columns/values.
ADDED: Utility - New IsMappingTable() overload that takes only a TableSchema as parameter.
CHANGED: Scaffold - Largely rewritten, now uses SqlQuery rather than inline SQL, which should provide better support across providers.
CHANGED: Global - Eliminated the SubSonic.Controls namespace, which was housing only the WebUIHelper class.
CHANGED: Query/ExecuteJoinedDataSet - Method now automatically adds an additional independent PKValue field in column[0] if the first column is also a foreign key. This addresses an issue in current Scaffold funtionality that prevented successful direct editing of mapping tables that don't have independent PK values in as their first column.
CHANGED: SubStage - Improved toggling between Database View/Generated Object View so that tree is no longer fully rebuilt and current node expansion state is preserved.
CHANGED: SubStage - Re-enabled embedded web server and improved error handling.

972 lines of code changed in 17 files:

canofunk 2008-01-29 12:53 Rev.: 293

ADDED: SqlQuery - Support for multiple set operations in a single update query.

13 lines of code changed in 1 file:

canofunk 2008-01-25 19:48 Rev.: 292

CHANGED: Minor variable name and documentation changes...

94 lines of code changed in 7 files:

canofunk 2008-01-24 19:19 Rev.: 291

FIXED: SubStage - Crash on application exit.
CHANGED: SubStage - Set project to not use the Visual Studio hosting process.

5 lines of code changed in 2 files:

canofunk 2008-01-24 18:27 Rev.: 290

FIXED: OracleDataProvider - GetSelectSql() in OracleDataProvider Generates Invalid SQL. See: http://www.codeplex.com/subsonic/WorkItem/View.aspx?WorkItemId=14887
CHANGED: Eliminated SubSonic.CodeGenerator namespace.
CHANGED: Minor performance optimizations to code generation template cleaning methods.

965 lines of code changed in 20 files:

canofunk 2008-01-24 15:58 Rev.: 289

ADDED: SubStage - Option to generate classes in VB.
ADDED: SubStage - Log window.
ADDED: SubStage - Description for provider properties.
FIXED: Issue with template generation in certain non-Western European language scenarios. See: http://forums.subsonicproject.com/forums/p/2506/10778.aspx#10778
CHANGED: Calendar Control - Potentially objectionable variable names.

591 lines of code changed in 12 files:

canofunk 2008-01-23 18:31 Rev.: 288

FIXED: VB.NET Templates - Several issues that resulted non-compiling classes being generated.

149 lines of code changed in 4 files:

canofunk 2008-01-23 17:13 Rev.: 287

CHANGED: When no primary key exists on the source table, ActiveRecord and Controller templates now output an inline comment indicating this condition.

438 lines of code changed in 6 files:

canofunk 2008-01-23 15:27 Rev.: 286

ADDED: SubStage - Support for SQLExpress attached database connection strings.

229 lines of code changed in 4 files:

canofunk 2008-01-23 09:52 Rev.: 285

FIXED: SubStage - Problem importing existing project if connection string did not already exist in the repository.
FIXED: QueryCommand - Provider neutrality issue with RETURN_VALUE parameter.
FIXED: GeneratedScaffoldCodeBehind templates - Class name not properly displayed when saving records.
CHANGED: QueryCommand - Improved performance of a parameter iterations.

42 lines of code changed in 5 files:

canofunk 2008-01-22 19:27 Rev.: 283

FIXED: Configuration issue in SubSonic.Tests.csproj that prevented MySql tests from building

2 lines of code changed in 1 file:

canofunk 2008-01-22 12:27 Rev.: 282

FIXED: Error in Oracle SP_SQL Code. See: http://www.codeplex.com/subsonic/WorkItem/View.aspx?WorkItemId=9875

1 lines of code changed in 1 file:

canofunk 2008-01-22 12:20 Rev.: 281

ADDED: IsCreditCardAny unit test (Thanks Shawn!) See: http://forums.subsonicproject.com/forums/p/2492/10692.aspx#10692

35 lines of code changed in 1 file:

canofunk 2008-01-22 11:42 Rev.: 280

ADDED: SubStage - Embedded Web Server
FIXED: Malformed SQL Generated for IsNull and IsNotNull Comparisons. See: http://www.codeplex.com/subsonic/WorkItem/View.aspx?WorkItemId=14853
FIXED: Multiple Columns in One OrderBy are not Separated by Commas. See: http://www.codeplex.com/subsonic/WorkItem/View.aspx?WorkItemId=14852

1013 lines of code changed in 10 files:

robconery 2008-01-18 22:01 Rev.: 279

Added contributions for tests

68 lines of code changed in 5 files:

canofunk 2008-01-18 16:33 Rev.: 278

CHANGED: SubStage - Importing Projects now scans existing connection strings in SubStage repository, and if it finds one with the same name and connection string value, and will use it rather than importing a duplicate from the config file.

18 lines of code changed in 1 file:

canofunk 2008-01-18 14:19 Rev.: 277

CHANGED: TableSchema - HasForeignKeys is now a property instead of a method
ADDED: TableSchema - HasPrimaryKey method.
ADDED: SubStage - Implemented property display pages for generated classes on Tables/Views (Classes) Columns(Properties) and Stored Procedures (including parameters).
ADDED: SubStage - Option to view the hierarchy of generated objects by either their generated class/property name.
CHANGED: Fixed Copyright date on the help project file.

727 lines of code changed in 6 files:

canofunk 2008-01-18 09:31 Rev.: 276

CHANGED: SubStage - Refactored tree navigation code.
CHANGED: Multiple - Added comment stubs and headers to several new class files.
ADDED: SubStage - Connection string testing.
ADDED: SubSonicCentral - Base class configuration parameters to ConfigBuilder.

3375 lines of code changed in 50 files:

canofunk 2008-01-16 19:44 Rev.: 275

ADDED: Code generation capabilities to SubStage.

429 lines of code changed in 4 files:

robconery 2008-01-16 17:56 Rev.: 274

Set the repository class to partial

1 lines of code changed in 1 file:

robconery 2008-01-16 17:39 Rev.: 273

Fixed Interface warnings and regenerated Test Bits

40 lines of code changed in 3 files:

robconery 2008-01-16 17:19 Rev.: 272

Restructured ActiveRecord Core to allow for Repository Pattern
Depricated AbstractRecord
Moved ActiveRecord to inherit from ReadOnlyRecord (with only change being the ability to Persist)
Added RepositoryRecord class
Added Repository functionality to Struct template (C# and VB)
Created initial CRUD test set for Repository
Added method to Utility to determine if a type is a SubSonicType (IsSubSonicType())
Fixed Shawn Oster's Neep bug :p
Added NorthwindRepos provider to test SetConfig
Fixed bug where ExecuteReader was firing twice
Added IRecordBase and IRepositoryRecord interfaces

2157 lines of code changed in 27 files:

canofunk 2008-01-16 15:13 Rev.: 271

ADDED: Visual improvements to SubStage and other minor changes

617 lines of code changed in 7 files:

canofunk 2008-01-16 12:13 Rev.: 270

ADDED: MySQL Provider Enhancements. (Thanks ncichris!). See: http://www.codeplex.com/subsonic/WorkItem/View.aspx?WorkItemId=14758

167 lines of code changed in 4 files:

canofunk 2008-01-15 20:44 Rev.: 269

ADDED: New build configuration options: Release (SQL Server Only) and Debug (SQL Server Only). When enabled, project excludes other providers from compilation, creating a SubSonic.dll that can referenced without the inclusion of the other provider dll's.

121 lines of code changed in 10 files:

canofunk 2008-01-15 18:16 Rev.: 268

FIXED: Under certain conditions, bad update SQL was generated if table contained ModifiedBy or ModifiedOn columns

102 lines of code changed in 3 files:

canofunk 2008-01-15 15:44 Rev.: 267

ADDED: SubStage can now import existing SubSonic Web.Config and App.Config files into the repository.

305 lines of code changed in 3 files:

robconery 2008-01-14 17:59 Rev.: 266

Updated VB Structs template to have Query factory
Tweaked Query factory bits in structs to use generics and enforce better coding (no strings)
Added generics to all Query bits. You can use this: Select.AllColumnsFrom<Northwind.Product>() and Insert().Into<Northwind.Product>(...) for type safety.
Updated Tests
Fixed MySQLInnoDB boolean set issue

155 lines of code changed in 13 files:

canofunk 2008-01-14 17:28 Rev.: 265

ADDED: SubStage now Invokes Providers and loads up trees of Tables, Views, and SPs

303 lines of code changed in 5 files:

canofunk 2008-01-14 13:26 Rev.: 264

ADDED: Configuration builder capabilities to SubStage

461 lines of code changed in 3 files:

canofunk 2008-01-14 11:18 Rev.: 263

CHANGED: More SubStage Enhancements

633 lines of code changed in 7 files:

canofunk 2008-01-14 08:47 Rev.: 262

CHANGED: More SubStage Stuff

476 lines of code changed in 6 files:

canofunk 2008-01-14 07:40 Rev.: 261

FIXED: Errors in VB_ClassTemplate. See: http://www.codeplex.com/subsonic/WorkItem/View.aspx?WorkItemId=14724

3 lines of code changed in 1 file:

canofunk 2008-01-13 19:45 Rev.: 260

FIXED: Errors in SubStage repository file that caused crashes at launch.

62 lines of code changed in 1 file:

canofunk 2008-01-13 19:40 Rev.: 259

CHANGED: More progress on SubStage
CHANGED: Minor configuration changes to Help generator project file...

667 lines of code changed in 12 files:

canofunk 2008-01-11 18:54 Rev.: 258

CHANGED: More additions to SubStage shell.

437 lines of code changed in 9 files:

robconery 2008-01-11 15:08 Rev.: 257

Fixed solution file.

1 lines of code changed in 1 file:

canofunk 2008-01-11 13:36 Rev.: 256

CHANGED: More work on SubStage.
ADDED: Reflection based Singleton class to SubSonic project (used by SubStage)

6144 lines of code changed in 20 files:

canofunk 2008-01-11 10:01 Rev.: 255

CHANGED: Excluded missing CodeRunner.cs which was preventing successful builds of SubCommander
ADDED: SubStage UI shell. More on this later....

328 lines of code changed in 14 files:

robconery 2008-01-10 23:42 Rev.: 254

fixed transaxtion bug

25 lines of code changed in 1 file:

robconery 2008-01-10 23:07 Rev.: 253

Added Select() for In and NotIn
Segregated tests for clarity
Added From<> for typed expressions
Added Query factory methods to CS_Structs Template (need to update VB as well)
Fixed SP templates (VB and C#) to include schema names

527 lines of code changed in 33 files:

canofunk 2008-01-09 18:24 Rev.: 252

FIXED: Many unit tests
FIXED: CROSS JOIN syntax issue in Query2
CHANGED: Updated Northwind build schemas to support unit test changes.
CHANGED: Unit tests now assume MySql user 'subsonic' for access to the Northwind database (instead of root)
CHANGED: Code reformatting for Query2

1332 lines of code changed in 18 files:

robconery 2008-01-08 16:01 Rev.: 249

Tweaked Sugar/Strings.cs to properly return words based on spaces, not commas
Added InlineQuery to new Query tool - useful for excuting raw SQL.
Update Joins to use every join type

287 lines of code changed in 5 files:

robconery 2008-01-08 15:58 Rev.: 248

Re-added Generated test bits using Northwind and Southwind (northwind for MySQL)
Added in tests for new query engine

86 lines of code changed in 2 files:

robconery 2008-01-08 13:54 Rev.: 246

added InlineQuery, Delete

91 lines of code changed in 4 files:

robconery 2008-01-08 13:52 Rev.: 245

changed project settings

7 lines of code changed in 1 file:

robconery 2008-01-08 13:49 Rev.: 244

17 lines of code changed in 1 file:

robconery 2008-01-07 22:45 Rev.: 243

Added method to TableSchema to return a delimited column list

28 lines of code changed in 1 file:

robconery 2008-01-07 22:43 Rev.: 241

Added Insert and Update to new query bits
Refactored a ton

495 lines of code changed in 10 files:

canofunk 2008-01-07 14:15 Rev.: 239

CHANGED: Updated Copyright Date
FIXED: Minor XHTML compliance issue in SSC MasterPage.master

3 lines of code changed in 2 files:

robconery 2008-01-07 03:02 Rev.: 238

Adding in first checkin of new query tool (tests to follow)
Added Object overrides for TableSchema
Added IAbstractList.cs
Added ParseAndRunSqlCommand to Query
Added ParseAndRunSqlFile to Query (for large scripts)

605 lines of code changed in 19 files:

canofunk 2008-01-02 15:33 Rev.: 237

FIXED: Record.Save() Should not Save Non-Dirty Fields when Updating (Re-Open). See: http://www.codeplex.com/subsonic/WorkItem/View.aspx?WorkItemId=14187
FIXED: StoredProcedure.CommandTimeout Value is Ignored. See: http://www.codeplex.com/subsonic/WorkItem/View.aspx?WorkItemId=11766
CHANGED: Obsoleted several methods in Utility.cs.

77 lines of code changed in 3 files:

December 2007 »

Generated by StatSVN 0.4.1