Permalink
Commits on Jul 16, 2017
  1. Don't try to read past the end of a list

    steveire committed Jul 16, 2017
    AFL-FUZZ: Accessing variable 'Qt' without a second .-separated component
    causes a crash due to an attempt to access a list item at a non-existent
    position
  2. Early return if list is empty

    steveire committed Jul 16, 2017
    AFL-FUZZ: Empty list supplied to |random filter attempts to find element
    at rand() % 0, generating a CPU arithmetic exception
  3. Ensure that we only slice a non-empty string

    steveire committed Jul 16, 2017
    AFL-FUZZ: Empty input to |slice filter causes an assertion failure in Qt
    due to an at(0) call on an empty QString
  4. Ensure that the container is non-empty before processing it

    steveire committed Jul 16, 2017
    AFL-FUZZ: Undefined variable input to |wordwrap causes a crash due to a
    QList.takeFirst() on an empty QList
  5. Check QDateTime validity before comparison

    steveire committed Jul 16, 2017
    AFL-FUZZ: Invalid inputs to |timesince and |timeuntil cause an assertion failure
  6. Remove unused method

    steveire committed Jul 16, 2017
  7. Fix formatting

    steveire committed Jul 16, 2017
Commits on May 23, 2016
  1. Fix urls to django documentation

    steveire committed May 23, 2016
    They have removed old docs and moved things around.
Commits on Apr 19, 2016
  1. Bump version to 5.1.0

    steveire committed Apr 19, 2016
Commits on Apr 18, 2016
  1. Extend the change log for Grantlee 5.1

    steveire committed Apr 18, 2016
Commits on Apr 14, 2016
  1. Fix string and enum comparison in the if tag.

    steveire committed Apr 14, 2016
    Use the Grantlee::equals method to compare.
  2. Add missing compile feature

    steveire committed Apr 14, 2016
    The if implementation uses a Qt variadic template to create a
    QSharedPointer.
Commits on Apr 13, 2016
  1. Implement `if in` for strings

    dantti authored and steveire committed Apr 12, 2016
  2. if: Implement the elif tag

    steveire committed Apr 10, 2016
    Match the implementation of django features here.
  3. if: Implement common conditional operators

    steveire committed Apr 10, 2016
    Match the implementation of django features here.
  4. if: Refactor to be more like the django design

    steveire committed Apr 1, 2016
    The IfNode now accepts a structure of conditions and node lists.  This
    will allow for more complex conditions, and for introducing the elif
    tag.
Commits on Apr 12, 2016
  1. Inline some local strings into their usage location

    dantti authored and steveire committed Apr 12, 2016
Commits on Apr 10, 2016
  1. Replace size check with empty check

    steveire committed Apr 10, 2016
  2. Remove useless ()

    steveire committed Apr 10, 2016
Commits on Apr 7, 2016
  1. for: Remove dead code

    steveire committed Apr 5, 2016
    This code has been inactive since commit v0.1.0-rc1~371 (Remove
    dictionary unpack feature. SiC., 2009-06-09).
    
    The feature was removed because Django doesn't allow iterating over
    associative containers directly, requiring the user to use ".items", as
    is also required in the python language.  I left the dead code as a
    reminder to myself to consider trying to upstream a change to that
    semantic, but doing so probably does not make sense at this point, given
    that Django is just following python.
Commits on Apr 5, 2016
  1. Replace use of QString isNull() with isEmpty()

    steveire committed Apr 5, 2016
    They are different for historical reasons, but isEmpty seems more
    appropriate.
  2. Fix formatting

    steveire committed Apr 5, 2016
    According to clang-format.
  3. Upload coverage results to the codecov service

    steveire committed Apr 4, 2016
  4. Fix lcov html generation

    steveire committed Apr 4, 2016
    Include the library name in the path for namespacing.
Commits on Apr 3, 2016
  1. Add appveyor build status badge

    steveire committed Mar 29, 2016
  2. Run tests on appveyor

    steveire committed Mar 29, 2016
  3. Add a 'd' POSTFIX to debug libraries with Visual Studio

    steveire committed Mar 29, 2016
    Output them in the lib directory instead of in Debug/Release subdirs.
  4. Re-enable multi-config xcode build

    steveire committed Apr 3, 2016
    The preceding two commits make it possible to enable tests which have
    been disabled since commit daa750d (Update test matrix, 2016-02-22).
  5. Ensure that plugins are output in the correct directory

    steveire committed Mar 29, 2016
    Grantlee requires that the plugins be in
    
     prefix/grantlee/$version/
    
    but without these settings, cmake instead puts the plugins in
    
     prefix/grantlee/$version/{Debug,Release}