Added, modified to work with starter site (master page reference, etc.)
1 lines of code changed in 2 files:
Added time fields to javaScriptFormat template
2 lines of code changed in 1 file:
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:
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:
FIXED: ODS Controllers no longer generate composite key Delete() method when for non-composite key tables
3 lines of code changed in 3 files:
FIXED: Actually fixed the problem with the missing files I claimed to in Rev 132
113 lines of code changed in 5 files:
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:
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:
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:
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:
FIXED: SubCommander generates a NRE when a using include/exclude lists with new template engine.
3 lines of code changed in 1 file:
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:
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:
CHANGED: Updated Version Info to 2.0.2. Small compatibility changes for StarterSite
12 lines of code changed in 8 files:
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:
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:
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:
FIXED: Oracle INSERT fails. See: http://www.codeplex.com/actionpack/WorkItem/View.aspx?WorkItemId=10276
2 lines of code changed in 1 file:
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:
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:
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:
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:
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:
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:
CHANGED: CheckLogicalDelete now treats a null value as having the same meaning as false (not deleted)
2 lines of code changed in 1 file:
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:
ADDED: Support for DISTINCT in Query operations, either as Query().DISTINCT().WHERE.... or qry.isDistinct = true
21 lines of code changed in 5 files:
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:
FIXED: Issue with ODS Controllers not properly closing readers (Thanks photoz!)
4 lines of code changed in 2 files:
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:
1 lines of code changed in 1 file:
MySqlDataProvider -- Removed support for GetForeignKeyTableName and moved to the InnoDB provider.
4 lines of code changed in 1 file:
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:
MySqlDataProvider -- Added code for output parameters on stored procedures. Work Item: 10798
47 lines of code changed in 1 file:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
UNDO: Rollback Rev 88 PK/FK Fix to 87 content due to regression issues.
4 lines of code changed in 2 files:
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:
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:
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:
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:
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:
CHANGED: Miscellaneous minor performance tweaks as identified by VSTS Code Analysis
68 lines of code changed in 19 files:
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:
ADD: GetGuidParameter() in Utility.cs
13 lines of code changed in 1 file:
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:
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:
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:
ADDED: Sugar.Validation class containing a number of different string validators.
501 lines of code changed in 5 files:
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:
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:
Remove File methods from Utility and use the ones in SubSonic.Sugar.File instead.
15 lines of code changed in 4 files:
Refactor out DataProviderTypes enum & ProviderType properties and move provider-specific code into the DataProvider's.
157 lines of code changed in 14 files:
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 »