Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 4, 2015
  1. Merge pull request #234 from flok99/master

    authored
    Optimized dump_indent to reduce the number of fwrite calls.
Commits on May 1, 2015
  1. Optimized dump_indent to reduce the number of fwrite calls.

    Folkert van Heusden authored
Commits on Apr 30, 2015
  1. Merge pull request #233 from haldean/master

    authored
    Use snprintf and strncpy in place of sprintf and strcpy
    
    OpenBSD linker nags about using sprintf and strcpy.
  2. @haldean

    use snprintf and strncpy in place of sprintf and strcpy

    haldean authored
    This is both good practice and nice for OpenBSD users, who will no
    longer get the nag message to not use sprintf/strcpy every time they
    link against jansson. It's worth noting that the existing code seems
    safe to me - bounds checks were already happening before the actual
    calls - and that this is for extra security.
Commits on Mar 7, 2015
Commits on Feb 7, 2015
  1. Fix a use after free

    authored
Commits on Feb 5, 2015
  1. Merge pull request #221 from lioncash/test

    authored
    test_object: Fix a duplicate conditional check in test_iterators
  2. @lioncash
Commits on Jan 14, 2015
  1. Merge pull request #217 from JoakimSoderberg/simple_parse_cmake

    authored
    Compile simple_parse example for CMake project.
  2. Merge pull request #216 from JoakimSoderberg/infinity_warning

    authored
    Disable warning for deliberate use on MSVS.
Commits on Jan 13, 2015
  1. @JoakimSoderberg

    Disable warning for deliberate use on MSVS.

    JoakimSoderberg authored
    Disable "warning C4756: overflow in constant arithmetic" when deliberately
    triggering it in a test using infinity.
  2. @JoakimSoderberg
Commits on Dec 30, 2014
  1. Add Makefile.am for examples

    authored
  2. Merge pull request #214 from rdpoor/master

    authored
    adding simple-parse example
Commits on Dec 29, 2014
  1. @rdpoor
Commits on Dec 26, 2014
  1. @rdpoor

    adding simple-parse example

    rdpoor authored
Commits on Dec 19, 2014
  1. Increase test coverage

    authored
  2. Add a test case for \u0000

    authored
Commits on Dec 18, 2014
  1. Honor JSON_DECODE_INT_AS_REAL at lexical stage

    authored
    This has the consequence that numbers are never converted to integers
    when JSON_DECODE_INT_AS_REAL is set, and thus it works correctly all
    integers that are representable as double.
    
    Fixes #212.
  2. doc: Update the Getting Started chapter

    authored
    - It's not true anymore that there are no configure options that modify
      Jansson's behaviour
    
    - Remove trailing whitespace
Commits on Dec 15, 2014
  1. wip: add tests

    authored
  2. Merge pull request #211 from JoakimSoderberg/coveralls

    authored
    Add support for coverage/coveralls.io in cmake project.
  3. @openlava

    doc patch for jansson

    openlava authored committed
Commits on Dec 12, 2014
  1. @JoakimSoderberg

    Add support for coverage/coveralls.io in cmake project.

    JoakimSoderberg authored
    This adds support for http://coveralls.io/ to the cmake project. This can then be run via a new Travis job, which uploads json containing the coverage data to the website.
    
    To use this, please login usin github at http://coveralls.io/ and enable the Jansson project. You can then get a nice percentage badge for code coverage after each Travis buid. Coveralls will also comment on pull request with coverage info.
    
    To test and run it locally do:
    
    ```bash
    $ mkdir build && cd build
    $ cmake -DJANSSON_COVERALLS=ON -DCMAKE_BUILD_TYPE=Debug ..
    $ cmake --build .                      # $ make
    $ cmake --build . --target coveralls   # $ make coveralls
    ```
    
    There is also another script that generates a local HTML page using lcov CodeCoverage.cmake which can be run using
    
    ```bash
    $ make coverage
    ```
    
    The required depdencies to run this are:
    gcov
    curl
    lcov (is needed for the normal CodeCoverage script)
Commits on Dec 10, 2014
  1. Move the list member to the top of hashtable_pair struct

    authored
    This may make debugging easier with limited debuggers.
Commits on Dec 4, 2014
Commits on Nov 29, 2014
  1. Merge pull request #208 from skeid21/master

    authored
    Fix warnings on LLVM 6.0 targetion iOS arm64.
  2. @skeid21

    Warnings - use size_t where appropriate to prevent warning when compi…

    Shawn Harris authored skeid21 committed
    …lation is targeting 64 bit
Commits on Oct 20, 2014
Commits on Oct 14, 2014
  1. Merge pull request #206 from chrullrich/fix-win-build

    authored
    Fix CMake configuration for Windows build
Commits on Oct 13, 2014
  1. Fix CFLAGS for static-CRT build.

    Christian Ullrich authored
    Setting the variables to only "/MT(d)" resets all other flags to their defaults, so the debug build used release flags.
Something went wrong with that request. Please try again.