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
SevenSpheres
694110ccc3
Update celestia-gaia-stardb
...
v1.0.4, hopefully final version
2020-12-06 12:26:03 -05:00
Levin Li
c31e0da681
Show line width range in info
2020-12-05 23:00:31 +08:00
SevenSpheres
4e5d5bd33b
Auto-update version number in README
2020-12-04 09:27:38 -05:00
Levin Li
e2b9598f17
Always use gl_PointSize in shader to set point size
2020-12-04 19:46:32 +08:00
Hleb Valoshka
3ece44ff2a
Update latest release version and download page
2020-12-03 20:18:08 +03:00
Levin Li
ddf92cb77c
Set up CI with Azure Pipelines
...
[skip ci]
2020-12-03 23:26:12 +08:00
Levin Li
22590114d1
Set line width according to DPI
2020-12-03 15:14:39 +08:00
Levin Li
21cba1eaeb
Fix orbit depth bug in rendering
2020-12-01 15:59:41 +08:00
Levin Li
6848f65ee9
Fix point star rendering
2020-11-29 18:21:51 +08:00
Levin Li
a0186828eb
Fix largestar shader on some platforms
2020-11-22 14:48:34 +08:00
Levin Li
b465017de8
Support fisheye projection, dumb version
2020-11-20 23:52:23 +08:00
Levin Li
62b5f58351
Fix GTK building with gettext
...
@munix9
2020-11-18 08:06:54 +08:00
SevenSpheres
753efbf6ac
Update celestia-gaia-stardb
2020-11-17 12:21:48 -05:00
Levin Li
0a891c4a11
More eigen fixes
2020-11-17 21:10:01 +08:00
Levin Li
b8caa691f4
Use cmake define for filesystem include
2020-11-17 21:08:55 +08:00
Levin Li
9678af503e
Update .travis.yml
2020-11-17 20:57:54 +08:00
Levin Li
2d16342b5f
Strip alpha value in save screenshot as PNG as well
2020-11-14 10:10:18 +08:00