Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix uninitialized instance variable when using extuninitialized-variable-in-ext | danielsdeleo | 2015-06-19 | 1 | -0/+1 |
| | |||||
* | emit token that failed utf-8 validation | Lamont Granquist | 2015-04-21 | 1 | -174/+166 |
| | | | | plus code cleanup of the c-extension | ||||
* | Merge pull request #19 from chef/lcg/stringio-encoding | Lamont Granquist | 2015-04-20 | 1 | -15/+17 |
|\ | | | | | support encoding StringIOs | ||||
| * | add c ext sidelcg/stringio-encoding | Lamont Granquist | 2015-04-17 | 1 | -15/+17 |
| | | |||||
* | | remove unnecessary cast | Lamont Granquist | 2015-04-20 | 1 | -1/+1 |
| | | |||||
* | | add :unique_key_checking flag to parserlcg/unique_key_checking | Lamont Granquist | 2015-04-17 | 1 | -1/+9 |
|/ | | | | | can be used to error out if keys are duplicated in input rather than silently replacing. | ||||
* | fixing libname guessing logic | Lamont Granquist | 2015-04-06 | 1 | -1/+3 |
| | | | | | run through multiple different possible library names and extensions, favoring the libyajl2 gem versions first. | ||||
* | add native dlopen extension code | Lamont Granquist | 2015-04-06 | 2 | -0/+53 |
| | | | | | This will get dlopen in a consistent place on all the platforms which need it. | ||||
* | allow arbitrary Objects as keys | Lamont Granquist | 2014-11-24 | 1 | -1/+1 |
| | | | | i fixed Hashes/Arrays/true/false/nil, but forgot Object. | ||||
* | support calling #to_s on all types for keys | Lamont Granquist | 2014-11-22 | 1 | -28/+100 |
| | | | | | | compatibility with JSON gem and yajl-ruby closes #14 | ||||
* | fix bare object parsing | Lamont Granquist | 2014-11-22 | 1 | -4/+2 |
| | | | | closes #2 and #16 | ||||
* | Update extconf.rb | Jason Potkanski | 2014-10-14 | 1 | -1/+1 |
| | | | Add cygwin detection | ||||
* | Update extconf.rb | Jason Potkanski | 2014-10-14 | 1 | -1/+1 |
| | | | Add cygwin detection | ||||
* | Making necessary C changes to only call to_json if it is present | tyler-ball | 2014-10-07 | 1 | -7/+13 |
| | |||||
* | fix ruby 1.8.7 tests | Lamont Granquist | 2014-08-23 | 1 | -1/+11 |
| | |||||
* | add datetime encoding | Lamont Granquist | 2014-08-23 | 1 | -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 ldflags | Lennart Brinkmann | 2014-08-23 | 2 | -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 issues | Lamont Granquist | 2014-08-07 | 1 | -2/+4 |
| | |||||
* | Revert "fix for chef pretty printing issues" | Lamont Granquist | 2014-08-07 | 1 | -4/+2 |
| | | | | This reverts commit 5d260103d3f11897e7873fb3fa796966896ff946. | ||||
* | fix for chef pretty printing issues | Lamont Granquist | 2014-08-07 | 1 | -2/+4 |
| | |||||
* | avoid find_library adding -lyajl | Lamont Granquist | 2014-07-06 | 2 | -16/+12 |
| | |||||
* | also don't need the comment | Lamont Granquist | 2014-07-06 | 1 | -1/+0 |
| | |||||
* | homebrew wires up symlinks in /usr/local/include | Lamont Granquist | 2014-07-06 | 1 | -1/+0 |
| | | | | (didn't need this) | ||||
* | build with system libs if libyajl2-gem missing libs | Lamont Granquist | 2014-07-06 | 2 | -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 options | Lamont Granquist | 2014-06-14 | 1 | -1/+13 |
| | |||||
* | allow_comments support for C ext | Lamont Granquist | 2014-06-14 | 1 | -4/+9 |
| | |||||
* | remove useless memcpy | Lamont Granquist | 2014-06-14 | 1 | -11/+2 |
| | |||||
* | cache the symbolize_keys lookup in C | Lamont Granquist | 2014-06-14 | 1 | -9/+11 |
| | |||||
* | symbolize_keys fix for 1.8.7 | Lamont Granquist | 2014-06-14 | 1 | -0/+5 |
| | |||||
* | >= 1.9 support for symbolize_keys | Lamont Granquist | 2014-06-14 | 1 | -8/+21 |
| | |||||
* | avoid memcpy of the key | Lamont Granquist | 2014-06-14 | 1 | -5/+1 |
| | |||||
* | fix very long nums/strings/keys | Lamont Granquist | 2014-06-13 | 1 | -3/+6 |
| | |||||
* | mark the 'ctx' variable as volatile | Lamont Granquist | 2014-06-13 | 1 | -2/+2 |
| | | | | | this should avoid compiler optimizations that might interfere with the garbage collector later | ||||
* | fixing state context in the c extension | Lamont Granquist | 2014-06-12 | 1 | -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 array | Lamont Granquist | 2014-06-11 | 1 | -3/+3 |
| | |||||
* | add more garbage collection mitigation | Lamont Granquist | 2014-06-04 | 1 | -0/+2 |
| | |||||
* | include windows libyajldll.a to build | Lamont Granquist | 2014-05-20 | 2 | -11/+19 |
| | | | | - also remove CFLAGS+LDFLAGS overrides they won't help our builds | ||||
* | add hack to try to avoid garbage collection | Lamont Granquist | 2014-05-07 | 1 | -0/+4 |
| | |||||
* | dynamically link against libyajl2-gem at runtime | Lamont Granquist | 2014-05-07 | 2 | -2/+2 |
| | | | | - avoids all the RPATH bullshit at link time | ||||
* | pass LDFLAGS to LDFLAGS as intended | Lamont Granquist | 2014-05-06 | 2 | -2/+2 |
| | |||||
* | add require rubygems to make 1.8.7 happy | Lamont Granquist | 2014-05-06 | 2 | -0/+2 |
| | |||||
* | use the libyajl2 gem | Lamont Granquist | 2014-05-05 | 2 | -10/+8 |
| | |||||
* | conversion to signed int was throwing a rangerror0.0.4 | Lamont Granquist | 2014-01-13 | 1 | -1/+1 |
| | |||||
* | one last native type to ruby conversion | Lamont Granquist | 2014-01-12 | 1 | -1/+1 |
| | | | | fixes rbx | ||||
* | wrap yajl_gen c struct for rbx | Lamont Granquist | 2014-01-12 | 1 | -33/+60 |
| | |||||
* | remove c-structs as VALUEs | Lamont Granquist | 2014-01-12 | 1 | -26/+25 |
| | | | | rbx doesn't like this. | ||||
* | convert symbols to strings when encoding0.0.2 | Lamont Granquist | 2014-01-11 | 1 | -1/+13 |
| | |||||
* | remove build artifact | Lamont Granquist | 2013-12-22 | 1 | -237/+0 |
| | |||||
* | ruby 1.8.7 fix | Lamont Granquist | 2013-12-21 | 1 | -1/+1 |
| | |||||
* | finally all green again | Lamont Granquist | 2013-12-21 | 2 | -41/+85 |
| |