June 2007 Commit Log

Number of Commits:
66
Number of Active Developers:
7
jongalloway 2007-06-29 19:44 Rev.: 138

Added, modified to work with starter site (master page reference, etc.)

1 lines of code changed in 2 files:

jongalloway 2007-06-29 18:42 Rev.: 137

Added time fields to javaScriptFormat template

2 lines of code changed in 1 file:

canofunk 2007-06-29 14:43 Rev.: 136

ADDED: Provider level Configuration setting "fixDatabaseObjectCasing" which allows disabling of SubSonic case changes to database objects when set to false. It is set to true by default.

28 lines of code changed in 8 files:

damieng 2007-06-29 05:56 Rev.: 135

Change Sugar.File.FromByteCount to use long instead of int to cope with gigabyte sizing. Replaced floating point numbers with decimal constants to avoid unexpected rounding issues of floating point operations and make it clearer to read. Added xmldoc comments.

23 lines of code changed in 1 file:

canofunk 2007-06-27 15:53 Rev.: 134

FIXED: ODS Controllers no longer generate composite key Delete() method when for non-composite key tables

3 lines of code changed in 3 files:

canofunk 2007-06-27 15:10 Rev.: 133

FIXED: Actually fixed the problem with the missing files I claimed to in Rev 132

113 lines of code changed in 5 files:

canofunk 2007-06-27 14:00 Rev.: 132

FIXED: Scaffold calendar display issues for certain cultures.
FIXED: VB_ClassTemplate.aspx issue (Thanks Jim!) See: http://www.codeplex.com/actionpack/WorkItem/View.aspx?WorkItemId=11379 may also be related to: http://www.codeplex.com/actionpack/WorkItem/View.aspx?WorkItemId=11330
FIXED: Missing file issue from 131 that prevented a clean compile.

2797 lines of code changed in 14 files:

robconery 2007-06-26 21:05 Rev.: 131

FIXED: Sugar/Strings methods to actually work (Chop, etc). Added new method called Clip() that trims from beginning
ADDED: RESTHandler initial checkin.

543 lines of code changed in 9 files:

canofunk 2007-06-26 20:43 Rev.: 130

ADDED: Support for user defined namespaces to be added to generated template via new provider level configuration setting, "additionalNamespaces" which is a comma-separated list of namespaces that will be turned into usings or Imports.
FIXED: Refined build provider environment detection to deal with cases where the App_Code directory already contains a .vb file.
FIXED: Several issues related to the use of views and DB object names containing spaces in Quicktable.

854 lines of code changed in 21 files:

canofunk 2007-06-25 21:02 Rev.: 129

CHANGED: BuildProvider now compiles to C# regardless of whether a project is C# or VB. This should, once and for all, deal with the issue of VB code in .cs files and C# code in .vb files.
CHANGED: Syntax and formatting clean up across the code base (gotta keep ReSharper happy).

608 lines of code changed in 45 files:

canofunk 2007-06-25 06:45 Rev.: 128

FIXED: SubCommander generates a NRE when a using include/exclude lists with new template engine.

3 lines of code changed in 1 file:

damieng 2007-06-25 04:57 Rev.: 127

Switched to the "using" keyword to ensure dispoal on exception. Made parameter names consistent and added xml comment documentation.

38 lines of code changed in 1 file:

canofunk 2007-06-24 18:45 Rev.: 126

ADDED: Implemented new template execution engine. The performance improvement is, well, dramatic
ADDED: New SubSonicService level tag "enableTrace". By default, this is now set to false both to address medium trust issues, and to limit performance overhead.
CHANGED: SecurityAction.RequestMinimum in SubSonic AssemblyInfo.cs now set to false to address medium trust provider issues.
FIXED: Significant issue with logical deletes.

768 lines of code changed in 17 files:

canofunk 2007-06-22 18:13 Rev.: 125

CHANGED: Updated Version Info to 2.0.2. Small compatibility changes for StarterSite

12 lines of code changed in 8 files:

canofunk 2007-06-22 16:27 Rev.: 124

CHANGED: Replaced obsolete MySqlCommand.Parameters.Add() methods with MySqlCommand.Parameters.AddWithValue()

NOTE: Barring unforeseen circumstances, this is the code base that will be 2.0.2 EDIT: Need to pull the old setup project. There will be a Revision 125.

6 lines of code changed in 2 files:

canofunk 2007-06-22 13:41 Rev.: 123

FIXED: Issue with Oracle column MaxLength settings. See: http://www.codeplex.com/actionpack/WorkItem/View.aspx?WorkItemId=10271

3 lines of code changed in 2 files:

canofunk 2007-06-22 12:59 Rev.: 121

FIXED: Issue with provider column nullability detection. See: http://www.codeplex.com/actionpack/WorkItem/View.aspx?WorkItemId=10302

1 lines of code changed in 1 file:

canofunk 2007-06-22 12:39 Rev.: 120

FIXED: Oracle INSERT fails. See: http://www.codeplex.com/actionpack/WorkItem/View.aspx?WorkItemId=10276

2 lines of code changed in 1 file:

canofunk 2007-06-22 10:13 Rev.: 119

FIXED: Issue where Query aggregate functions could only process a single WHERE clause. See: http://www.codeplex.com/actionpack/WorkItem/View.aspx?WorkItemId=10267
FIXED: Issue with FetchBy methods and logical deletes caused by operate precedence issue.

37 lines of code changed in 4 files:

lawrence.beall 2007-06-21 21:26 Rev.: 118

MySqlDataProvider -- Modified return type for timestamp to return DbType.DateTime. Sorry this was a late addition as it was an easy fix and needed to be included.

1 lines of code changed in 1 file:

canofunk 2007-06-21 20:55 Rev.: 117

FIXED: Issue where AD integrated schema names could result in uncompilable code. See: http://www.codeplex.com/actionpack/WorkItem/View.aspx?WorkItemId=11252

1 lines of code changed in 1 file:

canofunk 2007-06-21 19:23 Rev.: 116

FIXED: Addressed issue in logical delete handling introduced in Rev 113. If you've been using Rev 113-115, please upgrade.

5 lines of code changed in 1 file:

canofunk 2007-06-21 19:03 Rev.: 115

DELETED: localtestrun.testrunconfig & SubSonic.vsmdi (not used with MbUnit)
FIXED: Added DISTINCT support to GetRecordCount(), GetCount(), GetSum(), GetAverage()
ADDED: generateODSControllers provider configuration property (default: true) that allows disable of ODS generation. See: http://www.codeplex.com/actionpack/WorkItem/View.aspx?WorkItemId=11233
FIXED: SqlDataReader might not be properly closed in the event of an inner exception. (Thanks marcomagdy!) See: http://www.codeplex.com/actionpack/WorkItem/View.aspx?WorkItemId=11226

46 lines of code changed in 10 files:

canofunk 2007-06-20 12:49 Rev.: 114

FIXED: BuildProvider code generation for VB that was broken by Rev 112 refactoring
FIXED: Templates no longer generate FK/PK/M2M methods when those tables themselves are not generated.

78 lines of code changed in 9 files:

canofunk 2007-06-20 11:06 Rev.: 113

CHANGED: CheckLogicalDelete now treats a null value as having the same meaning as false (not deleted)

2 lines of code changed in 1 file:

damieng 2007-06-19 18:57 Rev.: 112

Refactor: Remove all programming language specific code into implementations of ICodeLanguage. This will enable additional languages to be more easily added. Further refactoring to continue regarding Utility stubs and Constants.

575 lines of code changed in 25 files:

canofunk 2007-06-19 17:47 Rev.: 111

ADDED: Support for DISTINCT in Query operations, either as Query().DISTINCT().WHERE.... or qry.isDistinct = true

21 lines of code changed in 5 files:

canofunk 2007-06-19 15:51 Rev.: 110

FIXED: Read only columns improperly validated. See: http://www.codeplex.com/actionpack/WorkItem/View.aspx?WorkItemId=11190

46 lines of code changed in 1 file:

canofunk 2007-06-19 13:04 Rev.: 109

FIXED: Issue with ODS Controllers not properly closing readers (Thanks photoz!)

4 lines of code changed in 2 files:

canofunk 2007-06-19 13:00 Rev.: 108

ADDED: Support for Serialization and ToXML() for tables with nullable columns via a new generateNullableProperties setting
ADDED: New Sugar Methods, two date formatting, a methods to determine if a given request is on the local network, and one to generate a spam-free email link.
ADDED: Support for Inspect() to return query SQL (but no table) as plain text when HttpContext.Current is null
FIXED: Syntax Error in VB ODS Controller.

269 lines of code changed in 14 files:

lawrence.beall 2007-06-18 20:39 Rev.: 107

1 lines of code changed in 1 file:

lawrence.beall 2007-06-16 01:50 Rev.: 106

MySqlDataProvider -- Removed support for GetForeignKeyTableName and moved to the InnoDB provider.

4 lines of code changed in 1 file:

lawrence.beall 2007-06-16 01:49 Rev.: 105

MySqlInnoDBDataProvider -- New MySql provider to provide relationship support that is only available in the INNODB engine. This provider simply inherits from the MySql provider and overrides where necessary for relationship support. It is far from complete and a WIP. It does however let you use the autoscaffold for fk->pk relationships. :)

69 lines of code changed in 1 file:

lawrence.beall 2007-06-14 22:48 Rev.: 104

MySqlDataProvider -- Added code for output parameters on stored procedures. Work Item: 10798

47 lines of code changed in 1 file:

canofunk 2007-06-14 20:24 Rev.: 103

FIXED: Fixed issue with Update and Delete Queries not respecting additional WHERE parameters. See http://www.codeplex.com/actionpack/WorkItem/View.aspx?WorkItemId=11114 (Thanks Sean!)
FIXED: Issue with Parameters not being added to Provider Transactions (Thanks Justin!) See:
http://www.codeplex.com/actionpack/WorkItem/View.aspx?WorkItemId=11069
CHANGED: Optimized Utility.WriteTrace() to reduce overhead in non-trace scenarios.
UPDATED: Refined Transaction Unit Tests.

88 lines of code changed in 7 files:

canofunk 2007-06-14 12:32 Rev.: 102

ADDED: Boolean overload for new ActiveRecord derive objects, that specifies explicit setting of default, regardless of provider setPropertyDefaultsFromDatabase value:
UPDATED: Regenerated test classes and modified new object default tests based on bool set defaults overload.
UPDATED: Removed Utility.GetVariableType overload that did not require that the column nullability be included. Updated all template references.
FIXED: VB SP Template issue with nullable types

60 lines of code changed in 9 files:

gavinjoyce 2007-06-14 10:42 Rev.: 101

FIX: Replaced some C# syntax which sneaked its way into the template VB_ODSController.aspx. Thanks UKISS for reporting this bug):

http://www.codeplex.com/actionpack/WorkItem/View.aspx?WorkItemId=11089

6 lines of code changed in 1 file:

canofunk 2007-06-13 13:49 Rev.: 100

CHANGED: SetDefaults() no longer initializes property values from database unless specifically configured to. See: http://monk.thelonio.us/archive/2007/06/13/Behavior-Change-in-SetDefaults.aspx
FIXED: Datatype mapping issue for SQL timestamp types.

21 lines of code changed in 6 files:

gavinjoyce 2007-06-13 10:20 Rev.: 99

Fixed issue with VB.NET template syntax. As in the previous checkin, The ReadOnlyList VB template syntax was also invalid.

See : http://www.codeplex.com/actionpack/WorkItem/View.aspx?WorkItemId=11049

1 lines of code changed in 1 file:

gavinjoyce 2007-06-13 09:17 Rev.: 98

Fixed issue with VB template - revision 85 introduced some invalid syntax :

Inherits ActiveList(Of <%=className%>, Of <%=className%>Collection)

has been changed to:

Inherits ActiveList(Of <%=className%>, <%=className%>Collection)

See: http://www.codeplex.com/actionpack/WorkItem/View.aspx?WorkItemId=11049

1 lines of code changed in 1 file:

canofunk 2007-06-12 17:47 Rev.: 97

FIXED: QuickTable loses header row. See: http://actionpack.wekeroad.com/forums/p/999/5151.aspx
ADDED: Nice patch courtesy of Adam Fordham, that makes SubSonic CLS compliant!
FIXED: View generation issue with SubCommander. Thanks to Adam for this one as well!

92 lines of code changed in 8 files:

canofunk 2007-06-12 11:07 Rev.: 96

BREAKING CHANGE: Refactored Inflector.ToPascalCase() to work as intended. Depending on your naming structure, this may have a significant impact on the naming of generated code. See: http://monk.thelonio.us/archive/2007/06/11/A-Breaking-Change.aspx
FIXED: SubCommander ignore templateDirectory argument. See: http://www.codeplex.com/actionpack/WorkItem/View.aspx?WorkItemId=10948
FIXED: regexDictionaryReplace now handles key/value pairs on new lines.
FIXED: Updated Enterprise Library reference in SubCommander App.config from 2.0.0.0 to 3.1.0.0

125 lines of code changed in 7 files:

canofunk 2007-06-10 14:21 Rev.: 95

FIXED: Minor changes to MasterPage and DataService to address condition where DataProviders were not initialized when first referenced:
ADDED: Property setters on FK collections when generated as properties.

19 lines of code changed in 4 files:

canofunk 2007-06-08 21:11 Rev.: 94

FIXED: Applied patch to address property error in CS_ViewTemplate.aspx and VB_ViewTemplate.aspx (Thanks Rony!)

2 lines of code changed in 2 files:

canofunk 2007-06-08 19:51 Rev.: 93

UPDATED: Added Microsoft.SqlServer.SqlEnum.dll and Microsoft.SqlServer.BatchParser.dll for SubCommander support in environments without existing SQL Server Installation.

9 lines of code changed in 1 file:

canofunk 2007-06-08 19:25 Rev.: 92

FIXED: "SQLDataProvider.ExecuteTransaction depends on defaultProvider"
See: http://www.codeplex.com/actionpack/WorkItem/View.aspx?WorkItemId=10933
ADDED: Sugar.Strings methods for encoding/decoding entity characters.
CHANGED: Improved syntax on provider connection references.

329 lines of code changed in 5 files:

canofunk 2007-06-08 07:23 Rev.: 91

UPDATED: Newer versions of the SQL SMO assemblies (9.0.3042). Added Microsoft.SqlServer.SmoEnum.dll for environments without existing SQL Server Installation.

7 lines of code changed in 1 file:

canofunk 2007-06-07 17:48 Rev.: 90

FIXED: FK/PK Issue introduced in Revision 88 (rollback in R89)
FIXED: SubCommander project now reference SQL libraries from dependency folder, not local installation.
FIXED: QuickTable loses states when PostBack is initiated from external control.
ADDED: TagPrefix to SubSonic assembly. (Thanks offwhite!) See:
http://www.codeplex.com/actionpack/WorkItem/View.aspx?WorkItemId=10826

78 lines of code changed in 5 files:

canofunk 2007-06-07 16:04 Rev.: 89

UNDO: Rollback Rev 88 PK/FK Fix to 87 content due to regression issues.

4 lines of code changed in 2 files:

canofunk 2007-06-07 12:06 Rev.: 88

FIX: Code generation errors when table contains a FK reference to a table whose PK is the same name as the table itself.
FIX: SQL Server tinyint data type mapping issue. (Thanks edgaron!)

12 lines of code changed in 5 files:

canofunk 2007-06-06 10:37 Rev.: 87

CHANGE: Another killer patch courtesy of Jay Turpin applied. A large portion of redundant collection code has been moved out of the templates and up to the base class. This should reduce the size and line of code in collections classes significantly.
NOTE: It will be necessary to regenerate your classes after downloading this revision!

113 lines of code changed in 7 files:

scottwater 2007-06-06 08:36 Rev.: 86

Added Loaded method which is invoked after an object is fully loaded.
Set actions after an object is loaded to a single location

14 lines of code changed in 1 file:

canofunk 2007-06-05 17:35 Rev.: 85

ADDED: An excellent patch courtesy of Jay Turpin, which tracks dirty columns, allowing for high performance updates via the a new BatchSave() on collections.
CHANGED: Load() method are now marked virtual

310 lines of code changed in 13 files:

canofunk 2007-06-05 07:58 Rev.: 84

FIXED: "QuickTable control doesn't filter results correctly"
See: http://www.codeplex.com/actionpack/WorkItem/View.aspx?WorkItemId=10701
IMPROVED: Minor performance QuickTable performance tweaks

33 lines of code changed in 1 file:

canofunk 2007-06-04 19:22 Rev.: 83

CHANGED: Miscellaneous minor performance tweaks as identified by VSTS Code Analysis

68 lines of code changed in 19 files:

canofunk 2007-06-04 18:22 Rev.: 82

FIXED: Applied patch to fix issues with medium trust and partially trusted callers on signed SubSonic assembly (thanks photoz!)
ADDED: IsEven() and IsOdd() methods to Sugar.Numbers

29 lines of code changed in 4 files:

canofunk 2007-06-04 14:32 Rev.: 81

ADD: GetGuidParameter() in Utility.cs

13 lines of code changed in 1 file:

canofunk 2007-06-04 08:10 Rev.: 80

ADD: Strong Naming for SubSonic.dll
CHANGE: Recompiled MySql.Data.dll with SNK. Updated source code archive.

5 lines of code changed in 2 files:

canofunk 2007-06-04 07:01 Rev.: 79

ADD: Where clause support for DropDown control.
See: http://www.codeplex.com/actionpack/WorkItem/View.aspx?WorkItemId=10212

Thanks to dstoikof/Espo for this!

16 lines of code changed in 1 file:

canofunk 2007-06-04 06:44 Rev.: 78

FIX: ValidateColumnSettings Boolean failure - MySql
See: http://www.codeplex.com/actionpack/WorkItem/View.aspx?WorkItemId=10735

FIX: MySql - DelimitDbName() method
See: http://www.codeplex.com/actionpack/WorkItem/View.aspx?WorkItemId=10734

Thanks to csokun for these bug reports and fixes!

12 lines of code changed in 3 files:

canofunk 2007-06-03 18:44 Rev.: 77

ADDED: Sugar.Validation class containing a number of different string validators.

501 lines of code changed in 5 files:

canofunk 2007-06-03 14:38 Rev.: 76

FIX: Some View Template and Struct column mapping issues.
FIX: Error test logic for starting and stopping MSDTC.

Thanks to Jay Turpin for this patch!

18 lines of code changed in 6 files:

damieng 2007-06-03 13:51 Rev.: 75

Apply Theme="Default" to pages that were missing it to stop the text navigation size jumping up and down between pages. Added Title to the Configuration Builder page.

7 lines of code changed in 4 files:

damieng 2007-06-02 11:59 Rev.: 73

Remove File methods from Utility and use the ones in SubSonic.Sugar.File instead.

15 lines of code changed in 4 files:

damieng 2007-06-02 06:03 Rev.: 72

Refactor out DataProviderTypes enum & ProviderType properties and move provider-specific code into the DataProvider's.

157 lines of code changed in 14 files:

canofunk 2007-06-01 15:25 Rev.: 71

FIX: DataReader closure issue when using dynamic connection strings. See: http://actionpack.wekeroad.com/forums/p/607/4762.aspx#4762
FIX: Missing testing class from previous revision
CHANGE: Updated Northwind schema and data scripts.

37 lines of code changed in 2 files:

May 2007 »

Generated by StatSVN 0.4.1