summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfahim2015-03-02 15:38:40 +0530
committerfahim2015-03-02 15:38:40 +0530
commit05de80920118454a0e08b6a41e6ee5eb81d09a8e (patch)
tree9901dd5ccd896630b08491e38bdd42dbbc31652e /src
parentb8a87cdb785471005e96234782287528e3edc39c (diff)
downloadeSim-05de80920118454a0e08b6a41e6ee5eb81d09a8e.tar.gz
eSim-05de80920118454a0e08b6a41e6ee5eb81d09a8e.tar.bz2
eSim-05de80920118454a0e08b6a41e6ee5eb81d09a8e.zip
Subject: Changes name from ecSim to eSim
Description: Changes name from ecSim to eSim
Diffstat (limited to 'src')
-rw-r--r--src/configuration/Appconfig.py4
-rw-r--r--src/configuration/Appconfig.pycbin1308 -> 1304 bytes
-rwxr-xr-xsrc/frontEnd/Application.py2
-rwxr-xr-xsrc/frontEnd/ViewManagement.py2
-rw-r--r--src/frontEnd/ViewManagement.pycbin3038 -> 3032 bytes
-rw-r--r--src/frontEnd/Workspace.py2
-rw-r--r--src/frontEnd/Workspace.pycbin3476 -> 3469 bytes
-rw-r--r--src/projManagement/Kicad.py2
-rw-r--r--src/projManagement/Kicad.pycbin3148 -> 3142 bytes
-rw-r--r--src/projManagement/Validation.py4
-rw-r--r--src/projManagement/Validation.pycbin1619 -> 1613 bytes
-rw-r--r--src/projManagement/Worker.py2
-rw-r--r--src/projManagement/Worker.pycbin1263 -> 1257 bytes
-rw-r--r--src/projManagement/newProject.py16
-rw-r--r--src/projManagement/newProject.pycbin3622 -> 3836 bytes
-rw-r--r--src/projManagement/openProject.py2
-rw-r--r--src/projManagement/openProject.pycbin1735 -> 1731 bytes
17 files changed, 22 insertions, 14 deletions
diff --git a/src/configuration/Appconfig.py b/src/configuration/Appconfig.py
index d1b82166..542c0b3f 100644
--- a/src/configuration/Appconfig.py
+++ b/src/configuration/Appconfig.py
@@ -11,7 +11,7 @@
# BUGS: ---
# NOTES: ---
# AUTHOR: Fahim Khan, fahim.elex@gmail.com
-# ORGANIZATION: ecSim team at FOSSEE, IIT Bombay.
+# ORGANIZATION: eSim team at FOSSEE, IIT Bombay.
# CREATED: Wednesday 04 February 2015
# REVISION: ---
#===============================================================================
@@ -37,7 +37,7 @@ class Appconfig(QtGui.QWidget):
def __init__(self):
super(Appconfig, self).__init__()
#Application Details
- self._APPLICATION = 'ecSim'
+ self._APPLICATION = 'eSim'
self._VERSION = 'v1.1'
self._AUTHOR = 'Fahim'
diff --git a/src/configuration/Appconfig.pyc b/src/configuration/Appconfig.pyc
index b4cbb31a..4c19546d 100644
--- a/src/configuration/Appconfig.pyc
+++ b/src/configuration/Appconfig.pyc
Binary files differ
diff --git a/src/frontEnd/Application.py b/src/frontEnd/Application.py
index ff1ffb2a..2113ff9e 100755
--- a/src/frontEnd/Application.py
+++ b/src/frontEnd/Application.py
@@ -12,7 +12,7 @@
# BUGS: ---
# NOTES: ---
# AUTHOR: Fahim Khan, fahim.elex@gmail.com
-# ORGANIZATION: ecSim team at FOSSEE, IIT Bombay.
+# ORGANIZATION: eSim team at FOSSEE, IIT Bombay.
# CREATED: Wednesday 21 January 2015
# REVISION: ---
#===============================================================================
diff --git a/src/frontEnd/ViewManagement.py b/src/frontEnd/ViewManagement.py
index e1d91d21..c1c5a4d5 100755
--- a/src/frontEnd/ViewManagement.py
+++ b/src/frontEnd/ViewManagement.py
@@ -12,7 +12,7 @@
# BUGS: ---
# NOTES: ---
# AUTHOR: Fahim Khan, fahim.elex@gmail.com
-# ORGANIZATION: ecSim team at FOSSEE, IIT Bombay.
+# ORGANIZATION: eSim team at FOSSEE, IIT Bombay.
# CREATED: Wednesday 27 January 2015
# REVISION: ---
#===============================================================================
diff --git a/src/frontEnd/ViewManagement.pyc b/src/frontEnd/ViewManagement.pyc
index 7e3b4a15..45ea0277 100644
--- a/src/frontEnd/ViewManagement.pyc
+++ b/src/frontEnd/ViewManagement.pyc
Binary files differ
diff --git a/src/frontEnd/Workspace.py b/src/frontEnd/Workspace.py
index 3b3ef37d..47d26d9b 100644
--- a/src/frontEnd/Workspace.py
+++ b/src/frontEnd/Workspace.py
@@ -11,7 +11,7 @@
# BUGS: ---
# NOTES: ---
# AUTHOR: Fahim Khan, fahim.elex@gmail.com
-# ORGANIZATION: ecSim team at FOSSEE, IIT Bombay.
+# ORGANIZATION: eSim team at FOSSEE, IIT Bombay.
# CREATED: Wednesday 05 February 2015
# REVISION: ---
#===============================================================================
diff --git a/src/frontEnd/Workspace.pyc b/src/frontEnd/Workspace.pyc
index 72024da5..a352cd29 100644
--- a/src/frontEnd/Workspace.pyc
+++ b/src/frontEnd/Workspace.pyc
Binary files differ
diff --git a/src/projManagement/Kicad.py b/src/projManagement/Kicad.py
index bbd7664b..71e66064 100644
--- a/src/projManagement/Kicad.py
+++ b/src/projManagement/Kicad.py
@@ -11,7 +11,7 @@
# BUGS: ---
# NOTES: ---
# AUTHOR: Fahim Khan, fahim.elex@gmail.com
-# ORGANIZATION: ecSim team at FOSSEE, IIT Bombay.
+# ORGANIZATION: eSim team at FOSSEE, IIT Bombay.
# CREATED: Tuesday 17 Feb 2015
# REVISION: ---
#===============================================================================
diff --git a/src/projManagement/Kicad.pyc b/src/projManagement/Kicad.pyc
index 89aabd2d..273ea5d7 100644
--- a/src/projManagement/Kicad.pyc
+++ b/src/projManagement/Kicad.pyc
Binary files differ
diff --git a/src/projManagement/Validation.py b/src/projManagement/Validation.py
index a9da3101..323b509c 100644
--- a/src/projManagement/Validation.py
+++ b/src/projManagement/Validation.py
@@ -12,7 +12,7 @@
# BUGS: ---
# NOTES: ---
# AUTHOR: Fahim Khan, fahim.elex@gmail.com
-# ORGANIZATION: ecSim team at FOSSEE, IIT Bombay.
+# ORGANIZATION: eSim team at FOSSEE, IIT Bombay.
# CREATED: Wednesday 12 February 2015
# REVISION: ---
#===============================================================================
@@ -45,9 +45,7 @@ class Validation:
if os.path.exists(projDir):
return "CHECKEXIST" #Project with name already exist
else:
-
#Check Proper name for project. It should not have space
-
if re.search(r"\s",projDir ):
return "CHECKNAME"
else:
diff --git a/src/projManagement/Validation.pyc b/src/projManagement/Validation.pyc
index 42291553..690e016e 100644
--- a/src/projManagement/Validation.pyc
+++ b/src/projManagement/Validation.pyc
Binary files differ
diff --git a/src/projManagement/Worker.py b/src/projManagement/Worker.py
index be7f323e..00cad6a4 100644
--- a/src/projManagement/Worker.py
+++ b/src/projManagement/Worker.py
@@ -11,7 +11,7 @@
# BUGS: ---
# NOTES: ---
# AUTHOR: Fahim Khan, fahim.elex@gmail.com
-# ORGANIZATION: ecSim team at FOSSEE, IIT Bombay.
+# ORGANIZATION: eSim team at FOSSEE, IIT Bombay.
# CREATED: Tuesday 24 Feb 2015
# REVISION: ---
#===============================================================================
diff --git a/src/projManagement/Worker.pyc b/src/projManagement/Worker.pyc
index 3751f2cc..c8e30b8f 100644
--- a/src/projManagement/Worker.pyc
+++ b/src/projManagement/Worker.pyc
Binary files differ
diff --git a/src/projManagement/newProject.py b/src/projManagement/newProject.py
index f496b490..c76acdc1 100644
--- a/src/projManagement/newProject.py
+++ b/src/projManagement/newProject.py
@@ -12,7 +12,7 @@
# BUGS: ---
# NOTES: ---
# AUTHOR: Fahim Khan, fahim.elex@gmail.com
-# ORGANIZATION: ecSim team at FOSSEE, IIT Bombay.
+# ORGANIZATION: eSim team at FOSSEE, IIT Bombay.
# CREATED: Wednesday 12 February 2015
# REVISION: ---
#===============================================================================
@@ -67,10 +67,14 @@ class NewProjectInfo(QtGui.QWidget):
self.projDir = os.path.join(self.workspace,str(self.projName))
-
+ print "Project Name:",self.projName
#Validation for newProject
- self.reply = self.obj_validation.validateNewproj(str(self.projDir))
+ if self.projName == "":
+ self.reply = "NONE"
+ else:
+ self.reply = self.obj_validation.validateNewproj(str(self.projDir))
+ #Checking Validations Response
if self.reply == "VALID":
print "Validated : Creating project directory"
#create project directory
@@ -103,6 +107,12 @@ class NewProjectInfo(QtGui.QWidget):
self.msg.showMessage('The project name should not contain space between them')
self.msg.setWindowTitle("Error Message")
+ elif self.reply == "NONE":
+ print "Empyt Project Name"
+ self.msg = QtGui.QErrorMessage(self)
+ self.msg.showMessage('The project name cannot be empty')
+ self.msg.setWindowTitle("Error Message")
+
def cancelProject(self):
self.close()
diff --git a/src/projManagement/newProject.pyc b/src/projManagement/newProject.pyc
index 16e13e75..16e965d3 100644
--- a/src/projManagement/newProject.pyc
+++ b/src/projManagement/newProject.pyc
Binary files differ
diff --git a/src/projManagement/openProject.py b/src/projManagement/openProject.py
index 2949da45..a5342901 100644
--- a/src/projManagement/openProject.py
+++ b/src/projManagement/openProject.py
@@ -12,7 +12,7 @@
# BUGS: ---
# NOTES: ---
# AUTHOR: Fahim Khan, fahim.elex@gmail.com
-# ORGANIZATION: ecSim team at FOSSEE, IIT Bombay.
+# ORGANIZATION: eSim team at FOSSEE, IIT Bombay.
# CREATED: Wednesday 12 February 2015
# REVISION: ---
#===============================================================================
diff --git a/src/projManagement/openProject.pyc b/src/projManagement/openProject.pyc
index c97b7919..d9c56fee 100644
--- a/src/projManagement/openProject.pyc
+++ b/src/projManagement/openProject.pyc
Binary files differ