Commit Graph

6037 Commits (new-stars-v2)

Author SHA1 Message Date
Hleb Valoshka edbc16417d wip 2021-03-15 00:13:15 +02:00
Hleb Valoshka 3a9a19ca52 wip 2021-03-14 11:28:33 +02:00
Hleb Valoshka c5f40088d1 wip 2021-03-13 18:40:12 +02:00
Hleb Valoshka 1748e3466b wip 2021-03-13 00:35:46 +02:00
Hleb Valoshka 74bbe9fd1c Add Vec2ShaderParameter class for vec2 glsl type 2021-03-13 00:35:33 +02:00
Hleb Valoshka f16c355d11 Add a new body parameter "reflectivity" complementing albedos 2021-03-10 17:51:10 +03:00
Hleb Valoshka 8e0efe3868 Build GTK+ frontend in CI 2021-03-09 09:07:21 +03:00
Hleb Valoshka de06f3d3cd Fix gtk+ frontend build failures caused by #925 2021-03-09 09:07:21 +03:00
Hleb Valoshka f89d9068ab [win] copy old favorites file to the new location 2021-03-09 09:07:21 +03:00
Hleb Valoshka 93ec39a836 Add guards for portable builds
ports commit c4f02af from 1.6.x
2021-03-09 09:07:21 +03:00
Hleb Valoshka 451fe6ffcb Read favorites file from system data directory
This commits ports 8ba1ab7 from 1.6.x branch
2021-03-09 09:07:21 +03:00
Hleb Valoshka df25eed5a2 Add fs::create_directory() and move fs utility function to their own file 2021-03-09 09:07:21 +03:00
Hleb Valoshka f1d84435a0 Add missing operators and constructors to array_view 2021-03-09 09:07:21 +03:00
Hleb Valoshka 757fda0e36 Disable more MSVC warnings 2021-03-08 14:08:36 +03:00
Hleb Valoshka 7069cebb90 Fix missing return statement 2021-03-08 14:08:36 +03:00
Hleb Valoshka 6b14925798 Produce release builds without exceptions and RTTI 2021-03-08 14:08:36 +03:00
Hleb Valoshka f5f8770f7f Keep Url objects instead of pointer in history 2021-03-08 14:08:36 +03:00
Hleb Valoshka 332840fdd1 Refactor Url class
* Critical change:
   - Drop Url versions 1, 2 and 4. Versions 1 and 2 are
     too old and can't be handled properly. Version 4
     was added to handle 64 bit RenderFlags but we can
     encode them in backward compatible way by adding a
     new parameter "nrf" ignored by Celestia 1.6.

 * Use string_view to reduce memory allocation during Url
   parsing.

 * Use non-throwing functions to parse numbers.
2021-03-08 14:08:36 +03:00
Hleb Valoshka db9dd5cb18 Extract string utilities to own file 2021-03-08 14:08:36 +03:00
Hleb Valoshka 5f911ca18e Add ISO-8801 time format used in URL to astro::Date 2021-03-08 14:08:36 +03:00
Hleb Valoshka fe810135f6 Translate and simplify displayed RA/Dec 2021-03-08 14:08:36 +03:00
Hleb Valoshka b954e279a2 A bit of refactoring in legacy scripting support 2021-03-08 14:08:36 +03:00
Hleb Valoshka ba7e0602a0 Remove 'using namespace std' from header files 2021-03-08 14:08:36 +03:00
Hleb Valoshka 8f46b2b978 astro - use std::string_view where appropriate 2021-03-08 14:08:36 +03:00
Hleb Valoshka 0dab2d9d5b astro - add useful literals
* au (astronomic units)
 * ly (light years)
 * c (speed of light)
2021-03-08 14:08:36 +03:00
Hleb Valoshka b714d109af Fix warnings shown by MinGW compiler 2021-03-03 20:18:32 +03:00
Hleb Valoshka 7043d45164 Restore possibility to blacklist GL extensions 2021-03-03 20:18:32 +03:00
Hleb Valoshka 41c4ecf47c Fix RenderFlags' compatibility with 1.6.x 2021-03-03 20:18:32 +03:00
Hleb Valoshka 959d31de70 Fix LuaState::loadScript() usage 2021-03-03 20:18:32 +03:00
Hleb Valoshka d41a375c04 Use std::tie in `operator<` 2021-03-03 20:18:32 +03:00
Hleb Valoshka f265e70607 Add an array_view class as a read-only analog of c++20's std::span 2021-03-03 20:18:32 +03:00
Hleb Valoshka bb9551bcf5 Add a C++17 compatible charconv, from_chars only 2021-03-03 20:18:32 +03:00
Hleb Valoshka 95c24446c1 Add a C++17 compatible string_view implementation
Actually there are some limitation caused by the fact that other classes
(e.g. std::string) don't know about string_view, so such limitation must
be handled manually.
2021-03-03 20:18:32 +03:00
Levin Li 00a395d3c6 Fix crash due to use of uninitialized memory 2021-03-01 19:24:06 +08:00
Levin Li f761c59f32 Fix crash in rendering orbits again 2021-02-26 20:56:16 +08:00
Darshaka Pathirana 52cb444d02 Update Debian 10 (buster) installation instruction
Avoid using `apt-key add -` and follow Debian best-practices on how to use 3rd party Debian repository signed keys:

* https://michael-prokop.at/blog/2021/02/16/how-to-properly-use-3rd-party-debian-repository-signing-keys-with-apt/
* https://wiki.debian.org/DebianRepository/UseThirdParty#Sources.list_entry

That way you can also encourage the user to check the GPG fingerprint.

Added Debian codename "buster", so people can find it when searching for it in this repository.

Also removed Bintray URL as it is deprecated and is going "sunset" on May 1st 2021,
see: https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/
2021-02-26 15:56:08 +03:00
Levin Li e0e49a6d24 Call flush in end and only bind buffer once 2021-02-22 20:17:28 +08:00
dependabot[bot] a8bfcc9691 Bump cryptography from 3.2 to 3.3.2 in /src/tools/celestia-gaia-stardb
Bumps [cryptography](https://github.com/pyca/cryptography) from 3.2 to 3.3.2.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/3.2...3.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-12 01:08:32 +03:00
Hleb Valoshka 5360a165e0 Update debian/copyright for new files 2021-01-14 16:46:12 +03:00
Hleb Valoshka 18c5126459 Copy console output into a file
Currently Qt frontend only, can be activated by passing -l/--log option:
celestia-qt --log /tmp/celestia.log
2021-01-14 16:45:57 +03:00
Hleb Valoshka 6b512f5fe9 Drop software S3/DXT compression support 2021-01-14 16:45:42 +03:00
Levin Li d6a5b7240e Fix point sprite not scaled in models 2021-01-05 13:50:06 +08:00
Levin Li 6e9bf032d8 Remove dead frontends 2021-01-04 16:28:04 +08:00
Levin Li 0c6ef0d0d6 Draw lines in models with triangles 2021-01-04 08:32:52 +08:00
Levin Li b21a5fd404 Draw lines with lines when lineWidth < maxLineWidth 2021-01-03 17:21:55 +08:00
Levin Li 668fd219cc Render lines with triangles 2021-01-03 17:21:55 +08:00
Georgi 7d4398c088 Wording Improvements to BG 2
Redo the last PR.
2021-01-01 13:39:57 +03:00
Levin Li 160d1b95cd Fix galaxy flickering on zooming in 2020-12-29 15:16:29 +08:00
Levin Li c507171ee3 Update azure-pipelines.yml 2020-12-29 15:15:36 +08:00
Levin Li fe6a832941 Update .appveyor.yml
Temporary fix to appveyor build.
2020-12-09 19:26:14 +08:00