Re: Runtime refactoring - Mailing list pgadmin-hackers

From Dave Page
Subject Re: Runtime refactoring
Date
Msg-id CA+OCxoxh07D69P-LZpV87K+hO5S2GF9yJbqMnXkp1PO=rUHgrg@mail.gmail.com
Whole thread Raw
In response to Runtime refactoring  (Dave Page <dpage@pgadmin.org>)
Responses Re: Runtime refactoring  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
List pgadmin-hackers

On Thu, Jul 16, 2020 at 10:41 AM Dave Page <dpage@pgadmin.org> wrote:
Here's a pretty large patch that implements a major refactoring of the runtime code. Specifically:

- Move the bulk of the core code from main() into a new Runtime class.
- Break up the mass of code that was main() into a number of relatively simple functions.
- Make the Configuration dialog synchronous so the Log dialog can be properly viewed.
- Enable/disable menu options at the right time.
- Remove support for Qt < 5.0.
- Remove the application name constant and hardcode the name to simplify the code.
- Improve log messages.
- Replace the sdbm hashing with Qt's MD5 hashing.

Please review & test, but do not commit before next week's release.

Thanks!

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EDB: http://www.enterprisedb.com



--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EDB: http://www.enterprisedb.com

pgadmin-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: Re: RM5554 - Fix runtime sizing
Next
From: Akshay Joshi
Date:
Subject: Re: Patch for SonarQube code scan fixes