Jean-Christophe Amiel
|
3d88762c59
|
Add some comments on error construction.
|
2024-07-23 15:41:55 +02:00 |
|
Jean-Christophe Amiel
|
cf005a13fa
|
Replace split_lines function by str::lines.
|
2024-07-23 14:46:05 +02:00 |
|
Jean-Christophe Amiel
|
d9293cfbca
|
Make some functions private.
|
2024-07-23 14:12:01 +02:00 |
|
Viktor Szépe
|
1c4679a724
|
Revert a fix in an assertion
|
2024-07-18 14:31:29 +00:00 |
|
Viktor Szépe
|
67e5f22a7d
|
Fix typos
|
2024-07-18 14:31:28 +00:00 |
|
Jean-Christophe Amiel
|
01063a1c24
|
Fix max-redirs: -1 in [Options] section
|
2024-07-11 15:56:49 +02:00 |
|
Jean-Christophe Amiel
|
cf1385e423
|
Remove dead code.
|
2024-07-11 13:11:28 +02:00 |
|
Jean-Christophe Amiel
|
1a65170cef
|
Mutualise crate colored initialization.
|
2024-07-11 10:40:54 +02:00 |
|
Jean-Christophe Amiel
|
3f2f91fe3f
|
Rename Reader offset to index.
|
2024-07-11 09:36:04 +02:00 |
|
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 |
|