Skip to content

Update univalue subtree#367

Closed
Asherda wants to merge 7 commits intomiketout:devfrom
Asherda:update-univalue
Closed

Update univalue subtree#367
Asherda wants to merge 7 commits intomiketout:devfrom
Asherda:update-univalue

Conversation

@Asherda
Copy link
Copy Markdown

@Asherda Asherda commented Jun 26, 2025

Includes changes from zcash#4526 and zcash#4964

defuse and others added 7 commits June 25, 2025 12:13
These are reserved for all uses (including member function names) in C++,
and their use is technically undefined behaviour:
https://stackoverflow.com/a/228797/393146

Co-authored-by: Daira Hopwood <daira@jacaranda.org>
(cherry picked from commit fc4a70e)
Adjusted the order of linked libraries to ensure that LIBUNIVALUE is resolved correctly during the build process.
Fixes missing symbols when running the univalue test suite.

(cherry picked from commit 5a1e685)
98fadc09098 Merge VerusCoin#24: Push bool into array correctly
5f03f1f39a6 Push bool into array correctly
98261b1e7be Merge VerusCoin#22: Clamp JSON object depth to PHP limit
54c40154156 Clamp JSON object depth to PHP limit
5a58a46671d Merge VerusCoin#21: Remove hand-coded UniValue destructor.
b4cdfc4f475 Remove hand-coded UniValue destructor.
7fba60b5ad0 Merge VerusCoin#17: [docs] Update readme
4577454e7e2 Merge VerusCoin#13: Fix typo
ac7e73cda89 [docs] Update readme
7890db99d69 Merge VerusCoin#11: Remove deprecated std pair wrappers
40e34852ac6 Merge VerusCoin#14: Cleaned up namespace imports to reduce symbol collisions
4a4964729b3 Fix typo
85052a4819d Remove deprecated std::pair wrappers
51d3ab34ba2 Merge VerusCoin#10: Add pushKV(key, boolean) function (replaces VerusCoin#5)
129bad96d53 [tests] test pushKV for boolean values
b3c44c947fe Pushing boolean value to univalue correctly
07947ff2da9 Merge VerusCoin#9: [tests] Fix BOOST_CHECK_THROW macro
ec849d9a288 [tests] Fix BOOST_CHECK_THROW macro
d208f986dd9 Cleaned up namespace imports to reduce symbol collisions
31bc9f5a492 Merge VerusCoin#8: Remove unused Homebrew workaround
fa042093d16 Remove HomeBrew workaround
a523e08ae4e Merge VerusCoin#7: Declare single-argument (non-converting) constructors "explicit"
a9e53b38bab Merge VerusCoin#4: Pull upstream
fe805ea74f8 Declare single-argument (non-converting) constructors "explicit"
8a2d6f1e36b Merge pull request VerusCoin#41 from jgarzik/get-obj-map
ba341a20d75 Add getObjMap() helper method.  Also, constify checkObject().
ceb11941374 Handle .pushKV() and .checkObject() edge cases.
107db982995 Add ::push_back(double) method for feature parity.
d4153003166 Move one-line implementation of UniValue::read() to header.
52e85b35b81 Move exception-throwing get_* methods into separate implementation module.
dac52967597 README.md: update code quotes
3e31dcffbe6 README.md: close code quote
d09b8429dab Update README.md
f1b86edb4cb Convert README to markdown style.
1dfe464eff0 Import UniValue class unit tests from bitcoin project.
0d3e74dd1e8 operator[] takes size_t index parameter (versus unsigned int)
640158fa26b Private findKey() method becomes size_t clean, and returns bool on failure.
70991358576 Merge pull request VerusCoin#36 from ryanofsky/pr/end-str
4fd5444d182 Reject unterminated strings
16a1f7f6e9e Merge VerusCoin#3: Pull upstream
daf1285af60 Merge pull request VerusCoin#2 from jgarzik/master
f32df99e96d Merge branch '2016_04_unicode' into bitcoin
280b191cb1a Merge remote-tracking branch 'jgarzik/master' into bitcoin
2740c4f7124 Merge branch '2015_11_escape_plan' into bitcoin
REVERT: 9ef5b78c199 Use size_t for UniValue array indexing

git-subtree-dir: src/univalue
git-subtree-split: 98fadc090984fa7e070b6c41ccb514f69a371c85
@Asherda Asherda closed this Jun 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants