Commit graph

319 commits

Author SHA1 Message Date
eelke
a69aa401b2 Th default values of columns are now joined with the other column data and displayed in the default column of the column tableview. 2017-12-19 18:57:05 +01:00
eelke
8402470baa Loading of the list of indexes works for version 9.3 (and maybe before if there are no other differences) 2017-12-19 18:18:21 +01:00
eelke
c37e9eccb8 Better error reporting of problems during catalog load. 2017-12-19 18:17:41 +01:00
eelke
2a29bed75e Fixed linking of botan library 2017-12-19 18:17:18 +01:00
eelke
3703bd9979 Resize columns in the column list. 2017-12-19 18:16:25 +01:00
eelke
dd0e21afb5 Improved titles of index columns in the list of columns. 2017-12-19 18:16:05 +01:00
eelke
d1114793a1 Fixed missing comman in pg_class query.
Added checks on row and column indexes in Pgsql::Result to detect these kind of problems earlier in the future.
2017-12-17 20:28:02 +01:00
eelke
3424b62aa0 Autosize column of column overview. 2017-12-17 20:05:09 +01:00
eelke
7051ef2efc The oid column is now shown for tables that are "with oids". 2017-12-17 19:54:23 +01:00
eelke
172e2bcd1d In the list of columns displayed for a table a set of columns is appended describing the indexes on the table. 2017-12-17 19:34:28 +01:00
eelke
aef9b914b1 Loading of index definitions 2017-12-17 11:28:20 +01:00
eelke
db75d9ed50 More flexible array retrieval + *vector support. 2017-12-17 11:27:42 +01:00
eelke
d9854d81fa Improved error checking in Value + more to array conversion control. 2017-12-17 09:06:18 +01:00
eelke
1fe7d3c56d . 2017-12-16 21:43:51 +01:00
eelke
8f1ba8130c Unit tests on PasswordManager are now much faster because the tests use a much
lower iterations count now then the default setting.
2017-12-16 21:42:41 +01:00
eelke
0b088a2723 Fixed several warnings. 2017-12-16 21:41:46 +01:00
eelke
2ad4a2601f Value::getAsArray function to parse array convert to correct type and
uses inserter to fill container.

Unit tests included.
2017-12-16 21:41:16 +01:00
eelke
ec930218cd Implemented ArrayParser and unit tests to verify its working. 2017-12-16 10:31:51 +01:00
eelke
b5d800c87e Added type of column on second line in column headers of QueryResultModel. 2017-12-13 18:49:58 +01:00
eelke
c6dbe72170 Fix, display and rendering of booleans by QueryResultModel. 2017-12-13 18:05:25 +01:00
eelke
ad9ed1b698 Introduced new library for pglab code which I want to unit test.
Not everything can go into core because that would result in circular dependencies between core and pgsql.
2017-12-13 18:04:10 +01:00
eelke
b8505ce451 Convert name of array types to elem typoe followed by [] 2017-12-13 18:02:39 +01:00
eelke
7fb4e1ddb9 The tables page now has splitters instead of fixed division. 2017-12-12 20:37:58 +01:00
eelke
397138eef1 Explain works with parameters to now.
Also de deduplicated the callback lambda in the normal query execution.
2017-12-12 20:15:07 +01:00
eelke
e9d72d391d PgAttribute loading + ColummnTableModel
Required enchancement to PgContainer to make multifield key work.
2017-12-12 20:13:53 +01:00
eelke
f9caadb59e For testing purposes a new table tab is created when a querytab is created. 2017-12-10 14:20:45 +01:00
eelke
6466062cc8 pg_classes can be loaded now, used in TablesTableModel for overview of tables in database. 2017-12-10 10:35:46 +01:00
eelke
43e6042794 First version of table overview tab, only design no implementation yet 2017-12-10 08:17:07 +01:00
eelke
cd4e99cd11 Deduplication of loading logic for catalog data. 2017-12-09 21:46:19 +01:00
eelke
ea035f58c8 Bunch of raw pointers replaced with smart pointers of references. 2017-12-09 20:21:22 +01:00
eelke
5a199c9138 QueryResultModel relies on BaseTableModel for most formatting now. 2017-12-09 19:47:33 +01:00
eelke
dec52a3829 Unit tests for ParamList to json. 2017-12-09 19:39:37 +01:00
eelke
e9f5fff6d3 Moved files to core.lib for unit testing 2017-12-09 16:43:28 +01:00
eelke
466920bf4e Routines for converting the Param data to json. 2017-12-09 16:41:19 +01:00
eelke
0cbd0d16a1 Seperated the Param data from the model.
This makes saving and loading the parameter data easier to do without cluttering up the model class.
2017-12-09 15:46:33 +01:00
eelke
3bf1ef4fe0 Moved QueryParamListController to its own translation unit. 2017-12-09 14:16:47 +01:00
eelke
3a13b7ffb4 Messy commit. Testing suff and some improvements to how data is shown. 2017-12-09 10:45:13 +01:00
eelke
bebb3391c3 Builds on windows again 2017-11-26 13:07:21 +01:00
Eelke Klein
33cf39b799 Mogelijkheid om query to kopieren als raw c++ string. 2017-10-05 16:02:06 +02:00
Eelke Klein
a9534d543e First step at defining interface for long running background tasks. 2017-10-05 16:00:16 +02:00
Eelke Klein
ee353d7da8 First attempt at configuration for code generation. 2017-10-05 15:59:33 +02:00
Eelke Klein
976623ca9b Merge branch 'port-to-linux' 2017-09-10 10:15:14 +02:00
Eelke Klein
45515f936b First step at detecting dollar quoted strings. Dollar quotes
are now recognized by the lexical analyzer.

Plan is to let the parser decide how to handle the content.
2017-09-10 10:13:58 +02:00
Eelke Klein
56bd304756 Improved error reporting. 2017-09-10 10:11:58 +02:00
Eelke Klein
b372fb6c6b Setting -Wall on compilers that support it. 2017-09-10 10:10:42 +02:00
Eelke Klein
fd41613b5c Expected copycon didn't compile, added unit tests for copycon. 2017-09-10 10:09:28 +02:00
Eelke Klein
b9bc00a389 Using a global variable to register meta types instead of the main() function.
Prevents needing to have extra includes in the main.
2017-09-03 14:37:12 +02:00
Eelke Klein
fe0681f19c Ignore kdevelop4 IDE files. 2017-09-03 10:18:55 +02:00
Eelke Klein
acd6c14566 Remove kdev4 files 2017-09-03 10:17:03 +02:00
Eelke Klein
3befef2464 ASyncDBConnection uses Qt signals now for reporting state changes and notices 2017-09-03 10:06:32 +02:00