Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 238 lines (198 sloc) 10.569 kb
238e498 Final changes for 2.1 release
farkas authored
1 --------------------------
2ec48b2 @jroper Update for release of 2.5-atlassian-2
jroper authored
2 -- Changes in 2.5 --
3 --------------------------
4 * Single buffer parsing
5 * Buffer chaining
6 * PartialPageParser that only parses the <head> section of bodies
7
8 --------------------------
71eb193 @joewalnes Update version numbers for 2.4.2 release.
joewalnes authored
9 -- Changes in 2.4.2 --
10 --------------------------
11 Minor update to allow SiteMesh to initialize correctly when deployed on Google AppEngine.
12
13 --------------------------
5ed8e64 @joewalnes Prepare for 2.4.1 release.
joewalnes authored
14 -- Changes in 2.4.1 --
15 --------------------------
16 Fixed error in Page.getRequest() implementation. Now deprecated and removed from examples.
17
18 --------------------------
9ee78d1 @joewalnes Update files for SiteMesh 2.4 release.
joewalnes authored
19 -- Changes in 2.4 --
20 --------------------------
21 Mostly minor fixes.
22
23 Bug fixes
24 * [SIM-156] - Style Tags are stripped from <HEAD>
25 * [SIM-172] - Unclosed quotes cause parsing problems
26 * [SIM-180] - Header content after a <content> tag gets treated as part of the body
27 * [SIM-186] - SM should honor (at least) 304 (SC_NOT_MODIFIED)
28 * [SIM-197] - when bodyContent is null,page:applyDecorator will throw NullPointerException
29 * [SIM-198] - Deleted '<' in included content
30 * [SIM-206] - XML Declaration in XHTML
31 * [SIM-216] - NoSuchElementException in com.opensymphony.module.sitemesh.html.HTMLProcessor$1.currentBuffer(HTMLProcessor.java:44)
32 * [SIM-241] - ArrayIndexOutofBounds exception in HTMLPageParser
33 * [SIM-247] - OSDecoratorMapper == FAIL
34 * [SIM-249] - tlds are broken - shortname does not conform to NMTOKEN
35 Improvements
36 * [SIM-151] - Allow the forced session creation to be optional
37 * [SIM-174] - Simple (but measurable) Performance improvements for DefaultFactory and ConfigLoader
38 * [SIM-192] - Need more user-friendly log error message when decorators.xml is missing
39 Tasks
40 * [SIM-229] - Update Sitemesh testsuite to use Cargo
41 * [SIM-230] - Remove PageFilter, in favour of new SiteMeshFilter
42
43 --------------------------
4c903f4 @joewalnes Watching Erik Hatcher talking about Tapestry and SiteMesh is making m…
joewalnes authored
44 -- Changes in 2.3 --
45 --------------------------
638b7b6 @joewalnes 2.3 Release Stuff
joewalnes authored
46 Default parser has been moved from FastPageParser to HTMLPageParser.
47 Misc bug fixes.
4c903f4 @joewalnes Watching Erik Hatcher talking about Tapestry and SiteMesh is making m…
joewalnes authored
48 Added components to enable decorators to be built with Tapestry (contributed by Erik Hatcher).
49
50 --------------------------
bc451f2 More files not updated for release
hani authored
51 -- Changes in 2.2.1 --
52 --------------------------
53 SiteMesh 2.2 introduced a few critical bugs, which have stopped it
54 from being a seamless upgrade to many users.
55
56 -- Fixed critical bugs --
57
58 * ClassNotFound: DefaultPageParser
59 This is a class that no longer exists but may still lurk in
60 sitemesh.xml if based on a 1.0 version. The config loader now just
61 silently ignores this.
62
63 * Head of content page chopped off
64 This was caused by setContentType() always resetting the buffer,
65 however sometimes setContentType() was called half way through a page
66 (for instance by the Servlet engine whilst doing an include).
67
68 --------------------------
d1d6ec3 @joewalnes Preparing for 2.2 release.
joewalnes authored
69 -- Changes in 2.2 --
70 --------------------------
71 This release fixes a number of minor bugs, and no code changes are required
72 from 2.1.
73
74 The following improvements have been made:
75 - The <excludes> tag in decorators.xml now takes into account ServletPath, PathInfo and QueryString.
76 - Overhaul of the main Servlet Filter to remove unnecessary complexity and more gracefully handle situations
77 where the order of calls on the HttpServletResponse, PrintWriter and ServletOutputStream occur in an
78 awkward order.
79
80 JIRA issues fixed:
81 - SIM-125 Internal Tomcat CGI throws NullPointerException.
82 - SIM-128 HTML parser cannot handle attributes that span multiple lines.
83 - SIM-86 Requests that use setHeader("Content-type") instead of setContentType() do not get decorated.
84 - SIM-134 Not calling setContentType() caused NullPointerException.
85
86
87 --------------------------
238e498 Final changes for 2.1 release
farkas authored
88 -- Changes in 2.1 --
89 --------------------------
90 This release fixes a number of major bugs, and no code changes are required
91 from 2.0.1. We recommend all users upgrade.
92
93 This release mainly contains application server compatibilty changes.
94 Sitemesh is now compatible with more servers than ever before, and this
95 release fixes the number one bug which was decoration of static pages under
96 Tomcat.
97
98 - The URI's for the SiteMesh tag libraries have changed:
99
100 sitemesh-decorator becomes http://www.opensymphony.com/sitemesh/decorator
101 sitemesh-page becomes http://www.opensymphony.com/sitemesh/page
102
103 There have been no other changes to the tag library descriptors (.tld) files from
104 the previous version, so you don't need to replace you existing ones.
105
106 - Added VelocityDecoratorServlet (SIM-62; see 'Velocity Decorators' in the documentation and the example webapp).
107 - The example webapp and blank webapp use Packaged Tag Libraries (specifying the URI of the taglib).
108 - Hardened ConfigLoader to ignore whitespace inserted by XMLBuddy.
109 - A new method, isPathExcluded(), has been added to the Factory interface (SIM-98)
110 - There is no longer the concept of a default parser for unknown content types.
111
112 JIRA issues fixed:
113 - SIM-82 IllegalStateException when decorating static pages in Tomcat 4 & 5
114 - SIM-114 Sitemesh truncates content on non-decorated pages.
115 - SIM-73 PageFilter is not final and you can now subclass the newly protected applyDecorator and parsePage methods
116 - SIM-83 RequestDispatcher.forward() support
117 - SIM-91 Remove singleton configuration
118 - SIM-55 applyDecorator tag doesn't work on resin
119 - SIM-73 Make PageFilter subclassable
120 - SIM-89 <url-pattern> mapping on deployment descriptor
121 - SIM-97 Sitemesh captures the response even for non-parseable content
122 - SIM-98 Add the ability to exclude content from being decorated
123
124 --------------------------
125 -- Changes from 2.0 --
126 --------------------------
127
128 Chris Miller has been working like a demon on FastPageParser, and it's now as
129 fast and efficient as it can get. To give you a rough idea, 2.0 is about 3 times
130 faster than 1.5. 2.0.1 is about 5 times faster than 1.5.
131
132 With regards to memory usage, it's basically been knocked down to be negligible.
133 Previously (1.5), a 50k page parsed 250 times (separate instances strongly
134 referenced, with an explicit gc call to remove temporary objects) used up 37mb.
135 Currently, it uses 25mb (and it's no coincidence that 50k * 250 * 2 bytes per
136 char == 25mb).
137
138 - Minor DTD fix.
139 - Updates to documentation and build process.
140 - Added ParserGrinder to load test FastPageParser.
141
142 --------------------------
143 -- Changes from 1.5 --
144 --------------------------
145 - SiteMesh now hosted at http://sitemesh.dev.java.net.
146 - FastPageParser performance improvements.
147 - DTD location has changed; now http://www.opensymphony.com/sitemesh/dtd/sitemesh_1_5_decorators.dtd
148 - API change in Decorator (check your custom written Decorator classes):
149 Added new method getRole() to enable role based decorators.
150 - Updated documentation to align with new Opensymphony website.
151
152 JIRA issues fixed:
153 SIM-16 Tomcat IllegalStateException
154 SIM-41 NoSuchMethodException with Orion
155 SIM-2 Response bug on WebLogic 6.1
156 SIM-13 Tomcat4 throws IOException after response.sendRedirect()
157 SIM-29 WebLogic 7 doesn't work
158 SIM-40 Let properties be retrieved programatically
159 SIM-27 Example apps don't work in Pramati
160 SIM-17 Can't set headers from decorator page.
161 SIM-8 body tag not correctly parsed
162 SIM-56 Decorator taglibs allowed to contain body
163 SIM-37 role based decorators
164 SIM-46 Place TLDs in Jar file.
165
166 --------------------------
167 -- Changes from 1.4.1 --
168 --------------------------
169 - API change in DecoratorMapper (check your custom written DecoratorMappers):
170 before
171 Decorator getNamedDecorator(String name);
172 after
173 Decorator getNamedDecorator(HttpServletRequest request, String name);
174
175 - API change in Decorator (check your custom written Decorator classes):
176 Added new method getURIPath() to enable cross web-app support for decorators.
177
178 - New (shorter!) decorator xml format (backward compability is maintained),
179 check above or the decorators.xml file in the /example/WEB-INF directory for an example.
180 DTD: http://www.opensymphony.com/sitemesh/dtd/sitemesh_1_5_decorators.dtd
181 - Default SiteMesh configuration if sitemesh.xml is not present.
182 - When the request contains a Page object (under the key RequestConstants.PAGE)
183 use this one (supports SiteMesh aware applications) so we don't need to parse.
184 - EnvEntryDecoratorMapper: allows the reference to a web-app environment entry for the
185 decorator name, and falls back to ConfigDecoratorMapper's behavior if no matching
186 environment entry is found.
187 - Cross web-app support for decorators by specifying <decorator ... webapp="anotherwebapp"/>.
188 This will first try to get the decorator from anotherwebapp and fall back if not found.
189 - Small performance improvements in RobotDecoratorMapper.
190 - Some improvements to get SiteMesh working on different web containers.
191 If you need to detect on which container your application is running,
192 have a look at the com.opensymphony.module.sitemesh.util.Container class.
193
194 - BUGFIX: DefaultDecorator returned bad init param
195 - BUGFIX: small fixes to make SiteMesh work better on Tomcat
196 - BUGFIX: javadoc fixes
197
198 JIRA issues fixed:
199 SIM-1 Finalize RE support in PathMapper
200 SIM-3 Page filter strips <xmp> tags
201 SIM-4 PathMapper order is incorrect
202 SIM-5 Add a mapper that uses environment entries
203 SIM-6 When using the EnvEntryDecoratorMapper, decorations fail for html
204 SIM-7 Parsing of body should strip doctype
205 SIM-8 body tag not correctly parsed
206 SIM-11 Parsing the text "<>" causes problems
207 SIM-16 Define how charsets should work
208 SIM-20 Cross web-app support for decorators
209 SIM-21 FactoryException thrown when starting testsuite on WebLogic
210 SIM-22 Create template web-app
211 SIM-23 Distribution bundle
212 SIM-32 A smaller than sign (<) in javascript fails
213
214 --------------------------
215 -- Changes from 1.4 --
216 --------------------------
217
218 - complete support for WebLogic 6.1 / 7
219 - complete support for Jetty 4
220 - internal optimizations to filter
221
222 - BUGFIX: StringIndexOutOfBoundsException in RobotDecoratorMapper
223
224 --------------------------
225 -- Changes from 1.3 --
226 --------------------------
227
228 - changed package structure from com.sitemesh to com.opensymphony.module.sitemesh
229 - many performance optimizations in FastPageParser
230 - various bug fixes and small performance improvements
231
232 - BUGFIX: memory leak in PageFilter
233 - BUGFIX: meta http-equiv tags are now added as properties with prefix meta.http-equiv.x where x
234 is the value of the http-equiv attribute (eg refresh)
235 - BUGFIX: the configuration files are not case-sensitive anymore
236
237
Something went wrong with that request. Please try again.