commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue/gnuef TODO setup.py client/gfclient.in src...


From: James Thompson
Subject: gnue/gnuef TODO setup.py client/gfclient.in src...
Date: Sun, 24 Jun 2001 15:28:38 -0700

CVSROOT:        /cvs
Module name:    gnue
Changes by:     James Thompson <address@hidden> 01/06/24 15:28:38

Modified files:
        gnuef          : TODO setup.py 
        gnuef/client   : gfclient.in 
        gnuef/src      : GFObjects.py UIwxpython.py 

Log message:
        Converted gfclient from bash script to python script (still need to do 
gfcvs)
        Fix bug in UIwxpython
        Cleaned up TODO

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/TODO.diff?cvsroot=OldCVS&tr1=1.53&tr2=1.54&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/setup.py.diff?cvsroot=OldCVS&tr1=1.23&tr2=1.24&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/client/gfclient.in.diff?cvsroot=OldCVS&tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/src/GFObjects.py.diff?cvsroot=OldCVS&tr1=1.94&tr2=1.95&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/src/UIwxpython.py.diff?cvsroot=OldCVS&tr1=1.100&tr2=1.101&r1=text&r2=text

Patches:
Index: gnue/gnuef/TODO
diff -u gnue/gnuef/TODO:1.53 gnue/gnuef/TODO:1.54
--- gnue/gnuef/TODO:1.53        Wed Jun 20 14:43:16 2001
+++ gnue/gnuef/TODO     Sun Jun 24 15:28:37 2001
@@ -1,6 +1,7 @@
 A name inside of [] means that person has taken that task
 
    Bugs 
+    Fix symlink support 
     I've broken msgboxs in triggers
     
     triggers should not fire during query entry
@@ -73,23 +74,31 @@
 
   Long term:
 
-    Create GNUE Forms: Designer the screen painter
-
     rewrite the whole friggen braindead focus system
 
     Possibly allow for pluggable UI implementation
 
-    Modular .gfd files
-
     Add ENTITY support of localization
  
-    Look into inlcude support (entities could do this too)
-
     Make other datasources accessible from forms easily
 
 
 Features
   Goto record shortcut
+  Input masks 
+  Mirrored Fields 
+
+  on multi-visible blocks make flag to cause next-field on last field in 
record to 
+  go to first field of next record
+
+  maybe autotab
+
+  enhanced trigger system
+    common functions  pulling date from database
+     Letting trigger code change the status text
+
+  For 2-tier we need some way to be able to issue direct sql commands
+
 
 
 
Index: gnue/gnuef/client/gfclient.in
diff -u gnue/gnuef/client/gfclient.in:1.3 gnue/gnuef/client/gfclient.in:1.4
--- gnue/gnuef/client/gfclient.in:1.3   Fri Jun  1 13:34:15 2001
+++ gnue/gnuef/client/gfclient.in       Sun Jun 24 15:28:38 2001
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env python
 #
 # Copyright 2001 Free Software Foundation
 #
@@ -19,17 +19,18 @@
 # write to the Free Software Foundation, Inc., 59 Temple Place
 # - Suite 330, Boston, MA 02111-1307, USA.
 #
+import os
+#import os.path
+import sys
 
 __GNUEENV__
 
-if [ "x$GNUE_CONNECTIONS" = "x" ] 
-then 
-  if [ -f $INST_GNUE_CONNECTIONS ]
-  then 
-    GNUE_CONNECTIONS=$INST_GNUE_CONNECTIONS
-    export GNUE_CONNECTIONS
-  fi
-fi 
+if not os.environ.has_key('GNUE_CONNECTIONS'):
+    if os.path.isfile(INST_GNUE_CONNECTIONS):
+        os.environ['GNUE_CONNECTIONS'] = INST_GNUE_CONNECTIONS
+  
+from  gnue.forms.GFClient import *
 
-
-$PYTHON $INSTALL_LIB/gnue/forms/GFClient.py $*
+if __name__ == '__main__':
+        GFClient().run()
+        
Index: gnue/gnuef/setup.py
diff -u gnue/gnuef/setup.py:1.23 gnue/gnuef/setup.py:1.24
--- gnue/gnuef/setup.py:1.23    Sat Jun 23 20:33:20 2001
+++ gnue/gnuef/setup.py Sun Jun 24 15:28:38 2001
@@ -192,13 +192,10 @@
     gnue_env = \
            "#######\n" \
          + "# The following variable were set when GNUe was installed\n\n" \
-         + "PYTHONPATH=%s:$PYTHONPATH\n" % dict['install_lib'][1] \
-         + "INST_GNUE_CONNECTIONS=%s/etc/connections.conf\n" % 
dict['prefix'][1] \
-         + "PYTHON=python\n" \
-         + "INSTALL_LIB=%s\n" % dict['install_lib'][1] \
-         + "INSTALL_PREFIX=%s\n" % dict['prefix'][1] \
-         + "export INST_GNUE_CONNECTIONS PYTHON INSTALL_LIB\n" \
-         + "export INSTALL_PREFIX PYTHONPATH\n" \
+         + "sys.path.append('%s')\n" % dict['install_lib'][1] \
+         + "INST_GNUE_CONNECTIONS='%s/etc/connections.conf'\n" % 
dict['prefix'][1] \
+         + "os.environ['INSTALL_LIB']='%s'\n" % dict['install_lib'][1] \
+         + "os.environ['INSTALL_PREFIX']='%s'\n" % dict['prefix'][1] \
          + "#######\n"
 
     for script in self.scripts: 
Index: gnue/gnuef/src/GFObjects.py
diff -u gnue/gnuef/src/GFObjects.py:1.94 gnue/gnuef/src/GFObjects.py:1.95
--- gnue/gnuef/src/GFObjects.py:1.94    Sun Jun 10 22:16:27 2001
+++ gnue/gnuef/src/GFObjects.py Sun Jun 24 15:28:38 2001
@@ -651,6 +651,8 @@
           for key in self.resultSet[count].keys():
             if self.resultSet[count][key] != None:
               self.resultSet[count][key] = str(self.resultSet[count][key])
+
+
       else:
         self.clear()
 
Index: gnue/gnuef/src/UIwxpython.py
diff -u gnue/gnuef/src/UIwxpython.py:1.100 gnue/gnuef/src/UIwxpython.py:1.101
--- gnue/gnuef/src/UIwxpython.py:1.100  Wed Jun 20 19:41:34 2001
+++ gnue/gnuef/src/UIwxpython.py        Sun Jun 24 15:28:38 2001
@@ -400,7 +400,7 @@
       self.visiblePage = self._formToUI[event.data][0][index]
       
self.visiblePage.SetSize(wxSize(int(self._form.getOption('width'))*int(self.widgetWidth),
                                       
int(int(self._form.getOption('height'))+self.menu_sb_space)*int(self.widgetHeight)))
-      self.Fit() # Trial run
+      # self.Fit() # Trial run
     else:
       self.visiblePage = self._formToUI[event.data][0][index]
       for count in range(_NOTEBOOK.GetPageCount()):



reply via email to

[Prev in Thread] Current Thread [Next in Thread]