Eelke Klein
cb0ef0b130
Removed obsolete SqlHighlighter the newer SqlSyntaxHighlighter is much better and faster.
...
Also removed the never completed sqlparser.
2017-08-26 14:58:01 +02:00
Eelke Klein
f7cf93bb9a
Moved lowlevel postgresql wrappers to seperate folder and static lib.
2017-08-26 14:50:36 +02:00
Eelke Klein
869d867191
Removed duplicates with old name adjusted includes to match new header name.
2017-08-26 11:48:47 +02:00
Eelke Klein
243f1c0a42
Renamed PgsqlDatabaseCatalogue to PgDatabaseCatalogue so name is consistend
...
with other related classes.
2017-08-26 11:44:40 +02:00
Eelke Klein
52442a145d
Cleanup, removed commented out code, removed two units specific to windows which were not needed anymore
...
because we are using boost::asio now.
2017-08-25 08:45:54 +02:00
Eelke Klein
03f1c55f0b
Added the kdeveloper files
2017-08-25 08:38:07 +02:00
Eelke Klein
16676aa910
Cancel functionality works again.
...
Also async operations are now cancelled when the dbconnection is closed and if needed also a cancel is
send before closing the connection.
2017-08-25 08:37:18 +02:00
Eelke Klein
f11f9545ac
ASyncDBConnection is now based of boost::asio instead of using it's own thread.
...
connection: tested OK
querying: tested OK
notices: should be working
cancel: todo
2017-08-24 21:12:32 +02:00
Eelke Klein
4beea05ba6
Adding in boost::asio support
...
main starts a thread that keep a global io_service object
running and makes sure it is stopped when everything else is
stopped.
2017-08-24 19:45:00 +02:00
Eelke Klein
a6755c20f2
Splitter between sql and parameters.
2017-08-24 19:43:17 +02:00
Eelke Klein
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.
2017-08-23 17:41:10 +02:00
Eelke Klein
c3d604e7b4
Resources (icons on buttons) are compiled and linked
2017-08-23 13:42:01 +02:00
Eelke Klein
6a97c0447a
Compiles, links and runs (functionality not tested)
2017-08-23 13:27:23 +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
eelke
c2e201f813
Seperated the lexer from the syntax highlighter for automated testing.
2017-02-11 08:03:10 +01:00
eelke
254cc82116
Reorder a couple of statements.
2017-02-10 21:01:09 +01:00
eelke
8ea0cd8285
Improved parser for syntax highlighting. Also added even more keywords (all from appendix C of the postgresql docs are included now)
2017-02-09 21:54:31 +01:00
eelke
8026b5b0fa
Added a bunch of SQL keywords to the syntax highlighter.
2017-02-09 18:27:17 +01:00
Eelke Klein
37e8882a3c
New syntax highlighter not complete.
...
- Supports comments
- more efficient as it scans the text block instead of repeatedly searching throught the whole block
- type matching based on catalog (but need to add aliases manually)
- added many keywords
todo:
- heap corruption bug
- symbol stops at special char like parenthese or operator or something similar.
2017-02-07 21:39:45 +01:00
Eelke Klein
4364f427bf
file rename
2017-02-06 21:41:45 +01:00
Eelke Klein
073c62048f
Added export of data in CSV format.
2017-02-05 13:35:41 +01:00
Eelke Klein
df866d7b67
Copy as C string added.
2017-02-05 08:23:06 +01:00
Eelke Klein
4a2c6cc396
Miscellaneous changes. Including a copy action.
2017-02-04 11:55:49 +01:00
Eelke Klein
242f5464df
Added generic copySelectionToClipboard function that takes the selection
...
of a model based tableview and copies the data as CSV to the clipoard.
2017-02-04 11:54:18 +01:00
Eelke Klein
798f8f51b9
Completed the implementation of the CsvWriter for use with Copy and Export.
2017-02-04 11:53:20 +01:00
Eelke Klein
7a22b4cbea
Added Params class for passing query parameters seperatly from the query string.
2017-02-04 11:52:42 +01:00
Eelke Klein
468779ba38
Fixed some warnings (left some because they need more attention)
2017-02-02 07:22:54 +01:00