Skip to content

Commit 7ddc200

Browse files
authored
Merge pull request #297 from TwinFan/Next
v4.3.2 Chore: Change RealTraffic API to server `rtwa`
2 parents 09f0afe + a75f8b8 commit 7ddc200

File tree

4 files changed

+14
-12
lines changed

4 files changed

+14
-12
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ endif()
2323
set(CMAKE_BUILD_TYPE RelWithDebInfo)
2424

2525
project(LiveTraffic
26-
VERSION 4.3.1
26+
VERSION 4.3.2
2727
DESCRIPTION "LiveTraffic X-Plane plugin")
2828
set(VERSION_BETA 0)
2929

Include/LTRealTraffic.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/// to deal in the Software without restriction, including without limitation
1717
/// the rights to use, copy, modify, merge, publish, distribute, sublicense,
1818
/// and/or sell copies of the Software, and to permit persons to whom the
19-
/// Software is furnished to do so, subject to the following conditions:\n
19+
/// Software is furnished to do so, subject to the follow ing conditions:\n
2020
/// The above copyright notice and this permission notice shall be included in
2121
/// all copies or substantial portions of the Software.\n
2222
/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
@@ -42,18 +42,18 @@
4242

4343
#define REALTRAFFIC_NAME "RealTraffic"
4444

45-
#define RT_ENDP "v5"
45+
#define RT_BASE_URL "https://rtwa.flyrealtraffic.com/v5"
4646
#define RT_METAR_UNKN "UNKN"
4747

48-
#define RT_AUTH_URL "https://rtw.flyrealtraffic.com/" RT_ENDP "/auth"
48+
#define RT_AUTH_URL RT_BASE_URL "/auth"
4949
#define RT_AUTH_POST "license=%s&software=%s"
50-
#define RT_DEAUTH_URL "https://rtw.flyrealtraffic.com/" RT_ENDP "/deauth"
50+
#define RT_DEAUTH_URL RT_BASE_URL "/deauth"
5151
#define RT_DEAUTH_POST "GUID=%s"
52-
#define RT_NEAREST_METAR_URL "https://rtw.flyrealtraffic.com/" RT_ENDP "/nearestmetar"
52+
#define RT_NEAREST_METAR_URL RT_BASE_URL "/nearestmetar"
5353
#define RT_NEAREST_METAR_POST "GUID=%s&lat=%.2f&lon=%.2f&toffset=%ld&maxcount=7"
54-
#define RT_WEATHER_URL "https://rtw.flyrealtraffic.com/" RT_ENDP "/weather"
54+
#define RT_WEATHER_URL RT_BASE_URL "/weather"
5555
#define RT_WEATHER_POST "GUID=%s&lat=%.2f&lon=%.2f&alt=%ld&airports=%s&querytype=locwx&toffset=%ld"
56-
#define RT_TRAFFIC_URL "https://rtw.flyrealtraffic.com/" RT_ENDP "/traffic"
56+
#define RT_TRAFFIC_URL RT_BASE_URL "/traffic"
5757
#define RT_TRAFFIC_POST "GUID=%s&top=%.2f&bottom=%.2f&left=%.2f&right=%.2f&querytype=locationtraffic&toffset=%ld"
5858
#define RT_TRAFFIC_POST_BUFFER "GUID=%s&top=%.2f&bottom=%.2f&left=%.2f&right=%.2f&querytype=locationtraffic&toffset=%ld&buffercount=%d&buffertime=10"
5959
#define RT_TRAFFIC_POST_PARKED "GUID=%s&top=%.2f&bottom=%.2f&left=%.2f&right=%.2f&querytype=parkedtraffic&toffset=%ld"

LiveTraffic.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@
826826
LIVETRAFFIC_VERSION_BETA = 0;
827827
LIVETRAFFIC_VER_MAJOR = 4;
828828
LIVETRAFFIC_VER_MINOR = 3;
829-
LIVETRAFFIC_VER_PATCH = 1;
829+
LIVETRAFFIC_VER_PATCH = 2;
830830
LLVM_LTO = NO;
831831
MACH_O_TYPE = mh_dylib;
832832
MACOSX_DEPLOYMENT_TARGET = 10.15;
@@ -937,7 +937,7 @@
937937
LIVETRAFFIC_VERSION_BETA = 0;
938938
LIVETRAFFIC_VER_MAJOR = 4;
939939
LIVETRAFFIC_VER_MINOR = 3;
940-
LIVETRAFFIC_VER_PATCH = 1;
940+
LIVETRAFFIC_VER_PATCH = 2;
941941
LLVM_LTO = YES;
942942
MACH_O_TYPE = mh_dylib;
943943
MACOSX_DEPLOYMENT_TARGET = 10.15;

docs/readme.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,16 @@ <h1 id="release-notes">Release Notes</h1>
133133

134134
<h2>v4</h2>
135135

136-
<h3>v4.3.1</h3>
136+
<h3>v4.3.2</h3>
137+
138+
<P>v4.3.2 is a hotfix on top of v4.3.1.</P>
137139

138140
<P>
139141
<b>Update:</b> In case of doubt you can always just copy all files from the archive
140142
over the files of your existing installation.
141143
</P>
142144

143-
<P>At least copy the following files, which have changed compared to v4.2.1:</P>
145+
<P>At least copy the following files, which have changed compared to v4.3.0:</P>
144146
<ul>
145147
<li><code>lin|mac|win_x64/LiveTraffic.xpl</code></li>
146148
</ul>

0 commit comments

Comments
 (0)