Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: JuliaIO/LibSerialPort.jl
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.0
Choose a base ref
...
head repository: JuliaIO/LibSerialPort.jl
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.4.0
Choose a head ref
  • 9 commits
  • 10 files changed
  • 4 contributors

Commits on Nov 27, 2019

  1. Add readline and readuntil with timeout (#45)

    * expand base read functions to add timeout
    
    * provide readline and readuntil with timeout
    
    * tweak readme
    
    * remove custom serial port
    
    * readuntil continue if no bytes to prevent getting stuck
    
    * fix test copy paste error
    IanButterworth committed Nov 27, 2019
    Configuration menu
    Copy the full SHA
    cbac72f View commit details
    Browse the repository at this point in the history
  2. minor bump to 0.4.0

    IanButterworth committed Nov 27, 2019
    2 Configuration menu
    Copy the full SHA
    f05a87b View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2020

  1. query USB attributes only if we have a USB adapter (fixes #51) (#57)

    print_port_metadata() should not try to print USB attributes unless
    the transport mechanism is USB; doing otherwise caused an exception.
    mgkuhn committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    dd32dd6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7d22f57 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2020

  1. remove incompatible/outdated Base.write() and Base.flush() methods (#50

    …, #53)
    
    The high-level API previously had defined methods of Base.write() and
    Base.flush() that behaved quite differently from how Base documents
    these functions to behave, and in some cases didn't work at all. By
    removing these methods, we instead simply inherit much better working
    and more consistent ones from the `IO` supertype instead, making the
    high-level API more similar to Julia's file I/O API in Base.
    
    This patch also documents and passes through the low-level functions
    sp_drain(), sp_flush() and sp_output_waiting() to the high-level API,
    as these serial-port specific functions are what users should probably
    be using instead of Base.flush() to ensure UART queues are empty.
    mgkuhn authored and andrewadare committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    c903d98 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bbc50a1 View commit details
    Browse the repository at this point in the history
  3. documentation typos fixed

    mgkuhn authored and andrewadare committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    25ad4eb View commit details
    Browse the repository at this point in the history
  4. remove loc() to fix #54

    Calling loc() in the arguments of handle_error() causes unnecessary
    string allocations in the non-error path. The entire loc() function is
    unnecessary since Julia's stack traces already provide information on
    where an exception occured.
    mgkuhn authored and andrewadare committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    29bf480 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2020

  1. 2 Configuration menu
    Copy the full SHA
    801de82 View commit details
    Browse the repository at this point in the history
Loading