Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fallable constructors for less panics (#815) #996

Closed
wants to merge 55 commits into from

Commits on Mar 22, 2023

  1. Fallable constructors for less panics (chronotope#815)

    - Creates a global Error enum
    - Breaks backwards compatiblility mainly because of promoting fallable functions (chronotope#263)
    - Some tests still fall
    - Not all doctests are fixed
    - to_naive_datetime_with_offset function is broken and needs fixing
    - serde related stuff is not checked properly
    
    This is a rebase of chronotope#817 onto the 0.5 main branch. Main differences:
    
    - Unify three different error structs
    - Removed ErrorKind
    - Adapted a lot of unit tests
    - Removed some commits from presumably unrelated branches (chronotope#829) or
      mainlined commits (chronotope#271)
    
    Co-authored-by: John-John Tedro <udoprog@tedro.se>
    Zomtir and udoprog committed Mar 22, 2023
    Configuration menu
    Copy the full SHA
    8b3732f View commit details
    Browse the repository at this point in the history
  2. reconstruct_from_timestamp

    Zomtir committed Mar 22, 2023
    Configuration menu
    Copy the full SHA
    ee9871d View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2023

  1. Configuration menu
    Copy the full SHA
    e29524f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d1bd74e View commit details
    Browse the repository at this point in the history
  3. Fixed all tests

    Zomtir committed Mar 23, 2023
    Configuration menu
    Copy the full SHA
    63c3494 View commit details
    Browse the repository at this point in the history
  4. Readded lost locales

    Zomtir committed Mar 23, 2023
    Configuration menu
    Copy the full SHA
    d27efa6 View commit details
    Browse the repository at this point in the history
  5. arbitiary

    Zomtir committed Mar 23, 2023
    Configuration menu
    Copy the full SHA
    5b1b711 View commit details
    Browse the repository at this point in the history
  6. cargo fmt

    Zomtir committed Mar 23, 2023
    Configuration menu
    Copy the full SHA
    6eb7743 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2023

  1. Fixed some warnings

    Zomtir committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    5a8eff8 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2023

  1. restore some tests

    Zomtir committed Apr 1, 2023
    Configuration menu
    Copy the full SHA
    6191156 View commit details
    Browse the repository at this point in the history
  2. cosmetic fix

    Zomtir committed Apr 1, 2023
    Configuration menu
    Copy the full SHA
    225b3e4 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2023

  1. moving forward

    Zomtir committed Apr 2, 2023
    Configuration menu
    Copy the full SHA
    228a689 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2023

  1. time to be or not to be

    Zomtir committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    db74841 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2023

  1. UTC/Local date stuff

    Zomtir committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    6655ba3 View commit details
    Browse the repository at this point in the history
  2. Test fixes

    Zomtir committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    890e4c9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    34f05c1 View commit details
    Browse the repository at this point in the history
  4. Fix more tests

    Zomtir committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    92a4308 View commit details
    Browse the repository at this point in the history
  5. Test fixing

    Zomtir committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    0d0d5ba View commit details
    Browse the repository at this point in the history
  6. More test fixes

    Zomtir committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    ec96378 View commit details
    Browse the repository at this point in the history
  7. Rounding Error

    Zomtir committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    7a39b6e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7f8f39b View commit details
    Browse the repository at this point in the history
  9. Test fixing...

    Zomtir committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    af68091 View commit details
    Browse the repository at this point in the history
  10. Test fixing...2

    Zomtir committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    a3a8e45 View commit details
    Browse the repository at this point in the history
  11. some ymd

    Zomtir committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    251f7b9 View commit details
    Browse the repository at this point in the history
  12. final ymd

    Zomtir committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    7652f24 View commit details
    Browse the repository at this point in the history
  13. doctest

    Zomtir committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    de821dc View commit details
    Browse the repository at this point in the history
  14. doctests

    Zomtir committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    a817932 View commit details
    Browse the repository at this point in the history
  15. Doctests pass again

    Zomtir committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    0432bd1 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    5e51295 View commit details
    Browse the repository at this point in the history
  17. cosmetic changes

    Zomtir committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    07df76e View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    3695075 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2023

  1. Turn result to option

    Zomtir committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    33c0647 View commit details
    Browse the repository at this point in the history
  2. Fix clippy

    Zomtir committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    3c319ca View commit details
    Browse the repository at this point in the history
  3. all features

    Zomtir committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    a52b57d View commit details
    Browse the repository at this point in the history
  4. feature check

    Zomtir committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    de66bf2 View commit details
    Browse the repository at this point in the history
  5. serde error handling

    Zomtir committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    d7f0374 View commit details
    Browse the repository at this point in the history
  6. wasm

    Zomtir committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    246e332 View commit details
    Browse the repository at this point in the history
  7. remove vscode config

    Zomtir committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    eda476a View commit details
    Browse the repository at this point in the history
  8. ymd gone

    Zomtir committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    816df27 View commit details
    Browse the repository at this point in the history
  9. serde error

    Zomtir committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    4d4197e View commit details
    Browse the repository at this point in the history
  10. From<serde_json::Error>

    Zomtir committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    b78a655 View commit details
    Browse the repository at this point in the history
  11. test returns

    Zomtir committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    ca5276c View commit details
    Browse the repository at this point in the history
  12. windows stuff

    Zomtir committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    b2f508f View commit details
    Browse the repository at this point in the history
  13. cargo fmt

    Zomtir committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    573535d View commit details
    Browse the repository at this point in the history
  14. more windows

    Zomtir committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    4fb5696 View commit details
    Browse the repository at this point in the history
  15. cargo fmt

    Zomtir committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    7386f59 View commit details
    Browse the repository at this point in the history
  16. more windows

    Zomtir committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    d41abc1 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2023

  1. Removed SystemError

    Zomtir committed Apr 9, 2023
    Configuration menu
    Copy the full SHA
    64bbb78 View commit details
    Browse the repository at this point in the history
  2. cargo fmt...

    Zomtir committed Apr 9, 2023
    Configuration menu
    Copy the full SHA
    79f21ca View commit details
    Browse the repository at this point in the history
  3. IO direct

    Zomtir committed Apr 9, 2023
    Configuration menu
    Copy the full SHA
    a46d79a View commit details
    Browse the repository at this point in the history
  4. io error test

    Zomtir committed Apr 9, 2023
    Configuration menu
    Copy the full SHA
    ce5c11a View commit details
    Browse the repository at this point in the history
  5. cargo fmt

    Zomtir committed Apr 9, 2023
    Configuration menu
    Copy the full SHA
    c7aa463 View commit details
    Browse the repository at this point in the history
  6. serde_json only as test

    Zomtir committed Apr 9, 2023
    Configuration menu
    Copy the full SHA
    0e341c0 View commit details
    Browse the repository at this point in the history
  7. serde_json non-dev

    Zomtir committed Apr 9, 2023
    Configuration menu
    Copy the full SHA
    9e317ff View commit details
    Browse the repository at this point in the history
  8. serde_json dependencies

    I know it's bad to have serde_json as package dependency, but I found no
    way around it. Many serde tests depend on serde_json and can throw an
    error.
    Zomtir committed Apr 9, 2023
    Configuration menu
    Copy the full SHA
    74c975f View commit details
    Browse the repository at this point in the history