Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #625 from ruby/update-test-lib-20230324HEADmaster | Hiroshi SHIBATA | 2023-03-24 | 2 | -68/+109 |
|\ | | | | | Update test libraries from ruby/ruby 2023-03-24 | ||||
| * | Update test libraries from ↵ | Hiroshi SHIBATA | 2023-03-24 | 2 | -68/+109 |
|/ | | | | https://github.com/ruby/ruby/commit/b4e438d8aabaf4bba2b27f374c787543fae07c58 | ||||
* | Merge pull request #623 from ruby/rename-gha-yaml | Hiroshi SHIBATA | 2023-03-10 | 1 | -0/+0 |
|\ | | | | | Rename Actions yaml name | ||||
| * | Rename Actions yaml name | Hiroshi SHIBATA | 2023-03-10 | 1 | -0/+0 |
|/ | |||||
* | Merge pull request #622 from ruby/use-callable-workflow | Hiroshi SHIBATA | 2023-03-10 | 5 | -87/+29 |
|\ | | | | | Use callable workflow | ||||
| * | Workaround for JRuby installation | Hiroshi SHIBATA | 2023-03-10 | 1 | -1/+1 |
| | | |||||
| * | Use ruby/setup-ruby-pkgs for dependencies | Hiroshi SHIBATA | 2023-03-10 | 1 | -3/+4 |
| | | |||||
| * | Added missing needs | Hiroshi SHIBATA | 2023-03-10 | 1 | -0/+1 |
| | | |||||
| * | Use appropriate job/workflow name | Hiroshi SHIBATA | 2023-03-10 | 1 | -2/+2 |
| | | |||||
| * | Merge windows jobs into ubuntu | Hiroshi SHIBATA | 2023-03-10 | 2 | -29/+5 |
| | | |||||
| * | Now head can install same version of default gems | Hiroshi SHIBATA | 2023-03-10 | 1 | -1/+0 |
| | | |||||
| * | Merge macos jobs into ubuntu | Hiroshi SHIBATA | 2023-03-10 | 2 | -27/+2 |
| | | |||||
| * | Merge jruby jobs into ubuntu | Hiroshi SHIBATA | 2023-03-10 | 2 | -24/+1 |
| | | |||||
| * | Use callable workflow on ubuntu jobs | Hiroshi SHIBATA | 2023-03-10 | 1 | -1/+7 |
| | | |||||
| * | Use callable workflow on libyaml jobs | Hiroshi SHIBATA | 2023-03-10 | 1 | -1/+8 |
|/ | |||||
* | Bump version to 5.1 for releasev5.1.0 | Charles Oliver Nutter | 2023-02-07 | 1 | -1/+1 |
| | | | | | | | This version primarily updates the JRuby extension to use SnakeYAML Engine, a newer version of the SnakeYAML library, which also updates YAML support to 1.2. The JRuby extension now also exposes settings for the parser. | ||||
* | Merge pull request #613 from headius/expose_load_settings | Charles Oliver Nutter | 2023-02-06 | 1 | -0/+49 |
|\ | | | | | Expose load settings | ||||
| * | Merge branch 'master' into expose_load_settings | Charles Oliver Nutter | 2023-01-26 | 7 | -77/+107 |
| |\ | |/ |/| | |||||
* | | Merge pull request #617 from Shopify/fix-safe-dump-symbol | Aaron Patterson | 2023-01-22 | 2 | -4/+7 |
|\ \ | | | | | | | Fix RestrictedYAMLTree allowing the Symbol class should allow all symbols | ||||
| * | | Fix RestrictedYAMLTree allowing the Symbol class should allow all symbols | Jean Boussier | 2023-01-22 | 2 | -4/+7 |
|/ / | | | | | | | | | | | | | | | | | | | | | | | Ref: https://github.com/ruby/psych/pull/495 That's how it works for `safe_load`: ```ruby >> YAML.safe_load(':foo', permitted_classes: [Symbol]) => :foo ``` So `safe_dump` should mirror that. | ||||
* | | Merge pull request #612 from headius/snakeyaml_engine | Aaron Patterson | 2023-01-20 | 9 | -287/+333 |
|\ \ | | | | | | | Move JRuby extension to SnakeYAML Engine | ||||
| * | | Minor tweaks and cleanup in emitter | Charles Oliver Nutter | 2023-01-18 | 1 | -11/+9 |
| | | | |||||
| * | | Shorter path to encode strings in emitter | Charles Oliver Nutter | 2023-01-18 | 1 | -1/+4 |
| | | | |||||
| * | | Misc cleanup | Charles Oliver Nutter | 2023-01-18 | 1 | -31/+45 |
| | | | |||||
| * | | Reduce hops to call sites | Charles Oliver Nutter | 2023-01-18 | 1 | -13/+25 |
| | | | | | | | | | | | | | | | If we could embed indy call sites here they would cache as constants; this is the best we can do at the moment. | ||||
| * | | Update for stricter 1.2 syntax | Charles Oliver Nutter | 2023-01-18 | 1 | -16/+16 |
| | | | | | | | | | | | | | | | This allows these tests to pass on SnakeYAML Engine -- which is a 1.2-only YAML library -- while still passing on libyaml 1.1. | ||||
* | | | Bump up 5.0.2v5.0.2 | Hiroshi SHIBATA | 2023-01-18 | 1 | -1/+1 |
| | | | |||||
* | | | Bump up 5.0.2.pre1 for testing | Hiroshi SHIBATA | 2023-01-17 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #616 from ruby/fix-libyaml-host-name | Hiroshi SHIBATA | 2023-01-17 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | configure of libyaml couldn't detect "arm64-apple-darwin22" for build host | ||||
| * | | | configure of libyaml couldn't detect "arm64-apple-darwin22" for build host. | Hiroshi SHIBATA | 2023-01-17 | 1 | -1/+1 |
|/ / / | | | | | | | | | | | | | | | | | | | | | | checking whether make sets $(MAKE)... (cached) yes checking build system type... arm-apple-darwin21.6.0 checking host system type... Invalid configuration `arm64-apple-darwin21': machine `arm64-apple' not recognized configure: error: /bin/sh /Users/hsbt/Downloads/yaml-0.2.5/config/config.sub arm64-apple-darwin21 failed *** extconf.rb failed *** | ||||
* | | | Remove deleted file from gemspec | Charles Oliver Nutter | 2023-01-13 | 1 | -1/+0 |
| | | | |||||
| | * | Expose a few key LoadSettings values | Charles Oliver Nutter | 2023-01-13 | 1 | -0/+49 |
| |/ | | | | | | | | | | | | | These values are often set to mitigate DOS attacks, so we want to expose them for JRuby users. See #579 | ||||
| * | Fix up spec version handling | Charles Oliver Nutter | 2023-01-13 | 2 | -7/+13 |
| | | |||||
| * | Omit specc version from document start | Charles Oliver Nutter | 2023-01-13 | 1 | -2/+1 |
| | | | | | | | | | | | | This eliminates the %YAML 1.2 directive at the start of each emit, which improves tests passing but also breaks a few tests that *expect* the YAML directive to be present. | ||||
| * | Initial move to SnakeYAML Engine | Charles Oliver Nutter | 2023-01-13 | 8 | -228/+241 |
|/ | | | | | | | | | | | | | | | See jruby/jruby#7570 for some of the justification for this move. We only require the parser from SnakeYAML, but in the original form it is encumbered with Java object serialization code that keeps getting flagged as a CVE risk. We disagree with the assessment, at least as it pertains to JRuby (we do not use the code in question) but our inclusion of the library continues to get flagged by auditing tools. This commit starts the process of moving to the successor library, SnakeYAML Engine. The parser API is largely unchanged, except as seen in this commit. No Java exceptions are thrown, but a number of Psych tests fail (possibly due to Engine being YAML 1.2 only). | ||||
* | Merge pull request #611 from headius/jruby_cleanup | Charles Oliver Nutter | 2023-01-12 | 5 | -149/+116 |
|\ | | | | | Minor cleanup of JRuby ext | ||||
| * | Minor cleanup of emitter code. | Charles Oliver Nutter | 2023-01-12 | 1 | -6/+9 |
| | | |||||
| * | Remove redundant init of YAMLTree | Charles Oliver Nutter | 2023-01-12 | 2 | -48/+0 |
| | | | | | | | | | | This used to house a method for getting private instance vars but that was removed in #458. Now this does nothing. | ||||
| * | Clean up imports | Charles Oliver Nutter | 2023-01-12 | 1 | -3/+0 |
| | | |||||
| * | Use inline caching for calls to handler | Charles Oliver Nutter | 2023-01-12 | 1 | -20/+42 |
| | | |||||
| * | Clean up reader creation | Charles Oliver Nutter | 2023-01-12 | 1 | -29/+35 |
| | | | | | | | | | | | | * Skip "read" respondTo check for natural RubyIO * Remove duplicate malformed input reporting set * Flip some logic to simplify | ||||
| * | Remove unused yaml argument | Charles Oliver Nutter | 2023-01-12 | 1 | -9/+8 |
| | | |||||
| * | Remove tainting | Charles Oliver Nutter | 2023-01-12 | 1 | -23/+21 |
| | | |||||
| * | Use method reference for allocator | Charles Oliver Nutter | 2023-01-12 | 2 | -10/+2 |
| | | |||||
| * | Remove unused logger | Charles Oliver Nutter | 2023-01-12 | 1 | -2/+0 |
| | | |||||
| * | JRuby has required 1.8 for a long time | Charles Oliver Nutter | 2023-01-12 | 1 | -2/+2 |
|/ | |||||
* | Merge pull request #610 from Shopify/fix-anonymous-eval | Hiroshi SHIBATA | 2023-01-11 | 4 | -7/+7 |
|\ | | | | | Get rid of anonymous eval calls | ||||
| * | Get rid of anonymous eval calls | Jean Boussier | 2023-01-11 | 4 | -7/+7 |
|/ | | | | Things declared in anonymous eval are always annoying to locate. | ||||
* | Merge pull request #609 from larskanis/patch-1 | Hiroshi SHIBATA | 2023-01-09 | 1 | -1/+1 |
|\ | | | | | Fix wrong package name of MSYS2/MINGW dependency | ||||
| * | Fix wrong package name of MSYS2/MINGW dependency | Lars Kanis | 2023-01-09 | 1 | -1/+1 |
|/ | | | There is no package called "libyaml-devel". "libyaml" is enough. |