Commit Graph

2972 Commits

Author SHA1 Message Date
Will McGugan
ec96332ae7 update version in pyproject 2022-10-31 15:42:26 +00:00
Will McGugan
666bf62feb Merge branch 'main' into bump0.3.0 2022-10-31 15:40:41 +00:00
Will McGugan
e83f88e871 changelog 2022-10-31 15:39:57 +00:00
Will McGugan
7bf81b7766 Merge pull request #1077 from davep/bug/1047/id-case-redux
Change DOM queries to be case-sensitive for classes and IDs
2022-10-31 15:38:20 +00:00
Dave Pearson
457340777b Change DOM queries to be case-sensitive for classes and IDs
See #1041 and #1047.
2022-10-31 15:25:22 +00:00
Will McGugan
6a8a678ce2 changelog 2022-10-31 15:10:56 +00:00
Will McGugan
af7cb9004e Merge pull request #1074 from Textualize/input-align
Input align force left
2022-10-31 15:02:28 +00:00
Will McGugan
b4d87c73a5 Merge branch 'main' into input-align 2022-10-31 15:02:21 +00:00
Will McGugan
96be1ea4bd Merge pull request #1075 from Textualize/footer-fix
update changelog
2022-10-31 14:47:26 +00:00
Will McGugan
67fcbde8cd Merge branch 'main' into footer-fix 2022-10-31 14:46:59 +00:00
Darren Burns
5299477bfa Update changelog 2022-10-31 14:44:24 +00:00
Darren Burns
398d18f7ad Force justify left on text input 2022-10-31 14:40:33 +00:00
Darren Burns
803ad940fd Remove unused import 2022-10-31 14:26:17 +00:00
Will McGugan
b274894dbc remove sandbox 2022-10-31 14:24:20 +00:00
Will McGugan
d72cb51968 Merge pull request #1071 from davep/davep-changelog
Update the ChangeLog with some recent changes/fixes
2022-10-31 14:13:59 +00:00
Will McGugan
8874a5f3b4 Merge pull request #1068 from Textualize/fix-texlog-maxlines
fix issue with maxlines and textlog
2022-10-31 14:13:08 +00:00
Will McGugan
d37c5ed3da test fix for windows 2022-10-31 13:53:45 +00:00
Dave Pearson
8f38275256 Update the ChangeLog with some recent changes/fixes 2022-10-31 13:51:48 +00:00
Will McGugan
41e2b71dcc update changelog 2022-10-31 13:46:28 +00:00
Will McGugan
586ff470c5 Merge branch 'main' into fix-texlog-maxlines 2022-10-31 13:38:55 +00:00
Will McGugan
0d99b0ccd1 Merge pull request #1067 from Textualize/fr-unit
Fr unit
2022-10-31 13:37:00 +00:00
Will McGugan
881a9c2752 Merge pull request #1061 from Textualize/horizontal-fix
allow waiting of screen operations
2022-10-31 13:36:46 +00:00
Will McGugan
c0c03e8d99 Merge pull request #1039 from Textualize/unmount
unmount event
2022-10-31 13:36:30 +00:00
Will McGugan
07dced3435 Update tests/test_unmount.py
Co-authored-by: darrenburns <darrenburns@users.noreply.github.com>
2022-10-31 13:31:10 +00:00
Will McGugan
5cb5dd8599 Merge branch 'main' into unmount 2022-10-31 13:30:58 +00:00
Will McGugan
4bce8317c7 Update src/textual/app.py
Co-authored-by: darrenburns <darrenburns@users.noreply.github.com>
2022-10-31 13:28:57 +00:00
Will McGugan
7b31f63202 Merge pull request #1016 from Textualize/python311
Add Python 3.11 to CI, update install-poetry action
2022-10-31 13:23:12 +00:00
Dave Pearson
dcf1784676 Merge pull request #1017 from UriyaHarpeness/feature/fix-some-inaccuracies-in-the-tutorial
Fix some inaccuracies in the tutorial.
2022-10-31 13:11:02 +00:00
Will McGugan
8c7bc0aca5 Merge pull request #1069 from Textualize/bump-dependencies
relax dependencies
2022-10-31 13:06:05 +00:00
Will McGugan
40a205f5d0 Merge pull request #1014 from Textualize/reactive-always-update
Reactive `always_update`
2022-10-31 13:05:35 +00:00
Darren Burns
47c5a22b31 Docs change, as per code review request 2022-10-31 12:43:30 +00:00
Dave Pearson
aac9d874b4 Merge pull request #1070 from davep/monkey-patch-argv
Change the way that `textual run` does the argv monkey-patch
2022-10-31 12:14:15 +00:00
Dave Pearson
c391681b3d Ensure we patch the same instance of argv 2022-10-31 12:03:32 +00:00
Will McGugan
acda0fa8af update snok install poetry 2022-10-31 11:45:01 +00:00
Dave Pearson
26f31cfbe6 Change the way that textual run does the argv monkey-patch
A `textual run` already made an attempt to monkey-patch `argv` so that the
application being run would not see an `argv` any differently to how it
would if it had been run "vanilla". However, it could be caught out by code
like:

    from sys import argv

    ...

    do_something_with( argv )

beforehand it was okay with:

    import sys

    ...

    do_something_with( sys.argv )

With this change it should work both ways.

Somewhat related to #1064.
2022-10-31 11:45:01 +00:00
Will McGugan
02c947985e bump poetry 2022-10-31 11:43:24 +00:00
Will McGugan
fab60894b6 relax dependencies 2022-10-31 11:30:55 +00:00
Will McGugan
ff21a51689 rename var 2022-10-31 11:05:31 +00:00
Will McGugan
9b9d58f716 fix issue with maxlines and textlog 2022-10-31 11:03:34 +00:00
Will McGugan
c705752352 38 fix 2022-10-31 10:22:31 +00:00
Will McGugan
2e98c21343 Merge pull request #1066 from davep/cosmetic/1060/app-title
Keep the app title in the middle of the screen, regardless of clock state
2022-10-31 10:20:50 +00:00
Will McGugan
0a02324309 renamed test 2022-10-31 10:18:09 +00:00
Will McGugan
c4ad6b93fd docstrings 2022-10-31 10:11:24 +00:00
Will McGugan
4524e6dd30 Refactor of fr units 2022-10-31 10:09:08 +00:00
Dave Pearson
ec44edf19c Remove vestigial test code
While trying a couple of approaches to fixing #1060 I experimented with
using layers, but forgot to roll back that code.
2022-10-31 10:06:39 +00:00
Dave Pearson
6bdeba894c Update header-related snapshot
The underlying snapshot is different in content, but not in effect, which is
by design. See #1060.
2022-10-31 10:00:45 +00:00
Dave Pearson
8946421b3a Ensure the app title is in the centre of the terminal
While the app title is always centred, there was an issue where the clock
being visible or invisible would throw off this centralisation. This
addresses that by keeping the space used by the clock, but simply not
showing the clock.

See #1060.
2022-10-31 09:55:39 +00:00
Will McGugan
170be7eb2a allow waiting of screen operations 2022-10-30 15:24:48 +00:00
Will McGugan
cfd5d532dd test for unmount 2022-10-30 08:43:23 +00:00
Will McGugan
02658dedd2 remove delay 2022-10-29 21:32:20 +01:00