Irina Truong
a7650887bf
Releasing version 2.0.2
2019-01-02 16:31:52 -08:00
Irina Truong
b3bf7ec188
Changelog update for bugfix release. ( #984 )
2019-01-02 16:31:05 -08:00
Irina Truong
0cae7e2036
Remove some functions completions ( #982 )
...
Remove extension and private functions from completer.
2019-01-02 16:15:59 -08:00
Amjith Ramanujam
2a1de91292
Merge pull request #983 from dbcli/j-bennet/threaded-completer
...
Wrap pgcli completer into ThreadedCompleter.
2018-12-27 17:36:58 -08:00
Irina Truong
f7303f6988
pep8.
2018-12-27 15:56:22 -08:00
Irina Truong
dfdac52b4d
Wrap pgcli completer into ThreadedCompleter.
2018-12-27 15:55:56 -08:00
Irina Truong
d2aa094134
bump pgspecial req. ( #981 )
2018-12-20 11:33:36 -08:00
Amjith Ramanujam
9494ef7050
Merge pull request #977 from dbcli/j-bennet/execution-time
...
Time execution separately.
2018-12-07 10:39:07 -08:00
Irina Truong
b634656c21
pep8.
2018-12-03 09:01:32 -08:00
Irina Truong
679d7939bb
Time execution separately.
2018-12-01 18:23:50 -08:00
igncampa
7b03f8e204
allow passing -u flag (lowercase) to specify username ( #975 )
...
* added -u flag
2018-11-30 15:21:12 -08:00
Amjith Ramanujam
3b9041fe36
Fix special commands ( #973 )
...
* Add tests for special commands completion.
2018-11-27 07:49:54 -08:00
Irina Truong
ca2d96825b
Releasing version 2.0.1
2018-11-18 20:26:21 -08:00
Irina Truong
580ff415c8
going to release. ( #972 )
2018-11-18 20:16:29 -08:00
Amjith Ramanujam
25a66ecfb3
Fix the StopIteration issue in Python 3.7 ( #971 )
...
* Fix the StopIteration issue in Python 3.7
2018-11-18 20:11:15 -08:00
Amjith Ramanujam
923f2d6441
Enable suspend using C-Z. ( #970 )
...
* Enable suspend using C-Z.
* Update changelog.
2018-11-17 19:41:34 -08:00
Amjith Ramanujam
945461bfa2
Merge branch 'master' into tab-on-line-start
2018-11-17 19:34:36 -08:00
Amjith Ramanujam
0f0be9deab
Merge pull request #962 from DanEEStar/bugfix/named-queries-from-config
...
Bugfix for #938 : load named queries from provided config file
2018-11-17 11:26:05 -08:00
Amjith Ramanujam
ec18ff0141
Merge branch 'master' into bugfix/named-queries-from-config
2018-11-17 11:25:20 -08:00
Amjith Ramanujam
462443a2d1
Merge pull request #961 from DanEEStar/feature/dbname-username-options
...
Refactor dbname and username options/arguments to match `psql`-behaviour
2018-11-17 11:15:13 -08:00
igncampa
819f66e5b5
Contrib guide improv ( #946 )
...
improved DEVELOP docs
2018-11-13 14:01:47 -08:00
Dick Marinus
94475e6283
Require prompt_toolkit>=2.0.6.
2018-11-11 13:42:33 -08:00
Daniel Egger
b92743368b
Bugfix for #938 : load named queries from provided config file
2018-10-31 18:46:04 +01:00
Daniel Egger
f71a70fc93
Refactor dbname and username options/arguments to match `psql`-behaviour
2018-10-30 23:25:22 +01:00
Irina Truong
589c2abdfb
Missed changelog update. ( #960 )
2018-10-30 07:41:38 -07:00
DanEEStar
abb801e4af
Set default port in `get_prompt` when none is given, fixes #958 ( #959 )
2018-10-30 07:28:28 -07:00
Dick Marinus
12ad10f697
Clean up and add behave logging ( #956 )
2018-10-14 13:53:19 -07:00
Irina Truong
fcf0eb022e
Fix for pgcli --list. ( #952 )
...
Fix for pgcli --list
2018-10-02 17:10:43 -07:00
Artur Balabanov
f897ea466e
Merge branch 'master' into tab-on-line-start
2018-10-01 10:25:13 +01:00
Irina Truong
ec5131e1da
Releasing version 2.0.0
2018-09-29 02:51:58 +00:00
Amjith Ramanujam
8428e3fff1
Merge pull request #948 from dbcli/j-bennet/release-2.0.0
...
Changelog update to release 2.0.0.
2018-09-28 15:57:45 -07:00
Irina Truong
029a1be016
Changelog update to release 2.0.0.
2018-09-28 14:25:54 -07:00
Irina Truong
392491a74d
Cherry-picked prompt-toolkit 2.0 changes. ( #930 )
...
* Cherry-picked prompt-toolkit 2.0 changes.
* Increase help timeout.
* Missed one.
* Fixes editor command.
* Expect exact to fix named query error.
* Unicode is non-optional with ptk 2.0.
* Unicode literals all the things (almost).
* PEP8.
* Change how we swap completers.
* By default, bottom toolbar styles are reversed. We don't want that.
* Adapt styles to 2.0.
* The future is now. Switch to ptk 2.0 style names.
* PEP8.
* Flag for enable_open_in_editor.
* add class:prompt to prompt
* Removed workaround for #668 . Some renaming.
* use pgcli.completer instead of app.current_buffer.completer
* enable_system_prompt=True like old prompt toolkit
* keep search_ignore_case enabled (was ignore_case)
* fix closing parenthese
* keep marking class:continuation token for continuation
* capture KeyboardInterrupt manually
AbortAction has been removed in Prompt_toolkit 2.0
* replace C-J with enter, add more comments
* reversed ([...]) to [(...)] (oops)
* pep8 fixes
* Does Vi mode have to be applied to session every time?
* (workaround) also enable vi_mode after edit command
* Fixed test errors after rebasing on master.
2018-09-28 14:18:40 -07:00
Irina Truong
d3bdb891d3
Releasing version 1.11.0
2018-09-24 16:25:12 -07:00
Irina Truong
a93ef6f769
Merge pull request #944 from dbcli/j-bennet/release-1.11.0
...
Changelog update to release 1.11.0.
2018-09-24 16:24:14 -07:00
Irina Truong
dfe700edea
Changelog update to release 1.11.0.
2018-09-24 16:23:26 -07:00
Irina Truong
364ee6c33d
Merge pull request #871 from maxrothman/master
...
Respect \pset pager on expected behavior
2018-09-23 14:34:58 -07:00
Max Rothman
172c9cd271
Respect \pset pager on expected behavior
...
"\pset pager" has three possible values: "always", "on", and "off".
pgcli previously treated all non-"off" values as "always". This change
implements the expected behavior, which is to use the pager when the
output is larger than the terminal height (See \pset pager in
https://www.postgresql.org/docs/9.2/static/app-psql.html ). Pgcli adds to
this by also using the pager when the output is wider than the terminal
width.
Fixes #813
2018-09-23 17:02:08 -04:00
Irina Truong
381869b727
Merge pull request #942 from dbcli/j-bennet/testing-experiments
...
Revert abs imports in tests.
2018-09-22 15:42:45 -07:00
Irina Truong
741a325953
pep8
2018-09-22 22:34:00 +00:00
Irina Truong
e6e26d558f
Revert abs imports in tests.
2018-09-22 22:19:25 +00:00
Irina Truong
7889b2838f
Merge pull request #941 from dbcli/j-bennet/testing-fixes
...
Attempt to fix failing tests
2018-09-21 21:38:40 -07:00
Irina Truong
7f2d83183e
pep8
2018-09-22 04:28:13 +00:00
Irina Truong
683487a873
Attempt to fix failing tests. Add some debug info. Make imports py3-compatible.
2018-09-22 04:03:11 +00:00
Artur Balabanov
7602998c81
On the first line only autocomplete is always triggered, regardless of whether it's empty or not
2018-07-29 09:38:23 +01:00
Artur Balabanov
77170407ad
Access the current line directly from the Document instance instead of calculating it manually
2018-07-29 09:35:15 +01:00
Irina Truong
5834259535
Releasing version 1.10.3
2018-07-27 12:06:53 -07:00
Irina Truong
1ddeaf012b
Merge pull request #929 from dbcli/j-bennet/release-1.10.3
...
Let's release more bugfixes.
2018-07-27 12:04:18 -07:00
Irina Truong
3f52d8db96
Let's release more bugfixes.
2018-07-27 12:03:12 -07:00
Irina Truong
e7121e7acd
Merge pull request #926 from dbcli/j-bennet/bump-pgspecial
...
Bump pgspecial
2018-07-27 10:31:11 -07:00