New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow NodeSet to contain Nodes from multiple Documents (fix for #1952) #2186
Merged
Commits on Feb 5, 2021
-
test: default to a full GC mark phase after each test
in an attempt to more reliably trigger memory bugs when they exist. This behavior can be changed by setting the env var NOKOGIRI_TEST_GC_SETTING to "none", "minor", or "stress"
Configuration menu - View commit details
-
Copy full SHA for 63aa9a0 - Browse repository at this point
Copy the full SHA 63aa9a0View commit details -
test: rake test:gdb is now available again
after being removed when I ripped out Hoe and Hoe::Debugging
Configuration menu - View commit details
-
Copy full SHA for 9a01a7f - Browse repository at this point
Copy the full SHA 9a01a7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for be6fde4 - Browse repository at this point
Copy the full SHA be6fde4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d86c93 - Browse repository at this point
Copy the full SHA 3d86c93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91f9739 - Browse repository at this point
Copy the full SHA 91f9739View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3014d6d - Browse repository at this point
Copy the full SHA 3014d6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ee6c5b - Browse repository at this point
Copy the full SHA 0ee6c5bView commit details -
fix: allow NodeSets to contain Nodes from multiple Documents
Specifically, this means we've added a mark callback for the NodeSet which marks each of the contained objects. Previously we skipped explicitly marking the contained objects due to the assumption that all the nodes would be from the same document as the NodeSet itself. Fixes #1952.
Configuration menu - View commit details
-
Copy full SHA for 56c19db - Browse repository at this point
Copy the full SHA 56c19dbView commit details -
fix: simplify GC lifecycle for Nodes in a NodeSet
Previously, we created Ruby objects for namespaces and used a @namespace_cache attribute (an Array) to maintain references to just those Ruby objects. Now that we have a real GC mark function for NodeSet, let's use that instead of the hacky array attribute.
Configuration menu - View commit details
-
Copy full SHA for 26872c9 - Browse repository at this point
Copy the full SHA 26872c9View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.