Commit graph

  • e7bfaeff9a project file cleanup Eelke Klein 2019-03-24 08:53:22 +01:00
  • 0f37f74dda Fix: parameter type combobox didn't come up with old value. eelke 2019-02-10 09:10:31 +01:00
  • f2808de613 Sequence and Function pages are now properly filtered on namespace. eelke 2019-02-09 20:37:34 +01:00
  • 7ca671a078 Fix: when looking up data reverse mapping of proxy filter so we select correct data. eelke 2019-02-09 17:44:05 +01:00
  • b08bd1a315 The trigger SQL now also shows the function definition. eelke 2019-02-09 17:36:37 +01:00
  • 3fdd42ffb2 Collection of small fixes and improvements eelke 2019-02-09 14:59:33 +01:00
  • 3fb88edab2 Added icon for "normal" indexes eelke 2019-02-09 11:36:37 +01:00
  • 42432b06a9 Restructuring catalog tabs eelke 2019-02-09 09:49:27 +01:00
  • a704332342 Work on plugin mechanism eelke 2019-02-08 10:10:11 +01:00
  • eca8841427 Added shortcuts to the Execute, Explain and Explain Analyze context actions. eelke 2019-02-07 16:53:48 +01:00
  • db735363f7 QueryResultModel no longer truncates long strings to improve display performance. eelke 2019-02-07 16:48:30 +01:00
  • be2ffd7ef9 Bunch of renames to reduce confusion. eelke 2019-01-31 19:31:17 +01:00
  • cbb2f897aa Define toolbar locations for the actions of the QueryTool module. eelke 2019-01-31 19:25:54 +01:00
  • 6acf70660b Fix: hang in syntax highlighter eelke 2019-01-29 20:36:07 +01:00
  • 27fde22d54 Fix: Cancelling the password prompt of the PSK database doesn't keep endlessly asking for password. eelke 2019-01-29 19:52:50 +01:00
  • ecae0464f9 Fix: openening not accessible database crashes program. eelke 2019-01-29 19:41:27 +01:00
  • 3820fb2600 RunControllableTask now also properly catches Exceptions and reports them through the Future. eelke 2019-01-29 19:39:21 +01:00
  • 39ac8ef02d Some work on parser, not used yet. eelke 2019-01-28 20:53:10 +01:00
  • 3b482c1c73 Fix lexer for empty input. eelke 2019-01-28 20:52:39 +01:00
  • 077fae50af fix some warnings eelke 2019-01-28 20:52:04 +01:00
  • 7c32d67196 Default to no wordwrap. eelke 2019-01-06 21:38:11 +01:00
  • 407304294a Analyzer didn't like this. eelke 2019-01-06 21:37:57 +01:00
  • bcf0cf1c6c Merge branch 'plugin-architecture' eelke 2019-01-06 17:08:50 +01:00
  • e5dd27ff1a Added several actions that were left out while switching to module. eelke 2019-01-06 16:34:50 +01:00
  • 3e4917428d TablesPage is now CatalogInspector and is now a module. eelke 2019-01-06 10:11:48 +01:00
  • d3c85722c7 Remove unneeded headers and code. eelke 2019-01-06 08:17:37 +01:00
  • d6fce5c31f Simplified LWidgetAction initialization eelke 2019-01-06 08:17:17 +01:00
  • f4f2474a81 Moved definition of widget instance actions to the module so other parts of the system can no about them. eelke 2019-01-05 19:58:23 +01:00
  • d0c4dabe8b DatabaseWindow has no knowledge more of the existence of QueryTab but user can still create and use them within that window. eelke 2019-01-05 11:12:47 +01:00
  • fd603a7434 Moving things from the application specific DatabaseWindow to generic LMainWindow (Leon framework) eelke 2019-01-05 09:49:12 +01:00
  • 4a78330153 Proof of concept for binding signal to passed in slot name. eelke 2019-01-04 18:46:02 +01:00
  • a5f4e4c54f Create standard close action eelke 2019-01-04 18:29:22 +01:00
  • 4c3a2df65c Fix plugin macro that added quotes to things that were already strings causing identifiers to not match. eelke 2019-01-01 14:35:22 +01:00
  • d86d278350 Remove designer DatabaseForm generating widgets from code. eelke 2019-01-01 14:34:14 +01:00
  • dc8a052544 Basic concept of MenuAction is working eelke 2019-01-01 11:15:16 +01:00
  • f130c426a1 Fix error on pg96 because of wrong minimum version eelke 2019-01-01 11:04:48 +01:00
  • eec75e28f9 Remove unused ApplicationWindow eelke 2019-01-01 08:49:32 +01:00
  • a29671593e Simplified module registration eelke 2019-01-01 08:26:20 +01:00
  • 456180325e Code cleanups eelke 2018-12-31 15:43:22 +01:00
  • b0cd47ef46 Extended the plugin system to allow for dynamic runtime bindings between modules. eelke 2018-12-31 15:20:55 +01:00
  • f996703937 Corrected some usage of QueueTask that was already broken as QueueTask is defunct. eelke 2018-12-31 11:38:54 +01:00
  • 1da8ef7407 Remove all knowledge of DatabaseWindow from CrudTab (unwanted dependency) eelke 2018-12-31 09:51:52 +01:00
  • cc4f309c0f Completed removal of ASyncWindow eelke 2018-12-31 09:40:25 +01:00
  • 424fb5984d Fixed loading of data in CrudModel. eelke 2018-12-31 09:33:34 +01:00
  • 15bee33076 Made step to remove ASyncWindow in favour of usage of Future and FutureWatcher. This should allow concurrency in the plugins to be independent from their container. eelke 2018-12-30 15:46:15 +01:00
  • a54a063c13 DatabaseWindow no longer has to pass the config to QueryTab, QueryTab can now init itself from the supplied context. eelke 2018-12-30 15:44:05 +01:00
  • 2a7e505dbf Made a step in removing knowledge of DatabaseWindow from QueryTab as an effort to move in the direction of a plugin system. eelke 2018-12-29 18:59:54 +01:00
  • f6ea2ce0a6 Introduced own version of QTableView called PgLabTableView that has some other defaults. eelke 2018-12-29 17:54:54 +01:00
  • f0ffcf4abd TablesTableModel now also shows (materialized) views en foreign tables. eelke 2018-12-29 11:19:12 +01:00
  • a0579538df The tablespage now has a namespace filter allowing it to be used for a pg_catalog and information_schema tab. eelke 2018-12-29 10:56:24 +01:00
  • d129876d06 CodeEditor improvements eelke 2018-12-28 15:26:24 +01:00
  • 69473d65d2 Renamed MainWindow to DatabaseWindow so the name tells us the functionality provided by the window. eelke 2018-12-28 12:55:11 +01:00
  • 437736a023 Tab with list of sequences and create sql for selected sequence. eelke 2018-12-28 08:51:02 +01:00
  • 769307c821 Added the trigger definitions to the sql for a table. Also tuned the formatting of the trigger definitions a bit. eelke 2018-12-27 12:15:37 +01:00
  • 4ec4e02411 The SQL tab for a table now also shares the grant/revoke statements for that table (but not yet any column level grants). eelke 2018-12-27 12:07:19 +01:00
  • 93687df959 Removed the acl field from several Pg* classes as the acl is now stored in the PgServerObject base class they inherit from. eelke 2018-12-27 12:05:48 +01:00
  • aaa05f64ef PgTablespace now inherits from PgServerObject. eelke 2018-12-25 17:38:13 +01:00
  • 0b6c1a8544 Make PgAuthId inherit PgServerObject and related changes. eelke 2018-12-25 16:39:58 +01:00
  • c2c01cf431 Generic GRANT/REVOKE generation from ACL's complete. eelke 2018-12-25 13:17:04 +01:00
  • cc0b28e8e0 No need for PgSPtrContainer to store weak pointer to the catalog when its parent already has a reference to the catalog. eelke 2018-12-24 11:33:24 +01:00
  • 3f337b2cca Added typeName function to PgObject as it might be useful for building generic functions. eelke 2018-12-24 11:31:56 +01:00
  • b210c570fc ArrayParser doesn't require the string to be null terminated anymore, instead the length of the string can be passed in. eelke 2018-12-24 08:10:09 +01:00
  • 93c8b49f61 PgServerObject now contains a list of acl's for the object so all the different objects can use this implementation. eelke 2018-12-24 07:51:27 +01:00
  • efb3e71556 The getAsArray and getAsVector function now use StringToArrayElem template for conversion to the array element type. eelke 2018-12-24 07:46:13 +01:00
  • 54d4dfface Improved code generation for functions and procedures. eelke 2018-12-23 19:45:04 +01:00
  • fc58acb252 Added convenience functions to PgLanguage for quickly testing for the standard languages. eelke 2018-12-23 19:43:50 +01:00
  • 471139ba4d Added getResultNoThrow as the AsyncDBCOnnection doesn't like exceptions. eelke 2018-12-23 12:39:53 +01:00
  • 43f8117bbd pg11: pg_proc, type of function is stored differently from pg11 forward eelke 2018-12-23 08:48:45 +01:00
  • a88af1ac11 Improved connection error handling. eelke 2018-12-23 08:43:43 +01:00
  • 646b18ebeb Update tests for moved include files. eelke 2018-12-23 08:42:32 +01:00
  • 6a2c8ec5e0 Do not use flat_set anymore gives compilation issues. eelke 2018-12-23 08:39:38 +01:00
  • 1854a4bdaa Improvements in generated SQL for CREATE FUNCTION eelke 2018-12-22 13:52:19 +01:00
  • f692569d27 Added the list of installed language to the catalog. The ProcTableModel now returns the owner name and language name instead of the oids. eelke 2018-12-17 21:51:14 +01:00
  • c0a11f9b3b Functions page now shows sql for selected function. eelke 2018-12-16 20:40:04 +01:00
  • 31a77a1742 Triggers and Columns page now automatically resize columns to fit contents. eelke 2018-12-16 20:38:57 +01:00
  • 880903db5f Several fixes of warnings/clang tidy eelke 2018-12-16 15:38:32 +01:00
  • 2f527a8380 Sort the list of columns for a table by attnum (creation order). eelke 2018-12-16 12:49:44 +01:00
  • 2aef965787 On the tables page the column tab is now selected by default. eelke 2018-12-16 12:47:31 +01:00
  • e75b0f1a71 Added CollationModel + factory for editing and added to EditTableWidget eelke 2018-12-16 11:35:39 +01:00
  • f0c1035378 Reorganize files in pglablib eelke 2018-12-16 10:17:59 +01:00
  • 56cbeea183 Fix: SelectionEditorFactory::setEditorData incorrectly used default DisplayRole with index.data() while it should use the EditRole. eelke 2018-12-16 09:39:43 +01:00
  • 387c664284 EditColumnTableModel, return typename for displayrole for type column and oid for edit value. eelke 2018-12-16 09:35:57 +01:00
  • 44358d198a PgType now inherits from PgNamespaceObject and PgOwnedObject eelke 2018-12-16 09:24:27 +01:00
  • 742fd0a4d3 SelectionEditorFactory + ItemModel + ItemModelFactory combination is working in new EditTableWidget eelke 2018-12-15 20:27:40 +01:00
  • e44f73166f SelectionEditorFactory for creating combobox selections for use in QTableView. TypeSelectionItemModelFactory to use the TypeSelectionItemModel with above factory. eelke 2018-12-15 15:18:19 +01:00
  • f8d61b61f4 Added capability to create editors from an editor factory to PgLabItemDelegate eelke 2018-12-15 12:11:23 +01:00
  • 62c6ad5bfb Improved support from removing rows in crud tabs. eelke 2018-12-15 11:24:58 +01:00
  • 950fea873c Fix QtCreater error eelke 2018-12-15 11:19:32 +01:00
  • 9e645db1a8 Fixed some small details the analyzer was complaining about. eelke 2018-12-09 21:10:35 +01:00
  • e32c82ac6f Created Pgsql::Transaction class for handling of transactions. It auto rollsback if no commit has been done. eelke 2018-12-09 20:24:11 +01:00
  • 255b2ec970 CrudModel::removeRows now works for count > 1 eelke 2018-12-08 13:55:43 +01:00
  • 266e479344 fkey field is not set for primary keys. eelke 2018-12-08 08:47:02 +01:00
  • 6c76c70a97 The create table statement now lists the inherited tables and inherited columns are commented out. eelke 2018-12-03 21:03:49 +01:00
  • 498233d58c WIP: SQL for creating table and related objects eelke 2018-11-30 18:41:38 +01:00
  • 57217974f4 New column page eelke 2018-11-29 20:21:36 +01:00
  • 73c4cf4790 Rework of catalog objects. Several of them are now inheriting from common base classes that implement common functionality. eelke 2018-11-25 19:45:06 +01:00
  • 840af1e0a9 WIP: Added page showing list of functions. eelke 2018-11-25 09:06:01 +01:00
  • 7db859737a Use catalog instead of catalogue consistently eelke 2018-11-25 09:05:01 +01:00
  • 52011a9842 Updating of detail tabs besides list of tables works correctly again. eelke 2018-11-18 20:24:27 +01:00
  • fcb191f2cc Overview of triggers extended with function name and arguments. eelke 2018-11-18 19:30:45 +01:00