pgLab/core
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
..
json Messy commit. Testing suff and some improvements to how data is shown. 2017-12-09 10:45:13 +01:00
test Builds on windows again 2017-11-26 13:07:21 +01:00
BackupFormatModel.cpp MIsc changes 2019-03-27 18:23:00 +01:00
BackupFormatModel.h MIsc changes 2019-03-27 18:23:00 +01:00
CMakeLists.txt Builds on windows again 2017-11-26 13:07:21 +01:00
ControllableTask.h Made step to remove ASyncWindow in favour of usage of Future and FutureWatcher. 2018-12-30 15:46:15 +01:00
core.pro More projects fixes. 2019-03-27 18:50:58 +01:00
CsvWriter.cpp Collection of minor code improvements. 2018-10-21 13:46:58 +02:00
CsvWriter.h Builds on windows again 2017-11-26 13:07:21 +01:00
Expected.h Just some comments. 2017-12-26 07:34:08 +01:00
ExplainTreeModelItem.cpp Corrected some usage of QueueTask that was already broken as QueueTask is defunct. 2018-12-31 15:19:16 +01:00
ExplainTreeModelItem.h Corrected some usage of QueueTask that was already broken as QueueTask is defunct. 2018-12-31 15:19:16 +01:00
IntegerRange.h Improved support from removing rows in crud tabs. 2018-12-15 11:24:58 +01:00
jsoncpp.cpp Messy commit. Testing suff and some improvements to how data is shown. 2017-12-09 10:45:13 +01:00
my_boost_assert_handler.cpp Adjusted project files for new boost version. 2018-09-18 20:24:54 +02:00
PasswordManager.cpp Passwords are now saved in a password manager. 2018-11-08 21:50:49 +01:00
PasswordManager.h Added remember option to password dialog. 2018-11-15 19:24:29 +01:00
QueuedBackgroundTask.cpp Fixed some small details the analyzer was complaining about. 2018-12-09 21:10:35 +01:00
QueuedBackgroundTask.h The MainWindow now uses a background task to load the catalog. 2017-12-28 07:23:20 +01:00
RunControllableTask.h RunControllableTask now also properly catches Exceptions and reports them through the Future. 2019-01-29 19:39:21 +01:00
ScopeGuard.h Builds on windows again 2017-11-26 13:07:21 +01:00
SqlAstExpression.cpp Fix some warning 2018-08-05 09:05:24 +02:00
SqlAstExpression.h Sketched rough parser code construction including some SQL AST classes. 2018-06-19 19:52:56 +02:00
SqlAstNode.cpp Collection of minor code improvements. 2018-10-21 13:46:58 +02:00
SqlAstNode.h Sketched rough parser code construction including some SQL AST classes. 2018-06-19 19:52:56 +02:00
SqlAstSelect.cpp Some work on parser, not used yet. 2019-01-28 20:53:10 +01:00
SqlAstSelect.h Sketched rough parser code construction including some SQL AST classes. 2018-06-19 19:52:56 +02:00
SqlAstSelectList.cpp Sketched rough parser code construction including some SQL AST classes. 2018-06-19 19:52:56 +02:00
SqlAstSelectList.h Sketched rough parser code construction including some SQL AST classes. 2018-06-19 19:52:56 +02:00
SqlAstSelectListEntry.cpp Sketched rough parser code construction including some SQL AST classes. 2018-06-19 19:52:56 +02:00
SqlAstSelectListEntry.h Sketched rough parser code construction including some SQL AST classes. 2018-06-19 19:52:56 +02:00
SqlLexer.cpp Improved generation of c/cpp string from query 2019-08-19 13:52:23 +02:00
SqlLexer.h Improved generation of c/cpp string from query 2019-08-19 13:52:23 +02:00
SqlParser.cpp Some work on parser, not used yet. 2019-01-28 20:53:10 +01:00
SqlParser.h Some work on parser, not used yet. 2019-01-28 20:53:10 +01:00
std_utils.h WIP: Added page showing list of functions. 2018-11-25 09:06:01 +01:00
TaskControl.h Made step to remove ASyncWindow in favour of usage of Future and FutureWatcher. 2018-12-30 15:46:15 +01:00
TaskExecutor.h Made step to remove ASyncWindow in favour of usage of Future and FutureWatcher. 2018-12-30 15:46:15 +01:00