Dave Pearson
39b23e1f51
WIP: Starting work on adding before/after mount directions
...
This is still a work-in-progress, but this feels like a good point to commit
for safe keeping. This is a non-working WIP.
2022-11-01 17:01:56 +00:00
Dave Pearson
cee69fbc32
Add an _index method to NodeList
...
This maps on to a normal List.index.
2022-11-01 10:55:15 +00:00
Dave Pearson
294166cfec
Add unit tests for the NodeList class
2022-11-01 09:58:32 +00:00
Dave Pearson
3f3ba3279a
Merge pull request #1086 from davep/drop-prenamed-mount
...
Drop support for anonymous vs named widget mounting
2022-11-01 09:50:01 +00:00
Dave Pearson
637732ee59
Merge branch 'main' into drop-prenamed-mount
2022-11-01 09:36:19 +00:00
Will McGugan
ced2a95933
Merge pull request #1082 from Textualize/size-micro-op
...
optimization
2022-11-01 09:35:33 +00:00
Will McGugan
6abedf5d03
Merge pull request #1080 from Textualize/watcher_init
...
added init option
2022-11-01 09:35:10 +00:00
Dave Pearson
9e99f7a2c7
Drop support for anonymous vs named widget mounting
...
In the past App.mount and Widget.mount allowed you to do something like
this:
self.mount( Static("A"), Static("B"), c=Static("C"), d=Static("D") )
which would result in two widgets being mounted with no ID, and two widgets
being mounted with assigned IDs, taken from the name of the keyword
argument. It's been decided that this is unnecessary, especially given that
the above can still be done (after this commit) like this:
self.mount( Static("A"), Static("B"), Static("C", id="c"), Static("D", id="d") )
2022-11-01 09:13:29 +00:00
Will McGugan
20e5136769
optimization
2022-10-31 22:15:13 +00:00
Will McGugan
8e69f6a822
updated changelog
2022-10-31 21:23:03 +00:00
Will McGugan
0c4e0131e7
added init option
2022-10-31 21:14:40 +00:00
Will McGugan
fcfd02aca2
changelog
v0.3.0
2022-10-31 15:57:18 +00:00
Will McGugan
b4c51e9e79
Merge pull request #1078 from Textualize/bump0.3.0
...
Bump0.3.0
2022-10-31 15:55:31 +00:00
Will McGugan
40d198b27a
update meta
2022-10-31 15:45:45 +00:00
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