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

dinit-iostream: Custom new special-purpose library #263

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Commits on May 17, 2024

  1. dinit-iostream: Custom new special-purpose library

    This is replacement for C++ standard library iostream/fstream.
    
    See dinit-iostream.h for more information and the usage.
    
    Signed-off-by: Mobin "Hojjat" Aydinfar <mobin@mobintestserver.ir>
    mobin-2008 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    45c25ec View commit details
    Browse the repository at this point in the history
  2. test-bpsys: Add mock function for open(2) with "mode_t mode"

    Required for testing dinit-iostream.
    
    Signed-off-by: Mobin "Hojjat" Aydinfar <mobin@mobintestserver.ir>
    mobin-2008 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    c2d7503 View commit details
    Browse the repository at this point in the history
  3. tests: Some tests around the dinit-iostream

    Signed-off-by: Mobin "Hojjat" Aydinfar <mobin@mobintestserver.ir>
    mobin-2008 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    cb76b8f View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. FIX: dinit-iostream.cc: Better comment for cur_msg_in_buf_count variable

    Signed-off-by: Mobin Aydinfar <mobin@mobintestserver.ir>
    mobin-2008 committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    f53d674 View commit details
    Browse the repository at this point in the history
  2. FIX: test-bpsys: Fix grammar and consistency with code-style

    Signed-off-by: Mobin Aydinfar <mobin@mobintestserver.ir>
    mobin-2008 committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    c862906 View commit details
    Browse the repository at this point in the history
  3. FIX: dinit-iostream: Change name of "cur_msg_in_buf_count" variable t…

    …o "output_count"
    
    Signed-off-by: Mobin Aydinfar <mobin@mobintestserver.ir>
    mobin-2008 committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    878b7f1 View commit details
    Browse the repository at this point in the history
  4. FIX: dinit-iostream: Remove useless else(s)

    According to CODE-STYLE:
    
    >   2.2. Omit "else" if the body of the associated "if" does not fall through (i.e. if it always
    >        either returns or throws an exception).
    
    Signed-off-by: Mobin Aydinfar <mobin@mobintestserver.ir>
    mobin-2008 committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    074ee79 View commit details
    Browse the repository at this point in the history
  5. FIX: dinit-iostream: Rethink the "message larger than the buffer" cas…

    …e in ostream::put()
    
    With this change, The best case write count will be 1 instead of 2.
    
    Signed-off-by: Mobin Aydinfar <mobin@mobintestserver.ir>
    mobin-2008 committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    20c831d View commit details
    Browse the repository at this point in the history
  6. FIX: dinit-iostream.h: Explain "states" parameter in throw_exception_…

    …on()
    
    Signed-off-by: Mobin Aydinfar <mobin@mobintestserver.ir>
    mobin-2008 committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    135c5fa View commit details
    Browse the repository at this point in the history
  7. FIX: dinit-iostream.h: Fix missing dot for many lines and a small pro…

    …nunciation fix
    
    Signed-off-by: Mobin Aydinfar <mobin@mobintestserver.ir>
    mobin-2008 committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    a432e40 View commit details
    Browse the repository at this point in the history