Commit graph

  • 172e2bcd1d In the list of columns displayed for a table a set of columns is appended describing the indexes on the table. eelke 2017-12-17 19:34:28 +01:00
  • aef9b914b1 Loading of index definitions eelke 2017-12-17 11:28:20 +01:00
  • db75d9ed50 More flexible array retrieval + *vector support. eelke 2017-12-17 11:27:42 +01:00
  • d9854d81fa Improved error checking in Value + more to array conversion control. eelke 2017-12-17 09:06:18 +01:00
  • 1fe7d3c56d . eelke 2017-12-16 21:43:51 +01:00
  • 8f1ba8130c Unit tests on PasswordManager are now much faster because the tests use a much lower iterations count now then the default setting. eelke 2017-12-16 21:42:41 +01:00
  • 0b088a2723 Fixed several warnings. eelke 2017-12-16 21:41:46 +01:00
  • 2ad4a2601f Value::getAsArray function to parse array convert to correct type and uses inserter to fill container. eelke 2017-12-16 21:40:19 +01:00
  • ec930218cd Implemented ArrayParser and unit tests to verify its working. eelke 2017-12-16 10:31:51 +01:00
  • b5d800c87e Added type of column on second line in column headers of QueryResultModel. eelke 2017-12-13 18:49:58 +01:00
  • c6dbe72170 Fix, display and rendering of booleans by QueryResultModel. eelke 2017-12-13 18:05:25 +01:00
  • ad9ed1b698 Introduced new library for pglab code which I want to unit test. eelke 2017-12-13 18:04:10 +01:00
  • b8505ce451 Convert name of array types to elem typoe followed by [] eelke 2017-12-13 18:02:39 +01:00
  • 7fb4e1ddb9 The tables page now has splitters instead of fixed division. eelke 2017-12-12 20:37:58 +01:00
  • 397138eef1 Explain works with parameters to now. eelke 2017-12-12 20:15:07 +01:00
  • e9d72d391d PgAttribute loading + ColummnTableModel eelke 2017-12-12 20:13:53 +01:00
  • f9caadb59e For testing purposes a new table tab is created when a querytab is created. eelke 2017-12-10 14:20:45 +01:00
  • 6466062cc8 pg_classes can be loaded now, used in TablesTableModel for overview of tables in database. eelke 2017-12-10 10:35:46 +01:00
  • 43e6042794 First version of table overview tab, only design no implementation yet eelke 2017-12-10 08:17:07 +01:00
  • cd4e99cd11 Deduplication of loading logic for catalog data. eelke 2017-12-09 21:46:19 +01:00
  • ea035f58c8 Bunch of raw pointers replaced with smart pointers of references. eelke 2017-12-09 20:21:22 +01:00
  • 5a199c9138 QueryResultModel relies on BaseTableModel for most formatting now. eelke 2017-12-09 19:47:33 +01:00
  • dec52a3829 Unit tests for ParamList to json. eelke 2017-12-09 19:39:37 +01:00
  • e9f5fff6d3 Moved files to core.lib for unit testing eelke 2017-12-09 16:43:28 +01:00
  • 466920bf4e Routines for converting the Param data to json. eelke 2017-12-09 15:46:56 +01:00
  • 0cbd0d16a1 Seperated the Param data from the model. eelke 2017-12-09 15:46:33 +01:00
  • 3bf1ef4fe0 Moved QueryParamListController to its own translation unit. eelke 2017-12-09 14:16:47 +01:00
  • 3a13b7ffb4 Messy commit. Testing suff and some improvements to how data is shown. eelke 2017-12-09 10:45:13 +01:00
  • bebb3391c3 Builds on windows again eelke 2017-11-26 13:07:21 +01:00
  • 33cf39b799 Mogelijkheid om query to kopieren als raw c++ string. Eelke Klein 2017-10-05 16:02:06 +02:00
  • a9534d543e First step at defining interface for long running background tasks. Eelke Klein 2017-10-05 16:00:16 +02:00
  • ee353d7da8 First attempt at configuration for code generation. Eelke Klein 2017-10-05 15:59:33 +02:00
  • 976623ca9b Merge branch 'port-to-linux' Eelke Klein 2017-09-10 10:15:14 +02:00
  • 45515f936b First step at detecting dollar quoted strings. Dollar quotes are now recognized by the lexical analyzer. Eelke Klein 2017-09-10 10:13:58 +02:00
  • 56bd304756 Improved error reporting. Eelke Klein 2017-09-10 10:11:58 +02:00
  • b372fb6c6b Setting -Wall on compilers that support it. Eelke Klein 2017-09-10 10:10:42 +02:00
  • fd41613b5c Expected copycon didn't compile, added unit tests for copycon. Eelke Klein 2017-09-10 10:09:28 +02:00
  • b9bc00a389 Using a global variable to register meta types instead of the main() function. Eelke Klein 2017-09-03 14:37:12 +02:00
  • fe0681f19c Ignore kdevelop4 IDE files. Eelke Klein 2017-09-03 10:18:55 +02:00
  • acd6c14566 Remove kdev4 files Eelke Klein 2017-09-03 10:17:03 +02:00
  • 3befef2464 ASyncDBConnection uses Qt signals now for reporting state changes and notices Eelke Klein 2017-09-03 10:06:32 +02:00
  • 90d0a14b63 Fixed crash from trying to close a socket that isn't open in the first place. Eelke Klein 2017-09-02 11:55:47 +02:00
  • aa50d3097e Fixed some cases where nullptr were not correctly handled. Eelke Klein 2017-09-01 21:07:37 +02:00
  • e66326472e Removed invalid default value for the type. Eelke Klein 2017-09-01 10:22:13 +02:00
  • 8dc8c3a86d Added missing dependency on boost to core so it can find the boost headers. Eelke Klein 2017-09-01 10:21:29 +02:00
  • 067fd7d7a2 Find botan also looks in /usr/local now. Works for manual build under FreeBSD 11 Eelke Klein 2017-09-01 09:50:08 +02:00
  • fbead4d782 fix Eelke Klein 2017-09-01 09:33:46 +02:00
  • f6728e6191 test -> test Eelke Klein 2017-08-27 17:39:35 +02:00
  • 6d8342b3f3 move tests to core as it contains tests on core Eelke Klein 2017-08-27 17:38:52 +02:00
  • 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. Eelke Klein 2017-08-27 13:25:16 +02:00
  • 7c4e8e95e8 Restructured locations of source. Eelke Klein 2017-08-27 07:34:42 +02:00
  • 78a4c6d730 Remove use of ASSERT_THAT Eelke Klein 2017-08-26 19:07:01 +02:00
  • 4c658d7811 Added the test to CMakeLists.txt, all tests OK. Eelke Klein 2017-08-26 15:53:15 +02:00
  • cb0ef0b130 Removed obsolete SqlHighlighter the newer SqlSyntaxHighlighter is much better and faster. Eelke Klein 2017-08-26 14:55:30 +02:00
  • f7cf93bb9a Moved lowlevel postgresql wrappers to seperate folder and static lib. Eelke Klein 2017-08-26 14:50:36 +02:00
  • 869d867191 Removed duplicates with old name adjusted includes to match new header name. Eelke Klein 2017-08-26 11:45:50 +02:00
  • 243f1c0a42 Renamed PgsqlDatabaseCatalogue to PgDatabaseCatalogue so name is consistend with other related classes. Eelke Klein 2017-08-26 11:44:40 +02:00
  • 52442a145d Cleanup, removed commented out code, removed two units specific to windows which were not needed anymore because we are using boost::asio now. Eelke Klein 2017-08-25 08:45:54 +02:00
  • 03f1c55f0b Added the kdeveloper files Eelke Klein 2017-08-25 08:38:07 +02:00
  • 16676aa910 Cancel functionality works again. Eelke Klein 2017-08-25 08:37:18 +02:00
  • f11f9545ac ASyncDBConnection is now based of boost::asio instead of using it's own thread. Eelke Klein 2017-08-24 21:12:32 +02:00
  • 4beea05ba6 Adding in boost::asio support Eelke Klein 2017-08-24 19:45:00 +02:00
  • a6755c20f2 Splitter between sql and parameters. Eelke Klein 2017-08-24 19:43:17 +02:00
  • 4167c483f5 Most seems to work. Multi threading is not optimal however some points use a timeout with select or wait_for to poll a condition at the same time. Eelke Klein 2017-08-23 17:41:10 +02:00
  • c3d604e7b4 Resources (icons on buttons) are compiled and linked Eelke Klein 2017-08-23 13:42:01 +02:00
  • 6a97c0447a Compiles, links and runs (functionality not tested) Eelke Klein 2017-08-23 13:27:23 +02:00
  • 04723a289b Switching to linux for development of pglab. Eelke Klein 2017-08-23 08:10:01 +02:00
  • dd9906dbd8 Several fixes for compilation with gcc (doesn't link) eelke 2017-08-22 12:45:45 +02:00
  • a2f39692a2 Forgot to add untracked files. eelke 2017-03-05 21:25:37 +01:00
  • 73528ca965 Backup functionality working, the UI still needs work. eelke 2017-03-05 21:23:36 +01:00
  • d0ea9dfa0c Moved some parts to a static lib so both the executable and the tests can link to it. eelke 2017-02-26 19:29:50 +01:00
  • 0a809a7288 Type selection for parameters is now sorted and limited to non array and non composite types. eelke 2017-02-20 06:44:15 +01:00
  • dd19077281 Useless message about unsaved files disabled (it closed the window whatever your response). eelke 2017-02-20 06:43:33 +01:00
  • afa80a1125 List of databases shows owner name instead of oid. eelke 2017-02-19 17:41:05 +01:00
  • 874ca664b8 Beter handling of new vs existing files. eelke 2017-02-19 17:40:43 +01:00
  • 4adb78a84e Improved question an error handling when closing and saving query. eelke 2017-02-19 14:46:01 +01:00
  • f5046fbd68 Fix crash when clicking close button with no tabs open. eelke 2017-02-19 14:45:37 +01:00
  • 161de60eb1 Result::tuplesAffected now checks for empty string to prevent triggering slow exception handling. eelke 2017-02-19 14:07:58 +01:00
  • 3af26d915e Can use the parameter list in the query window now. eelke 2017-02-19 11:12:43 +01:00
  • aefc9eb7ba Reenabled support for older windows versions. eelke 2017-02-19 07:21:46 +01:00
  • 2d962334da Added list of databases and roles. eelke 2017-02-18 12:05:48 +01:00
  • 8c077b3d5f Support for explain containing single runtime instead of planning and execution time. eelke 2017-02-18 12:03:52 +01:00
  • 3dff4dade8 Program has an icon now. eelke 2017-02-13 19:51:57 +01:00
  • 14891aa892 Make exe compatible with Windows XP. eelke 2017-02-13 19:51:45 +01:00
  • 612b524151 ServerWindow shows list of databases. eelke 2017-02-13 19:51:19 +01:00
  • e71ef2e6df More case fixes of filenames. eelke 2017-02-12 15:51:36 +01:00
  • 20af12535e The catalogue now loads the list of databases en there is a table model that can show this data. eelke 2017-02-12 14:03:42 +01:00
  • a9430bca1a Case adjustment of several files. eelke 2017-02-12 08:22:08 +01:00
  • 2f95c2f096 Started on window for managing the server. eelke 2017-02-12 08:13:38 +01:00
  • f51105bde0 megamove eelke 2017-02-11 08:08:50 +01:00
  • c2e201f813 Seperated the lexer from the syntax highlighter for automated testing. eelke 2017-02-11 08:03:10 +01:00
  • 254cc82116 Reorder a couple of statements. eelke 2017-02-10 21:01:09 +01:00
  • 8ea0cd8285 Improved parser for syntax highlighting. Also added even more keywords (all from appendix C of the postgresql docs are included now) eelke 2017-02-09 21:54:31 +01:00
  • 8026b5b0fa Added a bunch of SQL keywords to the syntax highlighter. eelke 2017-02-09 18:27:17 +01:00
  • 37e8882a3c New syntax highlighter not complete. Eelke Klein 2017-02-07 21:39:45 +01:00
  • 4364f427bf file rename Eelke Klein 2017-02-06 21:41:45 +01:00
  • 073c62048f Added export of data in CSV format. Eelke Klein 2017-02-05 13:35:41 +01:00
  • df866d7b67 Copy as C string added. Eelke Klein 2017-02-05 08:23:06 +01:00
  • 4a2c6cc396 Miscellaneous changes. Including a copy action. Eelke Klein 2017-02-04 11:55:49 +01:00
  • 242f5464df Added generic copySelectionToClipboard function that takes the selection of a model based tableview and copies the data as CSV to the clipoard. Eelke Klein 2017-02-04 11:54:18 +01:00