Checkout Tools
  • last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fixed FELIX-2579 by adding a new method extractDeviceType and calling it for root device and its children

Fixed FELIX-2588 by merging org.osgi.service.upnp classes into the bundle during the packaging phase

  1. … 1 more file in changeset.
FELIX-642 Fixed bug due to the not synchronized method httpRequestReceived of MyCtrlPoint.java (basedriver importer)
    • -1
    • +1
    ./basedriver/importer/core/MyCtrlPoint.java
Added svn properties

Fixed test runtime enviroment boostrap

Fixed dependecy in tester artifact

    • -0
    • +0
    ./basedriver/export/DeviceNode.java
    • -0
    • +0
    ./basedriver/importer/core/event/thread/Notifier.java
    • -0
    • +0
    ./basedriver/controller/DevicesInfo.java
    • -0
    • +0
    ./basedriver/importer/util/ParseLocation.java
    • -0
    • +0
    ./basedriver/importer/core/event/thread/Renewer.java
    • -0
    • +0
    ./basedriver/importer/util/DeviceSetup.java
    • -0
    • +0
    ./basedriver/export/ThreadExporter.java
  1. … 112 more files in changeset.
Updated bundles version in the UPnP script

Added random generation of devices ID in the examples

Review of driver interface documentation

    • -8
    • +10
    ./basedriver/controller/DevicesInfo.java
  1. … 4 more files in changeset.
FELIX-495: Applied a slighty modified version of the POM provided by Stuart

FELIX-494: Applied split-package patch but we'll refactor the code in order to avoid its use

FELIX-488: org.osgi.compendium modified so reverting the import for org.osgi.service.upnp package

    • -4
    • +1
    ./basedriver/export/ThreadExporter.java
    • -5
    • +2
    ./basedriver/export/ExporterUPnPEventListener.java
    • -3
    • +1
    ./basedriver/tool/Logger.java
  1. … 1 more file in changeset.
Fixed bug #FELIX-460 in BuildDevice

Removed unused code and avoiding overriding of UPnP configuration in ThreadExporter

Added caching and better control on constraint defined for imported Device in UPnPStateVariableImpl

    • -117
    • +22
    ./basedriver/export/ThreadExporter.java
    • -11
    • +34
    ./basedriver/export/BuildDevice.java
Fixed compilation issue with jdk13 profile

  1. … 1 more file in changeset.
Improved loading of properties in Activator.doInitProperties, now it loads properties from BundleContext

Fixed compilation and run-time issue with JDK13 profile

Almost resolved split-package issue: moved README and upnp.properties

  1. … 6 more files in changeset.
restored original values
Created a set of properties for the driver: upnp.properties

Bundle load the default properties from upnp.properties and them are overreddin by the system properties

Created javadoc for properties used by the UPnP Base Driver

Added README for describing Javadoc

  1. … 7 more files in changeset.
fixed bug due to automatic box and unboxing ....
  1. … 1 more file in changeset.
Reorganized basedriver initialization

added time to string conversion to device

  1. … 1 more file in changeset.
ExporterUPnPEventListener, UPnPEventNotifier reverting changes in order to follow the specification proposed by Javadoc (FELIX-447)

Fixed blocking compilation issue

    • -15
    • +9
    ./basedriver/export/ExporterUPnPEventListener.java
  1. … 1 more file in changeset.
Refined svn:ignore properties

POM modified in order to compile bundle as default

Fixed problem in UPnPEventNotifier which was sending event containg pair <String name,String value> instead of <UPnPStateVariable, Object value> see OSGi Compendium R4 pag. 257

ExporterUPnPEventListener was aspecting pair <String name, Object value> instead of <UPnPStateVariable, Object value> so I have changed it to be complaint to OSGi specification but also legacy compatible

Fixed Service leak in UPnP Base Driver see class MyCtrlPoint

Fixed compilation issue with Java 6 in

TimeStateVariable was returing wrong value with metho getCurrentValue() and was not compatible with Java6

SetTimeAction was not updating the time and it was not notifing the change of the UPnP statevariable

ClockDevice was badly notifing UPnP state variable changeing with pair <String name,String value> instead of <UPnPStateVariable, Object value>

StatusStateVariable was not compatible with Java6

    • -4
    • +4
    ./basedriver/importer/core/MyCtrlPoint.java
    • -12
    • +33
    ./basedriver/export/ExporterUPnPEventListener.java
  1. … 10 more files in changeset.
Modified dependency graph for:

- basedriver; dependency with extra bundle is not more needed. Now the basedriver directly exports the interfaces of the services it registers with the framework (DriverController.java and DevicesInfo.java)

- extra bundle provides only common utilities to write OSGi/UPnP Device services. It is used by the examples

- tv, clock and bynarylight use the extra packages (except for UPnpSubscriber; to do later)

- tester use the basedriver packages for forcing MSearch and Debugging and for resolving relative URLs

Added thread name to TVFrame.class and ClockFrame.class

    • -0
    • +57
    ./basedriver/controller/DevicesInfo.java
    • -1
    • +1
    ./basedriver/importer/util/DeviceSetup.java
    • -2
    • +2
    ./basedriver/importer/core/MyCtrlPoint.java
    • -0
    • +32
    ./basedriver/util/Constants.java
    • -0
    • +254
    ./basedriver/util/Converter.java
    • -0
    • +79
    ./basedriver/controller/DriverController.java
    • -1
    • +1
    ./basedriver/export/ExporterUPnPEventListener.java
  1. … 23 more files in changeset.
Moved the method getPropertyDefault() to Basedriver Activator and deleted Util.java
Moved UPnPEventNotifier.java and EventSource to the "extra" bundle.

Added dependencies with "extra" bundle to the examples projects

Modified the evented statevariables of the examples to use UPnPLocalStateVariable (since R4) (we used UPnPStateVariableDescriptor.java now removed)

Reorganized imports with the following order:

java,javax,com,org,org.apache,org.osgi,org.apache.felix,org.apache.felix.upnp

    • -1
    • +3
    ./basedriver/importer/core/upnp/UPnPDeviceImpl.java
    • -1
    • +1
    ./basedriver/export/BuildDevice.java
    • -1
    • +1
    ./basedriver/importer/core/upnp/UPnPActionImpl.java
  1. … 47 more files in changeset.
Added new system properties to configure the UPnP basedriver:

felix.upnpbase.log (default 2) (range 0 - 4)

felix.upnpbase.exporter.enabled (default true)

felix.upnpbase.importer.enabled (default true)

felix.upnpbase.cyberdomo.log (default false)

felix.upnpbase.cyberdomo.net.loopback (default false)

felix.upnpbase.cyberdomo.net.onlyIPV4 (default true)

felix.upnpbase.cyberdomo.net.onlyIPV6 (default false)

cyberdomo.ssdp.mx (default 5) it represent the delay in seconds to receive an MSearch reply. (it should be between 2 and 10)

cyberdomo.ssdp.buffersize (default 2048) (range from 512 to 65636)

cyberdomo.ssdp.port (default 1900) (according to the UPnP Spec. it should never be changed; range 1024 - 49151 )

  1. … 1 more file in changeset.
Resolved some race condition cases

Backporting for JDK 1.3 completed (Thanks to Nico Goeminne)

Added some comment and debug lines

    • -5
    • +0
    ./basedriver/importer/core/upnp/UPnPIconImpl.java
    • -0
    • +42
    ./basedriver/importer/util/StringSplitter.java
    • -1
    • +1
    ./basedriver/importer/util/ParseUSN.java
    • -3
    • +4
    ./basedriver/importer/util/ParseLocation.java
    • -4
    • +5
    ./basedriver/importer/core/upnp/UPnPServiceImpl.java
    • -4
    • +0
    ./basedriver/tool/Util.java
    • -75
    • +94
    ./basedriver/importer/core/MyCtrlPoint.java
    • -1
    • +1
    ./basedriver/importer/util/HTTPRequestForIcon.java
  1. … 4 more files in changeset.
Removed bundle dependencies between basedriver and extra

Created a profile two profile:

default for JDK1.4 and above

platform=jdk13 for JDK1.3

    • -1
    • +0
    ./basedriver/Activator.java
  1. … 1 more file in changeset.
FELIX-391: Applied a patch to fix this issue
    • -3
    • +4
    ./basedriver/export/GeneralActionListener.java