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
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
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
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
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
Levin Li
160d1b95cd
Fix galaxy flickering on zooming in
2020-12-29 15:16:29 +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
Levin Li
e2b9598f17
Always use gl_PointSize in shader to set point size
2020-12-04 19:46:32 +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
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