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: ebf62c9481ca
Choose a base ref
...
head repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 98804e88a7cc
Choose a head ref
  • 3 commits
  • 2 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
Showing with 9 additions and 2 deletions.
  1. +3 −2 astronomy/лидов_古在_test.cpp
  2. +6 −0 base/macros.hpp
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_PATH_ENCODING("лидов_古在.generated.wl"),
/*make_unique=*/false);

DiscreteTrajectory<MercuryCentredInertial> mercury_centred_trajectory;
for (auto const& [t, dof] : icrs_trajectory) {
6 changes: 6 additions & 0 deletions base/macros.hpp
Original file line number Diff line number Diff line change
@@ -241,5 +241,11 @@ template_and_result declared_name parameters; \
} \
using internal_##package_name::declared_name

#if OS_WIN
#define PRINCIPIA_PATH_ENCODING(string) u##string
#else
#define PRINCIPIA_PATH_ENCODING(string) u8##string
#endif

} // namespace base
} // namespace principia