Anyone can upload a patch. Patches are evaluated by project team members and either Applied or Declined.

1-10 of 180Patches < Previous 1 2 3 4 5 6 7 8 9 10 ... Next >
Status ID Uploaded By Description Work Items Action
Being evaluated
4256 Oct 29 at
5:15 PM
philemn I have split TestHelper out into TestHelper.RhinoMocks and I have also added a TestHelper.Moq project. Unit test coverage has been beefed up as well.
6062
Download

Being evaluated
3577 Aug 13 at
4:17 PM
Andy99Andy99 I would like to add a new filter - "LogFilterAttribute", which will log the entry and exit points of both actions and results, as well as log exceptions using Log4Net.

The filter will assume that the MVC application already has Log4Net configured and bootstrapped.
5384
Download

Applied
Aug 30
3661 Aug 21 at
7:20 PM
tulebast Implemented IBehavior<T>
------------------------
This allows you to target a behavior to a specific type, such as IBehavior<CheckBox>. This results in code such as

void Execute(IElement element)
{
CheckBox checkBox = element as CheckBox;
if (checkBox == null) return;
...
}

being replaced with

void Execute(CheckBox checkBox)
{
...
}

As a result:
- All classes implementing IBehavior now implement IBehavior<IElement> instead
- All classes implementing IMemberBehavior now implement IBehavior<IMemberElement> instead
- IBehavior implements IBehavior<IElement> and IMemberBehavior implements IBehavior<IMemberElement>; both are now marked as obsolete
- A new extension method, ApplyTo(this IEnumerable<IBehaviorMarker> behaviors, object behavee), uses reflection to call all IBehavior<>'s as appropriate
- Element<> uses the new ApplyTo extension method (ApplyBehaviors is now marked obsolete)
- This is not a breaking change, obsolete methods and interfaces still behave correctly
- Added Unit Tests for IBehavior<T> functionality.


New IBehaviorContainer interface
-------------------------------
Created a new interface to handle only IEnumerable<IBehaviorMarker> Behaviors { get; }. This cuts down on some of the generic code glut of having to use IModelViewContainer<T> (and hence dynamic compiling) within methods and classes when only IBehaviorContainer functionality is required.
IModelViewContainer<T> now implements IBehaviorMarker (no functionality change to interface, so non-breaking).


Bug Fixes
---------
Fixed bug in MemberBehaviorHelper<T>.GetAttribute(MemberExpression expression) so that when expression is null the method returns null instead of throwing exception.


Miscellaneous
-------------
Added HRef constant to HtmlAttribute class.
Perfomed minor clean up of usings in touched files.

Applied Aug 30: Applied with substantial refactoring.
Download

Applied
Aug 9
3547 Aug 9 at
7:53 AM
sirrocco_ The patch is for FluentHtml

- added DoNotHtmlEncodeLabels
- added DisabledItems method on OptionsElementBase that takes a list of items to be disabled.
Applied Aug 9: Applied in revision 972. Made a few small API changes and refactors.
Download

Applied
Jul 25
3249 Jul 5 at
10:09 PM
happyspider Added the html helper extension ModelVisualizerExtension
It is is generally the project as described in http://mvcrendermodel.codeplex.com.
Added UnitTests and checked CodeCoverage.
Reformated code to comply with MVCContrib rules.

The patch contains a change of the Productversion.
- <ProductVersion>9.0.21022</ProductVersion>
+ <ProductVersion>9.0.30729</ProductVersion>

Please tell me if I need to manually correct this part of the patch.
Applied Jul 25: Applied in revision 966.
Download

Applied
Jul 25
3270 Jul 7 at
11:58 PM
wwb Enhanced functionality in the MvcContrib.FluentHtml.Elements.SelectBase<T> to allow for adding more complex FirstOptions rather than just setting the Text().
Applied Jul 25: Applied in revision 965
Download

Applied
Jul 25
3382 Jul 21 at
2:57 PM
bondehagen Added support for TempData property to NVelocity viewengine
Applied Jul 25: Applied in revision 964.
5148
Download

Applied
Jul 25
3300 Jul 10 at
5:42 PM
Luizbon Changed the Pager object to show page events only if it has more than one page and corrected the way to show the SingleFormat, it was showing only if has page size 1 instead of total pages equals to 1.
Applied Jul 25: Applied in revision 962 with significant modifications. The patch changed the behaviour of SingleFormat so that it was used when the total pages was equal to 1. This is incorrect - the numbers rendered in the SingleFormat represent the *page numbers* (eg "Showing 1 of 3" means that we're on page 1 out of a total of 3 pages). The patched version would instead render this message when the TotalPages was equal to 1 (with a page size of 3) which does not make sense as there is only 1 page! PaginationSingleFormat should only apply when the *PageSize* is 1. However, I did include the other change from the patch (only show the pagination links if there is more than 1 page). In future, please run the project's unit tests before submitting a patch to ensure that you have not broken any existing behaviour. Please also use tabs rather than spaces in patch files. Thanks.
Download

Applied
Jul 25
3207 Jun 29 at
6:31 PM
krugs525 Updated version of patch 3206 (Added an Html() method to Literal so that I could specify the inner HTML of a Literal (span).) Please delete 3206.
Applied Jul 25: Applied in revision 961. Note that there was a problem with this patch, in that the same files seemed to be included multiple times but with different changes. I did my best to unpick the correct version, but please check the changes have been applied correctly.
Download

Applied
Jun 27
3177 Jun 25 at
4:00 PM
krugs525 Allow GridColumn<T>.Attributes() to be called multiple times. Previously any call to Attributes() would overwrite any attributes that had already been set.
Applied Jun 27: Implemented in revision 957 with modifications to preserve backwards compatibility.
Download

1-10 of 180Patches < Previous 1 2 3 4 5 6 7 8 9 10 ... Next >
Updating...
© 2006-2009 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2009.10.27.15987