blob: 56effe842688578db40e04a7c30d16e710b67012 [file] [log] [blame]
Karl Paulsce873782008-12-20 16:27:49 +00001Changes from 1.4.0 to 1.4.1
2---------------------------
3
4* [2008-12-19] Refactor the URLHandlers implementation to fix a possible
5 Linkage-Error when running embedded inside tomcat. Furthermore, make it possible
6 to dynamically set a SecurityManager, change the url we add to the framework
7 classloader to fix issues with rmi and make sure we restore the previous URLStreamHandlerFactory
8 after stopping. (FELIX-842, FELIX-837, FELIX-844, FELIX-827)
9* [2008-12-19] Add missing javax.security.cert in JRE 1.4 and 1.5. (FELIX-854)
10* [2008-12-19] Improve framework internal locking protocol.
11* [2008-12-18] Fixed an issue where bundles with a non-existing native library
12 would not be removed correctly. (FELIX-835)
13* [2008-11-21] Throw an exception when there is an attempt to start or stop a
14 fragment, as per the spec. (FELIX-820)
15* [2008-11-20] Fixed a bug during shutdown where uninstalled fragments are not
16 properly closed. (FELIX-819)
17* [2008-11-14] Added partial support for new service registry hooks as proposed
18 for OSGi R4.2; currently, only listener hooks are supported. (FELIX-804)
19* [2008-11-08] Fixed Felix' delegation hack so that it correctly delegates to
20 the parent class loader for resources as appropriate; previously it was always
21 delegating for class loading, which was incorrect. (FELIX-808)
22
Karl Paulsc4c541d2008-11-06 16:17:00 +000023Changes from 1.2.2 to 1.4.0
24---------------------------
Karl Paulsce873782008-12-20 16:27:49 +000025
Karl Paulsc4c541d2008-11-06 16:17:00 +000026* [2008-11-05] URLStreamHandlerService and ContentHandlerService override
27 built-in handlers and make it possible to use URLHandlers when extending the
28 Felix class. (FELIX-756, FELIX-800)
29* [2008-11-04] Implement ServiceReference.compareTo() method. (FELIX-799)
30* [2008-10-31] Fix some visibility issues in the LDAP operators which could
31 result in incorrect toString values. (FELIX-765)
32* [2008-10-31] Fixed spec compliance issues around getting a service reference
33 from an invalid registration and throwing an exception when there are
34 duplicate property keys. (FELIX-798)
35* [2008-10-21] Fixed an issue with extension bundles which would be installed
36 as fragments and fail to install extension bundles if they have incomplete
37 metadata. (FELIX-770)
38* [2008-10-21] Fix a possible deadlock in URLHandlers. (FELIX-748)
39* [2008-10-16] Modified framework to have default values for the system
40 packages property, which also required modifying main to no longer expect to
41 set it. Now it is possible to start Felix with no configuration properties.
42 (FELIX-753)
43* [2008-10-16] Update felix to work with the 1.0.0-rc1 version of the android
44 sdk.
45* [2008-10-15] Implemented remaining PackageAdmin methods from R4. (FELIX-35)
46* [2008-10-15] Modified resolver to correctly mark fragment modules as resolved.
47 (FELIX-777)
48* [2008-10-15] Modified the resolver to longer consider uninstalled fragments
49 and hosts when resolving dependencies; this required a new "stale" flag on
50 modules that gets set when their associated bundle is uninstalled. (FELIX-776)
51* [2008-10-15] Modified the resolver to sort candidates when resolving
52 Require-Bundle dependencies. (FELIX-775)
53* [2008-10-14] Modified ExportedPackage.getImportingBundles() to include
54 bundles requiring the exporting bundle, in addition to those bundles
55 importing the package. Also tried to simplify dependency management code
56 by separating it out. (FELIX-764)
57* [2008-10-14] Fix a NullPointerException in SecureAction when a
58 SecurityManager is used by keeping pointers on the local stack. (FELIX-766)
59* [2008-10-13] Use System.gc to allow to update and uninstall bundles with
60 native libs on Windows. (FELIX-733)
61* [2008-10-10] Set the activator to null on Bundle.stop() to allow for earlier
62 garbage collection. (FELIX-762)
63* [2008-10-10] Implements support for flushing the cache on framework
64 initialization. (FELIX-755)
65* [2008-10-10] Improve exception messages. (FELIX-750)
66* [2008-10-09] Modified the bundle cache to no longer have profiles. (FELIX-754)
67* [2008-10-08] Modified the Felix API to aligned with the proposed standard
68 OSGi framework API. The framework instance can now be stopped and restarted.
69 (FELIX-753)
70* [2008-09-29] Support transiently starting/stopping bundles. (FELIX-713)
71* [2008-09-25] Correctly discard exported packages when a bundle is chosen to
72 import a package it exports. (FELIX-736)
73* [2008-09-24] Clearly distinguish between "resolved" and "unresolved"
74 capabilities, which is necessary since "resolved" capabilities have higher
75 priority than "unresolved" ones. (FELIX-730)
76* [2008-09-24] Do not bootdelegate in the case where Bundle.loadClass() has
77 been used. (FELIX-712)
78* [2008-09-23] Improve decoding of reference URLs. (FELIX-731)
79* [2008-09-23] For completeness, added symbolic names to framework and main.
80* [2008-09-17] Improve gc by fixing an issue with StartLevel and PackageAdmin.
81 (FELIX-728)
82* [2008-09-15] Fix an issue with Require-Bundle not aggregating packages
83 correctly. (FELIX-722)
84* [2008-09-15] Fixed a bug where class loader delegation for dynamic imports
85 was happening when it shouldn't. (FELIX-724)
86* [2008-09-12] Added a configuration property to determine whether installing a
87 fragment that uses unimplemented features throws an exception or logs a
88 warning. (FELIX-725)
89* [2008-09-12] Removed some experimental code for "implicit requirements",
90 since it was no longer needed.
91* [2008-09-12] Fix some visibility issues within the LDAP filter. (FELIX-721)
92
93Changes from 1.2.1 to 1.2.2
94---------------------------
Karl Paulsce873782008-12-20 16:27:49 +000095
Karl Paulsc4c541d2008-11-06 16:17:00 +000096* [2008-10-14] Fixed a NullPointer exception that could happen when
97 running with a SecurityManager as a backport of FELIX-766.
98
Karl Paulse212d9b2008-09-07 19:54:09 +000099Changes from 1.2.0 to 1.2.1
100---------------------------
101
102* [2008-09-05] Fixed a performance regression that was caused by uncached
103 access to the bundle manifest headers. (FELIX-711)
104* [2008-09-03] Fixed a bug in calculating the system bundle's exported
105 packages which added a null export package.
106
Karl Pauls78ba3242008-08-31 22:15:39 +0000107Changes from 1.0.4 to 1.2.0
108---------------------------
109
110* [2008-08-29] Support JAR-wide manifest package metadata. (FELIX-682)
111* [2008-08-29] Throw an exception when installing a fragment that uses
112 features that we do not support.
113* [2008-08-20] Improve error reporting when loading bundle classes using
114 Bundle.loadClass.
115* [2008-08-16] Fix attribute checking when resolving dynamic imports.
116 (FELIX-676)
117* [2008-08-08] Implement singleton bundle support. (FELIX-102)
118* [2008-08-06] Default to current security policy if no security extension is
119 installed in order to make Subject.doAs work. (FELIX-654)
120* [2008-08-04] Return Bundle.getLastModified() for bundle URLs
121 lastModified(). (FELIX-582)
122* [2008-08-04] Improve handling of improper resource URLs. (FELIX-577)
123* [2008-08-01] Add necessary stub methods to implement new R4.1 methods.
124 (FELIX-595)
125* [2008-08-01] Applied patch to properly return symbolic name when it has
126 parameters. (FELIX-650)
127* [2008-07-25] Fix some rollback issues after a bundle update throws an
128 exception. (FELIX-647)
129* [2008-07-23] Modified manifest parser to be more lenient. (FELIX-641)
130* [2008-07-07] Add support for the standard symbolic name for the system
131 bundle. (FELIX-602)
132* [2008-06-01] Add initial fragment support for extending the host bundle
133 class path. (FELIX-29, FELIX-656)
134
Karl Pauls0eba9182008-04-21 23:32:57 +0000135Changes from 1.0.3 to 1.0.4
136___________________________
137
138* [2008-04-18] Check that the returned object from a service factory is an
139 instance of all classes named when the service was registered. (FELIX-540)
140* [2008-04-13] Fix an issue when logging messages while holding framework
141 internal locks that could lead to a deadlock. For now we just disable
142 logging to log services inside the framework. (FELIX-536)
143* [2008-04-13] Implemented various small performance improvments e.g.,
144 we now cache filters and create an index for objectclass to improve
145 service lookup performance and don't use the BundleInfo to get the
146 bundle id but the BundleImpl directly. Furthermore, we added an index to
147 get bundles by id.
148* [2008-04-04] Fix an NoClassDefFoundError when trying to query the
149 framework classloader for whether a class is available or not.
150* [2008-03-19] Don't try to resolve extension bundles and fix a
151 classcastexception that could happen if more then one framework is around
152 and both have extensions installed. Furthermore, make extension bundles
153 use the system bundle context.
154* [2008-03-07] Bundle.getResource does now check for AdminPermission.
155 (FELIX-150)
156* [2008-03-06] Make urlhandlers work when a handler factory is already set.
157 Furthermore, it is now possible to have more then one framework running
158 in more then one classloader. (FELIX-38).
159* [2008-03-05] Make LDAP filter reentrant.
160* [2008-02-29] Refactored the IContent abstraction from the module loader
161 layer to provide more generic access to the content of the module. This
162 makes it possible that a bundle's class path could span multiple module's,
163 which will be necessary for fragments. (FELIX-29)
164* [2008-02-27] Applied a patch to disable the class loading diagnostic message
165 when the logger is not at the DEBUG level. (FELIX-500)
166* [2008-02-15] Modified the service registry to use more fine-grained locking
167 to avoid callbacks to service factories while holding locks. (FELIX-489)
168
Karl Pauls7db0d882008-01-28 09:37:24 +0000169Changes from 1.0.1 to 1.0.3
Karl Paulsc0335862008-01-27 19:49:56 +0000170---------------------------
171
172* [2008-01-27] Moved framework docs to main, since the launcher examples now
173 depend on main for the auto-property handling.
174* [2008-01-25] Applied patches to improve how Felix finds resources when
175 getResources() is called. (FELIX-466, FELIX-467)
176* [2008-01-25] Make FilterImpl.toString() add escape characters where needed.
177 (FELIX-471)
178* [2008-01-16] Fix a NPE on framework restart when extension bundles are
179 installed.
180* [2008-01-15] Try to fix a potential visibility issue on loading a class
181 form a bundle where it seems to be possible that we create two classloaders
182 instead of one.
183* [2008-01-15] Modified boot delegation to not terminate when delegating to
184 parent class loader for non-java.* packages. (FELIX-463)
185* [2008-01-04] Fix some issues related to directories on the bundle class
186 path. Specifically, leading slashes created an issue and are now stripped
187 and entries were not being properly filtered when enumerating the contents
188 of a class path directory. (FELIX-426)
189* [2007-12-20] Modified logger to have all of its public methods be final to
190 avoid it from being extended in undesired ways via the constructor supplied
191 logger. (FELIX-428)
192* [2007-12-20] The TCK has changed to verify that bundles do not depend on
193 themselves, so we filter that case now.
194* [2007-12-20] Applied patch from Guillaume Nodet to properly fire a framework
195 error event only when a bundle cannot be resolved. (FELIX-441)
196* [2007-12-19] Modified framework to accept a Logger instance so that host
197 applications can do custom logging until the log service arrives. (FELIX-428)
198* [2007-12-19] Add support for loading bundles on Google Android (FELIX-440).
199* [2007-12-18] Improve native code loading - bundle installation will now
200 fail in case a native library is not in the jar and we only use the first
201 library of a given name. Furthermore, we now support .dylib extensions on
202 the mac as well as others; should make it possible to use .netmodules as
203 well. (FELIX-439)
204* [2007-12-17] Make the win32 alias match any version of windows for native
205 clauses. (FELIX-438)
206* [2007-12-14] Removed auto-property processing out of the framework and
207 into the default launcher, i.e, main. (FELIX-393)
208* [2007-12-13] Fix a StackOverflowError in URLHandlers.createStreamHandler()
209 when creating URL on jamvm and Mika. This patch resolves an unfortunate
210 interaction between our ExtensionManager and the URLHandlers by making the
211 URLHandlers aware of the extension protocol. Pretty much like we do already
212 for the bundle protocol. (FELIX-435)
213* [2007-11-26] Fix a small oversight in the extension manager that could lead
214 to a null pointer exception and save some memory by creating less objects.
215* [2007-11-26] Degrate to version 0.0.0 if we can not find the Felix.properties
216 for some reason and avoid a null pointer in this case.
217* [2007-11-08] Reorganized usage count methods to better handle null
218 reference checking in response to Karl Pauls seeing an NPE when trying to
219 get a service that was already unregistered while shutting down the
220 framework.
221* [2007-11-06] Added a simple check to detect and work around a bug in J9.
222 (FELIX-416)
223* [2007-10-30] Change how the extension manager url stream handler handles
224 request to the root path in order to make some tomcat issue go away.
225 (FELIX-414)
226* [2007-10-26] Added support for "/" bundle resources as requested. (FELIX-383)
227* [2007-10-24] Use system bundle when firing a framework error event when an
228 install error occurs.
229* [2007-10-22] Fix a NPE when getEntryPaths is called on the system bundle.
230 (FELIX-394)
231* [2007-10-16] Modifies bundle resource URL handling such that if a resource
232 URL points to a resource that does not exist, a bundle class path search
233 for the resource will be instigated and if any matching resource is found,
234 that one will be used instead. (FELIX-383)
235* [2007-10-10] Auto-property handling now installs bundles into the default
236 bundle start level if a start level is not specified. (FELIX-359)
237* [2007-10-08] Overwrite the URLStreamHandler.getHostAddress(URL) in the
238 ExtensionManager to immediately return null to prevent DNS lookup.
239 (FELIX-388)
240* [2007-09-30] Resolved a concurrency issue that could result in the same
241 bundle being resolved more than once; also tried to simplify locking in
242 the core search policy implementation. (FELIX-381)
243
Karl Pauls305c9642007-09-16 20:46:04 +0000244Changes from 1.0.0 to 1.0.1
245---------------------------
246
247* [2007-07-23] Fixed a bug in the framework shutdown process which was
248 causing threads calling Felix.stopAndWait() to not get notified that
249 the framework had shutdown. (FELIX-329)
250* [2007-08-15] Fixed a bug in the LDAP filter which was not thread safe
251 on execution. (FELIX-338)
252* [2007-08-17] Added support for persistent last used bundle ID to avoid
253 re-use of bundle identifiers. (FELIX-339)
254* [2007-08-23] Modified BundleImpl.getHeaders(Locale) to accept a null
255 locale. (FELIX-346)
256* [2007-09-11] Added support to handle external termination of Felix
257 which was not handled or detected and prevented a restart of future
258 Felix instances in the same VM. (FELIX-363)
259* [2007-09-12] Add support for Collection values in the LDAP filter to
260 match the 4.1 spec.
261* [2007-09-12] Fixed a bug in the LDAP filter where attributes where
262 limited to [a-zA-Z ] so didn't allow for e.g., numbers. (FELIX-361)
263* [2007-09-13] Enable support for exporting the same package more than
264 once (FELIX-101).
265* [2007-09-13] Returns the system bundle from a call to
266 PackageAdmin.getBundle(Class) in case the class comes from the
267 classloader (or one of its parents) that loaded Felix and the system
268 bundle exports the package.
269* [2007-09-16] Fixed a bug in class space filtering in the service registry
270 that could result in class cast exceptions for service clients.
271* [2007-09-16] Fixed a bug that prevented extension bundle exports to be
272 usable.
273
Richard S. Hall2cd5bed2007-07-16 20:32:41 +0000274Changes from 0.8.0-incubator to 1.0.0
275-------------------------------------
276
277* [2007-01-18] Added support for bundle header localization. (FELIX-27)
278* [2007-01-22] Modified framework resolver to support a generic
279 capability/requirement model.
280* [2007-01-22] Reorganized and centralized manifest parsing code and added
281 support for resolver's generic capability/requirement model. (FELIX-98)
282* [2007-01-22] Improved native library naming normalization. (FELIX-26)
283* [2007-01-23] No longer eagerly resolving classes loaded from modules
284 since this was causing verification errors with IBM J9.
285* [2007-01-25] Added some support for execution environment checking.
286 (FELIX-23)
287* [2007-01-29] Added support for getAllServiceReferences(). (FELIX-32)
288* [2007-01-31] Added Require-Bundle support to resolve using the generic
289 capability/requirement model of the resolver. (FELIX-28)
290* [2007-02-05] Fixed a bug in processor type normalization for x86-64
291 processors.
292* [2007-02-09] The resolver previously ignored packages that were pending
293 removal when resolving new bundles, now it does not.
294* [2007-02-09] Bundles are automatically refreshed when updated/uninstalled
295 if none of their exported packages are in use.
296* [2007-02-13] Added support for extension bundles. (FELIX-30)
297* [2007-03-02] Added a Bundle.getBundleContext() method until actual
298 support for OSGi R4.1.
299* [2007-04-26] Modified Bundle.findEntries() to return URLs to directory
300 entries as well as file entries.
301* [2007-05-06] Modified LDAP evaluator to special case the fact that
302 BigDecimal is not available in Foundation profile.
303* [2007-05-21] Made some performance improvements in LDAP evaluation.
304* [2007-05-22] Modified JAR file to include Service Tracker package.
305* [2007-05-22] Improved concurrency handling around checking for already
306 loaded classes and defining classes.
307* [2007-06-05] Modified resource URLs to use port number rather than
308 prepend information to the resource path.
309* [2007-06-13] Improved dynamic imports to cycle through all available
310 candidates when checking for class space consistency.
311* [2007-06-18] Improved service registry filtering based on class versions
312 to allow a bundle to register a service for a different version of class
313 that it can access.
314* [2007-06-21] Modified our "last ditch effort" to guess when to delegate
315 to the system bundle to make it a little more robust.
316* [2007-06-29] Fixed a bug in EventDispatcher that was causing asynchronous
317 events to not be fired after stopping the framework instance and creating
318 a new instance. (FELIX-314)
319* [2007-07-03] Fixed a bug in EventDispatcher that would not correctly
320 update a listener when it implemented multiple listener interfaces.
321* [2007-07-04] Modified Felix framework class to implement the Bundle
322 interface to improve the startup/shutdown sequence and to provide a
323 simplified API for creating framework instances.
324* [2007-07-11] Removed the PropertyResolver-related classes and now only
325 use Maps for configuration properties. (FELIX-324)