Commit graph

  • b436814eb5 THe SqlLexer also now recognizes casts. eelke 2018-01-06 21:18:28 +01:00
  • a99f059b70 Added list of constraints to the tables page. eelke 2017-12-30 12:57:55 +01:00
  • 22db22c6b1 Removed unused DatabaseInspectorWidget (had no code only ui design) eelke 2017-12-29 10:26:51 +01:00
  • bb55ef12f3 Removed unused DatabaseWindow eelke 2017-12-29 10:24:50 +01:00
  • f4538069cb Moved several files from pglab project to pglablib eelke 2017-12-29 10:21:10 +01:00
  • 206d734ff5 Refactorings of namespace filter eelke 2017-12-29 10:10:06 +01:00
  • 590a02599d Minor fixes to the namespace filter eelke 2017-12-29 09:48:33 +01:00
  • b5254ac723 Have a working model for showing the namespaces in a tree with checkboxes. eelke 2017-12-29 08:39:08 +01:00
  • 4e1120647c Added recognition of a few more system catalogs. eelke 2017-12-29 08:37:24 +01:00
  • 3a425ab7c1 Added some parts of ctk lib. eelke 2017-12-29 08:35:57 +01:00
  • a06c752029 Misc minor changes. eelke 2017-12-28 09:20:42 +01:00
  • 36e5526f5f Some stuff I had on another machine and which might provide useful. eelke 2017-12-28 07:29:07 +01:00
  • 23e307f93a The ASyncDBConnection class uses C++ std::function callbacks now for reporting notices and state changes. eelke 2017-12-28 07:28:21 +01:00
  • 2705a3417b The MainWindow now uses a background task to load the catalog. eelke 2017-12-28 07:23:20 +01:00
  • 057e745ebe Just some comments. eelke 2017-12-26 07:34:08 +01:00
  • 091040f13f Split big function in sql lexer into several functions. eelke 2017-12-26 07:32:52 +01:00
  • 81c4449d31 cleanup of commented out code eelke 2017-12-26 07:28:18 +01:00
  • 83332842fc Removed textbox and added two combo's for filtering. eelke 2017-12-26 07:27:46 +01:00
  • 04c656323d Defined a function to get rid of linker warning eelke 2017-12-26 07:26:39 +01:00
  • 554f138d6d Made slow part of MainWindow initialization asynchronous. eelke 2017-12-25 15:33:10 +01:00
  • 6d4662aa98 Added WorkManager to manage background tasks. eelke 2017-12-25 15:32:02 +01:00
  • 190a6c04dc Made a start with showing foreignkeys in column list. eelke 2017-12-25 10:31:58 +01:00
  • a76686acfd Changed operator << for Value to explicitly call the conversion operators. eelke 2017-12-20 22:07:20 +01:00
  • 1727b0d645 Created classes for loading constraints. eelke 2017-12-20 22:01:42 +01:00
  • 8a27a1166f Show name of index in hint of column header for the index of the column tableview. eelke 2017-12-20 20:05:54 +01:00
  • 23840ce7c5 Cosmetic improvements. eelke 2017-12-19 19:55:12 +01:00
  • c324daa75b The global function for getting a typename from an oid now supports passing the typmod of a column. eelke 2017-12-19 19:33:22 +01:00
  • 6599498556 Better handling of not being able to connect to the database. eelke 2017-12-19 19:06:36 +01:00
  • a69aa401b2 Th default values of columns are now joined with the other column data and displayed in the default column of the column tableview. eelke 2017-12-19 18:57:05 +01:00
  • 8402470baa Loading of the list of indexes works for version 9.3 (and maybe before if there are no other differences) eelke 2017-12-19 18:18:21 +01:00
  • c37e9eccb8 Better error reporting of problems during catalog load. eelke 2017-12-19 18:17:41 +01:00
  • 2a29bed75e Fixed linking of botan library eelke 2017-12-19 18:17:18 +01:00
  • 3703bd9979 Resize columns in the column list. eelke 2017-12-19 18:16:25 +01:00
  • dd0e21afb5 Improved titles of index columns in the list of columns. eelke 2017-12-19 18:16:05 +01:00
  • d1114793a1 Fixed missing comman in pg_class query. eelke 2017-12-17 20:22:55 +01:00
  • 3424b62aa0 Autosize column of column overview. eelke 2017-12-17 20:05:09 +01:00
  • 7051ef2efc The oid column is now shown for tables that are "with oids". eelke 2017-12-17 19:54:23 +01:00
  • 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