Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7e44fca7fc89
Choose a base ref
...
head repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e5fddf485106
Choose a head ref
  • 9 commits
  • 5 files changed
  • 2 contributors

Commits on Aug 27, 2021

  1. Copy the full SHA
    01b5840 View commit details
  2. PRINCIPIA_

    eggrobin committed Aug 27, 2021
    Copy the full SHA
    e68a537 View commit details

Commits on Aug 28, 2021

  1. Merge pull request #3116 from eggrobin/mac-encoding

    Use UTF-16 for filenames on Windows only
    pleroy authored Aug 28, 2021
    Copy the full SHA
    98804e8 View commit details

Commits on Aug 29, 2021

  1. unify macros

    eggrobin committed Aug 29, 2021
    Copy the full SHA
    eb8249c View commit details
  2. Merge pull request #3121 from eggrobin/mac-encoding

    Unify macros
    eggrobin authored Aug 29, 2021
    Copy the full SHA
    412df29 View commit details

Commits on Sep 5, 2021

  1. Next release is Hadamard.

    pleroy committed Sep 5, 2021
    Copy the full SHA
    d72f615 View commit details
  2. Merge pull request #3123 from pleroy/Hadamard

    Next release is Hadamard
    pleroy authored Sep 5, 2021
    Copy the full SHA
    0402cb6 View commit details

Commits on Sep 6, 2021

  1. Announce Haar.

    pleroy authored Sep 6, 2021
    Copy the full SHA
    e090c32 View commit details

Commits on Sep 19, 2021

  1. Copy the full SHA
    e5fddf4 View commit details
Showing with 13 additions and 11 deletions.
  1. +3 −3 README.md
  2. +3 −2 astronomy/лидов_古在_test.cpp
  3. +2 −1 astronomy/молния_orbit_test.cpp
  4. +2 −2 base/macros.hpp
  5. +3 −3 ksp_plugin_adapter/main_window.cs
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Principia

**[Grothendieck](https://github.com/mockingbirdnest/Principia/wiki/Change-Log#grothendieck), the August version of Principia, is available, with support for 1.12.2. Download it [here for 1.8.1, 1.9.1, 1.10.1, 1.11.0, 1.11.1, 1.11.2, and 1.12.2](https://bit.ly/3AnF2Rr).**
**[Haar](https://github.com/mockingbirdnest/Principia/wiki/Change-Log#haar), the September version of Principia, is available, with improved UI and French localization. Download it [here for 1.8.1, 1.9.1, 1.10.1, 1.11.0, 1.11.1, 1.11.2, and 1.12.2](https://bit.ly/2YyfFP9).**

**For the convenience of Chinese users, downloads from 腾讯微云: [Principia Grothendieck for 1.8.1—1.12.2](https://share.weiyun.com/VjHh6N5Z), [Trappist-1 for Principia](https://share.weiyun.com/5wVtWYQ).**
**For the convenience of Chinese users, downloads from 腾讯微云: [Principia Haar for 1.8.1—1.12.2](https://share.weiyun.com/OUu1p51e), [Trappist-1 for Principia](https://share.weiyun.com/5wVtWYQ).**

Principia is a mod for Kerbal Space Program (KSP) which implements N-body and extended body gravitation. Instead of being within the sphere of influence of a single celestial body at any point in time, your vessels are influenced by all the celestials. This makes it possible to implement missions that are more complex and more realistic than in the stock game, especially if used in conjunction with a mod like RealSolarSystem which has real-life celestials.

@@ -18,4 +18,4 @@ The [change log](https://github.com/mockingbirdnest/Principia/wiki/Change-Log) g

Principia is released on every [new moon](https://en.wikipedia.org/wiki/New_moon) with whatever features and bug fixes are ready at the time. This ensures relatively timely improvements and bug fixes.

Download the binary (Ubuntu, macOS, and Windows) [here for 1.8.1, 1.9.1, 1.10.1, 1.11.0, 1.11.1, 1.11.2, and 1.12.2](https://bit.ly/3AnF2Rr). Download the [“Trappist-1 for Principia”](https://github.com/mockingbirdnest/Principia/wiki/Installing,-reporting-bugs,-and-frequently-asked-questions#installing-trappist-1-for-principia) mini-mod [here](https://bit.ly/2ZHf3Tt). Or, if you don't trust our binary, [build the mod](https://github.com/mockingbirdnest/Principia/blob/master/documentation/Setup.md) from the [Grothendieck](https://github.com/mockingbirdnest/Principia/releases/tag/2021080814-Grothendieck) release.
Download the binary (Ubuntu, macOS, and Windows) [here for 1.8.1, 1.9.1, 1.10.1, 1.11.0, 1.11.1, 1.11.2, and 1.12.2](https://bit.ly/2YyfFP9). Download the [“Trappist-1 for Principia”](https://github.com/mockingbirdnest/Principia/wiki/Installing,-reporting-bugs,-and-frequently-asked-questions#installing-trappist-1-for-principia) mini-mod [here](https://bit.ly/2ZHf3Tt). Or, if you don't trust our binary, [build the mod](https://github.com/mockingbirdnest/Principia/blob/master/documentation/Setup.md) from the [Haar](https://github.com/mockingbirdnest/Principia/releases/tag/2021090701-Haar) release.
5 changes: 3 additions & 2 deletions astronomy/лидов_古在_test.cpp
Original file line number Diff line number Diff line change
@@ -106,8 +106,9 @@ TEST_F(Лидов古在Test, MercuryOrbiter) {
}
}
mathematica::Logger logger(
SOLUTION_DIR / "mathematica" / u"лидов_古在.generated.wl",
/*make_unique=*/false);
SOLUTION_DIR / "mathematica" /
PRINCIPIA_UNICODE_PATH("лидов_古在.generated.wl"),
/*make_unique=*/false);

DiscreteTrajectory<MercuryCentredInertial> mercury_centred_trajectory;
for (auto const& [t, dof] : icrs_trajectory) {
3 changes: 2 additions & 1 deletion astronomy/молния_orbit_test.cpp
Original file line number Diff line number Diff line change
@@ -136,7 +136,8 @@ TEST_F(МолнияOrbitTest, DISABLED_Satellite) {
}

mathematica::Logger logger(
SOLUTION_DIR / "mathematica" / UNICODE_PATH("молния_orbit.generated.wl"),
SOLUTION_DIR / "mathematica" /
PRINCIPIA_UNICODE_PATH("молния_orbit.generated.wl"),
/*make_unique=*/false);

std::vector<Angle> longitudes_of_ascending_nodes;
4 changes: 2 additions & 2 deletions base/macros.hpp
Original file line number Diff line number Diff line change
@@ -150,9 +150,9 @@ inline void noreturn() { std::exit(0); }

// Unicode.
#if OS_WIN
# define UNICODE_PATH(x) u ## x
# define PRINCIPIA_UNICODE_PATH(x) u ## x
#else
# define UNICODE_PATH(x) u8 ## x
# define PRINCIPIA_UNICODE_PATH(x) u8 ## x
#endif

#define NAMED(expression) u8 ## #expression << ": " << (expression)
6 changes: 3 additions & 3 deletions ksp_plugin_adapter/main_window.cs
Original file line number Diff line number Diff line change
@@ -6,10 +6,10 @@ namespace ksp_plugin_adapter {

internal class MainWindow : VesselSupervisedWindowRenderer {
// Update this section before each release.
private const string next_release_name = "Haar";
private const int next_release_lunation_number = 268;
private const string next_release_name = "Hadamard";
private const int next_release_lunation_number = 269;
private readonly DateTimeOffset next_release_date_ =
new DateTimeOffset(2021, 09, 07, 00, 51, 00, TimeSpan.Zero);
new DateTimeOffset(2021, 10, 06, 11, 04, 00, TimeSpan.Zero);

public MainWindow(PrincipiaPluginAdapter adapter,
FlightPlanner flight_planner,