Skip to content

Commit

Permalink
Merge dogecoin#23: Merge changes from jgarzik/univalue@1ae6a23
Browse files Browse the repository at this point in the history
92bdd11 univalue_write: remove unneeded sstream.h include (Jeff Garzik)
66e0ade Remove unnecessary sstream header from univalue.h (Heikki Hellgren)
88967f6 Version 1.0.4 (Jeff Garzik)
72392fb [tests] test pushKV for boolean values (John Newbery)
c23132b Pushing boolean value to univalue correctly (Karel Bilek)
b17634e Update URLs to MIT license. (Felix Wolfsteller)

Pull request description:

  This merges 1ae6a23, which includes some stylistic changes like http->https in the license link and removes an unused include.

Top commit has no ACKs.

Tree-SHA512: 02881cc75394aada1429b02ac5dd926adb3cc681c972ce48cc3de3c436999a557062fe9d97dcd5cddc51695c7c0904db0221c585ff41694117d2302baad665f8
  • Loading branch information
MarcoFalke committed Jan 29, 2021
2 parents 98fadc0 + f77d0f7 commit a222637
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 15 deletions.
6 changes: 3 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
m4_define([libunivalue_major_version], [1])
m4_define([libunivalue_minor_version], [1])
m4_define([libunivalue_micro_version], [3])
m4_define([libunivalue_interface_age], [3])
m4_define([libunivalue_micro_version], [4])
m4_define([libunivalue_interface_age], [4])
# If you need a modifier for the version number.
# Normally empty, but can be used to make "fixup" releases.
m4_define([libunivalue_extraversion], [])
Expand All @@ -14,7 +14,7 @@ m4_define([libunivalue_age], [m4_eval(libunivalue_binary_age - libunivalue_inter
m4_define([libunivalue_version], [libunivalue_major_version().libunivalue_minor_version().libunivalue_micro_version()libunivalue_extraversion()])


AC_INIT([univalue], [1.0.3],
AC_INIT([univalue], [1.0.4],
[http://github.com/jgarzik/univalue/])

dnl make the compilation flags quiet unless V=1 is used
Expand Down
2 changes: 1 addition & 1 deletion gen/gen.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2014 BitPay Inc.
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
// file COPYING or https://opensource.org/licenses/mit-license.php.

//
// To re-create univalue_escapes.h:
Expand Down
4 changes: 1 addition & 3 deletions include/univalue.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2014 BitPay Inc.
// Copyright 2015 Bitcoin Core Developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
// file COPYING or https://opensource.org/licenses/mit-license.php.

#ifndef __UNIVALUE_H__
#define __UNIVALUE_H__
Expand All @@ -14,8 +14,6 @@
#include <map>
#include <cassert>

#include <sstream> // .get_int64()

class UniValue {
public:
enum VType { VNULL, VOBJ, VARR, VSTR, VNUM, VBOOL, };
Expand Down
2 changes: 1 addition & 1 deletion lib/univalue.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2014 BitPay Inc.
// Copyright 2015 Bitcoin Core Developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
// file COPYING or https://opensource.org/licenses/mit-license.php.

#include <stdint.h>
#include <iomanip>
Expand Down
3 changes: 2 additions & 1 deletion lib/univalue_get.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2014 BitPay Inc.
// Copyright 2015 Bitcoin Core Developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
// file COPYING or https://opensource.org/licenses/mit-license.php.

#include <stdint.h>
#include <errno.h>
Expand All @@ -11,6 +11,7 @@
#include <vector>
#include <limits>
#include <string>
#include <sstream>

#include "univalue.h"

Expand Down
2 changes: 1 addition & 1 deletion lib/univalue_read.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2014 BitPay Inc.
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
// file COPYING or https://opensource.org/licenses/mit-license.php.

#include <string.h>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion lib/univalue_utffilter.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2016 Wladimir J. van der Laan
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
// file COPYING or https://opensource.org/licenses/mit-license.php.
#ifndef UNIVALUE_UTFFILTER_H
#define UNIVALUE_UTFFILTER_H

Expand Down
3 changes: 1 addition & 2 deletions lib/univalue_write.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
// Copyright 2014 BitPay Inc.
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
// file COPYING or https://opensource.org/licenses/mit-license.php.

#include <iomanip>
#include <sstream>
#include <stdio.h>
#include "univalue.h"
#include "univalue_escapes.h"
Expand Down
2 changes: 1 addition & 1 deletion test/object.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2014 BitPay Inc.
// Copyright (c) 2014-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
// file COPYING or https://opensource.org/licenses/mit-license.php.

#include <stdint.h>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion test/unitester.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2014 BitPay Inc.
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
// file COPYING or https://opensource.org/licenses/mit-license.php.

#include <stdlib.h>
#include <stdio.h>
Expand Down

0 comments on commit a222637

Please sign in to comment.