Commit graph

44 commits

Author SHA1 Message Date
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
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
3befef2464 ASyncDBConnection uses Qt signals now for reporting state changes and notices 2017-09-03 10:06:32 +02:00
Eelke Klein
90d0a14b63 Fixed crash from trying to close a socket that isn't open in the first place. 2017-09-02 11:55:47 +02:00
Eelke Klein
aa50d3097e Fixed some cases where nullptr were not correctly handled. 2017-09-01 21:07:37 +02:00
Eelke Klein
e66326472e Removed invalid default value for the type.
Caused a compiler error on FreeBSD. Either because of different Qt verion (5.7) or because of clang
not sure which but that default was a nonsense left over of an older implementation anyway.
2017-09-01 10:22:13 +02:00
Eelke Klein
8dc8c3a86d Added missing dependency on boost to core so it can find the boost headers. 2017-09-01 10:21:29 +02:00
Eelke Klein
067fd7d7a2 Find botan also looks in /usr/local now. Works for manual build under FreeBSD 11 2017-09-01 09:50:08 +02:00
Eelke Klein
fbead4d782 fix 2017-09-01 09:33:46 +02:00
Eelke Klein
f6728e6191 test -> test 2017-08-27 17:39:35 +02:00
Eelke Klein
6d8342b3f3 move tests to core as it contains tests on core 2017-08-27 17:38:52 +02:00
Eelke Klein
f32b7370dc Switched to CMakeLists.txt per directory but most detecting is still done in
global one. Includes and libraries are properly propagated using
PUBLIC/INTERFACE so we do not have to repeat dependencies.
2017-08-27 13:25:16 +02:00
Eelke Klein
7c4e8e95e8 Restructured locations of source. 2017-08-27 07:36:42 +02:00
Eelke Klein
04723a289b Switching to linux for development of pglab.
Switched from qmake to cmake. Code changes to make it compile.
2017-08-23 08:10:01 +02:00
eelke
dd9906dbd8 Several fixes for compilation with gcc (doesn't link) 2017-08-22 12:45:45 +02:00
eelke
a2f39692a2 Forgot to add untracked files. 2017-03-05 21:25:37 +01:00
eelke
73528ca965 Backup functionality working, the UI still needs work. 2017-03-05 21:23:36 +01:00
eelke
d0ea9dfa0c Moved some parts to a static lib so both the executable and the tests can link to it.
Written additional tests.
2017-02-26 19:29:50 +01:00
eelke
0a809a7288 Type selection for parameters is now sorted and limited to non array and non composite types. 2017-02-20 06:44:15 +01:00
eelke
dd19077281 Useless message about unsaved files disabled (it closed the window whatever your response). 2017-02-20 06:43:33 +01:00
eelke
afa80a1125 List of databases shows owner name instead of oid. 2017-02-19 17:41:05 +01:00
eelke
874ca664b8 Beter handling of new vs existing files. 2017-02-19 17:40:43 +01:00
eelke
4adb78a84e Improved question an error handling when closing and saving query. 2017-02-19 14:46:01 +01:00
eelke
f5046fbd68 Fix crash when clicking close button with no tabs open. 2017-02-19 14:45:37 +01:00
eelke
161de60eb1 Result::tuplesAffected now checks for empty string to prevent triggering
slow exception handling.
2017-02-19 14:07:58 +01:00
eelke
3af26d915e Can use the parameter list in the query window now.
Still requires extensive testing for all possible types.
2017-02-19 11:12:43 +01:00
eelke
aefc9eb7ba Reenabled support for older windows versions. 2017-02-19 07:21:46 +01:00
eelke
2d962334da Added list of databases and roles.
Roles works for atleast 9.3 and up.

Reorganizing code for communicating with database.
2017-02-18 12:05:48 +01:00
eelke
8c077b3d5f Support for explain containing single runtime instead of planning and execution time. 2017-02-18 12:03:52 +01:00
eelke
3dff4dade8 Program has an icon now. 2017-02-13 19:51:57 +01:00
eelke
14891aa892 Make exe compatible with Windows XP. 2017-02-13 19:51:45 +01:00
eelke
612b524151 ServerWindow shows list of databases. 2017-02-13 19:51:19 +01:00
eelke
e71ef2e6df More case fixes of filenames. 2017-02-12 15:51:36 +01:00
eelke
20af12535e The catalogue now loads the list of databases en there is a table model that can show this data. 2017-02-12 14:03:42 +01:00
eelke
a9430bca1a Case adjustment of several files. 2017-02-12 08:22:08 +01:00
eelke
2f95c2f096 Started on window for managing the server. 2017-02-12 08:15:09 +01:00
eelke
f51105bde0 megamove 2017-02-11 08:15:01 +01:00