git clone of logicmail with some fixes/features added
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

git-svn-id: https://logicmail.svn.sourceforge.net/svnroot/logicmail/trunk@550 5c734088-3d25-0410-9155-b3c3832efda5

octorian 03a05620 1062d9ca

+278 -12
+56
LogicMail/src/org/logicprobe/LogicMail/PlatformInfo.java
··· 1 + /*- 2 + * Copyright (c) 2006, Derek Konigsberg 3 + * All rights reserved. 4 + * 5 + * Redistribution and use in source and binary forms, with or without 6 + * modification, are permitted provided that the following conditions 7 + * are met: 8 + * 9 + * 1. Redistributions of source code must retain the above copyright 10 + * notice, this list of conditions and the following disclaimer. 11 + * 2. Redistributions in binary form must reproduce the above copyright 12 + * notice, this list of conditions and the following disclaimer in the 13 + * documentation and/or other materials provided with the distribution. 14 + * 3. Neither the name of the project nor the names of its 15 + * contributors may be used to endorse or promote products derived 16 + * from this software without specific prior written permission. 17 + * 18 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 21 + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 22 + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 23 + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 24 + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 25 + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 27 + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 29 + * OF THE POSSIBILITY OF SUCH DAMAGE. 30 + */ 31 + package org.logicprobe.LogicMail; 32 + 33 + import org.logicprobe.LogicMail.util.PlatformUtils; 34 + 35 + public abstract class PlatformInfo { 36 + private static PlatformInfo instance; 37 + 38 + /** 39 + * Array of concrete PlatformInfo classes, in order from the highest 40 + * API version to the lowest. 41 + */ 42 + private static String[] infoClasses = { 43 + "org.logicprobe.LogicMail.PlatformInfoBB50T", 44 + "org.logicprobe.LogicMail.PlatformInfoBB50", 45 + "org.logicprobe.LogicMail.PlatformInfoBB47T", 46 + "org.logicprobe.LogicMail.PlatformInfoBB47", 47 + "org.logicprobe.LogicMail.PlatformInfoBB42" 48 + }; 49 + 50 + public static synchronized PlatformInfo getInstance() { 51 + if(instance == null) { 52 + instance = (PlatformInfo)PlatformUtils.getFactoryInstance(infoClasses); 53 + } 54 + return instance; 55 + } 56 + }
+35
LogicMail/src/org/logicprobe/LogicMail/PlatformInfoBB42.java
··· 1 + /*- 2 + * Copyright (c) 2006, Derek Konigsberg 3 + * All rights reserved. 4 + * 5 + * Redistribution and use in source and binary forms, with or without 6 + * modification, are permitted provided that the following conditions 7 + * are met: 8 + * 9 + * 1. Redistributions of source code must retain the above copyright 10 + * notice, this list of conditions and the following disclaimer. 11 + * 2. Redistributions in binary form must reproduce the above copyright 12 + * notice, this list of conditions and the following disclaimer in the 13 + * documentation and/or other materials provided with the distribution. 14 + * 3. Neither the name of the project nor the names of its 15 + * contributors may be used to endorse or promote products derived 16 + * from this software without specific prior written permission. 17 + * 18 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 21 + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 22 + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 23 + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 24 + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 25 + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 27 + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 29 + * OF THE POSSIBILITY OF SUCH DAMAGE. 30 + */ 31 + package org.logicprobe.LogicMail; 32 + 33 + public class PlatformInfoBB42 extends PlatformInfo { 34 + 35 + }
+1 -1
LogicMail_BB46/.classpath
··· 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <classpath> 3 + <classpathentry combineaccessrules="false" kind="src" path="/LogicMail"/> 3 4 <classpathentry kind="src" path="src"/> 4 5 <classpathentry kind="src" path="res"/> 5 6 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/net.rim.ejde.BlackBerryVMInstallType/BlackBerry JRE 4.6.0"/> 6 - <classpathentry combineaccessrules="false" kind="src" path="/LogicMail"/> 7 7 <classpathentry kind="output" path="bin"/> 8 8 </classpath>
+35
LogicMail_BB46/src/org/logicprobe/LogicMail/PlatformInfoBB46.java
··· 1 + /*- 2 + * Copyright (c) 2006, Derek Konigsberg 3 + * All rights reserved. 4 + * 5 + * Redistribution and use in source and binary forms, with or without 6 + * modification, are permitted provided that the following conditions 7 + * are met: 8 + * 9 + * 1. Redistributions of source code must retain the above copyright 10 + * notice, this list of conditions and the following disclaimer. 11 + * 2. Redistributions in binary form must reproduce the above copyright 12 + * notice, this list of conditions and the following disclaimer in the 13 + * documentation and/or other materials provided with the distribution. 14 + * 3. Neither the name of the project nor the names of its 15 + * contributors may be used to endorse or promote products derived 16 + * from this software without specific prior written permission. 17 + * 18 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 21 + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 22 + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 23 + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 24 + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 25 + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 27 + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 29 + * OF THE POSSIBILITY OF SUCH DAMAGE. 30 + */ 31 + package org.logicprobe.LogicMail; 32 + 33 + public class PlatformInfoBB46 extends PlatformInfo { 34 + 35 + }
+2 -2
LogicMail_BB47/.classpath
··· 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <classpath> 3 + <classpathentry combineaccessrules="false" kind="src" path="/LogicMail"/> 4 + <classpathentry combineaccessrules="false" kind="src" path="/LogicMail_BB46"/> 3 5 <classpathentry kind="src" path="src"/> 4 6 <classpathentry kind="src" path="res"/> 5 7 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/net.rim.ejde.BlackBerryVMInstallType/BlackBerry JRE 4.7.0"/> 6 - <classpathentry combineaccessrules="false" kind="src" path="/LogicMail"/> 7 - <classpathentry combineaccessrules="false" kind="src" path="/LogicMail_BB46"/> 8 8 <classpathentry kind="output" path="bin"/> 9 9 </classpath>
+35
LogicMail_BB47/src/org/logicprobe/LogicMail/PlatformInfoBB47.java
··· 1 + /*- 2 + * Copyright (c) 2006, Derek Konigsberg 3 + * All rights reserved. 4 + * 5 + * Redistribution and use in source and binary forms, with or without 6 + * modification, are permitted provided that the following conditions 7 + * are met: 8 + * 9 + * 1. Redistributions of source code must retain the above copyright 10 + * notice, this list of conditions and the following disclaimer. 11 + * 2. Redistributions in binary form must reproduce the above copyright 12 + * notice, this list of conditions and the following disclaimer in the 13 + * documentation and/or other materials provided with the distribution. 14 + * 3. Neither the name of the project nor the names of its 15 + * contributors may be used to endorse or promote products derived 16 + * from this software without specific prior written permission. 17 + * 18 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 21 + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 22 + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 23 + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 24 + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 25 + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 27 + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 29 + * OF THE POSSIBILITY OF SUCH DAMAGE. 30 + */ 31 + package org.logicprobe.LogicMail; 32 + 33 + public class PlatformInfoBB47 extends PlatformInfo { 34 + 35 + }
+3 -3
LogicMail_BB47T/.classpath
··· 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <classpath> 3 + <classpathentry combineaccessrules="false" kind="src" path="/LogicMail"/> 4 + <classpathentry combineaccessrules="false" kind="src" path="/LogicMail_BB46"/> 5 + <classpathentry combineaccessrules="false" kind="src" path="/LogicMail_BB47"/> 3 6 <classpathentry kind="src" path="src"/> 4 7 <classpathentry kind="src" path="res"/> 5 8 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/net.rim.ejde.BlackBerryVMInstallType/BlackBerry JRE 4.7.0"/> 6 - <classpathentry combineaccessrules="false" kind="src" path="/LogicMail"/> 7 - <classpathentry combineaccessrules="false" kind="src" path="/LogicMail_BB47"/> 8 - <classpathentry combineaccessrules="false" kind="src" path="/LogicMail_BB46"/> 9 9 <classpathentry kind="output" path="bin"/> 10 10 </classpath>
+35
LogicMail_BB47T/src/org/logicprobe/LogicMail/PlatformInfoBB47T.java
··· 1 + /*- 2 + * Copyright (c) 2006, Derek Konigsberg 3 + * All rights reserved. 4 + * 5 + * Redistribution and use in source and binary forms, with or without 6 + * modification, are permitted provided that the following conditions 7 + * are met: 8 + * 9 + * 1. Redistributions of source code must retain the above copyright 10 + * notice, this list of conditions and the following disclaimer. 11 + * 2. Redistributions in binary form must reproduce the above copyright 12 + * notice, this list of conditions and the following disclaimer in the 13 + * documentation and/or other materials provided with the distribution. 14 + * 3. Neither the name of the project nor the names of its 15 + * contributors may be used to endorse or promote products derived 16 + * from this software without specific prior written permission. 17 + * 18 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 21 + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 22 + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 23 + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 24 + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 25 + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 27 + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 29 + * OF THE POSSIBILITY OF SUCH DAMAGE. 30 + */ 31 + package org.logicprobe.LogicMail; 32 + 33 + public class PlatformInfoBB47T extends PlatformInfoBB47 { 34 + 35 + }
+3 -3
LogicMail_BB50/.classpath
··· 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <classpath> 3 + <classpathentry combineaccessrules="false" kind="src" path="/LogicMail"/> 4 + <classpathentry combineaccessrules="false" kind="src" path="/LogicMail_BB46"/> 5 + <classpathentry combineaccessrules="false" kind="src" path="/LogicMail_BB47"/> 3 6 <classpathentry kind="src" path="src"/> 4 7 <classpathentry kind="src" path="res"/> 5 8 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/net.rim.ejde.BlackBerryVMInstallType/BlackBerry JRE 5.0.0"/> 6 - <classpathentry combineaccessrules="false" kind="src" path="/LogicMail"/> 7 - <classpathentry combineaccessrules="false" kind="src" path="/LogicMail_BB46"/> 8 - <classpathentry combineaccessrules="false" kind="src" path="/LogicMail_BB47"/> 9 9 <classpathentry kind="output" path="bin"/> 10 10 </classpath>
+35
LogicMail_BB50/src/org/logicprobe/LogicMail/PlatformInfoBB50.java
··· 1 + /*- 2 + * Copyright (c) 2006, Derek Konigsberg 3 + * All rights reserved. 4 + * 5 + * Redistribution and use in source and binary forms, with or without 6 + * modification, are permitted provided that the following conditions 7 + * are met: 8 + * 9 + * 1. Redistributions of source code must retain the above copyright 10 + * notice, this list of conditions and the following disclaimer. 11 + * 2. Redistributions in binary form must reproduce the above copyright 12 + * notice, this list of conditions and the following disclaimer in the 13 + * documentation and/or other materials provided with the distribution. 14 + * 3. Neither the name of the project nor the names of its 15 + * contributors may be used to endorse or promote products derived 16 + * from this software without specific prior written permission. 17 + * 18 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 21 + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 22 + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 23 + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 24 + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 25 + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 27 + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 29 + * OF THE POSSIBILITY OF SUCH DAMAGE. 30 + */ 31 + package org.logicprobe.LogicMail; 32 + 33 + public class PlatformInfoBB50 extends PlatformInfo { 34 + 35 + }
+3 -3
LogicMail_BB50T/.classpath
··· 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <classpath> 3 - <classpathentry kind="src" path="src"/> 4 - <classpathentry kind="src" path="res"/> 5 - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/net.rim.ejde.BlackBerryVMInstallType/BlackBerry JRE 5.0.0"/> 6 3 <classpathentry combineaccessrules="false" kind="src" path="/LogicMail"/> 7 4 <classpathentry combineaccessrules="false" kind="src" path="/LogicMail_BB46"/> 8 5 <classpathentry combineaccessrules="false" kind="src" path="/LogicMail_BB47"/> 9 6 <classpathentry combineaccessrules="false" kind="src" path="/LogicMail_BB47T"/> 10 7 <classpathentry combineaccessrules="false" kind="src" path="/LogicMail_BB50"/> 8 + <classpathentry kind="src" path="src"/> 9 + <classpathentry kind="src" path="res"/> 10 + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/net.rim.ejde.BlackBerryVMInstallType/BlackBerry JRE 5.0.0"/> 11 11 <classpathentry kind="output" path="bin"/> 12 12 </classpath>
+35
LogicMail_BB50T/src/org/logicprobe/LogicMail/PlatformInfoBB50T.java
··· 1 + /*- 2 + * Copyright (c) 2006, Derek Konigsberg 3 + * All rights reserved. 4 + * 5 + * Redistribution and use in source and binary forms, with or without 6 + * modification, are permitted provided that the following conditions 7 + * are met: 8 + * 9 + * 1. Redistributions of source code must retain the above copyright 10 + * notice, this list of conditions and the following disclaimer. 11 + * 2. Redistributions in binary form must reproduce the above copyright 12 + * notice, this list of conditions and the following disclaimer in the 13 + * documentation and/or other materials provided with the distribution. 14 + * 3. Neither the name of the project nor the names of its 15 + * contributors may be used to endorse or promote products derived 16 + * from this software without specific prior written permission. 17 + * 18 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 21 + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 22 + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 23 + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 24 + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 25 + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 27 + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 29 + * OF THE POSSIBILITY OF SUCH DAMAGE. 30 + */ 31 + package org.logicprobe.LogicMail; 32 + 33 + public class PlatformInfoBB50T extends PlatformInfoBB50 { 34 + 35 + }