New bugfix release 1.6.2-beta1

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
onetwothree
Site Admin
Posts: 706
Joined: 22.09.2018
With us: 6 years 2 months

New bugfix release 1.6.2-beta1

Post #1by onetwothree » 04.10.2019, 21:59

Hi Celestians!

I'm glad to announce that the first beta version of the next bugfix release 1.6.2 is available. Please test it and help with translation to your language.

This release is created mainly to provide 64 bit versions of Celestia for modern Windows and OS X platforms.

Changelog, only user-relevant parts are left
Bug fixes
* Options dialog is hidden on delete event instead of removed (GTK+ frontend)
* Fixed crash when loading of a celx script failed
* Add missing gettext calls to make units (km, Kpc, ...) translatable
* Fixed syntax error in GL2 shader called when there is no light sources
* First object in Guided Tour can be selected (Windows frontend)
* Fixed compilation for 64 bit target of Windows frontend

Platform-specific changes
* Unix: GTK+ frontend made translatable
* Windows: tilde (~) can be used in filenames to represent home directory
* OSX: A lot of changes to make Celestia compatible with the current requirements (@Markerz can describe them better)

Features
* Leap seconds added for 2012, 2015, 2017. Dropped for 1 Jan 1972
* Add support for Lua 5.2 and 5.3, drop Lua 5.0
* Favorites file by default is saved to user home directory:
- Unix: $XDG_DATA_DIR/Celestia (~/.local/cache)
- OS X: ~/Library/Application Support
- Windows: %APPDATA% (~/AppData/Roaming)

Scripting
* Add titles for example scripts

Translations:
* Add Norwegian Bokmål translation

Source code is available at Github

Windows builds are available at Bintray and Github. The same installation file for both 64 and 32 bit versions.

OS X builds will be made as soon as @Markerz provides them.

Known issues
* "Disable display scaling on high DPI setting" must be set in windows with high DPI desktops
* Lua 5.2 made "goto" a reserved word, scripts with "observer:goto()" will be aborted
* No NAIF kernels support (SPICE)
Last edited by Art Blos on 23.11.2020, 09:35, edited 5 times in total.
Reason: The final version has been published.

Avatar
Lafuente_Astronomy
Moderator
Posts: 726
Joined: 04.08.2018
Age: 26
With us: 6 years 3 months
Location: Cebu City, Cebu Province, Philippines
Contact:

Post #2by Lafuente_Astronomy » 04.10.2019, 22:15

onetwothree wrote:Hi Celestians!

I'm glad to announce that the first beta version of the next bugfix release 1.6.2 is available. Please test it and help with translation to your language.

This release is created mainly to provide 64 bit versions of Celestia for modern Windows and OS X platforms.

Changelog
Full changelog log will be provided later.

Source code is available at Github

Windows builds are available at Bintray and Github. The same installation file for both 64 and 32 bit versions.

OS X builds will be made as soon as @Markerz provides them.

Hello onetwothree, I'm a bit confused, what's the difference between Celestia 1.7.0 and Celestia 1.6.2? I know that Celestia 1.6.2 is just a bugfix for 1.6.1 but will it take over Celestia 1.7.0 as the latest program or not?
Official Administrator of the Celestia Discord Server.
Invite: https://discordapp.com/invite/WEWDcJh
If you don't have a Discord account, register here: https://discordapp.com/register
Have a blessed day.

Topic author
onetwothree
Site Admin
Posts: 706
Joined: 22.09.2018
With us: 6 years 2 months

Post #3by onetwothree » 04.10.2019, 22:35

Lafuente_Astronomy wrote:Hello onetwothree, I'm a bit confused, what's the difference between Celestia 1.7.0 and Celestia 1.6.2? I know that Celestia 1.6.2 is just a bugfix for 1.6.1 but will it take over Celestia 1.7.0 as the latest program or not?

1.6.2 has several fixes backported from 1.7, but by no mean it will take over 1.7. Its aim is to provide Celestia 1.6 on modern hardware and operating systems (e.g. the latest OS X dropped 32 bit mode so 1.6.1 simply doesn't work on it, on Windows we cannot build 64 bit 1.6.1, on current Windows usual users can't write to C:\Program Files\Celestia directory so we moved favorites.cel to %APPDATA%).

Avatar
Gurren Lagann
Posts: 434
Joined: 31.01.2018
Age: 18
With us: 6 years 10 months
Location: State of Rio de Janeiro, Brazil

Post #4by Gurren Lagann » 05.10.2019, 00:15

Welp, this is the first release in both:

8 whole years (last release was in 2011)
Since/After Alexell left Celestia deveploment
"The tomorrow we're trying to reach is not a tomorrow you had decided on!"
- Simon the Digger
"Nothing is impossible for me, as long I'm determinated to keep moving forward!"
"If other people aren't going to do it, I'm going to do it myself!"
- Me (Gurren)

Current major projects:
- Aur Cir
- Cel+
- Project Sisyphus
- Populating the Local Group
- An galaxy generator

Avatar
fyr02
Posts: 249
Joined: 19.04.2019
Age: 19
With us: 5 years 7 months
Location: San Diego, California (United States)

Post #5by fyr02 » 05.10.2019, 03:42

Nice! I fell like 1.6.2 should be updated on the Celestia website as "Celestia Classic" once 1.7 is out.
Image

Avatar
Art Blos M
Moderator
Posts: 1152
Joined: 31.08.2017
Age: 32
With us: 7 years 3 months
Location: Volgodonsk, Rostov Oblast, Russia

Post #6by Art Blos » 05.10.2019, 05:20

Very tempting. I will try to test the beta version soon. The stability of the final version depends on this.
Founder and head of the project "Celestia Origin"

Avatar
Anthony_B_Russo10
Moderator
Posts: 672
Joined: 03.07.2018
Age: 21
With us: 6 years 5 months
Location: Tallahassee, Florida, US

Post #7by Anthony_B_Russo10 » 06.10.2019, 03:56

fyr02 does make a point.
Anthony B. Russo, I like Pluto. Mod of the Celestia subreddit: https://www.reddit.com/r/Celestiasoftware/
I have over 40 computers, trying to list them here would be a pain.
Responsible for the NEO catalog: https://celestiaproject.space/forum/viewtopic.php?f=23&t=22203
And mod of the Discord server.

Markerz
Developer
Posts: 274
Joined: 29.01.2009
Age: 29
With us: 15 years 10 months
Location: Suzhou, China

Post #8by Markerz » 06.10.2019, 11:25

The Mac binary is now also available on Github and will be distributed via Mac App Store for the 1.6.2 stable release

The macOS Specific changes are:

1. Supports 64bit and removed 32bit support, runs on macOS 10.7 or later.
2. Sandboxed and code signed for future App Store distribution.
3. Added a dialog for choosing celestia.cfg and data directory.
4. Supports dark mode on macOS 10.14 or later

Now there is an option "Change Configuration File" in the Celestia menu in menubar to change the path of celestia.cfg and data directory that Celestia will attempt to load. Extra files, scripts will be read from the sandboxed path, which should be ~/Library/Containers/space.celestia.Celestia/Data/Library/Application Support/CelestiaResources
Last edited by Markerz on 04.11.2019, 00:22, edited 1 time in total.

Avatar
gironde M
Posts: 851
Joined: 16.12.2016
Age: 72
With us: 7 years 11 months
Location: Montigny-Les-Metz, France

Post #9by gironde » 06.10.2019, 12:05

How is the coexistence of Celestia 1.6.2 Beta 1 and Celestia 1.6.1 in the Windows registry?

:think:

Topic author
onetwothree
Site Admin
Posts: 706
Joined: 22.09.2018
With us: 6 years 2 months

Post #10by onetwothree » 06.10.2019, 15:01

gironde wrote:How is the coexistence of Celestia 1.6.2 Beta 1 and Celestia 1.6.1 in the Windows registry?

As being just a bugfix release 1.6.2 uses the same registry options as 1.6.1.

Avatar
Anthony_B_Russo10
Moderator
Posts: 672
Joined: 03.07.2018
Age: 21
With us: 6 years 5 months
Location: Tallahassee, Florida, US

Post #11by Anthony_B_Russo10 » 06.10.2019, 23:50

Is there any news on Linux builds 1.6.2 in x86 and x64?
Anthony B. Russo, I like Pluto. Mod of the Celestia subreddit: https://www.reddit.com/r/Celestiasoftware/
I have over 40 computers, trying to list them here would be a pain.
Responsible for the NEO catalog: https://celestiaproject.space/forum/viewtopic.php?f=23&t=22203
And mod of the Discord server.

Avatar
Lafuente_Astronomy
Moderator
Posts: 726
Joined: 04.08.2018
Age: 26
With us: 6 years 3 months
Location: Cebu City, Cebu Province, Philippines
Contact:

Post #12by Lafuente_Astronomy » 07.10.2019, 08:15

Markerz wrote:Since Celestia is now a sandboxed application, modification to the data folder inside the application bundle is disallowed (for example, adding additional plugins, textures), instead one should resort to the option "Change Configuration File" in the Celestia menu in menubar to change the path of celestia.cfg and data directory that Celestia will attempt to load. Extra files, scripts will be read from the sandboxed path, which should be ~/Library/Containers/space.celestia.Celestia/Data/Library/Application Support/CelestiaResources

So, does that mean I'll no longer be able to add names to the starnames.dat file? If so, does 1.6.2 takes from the AstroDB Branch that pirogronian is developing for 1.7.0, or not? I'm genuinely confused.
Official Administrator of the Celestia Discord Server.
Invite: https://discordapp.com/invite/WEWDcJh
If you don't have a Discord account, register here: https://discordapp.com/register
Have a blessed day.

Topic author
onetwothree
Site Admin
Posts: 706
Joined: 22.09.2018
With us: 6 years 2 months

Post #13by onetwothree » 07.10.2019, 08:38

Anthony_B_Russo10 wrote:Is there any news on Linux builds 1.6.2 in x86 and x64?
We will provide them for the final release. The changes mostly affect Win & Apple.

Lafuente_Astronomy wrote:So, does that mean I'll no longer be able to add names to the starnames.dat file?
You can provide a custom location of celestia.cfg and custom directories:
Markerz wrote:instead one should resort to the option "Change Configuration File" in the Celestia menu in menubar to change the path of celestia.cfg and data directory that Celestia will attempt to load.


Lafuente_Astronomy wrote:If so, does 1.6.2 takes from the AstroDB Branch that pirogronian is developing for 1.7.0, or not?

Nope. And 1.6.x will never adopt it as 1.6.x is a bugfix release so no new features are allowed.

Avatar
Anthony_B_Russo10
Moderator
Posts: 672
Joined: 03.07.2018
Age: 21
With us: 6 years 5 months
Location: Tallahassee, Florida, US

Post #14by Anthony_B_Russo10 » 07.10.2019, 08:41

Ok, thanks.
Anthony B. Russo, I like Pluto. Mod of the Celestia subreddit: https://www.reddit.com/r/Celestiasoftware/
I have over 40 computers, trying to list them here would be a pain.
Responsible for the NEO catalog: https://celestiaproject.space/forum/viewtopic.php?f=23&t=22203
And mod of the Discord server.

Avatar
Lafuente_Astronomy
Moderator
Posts: 726
Joined: 04.08.2018
Age: 26
With us: 6 years 3 months
Location: Cebu City, Cebu Province, Philippines
Contact:

Post #15by Lafuente_Astronomy » 07.10.2019, 08:43

onetwothree wrote:Lafuente_Astronomy wrote:
If so, does 1.6.2 takes from the AstroDB Branch that pirogronian is developing for 1.7.0, or not?

Nope. And 1.6.x will never adopt it as 1.6.x is a bugfix release so no new features are allowed.
[/quote]

Alright. So AstroDB will only be in Celestia 1.7.0. That's alright
Official Administrator of the Celestia Discord Server.
Invite: https://discordapp.com/invite/WEWDcJh
If you don't have a Discord account, register here: https://discordapp.com/register
Have a blessed day.

Avatar
eldee
Posts: 4
Joined: 23.01.2019
With us: 5 years 10 months

Post #16by eldee » 07.10.2019, 09:33

I just tested the new version for Mac, it works fine :)

First thing noticeable, the app settings are reset and the bookmarks lost (No biggies, but it should be mentioned somewhere, maybe when starting 1.6.2 the app should check if old 1.6.1 files exists and copy them to the new location ?)

Small bug, in French, Sol is also translated as "Séoul" which is plain wrong :) The wrong line is in https://github.com/CelestiaProject/Celestia/blob/1.6.x/po/fr.po 1858 (Should be either 'Soleil' or 'Sol')

Markerz
Developer
Posts: 274
Joined: 29.01.2009
Age: 29
With us: 15 years 10 months
Location: Suzhou, China

Post #17by Markerz » 07.10.2019, 11:34

eldee wrote:I just tested the new version for Mac, it works fine :)

First thing noticeable, the app settings are reset and the bookmarks lost (No biggies, but it should be mentioned somewhere, maybe when starting 1.6.2 the app should check if old 1.6.1 files exists and copy them to the new location ?)

Small bug, in French, Sol is also translated as "Séoul" which is plain wrong :) The wrong line is in https://github.com/CelestiaProject/Celestia/blob/1.6.x/po/fr.po 1858 (Should be either 'Soleil' or 'Sol')

Thanks for the feedback!

The mistranslation of Sol is a bug in all languages it seems.

For bookmarks and settings, it is caused by the difference of bundle identifier between 1.6.1 and 1.6.2, the current application will not read the old bookmark/setting data. I'll see to it if it is possible to read the saved data from 1.6.1.

Avatar
gironde M
Posts: 851
Joined: 16.12.2016
Age: 72
With us: 7 years 11 months
Location: Montigny-Les-Metz, France

Post #18by gironde » 07.10.2019, 12:04

I installed Celestia 1.6.2 beta 1 on Windows 10 64k by already having several versions of Celestia (1.6.1, EPV3). For now, everything seems to work, more quickly but there is no addon for now.
The only concern noted is a problem in fonts. If you look in the picture below, you may find that the term 'Windowed mode' and translated into French by odd characters instead of 'Mode fenêtré'.
The accent of the words 'Résolution' et 'Sélection' are correct but not for the word 'fenêtré'.
Sans titre 2.jpg


In the menu 'Help' / 'Orders', it is well spelled

Sans titre 3.jpg



:think: :weirdface:

Added after 41 minutes 9 seconds:
I think that the box for selecting the display mode in the program has a bad character set setting otherwise the problem of accents would be the same everywhere.
(ASCII, UTF8, ...)

Added after 9 minutes 17 seconds:
locale/fr/LC_MESSAGES

To prevent the celestial clock from moving from left to right when the period is UTC or summer time or winter time, I suggest the translation fr:

UTC
été
hiv (abbreviation for 'hiver')

with these words the width is stable.

Topic author
onetwothree
Site Admin
Posts: 706
Joined: 22.09.2018
With us: 6 years 2 months

Post #19by onetwothree » 07.10.2019, 13:35

eldee wrote:Small bug, in French, Sol is also translated as "Séoul" which is plain wrong :) The wrong line is in https://github.com/CelestiaProject/Celestia/blob/1.6.x/po/fr.po 1858 (Should be either 'Soleil' or 'Sol')

gironde wrote:To prevent the celestial clock from moving from left to right when the period is UTC or summer time or winter time, I suggest the translation fr:

UTC
été
hiv (abbreviation for 'hiver')

with these words the width is stable.

Could you collaborate and update https://raw.githubusercontent.com/CelestiaProject/Celestia/1.6.x/po/fr.po? You can just download it, edit it and send me.


gironde wrote:The only concern noted is a problem in fonts. If you look in the picture below, you may find that the term 'Windowed mode' and translated into French by odd characters instead of 'Mode fenêtré'.
The problem is that Celestia internally uses UTF-8 while on Windows other encodings may be used. So some translated strings should be converted from utf-8 to local encodings. Keep hunting such cases we need to fix them all :)

Avatar
gironde M
Posts: 851
Joined: 16.12.2016
Age: 72
With us: 7 years 11 months
Location: Montigny-Les-Metz, France

Post #20by gironde » 07.10.2019, 15:15

onetwothree
You can just download it, edit it and send me.

here is the modified fr.po and fr.mo files :
Attachments
fr_po_mo.zip
(44.28 KiB) Downloaded 323 times


Return to “Development”