summaryrefslogtreecommitdiff
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* fixes for latest chefstyle ruleslcg/chefstyle5Lamont Granquist2018-07-032-4/+4
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Switch from reek/rubocop to chefstyleTim Smith2017-06-203-29/+29
| | | | | | Reek doesn't work with modern Rake Signed-off-by: Tim Smith <tsmith@chef.io>
* replace Fixnum+Bignum with Integer?Lamont Granquist2016-07-221-0/+4
| | | | i think that's all we have to do?
* eliminate Rescue ExceptionLamont Granquist2015-07-091-0/+1
|
* fix other possible superclass mismatchesLamont Granquist2015-07-091-4/+7
|
* fix superclass mismatch on rbx in c extLamont Granquist2015-07-091-1/+3
|
* remaining autofixable copsLamont Granquist2015-07-092-2/+2
|
* fix lots of copsLamont Granquist2015-07-092-0/+2
| | | | and add a few more to be ignored
* Fix uninitialized instance variable when using extuninitialized-variable-in-extdanielsdeleo2015-06-191-0/+1
|
* emit token that failed utf-8 validationLamont Granquist2015-04-211-174/+166
| | | | plus code cleanup of the c-extension
* Merge pull request #19 from chef/lcg/stringio-encodingLamont Granquist2015-04-201-15/+17
|\ | | | | support encoding StringIOs
| * add c ext sidelcg/stringio-encodingLamont Granquist2015-04-171-15/+17
| |
* | remove unnecessary castLamont Granquist2015-04-201-1/+1
| |
* | add :unique_key_checking flag to parserlcg/unique_key_checkingLamont Granquist2015-04-171-1/+9
|/ | | | | can be used to error out if keys are duplicated in input rather than silently replacing.
* fixing libname guessing logicLamont Granquist2015-04-061-1/+3
| | | | | run through multiple different possible library names and extensions, favoring the libyajl2 gem versions first.
* add native dlopen extension codeLamont Granquist2015-04-062-0/+53
| | | | | This will get dlopen in a consistent place on all the platforms which need it.
* allow arbitrary Objects as keysLamont Granquist2014-11-241-1/+1
| | | | i fixed Hashes/Arrays/true/false/nil, but forgot Object.
* support calling #to_s on all types for keysLamont Granquist2014-11-221-28/+100
| | | | | | compatibility with JSON gem and yajl-ruby closes #14
* fix bare object parsingLamont Granquist2014-11-221-4/+2
| | | | closes #2 and #16
* Update extconf.rbJason Potkanski2014-10-141-1/+1
| | | Add cygwin detection
* Update extconf.rbJason Potkanski2014-10-141-1/+1
| | | Add cygwin detection
* Making necessary C changes to only call to_json if it is presenttyler-ball2014-10-071-7/+13
|
* fix ruby 1.8.7 testsLamont Granquist2014-08-231-1/+11
|
* add datetime encodingLamont Granquist2014-08-231-3/+26
| | | | | | | | necessary for ohai json_gem spec complies with JSON gem format. this also arguably fixes issues with yajl-ruby where it does not encode date objects correctly.
* extconf.rb: remove "-Wl,--no-undefined" from ldflagsLennart Brinkmann2014-08-232-0/+6
| | | | | | | | Remove ldflag "-Wl,--no-undefined" if existent to allow for loading libyajl with dlopen. This fixes building the native extensions on systems like gentoo which set the ldflag "-Wl,--no-undefined" by default.
* fix for chef pretty printing issuesLamont Granquist2014-08-071-2/+4
|
* Revert "fix for chef pretty printing issues"Lamont Granquist2014-08-071-4/+2
| | | | This reverts commit 5d260103d3f11897e7873fb3fa796966896ff946.
* fix for chef pretty printing issuesLamont Granquist2014-08-071-2/+4
|
* avoid find_library adding -lyajlLamont Granquist2014-07-062-16/+12
|
* also don't need the commentLamont Granquist2014-07-061-1/+0
|
* homebrew wires up symlinks in /usr/local/includeLamont Granquist2014-07-061-1/+0
| | | | (didn't need this)
* build with system libs if libyajl2-gem missing libsLamont Granquist2014-07-062-0/+62
| | | | | | | libyajl2-gem with USE_SYSTEM_LIBYAJL2=1 is just missing the libs and includes in the path, so if we can't find libyajl2 after setting up the libyajl2-gem, then go hunting for libyajl2 in the system and/or use the --with-yajl-include/dir/lib options
* support yajl parser optionsLamont Granquist2014-06-141-1/+13
|
* allow_comments support for C extLamont Granquist2014-06-141-4/+9
|
* remove useless memcpyLamont Granquist2014-06-141-11/+2
|
* cache the symbolize_keys lookup in CLamont Granquist2014-06-141-9/+11
|
* symbolize_keys fix for 1.8.7Lamont Granquist2014-06-141-0/+5
|
* >= 1.9 support for symbolize_keysLamont Granquist2014-06-141-8/+21
|
* avoid memcpy of the keyLamont Granquist2014-06-141-5/+1
|
* fix very long nums/strings/keysLamont Granquist2014-06-131-3/+6
|
* mark the 'ctx' variable as volatileLamont Granquist2014-06-131-2/+2
| | | | | this should avoid compiler optimizations that might interfere with the garbage collector later
* fixing state context in the c extensionLamont Granquist2014-06-121-22/+23
| | | | | | | just pass self through the context and then access state and ruby objects through the instance variables. question? what if the self object is moved by the garbage collector?
* setup ivars before allocating arrayLamont Granquist2014-06-111-3/+3
|
* add more garbage collection mitigationLamont Granquist2014-06-041-0/+2
|
* include windows libyajldll.a to buildLamont Granquist2014-05-202-11/+19
| | | | - also remove CFLAGS+LDFLAGS overrides they won't help our builds
* add hack to try to avoid garbage collectionLamont Granquist2014-05-071-0/+4
|
* dynamically link against libyajl2-gem at runtimeLamont Granquist2014-05-072-2/+2
| | | | - avoids all the RPATH bullshit at link time
* pass LDFLAGS to LDFLAGS as intendedLamont Granquist2014-05-062-2/+2
|
* add require rubygems to make 1.8.7 happyLamont Granquist2014-05-062-0/+2
|
* use the libyajl2 gemLamont Granquist2014-05-052-10/+8
|