commit-gnue
[Top][All Lists]
Advanced

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

gnue/forms setup.py src/GFParser.py src/GFObjec...


From: James Thompson
Subject: gnue/forms setup.py src/GFParser.py src/GFObjec...
Date: Wed, 20 Nov 2002 22:50:24 -0500

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     James Thompson <address@hidden> 02/11/20 22:50:24

Modified files:
        forms          : setup.py 
        forms/src      : GFParser.py 
        forms/src/GFObjects: GFBlock.py 

Log message:
        merged in some papo patches from the 0.4.x branch
        typos fixed

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/setup.py.diff?tr1=1.75&tr2=1.76&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/src/GFParser.py.diff?tr1=1.86&tr2=1.87&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/src/GFObjects/GFBlock.py.diff?tr1=1.62&tr2=1.63&r1=text&r2=text

Patches:
Index: gnue/forms/setup.py
diff -c gnue/forms/setup.py:1.75 gnue/forms/setup.py:1.76
*** gnue/forms/setup.py:1.75    Mon Nov 18 17:12:44 2002
--- gnue/forms/setup.py Wed Nov 20 22:50:24 2002
***************
*** 161,167 ****
      sys.exit()
  
  
!     
  # Site config stuff
  try:
    index = sys.argv.index('--cfg-file')
--- 161,167 ----
      sys.exit()
  
  
! 
  # Site config stuff
  try:
    index = sys.argv.index('--cfg-file')
Index: gnue/forms/src/GFObjects/GFBlock.py
diff -c gnue/forms/src/GFObjects/GFBlock.py:1.62 
gnue/forms/src/GFObjects/GFBlock.py:1.63
*** gnue/forms/src/GFObjects/GFBlock.py:1.62    Mon Nov 18 01:40:55 2002
--- gnue/forms/src/GFObjects/GFBlock.py Wed Nov 20 22:50:24 2002
***************
*** 88,99 ****
  
  
      self._triggerGlobal = 1
!     self._triggerFunctions={'clear':{'function':self.processClear},
!                             'gotoRecord':{'function':self.jumpRecord},
!                             'newRecord':{'function':self.newRecord},
!                             'nextRecord':{'function':self.nextRecord},
!                             'prevRecord':{'function':self.prevRecord},
!                             'deleteRecord':{'function':self.deleteRecord},
                              }
  
      self._triggerProperties={'parent':  {'get':self.getParent}}
--- 88,119 ----
  
  
      self._triggerGlobal = 1
!     self._triggerFunctions={'clear':{'function':self.processClear,
!                                      'description':''},
!                             'commit':{'function':self.commit,
!                                       'description':''},                      
                
!                             'deleteRecord':{'function':self.deleteRecord,
!                                             'description':''},                
                      
!                             'executeQuery':{'function':self.processQuery,
!                                             'description':''},                
                      
!                             'gotoRecord':{'function':self.jumpRecord,
!                                           'description':''},                  
                    
!                             'firstRecord':{'function':self.firstRecord,
!                                            'description':'Navigates the block 
to the first record it contains.'},                                      
!                             'isEmpty':{'function':self.isEmpty,
!                                        'description':'Returns 1 if block is 
empty.'},                                      
!                             'isSaved':{'function':self.isSaved,
!                                        'description':'Returns 1 if block 
contains no modified records.'},                                      
!                             'lastRecord':{'function':self.lastRecord,
!                                       'description':'Navigates the block to 
the last record it contains.'},                                      
!                             'newRecord':{'function':self.newRecord,
!                                          'description':''},                   
                   
!                             'nextRecord':{'function':self.nextRecord,
!                                           'description':'Navigates the block 
to the next record in sequence.'},                                      
!                             'prevRecord':{'function':self.prevRecord,
!                                           'description':'Navigates the block 
to the previous record in sequence.'},                                      
!                             'rollback':{'function':self.processRollback,
!                                         'description':'Clears all records 
regardless of state from the block'},                                      
                              }
  
      self._triggerProperties={'parent':  {'get':self.getParent}}
***************
*** 256,261 ****
--- 276,286 ----
    def prevRecord(self):
      if self._resultSet.prevRecord():
        self.switchRecord(-1)
+ 
+   def commit(self):
+     self._form.changeFocus(self)
+     self._form.commit()
+   
  
    def jumpRecord(self, recordNumber):
      # If recordNumber is negative, move relative to last record
Index: gnue/forms/src/GFParser.py
diff -c gnue/forms/src/GFParser.py:1.86 gnue/forms/src/GFParser.py:1.87
*** gnue/forms/src/GFParser.py:1.86     Wed Nov 20 20:39:37 2002
--- gnue/forms/src/GFParser.py  Wed Nov 20 22:50:24 2002
***************
*** 323,329 ****
                    'startup': {},
                    'change': {},
                    'commit': {} },
!                'Default': 'onstartup'
                 'Description': 'TODO' },
              'default': {
                 'Typecast': GTypecast.text,
--- 323,329 ----
                    'startup': {},
                    'change': {},
                    'commit': {} },
!                'Default': 'onstartup',
                 'Description': 'TODO' },
              'default': {
                 'Typecast': GTypecast.text,
***************
*** 467,473 ****
                 'Required': 1,
                 'Typecast': GTypecast.whole,
                 'Description': 'The text row starting position of the widget. 
Based upon the top row of the screen being 0.' } },
!          'ParentTags': ('page',),,
           'Description': 'TODO' },
  
        'box': {
--- 467,473 ----
                 'Required': 1,
                 'Typecast': GTypecast.whole,
                 'Description': 'The text row starting position of the widget. 
Based upon the top row of the screen being 0.' } },
!          'ParentTags': ('page',),
           'Description': 'TODO' },
  
        'box': {
***************
*** 535,541 ****
                 'Required': 1,
                 'Typecast': GTypecast.whole,
                 'Description': 'The text row starting position of the widget. 
Based upon the top row of the screen being 0.' } },
!          'ParentTags': ('page',),,
           'Description': 'TODO' },
  
        'options': {
--- 535,541 ----
                 'Required': 1,
                 'Typecast': GTypecast.whole,
                 'Description': 'The text row starting position of the widget. 
Based upon the top row of the screen being 0.' } },
!          'ParentTags': ('page',),
           'Description': 'TODO' },
  
        'options': {




reply via email to

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