May 2007 Commit Log

Number of Commits:
62
Number of Active Developers:
8
canofunk 2007-05-30 22:06 Rev.: 70

FIX: Unit Tests and Database scripts now aligned. (Thanks Jay!)
FIX: Parameter typing issue on M2M related collections

264 lines of code changed in 15 files:

canofunk 2007-05-28 22:05 Rev.: 69

FIX: MySQL stored procedures are now working.
FIX: MYSQL Query now working properly.

CHANGE: Minor changes to Example.cs to ensure provider neutrality.

NOTE: The MySQL.Data library reference has been update to a custom patched version of 5.0.7. In the process of enable stored procedures under MySQL, a bug in the library was identified that could not be circumvented. I have included the patched source code in a zip file in the Dependencies folder. When a fix for this bug is incorporated into the trunk, we will return to using that version.

53 lines of code changed in 5 files:

haacked 2007-05-28 20:11 Rev.: 68

IMPROVED: Now it is possible to get the @RETURN_VALUE from a stored procedure.

Sample Usage:

StoredProcedure proc = StoredProcedures.ProcName();
proc.Command.AddReturnParameter();
proc.Execute();
int returnValue = (int)proc.OutputParameters[proc.OutputParameters.Count - 1];

NOTE: For now, you have to explicitly add a return parameter to the command until we know whether all the major databases support this concept. We don't want to automatically add that return value if it is SQL Server specific.

(Also added a unit test for this and cleaned up a bit of related code)

43 lines of code changed in 4 files:

canofunk 2007-05-28 12:10 Rev.: 67

Calendar Improvements:

Improved Localization/Internationalization Support.
Fixed some CSS major issues.
Fixed a small issue with German language settings.

39 lines of code changed in 3 files:

haacked 2007-05-28 04:09 Rev.: 66

Changed the StoredProcedure.Execute() method to return an int - the number of rows affected based on whatever the underlying provider returns.

7 lines of code changed in 1 file:

lawrence.beall 2007-05-28 01:46 Rev.: 64

Added mysql provider to list if check in the GetSPSchemaCollection method. This should allow for stored proc generation, but it's still not working. :s

11 lines of code changed in 1 file:

lawrence.beall 2007-05-28 01:45 Rev.: 63

Made code change to use MySql providers built in DeriveParameters method to determine stored proc parameters. Also removed old code from the previously updated methods.

12 lines of code changed in 1 file:

canofunk 2007-05-27 11:03 Rev.: 62

Applied patch (Thanks datacop!) to address naming issue in Start Site ContentService.cs.

See:

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

9 lines of code changed in 1 file:

canofunk 2007-05-26 19:31 Rev.: 60

- Enabled M2M support in AutoScaffold
- Fixed Sorting Issue on joined columns in ExecuteDataSet
- Fixed Issue with ORDER_BY clauses not being added to OrderByCollections
- Moved SubSonicCentral javascript to embedded resource, and removed scripts folder.

137 lines of code changed in 13 files:

canofunk 2007-05-25 18:45 Rev.: 59

Updated Enterprise Library Assemblies to version 3.1. Did a little miscellaneous sugar sweetening.

32 lines of code changed in 3 files:

robconery 2007-05-25 17:14 Rev.: 58

Added whole mess of utility methods, including File and Web

478 lines of code changed in 6 files:

canofunk 2007-05-25 12:15 Rev.: 57

- Fixed some "Sugar" issues.
- Upgraded MbUnit to 2.4
- Updated SSC Northwind schema and data scripts

588 lines of code changed in 7 files:

gavinjoyce 2007-05-25 09:23 Rev.: 56

Fix Work Item 10346: AddManyToMany(): The ProviderName was not being passed to Query.BuildTableSchema(tableName, provider). Thanks to rossdjones for reporting.

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

1 lines of code changed in 1 file:

gavinjoyce 2007-05-25 06:33 Rev.: 55

Work Item 10564 : Readded the MbUnit project reference hint path for those who don't have MbUnit in the GAC. (Thanks Remmus)

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

5 lines of code changed in 1 file:

gavinjoyce 2007-05-25 06:18 Rev.: 54

Simple fix for Work Item 10562 - HoursFromNow was subtracting rather than adding. (Thanks to Remmus for reporting issue)

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

1 lines of code changed in 1 file:

robconery 2007-05-24 22:34 Rev.: 53

Added new set of helper classes to help with dates, strings, and numbers. Will work on this for a while, to make using these types easier. An example here is "DateTime dt=Dates.MinutesAgo(20)". Another is "bool result=Numbers.IsInteger("12");"
Added support for the latest release of MbUnit.

428 lines of code changed in 8 files:

canofunk 2007-05-24 14:31 Rev.: 52

- Fixed issue with SubSonic.Tests.csproj file retaining VSTS binding info (Thanks Remmus!)
- Replaced calendar icon

0 lines of code changed in 2 files:

gavinjoyce 2007-05-24 11:49 Rev.: 51

Fixing a small issue introduced with the last fix (svn revision 50).

The col.DisplayName was being overwritten when processing an index. To address this, the col.ApplyExtendedProperties() is now run each time. This ensures the the extended property name takes precedent over anything else.

1 lines of code changed in 1 file:

gavinjoyce 2007-05-24 10:18 Rev.: 50

Fixing bug where an exception occurs when a table has both multiple indexes defined and extended properties.

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

6 lines of code changed in 1 file:

canofunk 2007-05-23 19:22 Rev.: 49

Miscellaneous changes as recommended by FxCop. One step on the road to CLS compliance

125 lines of code changed in 17 files:

canofunk 2007-05-23 15:41 Rev.: 48

Implemented patch to fix extended properties support for SQL 2000. (Thanks lin2000y!)

3 lines of code changed in 1 file:

canofunk 2007-05-23 10:10 Rev.: 47

Added ODS Controller Delete method for tables with multiple primary keys. (Thanks photoz!)

See:

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

70 lines of code changed in 2 files:

canofunk 2007-05-23 09:53 Rev.: 46

Fixed issue in ClassTemplate where foreign keys with transformed columns names were not properly set. (Thanks Jay!)

See:

http://actionpack.wekeroad.com/forums/t/950.aspx

5 lines of code changed in 3 files:

gavinjoyce 2007-05-23 09:41 Rev.: 45

Fix for work item 10326 (http://www.codeplex.com/actionpack/WorkItem/View.aspx?WorkItemId=10326)

The PK value was being added to the parameters collection twice causing an exception on save.

1 lines of code changed in 1 file:

canofunk 2007-05-23 09:33 Rev.: 44

AbstractRecord.SetDefaults() now marked as virtual. (Thanks Dave!)

1 lines of code changed in 1 file:

canofunk 2007-05-23 09:26 Rev.: 43

- Added MbUnit dependencies to solution and fixed references (duh)

4 lines of code changed in 1 file:

canofunk 2007-05-23 08:13 Rev.: 42

- Converted VSTS Unit Tests to MbUnit
- Changed testing namespace and assembly from ActionPack.Tests to SubSonic.Tests

126 lines of code changed in 15 files:

haacked 2007-05-23 01:51 Rev.: 39

Updated the unit test to demonstrate the strongly typed access to table names and columns.

1 lines of code changed in 1 file:

haacked 2007-05-23 01:23 Rev.: 38

Implemented a preliminary version of the Constraint based syntax for building queries based on the work done in NUnit: http://nunit.com/index.php?p=constraintModel&r=2.4

Here's an example of the new syntax in action:

new Query("Products").WHERE("ProductID", Is.LessThan(5)).ExecuteReader();

The point of this is it is a bit more readable than:

new Query("Products").WHERE("ProductID", Comparison.LessThan, 5).ExecuteReader();

and provides us more type safety and intellisense thaN:

new Query("Products").WHERE("ProductID < 5").ExecuteReader();

Especially given that "5" is probably going to be a parameter. We don't have to resort to string concatenation.

I'd like to add the following, but I need a deeper understanding of the current system of building queries before I do so:

new Query("Products").WHERE("ProductID", Is.In(5,6,7,8,9)).ExecuteReader();

184 lines of code changed in 6 files:

canofunk 2007-05-22 17:18 Rev.: 37

Updated Scaffolds to use new Calendar control. Setting time does not work correctly yet, but should shortly.

Fixed an issue with the constant names for Scaffold templates that prevented generation through the web interface.

143 lines of code changed in 6 files:

Christopher.Karper 2007-05-22 13:33 Rev.: 36

Added constructor to StoredProcedure that uses the default DataProvider

5 lines of code changed in 1 file:

canofunk 2007-05-22 11:50 Rev.: 35

Added new Calendar Control (no PostBack; time support) that will replace Calendars used in Scaffolds in a near term release.

6724 lines of code changed in 59 files:

Christopher.Karper 2007-05-22 11:20 Rev.: 34

Enhanced ManyToManyList Control to use default provider, and now you can specify a display field.

29 lines of code changed in 1 file:

canofunk 2007-05-21 15:58 Rev.: 33

Fixed casing issue with HiddenGridColumns (Thanks darkeye!)

See:

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

1 lines of code changed in 1 file:

canofunk 2007-05-21 14:09 Rev.: 32

Changed the behavior of Utility.IsRegexMatch() to better handle include/exclude lists. See:

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


Updated SqlDataProvider to support the use of newsequentialid() as uniqueidentifier column defaults. See:

http://actionpack.wekeroad.com/forums/t/982.aspx
http://www.codeplex.com/actionpack/WorkItem/View.aspx?WorkItemId=10214

59 lines of code changed in 6 files:

canofunk 2007-05-21 10:51 Rev.: 31

Fixed issue with retrieving current table and view lists when switching connections on the fly.

See:

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

37 lines of code changed in 2 files:

canofunk 2007-05-21 10:17 Rev.: 30

Fixed an issue with view templates referencing property names rather than column names when getting or setting values. (Thanks photoz!)

See:

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

2 lines of code changed in 3 files:

canofunk 2007-05-21 09:49 Rev.: 29

Added support for computed columns (Thanks Espo!)

See:

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

6 lines of code changed in 3 files:

canofunk 2007-05-21 06:32 Rev.: 28

Added support for nullable stored procedure parameters (Thanks Jeff!)

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

10 lines of code changed in 2 files:

lawrence.beall 2007-05-21 00:35 Rev.: 27

1 lines of code changed in 1 file:

lawrence.beall 2007-05-21 00:31 Rev.: 25

Rewrote most of the provider to work with AutomaticConnectionScope. Does compile, but has not been fully tested.

246 lines of code changed in 1 file:

canofunk 2007-05-20 19:17 Rev.: 24

- Added support for pre-compile directives via SQL extended properties. Initially, the supported directives are merely overrides for existing class and property naming, but should serve to demonstrate the concept. The intended use of this functionality to is to deliver downstream custom behavior in areas such as the scaffold without resorting to significant configuration or mapping files. This feature is controlled via the useExtendedProperties configuration value and is disabled by default. More on this soon...
- Folded ELib2DataProvider into ELib3DataProvider.cs and deleted ELib2DataProvider.cs

349 lines of code changed in 11 files:

canofunk 2007-05-18 20:31 Rev.: 23

- Added support for chained ordering in Query.cs, via OrderByCollection and ORDER_BY.
- Fixed some errors in query parsing that could result in incorrect results and/or execution failure.
- Alphabetically ordered some of the constants classes.

380 lines of code changed in 14 files:

gavinjoyce 2007-05-16 12:14 Rev.: 22

Reverting changes to connectionStrings.config, I committed my local changes by mistake.

2 lines of code changed in 1 file:

gavinjoyce 2007-05-16 12:11 Rev.: 21

Added files and folders to the global svn ignore list

2 lines of code changed in 1 file:

canofunk 2007-05-15 16:24 Rev.: 19

Removed SubSonicCentral Bin directory contents

0 lines of code changed in 6 files:

Christopher.Karper 2007-05-15 15:12 Rev.: 18

Fixed my unixed EOLs in the .csproj files.

103 lines of code changed in 2 files:

canofunk 2007-05-15 10:51 Rev.: 17

Fixed default provider issue in SubCommander (Thanks Dave!)

See:
http://actionpack.wekeroad.com/forums/thread/3939.aspx

11 lines of code changed in 2 files:

canofunk 2007-05-15 10:38 Rev.: 16

Fixed VB view template issue (Thanks adi b!)

See:
http://actionpack.wekeroad.com/forums/thread/4049.aspx

1 lines of code changed in 1 file:

canofunk 2007-05-15 10:11 Rev.: 15

Removed Resources.resx from solution (template files are embedded at compile time)

154 lines of code changed in 1 file:

canofunk 2007-05-15 09:48 Rev.: 14

Fix for Work Item 10300.

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

1 lines of code changed in 1 file:

Christopher.Karper 2007-05-14 22:47 Rev.: 13

Corrected reference casing, Mono just likes it better when it's right

262 lines of code changed in 2 files:

canofunk 2007-05-14 21:51 Rev.: 12

Added SubCommander templateDirectory fix. (Thanks Dave!)

See:
http://actionpack.wekeroad.com/forums/thread/4080.aspx

2 lines of code changed in 1 file:

damieng 2007-05-13 21:02 Rev.: 11

Removed some unnecessary files (user-specific settings, some binaries and old source control settings)

0 lines of code changed in 1 file:

canofunk 2007-05-12 18:58 Rev.: 10

Template files now embedded as resources. Resources.resx is no longer used and will be removed barring issues with embedded templates.

133 lines of code changed in 15 files:

Unknown 2007-05-11 19:56 Rev.: 9

Initial Import of 2.0.1a

32325 lines of code changed in 194 files:

robconery 2007-05-11 19:43 Rev.: 8

Resetting source to 2.0.1a release

0 lines of code changed in 191 files:

canofunk 2007-05-11 18:14 Rev.: 7

Mirrors CodePlex Change Set 22363

141 lines of code changed in 12 files:

robconery 2007-05-11 14:48 Rev.: 6

Added DropDown.cs and RadioButton.cs with Photoz updated. Thanks!

159 lines of code changed in 2 files:

robconery 2007-05-10 21:29 Rev.: 5

Fixed Web.config issue with default SQL service
Changed out the PageCollection hierarchy routine to be code-based, not DB

121 lines of code changed in 5 files:

Unknown 2007-05-10 18:19 Rev.: 4

73 lines of code changed in 115 files:

Unknown 2007-05-10 15:20 Rev.: 2

Initial Load

32270 lines of code changed in 191 files:

Generated by StatSVN 0.4.1