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

CXBMCTinyXML: use fast direct file reading #1445

Merged
merged 16 commits into from Aug 6, 2013

Commits on Jul 23, 2013

  1. FileUtils.cpp: cosmetics

    Karlson2k committed Jul 23, 2013
    Copy the full SHA
    0aa4105 View commit details
    Browse the repository at this point in the history
  2. adds LoadFile to CFileUtils, copied from CTextureBase::LoadFromFileIn…

    …ternal
    Jonathan Marshall authored and Karlson2k committed Jul 23, 2013
    Copy the full SHA
    230afda View commit details
    Browse the repository at this point in the history
  3. [loadfile] early return for better readability.

    Jonathan Marshall authored and Karlson2k committed Jul 23, 2013
    Copy the full SHA
    31208ef View commit details
    Browse the repository at this point in the history
  4. [cosmetics] indenting

    Jonathan Marshall authored and Karlson2k committed Jul 23, 2013
    Copy the full SHA
    40086ae View commit details
    Browse the repository at this point in the history
  5. [loadfile] CFile::Read() can take a std::string, no need for .c_str()

    Jonathan Marshall authored and Karlson2k committed Jul 23, 2013
    Copy the full SHA
    96c2aeb View commit details
    Browse the repository at this point in the history
  6. [loadfile] minimise scope of inputBuff(size)

    Jonathan Marshall authored and Karlson2k committed Jul 23, 2013
    Copy the full SHA
    7ccb0c5 View commit details
    Browse the repository at this point in the history
  7. [loadfile] don't read files > 2GiB

    Jonathan Marshall authored and Karlson2k committed Jul 23, 2013
    Copy the full SHA
    b055eec View commit details
    Browse the repository at this point in the history
  8. [loadfile] move constants to static const and align chunksize with fi…

    …le chunk size
    Jonathan Marshall authored and Karlson2k committed Jul 23, 2013
    Copy the full SHA
    4d8d64b View commit details
    Browse the repository at this point in the history
  9. [loadfile] reduce scope of tempinputBuff

    Jonathan Marshall authored and Karlson2k committed Jul 23, 2013
    Copy the full SHA
    80189e9 View commit details
    Browse the repository at this point in the history
  10. [loadfile] no need for reusing inputBuffSize for return value

    Jonathan Marshall authored and Karlson2k committed Jul 23, 2013
    Copy the full SHA
    6e21f81 View commit details
    Browse the repository at this point in the history
  11. [loadfile] ensure inputBuff is free'd in case we fail to read any data

    Jonathan Marshall authored and Karlson2k committed Jul 23, 2013
    Copy the full SHA
    1a2e6ae View commit details
    Browse the repository at this point in the history
  12. [loadfile] free over-allocated memory from growing buffer

    Jonathan Marshall authored and Karlson2k committed Jul 23, 2013
    Copy the full SHA
    07ba551 View commit details
    Browse the repository at this point in the history
  13. [loadfile] improve log message

    Jonathan Marshall authored and Karlson2k committed Jul 23, 2013
    Copy the full SHA
    fa81ea5 View commit details
    Browse the repository at this point in the history
  14. Copy the full SHA
    ff648fb View commit details
    Browse the repository at this point in the history
  15. CXBMCTinyXML: use direct file reading instead of streaming.

    That way we could avoid double parsing of file.
    Karlson2k committed Jul 23, 2013
    Copy the full SHA
    f9bbb34 View commit details
    Browse the repository at this point in the history
  16. Copy the full SHA
    ad84913 View commit details
    Browse the repository at this point in the history