pgAdmin III commit: Refactor the listview population code and optimise

From: Dave Page <dpage(at)pgadmin(dot)org>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin III commit: Refactor the listview population code and optimise
Date: 2011-06-03 11:16:12
Message-ID: 201106031116.p53BGCWj064831@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Refactor the listview population code and optimise in a number of
ways:
- Only load data into listviews that are currently visible, or are
about to become visible.
- Avoid loading statistics, dependencies and dependents twice(!)
every time the current object selection changes.
- Centralise the refresh and reset code.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=00892aab45144a4a068ead9d00871e534c7a4770

Modified Files
--------------
pgadmin/frm/events.cpp | 29 ++++++++++++++++-----
pgadmin/frm/frmMain.cpp | 57 +++++++++++++++++++++++++++-------------
pgadmin/include/frm/frmMain.h | 4 ++-
pgadmin/schema/pgObject.cpp | 19 +-------------
4 files changed, 64 insertions(+), 45 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2011-06-03 11:41:32 pgAdmin III commit: make style
Previous Message Dave Page 2011-06-02 20:20:41 pgAdmin III commit: Show datatypes in a more sensible order. Without au