epj format, ide, epj2make; moved ModuleVersion, project description, license and...
authorRejean Loyer <rejean.loyer@gmail.com>
Thu, 4 Apr 2013 12:47:39 +0000 (08:47 -0400)
committerJerome St-Louis <jerome@ecere.com>
Mon, 22 Apr 2013 05:45:11 +0000 (01:45 -0400)
compiler/libec/ec.epj
ecere/ecere.epj
ecere/ecereCOM.epj
eda/drivers/sqlite/EDASQLite.epj
eda/drivers/sqliteCipher/EDASQLiteCipher.epj
eda/libeda/EDA.epj
ide/src/project/Project.ec

index 1dd3b38..3c8faa4 100644 (file)
@@ -1,6 +1,7 @@
 {
    "Version" : 0.2,
    "ModuleName" : "ec",
+   "ModuleVersion" : "0.44",
    "Options" : {
       "Warnings" : "All",
       "TargetType" : "SharedLibrary",
             }
          ]
       }
-   ],
-   "ModuleVersion" : "0.44"
+   ]
 }
index 04bbadf..d68b5e9 100644 (file)
@@ -1,6 +1,72 @@
 {
    "Version" : 0.2,
    "ModuleName" : "ecere",
+   "ModuleVersion" : "0.44",
+   "Description" : "The allmighty Ecere Runtime library.",
+   "License" : "Ecere SDK v0.44 - www.ecere.com
+
+The Ecere SDK is Free Open Source Software. It is provided with NO WARRANTY
+expressed or implied to the extent permitted by law.
+
+Applications built with it can be distributed both commercially and non
+commercially, along with the supporting Ecere runtime library(ies):
+
+   * libecere.so / ecere.dll
+      - Core eC framework + GUI toolkit, 2D/3D graphics engine, networking
+   * libecereCOM.so / ecereCOM.dll
+      - Core eC framework only
+   * libEDA.so / EDA.dll
+      - Data Access System
+   * libEDASQLite.so / EDASQLite.dll
+      - SQLite driver for EDA
+
+The Ecere SDK is distributed under the New BSD license:
+
+================================================================================
+
+   Copyright (c) 1996-2012, Jerome Jacovella-St-Louis
+   Copyright (c) 2005-2012, Ecere Corporation
+
+   All rights reserved.
+
+   Redistribution and use in source and binary forms, with or without
+   modification, are permitted provided that the following conditions are met:
+
+    * Redistributions of source code must retain the above copyright notice,
+      this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above copyright notice,
+      this list of conditions and the following disclaimer in the documentation
+      and/or other materials provided with the distribution.
+    * Neither the name of Ecere Corporation nor the names of its contributors
+      may be used to endorse or promote products derived from this software
+      without specific prior written permission.
+
+   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+   EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+   PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+   PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+   LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+   NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+   SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+===============================================================================
+
+This software makes use of other software components whose licenses may also
+apply, which are found in their respective source directories (most under
+deps/).
+
+Among them: zlib, libpng, libjpeg, giflib, harfbuzz, freetype, tango icons
+
+The IDE also communicates with GCC for compiling (MinGW on Windows), GDB for
+debugging, and UPX for optionally compressing executables. Each of these have
+their own license which can be found in their respective documentation folder
+if distributed along with the SDK (in the case of the Windows version) or
+from wherever you obtained them.
+",
    "Options" : {
       "Warnings" : "All",
       "PreprocessorDefinitions" : [
             }
          ]
       }
-   ],
-   "Description" : "The allmighty Ecere Runtime library.",
-   "License" : "Ecere SDK v0.44 - www.ecere.com
-
-The Ecere SDK is Free Open Source Software. It is provided with NO WARRANTY 
-expressed or implied to the extent permitted by law.
-
-Applications built with it can be distributed both commercially and non
-commercially, along with the supporting Ecere runtime library(ies):
-
-   * libecere.so / ecere.dll
-      - Core eC framework + GUI toolkit, 2D/3D graphics engine, networking
-   * libecereCOM.so / ecereCOM.dll
-      - Core eC framework only
-   * libEDA.so / EDA.dll
-      - Data Access System
-   * libEDASQLite.so / EDASQLite.dll
-      - SQLite driver for EDA
-
-The Ecere SDK is distributed under the New BSD license:
-
-================================================================================
-
-   Copyright (c) 1996-2012, Jerome Jacovella-St-Louis
-   Copyright (c) 2005-2012, Ecere Corporation
-
-   All rights reserved.
-
-   Redistribution and use in source and binary forms, with or without
-   modification, are permitted provided that the following conditions are met:
-
-    * Redistributions of source code must retain the above copyright notice,
-      this list of conditions and the following disclaimer.
-    * Redistributions in binary form must reproduce the above copyright notice,
-      this list of conditions and the following disclaimer in the documentation
-      and/or other materials provided with the distribution.
-    * Neither the name of Ecere Corporation nor the names of its contributors
-      may be used to endorse or promote products derived from this software 
-      without specific prior written permission.
-
-   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
-   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-   EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-   PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-   PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-   LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-   NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-   SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-===============================================================================
-
-This software makes use of other software components whose licenses may also 
-apply, which are found in their respective source directories (most under
-deps/).
-
-Among them: zlib, libpng, libjpeg, giflib, harfbuzz, freetype, tango icons
-
-The IDE also communicates with GCC for compiling (MinGW on Windows), GDB for 
-debugging, and UPX for optionally compressing executables. Each of these have 
-their own license which can be found in their respective documentation folder 
-if distributed along with the SDK (in the case of the Windows version) or
-from wherever you obtained them.
-",
-   "ModuleVersion" : "0.44"
+   ]
 }
index 302e7e8..7f2da6a 100644 (file)
@@ -1,6 +1,7 @@
 {
    "Version" : 0.2,
    "ModuleName" : "ecereCOM",
+   "ModuleVersion" : "0.44",
    "Options" : {
       "Warnings" : "All",
       "PreprocessorDefinitions" : [
    "ResourcesPath" : "",
    "Resources" : [
 
-   ],
-   "ModuleVersion" : "0.44"
+   ]
 }
index 6eaee7a..61a9633 100755 (executable)
@@ -1,6 +1,7 @@
 {
    "Version" : 0.2,
    "ModuleName" : "EDASQLite",
+   "ModuleVersion" : "0.44",
    "Options" : {
       "Warnings" : "All",
       "Optimization" : "None",
             }
          ]
       }
-   ],
-   "ModuleVersion" : "0.44"
+   ]
 }
index 9e67a06..256b85b 100644 (file)
@@ -1,6 +1,7 @@
 {
    "Version" : 0.2,
    "ModuleName" : "EDASQLiteCipher",
+   "ModuleVersion" : "0.44",
    "Options" : {
       "Warnings" : "All",
       "Optimization" : "None",
             }
          ]
       }
-   ],
-   "ModuleVersion" : "0.44"
+   ]
 }
index 78afc9c..e83019b 100644 (file)
@@ -1,6 +1,7 @@
 {
    "Version" : 0.2,
    "ModuleName" : "EDA",
+   "ModuleVersion" : "0.44",
    "Options" : {
       "Warnings" : "All",
       "DefaultNameSpace" : "eda",
             }
          ]
       }
-   ],
-   "ModuleVersion" : "0.44"
+   ]
 }
index bcb4d86..612f2ae 100644 (file)
@@ -750,6 +750,34 @@ public:
    float version;
    String moduleName;
 
+   property char * moduleVersion
+   {
+      set { delete moduleVersion; if(value && value[0]) moduleVersion = CopyString(value); } // TODO: use CopyString function that filters chars
+      get { return moduleVersion ? moduleVersion : ""; }                                     //       version number should only use digits and dots
+      isset { return moduleVersion != null && moduleVersion[0]; }                            //       add leading/trailing 0 if value start/ends with dot(s)
+   }
+
+   property char * description
+   {
+      set { delete description; if(value && value[0]) description = CopyString(value); }
+      get { return description ? description : ""; }
+      isset { return description != null && description[0]; }
+   }
+
+   property char * license
+   {
+      set { delete license; if(value && value[0]) license = CopyString(value); }
+      get { return license ? license : ""; }
+      isset { return license != null && license[0]; }
+   }
+
+   property char * compilerConfigsDir
+   {
+      set { delete compilerConfigsDir; if(value && value[0]) compilerConfigsDir = CopyString(value); }
+      get { return compilerConfigsDir ? compilerConfigsDir : ""; }
+      isset { return compilerConfigsDir && compilerConfigsDir[0]; }
+   }
+
    property ProjectOptions options { get { return options; } set { options = value; } isset { return options && !options.isEmpty; } }
    property Array<PlatformOptions> platforms
    {
@@ -785,34 +813,6 @@ public:
    String resourcesPath;
    LinkList<ProjectNode> resources;
 
-   property char * description
-   {
-      set { delete description; if(value && value[0]) description = CopyString(value); }
-      get { return description ? description : ""; }
-      isset { return description != null && description[0]; }
-   }
-
-   property char * license
-   {
-      set { delete license; if(value && value[0]) license = CopyString(value); }
-      get { return license ? license : ""; }
-      isset { return license != null && license[0]; }
-   }
-
-   property char * compilerConfigsDir
-   {
-      set { delete compilerConfigsDir; if(value && value[0]) compilerConfigsDir = CopyString(value); }
-      get { return compilerConfigsDir ? compilerConfigsDir : ""; }
-      isset { return compilerConfigsDir && compilerConfigsDir[0]; }
-   }
-
-   property char * moduleVersion
-   {
-      set { delete moduleVersion; if(value && value[0]) moduleVersion = CopyString(value); } // TODO: use CopyString function that filters chars
-      get { return moduleVersion ? moduleVersion : ""; }                                     //       version number should only use digits and dots
-      isset { return moduleVersion != null && moduleVersion[0]; }                            //       add leading/trailing 0 if value start/ends with dot(s)
-   }
-
 private:
    // topNode.name holds the file name (.epj)
    ProjectOptions options;