commit-gnue
[Top][All Lists]
Advanced

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

gnue gnue-common/ChangeLog gnue-common/INSTALL ...


From: James Thompson
Subject: gnue gnue-common/ChangeLog gnue-common/INSTALL ...
Date: Mon, 25 Jun 2001 21:32:47 -0700

CVSROOT:        /cvs
Module name:    gnue
Changes by:     James Thompson <address@hidden> 01/06/25 21:32:47

Modified files:
        gnue-common    : ChangeLog INSTALL MANIFEST.in NEWS TODO 
                         setup.cfg setup.py 
        gnue-common/gnue/common/dbdrivers/db2: DBdriver.py 
        gnue-common/gnue/common/dbdrivers/geas: DBdriver.py 
        gnue-common/gnue/common/dbdrivers/mysql: DBdriver.py 
        gnue-common/gnue/common/dbdrivers/odbc: DBdriver.py 
        gnue-common/gnue/common/dbdrivers/oracle: DBdriver.py 
        gnue-common/gnue/common/dbdrivers/postgresql: DBdriver.py 
        gnuef          : setup.py 
        gnuef/doc      : techref.lyx 
        gnuef/src      : GFForm.py 

Log message:
        Removed references to GFOptions in db drivers
        Setup tweaks
        Misc changes in prep for release

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/ChangeLog.diff?cvsroot=OldCVS&tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/INSTALL.diff?cvsroot=OldCVS&tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/MANIFEST.in.diff?cvsroot=OldCVS&tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/NEWS.diff?cvsroot=OldCVS&tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/TODO.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/setup.cfg.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/setup.py.diff?cvsroot=OldCVS&tr1=1.7&tr2=1.8&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/gnue/common/dbdrivers/db2/DBdriver.py.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/gnue/common/dbdrivers/geas/DBdriver.py.diff?cvsroot=OldCVS&tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/gnue/common/dbdrivers/mysql/DBdriver.py.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/gnue/common/dbdrivers/odbc/DBdriver.py.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/gnue/common/dbdrivers/oracle/DBdriver.py.diff?cvsroot=OldCVS&tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/gnue/common/dbdrivers/postgresql/DBdriver.py.diff?cvsroot=OldCVS&tr1=1.5&tr2=1.6&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/setup.py.diff?cvsroot=OldCVS&tr1=1.26&tr2=1.27&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/doc/techref.lyx.diff?cvsroot=OldCVS&tr1=1.6&tr2=1.7&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/src/GFForm.py.diff?cvsroot=OldCVS&tr1=1.105&tr2=1.106&r1=text&r2=text

Patches:
Index: gnue/gnue-common/ChangeLog
diff -u gnue/gnue-common/ChangeLog:1.2 gnue/gnue-common/ChangeLog:1.3
--- gnue/gnue-common/ChangeLog:1.2      Tue Apr 17 20:22:20 2001
+++ gnue/gnue-common/ChangeLog  Mon Jun 25 21:32:46 2001
@@ -1,3 +1,297 @@
+2001-06-11 00:16  jcater
+
+       * gnue/common/: GObjects.py, GParser.py: Minor changes for
+       GFDesigner
+
+2001-06-07 22:55  dneighbors
+
+       * gnue/common/dbdrivers/geas/DBdriver.py: Changed GConf. to
+       GConfig. for all referencing to idl pathing.
+
+2001-06-07 22:48  jamest
+
+       * gnue/common/dbdrivers/geas/DBdriver.py: Changes to hopefully make
+       geas driver play nice with new config system (untested)
+
+2001-06-07 11:58  jcater
+
+       * gnue/common/GParser.py: Added importing capabilities to forms
+
+2001-06-07 10:10  jcater
+
+       * etc/sample.gnue.conf: Removed quotes from gnue.conf parameters as
+       they are inserted into final results (not the intended effect
+
+2001-06-06 22:33  jamest
+
+       * gnue/common/dbdrivers/db2/: DBdriver.py, __init__.py: Added
+       Jachym Simecek's DB2 driver to gnue-common
+
+2001-06-06 21:09  jcater
+
+       * gnue/common/GConditions.py: Added support for conditions to
+       datasources
+
+2001-06-06 18:02  jcater
+
+       * gnue/common/GParser.py: Enabled parser to inform object's
+       __init__ what tag name it was created from
+
+2001-06-06 17:45  jcater
+
+       * gnue/common/GConfig.py: Added a convenience function,
+       openResource, that handles opening a URL or file resource
+
+2001-06-06 17:31  jcater
+
+       * gnue/common/: GConnections.py, __init__.py: Added a convenience
+       function, openResource, that handles opening a URL or file resource
+
+2001-06-06 17:08  jcater
+
+       * gnue/common/GObjects.py: Added support for '-' in tag element
+       names.
+
+2001-06-06 16:33  jcater
+
+       * gnue/common/GParser.py: Added getDescription to GContent for use
+       by designer packages
+
+2001-06-06 14:01  jcater
+
+       * gnue/common/GObjects.py: Added getDescription so designers can
+       get a useful description of it (e.g., item's name or id)
+
+2001-06-06 00:24  jcater
+
+       * gnue/common/dbdrivers/_dbsig/DBdriver.py: Fixed a few mistypings
+       causing problems with parameters in reports
+
+2001-06-05 23:21  jcater
+
+       * gnue/common/GDataSource.py: Fixed a slight bug that prevented
+       forms from working
+
+2001-06-05 21:50  jcater
+
+       * gnue/common/GDataSource.py: Fixed invalid references in
+       GDataSource to connections
+
+2001-06-05 20:22  jcater
+
+       * gnue/common/: GDataSource.py, dbdrivers/_dbsig/DBdriver.py: Added
+       conditional support to gnue-comon dbdrivers
+
+2001-06-05 10:57  jcater
+
+       * gnue/common/: GConnections.py, GDataObjects.py,
+       dbdrivers/_dbsig/DBdriver.py, dbdrivers/postgresql/DBdriver.py:
+       Minor changes for reports
+
+2001-06-04 22:23  jamest
+
+       * etc/sample.gnue.conf, gnue/common/GClientApp.py,
+       gnue/common/GConfig.py, gnue/common/GConfigParser.py,
+       gnue/common/GConnections.py,
+       gnue/common/dbdrivers/postgresql/DBdriver.py: Added GConfig code to
+       provide configuration system
+
+2001-06-01 14:56  jcater
+
+       * gnue/common/GClientApp.py: Stuff
+
+2001-05-30 17:35  jcater
+
+       * setup.py: Added dbdrivers._dbsig pseudodriver to the setup.py
+       package list
+
+2001-05-30 12:56  jcater
+
+       * setup.cfg, setup.py: Modified setup.py so it installs python
+       files in /usr/local/gnue. (this is settable by end-user by
+       modifying setup.cfg or specifying --prefix on the command line).
+
+2001-05-29 21:54  jcater
+
+       * gnue/common/GDataObjects.py: Fixed bug in <datasource> tag:
+       strips spaces from masterlink and detaillink after splitting along
+       commas
+
+2001-05-29 21:20  jcater
+
+       * gnue/common/: GDataObjects.py, GDataSource.py, GParser.py,
+       dbdrivers/_dbsig/DBdriver.py, dbdrivers/postgresql/DBdriver.py:
+       Changes made to gnue-common for the first test run of gnue-reports.
+
+2001-05-29 20:07  jcater
+
+       * gnue/common/GDebug.py: GDebug.printMesg now correctly handles
+       printing types other than strings
+
+2001-05-29 16:49  jcater
+
+       * gnue/common/GDataFormatter.py: Added a Data Formatter to
+       gnue-common.  As of yet, it does not apply masks; it is only a
+       skeleton. (TODO list :)
+
+2001-05-26 21:42  jcater
+
+       * gnue/common/GClientApp.py: Fixed a bug in the profiling routine.
+
+2001-05-26 17:36  jcater
+
+       * gnue/common/GParser.py: Removed a debugging line I forgot about
+
+2001-05-26 17:26  jcater
+
+       * gnue/common/: GObjects.py, GParser.py: Fixed GParser problem with
+       removing newlines from content. Also, minor changes for reports.
+
+2001-05-26 16:51  jcater
+
+       * TODO: Added a TODO file to gnue-common for interested programmers
+
+2001-05-25 11:11  jcater
+
+       * doc/Connections.txt: Oops, forgot to cvs add the Connections.txt
+       file
+
+2001-05-25 03:54  jcater
+
+       * INSTALL: Added Connections.txt text.
+
+2001-05-25 03:03  jcater
+
+       * INSTALL, doc/WritingClientApps.txt, gnue/common/GConnections.py,
+       gnue/common/GDataSource.py: Added documentation and a few other
+       minor changes
+
+2001-05-18 10:51  jcater
+
+       * gnue/common/GDataSource.py: Added xmlElements to GDataSource and
+       to client parsers to clients will have consistent set of DataSource
+       options
+
+2001-05-17 13:59  jcater
+
+       * gnue/common/: GClientApp.py, GConnections.py, GDataSource.py,
+       GObjects.py: Miscellaneous changes
+
+2001-05-17 09:13  jcater
+
+       * gnue/common/GDataSource.py: Created a generic DataSource
+       implementation to be used by client apps such as reports and forms.
+
+2001-05-15 10:16  jcater
+
+       * gnue/common/: GClientApp.py, GConnections.py, GDataObjects.py,
+       GLoginHandler.py: Umm, I wouldn't know where to begin. -- a lot of
+       stuff?
+
+2001-05-15 10:15  jcater
+
+       * gnue/common/dbdrivers/: _dbsig/DBdriver.py,
+       postgresql/DBdriver.py: placed experimental dbdriver into main
+       postgresql file since two formats do not conflict with each other
+
+2001-05-14 18:54  jcater
+
+       * etc/: sample.mysql, sample.pg: Added comment= line to sample
+       connections definition files.
+
+2001-05-14 16:59  jcater
+
+       * gnue/common/GLoginHandler.py: Added LoginHandler, a class that
+       handles prompting user for login information (doesn't actually do
+       anything -- design to be subclassed by the UI portion of the
+       client).
+
+2001-05-14 14:58  jcater
+
+       * gnue/common/GDebug.py: Updated GDebug.printMesg to print
+       filename:line number next to messages (.e.g, DB001 [GFObjects:15]
+       Debug Message)
+
+2001-05-11 20:42  jcater
+
+       * gnue/common/: GClientApp.py, GConnections.py, GParser.py: Added
+       support to gnuef for connection definition files
+
+2001-05-11 19:04  jcater
+
+       * gnue/common/GClientApp.py: Added profiling support to the new
+       GClientApp so profiling will be provided by default to all client
+       apps.  Updated gfclient to reflect this change (it previously did
+       its own profiling).
+
+2001-05-11 18:09  jcater
+
+       * gnue/common/GConnections.py: Added GConnections.py which reads
+       and parses connection definition files.
+
+2001-05-11 16:59  jcater
+
+       * gnue/common/: GClientApp.py, GDataObjects.py,
+       dbdrivers/_dbsig/DBdriver.py: Modified gfclient to use the new
+       GClientApp class.  Note the new help system :)  Developers should
+       now try to start using gnue.common.GDebug.printMesg instead of
+       GFDebug.printMesg. Note that GFDebug.printMesg now simply calls
+       GDebug.printMesg, so code will not be broken.  However, GFDebug
+       *should* be phased out.
+
+2001-05-11 16:09  jcater
+
+       * gnue/common/GClientApp.py: Added GClientApp, a class that other
+       GNUe apps can be based on.  This new class offers command line
+       parsing, debugging, profiling, help and version output, handling of
+       data connection files, etc behind the scenes. (Profiling and data
+       connection files is not yet complete :)
+
+2001-05-11 13:56  jcater
+
+       * gnue/common/GDebug.py: Completed GDebug.py so that it handles
+       traces, exceptions, and writing to log files. Will be used
+       transparently by new GClientApp class. Note that this file is not
+       exactly the same as GFDebug, although this file supercedes GFDebug.
+        The printMesg works the same. However, to set the log file and
+       debugging level, run GDebug.setDebug(level, file).  If file==None
+       then stderr is used.
+
+2001-05-10 13:58  jcater
+
+       * setup.py, etc/sample.mysql, etc/sample.pg: Added
+       /usr/local/gnue/etc and sample connection files for postgresql and
+       mysql
+
+2001-05-10 11:14  jcater
+
+       * gnue/common/__init__.py: Added VERSION attribute to gnue.common
+
+2001-05-02 17:33  jcater
+
+       * gnue/common/: GDataObjects.py, dbdrivers/_dbsig/DBdriver.py,
+       dbdrivers/_dbsig/__init__.py: Added first draft of DBdrivers using
+       new DB-SIG 2 standard
+
+2001-04-24 21:12  jcater
+
+       * gnue/common/: GDataObjects.py, GDebug.py: Added GDebug.py and
+       GDataObjects.py to GNUe-Common
+
+2001-04-23 11:29  jcater
+
+       * gnue/common/GObjects.py: Added type= parameters to
+       GObj.__init__() to make inherited classes easier to define
+
+2001-04-20 20:23  jcater
+
+       * gnue/common/: GObjects.py, GParser.py: Modified variables
+       internal to objects to self._attr format
+
+2001-04-17 22:22  jamest
+
+       * ChangeLog, NEWS: Final updates prior to tagging cvs trees
+
 2001-04-16 20:36  jamest
 
        * ChangeLog, NEWS: Updated info for first release
Index: gnue/gnue-common/INSTALL
diff -u gnue/gnue-common/INSTALL:1.3 gnue/gnue-common/INSTALL:1.4
--- gnue/gnue-common/INSTALL:1.3        Fri May 25 01:54:48 2001
+++ gnue/gnue-common/INSTALL    Mon Jun 25 21:32:46 2001
@@ -11,3 +11,7 @@
 you will need to set up your connections definition file. 
 See doc/Connections.txt for more information and etc/samples.* 
 for examples. 
+
+You also need to move the installed sample.gnue.conf file to 
+gnue.conf (typically found in /usr/local/gnue/etc) and make
+any changes you feel are necessary.
\ No newline at end of file
Index: gnue/gnue-common/MANIFEST.in
diff -u gnue/gnue-common/MANIFEST.in:1.2 gnue/gnue-common/MANIFEST.in:1.3
--- gnue/gnue-common/MANIFEST.in:1.2    Mon Apr 16 16:23:13 2001
+++ gnue/gnue-common/MANIFEST.in        Mon Jun 25 21:32:46 2001
@@ -9,3 +9,4 @@
 
 include images/*.png
 include setupext/*.py
+include etc/*
\ No newline at end of file
Index: gnue/gnue-common/NEWS
diff -u gnue/gnue-common/NEWS:1.2 gnue/gnue-common/NEWS:1.3
--- gnue/gnue-common/NEWS:1.2   Tue Apr 17 20:22:20 2001
+++ gnue/gnue-common/NEWS       Mon Jun 25 21:32:46 2001
@@ -1,3 +1,14 @@
+New features/changes in version 0.0.2:
+o Start of conversion to DB-SIG2 std
+o Enhanced debug system
+o Added GClientApp to be used by other python apps 
+  Provides numerous std features to apps based upon it
+o Support for connection defintion files
+o New app configuration system added
+o Numerous DB system enhancements
+o xml system supports importing from other files
+o Numerous bug fixes
+
 New features/changes in version 0.0.1: (17-APR-2001)
 
 o Initial version
Index: gnue/gnue-common/TODO
diff -u gnue/gnue-common/TODO:1.1 gnue/gnue-common/TODO:1.2
--- gnue/gnue-common/TODO:1.1   Sat May 26 14:51:05 2001
+++ gnue/gnue-common/TODO       Mon Jun 25 21:32:46 2001
@@ -9,3 +9,7 @@
   All the exceptions should be inherited from a common ParserException
 
 
+* Add a GSetup class that will provide basic support for installing
+  gnue apps.  It'll include support for merging config data, installing
+  samples and docs, dependency checking, etc, etc
+
Index: gnue/gnue-common/gnue/common/dbdrivers/db2/DBdriver.py
diff -u gnue/gnue-common/gnue/common/dbdrivers/db2/DBdriver.py:1.1 
gnue/gnue-common/gnue/common/dbdrivers/db2/DBdriver.py:1.2
--- gnue/gnue-common/gnue/common/dbdrivers/db2/DBdriver.py:1.1  Wed Jun  6 
20:33:14 2001
+++ gnue/gnue-common/gnue/common/dbdrivers/db2/DBdriver.py      Mon Jun 25 
21:32:46 2001
@@ -32,7 +32,7 @@
 import sys
 
 from string import lower       
-from gnue.forms import GFOptions
+# from gnue.forms import GFOptions
 from gnue.forms.GFError import DBError
 from gnue.common import GDebug, GDataObjects
 from gnue.common.dbdrivers._dbsig.DBdriver \
@@ -158,8 +158,7 @@
 
 class DBdriver:
   def __init__(self):
-    if GFOptions.DEBUG:
-      print "DB2 database driver initializing"
+    GDebug.printMesg(1,"DB2 database driver initializing")
     self.connection = None
     self.cursor = None
     self.uniqueKey = None
@@ -167,8 +166,7 @@
     self.maskCount = 1
 
   def connect(self, dbhost, dbname, dbuser, dbpasswd):
-    if GFOptions.DEBUG:
-      print "connecting"
+    GDebug.printMesg(1,"connecting")
     try:
       self.connection = DB2.connect(dsn=dbname, uid=dbuser, pwd=dbpasswd)
 #      self.connection.cursorclass = DB2.DictCursor
Index: gnue/gnue-common/gnue/common/dbdrivers/geas/DBdriver.py
diff -u gnue/gnue-common/gnue/common/dbdrivers/geas/DBdriver.py:1.3 
gnue/gnue-common/gnue/common/dbdrivers/geas/DBdriver.py:1.4
--- gnue/gnue-common/gnue/common/dbdrivers/geas/DBdriver.py:1.3 Thu Jun  7 
20:55:10 2001
+++ gnue/gnue-common/gnue/common/dbdrivers/geas/DBdriver.py     Mon Jun 25 
21:32:46 2001
@@ -21,21 +21,20 @@
 #
 # GEAS database driver
 #
-# $Id: DBdriver.py,v 1.3 2001/06/08 03:55:10 dneighbors Exp $
+# $Id: DBdriver.py,v 1.4 2001/06/26 04:32:46 jamest Exp $
 #
 
 import sys
 import md5
 import string
 from gnue.forms import GFDebug
-from gnue.forms import GFOptions
+#from gnue.forms import GFOptions
 from gnue.common import GConfig
 from gnue.forms.GFError import DBError
 
 try:
     import CORBA
-    if GFOptions.DEBUG:
-       print "IDL being loaded from %s" % 
(GConfig.get('GEASDIR')+"idl/geas.idl")
+    GDebug.printMesg(1,"IDL being loaded from %s" % 
(GConfig.get('GEASDIR')+"idl/geas.idl"))
     # FIXME: Temporary hack to make this run with both orbit-python 0.1.x
     #        (uses load_idl) and 0.2.0 (uses _load_idl)
     if CORBA.__dict__.has_key("_load_idl"):
@@ -52,8 +51,7 @@
 
 class DBdriver:
     def __init__ (self):
-        if GFOptions.DEBUG:
-            print "GNU Enterprise Application Server driver initializing"
+        GDebug.printMesg(1,"GNU Enterprise Application Server driver 
initializing")
        self.database = None
         self.orb = None
         self.ior = None
@@ -70,13 +68,10 @@
         except (IOError), ex:
             print "*** Error: ior file for geas was not found...  is geas 
running?"
             print
-            if GFOptions.DEBUG:
-                print ex
             sys.exit(1)
         self.factory = self.orb.string_to_object(self.ior)
         try:
-            if GFOptions.DEBUG:
-                print "Logging into geas as %s" % (user)
+            GDebug.printMesg(1,"Logging into geas as %s" % (user))
             if (user == 'guest') or (user == ''):
                 self.database = self.factory.guestLogin()
             else:
Index: gnue/gnue-common/gnue/common/dbdrivers/mysql/DBdriver.py
diff -u gnue/gnue-common/gnue/common/dbdrivers/mysql/DBdriver.py:1.1 
gnue/gnue-common/gnue/common/dbdrivers/mysql/DBdriver.py:1.2
--- gnue/gnue-common/gnue/common/dbdrivers/mysql/DBdriver.py:1.1        Sun Apr 
15 18:33:51 2001
+++ gnue/gnue-common/gnue/common/dbdrivers/mysql/DBdriver.py    Mon Jun 25 
21:32:46 2001
@@ -32,13 +32,12 @@
 import MySQLdb
 import string
 import sys
-from gnue.forms import GFOptions
+#from gnue.forms import GFOptions
 from gnue.forms.GFError import DBError
 
 class DBdriver:
   def __init__(self):
-    if GFOptions.DEBUG:
-      print "MySQL database driver initializing"
+    GDebug.printMesg(1,"MySQL database driver initializing")
     self.connection = None
     self.cursor = None
     self.uniqueKey = None
@@ -46,8 +45,7 @@
     self.maskCount = 1
 
   def connect(self, dbhost, dbname, dbuser, dbpasswd):
-    if GFOptions.DEBUG:
-      print "connecting"
+    GDebug.printMesg(1,"connecting")
     try:
       self.connection = MySQLdb.connect(db=dbname, host=dbhost, user=dbuser, 
passwd=dbpasswd)
       self.connection.cursorclass = MySQLdb.DictCursor
Index: gnue/gnue-common/gnue/common/dbdrivers/odbc/DBdriver.py
diff -u gnue/gnue-common/gnue/common/dbdrivers/odbc/DBdriver.py:1.1 
gnue/gnue-common/gnue/common/dbdrivers/odbc/DBdriver.py:1.2
--- gnue/gnue-common/gnue/common/dbdrivers/odbc/DBdriver.py:1.1 Sun Apr 15 
18:33:51 2001
+++ gnue/gnue-common/gnue/common/dbdrivers/odbc/DBdriver.py     Mon Jun 25 
21:32:46 2001
@@ -29,13 +29,12 @@
 #
 import string
 import sys
-from gnue.forms import GFOptions
+#from gnue.forms import GFOptions
 from gnue.forms.GFError import DBError
 
 class DBdriver:
   def __init__(self):
-    if GFOptions.DEBUG:
-      print "ODBC database driver initializing"
+    GDebug.printMesg(1,"ODBC database driver initializing")
     self.connection = None
     self.cursor = None
     self.uniqueKey = None
@@ -43,8 +42,7 @@
     self.maskCount = 1
 
   def connect(self, dbhost, dbname, dbuser, dbpasswd):
-    if GFOptions.DEBUG:
-      print "connecting"
+    GDebug.printMesg(1,"connecting")
     try:
       self.connection = self.driver.DriverConnect(self.dsn)
       self.cursor = self.connection.cursor()
@@ -243,8 +241,7 @@
     return nd
 
   def loadDriver(self, driver):
-    if GFOptions.DEBUG:
-      print "Loading ODBC subpackage %s" % (driver[1])
+    GDebug.printMesg(1,"Loading ODBC subpackage %s" % (driver[1]))
     self.driver = __import__("ODBC/%s" % (driver[1]))
     if len(driver) > 2:
       self.dsn = driver[2]
Index: gnue/gnue-common/gnue/common/dbdrivers/oracle/DBdriver.py
diff -u gnue/gnue-common/gnue/common/dbdrivers/oracle/DBdriver.py:1.2 
gnue/gnue-common/gnue/common/dbdrivers/oracle/DBdriver.py:1.3
--- gnue/gnue-common/gnue/common/dbdrivers/oracle/DBdriver.py:1.2       Mon Apr 
16 17:22:56 2001
+++ gnue/gnue-common/gnue/common/dbdrivers/oracle/DBdriver.py   Mon Jun 25 
21:32:46 2001
@@ -31,7 +31,7 @@
 import DCOracle
 import sys
 from string import split, upper, lower, join, replace 
-from gnue.forms import GFOptions, GFDebug 
+from gnue.forms import GFDebug 
 from gnue.forms.GFError import DBError
 
 class DBdriver:
Index: gnue/gnue-common/gnue/common/dbdrivers/postgresql/DBdriver.py
diff -u gnue/gnue-common/gnue/common/dbdrivers/postgresql/DBdriver.py:1.5 
gnue/gnue-common/gnue/common/dbdrivers/postgresql/DBdriver.py:1.6
--- gnue/gnue-common/gnue/common/dbdrivers/postgresql/DBdriver.py:1.5   Tue Jun 
 5 08:57:45 2001
+++ gnue/gnue-common/gnue/common/dbdrivers/postgresql/DBdriver.py       Mon Jun 
25 21:32:46 2001
@@ -157,7 +157,7 @@
 
 import pg
 import string
-from gnue.forms import GFOptions
+from gnue.common import GConfig
 from gnue.forms.GFError import DBError
 
 class DBdriver:
@@ -171,8 +171,8 @@
     GDebug.printMesg(1, "connecting")
     try:
       self.connection = pg.DB(dbname, host, -1, None, None, user, passwd)
-      if GFOptions.Encoding != 'DEFAULT':
-        self.connection.query("set encoding to '%s'" % GFOptions.Encoding)
+      if GConfig.get('Encoding') != 'DEFAULT':
+        self.connection.query("set encoding to '%s'" % GConfig.get('Encoding'))
        
     except pg.error, value:
       raise GDataObjects.ConnectionError, value
Index: gnue/gnue-common/setup.cfg
diff -u gnue/gnue-common/setup.cfg:1.1 gnue/gnue-common/setup.cfg:1.2
--- gnue/gnue-common/setup.cfg:1.1      Wed May 30 10:56:27 2001
+++ gnue/gnue-common/setup.cfg  Mon Jun 25 21:32:46 2001
@@ -1,44 +1,44 @@
-#
-# Copyright 2001 Free Software Foundation
-#
-# This file is part of GNU Enterprise.
-#
-# GNU Enterprise is free software; you can redistribute it
-# and/or modify it under the terms of the GNU General Public
-# License as published by the Free Software Foundation; either
-# version 2, or (at your option) any later version.
-#
-# GNU Enterprise is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public
-# License along with program; see the file COPYING. If not,
-# write to the Free Software Foundation, Inc., 59 Temple Place
-# - Suite 330, Boston, MA 02111-1307, USA.
-#
-
-[install]
-
-
-# Where to install GNUe's application files... 
-prefix = /usr/local/gnue 
-
-# Where to install GNUe executable symlinks... 
-exec_prefix = /usr/local/bin
-
-
-
-###############################################
-#
-# We recommend you do not change anything below 
-# this line unless you know what you are doing 
-#
-###############################################
-
-install_lib=%(prefix)s/lib/python
-install_data=%(prefix)s
-install_scripts=%(exec_prefix)s
-
-
+#
+# Copyright 2001 Free Software Foundation
+#
+# This file is part of GNU Enterprise.
+#
+# GNU Enterprise is free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License as published by the Free Software Foundation; either
+# version 2, or (at your option) any later version.
+#
+# GNU Enterprise is distributed in the hope that it will be
+# useful, but WITHOUT ANY WARRANTY; without even the implied
+# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public
+# License along with program; see the file COPYING. If not,
+# write to the Free Software Foundation, Inc., 59 Temple Place
+# - Suite 330, Boston, MA 02111-1307, USA.
+#
+
+[install]
+
+
+# Where to install GNUe's application files... 
+prefix = /usr/local/gnue 
+
+# Where to install GNUe executable symlinks... 
+exec_prefix = /usr/local/bin
+
+
+
+###############################################
+#
+# We recommend you do not change anything below 
+# this line unless you know what you are doing 
+#
+###############################################
+
+install_lib=%(prefix)s/lib/python
+install_data=%(prefix)s
+install_scripts=%(exec_prefix)s
+
+
Index: gnue/gnue-common/setup.py
diff -u gnue/gnue-common/setup.py:1.7 gnue/gnue-common/setup.py:1.8
--- gnue/gnue-common/setup.py:1.7       Wed May 30 15:35:49 2001
+++ gnue/gnue-common/setup.py   Mon Jun 25 21:32:46 2001
@@ -58,7 +58,7 @@
   ]
 
 setup (name = "GNUe-Common",
-       version = "0.0.1",
+       version = "0.0.2",
        description = "Base files of a GNU Enterprise Tools install",
        long_description = "",
        author = "GNUe Project",
@@ -81,6 +81,23 @@
        
        package_dir = {"gnue" : "gnue"},
        )
+
+
+if 'install' in sys.argv:
+  print """
+  Note:
+  Warnings about the files not being installed in pythons search path can be 
ignored.
+
+  You must now go to gnue install area (typically /usr/local/gnue ) and create 
a 
+  etc/gnue.conf file.  A sample is provided in that directory that you can 
typically 
+  just copy over.
+
+  IMPORTANT: The shared python components of GNUe have moved.  If you have 
installed
+  any previous versions of GNUe python apps (GNUe Forms, GNUe Common, or the 
obsolete
+  GNUe Base) then you *must* remove the gnue dir from your python installs 
site-packages
+  directory.  Typically this can be found at 
/usr/lib/python1.5/site-packages/gnue
+  """
+
 
 
 
Index: gnue/gnuef/doc/techref.lyx
diff -u gnue/gnuef/doc/techref.lyx:1.6 gnue/gnuef/doc/techref.lyx:1.7
--- gnue/gnuef/doc/techref.lyx:1.6      Thu Jun  7 18:36:53 2001
+++ gnue/gnuef/doc/techref.lyx  Mon Jun 25 21:32:46 2001
@@ -29,13 +29,9 @@
 Technical Reference
 \layout Abstract
 
-This is version 0.1.2 of the Technical Reference it covers GNUe Forms 0.0.7
+This is version 0.1.3 of the Technical Reference it covers GNUe Forms 0.0.8
 \layout Abstract
 
-It was written by James Thompson.
- Edited by Derek Neighbors.
-\layout Abstract
-
 The current copy is maintained as a LyX 1.1.6 file.
  If anyone knows of ways to get LyX to play nicer with regard to code samples
  please let us know.
@@ -45,10 +41,6 @@
 This document is covered by the GNU Free Documentation License Version 1.1
 \layout Author
 
-James Thompson
-\layout Author
-
-Edited By: Derek Neighbors
 \layout Chapter
 
 Introduction
@@ -1047,7 +1039,7 @@
 
 
 \begin_inset  Tabular
-<lyxtabular version="2" rows="9" columns="4">
+<lyxtabular version="2" rows="10" columns="4">
 <features rotate="false" islongtable="false" endhead="0" endfirsthead="0" 
endfoot="0" endlastfoot="0">
 <column alignment="center" valignment="top" leftline="true" rightline="false" 
width="" special="">
 <column alignment="center" valignment="top" leftline="true" rightline="false" 
width="" special="">
@@ -1356,7 +1348,42 @@
 
 \layout Standard
 
+tabbed
+\end_inset 
+</cell>
+<cell multicolumn="0" alignment="center" valignment="top" topline="true" 
bottomline="false" leftline="true" rightline="false" rotate="false" 
usebox="none" width="" special="">
+\begin_inset Text
+
+\layout Standard
+
+string
+\end_inset 
+</cell>
+<cell multicolumn="0" alignment="center" valignment="top" topline="true" 
bottomline="false" leftline="true" rightline="false" rotate="false" 
usebox="none" width="" special="">
+\begin_inset Text
 
+\layout Standard
+
+none
+\end_inset 
+</cell>
+<cell multicolumn="0" alignment="center" valignment="top" topline="true" 
bottomline="false" leftline="true" rightline="true" rotate="false" 
usebox="none" width="" special="">
+\begin_inset Text
+
+\layout Standard
+
+Allows a form to convert it's pages as notebook tabs.
+ Allowed values are left, right, bottom, top.
+\end_inset 
+</cell>
+</row>
+<row topline="true" bottomline="false" newpage="false">
+<cell multicolumn="0" alignment="center" valignment="top" topline="true" 
bottomline="false" leftline="true" rightline="false" rotate="false" 
usebox="none" width="" special="">
+\begin_inset Text
+
+\layout Standard
+
+
 \lang english
 requireGUI
 \end_inset 
@@ -1630,7 +1657,7 @@
 
 
 \begin_inset  Tabular
-<lyxtabular version="2" rows="8" columns="4">
+<lyxtabular version="2" rows="9" columns="4">
 <features rotate="false" islongtable="false" endhead="0" endfirsthead="0" 
endfoot="0" endlastfoot="0">
 <column alignment="center" valignment="top" leftline="true" rightline="false" 
width="" special="">
 <column alignment="center" valignment="top" leftline="true" rightline="false" 
width="" special="">
@@ -1901,6 +1928,43 @@
 
 \layout Standard
 
+transparentBlock
+\end_inset 
+</cell>
+<cell multicolumn="0" alignment="center" valignment="top" topline="true" 
bottomline="false" leftline="true" rightline="false" rotate="false" 
usebox="none" width="" special="">
+\begin_inset Text
+
+\layout Standard
+
+boolean
+\end_inset 
+</cell>
+<cell multicolumn="0" alignment="center" valignment="top" topline="true" 
bottomline="false" leftline="true" rightline="false" rotate="false" 
usebox="none" width="" special="">
+\begin_inset Text
+
+\layout Standard
+
+none
+\end_inset 
+</cell>
+<cell multicolumn="0" alignment="center" valignment="top" topline="true" 
bottomline="false" leftline="true" rightline="true" rotate="false" 
usebox="none" width="" special="">
+\begin_inset Text
+
+\layout Standard
+
+If set then the you can tab out of the block via next or previous field
+ events.
+ Makes navigation in mutliblock forms easier.
+ 
+\end_inset 
+</cell>
+</row>
+<row topline="true" bottomline="false" newpage="false">
+<cell multicolumn="0" alignment="center" valignment="top" topline="true" 
bottomline="false" leftline="true" rightline="false" rotate="false" 
usebox="none" width="" special="">
+\begin_inset Text
+
+\layout Standard
+
 rows
 \end_inset 
 </cell>
@@ -2290,7 +2354,7 @@
 
 
 \begin_inset  Tabular
-<lyxtabular version="2" rows="16" columns="4">
+<lyxtabular version="2" rows="19" columns="4">
 <features rotate="false" islongtable="false" endhead="0" endfirsthead="0" 
endfoot="0" endlastfoot="0">
 <column alignment="center" valignment="top" leftline="true" rightline="false" 
width="" special="">
 <column alignment="center" valignment="top" leftline="true" rightline="false" 
width="" special="">
@@ -2939,7 +3003,7 @@
 \end_inset 
 </cell>
 </row>
-<row topline="true" bottomline="true" newpage="false">
+<row topline="true" bottomline="false" newpage="false">
 <cell multicolumn="0" alignment="center" valignment="top" topline="true" 
bottomline="false" leftline="true" rightline="false" rotate="false" 
usebox="none" width="" special="">
 \begin_inset Text
 
@@ -2982,6 +3046,117 @@
  To use dropdown you are required to use both the foreign_key and 
foreign_key_de
 scriptions attributes.
  
+\end_inset 
+</cell>
+</row>
+<row topline="true" bottomline="false" newpage="false">
+<cell multicolumn="0" alignment="center" valignment="top" topline="true" 
bottomline="false" leftline="true" rightline="false" rotate="false" 
usebox="none" width="" special="">
+\begin_inset Text
+
+\layout Standard
+
+default
+\end_inset 
+</cell>
+<cell multicolumn="0" alignment="center" valignment="top" topline="true" 
bottomline="false" leftline="true" rightline="false" rotate="false" 
usebox="none" width="" special="">
+\begin_inset Text
+
+\layout Standard
+
+string
+\end_inset 
+</cell>
+<cell multicolumn="0" alignment="center" valignment="top" topline="true" 
bottomline="false" leftline="true" rightline="false" rotate="false" 
usebox="none" width="" special="">
+\begin_inset Text
+
+\layout Standard
+
+none
+\end_inset 
+</cell>
+<cell multicolumn="0" alignment="center" valignment="top" topline="true" 
bottomline="false" leftline="true" rightline="true" rotate="false" 
usebox="none" width="" special="">
+\begin_inset Text
+
+\layout Standard
+
+
+\series bold 
+NOT IMPLEMENTED YET:
+\series default 
+ The default value for any new records created.
+ If the field is visible the user can override the value.
+\end_inset 
+</cell>
+</row>
+<row topline="true" bottomline="false" newpage="false">
+<cell multicolumn="0" alignment="center" valignment="top" topline="true" 
bottomline="false" leftline="true" rightline="false" rotate="false" 
usebox="none" width="" special="">
+\begin_inset Text
+
+\layout Standard
+
+queryDefault
+\end_inset 
+</cell>
+<cell multicolumn="0" alignment="center" valignment="top" topline="true" 
bottomline="false" leftline="true" rightline="false" rotate="false" 
usebox="none" width="" special="">
+\begin_inset Text
+
+\layout Standard
+
+string
+\end_inset 
+</cell>
+<cell multicolumn="0" alignment="center" valignment="top" topline="true" 
bottomline="false" leftline="true" rightline="false" rotate="false" 
usebox="none" width="" special="">
+\begin_inset Text
+
+\layout Standard
+
+none
+\end_inset 
+</cell>
+<cell multicolumn="0" alignment="center" valignment="top" topline="true" 
bottomline="false" leftline="true" rightline="true" rotate="false" 
usebox="none" width="" special="">
+\begin_inset Text
+
+\layout Standard
+
+The form will be populated with this value automatically when a query is
+ requested.
+ If the field is visible the user can still override the value.
+\end_inset 
+</cell>
+</row>
+<row topline="true" bottomline="true" newpage="false">
+<cell multicolumn="0" alignment="center" valignment="top" topline="true" 
bottomline="false" leftline="true" rightline="false" rotate="false" 
usebox="none" width="" special="">
+\begin_inset Text
+
+\layout Standard
+
+sloppyQuery
+\end_inset 
+</cell>
+<cell multicolumn="0" alignment="center" valignment="top" topline="true" 
bottomline="false" leftline="true" rightline="false" rotate="false" 
usebox="none" width="" special="">
+\begin_inset Text
+
+\layout Standard
+
+boolean
+\end_inset 
+</cell>
+<cell multicolumn="0" alignment="center" valignment="top" topline="true" 
bottomline="false" leftline="true" rightline="false" rotate="false" 
usebox="none" width="" special="">
+\begin_inset Text
+
+\layout Standard
+
+false
+\end_inset 
+</cell>
+<cell multicolumn="0" alignment="center" valignment="top" topline="true" 
bottomline="false" leftline="true" rightline="true" rotate="false" 
usebox="none" width="" special="">
+\begin_inset Text
+
+\layout Standard
+
+When set whatever value the user enters for the query mask is rewritten
+ with % between each character.
+ Thus example would be queried as %e%x%a%m%p%l%e%
 \end_inset 
 </cell>
 </row>
Index: gnue/gnuef/setup.py
diff -u gnue/gnuef/setup.py:1.26 gnue/gnuef/setup.py:1.27
--- gnue/gnuef/setup.py:1.26    Mon Jun 25 14:42:19 2001
+++ gnue/gnuef/setup.py Mon Jun 25 21:32:46 2001
@@ -257,4 +257,12 @@
        )
 
 
+if 'install' in sys.argv:
+    print """
+    Note:
+    Warnings about the files not being installed in pythons search path can be 
ignored.
 
+    Make sure you have a default gnue.conf file (typically in 
/usr/local/gnue/etc.
+    A sample is provided in that directory that you can typically just copy 
over.
+    """
+  
Index: gnue/gnuef/src/GFForm.py
diff -u gnue/gnuef/src/GFForm.py:1.105 gnue/gnuef/src/GFForm.py:1.106
--- gnue/gnuef/src/GFForm.py:1.105      Mon Jun 25 18:31:12 2001
+++ gnue/gnuef/src/GFForm.py    Mon Jun 25 21:32:46 2001
@@ -32,7 +32,6 @@
 import string
 from gnue.common import GDebug, openResource
 from gnue.common import GConfig            
-import GFOptions            
 import traceback
 
 from GFObjects import *
@@ -44,6 +43,9 @@
 import GFParser
 import GFTrigger
 
+
+VERSION = "0.0.8"
+
 class GFForm(GFObj, GFEventAware):
   def __init__(self, parent=None, app=None):
     GFObj.__init__(self, parent)
@@ -370,7 +372,7 @@
     return message
 
   def executeAbout(self,event):
-     version = GFOptions.VERSION
+     version = VERSION
      name = self.getOption('title') or "Unknown"
      formversion = self.getOption('version') or "Unknown"
      author = self.getOption('author') or "Unknown"



reply via email to

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