0
I Use This!
Moderate Activity

Commits : Listings

Analyzed about 17 hours ago. based on code collected about 24 hours ago.
Apr 28, 2023 — Apr 28, 2024
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Allow a top level request to be decorated by multiple chained decorators, instead of just 1. More... about 15 years ago
Added mutating operations to Content interface. This simplifies a lot of the API elsewhere and negates the need for PageBuilder and implementations. More... about 15 years ago
Decorated content is now run through the ContentProcessor to allow tags to be resolved. This adds an overhead (which I'll improve on in a follow up change) but allows decorators to be more recursive (e.g. decorators in decorators). More... about 15 years ago
Added support for inline decorators using <decorate decorator='/mydec'>..</decorate> tag, which is processed by DecorateRule. More... about 15 years ago
Replace BlockExtractingRule with BasicBlockRule. This is a bit easier to understand and can be used in more places. More... about 15 years ago
Added Context.applyDecorator(), which hides the detalis of how the decorator is applied from its clients. More... about 15 years ago
Allow TagBasedContentProcessor implementations to get access to the SiteMesh context. More... about 15 years ago
Pulled Dan Bodart's DivExtractingRule upstream from WebFabric. More... about 15 years ago
Split HtmlContentProcessor into 3 different implementations: * HtmlContentProcessor: A basic and fast implementation that extracts head, title, body and meta tags. * Sm2HtmlContentProcessor: Supports all the additional rules that SM2 had by default, such as the <content>/<property> tags. * MsOfficeHtmlContentProcessor: Extracts the document properties saved by Word/Excel. More... about 15 years ago
Memory improvements: This is what it's all been leading up to... (roughly) doubled performance and halfed memory usage! More... about 15 years ago
Enable Java assertions when running tests - to validate internals. More... about 15 years ago
Memory improvements: CustomTag now allocates a temorary buffer and writes to the main content in one chunk, instead of lots of small chars. This seems pointless at the moment, but it's to make more effective use of an upcoming Appendable implementation to replace CharArray. More... about 15 years ago
Deleted a file that accidently got checked in. More... about 15 years ago
Memory improvements: TagProcessor now batches adjacent chunks of text into a single event. (e.g. text("hello"), text("world") -> text("helloworld")). This reduces the number of CharSequence instances needed considerably (in a typical doc, brings it down from 100s to < 5). More... about 15 years ago
Memory improvements: Removed hard dependency of BodyTagRule on CharArray. More... about 15 years ago
Memory improvements: A refactoring to hide CharArray behind Appendable/CharSequence interfaces - paving the way for easy dropping in of smarter implementations. More... about 15 years ago
Memory improvements: Content can now contain CharBuffer based properties. Avoids have to convert to String until actually needed. More... about 15 years ago
Memory improvements: Deleted Text interface, use plain old java.nio.CharBuffer everywhere. Removes a needless layer of indirection and allows for more direct buffer manipulation. More... about 15 years ago
Memory improvements: More... about 15 years ago
Memory improvements: TagTokenizer/TagProcessor support java.nio.CharBuffer. Avoid converting to char[]. More... about 15 years ago
Ignore more files. More... about 15 years ago
Refactoring of Content heirarchy: * Removed HtmlContent - moved processing logic into HtmlContentProcessor. * Merged ContentStub and BaseContent into InMemoryContent and used that everywhere instead. More... about 15 years ago
Added SimpleSiteMeshFilter - which is a really easy to use filter that requires no Java code to be written and is configured through <init-params>. This will probably cover about 90% of the use-cases for SM. More... about 15 years ago
Added web.xml to hello world example. More... about 15 years ago
Added first standalone example. More... about 15 years ago
DecoratorAppliers are no longer restricted to a single decorator. A decoratorPath is passed in. Additionally a DecoratorSelector interface is used for mapping a decoratorPath to a request. A PathMappingDecoratorSelector uses patterns to map the request to a decoratorPath (pulled in from SM2). More... about 15 years ago
Ported PathMapper across from SM2. More... about 15 years ago
Added JSP2 taglibs for building decorators. More... about 15 years ago
Added micro benchmark suite. Currently tests HtmlContentProcessor performance. Build on Japex. More... about 15 years ago
Adds a decorator implementation that uses StringTemplate. http://stringtemplate.org/ More... about 15 years ago