commit-gnue
[Top][All Lists]
Advanced

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

gnue common/etc/sample.gnue.conf common/src/dbd...


From: James Thompson
Subject: gnue common/etc/sample.gnue.conf common/src/dbd...
Date: Sun, 31 Mar 2002 15:41:21 -0500

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     James Thompson <address@hidden> 02/03/31 15:41:20

Modified files:
        common/etc     : sample.gnue.conf 
        common/src/dbdrivers/_pgsql: DBdriver.py 
        common/src/dbdrivers/pypgsql: DBdriver.py 
        forms/samples/zipcode: zipcode.gfd 

Log message:
        Synced help text on save/clear message (new gnue.conf required)
        Fixed pypgsql driver to work w/ port option

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/etc/sample.gnue.conf.diff?tr1=1.21&tr2=1.22&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/dbdrivers/_pgsql/DBdriver.py.diff?tr1=1.13&tr2=1.14&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/dbdrivers/pypgsql/DBdriver.py.diff?tr1=1.23&tr2=1.24&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/samples/zipcode/zipcode.gfd.diff?tr1=1.18&tr2=1.19&r1=text&r2=text

Patches:
Index: gnue/common/etc/sample.gnue.conf
diff -c gnue/common/etc/sample.gnue.conf:1.21 
gnue/common/etc/sample.gnue.conf:1.22
*** gnue/common/etc/sample.gnue.conf:1.21       Thu Mar 28 10:02:58 2002
--- gnue/common/etc/sample.gnue.conf    Sun Mar 31 15:41:20 2002
***************
*** 80,86 ****
  
  #GNUe Menu/Toolbar Status Bar Messages
  msg_commit=Save all changes to database.
! msg_rollback=Discard all changes.
  msg_exit=Leave the application.
  msg_first=Navigate to first record in memory.
  msg_last=Navigate to last record in memory.
--- 80,86 ----
  
  #GNUe Menu/Toolbar Status Bar Messages
  msg_commit=Save all changes to database.
! msg_rollback=Clear form.
  msg_exit=Leave the application.
  msg_first=Navigate to first record in memory.
  msg_last=Navigate to last record in memory.
***************
*** 116,122 ****
  # Font size if fixedWidthFont = 1 (ignored otherwise)
  pointSize = 14
  
! _msgNOTSAVED = Data not saved. Commit or rollback changes.
  _msgDETAILNOTSAVED = This record's detail information is not saved.
  
  # Do not alter below here unless you really, really want to (and you know 
what you are doing)
--- 116,122 ----
  # Font size if fixedWidthFont = 1 (ignored otherwise)
  pointSize = 14
  
! _msgNOTSAVED = Data not saved. Save changes or clear the form to proceed.
  _msgDETAILNOTSAVED = This record's detail information is not saved.
  
  # Do not alter below here unless you really, really want to (and you know 
what you are doing)
Index: gnue/common/src/dbdrivers/_pgsql/DBdriver.py
diff -c gnue/common/src/dbdrivers/_pgsql/DBdriver.py:1.13 
gnue/common/src/dbdrivers/_pgsql/DBdriver.py:1.14
*** gnue/common/src/dbdrivers/_pgsql/DBdriver.py:1.13   Thu Mar 14 01:33:37 2002
--- gnue/common/src/dbdrivers/_pgsql/DBdriver.py        Sun Mar 31 15:41:20 2002
***************
*** 58,65 ****
      if pgresultset:
        self._resultSetClass = pgresultset
  
- 
-   # TODO: leaving here as placeholder for a common connect function for std 
postgresql drivers
    def connect(self, connectData={}):
      GDebug.printMesg(1,"Postgresql database driver initializing")
      try:
--- 58,63 ----
Index: gnue/common/src/dbdrivers/pypgsql/DBdriver.py
diff -c gnue/common/src/dbdrivers/pypgsql/DBdriver.py:1.23 
gnue/common/src/dbdrivers/pypgsql/DBdriver.py:1.24
*** gnue/common/src/dbdrivers/pypgsql/DBdriver.py:1.23  Tue Jan 29 12:39:05 2002
--- gnue/common/src/dbdrivers/pypgsql/DBdriver.py       Sun Mar 31 15:41:20 2002
***************
*** 84,90 ****
  class PG_DataObject(PGSQL_DataObject):
    def __init__(self):
      PGSQL_DataObject.__init__(self, PgSQL, PG_ResultSet)
!     self._connectString = '%s::%s:%s:%s::'
  
  class PG_DataObject_Object(PG_DataObject, \
        PGSQL_DataObject_Object):
--- 84,90 ----
  class PG_DataObject(PGSQL_DataObject):
    def __init__(self):
      PGSQL_DataObject.__init__(self, PgSQL, PG_ResultSet)
!     self._connectString = '%s::%s:%s:%s::%s'
  
  class PG_DataObject_Object(PG_DataObject, \
        PGSQL_DataObject_Object):
Index: gnue/forms/samples/zipcode/zipcode.gfd
diff -c gnue/forms/samples/zipcode/zipcode.gfd:1.18 
gnue/forms/samples/zipcode/zipcode.gfd:1.19
*** gnue/forms/samples/zipcode/zipcode.gfd:1.18 Sat Feb  9 23:43:04 2002
--- gnue/forms/samples/zipcode/zipcode.gfd      Sun Mar 31 15:41:20 2002
***************
*** 1,41 ****
! <?xml version="1.0"?>
! 
! <!--  GNUe Designer (0.1.0)
!       Form saved on: 2001-11-04 22:12:53  -->
! 
! <form width="42" title="ZIP Code Maintenance" height="17">
!   <options>
!     <option value="0.0.1" name="version"/>
!   </options>
!   <datasource prequery="" cache="5" database="gnue" name="zips"
!               order_by="state,city" table="zipcode"/>
!   <datasource prequery="" database="gnue" name="validator"
!               order_by="description" table="state"/>
! 
!   <page name="Page_1">
!     <block name="zip" rows="15" datasource="zips">
!       <label x="1" y="1" name="Label_1" text="City"/>
!       <entry name="city" x="1" y="2" width="15" field="city" case="upper" 
required="">
!         <options>
!           <option name="tip" value="Full name of city"/>
!         </options>
!       </entry>
!       <label x="17" y="1" name="Label_2" text="State"/>
!       <entry x="17" y="2" field="state" name="state" width="15"
!              style="dropdown" foreign_key="validator.state"
!              foreign_key_description="description"> 
!         <options>
!           <option name="tip" value="State"/>
!         </options>
!       </entry>
!       <label x="33" y="1" name="Label_3" text="Zip"/>
!       <entry x="33" y="2" field="zip" name="zip" max_length="5" width="5"
!              typecast="number">
!         <options>
!           <option name="tip" value="US Postal Zip Code"/>
!         </options>
!       </entry>
!       <scrollbar x="40" y="2" width="1" height="15"/>
!     </block>
!   </page>
! </form>
--- 1,41 ----
! <?xml version="1.0"?>
! 
! <!--  GNUe Designer (0.1.0)
!       Form saved on: 2001-11-04 22:12:53  -->
! 
! <form width="42" title="ZIP Code Maintenance" height="17">
!   <options>
!     <option value="0.0.1" name="version"/>
!   </options>
!   <datasource prequery="" cache="5" database="gnue" name="zips"
!               order_by="state,city" table="zipcode"/>
!   <datasource prequery="" database="gnue" name="validator"
!               order_by="description" table="state"/>
! 
!   <page name="Page_1">
!     <block name="zip" rows="15" datasource="zips">
!       <label x="1" y="1" name="Label_1" text="City"/>
!       <entry name="city" x="1" y="2" width="15" field="city" case="upper" 
required="">
!         <options>
!           <option name="tip" value="Full name of city"/>
!         </options>
!       </entry>
!       <label x="17" y="1" name="Label_2" text="State"/>
!       <entry x="17" y="2" field="state" name="state" width="15"
!               foreign_key="validator.state"
!              foreign_key_description="description"> 
!         <options>
!           <option name="tip" value="State"/>
!         </options>
!       </entry>
!       <label x="33" y="1" name="Label_3" text="Zip"/>
!       <entry x="33" y="2" field="zip" name="zip" max_length="5" width="5"
!              typecast="number">
!         <options>
!           <option name="tip" value="US Postal Zip Code"/>
!         </options>
!       </entry>
!       <scrollbar x="40" y="2" width="1" height="15"/>
!     </block>
!   </page>
! </form>



reply via email to

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