summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-01-07Merge branch 'master' into main-fileAmjith Ramanujam
2020-01-07Merge pull request #1135 from BrownShibaDog/masterAmjith Ramanujam
Fix dead link of behave package.
2020-01-03Add my name to changelog.BrownShibaDog
2020-01-01Add line to AUTHORS.BrownShibaDog
2020-01-01Add lines to changelog.rst.BrownShibaDog
2019-12-31Fix dead link of behave.BrownShibaDog
2019-12-19add main file to allow python3 -m pgcli executionJonas Jelten
2019-12-08Merge pull request #1122 from TheJJ/prompt-colorsAmjith Ramanujam
support ansi escape sequences for prompt colors
2019-12-08Merge pull request #1119 from mmtj/setup-cleanupAmjith Ramanujam
setup: Simplify getting module version
2019-12-08Merge pull request #1129 from timgates42/bugfix/typo_throwsAmjith Ramanujam
Fix simple typo: thows -> throws
2019-12-05Fix simple typo: thows -> throwsTim Gates
Closes #1128
2019-12-04Add wheel to dev reqs (needed to release).Irina Truong
2019-12-04Releasing version 2.2.0v2.2.0Irina Truong
2019-12-04J bennet/release 2.2.0 (#1126)Irina Truong
* Changelog. * Bump pgspecial. * Restrict prompt_toolkit to <3.0.0.
2019-11-25support ansi escape sequences for prompt colorsJonas Jelten
2019-10-29setup: Simplify getting module versionMartin Matějek
2019-10-29Merge pull request #1118 from mmtj/logging-cleanupAmjith Ramanujam
Logging cleanup
2019-10-29run black againMartin Matějek
2019-10-29Update AUTHORSMartin Matějek
2019-10-29Fix logging-format-interpolationMartin Matějek
2019-10-29black formatingMartin Matějek
2019-10-28Merge pull request #1112 from dbcli/j-bennet/pqconninfo-1110Amjith Ramanujam
[WIP] Fix for PQconninfo not available.
2019-10-28Changelog.Irina Truong
2019-10-28Bump psycopg2 to 2.8.Irina Truong
2019-10-26Use libpq version instead of psycopg2 version.Amjith Ramanujam
2019-10-26Changelog.Irina Truong
2019-10-26Log message.Irina Truong
2019-10-25Merge pull request #1116 from dbcli/test_Amjith Ramanujam
Add a test to verify error message.
2019-10-24Merge pull request #1115 from dbcli/owst/escape_enter_disable_for_vi_modeAmjith Ramanujam
Disable escape-enter keybinding in vi mode
2019-10-23Add a test to verify error message.Amjith Ramanujam
2019-10-23Disable escape-enter keybinding in vi modeOwen Stephens
Escape then enter intended as two separate key presses is a very common sequence when using vi mode - returning to normal mode from insert mode (escape) and then submitting the query (enter). The presence of the escape-enter key binding overrides this behaviour by inserting undesirable newlines (newline is be easily inserted when in insert mode by pressing enter) or by introducing a noticable delay/lag before enter can be pressed after escape, due to prompt toolkit not being able to recognise escape immediately (since it may form part of an escape-enter sequence).
2019-10-23Fix the condition for <enter> key. (#1114)Amjith Ramanujam
* Fix the condition for <enter> key. * Improve the debug message and remove debug statement.
2019-10-19Fix for PQconninfo not available.Irina Truong
2019-10-16Merge pull request #1107 from owst/function_arg_completions_with_aliasAmjith Ramanujam
Take account of table aliases when completing function args (#1048)
2019-10-16Merge pull request #1109 from ↵Amjith Ramanujam
owst/use_keybinding_to_conditionally_force_handle_multiline_buffer Handle a multi-line query on Enter key-press (fixes #1031)
2019-10-16fixup! fixup! Take account of table aliases when completing function args ↵Owen Stephens
(#1048)
2019-10-16fixup! fixup! Handle a multi-line query on Enter key-press (fixes #1031)Owen Stephens
2019-10-13fixup! Handle a multi-line query on Enter key-press (fixes #1031)Owen Stephens
2019-10-13Handle a multi-line query on Enter key-press (fixes #1031)Owen Stephens
Use a (conditional) Enter key-binding to force-handle a multi-line buffer, rather than doing so by (conditionally) disabling the multiline mode of prompt_toolkit. This has the benefit of being more efficient (the multiline Condition filter is called very often, which (due to the repeated query parsing) causes editing to become slow with a large buffer that ends in a semicolon), clearer in intent (we want to force-handle the query, rather than (temporarily) disable multiline mode which indirectly forces the buffer to be handled) and avoids a bug in multi-line history search (issue #1031)
2019-10-12fixup! Take account of table aliases when completing function args (#1048)Owen Stephens
2019-10-12Take account of table aliases when completing function args (#1048)Owen Stephens
2019-10-01Merge pull request #1101 from ironiridis/masterAmjith Ramanujam
rm Google Group from main.py
2019-09-29rm Google Group from main.pyChristopher Harrington
2019-09-27add optional but default squash merge request to PULL_REQUEST_TEMPLATE (#1095)Dick Marinus
2019-09-02Merge pull request #1094 from dbcli/j-bennet/superuser-redundant-queryAmjith Ramanujam
Get server params, such as is_superuser and server_version, without e…
2019-09-02Changelog.Irina Truong
2019-08-28Get server params, such as is_superuser and server_version, without extra ↵Irina Truong
queries.
2019-08-23Issue 1018 display first 1k rows (#1092)Irina Truong
* Added changes to remove the prompt on >1000 rows queries * Reformatted with black * Changed comment on row_limit parameter * Added contribution to changelog and name to AUTHORS * Refactored test to reflect new functionality * Removed argument * Removed debug echo statement * Reformatted with black * Added changes to remove the prompt on >1000 rows queries * Reformatted with black * Changed comment on row_limit parameter * Added contribution to changelog and name to AUTHORS * Refactored test to reflect new functionality * Removed argument * Removed debug echo statement * Reformatted with black * Added missing issue numbers in changelog * Reformatted code using black
2019-07-29Add key bindings to consistently move up and down in history (#1084)Pedro Ferrari
2019-07-12Issue 1019 stacktrace on empty query (#1078)Sebastian Janko
* Added changes to skip empty queries Empty queries consist of one or more semicolons * Reformatted with black * Added contribution to changelog and name to AUTHORS * Black.