369 Commits

Author SHA1 Message Date
Will McGugan
ea089d5ae1 bump 2025-10-11 11:44:40 +01:00
Will McGugan
def653b8bd Merge branch 'main' into build-update-supported-python-versions 2025-10-11 11:41:43 +01:00
Will McGugan
b63d6d3970 version bump 2025-10-01 15:55:16 +01:00
Will McGugan
1223d3fdf9 version bump 2025-09-30 15:12:01 +01:00
TomJGooding
d56cd79f8c chore: add Python 3.14 to pyproject.toml classifiers 2025-09-17 16:23:49 +01:00
TomJGooding
d7fde76368 build!: drop support for Python 3.8 2025-09-16 23:25:33 +01:00
Will McGugan
d95ea4b186 bump to 6.1.0 2025-09-02 12:37:00 +01:00
Will McGugan
bd2a2500b6 bump 2025-08-31 17:12:50 +01:00
Will McGugan
95a17786c3 bump to 5.3.0 2025-08-07 13:32:57 +01:00
Will McGugan
6f7345c24f bump 2025-08-01 19:39:06 +01:00
Will McGugan
39fe2723da bump 2025-07-31 19:48:39 +01:00
Will McGugan
20b855a027 snapshot 2025-07-31 08:14:20 +01:00
Will McGugan
a8de8107e3 bump 2025-07-25 20:17:37 +01:00
Will McGugan
9095853c36 bump 2025-07-25 08:46:15 +01:00
Will McGugan
d5bdacadc3 bump 2025-07-25 08:39:12 +01:00
TomJGooding
cc61b23ea8 fix: bump tree-sitter to v0.25.0
Bump tree-sitter to v0.25.0 and fix breaking change where
`Query.captures` has been moved to `QueryCursor.captures`.

NB: tree-sitter dropped support for Python 3.9 back in v0.24.0, so
syntax highlighting in Textual will now require Python >=3.10.

Fixes #5976
2025-07-21 11:09:01 +01:00
Will McGugan
4659ee9394 add api docs 2025-07-16 17:58:56 +01:00
Will McGugan
1120b5852f Bump 2025-07-12 10:38:14 +01:00
Will McGugan
748548c815 bump 2025-07-09 09:25:02 +01:00
Will McGugan
171ddef1f1 bump 2025-07-07 21:53:28 +01:00
Will McGugan
783ac46610 version bump 2025-07-06 08:55:17 +01:00
Will McGugan
166f0ec9ee version bump 2025-06-20 15:38:03 +01:00
Will McGugan
e16f5928ce fix extras 2025-06-16 15:22:24 +01:00
Will McGugan
beea1e8c3c bump to 3.4.0 2025-06-14 16:40:05 +01:00
Will McGugan
ec4c123f99 version bump 2025-06-01 14:59:50 +01:00
Will McGugan
394b32e8fb version bump 2025-05-02 11:42:31 +01:00
Will McGugan
57e1e0d1d2 version bump 2025-04-22 09:11:19 +01:00
Will McGugan
dc89be9565 version bump 2025-04-12 08:57:24 +01:00
Will McGugan
d1c5be85e0 changelog, bump 2025-04-01 14:30:56 +01:00
Will McGugan
a0a8a8c6b4 bump to 3 2025-03-27 14:57:28 +00:00
Will McGugan
6086b7e4d5 version bump 2025-02-26 19:00:44 +00:00
Will McGugan
c7ae7e4826 bump to 2.1.1 2025-02-22 18:38:49 +00:00
Will McGugan
e875e4c6f4 bump 2.1.0 2025-02-19 15:30:42 +00:00
Will McGugan
c5a3f76872 fix tree sitter deps 2025-02-17 18:15:59 +00:00
Will McGugan
e5897d09f3 version bump 2025-02-17 11:48:23 +00:00
Will McGugan
4f40b62fb0 fix options 2025-02-16 19:43:56 +00:00
Will McGugan
5da22f0f37 add refresh 2025-02-16 18:56:01 +00:00
Will McGugan
70486dd307 fix markup escape 2025-02-16 14:01:55 +00:00
Will McGugan
e555c86f30 bump 2025-02-16 11:01:11 +00:00
Will McGugan
74e312e1a4 bump 2024-12-11 19:22:51 +00:00
Darren Burns
3c120c0ab0 Chaining click events (double/triple click etc) (#5369)
* Add comment about Click events

* Remove unused `App._hover_effects_timer`

* Add missing annotation

* Add missing type annotation

* Add `App._click_chain_timer`

* Add support for click chaining (double click, triple click, etc.)

* Create `App.CLICK_CHAIN_TIME_THRESHOLD` for controlling click chain timing

* Some tests for chained clicks

* Test changes [no ci]

* Have Pilot send only MouseUp and MouseDown, and let Textual generate clicks itself [no ci]

* Fix DataTable click tet [no ci]

* Rename Click.count -> Click.chain

* Test fixes

* Enhance raw_click function documentation in test_app.py to clarify its purpose and behavior

* Refactor imports in events.py: remove Self from typing and import from typing_extensions

* Remove unnecessary pause in test_datatable_click_cell_cursor

* Remove debug print statements and unnecessary pause in App class; add on_mount method to LazyApp for better lifecycle management in tests

* Remove debugging prints

* Add support for double and triple clicks in testing guide

* Add a note about double and triple clicks to the docs

* Turn off formatter for a section of code, and make it 3.8 compatible

* Update changelog [no ci]

* Simplify by removing an unecessary variable in `Pilot.click`

* Remove debugging code

* Add target-version py38 to ruff config in pyproject.toml, and remove formatter comments

* Document timing of click chains

* Pilot.double_click and Pilot.triple_click
2024-12-11 16:25:42 +00:00
Will McGugan
46f60cfb96 version bump 2024-12-05 15:01:26 +00:00
Will McGugan
1399c1eaaa bump 2024-12-05 10:14:20 +00:00
Darren Burns
ca496b4f56 tree-sitter upgrade (#5320)
* Using separate language packages and update lockfile

* Fixing some but not all languages

* Theme updates

* More theme fixes

* Improving the VS Code theme

* Fixes

* Fixing CSS rendering

* Fixing SQL and JavaScript highlight queries

* Update GitHub Actions to run syntax highlighting tests on 3.13, and avoid those tests on 3.8.

* Update CHANGELOG and remove `SyntaxAwareDocument.language_name` property.

* Remove unused Kotlin language syntax highlighting snapshot

* Update CHANGELOG to note that Kotlin syntax highlighting was removed

* Bail out of TextArea.language watcher early if tree-sitter is not installed

* Skip a test on 3.8 as it relates to syntax highlighting (tree-sitter) being available
2024-12-04 10:33:58 +00:00
Will McGugan
a08fb41403 version bump 2024-11-30 17:26:48 +00:00
Will McGugan
bbacd93e84 bump 2024-11-29 10:14:38 +00:00
Will McGugan
61b54ed474 version bump 2024-11-24 20:28:26 +00:00
Will McGugan
3e99fd26e2 version bump 2024-11-24 11:51:08 +00:00
Will McGugan
9ce509f120 bump textual-dev and update snapshots 2024-11-19 15:38:24 +00:00
Will McGugan
5254e6125c version bump 2024-11-19 15:26:48 +00:00