Commit Graph

348 Commits

Author SHA1 Message Date
Jean-Christophe Amiel
e15dba8128
Move Input to hurl_core and use Input in hurlfmt. 2024-07-10 17:05:31 +02:00
Jean-Christophe Amiel
690c2c7852
Sort import. 2024-07-08 12:21:23 +02:00
Jean-Christophe Amiel
1cdc491867
Unify Retry and Repeat types with Count. 2024-07-06 23:02:51 +02:00
Jean-Christophe Amiel
25d6716145
Improve coverage on options section. 2024-07-06 21:52:41 +02:00
Fabrice Reix
6913ce92e2
Display text body assert errors as diff 2024-07-05 08:52:02 +02:00
Jean-Christophe Amiel
decac0a685
Remove some unncessary clones. 2024-07-03 16:32:02 +02:00
Jean-Christophe Amiel
fb96eb3163
Use slice in any_char function param. 2024-07-02 10:00:31 +02:00
Jean-Christophe Amiel
b484ef8125
Some cosmetic changes on Reader. 2024-07-01 16:52:20 +02:00
Jean-Christophe Amiel
76b45a1ed1
Make Reader fields private. 2024-07-01 16:17:32 +02:00
Jean-Christophe Amiel
e7a6544494
Implement Reader::with_pos constructor. 2024-07-01 14:35:43 +02:00
Jean-Christophe Amiel
032a686422
Rename state: ReaderState to cursor: Cursor on reader.
There is no code change, only automatic refacto.
2024-07-01 13:54:55 +02:00
Jean-Christophe Amiel
42879603e2
Add reader test unit. 2024-07-01 13:54:55 +02:00
Fabrice Reix
89f7313ce6
Rename OutputFormat Variant to Plain 2024-07-01 13:13:56 +02:00
Jean-Christophe Amiel
8554f74bdd
Extract combinator from Hurl parser and use generic for Error. 2024-07-01 11:50:27 +02:00
Fabrice Reix
c49a89dd07
Move error_string to DisplaySourceError to_string 2024-06-30 08:42:55 +00:00
Jean-Christophe Amiel
b9342678a0
Delete unused Reader method. 2024-06-28 17:03:08 +02:00
Jean-Christophe Amiel
345e98c72c
Move hurl_core::ast::Pos to hurl_core::reader::Pos 2024-06-28 16:47:06 +02:00
Jean-Christophe Amiel
7743be6d0a
Move typing module. 2024-06-28 15:51:09 +02:00
Jean-Christophe Amiel
e8355a7e1d
Extract reader from parser module. 2024-06-28 12:50:56 +02:00
Fabrice Reix
37d836388c
Fix empty JSON key parsing 2024-06-24 21:51:59 +02:00
Jean-Christophe Amiel
6546d11cf8
Add wrap method on StyleString to limit maximum width of lines. 2024-06-24 09:09:16 +02:00
Fabrice Reix
ef2a85d7e7
Use different error string output for Terminal and JSON 2024-06-21 12:53:13 +00:00
Fabrice Reix
9054a3434e
Include line number prefix in DisplaySourceError message 2024-06-21 12:53:12 +00:00
Jean-Christophe Amiel
c2f4514a24
Add repeat option per request 2024-06-19 22:22:00 +02:00
Jean-Christophe Amiel
dc6be76339
Move Repeat to core types. 2024-06-19 16:48:19 +02:00
Jean-Christophe Amiel
bde10d3102
Move Retry to core types. 2024-06-19 16:28:39 +02:00
Fabrice Reix
e67ffc0f88
Move message function to DisplaySourceError trait 2024-06-18 13:55:11 +00:00
hurl-bot
1ffd708e5b
Update crates 2024-06-10 03:01:49 +00:00
Fabrice Reix
4a4a172cf3
Update push to update last token if possible 2024-06-05 11:39:50 +00:00
Fabrice Reix
fb6379a8ba
Update fixme to return a StyledString 2024-06-04 14:50:43 +00:00
Fabrice Reix
d785fe06cf
Remove lifetime from StyledString struct 2024-06-03 20:57:54 +02:00
Fabrice Reix
1831f4eb4d
Add append and split methods to StyledString 2024-06-01 10:02:40 +02:00
Jean-Christophe Amiel
efbc41bf1b
USe StyledText in logger instead of colored::* 2024-05-31 18:06:59 +02:00
Fabrice Reix
b35fd1bdc0
Refacto RichText to StyledText 2024-05-31 15:28:04 +00:00
Jean-Christophe Amiel
085e67b7e9
Add more colors to RichText 2024-05-31 13:03:01 +02:00
Jean-Christophe Amiel
492ea25fee
Implementaion of builder method bold.
Note: bold method doesn't create a new token, it modifies the last token.
2024-05-31 09:16:05 +00:00
Fabrice Reix
165077ed21
Add RichText type 2024-05-30 15:47:15 +02:00
Fabrice Reix
851960b354
Move error_string function to core 2024-05-22 14:38:05 +02:00
Jean-Christophe Amiel
81129ee818
Rename inner variable to kind. 2024-05-15 22:10:40 +02:00
Fabrice Reix
954000f3ef
Rename ParseError 2024-05-15 15:08:08 +02:00
Fabrice Reix
4615283e9b
Rename Error trait to DisplaySourceError 2024-05-15 14:19:05 +02:00
Haoyu Cheng
4e588e9bbf
format code and sort filter in order 2024-05-15 06:50:14 +00:00
Haoyu Cheng
1ea8936c42
add ToFloat filter 2024-05-15 06:50:13 +00:00
Fabrice Reix
7e6e94f4f2
Fix Clippy warnings 2024-05-07 08:34:36 +02:00
Fabrice Reix
71d80fef30
Colorize error message in fixme 2024-04-30 11:20:03 +00:00
Fabrice Reix
ff7ff9543d
Include carets in fixme message 2024-04-25 14:42:51 +02:00
hurl-bot
733e6a2426
Update hurl version to 5.0.0-SNAPSHOT 2024-04-24 14:48:27 +00:00
hurl-bot
733dd76b4a
Create 4.3.0 release 2024-04-23 11:50:35 +00:00
Fabrice Reix
ae29d8afe1
Support tab after HTTP version 2024-04-19 07:00:14 +00:00
jcamiel
07c3ee8b37
Fix standalone css for regex. 2024-04-18 10:54:42 +02:00