felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From furf...@apache.org
Subject svn commit: r399192 - in /incubator/felix/trunk: ./ org.apache.felix.upnp.basedriver/src/main/java/org/apache/felix/upnp/basedriver/ org.apache.felix.upnp.basedriver/src/main/java/org/apache/felix/upnp/basedriver/importer/util/ org.apache.felix.upnp.sa...
Date Wed, 03 May 2006 07:51:52 GMT
Author: furfari
Date: Wed May  3 00:51:49 2006
New Revision: 399192

URL: http://svn.apache.org/viewcvs?rev=399192&view=rev
Log:
Removed references to Domoware and changed images to report Felix/Apache logo

Added:
    incubator/felix/trunk/org.apache.felix.upnp.sample.tv/src/main/resources/org/apache/felix/upnp/sample/tv/images/logo.gif
  (with props)
Modified:
    incubator/felix/trunk/org.apache.felix.upnp.basedriver/src/main/java/org/apache/felix/upnp/basedriver/Activator.java
    incubator/felix/trunk/org.apache.felix.upnp.basedriver/src/main/java/org/apache/felix/upnp/basedriver/importer/util/DeviceSetup.java
    incubator/felix/trunk/org.apache.felix.upnp.sample.tv/src/main/java/org/apache/felix/upnp/sample/tv/PowerStateVariable.java
    incubator/felix/trunk/org.apache.felix.upnp.sample.tv/src/main/java/org/apache/felix/upnp/sample/tv/TvDevice.java
    incubator/felix/trunk/org.apache.felix.upnp.sample.tv/src/main/java/org/apache/felix/upnp/sample/tv/TvFrame.java
    incubator/felix/trunk/org.apache.felix.upnp.sample.tv/src/main/resources/org/apache/felix/upnp/sample/tv/images/tv.jpg
    incubator/felix/trunk/org.apache.felix.upnp.tester/src/main/java/org/apache/felix/upnp/tester/ControlPoint.java
    incubator/felix/trunk/org.apache.felix.upnp.tester/src/main/java/org/apache/felix/upnp/tester/gui/TreeViewer.java
    incubator/felix/trunk/org.apache.felix.upnp.tester/src/main/resources/org/apache/felix/upnp/tester/gui/IMAGES/logo.gif
    incubator/felix/trunk/pom.xml

Modified: incubator/felix/trunk/org.apache.felix.upnp.basedriver/src/main/java/org/apache/felix/upnp/basedriver/Activator.java
URL: http://svn.apache.org/viewcvs/incubator/felix/trunk/org.apache.felix.upnp.basedriver/src/main/java/org/apache/felix/upnp/basedriver/Activator.java?rev=399192&r1=399191&r2=399192&view=diff
==============================================================================
--- incubator/felix/trunk/org.apache.felix.upnp.basedriver/src/main/java/org/apache/felix/upnp/basedriver/Activator.java
(original)
+++ incubator/felix/trunk/org.apache.felix.upnp.basedriver/src/main/java/org/apache/felix/upnp/basedriver/Activator.java
Wed May  3 00:51:49 2006
@@ -70,9 +70,9 @@
         
  		Activator.bc = context;				
 		
-	    String levelStr = (String) Util.getPropertyDefault(context,"domoware.upnpbase.log","2");
    
+	    String levelStr = (String) Util.getPropertyDefault(context,"felix.upnpbase.log","2");
    
 		Activator.logger = new Logger(levelStr);
-	    String cyberLog = (String) Util.getPropertyDefault(context,"domoware.upnpbase.cyberlink.log","false");
+	    String cyberLog = (String) Util.getPropertyDefault(context,"felix.upnpbase.cyberlink.log","false");
 	    Activator.logger.setCyberDebug(cyberLog);
 
         UPnP.setXMLParser(new JaxpParser());

Modified: incubator/felix/trunk/org.apache.felix.upnp.basedriver/src/main/java/org/apache/felix/upnp/basedriver/importer/util/DeviceSetup.java
URL: http://svn.apache.org/viewcvs/incubator/felix/trunk/org.apache.felix.upnp.basedriver/src/main/java/org/apache/felix/upnp/basedriver/importer/util/DeviceSetup.java?rev=399192&r1=399191&r2=399192&view=diff
==============================================================================
--- incubator/felix/trunk/org.apache.felix.upnp.basedriver/src/main/java/org/apache/felix/upnp/basedriver/importer/util/DeviceSetup.java
(original)
+++ incubator/felix/trunk/org.apache.felix.upnp.basedriver/src/main/java/org/apache/felix/upnp/basedriver/importer/util/DeviceSetup.java
Wed May  3 00:51:49 2006
@@ -64,7 +64,7 @@
 	        );
 
 		/*UPNP_IMPORT*/
-		properties.put(Constants.UPNP_IMPORT, "http://domoware.isti.cnr.it");
+		properties.put(Constants.UPNP_IMPORT, "http://felix.apache.org");
 		
 		/* FRIENDLY_NAME */
 		//TODO controllato in metodo getFriendlyName se non esiste il frinedly mi restituisce una
stringa vuota

Modified: incubator/felix/trunk/org.apache.felix.upnp.sample.tv/src/main/java/org/apache/felix/upnp/sample/tv/PowerStateVariable.java
URL: http://svn.apache.org/viewcvs/incubator/felix/trunk/org.apache.felix.upnp.sample.tv/src/main/java/org/apache/felix/upnp/sample/tv/PowerStateVariable.java?rev=399192&r1=399191&r2=399192&view=diff
==============================================================================
--- incubator/felix/trunk/org.apache.felix.upnp.sample.tv/src/main/java/org/apache/felix/upnp/sample/tv/PowerStateVariable.java
(original)
+++ incubator/felix/trunk/org.apache.felix.upnp.sample.tv/src/main/java/org/apache/felix/upnp/sample/tv/PowerStateVariable.java
Wed May  3 00:51:49 2006
@@ -111,9 +111,6 @@
 		this.notifier = notifier;
 	}
 
-    /* (non-Javadoc)
-     * @see it.cnr.isti.niche.osgi.sample.tv.UPnPStateVariableDescriptor#getValue()
-     */
     public Object getValue() {
          return power;
     }

Modified: incubator/felix/trunk/org.apache.felix.upnp.sample.tv/src/main/java/org/apache/felix/upnp/sample/tv/TvDevice.java
URL: http://svn.apache.org/viewcvs/incubator/felix/trunk/org.apache.felix.upnp.sample.tv/src/main/java/org/apache/felix/upnp/sample/tv/TvDevice.java?rev=399192&r1=399191&r2=399192&view=diff
==============================================================================
--- incubator/felix/trunk/org.apache.felix.upnp.sample.tv/src/main/java/org/apache/felix/upnp/sample/tv/TvDevice.java
(original)
+++ incubator/felix/trunk/org.apache.felix.upnp.sample.tv/src/main/java/org/apache/felix/upnp/sample/tv/TvDevice.java
Wed May  3 00:51:49 2006
@@ -38,7 +38,7 @@
 
 public class TvDevice implements UPnPDevice,UPnPEventListener,ServiceListener  {
 	
-	final private String DEVICE_ID = "uuid:DomoWare-TV";
+	final private String DEVICE_ID = "uuid:Felix-TV";
 	private final static String CLOCK_DEVICE_TYPE = "urn:schemas-upnp-org:device:clock:1";
 	private final static String CLOCK_SERVICE_TYPE = "urn:schemas-upnp-org:service:timer:1";
 	
@@ -97,14 +97,14 @@
 	        	.device.Constants.DEVICE_CATEGORY,
         	new String[]{UPnPDevice.DEVICE_CATEGORY}
         );
-		dictionary.put(UPnPDevice.FRIENDLY_NAME,"Domoware Sample Tv");
-		dictionary.put(UPnPDevice.MANUFACTURER,"ISTI-CNR");
-		dictionary.put(UPnPDevice.MANUFACTURER_URL,"http://domoware.isti.cnr.it");
+		dictionary.put(UPnPDevice.FRIENDLY_NAME,"Felix Sample Tv");
+		dictionary.put(UPnPDevice.MANUFACTURER,"Apache Software Foundation");
+		dictionary.put(UPnPDevice.MANUFACTURER_URL,"http://incubator.apache.org/felix/");
 		dictionary.put(UPnPDevice.MODEL_DESCRIPTION,"A CyberLink Tv device clone to test OSGi to
UPnP service import");
 		dictionary.put(UPnPDevice.MODEL_NAME,"BimbiTv");
 		dictionary.put(UPnPDevice.MODEL_NUMBER,"1.0");
-		dictionary.put(UPnPDevice.MODEL_URL,"http://domoware.isti.cnr.it/BimbiTv");
-		dictionary.put(UPnPDevice.PRESENTATION_URL,"http://domoware.isti.cnr.it/BimbiTv/presentation");
+		dictionary.put(UPnPDevice.MODEL_URL,"http://incubator.apache.org/felix/BimbiTv");
+		dictionary.put(UPnPDevice.PRESENTATION_URL,"http://incubator.apache.org/felix/BimbiTv/presentation");
 		dictionary.put(UPnPDevice.SERIAL_NUMBER,"123456789");
 		dictionary.put(UPnPDevice.TYPE,"urn:schemas-upnp-org:device:tv:1");
 		dictionary.put(UPnPDevice.UDN,DEVICE_ID);

Modified: incubator/felix/trunk/org.apache.felix.upnp.sample.tv/src/main/java/org/apache/felix/upnp/sample/tv/TvFrame.java
URL: http://svn.apache.org/viewcvs/incubator/felix/trunk/org.apache.felix.upnp.sample.tv/src/main/java/org/apache/felix/upnp/sample/tv/TvFrame.java?rev=399192&r1=399191&r2=399192&view=diff
==============================================================================
--- incubator/felix/trunk/org.apache.felix.upnp.sample.tv/src/main/java/org/apache/felix/upnp/sample/tv/TvFrame.java
(original)
+++ incubator/felix/trunk/org.apache.felix.upnp.sample.tv/src/main/java/org/apache/felix/upnp/sample/tv/TvFrame.java
Wed May  3 00:51:49 2006
@@ -20,7 +20,9 @@
 import java.awt.BorderLayout;
 import java.awt.event.WindowAdapter;
 import java.awt.event.WindowEvent;
+import java.net.URL;
 
+import javax.swing.ImageIcon;
 import javax.swing.JFrame;
 
 import org.osgi.framework.BundleException;
@@ -30,7 +32,7 @@
 
 public class TvFrame extends JFrame implements Runnable 
 {
-	private final static String TITLE = "DomoWare Sample TV";
+	private final static String TITLE = "Felix UpnP TV";
 	
 	private TvDevice tvDev;
 	private TvPane tvPane;
@@ -59,6 +61,15 @@
 			}
 		});			
 		
+	       try {
+	            URL eventIconUrl = TvFrame.class.getResource("images/logo.gif");           
+	            ImageIcon icon=  new ImageIcon(eventIconUrl,"logo");
+	            setIconImage(icon.getImage());
+	       }
+	        catch (Exception ex){
+	                System.out.println("Resource: IMAGES/logo.gif not found : " + ex.toString());
+	        }
+	        
 		pack();
 		setVisible(true);
 	}

Added: incubator/felix/trunk/org.apache.felix.upnp.sample.tv/src/main/resources/org/apache/felix/upnp/sample/tv/images/logo.gif
URL: http://svn.apache.org/viewcvs/incubator/felix/trunk/org.apache.felix.upnp.sample.tv/src/main/resources/org/apache/felix/upnp/sample/tv/images/logo.gif?rev=399192&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/felix/trunk/org.apache.felix.upnp.sample.tv/src/main/resources/org/apache/felix/upnp/sample/tv/images/logo.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: incubator/felix/trunk/org.apache.felix.upnp.sample.tv/src/main/resources/org/apache/felix/upnp/sample/tv/images/tv.jpg
URL: http://svn.apache.org/viewcvs/incubator/felix/trunk/org.apache.felix.upnp.sample.tv/src/main/resources/org/apache/felix/upnp/sample/tv/images/tv.jpg?rev=399192&r1=399191&r2=399192&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/felix/trunk/org.apache.felix.upnp.tester/src/main/java/org/apache/felix/upnp/tester/ControlPoint.java
URL: http://svn.apache.org/viewcvs/incubator/felix/trunk/org.apache.felix.upnp.tester/src/main/java/org/apache/felix/upnp/tester/ControlPoint.java?rev=399192&r1=399191&r2=399192&view=diff
==============================================================================
--- incubator/felix/trunk/org.apache.felix.upnp.tester/src/main/java/org/apache/felix/upnp/tester/ControlPoint.java
(original)
+++ incubator/felix/trunk/org.apache.felix.upnp.tester/src/main/java/org/apache/felix/upnp/tester/ControlPoint.java
Wed May  3 00:51:49 2006
@@ -64,7 +64,7 @@
 	
 	
 	public ControlPoint() {
-		frame = new JFrame("OSGi UPnP Device Tester");
+		frame = new JFrame("Felix UPnPDevice Tester");
        try {
             URL eventIconUrl = Util.class.getResource("IMAGES/logo.gif");           
             ImageIcon icon=  new ImageIcon(eventIconUrl,"logo");
@@ -183,7 +183,7 @@
             });
         
         
-        loggerMenu = new JMenu("Domoware Logger");
+        loggerMenu = new JMenu("Felix Logger");
         final String NO_LOGGING ="No Logging";
         final String ERROR ="Error";
         final String WARNING ="Warning";

Modified: incubator/felix/trunk/org.apache.felix.upnp.tester/src/main/java/org/apache/felix/upnp/tester/gui/TreeViewer.java
URL: http://svn.apache.org/viewcvs/incubator/felix/trunk/org.apache.felix.upnp.tester/src/main/java/org/apache/felix/upnp/tester/gui/TreeViewer.java?rev=399192&r1=399191&r2=399192&view=diff
==============================================================================
--- incubator/felix/trunk/org.apache.felix.upnp.tester/src/main/java/org/apache/felix/upnp/tester/gui/TreeViewer.java
(original)
+++ incubator/felix/trunk/org.apache.felix.upnp.tester/src/main/java/org/apache/felix/upnp/tester/gui/TreeViewer.java
Wed May  3 00:51:49 2006
@@ -95,9 +95,6 @@
     public void setPopupMenuEnabled(boolean driverControllerAvailable){
         popup.getComponent(0).setEnabled(driverControllerAvailable);
     }
-	/* (non-Javadoc)
-	 * @see org.apache.felix.sample.upnp.DeviceNodeListener#deviceDetected(it.cnr.isti.niche.osgi.upnpbase.export.DeviceNode)
-	 */
 	public void deviceDetected(DeviceNode node) {
 		root.add(new UPnPDeviceTreeNode(node,Activator.context));
 		treeModel.nodeStructureChanged(root);

Modified: incubator/felix/trunk/org.apache.felix.upnp.tester/src/main/resources/org/apache/felix/upnp/tester/gui/IMAGES/logo.gif
URL: http://svn.apache.org/viewcvs/incubator/felix/trunk/org.apache.felix.upnp.tester/src/main/resources/org/apache/felix/upnp/tester/gui/IMAGES/logo.gif?rev=399192&r1=399191&r2=399192&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/felix/trunk/pom.xml
URL: http://svn.apache.org/viewcvs/incubator/felix/trunk/pom.xml?rev=399192&r1=399191&r2=399192&view=diff
==============================================================================
--- incubator/felix/trunk/pom.xml (original)
+++ incubator/felix/trunk/pom.xml Wed May  3 00:51:49 2006
@@ -34,6 +34,8 @@
     <module>org.apache.felix.upnp.basedriver</module>
     <module>org.apache.felix.upnp.tester</module>      
     <module>org.apache.felix.upnp.sample.tv</module>
+    <module>org.apache.felix.upnp.sample.clock</module>
+    <module>org.apache.felix.upnp.sample.binaryLight</module>
     <module>org.apache.felix.http.jetty</module>
 	<module>org.apache.felix.scr</module>
 	<module>org.apache.felix.eventadmin</module>



Mime
View raw message