summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-04-09Merge pull request #30 from mathstuf/error-cleanupHEADmasterMatthias Beyer
Error cleanup
2020-04-09error: rename from VObjectErrorKind to VObjectErrorBen Boeckel
The type is a fully-fledged `impl Error` all on its own now.
2020-04-09error: mark chrono parsing errors as an error sourceBen Boeckel
2020-04-09parser: use a structured error for parse failuresBen Boeckel
2020-04-09thiserror: replace usage of failureBen Boeckel
`thiserror` is much lighter and doesn't export a dependency on `failure` to consumers of the crate.
2020-04-09error: remove the Result type aliasBen Boeckel
Instead, make a local type alias that can be used within the crate, but avoid the need to export yet another symbol.
2020-04-09untry: replace try! macro usage with the ? operatorBen Boeckel
2020-04-09Merge pull request #29 from mathstuf/fix-travisMatthias Beyer
travis: remove old toolchain tests
2020-04-08travis: remove old toolchain testsBen Boeckel
Dependencies use the 2018 edition which requires 1.31, but 1.32 is needed to resolve a `use module` ambiguity in `backtrace`.
2018-11-09version 0.7.0failureMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-10-30Merge pull request #27 from matthiasbeyer/fix-chrono-importMatthias Beyer
Fix: Add feature flag for error type
2018-10-29Fix: Add feature flag for error typeMatthias Beyer
2018-10-28Update dependency: error-chain (#26)Matthias Beyer
* Update dependency: error-chain * Replace dependency: error_chain -> failure * fixup! Replace dependency: error_chain -> failure * Use enum for errors (in return types) * fixup! Use enum for errors (in return types)
2018-04-27version 0.6.0Markus Unterwaditzer
2018-04-27De-publicize some macrosMarkus Unterwaditzer
2018-04-27version 0.5.1Markus Unterwaditzer
2018-04-27Fix API docsMarkus Unterwaditzer
2018-04-27version 0.5.0Markus Unterwaditzer
2018-04-27update rust versionMarkus Unterwaditzer
2018-04-27Add params getter for helper datatype generator (#24)Matthias Beyer
With this helper function, one can get the parameters from a helper data type. For example the email data parameters "HOME", "WORK".
2018-04-26Event builder (#21)Matthias Beyer
* Add EventBuilder * Add simple test for building an event * Remove unused import * fixup! Add simple test for building an event * fixup! Remove unused import * Fix: build and test with all features enabled * Make builder API typed * Add helper to build new empty ICalendar object * Add ::from_raw() for helper types, make ::new() pub * Redesign builder to have chainable with_foo() functions and in-place mutating setters * Dont prefix getters with get_ to be more consistent with the vcard API * fixup! Redesign builder to have chainable with_foo() functions and in-place mutating setters * fixup! Dont prefix getters with get_ to be more consistent with the vcard API * fixup! Dont prefix getters with get_ to be more consistent with the vcard API * fixup! Dont prefix getters with get_ to be more consistent with the vcard API
2018-04-16Rewrite icalendar API for nice builder pattern style building of objects (#22)Matthias Beyer
2018-02-25update copyrightMarkus Unterwaditzer
2018-01-11Version 0.4.2Markus Unterwaditzer
2018-01-11add read_componentMarkus Unterwaditzer
2017-11-21Version 0.4.1Markus Unterwaditzer
2017-11-21Let Vcard derive Debug (#20)Matthias Beyer
2017-11-21Icalendar highlevel interface (#19)Matthias Beyer
* Add error kind for "not an icalendar" * Move helper macros to utils * Add optional date/datetime conversions * Add optional dependency: chrono * Add error types for converting from parser error from chrono * Add AsDateTime for icalendar times * Add travis build script with all features tested * Add tests * Add tests with simple test entry * Add test for owncloud-generated cal entry * Add conversions-testing for entries * Use container type for returning either Date or DateTime * fixup! Move helper macros to utils * Fix to use list syntax * Capitalize consistently * Use ? instead of callback chaining * Remove all unneeded imports
2017-11-06Fix docs generatorMarkus Unterwaditzer
2017-11-06Version 0.4.0Markus Unterwaditzer
2017-11-05Fix escaping bugMarkus Unterwaditzer
2017-11-05Vcard highlevel interface pr (#18)Matthias Beyer
* Start implementing high-level interface for vcard objects * Add derive for Eq and PartialEq for generated types * Add raw() getter for generated types * Add basic vcard test * Add function to create a Vcard object from a Component * error-chain: 0.10 -> 0.11 * Add helper to generate parameter list * Add VcardBuilder * Add test for VcardBuilder * Rename util.rs -> param.rs * Do not pass complete input string to error
2017-10-28Switch to BTreeMap (#17)Matthias Beyer
2017-10-27Update travis settings (#16)Matthias Beyer
* Update travis settings * fixup! Update travis settings
2017-10-27Refactoring (#15)Matthias Beyer
* Add dependency: error-chain, refactor to use error chain infrastructure * Split code into modules * Move tests to appropriate modules
2017-10-09Version 0.3.0Markus Unterwaditzer
2017-10-09Switch to BTreeMapMarkus Unterwaditzer
2017-07-16Version 0.2.1Markus Unterwaditzer
2017-05-06Restore old code, see ↵Markus Unterwaditzer
https://github.com/untitaker/rust-vobject/commit/2e80215c92397e6116ae12364a9bfeff49b504aa#commitcomment-22043284
2017-05-06Remove broken nightly buildMarkus Unterwaditzer
2017-05-06Merge pull request #13 from gnuish/refactorMarkus Unterwaditzer
Refactor a bit
2017-05-05Derive Clone/Debug, small refactoringAriel Dabalsa
Derives for Component and Property Property::new() takes Into as Asref instead of &str Formatting and misc
2017-05-05Move /src/vobject/ to /src/Ariel Dabalsa
2017-05-05Faster line foldingAriel Dabalsa
2017-05-05Fix infinite loop on mismatched BEGIN/END tagsAriel Dabalsa
2017-05-05Fix infinite loop on mismatched BEGIN/END tagsAriel Dabalsa
2017-04-22Version 0.2.0Markus Unterwaditzer
2016-11-15Remove unused importsMarkus Unterwaditzer
2016-11-15Refactor APIMarkus Unterwaditzer
2016-11-15Remove explicit clone implMarkus Unterwaditzer