Show
Ignore:
Timestamp:
04/27/09 17:11:10 (4 years ago)
Author:
nopper
Message:

Fixing 80 columns line wrap in:

  • PM/Backend/Scapy/Context/Sequence.py
  • PM/Backend/Scapy/Context/Sniff.py
  • PM/Core/Atoms.py
  • PM/Gui/Core/App.py
  • PM/Manager/PreferenceManager.py
  • PM/Gui/Tabs/OperationsTab.py

Added Tracing.py file containing decorators to trace functions. Usefull for debugging.
Added new preference to update all row belonging to OperationsTab? in one function to save CPU and increase performance. This affects:

  • PM/Gui/Dialogs/Preferences.py
  • PM/Manager/PreferenceManager.py

Added a new public function bind_session to SessionNotebook? in MainTab?.py file.
Added code to manage async file loading. This is the first attempt to fix the 'Import huge file' problem. The code is threaded and uses gobject.idle_add to avoid problems with pygtk threads.

  • PM/Gui/Tabs/OperationsTab.py
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branch/PacketManipulator/PM/Manager/PreferenceManager.py

    r3933 r4596  
    110110                if attr == 'value': 
    111111                    opt_value = attrs.get(attr) 
    112              
     112 
    113113            try: 
    114114                if name == 'bool': 
     
    187187 
    188188        'gui.statustab.font' : 'Monospace 10', 
    189          
     189 
     190        'gui.operationstab.uniqueupdate' : True, 
     191        'gui.operationstab.updatetimeout' : 500, 
     192 
    190193        'gui.views.protocol_selector_tab' : True, 
    191194        'gui.views.property_tab' : True, 
     
    206209        need_save = True 
    207210        self.fname = os.path.join(PM_HOME, 'pm-prefs.xml') 
    208          
     211 
    209212        try: 
    210213            opts = self.load_options()