1
0
Fork 0
mirror of https://github.com/sile/hls_m3u8.git synced 2024-05-19 16:58:23 +00:00
Commit graph

204 commits

Author SHA1 Message Date
Luro02 1b0eb56224
remove unnecessary allocations 2020-02-06 12:27:48 +01:00
Luro02 aae3809545
remove Copy trait from Lines
Copy should not be implemented for types that implement Iterator, 
because this would be confusing.

https://rust-lang.github.io/rust-clippy/master/#copy_iterator
2020-02-06 12:24:40 +01:00
Luro02 2471737455
update dependencies 2020-02-02 15:23:47 +01:00
Luro02 e6a1103d24
rewrite Lines to reduce allocations 2020-02-02 14:33:57 +01:00
Luro02 006f36ff47
collect unsupported tags #36
closes #36
2020-02-02 13:50:56 +01:00
Luro02 27d94faec4
use shorthand #24 2020-02-02 13:38:11 +01:00
Luro02 048f09bd14
minor improvements 2020-01-26 13:12:19 +01:00
Luro02 a777f74cfa
refactor attribute parsing to comply with #26 2020-01-26 13:11:57 +01:00
Luro02 e156f6e3fd
improve ExtXMedia 2020-01-25 12:26:20 +01:00
Luro02 ac80ac5c9d
switch error implementation #23
closes #23
2020-01-23 19:13:26 +01:00
Luro02 448c331447
fix compilation 2020-01-23 17:57:57 +01:00
Luro02 73d9eb4f79 minor changes 2019-10-12 11:38:28 +02:00
Luro02 c53e9e33f1 added pretty_assertions
This will allow for better troubleshooting of failing test, because you 
don't have to search for the difference (between left and right). This 
is especially helpful for larger assertions.
2019-10-08 15:42:33 +02:00
Luro02 e75153ec5e fix backwards compatibility 2019-10-06 17:30:24 +02:00
Luro02 b1c1ea8bdc minor changes + more tests #25 2019-10-06 16:39:18 +02:00
Luro02 3dad1277ca implemented ExtXDateRange 2019-10-06 16:37:14 +02:00
Luro02 b18e6ea4fb use required_version! macro 2019-10-05 16:24:48 +02:00
Luro02 32876e1371 fix some clippy lints 2019-10-05 16:08:03 +02:00
Luro02 4ffd4350f8 improve documentation #31 2019-10-05 14:45:40 +02:00
Luro02 8d1ed6372b removed Eq implementation
f64 and f32 don't implement Eq for a reason!
For example this comparison `1.0 + 2.0 == 3.0` is false for floats, even 
though it should be true!
2019-10-05 13:23:41 +02:00
Luro02 99493446eb Infallible errors
https://doc.rust-lang.org/std/convert/enum.Infallible.html
2019-10-05 13:15:42 +02:00
Luro02 f76b223482 made master playlist smarter 2019-10-05 12:49:08 +02:00
Luro02 5b44262dc8 minor changes 2019-10-05 09:44:23 +02:00
Luro02 f96207c93e remove draft content 2019-10-04 11:19:03 +02:00
Luro02 4b4cffc248 fix #20 2019-10-04 11:02:21 +02:00
Luro02 5eca073a8c added rustfmt.toml 2019-10-03 18:04:10 +02:00
Luro02 93283f61f1 more tests #25 + better docs #31 2019-10-03 18:04:10 +02:00
Luro02 6b717f97c2 more tests #25 + better docs #31 2019-10-03 18:01:53 +02:00
Luro02 0c4fa008e6 more documentation #31 + tests #25 2019-09-22 18:00:38 +02:00
Luro02 3240417304 replaced builder with derive_builder #14 2019-09-22 12:56:28 +02:00
Luro02 81f9a421fe added RequiredVersion trait 2019-09-22 10:57:28 +02:00
Luro02 d240ac5c5e remove code duplication 2019-09-21 15:20:19 +02:00
Luro02 cdab47ad35 minor changes 2019-09-21 13:24:05 +02:00
Luro02 71361ff328 remove url #21 2019-09-21 12:11:36 +02:00
Luro02 ea75128aee remove getset #19 2019-09-21 11:53:34 +02:00
Luro02 0900d7e56b improved session_data docs + tests 2019-09-21 11:04:45 +02:00
Luro02 720dc32474 fixed test 2019-09-21 08:47:52 +02:00
Luro02 612c3d15be minor protocol_version fixes 2019-09-17 15:40:10 +02:00
Luro02 e55113e752 readded decryption_key 2019-09-17 14:45:10 +02:00
Luro02 5486c5e830 cleanup imports 2019-09-15 19:09:48 +02:00
Luro02 b932cef71a internalize signed_decimal_floating_point #9 2019-09-15 19:01:56 +02:00
Luro02 42469275d3 internalize decimal_floating_point #9 2019-09-15 18:54:25 +02:00
Luro02 fd66f8b4ef remove decryption_key #9 2019-09-15 16:47:35 +02:00
Luro02 1d614d580a updated ExtXKey + ExtXSessionKey #9 2019-09-15 16:45:43 +02:00
Luro02 db6961d19f parse dates with chrono #9 2019-09-15 12:51:51 +02:00
Luro02 fa96a76ca9 parse Urls #9 2019-09-15 11:25:41 +02:00
Luro02 c28d6963a6 removed SingleLineString #9 2019-09-15 11:05:22 +02:00
Luro02 6ffbe50322 internalized DecimalResolution #9 2019-09-15 10:51:04 +02:00
Luro02 3acf67df6a added more tests 2019-09-15 10:40:45 +02:00
Luro02 b954ae1134 remove all occurences of ref 2019-09-14 21:42:06 +02:00
Luro02 51b66d2adf added media_segment builder 2019-09-14 21:21:44 +02:00
Luro02 dd1a40abc9 added media_playlist builder 2019-09-14 21:08:35 +02:00
Luro02 b1aa512679 added master_playlist builder 2019-09-14 13:26:16 +02:00
Luro02 a2614b5aca added test 2019-09-14 12:34:34 +02:00
Luro02 7483f49fe9 fix bug 2019-09-14 12:29:54 +02:00
Luro02 273c0990dc Rewrote Lines 2019-09-14 11:57:56 +02:00
Luro02 3721106795 Rewrote AttributePairs 2019-09-14 11:31:16 +02:00
Luro02 c8f3df1228 New Error type 2019-09-13 16:06:52 +02:00
Luro02 1a35463185 updated parser 2019-09-10 11:05:20 +02:00
Luro02 91c6698f16 added more tests 2019-09-08 12:49:22 +02:00
Luro02 cf97a45f60 fixed clippy warnings 2019-09-08 12:23:33 +02:00
Luro02 1966a7608d removed QuotedString 2019-09-08 11:30:52 +02:00
Luro02 fe032ee984 added tests 2019-09-06 13:46:21 +02:00
Luro02 cb27640867 rustfmt code 2019-09-06 13:21:05 +02:00
Luro02 5da2fa8104 move types into their own files 2019-09-06 13:20:40 +02:00
Luro02 3ecbbd9acb move tags into their own modules 2019-09-06 12:55:00 +02:00
Luro02 211ce6e79a fixed spelling mistake + compiler warnings 2019-08-15 18:33:01 +02:00
Ian Jun 788138903f Fix EXTINF and URI displaying bug 2019-05-20 07:01:01 +00:00
Takeru Ohta 7767f47f21 Support up-to-date clippy 2019-03-31 19:00:02 +09:00
Takeru Ohta 02d7c80b2b Switch to 2018-edition 2019-03-31 18:58:11 +09:00
Takeru Ohta 625d037b27 Apply rustfmt-1.0.0 2019-03-31 18:54:21 +09:00
Takeru Ohta 3122949384 Fix the unexpected panic reported by #2 2018-10-11 00:35:24 +09:00
Takeru Ohta ab82edf119 Add MediaPlaylistOptions 2018-10-04 23:31:15 +09:00
Takeru Ohta 24a6ff9851 Apply clippy-0.0.212 2018-10-04 22:10:53 +09:00
Takeru Ohta 8585016720 Apply rustfmt-0.99.1 2018-10-04 20:18:56 +09:00
Takeru Ohta 1547d3329b Fix text case for ExtXMap 2018-02-20 17:33:04 +09:00
Takeru Ohta 0b04431d49 Fix handling of BYTERANGE attribute 2018-02-20 17:22:48 +09:00
Takeru Ohta 2b5a79b648 Fix attribute value parsing bug 2018-02-18 23:36:52 +09:00
Takeru Ohta 2effe63f4d Remove chrono for supporting wasm32-unknown-unknown compilation target 2018-02-15 21:01:38 +09:00
Takeru Ohta 7b90d6d16e Apply clippy-v0.0.186 2018-02-15 05:23:19 +09:00
Takeru Ohta 0210fce925 Add ExtXMediaBuilder 2018-02-15 05:16:37 +09:00
Takeru Ohta 4315081ff1 Add documentation 2018-02-15 04:55:28 +09:00
Takeru Ohta cec25050b5 Rename module: s/tag/tags/ 2018-02-15 04:51:44 +09:00
Takeru Ohta 1434e6606b Refactor media_segment module 2018-02-15 04:47:44 +09:00
Takeru Ohta c2b1dd6a45 Refactor media_playlist module 2018-02-15 04:18:02 +09:00
Takeru Ohta bddd211045 Refactor master_playlist module 2018-02-15 03:29:36 +09:00
Takeru Ohta 0fdcf41732 Refactor line module 2018-02-15 00:50:57 +09:00
Takeru Ohta 32b262713e Refactor attribute module 2018-02-15 00:24:35 +09:00
Takeru Ohta 9f6d4e7ed7 Refactor types module 2018-02-14 23:12:55 +09:00
Takeru Ohta 80537c3e43 Add tag::media_or_master_playlist module 2018-02-14 19:24:39 +09:00
Takeru Ohta 93f6db8904 Add tag::master_playlist module 2018-02-14 18:57:15 +09:00
Takeru Ohta 0e4d65c4ef Add tag::media_playlist module 2018-02-14 16:44:28 +09:00
Takeru Ohta d8822853ff Add tag::media_segment module 2018-02-14 16:12:50 +09:00
Takeru Ohta fc4a0df2f2 Fix test 2018-02-14 12:30:19 +09:00
Takeru Ohta 987e26259f Add types module 2018-02-14 12:16:36 +09:00
Takeru Ohta 2690f2b1eb Add documentation 2018-02-14 12:00:41 +09:00
Takeru Ohta 761360c0d3 Add tag/basic module 2018-02-14 12:00:19 +09:00
Takeru Ohta a3b1b67447 Add master_playlist module 2018-02-14 10:31:24 +09:00
Takeru Ohta 2111d047c3 Add media_playlist module 2018-02-14 00:25:33 +09:00
Takeru Ohta f5393cb209 Add media_segment module 2018-02-13 01:00:23 +09:00
Takeru Ohta 84aacd0020 Add value module 2018-02-13 00:44:07 +09:00
Takeru Ohta e933d8e013 Add attributes 2018-02-12 16:05:21 +09:00
Takeru Ohta 6d0c167ec7 Add tags 2018-02-11 17:08:42 +09:00
Takeru Ohta c067448428 Initial commit 2018-02-11 15:10:52 +09:00