pgLab/pglablib
eelke 48ac8c6bab Improved generation of c/cpp string from query
Extra lines before and after query are removed. Whitespace at end of line
is removed. SQL comments are converted to cpp style comments and are outside
the string literal.

To achieve this the function now uses the SQLLexer to know what is comment.
This also required the additional capability in the lexer to also return whitespace and newline tokens.
Also a few bugs in the lexer were fixed.
2019-08-19 13:52:23 +02:00
..
catalog Don't read relhasoids on version 12. Also don't try to select data we are not allowed to read. 2019-08-10 18:12:26 +02:00
codebuilder Reorganize files in pglablib 2018-12-16 11:31:33 +01:00
model Added CollationModel + factory for editing and added to EditTableWidget 2018-12-16 11:35:39 +01:00
AbstractEditorFactory.h Added capability to create editors from an editor factory to PgLabItemDelegate 2018-12-15 12:11:23 +01:00
AbstractModelFactory.h SelectionEditorFactory for creating combobox selections for use in QTableView. 2018-12-15 15:28:33 +01:00
ASyncDBConnection.cpp Added getResultNoThrow as the AsyncDBCOnnection doesn't like exceptions. 2018-12-23 12:39:53 +01:00
ASyncDBConnection.h Double clicking a table now opens a CRUD page for that table however data cannot be changed yet thought it will display an editbox. 2018-01-09 20:39:43 +01:00
ConnectionConfig.cpp Passwords are now saved in a password manager. 2018-11-08 21:50:49 +01:00
ConnectionConfig.h Passwords are now saved in a password manager. 2018-11-08 21:50:49 +01:00
FormatToStream.cpp Put the FormatToStream function in its own compilation unit as it might 2018-09-17 15:43:26 +02:00
FormatToStream.h Put the FormatToStream function in its own compilation unit as it might 2018-09-17 15:43:26 +02:00
ParamListJson.cpp Introduced new library for pglab code which I want to unit test. 2017-12-13 18:04:10 +01:00
ParamListJson.h Introduced new library for pglab code which I want to unit test. 2017-12-13 18:04:10 +01:00
ParamListModel.cpp Double clicking a table now opens a CRUD page for that table however data cannot be changed yet thought it will display an editbox. 2018-01-09 20:39:43 +01:00
ParamListModel.h Introduced new library for pglab code which I want to unit test. 2017-12-13 18:04:10 +01:00
Pglablib.cpp Introduced new library for pglab code which I want to unit test. 2017-12-13 18:04:10 +01:00
Pglablib.h Introduced new library for pglab code which I want to unit test. 2017-12-13 18:04:10 +01:00
pglablib.pro More projects fixes. 2019-03-27 18:50:58 +01:00
QueryGenerator.cpp Reorganize files in pglablib 2018-12-16 11:31:33 +01:00
QueryGenerator.h Basic support for update in Crud implementation, error reporting and transfering data to modified set is still missing. 2018-02-05 21:42:54 +01:00
SelectionEditorFactory.cpp Added CollationModel + factory for editing and added to EditTableWidget 2018-12-16 11:35:39 +01:00
SelectionEditorFactory.h SelectionEditorFactory for creating combobox selections for use in QTableView. 2018-12-15 15:28:33 +01:00
SqlFormattingUtils.cpp PgServerObject now contains a list of acl's for the object so all the different objects 2018-12-24 07:51:27 +01:00
SqlFormattingUtils.h WIP: SQL for creating table and related objects 2018-11-30 18:41:38 +01:00
util.cpp Improved generation of c/cpp string from query 2019-08-19 13:52:23 +02:00
util.h Added paste lang option for pasting programming code. 2019-08-19 11:38:04 +02:00