Commit Graph

17 Commits

Author SHA1 Message Date
Lombiq
5406b17601 Converting all files stored as CRLF in git to be stored as LF
LF is the git default and all new files are stored as such. Old files from the hg to git conversion however were moved over as CRLF.
2015-12-13 22:21:02 +01:00
Piotr Szmyd
49e8b2f6b5 #19812: Event bus should not treat strings as IEnumerable<char> when returning combined handler results.
Work Item: 19812

--HG--
branch : 1.x
2013-06-21 16:27:47 +02:00
Sebastien Ros
0c711d4f4b More work on Event Bus optimization
--HG--
branch : 1.x
2013-02-23 11:05:41 -08:00
Piotr Szmyd
5bd459a68c #19476: Event bus refactoring. Interface name matching should be case-sensitive.
Work Item: 19476

--HG--
branch : 1.x
2013-02-23 05:39:01 +01:00
Piotr Szmyd
b04d9ffb32 #19476: Refactoring DefaultOrchardEventBus for performance.
Added event handler filtering using Autofac's IIndex<K,V> and named registrations.
Replaced slow MethodInfo.Invoke with very fast, strongly-typed delegates. Each delegate is created at first usage and cached.
Updated unit tests to take changes into account.

Work Item: 19476

--HG--
branch : 1.x
2013-02-22 02:38:05 +01:00
Suha Can
95c0ac69e6 IExceptionPolicy concept and default implementation.
Updating EventBus and UnhandledExceptionFilter to use the exception policy.
Adding OrchardFatalException.
Updating text on default error page.
(Part II) Removing the unhandled "catch" from module controllers. If there are "expected" exceptions, move them closer to the APIs where they occur.
Removing ControllerExtensions.Error and refactoring.

--HG--
branch : 1.x
extra : transplant_source : %5C9a%E2%9A%F4%ACI%A3F%3C%D2%5C%CC%5C%9A.%E1%EF%3C
2011-06-09 16:34:31 -07:00
Renaud Paquay
b12a25e169 Fix unit tests
--HG--
branch : dev
2010-12-04 15:29:35 -08:00
Louis DeJardin
c35369fabc Roughing in extensibility model for content type definition editor
IEventHandler method invocation will aggregate return values of type IEnumerable<T>
Added IContentDefinitionEditorEvents and ContentDefinitionEditorEventsBase to framework assembly
ContentTypes editor fires events to build and apply additional type and typepart TemplateViewModel classes
As an example, added some content type settings to devtools "ShowDebugLinks"
In content type definition builder moved DisplayedAs(name) into it's own method
Added Html.RenderTemplates helper to execute renderpartial with prefix directly to bypass (for some cases) Html.EditorXxx, Html.DisplayXxx

--HG--
branch : dev
2010-06-25 10:11:50 -07:00
Louis DeJardin
596729a2ce Removing obsolete eventbus interface, firing shell activated/terminated events in isolated scope, fixing tests
--HG--
branch : dev
2010-05-28 16:24:57 -07:00
Suha Can
136452a7cd - Renaming some event test cases.
--HG--
branch : dev
2010-05-11 16:22:50 -07:00
Suha Can
2d24ef8543 - Finishing up mapping of events to handlers.
- A few test cases for edge conditions around parameter mapping.

--HG--
branch : dev
2010-05-11 15:52:35 -07:00
Suha Can
1385bcb8a2 - Marking event test cases relying on old event handler system as obsolete.
--HG--
branch : dev
2010-05-11 12:49:07 -07:00
Suha Can
885346237d - Some more tests around parameter order in event handler dispatch.
--HG--
branch : dev
2010-05-11 12:46:10 -07:00
Suha Can
404e7c3f41 - EventBus dispatching parameters to eventhandlers.
- Tests (basic cases, edge cases to follow).

--HG--
branch : dev
2010-05-11 12:43:41 -07:00
Suha Can
2c99c817e4 - EventBus.Notify is dispatching events to handlers.
- Tests...

--HG--
branch : dev
2010-05-11 12:20:22 -07:00
Suha Can
6d960c86d9 - Building up registrations for event handlers in the system in the ShellContainerFactory.
- Obsoleting the old IEventBus.Notify and getting in the list of IEventHandlers.

--HG--
branch : dev
2010-05-10 16:34:53 -07:00
Suha Can
7d579b7074 - IEventBus, IEventBusHandler with notify/process.
- Default event bus implementation for Orchard, calls into handlers and logs.
- Unit tests.

--HG--
branch : dev
2010-04-14 15:26:31 -07:00