Commit Graph

3315 Commits

Author SHA1 Message Date
Louis DeJardin
c4fefc4a44 Fixing tests
Adding StubCacheManager and Signal to various test container setups
Also ignoring some tests in extensionmanagertests until the semantics can be cleared up

--HG--
branch : perf
2010-11-17 01:36:01 -08:00
Louis DeJardin
a1c5dd646e Perf: making content type definitions cached
ContentTypeDefinition needed to fully resolve parts to avoid orphan record access
ContentDefinitionManager caches results incrementally
All cached definitions expire when any information is touched

--HG--
branch : perf
extra : rebase_source : b9779a86684aa652ed63360ab6558070e04600ee
2010-11-16 15:51:30 -08:00
Suha Can
c02d20c3b1 - PERF: ShellDescriptorCache serialization is inefficient
- DataContractSerializer was replaced with a simpler low-footprint solution for caching shell descriptors.

--HG--
branch : perf
2010-11-16 16:06:14 -08:00
Louis DeJardin
46d2821b8b Perf: moving the shape table manager to singleton scope
The shape descriptors and bindings are no longer created per request

--HG--
branch : perf
extra : rebase_source : c01a878a89763ddf80ec928b3e8d9581702ffd3a
2010-11-16 12:03:26 -08:00
Louis DeJardin
e38ee53dbd Adjust to Default LocalizedStringManager to be singleton compatible
The dependency on the ICultureManager has been removed
As a side-effect, the translations are no longer limited to what has been configured in Orchard
But that is a harmless - the configured list is still used when choosing cultures
so doesn't need to be enforced at this level

--HG--
branch : perf
extra : rebase_source : fa086c6c1ed90bc0537fa4566e6be64047d7d62f
2010-11-16 12:02:40 -08:00
Louis DeJardin
e25627db14 Adding an IUnitOfWorkDependency lifecycle
IUnitOfWork paints a component that it shared, but may only exist at per-request, -commandline, or -background task level
The TransactionManager is a prime example of a component that would restrict itself to unit of work only
This enables the ioc container to throw an exception when a singleton component depends directly or indirectly on something which it should not

--HG--
branch : perf
extra : rebase_source : bbe83ed7acc542e484c1b32ca81861dc07c1eb0e
2010-11-16 12:00:36 -08:00
Louis DeJardin
75257a4585 Changing the default IText implementation to support "shell" lifetime scope
Text depends on IWorkContextAccessor instead of ICultureManager
CurrentCulture string added to WorkContext
Enables Localizer T properties to be used by singleton per-shell components

--HG--
branch : perf
extra : rebase_source : cf262af29af17af8059ee7d0571e8c643a71d3ef
2010-11-15 18:03:38 -08:00
Suha Can
d82259089b - Add missing assembly reference
--HG--
branch : perf
2010-11-16 11:42:33 -08:00
Suha Can
0571841392 - Setting trust level back to Full in branch.
--HG--
branch : perf
2010-11-15 16:58:06 -08:00
Renaud Paquay
b43f30be15 Merge dev => perf
--HG--
branch : perf
2010-11-15 16:23:24 -08:00
Renaud Paquay
866fa8ba89 Added tag perf first pass for changeset 0ffac89fcc30
--HG--
branch : perf
2010-11-15 16:12:50 -08:00
andrerod
6eb257fc7c Updating project references with hint paths to avoid warnings on clean.
--HG--
branch : dev
2010-11-14 00:09:42 -08:00
andrerod
1badb1a917 Medium Trust: Replacing usage of GetName() by assemblyName on commandhostenvironment. Extracting DefaultHostEnvironment class to a file outside of the Interface one.
--HG--
branch : dev
2010-11-13 23:20:25 -08:00
Renaud Paquay
a80b790cce Fix web.config 500 error with IIS7
This is just a temporary fix as Theme.jpg files aren't served
properly anymore

--HG--
branch : dev
2010-11-13 11:38:33 -08:00
Sébastien Ros
d6760392e0 Removing dependency in manifest
--HG--
branch : dev
2010-11-13 10:20:47 -08:00
Sébastien Ros
4d9e295542 Removing dependency to Orchard.User from Orchard.Email
--HG--
branch : dev
2010-11-13 10:17:32 -08:00
Renaud Paquay
5b0fe58931 Fix SpecFlow tests
--HG--
branch : dev
2010-11-13 10:08:26 -08:00
Renaud Paquay
27ecd9e5bb Add dependencies
--HG--
branch : dev
2010-11-13 10:01:30 -08:00
Renaud Paquay
f88f7fa841 Fix SpecFlow test
--HG--
branch : dev
2010-11-13 09:57:44 -08:00
Louis DeJardin
30191928b5 Incremental improvement to extension manager
--HG--
branch : perf
extra : rebase_source : f2697bf60ab12c79e848e1794652e19ac5933d3a
2010-11-12 18:58:35 -08:00
Andre Rodrigues
2e2820de1f Merge
--HG--
branch : dev
2010-11-12 15:38:28 -08:00
Andre Rodrigues
7d8211bd79 Merge
--HG--
branch : dev
2010-11-12 15:37:56 -08:00
Nathan Heskew
14a33aeb66 Updating the Container item display to respect the ContainerPart paging configuration
--HG--
branch : dev
2010-11-12 15:36:57 -08:00
Nathan Heskew
a2e59ac08a Wrapping up the initial implementation of the Container Widget
--HG--
branch : dev
2010-11-12 15:35:58 -08:00
Sebastien Ros
1d5f47b776 Cleaning and syncrhonizing the web.config files in Azure and Orchard.Web
--HG--
branch : dev
2010-11-12 15:23:40 -08:00
Andre Rodrigues
85d02344f4 Medium Trust: Replacing usage of unmanaged SupportClass.FileSupport.Sync(file); with managed fileStream.Flush();
--HG--
branch : dev
2010-11-12 15:17:46 -08:00
Andre Rodrigues
8c8f2b91aa Updating Fluent to incorporate GenericEnumMapper serialization attribute. Adding aditional parameter to public references API to make it more generic.
--HG--
branch : dev
2010-11-12 14:54:11 -08:00
Sebastien Ros
f78bf58ef9 Merge
--HG--
branch : dev
2010-11-12 13:24:02 -08:00
Sebastien Ros
3aa26ade9c Enabling installation of packages from Orchard web app
--HG--
branch : dev
2010-11-12 13:23:39 -08:00
Dave Reed
e869a4f467 Fixing some basic fx cop warnings
--HG--
branch : dev
2010-11-12 12:47:06 -08:00
Andre Rodrigues
a9d30c36dd Medium Trust: Updating SQLce version to desktop version. Enabling medium trust level by default.
--HG--
branch : dev
2010-11-12 11:47:29 -08:00
Louis DeJardin
00f0653c63 Perf: more adjustments to scripting
Updating to v1.1.1
Reexecuting script to avoid overhead

--HG--
branch : perf
extra : rebase_source : 168eaa68ebfeb3c61405dc5151373eed5b774a63
2010-11-12 00:02:11 -08:00
Renaud Paquay
2f8425c9cb Add "Messaging" as a default enabled feature
Fixes profiling build

--HG--
branch : perf
2010-11-13 09:49:01 -08:00
Sébastien Ros
686a9e6f4d Updating packaging commands to handle solution-less applications
If the solution is not found, don't NuGet-Install the package, but still NuGet-AddReference
Uninstallation deletes the module if there is no solution folder
Creating a specific ReferenceRepository implementation to remove the packages.config dependency

--HG--
branch : dev
2010-11-11 23:19:23 -08:00
Andre Rodrigues
1f3ddc98ed Medium Trust: Disabling reflection optimizer and making DLLs under 4.0 .NET FX SecurityTransparent (for secannotate analysis) and APTCA (for secannotate to be happy) after discussing with Levi.
--HG--
branch : dev
2010-11-11 19:37:18 -08:00
Sebastien Ros
99dad40945 Updating the Themes gallery view
Compatibility with current nuget's state

--HG--
branch : dev
2010-11-11 17:20:25 -08:00
Sebastien Ros
ef4b1ce1fc Adapting Orchard.Packaging feature names
--HG--
branch : dev
2010-11-11 17:17:38 -08:00
Dave Reed
4e8c5d2eae Merge
--HG--
branch : dev
2010-11-11 16:39:07 -08:00
Dave Reed
7b127e5a9f Merge
--HG--
branch : dev
2010-11-11 16:26:09 -08:00
Dave Reed
ae885952a8 Added "Orchard Basic Correctness" analysis ruleset
--HG--
branch : dev
2010-11-11 16:25:44 -08:00
Dave Reed
a9a2c87fe6 Suppressing a few code analysis warnings.
--HG--
branch : dev
2010-11-11 16:23:32 -08:00
Nathan Heskew
ce128483bc Bunch of work for containers.
- Ordering and paging on the container mostly hooked up. Paging needs to respect item settings.
- Widget settings looking good but not yet functioning. Also need to add filtering.
- Custom part not yet in place for custom ordering/filtering.

--HG--
branch : dev
2010-11-11 16:15:49 -08:00
Andre Rodrigues
fb4ab81df5 Merge
--HG--
branch : dev
2010-11-11 16:01:25 -08:00
Andre Rodrigues
e8b4663148 Medium Trust: Recompiling Lucene.NET with APTCA and fixing secannotate warnings.
--HG--
branch : dev
2010-11-11 16:01:07 -08:00
Andre Rodrigues
ddec387c3a Medium Trust: Relaxing assembly level security level and enforcing at method level.
--HG--
branch : dev
2010-11-11 15:49:43 -08:00
Sebastien Ros
8ef13d9217 Correcting packaging unit tests
--HG--
branch : dev
2010-11-11 15:18:52 -08:00
Sebastien Ros
cf2432acb5 Removing NuGet project from solution
Added Nuget as an external lib
Updated CREDITS.txt

--HG--
branch : dev
2010-11-11 15:03:57 -08:00
Andre Rodrigues
99225cdad4 Merge
--HG--
branch : dev
2010-11-11 14:57:14 -08:00
Andre Rodrigues
4890c79d96 Medium Trust: Testing for full trust instead of demanding permission to avoid secannotate warning.
--HG--
branch : dev
2010-11-11 14:54:58 -08:00
Sebastien Ros
d427479a32 Merge
--HG--
branch : dev
2010-11-11 14:40:09 -08:00