Skip to content

Commit

Permalink
Switch to relative includes.
Browse files Browse the repository at this point in the history
Fixes #91.
  • Loading branch information
floitsch committed Mar 11, 2019
1 parent 860b431 commit 3dfc1e3
Show file tree
Hide file tree
Showing 19 changed files with 51 additions and 45 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.0)
project(double-conversion VERSION 3.1.3)
project(double-conversion VERSION 3.1.4)

set(headers
double-conversion/bignum.h
Expand Down
22 changes: 14 additions & 8 deletions Changelog
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
2019-03-11:
Use relative includes in the library. This shouldn't have any visible effect
for consumers of the library.

Update version number.

2019-03-06:
Fix typo in test.
Update version number.
Fix typo in test.
Update version number.

2019-03-03:
Fix separator characters when they they don't fit into 8 bits.
Update version number.
Fix separator characters when they they don't fit into 8 bits.
Update version number.

2019-02-16:
Check correctly for _MSC_VER.
Patch by Ben Boeckel
Check correctly for _MSC_VER.
Patch by Ben Boeckel

2019-01-17:
Allow the library to be compiled for Emscripten.
Patch by Tim Paine.
Allow the library to be compiled for Emscripten.
Patch by Tim Paine.

2018-09-15:
Update version numbers. This also updates the shared-library version number.
Expand Down
6 changes: 3 additions & 3 deletions double-conversion/bignum-dtoa.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@

#include <cmath>

#include <double-conversion/bignum-dtoa.h>
#include "bignum-dtoa.h"

#include <double-conversion/bignum.h>
#include <double-conversion/ieee.h>
#include "bignum.h"
#include "ieee.h"

namespace double_conversion {

Expand Down
2 changes: 1 addition & 1 deletion double-conversion/bignum-dtoa.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#ifndef DOUBLE_CONVERSION_BIGNUM_DTOA_H_
#define DOUBLE_CONVERSION_BIGNUM_DTOA_H_

#include <double-conversion/utils.h>
#include "utils.h"

namespace double_conversion {

Expand Down
4 changes: 2 additions & 2 deletions double-conversion/bignum.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

#include <double-conversion/bignum.h>
#include <double-conversion/utils.h>
#include "bignum.h"
#include "utils.h"

namespace double_conversion {

Expand Down
2 changes: 1 addition & 1 deletion double-conversion/bignum.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#ifndef DOUBLE_CONVERSION_BIGNUM_H_
#define DOUBLE_CONVERSION_BIGNUM_H_

#include <double-conversion/utils.h>
#include "utils.h"

namespace double_conversion {

Expand Down
4 changes: 2 additions & 2 deletions double-conversion/cached-powers.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
#include <cmath>
#include <cstdarg>

#include <double-conversion/utils.h>
#include "utils.h"

#include <double-conversion/cached-powers.h>
#include "cached-powers.h"

namespace double_conversion {

Expand Down
2 changes: 1 addition & 1 deletion double-conversion/cached-powers.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#ifndef DOUBLE_CONVERSION_CACHED_POWERS_H_
#define DOUBLE_CONVERSION_CACHED_POWERS_H_

#include <double-conversion/diy-fp.h>
#include "diy-fp.h"

namespace double_conversion {

Expand Down
4 changes: 2 additions & 2 deletions double-conversion/diy-fp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


#include <double-conversion/diy-fp.h>
#include <double-conversion/utils.h>
#include "diy-fp.h"
#include "utils.h"

namespace double_conversion {

Expand Down
2 changes: 1 addition & 1 deletion double-conversion/diy-fp.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#ifndef DOUBLE_CONVERSION_DIY_FP_H_
#define DOUBLE_CONVERSION_DIY_FP_H_

#include <double-conversion/utils.h>
#include "utils.h"

namespace double_conversion {

Expand Down
16 changes: 8 additions & 8 deletions double-conversion/double-conversion.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@
#include <locale>
#include <cmath>

#include <double-conversion/double-conversion.h>

#include <double-conversion/bignum-dtoa.h>
#include <double-conversion/fast-dtoa.h>
#include <double-conversion/fixed-dtoa.h>
#include <double-conversion/ieee.h>
#include <double-conversion/strtod.h>
#include <double-conversion/utils.h>
#include "double-conversion.h"

#include "bignum-dtoa.h"
#include "fast-dtoa.h"
#include "fixed-dtoa.h"
#include "ieee.h"
#include "strtod.h"
#include "utils.h"

namespace double_conversion {

Expand Down
2 changes: 1 addition & 1 deletion double-conversion/double-conversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#ifndef DOUBLE_CONVERSION_DOUBLE_CONVERSION_H_
#define DOUBLE_CONVERSION_DOUBLE_CONVERSION_H_

#include <double-conversion/utils.h>
#include "utils.h"

namespace double_conversion {

Expand Down
8 changes: 4 additions & 4 deletions double-conversion/fast-dtoa.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

#include <double-conversion/fast-dtoa.h>
#include "fast-dtoa.h"

#include <double-conversion/cached-powers.h>
#include <double-conversion/diy-fp.h>
#include <double-conversion/ieee.h>
#include "cached-powers.h"
#include "diy-fp.h"
#include "ieee.h"

namespace double_conversion {

Expand Down
2 changes: 1 addition & 1 deletion double-conversion/fast-dtoa.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#ifndef DOUBLE_CONVERSION_FAST_DTOA_H_
#define DOUBLE_CONVERSION_FAST_DTOA_H_

#include <double-conversion/utils.h>
#include "utils.h"

namespace double_conversion {

Expand Down
4 changes: 2 additions & 2 deletions double-conversion/fixed-dtoa.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@

#include <cmath>

#include <double-conversion/fixed-dtoa.h>
#include <double-conversion/ieee.h>
#include "fixed-dtoa.h"
#include "ieee.h"

namespace double_conversion {

Expand Down
2 changes: 1 addition & 1 deletion double-conversion/fixed-dtoa.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#ifndef DOUBLE_CONVERSION_FIXED_DTOA_H_
#define DOUBLE_CONVERSION_FIXED_DTOA_H_

#include <double-conversion/utils.h>
#include "utils.h"

namespace double_conversion {

Expand Down
2 changes: 1 addition & 1 deletion double-conversion/ieee.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#ifndef DOUBLE_CONVERSION_DOUBLE_H_
#define DOUBLE_CONVERSION_DOUBLE_H_

#include <double-conversion/diy-fp.h>
#include "diy-fp.h"

namespace double_conversion {

Expand Down
8 changes: 4 additions & 4 deletions double-conversion/strtod.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
#include <climits>
#include <cstdarg>

#include <double-conversion/bignum.h>
#include <double-conversion/cached-powers.h>
#include <double-conversion/ieee.h>
#include <double-conversion/strtod.h>
#include "bignum.h"
#include "cached-powers.h"
#include "ieee.h"
#include "strtod.h"

namespace double_conversion {

Expand Down
2 changes: 1 addition & 1 deletion double-conversion/strtod.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#ifndef DOUBLE_CONVERSION_STRTOD_H_
#define DOUBLE_CONVERSION_STRTOD_H_

#include <double-conversion/utils.h>
#include "utils.h"

namespace double_conversion {

Expand Down

0 comments on commit 3dfc1e3

Please sign in to comment.